@vipl520/dk-ui 1.0.49 → 1.0.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +106 -18
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -4
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +106 -18
- package/es/style-input/index.d.ts +35 -0
- package/es/style-input/src/props.d.ts +16 -0
- package/es/style-input/src/props.mjs +18 -0
- package/es/style-input/src/props.mjs.map +1 -1
- package/es/style-input/src/style-input.vue.d.ts +35 -0
- package/es/style-input/src/style-input.vue2.mjs +73 -3
- package/es/style-input/src/style-input.vue2.mjs.map +1 -1
- package/lib/style-input/index.d.ts +35 -0
- package/lib/style-input/src/props.d.ts +16 -0
- package/lib/style-input/src/props.js +18 -0
- package/lib/style-input/src/props.js.map +1 -1
- package/lib/style-input/src/style-input.vue.d.ts +35 -0
- package/lib/style-input/src/style-input.vue2.js +72 -2
- package/lib/style-input/src/style-input.vue2.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -967,7 +967,7 @@
|
|
967
967
|
|
968
968
|
const _hoisted_1$V = { key: 1 };
|
969
969
|
const _hoisted_2$I = { class: "collapse-title" };
|
970
|
-
const _hoisted_3$
|
970
|
+
const _hoisted_3$w = { class: "_dk-group-handle" };
|
971
971
|
const __default__$N = vue.defineComponent({
|
972
972
|
name: "DkGroup"
|
973
973
|
});
|
@@ -1271,7 +1271,7 @@
|
|
1271
1271
|
onEmitEvent: (name, ...args) => emitEvent(name, args, index),
|
1272
1272
|
"onUpdate:api": ($f) => add$f(index, $f)
|
1273
1273
|
}, null, 8, ["model-value", "rule", "option", "onUpdate:modelValue", "onEmitEvent", "onUpdate:api"])),
|
1274
|
-
vue.createElementVNode("div", _hoisted_3$
|
1274
|
+
vue.createElementVNode("div", _hoisted_3$w, [
|
1275
1275
|
vue.createVNode(
|
1276
1276
|
_component_el_button_group,
|
1277
1277
|
null,
|
@@ -1438,7 +1438,7 @@
|
|
1438
1438
|
|
1439
1439
|
const _hoisted_1$U = { key: 0 };
|
1440
1440
|
const _hoisted_2$H = { key: 1 };
|
1441
|
-
const _hoisted_3$
|
1441
|
+
const _hoisted_3$v = { class: "text-center" };
|
1442
1442
|
const __default__$M = vue.defineComponent({
|
1443
1443
|
name: "DkTinyEditor"
|
1444
1444
|
});
|
@@ -1571,7 +1571,7 @@
|
|
1571
1571
|
"z-index": 1298
|
1572
1572
|
}, {
|
1573
1573
|
footer: vue.withCtx(() => [
|
1574
|
-
vue.createElementVNode("div", _hoisted_3$
|
1574
|
+
vue.createElementVNode("div", _hoisted_3$v, [
|
1575
1575
|
vue.createVNode(_component_el_button, {
|
1576
1576
|
type: "primary",
|
1577
1577
|
style: { "width": "200px" },
|
@@ -1800,7 +1800,7 @@
|
|
1800
1800
|
|
1801
1801
|
const _hoisted_1$S = { class: "hot-area-content" };
|
1802
1802
|
const _hoisted_2$G = { class: "hot-area-draggable" };
|
1803
|
-
const _hoisted_3$
|
1803
|
+
const _hoisted_3$u = {
|
1804
1804
|
class: "hot-item-content",
|
1805
1805
|
style: { "position": "relative", "width": "100%", "height": "100%", "background": "#0003" }
|
1806
1806
|
};
|
@@ -1958,7 +1958,7 @@
|
|
1958
1958
|
default: vue.withCtx(() => [
|
1959
1959
|
vue.createElementVNode(
|
1960
1960
|
"div",
|
1961
|
-
_hoisted_3$
|
1961
|
+
_hoisted_3$u,
|
1962
1962
|
vue.toDisplayString(key + 1),
|
1963
1963
|
1
|
1964
1964
|
/* TEXT */
|
@@ -2688,7 +2688,7 @@
|
|
2688
2688
|
-1
|
2689
2689
|
/* HOISTED */
|
2690
2690
|
);
|
2691
|
-
const _hoisted_3$
|
2691
|
+
const _hoisted_3$t = /* @__PURE__ */ vue.createElementVNode(
|
2692
2692
|
"path",
|
2693
2693
|
{
|
2694
2694
|
fill: "#B0B7BD",
|
@@ -2825,7 +2825,7 @@
|
|
2825
2825
|
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$O, [
|
2826
2826
|
vue.createElementVNode("g", null, [
|
2827
2827
|
_hoisted_2$D,
|
2828
|
-
_hoisted_3$
|
2828
|
+
_hoisted_3$t,
|
2829
2829
|
_hoisted_4$l,
|
2830
2830
|
vue.createElementVNode(
|
2831
2831
|
"path",
|
@@ -2873,7 +2873,7 @@
|
|
2873
2873
|
|
2874
2874
|
const _hoisted_1$N = { class: "dk-attachment attachment" };
|
2875
2875
|
const _hoisted_2$C = { class: "attachment-header flex justify-between pt-5px pb-5px" };
|
2876
|
-
const _hoisted_3$
|
2876
|
+
const _hoisted_3$s = { class: "header-form z" };
|
2877
2877
|
const _hoisted_4$k = { class: "header-button y" };
|
2878
2878
|
const _hoisted_5$e = /* @__PURE__ */ vue.createElementVNode(
|
2879
2879
|
"i",
|
@@ -3129,7 +3129,7 @@
|
|
3129
3129
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
3130
3130
|
vue.createCommentVNode(" \u9876\u90E8"),
|
3131
3131
|
vue.createElementVNode("div", _hoisted_2$C, [
|
3132
|
-
vue.createElementVNode("div", _hoisted_3$
|
3132
|
+
vue.createElementVNode("div", _hoisted_3$s, [
|
3133
3133
|
vue.createVNode(_component_el_input, {
|
3134
3134
|
modelValue: searchFileName.value,
|
3135
3135
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFileName.value = $event),
|
@@ -3556,7 +3556,7 @@
|
|
3556
3556
|
|
3557
3557
|
const _hoisted_1$L = { class: "show m-t-5px" };
|
3558
3558
|
const _hoisted_2$B = { class: "image-error" };
|
3559
|
-
const _hoisted_3$
|
3559
|
+
const _hoisted_3$r = { class: "image-slot" };
|
3560
3560
|
const _hoisted_4$j = { class: "no-image" };
|
3561
3561
|
const __default__$C = vue.defineComponent({
|
3562
3562
|
name: "DkFileInput"
|
@@ -3693,7 +3693,7 @@
|
|
3693
3693
|
style: { "width": "100%", "height": "100%" }
|
3694
3694
|
}, {
|
3695
3695
|
error: vue.withCtx(() => [
|
3696
|
-
vue.createElementVNode("div", _hoisted_3$
|
3696
|
+
vue.createElementVNode("div", _hoisted_3$r, [
|
3697
3697
|
vue.createElementVNode("div", _hoisted_4$j, [
|
3698
3698
|
vue.createVNode(_component_el_icon, null, {
|
3699
3699
|
default: vue.withCtx(() => [
|
@@ -3953,7 +3953,7 @@
|
|
3953
3953
|
|
3954
3954
|
const _hoisted_1$K = { class: "dk-image-list" };
|
3955
3955
|
const _hoisted_2$A = ["onClick"];
|
3956
|
-
const _hoisted_3$
|
3956
|
+
const _hoisted_3$q = { key: 0 };
|
3957
3957
|
const __default__$y = vue.defineComponent({
|
3958
3958
|
name: "DkFileListInput"
|
3959
3959
|
});
|
@@ -4063,7 +4063,7 @@
|
|
4063
4063
|
128
|
4064
4064
|
/* KEYED_FRAGMENT */
|
4065
4065
|
)),
|
4066
|
-
_ctx.limit > input.value.length && !_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_3$
|
4066
|
+
_ctx.limit > input.value.length && !_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_3$q, [
|
4067
4067
|
vue.createElementVNode(
|
4068
4068
|
"div",
|
4069
4069
|
{
|
@@ -4325,7 +4325,7 @@
|
|
4325
4325
|
class: "text-center",
|
4326
4326
|
style: { "font-size": "12px", "color": "#999" }
|
4327
4327
|
};
|
4328
|
-
const _hoisted_3$
|
4328
|
+
const _hoisted_3$p = { class: "search-icon" };
|
4329
4329
|
const __default__$u = vue.defineComponent({
|
4330
4330
|
name: "DkIconContent"
|
4331
4331
|
});
|
@@ -4539,7 +4539,7 @@
|
|
4539
4539
|
_: 1
|
4540
4540
|
/* STABLE */
|
4541
4541
|
}, 8, ["modelValue"]),
|
4542
|
-
vue.createElementVNode("div", _hoisted_3$
|
4542
|
+
vue.createElementVNode("div", _hoisted_3$p, [
|
4543
4543
|
vue.createVNode(_component_el_input, {
|
4544
4544
|
modelValue: searchIcon.value,
|
4545
4545
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchIcon.value = $event),
|
@@ -4862,6 +4862,24 @@
|
|
4862
4862
|
return {};
|
4863
4863
|
},
|
4864
4864
|
type: Object
|
4865
|
+
},
|
4866
|
+
isDrawer: {
|
4867
|
+
default: false,
|
4868
|
+
type: Boolean
|
4869
|
+
},
|
4870
|
+
drawerProps: {
|
4871
|
+
default: () => {
|
4872
|
+
return {
|
4873
|
+
title: "\u7F16\u8F91\u6837\u5F0F",
|
4874
|
+
direction: "rtl",
|
4875
|
+
size: "400px"
|
4876
|
+
};
|
4877
|
+
},
|
4878
|
+
type: Object
|
4879
|
+
},
|
4880
|
+
drawerText: {
|
4881
|
+
default: "\u7F16\u8F91\u6837\u5F0F",
|
4882
|
+
type: String
|
4865
4883
|
}
|
4866
4884
|
};
|
4867
4885
|
|
@@ -4870,6 +4888,7 @@
|
|
4870
4888
|
key: 0,
|
4871
4889
|
class: "p-5px"
|
4872
4890
|
};
|
4891
|
+
const _hoisted_3$o = { key: 1 };
|
4873
4892
|
const __default__$r = vue.defineComponent({
|
4874
4893
|
name: "DkStyleInput"
|
4875
4894
|
});
|
@@ -4879,6 +4898,7 @@
|
|
4879
4898
|
emits: ["update:modelValue"],
|
4880
4899
|
setup(__props, { emit }) {
|
4881
4900
|
const props = __props;
|
4901
|
+
const drawer = vue.ref(false);
|
4882
4902
|
const activeNames = vue.ref([0]);
|
4883
4903
|
const values = vue.ref({});
|
4884
4904
|
const loading = vue.ref(true);
|
@@ -4927,9 +4947,12 @@
|
|
4927
4947
|
return (_ctx, _cache) => {
|
4928
4948
|
const _component_el_collapse_item = vue.resolveComponent("el-collapse-item");
|
4929
4949
|
const _component_el_collapse = vue.resolveComponent("el-collapse");
|
4950
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
4951
|
+
const _component_el_drawer = vue.resolveComponent("el-drawer");
|
4930
4952
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
4931
4953
|
!loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
|
4932
|
-
vue.
|
4954
|
+
!props.isDrawer ? (vue.openBlock(), vue.createBlock(_component_el_collapse, {
|
4955
|
+
key: 0,
|
4933
4956
|
modelValue: activeNames.value,
|
4934
4957
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeNames.value = $event)
|
4935
4958
|
}, {
|
@@ -4967,7 +4990,72 @@
|
|
4967
4990
|
]),
|
4968
4991
|
_: 1
|
4969
4992
|
/* STABLE */
|
4970
|
-
}, 8, ["modelValue"])
|
4993
|
+
}, 8, ["modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$o, [
|
4994
|
+
vue.createVNode(_component_el_button, {
|
4995
|
+
type: "primary",
|
4996
|
+
plain: "",
|
4997
|
+
style: { "width": "100%" },
|
4998
|
+
onClick: _cache[1] || (_cache[1] = ($event) => drawer.value = true)
|
4999
|
+
}, {
|
5000
|
+
default: vue.withCtx(() => [
|
5001
|
+
vue.createTextVNode(
|
5002
|
+
vue.toDisplayString(props.drawerText),
|
5003
|
+
1
|
5004
|
+
/* TEXT */
|
5005
|
+
)
|
5006
|
+
]),
|
5007
|
+
_: 1
|
5008
|
+
/* STABLE */
|
5009
|
+
}),
|
5010
|
+
vue.createVNode(_component_el_drawer, vue.mergeProps({
|
5011
|
+
modelValue: drawer.value,
|
5012
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => drawer.value = $event)
|
5013
|
+
}, props.drawerProps), {
|
5014
|
+
default: vue.withCtx(() => [
|
5015
|
+
vue.createVNode(_component_el_collapse, {
|
5016
|
+
modelValue: activeNames.value,
|
5017
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => activeNames.value = $event)
|
5018
|
+
}, {
|
5019
|
+
default: vue.withCtx(() => [
|
5020
|
+
(vue.openBlock(true), vue.createElementBlock(
|
5021
|
+
vue.Fragment,
|
5022
|
+
null,
|
5023
|
+
vue.renderList(_components.value, (item, key) => {
|
5024
|
+
return vue.openBlock(), vue.createBlock(_component_el_collapse_item, {
|
5025
|
+
key,
|
5026
|
+
title: "",
|
5027
|
+
name: key
|
5028
|
+
}, {
|
5029
|
+
title: vue.withCtx(() => [
|
5030
|
+
vue.createTextVNode(
|
5031
|
+
vue.toDisplayString(item.title),
|
5032
|
+
1
|
5033
|
+
/* TEXT */
|
5034
|
+
)
|
5035
|
+
]),
|
5036
|
+
default: vue.withCtx(() => [
|
5037
|
+
activeNames.value.includes(key) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.name), vue.mergeProps({
|
5038
|
+
key: 0,
|
5039
|
+
modelValue: values.value[item.name],
|
5040
|
+
"onUpdate:modelValue": ($event) => values.value[item.name] = $event
|
5041
|
+
}, item.props, { onChange }), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
|
5042
|
+
]),
|
5043
|
+
_: 2
|
5044
|
+
/* DYNAMIC */
|
5045
|
+
}, 1032, ["name"]);
|
5046
|
+
}),
|
5047
|
+
128
|
5048
|
+
/* KEYED_FRAGMENT */
|
5049
|
+
))
|
5050
|
+
]),
|
5051
|
+
_: 1
|
5052
|
+
/* STABLE */
|
5053
|
+
}, 8, ["modelValue"])
|
5054
|
+
]),
|
5055
|
+
_: 1
|
5056
|
+
/* STABLE */
|
5057
|
+
}, 16, ["modelValue"])
|
5058
|
+
]))
|
4971
5059
|
])) : vue.createCommentVNode("v-if", true)
|
4972
5060
|
]);
|
4973
5061
|
};
|