@datarailsshared/datarailsshared 1.3.17 → 1.3.18

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.
@@ -1480,7 +1480,7 @@
1480
1480
  useExisting: DrSelectComponent,
1481
1481
  multi: true
1482
1482
  }],
1483
- styles: [":host{width:100%;height:32px}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px!important;border:1px solid #C3C4CE;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#85889c}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#21b8f1}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{top:0!important;line-height:30px;padding:0 50px 0 8px!important;color:#151b3f;font-size:14px;font-weight:400}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-value{line-height:1}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{color:#151a41;height:24px;padding:2px 8px;font-size:12px;margin:2px 2px 2px 0;background:#E5E6EA;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{line-height:20px;padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0 0 0 9px!important;color:#51566f;font-size:16px;font-weight:bold}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#E5E6EA!important;border:1px solid #E5E6EA!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#bcbcbc!important}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#de2833}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{border:1px solid #DBDEE3;border-radius:6px!important;margin-top:8px!important;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:10px 12px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#F3F7FF;color:#151b3f}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:normal!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:hover,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected:hover,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked:hover{background:#F6F7F8}\n"]
1483
+ styles: [":host{width:100%;height:32px}:host ::ng-deep ng-select.ng-select .ng-select-container{min-height:32px;height:32px;width:100%;border-radius:6px!important;border:1px solid #C3C4CE;box-shadow:none!important}:host ::ng-deep ng-select.ng-select .ng-select-container:hover{border-color:#85889c}:host ::ng-deep ng-select.ng-select .ng-select-container:focus-within{border-color:#21b8f1}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-input{top:0!important;line-height:30px;padding:0 50px 0 8px!important;color:#151b3f;font-size:14px;font-weight:400}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container{padding:0 0 0 8px;height:100%;overflow:auto}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-value{line-height:1}:host ::ng-deep ng-select.ng-select .ng-select-container .ng-value-container .ng-input{padding:0 0 0 3px!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container{max-height:58px;height:100%}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container{max-height:58px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{color:#151a41;height:24px;padding:2px 8px;font-size:12px;margin:2px 2px 2px 0;background:#E5E6EA;display:flex;flex-direction:row-reverse;align-items:center;border-radius:12px}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-label{line-height:20px;padding:0!important}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon{border:none!important;padding:0 0 0 9px!important;color:#51566f;font-size:16px;font-weight:bold}:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon,:host ::ng-deep ng-select.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value-icon:hover{background:transparent!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within{background:#E5E6EA!important;border:1px solid #E5E6EA!important}:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:hover .ng-value,:host ::ng-deep ng-select.ng-select.ng-select-disabled .ng-select-container:focus-within .ng-value{color:#bcbcbc!important}:host ::ng-deep ng-select.ng-select.ng-select-single.ng-invalid.ng-touched .ng-select-container,:host ::ng-deep ng-select.ng-select.ng-select-multiple.ng-invalid.ng-touched .ng-select-container{border-color:#de2833}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select{border:1px solid #DBDEE3;border-radius:6px!important;margin-top:8px!important;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:empty{display:none}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;min-height:36px;padding:10px 12px}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option>.ng-option-label{text-overflow:ellipsis;overflow:hidden}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-marked{background:#fff}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background:#F3F7FF;color:#151b3f}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected span,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked span{font-weight:normal!important}::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option:hover,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected:hover,::ng-deep ng-dropdown-panel.ng-dropdown-panel.dr-select .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked:hover{background:#F6F7F8}\n"]
1484
1484
  },] }
1485
1485
  ];
1486
1486
  DrSelectComponent.propDecorators = {
@@ -1648,10 +1648,10 @@
1648
1648
  var POPUP_ANIMATION = [
1649
1649
  animations.transition(':enter', [
1650
1650
  animations.style({ opacity: 0 }),
1651
- animations.animate(300, animations.style({ opacity: 1 })),
1651
+ animations.animate(150, animations.style({ opacity: 1 })),
1652
1652
  ]),
1653
1653
  animations.transition(':leave', [
1654
- animations.animate(300, animations.style({ opacity: 0 })),
1654
+ animations.animate(150, animations.style({ opacity: 0 })),
1655
1655
  ]),
1656
1656
  ];
1657
1657
 
@@ -2286,6 +2286,31 @@
2286
2286
  return DrPopoverRef;
2287
2287
  }());
