@kengic/vue 0.30.1-beta.10 → 0.30.1-beta.101
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/bin/bin.mjs +42 -0
- package/bin/postinstall.mjs +88 -0
- 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 +150652 -133605
- 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 +4 -4
- 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 +2 -4
- 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.Item.data.d.ts → KgButton.model.d.ts} +1 -1
- package/dist/src/component/KgButton/KgButton.store.d.ts +2 -2
- package/dist/src/component/KgButton/index.d.ts +2 -60
- 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 +5 -2
- 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 +4 -5
- package/dist/src/component/KgForm/KgForm.event.d.ts +31 -31
- package/dist/src/component/KgForm/KgForm.hooks.d.ts +12 -12
- package/dist/src/component/KgForm/KgForm.store.d.ts +6 -6
- 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} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.CheckboxGroup.d.ts → KgForm.Item.CheckboxGroup.d.ts} +41 -41
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Date.d.ts → KgForm.Item.Date.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.DateRange.d.ts → KgForm.Item.DateRange.d.ts} +39 -39
- 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} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputNumber.d.ts → KgForm.Item.InputNumber.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputPassword.d.ts → KgForm.Item.InputPassword.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Link.d.ts → KgForm.Item.Link.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.RadioGroup.d.ts → KgForm.Item.RadioGroup.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.d.ts → KgForm.Item.Select.d.ts} +40 -40
- 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} +39 -39
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.TextArea.d.ts → KgForm.Item.TextArea.d.ts} +39 -39
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +37 -37
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +32 -34
- 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 +17 -17
- 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 +29 -28
- 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 +61 -29
- package/dist/src/component/KgSubmit/KgSubmit.model.d.ts +1 -1
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +63 -17
- 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 +2 -2
- 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/KgTable02/KgTable02.store.d.ts +2 -2
- 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 +26 -13
- package/dist/src/component/KgVar/KgVar.model.d.ts +1 -6
- package/dist/src/component/KgVar/KgVar.store.d.ts +82 -80
- 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/KgVarConfig.store.d.ts +2 -2
- 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/KgWarehouse/KgWarehouse.d.ts +4 -1
- package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +14 -8
- package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +22 -4
- package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +8 -15
- package/dist/src/component/KgWorkStation/KgWorkStation.d.ts +44 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +27 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +28 -0
- package/dist/src/component/KgWorkStation/KgWorkStation.store.d.ts +37 -0
- package/dist/src/component/KgWorkStation/index.d.ts +3 -0
- package/dist/src/component/index.d.ts +7 -5
- package/dist/src/config/config.hooks.d.ts +2 -2
- package/dist/src/config/config.store.d.ts +14 -17
- package/dist/src/config/index.d.ts +30 -24
- 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 +12 -14
- package/dist/src/i18n/index.d.ts +1 -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/index.d.ts +1 -1
- package/dist/src/model/index.d.ts +1968 -0
- 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 +6 -6
- 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/helper.d.ts +3 -4
- package/dist/src/project/src/locales/useLocale.d.ts +4 -3
- package/dist/src/project/src/router/types.d.ts +19 -0
- package/dist/src/project/src/store/modules/locale.d.ts +9 -9
- package/dist/src/project/src/utils/env.d.ts +3 -3
- package/dist/src/project/types/config.d.ts +6 -17
- package/dist/src/service/http-client.d.ts +7 -3
- package/dist/src/util/ant-design-vue.d.ts +1 -1
- 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 +46 -37
- package/dist/src/util/tsx.helper.d.ts +7 -7
- package/package.json +40 -32
- 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/const.model.d.ts +0 -1216
- package/dist/src/const/form-id.const.d.ts +0 -32
- package/dist/src/const/index.d.ts +0 -3
- 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/{caret-right-outlined-Btgsw6a_.0434903b.mjs → caret-right-outlined-Btgsw6a_.7ce8e8fe.mjs} +0 -0
- /package/dist/{close-outlined-DMcSQWxQ.5c3bee6f.mjs → close-outlined-DMcSQWxQ.ce961fd1.mjs} +0 -0
- /package/dist/{exclamation-circle-outlined-DZrXCnvM.d94561db.mjs → exclamation-circle-outlined-DZrXCnvM.07559897.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.a1640595.mjs → fullscreen-exit-outlined-X1iYkFc4.d7884311.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.b9f9d4a1.mjs → fullscreen-outlined-DDBrsRcy.d174b06a.mjs} +0 -0
- /package/dist/{search-outlined-Od1M_oxf.71fb0c01.mjs → search-outlined-Od1M_oxf.4a68e7e4.mjs} +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
- /package/dist/{three-dots-loading-bIlrTJYR.f189f620.mjs → three-dots-loading-bIlrTJYR.ebceb73e.mjs} +0 -0
|
@@ -1,1216 +0,0 @@
|
|
|
1
|
-
import { type TooltipProps } from 'ant-design-vue';
|
|
2
|
-
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
3
|
-
import { Pinia, StoreOnActionListener } from 'pinia';
|
|
4
|
-
import { KgModalProps } from '../component';
|
|
5
|
-
/**
|
|
6
|
-
* 常量.
|
|
7
|
-
* TODO LT 将所有常量都统一放到这个常量中
|
|
8
|
-
*/
|
|
9
|
-
export declare const KG_CONST: {
|
|
10
|
-
/**
|
|
11
|
-
* 数据库的列的类型.
|
|
12
|
-
*/
|
|
13
|
-
DB_COLUMN_TYPE: {
|
|
14
|
-
NCHAR: string;
|
|
15
|
-
NVARCHAR: string;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 数据库的类型.
|
|
19
|
-
*/
|
|
20
|
-
DB_TYPE: {
|
|
21
|
-
/**
|
|
22
|
-
* 达梦.
|
|
23
|
-
*/
|
|
24
|
-
DM: string;
|
|
25
|
-
MYSQL: string;
|
|
26
|
-
ORACLE: string;
|
|
27
|
-
POSTGRESQL: string;
|
|
28
|
-
SQLITE: string;
|
|
29
|
-
SQLSERVER: string;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 描述表中的键.
|
|
33
|
-
*/
|
|
34
|
-
DESCRIPTION_KEY: {
|
|
35
|
-
/**
|
|
36
|
-
* 所有翻译.
|
|
37
|
-
*/
|
|
38
|
-
ALL: string;
|
|
39
|
-
/**
|
|
40
|
-
* 该组件库的所有翻译.
|
|
41
|
-
*/
|
|
42
|
-
KG: string;
|
|
43
|
-
/**
|
|
44
|
-
* 手持项目的所有翻译.
|
|
45
|
-
*/
|
|
46
|
-
PDA: string;
|
|
47
|
-
/**
|
|
48
|
-
* 网页前端项目的所有翻译.
|
|
49
|
-
*/
|
|
50
|
-
WEB: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* 高级查询的操作符.
|
|
54
|
-
*/
|
|
55
|
-
DYNAMIC_QUERY_OPERATOR: {
|
|
56
|
-
/** 范围之内. */
|
|
57
|
-
BETWEEN: string;
|
|
58
|
-
/** 包含. */
|
|
59
|
-
CONTAIN: string;
|
|
60
|
-
/** 为空. */
|
|
61
|
-
EMPTY: string;
|
|
62
|
-
/** 以之结束. */
|
|
63
|
-
END_WITH: string;
|
|
64
|
-
/** 等于. */
|
|
65
|
-
EQ: string;
|
|
66
|
-
/** 大于. */
|
|
67
|
-
GT: string;
|
|
68
|
-
/** 大于等于. */
|
|
69
|
-
GTE: string;
|
|
70
|
-
/** 属于. */
|
|
71
|
-
IN: string;
|
|
72
|
-
/** 小于. */
|
|
73
|
-
LT: string;
|
|
74
|
-
/** 小于等于. */
|
|
75
|
-
LTE: string;
|
|
76
|
-
/** 不等于. */
|
|
77
|
-
NE: string;
|
|
78
|
-
/** 不为空. */
|
|
79
|
-
NOT_EMPTY: string;
|
|
80
|
-
/** 以之开始. */
|
|
81
|
-
START_WITH: string;
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* HTTP 请求头.
|
|
85
|
-
*/
|
|
86
|
-
HTTP_HEADER: {
|
|
87
|
-
KG_BUTTON_VAR_NAME: string;
|
|
88
|
-
/**
|
|
89
|
-
* 数据库的类型.
|
|
90
|
-
*/
|
|
91
|
-
KG_DB_TYPE: string;
|
|
92
|
-
/** 界面标识. */
|
|
93
|
-
KG_FORM_ID: string;
|
|
94
|
-
/** 是否启用高级查询. */
|
|
95
|
-
KG_IS_DYNAMIC_QUERY: string;
|
|
96
|
-
/** 当前页码. */
|
|
97
|
-
KG_PAGE_INDEX: string;
|
|
98
|
-
/** 每页条数. */
|
|
99
|
-
KG_PAGE_SIZE: string;
|
|
100
|
-
/**
|
|
101
|
-
* <p>高级查询时, 每个查询字段的参数值.</p>
|
|
102
|
-
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的值.</p>
|
|
103
|
-
*/
|
|
104
|
-
KG_QUERY_OBJECT: string;
|
|
105
|
-
/**
|
|
106
|
-
* <p>高级查询时, 每个查询字段的操作符.</p>
|
|
107
|
-
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
|
|
108
|
-
*/
|
|
109
|
-
KG_QUERY_OPERATOR_OBJECT: string;
|
|
110
|
-
/** 查询语句中的 ORDER BY 片段. */
|
|
111
|
-
KG_QUERY_ORDER_BY_SQL: string;
|
|
112
|
-
/**
|
|
113
|
-
* <p>高级查询时, 每个查询字段的 WHERE 片段.</p>
|
|
114
|
-
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的 WHERE 片段.</p>
|
|
115
|
-
*/
|
|
116
|
-
KG_QUERY_WHERE_OBJECT: string;
|
|
117
|
-
/** 查询语句中的 WHERE 片段. */
|
|
118
|
-
KG_QUERY_WHERE_SQL: string;
|
|
119
|
-
/** 查询语句中的 WHERE 片段. */
|
|
120
|
-
KG_QUERY_WHERE_SQL_01: string;
|
|
121
|
-
/** 查询语句中的 WHERE 片段. */
|
|
122
|
-
KG_QUERY_WHERE_SQL_02: string;
|
|
123
|
-
/** 查询语句中的 WHERE 片段. */
|
|
124
|
-
KG_QUERY_WHERE_SQL_03: string;
|
|
125
|
-
/** 查询语句中的 WHERE 片段. */
|
|
126
|
-
KG_QUERY_WHERE_SQL_04: string;
|
|
127
|
-
/** 查询语句中的 WHERE 片段. */
|
|
128
|
-
KG_QUERY_WHERE_SQL_05: string;
|
|
129
|
-
/**
|
|
130
|
-
* 仓库编号.
|
|
131
|
-
*/
|
|
132
|
-
KG_WAREHOUSE: string;
|
|
133
|
-
/**
|
|
134
|
-
* 工作区.
|
|
135
|
-
*/
|
|
136
|
-
KG_WORK_AREA: string;
|
|
137
|
-
/**
|
|
138
|
-
* 工作站.
|
|
139
|
-
*/
|
|
140
|
-
KG_WORK_STATION: string;
|
|
141
|
-
};
|
|
142
|
-
VAR_CONFIG_CONTROL: {
|
|
143
|
-
/**
|
|
144
|
-
* 表单控件类型.
|
|
145
|
-
* @see VarConfigControl.ctrl_prop
|
|
146
|
-
* @see IKgVarConfigControlControlProperties
|
|
147
|
-
*/
|
|
148
|
-
CONTROL_TYPE: {
|
|
149
|
-
/** 文件上传按钮. */
|
|
150
|
-
BUTTON_UPLOAD: string;
|
|
151
|
-
/** 多选框. */
|
|
152
|
-
CHECKBOX: string;
|
|
153
|
-
/**
|
|
154
|
-
* <p>多选框列表.</p>
|
|
155
|
-
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
|
|
156
|
-
*/
|
|
157
|
-
CHECKBOX_GROUP: string;
|
|
158
|
-
/** 年月日, 2020-05-01. */
|
|
159
|
-
DATE_DATE: string;
|
|
160
|
-
/** 年月日时分秒, 2020-05-01 11:59:59. */
|
|
161
|
-
DATE_DATETIME: string;
|
|
162
|
-
/** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
|
|
163
|
-
DATE_DATETIME_RANGE: string;
|
|
164
|
-
/** 年月日的范围, [DATE_DATE, DATE_DATE] */
|
|
165
|
-
DATE_DATE_RANGE: string;
|
|
166
|
-
DATE_MONTH: string;
|
|
167
|
-
/** 时分秒, 11:59:59. */
|
|
168
|
-
DATE_TIME: string;
|
|
169
|
-
/** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
|
|
170
|
-
DATE_TIME_RANGE: string;
|
|
171
|
-
DATE_WEEK: string;
|
|
172
|
-
DATE_YEAR: string;
|
|
173
|
-
/**
|
|
174
|
-
* <p>图片.</p>
|
|
175
|
-
* <p>点击可以预览.</p>
|
|
176
|
-
*/
|
|
177
|
-
IMAGE: string;
|
|
178
|
-
/** 单行文本. */
|
|
179
|
-
INPUT: string;
|
|
180
|
-
/** 数字. */
|
|
181
|
-
INPUT_NUMBER: string;
|
|
182
|
-
/** 密码. */
|
|
183
|
-
INPUT_PASSWORD: string;
|
|
184
|
-
/** 链接. */
|
|
185
|
-
LINK: string;
|
|
186
|
-
/**
|
|
187
|
-
* <p>单选框列表.</p>
|
|
188
|
-
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
|
|
189
|
-
*/
|
|
190
|
-
RADIO_GROUP: string;
|
|
191
|
-
/**
|
|
192
|
-
* <p>单选下拉列表.<p>
|
|
193
|
-
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
|
|
194
|
-
*/
|
|
195
|
-
SELECT: string;
|
|
196
|
-
/** 多选下拉列表. */
|
|
197
|
-
SELECT_MULTIPLE: string;
|
|
198
|
-
/** 开关. */
|
|
199
|
-
SWITCH: string;
|
|
200
|
-
/**
|
|
201
|
-
* <p>多行文本.</p>
|
|
202
|
-
* <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
|
|
203
|
-
*/
|
|
204
|
-
TEXT_AREA: string;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
};
|
|
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
|
-
/** 模块路径前缀. */
|
|
220
|
-
export declare const enum KG_APP_PREFIX {
|
|
221
|
-
/** 数据管理. */
|
|
222
|
-
WMS_DATA_MANAGER = "/wms/data-manager",
|
|
223
|
-
/** 仓库管理. */
|
|
224
|
-
WMS_BUSINESS_MANAGER = "/wms/business-manager",
|
|
225
|
-
/** WCS. */
|
|
226
|
-
WCS = "/wcs",
|
|
227
|
-
/** 系统管理. */
|
|
228
|
-
SYS = "/sys"
|
|
229
|
-
}
|
|
230
|
-
/** 所有模块. */
|
|
231
|
-
export declare const KG_APPS: Array<KG_APP>;
|
|
232
|
-
/** 所有模块路径前缀. */
|
|
233
|
-
export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
|
|
234
|
-
/**
|
|
235
|
-
* 表单控件所处环境.
|
|
236
|
-
*/
|
|
237
|
-
export declare const enum KG_FORM_CONTEXT {
|
|
238
|
-
/**
|
|
239
|
-
* 位于查询条件.
|
|
240
|
-
*/
|
|
241
|
-
SEARCH = "SEARCH",
|
|
242
|
-
/**
|
|
243
|
-
* 位于提交表单弹窗.
|
|
244
|
-
*/
|
|
245
|
-
SUBMIT = "SUBMIT",
|
|
246
|
-
/**
|
|
247
|
-
* 位于表格内的提交表单.
|
|
248
|
-
*/
|
|
249
|
-
TABLE = "TABLE"
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* 定制级别.
|
|
253
|
-
*/
|
|
254
|
-
export declare const enum KG_CUSTOM_LEVEL {
|
|
255
|
-
/**
|
|
256
|
-
* 系统.
|
|
257
|
-
*/
|
|
258
|
-
L0 = 0,
|
|
259
|
-
/**
|
|
260
|
-
* 用户.
|
|
261
|
-
*/
|
|
262
|
-
L10 = 10
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* 接口请求方式.
|
|
266
|
-
*/
|
|
267
|
-
export declare enum KG__API_METHOD {
|
|
268
|
-
GET = "GET",
|
|
269
|
-
POST = "POST",
|
|
270
|
-
DELETE = "DELETE",
|
|
271
|
-
PUT = "PUT"
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* 表格单元格的显示类型.
|
|
275
|
-
* @see VarGridDetail.display_type_properties
|
|
276
|
-
* @see IKgVarGridDetailDisplayTypeProperties
|
|
277
|
-
*/
|
|
278
|
-
export declare const KG__VAR_GRID_DETAIL__DISPLAY_TYPE: {
|
|
279
|
-
/**
|
|
280
|
-
* <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
|
|
281
|
-
* <p>
|
|
282
|
-
* 描述的来源有 2 种, 按优先级从高到低依次为:
|
|
283
|
-
* <ul>
|
|
284
|
-
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 不为空, 则描述来源于系统描述表, 并且默认的 codeValue 就是该列的值,</li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>否则, 描述来源于描述列.</p>
|
|
287
|
-
* <p>默认情况下, 描述列的列名为原始列的列名加上 _dsc 或者 Dsc 后缀, 比如原始列的列名为 xyz, 则描述列的列名为 xyz_dsc 或者 xyzDsc, 可以通过 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 将描述列的列名配置为其他值,</p>
|
|
288
|
-
* </li>
|
|
289
|
-
* </ul>
|
|
290
|
-
* </p>
|
|
291
|
-
*/
|
|
292
|
-
DESC: string;
|
|
293
|
-
/** {@link DESC} + {@link UPDATE_LINK}. */
|
|
294
|
-
DESC__UPDATE_LINK: string;
|
|
295
|
-
/** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
|
|
296
|
-
FILE_SIZE: string;
|
|
297
|
-
/**
|
|
298
|
-
* <p>图标, 使用 iconify 进行渲染.</p>
|
|
299
|
-
*/
|
|
300
|
-
ICON: string;
|
|
301
|
-
/**
|
|
302
|
-
* <p>图片, 可以点击预览大图.</p>
|
|
303
|
-
*/
|
|
304
|
-
IMAGE: string;
|
|
305
|
-
/** 进度条, 使用 KgProgressA 组件显示. */
|
|
306
|
-
PROGRESS: string;
|
|
307
|
-
/** 超链接, 点击跳转到其他页面. */
|
|
308
|
-
ROUTE_LINK: string;
|
|
309
|
-
/** 超链接, 点击打开更新弹窗. */
|
|
310
|
-
UPDATE_LINK: string;
|
|
311
|
-
/** 布尔数据, 使用 KgYesOrNo 组件显示. */
|
|
312
|
-
YN: string;
|
|
313
|
-
};
|
|
314
|
-
/**
|
|
315
|
-
* 表格单元格的对齐方式.
|
|
316
|
-
*/
|
|
317
|
-
export declare const enum KG__VAR_GRID_DETAIL__ALIGN {
|
|
318
|
-
LEFT = "left",
|
|
319
|
-
CENTER = "center",
|
|
320
|
-
RIGHT = "right"
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* 单击某行时的操作.
|
|
324
|
-
*/
|
|
325
|
-
export declare const enum KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK {
|
|
326
|
-
/**
|
|
327
|
-
* 不做操作.
|
|
328
|
-
*/
|
|
329
|
-
A = 0,
|
|
330
|
-
/**
|
|
331
|
-
* 勾选该行, 并取消其他勾选行.
|
|
332
|
-
*/
|
|
333
|
-
B = 1,
|
|
334
|
-
/**
|
|
335
|
-
* 勾选该行, 并保留其他勾选行.
|
|
336
|
-
*/
|
|
337
|
-
C = 2
|
|
338
|
-
}
|
|
339
|
-
/** @deprecated 已弃用, 请使用 {@link KG__VAR_BUTTON__TYPE}. */
|
|
340
|
-
export declare const enum KG_BUTTON_TYPE {
|
|
341
|
-
/** 查询. */
|
|
342
|
-
SEARCH = "SEARCH",
|
|
343
|
-
/** 创建. */
|
|
344
|
-
CREATE = "CREATE",
|
|
345
|
-
/** 更新. */
|
|
346
|
-
UPDATE = "UPDATE",
|
|
347
|
-
/** 复制. */
|
|
348
|
-
COPY = "COPY",
|
|
349
|
-
/** 删除. */
|
|
350
|
-
DELETE = "DELETE",
|
|
351
|
-
/** 导入. */
|
|
352
|
-
IMPORT = "IMPORT",
|
|
353
|
-
/** 下载导入模板. */
|
|
354
|
-
IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
|
|
355
|
-
/** 导出. */
|
|
356
|
-
EXPORT = "EXPORT",
|
|
357
|
-
/** 其他. */
|
|
358
|
-
OTHER = "OTHER"
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* 按钮类型.
|
|
362
|
-
*/
|
|
363
|
-
export declare const enum KG__VAR_BUTTON__TYPE {
|
|
364
|
-
/** 查询. */
|
|
365
|
-
SEARCH = "SEARCH",
|
|
366
|
-
/** 创建. */
|
|
367
|
-
CREATE = "CREATE",
|
|
368
|
-
/** 更新. */
|
|
369
|
-
UPDATE = "UPDATE",
|
|
370
|
-
/** 复制. */
|
|
371
|
-
COPY = "COPY",
|
|
372
|
-
/** 删除. */
|
|
373
|
-
DELETE = "DELETE",
|
|
374
|
-
/** 导入. */
|
|
375
|
-
IMPORT = "IMPORT",
|
|
376
|
-
/** 下载导入模板. */
|
|
377
|
-
IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
|
|
378
|
-
/** 导出. */
|
|
379
|
-
EXPORT = "EXPORT",
|
|
380
|
-
/** 其他. */
|
|
381
|
-
OTHER = "OTHER"
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* 按钮颜色.
|
|
385
|
-
*/
|
|
386
|
-
export declare const enum KG__VAR_BUTTON__COLOR {
|
|
387
|
-
/**
|
|
388
|
-
* 蓝色.
|
|
389
|
-
*/
|
|
390
|
-
BLUE = "BLUE",
|
|
391
|
-
/**
|
|
392
|
-
* 红色.
|
|
393
|
-
*/
|
|
394
|
-
RED = "RED",
|
|
395
|
-
/**
|
|
396
|
-
* 黄色.
|
|
397
|
-
*/
|
|
398
|
-
YELLOW = "YELLOW"
|
|
399
|
-
}
|
|
400
|
-
/** 按钮显示方式. */
|
|
401
|
-
export declare const enum KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE {
|
|
402
|
-
/**
|
|
403
|
-
* 按钮依次排列在一横排.
|
|
404
|
-
*/
|
|
405
|
-
DEFAULT = "DEFAULT",
|
|
406
|
-
/**
|
|
407
|
-
* 显示为下拉的菜单列表.
|
|
408
|
-
*/
|
|
409
|
-
SELECT = "SELECT"
|
|
410
|
-
}
|
|
411
|
-
/** 表单显示方式. */
|
|
412
|
-
export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
|
|
413
|
-
/** 弹窗. */
|
|
414
|
-
MODAL = "MODAL",
|
|
415
|
-
/** 抽屉. */
|
|
416
|
-
DRAWER = "DRAWER",
|
|
417
|
-
/** 在表格内. */
|
|
418
|
-
TABLE = "TABLE",
|
|
419
|
-
/** 嵌入页面. */
|
|
420
|
-
INLINE = "INLINE"
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* 表单布局方式.
|
|
424
|
-
*/
|
|
425
|
-
export declare enum KG__VAR_SUBMIT_CONFIG__LAYOUT {
|
|
426
|
-
/**
|
|
427
|
-
* 垂直.
|
|
428
|
-
*/
|
|
429
|
-
VERTICAL = "vertical",
|
|
430
|
-
/**
|
|
431
|
-
* 水平.
|
|
432
|
-
*/
|
|
433
|
-
HORIZONTAL = "horizontal"
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* 变量配置:表单输入验证:数据类型.
|
|
437
|
-
*/
|
|
438
|
-
export declare const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
|
|
439
|
-
/**
|
|
440
|
-
* 任意字符.
|
|
441
|
-
*/
|
|
442
|
-
ANY = "ANY",
|
|
443
|
-
/**
|
|
444
|
-
* 整数.
|
|
445
|
-
*/
|
|
446
|
-
INTEGER = "INTEGER",
|
|
447
|
-
/**
|
|
448
|
-
* 小数.
|
|
449
|
-
*/
|
|
450
|
-
FLOAT = "FLOAT",
|
|
451
|
-
/**
|
|
452
|
-
* 英文字母.
|
|
453
|
-
*/
|
|
454
|
-
LETTER = "LETTER",
|
|
455
|
-
/**
|
|
456
|
-
* 大写英文字母.
|
|
457
|
-
*/
|
|
458
|
-
UPPER_CASE_LETTER = "UPPER_CASE_LETTER",
|
|
459
|
-
/**
|
|
460
|
-
* 小写英文字母.
|
|
461
|
-
*/
|
|
462
|
-
LOWER_CASE_LETTER = "LOWER_CASE_LETTER",
|
|
463
|
-
/**
|
|
464
|
-
* JSON.
|
|
465
|
-
*/
|
|
466
|
-
JSON = "JSON"
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* 变量配置:表单输入验证:验证方式.
|
|
470
|
-
*/
|
|
471
|
-
export declare const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
|
|
472
|
-
/**
|
|
473
|
-
* 配置.
|
|
474
|
-
*/
|
|
475
|
-
OPTIONS = "OPTIONS",
|
|
476
|
-
/**
|
|
477
|
-
* 正则.
|
|
478
|
-
*/
|
|
479
|
-
REGULAR_EXPRESSION = "REGULAR_EXPRESSION"
|
|
480
|
-
}
|
|
481
|
-
/**
|
|
482
|
-
* 变量配置:提示文本:位置.
|
|
483
|
-
*/
|
|
484
|
-
export declare enum KG__VAR_CONFIG_TIP__PLACEMENT {
|
|
485
|
-
/**
|
|
486
|
-
* 在标签的右边, 显示为一个小图标, 鼠标划过时显示弹框.
|
|
487
|
-
*/
|
|
488
|
-
RIGHT = "RIGHT",
|
|
489
|
-
/**
|
|
490
|
-
* 在标签的下面.
|
|
491
|
-
*/
|
|
492
|
-
BOTTOM = "BOTTOM"
|
|
493
|
-
}
|
|
494
|
-
/**
|
|
495
|
-
* 变量配置:下拉列表:数据源的类型.
|
|
496
|
-
*/
|
|
497
|
-
export declare enum KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE {
|
|
498
|
-
API = "API",
|
|
499
|
-
SQL = "SQL"
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* 变量配置:下拉列表:值的类型.
|
|
503
|
-
*/
|
|
504
|
-
export declare enum KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE {
|
|
505
|
-
/**
|
|
506
|
-
* 默认类型.
|
|
507
|
-
*/
|
|
508
|
-
DEFAULT = "DEFAULT",
|
|
509
|
-
/**
|
|
510
|
-
* 字符串.
|
|
511
|
-
*/
|
|
512
|
-
STRING = "STRING",
|
|
513
|
-
/**
|
|
514
|
-
* 数字.
|
|
515
|
-
*/
|
|
516
|
-
NUMBER = "NUMBER",
|
|
517
|
-
/**
|
|
518
|
-
* 布尔.
|
|
519
|
-
*/
|
|
520
|
-
BOOLEAN = "BOOLEAN"
|
|
521
|
-
}
|
|
522
|
-
/** 宽度单位. */
|
|
523
|
-
export declare const enum KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT {
|
|
524
|
-
/**
|
|
525
|
-
* 栅格.
|
|
526
|
-
*/
|
|
527
|
-
SPAN = "SPAN",
|
|
528
|
-
/**
|
|
529
|
-
* 像素.
|
|
530
|
-
*/
|
|
531
|
-
PX = "PX"
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* 动态参数.
|
|
535
|
-
*/
|
|
536
|
-
export declare const KG__DYNAMIC_PARAM: {
|
|
537
|
-
/**
|
|
538
|
-
* 空字符串.
|
|
539
|
-
*/
|
|
540
|
-
EMPTY_STRING: string;
|
|
541
|
-
/**
|
|
542
|
-
* 当前语言.
|
|
543
|
-
*/
|
|
544
|
-
LOCALE: string;
|
|
545
|
-
/**
|
|
546
|
-
* 当前时间.
|
|
547
|
-
*/
|
|
548
|
-
NOW: string;
|
|
549
|
-
/**
|
|
550
|
-
* 当前勾选行对应的属性.
|
|
551
|
-
*/
|
|
552
|
-
ROW: string;
|
|
553
|
-
/**
|
|
554
|
-
* 当前用户.
|
|
555
|
-
*/
|
|
556
|
-
USER: string;
|
|
557
|
-
/**
|
|
558
|
-
* 当前仓库编号.
|
|
559
|
-
*/
|
|
560
|
-
WAREHOUSE: string;
|
|
561
|
-
/**
|
|
562
|
-
* 当前工作区.
|
|
563
|
-
*/
|
|
564
|
-
WORK_AREA: string;
|
|
565
|
-
/**
|
|
566
|
-
* 当前工作站.
|
|
567
|
-
*/
|
|
568
|
-
WORK_STATION: string;
|
|
569
|
-
};
|
|
570
|
-
export declare const KG__DYNAMIC_PARAM_LIST: string[];
|
|
571
|
-
/**
|
|
572
|
-
* 动态参数, 在首尾添加了 # 字符.
|
|
573
|
-
*/
|
|
574
|
-
export declare const KG__DYNAMIC_PARAM_HASH: {
|
|
575
|
-
/**
|
|
576
|
-
* 空字符串.
|
|
577
|
-
*/
|
|
578
|
-
EMPTY_STRING: string;
|
|
579
|
-
/**
|
|
580
|
-
* 当前语言.
|
|
581
|
-
*/
|
|
582
|
-
LOCALE: string;
|
|
583
|
-
/**
|
|
584
|
-
* 当前时间.
|
|
585
|
-
*/
|
|
586
|
-
NOW: string;
|
|
587
|
-
/**
|
|
588
|
-
* 当前勾选行对应的属性.
|
|
589
|
-
*/
|
|
590
|
-
ROW: string;
|
|
591
|
-
/**
|
|
592
|
-
* 当前用户.
|
|
593
|
-
*/
|
|
594
|
-
USER: string;
|
|
595
|
-
/**
|
|
596
|
-
* 当前仓库编号.
|
|
597
|
-
*/
|
|
598
|
-
WAREHOUSE: string;
|
|
599
|
-
/**
|
|
600
|
-
* 当前工作区.
|
|
601
|
-
*/
|
|
602
|
-
WORK_AREA: string;
|
|
603
|
-
/**
|
|
604
|
-
* 当前工作站.
|
|
605
|
-
*/
|
|
606
|
-
WORK_STATION: string;
|
|
607
|
-
};
|
|
608
|
-
export declare const KG__DYNAMIC_PARAM_HASH_LIST: string[];
|
|
609
|
-
/**
|
|
610
|
-
* 栅格布局宽度.
|
|
611
|
-
*/
|
|
612
|
-
export declare const enum KG__SPAN {
|
|
613
|
-
_1 = 1,
|
|
614
|
-
_2 = 2,
|
|
615
|
-
_3 = 3,
|
|
616
|
-
_4 = 4,
|
|
617
|
-
_5 = 5,
|
|
618
|
-
_6 = 6,
|
|
619
|
-
_7 = 7,
|
|
620
|
-
_8 = 8,
|
|
621
|
-
_9 = 9,
|
|
622
|
-
_10 = 10,
|
|
623
|
-
_11 = 11,
|
|
624
|
-
_12 = 12,
|
|
625
|
-
_13 = 13,
|
|
626
|
-
_14 = 14,
|
|
627
|
-
_15 = 15,
|
|
628
|
-
_16 = 16,
|
|
629
|
-
_17 = 17,
|
|
630
|
-
_18 = 18,
|
|
631
|
-
_19 = 19,
|
|
632
|
-
_20 = 20,
|
|
633
|
-
_21 = 21,
|
|
634
|
-
_22 = 22,
|
|
635
|
-
_23 = 23,
|
|
636
|
-
_24 = 24
|
|
637
|
-
}
|
|
638
|
-
/**
|
|
639
|
-
* 导出 EXCEL 文件的后缀.
|
|
640
|
-
*/
|
|
641
|
-
export declare const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
|
|
642
|
-
XLS = "XLS",
|
|
643
|
-
XLSX = "XLSX"
|
|
644
|
-
}
|
|
645
|
-
/** 系统描述表中的键. */
|
|
646
|
-
export declare const enum KG_DESCRIPTION_CODE_NAME {
|
|
647
|
-
/** 是否. */
|
|
648
|
-
YN = "yn",
|
|
649
|
-
/** 表单布局方式. */
|
|
650
|
-
VAR_SUBMIT_LAYOUT = "var_submit_layout",
|
|
651
|
-
/** 栅格布局可选的列. */
|
|
652
|
-
VAR_SPAN = "var_span",
|
|
653
|
-
/** 按钮显示样式. */
|
|
654
|
-
VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type",
|
|
655
|
-
/** 宽度单位. */
|
|
656
|
-
VAR_WIDTH_UNIT = "var_width_unit"
|
|
657
|
-
}
|
|
658
|
-
/** @deprecated 已废弃, 请使用 {@linkplain KG_CONST.DYNAMIC_QUERY_OPERATOR} */
|
|
659
|
-
export declare const KG_DYNAMIC_QUERY_OPERATOR: {
|
|
660
|
-
/** 范围之内. */
|
|
661
|
-
BETWEEN: string;
|
|
662
|
-
/** 包含. */
|
|
663
|
-
CONTAIN: string;
|
|
664
|
-
/** 为空. */
|
|
665
|
-
EMPTY: string;
|
|
666
|
-
/** 以之结束. */
|
|
667
|
-
END_WITH: string;
|
|
668
|
-
/** 等于. */
|
|
669
|
-
EQ: string;
|
|
670
|
-
/** 大于. */
|
|
671
|
-
GT: string;
|
|
672
|
-
/** 大于等于. */
|
|
673
|
-
GTE: string;
|
|
674
|
-
/** 属于. */
|
|
675
|
-
IN: string;
|
|
676
|
-
/** 小于. */
|
|
677
|
-
LT: string;
|
|
678
|
-
/** 小于等于. */
|
|
679
|
-
LTE: string;
|
|
680
|
-
/** 不等于. */
|
|
681
|
-
NE: string;
|
|
682
|
-
/** 不为空. */
|
|
683
|
-
NOT_EMPTY: string;
|
|
684
|
-
/** 以之开始. */
|
|
685
|
-
START_WITH: string;
|
|
686
|
-
};
|
|
687
|
-
/** 特殊属性:请求返回的原始响应数据. */
|
|
688
|
-
export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
|
689
|
-
/** 模块菜单的临时ID:数据管理. */
|
|
690
|
-
export declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
|
|
691
|
-
/** 模块菜单的临时ID:仓库管理. */
|
|
692
|
-
export declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
|
|
693
|
-
/** 模块菜单的临时ID:WCS. */
|
|
694
|
-
export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
|
695
|
-
/** 模块菜单的临时ID:系统配置. */
|
|
696
|
-
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
|
697
|
-
/** 模块菜单的临时ID:PDA. */
|
|
698
|
-
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|
|
699
|
-
/**
|
|
700
|
-
* 按钮确认弹窗的参数.
|
|
701
|
-
* <p>对应于 {@link VarButton#modal_props} 字段.</p>
|
|
702
|
-
*/
|
|
703
|
-
export declare type IKgVarButtonModalProperties = ModalFuncProps & {
|
|
704
|
-
/** 是否隐藏取消按钮. */
|
|
705
|
-
kgHideCancelButton?: boolean;
|
|
706
|
-
};
|
|
707
|
-
/**
|
|
708
|
-
* <p>额外的配置属性. 对应 {@link VarSubmitConfig#props} 字段.</p>
|
|
709
|
-
*/
|
|
710
|
-
export interface IKgVarSubmitConfigProperties {
|
|
711
|
-
/**
|
|
712
|
-
* 取消按钮.
|
|
713
|
-
*/
|
|
714
|
-
cancelButton?: {
|
|
715
|
-
/**
|
|
716
|
-
* 是否显示, 默认为 true.
|
|
717
|
-
*
|
|
718
|
-
* @default true
|
|
719
|
-
*/
|
|
720
|
-
isShow?: boolean;
|
|
721
|
-
/**
|
|
722
|
-
* 排序, 默认为 1.
|
|
723
|
-
*
|
|
724
|
-
* @default 1
|
|
725
|
-
*/
|
|
726
|
-
sort?: number;
|
|
727
|
-
/**
|
|
728
|
-
* <p>取消按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
|
|
729
|
-
* <p>取消按钮的文本默认为「取消」.</p>
|
|
730
|
-
*/
|
|
731
|
-
textVarName?: string;
|
|
732
|
-
};
|
|
733
|
-
/**
|
|
734
|
-
* 显示方式.
|
|
735
|
-
*/
|
|
736
|
-
displayType?: {
|
|
737
|
-
INLINE?: {
|
|
738
|
-
/**
|
|
739
|
-
* 是否在页面的内容区域全屏, 默认为 false.
|
|
740
|
-
*
|
|
741
|
-
* @default false
|
|
742
|
-
*/
|
|
743
|
-
isFullscreen?: boolean;
|
|
744
|
-
/**
|
|
745
|
-
* 是否显示标题, 默认为 false.
|
|
746
|
-
*
|
|
747
|
-
* @default false
|
|
748
|
-
*/
|
|
749
|
-
isShowTitle?: boolean;
|
|
750
|
-
/**
|
|
751
|
-
* <p>要嵌入的页面位置, 是一个 CSS 选择器, 如: #submit-target-xxx.</p>
|
|
752
|
-
* <p>默认嵌入到表格的底部.</p>
|
|
753
|
-
*/
|
|
754
|
-
target?: string;
|
|
755
|
-
/**
|
|
756
|
-
* 层级, 默认为 3.
|
|
757
|
-
*
|
|
758
|
-
* @default 3
|
|
759
|
-
*/
|
|
760
|
-
zIndex?: number;
|
|
761
|
-
};
|
|
762
|
-
};
|
|
763
|
-
/**
|
|
764
|
-
* 底部按钮区域.
|
|
765
|
-
*/
|
|
766
|
-
footer?: {
|
|
767
|
-
/**
|
|
768
|
-
* 是否显示, 默认为 true.
|
|
769
|
-
*
|
|
770
|
-
* @default true
|
|
771
|
-
*/
|
|
772
|
-
isShow?: boolean;
|
|
773
|
-
};
|
|
774
|
-
/**
|
|
775
|
-
* 确定之后是否关闭弹窗, 默认为 true.
|
|
776
|
-
*
|
|
777
|
-
* @default true
|
|
778
|
-
*/
|
|
779
|
-
isCloseModalAfterOk?: boolean;
|
|
780
|
-
/**
|
|
781
|
-
* 确认按钮.
|
|
782
|
-
*/
|
|
783
|
-
okButton?: {
|
|
784
|
-
/**
|
|
785
|
-
* 是否显示, 默认为 true.
|
|
786
|
-
*
|
|
787
|
-
* @default true
|
|
788
|
-
*/
|
|
789
|
-
isShow?: boolean;
|
|
790
|
-
/**
|
|
791
|
-
* 排序, 默认为 2.
|
|
792
|
-
*
|
|
793
|
-
* @default 2
|
|
794
|
-
*/
|
|
795
|
-
sort?: number;
|
|
796
|
-
/**
|
|
797
|
-
* <p>确认按钮的文本, 实际是一个变量名, 根据变量进行翻译.</p>
|
|
798
|
-
* <p>确认按钮的文本默认为「确定」.</p>
|
|
799
|
-
*/
|
|
800
|
-
textVarName?: string;
|
|
801
|
-
};
|
|
802
|
-
}
|
|
803
|
-
/**
|
|
804
|
-
* <p>额外的配置属性. 对应 {@link VarButton#props} 字段.</p>
|
|
805
|
-
*/
|
|
806
|
-
export interface IKgVarButtonProperties {
|
|
807
|
-
/**
|
|
808
|
-
* 文本提示.
|
|
809
|
-
*/
|
|
810
|
-
tooltip?: TooltipProps;
|
|
811
|
-
}
|
|
812
|
-
/**
|
|
813
|
-
* <p>额外的配置属性. 对应 {@link VarButtonConfig#props} 字段.</p>
|
|
814
|
-
*/
|
|
815
|
-
export interface IKgVarButtonConfigProperties {
|
|
816
|
-
/**
|
|
817
|
-
* 是否显示, 默认为 true.
|
|
818
|
-
*
|
|
819
|
-
* @default true
|
|
820
|
-
*/
|
|
821
|
-
isVisible?: boolean;
|
|
822
|
-
}
|
|
823
|
-
/**
|
|
824
|
-
* <p>额外的配置属性. 对应 {@link VarChildDetail#props} 字段.</p>
|
|
825
|
-
*/
|
|
826
|
-
export interface IKgVarChildDetailProperties {
|
|
827
|
-
}
|
|
828
|
-
/**
|
|
829
|
-
* <p>额外的配置属性. 对应 {@link VarConfigControl#props} 字段.</p>
|
|
830
|
-
*/
|
|
831
|
-
export interface IKgVarConfigControlProperties {
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* <p>额外的配置属性. 对应 {@link VarConfigDescription#props} 字段.</p>
|
|
835
|
-
*/
|
|
836
|
-
export interface IKgVarConfigDescriptionProperties {
|
|
837
|
-
}
|
|
838
|
-
/**
|
|
839
|
-
* <p>额外的配置属性. 对应 {@link VarConfigInput#props} 字段.</p>
|
|
840
|
-
*/
|
|
841
|
-
export interface IKgVarConfigInputProperties {
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* <p>额外的配置属性. 对应 {@link VarConfigLookup#props} 字段.</p>
|
|
845
|
-
*/
|
|
846
|
-
export interface IKgVarConfigLookupProperties {
|
|
847
|
-
/**
|
|
848
|
-
* 查找弹窗组件的参数.
|
|
849
|
-
*/
|
|
850
|
-
KgModal?: KgModalProps;
|
|
851
|
-
}
|
|
852
|
-
/**
|
|
853
|
-
* <p>额外的配置属性. 对应 {@link VarConfigPossibility#props} 字段.</p>
|
|
854
|
-
*/
|
|
855
|
-
export interface IKgVarConfigPossibilityProperties {
|
|
856
|
-
/**
|
|
857
|
-
* 对于级联查询, 当上级为空时, 是否将列表数据设为空. 即必须先选择上级.
|
|
858
|
-
*
|
|
859
|
-
* @default true
|
|
860
|
-
*/
|
|
861
|
-
isEmptyIfParentIsNull?: boolean;
|
|
862
|
-
}
|
|
863
|
-
/**
|
|
864
|
-
* <p>额外的配置属性. 对应 {@link VarConfigTip#props} 字段.</p>
|
|
865
|
-
*/
|
|
866
|
-
export interface IKgVarConfigTipProperties {
|
|
867
|
-
}
|
|
868
|
-
/**
|
|
869
|
-
* <p>额外的配置属性. 对应 {@link VarDda#props} 字段.</p>
|
|
870
|
-
*/
|
|
871
|
-
export interface IKgVarDdaProperties {
|
|
872
|
-
}
|
|
873
|
-
/**
|
|
874
|
-
* <p>额外的配置属性. 对应 {@link VarGridConfig#props} 字段.</p>
|
|
875
|
-
*/
|
|
876
|
-
export interface IKgVarGridConfigProperties {
|
|
877
|
-
/**
|
|
878
|
-
* <p>是否显示边框, 默认为 false.</p>
|
|
879
|
-
* <p>对应 {@link Table.bordered} 组件参数.</p>
|
|
880
|
-
*
|
|
881
|
-
* @default false
|
|
882
|
-
*/
|
|
883
|
-
bordered?: boolean;
|
|
884
|
-
/**
|
|
885
|
-
* 组件版本, 默认为 '01'.
|
|
886
|
-
*
|
|
887
|
-
* @default '01'
|
|
888
|
-
*/
|
|
889
|
-
componentVersion?: '01' | '02' | '03';
|
|
890
|
-
/**
|
|
891
|
-
* <p>是否禁用某行的勾选框.</p>
|
|
892
|
-
* <p>该属性的值是一个字符串, 这个字符串会被作为方法体的代码来解析, 即作为 new Function() 构造函数的最后一个参数.</p>
|
|
893
|
-
* <p>在这个字符串表示的代码中可以访问如下参数:</p>
|
|
894
|
-
* <ul>
|
|
895
|
-
* <li>row: 被判断的行,</li>
|
|
896
|
-
* </ul>
|
|
897
|
-
* <p>该代码需要返回 true 或者 false, 即表示是否禁用勾选框.</p>
|
|
898
|
-
*/
|
|
899
|
-
isCheckboxDisabled?: string;
|
|
900
|
-
/**
|
|
901
|
-
* 是否显示, 默认为 true.
|
|
902
|
-
*
|
|
903
|
-
* @default true
|
|
904
|
-
*/
|
|
905
|
-
isVisible?: boolean;
|
|
906
|
-
}
|
|
907
|
-
/**
|
|
908
|
-
* <p>额外的配置属性. 对应 {@link VarGridDetail#props} 字段.</p>
|
|
909
|
-
*/
|
|
910
|
-
export interface IKgVarGridDetailProperties {
|
|
911
|
-
/**
|
|
912
|
-
* <p>是否进行翻译.</p>
|
|
913
|
-
* <p>如果为 true, 则把内容作为 i18n 的 key 对内容进行翻译.</p>
|
|
914
|
-
*
|
|
915
|
-
* @default false
|
|
916
|
-
*/
|
|
917
|
-
isTranslateText?: boolean;
|
|
918
|
-
}
|
|
919
|
-
/**
|
|
920
|
-
* <p>额外的配置属性. 对应 {@link VarGridMaster#props} 字段.</p>
|
|
921
|
-
*/
|
|
922
|
-
export interface IKgVarGridMasterProperties {
|
|
923
|
-
}
|
|
924
|
-
/**
|
|
925
|
-
* <p>额外的配置属性. 对应 {@link VarProfileConfig#props} 字段.</p>
|
|
926
|
-
*/
|
|
927
|
-
export interface IKgVarProfileConfigProperties {
|
|
928
|
-
/**
|
|
929
|
-
* 高级查询操作符的下拉列表.
|
|
930
|
-
*/
|
|
931
|
-
dynamicQueryOperatorSelect?: {
|
|
932
|
-
/**
|
|
933
|
-
* <p>显示内容.</p>
|
|
934
|
-
* <ul>
|
|
935
|
-
* <li>code: 符号</li>
|
|
936
|
-
* <li>desc: 描述</li>
|
|
937
|
-
* <li>both: 前两者都显示</li>
|
|
938
|
-
* </ul>
|
|
939
|
-
*
|
|
940
|
-
* @default 'code'
|
|
941
|
-
*/
|
|
942
|
-
labelType?: 'code' | 'desc' | 'both';
|
|
943
|
-
};
|
|
944
|
-
}
|
|
945
|
-
/**
|
|
946
|
-
* <p>额外的配置属性. 对应 {@link VarProfileDetail#props} 字段.</p>
|
|
947
|
-
*/
|
|
948
|
-
export interface IKgVarProfileDetailProperties {
|
|
949
|
-
/**
|
|
950
|
-
* 该查询条件属于哪个 WHERE 查询语句.
|
|
951
|
-
*
|
|
952
|
-
* @default 'WHERE'
|
|
953
|
-
*/
|
|
954
|
-
whereSqlName?: 'WHERE' | 'WHERE01' | 'WHERE02' | 'WHERE03' | 'WHERE04' | 'WHERE05';
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* <p>额外的配置属性. 对应 {@link VarProfileMaster#props} 字段.</p>
|
|
958
|
-
*/
|
|
959
|
-
export interface IKgVarProfileMasterProperties {
|
|
960
|
-
}
|
|
961
|
-
/**
|
|
962
|
-
* <p>额外的配置属性. 对应 {@link VarSubmitDetail#props} 字段.</p>
|
|
963
|
-
*/
|
|
964
|
-
export interface IKgVarSubmitDetailProperties {
|
|
965
|
-
/**
|
|
966
|
-
* 是否显示文本标签, 默认为 true. 如果为 false 则文本标签不会显示, 但是文本标签外部容器回显示, 即显示空白的占位.
|
|
967
|
-
*
|
|
968
|
-
* @default true
|
|
969
|
-
*/
|
|
970
|
-
isShowLabel?: boolean;
|
|
971
|
-
/**
|
|
972
|
-
* 是否显示文本标签外部容器, 默认为 true. 如果为 false 则文本标签不会显示, 并且文本标签外部容器也不会显示.
|
|
973
|
-
*
|
|
974
|
-
* @default true
|
|
975
|
-
*/
|
|
976
|
-
isShowLabelContainer?: boolean;
|
|
977
|
-
}
|
|
978
|
-
/**
|
|
979
|
-
* <p>额外的配置属性. 对应 {@link VarVariable#props} 字段.</p>
|
|
980
|
-
*/
|
|
981
|
-
export interface IKgVarVariableProperties {
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* <p>表单控件的参数.</p>
|
|
985
|
-
* <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
|
|
986
|
-
* @see VarConfigControl.ctrl_prop
|
|
987
|
-
* @see KG_CONST.VAR_CONFIG_CONTROL.CONTROL_TYPE
|
|
988
|
-
*/
|
|
989
|
-
export interface IKgVarConfigControlControlProperties {
|
|
990
|
-
CHECKBOX: {
|
|
991
|
-
/**
|
|
992
|
-
* <p>值的类型.</p>
|
|
993
|
-
* <ul>
|
|
994
|
-
* <li>NUMBER: 勾选为 1, 未勾选为 0,</li>
|
|
995
|
-
* <li>BOOLEAN: 勾选为 true, 未勾选为 false,</li>
|
|
996
|
-
* </ul>
|
|
997
|
-
*
|
|
998
|
-
* @default NUMBER
|
|
999
|
-
*/
|
|
1000
|
-
dataType?: 'NUMBER' | 'BOOLEAN';
|
|
1001
|
-
};
|
|
1002
|
-
CHECKBOX_GROUP: {
|
|
1003
|
-
/**
|
|
1004
|
-
* <p>要排除的数据.</p>
|
|
1005
|
-
* <p>这些数据会从列表数据中移除.</p>
|
|
1006
|
-
*/
|
|
1007
|
-
excludeValues?: Array<any>;
|
|
1008
|
-
/**
|
|
1009
|
-
* 是否显示「全选」.
|
|
1010
|
-
*
|
|
1011
|
-
* @default true
|
|
1012
|
-
*/
|
|
1013
|
-
isShowSelectAll?: boolean;
|
|
1014
|
-
/**
|
|
1015
|
-
* 数据项的宽度.
|
|
1016
|
-
*
|
|
1017
|
-
* @default 24
|
|
1018
|
-
*/
|
|
1019
|
-
span?: number;
|
|
1020
|
-
};
|
|
1021
|
-
DATE_RANGE: {
|
|
1022
|
-
/**
|
|
1023
|
-
* <p>是否允许为空.</p>
|
|
1024
|
-
* <p>参考 <a href="https://3x.antdv.com/components/date-picker#RangePicker">https://3x.antdv.com/components/date-picker#RangePicker</a>.</p>
|
|
1025
|
-
*
|
|
1026
|
-
* @default [false, false]
|
|
1027
|
-
*/
|
|
1028
|
-
allowEmpty?: [boolean, boolean];
|
|
1029
|
-
};
|
|
1030
|
-
IMAGE: {
|
|
1031
|
-
/**
|
|
1032
|
-
* 高度.
|
|
1033
|
-
*
|
|
1034
|
-
* @default 100
|
|
1035
|
-
*/
|
|
1036
|
-
height?: number;
|
|
1037
|
-
/**
|
|
1038
|
-
* 宽度.
|
|
1039
|
-
*
|
|
1040
|
-
* @default 100
|
|
1041
|
-
*/
|
|
1042
|
-
width?: number;
|
|
1043
|
-
};
|
|
1044
|
-
RADIO_GROUP: {
|
|
1045
|
-
/**
|
|
1046
|
-
* 数据项的宽度.
|
|
1047
|
-
* @default 24
|
|
1048
|
-
*/
|
|
1049
|
-
span?: number;
|
|
1050
|
-
};
|
|
1051
|
-
SELECT: {
|
|
1052
|
-
/**
|
|
1053
|
-
* <p>是否允许清空.</p>
|
|
1054
|
-
*
|
|
1055
|
-
* @default true
|
|
1056
|
-
*/
|
|
1057
|
-
allowClear?: boolean;
|
|
1058
|
-
};
|
|
1059
|
-
SWITCH: {
|
|
1060
|
-
/**
|
|
1061
|
-
* <p>值的类型.</p>
|
|
1062
|
-
* <ul>
|
|
1063
|
-
* <li>NUMBER: 勾选为 1, 未勾选为 0,</li>
|
|
1064
|
-
* <li>BOOLEAN: 勾选为 true, 未勾选为 false,</li>
|
|
1065
|
-
* </ul>
|
|
1066
|
-
*
|
|
1067
|
-
* @default NUMBER
|
|
1068
|
-
*/
|
|
1069
|
-
dataType?: 'NUMBER' | 'BOOLEAN';
|
|
1070
|
-
};
|
|
1071
|
-
TEXT_AREA: {
|
|
1072
|
-
/**
|
|
1073
|
-
* 文本框的高度.
|
|
1074
|
-
* @default 5
|
|
1075
|
-
*/
|
|
1076
|
-
rows?: number;
|
|
1077
|
-
};
|
|
1078
|
-
}
|
|
1079
|
-
/**
|
|
1080
|
-
* 对应的是 {@link VarGridDetail.display_type_properties} 字段, 根据显示类型, 设置额外的参数.
|
|
1081
|
-
*
|
|
1082
|
-
* @see VarGridDetail.display_type_properties
|
|
1083
|
-
* @see KG__VAR_GRID_DETAIL__DISPLAY_TYPE
|
|
1084
|
-
*/
|
|
1085
|
-
export interface IKgVarGridDetailDisplayTypeProperties {
|
|
1086
|
-
DESC: {
|
|
1087
|
-
description?: {
|
|
1088
|
-
/**
|
|
1089
|
-
* <p>对应的是 {@link Description.codnam}.</p>
|
|
1090
|
-
* <p>当该配置项不为空时, 表示描述来自于系统描述表, 否则来自于 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 对应的列.<p>
|
|
1091
|
-
*/
|
|
1092
|
-
codeName?: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* <p>对应的是 {@link Description.codval}.</p>
|
|
1095
|
-
* <p>默认值为该列的值.</p>
|
|
1096
|
-
* <p>
|
|
1097
|
-
* 可以是一个 JS 表达式, 组件库会解析该表达式, 并得到真正的值. 比如表达式 \`${row.id}\` 表示获取该行的 id 列的值. 表达式中可以使用下列变量:
|
|
1098
|
-
* <ul>
|
|
1099
|
-
* <li>row: 表示该行数据,</li>
|
|
1100
|
-
* </ul>
|
|
1101
|
-
* </p>
|
|
1102
|
-
*/
|
|
1103
|
-
codeValue?: string;
|
|
1104
|
-
/**
|
|
1105
|
-
* <p>是否延迟获取系统描述数据.</p>
|
|
1106
|
-
* <p>默认情况下, 在页面加载后会立即获取 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 对应的系统描述数据. 这种场景适合数据较少的枚举数据.</p>
|
|
1107
|
-
* <p>如果描述数据特别多, 比如每一行的描述都不一样, 则可以将该配置项的值配置为 true, 表示会在表格每次查询的时候, 才去请求这些列表数据对应的系统描述数据.</p>
|
|
1108
|
-
*
|
|
1109
|
-
* @default false
|
|
1110
|
-
*/
|
|
1111
|
-
isDefer?: boolean;
|
|
1112
|
-
};
|
|
1113
|
-
/**
|
|
1114
|
-
* <p>默认情况下, 当原始列的列名为 xyz 时, 描述列的列名为 xyz_dsc 或者 xyzDsc.</p>
|
|
1115
|
-
* <p>通过该配置项可以将描述列的列名配置为其他值.</p>
|
|
1116
|
-
* @default <列名>_dsc 或者 <列名>Dsc
|
|
1117
|
-
*/
|
|
1118
|
-
dscFieldName?: string;
|
|
1119
|
-
/**
|
|
1120
|
-
* 是否显示为一个 Tag 标签.
|
|
1121
|
-
* @default false
|
|
1122
|
-
*/
|
|
1123
|
-
isTag?: boolean;
|
|
1124
|
-
/**
|
|
1125
|
-
* <ul>
|
|
1126
|
-
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么,</li>
|
|
1127
|
-
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 false, 则此属性会被忽略,</li>
|
|
1128
|
-
* </ul>
|
|
1129
|
-
*/
|
|
1130
|
-
tagColors?: Array<{
|
|
1131
|
-
/** 值. */
|
|
1132
|
-
value: any;
|
|
1133
|
-
/**
|
|
1134
|
-
* 颜色.
|
|
1135
|
-
* @default 'default'
|
|
1136
|
-
*/
|
|
1137
|
-
color?: string;
|
|
1138
|
-
}>;
|
|
1139
|
-
};
|
|
1140
|
-
FILE_SIZE: {};
|
|
1141
|
-
ICON: {};
|
|
1142
|
-
IMAGE: {
|
|
1143
|
-
/**
|
|
1144
|
-
* 宽度.
|
|
1145
|
-
*
|
|
1146
|
-
* @default 29
|
|
1147
|
-
*/
|
|
1148
|
-
width?: number;
|
|
1149
|
-
/**
|
|
1150
|
-
* 宽度.
|
|
1151
|
-
*
|
|
1152
|
-
* @default 29
|
|
1153
|
-
*/
|
|
1154
|
-
height?: number;
|
|
1155
|
-
};
|
|
1156
|
-
PROGRESS: {
|
|
1157
|
-
/** 左侧数值对应的列. */
|
|
1158
|
-
leftColumn: string;
|
|
1159
|
-
/** 右侧数值对应的列. */
|
|
1160
|
-
rightColumn: string;
|
|
1161
|
-
/**
|
|
1162
|
-
* 右侧文本的宽度. 例如: "100px".
|
|
1163
|
-
* @default 'auto'
|
|
1164
|
-
*/
|
|
1165
|
-
textWidth?: 'auto' | string;
|
|
1166
|
-
};
|
|
1167
|
-
ROUTE_LINK: {
|
|
1168
|
-
/** 要跳转的路由地址. */
|
|
1169
|
-
path: string;
|
|
1170
|
-
};
|
|
1171
|
-
UPDATE_LINK: {};
|
|
1172
|
-
YN: {
|
|
1173
|
-
/**
|
|
1174
|
-
* 显示为'否'的值.
|
|
1175
|
-
* @default 0
|
|
1176
|
-
*/
|
|
1177
|
-
nValue?: any;
|
|
1178
|
-
/**
|
|
1179
|
-
* 是否将 null/undefined 当成 false.
|
|
1180
|
-
* @default false
|
|
1181
|
-
*/
|
|
1182
|
-
nilAsFalse?: boolean;
|
|
1183
|
-
/**
|
|
1184
|
-
* 显示为'是'的值.
|
|
1185
|
-
* @default 1
|
|
1186
|
-
*/
|
|
1187
|
-
yValue?: any;
|
|
1188
|
-
};
|
|
1189
|
-
}
|
|
1190
|
-
/**
|
|
1191
|
-
* 通用常量.
|
|
1192
|
-
*/
|
|
1193
|
-
export declare const KG_COMMON_CONST: {
|
|
1194
|
-
/**
|
|
1195
|
-
* 用于添加的行.
|
|
1196
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」,
|
|
1197
|
-
* 为了操作方便, 会在表格中始终显示一个特殊的行, 称之为「用于添加的行」, 点击该行左侧的加号就可以添加新的行, 本常量用来作为该特殊的行的 ID.
|
|
1198
|
-
*/
|
|
1199
|
-
__KG__CREATE_ROW_ID__: string;
|
|
1200
|
-
/**
|
|
1201
|
-
* 用户添加的行.
|
|
1202
|
-
* 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
|
|
1203
|
-
*/
|
|
1204
|
-
__KG__CUSTOM_ROW_ID__: string;
|
|
1205
|
-
__KG__NULL__: string;
|
|
1206
|
-
};
|
|
1207
|
-
/**
|
|
1208
|
-
* 状态管理类型定义.
|
|
1209
|
-
*/
|
|
1210
|
-
export declare type KgStoreDefinition<GETTERS, ACTIONS> = (pinia?: Pinia | null | undefined) => GETTERS & ACTIONS & {
|
|
1211
|
-
$onAction(callback: StoreOnActionListener<any, any, any, any>, detached?: boolean): () => void;
|
|
1212
|
-
};
|
|
1213
|
-
/**
|
|
1214
|
-
* 在表格内创建时, 空白行的临时主键.
|
|
1215
|
-
*/
|
|
1216
|
-
export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
|