@acorex/core 21.0.3-next.3 → 21.0.3-next.31

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.
Files changed (61) hide show
  1. package/fesm2022/acorex-core-components.mjs +3 -3
  2. package/fesm2022/acorex-core-components.mjs.map +1 -1
  3. package/fesm2022/acorex-core-config.mjs +3 -3
  4. package/fesm2022/acorex-core-config.mjs.map +1 -1
  5. package/fesm2022/acorex-core-constants.mjs.map +1 -1
  6. package/fesm2022/acorex-core-date-time.mjs +25 -25
  7. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  8. package/fesm2022/acorex-core-events.mjs +3 -3
  9. package/fesm2022/acorex-core-events.mjs.map +1 -1
  10. package/fesm2022/acorex-core-file.mjs +196 -68
  11. package/fesm2022/acorex-core-file.mjs.map +1 -1
  12. package/fesm2022/acorex-core-format.mjs +19 -19
  13. package/fesm2022/acorex-core-format.mjs.map +1 -1
  14. package/fesm2022/acorex-core-full-screen.mjs +4 -4
  15. package/fesm2022/acorex-core-full-screen.mjs.map +1 -1
  16. package/fesm2022/acorex-core-icon.mjs +3 -3
  17. package/fesm2022/acorex-core-icon.mjs.map +1 -1
  18. package/fesm2022/acorex-core-image.mjs +3 -3
  19. package/fesm2022/acorex-core-image.mjs.map +1 -1
  20. package/fesm2022/acorex-core-locale.mjs +12 -12
  21. package/fesm2022/acorex-core-locale.mjs.map +1 -1
  22. package/fesm2022/acorex-core-memoize.mjs.map +1 -1
  23. package/fesm2022/acorex-core-network.mjs +4 -4
  24. package/fesm2022/acorex-core-network.mjs.map +1 -1
  25. package/fesm2022/acorex-core-pipes.mjs +3 -3
  26. package/fesm2022/acorex-core-pipes.mjs.map +1 -1
  27. package/fesm2022/acorex-core-platform.mjs +4 -4
  28. package/fesm2022/acorex-core-platform.mjs.map +1 -1
  29. package/fesm2022/acorex-core-storage.mjs +9 -9
  30. package/fesm2022/acorex-core-storage.mjs.map +1 -1
  31. package/fesm2022/acorex-core-translation.mjs +16 -16
  32. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  33. package/fesm2022/acorex-core-utils.mjs +7 -9
  34. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  35. package/fesm2022/acorex-core-validation.mjs +40 -40
  36. package/fesm2022/acorex-core-validation.mjs.map +1 -1
  37. package/fesm2022/acorex-core-z-index.mjs +3 -3
  38. package/fesm2022/acorex-core-z-index.mjs.map +1 -1
  39. package/fesm2022/acorex-core.mjs.map +1 -1
  40. package/{types/acorex-core-file.d.ts → file/index.d.ts} +74 -21
  41. package/{types/acorex-core-format.d.ts → format/index.d.ts} +2 -2
  42. package/package.json +27 -28
  43. package/{types/acorex-core-utils.d.ts → utils/index.d.ts} +2 -10
  44. package/{types/acorex-core-validation.d.ts → validation/index.d.ts} +10 -10
  45. /package/{types/acorex-core-components.d.ts → components/index.d.ts} +0 -0
  46. /package/{types/acorex-core-config.d.ts → config/index.d.ts} +0 -0
  47. /package/{types/acorex-core-constants.d.ts → constants/index.d.ts} +0 -0
  48. /package/{types/acorex-core-date-time.d.ts → date-time/index.d.ts} +0 -0
  49. /package/{types/acorex-core-events.d.ts → events/index.d.ts} +0 -0
  50. /package/{types/acorex-core-full-screen.d.ts → full-screen/index.d.ts} +0 -0
  51. /package/{types/acorex-core-icon.d.ts → icon/index.d.ts} +0 -0
  52. /package/{types/acorex-core-image.d.ts → image/index.d.ts} +0 -0
  53. /package/{types/acorex-core.d.ts → index.d.ts} +0 -0
  54. /package/{types/acorex-core-locale.d.ts → locale/index.d.ts} +0 -0
  55. /package/{types/acorex-core-memoize.d.ts → memoize/index.d.ts} +0 -0
  56. /package/{types/acorex-core-network.d.ts → network/index.d.ts} +0 -0
  57. /package/{types/acorex-core-pipes.d.ts → pipes/index.d.ts} +0 -0
  58. /package/{types/acorex-core-platform.d.ts → platform/index.d.ts} +0 -0
  59. /package/{types/acorex-core-storage.d.ts → storage/index.d.ts} +0 -0
  60. /package/{types/acorex-core-translation.d.ts → translation/index.d.ts} +0 -0
  61. /package/{types/acorex-core-z-index.d.ts → z-index/index.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/core",
3
- "version": "21.0.3-next.3",
3
+ "version": "21.0.3-next.31",
4
4
  "peerDependencies": {
5
5
  "lodash-es": ">=4.17.21",
6
6
  "memoizee": ">=0.4.15",
@@ -13,95 +13,94 @@
13
13
  },
14
14
  "sideEffects": false,
15
15
  "module": "fesm2022/acorex-core.mjs",
16
- "typings": "types/acorex-core.d.ts",
16
+ "typings": "index.d.ts",
17
17
  "exports": {
18
18
  "./package.json": {
19
19
  "default": "./package.json"
20
20
  },
21
21
  ".": {
22
- "types": "./types/acorex-core.d.ts",
22
+ "types": "./index.d.ts",
23
23
  "default": "./fesm2022/acorex-core.mjs"
24
24
  },
25
25
  "./components": {
26
- "types": "./types/acorex-core-components.d.ts",
26
+ "types": "./components/index.d.ts",
27
27
  "default": "./fesm2022/acorex-core-components.mjs"
28
28
  },
29
29
  "./config": {
30
- "types": "./types/acorex-core-config.d.ts",
30
+ "types": "./config/index.d.ts",
31
31
  "default": "./fesm2022/acorex-core-config.mjs"
32
32
  },
33
33
  "./constants": {
34
- "types": "./types/acorex-core-constants.d.ts",
34
+ "types": "./constants/index.d.ts",
35
35
  "default": "./fesm2022/acorex-core-constants.mjs"
36
36
  },
37
37
  "./date-time": {
38
- "types": "./types/acorex-core-date-time.d.ts",
38
+ "types": "./date-time/index.d.ts",
39
39
  "default": "./fesm2022/acorex-core-date-time.mjs"
40
40
  },
41
41
  "./events": {
42
- "types": "./types/acorex-core-events.d.ts",
42
+ "types": "./events/index.d.ts",
43
43
  "default": "./fesm2022/acorex-core-events.mjs"
44
44
  },
45
45
  "./file": {
46
- "types": "./types/acorex-core-file.d.ts",
46
+ "types": "./file/index.d.ts",
47
47
  "default": "./fesm2022/acorex-core-file.mjs"
48
48
  },
49
49
  "./format": {
50
- "types": "./types/acorex-core-format.d.ts",
50
+ "types": "./format/index.d.ts",
51
51
  "default": "./fesm2022/acorex-core-format.mjs"
52
52
  },
53
53
  "./full-screen": {
54
- "types": "./types/acorex-core-full-screen.d.ts",
54
+ "types": "./full-screen/index.d.ts",
55
55
  "default": "./fesm2022/acorex-core-full-screen.mjs"
56
56
  },
57
57
  "./icon": {
58
- "types": "./types/acorex-core-icon.d.ts",
58
+ "types": "./icon/index.d.ts",
59
59
  "default": "./fesm2022/acorex-core-icon.mjs"
60
60
  },
61
61
  "./image": {
62
- "types": "./types/acorex-core-image.d.ts",
62
+ "types": "./image/index.d.ts",
63
63
  "default": "./fesm2022/acorex-core-image.mjs"
64
64
  },
65
65
  "./locale": {
66
- "types": "./types/acorex-core-locale.d.ts",
66
+ "types": "./locale/index.d.ts",
67
67
  "default": "./fesm2022/acorex-core-locale.mjs"
68
68
  },
69
69
  "./memoize": {
70
- "types": "./types/acorex-core-memoize.d.ts",
70
+ "types": "./memoize/index.d.ts",
71
71
  "default": "./fesm2022/acorex-core-memoize.mjs"
72
72
  },
73
73
  "./network": {
74
- "types": "./types/acorex-core-network.d.ts",
74
+ "types": "./network/index.d.ts",
75
75
  "default": "./fesm2022/acorex-core-network.mjs"
76
76
  },
77
77
  "./pipes": {
78
- "types": "./types/acorex-core-pipes.d.ts",
78
+ "types": "./pipes/index.d.ts",
79
79
  "default": "./fesm2022/acorex-core-pipes.mjs"
80
80
  },
81
81
  "./platform": {
82
- "types": "./types/acorex-core-platform.d.ts",
82
+ "types": "./platform/index.d.ts",
83
83
  "default": "./fesm2022/acorex-core-platform.mjs"
84
84
  },
85
85
  "./storage": {
86
- "types": "./types/acorex-core-storage.d.ts",
86
+ "types": "./storage/index.d.ts",
87
87
  "default": "./fesm2022/acorex-core-storage.mjs"
88
88
  },
89
- "./translation": {
90
- "types": "./types/acorex-core-translation.d.ts",
91
- "default": "./fesm2022/acorex-core-translation.mjs"
92
- },
93
89
  "./utils": {
94
- "types": "./types/acorex-core-utils.d.ts",
90
+ "types": "./utils/index.d.ts",
95
91
  "default": "./fesm2022/acorex-core-utils.mjs"
96
92
  },
93
+ "./translation": {
94
+ "types": "./translation/index.d.ts",
95
+ "default": "./fesm2022/acorex-core-translation.mjs"
96
+ },
97
97
  "./validation": {
98
- "types": "./types/acorex-core-validation.d.ts",
98
+ "types": "./validation/index.d.ts",
99
99
  "default": "./fesm2022/acorex-core-validation.mjs"
100
100
  },
101
101
  "./z-index": {
102
- "types": "./types/acorex-core-z-index.d.ts",
102
+ "types": "./z-index/index.d.ts",
103
103
  "default": "./fesm2022/acorex-core-z-index.mjs"
104
104
  }
105
- },
106
- "type": "module"
105
+ }
107
106
  }
