@smilodon/core 1.1.4 → 1.1.6

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/dist/index.js CHANGED
@@ -2502,6 +2502,7 @@ class AngularEnhancedSelect extends HTMLElement {
2502
2502
  this._hasError = false;
2503
2503
  this._errorMessage = '';
2504
2504
  this._boundArrowClick = null;
2505
+ this._isReady = false;
2505
2506
  // Unique class prefix to avoid conflicts
2506
2507
  this.PREFIX = 'smilodon-ang-';
2507
2508
  this._uniqueId = `angular-select-${Math.random().toString(36).substr(2, 9)}`;
@@ -2551,6 +2552,8 @@ class AngularEnhancedSelect extends HTMLElement {
2551
2552
  if (this._config.serverSide.enabled && this._config.serverSide.initialSelectedValues) {
2552
2553
  this._loadInitialSelectedItems();
2553
2554
  }
2555
+ // Mark element as ready
2556
+ this._isReady = true;
2554
2557
  }
2555
2558
  disconnectedCallback() {
2556
2559
  // Cleanup observers
@@ -3321,6 +3324,9 @@ class AngularEnhancedSelect extends HTMLElement {
3321
3324
  }
3322
3325
  }
3323
3326
  // Public API methods
3327
+ isReady() {
3328
+ return this._isReady;
3329
+ }
3324
3330
  setItems(items) {
3325
3331
  this._state.loadedItems = items;
3326
3332
  this._renderOptions();