@gct-paas/core-web 0.1.4-dev.10 → 0.1.4-dev.11

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 (549) hide show
  1. package/dist/index-B8zoAUhR.cjs +20 -0
  2. package/dist/index-BH5PTZ_c.js +20 -0
  3. package/dist/index-Cna4DZog.js +109381 -0
  4. package/dist/index.esm.min.mjs +89 -39
  5. package/dist/index.min.cjs +1 -1
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.system.min.js +1 -1
  8. package/dist/monaco-editor-4E2xdOou.cjs +1 -0
  9. package/dist/monaco-editor-C-wvzgow.js +1 -0
  10. package/dist/monaco-editor-Cel355Cg.js +350 -0
  11. package/es/ai-components/code-chat/code-chat.d.ts +53 -0
  12. package/es/ai-components/index.d.ts +1 -0
  13. package/es/ai-components/wujie-ai-container/wujie-ai-container.d.ts +21 -0
  14. package/es/components/base-button/base-button.vue.d.ts +5 -5
  15. package/es/components/basic-button/basic-button.vue.d.ts +2 -2
  16. package/es/components/code-editor/code-editor.d.ts +1 -1
  17. package/es/components/double-input/double-input.vue.mjs +1 -1
  18. package/es/components/icon-next/data/icons.data.d.ts +5 -0
  19. package/es/components/icon-next/hooks/useIconAsset.d.ts +16 -0
  20. package/es/components/icon-next/hooks/useIconAsset.mjs +48 -0
  21. package/es/components/icon-next/hooks/useIconPark.d.ts +16 -0
  22. package/es/components/icon-next/hooks/useIconPark.mjs +52 -0
  23. package/es/components/icon-next/hooks/useIconPlatform.d.ts +8 -0
  24. package/es/components/icon-next/hooks/useIconPlatform.mjs +48 -0
  25. package/es/components/icon-next/index.d.ts +3 -0
  26. package/es/components/icon-next/src/IconNext.css +18 -0
  27. package/es/components/icon-next/src/IconNext.vue.d.ts +40 -0
  28. package/es/components/icon-next/src/IconNext.vue2.mjs +7 -0
  29. package/es/components/icon-next/src/IconNext.vue3.mjs +108 -0
  30. package/es/components/icon-next/src/IconNextPicker.css +195 -0
  31. package/es/components/icon-next/src/IconNextPicker.vue.d.ts +75 -0
  32. package/es/components/icon-next/src/IconNextPicker.vue2.mjs +452 -0
  33. package/es/components/icon-next/src/IconNextPicker.vue3.mjs +6 -0
  34. package/es/components/icon-next/types/index.d.ts +17 -0
  35. package/es/components/icon-next/types/index.mjs +10 -0
  36. package/es/components/index.d.ts +0 -3
  37. package/es/components/index.mjs +10 -2
  38. package/es/components/svg-icon/svg-icon.vue.d.ts +1 -1
  39. package/es/create-app-vue.mjs +5 -0
  40. package/es/hooks/index.d.ts +1 -0
  41. package/es/hooks/useDesign.d.ts +4 -0
  42. package/es/hooks/useDesign.mjs +11 -0
  43. package/es/index.d.ts +3 -0
  44. package/es/index.mjs +102 -5
  45. package/es/modules/Cropper/hooks/useFile.d.ts +4 -0
  46. package/es/modules/Cropper/index.d.ts +5 -0
  47. package/es/modules/Cropper/src/CopperFreeModal.vue.d.ts +100 -0
  48. package/es/modules/Cropper/src/CopperModal.vue.d.ts +40 -0
  49. package/es/modules/Cropper/src/Cropper.vue.d.ts +96 -0
  50. package/es/modules/Cropper/src/CropperAvatar.vue.d.ts +62 -0
  51. package/es/modules/Cropper/src/CropperFree.vue.d.ts +118 -0
  52. package/es/modules/Cropper/src/typing.d.ts +11 -0
  53. package/es/modules/code-editor/index.d.ts +11 -11
  54. package/es/modules/code-editor/monaco-editor.vue.d.ts +4 -4
  55. package/es/modules/color-picker/src/ColorPicker.vue.d.ts +1 -1
  56. package/es/modules/formula-editor/formula-editor.mjs +11 -4
  57. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +1 -1
  58. package/es/modules/gct-form/constants/editor-register/editor-register.d.ts +14 -0
  59. package/es/modules/gct-form/constants/editor-register/editor-register.mjs +6 -0
  60. package/es/modules/gct-form/constants/editor-type/editor-type.d.ts +130 -0
  61. package/es/modules/gct-form/constants/editor-type/editor-type.mjs +35 -0
  62. package/es/modules/gct-form/constants/index.d.ts +3 -0
  63. package/es/modules/gct-form/constants/index.mjs +3 -0
  64. package/es/modules/gct-form/controller/edit-form/edit-form.controller.d.ts +42 -0
  65. package/es/modules/gct-form/controller/edit-form/edit-form.controller.mjs +72 -0
  66. package/es/modules/gct-form/controller/editor-item/editor-item.controller.d.ts +15 -0
  67. package/es/modules/gct-form/controller/editor-item/editor-item.controller.mjs +23 -0
  68. package/es/modules/gct-form/controller/form/form.controller.d.ts +68 -0
  69. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.d.ts +18 -0
  70. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.mjs +11 -0
  71. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +18 -0
  72. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.mjs +11 -0
  73. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +27 -0
  74. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +94 -0
  75. package/es/modules/gct-form/controller/form-group/form-group.controller.d.ts +18 -0
  76. package/es/modules/gct-form/controller/form-group/form-group.controller.mjs +11 -0
  77. package/es/modules/gct-form/controller/form-item/form-item.controller.d.ts +21 -0
  78. package/es/modules/gct-form/controller/form-item/form-item.controller.mjs +37 -0
  79. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.d.ts +57 -0
  80. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +45 -0
  81. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.d.ts +17 -0
  82. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.mjs +7 -0
  83. package/es/modules/gct-form/controller/form-line/form-line.controller.d.ts +18 -0
  84. package/es/modules/gct-form/controller/form-line/form-line.controller.mjs +11 -0
  85. package/es/modules/gct-form/controller/form-tab/form-tab.controller.d.ts +18 -0
  86. package/es/modules/gct-form/controller/form-tab/form-tab.controller.mjs +11 -0
  87. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.d.ts +18 -0
  88. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.mjs +11 -0
  89. package/es/modules/gct-form/controller/gct-form/gct-form.controller.d.ts +101 -0
  90. package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +224 -0
  91. package/es/modules/gct-form/controller/index.d.ts +13 -0
  92. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.d.ts +39 -0
  93. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.mjs +50 -0
  94. package/es/modules/gct-form/editor/gct-form-action/index.d.ts +8 -0
  95. package/es/modules/gct-form/editor/gct-form-action/index.mjs +14 -0
  96. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +86 -0
  97. package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.d.ts +7 -2
  98. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +59 -0
  99. package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.provider.d.ts +1 -1
  100. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +5 -0
  101. package/es/modules/gct-form/editor/gct-form-check-switch/index.mjs +12 -0
  102. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.css +108 -0
  103. package/es/{editor → modules/gct-form/editor}/gct-form-checkbox/gct-form-checkbox.d.ts +19 -5
  104. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +127 -0
  105. package/es/{editor/gct-form-icon-select → modules/gct-form/editor/gct-form-checkbox}/index.d.ts +1 -1
  106. package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +14 -0
  107. package/es/{components/layout/flex-container/flex-container.css → modules/gct-form/editor/gct-form-color/gct-form-color.css} +2 -2
  108. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.d.ts +36 -0
  109. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.mjs +44 -0
  110. package/es/{editor → modules/gct-form/editor}/gct-form-color/gct-form-color.provider.d.ts +1 -1
  111. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.mjs +5 -0
  112. package/es/modules/gct-form/editor/gct-form-color/index.mjs +12 -0
  113. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.d.ts +286 -0
  114. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.mjs +81 -0
  115. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.d.ts +11 -0
  116. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.mjs +5 -0
  117. package/es/modules/gct-form/editor/gct-form-date/index.mjs +12 -0
  118. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.css +77 -0
  119. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.d.ts +111 -0
  120. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.mjs +113 -0
  121. package/es/{editor/gct-form-info → modules/gct-form/editor/gct-form-date-format-select}/index.d.ts +1 -1
  122. package/es/modules/gct-form/editor/gct-form-date-format-select/index.mjs +14 -0
  123. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.d.ts +2 -0
  124. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.mjs +16 -0
  125. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.provider.d.ts +4 -0
  126. package/es/modules/gct-form/editor/gct-form-empty/index.d.ts +8 -0
  127. package/es/modules/gct-form/editor/gct-form-empty/index.mjs +14 -0
  128. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.css +81 -0
  129. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.d.ts +39 -0
  130. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +69 -0
  131. package/es/{editor/gct-form-radio → modules/gct-form/editor/gct-form-formula}/index.d.ts +1 -4
  132. package/es/modules/gct-form/editor/gct-form-formula/index.mjs +14 -0
  133. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.css +120 -0
  134. package/es/{editor/gct-form-modal-select/gct-form-modal-select.d.ts → modules/gct-form/editor/gct-form-group-select/gct-form-group-select.d.ts} +19 -12
  135. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.mjs +231 -0
  136. package/es/modules/gct-form/editor/gct-form-group-select/index.d.ts +8 -0
  137. package/es/modules/gct-form/editor/gct-form-group-select/index.mjs +14 -0
  138. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.d.ts +121 -0
  139. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.mjs +114 -0
  140. package/es/{editor → modules/gct-form/editor}/gct-form-i18n/gct-form-i18n.provider.d.ts +1 -1
  141. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.mjs +5 -0
  142. package/es/modules/gct-form/editor/gct-form-i18n/index.mjs +12 -0
  143. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.css +76 -0
  144. package/es/{editor → modules/gct-form/editor}/gct-form-icon-select/gct-form-icon-select.d.ts +3 -3
  145. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +73 -0
  146. package/es/{editor/gct-form-checkbox → modules/gct-form/editor/gct-form-icon-select}/index.d.ts +1 -4
  147. package/es/modules/gct-form/editor/gct-form-icon-select/index.mjs +14 -0
  148. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.css +85 -0
  149. package/es/{editor → modules/gct-form/editor}/gct-form-info/gct-form-info.d.ts +16 -1
  150. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.mjs +52 -0
  151. package/es/modules/gct-form/editor/gct-form-info/index.d.ts +8 -0
  152. package/es/modules/gct-form/editor/gct-form-info/index.mjs +14 -0
  153. package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.d.ts +1 -4
  154. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +43 -0
  155. package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.provider.d.ts +1 -1
  156. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +5 -0
  157. package/es/modules/gct-form/editor/gct-form-length-unit/index.mjs +12 -0
  158. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.css +76 -0
  159. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.d.ts +19 -0
  160. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.mjs +175 -0
  161. package/es/modules/gct-form/editor/gct-form-model-select/index.d.ts +8 -0
  162. package/es/modules/gct-form/editor/gct-form-model-select/index.mjs +14 -0
  163. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.d.ts +68 -0
  164. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.mjs +68 -0
  165. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.d.ts +8 -0
  166. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.mjs +14 -0
  167. package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.d.ts +1 -1
  168. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +44 -0
  169. package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.provider.d.ts +1 -1
  170. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.mjs +5 -0
  171. package/es/modules/gct-form/editor/gct-form-number/index.mjs +12 -0
  172. package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.d.ts +3 -3
  173. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +113 -0
  174. package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.provider.d.ts +1 -1
  175. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.mjs +5 -0
  176. package/es/modules/gct-form/editor/gct-form-picker/index.mjs +12 -0
  177. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.css +103 -0
  178. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.d.ts +29 -0
  179. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.mjs +69 -0
  180. package/es/modules/gct-form/editor/gct-form-pixel-config/index.d.ts +8 -0
  181. package/es/modules/gct-form/editor/gct-form-pixel-config/index.mjs +14 -0
  182. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +205 -0
  183. package/es/{editor → modules/gct-form/editor}/gct-form-radio/gct-form-radio.d.ts +7 -1
  184. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +95 -0
  185. package/es/modules/gct-form/editor/gct-form-radio/index.d.ts +8 -0
  186. package/es/modules/gct-form/editor/gct-form-radio/index.mjs +14 -0
  187. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.css +83 -0
  188. package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.d.ts +17 -3
  189. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +128 -0
  190. package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.provider.d.ts +1 -1
  191. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.mjs +5 -0
  192. package/es/modules/gct-form/editor/gct-form-select/index.mjs +12 -0
  193. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.css +73 -0
  194. package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.d.ts +10 -1
  195. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +100 -0
  196. package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.provider.d.ts +1 -1
  197. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.mjs +5 -0
  198. package/es/modules/gct-form/editor/gct-form-span/index.mjs +12 -0
  199. package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.d.ts +7 -1
  200. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +39 -0
  201. package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.provider.d.ts +1 -1
  202. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.mjs +5 -0
  203. package/es/modules/gct-form/editor/gct-form-switch/index.d.ts +4 -0
  204. package/es/modules/gct-form/editor/gct-form-switch/index.mjs +12 -0
  205. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.d.ts +53 -0
  206. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.mjs +32 -0
  207. package/es/modules/gct-form/editor/gct-form-table/index.d.ts +8 -0
  208. package/es/modules/gct-form/editor/gct-form-table/index.mjs +14 -0
  209. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.css +70 -0
  210. package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.d.ts +8 -2
  211. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +58 -0
  212. package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.provider.d.ts +1 -1
  213. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.mjs +5 -0
  214. package/es/modules/gct-form/editor/gct-form-text/index.d.ts +4 -0
  215. package/es/modules/gct-form/editor/gct-form-text/index.mjs +12 -0
  216. package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.d.ts +2 -1
  217. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +46 -0
  218. package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.provider.d.ts +1 -1
  219. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.mjs +5 -0
  220. package/es/modules/gct-form/editor/gct-form-textarea/index.d.ts +4 -0
  221. package/es/modules/gct-form/editor/gct-form-textarea/index.mjs +12 -0
  222. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.css +94 -0
  223. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.d.ts +53 -0
  224. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.mjs +79 -0
  225. package/es/modules/gct-form/editor/gct-select-form-table/index.d.ts +8 -0
  226. package/es/modules/gct-form/editor/gct-select-form-table/index.mjs +14 -0
  227. package/es/modules/gct-form/editor/index.mjs +34 -0
  228. package/es/modules/gct-form/hooks/index.d.ts +2 -0
  229. package/es/modules/gct-form/hooks/use-form/use-form.d.ts +10 -0
  230. package/es/modules/gct-form/hooks/use-form/use-form.mjs +8 -0
  231. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.d.ts +22 -0
  232. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs +89 -0
  233. package/es/modules/gct-form/index.d.ts +12 -0
  234. package/es/modules/gct-form/index.mjs +16 -0
  235. package/es/modules/gct-form/interface/i-controller/edit-form/edit-form.controller.d.ts +20 -0
  236. package/es/modules/gct-form/interface/i-controller/editor-item/editor-item.controller.d.ts +27 -0
  237. package/es/modules/gct-form/interface/i-controller/form/form.controller.d.ts +121 -0
  238. package/es/modules/gct-form/interface/i-controller/form-collapse/form-collapse.controller.d.ts +23 -0
  239. package/es/modules/gct-form/interface/i-controller/form-collapse-pane/form-collapse-pane.controller.d.ts +23 -0
  240. package/es/modules/gct-form/interface/i-controller/form-edit-item/form-edit-item.controller.d.ts +59 -0
  241. package/es/modules/gct-form/interface/i-controller/form-group/form-group.controller.d.ts +24 -0
  242. package/es/modules/gct-form/interface/i-controller/form-hidden-item/form-hidden-item.controller.d.ts +24 -0
  243. package/es/modules/gct-form/interface/i-controller/form-item/form-item.controller.d.ts +40 -0
  244. package/es/modules/gct-form/interface/i-controller/form-item-basic/form-item-basic.controller.d.ts +51 -0
  245. package/es/modules/gct-form/interface/i-controller/form-line/form-line.controller.d.ts +20 -0
  246. package/es/modules/gct-form/interface/i-controller/form-tab/form-tab.controller.d.ts +23 -0
  247. package/es/modules/gct-form/interface/i-controller/form-tab-pane/form-tab-pane.controller.d.ts +23 -0
  248. package/es/modules/gct-form/interface/i-controller/index.d.ts +13 -0
  249. package/es/modules/gct-form/interface/i-editor/i-action-editor.d.ts +23 -0
  250. package/es/modules/gct-form/interface/i-editor/i-check-switch.d.ts +29 -0
  251. package/es/modules/gct-form/interface/i-editor/i-checkbox-editor.d.ts +11 -0
  252. package/es/modules/gct-form/interface/i-editor/i-color-editor.d.ts +13 -0
  253. package/es/modules/gct-form/interface/i-editor/i-date-format-select-editor.d.ts +36 -0
  254. package/es/modules/gct-form/interface/i-editor/i-editor-basic.d.ts +134 -0
  255. package/es/modules/gct-form/interface/i-editor/i-formula-editor.d.ts +22 -0
  256. package/es/modules/gct-form/interface/i-editor/i-i18n-editor.d.ts +38 -0
  257. package/es/modules/gct-form/interface/i-editor/i-icon-select-editor.d.ts +21 -0
  258. package/es/modules/gct-form/interface/i-editor/i-info-editor.d.ts +21 -0
  259. package/es/modules/gct-form/interface/i-editor/i-length-unit-editor.d.ts +13 -0
  260. package/es/modules/gct-form/interface/i-editor/i-model-field-select-editor.d.ts +18 -0
  261. package/es/modules/gct-form/interface/i-editor/i-mpicker-editor.d.ts +36 -0
  262. package/es/modules/gct-form/interface/i-editor/i-number-editor.d.ts +21 -0
  263. package/es/modules/gct-form/interface/i-editor/i-picker-editor.d.ts +37 -0
  264. package/es/modules/gct-form/interface/i-editor/i-radio-editor.d.ts +32 -0
  265. package/es/modules/gct-form/interface/i-editor/i-select-editor.d.ts +45 -0
  266. package/es/modules/gct-form/interface/i-editor/i-select-table-editor.d.ts +44 -0
  267. package/es/modules/gct-form/interface/i-editor/i-span-editor.d.ts +30 -0
  268. package/es/modules/gct-form/interface/i-editor/i-switch-editor.d.ts +14 -0
  269. package/es/modules/gct-form/interface/i-editor/i-table-editor.d.ts +19 -0
  270. package/es/modules/gct-form/interface/i-editor/i-text-editor.d.ts +46 -0
  271. package/es/modules/gct-form/interface/i-editor/i-textarea-editor.d.ts +25 -0
  272. package/es/modules/gct-form/interface/i-editor/index.d.ts +23 -0
  273. package/es/modules/gct-form/interface/i-events/form/i-form.event.d.ts +14 -0
  274. package/es/modules/gct-form/interface/i-events/index.d.ts +1 -0
  275. package/es/modules/gct-form/interface/i-form/i-edit-form.d.ts +48 -0
  276. package/es/modules/gct-form/interface/i-form/i-form-collapse-pane.d.ts +30 -0
  277. package/es/modules/gct-form/interface/i-form/i-form-collapse.d.ts +39 -0
  278. package/es/modules/gct-form/interface/i-form/i-form-container.d.ts +53 -0
  279. package/es/modules/gct-form/interface/i-form/i-form-edit-item.d.ts +154 -0
  280. package/es/modules/gct-form/interface/i-form/i-form-group-container.d.ts +24 -0
  281. package/es/modules/gct-form/interface/i-form/i-form-group.d.ts +35 -0
  282. package/es/modules/gct-form/interface/i-form/i-form-hidden-item.d.ts +11 -0
  283. package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +131 -0
  284. package/es/modules/gct-form/interface/i-form/i-form-item.d.ts +11 -0
  285. package/es/modules/gct-form/interface/i-form/i-form-line.d.ts +24 -0
  286. package/es/modules/gct-form/interface/i-form/i-form-tab-pane.d.ts +23 -0
  287. package/es/modules/gct-form/interface/i-form/i-form-tab.d.ts +25 -0
  288. package/es/modules/gct-form/interface/i-form/i-form.d.ts +93 -0
  289. package/es/modules/gct-form/interface/i-form/index.d.ts +14 -0
  290. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-container.d.ts +75 -0
  291. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-item.d.ts +51 -0
  292. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-container.d.ts +29 -0
  293. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item-span.d.ts +54 -0
  294. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item.d.ts +37 -0
  295. package/es/modules/gct-form/interface/i-layout/i-layout-basis/i-layout-container-basis.d.ts +11 -0
  296. package/es/modules/gct-form/interface/i-layout/index.d.ts +6 -0
  297. package/es/modules/gct-form/interface/i-provider/i-editor-provider/i-editor-provider.d.ts +24 -0
  298. package/es/modules/gct-form/interface/i-provider/i-form-item-provider/i-form-item-provider.d.ts +44 -0
  299. package/es/modules/gct-form/interface/i-provider/index.d.ts +2 -0
  300. package/es/modules/gct-form/interface/i-state/form/form.state.d.ts +59 -0
  301. package/es/modules/gct-form/interface/i-state/form-collapse/form-collapse.state.d.ts +11 -0
  302. package/es/modules/gct-form/interface/i-state/form-collapse-pane/form-collapse-pane.state.d.ts +11 -0
  303. package/es/modules/gct-form/interface/i-state/form-edit-item/form-edit-item.state.d.ts +38 -0
  304. package/es/modules/gct-form/interface/i-state/form-group/form-group.state.d.ts +21 -0
  305. package/es/modules/gct-form/interface/i-state/form-hidden-item/form-hidden-item.state.d.ts +5 -0
  306. package/es/modules/gct-form/interface/i-state/form-item/form-item.state.d.ts +20 -0
  307. package/es/modules/gct-form/interface/i-state/form-item-basic/form-item-basic.state.d.ts +63 -0
  308. package/es/modules/gct-form/interface/i-state/form-line/form-line.state.d.ts +10 -0
  309. package/es/modules/gct-form/interface/i-state/form-tab/form-tab.state.d.ts +19 -0
  310. package/es/modules/gct-form/interface/i-state/form-tab-pane/form-tab-pane.state.d.ts +11 -0
  311. package/es/modules/gct-form/interface/i-state/index.d.ts +11 -0
  312. package/es/modules/gct-form/interface/index.d.ts +7 -0
  313. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.d.ts +63 -0
  314. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.mjs +66 -0
  315. package/es/modules/gct-form/props/index.d.ts +1 -0
  316. package/es/modules/gct-form/register/editor-register/editor-register.d.ts +49 -0
  317. package/es/modules/gct-form/register/editor-register/editor-register.mjs +57 -0
  318. package/es/modules/gct-form/register/form-item-register/form-item-register.d.ts +36 -0
  319. package/es/modules/gct-form/register/form-item-register/form-item-register.mjs +42 -0
  320. package/es/modules/gct-form/register/index.d.ts +2 -0
  321. package/es/modules/gct-form/state/form/form.state.d.ts +25 -0
  322. package/es/modules/gct-form/state/form/form.state.mjs +17 -0
  323. package/es/modules/gct-form/state/form-collapse/form-collapse.state.d.ts +14 -0
  324. package/es/modules/gct-form/state/form-collapse/form-collapse.state.mjs +6 -0
  325. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.d.ts +14 -0
  326. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.mjs +6 -0
  327. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.d.ts +18 -0
  328. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.mjs +10 -0
  329. package/es/modules/gct-form/state/form-group/form-group.state.d.ts +21 -0
  330. package/es/modules/gct-form/state/form-group/form-group.state.mjs +14 -0
  331. package/es/modules/gct-form/state/form-item/form-item.state.d.ts +14 -0
  332. package/es/modules/gct-form/state/form-item/form-item.state.mjs +6 -0
  333. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.d.ts +17 -0
  334. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.mjs +9 -0
  335. package/es/modules/gct-form/state/form-line/form-line.state.d.ts +11 -0
  336. package/es/modules/gct-form/state/form-line/form-line.state.mjs +6 -0
  337. package/es/modules/gct-form/state/form-tab/form-tab.state.d.ts +15 -0
  338. package/es/modules/gct-form/state/form-tab/form-tab.state.mjs +7 -0
  339. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.d.ts +14 -0
  340. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.mjs +6 -0
  341. package/es/modules/gct-form/state/index.d.ts +10 -0
  342. package/es/modules/gct-form/utils/index.d.ts +1 -0
  343. package/es/modules/gct-form/utils/width-install/width-install.d.ts +17 -0
  344. package/es/modules/gct-form/utils/width-install/width-install.mjs +19 -0
  345. package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/gct-edit-form.d.ts +23 -4
  346. package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +151 -0
  347. package/es/modules/gct-form/widgets/gct-edit-form/index.mjs +10 -0
  348. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.css +97 -0
  349. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.d.ts +13 -3
  350. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +79 -0
  351. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.d.ts +19 -0
  352. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +1 -1
  353. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +14 -0
  354. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.d.ts +7 -0
  355. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.mjs +15 -0
  356. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.css +79 -0
  357. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +13 -3
  358. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +77 -0
  359. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.d.ts +18 -0
  360. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +1 -1
  361. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +16 -0
  362. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.d.ts +7 -0
  363. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.mjs +15 -0
  364. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.css +88 -0
  365. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.d.ts +13 -3
  366. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +94 -0
  367. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.d.ts +19 -0
  368. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.provider.d.ts +1 -1
  369. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +14 -0
  370. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.d.ts +7 -0
  371. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.mjs +15 -0
  372. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +16 -0
  373. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +2 -2
  374. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +16 -0
  375. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.d.ts +6 -0
  376. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +171 -0
  377. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.d.ts +23 -4
  378. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.mjs +163 -0
  379. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.d.ts +17 -0
  380. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.provider.d.ts +1 -1
  381. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +14 -0
  382. package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.d.ts +7 -0
  383. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.css +72 -0
  384. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.d.ts +37 -0
  385. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.mjs +48 -0
  386. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.model.d.ts +15 -0
  387. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.d.ts +5 -0
  388. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.mjs +14 -0
  389. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.d.ts +7 -0
  390. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.mjs +12 -0
  391. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +108 -0
  392. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.d.ts +12 -2
  393. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +72 -0
  394. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.d.ts +10 -0
  395. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +1 -1
  396. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +14 -0
  397. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.d.ts +7 -0
  398. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.mjs +12 -0
  399. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.css +74 -0
  400. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +13 -3
  401. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +71 -0
  402. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.d.ts +17 -0
  403. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +1 -1
  404. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +14 -0
  405. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.d.ts +6 -0
  406. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.mjs +15 -0
  407. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.css +82 -0
  408. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.d.ts +2 -2
  409. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +73 -0
  410. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.d.ts +19 -0
  411. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +1 -1
  412. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +14 -0
  413. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.d.ts +7 -0
  414. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.mjs +16 -0
  415. package/es/modules/gct-form/widgets/gct-form/gct-form.css +73 -0
  416. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form.d.ts +13 -3
  417. package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +147 -0
  418. package/es/modules/gct-form/widgets/gct-form/index.d.ts +14 -0
  419. package/es/modules/gct-form/widgets/gct-form/index.mjs +33 -0
  420. package/es/modules/gct-table/controller/gct-table/gct-table.controller.d.ts +54 -0
  421. package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +143 -0
  422. package/es/modules/gct-table/controller/index.d.ts +5 -0
  423. package/es/modules/gct-table/controller/table-item/table-action-item.controller.d.ts +15 -0
  424. package/es/modules/gct-table/controller/table-item/table-action-item.controller.mjs +6 -0
  425. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.d.ts +19 -0
  426. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.mjs +16 -0
  427. package/es/modules/gct-table/controller/table-item/table-item.controller.d.ts +21 -0
  428. package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +26 -0
  429. package/es/modules/gct-table/controller/table-row/table-row.controller.d.ts +28 -0
  430. package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +70 -0
  431. package/es/{editor/gct-form-i18n/gct-form-i18n.d.ts → modules/gct-table/editor/gct-table-date/gct-table-date.d.ts} +19 -8
  432. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +93 -0
  433. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.d.ts +11 -0
  434. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.mjs +5 -0
  435. package/es/modules/gct-table/editor/gct-table-date/index.d.ts +4 -0
  436. package/es/modules/gct-table/editor/gct-table-date/index.mjs +52 -0
  437. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.css +86 -0
  438. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.d.ts +34 -0
  439. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.mjs +40 -0
  440. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.d.ts +13 -0
  441. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.mjs +5 -0
  442. package/es/modules/gct-table/editor/gct-table-span/index.d.ts +4 -0
  443. package/es/modules/gct-table/editor/gct-table-span/index.mjs +52 -0
  444. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.css +80 -0
  445. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.d.ts +50 -0
  446. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +106 -0
  447. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.d.ts +13 -0
  448. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.mjs +5 -0
  449. package/es/modules/gct-table/editor/gct-table-text/index.d.ts +4 -0
  450. package/es/modules/gct-table/editor/gct-table-text/index.mjs +52 -0
  451. package/es/modules/gct-table/editor/index.mjs +11 -0
  452. package/es/modules/gct-table/hooks/index.d.ts +1 -0
  453. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.d.ts +10 -0
  454. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.mjs +85 -0
  455. package/es/modules/gct-table/index.d.ts +10 -0
  456. package/es/modules/gct-table/index.mjs +15 -0
  457. package/es/modules/gct-table/interface/i-controller/index.d.ts +5 -0
  458. package/es/modules/gct-table/interface/i-controller/table/i-table.controller.d.ts +133 -0
  459. package/es/modules/gct-table/interface/i-controller/table-item/i-table-action-item.controller.d.ts +21 -0
  460. package/es/modules/gct-table/interface/i-controller/table-item/i-table-edit-item.controller.d.ts +44 -0
  461. package/es/modules/gct-table/interface/i-controller/table-item/i-table-item.controller.d.ts +61 -0
  462. package/es/modules/gct-table/interface/i-controller/table-row/i-table-row.controller.d.ts +110 -0
  463. package/es/modules/gct-table/interface/i-events/index.d.ts +1 -0
  464. package/es/modules/gct-table/interface/i-events/table/i-table.event.d.ts +21 -0
  465. package/es/modules/gct-table/interface/i-provider/i-table-editor-provider/i-table-editor-provider.d.ts +24 -0
  466. package/es/modules/gct-table/interface/i-provider/index.d.ts +1 -0
  467. package/es/modules/gct-table/interface/i-state/index.d.ts +4 -0
  468. package/es/modules/gct-table/interface/i-state/table/i-table.state.d.ts +50 -0
  469. package/es/modules/gct-table/interface/i-state/table-item/table-edit-item.state.d.ts +47 -0
  470. package/es/modules/gct-table/interface/i-state/table-item/table-item.state.d.ts +28 -0
  471. package/es/modules/gct-table/interface/i-state/table-row/table-row.state.d.ts +35 -0
  472. package/es/modules/gct-table/interface/i-table/i-pagination.d.ts +29 -0
  473. package/es/modules/gct-table/interface/i-table/i-table-action-item.d.ts +135 -0
  474. package/es/modules/gct-table/interface/i-table/i-table-edit-item.d.ts +74 -0
  475. package/es/modules/gct-table/interface/i-table/i-table-item.d.ts +98 -0
  476. package/es/modules/gct-table/interface/i-table/i-table.d.ts +76 -0
  477. package/es/modules/gct-table/interface/i-table/index.d.ts +4 -0
  478. package/es/modules/gct-table/interface/index.d.ts +5 -0
  479. package/es/modules/gct-table/register/index.d.ts +1 -0
  480. package/es/modules/gct-table/register/table-editor-register/table-editor-register.d.ts +53 -0
  481. package/es/modules/gct-table/register/table-editor-register/table-editor-register.mjs +61 -0
  482. package/es/modules/gct-table/state/index.d.ts +4 -0
  483. package/es/modules/gct-table/state/table/table.state.d.ts +45 -0
  484. package/es/modules/gct-table/state/table/table.state.mjs +37 -0
  485. package/es/modules/gct-table/state/table-item/table-edit-item.state.d.ts +18 -0
  486. package/es/modules/gct-table/state/table-item/table-edit-item.state.mjs +10 -0
  487. package/es/modules/gct-table/state/table-item/table-item.state.d.ts +28 -0
  488. package/es/modules/gct-table/state/table-item/table-item.state.mjs +20 -0
  489. package/es/modules/gct-table/state/table-row/table-row.state.d.ts +15 -0
  490. package/es/modules/gct-table/state/table-row/table-row.state.mjs +7 -0
  491. package/es/modules/gct-table/utils/count-latch/count-latch.d.ts +70 -0
  492. package/es/modules/gct-table/utils/count-latch/count-latch.mjs +95 -0
  493. package/es/modules/gct-table/utils/count-latch/result-awaiter.d.ts +17 -0
  494. package/es/modules/gct-table/utils/index.d.ts +3 -0
  495. package/es/modules/gct-table/utils/width-install/width-install.d.ts +16 -0
  496. package/es/modules/gct-table/utils/width-install/width-install.mjs +19 -0
  497. package/es/modules/gct-table/widgets/gct-table/gct-table.css +124 -0
  498. package/es/modules/gct-table/widgets/gct-table/gct-table.d.ts +51 -0
  499. package/es/modules/gct-table/widgets/gct-table/gct-table.mjs +414 -0
  500. package/es/modules/gct-table/widgets/gct-table/index.mjs +10 -0
  501. package/es/modules/gct-table/widgets/index.mjs +9 -0
  502. package/es/modules/global-modal/index.d.ts +1 -0
  503. package/es/modules/global-modal/index.mjs +1 -0
  504. package/es/modules/global-modal/src/BasicModal.vue.d.ts +18 -18
  505. package/es/modules/global-modal/src/components/GlboalModal.d.ts +10 -10
  506. package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +12 -12
  507. package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +1 -1
  508. package/es/modules/target-loading/src/target-loading.vue.d.ts +1 -1
  509. package/es/types/index.d.ts +11 -1
  510. package/package.json +13 -6
  511. package/dist/index-Bpd2MFJC.js +0 -33732
  512. package/dist/index-CwxW5OnC.js +0 -98
  513. package/dist/index-vFQ1naj3.cjs +0 -98
  514. package/dist/monaco-editor-5rbNTIph.cjs +0 -19
  515. package/dist/monaco-editor-DHkSqfaq.js +0 -19
  516. package/dist/monaco-editor-DYUIGpkZ.js +0 -20245
  517. package/es/components/layout/flex-container/flex-container.d.ts +0 -15
  518. package/es/components/layout/flex-container/flex-container.mjs +0 -94
  519. package/es/components/layout/flex-item/flex-item.d.ts +0 -14
  520. package/es/components/layout/flex-item/flex-item.mjs +0 -55
  521. package/es/components/layout/grid-container/grid-container.d.ts +0 -13
  522. package/es/components/layout/grid-container/grid-container.mjs +0 -51
  523. package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
  524. package/es/editor/gct-form-color/index.d.ts +0 -7
  525. package/es/editor/gct-form-field-select/gct-form-field-select.d.ts +0 -47
  526. package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
  527. package/es/editor/gct-form-field-select/gct-model-select.vue.d.ts +0 -9
  528. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
  529. package/es/editor/gct-form-number/index.d.ts +0 -7
  530. package/es/editor/gct-form-switch/index.d.ts +0 -7
  531. package/es/editor/gct-form-text/index.d.ts +0 -7
  532. package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
  533. package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
  534. package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
  535. package/es/widgets/gct-form/index.d.ts +0 -5
  536. /package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/index.d.ts +0 -0
  537. /package/es/{editor/gct-form-field-select → modules/gct-form/editor/gct-form-color}/index.d.ts +0 -0
  538. /package/es/{editor/gct-form-i18n → modules/gct-form/editor/gct-form-date}/index.d.ts +0 -0
  539. /package/es/{editor/gct-form-length-unit → modules/gct-form/editor/gct-form-i18n}/index.d.ts +0 -0
  540. /package/es/{editor/gct-form-modal-select → modules/gct-form/editor/gct-form-length-unit}/index.d.ts +0 -0
  541. /package/es/{editor/gct-form-picker → modules/gct-form/editor/gct-form-number}/index.d.ts +0 -0
  542. /package/es/{editor/gct-form-select → modules/gct-form/editor/gct-form-picker}/index.d.ts +0 -0
  543. /package/es/{editor/gct-form-span → modules/gct-form/editor/gct-form-select}/index.d.ts +0 -0
  544. /package/es/{editor/gct-form-textarea → modules/gct-form/editor/gct-form-span}/index.d.ts +0 -0
  545. /package/es/{editor → modules/gct-form/editor}/index.d.ts +0 -0
  546. /package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/index.d.ts +0 -0
  547. /package/es/{widgets/gct-form/gct-form-collapse-pane → modules/gct-table/editor}/index.d.ts +0 -0
  548. /package/es/{widgets/gct-form/gct-form-collapse → modules/gct-table/widgets/gct-table}/index.d.ts +0 -0
  549. /package/es/{widgets/gct-form/gct-form-group → modules/gct-table/widgets}/index.d.ts +0 -0
