@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,11 +0,0 @@
1
- 'use strict';
2
-
3
- var scrollContainerItem_provider = require('./scroll-container-item.provider.cjs');
4
- var scrollContainerItem_controller = require('./scroll-container-item.controller.cjs');
5
- var scrollContainerItem = require('./scroll-container-item.cjs');
6
-
7
- "use strict";
8
-
9
- exports.ScrollContainerItemProvider = scrollContainerItem_provider.ScrollContainerItemProvider;
10
- exports.ScrollContainerItemController = scrollContainerItem_controller.ScrollContainerItemController;
11
- exports.ScrollContainerItem = scrollContainerItem.ScrollContainerItem;
@@ -1,65 +0,0 @@
1
- 'use strict';
2
-
3
- var vue = require('vue');
4
- var vue3Util = require('@ibiz-template/vue3-util');
5
- var scrollContainerItem_controller = require('./scroll-container-item.controller.cjs');
6
- require('./scroll-container-item.css');
7
-
8
- "use strict";
9
- function _isSlot(s) {
10
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
11
- }
12
- const ScrollContainerItem = /* @__PURE__ */ vue.defineComponent({
13
- name: "IBizScrollContainerItem",
14
- props: {
15
- modelData: {
16
- type: Object,
17
- required: true
18
- },
19
- controller: {
20
- type: scrollContainerItem_controller.ScrollContainerItemController,
21
- required: true
22
- }
23
- },
24
- setup(props) {
25
- const ns = vue3Util.useNamespace("scroll-container-item");
26
- const {
27
- id
28
- } = props.modelData;
29
- const classArr = vue.computed(() => {
30
- const result = [ns.b(), ns.m(id), ns.is("hidden", !props.controller.state.visible)];
31
- return result;
32
- });
33
- return {
34
- ns,
35
- classArr
36
- };
37
- },
38
- render() {
39
- var _a, _b;
40
- let _slot;
41
- const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
42
- return vue.createVNode(vue.resolveComponent("iBizRow"), {
43
- "class": this.classArr,
44
- "layout": {
45
- layout: "FLEX"
46
- }
47
- }, _isSlot(_slot = defaultSlots.map((slot) => {
48
- const props = slot.props;
49
- if (!props || !props.controller) {
50
- return slot;
51
- }
52
- props.modelData.layoutPos.layout = "FLEX";
53
- return vue.createVNode(vue.resolveComponent("iBizCol"), {
54
- "layoutPos": props.modelData.layoutPos,
55
- "state": props.controller.state
56
- }, _isSlot(slot) ? slot : {
57
- default: () => [slot]
58
- });
59
- })) ? _slot : {
60
- default: () => [_slot]
61
- });
62
- }
63
- });
64
-
65
- exports.ScrollContainerItem = ScrollContainerItem;
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var runtime = require('@ibiz-template/runtime');
4
-
5
- "use strict";
6
- class ScrollContainerItemController extends runtime.PanelItemController {
7
- }
8
-
9
- exports.ScrollContainerItemController = ScrollContainerItemController;
@@ -1 +0,0 @@
1
- .ibiz-scroll-container-item{width:100%;height:100%;overflow:auto}.ibiz-scroll-container-item.is-hidden{display:none}
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- var scrollContainerItem_controller = require('./scroll-container-item.controller.cjs');
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 ScrollContainerItemProvider {
13
- constructor() {
14
- __publicField(this, "component", "IBizScrollContainerItem");
15
- }
16
- async createController(panelItem, panel, parent) {
17
- const c = new scrollContainerItem_controller.ScrollContainerItemController(panelItem, panel, parent);
18
- await c.init();
19
- return c;
20
- }
21
- }
22
-
23
- exports.ScrollContainerItemProvider = ScrollContainerItemProvider;
@@ -1,28 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var vue3Util = require('@ibiz-template/vue3-util');
6
- var runtime = require('@ibiz-template/runtime');
7
- var singleDataContainer = require('./single-data-container.cjs');
8
- var singleDataContainer_provider = require('./single-data-container.provider.cjs');
9
- var singleDataContainer_state = require('./single-data-container.state.cjs');
10
- var singleDataContainer_controller = require('./single-data-container.controller.cjs');
11
-
12
- "use strict";
13
- const IBizSingleDataContainer = vue3Util.withInstall(
14
- singleDataContainer.SingleDataContainer,
15
- function(v) {
16
- v.component(singleDataContainer.SingleDataContainer.name, singleDataContainer.SingleDataContainer);
17
- runtime.registerPanelItemProvider(
18
- "CONTAINER_CONTAINER_SINGLEDATA",
19
- () => new singleDataContainer_provider.SingleDataContainerProvider()
20
- );
21
- }
22
- );
23
-
24
- exports.SingleDataContainerProvider = singleDataContainer_provider.SingleDataContainerProvider;
25
- exports.SingleDataContainerState = singleDataContainer_state.SingleDataContainerState;
26
- exports.SingleDataContainerController = singleDataContainer_controller.SingleDataContainerController;
27
- exports.IBizSingleDataContainer = IBizSingleDataContainer;
28
- exports.default = IBizSingleDataContainer;
@@ -1,78 +0,0 @@
1
- 'use strict';
2
-
3
- var vue = require('vue');
4
- var vue3Util = require('@ibiz-template/vue3-util');
5
- var singleDataContainer_controller = require('./single-data-container.controller.cjs');
6
- require('./single-data-container.css');
7
-
8
- "use strict";
9
- function _isSlot(s) {
10
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
11
- }
12
- const SingleDataContainer = /* @__PURE__ */ vue.defineComponent({
13
- name: "IBizSingleDataContainer",
14
- props: {
15
- modelData: {
16
- type: Object,
17
- required: true
18
- },
19
- controller: {
20
- type: singleDataContainer_controller.SingleDataContainerController,
21
- required: true
22
- }
23
- },
24
- setup(props) {
25
- const ns = vue3Util.useNamespace("single-data-container");
26
- const {
27
- id
28
- } = props.modelData;
29
- const keys = Object.keys(props.controller.panelItems);
30
- keys.forEach((key) => {
31
- const panelItem = props.controller.panelItems[key];
32
- panelItem.state = vue.reactive(panelItem.state);
33
- });
34
- const renderPanelItem = vue.inject("renderPanelItem");
35
- const classArr = vue.computed(() => {
36
- const result = [ns.b(), ns.m(id), ...props.controller.containerClass];
37
- return result;
38
- });
39
- return {
40
- ns,
41
- classArr,
42
- renderPanelItem
43
- };
44
- },
45
- render() {
46
- let content;
47
- if (this.$slots.default) {
48
- content = this.$slots.default();
49
- } else {
50
- content = vue.createVNode(vue.resolveComponent("iBizRow"), {
51
- "class": this.ns.b("content"),
52
- "layout": this.modelData.layout
53
- }, {
54
- default: () => {
55
- var _a;
56
- return [(_a = this.modelData.panelItems) == null ? void 0 : _a.map((panelItem) => {
57
- let _slot;
58
- const childController = this.controller.panelItems[panelItem.id];
59
- return vue.createVNode(vue.resolveComponent("iBizCol"), {
60
- "layoutPos": panelItem.layoutPos,
61
- "state": childController.state
62
- }, _isSlot(_slot = this.renderPanelItem(panelItem, {
63
- providers: this.controller.providers,
64
- panelItems: this.controller.panelItems
65
- })) ? _slot : {
66
- default: () => [_slot]
67
- });
68
- })];
69
- }
70
- });
71
- }
72
- return vue.createVNode("div", {
73
- "class": this.classArr
74
- }, [content]);
75
- }
76
- });
77
-
78
- exports.SingleDataContainer = SingleDataContainer;
@@ -1,293 +0,0 @@
1
- 'use strict';
2
-
3
- var core = require('@ibiz-template/core');
4
- var runtime = require('@ibiz-template/runtime');
5
- var singleDataContainer_state = require('./single-data-container.state.cjs');
6
-
7
- "use strict";
8
- var __defProp = Object.defineProperty;
9
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10
- var __publicField = (obj, key, value) => {
11
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
- return value;
13
- };
14
- class SingleDataContainerController extends runtime.PanelItemController {
15
- constructor() {
16
- super(...arguments);
17
- __publicField(this, "isDataContainer", true);
18
- /**
19
- * 所有面板成员的控制器
20
- *
21
- * @author lxm
22
- * @date 2022-08-24 20:08:07
23
- * @type {{ [key: string]: IPanelItemController }}
24
- */
25
- __publicField(this, "panelItems", {});
26
- /**
27
- * 所有面板成员的适配器
28
- *
29
- * @author lxm
30
- * @date 2022-08-24 20:08:07
31
- * @type {{ [key: string]: IPanelItemProvider }}
32
- */
33
- __publicField(this, "providers", {});
34
- }
35
- /**
36
- * 单项数据容器,根据数据模式
37
- * @author lxm
38
- * @date 2023-07-14 10:59:02
39
- * @readonly
40
- * @type {IData}
41
- */
42
- get data() {
43
- return this.state.data;
44
- }
45
- createState() {
46
- var _a;
47
- return new singleDataContainer_state.SingleDataContainerState((_a = this.parent) == null ? void 0 : _a.state);
48
- }
49
- async onInit() {
50
- await super.onInit();
51
- await this.initPanelItemControllers();
52
- this.initContainerData();
53
- }
54
- /**
55
- * 初始化面板成员控制器
56
- *
57
- * @author lxm
58
- * @date 2022-08-24 21:08:48
59
- * @protected
60
- */
61
- async initPanelItemControllers(panelItems = this.model.panelItems, panel = this.panel, parent = this) {
62
- if (!panelItems) {
63
- return;
64
- }
65
- await Promise.all(
66
- panelItems.map(async (panelItem) => {
67
- var _a, _b;
68
- const panelItemProvider = await runtime.getPanelItemProvider(panelItem);
69
- if (!panelItemProvider) {
70
- return;
71
- }
72
- this.providers[panelItem.id] = panelItemProvider;
73
- const panelItemController = await panelItemProvider.createController(
74
- panelItem,
75
- panel,
76
- parent
77
- );
78
- this.panelItems[panelItem.id] = panelItemController;
79
- if (((_a = panelItem.panelItems) == null ? void 0 : _a.length) && !runtime.isDataContainer(panelItem)) {
80
- await this.initPanelItemControllers(
81
- panelItem.panelItems,
82
- panel,
83
- panelItemController
84
- );
85
- }
86
- if ((_b = panelItem.panelTabPages) == null ? void 0 : _b.length) {
87
- await this.initPanelItemControllers(
88
- panelItem.panelTabPages,
89
- panel,
90
- panelItemController
91
- );
92
- }
93
- })
94
- );
95
- }
96
- /**
97
- * 根据来源类型初始化容器数据
98
- * @author lxm
99
- * @date 2023-08-04 03:05:59
100
- * @protected
101
- */
102
- initContainerData() {
103
- const { dataSourceType, dataName } = this.model;
104
- switch (dataSourceType) {
105
- case "DEACTION":
106
- case "DEDATASET":
107
- this.setDataByDeMethod();
108
- break;
109
- case "APPGLOBALPARAM":
110
- this.setDataByAppGlobalParam();
111
- break;
112
- case "DELOGIC":
113
- this.setDataByDeLogic();
114
- break;
115
- case "TOPVIEWSESSIONPARAM": {
116
- if (!dataName) {
117
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u6570\u636E\u5BF9\u8C61\u540D\u79F0");
118
- }
119
- this.bindViewData(this.panel.getTopView(), dataName);
120
- break;
121
- }
122
- case "VIEWSESSIONPARAM": {
123
- if (!dataName) {
124
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u6570\u636E\u5BF9\u8C61\u540D\u79F0");
125
- }
126
- this.bindViewData(this.panel.view, dataName);
127
- break;
128
- }
129
- default:
130
- throw new core.ModelError(this.model, `\u6570\u636E\u6E90\u7C7B\u578B${dataSourceType}\u6682\u672A\u652F\u6301`);
131
- }
132
- }
133
- /**
134
- * 面板状态变更通知
135
- *
136
- * @author lxm
137
- * @date 2022-09-20 18:09:07
138
- */
139
- childrenStateNotify(state) {
140
- Object.values(this.panelItems).forEach((panelItem) => {
141
- panelItem.panelStateNotify(state);
142
- });
143
- }
144
- /**
145
- * 设置数据
146
- * @author lxm
147
- * @date 2023-09-05 05:42:09
148
- * @param {IData[]} items
149
- */
150
- async setData(data) {
151
- var _a, _b;
152
- const fields = runtime.getAllPanelField(this.model);
153
- const fieldKeys = fields.map((item) => item.id);
154
- const panelData = new runtime.PanelData(fields, data);
155
- panelData._evt.on("change", (key) => {
156
- if (fieldKeys.includes(key)) {
157
- this.childDataChangeNotify([key]);
158
- }
159
- });
160
- (_b = (_a = this.data).destroy) == null ? void 0 : _b.call(_a);
161
- this.state.data = panelData;
162
- this.childrenStateNotify(runtime.PanelNotifyState.LOAD);
163
- }
164
- /**
165
- * 通过实体设置视图逻辑
166
- * @author lxm
167
- * @date 2023-08-04 03:00:31
168
- * @protected
169
- * @return {*} {Promise<void>}
170
- */
171
- async setDataByDeLogic() {
172
- const { appDataEntityId, appDELogicId } = this.model;
173
- if (!appDELogicId) {
174
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u903B\u8F91");
175
- }
176
- if (!appDataEntityId) {
177
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53");
178
- }
179
- const data = await runtime.execDELogicById(
180
- appDELogicId,
181
- appDataEntityId,
182
- this.panel.context,
183
- [],
184
- this.panel.params
185
- );
186
- if (!data) {
187
- throw new core.RuntimeError(`\u5B9E\u4F53\u903B\u8F91${appDELogicId}\u6CA1\u6709\u8FD4\u56DE\u503C`);
188
- }
189
- this.setData(data);
190
- }
191
- /**
192
- * 设置全局变量为当前容器数据
193
- * @author lxm
194
- * @date 2023-08-04 01:55:07
195
- * @protected
196
- */
197
- setDataByAppGlobalParam() {
198
- const { dataName } = this.model;
199
- const originData = dataName ? ibiz.appData[dataName] : ibiz.appData;
200
- if (originData) {
201
- this.setData(originData);
202
- } else {
203
- ibiz.log.error(`\u5168\u5C40\u53D8\u91CF\u91CC\u6CA1\u6709${dataName}\u5C5E\u6027`);
204
- }
205
- }
206
- /**
207
- * 请求实体行为并把返回值设置为当前容器的数据
208
- * @author lxm
209
- * @date 2023-08-04 11:47:17
210
- * @protected
211
- * @return {*} {Promise<void>}
212
- */
213
- async setDataByDeMethod() {
214
- const { appDEMethodId, appDataEntityId } = this.model;
215
- if (!appDEMethodId) {
216
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u884C\u4E3A");
217
- }
218
- if (!appDataEntityId) {
219
- throw new core.RuntimeModelError(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53");
220
- }
221
- const app = ibiz.hub.getApp(this.panel.context.srfappid);
222
- const res = await app.deService.exec(
223
- appDataEntityId,
224
- appDEMethodId,
225
- this.panel.context,
226
- [],
227
- this.panel.params
228
- );
229
- if (res.ok && res.data) {
230
- this.setData(res.data);
231
- }
232
- }
233
- /**
234
- * 绑定指定视图会话的变量
235
- * @author lxm
236
- * @date 2023-07-14 02:03:56
237
- * @protected
238
- * @param {IViewController} view 绑定视图控制器
239
- * @param {string} dataName 变量名称
240
- */
241
- bindViewData(view, dataName) {
242
- if (!Object.prototype.hasOwnProperty.call(view.state, dataName)) {
243
- ibiz.log.error(`\u7ED1\u5B9A\u89C6\u56FE\u7684\u4F1A\u8BDD\u4E0D\u5B58\u5728${dataName}`);
244
- return;
245
- }
246
- const updateData = () => {
247
- const originData = view.state[dataName];
248
- if (originData) {
249
- this.setData(originData);
250
- } else {
251
- ibiz.log.error(`\u89C6\u56FEstate\u91CC\u6CA1\u6709${dataName}\u5C5E\u6027`);
252
- }
253
- };
254
- updateData();
255
- view.evt.on("onDataChange", () => {
256
- updateData();
257
- });
258
- }
259
- /**
260
- * 通知所有子面板成员面板操作过程中的数据变更
261
- *
262
- * @author lxm
263
- * @date 2022-09-20 18:09:40
264
- * @param {string[]} names
265
- */
266
- childDataChangeNotify(names) {
267
- Object.values(this.panelItems).forEach((panelItem) => {
268
- panelItem.dataChangeNotify(names);
269
- });
270
- }
271
- /**
272
- * 设置面板数据的值
273
- *
274
- * @param {string} name 要设置的数据的属性名称
275
- * @param {unknown} value 要设置的值
276
- */
277
- async setDataValue(name, value) {
278
- if (Object.prototype.hasOwnProperty.call(this.state.data, name) && this.state.data[name] === value) {
279
- return;
280
- }
281
- this.state.data[name] = value;
282
- }
283
- destroy() {
284
- var _a, _b;
285
- super.destroy();
286
- (_b = (_a = this.data).destroy) == null ? void 0 : _b.call(_a);
287
- Object.values(this.panelItems).forEach((item) => {
288
- item.destroy();
289
- });
290
- }
291
- }
292
-
293
- exports.SingleDataContainerController = SingleDataContainerController;
@@ -1 +0,0 @@
1
- .ibiz-single-data-container{width:100%;height:100%}
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- var singleDataContainer_controller = require('./single-data-container.controller.cjs');
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 SingleDataContainerProvider {
13
- constructor() {
14
- __publicField(this, "component", "IBizSingleDataContainer");
15
- }
16
- async createController(panelItem, panel, parent) {
17
- const c = new singleDataContainer_controller.SingleDataContainerController(panelItem, panel, parent);
18
- await c.init();
19
- return c;
20
- }
21
- }
22
-
23
- exports.SingleDataContainerProvider = SingleDataContainerProvider;
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- var runtime = require('@ibiz-template/runtime');
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 SingleDataContainerState extends runtime.PanelItemState {
13
- constructor() {
14
- super(...arguments);
15
- /**
16
- * 单项数据容器数据
17
- * @author lxm
18
- * @date 2023-07-14 12:07:45
19
- * @type {(IData | IData[])}
20
- */
21
- __publicField(this, "data", {});
22
- }
23
- }
24
-
25
- exports.SingleDataContainerState = SingleDataContainerState;