@kong/kongponents 9.14.19 → 9.14.20-pr.2534.697eddc5f.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3579,7 +3579,7 @@ const wf = {
3579
3579
  class: de(["k-alert", [e.appearance]])
3580
3580
  }, [
3581
3581
  e.showIcon || n.$slots.icon ? (p(), $("div", Og, [
3582
- q(n.$slots, "icon", {}, () => [
3582
+ q(n.$slots, "icon", { mdcUnwrap: "p" }, () => [
3583
3583
  (p(), G(Fe(a.value), {
3584
3584
  class: "alert-icon",
3585
3585
  decorative: "",
@@ -3590,7 +3590,7 @@ const wf = {
3590
3590
  F("div", Pg, [
3591
3591
  e.title ? (p(), $("span", Ng, re(e.title), 1)) : H("", !0),
3592
3592
  e.message || n.$slots.default ? (p(), $("div", Bg, [
3593
- q(n.$slots, "default", {}, () => [
3593
+ q(n.$slots, "default", { mdcUnwrap: "p" }, () => [
3594
3594
  F("p", null, re(e.message), 1)
3595
3595
  ])
3596
3596
  ])) : H("", !0)
@@ -3615,7 +3615,7 @@ const wf = {
3615
3615
  for (const [n, r] of t)
3616
3616
  a[n] = r;
3617
3617
  return a;
3618
- }, _g = /* @__PURE__ */ Ee(Lg, [["__scopeId", "data-v-512ca5a8"]]), Rg = {
3618
+ }, _g = /* @__PURE__ */ Ee(Lg, [["__scopeId", "data-v-312cd935"]]), Rg = {
3619
3619
  inheritAttrs: !1
3620
3620
  }, Yg = /* @__PURE__ */ oe({
3621
3621
  ...Rg,
@@ -3682,12 +3682,12 @@ const wf = {
3682
3682
  }, l.value, ho(u.value)), {
3683
3683
  default: P(() => [
3684
3684
  q(c.$slots, "icon", {}, void 0, !0),
3685
- q(c.$slots, "default", {}, void 0, !0)
3685
+ q(c.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
3686
3686
  ]),
3687
3687
  _: 3
3688
3688
  }, 16, ["class", "disabled", "tabindex", "type"]));
3689
3689
  }
3690
- }), lt = /* @__PURE__ */ Ee(Yg, [["__scopeId", "data-v-e73e1593"]]), Fg = ["top", "right", "bottom", "left"], Xu = ["start", "end"], Ju = /* @__PURE__ */ Fg.reduce((e, t) => e.concat(t, t + "-" + Xu[0], t + "-" + Xu[1]), []), Ni = Math.min, Sn = Math.max, Bi = Math.round, di = Math.floor, ln = (e) => ({
3690
+ }), lt = /* @__PURE__ */ Ee(Yg, [["__scopeId", "data-v-7d71de7f"]]), Fg = ["top", "right", "bottom", "left"], Xu = ["start", "end"], Ju = /* @__PURE__ */ Fg.reduce((e, t) => e.concat(t, t + "-" + Xu[0], t + "-" + Xu[1]), []), Ni = Math.min, Sn = Math.max, Bi = Math.round, di = Math.floor, ln = (e) => ({
3691
3691
  x: e,
3692
3692
  y: e
3693
3693
  }), zg = {
@@ -5489,7 +5489,8 @@ const _m = ["aria-labelledby", "x-placement"], Rm = ["tabindex"], Ym = {
5489
5489
  content: P(() => [
5490
5490
  dt((p(), $("div", qm, [
5491
5491
  q(i.$slots, "content", {
5492
- label: e.text || e.label
5492
+ label: e.text || e.label,
5493
+ mdcUnwrap: "p"
5493
5494
  }, () => [
5494
5495
  fe(re(e.text || e.label), 1)
5495
5496
  ], !0)
@@ -5498,13 +5499,13 @@ const _m = ["aria-labelledby", "x-placement"], Rm = ["tabindex"], Ym = {
5498
5499
  ])
5499
5500
  ]),
5500
5501
  default: P(() => [
5501
- q(i.$slots, "default", {}, void 0, !0)
5502
+ q(i.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
5502
5503
  ]),
5503
5504
  _: 3
5504
5505
  }, 16, ["max-width", "placement", "z-index"])) : q(i.$slots, "default", { key: 1 }, void 0, !0);
5505
5506
  };
5506
5507
  }
5507
- }), wa = /* @__PURE__ */ Ee(Wm, [["__scopeId", "data-v-a55c9998"]]), { getSizeFromString: Um } = Et(), Vm = {
5508
+ }), wa = /* @__PURE__ */ Ee(Wm, [["__scopeId", "data-v-f2e3130c"]]), { getSizeFromString: Um } = Et(), Vm = {
5508
5509
  name: "KBadge",
5509
5510
  components: { KButton: lt, KTooltip: wa }
5510
5511
  }, Km = /* @__PURE__ */ oe({
@@ -5548,7 +5549,7 @@ const _m = ["aria-labelledby", "x-placement"], Rm = ["tabindex"], Ym = {
5548
5549
  },
5549
5550
  setup(e) {
5550
5551
  Rt((o) => ({
5551
- "1ae0deb0": i.value
5552
+ "6371ec18": i.value
5552
5553
  }));
5553
5554
  const t = e, a = y(() => Object.keys(yf).includes(t.appearance)), n = M(), r = M(!1), i = y(() => Um(t.maxWidth)), s = async () => {
5554
5555
  var o, u;
@@ -5566,13 +5567,16 @@ const _m = ["aria-labelledby", "x-placement"], Rm = ["tabindex"], Ym = {
5566
5567
  F("div", {
5567
5568
  class: de(["badge-content", { "icon-after": !e.iconBefore }])
5568
5569
  }, [
5569
- o.$slots.icon ? q(o.$slots, "icon", { key: 0 }, void 0, !0) : H("", !0),
5570
+ o.$slots.icon ? q(o.$slots, "icon", {
5571
+ key: 0,
5572
+ mdcUnwrap: "p"
5573
+ }, void 0, !0) : H("", !0),
5570
5574
  F("div", {
5571
5575
  ref_key: "badgeTextElement",
5572
5576
  ref: n,
5573
5577
  class: "badge-content-wrapper"
5574
5578
  }, [
5575
- q(o.$slots, "default", {}, void 0, !0)
5579
+ q(o.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
5576
5580
  ], 512)
5577
5581
  ], 2)
5578
5582
  ]),
@@ -5580,7 +5584,7 @@ const _m = ["aria-labelledby", "x-placement"], Rm = ["tabindex"], Ym = {
5580
5584
  }, 8, ["text"]))
5581
5585
  ], 2));
5582
5586
  }
5583
- }), Ir = /* @__PURE__ */ Ee(Km, [["__scopeId", "data-v-f53a8b2c"]]), jm = {
5587
+ }), Ir = /* @__PURE__ */ Ee(Km, [["__scopeId", "data-v-a392efa5"]]), jm = {
5584
5588
  key: 0,
5585
5589
  class: "breadcrumbs-icon-container"
5586
5590
  }, Gm = {
@@ -7261,7 +7265,7 @@ const W1 = {
7261
7265
  return p(), $("label", {
7262
7266
  class: de(["k-label", { required: e.required }])
7263
7267
  }, [
7264
- q(i.$slots, "default", {}, void 0, !0),
7268
+ q(i.$slots, "default", { mdcUnwrap: "p" }, void 0, !0),
7265
7269
  n.value ? (p(), G(wa, He({ key: 0 }, e.tooltipAttributes, {
7266
7270
  class: "label-tooltip",
7267
7271
  "tooltip-id": x(r)
@@ -7285,7 +7289,7 @@ const W1 = {
7285
7289
  ], 2);
7286
7290
  };
7287
7291
  }
7288
- }), vn = /* @__PURE__ */ Ee(uy, [["__scopeId", "data-v-d5b88b97"]]), cy = ["aria-checked"], dy = { class: "checkbox-label-wrapper" }, fy = {
7292
+ }), vn = /* @__PURE__ */ Ee(uy, [["__scopeId", "data-v-cde08365"]]), cy = ["aria-checked"], dy = { class: "checkbox-label-wrapper" }, fy = {
7289
7293
  key: 1,
7290
7294
  class: "checkbox-description"
7291
7295
  }, vy = {
@@ -7365,7 +7369,7 @@ const W1 = {
7365
7369
  F("div", dy, [
7366
7370
  l.value ? dt((p(), G(vn, He({ key: 0 }, e.labelAttributes, { class: "checkbox-label" }), kt({
7367
7371
  default: P(() => [
7368
- q(b.$slots, "default", {}, () => [
7372
+ q(b.$slots, "default", { mdcUnwrap: "p" }, () => [
7369
7373
  fe(re(e.label), 1)
7370
7374
  ], !0)
7371
7375
  ]),
@@ -7382,7 +7386,7 @@ const W1 = {
7382
7386
  [g, { for: x(s) }]
7383
7387
  ]) : H("", !0),
7384
7388
  u.value ? (p(), $("div", fy, [
7385
- q(b.$slots, "description", {}, () => [
7389
+ q(b.$slots, "description", { mdcUnwrap: "p" }, () => [
7386
7390
  F("p", null, re(e.description), 1)
7387
7391
  ], !0)
7388
7392
  ])) : H("", !0)
@@ -7390,7 +7394,7 @@ const W1 = {
7390
7394
  ], 2);
7391
7395
  };
7392
7396
  }
7393
- }), Fi = /* @__PURE__ */ Ee(py, [["__scopeId", "data-v-8ae365e2"]]), hy = ["aria-invalid", "type", "value"], gy = ["aria-label"], my = {
7397
+ }), Fi = /* @__PURE__ */ Ee(py, [["__scopeId", "data-v-b183713f"]]), hy = ["aria-invalid", "type", "value"], gy = ["aria-label"], my = {
7394
7398
  inheritAttrs: !1
7395
7399
  }, yy = /* @__PURE__ */ oe({
7396
7400
  ...my,
@@ -7448,8 +7452,8 @@ const W1 = {
7448
7452
  emits: ["input", "update:modelValue", "char-limit-exceeded"],
7449
7453
  setup(e, { emit: t }) {
7450
7454
  Rt((T) => ({
7451
- 90849794: K.value,
7452
- a9f08fd6: U.value
7455
+ "7d66a52c": K.value,
7456
+ "884a6f3e": U.value
7453
7457
  }));
7454
7458
  const a = e, n = t, r = M(""), i = M(!1), s = M(0), { stripRequiredLabel: l } = Et(), o = It(), u = Vt(), c = y(() => (u == null ? void 0 : u.required) !== void 0 && String(u == null ? void 0 : u.required) !== "false"), d = u.id ? String(u.id) : Ct(), f = Ct(), v = y(() => l(a.label, c.value)), h = y(() => {
7455
7459
  var T;
@@ -7527,7 +7531,7 @@ const W1 = {
7527
7531
  ref: N,
7528
7532
  class: "before-content-wrapper"
7529
7533
  }, [
7530
- q(T.$slots, "before", {}, void 0, !0)
7534
+ q(T.$slots, "before", { mdcUnwrap: "p" }, void 0, !0)
7531
7535
  ], 512)) : H("", !0),
7532
7536
  dt(F("input", He({
7533
7537
  "aria-invalid": e.error || e.hasError || g.value ? "true" : void 0,
@@ -7562,7 +7566,10 @@ const W1 = {
7562
7566
  key: 1,
7563
7567
  decorative: ""
7564
7568
  }))
7565
- ], 40, gy)) : q(T.$slots, "after", { key: 1 }, void 0, !0)
7569
+ ], 40, gy)) : q(T.$slots, "after", {
7570
+ key: 1,
7571
+ mdcUnwrap: "p"
7572
+ }, void 0, !0)
7566
7573
  ], 512)) : H("", !0)
7567
7574
  ], 2),
7568
7575
  V(ia, {
@@ -7584,7 +7591,7 @@ const W1 = {
7584
7591
  ], 2);
7585
7592
  };
7586
7593
  }
7587
- }), dn = /* @__PURE__ */ Ee(yy, [["__scopeId", "data-v-3b182bc6"]]);
7594
+ }), dn = /* @__PURE__ */ Ee(yy, [["__scopeId", "data-v-8ecdf30b"]]);
7588
7595
  function qf(e, t) {
7589
7596
  let a;
7590
7597
  return (...n) => {
@@ -7812,8 +7819,8 @@ const Sy = {
7812
7819
  setup(e, { emit: t }) {
7813
7820
  var at, nt;
7814
7821
  Rt((Q) => ({
7815
- f7b3f622: Y.value,
7816
- "34564d64": k.value
7822
+ fe6f9ac8: Y.value,
7823
+ "451e687b": k.value
7817
7824
  }));
7818
7825
  const { getSizeFromString: a } = Et(), r = ((nt = (at = window == null ? void 0 : window.navigator) == null ? void 0 : at.platform) == null ? void 0 : nt.toLowerCase().includes("mac")) ? "Option" : "Alt", i = qf(_, 150), s = e, l = t, o = It(), u = M(s.query), c = M(!1), d = M(s.initialRegExpMode), f = M(s.initialFilterMode), v = M(null), h = M(null), b = M(s.query), C = M(0), g = M([]), m = M(null), w = y(() => {
7819
7826
  var Q;
@@ -8221,12 +8228,12 @@ const Sy = {
8221
8228
  ]),
8222
8229
  _: 1
8223
8230
  }, 8, ["aria-label", "copy-tooltip", "theme"])) : H("", !0),
8224
- q(Q.$slots, "secondary-actions", {}, void 0, !0)
8231
+ q(Q.$slots, "secondary-actions", { mdcUnwrap: "p" }, void 0, !0)
8225
8232
  ])) : H("", !0)
8226
8233
  ])
8227
8234
  ], 10, Dy));
