@tmagic/editor 1.8.4 → 1.8.6

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 (303) hide show
  1. package/dist/es/{Editor.vue_vue_type_script_setup_true_lang.js → Editor.vue.js} +9 -9
  2. package/dist/es/{Editor.js → Editor2.vue.js} +1 -1
  3. package/dist/es/components/{CodeBlockEditor.vue_vue_type_script_setup_true_lang.js → CodeBlockEditor.vue.js} +5 -5
  4. package/dist/es/components/{CodeBlockEditor.js → CodeBlockEditor2.vue.js} +1 -1
  5. package/dist/es/components/{CodeParams.js → CodeParams2.vue.js} +1 -1
  6. package/dist/es/components/{CompareForm.js → CompareForm2.vue.js} +1 -1
  7. package/dist/es/components/{ContentMenu.vue_vue_type_script_setup_true_lang.js → ContentMenu.vue.js} +2 -2
  8. package/dist/es/components/{ContentMenu.js → ContentMenu2.vue.js} +1 -1
  9. package/dist/es/components/{FloatingBox.vue_vue_type_script_setup_true_lang.js → FloatingBox.vue.js} +2 -2
  10. package/dist/es/components/{FloatingBox.js → FloatingBox2.vue.js} +1 -1
  11. package/dist/es/components/{Icon.js → Icon2.vue.js} +1 -1
  12. package/dist/es/components/{Resizer.js → Resizer2.vue.js} +1 -1
  13. package/dist/es/components/{ScrollBar.js → ScrollBar2.vue.js} +1 -1
  14. package/dist/es/components/{ScrollViewer.vue_vue_type_script_setup_true_lang.js → ScrollViewer.vue.js} +3 -3
  15. package/dist/es/components/{ScrollViewer.js → ScrollViewer2.vue.js} +1 -1
  16. package/dist/es/components/{SearchInput.js → SearchInput2.vue.js} +1 -1
  17. package/dist/es/components/{SplitView.vue_vue_type_script_setup_true_lang.js → SplitView.vue.js} +1 -1
  18. package/dist/es/components/{SplitView.js → SplitView2.vue.js} +1 -1
  19. package/dist/es/components/{ToolButton.vue_vue_type_script_setup_true_lang.js → ToolButton.vue.js} +3 -3
  20. package/dist/es/components/{ToolButton.js → ToolButton2.vue.js} +1 -1
  21. package/dist/es/components/{Tree.vue_vue_type_script_setup_true_lang.js → Tree.vue.js} +1 -1
  22. package/dist/es/components/{Tree.js → Tree2.vue.js} +1 -1
  23. package/dist/es/components/{TreeNode.vue_vue_type_script_setup_true_lang.js → TreeNode.vue.js} +2 -2
  24. package/dist/es/components/{TreeNode.js → TreeNode2.vue.js} +1 -1
  25. package/dist/es/components/{ViewForm.js → ViewForm2.vue.js} +1 -1
  26. package/dist/es/fields/{Code.vue_vue_type_script_setup_true_lang.js → Code.vue.js} +1 -1
  27. package/dist/es/fields/{Code.js → Code2.vue.js} +1 -1
  28. package/dist/es/fields/{CodeLink.js → CodeLink2.vue.js} +1 -1
  29. package/dist/es/fields/{CodeSelect.js → CodeSelect2.vue.js} +1 -1
  30. package/dist/es/fields/{CodeSelectCol.vue_vue_type_script_setup_true_lang.js → CodeSelectCol.vue.js} +7 -7
  31. package/dist/es/fields/{CodeSelectCol.js → CodeSelectCol2.vue.js} +1 -1
  32. package/dist/es/fields/{CondOpSelect.js → CondOpSelect2.vue.js} +1 -1
  33. package/dist/es/fields/DataSourceFieldSelect/{FieldSelect.vue_vue_type_script_setup_true_lang.js → FieldSelect.vue.js} +55 -14
  34. package/dist/es/fields/DataSourceFieldSelect/{FieldSelect.js → FieldSelect2.vue.js} +1 -1
  35. package/dist/es/fields/DataSourceFieldSelect/{Index.vue_vue_type_script_setup_true_lang.js → Index.vue.js} +7 -7
  36. package/dist/es/fields/DataSourceFieldSelect/{Index.js → Index2.vue.js} +1 -1
  37. package/dist/es/fields/{DataSourceFields.vue_vue_type_script_setup_true_lang.js → DataSourceFields.vue.js} +50 -17
  38. package/dist/es/fields/{DataSourceFields.js → DataSourceFields2.vue.js} +1 -1
  39. package/dist/es/fields/{DataSourceInput.vue_vue_type_script_setup_true_lang.js → DataSourceInput.vue.js} +5 -5
  40. package/dist/es/fields/{DataSourceInput.js → DataSourceInput2.vue.js} +1 -1
  41. package/dist/es/fields/{DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js → DataSourceMethodSelect.vue.js} +7 -7
  42. package/dist/es/fields/{DataSourceMethodSelect.js → DataSourceMethodSelect2.vue.js} +1 -1
  43. package/dist/es/fields/{DataSourceMethods.vue_vue_type_script_setup_true_lang.js → DataSourceMethods.vue.js} +3 -3
  44. package/dist/es/fields/{DataSourceMethods.js → DataSourceMethods2.vue.js} +1 -1
  45. package/dist/es/fields/{DataSourceMocks.vue_vue_type_script_setup_true_lang.js → DataSourceMocks.vue.js} +8 -8
  46. package/dist/es/fields/{DataSourceMocks.js → DataSourceMocks2.vue.js} +1 -1
  47. package/dist/es/fields/{DataSourceSelect.vue_vue_type_script_setup_true_lang.js → DataSourceSelect.vue.js} +5 -5
  48. package/dist/es/fields/{DataSourceSelect.js → DataSourceSelect2.vue.js} +1 -1
  49. package/dist/es/fields/{DisplayConds.js → DisplayConds2.vue.js} +1 -1
  50. package/dist/es/fields/{EventSelect.js → EventSelect2.vue.js} +1 -1
  51. package/dist/es/fields/{KeyValue.vue_vue_type_script_setup_true_lang.js → KeyValue.vue.js} +3 -3
  52. package/dist/es/fields/{KeyValue.js → KeyValue2.vue.js} +1 -1
  53. package/dist/es/fields/{PageFragmentSelect.vue_vue_type_script_setup_true_lang.js → PageFragmentSelect.vue.js} +4 -4
  54. package/dist/es/fields/{PageFragmentSelect.js → PageFragmentSelect2.vue.js} +1 -1
  55. package/dist/es/fields/StyleSetter/{Index.vue_vue_type_script_setup_true_lang.js → Index.vue.js} +7 -7
  56. package/dist/es/fields/StyleSetter/{Index.js → Index2.vue.js} +1 -1
  57. package/dist/es/fields/StyleSetter/components/{BackgroundPosition.js → BackgroundPosition2.vue.js} +1 -1
  58. package/dist/es/fields/StyleSetter/components/{Border.js → Border2.vue.js} +1 -1
  59. package/dist/es/fields/StyleSetter/components/{Box.js → Box2.vue.js} +1 -1
  60. package/dist/es/fields/StyleSetter/configs.js +138 -39
  61. package/dist/es/fields/StyleSetter/icons/align-items/Baseline.vue.js +45 -0
  62. package/dist/es/fields/StyleSetter/icons/align-items/End.vue.js +42 -0
  63. package/dist/es/fields/StyleSetter/icons/align-items/Normal.vue.js +33 -0
  64. package/dist/es/fields/StyleSetter/icons/align-items/Start.vue.js +42 -0
  65. package/dist/es/fields/StyleSetter/icons/align-items/Stretch.vue.js +37 -0
  66. package/dist/es/fields/StyleSetter/icons/background-repeat/Round.vue.js +45 -0
  67. package/dist/es/fields/StyleSetter/icons/background-repeat/Space.vue.js +16 -0
  68. package/dist/es/fields/StyleSetter/icons/display/Grid.vue.js +13 -0
  69. package/dist/es/fields/StyleSetter/icons/display/InlineFlex.vue.js +13 -0
  70. package/dist/es/fields/StyleSetter/icons/display/InlineGrid.vue.js +13 -0
  71. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue.js +16 -0
  72. package/dist/es/fields/StyleSetter/icons/text-align/End.vue.js +13 -0
  73. package/dist/es/fields/StyleSetter/icons/text-align/Justify.vue.js +13 -0
  74. package/dist/es/fields/StyleSetter/icons/text-align/MatchParent.vue.js +13 -0
  75. package/dist/es/fields/StyleSetter/icons/text-align/Start.vue.js +13 -0
  76. package/dist/es/fields/StyleSetter/pro/{Background.js → Background2.vue.js} +1 -1
  77. package/dist/es/fields/StyleSetter/pro/{Border.vue_vue_type_script_setup_true_lang.js → Border.vue.js} +3 -3
  78. package/dist/es/fields/StyleSetter/pro/{Border.js → Border2.vue.js} +1 -1
  79. package/dist/es/fields/StyleSetter/pro/{Font.js → Font2.vue.js} +1 -1
  80. package/dist/es/fields/StyleSetter/pro/{Layout.vue_vue_type_script_setup_true_lang.js → Layout.vue.js} +4 -4
  81. package/dist/es/fields/StyleSetter/pro/{Layout.js → Layout2.vue.js} +1 -1
  82. package/dist/es/fields/StyleSetter/pro/{Position.js → Position2.vue.js} +1 -1
  83. package/dist/es/fields/StyleSetter/pro/{Transform.js → Transform2.vue.js} +1 -1
  84. package/dist/es/fields/{UISelect.js → UISelect2.vue.js} +1 -1
  85. package/dist/es/fields/configs/codeSelect.js +2 -2
  86. package/dist/es/fields/configs/displayConds.js +1 -1
  87. package/dist/es/fields/configs/eventSelect.js +3 -3
  88. package/dist/es/fields/headless-validation.js +1 -1
  89. package/dist/es/hooks/use-code-block-edit.js +1 -1
  90. package/dist/es/hooks/use-compare-form.js +1 -1
  91. package/dist/es/hooks/use-editor-content-height.js +1 -1
  92. package/dist/es/hooks/use-filter.js +2 -2
  93. package/dist/es/hooks/use-float-box.js +1 -1
  94. package/dist/es/hooks/use-form-context.js +1 -1
  95. package/dist/es/hooks/use-node-status.js +1 -1
  96. package/dist/es/hooks/use-stage.js +28 -3
  97. package/dist/es/icons/{CenterIcon.js → CenterIcon2.vue.js} +1 -1
  98. package/dist/es/icons/{CodeIcon.js → CodeIcon2.vue.js} +1 -1
  99. package/dist/es/icons/{FolderMinusIcon.js → FolderMinusIcon2.vue.js} +1 -1
  100. package/dist/es/index.js +47 -47
  101. package/dist/es/initService.js +9 -9
  102. package/dist/es/layouts/{AddPageBox.vue_vue_type_script_setup_true_lang.js → AddPageBox.vue.js} +4 -4
  103. package/dist/es/layouts/{AddPageBox.js → AddPageBox2.vue.js} +1 -1
  104. package/dist/es/layouts/{CodeEditor.vue_vue_type_script_setup_true_lang.js → CodeEditor.vue.js} +5 -5
  105. package/dist/es/layouts/{CodeEditor.js → CodeEditor2.vue.js} +1 -1
  106. package/dist/es/layouts/{Framework.vue_vue_type_script_setup_true_lang.js → Framework.vue.js} +5 -5
  107. package/dist/es/layouts/{Framework.js → Framework2.vue.js} +1 -1
  108. package/dist/es/layouts/{NavMenu.vue_vue_type_script_setup_true_lang.js → NavMenu.vue.js} +5 -5
  109. package/dist/es/layouts/{NavMenu.js → NavMenu2.vue.js} +1 -1
  110. package/dist/es/layouts/{NavMenuColumn.vue_vue_type_script_setup_true_lang.js → NavMenuColumn.vue.js} +14 -6
  111. package/dist/es/layouts/{NavMenuColumn.js → NavMenuColumn2.vue.js} +1 -1
  112. package/dist/es/layouts/history-list/{Bucket.vue_vue_type_script_setup_true_lang.js → Bucket.vue.js} +3 -3
  113. package/dist/es/layouts/history-list/{Bucket.js → Bucket2.vue.js} +1 -1
  114. package/dist/es/layouts/history-list/{BucketTab.vue_vue_type_script_setup_true_lang.js → BucketTab.vue.js} +2 -2
  115. package/dist/es/layouts/history-list/{BucketTab.js → BucketTab2.vue.js} +1 -1
  116. package/dist/es/layouts/history-list/{GroupRow.js → GroupRow2.vue.js} +1 -1
  117. package/dist/es/layouts/history-list/{HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js → HistoryDiffDialog.vue.js} +3 -3
  118. package/dist/es/layouts/history-list/{HistoryDiffDialog.js → HistoryDiffDialog2.vue.js} +1 -1
  119. package/dist/es/layouts/history-list/{HistoryListPanel.vue_vue_type_script_setup_true_lang.js → HistoryListPanel.vue.js} +6 -6
  120. package/dist/es/layouts/history-list/{HistoryListPanel.js → HistoryListPanel2.vue.js} +1 -1
  121. package/dist/es/layouts/history-list/{InitialRow.js → InitialRow2.vue.js} +1 -1
  122. package/dist/es/layouts/history-list/{PageTab.vue_vue_type_script_setup_true_lang.js → PageTab.vue.js} +4 -4
  123. package/dist/es/layouts/history-list/{PageTab.js → PageTab2.vue.js} +1 -1
  124. package/dist/es/layouts/history-list/composables.js +1 -1
  125. package/dist/es/layouts/history-list/useHistoryList.js +1 -1
  126. package/dist/es/layouts/history-list/useHistoryRevert.js +3 -3
  127. package/dist/es/layouts/page-bar/{AddButton.vue_vue_type_script_setup_true_lang.js → AddButton.vue.js} +6 -6
  128. package/dist/es/layouts/page-bar/{AddButton.js → AddButton2.vue.js} +1 -1
  129. package/dist/es/layouts/page-bar/{PageBar.vue_vue_type_script_setup_true_lang.js → PageBar.vue.js} +8 -8
  130. package/dist/es/layouts/page-bar/{PageBar.js → PageBar2.vue.js} +1 -1
  131. package/dist/es/layouts/page-bar/{PageBarScrollContainer.vue_vue_type_script_setup_true_lang.js → PageBarScrollContainer.vue.js} +2 -2
  132. package/dist/es/layouts/page-bar/{PageBarScrollContainer.js → PageBarScrollContainer2.vue.js} +1 -1
  133. package/dist/es/layouts/page-bar/{PageList.vue_vue_type_script_setup_true_lang.js → PageList.vue.js} +3 -3
  134. package/dist/es/layouts/page-bar/{PageList.js → PageList2.vue.js} +1 -1
  135. package/dist/es/layouts/page-bar/{Search.vue_vue_type_script_setup_true_lang.js → Search.vue.js} +3 -3
  136. package/dist/es/layouts/page-bar/{Search.js → Search2.vue.js} +1 -1
  137. package/dist/es/layouts/props-panel/{FormPanel.vue_vue_type_script_setup_true_lang.js → FormPanel.vue.js} +7 -7
  138. package/dist/es/layouts/props-panel/{FormPanel.js → FormPanel2.vue.js} +1 -1
  139. package/dist/es/layouts/props-panel/{PropsPanel.vue_vue_type_script_setup_true_lang.js → PropsPanel.vue.js} +7 -7
  140. package/dist/es/layouts/props-panel/{PropsPanel.js → PropsPanel2.vue.js} +1 -1
  141. package/dist/es/layouts/props-panel/use-style-panel.js +1 -1
  142. package/dist/es/layouts/sidebar/{ComponentListPanel.vue_vue_type_script_setup_true_lang.js → ComponentListPanel.vue.js} +7 -7
  143. package/dist/es/layouts/sidebar/{ComponentListPanel.js → ComponentListPanel2.vue.js} +1 -1
  144. package/dist/es/layouts/sidebar/{Sidebar.vue_vue_type_script_setup_true_lang.js → Sidebar.vue.js} +8 -8
  145. package/dist/es/layouts/sidebar/{Sidebar.js → Sidebar2.vue.js} +1 -1
  146. package/dist/es/layouts/sidebar/code-block/{CodeBlockList.vue_vue_type_script_setup_true_lang.js → CodeBlockList.vue.js} +5 -5
  147. package/dist/es/layouts/sidebar/code-block/{CodeBlockList.js → CodeBlockList2.vue.js} +1 -1
  148. package/dist/es/layouts/sidebar/code-block/{CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js → CodeBlockListPanel.vue.js} +6 -6
  149. package/dist/es/layouts/sidebar/code-block/{CodeBlockListPanel.js → CodeBlockListPanel2.vue.js} +1 -1
  150. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +1 -1
  151. package/dist/es/layouts/sidebar/data-source/{DataSourceAddButton.vue_vue_type_script_setup_true_lang.js → DataSourceAddButton.vue.js} +2 -2
  152. package/dist/es/layouts/sidebar/data-source/{DataSourceAddButton.js → DataSourceAddButton2.vue.js} +1 -1
  153. package/dist/es/layouts/sidebar/data-source/{DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js → DataSourceConfigPanel.vue.js} +4 -4
  154. package/dist/es/layouts/sidebar/data-source/{DataSourceConfigPanel.js → DataSourceConfigPanel2.vue.js} +1 -1
  155. package/dist/es/layouts/sidebar/data-source/{DataSourceList.vue_vue_type_script_setup_true_lang.js → DataSourceList.vue.js} +5 -5
  156. package/dist/es/layouts/sidebar/data-source/{DataSourceList.js → DataSourceList2.vue.js} +1 -1
  157. package/dist/es/layouts/sidebar/data-source/{DataSourceListPanel.vue_vue_type_script_setup_true_lang.js → DataSourceListPanel.vue.js} +8 -8
  158. package/dist/es/layouts/sidebar/data-source/{DataSourceListPanel.js → DataSourceListPanel2.vue.js} +1 -1
  159. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +1 -1
  160. package/dist/es/layouts/sidebar/layer/{LayerMenu.vue_vue_type_script_setup_true_lang.js → LayerMenu.vue.js} +5 -5
  161. package/dist/es/layouts/sidebar/layer/{LayerMenu.js → LayerMenu2.vue.js} +1 -1
  162. package/dist/es/layouts/sidebar/layer/{LayerNodeContent.vue_vue_type_script_setup_true_lang.js → LayerNodeContent.vue.js} +3 -3
  163. package/dist/es/layouts/sidebar/layer/{LayerNodeContent.js → LayerNodeContent2.vue.js} +1 -1
  164. package/dist/es/layouts/sidebar/layer/{LayerNodeTool.js → LayerNodeTool2.vue.js} +1 -1
  165. package/dist/es/layouts/sidebar/layer/{LayerPanel.vue_vue_type_script_setup_true_lang.js → LayerPanel.vue.js} +7 -7
  166. package/dist/es/layouts/sidebar/layer/{LayerPanel.js → LayerPanel2.vue.js} +1 -1
  167. package/dist/es/layouts/sidebar/layer/use-click.js +3 -3
  168. package/dist/es/layouts/sidebar/layer/use-drag.js +1 -1
  169. package/dist/es/layouts/sidebar/layer/use-keybinding.js +1 -1
  170. package/dist/es/layouts/sidebar/layer/use-node-status.js +2 -2
  171. package/dist/es/layouts/workspace/{Breadcrumb.js → Breadcrumb2.vue.js} +1 -1
  172. package/dist/es/layouts/workspace/{Workspace.vue_vue_type_script_setup_true_lang.js → Workspace.vue.js} +3 -3
  173. package/dist/es/layouts/workspace/{Workspace.js → Workspace2.vue.js} +1 -1
  174. package/dist/es/layouts/workspace/viewer/{NodeListMenu.vue_vue_type_script_setup_true_lang.js → NodeListMenu.vue.js} +5 -5
  175. package/dist/es/layouts/workspace/viewer/{NodeListMenu.js → NodeListMenu2.vue.js} +1 -1
  176. package/dist/es/layouts/workspace/viewer/{Stage.vue_vue_type_script_setup_true_lang.js → Stage.vue.js} +70 -55
  177. package/dist/es/layouts/workspace/viewer/{Stage.js → Stage2.vue.js} +1 -1
  178. package/dist/es/layouts/workspace/viewer/{StageOverlay.vue_vue_type_script_setup_true_lang.js → StageOverlay.vue.js} +3 -3
  179. package/dist/es/layouts/workspace/viewer/{StageOverlay.js → StageOverlay2.vue.js} +1 -1
  180. package/dist/es/layouts/workspace/viewer/{ViewerMenu.vue_vue_type_script_setup_true_lang.js → ViewerMenu.vue.js} +6 -6
  181. package/dist/es/layouts/workspace/viewer/{ViewerMenu.js → ViewerMenu2.vue.js} +1 -1
  182. package/dist/es/plugin.js +24 -24
  183. package/dist/es/sdk/index.js +2 -2
  184. package/dist/es/sdk/services/CodeBlock.js +18 -18
  185. package/dist/es/sdk/services/DataSource.js +17 -17
  186. package/dist/es/sdk/services/Dep.js +3 -3
  187. package/dist/es/sdk/services/Editor.js +60 -58
  188. package/dist/es/sdk/services/Events.js +2 -2
  189. package/dist/es/sdk/services/History.js +1 -1
  190. package/dist/es/sdk/services/Props.js +6 -6
  191. package/dist/es/sdk/services/WebStorage.js +1 -1
  192. package/dist/es/sdk/utils/dep.js +2 -2
  193. package/dist/es/sdk/utils/operator.js +3 -3
  194. package/dist/es/sdk/validate/index.js +4 -4
  195. package/dist/es/sdk/wiring.js +2 -2
  196. package/dist/es/services/keybinding.js +2 -2
  197. package/dist/es/services/stageOverlay.js +2 -2
  198. package/dist/es/services/ui.js +2 -2
  199. package/dist/es/utils/code-block.js +2 -2
  200. package/dist/es/utils/content-menu.js +3 -3
  201. package/dist/es/utils/data-source/index.js +88 -5
  202. package/dist/es/utils/dep/collect-worker-client.js +1 -1
  203. package/dist/es/utils/dep/idle-task.js +1 -1
  204. package/dist/es/utils/editor.js +7 -6
  205. package/dist/es/utils/event.js +1 -1
  206. package/dist/es/utils/history.js +2 -2
  207. package/dist/es/utils/operator.js +1 -1
  208. package/dist/es/utils/page.js +21 -0
  209. package/dist/es/utils/props.js +1 -1
  210. package/dist/es/utils/type-match-rules.js +4 -4
  211. package/dist/tmagic-editor-headless.umd.cjs +606 -175
  212. package/dist/tmagic-editor-sdk.umd.cjs +41 -38
  213. package/dist/tmagic-editor.umd.cjs +1200 -421
  214. package/package.json +8 -8
  215. package/src/fields/DataSourceFieldSelect/FieldSelect.vue +68 -9
  216. package/src/fields/DataSourceFields.vue +53 -10
  217. package/src/fields/DataSourceMocks.vue +2 -2
  218. package/src/fields/StyleSetter/configs.ts +63 -14
  219. package/src/fields/StyleSetter/icons/align-items/Baseline.vue +8 -0
  220. package/src/fields/StyleSetter/icons/align-items/End.vue +8 -0
  221. package/src/fields/StyleSetter/icons/align-items/Normal.vue +6 -0
  222. package/src/fields/StyleSetter/icons/align-items/Start.vue +8 -0
  223. package/src/fields/StyleSetter/icons/align-items/Stretch.vue +7 -0
  224. package/src/fields/StyleSetter/icons/align-items/index.ts +5 -0
  225. package/src/fields/StyleSetter/icons/background-repeat/Round.vue +8 -0
  226. package/src/fields/StyleSetter/icons/background-repeat/Space.vue +9 -0
  227. package/src/fields/StyleSetter/icons/background-repeat/index.ts +2 -0
  228. package/src/fields/StyleSetter/icons/display/Grid.vue +7 -0
  229. package/src/fields/StyleSetter/icons/display/InlineFlex.vue +7 -0
  230. package/src/fields/StyleSetter/icons/display/InlineGrid.vue +7 -0
  231. package/src/fields/StyleSetter/icons/display/index.ts +3 -0
  232. package/src/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue +11 -0
  233. package/src/fields/StyleSetter/icons/justify-content/index.ts +1 -0
  234. package/src/fields/StyleSetter/icons/text-align/End.vue +7 -0
  235. package/src/fields/StyleSetter/icons/text-align/Justify.vue +7 -0
  236. package/src/fields/StyleSetter/icons/text-align/MatchParent.vue +7 -0
  237. package/src/fields/StyleSetter/icons/text-align/Start.vue +7 -0
  238. package/src/fields/StyleSetter/icons/text-align/index.ts +4 -0
  239. package/src/hooks/use-stage.ts +26 -1
  240. package/src/layouts/NavMenuColumn.vue +8 -1
  241. package/src/layouts/workspace/viewer/Stage.vue +77 -57
  242. package/src/sdk/services/Editor.ts +6 -4
  243. package/src/type.ts +2 -0
  244. package/src/utils/data-source/index.ts +151 -6
  245. package/src/utils/editor.ts +4 -0
  246. package/src/utils/page.ts +32 -0
  247. package/types/headless.d.ts +14 -3
  248. package/types/index.d.ts +137 -298
  249. package/types/sdk.d.ts +3 -43
  250. package/dist/es/components/{CodeParams.vue_vue_type_script_setup_true_lang.js → CodeParams.vue.js} +2 -2
  251. package/dist/es/components/{CompareForm.vue_vue_type_script_setup_true_lang.js → CompareForm.vue.js} +3 -3
  252. package/dist/es/components/{Icon.vue_vue_type_script_setup_true_lang.js → Icon.vue.js} +1 -1
  253. package/dist/es/components/{Resizer.vue_vue_type_script_setup_true_lang.js → Resizer.vue.js} +1 -1
  254. package/dist/es/components/{ScrollBar.vue_vue_type_script_setup_true_lang.js → ScrollBar.vue.js} +0 -0
  255. package/dist/es/components/{SearchInput.vue_vue_type_script_setup_true_lang.js → SearchInput.vue.js} +1 -1
  256. package/dist/es/components/{ViewForm.vue_vue_type_script_setup_true_lang.js → ViewForm.vue.js} +2 -2
  257. package/dist/es/fields/{CodeLink.vue_vue_type_script_setup_true_lang.js → CodeLink.vue.js} +1 -1
  258. package/dist/es/fields/{CodeSelect.vue_vue_type_script_setup_true_lang.js → CodeSelect.vue.js} +2 -2
  259. package/dist/es/fields/{CondOpSelect.vue_vue_type_script_setup_true_lang.js → CondOpSelect.vue.js} +3 -3
  260. package/dist/es/fields/{DisplayConds.vue_vue_type_script_setup_true_lang.js → DisplayConds.vue.js} +2 -2
  261. package/dist/es/fields/{EventSelect.vue_vue_type_script_setup_true_lang.js → EventSelect.vue.js} +2 -2
  262. package/dist/es/fields/StyleSetter/components/{BackgroundPosition.vue_vue_type_script_setup_true_lang.js → BackgroundPosition.vue.js} +1 -1
  263. package/dist/es/fields/StyleSetter/components/{Border.vue_vue_type_script_setup_true_lang.js → Border.vue.js} +2 -2
  264. package/dist/es/fields/StyleSetter/components/{Box.vue_vue_type_script_setup_true_lang.js → Box.vue.js} +0 -0
  265. package/dist/es/fields/StyleSetter/icons/align-items/{Center.js → Center.vue.js} +1 -1
  266. package/dist/es/fields/StyleSetter/icons/align-items/{FlexEnd.js → FlexEnd.vue.js} +1 -1
  267. package/dist/es/fields/StyleSetter/icons/align-items/{FlexStart.js → FlexStart.vue.js} +1 -1
  268. package/dist/es/fields/StyleSetter/icons/align-items/{SpaceAround.js → SpaceAround.vue.js} +1 -1
  269. package/dist/es/fields/StyleSetter/icons/align-items/{SpaceBetween.js → SpaceBetween.vue.js} +1 -1
  270. package/dist/es/fields/StyleSetter/icons/background-repeat/{NoRepeat.js → NoRepeat.vue.js} +1 -1
  271. package/dist/es/fields/StyleSetter/icons/background-repeat/{Repeat.js → Repeat.vue.js} +1 -1
  272. package/dist/es/fields/StyleSetter/icons/background-repeat/{RepeatX.js → RepeatX.vue.js} +1 -1
  273. package/dist/es/fields/StyleSetter/icons/background-repeat/{RepeatY.js → RepeatY.vue.js} +1 -1
  274. package/dist/es/fields/StyleSetter/icons/display/{Block.js → Block.vue.js} +1 -1
  275. package/dist/es/fields/StyleSetter/icons/display/{Flex.js → Flex.vue.js} +1 -1
  276. package/dist/es/fields/StyleSetter/icons/display/{Inline.js → Inline.vue.js} +1 -1
  277. package/dist/es/fields/StyleSetter/icons/display/{InlineBlock.js → InlineBlock.vue.js} +1 -1
  278. package/dist/es/fields/StyleSetter/icons/display/{None.js → None.vue.js} +1 -1
  279. package/dist/es/fields/StyleSetter/icons/flex-direction/{Column.js → Column.vue.js} +1 -1
  280. package/dist/es/fields/StyleSetter/icons/flex-direction/{ColumnReverse.js → ColumnReverse.vue.js} +1 -1
  281. package/dist/es/fields/StyleSetter/icons/flex-direction/{Row.js → Row.vue.js} +1 -1
  282. package/dist/es/fields/StyleSetter/icons/flex-direction/{RowReverse.js → RowReverse.vue.js} +1 -1
  283. package/dist/es/fields/StyleSetter/icons/justify-content/{Center.js → Center.vue.js} +1 -1
  284. package/dist/es/fields/StyleSetter/icons/justify-content/{FlexEnd.js → FlexEnd.vue.js} +1 -1
  285. package/dist/es/fields/StyleSetter/icons/justify-content/{FlexStart.js → FlexStart.vue.js} +1 -1
  286. package/dist/es/fields/StyleSetter/icons/justify-content/{SpaceAround.js → SpaceAround.vue.js} +1 -1
  287. package/dist/es/fields/StyleSetter/icons/justify-content/{SpaceBetween.js → SpaceBetween.vue.js} +1 -1
  288. package/dist/es/fields/StyleSetter/icons/text-align/{Center.js → Center.vue.js} +1 -1
  289. package/dist/es/fields/StyleSetter/icons/text-align/{Left.js → Left.vue.js} +1 -1
  290. package/dist/es/fields/StyleSetter/icons/text-align/{Right.js → Right.vue.js} +1 -1
  291. package/dist/es/fields/StyleSetter/pro/{Background.vue_vue_type_script_setup_true_lang.js → Background.vue.js} +2 -2
  292. package/dist/es/fields/StyleSetter/pro/{Font.vue_vue_type_script_setup_true_lang.js → Font.vue.js} +2 -2
  293. package/dist/es/fields/StyleSetter/pro/{Position.vue_vue_type_script_setup_true_lang.js → Position.vue.js} +2 -2
  294. package/dist/es/fields/StyleSetter/pro/{Transform.vue_vue_type_script_setup_true_lang.js → Transform.vue.js} +2 -2
  295. package/dist/es/fields/{UISelect.vue_vue_type_script_setup_true_lang.js → UISelect.vue.js} +5 -5
  296. package/dist/es/icons/{CenterIcon.vue_vue_type_script_setup_true_lang.js → CenterIcon.vue.js} +0 -0
  297. package/dist/es/icons/{CodeIcon.vue_vue_type_script_setup_true_lang.js → CodeIcon.vue.js} +0 -0
  298. package/dist/es/icons/{DatasourceIcon.js → DatasourceIcon.vue.js} +1 -1
  299. package/dist/es/icons/{FolderMinusIcon.vue_vue_type_script_setup_true_lang.js → FolderMinusIcon.vue.js} +0 -0
  300. package/dist/es/layouts/history-list/{GroupRow.vue_vue_type_script_setup_true_lang.js → GroupRow.vue.js} +1 -1
  301. package/dist/es/layouts/history-list/{InitialRow.vue_vue_type_script_setup_true_lang.js → InitialRow.vue.js} +1 -1
  302. package/dist/es/layouts/sidebar/layer/{LayerNodeTool.vue_vue_type_script_setup_true_lang.js → LayerNodeTool.vue.js} +2 -2
  303. package/dist/es/layouts/workspace/{Breadcrumb.vue_vue_type_script_setup_true_lang.js → Breadcrumb.vue.js} +2 -2
