@acorex/components 20.3.32 → 20.3.33
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-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/package.json +3 -3
- package/phone-box/index.d.ts +13 -3
- package/popover/index.d.ts +13 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.33",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.3.
|
|
6
|
-
"@acorex/cdk": "20.3.
|
|
5
|
+
"@acorex/core": "20.3.33",
|
|
6
|
+
"@acorex/cdk": "20.3.33",
|
|
7
7
|
"@angular/common": "^20.0.0",
|
|
8
8
|
"@angular/core": "^20.0.0",
|
|
9
9
|
"@angular/cdk": "^20.0.0",
|
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 {
|