@acorex/core 21.0.0-next.43 → 21.0.0-next.45
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-components.mjs.map +1 -1
- package/fesm2022/acorex-core-config.mjs +3 -3
- package/fesm2022/acorex-core-config.mjs.map +1 -1
- package/fesm2022/acorex-core-constants.mjs.map +1 -1
- package/fesm2022/acorex-core-date-time.mjs +25 -25
- package/fesm2022/acorex-core-date-time.mjs.map +1 -1
- package/fesm2022/acorex-core-events.mjs +3 -3
- package/fesm2022/acorex-core-events.mjs.map +1 -1
- package/fesm2022/acorex-core-file.mjs +10 -10
- package/fesm2022/acorex-core-file.mjs.map +1 -1
- package/fesm2022/acorex-core-format.mjs +19 -19
- package/fesm2022/acorex-core-format.mjs.map +1 -1
- package/fesm2022/acorex-core-icon.mjs +3 -3
- package/fesm2022/acorex-core-icon.mjs.map +1 -1
- package/fesm2022/acorex-core-image.mjs +3 -3
- package/fesm2022/acorex-core-image.mjs.map +1 -1
- package/fesm2022/acorex-core-locale.mjs +10 -10
- package/fesm2022/acorex-core-locale.mjs.map +1 -1
- package/fesm2022/acorex-core-memoize.mjs.map +1 -1
- package/fesm2022/acorex-core-network.mjs +3 -3
- package/fesm2022/acorex-core-network.mjs.map +1 -1
- package/fesm2022/acorex-core-pipes.mjs +3 -3
- package/fesm2022/acorex-core-pipes.mjs.map +1 -1
- package/fesm2022/acorex-core-platform.mjs +10 -10
- package/fesm2022/acorex-core-platform.mjs.map +1 -1
- package/fesm2022/acorex-core-storage.mjs +9 -9
- package/fesm2022/acorex-core-storage.mjs.map +1 -1
- package/fesm2022/acorex-core-translation.mjs +16 -16
- package/fesm2022/acorex-core-translation.mjs.map +1 -1
- package/fesm2022/acorex-core-utils.mjs +4 -4
- package/fesm2022/acorex-core-utils.mjs.map +1 -1
- package/fesm2022/acorex-core-validation.mjs +40 -40
- package/fesm2022/acorex-core-validation.mjs.map +1 -1
- package/fesm2022/acorex-core.mjs.map +1 -1
- package/format/index.d.ts +2 -2
- package/package.json +1 -1
- package/validation/index.d.ts +10 -10
package/validation/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ type AXCallbackValidation<T> = (value: T, options?: AXCallbackValidationRuleOpti
|
|
|
34
34
|
interface AXCallbackValidationRuleOptions<T> extends AXValidationRuleOptions {
|
|
35
35
|
validate: AXCallbackValidation<T>;
|
|
36
36
|
}
|
|
37
|
-
declare module
|
|
37
|
+
declare module "./index" {
|
|
38
38
|
interface AXValidationRuleOptionsMap {
|
|
39
39
|
callback: AXCallbackValidationRuleOptions<unknown>;
|
|
40
40
|
}
|
|
@@ -49,7 +49,7 @@ declare class AXCallbackValidationRule<T> implements AXValidationRule {
|
|
|
49
49
|
interface AXRegexValidationRuleOptions extends AXValidationRuleOptions {
|
|
50
50
|
pattern: string | RegExp;
|
|
51
51
|
}
|
|
52
|
-
declare module
|
|
52
|
+
declare module "./index" {
|
|
53
53
|
interface AXValidationRuleOptionsMap {
|
|
54
54
|
regex: AXRegexValidationRuleOptions;
|
|
55
55
|
}
|
|
@@ -64,7 +64,7 @@ declare class AXRegexValidationRule implements AXValidationRule {
|
|
|
64
64
|
|
|
65
65
|
interface AXRequiredValidationRuleOptions extends AXValidationRuleOptions {
|
|
66
66
|
}
|
|
67
|
-
declare module
|
|
67
|
+
declare module "./index" {
|
|
68
68
|
interface AXValidationRuleOptionsMap {
|
|
69
69
|
required: AXRequiredValidationRuleOptions;
|
|
70
70
|
}
|
|
@@ -81,7 +81,7 @@ interface AXLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
|
81
81
|
min: number;
|
|
82
82
|
max: number;
|
|
83
83
|
}
|
|
84
|
-
declare module
|
|
84
|
+
declare module "./index" {
|
|
85
85
|
interface AXValidationRuleOptionsMap {
|
|
86
86
|
length: AXLengthValidationRuleOptions;
|
|
87
87
|
}
|
|
@@ -96,7 +96,7 @@ declare class AXLengthValidationRule implements AXValidationRule {
|
|
|
96
96
|
interface AXMaxLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
97
97
|
value: number;
|
|
98
98
|
}
|
|
99
|
-
declare module
|
|
99
|
+
declare module "./index" {
|
|
100
100
|
interface AXValidationRuleOptionsMap {
|
|
101
101
|
maxLength: AXMaxLengthValidationRuleOptions;
|
|
102
102
|
}
|
|
@@ -111,7 +111,7 @@ declare class AXMaxLengthValidationRule implements AXValidationRule {
|
|
|
111
111
|
interface AXMinLengthValidationRuleOptions extends AXValidationRuleOptions {
|
|
112
112
|
value: number;
|
|
113
113
|
}
|
|
114
|
-
declare module
|
|
114
|
+
declare module "./index" {
|
|
115
115
|
interface AXValidationRuleOptionsMap {
|
|
116
116
|
minLength: AXMinLengthValidationRuleOptions;
|
|
117
117
|
}
|
|
@@ -128,7 +128,7 @@ interface AXBetweenValidationRuleOptions<T = number | Date> extends AXValidation
|
|
|
128
128
|
upperValue: T;
|
|
129
129
|
inclusive?: boolean;
|
|
130
130
|
}
|
|
131
|
-
declare module
|
|
131
|
+
declare module "./index" {
|
|
132
132
|
interface AXValidationRuleOptionsMap {
|
|
133
133
|
between: AXBetweenValidationRuleOptions;
|
|
134
134
|
}
|
|
@@ -144,7 +144,7 @@ interface AXEqualValidationRuleOptions extends AXValidationRuleOptions {
|
|
|
144
144
|
value: any;
|
|
145
145
|
not?: boolean;
|
|
146
146
|
}
|
|
147
|
-
declare module
|
|
147
|
+
declare module "./index" {
|
|
148
148
|
interface AXValidationRuleOptionsMap {
|
|
149
149
|
equal: AXEqualValidationRuleOptions;
|
|
150
150
|
}
|
|
@@ -160,7 +160,7 @@ interface AXGreaterThanValidationRuleOptions extends AXValidationRuleOptions {
|
|
|
160
160
|
value: number;
|
|
161
161
|
inclusive?: boolean;
|
|
162
162
|
}
|
|
163
|
-
declare module
|
|
163
|
+
declare module "./index" {
|
|
164
164
|
interface AXValidationRuleOptionsMap {
|
|
165
165
|
greaterThan: AXGreaterThanValidationRuleOptions;
|
|
166
166
|
}
|
|
@@ -176,7 +176,7 @@ interface AXLessThanValidationRuleOptions extends AXValidationRuleOptions {
|
|
|
176
176
|
value: number;
|
|
177
177
|
inclusive?: boolean;
|
|
178
178
|
}
|
|
179
|
-
declare module
|
|
179
|
+
declare module "./index" {
|
|
180
180
|
interface AXValidationRuleOptionsMap {
|
|
181
181
|
lessThan: AXLessThanValidationRuleOptions;
|
|
182
182
|
}
|