@tylertech/forge 3.4.2 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1157 -132
- package/dist/label-value/forge-label-value.css +2 -0
- package/dist/lib.js +174 -1
- package/dist/lib.js.map +4 -4
- package/dist/list/forge-list.css +1 -0
- package/dist/vscode.css-custom-data.json +156 -0
- package/dist/vscode.html-custom-data.json +142 -0
- package/esm/app-bar/search/app-bar-search.js +1 -1
- package/esm/autocomplete/autocomplete-core.js +4 -2
- package/esm/autocomplete/autocomplete.js +1 -5
- package/esm/button-toggle/button-toggle/button-toggle-core.js +0 -1
- package/esm/chips/chip/chip.js +1 -1
- package/esm/core/utils/a11y-utils.d.ts +20 -1
- package/esm/core/utils/a11y-utils.js +26 -1
- package/esm/file-picker/file-picker-adapter.d.ts +2 -0
- package/esm/file-picker/file-picker-adapter.js +6 -0
- package/esm/file-picker/file-picker-core.js +1 -0
- package/esm/icon-button/icon-button.js +1 -1
- package/esm/index.d.ts +5 -0
- package/esm/index.js +154 -150
- package/esm/key/index.d.ts +7 -0
- package/esm/key/index.js +7 -0
- package/esm/key/key/index.d.ts +7 -0
- package/esm/key/key/index.js +11 -0
- package/esm/key/key/key.d.ts +30 -0
- package/esm/key/key/key.js +43 -0
- package/esm/key/key-item/index.d.ts +7 -0
- package/esm/key/key-item/index.js +11 -0
- package/esm/key/key-item/key-item.d.ts +47 -0
- package/esm/key/key-item/key-item.js +86 -0
- package/esm/label-value/label-value.js +1 -1
- package/esm/list/list-item/list-item.js +1 -1
- package/esm/list-dropdown/list-dropdown-aware.d.ts +1 -0
- package/esm/list-dropdown/list-dropdown-aware.js +11 -0
- package/esm/meter/index.d.ts +7 -0
- package/esm/meter/index.js +7 -0
- package/esm/meter/meter/index.d.ts +7 -0
- package/esm/meter/meter/index.js +11 -0
- package/esm/meter/meter/meter.d.ts +187 -0
- package/esm/meter/meter/meter.js +359 -0
- package/esm/meter/meter-group/index.d.ts +7 -0
- package/esm/meter/meter-group/index.js +11 -0
- package/esm/meter/meter-group/meter-group.d.ts +108 -0
- package/esm/meter/meter-group/meter-group.js +198 -0
- package/esm/select/select/select.d.ts +3 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/package.json +2 -1
- package/sass/core/styles/tokens/app-bar/search/_tokens.scss +1 -1
- package/sass/core/styles/tokens/key/key/_tokens.scss +17 -0
- package/sass/core/styles/tokens/key/key-item/_tokens.scss +22 -0
- package/sass/core/styles/tokens/meter/meter/_tokens.scss +30 -0
- package/sass/core/styles/tokens/meter/meter-group/_tokens.scss +26 -0
- package/sass/core/styles/typography/index.scss +1 -1
- package/sass/icon-button/icon-button.scss +20 -1
- package/sass/key/key/_core.scss +20 -0
- package/sass/key/key/_token-utils.scss +30 -0
- package/sass/key/key/index.scss +6 -0
- package/sass/key/key/key.scss +26 -0
- package/sass/key/key-item/_core.scss +69 -0
- package/sass/key/key-item/_token-utils.scss +30 -0
- package/sass/key/key-item/index.scss +6 -0
- package/sass/key/key-item/key-item.scss +60 -0
- package/sass/label-value/_core.scss +2 -0
- package/sass/list/list-item/_core.scss +3 -0
- package/sass/meter/meter/_core.scss +206 -0
- package/sass/meter/meter/_token-utils.scss +30 -0
- package/sass/meter/meter/index.scss +6 -0
- package/sass/meter/meter/meter.scss +218 -0
- package/sass/meter/meter-group/_core.scss +83 -0
- package/sass/meter/meter-group/_token-utils.scss +30 -0
- package/sass/meter/meter-group/index.scss +6 -0
- package/sass/meter/meter-group/meter-group.scss +111 -0
package/custom-elements.json
CHANGED
|
@@ -1990,20 +1990,6 @@
|
|
|
1990
1990
|
"module": "src/lib/button/base/base-button.ts"
|
|
1991
1991
|
}
|
|
1992
1992
|
},
|
|
1993
|
-
{
|
|
1994
|
-
"kind": "field",
|
|
1995
|
-
"name": "form",
|
|
1996
|
-
"type": {
|
|
1997
|
-
"text": "HTMLFormElement | null"
|
|
1998
|
-
},
|
|
1999
|
-
"privacy": "public",
|
|
2000
|
-
"readonly": true,
|
|
2001
|
-
"description": "The form reference of the button if within a `<form>` element.",
|
|
2002
|
-
"inheritedFrom": {
|
|
2003
|
-
"name": "BaseButton",
|
|
2004
|
-
"module": "src/lib/button/base/base-button.ts"
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
1993
|
{
|
|
2008
1994
|
"kind": "method",
|
|
2009
1995
|
"name": "click",
|
|
@@ -8774,19 +8760,6 @@
|
|
|
8774
8760
|
"description": "Sets the elevation of the button.",
|
|
8775
8761
|
"default": "\"raised\""
|
|
8776
8762
|
},
|
|
8777
|
-
{
|
|
8778
|
-
"kind": "field",
|
|
8779
|
-
"name": "form",
|
|
8780
|
-
"type": {
|
|
8781
|
-
"text": "HTMLFormElement | null"
|
|
8782
|
-
},
|
|
8783
|
-
"privacy": "public",
|
|
8784
|
-
"readonly": true,
|
|
8785
|
-
"inheritedFrom": {
|
|
8786
|
-
"name": "BaseButton",
|
|
8787
|
-
"module": "src/lib/button/base/base-button.ts"
|
|
8788
|
-
}
|
|
8789
|
-
},
|
|
8790
8763
|
{
|
|
8791
8764
|
"kind": "field",
|
|
8792
8765
|
"name": "name",
|
|
@@ -10229,20 +10202,6 @@
|
|
|
10229
10202
|
"module": "src/lib/button/base/base-button.ts"
|
|
10230
10203
|
}
|
|
10231
10204
|
},
|
|
10232
|
-
{
|
|
10233
|
-
"kind": "field",
|
|
10234
|
-
"name": "form",
|
|
10235
|
-
"type": {
|
|
10236
|
-
"text": "HTMLFormElement | null"
|
|
10237
|
-
},
|
|
10238
|
-
"privacy": "public",
|
|
10239
|
-
"readonly": true,
|
|
10240
|
-
"description": "The form reference of the button if within a `<form>` element.",
|
|
10241
|
-
"inheritedFrom": {
|
|
10242
|
-
"name": "BaseButton",
|
|
10243
|
-
"module": "src/lib/button/base/base-button.ts"
|
|
10244
|
-
}
|
|
10245
|
-
},
|
|
10246
10205
|
{
|
|
10247
10206
|
"kind": "method",
|
|
10248
10207
|
"name": "click",
|
|
@@ -15222,24 +15181,6 @@
|
|
|
15222
15181
|
}
|
|
15223
15182
|
],
|
|
15224
15183
|
"members": [
|
|
15225
|
-
{
|
|
15226
|
-
"kind": "field",
|
|
15227
|
-
"name": "form",
|
|
15228
|
-
"type": {
|
|
15229
|
-
"text": "HTMLFormElement | null"
|
|
15230
|
-
},
|
|
15231
|
-
"privacy": "public",
|
|
15232
|
-
"readonly": true
|
|
15233
|
-
},
|
|
15234
|
-
{
|
|
15235
|
-
"kind": "field",
|
|
15236
|
-
"name": "labels",
|
|
15237
|
-
"type": {
|
|
15238
|
-
"text": "NodeList"
|
|
15239
|
-
},
|
|
15240
|
-
"privacy": "public",
|
|
15241
|
-
"readonly": true
|
|
15242
|
-
},
|
|
15243
15184
|
{
|
|
15244
15185
|
"kind": "field",
|
|
15245
15186
|
"name": "name",
|
|
@@ -21400,15 +21341,6 @@
|
|
|
21400
21341
|
"description": "",
|
|
21401
21342
|
"name": "BaseButton",
|
|
21402
21343
|
"members": [
|
|
21403
|
-
{
|
|
21404
|
-
"kind": "field",
|
|
21405
|
-
"name": "form",
|
|
21406
|
-
"type": {
|
|
21407
|
-
"text": "HTMLFormElement | null"
|
|
21408
|
-
},
|
|
21409
|
-
"privacy": "public",
|
|
21410
|
-
"readonly": true
|
|
21411
|
-
},
|
|
21412
21344
|
{
|
|
21413
21345
|
"kind": "field",
|
|
21414
21346
|
"name": "name",
|
|
@@ -25924,6 +25856,190 @@
|
|
|
25924
25856
|
}
|
|
25925
25857
|
]
|
|
25926
25858
|
},
|
|
25859
|
+
{
|
|
25860
|
+
"kind": "javascript-module",
|
|
25861
|
+
"path": "src/lib/key/key/key.ts",
|
|
25862
|
+
"declarations": [
|
|
25863
|
+
{
|
|
25864
|
+
"kind": "class",
|
|
25865
|
+
"description": "",
|
|
25866
|
+
"name": "KeyComponent",
|
|
25867
|
+
"cssProperties": [
|
|
25868
|
+
{
|
|
25869
|
+
"description": "The spacing between key items.",
|
|
25870
|
+
"name": "--forge-key-gap"
|
|
25871
|
+
},
|
|
25872
|
+
{
|
|
25873
|
+
"description": "The direction that items are laid out in the key.",
|
|
25874
|
+
"name": "--forge-key-direction"
|
|
25875
|
+
}
|
|
25876
|
+
],
|
|
25877
|
+
"cssParts": [
|
|
25878
|
+
{
|
|
25879
|
+
"description": "The root element.",
|
|
25880
|
+
"name": "root"
|
|
25881
|
+
}
|
|
25882
|
+
],
|
|
25883
|
+
"slots": [
|
|
25884
|
+
{
|
|
25885
|
+
"description": "The default slot for key items.",
|
|
25886
|
+
"name": ""
|
|
25887
|
+
}
|
|
25888
|
+
],
|
|
25889
|
+
"members": [],
|
|
25890
|
+
"superclass": {
|
|
25891
|
+
"name": "LitElement",
|
|
25892
|
+
"package": "lit"
|
|
25893
|
+
},
|
|
25894
|
+
"tagName": "forge-key",
|
|
25895
|
+
"summary": "Keys present key items to label a chart or data visualization.",
|
|
25896
|
+
"customElement": true
|
|
25897
|
+
}
|
|
25898
|
+
],
|
|
25899
|
+
"exports": [
|
|
25900
|
+
{
|
|
25901
|
+
"kind": "js",
|
|
25902
|
+
"name": "KeyComponent",
|
|
25903
|
+
"declaration": {
|
|
25904
|
+
"name": "KeyComponent",
|
|
25905
|
+
"module": "src/lib/key/key/key.ts"
|
|
25906
|
+
}
|
|
25907
|
+
}
|
|
25908
|
+
]
|
|
25909
|
+
},
|
|
25910
|
+
{
|
|
25911
|
+
"kind": "javascript-module",
|
|
25912
|
+
"path": "src/lib/key/key-item/key-item.ts",
|
|
25913
|
+
"declarations": [
|
|
25914
|
+
{
|
|
25915
|
+
"kind": "class",
|
|
25916
|
+
"description": "",
|
|
25917
|
+
"name": "KeyItemComponent",
|
|
25918
|
+
"cssProperties": [
|
|
25919
|
+
{
|
|
25920
|
+
"description": "The color of the icon.",
|
|
25921
|
+
"name": "--forge-key-item-icon-color"
|
|
25922
|
+
},
|
|
25923
|
+
{
|
|
25924
|
+
"description": "The color of the label.",
|
|
25925
|
+
"name": "--forge-key-item-label-color"
|
|
25926
|
+
},
|
|
25927
|
+
{
|
|
25928
|
+
"description": "The color of the value.",
|
|
25929
|
+
"name": "--forge-key-item-value-color"
|
|
25930
|
+
},
|
|
25931
|
+
{
|
|
25932
|
+
"description": "The spacing between the icon and label.",
|
|
25933
|
+
"name": "--forge-key-item-gap"
|
|
25934
|
+
},
|
|
25935
|
+
{
|
|
25936
|
+
"description": "The size of the icon.",
|
|
25937
|
+
"name": "--forge-key-item-icon-size"
|
|
25938
|
+
}
|
|
25939
|
+
],
|
|
25940
|
+
"cssParts": [
|
|
25941
|
+
{
|
|
25942
|
+
"description": "The root element.",
|
|
25943
|
+
"name": "root"
|
|
25944
|
+
},
|
|
25945
|
+
{
|
|
25946
|
+
"description": "The icon element.",
|
|
25947
|
+
"name": "icon"
|
|
25948
|
+
},
|
|
25949
|
+
{
|
|
25950
|
+
"description": "The label element.",
|
|
25951
|
+
"name": "label"
|
|
25952
|
+
},
|
|
25953
|
+
{
|
|
25954
|
+
"description": "The value element.",
|
|
25955
|
+
"name": "value"
|
|
25956
|
+
}
|
|
25957
|
+
],
|
|
25958
|
+
"slots": [
|
|
25959
|
+
{
|
|
25960
|
+
"description": "The default slot for the label.",
|
|
25961
|
+
"name": ""
|
|
25962
|
+
},
|
|
25963
|
+
{
|
|
25964
|
+
"description": "The icon to display.",
|
|
25965
|
+
"name": "icon"
|
|
25966
|
+
},
|
|
25967
|
+
{
|
|
25968
|
+
"description": "The value to display.",
|
|
25969
|
+
"name": "value"
|
|
25970
|
+
}
|
|
25971
|
+
],
|
|
25972
|
+
"members": [
|
|
25973
|
+
{
|
|
25974
|
+
"kind": "field",
|
|
25975
|
+
"name": "inline",
|
|
25976
|
+
"type": {
|
|
25977
|
+
"text": "boolean"
|
|
25978
|
+
},
|
|
25979
|
+
"privacy": "public",
|
|
25980
|
+
"default": "false",
|
|
25981
|
+
"description": "Whether the label and value dislay on one line.",
|
|
25982
|
+
"attribute": "inline"
|
|
25983
|
+
},
|
|
25984
|
+
{
|
|
25985
|
+
"kind": "field",
|
|
25986
|
+
"name": "_hasValue",
|
|
25987
|
+
"type": {
|
|
25988
|
+
"text": "boolean"
|
|
25989
|
+
},
|
|
25990
|
+
"privacy": "private",
|
|
25991
|
+
"default": "false"
|
|
25992
|
+
},
|
|
25993
|
+
{
|
|
25994
|
+
"kind": "field",
|
|
25995
|
+
"name": "_valueNodes",
|
|
25996
|
+
"type": {
|
|
25997
|
+
"text": "Node[]"
|
|
25998
|
+
},
|
|
25999
|
+
"privacy": "private"
|
|
26000
|
+
},
|
|
26001
|
+
{
|
|
26002
|
+
"kind": "method",
|
|
26003
|
+
"name": "_handleSlotChange",
|
|
26004
|
+
"privacy": "private",
|
|
26005
|
+
"return": {
|
|
26006
|
+
"type": {
|
|
26007
|
+
"text": "void"
|
|
26008
|
+
}
|
|
26009
|
+
}
|
|
26010
|
+
}
|
|
26011
|
+
],
|
|
26012
|
+
"attributes": [
|
|
26013
|
+
{
|
|
26014
|
+
"name": "inline",
|
|
26015
|
+
"type": {
|
|
26016
|
+
"text": "boolean"
|
|
26017
|
+
},
|
|
26018
|
+
"default": "false",
|
|
26019
|
+
"description": "Whether the label and value dislay on one line.",
|
|
26020
|
+
"fieldName": "inline"
|
|
26021
|
+
}
|
|
26022
|
+
],
|
|
26023
|
+
"superclass": {
|
|
26024
|
+
"name": "LitElement",
|
|
26025
|
+
"package": "lit"
|
|
26026
|
+
},
|
|
26027
|
+
"tagName": "forge-key-item",
|
|
26028
|
+
"summary": "Key items label a chart or data visualization.",
|
|
26029
|
+
"customElement": true
|
|
26030
|
+
}
|
|
26031
|
+
],
|
|
26032
|
+
"exports": [
|
|
26033
|
+
{
|
|
26034
|
+
"kind": "js",
|
|
26035
|
+
"name": "KeyItemComponent",
|
|
26036
|
+
"declaration": {
|
|
26037
|
+
"name": "KeyItemComponent",
|
|
26038
|
+
"module": "src/lib/key/key-item/key-item.ts"
|
|
26039
|
+
}
|
|
26040
|
+
}
|
|
26041
|
+
]
|
|
26042
|
+
},
|
|
25927
26043
|
{
|
|
25928
26044
|
"kind": "javascript-module",
|
|
25929
26045
|
"path": "src/lib/list/list/list.ts",
|
|
@@ -26606,84 +26722,941 @@
|
|
|
26606
26722
|
},
|
|
26607
26723
|
{
|
|
26608
26724
|
"kind": "javascript-module",
|
|
26609
|
-
"path": "src/lib/
|
|
26725
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
26610
26726
|
"declarations": [
|
|
26611
26727
|
{
|
|
26612
26728
|
"kind": "class",
|
|
26613
26729
|
"description": "",
|
|
26614
|
-
"name": "
|
|
26615
|
-
"
|
|
26730
|
+
"name": "MeterComponent",
|
|
26731
|
+
"cssProperties": [
|
|
26616
26732
|
{
|
|
26617
|
-
"
|
|
26618
|
-
"name": "
|
|
26619
|
-
"privacy": "public",
|
|
26620
|
-
"return": {
|
|
26621
|
-
"type": {
|
|
26622
|
-
"text": "void"
|
|
26623
|
-
}
|
|
26624
|
-
}
|
|
26733
|
+
"description": "The background color of the meter.",
|
|
26734
|
+
"name": "--forge-meter-background"
|
|
26625
26735
|
},
|
|
26626
26736
|
{
|
|
26627
|
-
"
|
|
26628
|
-
"name": "
|
|
26629
|
-
"type": {
|
|
26630
|
-
"text": "HTMLElement | VirtualElement | null"
|
|
26631
|
-
},
|
|
26632
|
-
"privacy": "public"
|
|
26737
|
+
"description": "The color of the meter's bar.",
|
|
26738
|
+
"name": "--forge-meter-color"
|
|
26633
26739
|
},
|
|
26634
26740
|
{
|
|
26635
|
-
"
|
|
26636
|
-
"name": "
|
|
26637
|
-
"type": {
|
|
26638
|
-
"text": "string | null"
|
|
26639
|
-
},
|
|
26640
|
-
"privacy": "public"
|
|
26741
|
+
"description": "The block size of the meter.",
|
|
26742
|
+
"name": "--forge-meter-height"
|
|
26641
26743
|
},
|
|
26642
26744
|
{
|
|
26643
|
-
"
|
|
26644
|
-
"name": "
|
|
26645
|
-
"type": {
|
|
26646
|
-
"text": "boolean"
|
|
26647
|
-
},
|
|
26648
|
-
"privacy": "public"
|
|
26745
|
+
"description": "The border radius of the meter.",
|
|
26746
|
+
"name": "--forge-meter-shape"
|
|
26649
26747
|
},
|
|
26650
26748
|
{
|
|
26651
|
-
"
|
|
26652
|
-
"name": "
|
|
26653
|
-
"type": {
|
|
26654
|
-
"text": "boolean"
|
|
26655
|
-
},
|
|
26656
|
-
"privacy": "public"
|
|
26749
|
+
"description": "The border radius of the meter's bar.",
|
|
26750
|
+
"name": "--forge-meter-bar-inner-shape"
|
|
26657
26751
|
},
|
|
26658
26752
|
{
|
|
26659
|
-
"
|
|
26660
|
-
"name": "
|
|
26661
|
-
"type": {
|
|
26662
|
-
"text": "boolean"
|
|
26663
|
-
},
|
|
26664
|
-
"privacy": "public"
|
|
26753
|
+
"description": "The number of tickmarks to display.",
|
|
26754
|
+
"name": "--forge-meter-tickmarks"
|
|
26665
26755
|
},
|
|
26666
26756
|
{
|
|
26667
|
-
"
|
|
26668
|
-
"name": "
|
|
26669
|
-
"type": {
|
|
26670
|
-
"text": "OverlayPlacement"
|
|
26671
|
-
},
|
|
26672
|
-
"privacy": "public"
|
|
26757
|
+
"description": "The opacity of the tickmarks.",
|
|
26758
|
+
"name": "--forge-meter-tickmark-opacity"
|
|
26673
26759
|
},
|
|
26674
26760
|
{
|
|
26675
|
-
"
|
|
26676
|
-
"name": "
|
|
26677
|
-
"type": {
|
|
26678
|
-
"text": "OverlayPositionStrategy"
|
|
26679
|
-
},
|
|
26680
|
-
"privacy": "public"
|
|
26761
|
+
"description": "The duration of transitions.",
|
|
26762
|
+
"name": "--forge-meter-transition-duration"
|
|
26681
26763
|
},
|
|
26682
26764
|
{
|
|
26683
|
-
"
|
|
26684
|
-
"name": "
|
|
26685
|
-
|
|
26686
|
-
|
|
26765
|
+
"description": "The timing function of transitions.",
|
|
26766
|
+
"name": "--forge-meter-transition-timing"
|
|
26767
|
+
},
|
|
26768
|
+
{
|
|
26769
|
+
"description": "The color of the bar when the value is optimal.",
|
|
26770
|
+
"name": "--forge-theme-success"
|
|
26771
|
+
},
|
|
26772
|
+
{
|
|
26773
|
+
"description": "The color of the track when the value is optimal.",
|
|
26774
|
+
"name": "--forge-theme-success-container-low"
|
|
26775
|
+
},
|
|
26776
|
+
{
|
|
26777
|
+
"description": "The color of the bar when the value is suboptimal.",
|
|
26778
|
+
"name": "--forge-theme-warning"
|
|
26779
|
+
},
|
|
26780
|
+
{
|
|
26781
|
+
"description": "The color of the track when the value is suboptimal.",
|
|
26782
|
+
"name": "--forge-theme-warning-container-low"
|
|
26783
|
+
},
|
|
26784
|
+
{
|
|
26785
|
+
"description": "The color of the bar when the value is least optimal.",
|
|
26786
|
+
"name": "--forge-theme-error"
|
|
26787
|
+
},
|
|
26788
|
+
{
|
|
26789
|
+
"description": "The color of the track when the value is least optimal.",
|
|
26790
|
+
"name": "--forge-theme-error-container-low"
|
|
26791
|
+
}
|
|
26792
|
+
],
|
|
26793
|
+
"cssParts": [
|
|
26794
|
+
{
|
|
26795
|
+
"description": "The root container element.",
|
|
26796
|
+
"name": "root"
|
|
26797
|
+
},
|
|
26798
|
+
{
|
|
26799
|
+
"description": "The element comprising the meter's background.",
|
|
26800
|
+
"name": "track"
|
|
26801
|
+
},
|
|
26802
|
+
{
|
|
26803
|
+
"description": "The bar representing the value.",
|
|
26804
|
+
"name": "bar"
|
|
26805
|
+
}
|
|
26806
|
+
],
|
|
26807
|
+
"slots": [
|
|
26808
|
+
{
|
|
26809
|
+
"description": "The default slot for the meter's label.",
|
|
26810
|
+
"name": ""
|
|
26811
|
+
},
|
|
26812
|
+
{
|
|
26813
|
+
"description": "A textual representation of the meter's value.",
|
|
26814
|
+
"name": "value"
|
|
26815
|
+
}
|
|
26816
|
+
],
|
|
26817
|
+
"members": [
|
|
26818
|
+
{
|
|
26819
|
+
"kind": "field",
|
|
26820
|
+
"name": "value",
|
|
26821
|
+
"type": {
|
|
26822
|
+
"text": "number"
|
|
26823
|
+
},
|
|
26824
|
+
"privacy": "public",
|
|
26825
|
+
"default": "0",
|
|
26826
|
+
"description": "The current value of the meter.",
|
|
26827
|
+
"attribute": "value"
|
|
26828
|
+
},
|
|
26829
|
+
{
|
|
26830
|
+
"kind": "field",
|
|
26831
|
+
"name": "min",
|
|
26832
|
+
"type": {
|
|
26833
|
+
"text": "number"
|
|
26834
|
+
},
|
|
26835
|
+
"privacy": "public",
|
|
26836
|
+
"default": "0",
|
|
26837
|
+
"description": "The minimum value of the meter.",
|
|
26838
|
+
"attribute": "min"
|
|
26839
|
+
},
|
|
26840
|
+
{
|
|
26841
|
+
"kind": "field",
|
|
26842
|
+
"name": "max",
|
|
26843
|
+
"type": {
|
|
26844
|
+
"text": "number"
|
|
26845
|
+
},
|
|
26846
|
+
"privacy": "public",
|
|
26847
|
+
"default": "1",
|
|
26848
|
+
"description": "The maximum value of the meter.",
|
|
26849
|
+
"attribute": "max"
|
|
26850
|
+
},
|
|
26851
|
+
{
|
|
26852
|
+
"kind": "field",
|
|
26853
|
+
"name": "low",
|
|
26854
|
+
"type": {
|
|
26855
|
+
"text": "number | null | undefined"
|
|
26856
|
+
},
|
|
26857
|
+
"privacy": "public",
|
|
26858
|
+
"description": "The low value threshold.",
|
|
26859
|
+
"default": "0",
|
|
26860
|
+
"attribute": "low"
|
|
26861
|
+
},
|
|
26862
|
+
{
|
|
26863
|
+
"kind": "field",
|
|
26864
|
+
"name": "high",
|
|
26865
|
+
"type": {
|
|
26866
|
+
"text": "number | null | undefined"
|
|
26867
|
+
},
|
|
26868
|
+
"privacy": "public",
|
|
26869
|
+
"description": "The high value threshold.",
|
|
26870
|
+
"default": "1",
|
|
26871
|
+
"attribute": "high"
|
|
26872
|
+
},
|
|
26873
|
+
{
|
|
26874
|
+
"kind": "field",
|
|
26875
|
+
"name": "optimum",
|
|
26876
|
+
"type": {
|
|
26877
|
+
"text": "number | null | undefined"
|
|
26878
|
+
},
|
|
26879
|
+
"privacy": "public",
|
|
26880
|
+
"description": "Indicates the region of the optimum value.",
|
|
26881
|
+
"default": "1",
|
|
26882
|
+
"attribute": "optimum"
|
|
26883
|
+
},
|
|
26884
|
+
{
|
|
26885
|
+
"kind": "field",
|
|
26886
|
+
"name": "tickmarks",
|
|
26887
|
+
"type": {
|
|
26888
|
+
"text": "boolean"
|
|
26889
|
+
},
|
|
26890
|
+
"privacy": "public",
|
|
26891
|
+
"default": "false",
|
|
26892
|
+
"description": "Whether to display tickmarks.",
|
|
26893
|
+
"attribute": "tickmarks"
|
|
26894
|
+
},
|
|
26895
|
+
{
|
|
26896
|
+
"kind": "field",
|
|
26897
|
+
"name": "valueMode",
|
|
26898
|
+
"type": {
|
|
26899
|
+
"text": "MeterValueMode"
|
|
26900
|
+
},
|
|
26901
|
+
"privacy": "public",
|
|
26902
|
+
"default": "'manual'",
|
|
26903
|
+
"description": "Whether the current value is displayed as a percentage or raw value. When set to `'manual'`\nthe value text is not shown automatically but can still be set manually via the value slot.",
|
|
26904
|
+
"attribute": "value-mode"
|
|
26905
|
+
},
|
|
26906
|
+
{
|
|
26907
|
+
"kind": "field",
|
|
26908
|
+
"name": "direction",
|
|
26909
|
+
"type": {
|
|
26910
|
+
"text": "MeterDirection"
|
|
26911
|
+
},
|
|
26912
|
+
"privacy": "public",
|
|
26913
|
+
"default": "'horizontal'",
|
|
26914
|
+
"description": "Whether the meter is oriented horizontally or vertically.",
|
|
26915
|
+
"attribute": "direction"
|
|
26916
|
+
},
|
|
26917
|
+
{
|
|
26918
|
+
"kind": "field",
|
|
26919
|
+
"name": "shape",
|
|
26920
|
+
"type": {
|
|
26921
|
+
"text": "MeterShape"
|
|
26922
|
+
},
|
|
26923
|
+
"privacy": "public",
|
|
26924
|
+
"default": "'default'",
|
|
26925
|
+
"description": "The shape of the meter.",
|
|
26926
|
+
"attribute": "shape"
|
|
26927
|
+
},
|
|
26928
|
+
{
|
|
26929
|
+
"kind": "field",
|
|
26930
|
+
"name": "innerShape",
|
|
26931
|
+
"type": {
|
|
26932
|
+
"text": "MeterInnerShape"
|
|
26933
|
+
},
|
|
26934
|
+
"privacy": "public",
|
|
26935
|
+
"default": "'default'",
|
|
26936
|
+
"description": "The shape of the bar.",
|
|
26937
|
+
"attribute": "inner-shape"
|
|
26938
|
+
},
|
|
26939
|
+
{
|
|
26940
|
+
"kind": "field",
|
|
26941
|
+
"name": "density",
|
|
26942
|
+
"type": {
|
|
26943
|
+
"text": "MeterDensity"
|
|
26944
|
+
},
|
|
26945
|
+
"privacy": "public",
|
|
26946
|
+
"default": "'medium'",
|
|
26947
|
+
"description": "The density of the meter.",
|
|
26948
|
+
"attribute": "density"
|
|
26949
|
+
},
|
|
26950
|
+
{
|
|
26951
|
+
"kind": "field",
|
|
26952
|
+
"name": "theme",
|
|
26953
|
+
"type": {
|
|
26954
|
+
"text": "MeterTheme"
|
|
26955
|
+
},
|
|
26956
|
+
"privacy": "public",
|
|
26957
|
+
"default": "'default'",
|
|
26958
|
+
"description": "The theme of the meter.",
|
|
26959
|
+
"attribute": "theme"
|
|
26960
|
+
},
|
|
26961
|
+
{
|
|
26962
|
+
"kind": "field",
|
|
26963
|
+
"name": "muted",
|
|
26964
|
+
"type": {
|
|
26965
|
+
"text": "boolean"
|
|
26966
|
+
},
|
|
26967
|
+
"privacy": "public",
|
|
26968
|
+
"default": "false",
|
|
26969
|
+
"description": "Whether the theme is muted.",
|
|
26970
|
+
"attribute": "muted"
|
|
26971
|
+
},
|
|
26972
|
+
{
|
|
26973
|
+
"kind": "field",
|
|
26974
|
+
"name": "percentage",
|
|
26975
|
+
"type": {
|
|
26976
|
+
"text": "number"
|
|
26977
|
+
},
|
|
26978
|
+
"privacy": "public",
|
|
26979
|
+
"description": "Gets the percentage of the meter that's filled.",
|
|
26980
|
+
"readonly": true
|
|
26981
|
+
},
|
|
26982
|
+
{
|
|
26983
|
+
"kind": "field",
|
|
26984
|
+
"name": "_percentage",
|
|
26985
|
+
"type": {
|
|
26986
|
+
"text": "number"
|
|
26987
|
+
},
|
|
26988
|
+
"privacy": "private",
|
|
26989
|
+
"default": "0"
|
|
26990
|
+
},
|
|
26991
|
+
{
|
|
26992
|
+
"kind": "field",
|
|
26993
|
+
"name": "_status",
|
|
26994
|
+
"type": {
|
|
26995
|
+
"text": "MeterStatus"
|
|
26996
|
+
},
|
|
26997
|
+
"privacy": "private",
|
|
26998
|
+
"default": "'optimal'"
|
|
26999
|
+
},
|
|
27000
|
+
{
|
|
27001
|
+
"kind": "field",
|
|
27002
|
+
"name": "_segmented",
|
|
27003
|
+
"type": {
|
|
27004
|
+
"text": "boolean"
|
|
27005
|
+
},
|
|
27006
|
+
"privacy": "private",
|
|
27007
|
+
"default": "false"
|
|
27008
|
+
},
|
|
27009
|
+
{
|
|
27010
|
+
"kind": "field",
|
|
27011
|
+
"name": "_grouped",
|
|
27012
|
+
"type": {
|
|
27013
|
+
"text": "boolean"
|
|
27014
|
+
},
|
|
27015
|
+
"privacy": "private",
|
|
27016
|
+
"default": "false"
|
|
27017
|
+
},
|
|
27018
|
+
{
|
|
27019
|
+
"kind": "field",
|
|
27020
|
+
"name": "_hasSlottedContent",
|
|
27021
|
+
"type": {
|
|
27022
|
+
"text": "boolean"
|
|
27023
|
+
},
|
|
27024
|
+
"privacy": "private",
|
|
27025
|
+
"default": "false"
|
|
27026
|
+
},
|
|
27027
|
+
{
|
|
27028
|
+
"kind": "field",
|
|
27029
|
+
"name": "_defaultNodes",
|
|
27030
|
+
"type": {
|
|
27031
|
+
"text": "Node[]"
|
|
27032
|
+
},
|
|
27033
|
+
"privacy": "private"
|
|
27034
|
+
},
|
|
27035
|
+
{
|
|
27036
|
+
"kind": "field",
|
|
27037
|
+
"name": "_valueNodes",
|
|
27038
|
+
"type": {
|
|
27039
|
+
"text": "Node[]"
|
|
27040
|
+
},
|
|
27041
|
+
"privacy": "private"
|
|
27042
|
+
},
|
|
27043
|
+
{
|
|
27044
|
+
"kind": "method",
|
|
27045
|
+
"name": "_getStatus",
|
|
27046
|
+
"privacy": "private",
|
|
27047
|
+
"return": {
|
|
27048
|
+
"type": {
|
|
27049
|
+
"text": "void"
|
|
27050
|
+
}
|
|
27051
|
+
},
|
|
27052
|
+
"description": "Determines the percentage of the meter that's filled and whether the value is optimal,\nsuboptimal, or least optimal."
|
|
27053
|
+
},
|
|
27054
|
+
{
|
|
27055
|
+
"kind": "method",
|
|
27056
|
+
"name": "_getSegmented",
|
|
27057
|
+
"privacy": "private",
|
|
27058
|
+
"return": {
|
|
27059
|
+
"type": {
|
|
27060
|
+
"text": "void"
|
|
27061
|
+
}
|
|
27062
|
+
},
|
|
27063
|
+
"description": "Determines whether low and high ranges are set. The meter is segmented if either the low or\nhigh property is defined.\n\nWhen the meter is segmented the default or themed color scheme is replaced by semantic colors\ncorresponding to optimal, suboptimal, and least optimal values."
|
|
27064
|
+
},
|
|
27065
|
+
{
|
|
27066
|
+
"kind": "method",
|
|
27067
|
+
"name": "_getGrouped",
|
|
27068
|
+
"privacy": "private",
|
|
27069
|
+
"return": {
|
|
27070
|
+
"type": {
|
|
27071
|
+
"text": "Promise<void>"
|
|
27072
|
+
}
|
|
27073
|
+
},
|
|
27074
|
+
"description": "Checks if the meter is part of a group and inherits the min and max values."
|
|
27075
|
+
},
|
|
27076
|
+
{
|
|
27077
|
+
"kind": "method",
|
|
27078
|
+
"name": "_handleSlotChange",
|
|
27079
|
+
"privacy": "private",
|
|
27080
|
+
"return": {
|
|
27081
|
+
"type": {
|
|
27082
|
+
"text": "void"
|
|
27083
|
+
}
|
|
27084
|
+
},
|
|
27085
|
+
"description": "Checks whether the meter has any slotted content."
|
|
27086
|
+
},
|
|
27087
|
+
{
|
|
27088
|
+
"kind": "method",
|
|
27089
|
+
"name": "_setValueState",
|
|
27090
|
+
"privacy": "private",
|
|
27091
|
+
"return": {
|
|
27092
|
+
"type": {
|
|
27093
|
+
"text": "void"
|
|
27094
|
+
}
|
|
27095
|
+
},
|
|
27096
|
+
"description": "Updates the internal state of the meter based on the current status."
|
|
27097
|
+
}
|
|
27098
|
+
],
|
|
27099
|
+
"attributes": [
|
|
27100
|
+
{
|
|
27101
|
+
"name": "value",
|
|
27102
|
+
"type": {
|
|
27103
|
+
"text": "number"
|
|
27104
|
+
},
|
|
27105
|
+
"default": "0",
|
|
27106
|
+
"description": "The current value of the meter.",
|
|
27107
|
+
"fieldName": "value"
|
|
27108
|
+
},
|
|
27109
|
+
{
|
|
27110
|
+
"name": "min",
|
|
27111
|
+
"type": {
|
|
27112
|
+
"text": "number"
|
|
27113
|
+
},
|
|
27114
|
+
"default": "0",
|
|
27115
|
+
"description": "The minimum value of the meter.",
|
|
27116
|
+
"fieldName": "min"
|
|
27117
|
+
},
|
|
27118
|
+
{
|
|
27119
|
+
"name": "max",
|
|
27120
|
+
"type": {
|
|
27121
|
+
"text": "number"
|
|
27122
|
+
},
|
|
27123
|
+
"default": "1",
|
|
27124
|
+
"description": "The maximum value of the meter.",
|
|
27125
|
+
"fieldName": "max"
|
|
27126
|
+
},
|
|
27127
|
+
{
|
|
27128
|
+
"name": "low",
|
|
27129
|
+
"type": {
|
|
27130
|
+
"text": "number | null | undefined"
|
|
27131
|
+
},
|
|
27132
|
+
"description": "The low value threshold.",
|
|
27133
|
+
"default": "0",
|
|
27134
|
+
"fieldName": "low"
|
|
27135
|
+
},
|
|
27136
|
+
{
|
|
27137
|
+
"name": "high",
|
|
27138
|
+
"type": {
|
|
27139
|
+
"text": "number | null | undefined"
|
|
27140
|
+
},
|
|
27141
|
+
"description": "The high value threshold.",
|
|
27142
|
+
"default": "1",
|
|
27143
|
+
"fieldName": "high"
|
|
27144
|
+
},
|
|
27145
|
+
{
|
|
27146
|
+
"name": "optimum",
|
|
27147
|
+
"type": {
|
|
27148
|
+
"text": "number | null | undefined"
|
|
27149
|
+
},
|
|
27150
|
+
"description": "Indicates the region of the optimum value.",
|
|
27151
|
+
"default": "1",
|
|
27152
|
+
"fieldName": "optimum"
|
|
27153
|
+
},
|
|
27154
|
+
{
|
|
27155
|
+
"name": "tickmarks",
|
|
27156
|
+
"type": {
|
|
27157
|
+
"text": "boolean"
|
|
27158
|
+
},
|
|
27159
|
+
"default": "false",
|
|
27160
|
+
"description": "Whether to display tickmarks.",
|
|
27161
|
+
"fieldName": "tickmarks"
|
|
27162
|
+
},
|
|
27163
|
+
{
|
|
27164
|
+
"name": "value-mode",
|
|
27165
|
+
"type": {
|
|
27166
|
+
"text": "MeterValueMode"
|
|
27167
|
+
},
|
|
27168
|
+
"default": "'manual'",
|
|
27169
|
+
"description": "Whether the current value is displayed as a percentage or raw value. When set to `'manual'`\nthe value text is not shown automatically but can still be set manually via the value slot.",
|
|
27170
|
+
"fieldName": "valueMode"
|
|
27171
|
+
},
|
|
27172
|
+
{
|
|
27173
|
+
"name": "direction",
|
|
27174
|
+
"type": {
|
|
27175
|
+
"text": "MeterDirection"
|
|
27176
|
+
},
|
|
27177
|
+
"default": "'horizontal'",
|
|
27178
|
+
"description": "Whether the meter is oriented horizontally or vertically.",
|
|
27179
|
+
"fieldName": "direction"
|
|
27180
|
+
},
|
|
27181
|
+
{
|
|
27182
|
+
"name": "shape",
|
|
27183
|
+
"type": {
|
|
27184
|
+
"text": "MeterShape"
|
|
27185
|
+
},
|
|
27186
|
+
"default": "'default'",
|
|
27187
|
+
"description": "The shape of the meter.",
|
|
27188
|
+
"fieldName": "shape"
|
|
27189
|
+
},
|
|
27190
|
+
{
|
|
27191
|
+
"name": "inner-shape",
|
|
27192
|
+
"type": {
|
|
27193
|
+
"text": "MeterInnerShape"
|
|
27194
|
+
},
|
|
27195
|
+
"default": "'default'",
|
|
27196
|
+
"description": "The shape of the bar.",
|
|
27197
|
+
"fieldName": "innerShape"
|
|
27198
|
+
},
|
|
27199
|
+
{
|
|
27200
|
+
"name": "density",
|
|
27201
|
+
"type": {
|
|
27202
|
+
"text": "MeterDensity"
|
|
27203
|
+
},
|
|
27204
|
+
"default": "'medium'",
|
|
27205
|
+
"description": "The density of the meter.",
|
|
27206
|
+
"fieldName": "density"
|
|
27207
|
+
},
|
|
27208
|
+
{
|
|
27209
|
+
"name": "theme",
|
|
27210
|
+
"type": {
|
|
27211
|
+
"text": "MeterTheme"
|
|
27212
|
+
},
|
|
27213
|
+
"default": "'default'",
|
|
27214
|
+
"description": "The theme of the meter.",
|
|
27215
|
+
"fieldName": "theme"
|
|
27216
|
+
},
|
|
27217
|
+
{
|
|
27218
|
+
"name": "muted",
|
|
27219
|
+
"type": {
|
|
27220
|
+
"text": "boolean"
|
|
27221
|
+
},
|
|
27222
|
+
"default": "false",
|
|
27223
|
+
"description": "Whether the theme is muted.",
|
|
27224
|
+
"fieldName": "muted"
|
|
27225
|
+
},
|
|
27226
|
+
{
|
|
27227
|
+
"type": {
|
|
27228
|
+
"text": "string"
|
|
27229
|
+
},
|
|
27230
|
+
"description": "Defines a text alternative for the current value. Set this if it would be inaccurate to read the value as a percentage.",
|
|
27231
|
+
"name": "aria-valuetext"
|
|
27232
|
+
}
|
|
27233
|
+
],
|
|
27234
|
+
"superclass": {
|
|
27235
|
+
"name": "LitElement",
|
|
27236
|
+
"package": "lit"
|
|
27237
|
+
},
|
|
27238
|
+
"tagName": "forge-meter",
|
|
27239
|
+
"summary": "Meters display a scalar value within a defined range.",
|
|
27240
|
+
"states": [
|
|
27241
|
+
{
|
|
27242
|
+
"name": "vertical",
|
|
27243
|
+
"description": "Applied when the meter is oriented vertically."
|
|
27244
|
+
},
|
|
27245
|
+
{
|
|
27246
|
+
"name": "optimum-value",
|
|
27247
|
+
"description": "Applied when the value is within the optimum range."
|
|
27248
|
+
},
|
|
27249
|
+
{
|
|
27250
|
+
"name": "suboptimum-value",
|
|
27251
|
+
"description": "Applied when the value is within the suboptimum range."
|
|
27252
|
+
},
|
|
27253
|
+
{
|
|
27254
|
+
"name": "least-optimum-value",
|
|
27255
|
+
"description": "Applied when the value is within the least optimum range."
|
|
27256
|
+
}
|
|
27257
|
+
],
|
|
27258
|
+
"customElement": true
|
|
27259
|
+
}
|
|
27260
|
+
],
|
|
27261
|
+
"exports": [
|
|
27262
|
+
{
|
|
27263
|
+
"kind": "js",
|
|
27264
|
+
"name": "MeterComponent",
|
|
27265
|
+
"declaration": {
|
|
27266
|
+
"name": "MeterComponent",
|
|
27267
|
+
"module": "src/lib/meter/meter/meter.ts"
|
|
27268
|
+
}
|
|
27269
|
+
}
|
|
27270
|
+
]
|
|
27271
|
+
},
|
|
27272
|
+
{
|
|
27273
|
+
"kind": "javascript-module",
|
|
27274
|
+
"path": "src/lib/meter/meter-group/meter-group.ts",
|
|
27275
|
+
"declarations": [
|
|
27276
|
+
{
|
|
27277
|
+
"kind": "class",
|
|
27278
|
+
"description": "",
|
|
27279
|
+
"name": "MeterGroupComponent",
|
|
27280
|
+
"cssProperties": [
|
|
27281
|
+
{
|
|
27282
|
+
"description": "The background color of the meter group.",
|
|
27283
|
+
"name": "--forge-meter-group-background"
|
|
27284
|
+
},
|
|
27285
|
+
{
|
|
27286
|
+
"description": "The block size of the meter group.",
|
|
27287
|
+
"name": "--forge-meter-group-height"
|
|
27288
|
+
},
|
|
27289
|
+
{
|
|
27290
|
+
"description": "The border radius of the meter group.",
|
|
27291
|
+
"name": "--forge-meter-group-shape"
|
|
27292
|
+
},
|
|
27293
|
+
{
|
|
27294
|
+
"description": "The number of tickmarks to display.",
|
|
27295
|
+
"name": "--forge-meter-group-tickmarks"
|
|
27296
|
+
},
|
|
27297
|
+
{
|
|
27298
|
+
"description": "The color of the tickmarks.",
|
|
27299
|
+
"name": "--forge-meter-group-tickmark-color"
|
|
27300
|
+
},
|
|
27301
|
+
{
|
|
27302
|
+
"description": "The opacity of the tickmarks.",
|
|
27303
|
+
"name": "--forge-meter-group-tickmark-opacity"
|
|
27304
|
+
}
|
|
27305
|
+
],
|
|
27306
|
+
"cssParts": [
|
|
27307
|
+
{
|
|
27308
|
+
"description": "The root container element.",
|
|
27309
|
+
"name": "root"
|
|
27310
|
+
},
|
|
27311
|
+
{
|
|
27312
|
+
"description": "The element comprising the meter group's background.",
|
|
27313
|
+
"name": "track"
|
|
27314
|
+
}
|
|
27315
|
+
],
|
|
27316
|
+
"slots": [
|
|
27317
|
+
{
|
|
27318
|
+
"description": "The default slot for grouped `<forge-meter>` elements.",
|
|
27319
|
+
"name": ""
|
|
27320
|
+
},
|
|
27321
|
+
{
|
|
27322
|
+
"description": "Positions a label above the meter group.",
|
|
27323
|
+
"name": "label"
|
|
27324
|
+
},
|
|
27325
|
+
{
|
|
27326
|
+
"description": "A textual representation of the meter's value.",
|
|
27327
|
+
"name": "value"
|
|
27328
|
+
}
|
|
27329
|
+
],
|
|
27330
|
+
"members": [
|
|
27331
|
+
{
|
|
27332
|
+
"kind": "field",
|
|
27333
|
+
"name": "min",
|
|
27334
|
+
"type": {
|
|
27335
|
+
"text": "number"
|
|
27336
|
+
},
|
|
27337
|
+
"privacy": "public",
|
|
27338
|
+
"default": "0",
|
|
27339
|
+
"description": "The minimum value of each meter in the group.",
|
|
27340
|
+
"attribute": "min"
|
|
27341
|
+
},
|
|
27342
|
+
{
|
|
27343
|
+
"kind": "field",
|
|
27344
|
+
"name": "max",
|
|
27345
|
+
"type": {
|
|
27346
|
+
"text": "number"
|
|
27347
|
+
},
|
|
27348
|
+
"privacy": "public",
|
|
27349
|
+
"default": "1",
|
|
27350
|
+
"description": "The maximum value of each meter in the group.",
|
|
27351
|
+
"attribute": "max"
|
|
27352
|
+
},
|
|
27353
|
+
{
|
|
27354
|
+
"kind": "field",
|
|
27355
|
+
"name": "tickmarks",
|
|
27356
|
+
"type": {
|
|
27357
|
+
"text": "boolean"
|
|
27358
|
+
},
|
|
27359
|
+
"privacy": "public",
|
|
27360
|
+
"default": "false",
|
|
27361
|
+
"description": "Whether to display tickmarks.",
|
|
27362
|
+
"attribute": "tickmarks"
|
|
27363
|
+
},
|
|
27364
|
+
{
|
|
27365
|
+
"kind": "field",
|
|
27366
|
+
"name": "direction",
|
|
27367
|
+
"type": {
|
|
27368
|
+
"text": "MeterDirection"
|
|
27369
|
+
},
|
|
27370
|
+
"privacy": "public",
|
|
27371
|
+
"default": "'horizontal'",
|
|
27372
|
+
"description": "Whether the meter is oriented horizontally or vertically.",
|
|
27373
|
+
"attribute": "direction"
|
|
27374
|
+
},
|
|
27375
|
+
{
|
|
27376
|
+
"kind": "field",
|
|
27377
|
+
"name": "density",
|
|
27378
|
+
"type": {
|
|
27379
|
+
"text": "MeterDensity"
|
|
27380
|
+
},
|
|
27381
|
+
"privacy": "public",
|
|
27382
|
+
"default": "'default'",
|
|
27383
|
+
"description": "The density of the meter group.",
|
|
27384
|
+
"attribute": "density"
|
|
27385
|
+
},
|
|
27386
|
+
{
|
|
27387
|
+
"kind": "field",
|
|
27388
|
+
"name": "shape",
|
|
27389
|
+
"type": {
|
|
27390
|
+
"text": "MeterShape"
|
|
27391
|
+
},
|
|
27392
|
+
"privacy": "public",
|
|
27393
|
+
"default": "'default'",
|
|
27394
|
+
"description": "The shape of the meter group.",
|
|
27395
|
+
"attribute": "shape"
|
|
27396
|
+
},
|
|
27397
|
+
{
|
|
27398
|
+
"kind": "field",
|
|
27399
|
+
"name": "innerShape",
|
|
27400
|
+
"type": {
|
|
27401
|
+
"text": "MeterInnerShape"
|
|
27402
|
+
},
|
|
27403
|
+
"privacy": "public",
|
|
27404
|
+
"default": "'default'",
|
|
27405
|
+
"description": "The shape of each meter in the group.",
|
|
27406
|
+
"attribute": "inner-shape"
|
|
27407
|
+
},
|
|
27408
|
+
{
|
|
27409
|
+
"kind": "field",
|
|
27410
|
+
"name": "_hasSlottedHeadingContent",
|
|
27411
|
+
"type": {
|
|
27412
|
+
"text": "boolean"
|
|
27413
|
+
},
|
|
27414
|
+
"privacy": "private",
|
|
27415
|
+
"default": "false"
|
|
27416
|
+
},
|
|
27417
|
+
{
|
|
27418
|
+
"kind": "field",
|
|
27419
|
+
"name": "_labelNodes",
|
|
27420
|
+
"type": {
|
|
27421
|
+
"text": "Node[]"
|
|
27422
|
+
},
|
|
27423
|
+
"privacy": "private"
|
|
27424
|
+
},
|
|
27425
|
+
{
|
|
27426
|
+
"kind": "field",
|
|
27427
|
+
"name": "_valueNodes",
|
|
27428
|
+
"type": {
|
|
27429
|
+
"text": "Node[]"
|
|
27430
|
+
},
|
|
27431
|
+
"privacy": "private"
|
|
27432
|
+
},
|
|
27433
|
+
{
|
|
27434
|
+
"kind": "field",
|
|
27435
|
+
"name": "_meters",
|
|
27436
|
+
"type": {
|
|
27437
|
+
"text": "MeterComponent[]"
|
|
27438
|
+
},
|
|
27439
|
+
"privacy": "private"
|
|
27440
|
+
},
|
|
27441
|
+
{
|
|
27442
|
+
"kind": "method",
|
|
27443
|
+
"name": "_syncMeters",
|
|
27444
|
+
"privacy": "private",
|
|
27445
|
+
"return": {
|
|
27446
|
+
"type": {
|
|
27447
|
+
"text": "void"
|
|
27448
|
+
}
|
|
27449
|
+
},
|
|
27450
|
+
"description": "Applies the min and max values to each meter in the group. These should always be set on the\nmeter group component to ensure that all meters are in sync."
|
|
27451
|
+
},
|
|
27452
|
+
{
|
|
27453
|
+
"kind": "field",
|
|
27454
|
+
"name": "_debounceMeterChange",
|
|
27455
|
+
"privacy": "private",
|
|
27456
|
+
"description": "Debounce the handler to reduce the number of times it's called during rapid changes,\nespecially when the component is first connected."
|
|
27457
|
+
},
|
|
27458
|
+
{
|
|
27459
|
+
"kind": "method",
|
|
27460
|
+
"name": "_handleMeterChange",
|
|
27461
|
+
"privacy": "private",
|
|
27462
|
+
"return": {
|
|
27463
|
+
"type": {
|
|
27464
|
+
"text": "void"
|
|
27465
|
+
}
|
|
27466
|
+
},
|
|
27467
|
+
"parameters": [
|
|
27468
|
+
{
|
|
27469
|
+
"name": "evt",
|
|
27470
|
+
"type": {
|
|
27471
|
+
"text": "Event"
|
|
27472
|
+
}
|
|
27473
|
+
}
|
|
27474
|
+
],
|
|
27475
|
+
"description": "Handles changes to the meters in the group, updating their arrangement relative to each other."
|
|
27476
|
+
},
|
|
27477
|
+
{
|
|
27478
|
+
"kind": "method",
|
|
27479
|
+
"name": "_handleHeadingSlotChange",
|
|
27480
|
+
"privacy": "private",
|
|
27481
|
+
"return": {
|
|
27482
|
+
"type": {
|
|
27483
|
+
"text": "void"
|
|
27484
|
+
}
|
|
27485
|
+
},
|
|
27486
|
+
"description": "Checks whether the meter group has any slotted heading content."
|
|
27487
|
+
}
|
|
27488
|
+
],
|
|
27489
|
+
"attributes": [
|
|
27490
|
+
{
|
|
27491
|
+
"name": "min",
|
|
27492
|
+
"type": {
|
|
27493
|
+
"text": "number"
|
|
27494
|
+
},
|
|
27495
|
+
"default": "0",
|
|
27496
|
+
"description": "The minimum value of each meter in the group.",
|
|
27497
|
+
"fieldName": "min"
|
|
27498
|
+
},
|
|
27499
|
+
{
|
|
27500
|
+
"name": "max",
|
|
27501
|
+
"type": {
|
|
27502
|
+
"text": "number"
|
|
27503
|
+
},
|
|
27504
|
+
"default": "1",
|
|
27505
|
+
"description": "The maximum value of each meter in the group.",
|
|
27506
|
+
"fieldName": "max"
|
|
27507
|
+
},
|
|
27508
|
+
{
|
|
27509
|
+
"name": "tickmarks",
|
|
27510
|
+
"type": {
|
|
27511
|
+
"text": "boolean"
|
|
27512
|
+
},
|
|
27513
|
+
"default": "false",
|
|
27514
|
+
"description": "Whether to display tickmarks.",
|
|
27515
|
+
"fieldName": "tickmarks"
|
|
27516
|
+
},
|
|
27517
|
+
{
|
|
27518
|
+
"name": "direction",
|
|
27519
|
+
"type": {
|
|
27520
|
+
"text": "MeterDirection"
|
|
27521
|
+
},
|
|
27522
|
+
"default": "'horizontal'",
|
|
27523
|
+
"description": "Whether the meter is oriented horizontally or vertically.",
|
|
27524
|
+
"fieldName": "direction"
|
|
27525
|
+
},
|
|
27526
|
+
{
|
|
27527
|
+
"name": "density",
|
|
27528
|
+
"type": {
|
|
27529
|
+
"text": "MeterDensity"
|
|
27530
|
+
},
|
|
27531
|
+
"default": "'default'",
|
|
27532
|
+
"description": "The density of the meter group.",
|
|
27533
|
+
"fieldName": "density"
|
|
27534
|
+
},
|
|
27535
|
+
{
|
|
27536
|
+
"name": "shape",
|
|
27537
|
+
"type": {
|
|
27538
|
+
"text": "MeterShape"
|
|
27539
|
+
},
|
|
27540
|
+
"default": "'default'",
|
|
27541
|
+
"description": "The shape of the meter group.",
|
|
27542
|
+
"fieldName": "shape"
|
|
27543
|
+
},
|
|
27544
|
+
{
|
|
27545
|
+
"name": "inner-shape",
|
|
27546
|
+
"type": {
|
|
27547
|
+
"text": "MeterInnerShape"
|
|
27548
|
+
},
|
|
27549
|
+
"default": "'default'",
|
|
27550
|
+
"description": "The shape of each meter in the group.",
|
|
27551
|
+
"fieldName": "innerShape"
|
|
27552
|
+
}
|
|
27553
|
+
],
|
|
27554
|
+
"superclass": {
|
|
27555
|
+
"name": "LitElement",
|
|
27556
|
+
"package": "lit"
|
|
27557
|
+
},
|
|
27558
|
+
"tagName": "forge-meter-group",
|
|
27559
|
+
"summary": "Meter groups display several meters together on one track.",
|
|
27560
|
+
"states": [
|
|
27561
|
+
{
|
|
27562
|
+
"name": "vertical",
|
|
27563
|
+
"description": "Applied when the meter group is oriented vertically."
|
|
27564
|
+
}
|
|
27565
|
+
],
|
|
27566
|
+
"customElement": true
|
|
27567
|
+
}
|
|
27568
|
+
],
|
|
27569
|
+
"exports": [
|
|
27570
|
+
{
|
|
27571
|
+
"kind": "js",
|
|
27572
|
+
"name": "MeterGroupComponent",
|
|
27573
|
+
"declaration": {
|
|
27574
|
+
"name": "MeterGroupComponent",
|
|
27575
|
+
"module": "src/lib/meter/meter-group/meter-group.ts"
|
|
27576
|
+
}
|
|
27577
|
+
}
|
|
27578
|
+
]
|
|
27579
|
+
},
|
|
27580
|
+
{
|
|
27581
|
+
"kind": "javascript-module",
|
|
27582
|
+
"path": "src/lib/overlay/base/base-overlay.ts",
|
|
27583
|
+
"declarations": [
|
|
27584
|
+
{
|
|
27585
|
+
"kind": "class",
|
|
27586
|
+
"description": "",
|
|
27587
|
+
"name": "BaseOverlay",
|
|
27588
|
+
"members": [
|
|
27589
|
+
{
|
|
27590
|
+
"kind": "method",
|
|
27591
|
+
"name": "position",
|
|
27592
|
+
"privacy": "public",
|
|
27593
|
+
"return": {
|
|
27594
|
+
"type": {
|
|
27595
|
+
"text": "void"
|
|
27596
|
+
}
|
|
27597
|
+
}
|
|
27598
|
+
},
|
|
27599
|
+
{
|
|
27600
|
+
"kind": "field",
|
|
27601
|
+
"name": "anchorElement",
|
|
27602
|
+
"type": {
|
|
27603
|
+
"text": "HTMLElement | VirtualElement | null"
|
|
27604
|
+
},
|
|
27605
|
+
"privacy": "public"
|
|
27606
|
+
},
|
|
27607
|
+
{
|
|
27608
|
+
"kind": "field",
|
|
27609
|
+
"name": "anchor",
|
|
27610
|
+
"type": {
|
|
27611
|
+
"text": "string | null"
|
|
27612
|
+
},
|
|
27613
|
+
"privacy": "public"
|
|
27614
|
+
},
|
|
27615
|
+
{
|
|
27616
|
+
"kind": "field",
|
|
27617
|
+
"name": "noAnchor",
|
|
27618
|
+
"type": {
|
|
27619
|
+
"text": "boolean"
|
|
27620
|
+
},
|
|
27621
|
+
"privacy": "public"
|
|
27622
|
+
},
|
|
27623
|
+
{
|
|
27624
|
+
"kind": "field",
|
|
27625
|
+
"name": "open",
|
|
27626
|
+
"type": {
|
|
27627
|
+
"text": "boolean"
|
|
27628
|
+
},
|
|
27629
|
+
"privacy": "public"
|
|
27630
|
+
},
|
|
27631
|
+
{
|
|
27632
|
+
"kind": "field",
|
|
27633
|
+
"name": "inline",
|
|
27634
|
+
"type": {
|
|
27635
|
+
"text": "boolean"
|
|
27636
|
+
},
|
|
27637
|
+
"privacy": "public"
|
|
27638
|
+
},
|
|
27639
|
+
{
|
|
27640
|
+
"kind": "field",
|
|
27641
|
+
"name": "placement",
|
|
27642
|
+
"type": {
|
|
27643
|
+
"text": "OverlayPlacement"
|
|
27644
|
+
},
|
|
27645
|
+
"privacy": "public"
|
|
27646
|
+
},
|
|
27647
|
+
{
|
|
27648
|
+
"kind": "field",
|
|
27649
|
+
"name": "positionStrategy",
|
|
27650
|
+
"type": {
|
|
27651
|
+
"text": "OverlayPositionStrategy"
|
|
27652
|
+
},
|
|
27653
|
+
"privacy": "public"
|
|
27654
|
+
},
|
|
27655
|
+
{
|
|
27656
|
+
"kind": "field",
|
|
27657
|
+
"name": "offset",
|
|
27658
|
+
"type": {
|
|
27659
|
+
"text": "IOverlayOffset"
|
|
26687
27660
|
},
|
|
26688
27661
|
"privacy": "public"
|
|
26689
27662
|
},
|
|
@@ -32061,7 +33034,7 @@
|
|
|
32061
33034
|
},
|
|
32062
33035
|
"FilePickerAdapter": {
|
|
32063
33036
|
"path": "src/lib/file-picker/file-picker-adapter.ts",
|
|
32064
|
-
"lineNumber":
|
|
33037
|
+
"lineNumber": 30
|
|
32065
33038
|
},
|
|
32066
33039
|
"FilePickerComponentDelegateProps": {
|
|
32067
33040
|
"path": "src/lib/file-picker/file-picker-component-delegate.ts",
|
|
@@ -33943,29 +34916,37 @@
|
|
|
33943
34916
|
"path": "src/lib/core/mask/time-segment-parser.ts",
|
|
33944
34917
|
"lineNumber": 15
|
|
33945
34918
|
},
|
|
34919
|
+
"CustomStateSet": {
|
|
34920
|
+
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
34921
|
+
"lineNumber": 17
|
|
34922
|
+
},
|
|
34923
|
+
"ElementInternals": {
|
|
34924
|
+
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
34925
|
+
"lineNumber": 21
|
|
34926
|
+
},
|
|
33946
34927
|
"ARIAProperty": {
|
|
33947
34928
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33948
|
-
"lineNumber":
|
|
34929
|
+
"lineNumber": 29
|
|
33949
34930
|
},
|
|
33950
34931
|
"ARIAAttribute": {
|
|
33951
34932
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33952
|
-
"lineNumber":
|
|
34933
|
+
"lineNumber": 34
|
|
33953
34934
|
},
|
|
33954
34935
|
"ARIARole": {
|
|
33955
34936
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33956
|
-
"lineNumber":
|
|
34937
|
+
"lineNumber": 129
|
|
33957
34938
|
},
|
|
33958
34939
|
"ARIAMixinStrict": {
|
|
33959
34940
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33960
|
-
"lineNumber":
|
|
34941
|
+
"lineNumber": 245
|
|
33961
34942
|
},
|
|
33962
34943
|
"ARIAPropertyToAttribute": {
|
|
33963
34944
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33964
|
-
"lineNumber":
|
|
34945
|
+
"lineNumber": 289
|
|
33965
34946
|
},
|
|
33966
34947
|
"DefaultAriaOptions": {
|
|
33967
34948
|
"path": "src/lib/core/utils/a11y-utils.ts",
|
|
33968
|
-
"lineNumber":
|
|
34949
|
+
"lineNumber": 321
|
|
33969
34950
|
},
|
|
33970
34951
|
"Deferred": {
|
|
33971
34952
|
"path": "src/lib/core/utils/deferred.ts",
|
|
@@ -34279,6 +35260,14 @@
|
|
|
34279
35260
|
"path": "src/lib/field/base/with-base-field.ts",
|
|
34280
35261
|
"lineNumber": 97
|
|
34281
35262
|
},
|
|
35263
|
+
"KeyComponent": {
|
|
35264
|
+
"path": "src/lib/key/key/key.ts",
|
|
35265
|
+
"lineNumber": 19
|
|
35266
|
+
},
|
|
35267
|
+
"KeyItemComponent": {
|
|
35268
|
+
"path": "src/lib/key/key-item/key-item.ts",
|
|
35269
|
+
"lineNumber": 28
|
|
35270
|
+
},
|
|
34282
35271
|
"IListAdapter": {
|
|
34283
35272
|
"path": "src/lib/list/list/list-adapter.ts",
|
|
34284
35273
|
"lineNumber": 8
|
|
@@ -34343,6 +35332,42 @@
|
|
|
34343
35332
|
"path": "src/lib/list/list-item/list-item.ts",
|
|
34344
35333
|
"lineNumber": 123
|
|
34345
35334
|
},
|
|
35335
|
+
"MeterDirection": {
|
|
35336
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35337
|
+
"lineNumber": 10
|
|
35338
|
+
},
|
|
35339
|
+
"MeterDensity": {
|
|
35340
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35341
|
+
"lineNumber": 11
|
|
35342
|
+
},
|
|
35343
|
+
"MeterShape": {
|
|
35344
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35345
|
+
"lineNumber": 12
|
|
35346
|
+
},
|
|
35347
|
+
"MeterInnerShape": {
|
|
35348
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35349
|
+
"lineNumber": 13
|
|
35350
|
+
},
|
|
35351
|
+
"MeterStatus": {
|
|
35352
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35353
|
+
"lineNumber": 14
|
|
35354
|
+
},
|
|
35355
|
+
"MeterTheme": {
|
|
35356
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35357
|
+
"lineNumber": 15
|
|
35358
|
+
},
|
|
35359
|
+
"MeterValueMode": {
|
|
35360
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35361
|
+
"lineNumber": 16
|
|
35362
|
+
},
|
|
35363
|
+
"MeterComponent": {
|
|
35364
|
+
"path": "src/lib/meter/meter/meter.ts",
|
|
35365
|
+
"lineNumber": 59
|
|
35366
|
+
},
|
|
35367
|
+
"MeterGroupComponent": {
|
|
35368
|
+
"path": "src/lib/meter/meter-group/meter-group.ts",
|
|
35369
|
+
"lineNumber": 31
|
|
35370
|
+
},
|
|
34346
35371
|
"IBaseOverlayCore": {
|
|
34347
35372
|
"path": "src/lib/overlay/base/base-overlay-core.ts",
|
|
34348
35373
|
"lineNumber": 5
|