@platform-mesh/portal-ui-lib 0.36.2 → 0.36.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.
@@ -183,10 +183,10 @@ class NamespaceSelectionRendererService {
183
183
  console.warn(`Segment "${name}" not found in path.`);
184
184
  }
185
185
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NamespaceSelectionRendererService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
187
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NamespaceSelectionRendererService, providedIn: 'root' }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NamespaceSelectionRendererService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
187
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NamespaceSelectionRendererService, providedIn: 'root' }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NamespaceSelectionRendererService, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NamespaceSelectionRendererService, decorators: [{
190
190
  type: Injectable,
191
191
  args: [{ providedIn: 'root' }]
192
192
  }] });
@@ -233,10 +233,10 @@ class HeaderBarConfigServiceImpl {
233
233
  rightRenderers: [this.namespaceSelectionRendererService.create(portalConfig)],
234
234
  };
235
235
  }
236
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: HeaderBarConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
237
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: HeaderBarConfigServiceImpl, providedIn: 'root' }); }
236
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HeaderBarConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
237
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HeaderBarConfigServiceImpl, providedIn: 'root' }); }
238
238
  }
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: HeaderBarConfigServiceImpl, decorators: [{
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HeaderBarConfigServiceImpl, decorators: [{
240
240
  type: Injectable,
241
241
  args: [{
242
242
  providedIn: 'root',
@@ -260,10 +260,10 @@ class LuigiExtendedGlobalContextConfigServiceImpl {
260
260
  entityName: idpName,
261
261
  };
262
262
  }
263
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
264
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, providedIn: 'root' }); }
263
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
264
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, providedIn: 'root' }); }
265
265
  }
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, decorators: [{
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LuigiExtendedGlobalContextConfigServiceImpl, decorators: [{
267
267
  type: Injectable,
268
268
  args: [{ providedIn: 'root' }]
269
269
  }] });
@@ -281,10 +281,10 @@ class NavigationRedirectStrategyServiceImpl {
281
281
  clearRedirectUrl() {
282
282
  localStorage.removeItem(LocalStorageKeys.LAST_NAVIGATION_URL);
283
283
  }
284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
285
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, providedIn: 'root' }); }
284
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
285
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, providedIn: 'root' }); }
286
286
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NavigationRedirectStrategyServiceImpl, decorators: [{
288
288
  type: Injectable,
289
289
  args: [{ providedIn: 'root' }]
290
290
  }] });
@@ -343,10 +343,10 @@ class CrdGatewayKcpPatchResolver {
343
343
  }
344
344
  return { kcpPath, accountPath };
345
345
  }
346
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CrdGatewayKcpPatchResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
347
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CrdGatewayKcpPatchResolver, providedIn: 'root' }); }
346
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CrdGatewayKcpPatchResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
347
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CrdGatewayKcpPatchResolver, providedIn: 'root' }); }
348
348
  }
349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CrdGatewayKcpPatchResolver, decorators: [{
349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CrdGatewayKcpPatchResolver, decorators: [{
350
350
  type: Injectable,
351
351
  args: [{ providedIn: 'root' }]
352
352
  }] });
@@ -364,10 +364,10 @@ class NodeChangeHookConfigServiceImpl {
364
364
  }
365
365
  await this.crdGatewayKcpPatchResolver.resolveCrdGatewayKcpPath(nextNode);
366
366
  }
367
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeChangeHookConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
368
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeChangeHookConfigServiceImpl, providedIn: 'root' }); }
367
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeChangeHookConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
368
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeChangeHookConfigServiceImpl, providedIn: 'root' }); }
369
369
  }
370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeChangeHookConfigServiceImpl, decorators: [{
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeChangeHookConfigServiceImpl, decorators: [{
371
371
  type: Injectable,
372
372
  args: [{ providedIn: 'root' }]
373
373
  }] });
