@acorex/components 16.18.14 → 16.18.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/esm2022/lib/base/element.class.mjs +8 -2
  2. package/esm2022/lib/button/button.component.mjs +3 -3
  3. package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +9 -3
  4. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +1 -1
  5. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +1 -1
  6. package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
  7. package/esm2022/lib/color-picker/color-picker.component.mjs +3 -3
  8. package/esm2022/lib/context-menu/context-menu.component.mjs +9 -3
  9. package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +9 -3
  10. package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +1 -1
  11. package/esm2022/lib/data-list/list/list.component.mjs +3 -3
  12. package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
  13. package/esm2022/lib/dropdown/dropdown.component.mjs +3 -3
  14. package/esm2022/lib/fieldset/fieldset.component.mjs +10 -3
  15. package/esm2022/lib/form-group/form-group.component.mjs +3 -3
  16. package/esm2022/lib/label/label.component.mjs +4 -3
  17. package/esm2022/lib/loading/loading-indicator.component.mjs +9 -3
  18. package/esm2022/lib/loading/loading-panel.component.mjs +9 -3
  19. package/esm2022/lib/menu/menu.component.mjs +9 -3
  20. package/esm2022/lib/number-box/number-box.component.mjs +3 -3
  21. package/esm2022/lib/panel-box/panel-box.component.mjs +9 -3
  22. package/esm2022/lib/password-box/password-box.component.mjs +3 -3
  23. package/esm2022/lib/popover/popover.component.mjs +10 -3
  24. package/esm2022/lib/popup/popup.component.mjs +9 -7
  25. package/esm2022/lib/popup/popup.service.mjs +6 -2
  26. package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
  27. package/esm2022/lib/search-bar/search-bar.component.mjs +9 -3
  28. package/esm2022/lib/searchbox/searchbox.component.mjs +3 -3
  29. package/esm2022/lib/selectbox/selectbox.component.mjs +3 -3
  30. package/esm2022/lib/selection-list/selection-list.component.mjs +3 -3
  31. package/esm2022/lib/switch/switch.component.mjs +8 -7
  32. package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +3 -1
  33. package/esm2022/lib/tab-page/tab-page-host.component.mjs +7 -6
  34. package/esm2022/lib/tab-page/tab-page.service.mjs +7 -3
  35. package/esm2022/lib/tab-strip/tab-strip.component.mjs +9 -3
  36. package/esm2022/lib/tab-view/tab-view.component.mjs +10 -4
  37. package/esm2022/lib/tab-view/tab.component.mjs +9 -3
  38. package/esm2022/lib/textarea/textarea.component.mjs +9 -5
  39. package/esm2022/lib/textbox/textbox.component.mjs +9 -5
  40. package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
  41. package/esm2022/lib/toast/toast-message/toast-message.component.mjs +9 -3
  42. package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +27 -18
  43. package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +9 -3
  44. package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +9 -3
  45. package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +23 -8
  46. package/esm2022/lib/toolbar/toolbar.component.mjs +11 -5
  47. package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +3 -3
  48. package/esm2022/lib/tree-view/tree-view.component.mjs +3 -3
  49. package/esm2022/lib/upload-file/upload-file.component.mjs +3 -3
  50. package/fesm2022/acorex-components.mjs +269 -117
  51. package/fesm2022/acorex-components.mjs.map +1 -1
  52. package/lib/base/element.class.d.ts +3 -1
  53. package/lib/calendar/calendar-box/calendar-box.component.d.ts +3 -1
  54. package/lib/context-menu/context-menu.component.d.ts +3 -1
  55. package/lib/data-filter/filter-panel/filter-panel.component.d.ts +3 -1
  56. package/lib/fieldset/fieldset.component.d.ts +3 -1
  57. package/lib/loading/loading-indicator.component.d.ts +3 -1
  58. package/lib/loading/loading-panel.component.d.ts +3 -1
  59. package/lib/menu/menu.component.d.ts +3 -1
  60. package/lib/panel-box/panel-box.component.d.ts +3 -1
  61. package/lib/popover/popover.component.d.ts +3 -1
  62. package/lib/popup/popup.service.d.ts +2 -0
  63. package/lib/search-bar/search-bar.component.d.ts +3 -1
  64. package/lib/tab-page/tab-page.service.d.ts +2 -0
  65. package/lib/tab-strip/tab-strip.component.d.ts +3 -1
  66. package/lib/tab-view/tab-view.component.d.ts +3 -1
  67. package/lib/tab-view/tab.component.d.ts +3 -1
  68. package/lib/toast/toast-message/toast-message.component.d.ts +3 -1
  69. package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +6 -4
  70. package/lib/toolbar/menu/toolbar-menu.component.d.ts +3 -1
  71. package/lib/toolbar/search/toolbar-search.component.d.ts +3 -1
  72. package/lib/toolbar/title/toolbar-title.component.d.ts +3 -2
  73. package/lib/toolbar/toolbar.component.d.ts +3 -1
  74. package/package.json +1 -1
@@ -83,11 +83,11 @@ export class AXSelectionListComponent extends AXValidatableComponent {
83
83
  });
84
84
  }
