@kengic/vue 0.19.1-beta.0 → 0.19.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ export declare type IKgTableRow = {
9
9
  [index: string]: any;
10
10
  };
11
11
  /** 查询方法参数. */
12
- export interface IKgTableSearchParams {
12
+ export interface IKgTableRequestParams {
13
13
  /**
14
14
  * 是否查询首页, 否则查询当页.
15
15
  * @default false
@@ -1,62 +1,6 @@
1
1
  import { ComputedRef } from 'vue';
2
- import { VarProfileDetail, VarSubmitField } from '../../apis/WMS/models';
3
- import { IKgVarRetrieveCb, IKgVarStore } from './index.store';
4
- export declare type IUseKgVar = {
5
- /** 状态数据. */
6
- store: IKgVarStore;
7
- /** 正在查询变量配置. */
8
- isRetrieving: ComputedRef<ReturnType<IKgVarStore['isRetrieving']>>;
9
- /** 正在查询 VarProfileMaster. */
10
- isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
11
- /** 正在查询 VarGridMaster. */
12
- isRetrievingVarGridMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarGridMaster']>>;
13
- /** 变量配置是否查询完成. */
14
- isSearched: ComputedRef<ReturnType<IKgVarStore['isSearched']>>;
15
- /** 正在创建. */
16
- isCreating: ComputedRef<ReturnType<IKgVarStore['isCreating']>>;
17
- /** 正在创建:正在调用接口. */
18
- isCreatingRequesting: ComputedRef<ReturnType<IKgVarStore['isCreatingRequesting']>>;
19
- /** 正在更新. */
20
- isUpdating: ComputedRef<ReturnType<IKgVarStore['isUpdating']>>;
21
- /** 正在更新:正在调用接口. */
22
- isUpdatingRequesting: ComputedRef<ReturnType<IKgVarStore['isUpdatingRequesting']>>;
23
- /** 正在复制. */
24
- isCopying: ComputedRef<ReturnType<IKgVarStore['isCopying']>>;
25
- /** 正在复制:正在调用接口. */
26
- isCopyingRequesting: ComputedRef<ReturnType<IKgVarStore['isCopyingRequesting']>>;
27
- /** 正在删除. */
28
- isDeleting: ComputedRef<ReturnType<IKgVarStore['isDeleting']>>;
29
- /** 正在删除:正在调用接口. */
30
- isDeletingRequesting: ComputedRef<ReturnType<IKgVarStore['isDeletingRequesting']>>;
31
- /** 其他按钮:正在调用接口. */
32
- isOtherRequesting: ComputedRef<ReturnType<IKgVarStore['isOtherRequesting']>>;
33
- /** 所有的 VarButton 列表. */
34
- varButtons: ComputedRef<ReturnType<IKgVarStore['getVarButtons']>>;
35
- varButtonSearch: ComputedRef<ReturnType<IKgVarStore['getVarButtonSearch']>>;
36
- varButtonCreate: ComputedRef<ReturnType<IKgVarStore['getVarButtonCreate']>>;
37
- varButtonUpdate: ComputedRef<ReturnType<IKgVarStore['getVarButtonUpdate']>>;
38
- varButtonCopy: ComputedRef<ReturnType<IKgVarStore['getVarButtonCopy']>>;
39
- varButtonDelete: ComputedRef<ReturnType<IKgVarStore['getVarButtonDelete']>>;
40
- /** 所有的 VarProfileMaster 列表. */
41
- varProfileMasters: ComputedRef<ReturnType<IKgVarStore['getVarProfileMasters']>>;
42
- /** 当前的 VarProfileMaster ID. */
43
- currentVarProfileMasterID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMasterID']>>;
44
- /** 当前的 VarProfileMaster. */
45
- currentVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMaster']>>;
46
- /** 当前的 VarProfileDetail 列表. */
47
- currentVarProfileDetails: ComputedRef<Array<VarProfileDetail> | null>;
48
- varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
49
- /** 所有的 VarGridMaster 列表. */
50
- varGridMasters: ComputedRef<ReturnType<IKgVarStore['getVarGridMasters']>>;
51
- /** 当前的 VarGridMaster ID. */
52
- currentVarGridMasteID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMasterID']>>;
53
- /** 当前的 VarGridMaster. */
54
- currentVarGridMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMaster']>>;
55
- /** 系统的 VarGridDetail 列表. */
56
- systemVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getSystemVarGridDetails']>>;
57
- /** 当前的 VarGridDetail 列表. */
58
- currentVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridDetails']>>;
59
- };
2
+ import { VarSubmitField } from '../../apis/WMS/models';
3
+ import { IKgVarRetrieveCb } from './index.store';
60
4
  /**
61
5
  * <p>使用变量配置.</p>
62
6
  * <ol>
@@ -73,10 +17,12 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
73
17
  * 界面标识.
74
18
  */
75
19
  formID: string;
20
+ /** 状态数据. */
76
21
  store: import("pinia").Store<"KgVar", import("./index.store").IKgVarState, {
77
22
  getTopFormIDs(): string[];
78
23
  getFormLevel(): (frm_id: string | null | undefined) => number;
79
24
  t(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => string;
25
+ /** 正在查询变量配置. */
80
26
  isRetrieving(): (frm_id: string | null | undefined) => boolean | null;
81
27
  isRetrievingVarProfileMaster(): (frm_id: string | null | undefined) => boolean | null;
82
28
  isRetrievingVarGridMaster(): (frm_id: string | null | undefined) => boolean | null;
@@ -91,16 +37,26 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
91
37
  isDeletingRequesting(): (frm_id: string | null | undefined) => boolean | null;
92
38
  isOtherRequesting(): (frm_id: string | null | undefined) => boolean | null;
93
39
  getVarCatalogs(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog[] | null;
40
+ /** 当前的 VarProfileMaster. */
94
41
  getVarCatalog(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog | null;
95
42
  getVarLookup(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableLookup | null;
96
43
  getVarPossibility(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariablePossibility | null;
44
+ /**
45
+ * 设置'是否正在创建'.
46
+ * @param value 是否正在创建.
47
+ */
97
48
  getVarVariableConfig(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableConfig | null;
98
49
  getVarVariableInput(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableInput | null;
99
50
  getVarButtons(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton[] | null;
100
51
  getVarSubmitConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarSubmitConfig | null;
101
52
  getVarSubmitConfigProps(): (frm_id: string | null | undefined) => import("../../consts").IKgSubmitConfigProps;
102
53
  getVarSubmitFields(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
103
- getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
54
+ getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => VarSubmitField[] | null; /**
55
+ * 修改 VarSubmitField 的部分属性.
56
+ * @param variableName 变量名称
57
+ * @param properties 要修改的部分属性.
58
+ * @param isTriggerEvent 是否触发变更事件.
59
+ */
104
60
  getVarSubmitFieldsForCreateKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
105
61
  getVarSubmitFieldsForCreateNotKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
106
62
  getVarSubmitFieldsForCreateKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
@@ -130,9 +86,9 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
130
86
  getVarButtonDelete(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
131
87
  getVarProfileConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileConfig | null;
132
88
  getVarProfileMasters(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO[] | null;
133
- getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarProfileDetail | null;
134
- getVarProfileDetails(): (frm_id: string | null | undefined) => VarProfileDetail[] | null;
135
- getSystemVarProfileDetails(): (frm_id: string | null | undefined) => VarProfileDetail[] | null;
89
+ getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail | null;
90
+ getVarProfileDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
91
+ getSystemVarProfileDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
136
92
  getCurrentVarProfileMasterID(): (frm_id: string | null | undefined) => string | null;
137
93
  getCurrentVarProfileMaster(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO | null;
138
94
  getVarGridConfigMap(): Map<string, import("../../apis/WMS/models").VarGridConfig | null>;
@@ -166,40 +122,63 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
166
122
  setCurrentVarGridMasterID(frm_id: string, currentVarGridMasterID: string): Promise<void>;
167
123
  setVarGridDetailWidth(frm_id: string, var_nam: string | null | undefined, width: number): void;
168
124
  patchVarGridDetail(frm_id: string, var_nam: string | null | undefined, properties: import("../../apis/WMS/models").VarGridDetail): Promise<void>;
169
- patchVarProfileDetail(frm_id: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
125
+ patchVarProfileDetail(frm_id: string, var_nam: string | null | undefined, properties: import("../../apis/WMS/models").VarProfileDetail): Promise<void>;
170
126
  setVarPossibility(frm_id: string | null | undefined, var_nam: string | null | undefined, varPossibility: import("../../apis/WMS/models").VarVariablePossibility): void;
171
127
  patchVarSubmitField(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: VarSubmitField, isTriggerEvent?: boolean | undefined): void;
172
128
  patchVarPossibilityCommandParameter(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): Promise<void>;
173
129
  dragSortCurrentVarGridDetails(frm_id: string | null | undefined, from_var_nam: string | null | undefined, to_var_nam: string | null | undefined): void;
174
130
  }>;
131
+ /** 正在查询变量配置. */
175
132
  isRetrieving: ComputedRef<boolean | null>;
133
+ /** 正在查询 VarProfileMaster. */
176
134
  isRetrievingVarProfileMaster: ComputedRef<boolean | null>;
135
+ /** 正在查询 VarGridMaster. */
177
136
  isRetrievingVarGridMaster: ComputedRef<boolean | null>;
137
+ /** 变量配置是否查询完成. */
178
138
  isSearched: ComputedRef<boolean>;
139
+ /** 正在创建. */
179
140
  isCreating: ComputedRef<boolean | null>;
141
+ /** 正在创建:正在调用接口. */
180
142
  isCreatingRequesting: ComputedRef<boolean | null>;
143
+ /** 正在更新. */
181
144
  isUpdating: ComputedRef<boolean | null>;
145
+ /** 正在更新:正在调用接口. */
182
146
  isUpdatingRequesting: ComputedRef<boolean | null>;
147
+ /** 正在复制. */
183
148
  isCopying: ComputedRef<boolean | null>;
149
+ /** 正在复制:正在调用接口. */
184
150
  isCopyingRequesting: ComputedRef<boolean | null>;
151
+ /** 正在删除. */
185
152
  isDeleting: ComputedRef<boolean | null>;
153
+ /** 正在删除:正在调用接口. */
186
154
  isDeletingRequesting: ComputedRef<boolean | null>;
155
+ /** 其他按钮:正在调用接口. */
187
156
  isOtherRequesting: ComputedRef<boolean | null>;
157
+ /** 所有的 VarButton 列表. */
188
158
  varButtons: ComputedRef<import("../../apis/WMS/models").VarButton[] | null>;
189
159
  varButtonSearch: ComputedRef<import("../../apis/WMS/models").VarButton | null>;
190
160
  varButtonCreate: ComputedRef<import("../../apis/WMS/models").VarButton | null>;
191
161
  varButtonUpdate: ComputedRef<import("../../apis/WMS/models").VarButton | null>;
192
162
  varButtonCopy: ComputedRef<import("../../apis/WMS/models").VarButton | null>;
193
163
  varButtonDelete: ComputedRef<import("../../apis/WMS/models").VarButton | null>;
164
+ /** 所有的 VarProfileMaster 列表. */
194
165
  varProfileMasters: ComputedRef<import("../../apis/WMS/models").VarProfileMasterDTO[] | null>;
166
+ /** 当前的 VarProfileMaster ID. */
195
167
  currentVarProfileMasterID: ComputedRef<string | null>;
168
+ /** 当前的 VarProfileMaster. */
196
169
  currentVarProfileMaster: ComputedRef<import("../../apis/WMS/models").VarProfileMasterDTO | null>;
197
- currentVarProfileDetails: ComputedRef<VarProfileDetail[] | null>;
170
+ /** 当前的 VarProfileDetail 列表. */
171
+ currentVarProfileDetails: ComputedRef<import("../../apis/WMS/models").VarProfileDetail[] | null>;
198
172
  varGridConfig: ComputedRef<import("../../apis/WMS/models").VarGridConfig | null>;
173
+ /** 所有的 VarGridMaster 列表. */
199
174
  varGridMasters: ComputedRef<import("../../apis/WMS/models").VarGridMasterDTO[] | null>;
175
+ /** 当前的 VarGridMaster ID. */
200
176
  currentVarGridMasteID: ComputedRef<string | null>;
177
+ /** 当前的 VarGridMaster. */
201
178
  currentVarGridMaster: ComputedRef<import("../../apis/WMS/models").VarGridMasterDTO | null>;
179
+ /** 系统的 VarGridDetail 列表. */
202
180
  systemVarGridDetails: ComputedRef<import("../../apis/WMS/models").VarGridDetail[] | null>;
181
+ /** 当前的 VarGridDetail 列表. */
203
182
  currentVarGridDetails: ComputedRef<import("../../apis/WMS/models").VarGridDetail[] | null>;
204
183
  /**
205
184
  * 设置'是否正在创建'.
@@ -228,15 +207,15 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
228
207
  * @param isTriggerEvent 是否触发变更事件.
229
208
  */
230
209
  patchVarSubmitField(variableName: string | null | undefined, properties: VarSubmitField, isTriggerEvent?: boolean): void;
231
- /**
232
- * 事件: 变量配置查询完成.
233
- * @param cb 回调函数.
234
- * @param once 是否只会触发一次. 默认为 undefined.
235
- */
236
- onRetrieve: (cb: IKgVarRetrieveCb) => import("../../consts").IRemoveEventListenerHandler;
237
210
  /**
238
211
  * 翻译变量. 响应式的.
239
212
  * @param variableName 变量名称.
240
213
  */
241
214
  t(variableName: string | null | undefined): ComputedRef<string>;
215
+ /**
216
+ * 事件: 变量配置查询完成.
217
+ * @param cb 回调函数.
218
+ * @param once 是否只会触发一次. 默认为 undefined.
219
+ */
220
+ onRetrieve: (cb: IKgVarRetrieveCb, once?: boolean | undefined) => import("../../consts").IRemoveEventListenerHandler;
242
221
  };
@@ -1,5 +1,5 @@
1
1
  import { type StoreDefinition } from 'pinia';
2
- import { VarButton, VarButtonConfig, VarVariableCatalog, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarVariableLookup, VarVariablePossibility, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitField, VarVariableConfig, VarVariableInput } from '../../apis/WMS/models';
2
+ import { VarButton, VarButtonConfig, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitField, VarVariableCatalog, VarVariableConfig, VarVariableInput, VarVariableLookup, VarVariablePossibility } from '../../apis/WMS/models';
3
3
  import { IKgEventCb, IKgSubmitConfigProps } from '../../consts';
4
4
  /**
5
5
  * 事件类型.
@@ -14,9 +14,9 @@ export declare type IFormID = {
14
14
  /**
15
15
  * 页面所处的模态框(弹出框)的层级.
16
16
  *
17
- * - 普通页面中该属性值为 0
18
- * - 第一级弹出框中该属性值为 1
19
- * - 第二级弹出框中该属性值为 2
17
+ * - 普通页面中此属性值为 0
18
+ * - 第一级弹出框中此属性值为 1
19
+ * - 第二级弹出框中此属性值为 2
20
20
  * - 依次类推...
21
21
  */
22
22
  level: number;
@@ -30,7 +30,7 @@ export interface IKgVarState {
30
30
  /** 正在查询变量配置. */
31
31
  isRetrievingMap: Map<string, boolean>;
32
32
  /** 变量配置是否查询完成. */
33
- isSearchedMap: Map<string, boolean>;
33
+ isRequestedMap: Map<string, boolean>;
34
34
  /** 正在查询 VarProfileMaster. */
35
35
  isRetrievingVarProfileMasterMap: Map<string, boolean>;
36
36
  /** 正在查询 VarGridMaster. */
@@ -3,9 +3,9 @@ import './KgWarehouse.less';
3
3
  export declare const getProps: () => {
4
4
  /**
5
5
  * 是否隐藏.
6
- * 该组件需要在不同的地方使用,
6
+ * 此组件需要在不同的地方使用,
7
7
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
8
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
8
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
9
9
  * @default undefined
10
10
  */
11
11
  kgInvisible: PropType<boolean>;
@@ -15,9 +15,9 @@ export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<type
15
15
  declare const _default: import("vue").DefineComponent<{
16
16
  /**
17
17
  * 是否隐藏.
18
- * 该组件需要在不同的地方使用,
18
+ * 此组件需要在不同的地方使用,
19
19
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
20
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
20
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
21
21
  * @default undefined
22
22
  */
23
23
  kgInvisible: PropType<boolean>;
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<{
25
25
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
26
  /**
27
27
  * 是否隐藏.
28
- * 该组件需要在不同的地方使用,
28
+ * 此组件需要在不同的地方使用,
29
29
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
30
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
30
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
31
31
  * @default undefined
32
32
  */
33
33
  kgInvisible: PropType<boolean>;
@@ -1,14 +1,14 @@
1
1
  import { IKgEventCb, IRemoveEventListenerHandler } from '../consts';
2
2
  /**
3
3
  * 构造事件监听.
4
- * @param frm_id 界面标识.
4
+ * @param frmId 界面标识.
5
5
  * @param store 状态管理.
6
6
  * @param event 事件名称.
7
7
  */
8
8
  export declare function onEventFactory<S extends {
9
- addEventListener(frm_id: string, event: E, cb: C): void;
10
- removeEventListener(frm_id: string, event: E, cb?: C): void;
9
+ addEventListener(frmId: string, event: E, cb: C): void;
10
+ removeEventListener(frmId: string, event: E, cb?: C): void;
11
11
  } | {
12
12
  addEventListener(event: E, cb: C): void;
13
13
  removeEventListener(event: E, cb?: C): void;
14
- } = any, E = any, C extends IKgEventCb = any>(frm_id: string | null, store: S, event: E): (cb: C) => IRemoveEventListenerHandler;
14
+ } = any, E = any, C extends IKgEventCb = any>(frmId: string | null, store: S, event: E): (cb: C, once?: boolean) => IRemoveEventListenerHandler;
@@ -154,8 +154,8 @@ export interface IKgGridDetailDisplayTypeProps {
154
154
  */
155
155
  isTag?: boolean;
156
156
  /**
157
- * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 true, 则该属性用来定义每个值对应的标签颜色分别是什么.
158
- * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 false, 则该属性会被忽略.
157
+ * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么.
158
+ * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 false, 则此属性会被忽略.
159
159
  */
160
160
  tagColors?: Array<{
161
161
  /** 值. */
@@ -9,7 +9,7 @@ export declare class KgVarUtil {
9
9
  * @param params JSON 字符串形式的参数.
10
10
  * @return {} 参数对象.
11
11
  */
12
- static parseCommandParameter(params?: string | null): Record<string, any>;
12
+ static parseRequestParamsToJSON(params?: string | null): Record<string, any>;
13
13
  /**
14
14
  * 根据控件类型, 将任意的值(可能非法)转换为合法的值.
15
15
  * @param frm_id 界面标识.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.19.1-beta.0",
3
+ "version": "0.19.2-beta.0",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",