@@ -425,10 +425,10 @@ class NodeContextProcessingServiceImpl {
425
425
  ctx.entityId = `${accountOriginClusterId}/${entityId}`;
426
426
  ctx.kcpCA = btoa(accountInfo.spec.clusterInfo.ca);
427
427
  }
428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeContextProcessingServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
429
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeContextProcessingServiceImpl, providedIn: 'root' }); }
428
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeContextProcessingServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
429
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeContextProcessingServiceImpl, providedIn: 'root' }); }
430
430
  }
431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NodeContextProcessingServiceImpl, decorators: [{
431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: NodeContextProcessingServiceImpl, decorators: [{
432
432
  type: Injectable,
433
433
  args: [{
434
434
  providedIn: 'root',
@@ -463,10 +463,10 @@ class CustomRoutingConfigServiceImpl {
463
463
  keepURL,
464
464
  };
465
465
  }
466
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CustomRoutingConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
467
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CustomRoutingConfigServiceImpl }); }
466
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CustomRoutingConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
467
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CustomRoutingConfigServiceImpl }); }
468
468
  }
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CustomRoutingConfigServiceImpl, decorators: [{
469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: CustomRoutingConfigServiceImpl, decorators: [{
470
470
  type: Injectable
471
471
  }], ctorParameters: () => [] });
472
472
 
@@ -486,10 +486,10 @@ class UserProfileConfigServiceImpl {
486
486
  ],
487
487
  };
488
488
  }
489
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: UserProfileConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
490
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: UserProfileConfigServiceImpl, providedIn: 'root' }); }
489
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: UserProfileConfigServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
490
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: UserProfileConfigServiceImpl, providedIn: 'root' }); }
491
491
  }
492
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: UserProfileConfigServiceImpl, decorators: [{
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: UserProfileConfigServiceImpl, decorators: [{
493
493
  type: Injectable,
494
494
  args: [{ providedIn: 'root' }]
495
495
  }] });
@@ -43,10 +43,10 @@ class GatewayService {
43
43
  }
44
44
  return kcpPath;
45
45
  }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: GatewayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
47
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: GatewayService, providedIn: 'root' }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: GatewayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
47
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: GatewayService, providedIn: 'root' }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: GatewayService, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: GatewayService, decorators: [{
50
50
  type: Injectable,
51
51
  args: [{ providedIn: 'root' }]
52
52
  }] });
@@ -106,10 +106,10 @@ class ApolloFactory {
106
106
  cache,
107
107
  };
108
108
  }
109
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ApolloFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
110
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ApolloFactory, providedIn: 'root' }); }
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ApolloFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
110
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ApolloFactory, providedIn: 'root' }); }
111
111
  }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ApolloFactory, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ApolloFactory, decorators: [{
113
113
  type: Injectable,
114
114
  args: [{
115
115
  providedIn: 'root',
@@ -451,10 +451,10 @@ class ResourceService {
451
451
  throw error;
452
452
  }
453
453
  }
454
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ResourceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
455
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ResourceService, providedIn: 'root' }); }
454
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ResourceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
455
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ResourceService, providedIn: 'root' }); }
456
456
  }
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ResourceService, decorators: [{
457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ResourceService, decorators: [{
458
458
  type: Injectable,
459
459
  args: [{
460
460
  providedIn: 'root',
@@ -516,10 +516,10 @@ class AccountInfoService {
516
516
  };
517
517
  }));
518
518
  }
519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AccountInfoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AccountInfoService, providedIn: 'root' }); }
519
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: AccountInfoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
520
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: AccountInfoService, providedIn: 'root' }); }
521
521
  }
