@ithinkdt/ui 4.1.0 → 4.1.1
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/esm/{DataTable-BVifHuTW.js → DataTable-D1Z9h8V1.js} +3 -3
- package/esm/{components-Gbs1QIjp.js → components-CwMUuo3f.js} +1 -1
- package/esm/components.js +1 -1
- package/esm/composables.js +1 -1
- package/esm/page.js +1 -1
- package/esm/{use-table-range-select-BTC3NnsD.js → use-table-range-select-B6KrCUln.js} +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e, { c as t, cB as n, cE as r, cM as i, useClsPrefix as a } from "./use-style.js";
|
|
2
2
|
import { i as o } from "./directives-G7hy3akL.js";
|
|
3
|
-
import { C as s } from "./components-
|
|
4
|
-
import { t as c } from "./use-table-range-select-
|
|
3
|
+
import { C as s } from "./components-CwMUuo3f.js";
|
|
4
|
+
import { t as c } from "./use-table-range-select-B6KrCUln.js";
|
|
5
5
|
import { computed as l, createVNode as u, defineComponent as d, inject as f, isVNode as p, ref as m, shallowRef as h, toValue as g, useTemplateRef as _, watch as v, withDirectives as y } from "vue";
|
|
6
6
|
import { toReactive as b, until as x } from "@vueuse/core";
|
|
7
7
|
import { NButton as S, NDataTable as C, NFlex as w, NIcon as T, NTooltip as E, dataTableProps as D } from "ithinkdt-ui";
|
|
@@ -61,7 +61,7 @@ function A(e, t) {
|
|
|
61
61
|
disabled: e.selectable ? (t) => e.selectable(t) === !1 : void 0
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
return n.key === "$actions"
|
|
64
|
+
return n.key === "$actions" ? n.cellProps ??= () => ({ style: { padding: "0 2px" } }) : n.key === "$selection" && (n.multiple = e.selectType !== "single"), n;
|
|
65
65
|
}).filter((e) => e?.hidden !== !0);
|
|
66
66
|
}
|
|
67
67
|
var j = /* @__PURE__ */ d({
|
|
@@ -2158,6 +2158,6 @@ var Mt = /* @__PURE__ */ d({
|
|
|
2158
2158
|
});
|
|
2159
2159
|
};
|
|
2160
2160
|
}
|
|
2161
|
-
}), It = u(() => import("./DataTable-
|
|
2161
|
+
}), It = u(() => import("./DataTable-D1Z9h8V1.js").then((e) => e.DataTable));
|
|
2162
2162
|
//#endregion
|
|
2163
2163
|
export { Re as C, ot as S, gt as _, jt as a, pt as b, At as c, Tt as d, Ct as f, _t as g, yt as h, Mt as i, Ot as l, bt as m, Ft as n, Nt as o, X as p, Pt as r, $ as s, It as t, Et as u, Y as v, Le as w, ct as x, J as y };
|
package/esm/components.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, w as b, x, y as S } from "./components-
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, w as b, x, y as S } from "./components-CwMUuo3f.js";
|
|
2
2
|
export { e as DataActions, x as DataCustom, r as DataDescriptions, s as DataFilter, t as DataForm, y as DataFormActions, d as DataLocaleInput, m as DataPagination, a as DataSelection, _ as DataTable, l as DtDeptRender, n as DtUserDept, p as DtUserRender, v as FullscreenButton, u as FullscreenWrapper, b as NCheckboxes, i as NRadios, f as NStateButton, h as StateButtonProps, o as ViewProfile, S as dataFormActionsProps, g as renderUsers, c as useLocaleEdit };
|
package/esm/composables.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-table-range-select-
|
|
1
|
+
import { t as e } from "./use-table-range-select-B6KrCUln.js";
|
|
2
2
|
import { nextTick as t, ref as n, watch as r } from "vue";
|
|
3
3
|
import { unrefElement as i } from "@vueuse/core";
|
|
4
4
|
import { Sortable as a } from "sortablejs";
|
package/esm/page.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./use-i18n-BUP_StIp.js";
|
|
2
|
-
import { _ as t, a as n, c as r, i, o as a, w as o } from "./components-
|
|
2
|
+
import { _ as t, a as n, c as r, i, o as a, w as o } from "./components-CwMUuo3f.js";
|
|
3
3
|
import { computed as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, h as d, isVNode as f, mergeProps as p, nextTick as m, ref as h, renderSlot as g, shallowRef as _, toValue as v, unref as y } from "vue";
|
|
4
4
|
import { until as b, useClipboard as x } from "@vueuse/core";
|
|
5
5
|
import { NButton as S, NCheckbox as C, NColorPicker as w, NDrawer as T, NDrawerContent as E, NFlex as D, NIcon as O, NInput as k, NInputNumber as A, NModal as j, NScrollbar as M, NSelect as N, NText as P, NUpload as F, useMessage as I } from "ithinkdt-ui";
|
|
@@ -73,7 +73,7 @@ function p(p, m = {}) {
|
|
|
73
73
|
let i = n.cells[e];
|
|
74
74
|
if (i && t >= s && t <= c && e >= a && e <= o) {
|
|
75
75
|
let e = b(i) || "";
|
|
76
|
-
e = e.replace(/\t/g, " ").
|
|
76
|
+
e = e.replace(/\t/g, " ").replaceAll(/[\r\n]/g, ""), r.push(e);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
r.length > 0 && l.push(r);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ithinkdt/ui",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "iThinkDT UI",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"vueuc": ">=0.4.65",
|
|
67
67
|
"sortablejs": "^1.15.7",
|
|
68
68
|
"@types/sortablejs": "^1.15.9",
|
|
69
|
-
"nanoid": "^5.1.
|
|
70
|
-
"@ithinkdt/common": "^4.1.
|
|
69
|
+
"nanoid": "^5.1.15",
|
|
70
|
+
"@ithinkdt/common": "^4.1.1"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@ithinkdt/page": ">=4.1",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"vue": "^3.5.38",
|
|
94
94
|
"vue-router": "^5.1.0",
|
|
95
95
|
"@vue/test-utils": "^2.4.11",
|
|
96
|
-
"@ithinkdt/page": "^4.1.
|
|
96
|
+
"@ithinkdt/page": "^4.1.1"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|
|
99
99
|
"dev": "vite build --watch",
|