85
85
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
86
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { readonly: "readonly", value: "value", disabled: "disabled", size: "size", direction: "direction", items: "items", mode: "mode", textField: "textField", valueField: "valueField", selectedItems: "selectedItems", selectedValues: "selectedValues" }, outputs: { selectionChanged: "selectionChanged", selectedItemsChange: "selectedItemsChange", selectedValuesChange: "selectedValuesChange" }, usesInheritance: true, ngImport: i0, template: "<ng-container\n *ngIf=\"mode == 'multiple'; then checkboxList; else radioButtonList\"\n></ng-container>\n<ng-template #checkboxList>\n <div\n class=\"ax selection-list {{ size }}\"\n style=\"flex-wrap: wrap; gap: 4px\"\n [ngClass]=\"direction\"\n >\n <ax-check-box\n label=\"{{ item[textField] }}\"\n *ngFor=\"let item of items\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [value]=\"selectedValues.indexOf(item[valueField]) > -1\"\n (onValueChanged)=\"onCheckValueChange(item, $event.value)\"\n (onClick)=\"checkBoxClick($event, item)\"\n >\n </ax-check-box>\n </div>\n</ng-template>\n<ng-template #radioButtonList>\n <div\n style=\"flex-wrap: wrap; gap: 4px\"\n class=\"ax selection-list {{ size }}\"\n [ngClass]=\"direction\"\n >\n <label\n class=\"ax radio\"\n for=\"{{ uid }}\"\n [class.disabled]=\"disabled\"\n [class.readonly]=\"readonly\"\n *ngFor=\"let item of items\"\n (click)=\"onvalueChanged(item)\"\n >\n {{ item[textField] }}\n <input\n type=\"radio\"\n (change)=\"onCheckValueChange(item[valueField], true)\"\n [value]=\"item[valueField]\"\n [checked]=\"selectedValues == item[valueField]\"\n [name]=\"uid\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n />\n <span class=\"checkmark\"></span>\n </label>\n </div>\n</ng-template>\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "useTreeView", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
86
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { readonly: "readonly", value: "value", disabled: "disabled", size: "size", direction: "direction", items: "items", mode: "mode", textField: "textField", valueField: "valueField", selectedItems: "selectedItems", selectedValues: "selectedValues" }, outputs: { selectionChanged: "selectionChanged", selectedItemsChange: "selectedItemsChange", selectedValuesChange: "selectedValuesChange" }, usesInheritance: true, ngImport: i0, template: "<ng-container\n *ngIf=\"mode == 'multiple'; then checkboxList; else radioButtonList\"\n></ng-container>\n\n<ng-template #checkboxList>\n <div\n class=\"ax selection-list {{ size }}\"\n style=\"flex-wrap: wrap; gap: 4px\"\n [ngClass]=\"direction\"\n [attr.id]=\"axId\"\n [ngClass]=\"axClass\"\n >\n <ax-check-box\n label=\"{{ item[textField] }}\"\n *ngFor=\"let item of items\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [value]=\"selectedValues.indexOf(item[valueField]) > -1\"\n (onValueChanged)=\"onCheckValueChange(item, $event.value)\"\n (onClick)=\"checkBoxClick($event, item)\"\n [attr.id]=\"axId + '-checkbox-' + item[valueField]\"\n >\n </ax-check-box>\n </div>\n</ng-template>\n\n<ng-template #radioButtonList>\n <div\n style=\"flex-wrap: wrap; gap: 4px\"\n class=\"ax selection-list {{ size }}\"\n [ngClass]=\"direction\"\n [attr.id]=\"axId\"\n [ngClass]=\"axClass\"\n >\n <label\n class=\"ax radio\"\n for=\"{{ uid }}\"\n [class.disabled]=\"disabled\"\n [class.readonly]=\"readonly\"\n *ngFor=\"let item of items\"\n (click)=\"onvalueChanged(item)\"\n [attr.id]=\"axId + '-label-' + item[valueField]\"\n >\n {{ item[textField] }}\n <input\n type=\"radio\"\n (change)=\"onCheckValueChange(item[valueField], true)\"\n [value]=\"item[valueField]\"\n [checked]=\"selectedValues == item[valueField]\"\u062F\n [name]=\"uid\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [attr.id]=\"axId + '-radio-' + item[valueField]\"\n />\n <span class=\"checkmark\"></span>\n </label>\n </div>\n</ng-template>\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "useTreeView", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
87
87
  }
88
88
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSelectionListComponent, decorators: [{
89
89
  type: Component,
90
- args: [{ selector: 'ax-selection-list', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container\n *ngIf=\"mode == 'multiple'; then checkboxList; else radioButtonList\"\n></ng-container>\n<ng-template #checkboxList>\n <div\n class=\"ax selection-list {{ size }}\"\n style=\"flex-wrap: wrap; gap: 4px\"\n [ngClass]=\"direction\"\n >\n <ax-check-box\n label=\"{{ item[textField] }}\"\n *ngFor=\"let item of items\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [value]=\"selectedValues.indexOf(item[valueField]) > -1\"\n (onValueChanged)=\"onCheckValueChange(item, $event.value)\"\n (onClick)=\"checkBoxClick($event, item)\"\n >\n </ax-check-box>\n </div>\n</ng-template>\n<ng-template #radioButtonList>\n <div\n style=\"flex-wrap: wrap; gap: 4px\"\n class=\"ax selection-list {{ size }}\"\n [ngClass]=\"direction\"\n >\n <label\n class=\"ax radio\"\n for=\"{{ uid }}\"\n [class.disabled]=\"disabled\"\n [class.readonly]=\"readonly\"\n *ngFor=\"let item of items\"\n (click)=\"onvalueChanged(item)\"\n >\n {{ item[textField] }}\n <input\n type=\"radio\"\n (change)=\"onCheckValueChange(item[valueField], true)\"\n [value]=\"item[valueField]\"\n [checked]=\"selectedValues == item[valueField]\"\n [name]=\"uid\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n />\n <span class=\"checkmark\"></span>\n </label>\n </div>\n</ng-template>\n" }]
90
+ args: [{ selector: 'ax-selection-list', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container\n *ngIf=\"mode == 'multiple'; then checkboxList; else radioButtonList\"\n></ng-container>\n\n<ng-template #checkboxList>\n <div\n class=\"ax selection-list {{ size }}\"\n style=\"flex-wrap: wrap; gap: 4px\"\n [ngClass]=\"direction\"\n [attr.id]=\"axId\"\n [ngClass]=\"axClass\"\n >\n <ax-check-box\n label=\"{{ item[textField] }}\"\n *ngFor=\"let item of items\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [value]=\"selectedValues.indexOf(item[valueField]) > -1\"\n (onValueChanged)=\"onCheckValueChange(item, $event.value)\"\n (onClick)=\"checkBoxClick($event, item)\"\n [attr.id]=\"axId + '-checkbox-' + item[valueField]\"\n >\n </ax-check-box>\n </div>\n</ng-template>\n\n<ng-template #radioButtonList>\n <div\n style=\"flex-wrap: wrap; gap: 4px\"\n class=\"ax selection-list {{ size }}\"\n [ngClass]=\"direction\"\n [attr.id]=\"axId\"\n [ngClass]=\"axClass\"\n >\n <label\n class=\"ax radio\"\n for=\"{{ uid }}\"\n [class.disabled]=\"disabled\"\n [class.readonly]=\"readonly\"\n *ngFor=\"let item of items\"\n (click)=\"onvalueChanged(item)\"\n [attr.id]=\"axId + '-label-' + item[valueField]\"\n >\n {{ item[textField] }}\n <input\n type=\"radio\"\n (change)=\"onCheckValueChange(item[valueField], true)\"\n [value]=\"item[valueField]\"\n [checked]=\"selectedValues == item[valueField]\"\u062F\n [name]=\"uid\"\n [disabled]=\"item.disable || disabled\"\n [readonly]=\"item.readonly || readonly\"\n [attr.id]=\"axId + '-radio-' + item[valueField]\"\n />\n <span class=\"checkmark\"></span>\n </label>\n </div>\n</ng-template>\n" }]
91
91
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { readonly: [{
92
92
  type: Input
93
93
  }], value: [{
@@ -117,4 +117,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
117
117
  }], selectedValues: [{
118
118
  type: Input
119
119
  }] } });
