@acorex/components 20.2.21 → 21.0.0-next.10

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 (50) hide show
  1. package/drawer/README.md +2 -2
  2. package/drawer/index.d.ts +32 -57
  3. package/drawer-legacy/README.md +3 -0
  4. package/drawer-legacy/index.d.ts +86 -0
  5. package/fesm2022/acorex-components-color-palette.mjs +1 -1
  6. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  7. package/fesm2022/acorex-components-data-pager.mjs +1 -1
  8. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  9. package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
  10. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
  11. package/fesm2022/acorex-components-drawer.mjs +58 -143
  12. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  13. package/fesm2022/acorex-components-file-explorer.mjs +1 -1
  14. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  15. package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
  16. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
  17. package/fesm2022/acorex-components-number-box.mjs +97 -310
  18. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  19. package/fesm2022/acorex-components-query-builder.mjs +1 -1
  20. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  21. package/fesm2022/acorex-components-rest-api-generator.mjs +2 -2
  22. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  23. package/fesm2022/acorex-components-rrule.mjs +28 -28
  24. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  25. package/fesm2022/acorex-components-selection-list-legacy.mjs +220 -0
  26. package/fesm2022/acorex-components-selection-list-legacy.mjs.map +1 -0
  27. package/fesm2022/acorex-components-selection-list.mjs +14 -69
  28. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  29. package/number-box/README.md +2 -2
  30. package/number-box/index.d.ts +31 -171
  31. package/number-box-legacy/README.md +3 -0
  32. package/number-box-legacy/index.d.ts +191 -0
  33. package/package.json +20 -20
  34. package/rrule/index.d.ts +3 -3
  35. package/selection-list/README.md +2 -2
  36. package/selection-list/index.d.ts +16 -57
  37. package/selection-list-legacy/README.md +3 -0
  38. package/selection-list-legacy/index.d.ts +93 -0
  39. package/drawer-2/README.md +0 -3
  40. package/drawer-2/index.d.ts +0 -62
  41. package/fesm2022/acorex-components-drawer-2.mjs +0 -134
  42. package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
  43. package/fesm2022/acorex-components-number-box-2.mjs +0 -183
  44. package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
  45. package/fesm2022/acorex-components-selection-list-2.mjs +0 -165
  46. package/fesm2022/acorex-components-selection-list-2.mjs.map +0 -1
  47. package/number-box-2/README.md +0 -3
  48. package/number-box-2/index.d.ts +0 -41
  49. package/selection-list-2/README.md +0 -3
  50. package/selection-list-2/index.d.ts +0 -52
