@kong/kongponents 9.28.4 → 9.28.5-pr.2685.52fe2b9fc.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.
@@ -1,7 +1,7 @@
1
1
  var Vg = Object.defineProperty;
2
2
  var Kg = (e, t, a) => t in e ? Vg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var za = (e, t, a) => Kg(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { defineComponent as le, reactive as $r, ref as N, computed as y, createBlock as X, openBlock as h, resolveDynamicComponent as Fe, normalizeStyle as Oe, withCtx as R, createElementBlock as x, normalizeClass as ce, createCommentVNode as G, createElementVNode as U, renderSlot as Q, unref as I, toDisplayString as ie, withKeys as ft, withModifiers as Ve, shallowRef as Bv, watch as fe, getCurrentScope as Rv, onScopeDispose as _v, shallowReadonly as Un, useSlots as Et, useAttrs as Vt, onMounted as lt, mergeProps as ze, toHandlers as cl, getCurrentInstance as Fv, onUnmounted as Kt, isReadonly as jg, toRefs as zv, watchEffect as Ws, Teleport as Gg, toValue as sn, useId as xt, onBeforeUnmount as fl, createVNode as Z, createTextVNode as me, Transition as ia, withDirectives as dn, vShow as vr, useCssVars as _t, nextTick as gt, Fragment as Ae, renderList as Re, createSlots as yt, isVNode as Yv, useTemplateRef as Mt, normalizeProps as lr, inject as fi, toRef as ho, provide as vi, guardReactiveProps as ys, isRef as Xn, resolveComponent as Yt, resolveDirective as Qg, Comment as Zg, cloneVNode as Xg, onBeforeMount as Jg, TransitionGroup as em, render as Uu, h as Vu } from "vue";
4
+ import { defineComponent as le, renderSlot as Q, unref as I, reactive as $r, ref as N, computed as y, createBlock as X, openBlock as h, resolveDynamicComponent as Fe, normalizeStyle as Oe, withCtx as R, createElementBlock as x, normalizeClass as ce, createCommentVNode as G, createElementVNode as U, toDisplayString as ie, withKeys as ft, withModifiers as Ve, shallowRef as Bv, watch as fe, getCurrentScope as Rv, onScopeDispose as _v, shallowReadonly as Un, useSlots as Et, useAttrs as Vt, onMounted as lt, mergeProps as ze, toHandlers as cl, getCurrentInstance as Fv, onUnmounted as Kt, isReadonly as jg, toRefs as zv, watchEffect as Ws, Teleport as Gg, toValue as sn, useId as xt, onBeforeUnmount as fl, createVNode as Z, createTextVNode as me, Transition as ia, withDirectives as dn, vShow as vr, useCssVars as _t, nextTick as gt, Fragment as Ae, renderList as Re, createSlots as yt, isVNode as Yv, useTemplateRef as Mt, normalizeProps as lr, inject as fi, toRef as ho, provide as vi, guardReactiveProps as ys, isRef as Xn, resolveComponent as Yt, resolveDirective as Qg, Comment as Zg, cloneVNode as Xg, onBeforeMount as Jg, TransitionGroup as em, render as Uu, h as Vu } from "vue";
5
5
  async function qv(e) {
6
6
  var n, r;
7
7
  if (navigator.clipboard)
@@ -21,12 +21,11 @@ async function qv(e) {
21
21
  }
22
22
  return a;
23
23
  }
24
- const Hv = le({
24
+ const Hv = /* @__PURE__ */ le({
25
25
  name: "KClipboardProvider",
26
- setup(e, { slots: t }) {
27
- return () => (t == null ? void 0 : t.default) && t.default({
28
- copyToClipboard: qv
29
- });
26
+ __name: "KClipboardProvider",
27
+ setup(e) {
28
+ return (t, a) => Q(t.$slots, "default", { copyToClipboard: I(qv) });
30
29
  }
31
30
  }), tm = le({
32
31
  name: "KComponent",
@@ -26299,8 +26298,8 @@ const aB = {
26299
26298
  r.value = p || a.successTooltip, setTimeout(() => {
26300
26299
  r.value = i.value;
26301
26300
  }, 1800);
26302
- }, c = (p) => {
26303
- if (!p(a.text)) {
26301
+ }, c = async (p) => {
26302
+ if (!await p(a.text)) {
26304
26303
  o("Failed to copy");
26305
26304
  return;
26306
26305
  }
@@ -26349,7 +26348,7 @@ const aB = {
26349
26348
  text: r.value
26350
26349
  }, {
26351
26350
  default: R(() => [
26352
- Z(I(Hv), null, {
26351
+ Z(Hv, null, {
26353
26352
  default: R(({ copyToClipboard: k }) => [
26354
26353
  U("button", {
26355
26354
  id: I(n),
@@ -26374,7 +26373,7 @@ const aB = {
26374
26373
  ], 2)
26375
26374
  ]));
26376
26375
  }
26377
- }), MB = /* @__PURE__ */ Ee(EB, [["__scopeId", "data-v-5efb0d28"]]), OB = {
26376
+ }), MB = /* @__PURE__ */ Ee(EB, [["__scopeId", "data-v-84992d99"]]), OB = {
26378
26377
  key: 0,
26379
26378
  class: "bulk-actions-dropdown-trigger-count"
26380
26379
  }, PB = /* @__PURE__ */ le({