@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
|
@@ -32,74 +32,76 @@ export declare function transformVarProfileDetails(varProfileDetails?: Array<Var
|
|
|
32
32
|
*/
|
|
33
33
|
export declare function createDefaultVarSubmitDetailsForVarProfileDetails(varGridMasters: Array<VarProfileMasterDTO>, varSubmitDetails: Array<VarSubmitDetail>, varButtons: Array<VarButton>): void;
|
|
34
34
|
export interface UseKgVarStoreGetters {
|
|
35
|
-
/**
|
|
36
|
-
|
|
35
|
+
/**
|
|
36
|
+
* 获取当前「表格视图」的主键.
|
|
37
|
+
*/
|
|
38
|
+
getCurrentVarGridMasterID: (fid: string | null | undefined) => string | null;
|
|
37
39
|
/**
|
|
38
40
|
* 获取当前的「查询条件」.
|
|
39
41
|
*/
|
|
40
|
-
getCurrentVarProfileMaster: (
|
|
42
|
+
getCurrentVarProfileMaster: (fid: string | null | undefined) => VarProfileMasterDTO | null;
|
|
41
43
|
/** 获取当前 VarProfileMaster 的 ID. */
|
|
42
|
-
getCurrentVarProfileMasterID: (
|
|
44
|
+
getCurrentVarProfileMasterID: (fid: string | null | undefined) => string | null;
|
|
43
45
|
getIsRequestedMap: Record<string, boolean>;
|
|
44
46
|
/**
|
|
45
47
|
* 获取界面层级.
|
|
46
48
|
*/
|
|
47
|
-
getLevel: (
|
|
48
|
-
|
|
49
|
-
getProps: (
|
|
50
|
-
getSlots: (
|
|
49
|
+
getLevel: (fid: string | null | undefined) => number;
|
|
50
|
+
getParentKgVar: (fid: string | null | undefined) => IUseKgVar | null;
|
|
51
|
+
getProps: (fid: string | null | undefined) => IKgProps | null;
|
|
52
|
+
getSlots: (fid: string | null | undefined) => IKgSlots | null;
|
|
51
53
|
/**
|
|
52
54
|
* 和 varName 获取 VarButton.
|
|
53
55
|
*/
|
|
54
|
-
getVarButton: (
|
|
55
|
-
getVarButtonConfig: (
|
|
56
|
+
getVarButton: (fid: string | null | undefined, varName: string | null | undefined) => VarButton | null;
|
|
57
|
+
getVarButtonConfig: (fid: string | null | undefined) => VarButtonConfig | null;
|
|
56
58
|
getVarButtonConfigMap: Record<string, VarButtonConfig | null>;
|
|
57
|
-
getVarButtonCopy: (
|
|
58
|
-
getVarButtonCreate: (
|
|
59
|
-
getVarButtonDelete: (
|
|
59
|
+
getVarButtonCopy: (fid: string | null | undefined) => VarButton | null;
|
|
60
|
+
getVarButtonCreate: (fid: string | null | undefined) => VarButton | null;
|
|
61
|
+
getVarButtonDelete: (fid: string | null | undefined) => VarButton | null;
|
|
60
62
|
getVarButtonMap: Record<string, Array<VarButton>>;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
getVarButtons: (
|
|
64
|
-
getVarChildDetails: (
|
|
65
|
-
getVarConfigControl: (
|
|
63
|
+
getVarButtonSearch: (fid: string | null | undefined) => VarButton | null;
|
|
64
|
+
getVarButtonUpdate: (fid: string | null | undefined) => VarButton | null;
|
|
65
|
+
getVarButtons: (fid: string | null | undefined) => Array<VarButton>;
|
|
66
|
+
getVarChildDetails: (fid: string | null | undefined) => Array<VarChildDetail>;
|
|
67
|
+
getVarConfigControl: (fid: string | null | undefined, param: {
|
|
66
68
|
buttonType?: KG__VAR_BUTTON__TYPE;
|
|
67
69
|
buttonVarName?: string | null;
|
|
68
70
|
varName: string | null | undefined;
|
|
69
71
|
}) => VarConfigControl | null;
|
|
70
|
-
getVarConfigInput: (
|
|
71
|
-
getVarConfigLookup: (
|
|
72
|
-
getVarConfigPossibility: (
|
|
72
|
+
getVarConfigInput: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigInput | null;
|
|
73
|
+
getVarConfigLookup: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
|
|
74
|
+
getVarConfigPossibility: (fid: string | null | undefined, param: {
|
|
73
75
|
varName: string | null | undefined;
|
|
74
76
|
}) => VarConfigPossibility | null;
|
|
75
|
-
getVarConfigTip: (
|
|
76
|
-
getVarDda: (
|
|
77
|
+
getVarConfigTip: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
|
|
78
|
+
getVarDda: (fid: string | null | undefined) => VarDda | null;
|
|
77
79
|
/**
|
|
78
80
|
* 获取'表格配置'.
|
|
79
81
|
*/
|
|
80
|
-
getVarGridConfig: (
|
|
82
|
+
getVarGridConfig: (fid: string | null | undefined) => VarGridConfig | null;
|
|
81
83
|
/** 获取所有的 VarGridConfig. */
|
|
82
84
|
getVarGridConfigMap: Record<string, VarGridConfig | null>;
|
|
83
|
-
getVarGridDetail: (
|
|
85
|
+
getVarGridDetail: (fid: string | null | undefined, param: {
|
|
84
86
|
varName: string | null | undefined;
|
|
85
87
|
}) => VarGridDetail | null;
|
|
86
88
|
/**
|
|
87
89
|
* 获取当前的「表格视图明细」列表.
|
|
88
90
|
*/
|
|
89
|
-
getVarGridDetailList: (
|
|
91
|
+
getVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
|
|
90
92
|
/**
|
|
91
93
|
* 获取当前的「表格视图」.
|
|
92
94
|
*/
|
|
93
|
-
getVarGridMaster: (
|
|
95
|
+
getVarGridMaster: (fid: string | null | undefined) => VarGridMasterDTO | null;
|
|
94
96
|
/**
|
|
95
97
|
* 获取 VarGridMaster 列表.
|
|
96
98
|
*/
|
|
97
|
-
getVarGridMasters: (
|
|
98
|
-
getVarProfileConfig: (
|
|
99
|
+
getVarGridMasters: (fid: string | null | undefined) => Array<VarGridMasterDTO> | null;
|
|
100
|
+
getVarProfileConfig: (fid: string | null | undefined) => VarProfileConfig | null;
|
|
99
101
|
/**
|
|
100
102
|
* 和 varName 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
|
|
101
103
|
*/
|
|
102
|
-
getVarProfileDetail: (
|
|
104
|
+
getVarProfileDetail: (fid: string | null | undefined, varName: string | null | undefined) => VarProfileDetail | null;
|
|
103
105
|
getVarProfileMasterMap: Record<string, {
|
|
104
106
|
varProfileMasters: Array<VarProfileMasterDTO> | null;
|
|
105
107
|
/** 当前选中的 VarProfileMaster ID. */
|
|
@@ -108,29 +110,29 @@ export interface UseKgVarStoreGetters {
|
|
|
108
110
|
/**
|
|
109
111
|
* 获取 VarProfileMasterDTO 列表.
|
|
110
112
|
*/
|
|
111
|
-
getVarProfileMasters: (
|
|
113
|
+
getVarProfileMasters: (fid: string | null | undefined) => Array<VarProfileMasterDTO> | null;
|
|
112
114
|
getVarSubmitConfigMap: Record<string, Array<VarSubmitConfig>>;
|
|
113
115
|
getVarSubmitDetailMap: Record<string, Array<VarSubmitDetail>>;
|
|
114
|
-
getVarVariables: (
|
|
116
|
+
getVarVariables: (fid: string | null | undefined) => Array<VarVariable>;
|
|
115
117
|
/**
|
|
116
118
|
* 获取当前视图下可显示的 VarGridDetail 列表.
|
|
117
119
|
*/
|
|
118
|
-
getVisibleVarGridDetailList: (
|
|
120
|
+
getVisibleVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
|
|
119
121
|
/**
|
|
120
122
|
* 获取当前视图下可显示的 VarGridDetail 的宽度之和.
|
|
121
123
|
*/
|
|
122
|
-
getVisibleVarGridDetailListTotalWidth: (
|
|
123
|
-
isCopyingRequesting: (
|
|
124
|
-
isCreatingRequesting: (
|
|
125
|
-
isDeletingRequesting: (
|
|
126
|
-
isOtherRequesting: (
|
|
124
|
+
getVisibleVarGridDetailListTotalWidth: (fid: string | null | undefined) => number | null;
|
|
125
|
+
isCopyingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
126
|
+
isCreatingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
127
|
+
isDeletingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
128
|
+
isOtherRequesting: (fid: string | null | undefined) => boolean | null;
|
|
127
129
|
/** 变量配置是否查询完成. */
|
|
128
|
-
isRequested: (
|
|
129
|
-
isRetrieving: (
|
|
130
|
-
isRetrievingVarGridMaster: (
|
|
131
|
-
isRetrievingVarProfileMaster: (
|
|
132
|
-
isUpdatingRequesting: (
|
|
133
|
-
t: (
|
|
130
|
+
isRequested: (fid: string | null | undefined) => boolean;
|
|
131
|
+
isRetrieving: (fid: string | null | undefined) => boolean | null;
|
|
132
|
+
isRetrievingVarGridMaster: (fid: string | null | undefined) => boolean | null;
|
|
133
|
+
isRetrievingVarProfileMaster: (fid: string | null | undefined) => boolean | null;
|
|
134
|
+
isUpdatingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
135
|
+
t: (fid: string | null | undefined, varName: string | null | undefined) => string;
|
|
134
136
|
}
|
|
135
137
|
export interface IUseKgVarStoreActions {
|
|
136
138
|
createVarConfigControl(varConfigControl: VarConfigControl): void;
|
|
@@ -140,19 +142,19 @@ export interface IUseKgVarStoreActions {
|
|
|
140
142
|
* <p>离开一个界面, 即销毁一个界面.</p>
|
|
141
143
|
* <p>删除它的变量配置数据.</p>
|
|
142
144
|
*
|
|
143
|
-
* @param
|
|
145
|
+
* @param fid 界面标识.
|
|
144
146
|
*/
|
|
145
|
-
dispose(
|
|
147
|
+
dispose(fid: string): void;
|
|
146
148
|
/**
|
|
147
149
|
* 拖拽排序 VarGridDetail 列表.
|
|
148
|
-
* @param
|
|
150
|
+
* @param fid 界面标识.
|
|
149
151
|
* @param fromVarName 被拽起的变量名称
|
|
150
152
|
* @param toVarName 被放下的变量名称.
|
|
151
153
|
*/
|
|
152
|
-
dragSortCurrentVarGridDetails(
|
|
154
|
+
dragSortCurrentVarGridDetails(fid: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
|
|
153
155
|
/**
|
|
154
156
|
* 进入一个界面. 同一个界面不允许进入多次.
|
|
155
|
-
* @param param.
|
|
157
|
+
* @param param.fid 界面标识.
|
|
156
158
|
* @param param.level 界面层级.
|
|
157
159
|
*/
|
|
158
160
|
init(param: {
|
|
@@ -162,106 +164,106 @@ export interface IUseKgVarStoreActions {
|
|
|
162
164
|
/**
|
|
163
165
|
* 修改 VarButton 的部分属性.
|
|
164
166
|
*
|
|
165
|
-
* @param
|
|
167
|
+
* @param fid 界面标识.
|
|
166
168
|
* @param param
|
|
167
169
|
* @param param.varName 变量名称.
|
|
168
170
|
* @param param.properties 要修改的部分属性.
|
|
169
171
|
*/
|
|
170
|
-
patchVarButton(
|
|
172
|
+
patchVarButton(fid: string | null | undefined, param: {
|
|
171
173
|
properties: VarButton;
|
|
172
174
|
varName: string | null | undefined;
|
|
173
175
|
}): Promise<void>;
|
|
174
176
|
/**
|
|
175
177
|
* 修改「表格配置」的部分属性.
|
|
176
178
|
*
|
|
177
|
-
* @param
|
|
179
|
+
* @param fid 界面标识.
|
|
178
180
|
* @param param
|
|
179
181
|
* @param param.properties 要修改的部分属性.
|
|
180
182
|
*/
|
|
181
|
-
patchVarGridConfig(
|
|
183
|
+
patchVarGridConfig(fid: string | null | undefined, param: {
|
|
182
184
|
properties: VarGridConfig;
|
|
183
185
|
}): Promise<void>;
|
|
184
186
|
/**
|
|
185
187
|
* 修改当前的「表格视图明细」的部分属性.
|
|
186
188
|
*
|
|
187
|
-
* @param
|
|
189
|
+
* @param fid 界面标识.
|
|
188
190
|
* @param param
|
|
189
191
|
* @param param.varName 变量名称.
|
|
190
192
|
* @param param.properties 要修改的部分属性.
|
|
191
193
|
*/
|
|
192
|
-
patchVarGridDetail(
|
|
194
|
+
patchVarGridDetail(fid: string | null | undefined, param: {
|
|
193
195
|
properties: VarGridDetail;
|
|
194
196
|
varName: string | null | undefined;
|
|
195
197
|
}): Promise<void>;
|
|
196
198
|
/**
|
|
197
199
|
* 修改当前的「表格视图」的部分属性.
|
|
198
200
|
*
|
|
199
|
-
* @param
|
|
201
|
+
* @param fid 界面标识.
|
|
200
202
|
* @param param
|
|
201
203
|
* @param param.properties 要修改的部分属性.
|
|
202
204
|
*/
|
|
203
|
-
patchVarGridMaster(
|
|
205
|
+
patchVarGridMaster(fid: string | null | undefined, param: {
|
|
204
206
|
properties: VarGridMasterDTO;
|
|
205
207
|
}): Promise<void>;
|
|
206
208
|
/**
|
|
207
209
|
* 修改 VarConfigPossibility 的接口参数 cmd_prm 的部分属性.
|
|
208
|
-
* @param
|
|
210
|
+
* @param fid 界面标识.
|
|
209
211
|
* @param varName 变量名称
|
|
210
212
|
* @param properties 要修改的部分属性.
|
|
211
213
|
*/
|
|
212
|
-
patchVarPossibilityCommandParameter(
|
|
214
|
+
patchVarPossibilityCommandParameter(fid: string | null | undefined, varName: string | null | undefined, properties: Record<string, any>): Promise<void>;
|
|
213
215
|
/**
|
|
214
216
|
* 修改 VarProfileDetail 的部分属性.
|
|
215
217
|
*
|
|
216
|
-
* @param
|
|
218
|
+
* @param fid 界面标识.
|
|
217
219
|
* @param varName 变量名称.
|
|
218
220
|
* @param properties 要修改的部分属性.
|
|
219
221
|
*/
|
|
220
|
-
patchVarProfileDetail(
|
|
222
|
+
patchVarProfileDetail(fid: string, varName: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
|
221
223
|
/**
|
|
222
224
|
* 查询所有变量配置.
|
|
223
225
|
*
|
|
224
|
-
* @param
|
|
226
|
+
* @param fid 界面标识.
|
|
225
227
|
* @param param 参数.
|
|
226
228
|
* @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
|
|
227
229
|
*/
|
|
228
|
-
requestAll(
|
|
230
|
+
requestAll(fid: string | null | undefined, param?: {
|
|
229
231
|
isForceRequest?: boolean;
|
|
230
232
|
}): Promise<void>;
|
|
231
233
|
/**
|
|
232
234
|
* 设置当前「表格视图」的 ID.
|
|
233
235
|
*
|
|
234
|
-
* @param
|
|
236
|
+
* @param fid 界面标识.
|
|
235
237
|
* @param currentVarGridMasterID 当前选择的表格视图的 ID.
|
|
236
238
|
*/
|
|
237
|
-
setCurrentVarGridMasterID(
|
|
239
|
+
setCurrentVarGridMasterID(fid?: string | null, currentVarGridMasterID?: string | null): Promise<void>;
|
|
238
240
|
/**
|
|
239
241
|
* 设置当前选择的查询条件的 ID.
|
|
240
|
-
* @param
|
|
242
|
+
* @param fid 界面标识.
|
|
241
243
|
* @param currentVarProfileMasterID 当前选择的查询条件的 ID.
|
|
242
244
|
*/
|
|
243
|
-
setCurrentVarProfileMasterID(
|
|
244
|
-
setIsCopyingRequesting(
|
|
245
|
-
setIsCreatingRequesting(
|
|
246
|
-
setIsDeletingRequesting(
|
|
247
|
-
setIsOtherRequesting(
|
|
248
|
-
setIsUpdatingRequesting(
|
|
249
|
-
setProps(
|
|
250
|
-
setSlots(
|
|
245
|
+
setCurrentVarProfileMasterID(fid?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
|
|
246
|
+
setIsCopyingRequesting(fid: string, value: boolean): void;
|
|
247
|
+
setIsCreatingRequesting(fid: string, value: boolean): void;
|
|
248
|
+
setIsDeletingRequesting(fid: string, value: boolean): void;
|
|
249
|
+
setIsOtherRequesting(fid: string, value: boolean): void;
|
|
250
|
+
setIsUpdatingRequesting(fid: string, value: boolean): void;
|
|
251
|
+
setProps(fid: string, value: IKgProps): void;
|
|
252
|
+
setSlots(fid: string, value: IKgSlots): void;
|
|
251
253
|
/**
|
|
252
254
|
* 设置某个「变量配置:列表数据」.
|
|
253
255
|
*
|
|
254
|
-
* @param
|
|
256
|
+
* @param fid 界面标识.
|
|
255
257
|
* @param varName 变量名称
|
|
256
258
|
* @param varConfigPossibility 配置.
|
|
257
259
|
*/
|
|
258
|
-
setVarPossibility(
|
|
260
|
+
setVarPossibility(fid: string | null | undefined, varName: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
|
|
259
261
|
/**
|
|
260
262
|
* 设置查询字段是否启用.
|
|
261
|
-
* @param
|
|
263
|
+
* @param fid 界面标识.
|
|
262
264
|
* @param varName 变量名称.
|
|
263
265
|
* @param enable 是否启用.
|
|
264
266
|
*/
|
|
265
|
-
setVarProfileDetailEnable(
|
|
267
|
+
setVarProfileDetailEnable(fid: string, varName: string | null | undefined, enable: number): void;
|
|
266
268
|
}
|
|
267
269
|
export declare const useKgVarStore: KgStoreDefinition<UseKgVarStoreGetters, IUseKgVarStoreActions>;
|
|
@@ -4,14 +4,14 @@ import { VarProfileDetail } from '../../../../api/WMS/models';
|
|
|
4
4
|
/**
|
|
5
5
|
* 字段表格的列:左侧.
|
|
6
6
|
*
|
|
7
|
-
* @param
|
|
7
|
+
* @param hostFid 宿主界面标识.
|
|
8
8
|
*/
|
|
9
|
-
export declare function leftVarProfileDetailColumns(
|
|
9
|
+
export declare function leftVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
|
|
10
10
|
/**
|
|
11
11
|
* 字段表格的列:右侧.
|
|
12
12
|
*
|
|
13
|
-
* @param
|
|
13
|
+
* @param hostFid 宿主界面标识.
|
|
14
14
|
*/
|
|
15
|
-
export declare function rightVarProfileDetailColumns(
|
|
15
|
+
export declare function rightVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
|
|
16
16
|
export declare type IUseDragRow = {};
|
|
17
|
-
export declare function _useDragToSortRow(
|
|
17
|
+
export declare function _useDragToSortRow(hostFid: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
|
@@ -9,15 +9,15 @@ export declare type IUseTransferColumns = {
|
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @param
|
|
12
|
+
* @param hostFid 宿主页面标识.
|
|
13
13
|
* @param varGridDetails
|
|
14
14
|
*/
|
|
15
|
-
export declare function _useTransferColumns(
|
|
15
|
+
export declare function _useTransferColumns(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
|
16
16
|
export declare type IUseDragRow = {};
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
|
-
* @param
|
|
19
|
+
* @param hostFid 宿主页面标识.
|
|
20
20
|
* @param varGridDetails
|
|
21
21
|
* @param transferRightRows
|
|
22
22
|
*/
|
|
23
|
-
export declare function _useDragToSortRow(
|
|
23
|
+
export declare function _useDragToSortRow(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export * from './KgAppSelect';
|
|
2
2
|
export * from './KgCanvas';
|
|
3
|
+
export * from './KgCircularShuttleMonitor';
|
|
3
4
|
export * from './KgImage';
|
|
4
5
|
export * from './KgLayoutHeader';
|
|
5
6
|
export * from './KgModal';
|
|
7
|
+
export * from './KgModal02';
|
|
6
8
|
export * from './KgProgressA';
|
|
7
9
|
export * from './KgResizable';
|
|
8
10
|
export * from './KgSearch';
|
|
11
|
+
export * from './KgSimulator';
|
|
9
12
|
export * from './KgSubmit';
|
|
10
13
|
export * from './KgTable';
|
|
11
14
|
export * from './KgVar';
|
|
@@ -13,8 +16,6 @@ export * from './KgVarConfig';
|
|
|
13
16
|
export * from './KgWarehouse';
|
|
14
17
|
export * from './KgYesOrNo';
|
|
15
18
|
export * from './KgButton';
|
|
16
|
-
export { default as KgButton } from './KgButton';
|
|
17
19
|
export * from './KgForm';
|
|
18
|
-
export { default as KgForm } from './KgForm';
|
|
19
20
|
export * from './KgForm.Item';
|
|
20
21
|
export { Q } from '@thymine/xunee';
|
|
@@ -153,8 +153,8 @@ export declare type IKgOption = {
|
|
|
153
153
|
/**
|
|
154
154
|
* 数据库的类型.
|
|
155
155
|
*
|
|
156
|
-
* @see {@link
|
|
157
|
-
* @default {@link
|
|
156
|
+
* @see {@link KG.DB_TYPE}
|
|
157
|
+
* @default {@link KG.DB_TYPE.SQLSERVER}
|
|
158
158
|
*/
|
|
159
159
|
dbType?: string;
|
|
160
160
|
/**
|
|
@@ -271,10 +271,10 @@ export interface IUseKgStoreActions {
|
|
|
271
271
|
/**
|
|
272
272
|
* 请求某组变量描述数据.
|
|
273
273
|
*
|
|
274
|
-
* @param param.
|
|
274
|
+
* @param param.fid 界面标识.
|
|
275
275
|
*/
|
|
276
276
|
requestVarConfigDescriptionList(param: {
|
|
277
|
-
|
|
277
|
+
fid: string | null | undefined;
|
|
278
278
|
}): Promise<void>;
|
|
279
279
|
/**
|
|
280
280
|
* 设置某组描述的数据.
|
|
@@ -4,13 +4,8 @@ import { Router } from 'vue-router';
|
|
|
4
4
|
import { LocaleType } from '../project/types/config';
|
|
5
5
|
import { IKgOption, P } from './config.store';
|
|
6
6
|
import '@kengic/core.react/index.css';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* 由于许多数据是由项目维护的, 组件库需要用到这些数据, 则必须让项目调用下面的这些配置方法, 将这些数据设置进来.
|
|
11
|
-
*/
|
|
12
|
-
export declare const pinia: import("pinia").Pinia;
|
|
13
|
-
export declare type IKgOptions = {
|
|
7
|
+
declare const pinia: import("pinia").Pinia;
|
|
8
|
+
declare type IKgSetupParameter = {
|
|
14
9
|
app: App;
|
|
15
10
|
i18n: any;
|
|
16
11
|
/** 配置参数. */
|
|
@@ -23,16 +18,18 @@ export declare type IKgOptions = {
|
|
|
23
18
|
/** 状态数据: 用户. */
|
|
24
19
|
useUserStore: StoreDefinition<any, any, any, any>;
|
|
25
20
|
};
|
|
21
|
+
/** @deprecated 已废弃, 请使用 {@link IKgSetupParameter} */
|
|
22
|
+
declare type IKgOptions = IKgSetupParameter;
|
|
26
23
|
/**
|
|
27
24
|
* 初始.
|
|
28
25
|
*
|
|
29
|
-
* @param
|
|
26
|
+
* @param param 选项参数.
|
|
30
27
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
declare function setup(param: IKgSetupParameter): Promise<void>;
|
|
29
|
+
declare type IKgConfigParameter = {
|
|
33
30
|
app: App<Element>;
|
|
34
31
|
axios: any;
|
|
35
|
-
i18n
|
|
32
|
+
i18n?: {
|
|
36
33
|
/**
|
|
37
34
|
* 语言数据.
|
|
38
35
|
*/
|
|
@@ -48,10 +45,19 @@ export declare type KgConfig = {
|
|
|
48
45
|
*/
|
|
49
46
|
defaultLocale?: LocaleType;
|
|
50
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* 是否请求翻译数据.
|
|
50
|
+
*
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
isRequestDescriptionList?: boolean;
|
|
51
54
|
};
|
|
52
55
|
/**
|
|
53
56
|
* 配置.
|
|
54
57
|
*
|
|
55
|
-
* @param
|
|
58
|
+
* @param param 配置.
|
|
56
59
|
*/
|
|
57
|
-
|
|
60
|
+
declare function kgConfig(param: IKgConfigParameter): Promise<void>;
|
|
61
|
+
export * from './config.hooks';
|
|
62
|
+
export * from './config.store';
|
|
63
|
+
export { pinia, type IKgSetupParameter, type IKgOptions, type IKgConfigParameter, kgConfig, setup };
|