@kengic/vue 0.16.2-beta.0 โ†’ 0.16.3

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 +583 -579
  2. package/package.json +6 -6
  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 -249
  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 -114
@@ -1,33 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.Modal.Var.CreateModal.less';
3
- export declare const getProps: () => {
4
- visible: PropType<boolean>;
5
- 'onUpdate:visible': PropType<(value: boolean) => void>;
6
- /** ็กฎๅฎš. */
7
- onKgOk: PropType<(args: {
8
- isAllForm: boolean;
9
- isAllLanguage: boolean;
10
- }) => void>;
11
- };
12
- export declare type IKgVarConfigModalVarCreateModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
13
- declare const _default: import("vue").DefineComponent<{
14
- visible: PropType<boolean>;
15
- 'onUpdate:visible': PropType<(value: boolean) => void>;
16
- /** ็กฎๅฎš. */
17
- onKgOk: PropType<(args: {
18
- isAllForm: boolean;
19
- isAllLanguage: boolean;
20
- }) => void>;
21
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
22
- visible: PropType<boolean>;
23
- 'onUpdate:visible': PropType<(value: boolean) => void>;
24
- /** ็กฎๅฎš. */
25
- onKgOk: PropType<(args: {
26
- isAllForm: boolean;
27
- isAllLanguage: boolean;
28
- }) => void>;
29
- }>> & {
30
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
31
- onKgOk?: ((...args: any[]) => any) | undefined;
32
- }, {}>;
33
- export default _default;
@@ -1,3 +0,0 @@
1
- import './KgVarConfig.Modal.Var.VarCatalog.less';
2
- 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<{}>>, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { VarContext } from '../../../../apis/WMS/models';
3
- export declare const columns: () => ColumnsType<VarContext>;
@@ -1,3 +0,0 @@
1
- import './KgVarConfig.Modal.Var.Vars.less';
2
- 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<{}>>, {}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { VarContext } from '../../../../apis/WMS/models';
3
- export declare const columns: () => ColumnsType<VarContext>;
@@ -1,3 +0,0 @@
1
- import './KgVarConfig.Modal.Var.less';
2
- 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<{}>>, {}>;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as KgVarConfig } from './KgVarConfig';
2
- export * from './index.store';
@@ -1,20 +0,0 @@
1
- import { StoreDefinition } from 'pinia';
2
- import { VarCatalog, VarContext } from '../../apis/WMS/models';
3
- export interface IKgVarConfigState {
4
- /** ๅ˜้‡. */
5
- variable: {
6
- /** ๅฝ“ๅ‰้€‰ไธญ็š„ๅ˜้‡. */
7
- selectedVar: VarContext | null;
8
- /** ๅฝ“ๅ‰้€‰ไธญ็š„ๅ˜้‡ๅˆซๅ. */
9
- selectedVarCatalog: VarCatalog | null;
10
- };
11
- }
12
- export declare type IKgVarConfigStoreDefinition = StoreDefinition<'KgVarConfig', IKgVarConfigState, {
13
- getSelectedVar: VarContext | null;
14
- getSelectedVarCatalog: VarCatalog | null;
15
- }, {
16
- setSelectedVar(variable: VarContext | null): void;
17
- setSelectedVarCatalog(variable: VarCatalog | null): void;
18
- }>;
19
- export declare type IKgVarConfigStore = ReturnType<IKgVarConfigStoreDefinition>;
20
- export declare const useKgVarConfigStore: () => IKgVarConfigStoreDefinition;
@@ -1,3 +0,0 @@
1
- import { InjectionKey, Ref } from 'vue';
2
- /** ๆญฃๅœจ่ขซ้…็ฝฎ็š„็•Œ้ขๆ ‡่ฏ†. */
3
- export declare const DI_CONFIG_FORM_ID: InjectionKey<Ref<string | null>>;
@@ -1,38 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgWarehouse.less';
3
- export declare const getProps: () => {
4
- /**
5
- * ๆ˜ฏๅฆ้š่—.
6
- * ่ฏฅ็ป„ไปถ้œ€่ฆๅœจไธๅŒ็š„ๅœฐๆ–นไฝฟ็”จ,
7
- * ๅœจๆœ‰็š„ๅœฐๆ–น้œ€่ฆๆ˜พ็คบๅฝ“ๅ‰้€‰ๆ‹ฉ็š„ไป“ๅบ“, ๅนถไธ”ๅฏไปฅ้€š่ฟ‡็‚นๅ‡ปๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚้กถ้ƒจๅฏผ่ˆชๆ ,
8
- * ๅœจๆœ‰็š„ๅœฐๆ–น, ไธ้œ€่ฆๆ˜พ็คบ่ฏฅ็ป„ไปถ, ็”จๆˆท้€š่ฟ‡ๅ‚ๆ•ฐๆŽงๅˆถๆ˜ฏๅฆๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚็™ปๅฝ•้กต,
9
- * @default undefined
10
- */
11
- kgInvisible: PropType<boolean>;
12
- onKgOk: PropType<() => void>;
13
- };
14
- export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
15
- declare const _default: import("vue").DefineComponent<{
16
- /**
17
- * ๆ˜ฏๅฆ้š่—.
18
- * ่ฏฅ็ป„ไปถ้œ€่ฆๅœจไธๅŒ็š„ๅœฐๆ–นไฝฟ็”จ,
19
- * ๅœจๆœ‰็š„ๅœฐๆ–น้œ€่ฆๆ˜พ็คบๅฝ“ๅ‰้€‰ๆ‹ฉ็š„ไป“ๅบ“, ๅนถไธ”ๅฏไปฅ้€š่ฟ‡็‚นๅ‡ปๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚้กถ้ƒจๅฏผ่ˆชๆ ,
20
- * ๅœจๆœ‰็š„ๅœฐๆ–น, ไธ้œ€่ฆๆ˜พ็คบ่ฏฅ็ป„ไปถ, ็”จๆˆท้€š่ฟ‡ๅ‚ๆ•ฐๆŽงๅˆถๆ˜ฏๅฆๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚็™ปๅฝ•้กต,
21
- * @default undefined
22
- */
23
- kgInvisible: PropType<boolean>;
24
- onKgOk: PropType<() => void>;
25
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
- /**
27
- * ๆ˜ฏๅฆ้š่—.
28
- * ่ฏฅ็ป„ไปถ้œ€่ฆๅœจไธๅŒ็š„ๅœฐๆ–นไฝฟ็”จ,
29
- * ๅœจๆœ‰็š„ๅœฐๆ–น้œ€่ฆๆ˜พ็คบๅฝ“ๅ‰้€‰ๆ‹ฉ็š„ไป“ๅบ“, ๅนถไธ”ๅฏไปฅ้€š่ฟ‡็‚นๅ‡ปๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚้กถ้ƒจๅฏผ่ˆชๆ ,
30
- * ๅœจๆœ‰็š„ๅœฐๆ–น, ไธ้œ€่ฆๆ˜พ็คบ่ฏฅ็ป„ไปถ, ็”จๆˆท้€š่ฟ‡ๅ‚ๆ•ฐๆŽงๅˆถๆ˜ฏๅฆๆ‰“ๅผ€ๅผน็ช—, ๆฏ”ๅฆ‚็™ปๅฝ•้กต,
31
- * @default undefined
32
- */
33
- kgInvisible: PropType<boolean>;
34
- onKgOk: PropType<() => void>;
35
- }>> & {
36
- onKgOk?: ((...args: any[]) => any) | undefined;
37
- }, {}>;
38
- export default _default;
@@ -1,4 +0,0 @@
1
- export { default as KgWarehouse } from './KgWarehouse';
2
- export * from './index.guard';
3
- export * from './index.hooks';
4
- export * from './index.store';
@@ -1,8 +0,0 @@
1
- import { Pinia } from 'pinia';
2
- import { type Router } from 'vue-router';
3
- /**
4
- * ๅฆ‚ๆžœๅฏ็”จไบ†ไป“ๅบ“้€‰ๆ‹ฉๅŠŸ่ƒฝ, ๅˆ™ๅฟ…้กป้€‰ๆ‹ฉไป“ๅบ“, ๅฆๅˆ™ๆ— ๆณ•่ฟ›ๅ…ฅ้กต้ข.
5
- * @param router
6
- * @param pinia
7
- */
8
- export declare function createKgWarehouseGuard(router: Router, pinia: Pinia): void;
@@ -1,22 +0,0 @@
1
- import { Pinia } from 'pinia';
2
- import { ComputedRef } from 'vue';
3
- import { WhDTO } from '../../apis/WMS/models';
4
- import { IRemoveEventListenerHandler } from '../../consts';
5
- import { IKgWarehouseMountedCb, IKgWarehouseStore } from './index.store';
6
- export declare type IUseKgWarehouse = {
7
- store: IKgWarehouseStore;
8
- visible: ComputedRef<boolean>;
9
- /** ๅฝ“ๅ‰ไป“ๅบ“. */
10
- warehouse: ComputedRef<WhDTO | null>;
11
- /**
12
- * ็›‘ๅฌไบ‹ไปถ: ็ป„ไปถๅŠ ่ฝฝๅฎŒๆˆ.
13
- * @param cb ๅ›ž่ฐƒๅ‡ฝๆ•ฐ.
14
- * @param once ๆ˜ฏๅฆๅชไผš่งฆๅ‘ไธ€ๆฌก. ้ป˜่ฎคไธบ undefined.
15
- */
16
- onMounted(cb: IKgWarehouseMountedCb, once?: boolean): IRemoveEventListenerHandler;
17
- };
18
- /**
19
- * ๅœจๆŸไบ›ๅœฐๆ–น่ฐƒ็”จๆ—ถ(ๆฏ”ๅฆ‚ๅœจ่ทฏ็”ฑๅฎˆๅซไธญ), pinia ๅฐšๆœช่ฎพ็ฝฎ, ๆญคๆ—ถ้œ€่ฆๆ‰‹ๅŠจไผ ๅ…ฅ pinia ๅฎžไพ‹.
20
- * @param pinia
21
- */
22
- export declare function useKgWarehouse(pinia?: Pinia): IUseKgWarehouse;
@@ -1,53 +0,0 @@
1
- import { Pinia, StoreDefinition } from 'pinia';
2
- import { WhDTO } from '../../apis/WMS/models';
3
- import { IKgEventCb } from '../../consts';
4
- /**
5
- * ไบ‹ไปถ็ฑปๅž‹.
6
- * 'mounted': ็ป„ไปถๅŠ ่ฝฝๅฎŒๆˆ
7
- */
8
- export declare type IKgWarehouseEvent = 'mounted';
9
- /** ไบ‹ไปถ็›‘ๅฌๅ‡ฝๆ•ฐ: mounted. */
10
- export declare type IKgWarehouseMountedCb = (() => void) & IKgEventCb;
11
- export declare type IKgWarehouseCb = IKgWarehouseMountedCb;
12
- export interface IKgWarehouseState {
13
- /** ๅผน็ช—ๆ˜ฏๅฆๆ˜พ็คบ. */
14
- visible: boolean;
15
- warehouse: WhDTO | null;
16
- mountedListeners: Array<IKgWarehouseMountedCb>;
17
- }
18
- export declare type IKgWarehouseStoreDefinition = StoreDefinition<'KgWarehouse', IKgWarehouseState, {
19
- getVisible: boolean;
20
- /** ่Žทๅ–ๅฝ“ๅ‰ไป“ๅบ“. */
21
- getWarehouse: WhDTO | null;
22
- }, {
23
- /**
24
- * ๆณจๅ†Œไบ‹ไปถ็›‘ๅฌ.
25
- * @param event ไบ‹ไปถๅ็งฐ.
26
- * @param cb ๅ›ž่ฐƒๅ‡ฝๆ•ฐ.
27
- */
28
- addEventListener(event: IKgWarehouseEvent, cb: IKgWarehouseCb): void;
29
- /**
30
- * ้€€่ฎขไบ‹ไปถ็›‘ๅฌ.
31
- * @param event ไบ‹ไปถๅ็งฐ.
32
- * @param cb ๅ›ž่ฐƒๅ‡ฝๆ•ฐ.
33
- */
34
- removeEventListener(event: IKgWarehouseEvent, cb?: IKgWarehouseCb): void;
35
- /**
36
- * ่งฆๅ‘ไบ‹ไปถ.
37
- * @param event ไบ‹ไปถๅ็งฐ.
38
- * @param args ๆ•ฐๆฎ.
39
- */
40
- emit(event: IKgWarehouseEvent, args?: any | null): void;
41
- /**
42
- * ๆ˜พ็คบๆˆ–่€…้š่—ๅผน็ช—.
43
- * @param visible ๆ˜ฏๅฆๆ˜พ็คบ.
44
- */
45
- setVisible(visible: boolean): void;
46
- /**
47
- * ่ฎพ็ฝฎ้€‰ๆ‹ฉ็š„ไป“ๅบ“.
48
- * @param warehouse ้€‰ๆ‹ฉ็š„ไป“ๅบ“.
49
- */
50
- setWarehouse(warehouse?: WhDTO | null): void;
51
- }>;
52
- export declare type IKgWarehouseStore = ReturnType<IKgWarehouseStoreDefinition>;
53
- export declare const useKgWarehouseStore: (_pinia?: Pinia) => IKgWarehouseStoreDefinition;
@@ -1,60 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as KgYesOrNo, type IKgYesOrNoProps } from './KgYesOrNo';
@@ -1,16 +0,0 @@
1
- export * from './KgAppSelect';
2
- export * from './KgModal';
3
- export * from './KgProgressA';
4
- export * from './KgResizable';
5
- export * from './KgSearch';
6
- export * from './KgSubmit';
7
- export * from './KgTable';
8
- export * from './KgVar';
9
- export * from './KgVarConfig';
10
- export * from './KgWarehouse';
11
- export * from './KgYesOrNo';
12
- export * from './KgButton';
13
- export { default as KgButton } from './KgButton';
14
- export * from './KgForm';
15
- export { default as KgForm } from './KgForm';
16
- export * from './KgForm.Item';
@@ -1,14 +0,0 @@
1
- import { IKgEventCb, IRemoveEventListenerHandler } from '../consts';
2
- /**
3
- * ๆž„้€ ไบ‹ไปถ็›‘ๅฌ.
4
- * @param frm_id ็•Œ้ขๆ ‡่ฏ†.
5
- * @param store ็Šถๆ€็ฎก็†.
6
- * @param event ไบ‹ไปถๅ็งฐ.
7
- */
8
- export declare function onEventFactory<S extends {
9
- addEventListener(frm_id: string, event: E, cb: C): void;
10
- removeEventListener(frm_id: string, event: E, cb?: C): void;
11
- } | {
12
- addEventListener(event: E, cb: C): void;
13
- removeEventListener(event: E, cb?: C): void;
14
- } = any, E = any, C extends IKgEventCb = any>(frm_id: string | null, store: S, event: E): (cb: C) => IRemoveEventListenerHandler;
@@ -1,3 +0,0 @@
1
- export * from './setup';
2
- export * from './index.hooks';
3
- export * from './index.store';
@@ -1,43 +0,0 @@
1
- import { Pinia } from 'pinia';
2
- import { ComputedRef, Ref } from 'vue';
3
- import { Router } from 'vue-router';
4
- import { IKgLocale } from '../consts';
5
- import { IKgStateOption, IKgStore, P, T } from './index.store';
6
- export declare type IUseKg = {
7
- store: IKgStore;
8
- /** ่ฏญ่จ€. */
9
- locale: ComputedRef<IKgLocale> | null;
10
- router: ComputedRef<Router | null>;
11
- /** ้…็ฝฎๅ‚ๆ•ฐ. */
12
- option: ComputedRef<IKgStateOption>;
13
- /** ็ฟป่ฏ‘. */
14
- t: T;
15
- /** ๆฃ€ๆŸฅๆƒ้™. */
16
- p: P;
17
- };
18
- /**
19
- * @param pinia ๅœจๆŸไบ›ๅœฐๆ–น่ฐƒ็”จๆ—ถ(ๆฏ”ๅฆ‚ๅœจ่ทฏ็”ฑๅฎˆๅซไธญ), pinia ๅฐšๆœช่ฎพ็ฝฎ, ๆญคๆ—ถ้œ€่ฆๆ‰‹ๅŠจไผ ๅ…ฅ pinia ๅฎžไพ‹.
20
- */
21
- export declare function useKg(pinia?: Pinia): IUseKg;
22
- export interface IUseKgDragModal {
23
- draggable: Ref<boolean> | ComputedRef<boolean>;
24
- visible: Ref<boolean> | ComputedRef<boolean>;
25
- destroyOnClose: Ref<boolean | undefined> | undefined | ComputedRef<boolean>;
26
- /**
27
- * @default '.ant-modal-wrap'
28
- */
29
- containerElementSelector: string;
30
- /**
31
- * @default '.ant-modal-header'
32
- */
33
- handleElementSelector: string;
34
- /**
35
- * @default '.ant-modal'
36
- */
37
- contentElementSelector: string;
38
- }
39
- /**
40
- * ๆ‹–ๆ‹ฝ็งปๅŠจ.
41
- * @param param ๅ‚ๆ•ฐ.
42
- */
43
- export declare function useKgDragModal(param: IUseKgDragModal): void;
@@ -1,184 +0,0 @@
1
- import { Pinia, StoreDefinition } from 'pinia';
2
- import { ComputedRef } from 'vue';
3
- import { Router } from 'vue-router';
4
- import { SysUserWarehouseDTO } from '../apis/WMS/models';
5
- import { IKgLocale, KG_APP, Menu } from '../consts';
6
- export declare type IKgStateOption = {
7
- /** ๆจกๅ—้ฆ–้กตๅœฐๅ€. */
8
- appIndex?: {
9
- /** ้ป˜่ฎคไธบ '/wms/data-manager/index'. */
10
- [KG_APP.WMS_DATA_MANAGER]?: string;
11
- /** ้ป˜่ฎคไธบ '/wms/business-manager/index'. */
12
- [KG_APP.WMS_BUSINESS_MANAGER]?: string;
13
- /** ้ป˜่ฎคไธบ '/wcs/index'. */
14
- [KG_APP.WCS]?: string;
15
- /** ้ป˜่ฎคไธบ '/sys/index'. */
16
- [KG_APP.SYS]?: string;
17
- };
18
- /** ๆจกๅ—ๆ ‡้ข˜. */
19
- appTitle?: {
20
- /** ้ป˜่ฎคไธบ 'ๆ•ฐๆฎ็ฎก็†'. */
21
- [KG_APP.WMS_DATA_MANAGER]?: string;
22
- /** ้ป˜่ฎคไธบ 'ไป“ๅบ“็ฎก็†'. */
23
- [KG_APP.WMS_BUSINESS_MANAGER]?: string;
24
- /** ้ป˜่ฎคไธบ 'WCS'. */
25
- [KG_APP.WCS]?: string;
26
- /** ้ป˜่ฎคไธบ '็ณป็ปŸ้…็ฝฎ'. */
27
- [KG_APP.SYS]?: string;
28
- };
29
- KgModal?: {
30
- /** ๆ‹–ๆ‹ฝ็งปๅŠจ. */
31
- drag?: {
32
- /**
33
- * ๆ˜ฏๅฆๅฏ็”จๅŠŸ่ƒฝ.
34
- * @default false
35
- */
36
- on?: boolean;
37
- };
38
- };
39
- KgSearch?: {
40
- /** ้ซ˜็บงๆŸฅ่ฏข. */
41
- dynamicQuery?: {
42
- /**
43
- * ๆ˜ฏๅฆๅฏ็”จๅŠŸ่ƒฝ.
44
- * @default false
45
- */
46
- on?: boolean;
47
- };
48
- };
49
- KgTable?: {
50
- /** ๅˆ—็š„่ฟ‡ๆปค. */
51
- filter?: {
52
- /**
53
- * ๆ˜ฏๅฆๅฏ็”จๅŠŸ่ƒฝ.
54
- * @default false
55
- */
56
- on?: boolean;
57
- };
58
- /** ่กจๆ ผ่ฎพ็ฝฎ่œๅ•. */
59
- Setting?: {
60
- /** ่กŒ้ซ˜. */
61
- rowHeight?: {
62
- /**
63
- * ๆ˜ฏๅฆๅฏ็”จๅŠŸ่ƒฝ.
64
- * @default false
65
- */
66
- on?: boolean;
67
- };
68
- };
69
- };
70
- /** ไป“ๅบ“้€‰ๆ‹ฉ. */
71
- KgWarehouse?: {
72
- /**
73
- * ๆ˜ฏๅฆๅฏ็”จๅŠŸ่ƒฝ.
74
- * @default true
75
- */
76
- on?: boolean;
77
- /** ้ป˜่ฎค็š„ไป“ๅบ“็ผ–็ , ๅชๆœ‰ๅœจ {@link IKgStateOption.KgWarehouse.on} ไธบ false ๆ—ถๆ‰็”Ÿๆ•ˆ. */
78
- defaultWarehouseID?: string;
79
- };
80
- };
81
- /** ็ฟป่ฏ‘็š„ๆ–นๆณ•. */
82
- export declare type T = {
83
- (key: string | null | undefined): string;
84
- (key: string | null | undefined, locale: string): string;
85
- (key: string | null | undefined, locale: string, list: unknown[]): string;
86
- (key: string | null | undefined, locale: string, named: Record<string, unknown>): string;
87
- (key: string | null | undefined, list: unknown[]): string;
88
- (key: string | null | undefined, named: Record<string, unknown>): string;
89
- };
90
- /** ๆฃ€ๆŸฅๆƒ้™็š„ๆ–นๆณ•. */
91
- export declare type P = {
92
- (permissionCode?: string | Array<string> | null): boolean;
93
- };
94
- export interface RoleInfo {
95
- roleName: string;
96
- value: string;
97
- }
98
- export interface UserInfo {
99
- id: string | number;
100
- userId: string | number;
101
- username: string;
102
- realname: string;
103
- avatar: string;
104
- desc?: string;
105
- homePath?: string;
106
- tenantid?: string | number;
107
- roles: RoleInfo[];
108
- orgCode?: string;
109
- }
110
- interface UserState {
111
- userInfo: UserInfo | null;
112
- token?: string;
113
- roleList: any[];
114
- userWarehouses: SysUserWarehouseDTO[];
115
- sessionTimeout?: boolean;
116
- }
117
- interface AuthItem {
118
- /** ๆƒ้™็ผ–็ . */
119
- action: string;
120
- /** ๆƒ้™็ญ–็•ฅ. 1:ๆ˜พ็คบ, 2:็ฆ็”จ. */
121
- type: string | number;
122
- /** ๆƒ้™็Šถๆ€. 0:ๆ— ๆ•ˆ, 1:ๆœ‰ๆ•ˆ. */
123
- status: string | number;
124
- /** ๆƒ้™ๅ็งฐ. */
125
- describe?: string;
126
- }
127
- interface PermissionState {
128
- /** ๅฝ“ๅ‰็™ปๅฝ•็”จๆˆทๆ‰€ๆ‹ฅๆœ‰็š„ๆƒ้™็ผ–็ ๅˆ—่กจ. */
129
- permCodeList: string[] | number[];
130
- /** ่œๅ•ๅˆ—่กจ. */
131
- backMenuList: Menu[];
132
- /** ๅฝ“ๅ‰็™ปๅฝ•็”จๆˆทๆ‰€ๆ‹ฅๆœ‰็š„ๆƒ้™้…็ฝฎ. */
133
- authList: AuthItem[];
134
- /** ๅ…จ้ƒจๆƒ้™้…็ฝฎ. */
135
- allAuthList: AuthItem[];
136
- }
137
- export interface IKgState {
138
- /** ่ฏญ่จ€. */
139
- locale: ComputedRef<IKgLocale> | null;
140
- /** ็ฟป่ฏ‘็š„ๆ–นๆณ•. */
141
- tFunction: T | null;
142
- /** ๆฃ€ๆŸฅๆƒ้™็š„ๆ–นๆณ•. */
143
- pFunction: P | null;
144
- router: Router | null;
145
- /** ็”จๆˆทๆ•ฐๆฎ. */
146
- useUserStore: StoreDefinition | null;
147
- /** ๆƒ้™ๆ•ฐๆฎ. */
148
- usePermissionStore: StoreDefinition | null;
149
- /** ้…็ฝฎๅ‚ๆ•ฐ. */
150
- option: IKgStateOption;
151
- }
152
- export declare type IKgStoreDefinition = StoreDefinition<'Kg', IKgState, {
153
- /** ่Žทๅ–้…็ฝฎๅ‚ๆ•ฐ. */
154
- getLocale: ComputedRef<IKgLocale> | null;
155
- getRouter: Router | null;
156
- getUseUserStore(): StoreDefinition<string, UserState, {
157
- getToken(): string;
158
- getRoleList(): any[];
159
- getUserWarehouses(): SysUserWarehouseDTO[];
160
- getSessionTimeout(): boolean;
161
- getUserInfo(): UserInfo;
162
- }, {}> | null;
163
- getUsePermissionStore(): StoreDefinition<string, PermissionState, {
164
- getPermCodeList(): string[] | number[];
165
- getBackMenuList(): Menu[];
166
- }> | null;
167
- /** ่Žทๅ–้…็ฝฎๅ‚ๆ•ฐ. */
168
- getOption: IKgStateOption;
169
- }, {
170
- setLocale(locale: ComputedRef<IKgLocale> | null): void;
171
- setRouter(router: Router): void;
172
- setUseUserStore(useUserStore: StoreDefinition<any, any, any, any>): void;
173
- setUsePermissionStore(usePermissionStore: StoreDefinition<any, any, any, any>): void;
174
- setT(i18n: any): void;
175
- setP(fn: P): void;
176
- setOption(option: IKgStateOption): void;
177
- /** ็ฟป่ฏ‘. */
178
- t: T;
179
- /** ๆฃ€ๆŸฅๆƒ้™. */
180
- p: P;
181
- }>;
182
- export declare type IKgStore = ReturnType<IKgStoreDefinition>;
183
- export declare const useKgStore: (_pinia?: Pinia) => IKgStoreDefinition;
184
- export {};
@@ -1,43 +0,0 @@
1
- import { Pinia, StoreDefinition } from 'pinia';
2
- import { App, ComputedRef } from 'vue';
3
- import { Router } from 'vue-router';
4
- import { IKgLocale } from '../consts';
5
- import { IKgStateOption, P } from './index.store';
6
- /**
7
- * ้…็ฝฎ pinia ๅฎžไพ‹.
8
- * @param pinia pinia ๅฎžไพ‹.
9
- */
10
- export declare function setPinia(pinia: Pinia): void;
11
- /**
12
- * ่Žทๅ– pinia ๅฎžไพ‹.
13
- */
14
- export declare function pinia(): Pinia | null;
15
- export declare type IKgOptions = {
16
- app: App;
17
- /** ๅฝ“ๅ‰่ฏญ่จ€. */
18
- locale: ComputedRef<IKgLocale>;
19
- /**
20
- * import { createI18n } from 'vue-i18n';
21
- * ReturnType<typeof createI18n>
22
- */
23
- i18n: any;
24
- router: Router;
25
- /** ็Šถๆ€ๆ•ฐๆฎ: ็”จๆˆท. */
26
- useUserStore: StoreDefinition<any, any, any, any>;
27
- /** ็Šถๆ€ๆ•ฐๆฎ: ๆƒ้™. */
28
- usePermissionStore: StoreDefinition<any, any, any, any>;
29
- /** ๆƒ้™ๆ–นๆณ•, ็”จๆฅๅˆคๆ–ญๆ˜ฏๅฆๅ…ทๆœ‰ๆŸไธช(ๆŸไบ›)ๆƒ้™. */
30
- pFunction: P;
31
- /** ้…็ฝฎๅ‚ๆ•ฐ. */
32
- option?: IKgStateOption;
33
- };
34
- /**
35
- * ๅˆๅง‹ๅŒ– pinia.
36
- * @param pinia pinia.
37
- */
38
- export declare function setupKgStore(pinia: Pinia): void;
39
- /**
40
- * ๅˆๅง‹ๅŒ–็ป„ไปถๅบ“.
41
- * @param options ๅ‚ๆ•ฐ.
42
- */
43
- export declare function setup(options: IKgOptions): void;