@aaamb/ngx-design-system 1.5.0 → 1.5.2
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.
|
@@ -2040,12 +2040,14 @@ class SingleSelectorComponent {
|
|
|
2040
2040
|
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
2041
2041
|
allowClear = input(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
|
|
2042
2042
|
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
2043
|
+
serverSearch = input(false, ...(ngDevMode ? [{ debugName: "serverSearch" }] : /* istanbul ignore next */ []));
|
|
2043
2044
|
options = input([], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2044
2045
|
asyncOptions = input(null, ...(ngDevMode ? [{ debugName: "asyncOptions" }] : /* istanbul ignore next */ []));
|
|
2045
2046
|
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
2046
2047
|
errorMessage = input('Please select at least one option.', ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
2047
2048
|
labelIconName = input(null, ...(ngDevMode ? [{ debugName: "labelIconName" }] : /* istanbul ignore next */ []));
|
|
2048
2049
|
onLabelButtonClick = output();
|
|
2050
|
+
searchChange = output();
|
|
2049
2051
|
valueChange = output();
|
|
2050
2052
|
cvaMode = false;
|
|
2051
2053
|
cvaDisabled = false;
|
|
@@ -2088,6 +2090,9 @@ class SingleSelectorComponent {
|
|
|
2088
2090
|
this.onChange(value);
|
|
2089
2091
|
this.valueChange.emit(value);
|
|
2090
2092
|
}
|
|
2093
|
+
onSearch(value) {
|
|
2094
|
+
this.searchChange.emit(value);
|
|
2095
|
+
}
|
|
2091
2096
|
onBlur() {
|
|
2092
2097
|
this.onTouched();
|
|
2093
2098
|
}
|
|
@@ -2176,13 +2181,13 @@ class SingleSelectorComponent {
|
|
|
2176
2181
|
return 'children' in item;
|
|
2177
2182
|
}
|
|
2178
2183
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SingleSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2179
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: SingleSelectorComponent, isStandalone: true, selector: "ads-single-selector", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, allowClear: { classPropertyName: "allowClear", publicName: "allowClear", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, asyncOptions: { classPropertyName: "asyncOptions", publicName: "asyncOptions", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, labelIconName: { classPropertyName: "labelIconName", publicName: "labelIconName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onLabelButtonClick: "onLabelButtonClick", valueChange: "valueChange" }, providers: [
|
|
2184
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: SingleSelectorComponent, isStandalone: true, selector: "ads-single-selector", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, allowClear: { classPropertyName: "allowClear", publicName: "allowClear", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, serverSearch: { classPropertyName: "serverSearch", publicName: "serverSearch", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, asyncOptions: { classPropertyName: "asyncOptions", publicName: "asyncOptions", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, labelIconName: { classPropertyName: "labelIconName", publicName: "labelIconName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onLabelButtonClick: "onLabelButtonClick", searchChange: "searchChange", valueChange: "valueChange" }, providers: [
|
|
2180
2185
|
{
|
|
2181
2186
|
provide: NG_VALUE_ACCESSOR,
|
|
2182
2187
|
useExisting: forwardRef(() => SingleSelectorComponent),
|
|
2183
2188
|
multi: true,
|
|
2184
2189
|
},
|
|
2185
|
-
], ngImport: i0, template: "<div class=\"flex w-full flex-col\">\n <ads-label\n [text]=\"label()\"\n [iconName]=\"labelIconName()\"\n (iconClicked)=\"onLabelClicked()\"\n ></ads-label>\n\n <nz-select\n class=\"w-full\"\n [ngModel]=\"currentValue()\"\n [nzPlaceHolder]=\"placeholder()\"\n [nzShowSearch]=\"true\"\n [nzAllowClear]=\"allowClear()\"\n [nzDisabled]=\"isDisabled()\"\n [nzLoading]=\"isLoading()\"\n [nzFilterOption]=\"filterOption\"\n (ngModelChange)=\"onSelectionChange($event)\"\n (nzBlur)=\"onBlur()\"\n [nzStatus]=\"errorMessage() ? 'error' : ''\"\n >\n @for (option of resolvedOptions(); track $index) {\n @if (isOptionGroup(option)) {\n <nz-option-group [nzLabel]=\"option.label\">\n @for (item of option.children; track item.value) {\n <nz-option\n [nzValue]=\"item.value\"\n [nzLabel]=\"item.label\"\n [nzDisabled]=\"item.disabled\"\n ></nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option\n [nzValue]=\"option.value\"\n [nzLabel]=\"option.label\"\n [nzDisabled]=\"option.disabled\"\n ></nz-option>\n }\n }\n </nz-select>\n\n <ads-error-message\n [hasError]=\"!!errorMessage()\"\n [errorMessage]=\"errorMessage()\"\n ></ads-error-message>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i2$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i2$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "component", type: i2$1.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "component", type: LabelComponent, selector: "ads-label", inputs: ["text", "iconName", "iconSize"], outputs: ["iconClicked"] }, { kind: "component", type: ErrorMessageComponent, selector: "ads-error-message", inputs: ["hasError", "errorMessage"] }] });
|
|
2190
|
+
], ngImport: i0, template: "<div class=\"flex w-full flex-col\">\n <ads-label\n [text]=\"label()\"\n [iconName]=\"labelIconName()\"\n (iconClicked)=\"onLabelClicked()\"\n ></ads-label>\n\n <nz-select\n class=\"w-full\"\n [ngModel]=\"currentValue()\"\n [nzPlaceHolder]=\"placeholder()\"\n [nzShowSearch]=\"true\"\n [nzAllowClear]=\"allowClear()\"\n [nzDisabled]=\"isDisabled()\"\n [nzLoading]=\"isLoading()\"\n [nzServerSearch]=\"serverSearch()\"\n [nzFilterOption]=\"filterOption\"\n (ngModelChange)=\"onSelectionChange($event)\"\n (nzOnSearch)=\"onSearch($event)\"\n (nzBlur)=\"onBlur()\"\n [nzStatus]=\"errorMessage() ? 'error' : ''\"\n >\n @for (option of resolvedOptions(); track $index) {\n @if (isOptionGroup(option)) {\n <nz-option-group [nzLabel]=\"option.label\">\n @for (item of option.children; track item.value) {\n <nz-option\n [nzValue]=\"item.value\"\n [nzLabel]=\"item.label\"\n [nzDisabled]=\"item.disabled\"\n ></nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option\n [nzValue]=\"option.value\"\n [nzLabel]=\"option.label\"\n [nzDisabled]=\"option.disabled\"\n ></nz-option>\n }\n }\n </nz-select>\n\n <ads-error-message\n [hasError]=\"!!errorMessage()\"\n [errorMessage]=\"errorMessage()\"\n ></ads-error-message>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i2$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i2$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "component", type: i2$1.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "component", type: LabelComponent, selector: "ads-label", inputs: ["text", "iconName", "iconSize"], outputs: ["iconClicked"] }, { kind: "component", type: ErrorMessageComponent, selector: "ads-error-message", inputs: ["hasError", "errorMessage"] }] });
|
|
2186
2191
|
}
|
|
2187
2192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SingleSelectorComponent, decorators: [{
|
|
2188
2193
|
type: Component,
|
|
@@ -2198,8 +2203,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
2198
2203
|
useExisting: forwardRef(() => SingleSelectorComponent),
|
|
2199
2204
|
multi: true,
|
|
2200
2205
|
},
|
|
2201
|
-
], template: "<div class=\"flex w-full flex-col\">\n <ads-label\n [text]=\"label()\"\n [iconName]=\"labelIconName()\"\n (iconClicked)=\"onLabelClicked()\"\n ></ads-label>\n\n <nz-select\n class=\"w-full\"\n [ngModel]=\"currentValue()\"\n [nzPlaceHolder]=\"placeholder()\"\n [nzShowSearch]=\"true\"\n [nzAllowClear]=\"allowClear()\"\n [nzDisabled]=\"isDisabled()\"\n [nzLoading]=\"isLoading()\"\n [nzFilterOption]=\"filterOption\"\n (ngModelChange)=\"onSelectionChange($event)\"\n (nzBlur)=\"onBlur()\"\n [nzStatus]=\"errorMessage() ? 'error' : ''\"\n >\n @for (option of resolvedOptions(); track $index) {\n @if (isOptionGroup(option)) {\n <nz-option-group [nzLabel]=\"option.label\">\n @for (item of option.children; track item.value) {\n <nz-option\n [nzValue]=\"item.value\"\n [nzLabel]=\"item.label\"\n [nzDisabled]=\"item.disabled\"\n ></nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option\n [nzValue]=\"option.value\"\n [nzLabel]=\"option.label\"\n [nzDisabled]=\"option.disabled\"\n ></nz-option>\n }\n }\n </nz-select>\n\n <ads-error-message\n [hasError]=\"!!errorMessage()\"\n [errorMessage]=\"errorMessage()\"\n ></ads-error-message>\n</div>\n" }]
|
|
2202
|
-
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], allowClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowClear", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], asyncOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "asyncOptions", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], errorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorMessage", required: false }] }], labelIconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelIconName", required: false }] }], onLabelButtonClick: [{ type: i0.Output, args: ["onLabelButtonClick"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
|
|
2206
|
+
], template: "<div class=\"flex w-full flex-col\">\n <ads-label\n [text]=\"label()\"\n [iconName]=\"labelIconName()\"\n (iconClicked)=\"onLabelClicked()\"\n ></ads-label>\n\n <nz-select\n class=\"w-full\"\n [ngModel]=\"currentValue()\"\n [nzPlaceHolder]=\"placeholder()\"\n [nzShowSearch]=\"true\"\n [nzAllowClear]=\"allowClear()\"\n [nzDisabled]=\"isDisabled()\"\n [nzLoading]=\"isLoading()\"\n [nzServerSearch]=\"serverSearch()\"\n [nzFilterOption]=\"filterOption\"\n (ngModelChange)=\"onSelectionChange($event)\"\n (nzOnSearch)=\"onSearch($event)\"\n (nzBlur)=\"onBlur()\"\n [nzStatus]=\"errorMessage() ? 'error' : ''\"\n >\n @for (option of resolvedOptions(); track $index) {\n @if (isOptionGroup(option)) {\n <nz-option-group [nzLabel]=\"option.label\">\n @for (item of option.children; track item.value) {\n <nz-option\n [nzValue]=\"item.value\"\n [nzLabel]=\"item.label\"\n [nzDisabled]=\"item.disabled\"\n ></nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option\n [nzValue]=\"option.value\"\n [nzLabel]=\"option.label\"\n [nzDisabled]=\"option.disabled\"\n ></nz-option>\n }\n }\n </nz-select>\n\n <ads-error-message\n [hasError]=\"!!errorMessage()\"\n [errorMessage]=\"errorMessage()\"\n ></ads-error-message>\n</div>\n" }]
|
|
2207
|
+
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], allowClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowClear", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], serverSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "serverSearch", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], asyncOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "asyncOptions", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], errorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorMessage", required: false }] }], labelIconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelIconName", required: false }] }], onLabelButtonClick: [{ type: i0.Output, args: ["onLabelButtonClick"] }], searchChange: [{ type: i0.Output, args: ["searchChange"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
|
|
2203
2208
|
|
|
2204
2209
|
class FilterButtonComponent {
|
|
2205
2210
|
el;
|
|
@@ -2586,7 +2591,7 @@ class FilterButtonComponent {
|
|
|
2586
2591
|
}
|
|
2587
2592
|
}
|
|
2588
2593
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: FilterButtonComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
2589
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: FilterButtonComponent, isStandalone: true, selector: "ads-filter-button", inputs: { buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, buttonIcon: { classPropertyName: "buttonIcon", publicName: "buttonIcon", isSignal: true, isRequired: false, transformFunction: null }, showButtonIcon: { classPropertyName: "showButtonIcon", publicName: "showButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, buttonVariant: { classPropertyName: "buttonVariant", publicName: "buttonVariant", isSignal: true, isRequired: false, transformFunction: null }, buttonColor: { classPropertyName: "buttonColor", publicName: "buttonColor", isSignal: true, isRequired: false, transformFunction: null }, buttonOpenVariant: { classPropertyName: "buttonOpenVariant", publicName: "buttonOpenVariant", isSignal: true, isRequired: false, transformFunction: null }, buttonOpenColor: { classPropertyName: "buttonOpenColor", publicName: "buttonOpenColor", isSignal: true, isRequired: false, transformFunction: null }, buttonDisabled: { classPropertyName: "buttonDisabled", publicName: "buttonDisabled", isSignal: true, isRequired: false, transformFunction: null }, panelTitle: { classPropertyName: "panelTitle", publicName: "panelTitle", isSignal: true, isRequired: false, transformFunction: null }, addFilterLabel: { classPropertyName: "addFilterLabel", publicName: "addFilterLabel", isSignal: true, isRequired: false, transformFunction: null }, resetLabel: { classPropertyName: "resetLabel", publicName: "resetLabel", isSignal: true, isRequired: false, transformFunction: null }, applyLabel: { classPropertyName: "applyLabel", publicName: "applyLabel", isSignal: true, isRequired: false, transformFunction: null }, columnOptions: { classPropertyName: "columnOptions", publicName: "columnOptions", isSignal: true, isRequired: false, transformFunction: null }, columnPlaceholder: { classPropertyName: "columnPlaceholder", publicName: "columnPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, valuePlaceholder: { classPropertyName: "valuePlaceholder", publicName: "valuePlaceholder", isSignal: true, isRequired: false, transformFunction: null }, noFiltersText: { classPropertyName: "noFiltersText", publicName: "noFiltersText", isSignal: true, isRequired: false, transformFunction: null }, sortableColumnOptions: { classPropertyName: "sortableColumnOptions", publicName: "sortableColumnOptions", isSignal: true, isRequired: false, transformFunction: null }, noSortText: { classPropertyName: "noSortText", publicName: "noSortText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { addFilter: "addFilter", resetFilters: "resetFilters", applyFilters: "applyFilters", addSort: "addSort", resetSorts: "resetSorts", applySorts: "applySorts", openChange: "openChange" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, ngImport: i0, template: "<div class=\"relative flex h-full w-fit gap-4\">\n <div class=\"relative flex h-full items-center gap-2\">\n <button\n ads-button\n type=\"button\"\n [variant]=\"resolvedButtonVariant()\"\n [color]=\"resolvedButtonColor()\"\n [disabled]=\"buttonDisabled()\"\n [iconButton]=\"resolvedIconGapValue()\"\n (clicked)=\"togglePanel()\"\n >\n {{ buttonLabel() }}\n @if (showButtonIcon()) {\n <ads-icon [iconName]=\"buttonIcon()\" [size]=\"16\"></ads-icon>\n }\n </button>\n\n <ng-content select=\"[filter-button-extra]\"></ng-content>\n </div>\n\n @if (isOpen()) {\n <div\n class=\"absolute right-0 top-[calc(100%+0.25rem)] z-400 h-fit min-h-40 w-[min(48rem,calc(100vw-3rem))] overflow-visible rounded-lg bg-white px-8 py-5 shadow-[0px_2px_10px_-4px_#00000040]\"\n animate.enter=\"fade-in\"\n animate.leave=\"fade-out\"\n >\n <div\n class=\"mb-4 flex w-full items-center justify-between border-b border-[#e7e7e7] pb-2\"\n >\n <h4 class=\"m-0 text-[1.12rem] font-medium text-black\">\n {{ panelTitle() }}\n </h4>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n [iconButton]=\"'plus'\"\n [disabled]=\"!canAddFilter()\"\n class=\"px-1! py-1! text-[1.12rem]! font-normal! leading-none!\"\n (click)=\"onAddFilterClick()\"\n >\n <ads-icon\n iconName=\"plus\"\n [size]=\"16\"\n [ngClass]=\"{\n 'text-gray-400': !canAddFilter(),\n 'text-aqua-0': canAddFilter(),\n }\"\n ></ads-icon>\n {{ addFilterLabel() }}\n </button>\n </div>\n\n <div class=\"mb-5 min-w-136\">\n <form [formGroup]=\"filterForm\" class=\"space-y-3\">\n @if (hasFilters()) {\n <div class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3 mb-1\">\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Column</p>\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Value</p>\n <span aria-hidden=\"true\" style=\"width: 40px\"></span>\n </div>\n }\n\n <div formArrayName=\"filters\" class=\"space-y-2\">\n @if (hasFilters()) {\n @for (\n group of filtersArray.controls;\n track group;\n let i = $index\n ) {\n <div\n [formGroupName]=\"i\"\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3\"\n >\n <ads-single-selector\n formControlName=\"column\"\n [placeholder]=\"columnPlaceholder()\"\n [options]=\"columnOptionsForRow(i)\"\n (valueChange)=\"onColumnChange(i, $event)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n @switch (rowValueType(i)) {\n @case (\"date\") {\n <ads-input-datepicker\n formControlName=\"value\"\n datePickerPlaceholder=\"MM/DD/YYYY\"\n [hasError]=\"hasDateError(i)\"\n ></ads-input-datepicker>\n }\n @case (\"number\") {\n <ads-input\n formControlName=\"value\"\n inputType=\"number\"\n [label]=\"''\"\n placeholder=\"0000000\"\n ></ads-input>\n }\n @case (\"boolean\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"status\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"codes\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"custom\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @default {\n <ads-input\n formControlName=\"value\"\n inputType=\"text\"\n [label]=\"''\"\n [placeholder]=\"valuePlaceholder()\"\n ></ads-input>\n }\n }\n\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"text\"\n [onlyIconButton]=\"true\"\n aria-label=\"Remove filter\"\n (clicked)=\"onRemoveFilterClick(i)\"\n >\n <ads-icon\n [iconName]=\"'error'\"\n [size]=\"16\"\n color=\"#014744\"\n ></ads-icon>\n </button>\n </div>\n }\n } @else {\n <div\n class=\"flex min-h-28 items-center justify-center rounded-lg border border-dashed border-[#d7d7d7] bg-white px-4 text-sm text-[#666]\"\n >\n {{ noFiltersText() }}\n </div>\n }\n </div>\n\n @if (sortableColumnOptions().length > 0) {\n <div class=\"mt-4 border-t border-[#e7e7e7] pt-4\">\n <div class=\"mb-3 flex w-full items-center justify-between\">\n <h4 class=\"m-0 text-[1.12rem] font-medium text-black\">Sort</h4>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n [iconButton]=\"'plus'\"\n [disabled]=\"!canAddSort()\"\n class=\"px-1! py-1! text-[1.12rem]! font-normal! leading-none!\"\n (click)=\"onAddSortClick()\"\n >\n <ads-icon\n iconName=\"plus\"\n [size]=\"16\"\n [ngClass]=\"{\n 'text-gray-400': !canAddSort(),\n 'text-aqua-0': canAddSort(),\n }\"\n ></ads-icon>\n Add Sort\n </button>\n </div>\n\n @if (hasSorts()) {\n <div\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3 mb-1\"\n >\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Column</p>\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">\n Direction\n </p>\n <span aria-hidden=\"true\" style=\"width: 40px\"></span>\n </div>\n\n <div formArrayName=\"sorts\" class=\"space-y-2\">\n @for (\n group of sortsArray.controls;\n track group;\n let i = $index\n ) {\n <div\n [formGroupName]=\"i\"\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3\"\n >\n <ads-single-selector\n formControlName=\"column\"\n placeholder=\"Select a sort field\"\n [options]=\"sortColumnOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n <ads-single-selector\n formControlName=\"direction\"\n placeholder=\"Direction\"\n [options]=\"sortValueOptions()\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"text\"\n [onlyIconButton]=\"true\"\n aria-label=\"Remove sort\"\n (clicked)=\"onRemoveSortClick(i)\"\n >\n <ads-icon\n [iconName]=\"'error'\"\n [size]=\"16\"\n color=\"#014744\"\n ></ads-icon>\n </button>\n </div>\n }\n </div>\n } @else {\n <div\n class=\"flex min-h-20 items-center justify-center rounded-lg border border-dashed border-[#d7d7d7] bg-white px-4 text-sm text-[#666]\"\n >\n {{ noSortText() }}\n </div>\n }\n </div>\n }\n </form>\n </div>\n\n @if (hasFilters() || hasSorts()) {\n <div class=\"mt-2 flex h-10 items-center justify-end gap-3\">\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"white\"\n (click)=\"onResetClick()\"\n >\n {{ resetLabel() }}\n </button>\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"green\"\n [disabled]=\"!canApplyFilters()\"\n (click)=\"onApplyClick()\"\n >\n {{ applyLabel() }}\n </button>\n </div>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i1$1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "component", type: ButtonComponent, selector: "button[ads-button]", inputs: ["variant", "color", "buttonType", "disabled", "fullWidth", "iconButton", "onlyIconButton", "iconColor"], outputs: ["clicked"] }, { kind: "component", type: IconComponent, selector: "ads-icon", inputs: ["iconName", "size", "title", "color"] }, { kind: "component", type: SingleSelectorComponent, selector: "ads-single-selector", inputs: ["label", "placeholder", "disabled", "allowClear", "loading", "options", "asyncOptions", "value", "errorMessage", "labelIconName"], outputs: ["onLabelButtonClick", "valueChange"] }, { kind: "component", type: InputComponent, selector: "ads-input", inputs: ["label", "placeholder", "inputType", "textAreaRows", "value", "hasError", "disabled", "errorMessage"], outputs: ["valueChange"] }, { kind: "component", type: InputDatepickerComponent, selector: "ads-input-datepicker", inputs: ["isPickerDisabled", "datePickerPlaceholder", "hasError", "errorMessage", "futureDatesAllowed", "label", "monthlyPicker"] }] });
|
|
2594
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: FilterButtonComponent, isStandalone: true, selector: "ads-filter-button", inputs: { buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, buttonIcon: { classPropertyName: "buttonIcon", publicName: "buttonIcon", isSignal: true, isRequired: false, transformFunction: null }, showButtonIcon: { classPropertyName: "showButtonIcon", publicName: "showButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, buttonVariant: { classPropertyName: "buttonVariant", publicName: "buttonVariant", isSignal: true, isRequired: false, transformFunction: null }, buttonColor: { classPropertyName: "buttonColor", publicName: "buttonColor", isSignal: true, isRequired: false, transformFunction: null }, buttonOpenVariant: { classPropertyName: "buttonOpenVariant", publicName: "buttonOpenVariant", isSignal: true, isRequired: false, transformFunction: null }, buttonOpenColor: { classPropertyName: "buttonOpenColor", publicName: "buttonOpenColor", isSignal: true, isRequired: false, transformFunction: null }, buttonDisabled: { classPropertyName: "buttonDisabled", publicName: "buttonDisabled", isSignal: true, isRequired: false, transformFunction: null }, panelTitle: { classPropertyName: "panelTitle", publicName: "panelTitle", isSignal: true, isRequired: false, transformFunction: null }, addFilterLabel: { classPropertyName: "addFilterLabel", publicName: "addFilterLabel", isSignal: true, isRequired: false, transformFunction: null }, resetLabel: { classPropertyName: "resetLabel", publicName: "resetLabel", isSignal: true, isRequired: false, transformFunction: null }, applyLabel: { classPropertyName: "applyLabel", publicName: "applyLabel", isSignal: true, isRequired: false, transformFunction: null }, columnOptions: { classPropertyName: "columnOptions", publicName: "columnOptions", isSignal: true, isRequired: false, transformFunction: null }, columnPlaceholder: { classPropertyName: "columnPlaceholder", publicName: "columnPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, valuePlaceholder: { classPropertyName: "valuePlaceholder", publicName: "valuePlaceholder", isSignal: true, isRequired: false, transformFunction: null }, noFiltersText: { classPropertyName: "noFiltersText", publicName: "noFiltersText", isSignal: true, isRequired: false, transformFunction: null }, sortableColumnOptions: { classPropertyName: "sortableColumnOptions", publicName: "sortableColumnOptions", isSignal: true, isRequired: false, transformFunction: null }, noSortText: { classPropertyName: "noSortText", publicName: "noSortText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { addFilter: "addFilter", resetFilters: "resetFilters", applyFilters: "applyFilters", addSort: "addSort", resetSorts: "resetSorts", applySorts: "applySorts", openChange: "openChange" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, ngImport: i0, template: "<div class=\"relative flex h-full w-fit gap-4\">\n <div class=\"relative flex h-full items-center gap-2\">\n <button\n ads-button\n type=\"button\"\n [variant]=\"resolvedButtonVariant()\"\n [color]=\"resolvedButtonColor()\"\n [disabled]=\"buttonDisabled()\"\n [iconButton]=\"resolvedIconGapValue()\"\n (clicked)=\"togglePanel()\"\n >\n {{ buttonLabel() }}\n @if (showButtonIcon()) {\n <ads-icon [iconName]=\"buttonIcon()\" [size]=\"16\"></ads-icon>\n }\n </button>\n\n <ng-content select=\"[filter-button-extra]\"></ng-content>\n </div>\n\n @if (isOpen()) {\n <div\n class=\"absolute right-0 top-[calc(100%+0.25rem)] z-400 h-fit min-h-40 w-[min(48rem,calc(100vw-3rem))] overflow-visible rounded-lg bg-white px-8 py-5 shadow-[0px_2px_10px_-4px_#00000040]\"\n animate.enter=\"fade-in\"\n animate.leave=\"fade-out\"\n >\n <div\n class=\"mb-4 flex w-full items-center justify-between border-b border-[#e7e7e7] pb-2\"\n >\n <h4 class=\"m-0 text-[1.12rem] font-medium text-black\">\n {{ panelTitle() }}\n </h4>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n [iconButton]=\"'plus'\"\n [disabled]=\"!canAddFilter()\"\n class=\"px-1! py-1! text-[1.12rem]! font-normal! leading-none!\"\n (click)=\"onAddFilterClick()\"\n >\n <ads-icon\n iconName=\"plus\"\n [size]=\"16\"\n [ngClass]=\"{\n 'text-gray-400': !canAddFilter(),\n 'text-aqua-0': canAddFilter(),\n }\"\n ></ads-icon>\n {{ addFilterLabel() }}\n </button>\n </div>\n\n <div class=\"mb-5 min-w-136\">\n <form [formGroup]=\"filterForm\" class=\"space-y-3\">\n @if (hasFilters()) {\n <div class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3 mb-1\">\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Column</p>\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Value</p>\n <span aria-hidden=\"true\" style=\"width: 40px\"></span>\n </div>\n }\n\n <div formArrayName=\"filters\" class=\"space-y-2\">\n @if (hasFilters()) {\n @for (\n group of filtersArray.controls;\n track group;\n let i = $index\n ) {\n <div\n [formGroupName]=\"i\"\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3\"\n >\n <ads-single-selector\n formControlName=\"column\"\n [placeholder]=\"columnPlaceholder()\"\n [options]=\"columnOptionsForRow(i)\"\n (valueChange)=\"onColumnChange(i, $event)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n @switch (rowValueType(i)) {\n @case (\"date\") {\n <ads-input-datepicker\n formControlName=\"value\"\n datePickerPlaceholder=\"MM/DD/YYYY\"\n [hasError]=\"hasDateError(i)\"\n ></ads-input-datepicker>\n }\n @case (\"number\") {\n <ads-input\n formControlName=\"value\"\n inputType=\"number\"\n [label]=\"''\"\n placeholder=\"0000000\"\n ></ads-input>\n }\n @case (\"boolean\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"status\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"codes\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @case (\"custom\") {\n <ads-single-selector\n formControlName=\"value\"\n placeholder=\"Select an option\"\n [options]=\"valueOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n }\n @default {\n <ads-input\n formControlName=\"value\"\n inputType=\"text\"\n [label]=\"''\"\n [placeholder]=\"valuePlaceholder()\"\n ></ads-input>\n }\n }\n\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"text\"\n [onlyIconButton]=\"true\"\n aria-label=\"Remove filter\"\n (clicked)=\"onRemoveFilterClick(i)\"\n >\n <ads-icon\n [iconName]=\"'error'\"\n [size]=\"16\"\n color=\"#014744\"\n ></ads-icon>\n </button>\n </div>\n }\n } @else {\n <div\n class=\"flex min-h-28 items-center justify-center rounded-lg border border-dashed border-[#d7d7d7] bg-white px-4 text-sm text-[#666]\"\n >\n {{ noFiltersText() }}\n </div>\n }\n </div>\n\n @if (sortableColumnOptions().length > 0) {\n <div class=\"mt-4 border-t border-[#e7e7e7] pt-4\">\n <div class=\"mb-3 flex w-full items-center justify-between\">\n <h4 class=\"m-0 text-[1.12rem] font-medium text-black\">Sort</h4>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n [iconButton]=\"'plus'\"\n [disabled]=\"!canAddSort()\"\n class=\"px-1! py-1! text-[1.12rem]! font-normal! leading-none!\"\n (click)=\"onAddSortClick()\"\n >\n <ads-icon\n iconName=\"plus\"\n [size]=\"16\"\n [ngClass]=\"{\n 'text-gray-400': !canAddSort(),\n 'text-aqua-0': canAddSort(),\n }\"\n ></ads-icon>\n Add Sort\n </button>\n </div>\n\n @if (hasSorts()) {\n <div\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3 mb-1\"\n >\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">Column</p>\n <p class=\"m-0 pt-1 text-sm font-medium leading-6\">\n Direction\n </p>\n <span aria-hidden=\"true\" style=\"width: 40px\"></span>\n </div>\n\n <div formArrayName=\"sorts\" class=\"space-y-2\">\n @for (\n group of sortsArray.controls;\n track group;\n let i = $index\n ) {\n <div\n [formGroupName]=\"i\"\n class=\"grid grid-cols-[1fr_1fr_auto] items-start gap-3\"\n >\n <ads-single-selector\n formControlName=\"column\"\n placeholder=\"Select a sort field\"\n [options]=\"sortColumnOptionsForRow(i)\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n <ads-single-selector\n formControlName=\"direction\"\n placeholder=\"Direction\"\n [options]=\"sortValueOptions()\"\n [errorMessage]=\"''\"\n ></ads-single-selector>\n\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"text\"\n [onlyIconButton]=\"true\"\n aria-label=\"Remove sort\"\n (clicked)=\"onRemoveSortClick(i)\"\n >\n <ads-icon\n [iconName]=\"'error'\"\n [size]=\"16\"\n color=\"#014744\"\n ></ads-icon>\n </button>\n </div>\n }\n </div>\n } @else {\n <div\n class=\"flex min-h-20 items-center justify-center rounded-lg border border-dashed border-[#d7d7d7] bg-white px-4 text-sm text-[#666]\"\n >\n {{ noSortText() }}\n </div>\n }\n </div>\n }\n </form>\n </div>\n\n @if (hasFilters() || hasSorts()) {\n <div class=\"mt-2 flex h-10 items-center justify-end gap-3\">\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"white\"\n (click)=\"onResetClick()\"\n >\n {{ resetLabel() }}\n </button>\n <button\n ads-button\n type=\"button\"\n variant=\"primary\"\n color=\"green\"\n [disabled]=\"!canApplyFilters()\"\n (click)=\"onApplyClick()\"\n >\n {{ applyLabel() }}\n </button>\n </div>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i1$1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "component", type: ButtonComponent, selector: "button[ads-button]", inputs: ["variant", "color", "buttonType", "disabled", "fullWidth", "iconButton", "onlyIconButton", "iconColor"], outputs: ["clicked"] }, { kind: "component", type: IconComponent, selector: "ads-icon", inputs: ["iconName", "size", "title", "color"] }, { kind: "component", type: SingleSelectorComponent, selector: "ads-single-selector", inputs: ["label", "placeholder", "disabled", "allowClear", "loading", "serverSearch", "options", "asyncOptions", "value", "errorMessage", "labelIconName"], outputs: ["onLabelButtonClick", "searchChange", "valueChange"] }, { kind: "component", type: InputComponent, selector: "ads-input", inputs: ["label", "placeholder", "inputType", "textAreaRows", "value", "hasError", "disabled", "errorMessage"], outputs: ["valueChange"] }, { kind: "component", type: InputDatepickerComponent, selector: "ads-input-datepicker", inputs: ["isPickerDisabled", "datePickerPlaceholder", "hasError", "errorMessage", "futureDatesAllowed", "label", "monthlyPicker"] }] });
|
|
2590
2595
|
}
|
|
2591
2596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: FilterButtonComponent, decorators: [{
|
|
2592
2597
|
type: Component,
|
|
@@ -2607,21 +2612,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
2607
2612
|
class TabsComponent {
|
|
2608
2613
|
tabs = input.required(...(ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []));
|
|
2609
2614
|
selectedTabId = input('', ...(ngDevMode ? [{ debugName: "selectedTabId" }] : /* istanbul ignore next */ []));
|
|
2615
|
+
variant = input('primary', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
2610
2616
|
tabChanged = output();
|
|
2611
2617
|
selectTab(tabId) {
|
|
2612
2618
|
this.tabChanged.emit(tabId);
|
|
2613
2619
|
}
|
|
2614
2620
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2615
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: TabsComponent, isStandalone: true, selector: "ads-tabs", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: true, transformFunction: null }, selectedTabId: { classPropertyName: "selectedTabId", publicName: "selectedTabId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabChanged: "tabChanged" }, ngImport: i0, template: `
|
|
2621
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: TabsComponent, isStandalone: true, selector: "ads-tabs", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: true, transformFunction: null }, selectedTabId: { classPropertyName: "selectedTabId", publicName: "selectedTabId", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabChanged: "tabChanged" }, ngImport: i0, template: `
|
|
2616
2622
|
<div class="w-full flex items-center justify-between">
|
|
2617
2623
|
<div
|
|
2618
2624
|
class="flex w-full h-full overflow-y-hidden overflow-x-auto border border-neutral-disabled-bg rounded-[0.62rem] scrollbar-green min-w-30"
|
|
2625
|
+
[ngClass]="{
|
|
2626
|
+
'border-0 rounded-none bg-transparent': variant() === 'secondary'
|
|
2627
|
+
}"
|
|
2619
2628
|
>
|
|
2620
2629
|
@for (tab of tabs(); track tab.id) {
|
|
2621
2630
|
<button
|
|
2622
2631
|
class="cursor-pointer border-none flex-1 min-w-44 px-6 h-10 bg-white transition-all duration-300 text-green-base font-normal text-base whitespace-nowrap hover:brightness-90"
|
|
2623
2632
|
[ngClass]="{
|
|
2624
|
-
'
|
|
2633
|
+
'flex-1 min-w-44 px-6 h-10 bg-white text-green-base font-normal text-base': variant() !== 'secondary',
|
|
2634
|
+
'flex-none min-w-0 px-[24px] py-[12px] h-auto bg-transparent text-[var(--Black-400,#888)] font-medium text-sm flex items-center justify-center text-center': variant() === 'secondary',
|
|
2635
|
+
'tab-active': variant() !== 'secondary' && selectedTabId() === tab.id,
|
|
2636
|
+
'tab-active--secondary': variant() === 'secondary' && selectedTabId() === tab.id
|
|
2637
|
+
|
|
2625
2638
|
}"
|
|
2626
2639
|
(click)="selectTab(tab.id)"
|
|
2627
2640
|
[attr.data-testid]="'tab-button-' + tab.id"
|
|
@@ -2632,7 +2645,7 @@ class TabsComponent {
|
|
|
2632
2645
|
}
|
|
2633
2646
|
</div>
|
|
2634
2647
|
</div>
|
|
2635
|
-
`, isInline: true, styles: [".scrollbar-green::-webkit-scrollbar{height:3px}.scrollbar-green::-webkit-scrollbar-track{background:transparent}.scrollbar-green::-webkit-scrollbar-thumb{background:#014744;border-radius:3px}.scrollbar-green::-webkit-scrollbar-thumb:hover{background:#012f2d}.scrollbar-green{scrollbar-width:thin;scrollbar-color:#014744 transparent}.tab-active{background-color:#ddf0ef}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2648
|
+
`, isInline: true, styles: [".scrollbar-green::-webkit-scrollbar{height:3px}.scrollbar-green::-webkit-scrollbar-track{background:transparent}.scrollbar-green::-webkit-scrollbar-thumb{background:#014744;border-radius:3px}.scrollbar-green::-webkit-scrollbar-thumb:hover{background:#012f2d}.scrollbar-green{scrollbar-width:thin;scrollbar-color:#014744 transparent}.tab-active{background-color:#ddf0ef}.tab-active--secondary{background-color:var(--Aqua-950, #014744);color:#fff;border-radius:10px 10px 0 0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2636
2649
|
}
|
|
2637
2650
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: TabsComponent, decorators: [{
|
|
2638
2651
|
type: Component,
|
|
@@ -2640,12 +2653,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
2640
2653
|
<div class="w-full flex items-center justify-between">
|
|
2641
2654
|
<div
|
|
2642
2655
|
class="flex w-full h-full overflow-y-hidden overflow-x-auto border border-neutral-disabled-bg rounded-[0.62rem] scrollbar-green min-w-30"
|
|
2656
|
+
[ngClass]="{
|
|
2657
|
+
'border-0 rounded-none bg-transparent': variant() === 'secondary'
|
|
2658
|
+
}"
|
|
2643
2659
|
>
|
|
2644
2660
|
@for (tab of tabs(); track tab.id) {
|
|
2645
2661
|
<button
|
|
2646
2662
|
class="cursor-pointer border-none flex-1 min-w-44 px-6 h-10 bg-white transition-all duration-300 text-green-base font-normal text-base whitespace-nowrap hover:brightness-90"
|
|
2647
2663
|
[ngClass]="{
|
|
2648
|
-
'
|
|
2664
|
+
'flex-1 min-w-44 px-6 h-10 bg-white text-green-base font-normal text-base': variant() !== 'secondary',
|
|
2665
|
+
'flex-none min-w-0 px-[24px] py-[12px] h-auto bg-transparent text-[var(--Black-400,#888)] font-medium text-sm flex items-center justify-center text-center': variant() === 'secondary',
|
|
2666
|
+
'tab-active': variant() !== 'secondary' && selectedTabId() === tab.id,
|
|
2667
|
+
'tab-active--secondary': variant() === 'secondary' && selectedTabId() === tab.id
|
|
2668
|
+
|
|
2649
2669
|
}"
|
|
2650
2670
|
(click)="selectTab(tab.id)"
|
|
2651
2671
|
[attr.data-testid]="'tab-button-' + tab.id"
|
|
@@ -2656,8 +2676,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
2656
2676
|
}
|
|
2657
2677
|
</div>
|
|
2658
2678
|
</div>
|
|
2659
|
-
`, styles: [".scrollbar-green::-webkit-scrollbar{height:3px}.scrollbar-green::-webkit-scrollbar-track{background:transparent}.scrollbar-green::-webkit-scrollbar-thumb{background:#014744;border-radius:3px}.scrollbar-green::-webkit-scrollbar-thumb:hover{background:#012f2d}.scrollbar-green{scrollbar-width:thin;scrollbar-color:#014744 transparent}.tab-active{background-color:#ddf0ef}\n"] }]
|
|
2660
|
-
}], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: true }] }], selectedTabId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedTabId", required: false }] }], tabChanged: [{ type: i0.Output, args: ["tabChanged"] }] } });
|
|
2679
|
+
`, styles: [".scrollbar-green::-webkit-scrollbar{height:3px}.scrollbar-green::-webkit-scrollbar-track{background:transparent}.scrollbar-green::-webkit-scrollbar-thumb{background:#014744;border-radius:3px}.scrollbar-green::-webkit-scrollbar-thumb:hover{background:#012f2d}.scrollbar-green{scrollbar-width:thin;scrollbar-color:#014744 transparent}.tab-active{background-color:#ddf0ef}.tab-active--secondary{background-color:var(--Aqua-950, #014744);color:#fff;border-radius:10px 10px 0 0}\n"] }]
|
|
2680
|
+
}], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: true }] }], selectedTabId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedTabId", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], tabChanged: [{ type: i0.Output, args: ["tabChanged"] }] } });
|
|
2661
2681
|
|
|
2662
2682
|
class SideNavComponent {
|
|
2663
2683
|
isCollapsed = input(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
@@ -3670,7 +3690,7 @@ class FeedbackModalComponent {
|
|
|
3670
3690
|
return '';
|
|
3671
3691
|
}
|
|
3672
3692
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: FeedbackModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3673
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: FeedbackModalComponent, isStandalone: true, selector: "ads-feedback-modal", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: false, transformFunction: null }, right: { classPropertyName: "right", publicName: "right", isSignal: true, isRequired: false, transformFunction: null }, bottom: { classPropertyName: "bottom", publicName: "bottom", isSignal: true, isRequired: false, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, categoryOptions: { classPropertyName: "categoryOptions", publicName: "categoryOptions", isSignal: true, isRequired: false, transformFunction: null }, responseOpen: { classPropertyName: "responseOpen", publicName: "responseOpen", isSignal: true, isRequired: false, transformFunction: null }, responseType: { classPropertyName: "responseType", publicName: "responseType", isSignal: true, isRequired: false, transformFunction: null }, responseTitle: { classPropertyName: "responseTitle", publicName: "responseTitle", isSignal: true, isRequired: false, transformFunction: null }, responseDescription: { classPropertyName: "responseDescription", publicName: "responseDescription", isSignal: true, isRequired: false, transformFunction: null }, responseButtonText: { classPropertyName: "responseButtonText", publicName: "responseButtonText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed", submitted: "submitted", responseAction: "responseAction" }, ngImport: i0, template: "@if (open()) {\n <div\n class=\"fixed inset-0 z-50\"\n (click)=\"onBackdropClick($event)\"\n animate.enter=\"fade-in\"\n animate.leave=\"fade-out\"\n >\n <section\n class=\"absolute overflow-hidden rounded-[0.8rem] bg-white-base shadow-[0px_1px_17px_-7px_rgba(128,128,128,1)]\"\n [style.top]=\"modalPositionStyles()['top']\"\n [style.right]=\"modalPositionStyles()['right']\"\n [style.bottom]=\"modalPositionStyles()['bottom']\"\n [style.left]=\"modalPositionStyles()['left']\"\n [style.width]=\"modalPositionStyles()['width']\"\n (click)=\"$event.stopPropagation()\"\n >\n @if (!responseOpen()) {\n <div\n class=\"flex h-28 flex-col items-center justify-center bg-green-base px-6 text-center\"\n >\n <h2 class=\"m-0 text-[1.4rem] font-semibold text-white-base\">\n {{ title() }}\n </h2>\n <p class=\"m-0 text-[0.9rem] text-white-base\">{{ subtitle() }}</p>\n </div>\n\n <form\n class=\"flex flex-col gap-2 p-8\"\n [formGroup]=\"form\"\n (ngSubmit)=\"submitFeedback()\"\n >\n <ads-input\n label=\"Subject*\"\n formControlName=\"subject\"\n placeholder=\"Enter subject\"\n inputType=\"text\"\n [hasError]=\"!!subjectError()\"\n [errorMessage]=\"subjectError()\"\n ></ads-input>\n\n <ads-single-selector\n label=\"Category\"\n formControlName=\"category\"\n placeholder=\"Select a category\"\n [options]=\"categoryOptions()\"\n ></ads-single-selector>\n\n <ads-input\n label=\"Description*\"\n formControlName=\"description\"\n placeholder=\"Enter description\"\n inputType=\"text_area\"\n [hasError]=\"!!descriptionError()\"\n [errorMessage]=\"descriptionError()\"\n ></ads-input>\n\n <div class=\"flex items-center justify-between\">\n <span class=\"text-xs text-neutral-disabled-text\"\n >200 characters max.</span\n >\n </div>\n\n <button\n ads-button\n type=\"submit\"\n variant=\"primary\"\n color=\"green\"\n [disabled]=\"form.invalid\"\n class=\"mt-2\"\n >\n Submit\n </button>\n </form>\n }\n\n @if (responseOpen()) {\n <button\n type=\"button\"\n class=\"absolute right-2 top-2 inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border-0 bg-transparent text-green-base hover:text-green-2\"\n (click)=\"closeModal()\"\n aria-label=\"Close\"\n >\n <ads-icon iconName=\"error\" [size]=\"16\"></ads-icon>\n </button>\n\n <div class=\"flex flex-col items-center gap-2 px-12 py-8 text-center\">\n <div\n class=\"inline-flex h-12 w-12 items-center justify-center rounded-full border-2 text-xl font-semibold\"\n [ngClass]=\"responseIconStyles().containerClass\"\n >\n <ads-icon\n [iconName]=\"responseIconStyles().iconName\"\n [size]=\"24\"\n ></ads-icon>\n </div>\n\n <h3 class=\"m-0 text-[1.3rem] font-bold text-green-base\">\n {{ responseTitle() }}\n </h3>\n <p class=\"m-0 text-[0.8rem] text-[#3d3d3d]\">\n {{ responseDescription() }}\n </p>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n class=\"mt-2\"\n (click)=\"onResponseButtonClick()\"\n >\n {{ responseButtonText() }}\n </button>\n </div>\n }\n </section>\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "button[ads-button]", inputs: ["variant", "color", "buttonType", "disabled", "fullWidth", "iconButton", "onlyIconButton", "iconColor"], outputs: ["clicked"] }, { kind: "component", type: IconComponent, selector: "ads-icon", inputs: ["iconName", "size", "title", "color"] }, { kind: "component", type: InputComponent, selector: "ads-input", inputs: ["label", "placeholder", "inputType", "textAreaRows", "value", "hasError", "disabled", "errorMessage"], outputs: ["valueChange"] }, { kind: "component", type: SingleSelectorComponent, selector: "ads-single-selector", inputs: ["label", "placeholder", "disabled", "allowClear", "loading", "options", "asyncOptions", "value", "errorMessage", "labelIconName"], outputs: ["onLabelButtonClick", "valueChange"] }] });
|
|
3693
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: FeedbackModalComponent, isStandalone: true, selector: "ads-feedback-modal", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: false, transformFunction: null }, right: { classPropertyName: "right", publicName: "right", isSignal: true, isRequired: false, transformFunction: null }, bottom: { classPropertyName: "bottom", publicName: "bottom", isSignal: true, isRequired: false, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, categoryOptions: { classPropertyName: "categoryOptions", publicName: "categoryOptions", isSignal: true, isRequired: false, transformFunction: null }, responseOpen: { classPropertyName: "responseOpen", publicName: "responseOpen", isSignal: true, isRequired: false, transformFunction: null }, responseType: { classPropertyName: "responseType", publicName: "responseType", isSignal: true, isRequired: false, transformFunction: null }, responseTitle: { classPropertyName: "responseTitle", publicName: "responseTitle", isSignal: true, isRequired: false, transformFunction: null }, responseDescription: { classPropertyName: "responseDescription", publicName: "responseDescription", isSignal: true, isRequired: false, transformFunction: null }, responseButtonText: { classPropertyName: "responseButtonText", publicName: "responseButtonText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed", submitted: "submitted", responseAction: "responseAction" }, ngImport: i0, template: "@if (open()) {\n <div\n class=\"fixed inset-0 z-50\"\n (click)=\"onBackdropClick($event)\"\n animate.enter=\"fade-in\"\n animate.leave=\"fade-out\"\n >\n <section\n class=\"absolute overflow-hidden rounded-[0.8rem] bg-white-base shadow-[0px_1px_17px_-7px_rgba(128,128,128,1)]\"\n [style.top]=\"modalPositionStyles()['top']\"\n [style.right]=\"modalPositionStyles()['right']\"\n [style.bottom]=\"modalPositionStyles()['bottom']\"\n [style.left]=\"modalPositionStyles()['left']\"\n [style.width]=\"modalPositionStyles()['width']\"\n (click)=\"$event.stopPropagation()\"\n >\n @if (!responseOpen()) {\n <div\n class=\"flex h-28 flex-col items-center justify-center bg-green-base px-6 text-center\"\n >\n <h2 class=\"m-0 text-[1.4rem] font-semibold text-white-base\">\n {{ title() }}\n </h2>\n <p class=\"m-0 text-[0.9rem] text-white-base\">{{ subtitle() }}</p>\n </div>\n\n <form\n class=\"flex flex-col gap-2 p-8\"\n [formGroup]=\"form\"\n (ngSubmit)=\"submitFeedback()\"\n >\n <ads-input\n label=\"Subject*\"\n formControlName=\"subject\"\n placeholder=\"Enter subject\"\n inputType=\"text\"\n [hasError]=\"!!subjectError()\"\n [errorMessage]=\"subjectError()\"\n ></ads-input>\n\n <ads-single-selector\n label=\"Category\"\n formControlName=\"category\"\n placeholder=\"Select a category\"\n [options]=\"categoryOptions()\"\n ></ads-single-selector>\n\n <ads-input\n label=\"Description*\"\n formControlName=\"description\"\n placeholder=\"Enter description\"\n inputType=\"text_area\"\n [hasError]=\"!!descriptionError()\"\n [errorMessage]=\"descriptionError()\"\n ></ads-input>\n\n <div class=\"flex items-center justify-between\">\n <span class=\"text-xs text-neutral-disabled-text\"\n >200 characters max.</span\n >\n </div>\n\n <button\n ads-button\n type=\"submit\"\n variant=\"primary\"\n color=\"green\"\n [disabled]=\"form.invalid\"\n class=\"mt-2\"\n >\n Submit\n </button>\n </form>\n }\n\n @if (responseOpen()) {\n <button\n type=\"button\"\n class=\"absolute right-2 top-2 inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border-0 bg-transparent text-green-base hover:text-green-2\"\n (click)=\"closeModal()\"\n aria-label=\"Close\"\n >\n <ads-icon iconName=\"error\" [size]=\"16\"></ads-icon>\n </button>\n\n <div class=\"flex flex-col items-center gap-2 px-12 py-8 text-center\">\n <div\n class=\"inline-flex h-12 w-12 items-center justify-center rounded-full border-2 text-xl font-semibold\"\n [ngClass]=\"responseIconStyles().containerClass\"\n >\n <ads-icon\n [iconName]=\"responseIconStyles().iconName\"\n [size]=\"24\"\n ></ads-icon>\n </div>\n\n <h3 class=\"m-0 text-[1.3rem] font-bold text-green-base\">\n {{ responseTitle() }}\n </h3>\n <p class=\"m-0 text-[0.8rem] text-[#3d3d3d]\">\n {{ responseDescription() }}\n </p>\n\n <button\n ads-button\n type=\"button\"\n variant=\"secondary\"\n color=\"text\"\n class=\"mt-2\"\n (click)=\"onResponseButtonClick()\"\n >\n {{ responseButtonText() }}\n </button>\n </div>\n }\n </section>\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "button[ads-button]", inputs: ["variant", "color", "buttonType", "disabled", "fullWidth", "iconButton", "onlyIconButton", "iconColor"], outputs: ["clicked"] }, { kind: "component", type: IconComponent, selector: "ads-icon", inputs: ["iconName", "size", "title", "color"] }, { kind: "component", type: InputComponent, selector: "ads-input", inputs: ["label", "placeholder", "inputType", "textAreaRows", "value", "hasError", "disabled", "errorMessage"], outputs: ["valueChange"] }, { kind: "component", type: SingleSelectorComponent, selector: "ads-single-selector", inputs: ["label", "placeholder", "disabled", "allowClear", "loading", "serverSearch", "options", "asyncOptions", "value", "errorMessage", "labelIconName"], outputs: ["onLabelButtonClick", "searchChange", "valueChange"] }] });
|
|
3674
3694
|
}
|
|
3675
3695
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: FeedbackModalComponent, decorators: [{
|
|
3676
3696
|
type: Component,
|