@tylertech/forge 2.13.0-next.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/custom-elements.json +106 -107
- package/dist/esm/app-bar/help-button/index.js +1 -1
- package/dist/esm/app-bar/index.js +1 -1
- package/dist/esm/autocomplete/index.js +1 -1
- package/dist/esm/bottom-sheet/index.js +1 -1
- package/dist/esm/chip-field/index.js +1 -1
- package/dist/esm/chunks/{chunk.Z5P6EA5L.js → chunk.6QMDYUVT.js} +2 -2
- package/dist/esm/chunks/{chunk.Z5P6EA5L.js.map → chunk.6QMDYUVT.js.map} +0 -0
- package/dist/esm/chunks/{chunk.VH3PVW2V.js → chunk.6SGRP4FO.js} +2 -2
- package/dist/esm/chunks/{chunk.VH3PVW2V.js.map → chunk.6SGRP4FO.js.map} +0 -0
- package/dist/esm/chunks/{chunk.SZL74RTY.js → chunk.6XXKSGW5.js} +2 -2
- package/dist/esm/chunks/{chunk.SZL74RTY.js.map → chunk.6XXKSGW5.js.map} +0 -0
- package/dist/esm/chunks/chunk.75KFBRF6.js +7 -0
- package/dist/esm/chunks/{chunk.CYJBOJMX.js.map → chunk.75KFBRF6.js.map} +2 -2
- package/dist/esm/chunks/chunk.BX7242PC.js +7 -0
- package/dist/esm/chunks/chunk.BX7242PC.js.map +7 -0
- package/dist/esm/chunks/{chunk.K32ME33N.js → chunk.DQBSFX46.js} +2 -2
- package/dist/esm/chunks/{chunk.K32ME33N.js.map → chunk.DQBSFX46.js.map} +0 -0
- package/dist/esm/chunks/chunk.EJ4ASQET.js +7 -0
- package/dist/esm/chunks/chunk.EJ4ASQET.js.map +7 -0
- package/dist/esm/chunks/{chunk.KGW63HJX.js → chunk.F2TKPPK7.js} +2 -2
- package/dist/esm/chunks/{chunk.KGW63HJX.js.map → chunk.F2TKPPK7.js.map} +0 -0
- package/dist/esm/chunks/{chunk.DML4YNQF.js → chunk.HSJQA42U.js} +2 -2
- package/dist/esm/chunks/{chunk.DML4YNQF.js.map → chunk.HSJQA42U.js.map} +2 -2
- package/dist/esm/chunks/{chunk.DGOV5RDW.js → chunk.HUWXZ4ZN.js} +2 -2
- package/dist/esm/chunks/{chunk.DGOV5RDW.js.map → chunk.HUWXZ4ZN.js.map} +2 -2
- package/dist/esm/chunks/{chunk.D3DLVPPE.js → chunk.J2ODMCFS.js} +2 -2
- package/dist/esm/chunks/{chunk.D3DLVPPE.js.map → chunk.J2ODMCFS.js.map} +0 -0
- package/dist/esm/chunks/{chunk.E4ZTNVXI.js → chunk.J6CIWTDH.js} +2 -2
- package/dist/esm/chunks/{chunk.E4ZTNVXI.js.map → chunk.J6CIWTDH.js.map} +0 -0
- package/dist/esm/chunks/chunk.LMOYZQZJ.js +7 -0
- package/dist/esm/chunks/chunk.LMOYZQZJ.js.map +7 -0
- package/dist/esm/chunks/chunk.NNGE722W.js +7 -0
- package/dist/esm/chunks/chunk.NNGE722W.js.map +7 -0
- package/dist/esm/chunks/{chunk.32SMESZX.js → chunk.O2XO3IRX.js} +2 -2
- package/dist/esm/chunks/{chunk.32SMESZX.js.map → chunk.O2XO3IRX.js.map} +0 -0
- package/dist/esm/chunks/{chunk.2ZSAAJDN.js → chunk.ON3JVSSR.js} +2 -2
- package/dist/esm/chunks/{chunk.2ZSAAJDN.js.map → chunk.ON3JVSSR.js.map} +0 -0
- package/dist/esm/chunks/chunk.PZTAIVJW.js +7 -0
- package/dist/esm/chunks/chunk.PZTAIVJW.js.map +7 -0
- package/dist/esm/chunks/{chunk.NTFA7FCB.js → chunk.QEHJJKFZ.js} +2 -2
- package/dist/esm/chunks/{chunk.NTFA7FCB.js.map → chunk.QEHJJKFZ.js.map} +0 -0
- package/dist/esm/chunks/chunk.QOZLQPKE.js +7 -0
- package/dist/esm/chunks/chunk.QOZLQPKE.js.map +7 -0
- package/dist/esm/chunks/{chunk.G5Q2CUUE.js → chunk.RGWUF3J2.js} +2 -2
- package/dist/esm/chunks/{chunk.G5Q2CUUE.js.map → chunk.RGWUF3J2.js.map} +0 -0
- package/dist/esm/chunks/{chunk.F3W3XMGT.js → chunk.RST65QIB.js} +2 -2
- package/dist/esm/chunks/{chunk.F3W3XMGT.js.map → chunk.RST65QIB.js.map} +0 -0
- package/dist/esm/chunks/{chunk.WUIIZZQD.js → chunk.WIUER75G.js} +2 -2
- package/dist/esm/chunks/{chunk.WUIIZZQD.js.map → chunk.WIUER75G.js.map} +0 -0
- package/dist/esm/chunks/{chunk.V7P3QPNM.js → chunk.Y7Q6QI5V.js} +2 -2
- package/dist/esm/chunks/{chunk.V7P3QPNM.js.map → chunk.Y7Q6QI5V.js.map} +2 -2
- package/dist/esm/chunks/chunk.YPUWII7L.js +7 -0
- package/dist/esm/chunks/{chunk.5PQTSZ7G.js.map → chunk.YPUWII7L.js.map} +2 -2
- package/dist/esm/date-picker/index.js +1 -1
- package/dist/esm/date-range-picker/index.js +1 -1
- package/dist/esm/dialog/index.js +1 -1
- package/dist/esm/file-picker/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/list/index.js +1 -1
- package/dist/esm/list/list/index.js +1 -1
- package/dist/esm/list/list-item/index.js +1 -1
- package/dist/esm/list-dropdown/index.js +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/select/core/index.js +1 -1
- package/dist/esm/select/index.js +1 -1
- package/dist/esm/select/option/index.js +1 -1
- package/dist/esm/select/select/index.js +1 -1
- package/dist/esm/select/select-dropdown/index.js +1 -1
- package/dist/esm/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view-panel/index.js +1 -1
- package/dist/esm/switch/index.js +1 -1
- package/dist/esm/text-field/index.js +1 -1
- package/dist/esm/time-picker/index.js +1 -1
- package/esm/chip-field/chip-field.js +1 -1
- package/esm/date-range-picker/date-range-picker-foundation.d.ts +1 -0
- package/esm/date-range-picker/date-range-picker-foundation.js +13 -1
- package/esm/dialog/dialog-adapter.d.ts +5 -5
- package/esm/dialog/dialog-adapter.js +31 -30
- package/esm/dialog/dialog-foundation.d.ts +2 -4
- package/esm/dialog/dialog-foundation.js +38 -55
- package/esm/dialog/dialog.d.ts +0 -4
- package/esm/dialog/dialog.js +1 -7
- package/esm/file-picker/file-picker.js +1 -1
- package/esm/list/list-item/list-item-adapter.d.ts +7 -2
- package/esm/list/list-item/list-item-adapter.js +10 -4
- package/esm/list/list-item/list-item-foundation.js +8 -2
- package/esm/list/list-item/list-item.d.ts +1 -1
- package/esm/list/list-item/list-item.js +1 -1
- package/esm/select/core/base-select-adapter.js +11 -1
- package/esm/select/core/base-select-foundation.js +7 -3
- package/esm/select/option/option-constants.d.ts +3 -0
- package/esm/select/option/option-constants.js +5 -1
- package/esm/select/option/option-foundation.d.ts +2 -2
- package/esm/select/option/option-foundation.js +1 -0
- package/esm/select/select/select.js +1 -1
- package/esm/split-view/split-view/split-view-constants.d.ts +0 -1
- package/esm/split-view/split-view-panel/split-view-panel-adapter.d.ts +4 -1
- package/esm/split-view/split-view-panel/split-view-panel-adapter.js +17 -6
- package/esm/split-view/split-view-panel/split-view-panel-constants.d.ts +1 -0
- package/esm/split-view/split-view-panel/split-view-panel-constants.js +2 -1
- package/esm/split-view/split-view-panel/split-view-panel-foundation.js +1 -4
- package/esm/split-view/split-view-panel/split-view-panel-utils.d.ts +6 -0
- package/esm/split-view/split-view-panel/split-view-panel-utils.js +17 -0
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/switch/switch.d.ts +1 -0
- package/esm/switch/switch.js +13 -9
- package/esm/text-field/text-field.js +1 -1
- package/package.json +1 -1
- package/styles/field/_base.scss +4 -2
- package/styles/field/_variables.scss +0 -3
- package/dist/esm/chunks/chunk.5D6UB4DL.js +0 -7
- package/dist/esm/chunks/chunk.5D6UB4DL.js.map +0 -7
- package/dist/esm/chunks/chunk.5PQTSZ7G.js +0 -7
- package/dist/esm/chunks/chunk.7JTKKFL4.js +0 -7
- package/dist/esm/chunks/chunk.7JTKKFL4.js.map +0 -7
- package/dist/esm/chunks/chunk.CYJBOJMX.js +0 -7
- package/dist/esm/chunks/chunk.IGMTMR3D.js +0 -7
- package/dist/esm/chunks/chunk.IGMTMR3D.js.map +0 -7
- package/dist/esm/chunks/chunk.TCCPCDJK.js +0 -7
- package/dist/esm/chunks/chunk.TCCPCDJK.js.map +0 -7
- package/dist/esm/chunks/chunk.VQKRN5IQ.js +0 -7
- package/dist/esm/chunks/chunk.VQKRN5IQ.js.map +0 -7
- package/dist/esm/chunks/chunk.YK2PXI6D.js +0 -7
- package/dist/esm/chunks/chunk.YK2PXI6D.js.map +0 -7
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ The `forge.css` file contains other stylesheets that you may or may not need. We
|
|
|
94
94
|
@use '@tylertech/forge/dist/button/forge-button.css';
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
Additionally apply the `forge-typography` class to a root element (typically the `<body>`):
|
|
97
|
+
Additionally, apply the `forge-typography` class to a root element (typically the `<body>`):
|
|
98
98
|
|
|
99
99
|
```html
|
|
100
100
|
<body class="forge-typography">
|
package/custom-elements.json
CHANGED
|
@@ -33926,6 +33926,25 @@
|
|
|
33926
33926
|
}
|
|
33927
33927
|
]
|
|
33928
33928
|
},
|
|
33929
|
+
{
|
|
33930
|
+
"kind": "method",
|
|
33931
|
+
"name": "_isDateRangeAcceptable",
|
|
33932
|
+
"privacy": "protected",
|
|
33933
|
+
"return": {
|
|
33934
|
+
"type": {
|
|
33935
|
+
"text": "boolean"
|
|
33936
|
+
}
|
|
33937
|
+
},
|
|
33938
|
+
"parameters": [
|
|
33939
|
+
{
|
|
33940
|
+
"name": "value",
|
|
33941
|
+
"optional": true,
|
|
33942
|
+
"type": {
|
|
33943
|
+
"text": "DateRange | null | undefined"
|
|
33944
|
+
}
|
|
33945
|
+
}
|
|
33946
|
+
]
|
|
33947
|
+
},
|
|
33929
33948
|
{
|
|
33930
33949
|
"kind": "method",
|
|
33931
33950
|
"name": "_setValue",
|
|
@@ -35688,9 +35707,10 @@
|
|
|
35688
35707
|
"kind": "field",
|
|
35689
35708
|
"name": "_backdropElement",
|
|
35690
35709
|
"type": {
|
|
35691
|
-
"text": "IBackdropComponent
|
|
35710
|
+
"text": "IBackdropComponent"
|
|
35692
35711
|
},
|
|
35693
|
-
"privacy": "private"
|
|
35712
|
+
"privacy": "private",
|
|
35713
|
+
"default": "getShadowElement(component, DIALOG_CONSTANTS.selectors.BACKDROP)"
|
|
35694
35714
|
},
|
|
35695
35715
|
{
|
|
35696
35716
|
"kind": "field",
|
|
@@ -35778,16 +35798,7 @@
|
|
|
35778
35798
|
"type": {
|
|
35779
35799
|
"text": "void"
|
|
35780
35800
|
}
|
|
35781
|
-
}
|
|
35782
|
-
"parameters": [
|
|
35783
|
-
{
|
|
35784
|
-
"name": "parent",
|
|
35785
|
-
"default": "document.body",
|
|
35786
|
-
"type": {
|
|
35787
|
-
"text": "HTMLElement"
|
|
35788
|
-
}
|
|
35789
|
-
}
|
|
35790
|
-
]
|
|
35801
|
+
}
|
|
35791
35802
|
},
|
|
35792
35803
|
{
|
|
35793
35804
|
"kind": "method",
|
|
@@ -36176,7 +36187,7 @@
|
|
|
36176
36187
|
{
|
|
36177
36188
|
"name": "positionType",
|
|
36178
36189
|
"type": {
|
|
36179
|
-
"text": "DialogPositionType
|
|
36190
|
+
"text": "DialogPositionType"
|
|
36180
36191
|
}
|
|
36181
36192
|
}
|
|
36182
36193
|
]
|
|
@@ -36774,6 +36785,24 @@
|
|
|
36774
36785
|
},
|
|
36775
36786
|
"privacy": "private"
|
|
36776
36787
|
},
|
|
36788
|
+
{
|
|
36789
|
+
"kind": "field",
|
|
36790
|
+
"name": "_attachedDocumentKeydownHandler",
|
|
36791
|
+
"type": {
|
|
36792
|
+
"text": "boolean"
|
|
36793
|
+
},
|
|
36794
|
+
"privacy": "private",
|
|
36795
|
+
"default": "false"
|
|
36796
|
+
},
|
|
36797
|
+
{
|
|
36798
|
+
"kind": "field",
|
|
36799
|
+
"name": "_attachedBackdropClickHandler",
|
|
36800
|
+
"type": {
|
|
36801
|
+
"text": "boolean"
|
|
36802
|
+
},
|
|
36803
|
+
"privacy": "private",
|
|
36804
|
+
"default": "false"
|
|
36805
|
+
},
|
|
36777
36806
|
{
|
|
36778
36807
|
"kind": "method",
|
|
36779
36808
|
"name": "initialize",
|
|
@@ -36852,44 +36881,6 @@
|
|
|
36852
36881
|
}
|
|
36853
36882
|
}
|
|
36854
36883
|
},
|
|
36855
|
-
{
|
|
36856
|
-
"kind": "method",
|
|
36857
|
-
"name": "show",
|
|
36858
|
-
"privacy": "public",
|
|
36859
|
-
"return": {
|
|
36860
|
-
"type": {
|
|
36861
|
-
"text": "Promise<void>"
|
|
36862
|
-
}
|
|
36863
|
-
},
|
|
36864
|
-
"parameters": [
|
|
36865
|
-
{
|
|
36866
|
-
"name": "parent",
|
|
36867
|
-
"optional": true,
|
|
36868
|
-
"type": {
|
|
36869
|
-
"text": "HTMLElement"
|
|
36870
|
-
}
|
|
36871
|
-
}
|
|
36872
|
-
]
|
|
36873
|
-
},
|
|
36874
|
-
{
|
|
36875
|
-
"kind": "method",
|
|
36876
|
-
"name": "hide",
|
|
36877
|
-
"privacy": "public",
|
|
36878
|
-
"return": {
|
|
36879
|
-
"type": {
|
|
36880
|
-
"text": "Promise<void>"
|
|
36881
|
-
}
|
|
36882
|
-
},
|
|
36883
|
-
"parameters": [
|
|
36884
|
-
{
|
|
36885
|
-
"name": "remove",
|
|
36886
|
-
"optional": true,
|
|
36887
|
-
"type": {
|
|
36888
|
-
"text": "boolean"
|
|
36889
|
-
}
|
|
36890
|
-
}
|
|
36891
|
-
]
|
|
36892
|
-
},
|
|
36893
36884
|
{
|
|
36894
36885
|
"kind": "method",
|
|
36895
36886
|
"name": "_normalizePositionValue",
|
|
@@ -36914,7 +36905,7 @@
|
|
|
36914
36905
|
"privacy": "private",
|
|
36915
36906
|
"return": {
|
|
36916
36907
|
"type": {
|
|
36917
|
-
"text": "
|
|
36908
|
+
"text": "void"
|
|
36918
36909
|
}
|
|
36919
36910
|
}
|
|
36920
36911
|
},
|
|
@@ -36924,7 +36915,7 @@
|
|
|
36924
36915
|
"privacy": "private",
|
|
36925
36916
|
"return": {
|
|
36926
36917
|
"type": {
|
|
36927
|
-
"text": "
|
|
36918
|
+
"text": "void"
|
|
36928
36919
|
}
|
|
36929
36920
|
}
|
|
36930
36921
|
},
|
|
@@ -37417,44 +37408,6 @@
|
|
|
37417
37408
|
"text": "void"
|
|
37418
37409
|
}
|
|
37419
37410
|
}
|
|
37420
|
-
},
|
|
37421
|
-
{
|
|
37422
|
-
"kind": "method",
|
|
37423
|
-
"name": "show",
|
|
37424
|
-
"privacy": "public",
|
|
37425
|
-
"return": {
|
|
37426
|
-
"type": {
|
|
37427
|
-
"text": "Promise<void>"
|
|
37428
|
-
}
|
|
37429
|
-
},
|
|
37430
|
-
"parameters": [
|
|
37431
|
-
{
|
|
37432
|
-
"name": "parent",
|
|
37433
|
-
"optional": true,
|
|
37434
|
-
"type": {
|
|
37435
|
-
"text": "HTMLElement"
|
|
37436
|
-
}
|
|
37437
|
-
}
|
|
37438
|
-
]
|
|
37439
|
-
},
|
|
37440
|
-
{
|
|
37441
|
-
"kind": "method",
|
|
37442
|
-
"name": "hide",
|
|
37443
|
-
"privacy": "public",
|
|
37444
|
-
"return": {
|
|
37445
|
-
"type": {
|
|
37446
|
-
"text": "Promise<void>"
|
|
37447
|
-
}
|
|
37448
|
-
},
|
|
37449
|
-
"parameters": [
|
|
37450
|
-
{
|
|
37451
|
-
"name": "remove",
|
|
37452
|
-
"optional": true,
|
|
37453
|
-
"type": {
|
|
37454
|
-
"text": "boolean"
|
|
37455
|
-
}
|
|
37456
|
-
}
|
|
37457
|
-
]
|
|
37458
37411
|
}
|
|
37459
37412
|
],
|
|
37460
37413
|
"superclass": {
|
|
@@ -63515,6 +63468,24 @@
|
|
|
63515
63468
|
}
|
|
63516
63469
|
]
|
|
63517
63470
|
},
|
|
63471
|
+
{
|
|
63472
|
+
"kind": "method",
|
|
63473
|
+
"name": "_applySelected",
|
|
63474
|
+
"privacy": "private",
|
|
63475
|
+
"return": {
|
|
63476
|
+
"type": {
|
|
63477
|
+
"text": "void"
|
|
63478
|
+
}
|
|
63479
|
+
},
|
|
63480
|
+
"parameters": [
|
|
63481
|
+
{
|
|
63482
|
+
"name": "value",
|
|
63483
|
+
"type": {
|
|
63484
|
+
"text": "boolean"
|
|
63485
|
+
}
|
|
63486
|
+
}
|
|
63487
|
+
]
|
|
63488
|
+
},
|
|
63518
63489
|
{
|
|
63519
63490
|
"kind": "method",
|
|
63520
63491
|
"name": "_applyDense",
|
|
@@ -97693,7 +97664,7 @@
|
|
|
97693
97664
|
"privacy": "public",
|
|
97694
97665
|
"return": {
|
|
97695
97666
|
"type": {
|
|
97696
|
-
"text": "
|
|
97667
|
+
"text": ""
|
|
97697
97668
|
}
|
|
97698
97669
|
},
|
|
97699
97670
|
"parameters": [
|
|
@@ -97701,9 +97672,11 @@
|
|
|
97701
97672
|
"name": "value",
|
|
97702
97673
|
"type": {
|
|
97703
97674
|
"text": "unknown"
|
|
97704
|
-
}
|
|
97675
|
+
},
|
|
97676
|
+
"description": "The value to compare to the parent list element's selected value"
|
|
97705
97677
|
}
|
|
97706
|
-
]
|
|
97678
|
+
],
|
|
97679
|
+
"description": "Attempts to set the selected state of the list item element and it's visual indicators"
|
|
97707
97680
|
},
|
|
97708
97681
|
{
|
|
97709
97682
|
"kind": "method",
|
|
@@ -98605,16 +98578,6 @@
|
|
|
98605
98578
|
"privacy": "private",
|
|
98606
98579
|
"default": "new ListItemFoundation(new ListItemAdapter(this))"
|
|
98607
98580
|
},
|
|
98608
|
-
{
|
|
98609
|
-
"kind": "method",
|
|
98610
|
-
"name": "initializedCallback",
|
|
98611
|
-
"privacy": "public",
|
|
98612
|
-
"return": {
|
|
98613
|
-
"type": {
|
|
98614
|
-
"text": "void"
|
|
98615
|
-
}
|
|
98616
|
-
}
|
|
98617
|
-
},
|
|
98618
98581
|
{
|
|
98619
98582
|
"kind": "method",
|
|
98620
98583
|
"name": "_inheritParentListProps",
|
|
@@ -101550,7 +101513,7 @@
|
|
|
101550
101513
|
"type": {
|
|
101551
101514
|
"text": "object"
|
|
101552
101515
|
},
|
|
101553
|
-
"default": "{\n elementName,\n attributes\n}"
|
|
101516
|
+
"default": "{\n elementName,\n attributes,\n events\n}"
|
|
101554
101517
|
}
|
|
101555
101518
|
],
|
|
101556
101519
|
"exports": [
|
|
@@ -101684,7 +101647,7 @@
|
|
|
101684
101647
|
"kind": "field",
|
|
101685
101648
|
"name": "value",
|
|
101686
101649
|
"type": {
|
|
101687
|
-
"text": "
|
|
101650
|
+
"text": "any"
|
|
101688
101651
|
},
|
|
101689
101652
|
"privacy": "public",
|
|
101690
101653
|
"description": "Gets/sets the value of this option."
|
|
@@ -109734,6 +109697,14 @@
|
|
|
109734
109697
|
},
|
|
109735
109698
|
"privacy": "private"
|
|
109736
109699
|
},
|
|
109700
|
+
{
|
|
109701
|
+
"kind": "field",
|
|
109702
|
+
"name": "_overlay",
|
|
109703
|
+
"type": {
|
|
109704
|
+
"text": "HTMLElement | undefined"
|
|
109705
|
+
},
|
|
109706
|
+
"privacy": "private"
|
|
109707
|
+
},
|
|
109737
109708
|
{
|
|
109738
109709
|
"kind": "method",
|
|
109739
109710
|
"name": "initialize",
|
|
@@ -109744,6 +109715,16 @@
|
|
|
109744
109715
|
}
|
|
109745
109716
|
}
|
|
109746
109717
|
},
|
|
109718
|
+
{
|
|
109719
|
+
"kind": "method",
|
|
109720
|
+
"name": "tryRemoveOverlay",
|
|
109721
|
+
"privacy": "public",
|
|
109722
|
+
"return": {
|
|
109723
|
+
"type": {
|
|
109724
|
+
"text": "void"
|
|
109725
|
+
}
|
|
109726
|
+
}
|
|
109727
|
+
},
|
|
109747
109728
|
{
|
|
109748
109729
|
"kind": "method",
|
|
109749
109730
|
"name": "setPointerdownListener",
|
|
@@ -110095,7 +110076,7 @@
|
|
|
110095
110076
|
"description": "The component's resizable value and whether it's at the min or max value."
|
|
110096
110077
|
}
|
|
110097
110078
|
],
|
|
110098
|
-
"description": "Applies a cursor style to the document body."
|
|
110079
|
+
"description": "Applies a cursor style to the overlay element covering the document body."
|
|
110099
110080
|
},
|
|
110100
110081
|
{
|
|
110101
110082
|
"kind": "method",
|
|
@@ -112105,6 +112086,16 @@
|
|
|
112105
112086
|
}
|
|
112106
112087
|
],
|
|
112107
112088
|
"description": "Gets a pixel size value from a pixel or percent value."
|
|
112089
|
+
},
|
|
112090
|
+
{
|
|
112091
|
+
"kind": "function",
|
|
112092
|
+
"name": "createOverlay",
|
|
112093
|
+
"return": {
|
|
112094
|
+
"type": {
|
|
112095
|
+
"text": ""
|
|
112096
|
+
}
|
|
112097
|
+
},
|
|
112098
|
+
"description": "Creates a transparent element to overlay on top of the document body, ensuring the split view\nbehaves as expected when dragging over other contexts."
|
|
112108
112099
|
}
|
|
112109
112100
|
],
|
|
112110
112101
|
"exports": [
|
|
@@ -112243,6 +112234,14 @@
|
|
|
112243
112234
|
"name": "getPixelDimension",
|
|
112244
112235
|
"module": "split-view/split-view-panel/split-view-panel-utils.ts"
|
|
112245
112236
|
}
|
|
112237
|
+
},
|
|
112238
|
+
{
|
|
112239
|
+
"kind": "js",
|
|
112240
|
+
"name": "createOverlay",
|
|
112241
|
+
"declaration": {
|
|
112242
|
+
"name": "createOverlay",
|
|
112243
|
+
"module": "split-view/split-view-panel/split-view-panel-utils.ts"
|
|
112244
|
+
}
|
|
112246
112245
|
}
|
|
112247
112246
|
]
|
|
112248
112247
|
},
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e}from"../../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e}from"../../chunks/chunk.RGWUF3J2.js";import"../../chunks/chunk.6XXKSGW5.js";import"../../chunks/chunk.RST65QIB.js";import"../../chunks/chunk.F2TKPPK7.js";import"../../chunks/chunk.54QFNVMG.js";import"../../chunks/chunk.FZQCBRPK.js";import"../../chunks/chunk.J2ODMCFS.js";import"../../chunks/chunk.LMOYZQZJ.js";import"../../chunks/chunk.AMFXGOSA.js";import"../../chunks/chunk.EC6JSIQW.js";import"../../chunks/chunk.K753A3KI.js";import"../../chunks/chunk.XYBFFTXS.js";import"../../chunks/chunk.STS5TIUV.js";import"../../chunks/chunk.3UMBCR4P.js";import"../../chunks/chunk.BOENNFXE.js";import"../../chunks/chunk.QXLPBYMX.js";import"../../chunks/chunk.PYG4YVBA.js";import"../../chunks/chunk.QZHEP4X2.js";import"../../chunks/chunk.LZMYHIO2.js";import"../../chunks/chunk.OUEF6VQ6.js";import"../../chunks/chunk.VLTJFKGZ.js";import"../../chunks/chunk.D4SNVKDA.js";import"../../chunks/chunk.UUX4QJ4D.js";import"../../chunks/chunk.YAJT3P6V.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.24D46RLZ.js";import"../../chunks/chunk.7ZS4N2FT.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.KYCC3C3M.js";import"../../chunks/chunk.GVQVA7P3.js";import"../../chunks/chunk.MIYZJUXH.js";import"../../chunks/chunk.A23NSEWA.js";import"../../chunks/chunk.B3IJU6XJ.js";import"../../chunks/chunk.BSZ2LBJX.js";import"../../chunks/chunk.3E5QKMHL.js";import"../../chunks/chunk.HN4PXH3D.js";import"../../chunks/chunk.R4NDFXVA.js";import"../../chunks/chunk.G76HB2FK.js";import"../../chunks/chunk.MCIQXNKY.js";export{c as APP_BAR_HELP_BUTTON_CONSTANTS,a as AppBarHelpButtonAdapter,d as AppBarHelpButtonComponent,b as AppBarHelpButtonFoundation,e as defineAppBarHelpButtonComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f as I}from"../chunks/chunk.CV5E5W6I.js";import{a as t,b as u,c as v,d as w,e as x}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f as I}from"../chunks/chunk.CV5E5W6I.js";import{a as t,b as u,c as v,d as w,e as x}from"../chunks/chunk.RGWUF3J2.js";import"../chunks/chunk.6XXKSGW5.js";import"../chunks/chunk.RST65QIB.js";import"../chunks/chunk.F2TKPPK7.js";import"../chunks/chunk.54QFNVMG.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.J2ODMCFS.js";import"../chunks/chunk.LMOYZQZJ.js";import"../chunks/chunk.AMFXGOSA.js";import"../chunks/chunk.EC6JSIQW.js";import"../chunks/chunk.K753A3KI.js";import"../chunks/chunk.XYBFFTXS.js";import"../chunks/chunk.STS5TIUV.js";import{a as l,b as m,c as n}from"../chunks/chunk.APGFXXJ7.js";import{a as o,b as p,c as q,d as r,e as s}from"../chunks/chunk.BFNAQQCU.js";import"../chunks/chunk.MNBJMPJ6.js";import{a as D,b as E,c as F,d as G,e as H}from"../chunks/chunk.PFD2SVJ4.js";import{a as y,b as z,c as A,d as B,e as C}from"../chunks/chunk.FPV4XEUK.js";import"../chunks/chunk.JNOCXQVB.js";import"../chunks/chunk.35U4OX7S.js";import"../chunks/chunk.SVGEVCXA.js";import"../chunks/chunk.2GY2VPJG.js";import"../chunks/chunk.OAKTW64X.js";import"../chunks/chunk.3UMBCR4P.js";import"../chunks/chunk.BOENNFXE.js";import"../chunks/chunk.QXLPBYMX.js";import"../chunks/chunk.PYG4YVBA.js";import"../chunks/chunk.QZHEP4X2.js";import{a as f,b as g,c as h,d as i,e as j,f as k}from"../chunks/chunk.4KBQ5AJJ.js";import"../chunks/chunk.LZMYHIO2.js";import"../chunks/chunk.OUEF6VQ6.js";import"../chunks/chunk.VLTJFKGZ.js";import"../chunks/chunk.D4SNVKDA.js";import"../chunks/chunk.UUX4QJ4D.js";import"../chunks/chunk.YAJT3P6V.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.24D46RLZ.js";import"../chunks/chunk.7ZS4N2FT.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.KYCC3C3M.js";import"../chunks/chunk.GVQVA7P3.js";import"../chunks/chunk.MIYZJUXH.js";import"../chunks/chunk.A23NSEWA.js";import"../chunks/chunk.B3IJU6XJ.js";import"../chunks/chunk.BSZ2LBJX.js";import"../chunks/chunk.3E5QKMHL.js";import"../chunks/chunk.HN4PXH3D.js";import"../chunks/chunk.R4NDFXVA.js";import"../chunks/chunk.G76HB2FK.js";import"../chunks/chunk.MCIQXNKY.js";export{b as APP_BAR_CONSTANTS,v as APP_BAR_HELP_BUTTON_CONSTANTS,l as APP_BAR_MENU_BUTTON_CONSTANTS,p as APP_BAR_NOTIFICATION_BUTTON_CONSTANTS,D as APP_BAR_PROFILE_BUTTON_CONSTANTS,f as APP_BAR_SEARCH_CONSTANTS,c as AppBarAdapter,e as AppBarComponent,d as AppBarFoundation,t as AppBarHelpButtonAdapter,w as AppBarHelpButtonComponent,u as AppBarHelpButtonFoundation,m as AppBarMenuButtonComponent,o as AppBarNotificationButtonAdapter,r as AppBarNotificationButtonComponent,q as AppBarNotificationButtonFoundation,E as AppBarProfileButtonAdapter,G as AppBarProfileButtonComponent,F as AppBarProfileButtonFoundation,i as AppBarSearchAdapter,j as AppBarSearchComponent,h as AppBarSearchFoundation,g as DEFAULT_COMBINED_OPTIONS,y as PROFILE_CARD_CONSTANTS,z as ProfileCardAdapter,B as ProfileCardComponent,A as ProfileCardFoundation,I as defineAppBarComponent,x as defineAppBarHelpButtonComponent,n as defineAppBarMenuButtonComponent,s as defineAppBarNotificationButtonComponent,H as defineAppBarProfileButtonComponent,k as defineAppBarSearchComponent,C as defineProfileCardComponent,a as elementName};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f,g,h,i,j,k}from"../chunks/chunk.QEHJJKFZ.js";import"../chunks/chunk.HSJQA42U.js";import"../chunks/chunk.IMK2LFWR.js";import"../chunks/chunk.YHHIPP2F.js";import"../chunks/chunk.YPUWII7L.js";import"../chunks/chunk.RPPBBBYG.js";import"../chunks/chunk.AWCBH5KW.js";import"../chunks/chunk.F5I55MXD.js";import"../chunks/chunk.Y6FFG7XO.js";import"../chunks/chunk.CKS5A4YN.js";import"../chunks/chunk.G77PXLAU.js";import"../chunks/chunk.WV45FGTW.js";import"../chunks/chunk.Y6MPWPZU.js";import"../chunks/chunk.RST65QIB.js";import"../chunks/chunk.F2TKPPK7.js";import"../chunks/chunk.54QFNVMG.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.J2ODMCFS.js";import"../chunks/chunk.LMOYZQZJ.js";import"../chunks/chunk.AMFXGOSA.js";import"../chunks/chunk.EC6JSIQW.js";import"../chunks/chunk.XYBFFTXS.js";import"../chunks/chunk.STS5TIUV.js";import"../chunks/chunk.3UMBCR4P.js";import"../chunks/chunk.QXLPBYMX.js";import"../chunks/chunk.PYG4YVBA.js";import"../chunks/chunk.QZHEP4X2.js";import"../chunks/chunk.LZMYHIO2.js";import"../chunks/chunk.D4SNVKDA.js";import"../chunks/chunk.UUX4QJ4D.js";import"../chunks/chunk.YAJT3P6V.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.24D46RLZ.js";import"../chunks/chunk.7ZS4N2FT.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.KYCC3C3M.js";import"../chunks/chunk.GVQVA7P3.js";import"../chunks/chunk.MIYZJUXH.js";import"../chunks/chunk.A23NSEWA.js";import"../chunks/chunk.B3IJU6XJ.js";import"../chunks/chunk.BSZ2LBJX.js";import"../chunks/chunk.3E5QKMHL.js";import"../chunks/chunk.HN4PXH3D.js";import"../chunks/chunk.R4NDFXVA.js";import"../chunks/chunk.G76HB2FK.js";import"../chunks/chunk.MCIQXNKY.js";export{a as AUTOCOMPLETE_CONSTANTS,c as AutocompleteAdapter,i as AutocompleteComponent,j as AutocompleteComponentDelegate,h as AutocompleteFoundation,b as AutocompleteMode,d as OptionType,k as defineAutocompleteComponent,f as getSelectedOption,e as isOptionType,g as optionEqualPredicate};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e}from"../chunks/chunk.6QMDYUVT.js";import"../chunks/chunk.HUWXZ4ZN.js";import"../chunks/chunk.NGIBMR3Q.js";import"../chunks/chunk.7NXPOEXV.js";import"../chunks/chunk.QJPH24V4.js";import"../chunks/chunk.EC6JSIQW.js";import"../chunks/chunk.BOENNFXE.js";import"../chunks/chunk.QXLPBYMX.js";import"../chunks/chunk.PYG4YVBA.js";import"../chunks/chunk.QZHEP4X2.js";import"../chunks/chunk.YAJT3P6V.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.24D46RLZ.js";import"../chunks/chunk.7ZS4N2FT.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.KYCC3C3M.js";import"../chunks/chunk.GVQVA7P3.js";import"../chunks/chunk.MIYZJUXH.js";import"../chunks/chunk.A23NSEWA.js";import"../chunks/chunk.B3IJU6XJ.js";import"../chunks/chunk.BSZ2LBJX.js";import"../chunks/chunk.3E5QKMHL.js";import"../chunks/chunk.HN4PXH3D.js";import"../chunks/chunk.R4NDFXVA.js";import"../chunks/chunk.G76HB2FK.js";import"../chunks/chunk.MCIQXNKY.js";export{a as BOTTOM_SHEET_CONSTANTS,b as BottomSheetAdapter,d as BottomSheetComponent,c as BottomSheetFoundation,e as defineBottomSheetComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f}from"../chunks/chunk.YPUWII7L.js";import"../chunks/chunk.RPPBBBYG.js";import"../chunks/chunk.AWCBH5KW.js";import"../chunks/chunk.F5I55MXD.js";import"../chunks/chunk.Y6FFG7XO.js";import"../chunks/chunk.CKS5A4YN.js";import"../chunks/chunk.G77PXLAU.js";import"../chunks/chunk.WV45FGTW.js";import"../chunks/chunk.Y6MPWPZU.js";import"../chunks/chunk.QXLPBYMX.js";import"../chunks/chunk.PYG4YVBA.js";import"../chunks/chunk.QZHEP4X2.js";import"../chunks/chunk.LZMYHIO2.js";import"../chunks/chunk.D4SNVKDA.js";import"../chunks/chunk.YAJT3P6V.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.24D46RLZ.js";import"../chunks/chunk.7ZS4N2FT.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.KYCC3C3M.js";import"../chunks/chunk.GVQVA7P3.js";import"../chunks/chunk.MIYZJUXH.js";import"../chunks/chunk.A23NSEWA.js";import"../chunks/chunk.B3IJU6XJ.js";import"../chunks/chunk.BSZ2LBJX.js";import"../chunks/chunk.3E5QKMHL.js";import"../chunks/chunk.HN4PXH3D.js";import"../chunks/chunk.R4NDFXVA.js";import"../chunks/chunk.G76HB2FK.js";import"../chunks/chunk.MCIQXNKY.js";export{a as CHIP_FIELD_CONSTANTS,b as ChipFieldAdapter,d as ChipFieldComponent,e as ChipFieldComponentDelegate,c as ChipFieldFoundation,f as defineChipFieldComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as D}from"./chunk.DGOV5RDW.js";import{a as T}from"./chunk.NGIBMR3Q.js";import{c as L}from"./chunk.7NXPOEXV.js";import{a as c,d as H}from"./chunk.QJPH24V4.js";import{a as C}from"./chunk.EC6JSIQW.js";import{a as w}from"./chunk.BOENNFXE.js";import{a as S}from"./chunk.A23NSEWA.js";import{a as s}from"./chunk.B3IJU6XJ.js";import{a as x,b as B}from"./chunk.BSZ2LBJX.js";import{a as k,e as y,g}from"./chunk.HN4PXH3D.js";import{i as E,r as h,t as l}from"./chunk.R4NDFXVA.js";import{k as d}from"./chunk.G76HB2FK.js";import{a as v,b as _,f as a}from"./chunk.MCIQXNKY.js";var p=`${B}bottom-sheet`,A={DRAGGING:"forge-bottom-sheet--dragging",FULLSCREEN:"forge-bottom-sheet--fullscreen",OPEN:"forge-bottom-sheet--open",SCROLLABLE:"forge-bottom-sheet--scrollable"},O={BACKDROP_CLOSE:"backdrop-close",ESCAPE_CLOSE:"escape-close",FULLSCREEN:"fullscreen",INITIAL_FOCUS:`${p}-focus`,OPEN:`${p}-open`,SHOW_BACKDROP:"show-backdrop"},N={BACKDROP:c.elementName,CONTAINER:".forge-bottom-sheet",CONTENT_BODY:"[forge-bottom-sheet-body]",INITIAL_FOCUS:`[${O.INITIAL_FOCUS}]`,HOST:`[${p}-host]`},P={BEFORE_CLOSE:"forge-bottom-sheet-before-close",CLOSE:"forge-bottom-sheet-close",OPEN:"forge-bottom-sheet-open",READY:"forge-bottom-sheet-ready",DRAG_START:"forge-bottom-sheet-drag-start",DRAGGED:"forge-bottom-sheet-dragged",DRAG_END:"forge-bottom-sheet-drag-end",DRAG_CANCEL:"forge-bottom-sheet-drag-cancel",FULLSCREEN:"forge-bottom-sheet-fullscreen"},o={elementName:p,classes:A,selectors:N,attributes:O,events:P};var m=class extends S{constructor(e){super(e);this._backdropElement=g(e,o.selectors.BACKDROP),this._containerElement=g(e,o.selectors.CONTAINER)}initializeAccessibility(){this._component.hasAttribute("role")||(this._component.setAttribute("role","dialog"),this._component.setAttribute("aria-modal","true"))}setVisibility(e){l(this._containerElement,e,o.classes.OPEN)}attach(){(document.querySelector(o.selectors.HOST)||document.body).appendChild(this._component)}detach(){E(this._component)}registerTransitionEndHandler(e){this._containerElement.addEventListener("transitionend",e)}deregisterTransitionEndHandler(e){this._containerElement.removeEventListener("transitionend",e)}setBodyListener(e,i,r){document.body.addEventListener(e,i,r)}removeBodyListener(e,i){document.body.removeEventListener(e,i)}setDocumentListener(e,i){document.addEventListener(e,i)}removeDocumentListener(e,i){document.removeEventListener(e,i)}registerBackdropClickHandler(e){this._backdropElement.addEventListener(c.events.BACKDROP_CLICK,e)}deregisterBackdropClickHandler(e){this._backdropElement.removeEventListener(c.events.BACKDROP_CLICK,e)}getOpenBottomSheets(e){return document.querySelectorAll(e)}trySetInitialFocus(){let e=h(this._component,o.selectors.INITIAL_FOCUS);e&&e.length&&e[e.length-1].focus()}isScrollable(){let e=this._getContentElement();return e?e.scrollHeight>e.offsetHeight:!1}isContentChild(e){let i=this._getContentElement();return i?i.contains(e):!1}initScrollable(){let e=this.isScrollable();l(this._component,e,o.classes.SCROLLABLE),l(this._containerElement,e,o.classes.SCROLLABLE)}setDragging(e){l(this._containerElement,e,o.classes.DRAGGING),l(this._component,e,o.classes.DRAGGING)}setBackdropVisiblity(e){this._backdropElement.hidden=!e}setFullscreen(e){l(this._containerElement,e,o.classes.FULLSCREEN)}tryLayoutChildren(){let e=[w.elementName,D.elementName,L.elementName,T.elementName];Array.from(this._component.querySelectorAll(e.join(","))).filter(r=>typeof r.layout=="function").forEach(r=>r.layout())}setContainerHeight(e){if(e!=null){let i=Math.min(100,100*e/window.innerHeight);this._containerElement.style.maxHeight=`${i}%`}else this._containerElement.style.removeProperty("max-height")}getContainerBounds(){return this._containerElement.getBoundingClientRect()}setDragTargetHandler(e,i){this._containerElement.addEventListener(e,i)}removeDragTargetHandler(e,i){this._containerElement.removeEventListener(e,i)}setBodyScrollHandler(e){let i=this._getContentElement();i&&i.addEventListener("scroll",e)}_getContentElement(){let e=Array.from(h(this._component,o.selectors.CONTENT_BODY,!1));return e.length?e[0]:null}};var b=class{constructor(t){this._adapter=t;this._open=!1;this._backdropClose=!0;this._escapeClose=!0;this._fullscreen=!1;this._showBackdrop=!1;this._isDragging=!1;this._bodyScrollHandler=()=>this._onBodyScroll();this._dragStartHandler=t=>this._onDragStart(t);this._dragMoveHandler=t=>this._onDragMove(t);this._dragEndHandler=()=>this._onDragEnd();this._dragCancelHandler=()=>this._onDragCancel();this._openTransitionEndHandler=e=>this._onOpenTransitionEnd(),this._closeTransitionEndHandler=e=>this._onCloseTransitionEnd(),this._documentKeydownHandler=e=>this._onDocumentKeydown(e),this._backdropClickHandler=e=>this._onBackdropClick(e)}initialize(){this._adapter.initializeAccessibility()}destroy(){this._open&&(this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler),this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler))}_setOpen(t){this._open=t,this._open?this._openBottomSheet():this._closeBottomSheet(),this._adapter.toggleHostAttribute(o.attributes.OPEN,this._open)}_openBottomSheet(){this._adapter.attach(),this._adapter.setBodyAttribute(o.attributes.OPEN,"true"),this._adapter.registerTransitionEndHandler(this._openTransitionEndHandler),this._setDocumentKeydownListener(this._escapeClose),this._setBackdropClickListener(this._backdropClose),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{this._adapter.setVisibility(!0),this._adapter.emitHostEvent(o.events.OPEN),this._adapter.trySetInitialFocus(),this._adapter.initScrollable()})})}_closeBottomSheet(){this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler),this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler),this._adapter.registerTransitionEndHandler(this._closeTransitionEndHandler),this._adapter.setVisibility(!1)}_onCloseTransitionEnd(){this._adapter.emitHostEvent(o.events.CLOSE),this._adapter.detach(),this._adapter.getOpenBottomSheets(o.elementName).length||this._adapter.removeBodyAttribute(o.attributes.OPEN)}_onOpenTransitionEnd(){!this._open||(this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.emitHostEvent(o.events.READY),this._adapter.tryLayoutChildren(),this._adapter.isScrollable()&&this._initScrollableHandlers())}_onDocumentKeydown(t){t.stopPropagation(),t.key&&(t.key==="Escape"||t.key==="Esc")&&this._tryClose()}_onBackdropClick(t){t.stopPropagation(),this._tryClose()}async _tryClose(){if(!!this._adapter.emitHostEvent(o.events.BEFORE_CLOSE,void 0,void 0,!0)){if(!this._beforeCloseCallback){this.open=!1;return}try{if(await Promise.resolve(this._beforeCloseCallback())){this.open=!1;return}}catch(e){return}}}_setBackdropClickListener(t){!this._open||(t?this._adapter.registerBackdropClickHandler(this._backdropClickHandler):this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler))}_setDocumentKeydownListener(t){!this._open||(t?this._adapter.addDocumentListener("keydown",this._documentKeydownHandler):this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler))}set backdropClose(t){t=Boolean(t),this._backdropClose!==t&&(this._backdropClose=t,this._setBackdropClickListener(this._backdropClose),this._adapter.toggleHostAttribute(o.attributes.BACKDROP_CLOSE,this._backdropClose))}get backdropClose(){return this._backdropClose}set escapeClose(t){t=Boolean(t),this._escapeClose!==t&&(this._escapeClose=t,this._setDocumentKeydownListener(this._escapeClose),this._adapter.toggleHostAttribute(o.attributes.ESCAPE_CLOSE,this._escapeClose))}get escapeClose(){return this._escapeClose}get open(){return this._open}set open(t){if(this._open!==t&&(t=Boolean(t),t!==this._open)){let e=t?this._openCallback:this._closeCallback;e?Promise.resolve(e()).then(()=>{this._setOpen(t)}).catch(()=>{}):this._setOpen(t)}}get fullscreen(){return this._fullscreen}set fullscreen(t){this._fullscreen!==t&&(this._fullscreen=t,this._adapter.setFullscreen(this._fullscreen),this._adapter.toggleHostAttribute(o.attributes.FULLSCREEN,this._fullscreen))}get showBackdrop(){return this._showBackdrop}set showBackdrop(t){this._showBackdrop!==t&&(this._showBackdrop=t,this._adapter.setBackdropVisiblity(t),this._adapter.toggleHostAttribute(o.attributes.SHOW_BACKDROP,this._showBackdrop))}get openCallback(){return this._openCallback}set openCallback(t){this._openCallback=t}get closeCallback(){return this._closeCallback}set closeCallback(t){this._closeCallback=t}get beforeCloseCallback(){return this._beforeCloseCallback}set beforeCloseCallback(t){this._beforeCloseCallback=t}_initScrollableHandlers(){!this._fullscreen&&this._adapter.isScrollable()&&(this._adapter.setDragTargetHandler("mousedown",this._dragStartHandler),this._adapter.setDragTargetHandler("touchstart",this._dragStartHandler),this._adapter.setBodyScrollHandler(this._bodyScrollHandler))}_onBodyScroll(){!this._fullscreen&&!this._isDragging&&(this.fullscreen=!0,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen))}_onDragStart(t){if(this._fullscreen){let r=C(t);if(this._adapter.isScrollable()&&this._adapter.isContentChild(r[0]))return}t.stopPropagation();let e=this._adapter.getContainerBounds(),i=t instanceof MouseEvent?t.clientY:t.touches[0].clientY;this._dragContext={top:i-e.top,height:e.height},this._adapter.setBodyListener("mousemove",this._dragMoveHandler,{passive:!1}),this._adapter.setBodyListener("touchmove",this._dragMoveHandler,{passive:!1}),this._adapter.setBodyListener("mouseup",this._dragEndHandler),this._adapter.setBodyListener("touchend",this._dragEndHandler),this._adapter.setBodyListener("touchcancel",this._dragCancelHandler)}_onDragMove(t){if(t.stopPropagation(),t.preventDefault(),!this._dragContext)return;let e=t instanceof MouseEvent?t.clientY:t.touches[0].clientY,i={y:window.innerHeight-e+this._dragContext.top};if(!this._isDragging){if(this._isDragging=!0,!this._adapter.emitHostEvent(o.events.DRAG_START,i,!0,!0))return;this._adapter.setDragging(!0)}let r=this._fullscreen?i:{y:Math.max(i.y,this._dragContext.height)};(!this._lastPosition||r.y!==this._lastPosition.y)&&this._adapter.emitHostEvent(o.events.DRAGGED,r,!0,!0)&&(this._lastPosition=_(v({},r),{clientY:e}),this._adapter.setContainerHeight(r.y))}_onDragEnd(){if(this._lastPosition){let t=this._lastPosition.clientY,e=this._dragContext;e&&(this._fullscreen&&t>0?(this.fullscreen=!1,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen)):!this._fullscreen&&t<e.height+e.top&&(this.fullscreen=!0,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen)))}this._isDragging&&this._adapter.emitHostEvent(o.events.DRAG_END),this._dragComplete()}_onDragCancel(){this._isDragging&&this._adapter.emitHostEvent(o.events.DRAG_CANCEL),this._dragComplete()}_dragComplete(){this._adapter.setDragging(!1),this._adapter.removeBodyListener("mousemove",this._dragMoveHandler),this._adapter.removeBodyListener("touchmove",this._dragMoveHandler),this._adapter.removeBodyListener("mouseup",this._dragEndHandler),this._adapter.removeBodyListener("touchend",this._dragEndHandler),this._adapter.removeBodyListener("touchcancel",this._dragCancelHandler),this._adapter.setContainerHeight(null),this._lastPosition=void 0,this._dragContext=void 0,this._isDragging=!1}};var I='<template><forge-backdrop hidden part="backdrop"></forge-backdrop><div class="forge-bottom-sheet" part="root"><slot></slot></div></template>',R='.forge-icon-button{display:-webkit-inline-box;display:inline-flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;outline:0;background-color:transparent;fill:currentColor;color:inherit;font-size:24px;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:48px;height:48px;padding:12px}.forge-icon-button forge-icon,.forge-icon-button img,.forge-icon-button svg{width:24px;height:24px}.forge-icon-button:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-icon-button:disabled{cursor:default;pointer-events:none}.forge-icon-button__icon{display:inline-block}.forge-icon-button__icon.forge-icon-button__icon--on{display:none}.forge-icon-button--on .forge-icon-button__icon{display:none}.forge-icon-button--on .forge-icon-button__icon.forge-icon-button__icon--on{display:inline-block}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.forge-icon-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}.forge-icon-button::after,.forge-icon-button::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.forge-icon-button::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.forge-icon-button::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-icon-button.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-icon-button.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-icon-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-icon-button.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.forge-icon-button.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.forge-icon-button::after,.forge-icon-button::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.forge-icon-button.mdc-ripple-upgraded::after,.forge-icon-button.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-icon-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-icon-button::after,.forge-icon-button::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.forge-icon-button.mdc-ripple-surface--hover::before,.forge-icon-button:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-icon-button.mdc-ripple-upgraded--background-focused::before,.forge-icon-button:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-icon-button:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-icon-button:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}forge-icon-button{position:relative;display:inline-block;overflow:visible}.forge-icon-button--on{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-icon-button--on::after,.forge-icon-button--on::before{background-color:#3f51b5;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#3f51b5))}.forge-icon-button--on.mdc-ripple-surface--hover::before,.forge-icon-button--on:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-icon-button--on.mdc-ripple-upgraded--background-focused::before,.forge-icon-button--on:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-icon-button--on:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-icon-button--on:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-icon-button--on.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-icon-button--on::before{background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5);opacity:.08}.forge-icon-button--dense{width:28px;height:28px;padding:2px;padding:0}.forge-icon-button--dense-1{width:44px;height:44px;padding:10px}.forge-icon-button--dense-2{width:40px;height:40px;padding:8px}.forge-icon-button--dense-3{width:36px;height:36px;padding:6px}.forge-icon-button--dense-4{width:32px;height:32px;padding:4px}.forge-icon-button--dense-5{width:28px;height:28px;padding:2px}.forge-icon-button--dense-6{width:24px;height:24px;padding:0}.forge-icon-button--with-badge forge-badge{z-index:1;z-index:var(--forge-z-index-surface,1);pointer-events:none;--forge-badge-max-width:32px;--forge-badge-border:1px solid transparent}.forge-icon-button--with-badge forge-badge[app-bar-context]{--forge-badge-border:2px solid var(--forge-app-bar-theme-background)}.forge-bottom-sheet{background-color:#fff;background-color:var(--mdc-theme-surface,#fff);-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);border-radius:4px 4px 0 0;border-radius:var(--forge-bottom-sheet-border-radius,4px 4px 0 0);max-width:50%;max-width:var(--forge-bottom-sheet-desktop-max-width,50%);-webkit-box-sizing:border-box;box-sizing:border-box;position:fixed;bottom:0;right:0;left:0;max-height:50%;margin:0 auto;display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1),-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1)}@media (max-width:600px){.forge-bottom-sheet{max-width:100%;width:100%;margin:0;border-radius:0}}.forge-bottom-sheet--open{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition-duration:var(--forge-bottom-sheet-transition-duration, 250ms);transition-duration:var(--forge-bottom-sheet-transition-duration, 250ms)}.forge-bottom-sheet--fullscreen.forge-bottom-sheet--open{height:100%;max-height:100%;-webkit-transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in;transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in}.forge-bottom-sheet--dragging{-webkit-transition:none!important;transition:none!important}.forge-bottom-sheet--scrollable{height:100%}:host{z-index:8;z-index:var(--forge-z-index-dialog,8);position:fixed}:host forge-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;position:fixed}:host([hidden]){display:none}',n=class extends HTMLElement{constructor(){super();y(this,I,R),this._foundation=new b(new m(this))}static get observedAttributes(){return[o.attributes.BACKDROP_CLOSE,o.attributes.ESCAPE_CLOSE,o.attributes.OPEN,o.attributes.FULLSCREEN,o.attributes.SHOW_BACKDROP]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.destroy()}attributeChangedCallback(e,i,r){switch(e){case o.attributes.BACKDROP_CLOSE:this.backdropClose=d(r);break;case o.attributes.ESCAPE_CLOSE:this.escapeClose=d(r);break;case o.attributes.OPEN:this.open=d(r);break;case o.attributes.FULLSCREEN:this.fullscreen=d(r);break;case o.attributes.SHOW_BACKDROP:this.showBackdrop=d(r);break}}};a([s()],n.prototype,"backdropClose",2),a([s()],n.prototype,"escapeClose",2),a([s()],n.prototype,"open",2),a([s()],n.prototype,"fullscreen",2),a([s()],n.prototype,"showBackdrop",2),a([s()],n.prototype,"openCallback",2),a([s()],n.prototype,"closeCallback",2),a([s()],n.prototype,"beforeCloseCallback",2),n=a([x({name:o.elementName,dependencies:[H]})],n);function ue(){k(n)}export{o as a,m as b,b as c,n as d,ue as e};
|
|
7
|
-
//# sourceMappingURL=chunk.
|
|
6
|
+
import{a as D}from"./chunk.HUWXZ4ZN.js";import{a as T}from"./chunk.NGIBMR3Q.js";import{c as L}from"./chunk.7NXPOEXV.js";import{a as c,d as H}from"./chunk.QJPH24V4.js";import{a as C}from"./chunk.EC6JSIQW.js";import{a as w}from"./chunk.BOENNFXE.js";import{a as S}from"./chunk.A23NSEWA.js";import{a as s}from"./chunk.B3IJU6XJ.js";import{a as x,b as B}from"./chunk.BSZ2LBJX.js";import{a as k,e as y,g}from"./chunk.HN4PXH3D.js";import{i as E,r as h,t as l}from"./chunk.R4NDFXVA.js";import{k as d}from"./chunk.G76HB2FK.js";import{a as v,b as _,f as a}from"./chunk.MCIQXNKY.js";var p=`${B}bottom-sheet`,A={DRAGGING:"forge-bottom-sheet--dragging",FULLSCREEN:"forge-bottom-sheet--fullscreen",OPEN:"forge-bottom-sheet--open",SCROLLABLE:"forge-bottom-sheet--scrollable"},O={BACKDROP_CLOSE:"backdrop-close",ESCAPE_CLOSE:"escape-close",FULLSCREEN:"fullscreen",INITIAL_FOCUS:`${p}-focus`,OPEN:`${p}-open`,SHOW_BACKDROP:"show-backdrop"},N={BACKDROP:c.elementName,CONTAINER:".forge-bottom-sheet",CONTENT_BODY:"[forge-bottom-sheet-body]",INITIAL_FOCUS:`[${O.INITIAL_FOCUS}]`,HOST:`[${p}-host]`},P={BEFORE_CLOSE:"forge-bottom-sheet-before-close",CLOSE:"forge-bottom-sheet-close",OPEN:"forge-bottom-sheet-open",READY:"forge-bottom-sheet-ready",DRAG_START:"forge-bottom-sheet-drag-start",DRAGGED:"forge-bottom-sheet-dragged",DRAG_END:"forge-bottom-sheet-drag-end",DRAG_CANCEL:"forge-bottom-sheet-drag-cancel",FULLSCREEN:"forge-bottom-sheet-fullscreen"},o={elementName:p,classes:A,selectors:N,attributes:O,events:P};var m=class extends S{constructor(e){super(e);this._backdropElement=g(e,o.selectors.BACKDROP),this._containerElement=g(e,o.selectors.CONTAINER)}initializeAccessibility(){this._component.hasAttribute("role")||(this._component.setAttribute("role","dialog"),this._component.setAttribute("aria-modal","true"))}setVisibility(e){l(this._containerElement,e,o.classes.OPEN)}attach(){(document.querySelector(o.selectors.HOST)||document.body).appendChild(this._component)}detach(){E(this._component)}registerTransitionEndHandler(e){this._containerElement.addEventListener("transitionend",e)}deregisterTransitionEndHandler(e){this._containerElement.removeEventListener("transitionend",e)}setBodyListener(e,i,r){document.body.addEventListener(e,i,r)}removeBodyListener(e,i){document.body.removeEventListener(e,i)}setDocumentListener(e,i){document.addEventListener(e,i)}removeDocumentListener(e,i){document.removeEventListener(e,i)}registerBackdropClickHandler(e){this._backdropElement.addEventListener(c.events.BACKDROP_CLICK,e)}deregisterBackdropClickHandler(e){this._backdropElement.removeEventListener(c.events.BACKDROP_CLICK,e)}getOpenBottomSheets(e){return document.querySelectorAll(e)}trySetInitialFocus(){let e=h(this._component,o.selectors.INITIAL_FOCUS);e&&e.length&&e[e.length-1].focus()}isScrollable(){let e=this._getContentElement();return e?e.scrollHeight>e.offsetHeight:!1}isContentChild(e){let i=this._getContentElement();return i?i.contains(e):!1}initScrollable(){let e=this.isScrollable();l(this._component,e,o.classes.SCROLLABLE),l(this._containerElement,e,o.classes.SCROLLABLE)}setDragging(e){l(this._containerElement,e,o.classes.DRAGGING),l(this._component,e,o.classes.DRAGGING)}setBackdropVisiblity(e){this._backdropElement.hidden=!e}setFullscreen(e){l(this._containerElement,e,o.classes.FULLSCREEN)}tryLayoutChildren(){let e=[w.elementName,D.elementName,L.elementName,T.elementName];Array.from(this._component.querySelectorAll(e.join(","))).filter(r=>typeof r.layout=="function").forEach(r=>r.layout())}setContainerHeight(e){if(e!=null){let i=Math.min(100,100*e/window.innerHeight);this._containerElement.style.maxHeight=`${i}%`}else this._containerElement.style.removeProperty("max-height")}getContainerBounds(){return this._containerElement.getBoundingClientRect()}setDragTargetHandler(e,i){this._containerElement.addEventListener(e,i)}removeDragTargetHandler(e,i){this._containerElement.removeEventListener(e,i)}setBodyScrollHandler(e){let i=this._getContentElement();i&&i.addEventListener("scroll",e)}_getContentElement(){let e=Array.from(h(this._component,o.selectors.CONTENT_BODY,!1));return e.length?e[0]:null}};var b=class{constructor(t){this._adapter=t;this._open=!1;this._backdropClose=!0;this._escapeClose=!0;this._fullscreen=!1;this._showBackdrop=!1;this._isDragging=!1;this._bodyScrollHandler=()=>this._onBodyScroll();this._dragStartHandler=t=>this._onDragStart(t);this._dragMoveHandler=t=>this._onDragMove(t);this._dragEndHandler=()=>this._onDragEnd();this._dragCancelHandler=()=>this._onDragCancel();this._openTransitionEndHandler=e=>this._onOpenTransitionEnd(),this._closeTransitionEndHandler=e=>this._onCloseTransitionEnd(),this._documentKeydownHandler=e=>this._onDocumentKeydown(e),this._backdropClickHandler=e=>this._onBackdropClick(e)}initialize(){this._adapter.initializeAccessibility()}destroy(){this._open&&(this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler),this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler))}_setOpen(t){this._open=t,this._open?this._openBottomSheet():this._closeBottomSheet(),this._adapter.toggleHostAttribute(o.attributes.OPEN,this._open)}_openBottomSheet(){this._adapter.attach(),this._adapter.setBodyAttribute(o.attributes.OPEN,"true"),this._adapter.registerTransitionEndHandler(this._openTransitionEndHandler),this._setDocumentKeydownListener(this._escapeClose),this._setBackdropClickListener(this._backdropClose),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{this._adapter.setVisibility(!0),this._adapter.emitHostEvent(o.events.OPEN),this._adapter.trySetInitialFocus(),this._adapter.initScrollable()})})}_closeBottomSheet(){this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler),this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler),this._adapter.registerTransitionEndHandler(this._closeTransitionEndHandler),this._adapter.setVisibility(!1)}_onCloseTransitionEnd(){this._adapter.emitHostEvent(o.events.CLOSE),this._adapter.detach(),this._adapter.getOpenBottomSheets(o.elementName).length||this._adapter.removeBodyAttribute(o.attributes.OPEN)}_onOpenTransitionEnd(){!this._open||(this._adapter.deregisterTransitionEndHandler(this._openTransitionEndHandler),this._adapter.emitHostEvent(o.events.READY),this._adapter.tryLayoutChildren(),this._adapter.isScrollable()&&this._initScrollableHandlers())}_onDocumentKeydown(t){t.stopPropagation(),t.key&&(t.key==="Escape"||t.key==="Esc")&&this._tryClose()}_onBackdropClick(t){t.stopPropagation(),this._tryClose()}async _tryClose(){if(!!this._adapter.emitHostEvent(o.events.BEFORE_CLOSE,void 0,void 0,!0)){if(!this._beforeCloseCallback){this.open=!1;return}try{if(await Promise.resolve(this._beforeCloseCallback())){this.open=!1;return}}catch(e){return}}}_setBackdropClickListener(t){!this._open||(t?this._adapter.registerBackdropClickHandler(this._backdropClickHandler):this._adapter.deregisterBackdropClickHandler(this._backdropClickHandler))}_setDocumentKeydownListener(t){!this._open||(t?this._adapter.addDocumentListener("keydown",this._documentKeydownHandler):this._adapter.removeDocumentListener("keydown",this._documentKeydownHandler))}set backdropClose(t){t=Boolean(t),this._backdropClose!==t&&(this._backdropClose=t,this._setBackdropClickListener(this._backdropClose),this._adapter.toggleHostAttribute(o.attributes.BACKDROP_CLOSE,this._backdropClose))}get backdropClose(){return this._backdropClose}set escapeClose(t){t=Boolean(t),this._escapeClose!==t&&(this._escapeClose=t,this._setDocumentKeydownListener(this._escapeClose),this._adapter.toggleHostAttribute(o.attributes.ESCAPE_CLOSE,this._escapeClose))}get escapeClose(){return this._escapeClose}get open(){return this._open}set open(t){if(this._open!==t&&(t=Boolean(t),t!==this._open)){let e=t?this._openCallback:this._closeCallback;e?Promise.resolve(e()).then(()=>{this._setOpen(t)}).catch(()=>{}):this._setOpen(t)}}get fullscreen(){return this._fullscreen}set fullscreen(t){this._fullscreen!==t&&(this._fullscreen=t,this._adapter.setFullscreen(this._fullscreen),this._adapter.toggleHostAttribute(o.attributes.FULLSCREEN,this._fullscreen))}get showBackdrop(){return this._showBackdrop}set showBackdrop(t){this._showBackdrop!==t&&(this._showBackdrop=t,this._adapter.setBackdropVisiblity(t),this._adapter.toggleHostAttribute(o.attributes.SHOW_BACKDROP,this._showBackdrop))}get openCallback(){return this._openCallback}set openCallback(t){this._openCallback=t}get closeCallback(){return this._closeCallback}set closeCallback(t){this._closeCallback=t}get beforeCloseCallback(){return this._beforeCloseCallback}set beforeCloseCallback(t){this._beforeCloseCallback=t}_initScrollableHandlers(){!this._fullscreen&&this._adapter.isScrollable()&&(this._adapter.setDragTargetHandler("mousedown",this._dragStartHandler),this._adapter.setDragTargetHandler("touchstart",this._dragStartHandler),this._adapter.setBodyScrollHandler(this._bodyScrollHandler))}_onBodyScroll(){!this._fullscreen&&!this._isDragging&&(this.fullscreen=!0,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen))}_onDragStart(t){if(this._fullscreen){let r=C(t);if(this._adapter.isScrollable()&&this._adapter.isContentChild(r[0]))return}t.stopPropagation();let e=this._adapter.getContainerBounds(),i=t instanceof MouseEvent?t.clientY:t.touches[0].clientY;this._dragContext={top:i-e.top,height:e.height},this._adapter.setBodyListener("mousemove",this._dragMoveHandler,{passive:!1}),this._adapter.setBodyListener("touchmove",this._dragMoveHandler,{passive:!1}),this._adapter.setBodyListener("mouseup",this._dragEndHandler),this._adapter.setBodyListener("touchend",this._dragEndHandler),this._adapter.setBodyListener("touchcancel",this._dragCancelHandler)}_onDragMove(t){if(t.stopPropagation(),t.preventDefault(),!this._dragContext)return;let e=t instanceof MouseEvent?t.clientY:t.touches[0].clientY,i={y:window.innerHeight-e+this._dragContext.top};if(!this._isDragging){if(this._isDragging=!0,!this._adapter.emitHostEvent(o.events.DRAG_START,i,!0,!0))return;this._adapter.setDragging(!0)}let r=this._fullscreen?i:{y:Math.max(i.y,this._dragContext.height)};(!this._lastPosition||r.y!==this._lastPosition.y)&&this._adapter.emitHostEvent(o.events.DRAGGED,r,!0,!0)&&(this._lastPosition=_(v({},r),{clientY:e}),this._adapter.setContainerHeight(r.y))}_onDragEnd(){if(this._lastPosition){let t=this._lastPosition.clientY,e=this._dragContext;e&&(this._fullscreen&&t>0?(this.fullscreen=!1,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen)):!this._fullscreen&&t<e.height+e.top&&(this.fullscreen=!0,this._adapter.emitHostEvent(o.events.FULLSCREEN,this._fullscreen)))}this._isDragging&&this._adapter.emitHostEvent(o.events.DRAG_END),this._dragComplete()}_onDragCancel(){this._isDragging&&this._adapter.emitHostEvent(o.events.DRAG_CANCEL),this._dragComplete()}_dragComplete(){this._adapter.setDragging(!1),this._adapter.removeBodyListener("mousemove",this._dragMoveHandler),this._adapter.removeBodyListener("touchmove",this._dragMoveHandler),this._adapter.removeBodyListener("mouseup",this._dragEndHandler),this._adapter.removeBodyListener("touchend",this._dragEndHandler),this._adapter.removeBodyListener("touchcancel",this._dragCancelHandler),this._adapter.setContainerHeight(null),this._lastPosition=void 0,this._dragContext=void 0,this._isDragging=!1}};var I='<template><forge-backdrop hidden part="backdrop"></forge-backdrop><div class="forge-bottom-sheet" part="root"><slot></slot></div></template>',R='.forge-icon-button{display:-webkit-inline-box;display:inline-flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;outline:0;background-color:transparent;fill:currentColor;color:inherit;font-size:24px;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:48px;height:48px;padding:12px}.forge-icon-button forge-icon,.forge-icon-button img,.forge-icon-button svg{width:24px;height:24px}.forge-icon-button:disabled{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38))}.forge-icon-button:disabled{cursor:default;pointer-events:none}.forge-icon-button__icon{display:inline-block}.forge-icon-button__icon.forge-icon-button__icon--on{display:none}.forge-icon-button--on .forge-icon-button__icon{display:none}.forge-icon-button--on .forge-icon-button__icon.forge-icon-button__icon--on{display:inline-block}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.forge-icon-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}.forge-icon-button::after,.forge-icon-button::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.forge-icon-button::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.forge-icon-button::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-icon-button.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-icon-button.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-icon-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-icon-button.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.forge-icon-button.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.forge-icon-button::after,.forge-icon-button::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.forge-icon-button.mdc-ripple-upgraded::after,.forge-icon-button.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-icon-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-icon-button::after,.forge-icon-button::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.forge-icon-button.mdc-ripple-surface--hover::before,.forge-icon-button:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-icon-button.mdc-ripple-upgraded--background-focused::before,.forge-icon-button:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-icon-button:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-icon-button:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}forge-icon-button{position:relative;display:inline-block;overflow:visible}.forge-icon-button--on{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-icon-button--on::after,.forge-icon-button--on::before{background-color:#3f51b5;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#3f51b5))}.forge-icon-button--on.mdc-ripple-surface--hover::before,.forge-icon-button--on:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-icon-button--on.mdc-ripple-upgraded--background-focused::before,.forge-icon-button--on:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-icon-button--on:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-icon-button--on:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-icon-button--on.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-icon-button--on::before{background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5);opacity:.08}.forge-icon-button--dense{width:28px;height:28px;padding:2px;padding:0}.forge-icon-button--dense-1{width:44px;height:44px;padding:10px}.forge-icon-button--dense-2{width:40px;height:40px;padding:8px}.forge-icon-button--dense-3{width:36px;height:36px;padding:6px}.forge-icon-button--dense-4{width:32px;height:32px;padding:4px}.forge-icon-button--dense-5{width:28px;height:28px;padding:2px}.forge-icon-button--dense-6{width:24px;height:24px;padding:0}.forge-icon-button--with-badge forge-badge{z-index:1;z-index:var(--forge-z-index-surface,1);pointer-events:none;--forge-badge-max-width:32px;--forge-badge-border:1px solid transparent}.forge-icon-button--with-badge forge-badge[app-bar-context]{--forge-badge-border:2px solid var(--forge-app-bar-theme-background)}.forge-bottom-sheet{background-color:#fff;background-color:var(--mdc-theme-surface,#fff);-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);border-radius:4px 4px 0 0;border-radius:var(--forge-bottom-sheet-border-radius,4px 4px 0 0);max-width:50%;max-width:var(--forge-bottom-sheet-desktop-max-width,50%);-webkit-box-sizing:border-box;box-sizing:border-box;position:fixed;bottom:0;right:0;left:0;max-height:50%;margin:0 auto;display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1);transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in,transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1),-webkit-transform var(--forge-bottom-sheet-transition-duration-close, 200ms) cubic-bezier(.4, 0, .2, 1)}@media (max-width:600px){.forge-bottom-sheet{max-width:100%;width:100%;margin:0;border-radius:0}}.forge-bottom-sheet--open{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition-duration:var(--forge-bottom-sheet-transition-duration, 250ms);transition-duration:var(--forge-bottom-sheet-transition-duration, 250ms)}.forge-bottom-sheet--fullscreen.forge-bottom-sheet--open{height:100%;max-height:100%;-webkit-transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in;transition:max-height var(--forge-bottom-sheet-transition-duration, 250ms) ease-in}.forge-bottom-sheet--dragging{-webkit-transition:none!important;transition:none!important}.forge-bottom-sheet--scrollable{height:100%}:host{z-index:8;z-index:var(--forge-z-index-dialog,8);position:fixed}:host forge-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;position:fixed}:host([hidden]){display:none}',n=class extends HTMLElement{constructor(){super();y(this,I,R),this._foundation=new b(new m(this))}static get observedAttributes(){return[o.attributes.BACKDROP_CLOSE,o.attributes.ESCAPE_CLOSE,o.attributes.OPEN,o.attributes.FULLSCREEN,o.attributes.SHOW_BACKDROP]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.destroy()}attributeChangedCallback(e,i,r){switch(e){case o.attributes.BACKDROP_CLOSE:this.backdropClose=d(r);break;case o.attributes.ESCAPE_CLOSE:this.escapeClose=d(r);break;case o.attributes.OPEN:this.open=d(r);break;case o.attributes.FULLSCREEN:this.fullscreen=d(r);break;case o.attributes.SHOW_BACKDROP:this.showBackdrop=d(r);break}}};a([s()],n.prototype,"backdropClose",2),a([s()],n.prototype,"escapeClose",2),a([s()],n.prototype,"open",2),a([s()],n.prototype,"fullscreen",2),a([s()],n.prototype,"showBackdrop",2),a([s()],n.prototype,"openCallback",2),a([s()],n.prototype,"closeCallback",2),a([s()],n.prototype,"beforeCloseCallback",2),n=a([x({name:o.elementName,dependencies:[H]})],n);function ue(){k(n)}export{o as a,m as b,b as c,n as d,ue as e};
|
|
7
|
+
//# sourceMappingURL=chunk.6QMDYUVT.js.map
|
|
File without changes
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as o}from"./chunk.
|
|
7
|
-
//# sourceMappingURL=chunk.
|
|
6
|
+
import{a as o}from"./chunk.75KFBRF6.js";import{a as n}from"./chunk.24D46RLZ.js";var l=class extends n{constructor(e){super(e)}_build(){return document.createElement(o.elementName)}_configure(){var e;typeof((e=this._config.options)==null?void 0:e.helperText)=="string"&&this.setHelperText(this._config.options.helperText)}get value(){return this._element.value}set value(e){this._element.value=e}get disabled(){return this._element.disabled}set disabled(e){this._element.disabled=e}get invalid(){return this._element.invalid||!1}set invalid(e){this._element.invalid=e}onChange(e){this._element.addEventListener("change",t=>e(t.detail))}onFocus(e){this._element.addEventListener("focus",t=>e(t))}onBlur(e){this._element.addEventListener("blur",t=>e(t))}setHelperText(e){e?(this._helperTextElement||(this._helperTextElement=document.createElement("span"),this._helperTextElement.slot="helper-text",this._element.appendChild(this._helperTextElement)),this._helperTextElement.textContent=e):this._helperTextElement&&this._helperTextElement.isConnected&&(this._element.removeChild(this._helperTextElement),this._helperTextElement=void 0)}};export{l as a};
|
|
7
|
+
//# sourceMappingURL=chunk.6SGRP4FO.js.map
|
|
File without changes
|