@ibiz-template/vue3-components 0.7.38-alpha.56 → 0.7.40-alpha.9

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 (493) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +321 -0
  3. package/dist/ibiz-markdown-editor-D4ESf3bP.js +1 -0
  4. package/dist/index--C432Qzt.js +4 -0
  5. package/dist/index-CmaF1QyJ.js +1 -0
  6. package/dist/index-frsL8WmS.js +1 -0
  7. package/dist/index.min.css +1 -1
  8. package/dist/index.system.min.js +1 -1
  9. package/dist/map-chart-user-CILGy9I4.js +1 -0
  10. package/dist/wang-editor-ZtYMqlXx.js +1 -0
  11. package/dist/{xlsx-util-BApCDhEk.js → xlsx-util-CKS7oyKo.js} +1 -1
  12. package/es/common/action-toolbar/action-toolbar.d.ts +1 -1
  13. package/es/common/action-toolbar/action-toolbar.mjs +14 -8
  14. package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +9 -9
  15. package/es/common/anchor-container/anchor-container.d.ts +12 -12
  16. package/es/common/button-list/button-list.d.ts +5 -5
  17. package/es/common/button-list/button-list.mjs +53 -41
  18. package/es/common/carousel/carousel.d.ts +1 -1
  19. package/es/common/carousel-card/carousel-card.d.ts +3 -3
  20. package/es/common/control-navigation/control-navigation.mjs +7 -1
  21. package/es/common/control-navigation/provider/navigation-base.provider.mjs +5 -2
  22. package/es/common/cropping/cropping.d.ts +3 -3
  23. package/es/common/custom-filter-condition/custom-filter-condition.d.ts +12 -12
  24. package/es/common/data-import/data-import.d.ts +4 -4
  25. package/es/common/data-import2/data-import2.d.ts +5 -5
  26. package/es/common/data-import2-select/data-import2-select.d.ts +2 -2
  27. package/es/common/data-import2-table/data-import2-table.d.ts +2 -2
  28. package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
  29. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
  30. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
  31. package/es/common/emoji-select/emoji-select.d.ts +3 -3
  32. package/es/common/extend-action-timeline/extend-action-timeline.d.ts +3 -3
  33. package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
  34. package/es/common/map-chart-user/map-user-manager.mjs +1 -1
  35. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +4 -4
  36. package/es/common/pql-editor/pql-editor.d.ts +4 -4
  37. package/es/common/quick-edit/quick-edit.d.ts +15 -5
  38. package/es/common/quick-edit/quick-edit.mjs +27 -7
  39. package/es/common/rawitem/rawitem.css +1 -1
  40. package/es/common/rawitem/rawitem.d.ts +2 -2
  41. package/es/common/rawitem/rawitem.mjs +4 -3
  42. package/es/common/view-message/view-message.d.ts +6 -6
  43. package/es/common/view-message/view-message.mjs +6 -4
  44. package/es/control/app-menu/app-menu.css +1 -1
  45. package/es/control/app-menu/app-menu.d.ts +8 -8
  46. package/es/control/app-menu/app-menu.mjs +8 -4
  47. package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
  48. package/es/control/app-menu/index.d.ts +9 -9
  49. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
  50. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  51. package/es/control/calendar/calendar.d.ts +7 -7
  52. package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
  53. package/es/control/calendar/components/calendar-daily/index.d.ts +6 -6
  54. package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +1 -1
  55. package/es/control/calendar/components/calendar-user/calendar-user.d.ts +6 -6
  56. package/es/control/calendar/components/calendar-user/index.d.ts +6 -6
  57. package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -6
  58. package/es/control/calendar/components/calendar-week/index.d.ts +6 -6
  59. package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +4 -4
  60. package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +6 -6
  61. package/es/control/calendar/components/custom-calendar/index.d.ts +6 -6
  62. package/es/control/calendar/components/interface/calendar-daily.d.ts +3 -3
  63. package/es/control/calendar/components/interface/calendar-user.d.ts +3 -3
  64. package/es/control/calendar/components/interface/calendar-week.d.ts +3 -3
  65. package/es/control/calendar/components/interface/custom-calendar.d.ts +3 -3
  66. package/es/control/calendar/components/util/util.d.ts +2 -2
  67. package/es/control/calendar/index.d.ts +8 -8
  68. package/es/control/caption-bar/caption-bar.d.ts +5 -5
  69. package/es/control/caption-bar/index.d.ts +5 -5
  70. package/es/control/chart/chart.d.ts +13 -13
  71. package/es/control/context-menu/context-menu.css +1 -1
  72. package/es/control/context-menu/context-menu.d.ts +8 -6
  73. package/es/control/context-menu/context-menu.mjs +24 -9
  74. package/es/control/context-menu/index.d.ts +8 -6
  75. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21357
  76. package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
  77. package/es/control/dashboard/dashboard.d.ts +6 -6
  78. package/es/control/dashboard/index.d.ts +7 -7
  79. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +6 -6
  80. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +6 -6
  81. package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.d.ts +5 -5
  82. package/es/control/data-view/data-view.css +1 -1
  83. package/es/control/data-view/data-view.d.ts +14 -14
  84. package/es/control/data-view/data-view.mjs +73 -87
  85. package/es/control/data-view/index.d.ts +14 -14
  86. package/es/control/drbar/drbar.d.ts +5 -5
  87. package/es/control/drbar/index.d.ts +5 -5
  88. package/es/control/drtab/drtab-control.util.mjs +1 -1
  89. package/es/control/drtab/drtab.d.ts +8 -8
  90. package/es/control/drtab/index.d.ts +8 -8
  91. package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +5 -5
  92. package/es/control/exp-bar/calendar-exp-bar/index.d.ts +5 -5
  93. package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.d.ts +5 -5
  94. package/es/control/exp-bar/chart-exp-bar/index.d.ts +5 -5
  95. package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.d.ts +5 -5
  96. package/es/control/exp-bar/data-view-exp-bar/index.d.ts +5 -5
  97. package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.d.ts +5 -5
  98. package/es/control/exp-bar/grid-exp-bar/index.d.ts +5 -5
  99. package/es/control/exp-bar/list-exp-bar/index.d.ts +5 -5
  100. package/es/control/exp-bar/list-exp-bar/list-exp-bar.d.ts +5 -5
  101. package/es/control/exp-bar/tree-exp-bar/index.d.ts +5 -5
  102. package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.d.ts +5 -5
  103. package/es/control/form/edit-form/edit-form.css +1 -0
  104. package/es/control/form/edit-form/edit-form.d.ts +3 -76
  105. package/es/control/form/edit-form/edit-form.mjs +27 -5
  106. package/es/control/form/edit-form/index.d.ts +2 -73
  107. package/es/control/form/form/form.css +1 -1
  108. package/es/control/form/form/form.d.ts +1 -1
  109. package/es/control/form/form/form.mjs +1 -1
  110. package/es/control/form/form/index.d.ts +1 -1
  111. package/es/control/form/form-detail/form-button/form-button.mjs +4 -1
  112. package/es/control/form/form-detail/form-button-list/form-button-list.d.ts +1 -1
  113. package/es/control/form/form-detail/form-button-list/form-button-list.mjs +7 -3
  114. package/es/control/form/form-detail/form-button-list/index.d.ts +1 -1
  115. package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  116. package/es/control/form/form-detail/form-druipart/form-druipart.d.ts +1 -0
  117. package/es/control/form/form-detail/form-druipart/form-druipart.mjs +11 -1
  118. package/es/control/form/form-detail/form-druipart/index.d.ts +1 -0
  119. package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +2 -2
  120. package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.mjs +12 -13
  121. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  122. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +7 -101
  123. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +65 -92
  124. package/es/control/form/form-detail/form-item/form-item.d.ts +5 -5
  125. package/es/control/form/form-detail/form-item/form-item.mjs +32 -44
  126. package/es/control/form/form-detail/form-item/index.d.ts +4 -4
  127. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +12 -14
  128. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +20890 -10610
  129. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  130. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
  131. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
  132. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
  133. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +10 -0
  134. package/es/control/form/form-detail/form-mdctrl/index.d.ts +1 -0
  135. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
  136. package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.d.ts +4 -4
  137. package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  138. package/es/control/form/form-detail/form-rawitem/form-rawitem.d.ts +2 -0
  139. package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +134 -2
  140. package/es/control/form/form-detail/form-rawitem/index.d.ts +2 -0
  141. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.d.ts +1 -1
  142. package/es/control/form/form-detail/form-tab-panel/index.d.ts +2 -2
  143. package/es/control/form/search-form/index.d.ts +13 -5
  144. package/es/control/form/search-form/search-form.d.ts +13 -5
  145. package/es/control/form/search-form/search-form.mjs +22 -2
  146. package/es/control/gantt/gantt.d.ts +7 -7
  147. package/es/control/gantt/index.d.ts +8 -8
  148. package/es/control/grid/grid/grid-control.util.mjs +18 -11
  149. package/es/control/grid/grid/grid.d.ts +29 -29
  150. package/es/control/grid/grid/grid.mjs +9 -1
  151. package/es/control/grid/grid/index.d.ts +29 -29
  152. package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +4 -4
  153. package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +4 -4
  154. package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  155. package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -1
  156. package/es/control/grid/grid-column/grid-field-column/index.d.ts +2 -2
  157. package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.d.ts +1 -1
  158. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +4 -4
  159. package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +4 -4
  160. package/es/control/kanban/index.d.ts +5 -5
  161. package/es/control/kanban/kanban.d.ts +5 -5
  162. package/es/control/list/index.d.ts +14 -14
  163. package/es/control/list/list.css +1 -1
  164. package/es/control/list/list.d.ts +14 -14
  165. package/es/control/list/list.mjs +64 -58
  166. package/es/control/map/map.d.ts +5 -5
  167. package/es/control/medit-view-panel/index.d.ts +5 -5
  168. package/es/control/medit-view-panel/medit-view-panel.d.ts +5 -5
  169. package/es/control/pickup-view-panel/index.d.ts +5 -5
  170. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +5 -5
  171. package/es/control/report-panel/report-panel.d.ts +5 -5
  172. package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
  173. package/es/control/search-bar/index.d.ts +5 -5
  174. package/es/control/search-bar/search-bar.d.ts +5 -5
  175. package/es/control/search-bar/search-groups/search-groups.d.ts +6 -6
  176. package/es/control/tab-exp-panel/index.d.ts +5 -5
  177. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +5 -5
  178. package/es/control/toolbar/export-excel/export-excel.mjs +9 -5
  179. package/es/control/toolbar/index.d.ts +6 -6
  180. package/es/control/toolbar/short-cut-button/short-cut-button.mjs +4 -3
  181. package/es/control/toolbar/toolbar.css +1 -1
  182. package/es/control/toolbar/toolbar.d.ts +5 -5
  183. package/es/control/toolbar/toolbar.mjs +23 -19
  184. package/es/control/tree/index.d.ts +14 -14
  185. package/es/control/tree/tree.css +1 -1
  186. package/es/control/tree/tree.d.ts +26 -26
  187. package/es/control/tree/tree.mjs +5 -0
  188. package/es/control/tree-grid/index.d.ts +24 -24
  189. package/es/control/tree-grid/tree-grid.d.ts +23 -23
  190. package/es/control/tree-grid-ex/index.d.ts +11 -11
  191. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +2 -2
  192. package/es/control/tree-grid-ex/tree-grid-ex.d.ts +7 -7
  193. package/es/control/wizard-panel/index.d.ts +5 -5
  194. package/es/control/wizard-panel/wizard-panel.css +1 -1
  195. package/es/control/wizard-panel/wizard-panel.d.ts +5 -5
  196. package/es/editor/array/ibiz-array/ibiz-array.d.ts +9 -9
  197. package/es/editor/autocomplete/autocomplete-editor.controller.mjs +3 -0
  198. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +9 -9
  199. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -0
  200. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +8 -8
  201. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +14 -14
  202. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +1 -2
  203. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +8 -8
  204. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +9 -9
  205. package/es/editor/code/code-editor.controller.d.ts +16 -1
  206. package/es/editor/code/code-editor.controller.mjs +34 -1
  207. package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
  208. package/es/editor/code/monaco-editor/monaco-editor.d.ts +10 -9
  209. package/es/editor/code/monaco-editor/monaco-editor.mjs +310 -13
  210. package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +1 -1
  211. package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +1 -1
  212. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +14 -10
  213. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +10 -10
  214. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +9 -9
  215. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -0
  216. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
  217. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +10 -9
  218. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +9 -3
  219. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +9 -9
  220. package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +8 -8
  221. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +12 -12
  222. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +5 -1
  223. package/es/editor/data-picker/picker-editor.controller.mjs +5 -1
  224. package/es/editor/data-picker/picker-editor.provider.mjs +2 -0
  225. package/es/editor/date-picker/date-picker-editor.controller.mjs +7 -0
  226. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +8 -8
  227. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +7 -0
  228. package/es/editor/date-range/date-range-editor.controller.mjs +2 -0
  229. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +8 -8
  230. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +2 -0
  231. package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +4 -4
  232. package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +1 -1
  233. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +11 -11
  234. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -7
  235. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +8 -8
  236. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +11 -11
  237. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +2 -4
  238. package/es/editor/html/html-editor.controller.mjs +1 -1
  239. package/es/editor/html/wang-editor/wang-editor.d.ts +8 -8
  240. package/es/editor/html/wang-editor/wang-editor.mjs +192 -58
  241. package/es/editor/index.mjs +80 -0
  242. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +9 -9
  243. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  244. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +132 -16
  245. package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
  246. package/es/editor/not-supported-editor/not-supported-editor.d.ts +7 -0
  247. package/es/editor/not-supported-editor/not-supported-editor.mjs +15 -2
  248. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +8 -8
  249. package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +8 -8
  250. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  251. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +9 -9
  252. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +9 -3
  253. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +10 -10
  254. package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  255. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +9 -8
  256. package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
  257. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +8 -8
  258. package/es/editor/span/span/span.d.ts +3 -3
  259. package/es/editor/span/span-link/span-link.d.ts +8 -8
  260. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +8 -8
  261. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +9 -9
  262. package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +8 -8
  263. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +8 -8
  264. package/es/editor/text-box/input/input.d.ts +10 -10
  265. package/es/editor/text-box/input/input.mjs +194 -61
  266. package/es/editor/text-box/text-box-editor.controller.mjs +2 -2
  267. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +13 -13
  268. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +15 -15
  269. package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +8 -8
  270. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +13 -13
  271. package/es/editor/upload/upload-editor.controller.mjs +7 -3
  272. package/es/editor/upload/upload-editor.provider.mjs +3 -0
  273. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +8 -8
  274. package/es/index.mjs +45 -0
  275. package/es/locale/en/index.d.ts +32 -0
  276. package/es/locale/en/index.mjs +28 -4
  277. package/es/locale/zh-CN/index.d.ts +32 -0
  278. package/es/locale/zh-CN/index.mjs +28 -4
  279. package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.57_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40-alpha.7_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +53 -81
  280. package/es/panel-component/coop-pos/coop-pos.d.ts +1 -1
  281. package/es/panel-component/coop-pos/index.d.ts +2 -2
  282. package/es/panel-component/global-search/global-search.controller.d.ts +113 -0
  283. package/es/panel-component/global-search/global-search.controller.mjs +221 -0
  284. package/es/panel-component/global-search/global-search.css +1 -0
  285. package/es/panel-component/global-search/global-search.d.ts +36 -0
  286. package/es/panel-component/global-search/global-search.mjs +194 -0
  287. package/es/panel-component/global-search/global-search.provider.d.ts +14 -0
  288. package/es/panel-component/global-search/global-search.provider.mjs +21 -0
  289. package/es/panel-component/global-search/global-search.state.d.ts +61 -0
  290. package/es/panel-component/global-search/global-search.state.mjs +37 -0
  291. package/es/panel-component/global-search/index.d.ts +33 -0
  292. package/es/panel-component/global-search/index.mjs +15 -0
  293. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
  294. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +78 -0
  295. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  296. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +26 -0
  297. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +74 -0
  298. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
  299. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
  300. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
  301. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
  302. package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
  303. package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
  304. package/es/panel-component/index.mjs +4 -0
  305. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +5 -1
  306. package/es/panel-component/panel-app-title/index.d.ts +1 -0
  307. package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
  308. package/es/panel-component/panel-app-title/panel-app-title.d.ts +1 -0
  309. package/es/panel-component/panel-app-title/panel-app-title.mjs +45 -21
  310. package/es/panel-component/panel-button/index.d.ts +1 -1
  311. package/es/panel-component/panel-button/panel-button.d.ts +1 -1
  312. package/es/panel-component/panel-button/panel-button.mjs +7 -20
  313. package/es/panel-component/panel-button-list/index.d.ts +1 -1
  314. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +13 -4
  315. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +27 -7
  316. package/es/panel-component/panel-button-list/panel-button-list.d.ts +1 -1
  317. package/es/panel-component/panel-button-list/panel-button-list.mjs +3 -3
  318. package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
  319. package/es/panel-component/searchform-buttons/searchform-buttons.mjs +5 -0
  320. package/es/panel-component/short-cut/index.d.ts +2 -2
  321. package/es/panel-component/short-cut/short-cut.d.ts +1 -1
  322. package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +2 -2
  323. package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +1 -1
  324. package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +1 -1
  325. package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.d.ts +1 -1
  326. package/es/panel-component/user-message/user-message.css +1 -1
  327. package/es/panel-component/user-message/user-message.mjs +3 -1
  328. package/es/util/ai-util/ai-util.d.ts +25 -0
  329. package/es/util/ai-util/ai-util.mjs +44 -0
  330. package/es/util/app-modal/app-modal-component.d.ts +1 -1
  331. package/es/util/app-util/app-util.d.ts +10 -1
  332. package/es/util/app-util/app-util.mjs +281 -0
  333. package/es/util/button-util/button-util.d.ts +7 -0
  334. package/es/util/button-util/button-util.mjs +11 -0
  335. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  336. package/es/util/index.d.ts +2 -0
  337. package/es/util/index.mjs +2 -0
  338. package/es/util/notice-util/notice-util.mjs +2 -1
  339. package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
  340. package/es/util/open-view-util/open-view-util.d.ts +41 -14
  341. package/es/util/open-view-util/open-view-util.mjs +69 -15
  342. package/es/view/403-view/403-view.css +1 -1
  343. package/es/view/404-view/404-view.css +1 -1
  344. package/es/view/share-view/share-view.d.ts +1 -1
  345. package/es/view/sub-app-ref-view/index.d.ts +7 -7
  346. package/es/view/sub-app-ref-view/sub-app-ref-view.d.ts +7 -7
  347. package/es/view/wf-step-trace-view/index.d.ts +7 -7
  348. package/es/view/wf-step-trace-view/wf-step-trace-view.d.ts +7 -7
  349. package/es/view-engine/custom-view.engine.d.ts +31 -2
  350. package/es/view-engine/custom-view.engine.mjs +75 -1
  351. package/es/view-engine/edit-view.engine.d.ts +1 -2
  352. package/es/view-engine/edit-view.engine.mjs +6 -27
  353. package/es/view-engine/index.d.ts +43 -0
  354. package/es/view-engine/index.mjs +2 -1
  355. package/es/view-engine/portal-view-engine.d.ts +8 -0
  356. package/es/view-engine/portal-view-engine.mjs +14 -26
  357. package/es/web-app/App.mjs +2 -0
  358. package/es/web-app/attach-environment-config.mjs +1 -1
  359. package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
  360. package/es/web-app/guard/auth-guard/auth-guard.mjs +5 -0
  361. package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
  362. package/es/web-app/main.mjs +1 -1
  363. package/lib/common/action-toolbar/action-toolbar.cjs +13 -7
  364. package/lib/common/button-list/button-list.cjs +53 -41
  365. package/lib/common/control-navigation/control-navigation.cjs +7 -1
  366. package/lib/common/control-navigation/provider/navigation-base.provider.cjs +5 -2
  367. package/lib/common/map-chart-user/map-user-manager.cjs +1 -1
  368. package/lib/common/quick-edit/quick-edit.cjs +26 -6
  369. package/lib/common/rawitem/rawitem.cjs +4 -3
  370. package/lib/common/rawitem/rawitem.css +1 -1
  371. package/lib/common/view-message/view-message.cjs +6 -4
  372. package/lib/control/app-menu/app-menu.cjs +8 -4
  373. package/lib/control/app-menu/app-menu.css +1 -1
  374. package/lib/control/context-menu/context-menu.cjs +23 -8
  375. package/lib/control/context-menu/context-menu.css +1 -1
  376. package/lib/control/data-view/data-view.cjs +73 -87
  377. package/lib/control/data-view/data-view.css +1 -1
  378. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  379. package/lib/control/form/edit-form/edit-form.cjs +27 -5
  380. package/lib/control/form/edit-form/edit-form.css +1 -0
  381. package/lib/control/form/form/form.cjs +1 -1
  382. package/lib/control/form/form/form.css +1 -1
  383. package/lib/control/form/form-detail/form-button/form-button.cjs +4 -1
  384. package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +7 -3
  385. package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +10 -0
  386. package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  387. package/lib/control/form/form-detail/form-item/composite-form-item/composite-form-item.cjs +12 -13
  388. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +64 -91
  389. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  390. package/lib/control/form/form-detail/form-item/form-item.cjs +32 -44
  391. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +12 -14
  392. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +10 -0
  393. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
  394. package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +133 -1
  395. package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  396. package/lib/control/form/search-form/search-form.cjs +21 -1
  397. package/lib/control/grid/grid/grid-control.util.cjs +18 -11
  398. package/lib/control/grid/grid/grid.cjs +9 -1
  399. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  400. package/lib/control/list/list.cjs +64 -58
  401. package/lib/control/list/list.css +1 -1
  402. package/lib/control/toolbar/export-excel/export-excel.cjs +9 -5
  403. package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +4 -3
  404. package/lib/control/toolbar/toolbar.cjs +23 -19
  405. package/lib/control/toolbar/toolbar.css +1 -1
  406. package/lib/control/tree/tree.cjs +5 -0
  407. package/lib/control/tree/tree.css +1 -1
  408. package/lib/control/wizard-panel/wizard-panel.css +1 -1
  409. package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +3 -0
  410. package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -0
  411. package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +1 -2
  412. package/lib/editor/code/code-editor.controller.cjs +33 -0
  413. package/lib/editor/code/monaco-editor/monaco-editor.cjs +309 -12
  414. package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
  415. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -0
  416. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +8 -2
  417. package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
  418. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +5 -1
  419. package/lib/editor/data-picker/picker-editor.controller.cjs +5 -1
  420. package/lib/editor/data-picker/picker-editor.provider.cjs +2 -0
  421. package/lib/editor/date-picker/date-picker-editor.controller.cjs +7 -0
  422. package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +7 -0
  423. package/lib/editor/date-range/date-range-editor.controller.cjs +2 -0
  424. package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +2 -0
  425. package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +1 -1
  426. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -7
  427. package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +2 -4
  428. package/lib/editor/html/html-editor.controller.cjs +1 -1
  429. package/lib/editor/html/wang-editor/wang-editor.cjs +190 -56
  430. package/lib/editor/index.cjs +80 -0
  431. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +131 -15
  432. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
  433. package/lib/editor/not-supported-editor/not-supported-editor.cjs +15 -2
  434. package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
  435. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +9 -3
  436. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  437. package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +5 -1
  438. package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
  439. package/lib/editor/text-box/input/input.cjs +192 -59
  440. package/lib/editor/text-box/text-box-editor.controller.cjs +2 -2
  441. package/lib/editor/upload/upload-editor.controller.cjs +7 -3
  442. package/lib/editor/upload/upload-editor.provider.cjs +3 -0
  443. package/lib/index.cjs +90 -0
  444. package/lib/locale/en/index.cjs +28 -4
  445. package/lib/locale/zh-CN/index.cjs +28 -4
  446. package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.38-alpha.57_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.40-alpha.7_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +53 -81
  447. package/lib/panel-component/global-search/global-search.cjs +196 -0
  448. package/lib/panel-component/global-search/global-search.controller.cjs +223 -0
  449. package/lib/panel-component/global-search/global-search.css +1 -0
  450. package/lib/panel-component/global-search/global-search.provider.cjs +23 -0
  451. package/lib/panel-component/global-search/global-search.state.cjs +39 -0
  452. package/lib/panel-component/global-search/index.cjs +20 -0
  453. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +76 -0
  454. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +80 -0
  455. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
  456. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
  457. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
  458. package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
  459. package/lib/panel-component/index.cjs +42 -38
  460. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +5 -1
  461. package/lib/panel-component/panel-app-title/panel-app-title.cjs +45 -21
  462. package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
  463. package/lib/panel-component/panel-button/panel-button.cjs +7 -20
  464. package/lib/panel-component/panel-button-list/panel-button-list.cjs +3 -3
  465. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +27 -7
  466. package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +5 -0
  467. package/lib/panel-component/user-message/user-message.cjs +3 -1
  468. package/lib/panel-component/user-message/user-message.css +1 -1
  469. package/lib/util/ai-util/ai-util.cjs +46 -0
  470. package/lib/util/app-util/app-util.cjs +281 -0
  471. package/lib/util/button-util/button-util.cjs +13 -0
  472. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  473. package/lib/util/index.cjs +4 -0
  474. package/lib/util/notice-util/notice-util.cjs +2 -1
  475. package/lib/util/open-view-util/open-view-util.cjs +69 -15
  476. package/lib/view/403-view/403-view.css +1 -1
  477. package/lib/view/404-view/404-view.css +1 -1
  478. package/lib/view-engine/custom-view.engine.cjs +74 -0
  479. package/lib/view-engine/edit-view.engine.cjs +6 -27
  480. package/lib/view-engine/index.cjs +44 -0
  481. package/lib/view-engine/portal-view-engine.cjs +14 -26
  482. package/lib/web-app/App.cjs +2 -0
  483. package/lib/web-app/attach-environment-config.cjs +1 -1
  484. package/lib/web-app/guard/auth-guard/auth-guard.cjs +5 -0
  485. package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
  486. package/lib/web-app/main.cjs +1 -1
  487. package/package.json +16 -16
  488. package/dist/ibiz-markdown-editor-CKuF8KOI.js +0 -1
  489. package/dist/index-B79xJqXz.js +0 -1
  490. package/dist/index-BsxW9vZO.js +0 -1
  491. package/dist/index-CIQ8bnG_.js +0 -4
  492. package/dist/map-chart-user-BaQWHpFu.js +0 -1
  493. package/dist/wang-editor-Vd0LVyWx.js +0 -1