@@ -0,0 +1,350 @@
1
+ import { defineComponent as le, ref as u, watch as ae, computed as ie, onMounted as re, onUnmounted as se, resolveComponent as N, openBlock as T, createElementBlock as ce, renderSlot as M, createElementVNode as k, createVNode as s, normalizeStyle as E, withCtx as x, createTextVNode as ue, toDisplayString as de, unref as d, createBlock as fe, normalizeClass as me, createCommentVNode as ge } from "vue";
2
+ import { SearchOutlined as pe, UpCircleOutlined as ve, DownCircleOutlined as Ce, FormatPainterOutlined as we, CloudDownloadOutlined as he, ClearOutlined as be, RobotOutlined as ye } from "@ant-design/icons-vue";
3
+ import { T as D, m as Me, _ as ke } from "./index-Cna4DZog.js";
4
+ import { format as Ee } from "sql-formatter";
5
+ import "ant-design-vue";
6
+ import "lodash-es";
7
+ import "@gct-paas/core";
8
+ const xe = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, _e = { class: "m-e-main" }, Le = /* @__PURE__ */ le({
9
+ __name: "monaco-editor",
10
+ props: {
11
+ value: { default: "" },
12
+ title: { default: "" },
13
+ language: { default: "typescript" },
14
+ theme: { default: D.DARK },
15
+ readonly: { type: Boolean, default: !1 },
16
+ direction: { default: "bottom" },
17
+ gapVal: { default: 20 }
18
+ },
19
+ emits: [
20
+ "update:value",
21
+ "change",
22
+ "editor-mounted",
23
+ "blur",
24
+ "focus",
25
+ "chat-bot-click"
26
+ ],
27
+ setup(_, { expose: F, emit: W }) {
28
+ const n = _, L = u(!1);
29
+ let i = null;
30
+ ae(
31
+ () => n.language,
32
+ async (t) => {
33
+ e && e.getModel() && i && i.editor.setModelLanguage(e.getModel(), t);
34
+ }
35
+ );
36
+ const o = W, f = u();
37
+ let e;
38
+ const p = u(!0), V = u(!1), c = u(!1), v = u(!1), w = u(!1), A = ie(() => ({
39
+ color: c.value ? "#000" : "#fff",
40
+ marginRight: n.gapVal + "px"
41
+ }));
42
+ n.theme === D.VS && (c.value = !0);
43
+ let I = {
44
+ value: n.value ?? "",
45
+ // 编辑器内容
46
+ language: n.language,
47
+ automaticLayout: !0,
48
+ // 是否自动布局
49
+ theme: n.theme,
50
+ readOnly: n.readonly,
51
+ wordWrap: p.value ? "on" : "off",
52
+ // 当单行文本太长时截断换行,true 为换行,false 为不换行
53
+ scrollBeyondLastLine: !1,
54
+ // 滚动完最后一行后再滚动一屏幕
55
+ // 是否开启小地图
56
+ minimap: {
57
+ enabled: !0
58
+ },
59
+ tabSize: 2,
60
+ // tab缩进长度
61
+ autoClosingBrackets: "always",
62
+ // 是否自动添加结束括号(包括中括号) "always" | "languageDefined" | "beforeWhitespace" | "never"
63
+ autoClosingDelete: "always",
64
+ // 是否自动删除结束括号(包括中括号) "always" | "never" | "auto"
65
+ autoClosingOvertype: "always",
66
+ // 是否关闭改写 即使用insert模式时是覆盖后面的文字还是不覆盖后面的文字 "always" | "never" | "auto"
67
+ autoClosingQuotes: "always",
68
+ // 是否自动添加结束的单引号 双引号 "always" | "languageDefined" | "beforeWhitespace" | "never"
69
+ comments: {
70
+ ignoreEmptyLines: !0,
71
+ // 插入行注释时忽略空行。默认为真。
72
+ insertSpace: !0
73
+ // 在行注释标记之后和块注释标记内插入一个空格。默认为真。
74
+ },
75
+ // 注释配置
76
+ columnSelection: !1,
77
+ // 启用列编辑 按下shift键位然后按↑↓键位可以实现列选择 然后实现列编辑
78
+ folding: !0,
79
+ // 是否启用代码折叠
80
+ fixedOverflowWidgets: !0,
81
+ // 超出编辑器大小的使用fixed属性显示
82
+ // 编辑器悬停配置
83
+ hover: {
84
+ sticky: !0,
85
+ // 悬停是否粘滞,可以点击并选择其内容
86
+ above: !1
87
+ // 悬停是否应该显示在直线上方
88
+ }
89
+ };
90
+ async function U() {
91
+ i = await Me.loadMonaco(), O(), z(), n.value && y();
92
+ }
93
+ async function q() {
94
+ await _api.apaas.basicConfig.getAiRagEnabled() == !0 ? w.value = !0 : w.value = !1;
95
+ }
96
+ function z() {
97
+ if (!i) {
98
+ console.warn(
99
+ "[MonacoEditor] Monaco editor is not available for initEditor"
100
+ );
101
+ return;
102
+ }
103
+ e = i.editor.create(f.value, I), n.direction === "bottom" ? b() : n.direction === "top" && h(), e.onDidChangeModelContent(() => {
104
+ o("change", l()), o("update:value", l());
105
+ }), e.onDidBlurEditorText(() => {
106
+ o("blur", l()), o("update:value", l());
107
+ }), e.onDidFocusEditorText(() => {
108
+ o("focus");
109
+ }), L.value = !0, o("editor-mounted", e);
110
+ }
111
+ function R(t) {
112
+ e.setValue(t), o("change", l()), o("update:value", l());
113
+ }
114
+ function l() {
115
+ return e.getValue();
116
+ }
117
+ function K() {
118
+ if (!i)
119
+ return console.warn(
120
+ "[MonacoEditor] Monaco editor is not available for getEditorMarkers"
121
+ ), [];
122
+ const t = e.getModel();
123
+ return t ? i.editor.getModelMarkers({ resource: t.uri }) : [];
124
+ }
125
+ function $() {
126
+ if (!i) {
127
+ console.warn(
128
+ "[MonacoEditor] Monaco editor is not available for findByKeyword"
129
+ );
130
+ return;
131
+ }
132
+ try {
133
+ e.focus(), e.setSelection(new i.Range(1, 9999, 1, 1e4)), e.trigger("", "actions.find", null);
134
+ } catch (t) {
135
+ console.error(t);
136
+ }
137
+ }
138
+ function h() {
139
+ e.setScrollPosition({ scrollTop: 0 });
140
+ }
141
+ function b() {
142
+ e.revealLine(e.getModel().getLineCount());
143
+ }
144
+ function j() {
145
+ p.value = !p.value, p.value ? e.updateOptions({ wordWrap: "on" }) : e.updateOptions({ wordWrap: "off" });
146
+ }
147
+ function P() {
148
+ c.value = !c.value, c.value ? e.updateOptions({ theme: "vs" }) : e.updateOptions({ theme: "vs-dark" });
149
+ }
150
+ function Q() {
151
+ f.value.fullscreenElement ? (f.value.exitFullscreen(), V.value = !1) : (f.value.requestFullscreen(), V.value = !0);
152
+ }
153
+ function S() {
154
+ G(n.title, e.getValue());
155
+ }
156
+ function G(t, r) {
157
+ const a = window.URL || window.webkitURL || window, m = new Blob([r]), C = document.createEvent("MouseEvents");
158
+ C.initMouseEvent(
159
+ "click",
160
+ !0,
161
+ !1,
162
+ window,
163
+ 0,
164
+ 0,
165
+ 0,
166
+ 0,
167
+ 0,
168
+ !1,
169
+ !1,
170
+ !1,
171
+ !1,
172
+ 0,
173
+ null
174
+ );
175
+ const g = document.createElementNS(
176
+ "http://www.w3.org/1999/xhtml",
177
+ "a"
178
+ );
179
+ g.href = a.createObjectURL(m), g.download = t, g.dispatchEvent(C);
180
+ }
181
+ function y() {
182
+ if (n.language == "sql") {
183
+ const r = l(), a = Ee(r);
184
+ e.setValue(a);
185
+ } else
186
+ e.getAction("editor.action.formatDocument").run();
187
+ const t = l();
188
+ o("change", t), o("update:value", t);
189
+ }
190
+ function H() {
191
+ R("");
192
+ }
193
+ function B() {
194
+ v.value = !v.value, o("chat-bot-click");
195
+ }
196
+ function O() {
197
+ e && e.dispose();
198
+ }
199
+ function J() {
200
+ return e;
201
+ }
202
+ re(() => {
203
+ U();
204
+ }), se(() => {
205
+ O();
206
+ });
207
+ function X(t) {
208
+ const r = e.getModel();
209
+ if (!r) return;
210
+ const a = r.getFullModelRange();
211
+ e.executeEdits("setValue", [
212
+ {
213
+ range: a,
214
+ text: t,
215
+ forceMoveMarkers: !1
216
+ }
217
+ ]), o("change", l()), o("update:value", l());
218
+ }
219
+ function Y() {
220
+ return e.getValue();
221
+ }
222
+ function Z() {
223
+ const t = e.getSelection();
224
+ if (t) {
225
+ const r = e.getModel()?.getValueInRange(t), a = t.startLineNumber, m = t.startColumn, C = t.endLineNumber, g = t.endColumn, ee = {
226
+ startLineNumber: 1,
227
+ startColumn: 1,
228
+ endLineNumber: a,
229
+ endColumn: m
230
+ }, te = e.getModel().getValueInRange(ee), oe = {
231
+ startLineNumber: C,
232
+ startColumn: g,
233
+ endLineNumber: e.getModel().getLineCount(),
234
+ endColumn: e.getModel().getLineMaxColumn(e.getModel().getLineCount())
235
+ }, ne = e.getModel().getValueInRange(oe);
236
+ return {
237
+ text: r,
238
+ textBefore: te,
239
+ textAfter: ne
240
+ };
241
+ }
242
+ return {};
243
+ }
244
+ return q(), F({
245
+ isMonacoReady: L,
246
+ reload(t) {
247
+ if (e == null) {
248
+ console.warn("[MonacoEditor] Monaco editor is not available for reload");
249
+ return;
250
+ }
251
+ e.setValue(t || "");
252
+ },
253
+ getMonacoEditor: J,
254
+ setEditorContent: R,
255
+ getEditorContent: l,
256
+ scrollToTop: h,
257
+ scrollToBottom: b,
258
+ setEditorWordWrap: j,
259
+ setEditorTheme: P,
260
+ handleFullScreenClick: Q,
261
+ handleDownloadLogClick: S,
262
+ getEditorMarkers: K,
263
+ handleFormatCodeClick: y,
264
+ getValue: Y,
265
+ setValue: X,
266
+ getSelectCode: Z,
267
+ isChatBotActive: v,
268
+ handleChatBotClick: B
269
+ }), (t, r) => {
270
+ const a = N("a-col"), m = N("a-row");
271
+ return T(), ce("div", xe, [
272
+ M(t.$slots, "header", {}, void 0, !0),
273
+ k("div", _e, [
274
+ s(m, {
275
+ class: "m-e-main_toolbar w-full flex",
276
+ type: "flex",
277
+ justify: "space-between",
278
+ style: E(
279
+ c.value ? "background-color: #fff; box-shadow: 0px 2px 5px #ddd;" : "background-color: #1e1e1e; box-shadow: 0px 2px 5px #111;"
280
+ )
281
+ }, {
282
+ default: x(() => [
283
+ s(a, {
284
+ class: "m-e-main_toolbar_left flex-1",
285
+ style: E(c.value ? "color: #000" : "color: #fff")
286
+ }, {
287
+ default: x(() => [
288
+ k("span", null, [
289
+ M(t.$slots, "title", {}, () => [
290
+ ue(de(_.title), 1)
291
+ ], !0)
292
+ ])
293
+ ]),
294
+ _: 3
295
+ }, 8, ["style"]),
296
+ s(a, {
297
+ class: "m-e-main_toolbar_right",
298
+ style: E(A.value)
299
+ }, {
300
+ default: x(() => [
301
+ s(d(pe), {
302
+ class: "icon",
303
+ onClick: $
304
+ }),
305
+ s(d(ve), {
306
+ class: "icon",
307
+ onClick: h
308
+ }),
309
+ s(d(Ce), {
310
+ class: "icon",
311
+ onClick: b
312
+ }),
313
+ s(d(we), {
314
+ class: "icon",
315
+ onClick: y
316
+ }),
317
+ s(d(he), {
318
+ class: "icon",
319
+ onClick: S
320
+ }),
321
+ s(d(be), {
322
+ class: "icon",
323
+ onClick: H
324
+ }),
325
+ w.value ? (T(), fe(d(ye), {
326
+ key: 0,
327
+ title: "聊天机器人",
328
+ class: me(["icon", { "icon-active": v.value }]),
329
+ onClick: B
330
+ }, null, 8, ["class"])) : ge("", !0)
331
+ ]),
332
+ _: 1
333
+ }, 8, ["style"])
334
+ ]),
335
+ _: 3
336
+ }, 8, ["style"]),
337
+ k("div", {
338
+ ref_key: "Editor",
339
+ ref: f,
340
+ class: "m-e-main_container"
341
+ }, null, 512)
342
+ ]),
343
+ M(t.$slots, "footer", {}, void 0, !0)
344
+ ]);
345
+ };
346
+ }
347
+ }), De = /* @__PURE__ */ ke(Le, [["__scopeId", "data-v-254c9227"]]);
348
+ export {
349
+ De as default
350
+ };
@@ -0,0 +1,53 @@
1
+ import { PropType } from 'vue';
2
+ export declare const CodeChat: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ id: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ backend: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ editorRef: {
12
+ type: ObjectConstructor;
13
+ };
14
+ providers: {
15
+ type: PropType<{
16
+ tag: string;
17
+ getMentions: () => Promise<IObject[]>;
18
+ }[]>;
19
+ default: () => never[];
20
+ };
21
+ pageInfo: {
22
+ type: ObjectConstructor;
23
+ };
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ id: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ backend: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ editorRef: {
34
+ type: ObjectConstructor;
35
+ };
36
+ providers: {
37
+ type: PropType<{
38
+ tag: string;
39
+ getMentions: () => Promise<IObject[]>;
40
+ }[]>;
41
+ default: () => never[];
42
+ };
43
+ pageInfo: {
44
+ type: ObjectConstructor;
45
+ };
46
+ }>> & Readonly<{}>, {
47
+ id: string;
48
+ backend: boolean;
49
+ providers: {
50
+ tag: string;
51
+ getMentions: () => Promise<IObject[]>;
52
+ }[];
53
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1 @@
1
+ export { CodeChat } from './code-chat/code-chat';
@@ -0,0 +1,21 @@
1
+ export declare const WuJieAIContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ wuJieName: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ wuJieProps: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ wuJieName: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ wuJieProps: {
16
+ type: ObjectConstructor;
17
+ default: () => {};
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ wuJieProps: Record<string, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -151,17 +151,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
151
151
  }>> & Readonly<{
152
152
  onClick?: ((...args: any[]) => any) | undefined;
153
153
  }>, {
154
+ hidden: boolean;
155
+ size: ButtonSize;
154
156
  type: string;
155
157
  title: string;
156
- loading: boolean;
157
- size: ButtonSize;
158
+ icon: string;
158
159
  disabled: boolean;
160
+ loading: boolean;
159
161
  block: boolean;
160
- danger: boolean;
161
- icon: string;
162
- hidden: boolean;
163
162
  hasIcon: boolean;
164
163
  hasText: boolean;
164
+ danger: boolean;
165
165
  buttonStyle: ButtonStyle;
166
166
  i18nConfig: string;
167
167
  confirm: boolean;
@@ -82,9 +82,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
82
82
  }>> & Readonly<{
83
83
  onDropdown?: ((...args: any[]) => any) | undefined;
84
84
  }>, {
85
- loading: boolean;
86
- disabled: boolean;
87
85
  icon: string;
86
+ disabled: boolean;
87
+ loading: boolean;
88
88
  buttonStyle: buttonEnum;
89
89
  dropdown: boolean;
90
90
  buttonType: ButtonColorType;
@@ -30,6 +30,6 @@ export declare const CodeEditor: import('vue').DefineComponent<import('vue').Ext
30
30
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
31
31
  }>, {
32
32
  value: string;
33
- language: string;
34
33
  config: editor.IStandaloneEditorConstructionOptions;
34
+ language: string;
35
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot, resolveDynamicComponent, createCommentVNode } from 'vue';
2
2
  import { isNil } from 'lodash-es';
3
- import BigNumber from 'bignumber.js';
3
+ import { BigNumber } from 'bignumber.js';
4
4
 
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "double-input",
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ prefix: string;
3
+ icons: string[];
4
+ };
5
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export declare function useIconAsset(): {
2
+ getIconAssetCats: () => Promise<{
3
+ id: string;
4
+ name: string;
5
+ children: {
6
+ id: string;
7
+ name: string;
8
+ icons?: {
9
+ id: string;
10
+ name: string;
11
+ _filter_: string[];
12
+ }[] | undefined;
13
+ children?: /*elided*/ any[] | undefined;
14
+ }[];
15
+ }[]>;
16
+ };
@@ -0,0 +1,48 @@
1
+ import { ref, computed } from 'vue';
2
+ import { IconNamespaceEnum } from '../types/index.mjs';
3
+
4
+ const iconAssetIcons = ref([]);
5
+ const iconParkCats = computed(() => {
6
+ return [
7
+ {
8
+ id: "IconAsset",
9
+ name: "资产图标",
10
+ children: iconAssetIcons.value
11
+ }
12
+ ].filter((i) => i.children?.length);
13
+ });
14
+ function useIconAsset() {
15
+ async function getIconAssetCats() {
16
+ if (iconAssetIcons.value.length > 0) {
17
+ return iconParkCats.value;
18
+ }
19
+ const params = {
20
+ assetsModule: "ICON"
21
+ };
22
+ const result = await Promise.all([
23
+ _api.platform.category.getList(params),
24
+ _api.platform.assets.getList(params)
25
+ ]).then(([catRes, iconRes]) => {
26
+ return catRes?.map((c) => {
27
+ return {
28
+ id: `${c.id}`,
29
+ name: c.name,
30
+ icons: iconRes?.filter((i) => i.categoryId === c.id).map((item) => {
31
+ Object.assign(item, {
32
+ id: `${IconNamespaceEnum.Asset}:${item.path}`,
33
+ _filter_: [item.name]
34
+ });
35
+ return item;
36
+ })
37
+ };
38
+ }).filter((i) => i.icons?.length);
39
+ });
40
+ iconAssetIcons.value = result;
41
+ return iconParkCats.value;
42
+ }
43
+ return {
44
+ getIconAssetCats
45
+ };
46
+ }
47
+
48
+ export { useIconAsset };
@@ -0,0 +1,16 @@
1
+ export declare function useIconPark(): {
2
+ getIconParkCats: () => {
3
+ id: string;
4
+ name: string;
5
+ children: {
6
+ id: string;
7
+ name: string;
8
+ icons?: {
9
+ id: string;
10
+ name: string;
11
+ _filter_: string[];
12
+ }[] | undefined;
13
+ children?: /*elided*/ any[] | undefined;
14
+ }[];
15
+ }[];
16
+ };
@@ -0,0 +1,52 @@
1
+ import { ref, computed } from 'vue';
2
+ import IconParkJson from '@icon-park/vue-next/icons.json';
3
+ import { IconNamespaceEnum } from '../types/index.mjs';
4
+
5
+ const iconParkIcons = ref([]);
6
+ const iconParkCats = computed(() => {
7
+ return [
8
+ {
9
+ id: "IconPark",
10
+ name: "IconPark",
11
+ children: iconParkIcons.value
12
+ }
13
+ ];
14
+ });
15
+ function useIconPark() {
16
+ function getIconParkCats() {
17
+ if (iconParkIcons.value.length > 0) {
18
+ return iconParkCats.value;
19
+ }
20
+ const cats = [];
21
+ IconParkJson.forEach((item) => {
22
+ const icon = {
23
+ ...item,
24
+ id: `${IconNamespaceEnum.IconPark}:${item.name}`,
25
+ _filter_: [...item.tag, item.title, item.name]
26
+ };
27
+ let category = cats.find((c) => c.id === icon.category);
28
+ if (category) {
29
+ category.icons.push(icon);
30
+ } else {
31
+ category = {
32
+ id: icon.category,
33
+ name: icon.categoryCN,
34
+ icons: [icon]
35
+ };
36
+ cats.push(category);
37
+ }
38
+ });
39
+ const base = cats.filter((c) => c.id === "Base" /* Base */);
40
+ const others = cats.filter((c) => c.id === "Others" /* Others */);
41
+ const middle = cats.filter(
42
+ (c) => !["Base" /* Base */, "Others" /* Others */].includes(c.id)
43
+ );
44
+ iconParkIcons.value = base.concat(middle, others);
45
+ return iconParkCats.value;
46
+ }
47
+ return {
48
+ getIconParkCats
49
+ };
50
+ }
51
+
52
+ export { useIconPark };
@@ -0,0 +1,8 @@
1
+ import { ICategory } from '../types';
2
+ export declare function useIconPlatform(): {
3
+ getIconPlatformCats: () => {
4
+ id: string;
5
+ name: string;
6
+ icons: ICategory[];
7
+ }[];
8
+ };
@@ -0,0 +1,48 @@
1
+ import { computed } from 'vue';
2
+ import { IconNamespaceEnum } from '../types/index.mjs';
3
+ import { iconsNames } from '@gct-paas/platform-icons';
4
+
5
+ const iconPlatformCats = computed(() => {
6
+ return [
7
+ {
8
+ id: "medicalCare",
9
+ name: "医疗器械",
10
+ icons: medicalCareIcons.value
11
+ },
12
+ {
13
+ id: "IconPlatform",
14
+ name: "平台图标",
15
+ icons: platformIcons.value
16
+ }
17
+ ];
18
+ });
19
+ const platformIcons = computed(() => {
20
+ const icons = iconsNames.filter((e) => /^(icon-platform)/.test(e)).map((e) => {
21
+ const iconName = e.replace(/icon-/g, "");
22
+ return {
23
+ id: `${IconNamespaceEnum.Platform}:${iconName}`,
24
+ name: iconName,
25
+ _filter_: [iconName]
26
+ };
27
+ });
28
+ return icons;
29
+ });
30
+ const medicalCareIcons = computed(() => {
31
+ const icons = iconsNames.filter((e) => /^(icon-medicalCare)/.test(e)).map((e) => {
32
+ const iconName = e.replace(/icon-/g, "");
33
+ return {
34
+ id: `${IconNamespaceEnum.Platform}:${iconName}`,
35
+ name: e.replace(/icon-medicalCare-/g, ""),
36
+ _filter_: [iconName]
37
+ };
38
+ });
39
+ return icons;
40
+ });
41
+ function useIconPlatform() {
42
+ function getIconPlatformCats() {
43
+ return iconPlatformCats.value;
44
+ }
45
+ return { getIconPlatformCats };
46
+ }
47
+
48
+ export { useIconPlatform };
@@ -0,0 +1,3 @@
1
+ import { default as IconNext } from './src/IconNext.vue';
2
+ import { default as IconNextPicker } from './src/IconNextPicker.vue';
3
+ export { IconNext, IconNextPicker };