@wimi/ui 0.4.13 → 0.4.14
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/{en-B05wBZ2q.mjs → en-Bp6yMdSa.mjs} +1 -1
- package/dist/{index-ByPAXpqi.mjs → index-CLDuFk6B.mjs} +11 -11
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/{ja-B0ajEqEd.mjs → ja-qI7cVSsr.mjs} +1 -1
- package/dist/{ko-B0k4qkMJ.mjs → ko-addOvZ-F.mjs} +1 -1
- package/dist/{ru-BaYgCW_A.mjs → ru-IUI5EnNT.mjs} +1 -1
- package/dist/{zh-cn-_AZ8R08b.mjs → zh-cn-CEo1UJcJ.mjs} +1 -1
- package/dist/{zh-tw-CMX5zErd.mjs → zh-tw-DrFJUqSA.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-CLDuFk6B.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-
|
|
44644
|
+
locale2 = await import("./en-Bp6yMdSa.mjs").then((n10) => n10.e);
|
|
44645
44645
|
break;
|
|
44646
44646
|
}
|
|
44647
44647
|
case "zh-CN": {
|
|
44648
|
-
locale2 = await import("./zh-cn-
|
|
44648
|
+
locale2 = await import("./zh-cn-CEo1UJcJ.mjs").then((n10) => n10.z);
|
|
44649
44649
|
break;
|
|
44650
44650
|
}
|
|
44651
44651
|
case "zh-TW": {
|
|
44652
|
-
locale2 = await import("./zh-tw-
|
|
44652
|
+
locale2 = await import("./zh-tw-DrFJUqSA.mjs").then((n10) => n10.z);
|
|
44653
44653
|
break;
|
|
44654
44654
|
}
|
|
44655
44655
|
case "ko-KR": {
|
|
44656
|
-
locale2 = await import("./ko-
|
|
44656
|
+
locale2 = await import("./ko-addOvZ-F.mjs").then((n10) => n10.k);
|
|
44657
44657
|
break;
|
|
44658
44658
|
}
|
|
44659
44659
|
case "ja-JP": {
|
|
44660
|
-
locale2 = await import("./ja-
|
|
44660
|
+
locale2 = await import("./ja-qI7cVSsr.mjs").then((n10) => n10.j);
|
|
44661
44661
|
break;
|
|
44662
44662
|
}
|
|
44663
44663
|
case "ru-RU": {
|
|
44664
|
-
locale2 = await import("./ru-
|
|
44664
|
+
locale2 = await import("./ru-IUI5EnNT.mjs").then((n10) => n10.r);
|
|
44665
44665
|
break;
|
|
44666
44666
|
}
|
|
44667
44667
|
default: {
|
|
44668
|
-
locale2 = await import("./zh-cn-
|
|
44668
|
+
locale2 = await import("./zh-cn-CEo1UJcJ.mjs").then((n10) => n10.z);
|
|
44669
44669
|
}
|
|
44670
44670
|
}
|
|
44671
44671
|
if (locale2) {
|
|
@@ -303182,9 +303182,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
303182
303182
|
const globalGridConfig = ((_a3 = VxeUI == null ? void 0 : VxeUI.getConfig()) == null ? void 0 : _a3.grid) ?? {};
|
|
303183
303183
|
const mergedOptions = cloneDeep$3(mergeWithArrayOverride({}, toRaw(toolbarOptions.value), toRaw(gridOptions.value), globalGridConfig));
|
|
303184
303184
|
if (mergedOptions.proxyConfig) {
|
|
303185
|
-
const { ajax
|
|
303185
|
+
const { ajax } = mergedOptions.proxyConfig;
|
|
303186
303186
|
mergedOptions.proxyConfig.enabled = !!ajax;
|
|
303187
|
-
mergedOptions.proxyConfig.autoLoad =
|
|
303187
|
+
mergedOptions.proxyConfig.autoLoad = false;
|
|
303188
303188
|
}
|
|
303189
303189
|
if (mergedOptions.pagerConfig) {
|
|
303190
303190
|
const mobileLayouts = ["PrevJump", "PrevPage", "Number", "NextPage", "NextJump"];
|
|
@@ -303243,7 +303243,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
303243
303243
|
const autoLoad = (_b3 = defaultGridOptions.proxyConfig) == null ? void 0 : _b3.autoLoad;
|
|
303244
303244
|
const enableProxyConfig = (_c2 = options.value.proxyConfig) == null ? void 0 : _c2.enabled;
|
|
303245
303245
|
if (enableProxyConfig && autoLoad) {
|
|
303246
|
-
(_e2 = (_d2 = props2.api.grid).commitProxy) == null ? void 0 : _e2.call(_d2, "
|
|
303246
|
+
(_e2 = (_d2 = props2.api.grid).commitProxy) == null ? void 0 : _e2.call(_d2, "query", formOptions.value ? await formApi.getValues() ?? {} : {});
|
|
303247
303247
|
}
|
|
303248
303248
|
const formConfig = (_f2 = gridOptions.value) == null ? void 0 : _f2.formConfig;
|
|
303249
303249
|
if (formConfig && formConfig.enabled) {
|
|
@@ -303350,7 +303350,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
303350
303350
|
type: "text",
|
|
303351
303351
|
icon: h$3(unref(ReloadOutlined)),
|
|
303352
303352
|
class: "mr-2",
|
|
303353
|
-
onClick: ($event) => slotProps.$grid.commitProxy("
|
|
303353
|
+
onClick: ($event) => slotProps.$grid.commitProxy("query")
|
|
303354
303354
|
}, {
|
|
303355
303355
|
default: withCtx(() => [
|
|
303356
303356
|
createTextVNode(toDisplayString(unref(locales).reload), 1)
|
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-
|
|
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";
|
|
2
2
|
export {
|
|
3
3
|
_ as ApiComponent,
|
|
4
4
|
ad as Badge,
|