@kengic/vue 0.30.1-beta.5 → 0.30.1-beta.51
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/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/dist/align-left-outlined.579b01c6.mjs +8 -0
- package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
- package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
- package/dist/caret-up-outlined.81b559ad.mjs +8 -0
- package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
- package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
- package/dist/double-right-outlined.f057a6b2.mjs +8 -0
- package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
- package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
- package/dist/holder-outlined.9e698750.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +172885 -127732
- package/dist/loading-outlined.13a15197.mjs +8 -0
- package/dist/more-outlined.8e1202ac.mjs +8 -0
- package/dist/palette-swatch-variant.f7258843.mjs +8 -0
- package/dist/partition-outlined.1bcf4f37.mjs +8 -0
- package/dist/pause-rounded.1ed7cc39.mjs +8 -0
- package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
- package/dist/profile-outlined.1059fb0d.mjs +8 -0
- package/dist/project/build/utils.ts +20 -15
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +2 -2
- package/dist/src/component/KgButton/KgButton.store.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
- package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.Fullscreen.d.ts → KgCanvas.ToolbarButton.Fullscreen.d.ts} +2 -3
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +7 -0
- package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.OverviewScale.d.ts → KgCanvas.ToolbarButton.OverviewScale.d.ts} +2 -3
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +1 -2
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +59 -3
- package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +42 -5
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +33 -5
- package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +26 -32
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +5 -31
- package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +4 -1
- package/dist/src/component/KgCanvas/index.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
- package/dist/src/{page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +5 -0
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +29 -0
- package/dist/src/{page/KgCircleVis/components/KgCircleVis.model.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts} +1 -1
- package/dist/src/{page/KgCircleVis/components/KgCircleVis.store.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts} +41 -41
- package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
- package/dist/src/component/KgForm/KgForm.d.ts +39 -39
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +2 -2
- package/dist/src/component/KgForm/KgForm.store.d.ts +4 -4
- package/dist/src/component/KgForm/index.d.ts +52 -52
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +35 -35
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +31 -33
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +38 -36
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Link.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +34 -36
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +35 -35
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +34 -34
- package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +34 -34
- package/dist/src/component/KgImage/KgImage.d.ts +6 -6
- package/dist/src/component/KgLayoutHeader/{components/KgLayoutHeaderLocale.d.ts → KgLayoutHeader.Locale.d.ts} +1 -1
- package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
- package/dist/src/component/KgModal/KgModal.d.ts +20 -20
- package/dist/src/component/KgModal/{hooks/useDragToResize.d.ts → KgModal.service.d.ts} +13 -2
- package/dist/src/component/KgModal02/KgModal02.d.ts +591 -0
- package/dist/src/component/KgModal02/KgModal02.model.d.ts +1 -0
- package/dist/src/component/KgModal02/index.d.ts +1 -0
- package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +2 -2
- package/dist/src/component/KgSearch/KgSearch.store.d.ts +26 -26
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +80 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +36 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +97 -0
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +108 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +113 -0
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +99 -0
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +103 -0
- package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +1467 -0
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +294 -0
- package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +21 -0
- package/dist/src/component/KgSimulator/index.d.ts +3 -0
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +20 -15
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +46 -14
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +46 -0
- package/dist/src/component/KgTable/{components/KgTable.BodyCell.d.ts → KgTable.BodyCell.d.ts} +1 -1
- package/dist/src/component/KgTable/{components/setting/KgTable.Setting.service.d.ts → KgTable.Setting.service.d.ts} +1 -1
- package/dist/src/component/KgTable/KgTable.store.d.ts +1 -1
- package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +32 -3
- package/dist/src/component/KgTable02/KgTable02.event.d.ts +13 -3
- package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +9 -0
- package/dist/src/component/KgVar/{KgVarFactory.d.ts → KgVar.Factory.d.ts} +9 -0
- package/dist/src/component/KgVar/KgVar.d.ts +23 -17
- package/dist/src/component/KgVar/KgVar.event.d.ts +19 -6
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +20 -7
- package/dist/src/component/KgVar/KgVar.model.d.ts +0 -5
- package/dist/src/component/KgVar/index.d.ts +1 -1
- package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
- package/dist/src/component/index.d.ts +3 -0
- package/dist/src/config/config.store.d.ts +9 -5
- package/dist/src/config/index.d.ts +9 -3
- package/dist/src/const/const.model.d.ts +524 -11
- package/dist/src/const/form-id.const.d.ts +22 -10
- package/dist/src/const/index.d.ts +0 -1
- package/dist/src/i18n/i18n.setup.d.ts +1 -1
- package/dist/src/i18n/index.d.ts +0 -2
- package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
- package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +3 -3
- package/dist/src/page/index.d.ts +2 -2
- package/dist/src/project/src/hooks/index.d.ts +0 -1
- package/dist/src/project/src/utils/env.d.ts +0 -16
- package/dist/src/service/http-client.d.ts +5 -1
- package/dist/src/util/ant-design-vue.d.ts +16 -16
- package/dist/src/util/kg-route.util.d.ts +6 -9
- package/dist/src/util/kg.util.d.ts +1 -2
- package/dist/src/util/tsx.helper.d.ts +7 -7
- package/package.json +9 -7
- package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
- package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +0 -12
- package/dist/src/const/injection-keys.const.d.ts +0 -11
- package/dist/src/i18n/cs_CZ.d.ts +0 -301
- package/dist/src/i18n/en.d.ts +0 -300
- package/dist/src/i18n/es_ES.d.ts +0 -300
- package/dist/src/i18n/fr_FR.d.ts +0 -300
- package/dist/src/i18n/km_KH.d.ts +0 -300
- package/dist/src/i18n/ko_KR.d.ts +0 -300
- package/dist/src/i18n/vi_VN.d.ts +0 -300
- package/dist/src/i18n/zh_CN.d.ts +0 -301
- package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +0 -29
- package/dist/src/page/KgCircleVis/index.d.ts +0 -1
- package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
- /package/dist/src/{page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/KgTable.HeadCell.d.ts → KgTable.HeadCell.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/KgTable.Info.d.ts → KgTable.Info.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts → KgTable.Setting.VarGridMaster.SaveAs.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +0 -0
|
@@ -16,7 +16,6 @@ export * from './web/useAppInject';
|
|
|
16
16
|
export * from './web/useContentHeight';
|
|
17
17
|
export * from './web/useCopyToClipboard';
|
|
18
18
|
export * from './web/useDesign';
|
|
19
|
-
export * from './web/useI18n';
|
|
20
19
|
export * from './web/usePage';
|
|
21
20
|
export * from './web/usePagination';
|
|
22
21
|
export * from './web/useWebSocket';
|
|
@@ -10,23 +10,7 @@ export declare function getAppEnvConfig(): {
|
|
|
10
10
|
VITE_GLOB_DOMAIN_URL: string;
|
|
11
11
|
VITE_GLOB_ONLINE_VIEW_URL: string | undefined;
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
14
|
-
* @description: Development mode
|
|
15
|
-
*/
|
|
16
13
|
export declare const devMode = "development";
|
|
17
|
-
/**
|
|
18
|
-
* @description: Production mode
|
|
19
|
-
*/
|
|
20
14
|
export declare const prodMode = "production";
|
|
21
|
-
/**
|
|
22
|
-
* @description: Is it a development mode
|
|
23
|
-
* @returns:
|
|
24
|
-
* @example:
|
|
25
|
-
*/
|
|
26
15
|
export declare function isDevMode(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* @description: Is it a production mode
|
|
29
|
-
* @returns:
|
|
30
|
-
* @example:
|
|
31
|
-
*/
|
|
32
16
|
export declare function isProdMode(): boolean;
|
|
@@ -73,7 +73,11 @@ interface IRequestOption {
|
|
|
73
73
|
*/
|
|
74
74
|
joinTime?: boolean;
|
|
75
75
|
/**
|
|
76
|
-
* <p
|
|
76
|
+
* <p>模拟数据.</p>
|
|
77
|
+
* <ul>
|
|
78
|
+
* <li>如果是为 undefined, 则是会发起请求,</li>
|
|
79
|
+
* <li>如果不为 undefined, 则不会发起请求, 而是直接返回该模拟数据,</li>
|
|
80
|
+
* </ul>
|
|
77
81
|
*/
|
|
78
82
|
mock?: any;
|
|
79
83
|
/**
|
|
@@ -6,14 +6,14 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
6
6
|
import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
|
|
7
7
|
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
|
8
8
|
export declare const formProps: () => {
|
|
9
|
-
layout: PropType<"
|
|
9
|
+
layout: PropType<"inline" | "horizontal" | "vertical">;
|
|
10
10
|
labelCol: {
|
|
11
11
|
type: PropType<Partial<ExtractPropTypes<{
|
|
12
|
-
span: (
|
|
13
|
-
order: (
|
|
14
|
-
offset: (
|
|
15
|
-
push: (
|
|
16
|
-
pull: (
|
|
12
|
+
span: (NumberConstructor | StringConstructor)[];
|
|
13
|
+
order: (NumberConstructor | StringConstructor)[];
|
|
14
|
+
offset: (NumberConstructor | StringConstructor)[];
|
|
15
|
+
push: (NumberConstructor | StringConstructor)[];
|
|
16
|
+
pull: (NumberConstructor | StringConstructor)[];
|
|
17
17
|
xs: {
|
|
18
18
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
|
19
19
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
@@ -43,16 +43,16 @@ export declare const formProps: () => {
|
|
|
43
43
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
44
44
|
};
|
|
45
45
|
prefixCls: StringConstructor;
|
|
46
|
-
flex: (
|
|
46
|
+
flex: (NumberConstructor | StringConstructor)[];
|
|
47
47
|
}>> & HTMLAttributes>;
|
|
48
48
|
};
|
|
49
49
|
wrapperCol: {
|
|
50
50
|
type: PropType<Partial<ExtractPropTypes<{
|
|
51
|
-
span: (
|
|
52
|
-
order: (
|
|
53
|
-
offset: (
|
|
54
|
-
push: (
|
|
55
|
-
pull: (
|
|
51
|
+
span: (NumberConstructor | StringConstructor)[];
|
|
52
|
+
order: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
offset: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
push: (NumberConstructor | StringConstructor)[];
|
|
55
|
+
pull: (NumberConstructor | StringConstructor)[];
|
|
56
56
|
xs: {
|
|
57
57
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
|
58
58
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
@@ -82,7 +82,7 @@ export declare const formProps: () => {
|
|
|
82
82
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
|
83
83
|
};
|
|
84
84
|
prefixCls: StringConstructor;
|
|
85
|
-
flex: (
|
|
85
|
+
flex: (NumberConstructor | StringConstructor)[];
|
|
86
86
|
}>> & HTMLAttributes>;
|
|
87
87
|
};
|
|
88
88
|
colon: {
|
|
@@ -166,7 +166,7 @@ export declare const modalProps: () => {
|
|
|
166
166
|
type: BooleanConstructor;
|
|
167
167
|
default: undefined;
|
|
168
168
|
};
|
|
169
|
-
width: (
|
|
169
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
170
170
|
footer: PropType<any>;
|
|
171
171
|
okText: PropType<any>;
|
|
172
172
|
okType: PropType<LegacyButtonType>;
|
|
@@ -340,8 +340,8 @@ export declare const imageProps: () => {
|
|
|
340
340
|
type: PropType<(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error) => any>;
|
|
341
341
|
};
|
|
342
342
|
id: StringConstructor;
|
|
343
|
-
width: (
|
|
344
|
-
height: (
|
|
343
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
344
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
345
345
|
style: StringConstructor;
|
|
346
346
|
};
|
|
347
347
|
export {};
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { KG_APP } from '../const';
|
|
2
2
|
import { Menu } from '../project/src/router/types';
|
|
3
|
+
import { KgUtil } from './kg.util';
|
|
3
4
|
export declare class KgRouteUtil {
|
|
4
5
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
5
6
|
static getMenuByPath(menus: Array<Menu> | null | undefined, path: string): Menu | null;
|
|
6
7
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
7
8
|
static getFirstLeafMenu(app?: KG_APP | null): Menu | null;
|
|
8
9
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
9
|
-
static translateMenus
|
|
10
|
-
|
|
11
|
-
static
|
|
12
|
-
|
|
13
|
-
static
|
|
14
|
-
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
15
|
-
static getAppByPath(path: string | null | undefined): KG_APP | null;
|
|
16
|
-
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
17
|
-
static getAppIndexPath(app: KG_APP): string;
|
|
10
|
+
static translateMenus: typeof KgUtil.translateMenus;
|
|
11
|
+
static transformMenus: typeof KgUtil.transformMenus;
|
|
12
|
+
static isPathInApp: typeof KgUtil.isPathInApp;
|
|
13
|
+
static getAppByPath: typeof KgUtil.getAppByPath;
|
|
14
|
+
static getAppIndexPath: typeof KgUtil.getAppIndexPath;
|
|
18
15
|
}
|
|
@@ -162,9 +162,8 @@ export declare class KgUtil {
|
|
|
162
162
|
/**
|
|
163
163
|
* 翻译菜单标题.
|
|
164
164
|
* @param menus 菜单列表, 树形结构.
|
|
165
|
-
* @param titleKey 标题的属性名, 即要将哪个属性作为菜单的标题.
|
|
166
165
|
*/
|
|
167
|
-
static translateMenus(menus: Array<Menu> | null | undefined
|
|
166
|
+
static translateMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
|
|
168
167
|
/**
|
|
169
168
|
* <p>转换菜单列表.</p>
|
|
170
169
|
* <ol>
|
|
@@ -2,22 +2,22 @@ import { Slots } from 'vue';
|
|
|
2
2
|
/**
|
|
3
3
|
* 根据名称渲染单个插槽.
|
|
4
4
|
*
|
|
5
|
-
* @param param.
|
|
5
|
+
* @param param.slotRecord 插槽对象.
|
|
6
6
|
* @param param.name 插槽名称.
|
|
7
7
|
*/
|
|
8
8
|
export declare function renderSlot(param: {
|
|
9
|
-
slots: Slots;
|
|
10
9
|
name: string;
|
|
10
|
+
slotRecord: Slots;
|
|
11
11
|
}): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
}>[] | null;
|
|
14
14
|
/**
|
|
15
15
|
* 渲染插槽.
|
|
16
16
|
*
|
|
17
|
-
* @param param.
|
|
18
|
-
* @param param.
|
|
17
|
+
* @param param.slotRecord 插槽对象.
|
|
18
|
+
* @param param.excludeSlotList 要排除的插槽名称列表.
|
|
19
19
|
*/
|
|
20
|
-
export declare function
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
export declare function renderSlotList(param: {
|
|
21
|
+
excludeSlotList?: string[];
|
|
22
|
+
slotRecord: Slots;
|
|
23
23
|
}): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.51",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
16
16
|
"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",
|
|
17
17
|
"copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory-test": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory-test.ts",
|
|
18
|
+
"copy-to:luotao:smartfactory.product.simulator--main": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.simulator--main.ts",
|
|
18
19
|
"copy-to:luotao:smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
|
19
20
|
"----- --------------------------------------------": "更新组件库的版本",
|
|
20
21
|
"bump:major": "npm run use-node && tsx script/bump.ts major",
|
|
@@ -30,24 +31,23 @@
|
|
|
30
31
|
"------- ------------------------------------------": ""
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
33
|
-
"vue": "3.2.43"
|
|
34
|
+
"vue": "^3.2.43"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@ant-design/colors": "6.0.0",
|
|
37
|
-
"@ant-design/icons-vue": "6.1.0",
|
|
38
38
|
"@iconify-icons/akar-icons": "1.2.19",
|
|
39
39
|
"@iconify-icons/ant-design": "1.2.7",
|
|
40
|
+
"@iconify-icons/eos-icons": "1.2.6",
|
|
40
41
|
"@iconify-icons/fluent-mdl2": "1.2.1",
|
|
41
42
|
"@iconify-icons/material-symbols": "1.2.58",
|
|
42
43
|
"@iconify-icons/mdi": "1.2.48",
|
|
43
44
|
"@iconify-icons/ph": "1.2.5",
|
|
44
|
-
"@iconify-icons/eos-icons": "1.2.6",
|
|
45
45
|
"@iconify/vue": "4.1.2",
|
|
46
|
-
"@kengic/core.core": "0.0.1-beta.
|
|
46
|
+
"@kengic/core.core": "0.0.1-beta.24",
|
|
47
47
|
"@kengic/core.react": "0.0.2-beta.42",
|
|
48
48
|
"@kengic/pont": "1.2.17-beta.5",
|
|
49
49
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
50
|
-
"@thymine/xunee": "0.4.9-beta.
|
|
50
|
+
"@thymine/xunee": "0.4.9-beta.38",
|
|
51
51
|
"@types/crypto-js": "4.1.1",
|
|
52
52
|
"@types/fs-extra": "9.0.13",
|
|
53
53
|
"@types/inquirer": "8.2.5",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"crypto-js": "4.1.1",
|
|
69
69
|
"dayjs": "1.11.10",
|
|
70
70
|
"dotenv": "16.0.3",
|
|
71
|
+
"element-plus": "2.11.4",
|
|
71
72
|
"filesize": "10.1.0",
|
|
72
73
|
"fs-extra": "10.1.0",
|
|
73
74
|
"html-to-image": "1.11.11",
|
|
@@ -116,7 +117,8 @@
|
|
|
116
117
|
"types": "./dist/src/index.d.ts",
|
|
117
118
|
"exports": {
|
|
118
119
|
".": {
|
|
119
|
-
"import": "./dist/kengic-vue.js"
|
|
120
|
+
"import": "./dist/kengic-vue.js",
|
|
121
|
+
"types": "./dist/src/index.d.ts"
|
|
120
122
|
},
|
|
121
123
|
"./dist/index.css": "./dist/index.css"
|
|
122
124
|
},
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
|
2
|
-
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
3
|
-
/**
|
|
4
|
-
* 依赖注入表单数据对象.
|
|
5
|
-
* 在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.
|
|
6
|
-
*/
|
|
7
|
-
export declare const KG__DI__KG_FORM___FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
|
|
8
|
-
/** 依赖注入 formRef. */
|
|
9
|
-
export declare const KG__DI__KG_FORM___FORM_REF: InjectionKey<Ref<FormInstance | null>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* 拖拽改变位置.
|
|
4
|
-
*
|
|
5
|
-
* @param param.getProps 组件参数.
|
|
6
|
-
* @param param.domRef 页面特殊元素对象.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useDragToMove(param: {
|
|
9
|
-
domRef: Ref<HTMLDivElement | null>;
|
|
10
|
-
getKgIsDragToMove: ComputedRef<boolean>;
|
|
11
|
-
getVisible: ComputedRef<boolean>;
|
|
12
|
-
}): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
2
|
-
/** 唯一标识. */
|
|
3
|
-
export declare const KG__DI__ID: InjectionKey<string>;
|
|
4
|
-
/** 界面标识. */
|
|
5
|
-
export declare const KG__DI__FORM_ID: InjectionKey<string>;
|
|
6
|
-
/** 宿主界面标识. */
|
|
7
|
-
export declare const KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID: InjectionKey<string>;
|
|
8
|
-
/** 变量名称. */
|
|
9
|
-
export declare const KG__DI__KG_FORM_ITEM__VAR_NAME: InjectionKey<string>;
|
|
10
|
-
/** 变量查找编号. */
|
|
11
|
-
export declare const KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID: InjectionKey<string>;
|
package/dist/src/i18n/cs_CZ.d.ts
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
kg: {
|
|
3
|
-
KgAppSelect: {
|
|
4
|
-
businessManager: string;
|
|
5
|
-
dataManager: string;
|
|
6
|
-
sys: string;
|
|
7
|
-
tooltip: string;
|
|
8
|
-
};
|
|
9
|
-
KgButton: {
|
|
10
|
-
noApiUrl: string;
|
|
11
|
-
noVarSubmitConfig: string;
|
|
12
|
-
};
|
|
13
|
-
KgCanvas: {
|
|
14
|
-
enterFullscreen: string;
|
|
15
|
-
exitFullscreen: string;
|
|
16
|
-
exportImage: string;
|
|
17
|
-
originalScale: string;
|
|
18
|
-
overviewScale: string;
|
|
19
|
-
reload: string;
|
|
20
|
-
};
|
|
21
|
-
KgFormItem: {
|
|
22
|
-
formValidationMessageForGT: string;
|
|
23
|
-
formValidationMessageForGTE: string;
|
|
24
|
-
formValidationMessageForInvalidFloat: string;
|
|
25
|
-
formValidationMessageForInvalidInteger: string;
|
|
26
|
-
formValidationMessageForInvalidJSON: string;
|
|
27
|
-
formValidationMessageForInvalidLetter: string;
|
|
28
|
-
formValidationMessageForInvalidLowerLetter: string;
|
|
29
|
-
formValidationMessageForInvalidUpperLetter: string;
|
|
30
|
-
formValidationMessageForLT: string;
|
|
31
|
-
formValidationMessageForLTE: string;
|
|
32
|
-
formValidationMessageForMaxLength: string;
|
|
33
|
-
formValidationMessageForMinLength: string;
|
|
34
|
-
formValidationMessageForRegularExpression: string;
|
|
35
|
-
};
|
|
36
|
-
KgPageDdaCreate: {
|
|
37
|
-
'confirm-cancel': string;
|
|
38
|
-
done: string;
|
|
39
|
-
'next-step': string;
|
|
40
|
-
'previous-step': string;
|
|
41
|
-
};
|
|
42
|
-
KgPageDdaCreateBasic: {
|
|
43
|
-
'form-id': string;
|
|
44
|
-
'form-name': string;
|
|
45
|
-
maintenance: string;
|
|
46
|
-
sql: string;
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
KgPageDdaCreateButton: {
|
|
50
|
-
'button-var-name-reserved': string;
|
|
51
|
-
'button-var-name-used': string;
|
|
52
|
-
};
|
|
53
|
-
KgPageDdaCreateMenu: {
|
|
54
|
-
'parent-menu': string;
|
|
55
|
-
};
|
|
56
|
-
KgPageDdaCreateSearch: {
|
|
57
|
-
available: string;
|
|
58
|
-
'column-desc': string;
|
|
59
|
-
'column-name': string;
|
|
60
|
-
'column-type': string;
|
|
61
|
-
selected: string;
|
|
62
|
-
};
|
|
63
|
-
KgPageDdaCreateSubmit: {
|
|
64
|
-
available: string;
|
|
65
|
-
'column-desc': string;
|
|
66
|
-
'column-name': string;
|
|
67
|
-
'column-type': string;
|
|
68
|
-
selected: string;
|
|
69
|
-
};
|
|
70
|
-
KgPageDdaCreateTable: {
|
|
71
|
-
available: string;
|
|
72
|
-
'column-desc': string;
|
|
73
|
-
'column-name': string;
|
|
74
|
-
'column-type': string;
|
|
75
|
-
selected: string;
|
|
76
|
-
};
|
|
77
|
-
KgSearch: {
|
|
78
|
-
title: string;
|
|
79
|
-
};
|
|
80
|
-
KgSearchConfigModal: {
|
|
81
|
-
BETWEEN: string;
|
|
82
|
-
'BETWEEN-desc': string;
|
|
83
|
-
CONTAIN: string;
|
|
84
|
-
'CONTAIN-desc': string;
|
|
85
|
-
END_WITH: string;
|
|
86
|
-
'END_WITH-desc': string;
|
|
87
|
-
EQ: string;
|
|
88
|
-
'EQ-desc': string;
|
|
89
|
-
GT: string;
|
|
90
|
-
'GT-desc': string;
|
|
91
|
-
GTE: string;
|
|
92
|
-
'GTE-desc': string;
|
|
93
|
-
IN: string;
|
|
94
|
-
'IN-desc': string;
|
|
95
|
-
LT: string;
|
|
96
|
-
'LT-desc': string;
|
|
97
|
-
LTE: string;
|
|
98
|
-
'LTE-desc': string;
|
|
99
|
-
NE: string;
|
|
100
|
-
'NE-desc': string;
|
|
101
|
-
EMPTY: string;
|
|
102
|
-
'EMPTY-desc': string;
|
|
103
|
-
NOT_EMPTY: string;
|
|
104
|
-
'NOT_EMPTY-desc': string;
|
|
105
|
-
START_WITH: string;
|
|
106
|
-
'START_WITH-desc': string;
|
|
107
|
-
close: string;
|
|
108
|
-
formTitle: string;
|
|
109
|
-
pleaseSelectVarProfileMaster: string;
|
|
110
|
-
};
|
|
111
|
-
KgSqlClient: {
|
|
112
|
-
ResultTab: {
|
|
113
|
-
resultStatusLabel: string;
|
|
114
|
-
ellapseLabel: string;
|
|
115
|
-
rowsTotalLabel: string;
|
|
116
|
-
messageLabel: string;
|
|
117
|
-
tabTitlePrefix: string;
|
|
118
|
-
rowsAffected: string;
|
|
119
|
-
};
|
|
120
|
-
Toolbar: {
|
|
121
|
-
Top: {
|
|
122
|
-
deleteCurrentTemplate: string;
|
|
123
|
-
saveAsTemplate: string;
|
|
124
|
-
saveCurrentTemplate: string;
|
|
125
|
-
viewHistory: string;
|
|
126
|
-
viewTemplate: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
KgTable: {
|
|
131
|
-
apiNotSupportDynamicQuery: string;
|
|
132
|
-
column: string;
|
|
133
|
-
config: string;
|
|
134
|
-
emptyText: string;
|
|
135
|
-
isShowDescription: string;
|
|
136
|
-
other: string;
|
|
137
|
-
'request-fail-error': string;
|
|
138
|
-
'request-fail-no-data': string;
|
|
139
|
-
rowHeight: string;
|
|
140
|
-
rowHeightH: string;
|
|
141
|
-
rowHeightL: string;
|
|
142
|
-
rowHeightM: string;
|
|
143
|
-
'save-var-grid-master-as-success-message': string;
|
|
144
|
-
saveVarGridMaster: string;
|
|
145
|
-
saveVarGridMasterAs: string;
|
|
146
|
-
saveVarGridMasterSuccessMessage: string;
|
|
147
|
-
totalText: string;
|
|
148
|
-
varGridMasters: string;
|
|
149
|
-
};
|
|
150
|
-
KgTableHeadCell: {
|
|
151
|
-
align: string;
|
|
152
|
-
alignCenter: string;
|
|
153
|
-
alignLeft: string;
|
|
154
|
-
alignRight: string;
|
|
155
|
-
hide: string;
|
|
156
|
-
isEllipsis: string;
|
|
157
|
-
isFilter: string;
|
|
158
|
-
isFixToLeft: string;
|
|
159
|
-
isFixToRight: string;
|
|
160
|
-
isSort: string;
|
|
161
|
-
};
|
|
162
|
-
KgTableInfo: {
|
|
163
|
-
check: string;
|
|
164
|
-
clearCheck: string;
|
|
165
|
-
clearTable: string;
|
|
166
|
-
locate: string;
|
|
167
|
-
row: string;
|
|
168
|
-
};
|
|
169
|
-
KgTableSettingVarGridConfig: {};
|
|
170
|
-
KgTableSettingVarGridMasterSaveAs: {
|
|
171
|
-
title: string;
|
|
172
|
-
};
|
|
173
|
-
KgVar: {};
|
|
174
|
-
KgVarConfig: {
|
|
175
|
-
VarGridConfig: string;
|
|
176
|
-
VarGridMaster: string;
|
|
177
|
-
VarProfileConfig: string;
|
|
178
|
-
VarProfileMaster: string;
|
|
179
|
-
action: string;
|
|
180
|
-
allForm: string;
|
|
181
|
-
allLanguage: string;
|
|
182
|
-
canNotUpdateSystemVarGridMaster: string;
|
|
183
|
-
canNotUpdateSystemVarProfileMaster: string;
|
|
184
|
-
confirm: string;
|
|
185
|
-
createConfig: string;
|
|
186
|
-
currentForm: string;
|
|
187
|
-
currentLanguage: string;
|
|
188
|
-
customLevel: string;
|
|
189
|
-
emptyPageSizeOptions: string;
|
|
190
|
-
formId: string;
|
|
191
|
-
formValidationMessageForMaxAndMin: string;
|
|
192
|
-
formValidationMessageForMaxLengthAndMinLength: string;
|
|
193
|
-
invalidCommandParameter: string;
|
|
194
|
-
invalidPageSizeOption: string;
|
|
195
|
-
invalidPageSizeOptions: string;
|
|
196
|
-
pleaseSelectVariable: string;
|
|
197
|
-
tabButton: string;
|
|
198
|
-
tabChild: string;
|
|
199
|
-
tabSearch: string;
|
|
200
|
-
tabSubmit: string;
|
|
201
|
-
tabTable: string;
|
|
202
|
-
varVariable: string;
|
|
203
|
-
variable: string;
|
|
204
|
-
};
|
|
205
|
-
KgVarConfigModalButton: {
|
|
206
|
-
VarButton: string;
|
|
207
|
-
VarButtonConfig: string;
|
|
208
|
-
};
|
|
209
|
-
KgVarConfigModalChild: {
|
|
210
|
-
childVarName: string;
|
|
211
|
-
childVarNameDuplicate: string;
|
|
212
|
-
childVarNameRequired: string;
|
|
213
|
-
parentVarName: string;
|
|
214
|
-
parentVarNameDuplicate: string;
|
|
215
|
-
parentVarNameRequired: string;
|
|
216
|
-
};
|
|
217
|
-
KgVarConfigModalSubmit: {
|
|
218
|
-
VarSubmitConfig: string;
|
|
219
|
-
VarSubmitDetail: string;
|
|
220
|
-
};
|
|
221
|
-
KgVarConfigModalSubmitVarSubmitConfig: {
|
|
222
|
-
invalidWidthForSpan: string;
|
|
223
|
-
};
|
|
224
|
-
KgVarConfigModalTableVarGridMaster: {
|
|
225
|
-
DESC: string;
|
|
226
|
-
DESC__UPDATE_LINK: string;
|
|
227
|
-
FILE_SIZE: string;
|
|
228
|
-
ICON: string;
|
|
229
|
-
IMAGE: string;
|
|
230
|
-
PROGRESS: string;
|
|
231
|
-
ROUTE_LINK: string;
|
|
232
|
-
UPDATE_LINK: string;
|
|
233
|
-
YN: string;
|
|
234
|
-
center: string;
|
|
235
|
-
left: string;
|
|
236
|
-
notSort: string;
|
|
237
|
-
right: string;
|
|
238
|
-
};
|
|
239
|
-
KgVarConfigSelectFormIdModal: {
|
|
240
|
-
title: string;
|
|
241
|
-
};
|
|
242
|
-
KgWarehouse: {
|
|
243
|
-
reloadMessage: string;
|
|
244
|
-
selectWarehouse: string;
|
|
245
|
-
title: string;
|
|
246
|
-
warehouse: string;
|
|
247
|
-
};
|
|
248
|
-
action: string;
|
|
249
|
-
add: string;
|
|
250
|
-
allUser: string;
|
|
251
|
-
asc: string;
|
|
252
|
-
button: string;
|
|
253
|
-
cancel: string;
|
|
254
|
-
close: string;
|
|
255
|
-
confirm: string;
|
|
256
|
-
confirmDelete: string;
|
|
257
|
-
copy: string;
|
|
258
|
-
copySuccess: string;
|
|
259
|
-
create: string;
|
|
260
|
-
createSuccess: string;
|
|
261
|
-
default: string;
|
|
262
|
-
delete: string;
|
|
263
|
-
deleteSuccess: string;
|
|
264
|
-
desc: string;
|
|
265
|
-
edit: string;
|
|
266
|
-
empty: string;
|
|
267
|
-
emptyText: string;
|
|
268
|
-
execute: string;
|
|
269
|
-
executeSuccess: string;
|
|
270
|
-
export: string;
|
|
271
|
-
exportSuccess: string;
|
|
272
|
-
fail: string;
|
|
273
|
-
formId: string;
|
|
274
|
-
formName: string;
|
|
275
|
-
formValidationFail: string;
|
|
276
|
-
import: string;
|
|
277
|
-
'import-template': string;
|
|
278
|
-
importSuccess: string;
|
|
279
|
-
importTemplate: string;
|
|
280
|
-
loading: string;
|
|
281
|
-
lookup: string;
|
|
282
|
-
millisecond: string;
|
|
283
|
-
no: string;
|
|
284
|
-
ok: string;
|
|
285
|
-
query: string;
|
|
286
|
-
refresh: string;
|
|
287
|
-
required: string;
|
|
288
|
-
reset: string;
|
|
289
|
-
save: string;
|
|
290
|
-
search: string;
|
|
291
|
-
selectAll: string;
|
|
292
|
-
show: string;
|
|
293
|
-
succeed: string;
|
|
294
|
-
success: string;
|
|
295
|
-
tip: string;
|
|
296
|
-
update: string;
|
|
297
|
-
updateSuccess: string;
|
|
298
|
-
yes: string;
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
export default _default;
|