@acorex/components 5.0.23 → 5.0.27

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.
Files changed (67) hide show
  1. package/esm2020/lib/alert/alert-button.component.mjs +8 -9
  2. package/esm2020/lib/alert/{alert-contnet.component.mjs → alert-content.component.mjs} +1 -1
  3. package/esm2020/lib/alert/alert.module.mjs +5 -4
  4. package/esm2020/lib/alert/index.mjs +2 -2
  5. package/esm2020/lib/badge/badge.component.mjs +2 -2
  6. package/esm2020/lib/base/mixin/value-mixin.class.mjs +3 -2
  7. package/esm2020/lib/calendar/calendar.component.mjs +3 -2
  8. package/esm2020/lib/checkbox/checkbox.component.mjs +2 -3
  9. package/esm2020/lib/datepicker/datepicker.component.mjs +4 -3
  10. package/esm2020/lib/decorators/decorators.module.mjs +4 -3
  11. package/esm2020/lib/decorators/header.component.mjs +26 -0
  12. package/esm2020/lib/decorators/index.mjs +5 -3
  13. package/esm2020/lib/drawer/drawer.component.mjs +7 -1
  14. package/esm2020/lib/dropdown/dropdown-panel.component.mjs +1 -1
  15. package/esm2020/lib/dropdown/dropdown.component.mjs +1 -1
  16. package/esm2020/lib/icon/icon.component.mjs +3 -3
  17. package/esm2020/lib/number-box/number-box.component.mjs +2 -2
  18. package/esm2020/lib/password-box/password-box.component.mjs +2 -2
  19. package/esm2020/lib/popover/popover.component.mjs +7 -3
  20. package/esm2020/lib/popup/popup.component.mjs +3 -3
  21. package/esm2020/lib/radio/radio.component.mjs +15 -5
  22. package/esm2020/lib/radio/radio.module.mjs +4 -3
  23. package/esm2020/lib/selectbox/selectbox.component.mjs +3 -3
  24. package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
  25. package/esm2020/lib/selection-list/selection-list.module.mjs +8 -5
  26. package/esm2020/lib/switch/switch.component.mjs +2 -2
  27. package/esm2020/lib/tabs/index.mjs +1 -3
  28. package/esm2020/lib/tabs/tab-item.component.mjs +12 -4
  29. package/esm2020/lib/tabs/tabs.class.mjs +1 -1
  30. package/esm2020/lib/tabs/tabs.component.mjs +13 -4
  31. package/esm2020/lib/textbox/textbox.component.mjs +2 -2
  32. package/esm2020/lib/time-box/time-box.component.mjs +2 -2
  33. package/fesm2015/acorex-components.mjs +210 -299
  34. package/fesm2015/acorex-components.mjs.map +1 -1
  35. package/fesm2020/acorex-components.mjs +210 -299
  36. package/fesm2020/acorex-components.mjs.map +1 -1
  37. package/lib/alert/alert-button.component.d.ts +2 -2
  38. package/lib/alert/{alert-contnet.component.d.ts → alert-content.component.d.ts} +0 -0
  39. package/lib/alert/alert.module.d.ts +3 -2
  40. package/lib/alert/index.d.ts +1 -1
  41. package/lib/calendar/calendar.component.d.ts +1 -1
  42. package/lib/checkbox/checkbox.component.d.ts +1 -1
  43. package/lib/datepicker/datepicker.component.d.ts +3 -1
  44. package/lib/decorators/decorators.module.d.ts +3 -2
  45. package/lib/decorators/header.component.d.ts +8 -0
  46. package/lib/decorators/index.d.ts +4 -2
  47. package/lib/drawer/drawer.component.d.ts +2 -0
  48. package/lib/icon/icon.component.d.ts +1 -1
  49. package/lib/number-box/number-box.component.d.ts +1 -1
  50. package/lib/password-box/password-box.component.d.ts +1 -1
  51. package/lib/popover/popover.component.d.ts +1 -1
  52. package/lib/radio/radio.component.d.ts +4 -3
  53. package/lib/radio/radio.module.d.ts +2 -1
  54. package/lib/selection-list/selection-list.module.d.ts +4 -1
  55. package/lib/switch/switch.component.d.ts +1 -1
  56. package/lib/tabs/index.d.ts +0 -2
  57. package/lib/tabs/tabs.class.d.ts +2 -14
  58. package/lib/tabs/tabs.component.d.ts +4 -2
  59. package/lib/textbox/textbox.component.d.ts +1 -1
  60. package/lib/time-box/time-box.component.d.ts +1 -1
  61. package/package.json +1 -1
  62. package/esm2020/lib/tabs/tab-strip.component.mjs +0 -62
  63. package/esm2020/lib/tabs/tab-view.component.mjs +0 -38
  64. package/esm2020/lib/tabs/tab.component.mjs +0 -58
  65. package/lib/tabs/tab-strip.component.d.ts +0 -19
  66. package/lib/tabs/tab-view.component.d.ts +0 -14
  67. package/lib/tabs/tab.component.d.ts +0 -18