120
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvc2VsZWN0aW9uLWxpc3Qvc2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvc2VsZWN0aW9uLWxpc3Qvc2VsZWN0aW9uLWxpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBSUwsc0JBQXNCLEdBQ3ZCLE1BQU0sdUJBQXVCLENBQUM7Ozs7QUFRL0IsTUFBTSxPQUFPLHdCQUNYLFNBQVEsc0JBQXNCO0lBMEVWO0lBdkVaLGNBQWMsR0FBVSxFQUFFLENBQUM7SUFHbkMsUUFBUSxDQUFVO0lBR2xCLEtBQUssQ0FBVTtJQUdmLFFBQVEsQ0FBVTtJQUdsQixJQUFJLEdBQWtCLElBQUksQ0FBQztJQUczQixTQUFTLEdBQVcsWUFBWSxDQUFDO0lBR2pDLEtBQUssR0FBMkIs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F1cIlxuICAgICAgLz5cbiAgICAgIDxzcGFuIGNsYXNzPVwiY2hlY2ttYXJrXCI+PC9zcGFuPlxuICAgIDwvbGFiZWw+XG4gIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -1,7 +1,8 @@
1
- import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ViewEncapsulation, Output, Input, EventEmitter } from '@angular/core';
2
- import { AXBaseComponent } from '../base/element.class';
1
+ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ViewEncapsulation, Output, Input, EventEmitter, } from '@angular/core';
2
+ import { AXBaseComponent, } from '../base/element.class';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/forms";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
5
6
  export class AXSwitchComponent extends AXBaseComponent {
6
7
  cdr;
7
8
  onValueChanged = new EventEmitter();
@@ -19,7 +20,7 @@ export class AXSwitchComponent extends AXBaseComponent {
19
20
  this.onValueChanged.emit({
20
21
  component: this,
21
22
  oldValue,
22
- value: v
23
+ value: v,
23
24
  });
24
25
  }
25
26
  }
@@ -32,11 +33,11 @@ export class AXSwitchComponent extends AXBaseComponent {
32
33
  }
33
34
  focus() { }
