@ibiz-template/vue3-util 0.7.41-alpha.13 → 0.7.41-alpha.131

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 (647) hide show
  1. package/dist/index.min.css +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/common/badge/badge.css +1 -1
  4. package/es/common/badge/badge.d.ts +6 -8
  5. package/es/common/badge/badge.d.ts.map +1 -1
  6. package/es/common/badge/badge.mjs +13 -7
  7. package/es/common/code-list/code-list.d.ts +10 -10
  8. package/es/common/code-list/code-list.d.ts.map +1 -1
  9. package/es/common/code-list/code-list.mjs +1 -1
  10. package/es/common/control-base/control-base.d.ts.map +1 -1
  11. package/es/common/control-base/control-base.mjs +9 -15
  12. package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +4 -4
  13. package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts.map +1 -1
  14. package/es/common/control-shell/control-shell.d.ts +7 -7
  15. package/es/common/control-shell/control-shell.d.ts.map +1 -1
  16. package/es/common/control-shell/control-shell.mjs +1 -1
  17. package/es/common/custom-render/custom-render.d.ts +4 -4
  18. package/es/common/custom-render/custom-render.d.ts.map +1 -1
  19. package/es/common/icon/icon.d.ts +4 -4
  20. package/es/common/icon/icon.d.ts.map +1 -1
  21. package/es/common/icon/icon.mjs +12 -0
  22. package/es/common/index.d.ts +1 -0
  23. package/es/common/index.d.ts.map +1 -1
  24. package/es/common/index.mjs +1 -0
  25. package/es/common/router-view/router-view.d.ts +7 -8
  26. package/es/common/router-view/router-view.d.ts.map +1 -1
  27. package/es/common/router-view/router-view.mjs +1 -1
  28. package/es/common/signature-pad/signature-pad.css +1 -0
  29. package/es/common/signature-pad/signature-pad.d.ts +19 -0
  30. package/es/common/signature-pad/signature-pad.d.ts.map +1 -0
  31. package/es/common/signature-pad/signature-pad.mjs +165 -0
  32. package/es/common/signature-pad/util/bezier.d.ts +58 -0
  33. package/es/common/signature-pad/util/bezier.d.ts.map +1 -0
  34. package/es/common/signature-pad/util/bezier.mjs +109 -0
  35. package/es/common/signature-pad/util/point.d.ts +55 -0
  36. package/es/common/signature-pad/util/point.d.ts.map +1 -0
  37. package/es/common/signature-pad/util/point.mjs +51 -0
  38. package/es/common/signature-pad/util/signature_pad.d.ts +593 -0
  39. package/es/common/signature-pad/util/signature_pad.d.ts.map +1 -0
  40. package/es/common/signature-pad/util/signature_pad.mjs +1018 -0
  41. package/es/common/view-shell/view-shell.d.ts +19 -12
  42. package/es/common/view-shell/view-shell.d.ts.map +1 -1
  43. package/es/common/view-shell/view-shell.mjs +42 -23
  44. package/es/control/panel/panel/index.d.ts +5 -5
  45. package/es/control/panel/panel/index.d.ts.map +1 -1
  46. package/es/control/panel/panel/panel.d.ts +6 -6
  47. package/es/control/panel/panel/panel.d.ts.map +1 -1
  48. package/es/control/panel/panel/panel.mjs +13 -5
  49. package/es/control/panel/view-layout-panel/index.d.ts +5 -5
  50. package/es/control/panel/view-layout-panel/index.d.ts.map +1 -1
  51. package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +7 -7
  52. package/es/control/panel/view-layout-panel/view-layout-panel.d.ts.map +1 -1
  53. package/es/control/panel/view-layout-panel/view-layout-panel.mjs +6 -6
  54. package/es/index.mjs +9 -11
  55. package/es/locale/en/index.d.ts +1 -0
  56. package/es/locale/en/index.d.ts.map +1 -1
  57. package/es/locale/en/index.mjs +2 -1
  58. package/es/locale/zh-CN/index.d.ts +1 -0
  59. package/es/locale/zh-CN/index.d.ts.map +1 -1
  60. package/es/locale/zh-CN/index.mjs +2 -1
  61. package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +2 -2
  62. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.d.ts.map +1 -1
  63. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.mjs +3 -1
  64. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
  65. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts +6 -4
  66. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts.map +1 -1
  67. package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.mjs +17 -6
  68. package/es/panel-component/auth-wxmp-qrcode/index.d.ts +6 -4
  69. package/es/panel-component/auth-wxmp-qrcode/index.d.ts.map +1 -1
  70. package/es/panel-component/grid-container/grid-container.controller.d.ts +3 -3
  71. package/es/panel-component/grid-container/grid-container.controller.d.ts.map +1 -1
  72. package/es/panel-component/grid-container/grid-container.controller.mjs +2 -2
  73. package/es/panel-component/grid-container/grid-container.d.ts +8 -6
  74. package/es/panel-component/grid-container/grid-container.d.ts.map +1 -1
  75. package/es/panel-component/grid-container/grid-container.mjs +17 -6
  76. package/es/panel-component/grid-container/grid-container.state.d.ts +3 -3
  77. package/es/panel-component/grid-container/grid-container.state.d.ts.map +1 -1
  78. package/es/panel-component/grid-container/grid-container.state.mjs +2 -2
  79. package/es/panel-component/grid-container/index.d.ts +8 -6
  80. package/es/panel-component/grid-container/index.d.ts.map +1 -1
  81. package/es/panel-component/index.d.ts +0 -1
  82. package/es/panel-component/index.d.ts.map +1 -1
  83. package/es/panel-component/index.mjs +1 -5
  84. package/es/panel-component/multi-data-container/index.d.ts +6 -4
  85. package/es/panel-component/multi-data-container/index.d.ts.map +1 -1
  86. package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +4 -4
  87. package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts.map +1 -1
  88. package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +88 -69
  89. package/es/panel-component/multi-data-container/multi-data-container.d.ts +7 -5
  90. package/es/panel-component/multi-data-container/multi-data-container.d.ts.map +1 -1
  91. package/es/panel-component/multi-data-container/multi-data-container.mjs +20 -6
  92. package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +3 -3
  93. package/es/panel-component/multi-data-container/multi-data-container.state.d.ts.map +1 -1
  94. package/es/panel-component/multi-data-container/multi-data-container.state.mjs +2 -2
  95. package/es/panel-component/multi-data-container-raw/index.d.ts +6 -4
  96. package/es/panel-component/multi-data-container-raw/index.d.ts.map +1 -1
  97. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts +4 -4
  98. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts.map +1 -1
  99. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.mjs +88 -69
  100. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts +7 -5
  101. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts.map +1 -1
  102. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.mjs +23 -7
  103. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts +3 -3
  104. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts.map +1 -1
  105. package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.mjs +2 -2
  106. package/es/panel-component/nav-pos/index.d.ts +7 -5
  107. package/es/panel-component/nav-pos/index.d.ts.map +1 -1
  108. package/es/panel-component/nav-pos/nav-pos.controller.d.ts +1 -1
  109. package/es/panel-component/nav-pos/nav-pos.d.ts +8 -6
  110. package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -1
  111. package/es/panel-component/nav-pos/nav-pos.mjs +20 -5
  112. package/es/panel-component/panel-container/index.d.ts +7 -6
  113. package/es/panel-component/panel-container/index.d.ts.map +1 -1
  114. package/es/panel-component/panel-container/index.mjs +1 -2
  115. package/es/panel-component/panel-container/panel-container.d.ts +7 -5
  116. package/es/panel-component/panel-container/panel-container.d.ts.map +1 -1
  117. package/es/panel-component/panel-container/panel-container.mjs +36 -15
  118. package/es/panel-component/panel-container/panel-container.provider.d.ts +2 -2
  119. package/es/panel-component/panel-container/panel-container.provider.d.ts.map +1 -1
  120. package/es/panel-component/panel-container/panel-container.provider.mjs +1 -1
  121. package/es/panel-component/panel-container-image/index.d.ts +6 -4
  122. package/es/panel-component/panel-container-image/index.d.ts.map +1 -1
  123. package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts +3 -3
  124. package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts.map +1 -1
  125. package/es/panel-component/panel-container-image/panel-container-image.controller.mjs +2 -2
  126. package/es/panel-component/panel-container-image/panel-container-image.css +1 -1
  127. package/es/panel-component/panel-container-image/panel-container-image.d.ts +6 -4
  128. package/es/panel-component/panel-container-image/panel-container-image.d.ts.map +1 -1
  129. package/es/panel-component/panel-container-image/panel-container-image.mjs +24 -10
  130. package/es/panel-component/panel-container-image/panel-container-image.state.d.ts +3 -3
  131. package/es/panel-component/panel-container-image/panel-container-image.state.d.ts.map +1 -1
  132. package/es/panel-component/panel-container-image/panel-container-image.state.mjs +2 -2
  133. package/es/panel-component/panel-container-tabs/index.d.ts +6 -6
  134. package/es/panel-component/panel-container-tabs/index.d.ts.map +1 -1
  135. package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts +5 -5
  136. package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts.map +1 -1
  137. package/es/panel-component/panel-container-tabs/panel-container-tabs.mjs +1 -1
  138. package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.d.ts +2 -2
  139. package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.d.ts.map +1 -1
  140. package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.mjs +1 -1
  141. package/es/panel-component/panel-ctrl-pos/index.d.ts +6 -4
  142. package/es/panel-component/panel-ctrl-pos/index.d.ts.map +1 -1
  143. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +6 -4
  144. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts.map +1 -1
  145. package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +12 -4
  146. package/es/panel-component/panel-ctrl-view-page-caption/index.d.ts +6 -4
  147. package/es/panel-component/panel-ctrl-view-page-caption/index.d.ts.map +1 -1
  148. package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.css +1 -0
  149. package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts +7 -4
  150. package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts.map +1 -1
  151. package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.mjs +16 -8
  152. package/es/panel-component/panel-field/index.d.ts +7 -4
  153. package/es/panel-component/panel-field/index.d.ts.map +1 -1
  154. package/es/panel-component/panel-field/panel-field.controller.d.ts +12 -0
  155. package/es/panel-component/panel-field/panel-field.controller.d.ts.map +1 -1
  156. package/es/panel-component/panel-field/panel-field.controller.mjs +37 -3
  157. package/es/panel-component/panel-field/panel-field.css +1 -1
  158. package/es/panel-component/panel-field/panel-field.d.ts +7 -4
  159. package/es/panel-component/panel-field/panel-field.d.ts.map +1 -1
  160. package/es/panel-component/panel-field/panel-field.mjs +29 -12
  161. package/es/panel-component/panel-item-render/index.d.ts +6 -4
  162. package/es/panel-component/panel-item-render/index.d.ts.map +1 -1
  163. package/es/panel-component/panel-item-render/panel-item-render.controller.d.ts.map +1 -1
  164. package/es/panel-component/panel-item-render/panel-item-render.controller.mjs +7 -5
  165. package/es/panel-component/panel-item-render/panel-item-render.d.ts +6 -4
  166. package/es/panel-component/panel-item-render/panel-item-render.d.ts.map +1 -1
  167. package/es/panel-component/panel-item-render/panel-item-render.mjs +13 -4
  168. package/es/panel-component/panel-rawitem/index.d.ts +8 -6
  169. package/es/panel-component/panel-rawitem/index.d.ts.map +1 -1
  170. package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +8 -6
  171. package/es/panel-component/panel-rawitem/panel-rawitem.d.ts.map +1 -1
  172. package/es/panel-component/panel-rawitem/panel-rawitem.mjs +15 -10
  173. package/es/panel-component/panel-tab-page/index.d.ts +8 -6
  174. package/es/panel-component/panel-tab-page/index.d.ts.map +1 -1
  175. package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +10 -8
  176. package/es/panel-component/panel-tab-page/panel-tab-page.d.ts.map +1 -1
  177. package/es/panel-component/panel-tab-page/panel-tab-page.mjs +23 -8
  178. package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts +2 -2
  179. package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts.map +1 -1
  180. package/es/panel-component/panel-tab-page/panel-tab-page.provider.mjs +2 -2
  181. package/es/panel-component/scroll-container/index.d.ts +6 -4
  182. package/es/panel-component/scroll-container/index.d.ts.map +1 -1
  183. package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +3 -3
  184. package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts.map +1 -1
  185. package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +2 -2
  186. package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +6 -4
  187. package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts.map +1 -1
  188. package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +26 -15
  189. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +3 -3
  190. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts.map +1 -1
  191. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +2 -2
  192. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +6 -4
  193. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts.map +1 -1
  194. package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +21 -6
  195. package/es/panel-component/single-data-container/index.d.ts +6 -4
  196. package/es/panel-component/single-data-container/index.d.ts.map +1 -1
  197. package/es/panel-component/single-data-container/single-data-container.controller.d.ts +4 -4
  198. package/es/panel-component/single-data-container/single-data-container.controller.d.ts.map +1 -1
  199. package/es/panel-component/single-data-container/single-data-container.controller.mjs +98 -73
  200. package/es/panel-component/single-data-container/single-data-container.d.ts +7 -5
  201. package/es/panel-component/single-data-container/single-data-container.d.ts.map +1 -1
  202. package/es/panel-component/single-data-container/single-data-container.mjs +22 -6
  203. package/es/panel-component/single-data-container/single-data-container.state.d.ts +3 -3
  204. package/es/panel-component/single-data-container/single-data-container.state.d.ts.map +1 -1
  205. package/es/panel-component/single-data-container/single-data-container.state.mjs +2 -2
  206. package/es/panel-component/teleport-placeholder/index.d.ts +7 -5
  207. package/es/panel-component/teleport-placeholder/index.d.ts.map +1 -1
  208. package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts +7 -5
  209. package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts.map +1 -1
  210. package/es/panel-component/teleport-placeholder/teleport-placeholder.mjs +11 -4
  211. package/es/plugin/plugin-factory/plugin-factory.d.ts +15 -0
  212. package/es/plugin/plugin-factory/plugin-factory.d.ts.map +1 -1
  213. package/es/plugin/plugin-factory/plugin-factory.mjs +34 -6
  214. package/es/props/editor/autocomplete.d.ts +2 -2
  215. package/es/props/editor/check-box-list.d.ts +2 -2
  216. package/es/props/editor/check-box.d.ts +2 -2
  217. package/es/props/editor/code.d.ts +17 -0
  218. package/es/props/editor/code.d.ts.map +1 -1
  219. package/es/props/editor/code.mjs +7 -2
  220. package/es/props/editor/common.d.ts +7 -0
  221. package/es/props/editor/common.d.ts.map +1 -1
  222. package/es/props/editor/common.mjs +5 -1
  223. package/es/props/editor/data-picker.d.ts +2 -2
  224. package/es/props/editor/date-picker.d.ts +2 -2
  225. package/es/props/editor/date-range-select.d.ts +4 -0
  226. package/es/props/editor/date-range-select.d.ts.map +1 -1
  227. package/es/props/editor/date-range.d.ts +2 -2
  228. package/es/props/editor/dropdown-list.d.ts +2 -2
  229. package/es/props/editor/html.d.ts +17 -0
  230. package/es/props/editor/html.d.ts.map +1 -1
  231. package/es/props/editor/html.mjs +7 -2
  232. package/es/props/editor/index.mjs +3 -3
  233. package/es/props/editor/list-box.d.ts +2 -2
  234. package/es/props/editor/markdown.d.ts +89 -0
  235. package/es/props/editor/markdown.d.ts.map +1 -1
  236. package/es/props/editor/markdown.mjs +28 -3
  237. package/es/props/editor/number-range.d.ts +2 -2
  238. package/es/props/editor/radio-button-list.d.ts +2 -2
  239. package/es/props/editor/rate.d.ts +2 -2
  240. package/es/props/editor/raw.d.ts +2 -2
  241. package/es/props/editor/slider.d.ts +2 -2
  242. package/es/props/editor/span.d.ts +18 -2
  243. package/es/props/editor/span.d.ts.map +1 -1
  244. package/es/props/editor/span.mjs +6 -1
  245. package/es/props/editor/stepper.d.ts +2 -2
  246. package/es/props/editor/switch.d.ts +2 -2
  247. package/es/props/editor/text-box.d.ts +2 -2
  248. package/es/props/index.mjs +3 -3
  249. package/es/use/index.d.ts +2 -0
  250. package/es/use/index.d.ts.map +1 -1
  251. package/es/use/index.mjs +4 -2
  252. package/es/use/popover/popover.d.ts +7 -0
  253. package/es/use/popover/popover.d.ts.map +1 -1
  254. package/es/use/popover/popover.mjs +9 -2
  255. package/es/use/storage/index.d.ts +4 -6
  256. package/es/use/storage/index.d.ts.map +1 -1
  257. package/es/use/storage/index.mjs +16 -11
  258. package/es/use/tooltip/tooltip.d.ts +103 -0
  259. package/es/use/tooltip/tooltip.d.ts.map +1 -0
  260. package/es/use/tooltip/tooltip.mjs +68 -0
  261. package/es/use/use-semantic-node/use-semantic-node.d.ts +15 -0
  262. package/es/use/use-semantic-node/use-semantic-node.d.ts.map +1 -0
  263. package/es/use/use-semantic-node/use-semantic-node.mjs +100 -0
  264. package/es/use/vue/vue.d.ts +9 -0
  265. package/es/use/vue/vue.d.ts.map +1 -1
  266. package/es/use/vue/vue.mjs +15 -2
  267. package/es/util/index.d.ts +0 -1
  268. package/es/util/index.d.ts.map +1 -1
  269. package/es/util/index.mjs +0 -1
  270. package/es/util/install.d.ts.map +1 -1
  271. package/es/util/overlay-container/overlay-container.d.ts +1 -1
  272. package/es/util/overlay-container/overlay-container.d.ts.map +1 -1
  273. package/es/util/overlay-container/overlay-container.mjs +7 -2
  274. package/es/util/overlay-view-util/overlay-view-util.d.ts +2 -2
  275. package/es/util/overlay-view-util/overlay-view-util.d.ts.map +1 -1
  276. package/es/util/overlay-view-util/overlay-view-util.mjs +2 -1
  277. package/es/util/route/route.d.ts.map +1 -1
  278. package/es/util/route/route.mjs +13 -3
  279. package/es/util/store/app-store/app-store.d.ts +2 -2
  280. package/es/util/store/ui-store/ui-store.d.ts +2 -2
  281. package/es/view/app-redirect-view/app-redirect-view.d.ts +1 -1
  282. package/es/view/app-redirect-view/app-redirect-view.d.ts.map +1 -1
  283. package/es/view/app-redirect-view/app-redirect-view.mjs +1 -1
  284. package/es/view/common/index.d.ts +5 -5
  285. package/es/view/common/index.d.ts.map +1 -1
  286. package/es/view/common/view.d.ts +5 -5
  287. package/es/view/common/view.d.ts.map +1 -1
  288. package/es/view/common/view.mjs +17 -3
  289. package/es/view/de-redirect-view/de-redirect-view.d.ts +8 -8
  290. package/es/view/de-redirect-view/de-redirect-view.d.ts.map +1 -1
  291. package/es/view/de-redirect-view/de-redirect-view.mjs +1 -1
  292. package/es/view/de-redirect-view/index.d.ts +8 -8
  293. package/es/view/de-redirect-view/index.d.ts.map +1 -1
  294. package/es/view/html-view/html-view.d.ts +8 -9
  295. package/es/view/html-view/html-view.d.ts.map +1 -1
  296. package/es/view/html-view/html-view.mjs +10 -17
  297. package/es/view/html-view/index.d.ts +7 -8
  298. package/es/view/html-view/index.d.ts.map +1 -1
  299. package/es/view/portal-view/index.d.ts +5 -5
  300. package/es/view/portal-view/index.d.ts.map +1 -1
  301. package/es/view/portal-view/portal-view.d.ts +5 -5
  302. package/es/view/portal-view/portal-view.d.ts.map +1 -1
  303. package/es/view/todo-redirect/todo-redirect.d.ts +1 -1
  304. package/es/view/todo-redirect/todo-redirect.d.ts.map +1 -1
  305. package/lib/common/badge/badge.cjs +12 -6
  306. package/lib/common/badge/badge.css +1 -1
  307. package/lib/common/control-base/control-base.cjs +8 -14
  308. package/lib/common/icon/icon.cjs +12 -0
  309. package/lib/common/index.cjs +2 -0
  310. package/lib/common/signature-pad/signature-pad.cjs +167 -0
  311. package/lib/common/signature-pad/signature-pad.css +1 -0
  312. package/lib/common/signature-pad/util/bezier.cjs +111 -0
  313. package/lib/common/signature-pad/util/point.cjs +53 -0
  314. package/lib/common/signature-pad/util/signature_pad.cjs +1022 -0
  315. package/lib/common/view-shell/view-shell.cjs +40 -21
  316. package/lib/control/panel/panel/panel.cjs +11 -3
  317. package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +4 -4
  318. package/lib/index.cjs +57 -47
  319. package/lib/locale/en/index.cjs +2 -1
  320. package/lib/locale/zh-CN/index.cjs +2 -1
  321. package/lib/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.cjs +2 -2
  322. package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.cjs +16 -5
  323. package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.cjs +3 -1
  324. package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
  325. package/lib/panel-component/grid-container/grid-container.cjs +16 -5
  326. package/lib/panel-component/grid-container/grid-container.controller.cjs +1 -1
  327. package/lib/panel-component/grid-container/grid-container.state.cjs +1 -1
  328. package/lib/panel-component/index.cjs +21 -22
  329. package/lib/panel-component/multi-data-container/multi-data-container.cjs +19 -5
  330. package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +87 -68
  331. package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +1 -1
  332. package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.cjs +22 -6
  333. package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.controller.cjs +87 -68
  334. package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.state.cjs +1 -1
  335. package/lib/panel-component/nav-pos/nav-pos.cjs +18 -3
  336. package/lib/panel-component/panel-container/index.cjs +8 -4
  337. package/lib/panel-component/panel-container/panel-container.cjs +36 -15
  338. package/lib/panel-component/panel-container/panel-container.provider.cjs +2 -2
  339. package/lib/panel-component/panel-container-image/panel-container-image.cjs +23 -9
  340. package/lib/panel-component/panel-container-image/panel-container-image.controller.cjs +1 -1
  341. package/lib/panel-component/panel-container-image/panel-container-image.css +1 -1
  342. package/lib/panel-component/panel-container-image/panel-container-image.state.cjs +1 -1
  343. package/lib/panel-component/panel-container-tabs/panel-container-tabs.cjs +2 -2
  344. package/lib/panel-component/panel-container-tabs/panel-container-tabs.provider.cjs +2 -2
  345. package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +11 -3
  346. package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.cjs +15 -7
  347. package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.css +1 -0
  348. package/lib/panel-component/panel-field/panel-field.cjs +28 -11
  349. package/lib/panel-component/panel-field/panel-field.controller.cjs +37 -3
  350. package/lib/panel-component/panel-field/panel-field.css +1 -1
  351. package/lib/panel-component/panel-item-render/panel-item-render.cjs +12 -3
  352. package/lib/panel-component/panel-item-render/panel-item-render.controller.cjs +7 -5
  353. package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +14 -9
  354. package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +21 -6
  355. package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +1 -1
  356. package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +25 -14
  357. package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +1 -1
  358. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +20 -5
  359. package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +1 -1
  360. package/lib/panel-component/single-data-container/single-data-container.cjs +21 -5
  361. package/lib/panel-component/single-data-container/single-data-container.controller.cjs +97 -72
  362. package/lib/panel-component/single-data-container/single-data-container.state.cjs +1 -1
  363. package/lib/panel-component/teleport-placeholder/teleport-placeholder.cjs +10 -3
  364. package/lib/plugin/plugin-factory/plugin-factory.cjs +33 -5
  365. package/lib/props/editor/code.cjs +6 -0
  366. package/lib/props/editor/common.cjs +5 -1
  367. package/lib/props/editor/html.cjs +6 -0
  368. package/lib/props/editor/index.cjs +3 -0
  369. package/lib/props/editor/markdown.cjs +27 -1
  370. package/lib/props/editor/span.cjs +6 -1
  371. package/lib/props/index.cjs +3 -0
  372. package/lib/use/index.cjs +8 -0
  373. package/lib/use/popover/popover.cjs +8 -0
  374. package/lib/use/storage/index.cjs +16 -11
  375. package/lib/use/tooltip/tooltip.cjs +72 -0
  376. package/lib/use/use-semantic-node/use-semantic-node.cjs +102 -0
  377. package/lib/use/vue/vue.cjs +14 -0
  378. package/lib/util/index.cjs +0 -2
  379. package/lib/util/overlay-container/overlay-container.cjs +7 -2
  380. package/lib/util/overlay-view-util/overlay-view-util.cjs +2 -1
  381. package/lib/util/route/route.cjs +13 -3
  382. package/lib/view/common/view.cjs +15 -1
  383. package/lib/view/html-view/html-view.cjs +8 -15
  384. package/package.json +8 -7
  385. package/src/common/badge/badge.scss +49 -0
  386. package/src/common/badge/badge.tsx +55 -0
  387. package/src/common/code-list/code-list.scss +15 -0
  388. package/src/common/code-list/code-list.tsx +184 -0
  389. package/src/common/control-base/control-base.scss +42 -0
  390. package/src/common/control-base/control-base.tsx +308 -0
  391. package/src/common/control-loading-placeholder/control-loading-placeholder.tsx +22 -0
  392. package/src/common/control-shell/control-shell.scss +5 -0
  393. package/src/common/control-shell/control-shell.tsx +90 -0
  394. package/src/common/custom-render/custom-render.scss +4 -0
  395. package/src/common/custom-render/custom-render.tsx +111 -0
  396. package/src/common/icon/icon.scss +13 -0
  397. package/src/common/icon/icon.tsx +105 -0
  398. package/src/common/index.ts +10 -0
  399. package/src/common/router-view/router-view.tsx +74 -0
  400. package/src/common/signature-pad/signature-pad.scss +10 -0
  401. package/src/common/signature-pad/signature-pad.tsx +174 -0
  402. package/src/common/signature-pad/util/bezier.ts +164 -0
  403. package/src/common/signature-pad/util/point.ts +96 -0
  404. package/src/common/signature-pad/util/signature_pad.ts +1543 -0
  405. package/src/common/view-shell/view-shell.scss +5 -0
  406. package/src/common/view-shell/view-shell.tsx +337 -0
  407. package/src/control/index.ts +1 -0
  408. package/src/control/panel/index.ts +2 -0
  409. package/src/control/panel/panel/index.ts +12 -0
  410. package/src/control/panel/panel/panel.provider.ts +14 -0
  411. package/src/control/panel/panel/panel.scss +9 -0
  412. package/src/control/panel/panel/panel.tsx +273 -0
  413. package/src/control/panel/view-layout-panel/index.ts +18 -0
  414. package/src/control/panel/view-layout-panel/view-layout-panel.provider.ts +14 -0
  415. package/src/control/panel/view-layout-panel/view-layout-panel.scss +9 -0
  416. package/src/control/panel/view-layout-panel/view-layout-panel.tsx +266 -0
  417. package/src/hooks/app/app.hooks.ts +63 -0
  418. package/src/hooks/index.ts +1 -0
  419. package/src/index.ts +19 -0
  420. package/src/interface/index.ts +1 -0
  421. package/src/interface/util/index.ts +1 -0
  422. package/src/interface/util/route/route.ts +116 -0
  423. package/src/locale/en/index.ts +74 -0
  424. package/src/locale/index.ts +2 -0
  425. package/src/locale/zh-CN/index.ts +66 -0
  426. package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.ts +248 -0
  427. package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.provider.ts +28 -0
  428. package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.scss +51 -0
  429. package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.state.ts +58 -0
  430. package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.tsx +109 -0
  431. package/src/panel-component/auth-wxmp-qrcode/index.ts +18 -0
  432. package/src/panel-component/grid-container/grid-container.controller.ts +24 -0
  433. package/src/panel-component/grid-container/grid-container.provider.ts +30 -0
  434. package/src/panel-component/grid-container/grid-container.scss +17 -0
  435. package/src/panel-component/grid-container/grid-container.state.ts +12 -0
  436. package/src/panel-component/grid-container/grid-container.tsx +141 -0
  437. package/src/panel-component/grid-container/index.ts +19 -0
  438. package/src/panel-component/index.ts +17 -0
  439. package/src/panel-component/multi-data-container/index.ts +22 -0
  440. package/src/panel-component/multi-data-container/multi-data-container-item.controller.ts +179 -0
  441. package/src/panel-component/multi-data-container/multi-data-container-itm.state.ts +20 -0
  442. package/src/panel-component/multi-data-container/multi-data-container.controller.ts +456 -0
  443. package/src/panel-component/multi-data-container/multi-data-container.provider.ts +30 -0
  444. package/src/panel-component/multi-data-container/multi-data-container.scss +10 -0
  445. package/src/panel-component/multi-data-container/multi-data-container.state.ts +19 -0
  446. package/src/panel-component/multi-data-container/multi-data-container.tsx +137 -0
  447. package/src/panel-component/multi-data-container-raw/index.ts +22 -0
  448. package/src/panel-component/multi-data-container-raw/multi-data-container-raw.controller.ts +448 -0
  449. package/src/panel-component/multi-data-container-raw/multi-data-container-raw.provider.ts +30 -0
  450. package/src/panel-component/multi-data-container-raw/multi-data-container-raw.scss +12 -0
  451. package/src/panel-component/multi-data-container-raw/multi-data-container-raw.state.ts +19 -0
  452. package/src/panel-component/multi-data-container-raw/multi-data-container-raw.tsx +129 -0
  453. package/src/panel-component/nav-pos/index.ts +16 -0
  454. package/src/panel-component/nav-pos/nav-pos.controller.ts +438 -0
  455. package/src/panel-component/nav-pos/nav-pos.provider.ts +38 -0
  456. package/src/panel-component/nav-pos/nav-pos.scss +4 -0
  457. package/src/panel-component/nav-pos/nav-pos.state.ts +55 -0
  458. package/src/panel-component/nav-pos/nav-pos.tsx +166 -0
  459. package/src/panel-component/panel-container/index.ts +30 -0
  460. package/src/panel-component/panel-container/panel-container.provider.ts +30 -0
  461. package/src/panel-component/panel-container/panel-container.scss +21 -0
  462. package/src/panel-component/panel-container/panel-container.tsx +138 -0
  463. package/src/panel-component/panel-container-image/index.ts +22 -0
  464. package/src/panel-component/panel-container-image/panel-container-image.controller.ts +24 -0
  465. package/src/panel-component/panel-container-image/panel-container-image.provider.ts +30 -0
  466. package/src/panel-component/panel-container-image/panel-container-image.scss +17 -0
  467. package/src/panel-component/panel-container-image/panel-container-image.state.ts +12 -0
  468. package/src/panel-component/panel-container-image/panel-container-image.tsx +116 -0
  469. package/src/panel-component/panel-container-tabs/index.ts +18 -0
  470. package/src/panel-component/panel-container-tabs/panel-container-tabs.provider.ts +30 -0
  471. package/src/panel-component/panel-container-tabs/panel-container-tabs.scss +25 -0
  472. package/src/panel-component/panel-container-tabs/panel-container-tabs.tsx +47 -0
  473. package/src/panel-component/panel-ctrl-pos/index.ts +14 -0
  474. package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.ts +50 -0
  475. package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.ts +30 -0
  476. package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.scss +8 -0
  477. package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.tsx +72 -0
  478. package/src/panel-component/panel-ctrl-view-page-caption/index.ts +18 -0
  479. package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.controller.ts +32 -0
  480. package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.provider.ts +30 -0
  481. package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.scss +13 -0
  482. package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.ts +17 -0
  483. package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.tsx +77 -0
  484. package/src/panel-component/panel-field/index.ts +14 -0
  485. package/src/panel-component/panel-field/panel-field.controller.ts +272 -0
  486. package/src/panel-component/panel-field/panel-field.provider.ts +28 -0
  487. package/src/panel-component/panel-field/panel-field.scss +79 -0
  488. package/src/panel-component/panel-field/panel-field.state.ts +17 -0
  489. package/src/panel-component/panel-field/panel-field.tsx +138 -0
  490. package/src/panel-component/panel-item-render/index.ts +18 -0
  491. package/src/panel-component/panel-item-render/panel-item-render.controller.ts +53 -0
  492. package/src/panel-component/panel-item-render/panel-item-render.provider.ts +30 -0
  493. package/src/panel-component/panel-item-render/panel-item-render.tsx +69 -0
  494. package/src/panel-component/panel-rawitem/index.ts +26 -0
  495. package/src/panel-component/panel-rawitem/panel-rawitem.controller.ts +54 -0
  496. package/src/panel-component/panel-rawitem/panel-rawitem.provider.ts +28 -0
  497. package/src/panel-component/panel-rawitem/panel-rawitem.scss +8 -0
  498. package/src/panel-component/panel-rawitem/panel-rawitem.tsx +126 -0
  499. package/src/panel-component/panel-tab-page/index.ts +12 -0
  500. package/src/panel-component/panel-tab-page/panel-tab-page.provider.ts +28 -0
  501. package/src/panel-component/panel-tab-page/panel-tab-page.tsx +83 -0
  502. package/src/panel-component/scroll-container/index.ts +44 -0
  503. package/src/panel-component/scroll-container/scroll-container/index.ts +2 -0
  504. package/src/panel-component/scroll-container/scroll-container/scroll-container.controller.ts +29 -0
  505. package/src/panel-component/scroll-container/scroll-container/scroll-container.provider.ts +30 -0
  506. package/src/panel-component/scroll-container/scroll-container/scroll-container.scss +40 -0
  507. package/src/panel-component/scroll-container/scroll-container/scroll-container.tsx +155 -0
  508. package/src/panel-component/scroll-container/scroll-container-item/index.ts +2 -0
  509. package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.ts +21 -0
  510. package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.ts +30 -0
  511. package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.scss +9 -0
  512. package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.tsx +80 -0
  513. package/src/panel-component/single-data-container/index.ts +22 -0
  514. package/src/panel-component/single-data-container/single-data-container.controller.ts +507 -0
  515. package/src/panel-component/single-data-container/single-data-container.provider.ts +30 -0
  516. package/src/panel-component/single-data-container/single-data-container.scss +10 -0
  517. package/src/panel-component/single-data-container/single-data-container.state.ts +17 -0
  518. package/src/panel-component/single-data-container/single-data-container.tsx +124 -0
  519. package/src/panel-component/teleport-placeholder/index.ts +20 -0
  520. package/src/panel-component/teleport-placeholder/teleport-placeholder.controller.ts +54 -0
  521. package/src/panel-component/teleport-placeholder/teleport-placeholder.provider.ts +30 -0
  522. package/src/panel-component/teleport-placeholder/teleport-placeholder.scss +8 -0
  523. package/src/panel-component/teleport-placeholder/teleport-placeholder.state.ts +17 -0
  524. package/src/panel-component/teleport-placeholder/teleport-placeholder.tsx +65 -0
  525. package/src/plugin/index.ts +1 -0
  526. package/src/plugin/plugin-factory/plugin-factory.ts +519 -0
  527. package/src/props/common.ts +30 -0
  528. package/src/props/editor/array.ts +28 -0
  529. package/src/props/editor/autocomplete.ts +28 -0
  530. package/src/props/editor/cascader.ts +28 -0
  531. package/src/props/editor/check-box-list.ts +28 -0
  532. package/src/props/editor/check-box.ts +28 -0
  533. package/src/props/editor/code.ts +56 -0
  534. package/src/props/editor/color-picker.ts +28 -0
  535. package/src/props/editor/common.ts +120 -0
  536. package/src/props/editor/data-picker.ts +28 -0
  537. package/src/props/editor/date-picker.ts +29 -0
  538. package/src/props/editor/date-range-select.ts +52 -0
  539. package/src/props/editor/date-range.ts +29 -0
  540. package/src/props/editor/dropdown-list.ts +28 -0
  541. package/src/props/editor/html.ts +44 -0
  542. package/src/props/editor/index.ts +29 -0
  543. package/src/props/editor/input-ip.ts +28 -0
  544. package/src/props/editor/input-number.ts +28 -0
  545. package/src/props/editor/list-box.ts +28 -0
  546. package/src/props/editor/map-picker.ts +28 -0
  547. package/src/props/editor/markdown.ts +74 -0
  548. package/src/props/editor/number-range.ts +28 -0
  549. package/src/props/editor/radio-button-list.ts +28 -0
  550. package/src/props/editor/rate.ts +28 -0
  551. package/src/props/editor/raw.ts +28 -0
  552. package/src/props/editor/slider.ts +28 -0
  553. package/src/props/editor/span.ts +33 -0
  554. package/src/props/editor/stepper.ts +28 -0
  555. package/src/props/editor/switch.ts +28 -0
  556. package/src/props/editor/text-box.ts +28 -0
  557. package/src/props/editor/upload.ts +28 -0
  558. package/src/props/index.ts +2 -0
  559. package/src/types/index.d.ts +8 -0
  560. package/src/use/autofocus-blur/autofocus-blur.ts +31 -0
  561. package/src/use/click-outside/click-outside.ts +72 -0
  562. package/src/use/codeList-listen/codelist-listen.ts +28 -0
  563. package/src/use/control/index.ts +1 -0
  564. package/src/use/control/use-control-controller/use-control-controller.ts +186 -0
  565. package/src/use/event/event.ts +57 -0
  566. package/src/use/focus-blur/focus-blur.ts +83 -0
  567. package/src/use/index.ts +16 -0
  568. package/src/use/namespace/namespace.ts +14 -0
  569. package/src/use/popover/popover.ts +157 -0
  570. package/src/use/route/route.ts +47 -0
  571. package/src/use/storage/index.ts +46 -0
  572. package/src/use/tooltip/tooltip.ts +153 -0
  573. package/src/use/use-semantic-node/use-semantic-node.ts +154 -0
  574. package/src/use/util/index.ts +26 -0
  575. package/src/use/view/index.ts +2 -0
  576. package/src/use/view/use-view-controller/use-view-controller.ts +163 -0
  577. package/src/use/view/use-view-operation/use-view-operation.ts +44 -0
  578. package/src/use/vue/vue.ts +168 -0
  579. package/src/use/vue-use/computed-async.ts +151 -0
  580. package/src/use/vue-use/index.ts +1 -0
  581. package/src/util/index.ts +9 -0
  582. package/src/util/install.ts +14 -0
  583. package/src/util/overlay-container/overlay-container.ts +162 -0
  584. package/src/util/overlay-popover-container/overlay-popover-container.ts +30 -0
  585. package/src/util/overlay-view-util/overlay-view-util.ts +93 -0
  586. package/src/util/render/render.ts +54 -0
  587. package/src/util/route/route-listener.ts +91 -0
  588. package/src/util/route/route.ts +606 -0
  589. package/src/util/router-callback/router-callback-item.ts +98 -0
  590. package/src/util/router-callback/router-callback.ts +110 -0
  591. package/src/util/store/app-store/app-store.ts +10 -0
  592. package/src/util/store/index.ts +6 -0
  593. package/src/util/store/ui-store/ui-store.ts +37 -0
  594. package/src/util/store/ui-store/z-index.ts +53 -0
  595. package/src/view/app-data-upload-view/app-data-upload-view.provider.ts +31 -0
  596. package/src/view/app-redirect-view/app-redirect-view.tsx +26 -0
  597. package/src/view/common/index.ts +19 -0
  598. package/src/view/common/view.provider.ts +14 -0
  599. package/src/view/common/view.scss +39 -0
  600. package/src/view/common/view.tsx +285 -0
  601. package/src/view/de-redirect-view/de-redirect-view.provider.ts +14 -0
  602. package/src/view/de-redirect-view/de-redirect-view.tsx +86 -0
  603. package/src/view/de-redirect-view/index.ts +17 -0
  604. package/src/view/html-view/html-view.provider.ts +14 -0
  605. package/src/view/html-view/html-view.scss +7 -0
  606. package/src/view/html-view/html-view.tsx +86 -0
  607. package/src/view/html-view/index.ts +10 -0
  608. package/src/view/index.ts +6 -0
  609. package/src/view/md-custom-view/md-custom-view.provider.ts +30 -0
  610. package/src/view/portal-view/index.ts +18 -0
  611. package/src/view/portal-view/portal-view.provider.ts +14 -0
  612. package/src/view/portal-view/portal-view.tsx +83 -0
  613. package/src/view/todo-redirect/todo-redirect.tsx +51 -0
  614. package/es/panel-component/panel-container/panel-container.controller.d.ts +0 -21
  615. package/es/panel-component/panel-container/panel-container.controller.d.ts.map +0 -1
  616. package/es/panel-component/panel-container/panel-container.controller.mjs +0 -12
  617. package/es/panel-component/panel-container/panel-container.state.d.ts +0 -10
  618. package/es/panel-component/panel-container/panel-container.state.d.ts.map +0 -1
  619. package/es/panel-component/panel-container/panel-container.state.mjs +0 -7
  620. package/es/panel-component/panel-container-group/index.d.ts +0 -29
  621. package/es/panel-component/panel-container-group/index.d.ts.map +0 -1
  622. package/es/panel-component/panel-container-group/index.mjs +0 -21
  623. package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +0 -34
  624. package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts.map +0 -1
  625. package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +0 -31
  626. package/es/panel-component/panel-container-group/panel-container-group.css +0 -1
  627. package/es/panel-component/panel-container-group/panel-container-group.d.ts +0 -46
  628. package/es/panel-component/panel-container-group/panel-container-group.d.ts.map +0 -1
  629. package/es/panel-component/panel-container-group/panel-container-group.mjs +0 -119
  630. package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts +0 -16
  631. package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts.map +0 -1
  632. package/es/panel-component/panel-container-group/panel-container-group.provider.mjs +0 -15
  633. package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +0 -13
  634. package/es/panel-component/panel-container-group/panel-container-group.state.d.ts.map +0 -1
  635. package/es/panel-component/panel-container-group/panel-container-group.state.mjs +0 -7
  636. package/es/util/control/prepare-control.d.ts +0 -15
  637. package/es/util/control/prepare-control.d.ts.map +0 -1
  638. package/es/util/control/prepare-control.mjs +0 -22
  639. package/lib/panel-component/panel-container/panel-container.controller.cjs +0 -14
  640. package/lib/panel-component/panel-container/panel-container.state.cjs +0 -9
  641. package/lib/panel-component/panel-container-group/index.cjs +0 -28
  642. package/lib/panel-component/panel-container-group/panel-container-group.cjs +0 -121
  643. package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +0 -33
  644. package/lib/panel-component/panel-container-group/panel-container-group.css +0 -1
  645. package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +0 -17
  646. package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +0 -9
  647. package/lib/util/control/prepare-control.cjs +0 -24