@@ -1,5 +1,5 @@
1
1
  (function(global, factory) {
2
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@tmagic/form"), require("@tmagic/table"), require("@tmagic/stage"), require("@tmagic/design"), require("@tmagic/utils"), require("@tmagic/core"), require("vue"), require("deep-object-diff"), require("serialize-javascript"), require("events"), require("@tmagic/form/headless"), require("gesto"), require("@tmagic/design/headless"), require("@element-plus/icons-vue"), require("sortablejs"), require("moveable"), require("keycon")) : typeof define === "function" && define.amd ? define([
2
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@tmagic/form"), require("@tmagic/table"), require("@tmagic/stage"), require("@tmagic/design"), require("@tmagic/utils"), require("@tmagic/core"), require("vue"), require("events"), require("gesto"), require("serialize-javascript"), require("@element-plus/icons-vue"), require("deep-object-diff"), require("sortablejs"), require("moveable"), require("@tmagic/form/headless"), require("keycon"), require("@tmagic/design/headless")) : typeof define === "function" && define.amd ? define([
3
3
  "exports",
4
4
  "@tmagic/form",
5
5
  "@tmagic/table",
@@ -8,18 +8,18 @@
8
8
  "@tmagic/utils",
9
9
  "@tmagic/core",
10
10
  "vue",
11
- "deep-object-diff",
12
- "serialize-javascript",
13
11
  "events",
14
- "@tmagic/form/headless",
15
12
  "gesto",
16
- "@tmagic/design/headless",
13
+ "serialize-javascript",
17
14
  "@element-plus/icons-vue",
15
+ "deep-object-diff",
18
16
  "sortablejs",
19
17
  "moveable",
20
- "keycon"
21
- ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicEditor = {}, global._tmagic_form, global._tmagic_table, global._tmagic_stage, global._tmagic_design, global._tmagic_utils, global._tmagic_core, global.Vue, global.deep_object_diff, global.serialize_javascript, global.events, global._tmagic_form_headless, global.gesto, global._tmagic_design_headless, global._element_plus_icons_vue, global.sortablejs, global.moveable, global.keycon));
22
- })(this, function(exports, _tmagic_form, _tmagic_table, _tmagic_stage, _tmagic_design, _tmagic_utils, _tmagic_core, vue, deep_object_diff, serialize_javascript, events, _tmagic_form_headless, gesto, _tmagic_design_headless, _element_plus_icons_vue, sortablejs, moveable, keycon) {
18
+ "@tmagic/form/headless",
19
+ "keycon",
20
+ "@tmagic/design/headless"
21
+ ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicEditor = {}, global._tmagic_form, global._tmagic_table, global._tmagic_stage, global._tmagic_design, global._tmagic_utils, global._tmagic_core, global.Vue, global.events, global.gesto, global.serialize_javascript, global._element_plus_icons_vue, global.deep_object_diff, global.sortablejs, global.moveable, global._tmagic_form_headless, global.keycon, global._tmagic_design_headless));
22
+ })(this, function(exports, _tmagic_form, _tmagic_table, _tmagic_stage, _tmagic_design, _tmagic_utils, _tmagic_core, vue, events, gesto, serialize_javascript, _element_plus_icons_vue, deep_object_diff, sortablejs, moveable, _tmagic_form_headless, keycon, _tmagic_design_headless) {
23
23
  Object.defineProperties(exports, {
24
24
  __esModule: { value: true },
25
25
  [Symbol.toStringTag]: { value: "Module" }
@@ -39,22 +39,24 @@
39
39
  throw err = [e], e;
40
40
  }
41
41
  };
42
- var __exportAll = (all, no_symbols) => {
43
- let target = {};
42
+ var __exportAll = (all, flags) => {
43
+ let target = Object.setPrototypeOf({}, null);
44
44
  for (var name in all) __defProp(target, name, {
45
45
  get: all[name],
46
46
  enumerable: true
47
47
  });
48
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
49
- return target;
48
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
49
+ return flags & 2 ? target : Object.preventExtensions(target);
50
50
  };
51
51
  var __copyProps = (to, from, except, desc) => {
52
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
53
- key = keys[i];
54
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
55
- get: ((k) => from[k]).bind(null, key),
56
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
57
- });
52
+ if (from && typeof from === "object" || typeof from === "function") {
53
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) {
54
+ desc = __getOwnPropDesc(from, key);
55
+ __defProp(to, key, {
56
+ get: desc && desc.get && !desc.configurable ? desc.get : () => from[key],
57
+ enumerable: !desc || desc.enumerable
58
+ });
59
+ }
58
60
  }
59
61
  return to;
60
62
  };
@@ -66,8 +68,8 @@
66
68
  _tmagic_table = __toESM(_tmagic_table, 1);
67
69
  _tmagic_stage = __toESM(_tmagic_stage, 1);
68
70
  _tmagic_design = __toESM(_tmagic_design, 1);
69
- serialize_javascript = __toESM(serialize_javascript, 1);
70
71
  gesto = __toESM(gesto, 1);
72
+ serialize_javascript = __toESM(serialize_javascript, 1);
71
73
  sortablejs = __toESM(sortablejs, 1);
72
74
  moveable = __toESM(moveable, 1);
73
75
  keycon = __toESM(keycon, 1);
@@ -214,7 +216,7 @@
214
216
  * @returns {string} Returns the raw `toStringTag`.
215
217
  */
216
218
  function getRawTag(value) {
217
- var isOwn = hasOwnProperty$14.call(value, symToStringTag$1), tag = value[symToStringTag$1];
219
+ var isOwn = hasOwnProperty$15.call(value, symToStringTag$1), tag = value[symToStringTag$1];
218
220
  try {
219
221
  value[symToStringTag$1] = void 0;
220
222
  var unmasked = true;
@@ -226,11 +228,11 @@
226
228
  }
227
229
  return result;
228
230
  }
229
- var objectProto$4, hasOwnProperty$14, nativeObjectToString$1, symToStringTag$1;
231
+ var objectProto$4, hasOwnProperty$15, nativeObjectToString$1, symToStringTag$1;
230
232
  var init__getRawTag = __esmMin((() => {
231
233
  init__Symbol();
232
234
  objectProto$4 = Object.prototype;
233
- hasOwnProperty$14 = objectProto$4.hasOwnProperty;
235
+ hasOwnProperty$15 = objectProto$4.hasOwnProperty;
234
236
  nativeObjectToString$1 = objectProto$4.toString;
235
237
  symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
236
238
  }));
@@ -433,7 +435,7 @@
433
435
  * _.isObject(null);
434
436
  * // => false
435
437
  */