34
35
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSwitchComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
35
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXSwitchComponent, selector: "ax-switch", inputs: { tabIndex: "tabIndex", value: "value", readonly: "readonly", disabled: "disabled", size: "size" }, outputs: { onValueChanged: "onValueChanged", valueChange: "valueChange" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax ax-switch\" >\n <input type=\"checkbox\" [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" [attr.tabindex]=\"tabIndex\">\n <span class=\"slider round\"></span>\n</label>", styles: [".ax.ax-switch{position:relative;display:inline-block;width:46px;height:25px;margin:5px}.ax.ax-switch>input{opacity:0;width:0;height:0}.ax.ax-switch>input:checked+.slider{background-color:var(--ax-primary-color)}.ax.ax-switch>input:checked+.slider:before{-webkit-transform:translateX(21px);-ms-transform:translateX(21px);transform:translate(21px)}.ax.ax-switch:focus-within .slider{outline:1px solid var(--ax-primary-color)}.ax.ax-switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider:before{content:\"\";position:absolute;height:21px;width:21px;left:2px;bottom:2px;background-color:#fff;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider.round{border-radius:25px}.ax.ax-switch .slider.round:before{border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXSwitchComponent, selector: "ax-switch", inputs: { tabIndex: "tabIndex", value: "value", readonly: "readonly", disabled: "disabled", size: "size" }, outputs: { onValueChanged: "onValueChanged", valueChange: "valueChange" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax ax-switch\" [attr.id]=\"axId\" [ngClass]=\"axClass\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" [attr.tabindex]=\"tabIndex\">\n <span class=\"slider round\"></span>\n</label>\n", styles: [".ax.ax-switch{position:relative;display:inline-block;width:46px;height:25px;margin:5px}.ax.ax-switch>input{opacity:0;width:0;height:0}.ax.ax-switch>input:checked+.slider{background-color:var(--ax-primary-color)}.ax.ax-switch>input:checked+.slider:before{-webkit-transform:translateX(21px);-ms-transform:translateX(21px);transform:translate(21px)}.ax.ax-switch:focus-within .slider{outline:1px solid var(--ax-primary-color)}.ax.ax-switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider:before{content:\"\";position:absolute;height:21px;width:21px;left:2px;bottom:2px;background-color:#fff;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider.round{border-radius:25px}.ax.ax-switch .slider.round:before{border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
36
37
  }
37
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSwitchComponent, decorators: [{
38
39
  type: Component,
39
- args: [{ selector: 'ax-switch', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax ax-switch\" >\n <input type=\"checkbox\" [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" [attr.tabindex]=\"tabIndex\">\n <span class=\"slider round\"></span>\n</label>", styles: [".ax.ax-switch{position:relative;display:inline-block;width:46px;height:25px;margin:5px}.ax.ax-switch>input{opacity:0;width:0;height:0}.ax.ax-switch>input:checked+.slider{background-color:var(--ax-primary-color)}.ax.ax-switch>input:checked+.slider:before{-webkit-transform:translateX(21px);-ms-transform:translateX(21px);transform:translate(21px)}.ax.ax-switch:focus-within .slider{outline:1px solid var(--ax-primary-color)}.ax.ax-switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider:before{content:\"\";position:absolute;height:21px;width:21px;left:2px;bottom:2px;background-color:#fff;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider.round{border-radius:25px}.ax.ax-switch .slider.round:before{border-radius:50%}\n"] }]
40
+ args: [{ selector: 'ax-switch', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax ax-switch\" [attr.id]=\"axId\" [ngClass]=\"axClass\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [ngModelOptions]=\"{standalone: true}\" [attr.tabindex]=\"tabIndex\">\n <span class=\"slider round\"></span>\n</label>\n", styles: [".ax.ax-switch{position:relative;display:inline-block;width:46px;height:25px;margin:5px}.ax.ax-switch>input{opacity:0;width:0;height:0}.ax.ax-switch>input:checked+.slider{background-color:var(--ax-primary-color)}.ax.ax-switch>input:checked+.slider:before{-webkit-transform:translateX(21px);-ms-transform:translateX(21px);transform:translate(21px)}.ax.ax-switch:focus-within .slider{outline:1px solid var(--ax-primary-color)}.ax.ax-switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider:before{content:\"\";position:absolute;height:21px;width:21px;left:2px;bottom:2px;background-color:#fff;-webkit-transition:.2s;transition:.2s}.ax.ax-switch .slider.round{border-radius:25px}.ax.ax-switch .slider.round:before{border-radius:50%}\n"] }]
40
41
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { onValueChanged: [{
41
42
  type: Output
42
43
  }], valueChange: [{
@@ -52,4 +53,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.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tab[TAB_META_KEY].uid;
34
34
  const host = componentRef.instance;
35
35
  host.tab = tab;
36
+ componentRef.instance.axId = tab.axId;
37
+ componentRef.instance.axClass = tab.axClass;
36
38
  this.childs.push(componentRef);
37
39
  setTimeout(() => {
38
40
  componentRef.changeDetectorRef.detectChanges();
@@ -72,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
72
74
  type: ViewChild,
73
75
  args: ['container', { read: ViewContainerRef }]
74
76
  }] } });
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2UtUmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXBhZ2UvdGFiLXBhZ2UtUmVuZGVyZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLGdCQUFnQixFQUFFLHdCQUF3QixFQUFnQixpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUM7QUFDM0osT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDOzs7QUFTbkUsTUFBTSxPQUFPLDBCQUEwQjtJQVN2QjtJQUNBO0lBQ0E7SUFUWixNQUFNLEdBQTJDLEVBQUUsQ0FBQztJQUVBLFNBQVMsQ0FBbUI7SUFFeEUsYUFBYSxHQUFtQixFQUFFLENBQUM7SUFFM0MsWUFDWSxRQUFrQyxFQUNsQyxVQUE0QixFQUM1QixHQUFzQjtRQUZ0QixhQ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G4gICAgICAgICAgICB0aGlzLmNoaWxkcy5mb3JFYWNoKCh2OiBDb21wb25lbnRSZWY8QVhUYWJQYWdlSG9zdENvbXBvbmVudD4pID0+IHtcbiAgICAgICAgICAgICAgICB2LmNoYW5nZURldGVjdG9yUmVmLmRldGFjaCgpO1xuICAgICAgICAgICAgICAgIHYubG9jYXRpb24ubmF0aXZlRWxlbWVudC5oaWRkZW4gPSB0cnVlO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBjb25zdCB2ID0gdGhpcy5jaGlsZHMuZmluZCh0ID0+ICh0IGFzIGFueSkudWlkID09PSB0YWJbVEFCX01FVEFfS0VZXS51aWQpIGFzIENvbXBvbmVudFJlZjxBWFRhYlBhZ2VIb3N0Q29tcG9uZW50PjtcbiAgICAgICAgICAgIGlmICh2KSB7XG4gICAgICAgICAgICAgICAgdi5sb2NhdGlvbi5uYXRpdmVFbGVtZW50LmhpZGRlbiA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIHYuY2hhbmdlRGV0ZWN0b3JSZWYucmVhdHRhY2goKTtcbiAgICAgICAgICAgICAgICB2Lmluc3RhbmNlLmFjdGl2ZSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZmFjdG9yeSA9IHRoaXMucmVzb2x2ZXIucmVzb2x2ZUNvbXBvbmVudEZhY3RvcnkoQVhUYWJQYWdlSG9zdENvbXBvbmVudCk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNvbXBvbmVudFJlZiA9IHRoaXMuY29udGFpbmVyLmNyZWF0ZUNvbXBvbmVudChmYWN0b3J5KTtcbiAgICAgICAgICAgICAgICAgICAgKGNvbXBvbmVudFJlZiBhcyBhbnkpLnVpZCA9IHRhYltUQUJfTUVUQV9LRVldLnVpZDtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgaG9zdCA9IGNvbXBvbmVudFJlZi5pbnN0YW5jZSBhcyBBWFRhYlBhZ2VIb3N0Q29tcG9uZW50O1xuICAgICAgICAgICAgICAgICAgICBob3N0LnRhYiA9IHRhYjtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jaGlsZHMucHVzaChjb21wb25lbnRSZWYpO1xuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBvbmVudFJlZi5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAvL2hvc3QuYWN0aXZlKCk7XG4gICAgICAgICAgICAgICAgICAgIH0sIDEwKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKGVycm9yKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pKTtcblxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaCh0YWJTZXJ2aWNlLmNsb3NlZC5zdWJzY3JpYmUodGFiID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGhvc3RyZWYgPSB0aGlzLmNoaWxkcy5maW5kKGMgPT4gKGMgYXMgYW55KS51aWQgPT09IHRhYltUQUJfTUVUQV9LRVldLnVpZCk7XG4gICAgICAgICAgICBpZiAoaG9zdHJlZikge1xuICAgICAgICAgICAgICAgIGhvc3RyZWYuZGVzdHJveSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5jaGlsZHMgPSB0aGlzLmNoaWxkcy5maWx0ZXIoYyA9PiAoYyBhcyBhbnkpLnVpZCAhPT0gdGFiW1RBQl9NRVRBX0tFWV0udWlkKTtcbiAgICAgICAgfSkpO1xuICAgIH1cblxuICAgIG5nT25EZXN0cm95KCkge1xuICAgICAgICB0aGlzLnRhYlNlcnZpY2UuY2xlYXIoKTtcbiAg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mZvckVhY2goKHY6IENvbXBvbmVudFJlZjxBWFRhYlBhZ2VIb3N0Q29tcG9uZW50PikgPT4ge1xuICAgICAgICAgICAgICAgIHYuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0YWNoKCk7XG4gICAgICAgICAgICAgICAgdi5sb2NhdGlvbi5uYXRpdmVFbGVtZW50LmhpZGRlbiA9IHRydWU7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIGNvbnN0IHYgPSB0aGlzLmNoaWxkcy5maW5kKHQgPT4gKHQgYXMgYW55KS51aWQgPT09IHRhYltUQUJfTUVUQV9LRVldLnVpZCkgYXMgQ29tcG9uZW50UmVmPEFYVGFiUGFnZUhvc3RDb21wb25lbnQ+O1xuICAgICAgICAgICAgaWYgKHYpIHtcbiAgICAgICAgICAgICAgICB2LmxvY2F0aW9uLm5hdGl2ZUVsZW1lbnQuaGlkZGVuID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgdi5jaGFuZ2VEZXRlY3RvclJlZi5yZWF0dGFjaCgpO1xuICAgICAgICAgICAgICAgIHYuaW5zdGFuY2UuYWN0aXZlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBmYWN0b3J5ID0gdGhpcy5yZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeShBWFRhYlBhZ2VIb3N0Q29tcG9uZW50KTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY29tcG9uZW50UmVmID0gdGhpcy5jb250YWluZXIuY3JlYXRlQ29tcG9uZW50KGZhY3RvcnkpO1xuICAgICAgICAgICAgICAgICAgICAoY29tcG9uZW50UmVmIGFzIGFueSkudWlkID0gdGFiW1RBQl9NRVRBX0tFWV0udWlkO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBob3N0ID0gY29tcG9uZW50UmVmLmluc3RhbmNlIGFzIEFYVGFiUGFnZUhvc3RDb21wb25lbnQ7XG4gICAgICAgICAgICAgICAgICAgIGhvc3QudGFiID0gdGFiO1xuICAgICAgICAgICAgICAgICAgICAoY29tcG9uZW50UmVmLmluc3RhbmNlIGFzIGFueSkuYXhJZCA9IHRhYi5heElkO1xuICAgICAgICAgICAgICAgICAgICAoY29tcG9uZW50UmVmLmluc3RhbmNlIGFzIGFueSkuYXhDbGFzcyA9IHRhYi5heENsYXNzO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmNoaWxkcy5wdXNoKGNvbXBvbmVudFJlZik7XG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29tcG9uZW50UmVmLmNoYW5nZURldGVjdG9yUmVmLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vaG9zdC5hY3RpdmUoKTtcbiAgICAgICAgICAgICAgICAgICAgfSwgMTApO1xuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoZXJyb3IpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSkpO1xuXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5wdXNoKHRhYlNlcnZpY2UuY2xvc2VkLnN1YnNjcmliZSh0YWIgPT4ge1xuICAgICAgICAgICAgY29uc3QgaG9zdHJlZiA9IHRoaXMuY2hpbGRzLmZpbmQoYyA9PiAoYyBhcyBhbnkpLnVpZCA9PT0gdGFiW1RBQl9NRVRBX0tFWV0udWlkKTtcbiAgICAgICAgICAgIGlmIChob3N0cmVmKSB7XG4gICAgICAgICAgICAgICAgaG9zdHJlZi5kZXN0cm95KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmNoaWxkcyA9IHRoaXMuY2hpbGRzLmZpbHRlcihjID0+IChjIGFzIGFueSkudWlkICE9PSB0YWJbVEFCX01FVEFfS0VZXS51aWQpO1xuICAgICAgICB9KSk7XG4gICAgfVxuXG4gICAgbmdPbkRlc3Ryb3koKSB7XG4gICAgICAgIHRoaXMudGFiU2VydmljZS5jbGVhcigpO1xuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMuZm9yRWFjaChzID0+IHtcbiAgICAgICAgICAgIHMudW5zdWJzY3JpYmUoKTtcbiAgICAgICAgfSk7XG4gICAgfVxufSJdfQ==
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
7
7
  import * as i1 from "@acorex/core";
8
8
  import * as i2 from "./tab-page.service";
9
9
  import * as i3 from "../loading/loading.service";
10
+ import * as i4 from "@angular/common";
10
11
  export class AXTabPageHostComponent {
11
12
  ref;
12
13
  rendererService;
@@ -94,22 +95,22 @@ export class AXTabPageHostComponent {
94
95
  }
95
96
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabPageHostComponent, deps: [{ token: i0.ElementRef }, { token: i1.AXRenderService }, { token: i2.AXTabPageService }, { token: i3.AXLoadingService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
96
97
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabPageHostComponent, selector: "ax-tab-page-host", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
97
- <div class='ax-loading-host'>
98
- <div class='ax-tab-page-host' >
98
+ <div class='ax-loading-host'>
99
+ <div class='ax-tab-page-host' [ngClass]="tab.axClass" [attr.id]="tab.axId">
99
100
  <div [hidden]="isLoading" style="height:100%" class='ax-tab-page-host-container'>
100
101
  <ng-template #container></ng-template>
101
102
  </div>
102
103
  </div>
103
104
  </div>
104
- `, isInline: true });
105
+ `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
105
106
  }
106
107
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabPageHostComponent, decorators: [{
107
108
  type: Component,
108
109
  args: [{
109
110
  selector: 'ax-tab-page-host',
110
111
  template: `
111
- <div class='ax-loading-host'>
112
- <div class='ax-tab-page-host' >
112
+ <div class='ax-loading-host'>
113
+ <div class='ax-tab-page-host' [ngClass]="tab.axClass" [attr.id]="tab.axId">
113
114
  <div [hidden]="isLoading" style="height:100%" class='ax-tab-page-host-container'>
114
115
  <ng-template #container></ng-template>
115
116
  </div>
@@ -121,4 +122,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
121
122
  type: ViewChild,
122
123
  args: ['container', { read: ViewContainerRef, static: true }]
123
124
  }] } });
124
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2UtaG9zdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90YWItcGFnZS90YWItcGFnZS1ob3N0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxVQUFVLEVBQWdCLGlCQUFpQixFQUEyQixNQUFNLGVBQWUsQ0FBQztBQUNySixPQUFPLEVBQWEsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQy9DLE9BQU8sRUFBeUMsWUFBWSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7O0FBZ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ZycpIHtcbiAgICAgICAgICAgIGNvbnN0IHJvdXRlID0gYXdhaXQgdGhpcy5yZW5kZXJlclNlcnZpY2UuZmluZExvYWRlZENvbXBvbmVudEJ5Um91dGUodGhpcy50YWIuY29udGVudCwgMjApO1xuICAgICAgICAgICAgY29tcG9uZW50ID0gcm91dGU/LmNvbXBvbmVudDtcbiAgICAgICAgICAgIGRhdGEgPSBPYmplY3QuYXNzaWduKGRhdGEsIHJvdXRlLmRhdGEpO1xuICAgICAgICB9XG4gICAgICAgIGVsc2UgaWYgKHR5cGVvZiB0aGlzLnRhYi5jb250ZW50ID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICBjb21wb25lbnQgPSB0aGlzLnRhYi5jb250ZW50O1xuICAgICAgICB9XG4gICAgICAgIGlmIChjb21wb25lbnQgPT0gbnVsbCkge1xuICAgICAgICAgICAgLy8gVE9ETzogNDA0IHBhZ2UgY29tcG9uZW50XG4gICAgICAgICAgICB0aGlzLmlzTG9hZGluZyA9IGZhbHNlO1xuICAgICAgICAgICAgY29uc29sZS5lcnJvcihgSW52YWxpZCBwYWdlIENvbXBvbmVudCEgJHt0aGlzLnRhYi5jb250ZW50fWApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIC8vXG4gICAgICAgIGRhdGEgPSBPYmplY3QuYXNzaWduKGRhdGEsIHRoaXMudGFiLmRhdGEpO1xuICAgICAgICAvL1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgdGhpcy5jb21wb25lbnRSZWYgPSB0aGlzLmNvbnRhaW5lci5jcmVhdGVDb21wb25lbnQoY29tcG9uZW50KTtcbiAgICAgICAgICAgIGlmICghdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2Uub25DbG9zZWQpIHtcbiAgICAgICAgICAgICAgICB0aHJvdyBFcnJvcignVGhlIENvbXBvbmVudCBtdXN0IGJlIGluaGVyaXRlZCBmcm9tIEFYQmFzZVBhZ2VDb21wb25lbnQhJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5pbnN0YW5jZS5vbkNsb3NlZC5zdWJzY3JpYmUoKGU6IEFYUGFnZUNsb3NlRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnRhYlNlcnZpY2UuY2xvc2UodGhpcy50YWIpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAvL1xuICAgICAgICAgICAgY29uc3QgY29tID0gdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UgYXMgYW55O1xuICAgICAgICAgICAgLy9cbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24oY29tLCBkYXRhKTtcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICB0aGlzLnRhYltUQUJfTUVUQV9LRVldLmNvbXBvbmVudCA9IGNvbTtcbiAgICAgICAgICAgIHRoaXMuaXNMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgICB0aGlzLmxvYWRpbmdTZXJ2aWNlLmhpZGUodGhpcy5fbG9hZGluZ0lkKTtcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmLmNoYW5nZURldGVjdG9yUmVmLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgICAgICAgIC8vIFRPRE86IDQwNCBwYWdlIGNvbXBvbmVudFxuICAgICAgICAgICAgY29uc29sZS5lcnJvcihlcnJvcik7XG4gICAgICAgIH0gZmluYWxseSB7XG4gICAgICAgICAgICAvL3RoaXMuaXNMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBuZ09uRGVzdHJveSgpIHtcbiAgICAgICAgaWYgKHRoaXMuY29tcG9uZW50UmVmKSB7XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5ob3N0Vmlldy5kZXN0cm95KCk7XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5kZXN0cm95K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A9IE9iamVjdC5hc3NpZ24oZGF0YSwgcm91dGUuZGF0YSk7XG4gICAgICAgIH1cbiAgICAgICAgZWxzZSBpZiAodHlwZW9mIHRoaXMudGFiLmNvbnRlbnQgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgIGNvbXBvbmVudCA9IHRoaXMudGFiLmNvbnRlbnQ7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGNvbXBvbmVudCA9PSBudWxsKSB7XG4gICAgICAgICAgICAvLyBUT0RPOiA0MDQgcGFnZSBjb21wb25lbnRcbiAgICAgICAgICAgIHRoaXMuaXNMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKGBJbnZhbGlkIHBhZ2UgQ29tcG9uZW50ISAke3RoaXMudGFiLmNvbnRlbnR9YCk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgICAgLy9cbiAgICAgICAgZGF0YSA9IE9iamVjdC5hc3NpZ24oZGF0YSwgdGhpcy50YWIuZGF0YSk7XG4gICAgICAgIC8vXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZiA9IHRoaXMuY29udGFpbmVyLmNyZWF0ZUNvbXBvbmVudChjb21wb25lbnQpO1xuICAgICAgICAgICAgaWYgKCF0aGlzLmNvbXBvbmVudFJlZi5pbnN0YW5jZS5vbkNsb3NlZCkge1xuICAgICAgICAgICAgICAgIHRocm93IEVycm9yKCdUaGUgQ29tcG9uZW50IG11c3QgYmUgaW5oZXJpdGVkIGZyb20gQVhCYXNlUGFnZUNvbXBvbmVudCEnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmLmluc3RhbmNlLm9uQ2xvc2VkLnN1YnNjcmliZSgoZTogQVhQYWdlQ2xvc2VFdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudGFiU2VydmljZS5jbG9zZSh0aGlzLnRhYik7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICBjb25zdCBjb20gPSB0aGlzLmNvbXBvbmVudFJlZi5pbnN0YW5jZSBhcyBhbnk7XG4gICAgICAgICAgICAvL1xuICAgICAgICAgICAgT2JqZWN0LmFzc2lnbihjb20sIGRhdGEpO1xuICAgICAgICAgICAgLy9cbiAgICAgICAgICAgIHRoaXMudGFiW1RBQl9NRVRBX0tFWV0uY29tcG9uZW50ID0gY29tO1xuICAgICAgICAgICAgdGhpcy5pc0xvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgIHRoaXMubG9hZGluZ1NlcnZpY2UuaGlkZSh0aGlzLl9sb2FkaW5nSWQpO1xuICAgICAgICAgICAgdGhpcy5jb21wb25lbnRSZWYuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0ZWN0Q2hhbmdlcygpO1xuICAgICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICAgICAgLy8gVE9ETzogNDA0IHBhZ2UgY29tcG9uZW50XG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKGVycm9yKTtcbiAgICAgICAgfSBmaW5hbGx5IHtcbiAgICAgICAgICAgIC8vdGhpcy5pc0xvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIG5nT25EZXN0cm95KCkge1xuICAgICAgICBpZiAodGhpcy5jb21wb25lbnRSZWYpIHtcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmLmhvc3RWaWV3LmRlc3Ryb3koKTtcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmLmRlc3Ryb3koKTtcbiAgICAgICAgICAgIHRoaXMuY29udGFpbmVyLmNsZWFyKCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5sb2FkaW5nU2VydmljZS5oaWRlKHRoaXMuX2xvYWRpbmdJZCk7XG4gICAgfVxufSJdfQ==
@@ -11,7 +11,7 @@ export class AXTabPageService {
11
11
  closed = new Subject();
12
12
  changed = new Subject();
13
13
  constructor() { }
14
- open(arg1, arg2, arg3) {
14
+ open(arg1, arg2, arg3, axId, axClass) {
15
15
  let newTab;
16
16
  if (typeof arg1 === 'object') {
17
17
  const options = Object.assign({ closable: true }, arg1);
@@ -20,7 +20,9 @@ export class AXTabPageService {
20
20
  closable: options.closable,
21
21
  content: options.content,
22
22
  data: options.data,
23
- pinned: options.pinned
23
+ pinned: options.pinned,
24
+ axId: axId,
25
+ axClass: axClass
24
26
  };
25
27
  }
26
28
  else {
@@ -29,6 +31,8 @@ export class AXTabPageService {
29
31
  closable: true,
30
32
  content: arg1,
31
33
  data: arg3,
34
+ axId: axId,
35
+ axClass: axClass
32
36
  };
33
37
  }
34
38
  newTab[TAB_META_KEY] = {};
@@ -156,4 +160,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
156
160
  type: Injectable,
157
161
  args: [{ providedIn: 'root' }]
158
162
  }], ctorParameters: () => [] });
159
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3RhYi1wYWdlL3RhYi1wYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDMUMsT0FBTyxFQUErQixZQUFZLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RyxPQUFPLEtBQUssQ0FBQyxNQUFNLFFBQ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JldHVybiBudWxsO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -13,6 +13,8 @@ export class AXTabStripComponent {
13
13
  ngOnInit() { }
14
14
  items = [];
15
15
  onTabChanged = new EventEmitter();
16
+ axId;
17
+ axClass;
16
18
  handleClick(i) {
17
19
  if (!i.disable) {
18
20
  this.items.forEach((c) => (c.active = false));
@@ -25,14 +27,18 @@ export class AXTabStripComponent {
25
27
  }
26
28
  }
27
29
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
28
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { items: "items" }, outputs: { onTabChanged: "onTabChanged" }, ngImport: i0, template: "<ul class=\"tab-strip-container\">\n <ng-container *ngFor=\"let item of items\">\n <li *ngIf=\"!!item.visible || item.visible == undefined\" [class.active]=\"item.active\"\n [class.disabled]=\"item.disable\" (click)=\"handleClick(item)\">{{item.text}}</li>\n </ng-container>\n</ul>", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { items: "items", axId: "axId", axClass: "axClass" }, outputs: { onTabChanged: "onTabChanged" }, ngImport: i0, template: "<ul \n class=\"tab-strip-container {{ axClass ? axClass : '' }}\" \n [attr.id]=\"axId ? axId : null\"\n>\n <ng-container *ngFor=\"let item of items\">\n <li \n *ngIf=\"!!item.visible || item.visible == undefined\" \n [class.active]=\"item.active\"\n [class.disabled]=\"item.disable\" \n (click)=\"handleClick(item)\"\n [attr.id]=\"item.id ? axId + '-' + item.id : null\"\n [class]=\"item.customClass ? item.customClass : ''\"\n >\n {{ item.text }}\n </li>\n </ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
29
31
  }
30
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabStripComponent, decorators: [{
31
33
  type: Component,
32
- args: [{ selector: 'ax-tab-strip', template: "<ul class=\"tab-strip-container\">\n <ng-container *ngFor=\"let item of items\">\n <li *ngIf=\"!!item.visible || item.visible == undefined\" [class.active]=\"item.active\"\n [class.disabled]=\"item.disable\" (click)=\"handleClick(item)\">{{item.text}}</li>\n </ng-container>\n</ul>" }]
34
+ args: [{ selector: 'ax-tab-strip', template: "<ul \n class=\"tab-strip-container {{ axClass ? axClass : '' }}\" \n [attr.id]=\"axId ? axId : null\"\n>\n <ng-container *ngFor=\"let item of items\">\n <li \n *ngIf=\"!!item.visible || item.visible == undefined\" \n [class.active]=\"item.active\"\n [class.disabled]=\"item.disable\" \n (click)=\"handleClick(item)\"\n [attr.id]=\"item.id ? axId + '-' + item.id : null\"\n [class]=\"item.customClass ? item.customClass : ''\"\n >\n {{ item.text }}\n </li>\n </ng-container>\n</ul>\n" }]
33
35
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { items: [{
34
36
  type: Input
35
37
  }], onTabChanged: [{
36
38
  type: Output
39
+ }], axId: [{
40
+ type: Input
41
+ }], axClass: [{
42
+ type: Input
37
43
  }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXN0cmlwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy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c2VsZWR0ZWRUYWI6IGksXG4gICAgICAgIGh0bWxFbGVtZW50OiB0aGlzLnJlZi5uYXRpdmVFbGVtZW50XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiIsIjx1bCBcbiAgY2xhc3M9XCJ0YWItc3RyaXAtY29udGFpbmVyIHt7IGF4Q2xhc3MgPyBheENsYXNzIDogJycgfX1cIiBcbiAgW2F0dHIuaWRdPVwiYXhJZCA/IGF4SWQgOiBudWxsXCJcbj5cbiAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBpdGVtIG9mIGl0ZW1zXCI+XG4gICAgICAgIDxsaSBcbiAgICAgICAgICAqbmdJZj1cIiEhaXRlbS52aXNpYmxlIHx8IGl0ZW0udmlzaWJsZSA9PSB1bmRlZmluZWRcIiBcbiAgICAgICAgICBbY2xhc3MuYWN0aXZlXT1cIml0ZW0uYWN0aXZlXCJcbiAgICAgICAgICBbY2xhc3MuZGlzYWJsZWRdPVwiaXRlbS5kaXNhYmxlXCIgXG4gICAgICAgICAgKGNsaWNrKT1cImhhbmRsZUNsaWNrKGl0ZW0pXCJcbiAgICAgICAgICBbYXR0ci5pZF09XCJpdGVtLmlkID8gYXhJZCArICctJyArIGl0ZW0uaWQgOiBudWxsXCJcbiAgICAgICAgICBbY2xhc3NdPVwiaXRlbS5jdXN0b21DbGFzcyA/IGl0ZW0uY3VzdG9tQ2xhc3MgOiAnJ1wiXG4gICAgICAgID5cbiAgICAgICAgICB7eyBpdGVtLnRleHQgfX1cbiAgICAgICAgPC9saT5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvdWw+XG4iXX0=
@@ -2,7 +2,7 @@
2
2
  * The main component that renders single TabComponent
3
3
  * instances.
4
4
  */
5
- import { Component, ContentChildren, QueryList, ViewChild, ComponentFactoryResolver, ViewEncapsulation, Attribute, Output, EventEmitter, ElementRef } from '@angular/core';
5
+ import { Component, ContentChildren, QueryList, ViewChild, ComponentFactoryResolver, ViewEncapsulation, Attribute, Output, EventEmitter, ElementRef, Input } from '@angular/core';
6
6
  import { AXTabComponent } from './tab.component';
7
7
  import { DynamicTabsDirective } from './dynamic-tabs.directive';
8
8
  import * as i0 from "@angular/core";
@@ -22,6 +22,8 @@ export class AXTabViewComponent {
22
22
  as follows
23
23
  */
24
24
  // @ViewChild('container', {read: ViewContainerRef}) dynamicTabPlaceholder;
25
+ axId;
26
+ axClass;
25
27
  constructor(ref, _componentFactoryResolver, fullWidth = false) {
26
28
  this.ref = ref;
27
29
  this._componentFactoryResolver = _componentFactoryResolver;
@@ -90,11 +92,11 @@ export class AXTabViewComponent {
90
92
  }
91
93
  }
92
94
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: 'fullWidth', attribute: true }], target: i0.ɵɵFactoryTarget.Component });
93
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabViewComponent, selector: "ax-tab-view", outputs: { onActiveTab: "onActiveTab" }, queries: [{ propertyName: "tabs", predicate: AXTabComponent }], viewQueries: [{ propertyName: "dynamicTabPlaceholder", first: true, predicate: DynamicTabsDirective, descendants: true }], ngImport: i0, template: "<ul class=\"ax nav-tabs\">\n <li\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>{{ tab.caption }}</span>\n </li>\n <!-- dynamic tabs -->\n <li\n *ngFor=\"let tab of dynamicTabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>\n {{ tab.caption }}\n <i\n *ngIf=\"tab.isCloseable\"\n (click)=\"closeTab(tab)\"\n class=\"far fa-times\"\n >\n </i>\n </span>\n </li>\n</ul>\n<div class=\"ax-tab-container\">\n <ng-content></ng-content>\n<ng-template dynamic-tabs #container></ng-template>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DynamicTabsDirective, selector: "[dynamic-tabs]" }], encapsulation: i0.ViewEncapsulation.None });
95
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { axId: "axId", axClass: "axClass" }, outputs: { onActiveTab: "onActiveTab" }, queries: [{ propertyName: "tabs", predicate: AXTabComponent }], viewQueries: [{ propertyName: "dynamicTabPlaceholder", first: true, predicate: DynamicTabsDirective, descendants: true }], ngImport: i0, template: "<ul \n class=\"ax nav-tabs {{ axClass ? axClass : '' }}\" \n [attr.id]=\"axId ? axId : null\"\n>\n <li\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n [attr.id]=\"axId ? axId + '-tab-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + ' ' + (tab.active ? 'active' : '') : (tab.active ? 'active' : '')\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>{{ tab.caption }}</span>\n </li>\n <!-- dynamic tabs -->\n <li\n *ngFor=\"let tab of dynamicTabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n [attr.id]=\"axId ? axId + '-dynamic-tab-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + ' ' + (tab.active ? 'active' : '') : (tab.active ? 'active' : '')\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>\n {{ tab.caption }}\n <i\n *ngIf=\"tab.isCloseable\"\n (click)=\"closeTab(tab); $event.stopPropagation();\"\n class=\"far fa-times\"\n [attr.id]=\"axId ? axId + '-close-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + '-close' : ''\"\n >\n </i>\n </span>\n </li>\n</ul>\n<div \n class=\"ax-tab-container {{ axClass ? axClass + '-container' : '' }}\" \n [attr.id]=\"axId ? axId + '-container' : null\"\n>\n <ng-content></ng-content>\n <ng-template dynamic-tabs #container></ng-template>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DynamicTabsDirective, selector: "[dynamic-tabs]" }], encapsulation: i0.ViewEncapsulation.None });
94
96
  }
95
97
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabViewComponent, decorators: [{
96
98
  type: Component,
97
- args: [{ selector: 'ax-tab-view', encapsulation: ViewEncapsulation.None, template: "<ul class=\"ax nav-tabs\">\n <li\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>{{ tab.caption }}</span>\n </li>\n <!-- dynamic tabs -->\n <li\n *ngFor=\"let tab of dynamicTabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>\n {{ tab.caption }}\n <i\n *ngIf=\"tab.isCloseable\"\n (click)=\"closeTab(tab)\"\n class=\"far fa-times\"\n >\n </i>\n </span>\n </li>\n</ul>\n<div class=\"ax-tab-container\">\n <ng-content></ng-content>\n<ng-template dynamic-tabs #container></ng-template>\n</div>\n" }]
99
+ args: [{ selector: 'ax-tab-view', encapsulation: ViewEncapsulation.None, template: "<ul \n class=\"ax nav-tabs {{ axClass ? axClass : '' }}\" \n [attr.id]=\"axId ? axId : null\"\n>\n <li\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n [attr.id]=\"axId ? axId + '-tab-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + ' ' + (tab.active ? 'active' : '') : (tab.active ? 'active' : '')\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>{{ tab.caption }}</span>\n </li>\n <!-- dynamic tabs -->\n <li\n *ngFor=\"let tab of dynamicTabs\"\n (click)=\"selectTab(tab)\"\n [class.active]=\"tab.active\"\n [class.flex-sm-fill]=\"fullWidth\"\n [attr.id]=\"axId ? axId + '-dynamic-tab-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + ' ' + (tab.active ? 'active' : '') : (tab.active ? 'active' : '')\"\n >\n <i class=\"{{ tab.icon }}\"></i>\n <span>\n {{ tab.caption }}\n <i\n *ngIf=\"tab.isCloseable\"\n (click)=\"closeTab(tab); $event.stopPropagation();\"\n class=\"far fa-times\"\n [attr.id]=\"axId ? axId + '-close-' + tab.id : null\"\n [attr.class]=\"axClass ? axClass + '-close' : ''\"\n >\n </i>\n </span>\n </li>\n</ul>\n<div \n class=\"ax-tab-container {{ axClass ? axClass + '-container' : '' }}\" \n [attr.id]=\"axId ? axId + '-container' : null\"\n>\n <ng-content></ng-content>\n <ng-template dynamic-tabs #container></ng-template>\n</div>\n" }]
98
100
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: undefined, decorators: [{
99
101
  type: Attribute,
100
102
  args: ['fullWidth']
@@ -106,5 +108,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
106
108
  args: [DynamicTabsDirective]
107
109
  }], onActiveTab: [{
108
110
  type: Output
111
+ }], axId: [{
112
+ type: Input
113
+ }], axClass: [{
114
+ type: Input
109
115
  }] } });
110
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsT0FBTyxFQUNMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsU0FBUyxFQUVULFNBQVMsRUFDVCx3QkFBd0IsRUFDeEIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxNQUFNLEVBQ04sWUFBWSxFQUNaLFVBQVUsRUFDWCxNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDakQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7Ozs7QUFTaEUsTUFBTSxPQUFPLGtCQUFrQjtJQWlCbkI7SUFDQTtJQUN1QjtJQWxCakMsV0FBVyxHQUFxQixFQUFFLENBQUM7SUFFRixJQUFJLENBQTRCO0lBRWhDLHFCQUFxQixDQUF1QjtJQUc3RSxXQUFXLEdBQW1DLElBQUksWUFBWSxFQUFvQixDQUFDO0lBQ25GOzs7O01BSUU7SUFDRiwyRUFBMkU7SUFFM0UsWUFDVSxHQUFlLEVBQ2YseUJBQW1ELEVBQzVCLFlBQXFCLEtBQUs7UUFGakQsUUFBRyxHQUFILEdBQUcsQ0FBWTtRQUNmLDhCQUF5QixHQUF6Q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