z-vue-design 0.0.70 → 0.0.72

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 { P as u, b as m, I as k } from "./index-DW4tSpLd.mjs";
1
+ import { P as u, b as m, I as k } from "./index-BPweL_uc.mjs";
2
2
  import { defineComponent as _, shallowRef as j, createVNode as g, ref as w, watch as q, computed as h } from "vue";
3
3
  var A = function(e, a) {
4
4
  var o = {};
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t } from "vue";
2
- import { A as r } from "./index-DW4tSpLd.mjs";
2
+ import { A as r } from "./index-BPweL_uc.mjs";
3
3
  const c = {};
4
4
  function o(n, s) {
5
5
  return t(), e("div", null, "工具组件不存在");
@@ -1,7 +1,7 @@
1
1
  import { useModel as n, resolveComponent as a, createBlock as i, openBlock as p, unref as d, withCtx as m, createVNode as u, mergeProps as _ } from "vue";
2
- import { C as f, l as v } from "./zh_CN-BIew79ik.mjs";
3
- import { A as k } from "./index-DW4tSpLd.mjs";
4
- import { D as P } from "./dayjs-BBrII77D.mjs";
2
+ import { C as f, l as v } from "./zh_CN-D80c7e5W.mjs";
3
+ import { A as k } from "./index-BPweL_uc.mjs";
4
+ import { D as P } from "./dayjs-S1-oUd7J.mjs";
5
5
  const g = {
6
6
  name: "ZDatePicker",
7
7
  components: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as ne, ref as te, createVNode as g, shallowRef as W, watch as re, computed as X, onMounted as It, Fragment as Nt, nextTick as Oe, onBeforeUpdate as Zt, onBeforeUnmount as Ie, watchEffect as Je, getCurrentInstance as Et, mergeModels as Yt, useModel as Qt, resolveComponent as ke, createBlock as Le, openBlock as We, mergeProps as pt } from "vue";
2
- import { f as _t, _ as y, s as Ae, P as ae, c as se, a as H, b as D, o as oe, e as mt, u as et, F as he, d as ye, g as Ot, h as tt, C as At, N as Pe, i as ze, j as Jt, B as en, k as ce, t as tn, w as ge, l as nn, R as an, I as nt, m as ln, n as ie, p as rn, q as fe, r as Se, K as Ee, v as on, x as sn, y as gt, z as un, A as dn } from "./index-DW4tSpLd.mjs";
3
- import { g as Re, a as ue } from "./statusUtils-DHnpjpJ3.mjs";
4
- import { B as Pt, S as cn, i as fn, D as vn } from "./SearchOutlined-ndP8Y_uk.mjs";
5
- import { u as at, i as pn, g as zt, a as Rt, b as mn, c as gn, d as bn, e as hn, f as Bt } from "./index-Dg-n7ZMv.mjs";
2
+ import { f as _t, _ as y, s as Ae, P as ae, c as se, a as H, b as D, o as oe, e as mt, u as et, F as he, d as ye, g as Ot, h as tt, C as At, N as Pe, i as ze, j as Jt, B as en, k as ce, t as tn, w as ge, l as nn, R as an, I as nt, m as ln, n as ie, p as rn, q as fe, r as Se, K as Ee, v as on, x as sn, y as gt, z as un, A as dn } from "./index-BPweL_uc.mjs";
3
+ import { g as Re, a as ue } from "./statusUtils-D8RW4esW.mjs";
4
+ import { B as Pt, S as cn, i as fn, D as vn } from "./SearchOutlined-DVvHWCPb.mjs";
5
+ import { u as at, i as pn, g as zt, a as Rt, b as mn, c as gn, d as bn, e as hn, f as Bt } from "./index-C55tRvbn.mjs";
6
6
  const we = (e) => e != null && (Array.isArray(e) ? _t(e).length : !0);
7
7
  function lt(e) {
8
8
  return we(e.prefix) || we(e.suffix) || we(e.allowClear);
@@ -1,7 +1,7 @@
1
1
  import { useModel as s, resolveComponent as a, createBlock as i, openBlock as p, unref as m, withCtx as u, createVNode as d, mergeProps as _ } from "vue";
2
- import { C as f, l as g } from "./zh_CN-BIew79ik.mjs";
3
- import { A as v } from "./index-DW4tSpLd.mjs";
4
- import { R as k } from "./dayjs-BBrII77D.mjs";
2
+ import { C as f, l as g } from "./zh_CN-D80c7e5W.mjs";
3
+ import { A as v } from "./index-BPweL_uc.mjs";
4
+ import { R as k } from "./dayjs-S1-oUd7J.mjs";
5
5
  const P = {
6
6
  name: "ZRangePicker",
7
7
  components: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as ue, computed as F, ref as ve, createVNode as C, cloneVNode as In, isVNode as xn, inject as Fe, provide as _e, onUnmounted as On, shallowRef as Y, watch as pe, watchEffect as Ce, onMounted as Ie, createTextVNode as Me, Fragment as xe, onBeforeUnmount as ke, isRef as $n, reactive as Qe, toRefs as Pn, toRaw as Bt, nextTick as wt, toRef as ge, mergeModels as En, useModel as Fn, resolveComponent as Ct, createBlock as It, openBlock as Ke, mergeProps as Dn, withCtx as xt, createElementBlock as Vn, renderList as Nn, toDisplayString as Rn } from "vue";
2
- import { _ as b, p as Tn, P as $, J as Mn, b as L, a as ce, c as zt, R as Lt, M as et, K as z, O as tt, Q as nt, m as Ee, S as _n, o as Ae, U as An, V as Bn, X as me, Y as Ot, Z as $t, I as zn, C as Ln, L as Hn, y as ot, $ as Ze, D as he, z as Ht, v as Wn, x as Kn, u as jn, F as Gn, a0 as Un, d as Xn, g as Yn, h as Qn, a1 as Zn, a2 as qn, a3 as Jn, n as kn, s as Pe, q as eo, r as Pt, A as to } from "./index-DW4tSpLd.mjs";
3
- import { B as no, i as oo, S as lo, D as ao } from "./SearchOutlined-ndP8Y_uk.mjs";
4
- import { u as io, a as Et, C as ro, i as Ft, b as Dt, s as uo, c as so, d as co, e as fo } from "./slide-B4e5po3q.mjs";
5
- import { g as po, a as mo } from "./statusUtils-DHnpjpJ3.mjs";
2
+ import { _ as b, p as Tn, P as $, J as Mn, b as L, a as ce, c as zt, R as Lt, M as et, K as z, O as tt, Q as nt, m as Ee, S as _n, o as Ae, U as An, V as Bn, X as me, Y as Ot, Z as $t, I as zn, C as Ln, L as Hn, y as ot, $ as Ze, D as he, z as Ht, v as Wn, x as Kn, u as jn, F as Gn, a0 as Un, d as Xn, g as Yn, h as Qn, a1 as Zn, a2 as qn, a3 as Jn, n as kn, s as Pe, q as eo, r as Pt, A as to } from "./index-BPweL_uc.mjs";
3
+ import { B as no, i as oo, S as lo, D as ao } from "./SearchOutlined-DVvHWCPb.mjs";
4
+ import { u as io, a as Et, C as ro, i as Ft, b as Dt, s as uo, c as so, d as co, e as fo } from "./slide-CglL02FZ.mjs";
5
+ import { g as po, a as mo } from "./statusUtils-D8RW4esW.mjs";
6
6
  function Vt(e, n) {
7
7
  const {
8
8
  key: o
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, computed as m, onBeforeMount as F, ref as v, watch as L, onMounted as A, nextTick as O, createVNode as h, useModel as W, resolveComponent as X, createBlock as j, openBlock as R, mergeProps as K } from "vue";
2
- import { v as N, D as U, T as G, _ as w, y as Z, E as Q, G as q, P as a, u as J, h as Y, d as k, W as ii, b as p, o as ni, L as ei, H as f, t as ci, K as b, l as C, A as ai } from "./index-DW4tSpLd.mjs";
2
+ import { v as N, D as U, T as G, _ as w, y as Z, E as Q, G as q, P as a, u as J, h as Y, d as k, W as ii, b as p, o as ni, L as ei, H as f, t as ci, K as b, l as C, A as ai } from "./index-BPweL_uc.mjs";
3
3
  const ti = (i) => {
4
4
  const {
5
5
  componentCls: n
@@ -1,7 +1,7 @@
1
1
  import { useModel as c, resolveComponent as r, createBlock as s, openBlock as m, unref as d, withCtx as p, createVNode as u, mergeProps as _ } from "vue";
2
- import { C as f, l as v } from "./zh_CN-BIew79ik.mjs";
3
- import { A as k } from "./index-DW4tSpLd.mjs";
4
- import { T as g } from "./dayjs-BZ4pK2_C.mjs";
2
+ import { C as f, l as v } from "./zh_CN-D80c7e5W.mjs";
3
+ import { A as k } from "./index-BPweL_uc.mjs";
4
+ import { T as g } from "./dayjs-BwIclLI8.mjs";
5
5
  const P = {
6
6
  name: "ZRangePicker",
7
7
  components: {
@@ -1,7 +1,7 @@
1
1
  import { useModel as c, resolveComponent as a, createBlock as s, openBlock as m, unref as p, withCtx as u, createVNode as d, mergeProps as _ } from "vue";
2
- import { C as f, l as g } from "./zh_CN-BIew79ik.mjs";
3
- import { A as v } from "./index-DW4tSpLd.mjs";
4
- import { a as k } from "./dayjs-BZ4pK2_C.mjs";
2
+ import { C as f, l as g } from "./zh_CN-D80c7e5W.mjs";
3
+ import { A as v } from "./index-BPweL_uc.mjs";
4
+ import { a as k } from "./dayjs-BwIclLI8.mjs";
5
5
  const P = {
6
6
  name: "ZRangePicker",
7
7
  components: {
@@ -1,6 +1,6 @@
1
- import { _ as t, s as U, q as c, u as O, a0 as D, b as d, o as N } from "./index-DW4tSpLd.mjs";
1
+ import { _ as t, s as U, q as c, u as O, a0 as D, b as d, o as N } from "./index-BPweL_uc.mjs";
2
2
  import { defineComponent as B, ref as w, createVNode as R } from "vue";
3
- import { g as H, c as S, d as q, r as M, a as V } from "./zh_CN-BIew79ik.mjs";
3
+ import { g as H, c as S, d as q, r as M, a as V } from "./zh_CN-D80c7e5W.mjs";
4
4
  const T = () => ({
5
5
  format: String,
6
6
  showNow: c(),
@@ -1,5 +1,5 @@
1
- import { _ as m } from "./index-DW4tSpLd.mjs";
2
- import { g as a, a as i } from "./zh_CN-BIew79ik.mjs";
1
+ import { _ as m } from "./index-BPweL_uc.mjs";
2
+ import { g as a, a as i } from "./zh_CN-D80c7e5W.mjs";
3
3
  const {
4
4
  DatePicker: n,
5
5
  WeekPicker: r,
@@ -22163,21 +22163,21 @@ function VBe() {
22163
22163
  e.value = ZCe(() => {
22164
22164
  switch (n) {
22165
22165
  case "ZInput":
22166
- return import("./ZInput-C_lapoYZ.mjs");
22166
+ return import("./ZInput-BhSFRONS.mjs");
22167
22167
  case "ZSwitch":
22168
- return import("./ZSwitch-CVpHdjDG.mjs");
22168
+ return import("./ZSwitch-BlcEwYuo.mjs");
22169
22169
  case "ZSelect":
22170
- return import("./ZSelect-Bb9SGpC7.mjs");
22170
+ return import("./ZSelect-rOYsqNM4.mjs");
22171
22171
  case "ZDatePicker":
22172
- return import("./ZDatePicker-CF-LTuPL.mjs");
22172
+ return import("./ZDatePicker-ByH3RBCL.mjs");
22173
22173
  case "ZRangePicker":
22174
- return import("./ZRangePicker-QVmNvPmP.mjs");
22174
+ return import("./ZRangePicker-CXk7JK8k.mjs");
22175
22175
  case "ZTimePicker":
22176
- return import("./ZTimePicker-Cn4As1vu.mjs");
22176
+ return import("./ZTimePicker-CWfOu6G1.mjs");
22177
22177
  case "ZTimeRangePicker":
22178
- return import("./ZTimeRangePicker-BjR5Q1lN.mjs");
22178
+ return import("./ZTimeRangePicker-Bt36KzVH.mjs");
22179
22179
  default:
22180
- return import("./UtilsEmpty-DHIjeexR.mjs");
22180
+ return import("./UtilsEmpty-BFwWTSiw.mjs");
22181
22181
  }
22182
22182
  });
22183
22183
  }
@@ -74492,6 +74492,7 @@ const brt = /* @__PURE__ */ WI(mrt, [["render", yrt], ["__scopeId", "data-v-2f04
74492
74492
  console.log(m, "state"), Object.keys(m).reduce((y, b) => (i[b] = m[b], y), {}), console.log(i, "formState");
74493
74493
  }
74494
74494
  return t("register", {
74495
+ formState: i,
74495
74496
  setProps: l,
74496
74497
  getProps: c,
74497
74498
  getForm: u,
@@ -74540,7 +74541,7 @@ function Srt(e, t, n, r, a, i) {
74540
74541
  _: 3
74541
74542
  }, 16, ["model"]);
74542
74543
  }
74543
- const idt = /* @__PURE__ */ WI(xrt, [["render", Srt], ["__scopeId", "data-v-210c24d0"]]);
74544
+ const idt = /* @__PURE__ */ WI(xrt, [["render", Srt], ["__scopeId", "data-v-d1ff56ed"]]);
74544
74545
  function odt(e) {
74545
74546
  const t = je(null);
74546
74547
  let n;
@@ -74564,6 +74565,10 @@ function odt(e) {
74564
74565
  }
74565
74566
  const i = {
74566
74567
  getForm: () => a().getForm,
74568
+ formState: j(() => {
74569
+ var o;
74570
+ return (o = a()) == null ? void 0 : o.formState;
74571
+ }),
74567
74572
  setFormState: (o) => {
74568
74573
  a().setFormState(o);
74569
74574
  },
@@ -1,4 +1,4 @@
1
- import { v as S, x, D as l, _ as e, y as u, aF as m } from "./index-DW4tSpLd.mjs";
1
+ import { v as S, x, D as l, _ as e, y as u, aF as m } from "./index-BPweL_uc.mjs";
2
2
  const H = (r) => ({
3
3
  // Firefox
4
4
  "&::-moz-placeholder": {
@@ -1,5 +1,5 @@
1
1
  import { ref as c, watch as l, unref as p, watchEffect as y, toRaw as v, createVNode as w } from "vue";
2
- import { I as h, aa as e, aG as u } from "./index-DW4tSpLd.mjs";
2
+ import { I as h, aa as e, aG as u } from "./index-BPweL_uc.mjs";
3
3
  function A(t, a, r) {
4
4
  const n = c(t());
5
5
  return l(a, (o, i) => {
@@ -1,4 +1,4 @@
1
- import { a as e } from "./index-DW4tSpLd.mjs";
1
+ import { a as e } from "./index-BPweL_uc.mjs";
2
2
  function r(a, s, t) {
3
3
  return e({
4
4
  [`${a}-status-success`]: s === "success",