@indielayer/ui 1.9.0 → 1.9.1
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/docs/pages/component/table/usage.vue +5 -1
- package/docs/pages/component/table/virtual.vue +1 -1
- package/docs/pages/typography.vue +14 -12
- package/lib/components/accordion/Accordion.vue.d.ts +4 -4
- package/lib/components/accordion/AccordionItem.vue.d.ts +6 -6
- package/lib/components/accordion/AccordionItem.vue.js +51 -51
- package/lib/components/alert/Alert.vue.d.ts +8 -8
- package/lib/components/alert/Alert.vue2.js +20 -20
- package/lib/components/avatar/Avatar.vue.d.ts +4 -4
- package/lib/components/badge/Badge.vue.d.ts +4 -4
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +4 -4
- package/lib/components/button/Button.vue.d.ts +5 -5
- package/lib/components/button/ButtonGroup.vue.d.ts +4 -4
- package/lib/components/card/Card.vue.d.ts +4 -4
- package/lib/components/carousel/Carousel.vue.d.ts +7 -7
- package/lib/components/carousel/CarouselSlide.vue.d.ts +4 -4
- package/lib/components/checkbox/Checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/Checkbox.vue2.js +60 -60
- package/lib/components/container/Container.vue.d.ts +4 -4
- package/lib/components/datepicker/Datepicker.vue.d.ts +6 -6
- package/lib/components/datepicker/Datepicker.vue.js +3 -3
- package/lib/components/divider/Divider.vue.d.ts +4 -4
- package/lib/components/drawer/Drawer.vue.d.ts +6 -6
- package/lib/components/drawer/Drawer.vue.js +1 -1
- package/lib/components/form/Form.vue.d.ts +5 -5
- package/lib/components/formGroup/FormGroup.vue.d.ts +6 -6
- package/lib/components/formGroup/FormGroup.vue.js +7 -7
- package/lib/components/icon/Icon.vue.d.ts +4 -4
- package/lib/components/image/Image.vue.d.ts +3 -3
- package/lib/components/input/Input.vue.d.ts +6 -6
- package/lib/components/inputFooter/InputFooter.vue.d.ts +3 -3
- package/lib/components/label/Label.vue.d.ts +4 -4
- package/lib/components/link/Link.vue.d.ts +4 -4
- package/lib/components/loader/Loader.vue.d.ts +4 -4
- package/lib/components/menu/Menu.vue.d.ts +5 -5
- package/lib/components/menu/MenuItem.vue.d.ts +5 -5
- package/lib/components/menu/MenuItem.vue2.js +1 -1
- package/lib/components/modal/Modal.vue.d.ts +6 -6
- package/lib/components/modal/Modal.vue.js +1 -1
- package/lib/components/notifications/Notifications.vue.d.ts +5 -5
- package/lib/components/pagination/Pagination.vue.d.ts +5 -5
- package/lib/components/pagination/Pagination.vue.js +41 -41
- package/lib/components/pagination/PaginationItem.vue.d.ts +6 -6
- package/lib/components/popover/Popover.vue.d.ts +8 -8
- package/lib/components/popover/Popover.vue.js +1 -1
- package/lib/components/popover/PopoverContainer.vue.d.ts +4 -4
- package/lib/components/progress/Progress.vue.d.ts +4 -4
- package/lib/components/qrCode/QrCode.vue.d.ts +4 -4
- package/lib/components/radio/Radio.vue.d.ts +6 -6
- package/lib/components/radio/Radio.vue2.js +63 -63
- package/lib/components/scroll/Scroll.vue.d.ts +6 -6
- package/lib/components/scroll/Scroll.vue2.js +1 -1
- package/lib/components/select/Select.vue.d.ts +6 -6
- package/lib/components/select/Select.vue.js +1 -1
- package/lib/components/skeleton/Skeleton.vue.d.ts +4 -4
- package/lib/components/skeleton/Skeleton.vue.js +17 -17
- package/lib/components/slider/Slider.vue.d.ts +6 -6
- package/lib/components/spacer/Spacer.d.ts +1 -1
- package/lib/components/spinner/Spinner.vue.d.ts +4 -4
- package/lib/components/stepper/Stepper.vue.d.ts +5 -5
- package/lib/components/tab/Tab.vue.d.ts +5 -5
- package/lib/components/tab/Tab.vue.js +1 -1
- package/lib/components/tab/TabGroup.vue.d.ts +5 -5
- package/lib/components/tab/TabGroup.vue.js +2 -2
- package/lib/components/table/Table.vue.d.ts +32 -24
- package/lib/components/table/Table.vue.js +119 -115
- package/lib/components/table/TableBody.d.ts +1 -1
- package/lib/components/table/TableCell.vue.d.ts +4 -4
- package/lib/components/table/TableHead.vue.d.ts +4 -4
- package/lib/components/table/TableHeader.vue.d.ts +4 -4
- package/lib/components/table/TableHeader.vue.js +39 -39
- package/lib/components/table/TableRow.vue.d.ts +8 -4
- package/lib/components/table/TableRow.vue.js +3 -2
- package/lib/components/table/theme/TableRow.base.theme.js +1 -1
- package/lib/components/tag/Tag.vue.d.ts +5 -5
- package/lib/components/textarea/Textarea.vue.d.ts +6 -6
- package/lib/components/textarea/Textarea.vue.js +6 -6
- package/lib/components/themeProvider/ThemeProvider.vue.d.ts +3 -3
- package/lib/components/toggle/Toggle.vue.d.ts +6 -6
- package/lib/components/tooltip/ToggleTip.vue.d.ts +3 -3
- package/lib/components/tooltip/Tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip/Tooltip.vue.js +1 -1
- package/lib/composables/useInputtable.d.ts +26 -6
- package/lib/composables/useVirtualList.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/node_modules/.pnpm/{@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/core/index.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/components/table/Table.vue +9 -4
- package/src/components/table/TableRow.vue +1 -0
- package/src/components/table/theme/TableRow.base.theme.ts +4 -0
- package/src/version.ts +1 -1
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -0
- /package/lib/node_modules/.pnpm/{@vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_shared@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/shared/index.js +0 -0
- /package/lib/node_modules/.pnpm/{floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_ → floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_}/node_modules/floating-vue/dist/floating-vue.js +0 -0
|
@@ -11,22 +11,22 @@ export type CardProps = ExtractPublicPropTypes<typeof cardProps>;
|
|
|
11
11
|
type InternalClasses = 'wrapper';
|
|
12
12
|
export interface CardTheme extends ThemeComponent<CardProps, InternalClasses> {
|
|
13
13
|
}
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
tag: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
flat: BooleanConstructor;
|
|
20
|
-
}
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
tag: {
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
flat: BooleanConstructor;
|
|
26
|
-
}
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
27
|
flat: boolean;
|
|
28
28
|
tag: string;
|
|
29
|
-
}, {}>, {
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
30
30
|
default?(_: {}): any;
|
|
31
31
|
}>;
|
|
32
32
|
export default _default;
|
|
@@ -26,7 +26,7 @@ type InternalData = {
|
|
|
26
26
|
};
|
|
27
27
|
export interface CarouselTheme extends ThemeComponent<CarouselProps, InternalClasses, InternalData> {
|
|
28
28
|
}
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
30
30
|
autoplay: BooleanConstructor;
|
|
31
31
|
delay: {
|
|
32
32
|
type: NumberConstructor;
|
|
@@ -41,11 +41,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
classDots: (ArrayConstructor | StringConstructor)[];
|
|
44
|
-
}
|
|
44
|
+
}>, {
|
|
45
45
|
to: (index: number) => void;
|
|
46
46
|
next: () => void;
|
|
47
47
|
prev: () => void;
|
|
48
|
-
},
|
|
48
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update"[], "update", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
49
|
autoplay: BooleanConstructor;
|
|
50
50
|
delay: {
|
|
51
51
|
type: NumberConstructor;
|
|
@@ -60,14 +60,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
62
|
classDots: (ArrayConstructor | StringConstructor)[];
|
|
63
|
-
}>> & {
|
|
63
|
+
}>> & Readonly<{
|
|
64
64
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
}
|
|
65
|
+
}>, {
|
|
66
|
+
effect: "slide";
|
|
66
67
|
autoplay: boolean;
|
|
67
68
|
delay: number;
|
|
68
69
|
showDots: boolean;
|
|
69
|
-
|
|
70
|
-
}, {}>, {
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
71
71
|
default?(_: {
|
|
72
72
|
to: (index: number) => void;
|
|
73
73
|
next: () => void;
|
|
@@ -10,19 +10,19 @@ export type CarouselSlideProps = ExtractPublicPropTypes<typeof carouselSlideProp
|
|
|
10
10
|
type InternalClasses = 'wrapper';
|
|
11
11
|
export interface CarouselSlideTheme extends ThemeComponent<CarouselSlideProps, InternalClasses> {
|
|
12
12
|
}
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
tag: {
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
tag: {
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
}
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
24
|
tag: string;
|
|
25
|
-
}, {}>, {
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
26
26
|
default?(_: {}): any;
|
|
27
27
|
}>;
|
|
28
28
|
export default _default;
|
|
@@ -52,7 +52,7 @@ type InternalExtraData = {
|
|
|
52
52
|
};
|
|
53
53
|
export interface CheckboxTheme extends ThemeComponent<CheckboxProps, InternalClasses, InternalExtraData> {
|
|
54
54
|
}
|
|
55
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
56
56
|
value: (StringConstructor | NumberConstructor)[];
|
|
57
57
|
indeterminate: BooleanConstructor;
|
|
58
58
|
glow: BooleanConstructor;
|
|
@@ -94,14 +94,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
94
|
readonly default: "md";
|
|
95
95
|
readonly validator: (value: string) => boolean;
|
|
96
96
|
};
|
|
97
|
-
}
|
|
97
|
+
}>, {
|
|
98
98
|
focus: () => void | undefined;
|
|
99
99
|
blur: () => void | undefined;
|
|
100
100
|
toggle: () => void;
|
|
101
101
|
reset: () => void;
|
|
102
102
|
validate: (val?: any) => boolean;
|
|
103
103
|
setError: (val: string) => void;
|
|
104
|
-
},
|
|
104
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
105
|
value: (StringConstructor | NumberConstructor)[];
|
|
106
106
|
indeterminate: BooleanConstructor;
|
|
107
107
|
glow: BooleanConstructor;
|
|
@@ -143,9 +143,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
143
143
|
readonly default: "md";
|
|
144
144
|
readonly validator: (value: string) => boolean;
|
|
145
145
|
};
|
|
146
|
-
}>> & {
|
|
146
|
+
}>> & Readonly<{
|
|
147
147
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
148
|
-
}
|
|
148
|
+
}>, {
|
|
149
149
|
disabled: boolean;
|
|
150
150
|
glow: boolean;
|
|
151
151
|
color: string;
|
|
@@ -160,7 +160,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
160
160
|
hideFooter: boolean;
|
|
161
161
|
rules: unknown[];
|
|
162
162
|
skipFormRegistry: boolean;
|
|
163
|
-
}, {}>, {
|
|
163
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
164
164
|
icon?(_: {}): any;
|
|
165
165
|
default?(_: {}): any;
|
|
166
166
|
}>;
|
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTheme as
|
|
1
|
+
import { defineComponent as R, ref as w, watch as m, unref as o, openBlock as i, createElementBlock as p, normalizeStyle as T, normalizeClass as u, createElementVNode as d, withKeys as H, withModifiers as O, withDirectives as U, mergeProps as X, toHandlers as j, vModelCheckbox as J, createBlock as V, renderSlot as C, toDisplayString as Q, createCommentVNode as W } from "vue";
|
|
2
|
+
import { useTheme as Y } from "../../composables/useTheme.js";
|
|
3
3
|
import { useCommon as I } from "../../composables/useCommon.js";
|
|
4
|
-
import { useColors as
|
|
4
|
+
import { useColors as Z } from "../../composables/useColors.js";
|
|
5
5
|
import { useInteractive as z } from "../../composables/useInteractive.js";
|
|
6
6
|
import { useInputtable as f } from "../../composables/useInputtable.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import x from "../spinner/Spinner.vue.js";
|
|
8
|
+
import _ from "../inputFooter/InputFooter.vue.js";
|
|
9
9
|
const ee = ["onKeypress"], se = ["id", "name", "aria-checked", "aria-disabled", "disabled", "required"], le = {
|
|
10
10
|
key: 1,
|
|
11
11
|
name: "check-icon",
|
|
12
12
|
class: "w-2/3 h-[2px] bg-white dark:bg-secondary-900"
|
|
13
|
-
},
|
|
14
|
-
oe
|
|
15
|
-
], re = ["textContent"], ie = {
|
|
13
|
+
}, ae = ["textContent"], oe = {
|
|
16
14
|
...I.props(),
|
|
17
|
-
...
|
|
15
|
+
...Z.props("primary"),
|
|
18
16
|
...z.props(),
|
|
19
17
|
...f.props(),
|
|
20
18
|
value: [String, Number],
|
|
21
19
|
indeterminate: Boolean,
|
|
22
20
|
glow: Boolean
|
|
23
|
-
},
|
|
21
|
+
}, re = {
|
|
24
22
|
name: "XCheckbox",
|
|
25
23
|
validators: {
|
|
26
24
|
...I.validators()
|
|
27
25
|
}
|
|
28
|
-
},
|
|
29
|
-
...
|
|
30
|
-
props:
|
|
26
|
+
}, fe = /* @__PURE__ */ R({
|
|
27
|
+
...re,
|
|
28
|
+
props: oe,
|
|
31
29
|
emits: f.emits(!1),
|
|
32
30
|
setup(A, { expose: B, emit: $ }) {
|
|
33
|
-
const
|
|
34
|
-
function
|
|
35
|
-
|
|
31
|
+
const l = A, v = $, b = w(null), a = w(!1);
|
|
32
|
+
function y() {
|
|
33
|
+
a.value = !a.value;
|
|
36
34
|
}
|
|
37
|
-
const { focus:
|
|
35
|
+
const { focus: h, blur: F } = z(b), {
|
|
38
36
|
errorInternal: G,
|
|
39
37
|
hideFooterInternal: N,
|
|
40
38
|
isInsideForm: S,
|
|
41
39
|
isInsideFormGroup: c,
|
|
42
|
-
isFirstValidation:
|
|
40
|
+
isFirstValidation: q,
|
|
43
41
|
formGroup: r,
|
|
44
|
-
reset:
|
|
42
|
+
reset: E,
|
|
45
43
|
validate: k,
|
|
46
|
-
setError:
|
|
47
|
-
} = f(
|
|
44
|
+
setError: K
|
|
45
|
+
} = f(l, { focus: h, emit: v, withListeners: !1 });
|
|
48
46
|
c ? (m(() => r.value, () => {
|
|
49
|
-
const e =
|
|
50
|
-
e && Array.isArray(e) && e.includes(
|
|
51
|
-
}, { immediate: !0, deep: !0 }), m(() =>
|
|
52
|
-
if (!
|
|
47
|
+
const e = o(r.value);
|
|
48
|
+
e && Array.isArray(e) && e.includes(l.value) ? a.value = !0 : a.value = !1;
|
|
49
|
+
}, { immediate: !0, deep: !0 }), m(() => a.value, (e) => {
|
|
50
|
+
if (!l.value)
|
|
53
51
|
return;
|
|
54
|
-
const
|
|
52
|
+
const s = o(r.value);
|
|
55
53
|
if (e)
|
|
56
|
-
if (
|
|
57
|
-
if (!
|
|
58
|
-
const n = [...
|
|
54
|
+
if (s && Array.isArray(s)) {
|
|
55
|
+
if (!s.includes(l.value)) {
|
|
56
|
+
const n = [...s, l.value];
|
|
59
57
|
r.setValue(n);
|
|
60
58
|
}
|
|
61
59
|
} else
|
|
62
|
-
r.setValue([
|
|
63
|
-
else if (
|
|
64
|
-
const n =
|
|
60
|
+
r.setValue([l.value]);
|
|
61
|
+
else if (s && Array.isArray(s) && s.includes(l.value)) {
|
|
62
|
+
const n = s.findIndex((P) => P === l.value), g = [...s];
|
|
65
63
|
g.splice(n, 1), r.setValue(g);
|
|
66
64
|
}
|
|
67
|
-
})) : (m(() =>
|
|
68
|
-
|
|
69
|
-
}, { immediate: !0 }), m(() =>
|
|
65
|
+
})) : (m(() => l.modelValue, (e) => {
|
|
66
|
+
a.value = !!e;
|
|
67
|
+
}, { immediate: !0 }), m(() => a.value, (e) => {
|
|
70
68
|
v("update:modelValue", e);
|
|
71
69
|
}));
|
|
72
|
-
const
|
|
70
|
+
const L = {
|
|
73
71
|
input: () => {
|
|
74
72
|
c || setTimeout(() => {
|
|
75
|
-
|
|
73
|
+
l.validateOnInput && !q.value && k(l.modelValue);
|
|
76
74
|
}, 0);
|
|
77
75
|
}
|
|
78
|
-
}, { styles:
|
|
79
|
-
return B({ focus:
|
|
80
|
-
style:
|
|
76
|
+
}, { styles: M, classes: t, className: D } = Y("Checkbox", {}, l, { checked: a, isInsideForm: S, isInsideFormGroup: c });
|
|
77
|
+
return B({ focus: h, blur: F, toggle: y, reset: E, validate: k, setError: K }), (e, s) => (i(), p("label", {
|
|
78
|
+
style: T(o(M)),
|
|
81
79
|
class: u([
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
o(D),
|
|
81
|
+
o(t).wrapper
|
|
84
82
|
])
|
|
85
83
|
}, [
|
|
86
84
|
d("div", {
|
|
87
85
|
ref_key: "elRef",
|
|
88
|
-
ref:
|
|
89
|
-
class: u(
|
|
86
|
+
ref: b,
|
|
87
|
+
class: u(o(t).content),
|
|
90
88
|
tabindex: "0",
|
|
91
|
-
onKeypress:
|
|
89
|
+
onKeypress: H(O(y, ["prevent", "stop"]), ["space"])
|
|
92
90
|
}, [
|
|
93
|
-
|
|
91
|
+
U(d("input", X({
|
|
94
92
|
id: e.id,
|
|
95
|
-
"onUpdate:modelValue":
|
|
93
|
+
"onUpdate:modelValue": s[0] || (s[0] = (n) => a.value = n),
|
|
96
94
|
name: e.name,
|
|
97
|
-
"aria-checked": e.indeterminate ? "mixed" :
|
|
95
|
+
"aria-checked": e.indeterminate ? "mixed" : a.value ? "true" : "false",
|
|
98
96
|
"aria-disabled": e.disabled ? "true" : void 0,
|
|
99
97
|
type: "checkbox",
|
|
100
98
|
class: "invisible absolute",
|
|
101
99
|
disabled: e.disabled || e.loading,
|
|
102
100
|
required: e.required
|
|
103
|
-
},
|
|
104
|
-
[
|
|
101
|
+
}, j(L, !0)), null, 16, se), [
|
|
102
|
+
[J, a.value]
|
|
105
103
|
]),
|
|
106
104
|
d("div", {
|
|
107
105
|
class: u([
|
|
108
|
-
|
|
106
|
+
o(t).box,
|
|
109
107
|
[e.glow && !e.disabled && !e.loading ? e.$style["checkbox--glow"] : ""]
|
|
110
108
|
])
|
|
111
109
|
}, [
|
|
112
|
-
e.loading ? (i(), V(
|
|
110
|
+
e.loading ? (i(), V(x, {
|
|
113
111
|
key: 0,
|
|
114
112
|
size: e.size,
|
|
115
113
|
class: "absolute"
|
|
116
114
|
}, null, 8, ["size"])) : e.indeterminate ? (i(), p("span", le)) : C(e.$slots, "icon", { key: 2 }, () => [
|
|
117
115
|
(i(), p("svg", {
|
|
118
116
|
viewBox: "0 0 20 20",
|
|
119
|
-
class: u([
|
|
120
|
-
},
|
|
117
|
+
class: u([o(t).icon, { "opacity-0": !a.value }])
|
|
118
|
+
}, s[1] || (s[1] = [
|
|
119
|
+
d("path", { d: "M0 11l2-2 5 5L18 3l2 2L7 18z" }, null, -1)
|
|
120
|
+
]), 2))
|
|
121
121
|
])
|
|
122
122
|
], 2),
|
|
123
123
|
d("div", {
|
|
124
|
-
class: u(
|
|
124
|
+
class: u(o(t).label)
|
|
125
125
|
}, [
|
|
126
126
|
e.label ? (i(), p("span", {
|
|
127
127
|
key: 0,
|
|
128
|
-
textContent:
|
|
129
|
-
}, null, 8,
|
|
128
|
+
textContent: Q(e.label)
|
|
129
|
+
}, null, 8, ae)) : C(e.$slots, "default", { key: 1 })
|
|
130
130
|
], 2)
|
|
131
131
|
], 42, ee),
|
|
132
|
-
|
|
132
|
+
o(N) ? W("", !0) : (i(), V(_, {
|
|
133
133
|
key: 0,
|
|
134
|
-
error:
|
|
134
|
+
error: o(G),
|
|
135
135
|
helper: e.helper
|
|
136
136
|
}, null, 8, ["error", "helper"]))
|
|
137
137
|
], 6));
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
fe as default
|
|
142
142
|
};
|
|
@@ -14,7 +14,7 @@ export type ContainerProps = ExtractPublicPropTypes<typeof containerProps>;
|
|
|
14
14
|
type InternalClasses = 'wrapper';
|
|
15
15
|
export interface ContainerTheme extends ThemeComponent<ContainerProps, InternalClasses> {
|
|
16
16
|
}
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
18
|
tag: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
tag: {
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
default: string;
|
|
@@ -32,10 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: BooleanConstructor;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
36
|
tag: string;
|
|
37
37
|
fluid: boolean;
|
|
38
|
-
}, {}>, {
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
39
39
|
default?(_: {}): any;
|
|
40
40
|
}>;
|
|
41
41
|
export default _default;
|
|
@@ -570,7 +570,7 @@ export type DatepickerProps = ExtractPublicPropTypes<typeof datepickerProps>;
|
|
|
570
570
|
type InternalClasses = 'wrapper';
|
|
571
571
|
export interface DatepickerTheme extends ThemeComponent<DatepickerProps, InternalClasses> {
|
|
572
572
|
}
|
|
573
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
573
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
574
574
|
multiCalendars: {
|
|
575
575
|
type: PropType<import("@vuepic/vue-datepicker").DpOptionEnabled | Partial<{
|
|
576
576
|
static: boolean;
|
|
@@ -1132,11 +1132,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
1132
1132
|
readonly default: "md";
|
|
1133
1133
|
readonly validator: (value: string) => boolean;
|
|
1134
1134
|
};
|
|
1135
|
-
}
|
|
1135
|
+
}>, {
|
|
1136
1136
|
focus: () => void;
|
|
1137
1137
|
blur: () => void;
|
|
1138
1138
|
validate: () => void;
|
|
1139
|
-
},
|
|
1139
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1140
1140
|
multiCalendars: {
|
|
1141
1141
|
type: PropType<import("@vuepic/vue-datepicker").DpOptionEnabled | Partial<{
|
|
1142
1142
|
static: boolean;
|
|
@@ -1698,9 +1698,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
1698
1698
|
readonly default: "md";
|
|
1699
1699
|
readonly validator: (value: string) => boolean;
|
|
1700
1700
|
};
|
|
1701
|
-
}>> & {
|
|
1701
|
+
}>> & Readonly<{
|
|
1702
1702
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
1703
|
-
}
|
|
1703
|
+
}>, {
|
|
1704
1704
|
disabled: boolean;
|
|
1705
1705
|
size: import("../../composables/useCommon").Size;
|
|
1706
1706
|
position: "left" | "right" | "center" | undefined;
|
|
@@ -1909,7 +1909,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
1909
1909
|
timePickerInline: boolean;
|
|
1910
1910
|
quarterPicker: boolean;
|
|
1911
1911
|
yearFirst: boolean;
|
|
1912
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
|
|
1912
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
|
|
1913
1913
|
export default _default;
|
|
1914
1914
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1915
1915
|
new (): {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as O, ref as d, openBlock as D, createElementBlock as C, normalizeStyle as I, unref as n, normalizeClass as P, createVNode as u, createSlots as T, withCtx as m, withKeys as p, withModifiers as R, renderList as j, renderSlot as F, normalizeProps as A, guardReactiveProps as z } from "vue";
|
|
2
|
-
import { useMutationObserver as L } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.
|
|
2
|
+
import { useMutationObserver as L } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useCommon as q } from "../../composables/useCommon.js";
|
|
4
4
|
import { useInputtable as f } from "../../composables/useInputtable.js";
|
|
5
5
|
import { useInteractive as M } from "../../composables/useInteractive.js";
|
|
6
6
|
import { useTheme as V } from "../../composables/useTheme.js";
|
|
7
7
|
import G from "../input/Input.vue.js";
|
|
8
|
-
import Y from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.
|
|
9
|
-
import "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.
|
|
8
|
+
import Y from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
|
|
9
|
+
import "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/main.css.js";
|
|
10
10
|
const W = {
|
|
11
11
|
multiCalendars: { type: [Boolean, Number, String, Object], default: void 0 },
|
|
12
12
|
modelValue: { type: [String, Date, Array, Object, Number], default: null },
|
|
@@ -8,13 +8,13 @@ export type DividerProps = ExtractPublicPropTypes<typeof dividerProps>;
|
|
|
8
8
|
type InternalClasses = 'wrapper' | 'label' | 'line';
|
|
9
9
|
export interface DividerTheme extends ThemeComponent<DividerProps, InternalClasses> {
|
|
10
10
|
}
|
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
label: StringConstructor;
|
|
13
13
|
vertical: BooleanConstructor;
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
label: StringConstructor;
|
|
16
16
|
vertical: BooleanConstructor;
|
|
17
|
-
}
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
18
|
vertical: boolean;
|
|
19
|
-
}, {}>;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
export default _default;
|
|
@@ -30,7 +30,7 @@ export type DrawerProps = ExtractPublicPropTypes<typeof drawerProps>;
|
|
|
30
30
|
type InternalClasses = 'wrapper' | 'backdrop';
|
|
31
31
|
export interface DrawerTheme extends ThemeComponent<DrawerProps, InternalClasses> {
|
|
32
32
|
}
|
|
33
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
34
34
|
modelValue: BooleanConstructor;
|
|
35
35
|
position: {
|
|
36
36
|
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
@@ -53,10 +53,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
type: BooleanConstructor;
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
|
-
}
|
|
56
|
+
}>, {
|
|
57
57
|
open: () => void;
|
|
58
58
|
close: (e?: PointerEvent) => void;
|
|
59
|
-
},
|
|
59
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
modelValue: BooleanConstructor;
|
|
61
61
|
position: {
|
|
62
62
|
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
@@ -79,16 +79,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
79
79
|
type: BooleanConstructor;
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
|
-
}>> & {
|
|
82
|
+
}>> & Readonly<{
|
|
83
83
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}
|
|
84
|
+
}>, {
|
|
85
85
|
position: "left" | "right" | "top" | "bottom";
|
|
86
86
|
modelValue: boolean;
|
|
87
87
|
teleportTo: string | HTMLElement;
|
|
88
88
|
width: string | number;
|
|
89
89
|
height: string | number;
|
|
90
90
|
backdrop: boolean;
|
|
91
|
-
}, {}>, {
|
|
91
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
92
92
|
header?(_: {}): any;
|
|
93
93
|
default?(_: {}): any;
|
|
94
94
|
footer?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as X, ref as a, watchEffect as j, watch as K, computed as v, onMounted as M, openBlock as y, createBlock as O, Teleport as q, createVNode as w, Transition as F, withCtx as g, withDirectives as G, createElementVNode as k, normalizeClass as $, unref as n, createElementBlock as H, createCommentVNode as x, normalizeStyle as I, renderSlot as f, vShow as J } from "vue";
|
|
2
|
-
import { useBreakpoints as Q, breakpointsTailwind as U, useEventListener as S, useSwipe as W } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.
|
|
2
|
+
import { useBreakpoints as Q, breakpointsTailwind as U, useEventListener as S, useSwipe as W } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useTheme as Y } from "../../composables/useTheme.js";
|
|
4
4
|
import Z from "../scroll/Scroll.vue.js";
|
|
5
5
|
const ee = {
|
|
@@ -40,7 +40,7 @@ export type FormInput = {
|
|
|
40
40
|
type InternalClasses = 'wrapper' | 'content' | 'title' | 'description' | 'footer';
|
|
41
41
|
export interface FormTheme extends ThemeComponent<FormProps, InternalClasses> {
|
|
42
42
|
}
|
|
43
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
44
44
|
autoValidate: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
60
|
type: BooleanConstructor;
|
|
61
61
|
default: boolean;
|
|
62
62
|
};
|
|
63
|
-
}
|
|
63
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
64
|
autoValidate: {
|
|
65
65
|
type: BooleanConstructor;
|
|
66
66
|
default: boolean;
|
|
@@ -80,15 +80,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
82
82
|
};
|
|
83
|
-
}>> & {
|
|
83
|
+
}>> & Readonly<{
|
|
84
84
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
}
|
|
85
|
+
}>, {
|
|
86
86
|
autoValidate: boolean;
|
|
87
87
|
autoFocus: boolean;
|
|
88
88
|
disabled: boolean;
|
|
89
89
|
errors: [FormError[], FormError];
|
|
90
90
|
hasFooter: boolean;
|
|
91
|
-
}, {}>, {
|
|
91
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
92
92
|
header?(_: {}): any;
|
|
93
93
|
default?(_: {}): any;
|
|
94
94
|
footer?(_: {}): any;
|
|
@@ -50,7 +50,7 @@ export type FormGroupInput = {
|
|
|
50
50
|
type InternalClasses = 'wrapper';
|
|
51
51
|
export interface FormGroupTheme extends ThemeComponent<FormGroupProps, InternalClasses> {
|
|
52
52
|
}
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
54
54
|
vertical: {
|
|
55
55
|
type: BooleanConstructor;
|
|
56
56
|
default: boolean;
|
|
@@ -84,13 +84,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
84
84
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
85
85
|
readonly default: "active";
|
|
86
86
|
};
|
|
87
|
-
}
|
|
87
|
+
}>, {
|
|
88
88
|
focus: () => void;
|
|
89
89
|
blur: typeof blur;
|
|
90
90
|
reset: () => void;
|
|
91
91
|
validate: (val?: any) => boolean;
|
|
92
92
|
setError: (val: string) => void;
|
|
93
|
-
},
|
|
93
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
vertical: {
|
|
95
95
|
type: BooleanConstructor;
|
|
96
96
|
default: boolean;
|
|
@@ -124,9 +124,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
124
124
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
125
125
|
readonly default: "active";
|
|
126
126
|
};
|
|
127
|
-
}>> & {
|
|
127
|
+
}>> & Readonly<{
|
|
128
128
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
129
|
-
}
|
|
129
|
+
}>, {
|
|
130
130
|
disabled: boolean;
|
|
131
131
|
loading: boolean;
|
|
132
132
|
loadingStatus: import("../loader/Loader.vue").LoaderStatus;
|
|
@@ -138,7 +138,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
138
138
|
rules: unknown[];
|
|
139
139
|
skipFormRegistry: boolean;
|
|
140
140
|
vertical: boolean;
|
|
141
|
-
}, {}>, {
|
|
141
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
142
142
|
default?(_: {}): any;
|
|
143
143
|
}>;
|
|
144
144
|
export default _default;
|