@amirjalili1374/ui-kit 1.5.41 → 1.5.44
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-kit.es.js
CHANGED
|
@@ -18234,7 +18234,10 @@ const _hoisted_1$9 = {
|
|
|
18234
18234
|
class: "page-title"
|
|
18235
18235
|
};
|
|
18236
18236
|
const _hoisted_2$5 = { class: "title-text" };
|
|
18237
|
-
const _hoisted_3$3 = {
|
|
18237
|
+
const _hoisted_3$3 = {
|
|
18238
|
+
key: 1,
|
|
18239
|
+
class: "action-buttons"
|
|
18240
|
+
};
|
|
18238
18241
|
const _hoisted_4$1 = {
|
|
18239
18242
|
key: 0,
|
|
18240
18243
|
class: "selected-actions"
|
|
@@ -18247,47 +18250,46 @@ const _hoisted_6$1 = {
|
|
|
18247
18250
|
key: 0,
|
|
18248
18251
|
class: "me-1"
|
|
18249
18252
|
};
|
|
18250
|
-
const _hoisted_7$1 = {
|
|
18251
|
-
|
|
18252
|
-
key: 2,
|
|
18253
|
+
const _hoisted_7$1 = {
|
|
18254
|
+
key: 3,
|
|
18253
18255
|
class: "selection-actions mb-2"
|
|
18254
18256
|
};
|
|
18255
|
-
const
|
|
18256
|
-
const
|
|
18257
|
+
const _hoisted_8$1 = ["aria-busy", "aria-live"];
|
|
18258
|
+
const _hoisted_9$1 = {
|
|
18257
18259
|
key: 0,
|
|
18258
18260
|
class: "grouped-table"
|
|
18259
18261
|
};
|
|
18260
|
-
const
|
|
18261
|
-
const
|
|
18262
|
-
const
|
|
18263
|
-
const
|
|
18264
|
-
const
|
|
18265
|
-
const
|
|
18266
|
-
const
|
|
18262
|
+
const _hoisted_10$1 = { class: "group-controls mb-3" };
|
|
18263
|
+
const _hoisted_11$1 = { class: "groups-container" };
|
|
18264
|
+
const _hoisted_12$1 = ["onClick", "onKeydown", "aria-expanded", "aria-controls", "id"];
|
|
18265
|
+
const _hoisted_13$1 = { class: "group-label" };
|
|
18266
|
+
const _hoisted_14$1 = ["id", "aria-labelledby"];
|
|
18267
|
+
const _hoisted_15$1 = ["tabindex", "onKeydown", "onClick"];
|
|
18268
|
+
const _hoisted_16$1 = {
|
|
18267
18269
|
key: 2,
|
|
18268
18270
|
class: "d-flex align-center",
|
|
18269
18271
|
style: { "gap": "4px" }
|
|
18270
18272
|
};
|
|
18273
|
+
const _hoisted_17 = ["onClick"];
|
|
18271
18274
|
const _hoisted_18 = ["onClick"];
|
|
18272
|
-
const _hoisted_19 = ["onClick"];
|
|
18273
|
-
const _hoisted_20 =
|
|
18274
|
-
const _hoisted_21 = {
|
|
18275
|
+
const _hoisted_19 = ["tabindex", "onKeydown", "onClick"];
|
|
18276
|
+
const _hoisted_20 = {
|
|
18275
18277
|
key: 2,
|
|
18276
18278
|
class: "d-flex align-center",
|
|
18277
18279
|
style: { "gap": "4px" }
|
|
18278
18280
|
};
|
|
18281
|
+
const _hoisted_21 = ["onClick"];
|
|
18279
18282
|
const _hoisted_22 = ["onClick"];
|
|
18280
|
-
const _hoisted_23 =
|
|
18281
|
-
const _hoisted_24 = {
|
|
18283
|
+
const _hoisted_23 = {
|
|
18282
18284
|
key: 2,
|
|
18283
18285
|
class: "d-flex justify-center align-center pa-4"
|
|
18284
18286
|
};
|
|
18285
|
-
const
|
|
18287
|
+
const _hoisted_24 = {
|
|
18286
18288
|
key: 2,
|
|
18287
18289
|
class: "pagination-wrapper"
|
|
18288
18290
|
};
|
|
18289
|
-
const
|
|
18290
|
-
const
|
|
18291
|
+
const _hoisted_25 = { class: "d-flex justify-space-between align-center pa-3" };
|
|
18292
|
+
const _hoisted_26 = { class: "text-subtitle-3" };
|
|
18291
18293
|
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
18292
18294
|
...{ inheritAttrs: false },
|
|
18293
18295
|
__name: "CustomDataTable",
|
|
@@ -19415,7 +19417,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19415
19417
|
props.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
19416
19418
|
createElementVNode("h3", _hoisted_2$5, toDisplayString(props.title), 1)
|
|
19417
19419
|
])) : createCommentVNode("", true),
|
|
19418
|
-
|
|
19420
|
+
!props.inlineFilter ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
19419
19421
|
((_a = props.actions) == null ? void 0 : _a.includes("create")) ? (openBlock(), createBlock(VBtn, {
|
|
19420
19422
|
key: 0,
|
|
19421
19423
|
color: "green",
|
|
@@ -19604,29 +19606,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19604
19606
|
]),
|
|
19605
19607
|
_: 1
|
|
19606
19608
|
})
|
|
19607
|
-
]),
|
|
19609
|
+
])) : createCommentVNode("", true),
|
|
19608
19610
|
props.inlineFilter && formHeaders.value.length > 0 ? (openBlock(), createBlock(VCard, {
|
|
19609
|
-
key:
|
|
19611
|
+
key: 2,
|
|
19610
19612
|
class: "mb-2 pa-2",
|
|
19611
19613
|
elevation: "1"
|
|
19612
19614
|
}, {
|
|
19613
19615
|
default: withCtx(() => [
|
|
19614
|
-
createElementVNode("div", _hoisted_7$1, [
|
|
19615
|
-
_cache[35] || (_cache[35] = createElementVNode("span", { class: "text-subtitle-3 font-weight-medium" }, "فیلترها", -1)),
|
|
19616
|
-
createVNode(VSpacer),
|
|
19617
|
-
hasActiveInlineFilters.value ? (openBlock(), createBlock(VBtn, {
|
|
19618
|
-
key: 0,
|
|
19619
|
-
variant: "text",
|
|
19620
|
-
size: "small",
|
|
19621
|
-
color: "error",
|
|
19622
|
-
onClick: resetFilter
|
|
19623
|
-
}, {
|
|
19624
|
-
default: withCtx(() => [..._cache[34] || (_cache[34] = [
|
|
19625
|
-
createTextVNode(" حذف فیلترها ", -1)
|
|
19626
|
-
])]),
|
|
19627
|
-
_: 1
|
|
19628
|
-
})) : createCommentVNode("", true)
|
|
19629
|
-
]),
|
|
19630
19616
|
createVNode(VContainer, null, {
|
|
19631
19617
|
default: withCtx(() => [
|
|
19632
19618
|
createVNode(VRow, null, {
|
|
@@ -19744,7 +19730,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19744
19730
|
]),
|
|
19745
19731
|
_: 3
|
|
19746
19732
|
})) : createCommentVNode("", true),
|
|
19747
|
-
props.selectable && hasSelection.value ? (openBlock(), createElementBlock("div",
|
|
19733
|
+
props.selectable && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
19748
19734
|
createVNode(VChip, {
|
|
19749
19735
|
color: "primary",
|
|
19750
19736
|
class: "me-2"
|
|
@@ -19760,7 +19746,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19760
19746
|
class: "me-2",
|
|
19761
19747
|
onClick: clearSelection
|
|
19762
19748
|
}, {
|
|
19763
|
-
default: withCtx(() => [..._cache[
|
|
19749
|
+
default: withCtx(() => [..._cache[34] || (_cache[34] = [
|
|
19764
19750
|
createTextVNode(" پاک کردن انتخاب ", -1)
|
|
19765
19751
|
])]),
|
|
19766
19752
|
_: 1
|
|
@@ -19784,15 +19770,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19784
19770
|
boilerplate: false
|
|
19785
19771
|
}, null, 8, ["loading"])
|
|
19786
19772
|
], 4)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
19787
|
-
props.groupBy && unref(groupedItems).length > 0 ? (openBlock(), createElementBlock("div",
|
|
19788
|
-
createElementVNode("div",
|
|
19773
|
+
props.groupBy && unref(groupedItems).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
19774
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
19789
19775
|
createVNode(VBtn, {
|
|
19790
19776
|
size: "small",
|
|
19791
19777
|
color: "primary",
|
|
19792
19778
|
onClick: expandAllGroups,
|
|
19793
19779
|
class: "me-2"
|
|
19794
19780
|
}, {
|
|
19795
|
-
default: withCtx(() => [..._cache[
|
|
19781
|
+
default: withCtx(() => [..._cache[35] || (_cache[35] = [
|
|
19796
19782
|
createTextVNode(" گسترش همه ", -1)
|
|
19797
19783
|
])]),
|
|
19798
19784
|
_: 1
|
|
@@ -19803,7 +19789,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19803
19789
|
onClick: collapseAllGroups,
|
|
19804
19790
|
class: "me-2"
|
|
19805
19791
|
}, {
|
|
19806
|
-
default: withCtx(() => [..._cache[
|
|
19792
|
+
default: withCtx(() => [..._cache[36] || (_cache[36] = [
|
|
19807
19793
|
createTextVNode(" جمع کردن همه ", -1)
|
|
19808
19794
|
])]),
|
|
19809
19795
|
_: 1
|
|
@@ -19813,7 +19799,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19813
19799
|
class: "groups-scroll-container",
|
|
19814
19800
|
style: normalizeStyle({ height: `${props.height - 120}px` })
|
|
19815
19801
|
}, [
|
|
19816
|
-
createElementVNode("div",
|
|
19802
|
+
createElementVNode("div", _hoisted_11$1, [
|
|
19817
19803
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(groupedItems), (group) => {
|
|
19818
19804
|
return openBlock(), createElementBlock("div", {
|
|
19819
19805
|
key: group.groupKey,
|
|
@@ -19841,7 +19827,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19841
19827
|
key: 1,
|
|
19842
19828
|
class: "me-2 chevron-icon"
|
|
19843
19829
|
})),
|
|
19844
|
-
createElementVNode("span",
|
|
19830
|
+
createElementVNode("span", _hoisted_13$1, toDisplayString(group.groupLabel), 1),
|
|
19845
19831
|
createVNode(VChip, {
|
|
19846
19832
|
size: "small",
|
|
19847
19833
|
color: "darkprimary",
|
|
@@ -19852,7 +19838,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19852
19838
|
]),
|
|
19853
19839
|
_: 2
|
|
19854
19840
|
}, 1024)
|
|
19855
|
-
], 42,
|
|
19841
|
+
], 42, _hoisted_12$1),
|
|
19856
19842
|
createVNode(Transition, {
|
|
19857
19843
|
name: "group-expand",
|
|
19858
19844
|
appear: ""
|
|
@@ -19931,7 +19917,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19931
19917
|
class: "mr-2",
|
|
19932
19918
|
onClick: ($event) => openDialog(item)
|
|
19933
19919
|
}, {
|
|
19934
|
-
default: withCtx(() => [..._cache[
|
|
19920
|
+
default: withCtx(() => [..._cache[37] || (_cache[37] = [
|
|
19935
19921
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
19936
19922
|
])]),
|
|
19937
19923
|
_: 1
|
|
@@ -19943,7 +19929,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19943
19929
|
class: "mr-2",
|
|
19944
19930
|
onClick: ($event) => openDeleteDialog(item)
|
|
19945
19931
|
}, {
|
|
19946
|
-
default: withCtx(() => [..._cache[
|
|
19932
|
+
default: withCtx(() => [..._cache[38] || (_cache[38] = [
|
|
19947
19933
|
createTextVNode("حذف ❌ ", -1)
|
|
19948
19934
|
])]),
|
|
19949
19935
|
_: 1
|
|
@@ -19955,7 +19941,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19955
19941
|
class: "mr-2",
|
|
19956
19942
|
onClick: ($event) => goToRoute("view", item)
|
|
19957
19943
|
}, {
|
|
19958
|
-
default: withCtx(() => [..._cache[
|
|
19944
|
+
default: withCtx(() => [..._cache[39] || (_cache[39] = [
|
|
19959
19945
|
createTextVNode("🔍 نمایش ", -1)
|
|
19960
19946
|
])]),
|
|
19961
19947
|
_: 1
|
|
@@ -20033,7 +20019,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20033
20019
|
_: 2
|
|
20034
20020
|
}, 1032, ["color", "onClick"]);
|
|
20035
20021
|
}), 128))
|
|
20036
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
20022
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_16$1, [
|
|
20037
20023
|
shouldTruncate(
|
|
20038
20024
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
20039
20025
|
getHeaderForColumn(column.key || "")
|
|
@@ -20046,7 +20032,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20046
20032
|
column.title || column.key || "",
|
|
20047
20033
|
item
|
|
20048
20034
|
), ["stop"])
|
|
20049
|
-
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9,
|
|
20035
|
+
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9, _hoisted_17)) : (openBlock(), createElementBlock("span", {
|
|
20050
20036
|
key: 1,
|
|
20051
20037
|
onClick: withModifiers(($event) => shouldShowCopyButton(getHeaderForColumn(column.key || "")) && openTextPreview(
|
|
20052
20038
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
@@ -20054,7 +20040,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20054
20040
|
item
|
|
20055
20041
|
), ["stop"]),
|
|
20056
20042
|
style: normalizeStyle({ cursor: shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? "pointer" : "default" })
|
|
20057
|
-
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13,
|
|
20043
|
+
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13, _hoisted_18)),
|
|
20058
20044
|
shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? (openBlock(), createBlock(VBtn, {
|
|
20059
20045
|
key: 2,
|
|
20060
20046
|
icon: "",
|
|
@@ -20070,7 +20056,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20070
20056
|
}, {
|
|
20071
20057
|
default: withCtx(() => [
|
|
20072
20058
|
createVNode(VIcon, { size: "16" }, {
|
|
20073
|
-
default: withCtx(() => [..._cache[
|
|
20059
|
+
default: withCtx(() => [..._cache[40] || (_cache[40] = [
|
|
20074
20060
|
createTextVNode("mdi-content-copy", -1)
|
|
20075
20061
|
])]),
|
|
20076
20062
|
_: 1
|
|
@@ -20081,11 +20067,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20081
20067
|
]))
|
|
20082
20068
|
], 4);
|
|
20083
20069
|
}), 128))
|
|
20084
|
-
], 44,
|
|
20070
|
+
], 44, _hoisted_15$1)
|
|
20085
20071
|
]),
|
|
20086
20072
|
_: 1
|
|
20087
20073
|
}, 8, ["headers", "items", "items-per-page"])
|
|
20088
|
-
], 8,
|
|
20074
|
+
], 8, _hoisted_14$1)) : createCommentVNode("", true)
|
|
20089
20075
|
]),
|
|
20090
20076
|
_: 2
|
|
20091
20077
|
}, 1024)
|
|
@@ -20161,7 +20147,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20161
20147
|
class: "mr-2",
|
|
20162
20148
|
onClick: ($event) => openDialog(item)
|
|
20163
20149
|
}, {
|
|
20164
|
-
default: withCtx(() => [..._cache[
|
|
20150
|
+
default: withCtx(() => [..._cache[41] || (_cache[41] = [
|
|
20165
20151
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
20166
20152
|
])]),
|
|
20167
20153
|
_: 1
|
|
@@ -20173,7 +20159,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20173
20159
|
class: "mr-2",
|
|
20174
20160
|
onClick: ($event) => openDeleteDialog(item)
|
|
20175
20161
|
}, {
|
|
20176
|
-
default: withCtx(() => [..._cache[
|
|
20162
|
+
default: withCtx(() => [..._cache[42] || (_cache[42] = [
|
|
20177
20163
|
createTextVNode("حذف ❌ ", -1)
|
|
20178
20164
|
])]),
|
|
20179
20165
|
_: 1
|
|
@@ -20185,7 +20171,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20185
20171
|
class: "mr-2",
|
|
20186
20172
|
onClick: ($event) => goToRoute("view", item)
|
|
20187
20173
|
}, {
|
|
20188
|
-
default: withCtx(() => [..._cache[
|
|
20174
|
+
default: withCtx(() => [..._cache[43] || (_cache[43] = [
|
|
20189
20175
|
createTextVNode("🔍 نمایش ", -1)
|
|
20190
20176
|
])]),
|
|
20191
20177
|
_: 1
|
|
@@ -20263,7 +20249,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20263
20249
|
_: 2
|
|
20264
20250
|
}, 1032, ["color", "onClick"]);
|
|
20265
20251
|
}), 128))
|
|
20266
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
20252
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
20267
20253
|
shouldTruncate(
|
|
20268
20254
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
20269
20255
|
getHeaderForColumn(column.key || "")
|
|
@@ -20276,7 +20262,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20276
20262
|
column.title || column.key || "",
|
|
20277
20263
|
item
|
|
20278
20264
|
), ["stop"])
|
|
20279
|
-
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9,
|
|
20265
|
+
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9, _hoisted_21)) : (openBlock(), createElementBlock("span", {
|
|
20280
20266
|
key: 1,
|
|
20281
20267
|
onClick: withModifiers(($event) => shouldShowCopyButton(getHeaderForColumn(column.key || "")) && openTextPreview(
|
|
20282
20268
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
@@ -20284,7 +20270,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20284
20270
|
item
|
|
20285
20271
|
), ["stop"]),
|
|
20286
20272
|
style: normalizeStyle({ cursor: shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? "pointer" : "default" })
|
|
20287
|
-
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13,
|
|
20273
|
+
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13, _hoisted_22)),
|
|
20288
20274
|
shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? (openBlock(), createBlock(VBtn, {
|
|
20289
20275
|
key: 2,
|
|
20290
20276
|
icon: "",
|
|
@@ -20300,7 +20286,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20300
20286
|
}, {
|
|
20301
20287
|
default: withCtx(() => [
|
|
20302
20288
|
createVNode(VIcon, { size: "16" }, {
|
|
20303
|
-
default: withCtx(() => [..._cache[
|
|
20289
|
+
default: withCtx(() => [..._cache[44] || (_cache[44] = [
|
|
20304
20290
|
createTextVNode("mdi-content-copy", -1)
|
|
20305
20291
|
])]),
|
|
20306
20292
|
_: 1
|
|
@@ -20311,20 +20297,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20311
20297
|
]))
|
|
20312
20298
|
], 4);
|
|
20313
20299
|
}), 128))
|
|
20314
|
-
], 44,
|
|
20300
|
+
], 44, _hoisted_19)
|
|
20315
20301
|
]),
|
|
20316
20302
|
_: 1
|
|
20317
20303
|
}, 8, ["headers", "items", "items-per-page", "height"])),
|
|
20318
|
-
isLoadingMore.value ? (openBlock(), createElementBlock("div",
|
|
20304
|
+
isLoadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
20319
20305
|
createVNode(VProgressCircular, {
|
|
20320
20306
|
indeterminate: "",
|
|
20321
20307
|
color: "primary"
|
|
20322
20308
|
})
|
|
20323
20309
|
])) : createCommentVNode("", true)
|
|
20324
20310
|
], 64)),
|
|
20325
|
-
props.showPagination ? (openBlock(), createElementBlock("div",
|
|
20326
|
-
createElementVNode("div",
|
|
20327
|
-
createElementVNode("div",
|
|
20311
|
+
props.showPagination ? (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
20312
|
+
createElementVNode("div", _hoisted_25, [
|
|
20313
|
+
createElementVNode("div", _hoisted_26, " نمایش " + toDisplayString((currentPage.value - 1) * itemsPerPage.value + 1) + " تا " + toDisplayString(Math.min(currentPage.value * itemsPerPage.value, totalSize.value)) + " از " + toDisplayString(totalSize.value) + " رکورد ", 1),
|
|
20328
20314
|
createVNode(VPagination, {
|
|
20329
20315
|
modelValue: currentPage.value,
|
|
20330
20316
|
"onUpdate:modelValue": [
|
|
@@ -20337,7 +20323,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20337
20323
|
}, null, 8, ["modelValue", "length"])
|
|
20338
20324
|
])
|
|
20339
20325
|
])) : createCommentVNode("", true)
|
|
20340
|
-
], 16,
|
|
20326
|
+
], 16, _hoisted_8$1),
|
|
20341
20327
|
createVNode(VDialog, {
|
|
20342
20328
|
modelValue: dialog.value,
|
|
20343
20329
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => dialog.value = $event),
|
|
@@ -20453,7 +20439,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20453
20439
|
color: "error",
|
|
20454
20440
|
onClick: _cache[7] || (_cache[7] = ($event) => dialog.value = false)
|
|
20455
20441
|
}, {
|
|
20456
|
-
default: withCtx(() => [..._cache[
|
|
20442
|
+
default: withCtx(() => [..._cache[45] || (_cache[45] = [
|
|
20457
20443
|
createTextVNode("انصراف", -1)
|
|
20458
20444
|
])]),
|
|
20459
20445
|
_: 1
|
|
@@ -20486,13 +20472,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20486
20472
|
createVNode(VCard, null, {
|
|
20487
20473
|
default: withCtx(() => [
|
|
20488
20474
|
createVNode(VCardTitle, null, {
|
|
20489
|
-
default: withCtx(() => [..._cache[
|
|
20475
|
+
default: withCtx(() => [..._cache[46] || (_cache[46] = [
|
|
20490
20476
|
createTextVNode("حذف آیتم", -1)
|
|
20491
20477
|
])]),
|
|
20492
20478
|
_: 1
|
|
20493
20479
|
}),
|
|
20494
20480
|
createVNode(VCardText, null, {
|
|
20495
|
-
default: withCtx(() => [..._cache[
|
|
20481
|
+
default: withCtx(() => [..._cache[47] || (_cache[47] = [
|
|
20496
20482
|
createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
|
|
20497
20483
|
])]),
|
|
20498
20484
|
_: 1
|
|
@@ -20503,7 +20489,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20503
20489
|
color: "grey",
|
|
20504
20490
|
onClick: _cache[9] || (_cache[9] = ($event) => deleteDialog.value = false)
|
|
20505
20491
|
}, {
|
|
20506
|
-
default: withCtx(() => [..._cache[
|
|
20492
|
+
default: withCtx(() => [..._cache[48] || (_cache[48] = [
|
|
20507
20493
|
createTextVNode("انصراف", -1)
|
|
20508
20494
|
])]),
|
|
20509
20495
|
_: 1
|
|
@@ -20515,7 +20501,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20515
20501
|
return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
|
|
20516
20502
|
})
|
|
20517
20503
|
}, {
|
|
20518
|
-
default: withCtx(() => [..._cache[
|
|
20504
|
+
default: withCtx(() => [..._cache[49] || (_cache[49] = [
|
|
20519
20505
|
createTextVNode("حذف", -1)
|
|
20520
20506
|
])]),
|
|
20521
20507
|
_: 1
|
|
@@ -20543,28 +20529,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20543
20529
|
color: "red",
|
|
20544
20530
|
class: "me-2"
|
|
20545
20531
|
}, {
|
|
20546
|
-
default: withCtx(() => [..._cache[
|
|
20532
|
+
default: withCtx(() => [..._cache[50] || (_cache[50] = [
|
|
20547
20533
|
createTextVNode("🗑️", -1)
|
|
20548
20534
|
])]),
|
|
20549
20535
|
_: 1
|
|
20550
20536
|
}),
|
|
20551
|
-
_cache[
|
|
20537
|
+
_cache[51] || (_cache[51] = createTextVNode(" حذف گروهی ", -1))
|
|
20552
20538
|
]),
|
|
20553
20539
|
_: 1
|
|
20554
20540
|
}),
|
|
20555
20541
|
createVNode(VCardText, null, {
|
|
20556
20542
|
default: withCtx(() => [
|
|
20557
20543
|
createElementVNode("p", null, [
|
|
20558
|
-
_cache[
|
|
20544
|
+
_cache[52] || (_cache[52] = createTextVNode(" آیا مایل به حذف ", -1)),
|
|
20559
20545
|
createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
|
|
20560
|
-
_cache[
|
|
20546
|
+
_cache[53] || (_cache[53] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
|
|
20561
20547
|
]),
|
|
20562
20548
|
createVNode(VAlert, {
|
|
20563
20549
|
type: "warning",
|
|
20564
20550
|
variant: "tonal",
|
|
20565
20551
|
class: "mt-3"
|
|
20566
20552
|
}, {
|
|
20567
|
-
default: withCtx(() => [..._cache[
|
|
20553
|
+
default: withCtx(() => [..._cache[54] || (_cache[54] = [
|
|
20568
20554
|
createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
|
|
20569
20555
|
])]),
|
|
20570
20556
|
_: 1
|
|
@@ -20579,7 +20565,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20579
20565
|
color: "grey",
|
|
20580
20566
|
onClick: _cache[12] || (_cache[12] = ($event) => groupDeleteDialog.value = false)
|
|
20581
20567
|
}, {
|
|
20582
|
-
default: withCtx(() => [..._cache[
|
|
20568
|
+
default: withCtx(() => [..._cache[55] || (_cache[55] = [
|
|
20583
20569
|
createTextVNode("انصراف", -1)
|
|
20584
20570
|
])]),
|
|
20585
20571
|
_: 1
|
|
@@ -20645,7 +20631,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20645
20631
|
createVNode(VCard, null, {
|
|
20646
20632
|
default: withCtx(() => [
|
|
20647
20633
|
createVNode(VCardTitle, null, {
|
|
20648
|
-
default: withCtx(() => [..._cache[
|
|
20634
|
+
default: withCtx(() => [..._cache[56] || (_cache[56] = [
|
|
20649
20635
|
createTextVNode("فیلتر", -1)
|
|
20650
20636
|
])]),
|
|
20651
20637
|
_: 1
|
|
@@ -20767,7 +20753,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20767
20753
|
variant: "tonal",
|
|
20768
20754
|
onClick: resetFilter
|
|
20769
20755
|
}, {
|
|
20770
|
-
default: withCtx(() => [..._cache[
|
|
20756
|
+
default: withCtx(() => [..._cache[57] || (_cache[57] = [
|
|
20771
20757
|
createTextVNode("حذف فیلترها", -1)
|
|
20772
20758
|
])]),
|
|
20773
20759
|
_: 1
|
|
@@ -20776,7 +20762,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20776
20762
|
color: "primary",
|
|
20777
20763
|
onClick: applyFilter
|
|
20778
20764
|
}, {
|
|
20779
|
-
default: withCtx(() => [..._cache[
|
|
20765
|
+
default: withCtx(() => [..._cache[58] || (_cache[58] = [
|
|
20780
20766
|
createTextVNode("اعمال فیلتر", -1)
|
|
20781
20767
|
])]),
|
|
20782
20768
|
_: 1
|
|
@@ -20808,7 +20794,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20808
20794
|
}, {
|
|
20809
20795
|
default: withCtx(() => [
|
|
20810
20796
|
createVNode(VIcon, null, {
|
|
20811
|
-
default: withCtx(() => [..._cache[
|
|
20797
|
+
default: withCtx(() => [..._cache[59] || (_cache[59] = [
|
|
20812
20798
|
createTextVNode("mdi-close", -1)
|
|
20813
20799
|
])]),
|
|
20814
20800
|
_: 1
|
|
@@ -20841,12 +20827,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20841
20827
|
}, {
|
|
20842
20828
|
default: withCtx(() => [
|
|
20843
20829
|
createVNode(VIcon, { start: "" }, {
|
|
20844
|
-
default: withCtx(() => [..._cache[
|
|
20830
|
+
default: withCtx(() => [..._cache[60] || (_cache[60] = [
|
|
20845
20831
|
createTextVNode("mdi-content-copy", -1)
|
|
20846
20832
|
])]),
|
|
20847
20833
|
_: 1
|
|
20848
20834
|
}),
|
|
20849
|
-
_cache[
|
|
20835
|
+
_cache[61] || (_cache[61] = createTextVNode(" کپی متن ", -1))
|
|
20850
20836
|
]),
|
|
20851
20837
|
_: 1
|
|
20852
20838
|
}),
|
|
@@ -20856,12 +20842,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20856
20842
|
}, {
|
|
20857
20843
|
default: withCtx(() => [
|
|
20858
20844
|
createVNode(VIcon, { start: "" }, {
|
|
20859
|
-
default: withCtx(() => [..._cache[
|
|
20845
|
+
default: withCtx(() => [..._cache[62] || (_cache[62] = [
|
|
20860
20846
|
createTextVNode("mdi-content-copy", -1)
|
|
20861
20847
|
])]),
|
|
20862
20848
|
_: 1
|
|
20863
20849
|
}),
|
|
20864
|
-
_cache[
|
|
20850
|
+
_cache[63] || (_cache[63] = createTextVNode(" کپی رکورد کامل ", -1))
|
|
20865
20851
|
]),
|
|
20866
20852
|
_: 1
|
|
20867
20853
|
}),
|
|
@@ -20869,7 +20855,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20869
20855
|
color: "grey",
|
|
20870
20856
|
onClick: _cache[20] || (_cache[20] = ($event) => textPreviewDialog.value = false)
|
|
20871
20857
|
}, {
|
|
20872
|
-
default: withCtx(() => [..._cache[
|
|
20858
|
+
default: withCtx(() => [..._cache[64] || (_cache[64] = [
|
|
20873
20859
|
createTextVNode("بستن", -1)
|
|
20874
20860
|
])]),
|
|
20875
20861
|
_: 1
|
|
@@ -20884,7 +20870,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20884
20870
|
_: 1
|
|
20885
20871
|
}, 8, ["modelValue"]),
|
|
20886
20872
|
snackbar.value ? (openBlock(), createBlock(VSnackbar, {
|
|
20887
|
-
key:
|
|
20873
|
+
key: 4,
|
|
20888
20874
|
modelValue: snackbar.value,
|
|
20889
20875
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => snackbar.value = $event),
|
|
20890
20876
|
timeout: 3e3,
|
|
@@ -20896,7 +20882,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20896
20882
|
variant: "text",
|
|
20897
20883
|
onClick: _cache[22] || (_cache[22] = ($event) => snackbar.value = false)
|
|
20898
20884
|
}, {
|
|
20899
|
-
default: withCtx(() => [..._cache[
|
|
20885
|
+
default: withCtx(() => [..._cache[65] || (_cache[65] = [
|
|
20900
20886
|
createTextVNode(" بستن ", -1)
|
|
20901
20887
|
])]),
|
|
20902
20888
|
_: 1
|