@ibiz-template/vue3-components 0.2.11 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/ibiz-markdown-editor-7GWpRewm.js +2 -0
  2. package/dist/ibiz-markdown-editor-7GWpRewm.js.map +1 -0
  3. package/dist/index.min.css +1 -1
  4. package/dist/index.system.min.js +5 -5
  5. package/dist/index.system.min.js.map +1 -1
  6. package/es/common/index.d.ts +0 -8
  7. package/es/common/index.mjs +2 -8
  8. package/es/control/chart/index.mjs +1 -2
  9. package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  10. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
  11. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.d.ts +1 -0
  12. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.mjs +7 -3
  13. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.mjs +1 -1
  14. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
  15. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.mjs +1 -1
  16. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.mjs +1 -1
  17. package/es/control/toolbar/toolbar.mjs +2 -2
  18. package/es/control/tree/el-tree-util.d.ts +1 -1
  19. package/es/control/tree/index.d.ts +1 -1
  20. package/es/control/tree/tree.d.ts +1 -1
  21. package/es/devtool/index.mjs +1 -1
  22. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
  23. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
  24. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
  25. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
  26. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
  27. package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -1
  28. package/es/editor/code/monaco-editor/monaco-editor.mjs +1 -3
  29. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
  30. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
  31. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
  32. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -1
  33. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
  34. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +1 -1
  35. package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
  36. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  37. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +4 -3
  38. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +25 -5
  39. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -1
  40. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +1 -1
  41. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
  42. package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
  43. package/es/editor/index.mjs +54 -1
  44. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
  45. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -3
  46. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
  47. package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +1 -1
  48. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
  49. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
  50. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
  51. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
  52. package/es/editor/span/span/span.d.ts +3 -3
  53. package/es/editor/span/span/span.mjs +30 -2
  54. package/es/editor/span/span-link/span-link.d.ts +3 -3
  55. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
  56. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
  57. package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
  58. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
  59. package/es/editor/text-box/input/input.d.ts +2 -2
  60. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
  61. package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
  62. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
  63. package/es/index.mjs +4 -45
  64. package/es/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.mjs +1 -1
  65. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -3
  66. package/es/panel-component/index-actions/index-actions.d.ts +1 -1
  67. package/es/panel-component/index-actions/index-actions.mjs +1 -3
  68. package/es/panel-component/index-actions/index-actions.provider.mjs +1 -2
  69. package/es/panel-component/index-actions/index.d.ts +2 -2
  70. package/es/panel-component/index.d.ts +0 -7
  71. package/es/panel-component/index.mjs +2 -28
  72. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -2
  73. package/es/panel-component/panel-button/index.d.ts +1 -1
  74. package/es/panel-component/panel-button/panel-button.d.ts +1 -1
  75. package/es/util/app-drawer/app-drawer-component.mjs +1 -4
  76. package/es/util/app-float-window/app-float-window-component.mjs +1 -4
  77. package/es/util/app-modal/app-modal-component.mjs +1 -4
  78. package/es/util/app-popover/app-popover-component.d.ts +1 -1
  79. package/es/util/app-popover/app-popover-component.mjs +1 -4
  80. package/es/util/index.d.ts +0 -4
  81. package/es/util/index.mjs +0 -6
  82. package/es/util/open-view-util/open-view-util.mjs +1 -3
  83. package/es/view/index.d.ts +0 -4
  84. package/es/view/index.mjs +0 -6
  85. package/lib/common/index.cjs +7 -20
  86. package/lib/control/chart/index.cjs +2 -3
  87. package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  88. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.cjs +6 -2
  89. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
  90. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.cjs +1 -1
  91. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -1
  92. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.cjs +1 -1
  93. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.cjs +1 -1
  94. package/lib/control/toolbar/toolbar.cjs +2 -2
  95. package/lib/devtool/index.cjs +1 -1
  96. package/lib/editor/code/monaco-editor/monaco-editor.cjs +1 -3
  97. package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
  98. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +25 -5
  99. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
  100. package/lib/editor/index.cjs +54 -1
  101. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -3
  102. package/lib/editor/span/span/span.cjs +30 -2
  103. package/lib/index.cjs +30 -114
  104. package/lib/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.cjs +1 -1
  105. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +1 -3
  106. package/lib/panel-component/index-actions/index-actions.cjs +1 -3
  107. package/lib/panel-component/index-actions/index-actions.provider.cjs +2 -3
  108. package/lib/panel-component/index.cjs +51 -101
  109. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +3 -4
  110. package/lib/util/app-drawer/app-drawer-component.cjs +2 -5
  111. package/lib/util/app-float-window/app-float-window-component.cjs +2 -5
  112. package/lib/util/app-modal/app-modal-component.cjs +2 -5
  113. package/lib/util/app-popover/app-popover-component.cjs +2 -5
  114. package/lib/util/index.cjs +0 -12
  115. package/lib/util/open-view-util/open-view-util.cjs +6 -8
  116. package/lib/view/index.cjs +2 -14
  117. package/package.json +4 -4
  118. package/dist/ibiz-markdown-editor-ruHo8Z-f.js +0 -2
  119. package/dist/ibiz-markdown-editor-ruHo8Z-f.js.map +0 -1
  120. package/es/common/code-list/code-list.css +0 -1
  121. package/es/common/code-list/code-list.d.ts +0 -57
  122. package/es/common/code-list/code-list.mjs +0 -84
  123. package/es/common/control-base/control-base.css +0 -1
  124. package/es/common/control-base/control-base.d.ts +0 -1
  125. package/es/common/control-base/control-base.mjs +0 -98
  126. package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +0 -30
  127. package/es/common/control-loading-placeholder/control-loading-placeholder.mjs +0 -30
  128. package/es/common/control-shell/control-shell.css +0 -1
  129. package/es/common/control-shell/control-shell.d.ts +0 -20
  130. package/es/common/control-shell/control-shell.mjs +0 -55
  131. package/es/common/icon/icon.d.ts +0 -28
  132. package/es/common/icon/icon.mjs +0 -88
  133. package/es/common/router-view/router-view.d.ts +0 -29
  134. package/es/common/router-view/router-view.mjs +0 -75
  135. package/es/common/view-shell/view-shell.css +0 -1
  136. package/es/common/view-shell/view-shell.d.ts +0 -39
  137. package/es/common/view-shell/view-shell.mjs +0 -76
  138. package/es/panel-component/grid-container/grid-container.controller.d.ts +0 -14
  139. package/es/panel-component/grid-container/grid-container.controller.mjs +0 -12
  140. package/es/panel-component/grid-container/grid-container.css +0 -1
  141. package/es/panel-component/grid-container/grid-container.d.ts +0 -37
  142. package/es/panel-component/grid-container/grid-container.mjs +0 -105
  143. package/es/panel-component/grid-container/grid-container.provider.d.ts +0 -15
  144. package/es/panel-component/grid-container/grid-container.provider.mjs +0 -21
  145. package/es/panel-component/grid-container/grid-container.state.d.ts +0 -12
  146. package/es/panel-component/grid-container/grid-container.state.mjs +0 -7
  147. package/es/panel-component/grid-container/index.d.ts +0 -38
  148. package/es/panel-component/grid-container/index.mjs +0 -17
  149. package/es/panel-component/multi-data-container/index.d.ts +0 -37
  150. package/es/panel-component/multi-data-container/index.mjs +0 -20
  151. package/es/panel-component/multi-data-container/multi-data-container-item.controller.d.ts +0 -60
  152. package/es/panel-component/multi-data-container/multi-data-container-item.controller.mjs +0 -123
  153. package/es/panel-component/multi-data-container/multi-data-container-itm.state.d.ts +0 -19
  154. package/es/panel-component/multi-data-container/multi-data-container-itm.state.mjs +0 -23
  155. package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +0 -106
  156. package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +0 -266
  157. package/es/panel-component/multi-data-container/multi-data-container.css +0 -1
  158. package/es/panel-component/multi-data-container/multi-data-container.d.ts +0 -35
  159. package/es/panel-component/multi-data-container/multi-data-container.mjs +0 -86
  160. package/es/panel-component/multi-data-container/multi-data-container.provider.d.ts +0 -15
  161. package/es/panel-component/multi-data-container/multi-data-container.provider.mjs +0 -21
  162. package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +0 -19
  163. package/es/panel-component/multi-data-container/multi-data-container.state.mjs +0 -23
  164. package/es/panel-component/nav-pos/index.d.ts +0 -28
  165. package/es/panel-component/nav-pos/index.mjs +0 -14
  166. package/es/panel-component/nav-pos/nav-pos.controller.d.ts +0 -161
  167. package/es/panel-component/nav-pos/nav-pos.controller.mjs +0 -281
  168. package/es/panel-component/nav-pos/nav-pos.css +0 -1
  169. package/es/panel-component/nav-pos/nav-pos.d.ts +0 -28
  170. package/es/panel-component/nav-pos/nav-pos.mjs +0 -102
  171. package/es/panel-component/nav-pos/nav-pos.provider.d.ts +0 -22
  172. package/es/panel-component/nav-pos/nav-pos.provider.mjs +0 -30
  173. package/es/panel-component/nav-pos/nav-pos.state.d.ts +0 -49
  174. package/es/panel-component/nav-pos/nav-pos.state.mjs +0 -53
  175. package/es/panel-component/panel-container/index.d.ts +0 -27
  176. package/es/panel-component/panel-container/index.mjs +0 -21
  177. package/es/panel-component/panel-container/panel-container.controller.d.ts +0 -14
  178. package/es/panel-component/panel-container/panel-container.controller.mjs +0 -12
  179. package/es/panel-component/panel-container/panel-container.css +0 -1
  180. package/es/panel-component/panel-container/panel-container.d.ts +0 -26
  181. package/es/panel-component/panel-container/panel-container.mjs +0 -69
  182. package/es/panel-component/panel-container/panel-container.provider.d.ts +0 -15
  183. package/es/panel-component/panel-container/panel-container.provider.mjs +0 -21
  184. package/es/panel-component/panel-container/panel-container.state.d.ts +0 -12
  185. package/es/panel-component/panel-container/panel-container.state.mjs +0 -7
  186. package/es/panel-component/panel-ctrl-pos/index.d.ts +0 -25
  187. package/es/panel-component/panel-ctrl-pos/index.mjs +0 -13
  188. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +0 -35
  189. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.mjs +0 -39
  190. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
  191. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +0 -24
  192. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +0 -44
  193. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.d.ts +0 -16
  194. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.mjs +0 -21
  195. package/es/panel-component/panel-field/index.d.ts +0 -26
  196. package/es/panel-component/panel-field/index.mjs +0 -13
  197. package/es/panel-component/panel-field/panel-field.controller.d.ts +0 -74
  198. package/es/panel-component/panel-field/panel-field.controller.mjs +0 -111
  199. package/es/panel-component/panel-field/panel-field.css +0 -1
  200. package/es/panel-component/panel-field/panel-field.d.ts +0 -27
  201. package/es/panel-component/panel-field/panel-field.mjs +0 -72
  202. package/es/panel-component/panel-field/panel-field.provider.d.ts +0 -14
  203. package/es/panel-component/panel-field/panel-field.provider.mjs +0 -21
  204. package/es/panel-component/panel-field/panel-field.state.d.ts +0 -12
  205. package/es/panel-component/panel-field/panel-field.state.mjs +0 -7
  206. package/es/panel-component/panel-rawitem/index.d.ts +0 -25
  207. package/es/panel-component/panel-rawitem/index.mjs +0 -17
  208. package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts +0 -28
  209. package/es/panel-component/panel-rawitem/panel-rawitem.controller.mjs +0 -28
  210. package/es/panel-component/panel-rawitem/panel-rawitem.css +0 -1
  211. package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +0 -26
  212. package/es/panel-component/panel-rawitem/panel-rawitem.mjs +0 -49
  213. package/es/panel-component/panel-rawitem/panel-rawitem.provider.d.ts +0 -14
  214. package/es/panel-component/panel-rawitem/panel-rawitem.provider.mjs +0 -21
  215. package/es/panel-component/scroll-container/index.d.ts +0 -25
  216. package/es/panel-component/scroll-container/index.mjs +0 -45
  217. package/es/panel-component/scroll-container/scroll-container/index.d.ts +0 -3
  218. package/es/panel-component/scroll-container/scroll-container/index.mjs +0 -5
  219. package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +0 -22
  220. package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +0 -12
  221. package/es/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
  222. package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +0 -26
  223. package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +0 -111
  224. package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.d.ts +0 -16
  225. package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.mjs +0 -21
  226. package/es/panel-component/scroll-container/scroll-container-item/index.d.ts +0 -3
  227. package/es/panel-component/scroll-container/scroll-container-item/index.mjs +0 -5
  228. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +0 -21
  229. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +0 -7
  230. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
  231. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +0 -26
  232. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +0 -63
  233. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.d.ts +0 -16
  234. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.mjs +0 -21
  235. package/es/panel-component/single-data-container/index.d.ts +0 -37
  236. package/es/panel-component/single-data-container/index.mjs +0 -20
  237. package/es/panel-component/single-data-container/single-data-container.controller.d.ts +0 -121
  238. package/es/panel-component/single-data-container/single-data-container.controller.mjs +0 -291
  239. package/es/panel-component/single-data-container/single-data-container.css +0 -1
  240. package/es/panel-component/single-data-container/single-data-container.d.ts +0 -35
  241. package/es/panel-component/single-data-container/single-data-container.mjs +0 -76
  242. package/es/panel-component/single-data-container/single-data-container.provider.d.ts +0 -15
  243. package/es/panel-component/single-data-container/single-data-container.provider.mjs +0 -21
  244. package/es/panel-component/single-data-container/single-data-container.state.d.ts +0 -19
  245. package/es/panel-component/single-data-container/single-data-container.state.mjs +0 -23
  246. package/es/util/overlay-container/overlay-container.d.ts +0 -92
  247. package/es/util/overlay-container/overlay-container.mjs +0 -139
  248. package/es/util/overlay-popover-container/overlay-popover-container.d.ts +0 -16
  249. package/es/util/overlay-popover-container/overlay-popover-container.mjs +0 -10
  250. package/es/util/overlay-view-util/overlay-view-util.d.ts +0 -8
  251. package/es/util/overlay-view-util/overlay-view-util.mjs +0 -63
  252. package/es/util/router-callback/router-callback-item.d.ts +0 -61
  253. package/es/util/router-callback/router-callback-item.mjs +0 -88
  254. package/es/util/router-callback/router-callback.d.ts +0 -59
  255. package/es/util/router-callback/router-callback.mjs +0 -92
  256. package/es/util/store/app-store/app-store.d.ts +0 -9
  257. package/es/util/store/app-store/app-store.mjs +0 -10
  258. package/es/util/store/index.d.ts +0 -3
  259. package/es/util/store/index.mjs +0 -8
  260. package/es/util/store/ui-store/ui-store.d.ts +0 -31
  261. package/es/util/store/ui-store/ui-store.mjs +0 -15
  262. package/es/util/store/ui-store/z-index.d.ts +0 -34
  263. package/es/util/store/ui-store/z-index.mjs +0 -18
  264. package/es/view/app-redirect-view/app-redirect-view.d.ts +0 -1
  265. package/es/view/app-redirect-view/app-redirect-view.mjs +0 -27
  266. package/es/view/common/index.d.ts +0 -50
  267. package/es/view/common/index.mjs +0 -14
  268. package/es/view/common/view.css +0 -1
  269. package/es/view/common/view.d.ts +0 -52
  270. package/es/view/common/view.mjs +0 -137
  271. package/es/view/common/view.provider.d.ts +0 -13
  272. package/es/view/common/view.provider.mjs +0 -14
  273. package/es/view/portal-view/index.d.ts +0 -42
  274. package/es/view/portal-view/index.mjs +0 -20
  275. package/es/view/portal-view/portal-view.d.ts +0 -43
  276. package/es/view/portal-view/portal-view.mjs +0 -91
  277. package/es/view/portal-view/portal-view.provider.d.ts +0 -13
  278. package/es/view/portal-view/portal-view.provider.mjs +0 -14
  279. package/es/view/todo-redirect/todo-redirect.d.ts +0 -1
  280. package/es/view/todo-redirect/todo-redirect.mjs +0 -52
  281. package/lib/common/code-list/code-list.cjs +0 -86
  282. package/lib/common/code-list/code-list.css +0 -1
  283. package/lib/common/control-base/control-base.cjs +0 -100
  284. package/lib/common/control-base/control-base.css +0 -1
  285. package/lib/common/control-loading-placeholder/control-loading-placeholder.cjs +0 -32
  286. package/lib/common/control-shell/control-shell.cjs +0 -57
  287. package/lib/common/control-shell/control-shell.css +0 -1
  288. package/lib/common/icon/icon.cjs +0 -90
  289. package/lib/common/router-view/router-view.cjs +0 -77
  290. package/lib/common/view-shell/view-shell.cjs +0 -78
  291. package/lib/common/view-shell/view-shell.css +0 -1
  292. package/lib/panel-component/grid-container/grid-container.cjs +0 -107
  293. package/lib/panel-component/grid-container/grid-container.controller.cjs +0 -14
  294. package/lib/panel-component/grid-container/grid-container.css +0 -1
  295. package/lib/panel-component/grid-container/grid-container.provider.cjs +0 -23
  296. package/lib/panel-component/grid-container/grid-container.state.cjs +0 -9
  297. package/lib/panel-component/grid-container/index.cjs +0 -25
  298. package/lib/panel-component/multi-data-container/index.cjs +0 -28
  299. package/lib/panel-component/multi-data-container/multi-data-container-item.controller.cjs +0 -125
  300. package/lib/panel-component/multi-data-container/multi-data-container-itm.state.cjs +0 -25
  301. package/lib/panel-component/multi-data-container/multi-data-container.cjs +0 -88
  302. package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +0 -268
  303. package/lib/panel-component/multi-data-container/multi-data-container.css +0 -1
  304. package/lib/panel-component/multi-data-container/multi-data-container.provider.cjs +0 -23
  305. package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +0 -25
  306. package/lib/panel-component/nav-pos/index.cjs +0 -22
  307. package/lib/panel-component/nav-pos/nav-pos.cjs +0 -104
  308. package/lib/panel-component/nav-pos/nav-pos.controller.cjs +0 -283
  309. package/lib/panel-component/nav-pos/nav-pos.css +0 -1
  310. package/lib/panel-component/nav-pos/nav-pos.provider.cjs +0 -32
  311. package/lib/panel-component/nav-pos/nav-pos.state.cjs +0 -55
  312. package/lib/panel-component/panel-container/index.cjs +0 -29
  313. package/lib/panel-component/panel-container/panel-container.cjs +0 -71
  314. package/lib/panel-component/panel-container/panel-container.controller.cjs +0 -14
  315. package/lib/panel-component/panel-container/panel-container.css +0 -1
  316. package/lib/panel-component/panel-container/panel-container.provider.cjs +0 -23
  317. package/lib/panel-component/panel-container/panel-container.state.cjs +0 -9
  318. package/lib/panel-component/panel-ctrl-pos/index.cjs +0 -20
  319. package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +0 -46
  320. package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.cjs +0 -41
  321. package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
  322. package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.cjs +0 -23
  323. package/lib/panel-component/panel-field/index.cjs +0 -20
  324. package/lib/panel-component/panel-field/panel-field.cjs +0 -74
  325. package/lib/panel-component/panel-field/panel-field.controller.cjs +0 -113
  326. package/lib/panel-component/panel-field/panel-field.css +0 -1
  327. package/lib/panel-component/panel-field/panel-field.provider.cjs +0 -23
  328. package/lib/panel-component/panel-field/panel-field.state.cjs +0 -9
  329. package/lib/panel-component/panel-rawitem/index.cjs +0 -24
  330. package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +0 -51
  331. package/lib/panel-component/panel-rawitem/panel-rawitem.controller.cjs +0 -30
  332. package/lib/panel-component/panel-rawitem/panel-rawitem.css +0 -1
  333. package/lib/panel-component/panel-rawitem/panel-rawitem.provider.cjs +0 -23
  334. package/lib/panel-component/scroll-container/index.cjs +0 -56
  335. package/lib/panel-component/scroll-container/scroll-container/index.cjs +0 -11
  336. package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +0 -113
  337. package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +0 -14
  338. package/lib/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
  339. package/lib/panel-component/scroll-container/scroll-container/scroll-container.provider.cjs +0 -23
  340. package/lib/panel-component/scroll-container/scroll-container-item/index.cjs +0 -11
  341. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +0 -65
  342. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +0 -9
  343. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
  344. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.cjs +0 -23
  345. package/lib/panel-component/single-data-container/index.cjs +0 -28
  346. package/lib/panel-component/single-data-container/single-data-container.cjs +0 -78
  347. package/lib/panel-component/single-data-container/single-data-container.controller.cjs +0 -293
  348. package/lib/panel-component/single-data-container/single-data-container.css +0 -1
  349. package/lib/panel-component/single-data-container/single-data-container.provider.cjs +0 -23
  350. package/lib/panel-component/single-data-container/single-data-container.state.cjs +0 -25
  351. package/lib/util/overlay-container/overlay-container.cjs +0 -141
  352. package/lib/util/overlay-popover-container/overlay-popover-container.cjs +0 -12
  353. package/lib/util/overlay-view-util/overlay-view-util.cjs +0 -70
  354. package/lib/util/router-callback/router-callback-item.cjs +0 -90
  355. package/lib/util/router-callback/router-callback.cjs +0 -95
  356. package/lib/util/store/app-store/app-store.cjs +0 -12
  357. package/lib/util/store/index.cjs +0 -12
  358. package/lib/util/store/ui-store/ui-store.cjs +0 -17
  359. package/lib/util/store/ui-store/z-index.cjs +0 -20
  360. package/lib/view/app-redirect-view/app-redirect-view.cjs +0 -29
  361. package/lib/view/common/index.cjs +0 -17
  362. package/lib/view/common/view.cjs +0 -139
  363. package/lib/view/common/view.css +0 -1
  364. package/lib/view/common/view.provider.cjs +0 -16
  365. package/lib/view/portal-view/index.cjs +0 -23
  366. package/lib/view/portal-view/portal-view.cjs +0 -93
  367. package/lib/view/portal-view/portal-view.provider.cjs +0 -16
  368. package/lib/view/todo-redirect/todo-redirect.cjs +0 -54
