orion-design 0.1.16 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/README.md +5 -5
  2. package/dist/components/Form/FileInput/FileInput.vue.d.ts +1 -1
  3. package/dist/components/Form/index.js +247 -238
  4. package/dist/components/Form/index.js.map +1 -1
  5. package/dist/components/LovTable/LovPagetable.vue.d.ts +310 -2
  6. package/dist/components/LovTable/LovQuerytable.vue.d.ts +198 -2
  7. package/dist/components/LovTable/index.d.ts +295 -6
  8. package/dist/components/LovTable/index.js +114 -29
  9. package/dist/components/LovTable/index.js.map +1 -1
  10. package/dist/components/Pagetable/Pagetable.d.ts +13 -0
  11. package/dist/components/Pagetable/index.d.ts +9 -0
  12. package/dist/components/Pagetable/index.js +167 -161
  13. package/dist/components/Pagetable/index.js.map +1 -1
  14. package/dist/components/Querytable/Querytable.d.ts +13 -0
  15. package/dist/components/Querytable/index.d.ts +9 -0
  16. package/dist/components/Querytable/index.js +130 -125
  17. package/dist/components/Querytable/index.js.map +1 -1
  18. package/dist/components/RichTextEditor/RichTextEditor.d.ts +13 -0
  19. package/dist/components/RichTextEditor/index.d.ts +9 -0
  20. package/dist/components/RichTextEditor/index.js +20761 -0
  21. package/dist/components/RichTextEditor/index.js.map +1 -0
  22. package/dist/components/Tabs/index.js +371 -263
  23. package/dist/components/Tabs/index.js.map +1 -1
  24. package/dist/components/_util/arrays.js.map +1 -1
  25. package/dist/components/_util/browser.js +2 -2
  26. package/dist/components/_util/browser.js.map +1 -1
  27. package/dist/components/_util/dom/aria.js.map +1 -1
  28. package/dist/components/_util/dom/element.js +1 -1
  29. package/dist/components/_util/dom/element.js.map +1 -1
  30. package/dist/components/_util/dom/event.js.map +1 -1
  31. package/dist/components/_util/dom/position.js +1 -1
  32. package/dist/components/_util/dom/position.js.map +1 -1
  33. package/dist/components/_util/dom/scroll.js +1 -1
  34. package/dist/components/_util/dom/scroll.js.map +1 -1
  35. package/dist/components/_util/dom/style.js +1 -1
  36. package/dist/components/_util/dom/style.js.map +1 -1
  37. package/dist/components/_util/easings.js.map +1 -1
  38. package/dist/components/_util/error.js.map +1 -1
  39. package/dist/components/_util/i18n.js.map +1 -1
  40. package/dist/components/_util/index.js +1 -1
  41. package/dist/components/_util/objects.js.map +1 -1
  42. package/dist/components/_util/raf.js +1 -1
  43. package/dist/components/_util/raf.js.map +1 -1
  44. package/dist/components/_util/rand.js.map +1 -1
  45. package/dist/components/_util/strings.js.map +1 -1
  46. package/dist/components/_util/throttleByRaf.js.map +1 -1
  47. package/dist/components/_util/types.js.map +1 -1
  48. package/dist/components/_util/typescript.js.map +1 -1
  49. package/dist/components/_util/vue/global-node.js +1 -1
  50. package/dist/components/_util/vue/global-node.js.map +1 -1
  51. package/dist/components/_util/vue/icon.js.map +1 -1
  52. package/dist/components/_util/vue/install.js.map +1 -1
  53. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  54. package/dist/components/_util/vue/refs.js.map +1 -1
  55. package/dist/components/_util/vue/size.js.map +1 -1
  56. package/dist/components/_util/vue/validator.js.map +1 -1
  57. package/dist/components/_util/vue/vnode.js.map +1 -1
  58. package/dist/components/components.d.ts +2 -0
  59. package/dist/components/components.js +12 -10
  60. package/dist/components/components.js.map +1 -1
  61. package/dist/components/index.js +16 -14
  62. package/dist/components/index.js.map +1 -1
  63. package/dist/components-Cx2JsH63.js +74 -0
  64. package/dist/{components-0PErqPHo.js.map → components-Cx2JsH63.js.map} +1 -1
  65. package/dist/{index-DG_8kbAs.js → index-C9tCD90X.js} +6 -6
  66. package/dist/{index-DG_8kbAs.js.map → index-C9tCD90X.js.map} +1 -1
  67. package/dist/index.css +1 -1
  68. package/dist/index.js +22 -20
  69. package/dist/index.js.map +1 -1
  70. package/dist/version/version.d.ts +1 -1
  71. package/dist/version/version.js +1 -1
  72. package/dist/version/version.js.map +1 -1
  73. package/global.d.ts +2 -0
  74. package/package.json +3 -1
  75. package/dist/components-0PErqPHo.js +0 -72
  76. package/dist/index-DLvlyWAh.js +0 -127
  77. package/dist/index-DLvlyWAh.js.map +0 -1
