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

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 (653) hide show
  1. package/dist/index.esm.min.js +9864 -0
  2. package/dist/index.min.css +2 -1
  3. package/dist/monaco-editor-BHuf3IVH.js +280 -0
  4. package/dist/useMonacoEditor-CfhCBaPa.js +2852 -0
  5. package/es/_virtual/_plugin-vue_export-helper.mjs +7 -8
  6. package/es/ai-components/code-chat/code-chat.d.ts +53 -0
  7. package/es/ai-components/index.d.ts +1 -0
  8. package/es/ai-components/wujie-ai-container/wujie-ai-container.d.ts +21 -0
  9. package/es/components/app-modal/app-modal-component.mjs +102 -133
  10. package/es/components/assets-svg-icon/assets-svg-icon.mjs +161 -232
  11. package/es/components/assets-svg-icon/request.mjs +60 -43
  12. package/es/components/assets-svg-icon/utils.mjs +21 -19
  13. package/es/components/assets-svg-icon/validate.mjs +27 -41
  14. package/es/components/base-button/base-button.vue.d.ts +5 -5
  15. package/es/components/base-button/base-button.vue.mjs +7 -7
  16. package/es/components/base-button/base-button.vue_vue_type_script_setup_true_name_BaseButton_lang.mjs +181 -0
  17. package/es/components/basic-button/basic-button.vue.d.ts +2 -2
  18. package/es/components/basic-button/basic-button.vue.mjs +7 -7
  19. package/es/components/basic-button/basic-button.vue_vue_type_script_setup_true_name_BasicButton_lang.mjs +148 -0
  20. package/es/components/code-editor/code-editor.d.ts +1 -1
  21. package/es/components/code-editor/code-editor.mjs +59 -63
  22. package/es/components/copy-module-key/copy-module-key.vue.mjs +7 -7
  23. package/es/components/copy-module-key/copy-module-key.vue_vue_type_script_setup_true_name_copy-module-key_lang.mjs +92 -0
  24. package/es/components/double-input/double-input.vue.mjs +5 -158
  25. package/es/components/double-input/double-input.vue_vue_type_script_setup_true_lang.mjs +121 -0
  26. package/es/components/icon-next/data/icons.data.d.ts +5 -0
  27. package/es/components/icon-next/hooks/useIconAsset.d.ts +16 -0
  28. package/es/components/icon-next/hooks/useIconAsset.mjs +36 -0
  29. package/es/components/icon-next/hooks/useIconPark.d.ts +16 -0
  30. package/es/components/icon-next/hooks/useIconPark.mjs +52 -0
  31. package/es/components/icon-next/hooks/useIconPlatform.d.ts +8 -0
  32. package/es/components/icon-next/hooks/useIconPlatform.mjs +43 -0
  33. package/es/components/icon-next/index.d.ts +3 -0
  34. package/es/components/icon-next/index.mjs +3 -0
  35. package/es/components/icon-next/src/IconNext.vue.d.ts +40 -0
  36. package/es/components/icon-next/src/IconNext.vue.mjs +7 -0
  37. package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +113 -0
  38. package/es/components/icon-next/src/IconNext.vue_vue_type_style_index_0_scoped_c5a83130_lang.css +18 -0
  39. package/es/components/icon-next/src/IconNextPicker.vue.d.ts +75 -0
  40. package/es/components/icon-next/src/IconNextPicker.vue.mjs +6 -0
  41. package/es/components/icon-next/src/IconNextPicker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs +379 -0
  42. package/es/components/icon-next/src/IconNextPicker.vue_vue_type_style_index_0_lang.css +195 -0
  43. package/es/components/icon-next/types/index.d.ts +17 -0
  44. package/es/components/icon-next/types/index.mjs +11 -0
  45. package/es/components/index.d.ts +1 -3
  46. package/es/components/index.mjs +23 -26
  47. package/es/components/layout/view-container/view-container.mjs +24 -35
  48. package/es/components/svg-icon/svg-icon.vue.d.ts +1 -1
  49. package/es/components/svg-icon/svg-icon.vue.mjs +6 -50
  50. package/es/components/svg-icon/svg-icon.vue_vue_type_script_setup_true_name_SvgIcon_lang.mjs +52 -0
  51. package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.css +103 -0
  52. package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.d.ts +44 -0
  53. package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.mjs +122 -0
  54. package/es/components/wujie-container/wujie-container.mjs +58 -81
  55. package/es/create-app-vue.mjs +27 -14
  56. package/es/directives/drag-resize.mjs +38 -39
  57. package/es/directives/ellipsis-title.d.ts +7 -0
  58. package/es/directives/ellipsis-title.mjs +21 -0
  59. package/es/directives/index.mjs +14 -6
  60. package/es/directives/target-loading.mjs +28 -36
  61. package/es/hooks/index.d.ts +1 -0
  62. package/es/hooks/index.mjs +4 -0
  63. package/es/hooks/useDesign.d.ts +4 -0
  64. package/es/hooks/useDesign.mjs +10 -0
  65. package/es/hooks/useDragLine.mjs +66 -75
  66. package/es/hooks/useLocale.mjs +27 -28
  67. package/es/hooks/useTheme.mjs +13 -17
  68. package/es/index.d.ts +3 -0
  69. package/es/index.mjs +92 -40
  70. package/es/modules/Cropper/hooks/useFile.d.ts +4 -0
  71. package/es/modules/Cropper/index.d.ts +5 -0
  72. package/es/modules/Cropper/src/CopperFreeModal.vue.d.ts +100 -0
  73. package/es/modules/Cropper/src/CopperModal.vue.d.ts +40 -0
  74. package/es/modules/Cropper/src/Cropper.vue.d.ts +96 -0
  75. package/es/modules/Cropper/src/CropperAvatar.vue.d.ts +62 -0
  76. package/es/modules/Cropper/src/CropperFree.vue.d.ts +118 -0
  77. package/es/modules/Cropper/src/typing.d.ts +11 -0
  78. package/es/modules/code-editor/index.d.ts +11 -11
  79. package/es/modules/code-editor/index.mjs +6 -7
  80. package/es/modules/code-editor/monaco-editor.vue.d.ts +4 -4
  81. package/es/modules/code-editor/monaco-editor.vue.mjs +7 -7
  82. package/es/modules/code-editor/monaco-editor.vue_vue_type_script_setup_true_name_code-editor_lang.mjs +398 -0
  83. package/es/modules/code-editor/useEditorConsole.mjs +146 -187
  84. package/es/modules/code-editor/useMonacoEditor.mjs +24 -23
  85. package/es/modules/color-picker/index.mjs +1 -0
  86. package/es/modules/color-picker/src/ColorPicker.vue.d.ts +1 -1
  87. package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -8
  88. package/es/modules/color-picker/src/ColorPicker.vue_vue_type_script_setup_true_name_ColorPicker_lang.mjs +482 -0
  89. package/es/modules/formula-editor/constants/index.mjs +8 -6
  90. package/es/modules/formula-editor/formula-editor.mjs +40 -52
  91. package/es/modules/formula-editor/index.mjs +2 -0
  92. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +1 -1
  93. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +158 -193
  94. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +81 -95
  95. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +178 -237
  96. package/es/modules/gct-dnd/constants/index.mjs +10 -18
  97. package/es/modules/gct-dnd/index.mjs +4 -0
  98. package/es/{components/layout → modules/gct-form/components}/flex-container/flex-container.d.ts +1 -2
  99. package/es/modules/gct-form/components/flex-container/flex-container.mjs +61 -0
  100. package/es/{components/layout → modules/gct-form/components}/flex-item/flex-item.d.ts +1 -2
  101. package/es/modules/gct-form/components/flex-item/flex-item.mjs +37 -0
  102. package/es/{components/layout → modules/gct-form/components}/grid-container/grid-container.d.ts +2 -5
  103. package/es/modules/gct-form/components/grid-container/grid-container.mjs +36 -0
  104. package/es/modules/gct-form/components/index.d.ts +3 -0
  105. package/es/modules/gct-form/components/index.mjs +3 -0
  106. package/es/modules/gct-form/constants/editor-register/editor-register.d.ts +14 -0
  107. package/es/modules/gct-form/constants/editor-register/editor-register.mjs +18 -0
  108. package/es/modules/gct-form/constants/editor-type/editor-type.d.ts +130 -0
  109. package/es/modules/gct-form/constants/editor-type/editor-type.mjs +134 -0
  110. package/es/modules/gct-form/constants/index.d.ts +3 -0
  111. package/es/modules/gct-form/constants/index.mjs +6 -0
  112. package/es/modules/gct-form/controller/edit-form/edit-form.controller.d.ts +27 -0
  113. package/es/modules/gct-form/controller/edit-form/edit-form.controller.mjs +51 -0
  114. package/es/modules/gct-form/controller/editor-item/editor-item.controller.d.ts +15 -0
  115. package/es/modules/gct-form/controller/editor-item/editor-item.controller.mjs +19 -0
  116. package/es/modules/gct-form/controller/form/form.controller.d.ts +68 -0
  117. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.d.ts +18 -0
  118. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.mjs +21 -0
  119. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +18 -0
  120. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.mjs +21 -0
  121. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +27 -0
  122. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +89 -0
  123. package/es/modules/gct-form/controller/form-group/form-group.controller.d.ts +18 -0
  124. package/es/modules/gct-form/controller/form-group/form-group.controller.mjs +21 -0
  125. package/es/modules/gct-form/controller/form-item/form-item.controller.d.ts +21 -0
  126. package/es/modules/gct-form/controller/form-item/form-item.controller.mjs +36 -0
  127. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.d.ts +57 -0
  128. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +64 -0
  129. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.d.ts +17 -0
  130. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.mjs +17 -0
  131. package/es/modules/gct-form/controller/form-line/form-line.controller.d.ts +18 -0
  132. package/es/modules/gct-form/controller/form-line/form-line.controller.mjs +21 -0
  133. package/es/modules/gct-form/controller/form-tab/form-tab.controller.d.ts +18 -0
  134. package/es/modules/gct-form/controller/form-tab/form-tab.controller.mjs +21 -0
  135. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.d.ts +18 -0
  136. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.mjs +21 -0
  137. package/es/modules/gct-form/controller/gct-form/gct-form.controller.d.ts +101 -0
  138. package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +201 -0
  139. package/es/modules/gct-form/controller/index.d.ts +13 -0
  140. package/es/modules/gct-form/controller/index.mjs +13 -0
  141. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.d.ts +39 -0
  142. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.mjs +45 -0
  143. package/es/modules/gct-form/editor/gct-form-action/index.d.ts +8 -0
  144. package/es/modules/gct-form/editor/gct-form-action/index.mjs +10 -0
  145. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +86 -0
  146. package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.d.ts +7 -2
  147. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +58 -0
  148. package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.provider.d.ts +1 -1
  149. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +15 -0
  150. package/es/modules/gct-form/editor/gct-form-check-switch/index.mjs +8 -0
  151. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.css +108 -0
  152. package/es/{editor → modules/gct-form/editor}/gct-form-checkbox/gct-form-checkbox.d.ts +19 -5
  153. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +102 -0
  154. package/es/{editor/gct-form-icon-select → modules/gct-form/editor/gct-form-checkbox}/index.d.ts +1 -1
  155. package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +10 -0
  156. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.css +67 -0
  157. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.d.ts +36 -0
  158. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.mjs +39 -0
  159. package/es/{editor → modules/gct-form/editor}/gct-form-color/gct-form-color.provider.d.ts +1 -1
  160. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.mjs +15 -0
  161. package/es/modules/gct-form/editor/gct-form-color/index.mjs +8 -0
  162. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.d.ts +286 -0
  163. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.mjs +74 -0
  164. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.d.ts +11 -0
  165. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.mjs +13 -0
  166. package/es/modules/gct-form/editor/gct-form-date/index.mjs +8 -0
  167. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.css +77 -0
  168. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.d.ts +111 -0
  169. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.mjs +108 -0
  170. package/es/{editor/gct-form-info → modules/gct-form/editor/gct-form-date-format-select}/index.d.ts +1 -1
  171. package/es/modules/gct-form/editor/gct-form-date-format-select/index.mjs +10 -0
  172. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.d.ts +2 -0
  173. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.mjs +14 -0
  174. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.provider.d.ts +4 -0
  175. package/es/modules/gct-form/editor/gct-form-empty/index.d.ts +8 -0
  176. package/es/modules/gct-form/editor/gct-form-empty/index.mjs +10 -0
  177. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.css +81 -0
  178. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.d.ts +39 -0
  179. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +69 -0
  180. package/es/{editor/gct-form-radio → modules/gct-form/editor/gct-form-formula}/index.d.ts +1 -4
  181. package/es/modules/gct-form/editor/gct-form-formula/index.mjs +10 -0
  182. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.css +120 -0
  183. 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
  184. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.mjs +163 -0
  185. package/es/modules/gct-form/editor/gct-form-group-select/index.d.ts +8 -0
  186. package/es/modules/gct-form/editor/gct-form-group-select/index.mjs +10 -0
  187. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.d.ts +121 -0
  188. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.mjs +88 -0
  189. package/es/{editor → modules/gct-form/editor}/gct-form-i18n/gct-form-i18n.provider.d.ts +1 -1
  190. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.mjs +15 -0
  191. package/es/modules/gct-form/editor/gct-form-i18n/index.mjs +8 -0
  192. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.css +76 -0
  193. package/es/{editor → modules/gct-form/editor}/gct-form-icon-select/gct-form-icon-select.d.ts +3 -3
  194. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +64 -0
  195. package/es/{editor/gct-form-checkbox → modules/gct-form/editor/gct-form-icon-select}/index.d.ts +1 -4
  196. package/es/modules/gct-form/editor/gct-form-icon-select/index.mjs +10 -0
  197. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.css +85 -0
  198. package/es/{editor → modules/gct-form/editor}/gct-form-info/gct-form-info.d.ts +16 -1
  199. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.mjs +41 -0
  200. package/es/modules/gct-form/editor/gct-form-info/index.d.ts +8 -0
  201. package/es/modules/gct-form/editor/gct-form-info/index.mjs +10 -0
  202. package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.d.ts +1 -4
  203. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +38 -0
  204. package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.provider.d.ts +1 -1
  205. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +15 -0
  206. package/es/modules/gct-form/editor/gct-form-length-unit/index.mjs +8 -0
  207. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.css +76 -0
  208. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.d.ts +19 -0
  209. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.mjs +146 -0
  210. package/es/modules/gct-form/editor/gct-form-model-select/index.d.ts +8 -0
  211. package/es/modules/gct-form/editor/gct-form-model-select/index.mjs +10 -0
  212. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.d.ts +68 -0
  213. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.mjs +62 -0
  214. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.d.ts +8 -0
  215. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.mjs +10 -0
  216. package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.d.ts +1 -1
  217. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +43 -0
  218. package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.provider.d.ts +1 -1
  219. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.mjs +6 -0
  220. package/es/modules/gct-form/editor/gct-form-number/index.mjs +8 -0
  221. package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.d.ts +3 -3
  222. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +91 -0
  223. package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.provider.d.ts +1 -1
  224. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.mjs +15 -0
  225. package/es/modules/gct-form/editor/gct-form-picker/index.mjs +8 -0
  226. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.css +103 -0
  227. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.d.ts +29 -0
  228. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.mjs +63 -0
  229. package/es/modules/gct-form/editor/gct-form-pixel-config/index.d.ts +8 -0
  230. package/es/modules/gct-form/editor/gct-form-pixel-config/index.mjs +10 -0
  231. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +205 -0
  232. package/es/{editor → modules/gct-form/editor}/gct-form-radio/gct-form-radio.d.ts +7 -1
  233. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +80 -0
  234. package/es/modules/gct-form/editor/gct-form-radio/index.d.ts +8 -0
  235. package/es/modules/gct-form/editor/gct-form-radio/index.mjs +10 -0
  236. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.css +83 -0
  237. package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.d.ts +17 -3
  238. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +111 -0
  239. package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.provider.d.ts +1 -1
  240. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.mjs +15 -0
  241. package/es/modules/gct-form/editor/gct-form-select/index.mjs +8 -0
  242. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.css +73 -0
  243. package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.d.ts +10 -1
  244. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +70 -0
  245. package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.provider.d.ts +1 -1
  246. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.mjs +15 -0
  247. package/es/modules/gct-form/editor/gct-form-span/index.mjs +8 -0
  248. package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.d.ts +7 -1
  249. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +34 -0
  250. package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.provider.d.ts +1 -1
  251. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.mjs +15 -0
  252. package/es/modules/gct-form/editor/gct-form-switch/index.d.ts +4 -0
  253. package/es/modules/gct-form/editor/gct-form-switch/index.mjs +8 -0
  254. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.d.ts +53 -0
  255. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.mjs +31 -0
  256. package/es/modules/gct-form/editor/gct-form-table/index.d.ts +8 -0
  257. package/es/modules/gct-form/editor/gct-form-table/index.mjs +10 -0
  258. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.css +70 -0
  259. package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.d.ts +8 -2
  260. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +55 -0
  261. package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.provider.d.ts +1 -1
  262. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.mjs +15 -0
  263. package/es/modules/gct-form/editor/gct-form-text/index.d.ts +4 -0
  264. package/es/modules/gct-form/editor/gct-form-text/index.mjs +8 -0
  265. package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.d.ts +2 -1
  266. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +45 -0
  267. package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.provider.d.ts +1 -1
  268. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.mjs +6 -0
  269. package/es/modules/gct-form/editor/gct-form-textarea/index.d.ts +4 -0
  270. package/es/modules/gct-form/editor/gct-form-textarea/index.mjs +8 -0
  271. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.css +94 -0
  272. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.d.ts +53 -0
  273. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.mjs +62 -0
  274. package/es/modules/gct-form/editor/gct-select-form-table/index.d.ts +8 -0
  275. package/es/modules/gct-form/editor/gct-select-form-table/index.mjs +10 -0
  276. package/es/modules/gct-form/editor/index.mjs +32 -0
  277. package/es/modules/gct-form/hooks/index.d.ts +2 -0
  278. package/es/modules/gct-form/hooks/index.mjs +2 -0
  279. package/es/modules/gct-form/hooks/use-form/use-form.d.ts +10 -0
  280. package/es/modules/gct-form/hooks/use-form/use-form.mjs +15 -0
  281. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.d.ts +22 -0
  282. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs +85 -0
  283. package/es/modules/gct-form/index.d.ts +12 -0
  284. package/es/modules/gct-form/index.mjs +51 -0
  285. package/es/modules/gct-form/interface/i-controller/edit-form/edit-form.controller.d.ts +20 -0
  286. package/es/modules/gct-form/interface/i-controller/editor-item/editor-item.controller.d.ts +27 -0
  287. package/es/modules/gct-form/interface/i-controller/form/form.controller.d.ts +121 -0
  288. package/es/modules/gct-form/interface/i-controller/form-collapse/form-collapse.controller.d.ts +23 -0
  289. package/es/modules/gct-form/interface/i-controller/form-collapse-pane/form-collapse-pane.controller.d.ts +23 -0
  290. package/es/modules/gct-form/interface/i-controller/form-edit-item/form-edit-item.controller.d.ts +59 -0
  291. package/es/modules/gct-form/interface/i-controller/form-group/form-group.controller.d.ts +24 -0
  292. package/es/modules/gct-form/interface/i-controller/form-hidden-item/form-hidden-item.controller.d.ts +24 -0
  293. package/es/modules/gct-form/interface/i-controller/form-item/form-item.controller.d.ts +40 -0
  294. package/es/modules/gct-form/interface/i-controller/form-item-basic/form-item-basic.controller.d.ts +51 -0
  295. package/es/modules/gct-form/interface/i-controller/form-line/form-line.controller.d.ts +20 -0
  296. package/es/modules/gct-form/interface/i-controller/form-tab/form-tab.controller.d.ts +23 -0
  297. package/es/modules/gct-form/interface/i-controller/form-tab-pane/form-tab-pane.controller.d.ts +23 -0
  298. package/es/modules/gct-form/interface/i-controller/index.d.ts +13 -0
  299. package/es/modules/gct-form/interface/i-editor/i-action-editor.d.ts +23 -0
  300. package/es/modules/gct-form/interface/i-editor/i-check-switch.d.ts +29 -0
  301. package/es/modules/gct-form/interface/i-editor/i-checkbox-editor.d.ts +11 -0
  302. package/es/modules/gct-form/interface/i-editor/i-color-editor.d.ts +13 -0
  303. package/es/modules/gct-form/interface/i-editor/i-date-format-select-editor.d.ts +36 -0
  304. package/es/modules/gct-form/interface/i-editor/i-editor-basic.d.ts +134 -0
  305. package/es/modules/gct-form/interface/i-editor/i-formula-editor.d.ts +22 -0
  306. package/es/modules/gct-form/interface/i-editor/i-i18n-editor.d.ts +38 -0
  307. package/es/modules/gct-form/interface/i-editor/i-icon-select-editor.d.ts +21 -0
  308. package/es/modules/gct-form/interface/i-editor/i-info-editor.d.ts +21 -0
  309. package/es/modules/gct-form/interface/i-editor/i-length-unit-editor.d.ts +13 -0
  310. package/es/modules/gct-form/interface/i-editor/i-model-field-select-editor.d.ts +18 -0
  311. package/es/modules/gct-form/interface/i-editor/i-mpicker-editor.d.ts +36 -0
  312. package/es/modules/gct-form/interface/i-editor/i-number-editor.d.ts +21 -0
  313. package/es/modules/gct-form/interface/i-editor/i-picker-editor.d.ts +37 -0
  314. package/es/modules/gct-form/interface/i-editor/i-radio-editor.d.ts +32 -0
  315. package/es/modules/gct-form/interface/i-editor/i-select-editor.d.ts +45 -0
  316. package/es/modules/gct-form/interface/i-editor/i-select-table-editor.d.ts +44 -0
  317. package/es/modules/gct-form/interface/i-editor/i-span-editor.d.ts +30 -0
  318. package/es/modules/gct-form/interface/i-editor/i-switch-editor.d.ts +14 -0
  319. package/es/modules/gct-form/interface/i-editor/i-table-editor.d.ts +19 -0
  320. package/es/modules/gct-form/interface/i-editor/i-text-editor.d.ts +46 -0
  321. package/es/modules/gct-form/interface/i-editor/i-textarea-editor.d.ts +25 -0
  322. package/es/modules/gct-form/interface/i-editor/index.d.ts +23 -0
  323. package/es/modules/gct-form/interface/i-events/form/i-form.event.d.ts +14 -0
  324. package/es/modules/gct-form/interface/i-events/index.d.ts +1 -0
  325. package/es/modules/gct-form/interface/i-form/i-edit-form.d.ts +48 -0
  326. package/es/modules/gct-form/interface/i-form/i-form-collapse-pane.d.ts +30 -0
  327. package/es/modules/gct-form/interface/i-form/i-form-collapse.d.ts +39 -0
  328. package/es/modules/gct-form/interface/i-form/i-form-container.d.ts +53 -0
  329. package/es/modules/gct-form/interface/i-form/i-form-edit-item.d.ts +154 -0
  330. package/es/modules/gct-form/interface/i-form/i-form-group-container.d.ts +24 -0
  331. package/es/modules/gct-form/interface/i-form/i-form-group.d.ts +35 -0
  332. package/es/modules/gct-form/interface/i-form/i-form-hidden-item.d.ts +11 -0
  333. package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +131 -0
  334. package/es/modules/gct-form/interface/i-form/i-form-item.d.ts +11 -0
  335. package/es/modules/gct-form/interface/i-form/i-form-line.d.ts +24 -0
  336. package/es/modules/gct-form/interface/i-form/i-form-tab-pane.d.ts +23 -0
  337. package/es/modules/gct-form/interface/i-form/i-form-tab.d.ts +25 -0
  338. package/es/modules/gct-form/interface/i-form/i-form.d.ts +93 -0
  339. package/es/modules/gct-form/interface/i-form/index.d.ts +14 -0
  340. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-container.d.ts +75 -0
  341. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-item.d.ts +51 -0
  342. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-container.d.ts +29 -0
  343. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item-span.d.ts +54 -0
  344. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item.d.ts +37 -0
  345. package/es/modules/gct-form/interface/i-layout/i-layout-basis/i-layout-container-basis.d.ts +11 -0
  346. package/es/modules/gct-form/interface/i-layout/index.d.ts +6 -0
  347. package/es/modules/gct-form/interface/i-provider/i-editor-provider/i-editor-provider.d.ts +24 -0
  348. package/es/modules/gct-form/interface/i-provider/i-form-item-provider/i-form-item-provider.d.ts +44 -0
  349. package/es/modules/gct-form/interface/i-provider/index.d.ts +2 -0
  350. package/es/modules/gct-form/interface/i-state/form/form.state.d.ts +59 -0
  351. package/es/modules/gct-form/interface/i-state/form-collapse/form-collapse.state.d.ts +11 -0
  352. package/es/modules/gct-form/interface/i-state/form-collapse-pane/form-collapse-pane.state.d.ts +11 -0
  353. package/es/modules/gct-form/interface/i-state/form-edit-item/form-edit-item.state.d.ts +38 -0
  354. package/es/modules/gct-form/interface/i-state/form-group/form-group.state.d.ts +21 -0
  355. package/es/modules/gct-form/interface/i-state/form-hidden-item/form-hidden-item.state.d.ts +5 -0
  356. package/es/modules/gct-form/interface/i-state/form-item/form-item.state.d.ts +20 -0
  357. package/es/modules/gct-form/interface/i-state/form-item-basic/form-item-basic.state.d.ts +63 -0
  358. package/es/modules/gct-form/interface/i-state/form-line/form-line.state.d.ts +10 -0
  359. package/es/modules/gct-form/interface/i-state/form-tab/form-tab.state.d.ts +19 -0
  360. package/es/modules/gct-form/interface/i-state/form-tab-pane/form-tab-pane.state.d.ts +11 -0
  361. package/es/modules/gct-form/interface/i-state/index.d.ts +11 -0
  362. package/es/modules/gct-form/interface/index.d.ts +7 -0
  363. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.d.ts +63 -0
  364. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.mjs +58 -0
  365. package/es/modules/gct-form/props/index.d.ts +1 -0
  366. package/es/modules/gct-form/register/editor-register/editor-register.d.ts +49 -0
  367. package/es/modules/gct-form/register/editor-register/editor-register.mjs +64 -0
  368. package/es/modules/gct-form/register/form-item-register/form-item-register.d.ts +36 -0
  369. package/es/modules/gct-form/register/form-item-register/form-item-register.mjs +46 -0
  370. package/es/modules/gct-form/register/index.d.ts +2 -0
  371. package/es/modules/gct-form/state/form/form.state.d.ts +25 -0
  372. package/es/modules/gct-form/state/form/form.state.mjs +27 -0
  373. package/es/modules/gct-form/state/form-collapse/form-collapse.state.d.ts +14 -0
  374. package/es/modules/gct-form/state/form-collapse/form-collapse.state.mjs +15 -0
  375. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.d.ts +14 -0
  376. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.mjs +15 -0
  377. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.d.ts +18 -0
  378. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.mjs +19 -0
  379. package/es/modules/gct-form/state/form-group/form-group.state.d.ts +21 -0
  380. package/es/modules/gct-form/state/form-group/form-group.state.mjs +23 -0
  381. package/es/modules/gct-form/state/form-item/form-item.state.d.ts +14 -0
  382. package/es/modules/gct-form/state/form-item/form-item.state.mjs +15 -0
  383. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.d.ts +17 -0
  384. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.mjs +19 -0
  385. package/es/modules/gct-form/state/form-line/form-line.state.d.ts +11 -0
  386. package/es/modules/gct-form/state/form-line/form-line.state.mjs +12 -0
  387. package/es/modules/gct-form/state/form-tab/form-tab.state.d.ts +15 -0
  388. package/es/modules/gct-form/state/form-tab/form-tab.state.mjs +17 -0
  389. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.d.ts +14 -0
  390. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.mjs +15 -0
  391. package/es/modules/gct-form/state/index.d.ts +10 -0
  392. package/es/modules/gct-form/utils/index.d.ts +1 -0
  393. package/es/modules/gct-form/utils/width-install/width-install.d.ts +17 -0
  394. package/es/modules/gct-form/utils/width-install/width-install.mjs +22 -0
  395. package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/gct-edit-form.d.ts +22 -7
  396. package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +125 -0
  397. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.css +97 -0
  398. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.d.ts +13 -3
  399. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +69 -0
  400. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.d.ts +19 -0
  401. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +1 -1
  402. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +12 -0
  403. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.d.ts +7 -0
  404. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.mjs +10 -0
  405. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.css +79 -0
  406. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +13 -3
  407. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +55 -0
  408. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.d.ts +18 -0
  409. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +1 -1
  410. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +12 -0
  411. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.d.ts +7 -0
  412. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.mjs +10 -0
  413. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.css +88 -0
  414. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.d.ts +13 -3
  415. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +77 -0
  416. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.d.ts +19 -0
  417. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.provider.d.ts +1 -1
  418. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +12 -0
  419. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.d.ts +7 -0
  420. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.mjs +10 -0
  421. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +16 -0
  422. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +2 -2
  423. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +12 -0
  424. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.d.ts +6 -0
  425. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.mjs +1 -0
  426. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +174 -0
  427. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.d.ts +23 -4
  428. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.mjs +131 -0
  429. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.d.ts +17 -0
  430. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.provider.d.ts +1 -1
  431. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +12 -0
  432. package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.d.ts +7 -0
  433. package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.mjs +3 -0
  434. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.css +72 -0
  435. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.d.ts +37 -0
  436. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.mjs +41 -0
  437. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.model.d.ts +15 -0
  438. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.d.ts +5 -0
  439. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.mjs +12 -0
  440. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.d.ts +7 -0
  441. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.mjs +10 -0
  442. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +108 -0
  443. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.d.ts +12 -2
  444. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +66 -0
  445. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.d.ts +10 -0
  446. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +1 -1
  447. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +12 -0
  448. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.d.ts +7 -0
  449. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.mjs +10 -0
  450. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.css +74 -0
  451. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +13 -3
  452. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +53 -0
  453. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.d.ts +17 -0
  454. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +1 -1
  455. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +12 -0
  456. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.d.ts +6 -0
  457. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.mjs +10 -0
  458. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.css +82 -0
  459. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.d.ts +2 -2
  460. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +55 -0
  461. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.d.ts +19 -0
  462. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +1 -1
  463. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +12 -0
  464. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.d.ts +7 -0
  465. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.mjs +11 -0
  466. package/es/modules/gct-form/widgets/gct-form/gct-form.css +73 -0
  467. package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form.d.ts +13 -3
  468. package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +129 -0
  469. package/es/modules/gct-form/widgets/gct-form/index.d.ts +14 -0
  470. package/es/modules/gct-form/widgets/gct-form/index.mjs +30 -0
  471. package/es/modules/gct-table/controller/gct-table/gct-table.controller.d.ts +54 -0
  472. package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +141 -0
  473. package/es/modules/gct-table/controller/index.d.ts +5 -0
  474. package/es/modules/gct-table/controller/index.mjs +5 -0
  475. package/es/modules/gct-table/controller/table-item/table-action-item.controller.d.ts +15 -0
  476. package/es/modules/gct-table/controller/table-item/table-action-item.controller.mjs +15 -0
  477. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.d.ts +19 -0
  478. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.mjs +26 -0
  479. package/es/modules/gct-table/controller/table-item/table-item.controller.d.ts +21 -0
  480. package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +33 -0
  481. package/es/modules/gct-table/controller/table-row/table-row.controller.d.ts +28 -0
  482. package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +77 -0
  483. 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
  484. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +50 -0
  485. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.d.ts +11 -0
  486. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.mjs +13 -0
  487. package/es/modules/gct-table/editor/gct-table-date/index.d.ts +4 -0
  488. package/es/modules/gct-table/editor/gct-table-date/index.mjs +10 -0
  489. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.css +86 -0
  490. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.d.ts +34 -0
  491. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.mjs +29 -0
  492. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.d.ts +13 -0
  493. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.mjs +15 -0
  494. package/es/modules/gct-table/editor/gct-table-span/index.d.ts +4 -0
  495. package/es/modules/gct-table/editor/gct-table-span/index.mjs +10 -0
  496. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.css +80 -0
  497. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.d.ts +50 -0
  498. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +63 -0
  499. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.d.ts +13 -0
  500. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.mjs +15 -0
  501. package/es/modules/gct-table/editor/gct-table-text/index.d.ts +4 -0
  502. package/es/modules/gct-table/editor/gct-table-text/index.mjs +10 -0
  503. package/es/modules/gct-table/editor/index.mjs +9 -0
  504. package/es/modules/gct-table/hooks/index.d.ts +1 -0
  505. package/es/modules/gct-table/hooks/index.mjs +1 -0
  506. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.d.ts +10 -0
  507. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.mjs +69 -0
  508. package/es/modules/gct-table/index.d.ts +10 -0
  509. package/es/modules/gct-table/index.mjs +22 -0
  510. package/es/modules/gct-table/interface/i-controller/index.d.ts +5 -0
  511. package/es/modules/gct-table/interface/i-controller/table/i-table.controller.d.ts +133 -0
  512. package/es/modules/gct-table/interface/i-controller/table-item/i-table-action-item.controller.d.ts +21 -0
  513. package/es/modules/gct-table/interface/i-controller/table-item/i-table-edit-item.controller.d.ts +44 -0
  514. package/es/modules/gct-table/interface/i-controller/table-item/i-table-item.controller.d.ts +61 -0
  515. package/es/modules/gct-table/interface/i-controller/table-row/i-table-row.controller.d.ts +110 -0
  516. package/es/modules/gct-table/interface/i-events/index.d.ts +1 -0
  517. package/es/modules/gct-table/interface/i-events/table/i-table.event.d.ts +21 -0
  518. package/es/modules/gct-table/interface/i-provider/i-table-editor-provider/i-table-editor-provider.d.ts +24 -0
  519. package/es/modules/gct-table/interface/i-provider/index.d.ts +1 -0
  520. package/es/modules/gct-table/interface/i-state/index.d.ts +4 -0
  521. package/es/modules/gct-table/interface/i-state/table/i-table.state.d.ts +50 -0
  522. package/es/modules/gct-table/interface/i-state/table-item/table-edit-item.state.d.ts +47 -0
  523. package/es/modules/gct-table/interface/i-state/table-item/table-item.state.d.ts +28 -0
  524. package/es/modules/gct-table/interface/i-state/table-row/table-row.state.d.ts +35 -0
  525. package/es/modules/gct-table/interface/i-table/i-pagination.d.ts +29 -0
  526. package/es/modules/gct-table/interface/i-table/i-table-action-item.d.ts +135 -0
  527. package/es/modules/gct-table/interface/i-table/i-table-edit-item.d.ts +74 -0
  528. package/es/modules/gct-table/interface/i-table/i-table-item.d.ts +98 -0
  529. package/es/modules/gct-table/interface/i-table/i-table.d.ts +76 -0
  530. package/es/modules/gct-table/interface/i-table/index.d.ts +4 -0
  531. package/es/modules/gct-table/interface/index.d.ts +5 -0
  532. package/es/modules/gct-table/register/index.d.ts +1 -0
  533. package/es/modules/gct-table/register/table-editor-register/table-editor-register.d.ts +53 -0
  534. package/es/modules/gct-table/register/table-editor-register/table-editor-register.mjs +68 -0
  535. package/es/modules/gct-table/state/index.d.ts +4 -0
  536. package/es/modules/gct-table/state/table/table.state.d.ts +45 -0
  537. package/es/modules/gct-table/state/table/table.state.mjs +47 -0
  538. package/es/modules/gct-table/state/table-item/table-edit-item.state.d.ts +18 -0
  539. package/es/modules/gct-table/state/table-item/table-edit-item.state.mjs +20 -0
  540. package/es/modules/gct-table/state/table-item/table-item.state.d.ts +28 -0
  541. package/es/modules/gct-table/state/table-item/table-item.state.mjs +30 -0
  542. package/es/modules/gct-table/state/table-row/table-row.state.d.ts +15 -0
  543. package/es/modules/gct-table/state/table-row/table-row.state.mjs +17 -0
  544. package/es/modules/gct-table/utils/count-latch/count-latch.d.ts +70 -0
  545. package/es/modules/gct-table/utils/count-latch/count-latch.mjs +98 -0
  546. package/es/modules/gct-table/utils/count-latch/result-awaiter.d.ts +17 -0
  547. package/es/modules/gct-table/utils/index.d.ts +3 -0
  548. package/es/modules/gct-table/utils/index.mjs +2 -0
  549. package/es/modules/gct-table/utils/width-install/width-install.d.ts +16 -0
  550. package/es/modules/gct-table/utils/width-install/width-install.mjs +21 -0
  551. package/es/modules/gct-table/widgets/gct-table/gct-table.css +124 -0
  552. package/es/modules/gct-table/widgets/gct-table/gct-table.d.ts +51 -0
  553. package/es/modules/gct-table/widgets/gct-table/gct-table.mjs +315 -0
  554. package/es/modules/gct-table/widgets/gct-table/index.mjs +8 -0
  555. package/es/modules/gct-table/widgets/index.mjs +7 -0
  556. package/es/modules/global-modal/index.d.ts +1 -0
  557. package/es/modules/global-modal/index.mjs +10 -15
  558. package/es/modules/global-modal/src/BasicModal.vue.d.ts +18 -18
  559. package/es/modules/global-modal/src/BasicModal.vue.mjs +5 -221
  560. package/es/modules/global-modal/src/BasicModal.vue_vue_type_script_setup_true_name_BasicModal_lang.mjs +201 -0
  561. package/es/modules/global-modal/src/components/GlboalModal.d.ts +10 -10
  562. package/es/modules/global-modal/src/components/GlboalModal.mjs +30 -39
  563. package/es/modules/global-modal/src/components/ModalClose.vue.mjs +6 -79
  564. package/es/modules/global-modal/src/components/ModalClose.vue_vue_type_script_setup_true_name_ModalClose_lang.mjs +67 -0
  565. package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +12 -12
  566. package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +5 -44
  567. package/es/modules/global-modal/src/components/ModalFooter.vue_vue_type_script_setup_true_name_BasicModalFooter_lang.mjs +40 -0
  568. package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +9 -9
  569. package/es/modules/global-modal/src/components/ModalHeader.vue_vue_type_script_lang.mjs +11 -0
  570. package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +1 -1
  571. package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +18 -24
  572. package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +126 -0
  573. package/es/modules/global-modal/src/hooks/useModal.mjs +102 -116
  574. package/es/modules/global-modal/src/hooks/useModalContext.mjs +6 -6
  575. package/es/modules/global-modal/src/hooks/useModalDrag.mjs +69 -79
  576. package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +17 -13
  577. package/es/modules/global-modal/src/props.mjs +87 -55
  578. package/es/modules/target-loading/index.mjs +3 -0
  579. package/es/modules/target-loading/src/createLoading.mjs +42 -54
  580. package/es/modules/target-loading/src/target-loading.vue.d.ts +1 -1
  581. package/es/modules/target-loading/src/target-loading.vue.mjs +7 -52
  582. package/es/modules/target-loading/src/target-loading.vue_vue_type_script_setup_true_name_target-loading_lang.mjs +55 -0
  583. package/es/modules/target-loading/src/useLoading.mjs +2 -0
  584. package/es/setup-app.mjs +3 -3
  585. package/es/types/index.d.ts +11 -1
  586. package/es/utils/index.mjs +4 -0
  587. package/es/utils/message-util/message-util.mjs +25 -25
  588. package/es/utils/monaco-loader/monaco-loader.mjs +83 -87
  589. package/es/utils/overlay-controller/overlay-controller.mjs +29 -20
  590. package/es/utils/with-install.mjs +10 -11
  591. package/package.json +13 -6
  592. package/dist/index-Bpd2MFJC.js +0 -33732
  593. package/dist/index-CwxW5OnC.js +0 -98
  594. package/dist/index-vFQ1naj3.cjs +0 -98
  595. package/dist/index.esm.min.mjs +0 -41
  596. package/dist/index.min.cjs +0 -1
  597. package/dist/index.system.min.js +0 -1
  598. package/dist/monaco-editor-5rbNTIph.cjs +0 -19
  599. package/dist/monaco-editor-DHkSqfaq.js +0 -19
  600. package/dist/monaco-editor-DYUIGpkZ.js +0 -20245
  601. package/es/components/base-button/base-button.vue3.mjs +0 -179
  602. package/es/components/basic-button/basic-button.vue3.mjs +0 -130
  603. package/es/components/copy-module-key/copy-module-key.vue3.mjs +0 -104
  604. package/es/components/double-input/double-input.vue2.mjs +0 -5
  605. package/es/components/layout/flex-container/flex-container.mjs +0 -94
  606. package/es/components/layout/flex-item/flex-item.mjs +0 -55
  607. package/es/components/layout/grid-container/grid-container.mjs +0 -51
  608. package/es/components/svg-icon/svg-icon.vue3.mjs +0 -6
  609. package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
  610. package/es/editor/gct-form-color/index.d.ts +0 -7
  611. package/es/editor/gct-form-field-select/gct-form-field-select.d.ts +0 -47
  612. package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
  613. package/es/editor/gct-form-field-select/gct-model-select.vue.d.ts +0 -9
  614. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
  615. package/es/editor/gct-form-number/index.d.ts +0 -7
  616. package/es/editor/gct-form-switch/index.d.ts +0 -7
  617. package/es/editor/gct-form-text/index.d.ts +0 -7
  618. package/es/modules/code-editor/monaco-editor.vue2.mjs +0 -440
  619. package/es/modules/color-picker/src/ColorPicker.vue2.mjs +0 -545
  620. package/es/modules/global-modal/src/BasicModal.vue2.mjs +0 -5
  621. package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +0 -6
  622. package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +0 -5
  623. package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +0 -13
  624. package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +0 -136
  625. package/es/modules/target-loading/src/target-loading.vue3.mjs +0 -7
  626. package/es/widgets/gct-form/gct-form-group/index.d.ts +0 -5
  627. package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
  628. package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
  629. package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
  630. package/es/widgets/gct-form/index.d.ts +0 -5
  631. /package/es/components/base-button/{base-button.css → base-button.vue_vue_type_style_index_0_scoped_5375ec2b_lang.css} +0 -0
  632. /package/es/components/basic-button/{basic-button.css → basic-button.vue_vue_type_style_index_0_scoped_1dbcb2fa_lang.css} +0 -0
  633. /package/es/components/copy-module-key/{copy-module-key.css → copy-module-key.vue_vue_type_style_index_0_scoped_531b3cd2_lang.css} +0 -0
  634. /package/es/components/svg-icon/{svg-icon.css → svg-icon.vue_vue_type_style_index_0_lang.css} +0 -0
  635. /package/es/modules/code-editor/{monaco-editor.css → monaco-editor.vue_vue_type_style_index_0_scoped_254c9227_lang.css} +0 -0
  636. /package/es/modules/color-picker/src/{ColorPicker.css → ColorPicker.vue_vue_type_style_index_0_scoped_7bfd9ca3_lang.css} +0 -0
  637. /package/es/modules/color-picker/src/{ColorPicker2.css → ColorPicker.vue_vue_type_style_index_1_lang.css} +0 -0
  638. /package/es/{components/layout → modules/gct-form/components}/flex-container/flex-container.css +0 -0
  639. /package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/index.d.ts +0 -0
  640. /package/es/{editor/gct-form-field-select → modules/gct-form/editor/gct-form-color}/index.d.ts +0 -0
  641. /package/es/{editor/gct-form-i18n → modules/gct-form/editor/gct-form-date}/index.d.ts +0 -0
  642. /package/es/{editor/gct-form-length-unit → modules/gct-form/editor/gct-form-i18n}/index.d.ts +0 -0
  643. /package/es/{editor/gct-form-modal-select → modules/gct-form/editor/gct-form-length-unit}/index.d.ts +0 -0
  644. /package/es/{editor/gct-form-picker → modules/gct-form/editor/gct-form-number}/index.d.ts +0 -0
  645. /package/es/{editor/gct-form-select → modules/gct-form/editor/gct-form-picker}/index.d.ts +0 -0
  646. /package/es/{editor/gct-form-span → modules/gct-form/editor/gct-form-select}/index.d.ts +0 -0
  647. /package/es/{editor/gct-form-textarea → modules/gct-form/editor/gct-form-span}/index.d.ts +0 -0
  648. /package/es/{editor → modules/gct-form/editor}/index.d.ts +0 -0
  649. /package/es/{widgets/gct-edit-form → modules/gct-table/editor}/index.d.ts +0 -0
  650. /package/es/{widgets/gct-form/gct-form-collapse-pane → modules/gct-table/widgets/gct-table}/index.d.ts +0 -0
  651. /package/es/{widgets/gct-form/gct-form-collapse → modules/gct-table/widgets}/index.d.ts +0 -0
  652. /package/es/modules/global-modal/src/components/{ModalClose.css → ModalClose.vue_vue_type_style_index_0_lang.css} +0 -0
  653. /package/es/modules/target-loading/src/{target-loading.css → target-loading.vue_vue_type_style_index_0_scoped_d448466c_lang.css} +0 -0
