@kengic/vue 0.30.1-beta.8 → 0.30.1-beta.81
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 +151051 -133979
- 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/src/api/WMS/models.d.ts +2 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +7 -8
- package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Copy.d.ts → KgButton.Copy.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Create.d.ts → KgButton.Create.d.ts} +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Delete.d.ts → KgButton.Delete.d.ts} +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Export.d.ts → KgButton.Export.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Import.d.ts → KgButton.Import.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.ImportTemplate.d.ts → KgButton.ImportTemplate.d.ts} +5 -5
- package/dist/src/component/KgButton/KgButton.Item.d.ts +1 -3
- package/dist/src/component/KgButton/{components/KgButton.Other.d.ts → KgButton.Other.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Search.d.ts → KgButton.Search.d.ts} +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Update.d.ts → KgButton.Update.d.ts} +5 -5
- package/dist/src/component/KgButton/KgButton.d.ts +1 -2
- package/dist/src/component/KgButton/KgButton.event.d.ts +36 -22
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +16 -9
- package/dist/src/component/KgButton/KgButton.store.d.ts +1 -1
- package/dist/src/component/KgButton/index.d.ts +2 -60
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
- package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.OverviewScale.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.Fullscreen.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 +73 -36
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +43 -15
- 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 +40 -41
- package/dist/src/component/KgForm/KgForm.event.d.ts +30 -30
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +12 -12
- package/dist/src/component/KgForm/KgForm.store.d.ts +4 -4
- package/dist/src/component/KgForm/index.d.ts +2 -602
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Checkbox.d.ts → KgForm.Item.Checkbox.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.CheckboxGroup.d.ts → KgForm.Item.CheckboxGroup.d.ts} +40 -40
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Date.d.ts → KgForm.Item.Date.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.DateRange.d.ts → KgForm.Item.DateRange.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Image.d.ts → KgForm.Item.Image.d.ts} +42 -46
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Input.d.ts → KgForm.Item.Input.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputNumber.d.ts → KgForm.Item.InputNumber.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputPassword.d.ts → KgForm.Item.InputPassword.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Link.d.ts → KgForm.Item.Link.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.RadioGroup.d.ts → KgForm.Item.RadioGroup.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.d.ts → KgForm.Item.Select.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.service.d.ts → KgForm.Item.Select.service.d.ts} +2 -2
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Switch.d.ts → KgForm.Item.Switch.d.ts} +38 -38
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.TextArea.d.ts → KgForm.Item.TextArea.d.ts} +38 -38
- 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/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 +470 -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 +12 -8
- package/dist/src/component/KgSearch/KgSearch.service.d.ts +2 -2
- package/dist/src/component/KgSearch/KgSearch.store.d.ts +27 -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 +59 -52
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +60 -28
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +61 -15
- 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} +45 -0
- package/dist/src/component/KgVar/KgVar.d.ts +22 -16
- package/dist/src/component/KgVar/KgVar.event.d.ts +36 -18
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +25 -12
- package/dist/src/component/KgVar/KgVar.model.d.ts +1 -6
- package/dist/src/component/KgVar/KgVar.store.d.ts +80 -78
- 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/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +5 -5
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +4 -4
- package/dist/src/component/index.d.ts +3 -2
- package/dist/src/config/config.store.d.ts +4 -4
- package/dist/src/config/index.d.ts +19 -13
- package/dist/src/const/const.model.d.ts +588 -36
- 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 +5 -5
- 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 +3 -19
- package/dist/src/project/types/config.d.ts +2 -2
- package/dist/src/service/http-client.d.ts +7 -3
- 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 +21 -10
- package/dist/src/util/tsx.helper.d.ts +7 -7
- package/package.json +27 -26
- 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/component/KgButton/{KgButton.Item.data.d.ts → KgButton.model.d.ts} +0 -0
- /package/dist/src/{page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts → KgForm.Item.Addon.DynamicQueryOperator.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.Modal.d.ts → KgForm.Item.Addon.Lookup.Modal.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.d.ts → KgForm.Item.Addon.Lookup.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
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { type TooltipProps } from 'ant-design-vue';
|
|
1
|
+
import { FormInstance, type TooltipProps } from 'ant-design-vue';
|
|
2
2
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
3
3
|
import { Pinia, StoreOnActionListener } from 'pinia';
|
|
4
|
-
import {
|
|
4
|
+
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
5
|
+
import { IKgProps, IKgSlots, KgModalProps } from '../component';
|
|
5
6
|
/**
|
|
6
7
|
* 常量.
|
|
7
8
|
* TODO LT 将所有常量都统一放到这个常量中
|
|
8
9
|
*/
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const KG: {
|
|
10
11
|
/**
|
|
11
12
|
* 数据库的列的类型.
|
|
12
13
|
*/
|
|
@@ -33,21 +34,547 @@ export declare const KG_CONST: {
|
|
|
33
34
|
*/
|
|
34
35
|
DESCRIPTION_KEY: {
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
+
* 该组件库的所有翻译.
|
|
38
|
+
*/
|
|
39
|
+
KG: string;
|
|
40
|
+
/**
|
|
41
|
+
* 前端项目的所有翻译, 包含 PDA 的.
|
|
42
|
+
*/
|
|
43
|
+
WEB: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 依赖注入的键.
|
|
47
|
+
*/
|
|
48
|
+
DI: {
|
|
49
|
+
/**
|
|
50
|
+
* 界面标识.
|
|
51
|
+
*/
|
|
52
|
+
FORM_ID: InjectionKey<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 唯一标识.
|
|
55
|
+
*/
|
|
56
|
+
ID: InjectionKey<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 画布.
|
|
59
|
+
*/
|
|
60
|
+
KG_CANVAS: {
|
|
61
|
+
/**
|
|
62
|
+
* 组件参数.
|
|
63
|
+
*/
|
|
64
|
+
PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
|
65
|
+
id: {
|
|
66
|
+
/**
|
|
67
|
+
* 表单.
|
|
68
|
+
*/
|
|
69
|
+
type: import("vue").PropType<string>;
|
|
70
|
+
required: boolean;
|
|
71
|
+
};
|
|
72
|
+
kg$ContextMenu$Reload$IsAvailable: {
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
kg$KgCanvasToolbarButtonMode$IsAvailable: {
|
|
77
|
+
type: import("vue").PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
kgCanvasToolbarFullscreen: {
|
|
81
|
+
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
82
|
+
kgIsShowText: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>>>;
|
|
87
|
+
};
|
|
88
|
+
kgIsEditable: {
|
|
89
|
+
type: import("vue").PropType<boolean>; /**
|
|
90
|
+
* 变量名称.
|
|
91
|
+
*/
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
kgIsEnableOverview: {
|
|
95
|
+
type: import("vue").PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
kgIsGridBackground: {
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
kgIsResizable: {
|
|
103
|
+
type: import("vue").PropType<boolean>;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
}>>>;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* 表单.
|
|
110
|
+
*/
|
|
111
|
+
KG_FORM: {
|
|
112
|
+
/**
|
|
113
|
+
* <p>依赖注入表单数据对象.</p>
|
|
114
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
115
|
+
*/
|
|
116
|
+
FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
|
|
117
|
+
/**
|
|
118
|
+
* formRef.
|
|
119
|
+
*/
|
|
120
|
+
FORM_REF: InjectionKey<Ref<FormInstance | null>>;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* 表单控件.
|
|
124
|
+
*/
|
|
125
|
+
KG_FORM_ITEM: {
|
|
126
|
+
/**
|
|
127
|
+
* 变量名称.
|
|
128
|
+
*/
|
|
129
|
+
CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
|
|
130
|
+
/**
|
|
131
|
+
* 变量名称.
|
|
132
|
+
*/
|
|
133
|
+
VAR_NAME: InjectionKey<string>;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* 模拟器.
|
|
137
|
+
*/
|
|
138
|
+
KG_SIMULATOR: {
|
|
139
|
+
/**
|
|
140
|
+
* 左下侧面板.
|
|
141
|
+
*/
|
|
142
|
+
PANEL__LEFT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
143
|
+
/**
|
|
144
|
+
* 左上侧面板.
|
|
145
|
+
*/
|
|
146
|
+
PANEL__LEFT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
147
|
+
/**
|
|
148
|
+
* 右下侧面板.
|
|
149
|
+
*/
|
|
150
|
+
PANEL__RIGHT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
151
|
+
/**
|
|
152
|
+
* 右上侧面板.
|
|
153
|
+
*/
|
|
154
|
+
PANEL__RIGHT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 左下侧工具栏.
|
|
157
|
+
*/
|
|
158
|
+
TOOLBAR__LEFT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
159
|
+
/**
|
|
160
|
+
* 左上侧工具栏.
|
|
161
|
+
*/
|
|
162
|
+
TOOLBAR__LEFT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 右下侧工具栏.
|
|
165
|
+
*/
|
|
166
|
+
TOOLBAR__RIGHT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 右上侧工具栏.
|
|
169
|
+
*/
|
|
170
|
+
TOOLBAR__RIGHT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* 变量页面.
|
|
174
|
+
*/
|
|
175
|
+
KG_VAR: {
|
|
176
|
+
/**
|
|
177
|
+
* 注入 kgProps 参数.
|
|
178
|
+
*/
|
|
179
|
+
KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
|
|
180
|
+
/**
|
|
181
|
+
* 注入 kgSlots 参数.
|
|
182
|
+
*/
|
|
183
|
+
KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* 变量配置弹窗.
|
|
187
|
+
*/
|
|
188
|
+
KG_VAR_CONFIG: {
|
|
189
|
+
/**
|
|
190
|
+
* 正在被配置的界面标识.
|
|
191
|
+
*/
|
|
192
|
+
HOST_FORM_ID: InjectionKey<Ref<string | null>>;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 「变量配置:查找弹窗」.
|
|
196
|
+
*/
|
|
197
|
+
VAR_CONFIG_LOOKUP: {
|
|
198
|
+
/**
|
|
199
|
+
* 宿主界面标识.
|
|
200
|
+
*/
|
|
201
|
+
HOST_FORM_ID: InjectionKey<string>;
|
|
202
|
+
/**
|
|
203
|
+
* 变量查找编号.
|
|
204
|
+
*/
|
|
205
|
+
LOOKUP_ID: InjectionKey<string>;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* 高级查询的操作符.
|
|
210
|
+
*/
|
|
211
|
+
DYNAMIC_QUERY_OPERATOR: {
|
|
212
|
+
/** 范围之内. */
|
|
213
|
+
BETWEEN: string;
|
|
214
|
+
/** 包含. */
|
|
215
|
+
CONTAIN: string;
|
|
216
|
+
/** 为空. */
|
|
217
|
+
EMPTY: string;
|
|
218
|
+
/** 以之结束. */
|
|
219
|
+
END_WITH: string;
|
|
220
|
+
/** 等于. */
|
|
221
|
+
EQ: string;
|
|
222
|
+
/** 大于. */
|
|
223
|
+
GT: string;
|
|
224
|
+
/** 大于等于. */
|
|
225
|
+
GTE: string;
|
|
226
|
+
/** 属于. */
|
|
227
|
+
IN: string;
|
|
228
|
+
/** 小于. */
|
|
229
|
+
LT: string;
|
|
230
|
+
/** 小于等于. */
|
|
231
|
+
LTE: string;
|
|
232
|
+
/** 不等于. */
|
|
233
|
+
NE: string;
|
|
234
|
+
/** 不为空. */
|
|
235
|
+
NOT_EMPTY: string;
|
|
236
|
+
/** 以之开始. */
|
|
237
|
+
START_WITH: string;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* HTTP 请求头.
|
|
241
|
+
*/
|
|
242
|
+
HTTP_HEADER: {
|
|
243
|
+
KG_BUTTON_VAR_NAME: string;
|
|
244
|
+
/**
|
|
245
|
+
* 数据库的类型.
|
|
246
|
+
*/
|
|
247
|
+
KG_DB_TYPE: string;
|
|
248
|
+
/** 界面标识. */
|
|
249
|
+
KG_FORM_ID: string;
|
|
250
|
+
/** 是否启用高级查询. */
|
|
251
|
+
KG_IS_DYNAMIC_QUERY: string;
|
|
252
|
+
/** 当前页码. */
|
|
253
|
+
KG_PAGE_INDEX: string;
|
|
254
|
+
/** 每页条数. */
|
|
255
|
+
KG_PAGE_SIZE: string;
|
|
256
|
+
/**
|
|
257
|
+
* <p>高级查询时, 每个查询字段的参数值.</p>
|
|
258
|
+
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的值.</p>
|
|
259
|
+
*/
|
|
260
|
+
KG_QUERY_OBJECT: string;
|
|
261
|
+
/**
|
|
262
|
+
* <p>高级查询时, 每个查询字段的操作符.</p>
|
|
263
|
+
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
|
|
264
|
+
*/
|
|
265
|
+
KG_QUERY_OPERATOR_OBJECT: string;
|
|
266
|
+
/** 查询语句中的 ORDER BY 片段. */
|
|
267
|
+
KG_QUERY_ORDER_BY_SQL: string;
|
|
268
|
+
/**
|
|
269
|
+
* <p>高级查询时, 每个查询字段的 WHERE 片段.</p>
|
|
270
|
+
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的 WHERE 片段.</p>
|
|
271
|
+
*/
|
|
272
|
+
KG_QUERY_WHERE_OBJECT: string;
|
|
273
|
+
/** 查询语句中的 WHERE 片段. */
|
|
274
|
+
KG_QUERY_WHERE_SQL: string;
|
|
275
|
+
/** 查询语句中的 WHERE 片段. */
|
|
276
|
+
KG_QUERY_WHERE_SQL_01: string;
|
|
277
|
+
/** 查询语句中的 WHERE 片段. */
|
|
278
|
+
KG_QUERY_WHERE_SQL_02: string;
|
|
279
|
+
/** 查询语句中的 WHERE 片段. */
|
|
280
|
+
KG_QUERY_WHERE_SQL_03: string;
|
|
281
|
+
/** 查询语句中的 WHERE 片段. */
|
|
282
|
+
KG_QUERY_WHERE_SQL_04: string;
|
|
283
|
+
/** 查询语句中的 WHERE 片段. */
|
|
284
|
+
KG_QUERY_WHERE_SQL_05: string;
|
|
285
|
+
/**
|
|
286
|
+
* 仓库编号.
|
|
287
|
+
*/
|
|
288
|
+
KG_WAREHOUSE: string;
|
|
289
|
+
/**
|
|
290
|
+
* 工作区.
|
|
291
|
+
*/
|
|
292
|
+
KG_WORK_AREA: string;
|
|
293
|
+
/**
|
|
294
|
+
* 工作站.
|
|
295
|
+
*/
|
|
296
|
+
KG_WORK_STATION: string;
|
|
297
|
+
};
|
|
298
|
+
VAR_CONFIG_CONTROL: {
|
|
299
|
+
/**
|
|
300
|
+
* 表单控件类型.
|
|
301
|
+
* @see VarConfigControl.ctrl_prop
|
|
302
|
+
* @see IKgVarConfigControlControlProperties
|
|
303
|
+
*/
|
|
304
|
+
CONTROL_TYPE: {
|
|
305
|
+
/** 文件上传按钮. */
|
|
306
|
+
BUTTON_UPLOAD: string;
|
|
307
|
+
/** 多选框. */
|
|
308
|
+
CHECKBOX: string;
|
|
309
|
+
/**
|
|
310
|
+
* <p>多选框列表.</p>
|
|
311
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
|
|
312
|
+
*/
|
|
313
|
+
CHECKBOX_GROUP: string;
|
|
314
|
+
/** 年月日, 2020-05-01. */
|
|
315
|
+
DATE_DATE: string;
|
|
316
|
+
/** 年月日时分秒, 2020-05-01 11:59:59. */
|
|
317
|
+
DATE_DATETIME: string;
|
|
318
|
+
/** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
|
|
319
|
+
DATE_DATETIME_RANGE: string;
|
|
320
|
+
/** 年月日的范围, [DATE_DATE, DATE_DATE] */
|
|
321
|
+
DATE_DATE_RANGE: string;
|
|
322
|
+
DATE_MONTH: string;
|
|
323
|
+
/** 时分秒, 11:59:59. */
|
|
324
|
+
DATE_TIME: string;
|
|
325
|
+
/** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
|
|
326
|
+
DATE_TIME_RANGE: string;
|
|
327
|
+
DATE_WEEK: string;
|
|
328
|
+
DATE_YEAR: string;
|
|
329
|
+
/**
|
|
330
|
+
* <p>图片.</p>
|
|
331
|
+
* <p>点击可以预览.</p>
|
|
332
|
+
*/
|
|
333
|
+
IMAGE: string;
|
|
334
|
+
/** 单行文本. */
|
|
335
|
+
INPUT: string;
|
|
336
|
+
/** 数字. */
|
|
337
|
+
INPUT_NUMBER: string;
|
|
338
|
+
/** 密码. */
|
|
339
|
+
INPUT_PASSWORD: string;
|
|
340
|
+
/** 链接. */
|
|
341
|
+
LINK: string;
|
|
342
|
+
/**
|
|
343
|
+
* <p>单选框列表.</p>
|
|
344
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
|
|
345
|
+
*/
|
|
346
|
+
RADIO_GROUP: string;
|
|
347
|
+
/**
|
|
348
|
+
* <p>单选下拉列表.<p>
|
|
349
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
|
|
350
|
+
*/
|
|
351
|
+
SELECT: string;
|
|
352
|
+
/** 多选下拉列表. */
|
|
353
|
+
SELECT_MULTIPLE: string;
|
|
354
|
+
/** 开关. */
|
|
355
|
+
SWITCH: string;
|
|
356
|
+
/**
|
|
357
|
+
* <p>多行文本.</p>
|
|
358
|
+
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
|
|
359
|
+
*/
|
|
360
|
+
TEXT_AREA: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* 用于添加的行.
|
|
365
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
366
|
+
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
367
|
+
*/
|
|
368
|
+
__KG__CREATE_ROW_ID__: string;
|
|
369
|
+
/**
|
|
370
|
+
* 用户添加的行.
|
|
371
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
372
|
+
*/
|
|
373
|
+
__KG__CUSTOM_ROW_ID__: string;
|
|
374
|
+
__KG__NULL__: string;
|
|
375
|
+
/**
|
|
376
|
+
* 在表格内创建时, 空白行的临时主键.
|
|
377
|
+
*/
|
|
378
|
+
__KG__TABLE_TEMP_ID__: string;
|
|
379
|
+
};
|
|
380
|
+
/** @deprecated 已弃用, 请使用 {@link KG}. */
|
|
381
|
+
export declare const KG_CONST: {
|
|
382
|
+
/**
|
|
383
|
+
* 数据库的列的类型.
|
|
384
|
+
*/
|
|
385
|
+
DB_COLUMN_TYPE: {
|
|
386
|
+
NCHAR: string;
|
|
387
|
+
NVARCHAR: string;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* 数据库的类型.
|
|
391
|
+
*/
|
|
392
|
+
DB_TYPE: {
|
|
393
|
+
/**
|
|
394
|
+
* 达梦.
|
|
37
395
|
*/
|
|
38
|
-
|
|
396
|
+
DM: string;
|
|
397
|
+
MYSQL: string;
|
|
398
|
+
ORACLE: string;
|
|
399
|
+
POSTGRESQL: string;
|
|
400
|
+
SQLITE: string;
|
|
401
|
+
SQLSERVER: string;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* 描述表中的键.
|
|
405
|
+
*/
|
|
406
|
+
DESCRIPTION_KEY: {
|
|
39
407
|
/**
|
|
40
408
|
* 该组件库的所有翻译.
|
|
41
409
|
*/
|
|
42
410
|
KG: string;
|
|
43
411
|
/**
|
|
44
|
-
*
|
|
412
|
+
* 前端项目的所有翻译, 包含 PDA 的.
|
|
45
413
|
*/
|
|
46
|
-
|
|
414
|
+
WEB: string;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* 依赖注入的键.
|
|
418
|
+
*/
|
|
419
|
+
DI: {
|
|
47
420
|
/**
|
|
48
|
-
*
|
|
421
|
+
* 界面标识.
|
|
49
422
|
*/
|
|
50
|
-
|
|
423
|
+
FORM_ID: InjectionKey<string>;
|
|
424
|
+
/**
|
|
425
|
+
* 唯一标识.
|
|
426
|
+
*/
|
|
427
|
+
ID: InjectionKey<string>;
|
|
428
|
+
/**
|
|
429
|
+
* 画布.
|
|
430
|
+
*/
|
|
431
|
+
KG_CANVAS: {
|
|
432
|
+
/**
|
|
433
|
+
* 组件参数.
|
|
434
|
+
*/
|
|
435
|
+
PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
|
436
|
+
id: {
|
|
437
|
+
/**
|
|
438
|
+
* 表单.
|
|
439
|
+
*/
|
|
440
|
+
type: import("vue").PropType<string>;
|
|
441
|
+
required: boolean;
|
|
442
|
+
};
|
|
443
|
+
kg$ContextMenu$Reload$IsAvailable: {
|
|
444
|
+
type: import("vue").PropType<boolean>;
|
|
445
|
+
default: boolean;
|
|
446
|
+
};
|
|
447
|
+
kg$KgCanvasToolbarButtonMode$IsAvailable: {
|
|
448
|
+
type: import("vue").PropType<boolean>;
|
|
449
|
+
default: boolean;
|
|
450
|
+
};
|
|
451
|
+
kgCanvasToolbarFullscreen: {
|
|
452
|
+
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
453
|
+
kgIsShowText: {
|
|
454
|
+
type: import("vue").PropType<boolean>;
|
|
455
|
+
default: boolean;
|
|
456
|
+
};
|
|
457
|
+
}>>>;
|
|
458
|
+
};
|
|
459
|
+
kgIsEditable: {
|
|
460
|
+
type: import("vue").PropType<boolean>; /**
|
|
461
|
+
* 变量名称.
|
|
462
|
+
*/
|
|
463
|
+
default: boolean;
|
|
464
|
+
};
|
|
465
|
+
kgIsEnableOverview: {
|
|
466
|
+
type: import("vue").PropType<boolean>;
|
|
467
|
+
default: boolean;
|
|
468
|
+
};
|
|
469
|
+
kgIsGridBackground: {
|
|
470
|
+
type: import("vue").PropType<boolean>;
|
|
471
|
+
default: boolean;
|
|
472
|
+
};
|
|
473
|
+
kgIsResizable: {
|
|
474
|
+
type: import("vue").PropType<boolean>;
|
|
475
|
+
default: boolean;
|
|
476
|
+
};
|
|
477
|
+
}>>>;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* 表单.
|
|
481
|
+
*/
|
|
482
|
+
KG_FORM: {
|
|
483
|
+
/**
|
|
484
|
+
* <p>依赖注入表单数据对象.</p>
|
|
485
|
+
* <p>在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.</p>
|
|
486
|
+
*/
|
|
487
|
+
FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
|
|
488
|
+
/**
|
|
489
|
+
* formRef.
|
|
490
|
+
*/
|
|
491
|
+
FORM_REF: InjectionKey<Ref<FormInstance | null>>;
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* 表单控件.
|
|
495
|
+
*/
|
|
496
|
+
KG_FORM_ITEM: {
|
|
497
|
+
/**
|
|
498
|
+
* 变量名称.
|
|
499
|
+
*/
|
|
500
|
+
CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
|
|
501
|
+
/**
|
|
502
|
+
* 变量名称.
|
|
503
|
+
*/
|
|
504
|
+
VAR_NAME: InjectionKey<string>;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* 模拟器.
|
|
508
|
+
*/
|
|
509
|
+
KG_SIMULATOR: {
|
|
510
|
+
/**
|
|
511
|
+
* 左下侧面板.
|
|
512
|
+
*/
|
|
513
|
+
PANEL__LEFT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
514
|
+
/**
|
|
515
|
+
* 左上侧面板.
|
|
516
|
+
*/
|
|
517
|
+
PANEL__LEFT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
518
|
+
/**
|
|
519
|
+
* 右下侧面板.
|
|
520
|
+
*/
|
|
521
|
+
PANEL__RIGHT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
522
|
+
/**
|
|
523
|
+
* 右上侧面板.
|
|
524
|
+
*/
|
|
525
|
+
PANEL__RIGHT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
526
|
+
/**
|
|
527
|
+
* 左下侧工具栏.
|
|
528
|
+
*/
|
|
529
|
+
TOOLBAR__LEFT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
530
|
+
/**
|
|
531
|
+
* 左上侧工具栏.
|
|
532
|
+
*/
|
|
533
|
+
TOOLBAR__LEFT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
534
|
+
/**
|
|
535
|
+
* 右下侧工具栏.
|
|
536
|
+
*/
|
|
537
|
+
TOOLBAR__RIGHT_BOTTOM__TELEPORT_ID: InjectionKey<string>;
|
|
538
|
+
/**
|
|
539
|
+
* 右上侧工具栏.
|
|
540
|
+
*/
|
|
541
|
+
TOOLBAR__RIGHT_TOP__TELEPORT_ID: InjectionKey<string>;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* 变量页面.
|
|
545
|
+
*/
|
|
546
|
+
KG_VAR: {
|
|
547
|
+
/**
|
|
548
|
+
* 注入 kgProps 参数.
|
|
549
|
+
*/
|
|
550
|
+
KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
|
|
551
|
+
/**
|
|
552
|
+
* 注入 kgSlots 参数.
|
|
553
|
+
*/
|
|
554
|
+
KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* 变量配置弹窗.
|
|
558
|
+
*/
|
|
559
|
+
KG_VAR_CONFIG: {
|
|
560
|
+
/**
|
|
561
|
+
* 正在被配置的界面标识.
|
|
562
|
+
*/
|
|
563
|
+
HOST_FORM_ID: InjectionKey<Ref<string | null>>;
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* 「变量配置:查找弹窗」.
|
|
567
|
+
*/
|
|
568
|
+
VAR_CONFIG_LOOKUP: {
|
|
569
|
+
/**
|
|
570
|
+
* 宿主界面标识.
|
|
571
|
+
*/
|
|
572
|
+
HOST_FORM_ID: InjectionKey<string>;
|
|
573
|
+
/**
|
|
574
|
+
* 变量查找编号.
|
|
575
|
+
*/
|
|
576
|
+
LOOKUP_ID: InjectionKey<string>;
|
|
577
|
+
};
|
|
51
578
|
};
|
|
52
579
|
/**
|
|
53
580
|
* 高级查询的操作符.
|
|
@@ -204,18 +731,44 @@ export declare const KG_CONST: {
|
|
|
204
731
|
TEXT_AREA: string;
|
|
205
732
|
};
|
|
206
733
|
};
|
|
734
|
+
/**
|
|
735
|
+
* 用于添加的行.
|
|
736
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
737
|
+
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
738
|
+
*/
|
|
739
|
+
__KG__CREATE_ROW_ID__: string;
|
|
740
|
+
/**
|
|
741
|
+
* 用户添加的行.
|
|
742
|
+
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
743
|
+
*/
|
|
744
|
+
__KG__CUSTOM_ROW_ID__: string;
|
|
745
|
+
__KG__NULL__: string;
|
|
746
|
+
/**
|
|
747
|
+
* 在表格内创建时, 空白行的临时主键.
|
|
748
|
+
*/
|
|
749
|
+
__KG__TABLE_TEMP_ID__: string;
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* 模块.
|
|
753
|
+
*/
|
|
754
|
+
export declare const KG_APP: {
|
|
755
|
+
/**
|
|
756
|
+
* 系统管理.
|
|
757
|
+
*/
|
|
758
|
+
readonly SYS: "sys";
|
|
759
|
+
/**
|
|
760
|
+
* WCS.
|
|
761
|
+
*/
|
|
762
|
+
readonly WCS: "wcs";
|
|
763
|
+
/**
|
|
764
|
+
* 仓库管理.
|
|
765
|
+
*/
|
|
766
|
+
readonly WMS_BUSINESS_MANAGER: "business-manager";
|
|
767
|
+
/**
|
|
768
|
+
* 数据管理.
|
|
769
|
+
*/
|
|
770
|
+
readonly WMS_DATA_MANAGER: "data-manager";
|
|
207
771
|
};
|
|
208
|
-
/** 模块. */
|
|
209
|
-
export declare const enum KG_APP {
|
|
210
|
-
/** 数据管理. */
|
|
211
|
-
WMS_DATA_MANAGER = "data-manager",
|
|
212
|
-
/** 仓库管理. */
|
|
213
|
-
WMS_BUSINESS_MANAGER = "business-manager",
|
|
214
|
-
/** WCS. */
|
|
215
|
-
WCS = "wcs",
|
|
216
|
-
/** 系统管理. */
|
|
217
|
-
SYS = "sys"
|
|
218
|
-
}
|
|
219
772
|
/** 模块路径前缀. */
|
|
220
773
|
export declare const enum KG_APP_PREFIX {
|
|
221
774
|
/** 数据管理. */
|
|
@@ -228,7 +781,7 @@ export declare const enum KG_APP_PREFIX {
|
|
|
228
781
|
SYS = "/sys"
|
|
229
782
|
}
|
|
230
783
|
/** 所有模块. */
|
|
231
|
-
export declare const KG_APPS: Array<
|
|
784
|
+
export declare const KG_APPS: Array<string>;
|
|
232
785
|
/** 所有模块路径前缀. */
|
|
233
786
|
export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
|
|
234
787
|
/**
|
|
@@ -655,7 +1208,7 @@ export declare const enum KG_DESCRIPTION_CODE_NAME {
|
|
|
655
1208
|
/** 宽度单位. */
|
|
656
1209
|
VAR_WIDTH_UNIT = "var_width_unit"
|
|
657
1210
|
}
|
|
658
|
-
/** @deprecated 已废弃, 请使用 {@linkplain
|
|
1211
|
+
/** @deprecated 已废弃, 请使用 {@linkplain KG.DYNAMIC_QUERY_OPERATOR} */
|
|
659
1212
|
export declare const KG_DYNAMIC_QUERY_OPERATOR: {
|
|
660
1213
|
/** 范围之内. */
|
|
661
1214
|
BETWEEN: string;
|
|
@@ -804,6 +1357,12 @@ export interface IKgVarSubmitConfigProperties {
|
|
|
804
1357
|
* <p>额外的配置属性. 对应 {@link VarButton#props} 字段.</p>
|
|
805
1358
|
*/
|
|
806
1359
|
export interface IKgVarButtonProperties {
|
|
1360
|
+
/**
|
|
1361
|
+
* 是否显示, 默认为 true.
|
|
1362
|
+
*
|
|
1363
|
+
* @default true
|
|
1364
|
+
*/
|
|
1365
|
+
isVisible?: boolean;
|
|
807
1366
|
/**
|
|
808
1367
|
* 文本提示.
|
|
809
1368
|
*/
|
|
@@ -984,7 +1543,7 @@ export interface IKgVarVariableProperties {
|
|
|
984
1543
|
* <p>表单控件的参数.</p>
|
|
985
1544
|
* <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
|
|
986
1545
|
* @see VarConfigControl.ctrl_prop
|
|
987
|
-
* @see
|
|
1546
|
+
* @see KG.VAR_CONFIG_CONTROL.CONTROL_TYPE
|
|
988
1547
|
*/
|
|
989
1548
|
export interface IKgVarConfigControlControlProperties {
|
|
990
1549
|
CHECKBOX: {
|
|
@@ -1190,27 +1749,20 @@ export interface IKgVarGridDetailDisplayTypeProperties {
|
|
|
1190
1749
|
/**
|
|
1191
1750
|
* 通用常量.
|
|
1192
1751
|
*/
|
|
1752
|
+
/** @deprecated 已废弃, 请使用 {@link KG} */
|
|
1193
1753
|
export declare const KG_COMMON_CONST: {
|
|
1194
|
-
/**
|
|
1195
|
-
* 用于添加的行.
|
|
1196
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
1197
|
-
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
1198
|
-
*/
|
|
1754
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CREATE_ROW_ID__} */
|
|
1199
1755
|
__KG__CREATE_ROW_ID__: string;
|
|
1200
|
-
/**
|
|
1201
|
-
* 用户添加的行.
|
|
1202
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
1203
|
-
*/
|
|
1756
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__CUSTOM_ROW_ID__} */
|
|
1204
1757
|
__KG__CUSTOM_ROW_ID__: string;
|
|
1758
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__NULL__} */
|
|
1205
1759
|
__KG__NULL__: string;
|
|
1206
1760
|
};
|
|
1761
|
+
/** @deprecated 已废弃, 请使用 {@link KG.__KG__TABLE_TEMP_ID__} */
|
|
1762
|
+
export declare const KG_TABLE_TEMP_ID = "__KG__TABLE_TEMP_ID__";
|
|
1207
1763
|
/**
|
|
1208
1764
|
* 状态管理类型定义.
|
|
1209
1765
|
*/
|
|
1210
1766
|
export declare type KgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & {
|
|
1211
1767
|
$onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void;
|
|
1212
1768
|
};
|
|
1213
|
-
/**
|
|
1214
|
-
* 在表格内创建时, 空白行的临时主键.
|
|
1215
|
-
*/
|
|
1216
|
-
export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
|