@davincihealthcare/elty-design-system-vue 1.34.0 → 1.34.2
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/ElAccordion.vue.d.ts +0 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
5
5
|
open?: boolean | undefined;
|
|
6
6
|
color?: "primary" | "secondary" | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
open: undefined;
|
|
9
8
|
color: string;
|
|
10
9
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
10
|
"update:open": (open?: boolean | undefined) => void;
|
|
@@ -14,13 +13,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
14
13
|
open?: boolean | undefined;
|
|
15
14
|
color?: "primary" | "secondary" | undefined;
|
|
16
15
|
}>, {
|
|
17
|
-
open: undefined;
|
|
18
16
|
color: string;
|
|
19
17
|
}>>> & {
|
|
20
18
|
"onUpdate:open"?: ((open?: boolean | undefined) => any) | undefined;
|
|
21
19
|
}, {
|
|
22
20
|
color: ElAccordionColor;
|
|
23
|
-
open: boolean;
|
|
24
21
|
}, {}>, {
|
|
25
22
|
default?(_: {}): any;
|
|
26
23
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineRule as O1, configure as vs, useField as Ds } from "vee-validate";
|
|
2
|
-
import { openBlock as I, createElementBlock as i, createElementVNode as a, defineComponent as E0, computed as q, normalizeClass as b, createBlock as n0, resolveDynamicComponent as ws, ref as X, toDisplayString as t0, createVNode as C0, Transition as oo, withCtx as H0, withDirectives as K1, renderSlot as Q0, vShow as ps, createCommentVNode as y, normalizeStyle as rA, getCurrentScope as Ps, onScopeDispose as ms, unref as Z, toRef as ao, readonly as Zs, customRef as gs, onMounted as re, nextTick as dr, watch as j0, isRef as aA, getCurrentInstance as Io, reactive as cO, watchEffect as Fs, onBeforeUnmount as Us, normalizeProps as ne, guardReactiveProps as Re, createTextVNode as IA, Fragment as z0, renderList as J0, mergeProps as y0, vModelDynamic as io,
|
|
2
|
+
import { openBlock as I, createElementBlock as i, createElementVNode as a, defineComponent as E0, computed as q, normalizeClass as b, createBlock as n0, resolveDynamicComponent as ws, ref as X, withModifiers as P0, toDisplayString as t0, createVNode as C0, Transition as oo, withCtx as H0, withDirectives as K1, renderSlot as Q0, vShow as ps, createCommentVNode as y, normalizeStyle as rA, getCurrentScope as Ps, onScopeDispose as ms, unref as Z, toRef as ao, readonly as Zs, customRef as gs, onMounted as re, nextTick as dr, watch as j0, isRef as aA, getCurrentInstance as Io, reactive as cO, watchEffect as Fs, onBeforeUnmount as Us, normalizeProps as ne, guardReactiveProps as Re, createTextVNode as IA, Fragment as z0, renderList as J0, mergeProps as y0, vModelDynamic as io, TransitionGroup as Hs, vModelText as Tr, vModelSelect as Eo, withKeys as xs, vModelRadio as ks, onDeactivated as ys, Teleport as _s } from "vue";
|
|
3
3
|
/**
|
|
4
4
|
* vee-validate v4.12.6
|
|
5
5
|
* (c) 2024 Abdelrahman Awad
|
|
@@ -16335,7 +16335,7 @@ const lB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16335
16335
|
__name: "ElAccordion",
|
|
16336
16336
|
props: {
|
|
16337
16337
|
label: {},
|
|
16338
|
-
open: { type: Boolean
|
|
16338
|
+
open: { type: Boolean },
|
|
16339
16339
|
color: { default: "primary" }
|
|
16340
16340
|
},
|
|
16341
16341
|
emits: ["update:open"],
|
|
@@ -16345,13 +16345,13 @@ const lB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16345
16345
|
o("update:open", N), E.value = N;
|
|
16346
16346
|
},
|
|
16347
16347
|
get() {
|
|
16348
|
-
return n.open
|
|
16348
|
+
return n.open || E.value;
|
|
16349
16349
|
}
|
|
16350
16350
|
});
|
|
16351
16351
|
return (N, c) => (I(), i("div", sB, [
|
|
16352
16352
|
a("button", {
|
|
16353
16353
|
class: "w-full h-10",
|
|
16354
|
-
onClick: c[0] || (c[0] = (S) => s.value = !s.value)
|
|
16354
|
+
onClick: c[0] || (c[0] = P0((S) => s.value = !s.value, ["prevent"]))
|
|
16355
16355
|
}, [
|
|
16356
16356
|
a("div", {
|
|
16357
16357
|
class: b(["h-full w-full flex justify-between items-center rounded-md cursor-pointer px-2 select-none active:bg-neutral-pressed active:text-neutral-darker hover:bg-neutral-hover", [
|