8228
8235
  }
8229
- }), Fy = /* @__PURE__ */ Ee(Yy, [["__scopeId", "data-v-ca51cb93"]]), zy = { class: "k-collapse" }, Hy = { class: "collapse-trigger" }, qy = ["aria-expanded", "aria-label"], Wy = {
8236
+ }), Fy = /* @__PURE__ */ Ee(Yy, [["__scopeId", "data-v-1509a224"]]), zy = { class: "k-collapse" }, Hy = { class: "collapse-trigger" }, qy = ["aria-expanded", "aria-label"], Wy = {
8230
8237
  key: 0,
8231
8238
  class: "collapse-trigger-label",
8232
8239
  "data-testid": "collapse-trigger-label"
@@ -18351,13 +18358,16 @@ const e4 = /* @__PURE__ */ hn(X8, [["render", J8]]), t4 = { class: "k-segmented-
18351
18358
  type: "button",
18352
18359
  onClick: (c) => s(u)
18353
18360
  }, [
18354
- q(l.$slots, "option-label", { option: u }, () => [
18361
+ q(l.$slots, "option-label", {
18362
+ mdcUnwrap: "p",
18363
+ option: u
18364
+ }, () => [
18355
18365
  fe(re(u.label), 1)
18356
18366
  ], !0)
18357
18367
  ], 10, a4))), 128))
