@smilodon/core 1.1.4 → 1.1.5

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