@@ -2,12 +2,12 @@ import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
2
  import { AXBaseClickableMixin } from '../base';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXAlertButtonComponent extends AXBaseClickableMixin {
5
- title: string;
5
+ text: string;
6
6
  icon: string;
7
7
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
8
  _handleOnClick(e: any): void;
9
9
  _handleOnFocus(e: any): void;
10
10
  _handleOnBlur(e: any): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertButtonComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertButtonComponent, "ax-alert-button", never, { "title": "title"; "icon": "icon"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertButtonComponent, "ax-alert-button", never, { "text": "text"; "icon": "icon"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-icon"]>;
13
13
  }
@@ -1,13 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./alert.component";
3
- import * as i2 from "./alert-contnet.component";
3
+ import * as i2 from "./alert-content.component";
4
4
  import * as i3 from "./alert-title.component";
5
5
  import * as i4 from "./alert-button.component";
6
6
  import * as i5 from "./alert-footer.component";
7
7
  import * as i6 from "./alert-suffix.component";
8
8
  import * as i7 from "@angular/common";
9
+ import * as i8 from "../icon/icon.module";
9
10
  export declare class AXAlertModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent, typeof i2.AXAlertContentComponent, typeof i3.AXAlertTitleComponent, typeof i4.AXAlertButtonComponent, typeof i5.AXAlertFooterComponent, typeof i6.AXAlertSuffixComponent], [typeof i7.CommonModule], [typeof i1.AXAlertComponent, typeof i2.AXAlertContentComponent, typeof i3.AXAlertTitleComponent, typeof i4.AXAlertButtonComponent, typeof i5.AXAlertFooterComponent, typeof i6.AXAlertSuffixComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent, typeof i2.AXAlertContentComponent, typeof i3.AXAlertTitleComponent, typeof i4.AXAlertButtonComponent, typeof i5.AXAlertFooterComponent, typeof i6.AXAlertSuffixComponent], [typeof i7.CommonModule, typeof i8.AXIconModule], [typeof i1.AXAlertComponent, typeof i2.AXAlertContentComponent, typeof i3.AXAlertTitleComponent, typeof i4.AXAlertButtonComponent, typeof i5.AXAlertFooterComponent, typeof i6.AXAlertSuffixComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<AXAlertModule>;
13
14
  }
@@ -1,7 +1,7 @@
1
1
  export * from './alert.component';
2
2
  export * from './alert-title.component';
3
3
  export * from './alert-button.component';
4
- export * from './alert-contnet.component';
4
+ export * from './alert-content.component';
5
5
  export * from './alert-suffix.component';
6
6
  export * from './alert-footer.component';
7
7
  export * from './alert.module';
@@ -31,5 +31,5 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
31
31
  private isHoliday;
32
32
  private isWeekend;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
35
35
  }
@@ -9,5 +9,5 @@ export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
9
9
  _onValueChanging(value: any): any;
10
10
  _handleOnClickEvent(e: MouseEvent): boolean;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_hint", "_label"], ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_hint", "_label"], ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
13
13
  }
@@ -157,6 +157,8 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
157
157
  popover: AXPopoverComponent;
158
158
  _target: AXBaseComponent;
159
159
  displayText: string;
160
+ _calendarValue: Date;
161
+ _cursorPos: number;
160
162
  formatChange: EventEmitter<string>;
