@dazhicheng/ui 1.4.13 → 1.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.
Files changed (71) hide show
  1. package/dist/components/tt-form-adapter/component/index.d.ts +1 -1
  2. package/dist/components/tt-form-adapter/component/index.d.ts.map +1 -1
  3. package/dist/components/tt-form-adapter/index.d.ts.map +1 -1
  4. package/dist/components/tt-icon/index.d.ts +6 -6
  5. package/dist/components/tt-icon/index.d.ts.map +1 -1
  6. package/dist/components/tt-icon/index.vue.d.ts +3 -3
  7. package/dist/components/tt-icon/index.vue.d.ts.map +1 -1
  8. package/dist/components/tt-image/src/components/ImageViewer.d.ts +1 -1
  9. package/dist/components/tt-modal/src/RenderModal.vue.d.ts.map +1 -1
  10. package/dist/components/tt-table/src/Table.vue.d.ts +7 -9
  11. package/dist/components/tt-table/src/Table.vue.d.ts.map +1 -1
  12. package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +27 -0
  13. package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts.map +1 -0
  14. package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1552 -7
  15. package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts.map +1 -1
  16. package/dist/components/tt-table/src/hooks/useColumns.d.ts +0 -4
  17. package/dist/components/tt-table/src/hooks/useColumns.d.ts.map +1 -1
  18. package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +20 -0
  19. package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts.map +1 -0
  20. package/dist/components/tt-table/src/hooks/useTable.d.ts.map +1 -1
  21. package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +2 -3
  22. package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts.map +1 -1
  23. package/dist/components/tt-table/src/hooks/useTableRender.d.ts +10 -1
  24. package/dist/components/tt-table/src/hooks/useTableRender.d.ts.map +1 -1
  25. package/dist/components/tt-table/src/props.d.ts +1 -1
  26. package/dist/components/tt-table/src/toolProps.d.ts +0 -60
  27. package/dist/components/tt-table/src/toolProps.d.ts.map +1 -1
  28. package/dist/components/tt-table/src/types/table.d.ts +13 -8
  29. package/dist/components/tt-table/src/types/table.d.ts.map +1 -1
  30. package/dist/components/tt-table/src/types/tableTools.d.ts +1 -45
  31. package/dist/components/tt-table/src/types/tableTools.d.ts.map +1 -1
  32. package/dist/components/tt-table/src/utils/table-api.d.ts +1 -1
  33. package/dist/components/types.d.ts +9 -0
  34. package/dist/components/types.d.ts.map +1 -1
  35. package/dist/{css-CKklk3nV.js → css-BizbCFH3.js} +1 -0
  36. package/dist/css-DhJ-Bn4t.js +4 -0
  37. package/dist/{event-C_r_01bn.js → event-DFRZD7LK.js} +1 -1
  38. package/dist/{icon-CKxtqBLK.js → icon-D7yoP9ir.js} +2 -2
  39. package/dist/{index-CHk1NLpk.js → index-BKQp009w.js} +22 -16
  40. package/dist/{index-C7qn1UjQ.js → index-BNG_AB7y.js} +8 -8
  41. package/dist/{index-0sV6PZ-L.js → index-BhA_CsrH.js} +1 -1
  42. package/dist/index-BxInQxCV.js +2502 -0
  43. package/dist/{index-I3VH5txt.js → index-By5cqZnL.js} +6 -6
  44. package/dist/{index-CIXiwqxC.js → index-ByEUv7a2.js} +20 -20
  45. package/dist/{index-DX4n5C_u.js → index-CGcdoMJn.js} +7 -7
  46. package/dist/{index-afVweXBa.js → index-CJS0mCv6.js} +1 -1
  47. package/dist/{index-COmSNXx2.js → index-CrIIQxqW.js} +5 -5
  48. package/dist/{index-p-7cEt4P.js → index-D3Ax_E0B.js} +1 -1
  49. package/dist/{index-DrCkiGhL.js → index-D9W_gSi5.js} +2 -2
  50. package/dist/index-DEFw7uAt.js +3559 -0
  51. package/dist/{index-BKBQ9LSK.js → index-Dfotp4tT.js} +5 -5
  52. package/dist/{index-DurviMFc.js → index-DpN6iVOJ.js} +6 -6
  53. package/dist/{index-BYF6ppI2.js → index-V1pYlrHZ.js} +121 -121
  54. package/dist/{index-zwYRmlIJ.js → index-VEk4bikw.js} +5 -5
  55. package/dist/{index-BjeMLuYy.js → index-WNukMwgV.js} +11762 -10475
  56. package/dist/index-YgAUM4hl.js +436 -0
  57. package/dist/{index-D6tBgSuG.js → index-jX-ESk9T.js} +2 -2
  58. package/dist/index.js +11 -11
  59. package/dist/panel-time-pick.vue2-CTavHx-6.js +1603 -0
  60. package/dist/style.css +1 -1
  61. package/dist/{use-form-common-props-P6zIrwYl.js → use-form-common-props-QWQdZzPI.js} +1 -1
  62. package/dist/{use-form-item-DJnou3Cp.js → use-form-item-aIqGB1on.js} +2 -2
  63. package/dist/useProps-B1w2fNNy.js +215 -0
  64. package/dist/{util-BGcGKsTj.js → util-Boou02y4.js} +6 -6
  65. package/package.json +4 -3
  66. package/dist/components/tt-table/src/TableForm.vue.d.ts +0 -150
  67. package/dist/components/tt-table/src/TableForm.vue.d.ts.map +0 -1
  68. package/dist/components/tt-table/src/hooks/useFullscreen.d.ts +0 -12
  69. package/dist/components/tt-table/src/hooks/useFullscreen.d.ts.map +0 -1
  70. package/dist/index-BHUeEk8T.js +0 -2700
  71. package/dist/panel-time-pick.vue2-Bjerz4F7.js +0 -2026