2288
2288
 
2289
+ exports.DrPopoverAlignmentDimension = void 0;
2290
+ (function (DrPopoverAlignmentDimension) {
2291
+ DrPopoverAlignmentDimension["Width"] = "width";
2292
+ DrPopoverAlignmentDimension["Height"] = "height";
2293
+ })(exports.DrPopoverAlignmentDimension || (exports.DrPopoverAlignmentDimension = {}));
2294
+ var DEFAULT_CONFIG = {
2295
+ hasBackdrop: false,
2296
+ closeOnBackdropClick: false,
2297
+ backdropClass: 'dr-popover-transparent-backdrop',
2298
+ };
2299
+ var DEFAULT_MODEL = {
2300
+ position: 'bottom',
2301
+ class: '',
2302
+ overlayConfig: {},
2303
+ manualClosing: { enabled: false },
2304
+ };
2305
+ function getAlignmentDimension(position) {
2306
+ if (!POPUP_POSITIONS[position])
2307
+ return exports.DrPopoverAlignmentDimension.Width;
2308
+ if ((position === null || position === void 0 ? void 0 : position.includes('left')) || (position === null || position === void 0 ? void 0 : position.includes('right'))) {
2309
+ return exports.DrPopoverAlignmentDimension.Height;
2310
+ }
2311
+ return exports.DrPopoverAlignmentDimension.Width;
2312
+ }
2313
+
2289
2314
  var DrPopoverComponent = /** @class */ (function () {
2290
2315
  function DrPopoverComponent(cdr, componentFactoryResolver, viewContainerRef, elementRef, popoverRef) {
2291
2316
  this.cdr = cdr;
@@ -2295,6 +2320,7 @@
2295
2320
  this.popoverRef = popoverRef;
2296
2321
  this.class = '';
2297
2322
  this.isContentTemplate = false;
2323
+ this.popover = true;
2298
2324
  }
2299
2325
  DrPopoverComponent.prototype.clickOutside = function (e) {
2300
2326
  var isTargetHost = this.hostRef instanceof i0.ElementRef && (this.hostRef.nativeElement === e.target || this.hostRef.nativeElement.contains(e.target));
@@ -2318,6 +2344,9 @@
2318
2344
  Object.assign(this.componentRef.instance, this.contentContext);
2319
2345
  this.popoverContainer.nativeElement.appendChild(this.componentRef.location.nativeElement);
2320
2346
  }
2347
+ if (this.alignment === 'host') {
2348
+ this[getAlignmentDimension(this.position)] = '100%';
2349
+ }
2321
2350
  this.cdr.detectChanges();
2322
2351
  };
2323
2352
  return DrPopoverComponent;
@@ -2346,22 +2375,15 @@
2346
2375
  class: [{ type: i0.Input }],
2347
2376
  hostRef: [{ type: i0.Input }],
2348
2377
  manualClosing: [{ type: i0.Input }],
2378
+ alignment: [{ type: i0.Input }],
2379
+ position: [{ type: i0.Input }],
2349
2380
  popoverContainer: [{ type: i0.ViewChild, args: ['popoverContainer', { read: i0.ElementRef, static: true },] }],
2381
+ width: [{ type: i0.HostBinding, args: ['style.width',] }],
2382
+ height: [{ type: i0.HostBinding, args: ['style.height',] }],
2383
+ popover: [{ type: i0.HostBinding, args: ['@popover',] }],
2350
2384
  clickOutside: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
2351
2385
  };
2352
2386
 
