@indielayer/ui 1.14.5 → 1.15.0

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.
Files changed (56) hide show
  1. package/docs/pages/component/avatar/usage.vue +1 -1
  2. package/docs/pages/component/input/usage.vue +22 -8
  3. package/docs/pages/component/table/selectable.vue +1 -1
  4. package/docs/pages/component/table/virtual.vue +2 -1
  5. package/docs/pages/component/tag/usage.vue +1 -1
  6. package/docs/pages/component/textarea/usage.vue +22 -8
  7. package/lib/components/avatar/Avatar.vue2.js +20 -19
  8. package/lib/components/avatar/theme/Avatar.base.theme.js +9 -12
  9. package/lib/components/datepicker/Datepicker.vue.js +1 -1
  10. package/lib/components/drawer/Drawer.vue.js +66 -60
  11. package/lib/components/input/Input.vue.d.ts +8 -0
  12. package/lib/components/input/Input.vue.js +84 -69
  13. package/lib/components/inputFooter/InputFooter.vue.d.ts +13 -2
  14. package/lib/components/inputFooter/InputFooter.vue.js +35 -19
  15. package/lib/components/inputFooter/theme/InputFooter.base.theme.js +3 -1
  16. package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +3 -1
  17. package/lib/components/popover/Popover.vue.d.ts +1 -1
  18. package/lib/components/select/Select.vue.d.ts +38 -10
  19. package/lib/components/select/Select.vue.js +210 -200
  20. package/lib/components/table/Table.vue.d.ts +55 -19
  21. package/lib/components/table/Table.vue.js +256 -214
  22. package/lib/components/table/TableCell.vue.d.ts +9 -0
  23. package/lib/components/table/TableCell.vue.js +45 -21
  24. package/lib/components/table/TableHeader.vue.js +14 -14
  25. package/lib/components/table/theme/TableCell.base.theme.js +3 -3
  26. package/lib/components/tag/Tag.vue.d.ts +3 -0
  27. package/lib/components/tag/Tag.vue.js +37 -35
  28. package/lib/components/textarea/Textarea.vue.d.ts +19 -3
  29. package/lib/components/textarea/Textarea.vue.js +98 -76
  30. package/lib/components/textarea/theme/Textarea.base.theme.js +2 -1
  31. package/lib/components/textarea/theme/Textarea.carbon.theme.js +2 -1
  32. package/lib/components/upload/Upload.vue.js +91 -86
  33. package/lib/index.js +1 -1
  34. package/lib/index.umd.js +4 -4
  35. package/lib/version.d.ts +1 -1
  36. package/lib/version.js +1 -1
  37. package/package.json +1 -1
  38. package/src/components/avatar/Avatar.vue +2 -2
  39. package/src/components/avatar/theme/Avatar.base.theme.ts +0 -5
  40. package/src/components/datepicker/Datepicker.vue +6 -1
  41. package/src/components/drawer/Drawer.vue +13 -2
  42. package/src/components/input/Input.vue +27 -2
  43. package/src/components/inputFooter/InputFooter.vue +35 -3
  44. package/src/components/inputFooter/theme/InputFooter.base.theme.ts +2 -0
  45. package/src/components/inputFooter/theme/InputFooter.carbon.theme.ts +2 -0
  46. package/src/components/select/Select.vue +21 -8
  47. package/src/components/table/Table.vue +170 -48
  48. package/src/components/table/TableCell.vue +23 -0
  49. package/src/components/table/TableHeader.vue +2 -2
  50. package/src/components/table/theme/TableCell.base.theme.ts +20 -11
  51. package/src/components/tag/Tag.vue +8 -3
  52. package/src/components/textarea/Textarea.vue +63 -30
  53. package/src/components/textarea/theme/Textarea.base.theme.ts +2 -0
  54. package/src/components/textarea/theme/Textarea.carbon.theme.ts +2 -0
  55. package/src/components/upload/Upload.vue +12 -2
  56. 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://images.unsplash.com/photo-1597223557154-721c1cecc4b0?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=128&q=80" />
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
- <x-input
8
- v-model="name"
9
- label="Name"
10
- name="name"
11
- placeholder="Placeholder"
12
- helper="Helper text here"
13
- tooltip="Tooltip here"
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>
@@ -65,4 +65,4 @@ const singleSelected = ref<number>(2)
65
65
  />
