@epxing/designer 5.3.0-beta.1 → 5.3.0-beta.3

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 (249) hide show
  1. package/API.md +5 -4
  2. package/README.md +46 -45
  3. package/dist/src/index.js +1 -0
  4. package/dist/src/page-designer/PageConfigPreview.js +1 -0
  5. package/dist/src/page-designer/PageDesigner.js +12 -0
  6. package/dist/src/page-designer/designer.js +22 -0
  7. package/dist/src/page-designer/index.js +1 -0
  8. package/dist/src/page-designer/mixins/dragSourceMixin.js +1 -0
  9. package/dist/src/page-designer/page-variable-panel/JsonEditor.js +1 -0
  10. package/dist/src/page-designer/page-variable-panel/PageVariablePanel.js +1 -0
  11. package/dist/src/page-designer/page-variable-panel/index.js +1 -0
  12. package/dist/src/page-designer/page-variable-panel/jsonlint.js +1 -0
  13. package/dist/src/page-designer/previews/add-form/Preview.js +2 -1
  14. package/dist/src/page-designer/previews/add-form/Preview.vue.js +19 -8
  15. package/dist/src/page-designer/previews/add-form-item/Preview.js +1 -0
  16. package/dist/src/page-designer/previews/button/Preview.js +1 -0
  17. package/dist/src/page-designer/previews/card/Preview.js +1 -0
  18. package/dist/src/page-designer/previews/carousel/CarouselItemPreview.js +1 -0
  19. package/dist/src/page-designer/previews/carousel/Preview.js +1 -0
  20. package/dist/src/page-designer/previews/collapse/CollapseItemPreview.js +1 -0
  21. package/dist/src/page-designer/previews/collapse/Preview.js +1 -0
  22. package/dist/src/page-designer/previews/dropdown/Preview.js +1 -0
  23. package/dist/src/page-designer/previews/entity-list/Preview.js +1 -0
  24. package/dist/src/page-designer/previews/entity-sub-list/Preview.js +1 -0
  25. package/dist/src/page-designer/previews/entity-virtual-list/Preview.js +1 -0
  26. package/dist/src/page-designer/previews/form-field/preview/Checkbox.js +1 -0
  27. package/dist/src/page-designer/previews/form-field/preview/Date.js +1 -0
  28. package/dist/src/page-designer/previews/form-field/preview/Input.js +1 -0
  29. package/dist/src/page-designer/previews/form-field/preview/InputNumber.js +1 -0
  30. package/dist/src/page-designer/previews/form-field/preview/Object.js +1 -0
  31. package/dist/src/page-designer/previews/form-field/preview/Radio.js +1 -0
  32. package/dist/src/page-designer/previews/form-field/preview/Select.js +1 -0
  33. package/dist/src/page-designer/previews/form-field/preview/Textarea.js +1 -0
  34. package/dist/src/page-designer/previews/grid/Preview.js +1 -0
  35. package/dist/src/page-designer/previews/html/Preview.js +1 -0
  36. package/dist/src/page-designer/previews/icon/Preview.js +1 -0
  37. package/dist/src/page-designer/previews/image/Preview.js +1 -0
  38. package/dist/src/page-designer/previews/index.js +1 -0
  39. package/dist/src/page-designer/previews/layout/ColumnPreview.js +1 -0
  40. package/dist/src/page-designer/previews/layout/Preview.js +1 -0
  41. package/dist/src/page-designer/previews/num/Preview.js +1 -0
  42. package/dist/src/page-designer/previews/page-tabs/Preview.js +1 -0
  43. package/dist/src/page-designer/previews/step/Preview.js +1 -0
  44. package/dist/src/page-designer/previews/tabs/Preview.js +1 -0
  45. package/dist/src/page-designer/previews/tabs/tab-pane/Preview.js +1 -0
  46. package/dist/src/page-designer/previews/text/Preview.js +1 -0
  47. package/dist/src/page-designer/previews/text-editor/Preview.js +1 -0
  48. package/dist/src/page-designer/previews/video/Preview.js +1 -0
  49. package/dist/src/page-designer/setting-panel/Advance.js +1 -0
  50. package/dist/src/page-designer/setting-panel/CodeEditor.js +1 -0
  51. package/dist/src/page-designer/setting-panel/Property.js +1 -0
  52. package/dist/src/page-designer/setting-panel/Setting.js +47 -10
  53. package/dist/src/page-designer/setting-panel/Style.js +1 -0
  54. package/dist/src/page-designer/setting-panel/css-editor/CssEditor.js +1 -0
  55. package/dist/src/page-designer/setting-panel/css-editor/css-hint.js +1 -0
  56. package/dist/src/page-designer/setting-panel/index.js +1 -0
  57. package/dist/src/page-designer/template-attribute-panel/TemplateAttributePanel.js +1 -0
  58. package/dist/src/page-designer/template-attribute-panel/index.js +1 -0
  59. package/dist/src/page-designer/template-library/Library.js +1 -0
  60. package/dist/src/page-designer/template-library/index.js +1 -0
  61. package/dist/src/page-designer/widget-library/Base.js +1 -0
  62. package/dist/src/page-designer/widget-library/Library.js +1 -0
  63. package/dist/src/page-designer/widget-library/index.js +1 -0
  64. package/dist/src/page-designer/widget-preview/Container.js +1 -0
  65. package/dist/src/page-designer/widget-preview/DragGhost.js +1 -0
  66. package/dist/src/page-designer/widget-preview/DropZoneOverlay.js +1 -0
  67. package/dist/src/page-designer/widget-preview/HoverOverlay.js +1 -0
  68. package/dist/src/page-designer/widget-preview/Mixin.js +1 -0
  69. package/dist/src/page-designer/widget-preview/Placeholder.js +1 -0
  70. package/dist/src/page-designer/widget-preview/Preview.js +1 -0
  71. package/dist/src/page-designer/widget-preview/PreviewItem.js +1 -0
  72. package/dist/src/page-designer/widget-preview/SelectedOverlay.js +1 -0
  73. package/dist/src/page-designer/widget-preview/Template.js +1 -0
  74. package/dist/src/page-designer/widget-preview/WidgetWrapper.js +1 -0
  75. package/dist/src/page-designer/widget-preview/directive.js +1 -0
  76. package/dist/src/page-designer/widget-preview/dropPosition.js +1 -0
  77. package/dist/src/page-designer/widget-preview/index.js +1 -0
  78. package/dist/src/page-designer/widget-preview/overlayPositionMixin.js +1 -0
  79. package/dist/src/page-designer/widget-preview/resolvePreviewName.js +1 -0
  80. package/dist/src/page-designer/widget-tree/Item.js +1 -0
  81. package/dist/src/page-designer/widget-tree/Tree.js +1 -0
  82. package/dist/src/page-designer/widget-tree/index.js +1 -0
  83. package/dist/src/visual/AddForm.js +1 -0
  84. package/dist/src/visual/AddFormItem.js +1 -0
  85. package/dist/src/visual/AppIndex.js +1 -0
  86. package/dist/src/visual/ApplyForm.js +1 -0
  87. package/dist/src/visual/AttributeList.js +1 -0
  88. package/dist/src/visual/BasePage.js +1 -0
  89. package/dist/src/visual/Button.js +1 -0
  90. package/dist/src/visual/CardNum.js +1 -0
  91. package/dist/src/visual/CategoryList.js +1 -0
  92. package/dist/src/visual/Chart.js +1 -0
  93. package/dist/src/visual/ChartNew.js +1 -0
  94. package/dist/src/visual/CheckForm.js +1 -0
  95. package/dist/src/visual/ClientList.js +1 -0
  96. package/dist/src/visual/CodeManage.js +1 -0
  97. package/dist/src/visual/Component.js +1 -0
  98. package/dist/src/visual/ComponentList.js +1 -0
  99. package/dist/src/visual/Config.js +1 -0
  100. package/dist/src/visual/ConfigItem.js +1 -0
  101. package/dist/src/visual/ConfigSelectItems.js +1 -0
  102. package/dist/src/visual/CreatePage.js +1 -0
  103. package/dist/src/visual/DashboardDiv.js +1 -0
  104. package/dist/src/visual/DashboardTabs.js +1 -0
  105. package/dist/src/visual/DashboardWidget.js +1 -0
  106. package/dist/src/visual/DblogList.js +1 -0
  107. package/dist/src/visual/EntityAddPage.js +1 -0
  108. package/dist/src/visual/EntityApplyPage.js +1 -0
  109. package/dist/src/visual/EntityCardList.js +1 -0
  110. package/dist/src/visual/EntityCheckPage.js +1 -0
  111. package/dist/src/visual/EntityFindPage.js +1 -0
  112. package/dist/src/visual/EntityList.js +1 -0
  113. package/dist/src/visual/EntityListPage.js +1 -0
  114. package/dist/src/visual/EntityNoSubmitSubList.js +1 -0
  115. package/dist/src/visual/EntityRightSubList.js +1 -0
  116. package/dist/src/visual/EntitySubAdd.js +1 -0
  117. package/dist/src/visual/EntitySubGridItem.js +1 -0
  118. package/dist/src/visual/EntitySubList.js +1 -0
  119. package/dist/src/visual/EntityTreeFindPage.js +1 -0
  120. package/dist/src/visual/EntityTreeManage.js +1 -0
  121. package/dist/src/visual/EntityTreePage.js +1 -0
  122. package/dist/src/visual/ExcelPreview.js +1 -0
  123. package/dist/src/visual/FormField.js +1 -0
  124. package/dist/src/visual/HeaderNew.js +1 -0
  125. package/dist/src/visual/Html.js +1 -0
  126. package/dist/src/visual/Import.js +1 -0
  127. package/dist/src/visual/InterfaceSubList.js +1 -0
  128. package/dist/src/visual/ListFirst.js +1 -0
  129. package/dist/src/visual/MEntityAddPage.js +1 -0
  130. package/dist/src/visual/MEntityList.js +1 -0
  131. package/dist/src/visual/MEntityListPage.js +1 -0
  132. package/dist/src/visual/MEntitySubList.js +1 -0
  133. package/dist/src/visual/MetaList.js +1 -0
  134. package/dist/src/visual/ModuleIndexPage.js +1 -0
  135. package/dist/src/visual/ModuleList.js +1 -0
  136. package/dist/src/visual/NavAddForm.js +1 -0
  137. package/dist/src/visual/NavFormCatalogItem.js +1 -0
  138. package/dist/src/visual/NumItem.js +1 -0
  139. package/dist/src/visual/NumStatistic.js +1 -0
  140. package/dist/src/visual/OrgChart.js +1 -0
  141. package/dist/src/visual/PageCatalog.js +1 -0
  142. package/dist/src/visual/PageConfig.js +1 -0
  143. package/dist/src/visual/PageTabs.js +1 -0
  144. package/dist/src/visual/Progress.js +1 -0
  145. package/dist/src/visual/ProgressItem.js +1 -0
  146. package/dist/src/visual/SystemManager.js +1 -0
  147. package/dist/src/visual/Title.js +1 -0
  148. package/dist/src/visual/TodoList.js +1 -0
  149. package/dist/src/visual/UserFormItem.js +1 -0
  150. package/dist/src/visual/UserManage.js +1 -0
  151. package/dist/src/visual/chart/CircularPie.js +1 -0
  152. package/dist/src/visual/chart/Column.js +1 -0
  153. package/dist/src/visual/chart/HoriColumn.js +1 -0
  154. package/dist/src/visual/chart/Line.js +1 -0
  155. package/dist/src/visual/chart/Pie.js +1 -0
  156. package/dist/src/visual/config/Background.js +1 -0
  157. package/dist/src/visual/config/Chart.js +1 -0
  158. package/dist/src/visual/config/Checkbox.js +1 -0
  159. package/dist/src/visual/config/Color.js +1 -0
  160. package/dist/src/visual/config/DesignReport.js +1 -0
  161. package/dist/src/visual/config/Event.js +1 -0
  162. package/dist/src/visual/config/Field.js +1 -0
  163. package/dist/src/visual/config/Font.js +1 -0
  164. package/dist/src/visual/config/FormItem.js +1 -0
  165. package/dist/src/visual/config/Function.js +1 -0
  166. package/dist/src/visual/config/Html.js +1 -0
  167. package/dist/src/visual/config/Image.js +1 -0
  168. package/dist/src/visual/config/Input.js +1 -0
  169. package/dist/src/visual/config/LazyDialog.js +1 -0
  170. package/dist/src/visual/config/List.js +1 -0
  171. package/dist/src/visual/config/ListField.js +1 -0
  172. package/dist/src/visual/config/MField.js +1 -0
  173. package/dist/src/visual/config/Number.js +1 -0
  174. package/dist/src/visual/config/Object.js +1 -0
  175. package/dist/src/visual/config/Operate.js +1 -0
  176. package/dist/src/visual/config/OperateItem.js +1 -0
  177. package/dist/src/visual/config/Options.js +1 -0
  178. package/dist/src/visual/config/OrderField.js +1 -0
  179. package/dist/src/visual/config/Page.js +1 -0
  180. package/dist/src/visual/config/Params.js +1 -0
  181. package/dist/src/visual/config/Radio.js +1 -0
  182. package/dist/src/visual/config/Row.js +1 -0
  183. package/dist/src/visual/config/Scope.js +1 -0
  184. package/dist/src/visual/config/Select.js +1 -0
  185. package/dist/src/visual/config/Switch.js +1 -0
  186. package/dist/src/visual/config/Textarea.js +1 -0
  187. package/dist/src/visual/config/Tree.js +1 -0
  188. package/dist/src/visual/config/remote-cache.js +1 -0
  189. package/dist/src/visual/config/show-condition.js +1 -0
  190. package/dist/src/visual/config/variable-sources.js +1 -0
  191. package/dist/src/visual/config/wait-ref.js +1 -0
  192. package/dist/src/visual/config-page/ComponentLibrary.js +1 -0
  193. package/dist/src/visual/config-page/ComponentLibraryDialog.js +9 -2
  194. package/dist/src/visual/config-page/ComponentList.js +1 -0
  195. package/dist/src/visual/config-page/ComponentPreview.js +1 -0
  196. package/dist/src/visual/config-page/ConfigOption.js +1 -0
  197. package/dist/src/visual/config-page/ConfigPanel.js +1 -0
  198. package/dist/src/visual/config-page/Dashboard.js +1 -0
  199. package/dist/src/visual/config-page/DashboardDesign.js +1 -0
  200. package/dist/src/visual/config-page/DashboardGlobalConfig.js +1 -0
  201. package/dist/src/visual/config-page/DashboardMobile.js +2 -1
  202. package/dist/src/visual/config-page/DashboardSetting.js +1 -0
  203. package/dist/src/visual/config-page/PagePreview.js +1 -0
  204. package/dist/src/visual/config-page/StyleConfig.js +1 -0
  205. package/dist/src/visual/config-page/VisualConfigPage.js +1 -0
  206. package/dist/src/visual/config-page/dashboard-theme-setting/Background.js +1 -0
  207. package/dist/src/visual/config-page/dashboard-theme-setting/Border.js +1 -0
  208. package/dist/src/visual/config-page/dashboard-theme-setting/Font.js +1 -0
  209. package/dist/src/visual/config-page/dashboard-theme-setting/Index.js +1 -0
  210. package/dist/src/visual/config-page/dashboard-theme-setting/Shadow.js +1 -0
  211. package/dist/src/visual/config-page/index.js +1 -0
  212. package/dist/src/visual/index.js +1 -0
  213. package/dist/src/visual/mixins/innerGridMixin.js +1 -0
  214. package/dist/src/visual/search/Filter.js +1 -0
  215. package/dist/src/visual/step/Index.js +1 -0
  216. package/dist/src/visual/step/Item.js +1 -0
  217. package/dist/src/visual/widgets/CardFormItemVisual.js +1 -0
  218. package/dist/src/visual/widgets/CarouselVisual.js +1 -0
  219. package/dist/src/visual/widgets/CollapseVisual.js +1 -0
  220. package/dist/src/visual/widgets/DropdownVisual.js +1 -0
  221. package/dist/src/visual/widgets/LayoutConfig.js +1 -0
  222. package/dist/src/visual/widgets/ListVisual.js +1 -0
  223. package/dist/src/visual/widgets/MEntityListFindVisual.js +1 -0
  224. package/dist/src/visual/widgets/ProcessFormItemVisual.js +1 -0
  225. package/dist/src/visual/widgets/TabsConfig.js +1 -0
  226. package/dist/style.css +116 -112
  227. package/package.json +10 -9
  228. package/src/index.js +27 -27
  229. package/src/page-designer/PageDesigner.vue +11 -0
  230. package/src/page-designer/designer.js +1322 -1299
  231. package/src/page-designer/previews/add-form/Preview.vue +43 -44
  232. package/src/page-designer/setting-panel/Setting.vue +24 -2
  233. package/src/page-designer/widget-preview/Mixin.js +285 -285
  234. package/src/page-designer/widget-preview/Preview.vue +322 -322
  235. package/src/page-designer/widget-preview/WidgetWrapper.vue +197 -197
  236. package/src/page-designer/widget-preview/directive.js +258 -258
  237. package/src/visual/CategoryList.vue +563 -563
  238. package/src/visual/ComponentList.vue +280 -280
  239. package/src/visual/CreatePage.vue +389 -389
  240. package/src/visual/EntityCardList.vue +449 -449
  241. package/src/visual/EntityList.vue +838 -838
  242. package/src/visual/config-page/ComponentLibraryDialog.vue +7 -1
  243. package/src/visual/config-page/DashboardMobile.vue +934 -934
  244. package/src/visual/widgets/ProcessFormItemVisual.vue +58 -58
  245. package/types/index.d.ts +22 -22
  246. package/types/page-designer.d.ts +3 -3
  247. package/types/visual-component.d.ts +1 -1
  248. package/types/visual-entity-list.d.ts +1 -1
  249. package/types/visual-entity-sub-list.d.ts +1 -1
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import CodeEditor from "./CodeEditor.js";
2
3
  import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode } from "vue";
