ecabs-components 1.0.6 → 1.0.7
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/esm2022/lib/base/element-wrapper/element-wrapper.component.mjs +2 -2
- package/esm2022/lib/base/element-wrapper/element-wrapper.module.mjs +13 -13
- package/esm2022/lib/base/hint/hint.module.mjs +5 -5
- package/esm2022/lib/base/validation/validation.module.mjs +5 -5
- package/esm2022/lib/ecabs-buttons/ecabs-buttons.component.mjs +3 -3
- package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +2 -2
- package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +4 -4
- package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.module.mjs +5 -5
- package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +4 -4
- package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.mjs +5 -5
- package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +3 -3
- package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.mjs +6 -6
- package/esm2022/lib/ecabs-increment/ecabs-increment.component.mjs +2 -2
- package/esm2022/lib/ecabs-increment/ecabs-increment.module.mjs +5 -5
- package/esm2022/lib/ecabs-input/ecabs-input.module.mjs +5 -5
- package/esm2022/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +2 -2
- package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +3 -3
- package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.module.mjs +5 -5
- package/fesm2022/ecabs-components.mjs +67 -71
- package/fesm2022/ecabs-components.mjs.map +1 -1
- package/lib/base/element-wrapper/element-wrapper.module.d.ts +4 -4
- package/lib/base/hint/hint.module.d.ts +2 -2
- package/lib/base/validation/validation.module.d.ts +2 -2
- package/lib/ecabs-date-picker/ecabs-date-picker.module.d.ts +2 -2
- package/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.d.ts +2 -2
- package/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.d.ts +3 -3
- package/lib/ecabs-increment/ecabs-increment.module.d.ts +2 -2
- package/lib/ecabs-input/ecabs-input.module.d.ts +2 -2
- package/lib/ecabs-picker-header/ecabs-picker-header.module.d.ts +2 -2
- package/package.json +1 -1
- package/styles/material/_theme.scss +0 -149
- package/styles/material/overrides/_autocomplete.scss +0 -11
- package/styles/material/overrides/_button.scss +0 -81
- package/styles/material/overrides/_card.scss +0 -17
- package/styles/material/overrides/_chip.scss +0 -108
- package/styles/material/overrides/_datepicker.scss +0 -169
- package/styles/material/overrides/_dialog.scss +0 -12
- package/styles/material/overrides/_divider.scss +0 -3
- package/styles/material/overrides/_expansion.scss +0 -31
- package/styles/material/overrides/_form.scss +0 -144
- package/styles/material/overrides/_icon.scss +0 -3
- package/styles/material/overrides/_menu.scss +0 -3
- package/styles/material/overrides/_paginator.scss +0 -0
- package/styles/material/overrides/_phone.scss +0 -32
- package/styles/material/overrides/_select.scss +0 -52
- package/styles/material/overrides/_tab.scss +0 -23
- package/styles/material/overrides/_table.scss +0 -12
- package/styles/material/overrides/_toaster.scss +0 -38
- package/styles/material/overrides/_toggle.scss +0 -15
- package/styles/material/overrides/_tooltip.scss +0 -3
- package/styles/material/overrides/index.scss +0 -19
- package/styles/scss/base/_heading.scss +0 -17
- package/styles/scss/base/_normalize.scss +0 -78
- package/styles/scss/base/index.scss +0 -5
- package/styles/scss/modules/_autocomplete.scss +0 -29
- package/styles/scss/modules/_button.scss +0 -221
- package/styles/scss/modules/_card.scss +0 -23
- package/styles/scss/modules/_chip.scss +0 -56
- package/styles/scss/modules/_datepicker.scss +0 -422
- package/styles/scss/modules/_dialog.scss +0 -14
- package/styles/scss/modules/_divider.scss +0 -3
- package/styles/scss/modules/_form.scss +0 -233
- package/styles/scss/modules/_icon.scss +0 -30
- package/styles/scss/modules/_img.scss +0 -32
- package/styles/scss/modules/_legend.scss +0 -64
- package/styles/scss/modules/_list.scss +0 -17
- package/styles/scss/modules/_map.scss +0 -112
- package/styles/scss/modules/_percentage.scss +0 -33
- package/styles/scss/modules/_phone.scss +0 -23
- package/styles/scss/modules/_select.scss +0 -41
- package/styles/scss/modules/_statuses.scss +0 -31
- package/styles/scss/modules/_tab.scss +0 -16
- package/styles/scss/modules/_table.scss +0 -107
- package/styles/scss/modules/_timepicker.scss +0 -96
- package/styles/scss/modules/_toaster.scss +0 -53
- package/styles/scss/modules/_tooltip.scss +0 -7
- package/styles/scss/modules/drag-drop.scss +0 -31
- package/styles/scss/modules/index.scss +0 -23
- package/styles/scss/utilities/_colors.scss +0 -52
- package/styles/scss/utilities/_fonts.scss +0 -26
- package/styles/scss/utilities/_functions.scss +0 -27
- package/styles/scss/utilities/_helpers.scss +0 -5
- package/styles/scss/utilities/_mixins.scss +0 -65
- package/styles/scss/utilities/_palettes.scss +0 -74
- package/styles/scss/utilities/_variables.scss +0 -19
- package/styles/scss/utilities/index.scss +0 -7
- package/styles/styles.scss +0 -5
- package/styles/tailwind/index.scss +0 -523
|
@@ -2,22 +2,22 @@ import { CommonModule } from '@angular/common';
|
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
3
|
import { FormsModule } from '@angular/forms';
|
|
4
4
|
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { MatLegacyInputModule } from '@angular/material/legacy-input';
|
|
6
5
|
import { DigitsOnlyDirectivesModule } from '../base/directives/digits-only.directive.module';
|
|
7
6
|
import { ElementWrapperModule } from '../base/element-wrapper/element-wrapper.module';
|
|
8
7
|
import { EcabsIncrementComponent } from './ecabs-increment.component';
|
|
8
|
+
import { MatInputModule } from '@angular/material/input';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class EcabsIncrementModule {
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, declarations: [EcabsIncrementComponent], imports: [CommonModule,
|
|
13
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, imports: [CommonModule,
|
|
12
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, declarations: [EcabsIncrementComponent], imports: [CommonModule, MatInputModule, MatIconModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule], exports: [EcabsIncrementComponent] });
|
|
13
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, imports: [CommonModule, MatInputModule, MatIconModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule] });
|
|
14
14
|
}
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsIncrementModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [EcabsIncrementComponent],
|
|
19
|
-
imports: [CommonModule,
|
|
19
|
+
imports: [CommonModule, MatInputModule, MatIconModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule],
|
|
20
20
|
exports: [EcabsIncrementComponent],
|
|
21
21
|
}]
|
|
22
22
|
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNhYnMtaW5jcmVtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VjYWJzLWNvbXBvbmVudHMvc3JjL2xpYi9lY2Ficy1pbmN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OiBbIEVjYWJzSW5jcmVtZW50Q29tcG9uZW50IF0sXHJcbn0gKVxyXG5leHBvcnQgY2xhc3MgRWNhYnNJbmNyZW1lbnRNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { EcabsInputComponent } from './ecabs-input.component';
|
|
4
|
-
import {
|
|
4
|
+
import { MatInputModule } from '@angular/material/input';
|
|
5
5
|
import { ElementWrapperModule } from '../base/element-wrapper/element-wrapper.module';
|
|
6
6
|
import { FormsModule } from '@angular/forms';
|
|
7
7
|
import { DigitsOnlyDirectivesModule } from '../base/directives/digits-only.directive.module';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class EcabsInputModule {
|
|
10
10
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, declarations: [EcabsInputComponent], imports: [CommonModule,
|
|
12
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, imports: [CommonModule,
|
|
11
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, declarations: [EcabsInputComponent], imports: [CommonModule, MatInputModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule], exports: [EcabsInputComponent] });
|
|
12
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, imports: [CommonModule, MatInputModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule] });
|
|
13
13
|
}
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsInputModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
declarations: [EcabsInputComponent],
|
|
18
|
-
imports: [CommonModule,
|
|
18
|
+
imports: [CommonModule, MatInputModule, ElementWrapperModule, FormsModule, DigitsOnlyDirectivesModule],
|
|
19
19
|
exports: [EcabsInputComponent],
|
|
20
20
|
}]
|
|
21
21
|
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNhYnMtaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWNhYnMtY29tcG9uZW50cy9zcmMvbGliL2VjYWJzLWlucHV0L2VjYWJzLWlucHV0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sZ0RBQWdELENBQUM7QUFDdEYsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGlEQUFpRCxDQUFDOztBQU83RixNQUFNLE9BQU8sZ0JBQWdCO3VHQUFoQixnQkFBZ0I7d0dBQWhCLGdCQUFnQixpQk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HkuZGlyZWN0aXZlLm1vZHVsZSc7XHJcblxyXG5ATmdNb2R1bGUoIHtcclxuICBkZWNsYXJhdGlvbnM6IFsgRWNhYnNJbnB1dENvbXBvbmVudCBdLFxyXG4gIGltcG9ydHM6IFsgQ29tbW9uTW9kdWxlLCBNYXRJbnB1dE1vZHVsZSwgRWxlbWVudFdyYXBwZXJNb2R1bGUsIEZvcm1zTW9kdWxlLCBEaWdpdHNPbmx5RGlyZWN0aXZlc01vZHVsZSBdLFxyXG4gIGV4cG9ydHM6IFsgRWNhYnNJbnB1dENvbXBvbmVudCBdLFxyXG59IClcclxuZXhwb3J0IGNsYXNzIEVjYWJzSW5wdXRNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -40,11 +40,11 @@ export class EcabsLanguageSelectorComponent {
|
|
|
40
40
|
return lang.of(code);
|
|
41
41
|
}
|
|
42
42
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsLanguageSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: EcabsLanguageSelectorComponent, selector: "ecabs-language-selector", inputs: { languages: "languages", currentLanguage: "currentLanguage", showLabelTitle: "showLabelTitle" }, outputs: { languageChanged: "languageChanged" }, usesOnChanges: true, ngImport: i0, template: "<mat-form-field>\r\n <mat-select class=\"capitalize\" [(ngModel)]=\"selectedLang\" name=\"language\" (ngModelChange)=\"toggleLang()\"\r\n panelClass=\"wide-select\">\r\n <mat-select-trigger>\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(matchSelected())\"></span>\r\n <div class=\"ml-2\">{{standardLang(matchSelected())}}</div>\r\n </div>\r\n </mat-select-trigger>\r\n <mat-option class=\"capitalize\" *ngFor=\"let lang of languages\" [value]=\"lang\">\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(lang)\"></span>\r\n <div class=\"ml-2\">{{standardLang(lang)}}</div>\r\n </div>\r\n </mat-option>\r\n </mat-select>\r\n</mat-form-field>\r\n", styles: [":host::ng-deep .mat-mdc-select,:host::ng-deep .mat-select{padding:0;border:0}:host::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-mdc-select .mat-select-arrow-wrapper,:host::ng-deep .mat-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-select .mat-select-arrow-wrapper{display:none}:host::ng-deep .mat-mdc-select,:host::ng-deep .mat-mdc-select .mdc-list-item,:host::ng-deep .mat-select,:host::ng-deep .mat-select .mdc-list-item{font-size:12px}:host::ng-deep .mat-select-panel-wrap .mat-option{font-size:12px}:host::ng-deep .mat-form-field .mat-form-field-wrapper .mat-form-field-infix{width:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "directive", type: i3.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: EcabsLanguageSelectorComponent, selector: "ecabs-language-selector", inputs: { languages: "languages", currentLanguage: "currentLanguage", showLabelTitle: "showLabelTitle" }, outputs: { languageChanged: "languageChanged" }, usesOnChanges: true, ngImport: i0, template: "<mat-form-field>\r\n <mat-select class=\"capitalize\" [(ngModel)]=\"selectedLang\" name=\"language\" (ngModelChange)=\"toggleLang()\"\r\n panelClass=\"wide-select\">\r\n <mat-select-trigger>\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(matchSelected())\"></span>\r\n <div class=\"ml-2\">{{standardLang(matchSelected())}}</div>\r\n </div>\r\n </mat-select-trigger>\r\n <mat-option class=\"capitalize\" *ngFor=\"let lang of languages\" [value]=\"lang\">\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(lang)\"></span>\r\n <div class=\"ml-2\">{{standardLang(lang)}}</div>\r\n </div>\r\n </mat-option>\r\n </mat-select>\r\n</mat-form-field>\r\n", styles: [":host::ng-deep .mat-mdc-select,:host::ng-deep .mat-select{padding:0;border:0}:host::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-mdc-select .mat-select-arrow-wrapper,:host::ng-deep .mat-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-select .mat-select-arrow-wrapper{display:none}:host::ng-deep .mat-mdc-select,:host::ng-deep .mat-mdc-select .mdc-list-item,:host::ng-deep .mat-select,:host::ng-deep .mat-select .mdc-list-item{font-size:12px}:host::ng-deep .mat-select-panel-wrap .mat-option{font-size:12px}:host::ng-deep .mat-mdc-form-field .mat-mdc-form-field-wrapper .mat-mdc-form-field-infix{width:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "directive", type: i3.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
44
44
|
}
|
|
45
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: EcabsLanguageSelectorComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
|
-
args: [{ selector: 'ecabs-language-selector', template: "<mat-form-field>\r\n <mat-select class=\"capitalize\" [(ngModel)]=\"selectedLang\" name=\"language\" (ngModelChange)=\"toggleLang()\"\r\n panelClass=\"wide-select\">\r\n <mat-select-trigger>\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(matchSelected())\"></span>\r\n <div class=\"ml-2\">{{standardLang(matchSelected())}}</div>\r\n </div>\r\n </mat-select-trigger>\r\n <mat-option class=\"capitalize\" *ngFor=\"let lang of languages\" [value]=\"lang\">\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(lang)\"></span>\r\n <div class=\"ml-2\">{{standardLang(lang)}}</div>\r\n </div>\r\n </mat-option>\r\n </mat-select>\r\n</mat-form-field>\r\n", styles: [":host::ng-deep .mat-mdc-select,:host::ng-deep .mat-select{padding:0;border:0}:host::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-mdc-select .mat-select-arrow-wrapper,:host::ng-deep .mat-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-select .mat-select-arrow-wrapper{display:none}:host::ng-deep .mat-mdc-select,:host::ng-deep .mat-mdc-select .mdc-list-item,:host::ng-deep .mat-select,:host::ng-deep .mat-select .mdc-list-item{font-size:12px}:host::ng-deep .mat-select-panel-wrap .mat-option{font-size:12px}:host::ng-deep .mat-form-field .mat-form-field-wrapper .mat-form-field-infix{width:auto}\n"] }]
|
|
47
|
+
args: [{ selector: 'ecabs-language-selector', template: "<mat-form-field>\r\n <mat-select class=\"capitalize\" [(ngModel)]=\"selectedLang\" name=\"language\" (ngModelChange)=\"toggleLang()\"\r\n panelClass=\"wide-select\">\r\n <mat-select-trigger>\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(matchSelected())\"></span>\r\n <div class=\"ml-2\">{{standardLang(matchSelected())}}</div>\r\n </div>\r\n </mat-select-trigger>\r\n <mat-option class=\"capitalize\" *ngFor=\"let lang of languages\" [value]=\"lang\">\r\n <div class=\"flex items-center\">\r\n <span [ngClass]=\"flagClass(lang)\"></span>\r\n <div class=\"ml-2\">{{standardLang(lang)}}</div>\r\n </div>\r\n </mat-option>\r\n </mat-select>\r\n</mat-form-field>\r\n", styles: [":host::ng-deep .mat-mdc-select,:host::ng-deep .mat-select{padding:0;border:0}:host::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-mdc-select .mat-select-arrow-wrapper,:host::ng-deep .mat-select .mat-mdc-select-arrow-wrapper,:host::ng-deep .mat-select .mat-select-arrow-wrapper{display:none}:host::ng-deep .mat-mdc-select,:host::ng-deep .mat-mdc-select .mdc-list-item,:host::ng-deep .mat-select,:host::ng-deep .mat-select .mdc-list-item{font-size:12px}:host::ng-deep .mat-select-panel-wrap .mat-option{font-size:12px}:host::ng-deep .mat-mdc-form-field .mat-mdc-form-field-wrapper .mat-mdc-form-field-infix{width:auto}\n"] }]
|
|
48
48
|
}], propDecorators: { languages: [{
|
|
49
49
|
type: Input
|
|
50
50
|
}], currentLanguage: [{
|