@epxing/designer 0.0.0-stage → 5.3.0-beta.1

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 (491) hide show
  1. package/API.md +159 -0
  2. package/README.md +44 -2
  3. package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
  4. package/dist/_virtual/preload-helper.js +88 -0
  5. package/dist/assets/default-icon-2193FMjv.png +0 -0
  6. package/dist/assets/technology_bg-oWIS2awO.jpg +0 -0
  7. package/dist/assets/theme_black-Ctdygcr4.png +0 -0
  8. package/dist/assets/theme_technology-DJk-2e7g.png +0 -0
  9. package/dist/assets/theme_white-uMQ6JYml.png +0 -0
  10. package/dist/src/assets/images/dashboard/theme_black.png.js +4 -0
  11. package/dist/src/assets/images/dashboard/theme_technology.png.js +4 -0
  12. package/dist/src/assets/images/dashboard/theme_white.png.js +4 -0
  13. package/dist/src/assets/images/default-icon.png.js +4 -0
  14. package/dist/src/index.js +52 -0
  15. package/dist/src/page-designer/PageConfigPreview.js +101 -0
  16. package/dist/src/page-designer/PageDesigner.js +843 -0
  17. package/dist/src/page-designer/designer.js +1119 -0
  18. package/dist/src/page-designer/index.js +51 -0
  19. package/dist/src/page-designer/mixins/dragSourceMixin.js +94 -0
  20. package/dist/src/page-designer/page-variable-panel/JsonEditor.js +105 -0
  21. package/dist/src/page-designer/page-variable-panel/PageVariablePanel.js +938 -0
  22. package/dist/src/page-designer/page-variable-panel/index.js +6 -0
  23. package/dist/src/page-designer/page-variable-panel/jsonlint.js +229 -0
  24. package/dist/src/page-designer/previews/add-form/Preview.js +7 -0
  25. package/dist/src/page-designer/previews/add-form/Preview.vue.js +328 -0
  26. package/dist/src/page-designer/previews/add-form-item/Preview.js +193 -0
  27. package/dist/src/page-designer/previews/button/Preview.js +29 -0
  28. package/dist/src/page-designer/previews/card/Preview.js +86 -0
  29. package/dist/src/page-designer/previews/carousel/CarouselItemPreview.js +32 -0
  30. package/dist/src/page-designer/previews/carousel/Preview.js +60 -0
  31. package/dist/src/page-designer/previews/collapse/CollapseItemPreview.js +117 -0
  32. package/dist/src/page-designer/previews/collapse/Preview.js +34 -0
  33. package/dist/src/page-designer/previews/dropdown/Preview.js +67 -0
  34. package/dist/src/page-designer/previews/entity-list/Preview.js +521 -0
  35. package/dist/src/page-designer/previews/entity-sub-list/Preview.js +351 -0
  36. package/dist/src/page-designer/previews/entity-virtual-list/Preview.js +10 -0
  37. package/dist/src/page-designer/previews/form-field/preview/Checkbox.js +90 -0
  38. package/dist/src/page-designer/previews/form-field/preview/Date.js +76 -0
  39. package/dist/src/page-designer/previews/form-field/preview/Input.js +73 -0
  40. package/dist/src/page-designer/previews/form-field/preview/InputNumber.js +73 -0
  41. package/dist/src/page-designer/previews/form-field/preview/Object.js +76 -0
  42. package/dist/src/page-designer/previews/form-field/preview/Radio.js +145 -0
  43. package/dist/src/page-designer/previews/form-field/preview/Select.js +77 -0
  44. package/dist/src/page-designer/previews/form-field/preview/Textarea.js +77 -0
  45. package/dist/src/page-designer/previews/grid/Preview.js +138 -0
  46. package/dist/src/page-designer/previews/html/Preview.js +17 -0
  47. package/dist/src/page-designer/previews/icon/Preview.js +19 -0
  48. package/dist/src/page-designer/previews/image/Preview.js +35 -0
  49. package/dist/src/page-designer/previews/index.js +73 -0
  50. package/dist/src/page-designer/previews/layout/ColumnPreview.js +46 -0
  51. package/dist/src/page-designer/previews/layout/Preview.js +109 -0
  52. package/dist/src/page-designer/previews/num/Preview.js +131 -0
  53. package/dist/src/page-designer/previews/page-tabs/Preview.js +74 -0
  54. package/dist/src/page-designer/previews/step/Preview.js +206 -0
  55. package/dist/src/page-designer/previews/tabs/Preview.js +94 -0
  56. package/dist/src/page-designer/previews/tabs/tab-pane/Preview.js +32 -0
  57. package/dist/src/page-designer/previews/text/Preview.js +37 -0
  58. package/dist/src/page-designer/previews/text-editor/Preview.js +22 -0
  59. package/dist/src/page-designer/previews/video/Preview.js +9 -0
  60. package/dist/src/page-designer/setting-panel/Advance.js +280 -0
  61. package/dist/src/page-designer/setting-panel/CodeEditor.js +93 -0
  62. package/dist/src/page-designer/setting-panel/Property.js +164 -0
  63. package/dist/src/page-designer/setting-panel/Setting.js +295 -0
  64. package/dist/src/page-designer/setting-panel/Style.js +1590 -0
  65. package/dist/src/page-designer/setting-panel/css-editor/CssEditor.js +97 -0
  66. package/dist/src/page-designer/setting-panel/css-editor/css-hint.js +83 -0
  67. package/dist/src/page-designer/setting-panel/index.js +10 -0
  68. package/dist/src/page-designer/template-attribute-panel/TemplateAttributePanel.js +486 -0
  69. package/dist/src/page-designer/template-attribute-panel/index.js +4 -0
  70. package/dist/src/page-designer/template-library/Library.js +218 -0
  71. package/dist/src/page-designer/template-library/index.js +4 -0
  72. package/dist/src/page-designer/widget-library/Base.js +169 -0
  73. package/dist/src/page-designer/widget-library/Library.js +212 -0
  74. package/dist/src/page-designer/widget-library/index.js +6 -0
  75. package/dist/src/page-designer/widget-preview/Container.js +79 -0
  76. package/dist/src/page-designer/widget-preview/DragGhost.js +53 -0
  77. package/dist/src/page-designer/widget-preview/DropZoneOverlay.js +41 -0
  78. package/dist/src/page-designer/widget-preview/HoverOverlay.js +60 -0
  79. package/dist/src/page-designer/widget-preview/Mixin.js +259 -0
  80. package/dist/src/page-designer/widget-preview/Placeholder.js +27 -0
  81. package/dist/src/page-designer/widget-preview/Preview.js +276 -0
  82. package/dist/src/page-designer/widget-preview/PreviewItem.js +82 -0
  83. package/dist/src/page-designer/widget-preview/SelectedOverlay.js +331 -0
  84. package/dist/src/page-designer/widget-preview/Template.js +65 -0
  85. package/dist/src/page-designer/widget-preview/WidgetWrapper.js +169 -0
  86. package/dist/src/page-designer/widget-preview/directive.js +158 -0
  87. package/dist/src/page-designer/widget-preview/dropPosition.js +49 -0
  88. package/dist/src/page-designer/widget-preview/index.js +22 -0
  89. package/dist/src/page-designer/widget-preview/overlayPositionMixin.js +86 -0
  90. package/dist/src/page-designer/widget-preview/resolvePreviewName.js +31 -0
  91. package/dist/src/page-designer/widget-tree/Item.js +579 -0
  92. package/dist/src/page-designer/widget-tree/Tree.js +854 -0
  93. package/dist/src/page-designer/widget-tree/index.js +6 -0
  94. package/dist/src/visual/AddForm.js +171 -0
  95. package/dist/src/visual/AddFormItem.js +479 -0
  96. package/dist/src/visual/AppIndex.js +242 -0
  97. package/dist/src/visual/ApplyForm.js +134 -0
  98. package/dist/src/visual/AttributeList.js +343 -0
  99. package/dist/src/visual/BasePage.js +76 -0
  100. package/dist/src/visual/Button.js +4 -0
  101. package/dist/src/visual/Button.vue.js +89 -0
  102. package/dist/src/visual/CardNum.js +73 -0
  103. package/dist/src/visual/CategoryList.js +568 -0
  104. package/dist/src/visual/Chart.js +26 -0
  105. package/dist/src/visual/ChartNew.js +4 -0
  106. package/dist/src/visual/ChartNew.vue.js +54 -0
  107. package/dist/src/visual/CheckForm.js +109 -0
  108. package/dist/src/visual/ClientList.js +40 -0
  109. package/dist/src/visual/CodeManage.js +112 -0
  110. package/dist/src/visual/Component.js +5 -0
  111. package/dist/src/visual/Component.vue.js +1332 -0
  112. package/dist/src/visual/ComponentList.js +279 -0
  113. package/dist/src/visual/Config.js +7 -0
  114. package/dist/src/visual/Config.vue.js +862 -0
  115. package/dist/src/visual/ConfigItem.js +7 -0
  116. package/dist/src/visual/ConfigItem.vue.js +192 -0
  117. package/dist/src/visual/ConfigSelectItems.js +7 -0
  118. package/dist/src/visual/ConfigSelectItems.vue.js +260 -0
  119. package/dist/src/visual/CreatePage.js +388 -0
  120. package/dist/src/visual/DashboardDiv.js +57 -0
  121. package/dist/src/visual/DashboardTabs.js +8 -0
  122. package/dist/src/visual/DashboardTabs.vue.js +127 -0
  123. package/dist/src/visual/DashboardWidget.js +4 -0
  124. package/dist/src/visual/DashboardWidget.vue.js +62 -0
  125. package/dist/src/visual/DblogList.js +81 -0
  126. package/dist/src/visual/EntityAddPage.js +48 -0
  127. package/dist/src/visual/EntityApplyPage.js +53 -0
  128. package/dist/src/visual/EntityCardList.js +454 -0
  129. package/dist/src/visual/EntityCheckPage.js +65 -0
  130. package/dist/src/visual/EntityFindPage.js +44 -0
  131. package/dist/src/visual/EntityList.js +5 -0
  132. package/dist/src/visual/EntityList.vue.js +1221 -0
  133. package/dist/src/visual/EntityListPage.js +42 -0
  134. package/dist/src/visual/EntityNoSubmitSubList.js +266 -0
  135. package/dist/src/visual/EntityRightSubList.js +28 -0
  136. package/dist/src/visual/EntitySubAdd.js +9 -0
  137. package/dist/src/visual/EntitySubGridItem.js +65 -0
  138. package/dist/src/visual/EntitySubList.js +433 -0
  139. package/dist/src/visual/EntityTreeFindPage.js +31 -0
  140. package/dist/src/visual/EntityTreeManage.js +48 -0
  141. package/dist/src/visual/EntityTreePage.js +41 -0
  142. package/dist/src/visual/ExcelPreview.js +9 -0
  143. package/dist/src/visual/FormField.js +4 -0
  144. package/dist/src/visual/FormField.vue.js +121 -0
  145. package/dist/src/visual/HeaderNew.js +160 -0
  146. package/dist/src/visual/Html.js +7 -0
  147. package/dist/src/visual/Html.vue.js +109 -0
  148. package/dist/src/visual/Import.js +52 -0
  149. package/dist/src/visual/InterfaceSubList.js +20 -0
  150. package/dist/src/visual/ListFirst.js +703 -0
  151. package/dist/src/visual/MEntityAddPage.js +65 -0
  152. package/dist/src/visual/MEntityList.js +484 -0
  153. package/dist/src/visual/MEntityListPage.js +39 -0
  154. package/dist/src/visual/MEntitySubList.js +236 -0
  155. package/dist/src/visual/MetaList.js +22 -0
  156. package/dist/src/visual/ModuleIndexPage.js +66 -0
  157. package/dist/src/visual/ModuleList.js +46 -0
  158. package/dist/src/visual/NavAddForm.js +172 -0
  159. package/dist/src/visual/NavFormCatalogItem.js +43 -0
  160. package/dist/src/visual/NumItem.js +69 -0
  161. package/dist/src/visual/NumStatistic.js +5 -0
  162. package/dist/src/visual/NumStatistic.vue.js +81 -0
  163. package/dist/src/visual/OrgChart.js +106 -0
  164. package/dist/src/visual/PageCatalog.js +26 -0
  165. package/dist/src/visual/PageConfig.js +222 -0
  166. package/dist/src/visual/PageTabs.js +48 -0
  167. package/dist/src/visual/Progress.js +39 -0
  168. package/dist/src/visual/ProgressItem.js +43 -0
  169. package/dist/src/visual/SystemManager.js +76 -0
  170. package/dist/src/visual/Title.js +44 -0
  171. package/dist/src/visual/TodoList.js +13 -0
  172. package/dist/src/visual/UserFormItem.js +40 -0
  173. package/dist/src/visual/UserManage.js +34 -0
  174. package/dist/src/visual/chart/CircularPie.js +8 -0
  175. package/dist/src/visual/chart/Column.js +69 -0
  176. package/dist/src/visual/chart/HoriColumn.js +8 -0
  177. package/dist/src/visual/chart/Line.js +8 -0
  178. package/dist/src/visual/chart/Pie.js +8 -0
  179. package/dist/src/visual/config/Background.js +525 -0
  180. package/dist/src/visual/config/Chart.js +153 -0
  181. package/dist/src/visual/config/Checkbox.js +62 -0
  182. package/dist/src/visual/config/Color.js +40 -0
  183. package/dist/src/visual/config/DesignReport.js +23 -0
  184. package/dist/src/visual/config/Event.js +303 -0
  185. package/dist/src/visual/config/Field.js +519 -0
  186. package/dist/src/visual/config/Font.js +201 -0
  187. package/dist/src/visual/config/FormItem.js +22 -0
  188. package/dist/src/visual/config/Function.js +113 -0
  189. package/dist/src/visual/config/Html.js +110 -0
  190. package/dist/src/visual/config/Image.js +101 -0
  191. package/dist/src/visual/config/Input.js +176 -0
  192. package/dist/src/visual/config/Input.vue.js +479 -0
  193. package/dist/src/visual/config/LazyDialog.js +40 -0
  194. package/dist/src/visual/config/List.js +64 -0
  195. package/dist/src/visual/config/ListField.js +2079 -0
  196. package/dist/src/visual/config/MField.js +732 -0
  197. package/dist/src/visual/config/Number.js +36 -0
  198. package/dist/src/visual/config/Object.js +167 -0
  199. package/dist/src/visual/config/Operate.js +1108 -0
  200. package/dist/src/visual/config/OperateItem.js +1185 -0
  201. package/dist/src/visual/config/Options.js +7 -0
  202. package/dist/src/visual/config/Options.vue.js +278 -0
  203. package/dist/src/visual/config/OrderField.js +504 -0
  204. package/dist/src/visual/config/Page.js +75 -0
  205. package/dist/src/visual/config/Params.js +352 -0
  206. package/dist/src/visual/config/Radio.js +126 -0
  207. package/dist/src/visual/config/Row.js +103 -0
  208. package/dist/src/visual/config/Scope.js +349 -0
  209. package/dist/src/visual/config/Select.js +94 -0
  210. package/dist/src/visual/config/Switch.js +36 -0
  211. package/dist/src/visual/config/Textarea.js +174 -0
  212. package/dist/src/visual/config/Textarea.vue.js +507 -0
  213. package/dist/src/visual/config/Tree.js +137 -0
  214. package/dist/src/visual/config/remote-cache.js +29 -0
  215. package/dist/src/visual/config/show-condition.js +19 -0
  216. package/dist/src/visual/config/variable-sources.js +26 -0
  217. package/dist/src/visual/config/wait-ref.js +18 -0
  218. package/dist/src/visual/config-page/ComponentLibrary.js +169 -0
  219. package/dist/src/visual/config-page/ComponentLibraryDialog.js +249 -0
  220. package/dist/src/visual/config-page/ComponentList.js +8 -0
  221. package/dist/src/visual/config-page/ComponentList.vue.js +292 -0
  222. package/dist/src/visual/config-page/ComponentPreview.js +7 -0
  223. package/dist/src/visual/config-page/ComponentPreview.vue.js +151 -0
  224. package/dist/src/visual/config-page/ConfigOption.js +12 -0
  225. package/dist/src/visual/config-page/ConfigPanel.js +301 -0
  226. package/dist/src/visual/config-page/Dashboard.js +2159 -0
  227. package/dist/src/visual/config-page/DashboardDesign.js +605 -0
  228. package/dist/src/visual/config-page/DashboardGlobalConfig.js +5 -0
  229. package/dist/src/visual/config-page/DashboardGlobalConfig.vue.js +292 -0
  230. package/dist/src/visual/config-page/DashboardMobile.js +1114 -0
  231. package/dist/src/visual/config-page/DashboardSetting.js +85 -0
  232. package/dist/src/visual/config-page/PagePreview.js +7 -0
  233. package/dist/src/visual/config-page/PagePreview.vue.js +72 -0
  234. package/dist/src/visual/config-page/StyleConfig.js +978 -0
  235. package/dist/src/visual/config-page/VisualConfigPage.js +644 -0
  236. package/dist/src/visual/config-page/dashboard-theme-setting/Background.js +179 -0
  237. package/dist/src/visual/config-page/dashboard-theme-setting/Border.js +313 -0
  238. package/dist/src/visual/config-page/dashboard-theme-setting/Font.js +191 -0
  239. package/dist/src/visual/config-page/dashboard-theme-setting/Index.js +544 -0
  240. package/dist/src/visual/config-page/dashboard-theme-setting/Shadow.js +173 -0
  241. package/dist/src/visual/config-page/index.js +89 -0
  242. package/dist/src/visual/index.js +150 -0
  243. package/dist/src/visual/mixins/innerGridMixin.js +121 -0
  244. package/dist/src/visual/search/Filter.js +48 -0
  245. package/dist/src/visual/step/Index.js +7 -0
  246. package/dist/src/visual/step/Index.vue.js +485 -0
  247. package/dist/src/visual/step/Item.js +138 -0
  248. package/dist/src/visual/widgets/CardFormItemVisual.js +44 -0
  249. package/dist/src/visual/widgets/CarouselVisual.js +7 -0
  250. package/dist/src/visual/widgets/CarouselVisual.vue.js +303 -0
  251. package/dist/src/visual/widgets/CollapseVisual.js +7 -0
  252. package/dist/src/visual/widgets/CollapseVisual.vue.js +202 -0
  253. package/dist/src/visual/widgets/DropdownVisual.js +7 -0
  254. package/dist/src/visual/widgets/DropdownVisual.vue.js +955 -0
  255. package/dist/src/visual/widgets/LayoutConfig.js +7 -0
  256. package/dist/src/visual/widgets/LayoutConfig.vue.js +168 -0
  257. package/dist/src/visual/widgets/ListVisual.js +348 -0
  258. package/dist/src/visual/widgets/MEntityListFindVisual.js +75 -0
  259. package/dist/src/visual/widgets/ProcessFormItemVisual.js +4 -0
  260. package/dist/src/visual/widgets/ProcessFormItemVisual.vue.js +45 -0
  261. package/dist/src/visual/widgets/TabsConfig.js +7 -0
  262. package/dist/src/visual/widgets/TabsConfig.vue.js +343 -0
  263. package/dist/style.css +9907 -0
  264. package/package.json +103 -3
  265. package/src/index.js +27 -0
  266. package/src/page-designer/PageConfigPreview.vue +103 -0
  267. package/src/page-designer/PageDesigner.vue +1017 -0
  268. package/src/page-designer/designer.js +1299 -0
  269. package/src/page-designer/index.js +38 -0
  270. package/src/page-designer/mixins/dragSourceMixin.js +113 -0
  271. package/src/page-designer/page-variable-panel/JsonEditor.vue +109 -0
  272. package/src/page-designer/page-variable-panel/PageVariablePanel.vue +781 -0
  273. package/src/page-designer/page-variable-panel/index.js +6 -0
  274. package/src/page-designer/page-variable-panel/jsonlint.js +2 -0
  275. package/src/page-designer/previews/add-form/Preview.vue +331 -0
  276. package/src/page-designer/previews/add-form-item/Preview.vue +167 -0
  277. package/src/page-designer/previews/button/Preview.vue +27 -0
  278. package/src/page-designer/previews/card/Preview.vue +78 -0
  279. package/src/page-designer/previews/carousel/CarouselItemPreview.vue +32 -0
  280. package/src/page-designer/previews/carousel/Preview.vue +36 -0
  281. package/src/page-designer/previews/collapse/CollapseItemPreview.vue +136 -0
  282. package/src/page-designer/previews/collapse/Preview.vue +28 -0
  283. package/src/page-designer/previews/dropdown/Preview.vue +21 -0
  284. package/src/page-designer/previews/entity-list/Preview.vue +382 -0
  285. package/src/page-designer/previews/entity-sub-list/Preview.vue +283 -0
  286. package/src/page-designer/previews/entity-virtual-list/Preview.vue +14 -0
  287. package/src/page-designer/previews/form-field/preview/Checkbox.vue +57 -0
  288. package/src/page-designer/previews/form-field/preview/Date.vue +56 -0
  289. package/src/page-designer/previews/form-field/preview/Input.vue +53 -0
  290. package/src/page-designer/previews/form-field/preview/InputNumber.vue +53 -0
  291. package/src/page-designer/previews/form-field/preview/Object.vue +53 -0
  292. package/src/page-designer/previews/form-field/preview/Radio.vue +69 -0
  293. package/src/page-designer/previews/form-field/preview/Select.vue +55 -0
  294. package/src/page-designer/previews/form-field/preview/Textarea.vue +57 -0
  295. package/src/page-designer/previews/grid/Preview.vue +156 -0
  296. package/src/page-designer/previews/html/Preview.vue +11 -0
  297. package/src/page-designer/previews/icon/Preview.vue +12 -0
  298. package/src/page-designer/previews/image/Preview.vue +37 -0
  299. package/src/page-designer/previews/index.js +74 -0
  300. package/src/page-designer/previews/layout/ColumnPreview.vue +89 -0
  301. package/src/page-designer/previews/layout/Preview.vue +96 -0
  302. package/src/page-designer/previews/num/Preview.vue +100 -0
  303. package/src/page-designer/previews/page-tabs/Preview.vue +53 -0
  304. package/src/page-designer/previews/step/Preview.vue +190 -0
  305. package/src/page-designer/previews/tabs/Preview.vue +66 -0
  306. package/src/page-designer/previews/tabs/tab-pane/Preview.vue +32 -0
  307. package/src/page-designer/previews/text/Preview.vue +26 -0
  308. package/src/page-designer/previews/text-editor/Preview.vue +14 -0
  309. package/src/page-designer/previews/video/Preview.vue +9 -0
  310. package/src/page-designer/setting-panel/Advance.vue +175 -0
  311. package/src/page-designer/setting-panel/CodeEditor.vue +88 -0
  312. package/src/page-designer/setting-panel/Property.vue +163 -0
  313. package/src/page-designer/setting-panel/Setting.vue +271 -0
  314. package/src/page-designer/setting-panel/Style.vue +1096 -0
  315. package/src/page-designer/setting-panel/css-editor/CssEditor.vue +93 -0
  316. package/src/page-designer/setting-panel/css-editor/css-hint.js +58 -0
  317. package/src/page-designer/setting-panel/index.js +10 -0
  318. package/src/page-designer/template-attribute-panel/TemplateAttributePanel.vue +383 -0
  319. package/src/page-designer/template-attribute-panel/index.js +2 -0
  320. package/src/page-designer/template-library/Library.vue +153 -0
  321. package/src/page-designer/template-library/index.js +4 -0
  322. package/src/page-designer/widget-library/Base.vue +156 -0
  323. package/src/page-designer/widget-library/Library.vue +282 -0
  324. package/src/page-designer/widget-library/index.js +6 -0
  325. package/src/page-designer/widget-preview/Container.vue +89 -0
  326. package/src/page-designer/widget-preview/DragGhost.vue +83 -0
  327. package/src/page-designer/widget-preview/DropZoneOverlay.vue +51 -0
  328. package/src/page-designer/widget-preview/HoverOverlay.vue +85 -0
  329. package/src/page-designer/widget-preview/Mixin.js +285 -0
  330. package/src/page-designer/widget-preview/Placeholder.vue +22 -0
  331. package/src/page-designer/widget-preview/Preview.vue +322 -0
  332. package/src/page-designer/widget-preview/PreviewItem.vue +162 -0
  333. package/src/page-designer/widget-preview/SelectedOverlay.vue +340 -0
  334. package/src/page-designer/widget-preview/Template.vue +77 -0
  335. package/src/page-designer/widget-preview/WidgetWrapper.vue +197 -0
  336. package/src/page-designer/widget-preview/directive.js +258 -0
  337. package/src/page-designer/widget-preview/dropPosition.js +51 -0
  338. package/src/page-designer/widget-preview/index.js +23 -0
  339. package/src/page-designer/widget-preview/overlayPositionMixin.js +88 -0
  340. package/src/page-designer/widget-preview/resolvePreviewName.js +33 -0
  341. package/src/page-designer/widget-tree/Item.vue +719 -0
  342. package/src/page-designer/widget-tree/Tree.vue +995 -0
  343. package/src/page-designer/widget-tree/index.js +6 -0
  344. package/src/visual/AddForm.vue +172 -0
  345. package/src/visual/AddFormItem.vue +482 -0
  346. package/src/visual/AppIndex.vue +245 -0
  347. package/src/visual/ApplyForm.vue +140 -0
  348. package/src/visual/AttributeList.vue +344 -0
  349. package/src/visual/BasePage.vue +76 -0
  350. package/src/visual/Button.vue +80 -0
  351. package/src/visual/CardNum.vue +73 -0
  352. package/src/visual/CategoryList.vue +563 -0
  353. package/src/visual/Chart.vue +29 -0
  354. package/src/visual/ChartNew.vue +49 -0
  355. package/src/visual/CheckForm.vue +106 -0
  356. package/src/visual/ClientList.vue +42 -0
  357. package/src/visual/CodeManage.vue +116 -0
  358. package/src/visual/Component.vue +1342 -0
  359. package/src/visual/ComponentList.vue +280 -0
  360. package/src/visual/Config.vue +881 -0
  361. package/src/visual/ConfigItem.vue +218 -0
  362. package/src/visual/ConfigSelectItems.vue +445 -0
  363. package/src/visual/CreatePage.vue +389 -0
  364. package/src/visual/DashboardDiv.vue +197 -0
  365. package/src/visual/DashboardTabs.vue +118 -0
  366. package/src/visual/DashboardWidget.vue +55 -0
  367. package/src/visual/DblogList.vue +84 -0
  368. package/src/visual/EntityAddPage.vue +52 -0
  369. package/src/visual/EntityApplyPage.vue +57 -0
  370. package/src/visual/EntityCardList.vue +449 -0
  371. package/src/visual/EntityCheckPage.vue +69 -0
  372. package/src/visual/EntityFindPage.vue +55 -0
  373. package/src/visual/EntityList.vue +838 -0
  374. package/src/visual/EntityListPage.vue +97 -0
  375. package/src/visual/EntityNoSubmitSubList.vue +273 -0
  376. package/src/visual/EntityRightSubList.vue +32 -0
  377. package/src/visual/EntitySubAdd.vue +11 -0
  378. package/src/visual/EntitySubGridItem.vue +67 -0
  379. package/src/visual/EntitySubList.vue +440 -0
  380. package/src/visual/EntityTreeFindPage.vue +36 -0
  381. package/src/visual/EntityTreeManage.vue +50 -0
  382. package/src/visual/EntityTreePage.vue +45 -0
  383. package/src/visual/ExcelPreview.vue +11 -0
  384. package/src/visual/FormField.vue +113 -0
  385. package/src/visual/HeaderNew.vue +176 -0
  386. package/src/visual/Html.vue +104 -0
  387. package/src/visual/Import.vue +55 -0
  388. package/src/visual/InterfaceSubList.vue +23 -0
  389. package/src/visual/ListFirst.vue +614 -0
  390. package/src/visual/MEntityAddPage.vue +71 -0
  391. package/src/visual/MEntityList.vue +488 -0
  392. package/src/visual/MEntityListPage.vue +46 -0
  393. package/src/visual/MEntitySubList.vue +237 -0
  394. package/src/visual/MetaList.vue +24 -0
  395. package/src/visual/ModuleIndexPage.vue +70 -0
  396. package/src/visual/ModuleList.vue +46 -0
  397. package/src/visual/NavAddForm.vue +177 -0
  398. package/src/visual/NavFormCatalogItem.vue +47 -0
  399. package/src/visual/NumItem.vue +69 -0
  400. package/src/visual/NumStatistic.vue +242 -0
  401. package/src/visual/OrgChart.vue +113 -0
  402. package/src/visual/PageCatalog.vue +26 -0
  403. package/src/visual/PageConfig.vue +278 -0
  404. package/src/visual/PageTabs.vue +55 -0
  405. package/src/visual/Progress.vue +39 -0
  406. package/src/visual/ProgressItem.vue +43 -0
  407. package/src/visual/SystemManager.vue +80 -0
  408. package/src/visual/Title.vue +44 -0
  409. package/src/visual/TodoList.vue +18 -0
  410. package/src/visual/UserFormItem.vue +49 -0
  411. package/src/visual/UserManage.vue +36 -0
  412. package/src/visual/chart/CircularPie.vue +7 -0
  413. package/src/visual/chart/Column.vue +73 -0
  414. package/src/visual/chart/HoriColumn.vue +7 -0
  415. package/src/visual/chart/Line.vue +7 -0
  416. package/src/visual/chart/Pie.vue +7 -0
  417. package/src/visual/config/Background.vue +398 -0
  418. package/src/visual/config/Chart.vue +139 -0
  419. package/src/visual/config/Checkbox.vue +64 -0
  420. package/src/visual/config/Color.vue +40 -0
  421. package/src/visual/config/DesignReport.vue +20 -0
  422. package/src/visual/config/Event.vue +220 -0
  423. package/src/visual/config/Field.vue +597 -0
  424. package/src/visual/config/Font.vue +149 -0
  425. package/src/visual/config/FormItem.vue +25 -0
  426. package/src/visual/config/Function.vue +78 -0
  427. package/src/visual/config/Html.vue +98 -0
  428. package/src/visual/config/Image.vue +132 -0
  429. package/src/visual/config/Input.vue +712 -0
  430. package/src/visual/config/LazyDialog.vue +44 -0
  431. package/src/visual/config/List.vue +68 -0
  432. package/src/visual/config/ListField.vue +1714 -0
  433. package/src/visual/config/MField.vue +601 -0
  434. package/src/visual/config/Number.vue +41 -0
  435. package/src/visual/config/Object.vue +177 -0
  436. package/src/visual/config/Operate.vue +1083 -0
  437. package/src/visual/config/OperateItem.vue +917 -0
  438. package/src/visual/config/Options.vue +330 -0
  439. package/src/visual/config/OrderField.vue +587 -0
  440. package/src/visual/config/Page.vue +45 -0
  441. package/src/visual/config/Params.vue +228 -0
  442. package/src/visual/config/Radio.vue +93 -0
  443. package/src/visual/config/Row.vue +78 -0
  444. package/src/visual/config/Scope.vue +363 -0
  445. package/src/visual/config/Select.vue +93 -0
  446. package/src/visual/config/Switch.vue +36 -0
  447. package/src/visual/config/Textarea.vue +754 -0
  448. package/src/visual/config/Tree.vue +135 -0
  449. package/src/visual/config/remote-cache.js +35 -0
  450. package/src/visual/config/show-condition.js +21 -0
  451. package/src/visual/config/variable-sources.js +27 -0
  452. package/src/visual/config/wait-ref.js +17 -0
  453. package/src/visual/config-page/ComponentLibrary.vue +220 -0
  454. package/src/visual/config-page/ComponentLibraryDialog.vue +262 -0
  455. package/src/visual/config-page/ComponentList.vue +580 -0
  456. package/src/visual/config-page/ComponentPreview.vue +206 -0
  457. package/src/visual/config-page/ConfigOption.vue +16 -0
  458. package/src/visual/config-page/ConfigPanel.vue +301 -0
  459. package/src/visual/config-page/Dashboard.vue +2331 -0
  460. package/src/visual/config-page/DashboardDesign.vue +656 -0
  461. package/src/visual/config-page/DashboardGlobalConfig.vue +158 -0
  462. package/src/visual/config-page/DashboardMobile.vue +1118 -0
  463. package/src/visual/config-page/DashboardSetting.vue +47 -0
  464. package/src/visual/config-page/PagePreview.vue +105 -0
  465. package/src/visual/config-page/StyleConfig.vue +656 -0
  466. package/src/visual/config-page/VisualConfigPage.vue +746 -0
  467. package/src/visual/config-page/dashboard-theme-setting/Background.vue +98 -0
  468. package/src/visual/config-page/dashboard-theme-setting/Border.vue +185 -0
  469. package/src/visual/config-page/dashboard-theme-setting/Font.vue +101 -0
  470. package/src/visual/config-page/dashboard-theme-setting/Index.vue +471 -0
  471. package/src/visual/config-page/dashboard-theme-setting/Shadow.vue +102 -0
  472. package/src/visual/config-page/index.js +93 -0
  473. package/src/visual/index.js +23 -0
  474. package/src/visual/mixins/innerGridMixin.js +128 -0
  475. package/src/visual/search/Filter.vue +50 -0
  476. package/src/visual/step/Index.vue +361 -0
  477. package/src/visual/step/Item.vue +140 -0
  478. package/src/visual/widgets/CardFormItemVisual.vue +46 -0
  479. package/src/visual/widgets/CarouselVisual.vue +291 -0
  480. package/src/visual/widgets/CollapseVisual.vue +203 -0
  481. package/src/visual/widgets/DropdownVisual.vue +541 -0
  482. package/src/visual/widgets/LayoutConfig.vue +186 -0
  483. package/src/visual/widgets/ListVisual.vue +349 -0
  484. package/src/visual/widgets/MEntityListFindVisual.vue +77 -0
  485. package/src/visual/widgets/ProcessFormItemVisual.vue +58 -0
  486. package/src/visual/widgets/TabsConfig.vue +266 -0
  487. package/types/index.d.ts +22 -0
  488. package/types/page-designer.d.ts +3 -0
  489. package/types/visual-component.d.ts +1 -0
  490. package/types/visual-entity-list.d.ts +1 -0
  491. package/types/visual-entity-sub-list.d.ts +1 -0
