@albi_scando/as-design-system-lib 1.9.2 → 1.9.4

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.
@@ -39,7 +39,7 @@ class Me {
39
39
  const j = {
40
40
  CONFIRMATION_DIALOG_CONFIRM: "confirmation-dialog-confirm",
41
41
  CONFIRMATION_DIALOG_UNDO: "confirmation-dialog-undo"
42
- }, S = {
42
+ }, x = {
43
43
  COSMO: "Cosmo theme with a futuristic and space-inspired design.",
44
44
  DARK: "Dark theme with a sleek and modern look.",
45
45
  DARK_PURPLE: "Dark Purple theme with a luxurious and elegant feel.",
@@ -49,7 +49,7 @@ const j = {
49
49
  LIGHT: "Light theme with a clean and minimalistic design.",
50
50
  LIGHT_BLUE: "Light Blue theme with a refreshing and calm appearance.",
51
51
  WATER: "Water theme with a serene and tranquil feel."
52
- }, x = {
52
+ }, E = {
53
53
  COSMO: "🚀",
54
54
  DARK: "🌙",
55
55
  DARK_PURPLE: "🟣",
@@ -59,7 +59,7 @@ const j = {
59
59
  LIGHT: "☀️",
60
60
  LIGHT_BLUE: "🫧",
61
61
  WATER: "💧"
62
- }, E = {
62
+ }, k = {
63
63
  COSMO: "Cosmo",
64
64
  DARK: "Dark",
65
65
  DARK_PURPLE: "Dark Purple",
@@ -69,7 +69,7 @@ const j = {
69
69
  LIGHT: "Light",
70
70
  LIGHT_BLUE: "Light Blue",
71
71
  WATER: "Water"
72
- }, k = {
72
+ }, L = {
73
73
  COSMO: "cosmo",
74
74
  DARK: "dark",
75
75
  DARK_PURPLE: "dark-purple",
@@ -93,91 +93,91 @@ const j = {
93
93
  [
94
94
  u.COSMO,
95
95
  {
96
- description: S.COSMO,
97
- icon: x.COSMO,
96
+ description: x.COSMO,
97
+ icon: E.COSMO,
98
98
  id: u.COSMO,
99
- name: E.COSMO,
100
- value: k.COSMO
99
+ name: k.COSMO,
100
+ value: L.COSMO
101
101
  }
102
102
  ],
103
103
  [
104
104
  u.DARK,
105
105
  {
106
- description: S.DARK,
107
- icon: x.DARK,
106
+ description: x.DARK,
107
+ icon: E.DARK,
108
108
  id: u.DARK,
109
- name: E.DARK,
110
- value: k.DARK
109
+ name: k.DARK,
110
+ value: L.DARK
111
111
  }
112
112
  ],
113
113
  [
114
114
  u.DARK_PURPLE,
115
115
  {
116
- description: S.DARK_PURPLE,
117
- icon: x.DARK_PURPLE,
116
+ description: x.DARK_PURPLE,
117
+ icon: E.DARK_PURPLE,
118
118
  id: u.DARK_PURPLE,
119
- name: E.DARK_PURPLE,
120
- value: k.DARK_PURPLE
119
+ name: k.DARK_PURPLE,
120
+ value: L.DARK_PURPLE
121
121
  }
122
122
  ],
123
123
  [
124
124
  u.FERRARI,
125
125
  {
126
- description: S.FERRARI,
127
- icon: x.FERRARI,
126
+ description: x.FERRARI,
127
+ icon: E.FERRARI,
128
128
  id: u.FERRARI,
129
- name: E.FERRARI,
130
- value: k.FERRARI
129
+ name: k.FERRARI,
130
+ value: L.FERRARI
131
131
  }
132
132
  ],
133
133
  [
134
134
  u.FIRE,
135
135
  {
136
- description: S.FIRE,
137
- icon: x.FIRE,
136
+ description: x.FIRE,
137
+ icon: E.FIRE,
138
138
  id: u.FIRE,
139
- name: E.FIRE,
140
- value: k.FIRE
139
+ name: k.FIRE,
140
+ value: L.FIRE
141
141
  }
142
142
  ],
143
143
  [
144
144
  u.FOREST,
145
145
  {
146
- description: S.FOREST,
147
- icon: x.FOREST,
146
+ description: x.FOREST,
147
+ icon: E.FOREST,
148
148
  id: u.FOREST,
149
- name: E.FOREST,
150
- value: k.FOREST
149
+ name: k.FOREST,
150
+ value: L.FOREST
151
151
  }
152
152
  ],
153
153
  [
154
154
  u.LIGHT,
155
155
  {
156
- description: S.LIGHT,
157
- icon: x.LIGHT,
156
+ description: x.LIGHT,
157
+ icon: E.LIGHT,
158
158
  id: u.LIGHT,
159
- name: E.LIGHT,
160
- value: k.LIGHT
159
+ name: k.LIGHT,
160
+ value: L.LIGHT
161
161
  }
162
162
  ],
163
163
  [
164
164
  u.LIGHT_BLUE,
165
165
  {
166
- description: S.LIGHT_BLUE,
167
- icon: x.LIGHT_BLUE,
166
+ description: x.LIGHT_BLUE,
167
+ icon: E.LIGHT_BLUE,
168
168
  id: u.LIGHT_BLUE,
169
- name: E.LIGHT_BLUE,
170
- value: k.LIGHT_BLUE
169
+ name: k.LIGHT_BLUE,
170
+ value: L.LIGHT_BLUE
171
171
  }
172
172
  ],
173
173
  [
174
174
  u.WATER,
175
175
  {
176
- description: S.WATER,
177
- icon: x.WATER,
176
+ description: x.WATER,
177
+ icon: E.WATER,
178
178
  id: u.WATER,
179
- name: E.WATER,
180
- value: k.WATER
179
+ name: k.WATER,
180
+ value: L.WATER
181
181
  }
182
182
  ]
183
183
  ]), Oe = (O) => {
@@ -186,7 +186,7 @@ const j = {
186
186
  t !== void 0 && document.body.classList.add(t);
187
187
  }, bt = () => {
188
188
  document.body.classList.remove(...Object.values(u));
189
- }, vt = "base-button", d = "", N = {
189
+ }, vt = "base-button", d = "", T = {
190
190
  SHOW_MODAL: "show-modal",
191
191
  CLOSE: "close"
192
192
  }, gt = {
@@ -213,7 +213,7 @@ const F = {
213
213
  </button>
214
214
  `, ft = "*{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}:where(button,input[type=button],input[type=submit],input[type=reset]),:where(input[type=file])::file-selector-button{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);font-family:var(--font-family-base);letter-spacing:var(--letter-spacing-wide);line-height:var(--line-height-normal);padding-block:var(--button-padding-block-md);padding-inline:var(--button-padding-inline-md);display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:var(--gap-sm);background:var(--color-bg-secondary);color:var(--color-text-primary);border:var(--border-width-1) solid var(--color-border-secondary);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-sm);transition:background var(--transition-fast),border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast),filter var(--transition-fast)}:where(button,input[type=button],input[type=submit],input[type=reset])>.material-symbols-outlined{font-size:var(--font-size-xl);font-family:Material Symbols Outlined;line-height:1}:where(button,input[type=button],input[type=submit],input[type=reset])[disabled]{opacity:.35;cursor:not-allowed;box-shadow:none}:where(button,input[type=button],input[type=submit],input[type=reset]):where(:not(:disabled):hover){background:var(--color-hover-bg-secondary);border-color:var(--color-hover-border-secondary);box-shadow:var(--shadow-md)}:where(button,input[type=button],input[type=submit],input[type=reset]):where(:not(:disabled):active){background:var(--color-hover-bg-secondary);border-color:var(--color-hover-border-secondary);box-shadow:var(--shadow-sm)}:where(button,input[type=button],input[type=submit],input[type=reset]):focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}:where(input[type=file]){inline-size:100%;max-inline-size:max-content;background-color:var(--color-bg-secondary)}", K = new CSSStyleSheet();
215
215
  K.replaceSync(ft);
216
- class r extends HTMLElement {
216
+ class s extends HTMLElement {
217
217
  /**
218
218
  * @see HTMLButtonElement.autofocus
219
219
  */
@@ -258,66 +258,66 @@ class r extends HTMLElement {
258
258
  */
259
259
  static get observedAttributes() {
260
260
  return [
261
- r.autofocusAttribute,
262
- r.commandAttribute,
263
- r.commandforAttribute,
264
- r.disabledAttribute,
265
- r.nameAttribute,
266
- r.titleAttribute,
267
- r.typeAttribute,
268
- r.valueAttribute
261
+ s.autofocusAttribute,
262
+ s.commandAttribute,
263
+ s.commandforAttribute,
264
+ s.disabledAttribute,
265
+ s.nameAttribute,
266
+ s.titleAttribute,
267
+ s.typeAttribute,
268
+ s.valueAttribute
269
269
  ];
270
270
  }
271
271
  get buttonElement() {
272
272
  return this.shadowRoot?.querySelector("button");
273
273
  }
274
274
  get autofocus() {
275
- return this.hasAttribute(r.autofocusAttribute);
275
+ return this.hasAttribute(s.autofocusAttribute);
276
276
  }
277
277
  set autofocus(t) {
278
- t ? this.setAttribute(r.autofocusAttribute, d) : this.removeAttribute(r.autofocusAttribute);
278
+ t ? this.setAttribute(s.autofocusAttribute, d) : this.removeAttribute(s.autofocusAttribute);
279
279
  }
280
280
  get command() {
281
- return this.getAttribute(r.commandAttribute) ?? d;
281
+ return this.getAttribute(s.commandAttribute) ?? d;
282
282
  }
283
283
  set command(t) {
284
- this.setAttribute(r.commandAttribute, t);
284
+ this.setAttribute(s.commandAttribute, t);
285
285
  }
286
286
  get commandfor() {
287
- return this.getAttribute(r.commandforAttribute) ?? d;
287
+ return this.getAttribute(s.commandforAttribute) ?? d;
288
288
  }
289
289
  set commandfor(t) {
290
- t !== d ? this.setAttribute(r.commandforAttribute, t) : this.removeAttribute(r.commandforAttribute);
290
+ t !== d ? this.setAttribute(s.commandforAttribute, t) : this.removeAttribute(s.commandforAttribute);
291
291
  }
292
292
  get disabled() {
293
- return this.hasAttribute(r.disabledAttribute);
293
+ return this.hasAttribute(s.disabledAttribute);
294
294
  }
295
295
  set disabled(t) {
296
- t ? this.setAttribute(r.disabledAttribute, d) : this.removeAttribute(r.disabledAttribute);
296
+ t ? this.setAttribute(s.disabledAttribute, d) : this.removeAttribute(s.disabledAttribute);
297
297
  }
298
298
  get name() {
299
- return this.getAttribute(r.nameAttribute) ?? d;
299
+ return this.getAttribute(s.nameAttribute) ?? d;
300
300
  }
301
301
  set name(t) {
302
- t !== d ? this.setAttribute(r.nameAttribute, t) : this.removeAttribute(r.nameAttribute);
302
+ t !== d ? this.setAttribute(s.nameAttribute, t) : this.removeAttribute(s.nameAttribute);
303
303
  }
304
304
  get headline() {
305
- return this.getAttribute(r.titleAttribute) ?? d;
305
+ return this.getAttribute(s.titleAttribute) ?? d;
306
306
  }
307
307
  set headline(t) {
308
- t !== d ? this.setAttribute(r.titleAttribute, t) : this.removeAttribute(r.titleAttribute);
308
+ t !== d ? this.setAttribute(s.titleAttribute, t) : this.removeAttribute(s.titleAttribute);
309
309
  }
310
310
  get type() {
311
- return this.getAttribute(r.typeAttribute) ?? "button";
311
+ return this.getAttribute(s.typeAttribute) ?? "button";
312
312
  }
313
313
  set type(t) {
314
- t !== d ? this.setAttribute(r.typeAttribute, t) : this.removeAttribute(r.typeAttribute);
314
+ t !== d ? this.setAttribute(s.typeAttribute, t) : this.removeAttribute(s.typeAttribute);
315
315
  }
316
316
  get value() {
317
- return this.getAttribute(r.valueAttribute) ?? "button";
317
+ return this.getAttribute(s.valueAttribute) ?? "button";
318
318
  }
319
319
  set value(t) {
320
- t !== d ? this.setAttribute(r.valueAttribute, t) : this.removeAttribute(r.valueAttribute);
320
+ t !== d ? this.setAttribute(s.valueAttribute, t) : this.removeAttribute(s.valueAttribute);
321
321
  }
322
322
  /**
323
323
  * Lifecycle hook invoked when the component is inserted into the DOM.
@@ -403,10 +403,10 @@ class r extends HTMLElement {
403
403
  return;
404
404
  const e = t;
405
405
  switch (this.command) {
406
- case N.SHOW_MODAL:
406
+ case T.SHOW_MODAL:
407
407
  e.showModal?.();
408
408
  break;
409
- case N.CLOSE:
409
+ case T.CLOSE:
410
410
  e.close?.();
411
411
  break;
412
412
  }
@@ -420,13 +420,13 @@ class r extends HTMLElement {
420
420
  */
421
421
  _findElementInShadowDOM(t) {
422
422
  const i = `#${CSS.escape(t)}`;
423
- let s = this.querySelector(i);
424
- if (s !== null || (s = this._searchInShadowRootsOfChildren(this, i), s !== null))
425
- return s;
423
+ let r = this.querySelector(i);
424
+ if (r !== null || (r = this._searchInShadowRootsOfChildren(this, i), r !== null))
425
+ return r;
426
426
  let a = this.parentElement;
427
427
  for (; a !== null; ) {
428
- if (s = a.querySelector(i), s !== null || (s = this._searchInShadowRootsOfChildren(a, i), s !== null))
429
- return s;
428
+ if (r = a.querySelector(i), r !== null || (r = this._searchInShadowRootsOfChildren(a, i), r !== null))
429
+ return r;
430
430
  const v = a.parentElement;
431
431
  if (v !== null)
432
432
  a = v;
@@ -449,20 +449,20 @@ class r extends HTMLElement {
449
449
  */
450
450
  _searchInShadowRootsOfChildren(t, e) {
451
451
  const i = t.children;
452
- for (const s of i) {
453
- if (s.shadowRoot !== null) {
454
- const v = s.shadowRoot.querySelector(e);
452
+ for (const r of i) {
453
+ if (r.shadowRoot !== null) {
454
+ const v = r.shadowRoot.querySelector(e);
455
455
  if (v !== null)
456
456
  return v;
457
457
  const c = this._searchInShadowRootsOfChildren(
458
- s.shadowRoot,
458
+ r.shadowRoot,
459
459
  e
460
460
  );
461
461
  if (c !== null)
462
462
  return c;
463
463
  }
464
464
  const a = this._searchInShadowRootsOfChildren(
465
- s,
465
+ r,
466
466
  e
467
467
  );
468
468
  if (a !== null)
@@ -484,7 +484,7 @@ class r extends HTMLElement {
484
484
  */
485
485
  _syncAttribute(t) {
486
486
  const e = this.buttonElement;
487
- e !== null && (t === r.commandAttribute || t === r.commandforAttribute || (this.hasAttribute(t) ? e.setAttribute(t, this.getAttribute(t) ?? d) : e.removeAttribute(t)));
487
+ e !== null && (t === s.commandAttribute || t === s.commandforAttribute || (this.hasAttribute(t) ? e.setAttribute(t, this.getAttribute(t) ?? d) : e.removeAttribute(t)));
488
488
  }
489
489
  /**
490
490
  * Syncs all observed attributes from host to button element.
@@ -493,14 +493,14 @@ class r extends HTMLElement {
493
493
  * @returns {void}
494
494
  */
495
495
  _syncAttributes() {
496
- r.observedAttributes.forEach((t) => {
496
+ s.observedAttributes.forEach((t) => {
497
497
  this._syncAttribute(t);
498
498
  });
499
499
  }
500
500
  }
501
501
  const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
502
502
  __proto__: null,
503
- BaseButtonComponent: r,
503
+ BaseButtonComponent: s,
504
504
  selector: vt
505
505
  }, Symbol.toStringTag, { value: "Module" })), mt = `<button title="Undo" part="button">
506
506
  <span class="material-symbols-outlined">undo</span>
@@ -508,7 +508,7 @@ const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
508
508
  </button>
509
509
  `, yt = "*{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}button[part=button]{background:var(--color-warning);font-weight:var(--font-weight-medium);padding-block:var(--button-padding-block-md);padding-inline:var(--button-padding-inline-md);border-radius:var(--border-radius-lg);border:none;box-shadow:var(--shadow-md);transition:all var(--transition-base);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--gap-sm)}button[part=button]:hover{filter:brightness(1.2)}", G = new CSSStyleSheet();
510
510
  G.replaceSync(yt);
511
- class At extends r {
511
+ class At extends s {
512
512
  /**
513
513
  * @constructor
514
514
  * @ignore
@@ -520,13 +520,13 @@ class At extends r {
520
520
  * Specifies which attributes should be observed for changes.
521
521
  */
522
522
  static get observedAttributes() {
523
- return r.observedAttributes;
523
+ return s.observedAttributes;
524
524
  }
525
525
  /**
526
526
  * Lifecycle hook invoked when the component is inserted into the DOM.
527
527
  */
528
528
  connectedCallback() {
529
- this.hasAttribute("command") || this.setAttribute("command", N.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
529
+ this.hasAttribute("command") || this.setAttribute("command", T.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
530
530
  }
531
531
  /**
532
532
  * Lifecycle hook invoked when the component is removed from the DOM.
@@ -568,7 +568,7 @@ const q = "undo-button", Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
568
568
  </button>
569
569
  `, wt = "*{box-sizing:border-box}:host{position:relative;display:inline-flex;vertical-align:middle}.tooltip{position:absolute;top:auto;bottom:calc(100% + .5rem);left:50%;right:auto;transform:translate(-50%);width:max-content;height:auto;padding:var(--spacing-1) var(--spacing-2);background-color:var(--color-bg-tertiary, #1e1e2e);color:var(--color-text-primary);font-family:var(--font-family-base);font-size:var(--font-size-xs);border-radius:var(--border-radius-md);box-shadow:var(--shadow-lg);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity var(--transition-fast),visibility var(--transition-fast);z-index:10000;margin:0}button[part=button]{background:var(--color-error);border:none;border-radius:var(--border-radius-md);padding:var(--spacing-2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;aspect-ratio:1;transition:all var(--transition-base);box-shadow:var(--shadow-md);position:relative}button[part=button]:hover{filter:brightness(1.2)}:host(:hover) .tooltip{opacity:1;visibility:visible}", C = new CSSStyleSheet();
570
570
  C.replaceSync(wt);
571
- class St extends r {
571
+ class St extends s {
572
572
  /**
573
573
  * @constructor
574
574
  * @ignore
@@ -580,13 +580,13 @@ class St extends r {
580
580
  * Specifies which attributes should be observed for changes.
581
581
  */
582
582
  static get observedAttributes() {
583
- return r.observedAttributes;
583
+ return s.observedAttributes;
584
584
  }
585
585
  /**
586
586
  * Lifecycle hook invoked when the component is inserted into the DOM.
587
587
  */
588
588
  connectedCallback() {
589
- this.hasAttribute("command") || this.setAttribute("command", N.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
589
+ this.hasAttribute("command") || this.setAttribute("command", T.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
590
590
  }
591
591
  /**
592
592
  * Lifecycle hook invoked when the component is removed from the DOM.
@@ -628,7 +628,7 @@ const xt = "close-button", He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
628
628
  </button>
629
629
  `, kt = "*{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}button[part=button]{background:var(--color-success);font-weight:var(--font-weight-medium);padding-block:var(--button-padding-block-md);padding-inline:var(--button-padding-inline-md);border-radius:var(--border-radius-lg);border:none;box-shadow:var(--shadow-md);transition:all var(--transition-base);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--gap-sm)}button[part=button]:hover{filter:brightness(1.2)}", W = new CSSStyleSheet();
630
630
  W.replaceSync(kt);
631
- class Lt extends r {
631
+ class Lt extends s {
632
632
  /**
633
633
  * @constructor
634
634
  * @ignore
@@ -640,13 +640,13 @@ class Lt extends r {
640
640
  * Specifies which attributes should be observed for changes.
641
641
  */
642
642
  static get observedAttributes() {
643
- return r.observedAttributes;
643
+ return s.observedAttributes;
644
644
  }
645
645
  /**
646
646
  * Lifecycle hook invoked when the component is inserted into the DOM.
647
647
  */
648
648
  connectedCallback() {
649
- this.hasAttribute("command") || this.setAttribute("command", N.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
649
+ this.hasAttribute("command") || this.setAttribute("command", T.CLOSE), this._render(), this._setCommandForAttribute(), this._addEventListeners();
650
650
  }
651
651
  /**
652
652
  * Lifecycle hook invoked when the component is removed from the DOM.
@@ -678,7 +678,7 @@ class Lt extends r {
678
678
  e !== null && (this.commandfor = e.id);
679
679
  }
680
680
  }
681
- const P = "confirm-button", Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
681
+ const P = "confirm-button", Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
682
682
  __proto__: null,
683
683
  ConfirmButtonComponent: Lt,
684
684
  selector: P
@@ -687,7 +687,7 @@ const P = "confirm-button", Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ O
687
687
  </button>
688
688
  `, zt = "*{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}button[part=button]{border:none;background:transparent}button[part=button]:not(:disabled):hover{transform:scale(1.2)}", Y = new CSSStyleSheet();
689
689
  Y.replaceSync(zt);
690
- class H extends r {
690
+ class H extends s {
691
691
  static _disabledAttribute = "disabled";
692
692
  static _titleAttribute = "title";
693
693
  /**
@@ -701,7 +701,7 @@ class H extends r {
701
701
  * Specifies which attributes should be observed for changes.
702
702
  */
703
703
  static get observedAttributes() {
704
- return r.observedAttributes;
704
+ return s.observedAttributes;
705
705
  }
706
706
  /**
707
707
  * Lifecycle hook invoked when the component is inserted into the DOM.
@@ -739,7 +739,7 @@ class H extends r {
739
739
  t !== null && (this.disabled ? t.removeAttribute(H._titleAttribute) : t.setAttribute(H._titleAttribute, "Previous"));
740
740
  }
741
741
  }
742
- const Mt = "previous-button", Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
742
+ const Mt = "previous-button", Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
743
743
  __proto__: null,
744
744
  PreviousButtonComponent: H,
745
745
  selector: Mt
@@ -748,7 +748,7 @@ const Mt = "previous-button", Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
748
748
  </button>
749
749
  `, $t = "*{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}button[part=button]{border:none;background:transparent}button[part=button]:not(:disabled):hover{transform:scale(1.2)}", V = new CSSStyleSheet();
750
750
  V.replaceSync($t);
751
- class T extends r {
751
+ class N extends s {
752
752
  static _disabledAttribute = "disabled";
753
753
  static _titleAttribute = "title";
754
754
  /**
@@ -762,7 +762,7 @@ class T extends r {
762
762
  * Specifies which attributes should be observed for changes.
763
763
  */
764
764
  static get observedAttributes() {
765
- return r.observedAttributes;
765
+ return s.observedAttributes;
766
766
  }
767
767
  /**
768
768
  * Lifecycle hook invoked when the component is inserted into the DOM.
@@ -781,7 +781,7 @@ class T extends r {
781
781
  * Updates the title visibility based on disabled state.
782
782
  */
783
783
  attributeChangedCallback(t, e, i) {
784
- super.attributeChangedCallback(t, e, i), t === T._disabledAttribute && this._updateTitle();
784
+ super.attributeChangedCallback(t, e, i), t === N._disabledAttribute && this._updateTitle();
785
785
  }
786
786
  /**
787
787
  * Renders the component's HTML structure.
@@ -797,18 +797,18 @@ class T extends r {
797
797
  const t = this.shadowRoot?.querySelector(
798
798
  "button"
799
799
  );
800
- t !== null && (this.disabled ? t.removeAttribute(T._titleAttribute) : t.setAttribute(T._titleAttribute, "Next"));
800
+ t !== null && (this.disabled ? t.removeAttribute(N._titleAttribute) : t.setAttribute(N._titleAttribute, "Next"));
801
801
  }
802
802
  }
803
803
  const It = "next-button", je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
804
804
  __proto__: null,
805
- NextButtonComponent: T,
805
+ NextButtonComponent: N,
806
806
  selector: It
807
807
  }, Symbol.toStringTag, { value: "Module" })), Ht = `<dialog part="dialog">
808
808
  <slot></slot>
809
809
  </dialog>
810
- `, Tt = "*{box-sizing:border-box}dialog{background-color:var(--color-bg-primary);color:var(--color-text-primary);border:var(--border-width-1) solid var(--color-border-secondary);border-radius:var(--border-radius-xl);padding:var(--spacing-4);font-family:var(--font-family-base);line-height:var(--line-height-normal);font-size:var(--font-size-sm);box-shadow:var(--shadow-2xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideIn var(--transition-base) cubic-bezier(.34,1.56,.64,1) forwards}dialog.closing{animation:slideOut var(--transition-base) cubic-bezier(.34,1.56,.64,1) forwards}dialog::backdrop{background:var(--window-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn var(--transition-base) ease-out forwards}dialog.closing::backdrop{animation:fadeOut var(--transition-base) ease-out forwards}@keyframes slideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes slideOut{0%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.95) translateY(-20px)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}", X = new CSSStyleSheet();
811
- X.replaceSync(Tt);
810
+ `, Nt = "*{box-sizing:border-box}dialog{background-color:var(--color-bg-primary);color:var(--color-text-primary);border:var(--border-width-1) solid var(--color-border-secondary);border-radius:var(--border-radius-xl);padding:var(--spacing-4);font-family:var(--font-family-base);line-height:var(--line-height-normal);font-size:var(--font-size-sm);box-shadow:var(--shadow-2xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideIn var(--transition-base) cubic-bezier(.34,1.56,.64,1) forwards}dialog.closing{animation:slideOut var(--transition-base) cubic-bezier(.34,1.56,.64,1) forwards}dialog::backdrop{background:var(--window-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn var(--transition-base) ease-out forwards}dialog.closing::backdrop{animation:fadeOut var(--transition-base) ease-out forwards}@keyframes slideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes slideOut{0%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.95) translateY(-20px)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}", X = new CSSStyleSheet();
811
+ X.replaceSync(Nt);
812
812
  class M extends HTMLElement {
813
813
  /**
814
814
  * @see HTMLDialogElement.closedBy
@@ -871,8 +871,8 @@ class M extends HTMLElement {
871
871
  * @returns {void}
872
872
  */
873
873
  attributeChangedCallback(t, e, i) {
874
- const s = this.dialogElement;
875
- s != null && i !== e && this._syncAttribute(t);
874
+ const r = this.dialogElement;
875
+ r != null && i !== e && this._syncAttribute(t);
876
876
  }
877
877
  /**
878
878
  * Adds event listeners to the component.
@@ -939,10 +939,10 @@ class M extends HTMLElement {
939
939
  }, 300);
940
940
  }
941
941
  }
942
- const Nt = "base-dialog", Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
942
+ const Tt = "base-dialog", Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
943
943
  __proto__: null,
944
944
  BaseDialogComponent: M,
945
- selector: Nt
945
+ selector: Tt
946
946
  }, Symbol.toStringTag, { value: "Module" })), jt = `<dialog part="dialog">
947
947
  <header part="header">
948
948
  <h2></h2>
@@ -1028,12 +1028,12 @@ class D extends M {
1028
1028
  this._sectionNames.forEach((e) => {
1029
1029
  const i = this.shadowRoot?.querySelector(
1030
1030
  `[part='${e}']`
1031
- ), s = this.shadowRoot?.querySelector(
1031
+ ), r = this.shadowRoot?.querySelector(
1032
1032
  `slot[name='${e}']`
1033
1033
  );
1034
- if (i === null || s === null)
1034
+ if (i === null || r === null)
1035
1035
  return;
1036
- const a = s.assignedNodes({ flatten: !0 }).some((v) => v.nodeType === Node.TEXT_NODE ? v.textContent?.trim().length !== 0 : v.nodeType === Node.ELEMENT_NODE);
1036
+ const a = r.assignedNodes({ flatten: !0 }).some((v) => v.nodeType === Node.TEXT_NODE ? v.textContent?.trim().length !== 0 : v.nodeType === Node.ELEMENT_NODE);
1037
1037
  i.toggleAttribute("hidden", a === !1), i.dataset.filled = String(a), i.removeAttribute("data-divider"), a === !0 && t.push(i);
1038
1038
  }), t.slice(0, -1).forEach((e) => {
1039
1039
  e.dataset.divider = "true";
@@ -1368,7 +1368,7 @@ class y extends HTMLElement {
1368
1368
  * Update button visibility by showing/hiding rows with fade
1369
1369
  */
1370
1370
  _updateButtonVisibility(t) {
1371
- const e = this._getSlottedButtons(), i = e.length, s = this.visibleButtons, a = this._currentIndex, v = Math.min(a + s, i);
1371
+ const e = this._getSlottedButtons(), i = e.length, r = this.visibleButtons, a = this._currentIndex, v = Math.min(a + r, i);
1372
1372
  e.forEach((c, g) => {
1373
1373
  const I = g >= a && g < v, $ = c;
1374
1374
  I || (c.classList.remove("visible-button"), c.classList.remove("animating"), $.style.display = "none");
@@ -1388,13 +1388,13 @@ class y extends HTMLElement {
1388
1388
  }, 400)) : e.forEach((c, g) => {
1389
1389
  const I = g >= a && g < v, $ = c;
1390
1390
  I && ($.style.display = "inline-flex", c.classList.add("visible-button"));
1391
- }), this._updateNavigationButtons(i, s);
1391
+ }), this._updateNavigationButtons(i, r);
1392
1392
  }
1393
1393
  /**
1394
1394
  * Update navigation buttons visibility and disabled state
1395
1395
  */
1396
1396
  _updateNavigationButtons(t, e) {
1397
- const i = t > e, s = this._currentIndex + e < t, a = this._currentIndex === 0, v = !s;
1397
+ const i = t > e, r = this._currentIndex + e < t, a = this._currentIndex === 0, v = !r;
1398
1398
  this._navPrevButton !== null && (i ? (this._navPrevButton.classList.add("visible"), this._navPrevButton.disabled = !this._cyclicalNavigation && a) : this._navPrevButton.classList.remove("visible")), this._navNextButton !== null && (i ? (this._navNextButton.classList.add("visible"), this._navNextButton.disabled = !this._cyclicalNavigation && v) : this._navNextButton.classList.remove("visible"));
1399
1399
  }
1400
1400
  /**
@@ -1590,7 +1590,7 @@ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1590
1590
  }, Symbol.toStringTag, { value: "Module" })), Zt = "ds-skeleton", te = `<div part="skeleton" class="skeleton" aria-hidden="true"></div>
1591
1591
  `, ee = "*{box-sizing:border-box}:host{display:block;width:100%}.skeleton{background:linear-gradient(90deg,var(--color-bg-secondary) 25%,var(--color-bg-tertiary) 50%,var(--color-bg-secondary) 75%);background-size:200% 100%;border-radius:var(--border-radius-md);animation:shimmer 1.5s infinite;min-height:1rem;width:100%}:host([shape=circle]) .skeleton{border-radius:var(--border-radius-full);width:var(--skeleton-size, 3rem);height:var(--skeleton-size, 3rem)}:host([shape=text]) .skeleton{border-radius:var(--border-radius-sm);height:1em}:host([shape=rect]) .skeleton{border-radius:var(--border-radius-md)}:host([width=full]){width:100%}:host([width=half]){width:50%}:host([width=quarter]){width:25%}:host([width=three-quarters]){width:75%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}", et = new CSSStyleSheet();
1592
1592
  et.replaceSync(ee);
1593
- class A extends HTMLElement {
1593
+ class _ extends HTMLElement {
1594
1594
  static _shapeAttribute = "shape";
1595
1595
  static _heightAttribute = "height";
1596
1596
  static _widthAttribute = "width";
@@ -1599,28 +1599,28 @@ class A extends HTMLElement {
1599
1599
  }
1600
1600
  static get observedAttributes() {
1601
1601
  return [
1602
- A._shapeAttribute,
1603
- A._heightAttribute,
1604
- A._widthAttribute
1602
+ _._shapeAttribute,
1603
+ _._heightAttribute,
1604
+ _._widthAttribute
1605
1605
  ];
1606
1606
  }
1607
1607
  get shape() {
1608
- return this.getAttribute(A._shapeAttribute) ?? "rect";
1608
+ return this.getAttribute(_._shapeAttribute) ?? "rect";
1609
1609
  }
1610
1610
  set shape(t) {
1611
- this.setAttribute(A._shapeAttribute, t);
1611
+ this.setAttribute(_._shapeAttribute, t);
1612
1612
  }
1613
1613
  get height() {
1614
- return this.getAttribute(A._heightAttribute) ?? "";
1614
+ return this.getAttribute(_._heightAttribute) ?? "";
1615
1615
  }
1616
1616
  set height(t) {
1617
- this.setAttribute(A._heightAttribute, t);
1617
+ this.setAttribute(_._heightAttribute, t);
1618
1618
  }
1619
1619
  connectedCallback() {
1620
1620
  this._render();
1621
1621
  }
1622
1622
  attributeChangedCallback(t, e, i) {
1623
- i !== e && t === A._heightAttribute && this._applyHeight(i);
1623
+ i !== e && t === _._heightAttribute && this._applyHeight(i);
1624
1624
  }
1625
1625
  _render() {
1626
1626
  this.shadowRoot !== null && (this.shadowRoot.innerHTML = te, this._applyHeight(this.height));
@@ -1632,7 +1632,7 @@ class A extends HTMLElement {
1632
1632
  }
1633
1633
  const Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1634
1634
  __proto__: null,
1635
- SkeletonComponent: A,
1635
+ SkeletonComponent: _,
1636
1636
  selector: Zt
1637
1637
  }, Symbol.toStringTag, { value: "Module" })), ie = `<div
1638
1638
  class="cv-viewer__loader"
@@ -1666,7 +1666,7 @@ const Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1666
1666
  </div>
1667
1667
  `, re = ":host{display:block}:host(:not([loading])),:host([loading=false]){display:none}.cv-viewer__loader{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;padding:48px;background:#1a1a1a;transition:opacity .4s ease;z-index:2}.cv-viewer__loader--hidden{opacity:0;pointer-events:none}.cv-viewer__loader-pulse{display:flex;flex-direction:column;gap:14px;width:min(520px,80%)}.cv-viewer__loader-bar{height:12px;border-radius:2px;background:linear-gradient(90deg,#ffffff0a 25%,#ffffff1a,#ffffff0a 75%);background-size:200% 100%;animation:shimmer 1.8s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}", it = new CSSStyleSheet();
1668
1668
  it.replaceSync(re);
1669
- class _ extends HTMLElement {
1669
+ class w extends HTMLElement {
1670
1670
  static _labelAttribute = "label";
1671
1671
  static _loadingAttribute = "loading";
1672
1672
  /**
@@ -1681,22 +1681,22 @@ class _ extends HTMLElement {
1681
1681
  */
1682
1682
  static get observedAttributes() {
1683
1683
  return [
1684
- _._labelAttribute,
1685
- _._loadingAttribute
1684
+ w._labelAttribute,
1685
+ w._loadingAttribute
1686
1686
  ];
1687
1687
  }
1688
1688
  get loading() {
1689
- const t = this.getAttribute(_._loadingAttribute);
1689
+ const t = this.getAttribute(w._loadingAttribute);
1690
1690
  return t !== null && t !== "false";
1691
1691
  }
1692
1692
  set loading(t) {
1693
- t ? this.setAttribute(_._loadingAttribute, "true") : this.setAttribute(_._loadingAttribute, "false");
1693
+ t ? this.setAttribute(w._loadingAttribute, "true") : this.setAttribute(w._loadingAttribute, "false");
1694
1694
  }
1695
1695
  get label() {
1696
- return this.getAttribute(_._labelAttribute) ?? "Loading…";
1696
+ return this.getAttribute(w._labelAttribute) ?? "Loading…";
1697
1697
  }
1698
1698
  set label(t) {
1699
- this.setAttribute(_._labelAttribute, t);
1699
+ this.setAttribute(w._labelAttribute, t);
1700
1700
  }
1701
1701
  /**
1702
1702
  * Lifecycle hook: component inserted into DOM.
@@ -1708,7 +1708,7 @@ class _ extends HTMLElement {
1708
1708
  * Lifecycle hook: observed attribute changed.
1709
1709
  */
1710
1710
  attributeChangedCallback(t, e, i) {
1711
- i !== e && t === _._labelAttribute && this._updateLabel();
1711
+ i !== e && t === w._labelAttribute && this._updateLabel();
1712
1712
  }
1713
1713
  /**
1714
1714
  * Renders the component's Shadow DOM structure.
@@ -1726,7 +1726,7 @@ class _ extends HTMLElement {
1726
1726
  }
1727
1727
  const se = "loader-bars", Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1728
1728
  __proto__: null,
1729
- LoaderBarsComponent: _,
1729
+ LoaderBarsComponent: w,
1730
1730
  selector: se
1731
1731
  }, Symbol.toStringTag, { value: "Module" })), oe = "ds-card", ae = `<div part="card" class="card">
1732
1732
  <slot name="header" class="card-header-slot"></slot>
@@ -1737,7 +1737,7 @@ const se = "loader-bars", Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obj
1737
1737
  </div>
1738
1738
  `, ne = '*{box-sizing:border-box}:host{display:block}.card{background:var(--color-bg-secondary);border:1px solid var(--color-border-primary);border-radius:var(--border-radius-xl);box-shadow:var(--shadow-md);overflow:hidden;transition:box-shadow var(--transition-fast),transform var(--transition-fast),border-color var(--transition-fast);font-family:var(--font-family-base);color:var(--color-text-primary);position:relative}.card:before{content:"";display:block;height:2px;background:linear-gradient(90deg,var(--color-primary) 0%,var(--color-primary-light) 100%);opacity:0;transition:opacity var(--transition-fast)}:host([hoverable]) .card:hover{box-shadow:var(--shadow-xl);transform:translateY(-3px);border-color:var(--color-border-secondary)}:host([hoverable]) .card:hover:before{opacity:1}:host([variant=outlined]) .card{background:transparent;box-shadow:none;border:var(--border-width-2) solid var(--color-border-secondary)}:host([variant=elevated]) .card{background:var(--color-bg-primary);box-shadow:var(--shadow-xl);border:none}:host([variant=filled]) .card{background:var(--color-bg-secondary);border:none;box-shadow:none}.card-body{padding:var(--spacing-4) var(--spacing-5)}::slotted([slot=header]){display:block;padding:var(--spacing-5) var(--spacing-5) var(--spacing-2);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-text-primary);letter-spacing:var(--letter-spacing-tight)}::slotted([slot=footer]){display:block;padding:var(--spacing-3) var(--spacing-5) var(--spacing-4);font-size:var(--font-size-sm);color:var(--color-text-secondary);border-top:1px solid var(--color-border-primary)}', rt = new CSSStyleSheet();
1739
1739
  rt.replaceSync(ne);
1740
- class L extends HTMLElement {
1740
+ class R extends HTMLElement {
1741
1741
  static _variantAttribute = "variant";
1742
1742
  static _hoverableAttribute = "hoverable";
1743
1743
  constructor() {
@@ -1745,21 +1745,21 @@ class L extends HTMLElement {
1745
1745
  }
1746
1746
  static get observedAttributes() {
1747
1747
  return [
1748
- L._variantAttribute,
1749
- L._hoverableAttribute
1748
+ R._variantAttribute,
1749
+ R._hoverableAttribute
1750
1750
  ];
1751
1751
  }
1752
1752
  get variant() {
1753
- return this.getAttribute(L._variantAttribute) ?? "default";
1753
+ return this.getAttribute(R._variantAttribute) ?? "default";
1754
1754
  }
1755
1755
  set variant(t) {
1756
- this.setAttribute(L._variantAttribute, t);
1756
+ this.setAttribute(R._variantAttribute, t);
1757
1757
  }
1758
1758
  get hoverable() {
1759
- return this.hasAttribute(L._hoverableAttribute);
1759
+ return this.hasAttribute(R._hoverableAttribute);
1760
1760
  }
1761
1761
  set hoverable(t) {
1762
- t ? this.setAttribute(L._hoverableAttribute, "") : this.removeAttribute(L._hoverableAttribute);
1762
+ t ? this.setAttribute(R._hoverableAttribute, "") : this.removeAttribute(R._hoverableAttribute);
1763
1763
  }
1764
1764
  connectedCallback() {
1765
1765
  this._render();
@@ -1772,7 +1772,7 @@ class L extends HTMLElement {
1772
1772
  }
1773
1773
  const We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1774
1774
  __proto__: null,
1775
- BaseCardComponent: L,
1775
+ BaseCardComponent: R,
1776
1776
  selector: oe
1777
1777
  }, Symbol.toStringTag, { value: "Module" })), le = "ds-badge", de = `<span part="badge" class="badge">
1778
1778
  <slot></slot>
@@ -1839,9 +1839,9 @@ const Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1839
1839
  <span class="close-icon">✕</span>
1840
1840
  </button>
1841
1841
  </div>
1842
- `, be = '@charset "UTF-8";*{box-sizing:border-box}:host{display:block}:host([hidden]){display:none}.alert{display:flex;align-items:center;gap:var(--gap-sm);padding:var(--spacing-3);border-radius:var(--border-radius-lg);border-left:4px solid var(--color-primary);background-color:var(--color-bg-secondary);color:var(--color-text-primary);font-family:var(--font-family-base);font-size:var(--font-size-sm);line-height:var(--line-height-normal);animation:alertIn var(--transition-fast) ease-out}:host([variant=success]) .alert{border-left-color:#22c55e;background-color:#1a3f1f;color:#d1fae5}:host([variant=warning]) .alert{border-left-color:#facc15;background-color:#3f3011;color:#e0c600}:host([variant=error]) .alert{border-left-color:#dc2626;background-color:color-mix(in srgb,#dc2626 10%,var(--color-bg-primary))}:host([variant=info]) .alert,:host([variant=hint]) .alert{border-left-color:var(--color-primary);background-color:color-mix(in srgb,var(--color-primary) 15%,var(--color-bg-primary));color:var(--color-text-primary)}.alert-icon{font-size:var(--font-size-lg);flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:1.25em;height:1.25em}:host([variant=success]) .alert-icon:before{content:"✓"}:host([variant=warning]) .alert-icon:before{content:"⚠"}:host([variant=error]) .alert-icon:before{content:"✕"}:host([variant=info]) .alert-icon:before{content:"ℹ"}:host([variant=hint]) .alert-icon:before{content:"💡"}.alert-content{flex:1;min-width:0;padding:0 var(--gap-sm);border-left:1px solid}::slotted([slot=title]){display:block;font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);margin-bottom:var(--spacing-1)}.alert-close{flex-shrink:0;background:transparent;border:none;cursor:pointer;padding:var(--spacing-1);border-radius:var(--border-radius-sm);color:var(--color-text-secondary);font-size:var(--font-size-md);line-height:1;display:flex;align-items:center;justify-content:center;transition:background var(--transition-fast),color var(--transition-fast)}.alert-close:hover{background:var(--color-hover-bg-secondary);color:var(--color-text-primary)}:host(:not([dismissible])) .alert-close{display:none}@keyframes alertIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}', ot = new CSSStyleSheet();
1842
+ `, be = '@charset "UTF-8";*{box-sizing:border-box}:host{display:block}:host([hidden]){display:none}.alert{display:flex;align-items:center;gap:var(--gap-sm);padding:var(--spacing-3);border-radius:var(--border-radius-lg);border-left:4px solid var(--color-primary);background-color:var(--color-bg-secondary);color:var(--color-text-primary);font-family:var(--font-family-base);font-size:var(--font-size-sm);line-height:var(--line-height-normal);animation:alertIn var(--transition-fast) ease-out}:host([variant=success]) .alert{border-left-color:#22c55e;background-color:#1a3f1f;color:#d1fae5}:host([variant=warning]) .alert{border-left-color:#facc15;background-color:#3f3011;color:#e0c600}:host([variant=error]) .alert{border-left-color:#dc2626;background-color:color-mix(in srgb,#dc2626 10%,var(--color-bg-primary))}:host([variant=info]) .alert,:host([variant=hint]) .alert{border-left-color:var(--color-primary);background-color:color-mix(in srgb,var(--color-primary) 15%,var(--color-bg-primary));color:var(--color-text-primary)}.alert-icon{font-size:var(--font-size-lg);flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:1.25em;height:1.25em;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",var(--font-family-base),sans-serif}:host([variant=success]) .alert-icon:before{content:"✓"}:host([variant=warning]) .alert-icon:before{content:"⚠"}:host([variant=error]) .alert-icon:before{content:"✕"}:host([variant=info]) .alert-icon:before{content:"ℹ"}:host([variant=hint]) .alert-icon:before{content:"💡";color:#facc15}.alert-content{flex:1;min-width:0;padding:0 var(--gap-sm);border-left:1px solid}::slotted([slot=title]){display:block;font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);margin-bottom:var(--spacing-1)}.alert-close{flex-shrink:0;background:transparent;border:none;cursor:pointer;padding:var(--spacing-1);border-radius:var(--border-radius-sm);color:var(--color-text-secondary);font-size:var(--font-size-md);line-height:1;display:flex;align-items:center;justify-content:center;transition:background var(--transition-fast),color var(--transition-fast)}.alert-close:hover{background:var(--color-hover-bg-secondary);color:var(--color-text-primary)}:host(:not([dismissible])) .alert-close{display:none}@keyframes alertIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}', ot = new CSSStyleSheet();
1843
1843
  ot.replaceSync(be);
1844
- class R extends HTMLElement {
1844
+ class A extends HTMLElement {
1845
1845
  static _variantAttribute = "variant";
1846
1846
  static _dismissibleAttribute = "dismissible";
1847
1847
  constructor() {
@@ -1849,21 +1849,21 @@ class R extends HTMLElement {
1849
1849
  }
1850
1850
  static get observedAttributes() {
1851
1851
  return [
1852
- R._variantAttribute,
1853
- R._dismissibleAttribute
1852
+ A._variantAttribute,
1853
+ A._dismissibleAttribute
1854
1854
  ];
1855
1855
  }
1856
1856
  get variant() {
1857
- return this.getAttribute(R._variantAttribute) ?? "info";
1857
+ return this.getAttribute(A._variantAttribute) ?? "info";
1858
1858
  }
1859
1859
  set variant(t) {
1860
- this.setAttribute(R._variantAttribute, t);
1860
+ this.setAttribute(A._variantAttribute, t);
1861
1861
  }
1862
1862
  get dismissible() {
1863
- return this.hasAttribute(R._dismissibleAttribute);
1863
+ return this.hasAttribute(A._dismissibleAttribute);
1864
1864
  }
1865
1865
  set dismissible(t) {
1866
- t ? this.setAttribute(R._dismissibleAttribute, "") : this.removeAttribute(R._dismissibleAttribute);
1866
+ t ? this.setAttribute(A._dismissibleAttribute, "") : this.removeAttribute(A._dismissibleAttribute);
1867
1867
  }
1868
1868
  connectedCallback() {
1869
1869
  this._render(), this._addEventListeners();
@@ -1872,6 +1872,10 @@ class R extends HTMLElement {
1872
1872
  this._removeEventListeners();
1873
1873
  }
1874
1874
  attributeChangedCallback(t, e, i) {
1875
+ if (i !== e && (t === A._variantAttribute && this.setAttribute("variant", i || "info"), t === A._dismissibleAttribute)) {
1876
+ const r = this.shadowRoot?.querySelector(".alert-close");
1877
+ r && (r.style.display = this.dismissible ? "" : "none");
1878
+ }
1875
1879
  }
1876
1880
  _handleClose = () => {
1877
1881
  this.dispatchEvent(
@@ -1890,7 +1894,7 @@ class R extends HTMLElement {
1890
1894
  }
1891
1895
  const Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1892
1896
  __proto__: null,
1893
- AlertComponent: R,
1897
+ AlertComponent: A,
1894
1898
  selector: ue
1895
1899
  }, Symbol.toStringTag, { value: "Module" })), ve = "ds-tag", ge = `<span part="tag" class="tag">
1896
1900
  <slot></slot>
@@ -1905,7 +1909,7 @@ const Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1905
1909
  </span>
1906
1910
  `, pe = "*{box-sizing:border-box}:host{display:inline-flex}.tag{display:inline-flex;align-items:center;gap:var(--gap-xs);padding-block:.25em;padding-inline:.75em;border-radius:var(--border-radius-full);font-family:var(--font-family-base);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);background-color:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-border-primary);transition:all var(--transition-fast)}:host([variant=primary]) .tag{background-color:var(--color-primary);color:#fff;border-color:transparent}:host([variant=success]) .tag{background-color:var(--color-success);color:#fff;border-color:transparent}:host([variant=warning]) .tag{background-color:var(--color-warning);color:#1a1a1a;border-color:transparent}:host([variant=error]) .tag{background-color:var(--color-error);color:#fff;border-color:transparent}:host([size=sm]) .tag{font-size:var(--font-size-xs);padding-block:.15em;padding-inline:.5em}:host([size=lg]) .tag{font-size:var(--font-size-md);padding-block:.35em;padding-inline:1em}.tag-remove{display:none;background:transparent;border:none;cursor:pointer;padding:0;font-size:.75em;color:inherit;opacity:.7;line-height:1;border-radius:var(--border-radius-full);transition:opacity var(--transition-fast)}:host([removable]) .tag-remove{display:inline-flex;align-items:center;justify-content:center}.tag-remove:hover{opacity:1}", at = new CSSStyleSheet();
1907
1911
  at.replaceSync(pe);
1908
- class w extends HTMLElement {
1912
+ class S extends HTMLElement {
1909
1913
  static _variantAttribute = "variant";
1910
1914
  static _sizeAttribute = "size";
1911
1915
  static _removableAttribute = "removable";
@@ -1914,22 +1918,22 @@ class w extends HTMLElement {
1914
1918
  }
1915
1919
  static get observedAttributes() {
1916
1920
  return [
1917
- w._variantAttribute,
1918
- w._sizeAttribute,
1919
- w._removableAttribute
1921
+ S._variantAttribute,
1922
+ S._sizeAttribute,
1923
+ S._removableAttribute
1920
1924
  ];
1921
1925
  }
1922
1926
  get variant() {
1923
- return this.getAttribute(w._variantAttribute) ?? "default";
1927
+ return this.getAttribute(S._variantAttribute) ?? "default";
1924
1928
  }
1925
1929
  set variant(t) {
1926
- this.setAttribute(w._variantAttribute, t);
1930
+ this.setAttribute(S._variantAttribute, t);
1927
1931
  }
1928
1932
  get removable() {
1929
- return this.hasAttribute(w._removableAttribute);
1933
+ return this.hasAttribute(S._removableAttribute);
1930
1934
  }
1931
1935
  set removable(t) {
1932
- t ? this.setAttribute(w._removableAttribute, "") : this.removeAttribute(w._removableAttribute);
1936
+ t ? this.setAttribute(S._removableAttribute, "") : this.removeAttribute(S._removableAttribute);
1933
1937
  }
1934
1938
  connectedCallback() {
1935
1939
  this._render(), this._addEventListeners();
@@ -1956,7 +1960,7 @@ class w extends HTMLElement {
1956
1960
  }
1957
1961
  const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1958
1962
  __proto__: null,
1959
- TagComponent: w,
1963
+ TagComponent: S,
1960
1964
  selector: ve
1961
1965
  }, Symbol.toStringTag, { value: "Module" })), fe = "ds-avatar", me = `<div part="avatar" class="avatar" role="img">
1962
1966
  <img class="avatar-image" alt="" />
@@ -2029,8 +2033,8 @@ class n extends HTMLElement {
2029
2033
  const i = this.shadowRoot?.querySelector(".avatar-initials");
2030
2034
  i != null && (i.textContent = e ?? "");
2031
2035
  } else if (t === n._altAttribute) {
2032
- const i = this.shadowRoot?.querySelector(".avatar-image"), s = this.shadowRoot?.querySelector(".avatar");
2033
- i != null && (i.alt = e ?? ""), s?.setAttribute("aria-label", e ?? "");
2036
+ const i = this.shadowRoot?.querySelector(".avatar-image"), r = this.shadowRoot?.querySelector(".avatar");
2037
+ i != null && (i.alt = e ?? ""), r?.setAttribute("aria-label", e ?? "");
2034
2038
  }
2035
2039
  }
2036
2040
  }
@@ -2255,10 +2259,10 @@ class o extends HTMLElement {
2255
2259
  this._inputElement?.removeEventListener("input", this._handleInput), this._inputElement?.removeEventListener("change", this._handleChange);
2256
2260
  }
2257
2261
  _syncAttribute(t, e) {
2258
- const i = this._inputElement, s = this.shadowRoot?.querySelector(".input-label"), a = this.shadowRoot?.querySelector(".input-helper");
2262
+ const i = this._inputElement, r = this.shadowRoot?.querySelector(".input-label"), a = this.shadowRoot?.querySelector(".input-helper");
2259
2263
  switch (t) {
2260
2264
  case o._labelAttribute:
2261
- s != null && (s.textContent = e ?? "");
2265
+ r != null && (r.textContent = e ?? "");
2262
2266
  break;
2263
2267
  case o._placeholderAttribute:
2264
2268
  i?.setAttribute("placeholder", e ?? "");
@@ -2293,8 +2297,8 @@ class o extends HTMLElement {
2293
2297
  "type",
2294
2298
  this.getAttribute(o._typeAttribute) ?? "text"
2295
2299
  ), t.setAttribute("placeholder", this.placeholder), t.value = this.getAttribute(o._valueAttribute) ?? "", this.disabled && t.setAttribute("disabled", ""), this.hasAttribute(o._requiredAttribute) && t.setAttribute("required", "");
2296
- const s = this.getAttribute(o._nameAttribute);
2297
- s !== null && s !== "" && t.setAttribute("name", s);
2300
+ const r = this.getAttribute(o._nameAttribute);
2301
+ r !== null && r !== "" && t.setAttribute("name", r);
2298
2302
  }
2299
2303
  const e = this.shadowRoot.querySelector(".input-label");
2300
2304
  e !== null && (e.textContent = this.label);
@@ -2361,8 +2365,8 @@ class l extends HTMLElement {
2361
2365
  attributeChangedCallback(t, e, i) {
2362
2366
  if (i === e)
2363
2367
  return;
2364
- const s = this._inputElement;
2365
- s !== null && (t === l._checkedAttribute ? s.checked = i !== null : t === l._disabledAttribute && (s.disabled = i !== null));
2368
+ const r = this._inputElement;
2369
+ r !== null && (t === l._checkedAttribute ? r.checked = i !== null : t === l._disabledAttribute && (r.disabled = i !== null));
2366
2370
  }
2367
2371
  _handleChange = () => {
2368
2372
  const t = this._inputElement?.checked ?? !1;
@@ -2404,12 +2408,12 @@ export {
2404
2408
  Fe as BaseDialog,
2405
2409
  j as CUSTOM_MESSAGES,
2406
2410
  He as CloseButton,
2407
- Te as ConfirmButton,
2411
+ Ne as ConfirmButton,
2408
2412
  qe as ConfirmationDialog,
2409
2413
  Pe as HeaderBodyFooterDialog,
2410
2414
  Ce as LoaderBars,
2411
2415
  je as NextButton,
2412
- Ne as PreviousButton,
2416
+ Te as PreviousButton,
2413
2417
  Ke as ProgressBar,
2414
2418
  Ge as Skeleton,
2415
2419
  Ue as Spinner,