@robuust-digital/vue-components 2.4.0-beta.1 → 2.5.0-beta.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/CHANGELOG.md +6 -0
- package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-CxRv55TC.js → Combobox.vue_vue_type_script_setup_true_lang-C3AfEWj5.js} +61 -72
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-Dc0jC2cn.js +836 -0
- package/dist/_shared/XMarkIcon-DdMV8USU.js +53 -0
- package/dist/combobox/index.js +1 -1
- package/dist/core/file.css +206 -0
- package/dist/core/index.js +10 -9
- package/dist/core/styles.css +1 -0
- package/dist/core.d.ts +100 -31
- package/dist/index/index.js +18 -17
- package/dist/index.d.ts +147 -78
- package/package.json +1 -1
- package/dist/_shared/ChevronDownIcon-CcE_K1lg.js +0 -41
- package/dist/_shared/Tabs.vue_vue_type_script_setup_true_lang-DMUJ5Emt.js +0 -670
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as o, openBlock as l, resolveDynamicComponent as c, normalizeClass as d, withCtx as s, renderSlot as i, createTextVNode as u, toDisplayString as f, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
const g = /* @__PURE__ */ n({
|
|
3
|
+
__name: "Badge",
|
|
4
|
+
props: {
|
|
5
|
+
as: { default: "span" },
|
|
6
|
+
label: { default: "" },
|
|
7
|
+
size: { default: "base" },
|
|
8
|
+
color: { default: "default" }
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
return (a, m) => (l(), o(c(e.as), {
|
|
12
|
+
class: d(["rvc-badge", `rvc-badge-${e.color}`, `rvc-badge-${e.size}`])
|
|
13
|
+
}, {
|
|
14
|
+
default: s(() => [
|
|
15
|
+
i(a.$slots, "default", { label: e.label }, () => [
|
|
16
|
+
u(f(e.label), 1)
|
|
17
|
+
])
|
|
18
|
+
]),
|
|
19
|
+
_: 3
|
|
20
|
+
}, 8, ["class"]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
function w(e, a) {
|
|
24
|
+
return l(), t("svg", {
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
viewBox: "0 0 20 20",
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
"aria-hidden": "true",
|
|
29
|
+
"data-slot": "icon"
|
|
30
|
+
}, [
|
|
31
|
+
r("path", {
|
|
32
|
+
"fill-rule": "evenodd",
|
|
33
|
+
d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
|
|
34
|
+
"clip-rule": "evenodd"
|
|
35
|
+
})
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
function h(e, a) {
|
|
39
|
+
return l(), t("svg", {
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
viewBox: "0 0 20 20",
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
"aria-hidden": "true",
|
|
44
|
+
"data-slot": "icon"
|
|
45
|
+
}, [
|
|
46
|
+
r("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" })
|
|
47
|
+
]);
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
g as _,
|
|
51
|
+
h as a,
|
|
52
|
+
w as r
|
|
53
|
+
};
|
package/dist/combobox/index.js
CHANGED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--rvc-file-border-radius: var(--rvc-base-border-radius);
|
|
3
|
+
--rvc-file-border-width: var(--rvc-base-border-width);
|
|
4
|
+
--rvc-file-border-color: var(--rvc-base-border-color);
|
|
5
|
+
--rvc-file-font-size: var(--rvc-base-input-font-size);
|
|
6
|
+
--rvc-file-font-weight: var(--rvc-base-input-font-weight);
|
|
7
|
+
--rvc-file-box-shadow: var(--rvc-base-box-shadow);
|
|
8
|
+
--rvc-file-color: var(--rvc-base-input-color);
|
|
9
|
+
--rvc-file-bg-color: var(--rvc-base-input-bg-color);
|
|
10
|
+
--rvc-file-bg-color-disabled: var(--rvc-base-input-bg-color-disabled);
|
|
11
|
+
--rvc-file-disabled-opacity: var(--rvc-base-input-disabled-opacity);
|
|
12
|
+
--rvc-file-icon-size: var(--rvc-base-input-icon-size);
|
|
13
|
+
--rvc-file-icon-color: var(--rvc-base-input-icon-color);
|
|
14
|
+
--rvc-file-padding-x: var(--rvc-base-input-padding-x);
|
|
15
|
+
--rvc-file-height: var(--rvc-base-input-height);
|
|
16
|
+
--rvc-file-placeholder-color: var(--rvc-base-input-placeholder-color);
|
|
17
|
+
--rvc-file-preview-size: 5rem;
|
|
18
|
+
--rvc-file-action-color: var(--color-slate-600);
|
|
19
|
+
--rvc-file-action-hover-color: var(--color-slate-900);
|
|
20
|
+
--rvc-file-delete-color: var(--color-red-600);
|
|
21
|
+
--rvc-file-delete-hover-color: var(--color-red-700);
|
|
22
|
+
|
|
23
|
+
/* Small variant */
|
|
24
|
+
--rvc-file-font-size-sm: calc(var(--rvc-base-input-font-size) * 0.9);
|
|
25
|
+
--rvc-file-padding-x-sm: calc(var(--rvc-base-input-padding-x) * 0.85);
|
|
26
|
+
--rvc-file-icon-size-sm: calc(var(--rvc-base-input-icon-size) * 0.85);
|
|
27
|
+
--rvc-file-height-sm: 1.875rem;
|
|
28
|
+
--rvc-file-preview-size-sm: 4rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@layer components {
|
|
32
|
+
.rvc-file {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 0.75rem;
|
|
36
|
+
|
|
37
|
+
.rvc-file-input {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.rvc-file-display {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-template-columns: 1fr;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: var(--rvc-file-height);
|
|
46
|
+
padding-inline: var(--rvc-file-padding-x);
|
|
47
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
48
|
+
border-width: var(--rvc-file-border-width);
|
|
49
|
+
border-radius: var(--rvc-file-border-radius);
|
|
50
|
+
border-color: var(--rvc-file-border-color);
|
|
51
|
+
outline-width: 0;
|
|
52
|
+
background-color: var(--rvc-file-bg-color);
|
|
53
|
+
background-image: none;
|
|
54
|
+
box-shadow: var(--rvc-file-box-shadow);
|
|
55
|
+
color: var(--rvc-file-color);
|
|
56
|
+
font-size: var(--rvc-file-font-size);
|
|
57
|
+
font-weight: var(--rvc-file-font-weight);
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
border-color: var(--color-slate-400);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:focus-within {
|
|
65
|
+
border-color: var(--color-blue-500);
|
|
66
|
+
box-shadow: 0 0 0 3px rgb(59 130 246 / 10%);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.rvc-file-prefix,
|
|
71
|
+
.rvc-file-suffix {
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
grid-column-start: 1;
|
|
75
|
+
grid-row-start: 1;
|
|
76
|
+
align-self: center;
|
|
77
|
+
color: var(--rvc-file-icon-color);
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.rvc-file-prefix {
|
|
82
|
+
justify-self: start;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.rvc-file-suffix {
|
|
86
|
+
justify-self: end;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.rvc-file-label {
|
|
90
|
+
grid-column-start: 1;
|
|
91
|
+
grid-row-start: 1;
|
|
92
|
+
align-self: center;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
color: var(--rvc-file-placeholder-color);
|
|
95
|
+
text-overflow: ellipsis;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:has(.rvc-file-prefix) .rvc-file-label {
|
|
100
|
+
padding-left: calc(var(--rvc-file-icon-size) + 0.25rem);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:has(.rvc-file-suffix) .rvc-file-label {
|
|
104
|
+
padding-right: calc(var(--rvc-file-icon-size) + 0.25rem);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
svg {
|
|
108
|
+
width: var(--rvc-file-icon-size);
|
|
109
|
+
height: var(--rvc-file-icon-size);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.rvc-file-preview {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
width: var(--rvc-file-preview-size);
|
|
117
|
+
height: var(--rvc-file-preview-size);
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
border-width: var(--rvc-file-border-width);
|
|
120
|
+
border-radius: var(--rvc-file-border-radius);
|
|
121
|
+
border-color: var(--rvc-file-border-color);
|
|
122
|
+
background-color: var(--color-gray-50);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.rvc-file-preview-image {
|
|
126
|
+
width: 100%;
|
|
127
|
+
height: 100%;
|
|
128
|
+
object-fit: cover;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.rvc-file-actions {
|
|
132
|
+
display: flex;
|
|
133
|
+
gap: 0.5rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.rvc-file-action {
|
|
137
|
+
display: inline-flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
gap: 0.375rem;
|
|
140
|
+
padding: 0.375rem 0.75rem;
|
|
141
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
|
|
142
|
+
border: none;
|
|
143
|
+
border-radius: var(--rvc-file-border-radius);
|
|
144
|
+
background-color: transparent;
|
|
145
|
+
color: var(--rvc-file-action-color);
|
|
146
|
+
font-size: 0.875rem;
|
|
147
|
+
font-weight: 500;
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
|
|
150
|
+
svg {
|
|
151
|
+
width: 1rem;
|
|
152
|
+
height: 1rem;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
background-color: var(--color-slate-100);
|
|
157
|
+
color: var(--rvc-file-action-hover-color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:focus {
|
|
161
|
+
outline: 2px solid var(--color-blue-500);
|
|
162
|
+
outline-offset: 2px;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.rvc-file-delete {
|
|
167
|
+
color: var(--rvc-file-delete-color);
|
|
168
|
+
|
|
169
|
+
&:hover {
|
|
170
|
+
background-color: var(--color-red-50);
|
|
171
|
+
color: var(--rvc-file-delete-hover-color);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.rvc-file-action-label {
|
|
176
|
+
line-height: 1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&.rvc-file-sm {
|
|
180
|
+
--rvc-file-font-size: var(--rvc-file-font-size-sm);
|
|
181
|
+
--rvc-file-padding-x: var(--rvc-file-padding-x-sm);
|
|
182
|
+
--rvc-file-icon-size: var(--rvc-file-icon-size-sm);
|
|
183
|
+
--rvc-file-height: var(--rvc-file-height-sm);
|
|
184
|
+
--rvc-file-preview-size: var(--rvc-file-preview-size-sm);
|
|
185
|
+
|
|
186
|
+
.rvc-file-action {
|
|
187
|
+
padding: 0.25rem 0.5rem;
|
|
188
|
+
font-size: 0.8125rem;
|
|
189
|
+
|
|
190
|
+
svg {
|
|
191
|
+
width: 0.875rem;
|
|
192
|
+
height: 0.875rem;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&:has(:disabled) {
|
|
198
|
+
opacity: var(--rvc-file-disabled-opacity);
|
|
199
|
+
|
|
200
|
+
.rvc-file-display {
|
|
201
|
+
background-color: var(--rvc-file-bg-color-disabled);
|
|
202
|
+
cursor: not-allowed;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
package/dist/core/index.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { _ as e, a as s, b as
|
|
2
|
-
import { _ as b } from "../_shared/
|
|
3
|
-
import { _ } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js";
|
|
4
|
-
import { _ as
|
|
1
|
+
import { _ as e, a as s, b as r, c as t, d as m, e as i, f as p, g as x, h as c, i as f, j as n } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-Dc0jC2cn.js";
|
|
2
|
+
import { _ as b } from "../_shared/XMarkIcon-DdMV8USU.js";
|
|
3
|
+
import { _ as l } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js";
|
|
4
|
+
import { _ as g } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-C_1WSzbH.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Accordion,
|
|
7
7
|
s as Alert,
|
|
8
8
|
b as Badge,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
l as ButtonBase,
|
|
10
|
+
r as Checkbox,
|
|
11
|
+
t as DataTable,
|
|
12
12
|
m as EmptyState,
|
|
13
|
-
|
|
13
|
+
i as FormFile,
|
|
14
|
+
g as FormInput,
|
|
14
15
|
p as FormSelect,
|
|
15
16
|
x as FormTextarea,
|
|
16
17
|
c as Pagination,
|
|
17
18
|
f as Radio,
|
|
18
|
-
|
|
19
|
+
n as Tabs
|
|
19
20
|
};
|
package/dist/core/styles.css
CHANGED
package/dist/core.d.ts
CHANGED
|
@@ -9,7 +9,24 @@ import { VNodeProps } from 'vue';
|
|
|
9
9
|
|
|
10
10
|
declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
11
|
|
|
12
|
-
declare const __VLS_component_10: DefineComponent<
|
|
12
|
+
declare const __VLS_component_10: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: FormSelectModelValue) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
icon: Icon | null;
|
|
18
|
+
size: FormSelectSize;
|
|
19
|
+
modelValue: FormSelectModelValue;
|
|
20
|
+
rootClass: string;
|
|
21
|
+
prefixIcon: Icon | null;
|
|
22
|
+
options: FormSelectOption[];
|
|
23
|
+
optionLabel: string;
|
|
24
|
+
optionValue: string;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
26
|
+
select: HTMLSelectElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
|
|
29
|
+
declare const __VLS_component_11: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
30
|
"pagination:change": (url: string) => any;
|
|
14
31
|
"pagination:perPage": (perPage: number) => any;
|
|
15
32
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
@@ -22,7 +39,7 @@ perPageOptions: number[];
|
|
|
22
39
|
fromLabel: string;
|
|
23
40
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
41
|
|
|
25
|
-
declare const
|
|
42
|
+
declare const __VLS_component_12: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
26
43
|
"update:modelValue": (value: RadioModelValue) => any;
|
|
27
44
|
}, string, PublicProps, Readonly<RadioProps> & Readonly<{
|
|
28
45
|
"onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
|
|
@@ -98,35 +115,38 @@ defaultSort: DataTableSortBy | null;
|
|
|
98
115
|
|
|
99
116
|
declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
100
117
|
|
|
101
|
-
declare const __VLS_component_8: DefineComponent<
|
|
102
|
-
"update:modelValue": (value:
|
|
103
|
-
|
|
104
|
-
|
|
118
|
+
declare const __VLS_component_8: DefineComponent<FormFileProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
119
|
+
"update:modelValue": (value: ExistingFile | File | null) => any;
|
|
120
|
+
delete: () => any;
|
|
121
|
+
}, string, PublicProps, Readonly<FormFileProps> & Readonly<{
|
|
122
|
+
"onUpdate:modelValue"?: ((value: ExistingFile | File | null) => any) | undefined;
|
|
123
|
+
onDelete?: (() => any) | undefined;
|
|
105
124
|
}>, {
|
|
106
125
|
icon: Icon | null;
|
|
107
|
-
size:
|
|
108
|
-
modelValue:
|
|
126
|
+
size: FormFileSize;
|
|
127
|
+
modelValue: File | ExistingFile | null;
|
|
109
128
|
rootClass: string;
|
|
110
129
|
prefixIcon: Icon | null;
|
|
130
|
+
placeholder: string;
|
|
131
|
+
showPreview: boolean;
|
|
132
|
+
clearLabel: string;
|
|
133
|
+
deleteLabel: string;
|
|
111
134
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
112
|
-
|
|
135
|
+
fileInput: HTMLInputElement;
|
|
113
136
|
}, any>;
|
|
114
137
|
|
|
115
|
-
declare const __VLS_component_9: DefineComponent<
|
|
116
|
-
"update:modelValue": (value:
|
|
117
|
-
}, string, PublicProps, Readonly<
|
|
118
|
-
"onUpdate:modelValue"?: ((value:
|
|
138
|
+
declare const __VLS_component_9: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
139
|
+
"update:modelValue": (value: FormInputModelValue) => any;
|
|
140
|
+
}, string, PublicProps, Readonly<FormInputProps> & Readonly<{
|
|
141
|
+
"onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
|
|
119
142
|
}>, {
|
|
120
143
|
icon: Icon | null;
|
|
121
|
-
size:
|
|
122
|
-
modelValue:
|
|
144
|
+
size: FormInputSize;
|
|
145
|
+
modelValue: string | number;
|
|
123
146
|
rootClass: string;
|
|
124
147
|
prefixIcon: Icon | null;
|
|
125
|
-
options: FormSelectOption[];
|
|
126
|
-
optionLabel: string;
|
|
127
|
-
optionValue: string;
|
|
128
148
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
129
|
-
|
|
149
|
+
input: HTMLInputElement;
|
|
130
150
|
}, any>;
|
|
131
151
|
|
|
132
152
|
declare function __VLS_template(): {
|
|
@@ -149,6 +169,25 @@ declare function __VLS_template(): {
|
|
|
149
169
|
};
|
|
150
170
|
|
|
151
171
|
declare function __VLS_template_10(): {
|
|
172
|
+
attrs: Partial<{}>;
|
|
173
|
+
slots: {
|
|
174
|
+
prefixIcon?(_: {
|
|
175
|
+
icon: Icon;
|
|
176
|
+
}): any;
|
|
177
|
+
select?(_: {}): any;
|
|
178
|
+
default?(_: {}): any;
|
|
179
|
+
default?(_: {}): any;
|
|
180
|
+
icon?(_: {
|
|
181
|
+
icon: Icon | null;
|
|
182
|
+
}): any;
|
|
183
|
+
};
|
|
184
|
+
refs: {
|
|
185
|
+
select: HTMLSelectElement;
|
|
186
|
+
};
|
|
187
|
+
rootEl: any;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
declare function __VLS_template_11(): {
|
|
152
191
|
attrs: Partial<{}>;
|
|
153
192
|
slots: {
|
|
154
193
|
perPage?(_: {
|
|
@@ -170,7 +209,7 @@ declare function __VLS_template_10(): {
|
|
|
170
209
|
rootEl: any;
|
|
171
210
|
};
|
|
172
211
|
|
|
173
|
-
declare function
|
|
212
|
+
declare function __VLS_template_12(): {
|
|
174
213
|
attrs: Partial<{}>;
|
|
175
214
|
slots: {
|
|
176
215
|
default?(_: {}): any;
|
|
@@ -311,14 +350,15 @@ declare function __VLS_template_8(): {
|
|
|
311
350
|
prefixIcon?(_: {
|
|
312
351
|
icon: Icon | null;
|
|
313
352
|
}): any;
|
|
314
|
-
input?(_: {}): any;
|
|
315
353
|
suffix?(_: {}): any;
|
|
316
354
|
icon?(_: {
|
|
317
355
|
icon: Icon | null;
|
|
318
356
|
}): any;
|
|
357
|
+
clearIcon?(_: {}): any;
|
|
358
|
+
deleteIcon?(_: {}): any;
|
|
319
359
|
};
|
|
320
360
|
refs: {
|
|
321
|
-
|
|
361
|
+
fileInput: HTMLInputElement;
|
|
322
362
|
};
|
|
323
363
|
rootEl: any;
|
|
324
364
|
};
|
|
@@ -326,18 +366,18 @@ declare function __VLS_template_8(): {
|
|
|
326
366
|
declare function __VLS_template_9(): {
|
|
327
367
|
attrs: Partial<{}>;
|
|
328
368
|
slots: {
|
|
369
|
+
prefix?(_: {}): any;
|
|
329
370
|
prefixIcon?(_: {
|
|
330
|
-
icon: Icon;
|
|
371
|
+
icon: Icon | null;
|
|
331
372
|
}): any;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
default?(_: {}): any;
|
|
373
|
+
input?(_: {}): any;
|
|
374
|
+
suffix?(_: {}): any;
|
|
335
375
|
icon?(_: {
|
|
336
376
|
icon: Icon | null;
|
|
337
377
|
}): any;
|
|
338
378
|
};
|
|
339
379
|
refs: {
|
|
340
|
-
|
|
380
|
+
input: HTMLInputElement;
|
|
341
381
|
};
|
|
342
382
|
rootEl: any;
|
|
343
383
|
};
|
|
@@ -348,6 +388,8 @@ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
|
348
388
|
|
|
349
389
|
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
350
390
|
|
|
391
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
392
|
+
|
|
351
393
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
352
394
|
|
|
353
395
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -382,6 +424,12 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
|
382
424
|
};
|
|
383
425
|
};
|
|
384
426
|
|
|
427
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
428
|
+
new (): {
|
|
429
|
+
$slots: S;
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
|
|
385
433
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
386
434
|
new (): {
|
|
387
435
|
$slots: S;
|
|
@@ -549,7 +597,28 @@ declare interface EmptyStateProps {
|
|
|
549
597
|
icon?: Icon | null;
|
|
550
598
|
}
|
|
551
599
|
|
|
552
|
-
export declare
|
|
600
|
+
export declare interface ExistingFile {
|
|
601
|
+
url: string;
|
|
602
|
+
name: string;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export declare const FormFile: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
606
|
+
|
|
607
|
+
export declare interface FormFileProps {
|
|
608
|
+
modelValue?: File | ExistingFile | null;
|
|
609
|
+
rootClass?: string;
|
|
610
|
+
prefixIcon?: Icon | null;
|
|
611
|
+
icon?: Icon | null;
|
|
612
|
+
size?: FormFileSize;
|
|
613
|
+
placeholder?: string;
|
|
614
|
+
showPreview?: boolean;
|
|
615
|
+
clearLabel?: string;
|
|
616
|
+
deleteLabel?: string;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
declare type FormFileSize = 'sm' | 'base';
|
|
620
|
+
|
|
621
|
+
export declare const FormInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
553
622
|
|
|
554
623
|
declare type FormInputModelValue = string | number | undefined;
|
|
555
624
|
|
|
@@ -563,7 +632,7 @@ declare interface FormInputProps {
|
|
|
563
632
|
|
|
564
633
|
declare type FormInputSize = 'sm' | 'base';
|
|
565
634
|
|
|
566
|
-
export declare const FormSelect:
|
|
635
|
+
export declare const FormSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
567
636
|
|
|
568
637
|
declare type FormSelectModelValue = string | number | object | boolean | null;
|
|
569
638
|
|
|
@@ -604,7 +673,7 @@ declare type FormTextareaSize = 'sm' | 'base';
|
|
|
604
673
|
|
|
605
674
|
declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
|
|
606
675
|
|
|
607
|
-
export declare const Pagination:
|
|
676
|
+
export declare const Pagination: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
608
677
|
|
|
609
678
|
declare interface PaginationData {
|
|
610
679
|
total: number;
|
|
@@ -628,7 +697,7 @@ declare interface PaginationProps {
|
|
|
628
697
|
fromLabel?: string;
|
|
629
698
|
}
|
|
630
699
|
|
|
631
|
-
export declare const Radio:
|
|
700
|
+
export declare const Radio: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
632
701
|
|
|
633
702
|
declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
|
|
634
703
|
|
package/dist/index/index.js
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i, j as c } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-Dc0jC2cn.js";
|
|
2
|
+
import { _ as b } from "../_shared/XMarkIcon-DdMV8USU.js";
|
|
3
3
|
import { _ as n } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-BLm8QzEC.js";
|
|
4
4
|
import { _ as h } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-C_1WSzbH.js";
|
|
5
|
-
import { _ as g } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as g } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-C3AfEWj5.js";
|
|
6
6
|
import { _ as B } from "../_shared/Drawer.vue_vue_type_script_setup_true_lang-XMND_Yzl.js";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
7
|
+
import { _ as u } from "../_shared/Modal.vue_vue_type_script_setup_true_lang-2AljJgxw.js";
|
|
8
|
+
import { _ as C } from "../_shared/Dropdown.vue_vue_type_script_setup_true_lang-BtkiBqxy.js";
|
|
9
|
+
import { _ as R } from "../_shared/Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js";
|
|
10
|
+
import { _ as j } from "../_shared/RichTextEditor.vue_vue_type_script_setup_true_lang-BLs_S_-D.js";
|
|
11
11
|
import { _ as y } from "../_shared/Toast.vue_vue_type_script_setup_true_lang-BfMkJm5T.js";
|
|
12
12
|
import { _ as L } from "../_shared/Tooltip.vue_vue_type_script_setup_true_lang-CKp1wzE2.js";
|
|
13
13
|
export {
|
|
14
14
|
r as Accordion,
|
|
15
15
|
t as Alert,
|
|
16
|
-
|
|
16
|
+
b as Badge,
|
|
17
17
|
n as ButtonBase,
|
|
18
18
|
e as Checkbox,
|
|
19
19
|
g as Combobox,
|
|
20
20
|
s as DataTable,
|
|
21
21
|
B as Drawer,
|
|
22
|
-
|
|
22
|
+
C as Dropdown,
|
|
23
23
|
m as EmptyState,
|
|
24
|
+
p as FormFile,
|
|
24
25
|
h as FormInput,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
x as FormSelect,
|
|
27
|
+
f as FormTextarea,
|
|
28
|
+
R as Lightswitch,
|
|
29
|
+
u as Modal,
|
|
30
|
+
_ as Pagination,
|
|
31
|
+
i as Radio,
|
|
32
|
+
j as RichTextEditor,
|
|
33
|
+
c as Tabs,
|
|
33
34
|
y as Toast,
|
|
34
35
|
L as Tooltip
|
|
35
36
|
};
|