@abgov/react-components 4.0.0-alpha.135 → 4.0.0-alpha.136
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/package.json +1 -1
- package/react-components.esm.js +134 -68
- package/react-components.umd.js +134 -68
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -11156,7 +11156,7 @@ function create_if_block_4(ctx) {
|
|
|
11156
11156
|
}
|
|
11157
11157
|
|
|
11158
11158
|
};
|
|
11159
|
-
} // (
|
|
11159
|
+
} // (123:4) {#if leadingicon}
|
|
11160
11160
|
|
|
11161
11161
|
|
|
11162
11162
|
function create_if_block_3$4(ctx) {
|
|
@@ -11190,7 +11190,7 @@ function create_if_block_3$4(ctx) {
|
|
|
11190
11190
|
}
|
|
11191
11191
|
|
|
11192
11192
|
};
|
|
11193
|
-
} // (
|
|
11193
|
+
} // (157:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11194
11194
|
|
|
11195
11195
|
|
|
11196
11196
|
function create_if_block_2$4(ctx) {
|
|
@@ -11225,7 +11225,7 @@ function create_if_block_2$4(ctx) {
|
|
|
11225
11225
|
}
|
|
11226
11226
|
|
|
11227
11227
|
};
|
|
11228
|
-
} // (
|
|
11228
|
+
} // (167:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11229
11229
|
|
|
11230
11230
|
|
|
11231
11231
|
function create_if_block_1$4(ctx) {
|
|
@@ -11237,7 +11237,7 @@ function create_if_block_1$4(ctx) {
|
|
|
11237
11237
|
goa_icon_button = element("goa-icon-button");
|
|
11238
11238
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11239
11239
|
/*isDisabled*/
|
|
11240
|
-
ctx[
|
|
11240
|
+
ctx[24]);
|
|
11241
11241
|
set_custom_element_data(goa_icon_button, "variant", "nocolor");
|
|
11242
11242
|
set_custom_element_data(goa_icon_button, "size", "medium");
|
|
11243
11243
|
set_custom_element_data(goa_icon_button, "icon",
|
|
@@ -11258,10 +11258,10 @@ function create_if_block_1$4(ctx) {
|
|
|
11258
11258
|
p(ctx, dirty) {
|
|
11259
11259
|
if (dirty[0] &
|
|
11260
11260
|
/*isDisabled*/
|
|
11261
|
-
|
|
11261
|
+
16777216) {
|
|
11262
11262
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11263
11263
|
/*isDisabled*/
|
|
11264
|
-
ctx[
|
|
11264
|
+
ctx[24]);
|
|
11265
11265
|
}
|
|
11266
11266
|
|
|
11267
11267
|
if (dirty[0] &
|
|
@@ -11280,7 +11280,7 @@ function create_if_block_1$4(ctx) {
|
|
|
11280
11280
|
}
|
|
11281
11281
|
|
|
11282
11282
|
};
|
|
11283
|
-
} // (
|
|
11283
|
+
} // (179:4) {#if suffix}
|
|
11284
11284
|
|
|
11285
11285
|
|
|
11286
11286
|
function create_if_block$a(ctx) {
|
|
@@ -11345,12 +11345,12 @@ function create_fragment$k(ctx) {
|
|
|
11345
11345
|
/*trailingicon*/
|
|
11346
11346
|
ctx[6] && !
|
|
11347
11347
|
/*handlesTrailingIconClick*/
|
|
11348
|
-
ctx[
|
|
11348
|
+
ctx[27] && create_if_block_2$4(ctx);
|
|
11349
11349
|
let if_block3 =
|
|
11350
11350
|
/*trailingicon*/
|
|
11351
11351
|
ctx[6] &&
|
|
11352
11352
|
/*handlesTrailingIconClick*/
|
|
11353
|
-
ctx[
|
|
11353
|
+
ctx[27] && create_if_block_1$4(ctx);
|
|
11354
11354
|
let if_block4 =
|
|
11355
11355
|
/*suffix*/
|
|
11356
11356
|
ctx[15] && create_if_block$a(ctx);
|
|
@@ -11377,18 +11377,30 @@ function create_fragment$k(ctx) {
|
|
|
11377
11377
|
div1.innerHTML = `<slot name="trailingContent"></slot>`;
|
|
11378
11378
|
this.c = noop;
|
|
11379
11379
|
attr(div0, "class", "leading-content");
|
|
11380
|
-
attr(input, "class", input_class_value = `
|
|
11380
|
+
attr(input, "class", input_class_value = `
|
|
11381
|
+
input--${
|
|
11381
11382
|
/*variant*/
|
|
11382
|
-
ctx[7]}
|
|
11383
|
+
ctx[7]}
|
|
11384
|
+
${
|
|
11385
|
+
/*_leadingContentSlot*/
|
|
11386
|
+
ctx[22] && !
|
|
11387
|
+
/*isDisabled*/
|
|
11388
|
+
ctx[24] ? "input-leading-content" : ""}
|
|
11389
|
+
${
|
|
11390
|
+
/*_trailingContentSlot*/
|
|
11391
|
+
ctx[23] && !
|
|
11392
|
+
/*isDisabled*/
|
|
11393
|
+
ctx[24] ? "input-trailing-content" : ""}
|
|
11394
|
+
`);
|
|
11383
11395
|
attr(input, "style", input_style_value = `--search-icon-offset: ${
|
|
11384
11396
|
/*trailingicon*/
|
|
11385
11397
|
ctx[6] ? "-0.5rem" : "0"}`);
|
|
11386
11398
|
input.readOnly =
|
|
11387
11399
|
/*isReadonly*/
|
|
11388
|
-
ctx[
|
|
11400
|
+
ctx[26];
|
|
11389
11401
|
input.disabled =
|
|
11390
11402
|
/*isDisabled*/
|
|
11391
|
-
ctx[
|
|
11403
|
+
ctx[24];
|
|
11392
11404
|
attr(input, "data-testid",
|
|
11393
11405
|
/*testid*/
|
|
11394
11406
|
ctx[8]);
|
|
@@ -11427,17 +11439,23 @@ function create_fragment$k(ctx) {
|
|
|
11427
11439
|
goa-input
|
|
11428
11440
|
${
|
|
11429
11441
|
/*isDisabled*/
|
|
11430
|
-
ctx[
|
|
11442
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11431
11443
|
variant--${
|
|
11432
11444
|
/*variant*/
|
|
11433
11445
|
ctx[7]}
|
|
11434
11446
|
type--${
|
|
11435
11447
|
/*type*/
|
|
11436
11448
|
ctx[1]}
|
|
11449
|
+
${
|
|
11450
|
+
/*_leadingContentSlot*/
|
|
11451
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11452
|
+
${
|
|
11453
|
+
/*_trailingContentSlot*/
|
|
11454
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11437
11455
|
`);
|
|
11438
11456
|
toggle_class(div2, "error",
|
|
11439
11457
|
/*isError*/
|
|
11440
|
-
ctx[
|
|
11458
|
+
ctx[25]);
|
|
11441
11459
|
attr(div3, "class", "container");
|
|
11442
11460
|
attr(div3, "style", div3_style_value = `
|
|
11443
11461
|
${calculateMargin(
|
|
@@ -11467,7 +11485,7 @@ function create_fragment$k(ctx) {
|
|
|
11467
11485
|
append(div2, input);
|
|
11468
11486
|
/*input_binding*/
|
|
11469
11487
|
|
|
11470
|
-
ctx[
|
|
11488
|
+
ctx[36](input);
|
|
11471
11489
|
append(div2, t3);
|
|
11472
11490
|
if (if_block2) if_block2.m(div2, null);
|
|
11473
11491
|
append(div2, t4);
|
|
@@ -11476,13 +11494,16 @@ function create_fragment$k(ctx) {
|
|
|
11476
11494
|
if (if_block4) if_block4.m(div2, null);
|
|
11477
11495
|
append(div2, t6);
|
|
11478
11496
|
append(div2, div1);
|
|
11497
|
+
/*div3_binding*/
|
|
11498
|
+
|
|
11499
|
+
ctx[37](div3);
|
|
11479
11500
|
|
|
11480
11501
|
if (!mounted) {
|
|
11481
11502
|
dispose = [listen(input, "keyup",
|
|
11482
11503
|
/*onKeyUp*/
|
|
11483
|
-
ctx[
|
|
11504
|
+
ctx[28]), listen(input, "change",
|
|
11484
11505
|
/*onKeyUp*/
|
|
11485
|
-
ctx[
|
|
11506
|
+
ctx[28])];
|
|
11486
11507
|
mounted = true;
|
|
11487
11508
|
}
|
|
11488
11509
|
},
|
|
@@ -11519,10 +11540,22 @@ function create_fragment$k(ctx) {
|
|
|
11519
11540
|
}
|
|
11520
11541
|
|
|
11521
11542
|
if (dirty[0] &
|
|
11543
|
+
/*variant, _leadingContentSlot, isDisabled, _trailingContentSlot*/
|
|
11544
|
+
29360256 && input_class_value !== (input_class_value = `
|
|
11545
|
+
input--${
|
|
11522
11546
|
/*variant*/
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11547
|
+
ctx[7]}
|
|
11548
|
+
${
|
|
11549
|
+
/*_leadingContentSlot*/
|
|
11550
|
+
ctx[22] && !
|
|
11551
|
+
/*isDisabled*/
|
|
11552
|
+
ctx[24] ? "input-leading-content" : ""}
|
|
11553
|
+
${
|
|
11554
|
+
/*_trailingContentSlot*/
|
|
11555
|
+
ctx[23] && !
|
|
11556
|
+
/*isDisabled*/
|
|
11557
|
+
ctx[24] ? "input-trailing-content" : ""}
|
|
11558
|
+
`)) {
|
|
11526
11559
|
attr(input, "class", input_class_value);
|
|
11527
11560
|
}
|
|
11528
11561
|
|
|
@@ -11536,18 +11569,18 @@ function create_fragment$k(ctx) {
|
|
|
11536
11569
|
|
|
11537
11570
|
if (dirty[0] &
|
|
11538
11571
|
/*isReadonly*/
|
|
11539
|
-
|
|
11572
|
+
67108864) {
|
|
11540
11573
|
input.readOnly =
|
|
11541
11574
|
/*isReadonly*/
|
|
11542
|
-
ctx[
|
|
11575
|
+
ctx[26];
|
|
11543
11576
|
}
|
|
11544
11577
|
|
|
11545
11578
|
if (dirty[0] &
|
|
11546
11579
|
/*isDisabled*/
|
|
11547
|
-
|
|
11580
|
+
16777216) {
|
|
11548
11581
|
input.disabled =
|
|
11549
11582
|
/*isDisabled*/
|
|
11550
|
-
ctx[
|
|
11583
|
+
ctx[24];
|
|
11551
11584
|
}
|
|
11552
11585
|
|
|
11553
11586
|
if (dirty[0] &
|
|
@@ -11638,7 +11671,7 @@ function create_fragment$k(ctx) {
|
|
|
11638
11671
|
/*trailingicon*/
|
|
11639
11672
|
ctx[6] && !
|
|
11640
11673
|
/*handlesTrailingIconClick*/
|
|
11641
|
-
ctx[
|
|
11674
|
+
ctx[27]) {
|
|
11642
11675
|
if (if_block2) {
|
|
11643
11676
|
if_block2.p(ctx, dirty);
|
|
11644
11677
|
} else {
|
|
@@ -11655,7 +11688,7 @@ function create_fragment$k(ctx) {
|
|
|
11655
11688
|
/*trailingicon*/
|
|
11656
11689
|
ctx[6] &&
|
|
11657
11690
|
/*handlesTrailingIconClick*/
|
|
11658
|
-
ctx[
|
|
11691
|
+
ctx[27]) {
|
|
11659
11692
|
if (if_block3) {
|
|
11660
11693
|
if_block3.p(ctx, dirty);
|
|
11661
11694
|
} else {
|
|
@@ -11684,28 +11717,34 @@ function create_fragment$k(ctx) {
|
|
|
11684
11717
|
}
|
|
11685
11718
|
|
|
11686
11719
|
if (dirty[0] &
|
|
11687
|
-
/*isDisabled, variant, type*/
|
|
11688
|
-
|
|
11720
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot*/
|
|
11721
|
+
29360258 && div2_class_value !== (div2_class_value = `
|
|
11689
11722
|
goa-input
|
|
11690
11723
|
${
|
|
11691
11724
|
/*isDisabled*/
|
|
11692
|
-
ctx[
|
|
11725
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11693
11726
|
variant--${
|
|
11694
11727
|
/*variant*/
|
|
11695
11728
|
ctx[7]}
|
|
11696
11729
|
type--${
|
|
11697
11730
|
/*type*/
|
|
11698
11731
|
ctx[1]}
|
|
11732
|
+
${
|
|
11733
|
+
/*_leadingContentSlot*/
|
|
11734
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11735
|
+
${
|
|
11736
|
+
/*_trailingContentSlot*/
|
|
11737
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11699
11738
|
`)) {
|
|
11700
11739
|
attr(div2, "class", div2_class_value);
|
|
11701
11740
|
}
|
|
11702
11741
|
|
|
11703
11742
|
if (dirty[0] &
|
|
11704
|
-
/*isDisabled, variant, type, isError*/
|
|
11705
|
-
|
|
11743
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot, isError*/
|
|
11744
|
+
62914690) {
|
|
11706
11745
|
toggle_class(div2, "error",
|
|
11707
11746
|
/*isError*/
|
|
11708
|
-
ctx[
|
|
11747
|
+
ctx[25]);
|
|
11709
11748
|
}
|
|
11710
11749
|
|
|
11711
11750
|
if (dirty[0] &
|
|
@@ -11737,10 +11776,13 @@ function create_fragment$k(ctx) {
|
|
|
11737
11776
|
if (if_block1) if_block1.d();
|
|
11738
11777
|
/*input_binding*/
|
|
11739
11778
|
|
|
11740
|
-
ctx[
|
|
11779
|
+
ctx[36](null);
|
|
11741
11780
|
if (if_block2) if_block2.d();
|
|
11742
11781
|
if (if_block3) if_block3.d();
|
|
11743
11782
|
if (if_block4) if_block4.d();
|
|
11783
|
+
/*div3_binding*/
|
|
11784
|
+
|
|
11785
|
+
ctx[37](null);
|
|
11744
11786
|
mounted = false;
|
|
11745
11787
|
run_all(dispose);
|
|
11746
11788
|
}
|
|
@@ -11841,6 +11883,11 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11841
11883
|
ml = null
|
|
11842
11884
|
} = $$props;
|
|
11843
11885
|
let inputEl;
|
|
11886
|
+
|
|
11887
|
+
let _rootEL;
|
|
11888
|
+
|
|
11889
|
+
let _leadingContentSlot = false;
|
|
11890
|
+
let _trailingContentSlot = false;
|
|
11844
11891
|
let _debounceId = null;
|
|
11845
11892
|
|
|
11846
11893
|
function onKeyUp(e) {
|
|
@@ -11872,6 +11919,18 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11872
11919
|
if (prefix != "" || suffix != "") {
|
|
11873
11920
|
console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
|
|
11874
11921
|
}
|
|
11922
|
+
|
|
11923
|
+
const leadingContentSlot = _rootEL.querySelector("slot[name=leadingContent]");
|
|
11924
|
+
|
|
11925
|
+
if (leadingContentSlot && leadingContentSlot.assignedNodes().length > 0) {
|
|
11926
|
+
$$invalidate(22, _leadingContentSlot = true);
|
|
11927
|
+
}
|
|
11928
|
+
|
|
11929
|
+
const trailingContentSlot = _rootEL.querySelector("slot[name=trailingContent]");
|
|
11930
|
+
|
|
11931
|
+
if (trailingContentSlot && trailingContentSlot.assignedNodes().length > 0) {
|
|
11932
|
+
$$invalidate(23, _trailingContentSlot = true);
|
|
11933
|
+
}
|
|
11875
11934
|
});
|
|
11876
11935
|
|
|
11877
11936
|
function input_binding($$value) {
|
|
@@ -11881,6 +11940,13 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11881
11940
|
});
|
|
11882
11941
|
}
|
|
11883
11942
|
|
|
11943
|
+
function div3_binding($$value) {
|
|
11944
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
11945
|
+
_rootEL = $$value;
|
|
11946
|
+
$$invalidate(21, _rootEL);
|
|
11947
|
+
});
|
|
11948
|
+
}
|
|
11949
|
+
|
|
11884
11950
|
$$self.$$set = $$props => {
|
|
11885
11951
|
if ('type' in $$props) $$invalidate(1, type = $$props.type);
|
|
11886
11952
|
if ('name' in $$props) $$invalidate(2, name = $$props.name);
|
|
@@ -11890,11 +11956,11 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11890
11956
|
if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
|
|
11891
11957
|
if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
|
|
11892
11958
|
if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
|
|
11893
|
-
if ('disabled' in $$props) $$invalidate(
|
|
11894
|
-
if ('handletrailingiconclick' in $$props) $$invalidate(
|
|
11895
|
-
if ('focused' in $$props) $$invalidate(
|
|
11896
|
-
if ('readonly' in $$props) $$invalidate(
|
|
11897
|
-
if ('error' in $$props) $$invalidate(
|
|
11959
|
+
if ('disabled' in $$props) $$invalidate(29, disabled = $$props.disabled);
|
|
11960
|
+
if ('handletrailingiconclick' in $$props) $$invalidate(30, handletrailingiconclick = $$props.handletrailingiconclick);
|
|
11961
|
+
if ('focused' in $$props) $$invalidate(31, focused = $$props.focused);
|
|
11962
|
+
if ('readonly' in $$props) $$invalidate(32, readonly = $$props.readonly);
|
|
11963
|
+
if ('error' in $$props) $$invalidate(33, error = $$props.error);
|
|
11898
11964
|
if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
|
|
11899
11965
|
if ('width' in $$props) $$invalidate(9, width = $$props.width);
|
|
11900
11966
|
if ('arialabel' in $$props) $$invalidate(10, arialabel = $$props.arialabel);
|
|
@@ -11903,7 +11969,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11903
11969
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11904
11970
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11905
11971
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11906
|
-
if ('debounce' in $$props) $$invalidate(
|
|
11972
|
+
if ('debounce' in $$props) $$invalidate(34, debounce = $$props.debounce);
|
|
11907
11973
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11908
11974
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11909
11975
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11913,39 +11979,39 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11913
11979
|
$$self.$$.update = () => {
|
|
11914
11980
|
if ($$self.$$.dirty[0] &
|
|
11915
11981
|
/*handletrailingiconclick*/
|
|
11916
|
-
|
|
11917
|
-
$$invalidate(
|
|
11982
|
+
1073741824) {
|
|
11983
|
+
$$invalidate(27, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
|
|
11918
11984
|
}
|
|
11919
11985
|
|
|
11920
|
-
if ($$self.$$.dirty[
|
|
11986
|
+
if ($$self.$$.dirty[1] &
|
|
11921
11987
|
/*focused*/
|
|
11922
|
-
|
|
11923
|
-
$$invalidate(
|
|
11988
|
+
1) {
|
|
11989
|
+
$$invalidate(35, isFocused = toBoolean(focused));
|
|
11924
11990
|
}
|
|
11925
11991
|
|
|
11926
|
-
if ($$self.$$.dirty[
|
|
11992
|
+
if ($$self.$$.dirty[1] &
|
|
11927
11993
|
/*readonly*/
|
|
11928
|
-
|
|
11929
|
-
$$invalidate(
|
|
11994
|
+
2) {
|
|
11995
|
+
$$invalidate(26, isReadonly = toBoolean(readonly));
|
|
11930
11996
|
}
|
|
11931
11997
|
|
|
11932
|
-
if ($$self.$$.dirty[
|
|
11998
|
+
if ($$self.$$.dirty[1] &
|
|
11933
11999
|
/*error*/
|
|
11934
|
-
|
|
11935
|
-
$$invalidate(
|
|
12000
|
+
4) {
|
|
12001
|
+
$$invalidate(25, isError = toBoolean(error));
|
|
11936
12002
|
}
|
|
11937
12003
|
|
|
11938
12004
|
if ($$self.$$.dirty[0] &
|
|
11939
12005
|
/*disabled*/
|
|
11940
|
-
|
|
11941
|
-
$$invalidate(
|
|
12006
|
+
536870912) {
|
|
12007
|
+
$$invalidate(24, isDisabled = toBoolean(disabled));
|
|
11942
12008
|
}
|
|
11943
12009
|
|
|
11944
12010
|
if ($$self.$$.dirty[0] &
|
|
11945
12011
|
/*inputEl*/
|
|
11946
12012
|
1048576 | $$self.$$.dirty[1] &
|
|
11947
12013
|
/*isFocused*/
|
|
11948
|
-
|
|
12014
|
+
16) {
|
|
11949
12015
|
if (isFocused && inputEl) {
|
|
11950
12016
|
setTimeout(() => inputEl.focus(), 1);
|
|
11951
12017
|
}
|
|
@@ -11962,13 +12028,13 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
11962
12028
|
}
|
|
11963
12029
|
};
|
|
11964
12030
|
|
|
11965
|
-
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding];
|
|
12031
|
+
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, _rootEL, _leadingContentSlot, _trailingContentSlot, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding, div3_binding];
|
|
11966
12032
|
}
|
|
11967
12033
|
|
|
11968
12034
|
class Input extends SvelteElement {
|
|
11969
12035
|
constructor(options) {
|
|
11970
12036
|
super();
|
|
11971
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
12037
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus-within:not(.goa-input-leading-content):not(.goa-input-trailing-content){box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans);z-index:1}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200) !important;cursor:default;box-shadow:none !important}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:not(.goa-input-leading-content):not(.goa-input-trailing-content),.error:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.error .input-leading-content,.error .input-leading-content:hover,.error .input-trailing-content,.error .input-trailing-content:hover{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error .input-leading-content:focus,.error .input-trailing-content:focus,.error .input-leading-content:active,.error .input-trailing-content:active{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.input-leading-content:hover,.input-trailing-content:hover{box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);outline:var(--goa-border-width-s) solid var(--goa-color-interactive-hover)}.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus);outline:var(--goa-border-width-s) solid var(--goa-color-greyscale-700)}.error .input-trailing-content,.input-trailing-content:hover,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m)}.error .input-leading-content,.input-leading-content:hover,.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within{border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.input-leading-content.input-trailing-content,.input-leading-content.input-trailing-content:hover,.input-leading-content.input-trailing-content:active,.input-leading-content.input-trailing-content:focus,.input-leading-content.input-trailing-content:focus-within{border-radius:0}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
11972
12038
|
center center no-repeat}</style>`;
|
|
11973
12039
|
init(this, {
|
|
11974
12040
|
target: this.shadowRoot,
|
|
@@ -11983,11 +12049,11 @@ class Input extends SvelteElement {
|
|
|
11983
12049
|
leadingicon: 5,
|
|
11984
12050
|
trailingicon: 6,
|
|
11985
12051
|
variant: 7,
|
|
11986
|
-
disabled:
|
|
11987
|
-
handletrailingiconclick:
|
|
11988
|
-
focused:
|
|
11989
|
-
readonly:
|
|
11990
|
-
error:
|
|
12052
|
+
disabled: 29,
|
|
12053
|
+
handletrailingiconclick: 30,
|
|
12054
|
+
focused: 31,
|
|
12055
|
+
readonly: 32,
|
|
12056
|
+
error: 33,
|
|
11991
12057
|
testid: 8,
|
|
11992
12058
|
width: 9,
|
|
11993
12059
|
arialabel: 10,
|
|
@@ -11996,7 +12062,7 @@ class Input extends SvelteElement {
|
|
|
11996
12062
|
step: 13,
|
|
11997
12063
|
prefix: 14,
|
|
11998
12064
|
suffix: 15,
|
|
11999
|
-
debounce:
|
|
12065
|
+
debounce: 34,
|
|
12000
12066
|
mt: 16,
|
|
12001
12067
|
mr: 17,
|
|
12002
12068
|
mb: 18,
|
|
@@ -12108,7 +12174,7 @@ class Input extends SvelteElement {
|
|
|
12108
12174
|
}
|
|
12109
12175
|
|
|
12110
12176
|
get disabled() {
|
|
12111
|
-
return this.$$.ctx[
|
|
12177
|
+
return this.$$.ctx[29];
|
|
12112
12178
|
}
|
|
12113
12179
|
|
|
12114
12180
|
set disabled(disabled) {
|
|
@@ -12119,7 +12185,7 @@ class Input extends SvelteElement {
|
|
|
12119
12185
|
}
|
|
12120
12186
|
|
|
12121
12187
|
get handletrailingiconclick() {
|
|
12122
|
-
return this.$$.ctx[
|
|
12188
|
+
return this.$$.ctx[30];
|
|
12123
12189
|
}
|
|
12124
12190
|
|
|
12125
12191
|
set handletrailingiconclick(handletrailingiconclick) {
|
|
@@ -12130,7 +12196,7 @@ class Input extends SvelteElement {
|
|
|
12130
12196
|
}
|
|
12131
12197
|
|
|
12132
12198
|
get focused() {
|
|
12133
|
-
return this.$$.ctx[
|
|
12199
|
+
return this.$$.ctx[31];
|
|
12134
12200
|
}
|
|
12135
12201
|
|
|
12136
12202
|
set focused(focused) {
|
|
@@ -12141,7 +12207,7 @@ class Input extends SvelteElement {
|
|
|
12141
12207
|
}
|
|
12142
12208
|
|
|
12143
12209
|
get readonly() {
|
|
12144
|
-
return this.$$.ctx[
|
|
12210
|
+
return this.$$.ctx[32];
|
|
12145
12211
|
}
|
|
12146
12212
|
|
|
12147
12213
|
set readonly(readonly) {
|
|
@@ -12152,7 +12218,7 @@ class Input extends SvelteElement {
|
|
|
12152
12218
|
}
|
|
12153
12219
|
|
|
12154
12220
|
get error() {
|
|
12155
|
-
return this.$$.ctx[
|
|
12221
|
+
return this.$$.ctx[33];
|
|
12156
12222
|
}
|
|
12157
12223
|
|
|
12158
12224
|
set error(error) {
|
|
@@ -12251,7 +12317,7 @@ class Input extends SvelteElement {
|
|
|
12251
12317
|
}
|
|
12252
12318
|
|
|
12253
12319
|
get debounce() {
|
|
12254
|
-
return this.$$.ctx[
|
|
12320
|
+
return this.$$.ctx[34];
|
|
12255
12321
|
}
|
|
12256
12322
|
|
|
12257
12323
|
set debounce(debounce) {
|
package/react-components.umd.js
CHANGED
|
@@ -11202,7 +11202,7 @@
|
|
|
11202
11202
|
}
|
|
11203
11203
|
|
|
11204
11204
|
};
|
|
11205
|
-
} // (
|
|
11205
|
+
} // (123:4) {#if leadingicon}
|
|
11206
11206
|
|
|
11207
11207
|
|
|
11208
11208
|
function create_if_block_3$4(ctx) {
|
|
@@ -11236,7 +11236,7 @@
|
|
|
11236
11236
|
}
|
|
11237
11237
|
|
|
11238
11238
|
};
|
|
11239
|
-
} // (
|
|
11239
|
+
} // (157:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11240
11240
|
|
|
11241
11241
|
|
|
11242
11242
|
function create_if_block_2$4(ctx) {
|
|
@@ -11271,7 +11271,7 @@
|
|
|
11271
11271
|
}
|
|
11272
11272
|
|
|
11273
11273
|
};
|
|
11274
|
-
} // (
|
|
11274
|
+
} // (167:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11275
11275
|
|
|
11276
11276
|
|
|
11277
11277
|
function create_if_block_1$4(ctx) {
|
|
@@ -11283,7 +11283,7 @@
|
|
|
11283
11283
|
goa_icon_button = element("goa-icon-button");
|
|
11284
11284
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11285
11285
|
/*isDisabled*/
|
|
11286
|
-
ctx[
|
|
11286
|
+
ctx[24]);
|
|
11287
11287
|
set_custom_element_data(goa_icon_button, "variant", "nocolor");
|
|
11288
11288
|
set_custom_element_data(goa_icon_button, "size", "medium");
|
|
11289
11289
|
set_custom_element_data(goa_icon_button, "icon",
|
|
@@ -11304,10 +11304,10 @@
|
|
|
11304
11304
|
p(ctx, dirty) {
|
|
11305
11305
|
if (dirty[0] &
|
|
11306
11306
|
/*isDisabled*/
|
|
11307
|
-
|
|
11307
|
+
16777216) {
|
|
11308
11308
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11309
11309
|
/*isDisabled*/
|
|
11310
|
-
ctx[
|
|
11310
|
+
ctx[24]);
|
|
11311
11311
|
}
|
|
11312
11312
|
|
|
11313
11313
|
if (dirty[0] &
|
|
@@ -11326,7 +11326,7 @@
|
|
|
11326
11326
|
}
|
|
11327
11327
|
|
|
11328
11328
|
};
|
|
11329
|
-
} // (
|
|
11329
|
+
} // (179:4) {#if suffix}
|
|
11330
11330
|
|
|
11331
11331
|
|
|
11332
11332
|
function create_if_block$a(ctx) {
|
|
@@ -11391,12 +11391,12 @@
|
|
|
11391
11391
|
/*trailingicon*/
|
|
11392
11392
|
ctx[6] && !
|
|
11393
11393
|
/*handlesTrailingIconClick*/
|
|
11394
|
-
ctx[
|
|
11394
|
+
ctx[27] && create_if_block_2$4(ctx);
|
|
11395
11395
|
let if_block3 =
|
|
11396
11396
|
/*trailingicon*/
|
|
11397
11397
|
ctx[6] &&
|
|
11398
11398
|
/*handlesTrailingIconClick*/
|
|
11399
|
-
ctx[
|
|
11399
|
+
ctx[27] && create_if_block_1$4(ctx);
|
|
11400
11400
|
let if_block4 =
|
|
11401
11401
|
/*suffix*/
|
|
11402
11402
|
ctx[15] && create_if_block$a(ctx);
|
|
@@ -11423,18 +11423,30 @@
|
|
|
11423
11423
|
div1.innerHTML = `<slot name="trailingContent"></slot>`;
|
|
11424
11424
|
this.c = noop;
|
|
11425
11425
|
attr(div0, "class", "leading-content");
|
|
11426
|
-
attr(input, "class", input_class_value = `
|
|
11426
|
+
attr(input, "class", input_class_value = `
|
|
11427
|
+
input--${
|
|
11427
11428
|
/*variant*/
|
|
11428
|
-
ctx[7]}
|
|
11429
|
+
ctx[7]}
|
|
11430
|
+
${
|
|
11431
|
+
/*_leadingContentSlot*/
|
|
11432
|
+
ctx[22] && !
|
|
11433
|
+
/*isDisabled*/
|
|
11434
|
+
ctx[24] ? "input-leading-content" : ""}
|
|
11435
|
+
${
|
|
11436
|
+
/*_trailingContentSlot*/
|
|
11437
|
+
ctx[23] && !
|
|
11438
|
+
/*isDisabled*/
|
|
11439
|
+
ctx[24] ? "input-trailing-content" : ""}
|
|
11440
|
+
`);
|
|
11429
11441
|
attr(input, "style", input_style_value = `--search-icon-offset: ${
|
|
11430
11442
|
/*trailingicon*/
|
|
11431
11443
|
ctx[6] ? "-0.5rem" : "0"}`);
|
|
11432
11444
|
input.readOnly =
|
|
11433
11445
|
/*isReadonly*/
|
|
11434
|
-
ctx[
|
|
11446
|
+
ctx[26];
|
|
11435
11447
|
input.disabled =
|
|
11436
11448
|
/*isDisabled*/
|
|
11437
|
-
ctx[
|
|
11449
|
+
ctx[24];
|
|
11438
11450
|
attr(input, "data-testid",
|
|
11439
11451
|
/*testid*/
|
|
11440
11452
|
ctx[8]);
|
|
@@ -11473,17 +11485,23 @@
|
|
|
11473
11485
|
goa-input
|
|
11474
11486
|
${
|
|
11475
11487
|
/*isDisabled*/
|
|
11476
|
-
ctx[
|
|
11488
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11477
11489
|
variant--${
|
|
11478
11490
|
/*variant*/
|
|
11479
11491
|
ctx[7]}
|
|
11480
11492
|
type--${
|
|
11481
11493
|
/*type*/
|
|
11482
11494
|
ctx[1]}
|
|
11495
|
+
${
|
|
11496
|
+
/*_leadingContentSlot*/
|
|
11497
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11498
|
+
${
|
|
11499
|
+
/*_trailingContentSlot*/
|
|
11500
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11483
11501
|
`);
|
|
11484
11502
|
toggle_class(div2, "error",
|
|
11485
11503
|
/*isError*/
|
|
11486
|
-
ctx[
|
|
11504
|
+
ctx[25]);
|
|
11487
11505
|
attr(div3, "class", "container");
|
|
11488
11506
|
attr(div3, "style", div3_style_value = `
|
|
11489
11507
|
${calculateMargin(
|
|
@@ -11513,7 +11531,7 @@
|
|
|
11513
11531
|
append(div2, input);
|
|
11514
11532
|
/*input_binding*/
|
|
11515
11533
|
|
|
11516
|
-
ctx[
|
|
11534
|
+
ctx[36](input);
|
|
11517
11535
|
append(div2, t3);
|
|
11518
11536
|
if (if_block2) if_block2.m(div2, null);
|
|
11519
11537
|
append(div2, t4);
|
|
@@ -11522,13 +11540,16 @@
|
|
|
11522
11540
|
if (if_block4) if_block4.m(div2, null);
|
|
11523
11541
|
append(div2, t6);
|
|
11524
11542
|
append(div2, div1);
|
|
11543
|
+
/*div3_binding*/
|
|
11544
|
+
|
|
11545
|
+
ctx[37](div3);
|
|
11525
11546
|
|
|
11526
11547
|
if (!mounted) {
|
|
11527
11548
|
dispose = [listen(input, "keyup",
|
|
11528
11549
|
/*onKeyUp*/
|
|
11529
|
-
ctx[
|
|
11550
|
+
ctx[28]), listen(input, "change",
|
|
11530
11551
|
/*onKeyUp*/
|
|
11531
|
-
ctx[
|
|
11552
|
+
ctx[28])];
|
|
11532
11553
|
mounted = true;
|
|
11533
11554
|
}
|
|
11534
11555
|
},
|
|
@@ -11565,10 +11586,22 @@
|
|
|
11565
11586
|
}
|
|
11566
11587
|
|
|
11567
11588
|
if (dirty[0] &
|
|
11568
|
-
/*variant*/
|
|
11569
|
-
|
|
11589
|
+
/*variant, _leadingContentSlot, isDisabled, _trailingContentSlot*/
|
|
11590
|
+
29360256 && input_class_value !== (input_class_value = `
|
|
11591
|
+
input--${
|
|
11570
11592
|
/*variant*/
|
|
11571
|
-
ctx[7]}
|
|
11593
|
+
ctx[7]}
|
|
11594
|
+
${
|
|
11595
|
+
/*_leadingContentSlot*/
|
|
11596
|
+
ctx[22] && !
|
|
11597
|
+
/*isDisabled*/
|
|
11598
|
+
ctx[24] ? "input-leading-content" : ""}
|
|
11599
|
+
${
|
|
11600
|
+
/*_trailingContentSlot*/
|
|
11601
|
+
ctx[23] && !
|
|
11602
|
+
/*isDisabled*/
|
|
11603
|
+
ctx[24] ? "input-trailing-content" : ""}
|
|
11604
|
+
`)) {
|
|
11572
11605
|
attr(input, "class", input_class_value);
|
|
11573
11606
|
}
|
|
11574
11607
|
|
|
@@ -11582,18 +11615,18 @@
|
|
|
11582
11615
|
|
|
11583
11616
|
if (dirty[0] &
|
|
11584
11617
|
/*isReadonly*/
|
|
11585
|
-
|
|
11618
|
+
67108864) {
|
|
11586
11619
|
input.readOnly =
|
|
11587
11620
|
/*isReadonly*/
|
|
11588
|
-
ctx[
|
|
11621
|
+
ctx[26];
|
|
11589
11622
|
}
|
|
11590
11623
|
|
|
11591
11624
|
if (dirty[0] &
|
|
11592
11625
|
/*isDisabled*/
|
|
11593
|
-
|
|
11626
|
+
16777216) {
|
|
11594
11627
|
input.disabled =
|
|
11595
11628
|
/*isDisabled*/
|
|
11596
|
-
ctx[
|
|
11629
|
+
ctx[24];
|
|
11597
11630
|
}
|
|
11598
11631
|
|
|
11599
11632
|
if (dirty[0] &
|
|
@@ -11684,7 +11717,7 @@
|
|
|
11684
11717
|
/*trailingicon*/
|
|
11685
11718
|
ctx[6] && !
|
|
11686
11719
|
/*handlesTrailingIconClick*/
|
|
11687
|
-
ctx[
|
|
11720
|
+
ctx[27]) {
|
|
11688
11721
|
if (if_block2) {
|
|
11689
11722
|
if_block2.p(ctx, dirty);
|
|
11690
11723
|
} else {
|
|
@@ -11701,7 +11734,7 @@
|
|
|
11701
11734
|
/*trailingicon*/
|
|
11702
11735
|
ctx[6] &&
|
|
11703
11736
|
/*handlesTrailingIconClick*/
|
|
11704
|
-
ctx[
|
|
11737
|
+
ctx[27]) {
|
|
11705
11738
|
if (if_block3) {
|
|
11706
11739
|
if_block3.p(ctx, dirty);
|
|
11707
11740
|
} else {
|
|
@@ -11730,28 +11763,34 @@
|
|
|
11730
11763
|
}
|
|
11731
11764
|
|
|
11732
11765
|
if (dirty[0] &
|
|
11733
|
-
/*isDisabled, variant, type*/
|
|
11734
|
-
|
|
11766
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot*/
|
|
11767
|
+
29360258 && div2_class_value !== (div2_class_value = `
|
|
11735
11768
|
goa-input
|
|
11736
11769
|
${
|
|
11737
11770
|
/*isDisabled*/
|
|
11738
|
-
ctx[
|
|
11771
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11739
11772
|
variant--${
|
|
11740
11773
|
/*variant*/
|
|
11741
11774
|
ctx[7]}
|
|
11742
11775
|
type--${
|
|
11743
11776
|
/*type*/
|
|
11744
11777
|
ctx[1]}
|
|
11778
|
+
${
|
|
11779
|
+
/*_leadingContentSlot*/
|
|
11780
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11781
|
+
${
|
|
11782
|
+
/*_trailingContentSlot*/
|
|
11783
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11745
11784
|
`)) {
|
|
11746
11785
|
attr(div2, "class", div2_class_value);
|
|
11747
11786
|
}
|
|
11748
11787
|
|
|
11749
11788
|
if (dirty[0] &
|
|
11750
|
-
/*isDisabled, variant, type, isError*/
|
|
11751
|
-
|
|
11789
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot, isError*/
|
|
11790
|
+
62914690) {
|
|
11752
11791
|
toggle_class(div2, "error",
|
|
11753
11792
|
/*isError*/
|
|
11754
|
-
ctx[
|
|
11793
|
+
ctx[25]);
|
|
11755
11794
|
}
|
|
11756
11795
|
|
|
11757
11796
|
if (dirty[0] &
|
|
@@ -11783,10 +11822,13 @@
|
|
|
11783
11822
|
if (if_block1) if_block1.d();
|
|
11784
11823
|
/*input_binding*/
|
|
11785
11824
|
|
|
11786
|
-
ctx[
|
|
11825
|
+
ctx[36](null);
|
|
11787
11826
|
if (if_block2) if_block2.d();
|
|
11788
11827
|
if (if_block3) if_block3.d();
|
|
11789
11828
|
if (if_block4) if_block4.d();
|
|
11829
|
+
/*div3_binding*/
|
|
11830
|
+
|
|
11831
|
+
ctx[37](null);
|
|
11790
11832
|
mounted = false;
|
|
11791
11833
|
run_all(dispose);
|
|
11792
11834
|
}
|
|
@@ -11887,6 +11929,11 @@
|
|
|
11887
11929
|
ml = null
|
|
11888
11930
|
} = $$props;
|
|
11889
11931
|
let inputEl;
|
|
11932
|
+
|
|
11933
|
+
let _rootEL;
|
|
11934
|
+
|
|
11935
|
+
let _leadingContentSlot = false;
|
|
11936
|
+
let _trailingContentSlot = false;
|
|
11890
11937
|
let _debounceId = null;
|
|
11891
11938
|
|
|
11892
11939
|
function onKeyUp(e) {
|
|
@@ -11918,6 +11965,18 @@
|
|
|
11918
11965
|
if (prefix != "" || suffix != "") {
|
|
11919
11966
|
console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
|
|
11920
11967
|
}
|
|
11968
|
+
|
|
11969
|
+
const leadingContentSlot = _rootEL.querySelector("slot[name=leadingContent]");
|
|
11970
|
+
|
|
11971
|
+
if (leadingContentSlot && leadingContentSlot.assignedNodes().length > 0) {
|
|
11972
|
+
$$invalidate(22, _leadingContentSlot = true);
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11975
|
+
const trailingContentSlot = _rootEL.querySelector("slot[name=trailingContent]");
|
|
11976
|
+
|
|
11977
|
+
if (trailingContentSlot && trailingContentSlot.assignedNodes().length > 0) {
|
|
11978
|
+
$$invalidate(23, _trailingContentSlot = true);
|
|
11979
|
+
}
|
|
11921
11980
|
});
|
|
11922
11981
|
|
|
11923
11982
|
function input_binding($$value) {
|
|
@@ -11927,6 +11986,13 @@
|
|
|
11927
11986
|
});
|
|
11928
11987
|
}
|
|
11929
11988
|
|
|
11989
|
+
function div3_binding($$value) {
|
|
11990
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
11991
|
+
_rootEL = $$value;
|
|
11992
|
+
$$invalidate(21, _rootEL);
|
|
11993
|
+
});
|
|
11994
|
+
}
|
|
11995
|
+
|
|
11930
11996
|
$$self.$$set = $$props => {
|
|
11931
11997
|
if ('type' in $$props) $$invalidate(1, type = $$props.type);
|
|
11932
11998
|
if ('name' in $$props) $$invalidate(2, name = $$props.name);
|
|
@@ -11936,11 +12002,11 @@
|
|
|
11936
12002
|
if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
|
|
11937
12003
|
if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
|
|
11938
12004
|
if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
|
|
11939
|
-
if ('disabled' in $$props) $$invalidate(
|
|
11940
|
-
if ('handletrailingiconclick' in $$props) $$invalidate(
|
|
11941
|
-
if ('focused' in $$props) $$invalidate(
|
|
11942
|
-
if ('readonly' in $$props) $$invalidate(
|
|
11943
|
-
if ('error' in $$props) $$invalidate(
|
|
12005
|
+
if ('disabled' in $$props) $$invalidate(29, disabled = $$props.disabled);
|
|
12006
|
+
if ('handletrailingiconclick' in $$props) $$invalidate(30, handletrailingiconclick = $$props.handletrailingiconclick);
|
|
12007
|
+
if ('focused' in $$props) $$invalidate(31, focused = $$props.focused);
|
|
12008
|
+
if ('readonly' in $$props) $$invalidate(32, readonly = $$props.readonly);
|
|
12009
|
+
if ('error' in $$props) $$invalidate(33, error = $$props.error);
|
|
11944
12010
|
if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
|
|
11945
12011
|
if ('width' in $$props) $$invalidate(9, width = $$props.width);
|
|
11946
12012
|
if ('arialabel' in $$props) $$invalidate(10, arialabel = $$props.arialabel);
|
|
@@ -11949,7 +12015,7 @@
|
|
|
11949
12015
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11950
12016
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11951
12017
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11952
|
-
if ('debounce' in $$props) $$invalidate(
|
|
12018
|
+
if ('debounce' in $$props) $$invalidate(34, debounce = $$props.debounce);
|
|
11953
12019
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11954
12020
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11955
12021
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11959,39 +12025,39 @@
|
|
|
11959
12025
|
$$self.$$.update = () => {
|
|
11960
12026
|
if ($$self.$$.dirty[0] &
|
|
11961
12027
|
/*handletrailingiconclick*/
|
|
11962
|
-
|
|
11963
|
-
$$invalidate(
|
|
12028
|
+
1073741824) {
|
|
12029
|
+
$$invalidate(27, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
|
|
11964
12030
|
}
|
|
11965
12031
|
|
|
11966
|
-
if ($$self.$$.dirty[
|
|
12032
|
+
if ($$self.$$.dirty[1] &
|
|
11967
12033
|
/*focused*/
|
|
11968
|
-
|
|
11969
|
-
$$invalidate(
|
|
12034
|
+
1) {
|
|
12035
|
+
$$invalidate(35, isFocused = toBoolean(focused));
|
|
11970
12036
|
}
|
|
11971
12037
|
|
|
11972
|
-
if ($$self.$$.dirty[
|
|
12038
|
+
if ($$self.$$.dirty[1] &
|
|
11973
12039
|
/*readonly*/
|
|
11974
|
-
|
|
11975
|
-
$$invalidate(
|
|
12040
|
+
2) {
|
|
12041
|
+
$$invalidate(26, isReadonly = toBoolean(readonly));
|
|
11976
12042
|
}
|
|
11977
12043
|
|
|
11978
|
-
if ($$self.$$.dirty[
|
|
12044
|
+
if ($$self.$$.dirty[1] &
|
|
11979
12045
|
/*error*/
|
|
11980
|
-
|
|
11981
|
-
$$invalidate(
|
|
12046
|
+
4) {
|
|
12047
|
+
$$invalidate(25, isError = toBoolean(error));
|
|
11982
12048
|
}
|
|
11983
12049
|
|
|
11984
12050
|
if ($$self.$$.dirty[0] &
|
|
11985
12051
|
/*disabled*/
|
|
11986
|
-
|
|
11987
|
-
$$invalidate(
|
|
12052
|
+
536870912) {
|
|
12053
|
+
$$invalidate(24, isDisabled = toBoolean(disabled));
|
|
11988
12054
|
}
|
|
11989
12055
|
|
|
11990
12056
|
if ($$self.$$.dirty[0] &
|
|
11991
12057
|
/*inputEl*/
|
|
11992
12058
|
1048576 | $$self.$$.dirty[1] &
|
|
11993
12059
|
/*isFocused*/
|
|
11994
|
-
|
|
12060
|
+
16) {
|
|
11995
12061
|
if (isFocused && inputEl) {
|
|
11996
12062
|
setTimeout(() => inputEl.focus(), 1);
|
|
11997
12063
|
}
|
|
@@ -12008,13 +12074,13 @@
|
|
|
12008
12074
|
}
|
|
12009
12075
|
};
|
|
12010
12076
|
|
|
12011
|
-
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding];
|
|
12077
|
+
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, _rootEL, _leadingContentSlot, _trailingContentSlot, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding, div3_binding];
|
|
12012
12078
|
}
|
|
12013
12079
|
|
|
12014
12080
|
class Input extends SvelteElement {
|
|
12015
12081
|
constructor(options) {
|
|
12016
12082
|
super();
|
|
12017
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
12083
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus-within:not(.goa-input-leading-content):not(.goa-input-trailing-content){box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans);z-index:1}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200) !important;cursor:default;box-shadow:none !important}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:not(.goa-input-leading-content):not(.goa-input-trailing-content),.error:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.error .input-leading-content,.error .input-leading-content:hover,.error .input-trailing-content,.error .input-trailing-content:hover{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error .input-leading-content:focus,.error .input-trailing-content:focus,.error .input-leading-content:active,.error .input-trailing-content:active{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.input-leading-content:hover,.input-trailing-content:hover{box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);outline:var(--goa-border-width-s) solid var(--goa-color-interactive-hover)}.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus);outline:var(--goa-border-width-s) solid var(--goa-color-greyscale-700)}.error .input-trailing-content,.input-trailing-content:hover,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m)}.error .input-leading-content,.input-leading-content:hover,.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within{border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.input-leading-content.input-trailing-content,.input-leading-content.input-trailing-content:hover,.input-leading-content.input-trailing-content:active,.input-leading-content.input-trailing-content:focus,.input-leading-content.input-trailing-content:focus-within{border-radius:0}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
12018
12084
|
center center no-repeat}</style>`;
|
|
12019
12085
|
init(this, {
|
|
12020
12086
|
target: this.shadowRoot,
|
|
@@ -12029,11 +12095,11 @@
|
|
|
12029
12095
|
leadingicon: 5,
|
|
12030
12096
|
trailingicon: 6,
|
|
12031
12097
|
variant: 7,
|
|
12032
|
-
disabled:
|
|
12033
|
-
handletrailingiconclick:
|
|
12034
|
-
focused:
|
|
12035
|
-
readonly:
|
|
12036
|
-
error:
|
|
12098
|
+
disabled: 29,
|
|
12099
|
+
handletrailingiconclick: 30,
|
|
12100
|
+
focused: 31,
|
|
12101
|
+
readonly: 32,
|
|
12102
|
+
error: 33,
|
|
12037
12103
|
testid: 8,
|
|
12038
12104
|
width: 9,
|
|
12039
12105
|
arialabel: 10,
|
|
@@ -12042,7 +12108,7 @@
|
|
|
12042
12108
|
step: 13,
|
|
12043
12109
|
prefix: 14,
|
|
12044
12110
|
suffix: 15,
|
|
12045
|
-
debounce:
|
|
12111
|
+
debounce: 34,
|
|
12046
12112
|
mt: 16,
|
|
12047
12113
|
mr: 17,
|
|
12048
12114
|
mb: 18,
|
|
@@ -12154,7 +12220,7 @@
|
|
|
12154
12220
|
}
|
|
12155
12221
|
|
|
12156
12222
|
get disabled() {
|
|
12157
|
-
return this.$$.ctx[
|
|
12223
|
+
return this.$$.ctx[29];
|
|
12158
12224
|
}
|
|
12159
12225
|
|
|
12160
12226
|
set disabled(disabled) {
|
|
@@ -12165,7 +12231,7 @@
|
|
|
12165
12231
|
}
|
|
12166
12232
|
|
|
12167
12233
|
get handletrailingiconclick() {
|
|
12168
|
-
return this.$$.ctx[
|
|
12234
|
+
return this.$$.ctx[30];
|
|
12169
12235
|
}
|
|
12170
12236
|
|
|
12171
12237
|
set handletrailingiconclick(handletrailingiconclick) {
|
|
@@ -12176,7 +12242,7 @@
|
|
|
12176
12242
|
}
|
|
12177
12243
|
|
|
12178
12244
|
get focused() {
|
|
12179
|
-
return this.$$.ctx[
|
|
12245
|
+
return this.$$.ctx[31];
|
|
12180
12246
|
}
|
|
12181
12247
|
|
|
12182
12248
|
set focused(focused) {
|
|
@@ -12187,7 +12253,7 @@
|
|
|
12187
12253
|
}
|
|
12188
12254
|
|
|
12189
12255
|
get readonly() {
|
|
12190
|
-
return this.$$.ctx[
|
|
12256
|
+
return this.$$.ctx[32];
|
|
12191
12257
|
}
|
|
12192
12258
|
|
|
12193
12259
|
set readonly(readonly) {
|
|
@@ -12198,7 +12264,7 @@
|
|
|
12198
12264
|
}
|
|
12199
12265
|
|
|
12200
12266
|
get error() {
|
|
12201
|
-
return this.$$.ctx[
|
|
12267
|
+
return this.$$.ctx[33];
|
|
12202
12268
|
}
|
|
12203
12269
|
|
|
12204
12270
|
set error(error) {
|
|
@@ -12297,7 +12363,7 @@
|
|
|
12297
12363
|
}
|
|
12298
12364
|
|
|
12299
12365
|
get debounce() {
|
|
12300
|
-
return this.$$.ctx[
|
|
12366
|
+
return this.$$.ctx[34];
|
|
12301
12367
|
}
|
|
12302
12368
|
|
|
12303
12369
|
set debounce(debounce) {
|