@@ -1,10 +1,10 @@
1
- import { l as ft, d as D } from "./index-BjeMLuYy.js";
2
- import { b as ut, a as Y, u as lt, h as ct, j as tt, w as ht, o as dt } from "./use-form-common-props-P6zIrwYl.js";
3
- import { i as W } from "./icon-CKxtqBLK.js";
1
+ import { l as ft, d as D } from "./index-WNukMwgV.js";
2
+ import { b as ut, a as Y, u as lt, h as ct, j as tt, w as ht, o as dt } from "./use-form-common-props-QWQdZzPI.js";
3
+ import { i as W } from "./icon-D7yoP9ir.js";
4
4
  import { getCurrentInstance as gt, inject as et, ref as rt, computed as g, useSlots as bt, Text as vt, defineComponent as at, createBlock as B, openBlock as x, resolveDynamicComponent as N, mergeProps as pt, unref as v, withCtx as C, createElementBlock as $, createCommentVNode as U, Fragment as mt, renderSlot as _, normalizeClass as z, provide as yt, reactive as kt, toRef as q } from "vue";
5
- import { E as K } from "./index-CHk1NLpk.js";
6
- import { u as xt } from "./index-afVweXBa.js";
7
- import { u as St } from "./use-form-item-DJnou3Cp.js";
5
+ import { E as K } from "./index-BKQp009w.js";
6
+ import { u as xt } from "./index-CJS0mCv6.js";
7
+ import { u as St } from "./use-form-item-aIqGB1on.js";
8
8
  const Mt = [
9
9
  "default",
10
10
  "primary",
@@ -1,9 +1,9 @@
1
1
  import { isNil as pe, flatten as ee, cloneDeep as te, isEqual as Le } from "lodash-es";
2
- import { t as _, b as z, a as h, w as ve, j as X, d as xe } from "./use-form-common-props-P6zIrwYl.js";
3
- import { a as me, N as f, d as I, w as De, b as ye, c as Ue, r as ge, s as he, i as be, g as se, t as Be, z as Oe, x as Ne, y as ae } from "./index-BjeMLuYy.js";
2
+ import { t as _, b as z, a as h, w as ve, j as X, d as xe } from "./use-form-common-props-QWQdZzPI.js";
3
+ import { a as me, N as f, d as I, z as De, b as ye, c as Ue, A as ge, q as he, i as be, g as se, B as Be, D as Oe, E as Ne, F as ae } from "./index-WNukMwgV.js";
4
4
  import { m as K } from "./typescript-BpuhIBuJ.js";
5
- import { defineComponent as H, computed as F, createElementBlock as E, openBlock as g, normalizeClass as m, unref as a, createCommentVNode as w, createElementVNode as N, normalizeStyle as j, renderSlot as C, toDisplayString as V, createBlock as B, withCtx as T, resolveDynamicComponent as je, ref as ke, TransitionGroup as Ae, Fragment as qe, renderList as Ie, withKeys as we, withModifiers as M, createVNode as O, inject as Me, shallowRef as Y, watch as oe, nextTick as ze, onBeforeUnmount as Ke, provide as He, toRef as We, createSlots as ne, mergeProps as re } from "vue";
6
- import { E as A } from "./index-CHk1NLpk.js";
5
+ import { defineComponent as H, computed as F, createElementBlock as E, openBlock as g, normalizeClass as m, unref as a, createCommentVNode as w, createElementVNode as N, normalizeStyle as A, renderSlot as C, toDisplayString as V, createBlock as B, withCtx as T, resolveDynamicComponent as Ae, ref as ke, TransitionGroup as je, Fragment as qe, renderList as Ie, withKeys as we, withModifiers as M, createVNode as O, inject as Me, shallowRef as Y, watch as oe, nextTick as ze, onBeforeUnmount as Ke, provide as He, toRef as We, createSlots as ne, mergeProps as re } from "vue";
6
+ import { E as j } from "./index-BKQp009w.js";
7
7
  import { u as Ve } from "./index-BQfVaV7A.js";
8
8
  import { useVModel as Xe } from "@vueuse/core";
9
9
  const Ge = (e) => Object.entries(e);
@@ -460,7 +460,7 @@ var ct = /* @__PURE__ */ H({
460
460
  "div",
461
461
  {
462
462
  class: m(a(i).be("bar", "outer")),
463
- style: j({ height: `${e.strokeWidth}px` })
463
+ style: A({ height: `${e.strokeWidth}px` })
464
464
  },
465
465
  [
466
466
  N(
@@ -472,7 +472,7 @@ var ct = /* @__PURE__ */ H({
472
472
  { [a(i).bem("bar", "inner", "striped")]: e.striped },
473
473
  { [a(i).bem("bar", "inner", "striped-flow")]: e.stripedFlow }
474
474
  ]),
475
- style: j(k.value)
475
+ style: A(k.value)
476
476
  },
477
477
  [
478
478
  (e.showText || u.$slots.default) && e.textInside ? (g(), E(
@@ -511,7 +511,7 @@ var ct = /* @__PURE__ */ H({
511
511
  {
512
512
  key: 1,
513
513
  class: m(a(i).b("circle")),
514
- style: j({ height: `${e.width}px`, width: `${e.width}px` })
514
+ style: A({ height: `${e.width}px`, width: `${e.width}px` })
515
515
  },
516
516
  [
517
517
  (g(), E("svg", rt, [
@@ -522,7 +522,7 @@ var ct = /* @__PURE__ */ H({
522
522
  "stroke-linecap": e.strokeLinecap,
523
523
  "stroke-width": c.value,
524
524
  fill: "none",
525
- style: j(S.value)
525
+ style: A(S.value)
526
526
  }, null, 14, lt),
527
527
  N("path", {
528
528
  class: m(a(i).be("circle", "path")),
@@ -532,7 +532,7 @@ var ct = /* @__PURE__ */ H({
532
532
  opacity: e.percentage ? 1 : 0,
533
533
  "stroke-linecap": e.strokeLinecap,
534
534
  "stroke-width": c.value,
535
- style: j(R.value)
535
+ style: A(R.value)
536
536
  }, null, 14, it)
537
537
  ]))
538
538
  ],
@@ -544,13 +544,13 @@ var ct = /* @__PURE__ */ H({
544
544
  {
545
545
  key: 2,
546
546
  class: m(a(i).e("text")),
547
- style: j({ fontSize: `${t.value}px` })
547
+ style: A({ fontSize: `${t.value}px` })
548
548
  },
549
549
  [
550
550
  C(u.$slots, "default", { percentage: e.percentage }, () => [
551
- e.status ? (g(), B(a(A), { key: 1 }, {
551
+ e.status ? (g(), B(a(j), { key: 1 }, {
552
552
  default: T(() => [
553
- (g(), B(je(o.value)))
553
+ (g(), B(Ae(o.value)))
554
554
  ]),
555
555
  _: 1
556
556
  /* STABLE */
@@ -583,7 +583,7 @@ var ie = /* @__PURE__ */ H({
583
583
  ]), S = (R) => {
584
584
  i("remove", R);
585
585
  };
586
- return (R, p) => (g(), B(Ae, {
586
+ return (R, p) => (g(), B(je, {
587
587
  tag: "ul",
588
588
  class: m(L.value),
589
589
  name: a(P).b()
@@ -629,7 +629,7 @@ var ie = /* @__PURE__ */ H({
629
629
  class: m(a(c).be("list", "item-name")),
630
630
  onClick: M((n) => e.handlePreview(o), ["prevent"])
631
631
  }, [
632
- O(a(A), {
632
+ O(a(j), {
633
633
  class: m(a(d).m("document"))
634
634
  }, {
635
635
  default: T(() => [
@@ -648,7 +648,7 @@ var ie = /* @__PURE__ */ H({
648
648
  type: e.listType === "picture-card" ? "circle" : "line",
649
649
  "stroke-width": e.listType === "picture-card" ? 6 : 2,
650
650
  percentage: Number(o.percentage),
651
- style: j(e.listType === "picture-card" ? "" : "margin-top: 0.5rem")
651
+ style: A(e.listType === "picture-card" ? "" : "margin-top: 0.5rem")
652
652
  }, null, 8, ["type", "stroke-width", "percentage", "style"])) : w("v-if", !0)
653
653
  ],
654
654
  2
@@ -660,7 +660,7 @@ var ie = /* @__PURE__ */ H({
660
660
  class: m(a(c).be("list", "item-status-label"))
661
661
  },
662
662
  [
663
- e.listType === "text" ? (g(), B(a(A), {
663
+ e.listType === "text" ? (g(), B(a(j), {
664
664
  key: 0,
665
665
  class: m([a(d).m("upload-success"), a(d).m("circle-check")])
666
666
  }, {
@@ -669,7 +669,7 @@ var ie = /* @__PURE__ */ H({
669
669
  ]),
670
670
  _: 1
671
671
  /* STABLE */
672
- }, 8, ["class"])) : ["picture-card", "picture"].includes(e.listType) ? (g(), B(a(A), {
672
+ }, 8, ["class"])) : ["picture-card", "picture"].includes(e.listType) ? (g(), B(a(j), {
673
673
  key: 1,
674
674
  class: m([a(d).m("upload-success"), a(d).m("check")])
675
675
  }, {
@@ -683,7 +683,7 @@ var ie = /* @__PURE__ */ H({
683
683
  2
684
684
  /* CLASS */
685
685
  ),
686
- a(b) ? w("v-if", !0) : (g(), B(a(A), {
686
+ a(b) ? w("v-if", !0) : (g(), B(a(j), {
687
687
  key: 2,
688
688
  class: m(a(d).m("close")),
689
689
  onClick: (n) => S(o)
@@ -718,7 +718,7 @@ var ie = /* @__PURE__ */ H({
718
718
  class: m(a(c).be("list", "item-preview")),
719
719
  onClick: (n) => e.handlePreview(o)
720
720
  }, [
721
- O(a(A), {
721
+ O(a(j), {
722
722
  class: m(a(d).m("zoom-in"))
723
723
  }, {
724
724
  default: T(() => [
@@ -733,7 +733,7 @@ var ie = /* @__PURE__ */ H({
733
733
  class: m(a(c).be("list", "item-delete")),
734
734
  onClick: (n) => S(o)
735
735
  }, [
736
- O(a(A), {
736
+ O(a(j), {
737
737
  class: m(a(d).m("delete"))
738
738
  }, {
739
739
  default: T(() => [
@@ -1,14 +1,14 @@
1
1
  import { computed as f, getCurrentInstance as _e, markRaw as et, defineComponent as tt, useAttrs as ot, useSlots as nt, shallowRef as ae, ref as ie, watch as se, nextTick as F, onMounted as at, toRef as it, createElementBlock as E, openBlock as c, normalizeStyle as Ce, normalizeClass as p, unref as n, createCommentVNode as m, Fragment as le, createElementVNode as L, renderSlot as Z, createBlock as I, withCtx as H, resolveDynamicComponent as A, mergeProps as Ne, withModifiers as re, toDisplayString as q } from "vue";
2
- import { g as ue, U as J, c as Oe, d as Pe, v as st, n as lt, N as de, o as ze, C as Me, I as ce } from "./index-BjeMLuYy.js";
2
+ import { g as ue, U as J, c as Oe, d as Pe, v as st, n as lt, N as de, o as ze, C as Me, I as ce } from "./index-WNukMwgV.js";
3
3
  import { m as rt } from "./typescript-BpuhIBuJ.js";
4
- import { i as fe, V as ut } from "./icon-CKxtqBLK.js";
5
- import { d as Q, b as dt, a as M, u as ct, e as Ve, h as ft, j as mt, w as vt } from "./use-form-common-props-P6zIrwYl.js";
6
- import { u as pt } from "./index-p-7cEt4P.js";
4
+ import { i as fe, V as ut } from "./icon-D7yoP9ir.js";
5
+ import { d as Q, b as dt, a as M, u as ct, e as Ve, h as ft, j as mt, w as vt } from "./use-form-common-props-QWQdZzPI.js";
6
+ import { u as pt } from "./index-D3Ax_E0B.js";
7
7
  import { useResizeObserver as yt, isClient as bt } from "@vueuse/core";
8
8
  import { fromPairs as ht, isNil as gt } from "lodash-es";
9
- import { E as j } from "./index-CHk1NLpk.js";
10
- import { a as xt, u as wt, b as St } from "./index-D6tBgSuG.js";
11
- import { u as Et, a as It } from "./use-form-item-DJnou3Cp.js";
9
+ import { E as j } from "./index-BKQp009w.js";
10
+ import { a as xt, u as wt, b as St } from "./index-jX-ESk9T.js";
11
+ import { u as Et, a as It } from "./use-form-item-aIqGB1on.js";
12
12
  const Ct = ["class", "style"], Nt = /^on[A-Z]/, Pt = (e = {}) => {
13
13
  const { excludeListeners: r = !1, excludeKeys: x } = e, t = f(() => ((x == null ? void 0 : x.value) || []).concat(Ct)), l = _e();
14
14
  return l ? f(
@@ -1,5 +1,5 @@
1
1
  import { watch as m, unref as p } from "vue";
2
- import { d as u } from "./use-form-common-props-P6zIrwYl.js";
2
+ import { d as u } from "./use-form-common-props-QWQdZzPI.js";
3
3
  const c = ({ from: e, replacement: t, scope: r, version: a, ref: i, type: o = "API" }, s) => {
4
4
  m(
5
5
  () => p(s),
@@ -1,10 +1,10 @@
1
- import { u as Y } from "./index-p-7cEt4P.js";
2
- import { g as W, U as D, C as F, a as B, o as Ve, d as j } from "./index-BjeMLuYy.js";
3
- import { e as J, l as w, u as Z, f as Le, g as P, j as ee, d as le, n as $, h as Q, b as Se, a as G, w as Ee, o as ae } from "./use-form-common-props-P6zIrwYl.js";
1
+ import { u as Y } from "./index-D3Ax_E0B.js";
2
+ import { g as W, U as D, C as F, a as B, o as Ve, d as j } from "./index-WNukMwgV.js";
3
+ import { e as J, l as w, u as Z, f as Le, g as P, j as ee, d as le, n as $, h as Q, b as Se, a as G, w as Ee, o as ae } from "./use-form-common-props-QWQdZzPI.js";
4
4
  import { inject as S, computed as h, getCurrentInstance as te, watch as ne, nextTick as oe, ref as O, toRaw as X, defineComponent as K, useSlots as ue, createBlock as T, openBlock as V, resolveDynamicComponent as A, unref as r, normalizeClass as L, withCtx as se, createElementVNode as N, createElementBlock as I, createCommentVNode as U, withDirectives as ie, mergeProps as M, isRef as re, withModifiers as de, vModelCheckbox as ce, renderSlot as R, Fragment as ve, createTextVNode as be, toDisplayString as me, normalizeStyle as Be, provide as Ie, toRefs as Ne, renderList as De } from "vue";
5
- import { u as _, a as fe } from "./use-form-item-DJnou3Cp.js";
5
+ import { u as _, a as fe } from "./use-form-item-aIqGB1on.js";
6
6
  import { isEqual as he, pick as Ge, omit as ze } from "lodash-es";
7
- import { u as z } from "./index-afVweXBa.js";
7
+ import { u as z } from "./index-CJS0mCv6.js";
8
8
  const ke = {
9
9
  /**
10
10
  * @description binding value
@@ -1,5 +1,5 @@
1
1
  import { pick as i } from "lodash-es";
2
- import { b as a } from "./use-form-common-props-P6zIrwYl.js";
2
+ import { b as a } from "./use-form-common-props-QWQdZzPI.js";
3
3
  const o = a({
4
4
  /**
5
5
  * @description native `aria-label` attribute
@@ -1,6 +1,6 @@
1
1
  import { isClient as g } from "@vueuse/core";
2
- import { a as x } from "./index-BjeMLuYy.js";
3
- import { i as C } from "./use-form-common-props-P6zIrwYl.js";
2
+ import { a as x } from "./index-WNukMwgV.js";
3
+ import { i as C } from "./use-form-common-props-QWQdZzPI.js";
4
4
  const s = /* @__PURE__ */ new Map();
5
5
  if (g) {
6
6
  let e;