@kengic/vue 0.30.1-beta.76 → 0.30.1-beta.78
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.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +11107 -11063
- package/dist/src/component/KgButton/KgButton.event.d.ts +16 -3
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +8 -1
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +2 -0
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.store.d.ts +1 -1
- package/dist/src/const/const.model.d.ts +44 -13
- package/dist/src/project/src/utils/env.d.ts +0 -1
- package/dist/src/project/types/config.d.ts +0 -8
- package/dist/src/service/http-client.d.ts +1 -1
- package/package.json +145 -145
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IKgEventListener } from '@kengic/core.core';
|
|
2
|
+
import { Ref } from 'vue';
|
|
2
3
|
import { VarButton } from '../../api/WMS/models';
|
|
3
4
|
import { IRequestConfig, IRequestOption } from '../../service';
|
|
4
5
|
/**
|
|
5
6
|
* 事件类型.
|
|
6
7
|
*/
|
|
7
|
-
export declare type IKgButtonEvent = 'onClick' | 'onError' | 'onImportBeforeUpload' | 'onImportOk' | 'onBeforeRequest' | 'onAfterRequest';
|
|
8
|
+
export declare type IKgButtonEvent = 'onClick' | 'onError' | 'onImportBeforeUpload' | 'onImportOk' | 'onExportBeforeParseRequestParameter' | 'onBeforeRequest' | 'onAfterRequest';
|
|
8
9
|
export declare type IKgButton$EventListenerParameter$onClick = {
|
|
9
10
|
/**
|
|
10
11
|
* 被点击的按钮.
|
|
@@ -20,6 +21,17 @@ export declare type IKgButton$EventListenerParameter$onImportOk = {
|
|
|
20
21
|
button?: VarButton | null;
|
|
21
22
|
};
|
|
22
23
|
export declare type IKgButton$EventListener$onImportOk = ((param: IKgButton$EventListenerParameter$onImportOk) => Promise<boolean>) & IKgEventListener;
|
|
24
|
+
export declare type IKgButton$EventListenerParameter$onExportBeforeParseRequestParameter = {
|
|
25
|
+
/**
|
|
26
|
+
* 高级查询的操作符对象.
|
|
27
|
+
*/
|
|
28
|
+
dynamicQueryOperatorModel$: Ref<Record<string, string> | null>;
|
|
29
|
+
/**
|
|
30
|
+
* 接口请求参数, 尚未解析.
|
|
31
|
+
*/
|
|
32
|
+
paramRecord: Record<string, any>;
|
|
33
|
+
};
|
|
34
|
+
export declare type IKgButton$EventListener$onExportBeforeParseRequestParameter = ((param: IKgButton$EventListenerParameter$onExportBeforeParseRequestParameter) => Promise<boolean>) & IKgEventListener;
|
|
23
35
|
export declare type IKgButton$EventListenerParameter$onError = {
|
|
24
36
|
button?: VarButton | null;
|
|
25
37
|
/**
|
|
@@ -43,13 +55,14 @@ export declare type IKgButton$EventListenerParameter$onAfterRequest = {
|
|
|
43
55
|
varButton: VarButton;
|
|
44
56
|
};
|
|
45
57
|
export declare type IKgButton$EventListener$onAfterRequest = ((param: IKgButton$EventListenerParameter$onAfterRequest) => Promise<boolean>) & IKgEventListener;
|
|
46
|
-
export declare type IKgButton$EventListenerParameter = IKgButton$EventListenerParameter$onClick | IKgButton$EventListenerParameter$onImportBeforeUpload | IKgButton$EventListenerParameter$onImportOk | IKgButton$EventListenerParameter$onError | IKgButton$EventListenerParameter$onBeforeRequest | IKgButton$EventListenerParameter$onAfterRequest;
|
|
47
|
-
export declare type IKgButton$EventListener = IKgButton$EventListener$onClick | IKgButton$EventListener$onImportBeforeUpload | IKgButton$EventListener$onImportOk | IKgButton$EventListener$onError | IKgButton$EventListener$onBeforeRequest | IKgButton$EventListener$onAfterRequest;
|
|
58
|
+
export declare type IKgButton$EventListenerParameter = IKgButton$EventListenerParameter$onClick | IKgButton$EventListenerParameter$onImportBeforeUpload | IKgButton$EventListenerParameter$onImportOk | IKgButton$EventListenerParameter$onExportBeforeParseRequestParameter | IKgButton$EventListenerParameter$onError | IKgButton$EventListenerParameter$onBeforeRequest | IKgButton$EventListenerParameter$onAfterRequest;
|
|
59
|
+
export declare type IKgButton$EventListener = IKgButton$EventListener$onClick | IKgButton$EventListener$onImportBeforeUpload | IKgButton$EventListener$onImportOk | IKgButton$EventListener$onExportBeforeParseRequestParameter | IKgButton$EventListener$onError | IKgButton$EventListener$onBeforeRequest | IKgButton$EventListener$onAfterRequest;
|
|
48
60
|
export declare const eventListeners: Record<string, {
|
|
49
61
|
onAfterRequest: Array<IKgButton$EventListener$onAfterRequest>;
|
|
50
62
|
onBeforeRequest: Array<IKgButton$EventListener$onBeforeRequest>;
|
|
51
63
|
onClick: Array<IKgButton$EventListener$onClick>;
|
|
52
64
|
onError: Array<IKgButton$EventListener$onError>;
|
|
65
|
+
onExportBeforeParseRequestParameter: Array<IKgButton$EventListener$onExportBeforeParseRequestParameter>;
|
|
53
66
|
onImportBeforeUpload: Array<IKgButton$EventListener$onImportBeforeUpload>;
|
|
54
67
|
onImportOk: Array<IKgButton$EventListener$onImportOk>;
|
|
55
68
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
|
-
import { eventListeners, IKgButton$EventListener$onAfterRequest, IKgButton$EventListener$onBeforeRequest, IKgButton$EventListener$onClick, IKgButton$EventListener$onError, IKgButton$EventListener$onImportBeforeUpload, IKgButton$EventListener$onImportOk } from './KgButton.event';
|
|
2
|
+
import { eventListeners, IKgButton$EventListener$onAfterRequest, IKgButton$EventListener$onBeforeRequest, IKgButton$EventListener$onClick, IKgButton$EventListener$onError, IKgButton$EventListener$onImportBeforeUpload, IKgButton$EventListener$onImportOk, IKgButton$EventListener$onExportBeforeParseRequestParameter } from './KgButton.event';
|
|
3
3
|
import { buildKgButtonStore } from './KgButton.store';
|
|
4
4
|
export declare type IUseKgButton = {
|
|
5
5
|
/**
|
|
@@ -39,6 +39,13 @@ export declare type IUseKgButton = {
|
|
|
39
39
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
40
40
|
*/
|
|
41
41
|
onError(listener: IKgButton$EventListener$onError, isOnce?: boolean): IRemoveEventListener;
|
|
42
|
+
/**
|
|
43
|
+
* 监听事件: 导出按钮, 即将解析请求参数,
|
|
44
|
+
*
|
|
45
|
+
* @param listener 事件监听函数.
|
|
46
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
47
|
+
*/
|
|
48
|
+
onExportBeforeParseRequestParameter(listener: IKgButton$EventListener$onExportBeforeParseRequestParameter, isOnce?: boolean): IRemoveEventListener;
|
|
42
49
|
/**
|
|
43
50
|
* 监听事件: 导入按钮, 上传请求发起之前.
|
|
44
51
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IKgEventListener } from '@kengic/core.core';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
+
import { IRequestConfig } from '../../service';
|
|
3
4
|
import { KgAny } from '../../type';
|
|
4
5
|
import { IKgTableRow } from '../KgTable';
|
|
5
6
|
/**
|
|
@@ -63,6 +64,7 @@ export declare type IKgSubmit$EventListenerParameter$onBeforeRequest = {
|
|
|
63
64
|
* 请求参数.
|
|
64
65
|
*/
|
|
65
66
|
params: Ref<Record<string, any>>;
|
|
67
|
+
requestConfig: IRequestConfig;
|
|
66
68
|
/** @deprecated */
|
|
67
69
|
row: IKgTableRow | null;
|
|
68
70
|
/** @deprecated */
|
|
@@ -47,7 +47,7 @@ export interface UseKgVarStoreGetters {
|
|
|
47
47
|
* 获取界面层级.
|
|
48
48
|
*/
|
|
49
49
|
getLevel: (formID: string | null | undefined) => number;
|
|
50
|
-
|
|
50
|
+
getParentKgVar: (formID: string | null | undefined) => IUseKgVar | null;
|
|
51
51
|
getProps: (formID: string | null | undefined) => IKgProps | null;
|
|
52
52
|
getSlots: (formID: string | null | undefined) => IKgSlots | null;
|
|
53
53
|
/**
|
|
@@ -364,6 +364,22 @@ export declare const KG: {
|
|
|
364
364
|
TEXT_AREA: string;
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
* 用于添加的行.
|
|
369
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
370
|
+
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
371
|
+
*/
|
|
372
|
+
__KG__CREATE_ROW_ID__: string;
|
|
373
|
+
/**
|
|
374
|
+
* 用户添加的行.
|
|
375
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
376
|
+
*/
|
|
377
|
+
__KG__CUSTOM_ROW_ID__: string;
|
|
378
|
+
__KG__NULL__: string;
|
|
379
|
+
/**
|
|
380
|
+
* 在表格内创建时, 空白行的临时主键.
|
|
381
|
+
*/
|
|
382
|
+
__KG__TABLE_TEMP_ID__: string;
|
|
367
383
|
};
|
|
368
384
|
/** @deprecated 已弃用, 请使用 {@link KG}. */
|
|
369
385
|
export declare const KG_CONST: {
|
|
@@ -723,6 +739,22 @@ export declare const KG_CONST: {
|
|
|
723
739
|
TEXT_AREA: string;
|
|
724
740
|
};
|
|
725
741
|
};
|
|
742
|
+
/**
|
|
743
|
+
* 用于添加的行.
|
|
744
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
745
|
+
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
746
|
+
*/
|
|
747
|
+
__KG__CREATE_ROW_ID__: string;
|
|
748
|
+
/**
|
|
749
|
+
* 用户添加的行.
|
|
750
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
751
|
+
*/
|
|
752
|
+
__KG__CUSTOM_ROW_ID__: string;
|
|
753
|
+
__KG__NULL__: string;
|
|
754
|
+
/**
|
|
755
|
+
* 在表格内创建时, 空白行的临时主键.
|
|
756
|
+
*/
|
|
757
|
+
__KG__TABLE_TEMP_ID__: string;
|
|
726
758
|
};
|
|
727
759
|
/** 模块. */
|
|
728
760
|
export declare const enum KG_APP {
|
|
@@ -1323,6 +1355,12 @@ export interface IKgVarSubmitConfigProperties {
|
|
|
1323
1355
|
* <p>额外的配置属性. 对应 {@link VarButton#props} 字段.</p>
|
|
1324
1356
|
*/
|
|
1325
1357
|
export interface IKgVarButtonProperties {
|
|
1358
|
+
/**
|
|
1359
|
+
* 是否显示, 默认为 true.
|
|
1360
|
+
*
|
|
1361
|
+
* @default true
|
|
1362
|
+
*/
|
|
1363
|
+
isVisible?: boolean;
|
|
1326
1364
|
/**
|
|
1327
1365
|
* 文本提示.
|
|
1328
1366
|
*/
|
|
@@ -1709,27 +1747,20 @@ export interface IKgVarGridDetailDisplayTypeProperties {
|
|
|
1709
1747
|
/**
|
|
1710
1748
|
* 通用常量.
|
|
1711
1749
|
*/
|
|
1750
|
+
/** @deprecated 已废弃, 请使用 {@link KG} */
|
|
1712
1751
|
export declare const KG_COMMON_CONST: {
|
|
1713
|
-
/**
|
|
1714
|
-
* 用于添加的行.
|
|
1715
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
1716
|
-
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
1717
|
-
*/
|
|
1752
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CREATE_ROW_ID__} */
|
|
1718
1753
|
__KG__CREATE_ROW_ID__: string;
|
|
1719
|
-
/**
|
|
1720
|
-
* 用户添加的行.
|
|
1721
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
1722
|
-
*/
|
|
1754
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CUSTOM_ROW_ID__} */
|
|
1723
1755
|
__KG__CUSTOM_ROW_ID__: string;
|
|
1756
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__NULL__} */
|
|
1724
1757
|
__KG__NULL__: string;
|
|
1725
1758
|
};
|
|
1759
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__TABLE_TEMP_ID__} */
|
|
1760
|
+
export declare const KG_TABLE_TEMP_ID = "__KG__TABLE_TEMP_ID__";
|
|
1726
1761
|
/**
|
|
1727
1762
|
* 状态管理类型定义.
|
|
1728
1763
|
*/
|
|
1729
1764
|
export declare type KgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & {
|
|
1730
1765
|
$onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void;
|
|
1731
1766
|
};
|
|
1732
|
-
/**
|
|
1733
|
-
* 在表格内创建时, 空白行的临时主键.
|
|
1734
|
-
*/
|
|
1735
|
-
export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
|
|
@@ -9,7 +9,6 @@ export declare function getAppEnvConfig(): {
|
|
|
9
9
|
VITE_GLOB_APP_TITLE: string;
|
|
10
10
|
VITE_GLOB_DOMAIN_URL: string;
|
|
11
11
|
VITE_GLOB_ONLINE_VIEW_URL: string | undefined;
|
|
12
|
-
VITE_MODE: string | undefined;
|
|
13
12
|
};
|
|
14
13
|
export declare const devMode = "development";
|
|
15
14
|
export declare const prodMode = "production";
|
|
@@ -105,10 +105,6 @@ export interface GlobConfig {
|
|
|
105
105
|
viewUrl?: string;
|
|
106
106
|
urlPrefix?: string;
|
|
107
107
|
shortName: string;
|
|
108
|
-
/**
|
|
109
|
-
* 环境.
|
|
110
|
-
*/
|
|
111
|
-
VITE_MODE?: string;
|
|
112
108
|
}
|
|
113
109
|
export interface GlobEnvConfig {
|
|
114
110
|
VITE_GLOB_APP_TITLE: string;
|
|
@@ -120,8 +116,4 @@ export interface GlobEnvConfig {
|
|
|
120
116
|
VITE_GLOB_DOMAIN_URL: string;
|
|
121
117
|
VITE_GLOB_UPLOAD_URL?: string;
|
|
122
118
|
VITE_GLOB_ONLINE_VIEW_URL?: string;
|
|
123
|
-
/**
|
|
124
|
-
* 环境.
|
|
125
|
-
*/
|
|
126
|
-
VITE_MODE?: string;
|
|
127
119
|
}
|
|
@@ -17,7 +17,7 @@ declare function kgConfigHttpClient(httpClient: IHttpClient | null): void;
|
|
|
17
17
|
* 获取 httpClient 实例.
|
|
18
18
|
*/
|
|
19
19
|
declare function httpClient(): IHttpClient;
|
|
20
|
-
interface IRequestConfig<P =
|
|
20
|
+
interface IRequestConfig<P = Record<string, any>, D = Record<string, any>> extends AxiosRequestConfig<D> {
|
|
21
21
|
params?: P;
|
|
22
22
|
}
|
|
23
23
|
interface IRequestOption {
|
package/package.json
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
|
-
"build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
7
|
-
"--------------------------------------------------": "",
|
|
8
|
-
"gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
9
|
-
"- ------------------------------------------------": "",
|
|
10
|
-
"use-node": "nvm use 20.17.0 && corepack enable && corepack use pnpm@9.12.1",
|
|
11
|
-
"cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
|
12
|
-
"-- -----------------------------------------------": "",
|
|
13
|
-
"bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
14
|
-
"bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
15
|
-
"copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.2.ts",
|
|
16
|
-
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
17
|
-
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test.ts",
|
|
18
|
-
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration.ts",
|
|
19
|
-
"copy-to--luotao--smartfactory.product.simulator--main": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
|
|
20
|
-
"copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
|
21
|
-
"----- --------------------------------------------": "更新组件库的版本",
|
|
22
|
-
"bump--major": "npm run use-node && tsx script/bump.ts major",
|
|
23
|
-
"bump--minor": "npm run use-node && tsx script/bump.ts minor",
|
|
24
|
-
"bump--patch": "npm run use-node && tsx script/bump.ts patch",
|
|
25
|
-
"bump--beta": "npm run use-node && tsx script/bump.ts beta",
|
|
26
|
-
"---- ---------------------------------------------": "发布到 npmjs 仓库",
|
|
27
|
-
"publish--npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
|
28
|
-
"publish--major": "npm run bump--major && tsx script/publish.ts",
|
|
29
|
-
"publish--minor": "npm run bump--minor && tsx script/publish.ts",
|
|
30
|
-
"publish--patch": "npm run bump--patch && tsx script/publish.ts",
|
|
31
|
-
"publish--beta": "npm run bump--beta && tsx script/publish.ts"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"vue": "^3.2.43"
|
|
35
|
-
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"@ant-design/colors": "6.0.0",
|
|
38
|
-
"@iconify-icons/akar-icons": "1.2.19",
|
|
39
|
-
"@iconify-icons/ant-design": "1.2.7",
|
|
40
|
-
"@iconify-icons/eos-icons": "1.2.6",
|
|
41
|
-
"@iconify-icons/fluent-mdl2": "1.2.1",
|
|
42
|
-
"@iconify-icons/material-symbols": "1.2.58",
|
|
43
|
-
"@iconify-icons/mdi": "1.2.48",
|
|
44
|
-
"@iconify-icons/ph": "1.2.5",
|
|
45
|
-
"@iconify/vue": "4.1.2",
|
|
46
|
-
"@kengic/core.core": "0.0.1-beta.24",
|
|
47
|
-
"@kengic/core.react": "0.0.2-beta.42",
|
|
48
|
-
"@kengic/pont": "1.2.17-beta.5",
|
|
49
|
-
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
50
|
-
"@thymine/xunee": "0.4.9-beta.47",
|
|
51
|
-
"@types/crypto-js": "4.1.1",
|
|
52
|
-
"@types/fs-extra": "9.0.13",
|
|
53
|
-
"@types/inquirer": "8.2.5",
|
|
54
|
-
"@types/lodash-es": "4.17.9",
|
|
55
|
-
"@types/md5": "2.3.5",
|
|
56
|
-
"@types/node": "18.18.4",
|
|
57
|
-
"@types/semver": "7.5.3",
|
|
58
|
-
"@types/store": "2.0.3",
|
|
59
|
-
"@types/uuid": "10.0.0",
|
|
60
|
-
"@vitejs/plugin-legacy": "2.3.1",
|
|
61
|
-
"@vitejs/plugin-vue": "3.2.0",
|
|
62
|
-
"@vitejs/plugin-vue-jsx": "1.3.10",
|
|
63
|
-
"@vueuse/core": "8.9.4",
|
|
64
|
-
"@vueuse/shared": "8.9.4",
|
|
65
|
-
"ant-design-vue": "3.2.14",
|
|
66
|
-
"axios": "0.26.1",
|
|
67
|
-
"chalk": "4.1.2",
|
|
68
|
-
"crypto-js": "4.1.1",
|
|
69
|
-
"dayjs": "1.11.10",
|
|
70
|
-
"dotenv": "16.0.3",
|
|
71
|
-
"element-plus": "2.12.0",
|
|
72
|
-
"filesize": "10.1.0",
|
|
73
|
-
"fs-extra": "10.1.0",
|
|
74
|
-
"html-to-image": "1.11.11",
|
|
75
|
-
"inquirer": "8.2.5",
|
|
76
|
-
"less": "4.1.3",
|
|
77
|
-
"lodash-es": "4.17.21",
|
|
78
|
-
"md5": "2.3.0",
|
|
79
|
-
"picocolors": "1.0.0",
|
|
80
|
-
"pinia": "2.0.12",
|
|
81
|
-
"prettier": "3.3.3",
|
|
82
|
-
"resize-observer-polyfill": "1.5.1",
|
|
83
|
-
"rimraf": "3.0.2",
|
|
84
|
-
"rollup": "2.79.1",
|
|
85
|
-
"rollup-plugin-visualizer": "5.8.3",
|
|
86
|
-
"screenfull": "6.0.2",
|
|
87
|
-
"semver": "7.5.4",
|
|
88
|
-
"store": "2.0.12",
|
|
89
|
-
"tsx": "3.12.3",
|
|
90
|
-
"typescript": "~4.8.4",
|
|
91
|
-
"uuid": "10.0.0",
|
|
92
|
-
"vite": "3.2.3",
|
|
93
|
-
"vite-plugin-compression": "0.5.1",
|
|
94
|
-
"vite-plugin-html": "3.2.0",
|
|
95
|
-
"vite-plugin-imagemin": "0.6.1",
|
|
96
|
-
"vite-plugin-mkcert": "1.10.1",
|
|
97
|
-
"vite-plugin-optimize-persist": "0.1.2",
|
|
98
|
-
"vite-plugin-package-config": "0.1.1",
|
|
99
|
-
"vite-plugin-purge-icons": "0.8.2",
|
|
100
|
-
"vite-plugin-pwa": "0.12.8",
|
|
101
|
-
"vite-plugin-style-import": "2.0.0",
|
|
102
|
-
"vite-plugin-svg-icons": "2.0.1",
|
|
103
|
-
"vite-plugin-vue-setup-extend": "0.4.0",
|
|
104
|
-
"vite-plugin-windicss": "1.8.8",
|
|
105
|
-
"vue": "3.2.43",
|
|
106
|
-
"vue-i18n": "9.2.2",
|
|
107
|
-
"vue-router": "4.1.6",
|
|
108
|
-
"vue-tsc": "1.8.27",
|
|
109
|
-
"vue-types": "4.2.1",
|
|
110
|
-
"vxe-pc-ui": "4.10.49",
|
|
111
|
-
"vxe-table": "4.17.27",
|
|
112
|
-
"xe-utils": "3.7.9"
|
|
113
|
-
},
|
|
114
|
-
"devDependencies": {},
|
|
115
|
-
"main": "./dist/kengic-vue.js",
|
|
116
|
-
"module": "./dist/kengic-vue.js",
|
|
117
|
-
"types": "./dist/src/index.d.ts",
|
|
118
|
-
"exports": {
|
|
119
|
-
".": {
|
|
120
|
-
"import": "./dist/kengic-vue.js",
|
|
121
|
-
"types": "./dist/src/index.d.ts"
|
|
122
|
-
},
|
|
123
|
-
"./dist/index.css": "./dist/index.css"
|
|
124
|
-
},
|
|
125
|
-
"prettier": {
|
|
126
|
-
"endOfLine": "auto",
|
|
127
|
-
"overrides": [
|
|
128
|
-
{
|
|
129
|
-
"files": [
|
|
130
|
-
"*.less",
|
|
131
|
-
"*.css"
|
|
132
|
-
],
|
|
133
|
-
"options": {
|
|
134
|
-
"printWidth": 320
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"printWidth": 240,
|
|
139
|
-
"semi": true,
|
|
140
|
-
"singleAttributePerLine": true,
|
|
141
|
-
"singleQuote": true,
|
|
142
|
-
"tabWidth": 4,
|
|
143
|
-
"trailingComma": "all"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kengic/vue",
|
|
3
|
+
"version": "0.30.1-beta.78",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
|
+
"build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
7
|
+
"--------------------------------------------------": "",
|
|
8
|
+
"gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
9
|
+
"- ------------------------------------------------": "",
|
|
10
|
+
"use-node": "nvm use 20.17.0 && corepack enable && corepack use pnpm@9.12.1",
|
|
11
|
+
"cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
|
12
|
+
"-- -----------------------------------------------": "",
|
|
13
|
+
"bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
14
|
+
"bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
15
|
+
"copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.2.ts",
|
|
16
|
+
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
17
|
+
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test.ts",
|
|
18
|
+
"copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration.ts",
|
|
19
|
+
"copy-to--luotao--smartfactory.product.simulator--main": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
|
|
20
|
+
"copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
|
21
|
+
"----- --------------------------------------------": "更新组件库的版本",
|
|
22
|
+
"bump--major": "npm run use-node && tsx script/bump.ts major",
|
|
23
|
+
"bump--minor": "npm run use-node && tsx script/bump.ts minor",
|
|
24
|
+
"bump--patch": "npm run use-node && tsx script/bump.ts patch",
|
|
25
|
+
"bump--beta": "npm run use-node && tsx script/bump.ts beta",
|
|
26
|
+
"---- ---------------------------------------------": "发布到 npmjs 仓库",
|
|
27
|
+
"publish--npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
|
28
|
+
"publish--major": "npm run bump--major && tsx script/publish.ts",
|
|
29
|
+
"publish--minor": "npm run bump--minor && tsx script/publish.ts",
|
|
30
|
+
"publish--patch": "npm run bump--patch && tsx script/publish.ts",
|
|
31
|
+
"publish--beta": "npm run bump--beta && tsx script/publish.ts"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"vue": "^3.2.43"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@ant-design/colors": "6.0.0",
|
|
38
|
+
"@iconify-icons/akar-icons": "1.2.19",
|
|
39
|
+
"@iconify-icons/ant-design": "1.2.7",
|
|
40
|
+
"@iconify-icons/eos-icons": "1.2.6",
|
|
41
|
+
"@iconify-icons/fluent-mdl2": "1.2.1",
|
|
42
|
+
"@iconify-icons/material-symbols": "1.2.58",
|
|
43
|
+
"@iconify-icons/mdi": "1.2.48",
|
|
44
|
+
"@iconify-icons/ph": "1.2.5",
|
|
45
|
+
"@iconify/vue": "4.1.2",
|
|
46
|
+
"@kengic/core.core": "0.0.1-beta.24",
|
|
47
|
+
"@kengic/core.react": "0.0.2-beta.42",
|
|
48
|
+
"@kengic/pont": "1.2.17-beta.5",
|
|
49
|
+
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
50
|
+
"@thymine/xunee": "0.4.9-beta.47",
|
|
51
|
+
"@types/crypto-js": "4.1.1",
|
|
52
|
+
"@types/fs-extra": "9.0.13",
|
|
53
|
+
"@types/inquirer": "8.2.5",
|
|
54
|
+
"@types/lodash-es": "4.17.9",
|
|
55
|
+
"@types/md5": "2.3.5",
|
|
56
|
+
"@types/node": "18.18.4",
|
|
57
|
+
"@types/semver": "7.5.3",
|
|
58
|
+
"@types/store": "2.0.3",
|
|
59
|
+
"@types/uuid": "10.0.0",
|
|
60
|
+
"@vitejs/plugin-legacy": "2.3.1",
|
|
61
|
+
"@vitejs/plugin-vue": "3.2.0",
|
|
62
|
+
"@vitejs/plugin-vue-jsx": "1.3.10",
|
|
63
|
+
"@vueuse/core": "8.9.4",
|
|
64
|
+
"@vueuse/shared": "8.9.4",
|
|
65
|
+
"ant-design-vue": "3.2.14",
|
|
66
|
+
"axios": "0.26.1",
|
|
67
|
+
"chalk": "4.1.2",
|
|
68
|
+
"crypto-js": "4.1.1",
|
|
69
|
+
"dayjs": "1.11.10",
|
|
70
|
+
"dotenv": "16.0.3",
|
|
71
|
+
"element-plus": "2.12.0",
|
|
72
|
+
"filesize": "10.1.0",
|
|
73
|
+
"fs-extra": "10.1.0",
|
|
74
|
+
"html-to-image": "1.11.11",
|
|
75
|
+
"inquirer": "8.2.5",
|
|
76
|
+
"less": "4.1.3",
|
|
77
|
+
"lodash-es": "4.17.21",
|
|
78
|
+
"md5": "2.3.0",
|
|
79
|
+
"picocolors": "1.0.0",
|
|
80
|
+
"pinia": "2.0.12",
|
|
81
|
+
"prettier": "3.3.3",
|
|
82
|
+
"resize-observer-polyfill": "1.5.1",
|
|
83
|
+
"rimraf": "3.0.2",
|
|
84
|
+
"rollup": "2.79.1",
|
|
85
|
+
"rollup-plugin-visualizer": "5.8.3",
|
|
86
|
+
"screenfull": "6.0.2",
|
|
87
|
+
"semver": "7.5.4",
|
|
88
|
+
"store": "2.0.12",
|
|
89
|
+
"tsx": "3.12.3",
|
|
90
|
+
"typescript": "~4.8.4",
|
|
91
|
+
"uuid": "10.0.0",
|
|
92
|
+
"vite": "3.2.3",
|
|
93
|
+
"vite-plugin-compression": "0.5.1",
|
|
94
|
+
"vite-plugin-html": "3.2.0",
|
|
95
|
+
"vite-plugin-imagemin": "0.6.1",
|
|
96
|
+
"vite-plugin-mkcert": "1.10.1",
|
|
97
|
+
"vite-plugin-optimize-persist": "0.1.2",
|
|
98
|
+
"vite-plugin-package-config": "0.1.1",
|
|
99
|
+
"vite-plugin-purge-icons": "0.8.2",
|
|
100
|
+
"vite-plugin-pwa": "0.12.8",
|
|
101
|
+
"vite-plugin-style-import": "2.0.0",
|
|
102
|
+
"vite-plugin-svg-icons": "2.0.1",
|
|
103
|
+
"vite-plugin-vue-setup-extend": "0.4.0",
|
|
104
|
+
"vite-plugin-windicss": "1.8.8",
|
|
105
|
+
"vue": "3.2.43",
|
|
106
|
+
"vue-i18n": "9.2.2",
|
|
107
|
+
"vue-router": "4.1.6",
|
|
108
|
+
"vue-tsc": "1.8.27",
|
|
109
|
+
"vue-types": "4.2.1",
|
|
110
|
+
"vxe-pc-ui": "4.10.49",
|
|
111
|
+
"vxe-table": "4.17.27",
|
|
112
|
+
"xe-utils": "3.7.9"
|
|
113
|
+
},
|
|
114
|
+
"devDependencies": {},
|
|
115
|
+
"main": "./dist/kengic-vue.js",
|
|
116
|
+
"module": "./dist/kengic-vue.js",
|
|
117
|
+
"types": "./dist/src/index.d.ts",
|
|
118
|
+
"exports": {
|
|
119
|
+
".": {
|
|
120
|
+
"import": "./dist/kengic-vue.js",
|
|
121
|
+
"types": "./dist/src/index.d.ts"
|
|
122
|
+
},
|
|
123
|
+
"./dist/index.css": "./dist/index.css"
|
|
124
|
+
},
|
|
125
|
+
"prettier": {
|
|
126
|
+
"endOfLine": "auto",
|
|
127
|
+
"overrides": [
|
|
128
|
+
{
|
|
129
|
+
"files": [
|
|
130
|
+
"*.less",
|
|
131
|
+
"*.css"
|
|
132
|
+
],
|
|
133
|
+
"options": {
|
|
134
|
+
"printWidth": 320
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"printWidth": 240,
|
|
139
|
+
"semi": true,
|
|
140
|
+
"singleAttributePerLine": true,
|
|
141
|
+
"singleQuote": true,
|
|
142
|
+
"tabWidth": 4,
|
|
143
|
+
"trailingComma": "all"
|
|
144
|
+
}
|
|
145
|
+
}
|