@@ -0,0 +1,1590 @@
1
+ import CssEditor from "./css-editor/CssEditor.js";
2
+ import Background from "../../visual/config/Background.js";
3
+ import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, createCommentVNode, createElementVNode, toDisplayString, normalizeClass, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
4
+ /* empty css */
5
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const _sfc_main = {
7
+ name: "epx-page-designer-setting-style",
8
+ components: {
9
+ CssEditor,
10
+ [Background.name]: Background
11
+ },
12
+ props: {
13
+ designer: {
14
+ type: Object
15
+ },
16
+ value: String,
17
+ inlineStyle: Boolean
18
+ },
19
+ data() {
20
+ return {
21
+ load: true,
22
+ defaultStyle: {},
23
+ // 默认状态样式
24
+ hoverStyle: {},
25
+ // 悬浮状态样式
26
+ mouseStatus: "default",
27
+ unfold: {
28
+ display: true
29
+ },
30
+ space: [
31
+ { label: "超大", value: "24px" },
32
+ { label: "大", value: "16px" },
33
+ { label: "中", value: "12px" },
34
+ { label: "小", value: "4px" },
35
+ { label: "无", value: "0px" },
36
+ { label: "默认", value: "default" },
37
+ { label: "自定义", value: "custom" }
38
+ ],
39
+ showCssEditor: false,
40
+ borderWidthType: "same",
41
+ borderRadiusType: "same"
42
+ };
43
+ },
44
+ computed: {
45
+ type() {
46
+ if (this.designer.selectedWidget) return "widget";
47
+ return "page";
48
+ },
49
+ style: {
50
+ get() {
51
+ if (this.mouseStatus === "hover") {
52
+ return this.hoverStyle;
53
+ } else {
54
+ return this.defaultStyle;
55
+ }
56
+ },
57
+ set(v) {
58
+ this.updateStyle(v);
59
+ }
60
+ },
61
+ clearSuffix() {
62
+ return (v = "") => {
63
+ const value = v === "auto" ? "auto" : typeof v === "string" ? v.replace(/(px|%)/, "") : v;
64
+ return value;
65
+ };
66
+ },
67
+ toNumber() {
68
+ return (v) => Number(v) || 0;
69
+ },
70
+ isSameMargin() {
71
+ const { "margin-top": marginTop, "margin-right": marginRight, "margin-bottom": marginBottom, "margin-left": marginLeft } = this.style;
72
+ return marginTop === marginRight && marginTop === marginBottom && marginTop === marginLeft;
73
+ },
74
+ isSamePadding() {
75
+ const { "padding-top": paddingTop, "padding-right": paddingRight, "padding-bottom": paddingBottom, "padding-left": paddingLeft } = this.style;
76
+ return paddingTop === paddingRight && paddingTop === paddingBottom && paddingTop === paddingLeft;
77
+ },
78
+ shadow() {
79
+ const { hShadow, vShadow, shadowBlur, shadowSpread, shadowColor } = this.style;
80
+ return `${hShadow} ${vShadow} ${shadowBlur} ${shadowSpread} ${shadowColor}`;
81
+ },
82
+ css() {
83
+ if (this.inlineStyle) {
84
+ return this.value || ":current {\r\n\r\n}";
85
+ }
86
+ const { css = ":current {\r\n\r\n}" } = this.designer.selectedWidget || this.designer.pageConfig;
87
+ return css;
88
+ },
89
+ unit() {
90
+ return (item) => {
91
+ const value = this.style[item];
92
+ if (value === "auto") {
93
+ return "";
94
+ } else if (value) {
95
+ return value.replace(/[-\d]+/, "");
96
+ } else {
97
+ return "px";
98
+ }
99
+ };
100
+ },
101
+ borderWidthPosition: {
102
+ get() {
103
+ const positionMap = {};
104
+ this.borderWidthPositionList.map((item) => {
105
+ let borderPositionWidth = this.style[`border-${item.value}-width`];
106
+ if (!borderPositionWidth) {
107
+ const border = this.style[`border-${item.value}`] || this.style.border;
108
+ if (border) {
109
+ borderPositionWidth = border.split(" ")[0];
110
+ }
111
+ }
112
+ positionMap[item.value] = borderPositionWidth || this.style["border-width"] || 0;
113
+ });
114
+ return positionMap;
115
+ }
116
+ },
117
+ borderRadiusPosition: {
118
+ get() {
119
+ const positionMap = {};
120
+ this.borderRadiusPositionList.map((item) => {
121
+ let borderRadiusPosition = this.style[`border-${item.value}-radius`];
122
+ if (!borderRadiusPosition) {
123
+ const borderRadius = this.style["border-radius"];
124
+ if (borderRadius) {
125
+ const borderRadiusArr = borderRadius.split(" ");
126
+ let index = 0;
127
+ if (borderRadiusArr.length === 2) {
128
+ index = item.index % 2;
129
+ } else if (borderRadiusArr.length === 4) {
130
+ index = item.index;
131
+ }
132
+ borderRadiusPosition = borderRadiusArr[index];
133
+ }
134
+ }
135
+ positionMap[item.value] = borderRadiusPosition || 0;
136
+ });
137
+ return positionMap;
138
+ }
139
+ }
140
+ },
141
+ watch: {
142
+ "designer.selectedWidget"(v) {
143
+ if (this.$refs.codeEditorPopover) this.$refs.codeEditorPopover.hide();
144
+ this.showCssEditor = false;
145
+ this.cssToStyle();
146
+ this.load = false;
147
+ this.$nextTick(() => {
148
+ this.load = true;
149
+ });
150
+ },
151
+ "css"(v) {
152
+ },
153
+ style: {
154
+ handler(v = {}) {
155
+ if (this.timer) {
156
+ clearTimeout(this.timer);
157
+ }
158
+ this.timer = setTimeout(() => {
159
+ this.updateCss();
160
+ clearTimeout(this.timer);
161
+ }, 200);
162
+ },
163
+ deep: true
164
+ },
165
+ "style.margin"(v) {
166
+ if (v && v !== "custom") {
167
+ ["-top", "-right", "-bottom", "-left"].forEach((item) => {
168
+ this.style["margin" + item] = v;
169
+ });
170
+ }
171
+ },
172
+ "style.padding"(v) {
173
+ if (v && v !== "custom") {
174
+ ["-top", "-right", "-bottom", "-left"].forEach((item) => {
175
+ this.style["padding" + item] = v;
176
+ });
177
+ }
178
+ },
179
+ "style.text"(v) {
180
+ const option = this.textOption.find((item) => item.value === v);
181
+ if (option && option.style) {
182
+ for (const key in option.style) {
183
+ this.style[key] = option.style[key];
184
+ }
185
+ }
186
+ },
187
+ isSameMargin(v) {
188
+ if (v) {
189
+ this.style.margin = this.style.marginTop || this.style.margin;
190
+ } else {
191
+ this.style.margin = "custom";
192
+ }
193
+ },
194
+ isSamePadding(v) {
195
+ if (v) {
196
+ this.style.padding = this.style.paddingTop || this.style.padding;
197
+ } else {
198
+ this.style.padding = "custom";
199
+ }
200
+ }
201
+ },
202
+ methods: {
203
+ updateStyle(v) {
204
+ if (this.mouseStatus === "hover") {
205
+ this.hoverStyle = v;
206
+ } else {
207
+ this.defaultStyle = v;
208
+ }
209
+ },
210
+ getOption() {
211
+ const textOption = [
212
+ {
213
+ label: this.$t("Translation of the title"),
214
+ value: "h1",
215
+ style: {
216
+ "font-size": "20px",
217
+ "font-weight": "700",
218
+ "line-height": "32px"
219
+ }
220
+ },
221
+ {
222
+ label: this.$t("SubTitle"),
223
+ value: "h2",
224
+ style: {
225
+ "font-size": "16px",
226
+ "font-weight": "700",
227
+ "line-height": "24px"
228
+ }
229
+ },
230
+ {
231
+ label: this.$t("main body"),
232
+ value: "default",
233
+ style: {
234
+ "font-size": "14px",
235
+ "line-height": "20px"
236
+ }
237
+ },
238
+ {
239
+ label: this.$t("auxiliary words"),
240
+ value: "second",
241
+ style: {
242
+ "font-size": "12px",
243
+ color: "#666",
244
+ "line-height": "16px"
245
+ }
246
+ },
247
+ {
248
+ label: this.$t("user-defined"),
249
+ value: "custom"
250
+ }
251
+ ];
252
+ this.textOption = textOption;
253
+ this.predefineColors = ["#ff4500", "#ff8c00", "#ffd700", "#90ee90"];
254
+ this.fontWeightOption = [
255
+ {
256
+ label: this.$t("overstriking"),
257
+ value: "700"
258
+ },
259
+ {
260
+ label: this.$t("thin"),
261
+ value: "400"
262
+ },
263
+ {
264
+ label: this.$t("default"),
265
+ value: "500"
266
+ }
267
+ ];
268
+ this.borderStyleOption = [
269
+ {
270
+ label: this.$t("full line"),
271
+ value: "solid"
272
+ },
273
+ {
274
+ label: this.$t("dotted line"),
275
+ value: "dashed"
276
+ },
277
+ {
278
+ label: this.$t("stipple line"),
279
+ value: "dotted"
280
+ },
281
+ {
282
+ label: this.$t("not"),
283
+ value: "none"
284
+ }
285
+ ];
286
+ this.borderWidthPositionList = [{
287
+ label: "上",
288
+ value: "top"
289
+ }, {
290
+ label: "右",
291
+ value: "right"
292
+ }, {
293
+ label: "下",
294
+ value: "bottom"
295
+ }, {
296
+ label: "左",
297
+ value: "left"
298
+ }];
299
+ this.borderRadiusPositionList = [{
300
+ label: "左上",
301
+ value: "top-left",
302
+ index: 0
303
+ }, {
304
+ label: "右上",
305
+ value: "top-right",
306
+ index: 1
307
+ }, {
308
+ label: "右下",
309
+ value: "bottom-right",
310
+ index: 2
311
+ }, {
312
+ label: "左下",
313
+ value: "bottom-left",
314
+ index: 3
315
+ }];
316
+ this.flexDirectionList = [{
317
+ icon: "epx-icon-fangxiang1",
318
+ value: "row",
319
+ tip: "水平"
320
+ }, {
321
+ icon: "epx-icon-fangxiang2",
322
+ value: "column",
323
+ tip: "垂直"
324
+ }, {
325
+ icon: "epx-icon-fangxiang1",
326
+ value: "row-reverse",
327
+ rotateY: "180deg",
328
+ tip: "水平逆序"
329
+ }, {
330
+ icon: "epx-icon-fangxiang2",
331
+ value: "column-reverse",
332
+ rotateX: "180deg",
333
+ tip: "垂直逆序"
334
+ }];
335
+ this.flexJustifyList = [{
336
+ icon: "epx-icon-left1",
337
+ value: "flex-start",
338
+ tip: "起点对齐"
339
+ }, {
340
+ icon: "epx-icon-justify-center",
341
+ value: "center",
342
+ tip: "居中"
343
+ }, {
344
+ icon: "epx-icon-right1",
345
+ value: "flex-end",
346
+ tip: "终点对齐"
347
+ }, {
348
+ icon: "epx-icon-fangxiang2",
349
+ value: "space-around",
350
+ tip: "均匀排列"
351
+ }, {
352
+ icon: "epx-icon-space-between",
353
+ value: "space-between",
354
+ tip: "两侧对齐"
355
+ }];
356
+ this.flexAlignList = [
357
+ {
358
+ icon: "epx-icon-top",
359
+ value: "flex-start",
360
+ tip: "起点对齐"
361
+ },
362
+ {
363
+ icon: "epx-icon-align-center",
364
+ value: "center",
365
+ tip: "居中"
366
+ },
367
+ {
368
+ icon: "epx-icon-end",
369
+ value: "flex-end",
370
+ tip: "终点对齐"
371
+ }
372
+ ];
373
+ },
374
+ changePx(key, v, unit = "px") {
375
+ if ((unit || v) === "auto") {
376
+ this.style[key] = unit;
377
+ } else {
378
+ const formatV = !Number.isNaN(parseFloat(v)) ? parseFloat(v) + unit : "";
379
+ if (formatV || v === "-") {
380
+ this.style[key] = formatV || v + unit;
381
+ } else {
382
+ delete this.style[key];
383
+ }
384
+ }
385
+ },
386
+ changeBorderWidthPosition(key, v) {
387
+ this.style[`border-${key}-width`] = v + "px";
388
+ },
389
+ changeBorderRadiusPosition(key, v) {
390
+ const borderRadiusPosition = {
391
+ ...this.borderRadiusPosition,
392
+ [key]: v + "px"
393
+ };
394
+ const same = Object.values(borderRadiusPosition).every((item) => item === v + "px");
395
+ if (same) {
396
+ this.style["border-radius"] = v + "px";
397
+ } else if (borderRadiusPosition["top-left"] === borderRadiusPosition["bottom-right"] && borderRadiusPosition["top-right"] === borderRadiusPosition["bottom-left"]) {
398
+ this.style["border-radius"] = `${borderRadiusPosition["top-left"]} ${borderRadiusPosition["top-right"]}`;
399
+ } else {
400
+ this.style["border-radius"] = `${borderRadiusPosition["top-left"]} ${borderRadiusPosition["top-right"]} ${borderRadiusPosition["bottom-right"]} ${borderRadiusPosition["bottom-left"]}`;
401
+ }
402
+ for (const key2 in borderRadiusPosition) {
403
+ delete this.style[`border-${key2}-radius`];
404
+ }
405
+ },
406
+ updateCss() {
407
+ if (!this.initStyle) return;
408
+ const {
409
+ margin,
410
+ "margin-top": marginTop,
411
+ "margin-right": marginRight,
412
+ "margin-bottom": marginBottom,
413
+ "margin-left": marginLeft,
414
+ padding,
415
+ "padding-top": paddingTop,
416
+ "padding-right": paddingRight,
417
+ "padding-bottom": paddingBottom,
418
+ "padding-left": paddingLeft,
419
+ hShadow = 0,
420
+ vShadow = 0,
421
+ shadowBlur = 0,
422
+ shadowSpread = 0,
423
+ shadowColor,
424
+ text,
425
+ ...otherStyle
426
+ } = this.style;
427
+ const style = {
428
+ ...otherStyle
429
+ };
430
+ if (hShadow || vShadow || shadowBlur) {
431
+ style.boxShadow = `${hShadow} ${vShadow} ${shadowBlur} ${shadowSpread} ${shadowColor}`;
432
+ }
433
+ if (margin !== "default") {
434
+ if (!this.isSameMargin) {
435
+ if (![marginTop, marginRight, marginBottom, marginLeft].includes("default") && ![marginTop, marginRight, marginBottom, marginLeft].includes(void 0)) {
436
+ style.margin = `${marginTop} ${marginRight} ${marginBottom} ${marginLeft}`;
437
+ } else {
438
+ if (marginTop && marginTop !== "default") style.marginTop = marginTop;
439
+ if (marginRight && marginRight !== "default") style.marginRight = marginRight;
440
+ if (marginBottom && marginBottom !== "default") style.marginBottom = marginBottom;
441
+ if (marginLeft && marginLeft !== "default") style.marginLeft = marginLeft;
442
+ }
443
+ } else if (margin) {
444
+ style.margin = margin;
445
+ }
446
+ }
447
+ if (padding) {
448
+ if (!this.isSamePadding) {
449
+ if (![paddingTop, paddingRight, paddingBottom, paddingLeft].includes("default") && ![paddingTop, paddingRight, paddingBottom, paddingLeft].includes(void 0)) {
450
+ style.padding = `${paddingTop} ${paddingRight} ${paddingBottom} ${paddingLeft}`;
451
+ } else {
452
+ if (paddingTop && paddingTop !== "default") style.paddingTop = paddingTop;
453
+ if (paddingRight && paddingRight !== "default") style.paddingRight = paddingRight;
454
+ if (paddingBottom && paddingBottom !== "default") style.paddingBottom = paddingBottom;
455
+ if (paddingLeft && paddingLeft !== "default") style.paddingLeft = paddingLeft;
456
+ }
457
+ } else {
458
+ style.padding = padding;
459
+ }
460
+ }
461
+ for (const key in style) {
462
+ if (!style[key]) delete style[key];
463
+ }
464
+ if (this.$_.isEqual(style, this.oldStyle)) return;
465
+ this.oldStyle = { ...style };
466
+ const css = this.styleToCss(style);
467
+ if (this.inlineStyle) {
468
+ this.$emit("input", css);
469
+ } else if (this.type === "page") {
470
+ this.designer.updatePageConfig({ css });
471
+ } else {
472
+ this.designer.updateWidget(this.designer.selectedWidget.id, { css });
473
+ }
474
+ },
475
+ cssToStyle() {
476
+ let style = {};
477
+ let hoverStyle = {};
478
+ const css = this.css || "";
479
+ if (css) {
480
+ const cssObject = this.cssToObject(css);
481
+ style = cssObject[":current"];
482
+ if (cssObject[":current:hover"]) hoverStyle = cssObject[":current:hover"];
483
+ }
484
+ const formatStyle = (style2) => {
485
+ const { margin, padding, "box-shadow": boxShadow, ...otherStyle } = style2;
486
+ const componentStyle = {};
487
+ for (const key in style2) {
488
+ const value = style2[key];
489
+ if (key === "box-shadow") {
490
+ if (value) {
491
+ const shadowColor = value.split("rgb")[1];
492
+ const shadowArr = value.split(/\s+/);
493
+ componentStyle.hShadow = shadowArr[0] || 0;
494
+ componentStyle.vShadow = shadowArr[1] || 0;
495
+ componentStyle.shadowBlur = shadowArr[2] || 0;
496
+ componentStyle.shadowSpread = shadowArr[3] || 0;
497
+ componentStyle.shadowColor = shadowColor ? "rgb" + shadowColor : "";
498
+ }
499
+ } else if (key === "margin") {
500
+ if (value) {
501
+ const arr = value.split(" ");
502
+ if (arr.length === 2) {
503
+ componentStyle.margin = "custom";
504
+ componentStyle["margin-top"] = arr[0];
505
+ componentStyle["margin-right"] = arr[1];
506
+ componentStyle["margin-bottom"] = arr[0];
507
+ componentStyle["margin-left"] = arr[1];
508
+ } else if (arr.length === 3) {
509
+ componentStyle.margin = "custom";
510
+ componentStyle["margin-top"] = arr[0];
511
+ componentStyle["margin-right"] = arr[1];
512
+ componentStyle["margin-bottom"] = arr[2];
513
+ componentStyle["margin-left"] = arr[1];
514
+ } else if (arr.length === 4) {
515
+ componentStyle.margin = "custom";
516
+ componentStyle["margin-top"] = arr[0];
517
+ componentStyle["margin-right"] = arr[1];
518
+ componentStyle["margin-bottom"] = arr[2];
519
+ componentStyle["margin-left"] = arr[3];
520
+ } else {
521
+ componentStyle.margin = margin;
522
+ }
523
+ }
524
+ } else if (key === "padding") {
525
+ if (value) {
526
+ const arr = value.split(" ");
527
+ if (arr.length === 2) {
528
+ componentStyle.padding = "custom";
529
+ componentStyle["padding-top"] = arr[0];
530
+ componentStyle["padding-right"] = arr[1];
531
+ componentStyle["padding-bottom"] = arr[0];
532
+ componentStyle["padding-left"] = arr[1];
533
+ } else if (arr.length === 3) {
534
+ componentStyle.padding = "custom";
535
+ componentStyle["padding-top"] = arr[0];
536
+ componentStyle["padding-right"] = arr[1];
537
+ componentStyle["padding-bottom"] = arr[2];
538
+ componentStyle["padding-left"] = arr[1];
539
+ } else if (arr.length === 4) {
540
+ componentStyle.padding = "custom";
541
+ componentStyle["padding-top"] = arr[0];
542
+ componentStyle["padding-right"] = arr[1];
543
+ componentStyle["padding-bottom"] = arr[2];
544
+ componentStyle["padding-left"] = arr[3];
545
+ } else {
546
+ componentStyle.padding = padding;
547
+ }
548
+ }
549
+ }
550
+ }
551
+ return { ...componentStyle, ...otherStyle };
552
+ };
553
+ this.defaultStyle = formatStyle(style);
554
+ this.hoverStyle = formatStyle(hoverStyle);
555
+ this.$nextTick(() => {
556
+ this.borderWidthType = Object.values(this.borderWidthPosition).every((item) => item === this.borderWidthPosition.top) ? "same" : "diff";
557
+ this.borderRadiusType = Object.values(this.borderRadiusPosition).every((item) => item === this.borderRadiusPosition["top-left"]) ? "same" : "diff";
558
+ this.initStyle = true;
559
+ });
560
+ },
561
+ cssToObject(css) {
562
+ const cssObject = {};
563
+ const regExp = /[\w-_.:#\s]+{[\w\s-.:;,()#%/]+}/g;
564
+ const classList = css.match(regExp);
565
+ classList.forEach((item) => {
566
+ const className = item.split("{")[0].trim();
567
+ const classContent = item.split("{")[1].split("}")[0];
568
+ var style = {};
569
+ const rules = classContent.split(";");
570
+ rules.forEach((rule) => {
571
+ try {
572
+ var pair = rule.split(":");
573
+ var property = pair[0].trim();
574
+ var value = pair[1].trim();
575
+ if (property && value) {
576
+ style[property] = value;
577
+ }
578
+ } catch (error) {
579
+ }
580
+ });
581
+ cssObject[className] = style;
582
+ });
583
+ return cssObject;
584
+ },
585
+ styleToCss(style) {
586
+ let str = (this.mouseStatus === "hover" ? ":current:hover" : ":current") + " {";
587
+ for (const key in style) {
588
+ const kebabCase = key.replace(/([A-Z])/g, ($1) => {
589
+ return "-" + $1.toLocaleLowerCase();
590
+ });
591
+ str += `\r
592
+ ${kebabCase}: ${style[key]};`;
593
+ }
594
+ str += "\r\n}";
595
+ const regExp = this.mouseStatus === "hover" ? /[\s]*:current:hover\s*{[\w\s-:;.,()%#!/]+}/ : /[\s]*:current\s*{[\w\s-:;.,()#%!/]+}/;
596
+ const css = this.css || "";
597
+ if (css.match(regExp)) {
598
+ return css.replace(regExp, this.mouseStatus === "hover" ? "\r\n" + str : str);
599
+ } else {
600
+ return css + "\r\n" + str;
601
+ }
602
+ },
603
+ changeCss(v) {
604
+ if (this.inlineStyle) {
605
+ this.$emit("input", v);
606
+ } else if (this.type === "page") {
607
+ this.designer.updatePageConfig({ css: v });
608
+ } else {
609
+ this.designer.updateWidget(this.designer.selectedWidget.id, { css: v });
610
+ }
611
+ this.cssToStyle();
612
+ }
613
+ },
614
+ created() {
615
+ this.getOption();
616
+ this.cssToStyle();
617
+ }
618
+ };
619
+ const _hoisted_1 = {
620
+ key: 0,
621
+ class: "epx-page-designer-setting-style"
622
+ };
623
+ const _hoisted_2 = { class: "epx-page-designer-setting-style__item--alone" };
624
+ const _hoisted_3 = { class: "epx-page-designer-setting-style__item--alone" };
625
+ const _hoisted_4 = {
626
+ class: "epx-page-designer-setting-style__label",
627
+ for: ""
628
+ };
629
+ const _hoisted_5 = { class: "epx-page-designer-setting-style__item--alone" };
630
+ const _hoisted_6 = {
631
+ class: "epx-page-designer-setting-style__label",
632
+ for: ""
633
+ };
634
+ const _hoisted_7 = { class: "epx-page-designer-setting-style__header" };
635
+ const _hoisted_8 = {
636
+ class: "epx-page-designer-setting-style__label",
637
+ for: ""
638
+ };
639
+ const _hoisted_9 = {
640
+ key: 0,
641
+ class: "epx-page-designer-setting-style__content"
642
+ };
643
+ const _hoisted_10 = { class: "epx-page-designer-setting-style__subitem" };
644
+ const _hoisted_11 = { class: "epx-page-designer-setting-style__subitem" };
645
+ const _hoisted_12 = {
646
+ class: "epx-page-designer-setting-style__label",
647
+ for: ""
648
+ };
649
+ const _hoisted_13 = { class: "epx-page-designer-setting-style__subitem" };
650
+ const _hoisted_14 = {
651
+ class: "epx-page-designer-setting-style__label",
652
+ for: ""
653
+ };
654
+ const _hoisted_15 = { class: "epx-page-designer-setting-style__header" };
655
+ const _hoisted_16 = ["onClick"];
656
+ const _hoisted_17 = {
657
+ class: "epx-page-designer-setting-style__label",
658
+ for: ""
659
+ };
660
+ const _hoisted_18 = { class: "epx-page-designer-setting-style__content" };
661
+ const _hoisted_19 = {
662
+ class: "epx-page-designer-setting-style__label",
663
+ for: ""
664
+ };
665
+ const _hoisted_20 = { class: "epx-page-designer-setting-style__header" };
666
+ const _hoisted_21 = {
667
+ class: "epx-page-designer-setting-style__label",
668
+ for: ""
669
+ };
670
+ const _hoisted_22 = { class: "epx-page-designer-setting-style__content" };
671
+ const _hoisted_23 = { class: "epx-page-designer-setting-style__subitem" };
672
+ const _hoisted_24 = {
673
+ class: "epx-page-designer-setting-style__label",
674
+ for: ""
675
+ };
676
+ const _hoisted_25 = { class: "epx-page-designer-setting-style__subitem" };
677
+ const _hoisted_26 = {
678
+ class: "epx-page-designer-setting-style__label",
679
+ for: ""
680
+ };
681
+ const _hoisted_27 = { class: "epx-page-designer-setting-style__subitem" };
682
+ const _hoisted_28 = {
683
+ class: "epx-page-designer-setting-style__label",
684
+ for: ""
685
+ };
686
+ const _hoisted_29 = { class: "epx-page-designer-setting-style__subitem" };
687
+ const _hoisted_30 = {
688
+ class: "epx-page-designer-setting-style__label",
689
+ for: ""
690
+ };
691
+ const _hoisted_31 = { class: "epx-page-designer-setting-style__subitem" };
692
+ const _hoisted_32 = {
693
+ class: "epx-page-designer-setting-style__label",
694
+ for: ""
695
+ };
696
+ const _hoisted_33 = { class: "epx-page-designer-setting-style__header" };
697
+ const _hoisted_34 = {
698
+ class: "epx-page-designer-setting-style__label",
699
+ for: ""
700
+ };
701
+ const _hoisted_35 = { class: "epx-page-designer-setting-style__content" };
702
+ const _hoisted_36 = { class: "epx-page-designer-setting-style__header" };
703
+ const _hoisted_37 = {
704
+ class: "epx-page-designer-setting-style__label",
705
+ for: ""
706
+ };
707
+ const _hoisted_38 = { class: "epx-page-designer-setting-style__content" };
708
+ const _hoisted_39 = { class: "epx-page-designer-setting-style__subitem" };
709
+ const _hoisted_40 = {
710
+ class: "epx-page-designer-setting-style__label",
711
+ for: ""
712
+ };
713
+ const _hoisted_41 = { class: "epx-page-designer-setting-style__subitem" };
714
+ const _hoisted_42 = {
715
+ class: "epx-page-designer-setting-style__label",
716
+ for: ""
717
+ };
718
+ const _hoisted_43 = {
719
+ key: 0,
720
+ class: "epx-page-designer-setting-style__border-position"
721
+ };
722
+ const _hoisted_44 = { class: "epx-page-designer-setting-style__subitem" };
723
+ const _hoisted_45 = {
724
+ class: "epx-page-designer-setting-style__label",
725
+ for: ""
726
+ };
727
+ const _hoisted_46 = { class: "epx-page-designer-setting-style__subitem" };
728
+ const _hoisted_47 = {
729
+ class: "epx-page-designer-setting-style__label",
730
+ for: ""
731
+ };
732
+ const _hoisted_48 = {
733
+ key: 0,
734
+ class: "epx-page-designer-setting-style__border-position"
735
+ };
736
+ const _hoisted_49 = { class: "epx-page-designer-setting-style__header" };
737
+ const _hoisted_50 = {
738
+ class: "epx-page-designer-setting-style__label",
739
+ for: ""
740
+ };
741
+ const _hoisted_51 = { class: "epx-page-designer-setting-style__content" };
742
+ const _hoisted_52 = { class: "epx-page-designer-setting-style__subitem" };
743
+ const _hoisted_53 = {
744
+ class: "epx-page-designer-setting-style__label",
745
+ for: ""
746
+ };
747
+ const _hoisted_54 = { class: "epx-page-designer-setting-style__subitem" };
748
+ const _hoisted_55 = {
749
+ class: "epx-page-designer-setting-style__label",
750
+ for: ""
751
+ };
752
+ const _hoisted_56 = { class: "epx-page-designer-setting-style__subitem" };
753
+ const _hoisted_57 = {
754
+ class: "epx-page-designer-setting-style__label",
755
+ for: ""
756
+ };
757
+ const _hoisted_58 = { class: "epx-page-designer-setting-style__subitem" };
758
+ const _hoisted_59 = {
759
+ class: "epx-page-designer-setting-style__label",
760
+ for: ""
761
+ };
762
+ const _hoisted_60 = { class: "epx-page-designer-setting-style__subitem" };
763
+ const _hoisted_61 = {
764
+ class: "epx-page-designer-setting-style__label",
765
+ for: ""
766
+ };
767
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
768
+ const _component_css_editor = resolveComponent("css-editor");
769
+ const _component_el_popover = resolveComponent("el-popover");
770
+ const _component_el_option = resolveComponent("el-option");
771
+ const _component_el_select = resolveComponent("el-select");
772
+ const _component_el_input = resolveComponent("el-input");
773
+ const _component_el_tooltip = resolveComponent("el-tooltip");
774
+ const _component_el_radio_button = resolveComponent("el-radio-button");
775
+ const _component_el_radio_group = resolveComponent("el-radio-group");
776
+ const _component_el_input_number = resolveComponent("el-input-number");
777
+ const _component_el_color_picker = resolveComponent("el-color-picker");
778
+ const _component_epx_visual_config_background = resolveComponent("epx-visual-config-background");
779
+ return $data.load ? (openBlock(), createElementBlock("div", _hoisted_1, [
780
+ createVNode(_component_el_popover, {
781
+ ref: "cssEditorPopover",
782
+ placement: "bottom",
783
+ width: "400",
784
+ trigger: "click",
785
+ onBeforeEnter: _cache[0] || (_cache[0] = ($event) => $data.showCssEditor = true),
786
+ onAfterLeave: _cache[1] || (_cache[1] = ($event) => $data.showCssEditor = false)
787
+ }, {
788
+ reference: withCtx(() => [..._cache[34] || (_cache[34] = [
789
+ createElementVNode("div", { class: "epx-page-designer-setting-style__custom-btn" }, [
790
+ createElementVNode("i", { class: "epx-icon-yangshi" }),
791
+ createElementVNode("span", null, "自定义样式")
792
+ ], -1)
793
+ ])]),
794
+ default: withCtx(() => [
795
+ $data.showCssEditor ? (openBlock(), createBlock(_component_css_editor, {
796
+ key: 0,
797
+ value: $options.css,
798
+ onChange: $options.changeCss
799
+ }, null, 8, ["value", "onChange"])) : createCommentVNode("", true)
800
+ ]),
801
+ _: 1
802
+ }, 512),
803
+ createElementVNode("div", _hoisted_2, [
804
+ _cache[35] || (_cache[35] = createElementVNode("label", {
805
+ class: "epx-page-designer-setting-style__label",
806
+ for: ""
807
+ }, "状态", -1)),
808
+ createVNode(_component_el_select, {
809
+ modelValue: $data.mouseStatus,
810
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.mouseStatus = $event),
811
+ size: "small"
812
+ }, {
813
+ default: withCtx(() => [
814
+ createVNode(_component_el_option, {
815
+ label: "默认状态",
816
+ value: "default"
817
+ }),
818
+ createVNode(_component_el_option, {
819
+ label: "悬浮状态",
820
+ value: "hover"
821
+ })
822
+ ]),
823
+ _: 1
824
+ }, 8, ["modelValue"])
825
+ ]),
826
+ createElementVNode("div", _hoisted_3, [
827
+ createElementVNode("label", _hoisted_4, toDisplayString(_ctx.$t("width")), 1),
828
+ createVNode(_component_el_input, {
829
+ class: "epx-page-designer-setting-style__number-with-unit",
830
+ size: "small",
831
+ "model-value": $options.clearSuffix($options.style["width"]),
832
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = (v) => $options.changePx("width", v, $options.unit("width")))
833
+ }, {
834
+ append: withCtx(() => [
835
+ createVNode(_component_el_select, {
836
+ class: "epx-page-designer-setting-style__unit",
837
+ "model-value": $options.unit("width"),
838
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = (v) => $options.changePx("width", $options.style["width"], v)),
839
+ size: "small",
840
+ placeholder: "-"
841
+ }, {
842
+ default: withCtx(() => [
843
+ createVNode(_component_el_option, {
844
+ label: "px",
845
+ value: "px"
846
+ }),
847
+ createVNode(_component_el_option, {
848
+ label: "%",
849
+ value: "%"
850
+ }),
851
+ createVNode(_component_el_option, {
852
+ label: "auto",
853
+ value: "auto"
854
+ })
855
+ ]),
856
+ _: 1
857
+ }, 8, ["model-value"])
858
+ ]),
859
+ _: 1
860
+ }, 8, ["model-value"])
861
+ ]),
862
+ createElementVNode("div", _hoisted_5, [
863
+ createElementVNode("label", _hoisted_6, toDisplayString(_ctx.$t("height")), 1),
864
+ createVNode(_component_el_input, {
865
+ class: "epx-page-designer-setting-style__number-with-unit",
866
+ size: "small",
867
+ "model-value": $options.clearSuffix($options.style["height"]),
868
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = (v) => $options.changePx("height", v, $options.unit("height")))
869
+ }, {
870
+ append: withCtx(() => [
871
+ createVNode(_component_el_select, {
872
+ class: "epx-page-designer-setting-style__unit",
873
+ "model-value": $options.unit("height"),
874
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = (v) => $options.changePx("height", $options.style["height"], v)),
875
+ size: "small",
876
+ placeholder: "-"
877
+ }, {
878
+ default: withCtx(() => [
879
+ createVNode(_component_el_option, {
880
+ label: "px",
881
+ value: "px"
882
+ }),
883
+ createVNode(_component_el_option, {
884
+ label: "%",
885
+ value: "%"
886
+ }),
887
+ createVNode(_component_el_option, {
888
+ label: "auto",
889
+ value: "auto"
890
+ })
891
+ ]),
892
+ _: 1
893
+ }, 8, ["model-value"])
894
+ ]),
895
+ _: 1
896
+ }, 8, ["model-value"])
897
+ ]),
898
+ createElementVNode("div", {
899
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold.display })
900
+ }, [
901
+ createElementVNode("div", _hoisted_7, [
902
+ createElementVNode("span", null, [
903
+ createElementVNode("i", {
904
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
905
+ onClick: _cache[7] || (_cache[7] = ($event) => $data.unfold["display"] = !$data.unfold.display)
906
+ }),
907
+ createElementVNode("label", _hoisted_8, toDisplayString(_ctx.$t("layout")), 1)
908
+ ]),
909
+ createVNode(_component_el_radio_group, {
910
+ class: "epx-page-designer-setting-style__radio-button-group",
911
+ modelValue: $options.style["display"],
912
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.style["display"] = $event),
913
+ size: "default"
914
+ }, {
915
+ default: withCtx(() => [
916
+ createVNode(_component_el_radio_button, {
917
+ label: "block",
918
+ value: "block"
919
+ }, {
920
+ default: withCtx(() => [
921
+ createVNode(_component_el_tooltip, {
922
+ effect: "dark",
923
+ content: "块级元素,独占一行"
924
+ }, {
925
+ default: withCtx(() => [..._cache[36] || (_cache[36] = [
926
+ createElementVNode("i", { class: "epx-icon-bolck" }, null, -1)
927
+ ])]),
928
+ _: 1
929
+ })
930
+ ]),
931
+ _: 1
932
+ }),
933
+ createVNode(_component_el_radio_button, {
934
+ label: "inline-block",
935
+ value: "inline-block"
936
+ }, {
937
+ default: withCtx(() => [
938
+ createVNode(_component_el_tooltip, {
939
+ effect: "dark",
940
+ content: "行内块元素,不独占一行"
941
+ }, {
942
+ default: withCtx(() => [..._cache[37] || (_cache[37] = [
943
+ createElementVNode("i", { class: "epx-icon-inline-bolck" }, null, -1)
944
+ ])]),
945
+ _: 1
946
+ })
947
+ ]),
948
+ _: 1
949
+ }),
950
+ createVNode(_component_el_radio_button, {
951
+ label: "inline",
952
+ value: "inline"
953
+ }, {
954
+ default: withCtx(() => [
955
+ createVNode(_component_el_tooltip, {
956
+ effect: "dark",
957
+ content: "内联元素,不独占一行,宽度为内容宽度不可设置"
958
+ }, {
959
+ default: withCtx(() => [..._cache[38] || (_cache[38] = [
960
+ createElementVNode("i", { class: "epx-icon-inline" }, null, -1)
961
+ ])]),
962
+ _: 1
963
+ })
964
+ ]),
965
+ _: 1
966
+ }),
967
+ createVNode(_component_el_radio_button, {
968
+ label: "flex",
969
+ value: "flex"
970
+ }, {
971
+ default: withCtx(() => [
972
+ createVNode(_component_el_tooltip, {
973
+ effect: "dark",
974
+ content: "弹性盒子,可设置子元素内部排列方式"
975
+ }, {
976
+ default: withCtx(() => [..._cache[39] || (_cache[39] = [
977
+ createElementVNode("i", { class: "epx-icon-flex" }, null, -1)
978
+ ])]),
979
+ _: 1
980
+ })
981
+ ]),
982
+ _: 1
983
+ })
984
+ ]),
985
+ _: 1
986
+ }, 8, ["modelValue"])
987
+ ]),
988
+ $options.style["display"] === "flex" ? (openBlock(), createElementBlock("div", _hoisted_9, [
989
+ createElementVNode("div", _hoisted_10, [
990
+ _cache[40] || (_cache[40] = createElementVNode("label", {
991
+ class: "epx-page-designer-setting-style__label",
992
+ for: ""
993
+ }, "方向", -1)),
994
+ createVNode(_component_el_radio_group, {
995
+ class: "epx-page-designer-setting-style__radio-button-group",
996
+ modelValue: $options.style["flex-direction"],
997
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.style["flex-direction"] = $event),
998
+ size: "small"
999
+ }, {
1000
+ default: withCtx(() => [
1001
+ (openBlock(true), createElementBlock(Fragment, null, renderList(this.flexDirectionList, (item) => {
1002
+ return openBlock(), createBlock(_component_el_radio_button, {
1003
+ label: item.value,
1004
+ value: item.value,
1005
+ key: item.value
1006
+ }, {
1007
+ default: withCtx(() => [
1008
+ createVNode(_component_el_tooltip, {
1009
+ effect: "dark",
1010
+ content: item.tip,
1011
+ placement: "top"
1012
+ }, {
1013
+ default: withCtx(() => [
1014
+ createElementVNode("i", {
1015
+ class: normalizeClass(item.icon),
1016
+ style: normalizeStyle({ transform: `rotateY(${item.rotateY || 0}) rotateX(${item.rotateX || 0})` })
1017
+ }, null, 6)
1018
+ ]),
1019
+ _: 2
1020
+ }, 1032, ["content"])
1021
+ ]),
1022
+ _: 2
1023
+ }, 1032, ["label", "value"]);
1024
+ }), 128))
1025
+ ]),
1026
+ _: 1
1027
+ }, 8, ["modelValue"])
1028
+ ]),
1029
+ createElementVNode("div", _hoisted_11, [
1030
+ createElementVNode("label", _hoisted_12, toDisplayString(["column", "column-reverse"].includes($options.style["flex-direction"]) ? "垂直" : "水平"), 1),
1031
+ createVNode(_component_el_radio_group, {
1032
+ class: "epx-page-designer-setting-style__radio-button-group",
1033
+ modelValue: $options.style["justify-content"],
1034
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.style["justify-content"] = $event),
1035
+ size: "small"
1036
+ }, {
1037
+ default: withCtx(() => [
1038
+ (openBlock(true), createElementBlock(Fragment, null, renderList(this.flexJustifyList, (item) => {
1039
+ return openBlock(), createBlock(_component_el_radio_button, {
1040
+ label: item.value,
1041
+ value: item.value,
1042
+ key: item.value
1043
+ }, {
1044
+ default: withCtx(() => [
1045
+ createVNode(_component_el_tooltip, {
1046
+ effect: "dark",
1047
+ content: item.tip,
1048
+ placement: "top"
1049
+ }, {
1050
+ default: withCtx(() => [
1051
+ createElementVNode("i", {
1052
+ class: normalizeClass(item.icon)
1053
+ }, null, 2)
1054
+ ]),
1055
+ _: 2
1056
+ }, 1032, ["content"])
1057
+ ]),
1058
+ _: 2
1059
+ }, 1032, ["label", "value"]);
1060
+ }), 128))
1061
+ ]),
1062
+ _: 1
1063
+ }, 8, ["modelValue"])
1064
+ ]),
1065
+ createElementVNode("div", _hoisted_13, [
1066
+ createElementVNode("label", _hoisted_14, toDisplayString(["column", "column-reverse"].includes($options.style["flex-direction"]) ? "水平" : "垂直"), 1),
1067
+ createVNode(_component_el_radio_group, {
1068
+ class: "epx-page-designer-setting-style__radio-button-group",
1069
+ modelValue: $options.style["align-items"],
1070
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.style["align-items"] = $event),
1071
+ size: "small"
1072
+ }, {
1073
+ default: withCtx(() => [
1074
+ (openBlock(true), createElementBlock(Fragment, null, renderList(this.flexAlignList, (item) => {
1075
+ return openBlock(), createBlock(_component_el_radio_button, {
1076
+ label: item.value,
1077
+ value: item.value,
1078
+ key: item.value
1079
+ }, {
1080
+ default: withCtx(() => [
1081
+ createVNode(_component_el_tooltip, {
1082
+ effect: "dark",
1083
+ content: item.tip,
1084
+ placement: "top"
1085
+ }, {
1086
+ default: withCtx(() => [
1087
+ createElementVNode("i", {
1088
+ class: normalizeClass(item.icon)
1089
+ }, null, 2)
1090
+ ]),
1091
+ _: 2
1092
+ }, 1032, ["content"])
1093
+ ]),
1094
+ _: 2
1095
+ }, 1032, ["label", "value"]);
1096
+ }), 128))
1097
+ ]),
1098
+ _: 1
1099
+ }, 8, ["modelValue"])
1100
+ ])
1101
+ ])) : createCommentVNode("", true)
1102
+ ], 2),
1103
+ (openBlock(true), createElementBlock(Fragment, null, renderList([{ label: _ctx.$t("margin"), value: "margin" }, { label: _ctx.$t("padding"), value: "padding" }], (item) => {
1104
+ return openBlock(), createElementBlock("div", {
1105
+ key: item.value,
1106
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold[item.value] })
1107
+ }, [
1108
+ createElementVNode("div", _hoisted_15, [
1109
+ createElementVNode("span", null, [
1110
+ createElementVNode("i", {
1111
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
1112
+ onClick: ($event) => $data.unfold[item.value] = !$data.unfold[item.value]
1113
+ }, null, 8, _hoisted_16),
1114
+ createElementVNode("label", _hoisted_17, toDisplayString(item.label), 1)
1115
+ ]),
1116
+ createVNode(_component_el_select, {
1117
+ class: "selection",
1118
+ size: "small",
1119
+ modelValue: $options.style[item.value],
1120
+ "onUpdate:modelValue": ($event) => $options.style[item.value] = $event,
1121
+ placeholder: _ctx.$t("default")
1122
+ }, {
1123
+ default: withCtx(() => [
1124
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.space, (item2) => {
1125
+ return openBlock(), createBlock(_component_el_option, {
1126
+ key: item2.value,
1127
+ label: item2.label,
1128
+ value: item2.value
1129
+ }, null, 8, ["label", "value"]);
1130
+ }), 128)),
1131
+ createVNode(_component_el_input, {
1132
+ class: "epx-page-designer-setting-style__number-with-unit",
1133
+ size: "small",
1134
+ "model-value": $options.clearSuffix($options.style[item.value]),
1135
+ "onUpdate:modelValue": (v) => $options.changePx(item.value, v, $options.unit(item.value))
1136
+ }, {
1137
+ append: withCtx(() => [
1138
+ createVNode(_component_el_select, {
1139
+ class: "epx-page-designer-setting-style__unit",
1140
+ "model-value": $options.unit(item.value),
1141
+ "onUpdate:modelValue": (v) => $options.changePx(item.value, $options.style[item.value], v),
1142
+ size: "small",
1143
+ placeholder: "-"
1144
+ }, {
1145
+ default: withCtx(() => [
1146
+ createVNode(_component_el_option, {
1147
+ label: "px",
1148
+ value: "px"
1149
+ }),
1150
+ createVNode(_component_el_option, {
1151
+ label: "%",
1152
+ value: "%"
1153
+ }),
1154
+ createVNode(_component_el_option, {
1155
+ label: "auto",
1156
+ value: "auto"
1157
+ })
1158
+ ]),
1159
+ _: 1
1160
+ }, 8, ["model-value", "onUpdate:modelValue"])
1161
+ ]),
1162
+ _: 2
1163
+ }, 1032, ["model-value", "onUpdate:modelValue"])
1164
+ ]),
1165
+ _: 2
1166
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
1167
+ ]),
1168
+ createElementVNode("div", _hoisted_18, [
1169
+ (openBlock(true), createElementBlock(Fragment, null, renderList([{ label: _ctx.$t("top margin"), value: "-top" }, { label: _ctx.$t("right margin"), value: "-right" }, { label: _ctx.$t("bottom margin"), value: "-bottom" }, { label: _ctx.$t("left margin"), value: "-left" }], (subItem) => {
1170
+ return openBlock(), createElementBlock("div", {
1171
+ class: "epx-page-designer-setting-style__subitem",
1172
+ key: subItem.value
1173
+ }, [
1174
+ createElementVNode("label", _hoisted_19, toDisplayString(subItem.label), 1),
1175
+ createVNode(_component_el_select, {
1176
+ class: "selection",
1177
+ size: "small",
1178
+ modelValue: $options.style[item.value + subItem.value],
1179
+ "onUpdate:modelValue": ($event) => $options.style[item.value + subItem.value] = $event,
1180
+ placeholder: _ctx.$t("default")
1181
+ }, {
1182
+ default: withCtx(() => [
1183
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.space, (item2) => {
1184
+ return openBlock(), createBlock(_component_el_option, {
1185
+ key: item2.value,
1186
+ label: item2.label,
1187
+ value: item2.value
1188
+ }, null, 8, ["label", "value"]);
1189
+ }), 128)),
1190
+ createVNode(_component_el_input, {
1191
+ class: "epx-page-designer-setting-style__number-with-unit",
1192
+ size: "small",
1193
+ "model-value": $options.clearSuffix($options.style[item.value + subItem.value]),
1194
+ "onUpdate:modelValue": (v) => $options.changePx(item.value + subItem.value, v, $options.unit(item.value + subItem.value))
1195
+ }, {
1196
+ append: withCtx(() => [
1197
+ createVNode(_component_el_select, {
1198
+ class: "epx-page-designer-setting-style__unit",
1199
+ "model-value": $options.unit(item.value + subItem.value),
1200
+ "onUpdate:modelValue": (v) => $options.changePx(item.value + subItem.value, $options.style[item.value + subItem.value], v),
1201
+ size: "small",
1202
+ placeholder: "-"
1203
+ }, {
1204
+ default: withCtx(() => [
1205
+ createVNode(_component_el_option, {
1206
+ label: "px",
1207
+ value: "px"
1208
+ }),
1209
+ createVNode(_component_el_option, {
1210
+ label: "%",
1211
+ value: "%"
1212
+ }),
1213
+ createVNode(_component_el_option, {
1214
+ label: "auto",
1215
+ value: "auto"
1216
+ })
1217
+ ]),
1218
+ _: 1
1219
+ }, 8, ["model-value", "onUpdate:modelValue"])
1220
+ ]),
1221
+ _: 2
1222
+ }, 1032, ["model-value", "onUpdate:modelValue"])
1223
+ ]),
1224
+ _: 2
1225
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
1226
+ ]);
1227
+ }), 128))
1228
+ ])
1229
+ ], 2);
1230
+ }), 128)),
1231
+ createElementVNode("div", {
1232
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold.text })
1233
+ }, [
1234
+ createElementVNode("div", _hoisted_20, [
1235
+ createElementVNode("span", null, [
1236
+ createElementVNode("i", {
1237
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
1238
+ onClick: _cache[12] || (_cache[12] = ($event) => $data.unfold["text"] = !$data.unfold.text)
1239
+ }),
1240
+ createElementVNode("label", _hoisted_21, toDisplayString(_ctx.$t("word")), 1)
1241
+ ]),
1242
+ createVNode(_component_el_select, {
1243
+ class: "selection",
1244
+ size: "small",
1245
+ modelValue: $options.style.text,
1246
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.style.text = $event),
1247
+ placeholder: _ctx.$t("default")
1248
+ }, {
1249
+ default: withCtx(() => [
1250
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.textOption, (item) => {
1251
+ return openBlock(), createBlock(_component_el_option, {
1252
+ key: item.value,
1253
+ label: item.label,
1254
+ value: item.value
1255
+ }, null, 8, ["label", "value"]);
1256
+ }), 128))
1257
+ ]),
1258
+ _: 1
1259
+ }, 8, ["modelValue", "placeholder"])
1260
+ ]),
1261
+ createElementVNode("div", _hoisted_22, [
1262
+ createElementVNode("div", _hoisted_23, [
1263
+ createElementVNode("label", _hoisted_24, toDisplayString(_ctx.$t("word size")), 1),
1264
+ createVNode(_component_el_input_number, {
1265
+ size: "small",
1266
+ "model-value": $options.toNumber($options.clearSuffix($options.style["font-size"])),
1267
+ "controls-position": "right",
1268
+ onChange: _cache[14] || (_cache[14] = (v) => $options.style["font-size"] = v + "px")
1269
+ }, null, 8, ["model-value"])
1270
+ ]),
1271
+ createElementVNode("div", _hoisted_25, [
1272
+ createElementVNode("label", _hoisted_26, toDisplayString(_ctx.$t("row height")), 1),
1273
+ createVNode(_component_el_input_number, {
1274
+ size: "small",
1275
+ "model-value": $options.toNumber($options.clearSuffix($options.style["line-height"])),
1276
+ "controls-position": "right",
1277
+ onChange: _cache[15] || (_cache[15] = (v) => $options.style["line-height"] = v + "px")
1278
+ }, null, 8, ["model-value"])
1279
+ ]),
1280
+ createElementVNode("div", _hoisted_27, [
1281
+ createElementVNode("label", _hoisted_28, toDisplayString(_ctx.$t("text direction")), 1),
1282
+ createVNode(_component_el_radio_group, {
1283
+ modelValue: $options.style["text-align"],
1284
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.style["text-align"] = $event),
1285
+ size: "default"
1286
+ }, {
1287
+ default: withCtx(() => [
1288
+ createVNode(_component_el_radio_button, {
1289
+ label: "left",
1290
+ value: "left"
1291
+ }, {
1292
+ default: withCtx(() => [..._cache[41] || (_cache[41] = [
1293
+ createElementVNode("i", { class: "epx-icon-left" }, null, -1)
1294
+ ])]),
1295
+ _: 1
1296
+ }),
1297
+ createVNode(_component_el_radio_button, {
1298
+ label: "center",
1299
+ value: "center"
1300
+ }, {
1301
+ default: withCtx(() => [..._cache[42] || (_cache[42] = [
1302
+ createElementVNode("i", { class: "epx-icon-center" }, null, -1)
1303
+ ])]),
1304
+ _: 1
1305
+ }),
1306
+ createVNode(_component_el_radio_button, {
1307
+ label: "right",
1308
+ value: "right"
1309
+ }, {
1310
+ default: withCtx(() => [..._cache[43] || (_cache[43] = [
1311
+ createElementVNode("i", { class: "epx-icon-right" }, null, -1)
1312
+ ])]),
1313
+ _: 1
1314
+ })
1315
+ ]),
1316
+ _: 1
1317
+ }, 8, ["modelValue"])
1318
+ ]),
1319
+ createElementVNode("div", _hoisted_29, [
1320
+ createElementVNode("label", _hoisted_30, toDisplayString(_ctx.$t("word again")), 1),
1321
+ createVNode(_component_el_select, {
1322
+ class: "selection",
1323
+ size: "small",
1324
+ modelValue: $options.style["font-weight"],
1325
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.style["font-weight"] = $event),
1326
+ placeholder: _ctx.$t("default")
1327
+ }, {
1328
+ default: withCtx(() => [
1329
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fontWeightOption, (item) => {
1330
+ return openBlock(), createBlock(_component_el_option, {
1331
+ key: item.value,
1332
+ label: item.label,
1333
+ value: item.value
1334
+ }, null, 8, ["label", "value"]);
1335
+ }), 128))
1336
+ ]),
1337
+ _: 1
1338
+ }, 8, ["modelValue", "placeholder"])
1339
+ ]),
1340
+ createElementVNode("div", _hoisted_31, [
1341
+ createElementVNode("label", _hoisted_32, toDisplayString(_ctx.$t("font color")), 1),
1342
+ createVNode(_component_el_color_picker, {
1343
+ modelValue: $options.style.color,
1344
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.style.color = $event),
1345
+ "show-alpha": "",
1346
+ predefine: _ctx.predefineColors
1347
+ }, null, 8, ["modelValue", "predefine"])
1348
+ ])
1349
+ ])
1350
+ ], 2),
1351
+ createElementVNode("div", {
1352
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold.background })
1353
+ }, [
1354
+ createElementVNode("div", _hoisted_33, [
1355
+ createElementVNode("span", null, [
1356
+ createElementVNode("i", {
1357
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
1358
+ onClick: _cache[19] || (_cache[19] = ($event) => $data.unfold["background"] = !$data.unfold.background)
1359
+ }),
1360
+ createElementVNode("label", _hoisted_34, toDisplayString(_ctx.$t("background")), 1)
1361
+ ])
1362
+ ]),
1363
+ createElementVNode("div", _hoisted_35, [
1364
+ createVNode(_component_epx_visual_config_background, {
1365
+ modelValue: $options.style,
1366
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.style = $event),
1367
+ onInput: $options.updateStyle,
1368
+ definingNameType: "kebab-case"
1369
+ }, null, 8, ["modelValue", "onInput"])
1370
+ ])
1371
+ ], 2),
1372
+ createElementVNode("div", {
1373
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold.border })
1374
+ }, [
1375
+ createElementVNode("div", _hoisted_36, [
1376
+ createElementVNode("span", null, [
1377
+ createElementVNode("i", {
1378
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
1379
+ onClick: _cache[21] || (_cache[21] = ($event) => $data.unfold["border"] = !$data.unfold.border)
1380
+ }),
1381
+ createElementVNode("label", _hoisted_37, toDisplayString(_ctx.$t("border")), 1)
1382
+ ])
1383
+ ]),
1384
+ createElementVNode("div", _hoisted_38, [
1385
+ createElementVNode("div", _hoisted_39, [
1386
+ createElementVNode("label", _hoisted_40, toDisplayString(_ctx.$t("linear")), 1),
1387
+ createVNode(_component_el_select, {
1388
+ class: "selection",
1389
+ size: "small",
1390
+ modelValue: $options.style["border-style"],
1391
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.style["border-style"] = $event),
1392
+ placeholder: _ctx.$t("not")
1393
+ }, {
1394
+ default: withCtx(() => [
1395
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.borderStyleOption, (item) => {
1396
+ return openBlock(), createBlock(_component_el_option, {
1397
+ key: item.value,
1398
+ label: item.label,
1399
+ value: item.value
1400
+ }, null, 8, ["label", "value"]);
1401
+ }), 128))
1402
+ ]),
1403
+ _: 1
1404
+ }, 8, ["modelValue", "placeholder"])
1405
+ ]),
1406
+ createElementVNode("div", _hoisted_41, [
1407
+ createElementVNode("label", _hoisted_42, toDisplayString(_ctx.$t("width")), 1),
1408
+ createVNode(_component_el_input, {
1409
+ class: "epx-page-designer-setting-style__input-number--small",
1410
+ size: "small",
1411
+ "model-value": $options.clearSuffix($options.style["border-width"]),
1412
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = (v) => $options.changePx("border-width", v, "px"))
1413
+ }, null, 8, ["model-value"]),
1414
+ createVNode(_component_el_radio_group, {
1415
+ class: "epx-page-designer-setting-style__border-width-radio",
1416
+ modelValue: $data.borderWidthType,
1417
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $data.borderWidthType = $event),
1418
+ size: "small"
1419
+ }, {
1420
+ default: withCtx(() => [
1421
+ createVNode(_component_el_radio_button, {
1422
+ label: "same",
1423
+ value: "same"
1424
+ }, {
1425
+ default: withCtx(() => [..._cache[44] || (_cache[44] = [
1426
+ createElementVNode("i", { class: "epx-icon-border" }, null, -1)
1427
+ ])]),
1428
+ _: 1
1429
+ }),
1430
+ createVNode(_component_el_radio_button, {
1431
+ label: "diff",
1432
+ value: "diff"
1433
+ }, {
1434
+ default: withCtx(() => [..._cache[45] || (_cache[45] = [
1435
+ createElementVNode("i", { class: "epx-icon-xuxian" }, null, -1)
1436
+ ])]),
1437
+ _: 1
1438
+ })
1439
+ ]),
1440
+ _: 1
1441
+ }, 8, ["modelValue"]),
1442
+ $data.borderWidthType === "diff" ? (openBlock(), createElementBlock("div", _hoisted_43, [
1443
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.borderWidthPositionList, (item) => {
1444
+ return openBlock(), createElementBlock("div", {
1445
+ class: "epx-page-designer-setting-style__border-position-item",
1446
+ key: item.value
1447
+ }, [
1448
+ createVNode(_component_el_input_number, {
1449
+ "model-value": $options.clearSuffix($options.borderWidthPosition[item.value]),
1450
+ controls: false,
1451
+ min: 0,
1452
+ size: "small",
1453
+ onChange: (v) => $options.changeBorderWidthPosition(item.value, v)
1454
+ }, null, 8, ["model-value", "onChange"]),
1455
+ createTextVNode(" " + toDisplayString(item.label), 1)
1456
+ ]);
1457
+ }), 128))
1458
+ ])) : createCommentVNode("", true)
1459
+ ]),
1460
+ createElementVNode("div", _hoisted_44, [
1461
+ createElementVNode("label", _hoisted_45, toDisplayString(_ctx.$t("color")), 1),
1462
+ createVNode(_component_el_color_picker, {
1463
+ modelValue: $options.style["border-color"],
1464
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $options.style["border-color"] = $event),
1465
+ "show-alpha": "",
1466
+ predefine: _ctx.predefineColors
1467
+ }, null, 8, ["modelValue", "predefine"])
1468
+ ]),
1469
+ createElementVNode("div", _hoisted_46, [
1470
+ createElementVNode("label", _hoisted_47, toDisplayString(_ctx.$t("filleted corner")), 1),
1471
+ createVNode(_component_el_input_number, {
1472
+ size: "small",
1473
+ "model-value": $options.clearSuffix($options.style["border-radius"]),
1474
+ "controls-position": "right",
1475
+ onChange: _cache[26] || (_cache[26] = (v) => $options.style["border-radius"] = v + "px")
1476
+ }, null, 8, ["model-value"]),
1477
+ createVNode(_component_el_radio_group, {
1478
+ class: "epx-page-designer-setting-style__border-width-radio",
1479
+ modelValue: $data.borderRadiusType,
1480
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => $data.borderRadiusType = $event),
1481
+ size: "small"
1482
+ }, {
1483
+ default: withCtx(() => [
1484
+ createVNode(_component_el_radio_button, {
1485
+ label: "same",
1486
+ value: "same"
1487
+ }, {
1488
+ default: withCtx(() => [..._cache[46] || (_cache[46] = [
1489
+ createElementVNode("i", { class: "epx-icon-border" }, null, -1)
1490
+ ])]),
1491
+ _: 1
1492
+ }),
1493
+ createVNode(_component_el_radio_button, {
1494
+ label: "diff",
1495
+ value: "diff"
1496
+ }, {
1497
+ default: withCtx(() => [..._cache[47] || (_cache[47] = [
1498
+ createElementVNode("i", { class: "epx-icon-xuxian" }, null, -1)
1499
+ ])]),
1500
+ _: 1
1501
+ })
1502
+ ]),
1503
+ _: 1
1504
+ }, 8, ["modelValue"]),
1505
+ $data.borderRadiusType === "diff" ? (openBlock(), createElementBlock("div", _hoisted_48, [
1506
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.borderRadiusPositionList, (item) => {
1507
+ return openBlock(), createElementBlock("div", {
1508
+ class: "epx-page-designer-setting-style__border-position-item",
1509
+ key: item.value
1510
+ }, [
1511
+ createVNode(_component_el_input_number, {
1512
+ "model-value": $options.clearSuffix($options.borderRadiusPosition[item.value]),
1513
+ controls: false,
1514
+ min: 0,
1515
+ size: "small",
1516
+ onChange: (v) => $options.changeBorderRadiusPosition(item.value, v)
1517
+ }, null, 8, ["model-value", "onChange"]),
1518
+ createTextVNode(" " + toDisplayString(item.label), 1)
1519
+ ]);
1520
+ }), 128))
1521
+ ])) : createCommentVNode("", true)
1522
+ ])
1523
+ ])
1524
+ ], 2),
1525
+ createElementVNode("div", {
1526
+ class: normalizeClass({ "epx-page-designer-setting-style__item": true, "epx-page-designer-setting-style__item--unfold": $data.unfold.shadow })
1527
+ }, [
1528
+ createElementVNode("div", _hoisted_49, [
1529
+ createElementVNode("span", null, [
1530
+ createElementVNode("i", {
1531
+ class: "epx-page-designer-setting-style__fold-icon el-icon-caret-right",
1532
+ onClick: _cache[28] || (_cache[28] = ($event) => $data.unfold["shadow"] = !$data.unfold.shadow)
1533
+ }),
1534
+ createElementVNode("label", _hoisted_50, toDisplayString(_ctx.$t("shadow")), 1)
1535
+ ])
1536
+ ]),
1537
+ createElementVNode("div", _hoisted_51, [
1538
+ createElementVNode("div", _hoisted_52, [
1539
+ createElementVNode("label", _hoisted_53, toDisplayString(_ctx.$t("level of the shadow")), 1),
1540
+ createVNode(_component_el_input_number, {
1541
+ size: "small",
1542
+ "model-value": $options.clearSuffix($options.style.hShadow),
1543
+ "controls-position": "right",
1544
+ onChange: _cache[29] || (_cache[29] = (v) => $options.style["hShadow"] = v + "px")
1545
+ }, null, 8, ["model-value"])
1546
+ ]),
1547
+ createElementVNode("div", _hoisted_54, [
1548
+ createElementVNode("label", _hoisted_55, toDisplayString(_ctx.$t("vertical shadow")), 1),
1549
+ createVNode(_component_el_input_number, {
1550
+ size: "small",
1551
+ "model-value": $options.clearSuffix($options.style.vShadow),
1552
+ "controls-position": "right",
1553
+ onChange: _cache[30] || (_cache[30] = (v) => $options.style["vShadow"] = v + "px")
1554
+ }, null, 8, ["model-value"])
1555
+ ]),
1556
+ createElementVNode("div", _hoisted_56, [
1557
+ createElementVNode("label", _hoisted_57, toDisplayString(_ctx.$t("fuzzy distance")), 1),
1558
+ createVNode(_component_el_input_number, {
1559
+ size: "small",
1560
+ "model-value": $options.clearSuffix($options.style.shadowBlur),
1561
+ "controls-position": "right",
1562
+ onChange: _cache[31] || (_cache[31] = (v) => $options.style["shadowBlur"] = v + "px")
1563
+ }, null, 8, ["model-value"])
1564
+ ]),
1565
+ createElementVNode("div", _hoisted_58, [
1566
+ createElementVNode("label", _hoisted_59, toDisplayString(_ctx.$t("size of the shadow")), 1),
1567
+ createVNode(_component_el_input_number, {
1568
+ size: "small",
1569
+ "model-value": $options.clearSuffix($options.style.shadowSpread),
1570
+ "controls-position": "right",
1571
+ onChange: _cache[32] || (_cache[32] = (v) => $options.style["shadowSpread"] = v + "px")
1572
+ }, null, 8, ["model-value"])
1573
+ ]),
1574
+ createElementVNode("div", _hoisted_60, [
1575
+ createElementVNode("label", _hoisted_61, toDisplayString(_ctx.$t("shadow color")), 1),
1576
+ createVNode(_component_el_color_picker, {
1577
+ modelValue: $options.style.shadowColor,
1578
+ "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => $options.style.shadowColor = $event),
1579
+ "show-alpha": "",
1580
+ predefine: _ctx.predefineColors
1581
+ }, null, 8, ["modelValue", "predefine"])
1582
+ ])
1583
+ ])
1584
+ ], 2)
1585
+ ])) : createCommentVNode("", true);
1586
+ }
1587
+ const SettingStyle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
1588
+ export {
1589
+ SettingStyle as default
1590
+ };