@indielayer/ui 1.14.5 → 1.15.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/avatar/usage.vue +1 -1
- package/docs/pages/component/input/usage.vue +22 -8
- package/docs/pages/component/table/selectable.vue +1 -1
- package/docs/pages/component/table/virtual.vue +2 -1
- package/docs/pages/component/tag/usage.vue +1 -1
- package/docs/pages/component/textarea/usage.vue +22 -8
- package/lib/components/avatar/Avatar.vue2.js +20 -19
- package/lib/components/avatar/theme/Avatar.base.theme.js +9 -12
- package/lib/components/datepicker/Datepicker.vue.js +1 -1
- package/lib/components/drawer/Drawer.vue.js +66 -60
- package/lib/components/input/Input.vue.d.ts +8 -0
- package/lib/components/input/Input.vue.js +84 -69
- package/lib/components/inputFooter/InputFooter.vue.d.ts +13 -2
- package/lib/components/inputFooter/InputFooter.vue.js +35 -19
- package/lib/components/inputFooter/theme/InputFooter.base.theme.js +3 -1
- package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +3 -1
- package/lib/components/popover/Popover.vue.d.ts +1 -1
- package/lib/components/select/Select.vue.d.ts +38 -10
- package/lib/components/select/Select.vue.js +210 -200
- package/lib/components/table/Table.vue.d.ts +55 -19
- package/lib/components/table/Table.vue.js +256 -214
- package/lib/components/table/TableCell.vue.d.ts +9 -0
- package/lib/components/table/TableCell.vue.js +45 -21
- package/lib/components/table/TableHeader.vue.js +14 -14
- package/lib/components/table/theme/TableCell.base.theme.js +3 -3
- package/lib/components/tag/Tag.vue.d.ts +3 -0
- package/lib/components/tag/Tag.vue.js +37 -35
- package/lib/components/textarea/Textarea.vue.d.ts +19 -3
- package/lib/components/textarea/Textarea.vue.js +102 -76
- package/lib/components/textarea/theme/Textarea.base.theme.js +2 -1
- package/lib/components/textarea/theme/Textarea.carbon.theme.js +2 -1
- package/lib/components/upload/Upload.vue.js +91 -86
- package/lib/index.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/components/avatar/Avatar.vue +2 -2
- package/src/components/avatar/theme/Avatar.base.theme.ts +0 -5
- package/src/components/datepicker/Datepicker.vue +6 -1
- package/src/components/drawer/Drawer.vue +13 -2
- package/src/components/input/Input.vue +27 -2
- package/src/components/inputFooter/InputFooter.vue +35 -3
- package/src/components/inputFooter/theme/InputFooter.base.theme.ts +2 -0
- package/src/components/inputFooter/theme/InputFooter.carbon.theme.ts +2 -0
- package/src/components/select/Select.vue +21 -8
- package/src/components/table/Table.vue +170 -48
- package/src/components/table/TableCell.vue +23 -0
- package/src/components/table/TableHeader.vue +2 -2
- package/src/components/table/theme/TableCell.base.theme.ts +20 -11
- package/src/components/tag/Tag.vue +8 -3
- package/src/components/textarea/Textarea.vue +69 -30
- package/src/components/textarea/theme/Textarea.base.theme.ts +2 -0
- package/src/components/textarea/theme/Textarea.carbon.theme.ts +2 -0
- package/src/components/upload/Upload.vue +12 -2
- package/src/version.ts +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<x-avatar name="John Smith" rounded />
|
|
4
4
|
<x-avatar name="Andrew Colt" />
|
|
5
5
|
<x-badge color="green" outlined position="bottom">
|
|
6
|
-
<x-avatar rounded name="Janet" image="https://
|
|
6
|
+
<x-avatar rounded name="Janet" image="https://gravatar.com/avatar/aa99b351245441b8ca95d54a52d2998c" />
|
|
7
7
|
</x-badge>
|
|
8
8
|
</div>
|
|
9
9
|
</template>
|
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref } from 'vue'
|
|
3
3
|
const name = ref('John')
|
|
4
|
+
const title = ref('')
|
|
4
5
|
</script>
|
|
5
6
|
|
|
6
7
|
<template>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
<div class="grid gap-6">
|
|
9
|
+
<x-input
|
|
10
|
+
v-model="name"
|
|
11
|
+
label="Name"
|
|
12
|
+
name="name"
|
|
13
|
+
placeholder="Placeholder"
|
|
14
|
+
helper="Helper text here"
|
|
15
|
+
tooltip="Tooltip here"
|
|
16
|
+
clearable
|
|
17
|
+
/>
|
|
18
|
+
|
|
19
|
+
<x-input
|
|
20
|
+
v-model="title"
|
|
21
|
+
label="Title with character counter"
|
|
22
|
+
name="title"
|
|
23
|
+
maxlength="50"
|
|
24
|
+
show-counter
|
|
25
|
+
helper="Character counter is displayed"
|
|
26
|
+
placeholder="Enter a title (max 50 characters)"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
15
29
|
</template>
|
|
@@ -2,18 +2,32 @@
|
|
|
2
2
|
import { ref } from 'vue'
|
|
3
3
|
|
|
4
4
|
const multiline = ref('')
|
|
5
|
+
const comment = ref('')
|
|
5
6
|
</script>
|
|
6
7
|
|
|
7
8
|
<template>
|
|
8
|
-
<div class="grid
|
|
9
|
+
<div class="grid gap-6">
|
|
10
|
+
<div class="grid grid-cols-2 gap-4">
|
|
11
|
+
<x-textarea
|
|
12
|
+
v-model="multiline"
|
|
13
|
+
label="Normal textarea"
|
|
14
|
+
helper="Helper text"
|
|
15
|
+
resizable
|
|
16
|
+
placeholder="Placeholder"
|
|
17
|
+
tooltip="Tooltip here"
|
|
18
|
+
clearable
|
|
19
|
+
/>
|
|
20
|
+
<x-textarea v-model="multiline" label="Multiline adjust" adjust-to-text clearable />
|
|
21
|
+
</div>
|
|
22
|
+
|
|
9
23
|
<x-textarea
|
|
10
|
-
v-model="
|
|
11
|
-
label="
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
24
|
+
v-model="comment"
|
|
25
|
+
label="Comment with character counter"
|
|
26
|
+
maxlength="200"
|
|
27
|
+
show-counter
|
|
28
|
+
helper="Maximum 200 characters"
|
|
29
|
+
placeholder="Enter your comment"
|
|
30
|
+
rows="4"
|
|
16
31
|
/>
|
|
17
|
-
<x-textarea v-model="multiline" label="Multiline adjust" adjust-to-text />
|
|
18
32
|
</div>
|
|
19
33
|
</template>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, ref as g, computed as v, watch as y, openBlock as n, createBlock as h, resolveDynamicComponent as w, normalizeStyle as C, unref as r, normalizeClass as S, withCtx as _, createElementBlock as s, createCommentVNode as l, toDisplayString as k, renderSlot as z, createVNode as B } from "vue";
|
|
2
2
|
import { useCommon as i } from "../../composables/useCommon.js";
|
|
3
3
|
import { useColors as I } from "../../composables/useColors.js";
|
|
4
4
|
import { useTheme as N } from "../../composables/useTheme.js";
|
|
5
5
|
import { avatarIcon as $ } from "../../common/icons.js";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import b from "../icon/Icon.vue.js";
|
|
7
|
+
const A = ["alt", "src"], D = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "leading-none"
|
|
10
|
-
},
|
|
10
|
+
}, V = {
|
|
11
11
|
...i.props(),
|
|
12
12
|
...I.props("primary"),
|
|
13
13
|
tag: {
|
|
@@ -22,18 +22,18 @@ const D = ["alt", "src"], V = {
|
|
|
22
22
|
}, E = {
|
|
23
23
|
name: "XAvatar",
|
|
24
24
|
validators: i.validators()
|
|
25
|
-
}, F = /* @__PURE__ */
|
|
25
|
+
}, F = /* @__PURE__ */ f({
|
|
26
26
|
...E,
|
|
27
|
-
props:
|
|
28
|
-
setup(
|
|
29
|
-
const a =
|
|
27
|
+
props: V,
|
|
28
|
+
setup(m) {
|
|
29
|
+
const a = m, o = g(), p = v(() => {
|
|
30
30
|
if (a.name) {
|
|
31
31
|
const e = a.name.match(/\b\w/g) || [];
|
|
32
32
|
return ((e.shift() || "") + (e.pop() || "")).toUpperCase();
|
|
33
33
|
}
|
|
34
34
|
return "";
|
|
35
35
|
});
|
|
36
|
-
typeof window < "u" && Image &&
|
|
36
|
+
typeof window < "u" && Image && y(() => a.image, (e) => {
|
|
37
37
|
if (o.value = void 0, !e)
|
|
38
38
|
return;
|
|
39
39
|
const t = new Image();
|
|
@@ -44,23 +44,24 @@ const D = ["alt", "src"], V = {
|
|
|
44
44
|
}, {
|
|
45
45
|
immediate: !0
|
|
46
46
|
});
|
|
47
|
-
const { styles: c, classes:
|
|
48
|
-
return (e, t) => (n(),
|
|
49
|
-
style:
|
|
50
|
-
class:
|
|
51
|
-
r(
|
|
47
|
+
const { styles: c, classes: u, className: d } = N("Avatar", {}, a, { source: o });
|
|
48
|
+
return (e, t) => (n(), h(w(e.tag), {
|
|
49
|
+
style: C(r(c)),
|
|
50
|
+
class: S([
|
|
51
|
+
r(d),
|
|
52
52
|
e.$style.avatar,
|
|
53
|
-
r(
|
|
53
|
+
r(u).wrapper
|
|
54
54
|
])
|
|
55
55
|
}, {
|
|
56
|
-
default:
|
|
56
|
+
default: _(() => [
|
|
57
57
|
o.value ? (n(), s("img", {
|
|
58
58
|
key: 0,
|
|
59
59
|
alt: e.alt,
|
|
60
60
|
src: e.image,
|
|
61
|
-
class: "h-full w-full"
|
|
62
|
-
}, null, 8,
|
|
63
|
-
|
|
61
|
+
class: "absolute top-0 left-0 h-full w-full"
|
|
62
|
+
}, null, 8, A)) : l("", !0),
|
|
63
|
+
e.name ? (n(), s("span", D, k(p.value), 1)) : e.name ? l("", !0) : z(e.$slots, "avatarIcon", { key: 2 }, () => [
|
|
64
|
+
B(b, {
|
|
64
65
|
size: e.size,
|
|
65
66
|
icon: r($)
|
|
66
67
|
}, null, 8, ["size", "icon"])
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r = {
|
|
2
2
|
classes: {
|
|
3
|
-
wrapper({ props:
|
|
4
|
-
const
|
|
5
|
-
return
|
|
3
|
+
wrapper({ props: t }) {
|
|
4
|
+
const e = ["relative inline-flex items-center justify-center overflow-hidden align-middle border box-content"];
|
|
5
|
+
return e.push(t.rounded ? "rounded-full" : "rounded-md"), t.size === "xs" ? e.push("h-6 w-6 text-xs") : t.size === "sm" ? e.push("h-9 w-9 text-sm") : t.size === "lg" ? e.push("h-12 w-12 text-lg") : t.size === "xl" ? e.push("h-[3.75rem] w-[3.75rem] text-xl") : e.push("h-10 w-10"), e;
|
|
6
6
|
}
|
|
7
7
|
},
|
|
8
|
-
styles({ props:
|
|
9
|
-
const s =
|
|
10
|
-
return l.
|
|
11
|
-
bg: "transparent",
|
|
12
|
-
border: e.outlined ? s[500] : "transparent"
|
|
13
|
-
}) : r.variables({
|
|
8
|
+
styles({ props: t, colors: e, css: l, data: n }) {
|
|
9
|
+
const s = e.getPalette(t.color);
|
|
10
|
+
return l.variables({
|
|
14
11
|
bg: s[100],
|
|
15
12
|
text: s[500],
|
|
16
|
-
border:
|
|
13
|
+
border: t.outlined ? s[500] : "transparent",
|
|
17
14
|
dark: {
|
|
18
15
|
bg: s[900]
|
|
19
16
|
}
|
|
20
17
|
});
|
|
21
18
|
}
|
|
22
|
-
}, i =
|
|
19
|
+
}, i = r;
|
|
23
20
|
export {
|
|
24
21
|
i as default
|
|
25
22
|
};
|
|
@@ -161,7 +161,7 @@ const W = {
|
|
|
161
161
|
}), c({ focus: v, blur: w, validate: r });
|
|
162
162
|
const { styles: B, classes: S, className: O } = V("Datepicker", {}, g);
|
|
163
163
|
return (e, H) => (N(), I("div", {
|
|
164
|
-
style: P([n(B), { "--dp-clear-btn-top": e.label ? "2.
|
|
164
|
+
style: P([n(B), { "--dp-clear-btn-top": e.label ? "2.75rem" : "1.2rem" }]),
|
|
165
165
|
class: j([
|
|
166
166
|
n(O),
|
|
167
167
|
n(S).wrapper
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useBreakpoints as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as j, ref as r, watchEffect as K, watch as M, computed as y, onMounted as O, openBlock as w, createBlock as q, Teleport as F, createVNode as g, Transition as G, withCtx as k, withDirectives as H, createElementVNode as $, normalizeClass as x, unref as n, createElementBlock as I, createCommentVNode as S, normalizeStyle as J, renderSlot as u, vShow as Q } from "vue";
|
|
2
|
+
import { useBreakpoints as U, breakpointsTailwind as W, useEventListener as E, useSwipe as Y } from "../../node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
|
+
import { useTheme as Z } from "../../composables/useTheme.js";
|
|
4
|
+
import ee from "../scroll/Scroll.vue.js";
|
|
5
|
+
const te = {
|
|
6
6
|
key: 0,
|
|
7
7
|
ref: "swipeRef",
|
|
8
8
|
class: "flex flex-col max-h-full"
|
|
9
|
-
},
|
|
9
|
+
}, oe = ["left", "right", "top", "bottom"], ie = {
|
|
10
10
|
modelValue: Boolean,
|
|
11
11
|
position: {
|
|
12
12
|
type: String,
|
|
@@ -29,126 +29,132 @@ const ee = {
|
|
|
29
29
|
type: Boolean,
|
|
30
30
|
default: !0
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, se = {
|
|
33
33
|
name: "XDrawer",
|
|
34
34
|
inheritAttrs: !1,
|
|
35
35
|
validators: {
|
|
36
|
-
position:
|
|
36
|
+
position: oe
|
|
37
37
|
}
|
|
38
|
-
},
|
|
39
|
-
...
|
|
40
|
-
props:
|
|
38
|
+
}, fe = /* @__PURE__ */ j({
|
|
39
|
+
...se,
|
|
40
|
+
props: ie,
|
|
41
41
|
emits: ["update:modelValue"],
|
|
42
|
-
setup(
|
|
43
|
-
const t =
|
|
44
|
-
|
|
45
|
-
t.breakpoint && (
|
|
46
|
-
}),
|
|
42
|
+
setup(L, { expose: B, emit: T }) {
|
|
43
|
+
const t = L, d = T, i = r(!0), s = r(t.modelValue), p = r(null), c = r(null), h = r(!1), m = typeof t.breakpoint == "string", f = U(m ? W : { md: t.breakpoint || 768 }).smaller(m ? t.breakpoint : "md");
|
|
44
|
+
K(() => {
|
|
45
|
+
t.breakpoint && (f.value ? (i.value = !0, l()) : (i.value = !1, v()));
|
|
46
|
+
}), E(p, "pointerdown", l), M(() => t.modelValue, (e) => {
|
|
47
47
|
s.value = e;
|
|
48
|
-
}), typeof window < "u" &&
|
|
49
|
-
function
|
|
48
|
+
}), typeof window < "u" && E(document, "keydown", V);
|
|
49
|
+
function V(e) {
|
|
50
50
|
e.key === "Escape" && s.value && l();
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
Y(c, {
|
|
53
53
|
onSwipeEnd(e, o) {
|
|
54
54
|
i.value && (t.position === "left" && o === "left" || t.position === "right" && o === "right" || t.position === "top" && o === "up" || t.position === "bottom" && o === "down") && l();
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const N = y(() => {
|
|
58
58
|
const e = {};
|
|
59
59
|
return t.position === "left" || t.position === "right" ? e.width = `${t.width}px` : (t.position === "top" || t.position === "bottom") && (e.height = `${t.height}px`), e;
|
|
60
|
-
}),
|
|
60
|
+
}), _ = y(() => {
|
|
61
61
|
const e = [];
|
|
62
62
|
return i.value && (e.push("absolute shadow-lg"), t.position === "top" ? e.push("top-0 inset-x-0") : t.position === "bottom" ? e.push("bottom-0 inset-x-0") : t.position === "left" ? e.push("left-0 inset-y-0") : t.position === "right" && e.push("right-0 inset-y-0")), e;
|
|
63
63
|
});
|
|
64
|
-
function
|
|
64
|
+
function C(e) {
|
|
65
65
|
e.classList.add("inset-0"), t.position === "top" ? e.style.top = `-${t.height}px` : t.position === "bottom" ? e.style.bottom = `-${t.height}px` : t.position === "left" ? e.style.left = `-${t.width}px` : t.position === "right" && (e.style.right = `-${t.width}px`);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function R(e, o) {
|
|
68
68
|
if (!i.value) {
|
|
69
69
|
o();
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
const a = () => {
|
|
73
|
+
e.removeEventListener("transitionend", a), o();
|
|
74
|
+
};
|
|
75
|
+
e.addEventListener("transitionend", a), setTimeout(() => {
|
|
73
76
|
t.backdrop && e.classList.add("bg-slate-500/30"), t.position === "top" ? e.style.top = "0" : t.position === "bottom" ? e.style.bottom = "0" : t.position === "left" ? e.style.left = "0" : t.position === "right" && (e.style.right = "0");
|
|
74
77
|
}, 1);
|
|
75
78
|
}
|
|
76
|
-
function
|
|
79
|
+
function D(e) {
|
|
77
80
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
81
|
+
function z(e, o) {
|
|
82
|
+
const a = () => {
|
|
83
|
+
e.removeEventListener("transitionend", a), o();
|
|
84
|
+
};
|
|
85
|
+
e.addEventListener("transitionend", a), setTimeout(() => {
|
|
80
86
|
t.backdrop && e.classList.remove("bg-slate-500/30"), t.position === "top" ? e.style.top = `-${t.height}px` : t.position === "bottom" ? e.style.bottom = `-${t.height}px` : t.position === "left" ? e.style.left = `-${t.width}px` : t.position === "right" && (e.style.right = `-${t.width}px`);
|
|
81
87
|
}, 1);
|
|
82
88
|
}
|
|
83
|
-
function
|
|
89
|
+
function A(e) {
|
|
84
90
|
e.classList.remove("inset-0");
|
|
85
91
|
}
|
|
86
92
|
function l(e) {
|
|
87
|
-
e && e.target !==
|
|
93
|
+
e && e.target !== p.value || (s.value = !1, d("update:modelValue", !1));
|
|
88
94
|
}
|
|
89
|
-
function
|
|
90
|
-
s.value = !0,
|
|
95
|
+
function v() {
|
|
96
|
+
s.value = !0, d("update:modelValue", !0);
|
|
91
97
|
}
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
O(() => {
|
|
99
|
+
h.value = !0;
|
|
94
100
|
});
|
|
95
|
-
const { styles:
|
|
96
|
-
return
|
|
101
|
+
const { styles: P, classes: b, className: X } = Z("Drawer", {}, t);
|
|
102
|
+
return B({ open: v, close: l }), (e, o) => h.value ? (w(), q(F, {
|
|
97
103
|
key: 0,
|
|
98
104
|
to: e.teleportTo,
|
|
99
105
|
disabled: !i.value
|
|
100
106
|
}, [
|
|
101
|
-
|
|
107
|
+
g(G, {
|
|
102
108
|
css: !1,
|
|
103
|
-
onBeforeEnter:
|
|
104
|
-
onEnter:
|
|
105
|
-
onBeforeLeave:
|
|
106
|
-
onLeave:
|
|
107
|
-
onAfterLeave:
|
|
109
|
+
onBeforeEnter: C,
|
|
110
|
+
onEnter: R,
|
|
111
|
+
onBeforeLeave: D,
|
|
112
|
+
onLeave: z,
|
|
113
|
+
onAfterLeave: A
|
|
108
114
|
}, {
|
|
109
|
-
default:
|
|
110
|
-
|
|
115
|
+
default: k(() => [
|
|
116
|
+
H($("div", {
|
|
111
117
|
ref_key: "backdropRef",
|
|
112
|
-
ref:
|
|
113
|
-
class:
|
|
118
|
+
ref: p,
|
|
119
|
+
class: x([
|
|
114
120
|
e.$attrs.class,
|
|
115
121
|
n(b).backdrop,
|
|
116
122
|
i.value || !e.breakpoint ? "absolute z-40" : ""
|
|
117
123
|
])
|
|
118
124
|
}, [
|
|
119
|
-
i.value && s.value ? (
|
|
120
|
-
|
|
125
|
+
i.value && s.value ? (w(), I("div", te, null, 512)) : S("", !0),
|
|
126
|
+
$("div", {
|
|
121
127
|
ref_key: "drawerRef",
|
|
122
|
-
ref:
|
|
123
|
-
class:
|
|
124
|
-
n(
|
|
125
|
-
|
|
128
|
+
ref: c,
|
|
129
|
+
class: x([
|
|
130
|
+
n(X),
|
|
131
|
+
_.value,
|
|
126
132
|
n(b).wrapper
|
|
127
133
|
]),
|
|
128
|
-
style:
|
|
134
|
+
style: J([N.value, n(P)])
|
|
129
135
|
}, [
|
|
130
|
-
|
|
131
|
-
|
|
136
|
+
u(e.$slots, "header"),
|
|
137
|
+
g(ee, {
|
|
132
138
|
scrollbar: !1,
|
|
133
139
|
vertical: "",
|
|
134
140
|
class: "flex-1"
|
|
135
141
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
|
|
142
|
+
default: k(() => [
|
|
143
|
+
u(e.$slots, "default")
|
|
138
144
|
]),
|
|
139
145
|
_: 3
|
|
140
146
|
}),
|
|
141
|
-
|
|
147
|
+
u(e.$slots, "footer")
|
|
142
148
|
], 6)
|
|
143
149
|
], 2), [
|
|
144
|
-
[
|
|
150
|
+
[Q, e.breakpoint ? s.value && n(f) || !n(f) : s.value]
|
|
145
151
|
])
|
|
146
152
|
]),
|
|
147
153
|
_: 3
|
|
148
154
|
})
|
|
149
|
-
], 8, ["to", "disabled"])) :
|
|
155
|
+
], 8, ["to", "disabled"])) : S("", !0);
|
|
150
156
|
}
|
|
151
157
|
});
|
|
152
158
|
export {
|
|
153
|
-
|
|
159
|
+
fe as default
|
|
154
160
|
};
|
|
@@ -23,6 +23,8 @@ declare const inputProps: {
|
|
|
23
23
|
};
|
|
24
24
|
step: (StringConstructor | NumberConstructor)[];
|
|
25
25
|
block: BooleanConstructor;
|
|
26
|
+
showCounter: BooleanConstructor;
|
|
27
|
+
clearable: BooleanConstructor;
|
|
26
28
|
modelValue: {
|
|
27
29
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
28
30
|
readonly default: undefined;
|
|
@@ -92,6 +94,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
92
94
|
};
|
|
93
95
|
step: (StringConstructor | NumberConstructor)[];
|
|
94
96
|
block: BooleanConstructor;
|
|
97
|
+
showCounter: BooleanConstructor;
|
|
98
|
+
clearable: BooleanConstructor;
|
|
95
99
|
modelValue: {
|
|
96
100
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
97
101
|
readonly default: undefined;
|
|
@@ -159,6 +163,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
159
163
|
};
|
|
160
164
|
step: (StringConstructor | NumberConstructor)[];
|
|
161
165
|
block: BooleanConstructor;
|
|
166
|
+
showCounter: BooleanConstructor;
|
|
167
|
+
clearable: BooleanConstructor;
|
|
162
168
|
modelValue: {
|
|
163
169
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
164
170
|
readonly default: undefined;
|
|
@@ -214,8 +220,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
214
220
|
hideFooter: boolean;
|
|
215
221
|
rules: unknown[];
|
|
216
222
|
skipFormRegistry: boolean;
|
|
223
|
+
clearable: boolean;
|
|
217
224
|
showPasswordToggle: boolean;
|
|
218
225
|
dir: "rtl" | "ltr";
|
|
226
|
+
showCounter: boolean;
|
|
219
227
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
220
228
|
prefix?(_: {}): any;
|
|
221
229
|
suffix?(_: {}): any;
|