hldesigner 0.0.281 → 0.0.282
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.
- package/{_pdf-8124ac79.js → _pdf-aedfa178.js} +7 -7
- package/{_share_image-b0e3dd36.js → _share_image-9ce786a4.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-0f17dbf2.js → _share_size.vue_vue_type_script_setup_true_lang-22bdb232.js} +3 -3
- package/{_txt-7e98af0d.js → _txt-fb9eea1e.js} +7 -7
- package/{_unsupport-9ff38976.js → _unsupport-1cb78d71.js} +2 -2
- package/{affix-widget-ebbf3699.js → affix-widget-aac99193.js} +21 -21
- package/{alert-widget-2125d75a.js → alert-widget-20c0637f.js} +21 -21
- package/{anchor-widget-01e25780.js → anchor-widget-ff762722.js} +18 -18
- package/{auto-complete-widget-10ca81ae.js → auto-complete-widget-11d9ebb7.js} +21 -21
- package/{avatar-widget-0353ddac.js → avatar-widget-c0cfa519.js} +21 -21
- package/{backtop-widget-9598e265.js → backtop-widget-54e80839.js} +21 -21
- package/{badge-widget-f0aa3600.js → badge-widget-562ec30b.js} +21 -21
- package/{barcode-widget-a574c51b.js → barcode-widget-40bee3b0.js} +33 -33
- package/{baseImp-e6533762.js → baseImp-f2767c96.js} +2613 -2514
- package/{breadcrumb-widget-96982a25.js → breadcrumb-widget-04ed3fd1.js} +18 -18
- package/{button-widget-3a58356b.js → button-widget-27c135c1.js} +21 -21
- package/{cache-widget-0ed801b2.js → cache-widget-bd7db1b9.js} +20 -20
- package/{card-widget-bbcb0430.js → card-widget-0006ca78.js} +19 -19
- package/{carousel-widget-5cc16c41.js → carousel-widget-d60ea709.js} +19 -19
- package/{cascader-widget-e07c5eb5.js → cascader-widget-e3915bc7.js} +20 -20
- package/{chart-widget-92c6d365.js → chart-widget-5c9da012.js} +36 -36
- package/{checkbox-widget-70ae21cc.js → checkbox-widget-d6e624da.js} +20 -20
- package/{collapse-widget-55f1825a.js → collapse-widget-257cf0bd.js} +19 -19
- package/{color-picker-widget-d68ab32d.js → color-picker-widget-52cde85a.js} +20 -20
- package/common-editor-a6308d06.js +28 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-0f7c6da1.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-494e2151.js} +2 -2
- package/{configItem-128b0fe4.js → configItem-242e2146.js} +41 -40
- package/{cont-cell-widget-95edac13.js → cont-cell-widget-546cd121.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-af89065e.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-bb506b6d.js} +11 -11
- package/{cont-widget-f438f87a.js → cont-widget-93aa9072.js} +15 -15
- package/{content-wrapper-f22d0844.js → content-wrapper-09c98dcd.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-7238d66f.js → content-wrapper.vue_vue_type_script_setup_true_lang-1bfb716d.js} +7 -7
- package/{countdown-widget-568d4bce.js → countdown-widget-11f335e9.js} +21 -21
- package/css-editor-362763ce.js +1355 -0
- package/cssClass-870a810b.js +24 -0
- package/{cssIndex-376549b5.js → cssIndex-87c6de29.js} +45 -45
- package/{customClass-editor-7797e325.js → customClass-editor-7b232d1c.js} +19 -19
- package/{date-picker-range-widget-bf9b3410.js → date-picker-range-widget-a9541ebc.js} +20 -20
- package/{date-picker-widget-7d8a6d68.js → date-picker-widget-2acb3c41.js} +20 -20
- package/default-slot-widget-c6f582c9.js +31 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-51c5ad1d.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8642a0cd.js} +8 -8
- package/{descriptions-widget-567504b1.js → descriptions-widget-60253050.js} +19 -19
- package/designer.es.js +38 -37
- package/designer.style.css +2 -2
- package/designer.umd.js +173 -173
- package/{dialog-8d618800.js → dialog-8367296a.js} +2 -2
- package/{dialog-widget-929fa994.js → dialog-widget-6ecdf930.js} +20 -20
- package/{divider-widget-c5378a25.js → divider-widget-0174a1fa.js} +21 -21
- package/drag-wrapper-54edde7d.js +281 -0
- package/{drawer-widget-0dc62477.js → drawer-widget-d761e2fe.js} +20 -20
- package/{dropdown-widget-13c60863.js → dropdown-widget-d4230051.js} +19 -19
- package/{editor-wrapper-b5924cae.js → editor-wrapper-ac06b695.js} +125 -125
- package/{emitter-5d6d8130.js → emitter-1acbfda9.js} +1 -1
- package/{empty-widget-55795163.js → empty-widget-7c9d855d.js} +21 -21
- package/{enum-type-4fd2996f.js → enum-type-dfa86fd6.js} +108 -92
- package/{enum-type-059a1871.js → enum-type-fe807357.js} +1 -1
- package/{expression-4614311c.js → expression-b8f60625.js} +926 -911
- package/feedback-widget-dc08aa41.js +32 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-71d82be2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-23e9a940.js} +6 -6
- package/{field-editor-49a46aa0.js → field-editor-abbd6353.js} +16 -16
- package/{fieldobj-3a7ee3ae.js → fieldobj-7dcfbe2b.js} +1 -1
- package/{file-upload-widget-70e49ed7.js → file-upload-widget-7e1084db.js} +25 -25
- package/{form-item-wrapper-d8dd576e.js → form-item-wrapper-b17d3528.js} +14 -14
- package/{form-widget-cadd5e59.js → form-widget-5f3d30a9.js} +25 -25
- package/{grid-col-widget-e5671796.js → grid-col-widget-a13f4179.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-298a782d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-a096adf9.js} +5 -5
- package/{grid-widget-4d55c29e.js → grid-widget-2c8ad689.js} +17 -17
- package/{hcard-widget-dd47f1e6.js → hcard-widget-a8558e9e.js} +19 -19
- package/{html-text-widget-405f277d.js → html-text-widget-a8463f7b.js} +19 -19
- package/{icon-widget-d07e9007.js → icon-widget-48833032.js} +18 -18
- package/iframe-widget-4bf6b2c0.js +132 -0
- package/{image-editor-e439fc49.js → image-editor-6302c266.js} +18 -18
- package/{image-widget-31f9e5f5.js → image-widget-90a021ad.js} +18 -18
- package/{index-271a233e.js → index-027a190d.js} +59 -58
- package/{index-fc934362.js → index-046a6529.js} +42 -41
- package/{index-facfdc4c.js → index-05335c3b.js} +43 -43
- package/{index-1dd1ec8e.js → index-126a08b9.js} +1 -1
- package/{index-2d59c452.js → index-1584a7a5.js} +163 -163
- package/{index-5d61fc57.js → index-16ba07eb.js} +157 -157
- package/{index-e2938e1a.js → index-28c71533.js} +9 -9
- package/{index-bb63159a.js → index-31195212.js} +1 -1
- package/{index-1f254780.js → index-32be7e8e.js} +74 -74
- package/{index-6ee2f29c.js → index-4d588346.js} +7 -7
- package/{index-84570716.js → index-57897f1a.js} +1 -1
- package/{index-dda9431f.js → index-6d7e61d1.js} +10 -10
- package/{index-5a5f923f.js → index-6d8b1ba0.js} +42 -41
- package/{index-7663b5f5.js → index-7e1db5b9.js} +18 -18
- package/{index-46f811f0.js → index-9655a1c0.js} +9 -9
- package/{index-4e6b41f7.js → index-ba5cd3f6.js} +16 -16
- package/{index-fe30f176.js → index-c9cf28ed.js} +23 -23
- package/{index-cd15488c.js → index-ca37bcea.js} +11 -11
- package/{index-ae684e6f.js → index-cff952ce.js} +17 -17
- package/{index-93450b9d.js → index-d1c0a237.js} +14 -14
- package/{index-253c416f.js → index-d5f4c57b.js} +10 -10
- package/{index-93949bc0.js → index-d9f3ea25.js} +1 -1
- package/{index-fe39be78.js → index-da3c9f0b.js} +190 -190
- package/{index-bed990e5.js → index-db051705.js} +7 -7
- package/{index-b41517e3.js → index-fe2ffedb.js} +32 -32
- package/{input-number-widget-676c5079.js → input-number-widget-7c859dbe.js} +25 -25
- package/{input-tag-widget-43aeeaa4.js → input-tag-widget-cbe84e7a.js} +21 -21
- package/{input-widget-2299c4f3.js → input-widget-383ec0df.js} +21 -21
- package/{install-designer-a5b0e47e.js → install-designer-d80f8c8f.js} +872 -872
- package/{item-e599bcb1.js → item-272cd30a.js} +3 -3
- package/{itemDetail-656b58f6.js → itemDetail-ef5e61f4.js} +3 -3
- package/{label-wrapper-7c03b684.js → label-wrapper-58dbe260.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-03cc6049.js → label-wrapper.vue_vue_type_style_index_0_lang-fefab42d.js} +3 -3
- package/{link-widget-4f9622ac.js → link-widget-e771f3cc.js} +21 -21
- package/{ltable-col-widget-4c7f7d86.js → ltable-col-widget-2cb3f884.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-dfacbd4b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4720d166.js} +56 -56
- package/{ltable-widget-0b51d9f7.js → ltable-widget-ec7b6577.js} +23 -23
- package/{mention-widget-37a175f5.js → mention-widget-a552c38b.js} +21 -21
- package/{menu-widget-60f3a249.js → menu-widget-389e9a7b.js} +42 -42
- package/{model-widget-13686a07.js → model-widget-4faeddd4.js} +33 -33
- package/{multirow-58359a2b.js → multirow-ac9106c7.js} +17 -17
- package/{multirow-widget-bfeaf41c.js → multirow-widget-d01e60c8.js} +90 -90
- package/{name-editor-06fa948b.js → name-editor-12d7f518.js} +23 -23
- package/obj-571dd058.js +210 -0
- package/{optionItem-b66d0f80.js → optionItem-3c87120a.js} +5 -5
- package/package.json +1 -1
- package/{pagination-widget-3908212a.js → pagination-widget-cbb2ac37.js} +18 -18
- package/{picture-upload-widget-6394482e.js → picture-upload-widget-2f3b0ce9.js} +38 -38
- package/{progress-widget-408168ef.js → progress-widget-1a2c63fb.js} +19 -19
- package/{property-base-224cbba8.js → property-base-2e08f1cd.js} +4 -4
- package/qrcode-widget-93e7295e.js +75 -0
- package/{radio-widget-eb32da64.js → radio-widget-44821d40.js} +20 -20
- package/{range-widget-afae7ae9.js → range-widget-34e2815a.js} +21 -21
- package/{rate-widget-493ff611.js → rate-widget-428a5495.js} +20 -20
- package/{reg-editor.vue_vue_type_script_setup_true_lang-0c5793af.js → reg-editor.vue_vue_type_script_setup_true_lang-860cdc59.js} +3 -3
- package/{result-widget-b87e1405.js → result-widget-d6def378.js} +19 -19
- package/{rich-editor-widget-caa21b12.js → rich-editor-widget-7cac0bcb.js} +20 -20
- package/{router-widget-40ad3a8c.js → router-widget-cb5690c8.js} +18 -18
- package/{schemaData-cdd1ab79.js → schemaData-79f3ef69.js} +58 -58
- package/{segmented-widget-3d40c59d.js → segmented-widget-c6139d1e.js} +18 -18
- package/{select-widget-bdad06b4.js → select-widget-5c3dfa89.js} +20 -20
- package/{sfc-212fe046.js → sfc-dbb72bcb.js} +117 -99
- package/{sfcview-71b16f15.js → sfcview-cc18300c.js} +17 -17
- package/{share-editor-b5bdc20c.js → share-editor-7c525c97.js} +41 -41
- package/{share-event-74d5db69.js → share-event-f999e66a.js} +2 -2
- package/{share-field-05fd929b.js → share-field-7d5fca55.js} +52 -52
- package/{share-file-6a6f32ac.js → share-file-ad123d7c.js} +70 -70
- package/{size-editor-0a6f297f.js → size-editor-813f0f02.js} +19 -19
- package/{skeleton-widget-1608f888.js → skeleton-widget-ba85d6b8.js} +21 -21
- package/{skeletonItem-widget-42b20713.js → skeletonItem-widget-f4e5e533.js} +18 -18
- package/{slider-widget-30f11cc3.js → slider-widget-d5fad4a6.js} +20 -20
- package/slot-cc6c2adb.js +331 -0
- package/{space-widget-b33ee60f.js → space-widget-d9f503d3.js} +19 -19
- package/{splitter-widget-d2ad2396.js → splitter-widget-48718ac9.js} +19 -19
- package/{static-text-widget-55a70332.js → static-text-widget-042d0b7d.js} +19 -19
- package/{statistic-widget-b2fe71c7.js → statistic-widget-74c5b5e5.js} +21 -21
- package/{steps-widget-a5fc8f08.js → steps-widget-7548001a.js} +18 -18
- package/{subMenu-widget-b0c58453.js → subMenu-widget-ebbc6593.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0de86d54.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a9a26175.js} +10 -10
- package/{switch-widget-89caa914.js → switch-widget-a334b82a.js} +20 -20
- package/{tab-pane-widget-2252bc4b.js → tab-pane-widget-a482c358.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-c62e9e82.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-49089f7b.js} +8 -8
- package/table-col-widget-cc3e5241.js +28 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1418214e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-58f69793.js} +8 -8
- package/{table-widget-4f73ad57.js → table-widget-e211d7ec.js} +68 -68
- package/{tabs-widget-eff74c43.js → tabs-widget-ee5d48c0.js} +8 -8
- package/{tag-widget-0a71ca03.js → tag-widget-39f90035.js} +21 -21
- package/{target-code-1aba790b.js → target-code-5126d170.js} +9 -9
- package/{target-datasource-c6d48b70.js → target-datasource-10557086.js} +67 -66
- package/{target-link-a0302d99.js → target-link-88a75d03.js} +53 -52
- package/{target-saveForm-f41cfa3c.js → target-saveForm-7bd68428.js} +42 -41
- package/{target-widget-5dc412fa.js → target-widget-c5050a76.js} +2 -2
- package/{target-window-017f28de.js → target-window-7b08ee32.js} +10 -10
- package/{text-widget-11af8e0d.js → text-widget-29734605.js} +21 -21
- package/{textarea-widget-dbfe9e2f.js → textarea-widget-bad0d83f.js} +20 -20
- package/{time-picker-range-widget-b1b1bfc4.js → time-picker-range-widget-52a386c1.js} +20 -20
- package/{time-picker-widget-29ca9962.js → time-picker-widget-87cfcd84.js} +20 -20
- package/{time-select-widget-ef994eeb.js → time-select-widget-3f4e00e3.js} +20 -20
- package/{timeline-widget-039f1eb0.js → timeline-widget-019f92c3.js} +19 -19
- package/tmpl-widget-b170a998.js +104 -0
- package/{tooltip-widget-d340f763.js → tooltip-widget-da084813.js} +19 -19
- package/{tour-widget-450e6ed6.js → tour-widget-9fc1003b.js} +25 -25
- package/{transfer-widget-617b8866.js → transfer-widget-1ec99e79.js} +21 -21
- package/{tree-select-widget-4b196114.js → tree-select-widget-a61fdff3.js} +20 -20
- package/{tree-widget-005a5e67.js → tree-widget-849a4a27.js} +18 -18
- package/{uuid-14e756b8.js → uuid-46529de4.js} +1 -1
- package/{value-editor-4d68a513.js → value-editor-d31cf4da.js} +16 -16
- package/{verifycode-widget-43a7ac5d.js → verifycode-widget-19f21f41.js} +33 -33
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-50e92e0b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2c107711.js} +17 -18
- package/{wrapper-widget-86472df1.js → wrapper-widget-f6523317.js} +9 -8
- package/common-editor-62687495.js +0 -28
- package/css-editor-6ef171e7.js +0 -1350
- package/default-slot-widget-a4ec5629.js +0 -31
- package/drag-wrapper-85875395.js +0 -297
- package/feedback-widget-6550dcbf.js +0 -32
- package/iframe-widget-c8fe6ac3.js +0 -127
- package/obj-502bbea0.js +0 -357
- package/qrcode-widget-a8ea4356.js +0 -75
- package/slot-7d65c8ff.js +0 -312
- package/table-col-widget-9ebb322b.js +0 -28
- package/tmpl-widget-a10219af.js +0 -103
package/css-editor-6ef171e7.js
DELETED
|
@@ -1,1350 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, ref as C, computed as K, watch as x, resolveComponent as D, openBlock as S, createBlock as X, withCtx as c, renderSlot as ge, createVNode as i, mergeProps as se, createElementBlock as Z, Fragment as re, renderList as ue, unref as n, createCommentVNode as ce, createTextVNode as pe, toDisplayString as J, reactive as oe, createElementVNode as a, withKeys as be, normalizeClass as F, onMounted as fe, normalizeProps as ve, guardReactiveProps as ye } from "vue";
|
|
2
|
-
import { d as L, i as q, e as P, c as Ve, O as he } from "./obj-502bbea0.js";
|
|
3
|
-
import { a as g } from "./enum-type-4fd2996f.js";
|
|
4
|
-
import { u as _e } from "./icon-aff7bde2.js";
|
|
5
|
-
import { w as Re } from "./expression-4614311c.js";
|
|
6
|
-
import { S as A, b6 as $e, bW as ae, bX as Te, bY as ke, bZ as we, b_ as Ue, b$ as xe, c0 as Be, c1 as Le, c2 as Se, bV as Ce, ay as Ee } from "./enum-type-059a1871.js";
|
|
7
|
-
import { A as B } from "./baseImp-e6533762.js";
|
|
8
|
-
import { I as Ie } from "./property-base-224cbba8.js";
|
|
9
|
-
import { u as Fe } from "./share-editor-b5bdc20c.js";
|
|
10
|
-
import { E as De, O as We } from "./editor-wrapper-b5924cae.js";
|
|
11
|
-
import { S as V } from "./index-93949bc0.js";
|
|
12
|
-
import { _ as W } from "./_share_size.vue_vue_type_script_setup_true_lang-0f17dbf2.js";
|
|
13
|
-
import { s as O } from "./_share_wrapper-9d61ae87.js";
|
|
14
|
-
import { _ as Q } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import { c as ie, a as le, u as Me } from "./cssIndex-376549b5.js";
|
|
16
|
-
import { h as Ae } from "./_share_image-b0e3dd36.js";
|
|
17
|
-
import { u as Ke } from "./share-event-74d5db69.js";
|
|
18
|
-
import "./source-map-b04aec4a.js";
|
|
19
|
-
import "./uuid-14e756b8.js";
|
|
20
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
21
|
-
import "./esprima-e8d15055.js";
|
|
22
|
-
import "axios";
|
|
23
|
-
import "./dialog-8d618800.js";
|
|
24
|
-
import "element-plus";
|
|
25
|
-
import "./index-2d59c452.js";
|
|
26
|
-
import "./optionItem-b66d0f80.js";
|
|
27
|
-
import "./index-bb63159a.js";
|
|
28
|
-
import "./index-1dd1ec8e.js";
|
|
29
|
-
import "./index-6bcfdc22.js";
|
|
30
|
-
import "./emitter-5d6d8130.js";
|
|
31
|
-
const Ne = /* @__PURE__ */ N({
|
|
32
|
-
__name: "_share_color",
|
|
33
|
-
props: {
|
|
34
|
-
modelValue: {},
|
|
35
|
-
label: {},
|
|
36
|
-
color: {},
|
|
37
|
-
options: {}
|
|
38
|
-
},
|
|
39
|
-
emits: ["update:modelValue"],
|
|
40
|
-
setup($, { emit: k }) {
|
|
41
|
-
const _ = $, s = C([
|
|
42
|
-
"#ff4500",
|
|
43
|
-
"#ff8c00",
|
|
44
|
-
"#ffd700",
|
|
45
|
-
"#90ee90",
|
|
46
|
-
"#00ced1",
|
|
47
|
-
"#1e90ff",
|
|
48
|
-
"#c71585",
|
|
49
|
-
"rgba(255, 69, 0, 0.68)",
|
|
50
|
-
"rgb(255, 120, 0)",
|
|
51
|
-
"hsv(51, 100, 98)",
|
|
52
|
-
"hsva(120, 40, 94, 0.5)",
|
|
53
|
-
"hsl(181, 100%, 37%)",
|
|
54
|
-
"hsla(209, 100%, 56%, 0.73)",
|
|
55
|
-
"#c7158577"
|
|
56
|
-
]), h = C(_.modelValue), R = K(() => h.value || ""), y = k, e = () => {
|
|
57
|
-
y("update:modelValue", R.value);
|
|
58
|
-
}, u = C(), o = () => {
|
|
59
|
-
setTimeout(() => {
|
|
60
|
-
var v;
|
|
61
|
-
(v = u.value) == null || v.show();
|
|
62
|
-
}, 100);
|
|
63
|
-
};
|
|
64
|
-
return x(() => h.value, () => {
|
|
65
|
-
e();
|
|
66
|
-
}), x(() => _.modelValue, (v) => {
|
|
67
|
-
h.value = v;
|
|
68
|
-
}), (v, m) => {
|
|
69
|
-
const f = D("el-color-picker"), U = D("el-input");
|
|
70
|
-
return S(), X(O, {
|
|
71
|
-
label: $.label,
|
|
72
|
-
color: $.color
|
|
73
|
-
}, {
|
|
74
|
-
label: c(() => [
|
|
75
|
-
ge(v.$slots, "label", {}, void 0, !0)
|
|
76
|
-
]),
|
|
77
|
-
input: c(() => [
|
|
78
|
-
i(U, {
|
|
79
|
-
modelValue: h.value,
|
|
80
|
-
"onUpdate:modelValue": m[1] || (m[1] = (w) => h.value = w),
|
|
81
|
-
onClick: o
|
|
82
|
-
}, {
|
|
83
|
-
prepend: c(() => [
|
|
84
|
-
i(f, se({
|
|
85
|
-
ref_key: "colorRef",
|
|
86
|
-
ref: u,
|
|
87
|
-
modelValue: h.value,
|
|
88
|
-
"onUpdate:modelValue": m[0] || (m[0] = (w) => h.value = w)
|
|
89
|
-
}, $.options, { predefine: s.value }), null, 16, ["modelValue", "predefine"])
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}, 8, ["modelValue"])
|
|
93
|
-
]),
|
|
94
|
-
_: 3
|
|
95
|
-
}, 8, ["label", "color"]);
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
const de = /* @__PURE__ */ Q(Ne, [["__scopeId", "data-v-6f08b1ee"]]), te = /* @__PURE__ */ N({
|
|
100
|
-
__name: "_share_select",
|
|
101
|
-
props: {
|
|
102
|
-
modelValue: {},
|
|
103
|
-
iconTitle: {},
|
|
104
|
-
options: {}
|
|
105
|
-
},
|
|
106
|
-
emits: ["update:modelValue", "change"],
|
|
107
|
-
setup($, { emit: k }) {
|
|
108
|
-
const _ = $, s = C(_.modelValue), h = K(() => s.value || ""), R = k, y = () => {
|
|
109
|
-
R("update:modelValue", h.value);
|
|
110
|
-
}, e = (u) => {
|
|
111
|
-
R("change", u);
|
|
112
|
-
};
|
|
113
|
-
return x(() => s.value, () => {
|
|
114
|
-
y();
|
|
115
|
-
}), x(() => _.modelValue, (u) => {
|
|
116
|
-
s.value = u;
|
|
117
|
-
}), (u, o) => {
|
|
118
|
-
const v = D("el-option"), m = D("el-select");
|
|
119
|
-
return S(), X(m, {
|
|
120
|
-
modelValue: s.value,
|
|
121
|
-
"onUpdate:modelValue": o[0] || (o[0] = (f) => s.value = f),
|
|
122
|
-
"suffix-icon": "",
|
|
123
|
-
placeholder: " ",
|
|
124
|
-
teleported: !1,
|
|
125
|
-
clearable: !0,
|
|
126
|
-
onChange: e
|
|
127
|
-
}, {
|
|
128
|
-
default: c(() => [
|
|
129
|
-
(S(!0), Z(re, null, ue($.options, (f) => (S(), X(v, {
|
|
130
|
-
key: f.value,
|
|
131
|
-
label: f.label,
|
|
132
|
-
value: f.value
|
|
133
|
-
}, {
|
|
134
|
-
default: c(() => [
|
|
135
|
-
$.iconTitle ? (S(), X(V, {
|
|
136
|
-
key: 0,
|
|
137
|
-
name: `@css-${$.iconTitle ? $.iconTitle + "-" : ""}${n(ie)(f.value, "kebab")}`
|
|
138
|
-
}, null, 8, ["name"])) : ce("", !0),
|
|
139
|
-
pe(J(f == null ? void 0 : f.label), 1)
|
|
140
|
-
]),
|
|
141
|
-
_: 2
|
|
142
|
-
}, 1032, ["label", "value"]))), 128))
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
}, 8, ["modelValue"]);
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
}), ze = /* @__PURE__ */ N({
|
|
149
|
-
__name: "_share_radio",
|
|
150
|
-
props: {
|
|
151
|
-
modelValue: {},
|
|
152
|
-
iconTitle: {},
|
|
153
|
-
options: {}
|
|
154
|
-
},
|
|
155
|
-
emits: ["update:modelValue"],
|
|
156
|
-
setup($, { emit: k }) {
|
|
157
|
-
const _ = $, s = C(_.modelValue), h = K(() => s.value || ""), R = k, y = () => {
|
|
158
|
-
R("update:modelValue", h.value || "");
|
|
159
|
-
};
|
|
160
|
-
return x(() => s.value, () => {
|
|
161
|
-
y();
|
|
162
|
-
}), x(() => _.modelValue, (e) => {
|
|
163
|
-
s.value = e;
|
|
164
|
-
}), (e, u) => {
|
|
165
|
-
const o = D("el-tooltip"), v = D("el-radio-button"), m = D("el-radio-group");
|
|
166
|
-
return S(), X(m, {
|
|
167
|
-
modelValue: s.value,
|
|
168
|
-
"onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f),
|
|
169
|
-
class: "flex-wrapper"
|
|
170
|
-
}, {
|
|
171
|
-
default: c(() => [
|
|
172
|
-
(S(!0), Z(re, null, ue($.options, (f) => (S(), X(v, {
|
|
173
|
-
key: f.value,
|
|
174
|
-
label: f.label,
|
|
175
|
-
value: f.value,
|
|
176
|
-
class: "flex-item"
|
|
177
|
-
}, {
|
|
178
|
-
default: c(() => [
|
|
179
|
-
i(o, {
|
|
180
|
-
effect: "dark",
|
|
181
|
-
content: f.value,
|
|
182
|
-
placement: "top"
|
|
183
|
-
}, {
|
|
184
|
-
default: c(() => [
|
|
185
|
-
i(V, {
|
|
186
|
-
name: `@css-${$.iconTitle ? $.iconTitle + "-" : ""}${n(ie)(f.value, "kebab")}`
|
|
187
|
-
}, null, 8, ["name"])
|
|
188
|
-
]),
|
|
189
|
-
_: 2
|
|
190
|
-
}, 1032, ["content"])
|
|
191
|
-
]),
|
|
192
|
-
_: 2
|
|
193
|
-
}, 1032, ["label", "value"]))), 128))
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
}, 8, ["modelValue"]);
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
const ne = /* @__PURE__ */ Q(ze, [["__scopeId", "data-v-12dcba4d"]]), Je = { class: "flex flexJustify" }, Oe = { class: "flex flexJustify" }, Xe = /* @__PURE__ */ N({
|
|
201
|
-
__name: "_boxShadow",
|
|
202
|
-
props: {
|
|
203
|
-
modelValue: {}
|
|
204
|
-
},
|
|
205
|
-
emits: ["update:modelValue"],
|
|
206
|
-
setup($, { emit: k }) {
|
|
207
|
-
const { switchColor: _ } = le(), s = oe({}), h = $, R = k, y = (o) => {
|
|
208
|
-
R("update:modelValue", e(o));
|
|
209
|
-
}, e = (o) => `${o == null ? void 0 : o.color} ${o == null ? void 0 : o.offsetX} ${o == null ? void 0 : o.offsetY} ${o == null ? void 0 : o.blurRadius} ${o == null ? void 0 : o.spreadRadius}`, u = (o) => {
|
|
210
|
-
const v = o == null ? void 0 : o.split(" "), [m, f, U, w, z] = v || [], E = (M) => q(M) || M === "undefined" ? "" : M;
|
|
211
|
-
return {
|
|
212
|
-
color: E(m),
|
|
213
|
-
offsetX: E(f),
|
|
214
|
-
offsetY: E(U),
|
|
215
|
-
blurRadius: E(w),
|
|
216
|
-
spreadRadius: E(z)
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
return x(s, (o) => {
|
|
220
|
-
y(o);
|
|
221
|
-
}), x(() => h.modelValue, (o) => {
|
|
222
|
-
L(s, u(o));
|
|
223
|
-
}), (o, v) => (S(), Z(re, null, [
|
|
224
|
-
i(de, {
|
|
225
|
-
modelValue: s.color,
|
|
226
|
-
"onUpdate:modelValue": v[0] || (v[0] = (m) => s.color = m),
|
|
227
|
-
label: n(g).i18nt("designer.style.boxShadowColor")
|
|
228
|
-
}, {
|
|
229
|
-
label: c(() => [
|
|
230
|
-
i(V, {
|
|
231
|
-
name: "@css-background-color",
|
|
232
|
-
color: n(_)(s == null ? void 0 : s.color)
|
|
233
|
-
}, null, 8, ["color"])
|
|
234
|
-
]),
|
|
235
|
-
_: 1
|
|
236
|
-
}, 8, ["modelValue", "label"]),
|
|
237
|
-
a("div", Je, [
|
|
238
|
-
i(W, {
|
|
239
|
-
modelValue: s.offsetX,
|
|
240
|
-
"onUpdate:modelValue": v[1] || (v[1] = (m) => s.offsetX = m),
|
|
241
|
-
options: n(B)(A),
|
|
242
|
-
label: n(g).i18nt("designer.style.boxShadowHShadow"),
|
|
243
|
-
style: { width: "48%" }
|
|
244
|
-
}, {
|
|
245
|
-
label: c(() => [
|
|
246
|
-
i(V, {
|
|
247
|
-
name: "@css-box-shadow-h-shadow",
|
|
248
|
-
color: n(_)(s == null ? void 0 : s.offsetX)
|
|
249
|
-
}, null, 8, ["color"])
|
|
250
|
-
]),
|
|
251
|
-
_: 1
|
|
252
|
-
}, 8, ["modelValue", "options", "label"]),
|
|
253
|
-
i(W, {
|
|
254
|
-
modelValue: s.offsetY,
|
|
255
|
-
"onUpdate:modelValue": v[2] || (v[2] = (m) => s.offsetY = m),
|
|
256
|
-
options: n(B)(A),
|
|
257
|
-
label: n(g).i18nt("designer.style.boxShadowVShadow"),
|
|
258
|
-
style: { width: "48%" }
|
|
259
|
-
}, {
|
|
260
|
-
label: c(() => [
|
|
261
|
-
i(V, {
|
|
262
|
-
name: "@css-box-shadow-v-shadow",
|
|
263
|
-
color: n(_)(s == null ? void 0 : s.offsetY)
|
|
264
|
-
}, null, 8, ["color"])
|
|
265
|
-
]),
|
|
266
|
-
_: 1
|
|
267
|
-
}, 8, ["modelValue", "options", "label"])
|
|
268
|
-
]),
|
|
269
|
-
a("div", Oe, [
|
|
270
|
-
i(W, {
|
|
271
|
-
modelValue: s.blurRadius,
|
|
272
|
-
"onUpdate:modelValue": v[3] || (v[3] = (m) => s.blurRadius = m),
|
|
273
|
-
options: n(B)(A),
|
|
274
|
-
label: n(g).i18nt("designer.style.boxShadowBlur"),
|
|
275
|
-
style: { width: "48%" }
|
|
276
|
-
}, {
|
|
277
|
-
label: c(() => [
|
|
278
|
-
i(V, {
|
|
279
|
-
name: "@css-box-shadow-blur",
|
|
280
|
-
color: n(_)(s.blurRadius)
|
|
281
|
-
}, null, 8, ["color"])
|
|
282
|
-
]),
|
|
283
|
-
_: 1
|
|
284
|
-
}, 8, ["modelValue", "options", "label"]),
|
|
285
|
-
i(W, {
|
|
286
|
-
modelValue: s.spreadRadius,
|
|
287
|
-
"onUpdate:modelValue": v[4] || (v[4] = (m) => s.spreadRadius = m),
|
|
288
|
-
options: n(B)(A),
|
|
289
|
-
label: n(g).i18nt("designer.style.boxShadowSpread"),
|
|
290
|
-
style: { width: "48%" }
|
|
291
|
-
}, {
|
|
292
|
-
label: c(() => [
|
|
293
|
-
i(V, {
|
|
294
|
-
name: "@css-box-shadow-spread",
|
|
295
|
-
color: n(_)(s.spreadRadius)
|
|
296
|
-
}, null, 8, ["color"])
|
|
297
|
-
]),
|
|
298
|
-
_: 1
|
|
299
|
-
}, 8, ["modelValue", "options", "label"])
|
|
300
|
-
])
|
|
301
|
-
], 64));
|
|
302
|
-
}
|
|
303
|
-
}), Ye = /* @__PURE__ */ N({
|
|
304
|
-
__name: "_share_input_switch",
|
|
305
|
-
props: {
|
|
306
|
-
modelValue: {},
|
|
307
|
-
title: {}
|
|
308
|
-
},
|
|
309
|
-
emits: ["update:modelValue"],
|
|
310
|
-
setup($, { emit: k }) {
|
|
311
|
-
const _ = $, { switchColorClass: s } = le(), h = C(), R = C(_.modelValue), y = C(), e = k, u = (m) => {
|
|
312
|
-
e("update:modelValue", m);
|
|
313
|
-
}, o = () => {
|
|
314
|
-
var m;
|
|
315
|
-
h.value = !0, (m = y.value) == null || m.focus();
|
|
316
|
-
}, v = () => {
|
|
317
|
-
var m;
|
|
318
|
-
h.value = !1, (m = y.value) == null || m.blur();
|
|
319
|
-
};
|
|
320
|
-
return x(() => R.value, (m) => {
|
|
321
|
-
u(m);
|
|
322
|
-
}), x(() => _.modelValue, (m) => {
|
|
323
|
-
R.value = m;
|
|
324
|
-
}), (m, f) => {
|
|
325
|
-
const U = D("el-input");
|
|
326
|
-
return S(), X(U, {
|
|
327
|
-
ref_key: "inputRef",
|
|
328
|
-
ref: y,
|
|
329
|
-
modelValue: R.value,
|
|
330
|
-
"onUpdate:modelValue": f[0] || (f[0] = (w) => R.value = w),
|
|
331
|
-
editable: h.value,
|
|
332
|
-
onKeyup: be(v, ["enter"]),
|
|
333
|
-
onBlur: v,
|
|
334
|
-
placeholder: `${R.value || "0"}`,
|
|
335
|
-
class: F([h.value ? "" : "readonly", n(s)(R.value)]),
|
|
336
|
-
onClick: o
|
|
337
|
-
}, null, 8, ["modelValue", "editable", "placeholder", "class"]);
|
|
338
|
-
};
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
const H = /* @__PURE__ */ Q(Ye, [["__scopeId", "data-v-c44ac24d"]]), He = {
|
|
342
|
-
style: { position: "relative" },
|
|
343
|
-
class: "hl-margin-padding"
|
|
344
|
-
}, Pe = { class: "hl-layout-box hl-margin-box" }, Ge = { class: "hl-inline-input hl-input-h hl-input-top" }, Ze = { class: "hl-inline-input hl-input-v hl-input-right" }, qe = { class: "hl-inline-input hl-input-h hl-input-bottom" }, Qe = { class: "hl-inline-input hl-input-v hl-input-left" }, je = { class: "hl-layout-box hl-padding-box" }, et = { class: "hl-inline-input hl-input-h hl-input-top" }, tt = { class: "hl-inline-input hl-input-v hl-input-right" }, ot = { class: "hl-inline-input hl-input-h hl-input-bottom" }, lt = { class: "hl-inline-input hl-input-v hl-input-left" }, nt = /* @__PURE__ */ N({
|
|
345
|
-
__name: "_margin_padding",
|
|
346
|
-
props: {
|
|
347
|
-
margin: {},
|
|
348
|
-
padding: {}
|
|
349
|
-
},
|
|
350
|
-
emits: ["update:margin", "update:padding"],
|
|
351
|
-
setup($, { emit: k }) {
|
|
352
|
-
const { splitNumericUnit: _ } = Me(), s = oe({ margin: {}, padding: {} }), h = $, R = k, y = (e, u, o) => {
|
|
353
|
-
let v = e[u];
|
|
354
|
-
q(v) && (v = {});
|
|
355
|
-
let m = v[o];
|
|
356
|
-
q(m) && (m = "0px");
|
|
357
|
-
const f = _(m);
|
|
358
|
-
if (!f.valid)
|
|
359
|
-
return;
|
|
360
|
-
const U = ((f == null ? void 0 : f.numeric) || 0) + 1, w = f == null ? void 0 : f.unit;
|
|
361
|
-
L(e, { [u]: { [o]: `${U}${w}` } });
|
|
362
|
-
};
|
|
363
|
-
return x(() => s.margin, (e) => {
|
|
364
|
-
R("update:margin", e);
|
|
365
|
-
}, { deep: !0 }), x(() => s.padding, (e) => {
|
|
366
|
-
R("update:padding", e);
|
|
367
|
-
}, { deep: !0 }), x(() => h.margin, (e) => {
|
|
368
|
-
L(s, { margin: e });
|
|
369
|
-
}), x(() => h.padding, (e) => {
|
|
370
|
-
L(s, { padding: e });
|
|
371
|
-
}), (e, u) => (S(), Z("div", He, [
|
|
372
|
-
a("div", Pe, [
|
|
373
|
-
a("div", {
|
|
374
|
-
class: "hl-handle hl-handle-top hl-handle-top-border",
|
|
375
|
-
onClick: u[0] || (u[0] = (o) => y(s, "margin", "top"))
|
|
376
|
-
}, [
|
|
377
|
-
i(V, { name: "@css-arrow-top" })
|
|
378
|
-
]),
|
|
379
|
-
a("div", Ge, [
|
|
380
|
-
i(H, {
|
|
381
|
-
modelValue: s.margin.top,
|
|
382
|
-
"onUpdate:modelValue": u[1] || (u[1] = (o) => s.margin.top = o),
|
|
383
|
-
title: n(g).i18nt("designer.style.marginTop")
|
|
384
|
-
}, null, 8, ["modelValue", "title"])
|
|
385
|
-
]),
|
|
386
|
-
a("div", {
|
|
387
|
-
class: "hl-handle hl-handle-right hl-handle-right-border",
|
|
388
|
-
onClick: u[2] || (u[2] = (o) => y(s, "margin", "right"))
|
|
389
|
-
}, [
|
|
390
|
-
i(V, { name: "@css-arrow-right" })
|
|
391
|
-
]),
|
|
392
|
-
a("div", Ze, [
|
|
393
|
-
i(H, {
|
|
394
|
-
modelValue: s.margin.right,
|
|
395
|
-
"onUpdate:modelValue": u[3] || (u[3] = (o) => s.margin.right = o),
|
|
396
|
-
title: n(g).i18nt("designer.style.marginRight")
|
|
397
|
-
}, null, 8, ["modelValue", "title"])
|
|
398
|
-
]),
|
|
399
|
-
a("div", {
|
|
400
|
-
class: "hl-handle hl-handle-bottom hl-handle-bottom-border",
|
|
401
|
-
onClick: u[4] || (u[4] = (o) => y(s, "margin", "bottom"))
|
|
402
|
-
}, [
|
|
403
|
-
u[16] || (u[16] = a("span", { class: "hl-border-desp" }, "MARGIN", -1)),
|
|
404
|
-
i(V, { name: "@css-arrow-bottom" })
|
|
405
|
-
]),
|
|
406
|
-
a("div", qe, [
|
|
407
|
-
i(H, {
|
|
408
|
-
modelValue: s.margin.bottom,
|
|
409
|
-
"onUpdate:modelValue": u[5] || (u[5] = (o) => s.margin.bottom = o),
|
|
410
|
-
title: n(g).i18nt("designer.style.marginBottom")
|
|
411
|
-
}, null, 8, ["modelValue", "title"])
|
|
412
|
-
]),
|
|
413
|
-
a("div", {
|
|
414
|
-
class: "hl-handle hl-handle-left hl-handle-left-border",
|
|
415
|
-
onClick: u[6] || (u[6] = (o) => y(s, "margin", "left"))
|
|
416
|
-
}, [
|
|
417
|
-
i(V, { name: "@css-arrow-left" })
|
|
418
|
-
]),
|
|
419
|
-
a("div", Qe, [
|
|
420
|
-
i(H, {
|
|
421
|
-
modelValue: s.margin.left,
|
|
422
|
-
"onUpdate:modelValue": u[7] || (u[7] = (o) => s.margin.left = o),
|
|
423
|
-
title: n(g).i18nt("designer.style.marginLeft")
|
|
424
|
-
}, null, 8, ["modelValue", "title"])
|
|
425
|
-
])
|
|
426
|
-
]),
|
|
427
|
-
a("div", je, [
|
|
428
|
-
a("div", {
|
|
429
|
-
class: "hl-handle hl-handle-top hl-handle-top-border",
|
|
430
|
-
onClick: u[8] || (u[8] = (o) => y(s, "padding", "top"))
|
|
431
|
-
}, [
|
|
432
|
-
i(V, { name: "@css-arrow-top" })
|
|
433
|
-
]),
|
|
434
|
-
a("div", et, [
|
|
435
|
-
i(H, {
|
|
436
|
-
modelValue: s.padding.top,
|
|
437
|
-
"onUpdate:modelValue": u[9] || (u[9] = (o) => s.padding.top = o),
|
|
438
|
-
title: n(g).i18nt("designer.style.paddingTop")
|
|
439
|
-
}, null, 8, ["modelValue", "title"])
|
|
440
|
-
]),
|
|
441
|
-
a("div", {
|
|
442
|
-
class: "hl-handle hl-handle-right hl-handle-right-border",
|
|
443
|
-
onClick: u[10] || (u[10] = (o) => y(s, "padding", "right"))
|
|
444
|
-
}, [
|
|
445
|
-
i(V, { name: "@css-arrow-right" })
|
|
446
|
-
]),
|
|
447
|
-
a("div", tt, [
|
|
448
|
-
i(H, {
|
|
449
|
-
modelValue: s.padding.right,
|
|
450
|
-
"onUpdate:modelValue": u[11] || (u[11] = (o) => s.padding.right = o),
|
|
451
|
-
title: n(g).i18nt("designer.style.paddingRight")
|
|
452
|
-
}, null, 8, ["modelValue", "title"])
|
|
453
|
-
]),
|
|
454
|
-
a("div", {
|
|
455
|
-
class: "hl-handle hl-handle-bottom hl-handle-bottom-border",
|
|
456
|
-
onClick: u[12] || (u[12] = (o) => y(s, "padding", "bottom"))
|
|
457
|
-
}, [
|
|
458
|
-
u[17] || (u[17] = a("span", { class: "hl-border-desp" }, "PADDING", -1)),
|
|
459
|
-
i(V, { name: "@css-arrow-bottom" })
|
|
460
|
-
]),
|
|
461
|
-
a("div", ot, [
|
|
462
|
-
i(H, {
|
|
463
|
-
modelValue: s.padding.bottom,
|
|
464
|
-
"onUpdate:modelValue": u[13] || (u[13] = (o) => s.padding.bottom = o),
|
|
465
|
-
title: n(g).i18nt("designer.style.paddingBottom")
|
|
466
|
-
}, null, 8, ["modelValue", "title"])
|
|
467
|
-
]),
|
|
468
|
-
a("div", {
|
|
469
|
-
class: "hl-handle hl-handle-left hl-handle-left-border",
|
|
470
|
-
onClick: u[14] || (u[14] = (o) => y(s, "padding", "left"))
|
|
471
|
-
}, [
|
|
472
|
-
i(V, { name: "@css-arrow-left" })
|
|
473
|
-
]),
|
|
474
|
-
a("div", lt, [
|
|
475
|
-
i(H, {
|
|
476
|
-
modelValue: s.padding.left,
|
|
477
|
-
"onUpdate:modelValue": u[15] || (u[15] = (o) => s.padding.left = o),
|
|
478
|
-
title: n(g).i18nt("designer.style.paddingLeft")
|
|
479
|
-
}, null, 8, ["modelValue", "title"])
|
|
480
|
-
])
|
|
481
|
-
])
|
|
482
|
-
]));
|
|
483
|
-
}
|
|
484
|
-
});
|
|
485
|
-
const st = /* @__PURE__ */ Q(nt, [["__scopeId", "data-v-bc109a82"]]), it = { class: "vs-style-border-style" }, dt = { class: "vs-style-border-setter-left-pane" }, rt = { class: "vs-style-border-setter-row" }, at = { class: "vs-style-border-setter-row" }, ut = { class: "vs-style-border-setter-row" }, pt = { class: "vs-style-border-setter-right-pane" }, mt = /* @__PURE__ */ N({
|
|
486
|
-
__name: "_border",
|
|
487
|
-
props: {
|
|
488
|
-
borderWidth: {},
|
|
489
|
-
borderStyle: {},
|
|
490
|
-
borderColor: {},
|
|
491
|
-
borderLeftWidth: {},
|
|
492
|
-
borderLeftStyle: {},
|
|
493
|
-
borderLeftColor: {},
|
|
494
|
-
borderTopWidth: {},
|
|
495
|
-
borderTopStyle: {},
|
|
496
|
-
borderTopColor: {},
|
|
497
|
-
borderBottomWidth: {},
|
|
498
|
-
borderBottomStyle: {},
|
|
499
|
-
borderBottomColor: {},
|
|
500
|
-
borderRightWidth: {},
|
|
501
|
-
borderRightStyle: {},
|
|
502
|
-
borderRightColor: {}
|
|
503
|
-
},
|
|
504
|
-
emits: [
|
|
505
|
-
"update:border"
|
|
506
|
-
],
|
|
507
|
-
setup($, { emit: k }) {
|
|
508
|
-
const { switchColorClass: _ } = le(), s = [
|
|
509
|
-
"borderBottom",
|
|
510
|
-
"borderLeft",
|
|
511
|
-
"borderRight",
|
|
512
|
-
"borderTop"
|
|
513
|
-
/* borderTop */
|
|
514
|
-
], h = [
|
|
515
|
-
"color",
|
|
516
|
-
"style",
|
|
517
|
-
"width"
|
|
518
|
-
/* width */
|
|
519
|
-
], R = k, y = $, e = C(
|
|
520
|
-
"border"
|
|
521
|
-
/* border */
|
|
522
|
-
), u = (l) => {
|
|
523
|
-
e.value = l;
|
|
524
|
-
}, o = oe({}), v = C(!1), m = (l, p) => ie(`${ie(l, "kebab")}-${p}`, "camel"), f = (l) => {
|
|
525
|
-
const p = m(e.value, l);
|
|
526
|
-
var t = m("border", l);
|
|
527
|
-
return (o == null ? void 0 : o[p]) || (o == null ? void 0 : o[t]);
|
|
528
|
-
}, U = (l, p) => {
|
|
529
|
-
const t = m(e.value, p);
|
|
530
|
-
ee(t, p, l);
|
|
531
|
-
}, w = K({
|
|
532
|
-
get: () => f(
|
|
533
|
-
"width"
|
|
534
|
-
/* width */
|
|
535
|
-
),
|
|
536
|
-
set: (l) => {
|
|
537
|
-
U(
|
|
538
|
-
l,
|
|
539
|
-
"width"
|
|
540
|
-
/* width */
|
|
541
|
-
);
|
|
542
|
-
}
|
|
543
|
-
}), z = K({
|
|
544
|
-
get: () => f(
|
|
545
|
-
"style"
|
|
546
|
-
/* style */
|
|
547
|
-
),
|
|
548
|
-
set: (l) => {
|
|
549
|
-
U(
|
|
550
|
-
l,
|
|
551
|
-
"style"
|
|
552
|
-
/* style */
|
|
553
|
-
);
|
|
554
|
-
}
|
|
555
|
-
}), E = K({
|
|
556
|
-
get: () => f(
|
|
557
|
-
"color"
|
|
558
|
-
/* color */
|
|
559
|
-
),
|
|
560
|
-
set: (l) => {
|
|
561
|
-
U(
|
|
562
|
-
l,
|
|
563
|
-
"color"
|
|
564
|
-
/* color */
|
|
565
|
-
);
|
|
566
|
-
}
|
|
567
|
-
}), M = (l) => {
|
|
568
|
-
const p = P(l);
|
|
569
|
-
return h.forEach((t) => {
|
|
570
|
-
const d = m("border", t);
|
|
571
|
-
p == null || delete p[d];
|
|
572
|
-
}), p;
|
|
573
|
-
}, Y = (l, p) => {
|
|
574
|
-
let t = !0, d = null;
|
|
575
|
-
return s.forEach((T) => {
|
|
576
|
-
const b = m(T, p);
|
|
577
|
-
var I = l == null ? void 0 : l[b];
|
|
578
|
-
t = t && (I == d || d === null), d = I;
|
|
579
|
-
}), t;
|
|
580
|
-
}, j = (l) => {
|
|
581
|
-
let p = P(l);
|
|
582
|
-
return h.forEach((t) => {
|
|
583
|
-
if (!Y(l, t))
|
|
584
|
-
return;
|
|
585
|
-
const d = l == null ? void 0 : l[m("borderLeft", t)], T = m("border", t), b = l == null ? void 0 : l[T];
|
|
586
|
-
Ve(b) && L(p, { [T]: d });
|
|
587
|
-
}), p;
|
|
588
|
-
}, G = (l, p, t, d) => {
|
|
589
|
-
l === "border" && s.forEach((T) => {
|
|
590
|
-
const b = m(T, p), I = o[b];
|
|
591
|
-
(I == d || q(I)) && L(o, { [b]: t });
|
|
592
|
-
});
|
|
593
|
-
}, ee = (l, p, t) => {
|
|
594
|
-
(o == null ? void 0 : o[l]) != t && (v.value = !0, G(e.value, p, t, o == null ? void 0 : o[l]), L(o, { [l]: t }), R("update:border", M(o)), setTimeout(() => {
|
|
595
|
-
v.value = !1;
|
|
596
|
-
}, 1e3));
|
|
597
|
-
}, r = (l) => {
|
|
598
|
-
L(o, P(j(l)));
|
|
599
|
-
};
|
|
600
|
-
return x(() => y, (l) => {
|
|
601
|
-
v.value || r(l);
|
|
602
|
-
}, { deep: !0, immediate: !0 }), (l, p) => {
|
|
603
|
-
const t = D("el-tooltip");
|
|
604
|
-
return S(), Z("div", it, [
|
|
605
|
-
a("div", dt, [
|
|
606
|
-
a("div", rt, [
|
|
607
|
-
a("div", {
|
|
608
|
-
class: F(["vs-style-border-col", {
|
|
609
|
-
"vs-style-border-selected": e.value === "borderLeft"
|
|
610
|
-
/* borderLeft */
|
|
611
|
-
}]),
|
|
612
|
-
onClick: p[0] || (p[0] = (d) => u(
|
|
613
|
-
"borderLeft"
|
|
614
|
-
/* borderLeft */
|
|
615
|
-
))
|
|
616
|
-
}, [
|
|
617
|
-
i(t, {
|
|
618
|
-
placement: "left",
|
|
619
|
-
content: n(g).i18nt("designer.style.borderLeft")
|
|
620
|
-
}, {
|
|
621
|
-
default: c(() => [...p[8] || (p[8] = [
|
|
622
|
-
a("span", null, "┣", -1)
|
|
623
|
-
])]),
|
|
624
|
-
_: 1
|
|
625
|
-
}, 8, ["content"])
|
|
626
|
-
], 2)
|
|
627
|
-
]),
|
|
628
|
-
a("div", at, [
|
|
629
|
-
a("div", {
|
|
630
|
-
class: F(["vs-style-border-col", {
|
|
631
|
-
"vs-style-border-selected": e.value === "borderTop"
|
|
632
|
-
/* borderTop */
|
|
633
|
-
}]),
|
|
634
|
-
onClick: p[1] || (p[1] = (d) => u(
|
|
635
|
-
"borderTop"
|
|
636
|
-
/* borderTop */
|
|
637
|
-
))
|
|
638
|
-
}, [
|
|
639
|
-
i(t, {
|
|
640
|
-
placement: "top",
|
|
641
|
-
content: n(g).i18nt("designer.style.borderTop")
|
|
642
|
-
}, {
|
|
643
|
-
default: c(() => [...p[9] || (p[9] = [
|
|
644
|
-
a("span", null, "┳", -1)
|
|
645
|
-
])]),
|
|
646
|
-
_: 1
|
|
647
|
-
}, 8, ["content"])
|
|
648
|
-
], 2),
|
|
649
|
-
a("div", {
|
|
650
|
-
class: F(["vs-style-border-col", {
|
|
651
|
-
"vs-style-border-selected": e.value === "border"
|
|
652
|
-
/* border */
|
|
653
|
-
}]),
|
|
654
|
-
onClick: p[2] || (p[2] = (d) => u(
|
|
655
|
-
"border"
|
|
656
|
-
/* border */
|
|
657
|
-
))
|
|
658
|
-
}, [
|
|
659
|
-
i(t, {
|
|
660
|
-
content: n(g).i18nt("designer.style.border")
|
|
661
|
-
}, {
|
|
662
|
-
default: c(() => [...p[10] || (p[10] = [
|
|
663
|
-
a("span", null, "╋", -1)
|
|
664
|
-
])]),
|
|
665
|
-
_: 1
|
|
666
|
-
}, 8, ["content"])
|
|
667
|
-
], 2),
|
|
668
|
-
a("div", {
|
|
669
|
-
class: F(["vs-style-border-col", {
|
|
670
|
-
"vs-style-border-selected": e.value === "borderBottom"
|
|
671
|
-
/* borderBottom */
|
|
672
|
-
}]),
|
|
673
|
-
onClick: p[3] || (p[3] = (d) => u(
|
|
674
|
-
"borderBottom"
|
|
675
|
-
/* borderBottom */
|
|
676
|
-
))
|
|
677
|
-
}, [
|
|
678
|
-
i(t, {
|
|
679
|
-
placement: "bottom",
|
|
680
|
-
content: n(g).i18nt("designer.style.borderBottom")
|
|
681
|
-
}, {
|
|
682
|
-
default: c(() => [...p[11] || (p[11] = [
|
|
683
|
-
a("span", null, "┻", -1)
|
|
684
|
-
])]),
|
|
685
|
-
_: 1
|
|
686
|
-
}, 8, ["content"])
|
|
687
|
-
], 2)
|
|
688
|
-
]),
|
|
689
|
-
a("div", ut, [
|
|
690
|
-
a("div", {
|
|
691
|
-
class: F(["vs-style-border-col", {
|
|
692
|
-
"vs-style-border-selected": e.value === "borderRight"
|
|
693
|
-
/* borderRight */
|
|
694
|
-
}]),
|
|
695
|
-
onClick: p[4] || (p[4] = (d) => u(
|
|
696
|
-
"borderRight"
|
|
697
|
-
/* borderRight */
|
|
698
|
-
))
|
|
699
|
-
}, [
|
|
700
|
-
i(t, {
|
|
701
|
-
placement: "right",
|
|
702
|
-
content: n(g).i18nt("designer.style.borderRight")
|
|
703
|
-
}, {
|
|
704
|
-
default: c(() => [...p[12] || (p[12] = [
|
|
705
|
-
a("span", null, "┫", -1)
|
|
706
|
-
])]),
|
|
707
|
-
_: 1
|
|
708
|
-
}, 8, ["content"])
|
|
709
|
-
], 2)
|
|
710
|
-
])
|
|
711
|
-
]),
|
|
712
|
-
a("div", pt, [
|
|
713
|
-
i(O, {
|
|
714
|
-
label: n(g).i18nt("designer.style.borderStyle"),
|
|
715
|
-
color: n(_)(z.value)
|
|
716
|
-
}, {
|
|
717
|
-
input: c(() => [
|
|
718
|
-
i(te, {
|
|
719
|
-
options: $e,
|
|
720
|
-
modelValue: z.value,
|
|
721
|
-
"onUpdate:modelValue": p[5] || (p[5] = (d) => z.value = d)
|
|
722
|
-
}, null, 8, ["options", "modelValue"])
|
|
723
|
-
]),
|
|
724
|
-
_: 1
|
|
725
|
-
}, 8, ["label", "color"]),
|
|
726
|
-
i(W, {
|
|
727
|
-
modelValue: w.value,
|
|
728
|
-
"onUpdate:modelValue": p[6] || (p[6] = (d) => w.value = d),
|
|
729
|
-
options: n(B)(A),
|
|
730
|
-
"show-label": !0,
|
|
731
|
-
label: n(g).i18nt("designer.style.borderWidth"),
|
|
732
|
-
color: n(_)(w.value)
|
|
733
|
-
}, null, 8, ["modelValue", "options", "label", "color"]),
|
|
734
|
-
i(de, {
|
|
735
|
-
modelValue: E.value,
|
|
736
|
-
"onUpdate:modelValue": p[7] || (p[7] = (d) => E.value = d),
|
|
737
|
-
label: n(g).i18nt("designer.style.borderColor"),
|
|
738
|
-
color: n(_)(E.value)
|
|
739
|
-
}, null, 8, ["modelValue", "label", "color"])
|
|
740
|
-
])
|
|
741
|
-
]);
|
|
742
|
-
};
|
|
743
|
-
}
|
|
744
|
-
});
|
|
745
|
-
const gt = /* @__PURE__ */ Q(mt, [["__scopeId", "data-v-11351887"]]), ct = { class: "vs-style-border-radius" }, bt = { class: "vs-style-border-setter-left-pane" }, ft = { class: "vs-style-border-setter-row" }, vt = { class: "vs-style-border-setter-row" }, yt = { class: "vs-style-border-setter-row" }, Vt = { class: "vs-style-border-setter-right-pane" }, ht = {
|
|
746
|
-
key: 1,
|
|
747
|
-
class: "flex flexJustify",
|
|
748
|
-
style: { margin: "5px 0px" }
|
|
749
|
-
}, _t = /* @__PURE__ */ N({
|
|
750
|
-
__name: "_border_radius",
|
|
751
|
-
props: {
|
|
752
|
-
borderRadius: {},
|
|
753
|
-
borderTopLeftRadius: {},
|
|
754
|
-
borderTopRightRadius: {},
|
|
755
|
-
borderBottomLeftRadius: {},
|
|
756
|
-
borderBottomRightRadius: {}
|
|
757
|
-
},
|
|
758
|
-
emits: [
|
|
759
|
-
"update:borderRadius"
|
|
760
|
-
],
|
|
761
|
-
setup($, { emit: k }) {
|
|
762
|
-
const { switchColorClass: _ } = le();
|
|
763
|
-
let s = oe({});
|
|
764
|
-
const h = $, R = k;
|
|
765
|
-
let y = C(!1);
|
|
766
|
-
const e = C(
|
|
767
|
-
"borderRadius"
|
|
768
|
-
/* borderRadius */
|
|
769
|
-
), u = [
|
|
770
|
-
"borderBottomLeftRadius",
|
|
771
|
-
"borderBottomRightRadius",
|
|
772
|
-
"borderTopLeftRadius",
|
|
773
|
-
"borderTopRightRadius"
|
|
774
|
-
/* borderTopRightRadius */
|
|
775
|
-
], o = K({
|
|
776
|
-
get: () => {
|
|
777
|
-
const r = e.value;
|
|
778
|
-
var l = "borderRadius";
|
|
779
|
-
return (s == null ? void 0 : s[r]) || (s == null ? void 0 : s[l]);
|
|
780
|
-
},
|
|
781
|
-
set: (r) => {
|
|
782
|
-
const l = e.value;
|
|
783
|
-
U(l, r);
|
|
784
|
-
}
|
|
785
|
-
}), v = (r) => {
|
|
786
|
-
let l = P(r);
|
|
787
|
-
return L(l, { ["borderRadius"]: Y(r) }), l;
|
|
788
|
-
}, m = (r, l, p) => {
|
|
789
|
-
r === "borderRadius" && u.forEach((t) => {
|
|
790
|
-
const d = t, T = s[d];
|
|
791
|
-
(T == p || q(T)) && L(s, { [d]: l });
|
|
792
|
-
});
|
|
793
|
-
}, f = (r) => {
|
|
794
|
-
const l = P(r);
|
|
795
|
-
return l == null || delete l.borderRadius, l;
|
|
796
|
-
}, U = (r, l) => {
|
|
797
|
-
(s == null ? void 0 : s[r]) != l && (y.value = !0, m(e.value, l, s == null ? void 0 : s[r]), L(s, { [r]: l }), R("update:borderRadius", f(s)), setTimeout(() => {
|
|
798
|
-
y.value = !1;
|
|
799
|
-
}, 1e3));
|
|
800
|
-
}, w = (r) => {
|
|
801
|
-
y.value = !1, e.value = r, L(s, { borderRadius: Y(s) }), setTimeout(() => {
|
|
802
|
-
y.value = !0;
|
|
803
|
-
}, 1e3);
|
|
804
|
-
}, z = (r) => `${(r == null ? void 0 : r.borderTopLeftRadius) || "0px"} ${(r == null ? void 0 : r.borderTopRightRadius) || "0px"} ${(r == null ? void 0 : r.borderBottomRightRadius) || "0px"} ${(r == null ? void 0 : r.borderBottomLeftRadius) || "0px"}`, E = (r) => {
|
|
805
|
-
var l = {}, p = !0;
|
|
806
|
-
if (q(r) || r === "")
|
|
807
|
-
return { obj: l, isSame: p };
|
|
808
|
-
var t = (r == null ? void 0 : r.split(" ")) || [];
|
|
809
|
-
if (!t || (t == null ? void 0 : t.length) <= 0)
|
|
810
|
-
return { obj: l, isSame: p };
|
|
811
|
-
let d, T, b, I;
|
|
812
|
-
return (t == null ? void 0 : t.length) === 1 ? d = T = I = b = t == null ? void 0 : t[0] : (t == null ? void 0 : t.length) == 2 ? (d = T = t == null ? void 0 : t[0], I = b = t == null ? void 0 : t[1]) : (t == null ? void 0 : t.length) == 4 && (d = t == null ? void 0 : t[0], T = t == null ? void 0 : t[1], b = t == null ? void 0 : t[2], I = t == null ? void 0 : t[3]), l.borderTopLeftRadius = d, l.borderTopRightRadius = T, l.borderBottomRightRadius = b, l.borderBottomLeftRadius = I, l.borderRadius = Y(l), { obj: l, isSame: M(l) };
|
|
813
|
-
}, M = (r) => he([
|
|
814
|
-
r == null ? void 0 : r.borderTopLeftRadius,
|
|
815
|
-
r == null ? void 0 : r.borderTopRightRadius,
|
|
816
|
-
r == null ? void 0 : r.borderBottomRightRadius,
|
|
817
|
-
r == null ? void 0 : r.borderBottomLeftRadius
|
|
818
|
-
]), Y = (r) => M(r) ? r == null ? void 0 : r.borderTopLeftRadius : z(r), j = (r) => {
|
|
819
|
-
var l;
|
|
820
|
-
return !((l = E(r)) != null && l.isSame);
|
|
821
|
-
}, G = K(() => j(o.value)), ee = (r) => {
|
|
822
|
-
L(s, P(v(r)));
|
|
823
|
-
};
|
|
824
|
-
return x(() => h, (r) => {
|
|
825
|
-
y.value || ee(r);
|
|
826
|
-
}, { immediate: !0, deep: !0 }), (r, l) => {
|
|
827
|
-
const p = D("el-tooltip"), t = D("el-input");
|
|
828
|
-
return S(), Z("div", ct, [
|
|
829
|
-
a("div", bt, [
|
|
830
|
-
a("div", ft, [
|
|
831
|
-
a("div", {
|
|
832
|
-
class: F(["vs-style-border-col", {
|
|
833
|
-
"vs-style-border-selected": e.value === "borderTopLeftRadius"
|
|
834
|
-
/* borderTopLeftRadius */
|
|
835
|
-
}]),
|
|
836
|
-
onClick: l[0] || (l[0] = (d) => w(
|
|
837
|
-
"borderTopLeftRadius"
|
|
838
|
-
/* borderTopLeftRadius */
|
|
839
|
-
))
|
|
840
|
-
}, [
|
|
841
|
-
i(p, {
|
|
842
|
-
placement: "left-start",
|
|
843
|
-
content: n(g).i18nt("designer.style.borderRadiusTopLeft")
|
|
844
|
-
}, {
|
|
845
|
-
default: c(() => [...l[7] || (l[7] = [
|
|
846
|
-
a("span", null, "┏", -1)
|
|
847
|
-
])]),
|
|
848
|
-
_: 1
|
|
849
|
-
}, 8, ["content"])
|
|
850
|
-
], 2),
|
|
851
|
-
a("div", {
|
|
852
|
-
class: F(["vs-style-border-col", {
|
|
853
|
-
"vs-style-border-selected": e.value === "borderBottomLeftRadius"
|
|
854
|
-
/* borderBottomLeftRadius */
|
|
855
|
-
}]),
|
|
856
|
-
onClick: l[1] || (l[1] = (d) => w(
|
|
857
|
-
"borderBottomLeftRadius"
|
|
858
|
-
/* borderBottomLeftRadius */
|
|
859
|
-
))
|
|
860
|
-
}, [
|
|
861
|
-
i(p, {
|
|
862
|
-
placement: "left-end",
|
|
863
|
-
content: n(g).i18nt("designer.style.borderRadiusBottomLeft")
|
|
864
|
-
}, {
|
|
865
|
-
default: c(() => [...l[8] || (l[8] = [
|
|
866
|
-
a("span", null, "┗", -1)
|
|
867
|
-
])]),
|
|
868
|
-
_: 1
|
|
869
|
-
}, 8, ["content"])
|
|
870
|
-
], 2)
|
|
871
|
-
]),
|
|
872
|
-
a("div", vt, [
|
|
873
|
-
a("div", {
|
|
874
|
-
class: F(["vs-style-border-col", {
|
|
875
|
-
"vs-style-border-selected": e.value === "borderRadius"
|
|
876
|
-
/* borderRadius */
|
|
877
|
-
}]),
|
|
878
|
-
onClick: l[2] || (l[2] = (d) => w(
|
|
879
|
-
"borderRadius"
|
|
880
|
-
/* borderRadius */
|
|
881
|
-
))
|
|
882
|
-
}, [
|
|
883
|
-
i(p, {
|
|
884
|
-
content: n(g).i18nt("designer.style.borderRadiusAll")
|
|
885
|
-
}, {
|
|
886
|
-
default: c(() => [...l[9] || (l[9] = [
|
|
887
|
-
a("span", null, "╋", -1)
|
|
888
|
-
])]),
|
|
889
|
-
_: 1
|
|
890
|
-
}, 8, ["content"])
|
|
891
|
-
], 2)
|
|
892
|
-
]),
|
|
893
|
-
a("div", yt, [
|
|
894
|
-
a("div", {
|
|
895
|
-
class: F(["vs-style-border-col", {
|
|
896
|
-
"vs-style-border-selected": e.value === "borderTopRightRadius"
|
|
897
|
-
/* borderTopRightRadius */
|
|
898
|
-
}]),
|
|
899
|
-
onClick: l[3] || (l[3] = (d) => w(
|
|
900
|
-
"borderTopRightRadius"
|
|
901
|
-
/* borderTopRightRadius */
|
|
902
|
-
))
|
|
903
|
-
}, [
|
|
904
|
-
i(p, {
|
|
905
|
-
placement: "right-start",
|
|
906
|
-
content: n(g).i18nt("designer.style.borderRadiusTopRight")
|
|
907
|
-
}, {
|
|
908
|
-
default: c(() => [...l[10] || (l[10] = [
|
|
909
|
-
a("span", null, "┓", -1)
|
|
910
|
-
])]),
|
|
911
|
-
_: 1
|
|
912
|
-
}, 8, ["content"])
|
|
913
|
-
], 2),
|
|
914
|
-
a("div", {
|
|
915
|
-
class: F(["vs-style-border-col", {
|
|
916
|
-
"vs-style-border-selected": e.value === "borderBottomRightRadius"
|
|
917
|
-
/* borderBottomRightRadius */
|
|
918
|
-
}]),
|
|
919
|
-
onClick: l[4] || (l[4] = (d) => w(
|
|
920
|
-
"borderBottomRightRadius"
|
|
921
|
-
/* borderBottomRightRadius */
|
|
922
|
-
))
|
|
923
|
-
}, [
|
|
924
|
-
i(p, {
|
|
925
|
-
placement: "right-end",
|
|
926
|
-
content: n(g).i18nt("designer.style.borderRadiusBottomRight")
|
|
927
|
-
}, {
|
|
928
|
-
default: c(() => [...l[11] || (l[11] = [
|
|
929
|
-
a("span", null, "┛", -1)
|
|
930
|
-
])]),
|
|
931
|
-
_: 1
|
|
932
|
-
}, 8, ["content"])
|
|
933
|
-
], 2)
|
|
934
|
-
])
|
|
935
|
-
]),
|
|
936
|
-
a("div", Vt, [
|
|
937
|
-
G.value ? (S(), Z("div", ht, [
|
|
938
|
-
a("div", {
|
|
939
|
-
style: { width: "3em" },
|
|
940
|
-
class: F([n(_)(o.value)])
|
|
941
|
-
}, J(n(g).i18nt("designer.style.width")), 3),
|
|
942
|
-
i(t, {
|
|
943
|
-
modelValue: o.value,
|
|
944
|
-
"onUpdate:modelValue": l[6] || (l[6] = (d) => o.value = d),
|
|
945
|
-
readonly: !0
|
|
946
|
-
}, null, 8, ["modelValue"])
|
|
947
|
-
])) : (S(), X(W, {
|
|
948
|
-
key: 0,
|
|
949
|
-
modelValue: o.value,
|
|
950
|
-
"onUpdate:modelValue": l[5] || (l[5] = (d) => o.value = d),
|
|
951
|
-
options: n(B)(A),
|
|
952
|
-
"show-label": !0,
|
|
953
|
-
label: n(g).i18nt("designer.style.width"),
|
|
954
|
-
color: n(_)(o.value)
|
|
955
|
-
}, null, 8, ["modelValue", "options", "label", "color"]))
|
|
956
|
-
])
|
|
957
|
-
]);
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
});
|
|
961
|
-
const Rt = /* @__PURE__ */ Q(_t, [["__scopeId", "data-v-a30672a7"]]), $t = { class: "custom-divider" }, Tt = { class: "flex flexJustify" }, kt = { style: { width: "48%" } }, wt = { class: "custom-divider" }, Ut = { class: "flex flexJustify" }, xt = { class: "custom-divider" }, Bt = { class: "flex flexJustify" }, Lt = { class: "flex flexJustify" }, St = { class: "custom-divider" }, Ct = { class: "custom-divider" }, Et = { class: "custom-divider" }, It = N({ componentName: Re.PropertyEditor }), mo = /* @__PURE__ */ N({
|
|
962
|
-
...It,
|
|
963
|
-
__name: "css-editor",
|
|
964
|
-
props: { ...Ie },
|
|
965
|
-
setup($) {
|
|
966
|
-
const k = $, { propValue: _, propName: s, propChanged: h } = Fe(k);
|
|
967
|
-
let R = C({});
|
|
968
|
-
const y = C(ae.default), e = oe({}), { changeListener: u, switchColor: o, toStateInf: v } = le(), m = (t) => {
|
|
969
|
-
var d;
|
|
970
|
-
p.value = !1, (d = Object.keys(e)) == null || d.forEach((T) => {
|
|
971
|
-
delete e[T];
|
|
972
|
-
}), L(e, P(R.value[t])), setTimeout(() => {
|
|
973
|
-
p.value = !0;
|
|
974
|
-
}, 1e3);
|
|
975
|
-
}, f = () => {
|
|
976
|
-
v(_.value || "").then((t) => {
|
|
977
|
-
R.value = t, y.value = ae.default, m(y.value), p.value = !0;
|
|
978
|
-
});
|
|
979
|
-
}, U = (t) => {
|
|
980
|
-
L(e, t);
|
|
981
|
-
}, w = K(() => ({
|
|
982
|
-
top: e == null ? void 0 : e.marginTop,
|
|
983
|
-
left: e == null ? void 0 : e.marginLeft,
|
|
984
|
-
right: e == null ? void 0 : e.marginRight,
|
|
985
|
-
bottom: e == null ? void 0 : e.marginBottom
|
|
986
|
-
})), z = K(() => ({
|
|
987
|
-
top: e == null ? void 0 : e.paddingTop,
|
|
988
|
-
left: e == null ? void 0 : e.paddingLeft,
|
|
989
|
-
right: e == null ? void 0 : e.paddingRight,
|
|
990
|
-
bottom: e == null ? void 0 : e.paddingBottom
|
|
991
|
-
})), E = (t) => {
|
|
992
|
-
U({
|
|
993
|
-
marginTop: t == null ? void 0 : t.top,
|
|
994
|
-
marginLeft: t == null ? void 0 : t.left,
|
|
995
|
-
marginRight: t == null ? void 0 : t.right,
|
|
996
|
-
marginBottom: t == null ? void 0 : t.bottom
|
|
997
|
-
});
|
|
998
|
-
}, M = (t) => {
|
|
999
|
-
U({
|
|
1000
|
-
paddingTop: t == null ? void 0 : t.top,
|
|
1001
|
-
paddingLeft: t == null ? void 0 : t.left,
|
|
1002
|
-
paddingRight: t == null ? void 0 : t.right,
|
|
1003
|
-
paddingBottom: t == null ? void 0 : t.bottom
|
|
1004
|
-
});
|
|
1005
|
-
}, Y = (t) => {
|
|
1006
|
-
h(t), G(!1);
|
|
1007
|
-
}, j = () => {
|
|
1008
|
-
G(!1);
|
|
1009
|
-
}, G = (t = !0, d, T, b, I, me) => {
|
|
1010
|
-
r({
|
|
1011
|
-
attrs: L({
|
|
1012
|
-
props: {
|
|
1013
|
-
optionModel: k.optionModel,
|
|
1014
|
-
propConfig: { ...k.propConfig, ...d },
|
|
1015
|
-
...b
|
|
1016
|
-
},
|
|
1017
|
-
dialogType: T,
|
|
1018
|
-
visible: t,
|
|
1019
|
-
title: g.i18nt("designer.setting.widgetCss"),
|
|
1020
|
-
name: s.value
|
|
1021
|
-
}, me),
|
|
1022
|
-
events: {
|
|
1023
|
-
confirm: I || Y,
|
|
1024
|
-
cancel: j
|
|
1025
|
-
}
|
|
1026
|
-
});
|
|
1027
|
-
}, { getInstance: ee } = _e(), { editHandler: r } = Ke({ ...k, instance: ee() }), l = () => {
|
|
1028
|
-
G(!0, { ...k.propConfig, type: Ee.css }, Ce.code, void 0, (t) => {
|
|
1029
|
-
var d = t;
|
|
1030
|
-
v(d).then((T) => {
|
|
1031
|
-
R.value = T, m(y.value), Y(d);
|
|
1032
|
-
});
|
|
1033
|
-
});
|
|
1034
|
-
}, p = C(!1);
|
|
1035
|
-
return x(e, (t) => {
|
|
1036
|
-
p.value && (R.value[y.value] = P(t), u(R.value).then((d) => {
|
|
1037
|
-
h(d);
|
|
1038
|
-
}));
|
|
1039
|
-
}, { deep: !0 }), fe(() => {
|
|
1040
|
-
f();
|
|
1041
|
-
}), (t, d) => {
|
|
1042
|
-
const T = D("el-button");
|
|
1043
|
-
return S(), X(De, ve(ye(t.$props)), {
|
|
1044
|
-
slotEditor: c(() => [
|
|
1045
|
-
i(We, se(t.$props, { "prop-config": t.propConfig }), {
|
|
1046
|
-
specialEditor: c(() => [
|
|
1047
|
-
a("div", null, [
|
|
1048
|
-
a("div", $t, J(n(g).i18nt("designer.style.state")), 1),
|
|
1049
|
-
a("div", Tt, [
|
|
1050
|
-
i(T, {
|
|
1051
|
-
type: "primary",
|
|
1052
|
-
onClick: l
|
|
1053
|
-
}, {
|
|
1054
|
-
default: c(() => [
|
|
1055
|
-
pe(J(n(g).i18nt("designer.style.codeEdit")), 1)
|
|
1056
|
-
]),
|
|
1057
|
-
_: 1
|
|
1058
|
-
}),
|
|
1059
|
-
a("div", kt, [
|
|
1060
|
-
i(te, {
|
|
1061
|
-
options: Te,
|
|
1062
|
-
modelValue: y.value,
|
|
1063
|
-
"onUpdate:modelValue": d[0] || (d[0] = (b) => y.value = b),
|
|
1064
|
-
onChange: m
|
|
1065
|
-
}, null, 8, ["options", "modelValue"])
|
|
1066
|
-
])
|
|
1067
|
-
]),
|
|
1068
|
-
a("div", wt, J(n(g).i18nt("designer.style.container")), 1),
|
|
1069
|
-
i(O, {
|
|
1070
|
-
label: n(g).i18nt("designer.style.display")
|
|
1071
|
-
}, {
|
|
1072
|
-
label: c(() => [
|
|
1073
|
-
i(V, {
|
|
1074
|
-
name: "@css-display",
|
|
1075
|
-
color: n(o)(e == null ? void 0 : e.display)
|
|
1076
|
-
}, null, 8, ["color"])
|
|
1077
|
-
]),
|
|
1078
|
-
input: c(() => [
|
|
1079
|
-
i(ne, {
|
|
1080
|
-
options: n(B)(ke),
|
|
1081
|
-
"icon-title": "display",
|
|
1082
|
-
modelValue: e.display,
|
|
1083
|
-
"onUpdate:modelValue": d[1] || (d[1] = (b) => e.display = b)
|
|
1084
|
-
}, null, 8, ["options", "modelValue"])
|
|
1085
|
-
]),
|
|
1086
|
-
_: 1
|
|
1087
|
-
}, 8, ["label"]),
|
|
1088
|
-
i(st, {
|
|
1089
|
-
margin: w.value,
|
|
1090
|
-
padding: z.value,
|
|
1091
|
-
"onUpdate:margin": E,
|
|
1092
|
-
"onUpdate:padding": M
|
|
1093
|
-
}, null, 8, ["margin", "padding"]),
|
|
1094
|
-
a("div", Ut, [
|
|
1095
|
-
i(W, {
|
|
1096
|
-
modelValue: e.width,
|
|
1097
|
-
"onUpdate:modelValue": d[2] || (d[2] = (b) => e.width = b),
|
|
1098
|
-
options: n(B)(A),
|
|
1099
|
-
label: n(g).i18nt("designer.style.width")
|
|
1100
|
-
}, {
|
|
1101
|
-
label: c(() => [
|
|
1102
|
-
i(V, {
|
|
1103
|
-
name: "@css-width",
|
|
1104
|
-
color: n(o)(e == null ? void 0 : e.width)
|
|
1105
|
-
}, null, 8, ["color"])
|
|
1106
|
-
]),
|
|
1107
|
-
_: 1
|
|
1108
|
-
}, 8, ["modelValue", "options", "label"]),
|
|
1109
|
-
i(W, {
|
|
1110
|
-
modelValue: e.height,
|
|
1111
|
-
"onUpdate:modelValue": d[3] || (d[3] = (b) => e.height = b),
|
|
1112
|
-
options: n(B)(A),
|
|
1113
|
-
label: n(g).i18nt("designer.style.height")
|
|
1114
|
-
}, {
|
|
1115
|
-
label: c(() => [
|
|
1116
|
-
i(V, {
|
|
1117
|
-
name: "@css-height",
|
|
1118
|
-
color: n(o)(e == null ? void 0 : e.height)
|
|
1119
|
-
}, null, 8, ["color"])
|
|
1120
|
-
]),
|
|
1121
|
-
_: 1
|
|
1122
|
-
}, 8, ["modelValue", "options", "label"])
|
|
1123
|
-
]),
|
|
1124
|
-
a("div", xt, J(n(g).i18nt("designer.style.wordFont")), 1),
|
|
1125
|
-
i(O, {
|
|
1126
|
-
label: n(g).i18nt("designer.style.fontFamily")
|
|
1127
|
-
}, {
|
|
1128
|
-
label: c(() => [
|
|
1129
|
-
i(V, {
|
|
1130
|
-
name: "@css-font-family",
|
|
1131
|
-
color: n(o)(e == null ? void 0 : e.fontFamily)
|
|
1132
|
-
}, null, 8, ["color"])
|
|
1133
|
-
]),
|
|
1134
|
-
input: c(() => [
|
|
1135
|
-
i(te, {
|
|
1136
|
-
options: we,
|
|
1137
|
-
modelValue: e.fontFamily,
|
|
1138
|
-
"onUpdate:modelValue": d[4] || (d[4] = (b) => e.fontFamily = b)
|
|
1139
|
-
}, null, 8, ["options", "modelValue"])
|
|
1140
|
-
]),
|
|
1141
|
-
_: 1
|
|
1142
|
-
}, 8, ["label"]),
|
|
1143
|
-
i(de, {
|
|
1144
|
-
modelValue: e.color,
|
|
1145
|
-
"onUpdate:modelValue": d[5] || (d[5] = (b) => e.color = b),
|
|
1146
|
-
label: n(g).i18nt("designer.style.color"),
|
|
1147
|
-
options: { showAlpha: !0 }
|
|
1148
|
-
}, {
|
|
1149
|
-
label: c(() => [
|
|
1150
|
-
i(V, {
|
|
1151
|
-
name: "@css-font-color",
|
|
1152
|
-
color: n(o)(e == null ? void 0 : e.color)
|
|
1153
|
-
}, null, 8, ["color"])
|
|
1154
|
-
]),
|
|
1155
|
-
_: 1
|
|
1156
|
-
}, 8, ["modelValue", "label"]),
|
|
1157
|
-
a("div", Bt, [
|
|
1158
|
-
i(O, {
|
|
1159
|
-
label: n(g).i18nt("designer.style.fontWeight"),
|
|
1160
|
-
style: { width: "48%" }
|
|
1161
|
-
}, {
|
|
1162
|
-
label: c(() => [
|
|
1163
|
-
i(V, {
|
|
1164
|
-
name: "@css-font-weight",
|
|
1165
|
-
color: n(o)(e == null ? void 0 : e.fontWeight)
|
|
1166
|
-
}, null, 8, ["color"])
|
|
1167
|
-
]),
|
|
1168
|
-
input: c(() => [
|
|
1169
|
-
i(te, {
|
|
1170
|
-
options: n(B)(Ue),
|
|
1171
|
-
modelValue: e.fontWeight,
|
|
1172
|
-
"onUpdate:modelValue": d[6] || (d[6] = (b) => e.fontWeight = b)
|
|
1173
|
-
}, null, 8, ["options", "modelValue"])
|
|
1174
|
-
]),
|
|
1175
|
-
_: 1
|
|
1176
|
-
}, 8, ["label"]),
|
|
1177
|
-
i(O, {
|
|
1178
|
-
label: n(g).i18nt("designer.style.fontStyle"),
|
|
1179
|
-
style: { width: "48%" }
|
|
1180
|
-
}, {
|
|
1181
|
-
label: c(() => [
|
|
1182
|
-
i(V, {
|
|
1183
|
-
name: "@css-font-style",
|
|
1184
|
-
color: n(o)(e == null ? void 0 : e.fontStyle)
|
|
1185
|
-
}, null, 8, ["color"])
|
|
1186
|
-
]),
|
|
1187
|
-
input: c(() => [
|
|
1188
|
-
i(ne, {
|
|
1189
|
-
options: n(B)(xe),
|
|
1190
|
-
"icon-title": "font-style",
|
|
1191
|
-
modelValue: e.fontStyle,
|
|
1192
|
-
"onUpdate:modelValue": d[7] || (d[7] = (b) => e.fontStyle = b)
|
|
1193
|
-
}, null, 8, ["options", "modelValue"])
|
|
1194
|
-
]),
|
|
1195
|
-
_: 1
|
|
1196
|
-
}, 8, ["label"])
|
|
1197
|
-
]),
|
|
1198
|
-
a("div", Lt, [
|
|
1199
|
-
i(W, {
|
|
1200
|
-
modelValue: e.fontSize,
|
|
1201
|
-
"onUpdate:modelValue": d[8] || (d[8] = (b) => e.fontSize = b),
|
|
1202
|
-
options: n(B)(A),
|
|
1203
|
-
label: n(g).i18nt("designer.style.fontSize"),
|
|
1204
|
-
style: { width: "48%" }
|
|
1205
|
-
}, {
|
|
1206
|
-
label: c(() => [
|
|
1207
|
-
i(V, {
|
|
1208
|
-
name: "@css-font-size",
|
|
1209
|
-
color: n(o)(e == null ? void 0 : e.fontSize)
|
|
1210
|
-
}, null, 8, ["color"])
|
|
1211
|
-
]),
|
|
1212
|
-
_: 1
|
|
1213
|
-
}, 8, ["modelValue", "options", "label"]),
|
|
1214
|
-
i(W, {
|
|
1215
|
-
modelValue: e.lineHeight,
|
|
1216
|
-
"onUpdate:modelValue": d[9] || (d[9] = (b) => e.lineHeight = b),
|
|
1217
|
-
options: n(B)(A),
|
|
1218
|
-
label: n(g).i18nt("designer.style.lineHeight"),
|
|
1219
|
-
style: { width: "48%" }
|
|
1220
|
-
}, {
|
|
1221
|
-
label: c(() => [
|
|
1222
|
-
i(V, {
|
|
1223
|
-
name: "@css-line-height",
|
|
1224
|
-
color: n(o)(e == null ? void 0 : e.lineHeight)
|
|
1225
|
-
}, null, 8, ["color"])
|
|
1226
|
-
]),
|
|
1227
|
-
_: 1
|
|
1228
|
-
}, 8, ["modelValue", "options", "label"])
|
|
1229
|
-
]),
|
|
1230
|
-
i(O, {
|
|
1231
|
-
label: n(g).i18nt("designer.style.textAlign")
|
|
1232
|
-
}, {
|
|
1233
|
-
label: c(() => [
|
|
1234
|
-
i(V, {
|
|
1235
|
-
name: "@css-text-align",
|
|
1236
|
-
color: n(o)(e == null ? void 0 : e.textAlign)
|
|
1237
|
-
}, null, 8, ["color"])
|
|
1238
|
-
]),
|
|
1239
|
-
input: c(() => [
|
|
1240
|
-
i(ne, {
|
|
1241
|
-
options: n(B)(Be),
|
|
1242
|
-
"icon-title": "text-align",
|
|
1243
|
-
modelValue: e.textAlign,
|
|
1244
|
-
"onUpdate:modelValue": d[10] || (d[10] = (b) => e.textAlign = b)
|
|
1245
|
-
}, null, 8, ["options", "modelValue"])
|
|
1246
|
-
]),
|
|
1247
|
-
_: 1
|
|
1248
|
-
}, 8, ["label"]),
|
|
1249
|
-
i(O, {
|
|
1250
|
-
label: n(g).i18nt("designer.style.textDecoration")
|
|
1251
|
-
}, {
|
|
1252
|
-
label: c(() => [
|
|
1253
|
-
i(V, {
|
|
1254
|
-
name: "@css-text-decoration",
|
|
1255
|
-
color: n(o)(e == null ? void 0 : e.textDecoration)
|
|
1256
|
-
}, null, 8, ["color"])
|
|
1257
|
-
]),
|
|
1258
|
-
input: c(() => [
|
|
1259
|
-
i(ne, {
|
|
1260
|
-
options: n(B)(Le),
|
|
1261
|
-
"icon-title": "text-decoration",
|
|
1262
|
-
modelValue: e.textDecoration,
|
|
1263
|
-
"onUpdate:modelValue": d[11] || (d[11] = (b) => e.textDecoration = b)
|
|
1264
|
-
}, null, 8, ["options", "modelValue"])
|
|
1265
|
-
]),
|
|
1266
|
-
_: 1
|
|
1267
|
-
}, 8, ["label"]),
|
|
1268
|
-
a("div", St, J(n(g).i18nt("designer.style.background")), 1),
|
|
1269
|
-
i(de, {
|
|
1270
|
-
modelValue: e.backgroundColor,
|
|
1271
|
-
"onUpdate:modelValue": d[12] || (d[12] = (b) => e.backgroundColor = b),
|
|
1272
|
-
label: n(g).i18nt("designer.style.backgroundColor"),
|
|
1273
|
-
options: { showAlpha: !0 }
|
|
1274
|
-
}, {
|
|
1275
|
-
label: c(() => [
|
|
1276
|
-
i(V, {
|
|
1277
|
-
name: "@css-background-color",
|
|
1278
|
-
color: n(o)(e == null ? void 0 : e.backgroundColor)
|
|
1279
|
-
}, null, 8, ["color"])
|
|
1280
|
-
]),
|
|
1281
|
-
_: 1
|
|
1282
|
-
}, 8, ["modelValue", "label"]),
|
|
1283
|
-
i(Ae, {
|
|
1284
|
-
modelValue: e.backgroundImage,
|
|
1285
|
-
"onUpdate:modelValue": d[13] || (d[13] = (b) => e.backgroundImage = b),
|
|
1286
|
-
label: n(g).i18nt("designer.style.backgroundImage")
|
|
1287
|
-
}, {
|
|
1288
|
-
label: c(() => [
|
|
1289
|
-
i(V, {
|
|
1290
|
-
name: "@css-background-image",
|
|
1291
|
-
color: n(o)(e == null ? void 0 : e.backgroundImage)
|
|
1292
|
-
}, null, 8, ["color"])
|
|
1293
|
-
]),
|
|
1294
|
-
_: 1
|
|
1295
|
-
}, 8, ["modelValue", "label"]),
|
|
1296
|
-
a("div", Ct, J(n(g).i18nt("designer.style.border")), 1),
|
|
1297
|
-
i(gt, se(e, { "onUpdate:border": U }), null, 16),
|
|
1298
|
-
i(Rt, se(e, { "onUpdate:borderRadius": U }), null, 16),
|
|
1299
|
-
a("div", Et, J(n(g).i18nt("designer.style.effect")), 1),
|
|
1300
|
-
i(W, {
|
|
1301
|
-
modelValue: e.opacity,
|
|
1302
|
-
"onUpdate:modelValue": d[14] || (d[14] = (b) => e.opacity = b),
|
|
1303
|
-
options: [{ value: "%", label: "%" }],
|
|
1304
|
-
label: n(g).i18nt("designer.style.opacity"),
|
|
1305
|
-
style: { width: "48%" }
|
|
1306
|
-
}, {
|
|
1307
|
-
label: c(() => [
|
|
1308
|
-
i(V, {
|
|
1309
|
-
name: "@css-line-height",
|
|
1310
|
-
color: n(o)(e == null ? void 0 : e.opacity)
|
|
1311
|
-
}, null, 8, ["color"])
|
|
1312
|
-
]),
|
|
1313
|
-
_: 1
|
|
1314
|
-
}, 8, ["modelValue", "label"]),
|
|
1315
|
-
i(O, {
|
|
1316
|
-
label: n(g).i18nt("designer.style.cursor")
|
|
1317
|
-
}, {
|
|
1318
|
-
label: c(() => [
|
|
1319
|
-
i(V, {
|
|
1320
|
-
name: "@css-cursor",
|
|
1321
|
-
color: n(o)(e == null ? void 0 : e.cursor)
|
|
1322
|
-
}, null, 8, ["color"])
|
|
1323
|
-
]),
|
|
1324
|
-
input: c(() => [
|
|
1325
|
-
i(te, {
|
|
1326
|
-
options: n(B)(Se),
|
|
1327
|
-
modelValue: e.cursor,
|
|
1328
|
-
"onUpdate:modelValue": d[15] || (d[15] = (b) => e.cursor = b),
|
|
1329
|
-
"icon-title": "cursor"
|
|
1330
|
-
}, null, 8, ["options", "modelValue"])
|
|
1331
|
-
]),
|
|
1332
|
-
_: 1
|
|
1333
|
-
}, 8, ["label"]),
|
|
1334
|
-
i(Xe, {
|
|
1335
|
-
modelValue: e.boxShadow,
|
|
1336
|
-
"onUpdate:modelValue": d[16] || (d[16] = (b) => e.boxShadow = b)
|
|
1337
|
-
}, null, 8, ["modelValue"])
|
|
1338
|
-
])
|
|
1339
|
-
]),
|
|
1340
|
-
_: 1
|
|
1341
|
-
}, 16, ["prop-config"])
|
|
1342
|
-
]),
|
|
1343
|
-
_: 1
|
|
1344
|
-
}, 16);
|
|
1345
|
-
};
|
|
1346
|
-
}
|
|
1347
|
-
});
|
|
1348
|
-
export {
|
|
1349
|
-
mo as default
|
|
1350
|
-
};
|