@ibiz-template/vue3-components 0.7.31-alpha.0 → 0.7.37-alpha.5

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 (301) hide show
  1. package/dist/chart-IZpj2cdX.js +1 -0
  2. package/dist/index-2J-iBLG-.js +1 -0
  3. package/dist/index-Yhyr5LJS.js +1 -0
  4. package/dist/index-p59-xI3J.js +4 -0
  5. package/dist/index.min.css +1 -1
  6. package/dist/index.system.min.js +1 -1
  7. package/dist/{xlsx-util-OUxT4A8O.js → xlsx-util-rAKH_Qlc.js} +1 -1
  8. package/es/_virtual/_dayjs.mjs +1 -0
  9. package/es/_virtual/zh-cn.mjs +3 -0
  10. package/es/common/action-toolbar/action-toolbar.css +1 -1
  11. package/es/common/action-toolbar/action-toolbar.mjs +2 -2
  12. package/es/common/coop-alert/coop-alert.d.ts +3 -3
  13. package/es/common/custom-filter-condition/custom-filter-condition.css +1 -0
  14. package/es/common/custom-filter-condition/custom-filter-condition.d.ts +998 -0
  15. package/es/common/custom-filter-condition/custom-filter-condition.mjs +286 -0
  16. package/es/common/custom-theme/custom-theme-model.mjs +62 -0
  17. package/es/common/custom-theme/custom-theme.controller.mjs +6 -5
  18. package/es/common/custom-theme/custom-theme.css +1 -1
  19. package/es/common/emoji-select/emoji-select.d.ts +1 -1
  20. package/es/common/index.mjs +2 -0
  21. package/es/common/pagination/pagination.css +1 -1
  22. package/es/common/pagination/pagination.mjs +1 -1
  23. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.css +1 -1
  24. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.mjs +4 -1
  25. package/es/common/pql-editor/pql-editor.d.ts +6 -0
  26. package/es/common/pql-editor/pql-editor.mjs +229 -130
  27. package/es/common/pql-editor/utils/index.d.ts +8 -4
  28. package/es/common/pql-editor/utils/index.mjs +193 -69
  29. package/es/common/rawitem/rawitem.mjs +16 -0
  30. package/es/common/split/split.d.ts +1 -1
  31. package/es/control/app-menu/app-menu.css +1 -1
  32. package/es/control/app-menu/app-menu.mjs +3 -2
  33. package/es/control/caption-bar/caption-bar.css +1 -1
  34. package/es/control/caption-bar/caption-bar.d.ts +1 -0
  35. package/es/control/caption-bar/caption-bar.mjs +12 -3
  36. package/es/control/caption-bar/index.d.ts +1 -0
  37. package/es/control/chart/chart.mjs +1 -1
  38. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +21 -3
  39. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +35 -10
  40. package/es/control/dashboard/dashboard-design/dashboard-design.css +1 -1
  41. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +2 -2
  42. package/es/control/dashboard/dashboard.d.ts +2 -2
  43. package/es/control/dashboard/dashboard.mjs +41 -7
  44. package/es/control/dashboard/index.d.ts +1 -1
  45. package/es/control/dashboard/index.mjs +4 -1
  46. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -0
  47. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +64 -0
  48. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +341 -0
  49. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/index.d.ts +0 -0
  50. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/index.mjs +1 -0
  51. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.css +1 -0
  52. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +41 -0
  53. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.mjs +130 -0
  54. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -0
  55. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.d.ts +30 -0
  56. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.mjs +87 -0
  57. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.provider.d.ts +15 -0
  58. package/es/control/dashboard/portlet/filter-portlet/filter-portlet.provider.mjs +21 -0
  59. package/es/control/dashboard/portlet/filter-portlet/index.d.ts +28 -0
  60. package/es/control/dashboard/portlet/filter-portlet/index.mjs +14 -0
  61. package/es/control/dashboard/portlet/index.d.ts +1 -0
  62. package/es/control/dashboard/portlet/index.mjs +2 -0
  63. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  64. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +1 -1
  65. package/es/control/drtab/drtab-control.util.mjs +1 -1
  66. package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  67. package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  68. package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +6 -2
  69. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  70. package/es/control/form/form-detail/form-item/form-item.mjs +8 -3
  71. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +6 -0
  72. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +4 -3
  73. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +6 -12
  74. package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  75. package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +8 -1
  76. package/es/control/grid/grid/grid-control.util.mjs +1 -1
  77. package/es/control/grid/grid/grid.css +1 -1
  78. package/es/control/grid/grid/grid.mjs +5 -1
  79. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +2 -2
  80. package/es/control/index.mjs +2 -0
  81. package/es/control/search-bar/filter-tree/filter-tree.d.ts +16 -1
  82. package/es/control/search-bar/filter-tree/filter-tree.mjs +12 -4
  83. package/es/control/search-bar/quick-search-select/quick-search-select.css +1 -1
  84. package/es/control/search-bar/quick-search-select/quick-search-select.mjs +1 -0
  85. package/es/control/search-bar/search-bar.css +1 -1
  86. package/es/control/search-bar/search-bar.mjs +2 -0
  87. package/es/control/search-bar/search-groups/search-groups.mjs +8 -5
  88. package/es/control/toolbar/export-excel/export-excel.css +1 -1
  89. package/es/control/toolbar/toolbar.css +1 -1
  90. package/es/control/tree/tree.css +1 -1
  91. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.mjs +2 -2
  92. package/es/control/tree-grid-ex/tree-grid-ex.mjs +1 -1
  93. package/es/control/wizard-panel/wizard-panel.css +1 -1
  94. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
  95. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +35 -1
  96. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +26 -55
  97. package/es/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.css +1 -0
  98. package/es/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.d.ts +51 -0
  99. package/es/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.mjs +335 -0
  100. package/es/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.css +1 -0
  101. package/es/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.d.ts +65 -0
  102. package/es/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.mjs +260 -0
  103. package/es/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.css +1 -0
  104. package/es/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.d.ts +52 -0
  105. package/es/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.mjs +258 -0
  106. package/es/editor/date-range-select/date-range-select-picker/date-range-select.css +1 -0
  107. package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +64 -0
  108. package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +339 -0
  109. package/es/editor/date-range-select/date-range-select.controller.d.ts +328 -0
  110. package/es/editor/date-range-select/date-range-select.controller.mjs +859 -0
  111. package/es/editor/date-range-select/date-range-select.provider.d.ts +8 -0
  112. package/es/editor/date-range-select/date-range-select.provider.mjs +25 -0
  113. package/es/editor/date-range-select/index.d.ts +3 -0
  114. package/es/editor/date-range-select/index.mjs +5 -0
  115. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +3 -0
  116. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +48 -22
  117. package/es/editor/index.mjs +8 -0
  118. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.mjs +32 -32
  119. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  120. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +17 -2
  121. package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +6 -7
  122. package/es/editor/span/span/span.css +1 -1
  123. package/es/editor/span/span/span.mjs +2 -0
  124. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -0
  125. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -0
  126. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +4 -2
  127. package/es/editor/upload/use/use-iview-upload.d.ts +1 -0
  128. package/es/editor/upload/use/use-iview-upload.mjs +37 -0
  129. package/es/index.mjs +2 -0
  130. package/es/interface/i-field.d.ts +66 -0
  131. package/es/interface/i-field.mjs +1 -0
  132. package/es/interface/i-filter-condition.d.ts +52 -0
  133. package/es/interface/i-filter-condition.mjs +1 -0
  134. package/es/interface/i-pql-item.d.ts +1 -0
  135. package/es/interface/i-pql-node-item.d.ts +35 -0
  136. package/es/interface/i-pql-node-item.mjs +1 -0
  137. package/es/interface/index.d.ts +3 -0
  138. package/es/interface/index.mjs +3 -0
  139. package/es/locale/en/index.d.ts +78 -1
  140. package/es/locale/en/index.mjs +74 -3
  141. package/es/locale/zh-CN/index.d.ts +78 -1
  142. package/es/locale/zh-CN/index.mjs +74 -3
  143. package/es/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +15 -0
  144. package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  145. package/es/panel-component/coop-pos/coop-pos.controller.d.ts +17 -4
  146. package/es/panel-component/coop-pos/coop-pos.controller.mjs +48 -4
  147. package/es/panel-component/coop-pos/coop-pos.css +1 -1
  148. package/es/panel-component/coop-pos/coop-pos.d.ts +12 -0
  149. package/es/panel-component/coop-pos/coop-pos.mjs +20 -4
  150. package/es/panel-component/coop-pos/coop-pos.state.d.ts +14 -0
  151. package/es/panel-component/coop-pos/coop-pos.state.mjs +14 -0
  152. package/es/panel-component/coop-pos/index.d.ts +1 -0
  153. package/es/panel-component/nav-tabs/nav-tabs.css +1 -1
  154. package/es/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
  155. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +18 -3
  156. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +28 -0
  157. package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
  158. package/es/panel-component/panel-app-title/panel-app-title.mjs +46 -3
  159. package/es/panel-component/panel-button/index.d.ts +1 -1
  160. package/es/panel-component/panel-button/panel-button.d.ts +1 -1
  161. package/es/panel-component/panel-exp-header/panel-exp-header.css +1 -1
  162. package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
  163. package/es/panel-component/short-cut/short-cut.css +1 -1
  164. package/es/util/app-modal/app-modal-component.css +1 -1
  165. package/es/util/fullscreen/fullscreen-util.d.ts +7 -0
  166. package/es/util/fullscreen/fullscreen-util.mjs +9 -0
  167. package/es/util/open-view-util/open-view-util.d.ts +11 -0
  168. package/es/util/open-view-util/open-view-util.mjs +21 -0
  169. package/es/util/wang-editor-util/wang-editor-util.d.ts +1 -0
  170. package/es/util/wang-editor-util/wang-editor-util.mjs +12 -7
  171. package/es/view/login-view/login-view.css +1 -1
  172. package/es/view/share-view/share-view.css +1 -1
  173. package/es/view-engine/edit-view.engine.d.ts +17 -0
  174. package/es/view-engine/edit-view.engine.mjs +73 -36
  175. package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +1 -1
  176. package/es/web-app/create-vue-app.mjs +8 -0
  177. package/lib/_virtual/_dayjs.cjs +9 -0
  178. package/lib/_virtual/zh-cn.cjs +5 -0
  179. package/lib/common/action-toolbar/action-toolbar.cjs +2 -2
  180. package/lib/common/action-toolbar/action-toolbar.css +1 -1
  181. package/lib/common/custom-filter-condition/custom-filter-condition.cjs +288 -0
  182. package/lib/common/custom-filter-condition/custom-filter-condition.css +1 -0
  183. package/lib/common/custom-theme/custom-theme-model.cjs +62 -0
  184. package/lib/common/custom-theme/custom-theme.controller.cjs +6 -5
  185. package/lib/common/custom-theme/custom-theme.css +1 -1
  186. package/lib/common/index.cjs +2 -0
  187. package/lib/common/pagination/pagination.cjs +1 -1
  188. package/lib/common/pagination/pagination.css +1 -1
  189. package/lib/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.cjs +4 -1
  190. package/lib/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.css +1 -1
  191. package/lib/common/pql-editor/pql-editor.cjs +228 -129
  192. package/lib/common/pql-editor/utils/index.cjs +195 -68
  193. package/lib/common/rawitem/rawitem.cjs +16 -0
  194. package/lib/control/app-menu/app-menu.cjs +3 -2
  195. package/lib/control/app-menu/app-menu.css +1 -1
  196. package/lib/control/caption-bar/caption-bar.cjs +11 -2
  197. package/lib/control/caption-bar/caption-bar.css +1 -1
  198. package/lib/control/chart/chart.cjs +1 -1
  199. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +34 -9
  200. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +2 -2
  201. package/lib/control/dashboard/dashboard-design/dashboard-design.css +1 -1
  202. package/lib/control/dashboard/dashboard.cjs +40 -6
  203. package/lib/control/dashboard/index.cjs +5 -0
  204. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +343 -0
  205. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -0
  206. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/index.cjs +3 -0
  207. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.cjs +132 -0
  208. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.css +1 -0
  209. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.cjs +89 -0
  210. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.css +1 -0
  211. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet.provider.cjs +23 -0
  212. package/lib/control/dashboard/portlet/filter-portlet/index.cjs +20 -0
  213. package/lib/control/dashboard/portlet/index.cjs +4 -0
  214. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +1 -1
  215. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  216. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  217. package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
  218. package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +6 -2
  219. package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  220. package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
  221. package/lib/control/form/form-detail/form-item/form-item.cjs +8 -3
  222. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +3 -2
  223. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +5 -11
  224. package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +8 -1
  225. package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
  226. package/lib/control/grid/grid/grid-control.util.cjs +1 -1
  227. package/lib/control/grid/grid/grid.cjs +5 -1
  228. package/lib/control/grid/grid/grid.css +1 -1
  229. package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.cjs +2 -2
  230. package/lib/control/index.cjs +22 -18
  231. package/lib/control/search-bar/filter-tree/filter-tree.cjs +12 -4
  232. package/lib/control/search-bar/quick-search-select/quick-search-select.cjs +1 -0
  233. package/lib/control/search-bar/quick-search-select/quick-search-select.css +1 -1
  234. package/lib/control/search-bar/search-bar.cjs +2 -0
  235. package/lib/control/search-bar/search-bar.css +1 -1
  236. package/lib/control/search-bar/search-groups/search-groups.cjs +8 -5
  237. package/lib/control/toolbar/export-excel/export-excel.css +1 -1
  238. package/lib/control/toolbar/toolbar.css +1 -1
  239. package/lib/control/tree/tree.css +1 -1
  240. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.cjs +2 -2
  241. package/lib/control/tree-grid-ex/tree-grid-ex.cjs +1 -1
  242. package/lib/control/wizard-panel/wizard-panel.css +1 -1
  243. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +26 -55
  244. package/lib/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.cjs +339 -0
  245. package/lib/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.css +1 -0
  246. package/lib/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.cjs +264 -0
  247. package/lib/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.css +1 -0
  248. package/lib/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.cjs +262 -0
  249. package/lib/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.css +1 -0
  250. package/lib/editor/date-range-select/date-range-select-picker/date-range-select.cjs +341 -0
  251. package/lib/editor/date-range-select/date-range-select-picker/date-range-select.css +1 -0
  252. package/lib/editor/date-range-select/date-range-select.controller.cjs +861 -0
  253. package/lib/editor/date-range-select/date-range-select.provider.cjs +27 -0
  254. package/lib/editor/date-range-select/index.cjs +11 -0
  255. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +47 -21
  256. package/lib/editor/index.cjs +8 -0
  257. package/lib/editor/list-box/ibiz-list-box/ibiz-list-box.cjs +32 -32
  258. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +17 -2
  259. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  260. package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +6 -7
  261. package/lib/editor/span/span/span.cjs +2 -0
  262. package/lib/editor/span/span/span.css +1 -1
  263. package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +4 -2
  264. package/lib/editor/upload/use/use-iview-upload.cjs +37 -0
  265. package/lib/index.cjs +52 -48
  266. package/lib/interface/i-field.cjs +3 -0
  267. package/lib/interface/i-filter-condition.cjs +3 -0
  268. package/lib/interface/i-pql-node-item.cjs +3 -0
  269. package/lib/interface/index.cjs +3 -0
  270. package/lib/locale/en/index.cjs +74 -3
  271. package/lib/locale/zh-CN/index.cjs +74 -3
  272. package/lib/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.cjs +19 -0
  273. package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  274. package/lib/panel-component/coop-pos/coop-pos.cjs +19 -3
  275. package/lib/panel-component/coop-pos/coop-pos.controller.cjs +48 -4
  276. package/lib/panel-component/coop-pos/coop-pos.css +1 -1
  277. package/lib/panel-component/coop-pos/coop-pos.state.cjs +14 -0
  278. package/lib/panel-component/nav-tabs/nav-tabs.css +1 -1
  279. package/lib/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
  280. package/lib/panel-component/panel-app-title/panel-app-title.cjs +46 -3
  281. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +28 -0
  282. package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
  283. package/lib/panel-component/panel-exp-header/panel-exp-header.css +1 -1
  284. package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
  285. package/lib/panel-component/short-cut/short-cut.css +1 -1
  286. package/lib/util/app-modal/app-modal-component.css +1 -1
  287. package/lib/util/fullscreen/fullscreen-util.cjs +9 -0
  288. package/lib/util/open-view-util/open-view-util.cjs +21 -0
  289. package/lib/util/wang-editor-util/wang-editor-util.cjs +12 -7
  290. package/lib/view/login-view/login-view.css +1 -1
  291. package/lib/view/share-view/share-view.css +1 -1
  292. package/lib/view-engine/edit-view.engine.cjs +72 -35
  293. package/lib/web-app/components/modal-router-shell/modal-router-shell.cjs +1 -1
  294. package/lib/web-app/create-vue-app.cjs +8 -0
  295. package/package.json +9 -8
  296. package/dist/chart-0UV2FAN6.js +0 -1
  297. package/dist/index-YQyitjSg.js +0 -1
  298. package/dist/index-maJGu4b8.js +0 -4
  299. package/dist/index-trS6uS3E.js +0 -1
  300. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.30_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.35-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  301. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.30_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.35-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -34,6 +34,9 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
