@thzero/library_client_svelte 0.17.2 → 0.17.3
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/boot/baseServices.js +3 -3
- package/boot/baseValidation.js +4 -2
- package/boot/basei18n.js +3 -3
- package/package.json +3 -3
package/boot/baseServices.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import LibraryClientUtility from '@thzero/library_client/utility/index';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import ServicesBaseBoot from '@thzero/library_client/boot/baseServices';
|
|
4
4
|
|
|
5
5
|
import eventService from '../service/event';
|
|
6
6
|
import routerService from '../service/router';
|
|
7
7
|
import storeService from '../service/store';
|
|
8
8
|
import translateService from '../service/translate';
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class SvelteServicesBaseBoot extends ServicesBaseBoot {
|
|
11
11
|
_initializeInjector(framework, injector) {
|
|
12
12
|
LibraryClientUtility.$injector = injector;
|
|
13
13
|
}
|
|
@@ -29,4 +29,4 @@ class SvelteBaseServices extends BaseServices {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export default
|
|
32
|
+
export default SvelteServicesBaseBoot;
|
package/boot/baseValidation.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import BaseBoot from '@thzero/library_client/boot/base';
|
|
2
|
+
|
|
3
|
+
class ValidateBaseBoot extends BaseBoot {
|
|
2
4
|
// eslint-disable-next-line
|
|
3
5
|
async execute(framework, app, store) {
|
|
4
6
|
// extend('decimal', {
|
|
@@ -51,4 +53,4 @@ class BaseValidate {
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
|
|
54
|
-
export default
|
|
56
|
+
export default ValidateBaseBoot;
|
package/boot/basei18n.js
CHANGED
|
@@ -2,11 +2,11 @@ import { init, getLocaleFromNavigator, register, format, addMessages, unwrapFunc
|
|
|
2
2
|
|
|
3
3
|
import LibraryClientUtility from '@thzero/library_client/utility/index';
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import i18nBaseBoot from '@thzero/library_client/boot/basei18n';
|
|
6
6
|
|
|
7
7
|
import NotImplementedError from '@thzero/library_common/errors/notImplemented';
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class Sveltei18nBaseBoot extends i18nBaseBoot {
|
|
10
10
|
// eslint-disable-next-line
|
|
11
11
|
async execute(framework, app, store) {
|
|
12
12
|
this._initMessages(register, addMessages);
|
|
@@ -23,4 +23,4 @@ class SvelteBasei18n extends Basei18n {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export default
|
|
26
|
+
export default Sveltei18nBaseBoot;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_client_svelte",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.3",
|
|
4
4
|
"version_major": 0,
|
|
5
5
|
"version_minor": 17,
|
|
6
|
-
"version_patch":
|
|
7
|
-
"version_date": "
|
|
6
|
+
"version_patch": 3,
|
|
7
|
+
"version_date": "03/03/2023",
|
|
8
8
|
"description": "An opinionated library of common functionality to bootstrap a Svelte based SPA application.",
|
|
9
9
|
"author": "thZero",
|
|
10
10
|
"license": "MIT",
|