436
- function isObject(value) {
438
+ function isObject$1(value) {
437
439
  var type = typeof value;
438
440
  return value != null && (type == "object" || type == "function");
439
441
  }
@@ -465,9 +467,9 @@
465
467
  function toNumber(value) {
466
468
  if (typeof value == "number") return value;
467
469
  if (isSymbol(value)) return NAN;
468
- if (isObject(value)) {
470
+ if (isObject$1(value)) {
469
471
  var other = typeof value.valueOf == "function" ? value.valueOf() : value;
470
- value = isObject(other) ? other + "" : other;
472
+ value = isObject$1(other) ? other + "" : other;
471
473
  }
472
474
  if (typeof value != "string") return value === 0 ? value : +value;
473
475
  value = baseTrim(value);
@@ -525,7 +527,7 @@
525
527
  * // => false
526
528
  */
527
529
  function isFunction(value) {
528
- if (!isObject(value)) return false;
530
+ if (!isObject$1(value)) return false;
529
531
  var tag = baseGetTag(value);
530
532
  return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
531
533
  }
@@ -596,10 +598,10 @@
596
598
  * else `false`.
597
599
  */
598
600
  function baseIsNative(value) {
599
- if (!isObject(value) || isMasked(value)) return false;
601
+ if (!isObject$1(value) || isMasked(value)) return false;
600
602
  return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
601
603
  }
602
- var reRegExpChar, reIsHostCtor, funcProto$1, objectProto$3, funcToString$1, hasOwnProperty$13, reIsNative;
604
+ var reRegExpChar, reIsHostCtor, funcProto$1, objectProto$3, funcToString$1, hasOwnProperty$14, reIsNative;
603
605
  var init__baseIsNative = __esmMin((() => {
604
606
  init_isFunction();
605
607
  init__isMasked();
@@ -610,8 +612,8 @@
610
612
  funcProto$1 = Function.prototype;
611
613
  objectProto$3 = Object.prototype;
612
614
  funcToString$1 = funcProto$1.toString;
613
- hasOwnProperty$13 = objectProto$3.hasOwnProperty;
614
- reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$13).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
615
+ hasOwnProperty$14 = objectProto$3.hasOwnProperty;
616
+ reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$14).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
615
617
  }));
616
618
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
617
619
  /**
@@ -658,7 +660,7 @@
658
660
  baseCreate = function() {
659
661
  function object() {}
660
662
  return function(proto) {
661
- if (!isObject(proto)) return {};
663
+ if (!isObject$1(proto)) return {};
662
664
  if (objectCreate) return objectCreate(proto);
663
665
  object.prototype = proto;
664
666
  var result = new object();
@@ -919,7 +921,7 @@
919
921
  }
920
922
  var MAX_SAFE_INTEGER$1, reIsUint;
921
923
  var init__isIndex = __esmMin((() => {
922
- MAX_SAFE_INTEGER$1 = 9007199254740991;
924
+ MAX_SAFE_INTEGER$1 = 0x1fffffffffffff;
923
925
  reIsUint = /^(?:0|[1-9]\d*)$/;
924
926
  }));
925
927
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
@@ -994,13 +996,13 @@
994
996
  */
995
997
  function assignValue(object, key, value) {
996
998
  var objValue = object[key];
997
- if (!(hasOwnProperty$12.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
999
+ if (!(hasOwnProperty$13.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
998
1000
  }
999
- var hasOwnProperty$12;
1001
+ var hasOwnProperty$13;
1000
1002
  var init__assignValue = __esmMin((() => {
1001
1003
  init__baseAssignValue();
1002
1004
  init_eq();
1003
- hasOwnProperty$12 = Object.prototype.hasOwnProperty;
1005
+ hasOwnProperty$13 = Object.prototype.hasOwnProperty;
1004
1006
  }));
1005
1007
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
1006
1008
  /**
@@ -1106,7 +1108,7 @@
1106
1108
  }
1107
1109
  var MAX_SAFE_INTEGER;
1108
1110
  var init_isLength = __esmMin((() => {
1109
- MAX_SAFE_INTEGER = 9007199254740991;
1111
+ MAX_SAFE_INTEGER = 0x1fffffffffffff;
1110
1112
  }));
1111
1113
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
1112
1114
  /**
@@ -1153,7 +1155,7 @@
1153
1155
  * else `false`.
1154
1156
  */
1155
1157
  function isIterateeCall(value, index, object) {
1156
- if (!isObject(object)) return false;
1158
+ if (!isObject$1(object)) return false;
1157
1159
  var type = typeof index;
1158
1160
  if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
1159
1161
  return false;
@@ -1242,17 +1244,17 @@
1242
1244
  argsTag$3 = "[object Arguments]";
1243
1245
  }));
1244
1246
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
1245
- var objectProto$1, hasOwnProperty$11, propertyIsEnumerable$1, isArguments;
1247
+ var objectProto$1, hasOwnProperty$12, propertyIsEnumerable$1, isArguments;
1246
1248
  var init_isArguments = __esmMin((() => {
1247
1249
  init__baseIsArguments();
1248
1250
  init_isObjectLike();
1249
1251
  objectProto$1 = Object.prototype;
1250
- hasOwnProperty$11 = objectProto$1.hasOwnProperty;
1252
+ hasOwnProperty$12 = objectProto$1.hasOwnProperty;
1251
1253
  propertyIsEnumerable$1 = objectProto$1.propertyIsEnumerable;
1252
1254
  isArguments = baseIsArguments(function() {
1253
1255
  return arguments;
1254
1256
  }()) ? baseIsArguments : function(value) {
1255
- return isObjectLike(value) && hasOwnProperty$11.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
1257
+ return isObjectLike(value) && hasOwnProperty$12.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
1256
1258
  };
1257
1259
  }));
1258
1260
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
@@ -1376,10 +1378,10 @@
1376
1378
  */
1377
1379
  function arrayLikeKeys(value, inherited) {
1378
1380
  var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
1379
- for (var key in value) if ((inherited || hasOwnProperty$10.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
1381
+ for (var key in value) if ((inherited || hasOwnProperty$11.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
1380
1382
  return result;
1381
1383
  }
1382
- var hasOwnProperty$10;
1384
+ var hasOwnProperty$11;
1383
1385
  var init__arrayLikeKeys = __esmMin((() => {
1384
1386
  init__baseTimes();
1385
1387
  init_isArguments();
@@ -1387,7 +1389,7 @@
1387
1389
  init_isBuffer();
1388
1390
  init__isIndex();
1389
1391
  init_isTypedArray();
1390
- hasOwnProperty$10 = Object.prototype.hasOwnProperty;
1392
+ hasOwnProperty$11 = Object.prototype.hasOwnProperty;
1391
1393
  }));
1392
1394
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
1393
1395
  /**
@@ -1421,14 +1423,14 @@
1421
1423
  function baseKeys(object) {
1422
1424
  if (!isPrototype(object)) return nativeKeys(object);
1423
1425
  var result = [];
1424
- for (var key in Object(object)) if (hasOwnProperty$9.call(object, key) && key != "constructor") result.push(key);
1426
+ for (var key in Object(object)) if (hasOwnProperty$10.call(object, key) && key != "constructor") result.push(key);
1425
1427
  return result;
1426
1428
  }
1427
- var hasOwnProperty$9;
1429
+ var hasOwnProperty$10;
1428
1430
  var init__baseKeys = __esmMin((() => {
1429
1431
  init__isPrototype();
1430
1432
  init__nativeKeys();
1431
- hasOwnProperty$9 = Object.prototype.hasOwnProperty;
1433
+ hasOwnProperty$10 = Object.prototype.hasOwnProperty;
1432
1434
  }));
1433
1435
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
1434
1436
  /**
@@ -1492,17 +1494,17 @@
1492
1494
  * @returns {Array} Returns the array of property names.
1493
1495
  */
1494
1496
  function baseKeysIn(object) {
1495
- if (!isObject(object)) return nativeKeysIn(object);
1497
+ if (!isObject$1(object)) return nativeKeysIn(object);
1496
1498
  var isProto = isPrototype(object), result = [];
1497
- for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$8.call(object, key)))) result.push(key);
1499
+ for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$9.call(object, key)))) result.push(key);
1498
1500
  return result;
1499
1501
  }
1500
- var hasOwnProperty$8;
1502
+ var hasOwnProperty$9;
1501
1503
  var init__baseKeysIn = __esmMin((() => {
1502
1504
  init_isObject();
1503
1505
  init__isPrototype();
1504
1506
  init__nativeKeysIn();
1505
- hasOwnProperty$8 = Object.prototype.hasOwnProperty;
1507
+ hasOwnProperty$9 = Object.prototype.hasOwnProperty;
1506
1508
  }));
1507
1509
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
1508
1510
  /**
@@ -1612,13 +1614,13 @@
1612
1614
  var result = data[key];
1613
1615
  return result === HASH_UNDEFINED$2 ? void 0 : result;
1614
1616
  }
1615
- return hasOwnProperty$7.call(data, key) ? data[key] : void 0;
1617
+ return hasOwnProperty$8.call(data, key) ? data[key] : void 0;
1616
1618
  }
1617
- var HASH_UNDEFINED$2, hasOwnProperty$7;
1619
+ var HASH_UNDEFINED$2, hasOwnProperty$8;
1618
1620
  var init__hashGet = __esmMin((() => {
1619
1621
  init__nativeCreate();
1620
1622
  HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
1621
- hasOwnProperty$7 = Object.prototype.hasOwnProperty;
1623
+ hasOwnProperty$8 = Object.prototype.hasOwnProperty;
1622
1624
  }));
1623
1625
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1624
1626
  /**
@@ -1632,12 +1634,12 @@
1632
1634
  */
1633
1635
  function hashHas(key) {
1634
1636
  var data = this.__data__;
1635
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty$6.call(data, key);
1637
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$7.call(data, key);
1636
1638
  }
1637
- var hasOwnProperty$6;
1639
+ var hasOwnProperty$7;
1638
1640
  var init__hashHas = __esmMin((() => {
1639
1641
  init__nativeCreate();
1640
- hasOwnProperty$6 = Object.prototype.hasOwnProperty;
1642
+ hasOwnProperty$7 = Object.prototype.hasOwnProperty;
1641
1643
  }));
1642
1644
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1643
1645
  /**
@@ -2335,10 +2337,10 @@
2335
2337
  if (!isObjectLike(value) || baseGetTag(value) != objectTag$3) return false;
2336
2338
  var proto = getPrototype(value);
2337
2339
  if (proto === null) return true;
2338
- var Ctor = hasOwnProperty$5.call(proto, "constructor") && proto.constructor;
2340
+ var Ctor = hasOwnProperty$6.call(proto, "constructor") && proto.constructor;
2339
2341
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
2340
2342
  }
2341
- var objectTag$3, funcProto, objectProto, funcToString, hasOwnProperty$5, objectCtorString;
2343
+ var objectTag$3, funcProto, objectProto, funcToString, hasOwnProperty$6, objectCtorString;
2342
2344
  var init_isPlainObject = __esmMin((() => {
2343
2345
  init__baseGetTag();
2344
2346
  init__getPrototype();
@@ -2347,9 +2349,31 @@
2347
2349
  funcProto = Function.prototype;
2348
2350
  objectProto = Object.prototype;
2349
2351
  funcToString = funcProto.toString;
2350
- hasOwnProperty$5 = objectProto.hasOwnProperty;
2352
+ hasOwnProperty$6 = objectProto.hasOwnProperty;
2351
2353
  objectCtorString = funcToString.call(Object);
2352
2354
  }));
2355
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js
2356
+ /**
2357
+ * The base implementation of `_.slice` without an iteratee call guard.
2358
+ *
2359
+ * @private
2360
+ * @param {Array} array The array to slice.
2361
+ * @param {number} [start=0] The start position.
2362
+ * @param {number} [end=array.length] The end position.
2363
+ * @returns {Array} Returns the slice of `array`.
2364
+ */
2365
+ function baseSlice(array, start, end) {
2366
+ var index = -1, length = array.length;
2367
+ if (start < 0) start = -start > length ? 0 : length + start;
2368
+ end = end > length ? length : end;
2369
+ if (end < 0) end += length;
2370
+ length = start > end ? 0 : end - start >>> 0;
2371
+ start >>>= 0;
2372
+ var result = Array(length);
2373
+ while (++index < length) result[index] = array[index + start];
2374
+ return result;
2375
+ }
2376
+ var init__baseSlice = __esmMin((() => {}));
2353
2377
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
2354
2378
  /**
2355
2379
  * Removes all key-value entries from the stack.
@@ -2748,15 +2772,15 @@
2748
2772
  */
2749
2773
  function initCloneArray(array) {
2750
2774
  var length = array.length, result = new array.constructor(length);
2751
- if (length && typeof array[0] == "string" && hasOwnProperty$4.call(array, "index")) {
2775
+ if (length && typeof array[0] == "string" && hasOwnProperty$5.call(array, "index")) {
2752
2776
  result.index = array.index;
2753
2777
  result.input = array.input;
2754
2778
  }
2755
2779
  return result;
2756
2780
  }
2757
- var hasOwnProperty$4;
2781
+ var hasOwnProperty$5;
2758
2782
  var init__initCloneArray = __esmMin((() => {
2759
- hasOwnProperty$4 = Object.prototype.hasOwnProperty;
2783
+ hasOwnProperty$5 = Object.prototype.hasOwnProperty;
2760
2784
  }));
2761
2785
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
2762
2786
  var Uint8Array$1;
@@ -2996,10 +3020,10 @@
2996
3020
  * @returns {*} Returns the cloned value.
2997
3021
  */
2998
3022
  function baseClone(value, bitmask, customizer, key, object, stack) {
2999
- var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
3023
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$2, isFlat = bitmask & CLONE_FLAT_FLAG$1, isFull = bitmask & CLONE_SYMBOLS_FLAG$2;
3000
3024
  if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
3001
3025
  if (result !== void 0) return result;
3002
- if (!isObject(value)) return value;
3026
+ if (!isObject$1(value)) return value;
3003
3027
  var isArr = isArray(value);
3004
3028
  if (isArr) {
3005
3029
  result = initCloneArray(value);
@@ -3035,7 +3059,7 @@
3035
3059
  });
3036
3060
  return result;
3037
3061
  }
3038
- var CLONE_DEEP_FLAG$1, CLONE_FLAT_FLAG, CLONE_SYMBOLS_FLAG$1, argsTag$1, arrayTag$1, boolTag$1, dateTag$1, errorTag$1, funcTag, genTag, mapTag$2, numberTag$1, objectTag$1, regexpTag$1, setTag$2, stringTag$1, symbolTag$1, weakMapTag, arrayBufferTag$1, dataViewTag$1, float32Tag, float64Tag, int8Tag, int16Tag, int32Tag, uint8Tag, uint8ClampedTag, uint16Tag, uint32Tag, cloneableTags;
3062
+ var CLONE_DEEP_FLAG$2, CLONE_FLAT_FLAG$1, CLONE_SYMBOLS_FLAG$2, argsTag$1, arrayTag$1, boolTag$1, dateTag$1, errorTag$1, funcTag, genTag, mapTag$2, numberTag$1, objectTag$1, regexpTag$1, setTag$2, stringTag$1, symbolTag$1, weakMapTag, arrayBufferTag$1, dataViewTag$1, float32Tag, float64Tag, int8Tag, int16Tag, int32Tag, uint8Tag, uint8ClampedTag, uint16Tag, uint32Tag, cloneableTags;
3039
3063
  var init__baseClone = __esmMin((() => {
3040
3064
  init__Stack();
3041
3065
  init__arrayEach();
@@ -3059,9 +3083,9 @@
3059
3083
  init_isSet();
3060
3084
  init_keys();
3061
3085
  init_keysIn();
3062
- CLONE_DEEP_FLAG$1 = 1;
3063
- CLONE_FLAT_FLAG = 2;
3064
- CLONE_SYMBOLS_FLAG$1 = 4;
3086
+ CLONE_DEEP_FLAG$2 = 1;
3087
+ CLONE_FLAT_FLAG$1 = 2;
3088
+ CLONE_SYMBOLS_FLAG$2 = 4;
3065
3089
  argsTag$1 = "[object Arguments]";
3066
3090
  arrayTag$1 = "[object Array]";
3067
3091
  boolTag$1 = "[object Boolean]";
@@ -3112,13 +3136,13 @@
3112
3136
  * // => false
3113
3137
  */
3114
3138
  function cloneDeep$1(value) {
3115
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
3139
+ return baseClone(value, CLONE_DEEP_FLAG$1 | CLONE_SYMBOLS_FLAG$1);
3116
3140
  }
3117
- var CLONE_DEEP_FLAG, CLONE_SYMBOLS_FLAG;
3141
+ var CLONE_DEEP_FLAG$1, CLONE_SYMBOLS_FLAG$1;
3118
3142
  var init_cloneDeep = __esmMin((() => {
3119
3143
  init__baseClone();
3120
- CLONE_DEEP_FLAG = 1;
3121
- CLONE_SYMBOLS_FLAG = 4;
3144
+ CLONE_DEEP_FLAG$1 = 1;
3145
+ CLONE_SYMBOLS_FLAG$1 = 4;
3122
3146
  }));
3123
3147
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
3124
3148
  /**
@@ -3384,7 +3408,7 @@
3384
3408
  var index = objLength;
3385
3409
  while (index--) {
3386
3410
  var key = objProps[index];
3387
- if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) return false;
3411
+ if (!(isPartial ? key in other : hasOwnProperty$4.call(other, key))) return false;
3388
3412
  }
3389
3413
  var objStacked = stack.get(object);
3390
3414
  var othStacked = stack.get(other);
@@ -3411,11 +3435,11 @@
3411
3435
  stack["delete"](other);
3412
3436
  return result;
3413
3437
  }
3414
- var COMPARE_PARTIAL_FLAG$3, hasOwnProperty$3;
3438
+ var COMPARE_PARTIAL_FLAG$3, hasOwnProperty$4;
3415
3439
  var init__equalObjects = __esmMin((() => {
3416
3440
  init__getAllKeys();
3417
3441
  COMPARE_PARTIAL_FLAG$3 = 1;
3418
- hasOwnProperty$3 = Object.prototype.hasOwnProperty;
3442
+ hasOwnProperty$4 = Object.prototype.hasOwnProperty;
3419
3443
  }));
3420
3444
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
3421
3445
  /**
@@ -3447,7 +3471,7 @@
3447
3471
  return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
3448
3472
  }
3449
3473
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
3450
- var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$2.call(other, "__wrapped__");
3474
+ var objIsWrapped = objIsObj && hasOwnProperty$3.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$3.call(other, "__wrapped__");
3451
3475
  if (objIsWrapped || othIsWrapped) {
3452
3476
  var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
3453
3477
  stack || (stack = new Stack());
@@ -3458,7 +3482,7 @@
3458
3482
  stack || (stack = new Stack());
3459
3483
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
3460
3484
  }
3461
- var COMPARE_PARTIAL_FLAG$2, argsTag, arrayTag, objectTag, hasOwnProperty$2;
3485
+ var COMPARE_PARTIAL_FLAG$2, argsTag, arrayTag, objectTag, hasOwnProperty$3;
3462
3486
  var init__baseIsEqualDeep = __esmMin((() => {
3463
3487
  init__Stack();
3464
3488
  init__equalArrays();
@@ -3472,7 +3496,7 @@
3472
3496
  argsTag = "[object Arguments]";
3473
3497
  arrayTag = "[object Array]";
3474
3498
  objectTag = "[object Object]";
3475
- hasOwnProperty$2 = Object.prototype.hasOwnProperty;
3499
+ hasOwnProperty$3 = Object.prototype.hasOwnProperty;
3476
3500
  }));
3477
3501
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
3478
3502
  /**
@@ -3547,7 +3571,7 @@
3547
3571
  * equality comparisons, else `false`.
3548
3572
  */
3549
3573
  function isStrictComparable(value) {
3550
- return value === value && !isObject(value);
3574
+ return value === value && !isObject$1(value);
3551
3575
  }
3552
3576
  var init__isStrictComparable = __esmMin((() => {
3553
3577
  init_isObject();
@@ -3937,7 +3961,7 @@
3937
3961
  var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
3938
3962
  if (typeof func != "function") throw new TypeError(FUNC_ERROR_TEXT$1);
3939
3963
  wait = toNumber(wait) || 0;
3940
- if (isObject(options)) {
3964
+ if (isObject$1(options)) {
3941
3965
  leading = !!options.leading;
3942
3966
  maxing = "maxWait" in options;
3943
3967
  maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
@@ -4148,7 +4172,7 @@
4148
4172
  } else if (isPlainObject$1(srcValue) || isArguments(srcValue)) {
4149
4173
  newValue = objValue;
4150
4174
  if (isArguments(objValue)) newValue = toPlainObject(objValue);
4151
- else if (!isObject(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
4175
+ else if (!isObject$1(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
4152
4176
  } else isCommon = false;
4153
4177
  }
4154
4178
  if (isCommon) {
@@ -4191,7 +4215,7 @@
4191
4215
  if (object === source) return;
4192
4216
  baseFor(source, function(srcValue, key) {
4193
4217
  stack || (stack = new Stack());
4194
- if (isObject(srcValue)) baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
4218
+ if (isObject$1(srcValue)) baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
4195
4219
  else {
4196
4220
  var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
4197
4221
  if (newValue === void 0) newValue = srcValue;
@@ -4233,6 +4257,26 @@
4233
4257
  return false;
4234
4258
  }
4235
4259
  var init__arrayIncludesWith = __esmMin((() => {}));
4260
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.js
4261
+ /**
4262
+ * Gets the last element of `array`.
4263
+ *
4264
+ * @static
4265
+ * @memberOf _
4266
+ * @since 0.1.0
4267
+ * @category Array
4268
+ * @param {Array} array The array to query.
4269
+ * @returns {*} Returns the last element of `array`.
4270
+ * @example
4271
+ *
4272
+ * _.last([1, 2, 3]);
4273
+ * // => 3
4274
+ */
4275
+ function last(array) {
4276
+ var length = array == null ? 0 : array.length;
4277
+ return length ? array[length - 1] : void 0;
4278
+ }
4279
+ var init_last = __esmMin((() => {}));
4236
4280
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js
4237
4281
  /**
4238
4282
  * The base implementation of `_.map` without support for iteratee shorthands.
@@ -4315,11 +4359,11 @@
4315
4359
  * @returns {boolean} Returns `true` if `key` exists, else `false`.
4316
4360
  */
4317
4361
  function baseHas(object, key) {
4318
- return object != null && hasOwnProperty$1.call(object, key);
4362
+ return object != null && hasOwnProperty$2.call(object, key);
4319
4363
  }
4320
- var hasOwnProperty$1;
4364
+ var hasOwnProperty$2;
4321
4365
  var init__baseHas = __esmMin((() => {
4322
- hasOwnProperty$1 = Object.prototype.hasOwnProperty;
4366
+ hasOwnProperty$2 = Object.prototype.hasOwnProperty;
4323
4367
  }));
4324
4368
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/has.js
4325
4369
  /**
@@ -4356,6 +4400,22 @@
4356
4400
  init__baseHas();
4357
4401
  init__hasPath();
4358
4402
  }));
4403
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.js
4404
+ /**
4405
+ * Gets the parent value at `path` of `object`.
4406
+ *
4407
+ * @private
4408
+ * @param {Object} object The object to query.
4409
+ * @param {Array} path The path to get the parent value of.
4410
+ * @returns {*} Returns the parent value.
4411
+ */
4412
+ function parent(object, path) {
4413
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
4414
+ }
4415
+ var init__parent = __esmMin((() => {
4416
+ init__baseGet();
4417
+ init__baseSlice();
4418
+ }));
4359
4419
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
4360
4420
  /**
4361
4421
  * Checks if `value` is an empty object, collection, map, or set.
@@ -4396,10 +4456,10 @@
4396
4456
  var tag = _getTag_default(value);
4397
4457
  if (tag == mapTag || tag == setTag) return !value.size;
4398
4458
  if (isPrototype(value)) return !baseKeys(value).length;
4399
- for (var key in value) if (hasOwnProperty.call(value, key)) return false;
4459
+ for (var key in value) if (hasOwnProperty$1.call(value, key)) return false;
4400
4460
  return true;
4401
4461
  }
4402
- var mapTag, setTag, hasOwnProperty;
4462
+ var mapTag, setTag, hasOwnProperty$1;
4403
4463
  var init_isEmpty = __esmMin((() => {
4404
4464
  init__baseKeys();
4405
4465
  init__getTag();
@@ -4411,7 +4471,7 @@
4411
4471
  init_isTypedArray();
4412
4472
  mapTag = "[object Map]";
4413
4473
  setTag = "[object Set]";
4414
- hasOwnProperty = Object.prototype.hasOwnProperty;
4474
+ hasOwnProperty$1 = Object.prototype.hasOwnProperty;
4415
4475
  }));
4416
4476
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
4417
4477
  /**
@@ -4448,6 +4508,81 @@
4448
4508
  var init_isEqual = __esmMin((() => {
4449
4509
  init__baseIsEqual();
4450
4510
  }));
4511
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.js
4512
+ /**
4513
+ * The base implementation of `_.unset`.
4514
+ *
4515
+ * @private
4516
+ * @param {Object} object The object to modify.
4517
+ * @param {Array|string} path The property path to unset.
4518
+ * @returns {boolean} Returns `true` if the property is deleted, else `false`.
4519
+ */
4520
+ function baseUnset(object, path) {
4521
+ path = castPath(path, object);
4522
+ var index = -1, length = path.length;
4523
+ if (!length) return true;
4524
+ while (++index < length) {
4525
+ var key = toKey(path[index]);
4526
+ if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) return false;
4527
+ if ((key === "constructor" || key === "prototype") && index < length - 1) return false;
4528
+ }
4529
+ var obj = parent(object, path);
4530
+ return obj == null || delete obj[toKey(last(path))];
4531
+ }
4532
+ var hasOwnProperty;
4533
+ var init__baseUnset = __esmMin((() => {
4534
+ init__castPath();
4535
+ init_last();
4536
+ init__parent();
4537
+ init__toKey();
4538
+ hasOwnProperty = Object.prototype.hasOwnProperty;
4539
+ }));
4540
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.js
4541
+ /**
4542
+ * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
4543
+ * objects.
4544
+ *
4545
+ * @private
4546
+ * @param {*} value The value to inspect.
4547
+ * @param {string} key The key of the property to inspect.
4548
+ * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
4549
+ */
4550
+ function customOmitClone(value) {
4551
+ return isPlainObject$1(value) ? void 0 : value;
4552
+ }
4553
+ var init__customOmitClone = __esmMin((() => {
4554
+ init_isPlainObject();
4555
+ }));
4556
+ // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.js
4557
+ var CLONE_DEEP_FLAG, CLONE_FLAT_FLAG, CLONE_SYMBOLS_FLAG, omit;
4558
+ var init_omit = __esmMin((() => {
4559
+ init__arrayMap();
4560
+ init__baseClone();
4561
+ init__baseUnset();
4562
+ init__castPath();
4563
+ init__copyObject();
4564
+ init__customOmitClone();
4565
+ init__flatRest();
4566
+ init__getAllKeysIn();
4567
+ CLONE_DEEP_FLAG = 1;
4568
+ CLONE_FLAT_FLAG = 2;
4569
+ CLONE_SYMBOLS_FLAG = 4;
4570
+ omit = flatRest(function(object, paths) {
4571
+ var result = {};
4572
+ if (object == null) return result;
4573
+ var isDeep = false;
4574
+ paths = arrayMap(paths, function(path) {
4575
+ path = castPath(path, object);
4576
+ isDeep || (isDeep = path.length > 1);
4577
+ return path;
4578
+ });
4579
+ copyObject(object, getAllKeysIn(object), result);
4580
+ if (isDeep) result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
4581
+ var length = paths.length;
4582
+ while (length--) baseUnset(result, paths[length]);
4583
+ return result;
4584
+ });
4585
+ }));
4451
4586
  // node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js
4452
4587
  /**
4453
4588
  * The base implementation of `_.set`.
@@ -4460,7 +4595,7 @@
4460
4595
  * @returns {Object} Returns `object`.
4461
4596
  */
4462
4597
  function baseSet(object, path, value, customizer) {
4463
- if (!isObject(object)) return object;
4598
+ if (!isObject$1(object)) return object;
4464
4599
  path = castPath(path, object);
4465
4600
  var index = -1, length = path.length, lastIndex = length - 1, nested = object;
4466
4601
  while (nested != null && ++index < length) {
@@ -4469,7 +4604,7 @@
4469
4604
  if (index != lastIndex) {
4470
4605
  var objValue = nested[key];
4471
4606
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
4472
- if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
4607
+ if (newValue === void 0) newValue = isObject$1(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
4473
4608
  }
4474
4609
  assignValue(nested, key, newValue);
4475
4610
  nested = nested[key];
@@ -4582,7 +4717,7 @@
4582
4717
  function throttle(func, wait, options) {
4583
4718
  var leading = true, trailing = true;
4584
4719
  if (typeof func != "function") throw new TypeError(FUNC_ERROR_TEXT);
4585
- if (isObject(options)) {
4720
+ if (isObject$1(options)) {
4586
4721
  leading = "leading" in options ? !!options.leading : leading;
4587
4722
  trailing = "trailing" in options ? !!options.trailing : trailing;
4588
4723
  }
@@ -4715,6 +4850,7 @@
4715
4850
  init__baseAssignValue();
4716
4851
  init__toKey();
4717
4852
  init_toString();
4853
+ init__baseSlice();
4718
4854
  init__isIterateeCall();
4719
4855
  init__baseClone();
4720
4856
  init_cloneDeep();
@@ -4734,6 +4870,7 @@
4734
4870
  init__baseUnary();
4735
4871
  init__cacheHas();
4736
4872
  init_isArrayLikeObject();
4873
+ init_last();
4737
4874
  init__createBaseFor();
4738
4875
  init__createBaseEach();
4739
4876
  init__getTag();
@@ -4749,7 +4886,7 @@
4749
4886
  init_hasIn();
4750
4887
  init__baseIndexOf();
4751
4888
  init__castPath();
4752
- init__baseGet();
4889
+ init__parent();
4753
4890
  init_isArguments();
4754
4891
  init__nodeUtil();
4755
4892
  init_isBuffer();
@@ -4772,13 +4909,16 @@
4772
4909
  init__Symbol();
4773
4910
  init__setToArray();
4774
4911
  init_now();
4775
- init__getAllKeysIn();
4912
+ init_omit();
4776
4913
  init__basePickBy();
4914
+ init__getAllKeysIn();
4915
+ init__baseGet();
4777
4916
  init__baseMap();
4778
4917
  init__arraySome();
4779
4918
  init__baseProperty();
4780
4919
  init_pick();
4781
4920
  init_property();
4921
+ init__baseUnset();
4782
4922
  init__baseSet();
4783
4923
  init__baseKeys();
4784
4924
  init_stubArray();
@@ -5276,6 +5416,7 @@
5276
5416
  if (el && parentEl) {
5277
5417
  const calcParentOffsetWidth = (0, _tmagic_utils.calcValueByFontsize)(doc, parentEl.offsetWidth);
5278
5418
  const calcElOffsetWidth = (0, _tmagic_utils.calcValueByFontsize)(doc, el.offsetWidth);
5419
+ if (calcElOffsetWidth > calcParentOffsetWidth) return config.style.left;
5279
5420
  if (calcElOffsetWidth + left > calcParentOffsetWidth) return calcParentOffsetWidth - calcElOffsetWidth;
5280
5421
  }
5281
5422
  return config.style.left;
@@ -5305,7 +5446,7 @@
5305
5446
  isIncludeDataSourceByDiffAddResult = (diffResult) => {
5306
5447
  for (const value of Object.values(diffResult)) {
5307
5448
  if ((0, _tmagic_utils.isValueIncludeDataSource)(value)) return true;
5308
- if (isObject(value)) return isIncludeDataSourceByDiffAddResult(value);
5449
+ if (isObject$1(value)) return isIncludeDataSourceByDiffAddResult(value);
5309
5450
  }
5310
5451
  return false;
5311
5452
  };
@@ -5313,7 +5454,7 @@
5313
5454
  for (const [key, value] of Object.entries(diffResult)) {
5314
5455
  if ((0, _tmagic_utils.isValueIncludeDataSource)(value)) return true;
5315
5456
  if ((0, _tmagic_utils.isValueIncludeDataSource)(oldNode[key])) return true;
5316
- if (isObject(value)) return isIncludeDataSourceByDiffUpdatedResult(value, oldNode[key]);
5457
+ if (isObject$1(value)) return isIncludeDataSourceByDiffUpdatedResult(value, oldNode[key]);
5317
5458
  }
5318
5459
  return false;
5319
5460
  };
@@ -5420,7 +5561,7 @@
5420
5561
  };
5421
5562
  editorNodeMergeCustomizer = (objValue, srcValue, key, _object, source) => {
5422
5563
  if (typeof srcValue === "undefined" && Object.hasOwn(source, key)) return "";
5423
- if (isObject(srcValue) && Array.isArray(objValue)) return srcValue;
5564
+ if (isObject$1(srcValue) && Array.isArray(objValue)) return srcValue;
5424
5565
  if (Array.isArray(srcValue)) return srcValue;
5425
5566
  };
5426
5567
  collectRelatedNodes = (copyNodes, collectorOptions, getNodeById) => {
@@ -6902,18 +7043,101 @@
6902
7043
  });
6903
7044
  return displayState;
6904
7045
  };
6905
- var getCascaderOptionsFromFields = (fields = [], dataSourceFieldType = ["any"]) => {
7046
+ /** 编辑器里这份数据源当前用于展示的数据:优先 useInEditor 的 mock,否则用字段默认值 */
7047
+ var getDataSourceEditorData = (ds) => {
7048
+ const mock = ds.mocks?.find((item) => item.useInEditor)?.data;
7049
+ if (mock && (0, _tmagic_utils.isObject)(mock)) return mock;
7050
+ return (0, _tmagic_utils.getDefaultValueFromFields)(ds.fields || []);
7051
+ };
7052
+ var cloneSchemaOptions = (nodes) => nodes.filter((node) => !node.arrayIndex).map((node) => ({
7053
+ label: node.label,
7054
+ value: node.value,
7055
+ fieldType: node.fieldType,
7056
+ ...node.children?.length ? { children: cloneSchemaOptions(node.children) } : {}
7057
+ }));
7058
+ var cloneOptions = (nodes) => nodes.map((node) => ({
7059
+ label: node.label,
7060
+ value: node.value,
7061
+ fieldType: node.fieldType,
7062
+ ...node.arrayIndex ? { arrayIndex: true } : {},
7063
+ ...node.children?.length ? { children: cloneOptions(node.children) } : {}
7064
+ }));
7065
+ /**
7066
+ * 已选路径对不上选项时补节点,否则级联框输入框是空的。
7067
+ * 数组字段后面缺的下标会补上;只展示下标时,已保存的元素字段路径(`array.xxx`)也会补回。
7068
+ * 对象上的数字字段名仍然按字段处理。
7069
+ */
7070
+ var ensureSelectedArrayIndices = (options, fieldPath) => {
7071
+ let level = options;
7072
+ let parent;
7073
+ for (let i = 0; i < fieldPath.length; i++) {
7074
+ const segment = `${fieldPath[i]}`;
7075
+ let node = level.find((opt) => `${opt.value}` === segment);
7076
+ if (!node && parent?.fieldType === "array") {
7077
+ if ((0, _tmagic_utils.isArrayIndex)(segment)) {
7078
+ const fromSchema = cloneSchemaOptions(level);
7079
+ const fromIndex = cloneSchemaOptions(level.find((item) => item.arrayIndex)?.children || []);
7080
+ const children = fromSchema.length ? fromSchema : fromIndex;
7081
+ node = {
7082
+ label: `[${segment}]`,
7083
+ value: Number(segment),
7084
+ arrayIndex: true,
7085
+ ...children.length ? { children } : {}
7086
+ };
7087
+ level.push(node);
7088
+ } else {
7089
+ node = cloneOptions(level.find((item) => item.arrayIndex)?.children || []).find((item) => !item.arrayIndex && `${item.value}` === segment);
7090
+ if (node) level.push(node);
7091
+ }
7092
+ }
7093
+ if (!node) return;
7094
+ parent = node;
7095
+ if (i === fieldPath.length - 1) return;
7096
+ if (!node.children) node.children = [];
7097
+ level = node.children;
7098
+ }
7099
+ };
7100
+ /** 数组下标固定提供 0–19,不随 mock 或默认值的长度变化 */
7101
+ var ARRAY_INDEX_COUNT = 20;
7102
+ var appendArrayIndexOptions = (field, dataSourceFieldType, typeSet, includesAny, context) => {
7103
+ const elementFields = field.fields;
7104
+ const taken = new Set((elementFields || []).map((item) => item.name));
7105
+ const elementType = elementFields?.length ? "object" : "any";
7106
+ if (!elementFields?.length && !includesAny) return [];
7107
+ const children = getCascaderOptionsFromFields(elementFields, dataSourceFieldType, {}, context);
7108
+ if (!(includesAny || typeSet.has(elementType)) && !children.length) return [];
7109
+ const indexNodes = [];
7110
+ for (let index = 0; index < ARRAY_INDEX_COUNT; index++) {
7111
+ const name = `${index}`;
7112
+ if (taken.has(name)) continue;
7113
+ indexNodes.push({
7114
+ label: `[${index}]`,
7115
+ value: index,
7116
+ arrayIndex: true,
7117
+ ...children.length ? { children } : {}
7118
+ });
7119
+ }
7120
+ return indexNodes;
7121
+ };
7122
+ var getCascaderOptionsFromFields = (fields = [], dataSourceFieldType = ["any"], data, context = {}) => {
6906
7123
  const typeSet = new Set(dataSourceFieldType.length ? dataSourceFieldType : ["any"]);
6907
7124
  const includesAny = typeSet.has("any");
6908
7125
  const result = [];
6909
7126
  for (const field of fields) {
6910
7127
  const fieldType = field.type || "any";
6911
7128
  const isContainerType = fieldType === "any" || fieldType === "array" || fieldType === "object";
6912
- const children = isContainerType ? getCascaderOptionsFromFields(field.fields, dataSourceFieldType) : [];
7129
+ const showElementFields = fieldType !== "array" || context.directArrayElements !== false;
7130
+ const nestedData = data ? {} : void 0;
7131
+ let children = isContainerType && showElementFields ? getCascaderOptionsFromFields(field.fields, dataSourceFieldType, nestedData, context) : [];
7132
+ if (fieldType === "array" && data) {
7133
+ const indexNodes = appendArrayIndexOptions(field, dataSourceFieldType, typeSet, includesAny, context);
7134
+ children = [...children, ...indexNodes];
7135
+ }
6913
7136
  if (includesAny || typeSet.has(fieldType) || isContainerType && children.length) result.push({
6914
7137
  label: `${field.title || field.name}(${field.type})`,
6915
7138
  value: field.name,
6916
- children
7139
+ children,
7140
+ fieldType
6917
7141
  });
6918
7142
  }
6919
7143
  return result;
@@ -8007,7 +8231,7 @@
8007
8231
  if (name === "nodes" && Array.isArray(value)) this.set("node", value[0]);
8008
8232
  if (name === "root") {
8009
8233
  if (Array.isArray(value)) throw new Error("root 不能为数组");
8010
- if (value && isObject(value)) {
8234
+ if (value && isObject$1(value)) {
8011
8235
  const app = value;
8012
8236
  this.state.pageLength = getPageList(app).length || 0;
8013
8237
  this.state.pageFragmentLength = getPageFragmentList(app).length || 0;
@@ -8221,14 +8445,16 @@
8221
8445
  root: cloneDeep$1(root),
8222
8446
  index: insertIndex
8223
8447
  });
8224
- const newStyle = fixNodePosition(node, parent, stage);
8225
- if (newStyle && (newStyle.top !== node.style.top || newStyle.left !== node.style.left)) {
8226
- node.style = newStyle;
8227
- await stage?.update({
8228
- config: cloneDeep$1(node),
8229
- parentId: parent.id,
8230
- root: cloneDeep$1(root)
8231
- });
8448
+ if (!options.doNotFixPosition) {
8449
+ const newStyle = fixNodePosition(node, parent, stage);
8450
+ if (newStyle && (newStyle.top !== node.style.top || newStyle.left !== node.style.left)) {
8451
+ node.style = newStyle;
8452
+ await stage?.update({
8453
+ config: cloneDeep$1(node),
8454
+ parentId: parent.id,
8455
+ root: cloneDeep$1(root)
8456
+ });
8457
+ }
8232
8458
  }
8233
8459
  this.addModifiedNodeId(node.id);
8234
8460
  return node;
@@ -11604,6 +11830,19 @@
11604
11830
  var zoom = (0, vue.computed)(() => ui_default.get("zoom") || 1);
11605
11831
  var uiSelectMode = (0, vue.computed)(() => ui_default.get("uiSelectMode"));
11606
11832
  var getGuideLineKey = (key) => `${key}_${root.value?.id}_${page.value?.id}`;
11833
+ /** 选中节点按原文档顺序整组插到 index 之前。顺序不变时返回 null */
11834
+ var reorderSiblingItems = (items, ids, index) => {
11835
+ const idSet = new Set(ids.map((id) => `${id}`));
11836
+ const selected = items.filter((node) => idSet.has(`${node.id}`));
11837
+ if (!selected.length) return null;
11838
+ const selectedSet = new Set(selected);
11839
+ const boundedIndex = Math.min(Math.max(index, 0), items.length);
11840
+ const insertAt = items.slice(0, boundedIndex).filter((node) => !selectedSet.has(node)).length;
11841
+ const next = items.filter((node) => !selectedSet.has(node));
11842
+ next.splice(insertAt, 0, ...selected);
11843
+ if (next.length === items.length && next.every((node, itemIndex) => node === items[itemIndex])) return null;
11844
+ return next;
11845
+ };
11607
11846
  var useStage = (stageOptions) => {
11608
11847
  const stage = new _tmagic_stage.default({
11609
11848
  render: stageOptions.render,
@@ -11697,6 +11936,18 @@
11697
11936
  });
11698
11937
  });
11699
11938
  stage.on("sort", (ev) => {
11939
+ if (ev.srcIds?.length && typeof ev.index === "number") {
11940
+ const parent = editorService.getParentById(ev.srcIds[0]);
11941
+ const next = parent?.items && reorderSiblingItems(parent.items, ev.srcIds, ev.index);
11942
+ if (parent && next) {
11943
+ editorService.update({
11944
+ ...parent,
11945
+ items: next
11946
+ }, { historySource: "stage" });
11947
+ editorService.multiSelect(ev.srcIds);
11948
+ }
11949
+ return;
11950
+ }
11700
11951
  editorService.sort(ev.src, ev.dist, { historySource: "stage" });
11701
11952
  });
11702
11953
  stage.on("remove", (ev) => {
@@ -12740,9 +12991,9 @@
12740
12991
  // packages/editor/src/components/SplitView.vue
12741
12992
  var SplitView_default = SplitView_vue_vue_type_script_setup_true_lang_default;
12742
12993
  // packages/editor/src/components/Icon.vue?vue&type=script&setup=true&lang.ts
12743
- var _hoisted_1$78, Icon_vue_vue_type_script_setup_true_lang_default;
12994
+ var _hoisted_1$93, Icon_vue_vue_type_script_setup_true_lang_default;
12744
12995
  var init_Icon_vue_vue_type_script_setup_true_lang = __esmMin((() => {
12745
- _hoisted_1$78 = ["src"];
12996
+ _hoisted_1$93 = ["src"];
12746
12997
  Icon_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
12747
12998
  name: "MEditorIcon",
12748
12999
  __name: "Icon",
@@ -12760,7 +13011,7 @@
12760
13011
  key: 1,
12761
13012
  class: "magic-editor-icon"
12762
13013
  }, {
12763
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("img", { src: __props.icon }, null, 8, _hoisted_1$78)]),
13014
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("img", { src: __props.icon }, null, 8, _hoisted_1$93)]),
12764
13015
  _: 1
12765
13016
  })) : typeof __props.icon === "string" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("i", {
12766
13017
  key: 2,
@@ -12785,7 +13036,7 @@
12785
13036
  }));
12786
13037
  // packages/editor/src/components/ToolButton.vue?vue&type=script&setup=true&lang.ts
12787
13038
  init_Icon();
12788
- var _hoisted_1$77 = {
13039
+ var _hoisted_1$92 = {
12789
13040
  key: 1,
12790
13041
  class: "menu-item-text"
12791
13042
  };
@@ -12848,7 +13099,7 @@
12848
13099
  }, [__props.data.type === "divider" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicDivider), {
12849
13100
  key: 0,
12850
13101
  direction: __props.data.direction || "vertical"
12851
- }, null, 8, ["direction"])) : __props.data.type === "text" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$77, (0, vue.toDisplayString)(__props.data.text), 1)) : __props.data.type === "button" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [__props.data.tooltip ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
13102
+ }, null, 8, ["direction"])) : __props.data.type === "text" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$92, (0, vue.toDisplayString)(__props.data.text), 1)) : __props.data.type === "button" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [__props.data.tooltip ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
12852
13103
  key: 0,
12853
13104
  effect: "dark",
12854
13105
  placement: "bottom-start",
@@ -12917,7 +13168,7 @@
12917
13168
  // packages/editor/src/layouts/page-bar/AddButton.vue?vue&type=script&setup=true&lang.ts
12918
13169
  init_Icon();
12919
13170
  init_editor();
12920
- var _hoisted_1$76 = {
13171
+ var _hoisted_1$91 = {
12921
13172
  key: 0,
12922
13173
  id: "m-editor-page-bar-add-icon",
12923
13174
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
@@ -12945,7 +13196,7 @@
12945
13196
  const addNormalPage = () => addPage(_tmagic_core.NodeType.PAGE);
12946
13197
  const addPageFragment = () => addPage(_tmagic_core.NodeType.PAGE_FRAGMENT);
12947
13198
  return (_ctx, _cache) => {
12948
- return showAddPageButton.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$76, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicPopover), { "popper-class": "data-source-list-panel-add-menu" }, {
13199
+ return showAddPageButton.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$91, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicPopover), { "popper-class": "data-source-list-panel-add-menu" }, {
12949
13200
  reference: (0, vue.withCtx)(() => [(0, vue.createVNode)(Icon_default, { icon: (0, vue.unref)(_element_plus_icons_vue.Plus) }, null, 8, ["icon"])]),
12950
13201
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)(ToolButton_default, { data: {
12951
13202
  type: "button",
@@ -12965,7 +13216,7 @@
12965
13216
  var AddButton_default = AddButton_vue_vue_type_script_setup_true_lang_default;
12966
13217
  // packages/editor/src/layouts/page-bar/PageBarScrollContainer.vue?vue&type=script&setup=true&lang.ts
12967
13218
  init_Icon();
12968
- var _hoisted_1$75 = {
13219
+ var _hoisted_1$90 = {
12969
13220
  class: "m-editor-page-bar",
12970
13221
  ref: "pageBar"
12971
13222
  };
@@ -13059,7 +13310,7 @@
13059
13310
  }
13060
13311
  });
13061
13312
  return (_ctx, _cache) => {
13062
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$75, [
13313
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$90, [
13063
13314
  (0, vue.renderSlot)(_ctx.$slots, "prepend"),
13064
13315
  __props.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$30, [(0, vue.renderSlot)(_ctx.$slots, "default")], 512)) : (0, vue.createCommentVNode)("v-if", true),
13065
13316
  canScroll.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
@@ -13079,7 +13330,7 @@
13079
13330
  // packages/editor/src/layouts/page-bar/PageBarScrollContainer.vue
13080
13331
  var PageBarScrollContainer_default = PageBarScrollContainer_vue_vue_type_script_setup_true_lang_default;
13081
13332
  // packages/editor/src/layouts/page-bar/PageList.vue?vue&type=script&setup=true&lang.ts
13082
- var _hoisted_1$74 = {
13333
+ var _hoisted_1$89 = {
13083
13334
  key: 0,
13084
13335
  id: "m-editor-page-bar-list-icon",
13085
13336
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
@@ -13098,7 +13349,7 @@
13098
13349
  await editorService.select(id);
13099
13350
  };
13100
13351
  return (_ctx, _cache) => {
13101
- return showPageListButton.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$74, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicPopover), {
13352
+ return showPageListButton.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$89, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicPopover), {
13102
13353
  "popper-class": "page-bar-popover",
13103
13354
  placement: "top",
13104
13355
  trigger: "hover",
@@ -13129,7 +13380,7 @@
13129
13380
  var PageList_default = PageList_vue_vue_type_script_setup_true_lang_default;
13130
13381
  // packages/editor/src/layouts/page-bar/Search.vue?vue&type=script&setup=true&lang.ts
13131
13382
  init_Icon();
13132
- var _hoisted_1$73 = { class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-search" };
13383
+ var _hoisted_1$88 = { class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-search" };
13133
13384
  var Search_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
13134
13385
  __name: "Search",
13135
13386
  props: {
@@ -13162,7 +13413,7 @@
13162
13413
  emit("search", values);
13163
13414
  };
13164
13415
  return (_ctx, _cache) => {
13165
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$73, [(0, vue.createVNode)(Icon_default, {
13416
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$88, [(0, vue.createVNode)(Icon_default, {
13166
13417
  icon: (0, vue.unref)(_element_plus_icons_vue.Search),
13167
13418
  onClick: _cache[0] || (_cache[0] = ($event) => visible.value = !visible.value),
13168
13419
  class: (0, vue.normalizeClass)({ "icon-active": visible.value })
@@ -13184,7 +13435,7 @@
13184
13435
  // packages/editor/src/layouts/page-bar/Search.vue
13185
13436
  var Search_default = Search_vue_vue_type_script_setup_true_lang_default;
13186
13437
  // packages/editor/src/layouts/page-bar/PageBar.vue?vue&type=script&setup=true&lang.ts
13187
- var _hoisted_1$72 = { class: "m-editor-page-bar-tabs" };
13438
+ var _hoisted_1$87 = { class: "m-editor-page-bar-tabs" };
13188
13439
  var _hoisted_2$28 = ["data-page-id", "onClick"];
13189
13440
  var _hoisted_3$13 = { class: "m-editor-page-bar-title" };
13190
13441
  var _hoisted_4$9 = ["title"];
@@ -13253,7 +13504,7 @@
13253
13504
  }
13254
13505
  });
13255
13506
  return (_ctx, _cache) => {
13256
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$72, [(0, vue.createVNode)(PageBarScrollContainer_default, {
13507
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$87, [(0, vue.createVNode)(PageBarScrollContainer_default, {
13257
13508
  ref: "pageBarScrollContainer",
13258
13509
  "page-bar-sort-options": __props.pageBarSortOptions,
13259
13510
  length: list.value.length
@@ -13313,7 +13564,7 @@
13313
13564
  // packages/editor/src/layouts/AddPageBox.vue?vue&type=script&setup=true&lang.ts
13314
13565
  init_Icon();
13315
13566
  init_editor();
13316
- var _hoisted_1$71 = { class: "m-editor-empty-panel" };
13567
+ var _hoisted_1$86 = { class: "m-editor-empty-panel" };
13317
13568
  var _hoisted_2$27 = { class: "m-editor-empty-content" };
13318
13569
  var AddPageBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
13319
13570
  name: "MEditorAddPageBox",
@@ -13331,7 +13582,7 @@
13331
13582
  });
13332
13583
  };
13333
13584
  return (_ctx, _cache) => {
13334
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$71, [(0, vue.createElementVNode)("div", _hoisted_2$27, [(0, vue.createElementVNode)("div", {
13585
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$86, [(0, vue.createElementVNode)("div", _hoisted_2$27, [(0, vue.createElementVNode)("div", {
13335
13586
  class: "m-editor-empty-button",
13336
13587
  onClick: _cache[0] || (_cache[0] = ($event) => clickHandler((0, vue.unref)(_tmagic_core.NodeType).PAGE))
13337
13588
  }, [(0, vue.createElementVNode)("div", null, [(0, vue.createVNode)(Icon_default, { icon: (0, vue.unref)(_element_plus_icons_vue.Plus) }, null, 8, ["icon"])]), _cache[2] || (_cache[2] = (0, vue.createElementVNode)("p", null, "新增页面", -1))]), !__props.disabledPageFragment ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
@@ -13345,14 +13596,14 @@
13345
13596
  // packages/editor/src/layouts/AddPageBox.vue
13346
13597
  var AddPageBox_default = AddPageBox_vue_vue_type_script_setup_true_lang_default;
13347
13598
  // packages/editor/src/layouts/CodeEditor.vue?vue&type=script&setup=true&lang.ts
13348
- var _hoisted_1$70, _hoisted_2$26, CodeEditor_vue_vue_type_script_setup_true_lang_default;
13599
+ var _hoisted_1$85, _hoisted_2$26, CodeEditor_vue_vue_type_script_setup_true_lang_default;
13349
13600
  var init_CodeEditor_vue_vue_type_script_setup_true_lang = __esmMin((() => {
13350
13601
  init_lodash();
13351
13602
  init_Icon();
13352
13603
  init_config();
13353
13604
  init_editor();
13354
13605
  init_monaco_editor();
13355
- _hoisted_1$70 = { class: "magic-code-editor" };
13606
+ _hoisted_1$85 = { class: "magic-code-editor" };
13356
13607
  _hoisted_2$26 = {
13357
13608
  ref: "codeEditor",
13358
13609
  class: "magic-code-editor-content"
@@ -13606,7 +13857,7 @@
13606
13857
  }
13607
13858
  });
13608
13859
  return (_ctx, _cache) => {
13609
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$70, [((0, vue.openBlock)(), (0, vue.createBlock)(vue.Teleport, {
13860
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$85, [((0, vue.openBlock)(), (0, vue.createBlock)(vue.Teleport, {
13610
13861
  to: "body",
13611
13862
  disabled: !fullScreen.value
13612
13863
  }, [(0, vue.createElementVNode)("div", {
@@ -13956,7 +14207,7 @@
13956
14207
  }
13957
14208
  };
13958
14209
  // packages/editor/src/layouts/history-list/GroupRow.vue?vue&type=script&setup=true&lang.ts
13959
- var _hoisted_1$69 = ["title"];
14210
+ var _hoisted_1$84 = ["title"];
13960
14211
  var _hoisted_2$25 = ["title"];
13961
14212
  var _hoisted_3$12 = { class: "m-editor-history-list-item-desc" };
13962
14213
  var _hoisted_4$8 = {
@@ -14166,7 +14417,7 @@
14166
14417
  key: 6,
14167
14418
  class: (0, vue.normalizeClass)(["m-editor-history-list-group-toggle", { "is-expanded": __props.expanded }])
14168
14419
  }, "▾", 2)) : (0, vue.createCommentVNode)("v-if", true)
14169
- ], 10, _hoisted_1$69), merged.value && __props.expanded ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_10, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(subStepsDisplay.value, (s) => {
14420
+ ], 10, _hoisted_1$84), merged.value && __props.expanded ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_10, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(subStepsDisplay.value, (s) => {
14170
14421
  return (0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
14171
14422
  key: s.index,
14172
14423
  class: (0, vue.normalizeClass)({
@@ -14223,7 +14474,7 @@
14223
14474
  // packages/editor/src/layouts/history-list/GroupRow.vue
14224
14475
  var GroupRow_default = GroupRow_vue_vue_type_script_setup_true_lang_default;
14225
14476
  // packages/editor/src/layouts/history-list/InitialRow.vue?vue&type=script&setup=true&lang.ts
14226
- var _hoisted_1$68 = ["title"];
14477
+ var _hoisted_1$83 = ["title"];
14227
14478
  var _hoisted_2$24 = { class: "m-editor-history-list-item-desc" };
14228
14479
  var _hoisted_3$11 = {
14229
14480
  key: 0,
@@ -14297,14 +14548,14 @@
14297
14548
  class: "m-editor-history-list-item-time",
14298
14549
  title: timeTitle.value
14299
14550
  }, (0, vue.toDisplayString)(time.value), 9, _hoisted_5$3)) : (0, vue.createCommentVNode)("v-if", true)
14300
- ], 10, _hoisted_1$68);
14551
+ ], 10, _hoisted_1$83);
14301
14552
  };
14302
14553
  }
14303
14554
  });
14304
14555
  // packages/editor/src/layouts/history-list/InitialRow.vue
14305
14556
  var InitialRow_default = InitialRow_vue_vue_type_script_setup_true_lang_default;
14306
14557
  // packages/editor/src/layouts/history-list/Bucket.vue?vue&type=script&setup=true&lang.ts
14307
- var _hoisted_1$67 = { class: "m-editor-history-list-bucket" };
14558
+ var _hoisted_1$82 = { class: "m-editor-history-list-bucket" };
14308
14559
  var _hoisted_2$23 = { class: "m-editor-history-list-bucket-title" };
14309
14560
  var _hoisted_3$10 = { class: "m-editor-history-list-bucket-count" };
14310
14561
  var _hoisted_4$6 = { class: "m-editor-history-list-ul" };
@@ -14336,7 +14587,7 @@
14336
14587
  /** 该 bucket 是否处于初始状态(栈 cursor=0),等价于全部 group 都未 applied。 */
14337
14588
  const isInitial = (0, vue.computed)(() => props.groups.length > 0 && props.groups.every((g) => !g.applied));
14338
14589
  return (_ctx, _cache) => {
14339
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$67, [(0, vue.createElementVNode)("div", _hoisted_2$23, [
14590
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$82, [(0, vue.createElementVNode)("div", _hoisted_2$23, [
14340
14591
  (0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(__props.config.title), 1),
14341
14592
  (0, vue.createElementVNode)("code", null, (0, vue.toDisplayString)(String(__props.bucketId)), 1),
14342
14593
  (0, vue.createElementVNode)("span", _hoisted_3$10, (0, vue.toDisplayString)(__props.groups.length) + " 组", 1)
@@ -14371,7 +14622,7 @@
14371
14622
  // packages/editor/src/layouts/history-list/Bucket.vue
14372
14623
  var Bucket_default = Bucket_vue_vue_type_script_setup_true_lang_default;
14373
14624
  // packages/editor/src/layouts/history-list/BucketTab.vue?vue&type=script&setup=true&lang.ts
14374
- var _hoisted_1$66 = {
14625
+ var _hoisted_1$81 = {
14375
14626
  key: 0,
14376
14627
  class: "m-editor-history-list-empty"
14377
14628
  };
@@ -14398,7 +14649,7 @@
14398
14649
  ],
14399
14650
  setup(__props) {
14400
14651
  return (_ctx, _cache) => {
14401
- return !__props.buckets.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$66, "暂无操作记录")) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [__props.config.showClear !== false ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$22, [(0, vue.createElementVNode)("span", {
14652
+ return !__props.buckets.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$81, "暂无操作记录")) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [__props.config.showClear !== false ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$22, [(0, vue.createElementVNode)("span", {
14402
14653
  class: "m-editor-history-list-clear",
14403
14654
  title: `清空${__props.config.title}的历史记录`,
14404
14655
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("clear"))
@@ -14430,7 +14681,7 @@
14430
14681
  // packages/editor/src/layouts/history-list/BucketTab.vue
14431
14682
  var BucketTab_default = BucketTab_vue_vue_type_script_setup_true_lang_default;
14432
14683
  // packages/editor/src/layouts/history-list/PageTab.vue?vue&type=script&setup=true&lang.ts
14433
- var _hoisted_1$65 = {
14684
+ var _hoisted_1$80 = {
14434
14685
  key: 0,
14435
14686
  class: "m-editor-history-list-empty"
14436
14687
  };
@@ -14486,7 +14737,7 @@
14486
14737
  */
14487
14738
  const isInitial = (0, vue.computed)(() => props.list.every((g) => !g.applied));
14488
14739
  return (_ctx, _cache) => {
14489
- return !__props.list.length && !__props.marker ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$65, "暂无操作记录")) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [__props.list.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$21, [(0, vue.createElementVNode)("span", {
14740
+ return !__props.list.length && !__props.marker ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$80, "暂无操作记录")) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [__props.list.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$21, [(0, vue.createElementVNode)("span", {
14490
14741
  class: "m-editor-history-list-clear",
14491
14742
  title: "清空当前页面的历史记录",
14492
14743
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("clear"))
@@ -14664,12 +14915,12 @@
14664
14915
  CompareForm_default = CompareForm_vue_vue_type_script_setup_true_lang_default;
14665
14916
  }));
14666
14917
  // packages/editor/src/layouts/history-list/HistoryDiffDialog.vue?vue&type=script&setup=true&lang.ts
14667
- var _hoisted_1$64, _hoisted_2$20, _hoisted_3$7, _hoisted_4$5, _hoisted_5$2, _hoisted_6$2, _hoisted_7, HistoryDiffDialog_vue_vue_type_script_setup_true_lang_default;
14918
+ var _hoisted_1$79, _hoisted_2$20, _hoisted_3$7, _hoisted_4$5, _hoisted_5$2, _hoisted_6$2, _hoisted_7, HistoryDiffDialog_vue_vue_type_script_setup_true_lang_default;
14668
14919
  var init_HistoryDiffDialog_vue_vue_type_script_setup_true_lang = __esmMin((() => {
14669
14920
  init_lodash();
14670
14921
  init_CompareForm();
14671
14922
  init_CodeEditor();
14672
- _hoisted_1$64 = {
14923
+ _hoisted_1$79 = {
14673
14924
  key: 0,
14674
14925
  class: "m-editor-history-diff-dialog-body"
14675
14926
  };
@@ -14855,7 +15106,7 @@
14855
15106
  default: (0, vue.withCtx)(() => [..._cache[12] || (_cache[12] = [(0, vue.createTextVNode)("关闭", -1)])]),
14856
15107
  _: 1
14857
15108
  }))]),
14858
- default: (0, vue.withCtx)(() => [payload.value && visible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$64, [
15109
+ default: (0, vue.withCtx)(() => [payload.value && visible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$79, [
14859
15110
  __props.onConfirm ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$20, "仅回滚有差异的字段")) : (0, vue.createCommentVNode)("v-if", true),
14860
15111
  (0, vue.createElementVNode)("div", _hoisted_3$7, [(0, vue.createElementVNode)("span", _hoisted_4$5, (0, vue.toDisplayString)(targetText.value), 1), (0, vue.createElementVNode)("div", _hoisted_5$2, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicRadioGroup), {
14861
15112
  modelValue: viewMode.value,
@@ -15267,7 +15518,7 @@
15267
15518
  };
15268
15519
  // packages/editor/src/layouts/history-list/HistoryListPanel.vue?vue&type=script&setup=true&lang.ts
15269
15520
  init_Icon();
15270
- var _hoisted_1$63 = { class: "m-editor-history-list" };
15521
+ var _hoisted_1$78 = { class: "m-editor-history-list" };
15271
15522
  var HistoryListPanel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
15272
15523
  name: "MEditorHistoryListPanel",
15273
15524
  __name: "HistoryListPanel",
@@ -15456,7 +15707,7 @@
15456
15707
  })]),
15457
15708
  _: 1
15458
15709
  })]),
15459
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$63, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
15710
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$78, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
15460
15711
  effect: "dark",
15461
15712
  placement: "top",
15462
15713
  content: "关闭"
@@ -15574,7 +15825,7 @@
15574
15825
  // packages/editor/src/layouts/history-list/HistoryListPanel.vue
15575
15826
  var HistoryListPanel_default = HistoryListPanel_vue_vue_type_script_setup_true_lang_default;
15576
15827
  // packages/editor/src/layouts/NavMenuColumn.vue?vue&type=script&setup=true&lang.ts
15577
- var _hoisted_1$62 = { class: "m-editor-nav-menu-overflow-list" };
15828
+ var _hoisted_1$77 = { class: "m-editor-nav-menu-overflow-list" };
15578
15829
  var NavMenuColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
15579
15830
  name: "MEditorNavMenuColumn",
15580
15831
  __name: "NavMenuColumn",
@@ -15615,10 +15866,18 @@
15615
15866
  const hiddenIndexSet = (0, vue.ref)(/* @__PURE__ */ new Set());
15616
15867
  const hasOverflow = (0, vue.computed)(() => hiddenIndexSet.value.size > 0);
15617
15868
  const overflowItems = (0, vue.computed)(() => {
15618
- const items = props.items.filter((_, index) => hiddenIndexSet.value.has(index)).map((item) => item.type === "divider" ? {
15619
- ...item,
15620
- direction: "horizontal"
15621
- } : item);
15869
+ const items = props.items.filter((_, index) => hiddenIndexSet.value.has(index)).map((item) => {
15870
+ if (item.type === "divider") return {
15871
+ ...item,
15872
+ direction: "horizontal"
15873
+ };
15874
+ if (item.type === "component") return item;
15875
+ return {
15876
+ ...item,
15877
+ text: item.text || item.tooltip,
15878
+ tooltip: void 0
15879
+ };
15880
+ });
15622
15881
  let start = 0;
15623
15882
  let end = items.length;
15624
15883
  while (start < end && items[start].type === "divider") start += 1;
@@ -15767,7 +16026,7 @@
15767
16026
  "bg",
15768
16027
  "type"
15769
16028
  ])], 512)]),
15770
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$62, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(overflowItems.value, (item, index) => {
16029
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$77, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(overflowItems.value, (item, index) => {
15771
16030
  return (0, vue.openBlock)(), (0, vue.createBlock)(ToolButton_default, {
15772
16031
  data: item,
15773
16032
  key: `o-${index}`
@@ -16011,7 +16270,7 @@
16011
16270
  init_Icon();
16012
16271
  init_use_form_context();
16013
16272
  init_CodeEditor();
16014
- var _hoisted_1$61 = { class: "m-editor-props-form-panel" };
16273
+ var _hoisted_1$76 = { class: "m-editor-props-form-panel" };
16015
16274
  var FormPanel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
16016
16275
  name: "MEditorFormPanel",
16017
16276
  __name: "FormPanel",
@@ -16099,7 +16358,7 @@
16099
16358
  submit
16100
16359
  });
16101
16360
  return (_ctx, _cache) => {
16102
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$61, [
16361
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$76, [
16103
16362
  (0, vue.renderSlot)(_ctx.$slots, "props-form-panel-header"),
16104
16363
  (0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicScrollbar), null, {
16105
16364
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MForm), {
@@ -16201,7 +16460,7 @@
16201
16460
  };
16202
16461
  // packages/editor/src/layouts/props-panel/PropsPanel.vue?vue&type=script&setup=true&lang.ts
16203
16462
  init_Icon();
16204
- var _hoisted_1$60 = {
16463
+ var _hoisted_1$75 = {
16205
16464
  ref: "propsPanel",
16206
16465
  class: "m-editor-props-panel"
16207
16466
  };
@@ -16329,7 +16588,7 @@
16329
16588
  submit
16330
16589
  });
16331
16590
  return (_ctx, _cache) => {
16332
- return (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$60, [
16591
+ return (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$75, [
16333
16592
  (0, vue.renderSlot)(_ctx.$slots, "props-panel-header"),
16334
16593
  (0, vue.createVNode)(FormPanel_default, {
16335
16594
  ref: "propertyFormPanel",
@@ -16398,7 +16657,7 @@
16398
16657
  var PropsPanel_default = PropsPanel_vue_vue_type_script_setup_true_lang_default;
16399
16658
  // packages/editor/src/components/FloatingBox.vue?vue&type=script&setup=true&lang.ts
16400
16659
  init_Icon();
16401
- var _hoisted_1$59 = {
16660
+ var _hoisted_1$74 = {
16402
16661
  ref: "title",
16403
16662
  class: "m-editor-float-box-title"
16404
16663
  };
@@ -16585,7 +16844,7 @@
16585
16844
  zIndex: curZIndex.value
16586
16845
  },
16587
16846
  onMousedown: nextZIndex
16588
- }), [(0, vue.createElementVNode)("div", _hoisted_1$59, [(0, vue.renderSlot)(_ctx.$slots, "title", {}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(__props.title), 1)]), (0, vue.createElementVNode)("div", null, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
16847
+ }), [(0, vue.createElementVNode)("div", _hoisted_1$74, [(0, vue.renderSlot)(_ctx.$slots, "title", {}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(__props.title), 1)]), (0, vue.createElementVNode)("div", null, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicButton), {
16589
16848
  link: "",
16590
16849
  size: "small",
16591
16850
  onClick: closeHandler
@@ -16608,7 +16867,7 @@
16608
16867
  init_CodeEditor();
16609
16868
  init_code_block();
16610
16869
  init_config();
16611
- var _hoisted_1$58 = { style: {
16870
+ var _hoisted_1$73 = { style: {
16612
16871
  "display": "flex",
16613
16872
  "margin-bottom": "10px"
16614
16873
  } };
@@ -16812,7 +17071,7 @@
16812
17071
  default: (0, vue.withCtx)(() => [..._cache[10] || (_cache[10] = [(0, vue.createTextVNode)("确定", -1)])]),
16813
17072
  _: 1
16814
17073
  })])]),
16815
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$58, [(0, vue.createElementVNode)("div", _hoisted_2$18, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicTag), {
17074
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$73, [(0, vue.createElementVNode)("div", _hoisted_2$18, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicTag), {
16816
17075
  size: "small",
16817
17076
  type: "danger"
16818
17077
  }, {
@@ -17064,7 +17323,7 @@
17064
17323
  var SearchInput_default = SearchInput_vue_vue_type_script_setup_true_lang_default;
17065
17324
  // packages/editor/src/components/TreeNode.vue?vue&type=script&setup=true&lang.ts
17066
17325
  init_Icon();
17067
- var _hoisted_1$57 = [
17326
+ var _hoisted_1$72 = [
17068
17327
  "draggable",
17069
17328
  "data-node-id",
17070
17329
  "data-parent-id",
@@ -17189,14 +17448,14 @@
17189
17448
  "indent",
17190
17449
  "is-expandable"
17191
17450
  ]);
17192
- }), 128))])) : (0, vue.createCommentVNode)("v-if", true)], 40, _hoisted_1$57)), [[vue.vShow, visible.value]]);
17451
+ }), 128))])) : (0, vue.createCommentVNode)("v-if", true)], 40, _hoisted_1$72)), [[vue.vShow, visible.value]]);
17193
17452
  };
17194
17453
  }
17195
17454
  });
17196
17455
  // packages/editor/src/components/TreeNode.vue
17197
17456
  var TreeNode_default = TreeNode_vue_vue_type_script_setup_true_lang_default;
17198
17457
  // packages/editor/src/components/Tree.vue?vue&type=script&setup=true&lang.ts
17199
- var _hoisted_1$56 = {
17458
+ var _hoisted_1$71 = {
17200
17459
  key: 1,
17201
17460
  class: "m-editor-tree-empty"
17202
17461
  };
@@ -17251,7 +17510,7 @@
17251
17510
  "node-status-map",
17252
17511
  "is-expandable"
17253
17512
  ]);
17254
- }), 128)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$56, [(0, vue.createElementVNode)("p", null, (0, vue.toDisplayString)(__props.emptyText), 1)]))], 32);
17513
+ }), 128)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$71, [(0, vue.createElementVNode)("p", null, (0, vue.toDisplayString)(__props.emptyText), 1)]))], 32);
17255
17514
  };
17256
17515
  }
17257
17516
  });
@@ -17259,7 +17518,7 @@
17259
17518
  var Tree_default = Tree_vue_vue_type_script_setup_true_lang_default;
17260
17519
  // packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue?vue&type=script&setup=true&lang.ts
17261
17520
  init_type();
17262
- var _hoisted_1$55 = ["onClick"];
17521
+ var _hoisted_1$70 = ["onClick"];
17263
17522
  var CodeBlockList_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
17264
17523
  name: "MEditorCodeBlockList",
17265
17524
  __name: "CodeBlockList",
@@ -17407,7 +17666,7 @@
17407
17666
  class: "edit-icon"
17408
17667
  }, null, 8, ["icon"])]),
17409
17668
  _: 1
17410
- })], 8, _hoisted_1$55)]),
17669
+ })], 8, _hoisted_1$70)]),
17411
17670
  _: 2
