@acorex/core 7.0.41 → 7.1.1
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/config/index.d.ts +5 -5
- package/config/public-api.d.ts +1 -1
- package/config/src/configs.d.ts +9 -9
- package/dateTime/index.d.ts +5 -5
- package/dateTime/public-api.d.ts +5 -5
- package/dateTime/src/datetime.class.d.ts +100 -100
- package/dateTime/src/datetime.module.d.ts +8 -8
- package/dateTime/src/datetime.pipe.d.ts +8 -8
- package/dateTime/src/georgian.calendar.d.ts +20 -20
- package/dateTime/src/jalali.calendar.d.ts +35 -35
- package/{esm2020 → esm2022}/acorex-core.mjs +4 -4
- package/{esm2020 → esm2022}/config/acorex-core-config.mjs +4 -4
- package/{esm2020 → esm2022}/config/public-api.mjs +1 -1
- package/esm2022/config/src/configs.mjs +25 -0
- package/{esm2020 → esm2022}/dateTime/acorex-core-dateTime.mjs +4 -4
- package/{esm2020 → esm2022}/dateTime/public-api.mjs +5 -5
- package/esm2022/dateTime/src/datetime.class.mjs +295 -0
- package/esm2022/dateTime/src/datetime.module.mjs +40 -0
- package/esm2022/dateTime/src/datetime.pipe.mjs +27 -0
- package/esm2022/dateTime/src/georgian.calendar.mjs +187 -0
- package/esm2022/dateTime/src/jalali.calendar.mjs +357 -0
- package/{esm2020 → esm2022}/events/acorex-core-events.mjs +4 -4
- package/{esm2020 → esm2022}/events/public-api.mjs +1 -1
- package/esm2022/events/src/event.service.mjs +35 -0
- package/{esm2020 → esm2022}/file/acorex-core-file.mjs +4 -4
- package/{esm2020 → esm2022}/file/public-api.mjs +4 -4
- package/esm2022/file/src/file-download-ref.class.mjs +13 -0
- package/esm2022/file/src/file-download-result.class.mjs +47 -0
- package/esm2022/file/src/file-upload-ref.class.mjs +13 -0
- package/esm2022/file/src/file.service.mjs +103 -0
- package/{esm2020 → esm2022}/http/acorex-core-http.mjs +4 -4
- package/{esm2020 → esm2022}/http/public-api.mjs +5 -5
- package/{esm2020 → esm2022}/http/src/http-error.class.mjs +1 -1
- package/{esm2020 → esm2022}/http/src/http-events.interceptor.mjs +2 -2
- package/{esm2020 → esm2022}/http/src/http-request.class.mjs +1 -1
- package/esm2022/http/src/http-result.class.mjs +25 -0
- package/esm2022/http/src/http.module.mjs +30 -0
- package/esm2022/http/src/http.service.mjs +152 -0
- package/{esm2020 → esm2022}/image/acorex-core-image.mjs +4 -4
- package/{esm2020 → esm2022}/image/public-api.mjs +1 -1
- package/esm2022/image/src/image.service.mjs +44 -0
- package/{esm2020 → esm2022}/pipes/acorex-core-pipes.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/public-api.mjs +2 -2
- package/esm2022/pipes/src/pipes.module.mjs +20 -0
- package/{esm2020 → esm2022}/pipes/src/safe.pipe.mjs +32 -30
- package/{esm2020 → esm2022}/platform/acorex-core-platform.mjs +4 -4
- package/{esm2020 → esm2022}/platform/public-api.mjs +1 -1
- package/esm2022/platform/src/platform.service.mjs +152 -0
- package/{esm2020 → esm2022}/public-api.mjs +4 -4
- package/{esm2020 → esm2022}/translation/acorex-core-translation.mjs +4 -4
- package/{esm2020 → esm2022}/translation/public-api.mjs +3 -3
- package/esm2022/translation/src/translation.module.mjs +19 -0
- package/esm2022/translation/src/translator.mjs +44 -0
- package/esm2022/translation/src/translator.pipe.mjs +16 -0
- package/{esm2020 → esm2022}/utils/acorex-core-utils.mjs +4 -4
- package/{esm2020 → esm2022}/utils/public-api.mjs +5 -5
- package/{esm2020 → esm2022}/utils/src/color-util.mjs +114 -114
- package/{esm2020 → esm2022}/utils/src/drawing-util.mjs +29 -29
- package/{esm2020 → esm2022}/utils/src/html-util.mjs +15 -15
- package/{esm2020 → esm2022}/utils/src/object-util.mjs +38 -38
- package/{esm2020 → esm2022}/utils/src/string-util.mjs +18 -18
- package/events/index.d.ts +5 -5
- package/events/public-api.d.ts +1 -1
- package/events/src/event.service.d.ts +9 -9
- package/{fesm2015 → fesm2022}/acorex-core-config.mjs +23 -24
- package/{fesm2015 → fesm2022}/acorex-core-config.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-core-dateTime.mjs +882 -880
- package/{fesm2020 → fesm2022}/acorex-core-dateTime.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-core-events.mjs +32 -35
- package/fesm2022/acorex-core-events.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-core-file.mjs +162 -159
- package/{fesm2020 → fesm2022}/acorex-core-file.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-core-http.mjs +190 -184
- package/{fesm2020 → fesm2022}/acorex-core-http.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-core-image.mjs +41 -42
- package/{fesm2020 → fesm2022}/acorex-core-image.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-core-pipes.mjs +41 -41
- package/fesm2022/acorex-core-pipes.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-core-platform.mjs +147 -154
- package/fesm2022/acorex-core-platform.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-core-translation.mjs +64 -65
- package/{fesm2020 → fesm2022}/acorex-core-translation.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-core-utils.mjs +209 -210
- package/{fesm2015 → fesm2022}/acorex-core.mjs +5 -6
- package/file/index.d.ts +5 -5
- package/file/public-api.d.ts +4 -4
- package/file/src/file-download-ref.class.d.ts +6 -6
- package/file/src/file-download-result.class.d.ts +8 -8
- package/file/src/file-upload-ref.class.d.ts +5 -5
- package/file/src/file.service.d.ts +18 -18
- package/http/index.d.ts +5 -5
- package/http/public-api.d.ts +5 -5
- package/http/src/http-error.class.d.ts +7 -7
- package/http/src/http-events.interceptor.d.ts +10 -10
- package/http/src/http-request.class.d.ts +14 -14
- package/http/src/http-result.class.d.ts +11 -11
- package/http/src/http.module.d.ts +8 -8
- package/http/src/http.service.d.ts +23 -23
- package/image/index.d.ts +5 -5
- package/image/public-api.d.ts +1 -1
- package/image/src/image.service.d.ts +12 -12
- package/index.d.ts +5 -5
- package/package.json +39 -65
- package/pipes/index.d.ts +5 -5
- package/pipes/public-api.d.ts +2 -2
- package/pipes/src/pipes.module.d.ts +8 -8
- package/pipes/src/safe.pipe.d.ts +10 -10
- package/platform/index.d.ts +5 -5
- package/platform/public-api.d.ts +1 -1
- package/platform/src/platform.service.d.ts +26 -26
- package/public-api.d.ts +1 -1
- package/translation/index.d.ts +5 -5
- package/translation/public-api.d.ts +3 -3
- package/translation/src/translation.module.d.ts +7 -7
- package/translation/src/translator.d.ts +11 -11
- package/translation/src/translator.pipe.d.ts +7 -7
- package/utils/index.d.ts +5 -5
- package/utils/public-api.d.ts +5 -5
- package/utils/src/color-util.d.ts +23 -23
- package/utils/src/drawing-util.d.ts +18 -18
- package/utils/src/html-util.d.ts +4 -4
- package/utils/src/object-util.d.ts +4 -4
- package/utils/src/string-util.d.ts +6 -6
- package/esm2020/config/src/configs.mjs +0 -24
- package/esm2020/dateTime/src/datetime.class.mjs +0 -288
- package/esm2020/dateTime/src/datetime.module.mjs +0 -39
- package/esm2020/dateTime/src/datetime.pipe.mjs +0 -26
- package/esm2020/dateTime/src/georgian.calendar.mjs +0 -189
- package/esm2020/dateTime/src/jalali.calendar.mjs +0 -359
- package/esm2020/events/src/event.service.mjs +0 -36
- package/esm2020/file/src/file-download-ref.class.mjs +0 -12
- package/esm2020/file/src/file-download-result.class.mjs +0 -46
- package/esm2020/file/src/file-upload-ref.class.mjs +0 -12
- package/esm2020/file/src/file.service.mjs +0 -101
- package/esm2020/http/src/http-result.class.mjs +0 -21
- package/esm2020/http/src/http.module.mjs +0 -29
- package/esm2020/http/src/http.service.mjs +0 -148
- package/esm2020/image/src/image.service.mjs +0 -43
- package/esm2020/pipes/src/pipes.module.mjs +0 -19
- package/esm2020/platform/src/platform.service.mjs +0 -157
- package/esm2020/translation/src/translation.module.mjs +0 -18
- package/esm2020/translation/src/translator.mjs +0 -43
- package/esm2020/translation/src/translator.pipe.mjs +0 -15
- package/fesm2015/acorex-core-dateTime.mjs.map +0 -1
- package/fesm2015/acorex-core-events.mjs +0 -44
- package/fesm2015/acorex-core-events.mjs.map +0 -1
- package/fesm2015/acorex-core-file.mjs +0 -176
- package/fesm2015/acorex-core-file.mjs.map +0 -1
- package/fesm2015/acorex-core-http.mjs +0 -203
- package/fesm2015/acorex-core-http.mjs.map +0 -1
- package/fesm2015/acorex-core-image.mjs +0 -54
- package/fesm2015/acorex-core-image.mjs.map +0 -1
- package/fesm2015/acorex-core-pipes.mjs.map +0 -1
- package/fesm2015/acorex-core-platform.mjs +0 -165
- package/fesm2015/acorex-core-platform.mjs.map +0 -1
- package/fesm2015/acorex-core-translation.mjs +0 -81
- package/fesm2015/acorex-core-translation.mjs.map +0 -1
- package/fesm2015/acorex-core-utils.mjs +0 -227
- package/fesm2020/acorex-core-config.mjs +0 -32
- package/fesm2020/acorex-core-config.mjs.map +0 -1
- package/fesm2020/acorex-core-dateTime.mjs +0 -899
- package/fesm2020/acorex-core-events.mjs.map +0 -1
- package/fesm2020/acorex-core-pipes.mjs +0 -54
- package/fesm2020/acorex-core-pipes.mjs.map +0 -1
- package/fesm2020/acorex-core-platform.mjs.map +0 -1
- package/fesm2020/acorex-core-utils.mjs.map +0 -1
- package/fesm2020/acorex-core.mjs +0 -12
- package/fesm2020/acorex-core.mjs.map +0 -1
- /package/{fesm2015 → fesm2022}/acorex-core-utils.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/acorex-core.mjs.map +0 -0
@@ -1,227 +0,0 @@
|
|
1
|
-
import tinycolor from 'tinycolor2';
|
2
|
-
import tinygradient from 'tinygradient';
|
3
|
-
|
4
|
-
// @dynamic
|
5
|
-
class AXObjectUtil {
|
6
|
-
static deepJSONClone(obj) {
|
7
|
-
return obj ? JSON.parse(JSON.stringify(obj)) : null;
|
8
|
-
}
|
9
|
-
static deepCopy(obj) {
|
10
|
-
let copy;
|
11
|
-
// Handle the 3 simple types, and null or undefined
|
12
|
-
if (null == obj || 'object' !== typeof obj) {
|
13
|
-
return obj;
|
14
|
-
}
|
15
|
-
// Handle Date
|
16
|
-
if (obj instanceof Date) {
|
17
|
-
copy = new Date();
|
18
|
-
copy.setTime(obj.getTime());
|
19
|
-
return copy;
|
20
|
-
}
|
21
|
-
// Handle Array
|
22
|
-
if (obj instanceof Array) {
|
23
|
-
copy = [];
|
24
|
-
for (let i = 0, len = obj.length; i < len; i++) {
|
25
|
-
copy[i] = AXObjectUtil.deepCopy(obj[i]);
|
26
|
-
}
|
27
|
-
return copy;
|
28
|
-
}
|
29
|
-
// Handle Object
|
30
|
-
if (obj instanceof Object) {
|
31
|
-
copy = {};
|
32
|
-
for (const attr in obj) {
|
33
|
-
if (obj.hasOwnProperty(attr)) {
|
34
|
-
copy[attr] = AXObjectUtil.deepCopy(obj[attr]);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
return copy;
|
38
|
-
}
|
39
|
-
throw new Error('Unable to copy obj! Its type isn\'t supported.');
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
// @dynamic
|
44
|
-
class AXDrawingUtil {
|
45
|
-
static collision(a, b) {
|
46
|
-
const ac = a.getBoundingClientRect();
|
47
|
-
const bc = b.getBoundingClientRect();
|
48
|
-
if (ac.left < bc.left + bc.width && ac.left + ac.width > bc.left &&
|
49
|
-
ac.top < bc.top + bc.height && ac.top + ac.height > bc.top) {
|
50
|
-
return true;
|
51
|
-
}
|
52
|
-
else {
|
53
|
-
return false;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
static isInElementBound(pos, element) {
|
57
|
-
const elBound = element.getBoundingClientRect();
|
58
|
-
return AXDrawingUtil.isInRecPoint(pos, {
|
59
|
-
left: elBound.x,
|
60
|
-
width: elBound.width,
|
61
|
-
top: elBound.y,
|
62
|
-
height: elBound.height
|
63
|
-
});
|
64
|
-
}
|
65
|
-
static isInRecPoint(pos, rec) {
|
66
|
-
return pos.x >= rec.left && pos.x <= (rec.left + rec.width) && pos.y >= rec.top && (pos.y <= (rec.top + rec.height));
|
67
|
-
}
|
68
|
-
static convertRemToPixels(rem) {
|
69
|
-
return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
// @dynamic
|
74
|
-
class AXStringUtil {
|
75
|
-
static getWordBoundsAtPosition(str, position) {
|
76
|
-
const isSpace = (c) => /[^a-zA-Z0-9]+/i.test(c);
|
77
|
-
let start = position - 1;
|
78
|
-
while (start >= 0 && !isSpace(str[start])) {
|
79
|
-
start -= 1;
|
80
|
-
}
|
81
|
-
start = Math.max(0, start + 1);
|
82
|
-
const leftSideString = str.slice(start).match(/[a-zA-Z0-9]+/i);
|
83
|
-
start += leftSideString.index;
|
84
|
-
let end = start + leftSideString[0].length;
|
85
|
-
return {
|
86
|
-
start,
|
87
|
-
end
|
88
|
-
};
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
class AXColorUtil {
|
93
|
-
static to(color, mode) {
|
94
|
-
const _color = tinycolor(color);
|
95
|
-
switch (mode) {
|
96
|
-
case 'rgba':
|
97
|
-
;
|
98
|
-
return _color.toRgb();
|
99
|
-
case 'hsla':
|
100
|
-
return _color.toHsl();
|
101
|
-
case 'hsva':
|
102
|
-
return _color.toHsv();
|
103
|
-
default:
|
104
|
-
return _color.toHex();
|
105
|
-
}
|
106
|
-
}
|
107
|
-
;
|
108
|
-
static toString(color, mode = null) {
|
109
|
-
const _color = tinycolor(color);
|
110
|
-
switch (mode) {
|
111
|
-
case 'rgba':
|
112
|
-
return _color.toRgbString();
|
113
|
-
case 'hsla':
|
114
|
-
return _color.toHslString();
|
115
|
-
case 'hsva':
|
116
|
-
return _color.toHsvString();
|
117
|
-
case 'hsva':
|
118
|
-
return _color.toHsvString();
|
119
|
-
case 'hex':
|
120
|
-
{
|
121
|
-
const rgba = _color.toRgb();
|
122
|
-
return rgba.a != 1 ? _color.toHex8String() : _color.toHexString();
|
123
|
-
}
|
124
|
-
default:
|
125
|
-
{
|
126
|
-
if (typeof color == 'string') {
|
127
|
-
if (color.toLowerCase().startsWith("#"))
|
128
|
-
return this.toString(color, "hex");
|
129
|
-
else
|
130
|
-
return this.toString(color, "rgba");
|
131
|
-
}
|
132
|
-
else {
|
133
|
-
return this.toString(color, "rgba");
|
134
|
-
}
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
;
|
139
|
-
static isValid(color) {
|
140
|
-
const _color = tinycolor(color);
|
141
|
-
return _color.isValid();
|
142
|
-
}
|
143
|
-
;
|
144
|
-
static mix(baseColor, hex, percentage) {
|
145
|
-
return tinycolor.mix(baseColor, hex, percentage).toString('rgb');
|
146
|
-
}
|
147
|
-
static multiply(color1, color2) {
|
148
|
-
let rgb1 = tinycolor(color1).toRgb();
|
149
|
-
let rgb2 = tinycolor(color2).toRgb();
|
150
|
-
rgb1.b = Math.floor(rgb1.b * rgb2.b / 255);
|
151
|
-
rgb1.g = Math.floor(rgb1.g * rgb2.g / 255);
|
152
|
-
rgb1.r = Math.floor(rgb1.r * rgb2.r / 255);
|
153
|
-
return tinycolor('rgb ' + rgb1.r + ' ' + rgb1.g + ' ' + rgb1.b).toString('rgb');
|
154
|
-
}
|
155
|
-
static contrastToWhite(color) {
|
156
|
-
return tinycolor.readability("#fff", color);
|
157
|
-
}
|
158
|
-
;
|
159
|
-
static lighten(hex, percentage) {
|
160
|
-
return tinycolor(hex).lighten(percentage);
|
161
|
-
}
|
162
|
-
static darken(hex, percentage) {
|
163
|
-
return tinycolor(hex).darken(percentage);
|
164
|
-
}
|
165
|
-
static brighten(hex, percentage) {
|
166
|
-
return tinycolor(hex).brighten(percentage);
|
167
|
-
}
|
168
|
-
static saturate(hex, percentage) {
|
169
|
-
return tinycolor(hex).saturate(percentage);
|
170
|
-
}
|
171
|
-
static desaturate(hex, percentage) {
|
172
|
-
return tinycolor(hex).getLuminance();
|
173
|
-
}
|
174
|
-
static equal(color1, color2) {
|
175
|
-
return tinycolor.equals(color1, color2);
|
176
|
-
}
|
177
|
-
static gradient(values) {
|
178
|
-
return tinygradient([...values]);
|
179
|
-
}
|
180
|
-
static xyToRgb(vX, vY) {
|
181
|
-
vY = vY || 0.00000000001;
|
182
|
-
const Y = 1;
|
183
|
-
const X = (Y / vY) * vX;
|
184
|
-
const Z = (Y / vY) * (1 - vX - vY);
|
185
|
-
// Convert to RGB using Wide RGB D65 conversion.
|
186
|
-
let rgb = [
|
187
|
-
X * 1.656492 - Y * 0.354851 - Z * 0.255038,
|
188
|
-
-X * 0.707196 + Y * 1.655397 + Z * 0.036152,
|
189
|
-
X * 0.051713 - Y * 0.121364 + Z * 1.011530
|
190
|
-
];
|
191
|
-
// Apply reverse gamma correction.
|
192
|
-
rgb = rgb.map(x => x <= 0.0031308 ? 12.92 * x : (1.0 + 0.055) * Math.pow(x, 1.0 / 2.4) - 0.055);
|
193
|
-
// Bring all negative components to zero.
|
194
|
-
rgb = rgb.map(x => Math.max(0, x));
|
195
|
-
// If one component is greater than 1, weight components by that value.
|
196
|
-
const max = Math.max(...rgb);
|
197
|
-
if (max > 1) {
|
198
|
-
rgb = rgb.map(x => x / max);
|
199
|
-
}
|
200
|
-
rgb = rgb.map(x => Math.round(x * 255));
|
201
|
-
return 'rgb(' + rgb.join(',') + ')';
|
202
|
-
}
|
203
|
-
}
|
204
|
-
|
205
|
-
// @dynamic
|
206
|
-
class AXHtmlUtil {
|
207
|
-
static focusElement(element) {
|
208
|
-
const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map(c => c + ':not([tabindex="-1"])');
|
209
|
-
const focusable = element.querySelector(list.join(', '));
|
210
|
-
if (focusable) {
|
211
|
-
focusable.focus();
|
212
|
-
return focusable;
|
213
|
-
}
|
214
|
-
return null;
|
215
|
-
}
|
216
|
-
static hasFocus(element) {
|
217
|
-
return element.matches(':focus-within') || element.matches(':focus');
|
218
|
-
}
|
219
|
-
}
|
220
|
-
|
221
|
-
/**
|
222
|
-
* Generated bundle index. Do not edit.
|
223
|
-
*/
|
224
|
-
|
225
|
-
export { AXColorUtil, AXDrawingUtil, AXHtmlUtil, AXObjectUtil, AXStringUtil };
|
226
|
-
//# sourceMappingURL=acorex-core-utils.mjs.map
|
227
|
-
//# sourceMappingURL=acorex-core-utils.mjs.map
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { set, merge, get } from 'lodash-es';
|
2
|
-
import { Subject } from 'rxjs';
|
3
|
-
|
4
|
-
// @dynamic
|
5
|
-
class AXConfig {
|
6
|
-
static get onChange() {
|
7
|
-
return AXConfig.dataChangeSubject.asObservable();
|
8
|
-
}
|
9
|
-
static set(arg1, arg2) {
|
10
|
-
if (arg1 && typeof arg1 == 'string') {
|
11
|
-
set(AXConfig.dataModel, arg1, arg2);
|
12
|
-
AXConfig.dataChangeSubject.next(AXConfig.dataModel);
|
13
|
-
}
|
14
|
-
if (arg1 && typeof arg1 == 'object') {
|
15
|
-
merge(AXConfig.dataModel, arg1);
|
16
|
-
AXConfig.dataChangeSubject.next(AXConfig.dataModel);
|
17
|
-
}
|
18
|
-
}
|
19
|
-
static get(path, defaultValue) {
|
20
|
-
return get(AXConfig.dataModel, path, defaultValue);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
AXConfig.dataModel = {};
|
24
|
-
AXConfig.dataChangeSubject = new Subject();
|
25
|
-
|
26
|
-
/**
|
27
|
-
* Generated bundle index. Do not edit.
|
28
|
-
*/
|
29
|
-
|
30
|
-
export { AXConfig };
|
31
|
-
//# sourceMappingURL=acorex-core-config.mjs.map
|
32
|
-
//# sourceMappingURL=acorex-core-config.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-core-config.mjs","sources":["../../../../projects/acorex/core/config/src/configs.ts","../../../../projects/acorex/core/config/acorex-core-config.ts"],"sourcesContent":["import { get, set, merge } from 'lodash-es';\r\nimport { Subject, Observable } from 'rxjs';\r\n\r\n// @dynamic\r\nexport class AXConfig {\r\n private static dataModel: any = {};\r\n private static dataChangeSubject = new Subject<any>();\r\n\r\n static get onChange(): Observable<any> {\r\n return AXConfig.dataChangeSubject.asObservable();\r\n }\r\n\r\n static set(config: any): void;\r\n static set(path: string, value?: any): void;\r\n static set(arg1?: any, arg2?: any): void {\r\n if (arg1 && typeof arg1 == 'string') {\r\n set(AXConfig.dataModel, arg1, arg2);\r\n AXConfig.dataChangeSubject.next(AXConfig.dataModel);\r\n }\r\n if (arg1 && typeof arg1 == 'object') {\r\n merge(AXConfig.dataModel, arg1);\r\n AXConfig.dataChangeSubject.next(AXConfig.dataModel);\r\n }\r\n }\r\n\r\n static get(path: string, defaultValue?: any): any {\r\n return get(AXConfig.dataModel, path, defaultValue);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGA;MACa,QAAQ,CAAA;AAInB,IAAA,WAAW,QAAQ,GAAA;AACjB,QAAA,OAAO,QAAQ,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KAClD;AAID,IAAA,OAAO,GAAG,CAAC,IAAU,EAAE,IAAU,EAAA;AAC/B,QAAA,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,QAAQ,EAAE;YACnC,GAAG,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACpC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACrD,SAAA;AACD,QAAA,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,QAAQ,EAAE;AACnC,YAAA,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YAChC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACrD,SAAA;KACF;AAED,IAAA,OAAO,GAAG,CAAC,IAAY,EAAE,YAAkB,EAAA;QACzC,OAAO,GAAG,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;KACpD;;AAtBc,QAAS,CAAA,SAAA,GAAQ,EAAE,CAAC;AACpB,QAAA,CAAA,iBAAiB,GAAG,IAAI,OAAO,EAAO;;ACNvD;;AAEG;;;;"}
|