@smilodon/core 1.1.6 → 1.1.8

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
@@ -2507,6 +2507,7 @@ class AngularEnhancedSelect extends HTMLElement {
2507
2507
  this._isReady = false;
2508
2508
  // Unique class prefix to avoid conflicts
2509
2509
  this.PREFIX = 'smilodon-ang-';
2510
+ console.log('[AngularEnhancedSelect] Constructor called');
2510
2511
  this._uniqueId = `angular-select-${Math.random().toString(36).substr(2, 9)}`;
2511
2512
  // Merge global config
2512
2513
  this._config = selectConfig.getConfig();
@@ -2543,6 +2544,7 @@ class AngularEnhancedSelect extends HTMLElement {
2543
2544
  this._initializeObservers();
2544
2545
  }
2545
2546
  connectedCallback() {
2547
+ console.log('[AngularEnhancedSelect] connectedCallback called');
2546
2548
  // Ensure host has proper layout
2547
2549
  if (!this.style.display) {
2548
2550
  this.style.display = 'block';
@@ -2556,6 +2558,7 @@ class AngularEnhancedSelect extends HTMLElement {
2556
2558
  }
2557
2559
  // Mark element as ready
2558
2560
  this._isReady = true;
2561
+ console.log('[AngularEnhancedSelect] Element is now ready');
2559
2562
  }
2560
2563
  disconnectedCallback() {
2561
2564
  // Cleanup observers
@@ -3376,8 +3379,15 @@ class AngularEnhancedSelect extends HTMLElement {
3376
3379
  }
3377
3380
  }
3378
3381
  // Register the custom element
3382
+ console.log('[AngularEnhancedSelect] Attempting to register custom element...');
3383
+ console.log('[AngularEnhancedSelect] customElements available:', typeof customElements !== 'undefined');
3384
+ console.log('[AngularEnhancedSelect] Already registered:', customElements?.get('angular-enhanced-select'));
3379
3385
  if (typeof customElements !== 'undefined' && !customElements.get('angular-enhanced-select')) {
3380
3386
  customElements.define('angular-enhanced-select', AngularEnhancedSelect);
3387
+ console.log('[AngularEnhancedSelect] Successfully registered custom element');
3388
+ }
3389
+ else if (customElements?.get('angular-enhanced-select')) {
3390
+ console.log('[AngularEnhancedSelect] Custom element already registered');
3381
3391
  }
3382
3392
 
3383
3393
  /**