@progalaxyelabs/ngx-stonescriptphp-client 1.20.0 → 1.22.0

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.
@@ -3425,8 +3425,8 @@ class MonthYearPickerComponent {
3425
3425
  }, ...(ngDevMode ? [{ debugName: "preview" }] : []));
3426
3426
  open() {
3427
3427
  const v = this.value();
3428
- this.tempMonth.set(v?.month ?? null);
3429
- this.tempYear.set(v?.year ?? null);
3428
+ this.tempMonth.set(v?.month ?? this.today.month);
3429
+ this.tempYear.set(v?.year ?? this.today.year);
3430
3430
  this.isOpen.set(true);
3431
3431
  }
3432
3432
  selectMonth(m) { this.tempMonth.set(m); }
@@ -3458,7 +3458,8 @@ class MonthYearPickerComponent {
3458
3458
  </button>
3459
3459
 
3460
3460
  @if (isOpen()) {
3461
- <div class="border rounded mt-1" style="overflow: hidden; position: relative; z-index: 10; background: white;">
3461
+ <div class="nsx-myp-backdrop" (click)="cancel()"></div>
3462
+ <div class="nsx-myp-popup border rounded shadow">
3462
3463
 
3463
3464
  <div class="d-flex justify-content-between align-items-center px-3 py-2 bg-body-tertiary border-bottom">
3464
3465
  <span class="text-uppercase text-muted fw-semibold" style="font-size: 10px; letter-spacing: .08em;">
@@ -3539,14 +3540,11 @@ class MonthYearPickerComponent {
3539
3540
 
3540
3541
  </div>
3541
3542
  }
3542
- `, isInline: true });
3543
+ `, isInline: true, styles: [":host{position:relative;display:block}.nsx-myp-backdrop{position:fixed;inset:0;z-index:1050}.nsx-myp-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1051;background:#fff;width:300px;max-width:92vw;overflow:hidden}\n"] });
3543
3544
  }
3544
3545
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: MonthYearPickerComponent, decorators: [{
3545
3546
  type: Component,
3546
- args: [{
3547
- selector: 'nsx-month-year-picker',
3548
- standalone: true,
3549
- template: `
3547
+ args: [{ selector: 'nsx-month-year-picker', standalone: true, template: `
3550
3548
  <button
3551
3549
  type="button"
3552
3550
  class="btn btn-outline-secondary w-100 d-flex justify-content-between align-items-center"
@@ -3558,7 +3556,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
3558
3556
  </button>
3559
3557
 
3560
3558
  @if (isOpen()) {
3561
- <div class="border rounded mt-1" style="overflow: hidden; position: relative; z-index: 10; background: white;">
3559
+ <div class="nsx-myp-backdrop" (click)="cancel()"></div>
3560
+ <div class="nsx-myp-popup border rounded shadow">
3562
3561
 
3563
3562
  <div class="d-flex justify-content-between align-items-center px-3 py-2 bg-body-tertiary border-bottom">
3564
3563
  <span class="text-uppercase text-muted fw-semibold" style="font-size: 10px; letter-spacing: .08em;">
@@ -3639,8 +3638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
3639
3638
 
3640
3639
  </div>
3641
3640
  }
3642
- `,
3643
- }]
3641
+ `, styles: [":host{position:relative;display:block}.nsx-myp-backdrop{position:fixed;inset:0;z-index:1050}.nsx-myp-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1051;background:#fff;width:300px;max-width:92vw;overflow:hidden}\n"] }]
3644
3642
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
3645
3643
 
3646
3644
  class TenantRegisterComponent {