@acorex/components 20.3.32 → 20.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +3 -3
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +13 -5
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +75 -26
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +50 -7
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +6 -6
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +6 -0
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/media-viewer/index.d.ts +2 -0
- package/package.json +15 -15
- package/phone-box/index.d.ts +13 -3
- package/popover/index.d.ts +13 -1
- package/tree-view/index.d.ts +6 -0
package/media-viewer/index.d.ts
CHANGED
|
@@ -113,6 +113,8 @@ declare class AXFileInfoComponent {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
declare class AXImageViewerComponent extends AXMediaViewerBaseComponent {
|
|
116
|
+
protected hasError: i0.WritableSignal<boolean>;
|
|
117
|
+
protected handleImageError(): void;
|
|
116
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageViewerComponent, never>;
|
|
117
119
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageViewerComponent, "ax-image-viewer", never, {}, {}, never, never, true, never>;
|
|
118
120
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.34",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.3.
|
|
6
|
-
"@acorex/cdk": "20.3.
|
|
5
|
+
"@acorex/core": "20.3.34",
|
|
6
|
+
"@acorex/cdk": "20.3.34",
|
|
7
7
|
"@angular/common": "^20.0.0",
|
|
8
8
|
"@angular/core": "^20.0.0",
|
|
9
9
|
"@angular/cdk": "^20.0.0",
|
|
@@ -185,10 +185,6 @@
|
|
|
185
185
|
"types": "./datetime-input/index.d.ts",
|
|
186
186
|
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
|
187
187
|
},
|
|
188
|
-
"./datetime-picker": {
|
|
189
|
-
"types": "./datetime-picker/index.d.ts",
|
|
190
|
-
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
|
191
|
-
},
|
|
192
188
|
"./decorators": {
|
|
193
189
|
"types": "./decorators/index.d.ts",
|
|
194
190
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
|
@@ -209,6 +205,10 @@
|
|
|
209
205
|
"types": "./dropdown/index.d.ts",
|
|
210
206
|
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
|
211
207
|
},
|
|
208
|
+
"./datetime-picker": {
|
|
209
|
+
"types": "./datetime-picker/index.d.ts",
|
|
210
|
+
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
|
211
|
+
},
|
|
212
212
|
"./dropdown-button": {
|
|
213
213
|
"types": "./dropdown-button/index.d.ts",
|
|
214
214
|
"default": "./fesm2022/acorex-components-dropdown-button.mjs"
|
|
@@ -217,14 +217,14 @@
|
|
|
217
217
|
"types": "./editor/index.d.ts",
|
|
218
218
|
"default": "./fesm2022/acorex-components-editor.mjs"
|
|
219
219
|
},
|
|
220
|
-
"./file-explorer": {
|
|
221
|
-
"types": "./file-explorer/index.d.ts",
|
|
222
|
-
"default": "./fesm2022/acorex-components-file-explorer.mjs"
|
|
223
|
-
},
|
|
224
220
|
"./flow-chart": {
|
|
225
221
|
"types": "./flow-chart/index.d.ts",
|
|
226
222
|
"default": "./fesm2022/acorex-components-flow-chart.mjs"
|
|
227
223
|
},
|
|
224
|
+
"./file-explorer": {
|
|
225
|
+
"types": "./file-explorer/index.d.ts",
|
|
226
|
+
"default": "./fesm2022/acorex-components-file-explorer.mjs"
|
|
227
|
+
},
|
|
228
228
|
"./form": {
|
|
229
229
|
"types": "./form/index.d.ts",
|
|
230
230
|
"default": "./fesm2022/acorex-components-form.mjs"
|
|
@@ -241,14 +241,14 @@
|
|
|
241
241
|
"types": "./image-editor/index.d.ts",
|
|
242
242
|
"default": "./fesm2022/acorex-components-image-editor.mjs"
|
|
243
243
|
},
|
|
244
|
-
"./json-viewer": {
|
|
245
|
-
"types": "./json-viewer/index.d.ts",
|
|
246
|
-
"default": "./fesm2022/acorex-components-json-viewer.mjs"
|
|
247
|
-
},
|
|
248
244
|
"./kanban": {
|
|
249
245
|
"types": "./kanban/index.d.ts",
|
|
250
246
|
"default": "./fesm2022/acorex-components-kanban.mjs"
|
|
251
247
|
},
|
|
248
|
+
"./json-viewer": {
|
|
249
|
+
"types": "./json-viewer/index.d.ts",
|
|
250
|
+
"default": "./fesm2022/acorex-components-json-viewer.mjs"
|
|
251
|
+
},
|
|
252
252
|
"./kbd": {
|
|
253
253
|
"types": "./kbd/index.d.ts",
|
|
254
254
|
"default": "./fesm2022/acorex-components-kbd.mjs"
|
package/phone-box/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { MXInputBaseValueComponent, MXLookComponent,
|
|
3
|
+
import { MXInputBaseValueComponent, MXLookComponent, AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
4
4
|
import { CountryItem } from '@acorex/core/constants';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
6
6
|
import * as i2 from '@angular/forms';
|
|
@@ -56,12 +56,12 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
|
|
|
56
56
|
/** @ignore */
|
|
57
57
|
protected selectedCountry: _angular_core.WritableSignal<CountryItem>;
|
|
58
58
|
/** @ignore */
|
|
59
|
-
protected _handleModelChange(
|
|
59
|
+
protected _handleModelChange(e: AXValueChangedEvent<any>): void;
|
|
60
|
+
protected internalValueChanged(value: any): void;
|
|
60
61
|
/** @ignore */
|
|
61
62
|
protected dataSource: AXDataSource<CountryItem>;
|
|
62
63
|
/** @ignore */
|
|
63
64
|
protected handleCountryOnClosed(): void;
|
|
64
|
-
protected internalValueChanged(value: any): void;
|
|
65
65
|
/**
|
|
66
66
|
* Determines if the keyboard event is a valid action based on allowed keys and key codes.
|
|
67
67
|
*
|
|
@@ -77,8 +77,18 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
|
|
|
77
77
|
setCountries(): void;
|
|
78
78
|
protected handleKeyDown(e: KeyboardEvent): void;
|
|
79
79
|
private parsePhoneNumber;
|
|
80
|
+
/**
|
|
81
|
+
* Formats a national phone number according to the country's format pattern.
|
|
82
|
+
* The format pattern uses '0' as digit placeholders and preserves other characters (like spaces).
|
|
83
|
+
*
|
|
84
|
+
* @param number - The raw national number (digits only)
|
|
85
|
+
* @param format - The country's phone number format pattern (e.g., '000 000 0000')
|
|
86
|
+
* @returns The formatted national number with spaces according to the format
|
|
87
|
+
*/
|
|
88
|
+
private formatNationalNumber;
|
|
80
89
|
/** @ignore */
|
|
81
90
|
_handleCountryValueChanged(event: AXValueChangedEvent): void;
|
|
91
|
+
private removeValidation;
|
|
82
92
|
private get __hostName();
|
|
83
93
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPhoneBoxComponent, never>;
|
|
84
94
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPhoneBoxComponent, "ax-phone-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; "precode": { "alias": "precode"; "required": false; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "included": { "alias": "included"; "required": false; "isSignal": true; }; "excluded": { "alias": "excluded"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "country": "countryChange"; }, never, ["ax-validation-rule", "ax-clear-button "], true, never>;
|
package/popover/index.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
26
26
|
/** @ignore */
|
|
27
27
|
private _outsideClickHandler;
|
|
28
28
|
/** @ignore */
|
|
29
|
+
private _scrollHandler;
|
|
30
|
+
/** @ignore */
|
|
31
|
+
private _scrollListenerActive;
|
|
32
|
+
/** @ignore */
|
|
29
33
|
private resizeObserver;
|
|
30
34
|
/** @ignore */
|
|
31
35
|
private resize$;
|
|
@@ -133,6 +137,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
133
137
|
private _closeAfter;
|
|
134
138
|
get closeAfter(): number;
|
|
135
139
|
set closeAfter(value: number);
|
|
140
|
+
/**
|
|
141
|
+
* Whether to update the popover position when scrolling.
|
|
142
|
+
*/
|
|
143
|
+
repositionOnScroll: boolean;
|
|
136
144
|
/**
|
|
137
145
|
* CSS class to apply to the backdrop element.
|
|
138
146
|
*/
|
|
@@ -167,6 +175,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
167
175
|
private bindOverlayEvents;
|
|
168
176
|
/** @ignore */
|
|
169
177
|
private removeOverlayEvents;
|
|
178
|
+
/** @ignore */
|
|
179
|
+
private setupScrollListener;
|
|
180
|
+
/** @ignore */
|
|
181
|
+
private removeScrollListener;
|
|
170
182
|
/**
|
|
171
183
|
* Checks if the clicked element is inside a child overlay (e.g., selectbox dropdown).
|
|
172
184
|
* Child overlays are identified by having a higher z-index than this popover's overlay.
|
|
@@ -228,7 +240,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
228
240
|
/** @ignore */
|
|
229
241
|
ngOnDestroy(): void;
|
|
230
242
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
|
231
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
243
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "repositionOnScroll": { "alias": "repositionOnScroll"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
232
244
|
}
|
|
233
245
|
|
|
234
246
|
declare class AXPopoverModule {
|
package/tree-view/index.d.ts
CHANGED
|
@@ -134,6 +134,12 @@ interface AXTreeViewItemTemplateContext {
|
|
|
134
134
|
value: boolean | null;
|
|
135
135
|
isUserInteraction: boolean;
|
|
136
136
|
}) => void;
|
|
137
|
+
/** Whether drag is enabled for this tree (dragBehavior !== 'none') */
|
|
138
|
+
dragEnabled: boolean;
|
|
139
|
+
/** The drag area mode: 'handler' (drag handle) or 'item' (full item) */
|
|
140
|
+
dragArea: AXTreeViewDragArea;
|
|
141
|
+
/** Whether the drag handle should be shown (dragArea === 'handler' && dragBehavior !== 'none') */
|
|
142
|
+
showDragHandle: boolean;
|
|
137
143
|
}
|
|
138
144
|
type AXTreeViewViewLook = 'default' | 'card' | 'with-line';
|
|
139
145
|
type AXTreeViewDragArea = 'handler' | 'item';
|