2353
- var DEFAULT_CONFIG = {
2354
- hasBackdrop: false,
2355
- closeOnBackdropClick: false,
2356
- backdropClass: 'dr-popover-transparent-backdrop',
2357
- };
2358
- var DEFAULT_MODEL = {
2359
- position: 'bottom',
2360
- class: '',
2361
- overlayConfig: {},
2362
- manualClosing: { enabled: false },
2363
- };
2364
-
2365
2387
  var DrPopoverService = /** @class */ (function () {
2366
2388
  function DrPopoverService(overlay, overlayPositionBuilder, injector) {
2367
2389
  this.overlay = overlay;
@@ -2375,11 +2397,11 @@
2375
2397
  var overlayRef = this.createOverlay(model);
2376
2398
  var popoverRef = new DrPopoverRef(overlayRef);
2377
2399
  this.attachOverlayContainer(content, model, overlayRef, popoverRef);
2378
- this.registerCloseListeners(model, overlayRef, popoverRef);
2400
+ this.registerListeners(model, overlayRef, popoverRef);
2379
2401
  return popoverRef;
2380
2402
  };
2381
2403
  DrPopoverService.prototype.attachOverlayContainer = function (content, _a, overlayRef, popoverRef) {
2382
- var contentContext = _a.contentContext, position = _a.position, elementClass = _a.class, manualClosing = _a.manualClosing, hostRef = _a.hostRef;
2404
+ var contentContext = _a.contentContext, position = _a.position, elementClass = _a.class, manualClosing = _a.manualClosing, hostRef = _a.hostRef, alignment = _a.alignment;
2383
2405
  var componentPortal = new portal.ComponentPortal(DrPopoverComponent, null, this.createInjector(popoverRef));
2384
2406
  var contentRef = overlayRef.attach(componentPortal);
2385
2407
  popoverRef.componentRef = contentRef;
@@ -2388,17 +2410,26 @@
2388
2410
  contentRef.instance.class = elementClass + ' ' + position;
2389
2411
  contentRef.instance.manualClosing = manualClosing;
2390
2412
  contentRef.instance.hostRef = hostRef;
2413
+ contentRef.instance.alignment = alignment;
2414
+ contentRef.instance.position = position;
2391
2415
  };
2392
2416
  DrPopoverService.prototype.createOverlay = function (popoverModel) {
2393
2417
  var overlayConfig = this.getOverlayConfig(popoverModel);
2394
2418
  return this.overlay.create(overlayConfig);
2395
2419
  };
2396
2420
  DrPopoverService.prototype.getOverlayConfig = function (popoverModel) {
2421
+ if (!POPUP_POSITIONS[popoverModel.position])
2422
+ throw new Error("DrPopover does not support the '" + (popoverModel === null || popoverModel === void 0 ? void 0 : popoverModel.position) + "' position!");
2397
2423
  var config = Object.assign(Object.assign({}, DEFAULT_CONFIG), popoverModel.overlayConfig || {});
2424
+ var hostElement = this.getHostElement(popoverModel.hostRef);
2398
2425
  var positionStrategy = this.overlayPositionBuilder
2399
2426
  .flexibleConnectedTo(popoverModel.hostRef)
2400
2427
  .withPositions([POPUP_POSITIONS[popoverModel.position]]);
2401
2428
  var overlayConfig = new i1.OverlayConfig(Object.assign({ scrollStrategy: this.overlay.scrollStrategies.noop(), positionStrategy: positionStrategy }, config));
2429
+ if (popoverModel.alignment === 'host' && hostElement) {
2430
+ var alignmentDimension = getAlignmentDimension(popoverModel.position);
2431
+ overlayConfig[alignmentDimension] = hostElement.getBoundingClientRect()[alignmentDimension];
2432
+ }
2402
2433
  return overlayConfig;
2403
2434
  };
2404
2435
  DrPopoverService.prototype.createInjector = function (popoverRef) {
@@ -2407,15 +2438,34 @@
2407
2438
  ];
2408
2439
  return i0.Injector.create({ providers: injectionTokens, parent: this.injector });
2409
2440
  };
2410
- DrPopoverService.prototype.registerCloseListeners = function (popoverModel, overlayRef, popoverRef) {
2441
+ DrPopoverService.prototype.registerListeners = function (popoverModel, overlayRef, popoverRef) {
2411
2442
  var config = popoverModel.overlayConfig || {};
2412
2443
  var targetElement = popoverModel.targetElement;
2444
+ var hostElement = this.getHostElement(popoverModel.hostRef);
2413
2445
  if ((config === null || config === void 0 ? void 0 : config.closeOnBackdropClick) && (config === null || config === void 0 ? void 0 : config.hasBackdrop)) {
2414
2446
  overlayRef.backdropClick().subscribe(function () { return popoverRef.close(); });
2415
2447
  }
2416
2448
  if (targetElement) {
2417
2449
  targetElement.addEventListener('mouseup', function () { return popoverRef.close(); }, { once: true });
2418
2450
  }
2451
+ if (popoverModel.alignment === 'host' && hostElement) {
2452
+ var alignmentDimension_1 = getAlignmentDimension(popoverModel.position);
2453
+ var resizeObserver_1 = new ResizeObserver(function (entries) {
2454
+ entries.forEach(function (host) {
2455
+ var _a;
2456
+ return overlayRef.updateSize((_a = {}, _a[alignmentDimension_1] = host.target.getBoundingClientRect()[alignmentDimension_1], _a));
2457
+ });
2458
+ });
2459
+ resizeObserver_1.observe(hostElement);
2460
+ popoverRef.onClose.pipe(operators.first()).subscribe(function () { return resizeObserver_1.unobserve(hostElement); });
2461
+ }
2462
+ };
2463
+ DrPopoverService.prototype.getHostElement = function (hostRef) {
2464
+ if (!hostRef || hostRef.x)
2465
+ return null;
2466
+ if (hostRef.nativeElement)
2467
+ return hostRef.nativeElement;
2468
+ return hostRef;
2419
2469
  };
2420
2470
  return DrPopoverService;
2421
2471
  }());