@@ -0,0 +1,191 @@
1
+ import * as polytype from 'polytype';
2
+ import * as i0 from '@angular/core';
3
+ import { AfterViewInit, ElementRef } from '@angular/core';
4
+ import { MaskedNumber } from 'imask';
5
+ import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
6
+ import * as i1 from '@angular/common';
7
+ import * as i2 from '@angular/forms';
8
+ import * as i3 from '@acorex/components/button';
9
+ import * as i4 from '@acorex/components/decorators';
10
+ import * as i5 from 'angular-imask';
11
+
12
+ declare const AXNumberBoxLegacyComponent_base: polytype.Polytype.ClusteredConstructor<[{
13
+ new (): MXInputBaseValueComponent<number>;
14
+ ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
15
+ ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
16
+ }, typeof MXLookComponent]>;
17
+ /**
18
+ * The NumberBox is a component which detects user interaction and triggers a corresponding event
19
+ *
20
+ * @category Components
21
+ */
22
+ declare class AXNumberBoxLegacyComponent extends AXNumberBoxLegacyComponent_base implements AfterViewInit {
23
+ /** @ignore */
24
+ input: ElementRef<HTMLInputElement>;
25
+ /** @ignore */
26
+ private _thousandsSeparator;
27
+ /**
28
+ * This property determines the type of the input element (e.g., 'text', 'password', 'email', etc.). It can be dynamically bound from a parent component template to change the input field type based on different conditions or requirements.
29
+ */
30
+ type: i0.InputSignal<string>;
31
+ /**
32
+ * boolean value that specifies the number box change step by scrolling.
33
+ */
34
+ changeOnScroll: boolean;
35
+ /** @ignore */
36
+ private _allDigits;
37
+ /**
38
+ * A number value that specifies the all digits of number.
39
+ */
40
+ get allDigits(): number;
41
+ /**
42
+ * Sets the all digits of number.
43
+ * @param {number} v
44
+ */
45
+ set allDigits(v: number);
46
+ /**
47
+ * A character value that specifies the separator character.
48
+ */
49
+ get thousandsSeparator(): string;
50
+ /**
51
+ * Sets the thousands separator for formatting.
52
+ * @param {string} v
53
+ */
54
+ set thousandsSeparator(v: string);
55
+ /** @ignore */
56
+ private _padDecimalZeros;
57
+ /**
58
+ * A character value that specifies the separator character.
59
+ */
60
+ get padDecimalZeros(): boolean;
61
+ /**
62
+ * Sets whether decimal zeros should be padded.
63
+ * @param {boolean} v
64
+ */
65
+ set padDecimalZeros(v: boolean);
66
+ /**
67
+ * Specifies the value that is used to increment or decrement the **Integer** part of number
68
+ */
69
+ /**
70
+ * Defines the increment step value.
71
+ */
72
+ step: number;
73
+ /** @ignore */
74
+ private _decimals;
75
+ /**
76
+ * Specifies the number of decimals that the user can enter
77
+ */
78
+ get decimals(): number;
79
+ /**
80
+ * Sets the decimal places; defaults to 0 if not provided.
81
+ */
82
+ set decimals(v: number);
83
+ /**
84
+ * Specifies the value that is used to increment or decrement the **Deciaml** part of number
85
+ */
86
+ /**
87
+ * Defines the step size for decimal values.
88
+ * @defaultvalue 'auto'
89
+ */
90
+ decimalStep: number | 'auto';
91
+ /**
92
+ * Specifies whether the Up and Down spin buttons will be rendered or not
93
+ */
94
+ /**
95
+ * Indicates whether spin buttons are displayed.
96
+ * @defaultvalue true
97
+ */
98
+ showSpinButtons: boolean;
99
+ /** @ignore */
100
+ private _minValue;
101
+ /**
102
+ * Specifies the smallest value that is valid
103
+ */
104
+ get minValue(): number;
105
+ /**
106
+ * Sets the number of decimal places to be used.
107
+ * @param {number} v
108
+ * @defaultvalue 0
109
+ */
110
+ set minValue(v: number);
111
+ /** @ignore */
112
+ private _maxValue;
113
+ /**
114
+ * Specifies the greatest value that is valid
115
+ */
116
+ get maxValue(): number;
117
+ /**
118
+ * Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
119
+ * @param v
120
+ */
121
+ set maxValue(v: number);
122
+ /**
123
+ * CSS classes to apply to the component.
124
+ * @param classNames
125
+ */
126
+ /**
127
+ * CSS classes to apply to the component.
128
+ */
129
+ classNames: string;
130
+ /**
131
+ * @ignore
132
+ */
133
+ _maskObj: MaskedNumber;
134
+ /** @ignore */
135
+ /** @ignore */
136
+ private _maskDirective;
137
+ /** @ignore */
138
+ private _onWheelFlag;
139
+ constructor();
140
+ /** @ignore */
141
+ ngAfterViewInit(): void;
142
+ /**
143
+ * Handles internal option changes and updates the mask accordingly.
144
+ */
145
+ internalOptionChanged(): void;
146
+ /**
147
+ * Resets the input element to its default state and calls the parent class reset method.
148
+ */
149
+ reset(): void;
150
+ /**
151
+ * Ensures the value is within the min-max range, returning the default if null.
152
+ * @param value
153
+ */
154
+ internalSetValue(value: any): number;
155
+ /** @ignore */
156
+ private _updateMask;
157
+ /** @ignore */
158
+ _handleModelChange(value: number): void;
159
+ /** @ignore */
160
+ _handleOnKeydownEvent(e: KeyboardEvent): void;
161
+ /** @ignore */
162
+ protected _handleUpDownClick(v: -1 | 1, e: Event): void;
163
+ /**
164
+ * Increases the value by the step amount, ensuring it's at least the minimum value.
165
+ */
166
+ stepUp(u?: boolean): void;
167
+ /**
168
+ * Decreases the value by the step amount, ensuring it's at least the minimum value.
169
+ */
170
+ stepDown(u?: boolean): void;
171
+ /**
172
+ * Increases the value by the decimal step amount, using 'auto' or a custom step value.
173
+ */
174
+ decimalStepUp(u?: boolean): void;
175
+ /**
176
+ * Decreases the value by the decimal step amount, using 'auto' or a custom step value.
177
+ */
178
+ decimalStepDown(u?: boolean): void;
179
+ onWheel(event: WheelEvent): void;
180
+ private get __hostName();
181
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyComponent, never>;
182
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxLegacyComponent, "ax-number-box-legacy", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; }; "allDigits": { "alias": "allDigits"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "padDecimalZeros": { "alias": "padDecimalZeros"; "required": false; }; "step": { "alias": "step"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "decimalStep": { "alias": "decimalStep"; "required": false; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
183
+ }
184
+
185
+ declare class AXNumberBoxLegacyModule {
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyModule, never>;
187
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxLegacyModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.IMaskModule, typeof AXNumberBoxLegacyComponent], [typeof AXNumberBoxLegacyComponent]>;
188
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxLegacyModule>;
189
+ }
190
+
191
+ export { AXNumberBoxLegacyComponent, AXNumberBoxLegacyModule };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.2.21",
3
+ "version": "21.0.0-next.10",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.2.21",
6
- "@acorex/cdk": "20.2.21",
5
+ "@acorex/core": "21.0.0-next.10",
6
+ "@acorex/cdk": "21.0.0-next.10",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
@@ -84,14 +84,14 @@
84
84
  "types": "./audio-wave/index.d.ts",
85
85
  "default": "./fesm2022/acorex-components-audio-wave.mjs"
86
86
  },
