@kengic/vue 0.26.6-beta.7 → 0.26.6-beta.70
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.eef6a697.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.b82209a4.mjs +8 -0
- package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.94ce9412.mjs +8 -0
- package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +51546 -39108
- package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +51 -0
- package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/DescriptionController/index.d.ts +2 -0
- package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
- package/dist/src/api/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarDdaController/index.d.ts +9 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarVariableController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/WhController/ListVO.d.ts +54 -0
- package/dist/src/api/WMS/Controllers/WhController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/index.d.ts +11 -0
- package/dist/src/api/WMS/index.d.ts +2 -0
- package/dist/src/api/WMS/models.d.ts +1018 -0
- package/dist/src/api/api.d.ts +1 -0
- package/dist/src/api/def.d.ts +1 -0
- package/dist/src/api/index.d.ts +2 -0
- package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +47 -0
- package/dist/src/component/KgAppSelect/index.d.ts +3 -0
- package/dist/src/component/KgAppSelect/index.hooks.d.ts +41 -0
- package/dist/src/component/KgAppSelect/index.store.d.ts +74 -0
- package/dist/src/component/KgButton/KgButton.Item.d.ts +41 -0
- package/dist/src/component/KgButton/KgButton.Item.data.d.ts +31 -0
- package/dist/src/component/KgButton/KgButton.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Copy.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Create.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Delete.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Export.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Import.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.ImportTemplate.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Other.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Search.d.ts +40 -0
- package/dist/src/component/KgButton/components/KgButton.Update.d.ts +40 -0
- package/dist/src/component/KgButton/index.d.ts +62 -0
- package/dist/src/component/KgButton/index.hooks.d.ts +183 -0
- package/dist/src/component/KgButton/index.store.d.ts +116 -0
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +122 -0
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +43 -0
- package/dist/src/component/KgCanvas/KgCanvasContextMenu.d.ts +107 -0
- package/dist/src/component/KgCanvas/KgCanvasToolbarFullscreen.d.ts +38 -0
- package/dist/src/component/KgCanvas/KgCanvasTooltip.d.ts +31 -0
- package/dist/src/component/KgCanvas/index.d.ts +4 -0
- package/dist/src/component/KgCanvas/index.hooks.d.ts +67 -0
- package/dist/src/component/KgCanvas/index.store.d.ts +239 -0
- package/dist/src/component/KgForm/KgForm.d.ts +414 -0
- package/dist/src/component/KgForm/index.d.ts +604 -0
- package/dist/src/component/KgForm/index.hooks.d.ts +73 -0
- package/dist/src/component/KgForm/index.store.d.ts +221 -0
- package/dist/src/component/KgForm/index.vm.d.ts +9 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +97 -0
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +17 -0
- package/dist/src/component/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
- package/dist/src/component/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
- package/dist/src/component/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +31 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +100 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +99 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +97 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +97 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +92 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +96 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +96 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +96 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +98 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +98 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +29 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +96 -0
- package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +96 -0
- package/dist/src/component/KgForm.Item/index.d.ts +2 -0
- package/dist/src/component/KgForm.Item/index.vm.d.ts +124 -0
- package/dist/src/component/KgImage/KgImage.d.ts +100 -0
- package/dist/src/component/KgImage/index.d.ts +1 -0
- package/dist/src/component/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
- package/dist/src/component/KgLayoutHeader/index.d.ts +2 -0
- package/dist/src/component/KgLayoutHeader/index.hooks.d.ts +4 -0
- package/dist/src/component/KgModal/KgModal.d.ts +823 -0
- package/dist/src/component/KgModal/KgModalHeaderButtons.d.ts +92 -0
- package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +12 -0
- package/dist/src/component/KgModal/hooks/useDragToResize.d.ts +29 -0
- package/dist/src/component/KgModal/index.d.ts +1 -0
- package/dist/src/component/KgModal/index.vm.d.ts +8 -0
- package/dist/src/component/KgProgressA/KgProgressA.d.ts +85 -0
- package/dist/src/component/KgProgressA/index.d.ts +1 -0
- package/dist/src/component/KgResizable/KgResizable.d.ts +91 -0
- package/dist/src/component/KgResizable/KgResizable.service.d.ts +12 -0
- package/dist/src/component/KgResizable/index.d.ts +1 -0
- package/dist/src/component/KgSearch/KgSearch.d.ts +26 -0
- package/dist/src/component/KgSearch/KgSearch.service.d.ts +32 -0
- package/dist/src/component/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -0
- package/dist/src/component/KgSearch/index.d.ts +3 -0
- package/dist/src/component/KgSearch/index.hooks.d.ts +67 -0
- package/dist/src/component/KgSearch/index.store.d.ts +147 -0
- package/dist/src/component/KgSearch/index.vm.d.ts +1 -0
- package/dist/src/component/KgStation/KgStation.d.ts +47 -0
- package/dist/src/component/KgStation/index.d.ts +3 -0
- package/dist/src/component/KgStation/index.hooks.d.ts +29 -0
- package/dist/src/component/KgStation/index.store.d.ts +45 -0
- package/dist/src/component/KgSubmit/KgSubmit.d.ts +21 -0
- package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +29 -0
- package/dist/src/component/KgSubmit/index.d.ts +4 -0
- package/dist/src/component/KgSubmit/index.hooks.d.ts +295 -0
- package/dist/src/component/KgSubmit/index.store.d.ts +194 -0
- package/dist/src/component/KgSubmit/index.vm.d.ts +57 -0
- package/dist/src/component/KgTable/KgTable.d.ts +39 -0
- package/dist/src/component/KgTable/KgTable.service.d.ts +34 -0
- package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +60 -0
- package/dist/src/component/KgTable/components/KgTable.HeaderCell.d.ts +52 -0
- package/dist/src/component/KgTable/components/KgTable.Info.d.ts +57 -0
- package/dist/src/component/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
- package/dist/src/component/KgTable/components/setting/KgTable.Setting.d.ts +21 -0
- package/dist/src/component/KgTable/components/setting/KgTable.Setting.service.d.ts +22 -0
- package/dist/src/component/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +16 -0
- package/dist/src/component/KgTable/index.d.ts +4 -0
- package/dist/src/component/KgTable/index.hooks.d.ts +148 -0
- package/dist/src/component/KgTable/index.store.d.ts +241 -0
- package/dist/src/component/KgTable/index.vm.d.ts +67 -0
- package/dist/src/component/KgVar/KgVar.d.ts +114 -0
- package/dist/src/component/KgVar/KgVarFactory.d.ts +61 -0
- package/dist/src/component/KgVar/index.d.ts +5 -0
- package/dist/src/component/KgVar/index.hooks.d.ts +189 -0
- package/dist/src/component/KgVar/index.store.d.ts +266 -0
- package/dist/src/component/KgVar/index.store.service.d.ts +30 -0
- package/dist/src/component/KgVar/index.vm.d.ts +57 -0
- package/dist/src/component/KgVarConfig/KgVarConfig.d.ts +3 -0
- package/dist/src/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
- package/dist/src/component/KgVarConfig/components/KgVarConfigModal.d.ts +15 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
- package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
- package/dist/src/component/KgVarConfig/index.d.ts +3 -0
- package/dist/src/component/KgVarConfig/index.hooks.d.ts +17 -0
- package/dist/src/component/KgVarConfig/index.store.d.ts +16 -0
- package/dist/src/component/KgVarConfig/index.vm.d.ts +50 -0
- package/dist/src/component/KgWarehouse/KgWarehouse.d.ts +47 -0
- package/dist/src/component/KgWarehouse/index.d.ts +4 -0
- package/dist/src/component/KgWarehouse/index.guard.d.ts +8 -0
- package/dist/src/component/KgWarehouse/index.hooks.d.ts +27 -0
- package/dist/src/component/KgWarehouse/index.store.d.ts +63 -0
- package/dist/src/component/KgYesOrNo/KgYesOrNo.d.ts +60 -0
- package/dist/src/component/KgYesOrNo/index.d.ts +1 -0
- package/dist/src/component/index.d.ts +21 -0
- package/dist/src/component/util.d.ts +14 -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/const/i18n/en.d.ts +278 -0
- package/dist/src/const/i18n/es_ES.d.ts +278 -0
- package/dist/src/const/i18n/fr_FR.d.ts +278 -0
- package/dist/src/const/i18n/index.d.ts +2 -0
- package/dist/src/const/i18n/km_KH.d.ts +278 -0
- package/dist/src/const/i18n/ko_KR.d.ts +278 -0
- package/dist/src/const/i18n/vi_VN.d.ts +278 -0
- package/dist/src/const/i18n/zh_CN.d.ts +278 -0
- package/dist/src/const/index.d.ts +3 -0
- package/dist/src/const/index.vm.d.ts +733 -0
- package/dist/src/const/injection-keys.const.d.ts +9 -0
- package/dist/src/helper/ant-design-vue.d.ts +347 -0
- package/dist/src/helper/tsx.helper.d.ts +23 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +8 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Button.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.d.ts +33 -0
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +1322 -0
- package/dist/src/page/KgPageDda/index.d.ts +5 -0
- package/dist/src/page/KgPageDda/index.vm.d.ts +12 -0
- package/dist/src/page/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/service/http-client.d.ts +93 -0
- package/dist/src/service/index.d.ts +1 -0
- package/dist/src/util/index.d.ts +4 -0
- package/dist/src/util/kg-auth.util.d.ts +26 -0
- package/dist/src/util/kg-route.util.d.ts +57 -0
- package/dist/src/util/kg-var.util.d.ts +76 -0
- package/dist/src/util/kg.util.d.ts +150 -0
- package/package.json +31 -20
- package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/bump-to.ts +38 -0
- package/script/bump.ts +35 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +3 -0
- package/script/copy-to.ts +23 -0
- package/script/publish.ts +30 -0
@@ -0,0 +1 @@
|
|
1
|
+
export { WMSAPI as WMS } from './WMS';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { WMSDEF as WMS } from './WMS';
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { KG_APP } from '../../const';
|
3
|
+
import './KgAppSelect.less';
|
4
|
+
export declare const getProps: () => {
|
5
|
+
/** 模块列表. */
|
6
|
+
kgApps: {
|
7
|
+
type: PropType<{
|
8
|
+
id: KG_APP;
|
9
|
+
i18n: string;
|
10
|
+
}[]>;
|
11
|
+
default: () => Array<{
|
12
|
+
id: KG_APP;
|
13
|
+
i18n: string;
|
14
|
+
}>;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
declare const _default: import("vue").DefineComponent<{
|
18
|
+
/** 模块列表. */
|
19
|
+
kgApps: {
|
20
|
+
type: PropType<{
|
21
|
+
id: KG_APP;
|
22
|
+
i18n: string;
|
23
|
+
}[]>;
|
24
|
+
default: () => {
|
25
|
+
id: KG_APP;
|
26
|
+
i18n: string;
|
27
|
+
}[];
|
28
|
+
};
|
29
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
30
|
+
/** 模块列表. */
|
31
|
+
kgApps: {
|
32
|
+
type: PropType<{
|
33
|
+
id: KG_APP;
|
34
|
+
i18n: string;
|
35
|
+
}[]>;
|
36
|
+
default: () => {
|
37
|
+
id: KG_APP;
|
38
|
+
i18n: string;
|
39
|
+
}[];
|
40
|
+
};
|
41
|
+
}>>, {
|
42
|
+
kgApps: {
|
43
|
+
id: KG_APP;
|
44
|
+
i18n: string;
|
45
|
+
}[];
|
46
|
+
}>;
|
47
|
+
export default _default;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { IRemoveEventListenerHandler, KG_APP, Menu } from '../../const';
|
2
|
+
import { IKgAppSelectGotoAppEventListener, IKgAppSelectGotoPathEventListener, IKgAppSelectStore } from './index.store';
|
3
|
+
export declare type IUseKgAppSelect = {
|
4
|
+
/** 状态数据. */
|
5
|
+
store: IKgAppSelectStore;
|
6
|
+
/**
|
7
|
+
* 进入某个模块.
|
8
|
+
* @param app 要进入的模块.
|
9
|
+
*/
|
10
|
+
gotoApp(app: KG_APP): Promise<void>;
|
11
|
+
/**
|
12
|
+
* 进入某个地址.
|
13
|
+
* 如果该地址不属于当前模块, 则先切换到对应的模块, 再进入该地址.
|
14
|
+
* @param path 要进入的地址.
|
15
|
+
*/
|
16
|
+
gotoPath(path: string): Promise<void>;
|
17
|
+
/**
|
18
|
+
* 判断某个菜单是否属于当前模块.
|
19
|
+
* @param menu 菜单.
|
20
|
+
* @return {} 如果菜单属于当前模块则返回 true, 否则返回 false.
|
21
|
+
*/
|
22
|
+
isMenuInCurrentApp(menu: Menu): boolean;
|
23
|
+
/**
|
24
|
+
* 初始化.
|
25
|
+
* 1. 需要根据当前地址设置当前模块.
|
26
|
+
*/
|
27
|
+
init(): void;
|
28
|
+
/**
|
29
|
+
* 监听事件: 进入某个模块.
|
30
|
+
* @param listener 事件监听函数.
|
31
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
32
|
+
*/
|
33
|
+
onGotoApp(listener: IKgAppSelectGotoAppEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
34
|
+
/**
|
35
|
+
* 监听事件: 进入某个地址.
|
36
|
+
* @param listener 事件监听函数.
|
37
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
38
|
+
*/
|
39
|
+
onGotoPath(listener: IKgAppSelectGotoPathEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
40
|
+
};
|
41
|
+
export declare function useKgAppSelect(): IUseKgAppSelect;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
|
+
import { IKgEventListener, KG_APP, Menu } from '../../const';
|
3
|
+
/**
|
4
|
+
* 事件类型.
|
5
|
+
* 'gotoApp': 进入某个模块
|
6
|
+
* 'gotoPath': 进入某个地址
|
7
|
+
*/
|
8
|
+
export declare type IKgAppSelectEvent = 'gotoApp' | 'gotoPath';
|
9
|
+
export declare type IKgAppSelectGotoAppEventListenerParameter = {
|
10
|
+
app: string;
|
11
|
+
};
|
12
|
+
export declare type IKgAppSelectGotoAppEventListener = ((param: IKgAppSelectGotoAppEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
13
|
+
export declare type IKgAppSelectGotoPathEventListenerParameter = {
|
14
|
+
path: string;
|
15
|
+
};
|
16
|
+
export declare type IKgAppSelectGotoPathEventListener = ((param: IKgAppSelectGotoPathEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
17
|
+
export declare type IKgAppSelectEventListenerParameter = IKgAppSelectGotoAppEventListenerParameter | IKgAppSelectGotoPathEventListenerParameter;
|
18
|
+
export declare type IKgAppSelectEventListener = IKgAppSelectGotoAppEventListener | IKgAppSelectGotoPathEventListener;
|
19
|
+
export interface IUseKgAppSelectStoreState {
|
20
|
+
/**
|
21
|
+
* 当前模块.
|
22
|
+
*/
|
23
|
+
currentApp: KG_APP | null;
|
24
|
+
gotoAppEventListenerMap: Map<string, Array<IKgAppSelectGotoAppEventListener>>;
|
25
|
+
gotoPathEventListenerMap: Map<string, Array<IKgAppSelectGotoPathEventListener>>;
|
26
|
+
}
|
27
|
+
export interface IUseKgAppSelectStoreGetters {
|
28
|
+
getCurrentApp(): KG_APP;
|
29
|
+
}
|
30
|
+
export interface IUseKgAppSelectStoreActions {
|
31
|
+
/**
|
32
|
+
* 注册事件监听.
|
33
|
+
* @param event 事件名称.
|
34
|
+
* @param listener 事件监听函数.
|
35
|
+
*/
|
36
|
+
addEventListener(event: IKgAppSelectEvent, listener: any): void;
|
37
|
+
/**
|
38
|
+
* 触发事件.
|
39
|
+
* @param event 事件名称.
|
40
|
+
* @param param 参数.
|
41
|
+
*/
|
42
|
+
emit<T = IKgAppSelectEventListenerParameter>(event: IKgAppSelectEvent, param?: T | null): Promise<boolean>;
|
43
|
+
/**
|
44
|
+
* 进入某个模块.
|
45
|
+
* @param app 要进入的模块.
|
46
|
+
*/
|
47
|
+
gotoApp(app: KG_APP): Promise<void>;
|
48
|
+
/**
|
49
|
+
* 进入某个地址.
|
50
|
+
* 如果该地址不属于当前模块, 则先切换到对应的模块, 再进入该地址.
|
51
|
+
* @param path 要进入的地址.
|
52
|
+
*/
|
53
|
+
gotoPath(path: string): Promise<void>;
|
54
|
+
/**
|
55
|
+
* 初始化.
|
56
|
+
* 1. 需要根据当前地址设置当前模块.
|
57
|
+
*/
|
58
|
+
init(): void;
|
59
|
+
/**
|
60
|
+
* 判断某个菜单是否属于当前模块.
|
61
|
+
* @param menu 菜单.
|
62
|
+
* @return {} 如果菜单属于当前模块则返回 true, 否则返回 false.
|
63
|
+
*/
|
64
|
+
isMenuInCurrentApp(menu: Menu): boolean;
|
65
|
+
/**
|
66
|
+
* 退订事件监听.
|
67
|
+
* @param event 事件名称.
|
68
|
+
* @param listener 事件监听函数.
|
69
|
+
*/
|
70
|
+
removeEventListener(event: IKgAppSelectEvent, listener?: any): void;
|
71
|
+
}
|
72
|
+
export declare type IUseKgAppSelectStore = StoreDefinition<'KgAppSelect', IUseKgAppSelectStoreState, IUseKgAppSelectStoreGetters, IUseKgAppSelectStoreActions>;
|
73
|
+
export declare type IKgAppSelectStore = ReturnType<IUseKgAppSelectStore>;
|
74
|
+
export declare const useKgAppSelectStore: IUseKgAppSelectStore;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON__TYPE } from '../../const';
|
2
|
+
import './KgButton.Item.less';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
kgButton: import("vue").PropType<import("../..").VarButton>;
|
5
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
6
|
+
kgDisabled: {
|
7
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
kgIcon: import("vue").PropType<string | null>;
|
11
|
+
kgLoading: import("vue").PropType<boolean>;
|
12
|
+
kgPrimary: {
|
13
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
14
|
+
default: undefined;
|
15
|
+
};
|
16
|
+
kgText: import("vue").PropType<string | null>;
|
17
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
18
|
+
kgVarName: import("vue").PropType<string | null>;
|
19
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
20
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
21
|
+
kgButton: import("vue").PropType<import("../..").VarButton>;
|
22
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
23
|
+
kgDisabled: {
|
24
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
25
|
+
default: undefined;
|
26
|
+
};
|
27
|
+
kgIcon: import("vue").PropType<string | null>;
|
28
|
+
kgLoading: import("vue").PropType<boolean>;
|
29
|
+
kgPrimary: {
|
30
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
31
|
+
default: undefined;
|
32
|
+
};
|
33
|
+
kgText: import("vue").PropType<string | null>;
|
34
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
35
|
+
kgVarName: import("vue").PropType<string | null>;
|
36
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
37
|
+
}>>, {
|
38
|
+
kgDisabled: boolean | null | undefined;
|
39
|
+
kgPrimary: boolean | null | undefined;
|
40
|
+
}>;
|
41
|
+
export default _default;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { VarButton } from '../../api/WMS/models';
|
3
|
+
import { KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON__TYPE } from '../../const';
|
4
|
+
export declare const getProps: () => {
|
5
|
+
/** 按钮. */
|
6
|
+
kgButton: PropType<VarButton>;
|
7
|
+
/** 颜色. */
|
8
|
+
kgColor: PropType<KG__VAR_BUTTON__COLOR | null>;
|
9
|
+
/** 是否禁用. */
|
10
|
+
kgDisabled: {
|
11
|
+
type: PropType<boolean | null | undefined>;
|
12
|
+
default: undefined;
|
13
|
+
};
|
14
|
+
/** 图标. */
|
15
|
+
kgIcon: PropType<string | null>;
|
16
|
+
/** 是否正在加载. */
|
17
|
+
kgLoading: PropType<boolean>;
|
18
|
+
/** 是否使用主要按钮样式. */
|
19
|
+
kgPrimary: {
|
20
|
+
type: PropType<boolean | null | undefined>;
|
21
|
+
default: undefined;
|
22
|
+
};
|
23
|
+
/** 文本. */
|
24
|
+
kgText: PropType<string | null>;
|
25
|
+
/** 按钮类型. */
|
26
|
+
kgType: PropType<KG__VAR_BUTTON__TYPE | null>;
|
27
|
+
/** 变量名称. */
|
28
|
+
kgVarName: PropType<string | null>;
|
29
|
+
onKgClick: PropType<(args?: any) => Promise<boolean>>;
|
30
|
+
};
|
31
|
+
export declare type IKgButtonItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { VarButton } from '../../api/WMS/models';
|
3
|
+
import './KgButton.less';
|
4
|
+
export declare const getProps: () => {
|
5
|
+
/**
|
6
|
+
* <p>按钮是否处于加载状态.</p>
|
7
|
+
* <p>返回 true 表示处于加载状态.</p>
|
8
|
+
*/
|
9
|
+
KgLoading: PropType<(button: VarButton) => boolean | undefined>;
|
10
|
+
/**
|
11
|
+
* <p>按钮是否禁用.</p>
|
12
|
+
* <p>返回 true 表示禁用. 返回 undefined 表示由组件决定是否禁用.</p>
|
13
|
+
*/
|
14
|
+
kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
|
15
|
+
};
|
16
|
+
export declare type IKgButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
17
|
+
declare const _default: import("vue").DefineComponent<{
|
18
|
+
/**
|
19
|
+
* <p>按钮是否处于加载状态.</p>
|
20
|
+
* <p>返回 true 表示处于加载状态.</p>
|
21
|
+
*/
|
22
|
+
KgLoading: PropType<(button: VarButton) => boolean | undefined>;
|
23
|
+
/**
|
24
|
+
* <p>按钮是否禁用.</p>
|
25
|
+
* <p>返回 true 表示禁用. 返回 undefined 表示由组件决定是否禁用.</p>
|
26
|
+
*/
|
27
|
+
kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
|
28
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
29
|
+
/**
|
30
|
+
* <p>按钮是否处于加载状态.</p>
|
31
|
+
* <p>返回 true 表示处于加载状态.</p>
|
32
|
+
*/
|
33
|
+
KgLoading: PropType<(button: VarButton) => boolean | undefined>;
|
34
|
+
/**
|
35
|
+
* <p>按钮是否禁用.</p>
|
36
|
+
* <p>返回 true 表示禁用. 返回 undefined 表示由组件决定是否禁用.</p>
|
37
|
+
*/
|
38
|
+
kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
|
39
|
+
}>>, {}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<import("../../../const").KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { KG__VAR_BUTTON__COLOR, KG__VAR_BUTTON__TYPE } from '../../../const';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
4
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
5
|
+
kgDisabled: {
|
6
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
kgIcon: import("vue").PropType<string | null>;
|
10
|
+
kgLoading: import("vue").PropType<boolean>;
|
11
|
+
kgPrimary: {
|
12
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
kgText: import("vue").PropType<string | null>;
|
16
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
17
|
+
kgVarName: import("vue").PropType<string | null>;
|
18
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
kgButton: import("vue").PropType<import("../../..").VarButton>;
|
21
|
+
kgColor: import("vue").PropType<KG__VAR_BUTTON__COLOR | null>;
|
22
|
+
kgDisabled: {
|
23
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
kgIcon: import("vue").PropType<string | null>;
|
27
|
+
kgLoading: import("vue").PropType<boolean>;
|
28
|
+
kgPrimary: {
|
29
|
+
type: import("vue").PropType<boolean | null | undefined>;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
kgText: import("vue").PropType<string | null>;
|
33
|
+
kgType: import("vue").PropType<KG__VAR_BUTTON__TYPE | null>;
|
34
|
+
kgVarName: import("vue").PropType<string | null>;
|
35
|
+
onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
|
36
|
+
}>>, {
|
37
|
+
kgDisabled: boolean | null | undefined;
|
38
|
+
kgPrimary: boolean | null | undefined;
|
39
|
+
}>;
|
40
|
+
export default _default;
|