34
34
  type: Object,
35
35
  required: true
36
36
  },
37
+ params: {
38
+ type: Object
39
+ },
37
40
  renderItem: {
38
41
  type: Function
39
42
  }
@@ -97,20 +100,95 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
97
100
  }
98
101
  }
99
102
  };
103
+ const getEntitySuggestionItems = async (field) => {
104
+ if (!field || !field.appDataEntityId) {
105
+ return;
106
+ }
107
+ const service = await ibiz.hub.getAppDEService(props.context.srfappid, field.appDataEntityId, props.context);
108
+ const data = await service.fetchDefault(props.context, props.params);
109
+ if (data && Array.isArray(data.data)) {
110
+ const items = data.data;
111
+ if (items.length) {
112
+ return items.map((item) => {
113
+ return {
114
+ type: "pql-field-value",
115
+ label: item.srfmajortext,
116
+ value: item.srfkey
117
+ };
118
+ });
119
+ }
120
+ return [{
121
+ _msg: ibiz.i18n.t("control.common.currentNoData")
122
+ }];
123
+ }
124
+ };
100
125
  const getSuggestionItems = async () => {
101
- var _a, _b, _c, _d, _e;
126
+ var _a, _b, _c, _d, _e, _f, _g, _h;
102
127
  if (!editor$1) {
103
128
  return [];
104
129
  }
105
130
  const currenNode = getCurrentNode();
106
- const nodes = ((_a = editor$1.children[0]) == null ? void 0 : _a.children) || [];
107
- const children = nodes.filter((node) => node.type || node.text);
108
- if (!currenNode && children.length) {
131
+ const {
132
+ selection
133
+ } = editor$1;
134
+ if (!selection) {
109
135
  return [];
110
136
  }
137
+ if (selection && ((_b = (_a = selection.focus) == null ? void 0 : _a.path) == null ? void 0 : _b[0]) !== 0) {
138
+ return [];
139
+ }
140
+ if (!currenNode) {
141
+ if (selection && ((_c = selection.focus) == null ? void 0 : _c.offset) === 0) {
142
+ const node = editor.SlateEditor.node(editor$1, selection)[0];
143
+ if (node) {
144
+ const el = editor$1.toDOMNode(node);
145
+ if (index.isMove(el)) {
146
+ return [];
147
+ }
148
+ }
149
+ }
150
+ }
111
151
  if (editor$1.selection) {
112
152
  const node = editor.SlateEditor.node(editor$1, editor$1.selection);
113
- if (node && ((_b = node[0]) == null ? void 0 : _b.type)) {
153
+ if (node && ((_d = node[0]) == null ? void 0 : _d.type)) {
154
+ return [];
155
+ }
156
+ }
157
+ const nodeItems = index.generateNodeItems(currenNode, getPreviousNode);
158
+ const nodeItem = nodeItems[nodeItems.length - 1];
159
+ if (nodeItem && nodeItem.type === "condition") {
160
+ if (((_e = nodeItem.operator) == null ? void 0 : _e.value) && index.InOPs.includes(nodeItem.operator.value)) {
161
+ if (nodeItem.value) {
162
+ if (currenNode === nodeItem.value[nodeItem.value.length - 1] && currenNode.text) {
163
+ const text = currenNode.text.slice(0, selection.focus.offset).trim();
164
+ if (text === "," || text === "[") {
165
+ const field = props.fields.find((item) => {
166
+ var _a2;
167
+ return item.appDEFieldId === ((_a2 = nodeItem.key) == null ? void 0 : _a2.value);
168
+ });
169
+ if (field && field.appCodeListId) {
170
+ const items = await getCodeListItems(field.appCodeListId);
171
+ return items.map((item) => {
172
+ return {
173
+ type: "pql-field-value",
174
+ label: item.text,
175
+ value: item.value
176
+ };
177
+ });
178
+ }
179
+ const entitySuggestionItems = await getEntitySuggestionItems(field);
180
+ if (entitySuggestionItems) {
181
+ return entitySuggestionItems;
182
+ }
183
+ }
184
+ if (text === "]" || text === "[]") {
185
+ return connectionList;
186
+ }
187
+ if (nodeItem.value.length === 1 && text) {
188
+ return connectionList;
189
+ }
190
+ }
191
+ }
114
192
  return [];
115
193
  }
116
194
  }
@@ -133,6 +211,9 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
133
211
  if (currenNode && currenNode.type === "pql-field-operator") {
134
212
  const mode = index.FilterModes.find((_mode) => _mode.valueOP === currenNode.value);
135
213
  if (mode) {
214
+ if (index.InputOPs.includes(mode.valueOP)) {
215
+ return [];
216
+ }
136
217
  if (index.ExcludeOPs.includes(mode.valueOP)) {
137
218
  return connectionList;
138
219
  }
@@ -149,6 +230,10 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
149
230
  };
150
231
  });
151
232
  }
233
+ const entitySuggestionItems = await getEntitySuggestionItems(field);
234
+ if (entitySuggestionItems) {
235
+ return entitySuggestionItems;
236
+ }
152
237
  }