@@ -1,158 +1,5 @@
1
- import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot, resolveDynamicComponent, createCommentVNode } from 'vue';
2
- import { isNil } from 'lodash-es';
3
- import BigNumber from 'bignumber.js';
4
-
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "double-input",
7
- props: {
8
- doubleValue: {},
9
- isSeparator: { type: Boolean },
10
- onEnter: {},
11
- renderScript: {},
12
- digits: {},
13
- enableStepCounter: { type: Boolean }
14
- },
15
- emits: ["update:doubleValue"],
16
- setup(__props, { expose: __expose, emit: __emit }) {
17
- const props = __props;
18
- const emit = __emit;
19
- const inputAttr = ref({});
20
- const inputNumberRef = ref();
21
- const inputValue = computed({
22
- get() {
23
- const { val, precision } = getFormatterValue(props.doubleValue);
24
- setInputAttr(precision);
25
- return val;
26
- },
27
- set(value) {
28
- emit("update:doubleValue", value);
29
- }
30
- });
31
- const countDecimals = (num) => {
32
- const str = String(num);
33
- const match = str.match(/\.(\d+)/);
34
- return match ? match[1].length : 0;
35
- };
36
- const formatterValue = (inputValue2) => {
37
- let value = inputValue2?.toString();
38
- if (props.isSeparator && value) {
39
- value = value.replace(/\$\s?|(,*)/g, "");
40
- }
41
- const currentValue = parseFloat(value);
42
- if (isNaN(currentValue)) {
43
- return {
44
- val: null
45
- };
46
- }
47
- if (value.toString().indexOf(".") === 0) {
48
- value = `0${value}`;
49
- }
50
- if (Number.isInteger(currentValue)) {
51
- const reg = new RegExp(`^${currentValue}(\\.)`, "g");
52
- if (reg.test(value)) {
53
- const firstVal = value.replace(
54
- new RegExp(`^(${currentValue}(\\.))(.*)`),
55
- "$1"
56
- );
57
- if (firstVal === `${currentValue}.`) {
58
- const otherVal = value.replace(reg, "");
59
- let dIndex = otherVal.toString().indexOf(".");
60
- if (dIndex === 0) {
61
- return {
62
- val: currentValue
63
- };
64
- }
65
- if (parseFloat(otherVal) === 0) {
66
- const decimalValue = otherVal.toString().replace(new RegExp(`^(\\d*)(.*)`), "$1");
67
- return {
68
- val: `${currentValue}.${decimalValue}`,
69
- precision: decimalValue.length
70
- };
71
- }
72
- }
73
- }
74
- return {
75
- val: currentValue
76
- };
77
- } else {
78
- const _val = value.replace(new RegExp(`^(\\d*\\.\\d*)(.*)`), "$1");
79
- if (_val === currentValue.toString()) {
80
- return {
81
- val: _val
82
- };
83
- }
84
- return {
85
- val: _val,
86
- precision: countDecimals(_val)
87
- };
88
- }
89
- };
90
- const getFormatterValue = (inputValue2) => {
91
- const res = formatterValue(inputValue2);
92
- if (isNil(props.digits)) {
93
- return res;
94
- }
95
- const { val, precision } = res;
96
- return {
97
- val: val ? Number(new BigNumber(val).toFixed(props.digits, 1)) : val,
98
- precision
99
- };
100
- };
101
- const setInputAttr = (precision) => {
102
- inputAttr.value = {};
103
- if (precision !== void 0 && isNil(props.digits)) {
104
- inputAttr.value = {
105
- precision
106
- };
107
- }
108
- };
109
- const onChangeValue = (event) => {
110
- const {
111
- target: { value: inputValue2 }
112
- } = event || {};
113
- const { val, precision } = getFormatterValue(inputValue2);
114
- setInputAttr(precision);
115
- emit("update:doubleValue", val);
116
- };
117
- const onPressEnter = (event) => {
118
- onChangeValue(event);
119
- if (props.onEnter && typeof props.onEnter === "function") {
120
- props.onEnter?.(event);
121
- }
122
- };
123
- __expose({
124
- input: inputNumberRef,
125
- onChangeValue
126
- });
127
- return (_ctx, _cache) => {
128
- const _component_a_input_number = resolveComponent("a-input-number");
129
- return openBlock(), createBlock(_component_a_input_number, mergeProps({
130
- ref_key: "inputNumberRef",
131
- ref: inputNumberRef
132
- }, inputAttr.value, {
133
- value: inputValue.value,
134
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
135
- onBlur: onChangeValue,
136
- onPressEnter
137
- }), createSlots({ _: 2 }, [
138
- __props.enableStepCounter ? {
139
- name: "addonBefore",
140
- fn: withCtx(() => [
141
- renderSlot(_ctx.$slots, "step-down")
142
- ]),
143
- key: "0"
144
- } : void 0,
145
- __props.enableStepCounter || __props.renderScript ? {
146
- name: "addonAfter",
147
- fn: withCtx(() => [
148
- __props.renderScript ? (openBlock(), createBlock(resolveDynamicComponent(__props.renderScript), { key: 0 })) : createCommentVNode("", true),
149
- __props.enableStepCounter ? renderSlot(_ctx.$slots, "step-up", { key: 1 }) : createCommentVNode("", true)
150
- ]),
151
- key: "1"
152
- } : void 0
153
- ]), 1040, ["value"]);
154
- };
155
- }
156
- });
157
-
158
- export { _sfc_main as default };
1
+ import double_input_vue_vue_type_script_setup_true_lang_default from "./double-input.vue_vue_type_script_setup_true_lang.mjs";
2
+ //#region src/components/double-input/double-input.vue
3
+ var double_input_default = double_input_vue_vue_type_script_setup_true_lang_default;
4
+ //#endregion
5
+ export { double_input_default as default };
@@ -0,0 +1,121 @@
1
+ import { computed, createBlock, createCommentVNode, createSlots, defineComponent, mergeProps, openBlock, ref, renderSlot, resolveComponent, resolveDynamicComponent, withCtx } from "vue";
2
+ import { isNil } from "lodash-es";
3
+ import { BigNumber } from "bignumber.js";
4
+ //#region src/components/double-input/double-input.vue?vue&type=script&setup=true&lang.ts
5
+ var double_input_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6
+ __name: "double-input",
7
+ props: {
8
+ doubleValue: {},
9
+ isSeparator: { type: Boolean },
10
+ onEnter: {},
11
+ renderScript: {},
12
+ digits: {},
13
+ enableStepCounter: { type: Boolean }
14
+ },
15
+ emits: ["update:doubleValue"],
16
+ setup(__props, { expose: __expose, emit: __emit }) {
17
+ const props = __props;
18
+ const emit = __emit;
19
+ const inputAttr = ref({});
20
+ const inputNumberRef = ref();
21
+ const inputValue = computed({
22
+ get() {
23
+ const { val, precision } = getFormatterValue(props.doubleValue);
24
+ setInputAttr(precision);
25
+ return val;
26
+ },
27
+ set(value) {
28
+ emit("update:doubleValue", value);
29
+ }
30
+ });
31
+ const countDecimals = (num) => {
32
+ const match = String(num).match(/\.(\d+)/);
33
+ return match ? match[1].length : 0;
34
+ };
35
+ const formatterValue = (inputValue) => {
36
+ let value = inputValue?.toString();
37
+ if (props.isSeparator && value) value = value.replace(/\$\s?|(,*)/g, "");
38
+ const currentValue = parseFloat(value);
39
+ if (isNaN(currentValue)) return { val: null };
40
+ if (value.toString().indexOf(".") === 0) value = `0${value}`;
41
+ if (Number.isInteger(currentValue)) {
42
+ const reg = new RegExp(`^${currentValue}(\\.)`, "g");
43
+ if (reg.test(value)) {
44
+ if (value.replace(new RegExp(`^(${currentValue}(\\.))(.*)`), "$1") === `${currentValue}.`) {
45
+ const otherVal = value.replace(reg, "");
46
+ if (otherVal.toString().indexOf(".") === 0) return { val: currentValue };
47
+ if (parseFloat(otherVal) === 0) {
48
+ const decimalValue = otherVal.toString().replace(new RegExp(`^(\\d*)(.*)`), "$1");
49
+ return {
50
+ val: `${currentValue}.${decimalValue}`,
51
+ precision: decimalValue.length
52
+ };
53
+ }
54
+ }
55
+ }
56
+ return { val: currentValue };
57
+ } else {
58
+ const _val = value.replace(new RegExp(`^(\\d*\\.\\d*)(.*)`), "$1");
59
+ if (_val === currentValue.toString()) return { val: _val };
60
+ return {
61
+ val: _val,
62
+ precision: countDecimals(_val)
63
+ };
64
+ }
65
+ };
66
+ const getFormatterValue = (inputValue) => {
67
+ const res = formatterValue(inputValue);
68
+ if (isNil(props.digits)) return res;
69
+ const { val, precision } = res;
70
+ return {
71
+ val: val ? Number(new BigNumber(val).toFixed(props.digits, 1)) : val,
72
+ precision
73
+ };
74
+ };
75
+ const setInputAttr = (precision) => {
76
+ inputAttr.value = {};
77
+ if (precision !== void 0 && isNil(props.digits)) inputAttr.value = { precision };
78
+ };
79
+ const onChangeValue = (event) => {
80
+ const { target: { value: inputValue } } = event || {};
81
+ const { val, precision } = getFormatterValue(inputValue);
82
+ setInputAttr(precision);
83
+ emit("update:doubleValue", val);
84
+ };
85
+ /**
86
+ * @function onPressEnter
87
+ * @description 按下回车时触发,调用 onChangeValue 并执行 onEnter 回调
88
+ * @param {IInputEvent} event - 输入事件对象
89
+ */
90
+ const onPressEnter = (event) => {
91
+ onChangeValue(event);
92
+ if (props.onEnter && typeof props.onEnter === "function") props.onEnter?.(event);
93
+ };
94
+ __expose({
95
+ input: inputNumberRef,
96
+ onChangeValue
97
+ });
98
+ return (_ctx, _cache) => {
99
+ const _component_a_input_number = resolveComponent("a-input-number");
100
+ return openBlock(), createBlock(_component_a_input_number, mergeProps({
101
+ ref_key: "inputNumberRef",
102
+ ref: inputNumberRef
103
+ }, inputAttr.value, {
104
+ value: inputValue.value,
105
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
106
+ onBlur: onChangeValue,
107
+ onPressEnter
108
+ }), createSlots({ _: 2 }, [__props.enableStepCounter ? {
109
+ name: "addonBefore",
110
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "step-down")]),
111
+ key: "0"
112
+ } : void 0, __props.enableStepCounter || __props.renderScript ? {
113
+ name: "addonAfter",
114
+ fn: withCtx(() => [__props.renderScript ? (openBlock(), createBlock(resolveDynamicComponent(__props.renderScript), { key: 0 })) : createCommentVNode("", true), __props.enableStepCounter ? renderSlot(_ctx.$slots, "step-up", { key: 1 }) : createCommentVNode("", true)]),
115
+ key: "1"
116
+ } : void 0]), 1040, ["value"]);
117
+ };
118
+ }
119
+ });
120
+ //#endregion
121
+ export { double_input_vue_vue_type_script_setup_true_lang_default as default };
@@ -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,36 @@
1
+ import { IconNamespaceEnum } from "../types/index.mjs";
2
+ import { computed, ref } from "vue";
3
+ //#region src/components/icon-next/hooks/useIconAsset.ts
4
+ var iconAssetIcons = ref([]);
5
+ var iconParkCats = computed(() => {
6
+ return [{
7
+ id: "IconAsset",
8
+ name: "资产图标",
9
+ children: iconAssetIcons.value
10
+ }].filter((i) => i.children?.length);
11
+ });
12
+ function useIconAsset() {
13
+ async function getIconAssetCats() {
14
+ if (iconAssetIcons.value.length > 0) return iconParkCats.value;
15
+ const params = { assetsModule: "ICON" };
16
+ iconAssetIcons.value = await Promise.all([_api.platform.category.getList(params), _api.platform.assets.getList(params)]).then(([catRes, iconRes]) => {
17
+ return catRes?.map((c) => {
18
+ return {
19
+ id: `${c.id}`,
20
+ name: c.name,
21
+ icons: iconRes?.filter((i) => i.categoryId === c.id).map((item) => {
22
+ Object.assign(item, {
23
+ id: `${IconNamespaceEnum.Asset}:${item.path}`,
24
+ _filter_: [item.name]
25
+ });
26
+ return item;
27
+ })
28
+ };
29
+ }).filter((i) => i.icons?.length);
30
+ });
31
+ return iconParkCats.value;
32
+ }
33
+ return { getIconAssetCats };
34
+ }
35
+ //#endregion
36
+ 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 { IconNamespaceEnum } from "../types/index.mjs";
2
+ import { computed, ref } from "vue";
3
+ import IconParkJson from "@icon-park/vue-next/icons.json";
4
+ //#region src/components/icon-next/hooks/useIconPark.ts
5
+ var CategoyEnum = /* @__PURE__ */ function(CategoyEnum) {
6
+ CategoyEnum["Base"] = "Base";
7
+ CategoyEnum["Others"] = "Others";
8
+ return CategoyEnum;
9
+ }(CategoyEnum || {});
10
+ var iconParkIcons = ref([]);
11
+ var iconParkCats = computed(() => {
12
+ return [{
13
+ id: "IconPark",
14
+ name: "IconPark",
15
+ children: iconParkIcons.value
16
+ }];
17
+ });
18
+ function useIconPark() {
19
+ function getIconParkCats() {
20
+ if (iconParkIcons.value.length > 0) return iconParkCats.value;
21
+ const cats = [];
22
+ IconParkJson.forEach((item) => {
23
+ const icon = {
24
+ ...item,
25
+ id: `${IconNamespaceEnum.IconPark}:${item.name}`,
26
+ _filter_: [
27
+ ...item.tag,
28
+ item.title,
29
+ item.name
30
+ ]
31
+ };
32
+ let category = cats.find((c) => c.id === icon.category);
33
+ if (category) category.icons.push(icon);
34
+ else {
35
+ category = {
36
+ id: icon.category,
37
+ name: icon.categoryCN,
38
+ icons: [icon]
39
+ };
40
+ cats.push(category);
41
+ }
42
+ });
43
+ const base = cats.filter((c) => c.id === CategoyEnum.Base);
44
+ const others = cats.filter((c) => c.id === CategoyEnum.Others);
45
+ const middle = cats.filter((c) => ![CategoyEnum.Base, CategoyEnum.Others].includes(c.id));
46
+ iconParkIcons.value = base.concat(middle, others);
47
+ return iconParkCats.value;
48
+ }
49
+ return { getIconParkCats };
50
+ }
51
+ //#endregion
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,43 @@
1
+ import { IconNamespaceEnum } from "../types/index.mjs";
2
+ import { computed } from "vue";
3
+ import { iconsNames } from "@gct-paas/platform-icons";
4
+ //#region src/components/icon-next/hooks/useIconPlatform.ts
5
+ var iconPlatformCats = computed(() => {
6
+ return [{
7
+ id: "medicalCare",
8
+ name: "医疗器械",
9
+ icons: medicalCareIcons.value
10
+ }, {
11
+ id: "IconPlatform",
12
+ name: "平台图标",
13
+ icons: platformIcons.value
14
+ }];
15
+ });
16
+ var platformIcons = computed(() => {
17
+ return iconsNames.filter((e) => /^(icon-platform)/.test(e)).map((e) => {
18
+ const iconName = e.replace(/icon-/g, "");
19
+ return {
20
+ id: `${IconNamespaceEnum.Platform}:${iconName}`,
21
+ name: iconName,
22
+ _filter_: [iconName]
23
+ };
24
+ });
25
+ });
26
+ var medicalCareIcons = computed(() => {
27
+ return iconsNames.filter((e) => /^(icon-medicalCare)/.test(e)).map((e) => {
28
+ const iconName = e.replace(/icon-/g, "");
29
+ return {
30
+ id: `${IconNamespaceEnum.Platform}:${iconName}`,
31
+ name: e.replace(/icon-medicalCare-/g, ""),
32
+ _filter_: [iconName]
33
+ };
34
+ });
35
+ });
36
+ function useIconPlatform() {
37
+ function getIconPlatformCats() {
38
+ return iconPlatformCats.value;
39
+ }
40
+ return { getIconPlatformCats };
41
+ }
42
+ //#endregion
43
+ 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 };
@@ -0,0 +1,3 @@
1
+ import "./src/IconNext.vue.mjs";
2
+ import "./src/IconNextPicker.vue.mjs";
3
+ import "@gct-paas/platform-icons";
@@ -0,0 +1,40 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ value: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ background: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ size: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
+ value: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ color: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ background: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ size: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ color: string;
37
+ size: number;
38
+ background: string;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default from "./IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs";
3
+ import './IconNext.vue_vue_type_style_index_0_scoped_c5a83130_lang.css';/* empty css */
4
+ //#region src/components/icon-next/src/IconNext.vue
5
+ var IconNext_default = /* @__PURE__ */ _plugin_vue_export_helper_default(IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default, [["__scopeId", "data-v-c5a83130"]]);
6
+ //#endregion
7
+ export { IconNext_default as default };
@@ -0,0 +1,113 @@
1
+ import svg_icon_default from "../../svg-icon/svg-icon.vue.mjs";
2
+ import { IconNamespaceEnum } from "../types/index.mjs";
3
+ import { computed, createBlock, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
4
+ import { VITE_MINIO_PATH } from "@gct-paas/core";
5
+ import { IconPark } from "@icon-park/vue-next/es/all";
6
+ //#region src/components/icon-next/src/IconNext.vue?vue&type=script&setup=true&name=IconNext&lang.ts
7
+ var IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default = /* @__PURE__ */ defineComponent({
8
+ __name: "IconNext",
9
+ props: {
10
+ value: {
11
+ type: String,
12
+ required: true
13
+ },
14
+ color: {
15
+ type: String,
16
+ default: "#FFFFFF"
17
+ },
18
+ background: {
19
+ type: String,
20
+ default: "transparent"
21
+ },
22
+ size: {
23
+ type: Number,
24
+ default: 24
25
+ }
26
+ },
27
+ setup(__props) {
28
+ function fileUrlParser(url) {
29
+ if (!url) return url;
30
+ return `${VITE_MINIO_PATH}${url.startsWith("/") ? "" : "/"}${url}`;
31
+ }
32
+ const props = __props;
33
+ /**
34
+ * 图标命名空间
35
+ */
36
+ const namespace = computed(() => {
37
+ const value = props.value;
38
+ if (!value) return void 0;
39
+ if (value.includes(":")) return value.split(":")[0];
40
+ else if (value.startsWith("preset-")) return IconNamespaceEnum.Preset;
41
+ });
42
+ /**
43
+ * 图标实际名称
44
+ */
45
+ const iconName = computed(() => {
46
+ const value = props.value;
47
+ if (!value) return void 0;
48
+ if (value.includes(":")) return value.split(":")[1];
49
+ return props.value;
50
+ });
51
+ const iconBgImage = computed(() => {
52
+ return `url('${fileUrlParser(iconName.value)}')`;
53
+ });
54
+ return (_ctx, _cache) => {
55
+ return namespace.value === unref(IconNamespaceEnum).IconPark ? (openBlock(), createBlock(unref(IconPark), {
56
+ key: `${iconName.value}-${__props.size}`,
57
+ type: iconName.value,
58
+ style: normalizeStyle({
59
+ "--color": __props.color,
60
+ "--bg-color": __props.background
61
+ }),
62
+ class: "icon-next",
63
+ size: __props.size
64
+ }, null, 8, [
65
+ "type",
66
+ "style",
67
+ "size"
68
+ ])) : namespace.value === unref(IconNamespaceEnum).Preset || namespace.value === unref(IconNamespaceEnum).Platform ? (openBlock(), createBlock(svg_icon_default, {
69
+ key: 1,
70
+ name: iconName.value,
71
+ style: normalizeStyle({
72
+ "--color": __props.color,
73
+ "--bg-color": __props.background
74
+ }),
75
+ class: "icon-next",
76
+ size: __props.size
77
+ }, null, 8, [
78
+ "name",
79
+ "style",
80
+ "size"
81
+ ])) : namespace.value === unref(IconNamespaceEnum).Asset ? (openBlock(), createElementBlock("i", {
82
+ key: 2,
83
+ class: "icon-next",
84
+ style: normalizeStyle({
85
+ "--size": __props.size + "px",
86
+ "--bg-image": iconBgImage.value
87
+ })
88
+ }, null, 4)) : namespace.value === unref(IconNamespaceEnum).GctIconFont ? (openBlock(), createElementBlock("i", {
89
+ key: 3,
90
+ class: normalizeClass([`gct-iconfont ${iconName.value}`, "icon-next"]),
91
+ style: normalizeStyle({
92
+ fontSize: __props.size + "px",
93
+ lineHeight: 1,
94
+ "--color": __props.color,
95
+ "--bg-color": __props.background,
96
+ "--size": __props.size + "px"
97
+ })
98
+ }, null, 6)) : (openBlock(), createElementBlock("i", {
99
+ key: 4,
100
+ class: normalizeClass([`iconfont ${iconName.value}`, "icon-next"]),
101
+ style: normalizeStyle({
102
+ fontSize: __props.size + "px",
103
+ lineHeight: 1,
104
+ "--color": __props.color,
105
+ "--bg-color": __props.background,
106
+ "--size": __props.size + "px"
107
+ })
108
+ }, null, 6));
109
+ };
110
+ }
111
+ });
112
+ //#endregion
113
+ export { IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default as default };
@@ -0,0 +1,18 @@
1
+ .icon-next[data-v-c5a83130] {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ color: var(--color);
5
+ background-color: var(--bg-color);
6
+ transition: all 0.3s;
7
+ }
8
+ .icon-next > svg[data-v-c5a83130] {
9
+ transform: translateY(1px);
10
+ }
11
+ i.icon-next[data-v-c5a83130] {
12
+ height: var(--size);
13
+ width: var(--size);
14
+ background-image: var(--bg-image);
15
+ background-size: contain;
16
+ background-position: center;
17
+ background-repeat: no-repeat;
18
+ }