dep: lodash -> lodash-es

This commit is contained in:
2022-08-21 18:14:36 +09:00
parent b517000650
commit 78a9641c14
51 changed files with 79 additions and 49 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ import type { BasicResourceAuctionInfo } from "@/defs/API/Auction";
import { SammoAPI } from "@/SammoAPI";
import { unwrap } from "@/util/unwrap";
import { useToast, BButtonGroup, BButton } from "bootstrap-vue-3";
import { isString } from "lodash";
import { isString } from "lodash-es";
import { onMounted, reactive, ref, watch } from "vue";
import NumberInputWithInfo from "@/components/NumberInputWithInfo.vue";
import { formatLog } from "@/utilGame/formatLog";
+1 -1
View File
@@ -131,7 +131,7 @@ import type { UniqueItemAuctionDetail, UniqueItemAuctionList } from "@/defs/API/
import { SammoAPI } from "@/SammoAPI";
import { unwrap } from "@/util/unwrap";
import { useToast, BButton } from "bootstrap-vue-3";
import { isString } from "lodash";
import { isString } from "lodash-es";
import { inject, onMounted, ref, watch, type Ref } from "vue";
import NumberInputWithInfo from "@/components/NumberInputWithInfo.vue";
import type { GameConstStore } from "@/GameConstStore";
+1 -1
View File
@@ -135,7 +135,7 @@ import type { BettingDetailResponse, BettingInfo } from "@/defs/API/Betting";
import { SammoAPI } from "@/SammoAPI";
import { joinYearMonth } from "@/util/joinYearMonth";
import { parseYearMonth } from "@/util/parseYearMonth";
import { isString, range, sum } from "lodash";
import { isString, range, sum } from "lodash-es";
import { ref, type PropType, watch } from "vue";
const props = defineProps({
+1 -1
View File
@@ -265,7 +265,7 @@ import { parseYearMonth } from "@util/parseYearMonth";
import { convertSearch초성 } from "@util/convertSearch초성";
import VueTypes from "vue-types";
import DragSelect from "@/components/DragSelect.vue";
import { isString, range, trim } from "lodash";
import { isString, range, trim } from "lodash-es";
import { SammoAPI } from "@/SammoAPI";
import type { CommandItem, TurnObj } from "@/defs";
import { QueryActionHelper, type TurnObjWithTime } from "@/util/QueryActionHelper";
+1 -1
View File
@@ -171,7 +171,7 @@ import { nextExpLevelRemain } from "@/utilGame/nextExpLevelRemain";
import { formatConnectScore } from "@/utilGame/formatConnectScore";
import SammoBar from "@/components/SammoBar.vue";
import { parseTime } from "@/util/parseTime";
import { clamp } from "lodash";
import { clamp } from "lodash-es";
import { formatCityName } from "@/utilGame/formatCityName";
import { isValidObjKey } from "@/utilGame/isValidObjKey";
import { calcInjury } from "@/utilGame/calcInjury";
+1 -1
View File
@@ -107,7 +107,7 @@ import SimpleTooltipCell from "@/gridCellRenderer/SimpleTooltipCell.vue";
import GridTooltipCell, { type GridCellInfo } from "@/gridCellRenderer/GridTooltipCell.vue";
import { formatConnectScore } from "@/utilGame/formatConnectScore";
import { convertSearch초성 } from "@/util/convertSearch초성";
import { isString } from "lodash";
import { isString } from "lodash-es";
import { formatDefenceTrain } from "@/utilGame/formatDefenceTrain";
import { BDropdownItem, BDropdownDivider, BButtonGroup, BDropdown, BButton } from "bootstrap-vue-3";
import { unwrap_err } from "@/util/unwrap_err";
+1 -1
View File
@@ -30,7 +30,7 @@
</div>
</template>
<script setup lang="ts">
import { clamp } from "lodash";
import { clamp } from "lodash-es";
import { ref, watch } from "vue";
const props = defineProps({
+1 -1
View File
@@ -41,7 +41,7 @@
</template>
<script lang="ts" setup>
import { clamp } from "lodash";
import { clamp } from "lodash-es";
const imagePath = window.pathConfig.gameImage;
const props = defineProps<{
height: 7 | 10;
+1 -1
View File
@@ -352,7 +352,7 @@ import {
import { v4 as uuidv4 } from "uuid";
import { unwrap } from "@/util/unwrap";
import { getBase64FromFileObject } from "@/util/getBase64FromFileObject";
import { isObject, isString } from "lodash";
import { isObject, isString } from "lodash-es";
import type { AxiosError } from "axios";
import { SammoAPI } from "@/SammoAPI";