@acorex/components 5.0.2 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/acorex-components.d.ts +5 -5
- package/bundles/acorex-components.umd.js +6719 -6658
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/acorex-components.js +4 -4
- package/esm2015/lib/alert/alert-button.component.js +52 -52
- package/esm2015/lib/alert/alert-contnet.component.js +21 -21
- package/esm2015/lib/alert/alert-footer.component.js +27 -27
- package/esm2015/lib/alert/alert-suffix.component.js +27 -27
- package/esm2015/lib/alert/alert-title.component.js +23 -23
- package/esm2015/lib/alert/alert.component.js +131 -130
- package/esm2015/lib/alert/alert.module.js +43 -43
- package/esm2015/lib/alert/index.js +8 -8
- package/esm2015/lib/avatar/avatar.component.js +55 -55
- package/esm2015/lib/avatar/avatar.module.js +21 -21
- package/esm2015/lib/avatar/index.js +3 -3
- package/esm2015/lib/base/common.module.js +18 -18
- package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -47
- package/esm2015/lib/base/drawing.class.js +11 -11
- package/esm2015/lib/base/events.class.js +53 -47
- package/esm2015/lib/base/index.js +7 -7
- package/esm2015/lib/base/mixin/base-components.class.js +83 -83
- package/esm2015/lib/base/mixin/button-mixin.class.js +129 -129
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -24
- package/esm2015/lib/base/mixin/constratctor.js +2 -2
- package/esm2015/lib/base/mixin/datalist-component.class.js +97 -97
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +36 -36
- package/esm2015/lib/base/mixin/index.js +3 -3
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +72 -72
- package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -18
- package/esm2015/lib/base/mixin/mixin.class.js +23 -23
- package/esm2015/lib/base/mixin/selection-component.class.js +158 -158
- package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -18
- package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -38
- package/esm2015/lib/base/mixin/value-mixin.class.js +190 -190
- package/esm2015/lib/base/overlay.service.js +91 -91
- package/esm2015/lib/base/responsive.directive.js +34 -34
- package/esm2015/lib/base/styles.class.js +4 -4
- package/esm2015/lib/button/button-group.component.js +131 -131
- package/esm2015/lib/button/button-item.class.js +2 -2
- package/esm2015/lib/button/button-item.component.js +81 -81
- package/esm2015/lib/button/button.component.js +51 -52
- package/esm2015/lib/button/button.module.js +37 -37
- package/esm2015/lib/button/dropdown-button.component.js +200 -200
- package/esm2015/lib/button/index.js +7 -7
- package/esm2015/lib/calendar/calendar.component.js +59 -59
- package/esm2015/lib/calendar/calendar.module.js +24 -24
- package/esm2015/lib/calendar/index.js +3 -3
- package/esm2015/lib/carousel/carousel-arrows.component.js +53 -53
- package/esm2015/lib/carousel/carousel-item.component.js +21 -21
- package/esm2015/lib/carousel/carousel-pager.component.js +74 -74
- package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -82
- package/esm2015/lib/carousel/carousel.class.js +10 -10
- package/esm2015/lib/carousel/carousel.component.js +246 -246
- package/esm2015/lib/carousel/carousel.module.js +24 -24
- package/esm2015/lib/carousel/index.js +7 -7
- package/esm2015/lib/checkbox/checkbox.component.js +40 -40
- package/esm2015/lib/checkbox/checkbox.module.js +20 -20
- package/esm2015/lib/checkbox/index.js +3 -3
- package/esm2015/lib/datalist/datalist.component.js +81 -81
- package/esm2015/lib/datalist/datalist.module.js +22 -22
- package/esm2015/lib/datalist/index.js +3 -3
- package/esm2015/lib/datepicker/datepicker.component.js +64 -64
- package/esm2015/lib/datepicker/datepicker.module.js +23 -23
- package/esm2015/lib/datepicker/index.js +3 -3
- package/esm2015/lib/decorators/decorators.module.js +22 -22
- package/esm2015/lib/decorators/index.js +4 -4
- package/esm2015/lib/decorators/prefix.component.js +27 -27
- package/esm2015/lib/decorators/suffix.component.js +35 -35
- package/esm2015/lib/dialog/dialog.class.js +2 -2
- package/esm2015/lib/dialog/dialog.component.js +45 -45
- package/esm2015/lib/dialog/dialog.module.js +26 -26
- package/esm2015/lib/dialog/dialog.service.js +127 -127
- package/esm2015/lib/dialog/index.js +5 -5
- package/esm2015/lib/drawer/drawer-container.component.js +73 -73
- package/esm2015/lib/drawer/drawer-content.component.js +27 -27
- package/esm2015/lib/drawer/drawer.component.js +145 -145
- package/esm2015/lib/drawer/drawer.module.js +23 -23
- package/esm2015/lib/drawer/index.js +5 -5
- package/esm2015/lib/dropdown/dropdown-panel.component.js +194 -191
- package/esm2015/lib/dropdown/dropdown.component.js +139 -139
- package/esm2015/lib/dropdown/dropdown.module.js +24 -24
- package/esm2015/lib/dropdown/index.js +4 -4
- package/esm2015/lib/form/form-field.component.js +20 -20
- package/esm2015/lib/form/form-field.module.js +21 -21
- package/esm2015/lib/form/form-hint.component.js +20 -20
- package/esm2015/lib/form/form.component.js +51 -51
- package/esm2015/lib/form/index.js +5 -5
- package/esm2015/lib/icon/icon.component.js +28 -28
- package/esm2015/lib/icon/icon.module.js +21 -21
- package/esm2015/lib/icon/index.js +3 -3
- package/esm2015/lib/input-mask/index.js +3 -3
- package/esm2015/lib/input-mask/input-mask.component.js +42 -42
- package/esm2015/lib/input-mask/input-mask.module.js +23 -23
- package/esm2015/lib/label/index.js +3 -3
- package/esm2015/lib/label/label.component.js +20 -20
- package/esm2015/lib/label/label.module.js +21 -21
- package/esm2015/lib/loading/index.js +6 -6
- package/esm2015/lib/loading/loading-spinner.component.js +32 -32
- package/esm2015/lib/loading/loading.component.js +54 -54
- package/esm2015/lib/loading/loading.directive.js +67 -67
- package/esm2015/lib/loading/loading.module.js +35 -35
- package/esm2015/lib/loading/loading.service.js +155 -155
- package/esm2015/lib/number-box/index.js +3 -3
- package/esm2015/lib/number-box/number-box.component.js +289 -289
- package/esm2015/lib/number-box/number-box.module.js +32 -32
- package/esm2015/lib/page/base-page.class.js +66 -66
- package/esm2015/lib/page/index.js +5 -5
- package/esm2015/lib/page/page-footer.component.js +32 -32
- package/esm2015/lib/page/page.component.js +33 -33
- package/esm2015/lib/page/page.module.js +18 -18
- package/esm2015/lib/popover/index.js +3 -3
- package/esm2015/lib/popover/popover.component.js +119 -119
- package/esm2015/lib/popover/popover.module.js +19 -19
- package/esm2015/lib/popup/index.js +4 -4
- package/esm2015/lib/popup/popup.component.js +97 -97
- package/esm2015/lib/popup/popup.module.js +26 -26
- package/esm2015/lib/popup/popup.service.js +94 -94
- package/esm2015/lib/range-slider/index.js +3 -0
- package/esm2015/lib/range-slider/range-slider.component.js +22 -0
- package/esm2015/lib/range-slider/range-slider.module.js +21 -0
- package/esm2015/lib/selectbox/index.js +3 -3
- package/esm2015/lib/selectbox/selectbox.component.js +193 -193
- package/esm2015/lib/selectbox/selectbox.module.js +21 -21
- package/esm2015/lib/selection-list/index.js +3 -3
- package/esm2015/lib/selection-list/selection-list.component.js +46 -46
- package/esm2015/lib/selection-list/selection-list.module.js +21 -21
- package/esm2015/lib/side-menu/index.js +3 -3
- package/esm2015/lib/side-menu/side-menu.component.js +21 -21
- package/esm2015/lib/side-menu/side-menu.module.js +21 -21
- package/esm2015/lib/switch/index.js +3 -3
- package/esm2015/lib/switch/switch.component.js +30 -30
- package/esm2015/lib/switch/switch.module.js +21 -21
- package/esm2015/lib/tabs/index.js +6 -6
- package/esm2015/lib/tabs/tab-strip.component.js +61 -61
- package/esm2015/lib/tabs/tab-view.component.js +46 -46
- package/esm2015/lib/tabs/tab.component.js +59 -59
- package/esm2015/lib/tabs/tabs.class.js +4 -4
- package/esm2015/lib/tabs/tabs.module.js +23 -23
- package/esm2015/lib/textbox/index.js +3 -3
- package/esm2015/lib/textbox/textbox.component.js +62 -60
- package/esm2015/lib/textbox/textbox.module.js +43 -39
- package/esm2015/lib/time-box/index.js +3 -3
- package/esm2015/lib/time-box/time-box.component.js +134 -134
- package/esm2015/lib/time-box/time-box.module.js +32 -32
- package/esm2015/lib/toast/index.js +5 -5
- package/esm2015/lib/toast/toast.class.js +2 -2
- package/esm2015/lib/toast/toast.component.js +50 -50
- package/esm2015/lib/toast/toast.module.js +22 -22
- package/esm2015/lib/toast/toast.service.js +114 -114
- package/esm2015/lib/tooltip/index.js +4 -4
- package/esm2015/lib/tooltip/tooltip.component.js +45 -45
- package/esm2015/lib/tooltip/tooltip.directive.js +86 -86
- package/esm2015/lib/tooltip/tooltip.module.js +23 -23
- package/esm2015/lib/validation/index.js +3 -3
- package/esm2015/lib/validation/validation-rule.widget.js +113 -113
- package/esm2015/lib/validation/validation.class.js +2 -2
- package/esm2015/lib/validation/validation.module.js +32 -32
- package/esm2015/public-api.js +39 -38
- package/fesm2015/acorex-components.js +5811 -5763
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/alert/alert-button.component.d.ts +13 -13
- package/lib/alert/alert-contnet.component.d.ts +5 -5
- package/lib/alert/alert-footer.component.d.ts +5 -5
- package/lib/alert/alert-suffix.component.d.ts +5 -5
- package/lib/alert/alert-title.component.d.ts +5 -5
- package/lib/alert/alert.component.d.ts +46 -46
- package/lib/alert/alert.module.d.ts +13 -13
- package/lib/alert/index.d.ts +7 -7
- package/lib/avatar/avatar.component.d.ts +20 -20
- package/lib/avatar/avatar.module.d.ts +8 -8
- package/lib/avatar/index.d.ts +2 -2
- package/lib/base/common.module.d.ts +7 -7
- package/lib/base/custom-cdk-overlay.service.d.ts +19 -19
- package/lib/base/drawing.class.d.ts +9 -9
- package/lib/base/events.class.d.ts +72 -65
- package/lib/base/index.d.ts +6 -6
- package/lib/base/mixin/base-components.class.d.ts +84 -84
- package/lib/base/mixin/button-mixin.class.d.ts +79 -79
- package/lib/base/mixin/clickable-mixin.class.d.ts +42 -42
- package/lib/base/mixin/constratctor.d.ts +4 -4
- package/lib/base/mixin/datalist-component.class.d.ts +54 -54
- package/lib/base/mixin/dropdown-mixin.class.d.ts +47 -47
- package/lib/base/mixin/index.d.ts +2 -2
- package/lib/base/mixin/interactive-mixin.class.d.ts +60 -63
- package/lib/base/mixin/loading-mixin.class.d.ts +46 -48
- package/lib/base/mixin/mixin.class.d.ts +814 -814
- package/lib/base/mixin/selection-component.class.d.ts +55 -55
- package/lib/base/mixin/sizable-mixin.class.d.ts +40 -40
- package/lib/base/mixin/textbox-mixin.class.d.ts +59 -61
- package/lib/base/mixin/value-mixin.class.d.ts +68 -71
- package/lib/base/overlay.service.d.ts +31 -31
- package/lib/base/responsive.directive.d.ts +10 -10
- package/lib/base/styles.class.d.ts +17 -17
- package/lib/button/button-group.component.d.ts +36 -35
- package/lib/button/button-item.class.d.ts +22 -22
- package/lib/button/button-item.component.d.ts +92 -92
- package/lib/button/button.component.d.ts +18 -18
- package/lib/button/button.module.d.ts +13 -13
- package/lib/button/dropdown-button.component.d.ts +234 -234
- package/lib/button/index.d.ts +6 -6
- package/lib/calendar/calendar.component.d.ts +16 -16
- package/lib/calendar/calendar.module.d.ts +11 -11
- package/lib/calendar/index.d.ts +2 -2
- package/lib/carousel/carousel-arrows.component.d.ts +14 -14
- package/lib/carousel/carousel-item.component.d.ts +8 -8
- package/lib/carousel/carousel-pager.component.d.ts +22 -22
- package/lib/carousel/carousel-splidejs.class.d.ts +18 -18
- package/lib/carousel/carousel.class.d.ts +48 -48
- package/lib/carousel/carousel.component.d.ts +62 -62
- package/lib/carousel/carousel.module.d.ts +11 -11
- package/lib/carousel/index.d.ts +6 -6
- package/lib/checkbox/checkbox.component.d.ts +12 -12
- package/lib/checkbox/checkbox.module.d.ts +9 -9
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/datalist/datalist.component.d.ts +25 -25
- package/lib/datalist/datalist.module.d.ts +9 -9
- package/lib/datalist/index.d.ts +2 -2
- package/lib/datepicker/datepicker.component.d.ts +18 -18
- package/lib/datepicker/datepicker.module.d.ts +10 -10
- package/lib/datepicker/index.d.ts +2 -2
- package/lib/decorators/decorators.module.d.ts +9 -9
- package/lib/decorators/index.d.ts +3 -3
- package/lib/decorators/prefix.component.d.ts +8 -8
- package/lib/decorators/suffix.component.d.ts +8 -8
- package/lib/dialog/dialog.class.d.ts +12 -12
- package/lib/dialog/dialog.component.d.ts +15 -15
- package/lib/dialog/dialog.module.d.ts +13 -13
- package/lib/dialog/dialog.service.d.ts +18 -18
- package/lib/dialog/index.d.ts +4 -4
- package/lib/drawer/drawer-container.component.d.ts +13 -13
- package/lib/drawer/drawer-content.component.d.ts +8 -8
- package/lib/drawer/drawer.component.d.ts +30 -30
- package/lib/drawer/drawer.module.d.ts +10 -10
- package/lib/drawer/index.d.ts +4 -4
- package/lib/dropdown/dropdown-panel.component.d.ts +117 -116
- package/lib/dropdown/dropdown.component.d.ts +31 -31
- package/lib/dropdown/dropdown.module.d.ts +13 -13
- package/lib/dropdown/index.d.ts +3 -3
- package/lib/form/form-field.component.d.ts +8 -8
- package/lib/form/form-field.module.d.ts +10 -10
- package/lib/form/form-hint.component.d.ts +8 -8
- package/lib/form/form.component.d.ts +13 -13
- package/lib/form/index.d.ts +4 -4
- package/lib/icon/icon.component.d.ts +10 -10
- package/lib/icon/icon.module.d.ts +8 -8
- package/lib/icon/index.d.ts +2 -2
- package/lib/input-mask/index.d.ts +2 -2
- package/lib/input-mask/input-mask.component.d.ts +14 -14
- package/lib/input-mask/input-mask.module.d.ts +9 -9
- package/lib/label/index.d.ts +2 -2
- package/lib/label/label.component.d.ts +8 -8
- package/lib/label/label.module.d.ts +8 -8
- package/lib/loading/index.d.ts +5 -5
- package/lib/loading/loading-spinner.component.d.ts +5 -5
- package/lib/loading/loading.component.d.ts +19 -19
- package/lib/loading/loading.directive.d.ts +22 -22
- package/lib/loading/loading.module.d.ts +13 -13
- package/lib/loading/loading.service.d.ts +48 -48
- package/lib/number-box/index.d.ts +2 -2
- package/lib/number-box/number-box.component.d.ts +69 -69
- package/lib/number-box/number-box.module.d.ts +11 -11
- package/lib/page/base-page.class.d.ts +37 -37
- package/lib/page/index.d.ts +4 -4
- package/lib/page/page-footer.component.d.ts +7 -7
- package/lib/page/page.component.d.ts +13 -13
- package/lib/page/page.module.d.ts +7 -7
- package/lib/popover/index.d.ts +2 -2
- package/lib/popover/popover.component.d.ts +30 -30
- package/lib/popover/popover.module.d.ts +8 -8
- package/lib/popup/index.d.ts +3 -3
- package/lib/popup/popup.component.d.ts +33 -33
- package/lib/popup/popup.module.d.ts +12 -12
- package/lib/popup/popup.service.d.ts +37 -37
- package/lib/range-slider/index.d.ts +2 -0
- package/lib/range-slider/range-slider.component.d.ts +8 -0
- package/lib/range-slider/range-slider.module.d.ts +8 -0
- package/lib/selectbox/index.d.ts +2 -2
- package/lib/selectbox/selectbox.component.d.ts +28 -28
- package/lib/selectbox/selectbox.module.d.ts +10 -10
- package/lib/selection-list/index.d.ts +2 -2
- package/lib/selection-list/selection-list.component.d.ts +10 -10
- package/lib/selection-list/selection-list.module.d.ts +10 -10
- package/lib/side-menu/index.d.ts +2 -2
- package/lib/side-menu/side-menu.component.d.ts +8 -8
- package/lib/side-menu/side-menu.module.d.ts +8 -8
- package/lib/switch/index.d.ts +2 -2
- package/lib/switch/switch.component.d.ts +9 -9
- package/lib/switch/switch.module.d.ts +9 -9
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tabs/tab-strip.component.d.ts +17 -17
- package/lib/tabs/tab-view.component.d.ts +14 -14
- package/lib/tabs/tab.component.d.ts +18 -18
- package/lib/tabs/tabs.class.d.ts +18 -18
- package/lib/tabs/tabs.module.d.ts +10 -10
- package/lib/textbox/index.d.ts +2 -2
- package/lib/textbox/textbox.component.d.ts +19 -19
- package/lib/textbox/textbox.module.d.ts +13 -12
- package/lib/time-box/index.d.ts +2 -2
- package/lib/time-box/time-box.component.d.ts +29 -29
- package/lib/time-box/time-box.module.d.ts +11 -11
- package/lib/toast/index.d.ts +4 -4
- package/lib/toast/toast.class.d.ts +14 -14
- package/lib/toast/toast.component.d.ts +16 -16
- package/lib/toast/toast.module.d.ts +9 -9
- package/lib/toast/toast.service.d.ts +18 -18
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +10 -10
- package/lib/tooltip/tooltip.directive.d.ts +18 -18
- package/lib/tooltip/tooltip.module.d.ts +10 -10
- package/lib/validation/index.d.ts +2 -2
- package/lib/validation/validation-rule.widget.d.ts +25 -25
- package/lib/validation/validation.class.d.ts +17 -17
- package/lib/validation/validation.module.d.ts +9 -9
- package/package.json +18 -18
- package/public-api.d.ts +37 -36
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, EventEmitter, Output, } from '@angular/core';
|
|
2
|
-
import { AXSizableComponentMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class AXTabStripComponent extends AXSizableComponentMixin {
|
|
6
|
-
constructor(elementRef, cdr) {
|
|
7
|
-
super(elementRef, cdr);
|
|
8
|
-
this.mode = 'default';
|
|
9
|
-
this.fullWidth = false;
|
|
10
|
-
this.minWidth = false;
|
|
11
|
-
this.onSelectionChanged = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
get items() {
|
|
14
|
-
return this._items;
|
|
15
|
-
}
|
|
16
|
-
set items(v) {
|
|
17
|
-
this._items = v;
|
|
18
|
-
if (this._items &&
|
|
19
|
-
this.items.length &&
|
|
20
|
-
!this._items.some((c) => c.active)) {
|
|
21
|
-
this._handleClick(this.items[0], 0);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
_handleClick(tab, index) {
|
|
25
|
-
if (tab.disabled) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
this.items.forEach((c) => (c.active = false));
|
|
29
|
-
tab.active = true;
|
|
30
|
-
this.onSelectionChanged.emit({
|
|
31
|
-
component: this,
|
|
32
|
-
selectedIndex: index,
|
|
33
|
-
selectedTab: tab,
|
|
34
|
-
htmlElement: this._getHostElement(),
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", cssClass: "cssClass", items: "items", mode: "mode", fullWidth: "fullWidth", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tabs ax-tabs-{{mode}} {{cssClass}}\" [class.ax-tabs-full]=\"fullWidth\"\
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, decorators: [{
|
|
41
|
-
type: Component,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'ax-tab-strip',
|
|
44
|
-
templateUrl: './tab-strip.component.html',
|
|
45
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
-
encapsulation: ViewEncapsulation.None,
|
|
47
|
-
inputs: ['size', 'cssClass'],
|
|
48
|
-
host: { class: 'ax-tab-strip' },
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], mode: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], fullWidth: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], minWidth: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], onSelectionChanged: [{
|
|
59
|
-
type: Output
|
|
60
|
-
}] } });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, EventEmitter, Output, } from '@angular/core';
|
|
2
|
+
import { AXSizableComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class AXTabStripComponent extends AXSizableComponentMixin {
|
|
6
|
+
constructor(elementRef, cdr) {
|
|
7
|
+
super(elementRef, cdr);
|
|
8
|
+
this.mode = 'default';
|
|
9
|
+
this.fullWidth = false;
|
|
10
|
+
this.minWidth = false;
|
|
11
|
+
this.onSelectionChanged = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
get items() {
|
|
14
|
+
return this._items;
|
|
15
|
+
}
|
|
16
|
+
set items(v) {
|
|
17
|
+
this._items = v;
|
|
18
|
+
if (this._items &&
|
|
19
|
+
this.items.length &&
|
|
20
|
+
!this._items.some((c) => c.active)) {
|
|
21
|
+
this._handleClick(this.items[0], 0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
_handleClick(tab, index) {
|
|
25
|
+
if (tab.disabled) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
this.items.forEach((c) => (c.active = false));
|
|
29
|
+
tab.active = true;
|
|
30
|
+
this.onSelectionChanged.emit({
|
|
31
|
+
component: this,
|
|
32
|
+
selectedIndex: index,
|
|
33
|
+
selectedTab: tab,
|
|
34
|
+
htmlElement: this._getHostElement(),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", cssClass: "cssClass", items: "items", mode: "mode", fullWidth: "fullWidth", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tabs ax-tabs-{{mode}} {{cssClass}}\" [class.ax-tabs-full]=\"fullWidth\"\n [class.ax-tabs-min-width]=\"minWidth\">\n <div class=\"ax-tab-item-container\">\n <ng-container *ngFor=\"let item of items;let i = index\">\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\"\n *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\n\n <span *ngIf=\"item.iconClassBefore || item.iconClass\"><i\n class=\"ax-icon {{item.iconClassBefore || item.iconClass}}\"></i>\n <ng-container *ngIf=\"item.text\"> </ng-container>\n </span>\n <span *ngIf=\"item.text\">{{item.text}}</span>\n <span *ngIf=\"item.iconClassAfter\">\n <ng-container *ngIf=\"item.text\"> </ng-container><i\n class=\"ax-icon {{item.iconClassAfter}}\"></i>\n </span>\n <!-- <span *ngIf=\"badge\" class=\"ax-badge\">\n <ng-container *ngIf=\"text\"> </ng-container>{{badge}}\n </span> -->\n </div>\n </ng-container>\n </div>\n</div>", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabStripComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: 'ax-tab-strip',
|
|
44
|
+
templateUrl: './tab-strip.component.html',
|
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
+
encapsulation: ViewEncapsulation.None,
|
|
47
|
+
inputs: ['size', 'cssClass'],
|
|
48
|
+
host: { class: 'ax-tab-strip' },
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], mode: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], fullWidth: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], minWidth: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], onSelectionChanged: [{
|
|
59
|
+
type: Output
|
|
60
|
+
}] } });
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXN0cmlwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWItc3RyaXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi1zdHJpcC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNqQix1QkFBdUIsRUFHdkIsS0FBSyxFQUNMLFlBQVksRUFDWixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sU0FBUyxDQUFDOzs7QUFXbEQsTUFBTSxPQUFPLG1CQUFvQixTQUFRLHVCQUF1QjtJQUM5RCxZQUFZLFVBQXNCLEVBQUUsR0FBc0I7UUFDeEQsS0FBSyxDQUFDLFVBQVUsRUFBRSxHQUFHLENBQUMsQ0FBQztRQW9CekIsU0FBSSxHQUFzRCxTQUFTLENBQUM7UUFHcEUsY0FBUyxHQUFZLEtBQUssQ0FBQztRQUczQixhQUFRLEdBQVksS0FBSyxDQUFDO1FBRzFCLHVCQUFrQixHQUF5QyxJQUFJLFlB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gICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwidGV4dFwiPiZuYnNwOyZuYnNwOzwvbmctY29udGFpbmVyPnt7YmFkZ2V9fVxuICAgICAgICAgICAgICAgIDwvc3Bhbj4gLS0+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG48L2Rpdj4iXX0=
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren } from '@angular/core';
|
|
2
|
-
import { AXTabStripComponent } from './tab-strip.component';
|
|
3
|
-
import { AXTabComponent } from './tab.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./tab-strip.component";
|
|
6
|
-
export class AXTabViewComponent extends AXTabStripComponent {
|
|
7
|
-
constructor(elementRef, cdr) {
|
|
8
|
-
super(elementRef, cdr);
|
|
9
|
-
this._tabs = [];
|
|
10
|
-
}
|
|
11
|
-
onViewInit() {
|
|
12
|
-
this._tabs = Array.from(this._contentTabs).map(c => ({
|
|
13
|
-
name: c.name,
|
|
14
|
-
text: c.caption,
|
|
15
|
-
tooltip: c.tooltip,
|
|
16
|
-
icon: c.icon,
|
|
17
|
-
visible: c.visible,
|
|
18
|
-
disabled: c.disabled,
|
|
19
|
-
}));
|
|
20
|
-
this._cdr.detectChanges();
|
|
21
|
-
}
|
|
22
|
-
_handleSelectionChanged(e) {
|
|
23
|
-
const tabs = Array.from(this._contentTabs);
|
|
24
|
-
tabs.forEach(tab => {
|
|
25
|
-
tab.hide();
|
|
26
|
-
});
|
|
27
|
-
tabs[e.selectedIndex].show();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<ax-tab-strip [items]=\"_tabs\" [fullWidth]=\"fullWidth\" [mode]=\"mode\" [minWidth]=\"minWidth\" [size]=\"size\"\
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'ax-tab-view',
|
|
36
|
-
templateUrl: './tab-view.component.html',
|
|
37
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38
|
-
encapsulation: ViewEncapsulation.None,
|
|
39
|
-
inputs: ['size'],
|
|
40
|
-
host: { class: 'ax-tab-view' }
|
|
41
|
-
}]
|
|
42
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
|
43
|
-
type: ContentChildren,
|
|
44
|
-
args: [AXTabComponent]
|
|
45
|
-
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren } from '@angular/core';
|
|
2
|
+
import { AXTabStripComponent } from './tab-strip.component';
|
|
3
|
+
import { AXTabComponent } from './tab.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./tab-strip.component";
|
|
6
|
+
export class AXTabViewComponent extends AXTabStripComponent {
|
|
7
|
+
constructor(elementRef, cdr) {
|
|
8
|
+
super(elementRef, cdr);
|
|
9
|
+
this._tabs = [];
|
|
10
|
+
}
|
|
11
|
+
onViewInit() {
|
|
12
|
+
this._tabs = Array.from(this._contentTabs).map(c => ({
|
|
13
|
+
name: c.name,
|
|
14
|
+
text: c.caption,
|
|
15
|
+
tooltip: c.tooltip,
|
|
16
|
+
icon: c.icon,
|
|
17
|
+
visible: c.visible,
|
|
18
|
+
disabled: c.disabled,
|
|
19
|
+
}));
|
|
20
|
+
this._cdr.detectChanges();
|
|
21
|
+
}
|
|
22
|
+
_handleSelectionChanged(e) {
|
|
23
|
+
const tabs = Array.from(this._contentTabs);
|
|
24
|
+
tabs.forEach(tab => {
|
|
25
|
+
tab.hide();
|
|
26
|
+
});
|
|
27
|
+
tabs[e.selectedIndex].show();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<ax-tab-strip [items]=\"_tabs\" [fullWidth]=\"fullWidth\" [mode]=\"mode\" [minWidth]=\"minWidth\" [size]=\"size\"\n (onSelectionChanged)=\"_handleSelectionChanged($event)\">\n\n</ax-tab-strip>\n<div class=\"ax-tab-view-container\">\n <ng-content select=\"ax-tab\">\n </ng-content>\n</div>", components: [{ type: i1.AXTabStripComponent, selector: "ax-tab-strip", inputs: ["size", "cssClass", "items", "mode", "fullWidth", "minWidth"], outputs: ["onSelectionChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabViewComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'ax-tab-view',
|
|
36
|
+
templateUrl: './tab-view.component.html',
|
|
37
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38
|
+
encapsulation: ViewEncapsulation.None,
|
|
39
|
+
inputs: ['size'],
|
|
40
|
+
host: { class: 'ax-tab-view' }
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
|
43
|
+
type: ContentChildren,
|
|
44
|
+
args: [AXTabComponent]
|
|
45
|
+
}] } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWItdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFpQyxlQUFlLEVBQW9CLE1BQU0sZUFBZSxDQUFDO0FBRXhKLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBVWpELE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxtQkFBbUI7SUFNdkQsWUFDSSxVQUFzQixFQUN0QixHQUFzQjtRQUV0QixLQUFLLENBQUMsVU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xuZXhwb3J0IGNsYXNzIEFYVGFiVmlld0NvbXBvbmVudCBleHRlbmRzIEFYVGFiU3RyaXBDb21wb25lbnQge1xuXG4gICAgQENvbnRlbnRDaGlsZHJlbihBWFRhYkNvbXBvbmVudCkgX2NvbnRlbnRUYWJzOiBRdWVyeUxpc3Q8QVhUYWJDb21wb25lbnQ+O1xuICAgIF90YWJzOiBBWFRhYlN0cmlwSXRlbVtdID0gW107XG5cblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBlbGVtZW50UmVmOiBFbGVtZW50UmVmLFxuICAgICAgICBjZHI6IENoYW5nZURldGVjdG9yUmVmXG4gICAgKSB7XG4gICAgICAgIHN1cGVyKGVsZW1lbnRSZWYsIGNkcik7XG4gICAgfVxuXG5cbiAgICBvblZpZXdJbml0KCkge1xuICAgICAgICB0aGlzLl90YWJzID0gQXJyYXkuZnJvbSh0aGlzLl9jb250ZW50VGFicykubWFwKGMgPT4gKHtcbiAgICAgICAgICAgIG5hbWU6IGMubmFtZSxcbiAgICAgICAgICAgIHRleHQ6IGMuY2FwdGlvbixcbiAgICAgICAgICAgIHRvb2x0aXA6IGMudG9vbHRpcCxcbiAgICAgICAgICAgIGljb246IGMuaWNvbixcbiAgICAgICAgICAgIHZpc2libGU6IGMudmlzaWJsZSxcbiAgICAgICAgICAgIGRpc2FibGVkOiBjLmRpc2FibGVkLFxuICAgICAgICB9KSk7XG4gICAgICAgIHRoaXMuX2Nkci5kZXRlY3RDaGFuZ2VzKCk7XG5cbiAgICB9XG5cblxuICAgIF9oYW5kbGVTZWxlY3Rpb25DaGFuZ2VkKGU6IEFYVGFiU3RyaXBDaGFuZ2VkRXZlbnQpIHtcbiAgICAgICAgY29uc3QgdGFicyA9IEFycmF5LmZyb20odGhpcy5fY29udGVudFRhYnMpO1xuICAgICAgICB0YWJzLmZvckVhY2godGFiID0+IHtcbiAgICAgICAgICAgIHRhYi5oaWRlKCk7XG4gICAgICAgIH0pO1xuICAgICAgICB0YWJzW2Uuc2VsZWN0ZWRJbmRleF0uc2hvdygpO1xuICAgIH1cblxufVxuIiwiPGF4LXRhYi1zdHJpcCBbaXRlbXNdPVwiX3RhYnNcIiBbZnVsbFdpZHRoXT1cImZ1bGxXaWR0aFwiIFttb2RlXT1cIm1vZGVcIiBbbWluV2lkdGhdPVwibWluV2lkdGhcIiBbc2l6ZV09XCJzaXplXCJcbiAgICAob25TZWxlY3Rpb25DaGFuZ2VkKT1cIl9oYW5kbGVTZWxlY3Rpb25DaGFuZ2VkKCRldmVudClcIj5cblxuPC9heC10YWItc3RyaXA+XG48ZGl2IGNsYXNzPVwiYXgtdGFiLXZpZXctY29udGFpbmVyXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtdGFiXCI+XG4gICAgPC9uZy1jb250ZW50PlxuPC9kaXY+Il19
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class AXTabComponent extends AXBaseComponentMixin {
|
|
6
|
-
constructor(elementRef, cdr) {
|
|
7
|
-
super(elementRef, cdr);
|
|
8
|
-
this.visible = true;
|
|
9
|
-
this.disabled = false;
|
|
10
|
-
this._render = false;
|
|
11
|
-
}
|
|
12
|
-
show() {
|
|
13
|
-
this._getHostElement().style.display = 'unset';
|
|
14
|
-
if (!this._render) {
|
|
15
|
-
this._render = true;
|
|
16
|
-
this._cdr.detectChanges();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
hide() {
|
|
20
|
-
this._getHostElement().style.display = 'none';
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
AXTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0, template: `
|
|
25
|
-
<div *ngIf="_render" >
|
|
26
|
-
<ng-content>
|
|
27
|
-
</ng-content>
|
|
28
|
-
</div>
|
|
29
|
-
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, decorators: [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: 'ax-tab',
|
|
34
|
-
template: `
|
|
35
|
-
<div *ngIf="_render" >
|
|
36
|
-
<ng-content>
|
|
37
|
-
</ng-content>
|
|
38
|
-
</div>
|
|
39
|
-
`,
|
|
40
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
-
encapsulation: ViewEncapsulation.None,
|
|
42
|
-
host: { class: 'ax-tab', style: 'display:none' }
|
|
43
|
-
}]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { name: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], caption: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], tooltip: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], icon: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], visible: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], disabled: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], data: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}] } });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class AXTabComponent extends AXBaseComponentMixin {
|
|
6
|
+
constructor(elementRef, cdr) {
|
|
7
|
+
super(elementRef, cdr);
|
|
8
|
+
this.visible = true;
|
|
9
|
+
this.disabled = false;
|
|
10
|
+
this._render = false;
|
|
11
|
+
}
|
|
12
|
+
show() {
|
|
13
|
+
this._getHostElement().style.display = 'unset';
|
|
14
|
+
if (!this._render) {
|
|
15
|
+
this._render = true;
|
|
16
|
+
this._cdr.detectChanges();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
hide() {
|
|
20
|
+
this._getHostElement().style.display = 'none';
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
AXTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0, template: `
|
|
25
|
+
<div *ngIf="_render" >
|
|
26
|
+
<ng-content>
|
|
27
|
+
</ng-content>
|
|
28
|
+
</div>
|
|
29
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'ax-tab',
|
|
34
|
+
template: `
|
|
35
|
+
<div *ngIf="_render" >
|
|
36
|
+
<ng-content>
|
|
37
|
+
</ng-content>
|
|
38
|
+
</div>
|
|
39
|
+
`,
|
|
40
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
+
encapsulation: ViewEncapsulation.None,
|
|
42
|
+
host: { class: 'ax-tab', style: 'display:none' }
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { name: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], caption: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], tooltip: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], icon: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], visible: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], disabled: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], data: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsdUJBQXVCLEVBQWlDLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNwS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ASW5wdXQoKVxuICAgIGljb246IHN0cmluZztcbiAgICBASW5wdXQoKVxuICAgIHZpc2libGU6IGJvb2xlYW4gPSB0cnVlO1xuICAgIEBJbnB1dCgpXG4gICAgZGlzYWJsZWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgICBASW5wdXQoKVxuICAgIGRhdGE6IGFueTtcblxuICAgIF9yZW5kZXI6IGJvb2xlYW4gPSBmYWxzZVxuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYsXG4gICAgICAgIGNkcjogQ2hhbmdlRGV0ZWN0b3JSZWZcbiAgICApIHtcbiAgICAgICAgc3VwZXIoZWxlbWVudFJlZiwgY2RyKTtcbiAgICB9XG5cbiAgICBzaG93KCkge1xuICAgICAgICB0aGlzLl9nZXRIb3N0RWxlbWVudCgpLnN0eWxlLmRpc3BsYXkgPSAndW5zZXQnO1xuICAgICAgICBpZiAoIXRoaXMuX3JlbmRlcikge1xuICAgICAgICAgICAgdGhpcy5fcmVuZGVyID0gdHJ1ZTtcbiAgICAgICAgICAgIHRoaXMuX2Nkci5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBoaWRlKCkge1xuICAgICAgICB0aGlzLl9nZXRIb3N0RWxlbWVudCgpLnN0eWxlLmRpc3BsYXkgPSAnbm9uZSc7XG4gICAgfVxuXG5cbn1cbiJdfQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXEvent } from "../base";
|
|
2
|
-
export class AXTabStripChangedEvent extends AXEvent {
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { AXEvent } from "../base";
|
|
2
|
+
export class AXTabStripChangedEvent extends AXEvent {
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWJzLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFnQmhDLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxPQUFPO0NBSWxEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhFdmVudCB9IGZyb20gXCIuLi9iYXNlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgIEFYVGFiU3RyaXBJdGVtIHtcbiAgICBuYW1lPzogc3RyaW5nO1xuICAgIHRleHQ/OiBzdHJpbmc7XG4gICAgdG9vbHRpcD86IHN0cmluZztcbiAgICBpY29uQ2xhc3NBZnRlcj86IHN0cmluZztcbiAgICBpY29uQ2xhc3NCZWZvcmU/OiBzdHJpbmc7XG4gICAgaWNvbkNsYXNzPzogc3RyaW5nO1xuICAgIHZpc2libGU/OiBib29sZWFuO1xuICAgIGRpc2FibGVkPzogYm9vbGVhbjtcbiAgICBkYXRhPzogYW55O1xuICAgIHN0eWxlPzogc3RyaW5nO1xuICAgIGFjdGl2ZT86IGJvb2xlYW47XG4gIH1cbiAgXG4gIGV4cG9ydCBjbGFzcyBBWFRhYlN0cmlwQ2hhbmdlZEV2ZW50IGV4dGVuZHMgQVhFdmVudCB7XG4gICAgc2VsZWN0ZWRUYWI6IEFYVGFiU3RyaXBJdGVtO1xuICAgIHNlbGVjdGVkSW5kZXg6bnVtYmVyO1xuXG4gIH0iXX0=
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AXTabViewComponent } from './tab-view.component';
|
|
4
|
-
import { AXTabStripComponent } from './tab-strip.component';
|
|
5
|
-
import { AXTabComponent } from './tab.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
const COMPONENT = [AXTabViewComponent, AXTabStripComponent, AXTabComponent];
|
|
8
|
-
const MODULES = [CommonModule];
|
|
9
|
-
export class AXTabsModule {
|
|
10
|
-
}
|
|
11
|
-
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [AXTabViewComponent, AXTabStripComponent, AXTabComponent], imports: [CommonModule], exports: [AXTabViewComponent, AXTabStripComponent, AXTabComponent] });
|
|
13
|
-
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES]] });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
15
|
-
type: NgModule,
|
|
16
|
-
args: [{
|
|
17
|
-
declarations: [...COMPONENT],
|
|
18
|
-
imports: [...MODULES],
|
|
19
|
-
exports: [...COMPONENT],
|
|
20
|
-
providers: [],
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXTabViewComponent } from './tab-view.component';
|
|
4
|
+
import { AXTabStripComponent } from './tab-strip.component';
|
|
5
|
+
import { AXTabComponent } from './tab.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
const COMPONENT = [AXTabViewComponent, AXTabStripComponent, AXTabComponent];
|
|
8
|
+
const MODULES = [CommonModule];
|
|
9
|
+
export class AXTabsModule {
|
|
10
|
+
}
|
|
11
|
+
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, declarations: [AXTabViewComponent, AXTabStripComponent, AXTabComponent], imports: [CommonModule], exports: [AXTabViewComponent, AXTabStripComponent, AXTabComponent] });
|
|
13
|
+
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES]] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
15
|
+
type: NgModule,
|
|
16
|
+
args: [{
|
|
17
|
+
declarations: [...COMPONENT],
|
|
18
|
+
imports: [...MODULES],
|
|
19
|
+
exports: [...COMPONENT],
|
|
20
|
+
providers: [],
|
|
21
|
+
}]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3RhYnMvdGFicy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDMUQsT0FBTyxF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21wb25lbnQnO1xuXG5jb25zdCBDT01QT05FTlQgPSBbQVhUYWJWaWV3Q29tcG9uZW50LCBBWFRhYlN0cmlwQ29tcG9uZW50LCBBWFRhYkNvbXBvbmVudF07XG5jb25zdCBNT0RVTEVTID0gW0NvbW1vbk1vZHVsZV07XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbLi4uQ09NUE9ORU5UXSxcbiAgICBpbXBvcnRzOiBbLi4uTU9EVUxFU10sXG4gICAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXG4gICAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhUYWJzTW9kdWxlIHsgfVxuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './textbox.component';
|
|
2
|
-
export * from './textbox.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './textbox.component';
|
|
2
|
+
export * from './textbox.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3RleHRib3gvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZXh0Ym94LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RleHRib3gubW9kdWxlJzsiXX0=
|