@@ -1,52 +1,137 @@
1
- import "lodash-es";
2
- import { defineComponent as r, openBlock as n, createBlock as a, unref as l, withCtx as s, renderSlot as i } from "vue";
3
- import { withInstall as u } from "../_util/vue/install.js";
1
+ import { findIndex as P } from "lodash-es";
2
+ import { defineComponent as A, useTemplateRef as x, ref as v, watch as k, openBlock as y, createBlock as I, unref as L, withCtx as S, renderSlot as z } from "vue";
3
+ import { withInstall as U } from "../_util/vue/install.js";
4
4
  import "element-plus";
5
- import f from "../Querytable/index.js";
5
+ import T from "../Querytable/index.js";
6
6
  import "../Form/index.js";
7
- import { o as _ } from "../../index-DLvlyWAh.js";
8
- import m from "../Form/LovInput/hooks/useLov.js";
9
- import b from "../Pagetable/index.js";
10
- const d = /* @__PURE__ */ r({
7
+ import D from "../Form/LovInput/hooks/useLov.js";
8
+ import q from "../Pagetable/index.js";
9
+ const B = /* @__PURE__ */ A({
11
10
  name: "OLovQuerytable",
12
11
  inheritAttrs: !0,
13
12
  __name: "LovQuerytable",
14
- setup(c) {
15
- const o = m(), e = (t) => {
16
- o == null || o.backfill(t);
13
+ props: {
14
+ data: {}
15
+ },
16
+ setup(e) {
17
+ const d = x("table"), i = v(), s = v(), l = D();
18
+ l == null || l.registerKeydownHandler((a) => {
19
+ if (a == "ArrowUp") {
20
+ let o;
21
+ i.value == 0 ? o = e.data[e.data.length - 1] : o = e.data[i.value - 1], d.value.setCurrentRow(o), r(i.value);
22
+ } else if (a == "ArrowDown") {
23
+ let o;
24
+ i.value == e.data.length - 1 ? o = e.data[0] : o = e.data[i.value + 1], d.value.setCurrentRow(o), r(i.value);
25
+ } else a == "Enter" && s.value && (l == null || l.backfill(s.value));
26
+ });
27
+ const r = (a) => {
28
+ var t;
29
+ ((t = d.value) == null ? void 0 : t.$el).querySelectorAll(".el-table__row")[a].scrollIntoViewIfNeeded();
30
+ }, f = (a) => {
31
+ l == null || l.backfill(a);
32
+ }, u = (a) => {
33
+ const o = P(e.data, a);
34
+ o == -1 ? (i.value = 0, s.value = e.data[0]) : (i.value = o, s.value = a);
17
35
  };
18
- return _("ArrowDown", (t) => {
19
- console.log("ArrowDown", t), t.stopPropagation(), t.preventDefault();
20
- }), (t, p) => (n(), a(l(f), { onRowClick: e }, {
21
- default: s(() => [
22
- i(t.$slots, "default")
36
+ return k(
37
+ () => e.data,
38
+ () => {
39
+ e.data.length > 0 && d.value.setCurrentRow(e.data[0]);
40
+ }
41
+ ), (a, o) => (y(), I(L(T), {
42
+ ref: "table",
43
+ data: a.data,
44
+ onRowClick: f,
45
+ "current-row-mode": "",
46
+ onCurrentRowChange: u,
47
+ size: "small"
48
+ }, {
49
+ default: S(() => [
50
+ z(a.$slots, "default")
23
51
  ]),
24
52
  _: 3
25
- }));
53
+ }, 8, ["data"]));
26
54
  }
27
- }), w = /* @__PURE__ */ r({
55
+ }), E = /* @__PURE__ */ A({
28
56
  name: "OLovPagetable",
29
57
  inheritAttrs: !0,
30
58
  __name: "LovPagetable",
31
- setup(c) {
32
- const o = m(), e = (t) => {
33
- o == null || o.backfill(t);
59
+ props: {
60
+ data: {},
61
+ pagination: {}
62
+ },
63
+ emits: ["update:pagination"],
64
+ setup(e, { emit: d }) {
65
+ const i = d, s = (t) => {
66
+ i("update:pagination", t);
67
+ }, l = x("table"), r = v(), f = v(), u = D();
68
+ u == null || u.registerKeydownHandler((t) => {
69
+ var c, R, g, h, C, $;
70
+ if (t == "ArrowUp") {
71
+ let n;
72
+ r.value == 0 ? n = e.data[e.data.length - 1] : n = e.data[r.value - 1], l.value.setCurrentRow(n), a(r.value);
73
+ } else if (t == "ArrowDown") {
74
+ let n;
75
+ r.value == e.data.length - 1 ? n = e.data[0] : n = e.data[r.value + 1], l.value.setCurrentRow(n), a(r.value);
76
+ } else if (t == "Enter")
77
+ f.value && (u == null || u.backfill(f.value));
78
+ else if (t == "ArrowLeft") {
79
+ const n = (c = e.pagination) == null ? void 0 : c.currentPage, w = (R = e.pagination) == null ? void 0 : R.pageSize, m = (g = e.pagination) == null ? void 0 : g.total;
80
+ if (!n || !w || !m)
81
+ return;
82
+ n > 1 && i("update:pagination", {
83
+ ...e.pagination,
84
+ currentPage: n - 1
85
+ });
86
+ } else if (t == "ArrowRight") {
87
+ const n = (h = e.pagination) == null ? void 0 : h.currentPage, w = (C = e.pagination) == null ? void 0 : C.pageSize, m = ($ = e.pagination) == null ? void 0 : $.total;
88
+ if (!n || !w || !m)
89
+ return;
90
+ const Q = Math.ceil(m / w);
91
+ n < Q && i("update:pagination", {
92
+ ...e.pagination,
93
+ currentPage: n + 1
94
+ });
95
+ }
96
+ });
97
+ const a = (t) => {
98
+ var g;
99
+ ((g = l.value) == null ? void 0 : g.$el).querySelectorAll(".el-table__row")[t].scrollIntoViewIfNeeded();
100
+ }, o = (t) => {
101
+ u == null || u.backfill(t);
102
+ }, b = (t) => {
103
+ const c = P(e.data, t);
104
+ c == -1 ? (r.value = 0, f.value = e.data[0]) : (r.value = c, f.value = t);
34
105
  };
35
- return (t, p) => (n(), a(l(b), { onRowClick: e }, {
36
- default: s(() => [
37
- i(t.$slots, "default")
106
+ return k(
107
+ () => e.data,
108
+ () => {
109
+ e.data.length > 0 && l.value.setCurrentRow(e.data[0]);
110
+ }
111
+ ), (t, c) => (y(), I(L(q), {
112
+ ref: "table",
113
+ data: t.data,
114
+ onRowClick: o,
115
+ "current-row-mode": "",
116
+ onCurrentRowChange: b,
117
+ pagination: t.pagination,
118
+ "onUpdate:pagination": s,
119
+ size: "small"
120
+ }, {
121
+ default: S(() => [
122
+ z(t.$slots, "default")
38
123
  ]),
39
124
  _: 3
40
- }));
125
+ }, 8, ["data", "pagination"]));
41
126
  }
42
- }), Q = u(
127
+ }), G = U(
43
128
  {},
44
129
  {
45
- LovQuerytable: d,
46
- LovPagetable: w
130
+ LovQuerytable: B,
131
+ LovPagetable: E
47
132
  }
48
133
  );
49
134
  export {
50
- Q as default
135
+ G as default
51
136
  };
52
137
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/LovTable/LovQuerytable.vue","../../../src/components/LovTable/LovPagetable.vue","../../../src/components/LovTable/index.ts"],"sourcesContent":["<template>\r\n <querytable @row-click=\"onRowClick\"><slot></slot></querytable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Querytable from '../Querytable'\r\nimport { useLov } from '../Form'\r\nimport { onKeyStroke } from '@vueuse/core'\r\n\r\ndefineOptions({ name: 'OLovQuerytable', inheritAttrs: true })\r\n\r\nconst lov = useLov()\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nonKeyStroke('ArrowDown', (e) => {\r\n console.log('ArrowDown', e)\r\n e.stopPropagation()\r\n e.preventDefault()\r\n})\r\n</script>\r\n","<template>\r\n <pagetable @row-click=\"onRowClick\"><slot></slot></pagetable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Pagetable from '../Pagetable'\r\nimport { useLov } from '../Form'\r\n\r\ndefineOptions({ name: 'OLovPagetable', inheritAttrs: true })\r\n\r\nconst lov = useLov()\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n</script>\r\n","import { withInstall } from '../_util'\r\n\r\nimport LovQuerytable from './LovQuerytable.vue'\r\nimport LovPagetable from './LovPagetable.vue'\r\n\r\nexport default withInstall(\r\n {},\r\n {\r\n LovQuerytable,\r\n LovPagetable,\r\n }\r\n)\r\n"],"names":["lov","useLov","onRowClick","row","onKeyStroke","e","index","withInstall","LovQuerytable","LovPagetable"],"mappings":";;;;;;;;;;;;;;AAUA,UAAMA,IAAMC,KACNC,IAAa,CAACC,MAAa;AAC/B,MAAAH,KAAA,QAAAA,EAAK,SAASG;AAAA,IAAG;AAGP,WAAAC,EAAA,aAAa,CAACC,MAAM;AACtB,cAAA,IAAI,aAAaA,CAAC,GAC1BA,EAAE,gBAAgB,GAClBA,EAAE,eAAe;AAAA,IAAA,CAClB;;;;;;;;;;;;ACVD,UAAML,IAAMC,KACNC,IAAa,CAACC,MAAa;AAC/B,MAAAH,KAAA,QAAAA,EAAK,SAASG;AAAA,IAAG;;;;;;;;ICNnBG,IAAeC;AAAA,EACb,CAAC;AAAA,EACD;AAAA,IAAA,eACEC;AAAAA,IAAA,cACAC;AAAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/LovTable/LovQuerytable.vue","../../../src/components/LovTable/LovPagetable.vue","../../../src/components/LovTable/index.ts"],"sourcesContent":["<template>\r\n <querytable ref=\"table\" :data=\"data\" @row-click=\"onRowClick\" current-row-mode @current-row-change=\"handleCurrentRowChange\" size=\"small\">\r\n <slot></slot>\r\n </querytable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport Querytable from '../Querytable'\r\nimport { useLov } from '../Form'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovQuerytable', inheritAttrs: true })\r\n\r\nconst { data } = defineProps<{ data: any[] }>()\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()\r\nlov?.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value?.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","<template>\r\n <pagetable\r\n ref=\"table\"\r\n :data=\"data\"\r\n @row-click=\"onRowClick\"\r\n current-row-mode\r\n @current-row-change=\"handleCurrentRowChange\"\r\n :pagination=\"pagination\"\r\n @update:pagination=\"onUpdatePagination\"\r\n size=\"small\"\r\n >\r\n <slot></slot>\r\n </pagetable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Pagetable from '../Pagetable'\r\nimport { useLov } from '../Form'\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovPagetable', inheritAttrs: true })\r\n\r\nconst { data, pagination } = defineProps<{\r\n data: any[]\r\n pagination: {\r\n currentPage?: number\r\n pageSize?: number\r\n total?: number\r\n }\r\n}>()\r\n\r\nconst emits = defineEmits(['update:pagination'])\r\nconst onUpdatePagination = (data: any) => {\r\n emits('update:pagination', data)\r\n}\r\n\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()\r\nlov?.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n } else if (code == 'ArrowLeft') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n if (currentPage > 1) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage - 1,\r\n })\r\n }\r\n } else if (code == 'ArrowRight') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n const totalPage = Math.ceil(total / pageSize)\r\n if (currentPage < totalPage) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage + 1,\r\n })\r\n }\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value?.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","import { withInstall } from '../_util'\r\n\r\nimport LovQuerytable from './LovQuerytable.vue'\r\nimport LovPagetable from './LovPagetable.vue'\r\n\r\nexport default withInstall(\r\n {},\r\n {\r\n LovQuerytable,\r\n LovPagetable,\r\n }\r\n)\r\n"],"names":["tableRef","useTemplateRef","currentRowIndex","ref","currentRowData","lov","useLov","code","nextRow","__props","scrollToRow","index","_a","onRowClick","row","handleCurrentRowChange","findIndex","watch","emits","__emit","onUpdatePagination","data","currentPage","pageSize","_b","total","_c","_d","_e","_f","totalPage","withInstall","LovQuerytable","LovPagetable"],"mappings":";;;;;;;;;;;;;;;;AAcM,UAAAA,IAAWC,EAAe,OAAO,GACjCC,IAAkBC,KAClBC,IAAiBD,KAEjBE,IAAMC;AACP,IAAAD,KAAA,QAAAA,EAAA,uBAAuB,CAACE,MAAS;AACpC,UAAIA,KAAQ,WAAW;AACjB,YAAAC;AACA,QAAAN,EAAgB,SAAS,IAC3BM,IAAUC,EAAI,KAACA,EAAI,KAAC,SAAS,CAAC,IAE9BD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAM,cAAcQ,CAAO,GACpCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,WACxBK,KAAQ,aAAa;AAC1B,YAAAC;AACJ,QAAIN,EAAgB,SAASO,EAAI,KAAC,SAAS,IAC/BD,IAAAC,OAAK,CAAC,IAEhBD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAM,cAAcQ,CAAO,GACpCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,MACnC,CAAWK,KAAQ,WACjBH,EAAe,UAASC,KAAA,QAAAA,EAAK,SAASD,EAAe;AAAA,IACvD;AAGI,UAAAM,IAAc,CAACC,MAAkB;;AAGrC,QAFeC,IAAAZ,EAAS,UAAT,gBAAAY,EAAgB,KACX,iBAAiB,gBAAgB,EAAED,CAAK,EACvD,uBAAuB;AAAA,IAAA,GAGxBE,IAAa,CAACC,MAAa;AAC/B,MAAAT,KAAA,QAAAA,EAAK,SAASS;AAAA,IAAG,GAGbC,IA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CAAC;AAAA,MAExC;AAAA,IAAA;;;;;;;;;;;;;;;;ICrHFE,IAAeoB;AAAA,EACb,CAAC;AAAA,EACD;AAAA,IAAA,eACEC;AAAAA,IAAA,cACAC;AAAAA,EACF;AACF;"}
@@ -28,6 +28,10 @@ export declare const pagetableProps: () => {
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
30
30
  };
31
+ size: {
32
+ type: PropType<"" | "small" | "default" | "large">;
33
+ default: "" | "small" | "default" | "large";
34
+ };
31
35
  };
32
36
  export type PagetableProps = Partial<ExtractPropTypes<ReturnType<typeof pagetableProps>>>;
33
37
  declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
@@ -59,6 +63,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
59
63
  type: BooleanConstructor;
60
64
  default: boolean;
61
65
  };
66
+ size: {
67
+ type: PropType<"" | "small" | "default" | "large">;
68
+ default: "" | "small" | "default" | "large";
69
+ };
62
70
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "update:pagination" | "rowClick")[], "selectionChange" | "currentRowChange" | "update:pagination" | "rowClick", import('vue').PublicProps, Readonly<ExtractPropTypes<{
63
71
  data: {
64
72
  type: PropType<any[]>;
@@ -88,6 +96,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
88
96
  type: BooleanConstructor;
89
97
  default: boolean;
90
98
  };
99
+ size: {
100
+ type: PropType<"" | "small" | "default" | "large">;
101
+ default: "" | "small" | "default" | "large";
102
+ };
91
103
  }>> & Readonly<{
92
104
  onSelectionChange?: ((...args: any[]) => any) | undefined;
93
105
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -95,6 +107,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
95
107
  onRowClick?: ((...args: any[]) => any) | undefined;
96
108
  }>, {
97
109
  data: any[];
110
+ size: "" | "small" | "default" | "large";
98
111
  pagination: {
99
112
  currentPage?: number;
100
113
  pageSize?: number;
@@ -38,6 +38,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
38
38
  type: BooleanConstructor;
39
39
  default: boolean;
40
40
  };
41
+ size: {
42
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
43
+ default: "" | "small" | "default" | "large";
44
+ };
41
45
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "update:pagination" | "rowClick")[], "selectionChange" | "currentRowChange" | "update:pagination" | "rowClick", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
42
46
  data: {
43
47
  type: import('vue').PropType<any[]>;
@@ -67,6 +71,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
67
71
  type: BooleanConstructor;
68
72
  default: boolean;
69
73
  };
74
+ size: {
75
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
76
+ default: "" | "small" | "default" | "large";
77
+ };
70
78
  }>> & Readonly<{
71
79
  onSelectionChange?: ((...args: any[]) => any) | undefined;
72
80
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -74,6 +82,7 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
74
82
  onRowClick?: ((...args: any[]) => any) | undefined;
75
83
  }>, {
76
84
  data: any[];
85
+ size: "" | "small" | "default" | "large";
77
86
  pagination: {
78
87
  currentPage?: number;
79
88
  pageSize?: number;