522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AccountInfoService, decorators: [{
522
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: AccountInfoService, decorators: [{
523
523
  type: Injectable,
524
524
  args: [{
525
525
  providedIn: 'root',
@@ -552,10 +552,10 @@ class LogicalClusterService {
552
552
  })
553
553
  .pipe(map((res) => res.data.core_kcp_io.v1alpha1.LogicalCluster));
554
554
  }
555
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LogicalClusterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
556
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LogicalClusterService, providedIn: 'root' }); }
555
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LogicalClusterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
556
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LogicalClusterService, providedIn: 'root' }); }
557
557
  }
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LogicalClusterService, decorators: [{
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: LogicalClusterService, decorators: [{
559
559
  type: Injectable,
560
560
  args: [{
561
561
  providedIn: 'root',
@@ -586,10 +586,10 @@ class ErrorHandlerService {
586
586
  return (!!error?.message?.toLowerCase().includes('forbidden') ||
587
587
  !!error?.message?.toLowerCase()?.includes('access denied'));
588
588
  }
589
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
590
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ErrorHandlerService, providedIn: 'root' }); }
589
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ErrorHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
590
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ErrorHandlerService, providedIn: 'root' }); }
591
591
  }
592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ErrorHandlerService, decorators: [{
592
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ErrorHandlerService, decorators: [{
593
593
  type: Injectable,
594
594
  args: [{ providedIn: 'root' }]
595
595
  }] });
@@ -635,10 +635,10 @@ class OrganizationReadyService {
635
635
  checkOrganizationReady() {
636
636
  this.check$.next();
637
637
  }
638
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OrganizationReadyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
639
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OrganizationReadyService, providedIn: 'root' }); }
638
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: OrganizationReadyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
639
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: OrganizationReadyService, providedIn: 'root' }); }
640
640
  }
