@acorex/components 16.18.16 → 16.18.17
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/base/element.class.mjs +2 -8
- package/esm2022/lib/button/button.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +3 -9
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +1 -1
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/lib/context-menu/context-menu.component.mjs +3 -9
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +3 -9
- package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +1 -1
- package/esm2022/lib/data-list/list/list.component.mjs +3 -3
- package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/fieldset/fieldset.component.mjs +3 -10
- package/esm2022/lib/form-group/form-group.component.mjs +3 -3
- package/esm2022/lib/label/label.component.mjs +3 -4
- package/esm2022/lib/loading/loading-indicator.component.mjs +3 -9
- package/esm2022/lib/loading/loading-panel.component.mjs +3 -9
- package/esm2022/lib/menu/menu.component.mjs +3 -9
- package/esm2022/lib/number-box/number-box.component.mjs +3 -3
- package/esm2022/lib/panel-box/panel-box.component.mjs +3 -9
- package/esm2022/lib/password-box/password-box.component.mjs +3 -3
- package/esm2022/lib/popover/popover.component.mjs +3 -10
- package/esm2022/lib/popup/popup.component.mjs +7 -9
- package/esm2022/lib/popup/popup.service.mjs +2 -6
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/lib/search-bar/search-bar.component.mjs +3 -9
- package/esm2022/lib/searchbox/searchbox.component.mjs +3 -3
- package/esm2022/lib/selectbox/selectbox.component.mjs +3 -3
- package/esm2022/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2022/lib/switch/switch.component.mjs +7 -8
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +1 -3
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +6 -7
- package/esm2022/lib/tab-page/tab-page.service.mjs +3 -7
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +3 -9
- package/esm2022/lib/tab-view/tab-view.component.mjs +4 -10
- package/esm2022/lib/tab-view/tab.component.mjs +3 -9
- package/esm2022/lib/textarea/textarea.component.mjs +5 -9
- package/esm2022/lib/textbox/textbox.component.mjs +5 -9
- package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +3 -9
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +18 -27
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +3 -9
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +3 -9
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +8 -23
- package/esm2022/lib/toolbar/toolbar.component.mjs +5 -11
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +3 -3
- package/esm2022/lib/tree-view/tree-view.component.mjs +3 -3
- package/esm2022/lib/upload-file/upload-file.component.mjs +3 -3
- package/fesm2022/acorex-components.mjs +117 -269
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/lib/base/element.class.d.ts +1 -3
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +1 -3
- package/lib/context-menu/context-menu.component.d.ts +1 -3
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +1 -3
- package/lib/fieldset/fieldset.component.d.ts +1 -3
- package/lib/loading/loading-indicator.component.d.ts +1 -3
- package/lib/loading/loading-panel.component.d.ts +1 -3
- package/lib/menu/menu.component.d.ts +1 -3
- package/lib/panel-box/panel-box.component.d.ts +1 -3
- package/lib/popover/popover.component.d.ts +1 -3
- package/lib/popup/popup.service.d.ts +0 -2
- package/lib/search-bar/search-bar.component.d.ts +1 -3
- package/lib/tab-page/tab-page.service.d.ts +0 -2
- package/lib/tab-strip/tab-strip.component.d.ts +1 -3
- package/lib/tab-view/tab-view.component.d.ts +1 -3
- package/lib/tab-view/tab.component.d.ts +1 -3
- package/lib/toast/toast-message/toast-message.component.d.ts +1 -3
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +4 -6
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +1 -3
- package/lib/toolbar/search/toolbar-search.component.d.ts +1 -3
- package/lib/toolbar/title/toolbar-title.component.d.ts +2 -3
- package/lib/toolbar/toolbar.component.d.ts +1 -3
- 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
|
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 });
|
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
|
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" }]
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvc2VsZWN0aW9uLWxpc3Qvc2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvc2VsZWN0aW9uLWxpc3Qvc2VsZWN0aW9uLWxpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBSUwsc0JBQXNCLEdBQ3ZCLE1BQU0sdUJBQXVCLENBQUM7Ozs7QUFRL0IsTUFBTSxPQUFPLHdCQUNYLFNBQVEsc0JBQXNCO0lBMEVWO0lBdkVaLGNBQWMsR0FBVSxFQUFFLENBQUM7SUFHbkMsUUFBUSxDQUFVO0lBR2xCLEtBQUssQ0FBVTtJQUdmLFFBQVEsQ0FBVTtJQUdsQixJQUFJLEdBQWtCLElBQUksQ0FBQztJQUczQixTQUFTLEdBQVcsWUFBWSxDQUFDO0lBR2pDLEtBQUssR0FB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ZWFkb25seSB8fCByZWFkb25seVwiXG4gICAgICAvPlxuICAgICAgPHNwYW4gY2xhc3M9XCJjaGVja21hcmtcIj48L3NwYW4+XG4gICAgPC9sYWJlbD5cbiAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ViewEncapsulation, Output, Input, EventEmitter
|
2
|
-
import { AXBaseComponent
|
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/
|
5
|
-
import * as i2 from "@angular/forms";
|
4
|
+
import * as i1 from "@angular/forms";
|
6
5
|
export class AXSwitchComponent extends AXBaseComponent {
|
7
6
|
cdr;
|
8
7
|
onValueChanged = new EventEmitter();
|
@@ -20,7 +19,7 @@ export class AXSwitchComponent extends AXBaseComponent {
|
|
20
19
|
this.onValueChanged.emit({
|
21
20
|
component: this,
|
22
21
|
oldValue,
|
23
|
-
value: v
|
22
|
+
value: v
|
24
23
|
});
|
25
24
|
}
|
26
25
|
}
|
@@ -33,11 +32,11 @@ export class AXSwitchComponent extends AXBaseComponent {
|
|
33
32
|
}
|
34
33
|
focus() { }
|
35
34
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSwitchComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
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\"
|
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 });
|
37
36
|
}
|
38
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXSwitchComponent, decorators: [{
|
39
38
|
type: Component,
|
40
|
-
args: [{ selector: 'ax-switch', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax ax-switch\"
|
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"] }]
|
41
40
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { onValueChanged: [{
|
42
41
|
type: Output
|
43
42
|
}], valueChange: [{
|
@@ -53,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
53
52
|
}], size: [{
|
54
53
|
type: Input
|
55
54
|
}] } });
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4u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biAgICAgIGNvbnN0IG9sZFZhbHVlID0gdGhpcy5fdmFsdWU7XG4gICAgICB0aGlzLl92YWx1ZSA9IHY7XG4gICAgICB0aGlzLnZhbHVlQ2hhbmdlLmVtaXQodik7XG4gICAgICB0aGlzLm9uVmFsdWVDaGFuZ2VkLmVtaXQoe1xuICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgIG9sZFZhbHVlLFxuICAgICAgICB2YWx1ZTogdlxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cblxuICBASW5wdXQoKVxuICByZWFkb25seTogYm9vbGVhbjtcblxuICBASW5wdXQoKVxuICBkaXNhYmxlZDogYm9vbGVhbjtcblxuICBASW5wdXQoKVxuICBzaXplOiBBWEVsZW1lbnRTaXplID0gJ21kJztcblxuICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgY2RyOiBDaGFuZ2VEZXRlY3RvclJlZikge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBmb2N1cygpOiB2b2lkIHsgfVxufVxuIiwiPGxhYmVsIGNsYXNzPVwiYXggYXgtc3dpdGNoXCIgPlxuICAgIDxpbnB1dCB0eXBlPVwiY2hlY2tib3hcIiBbKG5nTW9kZWwpXT1cInZhbHVlXCIgIFtuZ01vZGVsT3B0aW9uc109XCJ7c3RhbmRhbG9uZTogdHJ1ZX1cIiBbYXR0ci50YWJpbmRleF09XCJ0YWJJbmRleFwiPlxuICAgIDxzcGFuIGNsYXNzPVwic2xpZGVyIHJvdW5kXCI+PC9zcGFuPlxuPC9sYWJlbD4iXX0=
|
@@ -33,8 +33,6 @@ export class AXTabPageRendererComponent {
|
|
33
33
|
componentRef.uid = 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;
|
38
36
|
this.childs.push(componentRef);
|
39
37
|
setTimeout(() => {
|
40
38
|
componentRef.changeDetectorRef.detectChanges();
|
@@ -74,4 +72,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
74
72
|
type: ViewChild,
|
75
73
|
args: ['container', { read: ViewContainerRef }]
|
76
74
|
}] } });
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2UtUmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXBhZ2UvdGFiLXBhZ2UtUmVuZGVyZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLGdCQUFnQixFQUFFLHdCQUF3QixFQUFnQixpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUM7QUFDM0osT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDOzs7QUFTbkUsTUFBTSxPQUFPLDBCQUEwQjtJQVN2QjtJQUNBO0lBQ0E7SUFUWixNQUFNLEdBQTJDLEVBQUUsQ0FBQztJQUVBLFNBQVMsQ0FBbUI7SUFFeEUsYUFBYSxHQUFtQixFQUFFLENBQUM7SUFFM0MsWUFDWSxRQUFrQyxFQUNsQyxVQUE0QixFQUM1QixHQUFzQjtRQUZ0QixhQUFRLEdBQVIsUUFBUSxDQUEwQjtRQUNsQyxlQUFVLEdBQVYsVUFBVSxDQUFrQjtRQUM1QixRQUFHLEdBQUgsR0FBRyxDQUFtQjtRQ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iAgICAgICAgICAgICAgICB2LmNoYW5nZURldGVjdG9yUmVmLmRldGFjaCgpO1xuICAgICAgICAgICAgICAgIHYubG9jYXRpb24ubmF0aXZlRWxlbWVudC5oaWRkZW4gPSB0cnVlO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBjb25zdCB2ID0gdGhpcy5jaGlsZHMuZmluZCh0ID0+ICh0IGFzIGFueSkudWlkID09PSB0YWJbVEFCX01FVEFfS0VZXS51aWQpIGFzIENvbXBvbmVudFJlZjxBWFRhYlBhZ2VIb3N0Q29tcG9uZW50PjtcbiAgICAgICAgICAgIGlmICh2KSB7XG4gICAgICAgICAgICAgICAgdi5sb2NhdGlvbi5uYXRpdmVFbGVtZW50LmhpZGRlbiA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIHYuY2hhbmdlRGV0ZWN0b3JSZWYucmVhdHRhY2goKTtcbiAgICAgICAgICAgICAgICB2Lmluc3RhbmNlLmFjdGl2ZSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZmFjdG9yeSA9IHRoaXMucmVzb2x2ZXIucmVzb2x2ZUNvbXBvbmVudEZhY3RvcnkoQVhUYWJQYWdlSG9zdENvbXBvbmVudCk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNvbXBvbmVudFJlZiA9IHRoaXMuY29udGFpbmVyLmNyZWF0ZUNvbXBvbmVudChmYWN0b3J5KTtcbiAgICAgICAgICAgICAgICAgICAgKGNvbXBvbmVudFJlZiBhcyBhbnkpLnVpZCA9IHRhYltUQUJfTUVUQV9LRVldLnVpZDtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgaG9zdCA9IGNvbXBvbmVudFJlZi5pbnN0YW5jZSBhcyBBWFRhYlBhZ2VIb3N0Q29tcG9uZW50O1xuICAgICAgICAgICAgICAgICAgICBob3N0LnRhYiA9IHRhYjtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jaGlsZHMucHVzaChjb21wb25lbnRSZWYpO1xuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBvbmVudFJlZi5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAvL2hvc3QuYWN0aXZlKCk7XG4gICAgICAgICAgICAgICAgICAgIH0sIDEwKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKGVycm9yKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pKTtcblxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaCh0YWJTZXJ2aWNlLmNsb3NlZC5zdWJzY3JpYmUodGFiID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGhvc3RyZWYgPSB0aGlzLmNoaWxkcy5maW5kKGMgPT4gKGMgYXMgYW55KS51aWQgPT09IHRhYltUQUJfTUVUQV9LRVldLnVpZCk7XG4gICAgICAgICAgICBpZiAoaG9zdHJlZikge1xuICAgICAgICAgICAgICAgIGhvc3RyZWYuZGVzdHJveSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5jaGlsZHMgPSB0aGlzLmNoaWxkcy5maWx0ZXIoYyA9PiAoYyBhcyBhbnkpLnVpZCAhPT0gdGFiW1RBQl9NRVRBX0tFWV0udWlkKTtcbiAgICAgICAgfSkpO1xuICAgIH1cblxuICAgIG5nT25EZXN0cm95KCkge1xuICAgICAgICB0aGlzLnRhYlNlcnZpY2UuY2xlYXIoKTtcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLmZvckVhY2gocyA9PiB7XG4gICAgICAgICAgICBzLnVuc3Vic2NyaWJlKCk7XG4gICAgICAgIH0pO1xuICAgIH1cbn0iXX0=
|
@@ -7,7 +7,6 @@ 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";
|
11
10
|
export class AXTabPageHostComponent {
|
12
11
|
ref;
|
13
12
|
rendererService;
|
@@ -95,22 +94,22 @@ export class AXTabPageHostComponent {
|
|
95
94
|
}
|
96
95
|
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 });
|
97
96
|
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: `
|
98
|
-
|
99
|
-
<div class='ax-tab-page-host'
|
97
|
+
<div class='ax-loading-host'>
|
98
|
+
<div class='ax-tab-page-host' >
|
100
99
|
<div [hidden]="isLoading" style="height:100%" class='ax-tab-page-host-container'>
|
101
100
|
<ng-template #container></ng-template>
|
102
101
|
</div>
|
103
102
|
</div>
|
104
103
|
</div>
|
105
|
-
`, isInline: true
|
104
|
+
`, isInline: true });
|
106
105
|
}
|
107
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabPageHostComponent, decorators: [{
|
108
107
|
type: Component,
|
109
108
|
args: [{
|
110
109
|
selector: 'ax-tab-page-host',
|
111
110
|
template: `
|
112
|
-
|
113
|
-
<div class='ax-tab-page-host'
|
111
|
+
<div class='ax-loading-host'>
|
112
|
+
<div class='ax-tab-page-host' >
|
114
113
|
<div [hidden]="isLoading" style="height:100%" class='ax-tab-page-host-container'>
|
115
114
|
<ng-template #container></ng-template>
|
116
115
|
</div>
|
@@ -122,4 +121,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
122
121
|
type: ViewChild,
|
123
122
|
args: ['container', { read: ViewContainerRef, static: true }]
|
124
123
|
}] } });
|
125
|
-
//# sourceMappingURL=data:application/json;base64,
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2UtaG9zdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90YWItcGFnZS90YWItcGFnZS1ob3N0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxVQUFVLEVBQWdCLGlCQUFpQixFQUEyQixNQUFNLGVBQWUsQ0FBQztBQUNySixPQUFPLEVBQWEsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQy9DLE9BQU8sRUFBeUMsWUFBWSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7O0FBZTlELE1BQU0sT0FBTyxzQkFBc0I7SUFXbkI7SUFDQTtJQUNBO0lBQ0E7SUFDQTtJQWJaLEdBQUcsQ0FBWTtJQUNQLFlBQVksQ0FBb0I7SUFDeEMsU0FBUyxDQUFVO0lBQ25CLFVBQVUsQ0FBUztJQUdYLFNBQVMsQ0FBbUI7SUFFcEMsWUFDWSxHQUErQixFQUMvQ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hdGEgPSBPYmplY3QuYXNzaWduKGRhdGEsIHJvdXRlLmRhdGEpO1xuICAgICAgICB9XG4gICAgICAgIGVsc2UgaWYgKHR5cGVvZiB0aGlzLnRhYi5jb250ZW50ID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICBjb21wb25lbnQgPSB0aGlzLnRhYi5jb250ZW50O1xuICAgICAgICB9XG4gICAgICAgIGlmIChjb21wb25lbnQgPT0gbnVsbCkge1xuICAgICAgICAgICAgLy8gVE9ETzogNDA0IHBhZ2UgY29tcG9uZW50XG4gICAgICAgICAgICB0aGlzLmlzTG9hZGluZyA9IGZhbHNlO1xuICAgICAgICAgICAgY29uc29sZS5lcnJvcihgSW52YWxpZCBwYWdlIENvbXBvbmVudCEgJHt0aGlzLnRhYi5jb250ZW50fWApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIC8vXG4gICAgICAgIGRhdGEgPSBPYmplY3QuYXNzaWduKGRhdGEsIHRoaXMudGFiLmRhdGEpO1xuICAgICAgICAvL1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgdGhpcy5jb21wb25lbnRSZWYgPSB0aGlzLmNvbnRhaW5lci5jcmVhdGVDb21wb25lbnQoY29tcG9uZW50KTtcbiAgICAgICAgICAgIGlmICghdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2Uub25DbG9zZWQpIHtcbiAgICAgICAgICAgICAgICB0aHJvdyBFcnJvcignVGhlIENvbXBvbmVudCBtdXN0IGJlIGluaGVyaXRlZCBmcm9tIEFYQmFzZVBhZ2VDb21wb25lbnQhJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5pbnN0YW5jZS5vbkNsb3NlZC5zdWJzY3JpYmUoKGU6IEFYUGFnZUNsb3NlRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnRhYlNlcnZpY2UuY2xvc2UodGhpcy50YWIpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAvL1xuICAgICAgICAgICAgY29uc3QgY29tID0gdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UgYXMgYW55O1xuICAgICAgICAgICAgLy9cbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24oY29tLCBkYXRhKTtcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICB0aGlzLnRhYltUQUJfTUVUQV9LRVldLmNvbXBvbmVudCA9IGNvbTtcbiAgICAgICAgICAgIHRoaXMuaXNMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgICB0aGlzLmxvYWRpbmdTZXJ2aWNlLmhpZGUodGhpcy5fbG9hZGluZ0lkKTtcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmLmNoYW5nZURldGVjdG9yUmVmLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgICAgICAgIC8vIFRPRE86IDQwNCBwYWdlIGNvbXBvbmVudFxuICAgICAgICAgICAgY29uc29sZS5lcnJvcihlcnJvcik7XG4gICAgICAgIH0gZmluYWxseSB7XG4gICAgICAgICAgICAvL3RoaXMuaXNMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBuZ09uRGVzdHJveSgpIHtcbiAgICAgICAgaWYgKHRoaXMuY29tcG9uZW50UmVmKSB7XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5ob3N0Vmlldy5kZXN0cm95KCk7XG4gICAgICAgICAgICB0aGlzLmNvbXBvbmVudFJlZi5kZXN0cm95KCk7XG4gICAgICAgICAgICB0aGlzLmNvbnRhaW5lci5jbGVhcigpO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMubG9hZGluZ1NlcnZpY2UuaGlkZSh0aGlzLl9sb2FkaW5nSWQpO1xuICAgIH1cbn0iXX0=
|
@@ -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) {
|
15
15
|
let newTab;
|
16
16
|
if (typeof arg1 === 'object') {
|
17
17
|
const options = Object.assign({ closable: true }, arg1);
|
@@ -20,9 +20,7 @@ export class AXTabPageService {
|
|
20
20
|
closable: options.closable,
|
21
21
|
content: options.content,
|
22
22
|
data: options.data,
|
23
|
-
pinned: options.pinned
|
24
|
-
axId: axId,
|
25
|
-
axClass: axClass
|
23
|
+
pinned: options.pinned
|
26
24
|
};
|
27
25
|
}
|
28
26
|
else {
|
@@ -31,8 +29,6 @@ export class AXTabPageService {
|
|
31
29
|
closable: true,
|
32
30
|
content: arg1,
|
33
31
|
data: arg3,
|
34
|
-
axId: axId,
|
35
|
-
axClass: axClass
|
36
32
|
};
|
37
33
|
}
|
38
34
|
newTab[TAB_META_KEY] = {};
|
@@ -160,4 +156,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
160
156
|
type: Injectable,
|
161
157
|
args: [{ providedIn: 'root' }]
|
162
158
|
}], ctorParameters: () => [] });
|
163
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhZ2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3RhYi1wYWdlL3RhYi1wYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDMUMsT0FBTyxFQUErQ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5vbGREYXRhKSlcbiAgICAgICk7XG4gICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -13,8 +13,6 @@ export class AXTabStripComponent {
|
|
13
13
|
ngOnInit() { }
|
14
14
|
items = [];
|
15
15
|
onTabChanged = new EventEmitter();
|
16
|
-
axId;
|
17
|
-
axClass;
|
18
16
|
handleClick(i) {
|
19
17
|
if (!i.disable) {
|
20
18
|
this.items.forEach((c) => (c.active = false));
|
@@ -27,18 +25,14 @@ export class AXTabStripComponent {
|
|
27
25
|
}
|
28
26
|
}
|
29
27
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
30
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { items: "items"
|
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"] }] });
|
31
29
|
}
|
32
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabStripComponent, decorators: [{
|
33
31
|
type: Component,
|
34
|
-
args: [{ selector: 'ax-tab-strip', template: "<ul
|
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>" }]
|
35
33
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { items: [{
|
36
34
|
type: Input
|
37
35
|
}], onTabChanged: [{
|
38
36
|
type: Output
|
39
|
-
}], axId: [{
|
40
|
-
type: Input
|
41
|
-
}], axClass: [{
|
42
|
-
type: Input
|
43
37
|
}] } });
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXN0cmlwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3RhYi1zdHJpcC90YWItc3RyaXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXN0cmlwL3RhYi1zdHJpcC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7OztBQWVuRCxNQUFNLE9BQU8sc0JBQXVCLFNBQVEsV0FBVztJQUNyRCxXQUFXLENBQWlCO0NBQzdCO0F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IHRoaXMuaXRlbXMuZm9yRWFjaCgoYykgPT4gKGMuYWN0aXZlID0gZmFsc2UpKTtcbiAgICAgIGkuYWN0aXZlID0gdHJ1ZTtcbiAgICAgIHRoaXMub25UYWJDaGFuZ2VkLmVtaXQoe1xuICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgIHNlbGVkdGVkVGFiOiBpLFxuICAgICAgICBodG1sRWxlbWVudDogdGhpcy5yZWYubmF0aXZlRWxlbWVudFxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iLCI8dWwgY2xhc3M9XCJ0YWItc3RyaXAtY29udGFpbmVyXCI+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdGb3I9XCJsZXQgaXRlbSBvZiBpdGVtc1wiPlxuICAgICAgICA8bGkgKm5nSWY9XCIhIWl0ZW0udmlzaWJsZSB8fCBpdGVtLnZpc2libGUgPT0gdW5kZWZpbmVkXCIgW2NsYXNzLmFjdGl2ZV09XCJpdGVtLmFjdGl2ZVwiXG4gICAgICAgICAgICBbY2xhc3MuZGlzYWJsZWRdPVwiaXRlbS5kaXNhYmxlXCIgKGNsaWNrKT1cImhhbmRsZUNsaWNrKGl0ZW0pXCI+e3tpdGVtLnRleHR9fTwvbGk+XG4gICAgPC9uZy1jb250YWluZXI+XG48L3VsPiJdfQ==
|
@@ -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
|
5
|
+
import { Component, ContentChildren, QueryList, ViewChild, ComponentFactoryResolver, ViewEncapsulation, Attribute, Output, EventEmitter, ElementRef } 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,8 +22,6 @@ export class AXTabViewComponent {
|
|
22
22
|
as follows
|
23
23
|
*/
|
24
24
|
// @ViewChild('container', {read: ViewContainerRef}) dynamicTabPlaceholder;
|
25
|
-
axId;
|
26
|
-
axClass;
|
27
25
|
constructor(ref, _componentFactoryResolver, fullWidth = false) {
|
28
26
|
this.ref = ref;
|
29
27
|
this._componentFactoryResolver = _componentFactoryResolver;
|
@@ -92,11 +90,11 @@ export class AXTabViewComponent {
|
|
92
90
|
}
|
93
91
|
}
|
94
92
|
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 });
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXTabViewComponent, selector: "ax-tab-view",
|
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 });
|
96
94
|
}
|
97
95
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTabViewComponent, decorators: [{
|
98
96
|
type: Component,
|
99
|
-
args: [{ selector: 'ax-tab-view', encapsulation: ViewEncapsulation.None, template: "<ul
|
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" }]
|
100
98
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: undefined, decorators: [{
|
101
99
|
type: Attribute,
|
102
100
|
args: ['fullWidth']
|
@@ -108,9 +106,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
108
106
|
args: [DynamicTabsDirective]
|
109
107
|
}], onActiveTab: [{
|
110
108
|
type: Output
|
111
|
-
}], axId: [{
|
112
|
-
type: Input
|
113
|
-
}], axClass: [{
|
114
|
-
type: Input
|
115
109
|
}] } });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsT0FBTyxFQUNMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsU0FBUyxFQUVULFNBQVMsRUFDVCx3QkFBd0IsRUFDeEIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxNQUFNLEVBQ04sWUFBWSxFQUNaLFVBQVUsRUFDVixLQUFLLEVBQ04sTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7O0FBU2hFLE1BQU0sT0FBTyxrQkFBa0I7SUFxQm5CO0lBQ0E7SUFDdUI7SUF0QmpDLFdBQVcsR0FBcUIsRUFBRSxDQUFDO0lBRUYsSUFBSSxDQUE0QjtJQUVoQyxxQkFBcUIsQ0FBdUI7SUFHN0UsV0FBVyxHQUFtQyxJQUFJLFlBQVksRUFBb0IsQ0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biAgICAgICAgKGNsaWNrKT1cImNsb3NlVGFiKHRhYik7ICRldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcIlxuICAgICAgICBjbGFzcz1cImZhciBmYS10aW1lc1wiXG4gICAgICAgIFthdHRyLmlkXT1cImF4SWQgPyBheElkICsgJy1jbG9zZS0nICsgdGFiLmlkIDogbnVsbFwiXG4gICAgICAgIFthdHRyLmNsYXNzXT1cImF4Q2xhc3MgPyBheENsYXNzICsgJy1jbG9zZScgOiAnJ1wiXG4gICAgICA+XG4gICAgICA8L2k+XG4gICAgPC9zcGFuPlxuICA8L2xpPlxuPC91bD5cbjxkaXYgXG4gIGNsYXNzPVwiYXgtdGFiLWNvbnRhaW5lciB7eyBheENsYXNzID8gYXhDbGFzcyArICctY29udGFpbmVyJyA6ICcnIH19XCIgXG4gIFthdHRyLmlkXT1cImF4SWQgPyBheElkICsgJy1jb250YWluZXInIDogbnVsbFwiXG4+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPG5nLXRlbXBsYXRlIGR5bmFtaWMtdGFicyAjY29udGFpbmVyPjwvbmctdGVtcGxhdGU+XG48L2Rpdj5cbiJdfQ==
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsT0FBTyxFQUNMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsU0FBUyxFQUVULFNBQVMs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