87
- "./avatar": {
88
- "types": "./avatar/index.d.ts",
89
- "default": "./fesm2022/acorex-components-avatar.mjs"
90
- },
91
87
  "./autocomplete": {
92
88
  "types": "./autocomplete/index.d.ts",
93
89
  "default": "./fesm2022/acorex-components-autocomplete.mjs"
94
90
  },
91
+ "./avatar": {
92
+ "types": "./avatar/index.d.ts",
93
+ "default": "./fesm2022/acorex-components-avatar.mjs"
94
+ },
95
95
  "./badge": {
96
96
  "types": "./badge/index.d.ts",
97
97
  "default": "./fesm2022/acorex-components-badge.mjs"
@@ -140,14 +140,14 @@
140
140
  "types": "./color-box/index.d.ts",
141
141
  "default": "./fesm2022/acorex-components-color-box.mjs"
142
142
  },
143
- "./command": {
144
- "types": "./command/index.d.ts",
145
- "default": "./fesm2022/acorex-components-command.mjs"
146
- },
147
143
  "./color-palette": {
148
144
  "types": "./color-palette/index.d.ts",
149
145
  "default": "./fesm2022/acorex-components-color-palette.mjs"
150
146
  },
147
+ "./command": {
148
+ "types": "./command/index.d.ts",
149
+ "default": "./fesm2022/acorex-components-command.mjs"
150
+ },
151
151
  "./comment": {
152
152
  "types": "./comment/index.d.ts",
153
153
  "default": "./fesm2022/acorex-components-comment.mjs"
@@ -196,9 +196,9 @@
196
196
  "types": "./drawer/index.d.ts",
197
197
  "default": "./fesm2022/acorex-components-drawer.mjs"
198
198
  },
