@kengic/vue 0.30.1-beta.5 → 0.30.1-beta.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/dist/align-left-outlined.579b01c6.mjs +8 -0
  4. package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
  5. package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
  6. package/dist/caret-up-outlined.81b559ad.mjs +8 -0
  7. package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
  8. package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
  9. package/dist/double-right-outlined.f057a6b2.mjs +8 -0
  10. package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
  11. package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
  12. package/dist/holder-outlined.9e698750.mjs +8 -0
  13. package/dist/index.css +1 -1
  14. package/dist/kengic-vue.js +172885 -127732
  15. package/dist/loading-outlined.13a15197.mjs +8 -0
  16. package/dist/more-outlined.8e1202ac.mjs +8 -0
  17. package/dist/palette-swatch-variant.f7258843.mjs +8 -0
  18. package/dist/partition-outlined.1bcf4f37.mjs +8 -0
  19. package/dist/pause-rounded.1ed7cc39.mjs +8 -0
  20. package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
  21. package/dist/profile-outlined.1059fb0d.mjs +8 -0
  22. package/dist/project/build/utils.ts +20 -15
  23. package/dist/src/component/KgButton/KgButton.hooks.d.ts +2 -2
  24. package/dist/src/component/KgButton/KgButton.store.d.ts +1 -1
  25. package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
  26. package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.Fullscreen.d.ts → KgCanvas.ToolbarButton.Fullscreen.d.ts} +2 -3
  27. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +7 -0
  28. package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.OverviewScale.d.ts → KgCanvas.ToolbarButton.OverviewScale.d.ts} +2 -3
  29. package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +1 -2
  30. package/dist/src/component/KgCanvas/KgCanvas.d.ts +59 -3
  31. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +42 -5
  32. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +33 -5
  33. package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +26 -32
  34. package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +5 -31
  35. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +4 -1
  36. package/dist/src/component/KgCanvas/index.d.ts +1 -1
  37. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
  38. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
  39. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +5 -0
  40. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +5 -0
  41. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +5 -0
  42. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
  43. package/dist/src/{page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
  44. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +5 -0
  45. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +29 -0
  46. package/dist/src/{page/KgCircleVis/components/KgCircleVis.model.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts} +1 -1
  47. package/dist/src/{page/KgCircleVis/components/KgCircleVis.store.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts} +41 -41
  48. package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
  49. package/dist/src/component/KgForm/KgForm.d.ts +39 -39
  50. package/dist/src/component/KgForm/KgForm.hooks.d.ts +2 -2
  51. package/dist/src/component/KgForm/KgForm.store.d.ts +4 -4
  52. package/dist/src/component/KgForm/index.d.ts +52 -52
  53. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +35 -35
  54. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +31 -33
  55. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +34 -34
  56. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +38 -36
  57. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +34 -34
  58. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +34 -34
  59. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +34 -34
  60. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +34 -34
  61. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +34 -34
  62. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +34 -34
  63. package/dist/src/component/KgForm.Item/components/KgForm.Item.Link.d.ts +34 -34
  64. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +34 -36
  65. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +35 -35
  66. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +34 -34
  67. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +34 -34
  68. package/dist/src/component/KgImage/KgImage.d.ts +6 -6
  69. package/dist/src/component/KgLayoutHeader/{components/KgLayoutHeaderLocale.d.ts → KgLayoutHeader.Locale.d.ts} +1 -1
  70. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  71. package/dist/src/component/KgModal/KgModal.d.ts +20 -20
  72. package/dist/src/component/KgModal/{hooks/useDragToResize.d.ts → KgModal.service.d.ts} +13 -2
  73. package/dist/src/component/KgModal02/KgModal02.d.ts +591 -0
  74. package/dist/src/component/KgModal02/KgModal02.model.d.ts +1 -0
  75. package/dist/src/component/KgModal02/index.d.ts +1 -0
  76. package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
  77. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +2 -2
  78. package/dist/src/component/KgSearch/KgSearch.store.d.ts +26 -26
  79. package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
  80. package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
  81. package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +80 -0
  82. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
  83. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +36 -0
  84. package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
  85. package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
  86. package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
  87. package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
  88. package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +97 -0
  89. package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +108 -0
  90. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +9 -0
  91. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +9 -0
  92. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +9 -0
  93. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +113 -0
  94. package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
  95. package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +99 -0
  96. package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +103 -0
  97. package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
  98. package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +1467 -0
  99. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +294 -0
  100. package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +21 -0
  101. package/dist/src/component/KgSimulator/index.d.ts +3 -0
  102. package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +20 -15
  103. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +46 -14
  104. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +46 -0
  105. package/dist/src/component/KgTable/{components/KgTable.BodyCell.d.ts → KgTable.BodyCell.d.ts} +1 -1
  106. package/dist/src/component/KgTable/{components/setting/KgTable.Setting.service.d.ts → KgTable.Setting.service.d.ts} +1 -1
  107. package/dist/src/component/KgTable/KgTable.store.d.ts +1 -1
  108. package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +32 -3
  109. package/dist/src/component/KgTable02/KgTable02.event.d.ts +13 -3
  110. package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +9 -0
  111. package/dist/src/component/KgVar/{KgVarFactory.d.ts → KgVar.Factory.d.ts} +9 -0
  112. package/dist/src/component/KgVar/KgVar.d.ts +23 -17
  113. package/dist/src/component/KgVar/KgVar.event.d.ts +19 -6
  114. package/dist/src/component/KgVar/KgVar.hooks.d.ts +20 -7
  115. package/dist/src/component/KgVar/KgVar.model.d.ts +0 -5
  116. package/dist/src/component/KgVar/index.d.ts +1 -1
  117. package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
  118. package/dist/src/component/index.d.ts +3 -0
  119. package/dist/src/config/config.store.d.ts +9 -5
  120. package/dist/src/config/index.d.ts +9 -3
  121. package/dist/src/const/const.model.d.ts +524 -11
  122. package/dist/src/const/form-id.const.d.ts +22 -10
  123. package/dist/src/const/index.d.ts +0 -1
  124. package/dist/src/i18n/i18n.setup.d.ts +1 -1
  125. package/dist/src/i18n/index.d.ts +0 -2
  126. package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
  127. package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
  128. package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
  129. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +3 -3
  130. package/dist/src/page/index.d.ts +2 -2
  131. package/dist/src/project/src/hooks/index.d.ts +0 -1
  132. package/dist/src/project/src/utils/env.d.ts +0 -16
  133. package/dist/src/service/http-client.d.ts +5 -1
  134. package/dist/src/util/ant-design-vue.d.ts +16 -16
  135. package/dist/src/util/kg-route.util.d.ts +6 -9
  136. package/dist/src/util/kg.util.d.ts +1 -2
  137. package/dist/src/util/tsx.helper.d.ts +7 -7
  138. package/package.json +9 -7
  139. package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
  140. package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +0 -12
  141. package/dist/src/const/injection-keys.const.d.ts +0 -11
  142. package/dist/src/i18n/cs_CZ.d.ts +0 -301
  143. package/dist/src/i18n/en.d.ts +0 -300
  144. package/dist/src/i18n/es_ES.d.ts +0 -300
  145. package/dist/src/i18n/fr_FR.d.ts +0 -300
  146. package/dist/src/i18n/km_KH.d.ts +0 -300
  147. package/dist/src/i18n/ko_KR.d.ts +0 -300
  148. package/dist/src/i18n/vi_VN.d.ts +0 -300
  149. package/dist/src/i18n/zh_CN.d.ts +0 -301
  150. package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
  151. package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
  152. package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
  153. package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
  154. package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
  155. package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
  156. package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
  157. package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +0 -29
  158. package/dist/src/page/KgCircleVis/index.d.ts +0 -1
  159. package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
  160. /package/dist/src/{page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
  161. /package/dist/src/component/KgTable/{components/KgTable.HeadCell.d.ts → KgTable.HeadCell.d.ts} +0 -0
  162. /package/dist/src/component/KgTable/{components/KgTable.Info.d.ts → KgTable.Info.d.ts} +0 -0
  163. /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts → KgTable.Setting.VarGridMaster.SaveAs.d.ts} +0 -0
  164. /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +0 -0
@@ -16,7 +16,6 @@ export * from './web/useAppInject';
16
16
  export * from './web/useContentHeight';
17
17
  export * from './web/useCopyToClipboard';
18
18
  export * from './web/useDesign';
19
- export * from './web/useI18n';
20
19
  export * from './web/usePage';
21
20
  export * from './web/usePagination';
22
21
  export * from './web/useWebSocket';
@@ -10,23 +10,7 @@ export declare function getAppEnvConfig(): {
10
10
  VITE_GLOB_DOMAIN_URL: string;
11
11
  VITE_GLOB_ONLINE_VIEW_URL: string | undefined;
12
12
  };
13
- /**
14
- * @description: Development mode
15
- */
16
13
  export declare const devMode = "development";
17
- /**
18
- * @description: Production mode
19
- */
20
14
  export declare const prodMode = "production";
21
- /**
22
- * @description: Is it a development mode
23
- * @returns:
24
- * @example:
25
- */
26
15
  export declare function isDevMode(): boolean;
27
- /**
28
- * @description: Is it a production mode
29
- * @returns:
30
- * @example:
31
- */
32
16
  export declare function isProdMode(): boolean;
@@ -73,7 +73,11 @@ interface IRequestOption {
73
73
  */
74
74
  joinTime?: boolean;
75
75
  /**
76
- * <p>模拟数据. 如果不为 undefined 则不会发起请求, 而是直接返回该模拟数据.</p>
76
+ * <p>模拟数据.</p>
77
+ * <ul>
78
+ * <li>如果是为 undefined, 则是会发起请求,</li>
79
+ * <li>如果不为 undefined, 则不会发起请求, 而是直接返回该模拟数据,</li>
80
+ * </ul>
77
81
  */
78
82
  mock?: any;
79
83
  /**
@@ -6,14 +6,14 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
6
6
  import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
7
7
  import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
8
8
  export declare const formProps: () => {
9
- layout: PropType<"vertical" | "horizontal" | "inline">;
9
+ layout: PropType<"inline" | "horizontal" | "vertical">;
10
10
  labelCol: {
11
11
  type: PropType<Partial<ExtractPropTypes<{
12
- span: (StringConstructor | NumberConstructor)[];
13
- order: (StringConstructor | NumberConstructor)[];
14
- offset: (StringConstructor | NumberConstructor)[];
15
- push: (StringConstructor | NumberConstructor)[];
16
- pull: (StringConstructor | NumberConstructor)[];
12
+ span: (NumberConstructor | StringConstructor)[];
13
+ order: (NumberConstructor | StringConstructor)[];
14
+ offset: (NumberConstructor | StringConstructor)[];
15
+ push: (NumberConstructor | StringConstructor)[];
16
+ pull: (NumberConstructor | StringConstructor)[];
17
17
  xs: {
18
18
  type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
19
19
  default: string | number | import("ant-design-vue/lib/grid").ColSize;
@@ -43,16 +43,16 @@ export declare const formProps: () => {
43
43
  default: string | number | import("ant-design-vue/lib/grid").ColSize;
44
44
  };
45
45
  prefixCls: StringConstructor;
46
- flex: (StringConstructor | NumberConstructor)[];
46
+ flex: (NumberConstructor | StringConstructor)[];
47
47
  }>> & HTMLAttributes>;
48
48
  };
49
49
  wrapperCol: {
50
50
  type: PropType<Partial<ExtractPropTypes<{
51
- span: (StringConstructor | NumberConstructor)[];
52
- order: (StringConstructor | NumberConstructor)[];
53
- offset: (StringConstructor | NumberConstructor)[];
54
- push: (StringConstructor | NumberConstructor)[];
55
- pull: (StringConstructor | NumberConstructor)[];
51
+ span: (NumberConstructor | StringConstructor)[];
52
+ order: (NumberConstructor | StringConstructor)[];
53
+ offset: (NumberConstructor | StringConstructor)[];
54
+ push: (NumberConstructor | StringConstructor)[];
55
+ pull: (NumberConstructor | StringConstructor)[];
56
56
  xs: {
57
57
  type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
58
58
  default: string | number | import("ant-design-vue/lib/grid").ColSize;
@@ -82,7 +82,7 @@ export declare const formProps: () => {
82
82
  default: string | number | import("ant-design-vue/lib/grid").ColSize;
83
83
  };
84
84
  prefixCls: StringConstructor;
85
- flex: (StringConstructor | NumberConstructor)[];
85
+ flex: (NumberConstructor | StringConstructor)[];
86
86
  }>> & HTMLAttributes>;
87
87
  };
88
88
  colon: {
@@ -166,7 +166,7 @@ export declare const modalProps: () => {
166
166
  type: BooleanConstructor;
167
167
  default: undefined;
168
168
  };
169
- width: (StringConstructor | NumberConstructor)[];
169
+ width: (NumberConstructor | StringConstructor)[];
170
170
  footer: PropType<any>;
171
171
  okText: PropType<any>;
172
172
  okType: PropType<LegacyButtonType>;
@@ -340,8 +340,8 @@ export declare const imageProps: () => {
340
340
  type: PropType<(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error) => any>;
341
341
  };
342
342
  id: StringConstructor;
343
- width: (StringConstructor | NumberConstructor)[];
344
- height: (StringConstructor | NumberConstructor)[];
343
+ width: (NumberConstructor | StringConstructor)[];
344
+ height: (NumberConstructor | StringConstructor)[];
345
345
  style: StringConstructor;
346
346
  };
347
347
  export {};
@@ -1,18 +1,15 @@
1
1
  import { KG_APP } from '../const';
2
2
  import { Menu } from '../project/src/router/types';
3
+ import { KgUtil } from './kg.util';
3
4
  export declare class KgRouteUtil {
4
5
  /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
5
6
  static getMenuByPath(menus: Array<Menu> | null | undefined, path: string): Menu | null;
6
7
  /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
7
8
  static getFirstLeafMenu(app?: KG_APP | null): Menu | null;
8
9
  /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
9
- static translateMenus(menus: Array<Menu> | null | undefined, titleKey?: string): Array<Menu>;
10
- /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
11
- static transformMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
12
- /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
13
- static isPathInApp(path: string | null | undefined, app: KG_APP | null): boolean;
14
- /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
15
- static getAppByPath(path: string | null | undefined): KG_APP | null;
16
- /** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
17
- static getAppIndexPath(app: KG_APP): string;
10
+ static translateMenus: typeof KgUtil.translateMenus;
11
+ static transformMenus: typeof KgUtil.transformMenus;
12
+ static isPathInApp: typeof KgUtil.isPathInApp;
13
+ static getAppByPath: typeof KgUtil.getAppByPath;
14
+ static getAppIndexPath: typeof KgUtil.getAppIndexPath;
18
15
  }
@@ -162,9 +162,8 @@ export declare class KgUtil {
162
162
  /**
163
163
  * 翻译菜单标题.
164
164
  * @param menus 菜单列表, 树形结构.
165
- * @param titleKey 标题的属性名, 即要将哪个属性作为菜单的标题.
166
165
  */
167
- static translateMenus(menus: Array<Menu> | null | undefined, titleKey?: string): Array<Menu>;
166
+ static translateMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
168
167
  /**
169
168
  * <p>转换菜单列表.</p>
170
169
  * <ol>
@@ -2,22 +2,22 @@ import { Slots } from 'vue';
2
2
  /**
3
3
  * 根据名称渲染单个插槽.
4
4
  *
5
- * @param param.slots 插槽对象.
5
+ * @param param.slotRecord 插槽对象.
6
6
  * @param param.name 插槽名称.
7
7
  */
8
8
  export declare function renderSlot(param: {
9
- slots: Slots;
10
9
  name: string;
10
+ slotRecord: Slots;
11
11
  }): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
12
  [key: string]: any;
13
13
  }>[] | null;
14
14
  /**
15
15
  * 渲染插槽.
16
16
  *
17
- * @param param.slots 插槽对象.
18
- * @param param.excludeSlots 要排除的插槽名称.
17
+ * @param param.slotRecord 插槽对象.
18
+ * @param param.excludeSlotList 要排除的插槽名称列表.
19
19
  */
20
- export declare function renderSlots(param: {
21
- slots: Slots;
22
- excludeSlots?: string[];
20
+ export declare function renderSlotList(param: {
21
+ excludeSlotList?: string[];
22
+ slotRecord: Slots;
23
23
  }): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.5",
3
+ "version": "0.30.1-beta.51",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -15,6 +15,7 @@
15
15
  "copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
16
16
  "bump-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
17
17
  "copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory-test": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory-test.ts",
18
+ "copy-to:luotao:smartfactory.product.simulator--main": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.simulator--main.ts",
18
19
  "copy-to:luotao:smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
19
20
  "----- --------------------------------------------": "更新组件库的版本",
20
21
  "bump:major": "npm run use-node && tsx script/bump.ts major",
@@ -30,24 +31,23 @@
30
31
  "------- ------------------------------------------": ""
31
32
  },
32
33
  "peerDependencies": {
33
- "vue": "3.2.43"
34
+ "vue": "^3.2.43"
34
35
  },
35
36
  "dependencies": {
36
37
  "@ant-design/colors": "6.0.0",
37
- "@ant-design/icons-vue": "6.1.0",
38
38
  "@iconify-icons/akar-icons": "1.2.19",
39
39
  "@iconify-icons/ant-design": "1.2.7",
40
+ "@iconify-icons/eos-icons": "1.2.6",
40
41
  "@iconify-icons/fluent-mdl2": "1.2.1",
41
42
  "@iconify-icons/material-symbols": "1.2.58",
42
43
  "@iconify-icons/mdi": "1.2.48",
43
44
  "@iconify-icons/ph": "1.2.5",
44
- "@iconify-icons/eos-icons": "1.2.6",
45
45
  "@iconify/vue": "4.1.2",
46
- "@kengic/core.core": "0.0.1-beta.22",
46
+ "@kengic/core.core": "0.0.1-beta.24",
47
47
  "@kengic/core.react": "0.0.2-beta.42",
48
48
  "@kengic/pont": "1.2.17-beta.5",
49
49
  "@rys-fe/vite-plugin-theme": "0.8.6",
50
- "@thymine/xunee": "0.4.9-beta.8",
50
+ "@thymine/xunee": "0.4.9-beta.38",
51
51
  "@types/crypto-js": "4.1.1",
52
52
  "@types/fs-extra": "9.0.13",
53
53
  "@types/inquirer": "8.2.5",
@@ -68,6 +68,7 @@
68
68
  "crypto-js": "4.1.1",
69
69
  "dayjs": "1.11.10",
70
70
  "dotenv": "16.0.3",
71
+ "element-plus": "2.11.4",
71
72
  "filesize": "10.1.0",
72
73
  "fs-extra": "10.1.0",
73
74
  "html-to-image": "1.11.11",
@@ -116,7 +117,8 @@
116
117
  "types": "./dist/src/index.d.ts",
117
118
  "exports": {
118
119
  ".": {
119
- "import": "./dist/kengic-vue.js"
120
+ "import": "./dist/kengic-vue.js",
121
+ "types": "./dist/src/index.d.ts"
120
122
  },
121
123
  "./dist/index.css": "./dist/index.css"
122
124
  },
@@ -1,9 +0,0 @@
1
- import { FormInstance } from 'ant-design-vue/lib/form/Form';
2
- import { ComputedRef, InjectionKey, Ref } from 'vue';
3
- /**
4
- * 依赖注入表单数据对象.
5
- * 在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.
6
- */
7
- export declare const KG__DI__KG_FORM___FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
8
- /** 依赖注入 formRef. */
9
- export declare const KG__DI__KG_FORM___FORM_REF: InjectionKey<Ref<FormInstance | null>>;
@@ -1,12 +0,0 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- /**
3
- * 拖拽改变位置.
4
- *
5
- * @param param.getProps 组件参数.
6
- * @param param.domRef 页面特殊元素对象.
7
- */
8
- export declare function useDragToMove(param: {
9
- domRef: Ref<HTMLDivElement | null>;
10
- getKgIsDragToMove: ComputedRef<boolean>;
11
- getVisible: ComputedRef<boolean>;
12
- }): void;
@@ -1,11 +0,0 @@
1
- import { InjectionKey } from 'vue';
2
- /** 唯一标识. */
3
- export declare const KG__DI__ID: InjectionKey<string>;
4
- /** 界面标识. */
5
- export declare const KG__DI__FORM_ID: InjectionKey<string>;
6
- /** 宿主界面标识. */
7
- export declare const KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID: InjectionKey<string>;
8
- /** 变量名称. */
9
- export declare const KG__DI__KG_FORM_ITEM__VAR_NAME: InjectionKey<string>;
10
- /** 变量查找编号. */
11
- export declare const KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID: InjectionKey<string>;
@@ -1,301 +0,0 @@
1
- declare const _default: {
2
- kg: {
3
- KgAppSelect: {
4
- businessManager: string;
5
- dataManager: string;
6
- sys: string;
7
- tooltip: string;
8
- };
9
- KgButton: {
10
- noApiUrl: string;
11
- noVarSubmitConfig: string;
12
- };
13
- KgCanvas: {
14
- enterFullscreen: string;
15
- exitFullscreen: string;
16
- exportImage: string;
17
- originalScale: string;
18
- overviewScale: string;
19
- reload: string;
20
- };
21
- KgFormItem: {
22
- formValidationMessageForGT: string;
23
- formValidationMessageForGTE: string;
24
- formValidationMessageForInvalidFloat: string;
25
- formValidationMessageForInvalidInteger: string;
26
- formValidationMessageForInvalidJSON: string;
27
- formValidationMessageForInvalidLetter: string;
28
- formValidationMessageForInvalidLowerLetter: string;
29
- formValidationMessageForInvalidUpperLetter: string;
30
- formValidationMessageForLT: string;
31
- formValidationMessageForLTE: string;
32
- formValidationMessageForMaxLength: string;
33
- formValidationMessageForMinLength: string;
34
- formValidationMessageForRegularExpression: string;
35
- };
36
- KgPageDdaCreate: {
37
- 'confirm-cancel': string;
38
- done: string;
39
- 'next-step': string;
40
- 'previous-step': string;
41
- };
42
- KgPageDdaCreateBasic: {
43
- 'form-id': string;
44
- 'form-name': string;
45
- maintenance: string;
46
- sql: string;
47
- type: string;
48
- };
49
- KgPageDdaCreateButton: {
50
- 'button-var-name-reserved': string;
51
- 'button-var-name-used': string;
52
- };
53
- KgPageDdaCreateMenu: {
54
- 'parent-menu': string;
55
- };
56
- KgPageDdaCreateSearch: {
57
- available: string;
58
- 'column-desc': string;
59
- 'column-name': string;
60
- 'column-type': string;
61
- selected: string;
62
- };
63
- KgPageDdaCreateSubmit: {
64
- available: string;
65
- 'column-desc': string;
66
- 'column-name': string;
67
- 'column-type': string;
68
- selected: string;
69
- };
70
- KgPageDdaCreateTable: {
71
- available: string;
72
- 'column-desc': string;
73
- 'column-name': string;
74
- 'column-type': string;
75
- selected: string;
76
- };
77
- KgSearch: {
78
- title: string;
79
- };
80
- KgSearchConfigModal: {
81
- BETWEEN: string;
82
- 'BETWEEN-desc': string;
83
- CONTAIN: string;
84
- 'CONTAIN-desc': string;
85
- END_WITH: string;
86
- 'END_WITH-desc': string;
87
- EQ: string;
88
- 'EQ-desc': string;
89
- GT: string;
90
- 'GT-desc': string;
91
- GTE: string;
92
- 'GTE-desc': string;
93
- IN: string;
94
- 'IN-desc': string;
95
- LT: string;
96
- 'LT-desc': string;
97
- LTE: string;
98
- 'LTE-desc': string;
99
- NE: string;
100
- 'NE-desc': string;
101
- EMPTY: string;
102
- 'EMPTY-desc': string;
103
- NOT_EMPTY: string;
104
- 'NOT_EMPTY-desc': string;
105
- START_WITH: string;
106
- 'START_WITH-desc': string;
107
- close: string;
108
- formTitle: string;
109
- pleaseSelectVarProfileMaster: string;
110
- };
111
- KgSqlClient: {
112
- ResultTab: {
113
- resultStatusLabel: string;
114
- ellapseLabel: string;
115
- rowsTotalLabel: string;
116
- messageLabel: string;
117
- tabTitlePrefix: string;
118
- rowsAffected: string;
119
- };
120
- Toolbar: {
121
- Top: {
122
- deleteCurrentTemplate: string;
123
- saveAsTemplate: string;
124
- saveCurrentTemplate: string;
125
- viewHistory: string;
126
- viewTemplate: string;
127
- };
128
- };
129
- };
130
- KgTable: {
131
- apiNotSupportDynamicQuery: string;
132
- column: string;
133
- config: string;
134
- emptyText: string;
135
- isShowDescription: string;
136
- other: string;
137
- 'request-fail-error': string;
138
- 'request-fail-no-data': string;
139
- rowHeight: string;
140
- rowHeightH: string;
141
- rowHeightL: string;
142
- rowHeightM: string;
143
- 'save-var-grid-master-as-success-message': string;
144
- saveVarGridMaster: string;
145
- saveVarGridMasterAs: string;
146
- saveVarGridMasterSuccessMessage: string;
147
- totalText: string;
148
- varGridMasters: string;
149
- };
150
- KgTableHeadCell: {
151
- align: string;
152
- alignCenter: string;
153
- alignLeft: string;
154
- alignRight: string;
155
- hide: string;
156
- isEllipsis: string;
157
- isFilter: string;
158
- isFixToLeft: string;
159
- isFixToRight: string;
160
- isSort: string;
161
- };
162
- KgTableInfo: {
163
- check: string;
164
- clearCheck: string;
165
- clearTable: string;
166
- locate: string;
167
- row: string;
168
- };
169
- KgTableSettingVarGridConfig: {};
170
- KgTableSettingVarGridMasterSaveAs: {
171
- title: string;
172
- };
173
- KgVar: {};
174
- KgVarConfig: {
175
- VarGridConfig: string;
176
- VarGridMaster: string;
177
- VarProfileConfig: string;
178
- VarProfileMaster: string;
179
- action: string;
180
- allForm: string;
181
- allLanguage: string;
182
- canNotUpdateSystemVarGridMaster: string;
183
- canNotUpdateSystemVarProfileMaster: string;
184
- confirm: string;
185
- createConfig: string;
186
- currentForm: string;
187
- currentLanguage: string;
188
- customLevel: string;
189
- emptyPageSizeOptions: string;
190
- formId: string;
191
- formValidationMessageForMaxAndMin: string;
192
- formValidationMessageForMaxLengthAndMinLength: string;
193
- invalidCommandParameter: string;
194
- invalidPageSizeOption: string;
195
- invalidPageSizeOptions: string;
196
- pleaseSelectVariable: string;
197
- tabButton: string;
198
- tabChild: string;
199
- tabSearch: string;
200
- tabSubmit: string;
201
- tabTable: string;
202
- varVariable: string;
203
- variable: string;
204
- };
205
- KgVarConfigModalButton: {
206
- VarButton: string;
207
- VarButtonConfig: string;
208
- };
209
- KgVarConfigModalChild: {
210
- childVarName: string;
211
- childVarNameDuplicate: string;
212
- childVarNameRequired: string;
213
- parentVarName: string;
214
- parentVarNameDuplicate: string;
215
- parentVarNameRequired: string;
216
- };
217
- KgVarConfigModalSubmit: {
218
- VarSubmitConfig: string;
219
- VarSubmitDetail: string;
220
- };
221
- KgVarConfigModalSubmitVarSubmitConfig: {
222
- invalidWidthForSpan: string;
223
- };
224
- KgVarConfigModalTableVarGridMaster: {
225
- DESC: string;
226
- DESC__UPDATE_LINK: string;
227
- FILE_SIZE: string;
228
- ICON: string;
229
- IMAGE: string;
230
- PROGRESS: string;
231
- ROUTE_LINK: string;
232
- UPDATE_LINK: string;
233
- YN: string;
234
- center: string;
235
- left: string;
236
- notSort: string;
237
- right: string;
238
- };
239
- KgVarConfigSelectFormIdModal: {
240
- title: string;
241
- };
242
- KgWarehouse: {
243
- reloadMessage: string;
244
- selectWarehouse: string;
245
- title: string;
246
- warehouse: string;
247
- };
248
- action: string;
249
- add: string;
250
- allUser: string;
251
- asc: string;
252
- button: string;
253
- cancel: string;
254
- close: string;
255
- confirm: string;
256
- confirmDelete: string;
257
- copy: string;
258
- copySuccess: string;
259
- create: string;
260
- createSuccess: string;
261
- default: string;
262
- delete: string;
263
- deleteSuccess: string;
264
- desc: string;
265
- edit: string;
266
- empty: string;
267
- emptyText: string;
268
- execute: string;
269
- executeSuccess: string;
270
- export: string;
271
- exportSuccess: string;
272
- fail: string;
273
- formId: string;
274
- formName: string;
275
- formValidationFail: string;
276
- import: string;
277
- 'import-template': string;
278
- importSuccess: string;
279
- importTemplate: string;
280
- loading: string;
281
- lookup: string;
282
- millisecond: string;
283
- no: string;
284
- ok: string;
285
- query: string;
286
- refresh: string;
287
- required: string;
288
- reset: string;
289
- save: string;
290
- search: string;
291
- selectAll: string;
292
- show: string;
293
- succeed: string;
294
- success: string;
295
- tip: string;
296
- update: string;
297
- updateSuccess: string;
298
- yes: string;
299
- };
300
- };
301
- export default _default;