@@ -2467,6 +2517,7 @@
2467
2517
  manualClosing: this.manualClosing,
2468
2518
  position: this.position,
2469
2519
  contentContext: this.contentContext,
2520
+ alignment: this.alignment,
2470
2521
  });
2471
2522
  popoverRef.onClose.pipe(operators.first()).subscribe(function (res) {
2472
2523
  _this.closePopover();
@@ -2495,6 +2546,7 @@
2495
2546
  class: [{ type: i0.Input, args: ['drPopoverClass',] }],
2496
2547
  overlayConfig: [{ type: i0.Input, args: ['drPopoverOverlayConfig',] }],
2497
2548
  manualClosing: [{ type: i0.Input, args: ['drPopoverManualClosing',] }],
2549
+ alignment: [{ type: i0.Input, args: ['drPopoverAlignment',] }],
2498
2550
  popoverClose: [{ type: i0.Output, args: ['drPopoverClose',] }],
2499
2551
  showStateChange: [{ type: i0.Output, args: ['drPopoverShowStateChange',] }],
2500
2552
  togglePopover: [{ type: i0.HostListener, args: ['click',] }]
@@ -2617,7 +2669,7 @@
2617
2669
  selector: 'dr-dropdown',
2618
2670
  template: "<div #menuContainer\r\n (clickOutside)=\"onClickedOutside()\"\r\n [drDropdownPosition]=\"option\"\r\n [position]=\"position\"\r\n class=\"dr-dropdown\">\r\n <div class=\"dr-dropdown__container\">\r\n <div *ngFor=\"let act of list | drDropdownItemShowPipe\"\r\n (click)=\"action(act)\"\r\n [drTooltip]=\"tooltipToShow(act)\"\r\n [drTooltipPosition]=\"'top'\"\r\n [drTooltipOptions]=\"{ withoutArrow: true }\"\r\n class=\"dr-dropdown__container__item\"\r\n [class.item-disabled]=\"disabled(act)\"\r\n [class.item-selected]=\"selected(act)\">\r\n <i *ngIf=\"act.icon\" [class]=\"act.icon\"></i>\r\n <span class=\"dr-dropdown__container__item__text\">{{act.title}}</span>\r\n <i *ngFor=\"let actionIcon of act.actionIcons\"\r\n [class]=\"actionIcon.icon\"\r\n [class.showOnHover]=\"actionIcon.showOnHover\"\r\n (click)=\"onActionIconClick($event, actionIcon, act.data)\"></i>\r\n <i *ngIf=\"act.children?.length\" class=\"dr-icon-arrow-right\"></i>\r\n <dr-dropdown *ngIf=\"act.children?.length\" [options]=\"act.childOptions\"></dr-dropdown>\r\n </div>\r\n </div>\r\n</div>\r\n",
2619
2671
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2620
- styles: ["::ng-deep .dr-dropdown__container__item .dr-dropdown{visibility:hidden}::ng-deep .dr-dropdown__container__item:hover .dr-dropdown{visibility:visible}.dr-dropdown{position:absolute;z-index:-1;top:0;left:0;width:auto}.dr-dropdown__container{display:flex;flex-direction:column;background:#fff;border-radius:4px;box-shadow:0 4px 8px 1px #00000040;padding:8px 0;overflow-y:auto;max-height:60vh}.dr-dropdown__container__item{display:flex;align-items:center;justify-content:flex-start;cursor:pointer;min-width:15rem;font-style:normal;font-weight:400;font-size:14px;line-height:24px;clear:both;width:100%;white-space:nowrap;padding:0 12px;height:36px;flex-shrink:0}.dr-dropdown__container__item:hover{background-color:#f6f7f8}.dr-dropdown__container__item:hover .showOnHover{visibility:visible}.dr-dropdown__container__item.item-selected{background:#F3F7FF}.dr-dropdown__container__item.item-disabled{color:#bcbcbc;pointer-events:none}.dr-dropdown__container__item i:first-child{margin-right:8px}.dr-dropdown__container__item__text{margin-right:auto}.dr-dropdown__container__item i,.dr-dropdown__container__item__text{color:#151b3f}.dr-dropdown__container__item .showOnHover{visibility:hidden}.dr-dropdown.content-top{transform:translate(-50%,-100%)}.dr-dropdown.content-top-left{transform:translate(-100%,-100%)}.dr-dropdown.content-bottom{transform:translate(-50%,50%)}.dr-dropdown.content-bottom-left{transform:translate(-90%,35%)}.dr-dropdown.content-left{transform:translate(-100%)}.dr-dropdown.content-left-center{transform:translate(-100%,-50%)}.dr-dropdown.content-right{transform:translate(5%)}\n"]
2672
+ styles: ["::ng-deep .dr-dropdown__container__item .dr-dropdown{visibility:hidden}::ng-deep .dr-dropdown__container__item:hover .dr-dropdown{visibility:visible}.dr-dropdown{position:absolute;z-index:-1;top:0;left:0;width:auto}.dr-dropdown__container{display:flex;flex-direction:column;background:#fff;border-radius:4px;box-shadow:0 4px 8px 1px #00000040;padding:8px 0;overflow-y:auto;max-height:60vh}.dr-dropdown__container__item{display:flex;align-items:center;justify-content:flex-start;cursor:pointer;min-width:15rem;font-style:normal;font-weight:400;font-size:14px;line-height:24px;clear:both;width:100%;white-space:nowrap;padding:0 12px;height:36px;flex-shrink:0}.dr-dropdown__container__item:hover{background-color:#f6f7f8}.dr-dropdown__container__item:hover .showOnHover{visibility:visible}.dr-dropdown__container__item.item-selected{background:#F3F7FF}.dr-dropdown__container__item.item-disabled{color:#bcbcbc;pointer-events:none}.dr-dropdown__container__item i:first-child{margin-right:8px}.dr-dropdown__container__item__text{margin-right:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dr-dropdown__container__item i,.dr-dropdown__container__item__text{color:#151b3f}.dr-dropdown__container__item .showOnHover{visibility:hidden}.dr-dropdown.content-top{transform:translate(-50%,-100%)}.dr-dropdown.content-top-left{transform:translate(-100%,-100%)}.dr-dropdown.content-bottom{transform:translate(-50%,50%)}.dr-dropdown.content-bottom-left{transform:translate(-90%,35%)}.dr-dropdown.content-left{transform:translate(-100%)}.dr-dropdown.content-left-center{transform:translate(-100%,-50%)}.dr-dropdown.content-right{transform:translate(5%)}\n"]
2621
2673
  },] }
2622
2674
  ];
2623
2675
  DrDropdownComponent.ctorParameters = function () { return [