@vipl520/dk-ui 1.0.28 → 1.0.30
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/README.md +2 -2
- package/dist/index.js +701 -413
- package/dist/index.min.js +8 -8
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +8 -8
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +701 -413
- package/dist/web-types.json +1 -1
- package/es/page-diy/index.d.ts +1 -0
- package/es/page-diy/index.mjs +4 -0
- package/es/page-diy/index.mjs.map +1 -1
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue.d.ts +36 -0
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue.mjs +7 -0
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue.mjs.map +1 -0
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue2.mjs +81 -0
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue2.mjs.map +1 -0
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.d.ts +38 -0
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +165 -0
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.d.ts +14 -0
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs +3 -9
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -1
- package/es/page-diy/src/config/rule/web/common/index.d.ts +28 -0
- package/es/page-diy/src/config/rule/web/index.d.ts +28 -0
- package/es/page-diy/src/page-diy.vue.d.ts +2 -0
- package/es/page-diy/src/page-diy.vue.mjs +3 -0
- package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
- package/es/page-diy/src/props.mjs +1 -1
- package/es/page-diy/src/props.mjs.map +1 -1
- package/es/page-diy/src/utils/bus.d.ts +2 -0
- package/es/page-diy/src/utils/eventData.d.ts +32 -0
- package/es/page-diy/src/utils/eventData.mjs +51 -0
- package/es/page-diy/src/utils/eventData.mjs.map +1 -0
- package/es/page-diy/src/views/web/DkViewDialog.vue.d.ts +9 -0
- package/es/page-diy/src/views/web/DkViewDialog.vue.mjs +3 -1
- package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -1
- package/lib/page-diy/index.d.ts +1 -0
- package/lib/page-diy/index.js +4 -0
- package/lib/page-diy/index.js.map +1 -1
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.d.ts +36 -0
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js +11 -0
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js.map +1 -0
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue2.js +85 -0
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue2.js.map +1 -0
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.d.ts +38 -0
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +169 -0
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.d.ts +14 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js +3 -9
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -1
- package/lib/page-diy/src/config/rule/web/common/index.d.ts +28 -0
- package/lib/page-diy/src/config/rule/web/index.d.ts +28 -0
- package/lib/page-diy/src/page-diy.vue.d.ts +2 -0
- package/lib/page-diy/src/page-diy.vue.js +3 -0
- package/lib/page-diy/src/page-diy.vue.js.map +1 -1
- package/lib/page-diy/src/props.js +1 -1
- package/lib/page-diy/src/props.js.map +1 -1
- package/lib/page-diy/src/utils/bus.d.ts +2 -0
- package/lib/page-diy/src/utils/eventData.d.ts +32 -0
- package/lib/page-diy/src/utils/eventData.js +55 -0
- package/lib/page-diy/src/utils/eventData.js.map +1 -0
- package/lib/page-diy/src/views/web/DkViewDialog.vue.d.ts +9 -0
- package/lib/page-diy/src/views/web/DkViewDialog.vue.js +2 -0
- package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -749,12 +749,12 @@ const testProps = {
|
|
|
749
749
|
}
|
|
750
750
|
};
|
|
751
751
|
|
|
752
|
-
const _hoisted_1$
|
|
753
|
-
const __default__$
|
|
752
|
+
const _hoisted_1$V = { class: "mr-10px bg-black" };
|
|
753
|
+
const __default__$M = defineComponent({
|
|
754
754
|
name: "DkTest"
|
|
755
755
|
});
|
|
756
|
-
var _sfc_main$
|
|
757
|
-
...__default__$
|
|
756
|
+
var _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
757
|
+
...__default__$M,
|
|
758
758
|
props: testProps,
|
|
759
759
|
setup(__props) {
|
|
760
760
|
createNamespace("test");
|
|
@@ -781,7 +781,7 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
781
781
|
}),
|
|
782
782
|
createElementVNode(
|
|
783
783
|
"div",
|
|
784
|
-
_hoisted_1$
|
|
784
|
+
_hoisted_1$V,
|
|
785
785
|
toDisplayString(_ctx.test),
|
|
786
786
|
1
|
|
787
787
|
/* TEXT */
|
|
@@ -802,7 +802,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
802
802
|
return target;
|
|
803
803
|
};
|
|
804
804
|
|
|
805
|
-
var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
805
|
+
var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
|
|
806
806
|
|
|
807
807
|
const Test = withInstall(_Test);
|
|
808
808
|
|
|
@@ -9863,14 +9863,14 @@ const groupProps = {
|
|
|
9863
9863
|
}
|
|
9864
9864
|
};
|
|
9865
9865
|
|
|
9866
|
-
const _hoisted_1$
|
|
9867
|
-
const _hoisted_2$
|
|
9868
|
-
const _hoisted_3$
|
|
9869
|
-
const __default__$
|
|
9866
|
+
const _hoisted_1$U = { key: 1 };
|
|
9867
|
+
const _hoisted_2$G = { class: "collapse-title" };
|
|
9868
|
+
const _hoisted_3$u = { class: "_dk-group-handle" };
|
|
9869
|
+
const __default__$L = defineComponent({
|
|
9870
9870
|
name: "DkGroup"
|
|
9871
9871
|
});
|
|
9872
|
-
var _sfc_main$
|
|
9873
|
-
...__default__$
|
|
9872
|
+
var _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
9873
|
+
...__default__$L,
|
|
9874
9874
|
props: groupProps,
|
|
9875
9875
|
emits: [
|
|
9876
9876
|
"update:modelValue",
|
|
@@ -10120,7 +10120,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
10120
10120
|
_: 1
|
|
10121
10121
|
/* STABLE */
|
|
10122
10122
|
})) : createCommentVNode("v-if", true),
|
|
10123
|
-
data.sort.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10123
|
+
data.sort.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
10124
10124
|
(openBlock(), createBlock(_component_el_button, {
|
|
10125
10125
|
key: "a_def",
|
|
10126
10126
|
style: { "width": "100%" },
|
|
@@ -10146,7 +10146,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
10146
10146
|
name: index
|
|
10147
10147
|
}, {
|
|
10148
10148
|
title: withCtx(() => [
|
|
10149
|
-
createElementVNode("div", _hoisted_2$
|
|
10149
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
10150
10150
|
createVNode(_component_dk_icon, {
|
|
10151
10151
|
icon: "Rank",
|
|
10152
10152
|
class: "collapse-title-rank"
|
|
@@ -10176,7 +10176,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
10176
10176
|
onEmitEvent: (name, ...args) => emitEvent(name, args, index),
|
|
10177
10177
|
"onUpdate:api": ($f) => add$f(index, $f)
|
|
10178
10178
|
}, null, 8, ["model-value", "rule", "option", "onUpdate:modelValue", "onEmitEvent", "onUpdate:api"])),
|
|
10179
|
-
createElementVNode("div", _hoisted_3$
|
|
10179
|
+
createElementVNode("div", _hoisted_3$u, [
|
|
10180
10180
|
createVNode(
|
|
10181
10181
|
_component_el_button_group,
|
|
10182
10182
|
null,
|
|
@@ -10217,7 +10217,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
10217
10217
|
}
|
|
10218
10218
|
});
|
|
10219
10219
|
|
|
10220
|
-
var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10220
|
+
var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
|
|
10221
10221
|
|
|
10222
10222
|
const Group = withInstall(_Group);
|
|
10223
10223
|
|
|
@@ -10341,14 +10341,14 @@ const tinyEditorProps = {
|
|
|
10341
10341
|
}
|
|
10342
10342
|
};
|
|
10343
10343
|
|
|
10344
|
-
const _hoisted_1$
|
|
10345
|
-
const _hoisted_2$
|
|
10346
|
-
const _hoisted_3$
|
|
10347
|
-
const __default__$
|
|
10344
|
+
const _hoisted_1$T = { key: 0 };
|
|
10345
|
+
const _hoisted_2$F = { key: 1 };
|
|
10346
|
+
const _hoisted_3$t = { class: "text-center" };
|
|
10347
|
+
const __default__$K = defineComponent({
|
|
10348
10348
|
name: "DkTinyEditor"
|
|
10349
10349
|
});
|
|
10350
|
-
var _sfc_main$
|
|
10351
|
-
...__default__$
|
|
10350
|
+
var _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
10351
|
+
...__default__$K,
|
|
10352
10352
|
props: tinyEditorProps,
|
|
10353
10353
|
emits: ["input", "update:modelValue", "change"],
|
|
10354
10354
|
setup(__props, { emit }) {
|
|
@@ -10440,7 +10440,7 @@ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
10440
10440
|
class: "dk-tiny-editor"
|
|
10441
10441
|
},
|
|
10442
10442
|
[
|
|
10443
|
-
showDialog.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10443
|
+
showDialog.value ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
10444
10444
|
createVNode(unref(Editor), {
|
|
10445
10445
|
ref_key: "editorRef",
|
|
10446
10446
|
ref: editorRef,
|
|
@@ -10450,7 +10450,7 @@ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
10450
10450
|
"tinymce-script-src": tinymceSrc.value,
|
|
10451
10451
|
onDblclick: ondblclick
|
|
10452
10452
|
}, null, 8, ["modelValue", "init", "tinymce-script-src"])
|
|
10453
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
10453
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$F, [
|
|
10454
10454
|
createVNode(_component_el_button, {
|
|
10455
10455
|
type: "primary",
|
|
10456
10456
|
plain: "",
|
|
@@ -10474,7 +10474,7 @@ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
10474
10474
|
width: "900px"
|
|
10475
10475
|
}, {
|
|
10476
10476
|
footer: withCtx(() => [
|
|
10477
|
-
createElementVNode("div", _hoisted_3$
|
|
10477
|
+
createElementVNode("div", _hoisted_3$t, [
|
|
10478
10478
|
createVNode(_component_el_button, {
|
|
10479
10479
|
type: "primary",
|
|
10480
10480
|
style: { "width": "200px" },
|
|
@@ -10523,7 +10523,7 @@ var _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
10523
10523
|
}
|
|
10524
10524
|
});
|
|
10525
10525
|
|
|
10526
|
-
var _TinyEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10526
|
+
var _TinyEditor = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\tiny-editor\\src\\tiny-editor.vue"]]);
|
|
10527
10527
|
|
|
10528
10528
|
const TinyEditor = withInstall(_TinyEditor);
|
|
10529
10529
|
|
|
@@ -10552,11 +10552,11 @@ const iconProps = {
|
|
|
10552
10552
|
}
|
|
10553
10553
|
};
|
|
10554
10554
|
|
|
10555
|
-
const __default__$
|
|
10555
|
+
const __default__$J = defineComponent({
|
|
10556
10556
|
name: "DkIcon"
|
|
10557
10557
|
});
|
|
10558
|
-
var _sfc_main$
|
|
10559
|
-
...__default__$
|
|
10558
|
+
var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
10559
|
+
...__default__$J,
|
|
10560
10560
|
props: iconProps,
|
|
10561
10561
|
setup(__props) {
|
|
10562
10562
|
const props = __props;
|
|
@@ -10622,7 +10622,7 @@ var _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
10622
10622
|
}
|
|
10623
10623
|
});
|
|
10624
10624
|
|
|
10625
|
-
var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10625
|
+
var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
|
|
10626
10626
|
|
|
10627
10627
|
const Icon = withInstall(_Icon);
|
|
10628
10628
|
|
|
@@ -10637,15 +10637,15 @@ const colorInputProps = {
|
|
|
10637
10637
|
colorFormat: makeStringProp("hex")
|
|
10638
10638
|
};
|
|
10639
10639
|
|
|
10640
|
-
const _hoisted_1$
|
|
10640
|
+
const _hoisted_1$S = {
|
|
10641
10641
|
style: { "display": "flex" },
|
|
10642
10642
|
class: "dk-color-input"
|
|
10643
10643
|
};
|
|
10644
|
-
const __default__$
|
|
10644
|
+
const __default__$I = defineComponent({
|
|
10645
10645
|
name: "DkColorInput"
|
|
10646
10646
|
});
|
|
10647
|
-
var _sfc_main$
|
|
10648
|
-
...__default__$
|
|
10647
|
+
var _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
10648
|
+
...__default__$I,
|
|
10649
10649
|
props: colorInputProps,
|
|
10650
10650
|
emits: ["input", "update:modelValue", "change"],
|
|
10651
10651
|
setup(__props, { emit }) {
|
|
@@ -10669,7 +10669,7 @@ var _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
10669
10669
|
return (_ctx, _cache) => {
|
|
10670
10670
|
const _component_el_input = resolveComponent("el-input");
|
|
10671
10671
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
10672
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10672
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
10673
10673
|
createVNode(_component_el_input, {
|
|
10674
10674
|
modelValue: data.value,
|
|
10675
10675
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value = $event),
|
|
@@ -10688,7 +10688,7 @@ var _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
10688
10688
|
}
|
|
10689
10689
|
});
|
|
10690
10690
|
|
|
10691
|
-
var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10691
|
+
var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\color-input\\src\\color-input.vue"]]);
|
|
10692
10692
|
|
|
10693
10693
|
const ColorInput = withInstall(_ColorInput);
|
|
10694
10694
|
|
|
@@ -10701,9 +10701,9 @@ const hotAreaInputProps = {
|
|
|
10701
10701
|
}
|
|
10702
10702
|
};
|
|
10703
10703
|
|
|
10704
|
-
const _hoisted_1$
|
|
10705
|
-
const _hoisted_2$
|
|
10706
|
-
const _hoisted_3$
|
|
10704
|
+
const _hoisted_1$R = { class: "hot-area-content" };
|
|
10705
|
+
const _hoisted_2$E = { class: "hot-area-draggable" };
|
|
10706
|
+
const _hoisted_3$s = {
|
|
10707
10707
|
class: "hot-item-content",
|
|
10708
10708
|
style: { "position": "relative", "width": "100%", "height": "100%", "background": "#0003" }
|
|
10709
10709
|
};
|
|
@@ -10719,11 +10719,11 @@ const _hoisted_6$d = /* @__PURE__ */ createElementVNode(
|
|
|
10719
10719
|
-1
|
|
10720
10720
|
/* HOISTED */
|
|
10721
10721
|
);
|
|
10722
|
-
const __default__$
|
|
10722
|
+
const __default__$H = defineComponent({
|
|
10723
10723
|
name: "HotAreaContent"
|
|
10724
10724
|
});
|
|
10725
|
-
var _sfc_main$
|
|
10726
|
-
...__default__$
|
|
10725
|
+
var _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
10726
|
+
...__default__$H,
|
|
10727
10727
|
props: {
|
|
10728
10728
|
hotDataValue: {
|
|
10729
10729
|
default: () => {
|
|
@@ -10817,8 +10817,8 @@ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
10817
10817
|
const _component_el_button = resolveComponent("el-button");
|
|
10818
10818
|
const _component_el_input = resolveComponent("el-input");
|
|
10819
10819
|
const _component_el_form = resolveComponent("el-form");
|
|
10820
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10821
|
-
createElementVNode("div", _hoisted_2$
|
|
10820
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
10821
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
10822
10822
|
hotData.background ? (openBlock(), createElementBlock(
|
|
10823
10823
|
"div",
|
|
10824
10824
|
{
|
|
@@ -10861,7 +10861,7 @@ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
10861
10861
|
default: withCtx(() => [
|
|
10862
10862
|
createElementVNode(
|
|
10863
10863
|
"div",
|
|
10864
|
-
_hoisted_3$
|
|
10864
|
+
_hoisted_3$s,
|
|
10865
10865
|
toDisplayString(key + 1),
|
|
10866
10866
|
1
|
|
10867
10867
|
/* TEXT */
|
|
@@ -10959,15 +10959,15 @@ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
10959
10959
|
}
|
|
10960
10960
|
});
|
|
10961
10961
|
|
|
10962
|
-
var HotAreaContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10962
|
+
var HotAreaContent = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\component\\hot-area-content.vue"]]);
|
|
10963
10963
|
|
|
10964
|
-
const _hoisted_1$
|
|
10965
|
-
const _hoisted_2$
|
|
10966
|
-
const __default__$
|
|
10964
|
+
const _hoisted_1$Q = { class: "dk-hot-area-input" };
|
|
10965
|
+
const _hoisted_2$D = { class: "text-center" };
|
|
10966
|
+
const __default__$G = defineComponent({
|
|
10967
10967
|
name: "DkHotAreaInput"
|
|
10968
10968
|
});
|
|
10969
|
-
var _sfc_main$
|
|
10970
|
-
...__default__$
|
|
10969
|
+
var _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
10970
|
+
...__default__$G,
|
|
10971
10971
|
props: hotAreaInputProps,
|
|
10972
10972
|
setup(__props) {
|
|
10973
10973
|
const props = __props;
|
|
@@ -10976,7 +10976,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
10976
10976
|
return (_ctx, _cache) => {
|
|
10977
10977
|
const _component_el_button = resolveComponent("el-button");
|
|
10978
10978
|
const _component_dk_dialog = resolveComponent("dk-dialog");
|
|
10979
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10979
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
10980
10980
|
createVNode(_component_el_button, {
|
|
10981
10981
|
type: "primary",
|
|
10982
10982
|
onClick: _cache[0] || (_cache[0] = ($event) => dialog.value = true)
|
|
@@ -10994,7 +10994,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
10994
10994
|
title: "\u8BBE\u7F6E\u70ED\u533A"
|
|
10995
10995
|
}, {
|
|
10996
10996
|
footer: withCtx(() => [
|
|
10997
|
-
createElementVNode("div", _hoisted_2$
|
|
10997
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
10998
10998
|
createVNode(_component_el_button, {
|
|
10999
10999
|
size: "default",
|
|
11000
11000
|
style: { "width": "200px" },
|
|
@@ -11020,7 +11020,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
11020
11020
|
}
|
|
11021
11021
|
});
|
|
11022
11022
|
|
|
11023
|
-
var _HotAreaInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11023
|
+
var _HotAreaInput = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\hot-area-input.vue"]]);
|
|
11024
11024
|
|
|
11025
11025
|
const HotAreaInput = withInstall(_HotAreaInput);
|
|
11026
11026
|
|
|
@@ -11057,13 +11057,13 @@ const dialogProps = {
|
|
|
11057
11057
|
}
|
|
11058
11058
|
};
|
|
11059
11059
|
|
|
11060
|
-
const _hoisted_1$
|
|
11061
|
-
const _hoisted_2$
|
|
11062
|
-
const __default__$
|
|
11060
|
+
const _hoisted_1$P = { class: "flex justify-between items-center relative" };
|
|
11061
|
+
const _hoisted_2$C = { class: "flex justify-between items-center absolute top-[50%] right-0 translate-y-[-50%]" };
|
|
11062
|
+
const __default__$F = defineComponent({
|
|
11063
11063
|
name: "DkDialog"
|
|
11064
11064
|
});
|
|
11065
|
-
var _sfc_main$
|
|
11066
|
-
...__default__$
|
|
11065
|
+
var _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
11066
|
+
...__default__$F,
|
|
11067
11067
|
props: dialogProps,
|
|
11068
11068
|
setup(__props) {
|
|
11069
11069
|
const props = __props;
|
|
@@ -11128,7 +11128,7 @@ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
11128
11128
|
}), createSlots({
|
|
11129
11129
|
header: withCtx(({ close }) => [
|
|
11130
11130
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
11131
|
-
createElementVNode("div", _hoisted_1$
|
|
11131
|
+
createElementVNode("div", _hoisted_1$P, [
|
|
11132
11132
|
createElementVNode(
|
|
11133
11133
|
"span",
|
|
11134
11134
|
null,
|
|
@@ -11136,7 +11136,7 @@ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
11136
11136
|
1
|
|
11137
11137
|
/* TEXT */
|
|
11138
11138
|
),
|
|
11139
|
-
createElementVNode("div", _hoisted_2$
|
|
11139
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
11140
11140
|
_ctx.fullscreen ? (openBlock(), createBlock(_component_dk_icon, {
|
|
11141
11141
|
key: 0,
|
|
11142
11142
|
class: "cursor-pointer is-hover mr-10px",
|
|
@@ -11182,7 +11182,7 @@ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
11182
11182
|
}
|
|
11183
11183
|
});
|
|
11184
11184
|
|
|
11185
|
-
var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11185
|
+
var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\dialog\\src\\dialog.vue"]]);
|
|
11186
11186
|
|
|
11187
11187
|
const Dialog = withInstall(_Dialog);
|
|
11188
11188
|
|
|
@@ -11286,12 +11286,12 @@ const config = {
|
|
|
11286
11286
|
};
|
|
11287
11287
|
var _config = config;
|
|
11288
11288
|
|
|
11289
|
-
const _hoisted_1$
|
|
11290
|
-
const __default__$
|
|
11289
|
+
const _hoisted_1$O = { key: 1 };
|
|
11290
|
+
const __default__$E = defineComponent({
|
|
11291
11291
|
name: "DkForm"
|
|
11292
11292
|
});
|
|
11293
|
-
var _sfc_main$
|
|
11294
|
-
...__default__$
|
|
11293
|
+
var _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
11294
|
+
...__default__$E,
|
|
11295
11295
|
props: formProps,
|
|
11296
11296
|
emits: ["submit", "fail", "update:modelValue"],
|
|
11297
11297
|
setup(__props, { expose: __expose, emit }) {
|
|
@@ -11519,7 +11519,7 @@ var _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
11519
11519
|
]),
|
|
11520
11520
|
_: 3
|
|
11521
11521
|
/* FORWARDED */
|
|
11522
|
-
}, 16, ["modelValue", "title", "width", "default-fullscreen"])) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11522
|
+
}, 16, ["modelValue", "title", "width", "default-fullscreen"])) : (openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
11523
11523
|
createElementVNode(
|
|
11524
11524
|
"div",
|
|
11525
11525
|
{
|
|
@@ -11571,11 +11571,11 @@ var _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
11571
11571
|
}
|
|
11572
11572
|
});
|
|
11573
11573
|
|
|
11574
|
-
var _Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11574
|
+
var _Form = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\form\\src\\form.vue"]]);
|
|
11575
11575
|
|
|
11576
11576
|
const Form = withInstall(_Form);
|
|
11577
11577
|
|
|
11578
|
-
const _hoisted_1$
|
|
11578
|
+
const _hoisted_1$N = {
|
|
11579
11579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11580
11580
|
version: "1.1",
|
|
11581
11581
|
x: "0px",
|
|
@@ -11584,7 +11584,7 @@ const _hoisted_1$M = {
|
|
|
11584
11584
|
style: { "enable-background": "new 0 0 512 512" },
|
|
11585
11585
|
"xml:space": "preserve"
|
|
11586
11586
|
};
|
|
11587
|
-
const _hoisted_2$
|
|
11587
|
+
const _hoisted_2$B = /* @__PURE__ */ createElementVNode(
|
|
11588
11588
|
"path",
|
|
11589
11589
|
{
|
|
11590
11590
|
fill: "#E2E5E7",
|
|
@@ -11594,7 +11594,7 @@ const _hoisted_2$A = /* @__PURE__ */ createElementVNode(
|
|
|
11594
11594
|
-1
|
|
11595
11595
|
/* HOISTED */
|
|
11596
11596
|
);
|
|
11597
|
-
const _hoisted_3$
|
|
11597
|
+
const _hoisted_3$r = /* @__PURE__ */ createElementVNode(
|
|
11598
11598
|
"path",
|
|
11599
11599
|
{
|
|
11600
11600
|
fill: "#B0B7BD",
|
|
@@ -11654,11 +11654,11 @@ const _hoisted_9$8 = {
|
|
|
11654
11654
|
"font-family": "Verdana, Helvetica, Arial, sans-serif",
|
|
11655
11655
|
"font-size": "124"
|
|
11656
11656
|
};
|
|
11657
|
-
const __default__$
|
|
11657
|
+
const __default__$D = defineComponent({
|
|
11658
11658
|
name: "DkFileIcon"
|
|
11659
11659
|
});
|
|
11660
|
-
var _sfc_main$
|
|
11661
|
-
...__default__$
|
|
11660
|
+
var _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
11661
|
+
...__default__$D,
|
|
11662
11662
|
props: {
|
|
11663
11663
|
type: {
|
|
11664
11664
|
default: 0,
|
|
@@ -11728,10 +11728,10 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11728
11728
|
return colorList[index];
|
|
11729
11729
|
};
|
|
11730
11730
|
return (_ctx, _cache) => {
|
|
11731
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11731
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, [
|
|
11732
11732
|
createElementVNode("g", null, [
|
|
11733
|
-
_hoisted_2$
|
|
11734
|
-
_hoisted_3$
|
|
11733
|
+
_hoisted_2$B,
|
|
11734
|
+
_hoisted_3$r,
|
|
11735
11735
|
_hoisted_4$l,
|
|
11736
11736
|
createElementVNode(
|
|
11737
11737
|
"path",
|
|
@@ -11763,7 +11763,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11763
11763
|
}
|
|
11764
11764
|
});
|
|
11765
11765
|
|
|
11766
|
-
var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11766
|
+
var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\file-icon.vue"]]);
|
|
11767
11767
|
|
|
11768
11768
|
const attachmentProps = {
|
|
11769
11769
|
type: {
|
|
@@ -11777,9 +11777,9 @@ const attachmentProps = {
|
|
|
11777
11777
|
}
|
|
11778
11778
|
};
|
|
11779
11779
|
|
|
11780
|
-
const _hoisted_1$
|
|
11781
|
-
const _hoisted_2$
|
|
11782
|
-
const _hoisted_3$
|
|
11780
|
+
const _hoisted_1$M = { class: "dk-attachment attachment" };
|
|
11781
|
+
const _hoisted_2$A = { class: "attachment-header flex justify-between pt-5px pb-5px" };
|
|
11782
|
+
const _hoisted_3$q = { class: "header-form z" };
|
|
11783
11783
|
const _hoisted_4$k = { class: "header-button y" };
|
|
11784
11784
|
const _hoisted_5$e = /* @__PURE__ */ createElementVNode(
|
|
11785
11785
|
"i",
|
|
@@ -11828,11 +11828,11 @@ const _hoisted_24 = {
|
|
|
11828
11828
|
key: 1,
|
|
11829
11829
|
style: { "display": "flex", "align-items": "center", "justify-content": "center", "height": "340px" }
|
|
11830
11830
|
};
|
|
11831
|
-
const __default__$
|
|
11831
|
+
const __default__$C = defineComponent({
|
|
11832
11832
|
name: "DkAttachment"
|
|
11833
11833
|
});
|
|
11834
|
-
var _sfc_main
|
|
11835
|
-
...__default__$
|
|
11834
|
+
var _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
11835
|
+
...__default__$C,
|
|
11836
11836
|
props: attachmentProps,
|
|
11837
11837
|
setup(__props, { expose: __expose }) {
|
|
11838
11838
|
const props = __props;
|
|
@@ -12032,10 +12032,10 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
12032
12032
|
const _component_el_empty = resolveComponent("el-empty");
|
|
12033
12033
|
const _component_dk_form = resolveComponent("dk-form");
|
|
12034
12034
|
const _directive_loading = resolveDirective("loading");
|
|
12035
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12035
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
12036
12036
|
createCommentVNode(" \u9876\u90E8"),
|
|
12037
|
-
createElementVNode("div", _hoisted_2$
|
|
12038
|
-
createElementVNode("div", _hoisted_3$
|
|
12037
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
12038
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
12039
12039
|
createVNode(_component_el_input, {
|
|
12040
12040
|
modelValue: searchFileName.value,
|
|
12041
12041
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFileName.value = $event),
|
|
@@ -12342,7 +12342,7 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
12342
12342
|
}
|
|
12343
12343
|
});
|
|
12344
12344
|
|
|
12345
|
-
var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
12345
|
+
var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\attachment.vue"]]);
|
|
12346
12346
|
|
|
12347
12347
|
const Attachment = withInstall(_Attachment);
|
|
12348
12348
|
|
|
@@ -12354,12 +12354,12 @@ const attachmentDialogProps = {
|
|
|
12354
12354
|
}
|
|
12355
12355
|
};
|
|
12356
12356
|
|
|
12357
|
-
const _hoisted_1$
|
|
12358
|
-
const __default__$
|
|
12357
|
+
const _hoisted_1$L = { class: "text-center m2" };
|
|
12358
|
+
const __default__$B = defineComponent({
|
|
12359
12359
|
name: "DkAttachmentDialog"
|
|
12360
12360
|
});
|
|
12361
|
-
var _sfc_main$
|
|
12362
|
-
...__default__$
|
|
12361
|
+
var _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
12362
|
+
...__default__$B,
|
|
12363
12363
|
props: attachmentDialogProps,
|
|
12364
12364
|
emits: ["confirm"],
|
|
12365
12365
|
setup(__props, { expose: __expose, emit }) {
|
|
@@ -12407,7 +12407,7 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12407
12407
|
ref: attachment,
|
|
12408
12408
|
type: _type.value
|
|
12409
12409
|
}, null, 8, ["type"]),
|
|
12410
|
-
createElementVNode("div", _hoisted_1$
|
|
12410
|
+
createElementVNode("div", _hoisted_1$L, [
|
|
12411
12411
|
createVNode(_component_el_button, {
|
|
12412
12412
|
type: "primary",
|
|
12413
12413
|
onClick: _cache[0] || (_cache[0] = ($event) => confirm())
|
|
@@ -12436,7 +12436,7 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12436
12436
|
}
|
|
12437
12437
|
});
|
|
12438
12438
|
|
|
12439
|
-
var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12439
|
+
var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment-dialog\\src\\attachment-dialog.vue"]]);
|
|
12440
12440
|
|
|
12441
12441
|
const AttachmentDialog = withInstall(_AttachmentDialog);
|
|
12442
12442
|
|
|
@@ -12455,15 +12455,15 @@ const fileInputProps = {
|
|
|
12455
12455
|
accept: { type: String, default: "" }
|
|
12456
12456
|
};
|
|
12457
12457
|
|
|
12458
|
-
const _hoisted_1$
|
|
12459
|
-
const _hoisted_2$
|
|
12460
|
-
const _hoisted_3$
|
|
12458
|
+
const _hoisted_1$K = { class: "show m-t-5px" };
|
|
12459
|
+
const _hoisted_2$z = { class: "image-error" };
|
|
12460
|
+
const _hoisted_3$p = { class: "image-slot" };
|
|
12461
12461
|
const _hoisted_4$j = { class: "no-image" };
|
|
12462
|
-
const __default__$
|
|
12462
|
+
const __default__$A = defineComponent({
|
|
12463
12463
|
name: "DkFileInput"
|
|
12464
12464
|
});
|
|
12465
|
-
var _sfc_main
|
|
12466
|
-
...__default__$
|
|
12465
|
+
var _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
12466
|
+
...__default__$A,
|
|
12467
12467
|
props: fileInputProps,
|
|
12468
12468
|
emits: ["input", "update:modelValue", "change"],
|
|
12469
12469
|
setup(__props, { emit }) {
|
|
@@ -12537,7 +12537,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12537
12537
|
/* STABLE */
|
|
12538
12538
|
}, 8, ["modelValue", "placeholder"]),
|
|
12539
12539
|
createCommentVNode("\u9009\u62E9\u7684\u662F\u56FE\u7247"),
|
|
12540
|
-
createElementVNode("div", _hoisted_1$
|
|
12540
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
12541
12541
|
_ctx.type === 1 ? (openBlock(), createBlock(_component_el_image, {
|
|
12542
12542
|
key: 0,
|
|
12543
12543
|
src: input.value,
|
|
@@ -12547,7 +12547,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12547
12547
|
"preview-src-list": [input.value]
|
|
12548
12548
|
}, {
|
|
12549
12549
|
error: withCtx(() => [
|
|
12550
|
-
createElementVNode("div", _hoisted_2$
|
|
12550
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
12551
12551
|
createVNode(_component_dk_icon, { icon: "Picture" })
|
|
12552
12552
|
])
|
|
12553
12553
|
]),
|
|
@@ -12594,7 +12594,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12594
12594
|
style: { "width": "100%", "height": "100%" }
|
|
12595
12595
|
}, {
|
|
12596
12596
|
error: withCtx(() => [
|
|
12597
|
-
createElementVNode("div", _hoisted_3$
|
|
12597
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
12598
12598
|
createElementVNode("div", _hoisted_4$j, [
|
|
12599
12599
|
createVNode(_component_el_icon, null, {
|
|
12600
12600
|
default: withCtx(() => [
|
|
@@ -12683,7 +12683,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12683
12683
|
}
|
|
12684
12684
|
});
|
|
12685
12685
|
|
|
12686
|
-
var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
12686
|
+
var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-input\\src\\file-input.vue"]]);
|
|
12687
12687
|
|
|
12688
12688
|
const FileInput = withInstall(_FileInput);
|
|
12689
12689
|
|
|
@@ -12695,11 +12695,11 @@ const imageInputProps = {
|
|
|
12695
12695
|
accept: { type: String, default: "" }
|
|
12696
12696
|
};
|
|
12697
12697
|
|
|
12698
|
-
const __default__$
|
|
12698
|
+
const __default__$z = defineComponent({
|
|
12699
12699
|
name: "DkImageInput"
|
|
12700
12700
|
});
|
|
12701
|
-
var _sfc_main$
|
|
12702
|
-
...__default__$
|
|
12701
|
+
var _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
12702
|
+
...__default__$z,
|
|
12703
12703
|
props: imageInputProps,
|
|
12704
12704
|
emits: ["input", "update:modelValue", "change"],
|
|
12705
12705
|
setup(__props, { emit }) {
|
|
@@ -12735,7 +12735,7 @@ var _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
12735
12735
|
}
|
|
12736
12736
|
});
|
|
12737
12737
|
|
|
12738
|
-
var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12738
|
+
var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
|
|
12739
12739
|
|
|
12740
12740
|
const ImageInput = withInstall(_ImageInput);
|
|
12741
12741
|
|
|
@@ -12747,11 +12747,11 @@ const audioInputProps = {
|
|
|
12747
12747
|
accept: { type: String, default: "" }
|
|
12748
12748
|
};
|
|
12749
12749
|
|
|
12750
|
-
const __default__$
|
|
12750
|
+
const __default__$y = defineComponent({
|
|
12751
12751
|
name: "DkAudioInput"
|
|
12752
12752
|
});
|
|
12753
|
-
var _sfc_main$
|
|
12754
|
-
...__default__$
|
|
12753
|
+
var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
12754
|
+
...__default__$y,
|
|
12755
12755
|
props: audioInputProps,
|
|
12756
12756
|
emits: ["input", "update:modelValue", "change"],
|
|
12757
12757
|
setup(__props, { emit }) {
|
|
@@ -12787,7 +12787,7 @@ var _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
12787
12787
|
}
|
|
12788
12788
|
});
|
|
12789
12789
|
|
|
12790
|
-
var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12790
|
+
var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-input\\src\\audio-input.vue"]]);
|
|
12791
12791
|
|
|
12792
12792
|
const AudioInput = withInstall(_AudioInput);
|
|
12793
12793
|
|
|
@@ -12799,11 +12799,11 @@ const videoInputProps = {
|
|
|
12799
12799
|
accept: { type: String, default: "" }
|
|
12800
12800
|
};
|
|
12801
12801
|
|
|
12802
|
-
const __default__$
|
|
12802
|
+
const __default__$x = defineComponent({
|
|
12803
12803
|
name: "DkVideoInput"
|
|
12804
12804
|
});
|
|
12805
|
-
var _sfc_main$
|
|
12806
|
-
...__default__$
|
|
12805
|
+
var _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
12806
|
+
...__default__$x,
|
|
12807
12807
|
props: videoInputProps,
|
|
12808
12808
|
emits: ["input", "update:modelValue", "change"],
|
|
12809
12809
|
setup(__props, { emit }) {
|
|
@@ -12839,7 +12839,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
12839
12839
|
}
|
|
12840
12840
|
});
|
|
12841
12841
|
|
|
12842
|
-
var _VideoInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12842
|
+
var _VideoInput = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-input\\src\\video-input.vue"]]);
|
|
12843
12843
|
|
|
12844
12844
|
const VideoInput = withInstall(_VideoInput);
|
|
12845
12845
|
|
|
@@ -12852,14 +12852,14 @@ const fileListInputProps = {
|
|
|
12852
12852
|
accept: { default: "", type: String }
|
|
12853
12853
|
};
|
|
12854
12854
|
|
|
12855
|
-
const _hoisted_1$
|
|
12856
|
-
const _hoisted_2$
|
|
12857
|
-
const _hoisted_3$
|
|
12858
|
-
const __default__$
|
|
12855
|
+
const _hoisted_1$J = { class: "dk-image-list" };
|
|
12856
|
+
const _hoisted_2$y = ["onClick"];
|
|
12857
|
+
const _hoisted_3$o = { key: 0 };
|
|
12858
|
+
const __default__$w = defineComponent({
|
|
12859
12859
|
name: "DkFileListInput"
|
|
12860
12860
|
});
|
|
12861
|
-
var _sfc_main$
|
|
12862
|
-
...__default__$
|
|
12861
|
+
var _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
12862
|
+
...__default__$w,
|
|
12863
12863
|
props: fileListInputProps,
|
|
12864
12864
|
emits: ["input", "update:modelValue", "change"],
|
|
12865
12865
|
setup(__props, { emit }) {
|
|
@@ -12917,7 +12917,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
12917
12917
|
class: normalizeClass(unref(bem)())
|
|
12918
12918
|
},
|
|
12919
12919
|
[
|
|
12920
|
-
createElementVNode("div", _hoisted_1$
|
|
12920
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
12921
12921
|
createElementVNode("ul", null, [
|
|
12922
12922
|
(openBlock(true), createElementBlock(
|
|
12923
12923
|
Fragment,
|
|
@@ -12954,7 +12954,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
12954
12954
|
_: 1
|
|
12955
12955
|
/* STABLE */
|
|
12956
12956
|
})
|
|
12957
|
-
], 8, _hoisted_2$
|
|
12957
|
+
], 8, _hoisted_2$y)) : createCommentVNode("v-if", true)
|
|
12958
12958
|
],
|
|
12959
12959
|
4
|
|
12960
12960
|
/* STYLE */
|
|
@@ -12964,7 +12964,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
12964
12964
|
128
|
|
12965
12965
|
/* KEYED_FRAGMENT */
|
|
12966
12966
|
)),
|
|
12967
|
-
_ctx.limit > input.value.length && !_ctx.disabled ? (openBlock(), createElementBlock("li", _hoisted_3$
|
|
12967
|
+
_ctx.limit > input.value.length && !_ctx.disabled ? (openBlock(), createElementBlock("li", _hoisted_3$o, [
|
|
12968
12968
|
createElementVNode(
|
|
12969
12969
|
"div",
|
|
12970
12970
|
{
|
|
@@ -13001,7 +13001,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
13001
13001
|
}
|
|
13002
13002
|
});
|
|
13003
13003
|
|
|
13004
|
-
var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13004
|
+
var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-list-input\\src\\file-list-input.vue"]]);
|
|
13005
13005
|
|
|
13006
13006
|
const FileListInput = withInstall(_FileListInput);
|
|
13007
13007
|
|
|
@@ -13013,11 +13013,11 @@ const imageListInputProps = {
|
|
|
13013
13013
|
accept: { default: "", type: String }
|
|
13014
13014
|
};
|
|
13015
13015
|
|
|
13016
|
-
const __default__$
|
|
13016
|
+
const __default__$v = defineComponent({
|
|
13017
13017
|
name: "DkImageListInput"
|
|
13018
13018
|
});
|
|
13019
|
-
var _sfc_main$
|
|
13020
|
-
...__default__$
|
|
13019
|
+
var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
13020
|
+
...__default__$v,
|
|
13021
13021
|
props: imageListInputProps,
|
|
13022
13022
|
emits: ["input", "update:modelValue", "change"],
|
|
13023
13023
|
setup(__props, { emit }) {
|
|
@@ -13054,7 +13054,7 @@ var _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
13054
13054
|
}
|
|
13055
13055
|
});
|
|
13056
13056
|
|
|
13057
|
-
var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13057
|
+
var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
|
|
13058
13058
|
|
|
13059
13059
|
const ImageListInput = withInstall(_ImageListInput);
|
|
13060
13060
|
|
|
@@ -13066,11 +13066,11 @@ const audioListInputProps = {
|
|
|
13066
13066
|
accept: { default: "", type: String }
|
|
13067
13067
|
};
|
|
13068
13068
|
|
|
13069
|
-
const __default__$
|
|
13069
|
+
const __default__$u = defineComponent({
|
|
13070
13070
|
name: "DkAudioListInput"
|
|
13071
13071
|
});
|
|
13072
|
-
var _sfc_main$
|
|
13073
|
-
...__default__$
|
|
13072
|
+
var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
13073
|
+
...__default__$u,
|
|
13074
13074
|
props: audioListInputProps,
|
|
13075
13075
|
emits: ["input", "update:modelValue", "change"],
|
|
13076
13076
|
setup(__props, { emit }) {
|
|
@@ -13107,7 +13107,7 @@ var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
13107
13107
|
}
|
|
13108
13108
|
});
|
|
13109
13109
|
|
|
13110
|
-
var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13110
|
+
var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-list-input\\src\\audio-list-input.vue"]]);
|
|
13111
13111
|
|
|
13112
13112
|
const AudioListInput = withInstall(_AudioListInput);
|
|
13113
13113
|
|
|
@@ -13119,11 +13119,11 @@ const videoListInputProps = {
|
|
|
13119
13119
|
accept: { default: "", type: String }
|
|
13120
13120
|
};
|
|
13121
13121
|
|
|
13122
|
-
const __default__$
|
|
13122
|
+
const __default__$t = defineComponent({
|
|
13123
13123
|
name: "DkVideoListInput"
|
|
13124
13124
|
});
|
|
13125
|
-
var _sfc_main$
|
|
13126
|
-
...__default__$
|
|
13125
|
+
var _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
13126
|
+
...__default__$t,
|
|
13127
13127
|
props: videoListInputProps,
|
|
13128
13128
|
emits: ["input", "update:modelValue", "change"],
|
|
13129
13129
|
setup(__props, { emit }) {
|
|
@@ -13160,7 +13160,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
13160
13160
|
}
|
|
13161
13161
|
});
|
|
13162
13162
|
|
|
13163
|
-
var _VideoListInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13163
|
+
var _VideoListInput = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-list-input\\src\\video-list-input.vue"]]);
|
|
13164
13164
|
|
|
13165
13165
|
const VideoListInput = withInstall(_VideoListInput);
|
|
13166
13166
|
|
|
@@ -13220,18 +13220,18 @@ function getIcons(query) {
|
|
|
13220
13220
|
});
|
|
13221
13221
|
}
|
|
13222
13222
|
|
|
13223
|
-
const _hoisted_1$
|
|
13224
|
-
const _hoisted_2$
|
|
13223
|
+
const _hoisted_1$I = { class: "dk-icon-content" };
|
|
13224
|
+
const _hoisted_2$x = {
|
|
13225
13225
|
key: 0,
|
|
13226
13226
|
class: "text-center",
|
|
13227
13227
|
style: { "font-size": "12px", "color": "#999" }
|
|
13228
13228
|
};
|
|
13229
|
-
const _hoisted_3$
|
|
13230
|
-
const __default__$
|
|
13229
|
+
const _hoisted_3$n = { class: "search-icon" };
|
|
13230
|
+
const __default__$s = defineComponent({
|
|
13231
13231
|
name: "DkIconContent"
|
|
13232
13232
|
});
|
|
13233
|
-
var _sfc_main$
|
|
13234
|
-
...__default__$
|
|
13233
|
+
var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
13234
|
+
...__default__$s,
|
|
13235
13235
|
props: iconContentProps,
|
|
13236
13236
|
emits: ["choose"],
|
|
13237
13237
|
setup(__props, { expose: __expose, emit }) {
|
|
@@ -13329,7 +13329,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
13329
13329
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
13330
13330
|
const _component_el_button = resolveComponent("el-button");
|
|
13331
13331
|
const _component_el_input = resolveComponent("el-input");
|
|
13332
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13332
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
13333
13333
|
createVNode(_component_el_tabs, {
|
|
13334
13334
|
modelValue: activeName.value,
|
|
13335
13335
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event)
|
|
@@ -13424,7 +13424,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
13424
13424
|
128
|
|
13425
13425
|
/* KEYED_FRAGMENT */
|
|
13426
13426
|
)),
|
|
13427
|
-
!searchIcon.value ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
13427
|
+
!searchIcon.value ? (openBlock(), createElementBlock("p", _hoisted_2$x, "\u5F53\u524D\u663E\u793A\u5DF2\u7F13\u5B58\u7684\u56FE\u6807")) : createCommentVNode("v-if", true)
|
|
13428
13428
|
],
|
|
13429
13429
|
64
|
|
13430
13430
|
/* STABLE_FRAGMENT */
|
|
@@ -13440,7 +13440,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
13440
13440
|
_: 1
|
|
13441
13441
|
/* STABLE */
|
|
13442
13442
|
}, 8, ["modelValue"]),
|
|
13443
|
-
createElementVNode("div", _hoisted_3$
|
|
13443
|
+
createElementVNode("div", _hoisted_3$n, [
|
|
13444
13444
|
createVNode(_component_el_input, {
|
|
13445
13445
|
modelValue: searchIcon.value,
|
|
13446
13446
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchIcon.value = $event),
|
|
@@ -13463,14 +13463,14 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
13463
13463
|
}
|
|
13464
13464
|
});
|
|
13465
13465
|
|
|
13466
|
-
var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13466
|
+
var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
|
|
13467
13467
|
|
|
13468
|
-
const _hoisted_1$
|
|
13469
|
-
const __default__$
|
|
13468
|
+
const _hoisted_1$H = { class: "text-center m2" };
|
|
13469
|
+
const __default__$r = defineComponent({
|
|
13470
13470
|
name: "DkIconDialog"
|
|
13471
13471
|
});
|
|
13472
|
-
var _sfc_main$
|
|
13473
|
-
...__default__$
|
|
13472
|
+
var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
13473
|
+
...__default__$r,
|
|
13474
13474
|
props: iconDialogProps,
|
|
13475
13475
|
emits: ["choose", "confirm"],
|
|
13476
13476
|
setup(__props, { expose: __expose, emit }) {
|
|
@@ -13504,7 +13504,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
13504
13504
|
class: "dk-icon-dialog"
|
|
13505
13505
|
}, {
|
|
13506
13506
|
footer: withCtx(() => [
|
|
13507
|
-
createElementVNode("div", _hoisted_1$
|
|
13507
|
+
createElementVNode("div", _hoisted_1$H, [
|
|
13508
13508
|
createVNode(_component_el_button, {
|
|
13509
13509
|
type: "primary",
|
|
13510
13510
|
onClick: confirm
|
|
@@ -13543,17 +13543,17 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
13543
13543
|
}
|
|
13544
13544
|
});
|
|
13545
13545
|
|
|
13546
|
-
var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13546
|
+
var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
|
|
13547
13547
|
|
|
13548
|
-
const _hoisted_1$
|
|
13548
|
+
const _hoisted_1$G = {
|
|
13549
13549
|
key: 0,
|
|
13550
13550
|
class: "show m-t-5px"
|
|
13551
13551
|
};
|
|
13552
|
-
const __default__$
|
|
13552
|
+
const __default__$q = defineComponent({
|
|
13553
13553
|
name: "DkIconInput"
|
|
13554
13554
|
});
|
|
13555
|
-
var _sfc_main$
|
|
13556
|
-
...__default__$
|
|
13555
|
+
var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
13556
|
+
...__default__$q,
|
|
13557
13557
|
props: iconInputProps,
|
|
13558
13558
|
emits: ["input", "update:modelValue", "change"],
|
|
13559
13559
|
setup(__props, { emit }) {
|
|
@@ -13621,7 +13621,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
13621
13621
|
/* STABLE */
|
|
13622
13622
|
}, 8, ["modelValue", "placeholder"]),
|
|
13623
13623
|
createCommentVNode("\u9009\u62E9\u7684\u662F\u56FE\u7247"),
|
|
13624
|
-
props.preview ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
13624
|
+
props.preview ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
13625
13625
|
createVNode(_component_dk_icon, {
|
|
13626
13626
|
icon: input.value ? input.value : "fluent:document-none-24-regular",
|
|
13627
13627
|
class: "icon rd-4px cursor-pointer",
|
|
@@ -13660,7 +13660,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
13660
13660
|
}
|
|
13661
13661
|
});
|
|
13662
13662
|
|
|
13663
|
-
var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13663
|
+
var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
|
|
13664
13664
|
|
|
13665
13665
|
const IconInput = withInstall(_IconInput);
|
|
13666
13666
|
const IconContent = withInstall(_IconContent);
|
|
@@ -13757,16 +13757,16 @@ const styleInputProps = {
|
|
|
13757
13757
|
}
|
|
13758
13758
|
};
|
|
13759
13759
|
|
|
13760
|
-
const _hoisted_1$
|
|
13761
|
-
const _hoisted_2$
|
|
13760
|
+
const _hoisted_1$F = { class: "dk-style-input" };
|
|
13761
|
+
const _hoisted_2$w = {
|
|
13762
13762
|
key: 0,
|
|
13763
13763
|
class: "p-5px"
|
|
13764
13764
|
};
|
|
13765
|
-
const __default__$
|
|
13765
|
+
const __default__$p = defineComponent({
|
|
13766
13766
|
name: "DkStyleInput"
|
|
13767
13767
|
});
|
|
13768
|
-
var _sfc_main$
|
|
13769
|
-
...__default__$
|
|
13768
|
+
var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
13769
|
+
...__default__$p,
|
|
13770
13770
|
props: styleInputProps,
|
|
13771
13771
|
emits: ["update:modelValue"],
|
|
13772
13772
|
setup(__props, { emit }) {
|
|
@@ -13818,8 +13818,8 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
13818
13818
|
return (_ctx, _cache) => {
|
|
13819
13819
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
13820
13820
|
const _component_el_collapse = resolveComponent("el-collapse");
|
|
13821
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13822
|
-
!loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13821
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
13822
|
+
!loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
13823
13823
|
createVNode(_component_el_collapse, {
|
|
13824
13824
|
modelValue: activeNames.value,
|
|
13825
13825
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeNames.value = $event)
|
|
@@ -13865,7 +13865,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
13865
13865
|
}
|
|
13866
13866
|
});
|
|
13867
13867
|
|
|
13868
|
-
var _StyleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13868
|
+
var _StyleInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-input\\src\\style-input.vue"]]);
|
|
13869
13869
|
|
|
13870
13870
|
const StyleInput = withInstall(_StyleInput);
|
|
13871
13871
|
|
|
@@ -13905,12 +13905,12 @@ const boxSizeInputProps = {
|
|
|
13905
13905
|
}
|
|
13906
13906
|
};
|
|
13907
13907
|
|
|
13908
|
-
const _hoisted_1$
|
|
13909
|
-
const __default__$
|
|
13908
|
+
const _hoisted_1$E = ["onMousedown"];
|
|
13909
|
+
const __default__$o = defineComponent({
|
|
13910
13910
|
name: "DkBoxSizeInput"
|
|
13911
13911
|
});
|
|
13912
|
-
var _sfc_main$
|
|
13913
|
-
...__default__$
|
|
13912
|
+
var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
13913
|
+
...__default__$o,
|
|
13914
13914
|
props: boxSizeInputProps,
|
|
13915
13915
|
emits: ["update:modelValue"],
|
|
13916
13916
|
setup(__props, { emit }) {
|
|
@@ -14147,7 +14147,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14147
14147
|
_: 2
|
|
14148
14148
|
/* DYNAMIC */
|
|
14149
14149
|
}, 1032, ["content", "disabled"])
|
|
14150
|
-
], 40, _hoisted_1$
|
|
14150
|
+
], 40, _hoisted_1$E)
|
|
14151
14151
|
]),
|
|
14152
14152
|
key: "0"
|
|
14153
14153
|
} : void 0
|
|
@@ -14245,7 +14245,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14245
14245
|
}
|
|
14246
14246
|
});
|
|
14247
14247
|
|
|
14248
|
-
var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14248
|
+
var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\box-size-input\\src\\box-size-input.vue"]]);
|
|
14249
14249
|
|
|
14250
14250
|
const BoxSizeInput = withInstall(_BoxSizeInput);
|
|
14251
14251
|
|
|
@@ -14373,9 +14373,9 @@ const paddings = [
|
|
|
14373
14373
|
}
|
|
14374
14374
|
];
|
|
14375
14375
|
|
|
14376
|
-
const _hoisted_1$
|
|
14377
|
-
const _hoisted_2$
|
|
14378
|
-
const _hoisted_3$
|
|
14376
|
+
const _hoisted_1$D = { class: "dk-style-box-input" };
|
|
14377
|
+
const _hoisted_2$v = { class: "header" };
|
|
14378
|
+
const _hoisted_3$m = { class: "items-center" };
|
|
14379
14379
|
const _hoisted_4$i = { class: "float-right cursor-pointer" };
|
|
14380
14380
|
const _hoisted_5$d = { class: "name-header-operations" };
|
|
14381
14381
|
const _hoisted_6$a = { class: "name-header-operations" };
|
|
@@ -14420,11 +14420,11 @@ const _hoisted_23 = /* @__PURE__ */ createElementVNode(
|
|
|
14420
14420
|
-1
|
|
14421
14421
|
/* HOISTED */
|
|
14422
14422
|
);
|
|
14423
|
-
const __default__$
|
|
14423
|
+
const __default__$n = defineComponent({
|
|
14424
14424
|
name: "DkStyleBoxInput"
|
|
14425
14425
|
});
|
|
14426
|
-
var _sfc_main$
|
|
14427
|
-
...__default__$
|
|
14426
|
+
var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
14427
|
+
...__default__$n,
|
|
14428
14428
|
props: styleBoxInputProps,
|
|
14429
14429
|
emits: ["update:modelValue"],
|
|
14430
14430
|
setup(__props, { emit }) {
|
|
@@ -14662,7 +14662,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14662
14662
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
14663
14663
|
const _component_el_popover = resolveComponent("el-popover");
|
|
14664
14664
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
14665
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14665
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
14666
14666
|
createElementVNode(
|
|
14667
14667
|
"div",
|
|
14668
14668
|
{
|
|
@@ -14673,8 +14673,8 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14673
14673
|
4
|
|
14674
14674
|
/* STYLE */
|
|
14675
14675
|
),
|
|
14676
|
-
createElementVNode("div", _hoisted_2$
|
|
14677
|
-
createElementVNode("label", _hoisted_3$
|
|
14676
|
+
createElementVNode("div", _hoisted_2$v, [
|
|
14677
|
+
createElementVNode("label", _hoisted_3$m, [
|
|
14678
14678
|
createTextVNode(" \u5185\u5916\u8FB9\u8DDD | \u9AD8\u5BBD "),
|
|
14679
14679
|
createVNode(_component_el_popover, {
|
|
14680
14680
|
ref: "popover",
|
|
@@ -14978,7 +14978,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14978
14978
|
}
|
|
14979
14979
|
});
|
|
14980
14980
|
|
|
14981
|
-
var _StyleBoxInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14981
|
+
var _StyleBoxInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-box-input\\src\\style-box-input.vue"]]);
|
|
14982
14982
|
|
|
14983
14983
|
const StyleBoxInput = withInstall(_StyleBoxInput);
|
|
14984
14984
|
|
|
@@ -14989,9 +14989,9 @@ const styleFontInputProps = {
|
|
|
14989
14989
|
}
|
|
14990
14990
|
};
|
|
14991
14991
|
|
|
14992
|
-
const _hoisted_1$
|
|
14993
|
-
const _hoisted_2$
|
|
14994
|
-
const _hoisted_3$
|
|
14992
|
+
const _hoisted_1$C = { class: "dk-style-font-input" };
|
|
14993
|
+
const _hoisted_2$u = { style: { "display": "flex", "flex-flow": "row wrap" } };
|
|
14994
|
+
const _hoisted_3$l = { class: "m-b-5px" };
|
|
14995
14995
|
const _hoisted_4$h = {
|
|
14996
14996
|
style: { "width": "100px" },
|
|
14997
14997
|
class: "m-b-5px"
|
|
@@ -15003,11 +15003,11 @@ const _hoisted_5$c = {
|
|
|
15003
15003
|
const _hoisted_6$9 = { class: "m-r-5px m-b-5px" };
|
|
15004
15004
|
const _hoisted_7$9 = { class: "m-r-5px m-b-5px" };
|
|
15005
15005
|
const _hoisted_8$7 = { class: "m-b-5px" };
|
|
15006
|
-
const __default__$
|
|
15006
|
+
const __default__$m = defineComponent({
|
|
15007
15007
|
name: "DkStyleFontInput"
|
|
15008
15008
|
});
|
|
15009
|
-
var _sfc_main$
|
|
15010
|
-
...__default__$
|
|
15009
|
+
var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
15010
|
+
...__default__$m,
|
|
15011
15011
|
props: styleFontInputProps,
|
|
15012
15012
|
emits: ["update:modelValue"],
|
|
15013
15013
|
setup(__props, { emit }) {
|
|
@@ -15079,9 +15079,9 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15079
15079
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
15080
15080
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
15081
15081
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
15082
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15082
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
15083
15083
|
createCommentVNode(" \u989C\u8272\u3001\u5B57\u53F7\u3001\u7C97\u7EC6\u3001\u98CE\u683C\u3001\u88C5\u9970"),
|
|
15084
|
-
createElementVNode("div", _hoisted_2$
|
|
15084
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
15085
15085
|
createVNode(_component_el_tooltip, {
|
|
15086
15086
|
placement: "top-end",
|
|
15087
15087
|
trigger: "hover",
|
|
@@ -15105,7 +15105,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15105
15105
|
}, 8, ["disabled"])
|
|
15106
15106
|
]),
|
|
15107
15107
|
default: withCtx(() => [
|
|
15108
|
-
createElementVNode("div", _hoisted_3$
|
|
15108
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
15109
15109
|
createVNode(_component_el_color_picker, {
|
|
15110
15110
|
modelValue: styles.color,
|
|
15111
15111
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => styles.color = $event)
|
|
@@ -15437,7 +15437,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15437
15437
|
}
|
|
15438
15438
|
});
|
|
15439
15439
|
|
|
15440
|
-
var _StyleFontInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15440
|
+
var _StyleFontInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-font-input\\src\\style-font-input.vue"]]);
|
|
15441
15441
|
|
|
15442
15442
|
const StyleFontInput = withInstall(_StyleFontInput);
|
|
15443
15443
|
|
|
@@ -15449,17 +15449,17 @@ const styleBorderInputProps = {
|
|
|
15449
15449
|
}
|
|
15450
15450
|
};
|
|
15451
15451
|
|
|
15452
|
-
const _hoisted_1$
|
|
15453
|
-
const _hoisted_2$
|
|
15452
|
+
const _hoisted_1$B = { class: "border-box" };
|
|
15453
|
+
const _hoisted_2$t = {
|
|
15454
15454
|
style: { "width": "100%" },
|
|
15455
15455
|
class: "m-l-20px"
|
|
15456
15456
|
};
|
|
15457
|
-
const _hoisted_3$
|
|
15458
|
-
const __default__$
|
|
15457
|
+
const _hoisted_3$k = { style: { "display": "flex" } };
|
|
15458
|
+
const __default__$l = defineComponent({
|
|
15459
15459
|
name: "DkStyleBorderInput"
|
|
15460
15460
|
});
|
|
15461
|
-
var _sfc_main$
|
|
15462
|
-
...__default__$
|
|
15461
|
+
var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
15462
|
+
...__default__$l,
|
|
15463
15463
|
props: styleBorderInputProps,
|
|
15464
15464
|
emits: ["update:modelValue"],
|
|
15465
15465
|
setup(__props, { emit }) {
|
|
@@ -15635,7 +15635,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15635
15635
|
class: normalizeClass(["dk-style-border-input", unref(width).value < 400 ? "mini" : ""])
|
|
15636
15636
|
},
|
|
15637
15637
|
[
|
|
15638
|
-
createElementVNode("div", _hoisted_1$
|
|
15638
|
+
createElementVNode("div", _hoisted_1$B, [
|
|
15639
15639
|
(openBlock(), createElementBlock(
|
|
15640
15640
|
Fragment,
|
|
15641
15641
|
null,
|
|
@@ -15653,7 +15653,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15653
15653
|
/* STABLE_FRAGMENT */
|
|
15654
15654
|
))
|
|
15655
15655
|
]),
|
|
15656
|
-
createElementVNode("div", _hoisted_2$
|
|
15656
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
15657
15657
|
createCommentVNode(" \u6837\u5F0F\u3001\u5BBD\u5EA6\u3001\u989C\u8272"),
|
|
15658
15658
|
createVNode(_component_el_form, {
|
|
15659
15659
|
"label-width": "50px",
|
|
@@ -15686,7 +15686,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15686
15686
|
}, 8, ["disabled"])
|
|
15687
15687
|
]),
|
|
15688
15688
|
default: withCtx(() => [
|
|
15689
|
-
createElementVNode("div", _hoisted_3$
|
|
15689
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
15690
15690
|
createVNode(_component_el_slider, {
|
|
15691
15691
|
modelValue: form[position.value].borderWidth,
|
|
15692
15692
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => form[position.value].borderWidth = $event),
|
|
@@ -15897,7 +15897,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15897
15897
|
}
|
|
15898
15898
|
});
|
|
15899
15899
|
|
|
15900
|
-
var _StyleBorderInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15900
|
+
var _StyleBorderInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-border-input\\src\\style-border-input.vue"]]);
|
|
15901
15901
|
|
|
15902
15902
|
const StyleBorderInput = withInstall(_StyleBorderInput);
|
|
15903
15903
|
|
|
@@ -15911,12 +15911,12 @@ const styleBackgroundInputProps = {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
};
|
|
15913
15913
|
|
|
15914
|
-
const _hoisted_1$
|
|
15915
|
-
const __default__$
|
|
15914
|
+
const _hoisted_1$A = { class: "dk-style-background-input" };
|
|
15915
|
+
const __default__$k = defineComponent({
|
|
15916
15916
|
name: "DkStyleBackgroundInput"
|
|
15917
15917
|
});
|
|
15918
|
-
var _sfc_main$
|
|
15919
|
-
...__default__$
|
|
15918
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
15919
|
+
...__default__$k,
|
|
15920
15920
|
props: styleBackgroundInputProps,
|
|
15921
15921
|
emits: ["update:modelValue"],
|
|
15922
15922
|
setup(__props, { emit }) {
|
|
@@ -15962,7 +15962,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15962
15962
|
return (_ctx, _cache) => {
|
|
15963
15963
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
15964
15964
|
const _component_dk_image_input = resolveComponent("dk-image-input");
|
|
15965
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15965
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
15966
15966
|
createVNode(_component_el_color_picker, {
|
|
15967
15967
|
modelValue: form.backgroundColor,
|
|
15968
15968
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.backgroundColor = $event),
|
|
@@ -15977,7 +15977,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15977
15977
|
}
|
|
15978
15978
|
});
|
|
15979
15979
|
|
|
15980
|
-
var _StyleBackgroundInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15980
|
+
var _StyleBackgroundInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-background-input\\src\\style-background-input.vue"]]);
|
|
15981
15981
|
|
|
15982
15982
|
const StyleBackgroundInput = withInstall(_StyleBackgroundInput);
|
|
15983
15983
|
|
|
@@ -15993,16 +15993,16 @@ const shadowInputProps = {
|
|
|
15993
15993
|
}
|
|
15994
15994
|
};
|
|
15995
15995
|
|
|
15996
|
-
const _hoisted_1$
|
|
15997
|
-
const _hoisted_2$
|
|
15996
|
+
const _hoisted_1$z = { class: "dk-style-shadow-input" };
|
|
15997
|
+
const _hoisted_2$s = {
|
|
15998
15998
|
key: 1,
|
|
15999
15999
|
class: "shadow-list"
|
|
16000
16000
|
};
|
|
16001
|
-
const __default__$
|
|
16001
|
+
const __default__$j = defineComponent({
|
|
16002
16002
|
name: "DkStyleShadowInput"
|
|
16003
16003
|
});
|
|
16004
|
-
var _sfc_main$
|
|
16005
|
-
...__default__$
|
|
16004
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
16005
|
+
...__default__$j,
|
|
16006
16006
|
props: shadowInputProps,
|
|
16007
16007
|
emits: ["update:modelValue"],
|
|
16008
16008
|
setup(__props, { emit }) {
|
|
@@ -16045,7 +16045,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16045
16045
|
const _component_el_popover = resolveComponent("el-popover");
|
|
16046
16046
|
const _component_el_input = resolveComponent("el-input");
|
|
16047
16047
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
16048
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16048
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
16049
16049
|
_ctx.type === "collapse" ? (openBlock(), createBlock(_component_el_collapse, {
|
|
16050
16050
|
key: 0,
|
|
16051
16051
|
modelValue: activeName.value,
|
|
@@ -16078,7 +16078,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16078
16078
|
]),
|
|
16079
16079
|
_: 1
|
|
16080
16080
|
/* STABLE */
|
|
16081
|
-
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("ul", _hoisted_2$
|
|
16081
|
+
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("ul", _hoisted_2$s, [
|
|
16082
16082
|
(openBlock(true), createElementBlock(
|
|
16083
16083
|
Fragment,
|
|
16084
16084
|
null,
|
|
@@ -16151,11 +16151,11 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16151
16151
|
}
|
|
16152
16152
|
});
|
|
16153
16153
|
|
|
16154
|
-
var _StyleShadowInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16154
|
+
var _StyleShadowInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-input.vue"]]);
|
|
16155
16155
|
|
|
16156
|
-
const _hoisted_1$
|
|
16157
|
-
const _hoisted_2$
|
|
16158
|
-
const _hoisted_3$
|
|
16156
|
+
const _hoisted_1$y = { class: "shadow-content-shortcut" };
|
|
16157
|
+
const _hoisted_2$r = { class: "default-css m-b-10px" };
|
|
16158
|
+
const _hoisted_3$j = /* @__PURE__ */ createElementVNode(
|
|
16159
16159
|
"div",
|
|
16160
16160
|
{ class: "m-b-10px" },
|
|
16161
16161
|
"\u5E38\u7528\u6837\u5F0F",
|
|
@@ -16172,11 +16172,11 @@ const _hoisted_4$g = /* @__PURE__ */ createElementVNode(
|
|
|
16172
16172
|
const _hoisted_5$b = [
|
|
16173
16173
|
_hoisted_4$g
|
|
16174
16174
|
];
|
|
16175
|
-
const __default__$
|
|
16175
|
+
const __default__$i = defineComponent({
|
|
16176
16176
|
name: "DkStyleShadowContent"
|
|
16177
16177
|
});
|
|
16178
|
-
var _sfc_main$
|
|
16179
|
-
...__default__$
|
|
16178
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
16179
|
+
...__default__$i,
|
|
16180
16180
|
props: {
|
|
16181
16181
|
boxSize: {
|
|
16182
16182
|
default: 180,
|
|
@@ -16532,9 +16532,9 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16532
16532
|
_: 1
|
|
16533
16533
|
/* STABLE */
|
|
16534
16534
|
}, 8, ["size"]),
|
|
16535
|
-
createElementVNode("div", _hoisted_1$
|
|
16536
|
-
createElementVNode("div", _hoisted_2$
|
|
16537
|
-
_hoisted_3$
|
|
16535
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
16536
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
16537
|
+
_hoisted_3$j,
|
|
16538
16538
|
(openBlock(true), createElementBlock(
|
|
16539
16539
|
Fragment,
|
|
16540
16540
|
null,
|
|
@@ -16635,7 +16635,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16635
16635
|
}
|
|
16636
16636
|
});
|
|
16637
16637
|
|
|
16638
|
-
var _StyleShadowContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16638
|
+
var _StyleShadowContent = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-content.vue"]]);
|
|
16639
16639
|
|
|
16640
16640
|
const StyleShadowInput = withInstall(_StyleShadowInput);
|
|
16641
16641
|
const StyleShadowContent = withInstall(_StyleShadowContent);
|
|
@@ -16649,13 +16649,13 @@ const stylePositionInputProps = {
|
|
|
16649
16649
|
}
|
|
16650
16650
|
};
|
|
16651
16651
|
|
|
16652
|
-
const _hoisted_1$
|
|
16653
|
-
const _hoisted_2$
|
|
16654
|
-
const __default__$
|
|
16652
|
+
const _hoisted_1$x = { class: "m-t-10px" };
|
|
16653
|
+
const _hoisted_2$q = ["onClick"];
|
|
16654
|
+
const __default__$h = defineComponent({
|
|
16655
16655
|
name: "DkStylePositionInput"
|
|
16656
16656
|
});
|
|
16657
|
-
var _sfc_main$
|
|
16658
|
-
...__default__$
|
|
16657
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
16658
|
+
...__default__$h,
|
|
16659
16659
|
props: stylePositionInputProps,
|
|
16660
16660
|
emits: ["update:modelValue"],
|
|
16661
16661
|
setup(__props, { emit }) {
|
|
@@ -16803,7 +16803,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16803
16803
|
/* STABLE */
|
|
16804
16804
|
})
|
|
16805
16805
|
]),
|
|
16806
|
-
createElementVNode("div", _hoisted_1$
|
|
16806
|
+
createElementVNode("div", _hoisted_1$x, [
|
|
16807
16807
|
createVNode(_component_el_row, { gutter: 20 }, {
|
|
16808
16808
|
default: withCtx(() => [
|
|
16809
16809
|
(openBlock(), createElementBlock(
|
|
@@ -16830,7 +16830,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16830
16830
|
createElementVNode("span", {
|
|
16831
16831
|
style: normalizeStyle([{ "cursor": "pointer" }, form.value[item.value] ? "color:var(--el-color-primary)" : ""]),
|
|
16832
16832
|
onClick: ($event) => form.value[item.value] = ""
|
|
16833
|
-
}, toDisplayString(item.label) + "\uFF1A", 13, _hoisted_2$
|
|
16833
|
+
}, toDisplayString(item.label) + "\uFF1A", 13, _hoisted_2$q)
|
|
16834
16834
|
]),
|
|
16835
16835
|
_: 2
|
|
16836
16836
|
/* DYNAMIC */
|
|
@@ -16871,7 +16871,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16871
16871
|
}
|
|
16872
16872
|
});
|
|
16873
16873
|
|
|
16874
|
-
var _StylePositionInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16874
|
+
var _StylePositionInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-position-input\\src\\style-position-input.vue"]]);
|
|
16875
16875
|
|
|
16876
16876
|
const StylePositionInput = withInstall(_StylePositionInput);
|
|
16877
16877
|
|
|
@@ -16909,11 +16909,11 @@ const styleNumberInputProps = {
|
|
|
16909
16909
|
}
|
|
16910
16910
|
};
|
|
16911
16911
|
|
|
16912
|
-
const __default__$
|
|
16912
|
+
const __default__$g = defineComponent({
|
|
16913
16913
|
name: "DkStyleNumberInput"
|
|
16914
16914
|
});
|
|
16915
|
-
var _sfc_main$
|
|
16916
|
-
...__default__$
|
|
16915
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
16916
|
+
...__default__$g,
|
|
16917
16917
|
props: styleNumberInputProps,
|
|
16918
16918
|
emits: ["input", "update:modelValue"],
|
|
16919
16919
|
setup(__props, { emit }) {
|
|
@@ -17073,7 +17073,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
17073
17073
|
}
|
|
17074
17074
|
});
|
|
17075
17075
|
|
|
17076
|
-
var _StyleNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17076
|
+
var _StyleNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-number-input\\src\\style-number-input.vue"]]);
|
|
17077
17077
|
|
|
17078
17078
|
const StyleNumberInput = withInstall(_StyleNumberInput);
|
|
17079
17079
|
|
|
@@ -17818,9 +17818,9 @@ const draggableComponent = defineComponent({
|
|
|
17818
17818
|
}
|
|
17819
17819
|
});
|
|
17820
17820
|
|
|
17821
|
-
const _hoisted_1$
|
|
17822
|
-
const _hoisted_2$
|
|
17823
|
-
const _hoisted_3$
|
|
17821
|
+
const _hoisted_1$w = { class: "preview-phone" };
|
|
17822
|
+
const _hoisted_2$p = { class: "phone" };
|
|
17823
|
+
const _hoisted_3$i = { class: "phone-header" };
|
|
17824
17824
|
const _hoisted_4$f = { class: "phone-header-top" };
|
|
17825
17825
|
const _hoisted_5$a = { class: "phone-time" };
|
|
17826
17826
|
const _hoisted_6$8 = /* @__PURE__ */ createElementVNode(
|
|
@@ -17848,11 +17848,11 @@ const _hoisted_11$4 = /* @__PURE__ */ createElementVNode(
|
|
|
17848
17848
|
/* HOISTED */
|
|
17849
17849
|
);
|
|
17850
17850
|
const _hoisted_12$3 = { class: "phone-title-icon" };
|
|
17851
|
-
const __default__$
|
|
17851
|
+
const __default__$f = defineComponent({
|
|
17852
17852
|
name: "PreviewPhone"
|
|
17853
17853
|
});
|
|
17854
|
-
var _sfc_main$
|
|
17855
|
-
...__default__$
|
|
17854
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
17855
|
+
...__default__$f,
|
|
17856
17856
|
props: {
|
|
17857
17857
|
value: {
|
|
17858
17858
|
default: "",
|
|
@@ -17937,9 +17937,9 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
17937
17937
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
17938
17938
|
const _component_el_slider = resolveComponent("el-slider");
|
|
17939
17939
|
const _component_el_popover = resolveComponent("el-popover");
|
|
17940
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17941
|
-
createElementVNode("div", _hoisted_2$
|
|
17942
|
-
createElementVNode("div", _hoisted_3$
|
|
17940
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
17941
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
17942
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
17943
17943
|
createElementVNode("div", _hoisted_4$f, [
|
|
17944
17944
|
createElementVNode("div", _hoisted_5$a, [
|
|
17945
17945
|
createElementVNode(
|
|
@@ -18154,7 +18154,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
18154
18154
|
}
|
|
18155
18155
|
});
|
|
18156
18156
|
|
|
18157
|
-
var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18157
|
+
var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
|
|
18158
18158
|
|
|
18159
18159
|
const label$o = "\u6D77\u62A5";
|
|
18160
18160
|
const name$o = "dk-poster-btn";
|
|
@@ -18711,7 +18711,8 @@ var DkViewDialog$1 = {
|
|
|
18711
18711
|
return {
|
|
18712
18712
|
type: name$k,
|
|
18713
18713
|
props: {
|
|
18714
|
-
title: "\u901A\u77E5"
|
|
18714
|
+
title: "\u901A\u77E5",
|
|
18715
|
+
listen: ""
|
|
18715
18716
|
},
|
|
18716
18717
|
showStyle: true,
|
|
18717
18718
|
fixed: true
|
|
@@ -18719,14 +18720,7 @@ var DkViewDialog$1 = {
|
|
|
18719
18720
|
},
|
|
18720
18721
|
props() {
|
|
18721
18722
|
return [
|
|
18722
|
-
|
|
18723
|
-
// {
|
|
18724
|
-
// type: 'DkEventCreateInput',
|
|
18725
|
-
// field: 'listen',
|
|
18726
|
-
// title: '监听事件',
|
|
18727
|
-
// value: '',
|
|
18728
|
-
// props: { label: '弹窗组件' },
|
|
18729
|
-
// },
|
|
18723
|
+
{ type: "DkEventCreateInput", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "", props: { label: "\u5F39\u7A97\u7EC4\u4EF6" } },
|
|
18730
18724
|
{ type: "input", field: "title", title: "\u5F39\u7A97\u6807\u9898", value: "\u901A\u77E5" },
|
|
18731
18725
|
{
|
|
18732
18726
|
type: "dk-tiny-editor",
|
|
@@ -21226,7 +21220,7 @@ const pageDiyProps = {
|
|
|
21226
21220
|
// DIY 类型 分别为:web(网页)、min(小程序)
|
|
21227
21221
|
type: {
|
|
21228
21222
|
type: String,
|
|
21229
|
-
default: "
|
|
21223
|
+
default: "web"
|
|
21230
21224
|
},
|
|
21231
21225
|
menu: {
|
|
21232
21226
|
type: Object,
|
|
@@ -21261,7 +21255,7 @@ const pageDiyProps = {
|
|
|
21261
21255
|
// 'menu', 'height', 'config', 'mask', 'locale', 'loading'
|
|
21262
21256
|
};
|
|
21263
21257
|
|
|
21264
|
-
const _sfc_main$
|
|
21258
|
+
const _sfc_main$F = {
|
|
21265
21259
|
name: 'DkMinVideo',
|
|
21266
21260
|
props: {
|
|
21267
21261
|
poster: {
|
|
@@ -21303,15 +21297,15 @@ const _sfc_main$D = {
|
|
|
21303
21297
|
methods: {},
|
|
21304
21298
|
};
|
|
21305
21299
|
|
|
21306
|
-
const _hoisted_1$
|
|
21300
|
+
const _hoisted_1$v = {
|
|
21307
21301
|
style: {"position":"relative"},
|
|
21308
21302
|
class: "dk-video-content"
|
|
21309
21303
|
};
|
|
21310
|
-
const _hoisted_2$
|
|
21311
|
-
const _hoisted_3$
|
|
21304
|
+
const _hoisted_2$o = { class: "video-preview" };
|
|
21305
|
+
const _hoisted_3$h = { key: 0 };
|
|
21312
21306
|
const _hoisted_4$e = { key: 1 };
|
|
21313
21307
|
|
|
21314
|
-
function _sfc_render$
|
|
21308
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21315
21309
|
const _component_el_image = resolveComponent("el-image");
|
|
21316
21310
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
21317
21311
|
|
|
@@ -21319,7 +21313,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21319
21313
|
class: "dk-view-video",
|
|
21320
21314
|
style: normalizeStyle($options._style)
|
|
21321
21315
|
}, [
|
|
21322
|
-
createElementVNode("div", _hoisted_1$
|
|
21316
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
21323
21317
|
($props.poster)
|
|
21324
21318
|
? (openBlock(), createBlock(_component_el_image, {
|
|
21325
21319
|
key: 0,
|
|
@@ -21328,21 +21322,21 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21328
21322
|
class: "poster"
|
|
21329
21323
|
}, null, 8 /* PROPS */, ["src"]))
|
|
21330
21324
|
: createCommentVNode("v-if", true),
|
|
21331
|
-
createElementVNode("div", _hoisted_2$
|
|
21325
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
21332
21326
|
createVNode(_component_dk_icon, {
|
|
21333
21327
|
icon: "VideoPlay",
|
|
21334
21328
|
size: 24
|
|
21335
21329
|
}),
|
|
21336
21330
|
(!$props.videoPath)
|
|
21337
|
-
? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
21331
|
+
? (openBlock(), createElementBlock("p", _hoisted_3$h, "请选择或者上传您的视频!!!"))
|
|
21338
21332
|
: (openBlock(), createElementBlock("p", _hoisted_4$e, "当前不支持预览,请到实际页面查看!!!!"))
|
|
21339
21333
|
])
|
|
21340
21334
|
])
|
|
21341
21335
|
], 4 /* STYLE */))
|
|
21342
21336
|
}
|
|
21343
|
-
var DkMinVideo = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21337
|
+
var DkMinVideo = /*#__PURE__*/_export_sfc(_sfc_main$F, [['render',_sfc_render$n],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinVideo.vue"]]);
|
|
21344
21338
|
|
|
21345
|
-
const _sfc_main$
|
|
21339
|
+
const _sfc_main$E = {
|
|
21346
21340
|
name: 'DkMinSwiperImage',
|
|
21347
21341
|
props: {
|
|
21348
21342
|
value: {
|
|
@@ -21385,12 +21379,12 @@ const _sfc_main$C = {
|
|
|
21385
21379
|
methods: {},
|
|
21386
21380
|
};
|
|
21387
21381
|
|
|
21388
|
-
const _hoisted_1$
|
|
21382
|
+
const _hoisted_1$u = {
|
|
21389
21383
|
key: 0,
|
|
21390
21384
|
class: "swipe-title"
|
|
21391
21385
|
};
|
|
21392
21386
|
|
|
21393
|
-
function _sfc_render$
|
|
21387
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21394
21388
|
const _component_van_image = resolveComponent("van-image");
|
|
21395
21389
|
const _component_van_swipe_item = resolveComponent("van-swipe-item");
|
|
21396
21390
|
const _component_van_swipe = resolveComponent("van-swipe");
|
|
@@ -21411,7 +21405,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21411
21405
|
height: $props.height
|
|
21412
21406
|
}, null, 8 /* PROPS */, ["src", "height"]),
|
|
21413
21407
|
($props.showTitle)
|
|
21414
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21408
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$u, toDisplayString(item.title), 1 /* TEXT */))
|
|
21415
21409
|
: createCommentVNode("v-if", true)
|
|
21416
21410
|
]),
|
|
21417
21411
|
_: 2 /* DYNAMIC */
|
|
@@ -21421,9 +21415,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21421
21415
|
_: 1 /* STABLE */
|
|
21422
21416
|
}, 8 /* PROPS */, ["autoplay", "style"]))
|
|
21423
21417
|
}
|
|
21424
|
-
var DkMinSwiperImage = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21418
|
+
var DkMinSwiperImage = /*#__PURE__*/_export_sfc(_sfc_main$E, [['render',_sfc_render$m],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinSwiperImage.vue"]]);
|
|
21425
21419
|
|
|
21426
|
-
const _sfc_main$
|
|
21420
|
+
const _sfc_main$D = {
|
|
21427
21421
|
name: 'DkMinTitle',
|
|
21428
21422
|
props: {
|
|
21429
21423
|
type: { default: '0', type: String },
|
|
@@ -21445,14 +21439,14 @@ const _sfc_main$B = {
|
|
|
21445
21439
|
methods: {},
|
|
21446
21440
|
};
|
|
21447
21441
|
|
|
21448
|
-
const _hoisted_1$
|
|
21449
|
-
const _hoisted_2$
|
|
21442
|
+
const _hoisted_1$t = { class: "dk-min-title" };
|
|
21443
|
+
const _hoisted_2$n = {
|
|
21450
21444
|
key: 1,
|
|
21451
21445
|
style: {"display":"flex","align-items":"flex-end","justify-content":"space-between"}
|
|
21452
21446
|
};
|
|
21453
21447
|
|
|
21454
|
-
function _sfc_render$
|
|
21455
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21448
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21449
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
21456
21450
|
($props.type === '0')
|
|
21457
21451
|
? (openBlock(), createElementBlock("div", {
|
|
21458
21452
|
key: 0,
|
|
@@ -21460,7 +21454,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21460
21454
|
}, [
|
|
21461
21455
|
createElementVNode("span", null, toDisplayString($props.title), 1 /* TEXT */)
|
|
21462
21456
|
], 4 /* STYLE */))
|
|
21463
|
-
: (openBlock(), createElementBlock("div", _hoisted_2$
|
|
21457
|
+
: (openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
21464
21458
|
createElementVNode("div", null, [
|
|
21465
21459
|
createElementVNode("span", {
|
|
21466
21460
|
style: normalizeStyle({ color: $props.color })
|
|
@@ -21478,9 +21472,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21478
21472
|
]))
|
|
21479
21473
|
]))
|
|
21480
21474
|
}
|
|
21481
|
-
var DkMinTitle = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21475
|
+
var DkMinTitle = /*#__PURE__*/_export_sfc(_sfc_main$D, [['render',_sfc_render$l],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinTitle.vue"]]);
|
|
21482
21476
|
|
|
21483
|
-
const _sfc_main$
|
|
21477
|
+
const _sfc_main$C = {
|
|
21484
21478
|
name: 'DkMinBlank',
|
|
21485
21479
|
props: {
|
|
21486
21480
|
height: {
|
|
@@ -21496,14 +21490,14 @@ const _sfc_main$A = {
|
|
|
21496
21490
|
methods: {},
|
|
21497
21491
|
};
|
|
21498
21492
|
|
|
21499
|
-
function _sfc_render$
|
|
21493
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21500
21494
|
return (openBlock(), createElementBlock("div", {
|
|
21501
21495
|
style: normalizeStyle([{ height: $props.height + 'px' }, {"width":"100%"}])
|
|
21502
21496
|
}, null, 4 /* STYLE */))
|
|
21503
21497
|
}
|
|
21504
|
-
var DkMinBlank = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21498
|
+
var DkMinBlank = /*#__PURE__*/_export_sfc(_sfc_main$C, [['render',_sfc_render$k],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinBlank.vue"]]);
|
|
21505
21499
|
|
|
21506
|
-
const _sfc_main$
|
|
21500
|
+
const _sfc_main$B = {
|
|
21507
21501
|
name: 'DkMinTextarea',
|
|
21508
21502
|
props: {
|
|
21509
21503
|
textarea: {
|
|
@@ -21519,14 +21513,14 @@ const _sfc_main$z = {
|
|
|
21519
21513
|
methods: {},
|
|
21520
21514
|
};
|
|
21521
21515
|
|
|
21522
|
-
const _hoisted_1$
|
|
21516
|
+
const _hoisted_1$s = ["innerHTML"];
|
|
21523
21517
|
|
|
21524
|
-
function _sfc_render$
|
|
21525
|
-
return (openBlock(), createElementBlock("div", { innerHTML: $props.textarea }, null, 8 /* PROPS */, _hoisted_1$
|
|
21518
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21519
|
+
return (openBlock(), createElementBlock("div", { innerHTML: $props.textarea }, null, 8 /* PROPS */, _hoisted_1$s))
|
|
21526
21520
|
}
|
|
21527
|
-
var DkMinTextarea = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21521
|
+
var DkMinTextarea = /*#__PURE__*/_export_sfc(_sfc_main$B, [['render',_sfc_render$j],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinTextarea.vue"]]);
|
|
21528
21522
|
|
|
21529
|
-
const _sfc_main$
|
|
21523
|
+
const _sfc_main$A = {
|
|
21530
21524
|
name: 'DkMinHotArea',
|
|
21531
21525
|
props: {
|
|
21532
21526
|
hotData: {
|
|
@@ -21611,23 +21605,23 @@ const _sfc_main$y = {
|
|
|
21611
21605
|
},
|
|
21612
21606
|
};
|
|
21613
21607
|
|
|
21614
|
-
const _hoisted_1$
|
|
21608
|
+
const _hoisted_1$r = {
|
|
21615
21609
|
ref: "el",
|
|
21616
21610
|
class: "dk-min-area"
|
|
21617
21611
|
};
|
|
21618
|
-
const _hoisted_2$
|
|
21612
|
+
const _hoisted_2$m = ["src"];
|
|
21619
21613
|
|
|
21620
|
-
function _sfc_render$
|
|
21614
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21621
21615
|
const _component_el_empty = resolveComponent("el-empty");
|
|
21622
21616
|
|
|
21623
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21617
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
21624
21618
|
($props.hotData.background)
|
|
21625
21619
|
? (openBlock(), createElementBlock("img", {
|
|
21626
21620
|
key: 0,
|
|
21627
21621
|
src: $props.hotData.background,
|
|
21628
21622
|
alt: "",
|
|
21629
21623
|
style: {"width":"100%"}
|
|
21630
|
-
}, null, 8 /* PROPS */, _hoisted_2$
|
|
21624
|
+
}, null, 8 /* PROPS */, _hoisted_2$m))
|
|
21631
21625
|
: (openBlock(), createBlock(_component_el_empty, {
|
|
21632
21626
|
key: 1,
|
|
21633
21627
|
description: "请上传背景图"
|
|
@@ -21646,7 +21640,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21646
21640
|
}), 128 /* KEYED_FRAGMENT */))
|
|
21647
21641
|
], 512 /* NEED_PATCH */))
|
|
21648
21642
|
}
|
|
21649
|
-
var DkMinHotArea = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21643
|
+
var DkMinHotArea = /*#__PURE__*/_export_sfc(_sfc_main$A, [['render',_sfc_render$i],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinHotArea.vue"]]);
|
|
21650
21644
|
|
|
21651
21645
|
const views$1 = {
|
|
21652
21646
|
DkMinVideo,
|
|
@@ -21657,7 +21651,7 @@ const views$1 = {
|
|
|
21657
21651
|
DkMinHotArea
|
|
21658
21652
|
};
|
|
21659
21653
|
|
|
21660
|
-
const _sfc_main$
|
|
21654
|
+
const _sfc_main$z = {
|
|
21661
21655
|
name: 'DkViewBulletChat',
|
|
21662
21656
|
props: {
|
|
21663
21657
|
bgColor: { default: '', type: String },
|
|
@@ -21680,9 +21674,9 @@ const _sfc_main$x = {
|
|
|
21680
21674
|
methods: {},
|
|
21681
21675
|
};
|
|
21682
21676
|
|
|
21683
|
-
const _hoisted_1$
|
|
21684
|
-
const _hoisted_2$
|
|
21685
|
-
const _hoisted_3$
|
|
21677
|
+
const _hoisted_1$q = { class: "bullet-content" };
|
|
21678
|
+
const _hoisted_2$l = ["src"];
|
|
21679
|
+
const _hoisted_3$g = { class: "over" };
|
|
21686
21680
|
const _hoisted_4$d = /*#__PURE__*/createElementVNode("div", { class: "bullet-content" }, [
|
|
21687
21681
|
/*#__PURE__*/createElementVNode("span", { class: "over" }, "当前数据由事件传入")
|
|
21688
21682
|
], -1 /* HOISTED */);
|
|
@@ -21690,7 +21684,7 @@ const _hoisted_5$9 = [
|
|
|
21690
21684
|
_hoisted_4$d
|
|
21691
21685
|
];
|
|
21692
21686
|
|
|
21693
|
-
function _sfc_render$
|
|
21687
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21694
21688
|
const _component_van_swipe_item = resolveComponent("van-swipe-item");
|
|
21695
21689
|
const _component_van_swipe = resolveComponent("van-swipe");
|
|
21696
21690
|
|
|
@@ -21707,15 +21701,15 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21707
21701
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.bulletData, (item, key) => {
|
|
21708
21702
|
return (openBlock(), createBlock(_component_van_swipe_item, { key: key }, {
|
|
21709
21703
|
default: withCtx(() => [
|
|
21710
|
-
createElementVNode("div", _hoisted_1$
|
|
21704
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
21711
21705
|
(item.avatar)
|
|
21712
21706
|
? (openBlock(), createElementBlock("img", {
|
|
21713
21707
|
key: 0,
|
|
21714
21708
|
src: item.avatar,
|
|
21715
21709
|
alt: ""
|
|
21716
|
-
}, null, 8 /* PROPS */, _hoisted_2$
|
|
21710
|
+
}, null, 8 /* PROPS */, _hoisted_2$l))
|
|
21717
21711
|
: createCommentVNode("v-if", true),
|
|
21718
|
-
createElementVNode("span", _hoisted_3$
|
|
21712
|
+
createElementVNode("span", _hoisted_3$g, toDisplayString(item.text), 1 /* TEXT */)
|
|
21719
21713
|
])
|
|
21720
21714
|
]),
|
|
21721
21715
|
_: 2 /* DYNAMIC */
|
|
@@ -21730,9 +21724,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21730
21724
|
style: normalizeStyle([{"display":"flex"}, { background: $props.bgColor, color: $props.textColor }])
|
|
21731
21725
|
}, _hoisted_5$9, 4 /* STYLE */))
|
|
21732
21726
|
}
|
|
21733
|
-
var DkViewBulletChat = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21727
|
+
var DkViewBulletChat = /*#__PURE__*/_export_sfc(_sfc_main$z, [['render',_sfc_render$h],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewBulletChat.vue"]]);
|
|
21734
21728
|
|
|
21735
|
-
const _sfc_main$
|
|
21729
|
+
const _sfc_main$y = {
|
|
21736
21730
|
name: 'DkViewCell',
|
|
21737
21731
|
props: {
|
|
21738
21732
|
groups: {
|
|
@@ -21750,7 +21744,7 @@ const _sfc_main$w = {
|
|
|
21750
21744
|
methods: {},
|
|
21751
21745
|
};
|
|
21752
21746
|
|
|
21753
|
-
function _sfc_render$
|
|
21747
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21754
21748
|
const _component_van_cell = resolveComponent("van-cell");
|
|
21755
21749
|
const _component_van_cell_group = resolveComponent("van-cell-group");
|
|
21756
21750
|
|
|
@@ -21767,9 +21761,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21767
21761
|
_: 1 /* STABLE */
|
|
21768
21762
|
}))
|
|
21769
21763
|
}
|
|
21770
|
-
var DkViewCell = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21764
|
+
var DkViewCell = /*#__PURE__*/_export_sfc(_sfc_main$y, [['render',_sfc_render$g],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewCell.vue"]]);
|
|
21771
21765
|
|
|
21772
|
-
const _sfc_main$
|
|
21766
|
+
const _sfc_main$x = {
|
|
21773
21767
|
name: 'DkViewCommonBtn',
|
|
21774
21768
|
props: {
|
|
21775
21769
|
posterData: {
|
|
@@ -21839,12 +21833,12 @@ const _sfc_main$v = {
|
|
|
21839
21833
|
methods: {},
|
|
21840
21834
|
};
|
|
21841
21835
|
|
|
21842
|
-
const _hoisted_1$
|
|
21843
|
-
const _hoisted_2$
|
|
21836
|
+
const _hoisted_1$p = { class: "dk-view-common-btn" };
|
|
21837
|
+
const _hoisted_2$k = {
|
|
21844
21838
|
key: 0,
|
|
21845
21839
|
class: "btn"
|
|
21846
21840
|
};
|
|
21847
|
-
const _hoisted_3$
|
|
21841
|
+
const _hoisted_3$f = {
|
|
21848
21842
|
key: 1,
|
|
21849
21843
|
class: "f-btn"
|
|
21850
21844
|
};
|
|
@@ -21854,13 +21848,13 @@ const _hoisted_4$c = {
|
|
|
21854
21848
|
};
|
|
21855
21849
|
const _hoisted_5$8 = ["src", "width"];
|
|
21856
21850
|
|
|
21857
|
-
function _sfc_render$
|
|
21851
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21858
21852
|
const _component_van_button = resolveComponent("van-button");
|
|
21859
21853
|
const _component_van_icon = resolveComponent("van-icon");
|
|
21860
21854
|
|
|
21861
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21855
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
21862
21856
|
($props.type === 'btn')
|
|
21863
|
-
? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
21857
|
+
? (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
21864
21858
|
createVNode(_component_van_button, {
|
|
21865
21859
|
type: "primary",
|
|
21866
21860
|
block: $props.block,
|
|
@@ -21875,7 +21869,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21875
21869
|
_: 1 /* STABLE */
|
|
21876
21870
|
}, 8 /* PROPS */, ["block", "round", "size", "color", "icon"])
|
|
21877
21871
|
]))
|
|
21878
|
-
: (openBlock(), createElementBlock("div", _hoisted_3$
|
|
21872
|
+
: (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
21879
21873
|
($props.img)
|
|
21880
21874
|
? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
21881
21875
|
createElementVNode("img", {
|
|
@@ -21900,12 +21894,13 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21900
21894
|
]))
|
|
21901
21895
|
]))
|
|
21902
21896
|
}
|
|
21903
|
-
var DkViewCommonBtn = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21897
|
+
var DkViewCommonBtn = /*#__PURE__*/_export_sfc(_sfc_main$x, [['render',_sfc_render$f],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewCommonBtn.vue"]]);
|
|
21904
21898
|
|
|
21905
|
-
const _sfc_main$
|
|
21899
|
+
const _sfc_main$w = {
|
|
21906
21900
|
name: 'DkViewDialog',
|
|
21907
21901
|
props: {
|
|
21908
21902
|
title: { default: '标题', type: String },
|
|
21903
|
+
listen: { default: '', type: String },
|
|
21909
21904
|
show: { default: false, type: Boolean },
|
|
21910
21905
|
content: { default: '', type: String },
|
|
21911
21906
|
confirmText: { default: '确定', type: String },
|
|
@@ -21935,15 +21930,16 @@ const _sfc_main$u = {
|
|
|
21935
21930
|
},
|
|
21936
21931
|
};
|
|
21937
21932
|
|
|
21938
|
-
const _hoisted_1$
|
|
21939
|
-
const _hoisted_2$
|
|
21940
|
-
const _hoisted_3$
|
|
21933
|
+
const _hoisted_1$o = { class: "dk-view-dialog" };
|
|
21934
|
+
const _hoisted_2$j = /*#__PURE__*/createElementVNode("div", { class: "preview" }, "点击预览可以查看弹窗效果", -1 /* HOISTED */);
|
|
21935
|
+
const _hoisted_3$e = ["innerHTML"];
|
|
21941
21936
|
|
|
21942
|
-
function _sfc_render$
|
|
21937
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21943
21938
|
const _component_van_dialog = resolveComponent("van-dialog");
|
|
21944
21939
|
|
|
21945
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21946
|
-
_hoisted_2$
|
|
21940
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
21941
|
+
_hoisted_2$j,
|
|
21942
|
+
createTextVNode(" " + toDisplayString(_ctx.$props) + " ", 1 /* TEXT */),
|
|
21947
21943
|
($data.showDialog)
|
|
21948
21944
|
? (openBlock(), createBlock(_component_van_dialog, {
|
|
21949
21945
|
key: 0,
|
|
@@ -21958,16 +21954,16 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21958
21954
|
createElementVNode("div", {
|
|
21959
21955
|
style: {"padding":"10px"},
|
|
21960
21956
|
innerHTML: $props.content
|
|
21961
|
-
}, null, 8 /* PROPS */, _hoisted_3$
|
|
21957
|
+
}, null, 8 /* PROPS */, _hoisted_3$e)
|
|
21962
21958
|
]),
|
|
21963
21959
|
_: 1 /* STABLE */
|
|
21964
21960
|
}, 8 /* PROPS */, ["show", "title"]))
|
|
21965
21961
|
: createCommentVNode("v-if", true)
|
|
21966
21962
|
]))
|
|
21967
21963
|
}
|
|
21968
|
-
var DkViewDialog = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
21964
|
+
var DkViewDialog = /*#__PURE__*/_export_sfc(_sfc_main$w, [['render',_sfc_render$e],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewDialog.vue"]]);
|
|
21969
21965
|
|
|
21970
|
-
const _sfc_main$
|
|
21966
|
+
const _sfc_main$v = {
|
|
21971
21967
|
name: 'DkViewGridCellList',
|
|
21972
21968
|
props: {
|
|
21973
21969
|
value: {
|
|
@@ -22045,18 +22041,18 @@ const _sfc_main$t = {
|
|
|
22045
22041
|
methods: {},
|
|
22046
22042
|
};
|
|
22047
22043
|
|
|
22048
|
-
const _hoisted_1$
|
|
22044
|
+
const _hoisted_1$n = {
|
|
22049
22045
|
key: 0,
|
|
22050
22046
|
class: "cell"
|
|
22051
22047
|
};
|
|
22052
|
-
const _hoisted_2$
|
|
22053
|
-
const _hoisted_3$
|
|
22048
|
+
const _hoisted_2$i = ["src", "alt", "width", "height"];
|
|
22049
|
+
const _hoisted_3$d = {
|
|
22054
22050
|
key: 1,
|
|
22055
22051
|
class: "grid"
|
|
22056
22052
|
};
|
|
22057
22053
|
const _hoisted_4$b = ["src", "width", "height", "alt"];
|
|
22058
22054
|
|
|
22059
|
-
function _sfc_render$
|
|
22055
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22060
22056
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
22061
22057
|
const _component_van_cell = resolveComponent("van-cell");
|
|
22062
22058
|
const _component_van_cell_group = resolveComponent("van-cell-group");
|
|
@@ -22064,7 +22060,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22064
22060
|
const _component_van_grid = resolveComponent("van-grid");
|
|
22065
22061
|
|
|
22066
22062
|
return ($props.type === 'cell')
|
|
22067
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22063
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
22068
22064
|
createVNode(_component_van_cell_group, null, {
|
|
22069
22065
|
default: withCtx(() => [
|
|
22070
22066
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.gridCellList, (item, key) => {
|
|
@@ -22083,7 +22079,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22083
22079
|
borderRadius: $props.imgRadius + 'px',
|
|
22084
22080
|
marginRight: $props.imgTextGutter + 'px',
|
|
22085
22081
|
})
|
|
22086
|
-
}, null, 12 /* STYLE, PROPS */, _hoisted_2$
|
|
22082
|
+
}, null, 12 /* STYLE, PROPS */, _hoisted_2$i)
|
|
22087
22083
|
]),
|
|
22088
22084
|
title: withCtx(() => [
|
|
22089
22085
|
createElementVNode("span", {
|
|
@@ -22104,7 +22100,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22104
22100
|
_: 1 /* STABLE */
|
|
22105
22101
|
})
|
|
22106
22102
|
]))
|
|
22107
|
-
: (openBlock(), createElementBlock("div", _hoisted_3$
|
|
22103
|
+
: (openBlock(), createElementBlock("div", _hoisted_3$d, [
|
|
22108
22104
|
createVNode(_component_van_grid, {
|
|
22109
22105
|
square: $props.square,
|
|
22110
22106
|
direction: $props.direction,
|
|
@@ -22145,9 +22141,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22145
22141
|
}, 8 /* PROPS */, ["square", "direction", "gutter", "clickable", "border", "column-num"])
|
|
22146
22142
|
]))
|
|
22147
22143
|
}
|
|
22148
|
-
var DkViewGridCellList = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22144
|
+
var DkViewGridCellList = /*#__PURE__*/_export_sfc(_sfc_main$v, [['render',_sfc_render$d],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewGridCellList.vue"]]);
|
|
22149
22145
|
|
|
22150
|
-
const _sfc_main$
|
|
22146
|
+
const _sfc_main$u = {
|
|
22151
22147
|
name: 'DkViewImage',
|
|
22152
22148
|
props: {
|
|
22153
22149
|
value: { default: '', type: String },
|
|
@@ -22184,9 +22180,9 @@ const _sfc_main$s = {
|
|
|
22184
22180
|
methods: {},
|
|
22185
22181
|
};
|
|
22186
22182
|
|
|
22187
|
-
const _hoisted_1$
|
|
22183
|
+
const _hoisted_1$m = { key: 0 };
|
|
22188
22184
|
|
|
22189
|
-
function _sfc_render$
|
|
22185
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22190
22186
|
const _component_van_image = resolveComponent("van-image");
|
|
22191
22187
|
const _component_el_empty = resolveComponent("el-empty");
|
|
22192
22188
|
|
|
@@ -22215,15 +22211,15 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22215
22211
|
], 4 /* STYLE */))
|
|
22216
22212
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
22217
22213
|
($props.imageList.length <= 0)
|
|
22218
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22214
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
22219
22215
|
createVNode(_component_el_empty, { description: "请添加图片数据" })
|
|
22220
22216
|
]))
|
|
22221
22217
|
: createCommentVNode("v-if", true)
|
|
22222
22218
|
], 2 /* CLASS */))
|
|
22223
22219
|
}
|
|
22224
|
-
var DkViewImage = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22220
|
+
var DkViewImage = /*#__PURE__*/_export_sfc(_sfc_main$u, [['render',_sfc_render$c],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewImage.vue"]]);
|
|
22225
22221
|
|
|
22226
|
-
const _sfc_main$
|
|
22222
|
+
const _sfc_main$t = {
|
|
22227
22223
|
name: 'DkViewMusic',
|
|
22228
22224
|
props: {
|
|
22229
22225
|
musicPath: { default: '', type: String },
|
|
@@ -22255,23 +22251,23 @@ const _sfc_main$r = {
|
|
|
22255
22251
|
methods: {},
|
|
22256
22252
|
};
|
|
22257
22253
|
|
|
22258
|
-
const _hoisted_1$
|
|
22259
|
-
const _hoisted_2$
|
|
22260
|
-
const _hoisted_3$
|
|
22254
|
+
const _hoisted_1$l = { class: "dk-view-music" };
|
|
22255
|
+
const _hoisted_2$h = { key: 0 };
|
|
22256
|
+
const _hoisted_3$c = ["src"];
|
|
22261
22257
|
|
|
22262
|
-
function _sfc_render$
|
|
22258
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22263
22259
|
const _component_van_icon = resolveComponent("van-icon");
|
|
22264
22260
|
|
|
22265
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22261
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
22266
22262
|
($props.iconType === 'image')
|
|
22267
|
-
? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
22263
|
+
? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
22268
22264
|
createElementVNode("img", {
|
|
22269
22265
|
src: $props.imgUrl,
|
|
22270
22266
|
width: "100%",
|
|
22271
22267
|
style: normalizeStyle($options._style),
|
|
22272
22268
|
class: normalizeClass([$props.rotation, "dk-music-img"]),
|
|
22273
22269
|
alt: ""
|
|
22274
|
-
}, null, 14 /* CLASS, STYLE, PROPS */, _hoisted_3$
|
|
22270
|
+
}, null, 14 /* CLASS, STYLE, PROPS */, _hoisted_3$c)
|
|
22275
22271
|
]))
|
|
22276
22272
|
: (openBlock(), createBlock(_component_van_icon, {
|
|
22277
22273
|
key: 1,
|
|
@@ -22281,10 +22277,10 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22281
22277
|
}, null, 8 /* PROPS */, ["class", "style"]))
|
|
22282
22278
|
]))
|
|
22283
22279
|
}
|
|
22284
|
-
var DkViewMusic = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22280
|
+
var DkViewMusic = /*#__PURE__*/_export_sfc(_sfc_main$t, [['render',_sfc_render$b],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewMusic.vue"]]);
|
|
22285
22281
|
|
|
22286
22282
|
// TODO 可以后期增加配置背景色等参数
|
|
22287
|
-
const _sfc_main$
|
|
22283
|
+
const _sfc_main$s = {
|
|
22288
22284
|
name: 'DkViewNavBar',
|
|
22289
22285
|
props: {
|
|
22290
22286
|
title: {
|
|
@@ -22324,7 +22320,7 @@ const _sfc_main$q = {
|
|
|
22324
22320
|
methods: {},
|
|
22325
22321
|
};
|
|
22326
22322
|
|
|
22327
|
-
function _sfc_render$
|
|
22323
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22328
22324
|
const _component_van_nav_bar = resolveComponent("van-nav-bar");
|
|
22329
22325
|
|
|
22330
22326
|
return (openBlock(), createElementBlock("div", null, [
|
|
@@ -22337,9 +22333,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22337
22333
|
}, null, 8 /* PROPS */, ["title", "left-text", "right-text", "left-arrow", "border"])
|
|
22338
22334
|
]))
|
|
22339
22335
|
}
|
|
22340
|
-
var DkViewNavBar = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22336
|
+
var DkViewNavBar = /*#__PURE__*/_export_sfc(_sfc_main$s, [['render',_sfc_render$a],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewNavBar.vue"]]);
|
|
22341
22337
|
|
|
22342
|
-
const _sfc_main$
|
|
22338
|
+
const _sfc_main$r = {
|
|
22343
22339
|
name: 'DkViewNoticeBar',
|
|
22344
22340
|
props: {
|
|
22345
22341
|
leftIcon: { default: '', type: String },
|
|
@@ -22357,7 +22353,7 @@ const _sfc_main$p = {
|
|
|
22357
22353
|
methods: {},
|
|
22358
22354
|
};
|
|
22359
22355
|
|
|
22360
|
-
function _sfc_render$
|
|
22356
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22361
22357
|
const _component_van_notice_bar = resolveComponent("van-notice-bar");
|
|
22362
22358
|
|
|
22363
22359
|
return (openBlock(), createElementBlock("div", null, [
|
|
@@ -22370,9 +22366,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22370
22366
|
}, null, 8 /* PROPS */, ["speed", "left-icon", "text", "color", "background"])
|
|
22371
22367
|
]))
|
|
22372
22368
|
}
|
|
22373
|
-
var DkViewNoticeBar = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22369
|
+
var DkViewNoticeBar = /*#__PURE__*/_export_sfc(_sfc_main$r, [['render',_sfc_render$9],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewNoticeBar.vue"]]);
|
|
22374
22370
|
|
|
22375
|
-
const _sfc_main$
|
|
22371
|
+
const _sfc_main$q = {
|
|
22376
22372
|
name: 'DkViewSwipe',
|
|
22377
22373
|
props: {
|
|
22378
22374
|
value: {
|
|
@@ -22411,7 +22407,7 @@ const _sfc_main$o = {
|
|
|
22411
22407
|
methods: {},
|
|
22412
22408
|
};
|
|
22413
22409
|
|
|
22414
|
-
function _sfc_render$
|
|
22410
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22415
22411
|
const _component_van_image = resolveComponent("van-image");
|
|
22416
22412
|
const _component_van_swipe_item = resolveComponent("van-swipe-item");
|
|
22417
22413
|
const _component_van_swipe = resolveComponent("van-swipe");
|
|
@@ -22440,9 +22436,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22440
22436
|
_: 1 /* STABLE */
|
|
22441
22437
|
}, 8 /* PROPS */, ["autoplay", "style"]))
|
|
22442
22438
|
}
|
|
22443
|
-
var DkViewSwipe = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22439
|
+
var DkViewSwipe = /*#__PURE__*/_export_sfc(_sfc_main$q, [['render',_sfc_render$8],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewSwipe.vue"]]);
|
|
22444
22440
|
|
|
22445
|
-
const _sfc_main$
|
|
22441
|
+
const _sfc_main$p = {
|
|
22446
22442
|
name: 'DkViewTabbar',
|
|
22447
22443
|
props: {
|
|
22448
22444
|
tabBars: {
|
|
@@ -22471,14 +22467,14 @@ const _sfc_main$n = {
|
|
|
22471
22467
|
methods: {},
|
|
22472
22468
|
};
|
|
22473
22469
|
|
|
22474
|
-
const _hoisted_1$
|
|
22475
|
-
const _hoisted_2$
|
|
22470
|
+
const _hoisted_1$k = { class: "dk-view-tabbar" };
|
|
22471
|
+
const _hoisted_2$g = ["src"];
|
|
22476
22472
|
|
|
22477
|
-
function _sfc_render$
|
|
22473
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22478
22474
|
const _component_van_tabbar_item = resolveComponent("van-tabbar-item");
|
|
22479
22475
|
const _component_van_tabbar = resolveComponent("van-tabbar");
|
|
22480
22476
|
|
|
22481
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22477
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
22482
22478
|
createVNode(_component_van_tabbar, {
|
|
22483
22479
|
modelValue: $data.tmpActive,
|
|
22484
22480
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($data.tmpActive) = $event)),
|
|
@@ -22507,7 +22503,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22507
22503
|
createElementVNode("img", {
|
|
22508
22504
|
src: item.imgIcon,
|
|
22509
22505
|
alt: ""
|
|
22510
|
-
}, null, 8 /* PROPS */, _hoisted_2$
|
|
22506
|
+
}, null, 8 /* PROPS */, _hoisted_2$g)
|
|
22511
22507
|
]),
|
|
22512
22508
|
key: "0"
|
|
22513
22509
|
}
|
|
@@ -22519,9 +22515,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22519
22515
|
}, 8 /* PROPS */, ["modelValue", "active-color", "inactive-color", "style"])
|
|
22520
22516
|
]))
|
|
22521
22517
|
}
|
|
22522
|
-
var DkViewTabbar = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22518
|
+
var DkViewTabbar = /*#__PURE__*/_export_sfc(_sfc_main$p, [['render',_sfc_render$7],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTabbar.vue"]]);
|
|
22523
22519
|
|
|
22524
|
-
const _sfc_main$
|
|
22520
|
+
const _sfc_main$o = {
|
|
22525
22521
|
name: 'DkViewTextarea',
|
|
22526
22522
|
props: {
|
|
22527
22523
|
textarea: {
|
|
@@ -22537,14 +22533,14 @@ const _sfc_main$m = {
|
|
|
22537
22533
|
methods: {},
|
|
22538
22534
|
};
|
|
22539
22535
|
|
|
22540
|
-
const _hoisted_1$
|
|
22536
|
+
const _hoisted_1$j = ["innerHTML"];
|
|
22541
22537
|
|
|
22542
|
-
function _sfc_render$
|
|
22543
|
-
return (openBlock(), createElementBlock("div", { innerHTML: $props.textarea }, null, 8 /* PROPS */, _hoisted_1$
|
|
22538
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22539
|
+
return (openBlock(), createElementBlock("div", { innerHTML: $props.textarea }, null, 8 /* PROPS */, _hoisted_1$j))
|
|
22544
22540
|
}
|
|
22545
|
-
var DkViewTextarea = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22541
|
+
var DkViewTextarea = /*#__PURE__*/_export_sfc(_sfc_main$o, [['render',_sfc_render$6],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTextarea.vue"]]);
|
|
22546
22542
|
|
|
22547
|
-
const _sfc_main$
|
|
22543
|
+
const _sfc_main$n = {
|
|
22548
22544
|
name: 'DkViewTitle',
|
|
22549
22545
|
props: {
|
|
22550
22546
|
title: { default: '标题', type: String },
|
|
@@ -22574,15 +22570,15 @@ const _sfc_main$l = {
|
|
|
22574
22570
|
methods: {},
|
|
22575
22571
|
};
|
|
22576
22572
|
|
|
22577
|
-
const _hoisted_1$
|
|
22578
|
-
const _hoisted_2$
|
|
22573
|
+
const _hoisted_1$i = { class: "dk-view-title" };
|
|
22574
|
+
const _hoisted_2$f = { class: "title-left" };
|
|
22579
22575
|
|
|
22580
|
-
function _sfc_render$
|
|
22576
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22581
22577
|
const _component_van_icon = resolveComponent("van-icon");
|
|
22582
22578
|
const _component_van_image = resolveComponent("van-image");
|
|
22583
22579
|
|
|
22584
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22585
|
-
createElementVNode("div", _hoisted_2$
|
|
22580
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
22581
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
22586
22582
|
($props.prefix === 'icon')
|
|
22587
22583
|
? (openBlock(), createBlock(_component_van_icon, {
|
|
22588
22584
|
key: 0,
|
|
@@ -22627,9 +22623,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22627
22623
|
: createCommentVNode("v-if", true)
|
|
22628
22624
|
]))
|
|
22629
22625
|
}
|
|
22630
|
-
var DkViewTitle = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22626
|
+
var DkViewTitle = /*#__PURE__*/_export_sfc(_sfc_main$n, [['render',_sfc_render$5],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTitle.vue"]]);
|
|
22631
22627
|
|
|
22632
|
-
const _sfc_main$
|
|
22628
|
+
const _sfc_main$m = {
|
|
22633
22629
|
name: 'DkViewVideo',
|
|
22634
22630
|
props: {
|
|
22635
22631
|
poster: {
|
|
@@ -22671,15 +22667,15 @@ const _sfc_main$k = {
|
|
|
22671
22667
|
methods: {},
|
|
22672
22668
|
};
|
|
22673
22669
|
|
|
22674
|
-
const _hoisted_1$
|
|
22670
|
+
const _hoisted_1$h = {
|
|
22675
22671
|
style: {"position":"relative"},
|
|
22676
22672
|
class: "dk-video-content"
|
|
22677
22673
|
};
|
|
22678
|
-
const _hoisted_2$
|
|
22679
|
-
const _hoisted_3$
|
|
22674
|
+
const _hoisted_2$e = { class: "video-preview" };
|
|
22675
|
+
const _hoisted_3$b = { key: 0 };
|
|
22680
22676
|
const _hoisted_4$a = { key: 1 };
|
|
22681
22677
|
|
|
22682
|
-
function _sfc_render$
|
|
22678
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22683
22679
|
const _component_el_image = resolveComponent("el-image");
|
|
22684
22680
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
22685
22681
|
|
|
@@ -22687,7 +22683,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22687
22683
|
class: "dk-view-video",
|
|
22688
22684
|
style: normalizeStyle($options._style)
|
|
22689
22685
|
}, [
|
|
22690
|
-
createElementVNode("div", _hoisted_1$
|
|
22686
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
22691
22687
|
($props.poster)
|
|
22692
22688
|
? (openBlock(), createBlock(_component_el_image, {
|
|
22693
22689
|
key: 0,
|
|
@@ -22696,19 +22692,19 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22696
22692
|
class: "poster"
|
|
22697
22693
|
}, null, 8 /* PROPS */, ["src"]))
|
|
22698
22694
|
: createCommentVNode("v-if", true),
|
|
22699
|
-
createElementVNode("div", _hoisted_2$
|
|
22695
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
22700
22696
|
createVNode(_component_dk_icon, {
|
|
22701
22697
|
icon: "VideoPlay",
|
|
22702
22698
|
size: 24
|
|
22703
22699
|
}),
|
|
22704
22700
|
(!$props.videoPath)
|
|
22705
|
-
? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
22701
|
+
? (openBlock(), createElementBlock("p", _hoisted_3$b, "请选择或者上传您的视频"))
|
|
22706
22702
|
: (openBlock(), createElementBlock("p", _hoisted_4$a, "当前不支持预览,请到实际页面查看"))
|
|
22707
22703
|
])
|
|
22708
22704
|
])
|
|
22709
22705
|
], 4 /* STYLE */))
|
|
22710
22706
|
}
|
|
22711
|
-
var DkViewVideo = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
22707
|
+
var DkViewVideo = /*#__PURE__*/_export_sfc(_sfc_main$m, [['render',_sfc_render$4],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewVideo.vue"]]);
|
|
22712
22708
|
|
|
22713
22709
|
const views = {
|
|
22714
22710
|
DkViewBulletChat,
|
|
@@ -22773,7 +22769,7 @@ function delDiy(id) {
|
|
|
22773
22769
|
});
|
|
22774
22770
|
}
|
|
22775
22771
|
|
|
22776
|
-
const _sfc_main$
|
|
22772
|
+
const _sfc_main$l = {
|
|
22777
22773
|
name: 'DiyCloud',
|
|
22778
22774
|
props: {
|
|
22779
22775
|
pageName: {
|
|
@@ -22897,9 +22893,9 @@ const _sfc_main$j = {
|
|
|
22897
22893
|
},
|
|
22898
22894
|
};
|
|
22899
22895
|
|
|
22900
|
-
const _hoisted_1$
|
|
22901
|
-
const _hoisted_2$
|
|
22902
|
-
const _hoisted_3$
|
|
22896
|
+
const _hoisted_1$g = { class: "diy-cloud" };
|
|
22897
|
+
const _hoisted_2$d = { class: "diy-header" };
|
|
22898
|
+
const _hoisted_3$a = { class: "diy-search" };
|
|
22903
22899
|
const _hoisted_4$9 = { class: "diy-content" };
|
|
22904
22900
|
const _hoisted_5$7 = {
|
|
22905
22901
|
key: 0,
|
|
@@ -22930,7 +22926,7 @@ const _hoisted_13$2 = {
|
|
|
22930
22926
|
};
|
|
22931
22927
|
const _hoisted_14$2 = { class: "diy-footer" };
|
|
22932
22928
|
|
|
22933
|
-
function _sfc_render$
|
|
22929
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22934
22930
|
const _component_el_option = resolveComponent("el-option");
|
|
22935
22931
|
const _component_el_select = resolveComponent("el-select");
|
|
22936
22932
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -22943,9 +22939,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22943
22939
|
const _component_dk_form = resolveComponent("dk-form");
|
|
22944
22940
|
const _directive_loading = resolveDirective("loading");
|
|
22945
22941
|
|
|
22946
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22947
|
-
createElementVNode("div", _hoisted_2$
|
|
22948
|
-
createElementVNode("div", _hoisted_3$
|
|
22942
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
22943
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
22944
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
22949
22945
|
createVNode(_component_el_select, {
|
|
22950
22946
|
modelValue: $data.search.state,
|
|
22951
22947
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($data.search.state) = $event)),
|
|
@@ -23178,7 +23174,56 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23178
23174
|
}, null, 8 /* PROPS */, ["form-data", "onSubmit"])
|
|
23179
23175
|
]))
|
|
23180
23176
|
}
|
|
23181
|
-
var DiyCloud = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
23177
|
+
var DiyCloud = /*#__PURE__*/_export_sfc(_sfc_main$l, [['render',_sfc_render$3],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DiyCloud.vue"]]);
|
|
23178
|
+
|
|
23179
|
+
class EventData {
|
|
23180
|
+
events = [];
|
|
23181
|
+
constructor() {
|
|
23182
|
+
}
|
|
23183
|
+
// 添加单个事件数据
|
|
23184
|
+
addEvent(data) {
|
|
23185
|
+
this.events.push({
|
|
23186
|
+
id: data.id,
|
|
23187
|
+
label: data.label,
|
|
23188
|
+
value: data.value
|
|
23189
|
+
});
|
|
23190
|
+
}
|
|
23191
|
+
// 批量添加事件数据
|
|
23192
|
+
addEvents(dataList) {
|
|
23193
|
+
this.events.push(
|
|
23194
|
+
...dataList.map((data) => ({
|
|
23195
|
+
id: data.id,
|
|
23196
|
+
label: data.label,
|
|
23197
|
+
value: data.value
|
|
23198
|
+
}))
|
|
23199
|
+
);
|
|
23200
|
+
}
|
|
23201
|
+
// 获取所有事件数据
|
|
23202
|
+
getAllEvents() {
|
|
23203
|
+
return this.events;
|
|
23204
|
+
}
|
|
23205
|
+
// 根据id获取事件数据
|
|
23206
|
+
getEventById(id) {
|
|
23207
|
+
return this.events.find((event) => event.id === id);
|
|
23208
|
+
}
|
|
23209
|
+
// 删除指定id的事件数据
|
|
23210
|
+
removeEventById(id) {
|
|
23211
|
+
const index = this.events.findIndex((event) => event.id === id);
|
|
23212
|
+
if (index !== -1) {
|
|
23213
|
+
this.events.splice(index, 1);
|
|
23214
|
+
}
|
|
23215
|
+
}
|
|
23216
|
+
// 删除指定id的事件数据
|
|
23217
|
+
removeEventByLabel(label) {
|
|
23218
|
+
const index = this.events.findIndex((event) => event.label === label);
|
|
23219
|
+
if (index !== -1) {
|
|
23220
|
+
this.events.splice(index, 1);
|
|
23221
|
+
}
|
|
23222
|
+
}
|
|
23223
|
+
removeAllEvent() {
|
|
23224
|
+
this.events = [];
|
|
23225
|
+
}
|
|
23226
|
+
}
|
|
23182
23227
|
|
|
23183
23228
|
designerForm.register({
|
|
23184
23229
|
name: 'help',
|
|
@@ -23195,7 +23240,7 @@ designerForm.register({
|
|
|
23195
23240
|
},
|
|
23196
23241
|
});
|
|
23197
23242
|
|
|
23198
|
-
const _sfc_main$
|
|
23243
|
+
const _sfc_main$k = defineComponent({
|
|
23199
23244
|
name: 'DkPageDiy',
|
|
23200
23245
|
components: {
|
|
23201
23246
|
DiyCloud,
|
|
@@ -23210,6 +23255,7 @@ const _sfc_main$i = defineComponent({
|
|
|
23210
23255
|
const fcx = ref({ active: null });
|
|
23211
23256
|
provide('fcx', fcx);
|
|
23212
23257
|
provide('diy', vm);
|
|
23258
|
+
const eventData = new EventData();
|
|
23213
23259
|
const config = toRef(props, 'config', {});
|
|
23214
23260
|
// 区别小程序和网页
|
|
23215
23261
|
const ruleList = props.type === 'web' ? webRuleList : minRuleList;
|
|
@@ -24222,6 +24268,7 @@ const _sfc_main$i = defineComponent({
|
|
|
24222
24268
|
...methods,
|
|
24223
24269
|
countObj,
|
|
24224
24270
|
diyTree,
|
|
24271
|
+
eventData,
|
|
24225
24272
|
}
|
|
24226
24273
|
},
|
|
24227
24274
|
created() {
|
|
@@ -24232,9 +24279,9 @@ const _sfc_main$i = defineComponent({
|
|
|
24232
24279
|
},
|
|
24233
24280
|
});
|
|
24234
24281
|
|
|
24235
|
-
const _hoisted_1$
|
|
24236
|
-
const _hoisted_2$
|
|
24237
|
-
const _hoisted_3$
|
|
24282
|
+
const _hoisted_1$f = { class: "_fc-l-groups" };
|
|
24283
|
+
const _hoisted_2$c = { class: "_fc-l-title" };
|
|
24284
|
+
const _hoisted_3$9 = { class: "_fc-l-icon" };
|
|
24238
24285
|
const _hoisted_4$8 = { class: "_fc-l-name" };
|
|
24239
24286
|
const _hoisted_5$6 = {
|
|
24240
24287
|
key: 0,
|
|
@@ -24244,7 +24291,7 @@ const _hoisted_5$6 = {
|
|
|
24244
24291
|
const _hoisted_6$6 = /*#__PURE__*/createElementVNode("span", null, "结构", -1 /* HOISTED */);
|
|
24245
24292
|
const _hoisted_7$6 = { key: 0 };
|
|
24246
24293
|
|
|
24247
|
-
function _sfc_render$
|
|
24294
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24248
24295
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
24249
24296
|
const _component_draggable = resolveComponent("draggable");
|
|
24250
24297
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -24268,13 +24315,13 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24268
24315
|
style: normalizeStyle(_ctx.leftAside.style)
|
|
24269
24316
|
}, {
|
|
24270
24317
|
default: withCtx(() => [
|
|
24271
|
-
createElementVNode("div", _hoisted_1$
|
|
24318
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
24272
24319
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuList, (item, index) => {
|
|
24273
24320
|
return (openBlock(), createElementBlock("div", {
|
|
24274
24321
|
key: index,
|
|
24275
24322
|
class: "_fc-l-group"
|
|
24276
24323
|
}, [
|
|
24277
|
-
createElementVNode("h4", _hoisted_2$
|
|
24324
|
+
createElementVNode("h4", _hoisted_2$c, toDisplayString(item.title), 1 /* TEXT */),
|
|
24278
24325
|
createVNode(_component_draggable, {
|
|
24279
24326
|
group: { name: 'default', pull: 'clone', put: false },
|
|
24280
24327
|
sort: false,
|
|
@@ -24288,7 +24335,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24288
24335
|
key: element.id,
|
|
24289
24336
|
class: normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
|
|
24290
24337
|
}, [
|
|
24291
|
-
createElementVNode("div", _hoisted_3$
|
|
24338
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
24292
24339
|
createVNode(_component_dk_icon, {
|
|
24293
24340
|
icon: element.icon,
|
|
24294
24341
|
size: 24
|
|
@@ -24543,10 +24590,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24543
24590
|
_: 3 /* FORWARDED */
|
|
24544
24591
|
}))
|
|
24545
24592
|
}
|
|
24546
|
-
var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
24593
|
+
var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main$k, [['render',_sfc_render$2],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
|
|
24547
24594
|
|
|
24548
24595
|
let uni = 1;
|
|
24549
|
-
const _sfc_main$
|
|
24596
|
+
const _sfc_main$j = defineComponent({
|
|
24550
24597
|
name: 'DragTool',
|
|
24551
24598
|
props: {
|
|
24552
24599
|
dragBtn: {
|
|
@@ -24615,13 +24662,13 @@ const _sfc_main$h = defineComponent({
|
|
|
24615
24662
|
},
|
|
24616
24663
|
});
|
|
24617
24664
|
|
|
24618
|
-
const _hoisted_1$
|
|
24665
|
+
const _hoisted_1$e = {
|
|
24619
24666
|
key: 0,
|
|
24620
24667
|
class: "drag-mask"
|
|
24621
24668
|
};
|
|
24622
|
-
const _hoisted_2$
|
|
24669
|
+
const _hoisted_2$b = { class: "drag-r" };
|
|
24623
24670
|
|
|
24624
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24671
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24625
24672
|
const _component_dk_icon = resolveComponent("dk-icon");
|
|
24626
24673
|
|
|
24627
24674
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -24630,9 +24677,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24630
24677
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => (_ctx.active && _ctx.active(...args)), ["stop"]))
|
|
24631
24678
|
}, [
|
|
24632
24679
|
(_ctx.mask)
|
|
24633
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
24680
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$e))
|
|
24634
24681
|
: createCommentVNode("v-if", true),
|
|
24635
|
-
createElementVNode("div", _hoisted_2$
|
|
24682
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
24636
24683
|
createElementVNode("div", {
|
|
24637
24684
|
class: "drag-btn",
|
|
24638
24685
|
title: "添加当前组件",
|
|
@@ -24668,9 +24715,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24668
24715
|
renderSlot(_ctx.$slots, "default")
|
|
24669
24716
|
], 6 /* CLASS, STYLE */))
|
|
24670
24717
|
}
|
|
24671
|
-
var DragTool = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
24718
|
+
var DragTool = /*#__PURE__*/_export_sfc(_sfc_main$j, [['render',_sfc_render$1],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
|
|
24672
24719
|
|
|
24673
|
-
const _sfc_main$
|
|
24720
|
+
const _sfc_main$i = defineComponent({
|
|
24674
24721
|
name: 'DragBox',
|
|
24675
24722
|
props: ['rule', 'tag', 'formCreateInject'],
|
|
24676
24723
|
render(ctx) {
|
|
@@ -24700,7 +24747,246 @@ const _sfc_main$g = defineComponent({
|
|
|
24700
24747
|
})
|
|
24701
24748
|
},
|
|
24702
24749
|
});
|
|
24703
|
-
var DragBox = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
24750
|
+
var DragBox = /*#__PURE__*/_export_sfc(_sfc_main$i, [['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragBox.vue"]]);
|
|
24751
|
+
|
|
24752
|
+
const __default__$e = defineComponent({
|
|
24753
|
+
name: "DkEventCreateInput"
|
|
24754
|
+
});
|
|
24755
|
+
var _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
24756
|
+
...__default__$e,
|
|
24757
|
+
props: {
|
|
24758
|
+
modelValue: {
|
|
24759
|
+
default: "",
|
|
24760
|
+
type: String
|
|
24761
|
+
},
|
|
24762
|
+
placeholder: {
|
|
24763
|
+
default: "",
|
|
24764
|
+
type: String
|
|
24765
|
+
},
|
|
24766
|
+
label: {
|
|
24767
|
+
default: "",
|
|
24768
|
+
type: String
|
|
24769
|
+
}
|
|
24770
|
+
},
|
|
24771
|
+
emits: ["input", "update:modelValue", "change"],
|
|
24772
|
+
setup(__props, { emit }) {
|
|
24773
|
+
const props = __props;
|
|
24774
|
+
const data = ref(props.modelValue || "");
|
|
24775
|
+
watch(
|
|
24776
|
+
() => props.modelValue,
|
|
24777
|
+
(val) => {
|
|
24778
|
+
data.value = val;
|
|
24779
|
+
}
|
|
24780
|
+
);
|
|
24781
|
+
watch(
|
|
24782
|
+
() => data.value,
|
|
24783
|
+
(val) => {
|
|
24784
|
+
emit("change", val);
|
|
24785
|
+
emit("update:modelValue", val);
|
|
24786
|
+
emit("input", val);
|
|
24787
|
+
}
|
|
24788
|
+
);
|
|
24789
|
+
const randomString = (e) => {
|
|
24790
|
+
e = e || 32;
|
|
24791
|
+
const t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";
|
|
24792
|
+
const a = t.length;
|
|
24793
|
+
let n = "";
|
|
24794
|
+
for (let i = 0; i < e; i++) {
|
|
24795
|
+
n += t.charAt(Math.floor(Math.random() * a));
|
|
24796
|
+
}
|
|
24797
|
+
return n;
|
|
24798
|
+
};
|
|
24799
|
+
const onClick = () => {
|
|
24800
|
+
data.value = randomString(6);
|
|
24801
|
+
};
|
|
24802
|
+
return (_ctx, _cache) => {
|
|
24803
|
+
const _component_el_button = resolveComponent("el-button");
|
|
24804
|
+
const _component_el_input = resolveComponent("el-input");
|
|
24805
|
+
return openBlock(), createElementBlock("div", null, [
|
|
24806
|
+
createVNode(_component_el_input, {
|
|
24807
|
+
modelValue: data.value,
|
|
24808
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value = $event),
|
|
24809
|
+
placeholder: __props.placeholder,
|
|
24810
|
+
clearable: ""
|
|
24811
|
+
}, {
|
|
24812
|
+
append: withCtx(() => [
|
|
24813
|
+
createVNode(_component_el_button, { onClick }, {
|
|
24814
|
+
default: withCtx(() => [
|
|
24815
|
+
createTextVNode("\u968F\u673A")
|
|
24816
|
+
]),
|
|
24817
|
+
_: 1
|
|
24818
|
+
/* STABLE */
|
|
24819
|
+
})
|
|
24820
|
+
]),
|
|
24821
|
+
_: 1
|
|
24822
|
+
/* STABLE */
|
|
24823
|
+
}, 8, ["modelValue", "placeholder"])
|
|
24824
|
+
]);
|
|
24825
|
+
};
|
|
24826
|
+
}
|
|
24827
|
+
});
|
|
24828
|
+
|
|
24829
|
+
var DkEventCreateInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventCreateInput.vue"]]);
|
|
24830
|
+
|
|
24831
|
+
const _sfc_main$g = {
|
|
24832
|
+
name: 'DkEventSelectInput',
|
|
24833
|
+
inject: ['diy'],
|
|
24834
|
+
props: {
|
|
24835
|
+
modelValue: {
|
|
24836
|
+
default: '',
|
|
24837
|
+
type: String,
|
|
24838
|
+
},
|
|
24839
|
+
placeholder: {
|
|
24840
|
+
default: '',
|
|
24841
|
+
type: String,
|
|
24842
|
+
},
|
|
24843
|
+
},
|
|
24844
|
+
emits: ['update:modelValue'],
|
|
24845
|
+
data() {
|
|
24846
|
+
return {
|
|
24847
|
+
data: '',
|
|
24848
|
+
loading: false,
|
|
24849
|
+
eventData: [],
|
|
24850
|
+
}
|
|
24851
|
+
},
|
|
24852
|
+
computed: {
|
|
24853
|
+
EventData() {
|
|
24854
|
+
return this.diy.proxy.eventData
|
|
24855
|
+
},
|
|
24856
|
+
children() {
|
|
24857
|
+
return this.diy.proxy.children
|
|
24858
|
+
},
|
|
24859
|
+
},
|
|
24860
|
+
watch: {
|
|
24861
|
+
data() {
|
|
24862
|
+
this.$emit('update:modelValue', this.data);
|
|
24863
|
+
},
|
|
24864
|
+
},
|
|
24865
|
+
mounted() {
|
|
24866
|
+
this.data = this.modelValue || '';
|
|
24867
|
+
this.updateEvent();
|
|
24868
|
+
},
|
|
24869
|
+
methods: {
|
|
24870
|
+
updateEvent() {
|
|
24871
|
+
this.loading = true;
|
|
24872
|
+
this.EventData.removeAllEvent();
|
|
24873
|
+
this.onUpdateEvent();
|
|
24874
|
+
this.loading = false;
|
|
24875
|
+
},
|
|
24876
|
+
onClick() {
|
|
24877
|
+
this.data = this.randomString(10);
|
|
24878
|
+
},
|
|
24879
|
+
randomString(e) {
|
|
24880
|
+
e = e || 32;
|
|
24881
|
+
const t = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
|
|
24882
|
+
const a = t.length;
|
|
24883
|
+
let n = '';
|
|
24884
|
+
for (let i = 0; i < e; i++) {
|
|
24885
|
+
n += t.charAt(Math.floor(Math.random() * a));
|
|
24886
|
+
}
|
|
24887
|
+
return n
|
|
24888
|
+
},
|
|
24889
|
+
// 更新事件
|
|
24890
|
+
onUpdateEvent() {
|
|
24891
|
+
console.log('children', this.children);
|
|
24892
|
+
for (let i = 0; i < this.children.length; i++) {
|
|
24893
|
+
if (this.children[i].children.length > 0) {
|
|
24894
|
+
// 当前节点
|
|
24895
|
+
const children = this.children[i].children[0];
|
|
24896
|
+
// 当前节点的props数据
|
|
24897
|
+
const propsData = children.props;
|
|
24898
|
+
// 当前节点的配置数据
|
|
24899
|
+
const config = children.config.config;
|
|
24900
|
+
const isEvent = config.event || false;
|
|
24901
|
+
if (isEvent) {
|
|
24902
|
+
// 表单配置数据
|
|
24903
|
+
const eventProps = config.props();
|
|
24904
|
+
this.findDkEventCreateInput(eventProps, propsData).forEach((item) => {
|
|
24905
|
+
const data = {
|
|
24906
|
+
id: children._id,
|
|
24907
|
+
label: item.props?.label || config.label,
|
|
24908
|
+
value: propsData[item.field],
|
|
24909
|
+
};
|
|
24910
|
+
if (data.value && data.id && data.label) {
|
|
24911
|
+
this.EventData.addEvent(data);
|
|
24912
|
+
}
|
|
24913
|
+
});
|
|
24914
|
+
}
|
|
24915
|
+
}
|
|
24916
|
+
}
|
|
24917
|
+
this.eventData = this.EventData.getAllEvents();
|
|
24918
|
+
},
|
|
24919
|
+
// 寻找事件
|
|
24920
|
+
findDkEventCreateInput(data, propsData) {
|
|
24921
|
+
console.log('findDkEventCreateInput', data);
|
|
24922
|
+
const result = [];
|
|
24923
|
+
data.forEach((element) => {
|
|
24924
|
+
if (element.children) {
|
|
24925
|
+
result.push(...this.findDkEventCreateInput(element.children));
|
|
24926
|
+
}
|
|
24927
|
+
if (element.control && Array.isArray(element.control)) {
|
|
24928
|
+
element.control.forEach((control) => {
|
|
24929
|
+
if (control.rule.length > 0) {
|
|
24930
|
+
result.push(...this.findDkEventCreateInput(control.rule));
|
|
24931
|
+
}
|
|
24932
|
+
});
|
|
24933
|
+
}
|
|
24934
|
+
if (element.type === 'DkEventCreateInput') {
|
|
24935
|
+
result.push(element);
|
|
24936
|
+
}
|
|
24937
|
+
});
|
|
24938
|
+
return result
|
|
24939
|
+
},
|
|
24940
|
+
},
|
|
24941
|
+
};
|
|
24942
|
+
|
|
24943
|
+
const _hoisted_1$d = { style: {"display":"flex"} };
|
|
24944
|
+
const _hoisted_2$a = { style: {"float":"left"} };
|
|
24945
|
+
const _hoisted_3$8 = { style: {"float":"right","color":"#8492a6","font-size":"13px"} };
|
|
24946
|
+
|
|
24947
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24948
|
+
const _component_el_option = resolveComponent("el-option");
|
|
24949
|
+
const _component_el_select = resolveComponent("el-select");
|
|
24950
|
+
const _component_el_button = resolveComponent("el-button");
|
|
24951
|
+
|
|
24952
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
24953
|
+
createVNode(_component_el_select, {
|
|
24954
|
+
modelValue: $data.data,
|
|
24955
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($data.data) = $event)),
|
|
24956
|
+
placeholder: "请选择要触发事件",
|
|
24957
|
+
style: {"width":"100%"},
|
|
24958
|
+
"allow-create": "",
|
|
24959
|
+
filterable: ""
|
|
24960
|
+
}, {
|
|
24961
|
+
default: withCtx(() => [
|
|
24962
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.eventData, (item) => {
|
|
24963
|
+
return (openBlock(), createBlock(_component_el_option, {
|
|
24964
|
+
key: item.value,
|
|
24965
|
+
label: item.label + '(' + item.value + ')',
|
|
24966
|
+
value: item.value
|
|
24967
|
+
}, {
|
|
24968
|
+
default: withCtx(() => [
|
|
24969
|
+
createElementVNode("span", _hoisted_2$a, toDisplayString(item.label), 1 /* TEXT */),
|
|
24970
|
+
createElementVNode("span", _hoisted_3$8, toDisplayString(item.value), 1 /* TEXT */)
|
|
24971
|
+
]),
|
|
24972
|
+
_: 2 /* DYNAMIC */
|
|
24973
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label", "value"]))
|
|
24974
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24975
|
+
]),
|
|
24976
|
+
_: 1 /* STABLE */
|
|
24977
|
+
}, 8 /* PROPS */, ["modelValue"]),
|
|
24978
|
+
createVNode(_component_el_button, {
|
|
24979
|
+
loading: $data.loading,
|
|
24980
|
+
onClick: $options.updateEvent
|
|
24981
|
+
}, {
|
|
24982
|
+
default: withCtx(() => [
|
|
24983
|
+
createTextVNode("刷新")
|
|
24984
|
+
]),
|
|
24985
|
+
_: 1 /* STABLE */
|
|
24986
|
+
}, 8 /* PROPS */, ["loading", "onClick"])
|
|
24987
|
+
]))
|
|
24988
|
+
}
|
|
24989
|
+
var DkEventSelectInput = /*#__PURE__*/_export_sfc(_sfc_main$g, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventSelectInput.vue"]]);
|
|
24704
24990
|
|
|
24705
24991
|
const addComponent = (id, component) => {
|
|
24706
24992
|
designerForm.component(id, component);
|
|
@@ -24709,6 +24995,8 @@ const addComponent = (id, component) => {
|
|
|
24709
24995
|
designerForm.component("Draggable", draggableComponent);
|
|
24710
24996
|
designerForm.component("DragTool", DragTool);
|
|
24711
24997
|
designerForm.component("DragBox", DragBox);
|
|
24998
|
+
designerForm.component("DkEventCreateInput", DkEventCreateInput);
|
|
24999
|
+
designerForm.component("DkEventSelectInput", DkEventSelectInput);
|
|
24712
25000
|
designerForm.register("_fc", {
|
|
24713
25001
|
init(fc, rule) {
|
|
24714
25002
|
rule._id = uniqueId();
|