153
238
  }
154
239
  return [];
@@ -165,13 +250,13 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
165
250
  if (currenNode && !currenNode.type) {
166
251
  const previousNode = getPreviousNode(currenNode);
167
252
  if (previousNode && previousNode.type === "pql-field-operator") {
168
- if (((_c = editor$1.selection) == null ? void 0 : _c.focus.offset) !== 0) {
253
+ if (((_f = editor$1.selection) == null ? void 0 : _f.focus.offset) !== 0) {
169
254
  return connectionList;
170
255
  }
171
256
  return [];
172
257
  }
173
258
  if (previousNode && previousNode.type === "pql-field") {
174
- if (((_d = editor$1.selection) == null ? void 0 : _d.focus.offset) !== 0) {
259
+ if (((_g = editor$1.selection) == null ? void 0 : _g.focus.offset) !== 0) {
175
260
  return connectionList;
176
261
  }
177
262
  const field = props.fields.find((item) => item.appDEFieldId === previousNode.value);
@@ -186,7 +271,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
186
271
  }
187
272
  }
188
273
  if (previousNode && previousNode.type === "pql-field-connection") {
189
- if (((_e = editor$1.selection) == null ? void 0 : _e.focus.offset) !== 0) {
274
+ if (((_h = editor$1.selection) == null ? void 0 : _h.focus.offset) !== 0) {
190
275
  return connectionList;
191
276
  }
192
277
  return props.fields.map((item) => {
@@ -229,6 +314,10 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
229
314
  };
230
315
  editor$1.insertNode(node);
231
316
  editor$1.move(1);
317
+ if (item.type === "pql-field-operator" && index.InOPs.includes(item.value)) {
318
+ editor$1.insertText("[]");
319
+ editor$1.moveReverse(1);
320
+ }
232
321
  };
233
322
  const showSuggestion = async () => {
234
323
  if (!editor$1) {
@@ -248,6 +337,9 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
248
337
  return;
249
338
  }
250
339
  const items = await getSuggestionItems();
340
+ if (overlayPopover || !editor$1.isFocused()) {
341
+ return;
342
+ }
251
343
  if (!items || !items.length) {
252
344
  return;
253
345
  }
@@ -270,7 +362,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
270
362
  const errorMsg = vue.ref();
271
363
  const errorMsgEl = vue.ref();
272
364
  const verifyNode = () => {
273
- var _a;
365
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
274
366
  if (!editor$1) {
275
367
  return;
276
368
  }
@@ -279,137 +371,139 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
279
371
  if (!children.length) {
280
372
  return;
281
373
  }
282
- let last = {
283
- type: "pql-field-connection"
284
- };
285
- for (let i = 0; i < children.length; i++) {
286
- const child = children[i];
287
- if (last.type === "pql-field-connection") {
288
- if (child.type === "pql-field") {
289
- last = child;
290
- } else if (child.type === "pql-field-operator") {
291
- return {
292
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u5DE6\u503C\u3002",
293
- child
294
- };
295
- } else if (child.type === "pql-field-value" || child.text) {
296
- return {
297
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u5DE6\u503C\u3002",
298
- child
299
- };
300
- } else if (child.type === "pql-field-connection") {
301
- return {
302
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8FDE\u63A5\u7B26\u7F3A\u5931\u8868\u8FBE\u5F0F",
303
- child
304
- };
305
- }
306
- } else if (last.type === "pql-field") {
307
- if (child.type === "pql-field") {
308
- return {
309
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u64CD\u4F5C\u7B26\u3002",
310
- child: children[i - 1] || child
311
- };
312
- }
313
- if (child.type === "pql-field-operator") {
314
- last = child;
315
- } else if (child.type === "pql-field-value" || child.text) {
316
- return {
317
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u64CD\u4F5C\u7B26\u3002",
318
- child
319
- };
320
- } else if (child.type === "pql-field-connection") {
321
- return {
322
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u64CD\u4F5C\u7B26\u3002",
323
- child: children[i - 1] || child
324
- };
325
- }
326
- } else if (last.type === "pql-field-operator") {
327
- if (last.value && index.ExcludeOPs.includes(last.value)) {
328
- if (child.type === "pql-field") {
329
- return {
330
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
331
- child
332
- };
333
- }
334
- if (child.type === "pql-field-operator") {
335
- return {
336
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
337
- child
338
- };
339
- }
340
- if (child.type === "pql-field-value" || child.text) {
341
- return {
342
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
343
- child
344
- };
345
- }
346
- if (child.type === "pql-field-connection") {
347
- last = child;
348
- }
349
- } else if (child.type === "pql-field") {
350
- return {
351
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u53F3\u503C\u3002",
352
- child: children[i - 1] || child
353
- };
354
- } else if (child.type === "pql-field-operator") {
355
- return {
356
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u53F3\u503C\u3002",
357
- child: children[i - 1] || child
358
- };
359
- } else if (child.type === "pql-field-value" || child.text) {
360
- last = child;
361
- } else if (child.type === "pql-field-connection") {
362
- return {
363
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u53F3\u503C\u3002",
364
- child: children[i - 1] || child
365
- };
366
- }
367
- } else if (last.type === "pql-field-value" || last.text) {
368
- if (child.type === "pql-field") {
369
- return {
370
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
371
- child
372
- };
373
- }
374
- if (child.type === "pql-field-operator") {
375
- return {
376
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
377
- child
378
- };
379
- }
380
- if (child.type === "pql-field-value" || child.text) {
374
+ const items = index.generateNodeItems(children[children.length - 1], getPreviousNode);
375
+ if (!items.length) {
376
+ return;
377
+ }
378
+ for (let i = 0; i < items.length; i++) {
379
+ const item = items[i];
380
+ if (item.type === "connection") {
381
+ if (((_b = items[i - 1]) == null ? void 0 : _b.type) === "connection" || i === 0 || i === items.length - 1) {
381
382
  return {
382
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u8FDE\u63A5\u7B26\u3002",
383
- child
383
+ msg: ibiz.i18n.t("component.pqlEditor.noExpression"),
384
+ child: (_c = item.value) == null ? void 0 : _c[0]
384
385
  };
385
386
  }
386
- if (child.type === "pql-field-connection") {
387
- last = child;
387
+ continue;
388
+ }
389
+ if (item.type === "condition" && ((_d = items[i - 1]) == null ? void 0 : _d.type) === "condition") {
390
+ let child;
391
+ if (item.key) {
392
+ child = item.key;
393
+ } else if (item.operator) {
394
+ child = item.operator;
395
+ } else if (item.value) {
396
+ child = (_e = item.value) == null ? void 0 : _e[0];
388
397
  }
398
+ return {
399
+ msg: ibiz.i18n.t("component.pqlEditor.noConnection"),
400
+ child
401
+ };
389
402
  }
390
- }
391
- if (last.type !== "pql-field-value" || !last.text) {
392
- if (last.type === "pql-field") {
403
+ if (!item.key) {
404
+ let child;
405
+ if (item.operator) {
406
+ child = item.operator;
407
+ } else if (item.value) {
408
+ child = (_f = item.value) == null ? void 0 : _f[0];
409
+ }
393
410
  return {
394
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u64CD\u4F5C\u7B26\u3002",
395
- child: children[children.length - 1]
411
+ msg: ibiz.i18n.t("component.pqlEditor.noKey"),
412
+ child
396
413
  };
397
414
  }
398
- if (last.type === "pql-field-operator") {
399
- if (last.value && index.ExcludeOPs.includes(last.value)) {
400
- return;
415
+ if (!item.operator) {
416
+ let child = item.key;
417
+ if (item.value) {
418
+ child = item.value[0];
419
+ } else if (items[i + 1]) {
420
+ if (items[i + 1].type === "connection") {
421
+ child = (_g = items[i + 1].value) == null ? void 0 : _g[0];
422
+ } else if (items[i + 1].key) {
423
+ child = items[i + 1].key;
424
+ } else if (items[i + 1].operator) {
425
+ child = items[i + 1].operator;
426
+ } else if (items[i + 1].value) {
427
+ child = (_h = items[i + 1].value) == null ? void 0 : _h[0];
428
+ }
401
429
  }
402
430
  return {
403
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8868\u8FBE\u5F0F\u7F3A\u5931\u53F3\u503C\u3002",
404
- child: children[children.length - 1]
431
+ msg: ibiz.i18n.t("component.pqlEditor.noOperator"),
432
+ child
405
433
  };
406
434
  }
407
- if (last.type === "pql-field-connection") {
435
+ if (item.operator.value && !index.ExcludeOPs.includes(item.operator.value) && !item.value) {
436
+ let child = item.operator;
437
+ if (items[i + 1]) {
438
+ if (items[i + 1].type === "connection") {
439
+ child = (_i = items[i + 1].value) == null ? void 0 : _i[0];
440
+ } else if (items[i + 1].key) {
441
+ child = items[i + 1].key;
442
+ } else if (items[i + 1].operator) {
443
+ child = items[i + 1].operator;
444
+ } else if (items[i + 1].value) {
445
+ child = (_j = items[i + 1].value) == null ? void 0 : _j[0];
446
+ }
447
+ }
408
448
  return {
409
- msg: "\u9519\u8BEF\u7684\u8868\u8FBE\u5F0F\u3002\u8FDE\u63A5\u7B26\u7F3A\u5931\u8868\u8FBE\u5F0F\u3002",
410
- child: children[children.length - 1]
449
+ msg: ibiz.i18n.t("component.pqlEditor.noValue"),
450
+ child
411
451
  };
412
452
  }
453
+ if (item.operator.value && index.InOPs.includes(item.operator.value)) {
454
+ const value = item.value;
455
+ if (Array.isArray(value)) {
456
+ if (value.length > 1 && ((_k = value[0].text) == null ? void 0 : _k.trim()) !== "[") {
457
+ return {
458
+ msg: ibiz.i18n.t("component.pqlEditor.errorCombination"),
459
+ child: value[0]
460
+ };
461
+ }
462
+ let type = "value";
463
+ for (let j = 1; j < value.length; j++) {
464
+ if (j === value.length - 1) {
465
+ if (((_l = value[value.length - 1].text) == null ? void 0 : _l.trim()) !== "]") {
466
+ let child = value[value.length - 1];
467
+ if (child.type === "pql-field-value") {
468
+ if (items[i + 1]) {
469
+ if (items[i + 1].type === "connection") {
470
+ child = (_m = items[i + 1].value) == null ? void 0 : _m[0];
471
+ } else if (items[i + 1].key) {
472
+ child = items[i + 1].key;
473
+ } else if (items[i + 1].operator) {
474
+ child = items[i + 1].operator;
475
+ } else if (items[i + 1].value) {
476
+ child = (_n = items[i + 1].value) == null ? void 0 : _n[0];
477
+ }
478
+ }
479
+ }
480
+ return {
481
+ msg: ibiz.i18n.t("component.pqlEditor.errorCombination"),
482
+ child
483
+ };
484
+ }
485
+ continue;
486
+ }
487
+ if (type === "value") {
488
+ if (value[j].type !== "pql-field-value") {
489
+ return {
490
+ msg: ibiz.i18n.t("component.pqlEditor.errorDelimiter"),
491
+ child: value[j]
492
+ };
493
+ }
494
+ type = "text";
495
+ } else if (type === "text") {
496
+ if (value[j].type || ((_o = value[j].text) == null ? void 0 : _o.trim()) !== ",") {
497
+ return {
498
+ msg: ibiz.i18n.t("component.pqlEditor.noDelimiter"),
499
+ child: value[j]
500
+ };
501
+ }
502
+ type = "value";
503
+ }
504
+ }
505
+ }
506
+ }
413
507
  }
414
508
  };
415
509
  const verify = () => {
@@ -432,7 +526,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
432
526
  }
433
527
  const pqlItems = index.parseCustomCond(props.value);
434
528
  if (pqlItems) {
435
- const nodes = await index.pqlItemsToPqlNodes(pqlItems, props.fields, getCodeListItems);
529
+ const nodes = await index.pqlItemsToPqlNodes(pqlItems);
436
530
  if (nodes && nodes.length) {
437
531
  const html = index.pqlNodesToHtml(nodes);
438
532
  currentValue.value = props.value;
@@ -456,7 +550,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
456
550
  }
457
551
  const pqlItems = index.parseCustomCond(props.value);
458
552
  if (pqlItems) {
459
- const nodes = await index.pqlItemsToPqlNodes(pqlItems, props.fields, getCodeListItems);
553
+ const nodes = await index.pqlItemsToPqlNodes(pqlItems);
460
554
  if (nodes && nodes.length) {
461
555
  const html = index.pqlNodesToHtml(nodes);
462
556
  currentValue.value = props.value;
@@ -498,7 +592,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
498
592
  }
499
593
  if (!msg) {
500
594
  try {
501
- const items = index.generateItems(children);
595
+ const items = index.generateNodeItems(children[children.length - 1], getPreviousNode);
502
596
  const customCond = index.generateCustomCond(items, props.fields);
503
597
  currentValue.value = customCond;
504
598
  emit("change", customCond);
@@ -544,6 +638,11 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
544
638
  editor$1.setHtml(htmlText.value);
545
639
  cleanupKeydown = core.listenJSEvent(editorRef.value, "keydown", (event) => {
546
640
  setTimeout(() => {
641
+ if ((event.key === "ArrowUp" || event.key === "ArrowDown") && editor$1) {
642
+ setTimeout(() => {
643
+ showSuggestion();
644
+ }, 10);
645
+ }
547
646
  if ((event.key === "ArrowLeft" || event.key === "ArrowRight") && editor$1) {
548
647
  const {
549
648
  selection
@@ -567,7 +666,7 @@ const IBizPqlEditor = /* @__PURE__ */ vue.defineComponent({
567
666
  }, 10);
568
667
  }
569
668
  }, 10);
570
- if (event.key === "Escape") {
669
+ if (event.key === "Escape" || event.key === "Enter") {
571
670
  event.stopPropagation();
572
671
  overlayPopover == null ? void 0 : overlayPopover.dismiss();
573
672
  }