@@ -0,0 +1,266 @@
1
+ import {
2
+ defineComponent,
3
+ PropType,
4
+ resolveComponent,
5
+ h,
6
+ VNode,
7
+ reactive,
8
+ watch,
9
+ provide,
10
+ renderSlot,
11
+ } from 'vue';
12
+ import {
13
+ IPanelContainer,
14
+ IPanelField,
15
+ IPanelItem,
16
+ IPanelTabPanel,
17
+ IViewLayoutPanel,
18
+ } from '@ibiz/model-core';
19
+ import {
20
+ filterPresetAttrs,
21
+ IController,
22
+ IControlProvider,
23
+ IPanelItemController,
24
+ IPanelItemProvider,
25
+ isDataContainer,
26
+ isSimpleDataContainer,
27
+ ScriptFactory,
28
+ ViewLayoutPanelController,
29
+ } from '@ibiz-template/runtime';
30
+ import { useControlController, useNamespace } from '../../../use';
31
+ import './view-layout-panel.scss';
32
+
33
+ /**
34
+ * 绘制成员的attrs
35
+ * @author lxm
36
+ * @date 2024-03-19 03:48:00
37
+ * @param {IDEFormDetail} model
38
+ * @return {*} {IParams}
39
+ */
40
+ function renderAttrs(
41
+ model: IPanelItem,
42
+ controller: IPanelItemController,
43
+ ): IParams {
44
+ const attrs: IParams = {};
45
+ filterPresetAttrs(model.controlAttributes).forEach(item => {
46
+ if (item.attrName && item.attrValue) {
47
+ attrs[item.attrName!] = ScriptFactory.execSingleLine(item.attrValue!, {
48
+ ...controller.panel.getEventArgs(),
49
+ data: controller.data,
50
+ });
51
+ }
52
+ });
53
+ return attrs;
54
+ }
55
+
56
+ /**
57
+ * 视图布局面板组件
58
+ */
59
+ export const ViewLayoutPanelControl = defineComponent({
60
+ name: 'IBizViewLayoutPanelControl',
61
+ props: {
62
+ /**
63
+ * @description 视图布局面板模型
64
+ */
65
+ modelData: {
66
+ type: Object as PropType<IViewLayoutPanel>,
67
+ required: true,
68
+ },
69
+ /**
70
+ * @description 应用上下文对象
71
+ */
72
+ context: { type: Object as PropType<IContext>, required: true },
73
+ /**
74
+ * @description 视图参数
75
+ * @default {}
76
+ */
77
+ params: { type: Object as PropType<IParams>, default: () => ({}) },
78
+ /**
79
+ * @ignoredoc
80
+ * @description 部件适配器
81
+ */
82
+ provider: { type: Object as PropType<IControlProvider> },
83
+ /**
84
+ * @description 容器控制器,为上层部件控制器或视图控制器
85
+ */
86
+ container: { type: Object as PropType<IController> },
87
+ /**
88
+ * @description 面板容器数据
89
+ */
90
+ data: { type: Object as PropType<IData> },
91
+ },
92
+ setup(props, { slots }) {
93
+ const c = useControlController(
94
+ (...args) => new ViewLayoutPanelController(...args, props.container),
95
+ );
96
+ const ns = useNamespace(`control-${c.model.controlType!.toLowerCase()}`);
97
+
98
+ watch(
99
+ () => props.data,
100
+ newVal => {
101
+ if (newVal) {
102
+ c.setInputData(newVal);
103
+ c.load();
104
+ }
105
+ },
106
+ {
107
+ immediate: true,
108
+ },
109
+ );
110
+
111
+ c.evt.on('onCreated', () => {
112
+ // 面板成员state响应式
113
+ const keys = Object.keys(c.panelItems);
114
+ keys.forEach(key => {
115
+ const panelItem = c.panelItems[key];
116
+ panelItem.state = reactive(panelItem.state);
117
+ });
118
+ });
119
+
120
+ /**
121
+ * 绘制面板成员
122
+ * @author lxm
123
+ * @date 2023-08-25 04:09:07
124
+ * @param {IPanelItem} panelItem
125
+ * @return {*} {(VNode | null)}
126
+ */
127
+ const renderPanelItem = (
128
+ panelItem: IPanelItem,
129
+ options?: {
130
+ providers: {
131
+ [key: string]: IPanelItemProvider;
132
+ };
133
+ panelItems: {
134
+ [key: string]: IPanelItemController;
135
+ };
136
+ },
137
+ ): VNode | null => {
138
+ if ((panelItem as IPanelField).hidden) {
139
+ return null;
140
+ }
141
+ const { providers, panelItems } = options || c;
142
+ const provider = providers[panelItem.id!];
143
+ if (!provider) {
144
+ return (
145
+ <div>
146
+ {ibiz.i18n.t('vue3Util.control.unsupportedPanel', {
147
+ id: panelItem.id,
148
+ itemType: panelItem.itemType,
149
+ })}
150
+ </div>
151
+ );
152
+ }
153
+ // 面板项插槽,排除部件占位
154
+ if (panelItem.itemType !== 'CTRLPOS' && slots[panelItem.id!]) {
155
+ return renderSlot(slots, panelItem.id!, {
156
+ model: panelItem,
157
+ data: c.data,
158
+ value: c.data[panelItem.id!],
159
+ controller: panelItems[panelItem.id!],
160
+ });
161
+ }
162
+ const component = resolveComponent(provider.component);
163
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
164
+ let children: any;
165
+ // 占位类型成员填充外部对应的插槽。
166
+ if (panelItem.itemType === 'CTRLPOS' && slots[panelItem.id!]) {
167
+ const panelItemC = panelItems[panelItem.id!]!;
168
+ if (
169
+ panelItemC.parent &&
170
+ isSimpleDataContainer(panelItemC.parent.model)
171
+ ) {
172
+ children = () => {
173
+ return slots[panelItem.id!]!({
174
+ isSimple: true,
175
+ data: panelItemC.data,
176
+ });
177
+ };
178
+ } else {
179
+ children = () => slots[panelItem.id!]!();
180
+ }
181
+ } else if (
182
+ panelItem.itemType === 'TABPANEL' &&
183
+ (panelItem as IPanelTabPanel).panelTabPages?.length
184
+ ) {
185
+ children = () => {
186
+ return (panelItem as IPanelTabPanel).panelTabPages!.map(child => {
187
+ return renderPanelItem(child, options);
188
+ });
189
+ };
190
+ } else if (isDataContainer(panelItem)) {
191
+ // 单项数据容器,多项数据容器不给子
192
+ children = undefined;
193
+ } else if ((panelItem as IPanelContainer).panelItems?.length) {
194
+ children = () => {
195
+ return (panelItem as IPanelContainer).panelItems!.map(child => {
196
+ return renderPanelItem(child, options);
197
+ });
198
+ };
199
+ }
200
+
201
+ // 直接样式
202
+ let tempStyle = '';
203
+ if (panelItem.cssStyle) {
204
+ tempStyle = panelItem.cssStyle;
205
+ }
206
+ const panelItemC = panelItems[panelItem.id!]!;
207
+
208
+ const attrs = renderAttrs(panelItem, panelItemC);
209
+
210
+ // 动态样式
211
+ if (attrs.dynamicstyle) {
212
+ if (typeof attrs.dynamicstyle === 'object') {
213
+ tempStyle += Object.entries(attrs.dynamicstyle)
214
+ .map(([key, value]) => {
215
+ return `${key}:${value};`;
216
+ })
217
+ .join('');
218
+ } else {
219
+ tempStyle += attrs.dynamicstyle;
220
+ }
221
+ delete attrs.dynamicstyle;
222
+ }
223
+ return h(
224
+ component,
225
+ {
226
+ modelData: panelItem,
227
+ controller: panelItemC,
228
+ key: panelItem.id,
229
+ style: tempStyle,
230
+ attrs,
231
+ },
232
+ children,
233
+ );
234
+ };
235
+
236
+ provide('renderPanelItem', renderPanelItem);
237
+
238
+ return { c, ns, renderPanelItem };
239
+ },
240
+ render() {
241
+ const { state, model } = this.c;
242
+
243
+ return (
244
+ <iBizControlBase controller={this.c}>
245
+ <iBizRow class={this.ns.b('content')} layout={{ layout: 'FLEX' }}>
246
+ {state.isCreated &&
247
+ (this.$slots.default
248
+ ? this.$slots.default({
249
+ panelItems: this.c.panelItems,
250
+ })
251
+ : model.rootPanelItems?.map(panelItem => {
252
+ const subC = this.c.panelItems[panelItem.id!];
253
+ // 视图布局面板的子默认布局改成flex
254
+ // eslint-disable-next-line no-param-reassign
255
+ panelItem.layoutPos!.layout = 'FLEX';
256
+ return (
257
+ <iBizCol layoutPos={panelItem.layoutPos} state={subC.state}>
258
+ {this.renderPanelItem(panelItem)}
259
+ </iBizCol>
260
+ );
261
+ }))}
262
+ </iBizRow>
263
+ </iBizControlBase>
264
+ );
265
+ },
266
+ });
@@ -0,0 +1,63 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import { IApiAppHubService, IAppService } from '@ibiz-template/runtime';
3
+ import { AsyncSeriesHook, SyncSeriesHook } from 'qx-util';
4
+ import { App } from 'vue';
5
+
6
+ /**
7
+ * @description 应用钩子
8
+ * @export
9
+ * @class AppHooks
10
+ */
11
+ export class AppHooks {
12
+ /**
13
+ * @description 创建 Vue 应用实例钩子
14
+ * @static
15
+ * @memberof AppHooks
16
+ */
17
+ static createApp = new SyncSeriesHook<App>();
18
+
19
+ /**
20
+ * @description 用于在多实例下,挂载到已经创建的 Vue 实例上插件钩子
21
+ * @static
22
+ * @memberof AppHooks
23
+ */
24
+ static useComponent = new SyncSeriesHook<any>();
25
+
26
+ /**
27
+ * @description 应用资源初始化完成钩子
28
+ * @static
29
+ * @memberof AppHooks
30
+ */
31
+ static appResorceInited = new AsyncSeriesHook<[], IApiAppHubService>();
32
+
33
+ /**
34
+ * @description 应用初始化前钩子
35
+ * @static
36
+ * @memberof AppHooks
37
+ */
38
+ static beforeInitApp = new AsyncSeriesHook<[], { context: IParams }>();
39
+
40
+ /**
41
+ * @description 应用授权完成钩子
42
+ * @static
43
+ * @memberof AppHooks
44
+ */
45
+ static authedApp = new AsyncSeriesHook<[], { context: IParams }>();
46
+
47
+ /**
48
+ * @description 应用初始化完成钩子
49
+ * @static
50
+ * @memberof AppHooks
51
+ */
52
+ static initedApp = new AsyncSeriesHook<
53
+ [],
54
+ { context: IParams; app: IAppService }
55
+ >();
56
+
57
+ /**
58
+ * @description 应用销毁钩子
59
+ * @static
60
+ * @memberof AppHooks
61
+ */
62
+ static destoryApp = new AsyncSeriesHook<[], any>();
63
+ }
@@ -0,0 +1 @@
1
+ export { AppHooks } from './app/app.hooks';
package/src/index.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { App } from 'vue';
2
+
3
+ export * from './hooks';
4
+ export * from './common';
5
+ export * from './panel-component';
6
+ export * from './view';
7
+ export * from './control';
8
+ export * from './interface';
9
+ export * from './plugin';
10
+ export * from './use';
11
+ export * from './util';
12
+ export * from './props';
13
+ export * from './locale';
14
+
15
+ declare global {
16
+ interface Window {
17
+ vueInstances: Map<App, App>;
18
+ }
19
+ }
@@ -0,0 +1 @@
1
+ export * from './util';
@@ -0,0 +1 @@
1
+ export * from './route/route';
@@ -0,0 +1,116 @@
1
+ import { IViewConfig } from '@ibiz-template/runtime';
2
+
3
+ /**
4
+ * 路由壳绘制需要的视图数据
5
+ *
6
+ * @author lxm
7
+ * @date 2022-08-17 22:08:18
8
+ * @export
9
+ * @interface IRouteViewData
10
+ */
11
+ export interface IRouteViewData {
12
+ /**
13
+ * 视图Config
14
+ * @author lxm
15
+ * @date 2023-04-19 01:44:13
16
+ * @type {IViewConfig}
17
+ */
18
+ viewConfig?: IViewConfig;
19
+
20
+ /**
21
+ *视图上下文
22
+ *
23
+ * @author lxm
24
+ * @date 2022-08-17 23:08:15
25
+ * @type {IParams}
26
+ */
27
+ context?: IParams;
28
+
29
+ /**
30
+ *视图参数
31
+ *
32
+ * @author lxm
33
+ * @date 2022-08-17 23:08:25
34
+ * @type {IParams}
35
+ */
36
+ params?: IParams;
37
+
38
+ /**
39
+ * 视图导航参数
40
+ * @author lxm
41
+ * @date 2023-03-14 08:41:50
42
+ * @type {string}
43
+ */
44
+ srfnav?: string;
45
+ }
46
+
47
+ /**
48
+ * 路由路径每一级路径节点
49
+ *
50
+ * @author lxm
51
+ * @date 2022-08-18 11:08:24
52
+ * @export
53
+ * @interface IRoutePathNode
54
+ */
55
+ export interface IRoutePathNode {
56
+ /**
57
+ * 视图名称
58
+ *
59
+ * @author lxm
60
+ * @date 2022-08-18 11:08:42
61
+ * @type {string}
62
+ */
63
+ viewName: string;
64
+
65
+ /**
66
+ * 上下文参数
67
+ *
68
+ * @author lxm
69
+ * @date 2022-08-18 11:08:53
70
+ * @type {IParams}
71
+ */
72
+ context?: IParams;
73
+
74
+ /**
75
+ * 视图参数对象
76
+ *
77
+ * @author lxm
78
+ * @date 2022-08-18 11:08:25
79
+ * @type {IParams}
80
+ */
81
+ params?: IParams;
82
+
83
+ /**
84
+ * 视图导航参数(视图自身解析的额外路由参数)
85
+ * @author lxm
86
+ * @date 2023-03-14 08:39:36
87
+ * @type {string}
88
+ */
89
+ srfnav?: string;
90
+ }
91
+
92
+ /**
93
+ * 路由路径对象,按照路径定义描述
94
+ *
95
+ * @author lxm
96
+ * @date 2022-08-18 11:08:40
97
+ * @export
98
+ * @interface IRoutePath
99
+ */
100
+ export interface IRoutePath {
101
+ /**
102
+ * 应用上下文
103
+ *
104
+ * @type {IParams}
105
+ * @memberof IRoutePath
106
+ */
107
+ appContext?: IParams;
108
+
109
+ /**
110
+ *
111
+ * @author lxm
112
+ * @date 2022-08-18 11:08:48
113
+ * @type {IRoutePathNode[]}
114
+ */
115
+ pathNodes: IRoutePathNode[];
116
+ }
@@ -0,0 +1,74 @@
1
+ export const en = {
2
+ vue3Util: {
3
+ common: {
4
+ undefined: 'undefined',
5
+ onFoundCorrespondingPart:
6
+ 'Undefined adapter with no corresponding part found',
7
+ noFoundViewModel: 'View model not found',
8
+ noSupportLoadingDynamic:
9
+ '{codeName}No entity, do not support loading dynamic models at this time',
10
+ invalidPointCoordinates: 'Invalid point coordinates: ({x}, {y})',
11
+ },
12
+ control: {
13
+ unsupportedPanel: 'Unsupported panel items: {id} - {itemType}',
14
+ },
15
+ panelComponent: {
16
+ noConfiguardDataObject: 'No data object name config',
17
+ noSupportedDataSourceType:
18
+ 'The data source type {dataSourceType} is not supported',
19
+ noConfiguredEntityLogic: 'No entity logic config',
20
+ noConfiguredEntity: 'No entity config',
21
+ noReturnValue: 'The entity logic {appDELogicId} has no return value',
22
+ noAttribute: 'There is no {dataName} attribute in the global variable.',
23
+ noConfiguredScript: 'No javaScript config',
24
+ noConfiguerdEntityBehanior: 'No entity behavior config',
25
+ sessionView:
26
+ 'The session to which the view is bound does not exist {dataName}',
27
+ viewStateAttribute: 'There is no {dataName} attribute in the view state',
28
+ noImplementMethod: 'Method not implemented.',
29
+ noProvidedSlot: 'No {id} slot provided',
30
+ cannotEmpty: '{caption} cannot be empty',
31
+ unadaptedLayout: 'Unadapted layout placeholder {layoutPos}',
32
+ placeholderIdentifier:
33
+ 'The placeholder identifier for panel member {id} of view {viewCodeName} is:',
34
+ refresh: 'Refresh',
35
+ wxQrcodeCaption: 'Please use wechat to scan the QR code to log in',
36
+ },
37
+ plugin: {
38
+ failureConfigurationLoad: 'Configuration load failure',
39
+ failedRemotePluginLoad:
40
+ 'Remote Plugin failed to load, Remote Plugin did not find [default] Default Export',
41
+ fileContentFormat:
42
+ 'Remote plugin failed to load, file not found or file content format is incorrect',
43
+ },
44
+ use: {
45
+ control: {
46
+ parameterChanges: 'Context or view parameter changes for {id}:',
47
+ stateChange: 'Part [{name}] state change',
48
+ },
49
+ focusBlur: {
50
+ noFocus: 'No focus, no out-of-focus triggering',
51
+ },
52
+ view: {
53
+ stateChange: 'View [{name}] state change',
54
+ },
55
+ },
56
+ util: {
57
+ noInjected: 'The createVueApp method is not injected.',
58
+ convertString: 'Failed to convert to string',
59
+ viewIdentifiers: 'View identifiers do not exist for {depth} level routes',
60
+ noFoundView: 'View not found {viewCodeName}',
61
+ routeCorrectly:
62
+ 'Cannot get the route correctly, could be a dependency issue.',
63
+ },
64
+ view: {
65
+ redirectionProgress: 'Redirection in progress',
66
+ viewType: 'View type {viewType} is not supported yet.',
67
+ noTeleportTag: 'No teleportTag was found for part {name}.',
68
+ embeddedRedirectionView:
69
+ 'Embedded redirection view does not support url jumping',
70
+ insufficientRedirection: 'Insufficient redirection parameters to jump',
71
+ toDoList: 'To-Do List Redirection',
72
+ },
73
+ },
74
+ };
@@ -0,0 +1,2 @@
1
+ export { en } from './en';
2
+ export { zhCn } from './zh-CN';
@@ -0,0 +1,66 @@
1
+ export const zhCn = {
2
+ vue3Util: {
3
+ common: {
4
+ undefined: '未定义',
5
+ onFoundCorrespondingPart: '未定义未找到对应部件的适配器',
6
+ noFoundViewModel: '未找到视图模型',
7
+ noSupportLoadingDynamic: '{codeName}无实体,暂不支持加载动态模型',
8
+ invalidPointCoordinates: '点坐标无效: ({x}, {y})',
9
+ },
10
+ control: {
11
+ unsupportedPanel: '暂未支持的面板项: {id} - {itemType}',
12
+ },
13
+ panelComponent: {
14
+ noConfiguardDataObject: '没有配置数据对象名称',
15
+ noSupportedDataSourceType: '数据源类型{dataSourceType}暂未支持',
16
+ noConfiguredEntityLogic: '没有配置实体逻辑',
17
+ noConfiguredEntity: '没有配置实体',
18
+ noReturnValue: '实体逻辑{appDELogicId}没有返回值',
19
+ noAttribute: '全局变量里没有{dataName}属性',
20
+ noConfiguredScript: '没有配置脚本代码',
21
+ noConfiguerdEntityBehanior: '没有配置实体行为',
22
+ sessionView: '绑定视图的会话不存在{dataName}',
23
+ viewStateAttribute: '视图state里没有{dataName}属性',
24
+ noImplementMethod: '未执行的方法',
25
+ noProvidedSlot: '未提供{id}插槽',
26
+ cannotEmpty: '{caption} 不能为空',
27
+ unadaptedLayout: '未适配的布局占位{layoutPos}',
28
+ placeholderIdentifier: '视图{viewCodeName}的面板成员{id}的占位标识是:',
29
+ refresh: '刷新',
30
+ wxQrcodeCaption: '请使用微信扫描二维码登录',
31
+ },
32
+ plugin: {
33
+ failureConfigurationLoad: '配置加载失败',
34
+ failedRemotePluginLoad:
35
+ '远程插件加载失败, 远程插件未找到[default]默认导出',
36
+ fileContentFormat: '远程插件加载失败, 未找到文件或文件内容格式不正确',
37
+ },
38
+ use: {
39
+ control: {
40
+ parameterChanges: '{id}的上下文或视图参数变更:',
41
+ stateChange: '部件 [{name}] state 变更',
42
+ },
43
+ focusBlur: {
44
+ noFocus: '没有聚焦,不触发失焦',
45
+ },
46
+ view: {
47
+ stateChange: '视图 [{name}] state 变更',
48
+ },
49
+ },
50
+ util: {
51
+ noInjected: '没有注入createVueApp方法',
52
+ convertString: '转换成字符串失败',
53
+ viewIdentifiers: '第{depth}级路由不存在视图标识',
54
+ noFoundView: '找不到视图{viewCodeName}',
55
+ routeCorrectly: '无法正确获取route,可能是依赖问题',
56
+ },
57
+ view: {
58
+ redirectionProgress: '重定向跳转中',
59
+ viewType: '视图类型{viewType}暂未支持',
60
+ noTeleportTag: '没有找到部件{name}的teleportTag',
61
+ embeddedRedirectionView: '嵌入重定向视图不支持url跳转',
62
+ insufficientRedirection: '重定向参数不足无法跳转',
63
+ toDoList: '待办列表重定向',
64
+ },
65
+ },
66
+ };