@@ -1,124 +1,97 @@
1
- import { defineComponent, ref, computed, createVNode, resolveComponent } from 'vue';
1
+ import { defineComponent, ref, watch, createVNode, resolveComponent } from 'vue';
2
2
  import { useNamespace, IBizIcon } from '@ibiz-template/vue3-util';
3
- import './form-item-container.css';
4
3
  import { showTitle } from '@ibiz-template/core';
4
+ import './form-item-container.css';
5
5
 
6
6
  "use strict";
7
7
  const IBizFormItemContainer = /* @__PURE__ */ defineComponent({
8
8
  name: "IBizFormItemContainer",
9
9
  props: {
10
- required: {
11
- type: Boolean,
12
- required: true
13
- },
14
- error: {
15
- type: String
16
- },
17
- label: {
18
- type: String
19
- },
20
- labelClass: {
21
- type: Array
22
- },
23
- labelPos: {
24
- type: String,
10
+ controller: {
11
+ type: Object,
25
12
  required: true
26
- },
27
- labelWidth: {
28
- type: Number,
29
- default: 130
30
- },
31
- enableInputTip: {
32
- type: Boolean
33
- },
34
- inputTip: {
35
- type: String
36
- },
37
- inputTipUrl: {
38
- type: String
39
- },
40
- inputTipClosable: {
41
- type: Boolean
42
- },
43
- labelSysImg: {
44
- type: Object
45
13
  }
46
14
  },
47
15
  setup(props) {
48
16
  const ns = useNamespace("form-item-container");
49
- const tooltip = ref();
50
- const cssVars = computed(() => {
51
- if (props.labelWidth !== 130) {
52
- return ns.cssVarBlock({
53
- "label-width": "".concat(props.labelWidth, "px")
54
- });
55
- }
56
- return {};
17
+ const c = props.controller;
18
+ const visible = ref(false);
19
+ const {
20
+ sysImage,
21
+ enableInputTip,
22
+ labelPos
23
+ } = c.model;
24
+ watch(() => visible.value, () => {
25
+ if (visible.value)
26
+ c.loadInputTip();
57
27
  });
58
- const hiddenTooltip = () => {
59
- if (tooltip.value) {
60
- tooltip.value.hide();
61
- }
28
+ const renderInputTip = () => {
29
+ return createVNode(resolveComponent("el-tooltip"), {
30
+ "effect": "light",
31
+ "visible": visible.value,
32
+ "onUpdate:visible": ($event) => visible.value = $event,
33
+ "popper-class": ns.e("popper"),
34
+ "disabled": !enableInputTip,
35
+ "placement": labelPos === "RIGHT" ? "right" : "left"
36
+ }, {
37
+ default: () => {
38
+ return createVNode("div", {
39
+ "class": [ns.em("label", "content"), ns.is("tooltip", enableInputTip)]
40
+ }, [enableInputTip && createVNode("ion-icon", {
41
+ "name": "bulb-outline",
42
+ "class": ns.em("label", "icon")
43
+ }, null), sysImage && createVNode(IBizIcon, {
44
+ "class": ns.em("label", "icon"),
45
+ "icon": sysImage
46
+ }, null), createVNode("div", {
47
+ "class": ns.em("label", "text")
48
+ }, [c.labelCaption])]);
49
+ },
50
+ content: () => {
51
+ return createVNode("div", {
52
+ "class": ns.em("popper", "content")
53
+ }, [createVNode("div", {
54
+ "class": ns.em("popper", "tooltip"),
55
+ "innerHTML": c.state.inputTip
56
+ }, null), c.state.inputTipUrl && createVNode("a", {
57
+ "target": "_blank",
58
+ "href": c.state.inputTipUrl,
59
+ "title": ibiz.i18n.t("component.formItemContainer.more")
60
+ }, [ibiz.i18n.t("component.formItemContainer.more")])]);
61
+ }
62
+ });
62
63
  };
63
64
  const renderLabel = () => {
64
- const classList = [ns.e("label"), ...props.labelClass || []];
65
- if (props.enableInputTip) {
66
- return createVNode(resolveComponent("el-tooltip"), {
67
- "effect": "light",
68
- "offset": 4,
69
- "popper-class": ns.e("popper"),
70
- "ref": "tooltip"
71
- }, {
72
- default: () => {
73
- return createVNode("div", {
74
- "class": classList
75
- }, [props.labelSysImg && createVNode(IBizIcon, {
76
- "class": ns.em("label", "icon"),
77
- "icon": props.labelSysImg
78
- }, null), props.label]);
79
- },
80
- content: () => {
81
- return createVNode("div", {
82
- "class": ns.em("label", "tooltip")
83
- }, [props.inputTip || props.label, props.inputTipUrl && createVNode("a", {
84
- "href": props.inputTipUrl,
85
- "target": "_blank"
86
- }, [ibiz.i18n.t("component.formItemContainer.more")]), props.inputTipClosable && createVNode("ion-icon", {
87
- "name": "close-circle",
88
- "onClick": hiddenTooltip
89
- }, null)]);
90
- }
91
- });
92
- }
93
65
  return createVNode("div", {
94
- "class": classList,
95
- "title": showTitle(props.label)
96
- }, [props.labelSysImg && createVNode(IBizIcon, {
97
- "class": ns.em("label", "icon"),
98
- "icon": props.labelSysImg
99
- }, null), props.label]);
66
+ "title": enableInputTip ? void 0 : showTitle(c.labelCaption),
67
+ "class": [ns.e("label"), ...c.labelClass || []]
68
+ }, [renderInputTip()]);
100
69
  };
101
70
  return {
102
71
  ns,
103
- cssVars,
104
- tooltip,
105
72
  renderLabel
106
73
  };
107
74
  },
108
75
  render() {
109
76
  var _a, _b;
77
+ const {
78
+ labelPos,
79
+ labelWidth
80
+ } = this.controller.model;
110
81
  const content = createVNode("div", {
111
- "class": [this.ns.e("content"), this.ns.em("content", "label-".concat(this.labelPos.toLowerCase()))]
82
+ "class": [this.ns.e("content"), this.ns.em("content", "label-".concat(labelPos == null ? void 0 : labelPos.toLowerCase()))]
112
83
  }, [createVNode("div", {
113
84
  "class": [this.ns.e("editor")]
114
- }, [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)]), this.error ? createVNode("div", {
115
- "title": showTitle(this.error),
85
+ }, [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)]), this.controller.state.error ? createVNode("div", {
86
+ "title": showTitle(this.controller.state.error),
116
87
  "class": [this.ns.e("error")]
117
- }, [this.error]) : null]);
88
+ }, [this.controller.state.error]) : null]);
118
89
  return createVNode("div", {
119
- "class": [this.ns.b(), this.ns.m(this.labelPos.toLowerCase()), this.ns.is("required", this.required), this.ns.is("error", !!this.error)],
120
- "style": this.cssVars
121
- }, [this.labelPos === "LEFT" || this.labelPos === "TOP" ? this.renderLabel() : null, content, this.labelPos === "RIGHT" || this.labelPos === "BOTTOM" ? this.renderLabel() : null]);
90
+ "class": [this.ns.b(), this.ns.m(labelPos == null ? void 0 : labelPos.toLowerCase()), this.ns.is("required", this.controller.state.required), this.ns.is("error", !!this.controller.state.error)],
91
+ "style": this.ns.cssVarBlock({
92
+ "label-width": "".concat(labelWidth || 130, "px")
93
+ })
94
+ }, [labelPos && ["LEFT", "TOP"].includes(labelPos) && this.renderLabel(), content, labelPos && ["RIGHT", "BOTTOM"].includes(labelPos) && this.renderLabel()]);
122
95
  }
