@public-ui/vue 4.0.0-alpha.0 → 4.0.0-alpha.2
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 +124 -147
- 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 +122 -143
- 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
|
};
|
|
@@ -169,13 +135,11 @@ const KolButton = /* @__PURE__ */ defineContainer("kol-button", void 0, [
|
|
|
169
135
|
"_role",
|
|
170
136
|
"_shortKey",
|
|
171
137
|
"_syncValueBySelector",
|
|
172
|
-
"_tabIndex",
|
|
173
138
|
"_tooltipAlign",
|
|
174
139
|
"_type",
|
|
175
140
|
"_value",
|
|
176
141
|
"_variant"
|
|
177
142
|
]);
|
|
178
|
-
const KolButtonGroup = /* @__PURE__ */ defineContainer("kol-button-group", void 0);
|
|
179
143
|
const KolButtonLink = /* @__PURE__ */ defineContainer("kol-button-link", void 0, [
|
|
180
144
|
"_accessKey",
|
|
181
145
|
"_ariaControls",
|
|
@@ -187,12 +151,12 @@ const KolButtonLink = /* @__PURE__ */ defineContainer("kol-button-link", void 0,
|
|
|
187
151
|
"_icons",
|
|
188
152
|
"_id",
|
|
189
153
|
"_label",
|
|
154
|
+
"_variant",
|
|
190
155
|
"_name",
|
|
191
156
|
"_on",
|
|
192
157
|
"_role",
|
|
193
158
|
"_shortKey",
|
|
194
159
|
"_syncValueBySelector",
|
|
195
|
-
"_tabIndex",
|
|
196
160
|
"_tooltipAlign",
|
|
197
161
|
"_type",
|
|
198
162
|
"_value"
|
|
@@ -203,12 +167,17 @@ const KolCard = /* @__PURE__ */ defineContainer("kol-card", void 0, [
|
|
|
203
167
|
"_label",
|
|
204
168
|
"_level"
|
|
205
169
|
]);
|
|
170
|
+
const KolCardWc = /* @__PURE__ */ defineContainer("kol-card-wc", void 0, [
|
|
171
|
+
"_on",
|
|
172
|
+
"_hasCloser",
|
|
173
|
+
"_label",
|
|
174
|
+
"_level"
|
|
175
|
+
]);
|
|
206
176
|
const KolCombobox = /* @__PURE__ */ defineContainer("kol-combobox", void 0, [
|
|
207
177
|
"_accessKey",
|
|
208
178
|
"_placeholder",
|
|
209
|
-
"_alert",
|
|
210
179
|
"_disabled",
|
|
211
|
-
"
|
|
180
|
+
"_hideMsg",
|
|
212
181
|
"_hideLabel",
|
|
213
182
|
"_hint",
|
|
214
183
|
"_icons",
|
|
@@ -221,7 +190,6 @@ const KolCombobox = /* @__PURE__ */ defineContainer("kol-combobox", void 0, [
|
|
|
221
190
|
"_required",
|
|
222
191
|
"_shortKey",
|
|
223
192
|
"_syncValueBySelector",
|
|
224
|
-
"_tabIndex",
|
|
225
193
|
"_tooltipAlign",
|
|
226
194
|
"_touched",
|
|
227
195
|
"_value"
|
|
@@ -236,8 +204,8 @@ const KolDetails = /* @__PURE__ */ defineContainer("kol-details", void 0, [
|
|
|
236
204
|
const KolDrawer = /* @__PURE__ */ defineContainer("kol-drawer", void 0, [
|
|
237
205
|
"_open",
|
|
238
206
|
"_align",
|
|
207
|
+
"_hasCloser",
|
|
239
208
|
"_label",
|
|
240
|
-
"_modal",
|
|
241
209
|
"_on"
|
|
242
210
|
]);
|
|
243
211
|
const KolForm = /* @__PURE__ */ defineContainer("kol-form", void 0, [
|
|
@@ -248,8 +216,7 @@ const KolForm = /* @__PURE__ */ defineContainer("kol-form", void 0, [
|
|
|
248
216
|
const KolHeading = /* @__PURE__ */ defineContainer("kol-heading", void 0, [
|
|
249
217
|
"_label",
|
|
250
218
|
"_level",
|
|
251
|
-
"_secondaryHeadline"
|
|
252
|
-
"_variant"
|
|
219
|
+
"_secondaryHeadline"
|
|
253
220
|
]);
|
|
254
221
|
const KolIcon = /* @__PURE__ */ defineContainer("kol-icon", void 0, [
|
|
255
222
|
"_icons",
|
|
@@ -262,14 +229,11 @@ const KolImage = /* @__PURE__ */ defineContainer("kol-image", void 0, [
|
|
|
262
229
|
"_src",
|
|
263
230
|
"_srcset"
|
|
264
231
|
]);
|
|
265
|
-
const KolIndentedText = /* @__PURE__ */ defineContainer("kol-indented-text", void 0);
|
|
266
232
|
const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", void 0, [
|
|
267
233
|
"_accessKey",
|
|
268
|
-
"_alert",
|
|
269
234
|
"_checked",
|
|
270
|
-
"
|
|
235
|
+
"_hideMsg",
|
|
271
236
|
"_disabled",
|
|
272
|
-
"_error",
|
|
273
237
|
"_hideLabel",
|
|
274
238
|
"_hint",
|
|
275
239
|
"_icons",
|
|
@@ -283,7 +247,6 @@ const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", v
|
|
|
283
247
|
"_required",
|
|
284
248
|
"_shortKey",
|
|
285
249
|
"_syncValueBySelector",
|
|
286
|
-
"_tabIndex",
|
|
287
250
|
"_tooltipAlign",
|
|
288
251
|
"_touched",
|
|
289
252
|
"_value",
|
|
@@ -291,11 +254,9 @@ const KolInputCheckbox = /* @__PURE__ */ defineContainer("kol-input-checkbox", v
|
|
|
291
254
|
]);
|
|
292
255
|
const KolInputColor = /* @__PURE__ */ defineContainer("kol-input-color", void 0, [
|
|
293
256
|
"_accessKey",
|
|
294
|
-
"_alert",
|
|
295
257
|
"_autoComplete",
|
|
296
258
|
"_disabled",
|
|
297
|
-
"
|
|
298
|
-
"_hideError",
|
|
259
|
+
"_hideMsg",
|
|
299
260
|
"_hideLabel",
|
|
300
261
|
"_hint",
|
|
301
262
|
"_icons",
|
|
@@ -308,18 +269,15 @@ const KolInputColor = /* @__PURE__ */ defineContainer("kol-input-color", void 0,
|
|
|
308
269
|
"_smartButton",
|
|
309
270
|
"_suggestions",
|
|
310
271
|
"_syncValueBySelector",
|
|
311
|
-
"_tabIndex",
|
|
312
272
|
"_tooltipAlign",
|
|
313
273
|
"_touched",
|
|
314
274
|
"_value"
|
|
315
275
|
]);
|
|
316
276
|
const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
317
277
|
"_accessKey",
|
|
318
|
-
"_alert",
|
|
319
278
|
"_autoComplete",
|
|
320
279
|
"_disabled",
|
|
321
|
-
"
|
|
322
|
-
"_hideError",
|
|
280
|
+
"_hideMsg",
|
|
323
281
|
"_hideLabel",
|
|
324
282
|
"_hint",
|
|
325
283
|
"_icons",
|
|
@@ -337,7 +295,6 @@ const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
|
337
295
|
"_suggestions",
|
|
338
296
|
"_syncValueBySelector",
|
|
339
297
|
"_step",
|
|
340
|
-
"_tabIndex",
|
|
341
298
|
"_tooltipAlign",
|
|
342
299
|
"_touched",
|
|
343
300
|
"_type",
|
|
@@ -345,12 +302,11 @@ const KolInputDate = /* @__PURE__ */ defineContainer("kol-input-date", void 0, [
|
|
|
345
302
|
]);
|
|
346
303
|
const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0, [
|
|
347
304
|
"_accessKey",
|
|
348
|
-
"_alert",
|
|
349
305
|
"_autoComplete",
|
|
350
|
-
"_disabled",
|
|
351
|
-
"_error",
|
|
352
306
|
"_hasCounter",
|
|
353
|
-
"
|
|
307
|
+
"_maxLengthBehavior",
|
|
308
|
+
"_disabled",
|
|
309
|
+
"_hideMsg",
|
|
354
310
|
"_hideLabel",
|
|
355
311
|
"_hint",
|
|
356
312
|
"_icons",
|
|
@@ -369,7 +325,6 @@ const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0,
|
|
|
369
325
|
"_smartButton",
|
|
370
326
|
"_suggestions",
|
|
371
327
|
"_syncValueBySelector",
|
|
372
|
-
"_tabIndex",
|
|
373
328
|
"_tooltipAlign",
|
|
374
329
|
"_touched",
|
|
375
330
|
"_value"
|
|
@@ -377,10 +332,8 @@ const KolInputEmail = /* @__PURE__ */ defineContainer("kol-input-email", void 0,
|
|
|
377
332
|
const KolInputFile = /* @__PURE__ */ defineContainer("kol-input-file", void 0, [
|
|
378
333
|
"_accept",
|
|
379
334
|
"_accessKey",
|
|
380
|
-
"_alert",
|
|
381
335
|
"_disabled",
|
|
382
|
-
"
|
|
383
|
-
"_hideError",
|
|
336
|
+
"_hideMsg",
|
|
384
337
|
"_hideLabel",
|
|
385
338
|
"_hint",
|
|
386
339
|
"_icons",
|
|
@@ -394,18 +347,14 @@ const KolInputFile = /* @__PURE__ */ defineContainer("kol-input-file", void 0, [
|
|
|
394
347
|
"_shortKey",
|
|
395
348
|
"_smartButton",
|
|
396
349
|
"_syncValueBySelector",
|
|
397
|
-
"_tabIndex",
|
|
398
350
|
"_tooltipAlign",
|
|
399
|
-
"_touched"
|
|
400
|
-
"_value"
|
|
351
|
+
"_touched"
|
|
401
352
|
]);
|
|
402
353
|
const KolInputNumber = /* @__PURE__ */ defineContainer("kol-input-number", void 0, [
|
|
403
354
|
"_accessKey",
|
|
404
|
-
"_alert",
|
|
405
355
|
"_autoComplete",
|
|
406
356
|
"_disabled",
|
|
407
|
-
"
|
|
408
|
-
"_hideError",
|
|
357
|
+
"_hideMsg",
|
|
409
358
|
"_hideLabel",
|
|
410
359
|
"_hint",
|
|
411
360
|
"_icons",
|
|
@@ -424,19 +373,17 @@ const KolInputNumber = /* @__PURE__ */ defineContainer("kol-input-number", void
|
|
|
424
373
|
"_suggestions",
|
|
425
374
|
"_step",
|
|
426
375
|
"_syncValueBySelector",
|
|
427
|
-
"_tabIndex",
|
|
428
376
|
"_tooltipAlign",
|
|
429
377
|
"_touched",
|
|
430
378
|
"_value"
|
|
431
379
|
]);
|
|
432
380
|
const KolInputPassword = /* @__PURE__ */ defineContainer("kol-input-password", void 0, [
|
|
433
381
|
"_accessKey",
|
|
434
|
-
"_alert",
|
|
435
382
|
"_autoComplete",
|
|
436
|
-
"_disabled",
|
|
437
|
-
"_error",
|
|
438
383
|
"_hasCounter",
|
|
439
|
-
"
|
|
384
|
+
"_maxLengthBehavior",
|
|
385
|
+
"_disabled",
|
|
386
|
+
"_hideMsg",
|
|
440
387
|
"_hideLabel",
|
|
441
388
|
"_hint",
|
|
442
389
|
"_icons",
|
|
@@ -453,18 +400,14 @@ const KolInputPassword = /* @__PURE__ */ defineContainer("kol-input-password", v
|
|
|
453
400
|
"_shortKey",
|
|
454
401
|
"_smartButton",
|
|
455
402
|
"_syncValueBySelector",
|
|
456
|
-
"_tabIndex",
|
|
457
403
|
"_tooltipAlign",
|
|
458
404
|
"_touched",
|
|
459
405
|
"_value",
|
|
460
406
|
"_variant"
|
|
461
407
|
]);
|
|
462
408
|
const KolInputRadio = /* @__PURE__ */ defineContainer("kol-input-radio", void 0, [
|
|
463
|
-
"_accessKey",
|
|
464
|
-
"_alert",
|
|
465
409
|
"_disabled",
|
|
466
|
-
"
|
|
467
|
-
"_hideError",
|
|
410
|
+
"_hideMsg",
|
|
468
411
|
"_hideLabel",
|
|
469
412
|
"_hint",
|
|
470
413
|
"_id",
|
|
@@ -475,20 +418,16 @@ const KolInputRadio = /* @__PURE__ */ defineContainer("kol-input-radio", void 0,
|
|
|
475
418
|
"_options",
|
|
476
419
|
"_orientation",
|
|
477
420
|
"_required",
|
|
478
|
-
"_shortKey",
|
|
479
421
|
"_syncValueBySelector",
|
|
480
|
-
"_tabIndex",
|
|
481
422
|
"_tooltipAlign",
|
|
482
423
|
"_touched",
|
|
483
424
|
"_value"
|
|
484
425
|
]);
|
|
485
426
|
const KolInputRange = /* @__PURE__ */ defineContainer("kol-input-range", void 0, [
|
|
486
427
|
"_accessKey",
|
|
487
|
-
"_alert",
|
|
488
428
|
"_autoComplete",
|
|
489
429
|
"_disabled",
|
|
490
|
-
"
|
|
491
|
-
"_hideError",
|
|
430
|
+
"_hideMsg",
|
|
492
431
|
"_hideLabel",
|
|
493
432
|
"_hint",
|
|
494
433
|
"_icons",
|
|
@@ -503,19 +442,17 @@ const KolInputRange = /* @__PURE__ */ defineContainer("kol-input-range", void 0,
|
|
|
503
442
|
"_step",
|
|
504
443
|
"_suggestions",
|
|
505
444
|
"_syncValueBySelector",
|
|
506
|
-
"_tabIndex",
|
|
507
445
|
"_tooltipAlign",
|
|
508
446
|
"_touched",
|
|
509
447
|
"_value"
|
|
510
448
|
]);
|
|
511
449
|
const KolInputText = /* @__PURE__ */ defineContainer("kol-input-text", void 0, [
|
|
512
450
|
"_accessKey",
|
|
513
|
-
"_alert",
|
|
514
451
|
"_autoComplete",
|
|
515
|
-
"_disabled",
|
|
516
|
-
"_error",
|
|
517
452
|
"_hasCounter",
|
|
518
|
-
"
|
|
453
|
+
"_maxLengthBehavior",
|
|
454
|
+
"_disabled",
|
|
455
|
+
"_hideMsg",
|
|
519
456
|
"_hideLabel",
|
|
520
457
|
"_hint",
|
|
521
458
|
"_icons",
|
|
@@ -530,10 +467,10 @@ const KolInputText = /* @__PURE__ */ defineContainer("kol-input-text", void 0, [
|
|
|
530
467
|
"_readOnly",
|
|
531
468
|
"_required",
|
|
532
469
|
"_shortKey",
|
|
470
|
+
"_spellCheck",
|
|
533
471
|
"_suggestions",
|
|
534
472
|
"_smartButton",
|
|
535
473
|
"_syncValueBySelector",
|
|
536
|
-
"_tabIndex",
|
|
537
474
|
"_tooltipAlign",
|
|
538
475
|
"_touched",
|
|
539
476
|
"_type",
|
|
@@ -546,23 +483,26 @@ const KolKolibri = /* @__PURE__ */ defineContainer("kol-kolibri", void 0, [
|
|
|
546
483
|
const KolLink = /* @__PURE__ */ defineContainer("kol-link", void 0, [
|
|
547
484
|
"_accessKey",
|
|
548
485
|
"_ariaCurrentValue",
|
|
486
|
+
"_ariaControls",
|
|
549
487
|
"_ariaDescription",
|
|
488
|
+
"_ariaExpanded",
|
|
550
489
|
"_disabled",
|
|
551
490
|
"_download",
|
|
552
491
|
"_hideLabel",
|
|
553
492
|
"_href",
|
|
554
493
|
"_icons",
|
|
555
494
|
"_label",
|
|
495
|
+
"_variant",
|
|
556
496
|
"_on",
|
|
557
497
|
"_role",
|
|
558
498
|
"_shortKey",
|
|
559
|
-
"_tabIndex",
|
|
560
499
|
"_target",
|
|
561
500
|
"_tooltipAlign"
|
|
562
501
|
]);
|
|
563
502
|
const KolLinkButton = /* @__PURE__ */ defineContainer("kol-link-button", void 0, [
|
|
564
503
|
"_accessKey",
|
|
565
504
|
"_ariaCurrentValue",
|
|
505
|
+
"_ariaControls",
|
|
566
506
|
"_ariaDescription",
|
|
567
507
|
"_customClass",
|
|
568
508
|
"_disabled",
|
|
@@ -574,25 +514,15 @@ const KolLinkButton = /* @__PURE__ */ defineContainer("kol-link-button", void 0,
|
|
|
574
514
|
"_on",
|
|
575
515
|
"_role",
|
|
576
516
|
"_shortKey",
|
|
577
|
-
"_tabIndex",
|
|
578
517
|
"_target",
|
|
579
518
|
"_tooltipAlign",
|
|
580
519
|
"_variant"
|
|
581
520
|
]);
|
|
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
521
|
const KolModal = /* @__PURE__ */ defineContainer("kol-modal", void 0, [
|
|
592
|
-
"_activeElement",
|
|
593
522
|
"_label",
|
|
594
523
|
"_on",
|
|
595
|
-
"_width"
|
|
524
|
+
"_width",
|
|
525
|
+
"_variant"
|
|
596
526
|
]);
|
|
597
527
|
const KolNav = /* @__PURE__ */ defineContainer("kol-nav", void 0, [
|
|
598
528
|
"_collapsible",
|
|
@@ -616,6 +546,65 @@ const KolPagination = /* @__PURE__ */ defineContainer("kol-pagination", void 0,
|
|
|
616
546
|
"_tooltipAlign",
|
|
617
547
|
"_max"
|
|
618
548
|
]);
|
|
549
|
+
const KolPaginationWc = /* @__PURE__ */ defineContainer("kol-pagination-wc", void 0, [
|
|
550
|
+
"_boundaryCount",
|
|
551
|
+
"_customClass",
|
|
552
|
+
"_label",
|
|
553
|
+
"_hasButtons",
|
|
554
|
+
"_page",
|
|
555
|
+
"_pageSize",
|
|
556
|
+
"_pageSizeOptions",
|
|
557
|
+
"_on",
|
|
558
|
+
"_siblingCount",
|
|
559
|
+
"_tooltipAlign",
|
|
560
|
+
"_max"
|
|
561
|
+
]);
|
|
562
|
+
const KolPopoverButton = /* @__PURE__ */ defineContainer("kol-popover-button", void 0, [
|
|
563
|
+
"_accessKey",
|
|
564
|
+
"_ariaControls",
|
|
565
|
+
"_ariaDescription",
|
|
566
|
+
"_ariaSelected",
|
|
567
|
+
"_customClass",
|
|
568
|
+
"_disabled",
|
|
569
|
+
"_hideLabel",
|
|
570
|
+
"_icons",
|
|
571
|
+
"_id",
|
|
572
|
+
"_label",
|
|
573
|
+
"_name",
|
|
574
|
+
"_on",
|
|
575
|
+
"_popoverAlign",
|
|
576
|
+
"_role",
|
|
577
|
+
"_shortKey",
|
|
578
|
+
"_syncValueBySelector",
|
|
579
|
+
"_tabIndex",
|
|
580
|
+
"_tooltipAlign",
|
|
581
|
+
"_type",
|
|
582
|
+
"_value",
|
|
583
|
+
"_variant"
|
|
584
|
+
]);
|
|
585
|
+
const KolPopoverButtonWc = /* @__PURE__ */ defineContainer("kol-popover-button-wc", void 0, [
|
|
586
|
+
"_accessKey",
|
|
587
|
+
"_ariaControls",
|
|
588
|
+
"_ariaDescription",
|
|
589
|
+
"_ariaSelected",
|
|
590
|
+
"_customClass",
|
|
591
|
+
"_disabled",
|
|
592
|
+
"_hideLabel",
|
|
593
|
+
"_icons",
|
|
594
|
+
"_id",
|
|
595
|
+
"_label",
|
|
596
|
+
"_name",
|
|
597
|
+
"_on",
|
|
598
|
+
"_popoverAlign",
|
|
599
|
+
"_role",
|
|
600
|
+
"_shortKey",
|
|
601
|
+
"_syncValueBySelector",
|
|
602
|
+
"_tabIndex",
|
|
603
|
+
"_tooltipAlign",
|
|
604
|
+
"_type",
|
|
605
|
+
"_value",
|
|
606
|
+
"_variant"
|
|
607
|
+
]);
|
|
619
608
|
const KolProgress = /* @__PURE__ */ defineContainer("kol-progress", void 0, [
|
|
620
609
|
"_label",
|
|
621
610
|
"_max",
|
|
@@ -631,10 +620,8 @@ const KolQuote = /* @__PURE__ */ defineContainer("kol-quote", void 0, [
|
|
|
631
620
|
]);
|
|
632
621
|
const KolSelect = /* @__PURE__ */ defineContainer("kol-select", void 0, [
|
|
633
622
|
"_accessKey",
|
|
634
|
-
"_alert",
|
|
635
623
|
"_disabled",
|
|
636
|
-
"
|
|
637
|
-
"_hideError",
|
|
624
|
+
"_hideMsg",
|
|
638
625
|
"_hideLabel",
|
|
639
626
|
"_hint",
|
|
640
627
|
"_icons",
|
|
@@ -657,9 +644,8 @@ const KolSelect = /* @__PURE__ */ defineContainer("kol-select", void 0, [
|
|
|
657
644
|
const KolSingleSelect = /* @__PURE__ */ defineContainer("kol-single-select", void 0, [
|
|
658
645
|
"_accessKey",
|
|
659
646
|
"_placeholder",
|
|
660
|
-
"_alert",
|
|
661
647
|
"_disabled",
|
|
662
|
-
"
|
|
648
|
+
"_hideMsg",
|
|
663
649
|
"_hideLabel",
|
|
664
650
|
"_hint",
|
|
665
651
|
"_icons",
|
|
@@ -672,10 +658,11 @@ const KolSingleSelect = /* @__PURE__ */ defineContainer("kol-single-select", voi
|
|
|
672
658
|
"_required",
|
|
673
659
|
"_shortKey",
|
|
674
660
|
"_syncValueBySelector",
|
|
675
|
-
"_tabIndex",
|
|
676
661
|
"_tooltipAlign",
|
|
677
662
|
"_touched",
|
|
678
|
-
"_value"
|
|
663
|
+
"_value",
|
|
664
|
+
"_hideClearButton",
|
|
665
|
+
"_rows"
|
|
679
666
|
]);
|
|
680
667
|
const KolSkipNav = /* @__PURE__ */ defineContainer("kol-skip-nav", void 0, [
|
|
681
668
|
"_label",
|
|
@@ -683,10 +670,13 @@ const KolSkipNav = /* @__PURE__ */ defineContainer("kol-skip-nav", void 0, [
|
|
|
683
670
|
]);
|
|
684
671
|
const KolSpin = /* @__PURE__ */ defineContainer("kol-spin", void 0, [
|
|
685
672
|
"_show",
|
|
673
|
+
"_label",
|
|
686
674
|
"_variant"
|
|
687
675
|
]);
|
|
688
676
|
const KolSplitButton = /* @__PURE__ */ defineContainer("kol-split-button", void 0, [
|
|
677
|
+
"_accessKey",
|
|
689
678
|
"_ariaControls",
|
|
679
|
+
"_ariaDescription",
|
|
690
680
|
"_ariaExpanded",
|
|
691
681
|
"_ariaSelected",
|
|
692
682
|
"_customClass",
|
|
@@ -698,29 +688,13 @@ const KolSplitButton = /* @__PURE__ */ defineContainer("kol-split-button", void
|
|
|
698
688
|
"_name",
|
|
699
689
|
"_on",
|
|
700
690
|
"_role",
|
|
691
|
+
"_shortKey",
|
|
701
692
|
"_syncValueBySelector",
|
|
702
|
-
"_tabIndex",
|
|
703
693
|
"_tooltipAlign",
|
|
704
694
|
"_type",
|
|
705
695
|
"_value",
|
|
706
696
|
"_variant"
|
|
707
697
|
]);
|
|
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
698
|
const KolTableStateful = /* @__PURE__ */ defineContainer("kol-table-stateful", void 0, [
|
|
725
699
|
"_allowMultiSort",
|
|
726
700
|
"_data",
|
|
@@ -731,7 +705,9 @@ const KolTableStateful = /* @__PURE__ */ defineContainer("kol-table-stateful", v
|
|
|
731
705
|
"_pagination",
|
|
732
706
|
"_paginationPosition",
|
|
733
707
|
"_selection",
|
|
734
|
-
"_on"
|
|
708
|
+
"_on",
|
|
709
|
+
"_tableSettings",
|
|
710
|
+
"_hasSettingsMenu"
|
|
735
711
|
]);
|
|
736
712
|
const KolTableStateless = /* @__PURE__ */ defineContainer("kol-table-stateless", void 0, [
|
|
737
713
|
"_data",
|
|
@@ -740,11 +716,14 @@ const KolTableStateless = /* @__PURE__ */ defineContainer("kol-table-stateless",
|
|
|
740
716
|
"_label",
|
|
741
717
|
"_minWidth",
|
|
742
718
|
"_on",
|
|
743
|
-
"_selection"
|
|
719
|
+
"_selection",
|
|
720
|
+
"_tableSettings",
|
|
721
|
+
"_hasSettingsMenu"
|
|
744
722
|
]);
|
|
745
723
|
const KolTabs = /* @__PURE__ */ defineContainer("kol-tabs", void 0, [
|
|
746
724
|
"_align",
|
|
747
725
|
"_behavior",
|
|
726
|
+
"_hasCreateButton",
|
|
748
727
|
"_label",
|
|
749
728
|
"_on",
|
|
750
729
|
"_selected",
|
|
@@ -753,17 +732,16 @@ const KolTabs = /* @__PURE__ */ defineContainer("kol-tabs", void 0, [
|
|
|
753
732
|
const KolTextarea = /* @__PURE__ */ defineContainer("kol-textarea", void 0, [
|
|
754
733
|
"_accessKey",
|
|
755
734
|
"_adjustHeight",
|
|
756
|
-
"_alert",
|
|
757
735
|
"_disabled",
|
|
758
|
-
"
|
|
759
|
-
"_hasCounter",
|
|
760
|
-
"_hideError",
|
|
736
|
+
"_hideMsg",
|
|
761
737
|
"_hideLabel",
|
|
762
738
|
"_hint",
|
|
763
739
|
"_icons",
|
|
764
740
|
"_id",
|
|
765
741
|
"_label",
|
|
766
742
|
"_maxLength",
|
|
743
|
+
"_hasCounter",
|
|
744
|
+
"_maxLengthBehavior",
|
|
767
745
|
"_msg",
|
|
768
746
|
"_name",
|
|
769
747
|
"_on",
|
|
@@ -773,16 +751,17 @@ const KolTextarea = /* @__PURE__ */ defineContainer("kol-textarea", void 0, [
|
|
|
773
751
|
"_required",
|
|
774
752
|
"_rows",
|
|
775
753
|
"_shortKey",
|
|
754
|
+
"_spellCheck",
|
|
776
755
|
"_syncValueBySelector",
|
|
777
|
-
"_tabIndex",
|
|
778
756
|
"_tooltipAlign",
|
|
779
757
|
"_touched",
|
|
780
758
|
"_value"
|
|
781
759
|
]);
|
|
782
|
-
const KolToastContainer = /* @__PURE__ */ defineContainer("kol-toast-container"
|
|
760
|
+
const KolToastContainer = /* @__PURE__ */ defineContainer("kol-toast-container");
|
|
783
761
|
const KolToolbar = /* @__PURE__ */ defineContainer("kol-toolbar", void 0, [
|
|
784
762
|
"_label",
|
|
785
|
-
"_items"
|
|
763
|
+
"_items",
|
|
764
|
+
"_orientation"
|
|
786
765
|
]);
|
|
787
766
|
const KolTree = /* @__PURE__ */ defineContainer("kol-tree", void 0, [
|
|
788
767
|
"_label"
|
|
@@ -803,4 +782,4 @@ const KolVersion = /* @__PURE__ */ defineContainer("kol-version", void 0, [
|
|
|
803
782
|
"_label"
|
|
804
783
|
]);
|
|
805
784
|
|
|
806
|
-
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton,
|
|
785
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/vue",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"vue"
|
|
46
46
|
],
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@babel/types": "7.
|
|
49
|
-
"@types/minimatch": "
|
|
48
|
+
"@babel/types": "7.28.4",
|
|
49
|
+
"@types/minimatch": "6.0.0",
|
|
50
50
|
"@types/minimist": "1.2.5",
|
|
51
51
|
"@types/normalize-package-data": "2.4.4",
|
|
52
|
-
"typescript": "5.
|
|
53
|
-
"unbuild": "
|
|
54
|
-
"vue": "3.
|
|
55
|
-
"@public-ui/components": "4.0.0-alpha.
|
|
52
|
+
"typescript": "5.9.2",
|
|
53
|
+
"unbuild": "3.6.1",
|
|
54
|
+
"vue": "3.5.22",
|
|
55
|
+
"@public-ui/components": "4.0.0-alpha.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"vue": "
|
|
59
|
-
"@public-ui/components": "4.0.0-alpha.
|
|
58
|
+
"vue": "^3.5.22",
|
|
59
|
+
"@public-ui/components": "4.0.0-alpha.2"
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
62
|
"type": "module",
|