@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,139 +0,0 @@
1
- import { QXEvent } from 'qx-util';
2
- import { h } from 'vue';
3
- import { RuntimeError } from '@ibiz-template/core';
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 OverlayContainer {
13
- /**
14
- * 创建全局呈现
15
- *
16
- * @author chitanda
17
- * @date 2022-11-09 14:11:52
18
- * @param {unknown} component
19
- * @param {(h: CreateElement) => VNode} render
20
- * @param {IPopoverOptions} [opts]
21
- */
22
- constructor(component, render, opts) {
23
- this.component = component;
24
- this.render = render;
25
- this.opts = opts;
26
- __publicField(this, "vm");
27
- /**
28
- * 具体模态组件
29
- *
30
- * @author chitanda
31
- * @date 2022-11-09 12:11:34
32
- * @protected
33
- * @type {*}
34
- */
35
- __publicField(this, "modal");
36
- /**
37
- * 外面调用dismiss时传的result结果
38
- *
39
- * @author lxm
40
- * @date 2022-11-09 20:11:06
41
- * @protected
42
- * @type {unknown}
43
- */
44
- __publicField(this, "result");
45
- /**
46
- * 内部事件
47
- *
48
- * @author chitanda
49
- * @date 2022-11-09 12:11:42
50
- * @protected
51
- */
52
- __publicField(this, "evt", new QXEvent());
53
- this.init();
54
- }
55
- static createVueApp(_rootComponent, _rootProps) {
56
- throw new RuntimeError("\u6CA1\u6709\u6CE8\u5165createVueApp\u65B9\u6CD5");
57
- }
58
- /**
59
- * 初始化飘窗
60
- *
61
- * @author chitanda
62
- * @date 2022-11-09 12:11:55
63
- * @protected
64
- * @return {*} {void}
65
- */
66
- init() {
67
- const self = this;
68
- const { render, opts } = this;
69
- const container = document.createElement("div");
70
- document.body.appendChild(container);
71
- const vm = OverlayContainer.createVueApp({
72
- mounted() {
73
- self.modal = this.$refs.root;
74
- },
75
- unmounted() {
76
- document.body.removeChild(container);
77
- self.evt.emit("dismiss", self.result);
78
- },
79
- render() {
80
- return h(
81
- self.component,
82
- {
83
- ref: "root",
84
- opts,
85
- onDismiss(data) {
86
- self.result = data;
87
- vm.unmount();
88
- }
89
- },
90
- { default: render }
91
- );
92
- }
93
- });
94
- ibiz.plugin.register(vm);
95
- vm.mount(container);
96
- this.vm = vm;
97
- }
98
- /**
99
- * 打开飘窗
100
- *
101
- * @author chitanda
102
- * @date 2022-11-09 12:11:52
103
- * @param {HTMLElement} target
104
- * @return {*} {Promise<void>}
105
- */
106
- async present() {
107
- return this.modal.present();
108
- }
109
- /**
110
- * 手动调用关闭飘窗
111
- *
112
- * @author chitanda
113
- * @date 2022-11-09 12:11:39
114
- * @param {unknown} [data]
115
- * @return {*} {Promise<void>}
116
- */
117
- async dismiss(data) {
118
- this.modal.dismiss(data);
119
- }
120
- /**
121
- * 订阅窗口关闭
122
- *
123
- * @author chitanda
124
- * @date 2022-11-09 12:11:20
125
- * @template T
126
- * @return {*} {Promise<T>}
127
- */
128
- async onWillDismiss() {
129
- return new Promise((resolve) => {
130
- const callback = (data) => {
131
- resolve(data);
132
- this.evt.off("dismiss", callback);
133
- };
134
- this.evt.on("dismiss", callback);
135
- });
136
- }
137
- }
138
-
139
- export { OverlayContainer };
@@ -1,16 +0,0 @@
1
- import { IPopoverOptions, IOverlayPopoverContainer } from '@ibiz-template/runtime';
2
- import { OverlayContainer } from '../overlay-container/overlay-container';
3
- /**
4
- * 飘窗组件呈现容器
5
- *
6
- * @author chitanda
7
- * @date 2022-11-09 14:11:46
8
- * @export
9
- * @class OverlayPopoverContainer
10
- * @extends {OverlayContainer<IPopoverOptions>}
11
- * @implements {IOverlayPopoverContainer}
12
- */
13
- export declare class OverlayPopoverContainer extends OverlayContainer<IPopoverOptions> implements IOverlayPopoverContainer {
14
- present(): Promise<void>;
15
- present(target: HTMLElement): Promise<void>;
16
- }
@@ -1,10 +0,0 @@
1
- import { OverlayContainer } from '../overlay-container/overlay-container.mjs';
2
-
3
- "use strict";
4
- class OverlayPopoverContainer extends OverlayContainer {
5
- present(target) {
6
- return this.modal.present(target);
7
- }
8
- }
9
-
10
- export { OverlayPopoverContainer };
@@ -1,8 +0,0 @@
1
- import { IDrawerOptions, IFloatWindowOptions, IModal, IModalData, IModalOptions, IPopoverOptions } from '@ibiz-template/runtime';
2
- import { VNode } from 'vue';
3
- export declare function createOverlayView(props?: IParams): (modal: IModal) => VNode;
4
- export declare function openViewModal(props?: IParams, opts?: IModalOptions): Promise<IModalData>;
5
- export declare function openViewFloatWindow(props?: IParams, opts?: IFloatWindowOptions): Promise<IModalData>;
6
- export declare function openViewDrawer(props?: IParams, opts?: IDrawerOptions): Promise<IModalData>;
7
- export declare function openViewPopover(event: MouseEvent, props?: IParams, opts?: IPopoverOptions): Promise<IModalData>;
8
- export declare function getDrawerPlacement(openMode: string): IDrawerOptions['placement'];
@@ -1,63 +0,0 @@
1
- import { resolveComponent, h } from 'vue';
2
-
3
- "use strict";
4
- function createOverlayView(props) {
5
- return (modal) => {
6
- const viewShell = resolveComponent("IBizViewShell");
7
- return h(viewShell, {
8
- ...props,
9
- modal
10
- });
11
- };
12
- }
13
- async function openViewModal(props, opts) {
14
- const overlay = ibiz.overlay.createModal(
15
- createOverlayView(props),
16
- void 0,
17
- opts
18
- );
19
- overlay.present();
20
- const result = await overlay.onWillDismiss();
21
- return result || { ok: false };
22
- }
23
- async function openViewFloatWindow(props, opts) {
24
- const overlay = ibiz.overlay.createFloatWindow(
25
- createOverlayView(props),
26
- void 0,
27
- opts
28
- );
29
- overlay.present();
30
- const result = await overlay.onWillDismiss();
31
- return result || { ok: false };
32
- }
33
- async function openViewDrawer(props, opts) {
34
- const overlay = ibiz.overlay.createDrawer(
35
- createOverlayView(props),
36
- void 0,
37
- opts
38
- );
39
- await overlay.present();
40
- const result = await overlay.onWillDismiss();
41
- return result || { ok: false };
42
- }
43
- async function openViewPopover(event, props, opts) {
44
- const overlay = ibiz.overlay.createPopover(
45
- createOverlayView(props),
46
- void 0,
47
- opts
48
- );
49
- overlay.present(event.target);
50
- const result = await overlay.onWillDismiss();
51
- return result || { ok: false };
52
- }
53
- const PlacementMap = {
54
- DRAWER_LEFT: "left",
55
- DRAWER_RIGHT: "right",
56
- DRAWER_TOP: "top",
57
- DRAWER_BOTTOM: "bottom"
58
- };
59
- function getDrawerPlacement(openMode) {
60
- return PlacementMap[openMode] || "right";
61
- }
62
-
63
- export { createOverlayView, getDrawerPlacement, openViewDrawer, openViewFloatWindow, openViewModal, openViewPopover };
@@ -1,61 +0,0 @@
1
- import { IModalData } from '@ibiz-template/runtime';
2
- /**
3
- * 路由视图关闭回调
4
- *
5
- * @author chitanda
6
- * @date 2023-07-13 21:07:51
7
- * @export
8
- * @class RouterCallbackItem
9
- */
10
- export declare class RouterCallbackItem {
11
- from: string;
12
- to: string;
13
- protected resolve?: (modal: IModalData) => void;
14
- protected promise?: Promise<IModalData>;
15
- /**
16
- * 销毁定时器
17
- *
18
- * @author chitanda
19
- * @date 2023-07-13 21:07:51
20
- * @type {number}
21
- */
22
- timeout?: number;
23
- /**
24
- * 是否已经有打开的视图认领此回调,如果在一定时间内没有被认领,则会被清除
25
- *
26
- * @author chitanda
27
- * @date 2023-07-13 21:07:35
28
- */
29
- isActivated: boolean;
30
- constructor(from: string, to: string);
31
- /**
32
- * 等待视图关闭
33
- *
34
- * @author chitanda
35
- * @date 2023-07-13 21:07:34
36
- * @return {*} {Promise<IModalData>}
37
- */
38
- onWillDismiss(): Promise<IModalData>;
39
- /**
40
- * 关闭视图
41
- *
42
- * @author chitanda
43
- * @date 2023-07-13 21:07:06
44
- * @param {IModalData} modal
45
- */
46
- close(modal: IModalData): void;
47
- /**
48
- * 激活回调
49
- *
50
- * @author chitanda
51
- * @date 2023-07-13 21:07:29
52
- */
53
- active(): void;
54
- /**
55
- * 销毁回调
56
- *
57
- * @author chitanda
58
- * @date 2023-07-13 21:07:21
59
- */
60
- destroy(): void;
61
- }
@@ -1,88 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
8
- class RouterCallbackItem {
9
- constructor(from, to) {
10
- this.from = from;
11
- this.to = to;
12
- __publicField(this, "resolve");
13
- __publicField(this, "promise");
14
- /**
15
- * 销毁定时器
16
- *
17
- * @author chitanda
18
- * @date 2023-07-13 21:07:51
19
- * @type {number}
20
- */
21
- __publicField(this, "timeout");
22
- /**
23
- * 是否已经有打开的视图认领此回调,如果在一定时间内没有被认领,则会被清除
24
- *
25
- * @author chitanda
26
- * @date 2023-07-13 21:07:35
27
- */
28
- __publicField(this, "isActivated", false);
29
- ibiz.log.debug("openRouter: ", from, to);
30
- }
31
- /**
32
- * 等待视图关闭
33
- *
34
- * @author chitanda
35
- * @date 2023-07-13 21:07:34
36
- * @return {*} {Promise<IModalData>}
37
- */
38
- onWillDismiss() {
39
- if (!this.promise) {
40
- this.promise = new Promise((resolve) => {
41
- this.resolve = resolve;
42
- });
43
- }
44
- return this.promise.then((modal) => {
45
- ibiz.log.debug("onWillDismiss: ", this.from, this.to, modal);
46
- return modal;
47
- });
48
- }
49
- /**
50
- * 关闭视图
51
- *
52
- * @author chitanda
53
- * @date 2023-07-13 21:07:06
54
- * @param {IModalData} modal
55
- */
56
- close(modal) {
57
- ibiz.log.debug("closeRouter: ", this.from, this.to, modal);
58
- if (this.resolve) {
59
- this.resolve(modal);
60
- this.resolve = void 0;
61
- }
62
- }
63
- /**
64
- * 激活回调
65
- *
66
- * @author chitanda
67
- * @date 2023-07-13 21:07:29
68
- */
69
- active() {
70
- ibiz.log.debug("activeRouter: ", this.from, this.to);
71
- this.isActivated = true;
72
- }
73
- /**
74
- * 销毁回调
75
- *
76
- * @author chitanda
77
- * @date 2023-07-13 21:07:21
78
- */
79
- destroy() {
80
- ibiz.log.debug("destroyRouter: ", this.from, this.to);
81
- if (this.resolve) {
82
- this.resolve({ ok: false });
83
- this.resolve = void 0;
84
- }
85
- }
86
- }
87
-
88
- export { RouterCallbackItem };
@@ -1,59 +0,0 @@
1
- import { IModalData } from '@ibiz-template/runtime';
2
- import { Router } from 'vue-router';
3
- import { RouterCallbackItem } from './router-callback-item';
4
- /**
5
- * 路由打开视图回调,连通上级视图的关闭
6
- *
7
- * @author chitanda
8
- * @date 2023-07-13 20:07:20
9
- * @export
10
- * @class RouterCallback
11
- */
12
- export declare class RouterCallback {
13
- /**
14
- * 回调实例
15
- *
16
- * @author chitanda
17
- * @date 2023-07-13 20:07:12
18
- * @protected
19
- * @type {Map<string, RouterCallbackItem>}
20
- */
21
- protected map: Map<string, RouterCallbackItem>;
22
- /**
23
- * 打开视图
24
- *
25
- * @author chitanda
26
- * @date 2023-07-13 20:07:13
27
- * @param {Router} router
28
- * @param {string} path
29
- * @return {*} {Promise<IModalData>}
30
- */
31
- open(router: Router, path: string): Promise<IModalData>;
32
- /**
33
- * 关闭视图回调
34
- *
35
- * @author chitanda
36
- * @date 2023-07-13 20:07:38
37
- * @param {string} toFullPath
38
- * @param {IModalData} modal
39
- */
40
- close(toFullPath: string, modal: IModalData): void;
41
- /**
42
- * 激活回调
43
- *
44
- * @author chitanda
45
- * @date 2023-07-13 21:07:03
46
- * @param {string} toFullPath
47
- */
48
- active(toFullPath: string): void;
49
- /**
50
- * 一分钟内未激活的视图回调会被清除
51
- *
52
- * @author chitanda
53
- * @date 2023-07-13 21:07:57
54
- * @protected
55
- * @param {RouterCallbackItem} item
56
- */
57
- protected scheduledDestruction(item: RouterCallbackItem): void;
58
- }
59
- export declare const routerCallback: RouterCallback;
@@ -1,92 +0,0 @@
1
- import { RouterCallbackItem } from './router-callback-item.mjs';
2
-
3
- "use strict";
4
- var __defProp = Object.defineProperty;
5
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => {
7
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
- return value;
9
- };
10
- class RouterCallback {
11
- constructor() {
12
- /**
13
- * 回调实例
14
- *
15
- * @author chitanda
16
- * @date 2023-07-13 20:07:12
17
- * @protected
18
- * @type {Map<string, RouterCallbackItem>}
19
- */
20
- __publicField(this, "map", /* @__PURE__ */ new Map());
21
- }
22
- /**
23
- * 打开视图
24
- *
25
- * @author chitanda
26
- * @date 2023-07-13 20:07:13
27
- * @param {Router} router
28
- * @param {string} path
29
- * @return {*} {Promise<IModalData>}
30
- */
31
- async open(router, path) {
32
- const from = router.currentRoute.value.fullPath;
33
- router.push({ path });
34
- const to = path;
35
- if (this.map.has(to)) {
36
- const item2 = this.map.get(to);
37
- return item2.onWillDismiss();
38
- }
39
- const item = new RouterCallbackItem(from, to);
40
- this.map.set(to, item);
41
- this.scheduledDestruction(item);
42
- return item.onWillDismiss();
43
- }
44
- /**
45
- * 关闭视图回调
46
- *
47
- * @author chitanda
48
- * @date 2023-07-13 20:07:38
49
- * @param {string} toFullPath
50
- * @param {IModalData} modal
51
- */
52
- close(toFullPath, modal) {
53
- const item = this.map.get(toFullPath);
54
- if (item) {
55
- item.close(modal);
56
- this.map.delete(toFullPath);
57
- }
58
- }
59
- /**
60
- * 激活回调
61
- *
62
- * @author chitanda
63
- * @date 2023-07-13 21:07:03
64
- * @param {string} toFullPath
65
- */
66
- active(toFullPath) {
67
- const item = this.map.get(toFullPath);
68
- if (item) {
69
- window.clearTimeout(item.timeout);
70
- item.timeout = void 0;
71
- item.active();
72
- }
73
- }
74
- /**
75
- * 一分钟内未激活的视图回调会被清除
76
- *
77
- * @author chitanda
78
- * @date 2023-07-13 21:07:57
79
- * @protected
80
- * @param {RouterCallbackItem} item
81
- */
82
- scheduledDestruction(item) {
83
- item.timeout = window.setTimeout(() => {
84
- item.timeout = void 0;
85
- item.destroy();
86
- this.map.delete(item.to);
87
- }, 10 * 1e3);
88
- }
89
- }
90
- const routerCallback = new RouterCallback();
91
-
92
- export { RouterCallback, routerCallback };
@@ -1,9 +0,0 @@
1
- export interface IAppStore {
2
- }
3
- export declare const useAppStore: import("pinia").StoreDefinition<"appStore", import("pinia")._UnwrapAll<Pick<{
4
- appStore: IAppStore;
5
- }, "appStore">>, Pick<{
6
- appStore: IAppStore;
7
- }, never>, Pick<{
8
- appStore: IAppStore;
9
- }, never>>;
@@ -1,10 +0,0 @@
1
- import { defineStore } from 'pinia';
2
- import { reactive } from 'vue';
3
-
4
- "use strict";
5
- const useAppStore = defineStore("appStore", () => {
6
- const appStore = reactive({});
7
- return { appStore };
8
- });
9
-
10
- export { useAppStore };
@@ -1,3 +0,0 @@
1
- export * from './app-store/app-store';
2
- export * from './ui-store/ui-store';
3
- export declare const piniaInstance: import("pinia").Pinia;
@@ -1,8 +0,0 @@
1
- import { createPinia } from 'pinia';
2
- export { useAppStore } from './app-store/app-store.mjs';
3
- export { useUIStore } from './ui-store/ui-store.mjs';
4
-
5
- "use strict";
6
- const piniaInstance = createPinia();
7
-
8
- export { piniaInstance };
@@ -1,31 +0,0 @@
1
- import { Ref } from 'vue';
2
- export interface IUIState {
3
- /**
4
- * ui层级
5
- *
6
- * @author lxm
7
- * @date 2022-08-18 21:08:48
8
- * @type {number}
9
- */
10
- zIndex: Ref<number>;
11
- theme: string;
12
- }
13
- export declare const useUIStore: import("pinia").StoreDefinition<"uiStore", import("pinia")._UnwrapAll<Pick<{
14
- UIStore: {
15
- zIndex: number;
16
- theme: string;
17
- };
18
- zIndex: import("./z-index").IzIndexStore;
19
- }, "zIndex" | "UIStore">>, Pick<{
20
- UIStore: {
21
- zIndex: number;
22
- theme: string;
23
- };
24
- zIndex: import("./z-index").IzIndexStore;
25
- }, never>, Pick<{
26
- UIStore: {
27
- zIndex: number;
28
- theme: string;
29
- };
30
- zIndex: import("./z-index").IzIndexStore;
31
- }, never>>;
@@ -1,15 +0,0 @@
1
- import { defineStore } from 'pinia';
2
- import { reactive } from 'vue';
3
- import { useZIndexStore } from './z-index.mjs';
4
-
5
- "use strict";
6
- const useUIStore = defineStore("uiStore", () => {
7
- const zIndex = useZIndexStore();
8
- const UIStore = reactive({
9
- zIndex: zIndex.zIndex,
10
- theme: "light"
11
- });
12
- return { UIStore, zIndex };
13
- });
14
-
15
- export { useUIStore };
@@ -1,34 +0,0 @@
1
- import { Ref } from 'vue';
2
- export interface IzIndexStore {
3
- /**
4
- * 当前最高的ui层级
5
- *
6
- * @author lxm
7
- * @date 2022-08-18 21:08:48
8
- * @type {number}
9
- */
10
- zIndex: Ref<number>;
11
- /**
12
- * 增加Ui层级,返回增加后的层级
13
- *
14
- * @author lxm
15
- * @date 2022-08-18 21:08:22
16
- */
17
- increment(): number;
18
- /**
19
- * 减少Ui层级
20
- *
21
- * @author lxm
22
- * @date 2022-08-18 21:08:22
23
- */
24
- decrement(): void;
25
- }
26
- /**
27
- * 定义zIndex的全局状态变量
28
- *
29
- * @author lxm
30
- * @date 2022-08-18 21:08:26
31
- * @export
32
- * @returns {*}
33
- */
34
- export declare function useZIndexStore(): IzIndexStore;
@@ -1,18 +0,0 @@
1
- import { ref } from 'vue';
2
-
3
- "use strict";
4
- function useZIndexStore() {
5
- const DEFAULT_INDEX = 500;
6
- const INCREMENT_VALUE = 1;
7
- const zIndex = ref(DEFAULT_INDEX);
8
- function increment() {
9
- zIndex.value += INCREMENT_VALUE;
10
- return zIndex.value;
11
- }
12
- function decrement() {
13
- zIndex.value -= INCREMENT_VALUE;
14
- }
15
- return { zIndex, increment, decrement };
16
- }
17
-
18
- export { useZIndexStore };
@@ -1 +0,0 @@
1
- export declare const AppRedirectView: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;