@spartan-ng/brain 1.8.0-beta.1 → 1.8.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/fesm2022/spartan-ng-brain-accordion.mjs +6 -3
- package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs +10 -5
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-autocomplete.mjs +24 -13
- package/fesm2022/spartan-ng-brain-autocomplete.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-avatar.mjs +2 -1
- package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-button.mjs +2 -1
- package/fesm2022/spartan-ng-brain-button.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-calendar.mjs +40 -20
- package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-checkbox.mjs +11 -4
- package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-collapsible.mjs +4 -2
- package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-combobox.mjs +42 -22
- package/fesm2022/spartan-ng-brain-combobox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-command.mjs +14 -7
- package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-dialog.mjs +10 -5
- package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-drawer.mjs +14 -7
- package/fesm2022/spartan-ng-brain-drawer.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-field.mjs +4 -2
- package/fesm2022/spartan-ng-brain-field.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-hover-card.mjs +2 -1
- package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-input-otp.mjs +4 -2
- package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-input.mjs +2 -1
- package/fesm2022/spartan-ng-brain-input.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-label.mjs +2 -1
- package/fesm2022/spartan-ng-brain-label.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-navigation-menu.mjs +12 -6
- package/fesm2022/spartan-ng-brain-navigation-menu.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-overlay.mjs +93 -10
- package/fesm2022/spartan-ng-brain-overlay.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-popover.mjs +4 -2
- package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-progress.mjs +2 -1
- package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs +2 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-select.mjs +30 -15
- package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-separator.mjs +2 -1
- package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-sheet.mjs +12 -6
- package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-slider.mjs +8 -4
- package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-sonner.mjs +9 -6
- package/fesm2022/spartan-ng-brain-sonner.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-switch.mjs +12 -6
- package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-textarea.mjs +2 -1
- package/fesm2022/spartan-ng-brain-textarea.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle-group.mjs +2 -1
- package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle.mjs +2 -1
- package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
- package/package.json +1 -1
- package/types/spartan-ng-brain-accordion.d.ts +3 -3
- package/types/spartan-ng-brain-alert-dialog.d.ts +5 -5
- package/types/spartan-ng-brain-autocomplete.d.ts +12 -12
- package/types/spartan-ng-brain-avatar.d.ts +1 -1
- package/types/spartan-ng-brain-button.d.ts +1 -1
- package/types/spartan-ng-brain-calendar.d.ts +20 -20
- package/types/spartan-ng-brain-checkbox.d.ts +4 -2
- package/types/spartan-ng-brain-collapsible.d.ts +2 -2
- package/types/spartan-ng-brain-combobox.d.ts +21 -21
- package/types/spartan-ng-brain-command.d.ts +7 -7
- package/types/spartan-ng-brain-dialog.d.ts +5 -5
- package/types/spartan-ng-brain-drawer.d.ts +7 -7
- package/types/spartan-ng-brain-field.d.ts +2 -2
- package/types/spartan-ng-brain-hover-card.d.ts +1 -1
- package/types/spartan-ng-brain-input-otp.d.ts +2 -2
- package/types/spartan-ng-brain-input.d.ts +1 -1
- package/types/spartan-ng-brain-label.d.ts +1 -1
- package/types/spartan-ng-brain-navigation-menu.d.ts +6 -6
- package/types/spartan-ng-brain-overlay.d.ts +13 -2
- package/types/spartan-ng-brain-popover.d.ts +2 -2
- package/types/spartan-ng-brain-progress.d.ts +1 -1
- package/types/spartan-ng-brain-radio-group.d.ts +1 -1
- package/types/spartan-ng-brain-select.d.ts +15 -15
- package/types/spartan-ng-brain-separator.d.ts +1 -1
- package/types/spartan-ng-brain-sheet.d.ts +6 -6
- package/types/spartan-ng-brain-slider.d.ts +4 -4
- package/types/spartan-ng-brain-sonner.d.ts +1 -1
- package/types/spartan-ng-brain-switch.d.ts +5 -3
- package/types/spartan-ng-brain-textarea.d.ts +1 -1
- package/types/spartan-ng-brain-toggle-group.d.ts +1 -1
- package/types/spartan-ng-brain-toggle.d.ts +1 -1
|
@@ -84,12 +84,13 @@ class BrnComboboxContent {
|
|
|
84
84
|
_isEmpty = computed(() => !this._combobox.visibleItems(), ...(ngDevMode ? [{ debugName: "_isEmpty" }] : /* istanbul ignore next */ []));
|
|
85
85
|
_comboboxWidth = this._combobox.searchInputWrapperWidth;
|
|
86
86
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
87
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxContent, isStandalone: true, selector: "[brnComboboxContent]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "id": "id()", "attr.data-state": "_dataState()", "attr.data-empty": "_isEmpty() ? \"\" : null", "style.--brn-combobox-width.px": "_comboboxWidth()" } }, ngImport: i0 });
|
|
87
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxContent, isStandalone: true, selector: "[brnComboboxContent]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "id": "id()", "attr.data-state": "_dataState()", "attr.data-empty": "_isEmpty() ? \"\" : null", "style.--brn-combobox-width.px": "_comboboxWidth()" } }, exportAs: ["brnComboboxContent"], ngImport: i0 });
|
|
88
88
|
}
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxContent, decorators: [{
|
|
90
90
|
type: Directive,
|
|
91
91
|
args: [{
|
|
92
92
|
selector: '[brnComboboxContent]',
|
|
93
|
+
exportAs: 'brnComboboxContent',
|
|
93
94
|
host: {
|
|
94
95
|
'[id]': 'id()',
|
|
95
96
|
'[attr.data-state]': '_dataState()',
|
|
@@ -284,12 +285,13 @@ class BrnCombobox {
|
|
|
284
285
|
this._brnPopover?.close();
|
|
285
286
|
}
|
|
286
287
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCombobox, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
287
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCombobox, isStandalone: true, selector: "[brnCombobox]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filterOptions: { classPropertyName: "filterOptions", publicName: "filterOptions", isSignal: true, isRequired: false, transformFunction: null }, isItemEqualToValue: { classPropertyName: "isItemEqualToValue", publicName: "isItemEqualToValue", isSignal: true, isRequired: false, transformFunction: null }, itemToString: { classPropertyName: "itemToString", publicName: "itemToString", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, closeOnSelect: { classPropertyName: "closeOnSelect", publicName: "closeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, isSingleValuePresent: { classPropertyName: "isSingleValuePresent", publicName: "isSingleValuePresent", isSignal: true, isRequired: false, transformFunction: null }, search: { classPropertyName: "search", publicName: "search", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", search: "searchChange" }, host: { listeners: { "focusout": "_onFocusOut($event)" } }, providers: [BRN_COMBOBOX_VALUE_ACCESSOR, provideBrnComboboxBase(BrnCombobox), provideBrnLabelable(BrnCombobox)], queries: [{ propertyName: "items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_content", first: true, predicate: BrnComboboxContent, descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.BrnFieldControl }], ngImport: i0 });
|
|
288
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCombobox, isStandalone: true, selector: "[brnCombobox]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filterOptions: { classPropertyName: "filterOptions", publicName: "filterOptions", isSignal: true, isRequired: false, transformFunction: null }, isItemEqualToValue: { classPropertyName: "isItemEqualToValue", publicName: "isItemEqualToValue", isSignal: true, isRequired: false, transformFunction: null }, itemToString: { classPropertyName: "itemToString", publicName: "itemToString", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, closeOnSelect: { classPropertyName: "closeOnSelect", publicName: "closeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, isSingleValuePresent: { classPropertyName: "isSingleValuePresent", publicName: "isSingleValuePresent", isSignal: true, isRequired: false, transformFunction: null }, search: { classPropertyName: "search", publicName: "search", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", search: "searchChange" }, host: { listeners: { "focusout": "_onFocusOut($event)" } }, providers: [BRN_COMBOBOX_VALUE_ACCESSOR, provideBrnComboboxBase(BrnCombobox), provideBrnLabelable(BrnCombobox)], queries: [{ propertyName: "items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_content", first: true, predicate: BrnComboboxContent, descendants: true, isSignal: true }], exportAs: ["brnCombobox"], hostDirectives: [{ directive: i1.BrnFieldControl }], ngImport: i0 });
|
|
288
289
|
}
|
|
289
290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCombobox, decorators: [{
|
|
290
291
|
type: Directive,
|
|
291
292
|
args: [{
|
|
292
293
|
selector: '[brnCombobox]',
|
|
294
|
+
exportAs: 'brnCombobox',
|
|
293
295
|
providers: [BRN_COMBOBOX_VALUE_ACCESSOR, provideBrnComboboxBase(BrnCombobox), provideBrnLabelable(BrnCombobox)],
|
|
294
296
|
hostDirectives: [BrnFieldControl],
|
|
295
297
|
host: {
|
|
@@ -322,11 +324,11 @@ class BrnComboboxAnchor {
|
|
|
322
324
|
});
|
|
323
325
|
}
|
|
324
326
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxAnchor, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
325
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxAnchor, isStandalone: true, selector: "[brnComboboxAnchor]", ngImport: i0 });
|
|
327
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxAnchor, isStandalone: true, selector: "[brnComboboxAnchor]", exportAs: ["brnComboboxAnchor"], ngImport: i0 });
|
|
326
328
|
}
|
|
327
329
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxAnchor, decorators: [{
|
|
328
330
|
type: Directive,
|
|
329
|
-
args: [{ selector: '[brnComboboxAnchor]' }]
|
|
331
|
+
args: [{ selector: '[brnComboboxAnchor]', exportAs: 'brnComboboxAnchor' }]
|
|
330
332
|
}], ctorParameters: () => [] });
|
|
331
333
|
|
|
332
334
|
class BrnComboboxChip {
|
|
@@ -334,12 +336,13 @@ class BrnComboboxChip {
|
|
|
334
336
|
_disabled = this._combobox.disabledState;
|
|
335
337
|
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
336
338
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChip, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
337
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxChip, isStandalone: true, selector: "[brnComboboxChip]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "tabindex": "-1" }, properties: { "attr.data-disabled": "_disabled() ? \"\" : null", "attr.aria-disabled": "_disabled() ? \"true\" : null" } }, ngImport: i0 });
|
|
339
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxChip, isStandalone: true, selector: "[brnComboboxChip]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "tabindex": "-1" }, properties: { "attr.data-disabled": "_disabled() ? \"\" : null", "attr.aria-disabled": "_disabled() ? \"true\" : null" } }, exportAs: ["brnComboboxChip"], ngImport: i0 });
|
|
338
340
|
}
|
|
339
341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChip, decorators: [{
|
|
340
342
|
type: Directive,
|
|
341
343
|
args: [{
|
|
342
344
|
selector: '[brnComboboxChip]',
|
|
345
|
+
exportAs: 'brnComboboxChip',
|
|
343
346
|
host: {
|
|
344
347
|
tabindex: '-1',
|
|
345
348
|
'[attr.data-disabled]': '_disabled() ? "" : null',
|
|
@@ -415,12 +418,13 @@ class BrnComboboxChipInput {
|
|
|
415
418
|
this._combobox.keyManager.onKeydown(event);
|
|
416
419
|
}
|
|
417
420
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChipInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
418
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxChipInput, isStandalone: true, selector: "input[brnComboboxChipInput]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaInvalidInput: { classPropertyName: "ariaInvalidInput", publicName: "aria-invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "text", "role": "combobox", "autocomplete": "off", "autocorrect": "off", "autocapitalize": "none", "spellcheck": "false", "aria-autocomplete": "list", "aria-haspopup": "listbox" }, listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" }, properties: { "id": "id()", "attr.aria-expanded": "_isExpanded()", "attr.aria-controls": "_isExpanded() ? _comboboxListId() : null", "attr.aria-activedescendant": "_isExpanded() ? _activeDescendant() : null", "attr.aria-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-matches-spartan-invalid": "_spartanInvalid() ? \"true\" : null", "attr.data-dirty": "_touched() ? \"true\" : null", "attr.data-touched": "_touched() ? \"true\" : null", "attr.disabled": "_disabled() ? \"\" : null", "attr.data-disabled": "_disabled() ? \"\" : null" } }, ngImport: i0 });
|
|
421
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxChipInput, isStandalone: true, selector: "input[brnComboboxChipInput]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaInvalidInput: { classPropertyName: "ariaInvalidInput", publicName: "aria-invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "text", "role": "combobox", "autocomplete": "off", "autocorrect": "off", "autocapitalize": "none", "spellcheck": "false", "aria-autocomplete": "list", "aria-haspopup": "listbox" }, listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" }, properties: { "id": "id()", "attr.aria-expanded": "_isExpanded()", "attr.aria-controls": "_isExpanded() ? _comboboxListId() : null", "attr.aria-activedescendant": "_isExpanded() ? _activeDescendant() : null", "attr.aria-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-matches-spartan-invalid": "_spartanInvalid() ? \"true\" : null", "attr.data-dirty": "_touched() ? \"true\" : null", "attr.data-touched": "_touched() ? \"true\" : null", "attr.disabled": "_disabled() ? \"\" : null", "attr.data-disabled": "_disabled() ? \"\" : null" } }, exportAs: ["brnComboboxChipInput"], ngImport: i0 });
|
|
419
422
|
}
|
|
420
423
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChipInput, decorators: [{
|
|
421
424
|
type: Directive,
|
|
422
425
|
args: [{
|
|
423
426
|
selector: 'input[brnComboboxChipInput]',
|
|
427
|
+
exportAs: 'brnComboboxChipInput',
|
|
424
428
|
host: {
|
|
425
429
|
'[id]': 'id()',
|
|
426
430
|
type: 'text',
|
|
@@ -460,12 +464,13 @@ class BrnComboboxChipRemove {
|
|
|
460
464
|
this._combobox.removeValue(value);
|
|
461
465
|
}
|
|
462
466
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChipRemove, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
463
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxChipRemove, isStandalone: true, selector: "button[brnComboboxChipRemove]", host: { attributes: { "type": "button", "tabindex": "-1", "aria-disabled": "true" }, listeners: { "click": "removeChip($event)" }, properties: { "attr.data-disabled": "_disabled() ? \"\" : null", "attr.aria-disabled": "_disabled() ? \"true\" : null", "attr.disabled": "_disabled() ? \"\" : null" } }, ngImport: i0 });
|
|
467
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxChipRemove, isStandalone: true, selector: "button[brnComboboxChipRemove]", host: { attributes: { "type": "button", "tabindex": "-1", "aria-disabled": "true" }, listeners: { "click": "removeChip($event)" }, properties: { "attr.data-disabled": "_disabled() ? \"\" : null", "attr.aria-disabled": "_disabled() ? \"true\" : null", "attr.disabled": "_disabled() ? \"\" : null" } }, exportAs: ["brnComboboxChipRemove"], ngImport: i0 });
|
|
464
468
|
}
|
|
465
469
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxChipRemove, decorators: [{
|
|
466
470
|
type: Directive,
|
|
467
471
|
args: [{
|
|
468
472
|
selector: 'button[brnComboboxChipRemove]',
|
|
473
|
+
exportAs: 'brnComboboxChipRemove',
|
|
469
474
|
host: {
|
|
470
475
|
type: 'button',
|
|
471
476
|
tabindex: '-1',
|
|
@@ -517,23 +522,25 @@ class BrnComboboxClear {
|
|
|
517
522
|
}
|
|
518
523
|
}
|
|
519
524
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxClear, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
520
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxClear, isStandalone: true, selector: "[brnComboboxClear]", ngImport: i0 });
|
|
525
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxClear, isStandalone: true, selector: "[brnComboboxClear]", exportAs: ["brnComboboxClear"], ngImport: i0 });
|
|
521
526
|
}
|
|
522
527
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxClear, decorators: [{
|
|
523
528
|
type: Directive,
|
|
524
529
|
args: [{
|
|
525
530
|
selector: '[brnComboboxClear]',
|
|
531
|
+
exportAs: 'brnComboboxClear',
|
|
526
532
|
}]
|
|
527
533
|
}], ctorParameters: () => [] });
|
|
528
534
|
|
|
529
535
|
class BrnComboboxEmpty {
|
|
530
536
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
531
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxEmpty, isStandalone: true, selector: "[brnComboboxEmpty]", host: { attributes: { "role": "status", "aria-live": "polite", "aria-atomic": "true" } }, ngImport: i0 });
|
|
537
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxEmpty, isStandalone: true, selector: "[brnComboboxEmpty]", host: { attributes: { "role": "status", "aria-live": "polite", "aria-atomic": "true" } }, exportAs: ["brnComboboxEmpty"], ngImport: i0 });
|
|
532
538
|
}
|
|
533
539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxEmpty, decorators: [{
|
|
534
540
|
type: Directive,
|
|
535
541
|
args: [{
|
|
536
542
|
selector: '[brnComboboxEmpty]',
|
|
543
|
+
exportAs: 'brnComboboxEmpty',
|
|
537
544
|
host: {
|
|
538
545
|
role: 'status',
|
|
539
546
|
'aria-live': 'polite',
|
|
@@ -547,12 +554,13 @@ class BrnComboboxLabel {
|
|
|
547
554
|
/** The id of the combobox label */
|
|
548
555
|
id = input(`brn-combobox-label-${++BrnComboboxLabel._id}`, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
549
556
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
550
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxLabel, isStandalone: true, selector: "[brnComboboxLabel]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "id": "id()" } }, ngImport: i0 });
|
|
557
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxLabel, isStandalone: true, selector: "[brnComboboxLabel]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "id": "id()" } }, exportAs: ["brnComboboxLabel"], ngImport: i0 });
|
|
551
558
|
}
|
|
552
559
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxLabel, decorators: [{
|
|
553
560
|
type: Directive,
|
|
554
561
|
args: [{
|
|
555
562
|
selector: '[brnComboboxLabel]',
|
|
563
|
+
exportAs: 'brnComboboxLabel',
|
|
556
564
|
host: {
|
|
557
565
|
'[id]': 'id()',
|
|
558
566
|
},
|
|
@@ -571,12 +579,13 @@ class BrnComboboxGroup {
|
|
|
571
579
|
return label ? label.id() : null;
|
|
572
580
|
}, ...(ngDevMode ? [{ debugName: "_labelledBy" }] : /* istanbul ignore next */ []));
|
|
573
581
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
574
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnComboboxGroup, isStandalone: true, selector: "[brnComboboxGroup]", host: { attributes: { "role": "group" }, properties: { "attr.data-hidden": "!_visible() ? \"\" : null", "attr.aria-labelledby": "_labelledBy()" } }, queries: [{ propertyName: "_items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_label", first: true, predicate: BrnComboboxLabel, descendants: true, isSignal: true }], ngImport: i0 });
|
|
582
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnComboboxGroup, isStandalone: true, selector: "[brnComboboxGroup]", host: { attributes: { "role": "group" }, properties: { "attr.data-hidden": "!_visible() ? \"\" : null", "attr.aria-labelledby": "_labelledBy()" } }, queries: [{ propertyName: "_items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_label", first: true, predicate: BrnComboboxLabel, descendants: true, isSignal: true }], exportAs: ["brnComboboxGroup"], ngImport: i0 });
|
|
575
583
|
}
|
|
576
584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxGroup, decorators: [{
|
|
577
585
|
type: Directive,
|
|
578
586
|
args: [{
|
|
579
587
|
selector: '[brnComboboxGroup]',
|
|
588
|
+
exportAs: 'brnComboboxGroup',
|
|
580
589
|
host: {
|
|
581
590
|
role: 'group',
|
|
582
591
|
'[attr.data-hidden]': '!_visible() ? "" : null',
|
|
@@ -767,12 +776,13 @@ class BrnComboboxItem {
|
|
|
767
776
|
event.preventDefault();
|
|
768
777
|
}
|
|
769
778
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
770
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxItem, isStandalone: true, selector: "[brnComboboxItem]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, _disabled: { classPropertyName: "_disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "option" }, listeners: { "click": "select()", "mouseenter": "activate()", "mousedown": "onMouseDown($event)" }, properties: { "id": "id()", "attr.data-highlighted": "_highlighted() ? \"\" : null", "attr.data-value": "value()", "attr.data-hidden": "!visible() ? '' : null", "attr.aria-selected": "active()", "attr.aria-disabled": "_disabled()", "attr.data-disabled": "_disabled() ? \"\" : null" } }, providers: [provideBrnComboboxItem(BrnComboboxItem)], ngImport: i0 });
|
|
779
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxItem, isStandalone: true, selector: "[brnComboboxItem]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, _disabled: { classPropertyName: "_disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "option" }, listeners: { "click": "select()", "mouseenter": "activate()", "mousedown": "onMouseDown($event)" }, properties: { "id": "id()", "attr.data-highlighted": "_highlighted() ? \"\" : null", "attr.data-value": "value()", "attr.data-hidden": "!visible() ? '' : null", "attr.aria-selected": "active()", "attr.aria-disabled": "_disabled()", "attr.data-disabled": "_disabled() ? \"\" : null" } }, providers: [provideBrnComboboxItem(BrnComboboxItem)], exportAs: ["brnComboboxItem"], ngImport: i0 });
|
|
771
780
|
}
|
|
772
781
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxItem, decorators: [{
|
|
773
782
|
type: Directive,
|
|
774
783
|
args: [{
|
|
775
784
|
selector: '[brnComboboxItem]',
|
|
785
|
+
exportAs: 'brnComboboxItem',
|
|
776
786
|
providers: [provideBrnComboboxItem(BrnComboboxItem)],
|
|
777
787
|
host: {
|
|
778
788
|
role: 'option',
|
|
@@ -803,12 +813,13 @@ class BrnComboboxList {
|
|
|
803
813
|
this._combobox.registerComboboxList?.(this);
|
|
804
814
|
}
|
|
805
815
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxList, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
806
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxList, isStandalone: true, selector: "[brnComboboxList]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listbox", "tabIndex": "-1", "aria-orientation": "vertical" }, properties: { "id": "id()", "attr.data-empty": "!_visibleItems() ? \"\" : null", "attr.aria-label": "ariaLabel()" } }, ngImport: i0 });
|
|
816
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxList, isStandalone: true, selector: "[brnComboboxList]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listbox", "tabIndex": "-1", "aria-orientation": "vertical" }, properties: { "id": "id()", "attr.data-empty": "!_visibleItems() ? \"\" : null", "attr.aria-label": "ariaLabel()" } }, exportAs: ["brnComboboxList"], ngImport: i0 });
|
|
807
817
|
}
|
|
808
818
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxList, decorators: [{
|
|
809
819
|
type: Directive,
|
|
810
820
|
args: [{
|
|
811
821
|
selector: '[brnComboboxList]',
|
|
822
|
+
exportAs: 'brnComboboxList',
|
|
812
823
|
host: {
|
|
813
824
|
role: 'listbox',
|
|
814
825
|
tabIndex: '-1',
|
|
@@ -1022,12 +1033,13 @@ class BrnComboboxMultiple {
|
|
|
1022
1033
|
BRN_COMBOBOX_MULTIPLE_VALUE_ACCESSOR,
|
|
1023
1034
|
provideBrnComboboxBase(BrnComboboxMultiple),
|
|
1024
1035
|
provideBrnLabelable(BrnComboboxMultiple),
|
|
1025
|
-
], queries: [{ propertyName: "items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_content", first: true, predicate: BrnComboboxContent, descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.BrnFieldControl }], ngImport: i0 });
|
|
1036
|
+
], queries: [{ propertyName: "items", predicate: BrnComboboxItemToken, descendants: true, isSignal: true }, { propertyName: "_content", first: true, predicate: BrnComboboxContent, descendants: true, isSignal: true }], exportAs: ["brnComboboxMultiple"], hostDirectives: [{ directive: i1.BrnFieldControl }], ngImport: i0 });
|
|
1026
1037
|
}
|
|
1027
1038
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxMultiple, decorators: [{
|
|
1028
1039
|
type: Directive,
|
|
1029
1040
|
args: [{
|
|
1030
1041
|
selector: '[brnCombobox]',
|
|
1042
|
+
exportAs: 'brnComboboxMultiple',
|
|
1031
1043
|
providers: [
|
|
1032
1044
|
BRN_COMBOBOX_MULTIPLE_VALUE_ACCESSOR,
|
|
1033
1045
|
provideBrnComboboxBase(BrnComboboxMultiple),
|
|
@@ -1048,12 +1060,13 @@ class BrnComboboxPlaceholder {
|
|
|
1048
1060
|
_combobox = injectBrnComboboxBase();
|
|
1049
1061
|
_hasValue = this._combobox.hasValue;
|
|
1050
1062
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxPlaceholder, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1051
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxPlaceholder, isStandalone: true, selector: "[brnComboboxPlaceholder]", host: { properties: { "attr.data-hidden": "_hasValue() ? \"\" : null" } }, ngImport: i0 });
|
|
1063
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxPlaceholder, isStandalone: true, selector: "[brnComboboxPlaceholder]", host: { properties: { "attr.data-hidden": "_hasValue() ? \"\" : null" } }, exportAs: ["brnComboboxPlaceholder"], ngImport: i0 });
|
|
1052
1064
|
}
|
|
1053
1065
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxPlaceholder, decorators: [{
|
|
1054
1066
|
type: Directive,
|
|
1055
1067
|
args: [{
|
|
1056
1068
|
selector: '[brnComboboxPlaceholder]',
|
|
1069
|
+
exportAs: 'brnComboboxPlaceholder',
|
|
1057
1070
|
host: {
|
|
1058
1071
|
'[attr.data-hidden]': '_hasValue() ? "" : null',
|
|
1059
1072
|
},
|
|
@@ -1083,12 +1096,13 @@ class BrnComboboxPopoverTrigger {
|
|
|
1083
1096
|
}
|
|
1084
1097
|
}
|
|
1085
1098
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxPopoverTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1086
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxPopoverTrigger, isStandalone: true, selector: "[brnComboboxPopoverTrigger]", inputs: { closeOnTriggerClickInput: { classPropertyName: "closeOnTriggerClickInput", publicName: "closeOnTriggerClick", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_onClick()" } }, ngImport: i0 });
|
|
1099
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxPopoverTrigger, isStandalone: true, selector: "[brnComboboxPopoverTrigger]", inputs: { closeOnTriggerClickInput: { classPropertyName: "closeOnTriggerClickInput", publicName: "closeOnTriggerClick", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_onClick()" } }, exportAs: ["brnComboboxPopoverTrigger"], ngImport: i0 });
|
|
1087
1100
|
}
|
|
1088
1101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxPopoverTrigger, decorators: [{
|
|
1089
1102
|
type: Directive,
|
|
1090
1103
|
args: [{
|
|
1091
1104
|
selector: '[brnComboboxPopoverTrigger]',
|
|
1105
|
+
exportAs: 'brnComboboxPopoverTrigger',
|
|
1092
1106
|
host: {
|
|
1093
1107
|
'(click)': '_onClick()',
|
|
1094
1108
|
},
|
|
@@ -1098,12 +1112,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImpo
|
|
|
1098
1112
|
class BrnComboboxSeparator {
|
|
1099
1113
|
orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
1100
1114
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1101
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxSeparator, isStandalone: true, selector: "[brnComboboxSeparator]", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "separator" }, properties: { "attr.aria-orientation": "orientation()", "attr.data-orientation": "orientation()" } }, ngImport: i0 });
|
|
1115
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxSeparator, isStandalone: true, selector: "[brnComboboxSeparator]", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "separator" }, properties: { "attr.aria-orientation": "orientation()", "attr.data-orientation": "orientation()" } }, exportAs: ["brnComboboxSeparator"], ngImport: i0 });
|
|
1102
1116
|
}
|
|
1103
1117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxSeparator, decorators: [{
|
|
1104
1118
|
type: Directive,
|
|
1105
1119
|
args: [{
|
|
1106
1120
|
selector: '[brnComboboxSeparator]',
|
|
1121
|
+
exportAs: 'brnComboboxSeparator',
|
|
1107
1122
|
host: {
|
|
1108
1123
|
role: 'separator',
|
|
1109
1124
|
'[attr.aria-orientation]': 'orientation()',
|
|
@@ -1114,12 +1129,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImpo
|
|
|
1114
1129
|
|
|
1115
1130
|
class BrnComboboxStatus {
|
|
1116
1131
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxStatus, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1117
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxStatus, isStandalone: true, selector: "[brnComboboxStatus]", host: { attributes: { "role": "status", "aria-live": "polite", "aria-atomic": "true" } }, ngImport: i0 });
|
|
1132
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxStatus, isStandalone: true, selector: "[brnComboboxStatus]", host: { attributes: { "role": "status", "aria-live": "polite", "aria-atomic": "true" } }, exportAs: ["brnComboboxStatus"], ngImport: i0 });
|
|
1118
1133
|
}
|
|
1119
1134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxStatus, decorators: [{
|
|
1120
1135
|
type: Directive,
|
|
1121
1136
|
args: [{
|
|
1122
1137
|
selector: '[brnComboboxStatus]',
|
|
1138
|
+
exportAs: 'brnComboboxStatus',
|
|
1123
1139
|
host: {
|
|
1124
1140
|
role: 'status',
|
|
1125
1141
|
'aria-live': 'polite',
|
|
@@ -1153,12 +1169,13 @@ class BrnComboboxTrigger {
|
|
|
1153
1169
|
}
|
|
1154
1170
|
}
|
|
1155
1171
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1156
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxTrigger, isStandalone: true, selector: "button[brnComboboxTrigger]", inputs: { forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button", "role": "combobox", "aria-haspopup": "dialog" }, listeners: { "keydown": "onKeyDown($event)" }, properties: { "attr.aria-controls": "_isExpanded() ? _contentId() : null", "attr.aria-expanded": "_isExpanded()", "attr.aria-disabled": "_disabled() || null", "attr.disabled": "_disabled() ? \"\" : null", "attr.data-disabled": "_disabled() || null", "attr.data-placeholder": "_isPlaceholder() ? \"\" : null", "attr.aria-invalid": " _ariaInvalid() ? \"true\": null", "attr.data-invalid": " _ariaInvalid() ? \"true\": null", "attr.data-matches-spartan-invalid": " _spartanInvalid() ? \"true\": null", "attr.data-touched": " _touched() ? \"true\": null", "attr.data-dirty": " _dirty() ? \"true\": null" } }, ngImport: i0 });
|
|
1172
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxTrigger, isStandalone: true, selector: "button[brnComboboxTrigger]", inputs: { forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button", "role": "combobox", "aria-haspopup": "dialog" }, listeners: { "keydown": "onKeyDown($event)" }, properties: { "attr.aria-controls": "_isExpanded() ? _contentId() : null", "attr.aria-expanded": "_isExpanded()", "attr.aria-disabled": "_disabled() || null", "attr.disabled": "_disabled() ? \"\" : null", "attr.data-disabled": "_disabled() || null", "attr.data-placeholder": "_isPlaceholder() ? \"\" : null", "attr.aria-invalid": " _ariaInvalid() ? \"true\": null", "attr.data-invalid": " _ariaInvalid() ? \"true\": null", "attr.data-matches-spartan-invalid": " _spartanInvalid() ? \"true\": null", "attr.data-touched": " _touched() ? \"true\": null", "attr.data-dirty": " _dirty() ? \"true\": null" } }, exportAs: ["brnComboboxTrigger"], ngImport: i0 });
|
|
1157
1173
|
}
|
|
1158
1174
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxTrigger, decorators: [{
|
|
1159
1175
|
type: Directive,
|
|
1160
1176
|
args: [{
|
|
1161
1177
|
selector: 'button[brnComboboxTrigger]',
|
|
1178
|
+
exportAs: 'brnComboboxTrigger',
|
|
1162
1179
|
host: {
|
|
1163
1180
|
type: 'button',
|
|
1164
1181
|
role: 'combobox',
|
|
@@ -1190,12 +1207,13 @@ class BrnComboboxValue {
|
|
|
1190
1207
|
: this.placeholder();
|
|
1191
1208
|
}, ...(ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []));
|
|
1192
1209
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValue, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1193
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxValue, isStandalone: true, selector: "[brnComboboxValue]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-placeholder": "_isPlaceholder() ? \"\" : null", "attr.data-hidden": "hidden() ? \"\" : null", "textContent": "_value()" } }, ngImport: i0 });
|
|
1210
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnComboboxValue, isStandalone: true, selector: "[brnComboboxValue]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-placeholder": "_isPlaceholder() ? \"\" : null", "attr.data-hidden": "hidden() ? \"\" : null", "textContent": "_value()" } }, exportAs: ["brnComboboxValue"], ngImport: i0 });
|
|
1194
1211
|
}
|
|
1195
1212
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValue, decorators: [{
|
|
1196
1213
|
type: Directive,
|
|
1197
1214
|
args: [{
|
|
1198
1215
|
selector: '[brnComboboxValue]',
|
|
1216
|
+
exportAs: 'brnComboboxValue',
|
|
1199
1217
|
host: {
|
|
1200
1218
|
'[attr.data-placeholder]': '_isPlaceholder() ? "" : null',
|
|
1201
1219
|
'[attr.data-hidden]': 'hidden() ? "" : null',
|
|
@@ -1230,12 +1248,13 @@ class BrnComboboxValueTemplate {
|
|
|
1230
1248
|
});
|
|
1231
1249
|
}
|
|
1232
1250
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValueTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1233
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxValueTemplate, isStandalone: true, selector: "[brnComboboxValueTemplate]", ngImport: i0 });
|
|
1251
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxValueTemplate, isStandalone: true, selector: "[brnComboboxValueTemplate]", exportAs: ["brnComboboxValueTemplate"], ngImport: i0 });
|
|
1234
1252
|
}
|
|
1235
1253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValueTemplate, decorators: [{
|
|
1236
1254
|
type: Directive,
|
|
1237
1255
|
args: [{
|
|
1238
1256
|
selector: '[brnComboboxValueTemplate]',
|
|
1257
|
+
exportAs: 'brnComboboxValueTemplate',
|
|
1239
1258
|
}]
|
|
1240
1259
|
}], ctorParameters: () => [] });
|
|
1241
1260
|
|
|
@@ -1265,12 +1284,13 @@ class BrnComboboxValues {
|
|
|
1265
1284
|
});
|
|
1266
1285
|
}
|
|
1267
1286
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValues, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1268
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxValues, isStandalone: true, selector: "[brnComboboxValues]", ngImport: i0 });
|
|
1287
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnComboboxValues, isStandalone: true, selector: "[brnComboboxValues]", exportAs: ["brnComboboxValues"], ngImport: i0 });
|
|
1269
1288
|
}
|
|
1270
1289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnComboboxValues, decorators: [{
|
|
1271
1290
|
type: Directive,
|
|
1272
1291
|
args: [{
|
|
1273
1292
|
selector: '[brnComboboxValues]',
|
|
1293
|
+
exportAs: 'brnComboboxValues',
|
|
1274
1294
|
}]
|
|
1275
1295
|
}], ctorParameters: () => [] });
|
|
1276
1296
|
|