@webitel/ui-sdk 25.10.34 → 25.10.36
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.js
CHANGED
|
@@ -68665,27 +68665,27 @@ const ZW = /* @__PURE__ */ Ne(WW, [["render", GW], ["__scopeId", "data-v-03d21c6
|
|
|
68665
68665
|
}, _ = ({ element: q }) => {
|
|
68666
68666
|
const N = q.getAttribute("data-column-field"), K = getComputedStyle(q), G = parseFloat(K.paddingLeft), X = parseFloat(K.paddingRight), M = q.offsetWidth - G - X;
|
|
68667
68667
|
l("column-resize", { columnName: N, columnWidth: `${M}px` });
|
|
68668
|
-
}, j =
|
|
68669
|
-
const
|
|
68670
|
-
f.value += 1,
|
|
68668
|
+
}, j = () => {
|
|
68669
|
+
const q = c.value.d_columnOrder.filter((N) => !m.includes(N));
|
|
68670
|
+
f.value += 1, l("column-reorder", q);
|
|
68671
68671
|
};
|
|
68672
68672
|
return (q, N) => {
|
|
68673
68673
|
const K = se("wt-icon"), G = se("p-column"), X = se("wt-checkbox"), M = se("p-table");
|
|
68674
68674
|
return C(), ee(M, {
|
|
68675
|
+
key: f.value,
|
|
68675
68676
|
ref_key: "table",
|
|
68676
68677
|
ref: c,
|
|
68677
|
-
|
|
68678
|
-
|
|
68679
|
-
value: q.data,
|
|
68680
|
-
"show-headers": !q.headless,
|
|
68678
|
+
"reorderable-columns": q.reorderableColumns,
|
|
68679
|
+
"resizable-columns": q.resizableColumns,
|
|
68681
68680
|
"row-class": q.rowClass,
|
|
68682
68681
|
"row-style": q.rowStyle,
|
|
68682
|
+
"show-headers": !q.headless,
|
|
68683
|
+
value: q.data,
|
|
68684
|
+
class: "wt-table",
|
|
68685
|
+
"column-resize-mode": "expand",
|
|
68683
68686
|
lazy: "",
|
|
68684
|
-
scrollable: "",
|
|
68685
68687
|
"scroll-height": "flex",
|
|
68686
|
-
"
|
|
68687
|
-
"reorderable-columns": q.reorderableColumns,
|
|
68688
|
-
"column-resize-mode": "expand",
|
|
68688
|
+
scrollable: "",
|
|
68689
68689
|
onSort: R,
|
|
68690
68690
|
onColumnResizeEnd: _,
|
|
68691
68691
|
onColumnReorder: j,
|
|
@@ -68694,41 +68694,41 @@ const ZW = /* @__PURE__ */ Ne(WW, [["render", GW], ["__scopeId", "data-v-03d21c6
|
|
|
68694
68694
|
default: ne(() => [
|
|
68695
68695
|
q.rowReorder ? (C(), ee(G, {
|
|
68696
68696
|
key: 0,
|
|
68697
|
-
"column-key": "row-reorder",
|
|
68698
|
-
"row-reorder": "",
|
|
68699
|
-
"reorderable-column": !1,
|
|
68700
|
-
"header-style": "width: 1%;",
|
|
68701
|
-
"body-style": "width: 1%;",
|
|
68702
68697
|
pt: {
|
|
68703
68698
|
columnresizer: {
|
|
68704
68699
|
class: {
|
|
68705
68700
|
hidden: !0
|
|
68706
68701
|
}
|
|
68707
68702
|
}
|
|
68708
|
-
}
|
|
68703
|
+
},
|
|
68704
|
+
"reorderable-column": !1,
|
|
68705
|
+
"body-style": "width: 1%;",
|
|
68706
|
+
"column-key": "row-reorder",
|
|
68707
|
+
"header-style": "width: 1%;",
|
|
68708
|
+
"row-reorder": ""
|
|
68709
68709
|
}, {
|
|
68710
68710
|
body: ne(({ data: Z }) => [
|
|
68711
68711
|
q.isRowReorderDisabled(Z) ? F("", !0) : (C(), ee(K, {
|
|
68712
68712
|
key: 0,
|
|
68713
|
-
|
|
68714
|
-
|
|
68713
|
+
"data-pc-section": "reorderablerowhandle",
|
|
68714
|
+
icon: "move"
|
|
68715
68715
|
}))
|
|
68716
68716
|
]),
|
|
68717
68717
|
_: 1
|
|
68718
68718
|
})) : F("", !0),
|
|
68719
68719
|
q.selectable ? (C(), ee(G, {
|
|
68720
68720
|
key: 1,
|
|
68721
|
-
"column-key": "row-select",
|
|
68722
|
-
"reorderable-column": !1,
|
|
68723
|
-
"header-style": "width: 1%;",
|
|
68724
|
-
"body-style": "width: 1%;",
|
|
68725
68721
|
pt: {
|
|
68726
68722
|
columnresizer: {
|
|
68727
68723
|
class: {
|
|
68728
68724
|
hidden: !0
|
|
68729
68725
|
}
|
|
68730
68726
|
}
|
|
68731
|
-
}
|
|
68727
|
+
},
|
|
68728
|
+
"reorderable-column": !1,
|
|
68729
|
+
"body-style": "width: 1%;",
|
|
68730
|
+
"column-key": "row-select",
|
|
68731
|
+
"header-style": "width: 1%;"
|
|
68732
68732
|
}, {
|
|
68733
68733
|
header: ne(() => [
|
|
68734
68734
|
he(X, {
|
|
@@ -68749,14 +68749,14 @@ const ZW = /* @__PURE__ */ Ne(WW, [["render", GW], ["__scopeId", "data-v-03d21c6
|
|
|
68749
68749
|
key: Z.value,
|
|
68750
68750
|
"column-key": Z.field,
|
|
68751
68751
|
field: Z.field,
|
|
68752
|
-
sortable: x(Z),
|
|
68753
68752
|
hidden: g(Z),
|
|
68754
68753
|
pt: {
|
|
68755
68754
|
root: {
|
|
68756
68755
|
"data-column-field": Z.field
|
|
68757
68756
|
// required for column-resizer to get column field
|
|
68758
68757
|
}
|
|
68759
|
-
}
|
|
68758
|
+
},
|
|
68759
|
+
sortable: x(Z)
|
|
68760
68760
|
}, $t({
|
|
68761
68761
|
header: ne(() => [
|
|
68762
68762
|
U("div", rG, [
|
|
@@ -68798,13 +68798,13 @@ const ZW = /* @__PURE__ */ Ne(WW, [["render", GW], ["__scopeId", "data-v-03d21c6
|
|
|
68798
68798
|
]),
|
|
68799
68799
|
key: "0"
|
|
68800
68800
|
} : void 0
|
|
68801
|
-
]), 1032, ["column-key", "field", "
|
|
68801
|
+
]), 1032, ["column-key", "field", "hidden", "pt", "sortable"]))), 128)),
|
|
68802
68802
|
q.gridActions ? (C(), ee(G, {
|
|
68803
68803
|
key: 2,
|
|
68804
|
-
"column-key": "row-actions",
|
|
68805
|
-
style: { width: "112px" },
|
|
68806
68804
|
frozen: q.fixedActions,
|
|
68807
|
-
"align-frozen": "right"
|
|
68805
|
+
"align-frozen": "right",
|
|
68806
|
+
"column-key": "row-actions",
|
|
68807
|
+
style: { width: "112px" }
|
|
68808
68808
|
}, {
|
|
68809
68809
|
header: ne(() => [
|
|
68810
68810
|
W(q.$slots, "actions-header", {}, void 0, !0)
|
|
@@ -68830,10 +68830,10 @@ const ZW = /* @__PURE__ */ Ne(WW, [["render", GW], ["__scopeId", "data-v-03d21c6
|
|
|
68830
68830
|
]),
|
|
68831
68831
|
key: "0"
|
|
68832
68832
|
} : void 0
|
|
68833
|
-
]), 1032, ["
|
|
68833
|
+
]), 1032, ["reorderable-columns", "resizable-columns", "row-class", "row-style", "show-headers", "value"]);
|
|
68834
68834
|
};
|
|
68835
68835
|
}
|
|
68836
|
-
}), dG = /* @__PURE__ */ Ne(sG, [["__scopeId", "data-v-
|
|
68836
|
+
}), dG = /* @__PURE__ */ Ne(sG, [["__scopeId", "data-v-4781724a"]]), cG = {
|
|
68837
68837
|
name: "WtTableActions",
|
|
68838
68838
|
props: {
|
|
68839
68839
|
icons: {
|