@abgov/react-components 4.0.0-alpha.134 → 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 +176 -132
- package/react-components.umd.js +176 -132
package/react-components.umd.js
CHANGED
|
@@ -10645,7 +10645,7 @@
|
|
|
10645
10645
|
16) show_if = null;
|
|
10646
10646
|
if (show_if == null) show_if = !!Object.keys(
|
|
10647
10647
|
/*_iconOverrides*/
|
|
10648
|
-
ctx[
|
|
10648
|
+
ctx[12]).includes(
|
|
10649
10649
|
/*type*/
|
|
10650
10650
|
ctx[4]);
|
|
10651
10651
|
if (show_if) return create_if_block_1$5;
|
|
@@ -10685,7 +10685,7 @@
|
|
|
10685
10685
|
}
|
|
10686
10686
|
|
|
10687
10687
|
};
|
|
10688
|
-
} // (
|
|
10688
|
+
} // (60:4) {:else}
|
|
10689
10689
|
|
|
10690
10690
|
|
|
10691
10691
|
function create_else_block$4(ctx) {
|
|
@@ -10734,7 +10734,7 @@
|
|
|
10734
10734
|
}
|
|
10735
10735
|
|
|
10736
10736
|
};
|
|
10737
|
-
} // (
|
|
10737
|
+
} // (55:4) {#if Object.keys(_iconOverrides).includes(type)}
|
|
10738
10738
|
|
|
10739
10739
|
|
|
10740
10740
|
function create_if_block_1$5(ctx) {
|
|
@@ -10742,7 +10742,7 @@
|
|
|
10742
10742
|
let html_tag;
|
|
10743
10743
|
let raw_value =
|
|
10744
10744
|
/*_iconOverrides*/
|
|
10745
|
-
ctx[
|
|
10745
|
+
ctx[12][
|
|
10746
10746
|
/*type*/
|
|
10747
10747
|
ctx[4]] + "";
|
|
10748
10748
|
let t;
|
|
@@ -10769,7 +10769,7 @@
|
|
|
10769
10769
|
/*type*/
|
|
10770
10770
|
16 && raw_value !== (raw_value =
|
|
10771
10771
|
/*_iconOverrides*/
|
|
10772
|
-
ctx[
|
|
10772
|
+
ctx[12][
|
|
10773
10773
|
/*type*/
|
|
10774
10774
|
ctx[4]] + "")) html_tag.p(raw_value);
|
|
10775
10775
|
},
|
|
@@ -10795,10 +10795,10 @@
|
|
|
10795
10795
|
attr(div, "class", "goa-icon");
|
|
10796
10796
|
attr(div, "data-testid",
|
|
10797
10797
|
/*testid*/
|
|
10798
|
-
ctx[
|
|
10798
|
+
ctx[9]);
|
|
10799
10799
|
attr(div, "title",
|
|
10800
10800
|
/*title*/
|
|
10801
|
-
ctx[
|
|
10801
|
+
ctx[8]);
|
|
10802
10802
|
attr(div, "style", div_style_value = `
|
|
10803
10803
|
${calculateMargin(
|
|
10804
10804
|
/*mt*/
|
|
@@ -10811,20 +10811,17 @@
|
|
|
10811
10811
|
ctx[3])}
|
|
10812
10812
|
--size: ${
|
|
10813
10813
|
/*_size*/
|
|
10814
|
-
ctx[
|
|
10814
|
+
ctx[10]};
|
|
10815
10815
|
--fill-color: ${
|
|
10816
10816
|
/*fillcolor*/
|
|
10817
10817
|
ctx[6]};
|
|
10818
|
-
--hover-color: ${
|
|
10819
|
-
/*hovercolor*/
|
|
10820
|
-
ctx[7]};
|
|
10821
10818
|
--opacity: ${
|
|
10822
10819
|
/*opacity*/
|
|
10823
|
-
ctx[
|
|
10820
|
+
ctx[7]};
|
|
10824
10821
|
`);
|
|
10825
10822
|
toggle_class(div, "inverted",
|
|
10826
10823
|
/*isInverted*/
|
|
10827
|
-
ctx[
|
|
10824
|
+
ctx[11]);
|
|
10828
10825
|
},
|
|
10829
10826
|
|
|
10830
10827
|
m(target, anchor) {
|
|
@@ -10850,23 +10847,23 @@
|
|
|
10850
10847
|
|
|
10851
10848
|
if (dirty &
|
|
10852
10849
|
/*testid*/
|
|
10853
|
-
|
|
10850
|
+
512) {
|
|
10854
10851
|
attr(div, "data-testid",
|
|
10855
10852
|
/*testid*/
|
|
10856
|
-
ctx[
|
|
10853
|
+
ctx[9]);
|
|
10857
10854
|
}
|
|
10858
10855
|
|
|
10859
10856
|
if (dirty &
|
|
10860
10857
|
/*title*/
|
|
10861
|
-
|
|
10858
|
+
256) {
|
|
10862
10859
|
attr(div, "title",
|
|
10863
10860
|
/*title*/
|
|
10864
|
-
ctx[
|
|
10861
|
+
ctx[8]);
|
|
10865
10862
|
}
|
|
10866
10863
|
|
|
10867
10864
|
if (dirty &
|
|
10868
|
-
/*mt, mr, mb, ml, _size, fillcolor,
|
|
10869
|
-
|
|
10865
|
+
/*mt, mr, mb, ml, _size, fillcolor, opacity*/
|
|
10866
|
+
1231 && div_style_value !== (div_style_value = `
|
|
10870
10867
|
${calculateMargin(
|
|
10871
10868
|
/*mt*/
|
|
10872
10869
|
ctx[0],
|
|
@@ -10878,26 +10875,23 @@
|
|
|
10878
10875
|
ctx[3])}
|
|
10879
10876
|
--size: ${
|
|
10880
10877
|
/*_size*/
|
|
10881
|
-
ctx[
|
|
10878
|
+
ctx[10]};
|
|
10882
10879
|
--fill-color: ${
|
|
10883
10880
|
/*fillcolor*/
|
|
10884
10881
|
ctx[6]};
|
|
10885
|
-
--hover-color: ${
|
|
10886
|
-
/*hovercolor*/
|
|
10887
|
-
ctx[7]};
|
|
10888
10882
|
--opacity: ${
|
|
10889
10883
|
/*opacity*/
|
|
10890
|
-
ctx[
|
|
10884
|
+
ctx[7]};
|
|
10891
10885
|
`)) {
|
|
10892
10886
|
attr(div, "style", div_style_value);
|
|
10893
10887
|
}
|
|
10894
10888
|
|
|
10895
10889
|
if (dirty &
|
|
10896
10890
|
/*isInverted*/
|
|
10897
|
-
|
|
10891
|
+
2048) {
|
|
10898
10892
|
toggle_class(div, "inverted",
|
|
10899
10893
|
/*isInverted*/
|
|
10900
|
-
ctx[
|
|
10894
|
+
ctx[11]);
|
|
10901
10895
|
}
|
|
10902
10896
|
},
|
|
10903
10897
|
|
|
@@ -10944,9 +10938,6 @@
|
|
|
10944
10938
|
let {
|
|
10945
10939
|
fillcolor = ""
|
|
10946
10940
|
} = $$props;
|
|
10947
|
-
let {
|
|
10948
|
-
hovercolor = ""
|
|
10949
|
-
} = $$props;
|
|
10950
10941
|
let {
|
|
10951
10942
|
opacity = 1
|
|
10952
10943
|
} = $$props;
|
|
@@ -10975,27 +10966,26 @@
|
|
|
10975
10966
|
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
10976
10967
|
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
10977
10968
|
if ('type' in $$props) $$invalidate(4, type = $$props.type);
|
|
10978
|
-
if ('size' in $$props) $$invalidate(
|
|
10969
|
+
if ('size' in $$props) $$invalidate(13, size = $$props.size);
|
|
10979
10970
|
if ('theme' in $$props) $$invalidate(5, theme = $$props.theme);
|
|
10980
|
-
if ('inverted' in $$props) $$invalidate(
|
|
10971
|
+
if ('inverted' in $$props) $$invalidate(14, inverted = $$props.inverted);
|
|
10981
10972
|
if ('fillcolor' in $$props) $$invalidate(6, fillcolor = $$props.fillcolor);
|
|
10982
|
-
if ('
|
|
10983
|
-
if ('
|
|
10984
|
-
if ('
|
|
10985
|
-
if ('testid' in $$props) $$invalidate(10, testid = $$props.testid);
|
|
10973
|
+
if ('opacity' in $$props) $$invalidate(7, opacity = $$props.opacity);
|
|
10974
|
+
if ('title' in $$props) $$invalidate(8, title = $$props.title);
|
|
10975
|
+
if ('testid' in $$props) $$invalidate(9, testid = $$props.testid);
|
|
10986
10976
|
};
|
|
10987
10977
|
|
|
10988
10978
|
$$self.$$.update = () => {
|
|
10989
10979
|
if ($$self.$$.dirty &
|
|
10990
10980
|
/*inverted*/
|
|
10991
|
-
|
|
10992
|
-
$$invalidate(
|
|
10981
|
+
16384) {
|
|
10982
|
+
$$invalidate(11, isInverted = toBoolean(inverted));
|
|
10993
10983
|
}
|
|
10994
10984
|
|
|
10995
10985
|
if ($$self.$$.dirty &
|
|
10996
10986
|
/*size*/
|
|
10997
|
-
|
|
10998
|
-
$$invalidate(
|
|
10987
|
+
8192) {
|
|
10988
|
+
$$invalidate(10, _size = {
|
|
10999
10989
|
small: "1.25rem",
|
|
11000
10990
|
medium: "1.5rem",
|
|
11001
10991
|
large: "2rem"
|
|
@@ -11003,13 +10993,13 @@
|
|
|
11003
10993
|
}
|
|
11004
10994
|
};
|
|
11005
10995
|
|
|
11006
|
-
return [mt, mr, mb, ml, type, theme, fillcolor,
|
|
10996
|
+
return [mt, mr, mb, ml, type, theme, fillcolor, opacity, title, testid, _size, isInverted, _iconOverrides, size, inverted];
|
|
11007
10997
|
}
|
|
11008
10998
|
|
|
11009
10999
|
class Icon extends SvelteElement {
|
|
11010
11000
|
constructor(options) {
|
|
11011
11001
|
super();
|
|
11012
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.
|
|
11002
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.icon-override{display:flex;flex-direction:column;align-items:center}.icon-override *{fill:var(--goa-color-interactive-default)}.inverted *{color:#fff;fill:#fff}</style>`;
|
|
11013
11003
|
init(this, {
|
|
11014
11004
|
target: this.shadowRoot,
|
|
11015
11005
|
props: attribute_to_object(this.attributes),
|
|
@@ -11020,14 +11010,13 @@
|
|
|
11020
11010
|
mb: 2,
|
|
11021
11011
|
ml: 3,
|
|
11022
11012
|
type: 4,
|
|
11023
|
-
size:
|
|
11013
|
+
size: 13,
|
|
11024
11014
|
theme: 5,
|
|
11025
|
-
inverted:
|
|
11015
|
+
inverted: 14,
|
|
11026
11016
|
fillcolor: 6,
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
testid: 10
|
|
11017
|
+
opacity: 7,
|
|
11018
|
+
title: 8,
|
|
11019
|
+
testid: 9
|
|
11031
11020
|
}, null);
|
|
11032
11021
|
|
|
11033
11022
|
if (options) {
|
|
@@ -11043,7 +11032,7 @@
|
|
|
11043
11032
|
}
|
|
11044
11033
|
|
|
11045
11034
|
static get observedAttributes() {
|
|
11046
|
-
return ["mt", "mr", "mb", "ml", "type", "size", "theme", "inverted", "fillcolor", "
|
|
11035
|
+
return ["mt", "mr", "mb", "ml", "type", "size", "theme", "inverted", "fillcolor", "opacity", "title", "testid"];
|
|
11047
11036
|
}
|
|
11048
11037
|
|
|
11049
11038
|
get mt() {
|
|
@@ -11102,7 +11091,7 @@
|
|
|
11102
11091
|
}
|
|
11103
11092
|
|
|
11104
11093
|
get size() {
|
|
11105
|
-
return this.$$.ctx[
|
|
11094
|
+
return this.$$.ctx[13];
|
|
11106
11095
|
}
|
|
11107
11096
|
|
|
11108
11097
|
set size(size) {
|
|
@@ -11124,7 +11113,7 @@
|
|
|
11124
11113
|
}
|
|
11125
11114
|
|
|
11126
11115
|
get inverted() {
|
|
11127
|
-
return this.$$.ctx[
|
|
11116
|
+
return this.$$.ctx[14];
|
|
11128
11117
|
}
|
|
11129
11118
|
|
|
11130
11119
|
set inverted(inverted) {
|
|
@@ -11145,19 +11134,8 @@
|
|
|
11145
11134
|
flush();
|
|
11146
11135
|
}
|
|
11147
11136
|
|
|
11148
|
-
get hovercolor() {
|
|
11149
|
-
return this.$$.ctx[7];
|
|
11150
|
-
}
|
|
11151
|
-
|
|
11152
|
-
set hovercolor(hovercolor) {
|
|
11153
|
-
this.$$set({
|
|
11154
|
-
hovercolor
|
|
11155
|
-
});
|
|
11156
|
-
flush();
|
|
11157
|
-
}
|
|
11158
|
-
|
|
11159
11137
|
get opacity() {
|
|
11160
|
-
return this.$$.ctx[
|
|
11138
|
+
return this.$$.ctx[7];
|
|
11161
11139
|
}
|
|
11162
11140
|
|
|
11163
11141
|
set opacity(opacity) {
|
|
@@ -11168,7 +11146,7 @@
|
|
|
11168
11146
|
}
|
|
11169
11147
|
|
|
11170
11148
|
get title() {
|
|
11171
|
-
return this.$$.ctx[
|
|
11149
|
+
return this.$$.ctx[8];
|
|
11172
11150
|
}
|
|
11173
11151
|
|
|
11174
11152
|
set title(title) {
|
|
@@ -11179,7 +11157,7 @@
|
|
|
11179
11157
|
}
|
|
11180
11158
|
|
|
11181
11159
|
get testid() {
|
|
11182
|
-
return this.$$.ctx[
|
|
11160
|
+
return this.$$.ctx[9];
|
|
11183
11161
|
}
|
|
11184
11162
|
|
|
11185
11163
|
set testid(testid) {
|
|
@@ -11224,7 +11202,7 @@
|
|
|
11224
11202
|
}
|
|
11225
11203
|
|
|
11226
11204
|
};
|
|
11227
|
-
} // (
|
|
11205
|
+
} // (123:4) {#if leadingicon}
|
|
11228
11206
|
|
|
11229
11207
|
|
|
11230
11208
|
function create_if_block_3$4(ctx) {
|
|
@@ -11258,7 +11236,7 @@
|
|
|
11258
11236
|
}
|
|
11259
11237
|
|
|
11260
11238
|
};
|
|
11261
|
-
} // (
|
|
11239
|
+
} // (157:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11262
11240
|
|
|
11263
11241
|
|
|
11264
11242
|
function create_if_block_2$4(ctx) {
|
|
@@ -11293,7 +11271,7 @@
|
|
|
11293
11271
|
}
|
|
11294
11272
|
|
|
11295
11273
|
};
|
|
11296
|
-
} // (
|
|
11274
|
+
} // (167:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11297
11275
|
|
|
11298
11276
|
|
|
11299
11277
|
function create_if_block_1$4(ctx) {
|
|
@@ -11305,7 +11283,7 @@
|
|
|
11305
11283
|
goa_icon_button = element("goa-icon-button");
|
|
11306
11284
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11307
11285
|
/*isDisabled*/
|
|
11308
|
-
ctx[
|
|
11286
|
+
ctx[24]);
|
|
11309
11287
|
set_custom_element_data(goa_icon_button, "variant", "nocolor");
|
|
11310
11288
|
set_custom_element_data(goa_icon_button, "size", "medium");
|
|
11311
11289
|
set_custom_element_data(goa_icon_button, "icon",
|
|
@@ -11326,10 +11304,10 @@
|
|
|
11326
11304
|
p(ctx, dirty) {
|
|
11327
11305
|
if (dirty[0] &
|
|
11328
11306
|
/*isDisabled*/
|
|
11329
|
-
|
|
11307
|
+
16777216) {
|
|
11330
11308
|
set_custom_element_data(goa_icon_button, "disabled",
|
|
11331
11309
|
/*isDisabled*/
|
|
11332
|
-
ctx[
|
|
11310
|
+
ctx[24]);
|
|
11333
11311
|
}
|
|
11334
11312
|
|
|
11335
11313
|
if (dirty[0] &
|
|
@@ -11348,7 +11326,7 @@
|
|
|
11348
11326
|
}
|
|
11349
11327
|
|
|
11350
11328
|
};
|
|
11351
|
-
} // (
|
|
11329
|
+
} // (179:4) {#if suffix}
|
|
11352
11330
|
|
|
11353
11331
|
|
|
11354
11332
|
function create_if_block$a(ctx) {
|
|
@@ -11413,12 +11391,12 @@
|
|
|
11413
11391
|
/*trailingicon*/
|
|
11414
11392
|
ctx[6] && !
|
|
11415
11393
|
/*handlesTrailingIconClick*/
|
|
11416
|
-
ctx[
|
|
11394
|
+
ctx[27] && create_if_block_2$4(ctx);
|
|
11417
11395
|
let if_block3 =
|
|
11418
11396
|
/*trailingicon*/
|
|
11419
11397
|
ctx[6] &&
|
|
11420
11398
|
/*handlesTrailingIconClick*/
|
|
11421
|
-
ctx[
|
|
11399
|
+
ctx[27] && create_if_block_1$4(ctx);
|
|
11422
11400
|
let if_block4 =
|
|
11423
11401
|
/*suffix*/
|
|
11424
11402
|
ctx[15] && create_if_block$a(ctx);
|
|
@@ -11445,18 +11423,30 @@
|
|
|
11445
11423
|
div1.innerHTML = `<slot name="trailingContent"></slot>`;
|
|
11446
11424
|
this.c = noop;
|
|
11447
11425
|
attr(div0, "class", "leading-content");
|
|
11448
|
-
attr(input, "class", input_class_value = `
|
|
11426
|
+
attr(input, "class", input_class_value = `
|
|
11427
|
+
input--${
|
|
11449
11428
|
/*variant*/
|
|
11450
|
-
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
|
+
`);
|
|
11451
11441
|
attr(input, "style", input_style_value = `--search-icon-offset: ${
|
|
11452
11442
|
/*trailingicon*/
|
|
11453
11443
|
ctx[6] ? "-0.5rem" : "0"}`);
|
|
11454
11444
|
input.readOnly =
|
|
11455
11445
|
/*isReadonly*/
|
|
11456
|
-
ctx[
|
|
11446
|
+
ctx[26];
|
|
11457
11447
|
input.disabled =
|
|
11458
11448
|
/*isDisabled*/
|
|
11459
|
-
ctx[
|
|
11449
|
+
ctx[24];
|
|
11460
11450
|
attr(input, "data-testid",
|
|
11461
11451
|
/*testid*/
|
|
11462
11452
|
ctx[8]);
|
|
@@ -11495,17 +11485,23 @@
|
|
|
11495
11485
|
goa-input
|
|
11496
11486
|
${
|
|
11497
11487
|
/*isDisabled*/
|
|
11498
|
-
ctx[
|
|
11488
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11499
11489
|
variant--${
|
|
11500
11490
|
/*variant*/
|
|
11501
11491
|
ctx[7]}
|
|
11502
11492
|
type--${
|
|
11503
11493
|
/*type*/
|
|
11504
11494
|
ctx[1]}
|
|
11495
|
+
${
|
|
11496
|
+
/*_leadingContentSlot*/
|
|
11497
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11498
|
+
${
|
|
11499
|
+
/*_trailingContentSlot*/
|
|
11500
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11505
11501
|
`);
|
|
11506
11502
|
toggle_class(div2, "error",
|
|
11507
11503
|
/*isError*/
|
|
11508
|
-
ctx[
|
|
11504
|
+
ctx[25]);
|
|
11509
11505
|
attr(div3, "class", "container");
|
|
11510
11506
|
attr(div3, "style", div3_style_value = `
|
|
11511
11507
|
${calculateMargin(
|
|
@@ -11535,7 +11531,7 @@
|
|
|
11535
11531
|
append(div2, input);
|
|
11536
11532
|
/*input_binding*/
|
|
11537
11533
|
|
|
11538
|
-
ctx[
|
|
11534
|
+
ctx[36](input);
|
|
11539
11535
|
append(div2, t3);
|
|
11540
11536
|
if (if_block2) if_block2.m(div2, null);
|
|
11541
11537
|
append(div2, t4);
|
|
@@ -11544,13 +11540,16 @@
|
|
|
11544
11540
|
if (if_block4) if_block4.m(div2, null);
|
|
11545
11541
|
append(div2, t6);
|
|
11546
11542
|
append(div2, div1);
|
|
11543
|
+
/*div3_binding*/
|
|
11544
|
+
|
|
11545
|
+
ctx[37](div3);
|
|
11547
11546
|
|
|
11548
11547
|
if (!mounted) {
|
|
11549
11548
|
dispose = [listen(input, "keyup",
|
|
11550
11549
|
/*onKeyUp*/
|
|
11551
|
-
ctx[
|
|
11550
|
+
ctx[28]), listen(input, "change",
|
|
11552
11551
|
/*onKeyUp*/
|
|
11553
|
-
ctx[
|
|
11552
|
+
ctx[28])];
|
|
11554
11553
|
mounted = true;
|
|
11555
11554
|
}
|
|
11556
11555
|
},
|
|
@@ -11587,10 +11586,22 @@
|
|
|
11587
11586
|
}
|
|
11588
11587
|
|
|
11589
11588
|
if (dirty[0] &
|
|
11590
|
-
/*variant*/
|
|
11591
|
-
|
|
11589
|
+
/*variant, _leadingContentSlot, isDisabled, _trailingContentSlot*/
|
|
11590
|
+
29360256 && input_class_value !== (input_class_value = `
|
|
11591
|
+
input--${
|
|
11592
11592
|
/*variant*/
|
|
11593
|
-
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
|
+
`)) {
|
|
11594
11605
|
attr(input, "class", input_class_value);
|
|
11595
11606
|
}
|
|
11596
11607
|
|
|
@@ -11604,18 +11615,18 @@
|
|
|
11604
11615
|
|
|
11605
11616
|
if (dirty[0] &
|
|
11606
11617
|
/*isReadonly*/
|
|
11607
|
-
|
|
11618
|
+
67108864) {
|
|
11608
11619
|
input.readOnly =
|
|
11609
11620
|
/*isReadonly*/
|
|
11610
|
-
ctx[
|
|
11621
|
+
ctx[26];
|
|
11611
11622
|
}
|
|
11612
11623
|
|
|
11613
11624
|
if (dirty[0] &
|
|
11614
11625
|
/*isDisabled*/
|
|
11615
|
-
|
|
11626
|
+
16777216) {
|
|
11616
11627
|
input.disabled =
|
|
11617
11628
|
/*isDisabled*/
|
|
11618
|
-
ctx[
|
|
11629
|
+
ctx[24];
|
|
11619
11630
|
}
|
|
11620
11631
|
|
|
11621
11632
|
if (dirty[0] &
|
|
@@ -11706,7 +11717,7 @@
|
|
|
11706
11717
|
/*trailingicon*/
|
|
11707
11718
|
ctx[6] && !
|
|
11708
11719
|
/*handlesTrailingIconClick*/
|
|
11709
|
-
ctx[
|
|
11720
|
+
ctx[27]) {
|
|
11710
11721
|
if (if_block2) {
|
|
11711
11722
|
if_block2.p(ctx, dirty);
|
|
11712
11723
|
} else {
|
|
@@ -11723,7 +11734,7 @@
|
|
|
11723
11734
|
/*trailingicon*/
|
|
11724
11735
|
ctx[6] &&
|
|
11725
11736
|
/*handlesTrailingIconClick*/
|
|
11726
|
-
ctx[
|
|
11737
|
+
ctx[27]) {
|
|
11727
11738
|
if (if_block3) {
|
|
11728
11739
|
if_block3.p(ctx, dirty);
|
|
11729
11740
|
} else {
|
|
@@ -11752,28 +11763,34 @@
|
|
|
11752
11763
|
}
|
|
11753
11764
|
|
|
11754
11765
|
if (dirty[0] &
|
|
11755
|
-
/*isDisabled, variant, type*/
|
|
11756
|
-
|
|
11766
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot*/
|
|
11767
|
+
29360258 && div2_class_value !== (div2_class_value = `
|
|
11757
11768
|
goa-input
|
|
11758
11769
|
${
|
|
11759
11770
|
/*isDisabled*/
|
|
11760
|
-
ctx[
|
|
11771
|
+
ctx[24] ? "goa-input--disabled" : ""}
|
|
11761
11772
|
variant--${
|
|
11762
11773
|
/*variant*/
|
|
11763
11774
|
ctx[7]}
|
|
11764
11775
|
type--${
|
|
11765
11776
|
/*type*/
|
|
11766
11777
|
ctx[1]}
|
|
11778
|
+
${
|
|
11779
|
+
/*_leadingContentSlot*/
|
|
11780
|
+
ctx[22] ? "goa-input-leading-content" : ""}
|
|
11781
|
+
${
|
|
11782
|
+
/*_trailingContentSlot*/
|
|
11783
|
+
ctx[23] ? "goa-input-trailing-content" : ""}
|
|
11767
11784
|
`)) {
|
|
11768
11785
|
attr(div2, "class", div2_class_value);
|
|
11769
11786
|
}
|
|
11770
11787
|
|
|
11771
11788
|
if (dirty[0] &
|
|
11772
|
-
/*isDisabled, variant, type, isError*/
|
|
11773
|
-
|
|
11789
|
+
/*isDisabled, variant, type, _leadingContentSlot, _trailingContentSlot, isError*/
|
|
11790
|
+
62914690) {
|
|
11774
11791
|
toggle_class(div2, "error",
|
|
11775
11792
|
/*isError*/
|
|
11776
|
-
ctx[
|
|
11793
|
+
ctx[25]);
|
|
11777
11794
|
}
|
|
11778
11795
|
|
|
11779
11796
|
if (dirty[0] &
|
|
@@ -11805,10 +11822,13 @@
|
|
|
11805
11822
|
if (if_block1) if_block1.d();
|
|
11806
11823
|
/*input_binding*/
|
|
11807
11824
|
|
|
11808
|
-
ctx[
|
|
11825
|
+
ctx[36](null);
|
|
11809
11826
|
if (if_block2) if_block2.d();
|
|
11810
11827
|
if (if_block3) if_block3.d();
|
|
11811
11828
|
if (if_block4) if_block4.d();
|
|
11829
|
+
/*div3_binding*/
|
|
11830
|
+
|
|
11831
|
+
ctx[37](null);
|
|
11812
11832
|
mounted = false;
|
|
11813
11833
|
run_all(dispose);
|
|
11814
11834
|
}
|
|
@@ -11909,6 +11929,11 @@
|
|
|
11909
11929
|
ml = null
|
|
11910
11930
|
} = $$props;
|
|
11911
11931
|
let inputEl;
|
|
11932
|
+
|
|
11933
|
+
let _rootEL;
|
|
11934
|
+
|
|
11935
|
+
let _leadingContentSlot = false;
|
|
11936
|
+
let _trailingContentSlot = false;
|
|
11912
11937
|
let _debounceId = null;
|
|
11913
11938
|
|
|
11914
11939
|
function onKeyUp(e) {
|
|
@@ -11940,6 +11965,18 @@
|
|
|
11940
11965
|
if (prefix != "" || suffix != "") {
|
|
11941
11966
|
console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
|
|
11942
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
|
+
}
|
|
11943
11980
|
});
|
|
11944
11981
|
|
|
11945
11982
|
function input_binding($$value) {
|
|
@@ -11949,6 +11986,13 @@
|
|
|
11949
11986
|
});
|
|
11950
11987
|
}
|
|
11951
11988
|
|
|
11989
|
+
function div3_binding($$value) {
|
|
11990
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
11991
|
+
_rootEL = $$value;
|
|
11992
|
+
$$invalidate(21, _rootEL);
|
|
11993
|
+
});
|
|
11994
|
+
}
|
|
11995
|
+
|
|
11952
11996
|
$$self.$$set = $$props => {
|
|
11953
11997
|
if ('type' in $$props) $$invalidate(1, type = $$props.type);
|
|
11954
11998
|
if ('name' in $$props) $$invalidate(2, name = $$props.name);
|
|
@@ -11958,11 +12002,11 @@
|
|
|
11958
12002
|
if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
|
|
11959
12003
|
if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
|
|
11960
12004
|
if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
|
|
11961
|
-
if ('disabled' in $$props) $$invalidate(
|
|
11962
|
-
if ('handletrailingiconclick' in $$props) $$invalidate(
|
|
11963
|
-
if ('focused' in $$props) $$invalidate(
|
|
11964
|
-
if ('readonly' in $$props) $$invalidate(
|
|
11965
|
-
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);
|
|
11966
12010
|
if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
|
|
11967
12011
|
if ('width' in $$props) $$invalidate(9, width = $$props.width);
|
|
11968
12012
|
if ('arialabel' in $$props) $$invalidate(10, arialabel = $$props.arialabel);
|
|
@@ -11971,7 +12015,7 @@
|
|
|
11971
12015
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11972
12016
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11973
12017
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11974
|
-
if ('debounce' in $$props) $$invalidate(
|
|
12018
|
+
if ('debounce' in $$props) $$invalidate(34, debounce = $$props.debounce);
|
|
11975
12019
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11976
12020
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11977
12021
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11981,39 +12025,39 @@
|
|
|
11981
12025
|
$$self.$$.update = () => {
|
|
11982
12026
|
if ($$self.$$.dirty[0] &
|
|
11983
12027
|
/*handletrailingiconclick*/
|
|
11984
|
-
|
|
11985
|
-
$$invalidate(
|
|
12028
|
+
1073741824) {
|
|
12029
|
+
$$invalidate(27, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
|
|
11986
12030
|
}
|
|
11987
12031
|
|
|
11988
|
-
if ($$self.$$.dirty[
|
|
12032
|
+
if ($$self.$$.dirty[1] &
|
|
11989
12033
|
/*focused*/
|
|
11990
|
-
|
|
11991
|
-
$$invalidate(
|
|
12034
|
+
1) {
|
|
12035
|
+
$$invalidate(35, isFocused = toBoolean(focused));
|
|
11992
12036
|
}
|
|
11993
12037
|
|
|
11994
|
-
if ($$self.$$.dirty[
|
|
12038
|
+
if ($$self.$$.dirty[1] &
|
|
11995
12039
|
/*readonly*/
|
|
11996
|
-
|
|
11997
|
-
$$invalidate(
|
|
12040
|
+
2) {
|
|
12041
|
+
$$invalidate(26, isReadonly = toBoolean(readonly));
|
|
11998
12042
|
}
|
|
11999
12043
|
|
|
12000
|
-
if ($$self.$$.dirty[
|
|
12044
|
+
if ($$self.$$.dirty[1] &
|
|
12001
12045
|
/*error*/
|
|
12002
|
-
|
|
12003
|
-
$$invalidate(
|
|
12046
|
+
4) {
|
|
12047
|
+
$$invalidate(25, isError = toBoolean(error));
|
|
12004
12048
|
}
|
|
12005
12049
|
|
|
12006
12050
|
if ($$self.$$.dirty[0] &
|
|
12007
12051
|
/*disabled*/
|
|
12008
|
-
|
|
12009
|
-
$$invalidate(
|
|
12052
|
+
536870912) {
|
|
12053
|
+
$$invalidate(24, isDisabled = toBoolean(disabled));
|
|
12010
12054
|
}
|
|
12011
12055
|
|
|
12012
12056
|
if ($$self.$$.dirty[0] &
|
|
12013
12057
|
/*inputEl*/
|
|
12014
12058
|
1048576 | $$self.$$.dirty[1] &
|
|
12015
12059
|
/*isFocused*/
|
|
12016
|
-
|
|
12060
|
+
16) {
|
|
12017
12061
|
if (isFocused && inputEl) {
|
|
12018
12062
|
setTimeout(() => inputEl.focus(), 1);
|
|
12019
12063
|
}
|
|
@@ -12030,13 +12074,13 @@
|
|
|
12030
12074
|
}
|
|
12031
12075
|
};
|
|
12032
12076
|
|
|
12033
|
-
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];
|
|
12034
12078
|
}
|
|
12035
12079
|
|
|
12036
12080
|
class Input extends SvelteElement {
|
|
12037
12081
|
constructor(options) {
|
|
12038
12082
|
super();
|
|
12039
|
-
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>')
|
|
12040
12084
|
center center no-repeat}</style>`;
|
|
12041
12085
|
init(this, {
|
|
12042
12086
|
target: this.shadowRoot,
|
|
@@ -12051,11 +12095,11 @@
|
|
|
12051
12095
|
leadingicon: 5,
|
|
12052
12096
|
trailingicon: 6,
|
|
12053
12097
|
variant: 7,
|
|
12054
|
-
disabled:
|
|
12055
|
-
handletrailingiconclick:
|
|
12056
|
-
focused:
|
|
12057
|
-
readonly:
|
|
12058
|
-
error:
|
|
12098
|
+
disabled: 29,
|
|
12099
|
+
handletrailingiconclick: 30,
|
|
12100
|
+
focused: 31,
|
|
12101
|
+
readonly: 32,
|
|
12102
|
+
error: 33,
|
|
12059
12103
|
testid: 8,
|
|
12060
12104
|
width: 9,
|
|
12061
12105
|
arialabel: 10,
|
|
@@ -12064,7 +12108,7 @@
|
|
|
12064
12108
|
step: 13,
|
|
12065
12109
|
prefix: 14,
|
|
12066
12110
|
suffix: 15,
|
|
12067
|
-
debounce:
|
|
12111
|
+
debounce: 34,
|
|
12068
12112
|
mt: 16,
|
|
12069
12113
|
mr: 17,
|
|
12070
12114
|
mb: 18,
|
|
@@ -12176,7 +12220,7 @@
|
|
|
12176
12220
|
}
|
|
12177
12221
|
|
|
12178
12222
|
get disabled() {
|
|
12179
|
-
return this.$$.ctx[
|
|
12223
|
+
return this.$$.ctx[29];
|
|
12180
12224
|
}
|
|
12181
12225
|
|
|
12182
12226
|
set disabled(disabled) {
|
|
@@ -12187,7 +12231,7 @@
|
|
|
12187
12231
|
}
|
|
12188
12232
|
|
|
12189
12233
|
get handletrailingiconclick() {
|
|
12190
|
-
return this.$$.ctx[
|
|
12234
|
+
return this.$$.ctx[30];
|
|
12191
12235
|
}
|
|
12192
12236
|
|
|
12193
12237
|
set handletrailingiconclick(handletrailingiconclick) {
|
|
@@ -12198,7 +12242,7 @@
|
|
|
12198
12242
|
}
|
|
12199
12243
|
|
|
12200
12244
|
get focused() {
|
|
12201
|
-
return this.$$.ctx[
|
|
12245
|
+
return this.$$.ctx[31];
|
|
12202
12246
|
}
|
|
12203
12247
|
|
|
12204
12248
|
set focused(focused) {
|
|
@@ -12209,7 +12253,7 @@
|
|
|
12209
12253
|
}
|
|
12210
12254
|
|
|
12211
12255
|
get readonly() {
|
|
12212
|
-
return this.$$.ctx[
|
|
12256
|
+
return this.$$.ctx[32];
|
|
12213
12257
|
}
|
|
12214
12258
|
|
|
12215
12259
|
set readonly(readonly) {
|
|
@@ -12220,7 +12264,7 @@
|
|
|
12220
12264
|
}
|
|
12221
12265
|
|
|
12222
12266
|
get error() {
|
|
12223
|
-
return this.$$.ctx[
|
|
12267
|
+
return this.$$.ctx[33];
|
|
12224
12268
|
}
|
|
12225
12269
|
|
|
12226
12270
|
set error(error) {
|
|
@@ -12319,7 +12363,7 @@
|
|
|
12319
12363
|
}
|
|
12320
12364
|
|
|
12321
12365
|
get debounce() {
|
|
12322
|
-
return this.$$.ctx[
|
|
12366
|
+
return this.$$.ctx[34];
|
|
12323
12367
|
}
|
|
12324
12368
|
|
|
12325
12369
|
set debounce(debounce) {
|