@@ -110,14 +110,6 @@ declare class AXHighlightService {
110
110
  static ɵprov: i0.ɵɵInjectableDeclaration<AXHighlightService>;
111
111
  }
112
112
 
113
- /** ACoreX layout size classes applied on a host or container. */
114
- declare const AX_SIZE_CLASSES: readonly ["ax-xs", "ax-sm", "ax-md", "ax-lg", "ax-xl"];
115
- type AXSizeClass = (typeof AX_SIZE_CLASSES)[number];
116
- /** Resolved ACoreX size: the DOM node that carries the token and the token itself. */
117
- interface AXClosestAxSizeMatch {
118
- element: HTMLElement;
119
- sizeClass: AXSizeClass;
120
- }
121
113
  declare class AXHtmlUtil {
122
114
  static focusElement(element: HTMLElement): HTMLElement;
123
115
  static blurElement(element: HTMLElement): HTMLElement;
@@ -149,5 +141,5 @@ declare function getWordBoundsAtPosition(str: string, position: number): {
149
141
  end: number;
150
142
  };
151
143
 
152
- export { AXAutoUnsubscriber, AXColorUtil, AXDrawingUtil, AXHighlightService, AXHtmlUtil, AXUnsubscriber, AX_SIZE_CLASSES, debounceAsync, delay, fallbackChain, getWordBoundsAtPosition, pollUntil, pollUntilAbortable, retryUntil, throttleAsync, waitFor };
153
- export type { AXBoundingClientRect, AXClosestAxSizeMatch, AXColorFormat, AXColorMode, AXPoint, AXSizeClass };
144
+ export { AXAutoUnsubscriber, AXColorUtil, AXDrawingUtil, AXHighlightService, AXHtmlUtil, AXUnsubscriber, debounceAsync, delay, fallbackChain, getWordBoundsAtPosition, pollUntil, pollUntilAbortable, retryUntil, throttleAsync, waitFor };
145
+ export type { AXBoundingClientRect, AXColorFormat, AXColorMode, AXPoint };
@@ -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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
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 "./acorex-core-validation" {
179
+ declare module "./index" {
180
180
  interface AXValidationRuleOptionsMap {
181
181
  lessThan: AXLessThanValidationRuleOptions;
182
182
  }
File without changes