@kengic/vue 0.26.6-beta.6 → 0.26.6-beta.61
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/close-outlined-DMcSQWxQ.17f7a6c8.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.5fa12723.mjs +8 -0
- package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.8cb0a277.mjs +8 -0
- package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +50823 -38845
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +51 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
- package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +9 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +54 -0
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +11 -0
- package/dist/src/apis/WMS/index.d.ts +2 -0
- package/dist/src/apis/WMS/models.d.ts +1018 -0
- package/dist/src/apis/api.d.ts +1 -0
- package/dist/src/apis/def.d.ts +1 -0
- package/dist/src/apis/index.d.ts +2 -0
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
- package/dist/src/components/KgAppSelect/index.d.ts +3 -0
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
- package/dist/src/components/KgAppSelect/index.store.d.ts +74 -0
- package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
- package/dist/src/components/KgButton/KgButton.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +40 -0
- package/dist/src/components/KgButton/index.d.ts +62 -0
- package/dist/src/components/KgButton/index.hooks.d.ts +183 -0
- package/dist/src/components/KgButton/index.store.d.ts +116 -0
- package/dist/src/components/KgCanvas/KgCanvas.d.ts +122 -0
- package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +43 -0
- package/dist/src/components/KgCanvas/KgCanvasContextMenu.d.ts +107 -0
- package/dist/src/components/KgCanvas/KgCanvasToolbarFullscreen.d.ts +8 -0
- package/dist/src/components/KgCanvas/KgCanvasTooltip.d.ts +31 -0
- package/dist/src/components/KgCanvas/index.d.ts +4 -0
- package/dist/src/components/KgCanvas/index.hooks.d.ts +67 -0
- package/dist/src/components/KgCanvas/index.store.d.ts +239 -0
- package/dist/src/components/KgForm/KgForm.d.ts +414 -0
- package/dist/src/components/KgForm/index.d.ts +604 -0
- package/dist/src/components/KgForm/index.hooks.d.ts +73 -0
- package/dist/src/components/KgForm/index.store.d.ts +221 -0
- package/dist/src/components/KgForm/index.vm.d.ts +9 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +97 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +17 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +31 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +100 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +97 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +97 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +92 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +96 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +96 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +96 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +96 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +98 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +29 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +96 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +96 -0
- package/dist/src/components/KgForm.Item/index.d.ts +2 -0
- package/dist/src/components/KgForm.Item/index.vm.d.ts +124 -0
- package/dist/src/components/KgImage/KgImage.d.ts +100 -0
- package/dist/src/components/KgImage/index.d.ts +1 -0
- package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
- package/dist/src/components/KgLayoutHeader/index.d.ts +2 -0
- package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +4 -0
- package/dist/src/components/KgModal/KgModal.d.ts +823 -0
- package/dist/src/components/KgModal/KgModalHeaderButtons.d.ts +92 -0
- package/dist/src/components/KgModal/hooks/useDragToMove.d.ts +12 -0
- package/dist/src/components/KgModal/hooks/useDragToResize.d.ts +29 -0
- package/dist/src/components/KgModal/index.d.ts +1 -0
- package/dist/src/components/KgModal/index.vm.d.ts +8 -0
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
- package/dist/src/components/KgProgressA/index.d.ts +1 -0
- package/dist/src/components/KgResizable/KgResizable.d.ts +91 -0
- package/dist/src/components/KgResizable/KgResizable.service.d.ts +12 -0
- package/dist/src/components/KgResizable/index.d.ts +1 -0
- package/dist/src/components/KgSearch/KgSearch.d.ts +26 -0
- package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -0
- package/dist/src/components/KgSearch/index.d.ts +3 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +67 -0
- package/dist/src/components/KgSearch/index.store.d.ts +147 -0
- package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
- package/dist/src/components/KgStation/KgStation.d.ts +47 -0
- package/dist/src/components/KgStation/index.d.ts +3 -0
- package/dist/src/components/KgStation/index.hooks.d.ts +29 -0
- package/dist/src/components/KgStation/index.store.d.ts +45 -0
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +21 -0
- package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +29 -0
- package/dist/src/components/KgSubmit/index.d.ts +4 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +295 -0
- package/dist/src/components/KgSubmit/index.store.d.ts +194 -0
- package/dist/src/components/KgSubmit/index.vm.d.ts +57 -0
- package/dist/src/components/KgTable/KgTable.d.ts +39 -0
- package/dist/src/components/KgTable/KgTable.service.d.ts +34 -0
- package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +60 -0
- package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +52 -0
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +57 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +21 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +22 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +16 -0
- package/dist/src/components/KgTable/index.d.ts +4 -0
- package/dist/src/components/KgTable/index.hooks.d.ts +148 -0
- package/dist/src/components/KgTable/index.store.d.ts +241 -0
- package/dist/src/components/KgTable/index.vm.d.ts +67 -0
- package/dist/src/components/KgVar/KgVar.d.ts +114 -0
- package/dist/src/components/KgVar/KgVarFactory.d.ts +61 -0
- package/dist/src/components/KgVar/index.d.ts +5 -0
- package/dist/src/components/KgVar/index.hooks.d.ts +189 -0
- package/dist/src/components/KgVar/index.store.d.ts +266 -0
- package/dist/src/components/KgVar/index.store.service.d.ts +30 -0
- package/dist/src/components/KgVar/index.vm.d.ts +57 -0
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfigModal.d.ts +15 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
- package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
- package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
- package/dist/src/components/KgVarConfig/index.d.ts +3 -0
- package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +16 -0
- package/dist/src/components/KgVarConfig/index.vm.d.ts +50 -0
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +47 -0
- package/dist/src/components/KgWarehouse/index.d.ts +4 -0
- package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
- package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
- package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +21 -0
- package/dist/src/components/util.d.ts +14 -0
- package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +2 -0
- package/dist/src/components-next/KgVarConfig/index.d.ts +1 -0
- package/dist/src/components-next/index.d.ts +1 -0
- package/dist/src/config/index.d.ts +3 -0
- package/dist/src/config/index.hooks.d.ts +36 -0
- package/dist/src/config/index.store.d.ts +315 -0
- package/dist/src/config/setup/index.d.ts +3 -0
- package/dist/src/config/setup/setup.d.ts +28 -0
- package/dist/src/config/setup/setupKgLocale.d.ts +29 -0
- package/dist/src/config/setup/setupKgStore.d.ts +18 -0
- package/dist/src/consts/i18n/en.d.ts +274 -0
- package/dist/src/consts/i18n/es_ES.d.ts +274 -0
- package/dist/src/consts/i18n/fr_FR.d.ts +274 -0
- package/dist/src/consts/i18n/index.d.ts +2 -0
- package/dist/src/consts/i18n/km_KH.d.ts +274 -0
- package/dist/src/consts/i18n/ko_KR.d.ts +274 -0
- package/dist/src/consts/i18n/vi_VN.d.ts +274 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +274 -0
- package/dist/src/consts/index.d.ts +3 -0
- package/dist/src/consts/index.vm.d.ts +733 -0
- package/dist/src/consts/injection-keys.const.d.ts +9 -0
- package/dist/src/helpers/ant-design-vue.d.ts +347 -0
- package/dist/src/helpers/tsx.helper.d.ts +23 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +33 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +1322 -0
- package/dist/src/pages/KgPageDda/index.d.ts +5 -0
- package/dist/src/pages/KgPageDda/index.vm.d.ts +12 -0
- package/dist/src/pages/index.d.ts +8 -0
- package/dist/src/project/build/getConfigFileName.d.ts +5 -0
- package/dist/src/project/build/index.d.ts +1 -0
- package/dist/src/project/index.d.ts +3 -0
- package/dist/src/project/types/axios.d.ts +35 -0
- package/dist/src/project/types/config.d.ts +121 -0
- package/dist/src/project/types/index.d.ts +4 -0
- package/dist/src/project/types/store.d.ts +42 -0
- package/dist/src/project/types/utils.d.ts +4 -0
- package/dist/src/services/http-client.d.ts +93 -0
- package/dist/src/services/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts +6 -0
- package/dist/src/utils/kg-auth.util.d.ts +26 -0
- package/dist/src/utils/kg-dom.util.d.ts +12 -0
- package/dist/src/utils/kg-logger.util.d.ts +69 -0
- package/dist/src/utils/kg-route.util.d.ts +57 -0
- package/dist/src/utils/kg-var.util.d.ts +76 -0
- package/dist/src/utils/kg.util.d.ts +150 -0
- package/package.json +30 -19
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
+
import { Ref, UnwrapRef } from 'vue';
|
3
|
+
import { VarProfileDetail } from '../../../../apis/WMS/models';
|
4
|
+
export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
5
|
+
export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
6
|
+
export declare type IUseDragRow = {};
|
7
|
+
export declare function _useDragToSortRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
5
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
3
|
+
export declare type KgVarConfigModalSubmitVarSubmitConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
7
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
3
|
+
export declare type IKgVarConfigModalSubmitVarSubmitDetailProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
7
|
+
export default _default;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
5
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
3
|
+
export declare type KgVarConfigModalTableVarGridConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
7
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const getProps: () => any;
|
3
|
+
export declare type KgVarConfigModalTableVarGridMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
|
+
[x: string]: any;
|
6
|
+
}>;
|
7
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
+
import { Ref, UnwrapRef } from 'vue';
|
3
|
+
import { VarGridDetail } from '../../../../apis/WMS/models';
|
4
|
+
export declare type IUseTransferColumns = {
|
5
|
+
/** 左侧表格的列. */
|
6
|
+
leftColumns: () => ColumnsType<VarGridDetail>;
|
7
|
+
/** 右侧表格的列. */
|
8
|
+
rightColumns: () => ColumnsType<VarGridDetail>;
|
9
|
+
};
|
10
|
+
/**
|
11
|
+
*
|
12
|
+
* @param hostFormID 宿主页面标识.
|
13
|
+
* @param varGridDetails
|
14
|
+
*/
|
15
|
+
export declare function _useTransferColumns(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
16
|
+
export declare type IUseDragRow = {};
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @param hostFormID 宿主页面标识.
|
20
|
+
* @param varGridDetails
|
21
|
+
* @param transferRightRows
|
22
|
+
*/
|
23
|
+
export declare function _useDragToSortRow(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const getProps: () => any;
|
2
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
+
[x: string]: any;
|
4
|
+
}>;
|
5
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IKgVarConfigStore } from './index.store';
|
2
|
+
export interface IUseKgVarConfig {
|
3
|
+
/**
|
4
|
+
* 打开变量配置弹窗, 并使用传入的宿主界面标识.
|
5
|
+
*
|
6
|
+
* @param hostFormID 宿主界面标识
|
7
|
+
*/
|
8
|
+
open(hostFormID: string): void;
|
9
|
+
/**
|
10
|
+
* 状态数据.
|
11
|
+
*/
|
12
|
+
store: IKgVarConfigStore;
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* @param formID 界面标识.
|
16
|
+
*/
|
17
|
+
export declare function useKgVarConfig(formID?: string | null): IUseKgVarConfig;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
|
+
export interface IUseKgVarConfigStoreState {
|
3
|
+
}
|
4
|
+
export interface IUseKgVarConfigStoreGetters {
|
5
|
+
}
|
6
|
+
export interface IUseKgVarConfigStoreActions {
|
7
|
+
/**
|
8
|
+
* 打开变量配置弹窗, 并使用传入的宿主界面标识.
|
9
|
+
*
|
10
|
+
* @param hostFormID 宿主界面标识
|
11
|
+
*/
|
12
|
+
open(hostFormID: string): void;
|
13
|
+
}
|
14
|
+
export declare type IUseKgVarConfigStore = StoreDefinition<'KgVarConfig', IUseKgVarConfigStoreState, IUseKgVarConfigStoreGetters, IUseKgVarConfigStoreActions>;
|
15
|
+
export declare type IKgVarConfigStore = ReturnType<IUseKgVarConfigStore>;
|
16
|
+
export declare const useKgVarConfigStore: IUseKgVarConfigStore;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
2
|
+
/** 正在被配置的界面标识. */
|
3
|
+
export declare const KG__DI__KG_VAR_CONFIG__HOST_FORM_ID: InjectionKey<Ref<string | null>>;
|
4
|
+
/**
|
5
|
+
* 界面标识: 变量配置弹窗:变量配置:变量列表.
|
6
|
+
*/
|
7
|
+
export declare const FORM_ID__VAR__VAR_VARIABLE = "KgVarConfig.Modal.Var.VarVariable";
|
8
|
+
/**
|
9
|
+
* 界面标识: 变量配置弹窗:变量配置:变量翻译.
|
10
|
+
*/
|
11
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_DESCRIPTION = "KgVarConfig.Modal.Var.VarConfigDescription";
|
12
|
+
/**
|
13
|
+
* 界面标识: 变量配置弹窗:变量配置:表单控件.
|
14
|
+
*/
|
15
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_CONTROL = "KgVarConfig.Modal.Var.VarConfigControl";
|
16
|
+
/**
|
17
|
+
* 界面标识: 变量配置弹窗:变量配置:列表数据.
|
18
|
+
*/
|
19
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_POSSIBILITY = "KgVarConfig.Modal.Var.VarConfigPossibility";
|
20
|
+
/**
|
21
|
+
* 界面标识: 变量配置弹窗:变量配置:表单输入验证.
|
22
|
+
*/
|
23
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_INPUT = "KgVarConfig.Modal.Var.VarConfigInput";
|
24
|
+
/**
|
25
|
+
* 界面标识: 变量配置弹窗:变量配置:查找弹窗.
|
26
|
+
*/
|
27
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_LOOKUP = "KgVarConfig.Modal.Var.VarConfigLookup";
|
28
|
+
/**
|
29
|
+
* 界面标识: 变量配置弹窗:变量配置:查找弹窗::查找弹窗界面标识.
|
30
|
+
*/
|
31
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_LOOKUP__VAR_DDA = "KgVarConfig.Modal.Var.VarConfigLookup:LookupID";
|
32
|
+
/**
|
33
|
+
* 界面标识: 变量配置弹窗:变量配置:提示文本.
|
34
|
+
*/
|
35
|
+
export declare const FORM_ID__VAR__VAR_CONFIG_TIP = "KgVarConfig.Modal.Var.VarConfigTip";
|
36
|
+
/**
|
37
|
+
* 界面标识: 变量配置弹窗:按钮:按钮管理.
|
38
|
+
*/
|
39
|
+
export declare const FORM_ID__BUTTON__VAR_BUTTON = "KgVarConfig.Modal.Button.VarButton";
|
40
|
+
/**
|
41
|
+
* 界面标识: 变量配置弹窗:按钮:按钮配置.
|
42
|
+
*/
|
43
|
+
export declare const FORM_ID__BUTTON__VAR_BUTTON_CONFIG = "KgVarConfig.Modal.Button.VarButtonConfig";
|
44
|
+
export declare const FORM_ID__SEARCH__VAR_PROFILE_MASTER = "KgSearch.ConfigModal.VarProfileMaster";
|
45
|
+
export declare const FORM_ID__SEARCH__VAR_PROFILE_CONFIG = "KgSearch.ConfigModal.VarProfileConfig";
|
46
|
+
export declare const FORM_ID__SUBMIT__VAR_SUBMIT_DETAIL = "KgVarConfig.Modal.Submit.VarSubmitDetail";
|
47
|
+
export declare const FORM_ID__SUBMIT__VAR_SUBMIT_CONFIG = "KgVarConfig.Modal.Submit.VarSubmitConfig";
|
48
|
+
export declare const FORM_ID__TABLE__VAR_GRID_MASTER = "KgVarConfig.Modal.Table.VarGridMaster";
|
49
|
+
export declare const FORM_ID__TABLE__VAR_GRID_CONFIG = "KgVarConfig.Modal.Table.VarGridConfig";
|
50
|
+
export declare const FORM_ID__CHILD = "KgVarConfig.Modal.Child";
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgWarehouse.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/**
|
5
|
+
* <p>是否隐藏.</p>
|
6
|
+
* <p>此组件需要在不同的地方使用,</p>
|
7
|
+
* <ul>
|
8
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
9
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
10
|
+
* </ul>
|
11
|
+
*
|
12
|
+
* @default undefined
|
13
|
+
*/
|
14
|
+
kgInvisible: PropType<boolean>;
|
15
|
+
onKgOk: PropType<() => void>;
|
16
|
+
};
|
17
|
+
export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
18
|
+
declare const _default: import("vue").DefineComponent<{
|
19
|
+
/**
|
20
|
+
* <p>是否隐藏.</p>
|
21
|
+
* <p>此组件需要在不同的地方使用,</p>
|
22
|
+
* <ul>
|
23
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
24
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
25
|
+
* </ul>
|
26
|
+
*
|
27
|
+
* @default undefined
|
28
|
+
*/
|
29
|
+
kgInvisible: PropType<boolean>;
|
30
|
+
onKgOk: PropType<() => void>;
|
31
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
32
|
+
/**
|
33
|
+
* <p>是否隐藏.</p>
|
34
|
+
* <p>此组件需要在不同的地方使用,</p>
|
35
|
+
* <ul>
|
36
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
37
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
38
|
+
* </ul>
|
39
|
+
*
|
40
|
+
* @default undefined
|
41
|
+
*/
|
42
|
+
kgInvisible: PropType<boolean>;
|
43
|
+
onKgOk: PropType<() => void>;
|
44
|
+
}>> & {
|
45
|
+
onKgOk?: ((...args: any[]) => any) | undefined;
|
46
|
+
}, {}>;
|
47
|
+
export default _default;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { Pinia } from 'pinia';
|
2
|
+
import { ComputedRef } from 'vue';
|
3
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
4
|
+
import { IKgWarehouseMountedEventListener, IKgWarehouseStore } from './index.store';
|
5
|
+
export declare type IUseKgWarehouse = {
|
6
|
+
/**
|
7
|
+
* 监听事件: 组件加载完成.
|
8
|
+
* @param listener 事件监听函数.
|
9
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
10
|
+
*/
|
11
|
+
onMounted(listener: IKgWarehouseMountedEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
12
|
+
store: IKgWarehouseStore;
|
13
|
+
/**
|
14
|
+
* 是否显示弹窗.
|
15
|
+
*/
|
16
|
+
visible: ComputedRef<IKgWarehouseStore['getVisible']>;
|
17
|
+
/**
|
18
|
+
* 当前仓库.
|
19
|
+
*/
|
20
|
+
warehouse: ComputedRef<IKgWarehouseStore['getWarehouse']>;
|
21
|
+
};
|
22
|
+
/**
|
23
|
+
* 在某些地方调用时(比如在路由守卫中), pinia 尚未设置, 此时需要手动传入 pinia 实例.
|
24
|
+
*
|
25
|
+
* @param pinia
|
26
|
+
*/
|
27
|
+
export declare function useKgWarehouse(pinia?: Pinia): IUseKgWarehouse;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
|
+
import { WhDTO } from '../../apis/WMS/models';
|
3
|
+
import { IKgEventListener } from '../../consts';
|
4
|
+
/**
|
5
|
+
* 事件类型.
|
6
|
+
* 'mounted': 组件加载完成
|
7
|
+
*/
|
8
|
+
export declare type IKgWarehouseEvent = 'mounted';
|
9
|
+
export declare type IKgWarehouseMountedEventListener = (() => void) & IKgEventListener;
|
10
|
+
export declare type IKgWarehouseEventListener = IKgWarehouseMountedEventListener;
|
11
|
+
export interface IUseKgWarehouseStoreState {
|
12
|
+
mountedListeners: Array<IKgWarehouseMountedEventListener>;
|
13
|
+
/**
|
14
|
+
* 是否显示弹窗.
|
15
|
+
*/
|
16
|
+
visible: boolean;
|
17
|
+
/**
|
18
|
+
* 当前仓库.
|
19
|
+
*/
|
20
|
+
warehouse: WhDTO | null;
|
21
|
+
}
|
22
|
+
export interface IUseKgWarehouseStoreGetters {
|
23
|
+
/**
|
24
|
+
* 是否显示弹窗.
|
25
|
+
*/
|
26
|
+
getVisible: boolean;
|
27
|
+
getWarehouse: WhDTO | null;
|
28
|
+
}
|
29
|
+
export interface IUseKgWarehouseStoreActions {
|
30
|
+
/**
|
31
|
+
* 注册事件监听.
|
32
|
+
* @param event 事件名称.
|
33
|
+
* @param listener 事件监听函数.
|
34
|
+
*/
|
35
|
+
addEventListener(event: IKgWarehouseEvent, listener: any): void;
|
36
|
+
/**
|
37
|
+
* 触发事件.
|
38
|
+
* @param event 事件名称.
|
39
|
+
* @param args 数据.
|
40
|
+
*/
|
41
|
+
emit(event: IKgWarehouseEvent, args?: any | null): void;
|
42
|
+
/**
|
43
|
+
* 退订事件监听.
|
44
|
+
* @param event 事件名称.
|
45
|
+
* @param listener 事件监听函数.
|
46
|
+
*/
|
47
|
+
removeEventListener(event: IKgWarehouseEvent, listener?: any): void;
|
48
|
+
/**
|
49
|
+
* 设置是否显示弹窗.
|
50
|
+
*
|
51
|
+
* @param visible 是否显示.
|
52
|
+
*/
|
53
|
+
setVisible(visible: boolean): void;
|
54
|
+
/**
|
55
|
+
* 设置当前仓库.
|
56
|
+
*
|
57
|
+
* @param warehouse 当前仓库.
|
58
|
+
*/
|
59
|
+
setWarehouse(warehouse?: WhDTO | null): void;
|
60
|
+
}
|
61
|
+
export declare type IUseKgWarehouseStore = StoreDefinition<'KgWarehouse', IUseKgWarehouseStoreState, IUseKgWarehouseStoreGetters, IUseKgWarehouseStoreActions>;
|
62
|
+
export declare type IKgWarehouseStore = ReturnType<IUseKgWarehouseStore>;
|
63
|
+
export declare const useKgWarehouseStore: IUseKgWarehouseStore;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgYesOrNo.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/**
|
5
|
+
* 布尔数据.
|
6
|
+
* @default undefined
|
7
|
+
*/
|
8
|
+
kgValue: {
|
9
|
+
type: PropType<boolean>;
|
10
|
+
default: undefined;
|
11
|
+
};
|
12
|
+
/**
|
13
|
+
* 是否将 null/undefined 当成 false.
|
14
|
+
* @default false
|
15
|
+
*/
|
16
|
+
kgNilAsFalse: {
|
17
|
+
type: PropType<boolean>;
|
18
|
+
default: boolean;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
export declare type IKgYesOrNoProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
22
|
+
declare const _default: import("vue").DefineComponent<{
|
23
|
+
/**
|
24
|
+
* 布尔数据.
|
25
|
+
* @default undefined
|
26
|
+
*/
|
27
|
+
kgValue: {
|
28
|
+
type: PropType<boolean>;
|
29
|
+
default: undefined;
|
30
|
+
};
|
31
|
+
/**
|
32
|
+
* 是否将 null/undefined 当成 false.
|
33
|
+
* @default false
|
34
|
+
*/
|
35
|
+
kgNilAsFalse: {
|
36
|
+
type: PropType<boolean>;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
40
|
+
/**
|
41
|
+
* 布尔数据.
|
42
|
+
* @default undefined
|
43
|
+
*/
|
44
|
+
kgValue: {
|
45
|
+
type: PropType<boolean>;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
/**
|
49
|
+
* 是否将 null/undefined 当成 false.
|
50
|
+
* @default false
|
51
|
+
*/
|
52
|
+
kgNilAsFalse: {
|
53
|
+
type: PropType<boolean>;
|
54
|
+
default: boolean;
|
55
|
+
};
|
56
|
+
}>>, {
|
57
|
+
kgValue: boolean;
|
58
|
+
kgNilAsFalse: boolean;
|
59
|
+
}>;
|
60
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as KgYesOrNo, type IKgYesOrNoProps } from './KgYesOrNo';
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export * from './KgAppSelect';
|
2
|
+
export * from './KgCanvas';
|
3
|
+
export * from './KgImage';
|
4
|
+
export * from './KgLayoutHeader';
|
5
|
+
export * from './KgModal';
|
6
|
+
export * from './KgProgressA';
|
7
|
+
export * from './KgResizable';
|
8
|
+
export * from './KgSearch';
|
9
|
+
export * from './KgStation';
|
10
|
+
export * from './KgSubmit';
|
11
|
+
export * from './KgTable';
|
12
|
+
export * from './KgVar';
|
13
|
+
export * from './KgVarConfig';
|
14
|
+
export * from './KgWarehouse';
|
15
|
+
export * from './KgYesOrNo';
|
16
|
+
export * from './KgButton';
|
17
|
+
export { default as KgButton } from './KgButton';
|
18
|
+
export * from './KgForm';
|
19
|
+
export { default as KgForm } from './KgForm';
|
20
|
+
export * from './KgForm.Item';
|
21
|
+
export { Q } from '@thymine/xunee';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IKgEventListener, IRemoveEventListenerHandler } from '../consts';
|
2
|
+
/**
|
3
|
+
* 构造事件监听.
|
4
|
+
* @param formID 界面标识.
|
5
|
+
* @param store 状态管理.
|
6
|
+
* @param event 事件名称.
|
7
|
+
*/
|
8
|
+
export declare function onEventFactory<S extends {
|
9
|
+
addEventListener(formID: string, event: E, listener: L): void;
|
10
|
+
removeEventListener(formID: string, event: E, listener?: L): void;
|
11
|
+
} | {
|
12
|
+
addEventListener(event: E, listener: L): void;
|
13
|
+
removeEventListener(event: E, listener?: L): void;
|
14
|
+
} = any, E = any, L extends IKgEventListener = any>(formID: string | null, store: S, event: E): (listener: L, isOnce?: boolean) => IRemoveEventListenerHandler;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as KgVarConfig } from './KgVarConfig';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { Pinia } from 'pinia';
|
2
|
+
import { ComputedRef } from 'vue';
|
3
|
+
import { Description } from '../apis/WMS/models';
|
4
|
+
import { LocaleType } from '../project/types/config';
|
5
|
+
import { IKgStore, P, T } from './index.store';
|
6
|
+
export interface IUseKg {
|
7
|
+
/**
|
8
|
+
* 获取当前语言下的某个描述.
|
9
|
+
*
|
10
|
+
* @param.codeName 描述组名.
|
11
|
+
* @param.codeValue 描述数值.
|
12
|
+
*/
|
13
|
+
getDescription(param: {
|
14
|
+
codeName: string | null | undefined;
|
15
|
+
codeValue: string | null | undefined;
|
16
|
+
}): Description | null;
|
17
|
+
/** 当前语言. */
|
18
|
+
locale: ComputedRef<LocaleType>;
|
19
|
+
/**
|
20
|
+
* 组件库的配置参数.
|
21
|
+
*/
|
22
|
+
option: ComputedRef<IKgStore['getOption']>;
|
23
|
+
/** 检查权限. */
|
24
|
+
p: P;
|
25
|
+
/**
|
26
|
+
* 路由对象.
|
27
|
+
*/
|
28
|
+
router: ComputedRef<IKgStore['getRouter']>;
|
29
|
+
store: IKgStore;
|
30
|
+
/** 翻译. */
|
31
|
+
t: T;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* @param pinia 在某些地方调用时(比如在路由守卫中), pinia 尚未初始化, 此时需要手动传入 pinia 实例.
|
35
|
+
*/
|
36
|
+
export declare function useKg(pinia?: Pinia): IUseKg;
|