161
163
  private _format;
162
164
  get format(): string;
@@ -168,5 +170,5 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
168
170
  _handleOnInputClickEvent(e: MouseEvent): void;
169
171
  private _highlightPart;
170
172
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
171
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "placeholder": "placeholder"; "maxLength": "maxLength"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix"]>;
173
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix"]>;
172
174
  }
@@ -2,9 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./prefix.component";
3
3
  import * as i2 from "./suffix.component";
4
4
  import * as i3 from "./content.component";
5
- import * as i4 from "@angular/common";
5
+ import * as i4 from "./header.component";
6
+ import * as i5 from "@angular/common";
6
7
  export declare class AXEditorDecoratorModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorDecoratorModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent], [typeof i4.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent], [typeof i5.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<AXEditorDecoratorModule>;
10
11
  }
@@ -0,0 +1,8 @@
1
+ import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
+ import { AXBaseComponentMixin } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
5
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorHeaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorHeaderComponent, "ax-header", never, {}, {}, never, ["*"]>;
8
+ }
@@ -1,4 +1,6 @@
1
- export * from './prefix.component';
2
- export * from './suffix.component';
3
1
  export * from './content.component';
2
+ export * from './header.component';
4
3
  export * from './decorators.module';
4
+ export * from './header.component';
5
+ export * from './prefix.component';
6
+ export * from './suffix.component';
@@ -17,6 +17,8 @@ export declare class AXDrawerComponent extends AXBaseComponentMixin {
17
17
  private _updateClass;
18
18
  onViewInit(): void;
19
19
  toggle(): void;
20
+ close(): void;
21
+ open(): void;
20
22
  _handleWindowsResize(e: UIEvent): void;
21
23
  _detectSize(): void;
22
24
  private _emitChange;
@@ -6,5 +6,5 @@ export declare class AXIconComponent extends AXSizableComponentMixin {
6
6
  private get __iconClass();
7
7
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXIconComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, ["ax-content"]>;
10
10
  }
@@ -65,5 +65,5 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
65
65
  _onValueChanged(oldValue: any, newValue: any): void;
66
66
  _handleOnBlurEvent(e: FocusEvent): void;
67
67
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "separator": "separator"; "thousandSeparator": "thousandSeparator"; "step": "step"; "scale": "scale"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "separator": "separator"; "thousandSeparator": "thousandSeparator"; "step": "step"; "scale": "scale"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
69
69
  }
@@ -20,5 +20,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
20
20
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
21
21
  toggleType(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
24
24
  }
@@ -40,5 +40,5 @@ export declare class AXPopoverComponent extends AXBaseComponent {
40
40
  get isOpen(): boolean;
41
41
  private _addSub;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": "target"; "position": "position"; "openTrigger": "openTrigger"; "closeTrigger": "closeTrigger"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; }, {}, never, ["*"]>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": "target"; "position": "position"; "openTrigger": "openTrigger"; "closeTrigger": "closeTrigger"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"]>;
44
44
  }
@@ -1,8 +1,9 @@
1
1
  import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base';
2
+ import { AXBaseValueComponentMixin } from '../base';
3
3
  import * as i0 from "@angular/core";
