@acorex/components 18.12.37 → 18.12.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/color-palette/lib/color-palette-picker.component.d.ts +3 -0
  2. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
  3. package/esm2022/button-group/lib/button-group.component.mjs +2 -2
  4. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +28 -4
  5. package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +2 -2
  6. package/esm2022/dropdown/lib/dropdown-box.component.mjs +3 -3
  7. package/esm2022/form/lib/form-field.component.mjs +2 -2
  8. package/esm2022/form/lib/validation-rule.directive.mjs +1 -1
  9. package/esm2022/menu/lib/context-menu.component.mjs +2 -2
  10. package/esm2022/menu/lib/menu.component.mjs +2 -2
  11. package/esm2022/otp/lib/otp.component.mjs +32 -28
  12. package/esm2022/phone-box/lib/phone-box.component.mjs +21 -20
  13. package/esm2022/picker/lib/picker.component.mjs +8 -5
  14. package/esm2022/range-slider/lib/range-slider.component.mjs +1 -1
  15. package/esm2022/search-box/lib/search-box.component.mjs +4 -4
  16. package/esm2022/select-box/lib/select-box.component.mjs +6 -4
  17. package/esm2022/selection-list/lib/selection-list.component.mjs +9 -5
  18. package/esm2022/side-menu/lib/side-menu.component.mjs +2 -2
  19. package/esm2022/tabs/lib/tab-item.component.mjs +5 -4
  20. package/esm2022/text-area/lib/text-area.component.mjs +4 -4
  21. package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
  22. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  23. package/fesm2022/acorex-components-button-group.mjs +2 -2
  24. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  25. package/fesm2022/acorex-components-color-palette.mjs +27 -3
  26. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  27. package/fesm2022/acorex-components-drawer.mjs +2 -2
  28. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  29. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  30. package/fesm2022/acorex-components-form.mjs +1 -1
  31. package/fesm2022/acorex-components-form.mjs.map +1 -1
  32. package/fesm2022/acorex-components-menu.mjs +4 -4
  33. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  34. package/fesm2022/acorex-components-otp.mjs +31 -27
  35. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  36. package/fesm2022/acorex-components-phone-box.mjs +20 -19
  37. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  38. package/fesm2022/acorex-components-picker.mjs +7 -4
  39. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  40. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  41. package/fesm2022/acorex-components-search-box.mjs +2 -2
  42. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  43. package/fesm2022/acorex-components-select-box.mjs +5 -3
  44. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  45. package/fesm2022/acorex-components-selection-list.mjs +7 -3
  46. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  47. package/fesm2022/acorex-components-side-menu.mjs +2 -2
  48. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  49. package/fesm2022/acorex-components-tabs.mjs +4 -3
  50. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  51. package/fesm2022/acorex-components-text-area.mjs +2 -2
  52. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  53. package/form/lib/validation-rule.directive.d.ts +1 -1
  54. package/otp/lib/otp.component.d.ts +16 -15
  55. package/package.json +1 -1
  56. package/phone-box/lib/phone-box.component.d.ts +1 -2
  57. package/picker/lib/picker.component.d.ts +2 -2
  58. package/range-slider/lib/range-slider.component.d.ts +2 -2
  59. package/tabs/lib/tab-item.component.d.ts +9 -9
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-text-area.mjs","sources":["../../../../libs/components/text-area/src/lib/text-area.component.ts","../../../../libs/components/text-area/src/lib/text-area.component.html","../../../../libs/components/text-area/src/lib/text-area.module.ts","../../../../libs/components/text-area/src/acorex-components-text-area.ts"],"sourcesContent":["import {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/components/common';\n\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, ViewEncapsulation, forwardRef } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * @category\n * This component provides the main scheduler functionality, integrating various views and handling scheduling operations.\n */\n@Component({\n selector: 'ax-text-area',\n templateUrl: './text-area.component.html',\n styleUrls: ['./text-area.component.scss'],\n inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'state', 'name', 'placeholder', 'maxLength', 'look'],\n outputs: [\n 'onBlur',\n 'onFocus',\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'readonlyChange',\n 'disabledChange',\n 'onKeyDown',\n 'onKeyUp',\n 'onKeyPress',\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXComponent, useExisting: AXTextAreaComponent },\n { provide: AXFocusableComponent, useExisting: AXTextAreaComponent },\n { provide: AXClearableComponent, useExisting: AXTextAreaComponent },\n { provide: AXValuableComponent, useExisting: AXTextAreaComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXTextAreaComponent),\n multi: true,\n },\n ],\n})\nexport class AXTextAreaComponent extends classes(MXInputBaseValueComponent<string>, MXLookComponent) {\n \n /** @ignore */\n @ViewChild('input')\n input: ElementRef<HTMLInputElement>;\n\n /**\n * Specifies the number of rows for the component, typically used for configuring the size of a text area or similar input field.\n */\n @Input()\n rows = 0;\n\n /**\n * Indicates whether the component allows resizing.\n */\n @Input()\n allowResize = true;\n\n /**\n * Determines whether a counter is displayed in the component.\n */\n @Input()\n public showCounter: boolean;\n\n /**\n * Specifies the maximum number of characters allowed in the input field.\n */\n @Input()\n public maxLength: number;\n\n /** @ignore */\n protected _handleModelChange(value: string | null) {\n this.commitValue(value, true);\n }\n}\n","<div class=\"ax-editor-container ax-look-{{this.look}}\" [class.ax-state-disabled]=\"disabled\">\n <textarea class=\"ax-textarea\" #input [id]=\"id\" [name]=\"name\" type=\"text\" [rows]=\"rows\"\n [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\" [class.ax-state-no-resizing]=\"!allowResize\" [disabled]=\"disabled\"\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"value\" (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"emitOnKeydownEvent($event)\" (keyup)=\"emitOnKeyupEvent($event)\" (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\">\n</textarea>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n @if(showCounter){\n <div class=\"ax-counter\">\n {{ input.value.length }}\n @if(maxLength){\n <span>/ {{ maxLength }}</span>\n }\n </div>\n }\n</div>\n<div class=\"ax-error-container\"></div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXTextAreaComponent } from './text-area.component';\n\n@NgModule({\n declarations: [AXTextAreaComponent],\n imports: [CommonModule, FormsModule],\n exports: [AXTextAreaComponent],\n})\nexport class AXTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAaA;;;AAGG;AAgCG,MAAO,mBAAoB,SAAQ,OAAO,EAAC,yBAAiC,GAAE,eAAe,CAAC,CAAA;AA/BpG,IAAA,WAAA,GAAA;;AAqCE;;AAEG;QAEH,IAAI,CAAA,IAAA,GAAG,CAAC;AAER;;AAEG;QAEH,IAAW,CAAA,WAAA,GAAG,IAAI;AAkBnB;;AAHW,IAAA,kBAAkB,CAAC,KAAoB,EAAA;AAC/C,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,mBAAmB,CAAA,EAAA,CAAA,CAAA;+GAElB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;;2FAGxB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;oBACpC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-text-area.mjs","sources":["../../../../libs/components/text-area/src/lib/text-area.component.ts","../../../../libs/components/text-area/src/lib/text-area.component.html","../../../../libs/components/text-area/src/lib/text-area.module.ts","../../../../libs/components/text-area/src/acorex-components-text-area.ts"],"sourcesContent":["import {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/components/common';\n\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * @category\n * This component provides the main scheduler functionality, integrating various views and handling scheduling operations.\n */\n@Component({\n selector: 'ax-text-area',\n templateUrl: './text-area.component.html',\n styleUrls: ['./text-area.component.scss'],\n inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'state', 'name', 'placeholder', 'maxLength', 'look'],\n outputs: [\n 'onBlur',\n 'onFocus',\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'readonlyChange',\n 'disabledChange',\n 'onKeyDown',\n 'onKeyUp',\n 'onKeyPress',\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXComponent, useExisting: AXTextAreaComponent },\n { provide: AXFocusableComponent, useExisting: AXTextAreaComponent },\n { provide: AXClearableComponent, useExisting: AXTextAreaComponent },\n { provide: AXValuableComponent, useExisting: AXTextAreaComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXTextAreaComponent),\n multi: true,\n },\n ],\n})\nexport class AXTextAreaComponent extends classes(MXInputBaseValueComponent<string>, MXLookComponent) {\n /** @ignore */\n @ViewChild('input')\n input: ElementRef<HTMLInputElement>;\n\n /**\n * Specifies the number of rows for the component, typically used for configuring the size of a text area or similar input field.\n */\n @Input()\n rows = 0;\n\n /**\n * Indicates whether the component allows resizing.\n */\n @Input()\n allowResize = true;\n\n /**\n * Determines whether a counter is displayed in the component.\n */\n @Input()\n public showCounter: boolean;\n\n /**\n * Specifies the maximum number of characters allowed in the input field.\n */\n @Input()\n public maxLength: number;\n\n /** @ignore */\n protected _handleModelChange(value: string | null) {\n this.commitValue(value, true);\n }\n}\n","<div class=\"ax-editor-container ax-look-{{ this.look }}\" [class.ax-state-disabled]=\"disabled\">\n <textarea\n class=\"ax-textarea\"\n #input\n [id]=\"id\"\n [name]=\"name\"\n type=\"text\"\n [rows]=\"rows\"\n [attr.placeholder]=\"placeholder\"\n [attr.maxlength]=\"maxLength\"\n [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-readonly]=\"readonly\"\n [class.ax-state-no-resizing]=\"!allowResize\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"emitOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n ></textarea>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n @if (showCounter) {\n <div class=\"ax-counter\">\n {{ input.value.length }}\n @if (maxLength) {\n <span>/ {{ maxLength }}</span>\n }\n </div>\n }\n</div>\n<div class=\"ax-error-container\"></div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXTextAreaComponent } from './text-area.component';\n\n@NgModule({\n declarations: [AXTextAreaComponent],\n imports: [CommonModule, FormsModule],\n exports: [AXTextAreaComponent],\n})\nexport class AXTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAqBA;;;AAGG;AAgCG,MAAO,mBAAoB,SAAQ,OAAO,EAAC,yBAAiC,GAAE,eAAe,CAAC,CAAA;AA/BpG,IAAA,WAAA,GAAA;;AAoCE;;AAEG;QAEH,IAAI,CAAA,IAAA,GAAG,CAAC;AAER;;AAEG;QAEH,IAAW,CAAA,WAAA,GAAG,IAAI;AAkBnB;;AAHW,IAAA,kBAAkB,CAAC,KAAoB,EAAA;AAC/C,QAAA,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;;8GA/BpB,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAZnB,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,WAAA,EAAA,aAAA,EAAA,SAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,aAAA,EAA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A,MAAA,EAAA,CAAA,mqBAAA,CAAA,EAAA;8BAKD,KAAK,EAAA,CAAA;sBADJ,SAAS;uBAAC,OAAO;gBAOlB,IAAI,EAAA,CAAA;sBADH;gBAOD,WAAW,EAAA,CAAA;sBADV;gBAOM,WAAW,EAAA,CAAA;sBADjB;gBAOM,SAAS,EAAA,CAAA;sBADf;;;MExEU,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAJZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAE,WAAW,aACzB,mBAAmB,CAAA,EAAA,CAAA,CAAA;+GAElB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;;2FAGxB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;oBACpC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -4,7 +4,7 @@ import { OnDestroy, OnInit } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXValidationRuleDirective implements OnInit, OnDestroy {
6
6
  private host;
7
- rule: string;
7
+ rule: 'required' | 'regex' | 'minLength' | 'maxLength' | 'lessThan' | 'length' | 'greaterThan' | 'equal' | 'callback' | 'between' | 'email' | 'phone';
8
8
  options: Omit<AXValidationRuleOptions, 'message'>;
9
9
  message: string;
10
10
  constructor(host: AXValuableComponent);
@@ -13,22 +13,23 @@ declare const AXOtpComponent_base: import("polytype").Polytype.ClusteredConstruc
13
13
  */
14
14
  export declare class AXOtpComponent extends AXOtpComponent_base implements OnInit, AfterViewInit {
15
15
  /**
16
- * Holds the length of the OTP input field.
17
- */
16
+ * Holds the length of the OTP input field.
17
+ */
18
18
  length: import("@angular/core").ModelSignal<number>;
19
19
  /**
20
- * @event
21
- * Emits an event when the OTP input is completed.
22
- */
20
+ * @event
21
+ * Emits an event when the OTP input is completed.
22
+ */
23
23
  onCompleted: import("@angular/core").OutputEmitterRef<AXOtpCompletedEvent>;
24
24
  /**
25
- * Stores the values entered in the OTP input fields.
26
- */
27
- inputValues: number[];
25
+ * Stores the values entered in the OTP input fields.
26
+ */
27
+ inputValues: string[];
28
28
  /**
29
- * Holds the input values as a signal.
30
- */
29
+ * Holds the input values as a signal.
30
+ */
31
31
  inputs: import("@angular/core").WritableSignal<number[]>;
32
+ private changeInputs;
32
33
  /** @ignore */
33
34
  constructor();
34
35
  /** @ignore */
@@ -36,12 +37,12 @@ export declare class AXOtpComponent extends AXOtpComponent_base implements OnIni
36
37
  /** @ignore */
37
38
  ngAfterViewInit(): void;
38
39
  /**
39
- * Converts the value string to input values and updates the inputValues array.
40
- */
40
+ * Converts the value string to input values and updates the inputValues array.
41
+ */
41
42
  mapValueToInputs(): void;
42
43
  /**
43
- * Resets the input values to an empty array.
44
- */
44
+ * Resets the input values to an empty array.
45
+ */
45
46
  reset(): void;
46
47
  /** @ignore */
47
48
  private _render;
@@ -56,7 +57,7 @@ export declare class AXOtpComponent extends AXOtpComponent_base implements OnIni
56
57
  /** @ignore */
57
58
  protected _handleOnPaste(event: ClipboardEvent): void;
58
59
  /** @ignore */
59
- protected _handleOnClick(i: any): void;
60
+ protected _handleFocus(i: any): void;
60
61
  /** @ignore */
61
62
  protected _emitOnComplete(): void;
62
63
  static ɵfac: i0.ɵɵFactoryDeclaration<AXOtpComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "18.12.37",
3
+ "version": "18.12.38",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.2.0",
6
6
  "@angular/core": ">=18.2.0",
@@ -12,6 +12,7 @@ declare const AXPhoneBoxComponent_base: import("polytype").Polytype.ClusteredCon
12
12
  * A component that handles phone number input with various configurations.
13
13
  */
14
14
  export declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
15
+ #private;
15
16
  /** @ignore */
16
17
  protected _updateOn: 'change' | 'blur' | 'submit';
17
18
  /** @ignore */
@@ -46,8 +47,6 @@ export declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
46
47
  protected dataSource: AXDataSource<CountryItem>;
47
48
  /** @ignore */
48
49
  protected handleCountryOnClosed(): void;
49
- /** @ignore */
50
- constructor();
51
50
  /**
52
51
  * Determines if the keyboard event is a valid action based on allowed keys and key codes.
53
52
  */
@@ -52,8 +52,8 @@ export declare class AXPickerComponent extends MXBaseComponent implements AfterC
52
52
  /** @ignore */
53
53
  private _detectSelectedItemsByValue;
54
54
  /**
55
- * Refreshes the component by setting heights and detecting selected items by value.
56
- */
55
+ * Refreshes the component by setting heights and detecting selected items by value.
56
+ */
57
57
  refresh(): void;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerComponent, never>;
59
59
  static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, {}, {}, ["_columns"], never, false, never>;
@@ -1,4 +1,4 @@
1
- import { AXOrientation, AXStyleColorType, MXValueComponent } from '@acorex/components/common';
1
+ import { AXOrientation, MXValueComponent } from '@acorex/components/common';
2
2
  import { AXRangeSliderMode, AXRangeSliderSnapMode, AXRangeSliderTooltipMode, AXRangeSliderValue } from './range-slider.class';
3
3
  import * as i0 from "@angular/core";
4
4
  declare const AXRangeSliderComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
@@ -27,7 +27,7 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
27
27
  * Color theme for the slider, affecting highlight, tooltip, and handler.
28
28
  * @default 'primary'
29
29
  */
30
- color: import("@angular/core").InputSignal<AXStyleColorType>;
30
+ color: import("@angular/core").InputSignal<"success" | "primary" | "secondary" | "warning" | "danger" | "info">;
31
31
  /**
32
32
  * @description
33
33
  * The value(s) of the slider. Can be a single number for single mode or an array of two numbers for dual mode.
@@ -7,17 +7,17 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class AXTabItemComponent extends MXInteractiveComponent {
9
9
  /**
10
- * Defines the text content to be displayed within the component.
11
- */
10
+ * Defines the text content to be displayed within the component.
11
+ */
12
12
  text: string;
13
13
  /**
14
- * Defines a unique identifier for the component instance.
15
- */
14
+ * Defines a unique identifier for the component instance.
15
+ */
16
16
  key: string;
17
17
  template: TemplateRef<unknown>;
18
18
  /**
19
- * Defines a custom template for the component's header.
20
- */
19
+ * Defines a custom template for the component's header.
20
+ */
21
21
  headerTemplate: TemplateRef<unknown>;
22
22
  /**
23
23
  * Emits an event when the `active` state of the component changes.
@@ -32,9 +32,9 @@ export declare class AXTabItemComponent extends MXInteractiveComponent {
32
32
  /** @ignore */
33
33
  private _active;
34
34
  /**
35
- * Gets or sets the component's active state, controlling its behavior and appearance.
36
- * @param value {boolean}
37
- */
35
+ * Gets or sets the component's active state, controlling its behavior and appearance.
36
+ * @param value {boolean}
37
+ */
38
38
  get active(): boolean;
39
39
  set active(value: boolean);
40
40
  /**