oip-common 0.0.13 → 0.0.14
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/fesm2022/oip-common.mjs +3 -12
- package/fesm2022/oip-common.mjs.map +1 -1
- package/index.d.ts +68 -2
- package/package.json +1 -1
package/fesm2022/oip-common.mjs
CHANGED
|
@@ -722,10 +722,10 @@ class LayoutService {
|
|
|
722
722
|
this.dateTimeFormat = computed(() => `${this.layoutConfig().dateFormat} ${this.layoutConfig().timeFormat}`, ...(ngDevMode ? [{ debugName: "dateTimeFormat" }] : []));
|
|
723
723
|
this.monthFormat = computed(() => {
|
|
724
724
|
const reDay = /d+/i;
|
|
725
|
-
const
|
|
725
|
+
const reDelimiter = /^[^\w]|[^\w]$|([^\w])\1+/;
|
|
726
726
|
const ngDateFormat = convertToPrimeNgDateFormat(this.layoutConfig().dateFormat);
|
|
727
727
|
const ngDate = ngDateFormat.replace(reDay, '');
|
|
728
|
-
const dateGroups = ngDate.match(
|
|
728
|
+
const dateGroups = ngDate.match(reDelimiter);
|
|
729
729
|
if (Array.isArray(dateGroups) && dateGroups.length > 1) {
|
|
730
730
|
return dateGroups[1] !== undefined
|
|
731
731
|
? ngDate.replace(dateGroups[0], '')
|
|
@@ -1466,15 +1466,6 @@ class KeycloakSecurityService extends OidcSecurityService {
|
|
|
1466
1466
|
this.auth();
|
|
1467
1467
|
});
|
|
1468
1468
|
}
|
|
1469
|
-
refreshToken() {
|
|
1470
|
-
throw new Error("Method not implemented.");
|
|
1471
|
-
}
|
|
1472
|
-
hasRole(role) {
|
|
1473
|
-
throw new Error("Method not implemented.");
|
|
1474
|
-
}
|
|
1475
|
-
getUserRoles() {
|
|
1476
|
-
throw new Error("Method not implemented.");
|
|
1477
|
-
}
|
|
1478
1469
|
getCurrentUser() {
|
|
1479
1470
|
return this.userData;
|
|
1480
1471
|
}
|
|
@@ -4269,5 +4260,5 @@ const httpLoaderAuthFactory = (httpClient) => {
|
|
|
4269
4260
|
* Generated bundle index. Do not edit.
|
|
4270
4261
|
*/
|
|
4271
4262
|
|
|
4272
|
-
export { AppConfiguratorComponent, AppFloatingConfiguratorComponent, AppLayoutComponent, AppModulesComponent, AppTopbar, AuthGuardService, BaseDataService, BaseModuleComponent, ConfigComponent, DbMigrationComponent, ErrorComponent, FooterComponent, LayoutService, LogoComponent, MenuComponent, MenuService, MsgService, NotfoundComponent, ProfileComponent, SecurePipe, SecurityComponent, SecurityDataService, SecurityService, SecurityStorageService, SidebarComponent, TopBarService, UnauthorizedComponent, UserService, httpLoaderAuthFactory, langIntercept };
|
|
4263
|
+
export { AppConfiguratorComponent, AppFloatingConfiguratorComponent, AppLayoutComponent, AppModulesComponent, AppTopbar, AuthGuardService, BaseDataService, BaseModuleComponent, ConfigComponent, DbMigrationComponent, ErrorComponent, FooterComponent, KeycloakSecurityService, LayoutService, LogoComponent, MenuComponent, MenuService, MsgService, NotfoundComponent, ProfileComponent, SecurePipe, SecurityComponent, SecurityDataService, SecurityService, SecurityStorageService, SidebarComponent, TopBarService, UnauthorizedComponent, UserService, httpLoaderAuthFactory, langIntercept };
|
|
4273
4264
|
//# sourceMappingURL=oip-common.mjs.map
|