3
4
  /* empty css */
@@ -18,7 +19,9 @@ const _sfc_main = {
18
19
  data() {
19
20
  return {
20
21
  activeTab: "property",
21
- showCodeEditor: false
22
+ showCodeEditor: false,
23
+ showPropertyPanel: true,
24
+ showSwitchDialog: false
22
25
  };
23
26
  },
24
27
  computed: {
@@ -32,6 +35,11 @@ const _sfc_main = {
32
35
  if (!this.designer.selectedWidget) return this.designer.page.pageId;
33
36
  return this.designer.selectedWidget.id;
34
37
  },
38
+ // 切换组件后 id 不变,属性面板需按组件类型重建,才能加载新组件的配置面板
39
+ propertyKey() {
40
+ var _a;
41
+ return this.widgetId + "_" + (((_a = this.designer.selectedWidget) == null ? void 0 : _a.contentType) || "");
42
+ },
35
43
  widgetConfig() {
36
44
  const { configs = {}, id } = this.designer.selectedWidget;
37
45
  const widgetConfig = this.designer.widgetConfig[id] || {};
@@ -85,6 +93,13 @@ const _sfc_main = {
85
93
  }
86
94
  });
87
95
  },
96
+ // 换成弹窗中选择的组件,组件 id 不变,原配置保留
97
+ switchComponent(widgetInfo) {
98
+ this.showSwitchDialog = false;
99
+ const widget = this.designer.selectedWidget;
100
+ if (!widget || widget.contentType === widgetInfo.CODE) return;
101
+ this.designer.switchWidget(widget, widgetInfo);
102
+ },
88
103
  updateWidgetConfig(v) {
89
104
  this.designer.updateWidgetConfig(this.designer.selectedWidget.id, v);
90
105
  },