123
96
  });
124
97
 
@@ -1,18 +1,18 @@
1
1
  import { PropType } from 'vue';
2
- import './form-item.scss';
3
2
  import { IDEFormItem } from '@ibiz/model-core';
4
3
  import { FormItemController } from '@ibiz-template/runtime';
4
+ import './form-item.scss';
5
5
  export declare const FormItem: import("vue").DefineComponent<{
6
6
  modelData: {
7
7
  type: PropType<IDEFormItem>;
8
8
  required: true;
9
9
  };
10
10
  controller: {
11
- type: typeof FormItemController;
11
+ type: PropType<FormItemController>;
12
12
  required: true;
13
13
  };
14
14
  attrs: {
15
- type: PropType<IData>;
15
+ type: PropType<import("@ibiz-template/core").IApiData>;
16
16
  required: false;
17
17
  };
18
18
  }, {
@@ -26,11 +26,11 @@ export declare const FormItem: import("vue").DefineComponent<{
26
26
  required: true;
27
27
  };
28
28
  controller: {
29
- type: typeof FormItemController;
29
+ type: PropType<FormItemController>;
30
30
  required: true;
31
31
  };
32
32
  attrs: {
33
- type: PropType<IData>;
33
+ type: PropType<import("@ibiz-template/core").IApiData>;
34
34
  required: false;
35
35
  };
36
36
  }>>, {}, {}>;