17412
17671
  }, 1032, ["onConfirm"])) : (0, vue.createCommentVNode)("v-if", true),
17413
17672
  (0, vue.renderSlot)(_ctx.$slots, "code-block-panel-tool", {
@@ -17499,7 +17758,7 @@
17499
17758
  };
17500
17759
  };
17501
17760
  // packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue?vue&type=script&setup=true&lang.ts
17502
- var _hoisted_1$54 = { class: "search-wrapper" };
17761
+ var _hoisted_1$69 = { class: "search-wrapper" };
17503
17762
  var CodeBlockListPanel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
17504
17763
  name: "MEditorCodeBlockListPanel",
17505
17764
  __name: "CodeBlockListPanel",
@@ -17536,7 +17795,7 @@
17536
17795
  return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [
17537
17796
  (0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicScrollbar), { class: "m-editor-code-block-list m-editor-layer-panel" }, {
17538
17797
  default: (0, vue.withCtx)(() => [
17539
- (0, vue.renderSlot)(_ctx.$slots, "code-block-panel-header", {}, () => [(0, vue.createElementVNode)("div", _hoisted_1$54, [
17798
+ (0, vue.renderSlot)(_ctx.$slots, "code-block-panel-header", {}, () => [(0, vue.createElementVNode)("div", _hoisted_1$69, [
17540
17799
  (0, vue.createVNode)(SearchInput_default, { onSearch: filterTextChangeHandler }),
17541
17800
  editable.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicButton), {
17542
17801
  key: 0,
@@ -18022,7 +18281,7 @@
18022
18281
  };
18023
18282
  // packages/editor/src/layouts/sidebar/data-source/DataSourceListPanel.vue?vue&type=script&setup=true&lang.ts
18024
18283
  init_lodash();
18025
- var _hoisted_1$53 = { class: "search-wrapper" };
18284
+ var _hoisted_1$68 = { class: "search-wrapper" };
18026
18285
  var DataSourceListPanel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
18027
18286
  name: "MEditorDataSourceListPanel",
18028
18287
  __name: "DataSourceListPanel",
@@ -18099,7 +18358,7 @@
18099
18358
  return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [
18100
18359
  (0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicScrollbar), { class: "data-source-list-panel m-editor-layer-panel" }, {
18101
18360
  default: (0, vue.withCtx)(() => [
18102
- (0, vue.createElementVNode)("div", _hoisted_1$53, [
18361
+ (0, vue.createElementVNode)("div", _hoisted_1$68, [
18103
18362
  (0, vue.createVNode)(SearchInput_default, { onSearch: filterTextChangeHandler }),
18104
18363
  (0, vue.unref)(editable) ? ((0, vue.openBlock)(), (0, vue.createBlock)(DataSourceAddButton_default, {
18105
18364
  key: 0,
@@ -18162,7 +18421,7 @@
18162
18421
  // packages/editor/src/layouts/sidebar/data-source/DataSourceListPanel.vue
18163
18422
  var DataSourceListPanel_default = DataSourceListPanel_vue_vue_type_script_setup_true_lang_default;
18164
18423
  // packages/editor/src/icons/FolderMinusIcon.vue?vue&type=script&setup=true&lang.ts
18165
- var _hoisted_1$52 = {
18424
+ var _hoisted_1$67 = {
18166
18425
  width: "1em",
18167
18426
  height: "1em",
18168
18427
  viewBox: "0 0 16 16",
@@ -18175,7 +18434,7 @@
18175
18434
  __name: "FolderMinusIcon",
18176
18435
  setup(__props) {
18177
18436
  return (_ctx, _cache) => {
18178
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$52, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", {
18437
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$67, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", {
18179
18438
  "fill-rule": "evenodd",
18180
18439
  d: "M9.828 4H2.19a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91H9v1H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181L15.546 8H14.54l.265-2.91A1 1 0 0 0 13.81 4H9.828zm-2.95-1.707L7.587 3H2.19c-.24 0-.47.042-.684.12L1.5 2.98a1 1 0 0 1 1-.98h3.672a1 1 0 0 1 .707.293z"
18181
18440
  }, null, -1), (0, vue.createElementVNode)("path", {
@@ -18349,7 +18608,7 @@
18349
18608
  var LayerMenu_default = LayerMenu_vue_vue_type_script_setup_true_lang_default;
18350
18609
  // packages/editor/src/layouts/sidebar/layer/LayerNodeContent.vue?vue&type=script&setup=true&lang.ts
18351
18610
  init_Icon();
18352
- var _hoisted_1$51 = { class: "m-editor-layer-node-label" };
18611
+ var _hoisted_1$66 = { class: "m-editor-layer-node-label" };
18353
18612
  var _hoisted_2$16 = ["innerHTML"];
18354
18613
  var LayerNodeContent_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
18355
18614
  name: "MEditorLayerNodeContent",
@@ -18373,7 +18632,7 @@
18373
18632
  /** 合并属性表单与样式表单的错误文案(去掉建议,本身可能仍是含 <br> 的 HTML) */
18374
18633
  const errorMessage = (0, vue.computed)(() => [stripSuggestion(invalidInfo.value?.props), stripSuggestion(invalidInfo.value?.style)].filter(Boolean).join("<br>"));
18375
18634
  return (_ctx, _cache) => {
18376
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("span", { class: (0, vue.normalizeClass)(["m-editor-layer-node-content", { "is-invalid": hasError.value }]) }, [(0, vue.createElementVNode)("span", _hoisted_1$51, (0, vue.toDisplayString)(label.value), 1), hasError.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
18635
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("span", { class: (0, vue.normalizeClass)(["m-editor-layer-node-content", { "is-invalid": hasError.value }]) }, [(0, vue.createElementVNode)("span", _hoisted_1$66, (0, vue.toDisplayString)(label.value), 1), hasError.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
18377
18636
  key: 0,
18378
18637
  placement: "top"
18379
18638
  }, {
@@ -18985,7 +19244,7 @@
18985
19244
  // packages/editor/src/layouts/sidebar/ComponentListPanel.vue?vue&type=script&setup=true&lang.ts
18986
19245
  init_Icon();
18987
19246
  init_type();
18988
- var _hoisted_1$50 = ["onClick", "onDragstart"];
19247
+ var _hoisted_1$65 = ["onClick", "onDragstart"];
18989
19248
  var _hoisted_2$15 = ["title"];
18990
19249
  var ComponentListPanel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
18991
19250
  name: "MEditorComponentListPanel",
@@ -19085,7 +19344,7 @@
19085
19344
  }, {
19086
19345
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)(Icon_default, { icon: item.icon }, null, 8, ["icon"])]),
19087
19346
  _: 2
19088
- }, 1032, ["disabled", "content"]), (0, vue.createElementVNode)("span", { title: item.text }, (0, vue.toDisplayString)(item.text), 9, _hoisted_2$15)])], 40, _hoisted_1$50);
19347
+ }, 1032, ["disabled", "content"]), (0, vue.createElementVNode)("span", { title: item.text }, (0, vue.toDisplayString)(item.text), 9, _hoisted_2$15)])], 40, _hoisted_1$65);
19089
19348
  }), 128))]),
19090
19349
  _: 2
19091
19350
  }, 1032, ["name"])) : (0, vue.createCommentVNode)("v-if", true)], 64);
@@ -19103,7 +19362,7 @@
19103
19362
  // packages/editor/src/layouts/sidebar/Sidebar.vue?vue&type=script&setup=true&lang.ts
19104
19363
  init_Icon();
19105
19364
  init_type();
19106
- var _hoisted_1$49 = {
19365
+ var _hoisted_1$64 = {
19107
19366
  key: 0,
19108
19367
  class: "m-editor-sidebar"
19109
19368
  };
@@ -19257,7 +19516,7 @@
19257
19516
  };
19258
19517
  __expose({ activeTabName });
19259
19518
  return (_ctx, _cache) => {
19260
- return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [__props.data.type === "tabs" && __props.data.items.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$49, [
19519
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [__props.data.type === "tabs" && __props.data.items.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$64, [
19261
19520
  (0, vue.createElementVNode)("div", _hoisted_2$14, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(sideBarItems.value, (config, index) => {
19262
19521
  return (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
19263
19522
  class: (0, vue.normalizeClass)(["m-editor-sidebar-header-item", { "is-active": activeTabName.value === config.text }]),
@@ -19473,7 +19732,7 @@
19473
19732
  // packages/editor/src/components/ScrollBar.vue
19474
19733
  var ScrollBar_default = ScrollBar_vue_vue_type_script_setup_true_lang_default;
19475
19734
  // packages/editor/src/components/ScrollViewer.vue?vue&type=script&setup=true&lang.ts
19476
- var _hoisted_1$48 = {
19735
+ var _hoisted_1$63 = {
19477
19736
  class: "m-editor-scroll-viewer-container",
19478
19737
  ref: "container"
19479
19738
  };
@@ -19537,7 +19796,7 @@
19537
19796
  };
19538
19797
  __expose({ container: containerEl });
19539
19798
  return (_ctx, _cache) => {
19540
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$48, [
19799
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$63, [
19541
19800
  (0, vue.createElementVNode)("div", {
19542
19801
  ref: "target",
19543
19802
  style: (0, vue.normalizeStyle)(style.value)
@@ -19572,6 +19831,26 @@
19572
19831
  });
19573
19832
  // packages/editor/src/components/ScrollViewer.vue
19574
19833
  var ScrollViewer_default = ScrollViewer_vue_vue_type_script_setup_true_lang_default;
19834
+ // packages/editor/src/utils/page.ts
19835
+ init_lodash();
19836
+ /**
19837
+ * 页面 id 和页面自身配置都没变,只是 items 换了顺序。
19838
+ * 这种更新来自子节点排序,不是切页,也不是改页面配置。
19839
+ */
19840
+ var isSamePageItemsReorder = (prev, next) => {
19841
+ if (!prev || !next || `${prev.id}` !== `${next.id}`) return false;
19842
+ if (!isEqual(omit(prev, "items"), omit(next, "items"))) return false;
19843
+ const prevItems = prev.items ?? [];
19844
+ const nextItems = next.items ?? [];
19845
+ if (!prevItems.length || prevItems.length !== nextItems.length) return false;
19846
+ const used = /* @__PURE__ */ new Set();
19847
+ return nextItems.every((item) => {
19848
+ const index = prevItems.findIndex((prevItem, itemIndex) => !used.has(itemIndex) && isEqual(prevItem, item));
19849
+ if (index < 0) return false;
19850
+ used.add(index);
19851
+ return true;
19852
+ });
19853
+ };
19575
19854
  // packages/editor/src/layouts/workspace/viewer/NodeListMenu.vue?vue&type=script&setup=true&lang.ts
19576
19855
  var NodeListMenu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
19577
19856
  __name: "NodeListMenu",
@@ -19659,7 +19938,7 @@
19659
19938
  // packages/editor/src/layouts/workspace/viewer/NodeListMenu.vue
19660
19939
  var NodeListMenu_default = NodeListMenu_vue_vue_type_script_setup_true_lang_default;
19661
19940
  // packages/editor/src/layouts/workspace/viewer/StageOverlay.vue?vue&type=script&setup=true&lang.ts
19662
- var _hoisted_1$47 = {
19941
+ var _hoisted_1$62 = {
19663
19942
  key: 0,
19664
19943
  class: "m-editor-stage-overlay"
19665
19944
  };
@@ -19705,7 +19984,7 @@
19705
19984
  stageOverlayService.closeOverlay();
19706
19985
  };
19707
19986
  return (_ctx, _cache) => {
19708
- return stageOverlayVisible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$47, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicIcon), {
19987
+ return stageOverlayVisible.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$62, [(0, vue.createVNode)((0, vue.unref)(_tmagic_design.TMagicIcon), {
19709
19988
  class: "m-editor-stage-overlay-close",
19710
19989
  size: "30",
19711
19990
  onClick: closeOverlayHandler
@@ -19739,7 +20018,7 @@
19739
20018
  // packages/editor/src/layouts/workspace/viewer/StageOverlay.vue
19740
20019
  var StageOverlay_default = StageOverlay_vue_vue_type_script_setup_true_lang_default;
19741
20020
  // packages/editor/src/icons/CenterIcon.vue?vue&type=script&setup=true&lang.ts
19742
- var _hoisted_1$46 = {
20021
+ var _hoisted_1$61 = {
19743
20022
  viewBox: "0 0 24 24",
19744
20023
  fill: "none",
19745
20024
  xmlns: "http://www.w3.org/2000/svg"
@@ -19749,7 +20028,7 @@
19749
20028
  __name: "CenterIcon",
19750
20029
  setup(__props) {
19751
20030
  return (_ctx, _cache) => {
19752
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$46, [..._cache[0] || (_cache[0] = [
20031
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$61, [..._cache[0] || (_cache[0] = [
19753
20032
  (0, vue.createElementVNode)("path", {
19754
20033
  "fill-rule": "evenodd",
19755
20034
  "clip-rule": "evenodd",
@@ -19934,40 +20213,48 @@
19934
20213
  const zoom = (0, vue.computed)(() => uiService.get("zoom"));
19935
20214
  const node = (0, vue.computed)(() => editorService.get("node"));
19936
20215
  /**
19937
- * 判断元素是否被非页面级的滚动容器裁剪(未完整显示)
20216
+ * 双击选中进度:上次双击选中的节点 id
20217
+ *
20218
+ * 单击先于双击触发,会把当前选中重置到鼠标下最内层元素,
20219
+ * 所以层级的推进不能读当前选中状态,只能由双击自己记录。
20220
+ */
20221
+ let lastDblclickSelectedId;
20222
+ /**
20223
+ * 遍历鼠标位置下的元素链,找出「有子元素没显示全」的滚动容器
20224
+ *
20225
+ * 被裁掉的子元素不参与 elementsFromPoint 命中,无需找回它们:
20226
+ * 需要定位的是承载这些子元素的容器,交给 openOverlay 展开完整内容。
20227
+ * 可视区域以页面(页面片)为界:容器可视区与页面矩形求交后,
20228
+ * 只要有可选中子元素没完整落在该区域内,或容器内容本身就溢出了,
20229
+ * 这个容器就是需要展开的滚动容器。
19938
20230
  *
19939
- * 从元素向上遍历祖先节点,跳过页面/页面片容器,
19940
- * 检查是否存在设置了 overflow 的滚动容器将该元素裁剪,
19941
- * 只有元素未被完整显示时才需要打开 overlay 以展示完整内容
20231
+ * 轮播等组件靠内部样式完成裁剪,容器自身的 computed overflow 可能是 visible,
20232
+ * 因此不能拿 overflow 当门槛;openOverlay 也是按 scrollWidth/scrollHeight 展开,
20233
+ * 内容溢出本身就是最可靠的信号。
20234
+ * 页面自身是可视区域边界而不是滚动容器;iframe 级容器、以及 swiper-wrapper
20235
+ * 这类没有节点 id 的纯 DOM 包裹层也不参与,否则会抢在真正的容器前面。
19942
20236
  */
19943
- const isClippedByScrollContainer = (el) => {
19944
- const win = el.ownerDocument.defaultView;
19945
- if (!win) return false;
19946
- const root = editorService.get("root");
19947
- const pageIds = new Set(root?.items?.map((item) => `${item.id}`) ?? []);
19948
- const elId = (0, _tmagic_utils.getIdFromEl)()(el);
19949
- if (elId && pageIds.has(elId)) return false;
19950
- let parent = el.parentElement;
19951
- while (parent && parent !== el.ownerDocument.documentElement) {
19952
- const parentId = (0, _tmagic_utils.getIdFromEl)()(parent);
19953
- if (parentId && pageIds.has(parentId)) return false;
19954
- const { overflowX, overflowY } = win.getComputedStyle(parent);
19955
- if ([
19956
- "auto",
19957
- "scroll",
19958
- "hidden"
19959
- ].includes(overflowX) || [
19960
- "auto",
19961
- "scroll",
19962
- "hidden"
19963
- ].includes(overflowY) || parent.scrollWidth > parent.clientWidth || parent.scrollHeight > parent.clientHeight) {
19964
- const elRect = el.getBoundingClientRect();
19965
- const containerRect = parent.getBoundingClientRect();
19966
- if (elRect.top < containerRect.top || elRect.left < containerRect.left || elRect.bottom > containerRect.bottom || elRect.right > containerRect.right) return true;
20237
+ const findScrollContainer = (els) => {
20238
+ const doc = stage?.renderer?.contentWindow?.document;
20239
+ const pageEl = stage?.mask?.page ?? doc?.querySelector(".magic-ui-page, .magic-ui-page-fragment");
20240
+ if (!pageEl) return null;
20241
+ const pageRect = pageEl.getBoundingClientRect();
20242
+ for (const el of els) {
20243
+ if (el === pageEl || !pageEl.contains(el) || !(0, _tmagic_utils.getIdFromEl)()(el)) continue;
20244
+ const rect = el.getBoundingClientRect();
20245
+ const visibleLeft = Math.max(rect.left, pageRect.left);
20246
+ const visibleTop = Math.max(rect.top, pageRect.top);
20247
+ const visibleRight = Math.min(rect.right, pageRect.right);
20248
+ const visibleBottom = Math.min(rect.bottom, pageRect.bottom);
20249
+ if (el.scrollWidth > el.clientWidth || el.scrollHeight > el.clientHeight) return el;
20250
+ for (const child of el.querySelectorAll("*")) {
20251
+ if (!(0, _tmagic_utils.getIdFromEl)()(child)) continue;
20252
+ const childRect = child.getBoundingClientRect();
20253
+ if (!childRect.width || !childRect.height) continue;
20254
+ if (childRect.left < visibleLeft || childRect.top < visibleTop || childRect.right > visibleRight || childRect.bottom > visibleBottom) return el;
19967
20255
  }
19968
- parent = parent.parentElement;
19969
20256
  }
19970
- return false;
20257
+ return null;
19971
20258
  };
19972
20259
  (0, vue.watchEffect)(() => {
19973
20260
  if (stage || !page.value) return;
@@ -19982,27 +20269,32 @@
19982
20269
  if (await props.stageOptions.beforeDblclick(event) === false) return;
19983
20270
  }
19984
20271
  const el = await stage?.actionManager?.getElementFromPoint(event) || null;
19985
- if (!el) return;
19986
- const id = (0, _tmagic_utils.getIdFromEl)()(el);
19987
- if (id) {
19988
- const node = editorService.getNodeById(id);
19989
- if (node?.type === "page-fragment-container" && node.pageFragmentId) {
19990
- await editorService.select(node.pageFragmentId);
19991
- return;
20272
+ if (el) {
20273
+ const id = (0, _tmagic_utils.getIdFromEl)()(el);
20274
+ if (id) {
20275
+ const node = editorService.getNodeById(id);
20276
+ if (node?.type === "page-fragment-container" && node.pageFragmentId) {
20277
+ await editorService.select(node.pageFragmentId);
20278
+ return;
20279
+ }
19992
20280
  }
19993
20281
  }
19994
- if (!props.disabledStageOverlay && isClippedByScrollContainer(el)) {
19995
- stageOverlayService.openOverlay(el);
19996
- return;
19997
- }
19998
- const nextEl = await stage?.actionManager?.getNextElementFromPoint(event) || null;
19999
- if (nextEl) {
20000
- const nextId = (0, _tmagic_utils.getIdFromEl)()(nextEl);
20001
- if (nextId) {
20002
- await editorService.select(nextId);
20003
- editorService.get("stage")?.select(nextId);
20282
+ const els = stage?.renderer?.getElementsFromPoint(event) ?? [];
20283
+ if (!props.disabledStageOverlay) {
20284
+ const scrollContainer = findScrollContainer(els);
20285
+ if (scrollContainer) {
20286
+ stageOverlayService.openOverlay(scrollContainer);
20287
+ return;
20004
20288
  }
20005
20289
  }
20290
+ if (!el) return;
20291
+ const ids = els.map((item) => (0, _tmagic_utils.getIdFromEl)()(item)).filter((id) => Boolean(id));
20292
+ const lastIndex = lastDblclickSelectedId ? ids.indexOf(lastDblclickSelectedId) : -1;
20293
+ const nextId = ids[lastIndex >= 0 && lastIndex + 1 < ids.length ? lastIndex + 1 : 1];
20294
+ if (!nextId) return;
20295
+ lastDblclickSelectedId = nextId;
20296
+ await editorService.select(nextId);
20297
+ editorService.get("stage")?.select(nextId);
20006
20298
  });
20007
20299
  editorService.set("stage", (0, vue.markRaw)(stage));
20008
20300
  stage.mount(stageContainerEl.value);
@@ -20020,7 +20312,8 @@
20020
20312
  stage.setZoom(zoom);
20021
20313
  });
20022
20314
  let timeoutId = null;
20023
- (0, vue.watch)(page, (page) => {
20315
+ (0, vue.watch)(page, (page, prevPage) => {
20316
+ if (isSamePageItemsReorder(prevPage, page)) return;
20024
20317
  if (runtime && page) {
20025
20318
  editorService.set("stageLoading", true);
20026
20319
  if (timeoutId) globalThis.clearTimeout(timeoutId);
@@ -20222,7 +20515,7 @@
20222
20515
  // packages/editor/src/layouts/workspace/viewer/Stage.vue
20223
20516
  var Stage_default = Stage_vue_vue_type_script_setup_true_lang_default;
20224
20517
  // packages/editor/src/layouts/workspace/Breadcrumb.vue?vue&type=script&setup=true&lang.ts
20225
- var _hoisted_1$45 = {
20518
+ var _hoisted_1$60 = {
20226
20519
  key: 0,
20227
20520
  class: "m-editor-breadcrumb-ellipsis"
20228
20521
  };
@@ -20308,7 +20601,7 @@
20308
20601
  ref: containerRef,
20309
20602
  class: "m-editor-breadcrumb"
20310
20603
  }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(displayPath.value, (item, index) => {
20311
- return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: item.isEllipsis ? `ellipsis-${index}` : item.id }, [item.isEllipsis ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$45, "...")) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
20604
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: item.isEllipsis ? `ellipsis-${index}` : item.id }, [item.isEllipsis ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$60, "...")) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicTooltip), {
20312
20605
  key: 1,
20313
20606
  content: item.name,
20314
20607
  placement: "top",
@@ -20332,7 +20625,7 @@
20332
20625
  // packages/editor/src/layouts/workspace/Breadcrumb.vue
20333
20626
  var Breadcrumb_default = Breadcrumb_vue_vue_type_script_setup_true_lang_default;
20334
20627
  // packages/editor/src/layouts/workspace/Workspace.vue?vue&type=script&setup=true&lang.ts
20335
- var _hoisted_1$44 = { class: "m-editor-workspace" };
20628
+ var _hoisted_1$59 = { class: "m-editor-workspace" };
20336
20629
  var Workspace_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
20337
20630
  name: "MEditorWorkspace",
20338
20631
  __name: "Workspace",
@@ -20349,7 +20642,7 @@
20349
20642
  const { editorService } = useServices();
20350
20643
  const page = (0, vue.computed)(() => editorService.get("page"));
20351
20644
  return (_ctx, _cache) => {
20352
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$44, [
20645
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$59, [
20353
20646
  (0, vue.createVNode)(Breadcrumb_default),
20354
20647
  (0, vue.renderSlot)(_ctx.$slots, "stage", {}, () => [page.value && ((0, vue.unref)(stageOptions)?.render || (0, vue.unref)(stageOptions)?.runtimeUrl) ? ((0, vue.openBlock)(), (0, vue.createBlock)(Stage_default, {
20355
20648
  key: 0,
@@ -21569,7 +21862,7 @@
21569
21862
  init_lodash();
21570
21863
  init_Icon();
21571
21864
  init_type();
21572
- var _hoisted_1$43 = { class: "m-fields-code-select-col" };
21865
+ var _hoisted_1$58 = { class: "m-fields-code-select-col" };
21573
21866
  var _hoisted_2$12 = { class: "code-select-container" };
21574
21867
  var CodeSelectCol_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
21575
21868
  name: "MFieldsCodeSelectCol",
@@ -21676,7 +21969,7 @@
21676
21969
  eventBus?.emit("edit-code", id);
21677
21970
  };
21678
21971
  return (_ctx, _cache) => {
21679
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$43, [
21972
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$58, [
21680
21973
  (0, vue.createElementVNode)("div", _hoisted_2$12, [
21681
21974
  (0, vue.createCommentVNode)(" 代码块下拉框 "),
21682
21975
  (0, vue.createCommentVNode)(" 对比模式下交由 MFormContainer 展示下拉框的前后差异(codeId 变化时高亮新旧代码块名),\n 普通模式仍直接渲染 MSelect 以保留选择 / 写值逻辑 "),
@@ -21746,7 +22039,8 @@
21746
22039
  // packages/editor/src/fields/CodeSelectCol.vue
21747
22040
  var CodeSelectCol_default = CodeSelectCol_vue_vue_type_script_setup_true_lang_default;
21748
22041
  // packages/editor/src/fields/DataSourceFields.vue?vue&type=script&setup=true&lang.ts
21749
- var _hoisted_1$42 = { class: "m-editor-data-source-fields" };
22042
+ init_lodash();
22043
+ var _hoisted_1$57 = { class: "m-editor-data-source-fields" };
21750
22044
  var _hoisted_2$11 = {
21751
22045
  key: 0,
21752
22046
  class: "m-editor-data-source-fields-footer"
@@ -21800,6 +22094,21 @@
21800
22094
  const fieldValues = (0, vue.ref)({});
21801
22095
  const fieldTitle = (0, vue.ref)("");
21802
22096
  const width = (0, vue.useModel)(__props, "width");
22097
+ /** 数组、对象没填默认值时用的空值。每次新建,避免多个字段共用同一个 [] / {} */
22098
+ const emptyDefaultByType = (type) => {
22099
+ if (type === "array") return [];
22100
+ if (type === "object") return {};
22101
+ };
22102
+ /** 表单没填时是空字符串;切换类型时自动填上的也是 [] / {} */
22103
+ const isPlaceholderDefaultValue = (value) => value === "" || value === void 0 || isEqual(value, []) || isEqual(value, {});
22104
+ const withTypedDefaultValue = (field) => {
22105
+ const next = emptyDefaultByType(field.type);
22106
+ if (next === void 0 || field.defaultValue !== "" && field.defaultValue !== void 0) return field;
22107
+ return {
22108
+ ...field,
22109
+ defaultValue: next
22110
+ };
22111
+ };
21803
22112
  const newHandler = () => {
21804
22113
  fieldValues.value = {};
21805
22114
  fieldTitle.value = "新增属性";
@@ -21807,30 +22116,42 @@
21807
22116
  addDialogVisible.value = true;
21808
22117
  };
21809
22118
  const editField = (row, index) => {
21810
- fieldValues.value = {
22119
+ fieldValues.value = withTypedDefaultValue({
21811
22120
  ...row,
21812
22121
  index
21813
- };
22122
+ });
21814
22123
  fieldTitle.value = `编辑${row.title}`;
21815
22124
  calcBoxPosition();
21816
22125
  addDialogVisible.value = true;
21817
22126
  };
21818
22127
  const fieldChange = ({ index, ...value }, data) => {
21819
22128
  addDialogVisible.value = false;
21820
- if (index > -1) emit("change", value, {
21821
- modifyKey: index,
21822
- changeRecords: (data.changeRecords || []).map((item) => ({
22129
+ const normalized = withTypedDefaultValue(value);
22130
+ if (index > -1) {
22131
+ const changeRecords = (data.changeRecords || []).map((item) => ({
21823
22132
  propPath: `${props.prop}.${index}.${item.propPath}`,
21824
22133
  value: item.value
21825
- }))
21826
- });
21827
- else {
22134
+ }));
22135
+ if (normalized !== value) {
22136
+ const defaultValuePath = `${props.prop}.${index}.defaultValue`;
22137
+ const record = changeRecords.find((item) => item.propPath === defaultValuePath);
22138
+ if (record) record.value = normalized.defaultValue;
22139
+ else changeRecords.push({
22140
+ propPath: defaultValuePath,
22141
+ value: normalized.defaultValue
22142
+ });
22143
+ }
22144
+ emit("change", normalized, {
22145
+ modifyKey: index,
22146
+ changeRecords
22147
+ });
22148
+ } else {
21828
22149
  const modifyKey = props.model[props.name].length;
21829
- emit("change", value, {
22150
+ emit("change", normalized, {
21830
22151
  modifyKey,
21831
22152
  changeRecords: [{
21832
22153
  propPath: `${props.prop}.${modifyKey}`,
21833
- value
22154
+ value: normalized
21834
22155
  }]
21835
22156
  });
21836
22157
  }
@@ -21923,12 +22244,17 @@
21923
22244
  value: "any"
21924
22245
  }
21925
22246
  ],
21926
- onChange: (_formState, v, { setModel }) => {
22247
+ onChange: (_formState, v, { model, setModel }) => {
21927
22248
  if (![
21928
22249
  "any",
21929
22250
  "array",
21930
22251
  "object"
21931
22252
  ].includes(v)) setModel("fields", []);
22253
+ const current = model?.defaultValue;
22254
+ const next = emptyDefaultByType(v);
22255
+ if (next !== void 0) {
22256
+ if (isPlaceholderDefaultValue(current) && !isEqual(current, next)) setModel("defaultValue", next);
22257
+ } else if (isEqual(current, []) || isEqual(current, {})) setModel("defaultValue", "");
21932
22258
  return v;
21933
22259
  }
21934
22260
  },
@@ -22069,7 +22395,7 @@
22069
22395
  editField(fields[index], index);
22070
22396
  });
22071
22397
  return (_ctx, _cache) => {
22072
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$42, [
22398
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$57, [
22073
22399
  (0, vue.createVNode)((0, vue.unref)(_tmagic_table.MagicTable), {
22074
22400
  data: __props.model[__props.name],
22075
22401
  columns: displayColumns.value,
@@ -22162,7 +22488,7 @@
22162
22488
  var DataSourceFields_default = DataSourceFields_vue_vue_type_script_setup_true_lang_default;
22163
22489
  // packages/editor/src/fields/DataSourceMocks.vue?vue&type=script&setup=true&lang.ts
22164
22490
  init_CodeEditor();
22165
- var _hoisted_1$41 = { class: "m-editor-data-source-fields" };
22491
+ var _hoisted_1$56 = { class: "m-editor-data-source-fields" };
22166
22492
  var _hoisted_2$10 = {
22167
22493
  key: 0,
22168
22494
  class: "m-editor-data-source-fields-footer"
@@ -22342,7 +22668,7 @@
22342
22668
  const newHandler = () => {
22343
22669
  const isFirstRow = props.model[props.name].length === 0;
22344
22670
  formValues.value = {
22345
- data: (0, _tmagic_utils.getDefaultValueFromFields)(props.model.fields || []),
22671
+ data: (0, _tmagic_utils.getMockDataFromFields)(props.model.fields || []),
22346
22672
  useInEditor: isFirstRow,
22347
22673
  enable: isFirstRow
22348
22674
  };
@@ -22371,7 +22697,7 @@
22371
22697
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, (0, vue.inject)("parentFloating", (0, vue.ref)(null)));
22372
22698
  const frameworkWidth = (0, vue.computed)(() => uiService.get("frameworkRect")?.width || 0);
22373
22699
  return (_ctx, _cache) => {
22374
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$41, [
22700
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$56, [
22375
22701
  (0, vue.createVNode)((0, vue.unref)(_tmagic_table.MagicTable), {
22376
22702
  data: __props.model[__props.name],
22377
22703
  columns: displayColumns.value
@@ -22427,7 +22753,7 @@
22427
22753
  var DataSourceMocks_default = DataSourceMocks_vue_vue_type_script_setup_true_lang_default;
22428
22754
  // packages/editor/src/fields/DataSourceMethods.vue?vue&type=script&setup=true&lang.ts
22429
22755
  init_lodash();
22430
- var _hoisted_1$40 = { class: "m-editor-data-source-methods" };
22756
+ var _hoisted_1$55 = { class: "m-editor-data-source-methods" };
22431
22757
  var _hoisted_2$9 = {
22432
22758
  key: 0,
22433
22759
  class: "m-editor-data-source-methods-footer"
@@ -22561,7 +22887,7 @@
22561
22887
  editMethod(methods[index], index);
22562
22888
  });
22563
22889
  return (_ctx, _cache) => {
22564
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$40, [
22890
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$55, [
22565
22891
  (0, vue.createVNode)((0, vue.unref)(_tmagic_table.MagicTable), {
22566
22892
  data: __props.model[__props.name],
22567
22893
  columns: displayColumns.value,
@@ -22598,7 +22924,7 @@
22598
22924
  var DataSourceMethods_default = DataSourceMethods_vue_vue_type_script_setup_true_lang_default;
22599
22925
  // packages/editor/src/fields/DataSourceInput.vue?vue&type=script&setup=true&lang.ts
22600
22926
  init_Icon();
22601
- var _hoisted_1$39 = { style: {
22927
+ var _hoisted_1$54 = { style: {
22602
22928
  "display": "flex",
22603
22929
  "flex-direction": "column",
22604
22930
  "line-height": "1.2em"
@@ -22811,7 +23137,7 @@
22811
23137
  onSelect: selectHandler
22812
23138
  }), {
22813
23139
  suffix: (0, vue.withCtx)(() => [(0, vue.createVNode)(Icon_default, { icon: (0, vue.unref)(_element_plus_icons_vue.Coin) }, null, 8, ["icon"])]),
22814
- default: (0, vue.withCtx)((slotProps) => [(0, vue.createElementVNode)("div", _hoisted_1$39, [(0, vue.createElementVNode)("div", null, (0, vue.toDisplayString)(slotProps?.item?.text || ""), 1), (0, vue.createElementVNode)("span", _hoisted_2$8, (0, vue.toDisplayString)(slotProps?.item?.value || ""), 1)])]),
23140
+ default: (0, vue.withCtx)((slotProps) => [(0, vue.createElementVNode)("div", _hoisted_1$54, [(0, vue.createElementVNode)("div", null, (0, vue.toDisplayString)(slotProps?.item?.text || ""), 1), (0, vue.createElementVNode)("span", _hoisted_2$8, (0, vue.toDisplayString)(slotProps?.item?.value || ""), 1)])]),
22815
23141
  _: 1
22816
23142
  }, 16, ["modelValue"])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
22817
23143
  key: 2,
@@ -22853,7 +23179,7 @@
22853
23179
  // packages/editor/src/fields/DataSourceSelect.vue?vue&type=script&setup=true&lang.ts
22854
23180
  init_Icon();
22855
23181
  init_type();
22856
- var _hoisted_1$38 = { class: "m-fields-data-source-select" };
23182
+ var _hoisted_1$53 = { class: "m-fields-data-source-select" };
22857
23183
  var DataSourceSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
22858
23184
  name: "MFieldsDataSourceSelect",
22859
23185
  __name: "DataSourceSelect",
@@ -22915,7 +23241,7 @@
22915
23241
  eventBus?.emit("edit-data-source", id);
22916
23242
  };
22917
23243
  return (_ctx, _cache) => {
22918
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$38, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MSelect), {
23244
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$53, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MSelect), {
22919
23245
  model: __props.model,
22920
23246
  name: __props.name,
22921
23247
  size: __props.size,
@@ -22954,7 +23280,7 @@
22954
23280
  // packages/editor/src/fields/DataSourceMethodSelect.vue?vue&type=script&setup=true&name=true&lang.ts
22955
23281
  init_Icon();
22956
23282
  init_type();
22957
- var _hoisted_1$37 = { class: "m-fields-data-source-method-select" };
23283
+ var _hoisted_1$52 = { class: "m-fields-data-source-method-select" };
22958
23284
  var _hoisted_2$7 = { class: "data-source-method-select-container" };
22959
23285
  var DataSourceMethodSelect_vue_vue_type_script_setup_true_name_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
22960
23286
  name: "MFieldsDataSourceMethodSelect",
@@ -23087,7 +23413,7 @@
23087
23413
  eventBus?.emit("edit-data-source-method", id, methodName);
23088
23414
  };
23089
23415
  return (_ctx, _cache) => {
23090
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$37, [(0, vue.createElementVNode)("div", _hoisted_2$7, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MCascader), {
23416
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$52, [(0, vue.createElementVNode)("div", _hoisted_2$7, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MCascader), {
23091
23417
  class: "select",
23092
23418
  config: cascaderConfig.value,
23093
23419
  model: __props.model,
@@ -23142,22 +23468,22 @@
23142
23468
  return target;
23143
23469
  };
23144
23470
  // packages/editor/src/icons/DatasourceIcon.vue
23145
- var _sfc_main$26 = {};
23146
- var _hoisted_1$36 = {
23471
+ var _sfc_main$41 = {};
23472
+ var _hoisted_1$51 = {
23147
23473
  xmlns: "http://www.w3.org/2000/svg",
23148
23474
  width: "16",
23149
23475
  height: "16",
23150
23476
  viewBox: "0 0 16 16",
23151
23477
  fill: "currentColor"
23152
23478
  };
23153
- function _sfc_render$26(_ctx, _cache) {
23154
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$36, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M6.25 9.723C4.392 9.6095 2.804 9.137 1.875 8.4775V9.7495C1.875 10.6165 3.7665 11.3365 6.25 11.4745V12.348C4.392 12.2345 2.804 11.763 1.875 11.102V12.3745H1V4.0625C1 2.371 3.742 1 7.125 1C10.507 1 13.249 2.371 13.249 4.0625V6.8255H12.374V5.6405C11.3025 6.5295 9.352 7.1245 7.1245 7.1245C4.897 7.1245 2.947 6.5295 1.8745 5.6405V7.1245C1.8745 7.9915 3.7665 8.712 6.2495 8.85L6.25 9.723ZM7.125 14.999C3.742 14.999 1 13.8245 1 12.3745H1.875C1.875 13.3415 4.225 14.124 7.125 14.124V14.999ZM7.125 6.2495C10.024 6.2495 12.3745 5.2695 12.3745 4.0625C12.3745 2.855 10.0245 1.875 7.1245 1.875C4.225 1.875 1.8745 2.855 1.8745 4.0625C1.8745 5.2695 4.2255 6.2495 7.125 6.2495ZM14.7385 11.9895L14.1295 11.6345C14.1635 11.4485 14.1855 11.2585 14.1855 11.062C14.1843 10.8697 14.1655 10.6779 14.1295 10.489L14.7385 10.134C14.988 9.987 15.073 9.667 14.929 9.416L14.409 8.507C14.3752 8.44726 14.3299 8.39483 14.2757 8.35275C14.2215 8.31066 14.1595 8.27977 14.0933 8.26186C14.027 8.24395 13.9579 8.23938 13.8898 8.24842C13.8218 8.25745 13.7563 8.27992 13.697 8.3145L13.081 8.6735C12.7931 8.42269 12.4616 8.22694 12.103 8.096V7.6495C12.103 7.36 11.8705 7.1245 11.5825 7.1245H10.5415C10.4728 7.12476 10.4049 7.13855 10.3415 7.16507C10.2782 7.1916 10.2206 7.23034 10.1723 7.2791C10.1239 7.32785 10.0856 7.38565 10.0595 7.4492C10.0335 7.51276 10.0202 7.58082 10.0205 7.6495V8.096C9.66186 8.22694 9.33035 8.42269 9.0425 8.6735L8.4265 8.3145C8.36725 8.27999 8.30174 8.2576 8.23377 8.2486C8.1658 8.23961 8.09672 8.24419 8.03053 8.2621C7.96435 8.28001 7.90238 8.31088 7.84821 8.35292C7.79405 8.39495 7.74877 8.44733 7.715 8.507L7.195 9.417C7.12576 9.53751 7.10688 9.68047 7.14246 9.81482C7.17804 9.94917 7.2652 10.0641 7.385 10.1345L7.9945 10.489C7.9585 10.6775 7.9395 10.8695 7.9385 11.062C7.9385 11.2585 7.96 11.4485 7.9945 11.635L7.3855 11.99C7.1355 12.1365 7.0505 12.4565 7.1945 12.7075L7.715 13.6165C7.74877 13.6762 7.79405 13.7285 7.84821 13.7706C7.90238 13.8126 7.96435 13.8435 8.03053 13.8614C8.09672 13.8793 8.1658 13.8839 8.23377 13.8749C8.30174 13.8659 8.36725 13.8435 8.4265 13.809L9.0425 13.4505C9.33023 13.7015 9.66178 13.8972 10.0205 14.028V14.474C10.0205 14.764 10.2535 14.999 10.5415 14.999H11.5825C11.7211 14.9983 11.8538 14.9427 11.9514 14.8442C12.049 14.7458 12.1035 14.6126 12.103 14.474V14.028C12.4616 13.8971 12.7931 13.7013 13.081 13.4505L13.697 13.809C13.7563 13.8434 13.8218 13.8657 13.8897 13.8746C13.9577 13.8835 14.0267 13.8789 14.0929 13.861C14.159 13.8431 14.221 13.8123 14.2751 13.7703C14.3293 13.7283 14.3746 13.6761 14.4085 13.6165L14.929 12.7065C14.998 12.586 15.0168 12.4431 14.9811 12.3089C14.9454 12.1746 14.8583 12.0599 14.7385 11.9895ZM14.092 12.5065L13.852 12.915C13.8193 12.9693 13.7667 13.0086 13.7054 13.0246C13.6441 13.0406 13.579 13.0319 13.524 13.0005L12.8575 12.623C12.5109 13.0069 12.0497 13.2688 11.5425 13.37V13.889C11.5425 14.0185 11.4345 14.124 11.3015 14.124H10.822C10.7907 14.1243 10.7597 14.1184 10.7308 14.1067C10.7018 14.0949 10.6754 14.0776 10.6531 14.0557C10.6308 14.0338 10.6131 14.0077 10.6009 13.9789C10.5887 13.9502 10.5823 13.9193 10.582 13.888V13.37C10.0746 13.2689 9.61328 13.007 9.2665 12.623L8.6 13C8.54495 13.0316 8.47971 13.0403 8.4183 13.0243C8.35688 13.0083 8.30418 12.9689 8.2715 12.9145L8.0315 12.506C8.01582 12.4792 8.00564 12.4496 8.00158 12.4189C7.99752 12.3881 7.99965 12.3569 8.00785 12.327C8.01605 12.297 8.03016 12.2691 8.04933 12.2447C8.0685 12.2203 8.09236 12.2 8.1195 12.185L8.789 11.805C8.70604 11.5658 8.66313 11.3146 8.662 11.0615C8.662 10.8005 8.709 10.552 8.7895 10.3175L8.1195 9.9375C8.09247 9.92244 8.06872 9.90213 8.04964 9.87777C8.03056 9.85341 8.01654 9.82549 8.00839 9.79564C8.00024 9.76579 7.99813 9.73461 8.00218 9.70394C8.00624 9.67326 8.01637 9.64371 8.032 9.617L8.272 9.208C8.30467 9.15373 8.35729 9.1144 8.41858 9.09843C8.47988 9.08245 8.54499 9.09109 8.6 9.1225L9.2665 9.5005C9.61315 9.11663 10.0743 8.85468 10.5815 8.7535V8.235C10.5815 8.105 10.689 8 10.822 8H11.302C11.4345 8 11.542 8.105 11.542 8.236V8.754C12.0492 8.85518 12.5104 9.11713 12.857 9.501L13.524 9.123C13.579 9.09159 13.6441 9.08295 13.7054 9.09893C13.7667 9.1149 13.8193 9.15423 13.852 9.2085L14.092 9.6175C14.1077 9.64423 14.1179 9.67383 14.122 9.70455C14.1261 9.73528 14.124 9.76652 14.1159 9.79643C14.1077 9.82634 14.0937 9.85431 14.0745 9.87871C14.0554 9.90311 14.0316 9.92344 14.0045 9.9385L13.335 10.3185C13.4135 10.5525 13.462 10.801 13.462 11.062C13.462 11.3225 13.4145 11.571 13.335 11.8055L14.0045 12.1855C14.0316 12.2006 14.0554 12.2209 14.0745 12.2453C14.0937 12.2697 14.1077 12.2977 14.1159 12.3276C14.124 12.3575 14.1261 12.3887 14.122 12.4194C14.1179 12.4502 14.1077 12.4798 14.092 12.5065ZM11.062 9.7495C10.7139 9.7495 10.3801 9.88778 10.1339 10.1339C9.88778 10.3801 9.7495 10.7139 9.7495 11.062C9.7495 11.4101 9.88778 11.7439 10.1339 11.9901C10.3801 12.2362 10.7139 12.3745 11.062 12.3745C11.4101 12.3745 11.7439 12.2362 11.9901 11.9901C12.2362 11.7439 12.3745 11.4101 12.3745 11.062C12.3745 10.7139 12.2362 10.3801 11.9901 10.1339C11.7439 9.88778 11.4101 9.7495 11.062 9.7495ZM11.062 11.4995C10.946 11.4995 10.8347 11.4534 10.7526 11.3714C10.6706 11.2893 10.6245 11.178 10.6245 11.062C10.6245 10.946 10.6706 10.8347 10.7526 10.7526C10.8347 10.6706 10.946 10.6245 11.062 10.6245C11.178 10.6245 11.2893 10.6706 11.3714 10.7526C11.4534 10.8347 11.4995 10.946 11.4995 11.062C11.4995 11.178 11.4534 11.2893 11.3714 11.3714C11.2893 11.4534 11.178 11.4995 11.062 11.4995Z" }, null, -1)])]);
23479
+ function _sfc_render$41(_ctx, _cache) {
23480
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$51, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M6.25 9.723C4.392 9.6095 2.804 9.137 1.875 8.4775V9.7495C1.875 10.6165 3.7665 11.3365 6.25 11.4745V12.348C4.392 12.2345 2.804 11.763 1.875 11.102V12.3745H1V4.0625C1 2.371 3.742 1 7.125 1C10.507 1 13.249 2.371 13.249 4.0625V6.8255H12.374V5.6405C11.3025 6.5295 9.352 7.1245 7.1245 7.1245C4.897 7.1245 2.947 6.5295 1.8745 5.6405V7.1245C1.8745 7.9915 3.7665 8.712 6.2495 8.85L6.25 9.723ZM7.125 14.999C3.742 14.999 1 13.8245 1 12.3745H1.875C1.875 13.3415 4.225 14.124 7.125 14.124V14.999ZM7.125 6.2495C10.024 6.2495 12.3745 5.2695 12.3745 4.0625C12.3745 2.855 10.0245 1.875 7.1245 1.875C4.225 1.875 1.8745 2.855 1.8745 4.0625C1.8745 5.2695 4.2255 6.2495 7.125 6.2495ZM14.7385 11.9895L14.1295 11.6345C14.1635 11.4485 14.1855 11.2585 14.1855 11.062C14.1843 10.8697 14.1655 10.6779 14.1295 10.489L14.7385 10.134C14.988 9.987 15.073 9.667 14.929 9.416L14.409 8.507C14.3752 8.44726 14.3299 8.39483 14.2757 8.35275C14.2215 8.31066 14.1595 8.27977 14.0933 8.26186C14.027 8.24395 13.9579 8.23938 13.8898 8.24842C13.8218 8.25745 13.7563 8.27992 13.697 8.3145L13.081 8.6735C12.7931 8.42269 12.4616 8.22694 12.103 8.096V7.6495C12.103 7.36 11.8705 7.1245 11.5825 7.1245H10.5415C10.4728 7.12476 10.4049 7.13855 10.3415 7.16507C10.2782 7.1916 10.2206 7.23034 10.1723 7.2791C10.1239 7.32785 10.0856 7.38565 10.0595 7.4492C10.0335 7.51276 10.0202 7.58082 10.0205 7.6495V8.096C9.66186 8.22694 9.33035 8.42269 9.0425 8.6735L8.4265 8.3145C8.36725 8.27999 8.30174 8.2576 8.23377 8.2486C8.1658 8.23961 8.09672 8.24419 8.03053 8.2621C7.96435 8.28001 7.90238 8.31088 7.84821 8.35292C7.79405 8.39495 7.74877 8.44733 7.715 8.507L7.195 9.417C7.12576 9.53751 7.10688 9.68047 7.14246 9.81482C7.17804 9.94917 7.2652 10.0641 7.385 10.1345L7.9945 10.489C7.9585 10.6775 7.9395 10.8695 7.9385 11.062C7.9385 11.2585 7.96 11.4485 7.9945 11.635L7.3855 11.99C7.1355 12.1365 7.0505 12.4565 7.1945 12.7075L7.715 13.6165C7.74877 13.6762 7.79405 13.7285 7.84821 13.7706C7.90238 13.8126 7.96435 13.8435 8.03053 13.8614C8.09672 13.8793 8.1658 13.8839 8.23377 13.8749C8.30174 13.8659 8.36725 13.8435 8.4265 13.809L9.0425 13.4505C9.33023 13.7015 9.66178 13.8972 10.0205 14.028V14.474C10.0205 14.764 10.2535 14.999 10.5415 14.999H11.5825C11.7211 14.9983 11.8538 14.9427 11.9514 14.8442C12.049 14.7458 12.1035 14.6126 12.103 14.474V14.028C12.4616 13.8971 12.7931 13.7013 13.081 13.4505L13.697 13.809C13.7563 13.8434 13.8218 13.8657 13.8897 13.8746C13.9577 13.8835 14.0267 13.8789 14.0929 13.861C14.159 13.8431 14.221 13.8123 14.2751 13.7703C14.3293 13.7283 14.3746 13.6761 14.4085 13.6165L14.929 12.7065C14.998 12.586 15.0168 12.4431 14.9811 12.3089C14.9454 12.1746 14.8583 12.0599 14.7385 11.9895ZM14.092 12.5065L13.852 12.915C13.8193 12.9693 13.7667 13.0086 13.7054 13.0246C13.6441 13.0406 13.579 13.0319 13.524 13.0005L12.8575 12.623C12.5109 13.0069 12.0497 13.2688 11.5425 13.37V13.889C11.5425 14.0185 11.4345 14.124 11.3015 14.124H10.822C10.7907 14.1243 10.7597 14.1184 10.7308 14.1067C10.7018 14.0949 10.6754 14.0776 10.6531 14.0557C10.6308 14.0338 10.6131 14.0077 10.6009 13.9789C10.5887 13.9502 10.5823 13.9193 10.582 13.888V13.37C10.0746 13.2689 9.61328 13.007 9.2665 12.623L8.6 13C8.54495 13.0316 8.47971 13.0403 8.4183 13.0243C8.35688 13.0083 8.30418 12.9689 8.2715 12.9145L8.0315 12.506C8.01582 12.4792 8.00564 12.4496 8.00158 12.4189C7.99752 12.3881 7.99965 12.3569 8.00785 12.327C8.01605 12.297 8.03016 12.2691 8.04933 12.2447C8.0685 12.2203 8.09236 12.2 8.1195 12.185L8.789 11.805C8.70604 11.5658 8.66313 11.3146 8.662 11.0615C8.662 10.8005 8.709 10.552 8.7895 10.3175L8.1195 9.9375C8.09247 9.92244 8.06872 9.90213 8.04964 9.87777C8.03056 9.85341 8.01654 9.82549 8.00839 9.79564C8.00024 9.76579 7.99813 9.73461 8.00218 9.70394C8.00624 9.67326 8.01637 9.64371 8.032 9.617L8.272 9.208C8.30467 9.15373 8.35729 9.1144 8.41858 9.09843C8.47988 9.08245 8.54499 9.09109 8.6 9.1225L9.2665 9.5005C9.61315 9.11663 10.0743 8.85468 10.5815 8.7535V8.235C10.5815 8.105 10.689 8 10.822 8H11.302C11.4345 8 11.542 8.105 11.542 8.236V8.754C12.0492 8.85518 12.5104 9.11713 12.857 9.501L13.524 9.123C13.579 9.09159 13.6441 9.08295 13.7054 9.09893C13.7667 9.1149 13.8193 9.15423 13.852 9.2085L14.092 9.6175C14.1077 9.64423 14.1179 9.67383 14.122 9.70455C14.1261 9.73528 14.124 9.76652 14.1159 9.79643C14.1077 9.82634 14.0937 9.85431 14.0745 9.87871C14.0554 9.90311 14.0316 9.92344 14.0045 9.9385L13.335 10.3185C13.4135 10.5525 13.462 10.801 13.462 11.062C13.462 11.3225 13.4145 11.571 13.335 11.8055L14.0045 12.1855C14.0316 12.2006 14.0554 12.2209 14.0745 12.2453C14.0937 12.2697 14.1077 12.2977 14.1159 12.3276C14.124 12.3575 14.1261 12.3887 14.122 12.4194C14.1179 12.4502 14.1077 12.4798 14.092 12.5065ZM11.062 9.7495C10.7139 9.7495 10.3801 9.88778 10.1339 10.1339C9.88778 10.3801 9.7495 10.7139 9.7495 11.062C9.7495 11.4101 9.88778 11.7439 10.1339 11.9901C10.3801 12.2362 10.7139 12.3745 11.062 12.3745C11.4101 12.3745 11.7439 12.2362 11.9901 11.9901C12.2362 11.7439 12.3745 11.4101 12.3745 11.062C12.3745 10.7139 12.2362 10.3801 11.9901 10.1339C11.7439 9.88778 11.4101 9.7495 11.062 9.7495ZM11.062 11.4995C10.946 11.4995 10.8347 11.4534 10.7526 11.3714C10.6706 11.2893 10.6245 11.178 10.6245 11.062C10.6245 10.946 10.6706 10.8347 10.7526 10.7526C10.8347 10.6706 10.946 10.6245 11.062 10.6245C11.178 10.6245 11.2893 10.6706 11.3714 10.7526C11.4534 10.8347 11.4995 10.946 11.4995 11.062C11.4995 11.178 11.4534 11.2893 11.3714 11.3714C11.2893 11.4534 11.178 11.4995 11.062 11.4995Z" }, null, -1)])]);
23155
23481
  }
23156
- var DatasourceIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$26, [["render", _sfc_render$26]]);
23482
+ var DatasourceIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$41, [["render", _sfc_render$41]]);
23157
23483
  // packages/editor/src/fields/DataSourceFieldSelect/FieldSelect.vue?vue&type=script&setup=true&lang.ts
23158
23484
  init_Icon();
23159
23485
  init_type();
23160
- var _hoisted_1$35 = { class: "m-editor-data-source-field-select" };
23486
+ var _hoisted_1$50 = { class: "m-editor-data-source-field-select" };
23161
23487
  var FieldSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
23162
23488
  __name: "FieldSelect",
23163
23489
  props: /*@__PURE__*/ (0, vue.mergeModels)({
@@ -23178,7 +23504,7 @@
23178
23504
  const emit = __emit;
23179
23505
  const modelValue = (0, vue.useModel)(__props, "modelValue");
23180
23506
  const optionComponent = (0, _tmagic_design.getDesignConfig)("components")?.option;
23181
- const { dataSourceService, uiService } = useServices();
23507
+ const { dataSourceService, uiService, editorService } = useServices();
23182
23508
  const mForm = (0, vue.inject)("mForm");
23183
23509
  const eventBus = (0, vue.inject)("eventBus", null);
23184
23510
  const allDataSources = (0, vue.computed)(() => dataSourceService.get("dataSources") || []);
@@ -23210,17 +23536,58 @@
23210
23536
  selectFieldsId.value = [];
23211
23537
  }
23212
23538
  }, { immediate: true });
23539
+ /**
23540
+ * 与 core `App.iteratorContainerType` 一致:默认包含 `iterator-container`,并包含业务追加的自定义类型。
23541
+ * runtime 还没就绪时只能识别默认类型。stage 是 markRaw,runtime 晚到不会让 computed 重算,
23542
+ * 所以在 runtime-ready 时把类型集合写进 ref。
23543
+ */
23544
+ const iteratorContainerTypes = (0, vue.ref)(null);
23545
+ const syncIteratorContainerTypes = () => {
23546
+ const types = editorService?.get("stage")?.renderer?.runtime?.getApp?.()?.iteratorContainerType;
23547
+ iteratorContainerTypes.value = typeof types?.has === "function" ? types : null;
23548
+ };
23549
+ (0, vue.watch)(() => editorService?.get("stage") ?? null, (stage, _, onCleanup) => {
23550
+ syncIteratorContainerTypes();
23551
+ if (!stage?.on) return;
23552
+ stage.on("runtime-ready", syncIteratorContainerTypes);
23553
+ onCleanup(() => {
23554
+ stage.off("runtime-ready", syncIteratorContainerTypes);
23555
+ });
23556
+ }, { immediate: true });
23557
+ const isIteratorContainer = (type) => {
23558
+ if (!type) return false;
23559
+ const types = iteratorContainerTypes.value;
23560
+ return types ? types.has(type) : type === "iterator-container";
23561
+ };
23562
+ /** 迭代器容器自身不算子组件,只有放进它里面的节点才同时支持 array.xxx 和下标 */
23563
+ const inIteratorChild = (0, vue.computed)(() => {
23564
+ const nodeId = mForm?.initValues?.id;
23565
+ if (!editorService?.getNodeInfo || nodeId === void 0 || nodeId === null || nodeId === "") return false;
23566
+ const { path } = editorService.getNodeInfo(nodeId);
23567
+ return path.slice(0, -1).some((node) => isIteratorContainer(node.type));
23568
+ });
23569
+ const fieldOptions = (ds) => getCascaderOptionsFromFields(ds.fields, props.dataSourceFieldType, getDataSourceEditorData(ds), { directArrayElements: inIteratorChild.value });
23213
23570
  const fieldsOptions = (0, vue.computed)(() => {
23214
23571
  const ds = allDataSources.value.find((ds) => ds.id === (0, _tmagic_utils.removeDataSourceFieldPrefix)(selectDataSourceId.value));
23215
23572
  if (!ds) return [];
23216
- return getCascaderOptionsFromFields(ds.fields, props.dataSourceFieldType);
23573
+ const options = fieldOptions(ds);
23574
+ ensureSelectedArrayIndices(options, selectFieldsId.value);
23575
+ return options;
23217
23576
  });
23218
23577
  const cascaderOptions = (0, vue.computed)(() => {
23219
- return (dataSources.value?.map((ds) => ({
23220
- label: ds.title || ds.id,
23221
- value: valueIsKey.value ? ds.id : `${_tmagic_utils.DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX}${ds.id}`,
23222
- children: getCascaderOptionsFromFields(ds.fields, props.dataSourceFieldType)
23223
- })) || []).filter((option) => option.children.length);
23578
+ const selected = Array.isArray(modelValue.value) ? modelValue.value : [];
23579
+ const selectedDsId = `${selected[0] ?? ""}`;
23580
+ const selectedFields = selected.slice(1);
23581
+ return (dataSources.value?.map((ds) => {
23582
+ const value = valueIsKey.value ? ds.id : `${_tmagic_utils.DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX}${ds.id}`;
23583
+ const children = fieldOptions(ds);
23584
+ if (value === selectedDsId) ensureSelectedArrayIndices(children, selectedFields);
23585
+ return {
23586
+ label: ds.title || ds.id,
23587
+ value,
23588
+ children
23589
+ };
23590
+ }) || []).filter((option) => option.children.length);
23224
23591
  });
23225
23592
  const dsChangeHandler = (v) => {
23226
23593
  modelValue.value = [v];
@@ -23250,7 +23617,7 @@
23250
23617
  else eventBus?.emit("edit-data-source", dataSourceId);
23251
23618
  };
23252
23619
  return (_ctx, _cache) => {
23253
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$35, [__props.dataSourceId ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicCascader), {
23620
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$50, [__props.dataSourceId ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicCascader), {
23254
23621
  key: 0,
23255
23622
  "model-value": selectFieldsId.value,
23256
23623
  clearable: "",
@@ -23727,7 +24094,7 @@
23727
24094
  return !has(events[0], "actions");
23728
24095
  };
23729
24096
  // packages/editor/src/fields/EventSelect.vue?vue&type=script&setup=true&lang.ts
23730
- var _hoisted_1$34 = { class: "m-fields-event-select" };
24097
+ var _hoisted_1$49 = { class: "m-fields-event-select" };
23731
24098
  var _hoisted_2$6 = {
23732
24099
  key: 1,
23733
24100
  class: "fullWidth event-select-container"
@@ -23771,7 +24138,7 @@
23771
24138
  const isCompareMode = (0, vue.computed)(() => Boolean(props.isCompare && props.lastValues));
23772
24139
  const onChangeHandler = (_v, eventData) => emit("change", props.model[props.name], eventData);
23773
24140
  return (_ctx, _cache) => {
23774
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$34, [isOldVersion.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_form.MTable), {
24141
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$49, [isOldVersion.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_form.MTable), {
23775
24142
  key: 0,
23776
24143
  name: "events",
23777
24144
  size: __props.size,
@@ -23835,7 +24202,7 @@
23835
24202
  // packages/editor/src/fields/EventSelect.vue
23836
24203
  var EventSelect_default = EventSelect_vue_vue_type_script_setup_true_lang_default;
23837
24204
  // packages/editor/src/icons/CodeIcon.vue?vue&type=script&setup=true&lang.ts
23838
- var _hoisted_1$33 = {
24205
+ var _hoisted_1$48 = {
23839
24206
  viewBox: "0 0 32 32",
23840
24207
  version: "1.1",
23841
24208
  xmlns: "http://www.w3.org/2000/svg",
@@ -23846,7 +24213,7 @@
23846
24213
  __name: "CodeIcon",
23847
24214
  setup(__props) {
23848
24215
  return (_ctx, _cache) => {
23849
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$33, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"32\" height=\"32\"></rect></defs><g id=\"组件规范\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"03图标\" transform=\"translate(-561.000000, -2356.000000)\"><g id=\"icon/line/Universal/code\" transform=\"translate(561.000000, 2356.000000)\"><g id=\"路径\"><mask id=\"mask-2\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><use id=\"蒙版\" fill=\"#D8D8D8\" opacity=\"0\" xlink:href=\"#path-1\"></use><path d=\"M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z\" id=\"形状\" fill=\"#1D1F24\" mask=\"url(#mask-2)\"></path></g></g><g id=\"icon切图\" transform=\"translate(226.000000, 1782.000000)\"></g></g></g>", 2)])]);
24216
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$48, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"32\" height=\"32\"></rect></defs><g id=\"组件规范\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"03图标\" transform=\"translate(-561.000000, -2356.000000)\"><g id=\"icon/line/Universal/code\" transform=\"translate(561.000000, 2356.000000)\"><g id=\"路径\"><mask id=\"mask-2\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><use id=\"蒙版\" fill=\"#D8D8D8\" opacity=\"0\" xlink:href=\"#path-1\"></use><path d=\"M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z\" id=\"形状\" fill=\"#1D1F24\" mask=\"url(#mask-2)\"></path></g></g><g id=\"icon切图\" transform=\"translate(226.000000, 1782.000000)\"></g></g></g>", 2)])]);
23850
24217
  };
23851
24218
  }
23852
24219
  });
@@ -23854,7 +24221,7 @@
23854
24221
  var CodeIcon_default = CodeIcon_vue_vue_type_script_setup_true_lang_default;
23855
24222
  // packages/editor/src/fields/KeyValue.vue?vue&type=script&setup=true&lang.ts
23856
24223
  init_CodeEditor();
23857
- var _hoisted_1$32 = { class: "m-fields-key-value" };
24224
+ var _hoisted_1$47 = { class: "m-fields-key-value" };
23858
24225
  var _hoisted_2$5 = { key: 0 };
23859
24226
  var KeyValue_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
23860
24227
  name: "MFieldsKeyValue",
@@ -23921,7 +24288,7 @@
23921
24288
  emit("change", v);
23922
24289
  };
23923
24290
  return (_ctx, _cache) => {
23924
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$32, [
24291
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$47, [
23925
24292
  !showCode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$5, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(records.value, (item, index) => {
23926
24293
  return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
23927
24294
  class: "m-fields-key-value-item",
@@ -24071,7 +24438,7 @@
24071
24438
  // packages/editor/src/fields/PageFragmentSelect.vue?vue&type=script&setup=true&lang.ts
24072
24439
  init_HistoryDiffDialog();
24073
24440
  init_Icon();
24074
- var _hoisted_1$31 = { class: "m-fields-page-fragment-select" };
24441
+ var _hoisted_1$46 = { class: "m-fields-page-fragment-select" };
24075
24442
  var _hoisted_2$4 = { class: "page-fragment-select-container" };
24076
24443
  var PageFragmentSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
24077
24444
  name: "MFieldsPageFragmentSelect",
@@ -24117,7 +24484,7 @@
24117
24484
  editorService.select(id);
24118
24485
  };
24119
24486
  return (_ctx, _cache) => {
24120
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$31, [(0, vue.createElementVNode)("div", _hoisted_2$4, [
24487
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$46, [(0, vue.createElementVNode)("div", _hoisted_2$4, [
24121
24488
  (0, vue.createCommentVNode)(" 页面片下拉框 "),
24122
24489
  (0, vue.createVNode)((0, vue.unref)(_tmagic_form.MSelect), {
24123
24490
  class: "select",
@@ -24298,7 +24665,7 @@
24298
24665
  };
24299
24666
  };
24300
24667
  // packages/editor/src/fields/DisplayConds.vue?vue&type=script&setup=true&lang.ts
24301
- var _hoisted_1$30 = { class: "m-fields-display-conds" };
24668
+ var _hoisted_1$45 = { class: "m-fields-display-conds" };
24302
24669
  var DisplayConds_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
24303
24670
  name: "m-fields-display-conds",
24304
24671
  __name: "DisplayConds",
@@ -24332,7 +24699,7 @@
24332
24699
  emit("change", v, eventData);
24333
24700
  };
24334
24701
  return (_ctx, _cache) => {
24335
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$30, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MGroupList), {
24702
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$45, [(0, vue.createVNode)((0, vue.unref)(_tmagic_form.MGroupList), {
24336
24703
  config: config.value,
24337
24704
  name: __props.name,
24338
24705
  disabled: __props.disabled,
@@ -24422,7 +24789,7 @@
24422
24789
  // packages/editor/src/fields/CondOpSelect.vue
24423
24790
  var CondOpSelect_default = CondOpSelect_vue_vue_type_script_setup_true_lang_default;
24424
24791
  // packages/editor/src/fields/StyleSetter/components/BackgroundPosition.vue?vue&type=script&setup=true&lang.ts
24425
- var _hoisted_1$29 = { class: "background-position-container" };
24792
+ var _hoisted_1$44 = { class: "background-position-container" };
24426
24793
  var _hoisted_2$3 = { class: "presets-value-list" };
24427
24794
  var _hoisted_3$2 = { class: "custom-value" };
24428
24795
  var BackgroundPosition_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
@@ -24481,7 +24848,7 @@
24481
24848
  emit("change", v);
24482
24849
  };
24483
24850
  return (_ctx, _cache) => {
24484
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$29, [(0, vue.createElementVNode)("div", _hoisted_2$3, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(list), (item, index) => {
24851
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$44, [(0, vue.createElementVNode)("div", _hoisted_2$3, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)((0, vue.unref)(list), (item, index) => {
24485
24852
  return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_tmagic_design.TMagicButton), {
24486
24853
  key: index,
24487
24854
  link: "",
@@ -24518,17 +24885,59 @@
24518
24885
  });
24519
24886
  // packages/editor/src/fields/StyleSetter/components/BackgroundPosition.vue
24520
24887
  var BackgroundPosition_default = BackgroundPosition_vue_vue_type_script_setup_true_lang_default;
24888
+ // packages/editor/src/fields/StyleSetter/icons/align-items/Baseline.vue
24889
+ var _sfc_main$40 = {};
24890
+ var _hoisted_1$43 = {
24891
+ xmlns: "http://www.w3.org/2000/svg",
24892
+ width: "16",
24893
+ height: "16",
24894
+ viewBox: "0 0 16 16",
24895
+ fill: "currentColor"
24896
+ };
24897
+ function _sfc_render$40(_ctx, _cache) {
24898
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$43, [..._cache[0] || (_cache[0] = [
24899
+ (0, vue.createElementVNode)("rect", {
24900
+ x: "2",
24901
+ y: "3",
24902
+ width: "2.5",
24903
+ height: "8",
24904
+ rx: "0.5"
24905
+ }, null, -1),
24906
+ (0, vue.createElementVNode)("rect", {
24907
+ x: "6.75",
24908
+ y: "6",
24909
+ width: "2.5",
24910
+ height: "5",
24911
+ rx: "0.5"
24912
+ }, null, -1),
24913
+ (0, vue.createElementVNode)("rect", {
24914
+ x: "11.5",
24915
+ y: "1",
24916
+ width: "2.5",
24917
+ height: "10",
24918
+ rx: "0.5"
24919
+ }, null, -1),
24920
+ (0, vue.createElementVNode)("rect", {
24921
+ x: "0.75",
24922
+ y: "11.25",
24923
+ width: "14.5",
24924
+ height: "0.75",
24925
+ rx: "0.375"
24926
+ }, null, -1)
24927
+ ])]);
24928
+ }
24929
+ var Baseline_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$40, [["render", _sfc_render$40]]);
24521
24930
  // packages/editor/src/fields/StyleSetter/icons/align-items/Center.vue
24522
- var _sfc_main$25 = {};
24523
- var _hoisted_1$28 = {
24931
+ var _sfc_main$39 = {};
24932
+ var _hoisted_1$42 = {
24524
24933
  xmlns: "http://www.w3.org/2000/svg",
24525
24934
  width: "16",
24526
24935
  height: "16",
24527
24936
  viewBox: "0 0 16 16",
24528
24937
  fill: "currentColor"
24529
24938
  };
24530
- function _sfc_render$25(_ctx, _cache) {
24531
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$28, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 4C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H4C3.44772 12 3 11.5523 3 11V5C3 4.44772 3.44772 4 4 4H12ZM4.5 5C4.22386 5 4 5.22386 4 5.5V10.5C4 10.7761 4.22386 11 4.5 11H11.5C11.7761 11 12 10.7761 12 10.5V5.5C12 5.22386 11.7761 5 11.5 5H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24939
+ function _sfc_render$39(_ctx, _cache) {
24940
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$42, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 4C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H4C3.44772 12 3 11.5523 3 11V5C3 4.44772 3.44772 4 4 4H12ZM4.5 5C4.22386 5 4 5.22386 4 5.5V10.5C4 10.7761 4.22386 11 4.5 11H11.5C11.7761 11 12 10.7761 12 10.5V5.5C12 5.22386 11.7761 5 11.5 5H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24532
24941
  x: "13.75",
24533
24942
  y: "7.75",
24534
24943
  width: "0.5",
@@ -24544,18 +24953,57 @@
24544
24953
  "stroke-width": "0.5"
24545
24954
  }, null, -1)])]);
24546
24955
  }
24547
- var Center_default$2 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$25, [["render", _sfc_render$25]]);
24956
+ var Center_default$2 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$39, [["render", _sfc_render$39]]);
24957
+ // packages/editor/src/fields/StyleSetter/icons/align-items/End.vue
24958
+ var _sfc_main$38 = {};
24959
+ var _hoisted_1$41 = {
24960
+ xmlns: "http://www.w3.org/2000/svg",
24961
+ width: "16",
24962
+ height: "16",
24963
+ viewBox: "0 0 16 16",
24964
+ fill: "currentColor"
24965
+ };
24966
+ function _sfc_render$38(_ctx, _cache) {
24967
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$41, [..._cache[0] || (_cache[0] = [
24968
+ (0, vue.createElementVNode)("rect", {
24969
+ x: "2",
24970
+ y: "2",
24971
+ width: "9",
24972
+ height: "1",
24973
+ rx: "0.5"
24974
+ }, null, -1),
24975
+ (0, vue.createElementVNode)("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
24976
+ (0, vue.createElementVNode)("rect", {
24977
+ x: "3",
24978
+ y: "10",
24979
+ width: "10",
24980
+ height: "4",
24981
+ rx: "0.5",
24982
+ fill: "none",
24983
+ stroke: "currentColor"
24984
+ }, null, -1),
24985
+ (0, vue.createElementVNode)("rect", {
24986
+ x: "1",
24987
+ y: "14.5",
24988
+ width: "14",
24989
+ height: "0.5",
24990
+ rx: "0.25",
24991
+ "fill-opacity": "0.3"
24992
+ }, null, -1)
24993
+ ])]);
24994
+ }
24995
+ var End_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$38, [["render", _sfc_render$38]]);
24548
24996
  // packages/editor/src/fields/StyleSetter/icons/align-items/FlexEnd.vue
24549
- var _sfc_main$24 = {};
24550
- var _hoisted_1$27 = {
24997
+ var _sfc_main$37 = {};
24998
+ var _hoisted_1$40 = {
24551
24999
  xmlns: "http://www.w3.org/2000/svg",
24552
25000
  width: "16",
24553
25001
  height: "16",
24554
25002
  viewBox: "0 0 16 16",
24555
25003
  fill: "currentColor"
24556
25004
  };
24557
- function _sfc_render$24(_ctx, _cache) {
24558
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$27, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
25005
+ function _sfc_render$37(_ctx, _cache) {
25006
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$40, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24559
25007
  x: "13.75",
24560
25008
  y: "12.25",
24561
25009
  width: "0.5",
@@ -24571,18 +25019,18 @@
24571
25019
  "stroke-width": "0.5"
24572
25020
  }, null, -1)])]);
24573
25021
  }
24574
- var FlexEnd_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$24, [["render", _sfc_render$24]]);
25022
+ var FlexEnd_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$37, [["render", _sfc_render$37]]);
24575
25023
  // packages/editor/src/fields/StyleSetter/icons/align-items/FlexStart.vue
24576
- var _sfc_main$23 = {};
24577
- var _hoisted_1$26 = {
25024
+ var _sfc_main$36 = {};
25025
+ var _hoisted_1$39 = {
24578
25026
  xmlns: "http://www.w3.org/2000/svg",
24579
25027
  width: "16",
24580
25028
  height: "16",
24581
25029
  viewBox: "0 0 16 16",
24582
25030
  fill: "currentColor"
24583
25031
  };
24584
- function _sfc_render$23(_ctx, _cache) {
24585
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$26, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
25032
+ function _sfc_render$36(_ctx, _cache) {
25033
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$39, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24586
25034
  x: "13.75",
24587
25035
  y: "3.25",
24588
25036
  width: "0.5",
@@ -24598,18 +25046,48 @@
24598
25046
  "stroke-width": "0.5"
24599
25047
  }, null, -1)])]);
24600
25048
  }
24601
- var FlexStart_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$23, [["render", _sfc_render$23]]);
25049
+ var FlexStart_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$36, [["render", _sfc_render$36]]);
25050
+ // packages/editor/src/fields/StyleSetter/icons/align-items/Normal.vue
25051
+ var _sfc_main$35 = {};
25052
+ var _hoisted_1$38 = {
25053
+ xmlns: "http://www.w3.org/2000/svg",
25054
+ width: "16",
25055
+ height: "16",
25056
+ viewBox: "0 0 16 16",
25057
+ fill: "currentColor"
25058
+ };
25059
+ function _sfc_render$35(_ctx, _cache) {
25060
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$38, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("rect", {
25061
+ x: "1",
25062
+ y: "1",
25063
+ width: "14",
25064
+ height: "14",
25065
+ rx: "1",
25066
+ fill: "none",
25067
+ stroke: "currentColor",
25068
+ "stroke-opacity": "0.3"
25069
+ }, null, -1), (0, vue.createElementVNode)("rect", {
25070
+ x: "3",
25071
+ y: "5.5",
25072
+ width: "10",
25073
+ height: "5",
25074
+ rx: "0.5",
25075
+ fill: "none",
25076
+ stroke: "currentColor"
25077
+ }, null, -1)])]);
25078
+ }
25079
+ var Normal_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$35, [["render", _sfc_render$35]]);
24602
25080
  // packages/editor/src/fields/StyleSetter/icons/align-items/SpaceAround.vue
24603
- var _sfc_main$22 = {};
24604
- var _hoisted_1$25 = {
25081
+ var _sfc_main$34 = {};
25082
+ var _hoisted_1$37 = {
24605
25083
  xmlns: "http://www.w3.org/2000/svg",
24606
25084
  width: "16",
24607
25085
  height: "16",
24608
25086
  viewBox: "0 0 16 16",
24609
25087
  fill: "currentColor"
24610
25088
  };
24611
- function _sfc_render$22(_ctx, _cache) {
24612
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$25, [..._cache[0] || (_cache[0] = [
25089
+ function _sfc_render$34(_ctx, _cache) {
25090
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$37, [..._cache[0] || (_cache[0] = [
24613
25091
  (0, vue.createElementVNode)("path", { d: "M12 8C12.5523 8 13 8.44772 13 9V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V9C3 8.44772 3.44772 8 4 8H12ZM4.5 9C4.22386 9 4 9.22386 4 9.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V9.5C12 9.22386 11.7761 9 11.5 9H4.5Z" }, null, -1),
24614
25092
  (0, vue.createElementVNode)("path", { d: "M12 2C12.5523 2 13 2.44772 13 3V6C13 6.55228 12.5523 7 12 7H4C3.44772 7 3 6.55228 3 6V3C3 2.44772 3.44772 2 4 2H12ZM4.5 3C4.22386 3 4 3.22386 4 3.5V5.5C4 5.77614 4.22386 6 4.5 6H11.5C11.7761 6 12 5.77614 12 5.5V3.5C12 3.22386 11.7761 3 11.5 3H4.5Z" }, null, -1),
24615
25093
  (0, vue.createElementVNode)("rect", {
@@ -24644,18 +25122,18 @@
24644
25122
  }, null, -1)
24645
25123
  ])]);
24646
25124
  }
24647
- var SpaceAround_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$22, [["render", _sfc_render$22]]);
25125
+ var SpaceAround_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$34, [["render", _sfc_render$34]]);
24648
25126
  // packages/editor/src/fields/StyleSetter/icons/align-items/SpaceBetween.vue
24649
- var _sfc_main$21 = {};
24650
- var _hoisted_1$24 = {
25127
+ var _sfc_main$33 = {};
25128
+ var _hoisted_1$36 = {
24651
25129
  xmlns: "http://www.w3.org/2000/svg",
24652
25130
  width: "16",
24653
25131
  height: "16",
24654
25132
  viewBox: "0 0 16 16",
24655
25133
  fill: "currentColor"
24656
25134
  };
24657
- function _sfc_render$21(_ctx, _cache) {
24658
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$24, [..._cache[0] || (_cache[0] = [
25135
+ function _sfc_render$33(_ctx, _cache) {
25136
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$36, [..._cache[0] || (_cache[0] = [
24659
25137
  (0, vue.createElementVNode)("path", { d: "M12 9C12.5523 9 13 9.44772 13 10V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V10C3 9.44772 3.44772 9 4 9H12ZM4.5 10C4.22386 10 4 10.2239 4 10.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V10.5C12 10.2239 11.7761 10 11.5 10H4.5Z" }, null, -1),
24660
25138
  (0, vue.createElementVNode)("path", { d: "M12 3C12.5523 3 13 3.44772 13 4V6C13 6.55228 12.5523 7 12 7H4C3.44772 7 3 6.55228 3 6V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V5.5C4 5.77614 4.22386 6 4.5 6H11.5C11.7761 6 12 5.77614 12 5.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z" }, null, -1),
24661
25139
  (0, vue.createElementVNode)("rect", {
@@ -24690,31 +25168,104 @@
24690
25168
  }, null, -1)
24691
25169
  ])]);
24692
25170
  }
24693
- var SpaceBetween_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$21, [["render", _sfc_render$21]]);
25171
+ var SpaceBetween_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$33, [["render", _sfc_render$33]]);
25172
+ // packages/editor/src/fields/StyleSetter/icons/align-items/Start.vue
25173
+ var _sfc_main$32 = {};
25174
+ var _hoisted_1$35 = {
25175
+ xmlns: "http://www.w3.org/2000/svg",
25176
+ width: "16",
25177
+ height: "16",
25178
+ viewBox: "0 0 16 16",
25179
+ fill: "currentColor"
25180
+ };
25181
+ function _sfc_render$32(_ctx, _cache) {
25182
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$35, [..._cache[0] || (_cache[0] = [
25183
+ (0, vue.createElementVNode)("rect", {
25184
+ x: "2",
25185
+ y: "2",
25186
+ width: "9",
25187
+ height: "1",
25188
+ rx: "0.5"
25189
+ }, null, -1),
25190
+ (0, vue.createElementVNode)("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
25191
+ (0, vue.createElementVNode)("rect", {
25192
+ x: "3",
25193
+ y: "6",
25194
+ width: "10",
25195
+ height: "4",
25196
+ rx: "0.5",
25197
+ fill: "none",
25198
+ stroke: "currentColor"
25199
+ }, null, -1),
25200
+ (0, vue.createElementVNode)("rect", {
25201
+ x: "1",
25202
+ y: "5",
25203
+ width: "14",
25204
+ height: "0.5",
25205
+ rx: "0.25",
25206
+ "fill-opacity": "0.3"
25207
+ }, null, -1)
25208
+ ])]);
25209
+ }
25210
+ var Start_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$32, [["render", _sfc_render$32]]);
25211
+ // packages/editor/src/fields/StyleSetter/icons/align-items/Stretch.vue
25212
+ var _sfc_main$31 = {};
25213
+ var _hoisted_1$34 = {
25214
+ xmlns: "http://www.w3.org/2000/svg",
25215
+ width: "16",
25216
+ height: "16",
25217
+ viewBox: "0 0 16 16",
25218
+ fill: "currentColor"
25219
+ };
25220
+ function _sfc_render$31(_ctx, _cache) {
25221
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$34, [..._cache[0] || (_cache[0] = [
25222
+ (0, vue.createElementVNode)("rect", {
25223
+ x: "1",
25224
+ y: "1",
25225
+ width: "14",
25226
+ height: "14",
25227
+ rx: "1",
25228
+ fill: "none",
25229
+ stroke: "currentColor",
25230
+ "stroke-opacity": "0.3"
25231
+ }, null, -1),
25232
+ (0, vue.createElementVNode)("rect", {
25233
+ x: "3",
25234
+ y: "2",
25235
+ width: "10",
25236
+ height: "12",
25237
+ rx: "0.5",
25238
+ fill: "none",
25239
+ stroke: "currentColor"
25240
+ }, null, -1),
25241
+ (0, vue.createElementVNode)("path", { d: "M8 4.5L9.75 6.5H8.75V9.5H9.75L8 11.5 6.25 9.5H7.25V6.5H6.25Z" }, null, -1)
25242
+ ])]);
25243
+ }
25244
+ var Stretch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$31, [["render", _sfc_render$31]]);
24694
25245
  // packages/editor/src/fields/StyleSetter/icons/background-repeat/Repeat.vue
24695
- var _sfc_main$20 = {};
24696
- var _hoisted_1$23 = {
25246
+ var _sfc_main$30 = {};
25247
+ var _hoisted_1$33 = {
24697
25248
  xmlns: "http://www.w3.org/2000/svg",
24698
25249
  width: "16",
24699
25250
  height: "16",
24700
25251
  viewBox: "0 0 16 16",
24701
25252
  fill: "currentColor"
24702
25253
  };
24703
- function _sfc_render$20(_ctx, _cache) {
24704
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$23, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<rect x=\"13\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 3)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 7)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 11)\" fill-opacity=\"0.3\"></rect><rect x=\"9\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 3)\"></rect><rect x=\"9\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 7)\"></rect><rect x=\"9\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 11)\" fill-opacity=\"0.3\"></rect><rect x=\"5\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 3)\"></rect><rect x=\"5\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 7)\"></rect><rect x=\"5\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 11)\" fill-opacity=\"0.3\"></rect>", 9)])]);
25254
+ function _sfc_render$30(_ctx, _cache) {
25255
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$33, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<rect x=\"13\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 3)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 7)\" fill-opacity=\"0.3\"></rect><rect x=\"13\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 13 11)\" fill-opacity=\"0.3\"></rect><rect x=\"9\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 3)\"></rect><rect x=\"9\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 7)\"></rect><rect x=\"9\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 9 11)\" fill-opacity=\"0.3\"></rect><rect x=\"5\" y=\"3\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 3)\"></rect><rect x=\"5\" y=\"7\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 7)\"></rect><rect x=\"5\" y=\"11\" width=\"2\" height=\"2\" rx=\"0.5\" transform=\"rotate(90 5 11)\" fill-opacity=\"0.3\"></rect>", 9)])]);
24705
25256
  }
24706
- var Repeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$20, [["render", _sfc_render$20]]);
25257
+ var Repeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$30, [["render", _sfc_render$30]]);
24707
25258
  // packages/editor/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue
24708
- var _sfc_main$19 = {};
24709
- var _hoisted_1$22 = {
25259
+ var _sfc_main$29 = {};
25260
+ var _hoisted_1$32 = {
24710
25261
  xmlns: "http://www.w3.org/2000/svg",
24711
25262
  width: "16",
24712
25263
  height: "16",
24713
25264
  viewBox: "0 0 16 16",
24714
25265
  fill: "currentColor"
24715
25266
  };
24716
- function _sfc_render$19(_ctx, _cache) {
24717
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$22, [..._cache[0] || (_cache[0] = [
25267
+ function _sfc_render$29(_ctx, _cache) {
25268
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$32, [..._cache[0] || (_cache[0] = [
24718
25269
  (0, vue.createElementVNode)("rect", {
24719
25270
  x: "3",
24720
25271
  y: "3",
@@ -24739,18 +25290,18 @@
24739
25290
  }, null, -1)
24740
25291
  ])]);
24741
25292
  }
24742
- var RepeatX_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$19, [["render", _sfc_render$19]]);
25293
+ var RepeatX_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$29, [["render", _sfc_render$29]]);
24743
25294
  // packages/editor/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue
24744
- var _sfc_main$18 = {};
24745
- var _hoisted_1$21 = {
25295
+ var _sfc_main$28 = {};
25296
+ var _hoisted_1$31 = {
24746
25297
  xmlns: "http://www.w3.org/2000/svg",
24747
25298
  width: "16",
24748
25299
  height: "16",
24749
25300
  viewBox: "0 0 16 16",
24750
25301
  fill: "currentColor"
24751
25302
  };
24752
- function _sfc_render$18(_ctx, _cache) {
24753
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$21, [..._cache[0] || (_cache[0] = [
25303
+ function _sfc_render$28(_ctx, _cache) {
25304
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$31, [..._cache[0] || (_cache[0] = [
24754
25305
  (0, vue.createElementVNode)("rect", {
24755
25306
  x: "13",
24756
25307
  y: "3",
@@ -24778,153 +25329,238 @@
24778
25329
  }, null, -1)
24779
25330
  ])]);
24780
25331
  }
24781
- var RepeatY_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$18, [["render", _sfc_render$18]]);
25332
+ var RepeatY_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$28, [["render", _sfc_render$28]]);
24782
25333
  // packages/editor/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue
24783
- var _sfc_main$17 = {};
24784
- var _hoisted_1$20 = {
25334
+ var _sfc_main$27 = {};
25335
+ var _hoisted_1$30 = {
24785
25336
  xmlns: "http://www.w3.org/2000/svg",
24786
25337
  width: "10",
24787
25338
  height: "10",
24788
25339
  viewBox: "0 0 10 10",
24789
25340
  fill: "currentColor"
24790
25341
  };
24791
- function _sfc_render$17(_ctx, _cache) {
24792
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$20, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<path d=\"M0 0.625C0 0.279822 0.248731 0 0.555556 0H9.44444C9.75127 0 10 0.279822 10 0.625C10 0.970178 9.75127 1.25 9.44444 1.25H0.555556C0.248731 1.25 0 0.970178 0 0.625Z\" fill-opacity=\"0.3\"></path><path d=\"M0 9.375C0 9.02982 0.248731 8.75 0.555556 8.75H9.44444C9.75127 8.75 10 9.02982 10 9.375C10 9.72018 9.75127 10 9.44444 10H0.555556C0.248731 10 0 9.72018 0 9.375Z\" fill-opacity=\"0.3\"></path><path d=\"M0.555556 4.375C0.248731 4.375 0 4.65482 0 5C0 5.34518 0.248731 5.625 0.555556 5.625H2.87307L3.42868 4.99994L2.87318 4.375H0.555556Z\" fill-opacity=\"0.3\"></path><path d=\"M9.44444 5.625H7.12699L6.57138 4.99994L7.12688 4.375H9.44444C9.75127 4.375 10 4.65482 10 5C10 5.34518 9.75127 5.625 9.44444 5.625Z\" fill-opacity=\"0.3\"></path><path transform=\"translate(0 2.6072)\" d=\"M3.30542 0.183058C3.52237 -0.0610194 3.87413 -0.0610194 4.09109 0.183058C4.30805 0.427136 4.30805 0.822864 4.09109 1.06694L2.91256 2.39279L4.0911 3.71865C4.30806 3.96273 4.30806 4.35846 4.0911 4.60253C3.87414 4.84661 3.52239 4.84661 3.30543 4.60253L2.12688 3.27667L0.948393 4.60248C0.731435 4.84655 0.379676 4.84655 0.162719 4.60248C-0.0542395 4.3584 -0.0542395 3.96267 0.162719 3.71859L1.34121 2.39279L0.162731 1.067C-0.0542269 0.822922 -0.0542268 0.427194 0.162731 0.183116C0.379689 -0.0609612 0.731447 -0.0609612 0.948405 0.183116L2.12688 1.50891L3.30542 0.183058Z\"></path>", 5)])]);
25342
+ function _sfc_render$27(_ctx, _cache) {
25343
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$30, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<path d=\"M0 0.625C0 0.279822 0.248731 0 0.555556 0H9.44444C9.75127 0 10 0.279822 10 0.625C10 0.970178 9.75127 1.25 9.44444 1.25H0.555556C0.248731 1.25 0 0.970178 0 0.625Z\" fill-opacity=\"0.3\"></path><path d=\"M0 9.375C0 9.02982 0.248731 8.75 0.555556 8.75H9.44444C9.75127 8.75 10 9.02982 10 9.375C10 9.72018 9.75127 10 9.44444 10H0.555556C0.248731 10 0 9.72018 0 9.375Z\" fill-opacity=\"0.3\"></path><path d=\"M0.555556 4.375C0.248731 4.375 0 4.65482 0 5C0 5.34518 0.248731 5.625 0.555556 5.625H2.87307L3.42868 4.99994L2.87318 4.375H0.555556Z\" fill-opacity=\"0.3\"></path><path d=\"M9.44444 5.625H7.12699L6.57138 4.99994L7.12688 4.375H9.44444C9.75127 4.375 10 4.65482 10 5C10 5.34518 9.75127 5.625 9.44444 5.625Z\" fill-opacity=\"0.3\"></path><path transform=\"translate(0 2.6072)\" d=\"M3.30542 0.183058C3.52237 -0.0610194 3.87413 -0.0610194 4.09109 0.183058C4.30805 0.427136 4.30805 0.822864 4.09109 1.06694L2.91256 2.39279L4.0911 3.71865C4.30806 3.96273 4.30806 4.35846 4.0911 4.60253C3.87414 4.84661 3.52239 4.84661 3.30543 4.60253L2.12688 3.27667L0.948393 4.60248C0.731435 4.84655 0.379676 4.84655 0.162719 4.60248C-0.0542395 4.3584 -0.0542395 3.96267 0.162719 3.71859L1.34121 2.39279L0.162731 1.067C-0.0542269 0.822922 -0.0542268 0.427194 0.162731 0.183116C0.379689 -0.0609612 0.731447 -0.0609612 0.948405 0.183116L2.12688 1.50891L3.30542 0.183058Z\"></path>", 5)])]);
25344
+ }
25345
+ var NoRepeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$27, [["render", _sfc_render$27]]);
25346
+ // packages/editor/src/fields/StyleSetter/icons/background-repeat/Round.vue
25347
+ var _sfc_main$26 = {};
25348
+ var _hoisted_1$29 = {
25349
+ xmlns: "http://www.w3.org/2000/svg",
25350
+ width: "16",
25351
+ height: "16",
25352
+ viewBox: "0 0 16 16",
25353
+ fill: "currentColor"
25354
+ };
25355
+ function _sfc_render$26(_ctx, _cache) {
25356
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$29, [..._cache[0] || (_cache[0] = [
25357
+ (0, vue.createElementVNode)("rect", {
25358
+ x: "1",
25359
+ y: "1",
25360
+ width: "6.5",
25361
+ height: "6.5",
25362
+ rx: "0.5"
25363
+ }, null, -1),
25364
+ (0, vue.createElementVNode)("rect", {
25365
+ x: "8.5",
25366
+ y: "1",
25367
+ width: "6.5",
25368
+ height: "6.5",
25369
+ rx: "0.5"
25370
+ }, null, -1),
25371
+ (0, vue.createElementVNode)("rect", {
25372
+ x: "1",
25373
+ y: "8.5",
25374
+ width: "6.5",
25375
+ height: "6.5",
25376
+ rx: "0.5"
25377
+ }, null, -1),
25378
+ (0, vue.createElementVNode)("rect", {
25379
+ x: "8.5",
25380
+ y: "8.5",
25381
+ width: "6.5",
25382
+ height: "6.5",
25383
+ rx: "0.5"
25384
+ }, null, -1)
25385
+ ])]);
25386
+ }
25387
+ var Round_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$26, [["render", _sfc_render$26]]);
25388
+ // packages/editor/src/fields/StyleSetter/icons/background-repeat/Space.vue
25389
+ var _sfc_main$25 = {};
25390
+ var _hoisted_1$28 = {
25391
+ xmlns: "http://www.w3.org/2000/svg",
25392
+ width: "16",
25393
+ height: "16",
25394
+ viewBox: "0 0 16 16",
25395
+ fill: "currentColor"
25396
+ };
25397
+ function _sfc_render$25(_ctx, _cache) {
25398
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$28, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<rect x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-opacity=\"0.3\"></rect><rect x=\"3.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"3.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect>", 5)])]);
24793
25399
  }
24794
- var NoRepeat_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$17, [["render", _sfc_render$17]]);
25400
+ var Space_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$25, [["render", _sfc_render$25]]);
24795
25401
  // packages/editor/src/fields/StyleSetter/icons/display/Block.vue
24796
- var _sfc_main$16 = {};
24797
- var _hoisted_1$19 = {
25402
+ var _sfc_main$24 = {};
25403
+ var _hoisted_1$27 = {
24798
25404
  xmlns: "http://www.w3.org/2000/svg",
24799
25405
  viewBox: "0 0 1024 1024"
24800
25406
  };
24801
- function _sfc_render$16(_ctx, _cache) {
24802
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$19, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1)])]);
25407
+ function _sfc_render$24(_ctx, _cache) {
25408
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$27, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1)])]);
24803
25409
  }
24804
- var Block_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$16, [["render", _sfc_render$16]]);
25410
+ var Block_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$24, [["render", _sfc_render$24]]);
24805
25411
  // packages/editor/src/fields/StyleSetter/icons/display/Flex.vue
24806
- var _sfc_main$15 = {};
24807
- var _hoisted_1$18 = {
25412
+ var _sfc_main$23 = {};
25413
+ var _hoisted_1$26 = {
24808
25414
  xmlns: "http://www.w3.org/2000/svg",
24809
25415
  viewBox: "0 0 1024 1024"
24810
25416
  };
24811
- function _sfc_render$15(_ctx, _cache) {
24812
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$18, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1)])]);
25417
+ function _sfc_render$23(_ctx, _cache) {
25418
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$26, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1)])]);
25419
+ }
25420
+ var Flex_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$23, [["render", _sfc_render$23]]);
25421
+ // packages/editor/src/fields/StyleSetter/icons/display/Grid.vue
25422
+ var _sfc_main$22 = {};
25423
+ var _hoisted_1$25 = {
25424
+ xmlns: "http://www.w3.org/2000/svg",
25425
+ viewBox: "0 0 1024 1024"
25426
+ };
25427
+ function _sfc_render$22(_ctx, _cache) {
25428
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$25, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM416 256v512H368V256h48zM656 256v512H608V256h48zM768 368v48H256V368h512zM768 608v48H256V608h512z" }, null, -1)])]);
24813
25429
  }
24814
- var Flex_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$15, [["render", _sfc_render$15]]);
25430
+ var Grid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$22, [["render", _sfc_render$22]]);
24815
25431
  // packages/editor/src/fields/StyleSetter/icons/display/Inline.vue
24816
- var _sfc_main$14 = {};
24817
- var _hoisted_1$17 = {
25432
+ var _sfc_main$21 = {};
25433
+ var _hoisted_1$24 = {
24818
25434
  xmlns: "http://www.w3.org/2000/svg",
24819
25435
  viewBox: "0 0 1024 1024"
24820
25436
  };
24821
- function _sfc_render$14(_ctx, _cache) {
24822
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$17, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M787.616 651.36a142.72 142.72 0 0 0 52.864 31.904 205.504 205.504 0 0 0 67.264 10.848 245.76 245.76 0 0 0 38.784-2.4c9.504-1.6 19.36-4 30.208-7.04 8.16-2.24 15.968-5.12 23.36-8.32l23.392-10.816V587.52h-8.736c-3.968 3.424-8.96 7.648-15.104 12.544a190.272 190.272 0 0 1-19.936 13.504 120.32 120.32 0 0 1-27.616 12.544 102.528 102.528 0 0 1-62.72-0.576 80 80 0 0 1-29.824-17.088 89.28 89.28 0 0 1-21.664-32.512c-5.696-13.664-8.64-30.784-8.64-51.296 0-19.744 2.72-36.384 7.968-50.08 5.248-13.664 12.384-24.896 20.992-33.056 9.12-8.832 18.816-14.816 29.632-18.816a101.824 101.824 0 0 1 63.68-0.736c9.408 3.136 18.08 7.04 26.112 11.68 13.024 7.808 25.28 16.768 36.672 26.784H1024v-78.72c-6.08-2.88-13.12-6.08-21.12-9.6a205.984 205.984 0 0 0-57.152-15.36 270.016 270.016 0 0 0-37.056-2.304c-24.864 0-47.744 4-68.704 11.84-20.992 7.776-38.432 18.784-52.64 33.6a144.256 144.256 0 0 0-33.632 54.176 207.68 207.68 0 0 0-12.48 70.176c0 27.84 3.968 52.352 12.16 73.568a146.08 146.08 0 0 0 34.176 53.184l0.064 0.416z m-186.112 34.656a122.912 122.912 0 0 0 42.784-21.504c11.2-8.32 20.224-19.296 26.24-31.936 6.56-13.664 9.888-28.704 9.664-43.904 0-22.784-6.272-41.024-18.912-54.72-12.544-13.92-29.664-23.04-51.104-27.36v-2.304c14.4-6.24 26.688-16.448 35.52-29.408 8.384-12.544 12.544-27.008 12.544-43.52 0-14.24-2.944-26.784-9.12-37.6a65.696 65.696 0 0 0-27.936-26.24 117.44 117.44 0 0 0-36.48-12.096A437.312 437.312 0 0 0 526.656 352h-127.552v340.384h143.392c23.84 0 43.52-2.112 59.008-6.4z m-118.112-271.584h7.968c16.544 0 29.472 0.128 38.656 0.352 9.248 0.576 16.864 1.728 23.04 4a26.24 26.24 0 0 1 14.4 13.12c2.656 5.28 4.064 11.072 4.128 16.96 0.16 6.656-1.056 13.248-3.52 19.392a28.064 28.064 0 0 1-15.04 13.696c-7.04 2.912-14.56 4.48-22.208 4.576-9.472 0.32-20.864 0.544-34.24 0.544h-13.184v-72.64z m6.144 215.52h-6.144v-84.8h18.464c12.64 0 24.736 0 36.384 0.256 9.216-0.16 18.432 0.896 27.36 3.2 9.696 2.848 16.544 7.232 20.512 13.12 4 5.92 6.08 14.24 6.08 25.088 0 8.192-1.728 15.488-4.992 21.824-3.232 6.336-9.696 11.392-18.24 15.392-8.544 4-18.24 5.696-28.48 6.272-10.304 0.224-27.392 0.224-51.328 0.224l0.384-0.576z m-378.56-6.016h124.672l23.36 68.416H348.8L224.32 353.728H124.416L0 692.384h87.52l23.488-68.416-0.064-0.032z m62.336-183.552l41.472 121.44h-82.88l41.408-121.44z" }, null, -1)])]);
25437
+ function _sfc_render$21(_ctx, _cache) {
25438
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$24, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M787.616 651.36a142.72 142.72 0 0 0 52.864 31.904 205.504 205.504 0 0 0 67.264 10.848 245.76 245.76 0 0 0 38.784-2.4c9.504-1.6 19.36-4 30.208-7.04 8.16-2.24 15.968-5.12 23.36-8.32l23.392-10.816V587.52h-8.736c-3.968 3.424-8.96 7.648-15.104 12.544a190.272 190.272 0 0 1-19.936 13.504 120.32 120.32 0 0 1-27.616 12.544 102.528 102.528 0 0 1-62.72-0.576 80 80 0 0 1-29.824-17.088 89.28 89.28 0 0 1-21.664-32.512c-5.696-13.664-8.64-30.784-8.64-51.296 0-19.744 2.72-36.384 7.968-50.08 5.248-13.664 12.384-24.896 20.992-33.056 9.12-8.832 18.816-14.816 29.632-18.816a101.824 101.824 0 0 1 63.68-0.736c9.408 3.136 18.08 7.04 26.112 11.68 13.024 7.808 25.28 16.768 36.672 26.784H1024v-78.72c-6.08-2.88-13.12-6.08-21.12-9.6a205.984 205.984 0 0 0-57.152-15.36 270.016 270.016 0 0 0-37.056-2.304c-24.864 0-47.744 4-68.704 11.84-20.992 7.776-38.432 18.784-52.64 33.6a144.256 144.256 0 0 0-33.632 54.176 207.68 207.68 0 0 0-12.48 70.176c0 27.84 3.968 52.352 12.16 73.568a146.08 146.08 0 0 0 34.176 53.184l0.064 0.416z m-186.112 34.656a122.912 122.912 0 0 0 42.784-21.504c11.2-8.32 20.224-19.296 26.24-31.936 6.56-13.664 9.888-28.704 9.664-43.904 0-22.784-6.272-41.024-18.912-54.72-12.544-13.92-29.664-23.04-51.104-27.36v-2.304c14.4-6.24 26.688-16.448 35.52-29.408 8.384-12.544 12.544-27.008 12.544-43.52 0-14.24-2.944-26.784-9.12-37.6a65.696 65.696 0 0 0-27.936-26.24 117.44 117.44 0 0 0-36.48-12.096A437.312 437.312 0 0 0 526.656 352h-127.552v340.384h143.392c23.84 0 43.52-2.112 59.008-6.4z m-118.112-271.584h7.968c16.544 0 29.472 0.128 38.656 0.352 9.248 0.576 16.864 1.728 23.04 4a26.24 26.24 0 0 1 14.4 13.12c2.656 5.28 4.064 11.072 4.128 16.96 0.16 6.656-1.056 13.248-3.52 19.392a28.064 28.064 0 0 1-15.04 13.696c-7.04 2.912-14.56 4.48-22.208 4.576-9.472 0.32-20.864 0.544-34.24 0.544h-13.184v-72.64z m6.144 215.52h-6.144v-84.8h18.464c12.64 0 24.736 0 36.384 0.256 9.216-0.16 18.432 0.896 27.36 3.2 9.696 2.848 16.544 7.232 20.512 13.12 4 5.92 6.08 14.24 6.08 25.088 0 8.192-1.728 15.488-4.992 21.824-3.232 6.336-9.696 11.392-18.24 15.392-8.544 4-18.24 5.696-28.48 6.272-10.304 0.224-27.392 0.224-51.328 0.224l0.384-0.576z m-378.56-6.016h124.672l23.36 68.416H348.8L224.32 353.728H124.416L0 692.384h87.52l23.488-68.416-0.064-0.032z m62.336-183.552l41.472 121.44h-82.88l41.408-121.44z" }, null, -1)])]);
24823
25439
  }
24824
- var Inline_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$14, [["render", _sfc_render$14]]);
25440
+ var Inline_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$21, [["render", _sfc_render$21]]);
24825
25441
  // packages/editor/src/fields/StyleSetter/icons/display/InlineBlock.vue
24826
- var _sfc_main$13 = {};
24827
- var _hoisted_1$16 = {
25442
+ var _sfc_main$20 = {};
25443
+ var _hoisted_1$23 = {
24828
25444
  xmlns: "http://www.w3.org/2000/svg",
24829
25445
  viewBox: "0 0 1024 1024"
24830
25446
  };
24831
- function _sfc_render$13(_ctx, _cache) {
24832
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$16, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-131.936 158.496c65.984 1.824 109.024 32.512 129.184 92.064l-65.952 15.136-1.856-5.664c-9.984-27.52-30.432-42.112-61.376-43.84-46.72 2.784-71.456 35.296-74.208 97.6 1.856 63.2 26.56 96.64 74.24 100.32 37.536-0.928 59.52-23.36 65.92-67.328L960 559.36l-1.792 7.232c-16.96 63.872-60.352 95.84-130.144 95.84-93.44-4.608-142.464-56.8-147.04-156.672 4.576-98.048 53.6-149.792 147.04-155.296z m-568.928 4.128l114.08 302.336H297.6l-22.016-65.984H160.192L138.24 656.96H64l112.672-302.336h82.464z m278.976 0l7.68 0.32c62.816 3.36 96 27.104 99.52 71.136 0 35.744-19.712 59.552-59.104 71.456 42.144 9.184 65.952 32.544 71.456 70.08 0 59.552-37.568 89.344-112.672 89.344h-148.416v-302.336h141.536z m-4.128 173.152H465.28v81.088h67.328c33.92 0 51.296-13.76 52.224-41.248-2.752-25.632-19.68-38.912-50.848-39.84zM217.92 408.224h-1.376l-0.96 7.36c-1.184 7.232-3.168 13.92-5.92 20.128l-34.336 103.04h87.936l-38.464-104.416-2.624-9.024c-1.6-5.888-3.04-11.584-4.256-17.088z m309.184-2.752H465.28v71.456h61.824c29.344-0.928 44.448-13.76 45.376-38.464-0.96-22.016-16.032-32.992-45.376-32.992z" }, null, -1)])]);
25447
+ function _sfc_render$20(_ctx, _cache) {
25448
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$23, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-131.936 158.496c65.984 1.824 109.024 32.512 129.184 92.064l-65.952 15.136-1.856-5.664c-9.984-27.52-30.432-42.112-61.376-43.84-46.72 2.784-71.456 35.296-74.208 97.6 1.856 63.2 26.56 96.64 74.24 100.32 37.536-0.928 59.52-23.36 65.92-67.328L960 559.36l-1.792 7.232c-16.96 63.872-60.352 95.84-130.144 95.84-93.44-4.608-142.464-56.8-147.04-156.672 4.576-98.048 53.6-149.792 147.04-155.296z m-568.928 4.128l114.08 302.336H297.6l-22.016-65.984H160.192L138.24 656.96H64l112.672-302.336h82.464z m278.976 0l7.68 0.32c62.816 3.36 96 27.104 99.52 71.136 0 35.744-19.712 59.552-59.104 71.456 42.144 9.184 65.952 32.544 71.456 70.08 0 59.552-37.568 89.344-112.672 89.344h-148.416v-302.336h141.536z m-4.128 173.152H465.28v81.088h67.328c33.92 0 51.296-13.76 52.224-41.248-2.752-25.632-19.68-38.912-50.848-39.84zM217.92 408.224h-1.376l-0.96 7.36c-1.184 7.232-3.168 13.92-5.92 20.128l-34.336 103.04h87.936l-38.464-104.416-2.624-9.024c-1.6-5.888-3.04-11.584-4.256-17.088z m309.184-2.752H465.28v71.456h61.824c29.344-0.928 44.448-13.76 45.376-38.464-0.96-22.016-16.032-32.992-45.376-32.992z" }, null, -1)])]);
25449
+ }
25450
+ var InlineBlock_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$20, [["render", _sfc_render$20]]);
25451
+ // packages/editor/src/fields/StyleSetter/icons/display/InlineFlex.vue
25452
+ var _sfc_main$19 = {};
25453
+ var _hoisted_1$22 = {
25454
+ xmlns: "http://www.w3.org/2000/svg",
25455
+ viewBox: "0 0 1024 1024"
25456
+ };
25457
+ function _sfc_render$19(_ctx, _cache) {
25458
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$22, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM288 400v48H128V400h160zM288 576v48H128V576h160zM896 400v48H736V400h160zM896 576v48H736V576h160zM704 320v384H320V320h384zM656 368H368v288h288V368zM448 416v192H384V416h64zM544 416v192H480V416h64zM640 416v192H576V416h64z" }, null, -1)])]);
25459
+ }
25460
+ var InlineFlex_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$19, [["render", _sfc_render$19]]);
25461
+ // packages/editor/src/fields/StyleSetter/icons/display/InlineGrid.vue
25462
+ var _sfc_main$18 = {};
25463
+ var _hoisted_1$21 = {
25464
+ xmlns: "http://www.w3.org/2000/svg",
25465
+ viewBox: "0 0 1024 1024"
25466
+ };
25467
+ function _sfc_render$18(_ctx, _cache) {
25468
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$21, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM288 400v48H128V400h160zM288 576v48H128V576h160zM896 400v48H736V400h160zM896 576v48H736V576h160zM704 320v384H320V320h384zM656 368H368v288h288V368zM496 384v112H384V384h112zM640 384v112H528V384h112zM496 528v112H384V528h112zM640 528v112H528V528h112z" }, null, -1)])]);
24833
25469
  }
24834
- var InlineBlock_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$13, [["render", _sfc_render$13]]);
25470
+ var InlineGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$18, [["render", _sfc_render$18]]);
24835
25471
  // packages/editor/src/fields/StyleSetter/icons/display/None.vue
24836
- var _sfc_main$12 = {};
24837
- var _hoisted_1$15 = {
25472
+ var _sfc_main$17 = {};
25473
+ var _hoisted_1$20 = {
24838
25474
  xmlns: "http://www.w3.org/2000/svg",
24839
25475
  viewBox: "0 0 1024 1024"
24840
25476
  };
24841
- function _sfc_render$12(_ctx, _cache) {
24842
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$15, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M931.37 477.14c-43.94-69.49-93.39-125.03-147.99-166.35L663.31 441.46c8.79 21.36 13.63 44.91 13.63 69.62 0 96.27-73.84 174.32-164.95 174.32-21.63 0-42.28-4.39-61.32-12.47l-94.09 102.52a455.097 455.097 0 0 0 155.41 26.2c172.62 0 312.43-85.54 419.59-256.63 12.83-20.43 12.72-47.45-0.21-67.88zM795.52 127.99L682.24 252.82C627.73 231 570.1 220.04 512.11 220.5c-171.15 0-310.99 85.66-419.48 256.75-12.93 20.43-13.04 47.33-0.2 67.78 46.95 75.15 100.3 133.68 160.01 175.82L131.9 853.65l38.9 42.36 663.6-725.76-38.88-42.26zM519.68 438.37c-3.72-0.59-7.46-0.81-11.27-0.81-45.63 0-82.43 39.03-82.43 87.16 0 4.97 0.42 9.81 1.14 14.54l-57.15 60.14-5.92 8.33c-13.15-24.94-20.5-53.68-20.5-84.28 0-96.3 73.84-174.45 164.95-174.45 27.2 0 52.76 6.93 75.4 19.29l-64.22 70.08z m52.05 135.53c21.74-23.26 27.17-55.48 16.31-81.39l-96.42 103.16c26.59 9.08 58.38 1.48 80.11-21.77z" }, null, -1)])]);
25477
+ function _sfc_render$17(_ctx, _cache) {
25478
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$20, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M931.37 477.14c-43.94-69.49-93.39-125.03-147.99-166.35L663.31 441.46c8.79 21.36 13.63 44.91 13.63 69.62 0 96.27-73.84 174.32-164.95 174.32-21.63 0-42.28-4.39-61.32-12.47l-94.09 102.52a455.097 455.097 0 0 0 155.41 26.2c172.62 0 312.43-85.54 419.59-256.63 12.83-20.43 12.72-47.45-0.21-67.88zM795.52 127.99L682.24 252.82C627.73 231 570.1 220.04 512.11 220.5c-171.15 0-310.99 85.66-419.48 256.75-12.93 20.43-13.04 47.33-0.2 67.78 46.95 75.15 100.3 133.68 160.01 175.82L131.9 853.65l38.9 42.36 663.6-725.76-38.88-42.26zM519.68 438.37c-3.72-0.59-7.46-0.81-11.27-0.81-45.63 0-82.43 39.03-82.43 87.16 0 4.97 0.42 9.81 1.14 14.54l-57.15 60.14-5.92 8.33c-13.15-24.94-20.5-53.68-20.5-84.28 0-96.3 73.84-174.45 164.95-174.45 27.2 0 52.76 6.93 75.4 19.29l-64.22 70.08z m52.05 135.53c21.74-23.26 27.17-55.48 16.31-81.39l-96.42 103.16c26.59 9.08 58.38 1.48 80.11-21.77z" }, null, -1)])]);
24843
25479
  }
24844
- var None_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$12, [["render", _sfc_render$12]]);
25480
+ var None_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$17, [["render", _sfc_render$17]]);
24845
25481
  // packages/editor/src/fields/StyleSetter/icons/flex-direction/Column.vue
24846
- var _sfc_main$11 = {};
24847
- var _hoisted_1$14 = {
25482
+ var _sfc_main$16 = {};
25483
+ var _hoisted_1$19 = {
24848
25484
  xmlns: "http://www.w3.org/2000/svg",
24849
25485
  width: "16",
24850
25486
  height: "16",
24851
25487
  viewBox: "0 0 16 16",
24852
25488
  fill: "currentColor"
24853
25489
  };
24854
- function _sfc_render$11(_ctx, _cache) {
24855
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$14, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
25490
+ function _sfc_render$16(_ctx, _cache) {
25491
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$19, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
24856
25492
  "fill-rule": "evenodd",
24857
25493
  "clip-rule": "evenodd",
24858
25494
  d: "M11 12L8 15L5 12L11 12Z",
24859
25495
  "fill-opacity": "0.3"
24860
25496
  }, null, -1)])]);
24861
25497
  }
24862
- var Column_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$11, [["render", _sfc_render$11]]);
25498
+ var Column_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$16, [["render", _sfc_render$16]]);
24863
25499
  // packages/editor/src/fields/StyleSetter/icons/flex-direction/ColumnReverse.vue
24864
- var _sfc_main$10 = {};
24865
- var _hoisted_1$13 = {
25500
+ var _sfc_main$15 = {};
25501
+ var _hoisted_1$18 = {
24866
25502
  xmlns: "http://www.w3.org/2000/svg",
24867
25503
  width: "16",
24868
25504
  height: "16",
24869
25505
  viewBox: "0 0 16 16",
24870
25506
  fill: "currentColor"
24871
25507
  };
24872
- function _sfc_render$10(_ctx, _cache) {
24873
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$13, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
25508
+ function _sfc_render$15(_ctx, _cache) {
25509
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$18, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
24874
25510
  "fill-rule": "evenodd",
24875
25511
  "clip-rule": "evenodd",
24876
25512
  d: "M5 4L8 1L11 4L5 4Z",
24877
25513
  "fill-opacity": "0.3"
24878
25514
  }, null, -1)])]);
24879
25515
  }
24880
- var ColumnReverse_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$10, [["render", _sfc_render$10]]);
25516
+ var ColumnReverse_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$15, [["render", _sfc_render$15]]);
24881
25517
  // packages/editor/src/fields/StyleSetter/icons/flex-direction/Row.vue
24882
- var _sfc_main$9 = {};
24883
- var _hoisted_1$12 = {
25518
+ var _sfc_main$14 = {};
25519
+ var _hoisted_1$17 = {
24884
25520
  xmlns: "http://www.w3.org/2000/svg",
24885
25521
  width: "16",
24886
25522
  height: "16",
24887
25523
  viewBox: "0 0 16 16",
24888
25524
  fill: "currentColor"
24889
25525
  };
24890
- function _sfc_render$9(_ctx, _cache) {
24891
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$12, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M10 4C10.5523 4 11 4.44772 11 5V11C11 11.5523 10.5523 12 10 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H10ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H9.5C9.77614 11 10 10.7761 10 10.5V5.5C10 5.22386 9.77614 5 9.5 5H2.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
25526
+ function _sfc_render$14(_ctx, _cache) {
25527
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$17, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M10 4C10.5523 4 11 4.44772 11 5V11C11 11.5523 10.5523 12 10 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H10ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H9.5C9.77614 11 10 10.7761 10 10.5V5.5C10 5.22386 9.77614 5 9.5 5H2.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
24892
25528
  "fill-rule": "evenodd",
24893
25529
  "clip-rule": "evenodd",
24894
25530
  d: "M12 5L15 8L12 11L12 5Z",
24895
25531
  "fill-opacity": "0.3"
24896
25532
  }, null, -1)])]);
24897
25533
  }
24898
- var Row_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$9, [["render", _sfc_render$9]]);
25534
+ var Row_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$14, [["render", _sfc_render$14]]);
24899
25535
  // packages/editor/src/fields/StyleSetter/icons/flex-direction/RowReverse.vue
