@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
@@ -1,7 +1,7 @@
1
1
  export declare const MonacoEditor: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
3
- onBlur?: ((...args: any[]) => any) | undefined;
4
3
  onChange?: ((...args: any[]) => any) | undefined;
4
+ onBlur?: ((...args: any[]) => any) | undefined;
5
5
  onFocus?: ((...args: any[]) => any) | undefined;
6
6
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
7
7
  "onEditor-mounted"?: ((...args: any[]) => any) | undefined;
@@ -34,19 +34,19 @@ export declare const MonacoEditor: {
34
34
  isChatBotActive: import('vue').Ref<boolean, boolean>;
35
35
  handleChatBotClick: () => void;
36
36
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- blur: (...args: any[]) => void;
38
37
  change: (...args: any[]) => void;
38
+ blur: (...args: any[]) => void;
39
39
  focus: (...args: any[]) => void;
40
40
  "update:value": (...args: any[]) => void;
41
41
  "editor-mounted": (...args: any[]) => void;
42
42
  "chat-bot-click": (...args: any[]) => void;
43
43
  }, import('vue').PublicProps, {
44
+ value: string | null;
44
45
  title: string;
45
46
  direction: "top" | "bottom";
47
+ readonly: boolean;
46
48
  theme: import('./useMonacoEditor').Theme;
47
- value: string | null;
48
49
  language: string;
49
- readonly: boolean;
50
50
  gapVal: number;
51
51
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
52
52
  Editor: HTMLDivElement;
@@ -58,8 +58,8 @@ export declare const MonacoEditor: {
58
58
  M: {};
59
59
  Defaults: {};
60
60
  }, Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
61
- onBlur?: ((...args: any[]) => any) | undefined;
62
61
  onChange?: ((...args: any[]) => any) | undefined;
62
+ onBlur?: ((...args: any[]) => any) | undefined;
63
63
  onFocus?: ((...args: any[]) => any) | undefined;
64
64
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
65
65
  "onEditor-mounted"?: ((...args: any[]) => any) | undefined;
@@ -92,20 +92,20 @@ export declare const MonacoEditor: {
92
92
  isChatBotActive: import('vue').Ref<boolean, boolean>;
93
93
  handleChatBotClick: () => void;
94
94
  }, {}, {}, {}, {
95
+ value: string | null;
95
96
  title: string;
96
97
  direction: "top" | "bottom";
98
+ readonly: boolean;
97
99
  theme: import('./useMonacoEditor').Theme;
98
- value: string | null;
99
100
  language: string;
100
- readonly: boolean;
101
101
  gapVal: number;
102
102
  }>;
103
103
  __isFragment?: never;
104
104
  __isTeleport?: never;
105
105
  __isSuspense?: never;
106
106
  } & import('vue').ComponentOptionsBase<Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
107
- onBlur?: ((...args: any[]) => any) | undefined;
108
107
  onChange?: ((...args: any[]) => any) | undefined;
108
+ onBlur?: ((...args: any[]) => any) | undefined;
109
109
  onFocus?: ((...args: any[]) => any) | undefined;
110
110
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
111
111
  "onEditor-mounted"?: ((...args: any[]) => any) | undefined;