18358
18368
  ]));
18359
18369
  }
18360
- }), Np = /* @__PURE__ */ Ee(l4, [["__scopeId", "data-v-1c95a3b6"]]), u4 = ["tabindex"], c4 = ["innerHTML"], d4 = {
18370
+ }), Np = /* @__PURE__ */ Ee(l4, [["__scopeId", "data-v-49a186eb"]]), u4 = ["tabindex"], c4 = ["innerHTML"], d4 = {
18361
18371
  key: 1,
18362
18372
  class: "range-display"
18363
18373
  }, f4 = {
@@ -18927,7 +18937,7 @@ const e4 = /* @__PURE__ */ hn(X8, [["render", J8]]), t4 = { class: "k-segmented-
18927
18937
  }, 8, ["label"])),
18928
18938
  e.label || c.$slots.label ? dt((p(), G(f, { key: 0 }, {
18929
18939
  default: P(() => [
18930
- q(c.$slots, "label", {}, () => [
18940
+ q(c.$slots, "label", { mdcUnwrap: "p" }, () => [
18931
18941
  fe(re(e.label), 1)
18932
18942
  ], !0)
18933
18943
  ]),
@@ -18938,7 +18948,7 @@ const e4 = /* @__PURE__ */ hn(X8, [["render", J8]]), t4 = { class: "k-segmented-
18938
18948
  ], 2);
18939
18949
  };
18940
18950
  }
18941
- }), D4 = /* @__PURE__ */ Ee($4, [["__scopeId", "data-v-28e827c3"]]);
18951
+ }), D4 = /* @__PURE__ */ Ee($4, [["__scopeId", "data-v-e316084b"]]);
18942
18952
  /*!
18943
18953
  * tabbable 6.2.0
18944
18954
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -21162,7 +21172,7 @@ const _P = { "data-testid": "multiselect-container" }, RP = ["tabindex"], YP = {
21162
21172
  }, [
21163
21173
  dt((p(), G(vn, He(e.labelAttributes, { class: "radio-label" }), kt({
21164
21174
  default: P(() => [
21165
- q(C.$slots, "default", {}, () => [
21175
+ q(C.$slots, "default", { mdcUnwrap: "p" }, () => [
21166
21176
  fe(re(e.label), 1)
21167
21177
  ], !0)
21168
21178
  ]),
@@ -21179,7 +21189,7 @@ const _P = { "data-testid": "multiselect-container" }, RP = ["tabindex"], YP = {
21179
21189
  [m, { for: x(i) }]
21180
21190
  ]),
21181
21191
  o.value ? (p(), $("div", s7, [
21182
- q(C.$slots, "description", {}, () => [
21192
+ q(C.$slots, "description", { mdcUnwrap: "p" }, () => [
21183
21193
  F("p", null, re(e.description), 1)
21184
21194
  ], !0)
21185
21195
  ])) : H("", !0)
@@ -21193,12 +21203,12 @@ const _P = { "data-testid": "multiselect-container" }, RP = ["tabindex"], YP = {
21193
21203
  onKeyup: gt(v, ["space"])
21194
21204
  }, [
21195
21205
  C.$slots.default ? (p(), $("span", u7, [
21196
- q(C.$slots, "default", {}, void 0, !0)
21206
+ q(C.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
21197
21207
  ])) : H("", !0),
21198
21208
  e.label || u.value ? (p(), $("span", c7, [
21199
21209
  e.label ? (p(), $("span", d7, re(e.label), 1)) : H("", !0),
21200
21210
  u.value ? (p(), $("span", f7, [
21201
- q(C.$slots, "description", {}, () => [
21211
+ q(C.$slots, "description", { mdcUnwrap: "p" }, () => [
21202
21212
  fe(re(e.description), 1)
21203
21213
  ], !0)
21204
21214
  ])) : H("", !0)
@@ -21207,7 +21217,7 @@ const _P = { "data-testid": "multiselect-container" }, RP = ["tabindex"], YP = {
21207
21217
  ], 2);
21208
21218
  };
21209
21219
  }
21210
- }), h7 = /* @__PURE__ */ Ee(p7, [["__scopeId", "data-v-aa1b0d26"]]), g7 = ["aria-selected", "data-testid"], m7 = { class: "select-item-container" }, y7 = ["disabled", "value"], b7 = { class: "select-item-label" }, w7 = /* @__PURE__ */ oe({
21220
+ }), h7 = /* @__PURE__ */ Ee(p7, [["__scopeId", "data-v-276a6765"]]), g7 = ["aria-selected", "data-testid"], m7 = { class: "select-item-container" }, y7 = ["disabled", "value"], b7 = { class: "select-item-label" }, w7 = /* @__PURE__ */ oe({
21211
21221
  __name: "KSelectItem",
21212
21222
  props: {
21213
21223
  item: {
@@ -25169,9 +25179,9 @@ const dN = {
25169
25179
  },
25170
25180
  setup(e) {
25171
25181
  Rt((g) => ({
25172
- ab9f0938: u.value,
25173
- "7f8f51c0": x(c),
25174
- f3bcefe6: a.rows
25182
+ a8a3260a: u.value,
25183
+ 31740977: x(c),
25184
+ "2b3fd5d6": a.rows
25175
25185
  }));
25176
25186
  const { getSizeFromString: t } = Et(), a = e, n = M(a.expanded), r = M(!1), i = M(), s = M(), l = M(), o = M(), u = M("0px"), c = Eg, d = M(0), f = async () => {
25177
25187
  var g;
@@ -25216,6 +25226,7 @@ const dN = {
25216
25226
  n.value ? H("", !0) : (p(), $("div", TN, [
25217
25227
  q(g.$slots, "expand-trigger", {
25218
25228
  expand: b,
25229
+ mdcUnwrap: "p",
25219
25230
  truncatedCount: d.value
25220
25231
  }, () => [
25221
25232
  F("button", {
@@ -25232,9 +25243,12 @@ const dN = {
25232
25243
  ref: s,
25233
25244
  class: "truncate-container"
25234
25245
  }, [
25235
- q(g.$slots, "default", {}, void 0, !0),
25246
+ q(g.$slots, "default", { mdcUnwrap: "p" }, void 0, !0),
25236
25247
  !e.truncateText && n.value ? (p(), $("div", EN, [
25237
- q(g.$slots, "collapse-trigger", { collapse: b }, () => [
25248
+ q(g.$slots, "collapse-trigger", {
25249
+ collapse: b,
25250
+ mdcUnwrap: "p"
25251
+ }, () => [
25238
25252
  F("button", {
25239
25253
  "aria-label": "Collapse content",
25240
25254
  class: "collapse-trigger",
@@ -25256,7 +25270,10 @@ const dN = {
25256
25270
  class: "truncate-collapse-controls"
25257
25271
  }, [
25258
25272
  n.value ? H("", !0) : (p(), $("div", MN, [
25259
- q(g.$slots, "expand-trigger", { expand: b }, () => [
25273
+ q(g.$slots, "expand-trigger", {
25274
+ expand: b,
25275
+ mdcUnwrap: "p"
25276
+ }, () => [
25260
25277
  V(w, {
25261
25278
  appearance: "tertiary",
25262
25279
  size: "small",
@@ -25270,7 +25287,10 @@ const dN = {
25270
25287
  ], !0)
25271
25288
  ])),
25272
25289
  n.value ? (p(), $("div", IN, [
25273
- q(g.$slots, "collapse-trigger", { collapse: b }, () => [
25290
+ q(g.$slots, "collapse-trigger", {
25291
+ collapse: b,
25292
+ mdcUnwrap: "p"
25293
+ }, () => [
25274
25294
  V(w, {
25275
25295
  appearance: "tertiary",
25276
25296
  size: "small",
@@ -25287,7 +25307,7 @@ const dN = {
25287
25307
  ], 6);
25288
25308
  };
25289
25309
  }
25290
- }), PN = /* @__PURE__ */ Ee(ON, [["__scopeId", "data-v-a16a1149"]]), NN = { class: "k-copy" }, BN = {
25310
+ }), PN = /* @__PURE__ */ Ee(ON, [["__scopeId", "data-v-ea7a3a1f"]]), NN = { class: "k-copy" }, BN = {
25291
25311
  key: 0,
25292
25312
  class: "copy-badge-text"
25293
25313
  }, LN = ["aria-label", "onClick"], _N = /* @__PURE__ */ oe({