@omicronenergy/oscd-ui 0.0.20 → 0.1.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/CHANGELOG.md +20 -0
- package/MIGRATION-0.1.0.md +201 -0
- package/README.md +7 -1
- package/THEMING.md +180 -0
- package/custom-elements.json +1799 -1485
- package/dist/about/{Catalog.stories.d.ts → ComponentCatalog.stories.d.ts} +1 -1
- package/dist/about/ComponentCatalog.stories.js +300 -0
- package/dist/about/ComponentCatalog.stories.js.map +1 -0
- package/dist/ace-editor/OscdAceEditor.d.ts +25 -2
- package/dist/ace-editor/OscdAceEditor.js +25 -2
- package/dist/ace-editor/OscdAceEditor.js.map +1 -1
- package/dist/ace-editor/OscdAceEditor.stories.d.ts +3 -1
- package/dist/ace-editor/OscdAceEditor.stories.js +11 -2
- package/dist/ace-editor/OscdAceEditor.stories.js.map +1 -1
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.js +2 -1
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.js.map +1 -1
- package/dist/ace-editor/internal/ace-theme-oscd.js +174 -99
- package/dist/ace-editor/internal/ace-theme-oscd.js.map +1 -1
- package/dist/action-icon/OscdActionIcon.d.ts +12 -5
- package/dist/action-icon/OscdActionIcon.js +53 -46
- package/dist/action-icon/OscdActionIcon.js.map +1 -1
- package/dist/action-icon/OscdActionIcon.spec.d.ts +1 -0
- package/dist/action-icon/OscdActionIcon.spec.js +81 -0
- package/dist/action-icon/OscdActionIcon.spec.js.map +1 -0
- package/dist/action-list/OscdActionList.js +1 -1
- package/dist/action-list/OscdActionList.js.map +1 -1
- package/dist/action-pane/OscdActionPane.d.ts +8 -6
- package/dist/action-pane/OscdActionPane.js +25 -22
- package/dist/action-pane/OscdActionPane.js.map +1 -1
- package/dist/action-pane/OscdActionPane.spec.d.ts +1 -0
- package/dist/action-pane/OscdActionPane.spec.js +87 -0
- package/dist/action-pane/OscdActionPane.spec.js.map +1 -0
- package/dist/action-tree/OscdActionTree.d.ts +6 -0
- package/dist/action-tree/OscdActionTree.js +28 -7
- package/dist/action-tree/OscdActionTree.js.map +1 -1
- package/dist/app-bar/OscdAppBar.d.ts +20 -11
- package/dist/app-bar/OscdAppBar.js +98 -59
- package/dist/app-bar/OscdAppBar.js.map +1 -1
- package/dist/app-bar/OscdAppBar.spec.d.ts +1 -0
- package/dist/app-bar/OscdAppBar.spec.js +73 -0
- package/dist/app-bar/OscdAppBar.spec.js.map +1 -0
- package/dist/app-bar/OscdAppBar.stories.d.ts +1 -0
- package/dist/app-bar/OscdAppBar.stories.js +11 -0
- package/dist/app-bar/OscdAppBar.stories.js.map +1 -1
- package/dist/dialog/warning/OscdWarnDialog.stories.d.ts +5 -0
- package/dist/dialog/warning/OscdWarnDialog.stories.js +43 -0
- package/dist/dialog/warning/OscdWarnDialog.stories.js.map +1 -0
- package/dist/filter-button/OscdFilterButton.js +0 -4
- package/dist/filter-button/OscdFilterButton.js.map +1 -1
- package/dist/icon/internal/icon.js +1 -1
- package/dist/icon/internal/icon.js.map +1 -1
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.js +4 -2
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.js.map +1 -1
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.d.ts +10 -1
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.js +11 -57
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -1
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.spec.d.ts +1 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.spec.js +51 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.spec.js.map +1 -0
- package/dist/oscd-md3-mappings.d.ts +2 -0
- package/dist/oscd-md3-mappings.js +59 -0
- package/dist/oscd-md3-mappings.js.map +1 -0
- package/dist/oscd-md3-mappings.spec.d.ts +1 -0
- package/dist/oscd-md3-mappings.spec.js +82 -0
- package/dist/oscd-md3-mappings.spec.js.map +1 -0
- package/dist/scl-icon/OscdSclIcon.d.ts +3 -19
- package/dist/scl-icon/OscdSclIcon.js +3 -114
- package/dist/scl-icon/OscdSclIcon.js.map +1 -1
- package/dist/scl-icon/internal/scl-icons.d.ts +18 -0
- package/dist/scl-icon/internal/scl-icons.js +92 -0
- package/dist/scl-icon/internal/scl-icons.js.map +1 -0
- package/dist/scl-icon/internal/scl-icons.spec.d.ts +1 -0
- package/dist/scl-icon/internal/scl-icons.spec.js +18 -0
- package/dist/scl-icon/internal/scl-icons.spec.js.map +1 -0
- package/dist/search-field/OscdOutlinedSearchField.d.ts +2 -1
- package/dist/search-field/OscdOutlinedSearchField.js +2 -1
- package/dist/search-field/OscdOutlinedSearchField.js.map +1 -1
- package/dist/selection-list/OscdSelectionList.js +1 -1
- package/dist/selection-list/OscdSelectionList.js.map +1 -1
- package/dist/snackbar/OscdSnackbar.d.ts +32 -18
- package/dist/snackbar/OscdSnackbar.js +191 -67
- package/dist/snackbar/OscdSnackbar.js.map +1 -1
- package/dist/snackbar/OscdSnackbar.spec.js +67 -0
- package/dist/snackbar/OscdSnackbar.spec.js.map +1 -1
- package/dist/snackbar/OscdSnackbar.stories.d.ts +3 -1
- package/dist/snackbar/OscdSnackbar.stories.js +69 -0
- package/dist/snackbar/OscdSnackbar.stories.js.map +1 -1
- package/dist/tree/OscdTree.d.ts +3 -0
- package/dist/tree/OscdTree.js +3 -0
- package/dist/tree/OscdTree.js.map +1 -1
- package/dist/tree/OscdTreeItem.d.ts +2 -0
- package/dist/tree/OscdTreeItem.js +2 -0
- package/dist/tree/OscdTreeItem.js.map +1 -1
- package/dist/tree/OscdTreeItem.stories.d.ts +5 -0
- package/dist/tree/OscdTreeItem.stories.js +23 -0
- package/dist/tree/OscdTreeItem.stories.js.map +1 -0
- package/dist/tree/internal/Tree.js +30 -76
- package/dist/tree/internal/Tree.js.map +1 -1
- package/dist/tree/internal/TreeItem.js +17 -70
- package/dist/tree/internal/TreeItem.js.map +1 -1
- package/dist/tree-grid/OscdTreeGrid.js +2 -2
- package/dist/tree-grid/OscdTreeGrid.js.map +1 -1
- package/dist/tree-grid/oscd-tree-grid.spec.js +15 -0
- package/dist/tree-grid/oscd-tree-grid.spec.js.map +1 -1
- package/dist/utils/storybook/story-overrides/divider-overrides.js +1 -1
- package/dist/utils/storybook/story-overrides/divider-overrides.js.map +1 -1
- package/package.json +3 -1
- package/dist/about/Catalog.stories.js +0 -305
- package/dist/about/Catalog.stories.js.map +0 -1
- package/dist/utils/storybook/themingDecorator.d.ts +0 -19
- package/dist/utils/storybook/themingDecorator.js +0 -100
- package/dist/utils/storybook/themingDecorator.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -8,8 +8,110 @@
|
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "Wraps the Ace editor for XML editing in OpenSCD.\n\nProvides syntax highlighting, code folding, and persisted editor settings.\
|
|
11
|
+
"description": "Wraps the Ace editor for XML editing in OpenSCD.\n\nProvides syntax highlighting, code folding, and persisted editor settings.\nThe custom `ace/theme/oscd` theme uses the `--oscd-ace-editor-*` tokens\nbelow; they have no effect when another Ace theme is selected.\n\nThe OpenSCD theme appears in both Ace's light and dark theme lists. This is\nintentional: Ace separates themes by category, while the OpenSCD theme uses\nthe same theme definition in both modes and adapts through CSS variables.\nImport `oscdPaletteComponentMappings` to seed syntax colors from an OpenSCD\npalette without adding palette slots.",
|
|
12
12
|
"name": "OscdAceEditor",
|
|
13
|
+
"cssProperties": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Editor background for `ace/theme/oscd` only.",
|
|
16
|
+
"name": "--oscd-ace-editor-container-color",
|
|
17
|
+
"default": "var(--md-sys-color-surface, #fef7ff)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"description": "Default editor text for `ace/theme/oscd` only.",
|
|
21
|
+
"name": "--oscd-ace-editor-text-color",
|
|
22
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"description": "Gutter background for `ace/theme/oscd` only.",
|
|
26
|
+
"name": "--oscd-ace-editor-gutter-color",
|
|
27
|
+
"default": "var(--md-sys-color-surface-container-low, #f7f2fa)"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"description": "Gutter text for `ace/theme/oscd` only.",
|
|
31
|
+
"name": "--oscd-ace-editor-gutter-text-color",
|
|
32
|
+
"default": "var(--md-sys-color-on-surface-variant, #49454f)"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "Active line background for `ace/theme/oscd` only.",
|
|
36
|
+
"name": "--oscd-ace-editor-active-line-color",
|
|
37
|
+
"default": "var(--md-sys-color-surface-container, #f3edf7)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"description": "Selection background for `ace/theme/oscd` only.",
|
|
41
|
+
"name": "--oscd-ace-editor-selection-color",
|
|
42
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"description": "Cursor color for `ace/theme/oscd` only.",
|
|
46
|
+
"name": "--oscd-ace-editor-cursor-color",
|
|
47
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"description": "Editor font for `ace/theme/oscd` only.",
|
|
51
|
+
"name": "--oscd-ace-editor-font-family",
|
|
52
|
+
"default": "monospace"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"description": "Keyword color for `ace/theme/oscd` only.",
|
|
56
|
+
"name": "--oscd-ace-editor-syntax-keyword-color",
|
|
57
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"description": "String color for `ace/theme/oscd` only.",
|
|
61
|
+
"name": "--oscd-ace-editor-syntax-string-color",
|
|
62
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"description": "Tag color for `ace/theme/oscd` only.",
|
|
66
|
+
"name": "--oscd-ace-editor-syntax-tag-color",
|
|
67
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"description": "Attribute name color for `ace/theme/oscd` only.",
|
|
71
|
+
"name": "--oscd-ace-editor-syntax-attribute-name-color",
|
|
72
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"description": "Comment color for `ace/theme/oscd` only.",
|
|
76
|
+
"name": "--oscd-ace-editor-syntax-comment-color",
|
|
77
|
+
"default": "var(--md-sys-color-on-surface-variant, #49454f)"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"description": "Number color for `ace/theme/oscd` only.",
|
|
81
|
+
"name": "--oscd-ace-editor-syntax-number-color",
|
|
82
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"description": "Invalid syntax text color for `ace/theme/oscd` only.",
|
|
86
|
+
"name": "--oscd-ace-editor-syntax-invalid-color",
|
|
87
|
+
"default": "var(--md-sys-color-error, #b3261e)"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"description": "Storage and support symbol color for `ace/theme/oscd` only.",
|
|
91
|
+
"name": "--oscd-ace-editor-syntax-storage-color",
|
|
92
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"description": "Operator and XML punctuation color for `ace/theme/oscd` only.",
|
|
96
|
+
"name": "--oscd-ace-editor-syntax-operator-color",
|
|
97
|
+
"default": "var(--md-sys-color-on-surface-variant, #49454f)"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"description": "Parameter color for `ace/theme/oscd` only.",
|
|
101
|
+
"name": "--oscd-ace-editor-syntax-parameter-color",
|
|
102
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"description": "Regular expression color for `ace/theme/oscd` only.",
|
|
106
|
+
"name": "--oscd-ace-editor-syntax-regex-color",
|
|
107
|
+
"default": "var(--md-sys-color-error, #b3261e)"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"description": "Debug execution-step marker color for `ace/theme/oscd` only.",
|
|
111
|
+
"name": "--oscd-ace-editor-step-color",
|
|
112
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
13
115
|
"members": [
|
|
14
116
|
{
|
|
15
117
|
"kind": "field",
|
|
@@ -78,7 +180,7 @@
|
|
|
78
180
|
},
|
|
79
181
|
"tagName": "oscd-ace-editor",
|
|
80
182
|
"customElement": true,
|
|
81
|
-
"summary": "Wraps the Ace editor for XML editing in OpenSCD.\n\nProvides syntax highlighting, code folding, and persisted editor settings.\
|
|
183
|
+
"summary": "Wraps the Ace editor for XML editing in OpenSCD.\n\nProvides syntax highlighting, code folding, and persisted editor settings.\nThe custom `ace/theme/oscd` theme uses the `--oscd-ace-editor-*` tokens\nbelow; they have no effect when another Ace theme is selected.\n\nThe OpenSCD theme appears in both Ace's light and dark theme lists. This is\nintentional: Ace separates themes by category, while the OpenSCD theme uses\nthe same theme definition in both modes and adapts through CSS variables.\nImport `oscdPaletteComponentMappings` to seed syntax colors from an OpenSCD\npalette without adding palette slots.",
|
|
82
184
|
"attributes": [
|
|
83
185
|
{
|
|
84
186
|
"name": "value",
|
|
@@ -93,7 +195,6 @@
|
|
|
93
195
|
}
|
|
94
196
|
],
|
|
95
197
|
"modulePath": "ace-editor/OscdAceEditor.ts",
|
|
96
|
-
"cssProperties": [],
|
|
97
198
|
"cssParts": [],
|
|
98
199
|
"cssStates": [],
|
|
99
200
|
"slots": []
|
|
@@ -136,53 +237,12 @@
|
|
|
136
237
|
},
|
|
137
238
|
{
|
|
138
239
|
"kind": "javascript-module",
|
|
139
|
-
"path": "action-
|
|
240
|
+
"path": "action-list/OscdActionList.ts",
|
|
140
241
|
"declarations": [
|
|
141
242
|
{
|
|
142
243
|
"kind": "class",
|
|
143
|
-
"description": "
|
|
144
|
-
"name": "
|
|
145
|
-
"cssProperties": [
|
|
146
|
-
{
|
|
147
|
-
"description": "Border and hover color.",
|
|
148
|
-
"name": "--oscd-action-icon-theme-primary",
|
|
149
|
-
"default": "var(--md-sys-color-primary)"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"description": "Font color inside hover field.",
|
|
153
|
-
"name": "--oscd-action-icon-theme-on-primary",
|
|
154
|
-
"default": "var(--md-sys-color-on-primary)"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"description": "Secondary border and hover color.",
|
|
158
|
-
"name": "--oscd-action-icon-theme-secondary",
|
|
159
|
-
"default": "var(--md-sys-color-secondary)"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"description": "Icon and label color.",
|
|
163
|
-
"name": "--oscd-action-icon-theme-on-surface",
|
|
164
|
-
"default": "var(--md-sys-color-on-surface)"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"description": "Font for label and hover text.",
|
|
168
|
-
"name": "--oscd-action-icon-theme-font",
|
|
169
|
-
"default": "var(--md-sys-color-font)"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"slots": [
|
|
173
|
-
{
|
|
174
|
-
"description": "May contain up to eight icon buttons.",
|
|
175
|
-
"name": "action"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"description": "If filled overrides the icon property.",
|
|
179
|
-
"name": "icon"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"description": "The default slot will be rendered into the pane body in a single column.",
|
|
183
|
-
"name": ""
|
|
184
|
-
}
|
|
185
|
-
],
|
|
244
|
+
"description": "",
|
|
245
|
+
"name": "OscdActionList",
|
|
186
246
|
"members": [
|
|
187
247
|
{
|
|
188
248
|
"kind": "field",
|
|
@@ -191,186 +251,404 @@
|
|
|
191
251
|
"text": "object"
|
|
192
252
|
},
|
|
193
253
|
"static": true,
|
|
194
|
-
"default": "{ 'oscd-icon': OscdIcon, }"
|
|
254
|
+
"default": "{ 'oscd-outlined-text-field': OscdOutlinedTextField, 'oscd-icon': OscdIcon, 'oscd-list': OscdList, 'oscd-list-item': OscdListItem, 'oscd-divider': OscdDivider, 'oscd-menu': OscdMenu, 'oscd-menu-item': OscdMenuItem, }"
|
|
195
255
|
},
|
|
196
256
|
{
|
|
197
257
|
"kind": "field",
|
|
198
|
-
"name": "
|
|
258
|
+
"name": "items",
|
|
199
259
|
"type": {
|
|
200
|
-
"text": "
|
|
260
|
+
"text": "ActionItem[]"
|
|
201
261
|
},
|
|
202
|
-
"
|
|
203
|
-
"
|
|
262
|
+
"default": "[]",
|
|
263
|
+
"description": "ListItems and potential",
|
|
264
|
+
"attribute": "items"
|
|
204
265
|
},
|
|
205
266
|
{
|
|
206
267
|
"kind": "field",
|
|
207
|
-
"name": "
|
|
268
|
+
"name": "height",
|
|
208
269
|
"type": {
|
|
209
|
-
"text": "
|
|
270
|
+
"text": "number"
|
|
210
271
|
},
|
|
211
|
-
"
|
|
212
|
-
"
|
|
272
|
+
"default": "72",
|
|
273
|
+
"description": "Height of each list item",
|
|
274
|
+
"attribute": "height"
|
|
213
275
|
},
|
|
214
276
|
{
|
|
215
|
-
"kind": "
|
|
216
|
-
"name": "
|
|
217
|
-
"
|
|
218
|
-
|
|
277
|
+
"kind": "method",
|
|
278
|
+
"name": "renderMoreVertItem",
|
|
279
|
+
"privacy": "private",
|
|
280
|
+
"return": {
|
|
281
|
+
"type": {
|
|
282
|
+
"text": "TemplateResult"
|
|
283
|
+
}
|
|
219
284
|
},
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
285
|
+
"parameters": [
|
|
286
|
+
{
|
|
287
|
+
"name": "item",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "ActionItem"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
]
|
|
223
293
|
},
|
|
224
294
|
{
|
|
225
|
-
"kind": "
|
|
226
|
-
"name": "
|
|
227
|
-
"
|
|
228
|
-
|
|
295
|
+
"kind": "method",
|
|
296
|
+
"name": "renderActionItem",
|
|
297
|
+
"privacy": "private",
|
|
298
|
+
"return": {
|
|
299
|
+
"type": {
|
|
300
|
+
"text": "TemplateResult"
|
|
301
|
+
}
|
|
229
302
|
},
|
|
230
|
-
"
|
|
231
|
-
|
|
232
|
-
|
|
303
|
+
"parameters": [
|
|
304
|
+
{
|
|
305
|
+
"name": "item",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "ActionItem"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "index",
|
|
312
|
+
"default": "0"
|
|
313
|
+
}
|
|
314
|
+
]
|
|
233
315
|
},
|
|
234
316
|
{
|
|
235
|
-
"kind": "
|
|
236
|
-
"name": "
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
317
|
+
"kind": "method",
|
|
318
|
+
"name": "renderOtherActions",
|
|
319
|
+
"privacy": "private",
|
|
320
|
+
"return": {
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "TemplateResult"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
243
325
|
},
|
|
244
326
|
{
|
|
245
327
|
"kind": "method",
|
|
246
|
-
"name": "
|
|
328
|
+
"name": "renderFirstAction",
|
|
247
329
|
"privacy": "private",
|
|
248
330
|
"return": {
|
|
249
331
|
"type": {
|
|
250
332
|
"text": "TemplateResult"
|
|
251
333
|
}
|
|
252
334
|
}
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"attributes": [
|
|
335
|
+
},
|
|
256
336
|
{
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
|
|
337
|
+
"kind": "method",
|
|
338
|
+
"name": "renderActions",
|
|
339
|
+
"privacy": "private",
|
|
340
|
+
"return": {
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "TemplateResult"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"kind": "method",
|
|
348
|
+
"name": "renderActionListItem",
|
|
349
|
+
"privacy": "private",
|
|
350
|
+
"return": {
|
|
351
|
+
"type": {
|
|
352
|
+
"text": "TemplateResult"
|
|
353
|
+
}
|
|
260
354
|
},
|
|
261
|
-
"
|
|
262
|
-
|
|
355
|
+
"parameters": [
|
|
356
|
+
{
|
|
357
|
+
"name": "item",
|
|
358
|
+
"type": {
|
|
359
|
+
"text": "ActionItem"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
]
|
|
263
363
|
},
|
|
264
364
|
{
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
|
|
365
|
+
"kind": "method",
|
|
366
|
+
"name": "renderListItem",
|
|
367
|
+
"privacy": "private",
|
|
368
|
+
"return": {
|
|
369
|
+
"type": {
|
|
370
|
+
"text": "TemplateResult"
|
|
371
|
+
}
|
|
268
372
|
},
|
|
269
|
-
"
|
|
270
|
-
|
|
373
|
+
"parameters": [
|
|
374
|
+
{
|
|
375
|
+
"name": "item",
|
|
376
|
+
"type": {
|
|
377
|
+
"text": "ActionItem"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
]
|
|
271
381
|
},
|
|
272
382
|
{
|
|
273
|
-
"
|
|
383
|
+
"kind": "field",
|
|
384
|
+
"name": "filterable",
|
|
274
385
|
"type": {
|
|
275
386
|
"text": "boolean"
|
|
276
387
|
},
|
|
277
388
|
"default": "false",
|
|
278
|
-
"description": "
|
|
279
|
-
"
|
|
389
|
+
"description": "Whether list items can be filtered on `headline` and `supportingText`",
|
|
390
|
+
"attribute": "filterable",
|
|
391
|
+
"inheritedFrom": {
|
|
392
|
+
"name": "FilterListBase",
|
|
393
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
394
|
+
}
|
|
280
395
|
},
|
|
281
396
|
{
|
|
282
|
-
"
|
|
397
|
+
"kind": "field",
|
|
398
|
+
"name": "searchhelper",
|
|
283
399
|
"type": {
|
|
284
|
-
"text": "
|
|
400
|
+
"text": "string"
|
|
285
401
|
},
|
|
286
|
-
"default": "
|
|
287
|
-
"description": "
|
|
288
|
-
"
|
|
402
|
+
"default": "'search'",
|
|
403
|
+
"description": "Placeholder for search input field",
|
|
404
|
+
"attribute": "searchhelper",
|
|
405
|
+
"inheritedFrom": {
|
|
406
|
+
"name": "FilterListBase",
|
|
407
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
408
|
+
}
|
|
289
409
|
},
|
|
290
410
|
{
|
|
291
|
-
"
|
|
411
|
+
"kind": "field",
|
|
412
|
+
"name": "searchInput",
|
|
292
413
|
"type": {
|
|
293
|
-
"text": "
|
|
414
|
+
"text": "OscdOutlinedTextField | undefined"
|
|
294
415
|
},
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
{
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
|
|
305
|
-
|
|
416
|
+
"privacy": "protected",
|
|
417
|
+
"inheritedFrom": {
|
|
418
|
+
"name": "FilterListBase",
|
|
419
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "field",
|
|
424
|
+
"name": "_searchValue",
|
|
425
|
+
"type": {
|
|
426
|
+
"text": "string"
|
|
427
|
+
},
|
|
428
|
+
"privacy": "protected",
|
|
429
|
+
"default": "''",
|
|
430
|
+
"inheritedFrom": {
|
|
431
|
+
"name": "FilterListBase",
|
|
432
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"kind": "field",
|
|
437
|
+
"name": "_cachedRegex",
|
|
438
|
+
"type": {
|
|
439
|
+
"text": "RegExp"
|
|
440
|
+
},
|
|
441
|
+
"privacy": "private",
|
|
442
|
+
"default": "/.*/i",
|
|
443
|
+
"inheritedFrom": {
|
|
444
|
+
"name": "FilterListBase",
|
|
445
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"kind": "field",
|
|
450
|
+
"name": "searchValue",
|
|
451
|
+
"description": "Current search filter value. Updates search regex when changed.",
|
|
452
|
+
"type": {
|
|
453
|
+
"text": "string"
|
|
454
|
+
},
|
|
455
|
+
"attribute": "searchValue",
|
|
456
|
+
"inheritedFrom": {
|
|
457
|
+
"name": "FilterListBase",
|
|
458
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"kind": "field",
|
|
463
|
+
"name": "searchRegex",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "RegExp"
|
|
466
|
+
},
|
|
467
|
+
"privacy": "protected",
|
|
468
|
+
"inheritedFrom": {
|
|
469
|
+
"name": "FilterListBase",
|
|
470
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"kind": "method",
|
|
475
|
+
"name": "onFilter",
|
|
476
|
+
"privacy": "protected",
|
|
477
|
+
"return": {
|
|
478
|
+
"type": {
|
|
479
|
+
"text": "void"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"inheritedFrom": {
|
|
483
|
+
"name": "FilterListBase",
|
|
484
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"kind": "method",
|
|
489
|
+
"name": "renderSearchField",
|
|
490
|
+
"privacy": "protected",
|
|
491
|
+
"return": {
|
|
492
|
+
"type": {
|
|
493
|
+
"text": "TemplateResult"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"inheritedFrom": {
|
|
497
|
+
"name": "FilterListBase",
|
|
498
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"attributes": [
|
|
503
|
+
{
|
|
504
|
+
"name": "items",
|
|
505
|
+
"type": {
|
|
506
|
+
"text": "ActionItem[]"
|
|
507
|
+
},
|
|
508
|
+
"default": "[]",
|
|
509
|
+
"description": "ListItems and potential",
|
|
510
|
+
"fieldName": "items"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "height",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "number"
|
|
516
|
+
},
|
|
517
|
+
"default": "72",
|
|
518
|
+
"description": "Height of each list item",
|
|
519
|
+
"fieldName": "height"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "filterable",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "boolean"
|
|
525
|
+
},
|
|
526
|
+
"default": "false",
|
|
527
|
+
"description": "Whether list items can be filtered on `headline` and `supportingText`",
|
|
528
|
+
"fieldName": "filterable",
|
|
529
|
+
"inheritedFrom": {
|
|
530
|
+
"name": "FilterListBase",
|
|
531
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "searchhelper",
|
|
536
|
+
"type": {
|
|
537
|
+
"text": "string"
|
|
538
|
+
},
|
|
539
|
+
"default": "'search'",
|
|
540
|
+
"description": "Placeholder for search input field",
|
|
541
|
+
"fieldName": "searchhelper",
|
|
542
|
+
"inheritedFrom": {
|
|
543
|
+
"name": "FilterListBase",
|
|
544
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "searchValue",
|
|
549
|
+
"description": "Current search filter value. Updates search regex when changed.",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "string"
|
|
552
|
+
},
|
|
553
|
+
"fieldName": "searchValue",
|
|
554
|
+
"inheritedFrom": {
|
|
555
|
+
"name": "FilterListBase",
|
|
556
|
+
"module": "selection-list/internal/FilterListBase.ts"
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
],
|
|
306
560
|
"superclass": {
|
|
307
|
-
"name": "
|
|
308
|
-
"
|
|
561
|
+
"name": "FilterListBase",
|
|
562
|
+
"module": "/selection-list/internal/FilterListBase.js"
|
|
309
563
|
},
|
|
310
|
-
"tagName": "oscd-action-
|
|
564
|
+
"tagName": "oscd-action-list",
|
|
311
565
|
"customElement": true,
|
|
312
|
-
"
|
|
313
|
-
"
|
|
566
|
+
"modulePath": "action-list/OscdActionList.ts",
|
|
567
|
+
"cssProperties": [],
|
|
568
|
+
"cssParts": [],
|
|
569
|
+
"cssStates": [],
|
|
570
|
+
"events": [],
|
|
571
|
+
"slots": []
|
|
314
572
|
}
|
|
315
573
|
],
|
|
316
574
|
"exports": [
|
|
317
575
|
{
|
|
318
576
|
"kind": "js",
|
|
319
|
-
"name": "
|
|
577
|
+
"name": "OscdActionList",
|
|
320
578
|
"declaration": {
|
|
321
|
-
"name": "
|
|
322
|
-
"module": "action-
|
|
579
|
+
"name": "OscdActionList",
|
|
580
|
+
"module": "action-list/OscdActionList.ts"
|
|
323
581
|
}
|
|
324
582
|
}
|
|
325
583
|
]
|
|
326
584
|
},
|
|
327
585
|
{
|
|
328
586
|
"kind": "javascript-module",
|
|
329
|
-
"path": "action-
|
|
587
|
+
"path": "action-icon/OscdActionIcon.ts",
|
|
330
588
|
"declarations": [
|
|
331
589
|
{
|
|
332
590
|
"kind": "class",
|
|
333
591
|
"description": "A responsive container rendering actions in a header.",
|
|
334
|
-
"name": "
|
|
592
|
+
"name": "OscdActionIcon",
|
|
335
593
|
"cssProperties": [
|
|
336
594
|
{
|
|
337
|
-
"description": "
|
|
338
|
-
"name": "--oscd-action-
|
|
339
|
-
"default": "var(--md-sys-color-
|
|
595
|
+
"description": "Icon color.",
|
|
596
|
+
"name": "--oscd-action-icon-icon-color",
|
|
597
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"description": "Icon outline.",
|
|
601
|
+
"name": "--oscd-action-icon-icon-outline-color",
|
|
602
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"description": "Icon outline when secondary.",
|
|
606
|
+
"name": "--oscd-action-icon-secondary-icon-outline-color",
|
|
607
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"description": "Slotted action color.",
|
|
611
|
+
"name": "--oscd-action-icon-action-color",
|
|
612
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"description": "Footer label color.",
|
|
616
|
+
"name": "--oscd-action-icon-footer-color",
|
|
617
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
340
618
|
},
|
|
341
619
|
{
|
|
342
|
-
"description": "
|
|
343
|
-
"name": "--oscd-action-
|
|
344
|
-
"default": "var(--md-
|
|
620
|
+
"description": "Footer label font.",
|
|
621
|
+
"name": "--oscd-action-icon-footer-font-family",
|
|
622
|
+
"default": "var(--md-ref-typeface-plain, Roboto)"
|
|
345
623
|
},
|
|
346
624
|
{
|
|
347
|
-
"description": "
|
|
348
|
-
"name": "--oscd-action-
|
|
349
|
-
"default": "var(--md-sys-color-
|
|
625
|
+
"description": "Hover label color.",
|
|
626
|
+
"name": "--oscd-action-icon-header-color",
|
|
627
|
+
"default": "var(--md-sys-color-on-primary, #fff)"
|
|
350
628
|
},
|
|
351
629
|
{
|
|
352
|
-
"description": "
|
|
353
|
-
"name": "--oscd-action-
|
|
354
|
-
"default": "var(--md-sys-color-
|
|
630
|
+
"description": "Hover label background.",
|
|
631
|
+
"name": "--oscd-action-icon-header-container-color",
|
|
632
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
355
633
|
},
|
|
356
634
|
{
|
|
357
|
-
"description": "
|
|
358
|
-
"name": "--oscd-action-
|
|
359
|
-
"default": "var(--md-sys-color-
|
|
635
|
+
"description": "Hover label background when secondary.",
|
|
636
|
+
"name": "--oscd-action-icon-secondary-header-container-color",
|
|
637
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
360
638
|
},
|
|
361
639
|
{
|
|
362
|
-
"description": "
|
|
363
|
-
"name": "--oscd-action-
|
|
364
|
-
"default": "var(--md-
|
|
640
|
+
"description": "Hover label font.",
|
|
641
|
+
"name": "--oscd-action-icon-header-font-family",
|
|
642
|
+
"default": "var(--md-ref-typeface-plain, Roboto)"
|
|
365
643
|
}
|
|
366
644
|
],
|
|
367
645
|
"slots": [
|
|
368
646
|
{
|
|
369
|
-
"description": "
|
|
647
|
+
"description": "May contain up to eight icon buttons.",
|
|
370
648
|
"name": "action"
|
|
371
649
|
},
|
|
372
650
|
{
|
|
373
|
-
"description": "
|
|
651
|
+
"description": "If filled overrides the icon property.",
|
|
374
652
|
"name": "icon"
|
|
375
653
|
},
|
|
376
654
|
{
|
|
@@ -386,7 +664,7 @@
|
|
|
386
664
|
"text": "object"
|
|
387
665
|
},
|
|
388
666
|
"static": true,
|
|
389
|
-
"default": "{ 'oscd-icon': OscdIcon, }"
|
|
667
|
+
"default": "{ 'oscd-elevation': OscdElevation, 'oscd-icon': OscdIcon, }"
|
|
390
668
|
},
|
|
391
669
|
{
|
|
392
670
|
"kind": "field",
|
|
@@ -428,34 +706,17 @@
|
|
|
428
706
|
},
|
|
429
707
|
{
|
|
430
708
|
"kind": "field",
|
|
431
|
-
"name": "
|
|
432
|
-
"type": {
|
|
433
|
-
"text": "number"
|
|
434
|
-
},
|
|
435
|
-
"default": "1",
|
|
436
|
-
"description": "nesting level, default (closest pane ancestor's level) + 1",
|
|
437
|
-
"attribute": "level"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"kind": "field",
|
|
441
|
-
"name": "parentPane",
|
|
442
|
-
"type": {
|
|
443
|
-
"text": "OscdActionPane | undefined"
|
|
444
|
-
},
|
|
445
|
-
"privacy": "private"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "field",
|
|
449
|
-
"name": "resolvedLevel",
|
|
709
|
+
"name": "hideActions",
|
|
450
710
|
"type": {
|
|
451
|
-
"text": "
|
|
711
|
+
"text": "boolean"
|
|
452
712
|
},
|
|
453
|
-
"
|
|
454
|
-
"
|
|
713
|
+
"default": "false",
|
|
714
|
+
"description": "disables CSS adoption to action buttons",
|
|
715
|
+
"attribute": "hideActions"
|
|
455
716
|
},
|
|
456
717
|
{
|
|
457
718
|
"kind": "method",
|
|
458
|
-
"name": "
|
|
719
|
+
"name": "renderIcon",
|
|
459
720
|
"privacy": "private",
|
|
460
721
|
"return": {
|
|
461
722
|
"type": {
|
|
@@ -500,13 +761,13 @@
|
|
|
500
761
|
"fieldName": "highlighted"
|
|
501
762
|
},
|
|
502
763
|
{
|
|
503
|
-
"name": "
|
|
764
|
+
"name": "hideActions",
|
|
504
765
|
"type": {
|
|
505
|
-
"text": "
|
|
766
|
+
"text": "boolean"
|
|
506
767
|
},
|
|
507
|
-
"default": "
|
|
508
|
-
"description": "
|
|
509
|
-
"fieldName": "
|
|
768
|
+
"default": "false",
|
|
769
|
+
"description": "disables CSS adoption to action buttons",
|
|
770
|
+
"fieldName": "hideActions"
|
|
510
771
|
}
|
|
511
772
|
],
|
|
512
773
|
"mixins": [
|
|
@@ -519,366 +780,231 @@
|
|
|
519
780
|
"name": "LitElement",
|
|
520
781
|
"package": "lit"
|
|
521
782
|
},
|
|
522
|
-
"tagName": "oscd-action-
|
|
783
|
+
"tagName": "oscd-action-icon",
|
|
523
784
|
"customElement": true,
|
|
524
785
|
"summary": "A responsive container rendering actions in a header.",
|
|
525
|
-
"modulePath": "action-
|
|
786
|
+
"modulePath": "action-icon/OscdActionIcon.ts"
|
|
526
787
|
}
|
|
527
788
|
],
|
|
528
789
|
"exports": [
|
|
529
790
|
{
|
|
530
791
|
"kind": "js",
|
|
531
|
-
"name": "
|
|
792
|
+
"name": "OscdActionIcon",
|
|
532
793
|
"declaration": {
|
|
533
|
-
"name": "
|
|
534
|
-
"module": "action-
|
|
794
|
+
"name": "OscdActionIcon",
|
|
795
|
+
"module": "action-icon/OscdActionIcon.ts"
|
|
535
796
|
}
|
|
536
797
|
}
|
|
537
798
|
]
|
|
538
799
|
},
|
|
539
800
|
{
|
|
540
801
|
"kind": "javascript-module",
|
|
541
|
-
"path": "action-
|
|
802
|
+
"path": "action-pane/OscdActionPane.ts",
|
|
542
803
|
"declarations": [
|
|
543
804
|
{
|
|
544
805
|
"kind": "class",
|
|
545
|
-
"description": "",
|
|
546
|
-
"name": "
|
|
547
|
-
"
|
|
806
|
+
"description": "A responsive container rendering actions in a header.",
|
|
807
|
+
"name": "OscdActionPane",
|
|
808
|
+
"cssProperties": [
|
|
548
809
|
{
|
|
549
|
-
"
|
|
550
|
-
"name": "
|
|
551
|
-
"
|
|
552
|
-
"text": "object"
|
|
553
|
-
},
|
|
554
|
-
"static": true,
|
|
555
|
-
"default": "{ 'oscd-outlined-text-field': OscdOutlinedTextField, 'oscd-icon': OscdIcon, 'oscd-list': OscdList, 'oscd-list-item': OscdListItem, 'oscd-divider': OscdDivider, 'oscd-menu': OscdMenu, 'oscd-menu-item': OscdMenuItem, }"
|
|
810
|
+
"description": "Pane background.",
|
|
811
|
+
"name": "--oscd-action-pane-container-color",
|
|
812
|
+
"default": "var(--md-sys-color-surface, #fef7ff)"
|
|
556
813
|
},
|
|
557
814
|
{
|
|
558
|
-
"
|
|
559
|
-
"name": "
|
|
560
|
-
"
|
|
561
|
-
"text": "ActionItem[]"
|
|
562
|
-
},
|
|
563
|
-
"default": "[]",
|
|
564
|
-
"description": "ListItems and potential",
|
|
565
|
-
"attribute": "items"
|
|
815
|
+
"description": "Background on even nesting levels.",
|
|
816
|
+
"name": "--oscd-action-pane-contrasted-container-color",
|
|
817
|
+
"default": "var(--md-sys-color-on-primary, #fff)"
|
|
566
818
|
},
|
|
567
819
|
{
|
|
568
|
-
"
|
|
569
|
-
"name": "
|
|
570
|
-
"
|
|
571
|
-
"text": "number"
|
|
572
|
-
},
|
|
573
|
-
"default": "72",
|
|
574
|
-
"description": "Height of each list item",
|
|
575
|
-
"attribute": "height"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"kind": "method",
|
|
579
|
-
"name": "renderMoreVertItem",
|
|
580
|
-
"privacy": "private",
|
|
581
|
-
"return": {
|
|
582
|
-
"type": {
|
|
583
|
-
"text": "TemplateResult"
|
|
584
|
-
}
|
|
585
|
-
},
|
|
586
|
-
"parameters": [
|
|
587
|
-
{
|
|
588
|
-
"name": "item",
|
|
589
|
-
"type": {
|
|
590
|
-
"text": "ActionItem"
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
]
|
|
820
|
+
"description": "Pane outline.",
|
|
821
|
+
"name": "--oscd-action-pane-outline-color",
|
|
822
|
+
"default": "var(--md-sys-color-primary, #6750a4)"
|
|
594
823
|
},
|
|
595
824
|
{
|
|
596
|
-
"
|
|
597
|
-
"name": "
|
|
598
|
-
"
|
|
599
|
-
"return": {
|
|
600
|
-
"type": {
|
|
601
|
-
"text": "TemplateResult"
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
"parameters": [
|
|
605
|
-
{
|
|
606
|
-
"name": "item",
|
|
607
|
-
"type": {
|
|
608
|
-
"text": "ActionItem"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "index",
|
|
613
|
-
"default": "0"
|
|
614
|
-
}
|
|
615
|
-
]
|
|
825
|
+
"description": "Outline when secondary.",
|
|
826
|
+
"name": "--oscd-action-pane-secondary-outline-color",
|
|
827
|
+
"default": "var(--md-sys-color-secondary, #625b71)"
|
|
616
828
|
},
|
|
617
829
|
{
|
|
618
|
-
"
|
|
619
|
-
"name": "
|
|
620
|
-
"
|
|
621
|
-
"return": {
|
|
622
|
-
"type": {
|
|
623
|
-
"text": "TemplateResult"
|
|
624
|
-
}
|
|
625
|
-
}
|
|
830
|
+
"description": "Heading text color.",
|
|
831
|
+
"name": "--oscd-action-pane-headline-color",
|
|
832
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
626
833
|
},
|
|
627
834
|
{
|
|
628
|
-
"
|
|
629
|
-
"name": "
|
|
630
|
-
"
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
},
|
|
835
|
+
"description": "Heading font.",
|
|
836
|
+
"name": "--oscd-action-pane-headline-font-family",
|
|
837
|
+
"default": "var(--md-ref-typeface-plain, Roboto)"
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
"slots": [
|
|
637
841
|
{
|
|
638
|
-
"
|
|
639
|
-
"name": "
|
|
640
|
-
"privacy": "private",
|
|
641
|
-
"return": {
|
|
642
|
-
"type": {
|
|
643
|
-
"text": "TemplateResult"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
842
|
+
"description": "Places element in <nav/> section.",
|
|
843
|
+
"name": "action"
|
|
646
844
|
},
|
|
647
845
|
{
|
|
648
|
-
"
|
|
649
|
-
"name": "
|
|
650
|
-
"privacy": "private",
|
|
651
|
-
"return": {
|
|
652
|
-
"type": {
|
|
653
|
-
"text": "TemplateResult"
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
"parameters": [
|
|
657
|
-
{
|
|
658
|
-
"name": "item",
|
|
659
|
-
"type": {
|
|
660
|
-
"text": "ActionItem"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
]
|
|
846
|
+
"description": "Action Pane Icon.",
|
|
847
|
+
"name": "icon"
|
|
664
848
|
},
|
|
665
849
|
{
|
|
666
|
-
"
|
|
667
|
-
"name": "
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
"text": "TemplateResult"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"parameters": [
|
|
675
|
-
{
|
|
676
|
-
"name": "item",
|
|
677
|
-
"type": {
|
|
678
|
-
"text": "ActionItem"
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
]
|
|
682
|
-
},
|
|
850
|
+
"description": "The default slot will be rendered into the pane body in a single column.",
|
|
851
|
+
"name": ""
|
|
852
|
+
}
|
|
853
|
+
],
|
|
854
|
+
"members": [
|
|
683
855
|
{
|
|
684
856
|
"kind": "field",
|
|
685
|
-
"name": "
|
|
857
|
+
"name": "scopedElements",
|
|
686
858
|
"type": {
|
|
687
|
-
"text": "
|
|
859
|
+
"text": "object"
|
|
688
860
|
},
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"attribute": "filterable",
|
|
692
|
-
"inheritedFrom": {
|
|
693
|
-
"name": "FilterListBase",
|
|
694
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
695
|
-
}
|
|
861
|
+
"static": true,
|
|
862
|
+
"default": "{ 'oscd-elevation': OscdElevation, 'oscd-icon': OscdIcon, }"
|
|
696
863
|
},
|
|
697
864
|
{
|
|
698
865
|
"kind": "field",
|
|
699
|
-
"name": "
|
|
866
|
+
"name": "label",
|
|
700
867
|
"type": {
|
|
701
|
-
"text": "string"
|
|
868
|
+
"text": "string | undefined"
|
|
702
869
|
},
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"attribute": "searchhelper",
|
|
706
|
-
"inheritedFrom": {
|
|
707
|
-
"name": "FilterListBase",
|
|
708
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
709
|
-
}
|
|
870
|
+
"description": "caption text, displayed in the header",
|
|
871
|
+
"attribute": "label"
|
|
710
872
|
},
|
|
711
873
|
{
|
|
712
874
|
"kind": "field",
|
|
713
|
-
"name": "
|
|
875
|
+
"name": "icon",
|
|
714
876
|
"type": {
|
|
715
|
-
"text": "
|
|
877
|
+
"text": "string | undefined"
|
|
716
878
|
},
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"name": "FilterListBase",
|
|
720
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
721
|
-
}
|
|
879
|
+
"description": "icon name, displayed unless the \"icon\" slot is filled",
|
|
880
|
+
"attribute": "icon"
|
|
722
881
|
},
|
|
723
882
|
{
|
|
724
883
|
"kind": "field",
|
|
725
|
-
"name": "
|
|
884
|
+
"name": "secondary",
|
|
726
885
|
"type": {
|
|
727
|
-
"text": "
|
|
886
|
+
"text": "boolean"
|
|
728
887
|
},
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"name": "FilterListBase",
|
|
733
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
734
|
-
}
|
|
888
|
+
"default": "false",
|
|
889
|
+
"description": "color header with secondary theme color while focus is within",
|
|
890
|
+
"attribute": "secondary"
|
|
735
891
|
},
|
|
736
892
|
{
|
|
737
893
|
"kind": "field",
|
|
738
|
-
"name": "
|
|
894
|
+
"name": "highlighted",
|
|
739
895
|
"type": {
|
|
740
|
-
"text": "
|
|
896
|
+
"text": "boolean"
|
|
741
897
|
},
|
|
742
|
-
"
|
|
743
|
-
"
|
|
744
|
-
"
|
|
745
|
-
"name": "FilterListBase",
|
|
746
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
747
|
-
}
|
|
898
|
+
"default": "false",
|
|
899
|
+
"description": "highlight pane with dotted outline",
|
|
900
|
+
"attribute": "highlighted"
|
|
748
901
|
},
|
|
749
902
|
{
|
|
750
903
|
"kind": "field",
|
|
751
|
-
"name": "
|
|
752
|
-
"description": "Current search filter value. Updates search regex when changed.",
|
|
904
|
+
"name": "level",
|
|
753
905
|
"type": {
|
|
754
|
-
"text": "
|
|
906
|
+
"text": "number"
|
|
755
907
|
},
|
|
756
|
-
"
|
|
757
|
-
"
|
|
758
|
-
|
|
759
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
760
|
-
}
|
|
908
|
+
"default": "1",
|
|
909
|
+
"description": "nesting level, default (closest pane ancestor's level) + 1",
|
|
910
|
+
"attribute": "level"
|
|
761
911
|
},
|
|
762
912
|
{
|
|
763
913
|
"kind": "field",
|
|
764
|
-
"name": "
|
|
914
|
+
"name": "parentPane",
|
|
765
915
|
"type": {
|
|
766
|
-
"text": "
|
|
916
|
+
"text": "OscdActionPane | undefined"
|
|
767
917
|
},
|
|
768
|
-
"privacy": "
|
|
769
|
-
"inheritedFrom": {
|
|
770
|
-
"name": "FilterListBase",
|
|
771
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
772
|
-
}
|
|
918
|
+
"privacy": "private"
|
|
773
919
|
},
|
|
774
920
|
{
|
|
775
|
-
"kind": "
|
|
776
|
-
"name": "
|
|
777
|
-
"
|
|
778
|
-
|
|
779
|
-
"type": {
|
|
780
|
-
"text": "void"
|
|
781
|
-
}
|
|
921
|
+
"kind": "field",
|
|
922
|
+
"name": "resolvedLevel",
|
|
923
|
+
"type": {
|
|
924
|
+
"text": "number"
|
|
782
925
|
},
|
|
783
|
-
"
|
|
784
|
-
|
|
785
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
786
|
-
}
|
|
926
|
+
"privacy": "private",
|
|
927
|
+
"readonly": true
|
|
787
928
|
},
|
|
788
929
|
{
|
|
789
930
|
"kind": "method",
|
|
790
|
-
"name": "
|
|
791
|
-
"privacy": "
|
|
931
|
+
"name": "renderHeader",
|
|
932
|
+
"privacy": "private",
|
|
792
933
|
"return": {
|
|
793
934
|
"type": {
|
|
794
935
|
"text": "TemplateResult"
|
|
795
936
|
}
|
|
796
|
-
},
|
|
797
|
-
"inheritedFrom": {
|
|
798
|
-
"name": "FilterListBase",
|
|
799
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
800
937
|
}
|
|
801
938
|
}
|
|
802
939
|
],
|
|
803
940
|
"attributes": [
|
|
804
941
|
{
|
|
805
|
-
"name": "
|
|
942
|
+
"name": "label",
|
|
806
943
|
"type": {
|
|
807
|
-
"text": "
|
|
944
|
+
"text": "string | undefined"
|
|
808
945
|
},
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"fieldName": "items"
|
|
946
|
+
"description": "caption text, displayed in the header",
|
|
947
|
+
"fieldName": "label"
|
|
812
948
|
},
|
|
813
949
|
{
|
|
814
|
-
"name": "
|
|
950
|
+
"name": "icon",
|
|
815
951
|
"type": {
|
|
816
|
-
"text": "
|
|
952
|
+
"text": "string | undefined"
|
|
817
953
|
},
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"fieldName": "height"
|
|
954
|
+
"description": "icon name, displayed unless the \"icon\" slot is filled",
|
|
955
|
+
"fieldName": "icon"
|
|
821
956
|
},
|
|
822
957
|
{
|
|
823
|
-
"name": "
|
|
958
|
+
"name": "secondary",
|
|
824
959
|
"type": {
|
|
825
960
|
"text": "boolean"
|
|
826
961
|
},
|
|
827
962
|
"default": "false",
|
|
828
|
-
"description": "
|
|
829
|
-
"fieldName": "
|
|
830
|
-
"inheritedFrom": {
|
|
831
|
-
"name": "FilterListBase",
|
|
832
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
833
|
-
}
|
|
963
|
+
"description": "color header with secondary theme color while focus is within",
|
|
964
|
+
"fieldName": "secondary"
|
|
834
965
|
},
|
|
835
966
|
{
|
|
836
|
-
"name": "
|
|
967
|
+
"name": "highlighted",
|
|
837
968
|
"type": {
|
|
838
|
-
"text": "
|
|
969
|
+
"text": "boolean"
|
|
839
970
|
},
|
|
840
|
-
"default": "
|
|
841
|
-
"description": "
|
|
842
|
-
"fieldName": "
|
|
843
|
-
"inheritedFrom": {
|
|
844
|
-
"name": "FilterListBase",
|
|
845
|
-
"module": "selection-list/internal/FilterListBase.ts"
|
|
846
|
-
}
|
|
971
|
+
"default": "false",
|
|
972
|
+
"description": "highlight pane with dotted outline",
|
|
973
|
+
"fieldName": "highlighted"
|
|
847
974
|
},
|
|
848
975
|
{
|
|
849
|
-
"name": "
|
|
850
|
-
"description": "Current search filter value. Updates search regex when changed.",
|
|
976
|
+
"name": "level",
|
|
851
977
|
"type": {
|
|
852
|
-
"text": "
|
|
978
|
+
"text": "number"
|
|
853
979
|
},
|
|
854
|
-
"
|
|
855
|
-
"
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
980
|
+
"default": "1",
|
|
981
|
+
"description": "nesting level, default (closest pane ancestor's level) + 1",
|
|
982
|
+
"fieldName": "level"
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"mixins": [
|
|
986
|
+
{
|
|
987
|
+
"name": "ScopedElementsMixin",
|
|
988
|
+
"package": "@open-wc/scoped-elements/lit-element.js"
|
|
859
989
|
}
|
|
860
990
|
],
|
|
861
991
|
"superclass": {
|
|
862
|
-
"name": "
|
|
863
|
-
"
|
|
992
|
+
"name": "LitElement",
|
|
993
|
+
"package": "lit"
|
|
864
994
|
},
|
|
865
|
-
"tagName": "oscd-action-
|
|
995
|
+
"tagName": "oscd-action-pane",
|
|
866
996
|
"customElement": true,
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"cssParts": [],
|
|
870
|
-
"cssStates": [],
|
|
871
|
-
"events": [],
|
|
872
|
-
"slots": []
|
|
997
|
+
"summary": "A responsive container rendering actions in a header.",
|
|
998
|
+
"modulePath": "action-pane/OscdActionPane.ts"
|
|
873
999
|
}
|
|
874
1000
|
],
|
|
875
1001
|
"exports": [
|
|
876
1002
|
{
|
|
877
1003
|
"kind": "js",
|
|
878
|
-
"name": "
|
|
1004
|
+
"name": "OscdActionPane",
|
|
879
1005
|
"declaration": {
|
|
880
|
-
"name": "
|
|
881
|
-
"module": "action-
|
|
1006
|
+
"name": "OscdActionPane",
|
|
1007
|
+
"module": "action-pane/OscdActionPane.ts"
|
|
882
1008
|
}
|
|
883
1009
|
}
|
|
884
1010
|
]
|
|
@@ -891,6 +1017,33 @@
|
|
|
891
1017
|
"kind": "class",
|
|
892
1018
|
"description": "",
|
|
893
1019
|
"name": "OscdActionTree",
|
|
1020
|
+
"cssProperties": [
|
|
1021
|
+
{
|
|
1022
|
+
"description": "Tree text color.",
|
|
1023
|
+
"name": "--oscd-action-tree-font-color",
|
|
1024
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"description": "Horizontal grid line color.",
|
|
1028
|
+
"name": "--oscd-action-tree-horizontal-grid-color",
|
|
1029
|
+
"default": "var(--md-sys-color-outline-variant, #cac4d0)"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"description": "Vertical grid line color.",
|
|
1033
|
+
"name": "--oscd-action-tree-vertical-grid-color",
|
|
1034
|
+
"default": "var(--md-sys-color-outline-variant, #cac4d0)"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"description": "Row background color.",
|
|
1038
|
+
"name": "--oscd-action-tree-background-color",
|
|
1039
|
+
"default": "transparent"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"description": "Fold icon transition duration.",
|
|
1043
|
+
"name": "--oscd-action-tree-fold-duration",
|
|
1044
|
+
"default": "200ms"
|
|
1045
|
+
}
|
|
1046
|
+
],
|
|
894
1047
|
"members": [
|
|
895
1048
|
{
|
|
896
1049
|
"kind": "field",
|
|
@@ -1068,111 +1221,12 @@
|
|
|
1068
1221
|
},
|
|
1069
1222
|
{
|
|
1070
1223
|
"kind": "javascript-module",
|
|
1071
|
-
"path": "
|
|
1072
|
-
"declarations": [
|
|
1073
|
-
{
|
|
1074
|
-
"kind": "class",
|
|
1075
|
-
"description": "A component that renders an app bar.\n\nThe app bar is a top-level navigation component that displays information and actions relating to the current screen.\nIt can contain a title, navigation icons, and action icons.\nThe app bar is typically used in conjunction with a navigation drawer or bottom navigation.",
|
|
1076
|
-
"name": "OscdAppBar",
|
|
1077
|
-
"cssProperties": [
|
|
1078
|
-
{
|
|
1079
|
-
"description": "The elevation level of the app bar.",
|
|
1080
|
-
"name": "--oscd-app-bar-elevation"
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
"description": "The shadow color of the app bar.",
|
|
1084
|
-
"name": "--oscd-app-bar-shadow-color"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"description": "The color of the app bar.",
|
|
1088
|
-
"name": "--oscd-app-bar-color"
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
"description": "The background color of the app bar.",
|
|
1092
|
-
"name": "--oscd-app-bar-background-color"
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"description": "The font family of the app bar title.",
|
|
1096
|
-
"name": "--oscd-app-bar-title-font-family"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"description": "The font size of the app bar title.",
|
|
1100
|
-
"name": "--oscd-app-bar-title-font-size"
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"description": "The line height of the app bar title.",
|
|
1104
|
-
"name": "--oscd-app-bar-title-line-height"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"description": "The font weight of the app bar title.",
|
|
1108
|
-
"name": "--oscd-app-bar-title-font-weight"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"description": "The color of the icon button in the app bar.",
|
|
1112
|
-
"name": "--md-icon-button-icon-color"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
"slots": [
|
|
1116
|
-
{
|
|
1117
|
-
"description": "Slot for action icons at the start of the app bar.",
|
|
1118
|
-
"name": "alignStart"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"description": "Slot for the middle content of the app bar.",
|
|
1122
|
-
"name": "alignMiddle"
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
"description": "Slot for action icons at the end of the app bar.",
|
|
1126
|
-
"name": "alignEnd"
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"description": "Slot for additional content which will appear immediately under the main app bar.",
|
|
1130
|
-
"name": "Default"
|
|
1131
|
-
}
|
|
1132
|
-
],
|
|
1133
|
-
"members": [
|
|
1134
|
-
{
|
|
1135
|
-
"kind": "field",
|
|
1136
|
-
"name": "scopedElements",
|
|
1137
|
-
"static": true,
|
|
1138
|
-
"readonly": true
|
|
1139
|
-
}
|
|
1140
|
-
],
|
|
1141
|
-
"mixins": [
|
|
1142
|
-
{
|
|
1143
|
-
"name": "ScopedElementsMixin",
|
|
1144
|
-
"package": "@open-wc/scoped-elements/lit-element.js"
|
|
1145
|
-
}
|
|
1146
|
-
],
|
|
1147
|
-
"superclass": {
|
|
1148
|
-
"name": "LitElement",
|
|
1149
|
-
"package": "lit"
|
|
1150
|
-
},
|
|
1151
|
-
"tagName": "oscd-app-bar",
|
|
1152
|
-
"customElement": true,
|
|
1153
|
-
"summary": "A component that renders an app bar.\n\nThe app bar is a top-level navigation component that displays information and actions relating to the current screen.\nIt can contain a title, navigation icons, and action icons.\nThe app bar is typically used in conjunction with a navigation drawer or bottom navigation.",
|
|
1154
|
-
"modulePath": "app-bar/OscdAppBar.ts"
|
|
1155
|
-
}
|
|
1156
|
-
],
|
|
1157
|
-
"exports": [
|
|
1158
|
-
{
|
|
1159
|
-
"kind": "js",
|
|
1160
|
-
"name": "OscdAppBar",
|
|
1161
|
-
"declaration": {
|
|
1162
|
-
"name": "OscdAppBar",
|
|
1163
|
-
"module": "app-bar/OscdAppBar.ts"
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
]
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"kind": "javascript-module",
|
|
1170
|
-
"path": "button/OscdElevatedButton.ts",
|
|
1224
|
+
"path": "checkbox/OscdCheckbox.ts",
|
|
1171
1225
|
"declarations": [
|
|
1172
1226
|
{
|
|
1173
1227
|
"kind": "class",
|
|
1174
|
-
"description": "
|
|
1175
|
-
"name": "
|
|
1228
|
+
"description": "Checkboxes allow users to select one or more items from a set.\nCheckboxes can turn an option on or off.\n\nUse checkboxes to:\n- Select one or more options from a list\n- Present a list containing sub-selections\n- Turn an item on or off in a desktop environment",
|
|
1229
|
+
"name": "OscdCheckbox",
|
|
1176
1230
|
"members": [
|
|
1177
1231
|
{
|
|
1178
1232
|
"kind": "field",
|
|
@@ -1181,291 +1235,239 @@
|
|
|
1181
1235
|
"text": "object"
|
|
1182
1236
|
},
|
|
1183
1237
|
"static": true,
|
|
1184
|
-
"default": "{ 'md-ripple': OscdRipple, 'md-focus-ring': OscdFocusRing,
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"kind": "method",
|
|
1188
|
-
"name": "renderElevationOrOutline",
|
|
1189
|
-
"privacy": "protected",
|
|
1190
|
-
"return": {
|
|
1191
|
-
"type": {
|
|
1192
|
-
"text": "unknown"
|
|
1193
|
-
}
|
|
1194
|
-
},
|
|
1195
|
-
"inheritedFrom": {
|
|
1196
|
-
"name": "Button",
|
|
1197
|
-
"module": "button/internal/button.ts"
|
|
1198
|
-
}
|
|
1238
|
+
"default": "{ 'md-ripple': OscdRipple, 'md-focus-ring': OscdFocusRing, }"
|
|
1199
1239
|
},
|
|
1200
1240
|
{
|
|
1201
1241
|
"kind": "field",
|
|
1202
|
-
"name": "
|
|
1242
|
+
"name": "shadowRootOptions",
|
|
1203
1243
|
"type": {
|
|
1204
|
-
"text": "
|
|
1244
|
+
"text": "object"
|
|
1205
1245
|
},
|
|
1206
1246
|
"static": true,
|
|
1207
|
-
"
|
|
1208
|
-
"default": "true",
|
|
1247
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }",
|
|
1209
1248
|
"inheritedFrom": {
|
|
1210
|
-
"name": "
|
|
1211
|
-
"module": "
|
|
1249
|
+
"name": "Checkbox",
|
|
1250
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1212
1251
|
}
|
|
1213
1252
|
},
|
|
1214
1253
|
{
|
|
1215
1254
|
"kind": "field",
|
|
1216
|
-
"name": "
|
|
1255
|
+
"name": "checked",
|
|
1217
1256
|
"type": {
|
|
1218
|
-
"text": "
|
|
1257
|
+
"text": "boolean"
|
|
1219
1258
|
},
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1259
|
+
"default": "false",
|
|
1260
|
+
"description": "Whether or not the checkbox is selected.",
|
|
1261
|
+
"attribute": "checked",
|
|
1222
1262
|
"inheritedFrom": {
|
|
1223
|
-
"name": "
|
|
1224
|
-
"module": "
|
|
1263
|
+
"name": "Checkbox",
|
|
1264
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1225
1265
|
}
|
|
1226
1266
|
},
|
|
1227
1267
|
{
|
|
1228
1268
|
"kind": "field",
|
|
1229
|
-
"name": "
|
|
1269
|
+
"name": "indeterminate",
|
|
1230
1270
|
"type": {
|
|
1231
1271
|
"text": "boolean"
|
|
1232
1272
|
},
|
|
1233
1273
|
"default": "false",
|
|
1234
|
-
"description": "Whether or not the
|
|
1235
|
-
"attribute": "
|
|
1236
|
-
"reflects": true,
|
|
1274
|
+
"description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes",
|
|
1275
|
+
"attribute": "indeterminate",
|
|
1237
1276
|
"inheritedFrom": {
|
|
1238
|
-
"name": "
|
|
1239
|
-
"module": "
|
|
1277
|
+
"name": "Checkbox",
|
|
1278
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1240
1279
|
}
|
|
1241
1280
|
},
|
|
1242
1281
|
{
|
|
1243
1282
|
"kind": "field",
|
|
1244
|
-
"name": "
|
|
1283
|
+
"name": "required",
|
|
1245
1284
|
"type": {
|
|
1246
1285
|
"text": "boolean"
|
|
1247
1286
|
},
|
|
1248
1287
|
"default": "false",
|
|
1249
|
-
"description": "
|
|
1250
|
-
"attribute": "
|
|
1251
|
-
"reflects": true,
|
|
1288
|
+
"description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation",
|
|
1289
|
+
"attribute": "required",
|
|
1252
1290
|
"inheritedFrom": {
|
|
1253
|
-
"name": "
|
|
1254
|
-
"module": "
|
|
1291
|
+
"name": "Checkbox",
|
|
1292
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1255
1293
|
}
|
|
1256
1294
|
},
|
|
1257
1295
|
{
|
|
1258
1296
|
"kind": "field",
|
|
1259
|
-
"name": "
|
|
1297
|
+
"name": "value",
|
|
1260
1298
|
"type": {
|
|
1261
1299
|
"text": "string"
|
|
1262
1300
|
},
|
|
1263
|
-
"default": "''",
|
|
1264
|
-
"description": "The
|
|
1265
|
-
"attribute": "
|
|
1301
|
+
"default": "'on'",
|
|
1302
|
+
"description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value",
|
|
1303
|
+
"attribute": "value",
|
|
1266
1304
|
"inheritedFrom": {
|
|
1267
|
-
"name": "
|
|
1268
|
-
"module": "
|
|
1305
|
+
"name": "Checkbox",
|
|
1306
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1269
1307
|
}
|
|
1270
1308
|
},
|
|
1271
1309
|
{
|
|
1272
1310
|
"kind": "field",
|
|
1273
|
-
"name": "
|
|
1311
|
+
"name": "prevChecked",
|
|
1274
1312
|
"type": {
|
|
1275
|
-
"text": "
|
|
1313
|
+
"text": "boolean"
|
|
1276
1314
|
},
|
|
1277
|
-
"
|
|
1278
|
-
"
|
|
1279
|
-
"attribute": "download",
|
|
1315
|
+
"privacy": "private",
|
|
1316
|
+
"default": "false",
|
|
1280
1317
|
"inheritedFrom": {
|
|
1281
|
-
"name": "
|
|
1282
|
-
"module": "
|
|
1318
|
+
"name": "Checkbox",
|
|
1319
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1283
1320
|
}
|
|
1284
1321
|
},
|
|
1285
1322
|
{
|
|
1286
1323
|
"kind": "field",
|
|
1287
|
-
"name": "
|
|
1324
|
+
"name": "prevDisabled",
|
|
1288
1325
|
"type": {
|
|
1289
|
-
"text": "
|
|
1326
|
+
"text": "boolean"
|
|
1290
1327
|
},
|
|
1291
|
-
"
|
|
1292
|
-
"
|
|
1293
|
-
"attribute": "target",
|
|
1328
|
+
"privacy": "private",
|
|
1329
|
+
"default": "false",
|
|
1294
1330
|
"inheritedFrom": {
|
|
1295
|
-
"name": "
|
|
1296
|
-
"module": "
|
|
1331
|
+
"name": "Checkbox",
|
|
1332
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1297
1333
|
}
|
|
1298
1334
|
},
|
|
1299
1335
|
{
|
|
1300
1336
|
"kind": "field",
|
|
1301
|
-
"name": "
|
|
1337
|
+
"name": "prevIndeterminate",
|
|
1302
1338
|
"type": {
|
|
1303
1339
|
"text": "boolean"
|
|
1304
1340
|
},
|
|
1341
|
+
"privacy": "private",
|
|
1305
1342
|
"default": "false",
|
|
1306
|
-
"description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.",
|
|
1307
|
-
"attribute": "trailing-icon",
|
|
1308
|
-
"reflects": true,
|
|
1309
1343
|
"inheritedFrom": {
|
|
1310
|
-
"name": "
|
|
1311
|
-
"module": "
|
|
1344
|
+
"name": "Checkbox",
|
|
1345
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1312
1346
|
}
|
|
1313
1347
|
},
|
|
1314
1348
|
{
|
|
1315
1349
|
"kind": "field",
|
|
1316
|
-
"name": "
|
|
1350
|
+
"name": "input",
|
|
1317
1351
|
"type": {
|
|
1318
|
-
"text": "
|
|
1319
|
-
},
|
|
1320
|
-
"default": "false",
|
|
1321
|
-
"description": "Whether to display the icon or not.",
|
|
1322
|
-
"attribute": "has-icon",
|
|
1323
|
-
"reflects": true,
|
|
1324
|
-
"inheritedFrom": {
|
|
1325
|
-
"name": "Button",
|
|
1326
|
-
"module": "button/internal/button.ts"
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
"kind": "field",
|
|
1331
|
-
"name": "type",
|
|
1332
|
-
"type": {
|
|
1333
|
-
"text": "FormSubmitterType"
|
|
1334
|
-
},
|
|
1335
|
-
"default": "'submit'",
|
|
1336
|
-
"description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).",
|
|
1337
|
-
"attribute": "type",
|
|
1338
|
-
"inheritedFrom": {
|
|
1339
|
-
"name": "Button",
|
|
1340
|
-
"module": "button/internal/button.ts"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"kind": "field",
|
|
1345
|
-
"name": "value",
|
|
1346
|
-
"type": {
|
|
1347
|
-
"text": "string"
|
|
1352
|
+
"text": "HTMLInputElement | null"
|
|
1348
1353
|
},
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"attribute": "value",
|
|
1352
|
-
"reflects": true,
|
|
1354
|
+
"privacy": "private",
|
|
1355
|
+
"readonly": true,
|
|
1353
1356
|
"inheritedFrom": {
|
|
1354
|
-
"name": "
|
|
1355
|
-
"module": "
|
|
1357
|
+
"name": "Checkbox",
|
|
1358
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1356
1359
|
}
|
|
1357
1360
|
},
|
|
1358
1361
|
{
|
|
1359
|
-
"kind": "
|
|
1360
|
-
"name": "
|
|
1362
|
+
"kind": "method",
|
|
1363
|
+
"name": "handleInput",
|
|
1364
|
+
"privacy": "private",
|
|
1365
|
+
"parameters": [
|
|
1366
|
+
{
|
|
1367
|
+
"name": "event",
|
|
1368
|
+
"type": {
|
|
1369
|
+
"text": "Event"
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
],
|
|
1361
1373
|
"inheritedFrom": {
|
|
1362
|
-
"name": "
|
|
1363
|
-
"module": "
|
|
1374
|
+
"name": "Checkbox",
|
|
1375
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1364
1376
|
}
|
|
1365
1377
|
},
|
|
1366
1378
|
{
|
|
1367
|
-
"kind": "
|
|
1368
|
-
"name": "
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1379
|
+
"kind": "method",
|
|
1380
|
+
"name": "handleChange",
|
|
1381
|
+
"privacy": "private",
|
|
1382
|
+
"parameters": [
|
|
1383
|
+
{
|
|
1384
|
+
"name": "event",
|
|
1385
|
+
"type": {
|
|
1386
|
+
"text": "Event"
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
],
|
|
1371
1390
|
"inheritedFrom": {
|
|
1372
|
-
"name": "
|
|
1373
|
-
"module": "
|
|
1391
|
+
"name": "Checkbox",
|
|
1392
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1374
1393
|
}
|
|
1375
1394
|
},
|
|
1376
1395
|
{
|
|
1377
1396
|
"kind": "field",
|
|
1378
|
-
"name": "
|
|
1397
|
+
"name": "disabled",
|
|
1379
1398
|
"type": {
|
|
1380
|
-
"text": "
|
|
1399
|
+
"text": "boolean"
|
|
1381
1400
|
},
|
|
1382
|
-
"privacy": "private",
|
|
1383
|
-
"readonly": true,
|
|
1384
1401
|
"inheritedFrom": {
|
|
1385
|
-
"name": "
|
|
1386
|
-
"module": "
|
|
1402
|
+
"name": "Checkbox",
|
|
1403
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1387
1404
|
}
|
|
1388
1405
|
},
|
|
1389
1406
|
{
|
|
1390
1407
|
"kind": "field",
|
|
1391
|
-
"name": "
|
|
1408
|
+
"name": "name",
|
|
1392
1409
|
"type": {
|
|
1393
|
-
"text": "
|
|
1410
|
+
"text": "string"
|
|
1394
1411
|
},
|
|
1395
|
-
"privacy": "private",
|
|
1396
|
-
"readonly": true,
|
|
1397
|
-
"inheritedFrom": {
|
|
1398
|
-
"name": "Button",
|
|
1399
|
-
"module": "button/internal/button.ts"
|
|
1400
|
-
}
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "method",
|
|
1404
|
-
"name": "focus",
|
|
1405
|
-
"inheritedFrom": {
|
|
1406
|
-
"name": "Button",
|
|
1407
|
-
"module": "button/internal/button.ts"
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"kind": "method",
|
|
1412
|
-
"name": "blur",
|
|
1413
1412
|
"inheritedFrom": {
|
|
1414
|
-
"name": "
|
|
1415
|
-
"module": "
|
|
1413
|
+
"name": "Checkbox",
|
|
1414
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1416
1415
|
}
|
|
1417
1416
|
},
|
|
1418
1417
|
{
|
|
1419
1418
|
"kind": "method",
|
|
1420
|
-
"name": "
|
|
1421
|
-
"privacy": "private",
|
|
1419
|
+
"name": "[getFormValue]",
|
|
1422
1420
|
"inheritedFrom": {
|
|
1423
|
-
"name": "
|
|
1424
|
-
"module": "
|
|
1421
|
+
"name": "Checkbox",
|
|
1422
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1425
1423
|
}
|
|
1426
1424
|
},
|
|
1427
1425
|
{
|
|
1428
1426
|
"kind": "method",
|
|
1429
|
-
"name": "
|
|
1430
|
-
"privacy": "private",
|
|
1427
|
+
"name": "[getFormState]",
|
|
1431
1428
|
"inheritedFrom": {
|
|
1432
|
-
"name": "
|
|
1433
|
-
"module": "
|
|
1429
|
+
"name": "Checkbox",
|
|
1430
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1434
1431
|
}
|
|
1435
1432
|
},
|
|
1436
1433
|
{
|
|
1437
1434
|
"kind": "method",
|
|
1438
|
-
"name": "
|
|
1439
|
-
"privacy": "private",
|
|
1435
|
+
"name": "formResetCallback",
|
|
1440
1436
|
"inheritedFrom": {
|
|
1441
|
-
"name": "
|
|
1442
|
-
"module": "
|
|
1437
|
+
"name": "Checkbox",
|
|
1438
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1443
1439
|
}
|
|
1444
1440
|
},
|
|
1445
1441
|
{
|
|
1446
1442
|
"kind": "method",
|
|
1447
|
-
"name": "
|
|
1448
|
-
"privacy": "private",
|
|
1443
|
+
"name": "formStateRestoreCallback",
|
|
1449
1444
|
"parameters": [
|
|
1450
1445
|
{
|
|
1451
|
-
"name": "
|
|
1446
|
+
"name": "state",
|
|
1452
1447
|
"type": {
|
|
1453
|
-
"text": "
|
|
1448
|
+
"text": "string"
|
|
1454
1449
|
}
|
|
1455
1450
|
}
|
|
1456
1451
|
],
|
|
1457
1452
|
"inheritedFrom": {
|
|
1458
|
-
"name": "
|
|
1459
|
-
"module": "
|
|
1453
|
+
"name": "Checkbox",
|
|
1454
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1460
1455
|
}
|
|
1461
1456
|
},
|
|
1462
1457
|
{
|
|
1463
1458
|
"kind": "method",
|
|
1464
|
-
"name": "
|
|
1465
|
-
"privacy": "private",
|
|
1459
|
+
"name": "[createValidator]",
|
|
1466
1460
|
"inheritedFrom": {
|
|
1467
|
-
"name": "
|
|
1468
|
-
"module": "
|
|
1461
|
+
"name": "Checkbox",
|
|
1462
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"kind": "method",
|
|
1467
|
+
"name": "[getValidityAnchor]",
|
|
1468
|
+
"inheritedFrom": {
|
|
1469
|
+
"name": "Checkbox",
|
|
1470
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1469
1471
|
}
|
|
1470
1472
|
}
|
|
1471
1473
|
],
|
|
@@ -1476,153 +1478,106 @@
|
|
|
1476
1478
|
}
|
|
1477
1479
|
],
|
|
1478
1480
|
"superclass": {
|
|
1479
|
-
"name": "
|
|
1480
|
-
"package": "@omicronenergy/oscd-material-web-base/
|
|
1481
|
+
"name": "Checkbox",
|
|
1482
|
+
"package": "@omicronenergy/oscd-material-web-base/checkbox/internal/checkbox.js"
|
|
1481
1483
|
},
|
|
1482
|
-
"tagName": "oscd-
|
|
1484
|
+
"tagName": "oscd-checkbox",
|
|
1483
1485
|
"customElement": true,
|
|
1484
|
-
"summary": "
|
|
1486
|
+
"summary": "Checkboxes allow users to select one or more items from a set.\nCheckboxes can turn an option on or off.\n\nUse checkboxes to:\n- Select one or more options from a list\n- Present a list containing sub-selections\n- Turn an item on or off in a desktop environment",
|
|
1485
1487
|
"attributes": [
|
|
1486
1488
|
{
|
|
1487
|
-
"name": "
|
|
1489
|
+
"name": "checked",
|
|
1488
1490
|
"type": {
|
|
1489
1491
|
"text": "boolean"
|
|
1490
1492
|
},
|
|
1491
1493
|
"default": "false",
|
|
1492
|
-
"description": "Whether or not the
|
|
1493
|
-
"fieldName": "
|
|
1494
|
+
"description": "Whether or not the checkbox is selected.",
|
|
1495
|
+
"fieldName": "checked",
|
|
1494
1496
|
"inheritedFrom": {
|
|
1495
|
-
"name": "
|
|
1496
|
-
"module": "
|
|
1497
|
+
"name": "Checkbox",
|
|
1498
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1497
1499
|
}
|
|
1498
1500
|
},
|
|
1499
1501
|
{
|
|
1500
|
-
"name": "
|
|
1502
|
+
"name": "indeterminate",
|
|
1501
1503
|
"type": {
|
|
1502
1504
|
"text": "boolean"
|
|
1503
1505
|
},
|
|
1504
1506
|
"default": "false",
|
|
1505
|
-
"description": "Whether or not the
|
|
1506
|
-
"fieldName": "
|
|
1507
|
+
"description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes",
|
|
1508
|
+
"fieldName": "indeterminate",
|
|
1507
1509
|
"inheritedFrom": {
|
|
1508
|
-
"name": "
|
|
1509
|
-
"module": "
|
|
1510
|
+
"name": "Checkbox",
|
|
1511
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1510
1512
|
}
|
|
1511
1513
|
},
|
|
1512
1514
|
{
|
|
1513
|
-
"name": "
|
|
1515
|
+
"name": "required",
|
|
1514
1516
|
"type": {
|
|
1515
|
-
"text": "
|
|
1517
|
+
"text": "boolean"
|
|
1516
1518
|
},
|
|
1517
|
-
"default": "
|
|
1518
|
-
"description": "
|
|
1519
|
-
"fieldName": "
|
|
1519
|
+
"default": "false",
|
|
1520
|
+
"description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation",
|
|
1521
|
+
"fieldName": "required",
|
|
1520
1522
|
"inheritedFrom": {
|
|
1521
|
-
"name": "
|
|
1522
|
-
"module": "
|
|
1523
|
+
"name": "Checkbox",
|
|
1524
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1523
1525
|
}
|
|
1524
1526
|
},
|
|
1525
1527
|
{
|
|
1526
|
-
"name": "
|
|
1528
|
+
"name": "value",
|
|
1527
1529
|
"type": {
|
|
1528
1530
|
"text": "string"
|
|
1529
1531
|
},
|
|
1530
|
-
"default": "''",
|
|
1531
|
-
"description": "The
|
|
1532
|
-
"fieldName": "
|
|
1533
|
-
"inheritedFrom": {
|
|
1534
|
-
"name": "Button",
|
|
1535
|
-
"module": "button/internal/button.ts"
|
|
1536
|
-
}
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
"name": "target",
|
|
1540
|
-
"type": {
|
|
1541
|
-
"text": "'_blank' | '_parent' | '_self' | '_top' | ''"
|
|
1542
|
-
},
|
|
1543
|
-
"default": "''",
|
|
1544
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
1545
|
-
"fieldName": "target",
|
|
1532
|
+
"default": "'on'",
|
|
1533
|
+
"description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value",
|
|
1534
|
+
"fieldName": "value",
|
|
1546
1535
|
"inheritedFrom": {
|
|
1547
|
-
"name": "
|
|
1548
|
-
"module": "
|
|
1536
|
+
"name": "Checkbox",
|
|
1537
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1549
1538
|
}
|
|
1550
|
-
}
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
"events": [
|
|
1551
1542
|
{
|
|
1552
|
-
"
|
|
1553
|
-
"
|
|
1554
|
-
"text": "boolean"
|
|
1555
|
-
},
|
|
1556
|
-
"default": "false",
|
|
1557
|
-
"description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.",
|
|
1558
|
-
"fieldName": "trailingIcon",
|
|
1543
|
+
"description": "{Event} The native `change` event on [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) --bubbles",
|
|
1544
|
+
"name": "change",
|
|
1559
1545
|
"inheritedFrom": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "
|
|
1546
|
+
"name": "Checkbox",
|
|
1547
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1562
1548
|
}
|
|
1563
1549
|
},
|
|
1564
1550
|
{
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1567
|
-
"text": "boolean"
|
|
1568
|
-
},
|
|
1569
|
-
"default": "false",
|
|
1570
|
-
"description": "Whether to display the icon or not.",
|
|
1571
|
-
"fieldName": "hasIcon",
|
|
1551
|
+
"description": "{InputEvent} The native `input` event on [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event) --bubbles --composed",
|
|
1552
|
+
"name": "input",
|
|
1572
1553
|
"inheritedFrom": {
|
|
1573
|
-
"name": "
|
|
1574
|
-
"module": "
|
|
1575
|
-
}
|
|
1576
|
-
},
|
|
1577
|
-
{
|
|
1578
|
-
"name": "type",
|
|
1579
|
-
"type": {
|
|
1580
|
-
"text": "FormSubmitterType"
|
|
1581
|
-
},
|
|
1582
|
-
"default": "'submit'",
|
|
1583
|
-
"description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).",
|
|
1584
|
-
"fieldName": "type",
|
|
1585
|
-
"inheritedFrom": {
|
|
1586
|
-
"name": "Button",
|
|
1587
|
-
"module": "button/internal/button.ts"
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"name": "value",
|
|
1592
|
-
"type": {
|
|
1593
|
-
"text": "string"
|
|
1594
|
-
},
|
|
1595
|
-
"default": "''",
|
|
1596
|
-
"description": "The value added to a form with the button's name when the button submits a\nform.",
|
|
1597
|
-
"fieldName": "value",
|
|
1598
|
-
"inheritedFrom": {
|
|
1599
|
-
"name": "Button",
|
|
1600
|
-
"module": "button/internal/button.ts"
|
|
1554
|
+
"name": "Checkbox",
|
|
1555
|
+
"module": "checkbox/internal/checkbox.ts"
|
|
1601
1556
|
}
|
|
1602
1557
|
}
|
|
1603
1558
|
],
|
|
1604
|
-
"modulePath": "
|
|
1559
|
+
"modulePath": "checkbox/OscdCheckbox.ts"
|
|
1605
1560
|
}
|
|
1606
1561
|
],
|
|
1607
1562
|
"exports": [
|
|
1608
1563
|
{
|
|
1609
1564
|
"kind": "js",
|
|
1610
|
-
"name": "
|
|
1565
|
+
"name": "OscdCheckbox",
|
|
1611
1566
|
"declaration": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "
|
|
1567
|
+
"name": "OscdCheckbox",
|
|
1568
|
+
"module": "checkbox/OscdCheckbox.ts"
|
|
1614
1569
|
}
|
|
1615
1570
|
}
|
|
1616
1571
|
]
|
|
1617
1572
|
},
|
|
1618
1573
|
{
|
|
1619
1574
|
"kind": "javascript-module",
|
|
1620
|
-
"path": "button/
|
|
1575
|
+
"path": "button/OscdElevatedButton.ts",
|
|
1621
1576
|
"declarations": [
|
|
1622
1577
|
{
|
|
1623
1578
|
"kind": "class",
|
|
1624
|
-
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
1625
|
-
"name": "
|
|
1579
|
+
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Elevated buttons are essentially filled buttons with a lighter\nbackground color and a shadow. To prevent shadow creep, only use them when\nabsolutely necessary, such as when the button requires visual separation from\na patterned background.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash",
|
|
1580
|
+
"name": "OscdElevatedButton",
|
|
1626
1581
|
"members": [
|
|
1627
1582
|
{
|
|
1628
1583
|
"kind": "field",
|
|
@@ -1926,12 +1881,12 @@
|
|
|
1926
1881
|
}
|
|
1927
1882
|
],
|
|
1928
1883
|
"superclass": {
|
|
1929
|
-
"name": "
|
|
1930
|
-
"package": "@omicronenergy/oscd-material-web-base/button/internal/
|
|
1884
|
+
"name": "ElevatedButton",
|
|
1885
|
+
"package": "@omicronenergy/oscd-material-web-base/button/internal/elevated-button.js"
|
|
1931
1886
|
},
|
|
1932
|
-
"tagName": "oscd-
|
|
1887
|
+
"tagName": "oscd-elevated-button",
|
|
1933
1888
|
"customElement": true,
|
|
1934
|
-
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
1889
|
+
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Elevated buttons are essentially filled buttons with a lighter\nbackground color and a shadow. To prevent shadow creep, only use them when\nabsolutely necessary, such as when the button requires visual separation from\na patterned background.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash",
|
|
1935
1890
|
"attributes": [
|
|
1936
1891
|
{
|
|
1937
1892
|
"name": "disabled",
|
|
@@ -2051,28 +2006,28 @@
|
|
|
2051
2006
|
}
|
|
2052
2007
|
}
|
|
2053
2008
|
],
|
|
2054
|
-
"modulePath": "button/
|
|
2009
|
+
"modulePath": "button/OscdElevatedButton.ts"
|
|
2055
2010
|
}
|
|
2056
2011
|
],
|
|
2057
2012
|
"exports": [
|
|
2058
2013
|
{
|
|
2059
2014
|
"kind": "js",
|
|
2060
|
-
"name": "
|
|
2015
|
+
"name": "OscdElevatedButton",
|
|
2061
2016
|
"declaration": {
|
|
2062
|
-
"name": "
|
|
2063
|
-
"module": "button/
|
|
2017
|
+
"name": "OscdElevatedButton",
|
|
2018
|
+
"module": "button/OscdElevatedButton.ts"
|
|
2064
2019
|
}
|
|
2065
2020
|
}
|
|
2066
2021
|
]
|
|
2067
2022
|
},
|
|
2068
2023
|
{
|
|
2069
2024
|
"kind": "javascript-module",
|
|
2070
|
-
"path": "button/
|
|
2025
|
+
"path": "button/OscdFilledButton.ts",
|
|
2071
2026
|
"declarations": [
|
|
2072
2027
|
{
|
|
2073
2028
|
"kind": "class",
|
|
2074
|
-
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
2075
|
-
"name": "
|
|
2029
|
+
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The filled button’s contrasting surface color makes it the\nmost prominent button after the FAB. It’s used for final or unblocking\nactions in a flow.\n\n__Example usages:__\n- Save\n- Confirm\n- Done",
|
|
2030
|
+
"name": "OscdFilledButton",
|
|
2076
2031
|
"members": [
|
|
2077
2032
|
{
|
|
2078
2033
|
"kind": "field",
|
|
@@ -2376,12 +2331,12 @@
|
|
|
2376
2331
|
}
|
|
2377
2332
|
],
|
|
2378
2333
|
"superclass": {
|
|
2379
|
-
"name": "
|
|
2380
|
-
"package": "@omicronenergy/oscd-material-web-base/button/internal/filled-
|
|
2334
|
+
"name": "FilledButton",
|
|
2335
|
+
"package": "@omicronenergy/oscd-material-web-base/button/internal/filled-button.js"
|
|
2381
2336
|
},
|
|
2382
|
-
"tagName": "oscd-filled-
|
|
2337
|
+
"tagName": "oscd-filled-button",
|
|
2383
2338
|
"customElement": true,
|
|
2384
|
-
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
2339
|
+
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The filled button’s contrasting surface color makes it the\nmost prominent button after the FAB. It’s used for final or unblocking\nactions in a flow.\n\n__Example usages:__\n- Save\n- Confirm\n- Done",
|
|
2385
2340
|
"attributes": [
|
|
2386
2341
|
{
|
|
2387
2342
|
"name": "disabled",
|
|
@@ -2501,28 +2456,28 @@
|
|
|
2501
2456
|
}
|
|
2502
2457
|
}
|
|
2503
2458
|
],
|
|
2504
|
-
"modulePath": "button/
|
|
2459
|
+
"modulePath": "button/OscdFilledButton.ts"
|
|
2505
2460
|
}
|
|
2506
2461
|
],
|
|
2507
2462
|
"exports": [
|
|
2508
2463
|
{
|
|
2509
2464
|
"kind": "js",
|
|
2510
|
-
"name": "
|
|
2465
|
+
"name": "OscdFilledButton",
|
|
2511
2466
|
"declaration": {
|
|
2512
|
-
"name": "
|
|
2513
|
-
"module": "button/
|
|
2467
|
+
"name": "OscdFilledButton",
|
|
2468
|
+
"module": "button/OscdFilledButton.ts"
|
|
2514
2469
|
}
|
|
2515
2470
|
}
|
|
2516
2471
|
]
|
|
2517
2472
|
},
|
|
2518
2473
|
{
|
|
2519
2474
|
"kind": "javascript-module",
|
|
2520
|
-
"path": "button/
|
|
2475
|
+
"path": "button/OscdFilledTonalButton.ts",
|
|
2521
2476
|
"declarations": [
|
|
2522
2477
|
{
|
|
2523
2478
|
"kind": "class",
|
|
2524
|
-
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__
|
|
2525
|
-
"name": "
|
|
2479
|
+
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Filled tonal buttons have a lighter background color and\ndarker label color, making them less visually prominent than a regular,\nfilled button. They’re still used for final or unblocking actions in a flow,\nbut do so with less emphasis.\n\n__Example usages:__\n- Save\n- Confirm\n- Done",
|
|
2480
|
+
"name": "OscdFilledTonalButton",
|
|
2526
2481
|
"members": [
|
|
2527
2482
|
{
|
|
2528
2483
|
"kind": "field",
|
|
@@ -2531,7 +2486,7 @@
|
|
|
2531
2486
|
"text": "object"
|
|
2532
2487
|
},
|
|
2533
2488
|
"static": true,
|
|
2534
|
-
"default": "{ 'md-ripple': OscdRipple, 'md-focus-ring': OscdFocusRing, }"
|
|
2489
|
+
"default": "{ 'md-ripple': OscdRipple, 'md-focus-ring': OscdFocusRing, 'md-elevation': OscdElevation, }"
|
|
2535
2490
|
},
|
|
2536
2491
|
{
|
|
2537
2492
|
"kind": "method",
|
|
@@ -2826,12 +2781,12 @@
|
|
|
2826
2781
|
}
|
|
2827
2782
|
],
|
|
2828
2783
|
"superclass": {
|
|
2829
|
-
"name": "
|
|
2830
|
-
"package": "@omicronenergy/oscd-material-web-base/button/internal/
|
|
2784
|
+
"name": "FilledTonalButton",
|
|
2785
|
+
"package": "@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-button.js"
|
|
2831
2786
|
},
|
|
2832
|
-
"tagName": "oscd-
|
|
2787
|
+
"tagName": "oscd-filled-tonal-button",
|
|
2833
2788
|
"customElement": true,
|
|
2834
|
-
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__
|
|
2789
|
+
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Filled tonal buttons have a lighter background color and\ndarker label color, making them less visually prominent than a regular,\nfilled button. They’re still used for final or unblocking actions in a flow,\nbut do so with less emphasis.\n\n__Example usages:__\n- Save\n- Confirm\n- Done",
|
|
2835
2790
|
"attributes": [
|
|
2836
2791
|
{
|
|
2837
2792
|
"name": "disabled",
|
|
@@ -2951,28 +2906,28 @@
|
|
|
2951
2906
|
}
|
|
2952
2907
|
}
|
|
2953
2908
|
],
|
|
2954
|
-
"modulePath": "button/
|
|
2909
|
+
"modulePath": "button/OscdFilledTonalButton.ts"
|
|
2955
2910
|
}
|
|
2956
2911
|
],
|
|
2957
2912
|
"exports": [
|
|
2958
2913
|
{
|
|
2959
2914
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2915
|
+
"name": "OscdFilledTonalButton",
|
|
2961
2916
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "button/
|
|
2917
|
+
"name": "OscdFilledTonalButton",
|
|
2918
|
+
"module": "button/OscdFilledTonalButton.ts"
|
|
2964
2919
|
}
|
|
2965
2920
|
}
|
|
2966
2921
|
]
|
|
2967
2922
|
},
|
|
2968
2923
|
{
|
|
2969
2924
|
"kind": "javascript-module",
|
|
2970
|
-
"path": "button/
|
|
2925
|
+
"path": "button/OscdOutlinedButton.ts",
|
|
2971
2926
|
"declarations": [
|
|
2972
2927
|
{
|
|
2973
2928
|
"kind": "class",
|
|
2974
|
-
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
2975
|
-
"name": "
|
|
2929
|
+
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Use an outlined button for actions that need attention but\naren’t the primary action, such as “See all” or “Add to cart.” This is also\nthe button to use for giving someone the opportunity to change their mind or\nescape a flow.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash",
|
|
2930
|
+
"name": "OscdOutlinedButton",
|
|
2976
2931
|
"members": [
|
|
2977
2932
|
{
|
|
2978
2933
|
"kind": "field",
|
|
@@ -2983,6 +2938,20 @@
|
|
|
2983
2938
|
"static": true,
|
|
2984
2939
|
"default": "{ 'md-ripple': OscdRipple, 'md-focus-ring': OscdFocusRing, }"
|
|
2985
2940
|
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "method",
|
|
2943
|
+
"name": "renderElevationOrOutline",
|
|
2944
|
+
"privacy": "protected",
|
|
2945
|
+
"return": {
|
|
2946
|
+
"type": {
|
|
2947
|
+
"text": "unknown"
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
"inheritedFrom": {
|
|
2951
|
+
"name": "Button",
|
|
2952
|
+
"module": "button/internal/button.ts"
|
|
2953
|
+
}
|
|
2954
|
+
},
|
|
2986
2955
|
{
|
|
2987
2956
|
"kind": "field",
|
|
2988
2957
|
"name": "formAssociated",
|
|
@@ -3201,20 +3170,6 @@
|
|
|
3201
3170
|
"module": "button/internal/button.ts"
|
|
3202
3171
|
}
|
|
3203
3172
|
},
|
|
3204
|
-
{
|
|
3205
|
-
"kind": "method",
|
|
3206
|
-
"name": "renderElevationOrOutline",
|
|
3207
|
-
"privacy": "protected",
|
|
3208
|
-
"return": {
|
|
3209
|
-
"type": {
|
|
3210
|
-
"text": "unknown"
|
|
3211
|
-
}
|
|
3212
|
-
},
|
|
3213
|
-
"inheritedFrom": {
|
|
3214
|
-
"name": "Button",
|
|
3215
|
-
"module": "button/internal/button.ts"
|
|
3216
|
-
}
|
|
3217
|
-
},
|
|
3218
3173
|
{
|
|
3219
3174
|
"kind": "method",
|
|
3220
3175
|
"name": "renderButton",
|
|
@@ -3276,12 +3231,12 @@
|
|
|
3276
3231
|
}
|
|
3277
3232
|
],
|
|
3278
3233
|
"superclass": {
|
|
3279
|
-
"name": "
|
|
3280
|
-
"package": "@omicronenergy/oscd-material-web-base/button/internal/
|
|
3234
|
+
"name": "OutlinedButton",
|
|
3235
|
+
"package": "@omicronenergy/oscd-material-web-base/button/internal/outlined-button.js"
|
|
3281
3236
|
},
|
|
3282
|
-
"tagName": "oscd-
|
|
3237
|
+
"tagName": "oscd-outlined-button",
|
|
3283
3238
|
"customElement": true,
|
|
3284
|
-
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__
|
|
3239
|
+
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Use an outlined button for actions that need attention but\naren’t the primary action, such as “See all” or “Add to cart.” This is also\nthe button to use for giving someone the opportunity to change their mind or\nescape a flow.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash",
|
|
3285
3240
|
"attributes": [
|
|
3286
3241
|
{
|
|
3287
3242
|
"name": "disabled",
|
|
@@ -3401,28 +3356,28 @@
|
|
|
3401
3356
|
}
|
|
3402
3357
|
}
|
|
3403
3358
|
],
|
|
3404
|
-
"modulePath": "button/
|
|
3359
|
+
"modulePath": "button/OscdOutlinedButton.ts"
|
|
3405
3360
|
}
|
|
3406
3361
|
],
|
|
3407
3362
|
"exports": [
|
|
3408
3363
|
{
|
|
3409
3364
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3365
|
+
"name": "OscdOutlinedButton",
|
|
3411
3366
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"module": "button/
|
|
3367
|
+
"name": "OscdOutlinedButton",
|
|
3368
|
+
"module": "button/OscdOutlinedButton.ts"
|
|
3414
3369
|
}
|
|
3415
3370
|
}
|
|
3416
3371
|
]
|
|
3417
3372
|
},
|
|
3418
3373
|
{
|
|
3419
3374
|
"kind": "javascript-module",
|
|
3420
|
-
"path": "
|
|
3375
|
+
"path": "button/OscdTextButton.ts",
|
|
3421
3376
|
"declarations": [
|
|
3422
3377
|
{
|
|
3423
3378
|
"kind": "class",
|
|
3424
|
-
"description": "
|
|
3425
|
-
"name": "
|
|
3379
|
+
"description": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence\n\n__Rationale:__ Text buttons have less visual prominence, so should be used\nfor low emphasis actions, such as an alternative option.\n\n__Example usages:__\n- Learn more\n- View all\n- Change account\n- Turn on",
|
|
3380
|
+
"name": "OscdTextButton",
|
|
3426
3381
|
"members": [
|
|
3427
3382
|
{
|
|
3428
3383
|
"kind": "field",
|
|
@@ -3435,235 +3390,287 @@
|
|
|
3435
3390
|
},
|
|
3436
3391
|
{
|
|
3437
3392
|
"kind": "field",
|
|
3438
|
-
"name": "
|
|
3393
|
+
"name": "formAssociated",
|
|
3439
3394
|
"type": {
|
|
3440
|
-
"text": "
|
|
3395
|
+
"text": "boolean"
|
|
3441
3396
|
},
|
|
3442
3397
|
"static": true,
|
|
3443
|
-
"
|
|
3398
|
+
"readonly": true,
|
|
3399
|
+
"default": "true",
|
|
3444
3400
|
"inheritedFrom": {
|
|
3445
|
-
"name": "
|
|
3446
|
-
"module": "
|
|
3401
|
+
"name": "Button",
|
|
3402
|
+
"module": "button/internal/button.ts"
|
|
3447
3403
|
}
|
|
3448
3404
|
},
|
|
3449
3405
|
{
|
|
3450
3406
|
"kind": "field",
|
|
3451
|
-
"name": "
|
|
3407
|
+
"name": "shadowRootOptions",
|
|
3452
3408
|
"type": {
|
|
3453
|
-
"text": "
|
|
3409
|
+
"text": "ShadowRootInit"
|
|
3454
3410
|
},
|
|
3455
|
-
"
|
|
3456
|
-
"
|
|
3457
|
-
"attribute": "checked",
|
|
3411
|
+
"static": true,
|
|
3412
|
+
"default": "{ mode: 'open', delegatesFocus: true, }",
|
|
3458
3413
|
"inheritedFrom": {
|
|
3459
|
-
"name": "
|
|
3460
|
-
"module": "
|
|
3414
|
+
"name": "Button",
|
|
3415
|
+
"module": "button/internal/button.ts"
|
|
3461
3416
|
}
|
|
3462
3417
|
},
|
|
3463
3418
|
{
|
|
3464
3419
|
"kind": "field",
|
|
3465
|
-
"name": "
|
|
3420
|
+
"name": "disabled",
|
|
3466
3421
|
"type": {
|
|
3467
3422
|
"text": "boolean"
|
|
3468
3423
|
},
|
|
3469
3424
|
"default": "false",
|
|
3470
|
-
"description": "Whether or not the
|
|
3471
|
-
"attribute": "
|
|
3425
|
+
"description": "Whether or not the button is disabled.",
|
|
3426
|
+
"attribute": "disabled",
|
|
3427
|
+
"reflects": true,
|
|
3472
3428
|
"inheritedFrom": {
|
|
3473
|
-
"name": "
|
|
3474
|
-
"module": "
|
|
3429
|
+
"name": "Button",
|
|
3430
|
+
"module": "button/internal/button.ts"
|
|
3475
3431
|
}
|
|
3476
3432
|
},
|
|
3477
3433
|
{
|
|
3478
3434
|
"kind": "field",
|
|
3479
|
-
"name": "
|
|
3435
|
+
"name": "softDisabled",
|
|
3480
3436
|
"type": {
|
|
3481
3437
|
"text": "boolean"
|
|
3482
3438
|
},
|
|
3483
3439
|
"default": "false",
|
|
3484
|
-
"description": "
|
|
3485
|
-
"attribute": "
|
|
3440
|
+
"description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.",
|
|
3441
|
+
"attribute": "soft-disabled",
|
|
3442
|
+
"reflects": true,
|
|
3486
3443
|
"inheritedFrom": {
|
|
3487
|
-
"name": "
|
|
3488
|
-
"module": "
|
|
3444
|
+
"name": "Button",
|
|
3445
|
+
"module": "button/internal/button.ts"
|
|
3489
3446
|
}
|
|
3490
3447
|
},
|
|
3491
3448
|
{
|
|
3492
3449
|
"kind": "field",
|
|
3493
|
-
"name": "
|
|
3450
|
+
"name": "href",
|
|
3494
3451
|
"type": {
|
|
3495
3452
|
"text": "string"
|
|
3496
3453
|
},
|
|
3497
|
-
"default": "'
|
|
3498
|
-
"description": "The
|
|
3499
|
-
"attribute": "
|
|
3454
|
+
"default": "''",
|
|
3455
|
+
"description": "The URL that the link button points to.",
|
|
3456
|
+
"attribute": "href",
|
|
3500
3457
|
"inheritedFrom": {
|
|
3501
|
-
"name": "
|
|
3502
|
-
"module": "
|
|
3458
|
+
"name": "Button",
|
|
3459
|
+
"module": "button/internal/button.ts"
|
|
3503
3460
|
}
|
|
3504
3461
|
},
|
|
3505
3462
|
{
|
|
3506
3463
|
"kind": "field",
|
|
3507
|
-
"name": "
|
|
3464
|
+
"name": "download",
|
|
3508
3465
|
"type": {
|
|
3509
|
-
"text": "
|
|
3466
|
+
"text": "string"
|
|
3510
3467
|
},
|
|
3511
|
-
"
|
|
3512
|
-
"
|
|
3468
|
+
"default": "''",
|
|
3469
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
3470
|
+
"attribute": "download",
|
|
3513
3471
|
"inheritedFrom": {
|
|
3514
|
-
"name": "
|
|
3515
|
-
"module": "
|
|
3472
|
+
"name": "Button",
|
|
3473
|
+
"module": "button/internal/button.ts"
|
|
3516
3474
|
}
|
|
3517
3475
|
},
|
|
3518
3476
|
{
|
|
3519
3477
|
"kind": "field",
|
|
3520
|
-
"name": "
|
|
3478
|
+
"name": "target",
|
|
3521
3479
|
"type": {
|
|
3522
|
-
"text": "
|
|
3480
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | ''"
|
|
3523
3481
|
},
|
|
3524
|
-
"
|
|
3525
|
-
"
|
|
3482
|
+
"default": "''",
|
|
3483
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
3484
|
+
"attribute": "target",
|
|
3526
3485
|
"inheritedFrom": {
|
|
3527
|
-
"name": "
|
|
3528
|
-
"module": "
|
|
3486
|
+
"name": "Button",
|
|
3487
|
+
"module": "button/internal/button.ts"
|
|
3529
3488
|
}
|
|
3530
3489
|
},
|
|
3531
3490
|
{
|
|
3532
3491
|
"kind": "field",
|
|
3533
|
-
"name": "
|
|
3492
|
+
"name": "trailingIcon",
|
|
3534
3493
|
"type": {
|
|
3535
3494
|
"text": "boolean"
|
|
3536
3495
|
},
|
|
3537
|
-
"privacy": "private",
|
|
3538
3496
|
"default": "false",
|
|
3497
|
+
"description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.",
|
|
3498
|
+
"attribute": "trailing-icon",
|
|
3499
|
+
"reflects": true,
|
|
3539
3500
|
"inheritedFrom": {
|
|
3540
|
-
"name": "
|
|
3541
|
-
"module": "
|
|
3501
|
+
"name": "Button",
|
|
3502
|
+
"module": "button/internal/button.ts"
|
|
3542
3503
|
}
|
|
3543
3504
|
},
|
|
3544
3505
|
{
|
|
3545
3506
|
"kind": "field",
|
|
3546
|
-
"name": "
|
|
3507
|
+
"name": "hasIcon",
|
|
3547
3508
|
"type": {
|
|
3548
|
-
"text": "
|
|
3509
|
+
"text": "boolean"
|
|
3549
3510
|
},
|
|
3550
|
-
"
|
|
3551
|
-
"
|
|
3511
|
+
"default": "false",
|
|
3512
|
+
"description": "Whether to display the icon or not.",
|
|
3513
|
+
"attribute": "has-icon",
|
|
3514
|
+
"reflects": true,
|
|
3552
3515
|
"inheritedFrom": {
|
|
3553
|
-
"name": "
|
|
3554
|
-
"module": "
|
|
3516
|
+
"name": "Button",
|
|
3517
|
+
"module": "button/internal/button.ts"
|
|
3555
3518
|
}
|
|
3556
3519
|
},
|
|
3557
3520
|
{
|
|
3558
|
-
"kind": "
|
|
3559
|
-
"name": "
|
|
3560
|
-
"
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
}
|
|
3567
|
-
}
|
|
3568
|
-
],
|
|
3521
|
+
"kind": "field",
|
|
3522
|
+
"name": "type",
|
|
3523
|
+
"type": {
|
|
3524
|
+
"text": "FormSubmitterType"
|
|
3525
|
+
},
|
|
3526
|
+
"default": "'submit'",
|
|
3527
|
+
"description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).",
|
|
3528
|
+
"attribute": "type",
|
|
3569
3529
|
"inheritedFrom": {
|
|
3570
|
-
"name": "
|
|
3571
|
-
"module": "
|
|
3530
|
+
"name": "Button",
|
|
3531
|
+
"module": "button/internal/button.ts"
|
|
3572
3532
|
}
|
|
3573
3533
|
},
|
|
3574
3534
|
{
|
|
3575
|
-
"kind": "
|
|
3576
|
-
"name": "
|
|
3577
|
-
"
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
}
|
|
3585
|
-
],
|
|
3535
|
+
"kind": "field",
|
|
3536
|
+
"name": "value",
|
|
3537
|
+
"type": {
|
|
3538
|
+
"text": "string"
|
|
3539
|
+
},
|
|
3540
|
+
"default": "''",
|
|
3541
|
+
"description": "The value added to a form with the button's name when the button submits a\nform.",
|
|
3542
|
+
"attribute": "value",
|
|
3543
|
+
"reflects": true,
|
|
3586
3544
|
"inheritedFrom": {
|
|
3587
|
-
"name": "
|
|
3588
|
-
"module": "
|
|
3545
|
+
"name": "Button",
|
|
3546
|
+
"module": "button/internal/button.ts"
|
|
3589
3547
|
}
|
|
3590
3548
|
},
|
|
3591
3549
|
{
|
|
3592
3550
|
"kind": "field",
|
|
3593
|
-
"name": "
|
|
3551
|
+
"name": "name",
|
|
3552
|
+
"inheritedFrom": {
|
|
3553
|
+
"name": "Button",
|
|
3554
|
+
"module": "button/internal/button.ts"
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"kind": "field",
|
|
3559
|
+
"name": "form",
|
|
3560
|
+
"description": "The associated form element with which this element's value will submit.",
|
|
3561
|
+
"readonly": true,
|
|
3562
|
+
"inheritedFrom": {
|
|
3563
|
+
"name": "Button",
|
|
3564
|
+
"module": "button/internal/button.ts"
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"kind": "field",
|
|
3569
|
+
"name": "buttonElement",
|
|
3594
3570
|
"type": {
|
|
3595
|
-
"text": "
|
|
3571
|
+
"text": "HTMLElement | null"
|
|
3596
3572
|
},
|
|
3573
|
+
"privacy": "private",
|
|
3574
|
+
"readonly": true,
|
|
3597
3575
|
"inheritedFrom": {
|
|
3598
|
-
"name": "
|
|
3599
|
-
"module": "
|
|
3576
|
+
"name": "Button",
|
|
3577
|
+
"module": "button/internal/button.ts"
|
|
3600
3578
|
}
|
|
3601
3579
|
},
|
|
3602
3580
|
{
|
|
3603
3581
|
"kind": "field",
|
|
3604
|
-
"name": "
|
|
3582
|
+
"name": "assignedIcons",
|
|
3605
3583
|
"type": {
|
|
3606
|
-
"text": "
|
|
3584
|
+
"text": "HTMLElement[]"
|
|
3585
|
+
},
|
|
3586
|
+
"privacy": "private",
|
|
3587
|
+
"readonly": true,
|
|
3588
|
+
"inheritedFrom": {
|
|
3589
|
+
"name": "Button",
|
|
3590
|
+
"module": "button/internal/button.ts"
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
{
|
|
3594
|
+
"kind": "method",
|
|
3595
|
+
"name": "focus",
|
|
3596
|
+
"inheritedFrom": {
|
|
3597
|
+
"name": "Button",
|
|
3598
|
+
"module": "button/internal/button.ts"
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
{
|
|
3602
|
+
"kind": "method",
|
|
3603
|
+
"name": "blur",
|
|
3604
|
+
"inheritedFrom": {
|
|
3605
|
+
"name": "Button",
|
|
3606
|
+
"module": "button/internal/button.ts"
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"kind": "method",
|
|
3611
|
+
"name": "renderElevationOrOutline",
|
|
3612
|
+
"privacy": "protected",
|
|
3613
|
+
"return": {
|
|
3614
|
+
"type": {
|
|
3615
|
+
"text": "unknown"
|
|
3616
|
+
}
|
|
3607
3617
|
},
|
|
3608
3618
|
"inheritedFrom": {
|
|
3609
|
-
"name": "
|
|
3610
|
-
"module": "
|
|
3619
|
+
"name": "Button",
|
|
3620
|
+
"module": "button/internal/button.ts"
|
|
3611
3621
|
}
|
|
3612
3622
|
},
|
|
3613
3623
|
{
|
|
3614
3624
|
"kind": "method",
|
|
3615
|
-
"name": "
|
|
3625
|
+
"name": "renderButton",
|
|
3626
|
+
"privacy": "private",
|
|
3616
3627
|
"inheritedFrom": {
|
|
3617
|
-
"name": "
|
|
3618
|
-
"module": "
|
|
3628
|
+
"name": "Button",
|
|
3629
|
+
"module": "button/internal/button.ts"
|
|
3619
3630
|
}
|
|
3620
3631
|
},
|
|
3621
3632
|
{
|
|
3622
3633
|
"kind": "method",
|
|
3623
|
-
"name": "
|
|
3634
|
+
"name": "renderLink",
|
|
3635
|
+
"privacy": "private",
|
|
3624
3636
|
"inheritedFrom": {
|
|
3625
|
-
"name": "
|
|
3626
|
-
"module": "
|
|
3637
|
+
"name": "Button",
|
|
3638
|
+
"module": "button/internal/button.ts"
|
|
3627
3639
|
}
|
|
3628
3640
|
},
|
|
3629
3641
|
{
|
|
3630
3642
|
"kind": "method",
|
|
3631
|
-
"name": "
|
|
3643
|
+
"name": "renderContent",
|
|
3644
|
+
"privacy": "private",
|
|
3632
3645
|
"inheritedFrom": {
|
|
3633
|
-
"name": "
|
|
3634
|
-
"module": "
|
|
3646
|
+
"name": "Button",
|
|
3647
|
+
"module": "button/internal/button.ts"
|
|
3635
3648
|
}
|
|
3636
3649
|
},
|
|
3637
3650
|
{
|
|
3638
3651
|
"kind": "method",
|
|
3639
|
-
"name": "
|
|
3652
|
+
"name": "handleClick",
|
|
3653
|
+
"privacy": "private",
|
|
3640
3654
|
"parameters": [
|
|
3641
3655
|
{
|
|
3642
|
-
"name": "
|
|
3656
|
+
"name": "event",
|
|
3643
3657
|
"type": {
|
|
3644
|
-
"text": "
|
|
3658
|
+
"text": "MouseEvent"
|
|
3645
3659
|
}
|
|
3646
3660
|
}
|
|
3647
3661
|
],
|
|
3648
3662
|
"inheritedFrom": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "
|
|
3651
|
-
}
|
|
3652
|
-
},
|
|
3653
|
-
{
|
|
3654
|
-
"kind": "method",
|
|
3655
|
-
"name": "[createValidator]",
|
|
3656
|
-
"inheritedFrom": {
|
|
3657
|
-
"name": "Checkbox",
|
|
3658
|
-
"module": "checkbox/internal/checkbox.ts"
|
|
3663
|
+
"name": "Button",
|
|
3664
|
+
"module": "button/internal/button.ts"
|
|
3659
3665
|
}
|
|
3660
3666
|
},
|
|
3661
3667
|
{
|
|
3662
3668
|
"kind": "method",
|
|
3663
|
-
"name": "
|
|
3669
|
+
"name": "handleSlotChange",
|
|
3670
|
+
"privacy": "private",
|
|
3664
3671
|
"inheritedFrom": {
|
|
3665
|
-
"name": "
|
|
3666
|
-
"module": "
|
|
3672
|
+
"name": "Button",
|
|
3673
|
+
"module": "button/internal/button.ts"
|
|
3667
3674
|
}
|
|
3668
3675
|
}
|
|
3669
3676
|
],
|
|
@@ -3674,94 +3681,284 @@
|
|
|
3674
3681
|
}
|
|
3675
3682
|
],
|
|
3676
3683
|
"superclass": {
|
|
3677
|
-
"name": "
|
|
3678
|
-
"package": "@omicronenergy/oscd-material-web-base/
|
|
3684
|
+
"name": "TextButton",
|
|
3685
|
+
"package": "@omicronenergy/oscd-material-web-base/button/internal/text-button.js"
|
|
3679
3686
|
},
|
|
3680
|
-
"tagName": "oscd-
|
|
3687
|
+
"tagName": "oscd-text-button",
|
|
3681
3688
|
"customElement": true,
|
|
3682
|
-
"summary": "
|
|
3689
|
+
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.\n\n__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence\n\n__Rationale:__ Text buttons have less visual prominence, so should be used\nfor low emphasis actions, such as an alternative option.\n\n__Example usages:__\n- Learn more\n- View all\n- Change account\n- Turn on",
|
|
3683
3690
|
"attributes": [
|
|
3684
3691
|
{
|
|
3685
|
-
"name": "
|
|
3692
|
+
"name": "disabled",
|
|
3686
3693
|
"type": {
|
|
3687
3694
|
"text": "boolean"
|
|
3688
3695
|
},
|
|
3689
3696
|
"default": "false",
|
|
3690
|
-
"description": "Whether or not the
|
|
3691
|
-
"fieldName": "
|
|
3697
|
+
"description": "Whether or not the button is disabled.",
|
|
3698
|
+
"fieldName": "disabled",
|
|
3692
3699
|
"inheritedFrom": {
|
|
3693
|
-
"name": "
|
|
3694
|
-
"module": "
|
|
3700
|
+
"name": "Button",
|
|
3701
|
+
"module": "button/internal/button.ts"
|
|
3695
3702
|
}
|
|
3696
3703
|
},
|
|
3697
3704
|
{
|
|
3698
|
-
"name": "
|
|
3705
|
+
"name": "soft-disabled",
|
|
3699
3706
|
"type": {
|
|
3700
3707
|
"text": "boolean"
|
|
3701
3708
|
},
|
|
3702
3709
|
"default": "false",
|
|
3703
|
-
"description": "Whether or not the
|
|
3704
|
-
"fieldName": "
|
|
3710
|
+
"description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.",
|
|
3711
|
+
"fieldName": "softDisabled",
|
|
3705
3712
|
"inheritedFrom": {
|
|
3706
|
-
"name": "
|
|
3707
|
-
"module": "
|
|
3713
|
+
"name": "Button",
|
|
3714
|
+
"module": "button/internal/button.ts"
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"name": "href",
|
|
3719
|
+
"type": {
|
|
3720
|
+
"text": "string"
|
|
3721
|
+
},
|
|
3722
|
+
"default": "''",
|
|
3723
|
+
"description": "The URL that the link button points to.",
|
|
3724
|
+
"fieldName": "href",
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Button",
|
|
3727
|
+
"module": "button/internal/button.ts"
|
|
3728
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"name": "download",
|
|
3732
|
+
"type": {
|
|
3733
|
+
"text": "string"
|
|
3734
|
+
},
|
|
3735
|
+
"default": "''",
|
|
3736
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
3737
|
+
"fieldName": "download",
|
|
3738
|
+
"inheritedFrom": {
|
|
3739
|
+
"name": "Button",
|
|
3740
|
+
"module": "button/internal/button.ts"
|
|
3741
|
+
}
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
"name": "target",
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | ''"
|
|
3747
|
+
},
|
|
3748
|
+
"default": "''",
|
|
3749
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
3750
|
+
"fieldName": "target",
|
|
3751
|
+
"inheritedFrom": {
|
|
3752
|
+
"name": "Button",
|
|
3753
|
+
"module": "button/internal/button.ts"
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
"name": "trailing-icon",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "boolean"
|
|
3760
|
+
},
|
|
3761
|
+
"default": "false",
|
|
3762
|
+
"description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.",
|
|
3763
|
+
"fieldName": "trailingIcon",
|
|
3764
|
+
"inheritedFrom": {
|
|
3765
|
+
"name": "Button",
|
|
3766
|
+
"module": "button/internal/button.ts"
|
|
3767
|
+
}
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"name": "has-icon",
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "boolean"
|
|
3773
|
+
},
|
|
3774
|
+
"default": "false",
|
|
3775
|
+
"description": "Whether to display the icon or not.",
|
|
3776
|
+
"fieldName": "hasIcon",
|
|
3777
|
+
"inheritedFrom": {
|
|
3778
|
+
"name": "Button",
|
|
3779
|
+
"module": "button/internal/button.ts"
|
|
3780
|
+
}
|
|
3781
|
+
},
|
|
3782
|
+
{
|
|
3783
|
+
"name": "type",
|
|
3784
|
+
"type": {
|
|
3785
|
+
"text": "FormSubmitterType"
|
|
3786
|
+
},
|
|
3787
|
+
"default": "'submit'",
|
|
3788
|
+
"description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).",
|
|
3789
|
+
"fieldName": "type",
|
|
3790
|
+
"inheritedFrom": {
|
|
3791
|
+
"name": "Button",
|
|
3792
|
+
"module": "button/internal/button.ts"
|
|
3708
3793
|
}
|
|
3709
3794
|
},
|
|
3710
3795
|
{
|
|
3711
|
-
"name": "
|
|
3796
|
+
"name": "value",
|
|
3797
|
+
"type": {
|
|
3798
|
+
"text": "string"
|
|
3799
|
+
},
|
|
3800
|
+
"default": "''",
|
|
3801
|
+
"description": "The value added to a form with the button's name when the button submits a\nform.",
|
|
3802
|
+
"fieldName": "value",
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Button",
|
|
3805
|
+
"module": "button/internal/button.ts"
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
],
|
|
3809
|
+
"modulePath": "button/OscdTextButton.ts"
|
|
3810
|
+
}
|
|
3811
|
+
],
|
|
3812
|
+
"exports": [
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "js",
|
|
3815
|
+
"name": "OscdTextButton",
|
|
3816
|
+
"declaration": {
|
|
3817
|
+
"name": "OscdTextButton",
|
|
3818
|
+
"module": "button/OscdTextButton.ts"
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
]
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "javascript-module",
|
|
3825
|
+
"path": "app-bar/OscdAppBar.ts",
|
|
3826
|
+
"declarations": [
|
|
3827
|
+
{
|
|
3828
|
+
"kind": "class",
|
|
3829
|
+
"description": "A component that renders an app bar.\n\nThe app bar is a top-level navigation component that displays information and actions relating to the current screen.\nIt can contain a title, navigation icons, and action icons.\nThe app bar is typically used in conjunction with a navigation drawer or bottom navigation.\n\nThe main row follows the MD3 small top-app-bar defaults. Set `scrolled` when\nthe consumer determines that the page has scrolled. The sub-bar keeps its\nprimary-colored appearance in either state.",
|
|
3830
|
+
"name": "OscdAppBar",
|
|
3831
|
+
"cssProperties": [
|
|
3832
|
+
{
|
|
3833
|
+
"description": "Main-row container color at rest.",
|
|
3834
|
+
"name": "--oscd-app-bar-container-color",
|
|
3835
|
+
"default": "var(--md-sys-color-surface, #fef7ff)"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"description": "Main-row elevation at rest.",
|
|
3839
|
+
"name": "--oscd-app-bar-container-elevation",
|
|
3840
|
+
"default": "0"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"description": "Main-row shadow color.",
|
|
3844
|
+
"name": "--oscd-app-bar-container-shadow-color",
|
|
3845
|
+
"default": "var(--md-sys-color-shadow, #000)"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"description": "Headline color.",
|
|
3849
|
+
"name": "--oscd-app-bar-headline-color",
|
|
3850
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
"description": "Headline font family.",
|
|
3854
|
+
"name": "--oscd-app-bar-headline-font",
|
|
3855
|
+
"default": "var(--md-sys-typescale-title-large-font, var(--md-ref-typeface-brand, Roboto))"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"description": "Headline font size.",
|
|
3859
|
+
"name": "--oscd-app-bar-headline-size",
|
|
3860
|
+
"default": "var(--md-sys-typescale-title-large-size, 1.375rem)"
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"description": "Headline line height.",
|
|
3864
|
+
"name": "--oscd-app-bar-headline-line-height",
|
|
3865
|
+
"default": "var(--md-sys-typescale-title-large-line-height, 1.75rem)"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"description": "Headline font weight.",
|
|
3869
|
+
"name": "--oscd-app-bar-headline-weight",
|
|
3870
|
+
"default": "var(--md-sys-typescale-title-large-weight, 400)"
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"description": "Leading icon color.",
|
|
3874
|
+
"name": "--oscd-app-bar-leading-icon-color",
|
|
3875
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"description": "Trailing icon color.",
|
|
3879
|
+
"name": "--oscd-app-bar-trailing-icon-color",
|
|
3880
|
+
"default": "var(--md-sys-color-on-surface-variant, #49454f)"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"description": "Main-row container color when `scrolled` is true.",
|
|
3884
|
+
"name": "--oscd-app-bar-on-scroll-container-color",
|
|
3885
|
+
"default": "var(--md-sys-color-surface-container, #f3edf7)"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"description": "Main-row elevation when `scrolled` is true.",
|
|
3889
|
+
"name": "--oscd-app-bar-on-scroll-container-elevation",
|
|
3890
|
+
"default": "2"
|
|
3891
|
+
}
|
|
3892
|
+
],
|
|
3893
|
+
"slots": [
|
|
3894
|
+
{
|
|
3895
|
+
"description": "Slot for action icons at the start of the app bar.",
|
|
3896
|
+
"name": "alignStart"
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
"description": "Slot for the headline content.",
|
|
3900
|
+
"name": "alignMiddle"
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
"description": "Slot for action icons at the end of the app bar.",
|
|
3904
|
+
"name": "alignEnd"
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"description": "Slot for additional content which will appear immediately under the main app bar.",
|
|
3908
|
+
"name": "Default"
|
|
3909
|
+
}
|
|
3910
|
+
],
|
|
3911
|
+
"members": [
|
|
3912
|
+
{
|
|
3913
|
+
"kind": "field",
|
|
3914
|
+
"name": "scopedElements",
|
|
3915
|
+
"static": true,
|
|
3916
|
+
"readonly": true
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"kind": "field",
|
|
3920
|
+
"name": "scrolled",
|
|
3712
3921
|
"type": {
|
|
3713
3922
|
"text": "boolean"
|
|
3714
3923
|
},
|
|
3715
3924
|
"default": "false",
|
|
3716
|
-
"
|
|
3717
|
-
"
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
}
|
|
3722
|
-
},
|
|
3925
|
+
"attribute": "scrolled",
|
|
3926
|
+
"reflects": true
|
|
3927
|
+
}
|
|
3928
|
+
],
|
|
3929
|
+
"attributes": [
|
|
3723
3930
|
{
|
|
3724
|
-
"name": "
|
|
3931
|
+
"name": "scrolled",
|
|
3725
3932
|
"type": {
|
|
3726
|
-
"text": "
|
|
3933
|
+
"text": "boolean"
|
|
3727
3934
|
},
|
|
3728
|
-
"default": "
|
|
3729
|
-
"
|
|
3730
|
-
"fieldName": "value",
|
|
3731
|
-
"inheritedFrom": {
|
|
3732
|
-
"name": "Checkbox",
|
|
3733
|
-
"module": "checkbox/internal/checkbox.ts"
|
|
3734
|
-
}
|
|
3935
|
+
"default": "false",
|
|
3936
|
+
"fieldName": "scrolled"
|
|
3735
3937
|
}
|
|
3736
3938
|
],
|
|
3737
|
-
"
|
|
3738
|
-
{
|
|
3739
|
-
"description": "{Event} The native `change` event on [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) --bubbles",
|
|
3740
|
-
"name": "change",
|
|
3741
|
-
"inheritedFrom": {
|
|
3742
|
-
"name": "Checkbox",
|
|
3743
|
-
"module": "checkbox/internal/checkbox.ts"
|
|
3744
|
-
}
|
|
3745
|
-
},
|
|
3939
|
+
"mixins": [
|
|
3746
3940
|
{
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3749
|
-
"inheritedFrom": {
|
|
3750
|
-
"name": "Checkbox",
|
|
3751
|
-
"module": "checkbox/internal/checkbox.ts"
|
|
3752
|
-
}
|
|
3941
|
+
"name": "ScopedElementsMixin",
|
|
3942
|
+
"package": "@open-wc/scoped-elements/lit-element.js"
|
|
3753
3943
|
}
|
|
3754
3944
|
],
|
|
3755
|
-
"
|
|
3945
|
+
"superclass": {
|
|
3946
|
+
"name": "LitElement",
|
|
3947
|
+
"package": "lit"
|
|
3948
|
+
},
|
|
3949
|
+
"tagName": "oscd-app-bar",
|
|
3950
|
+
"customElement": true,
|
|
3951
|
+
"summary": "A component that renders an app bar.\n\nThe app bar is a top-level navigation component that displays information and actions relating to the current screen.\nIt can contain a title, navigation icons, and action icons.\nThe app bar is typically used in conjunction with a navigation drawer or bottom navigation.\n\nThe main row follows the MD3 small top-app-bar defaults. Set `scrolled` when\nthe consumer determines that the page has scrolled. The sub-bar keeps its\nprimary-colored appearance in either state.",
|
|
3952
|
+
"modulePath": "app-bar/OscdAppBar.ts"
|
|
3756
3953
|
}
|
|
3757
3954
|
],
|
|
3758
3955
|
"exports": [
|
|
3759
3956
|
{
|
|
3760
3957
|
"kind": "js",
|
|
3761
|
-
"name": "
|
|
3958
|
+
"name": "OscdAppBar",
|
|
3762
3959
|
"declaration": {
|
|
3763
|
-
"name": "
|
|
3764
|
-
"module": "
|
|
3960
|
+
"name": "OscdAppBar",
|
|
3961
|
+
"module": "app-bar/OscdAppBar.ts"
|
|
3765
3962
|
}
|
|
3766
3963
|
}
|
|
3767
3964
|
]
|
|
@@ -9229,35 +9426,6 @@
|
|
|
9229
9426
|
}
|
|
9230
9427
|
]
|
|
9231
9428
|
},
|
|
9232
|
-
{
|
|
9233
|
-
"kind": "javascript-module",
|
|
9234
|
-
"path": "icon/OscdIcon.ts",
|
|
9235
|
-
"declarations": [
|
|
9236
|
-
{
|
|
9237
|
-
"kind": "class",
|
|
9238
|
-
"description": "Icon component that renders SCL domain icons by name or falls back to\nMaterial Symbols font ligatures.",
|
|
9239
|
-
"name": "OscdIcon",
|
|
9240
|
-
"members": [],
|
|
9241
|
-
"superclass": {
|
|
9242
|
-
"name": "Icon",
|
|
9243
|
-
"module": "/icon/internal/icon.js"
|
|
9244
|
-
},
|
|
9245
|
-
"tagName": "oscd-icon",
|
|
9246
|
-
"customElement": true,
|
|
9247
|
-
"modulePath": "icon/OscdIcon.ts"
|
|
9248
|
-
}
|
|
9249
|
-
],
|
|
9250
|
-
"exports": [
|
|
9251
|
-
{
|
|
9252
|
-
"kind": "js",
|
|
9253
|
-
"name": "OscdIcon",
|
|
9254
|
-
"declaration": {
|
|
9255
|
-
"name": "OscdIcon",
|
|
9256
|
-
"module": "icon/OscdIcon.ts"
|
|
9257
|
-
}
|
|
9258
|
-
}
|
|
9259
|
-
]
|
|
9260
|
-
},
|
|
9261
9429
|
{
|
|
9262
9430
|
"kind": "javascript-module",
|
|
9263
9431
|
"path": "iconbutton/OscdFilledIconButton.ts",
|
|
@@ -11402,6 +11570,35 @@
|
|
|
11402
11570
|
}
|
|
11403
11571
|
]
|
|
11404
11572
|
},
|
|
11573
|
+
{
|
|
11574
|
+
"kind": "javascript-module",
|
|
11575
|
+
"path": "icon/OscdIcon.ts",
|
|
11576
|
+
"declarations": [
|
|
11577
|
+
{
|
|
11578
|
+
"kind": "class",
|
|
11579
|
+
"description": "Icon component that renders SCL domain icons by name or falls back to\nMaterial Symbols font ligatures.",
|
|
11580
|
+
"name": "OscdIcon",
|
|
11581
|
+
"members": [],
|
|
11582
|
+
"superclass": {
|
|
11583
|
+
"name": "Icon",
|
|
11584
|
+
"module": "/icon/internal/icon.js"
|
|
11585
|
+
},
|
|
11586
|
+
"tagName": "oscd-icon",
|
|
11587
|
+
"customElement": true,
|
|
11588
|
+
"modulePath": "icon/OscdIcon.ts"
|
|
11589
|
+
}
|
|
11590
|
+
],
|
|
11591
|
+
"exports": [
|
|
11592
|
+
{
|
|
11593
|
+
"kind": "js",
|
|
11594
|
+
"name": "OscdIcon",
|
|
11595
|
+
"declaration": {
|
|
11596
|
+
"name": "OscdIcon",
|
|
11597
|
+
"module": "icon/OscdIcon.ts"
|
|
11598
|
+
}
|
|
11599
|
+
}
|
|
11600
|
+
]
|
|
11601
|
+
},
|
|
11405
11602
|
{
|
|
11406
11603
|
"kind": "javascript-module",
|
|
11407
11604
|
"path": "list/OscdList.ts",
|
|
@@ -13744,6 +13941,58 @@
|
|
|
13744
13941
|
"kind": "class",
|
|
13745
13942
|
"description": "A header for the navigation drawer.",
|
|
13746
13943
|
"name": "OscdNavigationDrawerHeader",
|
|
13944
|
+
"cssProperties": [
|
|
13945
|
+
{
|
|
13946
|
+
"description": "Embedded list-item headline color.",
|
|
13947
|
+
"name": "--md-list-item-label-text-color",
|
|
13948
|
+
"default": "var(--md-sys-color-on-surface, #1d1b20)"
|
|
13949
|
+
},
|
|
13950
|
+
{
|
|
13951
|
+
"description": "Embedded list-item headline font.",
|
|
13952
|
+
"name": "--md-list-item-label-text-font",
|
|
13953
|
+
"default": "var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto))"
|
|
13954
|
+
},
|
|
13955
|
+
{
|
|
13956
|
+
"description": "Embedded list-item headline size.",
|
|
13957
|
+
"name": "--md-list-item-label-text-size",
|
|
13958
|
+
"default": "var(--md-sys-typescale-body-large-size, 1rem)"
|
|
13959
|
+
},
|
|
13960
|
+
{
|
|
13961
|
+
"description": "Embedded list-item headline line height.",
|
|
13962
|
+
"name": "--md-list-item-label-text-line-height",
|
|
13963
|
+
"default": "var(--md-sys-typescale-body-large-line-height, 1.5rem)"
|
|
13964
|
+
},
|
|
13965
|
+
{
|
|
13966
|
+
"description": "Embedded list-item headline weight.",
|
|
13967
|
+
"name": "--md-list-item-label-text-weight",
|
|
13968
|
+
"default": "var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400))"
|
|
13969
|
+
},
|
|
13970
|
+
{
|
|
13971
|
+
"description": "Embedded list-item supporting text color.",
|
|
13972
|
+
"name": "--md-list-item-supporting-text-color",
|
|
13973
|
+
"default": "var(--md-sys-color-on-surface-variant, #49454f)"
|
|
13974
|
+
},
|
|
13975
|
+
{
|
|
13976
|
+
"description": "Embedded list-item supporting text font.",
|
|
13977
|
+
"name": "--md-list-item-supporting-text-font",
|
|
13978
|
+
"default": "var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto))"
|
|
13979
|
+
},
|
|
13980
|
+
{
|
|
13981
|
+
"description": "Embedded list-item supporting text size.",
|
|
13982
|
+
"name": "--md-list-item-supporting-text-size",
|
|
13983
|
+
"default": "var(--md-sys-typescale-body-medium-size, 0.875rem)"
|
|
13984
|
+
},
|
|
13985
|
+
{
|
|
13986
|
+
"description": "Embedded list-item supporting text line height.",
|
|
13987
|
+
"name": "--md-list-item-supporting-text-line-height",
|
|
13988
|
+
"default": "var(--md-sys-typescale-body-medium-line-height, 1.25rem)"
|
|
13989
|
+
},
|
|
13990
|
+
{
|
|
13991
|
+
"description": "Embedded list-item supporting text weight.",
|
|
13992
|
+
"name": "--md-list-item-supporting-text-weight",
|
|
13993
|
+
"default": "var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400))"
|
|
13994
|
+
}
|
|
13995
|
+
],
|
|
13747
13996
|
"members": [],
|
|
13748
13997
|
"superclass": {
|
|
13749
13998
|
"name": "ListItem",
|
|
@@ -15342,12 +15591,12 @@
|
|
|
15342
15591
|
},
|
|
15343
15592
|
{
|
|
15344
15593
|
"kind": "javascript-module",
|
|
15345
|
-
"path": "scl-
|
|
15594
|
+
"path": "scl-textfield/OscdSclTextField.ts",
|
|
15346
15595
|
"declarations": [
|
|
15347
15596
|
{
|
|
15348
15597
|
"kind": "class",
|
|
15349
15598
|
"description": "",
|
|
15350
|
-
"name": "
|
|
15599
|
+
"name": "OscdSclTextField",
|
|
15351
15600
|
"members": [
|
|
15352
15601
|
{
|
|
15353
15602
|
"kind": "field",
|
|
@@ -15356,7 +15605,7 @@
|
|
|
15356
15605
|
"text": "object"
|
|
15357
15606
|
},
|
|
15358
15607
|
"static": true,
|
|
15359
|
-
"default": "{ 'oscd-switch': OscdSwitch, 'oscd-
|
|
15608
|
+
"default": "{ 'oscd-filled-text-field': OscdFilledTextField, 'oscd-switch': OscdSwitch, 'oscd-icon': OscdIcon, 'oscd-icon-button': OscdIconButton, 'oscd-menu': OscdMenu, 'oscd-menu-item': OscdMenuItem, }"
|
|
15360
15609
|
},
|
|
15361
15610
|
{
|
|
15362
15611
|
"kind": "field",
|
|
@@ -15370,7 +15619,7 @@
|
|
|
15370
15619
|
},
|
|
15371
15620
|
{
|
|
15372
15621
|
"kind": "field",
|
|
15373
|
-
"name": "
|
|
15622
|
+
"name": "textFieldValue",
|
|
15374
15623
|
"type": {
|
|
15375
15624
|
"text": "string"
|
|
15376
15625
|
},
|
|
@@ -15383,17 +15632,8 @@
|
|
|
15383
15632
|
"description": "SCL attributes `value`, can only be `null` if [[`nullable`]].",
|
|
15384
15633
|
"type": {
|
|
15385
15634
|
"text": "string | null"
|
|
15386
|
-
}
|
|
15387
|
-
},
|
|
15388
|
-
{
|
|
15389
|
-
"kind": "field",
|
|
15390
|
-
"name": "selectOptions",
|
|
15391
|
-
"type": {
|
|
15392
|
-
"text": "string[]"
|
|
15393
15635
|
},
|
|
15394
|
-
"
|
|
15395
|
-
"description": "Value array be be renders as selection option inside the selection input",
|
|
15396
|
-
"attribute": "selectOptions"
|
|
15636
|
+
"attribute": "value"
|
|
15397
15637
|
},
|
|
15398
15638
|
{
|
|
15399
15639
|
"kind": "field",
|
|
@@ -15415,56 +15655,157 @@
|
|
|
15415
15655
|
},
|
|
15416
15656
|
{
|
|
15417
15657
|
"kind": "field",
|
|
15418
|
-
"name": "required",
|
|
15658
|
+
"name": "required",
|
|
15659
|
+
"type": {
|
|
15660
|
+
"text": "boolean"
|
|
15661
|
+
},
|
|
15662
|
+
"default": "false",
|
|
15663
|
+
"attribute": "required"
|
|
15664
|
+
},
|
|
15665
|
+
{
|
|
15666
|
+
"kind": "field",
|
|
15667
|
+
"name": "supportingText",
|
|
15668
|
+
"type": {
|
|
15669
|
+
"text": "string | undefined"
|
|
15670
|
+
},
|
|
15671
|
+
"attribute": "supportingText"
|
|
15672
|
+
},
|
|
15673
|
+
{
|
|
15674
|
+
"kind": "field",
|
|
15675
|
+
"name": "error",
|
|
15676
|
+
"type": {
|
|
15677
|
+
"text": "boolean"
|
|
15678
|
+
},
|
|
15679
|
+
"default": "false",
|
|
15680
|
+
"attribute": "error"
|
|
15681
|
+
},
|
|
15682
|
+
{
|
|
15683
|
+
"kind": "field",
|
|
15684
|
+
"name": "errorText",
|
|
15685
|
+
"type": {
|
|
15686
|
+
"text": "string | undefined"
|
|
15687
|
+
},
|
|
15688
|
+
"attribute": "errorText"
|
|
15689
|
+
},
|
|
15690
|
+
{
|
|
15691
|
+
"kind": "field",
|
|
15692
|
+
"name": "suffixText",
|
|
15693
|
+
"type": {
|
|
15694
|
+
"text": "string"
|
|
15695
|
+
},
|
|
15696
|
+
"default": "''",
|
|
15697
|
+
"description": "The inputs suffix text so long there is no [[`unit`]] defined",
|
|
15698
|
+
"attribute": "suffixText"
|
|
15699
|
+
},
|
|
15700
|
+
{
|
|
15701
|
+
"kind": "field",
|
|
15702
|
+
"name": "placeholder",
|
|
15703
|
+
"type": {
|
|
15704
|
+
"text": "string"
|
|
15705
|
+
},
|
|
15706
|
+
"default": "''",
|
|
15707
|
+
"attribute": "placeholder"
|
|
15708
|
+
},
|
|
15709
|
+
{
|
|
15710
|
+
"kind": "field",
|
|
15711
|
+
"name": "type",
|
|
15712
|
+
"type": {
|
|
15713
|
+
"text": "'number' | 'text'"
|
|
15714
|
+
},
|
|
15715
|
+
"default": "'text'",
|
|
15716
|
+
"attribute": "type"
|
|
15717
|
+
},
|
|
15718
|
+
{
|
|
15719
|
+
"kind": "field",
|
|
15720
|
+
"name": "pattern",
|
|
15721
|
+
"type": {
|
|
15722
|
+
"text": "string"
|
|
15723
|
+
},
|
|
15724
|
+
"default": "''",
|
|
15725
|
+
"attribute": "pattern"
|
|
15726
|
+
},
|
|
15727
|
+
{
|
|
15728
|
+
"kind": "field",
|
|
15729
|
+
"name": "max",
|
|
15730
|
+
"type": {
|
|
15731
|
+
"text": "string"
|
|
15732
|
+
},
|
|
15733
|
+
"default": "''",
|
|
15734
|
+
"attribute": "max"
|
|
15735
|
+
},
|
|
15736
|
+
{
|
|
15737
|
+
"kind": "field",
|
|
15738
|
+
"name": "min",
|
|
15739
|
+
"type": {
|
|
15740
|
+
"text": "string"
|
|
15741
|
+
},
|
|
15742
|
+
"default": "''",
|
|
15743
|
+
"attribute": "min"
|
|
15744
|
+
},
|
|
15745
|
+
{
|
|
15746
|
+
"kind": "field",
|
|
15747
|
+
"name": "maxLength",
|
|
15748
|
+
"type": {
|
|
15749
|
+
"text": "number"
|
|
15750
|
+
},
|
|
15751
|
+
"default": "-1",
|
|
15752
|
+
"attribute": "maxLength"
|
|
15753
|
+
},
|
|
15754
|
+
{
|
|
15755
|
+
"kind": "field",
|
|
15756
|
+
"name": "minLength",
|
|
15419
15757
|
"type": {
|
|
15420
|
-
"text": "
|
|
15758
|
+
"text": "number"
|
|
15421
15759
|
},
|
|
15422
|
-
"default": "
|
|
15423
|
-
"attribute": "
|
|
15760
|
+
"default": "-1",
|
|
15761
|
+
"attribute": "minLength"
|
|
15424
15762
|
},
|
|
15425
15763
|
{
|
|
15426
15764
|
"kind": "field",
|
|
15427
|
-
"name": "
|
|
15765
|
+
"name": "unit",
|
|
15428
15766
|
"type": {
|
|
15429
15767
|
"text": "string"
|
|
15430
15768
|
},
|
|
15431
15769
|
"default": "''",
|
|
15432
|
-
"
|
|
15770
|
+
"description": "SI Unit, must be non-empty to allow for selecting a [[`multiplier`]].\nOverrides [[`suffixText`]].",
|
|
15771
|
+
"attribute": "unit"
|
|
15433
15772
|
},
|
|
15434
15773
|
{
|
|
15435
15774
|
"kind": "field",
|
|
15436
|
-
"name": "
|
|
15775
|
+
"name": "multiplierIndex",
|
|
15437
15776
|
"type": {
|
|
15438
|
-
"text": "
|
|
15777
|
+
"text": "number"
|
|
15439
15778
|
},
|
|
15440
|
-
"
|
|
15441
|
-
"
|
|
15779
|
+
"privacy": "private",
|
|
15780
|
+
"default": "0"
|
|
15442
15781
|
},
|
|
15443
15782
|
{
|
|
15444
15783
|
"kind": "field",
|
|
15445
|
-
"name": "
|
|
15784
|
+
"name": "multipliers",
|
|
15446
15785
|
"type": {
|
|
15447
|
-
"text": "
|
|
15786
|
+
"text": "array"
|
|
15448
15787
|
},
|
|
15449
|
-
"
|
|
15788
|
+
"default": "[null, '']",
|
|
15789
|
+
"description": "Selectable SI multipliers for a non-empty [[`unit`]].",
|
|
15790
|
+
"attribute": "multipliers"
|
|
15450
15791
|
},
|
|
15451
15792
|
{
|
|
15452
15793
|
"kind": "field",
|
|
15453
|
-
"name": "
|
|
15794
|
+
"name": "multiplier",
|
|
15454
15795
|
"type": {
|
|
15455
|
-
"text": "
|
|
15796
|
+
"text": "string | null"
|
|
15456
15797
|
},
|
|
15457
|
-
"
|
|
15458
|
-
"
|
|
15798
|
+
"description": "The current selected [[`multiplier`]]",
|
|
15799
|
+
"attribute": "multiplier"
|
|
15459
15800
|
},
|
|
15460
15801
|
{
|
|
15461
15802
|
"kind": "field",
|
|
15462
|
-
"name": "
|
|
15803
|
+
"name": "isNull",
|
|
15463
15804
|
"type": {
|
|
15464
|
-
"text": "
|
|
15805
|
+
"text": "boolean"
|
|
15465
15806
|
},
|
|
15466
15807
|
"privacy": "private",
|
|
15467
|
-
"default": "
|
|
15808
|
+
"default": "false"
|
|
15468
15809
|
},
|
|
15469
15810
|
{
|
|
15470
15811
|
"kind": "field",
|
|
@@ -15511,31 +15852,60 @@
|
|
|
15511
15852
|
},
|
|
15512
15853
|
{
|
|
15513
15854
|
"kind": "method",
|
|
15514
|
-
"name": "
|
|
15515
|
-
"privacy": "private",
|
|
15855
|
+
"name": "reset",
|
|
15516
15856
|
"return": {
|
|
15517
15857
|
"type": {
|
|
15518
|
-
"text": "
|
|
15858
|
+
"text": "void"
|
|
15519
15859
|
}
|
|
15520
15860
|
}
|
|
15521
15861
|
},
|
|
15522
15862
|
{
|
|
15523
15863
|
"kind": "method",
|
|
15524
|
-
"name": "
|
|
15864
|
+
"name": "selectMultiplier",
|
|
15525
15865
|
"privacy": "private",
|
|
15526
15866
|
"return": {
|
|
15527
15867
|
"type": {
|
|
15528
|
-
"text": "
|
|
15868
|
+
"text": "void"
|
|
15529
15869
|
}
|
|
15530
15870
|
},
|
|
15531
15871
|
"parameters": [
|
|
15532
15872
|
{
|
|
15533
|
-
"name": "
|
|
15873
|
+
"name": "se",
|
|
15534
15874
|
"type": {
|
|
15535
|
-
"text": "
|
|
15875
|
+
"text": "CloseMenuEvent"
|
|
15536
15876
|
}
|
|
15537
15877
|
}
|
|
15538
15878
|
]
|
|
15879
|
+
},
|
|
15880
|
+
{
|
|
15881
|
+
"kind": "method",
|
|
15882
|
+
"name": "renderMultiplierList",
|
|
15883
|
+
"privacy": "private",
|
|
15884
|
+
"return": {
|
|
15885
|
+
"type": {
|
|
15886
|
+
"text": "TemplateResult"
|
|
15887
|
+
}
|
|
15888
|
+
}
|
|
15889
|
+
},
|
|
15890
|
+
{
|
|
15891
|
+
"kind": "method",
|
|
15892
|
+
"name": "renderUnitSelector",
|
|
15893
|
+
"privacy": "private",
|
|
15894
|
+
"return": {
|
|
15895
|
+
"type": {
|
|
15896
|
+
"text": "TemplateResult"
|
|
15897
|
+
}
|
|
15898
|
+
}
|
|
15899
|
+
},
|
|
15900
|
+
{
|
|
15901
|
+
"kind": "method",
|
|
15902
|
+
"name": "renderNullSwitch",
|
|
15903
|
+
"privacy": "private",
|
|
15904
|
+
"return": {
|
|
15905
|
+
"type": {
|
|
15906
|
+
"text": "TemplateResult"
|
|
15907
|
+
}
|
|
15908
|
+
}
|
|
15539
15909
|
}
|
|
15540
15910
|
],
|
|
15541
15911
|
"events": [
|
|
@@ -15557,13 +15927,12 @@
|
|
|
15557
15927
|
"fieldName": "nullable"
|
|
15558
15928
|
},
|
|
15559
15929
|
{
|
|
15560
|
-
"name": "
|
|
15930
|
+
"name": "value",
|
|
15931
|
+
"description": "SCL attributes `value`, can only be `null` if [[`nullable`]].",
|
|
15561
15932
|
"type": {
|
|
15562
|
-
"text": "string
|
|
15933
|
+
"text": "string | null"
|
|
15563
15934
|
},
|
|
15564
|
-
"
|
|
15565
|
-
"description": "Value array be be renders as selection option inside the selection input",
|
|
15566
|
-
"fieldName": "selectOptions"
|
|
15935
|
+
"fieldName": "value"
|
|
15567
15936
|
},
|
|
15568
15937
|
{
|
|
15569
15938
|
"name": "disabled",
|
|
@@ -15592,9 +15961,8 @@
|
|
|
15592
15961
|
{
|
|
15593
15962
|
"name": "supportingText",
|
|
15594
15963
|
"type": {
|
|
15595
|
-
"text": "string"
|
|
15964
|
+
"text": "string | undefined"
|
|
15596
15965
|
},
|
|
15597
|
-
"default": "''",
|
|
15598
15966
|
"fieldName": "supportingText"
|
|
15599
15967
|
},
|
|
15600
15968
|
{
|
|
@@ -15611,251 +15979,250 @@
|
|
|
15611
15979
|
"text": "string | undefined"
|
|
15612
15980
|
},
|
|
15613
15981
|
"fieldName": "errorText"
|
|
15614
|
-
}
|
|
15615
|
-
],
|
|
15616
|
-
"mixins": [
|
|
15982
|
+
},
|
|
15617
15983
|
{
|
|
15618
|
-
"name": "
|
|
15619
|
-
"
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
"tagName": "oscd-scl-select",
|
|
15627
|
-
"customElement": true,
|
|
15628
|
-
"modulePath": "scl-select/OscdSclSelect.ts"
|
|
15629
|
-
}
|
|
15630
|
-
],
|
|
15631
|
-
"exports": [
|
|
15632
|
-
{
|
|
15633
|
-
"kind": "js",
|
|
15634
|
-
"name": "OscdSclSelect",
|
|
15635
|
-
"declaration": {
|
|
15636
|
-
"name": "OscdSclSelect",
|
|
15637
|
-
"module": "scl-select/OscdSclSelect.ts"
|
|
15638
|
-
}
|
|
15639
|
-
}
|
|
15640
|
-
]
|
|
15641
|
-
},
|
|
15642
|
-
{
|
|
15643
|
-
"kind": "javascript-module",
|
|
15644
|
-
"path": "scl-textfield/OscdSclTextField.ts",
|
|
15645
|
-
"declarations": [
|
|
15646
|
-
{
|
|
15647
|
-
"kind": "class",
|
|
15648
|
-
"description": "",
|
|
15649
|
-
"name": "OscdSclTextField",
|
|
15650
|
-
"members": [
|
|
15984
|
+
"name": "suffixText",
|
|
15985
|
+
"type": {
|
|
15986
|
+
"text": "string"
|
|
15987
|
+
},
|
|
15988
|
+
"default": "''",
|
|
15989
|
+
"description": "The inputs suffix text so long there is no [[`unit`]] defined",
|
|
15990
|
+
"fieldName": "suffixText"
|
|
15991
|
+
},
|
|
15651
15992
|
{
|
|
15652
|
-
"
|
|
15653
|
-
"name": "scopedElements",
|
|
15993
|
+
"name": "placeholder",
|
|
15654
15994
|
"type": {
|
|
15655
|
-
"text": "
|
|
15995
|
+
"text": "string"
|
|
15656
15996
|
},
|
|
15657
|
-
"
|
|
15658
|
-
"
|
|
15997
|
+
"default": "''",
|
|
15998
|
+
"fieldName": "placeholder"
|
|
15659
15999
|
},
|
|
15660
16000
|
{
|
|
15661
|
-
"
|
|
15662
|
-
"name": "nullable",
|
|
16001
|
+
"name": "type",
|
|
15663
16002
|
"type": {
|
|
15664
|
-
"text": "
|
|
16003
|
+
"text": "'number' | 'text'"
|
|
15665
16004
|
},
|
|
15666
|
-
"default": "
|
|
15667
|
-
"
|
|
15668
|
-
"attribute": "nullable"
|
|
16005
|
+
"default": "'text'",
|
|
16006
|
+
"fieldName": "type"
|
|
15669
16007
|
},
|
|
15670
16008
|
{
|
|
15671
|
-
"
|
|
15672
|
-
"name": "textFieldValue",
|
|
16009
|
+
"name": "pattern",
|
|
15673
16010
|
"type": {
|
|
15674
16011
|
"text": "string"
|
|
15675
16012
|
},
|
|
15676
|
-
"
|
|
15677
|
-
"
|
|
16013
|
+
"default": "''",
|
|
16014
|
+
"fieldName": "pattern"
|
|
15678
16015
|
},
|
|
15679
16016
|
{
|
|
15680
|
-
"
|
|
15681
|
-
"name": "value",
|
|
15682
|
-
"description": "SCL attributes `value`, can only be `null` if [[`nullable`]].",
|
|
16017
|
+
"name": "max",
|
|
15683
16018
|
"type": {
|
|
15684
|
-
"text": "string
|
|
16019
|
+
"text": "string"
|
|
15685
16020
|
},
|
|
15686
|
-
"
|
|
16021
|
+
"default": "''",
|
|
16022
|
+
"fieldName": "max"
|
|
15687
16023
|
},
|
|
15688
16024
|
{
|
|
15689
|
-
"
|
|
15690
|
-
"name": "disabled",
|
|
16025
|
+
"name": "min",
|
|
15691
16026
|
"type": {
|
|
15692
|
-
"text": "
|
|
16027
|
+
"text": "string"
|
|
15693
16028
|
},
|
|
15694
|
-
"default": "
|
|
15695
|
-
"
|
|
16029
|
+
"default": "''",
|
|
16030
|
+
"fieldName": "min"
|
|
15696
16031
|
},
|
|
15697
16032
|
{
|
|
15698
|
-
"
|
|
15699
|
-
"
|
|
16033
|
+
"name": "maxLength",
|
|
16034
|
+
"type": {
|
|
16035
|
+
"text": "number"
|
|
16036
|
+
},
|
|
16037
|
+
"default": "-1",
|
|
16038
|
+
"fieldName": "maxLength"
|
|
16039
|
+
},
|
|
16040
|
+
{
|
|
16041
|
+
"name": "minLength",
|
|
16042
|
+
"type": {
|
|
16043
|
+
"text": "number"
|
|
16044
|
+
},
|
|
16045
|
+
"default": "-1",
|
|
16046
|
+
"fieldName": "minLength"
|
|
16047
|
+
},
|
|
16048
|
+
{
|
|
16049
|
+
"name": "unit",
|
|
15700
16050
|
"type": {
|
|
15701
16051
|
"text": "string"
|
|
15702
16052
|
},
|
|
15703
16053
|
"default": "''",
|
|
15704
|
-
"
|
|
16054
|
+
"description": "SI Unit, must be non-empty to allow for selecting a [[`multiplier`]].\nOverrides [[`suffixText`]].",
|
|
16055
|
+
"fieldName": "unit"
|
|
15705
16056
|
},
|
|
15706
16057
|
{
|
|
15707
|
-
"
|
|
15708
|
-
"name": "required",
|
|
16058
|
+
"name": "multipliers",
|
|
15709
16059
|
"type": {
|
|
15710
|
-
"text": "
|
|
16060
|
+
"text": "array"
|
|
15711
16061
|
},
|
|
15712
|
-
"default": "
|
|
15713
|
-
"
|
|
16062
|
+
"default": "[null, '']",
|
|
16063
|
+
"description": "Selectable SI multipliers for a non-empty [[`unit`]].",
|
|
16064
|
+
"fieldName": "multipliers"
|
|
15714
16065
|
},
|
|
16066
|
+
{
|
|
16067
|
+
"name": "multiplier",
|
|
16068
|
+
"type": {
|
|
16069
|
+
"text": "string | null"
|
|
16070
|
+
},
|
|
16071
|
+
"description": "The current selected [[`multiplier`]]",
|
|
16072
|
+
"fieldName": "multiplier"
|
|
16073
|
+
}
|
|
16074
|
+
],
|
|
16075
|
+
"mixins": [
|
|
16076
|
+
{
|
|
16077
|
+
"name": "ScopedElementsMixin",
|
|
16078
|
+
"package": "@open-wc/scoped-elements/lit-element.js"
|
|
16079
|
+
}
|
|
16080
|
+
],
|
|
16081
|
+
"superclass": {
|
|
16082
|
+
"name": "LitElement",
|
|
16083
|
+
"package": "lit"
|
|
16084
|
+
},
|
|
16085
|
+
"tagName": "oscd-scl-text-field",
|
|
16086
|
+
"customElement": true,
|
|
16087
|
+
"modulePath": "scl-textfield/OscdSclTextField.ts"
|
|
16088
|
+
}
|
|
16089
|
+
],
|
|
16090
|
+
"exports": [
|
|
16091
|
+
{
|
|
16092
|
+
"kind": "js",
|
|
16093
|
+
"name": "OscdSclTextField",
|
|
16094
|
+
"declaration": {
|
|
16095
|
+
"name": "OscdSclTextField",
|
|
16096
|
+
"module": "scl-textfield/OscdSclTextField.ts"
|
|
16097
|
+
}
|
|
16098
|
+
}
|
|
16099
|
+
]
|
|
16100
|
+
},
|
|
16101
|
+
{
|
|
16102
|
+
"kind": "javascript-module",
|
|
16103
|
+
"path": "scl-select/OscdSclSelect.ts",
|
|
16104
|
+
"declarations": [
|
|
16105
|
+
{
|
|
16106
|
+
"kind": "class",
|
|
16107
|
+
"description": "",
|
|
16108
|
+
"name": "OscdSclSelect",
|
|
16109
|
+
"members": [
|
|
15715
16110
|
{
|
|
15716
16111
|
"kind": "field",
|
|
15717
|
-
"name": "
|
|
16112
|
+
"name": "scopedElements",
|
|
15718
16113
|
"type": {
|
|
15719
|
-
"text": "
|
|
16114
|
+
"text": "object"
|
|
15720
16115
|
},
|
|
15721
|
-
"
|
|
16116
|
+
"static": true,
|
|
16117
|
+
"default": "{ 'oscd-switch': OscdSwitch, 'oscd-filled-select': OscdFilledSelect, 'oscd-select-option': OscdSelectOption, }"
|
|
15722
16118
|
},
|
|
15723
16119
|
{
|
|
15724
16120
|
"kind": "field",
|
|
15725
|
-
"name": "
|
|
16121
|
+
"name": "nullable",
|
|
15726
16122
|
"type": {
|
|
15727
16123
|
"text": "boolean"
|
|
15728
16124
|
},
|
|
15729
16125
|
"default": "false",
|
|
15730
|
-
"
|
|
16126
|
+
"description": "Whether [[`value`]] may be set to `null` by nullSwitch",
|
|
16127
|
+
"attribute": "nullable"
|
|
15731
16128
|
},
|
|
15732
16129
|
{
|
|
15733
16130
|
"kind": "field",
|
|
15734
|
-
"name": "
|
|
16131
|
+
"name": "selectValue",
|
|
15735
16132
|
"type": {
|
|
15736
|
-
"text": "string
|
|
16133
|
+
"text": "string"
|
|
15737
16134
|
},
|
|
15738
|
-
"
|
|
16135
|
+
"privacy": "private",
|
|
16136
|
+
"default": "''"
|
|
15739
16137
|
},
|
|
15740
16138
|
{
|
|
15741
16139
|
"kind": "field",
|
|
15742
|
-
"name": "
|
|
16140
|
+
"name": "value",
|
|
16141
|
+
"description": "SCL attributes `value`, can only be `null` if [[`nullable`]].",
|
|
15743
16142
|
"type": {
|
|
15744
|
-
"text": "string"
|
|
15745
|
-
}
|
|
15746
|
-
"default": "''",
|
|
15747
|
-
"description": "The inputs suffix text so long there is no [[`unit`]] defined",
|
|
15748
|
-
"attribute": "suffixText"
|
|
16143
|
+
"text": "string | null"
|
|
16144
|
+
}
|
|
15749
16145
|
},
|
|
15750
16146
|
{
|
|
15751
16147
|
"kind": "field",
|
|
15752
|
-
"name": "
|
|
16148
|
+
"name": "selectOptions",
|
|
15753
16149
|
"type": {
|
|
15754
|
-
"text": "string"
|
|
16150
|
+
"text": "string[]"
|
|
15755
16151
|
},
|
|
15756
|
-
"default": "
|
|
15757
|
-
"
|
|
16152
|
+
"default": "[]",
|
|
16153
|
+
"description": "Value array be be renders as selection option inside the selection input",
|
|
16154
|
+
"attribute": "selectOptions"
|
|
15758
16155
|
},
|
|
15759
16156
|
{
|
|
15760
16157
|
"kind": "field",
|
|
15761
|
-
"name": "
|
|
16158
|
+
"name": "disabled",
|
|
15762
16159
|
"type": {
|
|
15763
|
-
"text": "
|
|
16160
|
+
"text": "boolean"
|
|
15764
16161
|
},
|
|
15765
|
-
"default": "
|
|
15766
|
-
"attribute": "
|
|
16162
|
+
"default": "false",
|
|
16163
|
+
"attribute": "disabled"
|
|
15767
16164
|
},
|
|
15768
16165
|
{
|
|
15769
16166
|
"kind": "field",
|
|
15770
|
-
"name": "
|
|
16167
|
+
"name": "label",
|
|
15771
16168
|
"type": {
|
|
15772
16169
|
"text": "string"
|
|
15773
16170
|
},
|
|
15774
16171
|
"default": "''",
|
|
15775
|
-
"attribute": "
|
|
16172
|
+
"attribute": "label"
|
|
15776
16173
|
},
|
|
15777
16174
|
{
|
|
15778
16175
|
"kind": "field",
|
|
15779
|
-
"name": "
|
|
16176
|
+
"name": "required",
|
|
15780
16177
|
"type": {
|
|
15781
|
-
"text": "
|
|
16178
|
+
"text": "boolean"
|
|
15782
16179
|
},
|
|
15783
|
-
"default": "
|
|
15784
|
-
"attribute": "
|
|
16180
|
+
"default": "false",
|
|
16181
|
+
"attribute": "required"
|
|
15785
16182
|
},
|
|
15786
16183
|
{
|
|
15787
16184
|
"kind": "field",
|
|
15788
|
-
"name": "
|
|
16185
|
+
"name": "supportingText",
|
|
15789
16186
|
"type": {
|
|
15790
16187
|
"text": "string"
|
|
15791
16188
|
},
|
|
15792
16189
|
"default": "''",
|
|
15793
|
-
"attribute": "
|
|
15794
|
-
},
|
|
15795
|
-
{
|
|
15796
|
-
"kind": "field",
|
|
15797
|
-
"name": "maxLength",
|
|
15798
|
-
"type": {
|
|
15799
|
-
"text": "number"
|
|
15800
|
-
},
|
|
15801
|
-
"default": "-1",
|
|
15802
|
-
"attribute": "maxLength"
|
|
16190
|
+
"attribute": "supportingText"
|
|
15803
16191
|
},
|
|
15804
16192
|
{
|
|
15805
16193
|
"kind": "field",
|
|
15806
|
-
"name": "
|
|
16194
|
+
"name": "error",
|
|
15807
16195
|
"type": {
|
|
15808
|
-
"text": "
|
|
16196
|
+
"text": "boolean"
|
|
15809
16197
|
},
|
|
15810
|
-
"default": "
|
|
15811
|
-
"attribute": "
|
|
16198
|
+
"default": "false",
|
|
16199
|
+
"attribute": "error"
|
|
15812
16200
|
},
|
|
15813
16201
|
{
|
|
15814
16202
|
"kind": "field",
|
|
15815
|
-
"name": "
|
|
16203
|
+
"name": "errorText",
|
|
15816
16204
|
"type": {
|
|
15817
|
-
"text": "string"
|
|
16205
|
+
"text": "string | undefined"
|
|
15818
16206
|
},
|
|
15819
|
-
"
|
|
15820
|
-
"description": "SI Unit, must be non-empty to allow for selecting a [[`multiplier`]].\nOverrides [[`suffixText`]].",
|
|
15821
|
-
"attribute": "unit"
|
|
16207
|
+
"attribute": "errorText"
|
|
15822
16208
|
},
|
|
15823
16209
|
{
|
|
15824
16210
|
"kind": "field",
|
|
15825
|
-
"name": "
|
|
16211
|
+
"name": "isNull",
|
|
15826
16212
|
"type": {
|
|
15827
|
-
"text": "
|
|
16213
|
+
"text": "boolean"
|
|
15828
16214
|
},
|
|
15829
16215
|
"privacy": "private",
|
|
15830
|
-
"default": "
|
|
15831
|
-
},
|
|
15832
|
-
{
|
|
15833
|
-
"kind": "field",
|
|
15834
|
-
"name": "multipliers",
|
|
15835
|
-
"type": {
|
|
15836
|
-
"text": "array"
|
|
15837
|
-
},
|
|
15838
|
-
"default": "[null, '']",
|
|
15839
|
-
"description": "Selectable SI multipliers for a non-empty [[`unit`]].",
|
|
15840
|
-
"attribute": "multipliers"
|
|
16216
|
+
"default": "false"
|
|
15841
16217
|
},
|
|
15842
16218
|
{
|
|
15843
16219
|
"kind": "field",
|
|
15844
|
-
"name": "
|
|
16220
|
+
"name": "parkedValue",
|
|
15845
16221
|
"type": {
|
|
15846
16222
|
"text": "string | null"
|
|
15847
16223
|
},
|
|
15848
|
-
"description": "The current selected [[`multiplier`]]",
|
|
15849
|
-
"attribute": "multiplier"
|
|
15850
|
-
},
|
|
15851
|
-
{
|
|
15852
|
-
"kind": "field",
|
|
15853
|
-
"name": "isNull",
|
|
15854
|
-
"type": {
|
|
15855
|
-
"text": "boolean"
|
|
15856
|
-
},
|
|
15857
16224
|
"privacy": "private",
|
|
15858
|
-
"default": "
|
|
16225
|
+
"default": "null"
|
|
15859
16226
|
},
|
|
15860
16227
|
{
|
|
15861
16228
|
"kind": "field",
|
|
@@ -15902,60 +16269,31 @@
|
|
|
15902
16269
|
},
|
|
15903
16270
|
{
|
|
15904
16271
|
"kind": "method",
|
|
15905
|
-
"name": "
|
|
16272
|
+
"name": "renderNullSwitch",
|
|
16273
|
+
"privacy": "private",
|
|
15906
16274
|
"return": {
|
|
15907
16275
|
"type": {
|
|
15908
|
-
"text": "
|
|
16276
|
+
"text": "TemplateResult"
|
|
15909
16277
|
}
|
|
15910
16278
|
}
|
|
15911
16279
|
},
|
|
15912
16280
|
{
|
|
15913
16281
|
"kind": "method",
|
|
15914
|
-
"name": "
|
|
16282
|
+
"name": "renderSelectOption",
|
|
15915
16283
|
"privacy": "private",
|
|
15916
16284
|
"return": {
|
|
15917
16285
|
"type": {
|
|
15918
|
-
"text": "
|
|
16286
|
+
"text": "TemplateResult"
|
|
15919
16287
|
}
|
|
15920
16288
|
},
|
|
15921
16289
|
"parameters": [
|
|
15922
16290
|
{
|
|
15923
|
-
"name": "
|
|
16291
|
+
"name": "selectOption",
|
|
15924
16292
|
"type": {
|
|
15925
|
-
"text": "
|
|
16293
|
+
"text": "string"
|
|
15926
16294
|
}
|
|
15927
16295
|
}
|
|
15928
16296
|
]
|
|
15929
|
-
},
|
|
15930
|
-
{
|
|
15931
|
-
"kind": "method",
|
|
15932
|
-
"name": "renderMultiplierList",
|
|
15933
|
-
"privacy": "private",
|
|
15934
|
-
"return": {
|
|
15935
|
-
"type": {
|
|
15936
|
-
"text": "TemplateResult"
|
|
15937
|
-
}
|
|
15938
|
-
}
|
|
15939
|
-
},
|
|
15940
|
-
{
|
|
15941
|
-
"kind": "method",
|
|
15942
|
-
"name": "renderUnitSelector",
|
|
15943
|
-
"privacy": "private",
|
|
15944
|
-
"return": {
|
|
15945
|
-
"type": {
|
|
15946
|
-
"text": "TemplateResult"
|
|
15947
|
-
}
|
|
15948
|
-
}
|
|
15949
|
-
},
|
|
15950
|
-
{
|
|
15951
|
-
"kind": "method",
|
|
15952
|
-
"name": "renderNullSwitch",
|
|
15953
|
-
"privacy": "private",
|
|
15954
|
-
"return": {
|
|
15955
|
-
"type": {
|
|
15956
|
-
"text": "TemplateResult"
|
|
15957
|
-
}
|
|
15958
|
-
}
|
|
15959
16297
|
}
|
|
15960
16298
|
],
|
|
15961
16299
|
"events": [
|
|
@@ -15973,153 +16311,64 @@
|
|
|
15973
16311
|
"text": "boolean"
|
|
15974
16312
|
},
|
|
15975
16313
|
"default": "false",
|
|
15976
|
-
"description": "Whether [[`value`]] may be set to `null` by nullSwitch",
|
|
15977
|
-
"fieldName": "nullable"
|
|
15978
|
-
},
|
|
15979
|
-
{
|
|
15980
|
-
"name": "value",
|
|
15981
|
-
"description": "SCL attributes `value`, can only be `null` if [[`nullable`]].",
|
|
15982
|
-
"type": {
|
|
15983
|
-
"text": "string | null"
|
|
15984
|
-
},
|
|
15985
|
-
"fieldName": "value"
|
|
15986
|
-
},
|
|
15987
|
-
{
|
|
15988
|
-
"name": "disabled",
|
|
15989
|
-
"type": {
|
|
15990
|
-
"text": "boolean"
|
|
15991
|
-
},
|
|
15992
|
-
"default": "false",
|
|
15993
|
-
"fieldName": "disabled"
|
|
15994
|
-
},
|
|
15995
|
-
{
|
|
15996
|
-
"name": "label",
|
|
15997
|
-
"type": {
|
|
15998
|
-
"text": "string"
|
|
15999
|
-
},
|
|
16000
|
-
"default": "''",
|
|
16001
|
-
"fieldName": "label"
|
|
16002
|
-
},
|
|
16003
|
-
{
|
|
16004
|
-
"name": "required",
|
|
16005
|
-
"type": {
|
|
16006
|
-
"text": "boolean"
|
|
16007
|
-
},
|
|
16008
|
-
"default": "false",
|
|
16009
|
-
"fieldName": "required"
|
|
16010
|
-
},
|
|
16011
|
-
{
|
|
16012
|
-
"name": "supportingText",
|
|
16013
|
-
"type": {
|
|
16014
|
-
"text": "string | undefined"
|
|
16015
|
-
},
|
|
16016
|
-
"fieldName": "supportingText"
|
|
16017
|
-
},
|
|
16018
|
-
{
|
|
16019
|
-
"name": "error",
|
|
16020
|
-
"type": {
|
|
16021
|
-
"text": "boolean"
|
|
16022
|
-
},
|
|
16023
|
-
"default": "false",
|
|
16024
|
-
"fieldName": "error"
|
|
16025
|
-
},
|
|
16026
|
-
{
|
|
16027
|
-
"name": "errorText",
|
|
16028
|
-
"type": {
|
|
16029
|
-
"text": "string | undefined"
|
|
16030
|
-
},
|
|
16031
|
-
"fieldName": "errorText"
|
|
16032
|
-
},
|
|
16033
|
-
{
|
|
16034
|
-
"name": "suffixText",
|
|
16035
|
-
"type": {
|
|
16036
|
-
"text": "string"
|
|
16037
|
-
},
|
|
16038
|
-
"default": "''",
|
|
16039
|
-
"description": "The inputs suffix text so long there is no [[`unit`]] defined",
|
|
16040
|
-
"fieldName": "suffixText"
|
|
16041
|
-
},
|
|
16042
|
-
{
|
|
16043
|
-
"name": "placeholder",
|
|
16044
|
-
"type": {
|
|
16045
|
-
"text": "string"
|
|
16046
|
-
},
|
|
16047
|
-
"default": "''",
|
|
16048
|
-
"fieldName": "placeholder"
|
|
16049
|
-
},
|
|
16050
|
-
{
|
|
16051
|
-
"name": "type",
|
|
16052
|
-
"type": {
|
|
16053
|
-
"text": "'number' | 'text'"
|
|
16054
|
-
},
|
|
16055
|
-
"default": "'text'",
|
|
16056
|
-
"fieldName": "type"
|
|
16057
|
-
},
|
|
16058
|
-
{
|
|
16059
|
-
"name": "pattern",
|
|
16060
|
-
"type": {
|
|
16061
|
-
"text": "string"
|
|
16062
|
-
},
|
|
16063
|
-
"default": "''",
|
|
16064
|
-
"fieldName": "pattern"
|
|
16314
|
+
"description": "Whether [[`value`]] may be set to `null` by nullSwitch",
|
|
16315
|
+
"fieldName": "nullable"
|
|
16065
16316
|
},
|
|
16066
16317
|
{
|
|
16067
|
-
"name": "
|
|
16318
|
+
"name": "selectOptions",
|
|
16068
16319
|
"type": {
|
|
16069
|
-
"text": "string"
|
|
16320
|
+
"text": "string[]"
|
|
16070
16321
|
},
|
|
16071
|
-
"default": "
|
|
16072
|
-
"
|
|
16322
|
+
"default": "[]",
|
|
16323
|
+
"description": "Value array be be renders as selection option inside the selection input",
|
|
16324
|
+
"fieldName": "selectOptions"
|
|
16073
16325
|
},
|
|
16074
16326
|
{
|
|
16075
|
-
"name": "
|
|
16327
|
+
"name": "disabled",
|
|
16076
16328
|
"type": {
|
|
16077
|
-
"text": "
|
|
16329
|
+
"text": "boolean"
|
|
16078
16330
|
},
|
|
16079
|
-
"default": "
|
|
16080
|
-
"fieldName": "
|
|
16331
|
+
"default": "false",
|
|
16332
|
+
"fieldName": "disabled"
|
|
16081
16333
|
},
|
|
16082
16334
|
{
|
|
16083
|
-
"name": "
|
|
16335
|
+
"name": "label",
|
|
16084
16336
|
"type": {
|
|
16085
|
-
"text": "
|
|
16337
|
+
"text": "string"
|
|
16086
16338
|
},
|
|
16087
|
-
"default": "
|
|
16088
|
-
"fieldName": "
|
|
16339
|
+
"default": "''",
|
|
16340
|
+
"fieldName": "label"
|
|
16089
16341
|
},
|
|
16090
16342
|
{
|
|
16091
|
-
"name": "
|
|
16343
|
+
"name": "required",
|
|
16092
16344
|
"type": {
|
|
16093
|
-
"text": "
|
|
16345
|
+
"text": "boolean"
|
|
16094
16346
|
},
|
|
16095
|
-
"default": "
|
|
16096
|
-
"fieldName": "
|
|
16347
|
+
"default": "false",
|
|
16348
|
+
"fieldName": "required"
|
|
16097
16349
|
},
|
|
16098
16350
|
{
|
|
16099
|
-
"name": "
|
|
16351
|
+
"name": "supportingText",
|
|
16100
16352
|
"type": {
|
|
16101
16353
|
"text": "string"
|
|
16102
16354
|
},
|
|
16103
16355
|
"default": "''",
|
|
16104
|
-
"
|
|
16105
|
-
"fieldName": "unit"
|
|
16356
|
+
"fieldName": "supportingText"
|
|
16106
16357
|
},
|
|
16107
16358
|
{
|
|
16108
|
-
"name": "
|
|
16359
|
+
"name": "error",
|
|
16109
16360
|
"type": {
|
|
16110
|
-
"text": "
|
|
16361
|
+
"text": "boolean"
|
|
16111
16362
|
},
|
|
16112
|
-
"default": "
|
|
16113
|
-
"
|
|
16114
|
-
"fieldName": "multipliers"
|
|
16363
|
+
"default": "false",
|
|
16364
|
+
"fieldName": "error"
|
|
16115
16365
|
},
|
|
16116
16366
|
{
|
|
16117
|
-
"name": "
|
|
16367
|
+
"name": "errorText",
|
|
16118
16368
|
"type": {
|
|
16119
|
-
"text": "string |
|
|
16369
|
+
"text": "string | undefined"
|
|
16120
16370
|
},
|
|
16121
|
-
"
|
|
16122
|
-
"fieldName": "multiplier"
|
|
16371
|
+
"fieldName": "errorText"
|
|
16123
16372
|
}
|
|
16124
16373
|
],
|
|
16125
16374
|
"mixins": [
|
|
@@ -16132,18 +16381,18 @@
|
|
|
16132
16381
|
"name": "LitElement",
|
|
16133
16382
|
"package": "lit"
|
|
16134
16383
|
},
|
|
16135
|
-
"tagName": "oscd-scl-
|
|
16384
|
+
"tagName": "oscd-scl-select",
|
|
16136
16385
|
"customElement": true,
|
|
16137
|
-
"modulePath": "scl-
|
|
16386
|
+
"modulePath": "scl-select/OscdSclSelect.ts"
|
|
16138
16387
|
}
|
|
16139
16388
|
],
|
|
16140
16389
|
"exports": [
|
|
16141
16390
|
{
|
|
16142
16391
|
"kind": "js",
|
|
16143
|
-
"name": "
|
|
16392
|
+
"name": "OscdSclSelect",
|
|
16144
16393
|
"declaration": {
|
|
16145
|
-
"name": "
|
|
16146
|
-
"module": "scl-
|
|
16394
|
+
"name": "OscdSclSelect",
|
|
16395
|
+
"module": "scl-select/OscdSclSelect.ts"
|
|
16147
16396
|
}
|
|
16148
16397
|
}
|
|
16149
16398
|
]
|
|
@@ -16154,7 +16403,7 @@
|
|
|
16154
16403
|
"declarations": [
|
|
16155
16404
|
{
|
|
16156
16405
|
"kind": "class",
|
|
16157
|
-
"description": "An `oscd-outlined-text-field` specialized for search input.\n\nBehaves like a standard outlined text field, but comes by default with a\nleading search icon and a trailing \"clear\" button (shown once\n[[`value`]] is non-empty), a placeholder rendered at 50% opacity (relative\nto the input text color) that is hidden while the field has focus.\n\nThe default leading/trailing icons can be overridden by slotting content\ninto the `leading-icon`/`trailing-icon` slots, exactly as with\n`oscd-outlined-text-field`. The placeholder color can be overridden via\n`--oscd-search-field-placeholder-color`.\n\nLike the outlined text field it wraps, the container has no background by\ndefault
|
|
16406
|
+
"description": "An `oscd-outlined-text-field` specialized for search input.\n\nBehaves like a standard outlined text field, but comes by default with a\nleading search icon and a trailing \"clear\" button (shown once\n[[`value`]] is non-empty), a placeholder rendered at 50% opacity (relative\nto the input text color) that is hidden while the field has focus.\n\nThe default leading/trailing icons can be overridden by slotting content\ninto the `leading-icon`/`trailing-icon` slots, exactly as with\n`oscd-outlined-text-field`. The placeholder color can be overridden via\n`--oscd-search-field-placeholder-color`.\n\nLike the outlined text field it wraps, the container has no background by\ndefault. Container styling is available through the wrapped field's\nsupported `--md-outlined-text-field-*` tokens.",
|
|
16158
16407
|
"name": "OscdOutlinedSearchField",
|
|
16159
16408
|
"members": [
|
|
16160
16409
|
{
|
|
@@ -17209,7 +17458,7 @@
|
|
|
17209
17458
|
},
|
|
17210
17459
|
"tagName": "oscd-outlined-search-field",
|
|
17211
17460
|
"customElement": true,
|
|
17212
|
-
"summary": "An `oscd-outlined-text-field` specialized for search input.\n\nBehaves like a standard outlined text field, but comes by default with a\nleading search icon and a trailing \"clear\" button (shown once\n[[`value`]] is non-empty), a placeholder rendered at 50% opacity (relative\nto the input text color) that is hidden while the field has focus.\n\nThe default leading/trailing icons can be overridden by slotting content\ninto the `leading-icon`/`trailing-icon` slots, exactly as with\n`oscd-outlined-text-field`. The placeholder color can be overridden via\n`--oscd-search-field-placeholder-color`.\n\nLike the outlined text field it wraps, the container has no background by\ndefault
|
|
17461
|
+
"summary": "An `oscd-outlined-text-field` specialized for search input.\n\nBehaves like a standard outlined text field, but comes by default with a\nleading search icon and a trailing \"clear\" button (shown once\n[[`value`]] is non-empty), a placeholder rendered at 50% opacity (relative\nto the input text color) that is hidden while the field has focus.\n\nThe default leading/trailing icons can be overridden by slotting content\ninto the `leading-icon`/`trailing-icon` slots, exactly as with\n`oscd-outlined-text-field`. The placeholder color can be overridden via\n`--oscd-search-field-placeholder-color`.\n\nLike the outlined text field it wraps, the container has no background by\ndefault. Container styling is available through the wrapped field's\nsupported `--md-outlined-text-field-*` tokens.",
|
|
17213
17462
|
"attributes": [
|
|
17214
17463
|
{
|
|
17215
17464
|
"name": "clearLabel",
|
|
@@ -21964,8 +22213,8 @@
|
|
|
21964
22213
|
"default": "12px 16px"
|
|
21965
22214
|
},
|
|
21966
22215
|
{
|
|
21967
|
-
"description": "Snackbar elevation level.",
|
|
21968
|
-
"name": "--oscd-snackbar-elevation
|
|
22216
|
+
"description": "Snackbar container elevation level.",
|
|
22217
|
+
"name": "--oscd-snackbar-container-elevation",
|
|
21969
22218
|
"default": "3"
|
|
21970
22219
|
},
|
|
21971
22220
|
{
|
|
@@ -21979,9 +22228,34 @@
|
|
|
21979
22228
|
"default": "160ms"
|
|
21980
22229
|
},
|
|
21981
22230
|
{
|
|
21982
|
-
"description": "Snackbar
|
|
21983
|
-
"name": "--oscd-snackbar-
|
|
21984
|
-
"default": "#
|
|
22231
|
+
"description": "Snackbar container color.",
|
|
22232
|
+
"name": "--oscd-snackbar-container-color",
|
|
22233
|
+
"default": "var(--md-sys-color-inverse-surface, #313033)"
|
|
22234
|
+
},
|
|
22235
|
+
{
|
|
22236
|
+
"description": "Snackbar supporting text color.",
|
|
22237
|
+
"name": "--oscd-snackbar-supporting-text-color",
|
|
22238
|
+
"default": "var(--md-sys-color-inverse-on-surface, #f4eff4)"
|
|
22239
|
+
},
|
|
22240
|
+
{
|
|
22241
|
+
"description": "Snackbar icon color.",
|
|
22242
|
+
"name": "--oscd-snackbar-icon-color",
|
|
22243
|
+
"default": "var(--md-sys-color-inverse-on-surface, #f4eff4)"
|
|
22244
|
+
},
|
|
22245
|
+
{
|
|
22246
|
+
"description": "Snackbar action label color.",
|
|
22247
|
+
"name": "--oscd-snackbar-action-label-text-color",
|
|
22248
|
+
"default": "var(--md-sys-color-inverse-primary, #d0bcff)"
|
|
22249
|
+
},
|
|
22250
|
+
{
|
|
22251
|
+
"description": "Snackbar close icon color.",
|
|
22252
|
+
"name": "--oscd-snackbar-close-icon-color",
|
|
22253
|
+
"default": "var(--md-sys-color-inverse-on-surface, #f4eff4)"
|
|
22254
|
+
},
|
|
22255
|
+
{
|
|
22256
|
+
"description": "Snackbar container shape.",
|
|
22257
|
+
"name": "--oscd-snackbar-container-shape",
|
|
22258
|
+
"default": "var(--md-sys-shape-corner-extra-small, 4px)"
|
|
21985
22259
|
},
|
|
21986
22260
|
{
|
|
21987
22261
|
"description": "Snackbar font family.",
|
|
@@ -22004,64 +22278,104 @@
|
|
|
22004
22278
|
"default": "3"
|
|
22005
22279
|
},
|
|
22006
22280
|
{
|
|
22007
|
-
"description": "Info
|
|
22281
|
+
"description": "Info container color.",
|
|
22008
22282
|
"name": "--oscd-snackbar-info-container-color",
|
|
22009
|
-
"default": "var(--
|
|
22283
|
+
"default": "var(--oscd-snackbar-container-color)"
|
|
22010
22284
|
},
|
|
22011
22285
|
{
|
|
22012
|
-
"description": "Info text color.",
|
|
22013
|
-
"name": "--oscd-snackbar-info-text-color",
|
|
22014
|
-
"default": "var(--oscd-snackbar-text-color)"
|
|
22286
|
+
"description": "Info supporting text color.",
|
|
22287
|
+
"name": "--oscd-snackbar-info-supporting-text-color",
|
|
22288
|
+
"default": "var(--oscd-snackbar-supporting-text-color)"
|
|
22015
22289
|
},
|
|
22016
22290
|
{
|
|
22017
22291
|
"description": "Info icon color.",
|
|
22018
22292
|
"name": "--oscd-snackbar-info-icon-color",
|
|
22019
|
-
"default": "var(--
|
|
22293
|
+
"default": "var(--oscd-snackbar-icon-color)"
|
|
22294
|
+
},
|
|
22295
|
+
{
|
|
22296
|
+
"description": "Info action label color.",
|
|
22297
|
+
"name": "--oscd-snackbar-info-action-label-text-color",
|
|
22298
|
+
"default": "var(--oscd-snackbar-action-label-text-color)"
|
|
22299
|
+
},
|
|
22300
|
+
{
|
|
22301
|
+
"description": "Info close icon color.",
|
|
22302
|
+
"name": "--oscd-snackbar-info-close-icon-color",
|
|
22303
|
+
"default": "var(--oscd-snackbar-close-icon-color)"
|
|
22020
22304
|
},
|
|
22021
22305
|
{
|
|
22022
|
-
"description": "Success
|
|
22306
|
+
"description": "Success container color.",
|
|
22023
22307
|
"name": "--oscd-snackbar-success-container-color",
|
|
22024
|
-
"default": "
|
|
22308
|
+
"default": "var(--oscd-snackbar-container-color)"
|
|
22025
22309
|
},
|
|
22026
22310
|
{
|
|
22027
|
-
"description": "Success text color.",
|
|
22028
|
-
"name": "--oscd-snackbar-success-text-color",
|
|
22029
|
-
"default": "var(--oscd-snackbar-text-color)"
|
|
22311
|
+
"description": "Success supporting text color.",
|
|
22312
|
+
"name": "--oscd-snackbar-success-supporting-text-color",
|
|
22313
|
+
"default": "var(--oscd-snackbar-supporting-text-color)"
|
|
22030
22314
|
},
|
|
22031
22315
|
{
|
|
22032
22316
|
"description": "Success icon color.",
|
|
22033
22317
|
"name": "--oscd-snackbar-success-icon-color",
|
|
22034
|
-
"default": "
|
|
22318
|
+
"default": "var(--oscd-snackbar-icon-color)"
|
|
22035
22319
|
},
|
|
22036
22320
|
{
|
|
22037
|
-
"description": "
|
|
22321
|
+
"description": "Success action label color.",
|
|
22322
|
+
"name": "--oscd-snackbar-success-action-label-text-color",
|
|
22323
|
+
"default": "var(--oscd-snackbar-action-label-text-color)"
|
|
22324
|
+
},
|
|
22325
|
+
{
|
|
22326
|
+
"description": "Success close icon color.",
|
|
22327
|
+
"name": "--oscd-snackbar-success-close-icon-color",
|
|
22328
|
+
"default": "var(--oscd-snackbar-close-icon-color)"
|
|
22329
|
+
},
|
|
22330
|
+
{
|
|
22331
|
+
"description": "Warning container color.",
|
|
22038
22332
|
"name": "--oscd-snackbar-warning-container-color",
|
|
22039
|
-
"default": "
|
|
22333
|
+
"default": "var(--oscd-snackbar-container-color)"
|
|
22040
22334
|
},
|
|
22041
22335
|
{
|
|
22042
|
-
"description": "Warning text color.",
|
|
22043
|
-
"name": "--oscd-snackbar-warning-text-color",
|
|
22044
|
-
"default": "var(--oscd-snackbar-text-color)"
|
|
22336
|
+
"description": "Warning supporting text color.",
|
|
22337
|
+
"name": "--oscd-snackbar-warning-supporting-text-color",
|
|
22338
|
+
"default": "var(--oscd-snackbar-supporting-text-color)"
|
|
22045
22339
|
},
|
|
22046
22340
|
{
|
|
22047
22341
|
"description": "Warning icon color.",
|
|
22048
22342
|
"name": "--oscd-snackbar-warning-icon-color",
|
|
22049
|
-
"default": "
|
|
22343
|
+
"default": "var(--oscd-snackbar-icon-color)"
|
|
22344
|
+
},
|
|
22345
|
+
{
|
|
22346
|
+
"description": "Warning action label color.",
|
|
22347
|
+
"name": "--oscd-snackbar-warning-action-label-text-color",
|
|
22348
|
+
"default": "var(--oscd-snackbar-action-label-text-color)"
|
|
22349
|
+
},
|
|
22350
|
+
{
|
|
22351
|
+
"description": "Warning close icon color.",
|
|
22352
|
+
"name": "--oscd-snackbar-warning-close-icon-color",
|
|
22353
|
+
"default": "var(--oscd-snackbar-close-icon-color)"
|
|
22050
22354
|
},
|
|
22051
22355
|
{
|
|
22052
|
-
"description": "Error
|
|
22356
|
+
"description": "Error container color.",
|
|
22053
22357
|
"name": "--oscd-snackbar-error-container-color",
|
|
22054
|
-
"default": "#
|
|
22358
|
+
"default": "var(--md-sys-color-error-container, #f9dedc)"
|
|
22055
22359
|
},
|
|
22056
22360
|
{
|
|
22057
|
-
"description": "Error text color.",
|
|
22058
|
-
"name": "--oscd-snackbar-error-text-color",
|
|
22059
|
-
"default": "var(--
|
|
22361
|
+
"description": "Error supporting text color.",
|
|
22362
|
+
"name": "--oscd-snackbar-error-supporting-text-color",
|
|
22363
|
+
"default": "var(--md-sys-color-on-error-container, #410e0b)"
|
|
22060
22364
|
},
|
|
22061
22365
|
{
|
|
22062
22366
|
"description": "Error icon color.",
|
|
22063
22367
|
"name": "--oscd-snackbar-error-icon-color",
|
|
22064
|
-
"default": "#
|
|
22368
|
+
"default": "var(--md-sys-color-error, #b3261e)"
|
|
22369
|
+
},
|
|
22370
|
+
{
|
|
22371
|
+
"description": "Error action label color.",
|
|
22372
|
+
"name": "--oscd-snackbar-error-action-label-text-color",
|
|
22373
|
+
"default": "var(--md-sys-color-on-error-container, #410e0b)"
|
|
22374
|
+
},
|
|
22375
|
+
{
|
|
22376
|
+
"description": "Error close icon color.",
|
|
22377
|
+
"name": "--oscd-snackbar-error-close-icon-color",
|
|
22378
|
+
"default": "var(--md-sys-color-on-error-container, #410e0b)"
|
|
22065
22379
|
}
|
|
22066
22380
|
],
|
|
22067
22381
|
"cssParts": [
|
|
@@ -22196,7 +22510,7 @@
|
|
|
22196
22510
|
}
|
|
22197
22511
|
}
|
|
22198
22512
|
],
|
|
22199
|
-
"description": "Shows a notification and returns an id that can be passed to `close()`.\nIn `stack` mode, notifications beyond `maxVisible` are queued until space\nbecomes available. Auto-dismiss timing starts when a notification becomes\nvisible, not while it is queued."
|
|
22513
|
+
"description": "Shows a notification and returns an id that can be passed to `close()`.\nIn `stack` mode, notifications beyond `maxVisible` are queued until space\nbecomes available. Auto-dismiss timing starts when a notification becomes\nvisible, not while it is queued. `variantLabel` overrides the visually\nhidden default label for localization."
|
|
22200
22514
|
},
|
|
22201
22515
|
{
|
|
22202
22516
|
"kind": "method",
|
|
@@ -26701,7 +27015,7 @@
|
|
|
26701
27015
|
"declarations": [
|
|
26702
27016
|
{
|
|
26703
27017
|
"kind": "class",
|
|
26704
|
-
"description": "Displays hierarchical data as an accessible, keyboard-navigable tree.\n\n`oscd-tree` is data-driven: callers provide nested node data through `data`,\nand the tree manages expansion, selection, active-row navigation, row\nindentation, and ARIA attributes. Row content stays flexible through the\n`renderItem` callback.\n\nThe tree owns the row frame. This includes indentation, expand/collapse\naffordances, selection affordances, keyboard handling, focus handling, and\naccessibility attributes. `renderItem` only supplies the content rendered\ninside each row frame.\n\nThe expand/collapse toggle is customizable: `collapseIcon` and `expandIcon`\noverride the icon names (defaults `chevron_right` / `expand_more`), and\n`togglePosition` places the toggle either `'leading'` (default) or\n`'trailing'`, in which case toggles line up on the row's trailing edge\nregardless of nesting depth. Keyboard expansion is unaffected by the toggle\nposition.\n\nLeaf rows have no toggle. `renderLeafAccessory` can render an interactive\naccessory (such as a pin/unpin button) into a leaf row's toggle column so it\naligns with the chevrons of expandable rows. The tree isolates pointer and\n`Enter`/`Space` interaction on the accessory so activating it does not select\nthe row; a returned focusable element adds one tab stop per row.\n\nA leading icon (the `start` slot of `oscd-tree-item`) occupies exactly one\nindent step, so when only some rows have icons (e.g. iconed parents with\nicon-less children) the children's text aligns automatically under the\nparent's text at any depth. The single `--oscd-tree-indent-step` property\n(default `24px`) drives both indentation and the leading icon column; set it\nlarge enough to hold your icon (e.g. `40px`) when using leading icons. See\nOscdTreeItem for details.\n\nEvery node may provide a stable `id`. If no ID is supplied, the tree uses\n`getNodeId` when provided, then falls back to an index-path ID such as\n`0/1/2`. Index-path IDs are convenient for static demos but are not stable\nwhen nodes are inserted, removed, sorted, filtered, or lazily loaded, and\nshould not be persisted.\n\n`selectedIds` and `expandedIds` are controlled state. They can be persisted\nby the caller, but persisted IDs must be scoped to the data set/context that\nproduced them. Reset or re-key those arrays when `data` changes to a\ndifferent logical tree, otherwise unrelated nodes with matching IDs may\nappear selected or expanded.\n\n`children` has three meanings:\n\n- `children === undefined`: children are unknown or not loaded yet.\n- `children === []`: children are known and the node is a leaf.\n- `children.length > 0`: children are known and the node is a branch.\n\nExpansion of nodes with unknown children can be intercepted with the\ncancelable `node-expand` event.",
|
|
27018
|
+
"description": "Displays hierarchical data as an accessible, keyboard-navigable tree.\n\n`oscd-tree` is data-driven: callers provide nested node data through `data`,\nand the tree manages expansion, selection, active-row navigation, row\nindentation, and ARIA attributes. Row content stays flexible through the\n`renderItem` callback.\n\nThe tree owns the row frame. This includes indentation, expand/collapse\naffordances, selection affordances, keyboard handling, focus handling, and\naccessibility attributes. `renderItem` only supplies the content rendered\ninside each row frame.\n\nThe expand/collapse toggle is customizable: `collapseIcon` and `expandIcon`\noverride the icon names (defaults `chevron_right` / `expand_more`), and\n`togglePosition` places the toggle either `'leading'` (default) or\n`'trailing'`, in which case toggles line up on the row's trailing edge\nregardless of nesting depth. Keyboard expansion is unaffected by the toggle\nposition.\n\nLeaf rows have no toggle. `renderLeafAccessory` can render an interactive\naccessory (such as a pin/unpin button) into a leaf row's toggle column so it\naligns with the chevrons of expandable rows. The tree isolates pointer and\n`Enter`/`Space` interaction on the accessory so activating it does not select\nthe row; a returned focusable element adds one tab stop per row.\n\nA leading icon (the `start` slot of `oscd-tree-item`) occupies exactly one\nindent step, so when only some rows have icons (e.g. iconed parents with\nicon-less children) the children's text aligns automatically under the\nparent's text at any depth. The single `--oscd-tree-indent-step` property\n(default `24px`) drives both indentation and the leading icon column; set it\nlarge enough to hold your icon (e.g. `40px`) when using leading icons. See\nOscdTreeItem for details.\n\nRow ripple and focus styling uses the embedded `--md-ripple-*` and\n`--md-focus-ring-*` tokens directly.\n\nEvery node may provide a stable `id`. If no ID is supplied, the tree uses\n`getNodeId` when provided, then falls back to an index-path ID such as\n`0/1/2`. Index-path IDs are convenient for static demos but are not stable\nwhen nodes are inserted, removed, sorted, filtered, or lazily loaded, and\nshould not be persisted.\n\n`selectedIds` and `expandedIds` are controlled state. They can be persisted\nby the caller, but persisted IDs must be scoped to the data set/context that\nproduced them. Reset or re-key those arrays when `data` changes to a\ndifferent logical tree, otherwise unrelated nodes with matching IDs may\nappear selected or expanded.\n\n`children` has three meanings:\n\n- `children === undefined`: children are unknown or not loaded yet.\n- `children === []`: children are known and the node is a leaf.\n- `children.length > 0`: children are known and the node is a branch.\n\nExpansion of nodes with unknown children can be intercepted with the\ncancelable `node-expand` event.",
|
|
26705
27019
|
"name": "OscdTree",
|
|
26706
27020
|
"events": [
|
|
26707
27021
|
{
|
|
@@ -27819,7 +28133,7 @@
|
|
|
27819
28133
|
"declarations": [
|
|
27820
28134
|
{
|
|
27821
28135
|
"kind": "class",
|
|
27822
|
-
"description": "Default content component for rows rendered inside `oscd-tree`.\n\n`oscd-tree-item` is intended to be returned from an `oscd-tree` `renderItem`\ncallback. It renders the caller-visible row content only. The parent\n`oscd-tree` owns the tree row frame, indentation, expand/collapse affordance,\nselection affordance, keyboard handling, and ARIA attributes.\n\nUse the `headline` slot for the primary label, `supporting-text` for\nsecondary/path text, `start` for an optional leading icon, and `end` for\noptional trailing status or actions.\n\n## Leading icon alignment\n\nWhen only some rows carry a leading icon (e.g. top-level rows have icons but\ntheir children do not), you usually want the icon-less children's text to sit\ndirectly under their iconed parent's text. This works automatically: a\nleading icon occupies exactly one indent step, so an icon-less child —\nindented one step by the tree — aligns its text with the parent's, at any\ndepth, with no per-row configuration.\n\nThe leading icon column and the per-level indentation are both driven by the\nsingle `--oscd-tree-indent-step` custom property (default `24px`), so they can\nnever drift out of alignment. Set it large enough to comfortably hold your\nicon — e.g. `--oscd-tree-indent-step: 40px` — which also widens the gap\nbetween the icon and the text (the gap is `step - icon size`). The rarely\nneeded `--oscd-tree-item-leading-size` can decouple just the column width, but\nkeeping it equal to the indent step is what preserves the alignment.",
|
|
28136
|
+
"description": "Default content component for rows rendered inside `oscd-tree`.\n\n`oscd-tree-item` is intended to be returned from an `oscd-tree` `renderItem`\ncallback. It renders the caller-visible row content only. The parent\n`oscd-tree` owns the tree row frame, indentation, expand/collapse affordance,\nselection affordance, keyboard handling, and ARIA attributes.\n\nUse the `headline` slot for the primary label, `supporting-text` for\nsecondary/path text, `start` for an optional leading icon, and `end` for\noptional trailing status or actions.\n\n## Leading icon alignment\n\nWhen only some rows carry a leading icon (e.g. top-level rows have icons but\ntheir children do not), you usually want the icon-less children's text to sit\ndirectly under their iconed parent's text. This works automatically: a\nleading icon occupies exactly one indent step, so an icon-less child —\nindented one step by the tree — aligns its text with the parent's, at any\ndepth, with no per-row configuration.\n\nThe leading icon column and the per-level indentation are both driven by the\nsingle `--oscd-tree-indent-step` custom property (default `24px`), so they can\nnever drift out of alignment. Set it large enough to comfortably hold your\nicon — e.g. `--oscd-tree-indent-step: 40px` — which also widens the gap\nbetween the icon and the text (the gap is `step - icon size`). The rarely\nneeded `--oscd-tree-item-leading-size` can decouple just the column width, but\nkeeping it equal to the indent step is what preserves the alignment.\n\nText and icon styling uses the embedded `--md-list-item-*` tokens directly.",
|
|
27823
28137
|
"name": "OscdTreeItem",
|
|
27824
28138
|
"slots": [
|
|
27825
28139
|
{
|
|
@@ -28637,6 +28951,88 @@
|
|
|
28637
28951
|
}
|
|
28638
28952
|
]
|
|
28639
28953
|
},
|
|
28954
|
+
{
|
|
28955
|
+
"kind": "javascript-module",
|
|
28956
|
+
"path": "labs/item/OscdItem.ts",
|
|
28957
|
+
"declarations": [
|
|
28958
|
+
{
|
|
28959
|
+
"kind": "class",
|
|
28960
|
+
"description": "",
|
|
28961
|
+
"name": "OscdItem",
|
|
28962
|
+
"members": [
|
|
28963
|
+
{
|
|
28964
|
+
"kind": "field",
|
|
28965
|
+
"name": "multiline",
|
|
28966
|
+
"type": {
|
|
28967
|
+
"text": "boolean"
|
|
28968
|
+
},
|
|
28969
|
+
"default": "false",
|
|
28970
|
+
"description": "Only needed for SSR.\n\nAdd this attribute when an item has two lines to avoid a Flash Of Unstyled\nContent. This attribute is not needed for single line items or items with\nthree or more lines.",
|
|
28971
|
+
"attribute": "multiline",
|
|
28972
|
+
"reflects": true,
|
|
28973
|
+
"inheritedFrom": {
|
|
28974
|
+
"name": "Item",
|
|
28975
|
+
"module": "labs/item/internal/item.ts"
|
|
28976
|
+
}
|
|
28977
|
+
},
|
|
28978
|
+
{
|
|
28979
|
+
"kind": "field",
|
|
28980
|
+
"name": "textSlots",
|
|
28981
|
+
"type": {
|
|
28982
|
+
"text": "HTMLSlotElement[]"
|
|
28983
|
+
},
|
|
28984
|
+
"privacy": "private",
|
|
28985
|
+
"readonly": true,
|
|
28986
|
+
"inheritedFrom": {
|
|
28987
|
+
"name": "Item",
|
|
28988
|
+
"module": "labs/item/internal/item.ts"
|
|
28989
|
+
}
|
|
28990
|
+
},
|
|
28991
|
+
{
|
|
28992
|
+
"kind": "method",
|
|
28993
|
+
"name": "handleTextSlotChange",
|
|
28994
|
+
"privacy": "private",
|
|
28995
|
+
"inheritedFrom": {
|
|
28996
|
+
"name": "Item",
|
|
28997
|
+
"module": "labs/item/internal/item.ts"
|
|
28998
|
+
}
|
|
28999
|
+
}
|
|
29000
|
+
],
|
|
29001
|
+
"superclass": {
|
|
29002
|
+
"name": "Item",
|
|
29003
|
+
"package": "@omicronenergy/oscd-material-web-base/labs/item/internal/item.js"
|
|
29004
|
+
},
|
|
29005
|
+
"tagName": "oscd-item",
|
|
29006
|
+
"customElement": true,
|
|
29007
|
+
"attributes": [
|
|
29008
|
+
{
|
|
29009
|
+
"name": "multiline",
|
|
29010
|
+
"type": {
|
|
29011
|
+
"text": "boolean"
|
|
29012
|
+
},
|
|
29013
|
+
"default": "false",
|
|
29014
|
+
"description": "Only needed for SSR.\n\nAdd this attribute when an item has two lines to avoid a Flash Of Unstyled\nContent. This attribute is not needed for single line items or items with\nthree or more lines.",
|
|
29015
|
+
"fieldName": "multiline",
|
|
29016
|
+
"inheritedFrom": {
|
|
29017
|
+
"name": "Item",
|
|
29018
|
+
"module": "labs/item/internal/item.ts"
|
|
29019
|
+
}
|
|
29020
|
+
}
|
|
29021
|
+
],
|
|
29022
|
+
"modulePath": "labs/item/OscdItem.ts"
|
|
29023
|
+
}
|
|
29024
|
+
],
|
|
29025
|
+
"exports": [
|
|
29026
|
+
{
|
|
29027
|
+
"kind": "js",
|
|
29028
|
+
"name": "OscdItem",
|
|
29029
|
+
"declaration": {
|
|
29030
|
+
"name": "OscdItem",
|
|
29031
|
+
"module": "labs/item/OscdItem.ts"
|
|
29032
|
+
}
|
|
29033
|
+
}
|
|
29034
|
+
]
|
|
29035
|
+
},
|
|
28640
29036
|
{
|
|
28641
29037
|
"kind": "javascript-module",
|
|
28642
29038
|
"path": "labs/card/OscdElevatedCard.ts",
|
|
@@ -28772,88 +29168,6 @@
|
|
|
28772
29168
|
}
|
|
28773
29169
|
]
|
|
28774
29170
|
},
|
|
28775
|
-
{
|
|
28776
|
-
"kind": "javascript-module",
|
|
28777
|
-
"path": "labs/item/OscdItem.ts",
|
|
28778
|
-
"declarations": [
|
|
28779
|
-
{
|
|
28780
|
-
"kind": "class",
|
|
28781
|
-
"description": "",
|
|
28782
|
-
"name": "OscdItem",
|
|
28783
|
-
"members": [
|
|
28784
|
-
{
|
|
28785
|
-
"kind": "field",
|
|
28786
|
-
"name": "multiline",
|
|
28787
|
-
"type": {
|
|
28788
|
-
"text": "boolean"
|
|
28789
|
-
},
|
|
28790
|
-
"default": "false",
|
|
28791
|
-
"description": "Only needed for SSR.\n\nAdd this attribute when an item has two lines to avoid a Flash Of Unstyled\nContent. This attribute is not needed for single line items or items with\nthree or more lines.",
|
|
28792
|
-
"attribute": "multiline",
|
|
28793
|
-
"reflects": true,
|
|
28794
|
-
"inheritedFrom": {
|
|
28795
|
-
"name": "Item",
|
|
28796
|
-
"module": "labs/item/internal/item.ts"
|
|
28797
|
-
}
|
|
28798
|
-
},
|
|
28799
|
-
{
|
|
28800
|
-
"kind": "field",
|
|
28801
|
-
"name": "textSlots",
|
|
28802
|
-
"type": {
|
|
28803
|
-
"text": "HTMLSlotElement[]"
|
|
28804
|
-
},
|
|
28805
|
-
"privacy": "private",
|
|
28806
|
-
"readonly": true,
|
|
28807
|
-
"inheritedFrom": {
|
|
28808
|
-
"name": "Item",
|
|
28809
|
-
"module": "labs/item/internal/item.ts"
|
|
28810
|
-
}
|
|
28811
|
-
},
|
|
28812
|
-
{
|
|
28813
|
-
"kind": "method",
|
|
28814
|
-
"name": "handleTextSlotChange",
|
|
28815
|
-
"privacy": "private",
|
|
28816
|
-
"inheritedFrom": {
|
|
28817
|
-
"name": "Item",
|
|
28818
|
-
"module": "labs/item/internal/item.ts"
|
|
28819
|
-
}
|
|
28820
|
-
}
|
|
28821
|
-
],
|
|
28822
|
-
"superclass": {
|
|
28823
|
-
"name": "Item",
|
|
28824
|
-
"package": "@omicronenergy/oscd-material-web-base/labs/item/internal/item.js"
|
|
28825
|
-
},
|
|
28826
|
-
"tagName": "oscd-item",
|
|
28827
|
-
"customElement": true,
|
|
28828
|
-
"attributes": [
|
|
28829
|
-
{
|
|
28830
|
-
"name": "multiline",
|
|
28831
|
-
"type": {
|
|
28832
|
-
"text": "boolean"
|
|
28833
|
-
},
|
|
28834
|
-
"default": "false",
|
|
28835
|
-
"description": "Only needed for SSR.\n\nAdd this attribute when an item has two lines to avoid a Flash Of Unstyled\nContent. This attribute is not needed for single line items or items with\nthree or more lines.",
|
|
28836
|
-
"fieldName": "multiline",
|
|
28837
|
-
"inheritedFrom": {
|
|
28838
|
-
"name": "Item",
|
|
28839
|
-
"module": "labs/item/internal/item.ts"
|
|
28840
|
-
}
|
|
28841
|
-
}
|
|
28842
|
-
],
|
|
28843
|
-
"modulePath": "labs/item/OscdItem.ts"
|
|
28844
|
-
}
|
|
28845
|
-
],
|
|
28846
|
-
"exports": [
|
|
28847
|
-
{
|
|
28848
|
-
"kind": "js",
|
|
28849
|
-
"name": "OscdItem",
|
|
28850
|
-
"declaration": {
|
|
28851
|
-
"name": "OscdItem",
|
|
28852
|
-
"module": "labs/item/OscdItem.ts"
|
|
28853
|
-
}
|
|
28854
|
-
}
|
|
28855
|
-
]
|
|
28856
|
-
},
|
|
28857
29171
|
{
|
|
28858
29172
|
"kind": "javascript-module",
|
|
28859
29173
|
"path": "labs/navigationbar/OscdNavigationBar.ts",
|