@acorex/core 22.2.13 → 22.2.15
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-core-components.mjs +3 -3
- package/fesm2022/acorex-core-config.mjs +3 -3
- package/fesm2022/acorex-core-date-time.mjs +25 -25
- package/fesm2022/acorex-core-events.mjs +3 -3
- package/fesm2022/acorex-core-file.mjs +43 -43
- package/fesm2022/acorex-core-format.mjs +19 -19
- package/fesm2022/acorex-core-full-screen.mjs +3 -3
- package/fesm2022/acorex-core-icon.mjs +3 -3
- package/fesm2022/acorex-core-image.mjs +3 -3
- package/fesm2022/acorex-core-locale.mjs +10 -10
- package/fesm2022/acorex-core-network.mjs +3 -3
- package/fesm2022/acorex-core-pipes.mjs +3 -3
- package/fesm2022/acorex-core-platform.mjs +3 -3
- package/fesm2022/acorex-core-storage.mjs +9 -9
- package/fesm2022/acorex-core-translation.mjs +16 -16
- package/fesm2022/acorex-core-utils.mjs +6 -6
- package/fesm2022/acorex-core-validation.mjs +40 -40
- package/fesm2022/acorex-core-z-index.mjs +3 -3
- package/package.json +2 -1
- package/types/acorex-core-components.d.ts +1 -1
- package/types/acorex-core-config.d.ts +1 -1
- package/types/acorex-core-date-time.d.ts +4 -4
- package/types/acorex-core-events.d.ts +1 -1
- package/types/acorex-core-file.d.ts +11 -11
- package/types/acorex-core-format.d.ts +3 -3
- package/types/acorex-core-full-screen.d.ts +1 -1
- package/types/acorex-core-icon.d.ts +1 -1
- package/types/acorex-core-image.d.ts +1 -1
- package/types/acorex-core-locale.d.ts +2 -2
- package/types/acorex-core-network.d.ts +1 -1
- package/types/acorex-core-platform.d.ts +1 -1
- package/types/acorex-core-storage.d.ts +3 -3
- package/types/acorex-core-translation.d.ts +1 -1
- package/types/acorex-core-utils.d.ts +2 -2
- package/types/acorex-core-validation.d.ts +12 -12
- package/types/acorex-core-z-index.d.ts +1 -1
|
@@ -131,7 +131,7 @@ declare class AXLocaleProfileProviderService {
|
|
|
131
131
|
*/
|
|
132
132
|
has(localeCode: string): boolean;
|
|
133
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLocaleProfileProviderService, never>;
|
|
134
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
134
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
interface AXLocaleConfig {
|
|
@@ -190,7 +190,7 @@ declare class AXLocaleService {
|
|
|
190
190
|
*/
|
|
191
191
|
reset(): void;
|
|
192
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLocaleService, never>;
|
|
193
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
193
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
declare const AXUSLocaleProfile: AXLocaleProfile;
|
|
@@ -62,7 +62,7 @@ declare class AXNetworkService {
|
|
|
62
62
|
download(url: string): AXDownloadTask;
|
|
63
63
|
download(request: HttpRequest<Blob>): AXDownloadTask;
|
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNetworkService, never>;
|
|
65
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
65
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export { AXDownloadStatus, AXDownloadTask, AXNetworkService, AXUploadStatus, AXUploadTask };
|
|
@@ -96,7 +96,7 @@ declare class AXPlatform {
|
|
|
96
96
|
private detectScrollEvent;
|
|
97
97
|
private detectDocumentDirectionChange;
|
|
98
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPlatform, never>;
|
|
99
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
99
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
export { AXPlatform, AXPlatformEvent, PLATFORMS_MAP, is2XLScreen, is3XLScreen, is4XLScreen, isAndroid, isAndroidTablet, isBrowser, isCapacitorNative, isChrome, isCordova, isDesktop, isEdge, isElectron, isFirefox, isHybrid, isIOS, isIpad, isIphone, isLGScreen, isMDScreen, isMSIE, isMobile, isMobileWeb, isOpera, isPWA, isPhablet, isSMScreen, isSafari, isServer, isTablet, isTouch, isXLScreen, matchMedia, testUserAgent };
|
|
@@ -116,7 +116,7 @@ declare class AXCookieStorageService {
|
|
|
116
116
|
*/
|
|
117
117
|
deleteAll(path?: AXCookieOptions['path'], domain?: AXCookieOptions['domain'], secure?: AXCookieOptions['secure'], sameSite?: AXSameSite): void;
|
|
118
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCookieStorageService, never>;
|
|
119
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
119
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
declare const AX_LOCALSTORAGE_SECRET_KEY: InjectionToken<string>;
|
|
@@ -160,7 +160,7 @@ declare class AXLocalStorageService implements AXStorage {
|
|
|
160
160
|
*/
|
|
161
161
|
getWithEncription<T = unknown>(key: string): T;
|
|
162
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLocalStorageService, never>;
|
|
163
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
163
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
declare class AXSessionStorageService implements AXStorage {
|
|
@@ -169,7 +169,7 @@ declare class AXSessionStorageService implements AXStorage {
|
|
|
169
169
|
clear(): void;
|
|
170
170
|
removeItem(key: string): void;
|
|
171
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSessionStorageService, never>;
|
|
172
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
export { AXCookieStorageService, AXLocalStorageService, AXSessionStorageService, AX_LOCALSTORAGE_SECRET_KEY };
|
|
@@ -141,7 +141,7 @@ declare class AXTranslationService {
|
|
|
141
141
|
private resolveContext;
|
|
142
142
|
isValidMultiLanguageObject(value: unknown): value is AXMultiLanguageMap;
|
|
143
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslationService, never>;
|
|
144
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
144
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export { AXTranslationDefaultConfig, AXTranslationLoaderDefault, AXTranslationModule, AXTranslationService, AXTranslatorDirective, AXTranslatorPipe, AX_TRANSLATION_CONFIG, AX_TRANSLATION_LOADER, LOCALE_KEY_REGEX, createMultiLanguageString, isEffectivelyEmptyLocalizedValue, isValidMultiLanguageObject, loadTranslationScope, resolveMultiLanguageString, resolveMultiLanguageValue, toTranslatedSignal, translateSync, translationConfig };
|
|
@@ -135,7 +135,7 @@ declare class AXHighlightService {
|
|
|
135
135
|
private clearElement;
|
|
136
136
|
private unwrapHighlight;
|
|
137
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXHighlightService, never>;
|
|
138
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
138
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
interface AXHighlightSegment {
|
|
@@ -179,7 +179,7 @@ declare class AXUnsubscriber implements OnDestroy {
|
|
|
179
179
|
unsubscribe(): void;
|
|
180
180
|
ngOnDestroy(): void;
|
|
181
181
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUnsubscriber, never>;
|
|
182
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
182
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
declare function getWordBoundsAtPosition(str: string, position: number): {
|
|
@@ -43,7 +43,7 @@ declare class AXCallbackValidationRule<T> implements AXValidationRule {
|
|
|
43
43
|
get name(): string;
|
|
44
44
|
validate(value: T, options: AXCallbackValidationRuleOptions<T>): Promise<AXValidationRuleResult>;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCallbackValidationRule<any>, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
interface AXRegexValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -59,7 +59,7 @@ declare class AXRegexValidationRule implements AXValidationRule {
|
|
|
59
59
|
get name(): string;
|
|
60
60
|
validate(value: string, options: AXRegexValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRegexValidationRule, never>;
|
|
62
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
interface AXRequiredValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -74,7 +74,7 @@ declare class AXRequiredValidationRule implements AXValidationRule {
|
|
|
74
74
|
get name(): string;
|
|
75
75
|
validate(value?: unknown, options?: AXRequiredValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRequiredValidationRule, never>;
|
|
77
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
77
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
interface AXLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -90,7 +90,7 @@ declare class AXLengthValidationRule implements AXValidationRule {
|
|
|
90
90
|
get name(): string;
|
|
91
91
|
validate(value: string, options: AXLengthValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLengthValidationRule, never>;
|
|
93
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
93
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
interface AXMaxLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -105,7 +105,7 @@ declare class AXMaxLengthValidationRule implements AXValidationRule {
|
|
|
105
105
|
get name(): string;
|
|
106
106
|
validate(value: string, options: AXMaxLengthValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
107
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMaxLengthValidationRule, never>;
|
|
108
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
108
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
interface AXMinLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -120,7 +120,7 @@ declare class AXMinLengthValidationRule implements AXValidationRule {
|
|
|
120
120
|
get name(): string;
|
|
121
121
|
validate(value: string, options: AXMinLengthValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMinLengthValidationRule, never>;
|
|
123
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
123
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
interface AXBetweenValidationRuleOptions<T = number | Date> extends AXValidationRuleOptions {
|
|
@@ -137,7 +137,7 @@ declare class AXBetweenValidationRule<T = number | Date> implements AXValidation
|
|
|
137
137
|
get name(): string;
|
|
138
138
|
validate(value: T, options: AXBetweenValidationRuleOptions<T>): Promise<AXValidationRuleResult>;
|
|
139
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBetweenValidationRule<any>, never>;
|
|
140
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
140
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
interface AXEqualValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -153,7 +153,7 @@ declare class AXEqualValidationRule implements AXValidationRule {
|
|
|
153
153
|
get name(): string;
|
|
154
154
|
validate(value: any, options: AXEqualValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
155
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXEqualValidationRule, never>;
|
|
156
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
156
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
interface AXGreaterThanValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -169,7 +169,7 @@ declare class AXGreaterThanValidationRule implements AXValidationRule {
|
|
|
169
169
|
get name(): string;
|
|
170
170
|
validate(value: number, options: AXGreaterThanValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
171
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXGreaterThanValidationRule, never>;
|
|
172
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
interface AXLessThanValidationRuleOptions extends AXValidationRuleOptions {
|
|
@@ -185,7 +185,7 @@ declare class AXLessThanValidationRule implements AXValidationRule {
|
|
|
185
185
|
get name(): string;
|
|
186
186
|
validate(value: number, options: AXLessThanValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
187
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLessThanValidationRule, never>;
|
|
188
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
188
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
type AXValidationConfigRules = {
|
|
@@ -225,7 +225,7 @@ declare class AXValidationRegistryService {
|
|
|
225
225
|
register(...plugins: (new () => AXValidationRule)[]): void;
|
|
226
226
|
get(ruleName: string): AXValidationRule | undefined;
|
|
227
227
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationRegistryService, never>;
|
|
228
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
228
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
229
229
|
}
|
|
230
230
|
declare class AXValidationService {
|
|
231
231
|
private translationService;
|
|
@@ -237,7 +237,7 @@ declare class AXValidationService {
|
|
|
237
237
|
validate(ruleName: string, value: unknown, options?: AXValidationRuleOptions): Promise<AXValidationRuleResult>;
|
|
238
238
|
ruleFor(value: unknown): AXValidationRuleChain;
|
|
239
239
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationService, never>;
|
|
240
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
240
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
241
241
|
}
|
|
242
242
|
declare class AXValidationRuleChain {
|
|
243
243
|
private validationService;
|
|
@@ -14,7 +14,7 @@ declare class AXZIndexService {
|
|
|
14
14
|
bringToFront(token: AXZToken): AXZToken;
|
|
15
15
|
lastIndex(): number;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXZIndexService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export { AXZIndexService };
|