@designsystem-se/af 38.2.1-beta.dark-mode-css-labb → 39.0.1-beta.dark-mode
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/components/digi-badge-status.js +1 -1
- package/components/digi-calendar-datepicker.js +1 -1
- package/components/digi-code-example.js +6 -6
- package/components/digi-context-menu.js +4 -4
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +1 -1
- package/components/digi-form-filter.js +1 -1
- package/components/digi-form-select-filter.js +84 -47
- package/components/digi-header-avatar.js +1 -1
- package/components/digi-info-card.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-progress-list-item.js +1 -1
- package/components/{p-78154d00.js → p-90f7d507.js} +1 -1
- package/components/p-a162b186.js +177 -0
- package/components/p-d516f6af.js +66 -0
- package/custom-elements.json +1 -1
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-badge-status.cjs.entry.js +1 -1
- package/dist/cjs/digi-button_84.cjs.entry.js +94 -57
- package/dist/cjs/digi-code-example.cjs.entry.js +5 -5
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/_badge/badge-status/badge-status.css +2 -2
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +131 -381
- package/dist/collection/components/_code/code-example/code-example.js +4 -5
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +130 -380
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +85 -48
- package/dist/collection/components/_header/header-avatar/header-avatar.css +130 -380
- package/dist/collection/components/_link/link-internal/link-internal.css +130 -380
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +6 -6
- package/dist/collection/components/_notification/notification-alert/notification-alert.css +1 -1
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +1 -1
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.css +2 -2
- package/dist/collection/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_logo.variables.scss +0 -2
- package/dist/collection/design-tokens/components/_notification-alert.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_progress-indicator.variables.scss +1 -1
- package/dist/collection/styles/src/_alias.mixin.scss +252 -2
- package/dist/collection/styles/src/index.scss +2 -16
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +308 -154
- package/dist/digi-arbetsformedlingen/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/digi-arbetsformedlingen/design-tokens/components/_notification-alert.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_progress-indicator.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-c1fd535b.entry.js → p-03b818fc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-53880b04.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2fb7d64.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4b540e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +252 -2
- package/dist/digi-arbetsformedlingen/styles/src/index.scss +2 -16
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +308 -154
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-badge-status.entry.js +1 -1
- package/dist/esm/digi-button_84.entry.js +94 -57
- package/dist/esm/digi-code-example.entry.js +5 -5
- package/dist/esm/digi-progress-list-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +22 -3
- package/dist/types/components/_navigation/navigation-context-menu/navigation-context-menu.d.ts +2 -2
- package/dist/types/components.d.ts +6 -6
- package/hydrate/index.js +102 -65
- package/hydrate/index.mjs +102 -65
- package/package.json +4 -2
- package/components/p-a90b746e.js +0 -177
- package/components/p-fdb31c30.js +0 -66
- package/dist/collection/styles/src/themes/_alias-dark.scss +0 -126
- package/dist/collection/styles/src/themes/_alias-light.scss +0 -126
- package/dist/digi-arbetsformedlingen/p-7ed49934.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad638968.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ede12626.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-dark.scss +0 -126
- package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-light.scss +0 -126
|
@@ -16,6 +16,10 @@ import { FormSelectFilterValidation } from "./form-select-validation.enum";
|
|
|
16
16
|
export class FormSelectFilter {
|
|
17
17
|
constructor() {
|
|
18
18
|
this._searchQuery = '';
|
|
19
|
+
/** True when `value` was set from outside (e.g. Angular CVA) — then value is selection master. */
|
|
20
|
+
this._valueIsMaster = false;
|
|
21
|
+
/** Guards internal `value` writes so they don't flip `_valueIsMaster`. */
|
|
22
|
+
this._updatingValueInternally = false;
|
|
19
23
|
this.isOpen = false;
|
|
20
24
|
this.focusListItemIndex = 0;
|
|
21
25
|
this.focusInList = false;
|
|
@@ -49,17 +53,19 @@ export class FormSelectFilter {
|
|
|
49
53
|
this.afFilterButtonAriaDescribedby = undefined;
|
|
50
54
|
this.afErrorMessageIsAlert = true;
|
|
51
55
|
}
|
|
52
|
-
onValueChanged(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
onValueChanged(newValue) {
|
|
57
|
+
let parsedValue;
|
|
58
|
+
if (typeof newValue === 'string') {
|
|
59
|
+
parsedValue = newValue ? JSON.parse(newValue) : [];
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
parsedValue = newValue || [];
|
|
63
|
+
}
|
|
64
|
+
if (!this._updatingValueInternally) {
|
|
65
|
+
this._valueIsMaster = true;
|
|
62
66
|
}
|
|
67
|
+
this.value = parsedValue;
|
|
68
|
+
this.syncValueAndSelectedListItems('valueChange');
|
|
63
69
|
}
|
|
64
70
|
handleListItems() {
|
|
65
71
|
if (this.afListItems) {
|
|
@@ -75,15 +81,7 @@ export class FormSelectFilter {
|
|
|
75
81
|
}
|
|
76
82
|
this.giveItemsValueIfNoneExist();
|
|
77
83
|
this.sortListAlphabetically();
|
|
78
|
-
|
|
79
|
-
if (selectedListItems && selectedListItems.length > 0) {
|
|
80
|
-
this._selectedItems = [...selectedListItems];
|
|
81
|
-
this.afOnSelect.emit(this._selectedItems);
|
|
82
|
-
this.value = this._selectedItems;
|
|
83
|
-
}
|
|
84
|
-
else if (this.value && this.value.length > 0) {
|
|
85
|
-
this._selectedItems = [...this.value];
|
|
86
|
-
}
|
|
84
|
+
this.syncValueAndSelectedListItems('afListItemsChange');
|
|
87
85
|
this.filterResults();
|
|
88
86
|
}
|
|
89
87
|
catch (e) {
|
|
@@ -135,14 +133,58 @@ export class FormSelectFilter {
|
|
|
135
133
|
focusOnElement() {
|
|
136
134
|
this._toggleButton.focus();
|
|
137
135
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
136
|
+
componentWillLoad() {
|
|
137
|
+
/* Stencil @Watch does not run for the initial prop value.
|
|
138
|
+
* Given that Angular Control Value Accessors writeValue often sets `value` before willLoad —
|
|
139
|
+
* we need to force a value check here with bootstrapInitialValue .*/
|
|
140
|
+
this.bootstrapInitialValue();
|
|
141
|
+
this.handleListItems();
|
|
142
|
+
}
|
|
143
|
+
bootstrapInitialValue() {
|
|
144
|
+
if (typeof this.value === 'string') {
|
|
145
|
+
const parsed = this.value ? JSON.parse(this.value) : [];
|
|
146
|
+
this._updatingValueInternally = true;
|
|
147
|
+
this.value = parsed;
|
|
148
|
+
this._updatingValueInternally = false;
|
|
149
|
+
}
|
|
150
|
+
if (Array.isArray(this.value) && this.value.length > 0) {
|
|
151
|
+
this._valueIsMaster = true;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Keep `value` and `afListItems[].selected` in sync.
|
|
156
|
+
* - If `value` was set externally (`_valueIsMaster`), value wins on list updates.
|
|
157
|
+
* - Otherwise selection is seeded from `afListItems[].selected` (React/vanilla data-as-master).
|
|
158
|
+
* Does not emit `afOnSelect` — that is reserved for user interaction so Angular Control Value Accessors
|
|
159
|
+
* does not get feedback loops on prop sync.
|
|
160
|
+
*/
|
|
161
|
+
syncValueAndSelectedListItems(whereDidTheChangeComeFrom) {
|
|
162
|
+
if (!this._afListItems) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
if (whereDidTheChangeComeFrom === 'afListItemsChange') {
|
|
166
|
+
if (this._valueIsMaster) {
|
|
167
|
+
this.applyValueToListItems(this.value);
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
this._selectedItems = this._afListItems.filter((item) => item.selected);
|
|
171
|
+
this.setValueInternally([...this._selectedItems]);
|
|
172
|
+
}
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
this.applyValueToListItems(this.value);
|
|
176
|
+
}
|
|
177
|
+
applyValueToListItems(value) {
|
|
178
|
+
const selectedValues = new Set((value !== null && value !== void 0 ? value : []).map((item) => item.value));
|
|
179
|
+
this._afListItems.forEach((item) => {
|
|
180
|
+
item.selected = selectedValues.has(item.value);
|
|
181
|
+
});
|
|
182
|
+
this._selectedItems = this._afListItems.filter((item) => selectedValues.has(item.value));
|
|
183
|
+
}
|
|
184
|
+
setValueInternally(nextValue) {
|
|
185
|
+
this._updatingValueInternally = true;
|
|
186
|
+
this.value = nextValue;
|
|
187
|
+
this._updatingValueInternally = false;
|
|
146
188
|
}
|
|
147
189
|
setClosed(focusToggleButton = false) {
|
|
148
190
|
this.isOpen = false;
|
|
@@ -201,9 +243,6 @@ export class FormSelectFilter {
|
|
|
201
243
|
this.setClosed(true);
|
|
202
244
|
this.afOnFilterClosed.emit();
|
|
203
245
|
}
|
|
204
|
-
componentWillLoad() {
|
|
205
|
-
this.handleListItems();
|
|
206
|
-
}
|
|
207
246
|
setFocusItem() {
|
|
208
247
|
const element = this.inputItem(`${this.afId}-select-filter-list`, this.focusListItemIndex);
|
|
209
248
|
if (element) {
|
|
@@ -308,16 +347,14 @@ export class FormSelectFilter {
|
|
|
308
347
|
}
|
|
309
348
|
filterResults() {
|
|
310
349
|
if (this._searchQuery && this._searchQuery.length > 0) {
|
|
311
|
-
this._filteredResult =
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
})
|
|
317
|
-
];
|
|
350
|
+
this._filteredResult = this._afListItems.filter((item) => {
|
|
351
|
+
return item.label
|
|
352
|
+
.toLowerCase()
|
|
353
|
+
.includes(this._searchQuery.toLowerCase());
|
|
354
|
+
});
|
|
318
355
|
}
|
|
319
356
|
else {
|
|
320
|
-
this._filteredResult =
|
|
357
|
+
this._filteredResult = this._afListItems;
|
|
321
358
|
}
|
|
322
359
|
}
|
|
323
360
|
inputSearchKeyboardHandler(e) {
|
|
@@ -337,7 +374,7 @@ export class FormSelectFilter {
|
|
|
337
374
|
}
|
|
338
375
|
resetSelectItems(close = false) {
|
|
339
376
|
this._selectedItems = [];
|
|
340
|
-
this.
|
|
377
|
+
this.setValueInternally([]);
|
|
341
378
|
this.afOnSelect.emit([]);
|
|
342
379
|
this._searchQuery = '';
|
|
343
380
|
this.filterResults();
|
|
@@ -367,7 +404,7 @@ export class FormSelectFilter {
|
|
|
367
404
|
this._selectedItems = [item];
|
|
368
405
|
this.emitFilterClosedEvent();
|
|
369
406
|
}
|
|
370
|
-
this.
|
|
407
|
+
this.setValueInternally([...this._selectedItems]);
|
|
371
408
|
this.afOnSelect.emit(this._selectedItems);
|
|
372
409
|
this.filterResults();
|
|
373
410
|
}
|
|
@@ -458,16 +495,16 @@ export class FormSelectFilter {
|
|
|
458
495
|
} }, h("slot", { name: "empty-search-result" })))));
|
|
459
496
|
}
|
|
460
497
|
render() {
|
|
461
|
-
return (h(Host, { key: '
|
|
498
|
+
return (h(Host, { key: '1a07fd41c8f9ccc1fbd0ca768fd3f87fc719dec4', tabindex: -1 }, h("div", { key: '6492705706e717048243892a3f8b269fa26dc6b9', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '99d0e29f7dad712882c0a3c5fd3f468af7dd5c55', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: 'a53d9d63b71557554da9442511af10870e345263', onAfOnEsc: () => this.escHandler() }, h("button", { key: '260c22654935d7422d5fc30a47fbd0c37ec00f0c', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-describedby": `${this.afFilterButtonAriaDescribedby} ${this.afId}--validation-message`, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: 'b92a13d75d3e320a39ca99128354178c01c1ff0d', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '37ab06f299d37c36516a7b809472bb300d244c18', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: 'ca373143f83ab3da2e6579b3a0e1e145a10d2235', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '1a62747454653ceafa650e329301a8975179d75d', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: 'b0cafd4ce8ad8017f60e8fab88417512a6698f20', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
|
|
462
499
|
'digi-form-select-filter__dropdown': true,
|
|
463
500
|
'digi-form-select-filter__dropdown--right': this.afAlignRight,
|
|
464
501
|
'digi-form-select-filter__dropdown--hidden': !this.isOpen
|
|
465
|
-
} }, h("fieldset", { key: '
|
|
502
|
+
} }, h("fieldset", { key: 'f98295e8e804f93428489daf5844df9854ed6053' }, h("div", { key: 'c614d142260b6eaa0b6ea643b34f135551aaf1ec', class: "digi-form-select-filter__header" }, h("legend", { key: 'f1c94bf0ea6e3745d8965fbe5bfdf0a298d7b4f0', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: '6def27fd94b52e666c3e8dac4385ddf874f85bd1', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
|
|
466
503
|
this.focusListItemIndex = 0;
|
|
467
504
|
99;
|
|
468
505
|
}, onAfOnKeyup: (e) => {
|
|
469
506
|
this.inputSearchKeyboardHandler(e.detail);
|
|
470
|
-
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '
|
|
507
|
+
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: 'bcfc446573bb4b8f88aabdde1a8b6da1a6ac51f7', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '656253e1dba64d2906ae9b195063300fe5cbd900', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: '4a42a8ee02e3921710aa00826b31558ed1f9a485', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
|
|
471
508
|
? 'false'
|
|
472
509
|
: this.afValidation ===
|
|
473
510
|
FormSelectFilterValidation.ERROR
|
|
@@ -476,11 +513,11 @@ export class FormSelectFilter {
|
|
|
476
513
|
? false
|
|
477
514
|
: this.afRequired
|
|
478
515
|
? 'true'
|
|
479
|
-
: 'false' }, this.showNeutralValue && (h("li", { key: '
|
|
516
|
+
: 'false' }, this.showNeutralValue && (h("li", { key: '40d30a579a332fec15b5c3f38865eacce0a8c2ee', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
|
|
480
517
|
? 'false'
|
|
481
518
|
: this.afRequired
|
|
482
519
|
? 'true'
|
|
483
|
-
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: '
|
|
520
|
+
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: '43f446e70c707681dd1de50e11af511e8c4d060e', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
|
|
484
521
|
this._filteredResult.map((item, index) => {
|
|
485
522
|
return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
|
|
486
523
|
? 'false'
|
|
@@ -496,9 +533,9 @@ export class FormSelectFilter {
|
|
|
496
533
|
: index === 0
|
|
497
534
|
? 0
|
|
498
535
|
: -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
|
|
499
|
-
}))))), this.afMultipleItems && (h("div", { key: '
|
|
536
|
+
}))))), this.afMultipleItems && (h("div", { key: 'f94a71fb292baf936c9358e33316f1ee93ce37f3', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: '305beb8e5f817d46d5f7b5364e4125c101cbaed5', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '3bf7f1f1bcd2a4e07fd900ba4b6377decc617cd7', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: 'eaa1389239c8b5e93ecac2ed2f6ed09fcda81863', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
|
|
500
537
|
this.setClosed(true);
|
|
501
|
-
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '
|
|
538
|
+
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '213a685ba0d080e873721d526c1517e62f1779be', class: "digi-form-select__footer" }, h("div", { key: '81b470b19af8e472e50a789a6116448b8204359e', "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: '457f29208d032eb29e7bb94c9db9fb9634866524', "af-variation": this.afValidation }, this.afValidationText)))))));
|
|
502
539
|
}
|
|
503
540
|
static get is() { return "digi-form-select-filter"; }
|
|
504
541
|
static get encapsulation() { return "scoped"; }
|
|
@@ -740,7 +777,7 @@ export class FormSelectFilter {
|
|
|
740
777
|
"docs": {
|
|
741
778
|
"tags": [{
|
|
742
779
|
"name": "ignore",
|
|
743
|
-
"text":
|
|
780
|
+
"text": "Propertyn `value` finns inte dokumenterad p\u00E5 komponentens sida p\u00E5 dokumentationswebben, utan\n\u00E4r endast till f\u00F6r att anv\u00E4ndas tillsammans med Angulars Control Value Accessors (CVA).\nAnv\u00E4nds CVA f\u00F6r att hantera komponentens v\u00E4rden s\u00E5 ska inte afListItems anv\u00E4ndas f\u00F6r att\np\u00E5verka vilka val som \u00E4r gjorda eller ej.\nExempel p\u00E5 b\u00E5da s\u00E4tten att hantera datat finns i Angular Playground."
|
|
744
781
|
}],
|
|
745
782
|
"text": ""
|
|
746
783
|
},
|