hy-design-ui 0.1.12 → 0.1.13
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/dist/hy-design-ui.css +1 -1
- package/dist/hy-design-ui.js +26 -26
- package/dist/hy-design-ui.umd.cjs +1 -1
- package/dist/types/drawer.d.ts +1 -0
- package/package.json +1 -1
package/dist/hy-design-ui.js
CHANGED
|
@@ -11905,31 +11905,31 @@ var Tg = g({
|
|
|
11905
11905
|
}),
|
|
11906
11906
|
emits: /* @__PURE__ */ D(["change"], ["update:modelValue"]),
|
|
11907
11907
|
setup(e, { emit: t }) {
|
|
11908
|
-
let
|
|
11909
|
-
|
|
11910
|
-
},
|
|
11911
|
-
be(() =>
|
|
11912
|
-
|
|
11908
|
+
let i = e, a = N(!0), o = N(!1), s = _e(e, "modelValue"), f = N(), p = t, m = c(() => a.value || o.value), g = (e) => {
|
|
11909
|
+
f.value = Array.isArray(e) ? e.join(",") : e, p("change", s.value);
|
|
11910
|
+
}, _ = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0;
|
|
11911
|
+
be(() => s.value, (e) => {
|
|
11912
|
+
_(e) && (f.value = "");
|
|
11913
11913
|
});
|
|
11914
|
-
let _ = () => {
|
|
11915
|
-
o.value = r.multiple ? [] : void 0, s.value = "", f("change", o.value);
|
|
11916
|
-
};
|
|
11917
|
-
be(() => a.value, (e) => i.value = e);
|
|
11918
11914
|
let v = () => {
|
|
11919
|
-
|
|
11915
|
+
s.value = i.multiple ? [] : void 0, f.value = "", p("change", s.value);
|
|
11916
|
+
};
|
|
11917
|
+
be(() => o.value, (e) => a.value = e);
|
|
11918
|
+
let y = () => {
|
|
11919
|
+
i.disabled || (o.value = !0);
|
|
11920
11920
|
};
|
|
11921
|
-
return (t,
|
|
11922
|
-
modelValue:
|
|
11923
|
-
"onUpdate:modelValue":
|
|
11921
|
+
return (t, i) => (j(), d(n, null, [h(I(Ie), {
|
|
11922
|
+
modelValue: f.value,
|
|
11923
|
+
"onUpdate:modelValue": i[0] ||= (e) => f.value = e,
|
|
11924
11924
|
placeholder: e.placeholder,
|
|
11925
11925
|
disabled: e.disabled,
|
|
11926
11926
|
readonly: "",
|
|
11927
11927
|
clearable: e.clearable,
|
|
11928
|
-
onClear:
|
|
11928
|
+
onClear: v
|
|
11929
11929
|
}, {
|
|
11930
11930
|
append: L(() => [h(I(Ee), {
|
|
11931
11931
|
icon: I(Ng),
|
|
11932
|
-
onClick:
|
|
11932
|
+
onClick: y
|
|
11933
11933
|
}, null, 8, ["icon"])]),
|
|
11934
11934
|
_: 1
|
|
11935
11935
|
}, 8, [
|
|
@@ -11937,23 +11937,23 @@ var Tg = g({
|
|
|
11937
11937
|
"placeholder",
|
|
11938
11938
|
"disabled",
|
|
11939
11939
|
"clearable"
|
|
11940
|
-
]),
|
|
11940
|
+
]), (j(), l(r, { to: "body" }, [m.value ? (j(), l(pe(e.view), {
|
|
11941
11941
|
key: 0,
|
|
11942
|
-
modelValue:
|
|
11943
|
-
"onUpdate:modelValue":
|
|
11944
|
-
data:
|
|
11945
|
-
"onUpdate:data":
|
|
11942
|
+
modelValue: o.value,
|
|
11943
|
+
"onUpdate:modelValue": i[1] ||= (e) => o.value = e,
|
|
11944
|
+
data: s.value,
|
|
11945
|
+
"onUpdate:data": i[2] ||= (e) => s.value = e,
|
|
11946
11946
|
multiple: e.multiple,
|
|
11947
11947
|
required: e.required,
|
|
11948
11948
|
"custom-params": e.customParams,
|
|
11949
|
-
onLabel:
|
|
11949
|
+
onLabel: g
|
|
11950
11950
|
}, null, 40, [
|
|
11951
11951
|
"modelValue",
|
|
11952
11952
|
"data",
|
|
11953
11953
|
"multiple",
|
|
11954
11954
|
"required",
|
|
11955
11955
|
"custom-params"
|
|
11956
|
-
])) : u("", !0)], 64));
|
|
11956
|
+
])) : u("", !0)]))], 64));
|
|
11957
11957
|
}
|
|
11958
11958
|
}), Lg = /* @__PURE__ */ ct(/* @__PURE__ */ g({
|
|
11959
11959
|
__name: "SearchItem",
|
|
@@ -14467,7 +14467,7 @@ var yv = {
|
|
|
14467
14467
|
footerClass: {},
|
|
14468
14468
|
appendToBody: {
|
|
14469
14469
|
type: Boolean,
|
|
14470
|
-
default: !
|
|
14470
|
+
default: !0
|
|
14471
14471
|
},
|
|
14472
14472
|
appendTo: {},
|
|
14473
14473
|
lockScroll: {
|
|
@@ -14614,7 +14614,7 @@ var yv = {
|
|
|
14614
14614
|
_: 3
|
|
14615
14615
|
}, 8, /* @__PURE__ */ "modelValue.title.width.fullscreen.top.modal.modal-penetrable.modal-class.header-class.body-class.footer-class.append-to-body.append-to.lock-scroll.open-delay.close-delay.close-on-click-modal.close-on-press-escape.show-close.before-close.draggable.overflow.center.align-center.destroy-on-close.close-icon.z-index.header-aria-level.transition".split(".")));
|
|
14616
14616
|
}
|
|
14617
|
-
}), [["__scopeId", "data-v-
|
|
14617
|
+
}), [["__scopeId", "data-v-3f944186"]]), xv = { class: "hdu-wrap" }, Sv = { class: "hdu-wrap-ab hy-drawer-box" }, Cv = {
|
|
14618
14618
|
key: 0,
|
|
14619
14619
|
class: "hdu-wrap hy-drawer-footer"
|
|
14620
14620
|
}, wv = /* @__PURE__ */ ct(/* @__PURE__ */ g({
|
|
@@ -14622,7 +14622,7 @@ var yv = {
|
|
|
14622
14622
|
props: /* @__PURE__ */ D({
|
|
14623
14623
|
appendToBody: {
|
|
14624
14624
|
type: Boolean,
|
|
14625
|
-
default: !
|
|
14625
|
+
default: !0
|
|
14626
14626
|
},
|
|
14627
14627
|
appendTo: {},
|
|
14628
14628
|
lockScroll: {
|
|
@@ -14798,7 +14798,7 @@ var yv = {
|
|
|
14798
14798
|
"header-aria-level"
|
|
14799
14799
|
]));
|
|
14800
14800
|
}
|
|
14801
|
-
}), [["__scopeId", "data-v-
|
|
14801
|
+
}), [["__scopeId", "data-v-15f677c5"]]), Tv = {}, Ev = { class: "hdu-wrap hdu-file-panel" };
|
|
14802
14802
|
function Dv(e, t) {
|
|
14803
14803
|
return j(), d("div", Ev, [...t[0] ||= [f("div", { class: "hdu-wrap hdu-column" }, [f("div", { class: "hdu-file-drag" })], -1)]]);
|
|
14804
14804
|
}
|