24900
- var _sfc_main$8 = {};
24901
- var _hoisted_1$11 = {
25536
+ var _sfc_main$13 = {};
25537
+ var _hoisted_1$16 = {
24902
25538
  xmlns: "http://www.w3.org/2000/svg",
24903
25539
  width: "16",
24904
25540
  height: "16",
24905
25541
  viewBox: "0 0 16 16",
24906
25542
  fill: "currentColor"
24907
25543
  };
24908
- function _sfc_render$8(_ctx, _cache) {
24909
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$11, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H6C5.44772 12 5 11.5523 5 11V5C5 4.44772 5.44772 4 6 4H14ZM6.5 5C6.22386 5 6 5.22386 6 5.5V10.5C6 10.7761 6.22386 11 6.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H6.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
25544
+ function _sfc_render$13(_ctx, _cache) {
25545
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$16, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H6C5.44772 12 5 11.5523 5 11V5C5 4.44772 5.44772 4 6 4H14ZM6.5 5C6.22386 5 6 5.22386 6 5.5V10.5C6 10.7761 6.22386 11 6.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H6.5Z" }, null, -1), (0, vue.createElementVNode)("path", {
24910
25546
  "fill-rule": "evenodd",
24911
25547
  "clip-rule": "evenodd",
24912
25548
  d: "M4 11L1 8L4 5L4 11Z",
24913
25549
  "fill-opacity": "0.3"
24914
25550
  }, null, -1)])]);
