@central-design-system/components 3.0.0-beta.18 → 3.0.0-beta.19

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/cds.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Fc = Object.defineProperty;
2
2
  var Tc = (e, t, n) => t in e ? Fc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Xn = (e, t, n) => (Tc(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { reactive as rt, computed as v, watchEffect as st, toRefs as tn, getCurrentInstance as Oc, isRef as Ia, unref as s, toRef as nt, shallowRef as Le, camelize as Ds, warn as Es, resolveDynamicComponent as wt, defineComponent as _, watch as J, onScopeDispose as _t, effectScope as As, ref as T, toRaw as Kt, onBeforeUnmount as it, provide as tt, inject as Ye, onBeforeMount as Li, onMounted as ut, h as y, mergeProps as Te, Transition as bn, nextTick as Je, readonly as Ms, onBeforeUpdate as Rc, Fragment as Ve, onUnmounted as la, openBlock as H, createElementBlock as ne, normalizeClass as vt, createBlock as pe, createCommentVNode as ee, renderSlot as X, TransitionGroup as Ni, resolveComponent as ve, withCtx as ie, renderList as nn, toDisplayString as at, createElementVNode as Ke, createTextVNode as Ht, createVNode as Ze, normalizeProps as Ft, guardReactiveProps as en, withDirectives as kn, vShow as ia, toHandlers as xa, Teleport as Bc, createSlots as Cn, withModifiers as kl, withKeys as zi, normalizeStyle as Lc, isVNode as Fn, Comment as Nc, onUpdated as Hi, Text as zc, onActivated as Hc, vModelText as Vc } from "vue";
4
+ import { reactive as rt, computed as v, watchEffect as st, toRefs as tn, getCurrentInstance as Oc, isRef as Ia, unref as s, toRef as nt, shallowRef as Le, camelize as Ds, warn as Es, resolveDynamicComponent as wt, defineComponent as _, watch as J, onScopeDispose as _t, effectScope as As, ref as T, toRaw as Kt, onBeforeUnmount as it, provide as tt, inject as Ye, onBeforeMount as Li, onMounted as ut, h as y, mergeProps as Te, Transition as bn, nextTick as Je, readonly as Ms, onBeforeUpdate as Rc, Fragment as Ve, onUnmounted as la, openBlock as z, createElementBlock as ne, normalizeClass as vt, createBlock as pe, createCommentVNode as ee, renderSlot as X, TransitionGroup as Ni, resolveComponent as ve, withCtx as ie, renderList as nn, toDisplayString as at, createElementVNode as Ke, createTextVNode as Ht, createVNode as Ze, normalizeProps as Ft, guardReactiveProps as en, withDirectives as kn, vShow as ia, toHandlers as xa, Teleport as Bc, createSlots as Cn, withModifiers as kl, withKeys as zi, normalizeStyle as Lc, isVNode as Fn, Comment as Nc, onUpdated as Hi, Text as zc, onActivated as Hc, vModelText as Vc } from "vue";
5
5
  const Me = typeof window < "u", Ps = Me && "IntersectionObserver" in window, Vi = Me && ("ontouchstart" in window || window.navigator.maxTouchPoints > 0), Ki = Me && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports("selector(:focus-visible)"), dn = "cds-scroll-blocked", ue = Object.freeze({
6
6
  enter: "Enter",
7
7
  tab: "Tab",
@@ -1893,7 +1893,7 @@ const Qd = Object.freeze({
1893
1893
  black: "#000000",
1894
1894
  white: "#ffffff",
1895
1895
  transparent: "#ffffff00"
1896
- }), R = Object.freeze({
1896
+ }), O = Object.freeze({
1897
1897
  red: Qd,
1898
1898
  chocolate: ef,
1899
1899
  orange: tf,
@@ -1912,7 +1912,7 @@ const Qd = Object.freeze({
1912
1912
  shades: vf
1913
1913
  }), Py = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1914
1914
  __proto__: null,
1915
- colors: R,
1915
+ colors: O,
1916
1916
  preventedScrollClass: dn,
1917
1917
  keyNames: ue,
1918
1918
  classesStates: mt,
@@ -4292,46 +4292,46 @@ function iu(e, t, n = "H") {
4292
4292
  const ru = {
4293
4293
  dark: !1,
4294
4294
  colors: {
4295
- primary: R.blue.lighten400,
4296
- "primary-lighten-1": R.blue.lighten50,
4297
- "primary-lighten-2": R.blue.lighten10,
4298
- secondary: R.blue.lighten400,
4299
- "secondary-lighten-1": R.blue.lighten50,
4300
- "secondary-lighten-2": R.blue.lighten10,
4301
- "surface-primary": R.shades.white,
4302
- "surface-secondary": R.gray.lighten10,
4303
- "surface-inverse": R.shades.black,
4304
- "surface-text": R.blue.lighten400,
4305
- "surface-disabled": R.gray.lighten50,
4306
- "surface-above": R.shades.white,
4307
- "field-primary": R.shades.white,
4308
- "field-secondary": R.gray.lighten10,
4309
- "text-primary": R.shades.black,
4310
- "text-secondary": R.gray.lighten500,
4311
- "text-tertiary": R.gray.lighten600,
4312
- "text-inverse": R.shades.white,
4313
- "text-disabled": R.gray.lighten500,
4314
- "text-above": R.shades.white,
4315
- "neutral-primary": R.gray.lighten300,
4316
- "neutral-primary-darken-1": R.gray.lighten400,
4317
- "neutral-secondary": R.gray.lighten100,
4318
- "neutral-secondary-darken-1": R.gray.lighten200,
4319
- link: R.purple.lighten400,
4320
- danger: R.red.lighten400,
4321
- "danger-lighten-1": R.red.lighten50,
4322
- "danger-lighten-2": R.red.lighten10,
4323
- warning: R.yellow.lighten300,
4324
- "warning-lighten-1": R.yellow.lighten50,
4325
- "warning-lighten-2": R.yellow.lighten10,
4326
- success: R.green.lighten400,
4327
- "success-lighten-1": R.green.lighten50,
4328
- "success-lighten-2": R.green.lighten10,
4329
- info: R.gray.lighten500,
4330
- "info-lighten-1": R.gray.lighten50,
4331
- "info-lighten-2": R.gray.lighten10,
4332
- progress: R.lightBlue.lighten400,
4333
- "progress-lighten-1": R.lightBlue.lighten50,
4334
- "progress-lighten-2": R.lightBlue.lighten10
4295
+ primary: O.blue.lighten400,
4296
+ "primary-lighten-1": O.blue.lighten50,
4297
+ "primary-lighten-2": O.blue.lighten10,
4298
+ secondary: O.blue.lighten400,
4299
+ "secondary-lighten-1": O.blue.lighten50,
4300
+ "secondary-lighten-2": O.blue.lighten10,
4301
+ "surface-primary": O.shades.white,
4302
+ "surface-secondary": O.gray.lighten10,
4303
+ "surface-inverse": O.shades.black,
4304
+ "surface-text": O.blue.lighten400,
4305
+ "surface-disabled": O.gray.lighten50,
4306
+ "surface-above": O.shades.white,
4307
+ "field-primary": O.shades.white,
4308
+ "field-secondary": O.gray.lighten10,
4309
+ "text-primary": O.shades.black,
4310
+ "text-secondary": O.gray.lighten500,
4311
+ "text-tertiary": O.gray.lighten600,
4312
+ "text-inverse": O.shades.white,
4313
+ "text-disabled": O.gray.lighten500,
4314
+ "text-above": O.shades.white,
4315
+ "neutral-primary": O.gray.lighten300,
4316
+ "neutral-primary-darken-1": O.gray.lighten400,
4317
+ "neutral-secondary": O.gray.lighten100,
4318
+ "neutral-secondary-darken-1": O.gray.lighten200,
4319
+ link: O.purple.lighten400,
4320
+ danger: O.red.lighten400,
4321
+ "danger-lighten-1": O.red.lighten50,
4322
+ "danger-lighten-2": O.red.lighten10,
4323
+ warning: O.yellow.lighten300,
4324
+ "warning-lighten-1": O.yellow.lighten50,
4325
+ "warning-lighten-2": O.yellow.lighten10,
4326
+ success: O.green.lighten400,
4327
+ "success-lighten-1": O.green.lighten50,
4328
+ "success-lighten-2": O.green.lighten10,
4329
+ info: O.gray.lighten500,
4330
+ "info-lighten-1": O.gray.lighten50,
4331
+ "info-lighten-2": O.gray.lighten10,
4332
+ progress: O.lightBlue.lighten400,
4333
+ "progress-lighten-1": O.lightBlue.lighten50,
4334
+ "progress-lighten-2": O.lightBlue.lighten10
4335
4335
  },
4336
4336
  variables: {
4337
4337
  "overlay-primary": "rgba(85, 85, 85, 0.65)",
@@ -4340,46 +4340,46 @@ const ru = {
4340
4340
  }, uu = {
4341
4341
  dark: !1,
4342
4342
  colors: {
4343
- primary: R.lightBlue.lighten200,
4344
- "primary-lighten-1": R.gray.lighten100,
4345
- "primary-lighten-2": R.lightBlue.lighten10,
4346
- secondary: R.lightBlue.lighten500,
4347
- "secondary-lighten-1": R.gray.lighten100,
4348
- "secondary-lighten-2": R.lightBlue.lighten10,
4349
- "surface-primary": R.gray.lighten10,
4350
- "surface-secondary": R.shades.white,
4351
- "surface-inverse": R.shades.black,
4352
- "surface-text": R.shades.black,
4353
- "surface-disabled": R.gray.lighten50,
4354
- "surface-above": R.shades.black,
4355
- "field-primary": R.shades.white,
4356
- "field-secondary": R.gray.lighten10,
4357
- "text-primary": R.shades.black,
4358
- "text-secondary": R.gray.lighten300,
4359
- "text-tertiary": R.gray.lighten600,
4360
- "text-inverse": R.shades.white,
4361
- "text-disabled": R.gray.lighten500,
4362
- "text-above": R.shades.white,
4363
- "neutral-primary": R.gray.lighten300,
4364
- "neutral-primary-darken-1": R.gray.lighten400,
4365
- "neutral-secondary": R.gray.lighten50,
4366
- "neutral-secondary-darken-1": R.gray.lighten200,
4367
- link: R.purple.lighten700,
4368
- danger: R.red.lighten200,
4369
- "danger-lighten-1": R.red.lighten50,
4370
- "danger-lighten-2": R.red.lighten10,
4371
- warning: R.yellow.lighten300,
4372
- "warning-lighten-1": R.yellow.lighten50,
4373
- "warning-lighten-2": R.yellow.lighten10,
4374
- success: R.green.lighten200,
4375
- "success-lighten-1": R.green.lighten50,
4376
- "success-lighten-2": R.green.lighten10,
4377
- info: R.gray.lighten500,
4378
- "info-lighten-1": R.gray.lighten50,
4379
- "info-lighten-2": R.gray.lighten10,
4380
- progress: R.lightBlue.lighten400,
4381
- "progress-lighten-1": R.lightBlue.lighten50,
4382
- "progress-lighten-2": R.lightBlue.lighten10
4343
+ primary: O.lightBlue.lighten200,
4344
+ "primary-lighten-1": O.gray.lighten100,
4345
+ "primary-lighten-2": O.lightBlue.lighten10,
4346
+ secondary: O.lightBlue.lighten500,
4347
+ "secondary-lighten-1": O.gray.lighten100,
4348
+ "secondary-lighten-2": O.lightBlue.lighten10,
4349
+ "surface-primary": O.gray.lighten10,
4350
+ "surface-secondary": O.shades.white,
4351
+ "surface-inverse": O.shades.black,
4352
+ "surface-text": O.shades.black,
4353
+ "surface-disabled": O.gray.lighten50,
4354
+ "surface-above": O.shades.black,
4355
+ "field-primary": O.shades.white,
4356
+ "field-secondary": O.gray.lighten10,
4357
+ "text-primary": O.shades.black,
4358
+ "text-secondary": O.gray.lighten300,
4359
+ "text-tertiary": O.gray.lighten600,
4360
+ "text-inverse": O.shades.white,
4361
+ "text-disabled": O.gray.lighten500,
4362
+ "text-above": O.shades.white,
4363
+ "neutral-primary": O.gray.lighten300,
4364
+ "neutral-primary-darken-1": O.gray.lighten400,
4365
+ "neutral-secondary": O.gray.lighten50,
4366
+ "neutral-secondary-darken-1": O.gray.lighten200,
4367
+ link: O.purple.lighten700,
4368
+ danger: O.red.lighten200,
4369
+ "danger-lighten-1": O.red.lighten50,
4370
+ "danger-lighten-2": O.red.lighten10,
4371
+ warning: O.yellow.lighten300,
4372
+ "warning-lighten-1": O.yellow.lighten50,
4373
+ "warning-lighten-2": O.yellow.lighten10,
4374
+ success: O.green.lighten200,
4375
+ "success-lighten-1": O.green.lighten50,
4376
+ "success-lighten-2": O.green.lighten10,
4377
+ info: O.gray.lighten500,
4378
+ "info-lighten-1": O.gray.lighten50,
4379
+ "info-lighten-2": O.gray.lighten10,
4380
+ progress: O.lightBlue.lighten400,
4381
+ "progress-lighten-1": O.lightBlue.lighten50,
4382
+ "progress-lighten-2": O.lightBlue.lighten10
4383
4383
  },
4384
4384
  variables: {
4385
4385
  "overlay-primary": "rgba(85, 85, 85, 0.65)",
@@ -4388,46 +4388,46 @@ const ru = {
4388
4388
  }, cu = {
4389
4389
  dark: !0,
4390
4390
  colors: {
4391
- primary: R.blue.lighten400,
4392
- "primary-lighten-1": R.gray.lighten700,
4393
- "primary-lighten-2": R.gray.lighten500,
4394
- secondary: R.blue.lighten400,
4395
- "secondary-lighten-1": R.blue.lighten50,
4396
- "secondary-lighten-2": R.blue.lighten10,
4397
- "surface-primary": R.shades.black,
4398
- "surface-secondary": R.gray.darken200,
4399
- "surface-inverse": R.shades.white,
4400
- "surface-text": R.shades.white,
4401
- "surface-disabled": R.gray.darken700,
4402
- "surface-above": R.shades.white,
4403
- "field-primary": R.gray.darken200,
4404
- "field-secondary": R.shades.black,
4405
- "text-primary": R.shades.white,
4406
- "text-secondary": R.shades.white,
4407
- "text-tertiary": R.gray.darken900,
4408
- "text-inverse": R.shades.black,
4409
- "text-disabled": R.gray.darken400,
4410
- "text-above": R.shades.white,
4411
- "neutral-primary": R.gray.darken400,
4412
- "neutral-primary-darken-1": R.gray.darken500,
4413
- "neutral-secondary": R.gray.darken100,
4414
- "neutral-secondary-darken-1": R.gray.darken200,
4415
- link: R.purple.lighten400,
4416
- danger: R.red.lighten400,
4417
- "danger-lighten-1": R.red.darken100,
4418
- "danger-lighten-2": R.red.darken50,
4419
- warning: R.yellow.lighten300,
4420
- "warning-lighten-1": R.yellow.darken100,
4421
- "warning-lighten-2": R.yellow.darken50,
4422
- success: R.green.lighten400,
4423
- "success-lighten-1": R.green.darken100,
4424
- "success-lighten-2": R.green.darken50,
4425
- info: R.gray.lighten500,
4426
- "info-lighten-1": R.gray.darken100,
4427
- "info-lighten-2": R.gray.darken50,
4428
- progress: R.lightBlue.lighten400,
4429
- "progress-lighten-1": R.lightBlue.darken100,
4430
- "progress-lighten-2": R.lightBlue.darken50
4391
+ primary: O.blue.lighten400,
4392
+ "primary-lighten-1": O.gray.lighten700,
4393
+ "primary-lighten-2": O.gray.lighten500,
4394
+ secondary: O.blue.lighten400,
4395
+ "secondary-lighten-1": O.blue.lighten50,
4396
+ "secondary-lighten-2": O.blue.lighten10,
4397
+ "surface-primary": O.shades.black,
4398
+ "surface-secondary": O.gray.darken200,
4399
+ "surface-inverse": O.shades.white,
4400
+ "surface-text": O.shades.white,
4401
+ "surface-disabled": O.gray.darken700,
4402
+ "surface-above": O.shades.white,
4403
+ "field-primary": O.gray.darken200,
4404
+ "field-secondary": O.shades.black,
4405
+ "text-primary": O.shades.white,
4406
+ "text-secondary": O.shades.white,
4407
+ "text-tertiary": O.gray.darken900,
4408
+ "text-inverse": O.shades.black,
4409
+ "text-disabled": O.gray.darken400,
4410
+ "text-above": O.shades.white,
4411
+ "neutral-primary": O.gray.darken400,
4412
+ "neutral-primary-darken-1": O.gray.darken500,
4413
+ "neutral-secondary": O.gray.darken100,
4414
+ "neutral-secondary-darken-1": O.gray.darken200,
4415
+ link: O.purple.lighten400,
4416
+ danger: O.red.lighten400,
4417
+ "danger-lighten-1": O.red.darken100,
4418
+ "danger-lighten-2": O.red.darken50,
4419
+ warning: O.yellow.lighten300,
4420
+ "warning-lighten-1": O.yellow.darken100,
4421
+ "warning-lighten-2": O.yellow.darken50,
4422
+ success: O.green.lighten400,
4423
+ "success-lighten-1": O.green.darken100,
4424
+ "success-lighten-2": O.green.darken50,
4425
+ info: O.gray.lighten500,
4426
+ "info-lighten-1": O.gray.darken100,
4427
+ "info-lighten-2": O.gray.darken50,
4428
+ progress: O.lightBlue.lighten400,
4429
+ "progress-lighten-1": O.lightBlue.darken100,
4430
+ "progress-lighten-2": O.lightBlue.darken50
4431
4431
  },
4432
4432
  variables: {
4433
4433
  "overlay-primary": "rgba(85, 85, 85, 0.65)",
@@ -4436,46 +4436,46 @@ const ru = {
4436
4436
  }, du = {
4437
4437
  dark: !1,
4438
4438
  colors: {
4439
- primary: R.red.lighten500,
4440
- "primary-lighten-1": R.red.lighten50,
4441
- "primary-lighten-2": R.red.lighten10,
4442
- secondary: R.red.lighten400,
4443
- "secondary-lighten-1": R.red.lighten50,
4444
- "secondary-lighten-2": R.red.lighten10,
4445
- "surface-primary": R.shades.white,
4446
- "surface-secondary": R.gray.lighten10,
4447
- "surface-inverse": R.shades.black,
4448
- "surface-text": R.red.lighten400,
4449
- "surface-disabled": R.gray.lighten50,
4450
- "surface-above": R.shades.white,
4451
- "field-primary": R.shades.white,
4452
- "field-secondary": R.gray.lighten10,
4453
- "text-primary": R.shades.black,
4454
- "text-secondary": R.gray.lighten500,
4455
- "text-tertiary": R.gray.lighten600,
4456
- "text-inverse": R.shades.white,
4457
- "text-disabled": R.gray.lighten300,
4458
- "text-above": R.shades.white,
4459
- "neutral-primary": R.gray.lighten300,
4460
- "neutral-primary-darken-1": R.gray.lighten400,
4461
- "neutral-secondary": R.gray.lighten100,
4462
- "neutral-secondary-darken-1": R.gray.lighten200,
4463
- link: R.purple.lighten400,
4464
- danger: R.red.lighten400,
4465
- "danger-lighten-1": R.red.lighten50,
4466
- "danger-lighten-2": R.red.lighten10,
4467
- warning: R.yellow.lighten300,
4468
- "warning-lighten-1": R.yellow.lighten50,
4469
- "warning-lighten-2": R.yellow.lighten10,
4470
- success: R.green.lighten400,
4471
- "success-lighten-1": R.green.lighten50,
4472
- "success-lighten-2": R.green.lighten10,
4473
- info: R.gray.lighten500,
4474
- "info-lighten-1": R.gray.lighten50,
4475
- "info-lighten-2": R.gray.lighten10,
4476
- progress: R.lightBlue.lighten400,
4477
- "progress-lighten-1": R.lightBlue.lighten50,
4478
- "progress-lighten-2": R.lightBlue.lighten10
4439
+ primary: O.red.lighten500,
4440
+ "primary-lighten-1": O.red.lighten50,
4441
+ "primary-lighten-2": O.red.lighten10,
4442
+ secondary: O.red.lighten400,
4443
+ "secondary-lighten-1": O.red.lighten50,
4444
+ "secondary-lighten-2": O.red.lighten10,
4445
+ "surface-primary": O.shades.white,
4446
+ "surface-secondary": O.gray.lighten10,
4447
+ "surface-inverse": O.shades.black,
4448
+ "surface-text": O.red.lighten400,
4449
+ "surface-disabled": O.gray.lighten50,
4450
+ "surface-above": O.shades.white,
4451
+ "field-primary": O.shades.white,
4452
+ "field-secondary": O.gray.lighten10,
4453
+ "text-primary": O.shades.black,
4454
+ "text-secondary": O.gray.lighten500,
4455
+ "text-tertiary": O.gray.lighten600,
4456
+ "text-inverse": O.shades.white,
4457
+ "text-disabled": O.gray.lighten300,
4458
+ "text-above": O.shades.white,
4459
+ "neutral-primary": O.gray.lighten300,
4460
+ "neutral-primary-darken-1": O.gray.lighten400,
4461
+ "neutral-secondary": O.gray.lighten100,
4462
+ "neutral-secondary-darken-1": O.gray.lighten200,
4463
+ link: O.purple.lighten400,
4464
+ danger: O.red.lighten400,
4465
+ "danger-lighten-1": O.red.lighten50,
4466
+ "danger-lighten-2": O.red.lighten10,
4467
+ warning: O.yellow.lighten300,
4468
+ "warning-lighten-1": O.yellow.lighten50,
4469
+ "warning-lighten-2": O.yellow.lighten10,
4470
+ success: O.green.lighten400,
4471
+ "success-lighten-1": O.green.lighten50,
4472
+ "success-lighten-2": O.green.lighten10,
4473
+ info: O.gray.lighten500,
4474
+ "info-lighten-1": O.gray.lighten50,
4475
+ "info-lighten-2": O.gray.lighten10,
4476
+ progress: O.lightBlue.lighten400,
4477
+ "progress-lighten-1": O.lightBlue.lighten50,
4478
+ "progress-lighten-2": O.lightBlue.lighten10
4479
4479
  },
4480
4480
  variables: {
4481
4481
  "overlay-primary": "rgba(85, 85, 85, 0.65)",
@@ -4898,10 +4898,10 @@ const et = (e, t) => {
4898
4898
  return n;
4899
4899
  };
4900
4900
  function hm(e, t, n, o, a, l) {
4901
- return H(), ne("i", {
4901
+ return z(), ne("i", {
4902
4902
  class: vt(["cds-icon", [e.sizeClasses, e.themeClasses, e.invertColorClasses]])
4903
4903
  }, [
4904
- e.name ? (H(), pe(wt(e.iconComponent), { key: 0 })) : ee("", !0),
4904
+ e.name ? (z(), pe(wt(e.iconComponent), { key: 0 })) : ee("", !0),
4905
4905
  X(e.$slots, "default")
4906
4906
  ], 2);
4907
4907
  }
@@ -5158,7 +5158,7 @@ const bm = "CdsInputMessages", Cm = _({
5158
5158
  });
5159
5159
  function km(e, t, n, o, a, l) {
5160
5160
  const i = ve("cds-transition");
5161
- return H(), pe(i, {
5161
+ return z(), pe(i, {
5162
5162
  transition: e.transition,
5163
5163
  tag: "div",
5164
5164
  class: vt(["cds-input__messages", [e.messagesClasses]]),
@@ -5166,8 +5166,8 @@ function km(e, t, n, o, a, l) {
5166
5166
  "aria-live": "polite"
5167
5167
  }, {
5168
5168
  default: ie(() => [
5169
- e.active || e.error ? (H(), ne(Ve, { key: 0 }, [
5170
- (H(!0), ne(Ve, null, nn(e.internalMessages, (r, u) => (H(), ne("span", {
5169
+ e.active || e.error ? (z(), ne(Ve, { key: 0 }, [
5170
+ (z(!0), ne(Ve, null, nn(e.internalMessages, (r, u) => (z(), ne("span", {
5171
5171
  key: `${u}-${r}`
5172
5172
  }, at(r), 1))), 128)),
5173
5173
  Ke("span", null, [
@@ -5198,7 +5198,7 @@ const pu = /* @__PURE__ */ et(Cm, [["render", km]]), Zn = "CdsInput", Lt = _({
5198
5198
  "mousedown:control": (e) => !0
5199
5199
  },
5200
5200
  setup(e, { slots: t, emit: n, expose: o }) {
5201
- var M;
5201
+ var w;
5202
5202
  const { id: a } = $t(e, t), { sizeClasses: l } = an(e, Zn), { themeClasses: i } = Pe(e), r = v(() => `${s(a)}-messages`), {
5203
5203
  errorMessages: u,
5204
5204
  isPure: f,
@@ -5213,11 +5213,14 @@ const pu = /* @__PURE__ */ et(Cm, [["render", km]]), Zn = "CdsInput", Lt = _({
5213
5213
  validationClasses: b
5214
5214
  } = Rf(e, Zn, a), S = v(
5215
5215
  () => e.errorMessages.length ? e.errorMessages : s(u).length ? s(u) : e.messages
5216
- ), { hasAppend: I, hasPrepend: D, handleClickPrepend: x, handleClickAppend: L } = Ut(e, t, Zn), { isFocused: P, focusClasses: A } = Rt(e, Zn), F = (M = t.messages) == null ? void 0 : M.call(t).every((z) => z.type === Symbol.for("Fragment") || z.type === Symbol.for("Comment")), E = v(() => {
5217
- var V;
5218
- const z = !!s(S).length || F || !!((V = e.messages) != null && V.length);
5219
- return z || !z && !e.hideMessages || e.hideMessages && z;
5220
- }), B = v(() => !!t.default), w = v(() => ({
5216
+ ), { hasAppend: I, hasPrepend: D, handleClickPrepend: x, handleClickAppend: L } = Ut(e, t, Zn), { isFocused: P, focusClasses: M } = Rt(e, Zn);
5217
+ (w = t.messages) == null || w.call(t).every((A) => A.type === Symbol.for("Fragment") || A.type === Symbol.for("Comment"));
5218
+ const F = v(
5219
+ () => {
5220
+ var A;
5221
+ return (!!s(S).length || !!t.messages || !!((A = e.messages) != null && A.length)) && !e.hideMessages;
5222
+ }
5223
+ ), E = v(() => !!t.default), B = v(() => ({
5221
5224
  id: a,
5222
5225
  isDirty: d,
5223
5226
  isDisabled: c,
@@ -5231,37 +5234,37 @@ const pu = /* @__PURE__ */ et(Cm, [["render", km]]), Zn = "CdsInput", Lt = _({
5231
5234
  }));
5232
5235
  return Ee(
5233
5236
  () => {
5234
- var z, V, K;
5237
+ var A, H, V;
5235
5238
  return y(
5236
5239
  "div",
5237
5240
  {
5238
5241
  class: Q(
5239
5242
  "cds-input",
5240
5243
  s(b),
5241
- s(A),
5244
+ s(M),
5242
5245
  s(l),
5243
5246
  s(i)
5244
5247
  )
5245
5248
  },
5246
5249
  [
5247
5250
  s(D) && y("div", { class: "cds-input__prepend", onClick: x }, [
5248
- (z = t.prepend) == null ? void 0 : z.call(t),
5251
+ (A = t.prepend) == null ? void 0 : A.call(t),
5249
5252
  !!e.prependIcon && y(ot, { name: e.prependIcon })
5250
5253
  ]),
5251
- s(B) && y(
5254
+ s(E) && y(
5252
5255
  "div",
5253
5256
  {
5254
5257
  class: "cds-input__control",
5255
- onClick: (O) => n("click:control", O),
5256
- onMousedown: (O) => n("mousedown:control", O)
5258
+ onClick: (K) => n("click:control", K),
5259
+ onMousedown: (K) => n("mousedown:control", K)
5257
5260
  },
5258
- (V = t.default) == null ? void 0 : V.call(t, s(w))
5261
+ (H = t.default) == null ? void 0 : H.call(t, s(B))
5259
5262
  ),
5260
5263
  s(I) && y("div", { class: "cds-input__append", onClick: L }, [
5261
- (K = t.append) == null ? void 0 : K.call(t),
5264
+ (V = t.append) == null ? void 0 : V.call(t),
5262
5265
  !!e.appendIcon && y(ot, { name: e.appendIcon })
5263
5266
  ]),
5264
- s(E) && y(
5267
+ s(F) && y(
5265
5268
  pu,
5266
5269
  {
5267
5270
  id: s(r),
@@ -5271,8 +5274,8 @@ const pu = /* @__PURE__ */ et(Cm, [["render", km]]), Zn = "CdsInput", Lt = _({
5271
5274
  },
5272
5275
  {
5273
5276
  default: () => {
5274
- var O;
5275
- return (O = t.messages) == null ? void 0 : O.call(t);
5277
+ var K;
5278
+ return (K = t.messages) == null ? void 0 : K.call(t);
5276
5279
  }
5277
5280
  }
5278
5281
  )
@@ -5305,7 +5308,7 @@ const wm = "CdsInputLabel", _m = _({
5305
5308
  }
5306
5309
  }), Sm = { class: "cds-input__label-text" };
5307
5310
  function $m(e, t, n, o, a, l) {
5308
- return H(), pe(wt(e.tag), { class: "cds-input__label" }, {
5311
+ return z(), pe(wt(e.tag), { class: "cds-input__label" }, {
5309
5312
  default: ie(() => [
5310
5313
  Ke("span", Sm, [
5311
5314
  Ht(at(e.text) + " ", 1),
@@ -5323,7 +5326,7 @@ const yt = /* @__PURE__ */ et(_m, [["render", $m]]), Im = "CdsInputDescription",
5323
5326
  }
5324
5327
  });
5325
5328
  function Dm(e, t, n, o, a, l) {
5326
- return H(), pe(wt(e.tag), { class: "cds-input__description" }, {
5329
+ return z(), pe(wt(e.tag), { class: "cds-input__description" }, {
5327
5330
  default: ie(() => [
5328
5331
  Ht(at(e.text) + " ", 1),
5329
5332
  X(e.$slots, "default")
@@ -5401,7 +5404,7 @@ const St = /* @__PURE__ */ et(xm, [["render", Dm]]), Em = "CdsInputCounter", dl
5401
5404
  }), Pm = { class: "cds-checkbox-group__controls" };
5402
5405
  function Fm(e, t, n, o, a, l) {
5403
5406
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-input");
5404
- return H(), pe(u, Te({
5407
+ return z(), pe(u, Te({
5405
5408
  id: e.id,
5406
5409
  class: ["cds-checkbox-group", [e.directionClasses, e.themeClasses]]
5407
5410
  }, { ...e.inputProps }), {
@@ -5409,7 +5412,7 @@ function Fm(e, t, n, o, a, l) {
5409
5412
  X(e.$slots, "messages")
5410
5413
  ]),
5411
5414
  default: ie(() => [
5412
- e.hasLabel ? (H(), pe(i, {
5415
+ e.hasLabel ? (z(), pe(i, {
5413
5416
  key: 0,
5414
5417
  text: e.label,
5415
5418
  tag: "div"
@@ -5419,7 +5422,7 @@ function Fm(e, t, n, o, a, l) {
5419
5422
  ]),
5420
5423
  _: 3
5421
5424
  }, 8, ["text"])) : ee("", !0),
5422
- e.hasDescription ? (H(), pe(r, {
5425
+ e.hasDescription ? (z(), pe(r, {
5423
5426
  key: 1,
5424
5427
  text: e.description
5425
5428
  }, {
@@ -5467,7 +5470,7 @@ const Tm = /* @__PURE__ */ et(Mm, [["render", Fm]]), Ql = "CdsCheckbox", Om = _(
5467
5470
  readonlyGroup: b,
5468
5471
  errorGroup: S,
5469
5472
  handleInputCheckbox: I
5470
- } = Ye(gu, Am), D = T(), x = v(() => s(k) || e.disabled), L = v(() => s(b) || e.readonly), P = v(() => s(S) || e.error), A = v(() => ({
5473
+ } = Ye(gu, Am), D = T(), x = v(() => s(k) || e.disabled), L = v(() => s(b) || e.readonly), P = v(() => s(S) || e.error), M = v(() => ({
5471
5474
  "cds-checkbox--disabled": s(x),
5472
5475
  "cds-checkbox--checked": s(a) || !!t.checked,
5473
5476
  "cds-checkbox--indeterminate": s(l)
@@ -5502,7 +5505,7 @@ const Tm = /* @__PURE__ */ et(Mm, [["render", Fm]]), Ql = "CdsCheckbox", Om = _(
5502
5505
  internalReadonly: L,
5503
5506
  internalError: P,
5504
5507
  isGroup: C,
5505
- checkboxClasses: A,
5508
+ checkboxClasses: M,
5506
5509
  onBlur: d,
5507
5510
  onFocus: f,
5508
5511
  onInput: E,
@@ -5513,7 +5516,7 @@ const Tm = /* @__PURE__ */ et(Mm, [["render", Fm]]), Ql = "CdsCheckbox", Om = _(
5513
5516
  const Rm = ["id", "name", "checked", "disabled", "value", "aria-disabled", "aria-checked", "aria-invalid"];
5514
5517
  function Bm(e, t, n, o, a, l) {
5515
5518
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-input");
5516
- return H(), pe(u, Te({
5519
+ return z(), pe(u, Te({
5517
5520
  id: e.id,
5518
5521
  ref: "validationRef",
5519
5522
  focused: e.isFocused,
@@ -5547,7 +5550,7 @@ function Bm(e, t, n, o, a, l) {
5547
5550
  ]),
5548
5551
  _: 3
5549
5552
  }, 8, ["for", "text"]),
5550
- e.hasDescription ? (H(), pe(r, {
5553
+ e.hasDescription ? (z(), pe(r, {
5551
5554
  key: 0,
5552
5555
  text: e.description
5553
5556
  }, {
@@ -5791,7 +5794,7 @@ const ei = "CdsListItem", Nm = _({
5791
5794
  }
5792
5795
  ), I = v(() => r.isLink.value), D = v(
5793
5796
  () => e.isClickable || !e.disabled && (r.isLink.value || e.value != null && !!a)
5794
- ), x = v(() => I.value ? r.tag.value : "div"), L = v(() => !!t.title || !!e.title), P = v(() => !!t.description || !!e.description), A = v(() => ({
5797
+ ), x = v(() => I.value ? r.tag.value : "div"), L = v(() => !!t.title || !!e.title), P = v(() => !!t.description || !!e.description), M = v(() => ({
5795
5798
  isActive: S.value,
5796
5799
  select: f,
5797
5800
  isSelected: d.value,
@@ -5812,8 +5815,8 @@ const ei = "CdsListItem", Nm = _({
5812
5815
  { immediate: !0 }
5813
5816
  );
5814
5817
  function E(w) {
5815
- var M;
5816
- n("click", w), !(m || !D.value) && ((M = r.navigate) == null || M.call(r, w), e.value != null && f(!d.value, w));
5818
+ var A;
5819
+ n("click", w), !(m || !D.value) && ((A = r.navigate) == null || A.call(r, w), e.value != null && f(!d.value, w));
5817
5820
  }
5818
5821
  function B(w) {
5819
5822
  (w.key === "Enter" || w.key === " ") && (w.preventDefault(), E(w));
@@ -5827,7 +5830,7 @@ const ei = "CdsListItem", Nm = _({
5827
5830
  internalTag: x,
5828
5831
  href: l,
5829
5832
  to: i,
5830
- slotProps: A,
5833
+ slotProps: M,
5831
5834
  hasTitle: L,
5832
5835
  hasDescription: P,
5833
5836
  hasPrepend: k,
@@ -5854,9 +5857,9 @@ const ei = "CdsListItem", Nm = _({
5854
5857
  };
5855
5858
  function Wm(e, t, n, o, a, l) {
5856
5859
  const i = ve("cds-icon");
5857
- return H(), pe(wt(e.tag), { class: "cds-list-wrapper" }, {
5860
+ return z(), pe(wt(e.tag), { class: "cds-list-wrapper" }, {
5858
5861
  default: ie(() => [
5859
- (H(), pe(wt(e.internalTag), Te({
5862
+ (z(), pe(wt(e.internalTag), Te({
5860
5863
  to: e.to,
5861
5864
  href: e.href,
5862
5865
  class: [[e.classes, e.disabledClasses], "cds-list-item"],
@@ -5866,29 +5869,29 @@ function Wm(e, t, n, o, a, l) {
5866
5869
  onKeydown: e.onKeyDown
5867
5870
  }), {
5868
5871
  default: ie(() => [
5869
- e.hasPrepend ? (H(), ne("div", zm, [
5872
+ e.hasPrepend ? (z(), ne("div", zm, [
5870
5873
  X(e.$slots, "prepend", Ft(en(e.slotProps))),
5871
- e.prependIcon ? (H(), pe(i, {
5874
+ e.prependIcon ? (z(), pe(i, {
5872
5875
  key: 0,
5873
5876
  name: e.prependIcon
5874
5877
  }, null, 8, ["name"])) : ee("", !0)
5875
5878
  ])) : ee("", !0),
5876
5879
  Ke("div", Hm, [
5877
- e.hasTitle ? (H(), ne("div", Vm, [
5880
+ e.hasTitle ? (z(), ne("div", Vm, [
5878
5881
  X(e.$slots, "title", {}, () => [
5879
5882
  Ht(at(e.title), 1)
5880
5883
  ])
5881
5884
  ])) : ee("", !0),
5882
- e.hasDescription ? (H(), ne("div", Km, [
5885
+ e.hasDescription ? (z(), ne("div", Km, [
5883
5886
  X(e.$slots, "description", {}, () => [
5884
5887
  Ht(at(e.description), 1)
5885
5888
  ])
5886
5889
  ])) : ee("", !0),
5887
5890
  X(e.$slots, "default")
5888
5891
  ]),
5889
- e.hasAppend ? (H(), ne("div", jm, [
5892
+ e.hasAppend ? (z(), ne("div", jm, [
5890
5893
  X(e.$slots, "append", Ft(en(e.slotProps))),
5891
- e.appendIcon ? (H(), pe(i, {
5894
+ e.appendIcon ? (z(), pe(i, {
5892
5895
  key: 0,
5893
5896
  name: e.appendIcon
5894
5897
  }, null, 8, ["name"])) : ee("", !0)
@@ -5973,11 +5976,11 @@ const Et = /* @__PURE__ */ et(Nm, [["render", Wm]]), Um = _({
5973
5976
  }, qm = ["aria-labelledby"], Zm = ["aria-labelledby"];
5974
5977
  function Jm(e, t, n, o, a, l) {
5975
5978
  const i = ve("cds-list-group-activator"), r = ve("cds-transition-expand");
5976
- return H(), pe(wt(e.tag), {
5979
+ return z(), pe(wt(e.tag), {
5977
5980
  class: vt(["cds-list-group", e.classes])
5978
5981
  }, {
5979
5982
  default: ie(() => [
5980
- e.title ? (H(), ne("div", Xm, [
5983
+ e.title ? (z(), ne("div", Xm, [
5981
5984
  X(e.$slots, "title"),
5982
5985
  Ht(" " + at(e.title), 1)
5983
5986
  ])) : ee("", !0),
@@ -5990,7 +5993,7 @@ function Jm(e, t, n, o, a, l) {
5990
5993
  ]),
5991
5994
  _: 3
5992
5995
  }),
5993
- e.isExpandable ? (H(), pe(r, { key: 1 }, {
5996
+ e.isExpandable ? (z(), pe(r, { key: 1 }, {
5994
5997
  default: ie(() => [
5995
5998
  kn(Ke("div", {
5996
5999
  class: "cds-list-group__items",
@@ -6003,7 +6006,7 @@ function Jm(e, t, n, o, a, l) {
6003
6006
  ])
6004
6007
  ]),
6005
6008
  _: 3
6006
- })) : (H(), ne("div", {
6009
+ })) : (z(), ne("div", {
6007
6010
  key: 2,
6008
6011
  class: "cds-list-group__items",
6009
6012
  role: "group",
@@ -6557,18 +6560,18 @@ function w0(e, t, n) {
6557
6560
  const g = (F = e.activatorEl.value) == null ? void 0 : F.getBoundingClientRect(), p = k0(e.contentEl.value), C = fo(e.contentEl.value);
6558
6561
  C.length || (C.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (p.x += parseFloat(document.documentElement.style.getPropertyValue("--cds-body-scroll-x") || "0"), p.y += parseFloat(document.documentElement.style.getPropertyValue("--cds-body-scroll-y") || "0")));
6559
6562
  const k = C.reduce((E, B) => {
6560
- const w = B.getBoundingClientRect(), M = new gn({
6563
+ const w = B.getBoundingClientRect(), A = new gn({
6561
6564
  x: B === document.documentElement ? 0 : w.x,
6562
6565
  y: B === document.documentElement ? 0 : w.y,
6563
6566
  width: B.clientWidth,
6564
6567
  height: B.clientHeight
6565
6568
  });
6566
6569
  return E ? new gn({
6567
- x: Math.max(E.left, M.left),
6568
- y: Math.max(E.top, M.top),
6569
- width: Math.min(E.right, M.right) - Math.max(E.left, M.left),
6570
- height: Math.min(E.bottom, M.bottom) - Math.max(E.top, M.top)
6571
- }) : M;
6570
+ x: Math.max(E.left, A.left),
6571
+ y: Math.max(E.top, A.top),
6572
+ width: Math.min(E.right, A.right) - Math.max(E.left, A.left),
6573
+ height: Math.min(E.bottom, A.bottom) - Math.max(E.top, A.top)
6574
+ }) : A;
6572
6575
  }, void 0);
6573
6576
  k.x += Oo, k.y += Oo, k.width -= Oo * 2, k.height -= Oo * 2;
6574
6577
  let b = {
@@ -6576,8 +6579,8 @@ function w0(e, t, n) {
6576
6579
  origin: l.value
6577
6580
  };
6578
6581
  function S(E) {
6579
- const B = new gn(p), w = oi(E.anchor, g), M = oi(E.origin, B);
6580
- let { x: z, y: V } = g0(w, M);
6582
+ const B = new gn(p), w = oi(E.anchor, g), A = oi(E.origin, B);
6583
+ let { x: H, y: V } = g0(w, A);
6581
6584
  switch (E.anchor.side) {
6582
6585
  case "top":
6583
6586
  V -= d.value[0];
@@ -6586,10 +6589,10 @@ function w0(e, t, n) {
6586
6589
  V += d.value[0];
6587
6590
  break;
6588
6591
  case "left":
6589
- z -= d.value[0];
6592
+ H -= d.value[0];
6590
6593
  break;
6591
6594
  case "right":
6592
- z += d.value[0];
6595
+ H += d.value[0];
6593
6596
  break;
6594
6597
  }
6595
6598
  switch (E.anchor.align) {
@@ -6600,13 +6603,13 @@ function w0(e, t, n) {
6600
6603
  V += d.value[1];
6601
6604
  break;
6602
6605
  case "left":
6603
- z -= d.value[1];
6606
+ H -= d.value[1];
6604
6607
  break;
6605
6608
  case "right":
6606
- z += d.value[1];
6609
+ H += d.value[1];
6607
6610
  break;
6608
6611
  }
6609
- return B.x += z, B.y += V, B.width = Math.min(B.width, u.value), B.height = Math.min(B.height, f.value), { overflows: ls(B, k), x: z, y: V };
6612
+ return B.x += H, B.y += V, B.width = Math.min(B.width, u.value), B.height = Math.min(B.height, f.value), { overflows: ls(B, k), x: H, y: V };
6610
6613
  }
6611
6614
  let I = 0, D = 0;
6612
6615
  const x = { x: 0, y: 0 }, L = { x: !1, y: !1 };
@@ -6619,33 +6622,33 @@ function w0(e, t, n) {
6619
6622
  const { x: E, y: B, overflows: w } = S(b);
6620
6623
  I += E, D += B, p.x += E, p.y += B;
6621
6624
  {
6622
- const M = ss(b.anchor), z = w.x.before || w.x.after, V = w.y.before || w.y.after;
6625
+ const A = ss(b.anchor), H = w.x.before || w.x.after, V = w.y.before || w.y.after;
6623
6626
  let K = !1;
6624
- if (["x", "y"].forEach((O) => {
6625
- if (O === "x" && z && !L.x || O === "y" && V && !L.y) {
6626
- const G = { anchor: { ...b.anchor }, origin: { ...b.origin } }, se = O === "x" ? M === "y" ? Yo : Uo : M === "y" ? Uo : Yo;
6627
+ if (["x", "y"].forEach((R) => {
6628
+ if (R === "x" && H && !L.x || R === "y" && V && !L.y) {
6629
+ const G = { anchor: { ...b.anchor }, origin: { ...b.origin } }, se = R === "x" ? A === "y" ? Yo : Uo : A === "y" ? Uo : Yo;
6627
6630
  G.anchor = se(G.anchor), G.origin = se(G.origin);
6628
6631
  const { overflows: ce } = S(G);
6629
- (ce[O].before <= w[O].before && ce[O].after <= w[O].after || ce[O].before + ce[O].after < (w[O].before + w[O].after) / 2) && (b = G, K = L[O] = !0);
6632
+ (ce[R].before <= w[R].before && ce[R].after <= w[R].after || ce[R].before + ce[R].after < (w[R].before + w[R].after) / 2) && (b = G, K = L[R] = !0);
6630
6633
  }
6631
6634
  }), K)
6632
6635
  continue;
6633
6636
  }
6634
6637
  w.x.before && (I += w.x.before, p.x += w.x.before), w.x.after && (I -= w.x.after, p.x -= w.x.after), w.y.before && (D += w.y.before, p.y += w.y.before), w.y.after && (D -= w.y.after, p.y -= w.y.after);
6635
6638
  {
6636
- const M = ls(p, k);
6637
- x.x = k.width - M.x.before - M.x.after, x.y = k.height - M.y.before - M.y.after, I += M.x.before, p.x += M.x.before, D += M.y.before, p.y += M.y.before;
6639
+ const A = ls(p, k);
6640
+ x.x = k.width - A.x.before - A.x.after, x.y = k.height - A.y.before - A.y.after, I += A.x.before, p.x += A.x.before, D += A.y.before, p.y += A.y.before;
6638
6641
  }
6639
6642
  break;
6640
6643
  }
6641
- const A = ss(b.anchor);
6644
+ const M = ss(b.anchor);
6642
6645
  return Object.assign(n.value, {
6643
6646
  "--cds-overlay-anchor-origin": `${b.anchor.side} ${b.anchor.align}`,
6644
6647
  transformOrigin: `${b.origin.side} ${b.origin.align}`,
6645
6648
  top: We(li(D)),
6646
6649
  left: We(li(I)),
6647
6650
  right: void 0,
6648
- minWidth: We(A === "y" ? Math.min(i.value, g.width) : i.value),
6651
+ minWidth: We(M === "y" ? Math.min(i.value, g.width) : i.value),
6649
6652
  maxWidth: We(
6650
6653
  ii(Bn(x.x, i.value === 1 / 0 ? 0 : i.value, u.value))
6651
6654
  ),
@@ -6832,7 +6835,7 @@ const D0 = "CdsOverlay", zn = _({
6832
6835
  );
6833
6836
  const D = T(), x = T(), { contentStyles: L, updateLocation: P } = C0(e, { contentEl: x, activatorEl: h, isActive: i });
6834
6837
  _0(e, { root: D, contentEl: x, activatorEl: h, isActive: i, updateLocation: P });
6835
- const A = v(() => ({
6838
+ const M = v(() => ({
6836
6839
  "cds-overlay--active": i.value,
6837
6840
  "cds-overlay--absolute": e.absolute || e.contained,
6838
6841
  "cds-overlay--contained": e.contained
@@ -6840,7 +6843,7 @@ const D0 = "CdsOverlay", zn = _({
6840
6843
  Me && J(
6841
6844
  i,
6842
6845
  (K) => {
6843
- K ? window.addEventListener("keydown", z) : window.removeEventListener("keydown", z);
6846
+ K ? window.addEventListener("keydown", H) : window.removeEventListener("keydown", H);
6844
6847
  },
6845
6848
  { immediate: !0 }
6846
6849
  );
@@ -6849,8 +6852,8 @@ const D0 = "CdsOverlay", zn = _({
6849
6852
  () => i.value && (e.absolute || e.contained) && r.value == null,
6850
6853
  (K) => {
6851
6854
  if (K) {
6852
- const O = yr(D.value);
6853
- O && O !== document.scrollingElement && (E.value = O.scrollTop);
6855
+ const R = yr(D.value);
6856
+ R && R !== document.scrollingElement && (E.value = R.scrollTop);
6854
6857
  }
6855
6858
  }
6856
6859
  );
@@ -6866,10 +6869,10 @@ const D0 = "CdsOverlay", zn = _({
6866
6869
  function w(K) {
6867
6870
  n("click:outside", K), e.persistent ? V() : i.value = !1;
6868
6871
  }
6869
- function M() {
6872
+ function A() {
6870
6873
  return i.value && d.value;
6871
6874
  }
6872
- function z(K) {
6875
+ function H(K) {
6873
6876
  K.key === "Escape" && d.value && (e.persistent ? V() : i.value = !1);
6874
6877
  }
6875
6878
  function V() {
@@ -6896,7 +6899,7 @@ const D0 = "CdsOverlay", zn = _({
6896
6899
  {
6897
6900
  ref: D,
6898
6901
  ...t,
6899
- class: ["cds-overlay", A.value, t.class],
6902
+ class: ["cds-overlay", M.value, t.class],
6900
6903
  style: F.value,
6901
6904
  ...I
6902
6905
  },
@@ -6914,7 +6917,7 @@ const D0 = "CdsOverlay", zn = _({
6914
6917
  },
6915
6918
  {
6916
6919
  default: () => {
6917
- var O;
6920
+ var R;
6918
6921
  return kn(
6919
6922
  y(
6920
6923
  "div",
@@ -6925,13 +6928,13 @@ const D0 = "CdsOverlay", zn = _({
6925
6928
  ...xa(C.value),
6926
6929
  ...e.contentProps
6927
6930
  },
6928
- (O = o.default) == null ? void 0 : O.call(o, { isActive: i })
6931
+ (R = o.default) == null ? void 0 : R.call(o, { isActive: i })
6929
6932
  ),
6930
6933
  [
6931
6934
  [ia, i.value],
6932
6935
  [
6933
6936
  fs,
6934
- { handler: w, closeConditional: M, include: () => [h.value] }
6937
+ { handler: w, closeConditional: A, include: () => [h.value] }
6935
6938
  ]
6936
6939
  ]
6937
6940
  );
@@ -7080,7 +7083,7 @@ const M0 = ["aria-valuetext", "aria-label"], P0 = /* @__PURE__ */ Ke("svg", { vi
7080
7083
  P0
7081
7084
  ];
7082
7085
  function T0(e, t, n, o, a, l) {
7083
- return H(), ne("div", {
7086
+ return z(), ne("div", {
7084
7087
  class: vt(["", [e.loaderClasses, e.themeClasses]])
7085
7088
  }, [
7086
7089
  Ke("div", Te({
@@ -7127,10 +7130,10 @@ const un = /* @__PURE__ */ et(A0, [["render", T0]]), Qn = "CdsTextInput", O0 = _
7127
7130
  fieldProps: I,
7128
7131
  handleClickAppendInner: D,
7129
7132
  handleClickPrependInner: x
7130
- } = Co(e, o, Qn), { inputProps: L } = ln(e, [...I, "modelValue", "focused", "loading", "theme"]), { rootAttrs: P, inputAttrs: A } = jn(t), F = v(() => e.clearable), E = v(() => {
7133
+ } = Co(e, o, Qn), { inputProps: L } = ln(e, [...I, "modelValue", "focused", "loading", "theme"]), { rootAttrs: P, inputAttrs: M } = jn(t), F = v(() => e.clearable), E = v(() => {
7131
7134
  var le;
7132
7135
  return ((le = s(l)) != null ? le : "").toString().length;
7133
- }), { themeClasses: B } = Pe(e), w = T(), M = T(), z = T(), V = v(() => ({
7136
+ }), { themeClasses: B } = Pe(e), w = T(), A = T(), H = T(), V = v(() => ({
7134
7137
  "cds-text-input--has-prefix": !!e.prefix,
7135
7138
  "cds-text-input--has-suffix": !!e.suffix
7136
7139
  }));
@@ -7144,36 +7147,36 @@ const un = /* @__PURE__ */ et(A0, [["render", T0]]), Qn = "CdsTextInput", O0 = _
7144
7147
  function K(le) {
7145
7148
  l.value = le.target.value;
7146
7149
  }
7147
- function O() {
7150
+ function R() {
7148
7151
  var le;
7149
- s(M) !== document.activeElement && ((le = s(M)) == null || le.focus()), s(g) || p();
7152
+ s(A) !== document.activeElement && ((le = s(A)) == null || le.focus()), s(g) || p();
7150
7153
  }
7151
7154
  function G(le) {
7152
- le.stopPropagation(), O(), Je(() => {
7155
+ le.stopPropagation(), R(), Je(() => {
7153
7156
  l.value = null, n("click:clear", le);
7154
7157
  });
7155
7158
  }
7156
7159
  function se(le) {
7157
- n("mousedown:control", le), le.target !== s(M) && (O(), le.preventDefault());
7160
+ n("mousedown:control", le), le.target !== s(A) && (R(), le.preventDefault());
7158
7161
  }
7159
7162
  function ce(le) {
7160
- O(), n("click:control", le);
7163
+ R(), n("click:control", le);
7161
7164
  }
7162
7165
  return a({
7163
7166
  fieldRef: w,
7164
- inputRef: M,
7165
- validationRef: z,
7166
- focus: O,
7167
+ inputRef: A,
7168
+ validationRef: H,
7169
+ focus: R,
7167
7170
  blur: C
7168
7171
  }), {
7169
7172
  id: i,
7170
7173
  model: l,
7171
7174
  fieldRef: w,
7172
- inputRef: M,
7173
- validationRef: z,
7175
+ inputRef: A,
7176
+ validationRef: H,
7174
7177
  isFocused: g,
7175
7178
  rootAttrs: P,
7176
- inputAttrs: A,
7179
+ inputAttrs: M,
7177
7180
  inputProps: L,
7178
7181
  hasLabel: r,
7179
7182
  hasDescription: u,
@@ -7191,7 +7194,7 @@ const un = /* @__PURE__ */ et(A0, [["render", T0]]), Qn = "CdsTextInput", O0 = _
7191
7194
  loadingClasses: h,
7192
7195
  classesStates: mt,
7193
7196
  onBlur: C,
7194
- onFocus: O,
7197
+ onFocus: R,
7195
7198
  onInput: K,
7196
7199
  onClear: G,
7197
7200
  onControlClick: ce,
@@ -7210,11 +7213,11 @@ const R0 = {
7210
7213
  };
7211
7214
  function N0(e, t, n, o, a, l) {
7212
7215
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-icon"), f = ve("cds-loader"), d = ve("cds-transition"), c = ve("cds-input"), m = ve("cds-input-counter");
7213
- return H(), ne("div", Te({
7216
+ return z(), ne("div", Te({
7214
7217
  ref: "fieldRef",
7215
7218
  class: ["cds-text-field", e.themeClasses]
7216
7219
  }, e.rootAttrs), [
7217
- e.hasLabel ? (H(), pe(i, {
7220
+ e.hasLabel ? (z(), pe(i, {
7218
7221
  key: 0,
7219
7222
  for: e.id,
7220
7223
  text: e.label
@@ -7224,7 +7227,7 @@ function N0(e, t, n, o, a, l) {
7224
7227
  ]),
7225
7228
  _: 3
7226
7229
  }, 8, ["for", "text"])) : ee("", !0),
7227
- e.hasDescription ? (H(), pe(r, {
7230
+ e.hasDescription ? (z(), pe(r, {
7228
7231
  key: 1,
7229
7232
  text: e.description
7230
7233
  }, {
@@ -7245,19 +7248,19 @@ function N0(e, t, n, o, a, l) {
7245
7248
  "onMousedown:control": e.onControlMousedown
7246
7249
  }), Cn({
7247
7250
  default: ie(({ isDisabled: h, isReadonly: g, isValid: p }) => [
7248
- e.hasPrependInnerIcon ? (H(), ne("div", {
7251
+ e.hasPrependInnerIcon ? (z(), ne("div", {
7249
7252
  key: 0,
7250
7253
  class: "cds-text-input__prepend-inner",
7251
7254
  onClick: t[0] || (t[0] = (...C) => e.handleClickPrependInner && e.handleClickPrependInner(...C))
7252
7255
  }, [
7253
7256
  X(e.$slots, "prepend-inner"),
7254
- e.prependInnerIcon ? (H(), pe(u, {
7257
+ e.prependInnerIcon ? (z(), pe(u, {
7255
7258
  key: 0,
7256
7259
  name: e.prependInnerIcon,
7257
7260
  size: e.size
7258
7261
  }, null, 8, ["name", "size"])) : ee("", !0)
7259
7262
  ])) : ee("", !0),
7260
- e.prefix ? (H(), ne("span", {
7263
+ e.prefix ? (z(), ne("span", {
7261
7264
  key: 1,
7262
7265
  class: "cds-text-input__prefix",
7263
7266
  onClick: t[1] || (t[1] = (...C) => e.onFocus && e.onFocus(...C))
@@ -7282,7 +7285,7 @@ function N0(e, t, n, o, a, l) {
7282
7285
  onBlur: t[4] || (t[4] = (...C) => e.onBlur && e.onBlur(...C))
7283
7286
  }), null, 16, B0)
7284
7287
  ]),
7285
- e.hasClear && !e.hasLoading ? (H(), ne("div", L0, [
7288
+ e.hasClear && !e.hasLoading ? (z(), ne("div", L0, [
7286
7289
  Ke("button", {
7287
7290
  type: "button",
7288
7291
  title: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430",
@@ -7295,17 +7298,17 @@ function N0(e, t, n, o, a, l) {
7295
7298
  }, null, 8, ["size"])
7296
7299
  ], 2)
7297
7300
  ])) : ee("", !0),
7298
- e.suffix ? (H(), ne("span", {
7301
+ e.suffix ? (z(), ne("span", {
7299
7302
  key: 3,
7300
7303
  class: "cds-text-input__suffix",
7301
7304
  onClick: t[6] || (t[6] = (...C) => e.onFocus && e.onFocus(...C))
7302
7305
  }, at(e.suffix), 1)) : ee("", !0),
7303
- e.hasAppendInnerIcon || e.hasLoading ? (H(), ne("div", {
7306
+ e.hasAppendInnerIcon || e.hasLoading ? (z(), ne("div", {
7304
7307
  key: 4,
7305
7308
  class: "cds-text-input__append-inner",
7306
7309
  onClick: t[7] || (t[7] = (...C) => e.handleClickAppendInner && e.handleClickAppendInner(...C))
7307
7310
  }, [
7308
- e.hasLoading ? (H(), pe(d, {
7311
+ e.hasLoading ? (z(), pe(d, {
7309
7312
  key: 0,
7310
7313
  transition: "fade-transition",
7311
7314
  role: "alert",
@@ -7320,7 +7323,7 @@ function N0(e, t, n, o, a, l) {
7320
7323
  _: 1
7321
7324
  })) : ee("", !0),
7322
7325
  X(e.$slots, "append-inner"),
7323
- e.appendInnerIcon ? (H(), pe(u, {
7326
+ e.appendInnerIcon ? (z(), pe(u, {
7324
7327
  key: 1,
7325
7328
  name: e.appendInnerIcon,
7326
7329
  size: e.size
@@ -7347,7 +7350,7 @@ function N0(e, t, n, o, a, l) {
7347
7350
  key: "1"
7348
7351
  } : void 0
7349
7352
  ]), 1040, ["id", "modelValue", "focused", "class", "onClick:control", "onMousedown:control"]),
7350
- e.counter || e.limit ? (H(), pe(m, {
7353
+ e.counter || e.limit ? (z(), pe(m, {
7351
7354
  key: 2,
7352
7355
  current: e.counterValue,
7353
7356
  max: e.limit
@@ -7405,18 +7408,18 @@ const on = /* @__PURE__ */ et(O0, [["render", N0]]), ui = "CdsAutocomplete", z0
7405
7408
  u,
7406
7409
  f,
7407
7410
  d
7408
- ), C = qe(e, "search", ""), k = ha(), b = Le(!0), S = Le(!1), I = Le(-1), D = T(), x = T(), { onListKeydown: L, onListScroll: P } = fu(x, D), { filteredItems: A, getMatches: F } = Zr(e, u, () => s(b) ? "" : s(C)), E = v(() => e.hideSelected ? s(A).filter(
7411
+ ), C = qe(e, "search", ""), k = ha(), b = Le(!0), S = Le(!1), I = Le(-1), D = T(), x = T(), { onListKeydown: L, onListScroll: P } = fu(x, D), { filteredItems: M, getMatches: F } = Zr(e, u, () => s(b) ? "" : s(C)), E = v(() => e.hideSelected ? s(M).filter(
7409
7412
  (re) => !s(c).some((we) => we.value === re.value)
7410
- ) : s(A)), B = v(() => {
7413
+ ) : s(M)), B = v(() => {
7411
7414
  var we;
7412
7415
  return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && s(C) === ((we = s(E)[0]) == null ? void 0 : we.title)) && s(E).length > 0 && !s(b) && !s(S);
7413
7416
  }), w = v(
7414
7417
  () => e.hideNoData && !s(u).length || e.readonly || s(k == null ? void 0 : k.isReadonly)
7415
7418
  );
7416
- function M(re) {
7419
+ function A(re) {
7417
7420
  e.openOnClear && (i.value = !0), C.value = "";
7418
7421
  }
7419
- function z() {
7422
+ function H() {
7420
7423
  s(w) || (i.value = !0);
7421
7424
  }
7422
7425
  function V(re) {
@@ -7450,7 +7453,7 @@ const on = /* @__PURE__ */ et(O0, [["render", N0]]), ui = "CdsAutocomplete", z0
7450
7453
  }
7451
7454
  }
7452
7455
  }
7453
- function O(re) {
7456
+ function R(re) {
7454
7457
  C.value = re.target.value;
7455
7458
  }
7456
7459
  function G(re) {
@@ -7523,11 +7526,11 @@ const on = /* @__PURE__ */ et(O0, [["render", N0]]), ui = "CdsAutocomplete", z0
7523
7526
  "cds-autocomplete--selection-slot": !!t.selection,
7524
7527
  "cds-autocomplete--selecting-index": s(I) > -1
7525
7528
  }),
7526
- onInput: O,
7529
+ onInput: R,
7527
7530
  onChange: G,
7528
7531
  onKeydown: K,
7529
- "onClick:clear": M,
7530
- "onMousedown:control": z
7532
+ "onClick:clear": A,
7533
+ "onMousedown:control": H
7531
7534
  },
7532
7535
  {
7533
7536
  ...t,
@@ -7665,7 +7668,7 @@ const on = /* @__PURE__ */ et(O0, [["render", N0]]), ui = "CdsAutocomplete", z0
7665
7668
  isFocused: l,
7666
7669
  isPure: b,
7667
7670
  menu: i,
7668
- filteredItems: A,
7671
+ filteredItems: M,
7669
7672
  select: q,
7670
7673
  selectAll: ye,
7671
7674
  menuRef: r,
@@ -7725,7 +7728,7 @@ const V0 = "CdsLink", K0 = _({
7725
7728
  }
7726
7729
  });
7727
7730
  function j0(e, t, n, o, a, l) {
7728
- return H(), pe(wt(e.tag), {
7731
+ return z(), pe(wt(e.tag), {
7729
7732
  to: e.to,
7730
7733
  href: e.href,
7731
7734
  class: vt([[e.disabledClasses, e.themeClasses], "cds-link"]),
@@ -7847,7 +7850,7 @@ const G0 = Symbol.for("cds:button-toggle"), eo = "CdsButton", X0 = _({
7847
7850
  return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
7848
7851
  }), x = v(() => e.active !== void 0 ? e.active : s(c) ? s(m) : s(b == null ? void 0 : b.isSelected)), L = v(() => ({
7849
7852
  "cds-button__icon": !!e.icon
7850
- })), P = v(() => typeof e.icon != "boolean" ? e.icon : void 0), A = v(
7853
+ })), P = v(() => typeof e.icon != "boolean" ? e.icon : void 0), M = v(
7851
7854
  () => Q(
7852
7855
  {
7853
7856
  ["cds-button--active"]: s(x),
@@ -7880,7 +7883,7 @@ const G0 = Symbol.for("cds:button-toggle"), eo = "CdsButton", X0 = _({
7880
7883
  hasAppend: C,
7881
7884
  hasDefaultSlot: S,
7882
7885
  isDisabled: I,
7883
- classes: A,
7886
+ classes: M,
7884
7887
  onClick: F
7885
7888
  };
7886
7889
  }
@@ -7898,7 +7901,7 @@ const q0 = {
7898
7901
  };
7899
7902
  function Q0(e, t, n, o, a, l) {
7900
7903
  const i = ve("cds-icon"), r = ve("cds-loader");
7901
- return H(), pe(wt(e.tag), {
7904
+ return z(), pe(wt(e.tag), {
7902
7905
  type: e.type,
7903
7906
  to: e.to,
7904
7907
  href: e.href,
@@ -7908,28 +7911,28 @@ function Q0(e, t, n, o, a, l) {
7908
7911
  onClick: e.onClick
7909
7912
  }, {
7910
7913
  default: ie(() => [
7911
- e.hasPrepend || !!e.icon ? (H(), ne("span", q0, [
7912
- e.prependIcon || !!e.internalIcon ? (H(), pe(i, {
7914
+ e.hasPrepend || !!e.icon ? (z(), ne("span", q0, [
7915
+ e.prependIcon || !!e.internalIcon ? (z(), pe(i, {
7913
7916
  key: 0,
7914
7917
  name: e.prependIcon || e.internalIcon,
7915
7918
  size: e.size
7916
7919
  }, null, 8, ["name", "size"])) : ee("", !0),
7917
7920
  X(e.$slots, "prepend")
7918
7921
  ])) : ee("", !0),
7919
- e.hasDefaultSlot || !!e.text ? (H(), ne("span", Z0, [
7920
- e.text ? (H(), ne(Ve, { key: 0 }, [
7922
+ e.hasDefaultSlot || !!e.text ? (z(), ne("span", Z0, [
7923
+ e.text ? (z(), ne(Ve, { key: 0 }, [
7921
7924
  Ht(at(e.text), 1)
7922
7925
  ], 64)) : X(e.$slots, "default", { key: 1 })
7923
7926
  ])) : ee("", !0),
7924
- e.hasAppend ? (H(), ne("span", J0, [
7925
- e.appendIcon ? (H(), pe(i, {
7927
+ e.hasAppend ? (z(), ne("span", J0, [
7928
+ e.appendIcon ? (z(), pe(i, {
7926
7929
  key: 0,
7927
7930
  name: e.appendIcon,
7928
7931
  size: e.size
7929
7932
  }, null, 8, ["name", "size"])) : ee("", !0),
7930
7933
  X(e.$slots, "append")
7931
7934
  ])) : ee("", !0),
7932
- e.loading ? (H(), pe(r, {
7935
+ e.loading ? (z(), pe(r, {
7933
7936
  key: 3,
7934
7937
  size: "xs",
7935
7938
  fixed: ""
@@ -7987,19 +7990,19 @@ const th = {
7987
7990
  }, nh = ["disabled"];
7988
7991
  function oh(e, t, n, o, a, l) {
7989
7992
  const i = ve("cds-icon");
7990
- return H(), pe(wt(e.tag), {
7993
+ return z(), pe(wt(e.tag), {
7991
7994
  to: e.to,
7992
7995
  href: e.href,
7993
7996
  class: vt(["cds-tag", [e.tagClasses, e.sizeClasses, e.disabledClasses, e.colorClasses, e.themeClasses]])
7994
7997
  }, {
7995
7998
  default: ie(() => [
7996
7999
  Ke("span", th, [
7997
- e.text ? (H(), ne(Ve, { key: 0 }, [
8000
+ e.text ? (z(), ne(Ve, { key: 0 }, [
7998
8001
  Ht(at(e.text), 1)
7999
8002
  ], 64)) : X(e.$slots, "text", { key: 1 })
8000
8003
  ]),
8001
8004
  X(e.$slots, "default"),
8002
- e.removable ? (H(), ne("button", {
8005
+ e.removable ? (z(), ne("button", {
8003
8006
  key: 0,
8004
8007
  "aria-label": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
8005
8008
  type: "button",
@@ -8071,7 +8074,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8071
8074
  m,
8072
8075
  h,
8073
8076
  g
8074
- ), L = ha(), P = T(-1), A = Le(!0), F = Le(!1);
8077
+ ), L = ha(), P = T(-1), M = Le(!0), F = Le(!1);
8075
8078
  let E = !1;
8076
8079
  const B = T(e.multiple ? "" : (U = (N = s(k)[0]) == null ? void 0 : N.title) != null ? U : ""), w = v({
8077
8080
  get: () => s(B),
@@ -8083,7 +8086,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8083
8086
  Fe = Fe.trim(), Fe && Y(Jt(e, Fe));
8084
8087
  }), B.value = "");
8085
8088
  }
8086
- j || (P.value = -1), A.value = !j;
8089
+ j || (P.value = -1), M.value = !j;
8087
8090
  }
8088
8091
  });
8089
8092
  J(B, (j) => {
@@ -8092,12 +8095,12 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8092
8095
  var be, Se;
8093
8096
  e.multiple || (B.value = (Se = (be = j[0]) == null ? void 0 : be.title) != null ? Se : "");
8094
8097
  });
8095
- const { filteredItems: M, getMatches: z } = Zr(e, m, () => s(A) ? "" : s(w)), V = v(() => e.hideSelected ? s(M).filter(
8098
+ const { filteredItems: A, getMatches: H } = Zr(e, m, () => s(M) ? "" : s(w)), V = v(() => e.hideSelected ? s(A).filter(
8096
8099
  (j) => !s(b).some((be) => be.value === j.value)
8097
- ) : s(M)), K = v(() => {
8100
+ ) : s(A)), K = v(() => {
8098
8101
  var be;
8099
- return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && s(w) === ((be = s(V)[0]) == null ? void 0 : be.title)) && V.value.length > 0 && !s(A) && !F.value;
8100
- }), O = v(() => !e.hideNoData && !s(V).length), G = v(() => s(b)[s(P)]), se = v(() => s(k).length > 0), ce = v(() => k.externalValue), le = v(() => ({
8102
+ return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && s(w) === ((be = s(V)[0]) == null ? void 0 : be.title)) && V.value.length > 0 && !s(M) && !F.value;
8103
+ }), R = v(() => !e.hideNoData && !s(V).length), G = v(() => s(b)[s(P)]), se = v(() => s(k).length > 0), ce = v(() => k.externalValue), le = v(() => ({
8101
8104
  "cds-combobox--active-menu": s(p),
8102
8105
  "cds-combobox--selected": s(k).length,
8103
8106
  "cds-combobox--selecting-index": s(P) > -1,
@@ -8115,7 +8118,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8115
8118
  ), re = v(() => !!n.selection), we = v(
8116
8119
  () => e.hideNoData && !s(m).length || e.readonly || s(L == null ? void 0 : L.isReadonly)
8117
8120
  );
8118
- J(M, (j) => {
8121
+ J(A, (j) => {
8119
8122
  !j.length && e.hideNoData && (p.value = !1);
8120
8123
  }), J(d, (j, be) => {
8121
8124
  if (!(j || j === be)) {
@@ -8152,7 +8155,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8152
8155
  w.value = "";
8153
8156
  } else
8154
8157
  k.value = [j], B.value = j.title, Je(() => {
8155
- p.value = !1, A.value = !0;
8158
+ p.value = !1, M.value = !0;
8156
8159
  });
8157
8160
  }
8158
8161
  function W() {
@@ -8171,14 +8174,14 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8171
8174
  }
8172
8175
  function de() {
8173
8176
  var j;
8174
- s(d) && (A.value = !0, (j = s(ke)) == null || j.focus());
8177
+ s(d) && (M.value = !0, (j = s(ke)) == null || j.focus());
8175
8178
  }
8176
8179
  function ge(j) {
8177
8180
  var Fe, ze, Z, ae, he;
8178
8181
  if (e.readonly || s(L == null ? void 0 : L.isReadonly))
8179
8182
  return;
8180
8183
  const be = (Fe = s(ke)) == null ? void 0 : Fe.selectionStart, Se = s(S).length;
8181
- if ((s(P) > -1 || [ue.up, ue.down, ue.enter, ue.home, ue.end].includes(j.key)) && j.preventDefault(), [ue.enter, ue.down].includes(j.key) && (p.value = !0), [ue.esc].includes(j.key) && (p.value = !1), [ue.enter, ue.esc, ue.tab].includes(j.key) && (A.value = !0), j.key === ue.down ? (ze = s(q)) == null || ze.focus("next") : j.key === ue.up ? (Z = s(q)) == null || Z.focus("prev") : j.key === ue.home ? (ae = s(q)) == null || ae.focus("first") : j.key === ue.end && ((he = s(q)) == null || he.focus("last")), !!e.multiple) {
8184
+ if ((s(P) > -1 || [ue.up, ue.down, ue.enter, ue.home, ue.end].includes(j.key)) && j.preventDefault(), [ue.enter, ue.down].includes(j.key) && (p.value = !0), [ue.esc].includes(j.key) && (p.value = !1), [ue.enter, ue.esc, ue.tab].includes(j.key) && (M.value = !0), j.key === ue.down ? (ze = s(q)) == null || ze.focus("next") : j.key === ue.up ? (Z = s(q)) == null || Z.focus("prev") : j.key === ue.home ? (ae = s(q)) == null || ae.focus("first") : j.key === ue.end && ((he = s(q)) == null || he.focus("last")), !!e.multiple) {
8182
8185
  if ([ue.backspace, ue.delete].includes(j.key)) {
8183
8186
  if (s(P) < 0) {
8184
8187
  j.key === ue.backspace && !s(w) && (P.value = Se - 1);
@@ -8216,9 +8219,9 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8216
8219
  }
8217
8220
  return o({
8218
8221
  isFocused: d,
8219
- isPure: A,
8222
+ isPure: M,
8220
8223
  menu: p,
8221
- filteredItems: M,
8224
+ filteredItems: A,
8222
8225
  select: Y,
8223
8226
  selectAll: W,
8224
8227
  menuRef: C,
@@ -8238,7 +8241,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8238
8241
  selectedIndeterminate: x,
8239
8242
  isFocused: d,
8240
8243
  isDirty: se,
8241
- isPure: A,
8244
+ isPure: M,
8242
8245
  inputRef: ke,
8243
8246
  menuRef: C,
8244
8247
  listRef: q,
@@ -8250,7 +8253,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8250
8253
  hasPrepend: f,
8251
8254
  hasAppend: u,
8252
8255
  hasPrependInnerIcon: r,
8253
- hasNoDataItem: O,
8256
+ hasNoDataItem: R,
8254
8257
  comboboxClasses: le,
8255
8258
  comboboxLocale: a,
8256
8259
  noop: Nt,
@@ -8267,7 +8270,7 @@ const hl = /* @__PURE__ */ et(eh, [["render", oh]]), to = "CdsCombobox", ah = _(
8267
8270
  onInputModelValue: Ge,
8268
8271
  onListKeydown: Ae,
8269
8272
  onListScroll: ye,
8270
- getMatches: z
8273
+ getMatches: H
8271
8274
  };
8272
8275
  }
8273
8276
  });
@@ -8277,7 +8280,7 @@ const sh = { class: "cds-combobox__selection--text" }, lh = {
8277
8280
  };
8278
8281
  function ih(e, t, n, o, a, l) {
8279
8282
  const i = ve("cds-list-item"), r = ve("cds-checkbox"), u = ve("cds-highlight"), f = ve("cds-list"), d = ve("cds-menu"), c = ve("cds-tag"), m = ve("cds-icon"), h = ve("cds-text-input");
8280
- return H(), pe(h, Te({
8283
+ return z(), pe(h, Te({
8281
8284
  ref: "inputRef",
8282
8285
  modelValue: e.search,
8283
8286
  "onUpdate:modelValue": t[3] || (t[3] = (g) => e.search = g),
@@ -8297,7 +8300,7 @@ function ih(e, t, n, o, a, l) {
8297
8300
  }), Cn({
8298
8301
  "append-inner": ie(() => [
8299
8302
  X(e.$slots, "append-inner"),
8300
- e.hasList ? (H(), pe(m, {
8303
+ e.hasList ? (z(), pe(m, {
8301
8304
  key: 0,
8302
8305
  name: e.menuIcon,
8303
8306
  class: "cds-combobox__menu-icon",
@@ -8324,7 +8327,7 @@ function ih(e, t, n, o, a, l) {
8324
8327
  "content-classes": "cds-combobox__content"
8325
8328
  }, e.menuProps, { onAfterLeave: e.onAfterLeave }), {
8326
8329
  default: ie(() => [
8327
- e.hasList ? (H(), pe(f, Te({
8330
+ e.hasList ? (z(), pe(f, Te({
8328
8331
  key: 0,
8329
8332
  ref: "listRef",
8330
8333
  selected: e.selected,
@@ -8345,7 +8348,7 @@ function ih(e, t, n, o, a, l) {
8345
8348
  }, null, 8, ["title"])
8346
8349
  ]) : ee("", !0),
8347
8350
  X(e.$slots, "prepend-item", {}, () => [
8348
- e.multiple && e.isSelectAll ? (H(), pe(i, {
8351
+ e.multiple && e.isSelectAll ? (z(), pe(i, {
8349
8352
  key: 0,
8350
8353
  "is-clickable": "",
8351
8354
  title: e.comboboxLocale.selectAll,
@@ -8364,7 +8367,7 @@ function ih(e, t, n, o, a, l) {
8364
8367
  _: 1
8365
8368
  }, 8, ["title", "onClick"])) : ee("", !0)
8366
8369
  ]),
8367
- (H(!0), ne(Ve, null, nn(e.displayItems, (g, p) => X(e.$slots, "item", Ft(Te({ key: p }, { item: g, index: p, props: e.mergeItemProps(g) })), () => [
8370
+ (z(!0), ne(Ve, null, nn(e.displayItems, (g, p) => X(e.$slots, "item", Ft(Te({ key: p }, { item: g, index: p, props: e.mergeItemProps(g) })), () => [
8368
8371
  Ze(i, Te({ disabled: e.readonly }, g.props, {
8369
8372
  onClick: (C) => e.select(g)
8370
8373
  }), Cn({
@@ -8402,13 +8405,13 @@ function ih(e, t, n, o, a, l) {
8402
8405
  ]),
8403
8406
  _: 3
8404
8407
  }, 16, ["modelValue", "eager", "max-height", "disabled", "transition", "onAfterLeave"]),
8405
- (H(!0), ne(Ve, null, nn(e.selections, (g, p) => (H(), ne("div", {
8408
+ (z(!0), ne(Ve, null, nn(e.selections, (g, p) => (z(), ne("div", {
8406
8409
  key: g.value,
8407
8410
  class: vt(["cds-combobox__selection", { "cds-combobox__selection--selected": p === e.selectionIndex }])
8408
8411
  }, [
8409
8412
  X(e.$slots, "selection", Ft(en({ item: g, index: p })), () => [
8410
8413
  Ke("span", sh, at(g.title), 1),
8411
- e.multiple && p < e.selections.length - 1 ? (H(), ne("span", lh, ",")) : ee("", !0)
8414
+ e.multiple && p < e.selections.length - 1 ? (z(), ne("span", lh, ",")) : ee("", !0)
8412
8415
  ])
8413
8416
  ], 2))), 128))
8414
8417
  ]),
@@ -8440,7 +8443,7 @@ function ih(e, t, n, o, a, l) {
8440
8443
  e.hasPrependInnerIcon || e.counter && e.multiple ? {
8441
8444
  name: "prepend-inner",
8442
8445
  fn: ie(() => [
8443
- e.selected.length > 0 ? (H(), pe(c, {
8446
+ e.selected.length > 0 ? (z(), pe(c, {
8444
8447
  key: 0,
8445
8448
  text: `${e.selected.length}`
8446
8449
  }, null, 8, ["text"])) : ee("", !0),
@@ -8489,12 +8492,12 @@ const rh = /* @__PURE__ */ et(ah, [["render", ih]]), Au = Symbol.for("cds:contai
8489
8492
  },
8490
8493
  setup(e, { slots: t, expose: n }) {
8491
8494
  const o = va(e, Mu), { themeClasses: a } = Pe(e), { appearanceClasses: l } = ma(e, Ra), { disabledClasses: i } = _n(e), { directionClasses: r } = tl(e, Ra), { container: u } = qt(e), { onlySingle: f, multiple: d } = tn(e), c = T(), m = Le(!1), h = v(() => {
8492
- const P = e.direction === "vertical" ? "y" : "x", A = s(m) ? "-reverse" : "";
8493
- return `cds-container-${P}${A}-transition`;
8495
+ const P = e.direction === "vertical" ? "y" : "x", M = s(m) ? "-reverse" : "";
8496
+ return `cds-container-${P}${M}-transition`;
8494
8497
  }), g = Le(0), p = T(void 0), C = v(() => s(o.items).findIndex((P) => s(o.selected).includes(P.id)));
8495
- J(C, (P, A) => {
8498
+ J(C, (P, M) => {
8496
8499
  const F = s(o.items).length, E = F - 1;
8497
- F <= 2 ? m.value = P < A : P === E && A === 0 ? m.value = !0 : P === 0 && A === E ? m.value = !1 : m.value = P < A;
8500
+ F <= 2 ? m.value = P < M : P === E && M === 0 ? m.value = !0 : P === 0 && M === E ? m.value = !1 : m.value = P < M;
8498
8501
  }), uh({
8499
8502
  transition: h,
8500
8503
  rootRef: c,
@@ -8512,16 +8515,16 @@ const rh = /* @__PURE__ */ et(ah, [["render", ih]]), Au = Symbol.for("cds:contai
8512
8515
  s(S) && o.next();
8513
8516
  }
8514
8517
  const x = v(() => {
8515
- const P = [], A = {
8518
+ const P = [], M = {
8516
8519
  icon: e.prependIcon,
8517
8520
  class: "cds-container__arrow-left",
8518
8521
  onClick: o.prev,
8519
8522
  ariaLabel: u.prev
8520
8523
  };
8521
8524
  P.push(
8522
- s(b) ? t.prev ? t.prev({ props: A }) : y(Be, {
8525
+ s(b) ? t.prev ? t.prev({ props: M }) : y(Be, {
8523
8526
  appearance: "transparent",
8524
- ...A
8527
+ ...M
8525
8528
  }) : y("div")
8526
8529
  );
8527
8530
  const F = {
@@ -8537,8 +8540,8 @@ const rh = /* @__PURE__ */ et(ah, [["render", ih]]), Au = Symbol.for("cds:contai
8537
8540
  ...{
8538
8541
  left: D,
8539
8542
  right: I,
8540
- start: ({ originalEvent: A }) => {
8541
- A.stopPropagation();
8543
+ start: ({ originalEvent: M }) => {
8544
+ M.stopPropagation();
8542
8545
  }
8543
8546
  },
8544
8547
  ...e.touch === !0 ? {} : e.touch
@@ -8727,15 +8730,15 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8727
8730
  "update:modelValue": (e) => !0
8728
8731
  },
8729
8732
  setup(e, { slots: t }) {
8730
- const { mobile: n } = rn(), o = va(e, e.symbol), a = Le(!1), l = Le(0), i = Le(0), r = Le(0), u = v(() => e.direction === "horizontal"), { resizeRef: f, contentRect: d } = rs(), { resizeRef: c, contentRect: m } = rs(), h = v(() => s(o.selected).length ? s(o.items).findIndex((O) => O.id === s(o.selected)[0]) : -1), g = v(() => s(o.selected).length ? s(o.items).findIndex(
8731
- (O) => O.id === s(o.selected)[s(o.selected).length - 1]
8733
+ const { mobile: n } = rn(), o = va(e, e.symbol), a = Le(!1), l = Le(0), i = Le(0), r = Le(0), u = v(() => e.direction === "horizontal"), { resizeRef: f, contentRect: d } = rs(), { resizeRef: c, contentRect: m } = rs(), h = v(() => s(o.selected).length ? s(o.items).findIndex((R) => R.id === s(o.selected)[0]) : -1), g = v(() => s(o.selected).length ? s(o.items).findIndex(
8734
+ (R) => R.id === s(o.selected)[s(o.selected).length - 1]
8732
8735
  ) : -1);
8733
8736
  if (Me) {
8734
- let O = -1;
8737
+ let R = -1;
8735
8738
  J(
8736
8739
  () => [s(o.selected), s(d), s(m), s(u)],
8737
8740
  () => {
8738
- cancelAnimationFrame(O), O = requestAnimationFrame(() => {
8741
+ cancelAnimationFrame(R), R = requestAnimationFrame(() => {
8739
8742
  var G;
8740
8743
  if (s(d) && s(m)) {
8741
8744
  const se = s(u) ? "width" : "height";
@@ -8762,17 +8765,17 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8762
8765
  }
8763
8766
  const p = Le(!1);
8764
8767
  let C = 0, k = 0;
8765
- function b(O) {
8768
+ function b(R) {
8766
8769
  const G = s(u) ? "clientX" : "clientY";
8767
- k = 1 * s(l), C = O.touches[0][G], p.value = !0;
8770
+ k = 1 * s(l), C = R.touches[0][G], p.value = !0;
8768
8771
  }
8769
- function S(O) {
8772
+ function S(R) {
8770
8773
  if (!s(a))
8771
8774
  return;
8772
8775
  const G = s(u) ? "clientX" : "clientY", se = 1;
8773
- l.value = se * (k + C - O.touches[0][G]);
8776
+ l.value = se * (k + C - R.touches[0][G]);
8774
8777
  }
8775
- function I(O) {
8778
+ function I(R) {
8776
8779
  const G = s(r) - s(i);
8777
8780
  s(l) < 0 || !s(a) ? l.value = 0 : s(l) >= G && (l.value = G), p.value = !1;
8778
8781
  }
@@ -8780,9 +8783,9 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8780
8783
  !f.value || (f.value[s(u) ? "scrollLeft" : "scrollTop"] = 0);
8781
8784
  }
8782
8785
  const x = Le(!1);
8783
- function L(O) {
8786
+ function L(R) {
8784
8787
  if (x.value = !0, !(!s(a) || !s(c))) {
8785
- for (const G of O.composedPath())
8788
+ for (const G of R.composedPath())
8786
8789
  for (const se of s(c).children)
8787
8790
  if (se === G) {
8788
8791
  l.value = di({
@@ -8796,49 +8799,49 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8796
8799
  }
8797
8800
  }
8798
8801
  }
8799
- function P(O) {
8802
+ function P(R) {
8800
8803
  x.value = !1;
8801
8804
  }
8802
- function A(O) {
8805
+ function M(R) {
8803
8806
  var G;
8804
- !s(x) && !(O.relatedTarget && ((G = s(c)) == null ? void 0 : G.contains(O.relatedTarget))) && E();
8807
+ !s(x) && !(R.relatedTarget && ((G = s(c)) == null ? void 0 : G.contains(R.relatedTarget))) && E();
8805
8808
  }
8806
- function F(O) {
8807
- s(f) || (s(u) ? O.key === ue.right ? E("next") : O.key === ue.left && E("prev") : O.key === ue.down ? E("next") : O.key === ue.up && E("prev"));
8809
+ function F(R) {
8810
+ s(f) || (s(u) ? R.key === ue.right ? E("next") : R.key === ue.left && E("prev") : R.key === ue.down ? E("next") : R.key === ue.up && E("prev"));
8808
8811
  }
8809
- function E(O) {
8812
+ function E(R) {
8810
8813
  var G, se, ce, le, Ce;
8811
8814
  if (!!s(c))
8812
- if (!O)
8815
+ if (!R)
8813
8816
  (G = Rs(s(c))[0]) == null || G.focus();
8814
- else if (O === "next") {
8817
+ else if (R === "next") {
8815
8818
  const ke = (se = s(c).querySelector(":focus")) == null ? void 0 : se.nextElementSibling;
8816
8819
  ke ? ke.focus() : E("first");
8817
- } else if (O === "prev") {
8820
+ } else if (R === "prev") {
8818
8821
  const ke = (ce = s(c).querySelector(":focus")) == null ? void 0 : ce.previousElementSibling;
8819
8822
  ke ? ke.focus() : E("last");
8820
8823
  } else
8821
- O === "first" ? (le = s(f).firstElementChild) == null || le.focus() : O === "last" && ((Ce = s(f).lastElementChild) == null || Ce.focus());
8824
+ R === "first" ? (le = s(f).firstElementChild) == null || le.focus() : R === "last" && ((Ce = s(f).lastElementChild) == null || Ce.focus());
8822
8825
  }
8823
- function B(O) {
8824
- const G = s(l) + (O === "prev" ? -1 : 1) * s(i);
8826
+ function B(R) {
8827
+ const G = s(l) + (R === "prev" ? -1 : 1) * s(i);
8825
8828
  l.value = Bn(G, 0, s(r) - s(i));
8826
8829
  }
8827
8830
  const w = v(() => {
8828
- let O = s(l) > s(r) - s(i) ? -(s(r) - s(i)) + ci(s(r) - s(i) - s(l)) : -s(l);
8829
- s(l) <= 0 && (O = ci(-s(l)));
8831
+ let R = s(l) > s(r) - s(i) ? -(s(r) - s(i)) + ci(s(r) - s(i) - s(l)) : -s(l);
8832
+ s(l) <= 0 && (R = ci(-s(l)));
8830
8833
  const G = 1;
8831
8834
  return {
8832
- transform: `translate${s(u) ? "X" : "Y"}(${G * O}px)`,
8835
+ transform: `translate${s(u) ? "X" : "Y"}(${G * R}px)`,
8833
8836
  transition: s(p) ? "none" : "",
8834
8837
  willChange: s(p) ? "transform" : ""
8835
8838
  };
8836
- }), M = v(() => ({
8839
+ }), A = v(() => ({
8837
8840
  next: o.next,
8838
8841
  prev: o.prev,
8839
8842
  select: o.select,
8840
8843
  isSelected: o.isSelected
8841
- })), z = v(() => {
8844
+ })), H = v(() => {
8842
8845
  switch (e.showArrows) {
8843
8846
  case "always":
8844
8847
  return !0;
@@ -8854,20 +8857,20 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8854
8857
  }), V = v(() => Math.abs(s(l)) > 0), K = v(() => s(r) > Math.abs(s(l) + s(i)));
8855
8858
  return Ee(
8856
8859
  () => {
8857
- var O, G, se, ce, le;
8860
+ var R, G, se, ce, le;
8858
8861
  return y(
8859
8862
  e.tag,
8860
8863
  {
8861
8864
  class: Q("cds-slide-group", {
8862
8865
  "cds-slide-group--vertical": !s(u),
8863
- "cds-slide-group--has-affixes": s(z),
8866
+ "cds-slide-group--has-affixes": s(H),
8864
8867
  "cds-slide-group--is-overflowing": s(a)
8865
8868
  }),
8866
8869
  tabindex: s(x) || s(o.selected).length ? -1 : 0,
8867
- onFocus: A
8870
+ onFocus: M
8868
8871
  },
8869
8872
  [
8870
- s(z) && y(
8873
+ s(H) && y(
8871
8874
  "div",
8872
8875
  {
8873
8876
  key: "prev",
@@ -8876,7 +8879,7 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8876
8879
  }),
8877
8880
  onClick: () => B("prev")
8878
8881
  },
8879
- (G = (O = t.prev) == null ? void 0 : O.call(t, s(M))) != null ? G : y(cs, null, { default: () => y(ot, { name: e.prependIcon }) })
8882
+ (G = (R = t.prev) == null ? void 0 : R.call(t, s(A))) != null ? G : y(cs, null, { default: () => y(ot, { name: e.prependIcon }) })
8880
8883
  ),
8881
8884
  y(
8882
8885
  "div",
@@ -8899,10 +8902,10 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8899
8902
  onFocusout: P,
8900
8903
  onKeydown: F
8901
8904
  },
8902
- (se = t.default) == null ? void 0 : se.call(t, s(M))
8905
+ (se = t.default) == null ? void 0 : se.call(t, s(A))
8903
8906
  )
8904
8907
  ),
8905
- s(z) && y(
8908
+ s(H) && y(
8906
8909
  "div",
8907
8910
  {
8908
8911
  key: "next",
@@ -8911,7 +8914,7 @@ const Tu = Symbol.for("cds:slide-group"), mh = "CdsSlideGroup", Ou = _({
8911
8914
  }),
8912
8915
  onClick: () => B("next")
8913
8916
  },
8914
- (le = (ce = t.next) == null ? void 0 : ce.call(t, s(M))) != null ? le : y(cs, null, { default: () => y(ot, { name: e.appendIcon }) })
8917
+ (le = (ce = t.next) == null ? void 0 : ce.call(t, s(A))) != null ? le : y(cs, null, { default: () => y(ot, { name: e.appendIcon }) })
8915
8918
  )
8916
8919
  ]
8917
8920
  );
@@ -9280,7 +9283,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9280
9283
  )
9281
9284
  ), D = v(() => Zt(p.value)), x = p.value.year, L = T(x && x - x % mn - (x < 0 ? mn : 0)), P = v(
9282
9285
  () => e.firstDayOfWeek ? +e.firstDayOfWeek : n.value.firstDayOfWeek
9283
- ), A = v(() => {
9286
+ ), M = v(() => {
9284
9287
  const $ = n.value.daysShort, N = P.value;
9285
9288
  return N > 0 ? $.slice(N, 7).concat($.slice(0, N)) : $;
9286
9289
  }), F = v(() => {
@@ -9308,13 +9311,13 @@ function Sh(e, t, n, o, a, l, i, r) {
9308
9311
  year: { prev: !0, next: !0 }
9309
9312
  };
9310
9313
  return E.value && E.value.year >= p.value.year && ($.year.prev = !1, E.value.year === p.value.year && E.value.month >= p.value.month && ($.month.prev = !1)), B.value && B.value.year <= p.value.year && ($.year.next = !1, B.value.year === p.value.year && B.value.month <= p.value.month && ($.month.next = !1)), $;
9311
- }), M = v(() => {
9314
+ }), A = v(() => {
9312
9315
  const $ = {};
9313
9316
  return C.value.forEach((N) => {
9314
9317
  const U = Zt(N);
9315
9318
  $[U] || ($[U] = []), $[U].push(N.day);
9316
9319
  }), $;
9317
- }), z = v(() => {
9320
+ }), H = v(() => {
9318
9321
  const $ = {};
9319
9322
  return k.value.forEach((N) => {
9320
9323
  const U = Zt(N.from), j = Zt(N.to);
@@ -9360,7 +9363,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9360
9363
  $[U] = N(j);
9361
9364
  }
9362
9365
  return $;
9363
- }), O = v(
9366
+ }), R = v(
9364
9367
  () => typeof e.eventsColor == "function" ? e.eventsColor : () => e.eventsColor
9365
9368
  ), G = v(() => {
9366
9369
  const $ = {};
@@ -9371,7 +9374,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9371
9374
  };
9372
9375
  for (let U = 0; U <= F.value; U++) {
9373
9376
  const j = D.value + "/" + je(U);
9374
- $[U] = N(j) && O.value(j);
9377
+ $[U] = N(j) && R.value(j);
9375
9378
  }
9376
9379
  } else
9377
9380
  for (let N = 1; N <= F.value; N++)
@@ -9398,7 +9401,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9398
9401
  };
9399
9402
  K.value[te] && (xe.in = !0, xe.flat = !0), $.push(xe);
9400
9403
  }
9401
- if (M.value[D.value] && M.value[D.value].forEach((te) => {
9404
+ if (A.value[D.value] && A.value[D.value].forEach((te) => {
9402
9405
  const xe = be + te - 1;
9403
9406
  $[xe] = {
9404
9407
  ...$[xe],
@@ -9406,7 +9409,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9406
9409
  unelevated: !0,
9407
9410
  flat: !1
9408
9411
  };
9409
- }), z.value[D.value] && z.value[D.value].forEach((te) => {
9412
+ }), H.value[D.value] && H.value[D.value].forEach((te) => {
9410
9413
  if (te.from) {
9411
9414
  const xe = be + te.from - 1, Xe = be + (te.to || F.value) - 1;
9412
9415
  for (let Dn = xe; Dn <= Xe; Dn++)
@@ -9538,7 +9541,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9538
9541
  c.value = U, q($, N);
9539
9542
  }
9540
9543
  function Ae() {
9541
- const $ = u.value, N = M.value[Zt($)];
9544
+ const $ = u.value, N = A.value[Zt($)];
9542
9545
  (!N || !N.includes($.day)) && Oe($), ye($.year, $.month);
9543
9546
  }
9544
9547
  function Oe($) {
@@ -9612,7 +9615,7 @@ function Sh(e, t, n, o, a, l, i, r) {
9612
9615
  c.value = $;
9613
9616
  }
9614
9617
  function _e($, N) {
9615
- const U = M.value[N];
9618
+ const U = A.value[N];
9616
9619
  $.from ? (U && U.includes($.day) ? Y : re)($) : (U && U.includes($.day) ? we : Oe)($);
9617
9620
  }
9618
9621
  function De($, N) {
@@ -9646,15 +9649,15 @@ function Sh(e, t, n, o, a, l, i, r) {
9646
9649
  maxSelectedModel: S,
9647
9650
  daysInModel: I,
9648
9651
  startYear: L,
9649
- daysOfWeek: A,
9652
+ daysOfWeek: M,
9650
9653
  daysInMonth: F,
9651
9654
  viewMonthHash: D,
9652
9655
  minNav: E,
9653
9656
  maxNav: B,
9654
9657
  navBoundaries: w,
9655
9658
  days: ce,
9656
- daysMap: M,
9657
- rangeMap: z,
9659
+ daysMap: A,
9660
+ rangeMap: H,
9658
9661
  rangeView: V,
9659
9662
  selectionDaysMap: K,
9660
9663
  getViewModel: Ce,
@@ -9708,16 +9711,16 @@ const $h = "CdsDatePicker", Ih = _({
9708
9711
  minSelectedModel: x,
9709
9712
  maxSelectedModel: L,
9710
9713
  daysInModel: P,
9711
- startYear: A,
9714
+ startYear: M,
9712
9715
  daysOfWeek: F,
9713
9716
  viewMonthHash: E,
9714
9717
  minNav: B,
9715
9718
  maxNav: w,
9716
- navBoundaries: M,
9717
- days: z,
9719
+ navBoundaries: A,
9720
+ days: H,
9718
9721
  getViewModel: V,
9719
9722
  updateViewModel: K,
9720
- setToday: O,
9723
+ setToday: R,
9721
9724
  setCalendarTo: G,
9722
9725
  goToMonth: se,
9723
9726
  goToYear: ce,
@@ -9837,7 +9840,7 @@ const $h = "CdsDatePicker", Ih = _({
9837
9840
  to: u(te.to)
9838
9841
  });
9839
9842
  } else {
9840
- const he = s(z).find((te) => !te.fill && te.i === Z);
9843
+ const he = s(H).find((te) => !te.fill && te.i === Z);
9841
9844
  if (!e.noUnset && (he == null ? void 0 : he.range)) {
9842
9845
  we({ target: ae, from: he.range.from, to: he.range.to });
9843
9846
  return;
@@ -9902,7 +9905,7 @@ const $h = "CdsDatePicker", Ih = _({
9902
9905
  class: "cds-date-picker__header-today",
9903
9906
  icon: "calendar",
9904
9907
  tabindex: s(i),
9905
- onClick: O
9908
+ onClick: R
9906
9909
  }) : null
9907
9910
  ]),
9908
9911
  y(
@@ -10009,7 +10012,7 @@ const $h = "CdsDatePicker", Ih = _({
10009
10012
  key: s(I).month,
10010
10013
  direction: s(b),
10011
10014
  goTo: se,
10012
- boundaries: s(M).month,
10015
+ boundaries: s(A).month,
10013
10016
  classname: "cds-date-picker__navigation--months"
10014
10017
  }),
10015
10018
  ...Fe({
@@ -10018,7 +10021,7 @@ const $h = "CdsDatePicker", Ih = _({
10018
10021
  key: s(I).year,
10019
10022
  direction: s(S),
10020
10023
  goTo: ce,
10021
- boundaries: s(M).year,
10024
+ boundaries: s(A).year,
10022
10025
  classname: "cds-date-picker__navigation--years"
10023
10026
  })
10024
10027
  ]),
@@ -10036,7 +10039,7 @@ const $h = "CdsDatePicker", Ih = _({
10036
10039
  () => y(
10037
10040
  "div",
10038
10041
  { key: s(E), class: "cds-date-picker__calendar-days" },
10039
- s(z).map(
10042
+ s(H).map(
10040
10043
  (Z) => y(
10041
10044
  "div",
10042
10045
  {
@@ -10104,7 +10107,7 @@ const $h = "CdsDatePicker", Ih = _({
10104
10107
  );
10105
10108
  },
10106
10109
  Years: () => {
10107
- const Z = s(A), ae = Z + mn, he = [], Ie = (te) => s(B) && s(B).year > te || s(w) && s(w).year < te;
10110
+ const Z = s(M), ae = Z + mn, he = [], Ie = (te) => s(B) && s(B).year > te || s(w) && s(w).year < te;
10108
10111
  for (let te = Z; te <= ae; te++) {
10109
10112
  const xe = s(I).year === te;
10110
10113
  he.push(
@@ -10139,7 +10142,7 @@ const $h = "CdsDatePicker", Ih = _({
10139
10142
  tabindex: s(i),
10140
10143
  ...oe("year-prev", {
10141
10144
  onClick: () => {
10142
- A.value -= mn;
10145
+ M.value -= mn;
10143
10146
  }
10144
10147
  })
10145
10148
  })
@@ -10153,7 +10156,7 @@ const $h = "CdsDatePicker", Ih = _({
10153
10156
  tabindex: s(i),
10154
10157
  ...oe("year-next", {
10155
10158
  onClick: () => {
10156
- A.value += mn;
10159
+ M.value += mn;
10157
10160
  }
10158
10161
  })
10159
10162
  })
@@ -10201,7 +10204,7 @@ const $h = "CdsDatePicker", Ih = _({
10201
10204
  ]
10202
10205
  );
10203
10206
  }), o({
10204
- setToday: O,
10207
+ setToday: R,
10205
10208
  setCalendarTo: G,
10206
10209
  setView: ke,
10207
10210
  offsetCalendar: Y,
@@ -10313,7 +10316,7 @@ const La = Number(ba["cds-drawer-z-index-outer"]) + 1, mi = "CdsDrawer", Dh = _(
10313
10316
  i.value = !1;
10314
10317
  }, P = () => {
10315
10318
  u.value = !0;
10316
- }, A = () => {
10319
+ }, M = () => {
10317
10320
  u.value = !1;
10318
10321
  };
10319
10322
  return a({
@@ -10330,7 +10333,7 @@ const La = Number(ba["cds-drawer-z-index-outer"]) + 1, mi = "CdsDrawer", Dh = _(
10330
10333
  styles: b,
10331
10334
  onClose: L,
10332
10335
  onMouseenter: P,
10333
- onMouseleave: A
10336
+ onMouseleave: M
10334
10337
  };
10335
10338
  }
10336
10339
  });
@@ -10342,8 +10345,8 @@ const Eh = {
10342
10345
  class: "cds-drawer__append"
10343
10346
  };
10344
10347
  function Ph(e, t, n, o, a, l) {
10345
- return H(), ne(Ve, null, [
10346
- (H(), pe(wt(e.tag), Te({
10348
+ return z(), ne(Ve, null, [
10349
+ (z(), pe(wt(e.tag), Te({
10347
10350
  ref: "drawerRef",
10348
10351
  class: ["cds-drawer", [e.drawerClasses, e.invertColorClasses, e.themeClasses]],
10349
10352
  style: e.styles,
@@ -10354,19 +10357,19 @@ function Ph(e, t, n, o, a, l) {
10354
10357
  onMouseleave: e.onMouseleave
10355
10358
  }), {
10356
10359
  default: ie(() => [
10357
- e.hasPrependSlot ? (H(), ne("div", Eh, [
10360
+ e.hasPrependSlot ? (z(), ne("div", Eh, [
10358
10361
  X(e.$slots, "prepend", Ft(en({ invertColor: e.invertColor })))
10359
10362
  ])) : ee("", !0),
10360
10363
  Ke("nav", Ah, [
10361
10364
  X(e.$slots, "default", Ft(en({ invertColor: e.invertColor })))
10362
10365
  ]),
10363
- e.hasAppendSlot ? (H(), ne("div", Mh, [
10366
+ e.hasAppendSlot ? (z(), ne("div", Mh, [
10364
10367
  X(e.$slots, "append", Ft(en({ invertColor: e.invertColor })))
10365
10368
  ])) : ee("", !0)
10366
10369
  ]),
10367
10370
  _: 3
10368
10371
  }, 16, ["class", "style", "onKeydown", "onMouseenter", "onMouseleave"])),
10369
- e.hasOverlay ? (H(), ne("div", {
10372
+ e.hasOverlay ? (z(), ne("div", {
10370
10373
  key: 0,
10371
10374
  class: "cds-drawer__overlay",
10372
10375
  onClick: t[0] || (t[0] = (...i) => e.onClose && e.onClose(...i))
@@ -10407,21 +10410,21 @@ const Fh = /* @__PURE__ */ et(Dh, [["render", Ph]]), no = "CdsDropdown", Th = _(
10407
10410
  h,
10408
10411
  g,
10409
10412
  p
10410
- ), A = ha(), F = v(
10413
+ ), M = ha(), F = v(
10411
10414
  () => s(b).map((W) => W.props.value).join(", ")
10412
- ), E = v(() => !e.hideNoData && !s(P).length), B = v(() => s(b).length > 0), w = v(() => b.externalValue), M = v(() => ({
10415
+ ), E = v(() => !e.hideNoData && !s(P).length), B = v(() => s(b).length > 0), w = v(() => b.externalValue), A = v(() => ({
10413
10416
  "cds-dropdown--active-menu": s(C),
10414
10417
  "cds-dropdown--selected": s(b).length,
10415
10418
  "cds-dropdown--ellipsis": e.ellipsis,
10416
10419
  [`cds-dropdown--${e.multiple ? "multiple" : "single"}`]: !0
10417
- })), { inputProps: z } = ll(e, on.props, [
10420
+ })), { inputProps: H } = ll(e, on.props, [
10418
10421
  "modelValue",
10419
10422
  "validationValue",
10420
10423
  "readonly",
10421
10424
  "focused",
10422
10425
  "appendInnerIcon",
10423
10426
  "counter"
10424
- ]), V = T(), K = T(), O = v(
10427
+ ]), V = T(), K = T(), R = v(
10425
10428
  () => !!(!e.hideNoData || s(P).length || t.prepend || t.append || t["no-data"])
10426
10429
  );
10427
10430
  function G(W) {
@@ -10443,7 +10446,7 @@ const Fh = /* @__PURE__ */ et(Dh, [["render", Ph]]), no = "CdsDropdown", Th = _(
10443
10446
  let ce = "", le;
10444
10447
  function Ce(W) {
10445
10448
  var ge, _e, De, Ge;
10446
- if (e.readonly || s(A == null ? void 0 : A.isReadonly))
10449
+ if (e.readonly || s(M == null ? void 0 : M.isReadonly))
10447
10450
  return;
10448
10451
  [ue.enter, ue.space, ue.down, ue.up, ue.home, ue.end].includes(W.key) && W.preventDefault(), [ue.enter, ue.down, ue.space].includes(W.key) && (C.value = !0), [ue.esc, ue.tab].includes(W.key) && (C.value = !1), W.key === ue.down ? (ge = s(K)) == null || ge.focus("next") : W.key === ue.up ? (_e = s(K)) == null || _e.focus("prev") : W.key === ue.home ? (De = s(K)) == null || De.focus("first") : W.key === ue.end && ((Ge = s(K)) == null || Ge.focus("last"));
10449
10452
  const oe = 1e3;
@@ -10476,7 +10479,7 @@ const Fh = /* @__PURE__ */ et(Dh, [["render", Ph]]), no = "CdsDropdown", Th = _(
10476
10479
  W == null && (b.value = []);
10477
10480
  }
10478
10481
  function re() {
10479
- e.hideNoData && !s(h).length || e.readonly || s(A == null ? void 0 : A.isReadonly) || (C.value = !C.value);
10482
+ e.hideNoData && !s(h).length || e.readonly || s(M == null ? void 0 : M.isReadonly) || (C.value = !C.value);
10480
10483
  }
10481
10484
  function we(W) {
10482
10485
  e.readonly || e.disabled || (s(c) && (W.preventDefault(), W.stopPropagation()), C.value = !s(C));
@@ -10509,8 +10512,8 @@ const Fh = /* @__PURE__ */ et(Dh, [["render", Ph]]), no = "CdsDropdown", Th = _(
10509
10512
  inputRef: V,
10510
10513
  menuRef: k,
10511
10514
  listRef: K,
10512
- inputProps: z,
10513
- hasList: O,
10515
+ inputProps: H,
10516
+ hasList: R,
10514
10517
  hasLabel: l,
10515
10518
  hasDescription: i,
10516
10519
  hasPrepend: d,
@@ -10518,7 +10521,7 @@ const Fh = /* @__PURE__ */ et(Dh, [["render", Ph]]), no = "CdsDropdown", Th = _(
10518
10521
  hasPrependInnerIcon: r,
10519
10522
  hasAppendInnerIcon: u,
10520
10523
  hasNoDataItem: E,
10521
- dropdownClasses: M,
10524
+ dropdownClasses: A,
10522
10525
  dropdownLocale: a,
10523
10526
  noop: Nt,
10524
10527
  select: G,
@@ -10541,7 +10544,7 @@ const Oh = { class: "cds-dropdown__selection--text" }, Rh = {
10541
10544
  };
10542
10545
  function Bh(e, t, n, o, a, l) {
10543
10546
  const i = ve("cds-list-item"), r = ve("cds-checkbox"), u = ve("cds-list"), f = ve("cds-menu"), d = ve("cds-icon"), c = ve("cds-tag"), m = ve("cds-text-input");
10544
- return H(), pe(m, Te({
10547
+ return z(), pe(m, Te({
10545
10548
  ref: "inputRef",
10546
10549
  focused: e.isFocused,
10547
10550
  "onUpdate:focused": t[2] || (t[2] = (h) => e.isFocused = h),
@@ -10585,7 +10588,7 @@ function Bh(e, t, n, o, a, l) {
10585
10588
  "content-classes": "cds-dropdown__content"
10586
10589
  }, e.menuProps), {
10587
10590
  default: ie(() => [
10588
- e.hasList ? (H(), pe(u, Te({
10591
+ e.hasList ? (z(), pe(u, Te({
10589
10592
  key: 0,
10590
10593
  ref: "listRef",
10591
10594
  selected: e.selected,
@@ -10601,7 +10604,7 @@ function Bh(e, t, n, o, a, l) {
10601
10604
  }, null, 8, ["title"])
10602
10605
  ]) : ee("", !0),
10603
10606
  X(e.$slots, "prepend-item", {}, () => [
10604
- e.multiple && e.isSelectAll ? (H(), pe(i, {
10607
+ e.multiple && e.isSelectAll ? (z(), pe(i, {
10605
10608
  key: 0,
10606
10609
  "is-clickable": "",
10607
10610
  title: e.dropdownLocale.selectAll,
@@ -10620,7 +10623,7 @@ function Bh(e, t, n, o, a, l) {
10620
10623
  _: 1
10621
10624
  }, 8, ["title", "onClick"])) : ee("", !0)
10622
10625
  ]),
10623
- (H(!0), ne(Ve, null, nn(e.displayItems, (h, g) => X(e.$slots, "item", Ft(Te({ key: g }, { item: h, index: g, props: e.mergeItemProps(h) })), () => [
10626
+ (z(!0), ne(Ve, null, nn(e.displayItems, (h, g) => X(e.$slots, "item", Ft(Te({ key: g }, { item: h, index: g, props: e.mergeItemProps(h) })), () => [
10624
10627
  Ze(i, Te({ disabled: e.readonly }, h.props, {
10625
10628
  onClick: (p) => e.select(h)
10626
10629
  }), Cn({ _: 2 }, [
@@ -10644,13 +10647,13 @@ function Bh(e, t, n, o, a, l) {
10644
10647
  ]),
10645
10648
  _: 3
10646
10649
  }, 16, ["modelValue", "eager", "max-height", "transition"]),
10647
- (H(!0), ne(Ve, null, nn(e.selections, (h, g) => (H(), ne("div", {
10650
+ (z(!0), ne(Ve, null, nn(e.selections, (h, g) => (z(), ne("div", {
10648
10651
  key: h.value,
10649
10652
  class: "cds-dropdown__selection"
10650
10653
  }, [
10651
10654
  X(e.$slots, "selection", Ft(en({ item: h, index: g })), () => [
10652
10655
  Ke("span", Oh, at(h.title), 1),
10653
- e.multiple && g < e.selections.length - 1 ? (H(), ne("span", Rh, ",")) : ee("", !0)
10656
+ e.multiple && g < e.selections.length - 1 ? (z(), ne("span", Rh, ",")) : ee("", !0)
10654
10657
  ])
10655
10658
  ]))), 128))
10656
10659
  ])
@@ -10681,7 +10684,7 @@ function Bh(e, t, n, o, a, l) {
10681
10684
  e.hasPrependInnerIcon || e.counter && e.multiple ? {
10682
10685
  name: "prepend-inner",
10683
10686
  fn: ie(() => [
10684
- e.selected.length > 0 ? (H(), pe(c, {
10687
+ e.selected.length > 0 ? (z(), pe(c, {
10685
10688
  key: 0,
10686
10689
  text: `${e.selected.length}`
10687
10690
  }, null, 8, ["text"])) : ee("", !0),
@@ -11079,15 +11082,15 @@ const Hh = { class: "cds-empty-state" }, Vh = {
11079
11082
  class: "cds-empty-state__description"
11080
11083
  }, Uh = { key: 0 };
11081
11084
  function Yh(e, t, n, o, a, l) {
11082
- return H(), ne("div", Hh, [
11083
- e.hasIllustrationSlot || !!e.illustration ? (H(), ne("div", Vh, [
11084
- e.illustration ? (H(), pe(wt(e.illustrationComponent), { key: 0 })) : X(e.$slots, "illustration", { key: 1 })
11085
+ return z(), ne("div", Hh, [
11086
+ e.hasIllustrationSlot || !!e.illustration ? (z(), ne("div", Vh, [
11087
+ e.illustration ? (z(), pe(wt(e.illustrationComponent), { key: 0 })) : X(e.$slots, "illustration", { key: 1 })
11085
11088
  ])) : ee("", !0),
11086
- e.title || e.hasTitleSlot ? (H(), ne("div", Kh, [
11087
- e.title ? (H(), ne("h4", jh, at(e.title), 1)) : X(e.$slots, "title", { key: 1 })
11089
+ e.title || e.hasTitleSlot ? (z(), ne("div", Kh, [
11090
+ e.title ? (z(), ne("h4", jh, at(e.title), 1)) : X(e.$slots, "title", { key: 1 })
11088
11091
  ])) : ee("", !0),
11089
- e.description || e.hasDescriptionSlot ? (H(), ne("div", Wh, [
11090
- e.description ? (H(), ne("span", Uh, at(e.description), 1)) : X(e.$slots, "description", { key: 1 })
11092
+ e.description || e.hasDescriptionSlot ? (z(), ne("div", Wh, [
11093
+ e.description ? (z(), ne("span", Uh, at(e.description), 1)) : X(e.$slots, "description", { key: 1 })
11091
11094
  ])) : ee("", !0),
11092
11095
  X(e.$slots, "actions")
11093
11096
  ]);
@@ -11724,8 +11727,8 @@ const gv = "CdsLayout", yv = _({
11724
11727
  }
11725
11728
  function k(x) {
11726
11729
  const { width: L, height: P } = x;
11727
- let A = !1;
11728
- s(r) !== P && (A = !0, r.value = P, e.onScrollHeight !== void 0 && n("scrollHeight", P), S()), s(u) !== L && (A = !0, u.value = L), A && n("resize", x);
11730
+ let M = !1;
11731
+ s(r) !== P && (M = !0, r.value = P, e.onScrollHeight !== void 0 && n("scrollHeight", P), S()), s(u) !== L && (M = !0, u.value = L), M && n("resize", x);
11729
11732
  }
11730
11733
  function b({ height: x }) {
11731
11734
  s(d) !== x && (d.value = x, S());
@@ -11772,7 +11775,7 @@ const gv = "CdsLayout", yv = _({
11772
11775
  let x = null;
11773
11776
  const L = document.body, P = () => {
11774
11777
  x = null, L.classList.remove("cds-hide-scrollbar");
11775
- }, A = () => {
11778
+ }, M = () => {
11776
11779
  if (x === null) {
11777
11780
  if (L.scrollHeight > s(a.height))
11778
11781
  return;
@@ -11781,7 +11784,7 @@ const gv = "CdsLayout", yv = _({
11781
11784
  clearTimeout(x);
11782
11785
  x = setTimeout(P, 300);
11783
11786
  }, F = (E) => {
11784
- x !== null && E === "remove" && (clearTimeout(x), P()), window[`${E}EventListener`]("resize", A);
11787
+ x !== null && E === "remove" && (clearTimeout(x), P()), window[`${E}EventListener`]("resize", M);
11785
11788
  };
11786
11789
  J(() => e.container ? "remove" : "add", F), !e.container && F("add"), la(() => {
11787
11790
  F("remove");
@@ -12313,14 +12316,14 @@ const Tv = "CdsPagination", Wu = _({
12313
12316
  prev: (e) => !0
12314
12317
  },
12315
12318
  setup(e, { slots: t, emit: n, expose: o }) {
12316
- const { themeClasses: a } = Pe(e), l = qe(e, "modelValue"), { width: i } = rn(), r = Le(-1), { refs: u, updateRef: f } = Wf(), { resizeRef: d } = rs((A) => {
12317
- if (!A.length)
12319
+ const { themeClasses: a } = Pe(e), l = qe(e, "modelValue"), { width: i } = rn(), r = Le(-1), { refs: u, updateRef: f } = Wf(), { resizeRef: d } = rs((M) => {
12320
+ if (!M.length)
12318
12321
  return;
12319
- const { target: F, contentRect: E } = A[0], B = F.querySelector(".cds-pagination__list > *");
12322
+ const { target: F, contentRect: E } = M[0], B = F.querySelector(".cds-pagination__list > *");
12320
12323
  if (!B)
12321
12324
  return;
12322
- const w = E.width, M = B.offsetWidth + parseFloat(getComputedStyle(B).marginRight) * 2;
12323
- r.value = k(w, M);
12325
+ const w = E.width, A = B.offsetWidth + parseFloat(getComputedStyle(B).marginRight) * 2;
12326
+ r.value = k(w, A);
12324
12327
  }), c = v(() => parseInt(e.length, 10)), m = v(() => parseInt(e.start, 10)), h = v(() => e.totalVisible ? parseInt(e.totalVisible, 10) : s(r) >= 0 ? s(r) : k(s(i), 32)), g = v(() => {
12325
12328
  if (s(c) <= 0 || isNaN(s(c)) || s(c) > Number.MAX_SAFE_INTEGER)
12326
12329
  return [];
@@ -12328,22 +12331,22 @@ const Tv = "CdsPagination", Wu = _({
12328
12331
  return [s(l)];
12329
12332
  if (s(c) <= s(h))
12330
12333
  return Pn(s(c), s(m));
12331
- const A = s(h) % 2 === 0, F = A ? s(h) / 2 : Math.floor(s(h) / 2), E = A ? F : F + 1, B = s(c) - F;
12334
+ const M = s(h) % 2 === 0, F = M ? s(h) / 2 : Math.floor(s(h) / 2), E = M ? F : F + 1, B = s(c) - F;
12332
12335
  if (E - s(l) >= 0)
12333
12336
  return [...Pn(Math.max(1, s(h) - 1), s(m)), e.ellipsis, s(c)];
12334
- if (s(l) - B >= (A ? 1 : 0)) {
12335
- const w = s(h) - 1, M = s(c) - w + s(m);
12336
- return [s(m), e.ellipsis, ...Pn(w, M)];
12337
+ if (s(l) - B >= (M ? 1 : 0)) {
12338
+ const w = s(h) - 1, A = s(c) - w + s(m);
12339
+ return [s(m), e.ellipsis, ...Pn(w, A)];
12337
12340
  } else {
12338
- const w = Math.max(1, s(h) - 3), M = w === 1 ? s(l) : s(l) - Math.ceil(w / 2) + s(m);
12339
- return [s(m), e.ellipsis, ...Pn(w, M), e.ellipsis, s(c)];
12341
+ const w = Math.max(1, s(h) - 3), A = w === 1 ? s(l) : s(l) - Math.ceil(w / 2) + s(m);
12342
+ return [s(m), e.ellipsis, ...Pn(w, A), e.ellipsis, s(c)];
12340
12343
  }
12341
- }), p = v(() => s(g).map((A, F) => {
12344
+ }), p = v(() => s(g).map((M, F) => {
12342
12345
  const E = (B) => f(B, F);
12343
- return typeof A == "string" ? {
12346
+ return typeof M == "string" ? {
12344
12347
  isActive: !1,
12345
12348
  key: `ellipsis-${F}`,
12346
- page: A,
12349
+ page: M,
12347
12350
  props: {
12348
12351
  ref: E,
12349
12352
  appearance: "transparent",
@@ -12351,23 +12354,23 @@ const Tv = "CdsPagination", Wu = _({
12351
12354
  class: "cds-pagination__ellipsis"
12352
12355
  }
12353
12356
  } : {
12354
- isActive: A === s(l),
12355
- key: A,
12356
- page: A,
12357
+ isActive: M === s(l),
12358
+ key: M,
12359
+ page: M,
12357
12360
  props: {
12358
12361
  ref: E,
12359
12362
  appearance: "transparent",
12360
12363
  disabled: !!e.disabled || +e.length < 2,
12361
- onClick: () => I(A)
12364
+ onClick: () => I(M)
12362
12365
  }
12363
12366
  };
12364
12367
  })), C = v(() => {
12365
- const A = !!e.disabled || s(l) <= s(m), F = !!e.disabled || s(l) >= s(m) + s(c) - 1;
12368
+ const M = !!e.disabled || s(l) <= s(m), F = !!e.disabled || s(l) >= s(m) + s(c) - 1;
12366
12369
  return {
12367
12370
  prev: {
12368
12371
  appearance: "transparent",
12369
12372
  icon: "chevron-left",
12370
- disabled: A,
12373
+ disabled: M,
12371
12374
  onClick: P
12372
12375
  },
12373
12376
  next: {
@@ -12378,19 +12381,19 @@ const Tv = "CdsPagination", Wu = _({
12378
12381
  }
12379
12382
  };
12380
12383
  });
12381
- function k(A, F) {
12382
- return Math.max(0, Math.floor(+((A - F * 3) / F).toFixed(2)));
12384
+ function k(M, F) {
12385
+ return Math.max(0, Math.floor(+((M - F * 3) / F).toFixed(2)));
12383
12386
  }
12384
12387
  function b() {
12385
12388
  var F;
12386
- const A = s(l) - s(m);
12387
- (F = s(u)[A]) == null || F.$el.focus();
12389
+ const M = s(l) - s(m);
12390
+ (F = s(u)[M]) == null || F.$el.focus();
12388
12391
  }
12389
- function S(A) {
12390
- A.key === ue.left && !e.disabled && s(l) > +e.start ? (l.value = l.value - 1, Je(b)) : A.key === ue.right && !e.disabled && s(l) < s(m) + s(c) - 1 && (l.value = l.value + 1, Je(b));
12392
+ function S(M) {
12393
+ M.key === ue.left && !e.disabled && s(l) > +e.start ? (l.value = l.value - 1, Je(b)) : M.key === ue.right && !e.disabled && s(l) < s(m) + s(c) - 1 && (l.value = l.value + 1, Je(b));
12391
12394
  }
12392
- function I(A, F) {
12393
- l.value = A, F && n(F, A);
12395
+ function I(M, F) {
12396
+ l.value = M, F && n(F, M);
12394
12397
  }
12395
12398
  function D() {
12396
12399
  I(s(m), "first");
@@ -12414,13 +12417,13 @@ const Tv = "CdsPagination", Wu = _({
12414
12417
  t.prev ? t.prev(s(C).prev) : y(Be, s(C).prev)
12415
12418
  ),
12416
12419
  ...s(p).map(
12417
- (A) => y(
12420
+ (M) => y(
12418
12421
  "li",
12419
12422
  {
12420
- key: A.key,
12421
- class: { "cds-pagination__item": !0, "cds-pagination__item--active": A.isActive }
12423
+ key: M.key,
12424
+ class: { "cds-pagination__item": !0, "cds-pagination__item--active": M.isActive }
12422
12425
  },
12423
- t.item ? t.item(A) : y(Be, A.props, () => A.page)
12426
+ t.item ? t.item(M) : y(Be, M.props, () => M.page)
12424
12427
  )
12425
12428
  ),
12426
12429
  y(
@@ -12642,7 +12645,7 @@ const Uu = /* @__PURE__ */ et(Rv, [["render", Bv]]), Lv = {
12642
12645
  const zv = { class: "cds-radio-button__controls" };
12643
12646
  function Hv(e, t, n, o, a, l) {
12644
12647
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-input");
12645
- return H(), pe(u, Te({
12648
+ return z(), pe(u, Te({
12646
12649
  id: e.id,
12647
12650
  class: ["cds-radio-button", [e.directionClasses, e.themeClasses]]
12648
12651
  }, { ...e.inputProps }), {
@@ -12650,7 +12653,7 @@ function Hv(e, t, n, o, a, l) {
12650
12653
  X(e.$slots, "messages")
12651
12654
  ]),
12652
12655
  default: ie(() => [
12653
- e.hasLabel ? (H(), pe(i, {
12656
+ e.hasLabel ? (z(), pe(i, {
12654
12657
  key: 0,
12655
12658
  text: e.label,
12656
12659
  tag: "div"
@@ -12660,7 +12663,7 @@ function Hv(e, t, n, o, a, l) {
12660
12663
  ]),
12661
12664
  _: 3
12662
12665
  }, 8, ["text"])) : ee("", !0),
12663
- e.hasDescription ? (H(), pe(r, {
12666
+ e.hasDescription ? (z(), pe(r, {
12664
12667
  key: 1,
12665
12668
  text: e.description
12666
12669
  }, {
@@ -12695,7 +12698,7 @@ const Vv = /* @__PURE__ */ et(Nv, [["render", Hv]]), bi = "CdsRadio", Kv = _({
12695
12698
  const { id: a, hasLabel: l, hasDescription: i } = $t(e, n, "radio"), { isFocused: r, focus: u, blur: f } = Rt(e, bi), { rootAttrs: d, inputAttrs: c } = jn(t), { inputProps: m } = ln(e, ["hideMessages"]), h = T(), { isGroup: g, model: p, disabledGroup: C, readonlyGroup: k, errorGroup: b, handleChangeRadio: S } = Ye(
12696
12699
  Yu,
12697
12700
  Lv
12698
- ), I = v(() => s(C) || e.disabled), D = v(() => s(k) || e.readonly), x = v(() => s(b) || e.error), L = v(() => s(g) || e.hideMessages), P = v(() => s(p) === e.value), A = v(() => ({
12701
+ ), I = v(() => s(C) || e.disabled), D = v(() => s(k) || e.readonly), x = v(() => s(b) || e.error), L = v(() => s(g) || e.hideMessages), P = v(() => s(p) === e.value), M = v(() => ({
12699
12702
  "cds-radio--disabled": s(I),
12700
12703
  "cds-radio--checked": s(p)
12701
12704
  })), F = (E) => {
@@ -12722,7 +12725,7 @@ const Vv = /* @__PURE__ */ et(Nv, [["render", Hv]]), bi = "CdsRadio", Kv = _({
12722
12725
  internalReadonly: D,
12723
12726
  internalError: x,
12724
12727
  internalHideMessages: L,
12725
- radioClasses: A,
12728
+ radioClasses: M,
12726
12729
  onBlur: f,
12727
12730
  onFocus: u,
12728
12731
  onChange: F
@@ -12731,7 +12734,7 @@ const Vv = /* @__PURE__ */ et(Nv, [["render", Hv]]), bi = "CdsRadio", Kv = _({
12731
12734
  }), jv = ["id", "name", "checked", "disabled", "aria-disabled", "aria-checked", "aria-invalid", "value"];
12732
12735
  function Wv(e, t, n, o, a, l) {
12733
12736
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-input");
12734
- return H(), pe(u, Te({
12737
+ return z(), pe(u, Te({
12735
12738
  id: e.id,
12736
12739
  ref: "validationRef",
12737
12740
  focused: e.isFocused,
@@ -12753,7 +12756,7 @@ function Wv(e, t, n, o, a, l) {
12753
12756
  onFocus: t[1] || (t[1] = (...m) => e.onFocus && e.onFocus(...m)),
12754
12757
  onChange: t[2] || (t[2] = (...m) => e.onChange && e.onChange(...m))
12755
12758
  }), null, 16, jv),
12756
- e.hasLabel ? (H(), pe(i, {
12759
+ e.hasLabel ? (z(), pe(i, {
12757
12760
  key: 0,
12758
12761
  for: e.id,
12759
12762
  text: e.label
@@ -12763,7 +12766,7 @@ function Wv(e, t, n, o, a, l) {
12763
12766
  ]),
12764
12767
  _: 3
12765
12768
  }, 8, ["for", "text"])) : ee("", !0),
12766
- e.hasDescription ? (H(), pe(r, {
12769
+ e.hasDescription ? (z(), pe(r, {
12767
12770
  key: 1,
12768
12771
  text: e.description
12769
12772
  }, {
@@ -12813,13 +12816,13 @@ const pl = /* @__PURE__ */ et(Kv, [["render", Wv]]), oo = "CdsSelect", Uv = _({
12813
12816
  fieldProps: D,
12814
12817
  handleClickPrependInner: x,
12815
12818
  handleClickAppendInner: L
12816
- } = Co(e, t, oo), { items: P, itemsProps: A } = Sn(e), { inputProps: F } = ln(e, [
12819
+ } = Co(e, t, oo), { items: P, itemsProps: M } = Sn(e), { inputProps: F } = ln(e, [
12817
12820
  ...D,
12818
- ...A,
12821
+ ...M,
12819
12822
  "modelValue",
12820
12823
  "focused",
12821
12824
  "loading"
12822
- ]), { rootAttrs: E, inputAttrs: B } = jn(n), w = v(() => !!s(l) || e.active), M = v(() => e.clearable), z = T(), V = T(), K = T(), O = v(() => ({
12825
+ ]), { rootAttrs: E, inputAttrs: B } = jn(n), w = v(() => !!s(l) || e.active), A = v(() => e.clearable), H = T(), V = T(), K = T(), R = v(() => ({
12823
12826
  "cds-select--active": s(w),
12824
12827
  "cds-select--has-prefix": !!e.prefix,
12825
12828
  "cds-select--has-suffix": !!e.suffix
@@ -12837,7 +12840,7 @@ const pl = /* @__PURE__ */ et(Kv, [["render", Wv]]), oo = "CdsSelect", Uv = _({
12837
12840
  };
12838
12841
  return a({
12839
12842
  id: r,
12840
- fieldRef: z,
12843
+ fieldRef: H,
12841
12844
  validationRef: K,
12842
12845
  selectRef: V
12843
12846
  }), {
@@ -12845,7 +12848,7 @@ const pl = /* @__PURE__ */ et(Kv, [["render", Wv]]), oo = "CdsSelect", Uv = _({
12845
12848
  model: l,
12846
12849
  items: P,
12847
12850
  optionProps: G,
12848
- fieldRef: z,
12851
+ fieldRef: H,
12849
12852
  selectRef: V,
12850
12853
  validationRef: K,
12851
12854
  isFocused: p,
@@ -12859,9 +12862,9 @@ const pl = /* @__PURE__ */ et(Kv, [["render", Wv]]), oo = "CdsSelect", Uv = _({
12859
12862
  hasPrependInnerIcon: b,
12860
12863
  hasAppendInnerIcon: S,
12861
12864
  hasLoading: h,
12862
- hasClear: M,
12865
+ hasClear: A,
12863
12866
  fieldClasses: I,
12864
- selectClasses: O,
12867
+ selectClasses: R,
12865
12868
  iconClasses: m,
12866
12869
  loadingClasses: g,
12867
12870
  themeClasses: i,
@@ -12885,11 +12888,11 @@ const Yv = ["id", "value", "disabled", "aria-invalid", "autofocus"], Gv = {
12885
12888
  }, Qv = { class: "cds-select__arrow" };
12886
12889
  function ep(e, t, n, o, a, l) {
12887
12890
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-icon"), f = ve("cds-loader"), d = ve("cds-transition"), c = ve("cds-input");
12888
- return H(), ne("div", Te({
12891
+ return z(), ne("div", Te({
12889
12892
  ref: "fieldRef",
12890
12893
  class: ["cds-select-field", e.themeClasses]
12891
12894
  }, e.rootAttrs), [
12892
- e.hasLabel ? (H(), pe(i, {
12895
+ e.hasLabel ? (z(), pe(i, {
12893
12896
  key: 0,
12894
12897
  for: e.id,
12895
12898
  text: e.label
@@ -12899,7 +12902,7 @@ function ep(e, t, n, o, a, l) {
12899
12902
  ]),
12900
12903
  _: 3
12901
12904
  }, 8, ["for", "text"])) : ee("", !0),
12902
- e.hasDescription ? (H(), pe(r, {
12905
+ e.hasDescription ? (z(), pe(r, {
12903
12906
  key: 1,
12904
12907
  text: e.description
12905
12908
  }, {
@@ -12917,19 +12920,19 @@ function ep(e, t, n, o, a, l) {
12917
12920
  class: ["cds-select", [e.selectClasses, e.fieldClasses, e.iconClasses, e.loadingClasses]]
12918
12921
  }, { ...e.inputProps }), Cn({
12919
12922
  default: ie(({ isDisabled: m, isReadonly: h, isValid: g }) => [
12920
- e.hasPrependInnerIcon ? (H(), ne("div", {
12923
+ e.hasPrependInnerIcon ? (z(), ne("div", {
12921
12924
  key: 0,
12922
12925
  class: "cds-select__prepend-inner",
12923
12926
  onClick: t[0] || (t[0] = (...p) => e.handleClickPrependInner && e.handleClickPrependInner(...p))
12924
12927
  }, [
12925
12928
  X(e.$slots, "prepend-inner"),
12926
- e.prependInnerIcon ? (H(), pe(u, {
12929
+ e.prependInnerIcon ? (z(), pe(u, {
12927
12930
  key: 0,
12928
12931
  name: e.prependInnerIcon,
12929
12932
  size: e.size
12930
12933
  }, null, 8, ["name", "size"])) : ee("", !0)
12931
12934
  ])) : ee("", !0),
12932
- e.prefix ? (H(), ne("span", {
12935
+ e.prefix ? (z(), ne("span", {
12933
12936
  key: 1,
12934
12937
  class: "cds-select__prefix",
12935
12938
  onClick: t[1] || (t[1] = (...p) => e.onFocus && e.onFocus(...p))
@@ -12947,21 +12950,21 @@ function ep(e, t, n, o, a, l) {
12947
12950
  onBlur: t[4] || (t[4] = (...p) => e.onBlur && e.onBlur(...p))
12948
12951
  }), [
12949
12952
  Ke("option", Gv, at(e.placeholder), 1),
12950
- (H(!0), ne(Ve, null, nn(e.items, (p, C) => (H(), ne(Ve, {
12953
+ (z(!0), ne(Ve, null, nn(e.items, (p, C) => (z(), ne(Ve, {
12951
12954
  key: `${p.value}-${C}`
12952
12955
  }, [
12953
- p.children ? (H(), ne("optgroup", {
12956
+ p.children ? (z(), ne("optgroup", {
12954
12957
  key: 1,
12955
12958
  label: p.title
12956
12959
  }, [
12957
- (H(!0), ne(Ve, null, nn(p.children, (k, b) => (H(), ne("option", {
12960
+ (z(!0), ne(Ve, null, nn(p.children, (k, b) => (z(), ne("option", {
12958
12961
  key: `${k.value}-${b}`,
12959
12962
  value: k.value,
12960
12963
  label: k.title,
12961
12964
  disabled: k.props.disabled || h.value,
12962
12965
  selected: k.value === e.model
12963
12966
  }, null, 8, Zv))), 128))
12964
- ], 8, qv)) : (H(), ne("option", {
12967
+ ], 8, qv)) : (z(), ne("option", {
12965
12968
  key: 0,
12966
12969
  value: p.value,
12967
12970
  label: p.title,
@@ -12971,7 +12974,7 @@ function ep(e, t, n, o, a, l) {
12971
12974
  ], 64))), 128)),
12972
12975
  X(e.$slots, "default", Ft(en({ ...e.optionProps, disabled: m.value || h.value })))
12973
12976
  ], 16, Yv),
12974
- e.hasClear ? (H(), ne("div", Jv, [
12977
+ e.hasClear ? (z(), ne("div", Jv, [
12975
12978
  Ke("button", {
12976
12979
  type: "button",
12977
12980
  title: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430",
@@ -12984,12 +12987,12 @@ function ep(e, t, n, o, a, l) {
12984
12987
  }, null, 8, ["size"])
12985
12988
  ], 2)
12986
12989
  ])) : ee("", !0),
12987
- e.suffix ? (H(), ne("span", {
12990
+ e.suffix ? (z(), ne("span", {
12988
12991
  key: 3,
12989
12992
  class: "cds-select__suffix",
12990
12993
  onClick: t[6] || (t[6] = (...p) => e.onFocus && e.onFocus(...p))
12991
12994
  }, at(e.suffix), 1)) : ee("", !0),
12992
- e.hasAppendInnerIcon || e.hasLoading ? (H(), ne("div", {
12995
+ e.hasAppendInnerIcon || e.hasLoading ? (z(), ne("div", {
12993
12996
  key: 4,
12994
12997
  class: "cds-select__append-inner",
12995
12998
  onClick: t[7] || (t[7] = (...p) => e.handleClickAppendInner && e.handleClickAppendInner(...p))
@@ -13000,7 +13003,7 @@ function ep(e, t, n, o, a, l) {
13000
13003
  "aria-busy": "true"
13001
13004
  }, {
13002
13005
  default: ie(() => [
13003
- e.hasLoading ? (H(), pe(f, {
13006
+ e.hasLoading ? (z(), pe(f, {
13004
13007
  key: 0,
13005
13008
  size: "xs",
13006
13009
  class: "cds-select__loader"
@@ -13009,7 +13012,7 @@ function ep(e, t, n, o, a, l) {
13009
13012
  _: 1
13010
13013
  }),
13011
13014
  X(e.$slots, "append-inner"),
13012
- e.appendInnerIcon ? (H(), pe(u, {
13015
+ e.appendInnerIcon ? (z(), pe(u, {
13013
13016
  key: 0,
13014
13017
  name: e.appendInnerIcon,
13015
13018
  size: e.size
@@ -13105,10 +13108,10 @@ const op = { class: "cds-sidebar__header" }, ap = { class: "cds-sidebar__header-
13105
13108
  };
13106
13109
  function rp(e, t, n, o, a, l) {
13107
13110
  const i = ve("cds-button"), r = ve("cds-transition-expand-x");
13108
- return H(), ne(Ve, null, [
13111
+ return z(), ne(Ve, null, [
13109
13112
  Ze(r, null, {
13110
13113
  default: ie(() => [
13111
- e.modelValue ? (H(), ne("div", Te({ key: 0 }, e.attrs, {
13114
+ e.modelValue ? (z(), ne("div", Te({ key: 0 }, e.attrs, {
13112
13115
  class: ["cds-sidebar", [e.sizeClasses, e.themeClasses]]
13113
13116
  }), [
13114
13117
  Ke("div", op, [
@@ -13119,20 +13122,20 @@ function rp(e, t, n, o, a, l) {
13119
13122
  onClick: e.hide
13120
13123
  }, null, 8, ["onClick"])
13121
13124
  ]),
13122
- e.hasToolbarSlot ? (H(), ne("div", sp, [
13125
+ e.hasToolbarSlot ? (z(), ne("div", sp, [
13123
13126
  X(e.$slots, "toolbar")
13124
13127
  ])) : ee("", !0),
13125
13128
  Ke("div", lp, [
13126
13129
  X(e.$slots, "default")
13127
13130
  ]),
13128
- e.hasAppendSlot ? (H(), ne("div", ip, [
13131
+ e.hasAppendSlot ? (z(), ne("div", ip, [
13129
13132
  X(e.$slots, "append")
13130
13133
  ])) : ee("", !0)
13131
13134
  ], 16)) : ee("", !0)
13132
13135
  ]),
13133
13136
  _: 3
13134
13137
  }),
13135
- e.showOverlay ? (H(), ne("div", {
13138
+ e.showOverlay ? (z(), ne("div", {
13136
13139
  key: 0,
13137
13140
  class: "cds-sidebar__overlay",
13138
13141
  onClick: t[0] || (t[0] = (...u) => e.onClickOutside && e.onClickOutside(...u))
@@ -13310,20 +13313,20 @@ const pp = {
13310
13313
  d: "M1 0l8 16-8 16H0v-1h.383l7.499-15-7.5-15H0V0z"
13311
13314
  };
13312
13315
  function _p(e, t, n, o, a, l) {
13313
- return H(), ne("ul", {
13316
+ return z(), ne("ul", {
13314
13317
  class: vt(["cds-stages", e.themeClasses]),
13315
13318
  style: Lc(e.innerStyle)
13316
13319
  }, [
13317
- (H(!0), ne(Ve, null, nn(e.items, (i, r) => (H(), ne("li", {
13320
+ (z(!0), ne(Ve, null, nn(e.items, (i, r) => (z(), ne("li", {
13318
13321
  key: i.value,
13319
13322
  class: vt(["cds-stage", e.getStageClasses(i, r)])
13320
13323
  }, [
13321
- r !== 0 ? (H(), ne("svg", pp, [
13322
- e.isCurrent(r) && !e.hasError(i) && !e.isFinished ? (H(), ne("path", gp)) : (H(), ne("path", yp))
13324
+ r !== 0 ? (z(), ne("svg", pp, [
13325
+ e.isCurrent(r) && !e.hasError(i) && !e.isFinished ? (z(), ne("path", gp)) : (z(), ne("path", yp))
13323
13326
  ])) : ee("", !0),
13324
13327
  Ke("span", bp, at(i.title), 1),
13325
- r !== e.items.length - 1 ? (H(), ne("svg", Cp, [
13326
- e.isCurrent(r) && !e.hasError(i) && !e.isFinished ? (H(), ne("path", kp)) : (H(), ne("path", wp))
13328
+ r !== e.items.length - 1 ? (z(), ne("svg", Cp, [
13329
+ e.isCurrent(r) && !e.hasError(i) && !e.isFinished ? (z(), ne("path", kp)) : (z(), ne("path", wp))
13327
13330
  ])) : ee("", !0)
13328
13331
  ], 2))), 128))
13329
13332
  ], 6);
@@ -13347,11 +13350,11 @@ const Sp = /* @__PURE__ */ et(vp, [["render", _p]]), No = "CdsStatus", $p = _({
13347
13350
  });
13348
13351
  const Ip = { class: "cds-status__text" };
13349
13352
  function xp(e, t, n, o, a, l) {
13350
- return H(), ne("span", {
13353
+ return z(), ne("span", {
13351
13354
  class: vt(["cds-status", [e.themeClasses, e.appearanceClasses, e.statusClasses]])
13352
13355
  }, [
13353
13356
  Ke("span", Ip, [
13354
- e.text ? (H(), ne(Ve, { key: 0 }, [
13357
+ e.text ? (z(), ne(Ve, { key: 0 }, [
13355
13358
  Ht(at(e.text), 1)
13356
13359
  ], 64)) : X(e.$slots, "default", { key: 1 })
13357
13360
  ])
@@ -13493,7 +13496,7 @@ const Tp = {}, Op = /* @__PURE__ */ Ke("svg", {
13493
13496
  Op
13494
13497
  ];
13495
13498
  function Bp(e, t) {
13496
- return H(), ne("i", null, Rp);
13499
+ return z(), ne("i", null, Rp);
13497
13500
  }
13498
13501
  const Lp = /* @__PURE__ */ et(Tp, [["render", Bp]]), Np = {}, zp = /* @__PURE__ */ Ke("svg", {
13499
13502
  xmlns: "http://www.w3.org/2000/svg",
@@ -13509,7 +13512,7 @@ const Lp = /* @__PURE__ */ et(Tp, [["render", Bp]]), Np = {}, zp = /* @__PURE__
13509
13512
  zp
13510
13513
  ];
13511
13514
  function Vp(e, t) {
13512
- return H(), ne("i", null, Hp);
13515
+ return z(), ne("i", null, Hp);
13513
13516
  }
13514
13517
  const Kp = /* @__PURE__ */ et(Np, [["render", Vp]]), jp = "CdsStepsItem", Wp = _({
13515
13518
  name: jp,
@@ -14095,17 +14098,17 @@ function lc(e, t) {
14095
14098
  const xt = {}, bs = "SELECT_ALL", Cs = "SELECT_INVERT", ks = "SELECT_NONE", Mt = {}, _i = [];
14096
14099
  function ic(e, t) {
14097
14100
  const n = v(() => {
14098
- const A = e.value || {}, { checkStrictly: F = !0 } = A;
14099
- return { ...A, checkStrictly: F };
14101
+ const M = e.value || {}, { checkStrictly: F = !0 } = M;
14102
+ return { ...M, checkStrictly: F };
14100
14103
  }), [o, a] = eu(
14101
14104
  n.value.selectedRowKeys || n.value.defaultSelectedRowKeys || _i,
14102
14105
  {
14103
14106
  value: v(() => n.value.selectedRowKeys)
14104
14107
  }
14105
- ), l = Le(/* @__PURE__ */ new Map()), i = (A) => {
14108
+ ), l = Le(/* @__PURE__ */ new Map()), i = (M) => {
14106
14109
  if (n.value.preserveSelectedRowKeys) {
14107
14110
  const F = /* @__PURE__ */ new Map();
14108
- A.forEach((E) => {
14111
+ M.forEach((E) => {
14109
14112
  let B = t.getRecordByKey(E);
14110
14113
  !B && l.value.has(E) && (B = l.value.get(E)), F.set(E, B);
14111
14114
  }), l.value = F;
@@ -14120,14 +14123,14 @@ function ic(e, t) {
14120
14123
  childrenPropName: t.childrenColumnName.value
14121
14124
  }).keyEntities
14122
14125
  ), u = v(() => rc(t.pageData.value, t.childrenColumnName.value)), f = v(() => {
14123
- const A = /* @__PURE__ */ new Map(), F = t.getRowKey.value, E = n.value.getCheckboxProps;
14126
+ const M = /* @__PURE__ */ new Map(), F = t.getRowKey.value, E = n.value.getCheckboxProps;
14124
14127
  return u.value.forEach((B, w) => {
14125
- const M = F(B, w), z = (E ? E(B) : null) || {};
14126
- A.set(M, z), "checked" in z && He("CdsTable", "Do not set `checked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.");
14127
- }), A;
14128
- }), { maxLevel: d, levelEntities: c } = qp(r), m = (A) => {
14128
+ const A = F(B, w), H = (E ? E(B) : null) || {};
14129
+ M.set(A, H), "checked" in H && He("CdsTable", "Do not set `checked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.");
14130
+ }), M;
14131
+ }), { maxLevel: d, levelEntities: c } = qp(r), m = (M) => {
14129
14132
  var F;
14130
- return !!((F = f.value.get(t.getRowKey.value(A))) != null && F.disabled);
14133
+ return !!((F = f.value.get(t.getRowKey.value(M))) != null && F.disabled);
14131
14134
  }, h = v(() => n.value.checkStrictly ? { checkedKeys: o.value || [], halfCheckedKeys: [] } : Va(
14132
14135
  o.value,
14133
14136
  !0,
@@ -14136,78 +14139,78 @@ function ic(e, t) {
14136
14139
  c.value,
14137
14140
  m
14138
14141
  )), g = v(() => h.value.checkedKeys), p = v(() => h.value.halfCheckedKeys), C = v(() => {
14139
- const A = n.value.type === "radio" ? g.value.slice(0, 1) : g.value;
14140
- return new Set(A);
14142
+ const M = n.value.type === "radio" ? g.value.slice(0, 1) : g.value;
14143
+ return new Set(M);
14141
14144
  }), k = v(
14142
14145
  () => n.value.type === "radio" ? /* @__PURE__ */ new Set() : new Set(p.value)
14143
- ), [b, S] = yn(null), I = (A) => {
14146
+ ), [b, S] = yn(null), I = (M) => {
14144
14147
  let F, E;
14145
- i(A);
14146
- const { preserveSelectedRowKeys: B, onChange: w } = n.value, { getRecordByKey: M } = t;
14147
- B ? (F = A, E = A.map((z) => l.value.get(z))) : (F = [], E = [], A.forEach((z) => {
14148
- const V = M(z);
14149
- V !== void 0 && (F.push(z), E.push(V));
14148
+ i(M);
14149
+ const { preserveSelectedRowKeys: B, onChange: w } = n.value, { getRecordByKey: A } = t;
14150
+ B ? (F = M, E = M.map((H) => l.value.get(H))) : (F = [], E = [], M.forEach((H) => {
14151
+ const V = A(H);
14152
+ V !== void 0 && (F.push(H), E.push(V));
14150
14153
  })), a(F), w == null || w(F, E);
14151
- }, D = (A, F, E, B) => {
14152
- const { onSelect: w } = n.value, { getRecordByKey: M } = t || {};
14154
+ }, D = (M, F, E, B) => {
14155
+ const { onSelect: w } = n.value, { getRecordByKey: A } = t || {};
14153
14156
  if (w) {
14154
- const z = E.map((V) => M(V));
14155
- w(M(A), F, z, B);
14157
+ const H = E.map((V) => A(V));
14158
+ w(A(M), F, H, B);
14156
14159
  }
14157
14160
  I(E);
14158
14161
  }, x = v(() => {
14159
- const { onSelectNone: A, selections: F, hideSelectAll: E } = n.value, { data: B, pageData: w, getRowKey: M, locale: z } = t;
14162
+ const { onSelectNone: M, selections: F, hideSelectAll: E } = n.value, { data: B, pageData: w, getRowKey: A, locale: H } = t;
14160
14163
  return !F || E ? null : (F === !0 ? [bs, Cs, ks] : F).map((K) => K === bs ? {
14161
14164
  key: "all",
14162
- text: z.value.selectionAll,
14165
+ text: H.value.selectionAll,
14163
14166
  onSelect() {
14164
14167
  I(
14165
- B.value.map((O, G) => M.value(O, G)).filter((O) => {
14166
- const G = f.value.get(O);
14167
- return !(G != null && G.disabled) || C.value.has(O);
14168
+ B.value.map((R, G) => A.value(R, G)).filter((R) => {
14169
+ const G = f.value.get(R);
14170
+ return !(G != null && G.disabled) || C.value.has(R);
14168
14171
  })
14169
14172
  );
14170
14173
  }
14171
14174
  } : K === Cs ? {
14172
14175
  key: "invert",
14173
- text: z.value.selectInvert,
14176
+ text: H.value.selectInvert,
14174
14177
  onSelect() {
14175
- const O = new Set(C.value);
14178
+ const R = new Set(C.value);
14176
14179
  w.value.forEach((se, ce) => {
14177
- const le = M.value(se, ce), Ce = f.value.get(le);
14178
- Ce != null && Ce.disabled || (O.has(le) ? O.delete(le) : O.add(le));
14180
+ const le = A.value(se, ce), Ce = f.value.get(le);
14181
+ Ce != null && Ce.disabled || (R.has(le) ? R.delete(le) : R.add(le));
14179
14182
  });
14180
- const G = Array.from(O);
14183
+ const G = Array.from(R);
14181
14184
  I(G);
14182
14185
  }
14183
14186
  } : K === ks ? {
14184
14187
  key: "none",
14185
- text: z.value.selectNone,
14188
+ text: H.value.selectNone,
14186
14189
  onSelect() {
14187
- A == null || A(), I(
14188
- Array.from(C.value).filter((O) => {
14189
- const G = f.value.get(O);
14190
+ M == null || M(), I(
14191
+ Array.from(C.value).filter((R) => {
14192
+ const G = f.value.get(R);
14190
14193
  return G == null ? void 0 : G.disabled;
14191
14194
  })
14192
14195
  );
14193
14196
  }
14194
14197
  } : K);
14195
14198
  }), L = v(() => u.value.length);
14196
- return { transformColumns: (A) => {
14199
+ return { transformColumns: (M) => {
14197
14200
  var Re;
14198
14201
  const {
14199
14202
  onSelectMultiple: F,
14200
14203
  columnWidth: E,
14201
14204
  type: B,
14202
14205
  fixed: w,
14203
- renderCell: M,
14204
- hideSelectAll: z,
14206
+ renderCell: A,
14207
+ hideSelectAll: H,
14205
14208
  checkStrictly: V
14206
- } = n.value, { getRecordByKey: K, getRowKey: O, expandType: G, getPopupContainer: se } = t;
14209
+ } = n.value, { getRecordByKey: K, getRowKey: R, expandType: G, getPopupContainer: se } = t;
14207
14210
  if (!e.value)
14208
- return A.includes(xt) && He("CdsTable", "`rowSelection` is not config but `SELECTION_COLUMN` exists in the `columns`."), A.filter((de) => de !== xt);
14209
- let ce = A.slice();
14210
- const le = new Set(C.value), Ce = u.value.map(O.value).filter((de) => !f.value.get(de).disabled), ke = Ce.every((de) => le.has(de)), q = Ce.some((de) => le.has(de)), ye = () => {
14211
+ return M.includes(xt) && He("CdsTable", "`rowSelection` is not config but `SELECTION_COLUMN` exists in the `columns`."), M.filter((de) => de !== xt);
14212
+ let ce = M.slice();
14213
+ const le = new Set(C.value), Ce = u.value.map(R.value).filter((de) => !f.value.get(de).disabled), ke = Ce.every((de) => le.has(de)), q = Ce.some((de) => le.has(de)), ye = () => {
14211
14214
  ke ? Ce.forEach((ge) => {
14212
14215
  le.delete(ge);
14213
14216
  }) : Ce.forEach((ge) => {
@@ -14248,10 +14251,10 @@ function ic(e, t) {
14248
14251
  de = y("div", { class: "cds-table__selection--extra" }, $);
14249
14252
  }
14250
14253
  const ge = u.value.map(($, N) => {
14251
- const U = O.value($, N), j = f.value.get(U) || {};
14254
+ const U = R.value($, N), j = f.value.get(U) || {};
14252
14255
  return { checked: le.has(U), ...j };
14253
14256
  }).filter(({ disabled: $ }) => $), _e = !!ge.length && ge.length === L.value, De = _e && ge.every(({ modelValue: $ }) => $), Ge = _e && ge.some(({ modelValue: $ }) => $);
14254
- Ae = !z && y("div", { class: "cds-table__selection" }, [
14257
+ Ae = !H && y("div", { class: "cds-table__selection" }, [
14255
14258
  y(Vt, {
14256
14259
  modelValue: _e ? De : !!L.value && ke,
14257
14260
  indeterminate: _e ? !De && Ge : !ke && q,
@@ -14264,7 +14267,7 @@ function ic(e, t) {
14264
14267
  }
14265
14268
  let Oe;
14266
14269
  B === "radio" ? Oe = ({ record: de, index: ge }) => {
14267
- const _e = O.value(de, ge), De = le.has(_e), Ge = f.value.get(_e);
14270
+ const _e = R.value(de, ge), De = le.has(_e), Ge = f.value.get(_e);
14268
14271
  return {
14269
14272
  node: y(pl, {
14270
14273
  ...Ge,
@@ -14279,7 +14282,7 @@ function ic(e, t) {
14279
14282
  };
14280
14283
  } : Oe = ({ record: de, index: ge }) => {
14281
14284
  var U;
14282
- const _e = O.value(de, ge), De = le.has(_e), Ge = k.value.has(_e), $ = f.value.get(_e);
14285
+ const _e = R.value(de, ge), De = le.has(_e), Ge = k.value.has(_e), $ = f.value.get(_e);
14283
14286
  let N;
14284
14287
  return G.value === "nest" ? (N = Ge, typeof ($ == null ? void 0 : $.indeterminate) == "boolean" && He(
14285
14288
  "CdsTable",
@@ -14355,7 +14358,7 @@ function ic(e, t) {
14355
14358
  };
14356
14359
  const re = ({ record: de, index: ge }) => {
14357
14360
  const { node: _e, checked: De } = Oe({ record: de, index: ge });
14358
- return M ? M(De, de, ge, _e) : _e;
14361
+ return A ? A(De, de, ge, _e) : _e;
14359
14362
  };
14360
14363
  if (!ce.includes(xt))
14361
14364
  if (ce.findIndex((de) => {
@@ -14420,7 +14423,7 @@ function sg({
14420
14423
  }
14421
14424
  p.filter((P) => P === Mt).length > 1 && He("CdsTable", "There exist more than one `EXPAND_COLUMN` in `columns`.");
14422
14425
  const C = p.indexOf(Mt);
14423
- p = p.filter((P, A) => P !== Mt || A === C);
14426
+ p = p.filter((P, M) => P !== Mt || M === C);
14424
14427
  const k = e == null ? void 0 : e.value[C];
14425
14428
  let b;
14426
14429
  (d.value === "left" || d.value) && !(r != null && r.value) ? b = "left" : (d.value === "right" || d.value) && (r == null ? void 0 : r.value) === e.value.length ? b = "right" : b = k ? k.fixed : void 0;
@@ -14433,14 +14436,14 @@ function sg({
14433
14436
  fixed: b,
14434
14437
  class: "cds-table__row-expand-icon-cell",
14435
14438
  width: f.value,
14436
- customRender: ({ record: P, index: A }) => {
14437
- const F = o.value(P, A), E = S.has(F), B = I ? I(P) : !0, w = D({
14439
+ customRender: ({ record: P, index: M }) => {
14440
+ const F = o.value(P, M), E = S.has(F), B = I ? I(P) : !0, w = D({
14438
14441
  expanded: E,
14439
14442
  expandable: B,
14440
14443
  record: P,
14441
14444
  onExpand: a
14442
14445
  });
14443
- return x ? y("span", { onClick: (M) => M.stopPropagation() }, w) : w;
14446
+ return x ? y("span", { onClick: (A) => A.stopPropagation() }, w) : w;
14444
14447
  }
14445
14448
  };
14446
14449
  return p.map((P) => P === Mt ? L : P);
@@ -14581,14 +14584,14 @@ const fc = Symbol("cds:table"), rg = (e) => {
14581
14584
  var w;
14582
14585
  return Sa((w = e.column) == null ? void 0 : w.filters);
14583
14586
  }), f = v(() => {
14584
- const { filterDropdown: w, customFilterDropdown: M } = e.column;
14585
- return w || M && s(n).customFilterDropdown;
14587
+ const { filterDropdown: w, customFilterDropdown: A } = e.column;
14588
+ return w || A && s(n).customFilterDropdown;
14586
14589
  }), d = v(() => {
14587
14590
  const { filterIcon: w } = e.column;
14588
14591
  return w || s(n).customFilterIcon;
14589
14592
  }), c = (w) => {
14590
- var M, z;
14591
- i.value = w, (z = (M = e.column).onFilterDropdownVisibleChange) == null || z.call(M, w);
14593
+ var A, H;
14594
+ i.value = w, (H = (A = e.column).onFilterDropdownVisibleChange) == null || H.call(A, w);
14592
14595
  }, m = v(
14593
14596
  () => typeof l.value == "boolean" ? s(l) : s(i)
14594
14597
  ), h = v(() => {
@@ -14613,8 +14616,8 @@ const fc = Symbol("cds:table"), rg = (e) => {
14613
14616
  clearTimeout(s(k));
14614
14617
  });
14615
14618
  const S = T(""), I = (w) => {
14616
- const { value: M } = w.target;
14617
- S.value = M;
14619
+ const { value: A } = w.target;
14620
+ S.value = A;
14618
14621
  };
14619
14622
  J(i, () => {
14620
14623
  s(i) || (S.value = "");
@@ -14626,48 +14629,48 @@ const fc = Symbol("cds:table"), rg = (e) => {
14626
14629
  { immediate: !0 }
14627
14630
  );
14628
14631
  const D = (w) => {
14629
- const { column: M, columnKey: z, filterState: V } = e, K = w && w.length ? w : null;
14632
+ const { column: A, columnKey: H, filterState: V } = e, K = w && w.length ? w : null;
14630
14633
  if (K === null && (!V || !V.filteredKeys) || jt(K, V == null ? void 0 : V.filteredKeys))
14631
14634
  return null;
14632
- e.triggerFilter({ column: M, key: z, filteredKeys: K });
14635
+ e.triggerFilter({ column: A, key: H, filteredKeys: K });
14633
14636
  }, x = () => {
14634
14637
  c(!1), D(s(g));
14635
- }, L = ({ confirm: w, closeDropdown: M } = { confirm: !1, closeDropdown: !1 }) => {
14636
- w && D([]), M && c(!1), S.value = "", g.value = [];
14638
+ }, L = ({ confirm: w, closeDropdown: A } = { confirm: !1, closeDropdown: !1 }) => {
14639
+ w && D([]), A && c(!1), S.value = "", g.value = [];
14637
14640
  }, P = ({ closeDropdown: w } = { closeDropdown: !0 }) => {
14638
14641
  w && c(!1), D(s(g));
14639
- }, A = (w) => {
14642
+ }, M = (w) => {
14640
14643
  w && h.value !== void 0 && (g.value = h.value || []), c(w), !w && !s(f) && x();
14641
14644
  }, F = (w) => {
14642
14645
  w.target.checked ? g.value = s(u) : g.value = [];
14643
- }, E = ({ filters: w }) => (w || []).map((M, z) => {
14644
- const V = String(M.value), K = {
14645
- title: M.text,
14646
- key: M.value !== void 0 ? V : z
14646
+ }, E = ({ filters: w }) => (w || []).map((A, H) => {
14647
+ const V = String(A.value), K = {
14648
+ title: A.text,
14649
+ key: A.value !== void 0 ? V : H
14647
14650
  };
14648
- return M.children && (K.children = E({ filters: M.children })), K;
14651
+ return A.children && (K.children = E({ filters: A.children })), K;
14649
14652
  });
14650
14653
  v(() => E({ filters: e.column.filters }));
14651
14654
  const B = () => {
14652
- const w = g.value, { column: M, locale: z, getPopupContainer: V, filterMultiple: K } = e;
14653
- return (M.filters || []).length === 0 ? y(
14655
+ const w = g.value, { column: A, locale: H, getPopupContainer: V, filterMultiple: K } = e;
14656
+ return (A.filters || []).length === 0 ? y(
14654
14657
  "div",
14655
14658
  {
14656
14659
  class: "cds-table__dropdown-no-filters"
14657
14660
  },
14658
- z.filterEmptyText
14661
+ H.filterEmptyText
14659
14662
  ) : s(o) === "tree" ? y(Ve, [
14660
14663
  y(Si, {
14661
14664
  filterSearch: s(a),
14662
14665
  value: s(S),
14663
14666
  onChange: I,
14664
- locale: z
14667
+ locale: H
14665
14668
  }),
14666
14669
  y(
14667
14670
  "div",
14668
14671
  { class: "cds-table__filter-dropdown-tree" },
14669
14672
  K ? y(Vt, {
14670
- label: z.filterCheckAll,
14673
+ label: H.filterCheckAll,
14671
14674
  class: "cds-table__filter-dropdown--checkall",
14672
14675
  onChange: F,
14673
14676
  checked: w.length === s(u).length,
@@ -14680,19 +14683,19 @@ const fc = Symbol("cds:table"), rg = (e) => {
14680
14683
  filterSearch: s(a),
14681
14684
  value: s(S),
14682
14685
  onChange: I,
14683
- locale: z
14686
+ locale: H
14684
14687
  }),
14685
14688
  y(
14686
14689
  Yn,
14687
14690
  {
14688
14691
  selected: w,
14689
14692
  selectStrategy: K ? "independent" : "single-independent",
14690
- "onUpdate:selected": (O) => p({ selectedKeys: O }),
14691
- "onUpdate:opened": (O) => b(O)
14693
+ "onUpdate:selected": (R) => p({ selectedKeys: R }),
14694
+ "onUpdate:opened": (R) => b(R)
14692
14695
  },
14693
14696
  {
14694
14697
  default: () => kc({
14695
- filters: M.filters || [],
14698
+ filters: A.filters || [],
14696
14699
  filterSearch: s(a),
14697
14700
  filteredKeys: s(g),
14698
14701
  searchValue: s(S),
@@ -14704,7 +14707,7 @@ const fc = Symbol("cds:table"), rg = (e) => {
14704
14707
  };
14705
14708
  return () => {
14706
14709
  var G;
14707
- const { locale: w, column: M, getPopupContainer: z } = e;
14710
+ const { locale: w, column: A, getPopupContainer: H } = e;
14708
14711
  let V;
14709
14712
  if (typeof f.value == "function")
14710
14713
  V = f.value({
@@ -14712,9 +14715,9 @@ const fc = Symbol("cds:table"), rg = (e) => {
14712
14715
  selectedKeys: s(g),
14713
14716
  confirm: P,
14714
14717
  clearFilters: L,
14715
- filters: M.filters,
14718
+ filters: A.filters,
14716
14719
  visible: s(m),
14717
- column: M.__originColumn__
14720
+ column: A.__originColumn__
14718
14721
  });
14719
14722
  else if (s(f))
14720
14723
  V = s(f);
@@ -14740,11 +14743,11 @@ const fc = Symbol("cds:table"), rg = (e) => {
14740
14743
  ]);
14741
14744
  }
14742
14745
  const K = y(_g, { class: "cds-table__dropdown" }, { default: () => V });
14743
- let O;
14744
- return typeof d.value == "function" ? O = d.value({
14746
+ let R;
14747
+ return typeof d.value == "function" ? R = d.value({
14745
14748
  filtered: s(r),
14746
- column: M.__originColumn__
14747
- }) : s(d) ? O = s(d) : O = y(ot, { name: "funnel" }), y("div", { class: "cds-table__filter-column" }, [
14749
+ column: A.__originColumn__
14750
+ }) : s(d) ? R = s(d) : R = y(ot, { name: "funnel" }), y("div", { class: "cds-table__filter-column" }, [
14748
14751
  y("span", { class: "cds-table__column-title" }, (G = t.default) == null ? void 0 : G.call(t)),
14749
14752
  y(
14750
14753
  Gn,
@@ -14752,7 +14755,7 @@ const fc = Symbol("cds:table"), rg = (e) => {
14752
14755
  modelValue: s(i),
14753
14756
  closeOnContentClick: !1,
14754
14757
  transition: "slide-transition-y",
14755
- "onUpdate:modelValue": A
14758
+ "onUpdate:modelValue": M
14756
14759
  },
14757
14760
  {
14758
14761
  activator: ({ props: se }) => y(
@@ -14768,7 +14771,7 @@ const fc = Symbol("cds:table"), rg = (e) => {
14768
14771
  ...se
14769
14772
  },
14770
14773
  {
14771
- prepend: () => O
14774
+ prepend: () => R
14772
14775
  }
14773
14776
  ),
14774
14777
  default: () => y("div", { class: "cds-table__dropdown-content" }, K)
@@ -15122,7 +15125,7 @@ function _c(e, t, n, o, a, l, i) {
15122
15125
  ...d,
15123
15126
  class: `${d.class || ""} ${p ? "cds-table__column-sort" : ""}`,
15124
15127
  title: (L) => {
15125
- const P = (A) => y("div", { class: "cds-table__column-sorters", ...A }, [
15128
+ const P = (M) => y("div", { class: "cds-table__column-sorters", ...M }, [
15126
15129
  y("span", { class: "cds-table__column-title" }, yl(r.title, L)),
15127
15130
  y(
15128
15131
  "span",
@@ -15137,18 +15140,18 @@ function _c(e, t, n, o, a, l, i) {
15137
15140
  return m ? y(
15138
15141
  io,
15139
15142
  { ...x, offset: 24 },
15140
- { activator: ({ props: A }) => P(A) }
15143
+ { activator: ({ props: M }) => P(M) }
15141
15144
  ) : P({});
15142
15145
  },
15143
15146
  customHeaderCell: (L) => {
15144
- const P = r.customHeaderCell && r.customHeaderCell(L) || {}, A = P.onClick;
15147
+ const P = r.customHeaderCell && r.customHeaderCell(L) || {}, M = P.onClick;
15145
15148
  return P.onClick = (F) => {
15146
15149
  n({
15147
15150
  column: r,
15148
15151
  key: h,
15149
15152
  sortOrder: C,
15150
15153
  multiplePriority: $s(r)
15151
- }), A && A(F);
15154
+ }), M && M(F);
15152
15155
  }, P.class = `${P.class || ""} cds-table__column-has-sorters`, P;
15153
15156
  }
15154
15157
  };
@@ -15353,7 +15356,7 @@ function Lg(e, t) {
15353
15356
  }), r = T(), [u, f] = yn(!1), [d, c] = yn(!1), [m, h] = Sc(/* @__PURE__ */ new Map()), g = v(() => wa(t.value)), p = v(() => g.value.map((q) => m.value.get(q))), C = v(() => t.value.length), k = Rg(p, C), b = v(() => e.scroll && ys(e.scroll.y)), S = v(() => e.scroll && ys(e.scroll.x) || Boolean(e.expandFixed)), I = v(() => S.value && t.value.some(({ fixed: q }) => q)), D = T(), x = Og(nt(e, "sticky")), L = rt({}), P = v(() => {
15354
15357
  const [q] = Object.values(L);
15355
15358
  return (b.value || x.value.isSticky) && q;
15356
- }), A = (q, ye) => {
15359
+ }), M = (q, ye) => {
15357
15360
  ye ? L[q] = ye : delete L[q];
15358
15361
  }, F = T({}), E = T({}), B = T({});
15359
15362
  st(() => {
@@ -15373,7 +15376,7 @@ function Lg(e, t) {
15373
15376
  }
15374
15377
  return Ae;
15375
15378
  });
15376
- }, [M, z] = Tg(null);
15379
+ }, [A, H] = Tg(null);
15377
15380
  function V(q, ye) {
15378
15381
  if (!ye)
15379
15382
  return;
@@ -15390,17 +15393,17 @@ function Lg(e, t) {
15390
15393
  }) => {
15391
15394
  var re;
15392
15395
  const Ae = typeof ye == "number" ? ye : q.scrollLeft, Oe = q || Bg;
15393
- if ((!z() || z() === Oe) && (M(Oe), V(Ae, a.value), V(Ae, l.value), V(Ae, r.value), V(Ae, (re = D.value) == null ? void 0 : re.setScrollLeft)), q) {
15396
+ if ((!H() || H() === Oe) && (A(Oe), V(Ae, a.value), V(Ae, l.value), V(Ae, r.value), V(Ae, (re = D.value) == null ? void 0 : re.setScrollLeft)), q) {
15394
15397
  const { scrollWidth: we, clientWidth: Y } = q;
15395
15398
  f(Ae > 0), c(Ae < we - Y);
15396
15399
  }
15397
- }, O = () => {
15400
+ }, R = () => {
15398
15401
  S.value && l.value ? K({ currentTarget: l.value }) : (f(!1), c(!1));
15399
15402
  };
15400
15403
  let G;
15401
15404
  const se = (q) => {
15402
15405
  var ye;
15403
- q !== n.value && (O(), n.value = o.value ? (ye = o.value) == null ? void 0 : ye.offsetWidth : q);
15406
+ q !== n.value && (R(), n.value = o.value ? (ye = o.value) == null ? void 0 : ye.offsetWidth : q);
15404
15407
  }, ce = ({ width: q }) => {
15405
15408
  if (clearTimeout(G), n.value === 0) {
15406
15409
  se(q);
@@ -15413,14 +15416,14 @@ function Lg(e, t) {
15413
15416
  J(
15414
15417
  [S, () => e.data, () => e.columns],
15415
15418
  () => {
15416
- S.value && O();
15419
+ S.value && R();
15417
15420
  },
15418
15421
  { flush: "post" }
15419
15422
  );
15420
15423
  const [le, Ce] = yn(0);
15421
15424
  vg(), ut(() => {
15422
15425
  Je(() => {
15423
- O(), Ce(Cr(l.value).width), i.value = {
15426
+ R(), Ce(Cr(l.value).width), i.value = {
15424
15427
  scrollWidth: l.value.scrollWidth || 0,
15425
15428
  clientWidth: l.value.clientWidth || 0
15426
15429
  };
@@ -15462,7 +15465,7 @@ function Lg(e, t) {
15462
15465
  scrollYStyle: E,
15463
15466
  scrollTableStyle: B,
15464
15467
  scrollBodySizeInfo: i,
15465
- summaryCollect: A,
15468
+ summaryCollect: M,
15466
15469
  onColumnResize: w,
15467
15470
  onFullTableResize: ce,
15468
15471
  onScroll: K
@@ -15594,36 +15597,36 @@ const Cl = _({
15594
15597
  lastFixLeft: x,
15595
15598
  firstFixRight: L,
15596
15599
  lastFixRight: P,
15597
- appendNode: A = (fe = t.appendNode) == null ? void 0 : fe.call(t),
15600
+ appendNode: M = (fe = t.appendNode) == null ? void 0 : fe.call(t),
15598
15601
  additionalProps: F = {},
15599
15602
  ellipsis: E,
15600
15603
  align: B,
15601
15604
  rowType: w,
15602
- isSticky: M,
15603
- column: z = {},
15605
+ isSticky: A,
15606
+ column: H = {},
15604
15607
  cellType: V
15605
15608
  } = e;
15606
- let K, O;
15609
+ let K, R;
15607
15610
  const G = (Re = t.default) == null ? void 0 : Re.call(t);
15608
15611
  if (ys(G) || V === "header")
15609
- O = G;
15612
+ R = G;
15610
15613
  else {
15611
15614
  const De = Ju(h, C);
15612
- if (O = De, k) {
15615
+ if (R = De, k) {
15613
15616
  const Ge = k({
15614
15617
  text: De,
15615
15618
  value: De,
15616
15619
  record: h,
15617
15620
  index: g,
15618
15621
  renderIndex: p,
15619
- column: z.__originColumn__
15622
+ column: H.__originColumn__
15620
15623
  });
15621
15624
  Hg(Ge) ? (He(
15622
15625
  "CdsTable",
15623
15626
  "`columns.customRender` return cell props is deprecated with perf issue, please use `customCell` instead."
15624
- ), O = Ge.children, K = Ge.props) : O = Ge;
15627
+ ), R = Ge.children, K = Ge.props) : R = Ge;
15625
15628
  }
15626
- if (!(Tn in z) && V === "body" && n.value.bodyCell) {
15629
+ if (!(Tn in H) && V === "body" && n.value.bodyCell) {
15627
15630
  const Ge = oc(
15628
15631
  n.value,
15629
15632
  "bodyCell",
@@ -15632,25 +15635,25 @@ const Cl = _({
15632
15635
  value: De,
15633
15636
  record: h,
15634
15637
  index: g,
15635
- column: z.__originColumn__
15638
+ column: H.__originColumn__
15636
15639
  },
15637
15640
  () => {
15638
- const $ = O === void 0 ? De : O;
15641
+ const $ = R === void 0 ? De : R;
15639
15642
  return [
15640
15643
  typeof $ == "object" && Vg($) || typeof $ != "object" ? $ : null
15641
15644
  ];
15642
15645
  }
15643
15646
  );
15644
- O = sa(Ge);
15647
+ R = sa(Ge);
15645
15648
  }
15646
- e.transformCellText && (O = e.transformCellText({
15647
- text: O,
15649
+ e.transformCellText && (R = e.transformCellText({
15650
+ text: R,
15648
15651
  record: h,
15649
15652
  index: g,
15650
- column: z.__originColumn__
15653
+ column: H.__originColumn__
15651
15654
  }));
15652
15655
  }
15653
- typeof O == "object" && !Array.isArray(O) && !Fn(O) && (O = null), E && (x || L) && (O = y("span", { class: "cds-table__cell-content" }, O)), Array.isArray(O) && (O == null ? void 0 : O.length) === 1 && (O = O[0]);
15656
+ typeof R == "object" && !Array.isArray(R) && !Fn(R) && (R = null), E && (x || L) && (R = y("span", { class: "cds-table__cell-content" }, R)), Array.isArray(R) && (R == null ? void 0 : R.length) === 1 && (R = R[0]);
15654
15657
  const {
15655
15658
  colSpan: se,
15656
15659
  rowSpan: ce,
@@ -15666,7 +15669,7 @@ const Cl = _({
15666
15669
  B && (we.textAlign = B);
15667
15670
  let Y = "";
15668
15671
  const W = E === !0 ? { showTitle: !0 } : E;
15669
- W && (W.showTitle || w === "header") && (typeof O == "string" || typeof O == "number" ? Y = O.toString() : Fn(O) && (Y = m([O])));
15672
+ W && (W.showTitle || w === "header") && (typeof R == "string" || typeof R == "number" ? Y = R.toString() : Fn(R) && (Y = m([R])));
15670
15673
  const oe = {
15671
15674
  title: Y,
15672
15675
  ...ke,
@@ -15681,8 +15684,8 @@ const Cl = _({
15681
15684
  ["cds-table__cell--fix-right-first"]: L && i.value,
15682
15685
  ["cds-table__cell--fix-right-last"]: P && i.value,
15683
15686
  ["cds-table__cell--ellipsis"]: E,
15684
- ["cds-table__cell--with-append"]: A,
15685
- ["cds-table__cell--fix-sticky"]: (Oe || re) && M && i.value,
15687
+ ["cds-table__cell--with-append"]: M,
15688
+ ["cds-table__cell--fix-sticky"]: (Oe || re) && A && i.value,
15686
15689
  ["cds-table__cell--row-hover"]: !K && f.value
15687
15690
  }),
15688
15691
  onMouseenter: (De) => {
@@ -15696,7 +15699,7 @@ const Cl = _({
15696
15699
  ...le
15697
15700
  }
15698
15701
  };
15699
- return y(b, { ...oe }, [A, O, (_e = t.dragHandle) == null ? void 0 : _e.call(t)]);
15702
+ return y(b, { ...oe }, [M, R, (_e = t.dragHandle) == null ? void 0 : _e.call(t)]);
15700
15703
  };
15701
15704
  }
15702
15705
  });
@@ -15872,7 +15875,7 @@ const Dc = _({
15872
15875
  return typeof b == "string" ? b : typeof b == "function" ? b(p, C, k) : "";
15873
15876
  }), g = v(() => wa(o.flattenColumns));
15874
15877
  return () => {
15875
- const { class: p, style: C } = t, { record: k, index: b, rowKey: S, indent: I = 0, rowComponent: D, cellComponent: x } = e, { fixedInfoList: L, transformCellText: P } = n, { flattenColumns: A, expandedRowClassName: F, indentSize: E, expandIcon: B, expandedRowRender: w, expandIconColumnIndex: M } = o, z = y(
15878
+ const { class: p, style: C } = t, { record: k, index: b, rowKey: S, indent: I = 0, rowComponent: D, cellComponent: x } = e, { fixedInfoList: L, transformCellText: P } = n, { flattenColumns: M, expandedRowClassName: F, indentSize: E, expandIcon: B, expandedRowRender: w, expandIconColumnIndex: A } = o, H = y(
15876
15879
  D,
15877
15880
  {
15878
15881
  ...c.value,
@@ -15890,11 +15893,11 @@ const Dc = _({
15890
15893
  },
15891
15894
  onClick: m
15892
15895
  },
15893
- A.map((K, O) => {
15894
- const { customRender: G, dataIndex: se, class: ce } = K, le = g.value[O], Ce = L[O];
15896
+ M.map((K, R) => {
15897
+ const { customRender: G, dataIndex: se, class: ce } = K, le = g.value[R], Ce = L[R];
15895
15898
  let ke;
15896
15899
  K.customCell && (ke = K.customCell(k, b, K));
15897
- const q = O === (M || 0) && r.value ? y(Ve, [
15900
+ const q = R === (A || 0) && r.value ? y(Ve, [
15898
15901
  y("span", {
15899
15902
  style: { paddingLeft: `${E * I}px` },
15900
15903
  class: Q("cds-table__row-indent", `cds-table__row-indent-level--${I}`)
@@ -15928,19 +15931,19 @@ const Dc = _({
15928
15931
  );
15929
15932
  let V;
15930
15933
  if (i.value && (a.value || l.value)) {
15931
- const K = w && w({ record: k, index: b, indent: I + 1, expanded: l.value }), O = F && F(k, b, I);
15934
+ const K = w && w({ record: k, index: b, indent: I + 1, expanded: l.value }), R = F && F(k, b, I);
15932
15935
  V = y(
15933
15936
  Ec,
15934
15937
  {
15935
15938
  class: Q(
15936
15939
  "cds-table__expanded-row",
15937
15940
  `cds-table__expanded-row-level--${I + 1}`,
15938
- O
15941
+ R
15939
15942
  ),
15940
15943
  expanded: l.value,
15941
15944
  component: D,
15942
15945
  cellComponent: x,
15943
- colSpan: A.length,
15946
+ colSpan: M.length,
15944
15947
  isEmpty: !1
15945
15948
  },
15946
15949
  {
@@ -15948,7 +15951,7 @@ const Dc = _({
15948
15951
  }
15949
15952
  );
15950
15953
  }
15951
- return y(Ve, [z, V]);
15954
+ return y(Ve, [H, V]);
15952
15955
  };
15953
15956
  }
15954
15957
  }), Wg = _({
@@ -15981,15 +15984,15 @@ const Dc = _({
15981
15984
  }), () => {
15982
15985
  const { data: f, getRowKey: d, measureColumnWidth: c, expandedKeys: m, customRow: h, rowExpandable: g, childrenColumnName: p } = e, { onColumnResize: C } = n, { getComponent: k } = o, { flattenColumns: b } = a, S = k(["body", "wrapper"], "tbody"), I = k(["body", "row"], "tr"), D = k(["body", "cell"], "td");
15983
15986
  let x;
15984
- f.length ? x = l.value.map((P, A) => {
15985
- const { record: F, indent: E, index: B } = P, w = d(F, A);
15987
+ f.length ? x = l.value.map((P, M) => {
15988
+ const { record: F, indent: E, index: B } = P, w = d(F, M);
15986
15989
  return y(jg, {
15987
15990
  key: w,
15988
15991
  record: F,
15989
15992
  renderIndex: B,
15990
15993
  recordKey: w,
15991
15994
  rowKey: w,
15992
- index: A,
15995
+ index: M,
15993
15996
  rowComponent: I,
15994
15997
  cellComponent: D,
15995
15998
  expandedKeys: m,
@@ -16569,16 +16572,16 @@ const Oi = _({
16569
16572
  horizonScroll: x,
16570
16573
  stickyOffsets: L,
16571
16574
  stickyState: P,
16572
- scrollbarSize: A,
16575
+ scrollbarSize: M,
16573
16576
  mergedTableLayout: F,
16574
16577
  componentWidth: E,
16575
16578
  colWidths: B,
16576
16579
  columnCount: w,
16577
- pingedLeft: M,
16578
- pingedRight: z,
16580
+ pingedLeft: A,
16581
+ pingedRight: H,
16579
16582
  scrollXStyle: V,
16580
16583
  scrollYStyle: K,
16581
- scrollTableStyle: O,
16584
+ scrollTableStyle: R,
16582
16585
  scrollBodyRef: G,
16583
16586
  scrollHeaderRef: se,
16584
16587
  scrollSummaryRef: ce,
@@ -16594,7 +16597,7 @@ const Oi = _({
16594
16597
  rt({
16595
16598
  ...tn(Ja(e, "transformCellText")),
16596
16599
  getComponent: r,
16597
- scrollbarSize: A,
16600
+ scrollbarSize: M,
16598
16601
  fixedInfoList: v(
16599
16602
  () => k.value.map(
16600
16603
  (W, oe) => nc(oe, oe, k.value, L.value)
@@ -16676,8 +16679,8 @@ const Oi = _({
16676
16679
  let ae = () => null;
16677
16680
  if (S.value || Ge) {
16678
16681
  let xe = () => null;
16679
- typeof ze == "function" ? (xe = () => ze(a.value, { scrollbarSize: A.value, ref: G, onScroll: Oe }), De.colWidths = k.value.map(({ width: Xe }, Dn) => {
16680
- const $a = Dn === C.value.length - 1 ? Xe - A.value : Xe;
16682
+ typeof ze == "function" ? (xe = () => ze(a.value, { scrollbarSize: M.value, ref: G, onScroll: Oe }), De.colWidths = k.value.map(({ width: Xe }, Dn) => {
16683
+ const $a = Dn === C.value.length - 1 ? Xe - M.value : Xe;
16681
16684
  return typeof $a == "number" && !Number.isNaN($a) ? $a : (He(
16682
16685
  "CdsTable",
16683
16686
  "When use `components.body` with render props. Each column should have a fixed `width` value."
@@ -16690,7 +16693,7 @@ const Oi = _({
16690
16693
  style: { ...V.value, ...K.value },
16691
16694
  onScroll: Oe
16692
16695
  },
16693
- y(Fe, { style: { ...O.value, tableLayout: F.value } }, [
16696
+ y(Fe, { style: { ...R.value, tableLayout: F.value } }, [
16694
16697
  Y(),
16695
16698
  we(),
16696
16699
  !D.value && Z && y(zo, { stickyOffsets: L.value, flattenColumns: k.value }, Z)
@@ -16742,7 +16745,7 @@ const Oi = _({
16742
16745
  style: { ...V.value, ...K.value },
16743
16746
  onScroll: Oe
16744
16747
  },
16745
- y(Fe, { style: { ...O.value, tableLayout: F.value } }, [
16748
+ y(Fe, { style: { ...R.value, tableLayout: F.value } }, [
16746
16749
  Y(),
16747
16750
  Re !== !1 && y(Ti, { ...De, ...b.value }),
16748
16751
  we(),
@@ -16760,8 +16763,8 @@ const Oi = _({
16760
16763
  "cds-table--layout-fixed": fe === "fixed",
16761
16764
  "cds-table--fixed-header": S.value,
16762
16765
  "cds-table--fixed-column": I.value,
16763
- "cds-table--ping-left": M.value,
16764
- "cds-table--ping-right": z.value,
16766
+ "cds-table--ping-left": A.value,
16767
+ "cds-table--ping-right": H.value,
16765
16768
  "cds-table--scroll-horizontal": x.value,
16766
16769
  "cds-table--has-fix-left": k.value[0] && k.value[0].fixed,
16767
16770
  "cds-table--has-fix-right": k.value[w.value - 1] && k.value[w.value - 1].fixed === "right",
@@ -16841,7 +16844,7 @@ const Oi = _({
16841
16844
  transformColumns: x,
16842
16845
  mergedSorterStates: L,
16843
16846
  columnTitleSorterProps: P,
16844
- sorters: A
16847
+ sorters: M
16845
16848
  } = Dg({
16846
16849
  mergedColumns: i,
16847
16850
  onSorterChange: S,
@@ -16852,16 +16855,16 @@ const Oi = _({
16852
16855
  b({ filters: Y, filterStates: W }, "filter", !0);
16853
16856
  }, B = nt(e, "getPopupContainer"), {
16854
16857
  transformColumns: w,
16855
- mergedFilterStates: M,
16856
- filters: z
16858
+ mergedFilterStates: A,
16859
+ filters: H
16857
16860
  } = Ig({
16858
16861
  mergedColumns: i,
16859
16862
  onFilterChange: E,
16860
16863
  tableLocale: h,
16861
16864
  getPopupContainer: B
16862
- }), V = v(() => $i(F.value, M.value)), { filledColumns: K } = ag(nt(e, "contextSlots")), O = v(() => ({
16865
+ }), V = v(() => $i(F.value, A.value)), { filledColumns: K } = ag(nt(e, "contextSlots")), R = v(() => ({
16863
16866
  ...P.value
16864
- })), { filledColumns: G } = lg(O), se = (Y, W) => {
16867
+ })), { filledColumns: G } = lg(R), se = (Y, W) => {
16865
16868
  b({ pagination: { ...k.pagination, modelValue: Y, length: W } }, "paginate");
16866
16869
  }, { mergedPagination: ce, resetPagination: le } = Ag(
16867
16870
  v(() => V.value.length),
@@ -16870,7 +16873,7 @@ const Oi = _({
16870
16873
  se
16871
16874
  );
16872
16875
  st(() => {
16873
- k.sorter = A.value, k.sorterStates = L.value, k.filters = z.value, k.filterStates = M.value, k.pagination = e.pagination === !1 ? {} : Mg(e.pagination, ce.value), k.resetPagination = le;
16876
+ k.sorter = M.value, k.sorterStates = L.value, k.filters = H.value, k.filterStates = A.value, k.pagination = e.pagination === !1 ? {} : Mg(e.pagination, ce.value), k.resetPagination = le;
16874
16877
  });
16875
16878
  const Ce = v(() => {
16876
16879
  if (e.pagination === !1 || !ce.value.length)
@@ -17093,10 +17096,10 @@ const ny = _({
17093
17096
  "loading",
17094
17097
  "rows",
17095
17098
  "maxRows"
17096
- ]), { rootAttrs: A, inputAttrs: F } = jn(n), E = v(() => e.clearable && !e.loading), B = v(() => {
17099
+ ]), { rootAttrs: M, inputAttrs: F } = jn(n), E = v(() => e.clearable && !e.loading), B = v(() => {
17097
17100
  var q;
17098
17101
  return ((q = l.value) != null ? q : "").toString().length;
17099
- }), w = v(() => e.noResize || e.autoGrow), M = T(), z = T(), V = T(), K = T(), O = T(""), G = v(() => ({
17102
+ }), w = v(() => e.noResize || e.autoGrow), A = T(), H = T(), V = T(), K = T(), R = T(""), G = v(() => ({
17100
17103
  "cds-text-area--has-prefix": !!e.prefix,
17101
17104
  "cds-text-area--has-suffix": !!e.suffix,
17102
17105
  "cds-text-area--disabled-resize": s(w),
@@ -17113,7 +17116,7 @@ const ny = _({
17113
17116
  l.value = q.target.value;
17114
17117
  }, ce = () => {
17115
17118
  var q;
17116
- s(z) !== document.activeElement && ((q = s(z)) == null || q.focus()), s(p) || C();
17119
+ s(H) !== document.activeElement && ((q = s(H)) == null || q.focus()), s(p) || C();
17117
17120
  }, le = (q) => {
17118
17121
  q.stopPropagation(), ce(), Je(() => {
17119
17122
  l.value = null, o("click:clear", q);
@@ -17122,10 +17125,10 @@ const ny = _({
17122
17125
  function Ce() {
17123
17126
  !e.autoGrow || Je(() => {
17124
17127
  var we;
17125
- if (!s(K) || !s(z))
17128
+ if (!s(K) || !s(H))
17126
17129
  return;
17127
17130
  const q = getComputedStyle(s(K)), ye = (we = s(K)) == null ? void 0 : we.scrollHeight, Ae = parseFloat(q.lineHeight), Oe = Math.max(parseFloat(e.rows) * Ae), re = parseFloat(e.maxRows) * Ae || 1 / 0;
17128
- O.value = We(Bn(ye != null ? ye : 0, Oe, re));
17131
+ R.value = We(Bn(ye != null ? ye : 0, Oe, re));
17129
17132
  });
17130
17133
  }
17131
17134
  let ke;
@@ -17136,19 +17139,19 @@ const ny = _({
17136
17139
  }), a({
17137
17140
  id: r,
17138
17141
  isFocused: p,
17139
- fieldRef: M,
17140
- textareaRef: z,
17142
+ fieldRef: A,
17143
+ textareaRef: H,
17141
17144
  validationRef: V,
17142
17145
  sizerRef: K
17143
17146
  }), {
17144
17147
  id: r,
17145
17148
  model: l,
17146
- fieldRef: M,
17147
- textareaRef: z,
17149
+ fieldRef: A,
17150
+ textareaRef: H,
17148
17151
  validationRef: V,
17149
17152
  sizerRef: K,
17150
17153
  isFocused: p,
17151
- rootAttrs: A,
17154
+ rootAttrs: M,
17152
17155
  inputAttrs: F,
17153
17156
  inputProps: P,
17154
17157
  hasLabel: u,
@@ -17164,7 +17167,7 @@ const ny = _({
17164
17167
  textareaClasses: G,
17165
17168
  fieldClasses: I,
17166
17169
  loadingClasses: g,
17167
- textareaHeight: O,
17170
+ textareaHeight: R,
17168
17171
  themeClasses: i,
17169
17172
  onBlur: k,
17170
17173
  onFocus: ce,
@@ -17181,11 +17184,11 @@ const sy = ["id", "value", "placeholder", "disabled", "readonly", "aria-disabled
17181
17184
  };
17182
17185
  function iy(e, t, n, o, a, l) {
17183
17186
  const i = ve("cds-input-label"), r = ve("cds-input-description"), u = ve("cds-icon"), f = ve("cds-loader"), d = ve("cds-transition"), c = ve("cds-input"), m = ve("cds-input-counter");
17184
- return H(), ne("div", Te({
17187
+ return z(), ne("div", Te({
17185
17188
  ref: "fieldRef",
17186
17189
  class: ["cds-text-area-field", e.themeClasses]
17187
17190
  }, e.rootAttrs), [
17188
- e.hasLabel ? (H(), pe(i, {
17191
+ e.hasLabel ? (z(), pe(i, {
17189
17192
  key: 0,
17190
17193
  for: e.id,
17191
17194
  text: e.label
@@ -17195,7 +17198,7 @@ function iy(e, t, n, o, a, l) {
17195
17198
  ]),
17196
17199
  _: 3
17197
17200
  }, 8, ["for", "text"])) : ee("", !0),
17198
- e.hasDescription ? (H(), pe(r, {
17201
+ e.hasDescription ? (z(), pe(r, {
17199
17202
  key: 1,
17200
17203
  text: e.description
17201
17204
  }, {
@@ -17215,18 +17218,18 @@ function iy(e, t, n, o, a, l) {
17215
17218
  style: { "--cds-textarea-height": e.textareaHeight }
17216
17219
  }, { ...e.inputProps }), Cn({
17217
17220
  default: ie(({ isDisabled: h, isReadonly: g, isValid: p }) => [
17218
- e.hasPrependInnerIcon ? (H(), ne("div", {
17221
+ e.hasPrependInnerIcon ? (z(), ne("div", {
17219
17222
  key: 0,
17220
17223
  class: "cds-text-area__prepend-inner",
17221
17224
  onClick: t[0] || (t[0] = (...C) => e.handleClickPrependInner && e.handleClickPrependInner(...C))
17222
17225
  }, [
17223
17226
  X(e.$slots, "prepend-inner"),
17224
- e.prependInnerIcon ? (H(), pe(u, {
17227
+ e.prependInnerIcon ? (z(), pe(u, {
17225
17228
  key: 0,
17226
17229
  name: e.prependInnerIcon
17227
17230
  }, null, 8, ["name"])) : ee("", !0)
17228
17231
  ])) : ee("", !0),
17229
- e.prefix ? (H(), ne("span", {
17232
+ e.prefix ? (z(), ne("span", {
17230
17233
  key: 1,
17231
17234
  class: "cds-text-area__prefix",
17232
17235
  onClick: t[1] || (t[1] = (...C) => e.onFocus && e.onFocus(...C))
@@ -17248,7 +17251,7 @@ function iy(e, t, n, o, a, l) {
17248
17251
  onFocus: t[3] || (t[3] = (...C) => e.onFocus && e.onFocus(...C)),
17249
17252
  onBlur: t[4] || (t[4] = (...C) => e.onBlur && e.onBlur(...C))
17250
17253
  }), null, 16, sy),
17251
- e.autoGrow ? kn((H(), ne("textarea", {
17254
+ e.autoGrow ? kn((z(), ne("textarea", {
17252
17255
  key: 2,
17253
17256
  ref: "sizerRef",
17254
17257
  "onUpdate:modelValue": t[5] || (t[5] = (C) => e.model = C),
@@ -17258,7 +17261,7 @@ function iy(e, t, n, o, a, l) {
17258
17261
  }, null, 512)), [
17259
17262
  [Vc, e.model]
17260
17263
  ]) : ee("", !0),
17261
- e.hasClear ? (H(), ne("div", ly, [
17264
+ e.hasClear ? (z(), ne("div", ly, [
17262
17265
  Ke("button", {
17263
17266
  type: "button",
17264
17267
  title: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0443\u044E \u043E\u0431\u043B\u0430\u0441\u0442\u044C",
@@ -17268,18 +17271,18 @@ function iy(e, t, n, o, a, l) {
17268
17271
  Ze(u, { name: "remove" })
17269
17272
  ], 2)
17270
17273
  ])) : ee("", !0),
17271
- e.suffix ? (H(), ne("span", {
17274
+ e.suffix ? (z(), ne("span", {
17272
17275
  key: 4,
17273
17276
  class: "cds-text-area__suffix",
17274
17277
  onClick: t[7] || (t[7] = (...C) => e.onFocus && e.onFocus(...C))
17275
17278
  }, at(e.suffix), 1)) : ee("", !0),
17276
- e.hasAppendInnerIcon ? (H(), ne("div", {
17279
+ e.hasAppendInnerIcon ? (z(), ne("div", {
17277
17280
  key: 5,
17278
17281
  class: "cds-text-area__append-inner",
17279
17282
  onClick: t[8] || (t[8] = (...C) => e.handleClickAppendInner && e.handleClickAppendInner(...C))
17280
17283
  }, [
17281
17284
  X(e.$slots, "append-inner"),
17282
- e.appendInnerIcon ? (H(), pe(u, {
17285
+ e.appendInnerIcon ? (z(), pe(u, {
17283
17286
  key: 0,
17284
17287
  name: e.appendInnerIcon
17285
17288
  }, null, 8, ["name"])) : ee("", !0)
@@ -17290,7 +17293,7 @@ function iy(e, t, n, o, a, l) {
17290
17293
  "aria-busy": "true"
17291
17294
  }, {
17292
17295
  default: ie(() => [
17293
- e.hasLoading ? (H(), pe(f, {
17296
+ e.hasLoading ? (z(), pe(f, {
17294
17297
  key: 0,
17295
17298
  size: "xs",
17296
17299
  class: "cds-text-area__loader"
@@ -17319,7 +17322,7 @@ function iy(e, t, n, o, a, l) {
17319
17322
  key: "1"
17320
17323
  } : void 0
17321
17324
  ]), 1040, ["id", "modelValue", "focused", "class", "style"]),
17322
- e.counter || e.limit ? (H(), pe(m, {
17325
+ e.counter || e.limit ? (z(), pe(m, {
17323
17326
  key: 2,
17324
17327
  current: e.counterValue,
17325
17328
  max: e.limit,
@@ -17518,7 +17521,7 @@ const dy = "CdsTimePicker", fy = _({
17518
17521
  });
17519
17522
  function D(w) {
17520
17523
  w = Object.assign({ ...s(f) }, w);
17521
- const M = zs(
17524
+ const A = zs(
17522
17525
  new Date(
17523
17526
  w.year,
17524
17527
  w.month ? w.month - 1 : 0,
@@ -17533,10 +17536,10 @@ const dy = "CdsTimePicker", fy = _({
17533
17536
  w.year,
17534
17537
  w.timezoneOffset
17535
17538
  );
17536
- w.changed = M !== e.modelValue, t("update:modelValue", M, w);
17539
+ w.changed = A !== e.modelValue, t("update:modelValue", A, w);
17537
17540
  }
17538
17541
  function x() {
17539
- var w, M, z;
17542
+ var w, A, H;
17540
17543
  if (m.value && !m.value(f.value.hour)) {
17541
17544
  const V = Ka((w = p.value) == null ? void 0 : w.values, f.value.hour);
17542
17545
  P(V);
@@ -17544,15 +17547,15 @@ const dy = "CdsTimePicker", fy = _({
17544
17547
  }
17545
17548
  if (h.value && !h.value(f.value.minute)) {
17546
17549
  const V = Ka(
17547
- (M = C.value) == null ? void 0 : M.values,
17550
+ (A = C.value) == null ? void 0 : A.values,
17548
17551
  f.value.minute
17549
17552
  );
17550
- A(V);
17553
+ M(V);
17551
17554
  return;
17552
17555
  }
17553
17556
  if (e.withSeconds && s(g) && !s(g)(s(f).second)) {
17554
17557
  const V = Ka(
17555
- (z = s(k)) == null ? void 0 : z.values,
17558
+ (H = s(k)) == null ? void 0 : H.values,
17556
17559
  s(f).second
17557
17560
  );
17558
17561
  F(V);
@@ -17570,7 +17573,7 @@ const dy = "CdsTimePicker", fy = _({
17570
17573
  function P(w) {
17571
17574
  s(f).hour !== w && (f.value.hour = w, x());
17572
17575
  }
17573
- function A(w) {
17576
+ function M(w) {
17574
17577
  s(f).minute !== w && (f.value.minute = w, x());
17575
17578
  }
17576
17579
  function F(w) {
@@ -17619,7 +17622,7 @@ const dy = "CdsTimePicker", fy = _({
17619
17622
  readonly: e.readonly,
17620
17623
  disabled: e.disabled,
17621
17624
  tabindex: s(n),
17622
- onClick: () => A(s(f).minute + 1)
17625
+ onClick: () => M(s(f).minute + 1)
17623
17626
  }),
17624
17627
  y("input", {
17625
17628
  type: "number",
@@ -17628,7 +17631,7 @@ const dy = "CdsTimePicker", fy = _({
17628
17631
  placeholder: "--",
17629
17632
  readonly: e.readonly,
17630
17633
  disabled: e.disabled,
17631
- onInput: (w) => A(+w.target.value)
17634
+ onInput: (w) => M(+w.target.value)
17632
17635
  }),
17633
17636
  y(Be, {
17634
17637
  appearance: "transparent",
@@ -17636,7 +17639,7 @@ const dy = "CdsTimePicker", fy = _({
17636
17639
  readonly: e.readonly,
17637
17640
  disabled: e.disabled,
17638
17641
  tabindex: s(n),
17639
- onClick: () => A(s(f).minute - 1)
17642
+ onClick: () => M(s(f).minute - 1)
17640
17643
  })
17641
17644
  ]),
17642
17645
  e.withSeconds && y("div", { class: "cds-time-picker__separator" }, ":"),
@@ -17698,7 +17701,7 @@ const dy = "CdsTimePicker", fy = _({
17698
17701
  ])), {
17699
17702
  setNow: L,
17700
17703
  setHour: P,
17701
- setMinute: A,
17704
+ setMinute: M,
17702
17705
  setSecond: F,
17703
17706
  setAm: E,
17704
17707
  setPm: B
@@ -18124,9 +18127,9 @@ const yy = "CdsUploadListItem", by = _({
18124
18127
  } = e;
18125
18128
  let b = "link";
18126
18129
  s(r) === "error" ? b = "info" : s(r) === "done" && (b = c != null && c.url ? "link" : "check");
18127
- const S = (M = {}) => y(
18130
+ const S = (A = {}) => y(
18128
18131
  "div",
18129
- { class: Q("cds-uploader-list-item__icon"), ...M },
18132
+ { class: Q("cds-uploader-list-item__icon"), ...A },
18130
18133
  s(r) === "uploading" ? y(un, { size: "xs" }) : y(ot, {
18131
18134
  name: b,
18132
18135
  class: Q({
@@ -18139,12 +18142,12 @@ const yy = "CdsUploadListItem", by = _({
18139
18142
  text: o.removeFile
18140
18143
  },
18141
18144
  {
18142
- activator: ({ props: M }) => y(Be, {
18145
+ activator: ({ props: A }) => y(Be, {
18143
18146
  icon: e.removeIcon,
18144
18147
  appearance: "transparent",
18145
18148
  size: "sm",
18146
18149
  onClick: () => k == null ? void 0 : k(c),
18147
- ...M
18150
+ ...A
18148
18151
  })
18149
18152
  }
18150
18153
  ), D = m && (c == null ? void 0 : c.url) && s(r) === "done" && y(
@@ -18153,12 +18156,12 @@ const yy = "CdsUploadListItem", by = _({
18153
18156
  text: o.downloadFile
18154
18157
  },
18155
18158
  {
18156
- activator: ({ props: M }) => y(Be, {
18159
+ activator: ({ props: A }) => y(Be, {
18157
18160
  icon: e.downloadIcon,
18158
18161
  appearance: "transparent",
18159
18162
  size: "sm",
18160
18163
  onClick: () => p == null ? void 0 : p(c),
18161
- ...M
18164
+ ...A
18162
18165
  })
18163
18166
  }
18164
18167
  ), x = y(
@@ -18167,7 +18170,7 @@ const yy = "CdsUploadListItem", by = _({
18167
18170
  s(r) === "uploading" ? `${s(i)}%` : [D, I]
18168
18171
  ), L = typeof (c == null ? void 0 : c.linkProps) == "string" ? JSON.parse(c == null ? void 0 : c.linkProps) : c == null ? void 0 : c.linkProps, P = Q("cds-uploader-list-item__name", {
18169
18172
  [`cds-uploader-list-item__name--${s(r)}`]: !!s(r)
18170
- }), A = c != null && c.url ? y(Ve, {}, [
18173
+ }), M = c != null && c.url ? y(Ve, {}, [
18171
18174
  y(
18172
18175
  ml,
18173
18176
  {
@@ -18202,10 +18205,10 @@ const yy = "CdsUploadListItem", by = _({
18202
18205
  io,
18203
18206
  { text: F },
18204
18207
  {
18205
- activator: ({ props: M }) => S(M)
18208
+ activator: ({ props: A }) => S(A)
18206
18209
  }
18207
18210
  ) : S(),
18208
- s(a) && A,
18211
+ s(a) && M,
18209
18212
  y(
18210
18213
  cs,
18211
18214
  { tag: "div" },
@@ -18219,7 +18222,7 @@ const yy = "CdsUploadListItem", by = _({
18219
18222
  absolute: !0,
18220
18223
  height: 2,
18221
18224
  modelValue: c == null ? void 0 : c.percent,
18222
- "onUpdate:modelValue": (M) => i.value = M
18225
+ "onUpdate:modelValue": (A) => i.value = A
18223
18226
  })
18224
18227
  ] : void 0
18225
18228
  ),
@@ -18471,15 +18474,15 @@ const xy = "CdsAjaxUploader", Dy = _({
18471
18474
  let L;
18472
18475
  typeof x == "function" ? L = await x(b) : L = x;
18473
18476
  const { data: P } = e;
18474
- let A;
18475
- typeof P == "function" ? A = await P(b) : A = P;
18477
+ let M;
18478
+ typeof P == "function" ? M = await P(b) : M = P;
18476
18479
  const F = (typeof D == "object" || typeof D == "string") && D ? D : b;
18477
18480
  let E;
18478
18481
  F instanceof File ? E = F : E = new File([F], b.name, { type: b.type });
18479
18482
  const B = E;
18480
18483
  return B.uid = b.uid, {
18481
18484
  origin: b,
18482
- data: A,
18485
+ data: M,
18483
18486
  parsedFile: B,
18484
18487
  action: L
18485
18488
  };
@@ -18487,25 +18490,25 @@ const xy = "CdsAjaxUploader", Dy = _({
18487
18490
  function d({ data: b, origin: S, action: I, parsedFile: D }) {
18488
18491
  if (!r)
18489
18492
  return;
18490
- const { name: x, headers: L, withCredentials: P, method: A, customRequest: F, onStart: E } = e, { uid: B } = S, w = F || l, M = {
18493
+ const { name: x, headers: L, withCredentials: P, method: M, customRequest: F, onStart: E } = e, { uid: B } = S, w = F || l, A = {
18491
18494
  action: I,
18492
18495
  filename: x,
18493
18496
  data: b,
18494
18497
  file: D,
18495
18498
  headers: L,
18496
18499
  withCredentials: P,
18497
- method: A || "post",
18498
- onProgress: (z) => {
18499
- o("progress", z, D);
18500
+ method: M || "post",
18501
+ onProgress: (H) => {
18502
+ o("progress", H, D);
18500
18503
  },
18501
- onSuccess: (z, V) => {
18502
- o("success", z, D, V), delete i[B];
18504
+ onSuccess: (H, V) => {
18505
+ o("success", H, D, V), delete i[B];
18503
18506
  },
18504
- onError: (z, V) => {
18505
- o("error", z, V, D), delete i[B];
18507
+ onError: (H, V) => {
18508
+ o("error", H, V, D), delete i[B];
18506
18509
  }
18507
18510
  };
18508
- o("start", S), i[B] = w(M);
18511
+ o("start", S), i[B] = w(A);
18509
18512
  }
18510
18513
  function c(b) {
18511
18514
  if (b) {
@@ -18564,9 +18567,9 @@ const xy = "CdsAjaxUploader", Dy = _({
18564
18567
  Array.prototype.slice.call((L = b.dataTransfer) == null ? void 0 : L.files),
18565
18568
  (E) => Ua(E, e.accept)
18566
18569
  );
18567
- let A = P[0];
18570
+ let M = P[0];
18568
18571
  const F = P[1];
18569
- S === !1 && (A = A.slice(0, 1)), h(A), F.length && D && D(F);
18572
+ S === !1 && (M = M.slice(0, 1)), h(M), F.length && D && D(F);
18570
18573
  }
18571
18574
  }
18572
18575
  return Ee(() => {
@@ -18579,12 +18582,12 @@ const xy = "CdsAjaxUploader", Dy = _({
18579
18582
  multiple: x,
18580
18583
  accept: L,
18581
18584
  capture: P,
18582
- directory: A,
18585
+ directory: M,
18583
18586
  openFileDialogOnClick: F,
18584
18587
  onMouseenter: E,
18585
18588
  onMouseleave: B,
18586
18589
  ...w
18587
- } = e, M = I || S ? {} : {
18590
+ } = e, A = I || S ? {} : {
18588
18591
  onClick: e.openFileDialogOnClick ? p : () => {
18589
18592
  },
18590
18593
  onKeydown: e.openFileDialogOnClick ? C : () => {
@@ -18594,7 +18597,7 @@ const xy = "CdsAjaxUploader", Dy = _({
18594
18597
  onDrop: k,
18595
18598
  onDragover: k,
18596
18599
  tabindex: "0"
18597
- }, z = A ? { directory: "directory", webkitdirectory: "webkitdirectory" } : {};
18600
+ }, H = M ? { directory: "directory", webkitdirectory: "webkitdirectory" } : {};
18598
18601
  return y(
18599
18602
  e.tag,
18600
18603
  {
@@ -18605,7 +18608,7 @@ const xy = "CdsAjaxUploader", Dy = _({
18605
18608
  [mt.readonly]: I,
18606
18609
  [n.class]: !!n.class
18607
18610
  },
18608
- ...M
18611
+ ...A
18609
18612
  },
18610
18613
  [
18611
18614
  y("input", {
@@ -18621,7 +18624,7 @@ const xy = "CdsAjaxUploader", Dy = _({
18621
18624
  style: { display: "none" },
18622
18625
  onChange: g,
18623
18626
  onClick: (K) => K.stopPropagation(),
18624
- ...z,
18627
+ ...H,
18625
18628
  ...e.capture != null ? { capture: e.capture } : {}
18626
18629
  }),
18627
18630
  (V = t.default) == null ? void 0 : V.call(t)
@@ -18673,65 +18676,65 @@ const xy = "CdsAjaxUploader", Dy = _({
18673
18676
  value: l,
18674
18677
  postState: (E) => {
18675
18678
  const B = Date.now();
18676
- return (E != null ? E : []).map((w, M) => (!w.uid && !Object.isFrozen(w) && (w.uid = `__AUTO__${B}_${M}__`), w));
18679
+ return (E != null ? E : []).map((w, A) => (!w.uid && !Object.isFrozen(w) && (w.uid = `__AUTO__${B}_${A}__`), w));
18677
18680
  }
18678
18681
  });
18679
18682
  T("drop");
18680
18683
  const p = T(), C = T(), k = T();
18681
18684
  function b(E, B, w) {
18682
- let M = [...B];
18683
- e.maxCount === 1 ? M = M.slice(-1) : e.maxCount && (M = M.slice(0, e.maxCount)), g(M);
18684
- const z = {
18685
+ let A = [...B];
18686
+ e.maxCount === 1 ? A = A.slice(-1) : e.maxCount && (A = A.slice(0, e.maxCount)), g(A);
18687
+ const H = {
18685
18688
  file: E,
18686
- fileList: M
18689
+ fileList: A
18687
18690
  };
18688
- w && (z.event = w), o("update:modelValue", z.fileList), o("change", z);
18691
+ w && (H.event = w), o("update:modelValue", H.fileList), o("change", H);
18689
18692
  }
18690
18693
  async function S(E, B) {
18691
18694
  const { beforeUpload: w } = e;
18692
- let M = E;
18695
+ let A = E;
18693
18696
  if (w) {
18694
- const z = await w(E, B);
18695
- if (z === !1)
18697
+ const H = await w(E, B);
18698
+ if (H === !1)
18696
18699
  return !1;
18697
- if (delete E[Ko], z === Ko)
18700
+ if (delete E[Ko], H === Ko)
18698
18701
  return Object.defineProperty(E, Ko, {
18699
18702
  value: !0,
18700
18703
  configurable: !0
18701
18704
  }), !1;
18702
- typeof z == "object" && z && (M = z);
18705
+ typeof H == "object" && H && (A = H);
18703
18706
  }
18704
- return M;
18707
+ return A;
18705
18708
  }
18706
18709
  function I(E) {
18707
- const B = E.filter((z) => !z.file[Ko]);
18710
+ const B = E.filter((H) => !H.file[Ko]);
18708
18711
  if (!B.length)
18709
18712
  return;
18710
- const w = B.map((z) => Ho(z.file));
18711
- let M = [...s(h)];
18712
- w.forEach((z) => {
18713
- !z || (M = Vo(z, M));
18714
- }), w.forEach((z, V) => {
18715
- if (!z)
18713
+ const w = B.map((H) => Ho(H.file));
18714
+ let A = [...s(h)];
18715
+ w.forEach((H) => {
18716
+ !H || (A = Vo(H, A));
18717
+ }), w.forEach((H, V) => {
18718
+ if (!H)
18716
18719
  return;
18717
- let K = z;
18720
+ let K = H;
18718
18721
  if (B[V].parsedFile)
18719
- z.status = "uploading";
18722
+ H.status = "uploading";
18720
18723
  else {
18721
- const { originFileObj: O } = z;
18724
+ const { originFileObj: R } = H;
18722
18725
  let G;
18723
18726
  try {
18724
- G = new File([O], O.name, {
18725
- type: O.type
18727
+ G = new File([R], R.name, {
18728
+ type: R.type
18726
18729
  });
18727
18730
  } catch {
18728
- G = new Blob([O], {
18729
- type: O.type
18730
- }), G.name = O.name, G.lastModifiedDate = new Date(), G.lastModified = new Date().getTime();
18731
+ G = new Blob([R], {
18732
+ type: R.type
18733
+ }), G.name = R.name, G.lastModifiedDate = new Date(), G.lastModified = new Date().getTime();
18731
18734
  }
18732
- G.uid = z.uid, K = G;
18735
+ G.uid = H.uid, K = G;
18733
18736
  }
18734
- b(K, M);
18737
+ b(K, A);
18735
18738
  });
18736
18739
  }
18737
18740
  function D(E, B, w) {
@@ -18741,12 +18744,12 @@ const xy = "CdsAjaxUploader", Dy = _({
18741
18744
  }
18742
18745
  if (!Wa(B, s(h)))
18743
18746
  return;
18744
- const M = Ho(B);
18745
- if (!M)
18747
+ const A = Ho(B);
18748
+ if (!A)
18746
18749
  return;
18747
- M.status = "done", M.percent = 100, M.response = E, M.xhr = w;
18748
- const z = Vo(M, s(h));
18749
- b(M, z), o("success", E, M);
18750
+ A.status = "done", A.percent = 100, A.response = E, A.xhr = w;
18751
+ const H = Vo(A, s(h));
18752
+ b(A, H), o("success", E, A);
18750
18753
  }
18751
18754
  function x(E, B) {
18752
18755
  if (!B || !Wa(B, s(h)))
@@ -18755,40 +18758,40 @@ const xy = "CdsAjaxUploader", Dy = _({
18755
18758
  if (!w)
18756
18759
  return;
18757
18760
  w.status = "uploading", w.percent = E.percent;
18758
- const M = Vo(w, s(h));
18759
- b(w, M, E), o("progress", E, w);
18761
+ const A = Vo(w, s(h));
18762
+ b(w, A, E), o("progress", E, w);
18760
18763
  }
18761
18764
  function L(E, B, w) {
18762
18765
  if (!w || !Wa(w, s(h)))
18763
18766
  return;
18764
- const M = Ho(w);
18765
- if (!M)
18767
+ const A = Ho(w);
18768
+ if (!A)
18766
18769
  return;
18767
- M.error = E, M.response = B, M.status = "error";
18768
- const z = Vo(M, s(h));
18769
- b(M, z), o("error", E, B, M);
18770
+ A.error = E, A.response = B, A.status = "error";
18771
+ const H = Vo(A, s(h));
18772
+ b(A, H), o("error", E, B, A);
18770
18773
  }
18771
18774
  function P(E) {
18772
18775
  o("download", E);
18773
18776
  }
18774
- function A(E) {
18777
+ function M(E) {
18775
18778
  let B;
18776
18779
  Promise.resolve(o("remove", E)).then((w) => {
18777
- var z, V;
18780
+ var H, V;
18778
18781
  if (w === !1)
18779
18782
  return;
18780
- const M = wy(E, s(h));
18781
- M && (B = { ...E, status: "removed" }, (z = s(h)) == null || z.forEach((K) => {
18782
- const O = B.uid !== void 0 ? "uid" : "name";
18783
- K[O] === B[O] && !Object.isFrozen(K) && (K.status = "removed");
18784
- }), (V = s(k)) == null || V.abort(B), b(B, M));
18783
+ const A = wy(E, s(h));
18784
+ A && (B = { ...E, status: "removed" }, (H = s(h)) == null || H.forEach((K) => {
18785
+ const R = B.uid !== void 0 ? "uid" : "name";
18786
+ K[R] === B[R] && !Object.isFrozen(K) && (K.status = "removed");
18787
+ }), (V = s(k)) == null || V.abort(B), b(B, A));
18785
18788
  });
18786
18789
  }
18787
18790
  function F(E) {
18788
18791
  o("preview", E);
18789
18792
  }
18790
18793
  return Ee(() => {
18791
- const { class: E, style: B, ...w } = t, M = {
18794
+ const { class: E, style: B, ...w } = t, A = {
18792
18795
  ...e,
18793
18796
  ...w,
18794
18797
  id: s(r),
@@ -18798,7 +18801,7 @@ const xy = "CdsAjaxUploader", Dy = _({
18798
18801
  onProgress: x,
18799
18802
  onSuccess: D,
18800
18803
  onChange: void 0
18801
- }, z = {
18804
+ }, H = {
18802
18805
  appearance: "secondary",
18803
18806
  text: d.uploadFile,
18804
18807
  prependIcon: e.uploadIcon,
@@ -18806,11 +18809,11 @@ const xy = "CdsAjaxUploader", Dy = _({
18806
18809
  readonly: e.readonly
18807
18810
  }, V = () => y(
18808
18811
  Dy,
18809
- { ...M, ref: k },
18812
+ { ...A, ref: k },
18810
18813
  {
18811
18814
  default: () => {
18812
18815
  var se;
18813
- return n.default ? (se = n.default) == null ? void 0 : se.call(n, { props: z }) : y(Be, z);
18816
+ return n.default ? (se = n.default) == null ? void 0 : se.call(n, { props: H }) : y(Be, H);
18814
18817
  }
18815
18818
  }
18816
18819
  ), K = () => {
@@ -18841,13 +18844,13 @@ const xy = "CdsAjaxUploader", Dy = _({
18841
18844
  locale: ce,
18842
18845
  onPreview: F,
18843
18846
  onDownload: P,
18844
- onRemove: A
18847
+ onRemove: M
18845
18848
  },
18846
18849
  {
18847
18850
  itemRender: n.itemRender
18848
18851
  }
18849
18852
  );
18850
- }, O = s(c) ? { prepend: () => {
18853
+ }, R = s(c) ? { prepend: () => {
18851
18854
  var se;
18852
18855
  return (se = n.prepend) == null ? void 0 : se.call(n);
18853
18856
  } } : {}, G = s(m) ? { append: () => {
@@ -18883,7 +18886,7 @@ const xy = "CdsAjaxUploader", Dy = _({
18883
18886
  }
18884
18887
  },
18885
18888
  {
18886
- ...O,
18889
+ ...R,
18887
18890
  default: () => [V()],
18888
18891
  messages: () => {
18889
18892
  var se;