@@ -138,19 +138,19 @@ export declare const MonacoEditor: {
138
138
  isChatBotActive: import('vue').Ref<boolean, boolean>;
139
139
  handleChatBotClick: () => void;
140
140
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
141
- blur: (...args: any[]) => void;
142
141
  change: (...args: any[]) => void;
142
+ blur: (...args: any[]) => void;
143
143
  focus: (...args: any[]) => void;
144
144
  "update:value": (...args: any[]) => void;
145
145
  "editor-mounted": (...args: any[]) => void;
146
146
  "chat-bot-click": (...args: any[]) => void;
147
147
  }, string, {
148
+ value: string | null;
148
149
  title: string;
149
150
  direction: "top" | "bottom";
151
+ readonly: boolean;
150
152
  theme: import('./useMonacoEditor').Theme;
151
- value: string | null;
152
153
  language: string;
153
- readonly: boolean;
154
154
  gapVal: number;
155
155
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
156
156
  $slots: {
@@ -110,26 +110,26 @@ declare const __VLS_component: import('vue').DefineComponent<Prop, {
110
110
  isChatBotActive: import('vue').Ref<boolean, boolean>;
111
111
  handleChatBotClick: typeof handleChatBotClick;
112
112
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
113
- blur: (...args: any[]) => void;
114
113
  change: (...args: any[]) => void;
114
+ blur: (...args: any[]) => void;
115
115
  focus: (...args: any[]) => void;
116
116
  "update:value": (...args: any[]) => void;
117
117
  "editor-mounted": (...args: any[]) => void;
118
118
  "chat-bot-click": (...args: any[]) => void;
119
119
  }, string, import('vue').PublicProps, Readonly<Prop> & Readonly<{
120
- onBlur?: ((...args: any[]) => any) | undefined;
121
120
  onChange?: ((...args: any[]) => any) | undefined;
121
+ onBlur?: ((...args: any[]) => any) | undefined;
122
122
  onFocus?: ((...args: any[]) => any) | undefined;
123
123
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
124
124
  "onEditor-mounted"?: ((...args: any[]) => any) | undefined;
125
125
  "onChat-bot-click"?: ((...args: any[]) => any) | undefined;
126
126
  }>, {
127
+ value: string | null;
127
128
  title: string;
128
129
  direction: "top" | "bottom";
130
+ readonly: boolean;
129
131
  theme: Theme;
130
- value: string | null;
131
132
  language: string;
132
- readonly: boolean;
133
133
  gapVal: number;
134
134
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
135
135
  Editor: HTMLDivElement;
@@ -30,9 +30,9 @@ declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {},
30
30
  }, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{
31
31
  "onUpdate:color"?: ((...args: any[]) => any) | undefined;
32
32
  }>, {
33
+ color: string | RgbaType;
33
34
  width: number;
34
35
  placement: string;
35
- color: string | RgbaType;
36
36
  preset: string[];
37
37
  useTrigger: boolean;
38
38
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1,7 +1,7 @@
1
1
  import { createApp, h } from 'vue';
2
2
  import WujieVue3 from 'wujie-vue3';
3
3
  import '@gct-paas/core';
4
- import '../../components/layout/view-container/view-container.css';import '../../components/layout/flex-container/flex-container.css';import '../../components/code-editor/code-editor.css';import '../../components/copy-module-key/copy-module-key.css';import '../../components/basic-button/basic-button.css';import '../../components/base-button/base-button.css';import '../../components/assets-svg-icon/assets-svg-icon.css';import '../../components/svg-icon/svg-icon.css';/* empty css */
4
+ import '../../components/layout/view-container/view-container.css';import '../../components/code-editor/code-editor.css';import '../../components/icon-next/src/IconNextPicker.css';import '../../components/icon-next/src/IconNext.css';import '../../components/copy-module-key/copy-module-key.css';import '../../components/basic-button/basic-button.css';import '../../components/base-button/base-button.css';import '../../components/assets-svg-icon/assets-svg-icon.css';import '../../components/svg-icon/svg-icon.css';/* empty css */
5
5
  /* empty css */
6
6
  import 'ant-design-vue';
7
7
  import 'lodash-es';
@@ -10,10 +10,17 @@ import 'lodash-es';
10
10
  import { WuJieContainer } from '../../components/wujie-container/wujie-container.mjs';
11
11
  import 'bignumber.js';
12
12
  /* empty css */
13
+ import '@gct-paas/platform-icons';
14
+ import '@icon-park/vue-next/es/all';
15
+ /* empty css */
16
+ import 'overlayscrollbars-vue';
17
+ import '../../components/icon-next/hooks/useIconAsset.mjs';
18
+ import '../../components/icon-next/hooks/useIconPark.mjs';
19
+ import '../../components/icon-next/hooks/useIconPlatform.mjs';
20
+ /* empty css */
13
21
  import '@monaco-editor/loader';
14
22
  /* empty css */
15
23
  /* empty css */
16
- /* empty css */
17
24
 
18
25
  function openFormulaEditor(opts) {
19
26
  return new Promise((resolve) => {
@@ -31,8 +38,8 @@ function openFormulaEditor(opts) {
31
38
  {},
32
39
  h(WuJieContainer, {
33
40
  wuJieName: `gct-formula-editor`,
34
- // TODO: localhost:9000 需要替换成实际的地址
35
- url: "http://localhost:9000",
41
+ // 本地开发时,需要更换为本地地址,生产环境需要更换为线上地址
42
+ url: "/extras/@gct-paas/formula-editor/index.html",
36
43
  props: opts,
37
44
  onWujieFormula___confirm: (data) => {
38
45
  resolve(data);
@@ -31,7 +31,7 @@ export declare const GctDndContainer: import('vue').DefineComponent<import('vue'
31
31
  }>> & Readonly<{
32
32
  "onUpdate:items"?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- config: IGctDndConfig;
35
34
  items: IGctDndData[];
35
+ config: IGctDndConfig;
36
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
37
  export default GctDndContainer;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 编辑器注册器常量
3
+ *
4
+ * @author zhanghanrui
5
+ * @date 2024-04-02 10:04:33
6
+ * @export
7
+ * @enum {number}
8
+ */
9
+ export declare enum EditorRegisterConst {
10
+ /**
11
+ * 编辑器注册器类型前缀
12
+ */
13
+ PREFIX = "EDITOR___"
14
+ }
@@ -0,0 +1,6 @@
1
+ var EditorRegisterConst = /* @__PURE__ */ ((EditorRegisterConst2) => {
2
+ EditorRegisterConst2["PREFIX"] = "EDITOR___";
3
+ return EditorRegisterConst2;
4
+ })(EditorRegisterConst || {});
5
+
6
+ export { EditorRegisterConst };
@@ -0,0 +1,130 @@
1
+ /**
2
+ * 编辑器类型
3
+ *
4
+ * @author zhanghanrui
5
+ * @date 2024-03-27 10:03:19
6
+ * @export
7
+ * @enum {number}
8
+ */
9
+ export declare enum EditorType {
10
+ /**
11
+ * 带单位长度字符串编辑器
12
+ */
13
+ LENGTH_UNIT = "length-unit",
14
+ /**
15
+ * 颜色选择编辑器
16
+ */
17
+ COLOR = "color",
18
+ /**
19
+ * 纯文本展示编辑器
20
+ */
21
+ SPAN = "span",
22
+ /**
23
+ * 文本编辑器
24
+ */
25
+ TEXT = "text",
26
+ /**
27
+ * 数值编辑器
28
+ */
29
+ NUMBER = "number",
30
+ /**
31
+ * 纯信息呈现
32
+ */
33
+ INFO = "info",
34
+ /**
35
+ * 根据模型或者字段进行的纯信息展示
36
+ */
37
+ MSG = "msg",
38
+ /**
39
+ * 下拉选择编辑器
40
+ */
41
+ SELECT = "select",
42
+ /**
43
+ * 分组下拉选择编辑器
44
+ */
45
+ SELECT_GROUP = "select-group",
46
+ /**
47
+ * 单选框编辑器
48
+ */
49
+ RADIO = "radio",
50
+ /**
51
+ * 数据选择器编辑器
52
+ */
53
+ PICKER = "picker",
54
+ /**
55
+ * 数据选择多选编辑器
56
+ */
57
+ MULTIPLE_CHOICE = "multiple-choice",
58
+ /**
59
+ * 多语言选择编辑器
60
+ */
61
+ I18N = "i18n",
62
+ /**
63
+ * 多行文本编辑器
64
+ */
65
+ TEXTAREA = "textarea",
66
+ /**
67
+ * 日期时间范围选择编辑器
68
+ */
69
+ DATE_RANGE = "date-range",
70
+ /**
71
+ * 开关组件
72
+ */
73
+ SWITCH = "switch",
74
+ /**
75
+ * 选框类型开关
76
+ */
77
+ CHECK_SWITCH = "check-switch",
78
+ /**
79
+ * 图标选择
80
+ */
81
+ ICON_SELECT = "icon-select",
82
+ /**
83
+ * 复选框
84
+ */
85
+ CHECKBOX = "checkbox",
86
+ /**
87
+ * 日期
88
+ */
89
+ DATE = "date",
90
+ /**
91
+ * 平台模型选择
92
+ */
93
+ MODEL_SELECT = "model-select",
94
+ /**
95
+ * 按钮行为
96
+ */
97
+ ACTION = "action",
98
+ /**
99
+ * 表格编辑器
100
+ */
101
+ TABLE = "table",
102
+ /**
103
+ * 表格选择编辑器
104
+ */
105
+ SELECT_TABLE = "select-table",
106
+ /**
107
+ * 空显示
108
+ */
109
+ EMPTY = "empty",
110
+ /**
111
+ * 表单模型字段选择编辑器
112
+ */
113
+ FORM_MODEL_FIELD_SELECT = "form-model-field-select",
114
+ /**
115
+ * 像素模式配置
116
+ */
117
+ PIXEL_CONFIG = "pixel-config",
118
+ /**
119
+ * 界面配置中,属性配置的基本信息
120
+ */
121
+ FIELD_INFO = "field-info",
122
+ /**
123
+ * 日期与日期时间类型的格式化选择编辑器
124
+ */
125
+ DATE_FORMAT_SELECT = "date-format-select",
126
+ /**
127
+ * 公式编辑器
128
+ */
129
+ FORMULA = "formula"
130
+ }
@@ -0,0 +1,35 @@
1
+ var EditorType = /* @__PURE__ */ ((EditorType2) => {
2
+ EditorType2["LENGTH_UNIT"] = "length-unit";
3
+ EditorType2["COLOR"] = "color";
4
+ EditorType2["SPAN"] = "span";
5
+ EditorType2["TEXT"] = "text";
6
+ EditorType2["NUMBER"] = "number";
7
+ EditorType2["INFO"] = "info";
8
+ EditorType2["MSG"] = "msg";
9
+ EditorType2["SELECT"] = "select";
10
+ EditorType2["SELECT_GROUP"] = "select-group";
11
+ EditorType2["RADIO"] = "radio";
12
+ EditorType2["PICKER"] = "picker";
13
+ EditorType2["MULTIPLE_CHOICE"] = "multiple-choice";
14
+ EditorType2["I18N"] = "i18n";
15
+ EditorType2["TEXTAREA"] = "textarea";
16
+ EditorType2["DATE_RANGE"] = "date-range";
17
+ EditorType2["SWITCH"] = "switch";
18
+ EditorType2["CHECK_SWITCH"] = "check-switch";
19
+ EditorType2["ICON_SELECT"] = "icon-select";
20
+ EditorType2["CHECKBOX"] = "checkbox";
21
+ EditorType2["DATE"] = "date";
22
+ EditorType2["MODEL_SELECT"] = "model-select";
23
+ EditorType2["ACTION"] = "action";
24
+ EditorType2["TABLE"] = "table";
25
+ EditorType2["SELECT_TABLE"] = "select-table";
26
+ EditorType2["EMPTY"] = "empty";
27
+ EditorType2["FORM_MODEL_FIELD_SELECT"] = "form-model-field-select";
28
+ EditorType2["PIXEL_CONFIG"] = "pixel-config";
29
+ EditorType2["FIELD_INFO"] = "field-info";
30
+ EditorType2["DATE_FORMAT_SELECT"] = "date-format-select";
31
+ EditorType2["FORMULA"] = "formula";
32
+ return EditorType2;
33
+ })(EditorType || {});
34
+
35
+ export { EditorType };
@@ -0,0 +1,3 @@
1
+ export { EditorRegisterConst } from './editor-register/editor-register';
2
+ export { EditorType } from './editor-type/editor-type';
3
+ export declare const FORM_CONTROLLER_INJECT_TAG = "formController";
@@ -0,0 +1,3 @@
1
+ const FORM_CONTROLLER_INJECT_TAG = "formController";
2
+
3
+ export { FORM_CONTROLLER_INJECT_TAG };
@@ -0,0 +1,42 @@
1
+ import { IEditForm, IEditFormController, IFormEvent, IFormItemBasic, IFormItemBasicController, IFormItemBasicState, IFormItemProvider, IFormState } from '../../interface';
2
+ import { GctFormController } from '../gct-form/gct-form.controller';
3
+ import { QXEvent } from 'qx-util';
4
+ /**
5
+ * 编辑表单控制器
6
+ *
7
+ * @author zhanghanrui
8
+ * @date 2024-04-01 18:04:45
9
+ * @export
10
+ * @class EditFormController
11
+ * @extends {GctFormController}
12
+ * @implements {IEditFormController}
13
+ */
14
+ export declare class EditFormController extends GctFormController implements IEditFormController {
15
+ evt: QXEvent<IFormEvent>;
16
+ state: IFormState;
17
+ item: Record<string, IFormItemBasicController<IFormItemBasic, IFormItemBasicState>>;
18
+ provider: Record<string, IFormItemProvider>;
19
+ context: IParams;
20
+ params: IParams;
21
+ getData(): IData;
22
+ resetData(): void;
23
+ load(): Promise<IData>;
24
+ loaded(): void;
25
+ destroy(): void;
26
+ validate(): Promise<boolean>;
27
+ validateItem(_key: string): Promise<boolean>;
28
+ mounted(): void;
29
+ model: IEditForm;
30
+ protected initEvent(): void;
31
+ save(): Promise<IData>;
32
+ }
33
+ /**
34
+ * 获取编辑表单控制器实例
35
+ *
36
+ * @author zhanghanrui
37
+ * @date 2024-04-01 18:04:13
38
+ * @export
39
+ * @param {IEditForm} model
40
+ * @return {*} {EditFormController}
41
+ */
42
+ export declare function useEditFormController(fn: () => EditFormController): EditFormController;
@@ -0,0 +1,72 @@
1
+ import { reactive, onUnmounted } from 'vue';
2
+ import { GctFormController } from '../gct-form/gct-form.controller.mjs';
3
+
4
+ class EditFormController extends GctFormController {
5
+ getData() {
6
+ throw new Error("Method not implemented.");
7
+ }
8
+ resetData() {
9
+ throw new Error("Method not implemented.");
10
+ }
11
+ load() {
12
+ throw new Error("Method not implemented.");
13
+ }
14
+ loaded() {
15
+ throw new Error("Method not implemented.");
16
+ }
17
+ destroy() {
18
+ throw new Error("Method not implemented.");
19
+ }
20
+ validate() {
21
+ throw new Error("Method not implemented.");
22
+ }
23
+ validateItem(_key) {
24
+ throw new Error("Method not implemented.");
25
+ }
26
+ mounted() {
27
+ throw new Error("Method not implemented.");
28
+ }
29
+ initEvent() {
30
+ super.initEvent();
31
+ this.evt.on("change", (key, val, oldVal) => {
32
+ if (this.model.watch) {
33
+ const fun = this.model.watch[key];
34
+ if (fun) {
35
+ fun(this, val, oldVal);
36
+ }
37
+ }
38
+ const item = this.item[key];
39
+ if (item && item.model.watch) {
40
+ item.model.watch(this, item, val, oldVal);
41
+ }
42
+ if (item && item.model.change) {
43
+ item.model.change(
44
+ this,
45
+ item,
46
+ this.state.data
47
+ );
48
+ }
49
+ if (val != oldVal) {
50
+ this.calcHidden();
51
+ }
52
+ });
53
+ }
54
+ save() {
55
+ const data = this.getData();
56
+ if (this.state.isNew === true && this.model.newRequest) {
57
+ return this.model.newRequest(data);
58
+ }
59
+ if (this.model.updateRequest) {
60
+ return this.model.updateRequest({ id: this.context.id }, data);
61
+ }
62
+ return Promise.resolve(data);
63
+ }
64
+ }
65
+ function useEditFormController(fn) {
66
+ const c = fn();
67
+ c.state = reactive(c.state);
68
+ onUnmounted(() => c.destroy());
69
+ return c;
70
+ }
71
+
72
+ export { EditFormController, useEditFormController };
@@ -0,0 +1,15 @@
1
+ import { IEditorBasic, IEditorController } from '../../interface';
2
+ /**
3
+ * 编辑器控制器
4
+ *
5
+ * @author zhanghanrui
6
+ * @date 2024-04-02 13:04:55
7
+ * @export
8
+ * @class EditorController
9
+ * @implements {IEditorController}
10
+ */
11
+ export declare class EditorController<M extends IEditorBasic = IEditorBasic> implements IEditorController<M> {
12
+ model: M;
13
+ options: IObject[];
14
+ constructor(model: M);
15
+ }
@@ -0,0 +1,23 @@
1
+ class EditorController {
2
+ model;
3
+ options = [];
4
+ constructor(model) {
5
+ this.model = model;
6
+ }
7
+ // protected init(): void {
8
+ // if (this.model.codeList) {
9
+ // if (this.model.codeList.mode === 'static' && this.model.codeList.items) {
10
+ // this.options = this.model.codeList.items;
11
+ // }
12
+ // } else if (this.model.codeTag) {
13
+ // const cfg = _gct.dictionary.getConfig(this.model.codeTag);
14
+ // if (cfg) {
15
+ // if (cfg.mode === 'static') {
16
+ // this.options = _gct.dictionary.get(this.model.codeTag);
17
+ // }
18
+ // }
19
+ // }
20
+ // }
21
+ }
22
+
23
+ export { EditorController };
@@ -0,0 +1,68 @@
1
+ import { IForm, IFormState, IFormController, IFormItemBasic, IFormItemProvider, IFormItemBasicController, IFormEvent } from '../../interface';
2
+ import { QXEvent } from 'qx-util';
3
+ /**
4
+ * 表单控制器
5
+ *
6
+ * @author zhanghanrui
7
+ * @date 2024-03-27 09:03:56
8
+ * @export
9
+ * @class FormController
10
+ */
11
+ export declare class FormController {
12
+ readonly model: IForm;
13
+ readonly evt: QXEvent<IFormEvent>;
14
+ state: IFormState;
15
+ item: Record<string, IFormItemBasicController>;
16
+ provider: Record<string, IFormItemProvider>;
17
+ constructor(model: IForm);
18
+ /**
19
+ * 表单初始化
20
+ *
21
+ * @author zhanghanrui
22
+ * @date 2024-04-01 13:04:27
23
+ * @protected
24
+ */
25
+ protected init(): void;
26
+ /**
27
+ * 初始化表单事件订阅相关
28
+ *
29
+ * @author zhanghanrui
30
+ * @date 2024-04-02 14:04:31
31
+ * @protected
32
+ */
33
+ protected initEvent(): void;
34
+ /**
35
+ * 初始化表单项控制器
36
+ *
37
+ * @author zhanghanrui
38
+ * @date 2024-04-01 13:04:38
39
+ * @protected
40
+ * @param {IFormItemBasic[]} models
41
+ */
42
+ protected initFormItems(models: IFormItemBasic[]): void;
43
+ /**
44
+ * 获取当前表单数据
45
+ *
46
+ * @author zhanghanrui
47
+ * @date 2024-03-27 18:03:33
48
+ * @return {*} {IData}
49
+ */
50
+ getData(): IData;
51
+ /**
52
+ * 重置表单数据
53
+ *
54
+ * @author zhanghanrui
55
+ * @date 2024-03-27 18:03:09
56
+ */
57
+ resetData(): void;
58
+ }
59
+ /**
60
+ * 获取表单控制器实例
61
+ *
62
+ * @author zhanghanrui
63
+ * @date 2024-03-27 10:03:30
64
+ * @export
65
+ * @param {IForm} model
66
+ * @return {*} {FormController}
67
+ */
68
+ export declare function useFormController(model: IForm): IFormController;
@@ -0,0 +1,18 @@
1
+ import { IFormCollapse, IFormCollapseController, IFormCollapseState } from '../../interface';
2
+ import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller';
3
+ /**
4
+ * 表单折叠面板控制器
5
+ *
6
+ * @author lxm
7
+ * @date 2024-07-15 09:07:23
8
+ * @export
9
+ * @class FormCollapseController
10
+ * @extends {FormItemBasicController}
11
+ * @implements {IFormCollapseController}
12
+ */
13
+ export declare class FormCollapseController extends FormItemBasicController implements IFormCollapseController {
14
+ readonly type = "collapse";
15
+ model: IFormCollapse;
16
+ state: IFormCollapseState;
17
+ protected crateItemState(): IFormCollapseState;
18
+ }
@@ -0,0 +1,11 @@
1
+ import { FormCollapseState } from '../../state/form-collapse/form-collapse.state.mjs';
2
+ import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
3
+
4
+ class FormCollapseController extends FormItemBasicController {
5
+ type = "collapse";
6
+ crateItemState() {
7
+ return new FormCollapseState();
8
+ }
9
+ }
10
+
11
+ export { FormCollapseController };
@@ -0,0 +1,18 @@
1
+ import { IFormCollapsePane, IFormCollapsePaneController, IFormCollapsePaneState } from '../../interface';
2
+ import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller';
3
+ /**
4
+ * 表单折叠面板项控制器
5
+ *
6
+ * @author lxm
7
+ * @date 2024-07-15 09:07:23
8
+ * @export
9
+ * @class FormCollapsePaneController
10
+ * @extends {FormItemBasicController}
11
+ * @implements {IFormCollapsePaneController}
12
+ */
13
+ export declare class FormCollapsePaneController extends FormItemBasicController implements IFormCollapsePaneController {
14
+ readonly type = "collapse-pane";
15
+ model: IFormCollapsePane;
16
+ state: IFormCollapsePaneState;
17
+ protected crateItemState(): IFormCollapsePaneState;
18
+ }
@@ -0,0 +1,11 @@
1
+ import { FormCollapsePaneState } from '../../state/form-collapse-pane/form-collapse-pane.state.mjs';
2
+ import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
3
+
4
+ class FormCollapsePaneController extends FormItemBasicController {
5
+ type = "collapse-pane";
6
+ crateItemState() {
7
+ return new FormCollapsePaneState();
8
+ }
9
+ }
10
+
11
+ export { FormCollapsePaneController };