24915
25551
  }
24916
- var RowReverse_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$8, [["render", _sfc_render$8]]);
25552
+ var RowReverse_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$13, [["render", _sfc_render$13]]);
24917
25553
  // packages/editor/src/fields/StyleSetter/icons/justify-content/Center.vue
24918
- var _sfc_main$7 = {};
24919
- var _hoisted_1$10 = {
25554
+ var _sfc_main$12 = {};
25555
+ var _hoisted_1$15 = {
24920
25556
  xmlns: "http://www.w3.org/2000/svg",
24921
25557
  width: "16",
24922
25558
  height: "16",
24923
25559
  viewBox: "0 0 16 16",
24924
25560
  fill: "currentColor"
24925
25561
  };
24926
- function _sfc_render$7(_ctx, _cache) {
24927
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$10, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M13 4C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12H3C2.44772 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H13ZM3.59082 5C3.31472 5.00005 3.09082 5.22389 3.09082 5.5V10.5C3.09082 10.7761 3.31472 11 3.59082 11H12.4092C12.6853 11 12.9092 10.7761 12.9092 10.5V5.5C12.9092 5.22389 12.6853 5.00005 12.4092 5H3.59082Z" }, null, -1), (0, vue.createElementVNode)("rect", {
25562
+ function _sfc_render$12(_ctx, _cache) {
25563
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$15, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M13 4C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12H3C2.44772 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H13ZM3.59082 5C3.31472 5.00005 3.09082 5.22389 3.09082 5.5V10.5C3.09082 10.7761 3.31472 11 3.59082 11H12.4092C12.6853 11 12.9092 10.7761 12.9092 10.5V5.5C12.9092 5.22389 12.6853 5.00005 12.4092 5H3.59082Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24928
25564
  x: "7.5",
24929
25565
  y: "2",
24930
25566
  width: "1",
@@ -24937,18 +25573,18 @@
24937
25573
  }
24938
25574
  }, null, -1)])]);
