@acorex/components 20.10.1 → 20.10.2

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.10.1",
3
+ "version": "20.10.2",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.10.1",
6
- "@acorex/cdk": "20.10.1",
5
+ "@acorex/core": "20.10.2",
6
+ "@acorex/cdk": "20.10.2",
7
7
  "polytype": ">=0.17.0",
8
8
  "angular-imask": ">=7.6.1",
9
9
  "imask": ">=7.6.1",
@@ -61,22 +61,22 @@
61
61
  "types": "./accordion/index.d.ts",
62
62
  "default": "./fesm2022/acorex-components-accordion.mjs"
63
63
  },
64
- "./action-sheet": {
65
- "types": "./action-sheet/index.d.ts",
66
- "default": "./fesm2022/acorex-components-action-sheet.mjs"
64
+ "./alert": {
65
+ "types": "./alert/index.d.ts",
66
+ "default": "./fesm2022/acorex-components-alert.mjs"
67
67
  },
68
68
  "./aspect-ratio": {
69
69
  "types": "./aspect-ratio/index.d.ts",
70
70
  "default": "./fesm2022/acorex-components-aspect-ratio.mjs"
71
71
  },
72
- "./alert": {
73
- "types": "./alert/index.d.ts",
74
- "default": "./fesm2022/acorex-components-alert.mjs"
75
- },
76
72
  "./audio-wave": {
77
73
  "types": "./audio-wave/index.d.ts",
78
74
  "default": "./fesm2022/acorex-components-audio-wave.mjs"
79
75
  },
76
+ "./action-sheet": {
77
+ "types": "./action-sheet/index.d.ts",
78
+ "default": "./fesm2022/acorex-components-action-sheet.mjs"
79
+ },
80
80
  "./autocomplete": {
81
81
  "types": "./autocomplete/index.d.ts",
82
82
  "default": "./fesm2022/acorex-components-autocomplete.mjs"
@@ -177,10 +177,6 @@
177
177
  "types": "./datetime-picker/index.d.ts",
178
178
  "default": "./fesm2022/acorex-components-datetime-picker.mjs"
179
179
  },
180
- "./datetime-text-box": {
181
- "types": "./datetime-text-box/index.d.ts",
182
- "default": "./fesm2022/acorex-components-datetime-text-box.mjs"
183
- },
184
180
  "./decorators": {
185
181
  "types": "./decorators/index.d.ts",
186
182
  "default": "./fesm2022/acorex-components-decorators.mjs"
@@ -329,14 +325,14 @@
329
325
  "types": "./picker/index.d.ts",
330
326
  "default": "./fesm2022/acorex-components-picker.mjs"
331
327
  },
332
- "./popover": {
333
- "types": "./popover/index.d.ts",
334
- "default": "./fesm2022/acorex-components-popover.mjs"
335
- },
336
328
  "./popup": {
337
329
  "types": "./popup/index.d.ts",
338
330
  "default": "./fesm2022/acorex-components-popup.mjs"
339
331
  },
332
+ "./popover": {
333
+ "types": "./popover/index.d.ts",
334
+ "default": "./fesm2022/acorex-components-popover.mjs"
335
+ },
340
336
  "./progress-bar": {
341
337
  "types": "./progress-bar/index.d.ts",
342
338
  "default": "./fesm2022/acorex-components-progress-bar.mjs"
@@ -349,14 +345,14 @@
349
345
  "types": "./query-builder/index.d.ts",
350
346
  "default": "./fesm2022/acorex-components-query-builder.mjs"
351
347
  },
352
- "./radio": {
353
- "types": "./radio/index.d.ts",
354
- "default": "./fesm2022/acorex-components-radio.mjs"
355
- },
356
348
  "./rail-navigation": {
357
349
  "types": "./rail-navigation/index.d.ts",
358
350
  "default": "./fesm2022/acorex-components-rail-navigation.mjs"
359
351
  },
352
+ "./radio": {
353
+ "types": "./radio/index.d.ts",
354
+ "default": "./fesm2022/acorex-components-radio.mjs"
355
+ },
360
356
  "./range-slider": {
361
357
  "types": "./range-slider/index.d.ts",
362
358
  "default": "./fesm2022/acorex-components-range-slider.mjs"
@@ -393,6 +389,10 @@
393
389
  "types": "./scss/index.d.ts",
394
390
  "default": "./fesm2022/acorex-components-scss.mjs"
395
391
  },
392
+ "./search-box": {
393
+ "types": "./search-box/index.d.ts",
394
+ "default": "./fesm2022/acorex-components-search-box.mjs"
395
+ },
396
396
  "./select-box": {
397
397
  "types": "./select-box/index.d.ts",
398
398
  "default": "./fesm2022/acorex-components-select-box.mjs"
@@ -409,10 +409,6 @@
409
409
  "types": "./side-menu/index.d.ts",
410
410
  "default": "./fesm2022/acorex-components-side-menu.mjs"
411
411
  },
412
- "./search-box": {
413
- "types": "./search-box/index.d.ts",
414
- "default": "./fesm2022/acorex-components-search-box.mjs"
415
- },
416
412
  "./skeleton": {
417
413
  "types": "./skeleton/index.d.ts",
418
414
  "default": "./fesm2022/acorex-components-skeleton.mjs"
@@ -437,14 +433,14 @@
437
433
  "types": "./tabs/index.d.ts",
438
434
  "default": "./fesm2022/acorex-components-tabs.mjs"
439
435
  },
440
- "./tag": {
441
- "types": "./tag/index.d.ts",
442
- "default": "./fesm2022/acorex-components-tag.mjs"
443
- },
444
436
  "./tag-box": {
445
437
  "types": "./tag-box/index.d.ts",
446
438
  "default": "./fesm2022/acorex-components-tag-box.mjs"
447
439
  },
440
+ "./tag": {
441
+ "types": "./tag/index.d.ts",
442
+ "default": "./fesm2022/acorex-components-tag.mjs"
443
+ },
448
444
  "./text-area": {
449
445
  "types": "./text-area/index.d.ts",
450
446
  "default": "./fesm2022/acorex-components-text-area.mjs"
@@ -481,14 +477,14 @@
481
477
  "types": "./tree-view-legacy/index.d.ts",
482
478
  "default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
483
479
  },
484
- "./video-player": {
485
- "types": "./video-player/index.d.ts",
486
- "default": "./fesm2022/acorex-components-video-player.mjs"
487
- },
488
480
  "./uploader": {
489
481
  "types": "./uploader/index.d.ts",
490
482
  "default": "./fesm2022/acorex-components-uploader.mjs"
491
483
  },
484
+ "./video-player": {
485
+ "types": "./video-player/index.d.ts",
486
+ "default": "./fesm2022/acorex-components-video-player.mjs"
487
+ },
492
488
  "./wysiwyg": {
493
489
  "types": "./wysiwyg/index.d.ts",
494
490
  "default": "./fesm2022/acorex-components-wysiwyg.mjs"
@@ -1,3 +0,0 @@
1
- # @acorex/components/datetime-text-box
2
-
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/datetime-text-box`.
@@ -1,142 +0,0 @@
1
- import * as polytype from 'polytype';
2
- import * as _angular_core from '@angular/core';
3
- import { MXInputBaseValueComponent, MXLookComponent, AXClickEvent } from '@acorex/cdk/common';
4
- import { AXDateTimePickerType } from '@acorex/components/calendar';
5
-
6
- declare const AXDateTimeTextBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
7
- new (): MXInputBaseValueComponent<Date>;
8
- ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
9
- ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
10
- }, typeof MXLookComponent]>;
11
- /**
12
- * A date & time editor that works like a text box: the user types digits directly into a
13
- * masked value (separators come from the active format), navigates between date/time
14
- * segments with Left/Right arrows and spins segment values with Up/Down arrows.
15
- *
16
- * The committed value is a native `Date` (same contract as `ax-datetime-box`), and both
17
- * `gregorian` and `solar-hijri` calendar systems are supported.
18
- *
19
- * @category Components
20
- */
21
- declare class AXDateTimeTextBoxComponent extends AXDateTimeTextBoxComponent_base {
22
- #private;
23
- private platformService;
24
- private localeService;
25
- private calendarService;
26
- /** @ignore */
27
- private readonly _editingParts;
28
- /** @ignore */
29
- protected _editingText: _angular_core.WritableSignal<string>;
30
- /** @ignore */
31
- private _inputChars;
32
- /** @ignore */
33
- private _activePart;
34
- /**
35
- * Determines which parts are editable: `date`, `time` or `datetime`.
36
- * The mask format is resolved from the active locale profile for this mode.
37
- * @defaultValue 'datetime'
38
- */
39
- picker: _angular_core.InputSignal<AXDateTimePickerType>;
40
- /**
41
- * The calendar system to use (`gregorian` or `solar-hijri`).
42
- * Falls back to the active locale profile calendar when not provided.
43
- */
44
- calendar: _angular_core.InputSignal<string>;
45
- /**
46
- * Optional format override (e.g. `yyyy/MM/dd HH:mm:ss`).
47
- * When omitted, the short format of the active locale profile is used.
48
- */
49
- format: _angular_core.InputSignal<string>;
50
- /**
51
- * The minimum allowed date value. Applied when the editor loses focus.
52
- */
53
- minValue: _angular_core.InputSignal<Date>;
54
- /**
55
- * The maximum allowed date value. Applied when the editor loses focus.
56
- */
57
- maxValue: _angular_core.InputSignal<Date>;
58
- /**
59
- * Emitted when a click event occurs on the editor input.
60
- * @event
61
- */
62
- onClick: _angular_core.OutputEmitterRef<AXClickEvent>;
63
- /** @ignore */
64
- classNames: _angular_core.InputSignal<string>;
65
- protected readonly _calendarSystem: _angular_core.Signal<string>;
66
- protected readonly _resolvedFormat: _angular_core.Signal<string>;
67
- /** @ignore */
68
- private _editingDate;
69
- /** @ignore */
70
- private inputRef;
71
- /** @ignore */
72
- private get inputElement();
73
- /**
74
- * @description check if page is in rtl or ltr
75
- */
76
- protected isRtl: _angular_core.WritableSignal<boolean>;
77
- /** @ignore */
78
- protected ngOnInit(): void;
79
- /**
80
- * Formats a part using the calendar already attached to the AXDateTime.
81
- * Avoids formatService's string-options path, which always uses the active locale calendar.
82
- * @ignore
83
- */
84
- private _formatPart;
85
- /** @ignore */
86
- private _detectParts;
87
- /** @ignore */
88
- private _getOrderedParts;
89
- /** @ignore */
90
- private _clearInputBuffer;
91
- /** @ignore */
92
- private _updateText;
93
- /**
94
- * Handles changes to the internal date value, updating editing parts and text representation.
95
- * @ignore
96
- */
97
- internalValueChanged(value?: Date): void;
98
- /**
99
- * Normalizes Persian (U+06F0-U+06F9) and Arabic-Indic (U+0660-U+0669) digits to ASCII.
100
- * @ignore
101
- */
102
- private _normalizeDigit;
103
- /** @ignore */
104
- protected _handleOnKeydownEvent(e: KeyboardEvent): void;
105
- /**
106
- * Applies typed digits to the active part with calendar-aware limits, auto advancing
107
- * to the next part when the segment is complete or unambiguous.
108
- * @ignore
109
- */
110
- private _handleDigitInput;
111
- /** @ignore */
112
- private _applyEditingDate;
113
- /** @ignore */
114
- protected _handleKeyUpEvent(): void;
115
- /** @ignore */
116
- protected _handleFocusEvent(e: FocusEvent): void;
117
- /** @ignore */
118
- protected _handleBlurEvent(e: FocusEvent): void;
119
- /**
120
- * Clamps the committed value into the [minValue, maxValue] range.
121
- * @ignore
122
- */
123
- private _clampToRange;
124
- /** @ignore */
125
- protected _handleOnInputClickEvent(e: MouseEvent): void;
126
- /** @ignore */
127
- private _detectPartAtPosition;
128
- /** @ignore */
129
- private _highlightActivePart;
130
- /** @ignore */
131
- private _detectValueChanges;
132
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeTextBoxComponent, never>;
133
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeTextBoxComponent, "ax-datetime-text-box", 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; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "classNames": { "alias": "class"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "onClick": "onClick"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
134
- }
135
-
136
- declare class AXDateTimeTextBoxModule {
137
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeTextBoxModule, never>;
138
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXDateTimeTextBoxModule, never, [typeof AXDateTimeTextBoxComponent], [typeof AXDateTimeTextBoxComponent]>;
139
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDateTimeTextBoxModule>;
140
- }
141
-
142
- export { AXDateTimeTextBoxComponent, AXDateTimeTextBoxModule };