@bizdoc/core 1.14.0 → 1.14.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/fesm2020/bizdoc-core.mjs
CHANGED
@@ -6343,7 +6343,7 @@ class CubeService {
|
|
6343
6343
|
getLocaleNumberFormat(this._session.language, NumberFormatStyle.Decimal);
|
6344
6344
|
}
|
6345
6345
|
get currencyCode() {
|
6346
|
-
const { currencyCode } = this._config
|
6346
|
+
const { currencyCode } = this._config;
|
6347
6347
|
return currencyCode || DEFAULT_CURRENCY;
|
6348
6348
|
}
|
6349
6349
|
get digitsInfo() {
|
@@ -27298,9 +27298,6 @@ class SharedModule {
|
|
27298
27298
|
const { formats, routing } = config || {};
|
27299
27299
|
registerComponents(CORE_COMPONENTS);
|
27300
27300
|
const providers = [{
|
27301
|
-
provide: RouterImpl, useClass: !routing || routing === 'ng' ? NgRouter : PaneRouter
|
27302
|
-
},
|
27303
|
-
{
|
27304
27301
|
provide: MAT_DATE_FORMATS, useValue: {
|
27305
27302
|
parse: {
|
27306
27303
|
dateInput: 'LL',
|
@@ -27313,6 +27310,10 @@ class SharedModule {
|
|
27313
27310
|
}
|
27314
27311
|
}
|
27315
27312
|
}];
|
27313
|
+
if (routing)
|
27314
|
+
providers.push({
|
27315
|
+
provide: RouterImpl, useClass: routing === 'ng' ? NgRouter : PaneRouter
|
27316
|
+
});
|
27316
27317
|
return {
|
27317
27318
|
ngModule: SharedModule,
|
27318
27319
|
providers
|