66
66
  </x-card>
67
67
  </div>
68
- </template>
68
+ </template>
@@ -51,7 +51,8 @@ const selected = ref<number[]>([])
51
51
  class="!h-80"
52
52
  fixed
53
53
  virtual-list
54
- :virtual-list-item-height="54"
54
+ :to-fn="(item: any) => `/books/${item.id}`"
55
+ :virtual-list-item-height="44"
55
56
  selectable
56
57
  >
57
58
  <template #item-action="{ item }">
@@ -6,7 +6,7 @@ const notifications = useNotifications()
6
6
 
7
7
  <template>
8
8
  <div class="space-x-2 space-y-2">
9
- <x-tag color="primary">Hello</x-tag>
9
+ <x-tag color="primary" to="/">Hello</x-tag>
10
10
  <x-tag color="purple">Hello</x-tag>
11
11
  <x-tag
12
12
  color="green"
@@ -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 grid-cols-2 gap-4">
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="multiline"
11
- label="Normal textarea"
12
- helper="Helper text"
13
- resizable
14
- placeholder="Placeholder"
15
- tooltip="Tooltip here"
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 d, ref as f, computed as g, watch as v, openBlock as n, createBlock as y, resolveDynamicComponent as h, normalizeStyle as w, unref as r, normalizeClass as C, withCtx as S, createElementBlock as s, toDisplayString as _, renderSlot as k, createVNode as z, createCommentVNode as B } from "vue";
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 A from "../icon/Icon.vue.js";
7
- const D = ["alt", "src"], V = {
6
+ import b from "../icon/Icon.vue.js";
7
+ const A = ["alt", "src"], D = {
8
8
  key: 1,
9
9
  class: "leading-none"
10
- }, b = {
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__ */ d({
25
+ }, F = /* @__PURE__ */ f({
26
26
  ...E,
27
- props: b,
28
- setup(l) {
29
- const a = l, o = f(), m = g(() => {
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 && v(() => a.image, (e) => {
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: p, className: u } = N("Avatar", {}, a, { source: o });
48
- return (e, t) => (n(), y(h(e.tag), {
49
- style: w(r(c)),
50
- class: C([
51
- r(u),
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(p).wrapper
53
+ r(u).wrapper
54
54
  ])
55
55
  }, {
56
- default: S(() => [
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, D)) : e.name ? (n(), s("span", V, _(m.value), 1)) : e.name ? B("", !0) : k(e.$slots, "avatarIcon", { key: 2 }, () => [
63
- z(A, {
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 n = {
1
+ const r = {
2
2
  classes: {
3
- wrapper({ props: e }) {
4
- const t = ["relative inline-flex items-center justify-center overflow-hidden align-middle border box-content"];
5
- return t.push(e.rounded ? "rounded-full" : "rounded-md"), e.size === "xs" ? t.push("h-6 w-6 text-xs") : e.size === "sm" ? t.push("h-9 w-9 text-sm") : e.size === "lg" ? t.push("h-12 w-12 text-lg") : e.size === "xl" ? t.push("h-[3.75rem] w-[3.75rem] text-xl") : t.push("h-10 w-10"), t;
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: e, colors: t, css: r, data: l }) {
9
- const s = t.getPalette(e.color);
10
- return l.source ? r.variables({
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: e.outlined ? s[500] : "transparent",
13
+ border: t.outlined ? s[500] : "transparent",
17
14
  dark: {
18
15
  bg: s[900]
19
16
  }
20
17
  });
21
18
  }
22
- }, i = n;
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.70rem" : "1.2rem" }]),
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 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@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
3
- import { useTheme as Y } from "../../composables/useTheme.js";
4
- import Z from "../scroll/Scroll.vue.js";
5
- const ee = {
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
- }, te = ["left", "right", "top", "bottom"], oe = {
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
- }, ie = {
32
+ }, se = {
33
33
  name: "XDrawer",
34
34
  inheritAttrs: !1,
35
35
  validators: {
36
- position: te
36
+ position: oe
37
37
  }
38
- }, pe = /* @__PURE__ */ X({
39
- ...ie,
40
- props: oe,
38
+ }, fe = /* @__PURE__ */ j({
39
+ ...se,
40
+ props: ie,
41
41
  emits: ["update:modelValue"],
42
- setup(E, { expose: L, emit: B }) {
43
- const t = E, u = B, i = a(!0), s = a(t.modelValue), r = a(null), d = a(null), c = a(!1), h = typeof t.breakpoint == "string", p = Q(h ? U : { md: t.breakpoint || 768 }).smaller(h ? t.breakpoint : "md");
44
- j(() => {
45
- t.breakpoint && (p.value ? (i.value = !0, l()) : (i.value = !1, m()));
46
- }), S(r, "pointerdown", l), K(() => t.modelValue, (e) => {
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" && S(document, "keydown", T);
49
- function T(e) {
48
+ }), typeof window < "u" && E(document, "keydown", V);
49
+ function V(e) {
50
50
  e.key === "Escape" && s.value && l();
51
51
  }
52
- W(d, {
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 V = v(() => {
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
- }), N = v(() => {
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 _(e) {
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 C(e, o) {
67
+ function R(e, o) {
68
68
  if (!i.value) {
69
69
  o();
70
70
  return;
71
71
  }
72
- e.addEventListener("transitionend", o), setTimeout(() => {
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 R(e) {
79
+ function D(e) {
77
80
  }
78
- function D(e, o) {
79
- e.addEventListener("transitionend", o), setTimeout(() => {
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 z(e) {
89
+ function A(e) {
84
90
  e.classList.remove("inset-0");
85
91
  }
86
92
  function l(e) {
87
- e && e.target !== r.value || (s.value = !1, u("update:modelValue", !1));
93
+ e && e.target !== p.value || (s.value = !1, d("update:modelValue", !1));
88
94
  }
89
- function m() {
90
- s.value = !0, u("update:modelValue", !0);
95
+ function v() {
96
+ s.value = !0, d("update:modelValue", !0);
91
97
  }
92
- M(() => {
93
- c.value = !0;
98
+ O(() => {
99
+ h.value = !0;
94
100
  });
95
- const { styles: A, classes: b, className: P } = Y("Drawer", {}, t);
96
- return L({ open: m, close: l }), (e, o) => c.value ? (y(), O(q, {
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
- w(F, {
107
+ g(G, {
102
108
  css: !1,
103
- onBeforeEnter: _,
104
- onEnter: C,
105
- onBeforeLeave: R,
106
- onLeave: D,
107
- onAfterLeave: z
109
+ onBeforeEnter: C,
110
+ onEnter: R,
111
+ onBeforeLeave: D,
112
+ onLeave: z,
113
+ onAfterLeave: A
108
114
  }, {
109
- default: g(() => [
110
- G(k("div", {
115
+ default: k(() => [
116
+ H($("div", {
111
117
  ref_key: "backdropRef",
112
- ref: r,
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 ? (y(), H("div", ee, null, 512)) : x("", !0),
120
- k("div", {
125
+ i.value && s.value ? (w(), I("div", te, null, 512)) : S("", !0),
126
+ $("div", {
121
127
  ref_key: "drawerRef",
122
- ref: d,
123
- class: $([
124
- n(P),
125
- N.value,
128
+ ref: c,
129
+ class: x([
130
+ n(X),
131
+ _.value,
126
132
  n(b).wrapper
127
133
  ]),
128
- style: I([V.value, n(A)])
134
+ style: J([N.value, n(P)])
129
135
  }, [
130
- f(e.$slots, "header"),
131
- w(Z, {
136
+ u(e.$slots, "header"),
137
+ g(ee, {
132
138
  scrollbar: !1,
133
139
  vertical: "",
134
140
  class: "flex-1"
135
141
  }, {
136
- default: g(() => [
137
- f(e.$slots, "default")
142
+ default: k(() => [
143
+ u(e.$slots, "default")
138
144
  ]),
139
145
  _: 3
140
146
  }),
141
- f(e.$slots, "footer")
147
+ u(e.$slots, "footer")
142
148
  ], 6)
143
149
  ], 2), [
144
- [J, e.breakpoint ? s.value && n(p) || !n(p) : s.value]
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"])) : x("", !0);
155
+ ], 8, ["to", "disabled"])) : S("", !0);
150
156
  }
151
157
  });
152
158
  export {
153
- pe as default
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;