641
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OrganizationReadyService, decorators: [{
641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: OrganizationReadyService, decorators: [{
642
642
  type: Injectable,
643
643
  args: [{ providedIn: 'root' }]
644
644
  }], ctorParameters: () => [] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-mesh/portal-ui-lib",
3
- "version": "0.36.2",
3
+ "version": "0.36.3",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/platform-mesh/portal-ui-lib.git"
6
6
  },
package/assets/814.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwc=self.webpackChunkwc||[]).push([[814],{1814(q,R,l){l.d(R,{default:()=>Z});var _=l(452);function p(n,u,e,t){return n.replaceAll(new RegExp((n=>n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(u),(t?"i":"")+"g"),e)}var I=l(5846),g=l(2802),L=l(9824),f=l(6981),r=l(8),H=l(9574);function M(){return(0,r.Y)("div",{part:"content",id:"content",class:"ui5-li-content",children:(0,r.FD)("div",{class:"ui5-li-text-wrapper",children:[(0,r.Y)("span",{part:"title",className:"ui5-li-title",dangerouslySetInnerHTML:{__html:this.markupText}}),this.additionalText&&(0,r.Y)("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText})]})})}var v=l(467),S=l(4291),V=l(407),Y=l(5444);(0,S.Rh)("@ui5/webcomponents-theming","sap_horizon",(0,v.A)(function*(){return V.A})),(0,S.Rh)("@ui5/webcomponents","sap_horizon",(0,v.A)(function*(){return Y.A}),"host");var d=function(n,u,e,t){var o,i=arguments.length,s=i<3?u:null===t?t=Object.getOwnPropertyDescriptor(u,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(n,u,e,t);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(s=(i<3?o(s):i>3?o(u,e,s):o(u,e))||s);return i>3&&s&&Object.defineProperty(u,e,s),s};let c=class extends f.A{constructor(){super(...arguments),this.markupText=""}onEnterDOM(){(0,L.xl)()&&this.setAttribute("desktop","")}get _effectiveTabIndex(){return-1}};d([(0,g.A)()],c.prototype,"text",void 0),d([(0,g.A)()],c.prototype,"additionalText",void 0),d([(0,g.A)()],c.prototype,"markupText",void 0),c=d([(0,I.A)({tag:"ui5-suggestion-item",template:function F(){return[H.A.call(this,{listItemContent:M},{role:"option"})]},styles:[f.A.styles,":host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-root{min-height:var(--_ui5_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-content{padding-bottom:.5rem;padding-top:.5rem;box-sizing:border-box}\n"]})],c),c.define();var E=l(7417),N=l(6374),$=l(45),B=l(7601),z=l(897);function W(){return(0,r.Y)("slot",{})}var x=function(n,u,e,t){var o,i=arguments.length,s=i<3?u:null===t?t=Object.getOwnPropertyDescriptor(u,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(n,u,e,t);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(s=(i<3?o(s):i>3?o(u,e,s):o(u,e))||s);return i>3&&s&&Object.defineProperty(u,e,s),s};let m=class extends N.A{};x([(0,E.A)({default:!0,invalidateOnChildChange:!0,type:HTMLElement})],m.prototype,"items",void 0),m=x([(0,I.A)({tag:"ui5-suggestion-item-group",template:function j(n){const u=n?.items||W;return(0,r.FD)("ul",{role:"group",class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,children:[this.hasHeader&&(0,r.Y)($.A,{focused:this.focused,part:"header",accessibleRole:z.A.Group,wrappingType:this.getGroupHeaderWrapping(),children:this.hasFormattedHeader?(0,r.Y)("slot",{name:"header"}):this.headerText}),u.call(this),(0,r.Y)(B.A,{orientation:"Horizontal",ownerReference:this})]})}})],m),m.define();var A=l(9666),T=l(8731),U=l(8889),K=l(2920),C=l(7287),X=l(9698);function J(n){const u=n?.suggestionsList||Q,e=n?.mobileHeader,t=n?.valueStateMessage,i=n?.valueStateMessageInputIcon;return(0,r.FD)(K.A,{class:this.classes.popover,hideArrow:!0,preventFocusRestore:!0,preventInitialFocus:!0,placement:"Bottom",horizontalAlign:"Start",tabindex:-1,style:this.styles.suggestionsPopover,onOpen:this._afterOpenPicker,onClose:this._afterClosePicker,onScroll:this._scroll,open:this.open,opener:this,accessibleName:this._popupLabel,children:[this._isPhone&&(0,r.Y)(r.FK,{children:(0,r.FD)("div",{slot:"header",class:"ui5-responsive-popover-header",children:[(0,r.Y)("div",{class:"row",children:(0,r.Y)("span",{children:this._headerTitleText})}),(0,r.Y)("div",{class:"row",children:(0,r.FD)("div",{class:"input-root-phone native-input-wrapper",children:[(0,r.Y)(A.A,{class:"ui5-input-inner-phone",type:this.inputType,value:this.value,showClearIcon:this.showClearIcon,placeholder:this.placeholder,onInput:this._handleInput}),e?.call(this)]})}),this.hasValueStateMessage&&(0,r.FD)("div",{class:this.classes.popoverValueState,style:this.styles.suggestionPopoverHeader,children:[(0,r.Y)(T.A,{class:"ui5-input-value-state-message-icon",name:i?.call(this)}),this.open&&t?.call(this)]})]})}),!this._isPhone&&this.hasValueStateMessage&&(0,r.FD)("div",{slot:"header",class:{"ui5-responsive-popover-header":!0,...this.classes.popoverValueState},style:this.styles.suggestionPopoverHeader,children:[(0,r.Y)(T.A,{class:"ui5-input-value-state-message-icon",name:i?.call(this)}),this.open&&t?.call(this)]}),this.showSuggestions&&u.call(this),this._isPhone&&(0,r.FD)("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:[(0,r.Y)(C.A,{design:"Emphasized",onClick:this._confirmMobileValue,children:this._suggestionsOkButtonText}),(0,r.Y)(C.A,{class:"ui5-responsive-popover-close-btn",design:"Transparent",onClick:this._cancelMobileValue,children:this._suggestionsCancelButtonText})]})]})}function Q(){return(0,r.Y)(U.A,{accessibleRole:X.A.ListBox,separators:this.suggestionSeparators,selectionMode:"Single",onMouseDown:this.onItemMouseDown,onItemClick:this._handleSuggestionItemPress,onSelectionChange:this._handleSelectionChange,children:(0,r.Y)("slot",{})})}var P=l(5166);let b=(()=>{class n{get template(){return J}constructor(e,t,i,s){this.component=e,this.slotName=t,this.handleFocus=s,this.highlight=i,this.selectedItemIndex=-1}onUp(e,t){return e.preventDefault(),this._handleItemNavigation(!1,!this.isOpened&&this._hasValueState&&-1===t?0:t),!0}onDown(e,t){return e.preventDefault(),this._handleItemNavigation(!0,!this.isOpened&&this._hasValueState&&-1===t?0:t),!0}onSpace(e){return!!this._isItemOnTarget()&&(e.preventDefault(),this.onItemSelected(this._selectedItem,!0),!0)}onEnter(e){return this._isGroupItem?(e.preventDefault(),!1):!!this._isItemOnTarget()&&(this.onItemSelected(this._selectedItem,!0),!0)}onPageUp(e){return e.preventDefault(),this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex-10>-1?this.selectedItemIndex-=10:this.selectedItemIndex=0),!0}onPageDown(e){e.preventDefault();const t=this.visibleItems;if(!t)return!0;const i=t.length-1;return this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex+10<=i?this.selectedItemIndex+=10:this.selectedItemIndex=i),!0}onHome(e){return e.preventDefault(),this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=0),!0}onEnd(e){e.preventDefault();const t=this._getItems().length-1;return t&&this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=t),!0}onTab(){return!!this._isItemOnTarget()&&(this.onItemSelected(this._selectedItem,!0),!0)}toggle(e,t){(void 0!==e?e:!this.isOpened())?this._getComponent().open=!0:this.close(t.preventFocusRestore)}get _selectedItem(){return this._getNonGroupItems().find(e=>e.selected)}_isScrollable(){const e=this._getScrollContainer();return e.offsetHeight<e.scrollHeight}close(e=!1){const t=this._getItems()&&this._getItems()[this.selectedItemIndex];this._getComponent().open=!1;const i=this._getPicker();i.preventFocusRestore=e,i.open=!1,t&&t.focused&&(t.focused=!1)}updateSelectedItemPosition(e){this.selectedItemIndex=e}onItemSelected(e,t){const i=e,s=this._getNonGroupItems();i&&(this.accInfo={isGroup:i.hasAttribute("ui5-suggestion-item-group"),currentPos:s.indexOf(i)+1,listSize:s.length,itemText:i.text||"",additionalText:i.additionalText},this._getComponent().onItemSelected(i,t),this._getComponent().open=!1)}onItemSelect(e){this._getComponent().onItemSelect(e)}onItemPress(e){let t;const i="ui5-item-click"===e.type;i&&!e.detail.item.selected||this._handledPress&&!i||(i&&e.detail.item.selected?(t=e.detail.item,this._handledPress=!0):t=e.detail.selectedItems[0],this.onItemSelected(t,!1))}_onClose(){this._handledPress=!1}_isItemOnTarget(){return this.isOpened()&&null!==this.selectedItemIndex&&-1!==this.selectedItemIndex&&!this._isGroupItem}get _isGroupItem(){const e=this._getItems();return!(!e||!e[this.selectedItemIndex])&&e[this.selectedItemIndex].hasAttribute("ui5-suggestion-item-group")}isOpened(){return!!this._getPicker()?.open}_handleItemNavigation(e,t){this.selectedItemIndex=t,this._getItems().length&&(e?this._selectNextItem():this._selectPreviousItem())}_selectNextItem(){const e=this._getItems().length,t=this.selectedItemIndex;-1!==t&&t+1>e-1||this._moveItemSelection(t,++this.selectedItemIndex)}_selectPreviousItem(){const e=this.visibleItems,t=this.selectedItemIndex;if(-1!==t&&null!==t){if(t-1<0)return(e[t].hasAttribute("ui5-suggestion-item")||e[t].hasAttribute("ui5-suggestion-item-custom"))&&(e[t].selected=!1),e[t].focused=!1,this.component.focused=!0,this.component.hasSuggestionItemSelected=!1,void(this.selectedItemIndex-=1);this._moveItemSelection(t,--this.selectedItemIndex)}}get visibleItems(){return this._getItems().filter(e=>!e.hidden)}_moveItemSelection(e,t){const i=this.visibleItems,s=i[t],o=i[e],a=this._getNonGroupItems(),h=s?.hasAttribute("ui5-suggestion-item-group");if(!s)return;this.component.focused=!1;const D=this.visibleItems[this.selectedItemIndex];if(this.accInfo={isGroup:h,currentPos:i.indexOf(s)+1,itemText:(h?D.headerText:D.text)||""},(s.hasAttribute("ui5-suggestion-item")||s.hasAttribute("ui5-suggestion-item-custom"))&&(this.accInfo.additionalText=s.additionalText||"",this.accInfo.currentPos=a.indexOf(s)+1,this.accInfo.listSize=a.length),o&&(o.focused=!1),(o?.hasAttribute("ui5-suggestion-item")||o?.hasAttribute("ui5-suggestion-item-custom"))&&(o.selected=!1),s&&(s.focused=!0,h||(s.selected=!0),this.handleFocus&&s.focus()),this.component.hasSuggestionItemSelected=!0,this.onItemSelect(s),!this._isItemIntoView(s)){const k=this._isGroupItem?s.shadowRoot.querySelector("[ui5-li-group-header]"):s;this._scrollItemIntoView(k)}}_deselectItems(){this._getItems().forEach(t=>{t.hasAttribute("ui5-suggestion-item")&&(t.selected=!1),t.focused=!1})}_clearItemFocus(){const e=this._getItems().find(t=>t.focused);e&&(e.focused=!1)}_isItemIntoView(e){const t=e.getDomRef().getBoundingClientRect(),i=this._getComponent().getDomRef().getBoundingClientRect(),s=window.innerHeight||document.documentElement.clientHeight;let o=0;return this._hasValueState&&(o=this._getPicker().querySelector("[slot=header]").getBoundingClientRect().height),t.top+n.SCROLL_STEP<=s&&t.top>=i.top+o}_scrollItemIntoView(e){e.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}_getScrollContainer(){return this._scrollContainer||(this._scrollContainer=this._getPicker().shadowRoot.querySelector(".ui5-popup-content")),this._scrollContainer}_getItems(){return this._getComponent().getSlottedNodes("suggestionItems").flatMap(t=>t.hasAttribute("ui5-suggestion-item-group")?[t,...t.items]:[t])}_getNonGroupItems(){return this._getItems().filter(e=>!e.hasAttribute("ui5-suggestion-item-group"))}_getComponent(){return this.component}_getList(){return this._getPicker().querySelector("[ui5-list]")}_getListWidth(){return this._getList()?.offsetWidth}_getPicker(){return this._getComponent().shadowRoot.querySelector("[ui5-responsive-popover]")}get itemSelectionAnnounce(){if(!this.accInfo)return"";if(this.accInfo.isGroup)return`${n.i18nBundle.getText(P.Fr3)} ${this.accInfo.itemText}`;const e=n.i18nBundle.getText(P.piN,this.accInfo.currentPos||0,this.accInfo.listSize||0);return`${this.accInfo.additionalText} ${e}`.trim()}hightlightInput(e,t){return function y(n,u){if(!n||!u)return n;const e=o=>{const[a,h]=o.split("");for(;n.indexOf(o)>=0||u.indexOf(o)>=0;)o=`${a}${o}${h}`;return o},t=e("12"),i=e("34");let s=(0,_.A)(p(n,u,o=>`${t}${o}${i}`,!0));return[[t,"<b>"],[i,"</b>"]].forEach(([o,a])=>{s=p(s,o,a,!1)}),s}(e,t)}get _hasValueState(){return this.component.hasValueStateMessage}_clearSelectedSuggestionAndaccInfo(){this.accInfo=void 0,this.selectedItemIndex=0}}return n.SCROLL_STEP=60,n})();A.A.SuggestionsClass=b;const Z=b}}]);