@webitel/ui-sdk 25.10.13 → 25.10.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.
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +19 -20
- package/dist/ui-sdk.umd.cjs +2 -1
- package/package.json +1 -1
- package/src/components/wt-table/wt-table.vue +24 -14
- package/src/locale/en/en.js +2 -2
- package/src/plugins/primevue/theme/components/table/table.js +1 -0
- package/types/components/wt-table/wt-table.vue.d.ts +2 -2
- package/types/locale/en/en.d.ts +740 -1
- package/types/locale/i18n.d.ts +729 -1
- package/types/locale/index.d.ts +729 -1
package/dist/ui-sdk.js
CHANGED
|
@@ -66626,10 +66626,7 @@ const wW = /* @__PURE__ */ Ne(yW, [["render", vW], ["__scopeId", "data-v-03d21c6
|
|
|
66626
66626
|
default:
|
|
66627
66627
|
return tr.ASC;
|
|
66628
66628
|
}
|
|
66629
|
-
}, DW = {
|
|
66630
|
-
style: { width: "0" },
|
|
66631
|
-
class: "wt-table__th__content"
|
|
66632
|
-
}, EW = { class: "wt-table__td__actions" }, LW = /* @__PURE__ */ xt({
|
|
66629
|
+
}, DW = { class: "wt-table__th__content" }, EW = { class: "wt-table__td__actions" }, LW = /* @__PURE__ */ xt({
|
|
66633
66630
|
__name: "wt-table",
|
|
66634
66631
|
props: {
|
|
66635
66632
|
headers: { default: () => [] },
|
|
@@ -66724,7 +66721,7 @@ const wW = /* @__PURE__ */ Ne(yW, [["render", vW], ["__scopeId", "data-v-03d21c6
|
|
|
66724
66721
|
} : x)), h = (x) => x.show === !1, b = (x) => ({
|
|
66725
66722
|
minWidth: x.width || "140px"
|
|
66726
66723
|
}), g = pe(() => Object.keys(s).some((x) => x.includes("-footer"))), y = pe(() => Object.keys(s).some((x) => x === "footer")), w = pe(() => u.value.length === n.data.length && n.data.length > 0), A = ({ sortField: x }) => {
|
|
66727
|
-
const T = m.value.find((P) => P.
|
|
66724
|
+
const T = m.value.find((P) => P.field === x);
|
|
66728
66725
|
if (!S(T)) return;
|
|
66729
66726
|
const O = A6(T.sort);
|
|
66730
66727
|
l("sort", T, O);
|
|
@@ -66800,7 +66797,20 @@ const wW = /* @__PURE__ */ Ne(yW, [["render", vW], ["__scopeId", "data-v-03d21c6
|
|
|
66800
66797
|
hidden: h(N)
|
|
66801
66798
|
}, jt({
|
|
66802
66799
|
header: ne(() => [
|
|
66803
|
-
H("div", DW,
|
|
66800
|
+
H("div", DW, [
|
|
66801
|
+
Be(be(N.text) + " ", 1),
|
|
66802
|
+
N.sort === "asc" ? (C(), Q(O, {
|
|
66803
|
+
key: 0,
|
|
66804
|
+
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--asc",
|
|
66805
|
+
icon: "sort-arrow-up",
|
|
66806
|
+
size: "sm"
|
|
66807
|
+
})) : N.sort === "desc" ? (C(), Q(O, {
|
|
66808
|
+
key: 1,
|
|
66809
|
+
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--desc",
|
|
66810
|
+
icon: "sort-arrow-down",
|
|
66811
|
+
size: "sm"
|
|
66812
|
+
})) : q("", !0)
|
|
66813
|
+
])
|
|
66804
66814
|
]),
|
|
66805
66815
|
body: ne(({ data: Y, index: M }) => [
|
|
66806
66816
|
H("div", {
|
|
@@ -66816,19 +66826,7 @@ const wW = /* @__PURE__ */ Ne(yW, [["render", vW], ["__scopeId", "data-v-03d21c6
|
|
|
66816
66826
|
], !0) : q("", !0)
|
|
66817
66827
|
], 4)
|
|
66818
66828
|
]),
|
|
66819
|
-
sorticon: ne(() => [
|
|
66820
|
-
N.sort === "asc" ? (C(), Q(O, {
|
|
66821
|
-
key: 0,
|
|
66822
|
-
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--asc",
|
|
66823
|
-
icon: "sort-arrow-up",
|
|
66824
|
-
size: "sm"
|
|
66825
|
-
})) : N.sort === "desc" ? (C(), Q(O, {
|
|
66826
|
-
key: 1,
|
|
66827
|
-
class: "wt-table__th__sort-arrow wt-table__th__sort-arrow--desc",
|
|
66828
|
-
icon: "sort-arrow-down",
|
|
66829
|
-
size: "sm"
|
|
66830
|
-
})) : q("", !0)
|
|
66831
|
-
]),
|
|
66829
|
+
sorticon: ne(() => []),
|
|
66832
66830
|
_: 2
|
|
66833
66831
|
}, [
|
|
66834
66832
|
g.value ? {
|
|
@@ -66873,7 +66871,7 @@ const wW = /* @__PURE__ */ Ne(yW, [["render", vW], ["__scopeId", "data-v-03d21c6
|
|
|
66873
66871
|
]), 1032, ["value", "show-headers", "row-class", "row-style"]);
|
|
66874
66872
|
};
|
|
66875
66873
|
}
|
|
66876
|
-
}), BW = /* @__PURE__ */ Ne(LW, [["__scopeId", "data-v-
|
|
66874
|
+
}), BW = /* @__PURE__ */ Ne(LW, [["__scopeId", "data-v-fbd55d3b"]]), PW = {
|
|
66877
66875
|
name: "WtTableActions",
|
|
66878
66876
|
props: {
|
|
66879
66877
|
icons: {
|
|
@@ -97122,6 +97120,7 @@ const Tue = {
|
|
|
97122
97120
|
.p-datatable-tbody > tr > td {
|
|
97123
97121
|
word-break: break-all;
|
|
97124
97122
|
overflow-wrap: break-word;
|
|
97123
|
+
vertical-align: top;
|
|
97125
97124
|
}
|
|
97126
97125
|
|
|
97127
97126
|
.p-datatable-thead > tr > th {
|