@public-ui/svelte 4.0.0-beta.0 → 4.0.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/dist/index.cjs +149 -108
- package/dist/index.d.cts +3 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +149 -109
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import 'svelte/internal/flags/legacy';
|
|
|
4
4
|
import * as $ from 'svelte/internal/client';
|
|
5
5
|
import { createEventDispatcher, onMount } from 'svelte';
|
|
6
6
|
|
|
7
|
-
var root$
|
|
7
|
+
var root$S = $.from_html(`<kol-abbr><!></kol-abbr>`, 2);
|
|
8
8
|
function KolAbbr($$anchor, $$props) {
|
|
9
9
|
$.push($$props, false);
|
|
10
10
|
let __ref = $.mutable_source();
|
|
@@ -15,7 +15,7 @@ function KolAbbr($$anchor, $$props) {
|
|
|
15
15
|
});
|
|
16
16
|
var $$exports = { getWebComponent };
|
|
17
17
|
$.init();
|
|
18
|
-
var kol_abbr = root$
|
|
18
|
+
var kol_abbr = root$S();
|
|
19
19
|
$.template_effect(() => $.set_custom_element_data(kol_abbr, "_label", _label()));
|
|
20
20
|
var node = $.child(kol_abbr);
|
|
21
21
|
$.slot(node, $$props, "default", {}, null);
|
|
@@ -26,7 +26,7 @@ function KolAbbr($$anchor, $$props) {
|
|
|
26
26
|
return $.pop($$exports);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
var root$
|
|
29
|
+
var root$R = $.from_html(`<kol-accordion><!></kol-accordion>`, 2);
|
|
30
30
|
function KolAccordion($$anchor, $$props) {
|
|
31
31
|
$.push($$props, false);
|
|
32
32
|
let __ref = $.mutable_source();
|
|
@@ -37,7 +37,7 @@ function KolAccordion($$anchor, $$props) {
|
|
|
37
37
|
let _level = $.prop($$props, "_level", 8, void 0);
|
|
38
38
|
let _on = $.prop($$props, "_on", 8, void 0);
|
|
39
39
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
40
|
-
const
|
|
40
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
41
41
|
const getWebComponent = () => $.get(__ref);
|
|
42
42
|
onMount(() => {
|
|
43
43
|
$.set(__mounted, true);
|
|
@@ -49,9 +49,9 @@ function KolAccordion($$anchor, $$props) {
|
|
|
49
49
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
50
50
|
});
|
|
51
51
|
$.legacy_pre_effect_reset();
|
|
52
|
-
var $$exports = {
|
|
52
|
+
var $$exports = { focus, getWebComponent };
|
|
53
53
|
$.init();
|
|
54
|
-
var kol_accordion = root$
|
|
54
|
+
var kol_accordion = root$R();
|
|
55
55
|
$.template_effect(() => $.set_custom_element_data(kol_accordion, "_disabled", _disabled()));
|
|
56
56
|
$.template_effect(() => $.set_custom_element_data(kol_accordion, "_label", _label()));
|
|
57
57
|
$.template_effect(() => $.set_custom_element_data(kol_accordion, "_level", _level()));
|
|
@@ -61,12 +61,12 @@ function KolAccordion($$anchor, $$props) {
|
|
|
61
61
|
$.reset(kol_accordion);
|
|
62
62
|
$.bind_this(kol_accordion, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
63
63
|
$.append($$anchor, kol_accordion);
|
|
64
|
-
$.bind_prop($$props, "
|
|
64
|
+
$.bind_prop($$props, "focus", focus);
|
|
65
65
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
66
66
|
return $.pop($$exports);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
var root$
|
|
69
|
+
var root$Q = $.from_html(`<kol-alert><!></kol-alert>`, 2);
|
|
70
70
|
function KolAlert($$anchor, $$props) {
|
|
71
71
|
$.push($$props, false);
|
|
72
72
|
let __ref = $.mutable_source();
|
|
@@ -92,7 +92,7 @@ function KolAlert($$anchor, $$props) {
|
|
|
92
92
|
$.legacy_pre_effect_reset();
|
|
93
93
|
var $$exports = { getWebComponent };
|
|
94
94
|
$.init();
|
|
95
|
-
var kol_alert = root$
|
|
95
|
+
var kol_alert = root$Q();
|
|
96
96
|
$.template_effect(() => $.set_custom_element_data(kol_alert, "_alert", _alert()));
|
|
97
97
|
$.template_effect(() => $.set_custom_element_data(kol_alert, "_has-closer", _hasCloser()));
|
|
98
98
|
$.template_effect(() => $.set_custom_element_data(kol_alert, "_label", _label()));
|
|
@@ -108,7 +108,7 @@ function KolAlert($$anchor, $$props) {
|
|
|
108
108
|
return $.pop($$exports);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
var root$
|
|
111
|
+
var root$P = $.from_html(`<kol-avatar><!></kol-avatar>`, 2);
|
|
112
112
|
function KolAvatar($$anchor, $$props) {
|
|
113
113
|
$.push($$props, false);
|
|
114
114
|
let __ref = $.mutable_source();
|
|
@@ -121,7 +121,7 @@ function KolAvatar($$anchor, $$props) {
|
|
|
121
121
|
});
|
|
122
122
|
var $$exports = { getWebComponent };
|
|
123
123
|
$.init();
|
|
124
|
-
var kol_avatar = root$
|
|
124
|
+
var kol_avatar = root$P();
|
|
125
125
|
$.template_effect(() => $.set_custom_element_data(kol_avatar, "_color", _color()));
|
|
126
126
|
$.template_effect(() => $.set_custom_element_data(kol_avatar, "_src", _src()));
|
|
127
127
|
$.template_effect(() => $.set_custom_element_data(kol_avatar, "_label", _label()));
|
|
@@ -134,7 +134,7 @@ function KolAvatar($$anchor, $$props) {
|
|
|
134
134
|
return $.pop($$exports);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
var root$
|
|
137
|
+
var root$O = $.from_html(`<kol-badge><!></kol-badge>`, 2);
|
|
138
138
|
function KolBadge($$anchor, $$props) {
|
|
139
139
|
$.push($$props, false);
|
|
140
140
|
let __ref = $.mutable_source();
|
|
@@ -143,13 +143,13 @@ function KolBadge($$anchor, $$props) {
|
|
|
143
143
|
let _icons = $.prop($$props, "_icons", 8, void 0);
|
|
144
144
|
let _label = $.prop($$props, "_label", 8);
|
|
145
145
|
let _smartButton = $.prop($$props, "_smartButton", 8, void 0);
|
|
146
|
-
const
|
|
146
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
147
147
|
const getWebComponent = () => $.get(__ref);
|
|
148
148
|
onMount(() => {
|
|
149
149
|
});
|
|
150
|
-
var $$exports = {
|
|
150
|
+
var $$exports = { focus, getWebComponent };
|
|
151
151
|
$.init();
|
|
152
|
-
var kol_badge = root$
|
|
152
|
+
var kol_badge = root$O();
|
|
153
153
|
$.template_effect(() => $.set_custom_element_data(kol_badge, "_color", _color()));
|
|
154
154
|
$.template_effect(() => $.set_custom_element_data(kol_badge, "_icons", _icons()));
|
|
155
155
|
$.template_effect(() => $.set_custom_element_data(kol_badge, "_label", _label()));
|
|
@@ -159,12 +159,12 @@ function KolBadge($$anchor, $$props) {
|
|
|
159
159
|
$.reset(kol_badge);
|
|
160
160
|
$.bind_this(kol_badge, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
161
161
|
$.append($$anchor, kol_badge);
|
|
162
|
-
$.bind_prop($$props, "
|
|
162
|
+
$.bind_prop($$props, "focus", focus);
|
|
163
163
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
164
164
|
return $.pop($$exports);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var root$
|
|
167
|
+
var root$N = $.from_html(`<kol-breadcrumb><!></kol-breadcrumb>`, 2);
|
|
168
168
|
function KolBreadcrumb($$anchor, $$props) {
|
|
169
169
|
$.push($$props, false);
|
|
170
170
|
let __ref = $.mutable_source();
|
|
@@ -176,7 +176,7 @@ function KolBreadcrumb($$anchor, $$props) {
|
|
|
176
176
|
});
|
|
177
177
|
var $$exports = { getWebComponent };
|
|
178
178
|
$.init();
|
|
179
|
-
var kol_breadcrumb = root$
|
|
179
|
+
var kol_breadcrumb = root$N();
|
|
180
180
|
$.template_effect(() => $.set_custom_element_data(kol_breadcrumb, "_label", _label()));
|
|
181
181
|
$.template_effect(() => $.set_custom_element_data(kol_breadcrumb, "_links", _links()));
|
|
182
182
|
var node = $.child(kol_breadcrumb);
|
|
@@ -188,7 +188,7 @@ function KolBreadcrumb($$anchor, $$props) {
|
|
|
188
188
|
return $.pop($$exports);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
var root$
|
|
191
|
+
var root$M = $.from_html(`<kol-button><!></kol-button>`, 2);
|
|
192
192
|
function KolButton($$anchor, $$props) {
|
|
193
193
|
$.push($$props, false);
|
|
194
194
|
let __ref = $.mutable_source();
|
|
@@ -216,7 +216,7 @@ function KolButton($$anchor, $$props) {
|
|
|
216
216
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
217
217
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
218
218
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
219
|
-
const
|
|
219
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
220
220
|
const getWebComponent = () => $.get(__ref);
|
|
221
221
|
onMount(() => {
|
|
222
222
|
$.set(__mounted, true);
|
|
@@ -228,9 +228,9 @@ function KolButton($$anchor, $$props) {
|
|
|
228
228
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
229
229
|
});
|
|
230
230
|
$.legacy_pre_effect_reset();
|
|
231
|
-
var $$exports = { getValue,
|
|
231
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
232
232
|
$.init();
|
|
233
|
-
var kol_button = root$
|
|
233
|
+
var kol_button = root$M();
|
|
234
234
|
$.template_effect(() => $.set_custom_element_data(kol_button, "_access-key", _accessKey()));
|
|
235
235
|
$.template_effect(() => $.set_custom_element_data(kol_button, "_aria-controls", _ariaControls()));
|
|
236
236
|
$.template_effect(() => $.set_custom_element_data(kol_button, "_aria-description", _ariaDescription()));
|
|
@@ -257,12 +257,12 @@ function KolButton($$anchor, $$props) {
|
|
|
257
257
|
$.bind_this(kol_button, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
258
258
|
$.append($$anchor, kol_button);
|
|
259
259
|
$.bind_prop($$props, "getValue", getValue);
|
|
260
|
-
$.bind_prop($$props, "
|
|
260
|
+
$.bind_prop($$props, "focus", focus);
|
|
261
261
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
262
262
|
return $.pop($$exports);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
var root$
|
|
265
|
+
var root$L = $.from_html(`<kol-button-link><!></kol-button-link>`, 2);
|
|
266
266
|
function KolButtonLink($$anchor, $$props) {
|
|
267
267
|
$.push($$props, false);
|
|
268
268
|
let __ref = $.mutable_source();
|
|
@@ -288,7 +288,7 @@ function KolButtonLink($$anchor, $$props) {
|
|
|
288
288
|
let _type = $.prop($$props, "_type", 8, void 0);
|
|
289
289
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
290
290
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
291
|
-
const
|
|
291
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
292
292
|
const getWebComponent = () => $.get(__ref);
|
|
293
293
|
onMount(() => {
|
|
294
294
|
$.set(__mounted, true);
|
|
@@ -300,9 +300,9 @@ function KolButtonLink($$anchor, $$props) {
|
|
|
300
300
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
301
301
|
});
|
|
302
302
|
$.legacy_pre_effect_reset();
|
|
303
|
-
var $$exports = { getValue,
|
|
303
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
304
304
|
$.init();
|
|
305
|
-
var kol_button_link = root$
|
|
305
|
+
var kol_button_link = root$L();
|
|
306
306
|
$.template_effect(() => $.set_custom_element_data(kol_button_link, "_access-key", _accessKey()));
|
|
307
307
|
$.template_effect(() => $.set_custom_element_data(kol_button_link, "_aria-controls", _ariaControls()));
|
|
308
308
|
$.template_effect(() => $.set_custom_element_data(kol_button_link, "_aria-description", _ariaDescription()));
|
|
@@ -327,12 +327,12 @@ function KolButtonLink($$anchor, $$props) {
|
|
|
327
327
|
$.bind_this(kol_button_link, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
328
328
|
$.append($$anchor, kol_button_link);
|
|
329
329
|
$.bind_prop($$props, "getValue", getValue);
|
|
330
|
-
$.bind_prop($$props, "
|
|
330
|
+
$.bind_prop($$props, "focus", focus);
|
|
331
331
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
332
332
|
return $.pop($$exports);
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
var root$
|
|
335
|
+
var root$K = $.from_html(`<kol-card><!></kol-card>`, 2);
|
|
336
336
|
function KolCard($$anchor, $$props) {
|
|
337
337
|
$.push($$props, false);
|
|
338
338
|
let __ref = $.mutable_source();
|
|
@@ -355,7 +355,7 @@ function KolCard($$anchor, $$props) {
|
|
|
355
355
|
$.legacy_pre_effect_reset();
|
|
356
356
|
var $$exports = { getWebComponent };
|
|
357
357
|
$.init();
|
|
358
|
-
var kol_card = root$
|
|
358
|
+
var kol_card = root$K();
|
|
359
359
|
$.template_effect(() => $.set_custom_element_data(kol_card, "_has-closer", _hasCloser()));
|
|
360
360
|
$.template_effect(() => $.set_custom_element_data(kol_card, "_label", _label()));
|
|
361
361
|
$.template_effect(() => $.set_custom_element_data(kol_card, "_level", _level()));
|
|
@@ -368,7 +368,7 @@ function KolCard($$anchor, $$props) {
|
|
|
368
368
|
return $.pop($$exports);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
var root$
|
|
371
|
+
var root$J = $.from_html(`<kol-card-wc><!></kol-card-wc>`, 2);
|
|
372
372
|
function KolCardWc($$anchor, $$props) {
|
|
373
373
|
$.push($$props, false);
|
|
374
374
|
let __ref = $.mutable_source();
|
|
@@ -391,7 +391,7 @@ function KolCardWc($$anchor, $$props) {
|
|
|
391
391
|
$.legacy_pre_effect_reset();
|
|
392
392
|
var $$exports = { getWebComponent };
|
|
393
393
|
$.init();
|
|
394
|
-
var kol_card_wc = root$
|
|
394
|
+
var kol_card_wc = root$J();
|
|
395
395
|
$.template_effect(() => $.set_custom_element_data(kol_card_wc, "_has-closer", _hasCloser()));
|
|
396
396
|
$.template_effect(() => $.set_custom_element_data(kol_card_wc, "_label", _label()));
|
|
397
397
|
$.template_effect(() => $.set_custom_element_data(kol_card_wc, "_level", _level()));
|
|
@@ -404,7 +404,7 @@ function KolCardWc($$anchor, $$props) {
|
|
|
404
404
|
return $.pop($$exports);
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
var root$
|
|
407
|
+
var root$I = $.from_html(`<kol-combobox><!></kol-combobox>`, 2);
|
|
408
408
|
function KolCombobox($$anchor, $$props) {
|
|
409
409
|
$.push($$props, false);
|
|
410
410
|
let __ref = $.mutable_source();
|
|
@@ -431,7 +431,7 @@ function KolCombobox($$anchor, $$props) {
|
|
|
431
431
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
432
432
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
433
433
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
434
|
-
const
|
|
434
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
435
435
|
const getWebComponent = () => $.get(__ref);
|
|
436
436
|
onMount(() => {
|
|
437
437
|
$.set(__mounted, true);
|
|
@@ -443,9 +443,9 @@ function KolCombobox($$anchor, $$props) {
|
|
|
443
443
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
444
444
|
});
|
|
445
445
|
$.legacy_pre_effect_reset();
|
|
446
|
-
var $$exports = { getValue,
|
|
446
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
447
447
|
$.init();
|
|
448
|
-
var kol_combobox = root$
|
|
448
|
+
var kol_combobox = root$I();
|
|
449
449
|
$.template_effect(() => $.set_custom_element_data(kol_combobox, "_access-key", _accessKey()));
|
|
450
450
|
$.template_effect(() => $.set_custom_element_data(kol_combobox, "_placeholder", _placeholder()));
|
|
451
451
|
$.template_effect(() => $.set_custom_element_data(kol_combobox, "_disabled", _disabled()));
|
|
@@ -471,12 +471,12 @@ function KolCombobox($$anchor, $$props) {
|
|
|
471
471
|
$.bind_this(kol_combobox, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
472
472
|
$.append($$anchor, kol_combobox);
|
|
473
473
|
$.bind_prop($$props, "getValue", getValue);
|
|
474
|
-
$.bind_prop($$props, "
|
|
474
|
+
$.bind_prop($$props, "focus", focus);
|
|
475
475
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
476
476
|
return $.pop($$exports);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
var root$
|
|
479
|
+
var root$H = $.from_html(`<kol-details><!></kol-details>`, 2);
|
|
480
480
|
function KolDetails($$anchor, $$props) {
|
|
481
481
|
$.push($$props, false);
|
|
482
482
|
let __ref = $.mutable_source();
|
|
@@ -487,7 +487,7 @@ function KolDetails($$anchor, $$props) {
|
|
|
487
487
|
let _level = $.prop($$props, "_level", 8, void 0);
|
|
488
488
|
let _on = $.prop($$props, "_on", 8, void 0);
|
|
489
489
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
490
|
-
const
|
|
490
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
491
491
|
const getWebComponent = () => $.get(__ref);
|
|
492
492
|
onMount(() => {
|
|
493
493
|
$.set(__mounted, true);
|
|
@@ -499,9 +499,9 @@ function KolDetails($$anchor, $$props) {
|
|
|
499
499
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
500
500
|
});
|
|
501
501
|
$.legacy_pre_effect_reset();
|
|
502
|
-
var $$exports = {
|
|
502
|
+
var $$exports = { focus, getWebComponent };
|
|
503
503
|
$.init();
|
|
504
|
-
var kol_details = root$
|
|
504
|
+
var kol_details = root$H();
|
|
505
505
|
$.template_effect(() => $.set_custom_element_data(kol_details, "_disabled", _disabled()));
|
|
506
506
|
$.template_effect(() => $.set_custom_element_data(kol_details, "_label", _label()));
|
|
507
507
|
$.template_effect(() => $.set_custom_element_data(kol_details, "_level", _level()));
|
|
@@ -511,7 +511,47 @@ function KolDetails($$anchor, $$props) {
|
|
|
511
511
|
$.reset(kol_details);
|
|
512
512
|
$.bind_this(kol_details, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
513
513
|
$.append($$anchor, kol_details);
|
|
514
|
-
$.bind_prop($$props, "
|
|
514
|
+
$.bind_prop($$props, "focus", focus);
|
|
515
|
+
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
516
|
+
return $.pop($$exports);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
var root$G = $.from_html(`<kol-dialog><!></kol-dialog>`, 2);
|
|
520
|
+
function KolDialog($$anchor, $$props) {
|
|
521
|
+
$.push($$props, false);
|
|
522
|
+
let __ref = $.mutable_source();
|
|
523
|
+
let __mounted = $.mutable_source(false);
|
|
524
|
+
createEventDispatcher();
|
|
525
|
+
let _label = $.prop($$props, "_label", 8);
|
|
526
|
+
let _on = $.prop($$props, "_on", 8, void 0);
|
|
527
|
+
let _width = $.prop($$props, "_width", 8, void 0);
|
|
528
|
+
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
529
|
+
const openModal = (...args) => $.get(__ref).openModal(...args);
|
|
530
|
+
const closeModal = (...args) => $.get(__ref).closeModal(...args);
|
|
531
|
+
const getWebComponent = () => $.get(__ref);
|
|
532
|
+
onMount(() => {
|
|
533
|
+
$.set(__mounted, true);
|
|
534
|
+
});
|
|
535
|
+
const setProp = (prop, value) => {
|
|
536
|
+
if ($.get(__ref)) $.mutate(__ref, $.get(__ref)[prop] = value);
|
|
537
|
+
};
|
|
538
|
+
$.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_on())), () => {
|
|
539
|
+
if ($.get(__mounted)) setProp("_on", _on());
|
|
540
|
+
});
|
|
541
|
+
$.legacy_pre_effect_reset();
|
|
542
|
+
var $$exports = { openModal, closeModal, getWebComponent };
|
|
543
|
+
$.init();
|
|
544
|
+
var kol_dialog = root$G();
|
|
545
|
+
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_label", _label()));
|
|
546
|
+
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_width", _width()));
|
|
547
|
+
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_variant", _variant()));
|
|
548
|
+
var node = $.child(kol_dialog);
|
|
549
|
+
$.slot(node, $$props, "default", {}, null);
|
|
550
|
+
$.reset(kol_dialog);
|
|
551
|
+
$.bind_this(kol_dialog, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
552
|
+
$.append($$anchor, kol_dialog);
|
|
553
|
+
$.bind_prop($$props, "openModal", openModal);
|
|
554
|
+
$.bind_prop($$props, "closeModal", closeModal);
|
|
515
555
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
516
556
|
return $.pop($$exports);
|
|
517
557
|
}
|
|
@@ -704,7 +744,7 @@ function KolInputCheckbox($$anchor, $$props) {
|
|
|
704
744
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
705
745
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
706
746
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
707
|
-
const
|
|
747
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
708
748
|
const getWebComponent = () => $.get(__ref);
|
|
709
749
|
onMount(() => {
|
|
710
750
|
$.set(__mounted, true);
|
|
@@ -716,7 +756,7 @@ function KolInputCheckbox($$anchor, $$props) {
|
|
|
716
756
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
717
757
|
});
|
|
718
758
|
$.legacy_pre_effect_reset();
|
|
719
|
-
var $$exports = { getValue,
|
|
759
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
720
760
|
$.init();
|
|
721
761
|
var kol_input_checkbox = root$A();
|
|
722
762
|
$.template_effect(() => $.set_custom_element_data(kol_input_checkbox, "_access-key", _accessKey()));
|
|
@@ -745,7 +785,7 @@ function KolInputCheckbox($$anchor, $$props) {
|
|
|
745
785
|
$.bind_this(kol_input_checkbox, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
746
786
|
$.append($$anchor, kol_input_checkbox);
|
|
747
787
|
$.bind_prop($$props, "getValue", getValue);
|
|
748
|
-
$.bind_prop($$props, "
|
|
788
|
+
$.bind_prop($$props, "focus", focus);
|
|
749
789
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
750
790
|
return $.pop($$exports);
|
|
751
791
|
}
|
|
@@ -776,7 +816,7 @@ function KolInputColor($$anchor, $$props) {
|
|
|
776
816
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
777
817
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
778
818
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
779
|
-
const
|
|
819
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
780
820
|
const getWebComponent = () => $.get(__ref);
|
|
781
821
|
onMount(() => {
|
|
782
822
|
$.set(__mounted, true);
|
|
@@ -788,7 +828,7 @@ function KolInputColor($$anchor, $$props) {
|
|
|
788
828
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
789
829
|
});
|
|
790
830
|
$.legacy_pre_effect_reset();
|
|
791
|
-
var $$exports = { getValue,
|
|
831
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
792
832
|
$.init();
|
|
793
833
|
var kol_input_color = root$z();
|
|
794
834
|
$.template_effect(() => $.set_custom_element_data(kol_input_color, "_access-key", _accessKey()));
|
|
@@ -815,7 +855,7 @@ function KolInputColor($$anchor, $$props) {
|
|
|
815
855
|
$.bind_this(kol_input_color, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
816
856
|
$.append($$anchor, kol_input_color);
|
|
817
857
|
$.bind_prop($$props, "getValue", getValue);
|
|
818
|
-
$.bind_prop($$props, "
|
|
858
|
+
$.bind_prop($$props, "focus", focus);
|
|
819
859
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
820
860
|
return $.pop($$exports);
|
|
821
861
|
}
|
|
@@ -852,7 +892,7 @@ function KolInputDate($$anchor, $$props) {
|
|
|
852
892
|
let _type = $.prop($$props, "_type", 8, void 0);
|
|
853
893
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
854
894
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
855
|
-
const
|
|
895
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
856
896
|
const reset = (...args) => $.get(__ref).reset(...args);
|
|
857
897
|
const getWebComponent = () => $.get(__ref);
|
|
858
898
|
onMount(() => {
|
|
@@ -865,7 +905,7 @@ function KolInputDate($$anchor, $$props) {
|
|
|
865
905
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
866
906
|
});
|
|
867
907
|
$.legacy_pre_effect_reset();
|
|
868
|
-
var $$exports = { getValue,
|
|
908
|
+
var $$exports = { getValue, focus, reset, getWebComponent };
|
|
869
909
|
$.init();
|
|
870
910
|
var kol_input_date = root$y();
|
|
871
911
|
$.template_effect(() => $.set_custom_element_data(kol_input_date, "_access-key", _accessKey()));
|
|
@@ -898,7 +938,7 @@ function KolInputDate($$anchor, $$props) {
|
|
|
898
938
|
$.bind_this(kol_input_date, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
899
939
|
$.append($$anchor, kol_input_date);
|
|
900
940
|
$.bind_prop($$props, "getValue", getValue);
|
|
901
|
-
$.bind_prop($$props, "
|
|
941
|
+
$.bind_prop($$props, "focus", focus);
|
|
902
942
|
$.bind_prop($$props, "reset", reset);
|
|
903
943
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
904
944
|
return $.pop($$exports);
|
|
@@ -938,7 +978,7 @@ function KolInputEmail($$anchor, $$props) {
|
|
|
938
978
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
939
979
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
940
980
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
941
|
-
const
|
|
981
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
942
982
|
const getWebComponent = () => $.get(__ref);
|
|
943
983
|
onMount(() => {
|
|
944
984
|
$.set(__mounted, true);
|
|
@@ -950,7 +990,7 @@ function KolInputEmail($$anchor, $$props) {
|
|
|
950
990
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
951
991
|
});
|
|
952
992
|
$.legacy_pre_effect_reset();
|
|
953
|
-
var $$exports = { getValue,
|
|
993
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
954
994
|
$.init();
|
|
955
995
|
var kol_input_email = root$x();
|
|
956
996
|
$.template_effect(() => $.set_custom_element_data(kol_input_email, "_access-key", _accessKey()));
|
|
@@ -985,7 +1025,7 @@ function KolInputEmail($$anchor, $$props) {
|
|
|
985
1025
|
$.bind_this(kol_input_email, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
986
1026
|
$.append($$anchor, kol_input_email);
|
|
987
1027
|
$.bind_prop($$props, "getValue", getValue);
|
|
988
|
-
$.bind_prop($$props, "
|
|
1028
|
+
$.bind_prop($$props, "focus", focus);
|
|
989
1029
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
990
1030
|
return $.pop($$exports);
|
|
991
1031
|
}
|
|
@@ -1016,7 +1056,7 @@ function KolInputFile($$anchor, $$props) {
|
|
|
1016
1056
|
let _tooltipAlign = $.prop($$props, "_tooltipAlign", 8, void 0);
|
|
1017
1057
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
1018
1058
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1019
|
-
const
|
|
1059
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1020
1060
|
const reset = (...args) => $.get(__ref).reset(...args);
|
|
1021
1061
|
const getWebComponent = () => $.get(__ref);
|
|
1022
1062
|
onMount(() => {
|
|
@@ -1029,7 +1069,7 @@ function KolInputFile($$anchor, $$props) {
|
|
|
1029
1069
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1030
1070
|
});
|
|
1031
1071
|
$.legacy_pre_effect_reset();
|
|
1032
|
-
var $$exports = { getValue,
|
|
1072
|
+
var $$exports = { getValue, focus, reset, getWebComponent };
|
|
1033
1073
|
$.init();
|
|
1034
1074
|
var kol_input_file = root$w();
|
|
1035
1075
|
$.template_effect(() => $.set_custom_element_data(kol_input_file, "_accept", _accept()));
|
|
@@ -1056,7 +1096,7 @@ function KolInputFile($$anchor, $$props) {
|
|
|
1056
1096
|
$.bind_this(kol_input_file, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1057
1097
|
$.append($$anchor, kol_input_file);
|
|
1058
1098
|
$.bind_prop($$props, "getValue", getValue);
|
|
1059
|
-
$.bind_prop($$props, "
|
|
1099
|
+
$.bind_prop($$props, "focus", focus);
|
|
1060
1100
|
$.bind_prop($$props, "reset", reset);
|
|
1061
1101
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1062
1102
|
return $.pop($$exports);
|
|
@@ -1094,7 +1134,7 @@ function KolInputNumber($$anchor, $$props) {
|
|
|
1094
1134
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
1095
1135
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
1096
1136
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1097
|
-
const
|
|
1137
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1098
1138
|
const getWebComponent = () => $.get(__ref);
|
|
1099
1139
|
onMount(() => {
|
|
1100
1140
|
$.set(__mounted, true);
|
|
@@ -1106,7 +1146,7 @@ function KolInputNumber($$anchor, $$props) {
|
|
|
1106
1146
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1107
1147
|
});
|
|
1108
1148
|
$.legacy_pre_effect_reset();
|
|
1109
|
-
var $$exports = { getValue,
|
|
1149
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
1110
1150
|
$.init();
|
|
1111
1151
|
var kol_input_number = root$v();
|
|
1112
1152
|
$.template_effect(() => $.set_custom_element_data(kol_input_number, "_access-key", _accessKey()));
|
|
@@ -1139,7 +1179,7 @@ function KolInputNumber($$anchor, $$props) {
|
|
|
1139
1179
|
$.bind_this(kol_input_number, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1140
1180
|
$.append($$anchor, kol_input_number);
|
|
1141
1181
|
$.bind_prop($$props, "getValue", getValue);
|
|
1142
|
-
$.bind_prop($$props, "
|
|
1182
|
+
$.bind_prop($$props, "focus", focus);
|
|
1143
1183
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1144
1184
|
return $.pop($$exports);
|
|
1145
1185
|
}
|
|
@@ -1177,7 +1217,7 @@ function KolInputPassword($$anchor, $$props) {
|
|
|
1177
1217
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
1178
1218
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1179
1219
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1180
|
-
const
|
|
1220
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1181
1221
|
const getWebComponent = () => $.get(__ref);
|
|
1182
1222
|
onMount(() => {
|
|
1183
1223
|
$.set(__mounted, true);
|
|
@@ -1189,7 +1229,7 @@ function KolInputPassword($$anchor, $$props) {
|
|
|
1189
1229
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1190
1230
|
});
|
|
1191
1231
|
$.legacy_pre_effect_reset();
|
|
1192
|
-
var $$exports = { getValue,
|
|
1232
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
1193
1233
|
$.init();
|
|
1194
1234
|
var kol_input_password = root$u();
|
|
1195
1235
|
$.template_effect(() => $.set_custom_element_data(kol_input_password, "_access-key", _accessKey()));
|
|
@@ -1223,7 +1263,7 @@ function KolInputPassword($$anchor, $$props) {
|
|
|
1223
1263
|
$.bind_this(kol_input_password, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1224
1264
|
$.append($$anchor, kol_input_password);
|
|
1225
1265
|
$.bind_prop($$props, "getValue", getValue);
|
|
1226
|
-
$.bind_prop($$props, "
|
|
1266
|
+
$.bind_prop($$props, "focus", focus);
|
|
1227
1267
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1228
1268
|
return $.pop($$exports);
|
|
1229
1269
|
}
|
|
@@ -1251,7 +1291,7 @@ function KolInputRadio($$anchor, $$props) {
|
|
|
1251
1291
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
1252
1292
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
1253
1293
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1254
|
-
const
|
|
1294
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1255
1295
|
const getWebComponent = () => $.get(__ref);
|
|
1256
1296
|
onMount(() => {
|
|
1257
1297
|
$.set(__mounted, true);
|
|
@@ -1263,7 +1303,7 @@ function KolInputRadio($$anchor, $$props) {
|
|
|
1263
1303
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1264
1304
|
});
|
|
1265
1305
|
$.legacy_pre_effect_reset();
|
|
1266
|
-
var $$exports = { getValue,
|
|
1306
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
1267
1307
|
$.init();
|
|
1268
1308
|
var kol_input_radio = root$t();
|
|
1269
1309
|
$.template_effect(() => $.set_custom_element_data(kol_input_radio, "_disabled", _disabled()));
|
|
@@ -1287,7 +1327,7 @@ function KolInputRadio($$anchor, $$props) {
|
|
|
1287
1327
|
$.bind_this(kol_input_radio, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1288
1328
|
$.append($$anchor, kol_input_radio);
|
|
1289
1329
|
$.bind_prop($$props, "getValue", getValue);
|
|
1290
|
-
$.bind_prop($$props, "
|
|
1330
|
+
$.bind_prop($$props, "focus", focus);
|
|
1291
1331
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1292
1332
|
return $.pop($$exports);
|
|
1293
1333
|
}
|
|
@@ -1319,7 +1359,7 @@ function KolInputRange($$anchor, $$props) {
|
|
|
1319
1359
|
let _tooltipAlign = $.prop($$props, "_tooltipAlign", 8, void 0);
|
|
1320
1360
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
1321
1361
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
1322
|
-
const
|
|
1362
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1323
1363
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1324
1364
|
const getWebComponent = () => $.get(__ref);
|
|
1325
1365
|
onMount(() => {
|
|
@@ -1332,7 +1372,7 @@ function KolInputRange($$anchor, $$props) {
|
|
|
1332
1372
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1333
1373
|
});
|
|
1334
1374
|
$.legacy_pre_effect_reset();
|
|
1335
|
-
var $$exports = {
|
|
1375
|
+
var $$exports = { focus, getValue, getWebComponent };
|
|
1336
1376
|
$.init();
|
|
1337
1377
|
var kol_input_range = root$s();
|
|
1338
1378
|
$.template_effect(() => $.set_custom_element_data(kol_input_range, "_access-key", _accessKey()));
|
|
@@ -1360,7 +1400,7 @@ function KolInputRange($$anchor, $$props) {
|
|
|
1360
1400
|
$.reset(kol_input_range);
|
|
1361
1401
|
$.bind_this(kol_input_range, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1362
1402
|
$.append($$anchor, kol_input_range);
|
|
1363
|
-
$.bind_prop($$props, "
|
|
1403
|
+
$.bind_prop($$props, "focus", focus);
|
|
1364
1404
|
$.bind_prop($$props, "getValue", getValue);
|
|
1365
1405
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1366
1406
|
return $.pop($$exports);
|
|
@@ -1401,7 +1441,7 @@ function KolInputText($$anchor, $$props) {
|
|
|
1401
1441
|
let _type = $.prop($$props, "_type", 8, void 0);
|
|
1402
1442
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
1403
1443
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
1404
|
-
const
|
|
1444
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1405
1445
|
const selectionStart = (...args) => $.get(__ref).selectionStart(...args);
|
|
1406
1446
|
const selectioconEnd = (...args) => $.get(__ref).selectioconEnd(...args);
|
|
1407
1447
|
const setSelectionRange = (...args) => $.get(__ref).setSelectionRange(...args);
|
|
@@ -1420,7 +1460,7 @@ function KolInputText($$anchor, $$props) {
|
|
|
1420
1460
|
$.legacy_pre_effect_reset();
|
|
1421
1461
|
var $$exports = {
|
|
1422
1462
|
getValue,
|
|
1423
|
-
|
|
1463
|
+
focus,
|
|
1424
1464
|
selectionStart,
|
|
1425
1465
|
selectioconEnd,
|
|
1426
1466
|
setSelectionRange,
|
|
@@ -1463,7 +1503,7 @@ function KolInputText($$anchor, $$props) {
|
|
|
1463
1503
|
$.bind_this(kol_input_text, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1464
1504
|
$.append($$anchor, kol_input_text);
|
|
1465
1505
|
$.bind_prop($$props, "getValue", getValue);
|
|
1466
|
-
$.bind_prop($$props, "
|
|
1506
|
+
$.bind_prop($$props, "focus", focus);
|
|
1467
1507
|
$.bind_prop($$props, "selectionStart", selectionStart);
|
|
1468
1508
|
$.bind_prop($$props, "selectioconEnd", selectioconEnd);
|
|
1469
1509
|
$.bind_prop($$props, "setSelectionRange", setSelectionRange);
|
|
@@ -1520,7 +1560,7 @@ function KolLink($$anchor, $$props) {
|
|
|
1520
1560
|
let _shortKey = $.prop($$props, "_shortKey", 8, void 0);
|
|
1521
1561
|
let _target = $.prop($$props, "_target", 8, void 0);
|
|
1522
1562
|
let _tooltipAlign = $.prop($$props, "_tooltipAlign", 8, void 0);
|
|
1523
|
-
const
|
|
1563
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1524
1564
|
const getWebComponent = () => $.get(__ref);
|
|
1525
1565
|
onMount(() => {
|
|
1526
1566
|
$.set(__mounted, true);
|
|
@@ -1532,7 +1572,7 @@ function KolLink($$anchor, $$props) {
|
|
|
1532
1572
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1533
1573
|
});
|
|
1534
1574
|
$.legacy_pre_effect_reset();
|
|
1535
|
-
var $$exports = {
|
|
1575
|
+
var $$exports = { focus, getWebComponent };
|
|
1536
1576
|
$.init();
|
|
1537
1577
|
var kol_link = root$p();
|
|
1538
1578
|
$.template_effect(() => $.set_custom_element_data(kol_link, "_access-key", _accessKey()));
|
|
@@ -1556,7 +1596,7 @@ function KolLink($$anchor, $$props) {
|
|
|
1556
1596
|
$.reset(kol_link);
|
|
1557
1597
|
$.bind_this(kol_link, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1558
1598
|
$.append($$anchor, kol_link);
|
|
1559
|
-
$.bind_prop($$props, "
|
|
1599
|
+
$.bind_prop($$props, "focus", focus);
|
|
1560
1600
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1561
1601
|
return $.pop($$exports);
|
|
1562
1602
|
}
|
|
@@ -1584,7 +1624,7 @@ function KolLinkButton($$anchor, $$props) {
|
|
|
1584
1624
|
let _target = $.prop($$props, "_target", 8, void 0);
|
|
1585
1625
|
let _tooltipAlign = $.prop($$props, "_tooltipAlign", 8, void 0);
|
|
1586
1626
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1587
|
-
const
|
|
1627
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1588
1628
|
const getWebComponent = () => $.get(__ref);
|
|
1589
1629
|
onMount(() => {
|
|
1590
1630
|
$.set(__mounted, true);
|
|
@@ -1596,7 +1636,7 @@ function KolLinkButton($$anchor, $$props) {
|
|
|
1596
1636
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1597
1637
|
});
|
|
1598
1638
|
$.legacy_pre_effect_reset();
|
|
1599
|
-
var $$exports = {
|
|
1639
|
+
var $$exports = { focus, getWebComponent };
|
|
1600
1640
|
$.init();
|
|
1601
1641
|
var kol_link_button = root$o();
|
|
1602
1642
|
$.template_effect(() => $.set_custom_element_data(kol_link_button, "_access-key", _accessKey()));
|
|
@@ -1620,7 +1660,7 @@ function KolLinkButton($$anchor, $$props) {
|
|
|
1620
1660
|
$.reset(kol_link_button);
|
|
1621
1661
|
$.bind_this(kol_link_button, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1622
1662
|
$.append($$anchor, kol_link_button);
|
|
1623
|
-
$.bind_prop($$props, "
|
|
1663
|
+
$.bind_prop($$props, "focus", focus);
|
|
1624
1664
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1625
1665
|
return $.pop($$exports);
|
|
1626
1666
|
}
|
|
@@ -1827,7 +1867,7 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1827
1867
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1828
1868
|
const hidePopover = (...args) => $.get(__ref).hidePopover(...args);
|
|
1829
1869
|
const showPopover = (...args) => $.get(__ref).showPopover(...args);
|
|
1830
|
-
const
|
|
1870
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1831
1871
|
const getWebComponent = () => $.get(__ref);
|
|
1832
1872
|
onMount(() => {
|
|
1833
1873
|
$.set(__mounted, true);
|
|
@@ -1839,7 +1879,7 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1839
1879
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1840
1880
|
});
|
|
1841
1881
|
$.legacy_pre_effect_reset();
|
|
1842
|
-
var $$exports = { hidePopover, showPopover,
|
|
1882
|
+
var $$exports = { hidePopover, showPopover, focus, getWebComponent };
|
|
1843
1883
|
$.init();
|
|
1844
1884
|
var kol_popover_button = root$j();
|
|
1845
1885
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_access-key", _accessKey()));
|
|
@@ -1870,7 +1910,7 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1870
1910
|
$.append($$anchor, kol_popover_button);
|
|
1871
1911
|
$.bind_prop($$props, "hidePopover", hidePopover);
|
|
1872
1912
|
$.bind_prop($$props, "showPopover", showPopover);
|
|
1873
|
-
$.bind_prop($$props, "
|
|
1913
|
+
$.bind_prop($$props, "focus", focus);
|
|
1874
1914
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1875
1915
|
return $.pop($$exports);
|
|
1876
1916
|
}
|
|
@@ -1905,7 +1945,7 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1905
1945
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1906
1946
|
const hidePopover = (...args) => $.get(__ref).hidePopover(...args);
|
|
1907
1947
|
const showPopover = (...args) => $.get(__ref).showPopover(...args);
|
|
1908
|
-
const
|
|
1948
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1909
1949
|
const getWebComponent = () => $.get(__ref);
|
|
1910
1950
|
onMount(() => {
|
|
1911
1951
|
$.set(__mounted, true);
|
|
@@ -1917,7 +1957,7 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1917
1957
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1918
1958
|
});
|
|
1919
1959
|
$.legacy_pre_effect_reset();
|
|
1920
|
-
var $$exports = { hidePopover, showPopover,
|
|
1960
|
+
var $$exports = { hidePopover, showPopover, focus, getWebComponent };
|
|
1921
1961
|
$.init();
|
|
1922
1962
|
var kol_popover_button_wc = root$i();
|
|
1923
1963
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_access-key", _accessKey()));
|
|
@@ -1948,7 +1988,7 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1948
1988
|
$.append($$anchor, kol_popover_button_wc);
|
|
1949
1989
|
$.bind_prop($$props, "hidePopover", hidePopover);
|
|
1950
1990
|
$.bind_prop($$props, "showPopover", showPopover);
|
|
1951
|
-
$.bind_prop($$props, "
|
|
1991
|
+
$.bind_prop($$props, "focus", focus);
|
|
1952
1992
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1953
1993
|
return $.pop($$exports);
|
|
1954
1994
|
}
|
|
@@ -2039,7 +2079,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2039
2079
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2040
2080
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2041
2081
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2042
|
-
const
|
|
2082
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2043
2083
|
const getWebComponent = () => $.get(__ref);
|
|
2044
2084
|
onMount(() => {
|
|
2045
2085
|
$.set(__mounted, true);
|
|
@@ -2051,7 +2091,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2051
2091
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2052
2092
|
});
|
|
2053
2093
|
$.legacy_pre_effect_reset();
|
|
2054
|
-
var $$exports = { getValue,
|
|
2094
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2055
2095
|
$.init();
|
|
2056
2096
|
var kol_select = root$f();
|
|
2057
2097
|
$.template_effect(() => $.set_custom_element_data(kol_select, "_access-key", _accessKey()));
|
|
@@ -2080,7 +2120,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2080
2120
|
$.bind_this(kol_select, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2081
2121
|
$.append($$anchor, kol_select);
|
|
2082
2122
|
$.bind_prop($$props, "getValue", getValue);
|
|
2083
|
-
$.bind_prop($$props, "
|
|
2123
|
+
$.bind_prop($$props, "focus", focus);
|
|
2084
2124
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2085
2125
|
return $.pop($$exports);
|
|
2086
2126
|
}
|
|
@@ -2113,7 +2153,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2113
2153
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2114
2154
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2115
2155
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2116
|
-
const
|
|
2156
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2117
2157
|
const getWebComponent = () => $.get(__ref);
|
|
2118
2158
|
onMount(() => {
|
|
2119
2159
|
$.set(__mounted, true);
|
|
@@ -2125,7 +2165,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2125
2165
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2126
2166
|
});
|
|
2127
2167
|
$.legacy_pre_effect_reset();
|
|
2128
|
-
var $$exports = { getValue,
|
|
2168
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2129
2169
|
$.init();
|
|
2130
2170
|
var kol_select_wc = root$e();
|
|
2131
2171
|
$.template_effect(() => $.set_custom_element_data(kol_select_wc, "_access-key", _accessKey()));
|
|
@@ -2154,7 +2194,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2154
2194
|
$.bind_this(kol_select_wc, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2155
2195
|
$.append($$anchor, kol_select_wc);
|
|
2156
2196
|
$.bind_prop($$props, "getValue", getValue);
|
|
2157
|
-
$.bind_prop($$props, "
|
|
2197
|
+
$.bind_prop($$props, "focus", focus);
|
|
2158
2198
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2159
2199
|
return $.pop($$exports);
|
|
2160
2200
|
}
|
|
@@ -2187,7 +2227,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2187
2227
|
let _hasClearButton = $.prop($$props, "_hasClearButton", 8, void 0);
|
|
2188
2228
|
let _rows = $.prop($$props, "_rows", 8, void 0);
|
|
2189
2229
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2190
|
-
const
|
|
2230
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2191
2231
|
const getWebComponent = () => $.get(__ref);
|
|
2192
2232
|
onMount(() => {
|
|
2193
2233
|
$.set(__mounted, true);
|
|
@@ -2199,7 +2239,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2199
2239
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2200
2240
|
});
|
|
2201
2241
|
$.legacy_pre_effect_reset();
|
|
2202
|
-
var $$exports = { getValue,
|
|
2242
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2203
2243
|
$.init();
|
|
2204
2244
|
var kol_single_select = root$d();
|
|
2205
2245
|
$.template_effect(() => $.set_custom_element_data(kol_single_select, "_access-key", _accessKey()));
|
|
@@ -2228,7 +2268,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2228
2268
|
$.bind_this(kol_single_select, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2229
2269
|
$.append($$anchor, kol_single_select);
|
|
2230
2270
|
$.bind_prop($$props, "getValue", getValue);
|
|
2231
|
-
$.bind_prop($$props, "
|
|
2271
|
+
$.bind_prop($$props, "focus", focus);
|
|
2232
2272
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2233
2273
|
return $.pop($$exports);
|
|
2234
2274
|
}
|
|
@@ -2240,11 +2280,11 @@ function KolSkipNav($$anchor, $$props) {
|
|
|
2240
2280
|
createEventDispatcher();
|
|
2241
2281
|
let _label = $.prop($$props, "_label", 8);
|
|
2242
2282
|
let _links = $.prop($$props, "_links", 8);
|
|
2243
|
-
const
|
|
2283
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2244
2284
|
const getWebComponent = () => $.get(__ref);
|
|
2245
2285
|
onMount(() => {
|
|
2246
2286
|
});
|
|
2247
|
-
var $$exports = {
|
|
2287
|
+
var $$exports = { focus, getWebComponent };
|
|
2248
2288
|
$.init();
|
|
2249
2289
|
var kol_skip_nav = root$c();
|
|
2250
2290
|
$.template_effect(() => $.set_custom_element_data(kol_skip_nav, "_label", _label()));
|
|
@@ -2254,7 +2294,7 @@ function KolSkipNav($$anchor, $$props) {
|
|
|
2254
2294
|
$.reset(kol_skip_nav);
|
|
2255
2295
|
$.bind_this(kol_skip_nav, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2256
2296
|
$.append($$anchor, kol_skip_nav);
|
|
2257
|
-
$.bind_prop($$props, "
|
|
2297
|
+
$.bind_prop($$props, "focus", focus);
|
|
2258
2298
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2259
2299
|
return $.pop($$exports);
|
|
2260
2300
|
}
|
|
@@ -2312,7 +2352,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2312
2352
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2313
2353
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
2314
2354
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2315
|
-
const
|
|
2355
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2316
2356
|
const closePopup = (...args) => $.get(__ref).closePopup(...args);
|
|
2317
2357
|
const getWebComponent = () => $.get(__ref);
|
|
2318
2358
|
onMount(() => {
|
|
@@ -2325,7 +2365,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2325
2365
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2326
2366
|
});
|
|
2327
2367
|
$.legacy_pre_effect_reset();
|
|
2328
|
-
var $$exports = { getValue,
|
|
2368
|
+
var $$exports = { getValue, focus, closePopup, getWebComponent };
|
|
2329
2369
|
$.init();
|
|
2330
2370
|
var kol_split_button = root$a();
|
|
2331
2371
|
$.template_effect(() => $.set_custom_element_data(kol_split_button, "_access-key", _accessKey()));
|
|
@@ -2353,7 +2393,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2353
2393
|
$.bind_this(kol_split_button, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2354
2394
|
$.append($$anchor, kol_split_button);
|
|
2355
2395
|
$.bind_prop($$props, "getValue", getValue);
|
|
2356
|
-
$.bind_prop($$props, "
|
|
2396
|
+
$.bind_prop($$props, "focus", focus);
|
|
2357
2397
|
$.bind_prop($$props, "closePopup", closePopup);
|
|
2358
2398
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2359
2399
|
return $.pop($$exports);
|
|
@@ -2530,7 +2570,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2530
2570
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2531
2571
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2532
2572
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2533
|
-
const
|
|
2573
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2534
2574
|
const getWebComponent = () => $.get(__ref);
|
|
2535
2575
|
onMount(() => {
|
|
2536
2576
|
$.set(__mounted, true);
|
|
@@ -2542,7 +2582,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2542
2582
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2543
2583
|
});
|
|
2544
2584
|
$.legacy_pre_effect_reset();
|
|
2545
|
-
var $$exports = { getValue,
|
|
2585
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2546
2586
|
$.init();
|
|
2547
2587
|
var kol_textarea = root$6();
|
|
2548
2588
|
$.template_effect(() => $.set_custom_element_data(kol_textarea, "_access-key", _accessKey()));
|
|
@@ -2576,7 +2616,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2576
2616
|
$.bind_this(kol_textarea, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2577
2617
|
$.append($$anchor, kol_textarea);
|
|
2578
2618
|
$.bind_prop($$props, "getValue", getValue);
|
|
2579
|
-
$.bind_prop($$props, "
|
|
2619
|
+
$.bind_prop($$props, "focus", focus);
|
|
2580
2620
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2581
2621
|
return $.pop($$exports);
|
|
2582
2622
|
}
|
|
@@ -2670,14 +2710,14 @@ function KolTreeItem($$anchor, $$props) {
|
|
|
2670
2710
|
let _label = $.prop($$props, "_label", 8);
|
|
2671
2711
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
2672
2712
|
let _href = $.prop($$props, "_href", 8);
|
|
2673
|
-
const
|
|
2713
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2674
2714
|
const expand = (...args) => $.get(__ref).expand(...args);
|
|
2675
2715
|
const collapse = (...args) => $.get(__ref).collapse(...args);
|
|
2676
2716
|
const isOpen = (...args) => $.get(__ref).isOpen(...args);
|
|
2677
2717
|
const getWebComponent = () => $.get(__ref);
|
|
2678
2718
|
onMount(() => {
|
|
2679
2719
|
});
|
|
2680
|
-
var $$exports = {
|
|
2720
|
+
var $$exports = { focus, expand, collapse, isOpen, getWebComponent };
|
|
2681
2721
|
$.init();
|
|
2682
2722
|
var kol_tree_item = root$2();
|
|
2683
2723
|
$.template_effect(() => $.set_custom_element_data(kol_tree_item, "_active", _active()));
|
|
@@ -2689,7 +2729,7 @@ function KolTreeItem($$anchor, $$props) {
|
|
|
2689
2729
|
$.reset(kol_tree_item);
|
|
2690
2730
|
$.bind_this(kol_tree_item, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2691
2731
|
$.append($$anchor, kol_tree_item);
|
|
2692
|
-
$.bind_prop($$props, "
|
|
2732
|
+
$.bind_prop($$props, "focus", focus);
|
|
2693
2733
|
$.bind_prop($$props, "expand", expand);
|
|
2694
2734
|
$.bind_prop($$props, "collapse", collapse);
|
|
2695
2735
|
$.bind_prop($$props, "isOpen", isOpen);
|
|
@@ -2706,14 +2746,14 @@ function KolTreeItemWc($$anchor, $$props) {
|
|
|
2706
2746
|
let _label = $.prop($$props, "_label", 8);
|
|
2707
2747
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
2708
2748
|
let _href = $.prop($$props, "_href", 8);
|
|
2709
|
-
const
|
|
2749
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2710
2750
|
const expand = (...args) => $.get(__ref).expand(...args);
|
|
2711
2751
|
const collapse = (...args) => $.get(__ref).collapse(...args);
|
|
2712
2752
|
const isOpen = (...args) => $.get(__ref).isOpen(...args);
|
|
2713
2753
|
const getWebComponent = () => $.get(__ref);
|
|
2714
2754
|
onMount(() => {
|
|
2715
2755
|
});
|
|
2716
|
-
var $$exports = {
|
|
2756
|
+
var $$exports = { focus, expand, collapse, isOpen, getWebComponent };
|
|
2717
2757
|
$.init();
|
|
2718
2758
|
var kol_tree_item_wc = root$1();
|
|
2719
2759
|
$.template_effect(() => $.set_custom_element_data(kol_tree_item_wc, "_active", _active()));
|
|
@@ -2725,7 +2765,7 @@ function KolTreeItemWc($$anchor, $$props) {
|
|
|
2725
2765
|
$.reset(kol_tree_item_wc);
|
|
2726
2766
|
$.bind_this(kol_tree_item_wc, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2727
2767
|
$.append($$anchor, kol_tree_item_wc);
|
|
2728
|
-
$.bind_prop($$props, "
|
|
2768
|
+
$.bind_prop($$props, "focus", focus);
|
|
2729
2769
|
$.bind_prop($$props, "expand", expand);
|
|
2730
2770
|
$.bind_prop($$props, "collapse", collapse);
|
|
2731
2771
|
$.bind_prop($$props, "isOpen", isOpen);
|
|
@@ -2755,4 +2795,4 @@ function KolVersion($$anchor, $$props) {
|
|
|
2755
2795
|
return $.pop($$exports);
|
|
2756
2796
|
}
|
|
2757
2797
|
|
|
2758
|
-
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, KolSelectWc, KolSingleSelect, KolSkipNav, KolSpin, KolSplitButton, KolTableStateful, KolTableStateless, KolTabs, KolTextarea, KolToastContainer, KolToolbar, KolTree, KolTreeItem, KolTreeItemWc, KolVersion };
|
|
2798
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonLink, KolCard, KolCardWc, KolCombobox, KolDetails, KolDialog, 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, KolSelectWc, KolSingleSelect, KolSkipNav, KolSpin, KolSplitButton, KolTableStateful, KolTableStateless, KolTabs, KolTextarea, KolToastContainer, KolToolbar, KolTree, KolTreeItem, KolTreeItemWc, KolVersion };
|