@@ -1,8 +1,7 @@
1
1
  import { isVNode, defineComponent, ref, createVNode, resolveComponent, h } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
- import './form-item.css';
4
- import { FormItemController } from '@ibiz-template/runtime';
5
3
  import { CompositeFormItem } from './composite-form-item/composite-form-item.mjs';
4
+ import './form-item.css';
6
5
 
7
6
  "use strict";
8
7
  function _isSlot(s) {
@@ -16,7 +15,7 @@ const FormItem = /* @__PURE__ */ defineComponent({
16
15
  required: true
17
16
  },
18
17
  controller: {
19
- type: FormItemController,
18
+ type: Object,
20
19
  required: true
21
20
  },
22
21
  attrs: {
@@ -56,17 +55,17 @@ const FormItem = /* @__PURE__ */ defineComponent({
56
55
  },
57
56
  render() {
58
57
  var _a, _b, _c, _d, _e;
59
- if (!this.c.state.visible || ((_a = this.controller.model.editor) == null ? void 0 : _a.editorType) === "HIDDEN") {
58
+ if (!this.c.state.visible || ((_a = this.c.model.editor) == null ? void 0 : _a.editorType) === "HIDDEN") {
60
59
  return null;
61
60
  }
62
61
  let editor = null;
63
- const compositeItem = this.controller.model.compositeItem;
62
+ const compositeItem = this.c.model.compositeItem;
64
63
  if (compositeItem) {
65
64
  const {
66
65
  editorItems = []
67
- } = this.controller.model.editor || {};
66
+ } = this.c.model.editor || {};
68
67
  editor = editorItems.map((item) => {
69
- const controller = this.controller.form.details[item.id];
68
+ const controller = this.c.form.details[item.id];
70
69
  return createVNode(CompositeFormItem, {
71
70
  "modelData": controller.model,
72
71
  "controller": controller,
@@ -74,56 +73,45 @@ const FormItem = /* @__PURE__ */ defineComponent({
74
73
  }, null);
75
74
  });
76
75
  } else {
77
- const editMode = (_d = (_c = (_b = this.controller.editor) == null ? void 0 : _b.model) == null ? void 0 : _c.editorParams) == null ? void 0 : _d.editMode;
76
+ const editMode = (_d = (_c = (_b = this.c.editor) == null ? void 0 : _b.model) == null ? void 0 : _c.editorParams) == null ? void 0 : _d.editMode;
78
77
  const editorProps = {
79
- style: (_e = this.controller.editor) == null ? void 0 : _e.style,
80
- value: this.controller.value,
81
- data: this.controller.data,
82
- controller: this.controller.editor,
83
- disabled: this.controller.state.disabled,
84
- readonly: this.controller.state.readonly,
78
+ style: (_e = this.c.editor) == null ? void 0 : _e.style,
79
+ value: this.c.value,
80
+ data: this.c.data,
81
+ controller: this.c.editor,
82
+ disabled: this.c.state.disabled,
83
+ readonly: this.c.state.readonly,
85
84
  onChange: this.onValueChange,
86
85
  extraParams: this.extraParams,
87
86
  controlParams: editMode ? {
88
- ...this.controller.form.controlParams,
87
+ ...this.c.form.controlParams,
89
88
  editmode: editMode
90
- } : this.controller.form.controlParams,
89
+ } : this.c.form.controlParams,
91
90
  onFocus: (event) => this.c.onFocus(event),
92
91
  onBlur: (event) => this.c.onBlur(event),
93
- onEnter: (event) => this.controller.onEnter(event),
94
- onClick: (event, params) => this.controller.onClick(event, params),
92
+ onEnter: (event) => this.c.onEnter(event),
93
+ onClick: (event, params) => this.c.onClick(event, params),
95
94
  ...this.attrs
96
95
  };
97
- if (this.c.form.state.isLoaded) {
98
- if (this.$slots.default) {
99
- editor = this.$slots.default(editorProps);
100
- } else if (this.controller.editorProvider) {
101
- const component = resolveComponent(this.controller.editorProvider.formEditor);
102
- editor = h(component, {
103
- ...editorProps
104
- });
105
- } else {
106
- editor = createVNode(resolveComponent("not-supported-editor"), {
107
- "modelData": this.modelData.editor
108
- }, null);
109
- }
96
+ if (this.$slots.default) {
97
+ editor = this.$slots.default(editorProps);
98
+ } else if (this.c.editorProvider) {
99
+ const component = resolveComponent(this.c.editorProvider.formEditor);
100
+ editor = h(component, {
101
+ ...editorProps
102
+ });
103
+ } else {
104
+ editor = createVNode(resolveComponent("not-supported-editor"), {
105
+ "modelData": this.modelData.editor,
106
+ "context": this.c.context
107
+ }, null);
110
108
  }
111
109
  }
112
110
  return createVNode(resolveComponent("iBizFormItemContainer"), {
113
- "id": "".concat(this.controller.form.view.model.codeName, "_").concat(this.controller.form.model.codeName, "_").concat(this.modelData.codeName),
114
- "class": [this.ns.b(), this.ns.m(this.modelData.id), this.ns.is("compositeItem", compositeItem), ...this.controller.containerClass],
111
+ "id": "".concat(this.c.form.view.model.codeName, "_").concat(this.c.form.model.codeName, "_").concat(this.modelData.codeName),
112
+ "class": [this.ns.b(), this.ns.m(this.modelData.id), this.ns.is("compositeItem", compositeItem), ...this.c.containerClass],
115
113
  "style": this.modelData.cssStyle,
116
- "required": this.c.state.required,
117
- "error": this.c.state.error,
118
- "label": this.c.labelCaption,
119
- "labelSysImg": this.modelData.sysImage,
120
- "labelClass": this.controller.labelClass,
121
- "label-pos": this.c.model.labelPos,
122
- "label-width": this.c.model.labelWidth,
123
- "enableInputTip": this.modelData.enableInputTip,
124
- "inputTip": this.modelData.inputTip,
125
- "inputTipUrl": this.modelData.inputTipUrl,
126
- "inputTipClosable": this.modelData.inputTipClosable,
114
+ "controller": this.c,
127
115
  "onClick": (event) => this.c.onClick(event)
128
116
  }, _isSlot(editor) ? editor : {
129
117
  default: () => [editor]
@@ -5,11 +5,11 @@ export declare const IBizFormItem: import("@ibiz-template/vue3-util").TypeWithIn
5
5
  required: true;
6
6
  };
7
7
  controller: {
8
- type: typeof import("@ibiz-template/runtime").FormItemController;
8
+ type: import("vue").PropType<import("@ibiz-template/runtime").FormItemController>;
9
9
  required: true;
10
10
  };
11
11
  attrs: {
12
- type: import("vue").PropType<IData>;
12
+ type: import("vue").PropType<import("@ibiz-template/core").IApiData>;
13
13
  required: false;
14
14
  };
15
15
  }, {
@@ -23,11 +23,11 @@ export declare const IBizFormItem: import("@ibiz-template/vue3-util").TypeWithIn
23
23
  required: true;
24
24
  };
25
25
  controller: {
26
- type: typeof import("@ibiz-template/runtime").FormItemController;
26
+ type: import("vue").PropType<import("@ibiz-template/runtime").FormItemController>;
27
27
  required: true;
28
28
  };
29
29
  attrs: {
30
- type: import("vue").PropType<IData>;
30
+ type: import("vue").PropType<import("@ibiz-template/core").IApiData>;
31
31
  required: false;
32
32
  };
33
33
  }>>, {}, {}>>;
@@ -41,22 +41,20 @@ const FormMDCtrlMD = /* @__PURE__ */ defineComponent({
41
41
  mdProvider,
42
42
  model
43
43
  } = this.controller;
44
- const isLoaded = this.controller.form.state.isLoaded;
45
44
  let controlComponent = null;
46
- if (isLoaded) {
47
- const controlProps = {
48
- class: this.ns.b("content"),
49
- modelData: model.contentControl,
50
- context: this.controller.form.context,
51
- params: this.controller.form.params,
52
- onCreated: this.onCreated,
53
- onSelectionChange: this.onSelectionChange
54
- };
55
- if (model.contentType === "GRID") {
56
- controlProps.rowEditOpen = true;
57
- }
58
- controlComponent = h(resolveComponent(mdProvider.component), controlProps);
45
+ const controlProps = {
46
+ class: this.ns.b("content"),
47
+ modelData: model.contentControl,
48
+ context: this.controller.form.context,
49
+ params: this.controller.form.params,
50
+ loadDefault: false,
51
+ onCreated: this.onCreated,
52
+ onSelectionChange: this.onSelectionChange
53
+ };
54
+ if (model.contentType === "GRID") {
55
+ controlProps.rowEditOpen = true;
59
56
  }
57
+ controlComponent = h(resolveComponent(mdProvider.component), controlProps);
60
58
  return createVNode("div", {
61
59
  "class": this.ns.b()
62
60
  }, [controlComponent, this.showActions && createVNode("div", {