@kengic/vue 0.16.2 → 0.16.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/kengic-vue.js +1316 -1268
  2. package/package.json +10 -9
  3. package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +0 -16
  4. package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +0 -18
  5. package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -18
  6. package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +0 -16
  7. package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -24
  8. package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -15
  9. package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -31
  10. package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +0 -19
  11. package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +0 -8
  12. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -19
  13. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
  14. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
  15. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
  16. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
  17. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
  18. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
  19. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -16
  20. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -18
  21. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -18
  22. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -16
  23. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -30
  24. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -15
  25. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -37
  26. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -19
  27. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -8
  28. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -52
  29. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
  30. package/dist/src/apis/WMS/Controllers/index.d.ts +0 -6
  31. package/dist/src/apis/WMS/index.d.ts +0 -2
  32. package/dist/src/apis/WMS/models.d.ts +0 -726
  33. package/dist/src/apis/api.d.ts +0 -1
  34. package/dist/src/apis/def.d.ts +0 -1
  35. package/dist/src/apis/index.d.ts +0 -2
  36. package/dist/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +0 -6
  37. package/dist/src/assets/icons/material-symbols.save-outline-rounded.d.ts +0 -6
  38. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
  39. package/dist/src/components/KgAppSelect/index.d.ts +0 -3
  40. package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -19
  41. package/dist/src/components/KgAppSelect/index.store.d.ts +0 -59
  42. package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
  43. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
  44. package/dist/src/components/KgButton/KgButton.d.ts +0 -34
  45. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -39
  46. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -39
  47. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
  48. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -39
  49. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -39
  50. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -39
  51. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
  52. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
  53. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -39
  54. package/dist/src/components/KgButton/index.d.ts +0 -62
  55. package/dist/src/components/KgButton/index.hooks.d.ts +0 -61
  56. package/dist/src/components/KgButton/index.store.d.ts +0 -89
  57. package/dist/src/components/KgForm/KgForm.d.ts +0 -414
  58. package/dist/src/components/KgForm/index.d.ts +0 -604
  59. package/dist/src/components/KgForm/index.hooks.d.ts +0 -34
  60. package/dist/src/components/KgForm/index.store.d.ts +0 -83
  61. package/dist/src/components/KgForm/index.vm.d.ts +0 -9
  62. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -95
  63. package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +0 -17
  64. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -17
  65. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -32
  66. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -94
  67. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -96
  68. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -95
  69. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -95
  70. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -94
  71. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -94
  72. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -95
  73. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
  74. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -26
  75. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -94
  76. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -94
  77. package/dist/src/components/KgForm.Item/index.d.ts +0 -2
  78. package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -116
  79. package/dist/src/components/KgModal/KgModal.d.ts +0 -395
  80. package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
  81. package/dist/src/components/KgModal/index.d.ts +0 -2
  82. package/dist/src/components/KgModal/index.vm.d.ts +0 -194
  83. package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
  84. package/dist/src/components/KgProgressA/index.d.ts +0 -1
  85. package/dist/src/components/KgResizable/KgResizable.d.ts +0 -143
  86. package/dist/src/components/KgResizable/index.d.ts +0 -1
  87. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -42
  88. package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -39
  89. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -22
  90. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -14
  91. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -24
  92. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -7
  93. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -31
  94. package/dist/src/components/KgSearch/index.d.ts +0 -3
  95. package/dist/src/components/KgSearch/index.hooks.d.ts +0 -41
  96. package/dist/src/components/KgSearch/index.store.d.ts +0 -86
  97. package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
  98. package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -41
  99. package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +0 -20
  100. package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -28
  101. package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
  102. package/dist/src/components/KgSubmit/index.d.ts +0 -4
  103. package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -63
  104. package/dist/src/components/KgSubmit/index.store.d.ts +0 -129
  105. package/dist/src/components/KgSubmit/index.vm.d.ts +0 -10
  106. package/dist/src/components/KgTable/KgTable.d.ts +0 -39
  107. package/dist/src/components/KgTable/KgTable.hooks.d.ts +0 -43
  108. package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +0 -61
  109. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -58
  110. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
  111. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -22
  112. package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -14
  113. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -22
  114. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -26
  115. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -24
  116. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -23
  117. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -32
  118. package/dist/src/components/KgTable/index.d.ts +0 -4
  119. package/dist/src/components/KgTable/index.hooks.d.ts +0 -68
  120. package/dist/src/components/KgTable/index.store.d.ts +0 -153
  121. package/dist/src/components/KgTable/index.vm.d.ts +0 -146
  122. package/dist/src/components/KgVar/KgVar.d.ts +0 -28
  123. package/dist/src/components/KgVar/index.d.ts +0 -4
  124. package/dist/src/components/KgVar/index.hooks.d.ts +0 -88
  125. package/dist/src/components/KgVar/index.store.d.ts +0 -315
  126. package/dist/src/components/KgVar/index.store.service.d.ts +0 -21
  127. package/dist/src/components/KgVar/index.vm.d.ts +0 -43
  128. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -2
  129. package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -24
  130. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -17
  131. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -25
  132. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -29
  133. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -22
  134. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -25
  135. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -22
  136. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -33
  137. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -3
  138. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -3
  139. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -3
  140. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
  141. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -3
  142. package/dist/src/components/KgVarConfig/index.d.ts +0 -2
  143. package/dist/src/components/KgVarConfig/index.store.d.ts +0 -20
  144. package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -3
  145. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -38
  146. package/dist/src/components/KgWarehouse/index.d.ts +0 -4
  147. package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
  148. package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -22
  149. package/dist/src/components/KgWarehouse/index.store.d.ts +0 -53
  150. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
  151. package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
  152. package/dist/src/components/index.d.ts +0 -16
  153. package/dist/src/components/util.d.ts +0 -14
  154. package/dist/src/config/index.d.ts +0 -3
  155. package/dist/src/config/index.hooks.d.ts +0 -43
  156. package/dist/src/config/index.store.d.ts +0 -184
  157. package/dist/src/config/setup.d.ts +0 -43
  158. package/dist/src/consts/i18n/en.d.ts +0 -194
  159. package/dist/src/consts/i18n/index.d.ts +0 -2
  160. package/dist/src/consts/i18n/zh_CN.d.ts +0 -193
  161. package/dist/src/consts/index.d.ts +0 -244
  162. package/dist/src/consts/index.vm.d.ts +0 -45
  163. package/dist/src/consts/injection-keys.const.d.ts +0 -9
  164. package/dist/src/helpers/ant-design-vue.d.ts +0 -316
  165. package/dist/src/helpers/tsx.helper.d.ts +0 -13
  166. package/dist/src/index.d.ts +0 -8
  167. package/dist/src/services/http-client.d.ts +0 -46
  168. package/dist/src/services/index.d.ts +0 -1
  169. package/dist/src/utils/index.d.ts +0 -6
  170. package/dist/src/utils/kg-auth.util.d.ts +0 -14
  171. package/dist/src/utils/kg-dom.util.d.ts +0 -12
  172. package/dist/src/utils/kg-logger.util.d.ts +0 -67
  173. package/dist/src/utils/kg-route.util.d.ts +0 -43
  174. package/dist/src/utils/kg-var.util.d.ts +0 -36
  175. package/dist/src/utils/kg.util.d.ts +0 -113
