@momentum-design/components 0.16.9 → 0.16.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/labelandhelper/index.d.ts +9 -0
- package/dist/components/labelandhelper/index.js +6 -0
- package/dist/components/labelandhelper/labelandhelper.component.d.ts +72 -0
- package/dist/components/labelandhelper/labelandhelper.component.js +137 -0
- package/dist/components/labelandhelper/labelandhelper.constants.d.ts +19 -0
- package/dist/components/labelandhelper/labelandhelper.constants.js +21 -0
- package/dist/components/labelandhelper/labelandhelper.styles.d.ts +2 -0
- package/dist/components/labelandhelper/labelandhelper.styles.js +48 -0
- package/dist/components/labelandhelper/labelandhelper.types.d.ts +4 -0
- package/dist/components/labelandhelper/labelandhelper.types.js +1 -0
- package/dist/components/labelandhelper/labelandhelper.utils.d.ts +4 -0
- package/dist/components/labelandhelper/labelandhelper.utils.js +12 -0
- package/dist/custom-elements.json +692 -364
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +3 -2
- package/dist/react/labelandhelper/index.d.ts +11 -0
- package/dist/react/labelandhelper/index.js +20 -0
- package/dist/utils/mixins/NameMixin.d.ts +6 -0
- package/dist/utils/mixins/{LabelMixin.js → NameMixin.js} +6 -16
- package/dist/utils/mixins/ReadonlyMixin.d.ts +6 -0
- package/dist/utils/mixins/ReadonlyMixin.js +29 -0
- package/dist/utils/mixins/RequiredMixin.d.ts +6 -0
- package/dist/utils/mixins/RequiredMixin.js +29 -0
- package/dist/utils/mixins/ValueMixin.d.ts +6 -0
- package/dist/utils/mixins/ValueMixin.js +28 -0
- package/package.json +3 -2
- package/dist/utils/mixins/LabelMixin.d.ts +0 -7
@@ -2,6 +2,267 @@
|
|
2
2
|
"schemaVersion": "1.0.0",
|
3
3
|
"readme": "",
|
4
4
|
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "components/badge/badge.component.js",
|
8
|
+
"declarations": [
|
9
|
+
{
|
10
|
+
"kind": "class",
|
11
|
+
"description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
|
12
|
+
"name": "Badge",
|
13
|
+
"members": [
|
14
|
+
{
|
15
|
+
"kind": "field",
|
16
|
+
"name": "type",
|
17
|
+
"type": {
|
18
|
+
"text": "BadgeType | undefined"
|
19
|
+
},
|
20
|
+
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
21
|
+
"attribute": "type",
|
22
|
+
"reflects": true
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"kind": "field",
|
26
|
+
"name": "iconName",
|
27
|
+
"type": {
|
28
|
+
"text": "IconNames | undefined"
|
29
|
+
},
|
30
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
31
|
+
"attribute": "icon-name"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"kind": "field",
|
35
|
+
"name": "variant",
|
36
|
+
"type": {
|
37
|
+
"text": "IconVariant"
|
38
|
+
},
|
39
|
+
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
40
|
+
"default": "primary",
|
41
|
+
"attribute": "variant",
|
42
|
+
"reflects": true
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"kind": "field",
|
46
|
+
"name": "counter",
|
47
|
+
"type": {
|
48
|
+
"text": "number | undefined"
|
49
|
+
},
|
50
|
+
"description": "Counter is the number which can be provided in the badge.",
|
51
|
+
"attribute": "counter"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"kind": "field",
|
55
|
+
"name": "maxCounter",
|
56
|
+
"type": {
|
57
|
+
"text": "number"
|
58
|
+
},
|
59
|
+
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
60
|
+
"default": "99",
|
61
|
+
"attribute": "max-counter",
|
62
|
+
"reflects": true
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"kind": "field",
|
66
|
+
"name": "overlay",
|
67
|
+
"type": {
|
68
|
+
"text": "boolean"
|
69
|
+
},
|
70
|
+
"default": "false",
|
71
|
+
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
72
|
+
"attribute": "overlay"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"kind": "field",
|
76
|
+
"name": "ariaLabel",
|
77
|
+
"type": {
|
78
|
+
"text": "string | null"
|
79
|
+
},
|
80
|
+
"default": "null",
|
81
|
+
"description": "Aria-label attribute to be set for accessibility",
|
82
|
+
"attribute": "aria-label"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"kind": "method",
|
86
|
+
"name": "getCounterText",
|
87
|
+
"privacy": "private",
|
88
|
+
"return": {
|
89
|
+
"type": {
|
90
|
+
"text": ""
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"parameters": [
|
94
|
+
{
|
95
|
+
"name": "maxCounter",
|
96
|
+
"type": {
|
97
|
+
"text": "number"
|
98
|
+
},
|
99
|
+
"description": "the maximum limit which can be displayed on the badge"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"name": "counter",
|
103
|
+
"optional": true,
|
104
|
+
"type": {
|
105
|
+
"text": "number"
|
106
|
+
},
|
107
|
+
"description": "the number to be displayed on the badge"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
"description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"kind": "method",
|
114
|
+
"name": "getBadgeIcon",
|
115
|
+
"privacy": "private",
|
116
|
+
"return": {
|
117
|
+
"type": {
|
118
|
+
"text": ""
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"parameters": [
|
122
|
+
{
|
123
|
+
"name": "iconName",
|
124
|
+
"type": {
|
125
|
+
"text": "string"
|
126
|
+
},
|
127
|
+
"description": "the name of the icon from the icon set"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"name": "backgroundClassPostfix",
|
131
|
+
"type": {
|
132
|
+
"text": "string"
|
133
|
+
},
|
134
|
+
"description": "postfix for the class to style the badge icon."
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"description": "Method to generate the badge icon."
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"kind": "method",
|
141
|
+
"name": "getBadgeDot",
|
142
|
+
"privacy": "private",
|
143
|
+
"return": {
|
144
|
+
"type": {
|
145
|
+
"text": ""
|
146
|
+
}
|
147
|
+
},
|
148
|
+
"description": "Method to generate the badge dot template."
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"kind": "method",
|
152
|
+
"name": "getBadgeCounterText",
|
153
|
+
"privacy": "private",
|
154
|
+
"return": {
|
155
|
+
"type": {
|
156
|
+
"text": ""
|
157
|
+
}
|
158
|
+
},
|
159
|
+
"description": "Method to generate the badge text and counter template."
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"kind": "method",
|
163
|
+
"name": "setRoleByAriaLabel",
|
164
|
+
"privacy": "private",
|
165
|
+
"return": {
|
166
|
+
"type": {
|
167
|
+
"text": "void"
|
168
|
+
}
|
169
|
+
},
|
170
|
+
"description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"kind": "method",
|
174
|
+
"name": "getBadgeContentBasedOnType",
|
175
|
+
"privacy": "private",
|
176
|
+
"return": {
|
177
|
+
"type": {
|
178
|
+
"text": ""
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
|
182
|
+
}
|
183
|
+
],
|
184
|
+
"attributes": [
|
185
|
+
{
|
186
|
+
"name": "type",
|
187
|
+
"type": {
|
188
|
+
"text": "BadgeType | undefined"
|
189
|
+
},
|
190
|
+
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
191
|
+
"fieldName": "type"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"name": "icon-name",
|
195
|
+
"type": {
|
196
|
+
"text": "IconNames | undefined"
|
197
|
+
},
|
198
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
199
|
+
"fieldName": "iconName"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"name": "variant",
|
203
|
+
"type": {
|
204
|
+
"text": "IconVariant"
|
205
|
+
},
|
206
|
+
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
207
|
+
"default": "primary",
|
208
|
+
"fieldName": "variant"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"name": "counter",
|
212
|
+
"type": {
|
213
|
+
"text": "number | undefined"
|
214
|
+
},
|
215
|
+
"description": "Counter is the number which can be provided in the badge.",
|
216
|
+
"fieldName": "counter"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"name": "max-counter",
|
220
|
+
"type": {
|
221
|
+
"text": "number"
|
222
|
+
},
|
223
|
+
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
224
|
+
"default": "99",
|
225
|
+
"fieldName": "maxCounter"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"name": "overlay",
|
229
|
+
"type": {
|
230
|
+
"text": "boolean"
|
231
|
+
},
|
232
|
+
"default": "false",
|
233
|
+
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
234
|
+
"fieldName": "overlay"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"name": "aria-label",
|
238
|
+
"type": {
|
239
|
+
"text": "string | null"
|
240
|
+
},
|
241
|
+
"default": "null",
|
242
|
+
"description": "Aria-label attribute to be set for accessibility",
|
243
|
+
"fieldName": "ariaLabel"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"superclass": {
|
247
|
+
"name": "Component",
|
248
|
+
"module": "/src/models"
|
249
|
+
},
|
250
|
+
"tagName": "mdc-badge",
|
251
|
+
"jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported badge types:\n * - `dot`: Displays a dot notification badge with a blue color.\n * - `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n * - `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\n * it shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n * - `success`: Displays a success badge with a check circle icon and green color.\n * - `warning`: Displays a warning badge with a warning icon and yellow color.\n * - `error`: Displays a error badge with a error legacy icon and red color.\n *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n */",
|
252
|
+
"customElement": true
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"exports": [
|
256
|
+
{
|
257
|
+
"kind": "js",
|
258
|
+
"name": "default",
|
259
|
+
"declaration": {
|
260
|
+
"name": "Badge",
|
261
|
+
"module": "components/badge/badge.component.js"
|
262
|
+
}
|
263
|
+
}
|
264
|
+
]
|
265
|
+
},
|
5
266
|
{
|
6
267
|
"kind": "javascript-module",
|
7
268
|
"path": "components/avatar/avatar.component.js",
|
@@ -244,251 +505,61 @@
|
|
244
505
|
},
|
245
506
|
{
|
246
507
|
"kind": "javascript-module",
|
247
|
-
"path": "components/
|
508
|
+
"path": "components/bullet/bullet.component.js",
|
248
509
|
"declarations": [
|
249
510
|
{
|
250
511
|
"kind": "class",
|
251
|
-
"description": "
|
252
|
-
"name": "
|
253
|
-
"
|
254
|
-
{
|
255
|
-
"kind": "field",
|
256
|
-
"name": "type",
|
257
|
-
"type": {
|
258
|
-
"text": "BadgeType | undefined"
|
259
|
-
},
|
260
|
-
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
261
|
-
"attribute": "type",
|
262
|
-
"reflects": true
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"kind": "field",
|
266
|
-
"name": "iconName",
|
267
|
-
"type": {
|
268
|
-
"text": "IconNames | undefined"
|
269
|
-
},
|
270
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
271
|
-
"attribute": "icon-name"
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"kind": "field",
|
275
|
-
"name": "variant",
|
276
|
-
"type": {
|
277
|
-
"text": "IconVariant"
|
278
|
-
},
|
279
|
-
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
280
|
-
"default": "primary",
|
281
|
-
"attribute": "variant",
|
282
|
-
"reflects": true
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"kind": "field",
|
286
|
-
"name": "counter",
|
287
|
-
"type": {
|
288
|
-
"text": "number | undefined"
|
289
|
-
},
|
290
|
-
"description": "Counter is the number which can be provided in the badge.",
|
291
|
-
"attribute": "counter"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"kind": "field",
|
295
|
-
"name": "maxCounter",
|
296
|
-
"type": {
|
297
|
-
"text": "number"
|
298
|
-
},
|
299
|
-
"description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
|
300
|
-
"default": "99",
|
301
|
-
"attribute": "max-counter",
|
302
|
-
"reflects": true
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"kind": "field",
|
306
|
-
"name": "overlay",
|
307
|
-
"type": {
|
308
|
-
"text": "boolean"
|
309
|
-
},
|
310
|
-
"default": "false",
|
311
|
-
"description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
|
312
|
-
"attribute": "overlay"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"kind": "field",
|
316
|
-
"name": "ariaLabel",
|
317
|
-
"type": {
|
318
|
-
"text": "string | null"
|
319
|
-
},
|
320
|
-
"default": "null",
|
321
|
-
"description": "Aria-label attribute to be set for accessibility",
|
322
|
-
"attribute": "aria-label"
|
323
|
-
},
|
324
|
-
{
|
325
|
-
"kind": "method",
|
326
|
-
"name": "getCounterText",
|
327
|
-
"privacy": "private",
|
328
|
-
"return": {
|
329
|
-
"type": {
|
330
|
-
"text": ""
|
331
|
-
}
|
332
|
-
},
|
333
|
-
"parameters": [
|
334
|
-
{
|
335
|
-
"name": "maxCounter",
|
336
|
-
"type": {
|
337
|
-
"text": "number"
|
338
|
-
},
|
339
|
-
"description": "the maximum limit which can be displayed on the badge"
|
340
|
-
},
|
341
|
-
{
|
342
|
-
"name": "counter",
|
343
|
-
"optional": true,
|
344
|
-
"type": {
|
345
|
-
"text": "number"
|
346
|
-
},
|
347
|
-
"description": "the number to be displayed on the badge"
|
348
|
-
}
|
349
|
-
],
|
350
|
-
"description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"kind": "method",
|
354
|
-
"name": "getBadgeIcon",
|
355
|
-
"privacy": "private",
|
356
|
-
"return": {
|
357
|
-
"type": {
|
358
|
-
"text": ""
|
359
|
-
}
|
360
|
-
},
|
361
|
-
"parameters": [
|
362
|
-
{
|
363
|
-
"name": "iconName",
|
364
|
-
"type": {
|
365
|
-
"text": "string"
|
366
|
-
},
|
367
|
-
"description": "the name of the icon from the icon set"
|
368
|
-
},
|
369
|
-
{
|
370
|
-
"name": "backgroundClassPostfix",
|
371
|
-
"type": {
|
372
|
-
"text": "string"
|
373
|
-
},
|
374
|
-
"description": "postfix for the class to style the badge icon."
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"description": "Method to generate the badge icon."
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"kind": "method",
|
381
|
-
"name": "getBadgeDot",
|
382
|
-
"privacy": "private",
|
383
|
-
"return": {
|
384
|
-
"type": {
|
385
|
-
"text": ""
|
386
|
-
}
|
387
|
-
},
|
388
|
-
"description": "Method to generate the badge dot template."
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"kind": "method",
|
392
|
-
"name": "getBadgeCounterText",
|
393
|
-
"privacy": "private",
|
394
|
-
"return": {
|
395
|
-
"type": {
|
396
|
-
"text": ""
|
397
|
-
}
|
398
|
-
},
|
399
|
-
"description": "Method to generate the badge text and counter template."
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"kind": "method",
|
403
|
-
"name": "setRoleByAriaLabel",
|
404
|
-
"privacy": "private",
|
405
|
-
"return": {
|
406
|
-
"type": {
|
407
|
-
"text": "void"
|
408
|
-
}
|
409
|
-
},
|
410
|
-
"description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
|
411
|
-
},
|
412
|
-
{
|
413
|
-
"kind": "method",
|
414
|
-
"name": "getBadgeContentBasedOnType",
|
415
|
-
"privacy": "private",
|
416
|
-
"return": {
|
417
|
-
"type": {
|
418
|
-
"text": ""
|
419
|
-
}
|
420
|
-
},
|
421
|
-
"description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
|
422
|
-
}
|
423
|
-
],
|
424
|
-
"attributes": [
|
425
|
-
{
|
426
|
-
"name": "type",
|
427
|
-
"type": {
|
428
|
-
"text": "BadgeType | undefined"
|
429
|
-
},
|
430
|
-
"description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
|
431
|
-
"fieldName": "type"
|
432
|
-
},
|
512
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
513
|
+
"name": "Bullet",
|
514
|
+
"cssProperties": [
|
433
515
|
{
|
434
|
-
"
|
435
|
-
"
|
436
|
-
"text": "IconNames | undefined"
|
437
|
-
},
|
438
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
439
|
-
"fieldName": "iconName"
|
516
|
+
"description": "background color of the bullet",
|
517
|
+
"name": "--mdc-bullet-background-color"
|
440
518
|
},
|
441
519
|
{
|
442
|
-
"
|
443
|
-
"
|
444
|
-
"text": "IconVariant"
|
445
|
-
},
|
446
|
-
"description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
|
447
|
-
"default": "primary",
|
448
|
-
"fieldName": "variant"
|
520
|
+
"description": "small size value of the bullet",
|
521
|
+
"name": "--mdc-bullet-size-small"
|
449
522
|
},
|
450
523
|
{
|
451
|
-
"
|
452
|
-
"
|
453
|
-
"text": "number | undefined"
|
454
|
-
},
|
455
|
-
"description": "Counter is the number which can be provided in the badge.",
|
456
|
-
"fieldName": "counter"
|
524
|
+
"description": "medium size value of the bullet",
|
525
|
+
"name": "--mdc-bullet-size-medium"
|
457
526
|
},
|
458
527
|
{
|
459
|
-
"
|
460
|
-
"
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
"default": "99",
|
465
|
-
"fieldName": "maxCounter"
|
466
|
-
},
|
528
|
+
"description": "large size value of the bullet",
|
529
|
+
"name": "--mdc-bullet-size-large"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"members": [
|
467
533
|
{
|
468
|
-
"
|
534
|
+
"kind": "field",
|
535
|
+
"name": "size",
|
469
536
|
"type": {
|
470
|
-
"text": "
|
537
|
+
"text": "Size"
|
471
538
|
},
|
472
|
-
"
|
473
|
-
"description": "
|
474
|
-
"
|
475
|
-
|
539
|
+
"privacy": "public",
|
540
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
541
|
+
"default": "small",
|
542
|
+
"attribute": "size",
|
543
|
+
"reflects": true
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"attributes": [
|
476
547
|
{
|
477
|
-
"name": "
|
548
|
+
"name": "size",
|
478
549
|
"type": {
|
479
|
-
"text": "
|
550
|
+
"text": "Size"
|
480
551
|
},
|
481
|
-
"
|
482
|
-
"
|
483
|
-
"fieldName": "
|
552
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
553
|
+
"default": "small",
|
554
|
+
"fieldName": "size"
|
484
555
|
}
|
485
556
|
],
|
486
557
|
"superclass": {
|
487
558
|
"name": "Component",
|
488
559
|
"module": "/src/models"
|
489
560
|
},
|
490
|
-
"tagName": "mdc-
|
491
|
-
"jsDoc": "/**\n *
|
561
|
+
"tagName": "mdc-bullet",
|
562
|
+
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
|
492
563
|
"customElement": true
|
493
564
|
}
|
494
565
|
],
|
@@ -497,8 +568,8 @@
|
|
497
568
|
"kind": "js",
|
498
569
|
"name": "default",
|
499
570
|
"declaration": {
|
500
|
-
"name": "
|
501
|
-
"module": "components/
|
571
|
+
"name": "Bullet",
|
572
|
+
"module": "components/bullet/bullet.component.js"
|
502
573
|
}
|
503
574
|
}
|
504
575
|
]
|
@@ -1050,77 +1121,6 @@
|
|
1050
1121
|
}
|
1051
1122
|
]
|
1052
1123
|
},
|
1053
|
-
{
|
1054
|
-
"kind": "javascript-module",
|
1055
|
-
"path": "components/bullet/bullet.component.js",
|
1056
|
-
"declarations": [
|
1057
|
-
{
|
1058
|
-
"kind": "class",
|
1059
|
-
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
1060
|
-
"name": "Bullet",
|
1061
|
-
"cssProperties": [
|
1062
|
-
{
|
1063
|
-
"description": "background color of the bullet",
|
1064
|
-
"name": "--mdc-bullet-background-color"
|
1065
|
-
},
|
1066
|
-
{
|
1067
|
-
"description": "small size value of the bullet",
|
1068
|
-
"name": "--mdc-bullet-size-small"
|
1069
|
-
},
|
1070
|
-
{
|
1071
|
-
"description": "medium size value of the bullet",
|
1072
|
-
"name": "--mdc-bullet-size-medium"
|
1073
|
-
},
|
1074
|
-
{
|
1075
|
-
"description": "large size value of the bullet",
|
1076
|
-
"name": "--mdc-bullet-size-large"
|
1077
|
-
}
|
1078
|
-
],
|
1079
|
-
"members": [
|
1080
|
-
{
|
1081
|
-
"kind": "field",
|
1082
|
-
"name": "size",
|
1083
|
-
"type": {
|
1084
|
-
"text": "Size"
|
1085
|
-
},
|
1086
|
-
"privacy": "public",
|
1087
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1088
|
-
"default": "small",
|
1089
|
-
"attribute": "size",
|
1090
|
-
"reflects": true
|
1091
|
-
}
|
1092
|
-
],
|
1093
|
-
"attributes": [
|
1094
|
-
{
|
1095
|
-
"name": "size",
|
1096
|
-
"type": {
|
1097
|
-
"text": "Size"
|
1098
|
-
},
|
1099
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
1100
|
-
"default": "small",
|
1101
|
-
"fieldName": "size"
|
1102
|
-
}
|
1103
|
-
],
|
1104
|
-
"superclass": {
|
1105
|
-
"name": "Component",
|
1106
|
-
"module": "/src/models"
|
1107
|
-
},
|
1108
|
-
"tagName": "mdc-bullet",
|
1109
|
-
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
|
1110
|
-
"customElement": true
|
1111
|
-
}
|
1112
|
-
],
|
1113
|
-
"exports": [
|
1114
|
-
{
|
1115
|
-
"kind": "js",
|
1116
|
-
"name": "default",
|
1117
|
-
"declaration": {
|
1118
|
-
"name": "Bullet",
|
1119
|
-
"module": "components/bullet/bullet.component.js"
|
1120
|
-
}
|
1121
|
-
}
|
1122
|
-
]
|
1123
|
-
},
|
1124
1124
|
{
|
1125
1125
|
"kind": "javascript-module",
|
1126
1126
|
"path": "components/button/button.component.js",
|
@@ -2405,105 +2405,285 @@
|
|
2405
2405
|
},
|
2406
2406
|
{
|
2407
2407
|
"kind": "field",
|
2408
|
-
"name": "url",
|
2408
|
+
"name": "url",
|
2409
|
+
"type": {
|
2410
|
+
"text": "string | undefined"
|
2411
|
+
},
|
2412
|
+
"description": "Url of where icons will be fetched from",
|
2413
|
+
"attribute": "url"
|
2414
|
+
},
|
2415
|
+
{
|
2416
|
+
"kind": "field",
|
2417
|
+
"name": "fileExtension",
|
2418
|
+
"type": {
|
2419
|
+
"text": "string | undefined"
|
2420
|
+
},
|
2421
|
+
"description": "File extension of icons",
|
2422
|
+
"default": "svg",
|
2423
|
+
"attribute": "file-extension",
|
2424
|
+
"reflects": true
|
2425
|
+
},
|
2426
|
+
{
|
2427
|
+
"kind": "field",
|
2428
|
+
"name": "lengthUnit",
|
2429
|
+
"type": {
|
2430
|
+
"text": "string"
|
2431
|
+
},
|
2432
|
+
"description": "Length unit used for sizing of icons",
|
2433
|
+
"default": "em",
|
2434
|
+
"attribute": "length-unit",
|
2435
|
+
"reflects": true
|
2436
|
+
},
|
2437
|
+
{
|
2438
|
+
"kind": "field",
|
2439
|
+
"name": "size",
|
2440
|
+
"type": {
|
2441
|
+
"text": "number | undefined"
|
2442
|
+
},
|
2443
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
2444
|
+
"default": "1",
|
2445
|
+
"attribute": "size",
|
2446
|
+
"reflects": true
|
2447
|
+
},
|
2448
|
+
{
|
2449
|
+
"kind": "method",
|
2450
|
+
"name": "updateValuesInContext",
|
2451
|
+
"privacy": "private"
|
2452
|
+
},
|
2453
|
+
{
|
2454
|
+
"kind": "method",
|
2455
|
+
"name": "updateContext",
|
2456
|
+
"privacy": "protected",
|
2457
|
+
"return": {
|
2458
|
+
"type": {
|
2459
|
+
"text": "void"
|
2460
|
+
}
|
2461
|
+
}
|
2462
|
+
}
|
2463
|
+
],
|
2464
|
+
"attributes": [
|
2465
|
+
{
|
2466
|
+
"name": "url",
|
2467
|
+
"type": {
|
2468
|
+
"text": "string | undefined"
|
2469
|
+
},
|
2470
|
+
"description": "Url of where icons will be fetched from",
|
2471
|
+
"fieldName": "url"
|
2472
|
+
},
|
2473
|
+
{
|
2474
|
+
"name": "file-extension",
|
2475
|
+
"type": {
|
2476
|
+
"text": "string | undefined"
|
2477
|
+
},
|
2478
|
+
"description": "File extension of icons",
|
2479
|
+
"default": "svg",
|
2480
|
+
"fieldName": "fileExtension"
|
2481
|
+
},
|
2482
|
+
{
|
2483
|
+
"name": "length-unit",
|
2484
|
+
"type": {
|
2485
|
+
"text": "string"
|
2486
|
+
},
|
2487
|
+
"description": "Length unit used for sizing of icons",
|
2488
|
+
"default": "em",
|
2489
|
+
"fieldName": "lengthUnit"
|
2490
|
+
},
|
2491
|
+
{
|
2492
|
+
"name": "size",
|
2493
|
+
"type": {
|
2494
|
+
"text": "number | undefined"
|
2495
|
+
},
|
2496
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
2497
|
+
"default": "1",
|
2498
|
+
"fieldName": "size"
|
2499
|
+
}
|
2500
|
+
],
|
2501
|
+
"superclass": {
|
2502
|
+
"name": "Provider",
|
2503
|
+
"module": "/src/models"
|
2504
|
+
},
|
2505
|
+
"tagName": "mdc-iconprovider",
|
2506
|
+
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
2507
|
+
"customElement": true
|
2508
|
+
}
|
2509
|
+
],
|
2510
|
+
"exports": [
|
2511
|
+
{
|
2512
|
+
"kind": "js",
|
2513
|
+
"name": "default",
|
2514
|
+
"declaration": {
|
2515
|
+
"name": "IconProvider",
|
2516
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
2517
|
+
}
|
2518
|
+
}
|
2519
|
+
]
|
2520
|
+
},
|
2521
|
+
{
|
2522
|
+
"kind": "javascript-module",
|
2523
|
+
"path": "components/labelandhelper/labelandhelper.component.js",
|
2524
|
+
"declarations": [
|
2525
|
+
{
|
2526
|
+
"kind": "class",
|
2527
|
+
"description": "labelandhelper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
2528
|
+
"name": "LabelAndHelper",
|
2529
|
+
"members": [
|
2530
|
+
{
|
2531
|
+
"kind": "field",
|
2532
|
+
"name": "label",
|
2409
2533
|
"type": {
|
2410
2534
|
"text": "string | undefined"
|
2411
2535
|
},
|
2412
|
-
"description": "
|
2413
|
-
"attribute": "
|
2536
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
2537
|
+
"attribute": "label",
|
2538
|
+
"reflects": true
|
2414
2539
|
},
|
2415
2540
|
{
|
2416
2541
|
"kind": "field",
|
2417
|
-
"name": "
|
2542
|
+
"name": "id",
|
2543
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2544
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2545
|
+
"attribute": "id"
|
2546
|
+
},
|
2547
|
+
{
|
2548
|
+
"kind": "field",
|
2549
|
+
"name": "helpTextType",
|
2418
2550
|
"type": {
|
2419
|
-
"text": "
|
2551
|
+
"text": "ValidationType"
|
2420
2552
|
},
|
2421
|
-
"description": "
|
2422
|
-
"
|
2423
|
-
"attribute": "file-extension",
|
2553
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
2554
|
+
"attribute": "help-text-type",
|
2424
2555
|
"reflects": true
|
2425
2556
|
},
|
2426
2557
|
{
|
2427
2558
|
"kind": "field",
|
2428
|
-
"name": "
|
2559
|
+
"name": "helpText",
|
2429
2560
|
"type": {
|
2430
|
-
"text": "string"
|
2561
|
+
"text": "string | undefined"
|
2431
2562
|
},
|
2432
|
-
"description": "
|
2433
|
-
"
|
2434
|
-
"attribute": "length-unit",
|
2563
|
+
"description": "The help text that is displayed below the input field.",
|
2564
|
+
"attribute": "help-text",
|
2435
2565
|
"reflects": true
|
2436
2566
|
},
|
2437
2567
|
{
|
2438
2568
|
"kind": "field",
|
2439
|
-
"name": "
|
2569
|
+
"name": "labelInfoText",
|
2440
2570
|
"type": {
|
2441
|
-
"text": "
|
2571
|
+
"text": "string | undefined"
|
2442
2572
|
},
|
2443
|
-
"
|
2444
|
-
"default": "1",
|
2445
|
-
"attribute": "size",
|
2446
|
-
"reflects": true
|
2573
|
+
"attribute": "label-info-text"
|
2447
2574
|
},
|
2448
2575
|
{
|
2449
2576
|
"kind": "method",
|
2450
|
-
"name": "
|
2451
|
-
"privacy": "
|
2577
|
+
"name": "renderLabelElement",
|
2578
|
+
"privacy": "protected",
|
2579
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
2580
|
+
"return": {
|
2581
|
+
"type": {
|
2582
|
+
"text": ""
|
2583
|
+
}
|
2584
|
+
}
|
2452
2585
|
},
|
2453
2586
|
{
|
2454
2587
|
"kind": "method",
|
2455
|
-
"name": "
|
2588
|
+
"name": "renderLabelInfoToggleTip",
|
2456
2589
|
"privacy": "protected",
|
2590
|
+
"description": "displays a info icon, which when hovered over, displays the labelInfoText.\nThis is in beta and is subject to change once the toggletip component is ready.",
|
2457
2591
|
"return": {
|
2458
2592
|
"type": {
|
2459
|
-
"text": "
|
2593
|
+
"text": ""
|
2594
|
+
}
|
2595
|
+
}
|
2596
|
+
},
|
2597
|
+
{
|
2598
|
+
"kind": "method",
|
2599
|
+
"name": "renderHelpTextIcon",
|
2600
|
+
"privacy": "protected",
|
2601
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
2602
|
+
"return": {
|
2603
|
+
"type": {
|
2604
|
+
"text": ""
|
2605
|
+
}
|
2606
|
+
}
|
2607
|
+
},
|
2608
|
+
{
|
2609
|
+
"kind": "method",
|
2610
|
+
"name": "renderHelpText",
|
2611
|
+
"privacy": "protected",
|
2612
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
2613
|
+
"return": {
|
2614
|
+
"type": {
|
2615
|
+
"text": ""
|
2616
|
+
}
|
2617
|
+
}
|
2618
|
+
},
|
2619
|
+
{
|
2620
|
+
"kind": "method",
|
2621
|
+
"name": "renderLabel",
|
2622
|
+
"privacy": "protected",
|
2623
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
2624
|
+
"return": {
|
2625
|
+
"type": {
|
2626
|
+
"text": ""
|
2627
|
+
}
|
2628
|
+
}
|
2629
|
+
},
|
2630
|
+
{
|
2631
|
+
"kind": "method",
|
2632
|
+
"name": "renderHelperText",
|
2633
|
+
"privacy": "protected",
|
2634
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
2635
|
+
"return": {
|
2636
|
+
"type": {
|
2637
|
+
"text": ""
|
2460
2638
|
}
|
2461
2639
|
}
|
2462
2640
|
}
|
2463
2641
|
],
|
2464
2642
|
"attributes": [
|
2465
2643
|
{
|
2466
|
-
"name": "
|
2644
|
+
"name": "label",
|
2467
2645
|
"type": {
|
2468
2646
|
"text": "string | undefined"
|
2469
2647
|
},
|
2470
|
-
"description": "
|
2471
|
-
"fieldName": "
|
2648
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
2649
|
+
"fieldName": "label"
|
2472
2650
|
},
|
2473
2651
|
{
|
2474
|
-
"name": "
|
2652
|
+
"name": "id",
|
2653
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2654
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2655
|
+
"fieldName": "id"
|
2656
|
+
},
|
2657
|
+
{
|
2658
|
+
"name": "help-text-type",
|
2475
2659
|
"type": {
|
2476
|
-
"text": "
|
2660
|
+
"text": "ValidationType"
|
2477
2661
|
},
|
2478
|
-
"description": "
|
2479
|
-
"
|
2480
|
-
"fieldName": "fileExtension"
|
2662
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
2663
|
+
"fieldName": "helpTextType"
|
2481
2664
|
},
|
2482
2665
|
{
|
2483
|
-
"name": "
|
2666
|
+
"name": "help-text",
|
2484
2667
|
"type": {
|
2485
|
-
"text": "string"
|
2668
|
+
"text": "string | undefined"
|
2486
2669
|
},
|
2487
|
-
"description": "
|
2488
|
-
"
|
2489
|
-
"fieldName": "lengthUnit"
|
2670
|
+
"description": "The help text that is displayed below the input field.",
|
2671
|
+
"fieldName": "helpText"
|
2490
2672
|
},
|
2491
2673
|
{
|
2492
|
-
"name": "
|
2674
|
+
"name": "label-info-text",
|
2493
2675
|
"type": {
|
2494
|
-
"text": "
|
2676
|
+
"text": "string | undefined"
|
2495
2677
|
},
|
2496
|
-
"
|
2497
|
-
"default": "1",
|
2498
|
-
"fieldName": "size"
|
2678
|
+
"fieldName": "labelInfoText"
|
2499
2679
|
}
|
2500
2680
|
],
|
2501
2681
|
"superclass": {
|
2502
|
-
"name": "
|
2682
|
+
"name": "Component",
|
2503
2683
|
"module": "/src/models"
|
2504
2684
|
},
|
2505
|
-
"tagName": "mdc-
|
2506
|
-
"jsDoc": "/**\n *
|
2685
|
+
"tagName": "mdc-labelandhelper",
|
2686
|
+
"jsDoc": "/**\n * labelandhelper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-labelandhelper\n *\n */",
|
2507
2687
|
"customElement": true
|
2508
2688
|
}
|
2509
2689
|
],
|
@@ -2512,8 +2692,8 @@
|
|
2512
2692
|
"kind": "js",
|
2513
2693
|
"name": "default",
|
2514
2694
|
"declaration": {
|
2515
|
-
"name": "
|
2516
|
-
"module": "components/
|
2695
|
+
"name": "LabelAndHelper",
|
2696
|
+
"module": "components/labelandhelper/labelandhelper.component.js"
|
2517
2697
|
}
|
2518
2698
|
}
|
2519
2699
|
]
|
@@ -3091,45 +3271,140 @@
|
|
3091
3271
|
},
|
3092
3272
|
{
|
3093
3273
|
"kind": "javascript-module",
|
3094
|
-
"path": "utils/mixins/
|
3274
|
+
"path": "utils/mixins/NameMixin.js",
|
3095
3275
|
"declarations": [
|
3096
3276
|
{
|
3097
3277
|
"kind": "mixin",
|
3098
3278
|
"description": "",
|
3099
|
-
"name": "
|
3279
|
+
"name": "NameMixin",
|
3100
3280
|
"members": [
|
3101
3281
|
{
|
3102
3282
|
"kind": "field",
|
3103
|
-
"name": "
|
3283
|
+
"name": "name",
|
3104
3284
|
"type": {
|
3105
3285
|
"text": "string"
|
3106
3286
|
},
|
3107
3287
|
"default": "''",
|
3108
|
-
"description": "
|
3109
|
-
"attribute": "
|
3288
|
+
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
3289
|
+
"attribute": "name",
|
3110
3290
|
"reflects": true
|
3111
|
-
},
|
3112
|
-
{
|
3113
|
-
"kind": "method",
|
3114
|
-
"name": "renderLabel",
|
3115
|
-
"privacy": "public",
|
3116
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
3117
|
-
"return": {
|
3118
|
-
"type": {
|
3119
|
-
"text": ""
|
3120
|
-
}
|
3121
|
-
}
|
3122
3291
|
}
|
3123
3292
|
],
|
3124
3293
|
"attributes": [
|
3125
3294
|
{
|
3126
|
-
"name": "
|
3295
|
+
"name": "name",
|
3127
3296
|
"type": {
|
3128
3297
|
"text": "string"
|
3129
3298
|
},
|
3130
3299
|
"default": "''",
|
3131
|
-
"description": "
|
3132
|
-
"fieldName": "
|
3300
|
+
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
3301
|
+
"fieldName": "name"
|
3302
|
+
}
|
3303
|
+
],
|
3304
|
+
"parameters": [
|
3305
|
+
{
|
3306
|
+
"name": "superClass",
|
3307
|
+
"type": {
|
3308
|
+
"text": "T"
|
3309
|
+
}
|
3310
|
+
}
|
3311
|
+
]
|
3312
|
+
}
|
3313
|
+
],
|
3314
|
+
"exports": [
|
3315
|
+
{
|
3316
|
+
"kind": "js",
|
3317
|
+
"name": "NameMixin",
|
3318
|
+
"declaration": {
|
3319
|
+
"name": "NameMixin",
|
3320
|
+
"module": "utils/mixins/NameMixin.js"
|
3321
|
+
}
|
3322
|
+
}
|
3323
|
+
]
|
3324
|
+
},
|
3325
|
+
{
|
3326
|
+
"kind": "javascript-module",
|
3327
|
+
"path": "utils/mixins/ReadonlyMixin.js",
|
3328
|
+
"declarations": [
|
3329
|
+
{
|
3330
|
+
"kind": "mixin",
|
3331
|
+
"description": "",
|
3332
|
+
"name": "ReadonlyMixin",
|
3333
|
+
"members": [
|
3334
|
+
{
|
3335
|
+
"kind": "field",
|
3336
|
+
"name": "readonly",
|
3337
|
+
"type": {
|
3338
|
+
"text": "boolean"
|
3339
|
+
},
|
3340
|
+
"default": "false",
|
3341
|
+
"description": "Indicates whether the component is readonly.\nWhen the component is readonly, it is not editable.",
|
3342
|
+
"attribute": "readonly",
|
3343
|
+
"reflects": true
|
3344
|
+
}
|
3345
|
+
],
|
3346
|
+
"attributes": [
|
3347
|
+
{
|
3348
|
+
"name": "readonly",
|
3349
|
+
"type": {
|
3350
|
+
"text": "boolean"
|
3351
|
+
},
|
3352
|
+
"default": "false",
|
3353
|
+
"description": "Indicates whether the component is readonly.\nWhen the component is readonly, it is not editable.",
|
3354
|
+
"fieldName": "readonly"
|
3355
|
+
}
|
3356
|
+
],
|
3357
|
+
"parameters": [
|
3358
|
+
{
|
3359
|
+
"name": "superClass",
|
3360
|
+
"type": {
|
3361
|
+
"text": "T"
|
3362
|
+
}
|
3363
|
+
}
|
3364
|
+
]
|
3365
|
+
}
|
3366
|
+
],
|
3367
|
+
"exports": [
|
3368
|
+
{
|
3369
|
+
"kind": "js",
|
3370
|
+
"name": "ReadonlyMixin",
|
3371
|
+
"declaration": {
|
3372
|
+
"name": "ReadonlyMixin",
|
3373
|
+
"module": "utils/mixins/ReadonlyMixin.js"
|
3374
|
+
}
|
3375
|
+
}
|
3376
|
+
]
|
3377
|
+
},
|
3378
|
+
{
|
3379
|
+
"kind": "javascript-module",
|
3380
|
+
"path": "utils/mixins/RequiredMixin.js",
|
3381
|
+
"declarations": [
|
3382
|
+
{
|
3383
|
+
"kind": "mixin",
|
3384
|
+
"description": "",
|
3385
|
+
"name": "RequiredMixin",
|
3386
|
+
"members": [
|
3387
|
+
{
|
3388
|
+
"kind": "field",
|
3389
|
+
"name": "required",
|
3390
|
+
"type": {
|
3391
|
+
"text": "boolean"
|
3392
|
+
},
|
3393
|
+
"default": "false",
|
3394
|
+
"description": "Indicates whether the component is required.\nWhen the component is required, it is a mandatory field.",
|
3395
|
+
"attribute": "required",
|
3396
|
+
"reflects": true
|
3397
|
+
}
|
3398
|
+
],
|
3399
|
+
"attributes": [
|
3400
|
+
{
|
3401
|
+
"name": "required",
|
3402
|
+
"type": {
|
3403
|
+
"text": "boolean"
|
3404
|
+
},
|
3405
|
+
"default": "false",
|
3406
|
+
"description": "Indicates whether the component is required.\nWhen the component is required, it is a mandatory field.",
|
3407
|
+
"fieldName": "required"
|
3133
3408
|
}
|
3134
3409
|
],
|
3135
3410
|
"parameters": [
|
@@ -3145,10 +3420,10 @@
|
|
3145
3420
|
"exports": [
|
3146
3421
|
{
|
3147
3422
|
"kind": "js",
|
3148
|
-
"name": "
|
3423
|
+
"name": "RequiredMixin",
|
3149
3424
|
"declaration": {
|
3150
|
-
"name": "
|
3151
|
-
"module": "utils/mixins/
|
3425
|
+
"name": "RequiredMixin",
|
3426
|
+
"module": "utils/mixins/RequiredMixin.js"
|
3152
3427
|
}
|
3153
3428
|
}
|
3154
3429
|
]
|
@@ -3206,6 +3481,59 @@
|
|
3206
3481
|
}
|
3207
3482
|
]
|
3208
3483
|
},
|
3484
|
+
{
|
3485
|
+
"kind": "javascript-module",
|
3486
|
+
"path": "utils/mixins/ValueMixin.js",
|
3487
|
+
"declarations": [
|
3488
|
+
{
|
3489
|
+
"kind": "mixin",
|
3490
|
+
"description": "",
|
3491
|
+
"name": "ValueMixin",
|
3492
|
+
"members": [
|
3493
|
+
{
|
3494
|
+
"kind": "field",
|
3495
|
+
"name": "value",
|
3496
|
+
"type": {
|
3497
|
+
"text": "string"
|
3498
|
+
},
|
3499
|
+
"default": "''",
|
3500
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
3501
|
+
"attribute": "value",
|
3502
|
+
"reflects": true
|
3503
|
+
}
|
3504
|
+
],
|
3505
|
+
"attributes": [
|
3506
|
+
{
|
3507
|
+
"name": "value",
|
3508
|
+
"type": {
|
3509
|
+
"text": "string"
|
3510
|
+
},
|
3511
|
+
"default": "''",
|
3512
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
3513
|
+
"fieldName": "value"
|
3514
|
+
}
|
3515
|
+
],
|
3516
|
+
"parameters": [
|
3517
|
+
{
|
3518
|
+
"name": "superClass",
|
3519
|
+
"type": {
|
3520
|
+
"text": "T"
|
3521
|
+
}
|
3522
|
+
}
|
3523
|
+
]
|
3524
|
+
}
|
3525
|
+
],
|
3526
|
+
"exports": [
|
3527
|
+
{
|
3528
|
+
"kind": "js",
|
3529
|
+
"name": "ValueMixin",
|
3530
|
+
"declaration": {
|
3531
|
+
"name": "ValueMixin",
|
3532
|
+
"module": "utils/mixins/ValueMixin.js"
|
3533
|
+
}
|
3534
|
+
}
|
3535
|
+
]
|
3536
|
+
},
|
3209
3537
|
{
|
3210
3538
|
"kind": "javascript-module",
|
3211
3539
|
"path": "utils/mixins/index.types.js",
|