4
- export declare class AXRadioComponent extends AXBaseComponentMixin {
4
+ export declare class AXRadioComponent extends AXBaseValueComponentMixin {
5
5
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
+ _handleOnClickEvent(e: MouseEvent): boolean;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, {}, {}, never, ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
8
9
  }
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./radio.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
4
5
  export declare class AXRadioModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXRadioModule, [typeof i1.AXRadioComponent], [typeof i2.CommonModule], [typeof i1.AXRadioComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXRadioModule, [typeof i1.AXRadioComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AXRadioComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<AXRadioModule>;
8
9
  }
@@ -3,8 +3,11 @@ import * as i1 from "./selection-list.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../checkbox/checkbox.module";
6
+ import * as i5 from "../radio/radio.module";
7
+ import * as i6 from "../label/label.module";
8
+ import * as i7 from "../form/form-field.module";
6
9
  export declare class AXSelectionListModule {
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectionListModule, [typeof i1.AXSelectionListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXCheckBoxModule], [typeof i1.AXSelectionListComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectionListModule, [typeof i1.AXSelectionListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXCheckBoxModule, typeof i5.AXRadioModule, typeof i6.AXLabelModule, typeof i7.AXFormModule], [typeof i1.AXSelectionListComponent]>;
9
12
  static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectionListModule>;
10
13
  }
@@ -5,5 +5,5 @@ export declare class AXSwitchComponent extends AXBaseValueComponentMixin {
5
5
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
6
  handleOnClickEvent(e: MouseEvent): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSwitchComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"]>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"]>;
9
9
  }
@@ -1,5 +1,3 @@
1
- export * from './tab-strip.component';
2
- export * from './tab-view.component';
3
1
  export * from './tabs.component';
4
2
  export * from './tab-item.component';
5
3
  export * from './tabs.class';
@@ -1,18 +1,6 @@
1
1
  import { AXEvent } from "../base";
2
- export interface AXTabStripItem {
3
- name?: string;
4
- text?: string;
5
- tooltip?: string;
6
- iconClassAfter?: string;
7
- iconClassBefore?: string;
8
- iconClass?: string;
9
- visible?: boolean;
10
- disabled?: boolean;
11
- data?: any;
12
- style?: string;
13
- active?: boolean;
14
- }
2
+ import { AXTabItemComponent } from "./tab-item.component";
15
3
  export declare class AXTabStripChangedEvent extends AXEvent {
16
- selectedTab: AXTabStripItem;
4
+ selectedTab: AXTabItemComponent;
17
5
  selectedIndex: number;
18
6
  }
@@ -1,4 +1,5 @@
1
- import { ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
1
+ import { ElementRef, ChangeDetectorRef, QueryList, EventEmitter } from '@angular/core';
2
+ import { AXTabStripChangedEvent } from './tabs.class';
2
3
  import { AXBaseComponent } from '../base';
3
4
  import { AXTabItemComponent } from './tab-item.component';
4
5
  import { AXTabContentDirective } from './tab-content.directive';
@@ -9,9 +10,10 @@ export declare class AXTabsComponent extends AXBaseComponent {
9
10
  minWidth: boolean;
10
11
  content: AXTabContentDirective;
11
12
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
13
+ onActiveTabChanged: EventEmitter<AXTabStripChangedEvent>;
12
14
  onRenderCssClass(): void;
13
15
  onViewInit(): void;
14
16
  _handleSelectionChanged(e: AXTabItemComponent): void;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, {}, ["_contentTabs"], ["ax-tab-item"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"]>;
17
19
  }
@@ -15,5 +15,5 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
15
15
  */
16
16
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["_contentMask"], ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; "checked": "checked"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["_contentMask"], ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
19
19
  }
@@ -25,5 +25,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
25
25
  _onValueChanged(oldValue: any, newValue: any): void;
26
26
  _handleOnBlurEvent(e: FocusEvent): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "5.0.23",
3
+ "version": "5.0.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.1.1",
6
6
  "@angular/core": "^13.1.1",
@@ -1,62 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, EventEmitter, Output, HostBinding, } from '@angular/core';
2
- import { AXSizableComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export class AXTabStripComponent extends AXSizableComponentMixin {
5
- constructor(elementRef, cdr) {
6
- super(elementRef, cdr);
7
- this.mode = 'default';
8
- this.direction = "horizontal";
9
- this.fitParent = 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
- get __hostClass() {
38
- return [`ax-tabs`, `ax-tabs-${this.mode ? this.mode : 'default'}`, `ax-tabs-${this.direction}`, `${this.fitParent ? 'ax-tabs-fit' : ''}`].join(' ');
39
- }
40
- }
41
- AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
42
- AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", items: "items", mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabStripComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: 'ax-tab-strip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['size'], host: { class: 'ax-tab-strip' }, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>" }]
46
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
47
- type: Input
48
- }], mode: [{
49
- type: Input
50
- }], direction: [{
51
- type: Input
52
- }], fitParent: [{
53
- type: Input
54
- }], minWidth: [{
55
- type: Input
56
- }], onSelectionChanged: [{
57
- type: Output
58
- }], __hostClass: [{
59
- type: HostBinding,
60
- args: ['class']
61
- }] } });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXN0cmlwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWItc3RyaXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi1zdHJpcC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNqQix1QkFBdUIsRUFHdkIsS0FBSyxFQUNMLFlBQVksRUFDWixNQUFNLEVBQ04sV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLFNBQVMsQ0FBQzs7QUFXbEQsTUFBTSxPQUFPLG1CQUFvQixTQUFRLHVCQUF1QjtJQUM5RCxZQUFZLFVBQXNCLEVBQUUsR0FBc0I7UUFDeEQsS0FBSyxDQUFDLFVBQVUsRUFBRSxHQUFHLENBQUMsQ0FBQ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lmPVwiaXRlbS52aXNpYmxlIT1mYWxzZVwiIChjbGljayk9XCJfaGFuZGxlQ2xpY2soaXRlbSxpKVwiPlxyXG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXByZWZpeFwiPjwvbmctY29udGVudD5cclxuICAgICAgICA8c3BhbiAqbmdJZj1cIml0ZW0udGV4dFwiPnt7aXRlbS50ZXh0fX08L3NwYW4+XHJcbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PlxyXG4gICAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPiJdfQ==
@@ -1,38 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren } from '@angular/core';
2
- import { AXTabComponent } from './tab.component';
3
- import { AXBaseComponent } from '../base';
4
- import * as i0 from "@angular/core";
5
- export class AXTabViewComponent extends AXBaseComponent {
6
- constructor(elementRef, cdr) {
7
- super(elementRef, cdr);
8
- this._tabs = [];
9
- }
10
- onViewInit() {
11
- this._tabs = Array.from(this._contentTabs).map(c => ({
12
- name: c.name,
13
- text: c.caption,
14
- tooltip: c.tooltip,
15
- icon: c.icon,
16
- visible: c.visible,
17
- disabled: c.disabled,
18
- }));
19
- this._cdr.detectChanges();
20
- }
21
- _handleSelectionChanged(e) {
22
- const tabs = Array.from(this._contentTabs);
23
- tabs.forEach(tab => {
24
- tab.hide();
25
- });
26
- tabs[e.selectedIndex].show();
27
- }
28
- }
29
- AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
30
- AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", 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\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabViewComponent, decorators: [{
32
- type: Component,
33
- args: [{ selector: 'ax-tab-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['size'], host: { class: 'ax-tab-view' }, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>" }]
34
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
35
- type: ContentChildren,
36
- args: [AXTabComponent]
37
- }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWItdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQ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OiBjLmRpc2FibGVkLFxyXG4gICAgICAgIH0pKTtcclxuICAgICAgICB0aGlzLl9jZHIuZGV0ZWN0Q2hhbmdlcygpO1xyXG5cclxuICAgIH1cclxuXHJcblxyXG4gICAgX2hhbmRsZVNlbGVjdGlvbkNoYW5nZWQoZTogQVhUYWJTdHJpcENoYW5nZWRFdmVudCkge1xyXG4gICAgICAgIGNvbnN0IHRhYnMgPSBBcnJheS5mcm9tKHRoaXMuX2NvbnRlbnRUYWJzKTtcclxuICAgICAgICB0YWJzLmZvckVhY2godGFiID0+IHtcclxuICAgICAgICAgICAgdGFiLmhpZGUoKTtcclxuICAgICAgICB9KTtcclxuICAgICAgICB0YWJzW2Uuc2VsZWN0ZWRJbmRleF0uc2hvdygpO1xyXG4gICAgfVxyXG5cclxufVxyXG4iLCI8IS0tIDxheC10YWItc3RyaXAgW2l0ZW1zXT1cIl90YWJzXCIgKG9uU2VsZWN0aW9uQ2hhbmdlZCk9XCJfaGFuZGxlU2VsZWN0aW9uQ2hhbmdlZCgkZXZlbnQpXCI+XHJcblxyXG48L2F4LXRhYi1zdHJpcD4gLS0+XHJcbjxkaXYgY2xhc3M9XCJheC10YWItdmlldy1jb250YWluZXJcIj5cclxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXRhYlwiPlxyXG4gICAgPC9uZy1jb250ZW50PlxyXG48L2Rpdj4iXX0=
@@ -1,58 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export class AXTabComponent extends AXBaseComponentMixin {
5
- constructor(elementRef, cdr) {
6
- super(elementRef, cdr);
7
- this.visible = true;
8
- this.disabled = false;
9
- this._render = false;
10
- }
11
- show() {
12
- this._getHostElement().style.display = 'unset';
13
- if (!this._render) {
14
- this._render = true;
15
- this._cdr.detectChanges();
16
- }
17
- }
18
- hide() {
19
- this._getHostElement().style.display = 'none';
20
- }
21
- }
22
- AXTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
23
- AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", 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: `
24
- <div *ngIf="_render" >
25
- <ng-content>
26
- </ng-content>
27
- </div>
28
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabComponent, decorators: [{
30
- type: Component,
31
- args: [{
32
- selector: 'ax-tab',
33
- template: `
34
- <div *ngIf="_render" >
35
- <ng-content>
36
- </ng-content>
37
- </div>
38
- `,
39
- changeDetection: ChangeDetectionStrategy.OnPush,
40
- encapsulation: ViewEncapsulation.None,
41
- host: { class: 'ax-tab', style: 'display:none' }
42
- }]
43
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { name: [{
44
- type: Input
45
- }], caption: [{
46
- type: Input
47
- }], tooltip: [{
48
- type: Input
49
- }], icon: [{
50
- type: Input
51
- }], visible: [{
52
- type: Input
53
- }], disabled: [{
54
- type: Input
55
- }], data: [{
56
- type: Input
57
- }] } });
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRz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biJdfQ==
@@ -1,19 +0,0 @@
1
- import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { AXSizableComponentMixin } from '../base';
3
- import { AXTabStripChangedEvent, AXTabStripItem } from './tabs.class';
4
- import * as i0 from "@angular/core";
5
- export declare class AXTabStripComponent extends AXSizableComponentMixin {
6
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
7
- private _items;
8
- get items(): AXTabStripItem[];
9
- set items(v: AXTabStripItem[]);
10
- mode: 'default' | 'end-line' | 'start-line' | 'pills' | 'pills-color';
11
- direction: "horizontal" | "vertical";
12
- fitParent: boolean;
13
- minWidth: boolean;
14
- onSelectionChanged: EventEmitter<AXTabStripChangedEvent>;
15
- _handleClick(tab: AXTabStripItem, index: number): void;
16
- private get __hostClass();
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTabStripComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabStripComponent, "ax-tab-strip", never, { "size": "size"; "items": "items"; "mode": "mode"; "direction": "direction"; "fitParent": "fitParent"; "minWidth": "minWidth"; }, { "onSelectionChanged": "onSelectionChanged"; }, never, ["ax-prefix", "ax-suffix"]>;
19
- }
@@ -1,14 +0,0 @@
1
- import { ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
2
- import { AXTabStripChangedEvent, AXTabStripItem } from './tabs.class';
3
- import { AXTabComponent } from './tab.component';
4
- import { AXBaseComponent } from '../base';
5
- import * as i0 from "@angular/core";
6
- export declare class AXTabViewComponent extends AXBaseComponent {
7
- _contentTabs: QueryList<AXTabComponent>;
8
- _tabs: AXTabStripItem[];
9
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
10
- onViewInit(): void;
11
- _handleSelectionChanged(e: AXTabStripChangedEvent): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTabViewComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabViewComponent, "ax-tab-view", never, { "size": "size"; }, {}, ["_contentTabs"], ["ax-tab"]>;
14
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export declare class AXTabComponent extends AXBaseComponentMixin {
5
- name: string;
6
- caption: string;
7
- tooltip: string;
8
- icon: string;
9
- visible: boolean;
10
- disabled: boolean;
11
- data: any;
12
- _render: boolean;
13
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
14
- show(): void;
15
- hide(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTabComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabComponent, "ax-tab", never, { "name": "name"; "caption": "caption"; "tooltip": "tooltip"; "icon": "icon"; "visible": "visible"; "disabled": "disabled"; "data": "data"; }, {}, never, ["*"]>;
18
- }