@public-ui/svelte 4.0.0-beta.0 → 4.0.0-ee1678914efc9a51fdc688bac71b570e768a8032.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +149 -144
- 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 -145
- 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
|
}
|
|
@@ -1801,12 +1841,9 @@ var root$j = $.from_html(`<kol-popover-button><!></kol-popover-button>`, 2);
|
|
|
1801
1841
|
function KolPopoverButton($$anchor, $$props) {
|
|
1802
1842
|
$.push($$props, false);
|
|
1803
1843
|
let __ref = $.mutable_source();
|
|
1804
|
-
let __mounted = $.mutable_source(false);
|
|
1805
1844
|
createEventDispatcher();
|
|
1806
1845
|
let _accessKey = $.prop($$props, "_accessKey", 8, void 0);
|
|
1807
|
-
let _ariaControls = $.prop($$props, "_ariaControls", 8, void 0);
|
|
1808
1846
|
let _ariaDescription = $.prop($$props, "_ariaDescription", 8, void 0);
|
|
1809
|
-
let _ariaSelected = $.prop($$props, "_ariaSelected", 8, void 0);
|
|
1810
1847
|
let _customClass = $.prop($$props, "_customClass", 8, void 0);
|
|
1811
1848
|
let _disabled = $.prop($$props, "_disabled", 8, void 0);
|
|
1812
1849
|
let _hideLabel = $.prop($$props, "_hideLabel", 8, void 0);
|
|
@@ -1815,9 +1852,7 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1815
1852
|
let _id = $.prop($$props, "_id", 8, void 0);
|
|
1816
1853
|
let _label = $.prop($$props, "_label", 8);
|
|
1817
1854
|
let _name = $.prop($$props, "_name", 8, void 0);
|
|
1818
|
-
let _on = $.prop($$props, "_on", 8, void 0);
|
|
1819
1855
|
let _popoverAlign = $.prop($$props, "_popoverAlign", 8, void 0);
|
|
1820
|
-
let _role = $.prop($$props, "_role", 8, void 0);
|
|
1821
1856
|
let _shortKey = $.prop($$props, "_shortKey", 8, void 0);
|
|
1822
1857
|
let _syncValueBySelector = $.prop($$props, "_syncValueBySelector", 8, void 0);
|
|
1823
1858
|
let _tabIndex = $.prop($$props, "_tabIndex", 8, void 0);
|
|
@@ -1827,25 +1862,15 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1827
1862
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1828
1863
|
const hidePopover = (...args) => $.get(__ref).hidePopover(...args);
|
|
1829
1864
|
const showPopover = (...args) => $.get(__ref).showPopover(...args);
|
|
1830
|
-
const
|
|
1865
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1831
1866
|
const getWebComponent = () => $.get(__ref);
|
|
1832
1867
|
onMount(() => {
|
|
1833
|
-
$.set(__mounted, true);
|
|
1834
|
-
});
|
|
1835
|
-
const setProp = (prop, value) => {
|
|
1836
|
-
if ($.get(__ref)) $.mutate(__ref, $.get(__ref)[prop] = value);
|
|
1837
|
-
};
|
|
1838
|
-
$.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_on())), () => {
|
|
1839
|
-
if ($.get(__mounted)) setProp("_on", _on());
|
|
1840
1868
|
});
|
|
1841
|
-
|
|
1842
|
-
var $$exports = { hidePopover, showPopover, kolFocus, getWebComponent };
|
|
1869
|
+
var $$exports = { hidePopover, showPopover, focus, getWebComponent };
|
|
1843
1870
|
$.init();
|
|
1844
1871
|
var kol_popover_button = root$j();
|
|
1845
1872
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_access-key", _accessKey()));
|
|
1846
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_aria-controls", _ariaControls()));
|
|
1847
1873
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_aria-description", _ariaDescription()));
|
|
1848
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_aria-selected", _ariaSelected()));
|
|
1849
1874
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_custom-class", _customClass()));
|
|
1850
1875
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_disabled", _disabled()));
|
|
1851
1876
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_hide-label", _hideLabel()));
|
|
@@ -1855,7 +1880,6 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1855
1880
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_label", _label()));
|
|
1856
1881
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_name", _name()));
|
|
1857
1882
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_popover-align", _popoverAlign()));
|
|
1858
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_role", _role()));
|
|
1859
1883
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_short-key", _shortKey()));
|
|
1860
1884
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_sync-value-by-selector", _syncValueBySelector()));
|
|
1861
1885
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button, "_tab-index", _tabIndex()));
|
|
@@ -1870,7 +1894,7 @@ function KolPopoverButton($$anchor, $$props) {
|
|
|
1870
1894
|
$.append($$anchor, kol_popover_button);
|
|
1871
1895
|
$.bind_prop($$props, "hidePopover", hidePopover);
|
|
1872
1896
|
$.bind_prop($$props, "showPopover", showPopover);
|
|
1873
|
-
$.bind_prop($$props, "
|
|
1897
|
+
$.bind_prop($$props, "focus", focus);
|
|
1874
1898
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1875
1899
|
return $.pop($$exports);
|
|
1876
1900
|
}
|
|
@@ -1879,12 +1903,9 @@ var root$i = $.from_html(`<kol-popover-button-wc><!></kol-popover-button-wc>`, 2
|
|
|
1879
1903
|
function KolPopoverButtonWc($$anchor, $$props) {
|
|
1880
1904
|
$.push($$props, false);
|
|
1881
1905
|
let __ref = $.mutable_source();
|
|
1882
|
-
let __mounted = $.mutable_source(false);
|
|
1883
1906
|
createEventDispatcher();
|
|
1884
1907
|
let _accessKey = $.prop($$props, "_accessKey", 8, void 0);
|
|
1885
|
-
let _ariaControls = $.prop($$props, "_ariaControls", 8, void 0);
|
|
1886
1908
|
let _ariaDescription = $.prop($$props, "_ariaDescription", 8, void 0);
|
|
1887
|
-
let _ariaSelected = $.prop($$props, "_ariaSelected", 8, void 0);
|
|
1888
1909
|
let _customClass = $.prop($$props, "_customClass", 8, void 0);
|
|
1889
1910
|
let _disabled = $.prop($$props, "_disabled", 8, void 0);
|
|
1890
1911
|
let _hideLabel = $.prop($$props, "_hideLabel", 8, void 0);
|
|
@@ -1893,9 +1914,7 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1893
1914
|
let _inline = $.prop($$props, "_inline", 8, void 0);
|
|
1894
1915
|
let _label = $.prop($$props, "_label", 8);
|
|
1895
1916
|
let _name = $.prop($$props, "_name", 8, void 0);
|
|
1896
|
-
let _on = $.prop($$props, "_on", 8, void 0);
|
|
1897
1917
|
let _popoverAlign = $.prop($$props, "_popoverAlign", 8, void 0);
|
|
1898
|
-
let _role = $.prop($$props, "_role", 8, void 0);
|
|
1899
1918
|
let _shortKey = $.prop($$props, "_shortKey", 8, void 0);
|
|
1900
1919
|
let _syncValueBySelector = $.prop($$props, "_syncValueBySelector", 8, void 0);
|
|
1901
1920
|
let _tabIndex = $.prop($$props, "_tabIndex", 8, void 0);
|
|
@@ -1905,25 +1924,15 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1905
1924
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1906
1925
|
const hidePopover = (...args) => $.get(__ref).hidePopover(...args);
|
|
1907
1926
|
const showPopover = (...args) => $.get(__ref).showPopover(...args);
|
|
1908
|
-
const
|
|
1927
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
1909
1928
|
const getWebComponent = () => $.get(__ref);
|
|
1910
1929
|
onMount(() => {
|
|
1911
|
-
$.set(__mounted, true);
|
|
1912
1930
|
});
|
|
1913
|
-
|
|
1914
|
-
if ($.get(__ref)) $.mutate(__ref, $.get(__ref)[prop] = value);
|
|
1915
|
-
};
|
|
1916
|
-
$.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_on())), () => {
|
|
1917
|
-
if ($.get(__mounted)) setProp("_on", _on());
|
|
1918
|
-
});
|
|
1919
|
-
$.legacy_pre_effect_reset();
|
|
1920
|
-
var $$exports = { hidePopover, showPopover, kolFocus, getWebComponent };
|
|
1931
|
+
var $$exports = { hidePopover, showPopover, focus, getWebComponent };
|
|
1921
1932
|
$.init();
|
|
1922
1933
|
var kol_popover_button_wc = root$i();
|
|
1923
1934
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_access-key", _accessKey()));
|
|
1924
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_aria-controls", _ariaControls()));
|
|
1925
1935
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_aria-description", _ariaDescription()));
|
|
1926
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_aria-selected", _ariaSelected()));
|
|
1927
1936
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_custom-class", _customClass()));
|
|
1928
1937
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_disabled", _disabled()));
|
|
1929
1938
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_hide-label", _hideLabel()));
|
|
@@ -1933,7 +1942,6 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1933
1942
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_label", _label()));
|
|
1934
1943
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_name", _name()));
|
|
1935
1944
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_popover-align", _popoverAlign()));
|
|
1936
|
-
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_role", _role()));
|
|
1937
1945
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_short-key", _shortKey()));
|
|
1938
1946
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_sync-value-by-selector", _syncValueBySelector()));
|
|
1939
1947
|
$.template_effect(() => $.set_custom_element_data(kol_popover_button_wc, "_tab-index", _tabIndex()));
|
|
@@ -1948,7 +1956,7 @@ function KolPopoverButtonWc($$anchor, $$props) {
|
|
|
1948
1956
|
$.append($$anchor, kol_popover_button_wc);
|
|
1949
1957
|
$.bind_prop($$props, "hidePopover", hidePopover);
|
|
1950
1958
|
$.bind_prop($$props, "showPopover", showPopover);
|
|
1951
|
-
$.bind_prop($$props, "
|
|
1959
|
+
$.bind_prop($$props, "focus", focus);
|
|
1952
1960
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1953
1961
|
return $.pop($$exports);
|
|
1954
1962
|
}
|
|
@@ -2039,7 +2047,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2039
2047
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2040
2048
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2041
2049
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2042
|
-
const
|
|
2050
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2043
2051
|
const getWebComponent = () => $.get(__ref);
|
|
2044
2052
|
onMount(() => {
|
|
2045
2053
|
$.set(__mounted, true);
|
|
@@ -2051,7 +2059,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2051
2059
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2052
2060
|
});
|
|
2053
2061
|
$.legacy_pre_effect_reset();
|
|
2054
|
-
var $$exports = { getValue,
|
|
2062
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2055
2063
|
$.init();
|
|
2056
2064
|
var kol_select = root$f();
|
|
2057
2065
|
$.template_effect(() => $.set_custom_element_data(kol_select, "_access-key", _accessKey()));
|
|
@@ -2080,7 +2088,7 @@ function KolSelect($$anchor, $$props) {
|
|
|
2080
2088
|
$.bind_this(kol_select, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2081
2089
|
$.append($$anchor, kol_select);
|
|
2082
2090
|
$.bind_prop($$props, "getValue", getValue);
|
|
2083
|
-
$.bind_prop($$props, "
|
|
2091
|
+
$.bind_prop($$props, "focus", focus);
|
|
2084
2092
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2085
2093
|
return $.pop($$exports);
|
|
2086
2094
|
}
|
|
@@ -2113,7 +2121,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2113
2121
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2114
2122
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2115
2123
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2116
|
-
const
|
|
2124
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2117
2125
|
const getWebComponent = () => $.get(__ref);
|
|
2118
2126
|
onMount(() => {
|
|
2119
2127
|
$.set(__mounted, true);
|
|
@@ -2125,7 +2133,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2125
2133
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2126
2134
|
});
|
|
2127
2135
|
$.legacy_pre_effect_reset();
|
|
2128
|
-
var $$exports = { getValue,
|
|
2136
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2129
2137
|
$.init();
|
|
2130
2138
|
var kol_select_wc = root$e();
|
|
2131
2139
|
$.template_effect(() => $.set_custom_element_data(kol_select_wc, "_access-key", _accessKey()));
|
|
@@ -2154,7 +2162,7 @@ function KolSelectWc($$anchor, $$props) {
|
|
|
2154
2162
|
$.bind_this(kol_select_wc, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2155
2163
|
$.append($$anchor, kol_select_wc);
|
|
2156
2164
|
$.bind_prop($$props, "getValue", getValue);
|
|
2157
|
-
$.bind_prop($$props, "
|
|
2165
|
+
$.bind_prop($$props, "focus", focus);
|
|
2158
2166
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2159
2167
|
return $.pop($$exports);
|
|
2160
2168
|
}
|
|
@@ -2187,7 +2195,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2187
2195
|
let _hasClearButton = $.prop($$props, "_hasClearButton", 8, void 0);
|
|
2188
2196
|
let _rows = $.prop($$props, "_rows", 8, void 0);
|
|
2189
2197
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2190
|
-
const
|
|
2198
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2191
2199
|
const getWebComponent = () => $.get(__ref);
|
|
2192
2200
|
onMount(() => {
|
|
2193
2201
|
$.set(__mounted, true);
|
|
@@ -2199,7 +2207,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2199
2207
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2200
2208
|
});
|
|
2201
2209
|
$.legacy_pre_effect_reset();
|
|
2202
|
-
var $$exports = { getValue,
|
|
2210
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2203
2211
|
$.init();
|
|
2204
2212
|
var kol_single_select = root$d();
|
|
2205
2213
|
$.template_effect(() => $.set_custom_element_data(kol_single_select, "_access-key", _accessKey()));
|
|
@@ -2228,7 +2236,7 @@ function KolSingleSelect($$anchor, $$props) {
|
|
|
2228
2236
|
$.bind_this(kol_single_select, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2229
2237
|
$.append($$anchor, kol_single_select);
|
|
2230
2238
|
$.bind_prop($$props, "getValue", getValue);
|
|
2231
|
-
$.bind_prop($$props, "
|
|
2239
|
+
$.bind_prop($$props, "focus", focus);
|
|
2232
2240
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2233
2241
|
return $.pop($$exports);
|
|
2234
2242
|
}
|
|
@@ -2240,11 +2248,11 @@ function KolSkipNav($$anchor, $$props) {
|
|
|
2240
2248
|
createEventDispatcher();
|
|
2241
2249
|
let _label = $.prop($$props, "_label", 8);
|
|
2242
2250
|
let _links = $.prop($$props, "_links", 8);
|
|
2243
|
-
const
|
|
2251
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2244
2252
|
const getWebComponent = () => $.get(__ref);
|
|
2245
2253
|
onMount(() => {
|
|
2246
2254
|
});
|
|
2247
|
-
var $$exports = {
|
|
2255
|
+
var $$exports = { focus, getWebComponent };
|
|
2248
2256
|
$.init();
|
|
2249
2257
|
var kol_skip_nav = root$c();
|
|
2250
2258
|
$.template_effect(() => $.set_custom_element_data(kol_skip_nav, "_label", _label()));
|
|
@@ -2254,7 +2262,7 @@ function KolSkipNav($$anchor, $$props) {
|
|
|
2254
2262
|
$.reset(kol_skip_nav);
|
|
2255
2263
|
$.bind_this(kol_skip_nav, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2256
2264
|
$.append($$anchor, kol_skip_nav);
|
|
2257
|
-
$.bind_prop($$props, "
|
|
2265
|
+
$.bind_prop($$props, "focus", focus);
|
|
2258
2266
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2259
2267
|
return $.pop($$exports);
|
|
2260
2268
|
}
|
|
@@ -2312,7 +2320,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2312
2320
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2313
2321
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
2314
2322
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2315
|
-
const
|
|
2323
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2316
2324
|
const closePopup = (...args) => $.get(__ref).closePopup(...args);
|
|
2317
2325
|
const getWebComponent = () => $.get(__ref);
|
|
2318
2326
|
onMount(() => {
|
|
@@ -2325,7 +2333,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2325
2333
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2326
2334
|
});
|
|
2327
2335
|
$.legacy_pre_effect_reset();
|
|
2328
|
-
var $$exports = { getValue,
|
|
2336
|
+
var $$exports = { getValue, focus, closePopup, getWebComponent };
|
|
2329
2337
|
$.init();
|
|
2330
2338
|
var kol_split_button = root$a();
|
|
2331
2339
|
$.template_effect(() => $.set_custom_element_data(kol_split_button, "_access-key", _accessKey()));
|
|
@@ -2353,7 +2361,7 @@ function KolSplitButton($$anchor, $$props) {
|
|
|
2353
2361
|
$.bind_this(kol_split_button, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2354
2362
|
$.append($$anchor, kol_split_button);
|
|
2355
2363
|
$.bind_prop($$props, "getValue", getValue);
|
|
2356
|
-
$.bind_prop($$props, "
|
|
2364
|
+
$.bind_prop($$props, "focus", focus);
|
|
2357
2365
|
$.bind_prop($$props, "closePopup", closePopup);
|
|
2358
2366
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2359
2367
|
return $.pop($$exports);
|
|
@@ -2370,7 +2378,6 @@ function KolTableStateful($$anchor, $$props) {
|
|
|
2370
2378
|
let _dataFoot = $.prop($$props, "_dataFoot", 8, void 0);
|
|
2371
2379
|
let _headers = $.prop($$props, "_headers", 8);
|
|
2372
2380
|
let _label = $.prop($$props, "_label", 8);
|
|
2373
|
-
let _minWidth = $.prop($$props, "_minWidth", 8);
|
|
2374
2381
|
let _pagination = $.prop($$props, "_pagination", 8, void 0);
|
|
2375
2382
|
let _paginationPosition = $.prop($$props, "_paginationPosition", 8, void 0);
|
|
2376
2383
|
let _selection = $.prop($$props, "_selection", 8, void 0);
|
|
@@ -2396,7 +2403,6 @@ function KolTableStateful($$anchor, $$props) {
|
|
|
2396
2403
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_data-foot", _dataFoot()));
|
|
2397
2404
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_headers", _headers()));
|
|
2398
2405
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_label", _label()));
|
|
2399
|
-
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_min-width", _minWidth()));
|
|
2400
2406
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_pagination", _pagination()));
|
|
2401
2407
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_pagination-position", _paginationPosition()));
|
|
2402
2408
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateful, "_selection", _selection()));
|
|
@@ -2421,7 +2427,6 @@ function KolTableStateless($$anchor, $$props) {
|
|
|
2421
2427
|
let _dataFoot = $.prop($$props, "_dataFoot", 8, void 0);
|
|
2422
2428
|
let _headerCells = $.prop($$props, "_headerCells", 8);
|
|
2423
2429
|
let _label = $.prop($$props, "_label", 8);
|
|
2424
|
-
let _minWidth = $.prop($$props, "_minWidth", 8);
|
|
2425
2430
|
let _on = $.prop($$props, "_on", 8, void 0);
|
|
2426
2431
|
let _selection = $.prop($$props, "_selection", 8, void 0);
|
|
2427
2432
|
let _hasSettingsMenu = $.prop($$props, "_hasSettingsMenu", 8, void 0);
|
|
@@ -2443,7 +2448,6 @@ function KolTableStateless($$anchor, $$props) {
|
|
|
2443
2448
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_data-foot", _dataFoot()));
|
|
2444
2449
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_header-cells", _headerCells()));
|
|
2445
2450
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_label", _label()));
|
|
2446
|
-
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_min-width", _minWidth()));
|
|
2447
2451
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_selection", _selection()));
|
|
2448
2452
|
$.template_effect(() => $.set_custom_element_data(kol_table_stateless, "_has-settings-menu", _hasSettingsMenu()));
|
|
2449
2453
|
var node = $.child(kol_table_stateless);
|
|
@@ -2530,7 +2534,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2530
2534
|
let _touched = $.prop($$props, "_touched", 8, void 0);
|
|
2531
2535
|
let _value = $.prop($$props, "_value", 8, void 0);
|
|
2532
2536
|
const getValue = (...args) => $.get(__ref).getValue(...args);
|
|
2533
|
-
const
|
|
2537
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2534
2538
|
const getWebComponent = () => $.get(__ref);
|
|
2535
2539
|
onMount(() => {
|
|
2536
2540
|
$.set(__mounted, true);
|
|
@@ -2542,7 +2546,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2542
2546
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
2543
2547
|
});
|
|
2544
2548
|
$.legacy_pre_effect_reset();
|
|
2545
|
-
var $$exports = { getValue,
|
|
2549
|
+
var $$exports = { getValue, focus, getWebComponent };
|
|
2546
2550
|
$.init();
|
|
2547
2551
|
var kol_textarea = root$6();
|
|
2548
2552
|
$.template_effect(() => $.set_custom_element_data(kol_textarea, "_access-key", _accessKey()));
|
|
@@ -2576,7 +2580,7 @@ function KolTextarea($$anchor, $$props) {
|
|
|
2576
2580
|
$.bind_this(kol_textarea, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2577
2581
|
$.append($$anchor, kol_textarea);
|
|
2578
2582
|
$.bind_prop($$props, "getValue", getValue);
|
|
2579
|
-
$.bind_prop($$props, "
|
|
2583
|
+
$.bind_prop($$props, "focus", focus);
|
|
2580
2584
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
2581
2585
|
return $.pop($$exports);
|
|
2582
2586
|
}
|
|
@@ -2670,14 +2674,14 @@ function KolTreeItem($$anchor, $$props) {
|
|
|
2670
2674
|
let _label = $.prop($$props, "_label", 8);
|
|
2671
2675
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
2672
2676
|
let _href = $.prop($$props, "_href", 8);
|
|
2673
|
-
const
|
|
2677
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2674
2678
|
const expand = (...args) => $.get(__ref).expand(...args);
|
|
2675
2679
|
const collapse = (...args) => $.get(__ref).collapse(...args);
|
|
2676
2680
|
const isOpen = (...args) => $.get(__ref).isOpen(...args);
|
|
2677
2681
|
const getWebComponent = () => $.get(__ref);
|
|
2678
2682
|
onMount(() => {
|
|
2679
2683
|
});
|
|
2680
|
-
var $$exports = {
|
|
2684
|
+
var $$exports = { focus, expand, collapse, isOpen, getWebComponent };
|
|
2681
2685
|
$.init();
|
|
2682
2686
|
var kol_tree_item = root$2();
|
|
2683
2687
|
$.template_effect(() => $.set_custom_element_data(kol_tree_item, "_active", _active()));
|
|
@@ -2689,7 +2693,7 @@ function KolTreeItem($$anchor, $$props) {
|
|
|
2689
2693
|
$.reset(kol_tree_item);
|
|
2690
2694
|
$.bind_this(kol_tree_item, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2691
2695
|
$.append($$anchor, kol_tree_item);
|
|
2692
|
-
$.bind_prop($$props, "
|
|
2696
|
+
$.bind_prop($$props, "focus", focus);
|
|
2693
2697
|
$.bind_prop($$props, "expand", expand);
|
|
2694
2698
|
$.bind_prop($$props, "collapse", collapse);
|
|
2695
2699
|
$.bind_prop($$props, "isOpen", isOpen);
|
|
@@ -2706,14 +2710,14 @@ function KolTreeItemWc($$anchor, $$props) {
|
|
|
2706
2710
|
let _label = $.prop($$props, "_label", 8);
|
|
2707
2711
|
let _open = $.prop($$props, "_open", 8, void 0);
|
|
2708
2712
|
let _href = $.prop($$props, "_href", 8);
|
|
2709
|
-
const
|
|
2713
|
+
const focus = (...args) => $.get(__ref).focus(...args);
|
|
2710
2714
|
const expand = (...args) => $.get(__ref).expand(...args);
|
|
2711
2715
|
const collapse = (...args) => $.get(__ref).collapse(...args);
|
|
2712
2716
|
const isOpen = (...args) => $.get(__ref).isOpen(...args);
|
|
2713
2717
|
const getWebComponent = () => $.get(__ref);
|
|
2714
2718
|
onMount(() => {
|
|
2715
2719
|
});
|
|
2716
|
-
var $$exports = {
|
|
2720
|
+
var $$exports = { focus, expand, collapse, isOpen, getWebComponent };
|
|
2717
2721
|
$.init();
|
|
2718
2722
|
var kol_tree_item_wc = root$1();
|
|
2719
2723
|
$.template_effect(() => $.set_custom_element_data(kol_tree_item_wc, "_active", _active()));
|
|
@@ -2725,7 +2729,7 @@ function KolTreeItemWc($$anchor, $$props) {
|
|
|
2725
2729
|
$.reset(kol_tree_item_wc);
|
|
2726
2730
|
$.bind_this(kol_tree_item_wc, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
2727
2731
|
$.append($$anchor, kol_tree_item_wc);
|
|
2728
|
-
$.bind_prop($$props, "
|
|
2732
|
+
$.bind_prop($$props, "focus", focus);
|
|
2729
2733
|
$.bind_prop($$props, "expand", expand);
|
|
2730
2734
|
$.bind_prop($$props, "collapse", collapse);
|
|
2731
2735
|
$.bind_prop($$props, "isOpen", isOpen);
|
|
@@ -2755,4 +2759,4 @@ function KolVersion($$anchor, $$props) {
|
|
|
2755
2759
|
return $.pop($$exports);
|
|
2756
2760
|
}
|
|
2757
2761
|
|
|
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 };
|
|
2762
|
+
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 };
|