@wimi/ui 0.4.14 → 0.4.15

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,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-CLDuFk6B.mjs";
1
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index--p3WIvK2.mjs";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -44641,31 +44641,31 @@ async function loadDayjsLocale(lang) {
44641
44641
  let locale2;
44642
44642
  switch (lang) {
44643
44643
  case "en-US": {
44644
- locale2 = await import("./en-Bp6yMdSa.mjs").then((n10) => n10.e);
44644
+ locale2 = await import("./en-zhQ74CV8.mjs").then((n10) => n10.e);
44645
44645
  break;
44646
44646
  }
44647
44647
  case "zh-CN": {
44648
- locale2 = await import("./zh-cn-CEo1UJcJ.mjs").then((n10) => n10.z);
44648
+ locale2 = await import("./zh-cn-BPD5pfh8.mjs").then((n10) => n10.z);
44649
44649
  break;
44650
44650
  }
44651
44651
  case "zh-TW": {
44652
- locale2 = await import("./zh-tw-DrFJUqSA.mjs").then((n10) => n10.z);
44652
+ locale2 = await import("./zh-tw-DsvLOt9e.mjs").then((n10) => n10.z);
44653
44653
  break;
44654
44654
  }
44655
44655
  case "ko-KR": {
44656
- locale2 = await import("./ko-addOvZ-F.mjs").then((n10) => n10.k);
44656
+ locale2 = await import("./ko-C09EeqdV.mjs").then((n10) => n10.k);
44657
44657
  break;
44658
44658
  }
44659
44659
  case "ja-JP": {
44660
- locale2 = await import("./ja-qI7cVSsr.mjs").then((n10) => n10.j);
44660
+ locale2 = await import("./ja-B3oW-E9e.mjs").then((n10) => n10.j);
44661
44661
  break;
44662
44662
  }
44663
44663
  case "ru-RU": {
44664
- locale2 = await import("./ru-IUI5EnNT.mjs").then((n10) => n10.r);
44664
+ locale2 = await import("./ru-BdoFWoJn.mjs").then((n10) => n10.r);
44665
44665
  break;
44666
44666
  }
44667
44667
  default: {
44668
- locale2 = await import("./zh-cn-CEo1UJcJ.mjs").then((n10) => n10.z);
44668
+ locale2 = await import("./zh-cn-BPD5pfh8.mjs").then((n10) => n10.z);
44669
44669
  }
44670
44670
  }
44671
44671
  if (locale2) {
@@ -225923,8 +225923,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
225923
225923
  ], 4)) : createCommentVNode("", true),
225924
225924
  createVNode(unref(CnScrollbar), {
225925
225925
  style: normalizeStyle$2(contentStyle.value),
225926
- shadow: "",
225927
- "shadow-border": ""
225926
+ shadow: ""
225928
225927
  }, {
225929
225928
  default: withCtx(() => [
225930
225929
  renderSlot(_ctx.$slots, "default")
@@ -225952,8 +225951,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
225952
225951
  }, [
225953
225952
  createVNode(unref(CnScrollbar), {
225954
225953
  class: "border-border h-full",
225955
- shadow: "",
225956
- "shadow-border": ""
225954
+ shadow: ""
225957
225955
  }, {
225958
225956
  default: withCtx(() => [
225959
225957
  renderSlot(_ctx.$slots, "extra")
@@ -303212,8 +303210,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
303212
303210
  return {
303213
303211
  ...gridEvents.value,
303214
303212
  toolbarToolClick: onToolbarToolClick,
303215
- custom: () => {
303216
- customOpen.value = false;
303213
+ custom: ({ type }) => {
303214
+ console.log(type);
303215
+ if (type === "confirm") {
303216
+ console.log(1);
303217
+ }
303218
+ if (type === "close") {
303219
+ customOpen.value = false;
303220
+ }
303221
+ },
303222
+ customVisibleAll: ({ checked }) => {
303223
+ console.log(checked);
303217
303224
  }
303218
303225
  };
303219
303226
  });
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { _, ad, a2, a3, a4, aa, a5, a8, a6, a7, a9, ab, e, b, h, ae, ag, ah, ai, aj, ak, af, al, am, an, ao, ap, aq, ar, as, B, $, N, Q, R, S, q, a0, y, W, a, i, f, j, k, l, t, v, T, w, x, z, A, C, F, G, I, H, J, O, P, U, V, X, L, ac, aZ, aR, au, a1, aW, av, aw, aA, aB, aF, az, aC, at, aG, ax, ay, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aS, Y, aY, aX, aV, aD, s, D, Z, o, K, aT, aU, aE, m, p, r, M, u, E, n } from "./index-CLDuFk6B.mjs";
1
+ import { _, ad, a2, a3, a4, aa, a5, a8, a6, a7, a9, ab, e, b, h, ae, ag, ah, ai, aj, ak, af, al, am, an, ao, ap, aq, ar, as, B, $, N, Q, R, S, q, a0, y, W, a, i, f, j, k, l, t, v, T, w, x, z, A, C, F, G, I, H, J, O, P, U, V, X, L, ac, aZ, aR, au, a1, aW, av, aw, aA, aB, aF, az, aC, at, aG, ax, ay, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aS, Y, aY, aX, aV, aD, s, D, Z, o, K, aT, aU, aE, m, p, r, M, u, E, n } from "./index--p3WIvK2.mjs";
2
2
  export {
3
3
  _ as ApiComponent,
4
4
  ad as Badge,