edvoyui-component-library-test-flight 0.0.146 → 0.0.148
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/library-vue-ts.cjs.js +1 -1
- package/dist/library-vue-ts.css +1 -1
- package/dist/library-vue-ts.es.js +31 -24
- package/dist/library-vue-ts.umd.js +2 -2
- package/dist/modal/EUIModal.vue.d.ts +1 -1
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/modal/EUIModal.stories.ts +14 -0
- package/src/components/modal/EUIModal.vue +24 -5
- package/src/components/select/EUISelect.vue +11 -10
|
@@ -10909,8 +10909,8 @@ const ua = /* @__PURE__ */ _t(f8, [["render", h8]]), v8 = { class: "vs__selected
|
|
|
10909
10909
|
class: "vs__spinner"
|
|
10910
10910
|
}, x8 = {
|
|
10911
10911
|
key: 0,
|
|
10912
|
-
class: "flex flex-row items-center justify-between gap-
|
|
10913
|
-
}, k8 = { class: "flex items-center gap-
|
|
10912
|
+
class: "flex flex-row items-center justify-between gap-1 px-2 py-2 border-b border-gray-200 border-solid"
|
|
10913
|
+
}, k8 = { class: "flex items-center gap-px whitespace-nowrap" }, $8 = ["disabled"], C8 = ["disabled"], yM = /* @__PURE__ */ ze({
|
|
10914
10914
|
__name: "EUISelect",
|
|
10915
10915
|
props: {
|
|
10916
10916
|
clearable: {
|
|
@@ -11058,7 +11058,8 @@ const ua = /* @__PURE__ */ _t(f8, [["render", h8]]), v8 = { class: "vs__selected
|
|
|
11058
11058
|
isCheckbox: {
|
|
11059
11059
|
type: Boolean,
|
|
11060
11060
|
default: !1
|
|
11061
|
-
}
|
|
11061
|
+
},
|
|
11062
|
+
groupSelect: { type: Boolean, default: !1 }
|
|
11062
11063
|
},
|
|
11063
11064
|
emits: [
|
|
11064
11065
|
"update:modelValue",
|
|
@@ -11072,16 +11073,16 @@ const ua = /* @__PURE__ */ _t(f8, [["render", h8]]), v8 = { class: "vs__selected
|
|
|
11072
11073
|
],
|
|
11073
11074
|
setup(e, { emit: n }) {
|
|
11074
11075
|
C1((ee) => ({
|
|
11075
|
-
"
|
|
11076
|
-
"
|
|
11077
|
-
|
|
11078
|
-
"
|
|
11079
|
-
|
|
11080
|
-
"
|
|
11081
|
-
"
|
|
11082
|
-
"
|
|
11083
|
-
|
|
11084
|
-
"
|
|
11076
|
+
"172b44b0": ue.value,
|
|
11077
|
+
"5dae8c32": G.value,
|
|
11078
|
+
"3551a93a": z.value,
|
|
11079
|
+
"36bdc8c4": fe.value,
|
|
11080
|
+
"38784e86": xe.value,
|
|
11081
|
+
"05053820": pe.value,
|
|
11082
|
+
"18ecff36": S.value,
|
|
11083
|
+
"347a4c6d": ne.value,
|
|
11084
|
+
"6d16d128": K.value,
|
|
11085
|
+
"69906f39": Ce.value
|
|
11085
11086
|
}));
|
|
11086
11087
|
const t = {
|
|
11087
11088
|
Deselect: {
|
|
@@ -11367,27 +11368,27 @@ const ua = /* @__PURE__ */ _t(f8, [["render", h8]]), v8 = { class: "vs__selected
|
|
|
11367
11368
|
fn: Le(() => {
|
|
11368
11369
|
var D, _e, Ee, Ie, tt, We, oe;
|
|
11369
11370
|
return [
|
|
11370
|
-
e.isCheckbox ? (_(), E("div", x8, [
|
|
11371
|
-
he[4] || (he[4] = C("h3", { class: "text-
|
|
11371
|
+
e.isCheckbox && e.groupSelect ? (_(), E("div", x8, [
|
|
11372
|
+
he[4] || (he[4] = C("h3", { class: "text-xs font-semibold text-black" }, " Options ", -1)),
|
|
11372
11373
|
C("div", k8, [
|
|
11373
11374
|
C("button", {
|
|
11374
|
-
class: le(["w-full
|
|
11375
|
+
class: le(["w-full p-1 font-medium transition duration-75 rounded text-xss text-start", [((D = O(b)) == null ? void 0 : D.length) !== ((_e = l.value) == null ? void 0 : _e.length) ? "text-gray-600 hover:bg-gray-50 hover:text-violet-600" : "pointer-events-none opacity-50 cursor-default text-gray-400"]]),
|
|
11375
11376
|
disabled: ((Ee = O(b)) == null ? void 0 : Ee.length) === ((Ie = l.value) == null ? void 0 : Ie.length),
|
|
11376
11377
|
onClick: It(A, ["prevent"])
|
|
11377
11378
|
}, " Select All ", 10, $8),
|
|
11378
11379
|
C("button", {
|
|
11379
|
-
class: le(["w-full
|
|
11380
|
+
class: le(["w-full p-1 font-medium transition duration-75 rounded text-xss text-start", [(((tt = l.value) == null ? void 0 : tt.length) ?? 0) > 0 ? "text-gray-600 hover:text-red-600 hover:bg-gray-50" : "pointer-events-none opacity-50 cursor-default text-gray-400"]]),
|
|
11380
11381
|
disabled: (((We = l.value) == null ? void 0 : We.length) ?? 0) === 0,
|
|
11381
11382
|
onClick: It(R, ["prevent"])
|
|
11382
|
-
}, " Clear
|
|
11383
|
+
}, " Clear All ", 10, C8)
|
|
11383
11384
|
])
|
|
11384
|
-
])) : (_(), E(Me, { key: 1 }, [
|
|
11385
|
+
])) : e.isSelectAll ? (_(), E(Me, { key: 1 }, [
|
|
11385
11386
|
O(b).length !== ((oe = l.value) == null ? void 0 : oe.length) ? (_(), E("button", {
|
|
11386
11387
|
key: 0,
|
|
11387
11388
|
class: "w-full px-6 py-2 text-sm font-medium text-gray-600 transition duration-75 hover:font-bold hover:text-gray-900 text-start",
|
|
11388
11389
|
onClick: It(L, ["prevent"])
|
|
11389
11390
|
}, " Select All ")) : X("", !0)
|
|
11390
|
-
], 64))
|
|
11391
|
+
], 64)) : X("", !0)
|
|
11391
11392
|
];
|
|
11392
11393
|
}),
|
|
11393
11394
|
key: "10"
|
|
@@ -12443,6 +12444,10 @@ const k7 = ["id", "aria-describedby", "aria-expanded"], $7 = ["id", "data-show"]
|
|
|
12443
12444
|
size: {
|
|
12444
12445
|
type: String,
|
|
12445
12446
|
default: "sm"
|
|
12447
|
+
},
|
|
12448
|
+
placement: {
|
|
12449
|
+
type: String,
|
|
12450
|
+
default: "center"
|
|
12446
12451
|
}
|
|
12447
12452
|
},
|
|
12448
12453
|
emits: ["update:isVisible", "confirm"],
|
|
@@ -12497,7 +12502,9 @@ function R7(e, n, t, a, i, l) {
|
|
|
12497
12502
|
return [
|
|
12498
12503
|
e.isVisible ? (_(), E("div", {
|
|
12499
12504
|
key: 0,
|
|
12500
|
-
class: "fixed z-50 flex flex-col items-center justify-end inset-2
|
|
12505
|
+
class: le(["fixed z-50 flex flex-col items-center justify-end inset-2 modal-wrapper", [
|
|
12506
|
+
e.placement === "top" ? "sm:justify-start" : e.placement === "bottom" ? "sm:justify-end" : "sm:justify-center"
|
|
12507
|
+
]]),
|
|
12501
12508
|
onClick: n[3] || (n[3] = It(function() {
|
|
12502
12509
|
for (var c = [], u = 0; u < arguments.length; u++)
|
|
12503
12510
|
c[u] = arguments[u];
|
|
@@ -12507,7 +12514,7 @@ function R7(e, n, t, a, i, l) {
|
|
|
12507
12514
|
n[5] || (n[5] = C("div", { class: "backdrop fixed inset-0 z-[-1] w-screen h-screen bg-black/50 pointer-events-none overflow-hidden" }, null, -1)),
|
|
12508
12515
|
C("div", {
|
|
12509
12516
|
class: le([
|
|
12510
|
-
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between",
|
|
12517
|
+
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between modal-container",
|
|
12511
12518
|
e.slideClass,
|
|
12512
12519
|
e.roundedClass !== "" ? e.roundedClass : "rounded-t-3xl md:rounded-2xl",
|
|
12513
12520
|
e.size === "full" ? "h-full max-h-svh" : "max-h-[calc(100svh-3rem)] md:h-auto"
|
|
@@ -12573,14 +12580,14 @@ function R7(e, n, t, a, i, l) {
|
|
|
12573
12580
|
}, " Confirm ")
|
|
12574
12581
|
]))
|
|
12575
12582
|
], 2)
|
|
12576
|
-
])) : X("", !0)
|
|
12583
|
+
], 2)) : X("", !0)
|
|
12577
12584
|
];
|
|
12578
12585
|
}),
|
|
12579
12586
|
_: 3
|
|
12580
12587
|
})
|
|
12581
12588
|
]);
|
|
12582
12589
|
}
|
|
12583
|
-
const CM = /* @__PURE__ */ _t(I7, [["render", R7], ["__scopeId", "data-v-
|
|
12590
|
+
const CM = /* @__PURE__ */ _t(I7, [["render", R7], ["__scopeId", "data-v-6e392f5b"]]), D7 = ze({
|
|
12584
12591
|
name: "Slideover",
|
|
12585
12592
|
components: {
|
|
12586
12593
|
EUIButton: Tl
|