24939
25575
  }
24940
- var Center_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$7, [["render", _sfc_render$7]]);
25576
+ var Center_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$12, [["render", _sfc_render$12]]);
24941
25577
  // packages/editor/src/fields/StyleSetter/icons/justify-content/FlexEnd.vue
24942
- var _sfc_main$6 = {};
24943
- var _hoisted_1$9 = {
25578
+ var _sfc_main$11 = {};
25579
+ var _hoisted_1$14 = {
24944
25580
  xmlns: "http://www.w3.org/2000/svg",
24945
25581
  width: "16",
24946
25582
  height: "16",
24947
25583
  viewBox: "0 0 16 16",
24948
25584
  fill: "currentColor"
24949
25585
  };
24950
- function _sfc_render$6(_ctx, _cache) {
24951
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$9, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M11 4C11.5523 4 12 4.44772 12 5V11C12 11.5523 11.5523 12 11 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H11ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H10.5C10.7761 11 11 10.7761 11 10.5V5.5C11 5.22386 10.7761 5 10.5 5H2.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
25586
+ function _sfc_render$11(_ctx, _cache) {
25587
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$14, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M11 4C11.5523 4 12 4.44772 12 5V11C12 11.5523 11.5523 12 11 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H11ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H10.5C10.7761 11 11 10.7761 11 10.5V5.5C11 5.22386 10.7761 5 10.5 5H2.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24952
25588
  x: "14.25",
24953
25589
  y: "2.25",
24954
25590
  width: "0.5",
@@ -24963,18 +25599,18 @@
24963
25599
  "stroke-width": "0.5"
24964
25600
  }, null, -1)])]);
