@public-ui/vue 4.0.0-alpha.0 → 4.0.0-alpha.10
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 +16 -6
- package/dist/index.cjs +130 -149
- package/dist/index.d.cts +65 -0
- package/dist/index.d.mts +65 -0
- package/dist/index.d.ts +5 -7
- package/dist/index.mjs +128 -145
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { defineComponent, ref, getCurrentInstance, inject, h
|
|
1
|
+
import { defineComponent, ref, getCurrentInstance, inject, h } from 'vue';
|
|
2
2
|
|
|
3
3
|
let tagNameTransformer;
|
|
4
4
|
const setTagNameTransformer = (_tagNameTransformer) => {
|
|
5
5
|
tagNameTransformer = _tagNameTransformer;
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
const UPDATE_VALUE_EVENT = "update:modelValue";
|
|
9
|
-
const MODEL_VALUE = "modelValue";
|
|
10
8
|
const ROUTER_LINK_VALUE = "routerLink";
|
|
11
9
|
const NAV_MANAGER = "navManager";
|
|
12
10
|
const ROUTER_PROP_PREFIX = "router";
|
|
@@ -22,31 +20,16 @@ const getElementClasses = (ref2, componentClasses, defaultClasses = []) => {
|
|
|
22
20
|
);
|
|
23
21
|
};
|
|
24
22
|
const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent) => {
|
|
25
|
-
if (defineCustomElement !== void 0) {
|
|
26
|
-
defineCustomElement();
|
|
27
|
-
}
|
|
28
23
|
const Container = defineComponent((props, { attrs, slots, emit }) => {
|
|
29
|
-
|
|
24
|
+
props[modelProp];
|
|
30
25
|
const containerRef = ref();
|
|
31
26
|
const classes = new Set(getComponentClasses(attrs.class));
|
|
32
|
-
const vModelDirective = {
|
|
33
|
-
created: (el) => {
|
|
34
|
-
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
|
|
35
|
-
eventsNames.forEach((eventName) => {
|
|
36
|
-
el.addEventListener(eventName.toLowerCase(), (e) => {
|
|
37
|
-
modelPropValue = (e?.target)[modelProp];
|
|
38
|
-
emit(UPDATE_VALUE_EVENT, modelPropValue);
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
27
|
const currentInstance = getCurrentInstance();
|
|
44
28
|
const hasRouter = currentInstance?.appContext?.provides[NAV_MANAGER];
|
|
45
29
|
const navManager = hasRouter ? inject(NAV_MANAGER) : void 0;
|
|
46
30
|
const handleRouterLink = (ev) => {
|
|
47
31
|
const { routerLink } = props;
|
|
48
|
-
if (routerLink === EMPTY_PROP)
|
|
49
|
-
return;
|
|
32
|
+
if (routerLink === EMPTY_PROP) return;
|
|
50
33
|
if (navManager !== void 0) {
|
|
51
34
|
let navigationPayload = { event: ev };
|
|
52
35
|
for (const key in props) {
|
|
@@ -61,7 +44,7 @@ const defineContainer = (name, defineCustomElement, componentProps = [], modelPr
|
|
|
61
44
|
}
|
|
62
45
|
};
|
|
63
46
|
return () => {
|
|
64
|
-
|
|
47
|
+
props[modelProp];
|
|
65
48
|
getComponentClasses(attrs.class).forEach((value) => {
|
|
66
49
|
classes.add(value);
|
|
67
50
|
});
|
|
@@ -85,22 +68,9 @@ const defineContainer = (name, defineCustomElement, componentProps = [], modelPr
|
|
|
85
68
|
propsToAdd[key] = value;
|
|
86
69
|
}
|
|
87
70
|
}
|
|
88
|
-
if (modelProp) {
|
|
89
|
-
if (props[MODEL_VALUE] !== EMPTY_PROP) {
|
|
90
|
-
propsToAdd = {
|
|
91
|
-
...propsToAdd,
|
|
92
|
-
[modelProp]: props[MODEL_VALUE]
|
|
93
|
-
};
|
|
94
|
-
} else if (modelPropValue !== EMPTY_PROP) {
|
|
95
|
-
propsToAdd = {
|
|
96
|
-
...propsToAdd,
|
|
97
|
-
[modelProp]: modelPropValue
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
71
|
const newTagName = typeof tagNameTransformer === "function" ? tagNameTransformer(name) : name;
|
|
102
72
|
const node = h(newTagName, propsToAdd, slots.default && slots.default());
|
|
103
|
-
return
|
|
73
|
+
return node ;
|
|
104
74
|
};
|
|
105
75
|
});
|
|
106
76
|
if (typeof Container !== "function") {
|
|
@@ -111,10 +81,6 @@ const defineContainer = (name, defineCustomElement, componentProps = [], modelPr
|
|
|
111
81
|
componentProps.forEach((componentProp) => {
|
|
112
82
|
Container.props[componentProp] = DEFAULT_EMPTY_PROP;
|
|
113
83
|
});
|
|
114
|
-
if (modelProp) {
|
|
115
|
-
Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
|
|
116
|
-
Container.emits = [UPDATE_VALUE_EVENT];
|
|
117
|
-
}
|
|
118
84
|
}
|
|
119
85
|
return Container;
|
|
120
86
|
};
|
|
@@ -139,6 +105,7 @@ const KolAlert = /* @__PURE__ */ defineContainer("kol-alert", void 0, [
|
|
|
139
105
|
"_variant"
|
|
140
106
|
]);
|
|
141
107
|
const KolAvatar = /* @__PURE__ */ defineContainer("kol-avatar", void 0, [
|
|
108
|
+
"_color",
|
|
142
109
|
"_src",
|
|
143
110
|
"_label"
|
|
144
111
|
]);
|
|
@@ -163,19 +130,18 @@ const KolButton = /* @__PURE__ */ defineContainer("kol-button", void 0, [
|
|
|
163
130
|
"_hideLabel",
|
|
164
131
|
"_icons",
|
|
165
132
|
"_id",
|
|
133
|
+
"_inline",
|
|
166
134
|
"_label",
|
|
167
135
|
"_name",
|
|
168
136
|
"_on",
|
|
169
137
|
"_role",
|
|
170
138
|
"_shortKey",
|
|
171
139
|
"_syncValueBySelector",
|
|
172
|
-
"_tabIndex",
|
|
173
140
|
"_tooltipAlign",
|
|
174
141
|
"_type",
|
|
175
142
|
"_value",
|
|
176
143
|
"_variant"
|
|
177
144
|
]);
|
|
178
|
-
const KolButtonGroup = /* @__PURE__ */ defineContainer("kol-button-group", void 0);
|
|
179
145
|
const KolButtonLink = /* @__PURE__ */ defineContainer("kol-button-link", void 0, [
|
|
180
146
|
"_accessKey",
|
|
181
147
|
"_ariaControls",
|
|
@@ -186,13 +152,13 @@ const KolButtonLink = /* @__PURE__ */ defineContainer("kol-button-link", void 0,
|
|
|
186
152
|
"_hideLabel",
|
|
187
153
|
"_icons",
|
|
188
154
|
"_id",
|
|
155
|
+
"_inline",
|
|
189
156
|
"_label",
|
|
190
157
|
"_name",
|
|
191
158
|
"_on",
|
|
192
159
|
"_role",
|
|
193
160
|
"_shortKey",
|
|
194
161
|
"_syncValueBySelector",
|
|
195
|
-
"_tabIndex",
|
|
196
162
|
"_tooltipAlign",
|
|
197
163
|
"_type",
|
|
198
164
|
"_value"
|
|
@@ -203,12 +169,17 @@ const KolCard = /* @__PURE__ */ defineContainer("kol-card", void 0, [
|
|
|
203
169
|
"_label",
|
|
204
170
|
"_level"
|
|
205
171
|
]);
|
|
172
|
+
const KolCardWc = /* @__PURE__ */ defineContainer("kol-card-wc", void 0, [
|
|
173
|
+
"_on",
|
|
174
|
+
"_hasCloser",
|
|
175
|
+
"_label",
|
|
176
|
+
"_level"
|
|
177
|
+
]);
|
|
206
178
|
const KolCombobox = /* @__PURE__ */ defineContainer("kol-combobox", void 0, [
|
|
207
179
|
"_accessKey",
|
|
208
180
|
"_placeholder",
|
|
209
|
-
"_alert",
|
|
210
181
|
"_disabled",
|
|
211
|
-
"
|
|
182
|
+
"_hideMsg",
|
|
212
183
|
"_hideLabel",
|
|
213
184
|
"_hint",
|
|
214
185
|
"_icons",
|
|
@@ -217,11 +188,11 @@ const KolCombobox = /* @__PURE__ */ defineContainer("kol-combobox", void 0, [
|
|
|
217
188
|
"_msg",
|
|
218
189
|
"_name",
|
|
219
190
|
"_on",
|
|
191
|
+
"_hideClearButton",
|
|
220
192
|
"_suggestions",
|
|
221
193
|
"_required",
|
|
222
194
|
"_shortKey",
|
|
223
195
|
"_syncValueBySelector",
|
|
224
|
-
"_tabIndex",
|
|
225
196
|
"_tooltipAlign",
|
|
226
197
|
"_touched",
|
|
227
198
|
"_value"
|
|
@@ -236,8 +207,8 @@ const KolDetails = /* @__PURE__ */ defineContainer("kol-details", void 0, [
|
|
|
236
207
|
const KolDrawer = /* @__PURE__ */ defineContainer("kol-drawer", void 0, [
|
|
237
208
|
"_open",
|
|
238
209
|
"_align",
|
|
210
|
+
"_hasCloser",
|
|
239
211
|
"_label",
|
|
240
|
-
"_modal",
|
|
241
212
|
"_on"
|
|
242
213
|
]);
|
|
243
214
|
const KolForm = /* @__PURE__ */ defineContainer("kol-form", void 0, [
|
|
@@ -248,8 +219,7 @@ const KolForm = /* @__PURE__ */ defineContainer("kol-form", void 0, [
|
|
|
248
219
|
const KolHeading = /* @__PURE__ */ defineContainer("kol-heading", void 0, [
|
|
249
220
|
"_label",
|
|
250
221
|
"_level",
|
|
251
|
-
"_secondaryHeadline"
|
|
252
|
-
"_variant"
|
|
222
|
+
"_secondaryHeadline"
|
|
253
223
|
]);
|
|
254
224
|
const KolIcon = /* @__PURE__ */ defineContainer("kol-icon", void 0, [
|
|
255
225
|
"_icons",
|
|
@@ -262,14 +232,11 @@ const KolImage = /* @__PURE__ */ defineContainer("kol-image", void 0, [
|
|
|
262
232
|
"_src",
|
|
263
233
|
"_srcset"
|
|
264
234
|
]);
|
|
265
|
-
const KolIndentedText = /* @__PURE__ */ defineContainer("kol-indented-text", void 0);
|
|
266
235
|
const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", void 0, [
|
|
267
236
|
"_accessKey",
|
|
268
|
-
"_alert",
|
|
269
237
|
"_checked",
|
|
270
|
-
"
|
|
238
|
+
"_hideMsg",
|
|
271
239
|
"_disabled",
|
|
272
|
-
"_error",
|
|
273
240
|
"_hideLabel",
|
|
274
241
|
"_hint",
|
|
275
242
|
"_icons",
|
|
@@ -283,7 +250,6 @@ const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", v
|
|
|
283
250
|
"_required",
|
|
284
251
|
"_shortKey",
|
|
285
252
|
"_syncValueBySelector",
|
|
286
|
-
"_tabIndex",
|
|
287
253
|
"_tooltipAlign",
|
|
288
254
|
"_touched",
|
|
289
255
|
"_value",
|
|
@@ -291,11 +257,9 @@ const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", v
|
|
|
291
257
|
]);
|
|
292
258
|
const KolInputColor = /* @__PURE__ */ defineContainer("kol-input-color", void 0, [
|
|
293
259
|
"_accessKey",
|
|
294
|
-
"_alert",
|
|
295
260
|
"_autoComplete",
|
|
296
261
|
"_disabled",
|
|
297
|
-
"
|
|
298
|
-
"_hideError",
|
|
262
|
+
"_hideMsg",
|
|
299
263
|
"_hideLabel",
|
|
300
264
|
"_hint",
|
|
301
265
|
"_icons",
|
|
@@ -308,18 +272,15 @@ const KolInputColor = /* @__PURE__ */ defineContainer("kol-input-color", void 0,
|
|
|
308
272
|
"_smartButton",
|
|
309
273
|
"_suggestions",
|
|
310
274
|
"_syncValueBySelector",
|
|
311
|
-
"_tabIndex",
|
|
312
275
|
"_tooltipAlign",
|
|
313
276
|
"_touched",
|
|
314
277
|
"_value"
|
|
315
278
|
]);
|
|
316
279
|
const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
317
280
|
"_accessKey",
|
|
318
|
-
"_alert",
|
|
319
281
|
"_autoComplete",
|
|
320
282
|
"_disabled",
|
|
321
|
-
"
|
|
322
|
-
"_hideError",
|
|
283
|
+
"_hideMsg",
|
|
323
284
|
"_hideLabel",
|
|
324
285
|
"_hint",
|
|
325
286
|
"_icons",
|
|
@@ -337,7 +298,6 @@ const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
|
337
298
|
"_suggestions",
|
|
338
299
|
"_syncValueBySelector",
|
|
339
300
|
"_step",
|
|
340
|
-
"_tabIndex",
|
|
341
301
|
"_tooltipAlign",
|
|
342
302
|
"_touched",
|
|
343
303
|
"_type",
|
|
@@ -345,12 +305,11 @@ const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
|
345
305
|
]);
|
|
346
306
|
const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0, [
|
|
347
307
|
"_accessKey",
|
|
348
|
-
"_alert",
|
|
349
308
|
"_autoComplete",
|
|
350
|
-
"_disabled",
|
|
351
|
-
"_error",
|
|
352
309
|
"_hasCounter",
|
|
353
|
-
"
|
|
310
|
+
"_maxLengthBehavior",
|
|
311
|
+
"_disabled",
|
|
312
|
+
"_hideMsg",
|
|
354
313
|
"_hideLabel",
|
|
355
314
|
"_hint",
|
|
356
315
|
"_icons",
|
|
@@ -369,7 +328,6 @@ const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0,
|
|
|
369
328
|
"_smartButton",
|
|
370
329
|
"_suggestions",
|
|
371
330
|
"_syncValueBySelector",
|
|
372
|
-
"_tabIndex",
|
|
373
331
|
"_tooltipAlign",
|
|
374
332
|
"_touched",
|
|
375
333
|
"_value"
|
|
@@ -377,10 +335,8 @@ const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0,
|
|
|
377
335
|
const KolInputFile = /* @__PURE__ */ defineContainer("kol-input-file", void 0, [
|
|
378
336
|
"_accept",
|
|
379
337
|
"_accessKey",
|
|
380
|
-
"_alert",
|
|
381
338
|
"_disabled",
|
|
382
|
-
"
|
|
383
|
-
"_hideError",
|
|
339
|
+
"_hideMsg",
|
|
384
340
|
"_hideLabel",
|
|
385
341
|
"_hint",
|
|
386
342
|
"_icons",
|
|
@@ -394,18 +350,14 @@ const KolInputFile = /* @__PURE__ */ defineContainer("kol-input-file", void 0, [
|
|
|
394
350
|
"_shortKey",
|
|
395
351
|
"_smartButton",
|
|
396
352
|
"_syncValueBySelector",
|
|
397
|
-
"_tabIndex",
|
|
398
353
|
"_tooltipAlign",
|
|
399
|
-
"_touched"
|
|
400
|
-
"_value"
|
|
354
|
+
"_touched"
|
|
401
355
|
]);
|
|
402
356
|
const KolInputNumber = /* @__PURE__ */ defineContainer("kol-input-number", void 0, [
|
|
403
357
|
"_accessKey",
|
|
404
|
-
"_alert",
|
|
405
358
|
"_autoComplete",
|
|
406
359
|
"_disabled",
|
|
407
|
-
"
|
|
408
|
-
"_hideError",
|
|
360
|
+
"_hideMsg",
|
|
409
361
|
"_hideLabel",
|
|
410
362
|
"_hint",
|
|
411
363
|
"_icons",
|
|
@@ -424,19 +376,17 @@ const KolInputNumber = /* @__PURE__ */ defineContainer("kol-input-number", void
|
|
|
424
376
|
"_suggestions",
|
|
425
377
|
"_step",
|
|
426
378
|
"_syncValueBySelector",
|
|
427
|
-
"_tabIndex",
|
|
428
379
|
"_tooltipAlign",
|
|
429
380
|
"_touched",
|
|
430
381
|
"_value"
|
|
431
382
|
]);
|
|
432
383
|
const KolInputPassword = /* @__PURE__ */ defineContainer("kol-input-password", void 0, [
|
|
433
384
|
"_accessKey",
|
|
434
|
-
"_alert",
|
|
435
385
|
"_autoComplete",
|
|
436
|
-
"_disabled",
|
|
437
|
-
"_error",
|
|
438
386
|
"_hasCounter",
|
|
439
|
-
"
|
|
387
|
+
"_maxLengthBehavior",
|
|
388
|
+
"_disabled",
|
|
389
|
+
"_hideMsg",
|
|
440
390
|
"_hideLabel",
|
|
441
391
|
"_hint",
|
|
442
392
|
"_icons",
|
|
@@ -453,18 +403,14 @@ const KolInputPassword = /* @__PURE__ */ defineContainer("kol-input-password", v
|
|
|
453
403
|
"_shortKey",
|
|
454
404
|
"_smartButton",
|
|
455
405
|
"_syncValueBySelector",
|
|
456
|
-
"_tabIndex",
|
|
457
406
|
"_tooltipAlign",
|
|
458
407
|
"_touched",
|
|
459
408
|
"_value",
|
|
460
409
|
"_variant"
|
|
461
410
|
]);
|
|
462
411
|
const KolInputRadio = /* @__PURE__ */ defineContainer("kol-input-radio", void 0, [
|
|
463
|
-
"_accessKey",
|
|
464
|
-
"_alert",
|
|
465
412
|
"_disabled",
|
|
466
|
-
"
|
|
467
|
-
"_hideError",
|
|
413
|
+
"_hideMsg",
|
|
468
414
|
"_hideLabel",
|
|
469
415
|
"_hint",
|
|
470
416
|
"_id",
|
|
@@ -475,20 +421,16 @@ const KolInputRadio = /* @__PURE__ */ defineContainer("kol-input-radio", void 0,
|
|
|
475
421
|
"_options",
|
|
476
422
|
"_orientation",
|
|
477
423
|
"_required",
|
|
478
|
-
"_shortKey",
|
|
479
424
|
"_syncValueBySelector",
|
|
480
|
-
"_tabIndex",
|
|
481
425
|
"_tooltipAlign",
|
|
482
426
|
"_touched",
|
|
483
427
|
"_value"
|
|
484
428
|
]);
|
|
485
429
|
const KolInputRange = /* @__PURE__ */ defineContainer("kol-input-range", void 0, [
|
|
486
430
|
"_accessKey",
|
|
487
|
-
"_alert",
|
|
488
431
|
"_autoComplete",
|
|
489
432
|
"_disabled",
|
|
490
|
-
"
|
|
491
|
-
"_hideError",
|
|
433
|
+
"_hideMsg",
|
|
492
434
|
"_hideLabel",
|
|
493
435
|
"_hint",
|
|
494
436
|
"_icons",
|
|
@@ -503,19 +445,17 @@ const KolInputRange = /* @__PURE__ */ defineContainer("kol-input-range", void 0,
|
|
|
503
445
|
"_step",
|
|
504
446
|
"_suggestions",
|
|
505
447
|
"_syncValueBySelector",
|
|
506
|
-
"_tabIndex",
|
|
507
448
|
"_tooltipAlign",
|
|
508
449
|
"_touched",
|
|
509
450
|
"_value"
|
|
510
451
|
]);
|
|
511
452
|
const KolInputText = /* @__PURE__ */ defineContainer("kol-input-text", void 0, [
|
|
512
453
|
"_accessKey",
|
|
513
|
-
"_alert",
|
|
514
454
|
"_autoComplete",
|
|
515
|
-
"_disabled",
|
|
516
|
-
"_error",
|
|
517
455
|
"_hasCounter",
|
|
518
|
-
"
|
|
456
|
+
"_maxLengthBehavior",
|
|
457
|
+
"_disabled",
|
|
458
|
+
"_hideMsg",
|
|
519
459
|
"_hideLabel",
|
|
520
460
|
"_hint",
|
|
521
461
|
"_icons",
|
|
@@ -530,10 +470,10 @@ const KolInputText = /* @__PURE__ */ defineContainer("kol-input-text", void 0, [
|
|
|
530
470
|
"_readOnly",
|
|
531
471
|
"_required",
|
|
532
472
|
"_shortKey",
|
|
473
|
+
"_spellCheck",
|
|
533
474
|
"_suggestions",
|
|
534
475
|
"_smartButton",
|
|
535
476
|
"_syncValueBySelector",
|
|
536
|
-
"_tabIndex",
|
|
537
477
|
"_tooltipAlign",
|
|
538
478
|
"_touched",
|
|
539
479
|
"_type",
|
|
@@ -546,23 +486,26 @@ const KolKolibri = /* @__PURE__ */ defineContainer("kol-kolibri", void 0, [
|
|
|
546
486
|
const KolLink = /* @__PURE__ */ defineContainer("kol-link", void 0, [
|
|
547
487
|
"_accessKey",
|
|
548
488
|
"_ariaCurrentValue",
|
|
489
|
+
"_ariaControls",
|
|
549
490
|
"_ariaDescription",
|
|
491
|
+
"_ariaExpanded",
|
|
550
492
|
"_disabled",
|
|
551
493
|
"_download",
|
|
552
494
|
"_hideLabel",
|
|
553
495
|
"_href",
|
|
554
496
|
"_icons",
|
|
497
|
+
"_inline",
|
|
555
498
|
"_label",
|
|
556
499
|
"_on",
|
|
557
500
|
"_role",
|
|
558
501
|
"_shortKey",
|
|
559
|
-
"_tabIndex",
|
|
560
502
|
"_target",
|
|
561
503
|
"_tooltipAlign"
|
|
562
504
|
]);
|
|
563
505
|
const KolLinkButton = /* @__PURE__ */ defineContainer("kol-link-button", void 0, [
|
|
564
506
|
"_accessKey",
|
|
565
507
|
"_ariaCurrentValue",
|
|
508
|
+
"_ariaControls",
|
|
566
509
|
"_ariaDescription",
|
|
567
510
|
"_customClass",
|
|
568
511
|
"_disabled",
|
|
@@ -574,25 +517,15 @@ const KolLinkButton = /* @__PURE__ */ defineContainer("kol-link-button", void 0,
|
|
|
574
517
|
"_on",
|
|
575
518
|
"_role",
|
|
576
519
|
"_shortKey",
|
|
577
|
-
"_tabIndex",
|
|
578
520
|
"_target",
|
|
579
521
|
"_tooltipAlign",
|
|
580
522
|
"_variant"
|
|
581
523
|
]);
|
|
582
|
-
const KolLinkGroup = /* @__PURE__ */ defineContainer("kol-link-group", void 0, [
|
|
583
|
-
"_listStyleType",
|
|
584
|
-
"_label",
|
|
585
|
-
"_links",
|
|
586
|
-
"_orientation"
|
|
587
|
-
]);
|
|
588
|
-
const KolLogo = /* @__PURE__ */ defineContainer("kol-logo", void 0, [
|
|
589
|
-
"_org"
|
|
590
|
-
]);
|
|
591
524
|
const KolModal = /* @__PURE__ */ defineContainer("kol-modal", void 0, [
|
|
592
|
-
"_activeElement",
|
|
593
525
|
"_label",
|
|
594
526
|
"_on",
|
|
595
|
-
"_width"
|
|
527
|
+
"_width",
|
|
528
|
+
"_variant"
|
|
596
529
|
]);
|
|
597
530
|
const KolNav = /* @__PURE__ */ defineContainer("kol-nav", void 0, [
|
|
598
531
|
"_collapsible",
|
|
@@ -600,8 +533,7 @@ const KolNav = /* @__PURE__ */ defineContainer("kol-nav", void 0, [
|
|
|
600
533
|
"_hasIconsWhenExpanded",
|
|
601
534
|
"_hideLabel",
|
|
602
535
|
"_label",
|
|
603
|
-
"_links"
|
|
604
|
-
"_orientation"
|
|
536
|
+
"_links"
|
|
605
537
|
]);
|
|
606
538
|
const KolPagination = /* @__PURE__ */ defineContainer("kol-pagination", void 0, [
|
|
607
539
|
"_boundaryCount",
|
|
@@ -616,6 +548,67 @@ const KolPagination = /* @__PURE__ */ defineContainer("kol-pagination", void 0,
|
|
|
616
548
|
"_tooltipAlign",
|
|
617
549
|
"_max"
|
|
618
550
|
]);
|
|
551
|
+
const KolPaginationWc = /* @__PURE__ */ defineContainer("kol-pagination-wc", void 0, [
|
|
552
|
+
"_boundaryCount",
|
|
553
|
+
"_customClass",
|
|
554
|
+
"_label",
|
|
555
|
+
"_hasButtons",
|
|
556
|
+
"_page",
|
|
557
|
+
"_pageSize",
|
|
558
|
+
"_pageSizeOptions",
|
|
559
|
+
"_on",
|
|
560
|
+
"_siblingCount",
|
|
561
|
+
"_tooltipAlign",
|
|
562
|
+
"_max"
|
|
563
|
+
]);
|
|
564
|
+
const KolPopoverButton = /* @__PURE__ */ defineContainer("kol-popover-button", void 0, [
|
|
565
|
+
"_accessKey",
|
|
566
|
+
"_ariaControls",
|
|
567
|
+
"_ariaDescription",
|
|
568
|
+
"_ariaSelected",
|
|
569
|
+
"_customClass",
|
|
570
|
+
"_disabled",
|
|
571
|
+
"_hideLabel",
|
|
572
|
+
"_icons",
|
|
573
|
+
"_inline",
|
|
574
|
+
"_id",
|
|
575
|
+
"_label",
|
|
576
|
+
"_name",
|
|
577
|
+
"_on",
|
|
578
|
+
"_popoverAlign",
|
|
579
|
+
"_role",
|
|
580
|
+
"_shortKey",
|
|
581
|
+
"_syncValueBySelector",
|
|
582
|
+
"_tabIndex",
|
|
583
|
+
"_tooltipAlign",
|
|
584
|
+
"_type",
|
|
585
|
+
"_value",
|
|
586
|
+
"_variant"
|
|
587
|
+
]);
|
|
588
|
+
const KolPopoverButtonWc = /* @__PURE__ */ defineContainer("kol-popover-button-wc", void 0, [
|
|
589
|
+
"_accessKey",
|
|
590
|
+
"_ariaControls",
|
|
591
|
+
"_ariaDescription",
|
|
592
|
+
"_ariaSelected",
|
|
593
|
+
"_customClass",
|
|
594
|
+
"_disabled",
|
|
595
|
+
"_hideLabel",
|
|
596
|
+
"_icons",
|
|
597
|
+
"_id",
|
|
598
|
+
"_inline",
|
|
599
|
+
"_label",
|
|
600
|
+
"_name",
|
|
601
|
+
"_on",
|
|
602
|
+
"_popoverAlign",
|
|
603
|
+
"_role",
|
|
604
|
+
"_shortKey",
|
|
605
|
+
"_syncValueBySelector",
|
|
606
|
+
"_tabIndex",
|
|
607
|
+
"_tooltipAlign",
|
|
608
|
+
"_type",
|
|
609
|
+
"_value",
|
|
610
|
+
"_variant"
|
|
611
|
+
]);
|
|
619
612
|
const KolProgress = /* @__PURE__ */ defineContainer("kol-progress", void 0, [
|
|
620
613
|
"_label",
|
|
621
614
|
"_max",
|
|
@@ -631,10 +624,8 @@ const KolQuote = /* @__PURE__ */ defineContainer("kol-quote", void 0, [
|
|
|
631
624
|
]);
|
|
632
625
|
const KolSelect = /* @__PURE__ */ defineContainer("kol-select", void 0, [
|
|
633
626
|
"_accessKey",
|
|
634
|
-
"_alert",
|
|
635
627
|
"_disabled",
|
|
636
|
-
"
|
|
637
|
-
"_hideError",
|
|
628
|
+
"_hideMsg",
|
|
638
629
|
"_hideLabel",
|
|
639
630
|
"_hint",
|
|
640
631
|
"_icons",
|
|
@@ -657,9 +648,8 @@ const KolSelect = /* @__PURE__ */ defineContainer("kol-select", void 0, [
|
|
|
657
648
|
const KolSingleSelect = /* @__PURE__ */ defineContainer("kol-single-select", void 0, [
|
|
658
649
|
"_accessKey",
|
|
659
650
|
"_placeholder",
|
|
660
|
-
"_alert",
|
|
661
651
|
"_disabled",
|
|
662
|
-
"
|
|
652
|
+
"_hideMsg",
|
|
663
653
|
"_hideLabel",
|
|
664
654
|
"_hint",
|
|
665
655
|
"_icons",
|
|
@@ -672,10 +662,11 @@ const KolSingleSelect = /* @__PURE__ */ defineContainer("kol-single-select", voi
|
|
|
672
662
|
"_required",
|
|
673
663
|
"_shortKey",
|
|
674
664
|
"_syncValueBySelector",
|
|
675
|
-
"_tabIndex",
|
|
676
665
|
"_tooltipAlign",
|
|
677
666
|
"_touched",
|
|
678
|
-
"_value"
|
|
667
|
+
"_value",
|
|
668
|
+
"_hideClearButton",
|
|
669
|
+
"_rows"
|
|
679
670
|
]);
|
|
680
671
|
const KolSkipNav = /* @__PURE__ */ defineContainer("kol-skip-nav", void 0, [
|
|
681
672
|
"_label",
|
|
@@ -683,10 +674,13 @@ const KolSkipNav = /* @__PURE__ */ defineContainer("kol-skip-nav", void 0, [
|
|
|
683
674
|
]);
|
|
684
675
|
const KolSpin = /* @__PURE__ */ defineContainer("kol-spin", void 0, [
|
|
685
676
|
"_show",
|
|
677
|
+
"_label",
|
|
686
678
|
"_variant"
|
|
687
679
|
]);
|
|
688
680
|
const KolSplitButton = /* @__PURE__ */ defineContainer("kol-split-button", void 0, [
|
|
681
|
+
"_accessKey",
|
|
689
682
|
"_ariaControls",
|
|
683
|
+
"_ariaDescription",
|
|
690
684
|
"_ariaExpanded",
|
|
691
685
|
"_ariaSelected",
|
|
692
686
|
"_customClass",
|
|
@@ -698,29 +692,13 @@ const KolSplitButton = /* @__PURE__ */ defineContainer("kol-split-button", void
|
|
|
698
692
|
"_name",
|
|
699
693
|
"_on",
|
|
700
694
|
"_role",
|
|
695
|
+
"_shortKey",
|
|
701
696
|
"_syncValueBySelector",
|
|
702
|
-
"_tabIndex",
|
|
703
697
|
"_tooltipAlign",
|
|
704
698
|
"_type",
|
|
705
699
|
"_value",
|
|
706
700
|
"_variant"
|
|
707
701
|
]);
|
|
708
|
-
const KolSymbol = /* @__PURE__ */ defineContainer("kol-symbol", void 0, [
|
|
709
|
-
"_label",
|
|
710
|
-
"_symbol"
|
|
711
|
-
]);
|
|
712
|
-
const KolTable = /* @__PURE__ */ defineContainer("kol-table", void 0, [
|
|
713
|
-
"_allowMultiSort",
|
|
714
|
-
"_data",
|
|
715
|
-
"_dataFoot",
|
|
716
|
-
"_headers",
|
|
717
|
-
"_label",
|
|
718
|
-
"_minWidth",
|
|
719
|
-
"_pagination",
|
|
720
|
-
"_paginationPosition",
|
|
721
|
-
"_selection",
|
|
722
|
-
"_on"
|
|
723
|
-
]);
|
|
724
702
|
const KolTableStateful = /* @__PURE__ */ defineContainer("kol-table-stateful", void 0, [
|
|
725
703
|
"_allowMultiSort",
|
|
726
704
|
"_data",
|
|
@@ -731,7 +709,9 @@ const KolTableStateful = /* @__PURE__ */ defineContainer("kol-table-stateful", v
|
|
|
731
709
|
"_pagination",
|
|
732
710
|
"_paginationPosition",
|
|
733
711
|
"_selection",
|
|
734
|
-
"_on"
|
|
712
|
+
"_on",
|
|
713
|
+
"_tableSettings",
|
|
714
|
+
"_hasSettingsMenu"
|
|
735
715
|
]);
|
|
736
716
|
const KolTableStateless = /* @__PURE__ */ defineContainer("kol-table-stateless", void 0, [
|
|
737
717
|
"_data",
|
|
@@ -740,11 +720,14 @@ const KolTableStateless = /* @__PURE__ */ defineContainer("kol-table-stateless",
|
|
|
740
720
|
"_label",
|
|
741
721
|
"_minWidth",
|
|
742
722
|
"_on",
|
|
743
|
-
"_selection"
|
|
723
|
+
"_selection",
|
|
724
|
+
"_tableSettings",
|
|
725
|
+
"_hasSettingsMenu"
|
|
744
726
|
]);
|
|
745
727
|
const KolTabs = /* @__PURE__ */ defineContainer("kol-tabs", void 0, [
|
|
746
728
|
"_align",
|
|
747
729
|
"_behavior",
|
|
730
|
+
"_hasCreateButton",
|
|
748
731
|
"_label",
|
|
749
732
|
"_on",
|
|
750
733
|
"_selected",
|
|
@@ -753,17 +736,16 @@ const KolTabs = /* @__PURE__ */ defineContainer("kol-tabs", void 0, [
|
|
|
753
736
|
const KolTextarea = /* @__PURE__ */ defineContainer("kol-textarea", void 0, [
|
|
754
737
|
"_accessKey",
|
|
755
738
|
"_adjustHeight",
|
|
756
|
-
"_alert",
|
|
757
739
|
"_disabled",
|
|
758
|
-
"
|
|
759
|
-
"_hasCounter",
|
|
760
|
-
"_hideError",
|
|
740
|
+
"_hideMsg",
|
|
761
741
|
"_hideLabel",
|
|
762
742
|
"_hint",
|
|
763
743
|
"_icons",
|
|
764
744
|
"_id",
|
|
765
745
|
"_label",
|
|
766
746
|
"_maxLength",
|
|
747
|
+
"_hasCounter",
|
|
748
|
+
"_maxLengthBehavior",
|
|
767
749
|
"_msg",
|
|
768
750
|
"_name",
|
|
769
751
|
"_on",
|
|
@@ -773,16 +755,17 @@ const KolTextarea = /* @__PURE__ */ defineContainer("kol-textarea", void 0, [
|
|
|
773
755
|
"_required",
|
|
774
756
|
"_rows",
|
|
775
757
|
"_shortKey",
|
|
758
|
+
"_spellCheck",
|
|
776
759
|
"_syncValueBySelector",
|
|
777
|
-
"_tabIndex",
|
|
778
760
|
"_tooltipAlign",
|
|
779
761
|
"_touched",
|
|
780
762
|
"_value"
|
|
781
763
|
]);
|
|
782
|
-
const KolToastContainer = /* @__PURE__ */ defineContainer("kol-toast-container"
|
|
764
|
+
const KolToastContainer = /* @__PURE__ */ defineContainer("kol-toast-container");
|
|
783
765
|
const KolToolbar = /* @__PURE__ */ defineContainer("kol-toolbar", void 0, [
|
|
784
766
|
"_label",
|
|
785
|
-
"_items"
|
|
767
|
+
"_items",
|
|
768
|
+
"_orientation"
|
|
786
769
|
]);
|
|
787
770
|
const KolTree = /* @__PURE__ */ defineContainer("kol-tree", void 0, [
|
|
788
771
|
"_label"
|
|
@@ -803,4 +786,4 @@ const KolVersion = /* @__PURE__ */ defineContainer("kol-version", void 0, [
|
|
|
803
786
|
"_label"
|
|
804
787
|
]);
|
|
805
788
|
|
|
806
|
-
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton,
|
|
789
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonLink, KolCard, KolCardWc, KolCombobox, KolDetails, KolDrawer, KolForm, KolHeading, KolIcon, KolImage, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolModal, KolNav, KolPagination, KolPaginationWc, KolPopoverButton, KolPopoverButtonWc, KolProgress, KolQuote, KolSelect, KolSingleSelect, KolSkipNav, KolSpin, KolSplitButton, KolTableStateful, KolTableStateless, KolTabs, KolTextarea, KolToastContainer, KolToolbar, KolTree, KolTreeItem, KolTreeItemWc, KolVersion, setTagNameTransformer };
|