@indielayer/ui 1.7.4 → 1.8.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.
- package/README.md +0 -1
- package/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/CopyButton.vue +1 -1
- package/docs/components/toolbar/ToolbarColorToggle.vue +4 -4
- package/docs/components/toolbar/ToolbarSearch.vue +1 -1
- package/docs/layouts/default.vue +2 -2
- package/docs/pages/colors.vue +1 -1
- package/docs/pages/component/alert/usage.vue +1 -1
- package/docs/pages/component/breadcrumbs/usage.vue +1 -1
- package/docs/pages/component/button/button-group.vue +1 -1
- package/docs/pages/component/button/variants.vue +1 -1
- package/docs/pages/component/drawer/usage.vue +1 -1
- package/docs/pages/component/form/usage.vue +1 -1
- package/docs/pages/component/formGroup/usage.vue +1 -1
- package/docs/pages/component/input/usage.vue +3 -2
- package/docs/pages/component/modal/composed.vue +2 -2
- package/docs/pages/component/modal/usage.vue +5 -12
- package/docs/pages/component/notifications/usage.vue +9 -9
- package/docs/pages/component/pagination/usage.vue +2 -1
- package/docs/pages/component/progress/variants.vue +8 -8
- package/docs/pages/component/radio/states.vue +6 -6
- package/docs/pages/component/radio/variants.vue +6 -6
- package/docs/pages/component/select/index.vue +5 -5
- package/docs/pages/component/select/{variants.vue → size.vue} +11 -15
- package/docs/pages/component/select/states.vue +11 -15
- package/docs/pages/component/select/usage.vue +19 -22
- package/docs/pages/component/spinner/variants.vue +1 -1
- package/docs/pages/component/table/usage.vue +1 -1
- package/docs/pages/component/tag/usage.vue +10 -18
- package/docs/pages/component/toggle/states.vue +6 -6
- package/docs/pages/component/toggle/variants.vue +6 -6
- package/docs/pages/icons.vue +36 -39
- package/docs/router/index.ts +1 -5
- package/lib/components/datepicker/Datepicker.vue.js +3 -3
- package/lib/components/drawer/Drawer.vue.js +1 -1
- package/lib/components/input/Input.vue.d.ts +3 -0
- package/lib/components/input/Input.vue.js +58 -56
- package/lib/components/menu/MenuItem.vue2.js +1 -1
- package/lib/components/modal/Modal.vue.js +1 -1
- package/lib/components/popover/Popover.vue.js +1 -1
- package/lib/components/scroll/Scroll.vue2.js +1 -1
- package/lib/components/select/Select.vue.d.ts +20 -1
- package/lib/components/select/Select.vue.js +301 -264
- package/lib/components/select/theme/Select.base.theme.js +3 -1
- package/lib/components/select/theme/Select.carbon.theme.js +3 -1
- package/lib/components/tab/Tab.vue.js +1 -1
- package/lib/components/tab/TabGroup.vue.js +2 -2
- package/lib/components/textarea/Textarea.vue.js +50 -50
- package/lib/components/tooltip/Tooltip.vue.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 → @vueuse_core@10.2.0_vue@3.3.9_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 +1 -1
- package/src/components/input/Input.vue +14 -2
- package/src/components/select/Select.vue +64 -25
- package/src/components/select/theme/Select.base.theme.ts +5 -1
- package/src/components/select/theme/Select.carbon.theme.ts +5 -1
- package/src/components/textarea/Textarea.vue +11 -1
- package/src/version.ts +1 -1
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9 → @vuepic_vue-datepicker@8.3.2_vue@3.3.9_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 → @vuepic_vue-datepicker@8.3.2_vue@3.3.9_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 → @vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_}/node_modules/@vueuse/shared/index.js +0 -0
- /package/lib/node_modules/.pnpm/{floating-vue@5.2.2_vue@3.3.9 → floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_}/node_modules/floating-vue/dist/floating-vue.js +0 -0
package/docs/router/index.ts
CHANGED
|
@@ -66,11 +66,7 @@ const router = createRouter({
|
|
|
66
66
|
history: createWebHistory('/'),
|
|
67
67
|
routes,
|
|
68
68
|
scrollBehavior(to, from, savedPosition) {
|
|
69
|
-
|
|
70
|
-
return savedPosition
|
|
71
|
-
} else {
|
|
72
|
-
return { top: 0 }
|
|
73
|
-
}
|
|
69
|
+
document.getElementById('main')?.scrollTo(0, 0)
|
|
74
70
|
},
|
|
75
71
|
})
|
|
76
72
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as C, ref as i, openBlock as I, createElementBlock as P, normalizeStyle as T, unref as l, normalizeClass as R, createVNode as s, withCtx as d, withKeys as u, withModifiers as j, createSlots as F, renderList as A, renderSlot as z, normalizeProps as L, guardReactiveProps as q } from "vue";
|
|
2
|
-
import { useMutationObserver as M } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useMutationObserver as M } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useCommon as V } from "../../composables/useCommon.js";
|
|
4
4
|
import { useInputtable as m } from "../../composables/useInputtable.js";
|
|
5
5
|
import { useInteractive as G } from "../../composables/useInteractive.js";
|
|
6
6
|
import { useTheme as Y } from "../../composables/useTheme.js";
|
|
7
7
|
import W from "../input/Input.vue.js";
|
|
8
|
-
import E from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.
|
|
9
|
-
import "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.
|
|
8
|
+
import E from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.9_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.3.9_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/main.css.js";
|
|
10
10
|
const K = {
|
|
11
11
|
multiCalendars: { type: [Boolean, Number, String, Object], default: void 0 },
|
|
12
12
|
modelValue: { type: [String, Date, Array, Object, Number], default: null },
|
|
@@ -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.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.3.9_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 = {
|
|
@@ -21,6 +21,7 @@ declare const inputProps: {
|
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
step: (StringConstructor | NumberConstructor)[];
|
|
24
25
|
block: BooleanConstructor;
|
|
25
26
|
modelValue: {
|
|
26
27
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
@@ -88,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
88
89
|
type: StringConstructor;
|
|
89
90
|
default: string;
|
|
90
91
|
};
|
|
92
|
+
step: (StringConstructor | NumberConstructor)[];
|
|
91
93
|
block: BooleanConstructor;
|
|
92
94
|
modelValue: {
|
|
93
95
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
@@ -153,6 +155,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
153
155
|
type: StringConstructor;
|
|
154
156
|
default: string;
|
|
155
157
|
};
|
|
158
|
+
step: (StringConstructor | NumberConstructor)[];
|
|
156
159
|
block: BooleanConstructor;
|
|
157
160
|
modelValue: {
|
|
158
161
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTheme as
|
|
3
|
-
import { useColors as
|
|
4
|
-
import { useCommon as
|
|
1
|
+
import { defineComponent as j, useAttrs as H, computed as O, ref as h, watch as W, openBlock as s, createBlock as l, normalizeStyle as X, unref as r, normalizeClass as a, withCtx as D, createElementVNode as y, renderSlot as v, createCommentVNode as u, mergeProps as G, toHandlers as J } from "vue";
|
|
2
|
+
import { useTheme as K } from "../../composables/useTheme.js";
|
|
3
|
+
import { useColors as M } from "../../composables/useColors.js";
|
|
4
|
+
import { useCommon as S } from "../../composables/useCommon.js";
|
|
5
5
|
import { useInputtable as f } from "../../composables/useInputtable.js";
|
|
6
|
-
import { useInteractive as
|
|
7
|
-
import { eyeIcon as
|
|
8
|
-
import
|
|
6
|
+
import { useInteractive as w } from "../../composables/useInteractive.js";
|
|
7
|
+
import { eyeIcon as Q, eyeVisibleIcon as U } from "../../common/icons.js";
|
|
8
|
+
import Y from "../label/Label.vue.js";
|
|
9
9
|
import d from "../icon/Icon.vue.js";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
...v.props(),
|
|
13
|
-
...J.props("primary"),
|
|
10
|
+
import Z from "../inputFooter/InputFooter.vue.js";
|
|
11
|
+
const x = { class: "relative" }, _ = ["id", "disabled", "min", "max", "minlength", "maxlength", "step", "dir", "name", "placeholder", "readonly", "type", "value"], ee = {
|
|
14
12
|
...S.props(),
|
|
13
|
+
...M.props("primary"),
|
|
14
|
+
...w.props(),
|
|
15
15
|
...f.props(),
|
|
16
16
|
showPasswordToggle: {
|
|
17
17
|
type: Boolean,
|
|
@@ -33,22 +33,23 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
33
33
|
type: String,
|
|
34
34
|
default: "text"
|
|
35
35
|
},
|
|
36
|
+
step: [Number, String],
|
|
36
37
|
block: Boolean
|
|
37
|
-
},
|
|
38
|
+
}, re = {
|
|
38
39
|
name: "XInput",
|
|
39
40
|
validators: {
|
|
40
|
-
...
|
|
41
|
+
...S.validators()
|
|
41
42
|
}
|
|
42
|
-
},
|
|
43
|
-
...
|
|
44
|
-
props:
|
|
43
|
+
}, de = /* @__PURE__ */ j({
|
|
44
|
+
...re,
|
|
45
|
+
props: ee,
|
|
45
46
|
emits: f.emits(),
|
|
46
|
-
setup(k, { expose:
|
|
47
|
-
const o = k, N =
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
setup(k, { expose: z, emit: N }) {
|
|
48
|
+
const o = k, I = N, c = H(), C = O(() => Object.keys(c).reduce((e, i) => (i.startsWith("data-") && (e[i] = c[i]), e), {})), g = h(null), t = h(o.type);
|
|
49
|
+
W(() => o.type, (e) => {
|
|
50
|
+
t.value = e;
|
|
50
51
|
});
|
|
51
|
-
function
|
|
52
|
+
function R(e) {
|
|
52
53
|
if (!e.target)
|
|
53
54
|
return;
|
|
54
55
|
const i = e.target;
|
|
@@ -57,52 +58,52 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
57
58
|
typeof o.min < "u" && p < Number(o.min) && (i.value = o.min.toString()), typeof o.max < "u" && p > Number(o.max) && (i.value = o.max.toString());
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
61
|
+
function V() {
|
|
62
|
+
t.value = t.value === "password" ? "text" : "password";
|
|
62
63
|
}
|
|
63
|
-
const { focus:
|
|
64
|
+
const { focus: b, blur: $ } = w(g), {
|
|
64
65
|
errorInternal: m,
|
|
65
|
-
hideFooterInternal:
|
|
66
|
-
isInsideForm:
|
|
67
|
-
inputListeners:
|
|
68
|
-
reset:
|
|
69
|
-
validate:
|
|
70
|
-
setError:
|
|
71
|
-
} = f(o, { focus:
|
|
72
|
-
return
|
|
73
|
-
style: X(r(
|
|
66
|
+
hideFooterInternal: L,
|
|
67
|
+
isInsideForm: P,
|
|
68
|
+
inputListeners: B,
|
|
69
|
+
reset: T,
|
|
70
|
+
validate: q,
|
|
71
|
+
setError: A
|
|
72
|
+
} = f(o, { focus: b, emit: I }), { styles: E, classes: n, className: F } = K("Input", {}, o, { errorInternal: m });
|
|
73
|
+
return z({ focus: b, blur: $, reset: T, validate: q, setError: A }), (e, i) => (s(), l(Y, {
|
|
74
|
+
style: X(r(E)),
|
|
74
75
|
block: e.block,
|
|
75
76
|
disabled: e.disabled,
|
|
76
77
|
required: e.required,
|
|
77
|
-
"is-inside-form": r(
|
|
78
|
+
"is-inside-form": r(P),
|
|
78
79
|
label: e.label,
|
|
79
80
|
class: a([
|
|
80
|
-
r(
|
|
81
|
-
r(
|
|
81
|
+
r(F),
|
|
82
|
+
r(n).wrapper
|
|
82
83
|
]),
|
|
83
84
|
tooltip: e.tooltip
|
|
84
85
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
e.iconLeft || e.icon ? (
|
|
86
|
+
default: D(() => [
|
|
87
|
+
y("div", x, [
|
|
88
|
+
v(e.$slots, "prefix", {}, () => [
|
|
89
|
+
e.iconLeft || e.icon ? (s(), l(d, {
|
|
89
90
|
key: 0,
|
|
90
91
|
size: e.size,
|
|
91
92
|
icon: e.iconLeft || e.icon,
|
|
92
|
-
class: a(["ml-2 left-1", r(
|
|
93
|
+
class: a(["ml-2 left-1", r(n).icon])
|
|
93
94
|
}, null, 8, ["size", "icon", "class"])) : u("", !0)
|
|
94
95
|
]),
|
|
95
|
-
|
|
96
|
+
y("input", G({
|
|
96
97
|
id: e.id,
|
|
97
98
|
ref_key: "elRef",
|
|
98
|
-
ref:
|
|
99
|
+
ref: g,
|
|
99
100
|
class: [
|
|
100
|
-
r(
|
|
101
|
+
r(n).input,
|
|
101
102
|
e.type === "password" ? "pr-10" : "",
|
|
102
103
|
// error
|
|
103
104
|
r(m) ? "border-error-500 dark:border-error-400 focus:outline-error-500" : "focus:outline-[color:var(--x-input-border)]",
|
|
104
105
|
{
|
|
105
|
-
"!pl-10": e.iconLeft,
|
|
106
|
+
"!pl-10": e.iconLeft || e.icon,
|
|
106
107
|
"!pr-10": e.iconRight
|
|
107
108
|
}
|
|
108
109
|
],
|
|
@@ -111,29 +112,30 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
111
112
|
max: e.max,
|
|
112
113
|
minlength: e.minlength,
|
|
113
114
|
maxlength: e.maxlength,
|
|
115
|
+
step: e.step,
|
|
114
116
|
dir: e.dir,
|
|
115
117
|
name: e.name,
|
|
116
118
|
placeholder: e.placeholder,
|
|
117
119
|
readonly: e.readonly,
|
|
118
|
-
type:
|
|
120
|
+
type: t.value,
|
|
119
121
|
value: typeof e.modelValue < "u" ? e.modelValue : ""
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
e.iconRight ? (
|
|
122
|
+
}, C.value, J(r(B), !0), { onChange: R }), null, 16, _),
|
|
123
|
+
v(e.$slots, "suffix", {}, () => [
|
|
124
|
+
e.iconRight ? (s(), l(d, {
|
|
123
125
|
key: 0,
|
|
124
126
|
size: e.size,
|
|
125
127
|
icon: e.iconRight,
|
|
126
|
-
class: a(["mr-2 right-1", r(
|
|
127
|
-
}, null, 8, ["size", "icon", "class"])) : e.type === "password" && e.showPasswordToggle ? (
|
|
128
|
+
class: a(["mr-2 right-1", r(n).icon])
|
|
129
|
+
}, null, 8, ["size", "icon", "class"])) : e.type === "password" && e.showPasswordToggle ? (s(), l(d, {
|
|
128
130
|
key: 1,
|
|
129
131
|
size: e.size,
|
|
130
|
-
icon:
|
|
131
|
-
class: a(["mr-2 right-1 cursor-pointer", r(
|
|
132
|
-
onClick: i[0] || (i[0] = (p) =>
|
|
132
|
+
icon: t.value === "password" ? r(Q) : r(U),
|
|
133
|
+
class: a(["mr-2 right-1 cursor-pointer", r(n).icon]),
|
|
134
|
+
onClick: i[0] || (i[0] = (p) => V())
|
|
133
135
|
}, null, 8, ["size", "icon", "class"])) : u("", !0)
|
|
134
136
|
])
|
|
135
137
|
]),
|
|
136
|
-
r(
|
|
138
|
+
r(L) ? u("", !0) : (s(), l(Z, {
|
|
137
139
|
key: 0,
|
|
138
140
|
error: r(m),
|
|
139
141
|
helper: e.helper
|
|
@@ -144,5 +146,5 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
144
146
|
}
|
|
145
147
|
});
|
|
146
148
|
export {
|
|
147
|
-
|
|
149
|
+
de as default
|
|
148
150
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, ref as p, computed as d, onMounted as S, watch as k, openBlock as l, createBlock as i, resolveDynamicComponent as x, mergeProps as N, unref as s, withCtx as R, createElementBlock as r, renderSlot as n, createCommentVNode as u, createTextVNode as I, toDisplayString as M, createElementVNode as P, Fragment as w } from "vue";
|
|
2
|
-
import { useMutationObserver as D } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useMutationObserver as D } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useColors as F } from "../../composables/useColors.js";
|
|
4
4
|
import { useCommon as h } from "../../composables/useCommon.js";
|
|
5
5
|
import { useTheme as O } from "../../composables/useTheme.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as X, ref as f, watch as g, nextTick as B, useSlots as H, computed as I, openBlock as l, createBlock as p, Teleport as M, createElementBlock as r, normalizeStyle as j, unref as o, normalizeClass as t, createCommentVNode as a, createElementVNode as S, resolveDynamicComponent as K, withCtx as w, renderSlot as i, toDisplayString as v } from "vue";
|
|
2
|
-
import { onClickOutside as L, useEventListener as q } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { onClickOutside as L, useEventListener as q } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useTheme as G } from "../../composables/useTheme.js";
|
|
4
4
|
import { useFocusTrap as J } from "../../composables/useFocusTrap.js";
|
|
5
5
|
import { closeIcon as Q } from "../../common/icons.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as a, openBlock as v, createBlock as S, unref as r, normalizeStyle as T, normalizeClass as A, withCtx as l, renderSlot as d } from "vue";
|
|
2
2
|
import { useTheme as B } from "../../composables/useTheme.js";
|
|
3
|
-
import { Dropdown as $ } from "../../node_modules/.pnpm/floating-vue@5.2.
|
|
3
|
+
import { Dropdown as $ } from "../../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_/node_modules/floating-vue/dist/floating-vue.js";
|
|
4
4
|
const k = {
|
|
5
5
|
placement: ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]
|
|
6
6
|
}, z = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as w, toRefs as y, openBlock as $, createElementBlock as z, normalizeClass as r, unref as o, normalizeStyle as E, createElementVNode as S, renderSlot as B } from "vue";
|
|
2
|
-
import { useScroll as b, useResizeObserver as g, useEventListener as k } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.
|
|
2
|
+
import { useScroll as b, useResizeObserver as g, useEventListener as k } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useTheme as C } from "../../composables/useTheme.js";
|
|
4
4
|
const L = {
|
|
5
5
|
shadow: Boolean,
|
|
@@ -6,6 +6,11 @@ declare const selectProps: {
|
|
|
6
6
|
multiple: BooleanConstructor;
|
|
7
7
|
flat: BooleanConstructor;
|
|
8
8
|
native: BooleanConstructor;
|
|
9
|
+
filterable: BooleanConstructor;
|
|
10
|
+
filterPlaceholder: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
9
14
|
modelValue: {
|
|
10
15
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
11
16
|
readonly default: undefined;
|
|
@@ -50,7 +55,7 @@ export type SelectOption = {
|
|
|
50
55
|
disabled?: boolean;
|
|
51
56
|
};
|
|
52
57
|
export type SelectProps = ExtractPublicPropTypes<typeof selectProps>;
|
|
53
|
-
type InternalClasses = 'wrapper' | 'box' | 'content' | 'iconWrapper' | 'icon';
|
|
58
|
+
type InternalClasses = 'wrapper' | 'box' | 'content' | 'search' | 'contentBody' | 'iconWrapper' | 'icon';
|
|
54
59
|
type InternalExtraData = {
|
|
55
60
|
errorInternal: Ref<boolean>;
|
|
56
61
|
};
|
|
@@ -62,6 +67,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
67
|
multiple: BooleanConstructor;
|
|
63
68
|
flat: BooleanConstructor;
|
|
64
69
|
native: BooleanConstructor;
|
|
70
|
+
filterable: BooleanConstructor;
|
|
71
|
+
filterPlaceholder: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
65
75
|
modelValue: {
|
|
66
76
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
67
77
|
readonly default: undefined;
|
|
@@ -111,6 +121,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
111
121
|
multiple: BooleanConstructor;
|
|
112
122
|
flat: BooleanConstructor;
|
|
113
123
|
native: BooleanConstructor;
|
|
124
|
+
filterable: BooleanConstructor;
|
|
125
|
+
filterPlaceholder: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
114
129
|
modelValue: {
|
|
115
130
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
116
131
|
readonly default: undefined;
|
|
@@ -165,7 +180,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
165
180
|
rules: unknown[];
|
|
166
181
|
multiple: boolean;
|
|
167
182
|
native: boolean;
|
|
183
|
+
filterable: boolean;
|
|
184
|
+
filterPlaceholder: string;
|
|
168
185
|
}, {}>, {
|
|
186
|
+
"content-header"?(_: {}): any;
|
|
187
|
+
"content-footer"?(_: {}): any;
|
|
169
188
|
icon?(_: {}): any;
|
|
170
189
|
}>;
|
|
171
190
|
export default _default;
|