@@ -174,6 +189,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
174
189
  const _component_epx_page_designer_setting_style = resolveComponent("epx-page-designer-setting-style");
175
190
  const _component_epx_page_designer_setting_advance = resolveComponent("epx-page-designer-setting-advance");
176
191
  const _component_el_tabs = resolveComponent("el-tabs");
192
+ const _component_epx_visual_component_library_dialog = resolveComponent("epx-visual-component-library-dialog");
193
+ const _component_el_dialog = resolveComponent("el-dialog");
177
194
  const _component_el_container = resolveComponent("el-container");
178
195
  return $props.designer.selectedWidget || $props.designer.mode !== "template" && $props.designer.mode !== "component" ? (openBlock(), createBlock(_component_el_container, {
179
196
  key: 0,
@@ -183,7 +200,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
183
200
  createVNode(_component_el_tabs, {
184
201
  class: "epx-page-designer-setting__tabs",
185
202
  modelValue: $data.activeTab,
186
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.activeTab = $event),
203
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.activeTab = $event),
187
204
  stretch: true
188
205
  }, {
189
206
  default: withCtx(() => [
@@ -193,7 +210,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
193
210
  }, {
194
211
  default: withCtx(() => [
195
212
  !$props.designer.selectedWidget ? (openBlock(), createElementBlock("div", _hoisted_1, [
196
- _cache[6] || (_cache[6] = createElementVNode("label", { class: "epx-page-designer-setting__widget-title-label" }, "页面", -1)),
213
+ _cache[8] || (_cache[8] = createElementVNode("label", { class: "epx-page-designer-setting__widget-title-label" }, "页面", -1)),
197
214
  createTextVNode(toDisplayString($props.designer.page.title) + " ", 1),
198
215
  createElementVNode("i", {
199
216
  class: "el-icon-copy-document",
@@ -201,7 +218,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
201
218
  onClick: _cache[0] || (_cache[0] = (...args) => $options.copyPageId && $options.copyPageId(...args))
202
219
  })
203
220
  ])) : (openBlock(), createElementBlock("div", _hoisted_2, [
204
- _cache[9] || (_cache[9] = createElementVNode("label", { class: "epx-page-designer-setting__widget-title-label" }, "组件类型", -1)),
221
+ _cache[11] || (_cache[11] = createElementVNode("label", { class: "epx-page-designer-setting__widget-title-label" }, "组件类型", -1)),
205
222
  createTextVNode(toDisplayString($options.widgetInfo.TITLE || $options.widgetInfo.NAME) + " ", 1),
206
223
  $options.widgetInfo.HELP ? (openBlock(), createElementBlock("i", {
207
224
  key: 0,
@@ -213,20 +230,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
213
230
  key: 1,
214
231
  class: "epx-page-designer-setting__widget-split",
215
232
  onClick: _cache[2] || (_cache[2] = (...args) => $options.splitTemplate && $options.splitTemplate(...args))
216
- }, [..._cache[7] || (_cache[7] = [
233
+ }, [..._cache[9] || (_cache[9] = [
217
234
  createElementVNode("i", {
218
235
  class: "epx-icon-quxiaofenzu",
219
236
  title: "拆分模板"
220
237
  }, null, -1),
221
238
  createElementVNode("span", null, "拆分", -1)
222
- ])])) : createCommentVNode("", true),
239
+ ])])) : (openBlock(), createElementBlock("i", {
240
+ key: 2,
241
+ class: "epx-page-designer-setting__widget-switch el-icon-sort",
242
+ title: "切换组件",
243
+ onClick: _cache[3] || (_cache[3] = ($event) => $data.showSwitchDialog = true)
244
+ })),
223
245
  createVNode(_component_el_popover, {
224
246
  ref: "codeEditorPopover",
225
247
  placement: "bottom",
226
248
  width: "400",
227
249
  trigger: "click",
228
- onBeforeEnter: _cache[3] || (_cache[3] = ($event) => $data.showCodeEditor = true),
229
- onAfterLeave: _cache[4] || (_cache[4] = ($event) => $data.showCodeEditor = false)
250
+ onBeforeEnter: _cache[4] || (_cache[4] = ($event) => $data.showCodeEditor = true),
251
+ onAfterLeave: _cache[5] || (_cache[5] = ($event) => $data.showCodeEditor = false)
230
252
  }, {
231
253
  reference: withCtx(() => [
232
254
  createVNode(_component_el_button, {
@@ -234,7 +256,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
234
256
  round: "",
235
257
  size: "small"
236
258
  }, {
237
- default: withCtx(() => [..._cache[8] || (_cache[8] = [
259
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
238
260
  createElementVNode("i", { class: "epx-icon-code" }, null, -1)
239
261
  ])]),
240
262
  _: 1
@@ -251,7 +273,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
251
273
  }, 512)
252
274
  ])),
253
275
  (openBlock(), createBlock(_component_epx_page_designer_setting_property, {
254
- key: $options.widgetId,
276
+ key: $options.propertyKey,
255
277
  designer: $props.designer,
256
278
  relationList: $props.relationList
257
279
  }, null, 8, ["designer", "relationList"]))
@@ -284,6 +306,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
284
306
  })) : createCommentVNode("", true)
285
307
  ]),
286
308
  _: 1
309
+ }, 8, ["modelValue"]),
310
+ createVNode(_component_el_dialog, {
311
+ title: "切换组件",
312
+ modelValue: $data.showSwitchDialog,
313
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.showSwitchDialog = $event),
314
+ width: "960px",
315
+ "append-to-body": ""
316
+ }, {
317
+ default: withCtx(() => [
318
+ createVNode(_component_epx_visual_component_library_dialog, {
319
+ "hide-template": "",
320
+ onClick: $options.switchComponent
321
+ }, null, 8, ["onClick"])
322
+ ]),
323
+ _: 1
287
324
  }, 8, ["modelValue"])