199
- "./drawer-2": {
200
- "types": "./drawer-2/index.d.ts",
201
- "default": "./fesm2022/acorex-components-drawer-2.mjs"
199
+ "./drawer-legacy": {
200
+ "types": "./drawer-legacy/index.d.ts",
201
+ "default": "./fesm2022/acorex-components-drawer-legacy.mjs"
202
202
  },
203
203
  "./dropdown": {
204
204
  "types": "./dropdown/index.d.ts",
@@ -292,9 +292,9 @@
292
292
  "types": "./number-box/index.d.ts",
293
293
  "default": "./fesm2022/acorex-components-number-box.mjs"
294
294
  },
295
- "./number-box-2": {
296
- "types": "./number-box-2/index.d.ts",
297
- "default": "./fesm2022/acorex-components-number-box-2.mjs"
295
+ "./number-box-legacy": {
296
+ "types": "./number-box-legacy/index.d.ts",
297
+ "default": "./fesm2022/acorex-components-number-box-legacy.mjs"
298
298
  },
299
299
  "./otp": {
300
300
  "types": "./otp/index.d.ts",
@@ -396,9 +396,9 @@
396
396
  "types": "./selection-list/index.d.ts",
397
397
  "default": "./fesm2022/acorex-components-selection-list.mjs"
398
398
  },
399
- "./selection-list-2": {
400
- "types": "./selection-list-2/index.d.ts",
401
- "default": "./fesm2022/acorex-components-selection-list-2.mjs"
399
+ "./selection-list-legacy": {
400
+ "types": "./selection-list-legacy/index.d.ts",
401
+ "default": "./fesm2022/acorex-components-selection-list-legacy.mjs"
402
402
  },
403
403
  "./side-menu": {
404
404
  "types": "./side-menu/index.d.ts",
package/rrule/index.d.ts CHANGED
@@ -62,15 +62,15 @@ declare class AXRruleComponent {
62
62
  textChange: _angular_core.OutputEmitterRef<string>;
63
63
  protected freqs: {
64
64
  text: string;
65
- value: number;
65
+ id: number;
66
66
  }[];
67
67
  protected weekdays: {
68
68
  text: string;
69
- value: number;
69
+ id: number;
70
70
  }[];
71
71
  protected months: {
72
72
  text: string;
73
- value: number;
73
+ id: number;
74
74
  }[];
75
75
  protected timezones: string[];
76
76
  protected hours: number[];
@@ -1,3 +1,3 @@
1
- # @acorex/components/selection-list
1
+ # @acorex/components/selection-list-2
2
2
 
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/selection-list`.
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/selection-list-2`.
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef } from '@angular/core';
3
3
  import { MXSelectionValueComponent, AXDirection } from '@acorex/cdk/common';
4
+ import { AXSelectionGroupSelectedKeys } from '@acorex/cdk/selection';
4
5
  import * as i1 from '@angular/common';
5
6
  import * as i2 from '@angular/forms';
6
7
  import * as i3 from '@acorex/components/check-box';
@@ -9,78 +10,36 @@ import * as i5 from '@acorex/components/label';
9
10
  import * as i6 from '@acorex/components/form';
10
11
 
11
12
  type AXSelectionListLook = 'solid' | 'divided' | 'card';
13
+ type AXSelectionListItem = {
14
+ id: string | number;
15
+ text: string;
16
+ hint?: string;
17
+ disabled?: boolean;
18
+ };
19
+
12
20
  /**
13
21
  * The Button is a component which detects user interaction and triggers a corresponding event
14
22
  *
15
23
  * @category Components
16
24
  */
17
25
  declare class AXSelectionListComponent extends MXSelectionValueComponent {
18
- /**
19
- * sets the direction of the component.
20
- * @param {AXDirection} value
21
- */
22
- direction: i0.InputSignal<AXDirection>;
23
- /**
24
- * The custom template used for rendering content.
25
- *
26
- * @param {TemplateRef<unknown>} customTemplate
27
- */
28
- customTemplate: i0.InputSignal<TemplateRef<unknown>>;
29
- /** @ignore */
26
+ readonly direction: i0.InputSignal<AXDirection>;
27
+ readonly customTemplate: i0.InputSignal<TemplateRef<unknown>>;
28
+ readonly look: i0.InputSignal<AXSelectionListLook>;
29
+ protected changeState(e: AXSelectionGroupSelectedKeys): void;
30
30
  private _showControl;
31
- /**
32
- * @param {void}
33
- * Gets the current state of the control visibility.
34
- */
35
31
  get showControl(): boolean;
36
- /**
37
- * @param {boolean} v
38
- * Sets the visibility state of the control.
39
- */
40
32
  set showControl(v: boolean);
41
- /** @ignore */
42
33
  private _items;
43
- /**
44
- * Gets the list of items.
45
- * @param {void}
46
- */
47
- get items(): any[];
48
- /**
49
- * Sets the list of items.
50
- *
51
- * @param {any[]} v
52
- */
53
- set items(v: any[]);
54
- /** @ignore */
34
+ get items(): AXSelectionListItem[];
35
+ set items(v: AXSelectionListItem[]);
55
36
  private _hintField;
56
- /**
57
- * Gets the field used for displaying hints.
58
- */
59
37
  get hintField(): string;
60
- /**
61
- * Sets the field used for displaying hints.
62
- *
63
- * @param {string} v
64
- */
65
38
  set hintField(v: string);
66
- /**
67
- * Retrieves an item from the list by its key.
68
- *
69
- * @param {unknown} key - The key to search for.
70
- */
71
39
  getItemByKey(key: unknown): unknown;
72
- /**
73
- * Defines the visual appearance of the selection list.
74
- *
75
- * @defaultValue 'solid'
76
- */
77
- look: AXSelectionListLook;
78
- /** @ignore */
79
- protected _handleOnItemValueChange(item: any, e: Event): void;
80
- /** @ignore */
81
40
  private get __hostClass();
82
41
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
84
43
  }
85
44
 
86
45
  declare class AXSelectionListModule {
@@ -90,4 +49,4 @@ declare class AXSelectionListModule {
90
49
  }
91
50
 
92
51
  export { AXSelectionListComponent, AXSelectionListModule };
93
- export type { AXSelectionListLook };
52
+ export type { AXSelectionListItem, AXSelectionListLook };
@@ -0,0 +1,3 @@
1
+ # @acorex/components/selection-list
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/selection-list`.
@@ -0,0 +1,93 @@
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { MXSelectionValueComponent, AXDirection } from '@acorex/cdk/common';
4
+ import * as i1 from '@angular/common';
5
+ import * as i2 from '@angular/forms';
6
+ import * as i3 from '@acorex/components/check-box';
7
+ import * as i4 from '@acorex/components/radio';
8
+ import * as i5 from '@acorex/components/label';
9
+ import * as i6 from '@acorex/components/form';
10
+
11
+ type AXSelectionListLook = 'solid' | 'divided' | 'card';
12
+ /**
13
+ * The Button is a component which detects user interaction and triggers a corresponding event
14
+ *
15
+ * @category Components
16
+ */
17
+ declare class AXSelectionListLegacyComponent extends MXSelectionValueComponent {
18
+ /**
19
+ * sets the direction of the component.
20
+ * @param {AXDirection} value
21
+ */
22
+ direction: i0.InputSignal<AXDirection>;
23
+ /**
24
+ * The custom template used for rendering content.
25
+ *
26
+ * @param {TemplateRef<unknown>} customTemplate
27
+ */
28
+ customTemplate: i0.InputSignal<TemplateRef<unknown>>;
29
+ /** @ignore */
30
+ private _showControl;
31
+ /**
32
+ * @param {void}
33
+ * Gets the current state of the control visibility.
34
+ */
35
+ get showControl(): boolean;
36
+ /**
37
+ * @param {boolean} v
38
+ * Sets the visibility state of the control.
39
+ */
40
+ set showControl(v: boolean);
41
+ /** @ignore */
42
+ private _items;
43
+ /**
44
+ * Gets the list of items.
45
+ * @param {void}
46
+ */
47
+ get items(): any[];
48
+ /**
49
+ * Sets the list of items.
50
+ *
51
+ * @param {any[]} v
52
+ */
53
+ set items(v: any[]);
54
+ /** @ignore */
55
+ private _hintField;
56
+ /**
57
+ * Gets the field used for displaying hints.
58
+ */
59
+ get hintField(): string;
60
+ /**
61
+ * Sets the field used for displaying hints.
62
+ *
63
+ * @param {string} v
64
+ */
65
+ set hintField(v: string);
66
+ /**
67
+ * Retrieves an item from the list by its key.
68
+ *
69
+ * @param {unknown} key - The key to search for.
70
+ */
71
+ getItemByKey(key: unknown): unknown;
72
+ /**
73
+ * Defines the visual appearance of the selection list.
74
+ *
75
+ * @defaultValue 'solid'
76
+ */
77
+ look: AXSelectionListLook;
78
+ /** @ignore */
79
+ protected _handleOnItemValueChange(item: any, e: Event): void;
80
+ /** @ignore */
81
+ private get __hostClass();
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListLegacyComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListLegacyComponent, "ax-selection-list-legacy", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
84
+ }
85
+
86
+ declare class AXSelectionListLegacyModule {
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListLegacyModule, never>;
88
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectionListLegacyModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXCheckBoxModule, typeof i4.AXRadioModule, typeof i5.AXLabelModule, typeof i6.AXFormModule, typeof AXSelectionListLegacyComponent], [typeof AXSelectionListLegacyComponent]>;
89
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectionListLegacyModule>;
90
+ }
91
+
92
+ export { AXSelectionListLegacyComponent, AXSelectionListLegacyModule };
93
+ export type { AXSelectionListLook };
@@ -1,3 +0,0 @@
1
- # @acorex/components/drawer-2
2
-
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/drawer-2`.
@@ -1,62 +0,0 @@
1
- import { MXBaseComponent, AXClickEvent } from '@acorex/cdk/common';
2
- import * as _angular_core from '@angular/core';
3
- import * as i1 from '@acorex/cdk/drawer';
4
- import { AXDrawerLocation, AXDrawerMode } from '@acorex/cdk/drawer';
5
- import * as i1$1 from '@angular/common';
6
-
7
- /**
8
- * A container component that organizes and positions drawer components.
9
- * @category component
10
- */
11
- declare class AXDrawer2ContainerComponent extends MXBaseComponent {
12
- #private;
13
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2ContainerComponent, never>;
14
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawer2ContainerComponent, "ax-drawer2-container", never, {}, {}, never, ["ax-drawer2", "ax-content"], true, [{ directive: typeof i1.AXDrawerContainerDirective; inputs: {}; outputs: {}; }]>;
15
- }
16
-
17
- /**
18
- * A component that represents a drawer with header and content sections.
19
- *
20
- * @category Components
21
- */
22
- declare class AXDrawer2Component extends MXBaseComponent {
23
- #private;
24
- readonly location: _angular_core.InputSignal<AXDrawerLocation>;
25
- readonly showBackdrop: _angular_core.InputSignal<boolean>;
26
- readonly mode: _angular_core.InputSignal<AXDrawerMode>;
27
- readonly transition: _angular_core.InputSignal<number>;
28
- readonly closeOnBackdropClick: _angular_core.InputSignal<boolean>;
29
- readonly backdropClass: _angular_core.InputSignal<string>;
30
- readonly collapsed: _angular_core.InputSignal<boolean>;
31
- onBackdropClick: _angular_core.OutputEmitterRef<AXClickEvent>;
32
- collapsedStateChanged: _angular_core.OutputEmitterRef<boolean>;
33
- private drawerItem;
34
- /**
35
- * Toggles the drawer state between open and closed.
36
- *
37
- * @returns void - No return value. The drawer state is toggled.
38
- */
39
- toggle(): void;
40
- /**
41
- * Closes the drawer.
42
- *
43
- * @returns void - No return value. The drawer is collapsed.
44
- */
45
- close(): void;
46
- /**
47
- * Opens the drawer.
48
- *
49
- * @returns void - No return value. The drawer is expanded.
50
- */
51
- open(): void;
52
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2Component, never>;
53
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawer2Component, "ax-drawer2", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "onBackdropClick": "onBackdropClick"; "collapsedStateChanged": "collapsedStateChanged"; }, never, ["ax-header", "ax-content"], true, [{ directive: typeof i1.AXDrawerItemDirective; inputs: {}; outputs: {}; }]>;
54
- }
55
-
56
- declare class AXDrawer2Module {
57
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2Module, never>;
58
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXDrawer2Module, never, [typeof i1$1.CommonModule, typeof AXDrawer2Component, typeof AXDrawer2ContainerComponent], [typeof AXDrawer2Component, typeof AXDrawer2ContainerComponent]>;
59
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDrawer2Module>;
60
- }
61
-
62
- export { AXDrawer2Component, AXDrawer2ContainerComponent, AXDrawer2Module };