@@ -1,121 +0,0 @@
1
- import { IPanelDataContainerController, IPanelItemContainerController, IPanelItemController, IPanelItemProvider, IViewController, PanelController, PanelItemController, PanelNotifyState } from '@ibiz-template/runtime';
2
- import { IPanelContainer, IPanelItem } from '@ibiz/model-core';
3
- import { SingleDataContainerState } from './single-data-container.state';
4
- /**
5
- * 单项数据容器控制器
6
- *
7
- * @export
8
- * @class SingleDataContainerController
9
- * @extends {PanelItemController}
10
- */
11
- export declare class SingleDataContainerController extends PanelItemController<IPanelContainer> implements IPanelDataContainerController {
12
- state: SingleDataContainerState;
13
- readonly isDataContainer = true;
14
- /**
15
- * 所有面板成员的控制器
16
- *
17
- * @author lxm
18
- * @date 2022-08-24 20:08:07
19
- * @type {{ [key: string]: IPanelItemController }}
20
- */
21
- panelItems: {
22
- [key: string]: IPanelItemController;
23
- };
24
- /**
25
- * 所有面板成员的适配器
26
- *
27
- * @author lxm
28
- * @date 2022-08-24 20:08:07
29
- * @type {{ [key: string]: IPanelItemProvider }}
30
- */
31
- providers: {
32
- [key: string]: IPanelItemProvider;
33
- };
34
- /**
35
- * 单项数据容器,根据数据模式
36
- * @author lxm
37
- * @date 2023-07-14 10:59:02
38
- * @readonly
39
- * @type {IData}
40
- */
41
- get data(): IData;
42
- protected createState(): SingleDataContainerState;
43
- protected onInit(): Promise<void>;
44
- /**
45
- * 初始化面板成员控制器
46
- *
47
- * @author lxm
48
- * @date 2022-08-24 21:08:48
49
- * @protected
50
- */
51
- protected initPanelItemControllers(panelItems?: IPanelItem[] | undefined, panel?: PanelController, parent?: IPanelItemContainerController | undefined): Promise<void>;
52
- /**
53
- * 根据来源类型初始化容器数据
54
- * @author lxm
55
- * @date 2023-08-04 03:05:59
56
- * @protected
57
- */
58
- protected initContainerData(): void;
59
- /**
60
- * 面板状态变更通知
61
- *
62
- * @author lxm
63
- * @date 2022-09-20 18:09:07
64
- */
65
- childrenStateNotify(state: PanelNotifyState): void;
66
- /**
67
- * 设置数据
68
- * @author lxm
69
- * @date 2023-09-05 05:42:09
70
- * @param {IData[]} items
71
- */
72
- setData(data: IData): Promise<void>;
73
- /**
74
- * 通过实体设置视图逻辑
75
- * @author lxm
76
- * @date 2023-08-04 03:00:31
77
- * @protected
78
- * @return {*} {Promise<void>}
79
- */
80
- protected setDataByDeLogic(): Promise<void>;
81
- /**
82
- * 设置全局变量为当前容器数据
83
- * @author lxm
84
- * @date 2023-08-04 01:55:07
85
- * @protected
86
- */
87
- protected setDataByAppGlobalParam(): void;
88
- /**
89
- * 请求实体行为并把返回值设置为当前容器的数据
90
- * @author lxm
91
- * @date 2023-08-04 11:47:17
92
- * @protected
93
- * @return {*} {Promise<void>}
94
- */
95
- protected setDataByDeMethod(): Promise<void>;
96
- /**
97
- * 绑定指定视图会话的变量
98
- * @author lxm
99
- * @date 2023-07-14 02:03:56
100
- * @protected
101
- * @param {IViewController} view 绑定视图控制器
102
- * @param {string} dataName 变量名称
103
- */
104
- protected bindViewData(view: IViewController, dataName: string): void;
105
- /**
106
- * 通知所有子面板成员面板操作过程中的数据变更
107
- *
108
- * @author lxm
109
- * @date 2022-09-20 18:09:40
110
- * @param {string[]} names
111
- */
112
- childDataChangeNotify(names: string[]): void;
113
- /**
114
- * 设置面板数据的值
115
- *
116
- * @param {string} name 要设置的数据的属性名称
117
- * @param {unknown} value 要设置的值
118
- */
119
- setDataValue(name: string, value: unknown): Promise<void>;
120
- destroy(): void;
121
- }
@@ -1,291 +0,0 @@
1
- import { ModelError, RuntimeModelError, RuntimeError } from '@ibiz-template/core';
2
- import { PanelItemController, getPanelItemProvider, isDataContainer, getAllPanelField, PanelData, PanelNotifyState, execDELogicById } from '@ibiz-template/runtime';
3
- import { SingleDataContainerState } from './single-data-container.state.mjs';
4
-
5
- "use strict";
6
- var __defProp = Object.defineProperty;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __publicField = (obj, key, value) => {
9
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10
- return value;
11
- };
12
- class SingleDataContainerController extends PanelItemController {
13
- constructor() {
14
- super(...arguments);
15
- __publicField(this, "isDataContainer", true);
16
- /**
17
- * 所有面板成员的控制器
18
- *
19
- * @author lxm
20
- * @date 2022-08-24 20:08:07
21
- * @type {{ [key: string]: IPanelItemController }}
22
- */
23
- __publicField(this, "panelItems", {});
24
- /**
25
- * 所有面板成员的适配器
26
- *
27
- * @author lxm
28
- * @date 2022-08-24 20:08:07
29
- * @type {{ [key: string]: IPanelItemProvider }}
30
- */
31
- __publicField(this, "providers", {});
32
- }
33
- /**
34
- * 单项数据容器,根据数据模式
35
- * @author lxm
36
- * @date 2023-07-14 10:59:02
37
- * @readonly
38
- * @type {IData}
39
- */
40
- get data() {
41
- return this.state.data;
42
- }
43
- createState() {
44
- var _a;
45
- return new SingleDataContainerState((_a = this.parent) == null ? void 0 : _a.state);
46
- }
47
- async onInit() {
48
- await super.onInit();
49
- await this.initPanelItemControllers();
50
- this.initContainerData();
51
- }
52
- /**
53
- * 初始化面板成员控制器
54
- *
55
- * @author lxm
56
- * @date 2022-08-24 21:08:48
57
- * @protected
58
- */
59
- async initPanelItemControllers(panelItems = this.model.panelItems, panel = this.panel, parent = this) {
60
- if (!panelItems) {
61
- return;
62
- }
63
- await Promise.all(
64
- panelItems.map(async (panelItem) => {
65
- var _a, _b;
66
- const panelItemProvider = await getPanelItemProvider(panelItem);
67
- if (!panelItemProvider) {
68
- return;
69
- }
70
- this.providers[panelItem.id] = panelItemProvider;
71
- const panelItemController = await panelItemProvider.createController(
72
- panelItem,
73
- panel,
74
- parent
75
- );
76
- this.panelItems[panelItem.id] = panelItemController;
77
- if (((_a = panelItem.panelItems) == null ? void 0 : _a.length) && !isDataContainer(panelItem)) {
78
- await this.initPanelItemControllers(
79
- panelItem.panelItems,
80
- panel,
81
- panelItemController
82
- );
83
- }
84
- if ((_b = panelItem.panelTabPages) == null ? void 0 : _b.length) {
85
- await this.initPanelItemControllers(
86
- panelItem.panelTabPages,
87
- panel,
88
- panelItemController
89
- );
90
- }
91
- })
92
- );
93
- }
94
- /**
95
- * 根据来源类型初始化容器数据
96
- * @author lxm
97
- * @date 2023-08-04 03:05:59
98
- * @protected
99
- */
100
- initContainerData() {
101
- const { dataSourceType, dataName } = this.model;
102
- switch (dataSourceType) {
103
- case "DEACTION":
104
- case "DEDATASET":
105
- this.setDataByDeMethod();
106
- break;
107
- case "APPGLOBALPARAM":
108
- this.setDataByAppGlobalParam();
109
- break;
110
- case "DELOGIC":
111
- this.setDataByDeLogic();
112
- break;
113
- case "TOPVIEWSESSIONPARAM": {
114
- if (!dataName) {
115
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u6570\u636E\u5BF9\u8C61\u540D\u79F0");
116
- }
117
- this.bindViewData(this.panel.getTopView(), dataName);
118
- break;
119
- }
120
- case "VIEWSESSIONPARAM": {
121
- if (!dataName) {
122
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u6570\u636E\u5BF9\u8C61\u540D\u79F0");
123
- }
124
- this.bindViewData(this.panel.view, dataName);
125
- break;
126
- }
127
- default:
128
- throw new ModelError(this.model, `\u6570\u636E\u6E90\u7C7B\u578B${dataSourceType}\u6682\u672A\u652F\u6301`);
129
- }
130
- }
131
- /**
132
- * 面板状态变更通知
133
- *
134
- * @author lxm
135
- * @date 2022-09-20 18:09:07
136
- */
137
- childrenStateNotify(state) {
138
- Object.values(this.panelItems).forEach((panelItem) => {
139
- panelItem.panelStateNotify(state);
140
- });
141
- }
142
- /**
143
- * 设置数据
144
- * @author lxm
145
- * @date 2023-09-05 05:42:09
146
- * @param {IData[]} items
147
- */
148
- async setData(data) {
149
- var _a, _b;
150
- const fields = getAllPanelField(this.model);
151
- const fieldKeys = fields.map((item) => item.id);
152
- const panelData = new PanelData(fields, data);
153
- panelData._evt.on("change", (key) => {
154
- if (fieldKeys.includes(key)) {
155
- this.childDataChangeNotify([key]);
156
- }
157
- });
158
- (_b = (_a = this.data).destroy) == null ? void 0 : _b.call(_a);
159
- this.state.data = panelData;
160
- this.childrenStateNotify(PanelNotifyState.LOAD);
161
- }
162
- /**
163
- * 通过实体设置视图逻辑
164
- * @author lxm
165
- * @date 2023-08-04 03:00:31
166
- * @protected
167
- * @return {*} {Promise<void>}
168
- */
169
- async setDataByDeLogic() {
170
- const { appDataEntityId, appDELogicId } = this.model;
171
- if (!appDELogicId) {
172
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u903B\u8F91");
173
- }
174
- if (!appDataEntityId) {
175
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53");
176
- }
177
- const data = await execDELogicById(
178
- appDELogicId,
179
- appDataEntityId,
180
- this.panel.context,
181
- [],
182
- this.panel.params
183
- );
184
- if (!data) {
185
- throw new RuntimeError(`\u5B9E\u4F53\u903B\u8F91${appDELogicId}\u6CA1\u6709\u8FD4\u56DE\u503C`);
186
- }
187
- this.setData(data);
188
- }
189
- /**
190
- * 设置全局变量为当前容器数据
191
- * @author lxm
192
- * @date 2023-08-04 01:55:07
193
- * @protected
194
- */
195
- setDataByAppGlobalParam() {
196
- const { dataName } = this.model;
197
- const originData = dataName ? ibiz.appData[dataName] : ibiz.appData;
198
- if (originData) {
199
- this.setData(originData);
200
- } else {
201
- ibiz.log.error(`\u5168\u5C40\u53D8\u91CF\u91CC\u6CA1\u6709${dataName}\u5C5E\u6027`);
202
- }
203
- }
204
- /**
205
- * 请求实体行为并把返回值设置为当前容器的数据
206
- * @author lxm
207
- * @date 2023-08-04 11:47:17
208
- * @protected
209
- * @return {*} {Promise<void>}
210
- */
211
- async setDataByDeMethod() {
212
- const { appDEMethodId, appDataEntityId } = this.model;
213
- if (!appDEMethodId) {
214
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u884C\u4E3A");
215
- }
216
- if (!appDataEntityId) {
217
- throw new RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53");
218
- }
219
- const app = ibiz.hub.getApp(this.panel.context.srfappid);
220
- const res = await app.deService.exec(
221
- appDataEntityId,
222
- appDEMethodId,
223
- this.panel.context,
224
- [],
225
- this.panel.params
226
- );
227
- if (res.ok && res.data) {
228
- this.setData(res.data);
229
- }
230
- }
231
- /**
232
- * 绑定指定视图会话的变量
233
- * @author lxm
234
- * @date 2023-07-14 02:03:56
235
- * @protected
236
- * @param {IViewController} view 绑定视图控制器
237
- * @param {string} dataName 变量名称
238
- */
239
- bindViewData(view, dataName) {
240
- if (!Object.prototype.hasOwnProperty.call(view.state, dataName)) {
241
- ibiz.log.error(`\u7ED1\u5B9A\u89C6\u56FE\u7684\u4F1A\u8BDD\u4E0D\u5B58\u5728${dataName}`);
242
- return;
243
- }
244
- const updateData = () => {
245
- const originData = view.state[dataName];
246
- if (originData) {
247
- this.setData(originData);
248
- } else {
249
- ibiz.log.error(`\u89C6\u56FEstate\u91CC\u6CA1\u6709${dataName}\u5C5E\u6027`);
250
- }
251
- };
252
- updateData();
253
- view.evt.on("onDataChange", () => {
254
- updateData();
255
- });
256
- }
257
- /**
258
- * 通知所有子面板成员面板操作过程中的数据变更
259
- *
260
- * @author lxm
261
- * @date 2022-09-20 18:09:40
262
- * @param {string[]} names
263
- */
264
- childDataChangeNotify(names) {
265
- Object.values(this.panelItems).forEach((panelItem) => {
266
- panelItem.dataChangeNotify(names);
267
- });
268
- }
269
- /**
270
- * 设置面板数据的值
271
- *
272
- * @param {string} name 要设置的数据的属性名称
273
- * @param {unknown} value 要设置的值
274
- */
275
- async setDataValue(name, value) {
276
- if (Object.prototype.hasOwnProperty.call(this.state.data, name) && this.state.data[name] === value) {
277
- return;
278
- }
279
- this.state.data[name] = value;
280
- }
281
- destroy() {
282
- var _a, _b;
283
- super.destroy();
284
- (_b = (_a = this.data).destroy) == null ? void 0 : _b.call(_a);
285
- Object.values(this.panelItems).forEach((item) => {
286
- item.destroy();
287
- });
288
- }
289
- }
290
-
291
- export { SingleDataContainerController };
@@ -1 +0,0 @@
1
- .ibiz-single-data-container{width:100%;height:100%}
@@ -1,35 +0,0 @@
1
- import { IPanelItemProvider, IPanelItemController } from '@ibiz-template/runtime';
2
- import { IPanelContainer, IPanelItem } from '@ibiz/model-core';
3
- import { PropType, VNode } from 'vue';
4
- import { SingleDataContainerController } from './single-data-container.controller';
5
- import './single-data-container.scss';
6
- export declare const SingleDataContainer: import("vue").DefineComponent<{
7
- modelData: {
8
- type: PropType<IPanelContainer>;
9
- required: true;
10
- };
11
- controller: {
12
- type: typeof SingleDataContainerController;
13
- required: true;
14
- };
15
- }, {
16
- ns: import("@ibiz-template/core").Namespace;
17
- classArr: import("vue").ComputedRef<(string | false)[]>;
18
- renderPanelItem: (panelItem: IPanelItem, options?: {
19
- providers: {
20
- [key: string]: IPanelItemProvider;
21
- };
22
- panelItems: {
23
- [key: string]: IPanelItemController;
24
- };
25
- } | undefined) => VNode | null;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- modelData: {
28
- type: PropType<IPanelContainer>;
29
- required: true;
30
- };
31
- controller: {
32
- type: typeof SingleDataContainerController;
33
- required: true;
34
- };
35
- }>>, {}, {}>;
@@ -1,76 +0,0 @@
1
- import { isVNode, reactive, inject, computed, resolveComponent, createVNode, defineComponent } from 'vue';
2
- import { useNamespace } from '@ibiz-template/vue3-util';
3
- import { SingleDataContainerController } from './single-data-container.controller.mjs';
4
- import './single-data-container.css';
5
-
6
- "use strict";
7
- function _isSlot(s) {
8
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
9
- }
10
- const SingleDataContainer = /* @__PURE__ */ defineComponent({
11
- name: "IBizSingleDataContainer",
12
- props: {
13
- modelData: {
14
- type: Object,
15
- required: true
16
- },
17
- controller: {
18
- type: SingleDataContainerController,
19
- required: true
20
- }
21
- },
22
- setup(props) {
23
- const ns = useNamespace("single-data-container");
24
- const {
25
- id
26
- } = props.modelData;
27
- const keys = Object.keys(props.controller.panelItems);
28
- keys.forEach((key) => {
29
- const panelItem = props.controller.panelItems[key];
30
- panelItem.state = reactive(panelItem.state);
31
- });
32
- const renderPanelItem = inject("renderPanelItem");
33
- const classArr = computed(() => {
34
- const result = [ns.b(), ns.m(id), ...props.controller.containerClass];
35
- return result;
36
- });
37
- return {
38
- ns,
39
- classArr,
40
- renderPanelItem
41
- };
42
- },
43
- render() {
44
- let content;
45
- if (this.$slots.default) {
46
- content = this.$slots.default();
47
- } else {
48
- content = createVNode(resolveComponent("iBizRow"), {
49
- "class": this.ns.b("content"),
50
- "layout": this.modelData.layout
51
- }, {
52
- default: () => {
53
- var _a;
54
- return [(_a = this.modelData.panelItems) == null ? void 0 : _a.map((panelItem) => {
55
- let _slot;
56
- const childController = this.controller.panelItems[panelItem.id];
57
- return createVNode(resolveComponent("iBizCol"), {
58
- "layoutPos": panelItem.layoutPos,
59
- "state": childController.state
60
- }, _isSlot(_slot = this.renderPanelItem(panelItem, {
61
- providers: this.controller.providers,
62
- panelItems: this.controller.panelItems
63
- })) ? _slot : {
64
- default: () => [_slot]
65
- });
66
- })];
67
- }
68
- });
69
- }
70
- return createVNode("div", {
71
- "class": this.classArr
72
- }, [content]);
73
- }
74
- });
75
-
76
- export { SingleDataContainer };
@@ -1,15 +0,0 @@
1
- import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
2
- import { IPanelContainer } from '@ibiz/model-core';
3
- /**
4
- * 单项数据容器适配器
5
- *
6
- * @author lxm
7
- * @date 2022-09-19 22:09:03
8
- * @export
9
- * @class SingleDataContainerProvider
10
- * @implements {EditorProvider}
11
- */
12
- export declare class SingleDataContainerProvider implements IPanelItemProvider {
13
- component: string;
14
- createController(panelItem: IPanelContainer, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
15
- }
@@ -1,21 +0,0 @@
1
- import { SingleDataContainerController } from './single-data-container.controller.mjs';
2
-
3
- "use strict";
4
- var __defProp = Object.defineProperty;
5
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => {
7
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
- return value;
9
- };
10
- class SingleDataContainerProvider {
11
- constructor() {
12
- __publicField(this, "component", "IBizSingleDataContainer");
13
- }
14
- async createController(panelItem, panel, parent) {
15
- const c = new SingleDataContainerController(panelItem, panel, parent);
16
- await c.init();
17
- return c;
18
- }
19
- }
20
-
21
- export { SingleDataContainerProvider };
@@ -1,19 +0,0 @@
1
- import { PanelItemState } from '@ibiz-template/runtime';
2
- /**
3
- * 单项数据容器状态
4
- *
5
- * @author lxm
6
- * @date 2023-02-07 06:04:27
7
- * @export
8
- * @class SingleDataContainerState
9
- * @extends {PanelItemState}
10
- */
11
- export declare class SingleDataContainerState extends PanelItemState {
12
- /**
13
- * 单项数据容器数据
14
- * @author lxm
15
- * @date 2023-07-14 12:07:45
16
- * @type {(IData | IData[])}
17
- */
18
- data: IData;
19
- }
@@ -1,23 +0,0 @@
1
- import { PanelItemState } from '@ibiz-template/runtime';
2
-
3
- "use strict";
4
- var __defProp = Object.defineProperty;
5
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => {
7
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
- return value;
9
- };
10
- class SingleDataContainerState extends PanelItemState {
11
- constructor() {
12
- super(...arguments);
13
- /**
14
- * 单项数据容器数据
15
- * @author lxm
16
- * @date 2023-07-14 12:07:45
17
- * @type {(IData | IData[])}
18
- */
19
- __publicField(this, "data", {});
20
- }
21
- }
22
-
23
- export { SingleDataContainerState };
@@ -1,92 +0,0 @@
1
- import { QXEvent } from 'qx-util';
2
- import { IOverlayContainer } from '@ibiz-template/runtime';
3
- import { App, Component, VNode } from 'vue';
4
- /**
5
- * 全局弹出承载组件
6
- *
7
- * @author chitanda
8
- * @date 2022-11-09 12:11:09
9
- * @export
10
- * @class OverlayContainer
11
- */
12
- export declare class OverlayContainer<O> implements IOverlayContainer {
13
- protected component: unknown;
14
- protected render: (...args: any[]) => VNode;
15
- protected opts?: O | undefined;
16
- protected vm?: App;
17
- /**
18
- * 具体模态组件
19
- *
20
- * @author chitanda
21
- * @date 2022-11-09 12:11:34
22
- * @protected
23
- * @type {*}
24
- */
25
- protected modal: any;
26
- /**
27
- * 外面调用dismiss时传的result结果
28
- *
29
- * @author lxm
30
- * @date 2022-11-09 20:11:06
31
- * @protected
32
- * @type {unknown}
33
- */
34
- protected result?: unknown;
35
- /**
36
- * 内部事件
37
- *
38
- * @author chitanda
39
- * @date 2022-11-09 12:11:42
40
- * @protected
41
- */
42
- protected evt: QXEvent<{
43
- dismiss: (data?: unknown) => void;
44
- }>;
45
- /**
46
- * 创建全局呈现
47
- *
48
- * @author chitanda
49
- * @date 2022-11-09 14:11:52
50
- * @param {unknown} component
51
- * @param {(h: CreateElement) => VNode} render
52
- * @param {IPopoverOptions} [opts]
53
- */
54
- constructor(component: unknown, render: (...args: any[]) => VNode, opts?: O | undefined);
55
- static createVueApp(_rootComponent: Component, _rootProps?: IData): App<Element>;
56
- /**
57
- * 初始化飘窗
58
- *
59
- * @author chitanda
60
- * @date 2022-11-09 12:11:55
61
- * @protected
62
- * @return {*} {void}
63
- */
64
- protected init(): void;
65
- /**
66
- * 打开飘窗
67
- *
68
- * @author chitanda
69
- * @date 2022-11-09 12:11:52
70
- * @param {HTMLElement} target
71
- * @return {*} {Promise<void>}
72
- */
73
- present(): Promise<void>;
74
- /**
75
- * 手动调用关闭飘窗
76
- *
77
- * @author chitanda
78
- * @date 2022-11-09 12:11:39
79
- * @param {unknown} [data]
80
- * @return {*} {Promise<void>}
81
- */
82
- dismiss(data?: unknown): Promise<void>;
83
- /**
84
- * 订阅窗口关闭
85
- *
86
- * @author chitanda
87
- * @date 2022-11-09 12:11:20
88
- * @template T
89
- * @return {*} {Promise<T>}
90
- */
91
- onWillDismiss<T = unknown>(): Promise<T>;
92
- }