288
325
  ]),
289
326
  _: 1
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import CssEditor from "./css-editor/CssEditor.js";
2
3
  import Background from "../../visual/config/Background.js";
3
4
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, createCommentVNode, createElementVNode, toDisplayString, normalizeClass, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../../../../style.css';
1
2
  import "codemirror/addon/hint/show-hint.js";
2
3
  import "./css-hint.js";
3
4
  import "codemirror/lib/codemirror.css";
@@ -1,3 +1,4 @@
1
+ import '../../../../style.css';
1
2
  import CodeMirror from "codemirror";
2
3
  var pseudoClasses = {
3
4
  "active": 1,
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { default as default2 } from "./Setting.js";
2
3
  import { default as default3 } from "./Property.js";
3
4
  import { default as default4 } from "./Style.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import draggable from "@epxing/core/src/components/draggable";
2
3
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, renderList, normalizeClass, toDisplayString, createBlock, createCommentVNode } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import TemplateAttributePanel from "./TemplateAttributePanel.js";
2
3
  export {
3
4
  TemplateAttributePanel as default
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import __cjsReq0 from "../../assets/images/default-icon.png.js";
2
3
  import dragSourceMixin from "../mixins/dragSourceMixin.js";
3
4
  import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, withDirectives, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { default as default2 } from "./Library.js";
2
3
  export {
3
4
  default2 as TemplateLibrary
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import dragSourceMixin from "../mixins/dragSourceMixin.js";
2
3
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, Fragment, renderList, normalizeClass, toDisplayString, createBlock, withCtx, createCommentVNode } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import dragSourceMixin from "../mixins/dragSourceMixin.js";
2
3
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createCommentVNode, createBlock } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { default as default2 } from "./Library.js";
2
3
  import { default as default3 } from "./Base.js";