@@ -1 +0,0 @@
1
- export { WMSAPI as WMS } from './WMS';
@@ -1 +0,0 @@
1
- export { WMSDEF as WMS } from './WMS';
@@ -1,2 +0,0 @@
1
- export * as API from './api';
2
- export * as DEF from './def';
@@ -1,6 +0,0 @@
1
- export default data;
2
- declare namespace data {
3
- const width: number;
4
- const height: number;
5
- const body: string;
6
- }
@@ -1,6 +0,0 @@
1
- export default data;
2
- declare namespace data {
3
- const width: number;
4
- const height: number;
5
- const body: string;
6
- }
@@ -1,47 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { KG_APP } from '../../consts';
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;
@@ -1,3 +0,0 @@
1
- export { default as KgAppSelect } from './KgAppSelect';
2
- export * from './index.hooks';
3
- export * from './index.store';
@@ -1,19 +0,0 @@
1
- import { IRemoveEventListenerHandler } from '../../consts';
2
- import { IKgAppSelectGotoAppCb, IKgAppSelectGotoPathCb, IKgAppSelectStore } from './index.store';
3
- export declare type IUseKgAppSelect = {
4
- /** 状态数据. */
5
- store: IKgAppSelectStore;
6
- /**
7
- * 监听事件: 进入某个模块.
8
- * @param cb 回调函数.
9
- * @param once 是否只会触发一次. 默认为 undefined.
10
- */
11
- onGotoApp(cb: IKgAppSelectGotoAppCb, once?: boolean): IRemoveEventListenerHandler;
12
- /**
13
- * 监听事件: 进入某个地址.
14
- * @param cb 回调函数.
15
- * @param once 是否只会触发一次. 默认为 undefined.
16
- */
17
- onGotoPath(cb: IKgAppSelectGotoPathCb, once?: boolean): IRemoveEventListenerHandler;
18
- };
19
- export declare function useKgAppSelect(): IUseKgAppSelect;
@@ -1,59 +0,0 @@
1
- import { StoreDefinition } from 'pinia';
2
- import { IKgEventCb, KG_APP, Menu } from '../../consts';
3
- /**
4
- * 事件类型.
5
- * 'gotoApp': 进入某个模块
6
- * 'gotoPath': 进入某个地址
7
- */
8
- export declare type IKgAppSelectEvent = 'gotoApp' | 'gotoPath';
9
- /** 事件监听函数: gotoApp. */
10
- export declare type IKgAppSelectGotoAppCbParam = {
11
- app: string;
12
- };
13
- export declare type IKgAppSelectGotoAppCb = ((param: IKgAppSelectGotoAppCbParam) => Promise<boolean>) & IKgEventCb;
14
- /** 事件监听函数: gotoPath. */
15
- export declare type IKgAppSelectGotoPathCbParam = {
16
- path: string;
17
- };
18
- export declare type IKgAppSelectGotoPathCb = ((param: IKgAppSelectGotoPathCbParam) => Promise<boolean>) & IKgEventCb;
19
- export declare type IKgAppSelectCb = IKgAppSelectGotoAppCb | IKgAppSelectGotoPathCb;
20
- export interface KgAppSelectState {
21
- currentApp: KG_APP | null;
22
- gotoAppListenersMap: Map<string, Array<IKgAppSelectGotoAppCb>>;
23
- gotoPathListenersMap: Map<string, Array<IKgAppSelectGotoPathCb>>;
24
- }
25
- export declare type IKgAppSelectStoreDefinition = StoreDefinition<'KgAppSelect', KgAppSelectState, {
26
- getCurrentApp(): KG_APP;
27
- }, {
28
- addEventListener(event: IKgAppSelectEvent, cb: IKgAppSelectCb): void;
29
- removeEventListener(event: IKgAppSelectEvent, cb?: IKgAppSelectCb): void;
30
- /**
31
- * 触发事件.
32
- * @param event 事件名称.
33
- * @param param 参数.
34
- */
35
- emit(event: IKgAppSelectEvent, param?: any | null): Promise<boolean>;
36
- /**
37
- * 进入某个模块.
38
- * @param app 要进入的模块.
39
- */
40
- gotoApp(app: KG_APP): Promise<void>;
41
- /**
42
- * 进入某个地址.
43
- * 如果该地址不属于当前模块, 则先切换到对应的模块, 再进入该地址.
44
- * @param path 要进入的地址.
45
- */
46
- gotoPath(path: string): Promise<void>;
47
- /**
48
- * 判断某个菜单是否属于当前模块.
49
- * @param menu 菜单.
50
- */
51
- isMenuInCurrentApp(menu: Menu): boolean;
52
- /**
53
- * 初始化当前模块.
54
- * 比如刷新页面时, 需要根据当前页面地址设置当前模块.
55
- */
56
- init(): void;
57
- }>;
58
- export declare type IKgAppSelectStore = ReturnType<IKgAppSelectStoreDefinition>;
59
- export declare const useKgAppSelectStore: () => IKgAppSelectStoreDefinition;
@@ -1,41 +0,0 @@
1
- import { KG_BUTTON_COLOR, KG_BUTTON_TYPE } from '../../consts';
2
- import './KgButton.Item.less';
3
- declare const _default: import("vue").DefineComponent<{
4
- kgButton: import("vue").PropType<import("../..").VarButton>;
5
- kgVarName: import("vue").PropType<string | null>;
6
- kgType: import("vue").PropType<KG_BUTTON_TYPE | null>;
7
- kgPrimary: {
8
- type: import("vue").PropType<boolean | null | undefined>;
9
- default: undefined;
10
- };
11
- kgIcon: import("vue").PropType<string | null>;
12
- kgText: import("vue").PropType<string | null>;
13
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
14
- kgDisabled: {
15
- type: import("vue").PropType<boolean | null | undefined>;
16
- default: undefined;
17
- };
18
- kgLoading: import("vue").PropType<boolean>;
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
- kgVarName: import("vue").PropType<string | null>;
23
- kgType: import("vue").PropType<KG_BUTTON_TYPE | null>;
24
- kgPrimary: {
25
- type: import("vue").PropType<boolean | null | undefined>;
26
- default: undefined;
27
- };
28
- kgIcon: import("vue").PropType<string | null>;
29
- kgText: import("vue").PropType<string | null>;
30
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
31
- kgDisabled: {
32
- type: import("vue").PropType<boolean | null | undefined>;
33
- default: undefined;
34
- };
35
- kgLoading: import("vue").PropType<boolean>;
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;
@@ -1,31 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { VarButton } from '../../apis/WMS/models';
3
- import { KG_BUTTON_COLOR, KG_BUTTON_TYPE } from '../../consts';
4
- export declare const getProps: () => {
5
- /** 按钮. */
6
- kgButton: PropType<VarButton>;
7
- /** 变量名称. */
8
- kgVarName: PropType<string | null>;
9
- /** 按钮类型. */
10
- kgType: PropType<KG_BUTTON_TYPE | null>;
11
- /** 是否使用主要按钮样式. */
12
- kgPrimary: {
13
- type: PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- /** 图标. */
17
- kgIcon: PropType<string | null>;
18
- /** 文本. */
19
- kgText: PropType<string | null>;
20
- /** 颜色. */
21
- kgColor: PropType<KG_BUTTON_COLOR | null>;
22
- /** 是否禁用. */
23
- kgDisabled: {
24
- type: PropType<boolean | null | undefined>;
25
- default: undefined;
26
- };
27
- /** 是否正在加载. */
28
- kgLoading: PropType<boolean>;
29
- onKgClick: PropType<(args?: any) => Promise<boolean>>;
30
- };
31
- export declare type IKgButtonItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
@@ -1,34 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { VarButton } from '../../apis/WMS/models';
3
- import './KgButton.less';
4
- export declare const getProps: () => {
5
- /**
6
- * 按钮是否禁用. 返回 true 表示禁用.
7
- */
8
- kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
9
- /**
10
- * 按钮是否处于加载状态. 返回 true 表示处于加载状态.
11
- */
12
- KgLoading: PropType<(button: VarButton) => boolean | undefined>;
13
- };
14
- export declare type IKgButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
15
- declare const _default: import("vue").DefineComponent<{
16
- /**
17
- * 按钮是否禁用. 返回 true 表示禁用.
18
- */
19
- kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
20
- /**
21
- * 按钮是否处于加载状态. 返回 true 表示处于加载状态.
22
- */
23
- KgLoading: PropType<(button: VarButton) => boolean | undefined>;
24
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
25
- /**
26
- * 按钮是否禁用. 返回 true 表示禁用.
27
- */
28
- kgDisabled: PropType<(button: VarButton) => boolean | undefined>;
29
- /**
30
- * 按钮是否处于加载状态. 返回 true 表示处于加载状态.
31
- */
32
- KgLoading: PropType<(button: VarButton) => boolean | undefined>;
33
- }>>, {}>;
34
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../../consts").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../../consts").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;
@@ -1,40 +0,0 @@
1
- import { KG_BUTTON_COLOR } from '../../../consts';
2
- declare const _default: import("vue").DefineComponent<{
3
- kgButton: import("vue").PropType<import("../../..").VarButton>;
4
- kgVarName: import("vue").PropType<string | null>;
5
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
6
- kgPrimary: {
7
- type: import("vue").PropType<boolean | null | undefined>;
8
- default: undefined;
9
- };
10
- kgIcon: import("vue").PropType<string | null>;
11
- kgText: import("vue").PropType<string | null>;
12
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
13
- kgDisabled: {
14
- type: import("vue").PropType<boolean | null | undefined>;
15
- default: undefined;
16
- };
17
- kgLoading: import("vue").PropType<boolean>;
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
- kgVarName: import("vue").PropType<string | null>;
22
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
23
- kgPrimary: {
24
- type: import("vue").PropType<boolean | null | undefined>;
25
- default: undefined;
26
- };
27
- kgIcon: import("vue").PropType<string | null>;
28
- kgText: import("vue").PropType<string | null>;
29
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
30
- kgDisabled: {
31
- type: import("vue").PropType<boolean | null | undefined>;
32
- default: undefined;
33
- };
34
- kgLoading: import("vue").PropType<boolean>;
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;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../..").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../..").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;
@@ -1,40 +0,0 @@
1
- import { KG_BUTTON_COLOR } from '../../../consts';
2
- declare const _default: import("vue").DefineComponent<{
3
- kgButton: import("vue").PropType<import("../../..").VarButton>;
4
- kgVarName: import("vue").PropType<string | null>;
5
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
6
- kgPrimary: {
7
- type: import("vue").PropType<boolean | null | undefined>;
8
- default: undefined;
9
- };
10
- kgIcon: import("vue").PropType<string | null>;
11
- kgText: import("vue").PropType<string | null>;
12
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
13
- kgDisabled: {
14
- type: import("vue").PropType<boolean | null | undefined>;
15
- default: undefined;
16
- };
17
- kgLoading: import("vue").PropType<boolean>;
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
- kgVarName: import("vue").PropType<string | null>;
22
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
23
- kgPrimary: {
24
- type: import("vue").PropType<boolean | null | undefined>;
25
- default: undefined;
26
- };
27
- kgIcon: import("vue").PropType<string | null>;
28
- kgText: import("vue").PropType<string | null>;
29
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
30
- kgDisabled: {
31
- type: import("vue").PropType<boolean | null | undefined>;
32
- default: undefined;
33
- };
34
- kgLoading: import("vue").PropType<boolean>;
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;
@@ -1,40 +0,0 @@
1
- import { KG_BUTTON_COLOR } from '../../../consts';
2
- declare const _default: import("vue").DefineComponent<{
3
- kgButton: import("vue").PropType<import("../../..").VarButton>;
4
- kgVarName: import("vue").PropType<string | null>;
5
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
6
- kgPrimary: {
7
- type: import("vue").PropType<boolean | null | undefined>;
8
- default: undefined;
9
- };
10
- kgIcon: import("vue").PropType<string | null>;
11
- kgText: import("vue").PropType<string | null>;
12
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
13
- kgDisabled: {
14
- type: import("vue").PropType<boolean | null | undefined>;
15
- default: undefined;
16
- };
17
- kgLoading: import("vue").PropType<boolean>;
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
- kgVarName: import("vue").PropType<string | null>;
22
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
23
- kgPrimary: {
24
- type: import("vue").PropType<boolean | null | undefined>;
25
- default: undefined;
26
- };
27
- kgIcon: import("vue").PropType<string | null>;
28
- kgText: import("vue").PropType<string | null>;
29
- kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
30
- kgDisabled: {
31
- type: import("vue").PropType<boolean | null | undefined>;
32
- default: undefined;
33
- };
34
- kgLoading: import("vue").PropType<boolean>;
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;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- kgButton: import("vue").PropType<import("../../..").VarButton>;
3
- kgVarName: import("vue").PropType<string | null>;
4
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
5
- kgPrimary: {
6
- type: import("vue").PropType<boolean | null | undefined>;
7
- default: undefined;
8
- };
9
- kgIcon: import("vue").PropType<string | null>;
10
- kgText: import("vue").PropType<string | null>;
11
- kgColor: import("vue").PropType<import("../../../consts").KG_BUTTON_COLOR | null>;
12
- kgDisabled: {
13
- type: import("vue").PropType<boolean | null | undefined>;
14
- default: undefined;
15
- };
16
- kgLoading: import("vue").PropType<boolean>;
17
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- kgButton: import("vue").PropType<import("../../..").VarButton>;
20
- kgVarName: import("vue").PropType<string | null>;
21
- kgType: import("vue").PropType<import("../../../consts").KG_BUTTON_TYPE | null>;
22
- kgPrimary: {
23
- type: import("vue").PropType<boolean | null | undefined>;
24
- default: undefined;
25
- };
26
- kgIcon: import("vue").PropType<string | null>;
27
- kgText: import("vue").PropType<string | null>;
28
- kgColor: import("vue").PropType<import("../../../consts").KG_BUTTON_COLOR | null>;
29
- kgDisabled: {
30
- type: import("vue").PropType<boolean | null | undefined>;
31
- default: undefined;
32
- };
33
- kgLoading: import("vue").PropType<boolean>;
34
- onKgClick: import("vue").PropType<(args?: any) => Promise<boolean>>;
35
- }>>, {
36
- kgDisabled: boolean | null | undefined;
37
- kgPrimary: boolean | null | undefined;
38
- }>;
39
- export default _default;