@acorex/core 7.0.19 → 7.0.20
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/ax-preset.js +186 -0
- package/config/index.ts +1 -0
- package/config/ng-package.json +6 -0
- package/config/public-api.ts +1 -0
- package/config/src/configs.ts +37 -0
- package/dateTime/index.ts +1 -0
- package/dateTime/ng-package.json +6 -0
- package/dateTime/{public-api.d.ts → public-api.ts} +1 -1
- package/dateTime/src/datetime.class.ts +449 -0
- package/dateTime/src/datetime.module.ts +35 -0
- package/dateTime/src/datetime.pipe.ts +21 -0
- package/dateTime/src/georgian.calendar.ts +205 -0
- package/dateTime/src/jalali.calendar.ts +416 -0
- package/events/index.ts +1 -0
- package/events/ng-package.json +6 -0
- package/events/public-api.ts +1 -0
- package/events/src/event.service.ts +31 -0
- package/file/index.ts +1 -0
- package/file/ng-package.json +7 -0
- package/file/public-api.ts +4 -0
- package/file/src/file-download-ref.class.ts +16 -0
- package/file/src/file-download-result.class.ts +56 -0
- package/file/src/file-upload-ref.class.ts +14 -0
- package/file/src/file.service.ts +104 -0
- package/http/index.ts +1 -0
- package/http/ng-package.json +6 -0
- package/http/{public-api.d.ts → public-api.ts} +1 -1
- package/http/src/{http-error.class.d.ts → http-error.class.ts} +2 -2
- package/http/src/{http-events.interceptor.d.ts → http-events.interceptor.ts} +7 -3
- package/http/src/{http-request.class.d.ts → http-request.class.ts} +5 -5
- package/http/src/http-result.class.ts +34 -0
- package/http/src/http.module.ts +25 -0
- package/http/src/http.service.ts +161 -0
- package/image/index.ts +1 -0
- package/image/ng-package.json +7 -0
- package/image/public-api.ts +1 -0
- package/image/src/image.service.ts +42 -0
- package/index.ts +1 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +16 -115
- package/pipes/index.ts +1 -0
- package/pipes/ng-package.json +6 -0
- package/pipes/public-api.ts +2 -0
- package/pipes/src/pipes.module.ts +11 -0
- package/pipes/src/safe.pipe.ts +24 -0
- package/platform/index.ts +1 -0
- package/platform/ng-package.json +6 -0
- package/platform/public-api.ts +1 -0
- package/platform/src/platform.service.ts +223 -0
- package/public-api.ts +4 -0
- package/test.ts +27 -0
- package/translation/index.ts +1 -0
- package/translation/ng-package.json +6 -0
- package/translation/{public-api.d.ts → public-api.ts} +1 -1
- package/translation/src/translation.module.ts +12 -0
- package/translation/src/translator.pipe.ts +9 -0
- package/translation/src/translator.ts +49 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/utils/index.ts +1 -0
- package/utils/ng-package.json +6 -0
- package/utils/{public-api.d.ts → public-api.ts} +1 -1
- package/utils/src/color-util.ts +83 -0
- package/utils/src/drawing-util.ts +43 -0
- package/utils/src/object-util.ts +82 -0
- package/utils/src/string-util.ts +25 -0
- package/config/index.d.ts +0 -5
- package/config/public-api.d.ts +0 -1
- package/config/src/configs.d.ts +0 -9
- package/dateTime/index.d.ts +0 -5
- package/dateTime/src/datetime.class.d.ts +0 -100
- package/dateTime/src/datetime.module.d.ts +0 -8
- package/dateTime/src/datetime.pipe.d.ts +0 -8
- package/dateTime/src/georgian.calendar.d.ts +0 -20
- package/dateTime/src/jalali.calendar.d.ts +0 -35
- package/esm2020/acorex-core.mjs +0 -5
- package/esm2020/config/acorex-core-config.mjs +0 -5
- package/esm2020/config/public-api.mjs +0 -2
- package/esm2020/config/src/configs.mjs +0 -32
- package/esm2020/dateTime/acorex-core-dateTime.mjs +0 -5
- package/esm2020/dateTime/public-api.mjs +0 -6
- 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/acorex-core-events.mjs +0 -5
- package/esm2020/events/public-api.mjs +0 -2
- package/esm2020/events/src/event.service.mjs +0 -36
- package/esm2020/file/acorex-core-file.mjs +0 -5
- package/esm2020/file/public-api.mjs +0 -5
- package/esm2020/file/src/file-download-ref.class.mjs +0 -12
- package/esm2020/file/src/file-download-result.class.mjs +0 -47
- package/esm2020/file/src/file-upload-ref.class.mjs +0 -12
- package/esm2020/file/src/file.service.mjs +0 -101
- package/esm2020/http/acorex-core-http.mjs +0 -5
- package/esm2020/http/public-api.mjs +0 -6
- package/esm2020/http/src/http-error.class.mjs +0 -2
- package/esm2020/http/src/http-events.interceptor.mjs +0 -3
- package/esm2020/http/src/http-request.class.mjs +0 -2
- 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/acorex-core-image.mjs +0 -5
- package/esm2020/image/public-api.mjs +0 -2
- package/esm2020/image/src/image.service.mjs +0 -43
- package/esm2020/pipes/acorex-core-pipes.mjs +0 -5
- package/esm2020/pipes/public-api.mjs +0 -3
- package/esm2020/pipes/src/pipes.module.mjs +0 -19
- package/esm2020/pipes/src/safe.pipe.mjs +0 -30
- package/esm2020/platform/acorex-core-platform.mjs +0 -5
- package/esm2020/platform/public-api.mjs +0 -2
- package/esm2020/platform/src/platform.service.mjs +0 -153
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/translation/acorex-core-translation.mjs +0 -5
- package/esm2020/translation/public-api.mjs +0 -4
- 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/esm2020/utils/acorex-core-utils.mjs +0 -5
- package/esm2020/utils/public-api.mjs +0 -5
- package/esm2020/utils/src/color-util.mjs +0 -71
- package/esm2020/utils/src/drawing-util.mjs +0 -27
- package/esm2020/utils/src/object-util.mjs +0 -39
- package/esm2020/utils/src/string-util.mjs +0 -19
- package/events/index.d.ts +0 -5
- package/events/public-api.d.ts +0 -1
- package/events/src/event.service.d.ts +0 -9
- package/fesm2015/acorex-core-config.mjs +0 -40
- package/fesm2015/acorex-core-config.mjs.map +0 -1
- package/fesm2015/acorex-core-dateTime.mjs +0 -899
- 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 -177
- 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 +0 -54
- package/fesm2015/acorex-core-pipes.mjs.map +0 -1
- package/fesm2015/acorex-core-platform.mjs +0 -161
- 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 -164
- package/fesm2015/acorex-core-utils.mjs.map +0 -1
- package/fesm2015/acorex-core.mjs +0 -12
- package/fesm2015/acorex-core.mjs.map +0 -1
- package/fesm2020/acorex-core-config.mjs +0 -40
- package/fesm2020/acorex-core-config.mjs.map +0 -1
- package/fesm2020/acorex-core-dateTime.mjs +0 -899
- package/fesm2020/acorex-core-dateTime.mjs.map +0 -1
- package/fesm2020/acorex-core-events.mjs +0 -44
- package/fesm2020/acorex-core-events.mjs.map +0 -1
- package/fesm2020/acorex-core-file.mjs +0 -177
- package/fesm2020/acorex-core-file.mjs.map +0 -1
- package/fesm2020/acorex-core-http.mjs +0 -202
- package/fesm2020/acorex-core-http.mjs.map +0 -1
- package/fesm2020/acorex-core-image.mjs +0 -51
- package/fesm2020/acorex-core-image.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 +0 -161
- package/fesm2020/acorex-core-platform.mjs.map +0 -1
- package/fesm2020/acorex-core-translation.mjs +0 -80
- package/fesm2020/acorex-core-translation.mjs.map +0 -1
- package/fesm2020/acorex-core-utils.mjs +0 -164
- 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/file/index.d.ts +0 -5
- package/file/public-api.d.ts +0 -4
- package/file/src/file-download-ref.class.d.ts +0 -6
- package/file/src/file-download-result.class.d.ts +0 -8
- package/file/src/file-upload-ref.class.d.ts +0 -5
- package/file/src/file.service.d.ts +0 -18
- package/http/index.d.ts +0 -5
- package/http/src/http-result.class.d.ts +0 -11
- package/http/src/http.module.d.ts +0 -8
- package/http/src/http.service.d.ts +0 -23
- package/image/index.d.ts +0 -5
- package/image/public-api.d.ts +0 -1
- package/image/src/image.service.d.ts +0 -12
- package/index.d.ts +0 -5
- package/pipes/index.d.ts +0 -5
- package/pipes/public-api.d.ts +0 -2
- package/pipes/src/pipes.module.d.ts +0 -8
- package/pipes/src/safe.pipe.d.ts +0 -10
- package/platform/index.d.ts +0 -5
- package/platform/public-api.d.ts +0 -1
- package/platform/src/platform.service.d.ts +0 -26
- package/public-api.d.ts +0 -1
- package/translation/index.d.ts +0 -5
- package/translation/src/translation.module.d.ts +0 -7
- package/translation/src/translator.d.ts +0 -11
- package/translation/src/translator.pipe.d.ts +0 -7
- package/utils/index.d.ts +0 -5
- package/utils/src/color-util.d.ts +0 -20
- package/utils/src/drawing-util.d.ts +0 -17
- package/utils/src/object-util.d.ts +0 -4
- package/utils/src/string-util.d.ts +0 -6
@@ -0,0 +1,186 @@
|
|
1
|
+
const plugin = require('tailwindcss/plugin');
|
2
|
+
|
3
|
+
function withOpacityValue(variable) {
|
4
|
+
return ({ opacityValue }) => {
|
5
|
+
if (opacityValue === undefined) {
|
6
|
+
return `rgb(var(${variable}))`
|
7
|
+
}
|
8
|
+
return `rgb(var(${variable}) / ${opacityValue})`
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
module.exports = {
|
13
|
+
prefix: 'ax-',
|
14
|
+
darkMode: 'class',
|
15
|
+
mode: "jit",
|
16
|
+
content: [
|
17
|
+
"./src/**/*.{html,ts,scss}",
|
18
|
+
"./projects/**/*.{html,ts,scss}",
|
19
|
+
"./dist/acorex/**/*.{html,ts,scss}",
|
20
|
+
"./node_modules/@acorex/**/*.{html,ts,scss}",
|
21
|
+
],
|
22
|
+
darkMode: "class", // or 'media' or 'class'
|
23
|
+
theme: {
|
24
|
+
extend: {
|
25
|
+
colors: {
|
26
|
+
black: withOpacityValue('--ax-color-black'),
|
27
|
+
white: withOpacityValue('--ax-color-white'),
|
28
|
+
"default-background": withOpacityValue('--ax-color-default-background'),
|
29
|
+
"default-color": withOpacityValue('--ax-color-default-color'),
|
30
|
+
"primary": {
|
31
|
+
"fore": withOpacityValue('--ax-color-primary-fore'),
|
32
|
+
"50": withOpacityValue('--ax-color-primary-50'),
|
33
|
+
"100": withOpacityValue('--ax-color-primary-100'),
|
34
|
+
"200": withOpacityValue('--ax-color-primary-200'),
|
35
|
+
"300": withOpacityValue('--ax-color-primary-300'),
|
36
|
+
"400": withOpacityValue('--ax-color-primary-400'),
|
37
|
+
"500": withOpacityValue('--ax-color-primary-500'),
|
38
|
+
"600": withOpacityValue('--ax-color-primary-600'),
|
39
|
+
"700": withOpacityValue('--ax-color-primary-700'),
|
40
|
+
"800": withOpacityValue('--ax-color-primary-800'),
|
41
|
+
"900": withOpacityValue('--ax-color-primary-900'),
|
42
|
+
},
|
43
|
+
"secondary": {
|
44
|
+
"fore": withOpacityValue('--ax-color-secondary-fore'),
|
45
|
+
"50": withOpacityValue('--ax-color-secondary-50'),
|
46
|
+
"100": withOpacityValue('--ax-color-secondary-100'),
|
47
|
+
"200": withOpacityValue('--ax-color-secondary-200'),
|
48
|
+
"300": withOpacityValue('--ax-color-secondary-300'),
|
49
|
+
"400": withOpacityValue('--ax-color-secondary-400'),
|
50
|
+
"500": withOpacityValue('--ax-color-secondary-500'),
|
51
|
+
"600": withOpacityValue('--ax-color-secondary-600'),
|
52
|
+
"700": withOpacityValue('--ax-color-secondary-700'),
|
53
|
+
"800": withOpacityValue('--ax-color-secondary-800'),
|
54
|
+
"900": withOpacityValue('--ax-color-secondary-900'),
|
55
|
+
},
|
56
|
+
"success": {
|
57
|
+
"fore": withOpacityValue('--ax-color-success-fore'),
|
58
|
+
"50": withOpacityValue('--ax-color-success-50'),
|
59
|
+
"100": withOpacityValue('--ax-color-success-100'),
|
60
|
+
"200": withOpacityValue('--ax-color-success-200'),
|
61
|
+
"300": withOpacityValue('--ax-color-success-300'),
|
62
|
+
"400": withOpacityValue('--ax-color-success-400'),
|
63
|
+
"500": withOpacityValue('--ax-color-success-500'),
|
64
|
+
"600": withOpacityValue('--ax-color-success-600'),
|
65
|
+
"700": withOpacityValue('--ax-color-success-700'),
|
66
|
+
"800": withOpacityValue('--ax-color-success-800'),
|
67
|
+
"900": withOpacityValue('--ax-color-success-900'),
|
68
|
+
},
|
69
|
+
"danger": {
|
70
|
+
"fore": withOpacityValue('--ax-color-danger-fore'),
|
71
|
+
"50": withOpacityValue('--ax-color-danger-50'),
|
72
|
+
"100": withOpacityValue('--ax-color-danger-100'),
|
73
|
+
"200": withOpacityValue('--ax-color-danger-200'),
|
74
|
+
"300": withOpacityValue('--ax-color-danger-300'),
|
75
|
+
"400": withOpacityValue('--ax-color-danger-400'),
|
76
|
+
"500": withOpacityValue('--ax-color-danger-500'),
|
77
|
+
"600": withOpacityValue('--ax-color-danger-600'),
|
78
|
+
"700": withOpacityValue('--ax-color-danger-700'),
|
79
|
+
"800": withOpacityValue('--ax-color-danger-800'),
|
80
|
+
"900": withOpacityValue('--ax-color-danger-900'),
|
81
|
+
},
|
82
|
+
"warning": {
|
83
|
+
"fore": withOpacityValue('--ax-color-warning-fore'),
|
84
|
+
"50": withOpacityValue('--ax-color-warning-50'),
|
85
|
+
"100": withOpacityValue('--ax-color-warning-100'),
|
86
|
+
"200": withOpacityValue('--ax-color-warning-200'),
|
87
|
+
"300": withOpacityValue('--ax-color-warning-300'),
|
88
|
+
"400": withOpacityValue('--ax-color-warning-400'),
|
89
|
+
"500": withOpacityValue('--ax-color-warning-500'),
|
90
|
+
"600": withOpacityValue('--ax-color-warning-600'),
|
91
|
+
"700": withOpacityValue('--ax-color-warning-700'),
|
92
|
+
"800": withOpacityValue('--ax-color-warning-800'),
|
93
|
+
"900": withOpacityValue('--ax-color-warning-900'),
|
94
|
+
},
|
95
|
+
"info": {
|
96
|
+
"fore": withOpacityValue('--ax-color-info-fore'),
|
97
|
+
"50": withOpacityValue('--ax-color-info-50'),
|
98
|
+
"100": withOpacityValue('--ax-color-info-100'),
|
99
|
+
"200": withOpacityValue('--ax-color-info-200'),
|
100
|
+
"300": withOpacityValue('--ax-color-info-300'),
|
101
|
+
"400": withOpacityValue('--ax-color-info-400'),
|
102
|
+
"500": withOpacityValue('--ax-color-info-500'),
|
103
|
+
"600": withOpacityValue('--ax-color-info-600'),
|
104
|
+
"700": withOpacityValue('--ax-color-info-700'),
|
105
|
+
"800": withOpacityValue('--ax-color-info-800'),
|
106
|
+
"900": withOpacityValue('--ax-color-info-900'),
|
107
|
+
},
|
108
|
+
"light": {
|
109
|
+
"fore": withOpacityValue('--ax-color-light-fore'),
|
110
|
+
"50": withOpacityValue('--ax-color-light-50'),
|
111
|
+
"100": withOpacityValue('--ax-color-light-100'),
|
112
|
+
"200": withOpacityValue('--ax-color-light-200'),
|
113
|
+
"300": withOpacityValue('--ax-color-light-300'),
|
114
|
+
"400": withOpacityValue('--ax-color-light-400'),
|
115
|
+
"500": withOpacityValue('--ax-color-light-500'),
|
116
|
+
"600": withOpacityValue('--ax-color-light-600'),
|
117
|
+
"700": withOpacityValue('--ax-color-light-700'),
|
118
|
+
"800": withOpacityValue('--ax-color-light-800'),
|
119
|
+
"900": withOpacityValue('--ax-color-light-900'),
|
120
|
+
},
|
121
|
+
"dark": {
|
122
|
+
"fore": withOpacityValue('--ax-color-dark-fore'),
|
123
|
+
"50": withOpacityValue('--ax-color-dark-50'),
|
124
|
+
"100": withOpacityValue('--ax-color-dark-100'),
|
125
|
+
"200": withOpacityValue('--ax-color-dark-200'),
|
126
|
+
"300": withOpacityValue('--ax-color-dark-300'),
|
127
|
+
"400": withOpacityValue('--ax-color-dark-400'),
|
128
|
+
"500": withOpacityValue('--ax-color-dark-500'),
|
129
|
+
"600": withOpacityValue('--ax-color-dark-600'),
|
130
|
+
"700": withOpacityValue('--ax-color-dark-700'),
|
131
|
+
"800": withOpacityValue('--ax-color-dark-800'),
|
132
|
+
"900": withOpacityValue('--ax-color-dark-900'),
|
133
|
+
},
|
134
|
+
|
135
|
+
},
|
136
|
+
maxWidth: {
|
137
|
+
'8xl': '90rem',
|
138
|
+
},
|
139
|
+
keyframes: {
|
140
|
+
fadeIn: {
|
141
|
+
"0%": { opacity: 0 },
|
142
|
+
"100%": { opacity: 1 }
|
143
|
+
},
|
144
|
+
fadeOut: {
|
145
|
+
"0%": { opacity: 1 },
|
146
|
+
"100%": { opacity: 0 }
|
147
|
+
}
|
148
|
+
},
|
149
|
+
animation: {
|
150
|
+
"fadeIn": "fadeIn ease-in-out 1s",
|
151
|
+
"fadeOut": "fadeOut ease-in-out 1s",
|
152
|
+
}
|
153
|
+
},
|
154
|
+
},
|
155
|
+
variants: {
|
156
|
+
extend: {},
|
157
|
+
},
|
158
|
+
plugins: [
|
159
|
+
plugin(function ({ addUtilities }) {
|
160
|
+
const acorexClasses = {
|
161
|
+
'.animate-fast': {
|
162
|
+
animationDuration: '800ms'
|
163
|
+
},
|
164
|
+
'.animate-faster': {
|
165
|
+
animationDuration: '500ms'
|
166
|
+
},
|
167
|
+
'.bg-default': {
|
168
|
+
backgroundColor: 'rgb(var(--ax-color-default-background) / var(--tw-bg-opacity))'
|
169
|
+
},
|
170
|
+
'.text-default': {
|
171
|
+
backgroundColor: 'rgb(var(--ax-color-default-color) / var(--tw-text-opacity))'
|
172
|
+
}
|
173
|
+
}
|
174
|
+
addUtilities(acorexClasses, ['responsive', 'hover', 'focus'])
|
175
|
+
}),
|
176
|
+
require('postcss-import'),
|
177
|
+
require('tailwindcss/nesting')(require('postcss-nesting')),
|
178
|
+
require('tailwindcss'),
|
179
|
+
require('autoprefixer'),
|
180
|
+
require('tailwind-rtl-utilities')
|
181
|
+
// require('@tailwindcss/aspect-ratio'),
|
182
|
+
// require('@tailwindcss/forms'),
|
183
|
+
// require('@tailwindcss/line-clamp'),
|
184
|
+
// require('@tailwindcss/typography')
|
185
|
+
],
|
186
|
+
};
|
package/config/index.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './public-api';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './src/configs';
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { get, set, merge } from 'lodash-es';
|
2
|
+
import { Subject, Observable } from 'rxjs';
|
3
|
+
|
4
|
+
// @dynamic
|
5
|
+
export class AXConfig {
|
6
|
+
private static dataModel: any = {};
|
7
|
+
private static dataChangeSubject = new Subject<any>();
|
8
|
+
|
9
|
+
static get onChange(): Observable<any> {
|
10
|
+
return AXConfig.dataChangeSubject.asObservable();
|
11
|
+
}
|
12
|
+
|
13
|
+
static set(config: any): any;
|
14
|
+
static set(path: string, value?: any): void;
|
15
|
+
static set(arg1?: any, arg2?: any) {
|
16
|
+
if (arg1 && typeof arg1 == 'string') {
|
17
|
+
set(AXConfig.dataModel, arg1, arg2);
|
18
|
+
AXConfig.dataChangeSubject.next(AXConfig.dataModel);
|
19
|
+
return true;
|
20
|
+
}
|
21
|
+
if (arg1 && typeof arg1 == 'object') {
|
22
|
+
merge(AXConfig.dataModel, arg1);
|
23
|
+
AXConfig.dataChangeSubject.next(AXConfig.dataModel);
|
24
|
+
return true;
|
25
|
+
}
|
26
|
+
if (!arg1 && !arg2) {
|
27
|
+
return AXConfig.dataChangeSubject.asObservable();
|
28
|
+
}
|
29
|
+
// TODO: Arash please check 'Not all code paths return a value.'.
|
30
|
+
// if remove return you can see error on line 15.
|
31
|
+
return '';
|
32
|
+
}
|
33
|
+
|
34
|
+
static get(path: string, defaultValue?: any): any {
|
35
|
+
return get(AXConfig.dataModel, path, defaultValue);
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './public-api';
|