3
4
  export {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import widgetDesignerDirective from "./directive.js";
2
3
  import previewMixin from "./Mixin.js";
3
4
  import { resolvePreviewName } from "./resolvePreviewName.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, toDisplayString, createCommentVNode } from "vue";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import overlayPositionMixin from "./overlayPositionMixin.js";
2
3
  import { openBlock, createElementBlock, normalizeStyle, createCommentVNode } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import overlayPositionMixin from "./overlayPositionMixin.js";
2
3
  import { openBlock, createElementBlock, withModifiers, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import WidgetPreviewItem from "./PreviewItem.js";
2
3
  import util from "@epxing/core/src/runtime-utils/util";
3
4
  import { createDropCache, insertIndex, clearDropCache, insertLineRect } from "./dropPosition.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import previewMixin from "./Mixin.js";
2
3
  import { openBlock, createElementBlock, toDisplayString } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import util from "@epxing/core/src/runtime-utils/util";
2
3
  import TemplatePreview from "./Template.js";
3
4
  import widgetDesignerDirective from "./directive.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import widgetDesignerDirective from "./directive.js";
2
3
  import { resolvePreviewName } from "./resolvePreviewName.js";
3
4
  import TemplatePreview from "./Template.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { getWidgetChildren } from "../designer.js";
2
3
  import overlayPositionMixin from "./overlayPositionMixin.js";
3
4
  import { resolveComponent, openBlock, createElementBlock, withModifiers, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import widgetDesignerDirective from "./directive.js";
2
3
  import { resolvePreviewName } from "./resolvePreviewName.js";
3
4
  import { resolveDirective, openBlock, createElementBlock, Fragment, renderList, withDirectives, createBlock, resolveDynamicComponent } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import TemplatePreview from "./Template.js";
2
3
  import previewMixin from "./Mixin.js";
3
4
  import util from "@epxing/core/src/runtime-utils/util";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  function detach(el) {
2
3
  const targetEl = el._widgetTargetEl || el;
3
4
  const pairs = [["mouseenter", "_widgetMouseEnter"], ["mouseleave", "_widgetMouseLeave"], ["click", "_widgetClick"], ["dragstart", "_widgetDragStart"], ["dragend", "_widgetDragEnd"]];
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  const SKIP_CLASSES = ["epx-page-designer-widget-preview__no-widget", "epx-widget-dragging"];
2
3
  function createDropCache() {
3
4
  return { listEl: null, scrollTop: 0, listRect: null, rects: [] };
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { default as default2 } from "./Preview.js";
2
3
  import { default as default3 } from "./PreviewItem.js";
3
4
  import { default as default4 } from "./Container.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  const overlayPositionMixin = {
2
3
  data() {
3
4
  return {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { resolveComponent } from "@epxing/core/src/app";
2
3
  const cache = /* @__PURE__ */ new Map();
3
4
  function resolvePreviewName(designer, widget) {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { getWidgetChildren, getWidgetSlots } from "../designer.js";
2
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, normalizeStyle, createCommentVNode, toDisplayString, createBlock, withCtx, createVNode, Fragment, renderList } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { getWidgetChildren } from "../designer.js";
2
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, withModifiers, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { default as default2 } from "./Tree.js";
2
3
  import { default as default3 } from "./Item.js";
3
4
  export {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./Button.vue.js";
2
3
  export {
3
4
  _sfc_main as default
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./ChartNew.vue.js";
2
3
  export {
3
4
  _sfc_main as default
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./AddForm.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-check-form",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./EntityList.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./Component.vue.js";
2
3
  /* empty css */
3
4
  export {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./EntityList.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./Config.vue.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./ConfigItem.vue.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./ConfigSelectItems.vue.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  import innerGridMixin, { innerGridOptions } from "./mixins/innerGridMixin.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./DashboardTabs.vue.js";
2
3
  /* empty css */
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./DashboardWidget.vue.js";
2
3
  export {
3
4
  _sfc_main as default
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./EntityList.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-add-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-apply-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-check-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-find-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./EntityList.vue.js";
2
3
  /* empty css */
3
4
  export {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  import { attributeTreeKey, getCached } from "./config/remote-cache.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  import { attributeTreeKey, getCached } from "./config/remote-cache.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-tree-find-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./BasePage.js";
2
3
  const _sfc_main = {
3
4
  name: "epx-visual-entity-tree-page",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./FormField.vue.js";
2
3
  export {
3
4
  _sfc_main as default
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  /* empty css */
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./Html.vue.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main$1 from "./Component.vue.js";
2
3
  /* empty css */
3
4
  const _sfc_main = {