@datorama/core 22.9.3 → 22.9.6-rc

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.
@@ -8582,16 +8582,18 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8582
8582
  });
8583
8583
  this.datoOverlay.attach({ placement: this.placement }, this._dropdownClass);
8584
8584
  this.toggle();
8585
- /**
8586
- * When we first open the dropdown we need to mark the
8587
- * FormControl values as actives
8588
- */
8589
- if (this.hasValue && this._initialOpen) {
8590
- this.markAsActive(this._model);
8585
+ if (this.hasValue) {
8586
+ /**
8587
+ * When we first open the dropdown we need to mark the
8588
+ * FormControl values as actives
8589
+ */
8590
+ if (this._initialOpen) {
8591
+ this.markAsActive(this._model);
8592
+ this._initialOpen = false;
8593
+ }
8591
8594
  if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
8592
8595
  this.updateDisabledState();
8593
8596
  }
8594
- this._initialOpen = false;
8595
8597
  }
8596
8598
  if (this._withInfiniteScroll) {
8597
8599
  this.activateInfiniteScroll();
@@ -9376,7 +9378,7 @@ var DatoTriggerSingle = /** @class */ (function () {
9376
9378
  DatoTriggerSingle = __decorate([
9377
9379
  Component({
9378
9380
  selector: 'dato-trigger-single',
9379
- template: "<ng-template *ngIf=\"loadingTemplate\" [ngTemplateOutlet]=\"loadingTemplate\"></ng-template>\n<ng-container\n *ngIf=\"active && !hidePlaceholder\"\n [ngTemplateOutlet]=\"active.tpl\"\n [ngTemplateOutletContext]=\"_model\">\n</ng-container>\n<ng-container *ngIf=\"!active\">{{getLabel | translate}}</ng-container>\n<span class=\"dato-select__placeholder\" *ngIf=\"hidePlaceholder\">{{_placeholder}}</span>\n<dato-icon datoIcon=\"arrow-down\" datoSize=\"sm\" class=\"dato-select__single__arrow\"></dato-icon>\n",
9381
+ template: "<ng-template [ngClass]=\"{'hidden' : true}\" *ngIf=\"!loadingTemplate\" [ngTemplateOutlet]=\"loadingTemplate\"></ng-template>\n<ng-container\n *ngIf=\"active && !hidePlaceholder\"\n [ngTemplateOutlet]=\"active.tpl\"\n [ngTemplateOutletContext]=\"_model\">\n</ng-container>\n<ng-container *ngIf=\"!active\">{{getLabel | translate}}</ng-container>\n<span class=\"dato-select__placeholder\" *ngIf=\"hidePlaceholder\">{{_placeholder}}</span>\n<dato-icon datoIcon=\"arrow-down\" datoSize=\"sm\" class=\"dato-select__single__arrow\"></dato-icon>\n",
9380
9382
  changeDetection: ChangeDetectionStrategy.OnPush,
9381
9383
  styles: [":host{display:block;position:relative;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host dato-icon{position:absolute;top:50%;transform:translateY(-50%);right:10px}"]
9382
9384
  }),
@@ -25268,7 +25270,7 @@ function fixNgLeaks() {
25268
25270
  };
25269
25271
  }
25270
25272
 
25271
- window.coreVersion = '22.9.3';
25273
+ window.coreVersion = '22.9.5';
25272
25274
 
25273
25275
  /**
25274
25276
  * @license