@acorex/components 20.10.1 → 20.10.3
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/datetime-box/index.d.ts +16 -4
- package/datetime-input/index.d.ts +62 -68
- package/fesm2022/acorex-components-datetime-box.mjs +45 -14
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +326 -306
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +11 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +11 -44
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/file-viewer/index.d.ts +15 -52
- package/package.json +19 -23
- package/datetime-text-box/README.md +0 -3
- package/datetime-text-box/index.d.ts +0 -142
- package/fesm2022/acorex-components-datetime-text-box.mjs +0 -619
- package/fesm2022/acorex-components-datetime-text-box.mjs.map +0 -1
package/file-viewer/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _acorex_core_components from '@acorex/core/components';
|
|
2
|
-
import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
|
|
3
1
|
import * as _angular_core from '@angular/core';
|
|
4
2
|
import { OnDestroy, TemplateRef, Type, Provider } from '@angular/core';
|
|
3
|
+
import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
|
|
5
4
|
import { Subject } from 'rxjs';
|
|
6
5
|
import { AXStyleColorType, AXComponentClosedPromise } from '@acorex/cdk/common';
|
|
7
6
|
import * as _acorex_core_file from '@acorex/core/file';
|
|
@@ -27,18 +26,6 @@ interface AXFileViewerViewPayload {
|
|
|
27
26
|
index: number;
|
|
28
27
|
active: boolean;
|
|
29
28
|
}
|
|
30
|
-
/** Component or template rendered in the file-viewer header center slot. */
|
|
31
|
-
type AXFileViewerHeaderContent = AXComponentContent;
|
|
32
|
-
/** Inputs passed to {@link AXFileViewerHeaderContent} when it is a component. */
|
|
33
|
-
type AXFileViewerHeaderContentInputs = AXComponentInputs;
|
|
34
|
-
/** Placeholder component or template shown in the center when {@link AXFileViewerHeaderContent} is omitted. */
|
|
35
|
-
type AXFileViewerHeaderPlaceholderContent = AXComponentContent;
|
|
36
|
-
/** Inputs passed to the header placeholder when it is a component. */
|
|
37
|
-
type AXFileViewerHeaderPlaceholderInputs = AXComponentInputs;
|
|
38
|
-
/** Component or template rendered instead of the built-in fallback viewer for `file` type items. */
|
|
39
|
-
type AXFileViewerFallbackContent = AXComponentContent;
|
|
40
|
-
/** Inputs passed to {@link AXFileViewerFallbackContent} when it is a component. */
|
|
41
|
-
type AXFileViewerFallbackContentInputs = AXComponentInputs;
|
|
42
29
|
|
|
43
30
|
/** Carousel state shared between container, slides and thumbnails. Provided per-container. */
|
|
44
31
|
declare class AXFileViewerService {
|
|
@@ -66,22 +53,10 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
66
53
|
readonly fullscreen: _angular_core.InputSignal<boolean>;
|
|
67
54
|
/** When true, opens in a gallery overlay and closes when fullscreen exits. */
|
|
68
55
|
readonly galleryMode: _angular_core.InputSignal<boolean>;
|
|
69
|
-
|
|
70
|
-
readonly
|
|
71
|
-
|
|
72
|
-
readonly
|
|
73
|
-
/** Context data exposed as `$implicit` to header templates. */
|
|
74
|
-
readonly headerContentData: _angular_core.InputSignal<unknown>;
|
|
75
|
-
/** Custom placeholder when {@link headerContent} is omitted. */
|
|
76
|
-
readonly headerContentPlaceholder: _angular_core.InputSignal<AXFileViewerHeaderPlaceholderContent>;
|
|
77
|
-
/** Inputs for {@link headerContentPlaceholder} when it is a component. */
|
|
78
|
-
readonly headerContentPlaceholderInputs: _angular_core.InputSignal<_acorex_core_components.AXComponentInputs>;
|
|
79
|
-
/** Component or template replacing the built-in fallback viewer for `file` type items. */
|
|
80
|
-
readonly fallbackContent: _angular_core.InputSignal<AXFileViewerFallbackContent>;
|
|
81
|
-
/** Inputs for {@link fallbackContent} when it is a component. */
|
|
82
|
-
readonly fallbackContentInputs: _angular_core.InputSignal<_acorex_core_components.AXComponentInputs>;
|
|
83
|
-
/** Context data exposed as `$implicit` to fallback templates. */
|
|
84
|
-
readonly fallbackContentData: _angular_core.InputSignal<unknown>;
|
|
56
|
+
readonly headerContent: _angular_core.InputSignal<AXComponentContent>;
|
|
57
|
+
readonly headerContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
58
|
+
readonly fallbackContent: _angular_core.InputSignal<AXComponentContent>;
|
|
59
|
+
readonly fallbackContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
85
60
|
/** External loading flag — show overlay while parent data is being fetched. */
|
|
86
61
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
87
62
|
readonly fullscreenClosed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -104,11 +79,8 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
104
79
|
readonly slideCounter: _angular_core.Signal<string>;
|
|
105
80
|
readonly headerTemplateContent: _angular_core.Signal<TemplateRef<any>>;
|
|
106
81
|
readonly headerComponentContent: _angular_core.Signal<Type<unknown>>;
|
|
107
|
-
readonly headerPlaceholderTemplateContent: _angular_core.Signal<TemplateRef<any>>;
|
|
108
|
-
readonly headerPlaceholderComponentContent: _angular_core.Signal<Type<unknown>>;
|
|
109
82
|
readonly hasHeaderCenterContent: _angular_core.Signal<boolean>;
|
|
110
83
|
readonly headerContentContext: _angular_core.Signal<{
|
|
111
|
-
$implicit: unknown;
|
|
112
84
|
item: AXFileViewerItem;
|
|
113
85
|
items: AXFileViewerItem[];
|
|
114
86
|
selectedIndex: number;
|
|
@@ -132,7 +104,7 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
132
104
|
downloadCurrent(): Promise<void>;
|
|
133
105
|
ngOnDestroy(): void;
|
|
134
106
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerContainerComponent, never>;
|
|
135
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerContainerComponent, "ax-file-viewer-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "startIndex": { "alias": "startIndex"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "download": { "alias": "download"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "galleryMode": { "alias": "galleryMode"; "required": false; "isSignal": true; }; "headerContent": { "alias": "headerContent"; "required": false; "isSignal": true; }; "headerContentInputs": { "alias": "headerContentInputs"; "required": false; "isSignal": true; }; "
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerContainerComponent, "ax-file-viewer-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "startIndex": { "alias": "startIndex"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "download": { "alias": "download"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "galleryMode": { "alias": "galleryMode"; "required": false; "isSignal": true; }; "headerContent": { "alias": "headerContent"; "required": false; "isSignal": true; }; "headerContentInputs": { "alias": "headerContentInputs"; "required": false; "isSignal": true; }; "fallbackContent": { "alias": "fallbackContent"; "required": false; "isSignal": true; }; "fallbackContentInputs": { "alias": "fallbackContentInputs"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "fullscreenClosed": "fullscreenClosed"; }, never, never, true, never>;
|
|
136
108
|
}
|
|
137
109
|
|
|
138
110
|
interface AXFileViewerGalleryConfig {
|
|
@@ -142,14 +114,10 @@ interface AXFileViewerGalleryConfig {
|
|
|
142
114
|
download?: boolean;
|
|
143
115
|
loading?: boolean;
|
|
144
116
|
panelClass?: string[];
|
|
145
|
-
headerContent?:
|
|
146
|
-
headerContentInputs?:
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
headerContentPlaceholderInputs?: AXFileViewerHeaderPlaceholderInputs;
|
|
150
|
-
fallbackContent?: AXFileViewerFallbackContent | null;
|
|
151
|
-
fallbackContentInputs?: AXFileViewerFallbackContentInputs;
|
|
152
|
-
fallbackContentData?: unknown;
|
|
117
|
+
headerContent?: AXComponentContent | null;
|
|
118
|
+
headerContentInputs?: AXComponentInputs | null;
|
|
119
|
+
fallbackContent?: AXComponentContent | null;
|
|
120
|
+
fallbackContentInputs?: AXComponentInputs | null;
|
|
153
121
|
}
|
|
154
122
|
interface AXFileViewerGalleryRef<TResult = any> {
|
|
155
123
|
close: (data?: TResult) => void;
|
|
@@ -196,7 +164,7 @@ declare function provideFileViewer(): Provider[];
|
|
|
196
164
|
|
|
197
165
|
declare function createFileViewerFileTypes(): AXFileType[];
|
|
198
166
|
|
|
199
|
-
/** Optional center header slot component for use with {@link
|
|
167
|
+
/** Optional center header slot component for use with {@link headerContent}. */
|
|
200
168
|
declare class AXFileViewerHeaderPlaceholderComponent {
|
|
201
169
|
readonly slideCounter: _angular_core.InputSignal<string>;
|
|
202
170
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerHeaderPlaceholderComponent, never>;
|
|
@@ -206,12 +174,8 @@ declare class AXFileViewerHeaderPlaceholderComponent {
|
|
|
206
174
|
declare class AXFileViewerSlideComponent {
|
|
207
175
|
readonly item: _angular_core.InputSignal<AXFileViewerItem>;
|
|
208
176
|
readonly index: _angular_core.InputSignal<number>;
|
|
209
|
-
|
|
210
|
-
readonly
|
|
211
|
-
/** Inputs for {@link fallbackContent} when it is a component. */
|
|
212
|
-
readonly fallbackContentInputs: _angular_core.InputSignal<_acorex_core_components.AXComponentInputs>;
|
|
213
|
-
/** Context data exposed as `$implicit` to fallback templates. */
|
|
214
|
-
readonly fallbackContentData: _angular_core.InputSignal<unknown>;
|
|
177
|
+
readonly fallbackContent: _angular_core.InputSignal<AXComponentContent>;
|
|
178
|
+
readonly fallbackContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
215
179
|
private readonly service;
|
|
216
180
|
readonly fileTypeName: _angular_core.Signal<string>;
|
|
217
181
|
readonly extensionHint: _angular_core.Signal<_acorex_core_file.AXFileTypeExtensionHint>;
|
|
@@ -220,7 +184,6 @@ declare class AXFileViewerSlideComponent {
|
|
|
220
184
|
readonly fallbackComponentContent: _angular_core.Signal<Type<unknown>>;
|
|
221
185
|
readonly useCustomFallback: _angular_core.Signal<boolean>;
|
|
222
186
|
readonly fallbackContentContext: _angular_core.Signal<{
|
|
223
|
-
$implicit: unknown;
|
|
224
187
|
payload: AXFileViewerViewPayload;
|
|
225
188
|
item: AXFileViewerItem;
|
|
226
189
|
index: number;
|
|
@@ -230,7 +193,7 @@ declare class AXFileViewerSlideComponent {
|
|
|
230
193
|
payload: AXFileViewerViewPayload;
|
|
231
194
|
}>;
|
|
232
195
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerSlideComponent, never>;
|
|
233
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerSlideComponent, "ax-file-viewer-slide", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; "fallbackContent": { "alias": "fallbackContent"; "required": false; "isSignal": true; }; "fallbackContentInputs": { "alias": "fallbackContentInputs"; "required": false; "isSignal": true; };
|
|
196
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerSlideComponent, "ax-file-viewer-slide", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; "fallbackContent": { "alias": "fallbackContent"; "required": false; "isSignal": true; }; "fallbackContentInputs": { "alias": "fallbackContentInputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
234
197
|
}
|
|
235
198
|
|
|
236
199
|
declare class AXFileViewerThumbPreviewComponent {
|
|
@@ -306,4 +269,4 @@ declare class AXFileViewerFileFallbackComponent implements AXFileTypeViewCompone
|
|
|
306
269
|
}
|
|
307
270
|
|
|
308
271
|
export { AXFileViewerAudioComponent, AXFileViewerContainerComponent, AXFileViewerFileFallbackComponent, AXFileViewerGalleryService, AXFileViewerHeaderPlaceholderComponent, AXFileViewerImageComponent, AXFileViewerPdfComponent, AXFileViewerService, AXFileViewerSlideComponent, AXFileViewerThumbPreviewComponent, AXFileViewerThumbnailsComponent, AXFileViewerVideoComponent, buildFileViewerExtensionHint, createFileViewerFileTypes, provideFileViewer, resolveFileViewerFileType };
|
|
309
|
-
export type {
|
|
272
|
+
export type { AXFileViewerGalleryConfig, AXFileViewerGalleryRef, AXFileViewerItem, AXFileViewerViewPayload };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.10.
|
|
3
|
+
"version": "20.10.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.10.
|
|
6
|
-
"@acorex/cdk": "20.10.
|
|
5
|
+
"@acorex/core": "20.10.3",
|
|
6
|
+
"@acorex/cdk": "20.10.3",
|
|
7
7
|
"polytype": ">=0.17.0",
|
|
8
8
|
"angular-imask": ">=7.6.1",
|
|
9
9
|
"imask": ">=7.6.1",
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
"types": "./action-sheet/index.d.ts",
|
|
66
66
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
|
67
67
|
},
|
|
68
|
-
"./aspect-ratio": {
|
|
69
|
-
"types": "./aspect-ratio/index.d.ts",
|
|
70
|
-
"default": "./fesm2022/acorex-components-aspect-ratio.mjs"
|
|
71
|
-
},
|
|
72
68
|
"./alert": {
|
|
73
69
|
"types": "./alert/index.d.ts",
|
|
74
70
|
"default": "./fesm2022/acorex-components-alert.mjs"
|
|
75
71
|
},
|
|
72
|
+
"./aspect-ratio": {
|
|
73
|
+
"types": "./aspect-ratio/index.d.ts",
|
|
74
|
+
"default": "./fesm2022/acorex-components-aspect-ratio.mjs"
|
|
75
|
+
},
|
|
76
76
|
"./audio-wave": {
|
|
77
77
|
"types": "./audio-wave/index.d.ts",
|
|
78
78
|
"default": "./fesm2022/acorex-components-audio-wave.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"
|
|
@@ -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"
|
|
@@ -425,10 +421,6 @@
|
|
|
425
421
|
"types": "./sliding-item/index.d.ts",
|
|
426
422
|
"default": "./fesm2022/acorex-components-sliding-item.mjs"
|
|
427
423
|
},
|
|
428
|
-
"./step-wizard": {
|
|
429
|
-
"types": "./step-wizard/index.d.ts",
|
|
430
|
-
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
|
431
|
-
},
|
|
432
424
|
"./switch": {
|
|
433
425
|
"types": "./switch/index.d.ts",
|
|
434
426
|
"default": "./fesm2022/acorex-components-switch.mjs"
|
|
@@ -481,17 +473,21 @@
|
|
|
481
473
|
"types": "./tree-view-legacy/index.d.ts",
|
|
482
474
|
"default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
|
|
483
475
|
},
|
|
476
|
+
"./step-wizard": {
|
|
477
|
+
"types": "./step-wizard/index.d.ts",
|
|
478
|
+
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
|
479
|
+
},
|
|
484
480
|
"./video-player": {
|
|
485
481
|
"types": "./video-player/index.d.ts",
|
|
486
482
|
"default": "./fesm2022/acorex-components-video-player.mjs"
|
|
487
483
|
},
|
|
488
|
-
"./uploader": {
|
|
489
|
-
"types": "./uploader/index.d.ts",
|
|
490
|
-
"default": "./fesm2022/acorex-components-uploader.mjs"
|
|
491
|
-
},
|
|
492
484
|
"./wysiwyg": {
|
|
493
485
|
"types": "./wysiwyg/index.d.ts",
|
|
494
486
|
"default": "./fesm2022/acorex-components-wysiwyg.mjs"
|
|
487
|
+
},
|
|
488
|
+
"./uploader": {
|
|
489
|
+
"types": "./uploader/index.d.ts",
|
|
490
|
+
"default": "./fesm2022/acorex-components-uploader.mjs"
|
|
495
491
|
}
|
|
496
492
|
}
|
|
497
493
|
}
|
|
@@ -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 };
|