@wimi/ui 0.4.18 → 0.4.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.
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-BQq5z6-F.mjs";
1
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-B9_Aevn6.mjs";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -10,7 +10,7 @@ var __privateAdd = (obj2, member, value) => member.has(obj2) ? __typeError("Cann
10
10
  var __privateSet = (obj2, member, value, setter) => (__accessCheck(obj2, member, "write to private field"), setter ? setter.call(obj2, value) : member.set(obj2, value), value);
11
11
  var _components, _message;
12
12
  import * as vue$1 from "vue";
13
- import { computed, onMounted, nextTick, onBeforeUnmount, onUnmounted, toRef as toRef$2, readonly, ref, customRef, getCurrentScope, onScopeDispose, isRef, reactive, unref, getCurrentInstance, shallowRef, shallowReadonly, watch, hasInjectionContext, inject as inject$1, toValue as toValue$2, toRefs, watchEffect, h as h$3, defineComponent, mergeModels, useModel, useAttrs, createBlock, openBlock, resolveDynamicComponent, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, Fragment, isVNode, Comment, Text as Text$2, onUpdated, provide, triggerRef, Transition, withDirectives, resolveDirective, cloneVNode, withModifiers, vShow, onBeforeMount, Teleport, createTextVNode, toRaw, render as render$4, onBeforeUpdate, TransitionGroup, createElementBlock, normalizeClass, createElementVNode, toDisplayString, effectScope, withKeys, createCommentVNode, toHandlerKey, camelize as camelize$1, normalizeStyle as normalizeStyle$2, markRaw, watchPostEffect, mergeDefaults, useSlots, toHandlers, warn as warn$6, onActivated, onDeactivated, useId as useId$2, isReactive, createApp, resolveComponent } from "vue";
13
+ import { computed, onMounted, nextTick, onBeforeUnmount, onUnmounted, toRef as toRef$2, readonly, ref, customRef, getCurrentScope, onScopeDispose, isRef, reactive, unref, getCurrentInstance, shallowRef, shallowReadonly, watch, hasInjectionContext, inject as inject$1, toValue as toValue$2, toRefs, watchEffect, h as h$3, defineComponent, mergeModels, useModel, useAttrs, createBlock, openBlock, resolveDynamicComponent, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, Fragment, isVNode, Comment, Text as Text$2, onUpdated, provide, triggerRef, Transition, withDirectives, resolveDirective, cloneVNode, withModifiers, vShow, onBeforeMount, Teleport, createTextVNode, toRaw, render as render$4, onBeforeUpdate, TransitionGroup, createElementBlock, normalizeStyle as normalizeStyle$2, normalizeClass, createElementVNode, toDisplayString, effectScope, withKeys, createCommentVNode, toHandlerKey, camelize as camelize$1, markRaw, watchPostEffect, mergeDefaults, useSlots, toHandlers, warn as warn$6, onActivated, onDeactivated, useId as useId$2, isReactive, createApp, resolveComponent } from "vue";
14
14
  class GlobalShareState {
15
15
  constructor() {
16
16
  __privateAdd(this, _components, {});
@@ -44585,7 +44585,11 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
44585
44585
  };
44586
44586
  });
44587
44587
  return (_ctx, _cache) => {
44588
- return openBlock(), createElementBlock("span", null, [createVNode(unref(ConfigProvider), {
44588
+ var _a2, _b2;
44589
+ return openBlock(), createElementBlock("span", {
44590
+ class: normalizeClass((_a2 = _ctx.$attrs) == null ? void 0 : _a2.class),
44591
+ style: normalizeStyle$2((_b2 = _ctx.$attrs) == null ? void 0 : _b2.style)
44592
+ }, [createVNode(unref(ConfigProvider), {
44589
44593
  theme: {
44590
44594
  token: unref(tokens)
44591
44595
  }
@@ -44600,7 +44604,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
44600
44604
  _: 3
44601
44605
  }, 16, ["style", "class"])]),
44602
44606
  _: 3
44603
- }, 8, ["theme"])]);
44607
+ }, 8, ["theme"])], 6);
44604
44608
  };
44605
44609
  }
44606
44610
  });
@@ -44611,7 +44615,7 @@ const _export_sfc$1 = (sfc, props2) => {
44611
44615
  }
44612
44616
  return target;
44613
44617
  };
44614
- const WmButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$3n, [["__scopeId", "data-v-f5bb3ef5"]]);
44618
+ const WmButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$3n, [["__scopeId", "data-v-d07231de"]]);
44615
44619
  const locales = {
44616
44620
  reset: "重 置",
44617
44621
  submit: "提 交",
@@ -44641,31 +44645,31 @@ async function loadDayjsLocale(lang) {
44641
44645
  let locale2;
44642
44646
  switch (lang) {
44643
44647
  case "en-US": {
44644
- locale2 = await import("./en-gonzj404.mjs").then((n10) => n10.e);
44648
+ locale2 = await import("./en-CuEFUWUx.mjs").then((n10) => n10.e);
44645
44649
  break;
44646
44650
  }
44647
44651
  case "zh-CN": {
44648
- locale2 = await import("./zh-cn-rZv9VN_q.mjs").then((n10) => n10.z);
44652
+ locale2 = await import("./zh-cn-CPGMCy1A.mjs").then((n10) => n10.z);
44649
44653
  break;
44650
44654
  }
44651
44655
  case "zh-TW": {
44652
- locale2 = await import("./zh-tw-Doi3PYqg.mjs").then((n10) => n10.z);
44656
+ locale2 = await import("./zh-tw-Iws96JKG.mjs").then((n10) => n10.z);
44653
44657
  break;
44654
44658
  }
44655
44659
  case "ko-KR": {
44656
- locale2 = await import("./ko-BNNzPe5h.mjs").then((n10) => n10.k);
44660
+ locale2 = await import("./ko-COx6ax0z.mjs").then((n10) => n10.k);
44657
44661
  break;
44658
44662
  }
44659
44663
  case "ja-JP": {
44660
- locale2 = await import("./ja-CN386CXw.mjs").then((n10) => n10.j);
44664
+ locale2 = await import("./ja-Bc57uazT.mjs").then((n10) => n10.j);
44661
44665
  break;
44662
44666
  }
44663
44667
  case "ru-RU": {
44664
- locale2 = await import("./ru-CpRb9z7m.mjs").then((n10) => n10.r);
44668
+ locale2 = await import("./ru-CJWl3ORw.mjs").then((n10) => n10.r);
44665
44669
  break;
44666
44670
  }
44667
44671
  default: {
44668
- locale2 = await import("./zh-cn-rZv9VN_q.mjs").then((n10) => n10.z);
44672
+ locale2 = await import("./zh-cn-CPGMCy1A.mjs").then((n10) => n10.z);
44669
44673
  }
44670
44674
  }
44671
44675
  if (locale2) {
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-BQq5z6-F.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-B9_Aevn6.mjs";
2
2
  export {
3
3
  _ as ApiComponent,
4
4
  ad as Badge,