24965
25601
  }
24966
- var FlexEnd_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$6, [["render", _sfc_render$6]]);
25602
+ var FlexEnd_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$11, [["render", _sfc_render$11]]);
24967
25603
  // packages/editor/src/fields/StyleSetter/icons/justify-content/FlexStart.vue
24968
- var _sfc_main$5 = {};
24969
- var _hoisted_1$8 = {
25604
+ var _sfc_main$10 = {};
25605
+ var _hoisted_1$13 = {
24970
25606
  xmlns: "http://www.w3.org/2000/svg",
24971
25607
  width: "16",
24972
25608
  height: "16",
24973
25609
  viewBox: "0 0 16 16",
24974
25610
  fill: "currentColor"
24975
25611
  };
24976
- function _sfc_render$5(_ctx, _cache) {
24977
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$8, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H5C4.44772 12 4 11.5523 4 11V5C4 4.44772 4.44772 4 5 4H14ZM5.5 5C5.22386 5 5 5.22386 5 5.5V10.5C5 10.7761 5.22386 11 5.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H5.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
25612
+ function _sfc_render$10(_ctx, _cache) {
25613
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$13, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H5C4.44772 12 4 11.5523 4 11V5C4 4.44772 4.44772 4 5 4H14ZM5.5 5C5.22386 5 5 5.22386 5 5.5V10.5C5 10.7761 5.22386 11 5.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H5.5Z" }, null, -1), (0, vue.createElementVNode)("rect", {
24978
25614
  x: "1.25",
24979
25615
  y: "2.25",
24980
25616
  width: "0.5",
@@ -24989,18 +25625,18 @@
24989
25625
  "stroke-width": "0.5"
24990
25626
  }, null, -1)])]);
24991
25627
  }
24992
- var FlexStart_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$5, [["render", _sfc_render$5]]);
25628
+ var FlexStart_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$10, [["render", _sfc_render$10]]);
24993
25629
  // packages/editor/src/fields/StyleSetter/icons/justify-content/SpaceAround.vue
24994
- var _sfc_main$4 = {};
24995
- var _hoisted_1$7 = {
25630
+ var _sfc_main$9 = {};
25631
+ var _hoisted_1$12 = {
24996
25632
  xmlns: "http://www.w3.org/2000/svg",
24997
25633
  width: "16",
24998
25634
  height: "16",
24999
25635
  viewBox: "0 0 16 16",
25000
25636
  fill: "currentColor"
25001
25637
  };
25002
- function _sfc_render$4(_ctx, _cache) {
25003
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
25638
+ function _sfc_render$9(_ctx, _cache) {
25639
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$12, [..._cache[0] || (_cache[0] = [
25004
25640
  (0, vue.createElementVNode)("path", { d: "M6 4C6.55228 4 7 4.44772 7 5V11C7 11.5523 6.55228 12 6 12H3C2.44772 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H6ZM3.5 5C3.22386 5 3 5.22386 3 5.5V10.5C3 10.7761 3.22386 11 3.5 11H5.5C5.77614 11 6 10.7761 6 10.5V5.5C6 5.22386 5.77614 5 5.5 5H3.5Z" }, null, -1),
25005
25641
  (0, vue.createElementVNode)("path", { d: "M13 4C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12H10C9.44772 12 9 11.5523 9 11V5C9 4.44772 9.44772 4 10 4H13ZM10.5 5C10.2239 5 10 5.22386 10 5.5V10.5C10 10.7761 10.2239 11 10.5 11H12.5C12.7761 11 13 10.7761 13 10.5V5.5C13 5.22386 12.7761 5 12.5 5H10.5Z" }, null, -1),
25006
25642
  (0, vue.createElementVNode)("rect", {
@@ -25033,18 +25669,18 @@
25033
25669
  }, null, -1)
25034
25670
  ])]);
25035
25671
  }
25036
- var SpaceAround_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$4, [["render", _sfc_render$4]]);
25672
+ var SpaceAround_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$9, [["render", _sfc_render$9]]);
25037
25673
  // packages/editor/src/fields/StyleSetter/icons/justify-content/SpaceBetween.vue
25038
- var _sfc_main$3 = {};
25039
- var _hoisted_1$6 = {
25674
+ var _sfc_main$8 = {};
25675
+ var _hoisted_1$11 = {
25040
25676
  xmlns: "http://www.w3.org/2000/svg",
25041
25677
  width: "16",
25042
25678
  height: "16",
25043
25679
  viewBox: "0 0 16 16",
25044
25680
  fill: "currentColor"
25045
25681
  };
25046
- function _sfc_render$3(_ctx, _cache) {
25047
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$6, [..._cache[0] || (_cache[0] = [
25682
+ function _sfc_render$8(_ctx, _cache) {
25683
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$11, [..._cache[0] || (_cache[0] = [
25048
25684
  (0, vue.createElementVNode)("path", { d: "M6 4C6.55228 4 7 4.44772 7 5V11C7 11.5523 6.55228 12 6 12H4C3.44772 12 3 11.5523 3 11V5C3 4.44772 3.44772 4 4 4H6ZM4.5 5C4.22386 5 4 5.22386 4 5.5V10.5C4 10.7761 4.22386 11 4.5 11H5.5C5.77614 11 6 10.7761 6 10.5V5.5C6 5.22386 5.77614 5 5.5 5H4.5Z" }, null, -1),
25049
25685
  (0, vue.createElementVNode)("path", { d: "M12 4C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H10C9.44772 12 9 11.5523 9 11V5C9 4.44772 9.44772 4 10 4H12ZM10.5 5C10.2239 5 10 5.22386 10 5.5V10.5C10 10.7761 10.2239 11 10.5 11H11.5C11.7761 11 12 10.7761 12 10.5V5.5C12 5.22386 11.7761 5 11.5 5H10.5Z" }, null, -1),
25050
25686
  (0, vue.createElementVNode)("rect", {
@@ -25073,37 +25709,90 @@
25073
25709
  }, null, -1)
25074
25710
  ])]);
25075
25711
  }
25076
- var SpaceBetween_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$3, [["render", _sfc_render$3]]);
25712
+ var SpaceBetween_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$8, [["render", _sfc_render$8]]);
25713
+ // packages/editor/src/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue
25714
+ var _sfc_main$7 = {};
25715
+ var _hoisted_1$10 = {
25716
+ xmlns: "http://www.w3.org/2000/svg",
25717
+ width: "16",
25718
+ height: "16",
25719
+ viewBox: "0 0 16 16",
25720
+ fill: "currentColor"
25721
+ };
25722
+ function _sfc_render$7(_ctx, _cache) {
25723
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$10, [..._cache[0] || (_cache[0] = [(0, vue.createStaticVNode)("<rect x=\"3\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"7.5\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"12\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"1.25\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"6\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"10.5\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"15\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect>", 7)])]);
25724
+ }
25725
+ var SpaceEvenly_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$7, [["render", _sfc_render$7]]);
25077
25726
  // packages/editor/src/fields/StyleSetter/icons/text-align/Left.vue
25727
+ var _sfc_main$6 = {};
25728
+ var _hoisted_1$9 = {
25729
+ xmlns: "http://www.w3.org/2000/svg",
25730
+ viewBox: "0 0 1024 1024"
25731
+ };
25732
+ function _sfc_render$6(_ctx, _cache) {
25733
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$9, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 810.666667h768v85.333333H128z m0-170.666667h512v85.333333H128z m0-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m0 170.666667h512v85.333333H128z" }, null, -1)])]);
25734
+ }
25735
+ var Left_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$6, [["render", _sfc_render$6]]);
25736
+ // packages/editor/src/fields/StyleSetter/icons/text-align/Center.vue
25737
+ var _sfc_main$5 = {};
25738
+ var _hoisted_1$8 = {
25739
+ xmlns: "http://www.w3.org/2000/svg",
25740
+ viewBox: "0 0 1024 1024"
25741
+ };
25742
+ function _sfc_render$5(_ctx, _cache) {
25743
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$8, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 810.666667h768v85.333333H128z m128-170.666667h512v85.333333H256z m-128-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m128 170.666667h512v85.333333H256z" }, null, -1)])]);
25744
+ }
25745
+ var Center_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$5, [["render", _sfc_render$5]]);
25746
+ // packages/editor/src/fields/StyleSetter/icons/text-align/Right.vue
25747
+ var _sfc_main$4 = {};
25748
+ var _hoisted_1$7 = {
25749
+ xmlns: "http://www.w3.org/2000/svg",
25750
+ viewBox: "0 0 1024 1024"
25751
+ };
25752
+ function _sfc_render$4(_ctx, _cache) {
25753
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 128h768v85.333333H128z m0 682.666667h768v85.333333H128z m213.333333-170.666667h554.666667v85.333333H341.333333z m-213.333333-170.666667h768v85.333334H128z m213.333333-170.666666h554.666667v85.333333H341.333333z" }, null, -1)])]);
25754
+ }
25755
+ var Right_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$4, [["render", _sfc_render$4]]);
25756
+ // packages/editor/src/fields/StyleSetter/icons/text-align/End.vue
25757
+ var _sfc_main$3 = {};
25758
+ var _hoisted_1$6 = {
25759
+ xmlns: "http://www.w3.org/2000/svg",
25760
+ viewBox: "0 0 1024 1024"
25761
+ };
25762
+ function _sfc_render$3(_ctx, _cache) {
25763
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$6, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM256 384h640v64H256zM128 512h768v64H128zM384 640h512v64H384zM192 768h704v64H192z" }, null, -1)])]);
25764
+ }
25765
+ var End_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$3, [["render", _sfc_render$3]]);
25766
+ // packages/editor/src/fields/StyleSetter/icons/text-align/Justify.vue
25078
25767
  var _sfc_main$2 = {};
25079
25768
  var _hoisted_1$5 = {
25080
25769
  xmlns: "http://www.w3.org/2000/svg",
25081
25770
  viewBox: "0 0 1024 1024"
25082
25771
  };
25083
25772
  function _sfc_render$2(_ctx, _cache) {
25084
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$5, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 810.666667h768v85.333333H128z m0-170.666667h512v85.333333H128z m0-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m0 170.666667h512v85.333333H128z" }, null, -1)])]);
25773
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$5, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 128h768v85.333333H128z m0 170.666667h768v85.333333H128z m0 170.666666h768v85.333334H128z m0 170.666667h768v85.333333H128z m0 170.666667h768v85.333333H128z" }, null, -1)])]);
25085
25774
  }
25086
- var Left_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$2, [["render", _sfc_render$2]]);
25087
- // packages/editor/src/fields/StyleSetter/icons/text-align/Center.vue
25775
+ var Justify_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$2, [["render", _sfc_render$2]]);
25776
+ // packages/editor/src/fields/StyleSetter/icons/text-align/MatchParent.vue
25088
25777
  var _sfc_main$1 = {};
25089
25778
  var _hoisted_1$4 = {
25090
25779
  xmlns: "http://www.w3.org/2000/svg",
25091
25780
  viewBox: "0 0 1024 1024"
25092
25781
  };
25093
25782
  function _sfc_render$1(_ctx, _cache) {
25094
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 810.666667h768v85.333333H128z m128-170.666667h512v85.333333H256z m-128-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m128 170.666667h512v85.333333H256z" }, null, -1)])]);
25783
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M64 64h896v48H64z m0 848h896v48H64z m0-800h48v800H64z m848 0h48v800h-48zM192 208h416v64H192z m416-48L768 240 608 320zM464 368h96v96h-96z m-64 96h224l-112 128zM192 608h640v56H192z m0 112h512v56H192z m0 112h576v56H192z" }, null, -1)])]);
25095
25784
  }
25096
- var Center_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1]]);
25097
- // packages/editor/src/fields/StyleSetter/icons/text-align/Right.vue
25785
+ var MatchParent_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1]]);
25786
+ // packages/editor/src/fields/StyleSetter/icons/text-align/Start.vue
25098
25787
  var _sfc_main = {};
25099
25788
  var _hoisted_1$3 = {
25100
25789
  xmlns: "http://www.w3.org/2000/svg",
25101
25790
  viewBox: "0 0 1024 1024"
25102
25791
  };
25103
25792
  function _sfc_render(_ctx, _cache) {
25104
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 128h768v85.333333H128z m0 682.666667h768v85.333333H128z m213.333333-170.666667h554.666667v85.333333H341.333333z m-213.333333-170.666667h768v85.333334H128z m213.333333-170.666666h554.666667v85.333333H341.333333z" }, null, -1)])]);
25793
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [(0, vue.createElementVNode)("path", { d: "M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM128 384h640v64H128zM128 512h768v64H128zM128 640h512v64H128zM128 768h704v64H128z" }, null, -1)])]);
25105
25794
  }
25106
- var Right_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
25795
+ var Start_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
25107
25796
  // packages/editor/src/fields/StyleSetter/configs.ts
25108
25797
  /**
25109
25798
  * 「布局」面板配置。
@@ -25144,6 +25833,21 @@
25144
25833
  value: "none",
25145
25834
  icon: (0, vue.markRaw)(None_default),
25146
25835
  tooltip: "隐藏 none"
25836
+ },
25837
+ {
25838
+ value: "inline-flex",
25839
+ icon: (0, vue.markRaw)(InlineFlex_default),
25840
+ tooltip: "内联弹性布局 inline-flex"
25841
+ },
25842
+ {
25843
+ value: "grid",
25844
+ icon: (0, vue.markRaw)(Grid_default),
25845
+ tooltip: "网格布局 grid"
25846
+ },
25847
+ {
25848
+ value: "inline-grid",
25849
+ icon: (0, vue.markRaw)(InlineGrid_default),
25850
+ tooltip: "内联网格布局 inline-grid"
25147
25851
  }
25148
25852
  ]
25149
25853
  }),
@@ -25210,6 +25914,11 @@
25210
25914
  value: "space-around",
25211
25915
  icon: (0, vue.markRaw)(SpaceAround_default),
25212
25916
  tooltip: "横向平分 space-around"
25917
+ },
25918
+ {
25919
+ value: "space-evenly",
25920
+ icon: (0, vue.markRaw)(SpaceEvenly_default),
25921
+ tooltip: "等间距分布 space-evenly"
25213
25922
  }
25214
25923
  ],
25215
25924
  display: (_mForm, { model }) => model.display === "flex"
@@ -25246,6 +25955,31 @@
25246
25955
  value: "space-around",
25247
25956
  icon: (0, vue.markRaw)(SpaceAround_default$1),
25248
25957
  tooltip: "横向平分 space-around"
25958
+ },
25959
+ {
25960
+ value: "stretch",
25961
+ icon: (0, vue.markRaw)(Stretch_default),
25962
+ tooltip: "拉伸填满 stretch"
25963
+ },
25964
+ {
25965
+ value: "baseline",
25966
+ icon: (0, vue.markRaw)(Baseline_default),
25967
+ tooltip: "基线对齐 baseline"
25968
+ },
25969
+ {
25970
+ value: "normal",
25971
+ icon: (0, vue.markRaw)(Normal_default),
25972
+ tooltip: "默认 normal"
25973
+ },
25974
+ {
25975
+ value: "start",
25976
+ icon: (0, vue.markRaw)(Start_default$1),
25977
+ tooltip: "起始对齐 start"
25978
+ },
25979
+ {
25980
+ value: "end",
25981
+ icon: (0, vue.markRaw)(End_default$1),
25982
+ tooltip: "结束对齐 end"
25249
25983
  }
25250
25984
  ],
25251
25985
  display: (_mForm, { model }) => model.display === "flex"
@@ -25346,9 +26080,9 @@
25346
26080
  type: "row",
25347
26081
  items: [{
25348
26082
  type: "data-source-field-select",
25349
- text: "透明度(%)",
26083
+ text: "透明度(0-1)",
25350
26084
  name: "opacity",
25351
- labelWidth: "90px",
26085
+ labelWidth: "100px",
25352
26086
  dataSourceFieldType: ["string", "number"],
25353
26087
  fieldConfig: { type: "text" }
25354
26088
  }]
@@ -25536,6 +26270,16 @@
25536
26270
  value: "repeat",
25537
26271
  icon: (0, vue.markRaw)(Repeat_default),
25538
26272
  tooltip: "垂直和水平方向重复 repeat"
26273
+ },
26274
+ {
26275
+ value: "space",
26276
+ icon: (0, vue.markRaw)(Space_default),
26277
+ tooltip: "不裁剪、均匀留白 space"
26278
+ },
26279
+ {
26280
+ value: "round",
26281
+ icon: (0, vue.markRaw)(Round_default),
26282
+ tooltip: "缩放铺满 round"
25539
26283
  }
25540
26284
  ]
25541
26285
  }),
@@ -25584,7 +26328,12 @@
25584
26328
  fieldConfig: {
25585
26329
  type: "select",
25586
26330
  allowCreate: true,
25587
- options: ["normal", "bold"].concat(Array(7).fill(1).map((x, i) => `${i + 1}00`)).map((item) => ({
26331
+ options: [
26332
+ "normal",
26333
+ "bold",
26334
+ "bolder",
26335
+ "lighter"
26336
+ ].concat(Array(9).fill(1).map((x, i) => `${i + 1}00`)).map((item) => ({
25588
26337
  value: item,
25589
26338
  text: item
25590
26339
  }))
@@ -25631,20 +26380,37 @@
25631
26380
  {
25632
26381
  value: "left",
25633
26382
  icon: (0, vue.markRaw)(Left_default),
25634
- tooltip: "左对齐 row",
25635
- text: "左对齐"
26383
+ tooltip: "左对齐 left"
25636
26384
  },
25637
26385
  {
25638
26386
  value: "center",
25639
26387
  icon: (0, vue.markRaw)(Center_default),
25640
- tooltip: "居中对齐 center",
25641
- text: "居中对齐"
26388
+ tooltip: "居中对齐 center"
25642
26389
  },
25643
26390
  {
25644
26391
  value: "right",
25645
26392
  icon: (0, vue.markRaw)(Right_default),
25646
- tooltip: "右对齐 right",
25647
- text: "右对齐"
26393
+ tooltip: "右对齐 right"
26394
+ },
26395
+ {
26396
+ value: "start",
26397
+ icon: (0, vue.markRaw)(Start_default),
26398
+ tooltip: "起始对齐 start"
26399
+ },
26400
+ {
26401
+ value: "end",
26402
+ icon: (0, vue.markRaw)(End_default),
26403
+ tooltip: "结束对齐 end"
26404
+ },
26405
+ {
26406
+ value: "justify",
26407
+ icon: (0, vue.markRaw)(Justify_default),
26408
+ tooltip: "两端对齐 justify"
26409
+ },
26410
+ {
26411
+ value: "match-parent",
26412
+ icon: (0, vue.markRaw)(MatchParent_default),
26413
+ tooltip: "按父级方向对齐 match-parent"
25648
26414
  }
25649
26415
  ]
25650
26416
  })
@@ -25725,9 +26491,16 @@
25725
26491
  fieldConfig: {
25726
26492
  type: "select",
25727
26493
  options: [
25728
- "solid",
26494
+ "none",
26495
+ "hidden",
26496
+ "dotted",
25729
26497
  "dashed",
25730
- "dotted"
26498
+ "solid",
26499
+ "double",
26500
+ "groove",
26501
+ "ridge",
26502
+ "inset",
26503
+ "outset"
25731
26504
  ].map((item) => ({
25732
26505
  value: item,
25733
26506
  text: item
@@ -26799,7 +27572,6 @@
26799
27572
  init_CodeEditor();
26800
27573
  init_Icon();
26801
27574
  init_CompareForm();
26802
- init_type();
26803
27575
  init_code_block();
26804
27576
  init_use_compare_form();
26805
27577
  init_editor();
@@ -26906,7 +27678,12 @@
26906
27678
  exports.createStackStep = createStackStep;
26907
27679
  exports.dataSourceService = dataSourceService;
26908
27680
  exports.debug = debug;
26909
- exports.default = plugin_default;
27681
+ Object.defineProperty(exports, "default", {
27682
+ enumerable: true,
27683
+ get: function() {
27684
+ return plugin_default;
27685
+ }
27686
+ });
26910
27687
  exports.defaultIsExpandable = defaultIsExpandable;
26911
27688
  exports.depService = depService;
26912
27689
  exports.describeRevertStep = describeRevertStep;
@@ -26926,6 +27703,7 @@
26926
27703
  exports.editorNodeMergeCustomizer = editorNodeMergeCustomizer;
26927
27704
  exports.editorService = editorService;
26928
27705
  exports.editorTypeMatchRules = editorTypeMatchRules;
27706
+ exports.ensureSelectedArrayIndices = ensureSelectedArrayIndices;
26929
27707
  exports.eqOptions = eqOptions;
26930
27708
  exports.error = error;
26931
27709
  exports.eventTabConfig = eventTabConfig;
@@ -26947,6 +27725,7 @@
26947
27725
  exports.getCompActionAllowedValues = getCompActionAllowedValues;
26948
27726
  exports.getCompActionOptions = getCompActionOptions;
26949
27727
  exports.getCondOpOptionsByFieldType = getCondOpOptionsByFieldType;
27728
+ exports.getDataSourceEditorData = getDataSourceEditorData;
26950
27729
  exports.getDefaultConfig = getDefaultConfig;
26951
27730
  exports.getDisplayField = getDisplayField;
26952
27731
  exports.getEditorConfig = getEditorConfig;