@kengic/vue 0.30.1-beta.7 → 0.30.1-beta.70
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 +10 -1
- package/README.md +4 -3
- package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
- package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
- package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +157799 -140902
- 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.event.d.ts +21 -21
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +9 -9
- 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 +48 -11
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +34 -6
- 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 +40 -38
- 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 +476 -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.event.d.ts +12 -12
- package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +6 -6
- 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 +93 -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 +1502 -0
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +474 -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 +26 -21
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +48 -16
- 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/KgTable.Setting.VarGridMaster.SaveAs.d.ts +4 -0
- package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +5 -6
- 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.event.d.ts +41 -31
- package/dist/src/component/KgTable/KgTable.hooks.d.ts +19 -15
- package/dist/src/component/KgTable/KgTable.model.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 +57 -31
- package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +31 -1
- 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 +19 -13
- package/dist/src/const/const.model.d.ts +530 -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/cs_CZ.d.ts +1 -300
- package/dist/src/i18n/en.d.ts +234 -297
- package/dist/src/i18n/es_ES.d.ts +1 -299
- package/dist/src/i18n/fr_FR.d.ts +1 -299
- package/dist/src/i18n/i18n.setup.d.ts +2 -2
- package/dist/src/i18n/km_KH.d.ts +1 -299
- package/dist/src/i18n/ko_KR.d.ts +1 -299
- package/dist/src/i18n/vi_VN.d.ts +1 -299
- package/dist/src/i18n/zh_CN.d.ts +235 -298
- 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/locales/useLocale.d.ts +1 -0
- package/dist/src/project/src/router/types.d.ts +19 -0
- package/dist/src/project/src/utils/env.d.ts +0 -16
- package/dist/src/project/types/config.d.ts +2 -2
- 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-auth.util.d.ts +7 -6
- package/dist/src/util/kg-route.util.d.ts +9 -9
- package/dist/src/util/kg.util.d.ts +2 -2
- package/dist/src/util/tsx.helper.d.ts +7 -7
- package/package.json +11 -9
- 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/component/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
- package/dist/src/const/injection-keys.const.d.ts +0 -11
- 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
|
@@ -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;
|
|
@@ -4,8 +4,8 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
|
|
|
4
4
|
/**
|
|
5
5
|
* <p>已支持的语言.</p>
|
|
6
6
|
* <ul>
|
|
7
|
-
* <li> en: 英语</li>
|
|
8
7
|
* <li>cs_CZ: 捷克语_捷克</li>
|
|
8
|
+
* <li> en: 英语</li>
|
|
9
9
|
* <li>es_ES: 西班牙语_西班牙</li>
|
|
10
10
|
* <li>fr_FR: 法语_法国</li>
|
|
11
11
|
* <li>km_KH: 高棉语_柬埔寨</li>
|
|
@@ -14,7 +14,7 @@ import { MenuModeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TriggerEnum } from '
|
|
|
14
14
|
* <li>zh_CN: 汉语_中国</li>
|
|
15
15
|
* </ul>
|
|
16
16
|
*/
|
|
17
|
-
export declare type LocaleType = '
|
|
17
|
+
export declare type LocaleType = 'cs_CZ' | 'en' | 'es_ES' | 'fr_FR' | 'km_KH' | 'ko_KR' | 'vi_VN' | 'zh_CN';
|
|
18
18
|
export interface MenuSetting {
|
|
19
19
|
bgColor: string;
|
|
20
20
|
fixed: 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,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KgUtil } from './kg.util';
|
|
2
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
2
3
|
export declare class KgAuthUtil {
|
|
3
4
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
4
|
-
static isAdminUser
|
|
5
|
+
static isAdminUser: typeof KgUtil.isAdminUser;
|
|
5
6
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
6
|
-
static isAppAuthenticated
|
|
7
|
-
/** @deprecated 已弃用, 请使用 {@link KgUtil.isPathAuthenticated()}. */
|
|
8
|
-
static isPathAuthenticated(path: string | null | undefined): boolean;
|
|
7
|
+
static isAppAuthenticated: typeof KgUtil.isAppAuthenticated;
|
|
9
8
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
10
|
-
static
|
|
9
|
+
static isPathAuthenticated: typeof KgUtil.isPathAuthenticated;
|
|
10
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
11
|
+
static getPermissionType: typeof KgUtil.getPermissionType;
|
|
11
12
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { KgUtil } from './kg.util';
|
|
2
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
3
3
|
export declare class KgRouteUtil {
|
|
4
4
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
5
|
-
static
|
|
5
|
+
static translateMenus: typeof KgUtil.translateMenus;
|
|
6
6
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
7
|
-
static
|
|
7
|
+
static transformMenus: typeof KgUtil.transformMenus;
|
|
8
8
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
9
|
-
static
|
|
9
|
+
static isPathInApp: typeof KgUtil.isPathInApp;
|
|
10
10
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
11
|
-
static
|
|
11
|
+
static getAppByPath: typeof KgUtil.getAppByPath;
|
|
12
12
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
13
|
-
static
|
|
13
|
+
static getAppIndexPath: typeof KgUtil.getAppIndexPath;
|
|
14
14
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
15
|
-
static
|
|
15
|
+
static getFirstLeafMenu: typeof KgUtil.getFirstLeafMenu;
|
|
16
16
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
17
|
-
static
|
|
17
|
+
static getMenuByPath: typeof KgUtil.getMenuByPath;
|
|
18
18
|
}
|
|
@@ -161,10 +161,10 @@ export declare class KgUtil {
|
|
|
161
161
|
static getFirstLeafMenu(app?: KG_APP | null): Menu | null;
|
|
162
162
|
/**
|
|
163
163
|
* 翻译菜单标题.
|
|
164
|
+
*
|
|
164
165
|
* @param menus 菜单列表, 树形结构.
|
|
165
|
-
* @param titleKey 标题的属性名, 即要将哪个属性作为菜单的标题.
|
|
166
166
|
*/
|
|
167
|
-
static translateMenus(menus: Array<Menu> | null | undefined
|
|
167
|
+
static translateMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
|
|
168
168
|
/**
|
|
169
169
|
* <p>转换菜单列表.</p>
|
|
170
170
|
* <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.70",
|
|
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",
|
|
@@ -26,8 +27,7 @@
|
|
|
26
27
|
"publish:major": "npm run bump:major && tsx script/publish.ts",
|
|
27
28
|
"publish:minor": "npm run bump:minor && tsx script/publish.ts",
|
|
28
29
|
"publish:patch": "npm run bump:patch && tsx script/publish.ts",
|
|
29
|
-
"publish:beta": "npm run bump:beta && tsx script/publish.ts"
|
|
30
|
-
"------- ------------------------------------------": ""
|
|
30
|
+
"publish:beta": "npm run bump:beta && tsx script/publish.ts"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"vue": "^3.2.43"
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"@ant-design/colors": "6.0.0",
|
|
37
37
|
"@iconify-icons/akar-icons": "1.2.19",
|
|
38
38
|
"@iconify-icons/ant-design": "1.2.7",
|
|
39
|
+
"@iconify-icons/eos-icons": "1.2.6",
|
|
39
40
|
"@iconify-icons/fluent-mdl2": "1.2.1",
|
|
40
41
|
"@iconify-icons/material-symbols": "1.2.58",
|
|
41
42
|
"@iconify-icons/mdi": "1.2.48",
|
|
42
43
|
"@iconify-icons/ph": "1.2.5",
|
|
43
|
-
"@iconify-icons/eos-icons": "1.2.6",
|
|
44
44
|
"@iconify/vue": "4.1.2",
|
|
45
|
-
"@kengic/core.core": "0.0.1-beta.
|
|
45
|
+
"@kengic/core.core": "0.0.1-beta.24",
|
|
46
46
|
"@kengic/core.react": "0.0.2-beta.42",
|
|
47
47
|
"@kengic/pont": "1.2.17-beta.5",
|
|
48
48
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
49
|
-
"@thymine/xunee": "0.4.9-beta.
|
|
49
|
+
"@thymine/xunee": "0.4.9-beta.47",
|
|
50
50
|
"@types/crypto-js": "4.1.1",
|
|
51
51
|
"@types/fs-extra": "9.0.13",
|
|
52
52
|
"@types/inquirer": "8.2.5",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"crypto-js": "4.1.1",
|
|
68
68
|
"dayjs": "1.11.10",
|
|
69
69
|
"dotenv": "16.0.3",
|
|
70
|
+
"element-plus": "2.12.0",
|
|
70
71
|
"filesize": "10.1.0",
|
|
71
72
|
"fs-extra": "10.1.0",
|
|
72
73
|
"html-to-image": "1.11.11",
|
|
@@ -105,8 +106,8 @@
|
|
|
105
106
|
"vue-router": "4.1.6",
|
|
106
107
|
"vue-tsc": "1.8.27",
|
|
107
108
|
"vue-types": "4.2.1",
|
|
108
|
-
"vxe-pc-ui": "4.
|
|
109
|
-
"vxe-table": "4.
|
|
109
|
+
"vxe-pc-ui": "4.10.49",
|
|
110
|
+
"vxe-table": "4.17.27",
|
|
110
111
|
"xe-utils": "3.7.9"
|
|
111
112
|
},
|
|
112
113
|
"devDependencies": {},
|
|
@@ -115,7 +116,8 @@
|
|
|
115
116
|
"types": "./dist/src/index.d.ts",
|
|
116
117
|
"exports": {
|
|
117
118
|
".": {
|
|
118
|
-
"import": "./dist/kengic-vue.js"
|
|
119
|
+
"import": "./dist/kengic-vue.js",
|
|
120
|
+
"types": "./dist/src/index.d.ts"
|
|
119
121
|
},
|
|
120
122
|
"./dist/index.css": "./dist/index.css"
|
|
121
123
|
},
|
|
@@ -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;
|
package/dist/src/component/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
3
|
-
onKgClose?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
}, {}>;
|
|
5
|
-
export default _default;
|
|
@@ -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>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:库区下拉列表.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisAreaSelect: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:画布.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisCanvas: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:图例.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisLegend: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:离线区.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisOffline: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:设置面板.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisSetting: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化:日志.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVisTabLog: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './KgCircleVis.css';
|
|
2
|
-
/**
|
|
3
|
-
* 环穿可视化.
|
|
4
|
-
*/
|
|
5
|
-
export declare const KgCircleVis: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Q } from '@thymine/xunee';
|
|
2
|
-
import { IKgCircleVisProps, useKgCircleVisStore } from './KgCircleVis.store';
|
|
3
|
-
import { MapDTO, StatusDTO } from './KgCircleVis.model';
|
|
4
|
-
export declare type IUseKgCircleVis = {
|
|
5
|
-
/**
|
|
6
|
-
* 画布:取下一个地图数据. 从地图数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
|
7
|
-
*/
|
|
8
|
-
$Canvas$popMapData(): MapDTO | null;
|
|
9
|
-
/**
|
|
10
|
-
* 画布:取下一个状态数据. 从状态数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
|
11
|
-
*/
|
|
12
|
-
$Canvas$popStatusData(): StatusDTO | null;
|
|
13
|
-
/**
|
|
14
|
-
* 画布对象.
|
|
15
|
-
*/
|
|
16
|
-
graph: Q.Graph | null;
|
|
17
|
-
/**
|
|
18
|
-
* 设置参数.
|
|
19
|
-
*
|
|
20
|
-
* @param props 参数.
|
|
21
|
-
*/
|
|
22
|
-
setProps(props: IKgCircleVisProps | null | undefined): void;
|
|
23
|
-
/** 状态数据. */
|
|
24
|
-
store: ReturnType<typeof useKgCircleVisStore>;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export declare function useKgCircleVis(): IUseKgCircleVis;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as KgPageCircleVis } from './KgPageCircleVis';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare type I18nGlobalTranslation = {
|
|
2
|
-
(key: string): string;
|
|
3
|
-
(key: string, locale: string): string;
|
|
4
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
5
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
6
|
-
(key: string, list: unknown[]): string;
|
|
7
|
-
(key: string, named: Record<string, unknown>): string;
|
|
8
|
-
};
|
|
9
|
-
export declare function useI18n(namespace?: string): {
|
|
10
|
-
t: I18nGlobalTranslation;
|
|
11
|
-
};
|
|
12
|
-
export declare const t: (key: string) => string;
|
|
13
|
-
export {};
|
|
File without changes
|
/package/dist/src/component/KgTable/{components/KgTable.HeadCell.d.ts → KgTable.HeadCell.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|