@amirjalili1374/ui-kit 1.5.29 → 1.5.31
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
|
@@ -18269,26 +18269,26 @@ const _hoisted_16$1 = {
|
|
|
18269
18269
|
};
|
|
18270
18270
|
const _hoisted_17 = ["onClick"];
|
|
18271
18271
|
const _hoisted_18 = ["onClick"];
|
|
18272
|
-
const _hoisted_19 =
|
|
18273
|
-
const _hoisted_20 = {
|
|
18272
|
+
const _hoisted_19 = { class: "d-flex align-center mb-3" };
|
|
18273
|
+
const _hoisted_20 = { class: "d-flex justify-end mt-3 gap-2" };
|
|
18274
|
+
const _hoisted_21 = ["tabindex", "onKeydown", "onClick"];
|
|
18275
|
+
const _hoisted_22 = {
|
|
18274
18276
|
key: 2,
|
|
18275
18277
|
class: "d-flex align-center",
|
|
18276
18278
|
style: { "gap": "4px" }
|
|
18277
18279
|
};
|
|
18278
|
-
const
|
|
18279
|
-
const
|
|
18280
|
-
const
|
|
18281
|
-
key:
|
|
18280
|
+
const _hoisted_23 = ["onClick"];
|
|
18281
|
+
const _hoisted_24 = ["onClick"];
|
|
18282
|
+
const _hoisted_25 = {
|
|
18283
|
+
key: 3,
|
|
18282
18284
|
class: "d-flex justify-center align-center pa-4"
|
|
18283
18285
|
};
|
|
18284
|
-
const
|
|
18286
|
+
const _hoisted_26 = {
|
|
18285
18287
|
key: 2,
|
|
18286
18288
|
class: "pagination-wrapper"
|
|
18287
18289
|
};
|
|
18288
|
-
const
|
|
18289
|
-
const
|
|
18290
|
-
const _hoisted_27 = { class: "d-flex align-center mb-3" };
|
|
18291
|
-
const _hoisted_28 = { class: "d-flex justify-end mt-3 gap-2" };
|
|
18290
|
+
const _hoisted_27 = { class: "d-flex justify-space-between align-center pa-3" };
|
|
18291
|
+
const _hoisted_28 = { class: "text-subtitle-3" };
|
|
18292
18292
|
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
18293
18293
|
...{ inheritAttrs: false },
|
|
18294
18294
|
__name: "CustomDataTable",
|
|
@@ -19423,7 +19423,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19423
19423
|
class: "me-2",
|
|
19424
19424
|
onClick: _cache[0] || (_cache[0] = ($event) => openDialog())
|
|
19425
19425
|
}, {
|
|
19426
|
-
default: withCtx(() => [..._cache[
|
|
19426
|
+
default: withCtx(() => [..._cache[24] || (_cache[24] = [
|
|
19427
19427
|
createTextVNode("ایجاد ✅", -1)
|
|
19428
19428
|
])]),
|
|
19429
19429
|
_: 1
|
|
@@ -19433,7 +19433,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19433
19433
|
class: "me-2",
|
|
19434
19434
|
onClick: _cache[1] || (_cache[1] = ($event) => filterDialog.value = true)
|
|
19435
19435
|
}, {
|
|
19436
|
-
default: withCtx(() => [..._cache[
|
|
19436
|
+
default: withCtx(() => [..._cache[25] || (_cache[25] = [
|
|
19437
19437
|
createTextVNode("فیلتر 🔍", -1)
|
|
19438
19438
|
])]),
|
|
19439
19439
|
_: 1
|
|
@@ -19444,7 +19444,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19444
19444
|
class: "me-2",
|
|
19445
19445
|
onClick: _cache[2] || (_cache[2] = ($event) => fetchData())
|
|
19446
19446
|
}, {
|
|
19447
|
-
default: withCtx(() => [..._cache[
|
|
19447
|
+
default: withCtx(() => [..._cache[26] || (_cache[26] = [
|
|
19448
19448
|
createTextVNode("جستجو 🔍", -1)
|
|
19449
19449
|
])]),
|
|
19450
19450
|
_: 1
|
|
@@ -19454,7 +19454,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19454
19454
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(debouncedFetchData)()),
|
|
19455
19455
|
loading: loading.value
|
|
19456
19456
|
}, {
|
|
19457
|
-
default: withCtx(() => [..._cache[
|
|
19457
|
+
default: withCtx(() => [..._cache[27] || (_cache[27] = [
|
|
19458
19458
|
createTextVNode("بروزرسانی 🔄", -1)
|
|
19459
19459
|
])]),
|
|
19460
19460
|
_: 1
|
|
@@ -19475,7 +19475,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19475
19475
|
class: "me-2",
|
|
19476
19476
|
onClick: clearSelection
|
|
19477
19477
|
}, {
|
|
19478
|
-
default: withCtx(() => [..._cache[
|
|
19478
|
+
default: withCtx(() => [..._cache[28] || (_cache[28] = [
|
|
19479
19479
|
createTextVNode(" پاک کردن انتخاب ", -1)
|
|
19480
19480
|
])]),
|
|
19481
19481
|
_: 1
|
|
@@ -19495,7 +19495,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19495
19495
|
onClick: openGroupDeleteDialog
|
|
19496
19496
|
}, {
|
|
19497
19497
|
default: withCtx(() => [
|
|
19498
|
-
_cache[
|
|
19498
|
+
_cache[29] || (_cache[29] = createElementVNode("span", { class: "me-1" }, "🗑️", -1)),
|
|
19499
19499
|
createTextVNode(" حذف گروهی (" + toDisplayString(selectedCount.value) + ") ", 1)
|
|
19500
19500
|
]),
|
|
19501
19501
|
_: 1
|
|
@@ -19512,7 +19512,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19512
19512
|
class: "me-2",
|
|
19513
19513
|
onClick: ($event) => openDialog(item)
|
|
19514
19514
|
}, {
|
|
19515
|
-
default: withCtx(() => [..._cache[
|
|
19515
|
+
default: withCtx(() => [..._cache[30] || (_cache[30] = [
|
|
19516
19516
|
createElementVNode("span", { class: "me-1" }, "✏️", -1),
|
|
19517
19517
|
createTextVNode(" ویرایش ", -1)
|
|
19518
19518
|
])]),
|
|
@@ -19525,7 +19525,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19525
19525
|
class: "me-2",
|
|
19526
19526
|
onClick: ($event) => openDeleteDialog(item)
|
|
19527
19527
|
}, {
|
|
19528
|
-
default: withCtx(() => [..._cache[
|
|
19528
|
+
default: withCtx(() => [..._cache[31] || (_cache[31] = [
|
|
19529
19529
|
createElementVNode("span", { class: "me-1" }, "🗑️", -1),
|
|
19530
19530
|
createTextVNode(" حذف ", -1)
|
|
19531
19531
|
])]),
|
|
@@ -19538,7 +19538,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19538
19538
|
class: "me-2",
|
|
19539
19539
|
onClick: ($event) => goToRoute("view", item)
|
|
19540
19540
|
}, {
|
|
19541
|
-
default: withCtx(() => [..._cache[
|
|
19541
|
+
default: withCtx(() => [..._cache[32] || (_cache[32] = [
|
|
19542
19542
|
createElementVNode("span", { class: "me-1" }, "👁️", -1),
|
|
19543
19543
|
createTextVNode(" نمایش ", -1)
|
|
19544
19544
|
])]),
|
|
@@ -19553,7 +19553,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19553
19553
|
onClick: ($event) => goToRoute(routeKey, item)
|
|
19554
19554
|
}, {
|
|
19555
19555
|
default: withCtx(() => [
|
|
19556
|
-
_cache[
|
|
19556
|
+
_cache[33] || (_cache[33] = createElementVNode("span", { class: "me-1" }, "➡️", -1)),
|
|
19557
19557
|
createTextVNode(" " + toDisplayString(String(routeKey)), 1)
|
|
19558
19558
|
]),
|
|
19559
19559
|
_: 2
|
|
@@ -19567,7 +19567,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19567
19567
|
onClick: ($event) => download(key2, item)
|
|
19568
19568
|
}, {
|
|
19569
19569
|
default: withCtx(() => [
|
|
19570
|
-
_cache[
|
|
19570
|
+
_cache[34] || (_cache[34] = createElementVNode("span", { class: "me-1" }, "⬇️", -1)),
|
|
19571
19571
|
createTextVNode(" " + toDisplayString(key2), 1)
|
|
19572
19572
|
]),
|
|
19573
19573
|
_: 2
|
|
@@ -19654,7 +19654,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19654
19654
|
onClick: expandAllGroups,
|
|
19655
19655
|
class: "me-2"
|
|
19656
19656
|
}, {
|
|
19657
|
-
default: withCtx(() => [..._cache[
|
|
19657
|
+
default: withCtx(() => [..._cache[35] || (_cache[35] = [
|
|
19658
19658
|
createTextVNode(" گسترش همه ", -1)
|
|
19659
19659
|
])]),
|
|
19660
19660
|
_: 1
|
|
@@ -19665,7 +19665,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19665
19665
|
onClick: collapseAllGroups,
|
|
19666
19666
|
class: "me-2"
|
|
19667
19667
|
}, {
|
|
19668
|
-
default: withCtx(() => [..._cache[
|
|
19668
|
+
default: withCtx(() => [..._cache[36] || (_cache[36] = [
|
|
19669
19669
|
createTextVNode(" جمع کردن همه ", -1)
|
|
19670
19670
|
])]),
|
|
19671
19671
|
_: 1
|
|
@@ -19793,7 +19793,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19793
19793
|
class: "mr-2",
|
|
19794
19794
|
onClick: ($event) => openDialog(item)
|
|
19795
19795
|
}, {
|
|
19796
|
-
default: withCtx(() => [..._cache[
|
|
19796
|
+
default: withCtx(() => [..._cache[37] || (_cache[37] = [
|
|
19797
19797
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
19798
19798
|
])]),
|
|
19799
19799
|
_: 1
|
|
@@ -19805,7 +19805,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19805
19805
|
class: "mr-2",
|
|
19806
19806
|
onClick: ($event) => openDeleteDialog(item)
|
|
19807
19807
|
}, {
|
|
19808
|
-
default: withCtx(() => [..._cache[
|
|
19808
|
+
default: withCtx(() => [..._cache[38] || (_cache[38] = [
|
|
19809
19809
|
createTextVNode("حذف ❌ ", -1)
|
|
19810
19810
|
])]),
|
|
19811
19811
|
_: 1
|
|
@@ -19817,7 +19817,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19817
19817
|
class: "mr-2",
|
|
19818
19818
|
onClick: ($event) => goToRoute("view", item)
|
|
19819
19819
|
}, {
|
|
19820
|
-
default: withCtx(() => [..._cache[
|
|
19820
|
+
default: withCtx(() => [..._cache[39] || (_cache[39] = [
|
|
19821
19821
|
createTextVNode("🔍 نمایش ", -1)
|
|
19822
19822
|
])]),
|
|
19823
19823
|
_: 1
|
|
@@ -19932,7 +19932,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19932
19932
|
}, {
|
|
19933
19933
|
default: withCtx(() => [
|
|
19934
19934
|
createVNode(VIcon, { size: "16" }, {
|
|
19935
|
-
default: withCtx(() => [..._cache[
|
|
19935
|
+
default: withCtx(() => [..._cache[40] || (_cache[40] = [
|
|
19936
19936
|
createTextVNode("mdi-content-copy", -1)
|
|
19937
19937
|
])]),
|
|
19938
19938
|
_: 1
|
|
@@ -19955,8 +19955,153 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19955
19955
|
}), 128))
|
|
19956
19956
|
])
|
|
19957
19957
|
], 4)
|
|
19958
|
-
])) : (
|
|
19958
|
+
])) : createCommentVNode("", true),
|
|
19959
|
+
props.inlineFilter && formHeaders.value.length > 0 ? (openBlock(), createBlock(VCard, {
|
|
19959
19960
|
key: 1,
|
|
19961
|
+
class: "mb-4 pa-4",
|
|
19962
|
+
elevation: "1"
|
|
19963
|
+
}, {
|
|
19964
|
+
default: withCtx(() => [
|
|
19965
|
+
createElementVNode("div", _hoisted_19, [
|
|
19966
|
+
_cache[42] || (_cache[42] = createElementVNode("span", { class: "text-subtitle-2 font-weight-medium" }, "فیلترها", -1)),
|
|
19967
|
+
createVNode(VSpacer),
|
|
19968
|
+
hasActiveInlineFilters.value ? (openBlock(), createBlock(VBtn, {
|
|
19969
|
+
key: 0,
|
|
19970
|
+
variant: "text",
|
|
19971
|
+
size: "small",
|
|
19972
|
+
color: "error",
|
|
19973
|
+
onClick: resetFilter
|
|
19974
|
+
}, {
|
|
19975
|
+
default: withCtx(() => [..._cache[41] || (_cache[41] = [
|
|
19976
|
+
createTextVNode(" حذف فیلترها ", -1)
|
|
19977
|
+
])]),
|
|
19978
|
+
_: 1
|
|
19979
|
+
})) : createCommentVNode("", true)
|
|
19980
|
+
]),
|
|
19981
|
+
createVNode(VContainer, null, {
|
|
19982
|
+
default: withCtx(() => [
|
|
19983
|
+
createVNode(VRow, null, {
|
|
19984
|
+
default: withCtx(() => [
|
|
19985
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
|
|
19986
|
+
return openBlock(), createBlock(VCol, {
|
|
19987
|
+
key: resolveHeaderKey(header),
|
|
19988
|
+
cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
|
|
19989
|
+
md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
|
|
19990
|
+
}, {
|
|
19991
|
+
default: withCtx(() => [
|
|
19992
|
+
!header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19993
|
+
hasFilterOperators(header) ? (openBlock(), createBlock(VSelect, {
|
|
19994
|
+
key: 0,
|
|
19995
|
+
modelValue: filterOperatorModel.value[resolveHeaderKey(header)],
|
|
19996
|
+
"onUpdate:modelValue": ($event) => filterOperatorModel.value[resolveHeaderKey(header)] = $event,
|
|
19997
|
+
items: getHeaderFilterOperators(header),
|
|
19998
|
+
"item-title": "label",
|
|
19999
|
+
"item-value": "value",
|
|
20000
|
+
density: "compact",
|
|
20001
|
+
variant: "underlined",
|
|
20002
|
+
"hide-details": "",
|
|
20003
|
+
class: "mb-1",
|
|
20004
|
+
attach: "",
|
|
20005
|
+
"menu-props": { zIndex: 2e4 }
|
|
20006
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : createCommentVNode("", true),
|
|
20007
|
+
isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
|
|
20008
|
+
key: 1,
|
|
20009
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20010
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20011
|
+
label: resolveHeaderTitle(header),
|
|
20012
|
+
disabled: isHeaderDisabled(header),
|
|
20013
|
+
mode: header.dateMode || "single"
|
|
20014
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "mode"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
|
|
20015
|
+
key: 2,
|
|
20016
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20017
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20018
|
+
label: resolveHeaderTitle(header),
|
|
20019
|
+
items: resolveAutocompleteItems(header, filterModel.value.value),
|
|
20020
|
+
"item-title": resolveAutocompleteItemTitle(header),
|
|
20021
|
+
"item-value": resolveAutocompleteItemValue(header),
|
|
20022
|
+
"return-object": resolveAutocompleteReturnObject(header),
|
|
20023
|
+
multiple: resolveAutocompleteMultiple(header),
|
|
20024
|
+
chips: resolveAutocompleteMultiple(header),
|
|
20025
|
+
"closable-chips": resolveAutocompleteMultiple(header),
|
|
20026
|
+
disabled: isHeaderDisabled(header),
|
|
20027
|
+
clearable: "",
|
|
20028
|
+
variant: "outlined",
|
|
20029
|
+
attach: "",
|
|
20030
|
+
"menu-props": { zIndex: 2e4 }
|
|
20031
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
|
|
20032
|
+
key: 3,
|
|
20033
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20034
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20035
|
+
label: resolveHeaderTitle(header),
|
|
20036
|
+
disabled: isHeaderDisabled(header)
|
|
20037
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
|
|
20038
|
+
key: 4,
|
|
20039
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20040
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20041
|
+
label: resolveHeaderTitle(header),
|
|
20042
|
+
variant: "outlined",
|
|
20043
|
+
disabled: isHeaderDisabled(header),
|
|
20044
|
+
dir: header.dir,
|
|
20045
|
+
"auto-grow": "",
|
|
20046
|
+
rows: "3"
|
|
20047
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
|
|
20048
|
+
key: 5,
|
|
20049
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20050
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20051
|
+
label: resolveHeaderTitle(header),
|
|
20052
|
+
type: "boolean",
|
|
20053
|
+
activeColor: "#3bd32a",
|
|
20054
|
+
inactiveColor: "#d32a2a",
|
|
20055
|
+
options: [
|
|
20056
|
+
{ value: "true", label: "فعال", icon: unref(IconCheck) },
|
|
20057
|
+
{ value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
|
|
20058
|
+
]
|
|
20059
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
|
|
20060
|
+
key: 6,
|
|
20061
|
+
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20062
|
+
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20063
|
+
label: resolveHeaderTitle(header),
|
|
20064
|
+
variant: "outlined",
|
|
20065
|
+
disabled: isHeaderDisabled(header),
|
|
20066
|
+
type: getFieldInputType(header),
|
|
20067
|
+
dir: header.dir
|
|
20068
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
|
|
20069
|
+
], 64)) : createCommentVNode("", true)
|
|
20070
|
+
]),
|
|
20071
|
+
_: 2
|
|
20072
|
+
}, 1032, ["cols", "md"]);
|
|
20073
|
+
}), 128))
|
|
20074
|
+
]),
|
|
20075
|
+
_: 1
|
|
20076
|
+
})
|
|
20077
|
+
]),
|
|
20078
|
+
_: 1
|
|
20079
|
+
}),
|
|
20080
|
+
createElementVNode("div", _hoisted_20, [
|
|
20081
|
+
createVNode(VBtn, {
|
|
20082
|
+
color: "grey",
|
|
20083
|
+
variant: "tonal",
|
|
20084
|
+
onClick: resetFilter
|
|
20085
|
+
}, {
|
|
20086
|
+
default: withCtx(() => [..._cache[43] || (_cache[43] = [
|
|
20087
|
+
createTextVNode(" حذف فیلترها ", -1)
|
|
20088
|
+
])]),
|
|
20089
|
+
_: 1
|
|
20090
|
+
}),
|
|
20091
|
+
createVNode(VBtn, {
|
|
20092
|
+
color: "primary",
|
|
20093
|
+
onClick: applyFilter
|
|
20094
|
+
}, {
|
|
20095
|
+
default: withCtx(() => [..._cache[44] || (_cache[44] = [
|
|
20096
|
+
createTextVNode(" اعمال فیلتر ", -1)
|
|
20097
|
+
])]),
|
|
20098
|
+
_: 1
|
|
20099
|
+
})
|
|
20100
|
+
])
|
|
20101
|
+
]),
|
|
20102
|
+
_: 1
|
|
20103
|
+
})) : (openBlock(), createBlock(VDataTable, {
|
|
20104
|
+
key: 2,
|
|
19960
20105
|
headers: normalHeaders.value,
|
|
19961
20106
|
items: items.value,
|
|
19962
20107
|
"items-per-page": itemsPerPage.value,
|
|
@@ -20023,7 +20168,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20023
20168
|
class: "mr-2",
|
|
20024
20169
|
onClick: ($event) => openDialog(item)
|
|
20025
20170
|
}, {
|
|
20026
|
-
default: withCtx(() => [..._cache[
|
|
20171
|
+
default: withCtx(() => [..._cache[45] || (_cache[45] = [
|
|
20027
20172
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
20028
20173
|
])]),
|
|
20029
20174
|
_: 1
|
|
@@ -20035,7 +20180,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20035
20180
|
class: "mr-2",
|
|
20036
20181
|
onClick: ($event) => openDeleteDialog(item)
|
|
20037
20182
|
}, {
|
|
20038
|
-
default: withCtx(() => [..._cache[
|
|
20183
|
+
default: withCtx(() => [..._cache[46] || (_cache[46] = [
|
|
20039
20184
|
createTextVNode("حذف ❌ ", -1)
|
|
20040
20185
|
])]),
|
|
20041
20186
|
_: 1
|
|
@@ -20047,7 +20192,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20047
20192
|
class: "mr-2",
|
|
20048
20193
|
onClick: ($event) => goToRoute("view", item)
|
|
20049
20194
|
}, {
|
|
20050
|
-
default: withCtx(() => [..._cache[
|
|
20195
|
+
default: withCtx(() => [..._cache[47] || (_cache[47] = [
|
|
20051
20196
|
createTextVNode("🔍 نمایش ", -1)
|
|
20052
20197
|
])]),
|
|
20053
20198
|
_: 1
|
|
@@ -20125,7 +20270,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20125
20270
|
_: 2
|
|
20126
20271
|
}, 1032, ["color", "onClick"]);
|
|
20127
20272
|
}), 128))
|
|
20128
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
20273
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
20129
20274
|
shouldTruncate(
|
|
20130
20275
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
20131
20276
|
getHeaderForColumn(column.key || "")
|
|
@@ -20138,7 +20283,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20138
20283
|
column.title || column.key || "",
|
|
20139
20284
|
item
|
|
20140
20285
|
), ["stop"])
|
|
20141
|
-
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9,
|
|
20286
|
+
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9, _hoisted_23)) : (openBlock(), createElementBlock("span", {
|
|
20142
20287
|
key: 1,
|
|
20143
20288
|
onClick: withModifiers(($event) => shouldShowCopyButton(getHeaderForColumn(column.key || "")) && openTextPreview(
|
|
20144
20289
|
getTranslatedValue(getNestedValue2(item, column.key || ""), column, item),
|
|
@@ -20146,7 +20291,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20146
20291
|
item
|
|
20147
20292
|
), ["stop"]),
|
|
20148
20293
|
style: normalizeStyle({ cursor: shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? "pointer" : "default" })
|
|
20149
|
-
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13,
|
|
20294
|
+
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13, _hoisted_24)),
|
|
20150
20295
|
shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? (openBlock(), createBlock(VBtn, {
|
|
20151
20296
|
key: 2,
|
|
20152
20297
|
icon: "",
|
|
@@ -20162,7 +20307,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20162
20307
|
}, {
|
|
20163
20308
|
default: withCtx(() => [
|
|
20164
20309
|
createVNode(VIcon, { size: "16" }, {
|
|
20165
|
-
default: withCtx(() => [..._cache[
|
|
20310
|
+
default: withCtx(() => [..._cache[48] || (_cache[48] = [
|
|
20166
20311
|
createTextVNode("mdi-content-copy", -1)
|
|
20167
20312
|
])]),
|
|
20168
20313
|
_: 1
|
|
@@ -20173,20 +20318,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20173
20318
|
]))
|
|
20174
20319
|
], 4);
|
|
20175
20320
|
}), 128))
|
|
20176
|
-
], 44,
|
|
20321
|
+
], 44, _hoisted_21)
|
|
20177
20322
|
]),
|
|
20178
20323
|
_: 1
|
|
20179
20324
|
}, 8, ["headers", "items", "items-per-page", "height"])),
|
|
20180
|
-
isLoadingMore.value ? (openBlock(), createElementBlock("div",
|
|
20325
|
+
isLoadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
20181
20326
|
createVNode(VProgressCircular, {
|
|
20182
20327
|
indeterminate: "",
|
|
20183
20328
|
color: "primary"
|
|
20184
20329
|
})
|
|
20185
20330
|
])) : createCommentVNode("", true)
|
|
20186
20331
|
], 64)),
|
|
20187
|
-
props.showPagination ? (openBlock(), createElementBlock("div",
|
|
20188
|
-
createElementVNode("div",
|
|
20189
|
-
createElementVNode("div",
|
|
20332
|
+
props.showPagination ? (openBlock(), createElementBlock("div", _hoisted_26, [
|
|
20333
|
+
createElementVNode("div", _hoisted_27, [
|
|
20334
|
+
createElementVNode("div", _hoisted_28, " نمایش " + toDisplayString((currentPage.value - 1) * itemsPerPage.value + 1) + " تا " + toDisplayString(Math.min(currentPage.value * itemsPerPage.value, totalSize.value)) + " از " + toDisplayString(totalSize.value) + " رکورد ", 1),
|
|
20190
20335
|
createVNode(VPagination, {
|
|
20191
20336
|
modelValue: currentPage.value,
|
|
20192
20337
|
"onUpdate:modelValue": [
|
|
@@ -20315,7 +20460,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20315
20460
|
color: "error",
|
|
20316
20461
|
onClick: _cache[7] || (_cache[7] = ($event) => dialog.value = false)
|
|
20317
20462
|
}, {
|
|
20318
|
-
default: withCtx(() => [..._cache[
|
|
20463
|
+
default: withCtx(() => [..._cache[49] || (_cache[49] = [
|
|
20319
20464
|
createTextVNode("انصراف", -1)
|
|
20320
20465
|
])]),
|
|
20321
20466
|
_: 1
|
|
@@ -20348,13 +20493,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20348
20493
|
createVNode(VCard, null, {
|
|
20349
20494
|
default: withCtx(() => [
|
|
20350
20495
|
createVNode(VCardTitle, null, {
|
|
20351
|
-
default: withCtx(() => [..._cache[
|
|
20496
|
+
default: withCtx(() => [..._cache[50] || (_cache[50] = [
|
|
20352
20497
|
createTextVNode("حذف آیتم", -1)
|
|
20353
20498
|
])]),
|
|
20354
20499
|
_: 1
|
|
20355
20500
|
}),
|
|
20356
20501
|
createVNode(VCardText, null, {
|
|
20357
|
-
default: withCtx(() => [..._cache[
|
|
20502
|
+
default: withCtx(() => [..._cache[51] || (_cache[51] = [
|
|
20358
20503
|
createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
|
|
20359
20504
|
])]),
|
|
20360
20505
|
_: 1
|
|
@@ -20365,7 +20510,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20365
20510
|
color: "grey",
|
|
20366
20511
|
onClick: _cache[9] || (_cache[9] = ($event) => deleteDialog.value = false)
|
|
20367
20512
|
}, {
|
|
20368
|
-
default: withCtx(() => [..._cache[
|
|
20513
|
+
default: withCtx(() => [..._cache[52] || (_cache[52] = [
|
|
20369
20514
|
createTextVNode("انصراف", -1)
|
|
20370
20515
|
])]),
|
|
20371
20516
|
_: 1
|
|
@@ -20377,7 +20522,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20377
20522
|
return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
|
|
20378
20523
|
})
|
|
20379
20524
|
}, {
|
|
20380
|
-
default: withCtx(() => [..._cache[
|
|
20525
|
+
default: withCtx(() => [..._cache[53] || (_cache[53] = [
|
|
20381
20526
|
createTextVNode("حذف", -1)
|
|
20382
20527
|
])]),
|
|
20383
20528
|
_: 1
|
|
@@ -20405,28 +20550,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20405
20550
|
color: "red",
|
|
20406
20551
|
class: "me-2"
|
|
20407
20552
|
}, {
|
|
20408
|
-
default: withCtx(() => [..._cache[
|
|
20553
|
+
default: withCtx(() => [..._cache[54] || (_cache[54] = [
|
|
20409
20554
|
createTextVNode("🗑️", -1)
|
|
20410
20555
|
])]),
|
|
20411
20556
|
_: 1
|
|
20412
20557
|
}),
|
|
20413
|
-
_cache[
|
|
20558
|
+
_cache[55] || (_cache[55] = createTextVNode(" حذف گروهی ", -1))
|
|
20414
20559
|
]),
|
|
20415
20560
|
_: 1
|
|
20416
20561
|
}),
|
|
20417
20562
|
createVNode(VCardText, null, {
|
|
20418
20563
|
default: withCtx(() => [
|
|
20419
20564
|
createElementVNode("p", null, [
|
|
20420
|
-
_cache[
|
|
20565
|
+
_cache[56] || (_cache[56] = createTextVNode(" آیا مایل به حذف ", -1)),
|
|
20421
20566
|
createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
|
|
20422
|
-
_cache[
|
|
20567
|
+
_cache[57] || (_cache[57] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
|
|
20423
20568
|
]),
|
|
20424
20569
|
createVNode(VAlert, {
|
|
20425
20570
|
type: "warning",
|
|
20426
20571
|
variant: "tonal",
|
|
20427
20572
|
class: "mt-3"
|
|
20428
20573
|
}, {
|
|
20429
|
-
default: withCtx(() => [..._cache[
|
|
20574
|
+
default: withCtx(() => [..._cache[58] || (_cache[58] = [
|
|
20430
20575
|
createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
|
|
20431
20576
|
])]),
|
|
20432
20577
|
_: 1
|
|
@@ -20441,7 +20586,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20441
20586
|
color: "grey",
|
|
20442
20587
|
onClick: _cache[12] || (_cache[12] = ($event) => groupDeleteDialog.value = false)
|
|
20443
20588
|
}, {
|
|
20444
|
-
default: withCtx(() => [..._cache[
|
|
20589
|
+
default: withCtx(() => [..._cache[59] || (_cache[59] = [
|
|
20445
20590
|
createTextVNode("انصراف", -1)
|
|
20446
20591
|
])]),
|
|
20447
20592
|
_: 1
|
|
@@ -20498,166 +20643,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20498
20643
|
]),
|
|
20499
20644
|
_: 1
|
|
20500
20645
|
}, 8, ["modelValue"]),
|
|
20501
|
-
props.inlineFilter && formHeaders.value.length > 0 ? (openBlock(), createBlock(VCard, {
|
|
20502
|
-
key: 1,
|
|
20503
|
-
class: "mb-4 pa-4",
|
|
20504
|
-
elevation: "1"
|
|
20505
|
-
}, {
|
|
20506
|
-
default: withCtx(() => [
|
|
20507
|
-
createElementVNode("div", _hoisted_27, [
|
|
20508
|
-
_cache[58] || (_cache[58] = createElementVNode("span", { class: "text-subtitle-2 font-weight-medium" }, "فیلترها", -1)),
|
|
20509
|
-
createVNode(VSpacer),
|
|
20510
|
-
hasActiveInlineFilters.value ? (openBlock(), createBlock(VBtn, {
|
|
20511
|
-
key: 0,
|
|
20512
|
-
variant: "text",
|
|
20513
|
-
size: "small",
|
|
20514
|
-
color: "error",
|
|
20515
|
-
onClick: resetFilter
|
|
20516
|
-
}, {
|
|
20517
|
-
default: withCtx(() => [..._cache[57] || (_cache[57] = [
|
|
20518
|
-
createTextVNode(" حذف فیلترها ", -1)
|
|
20519
|
-
])]),
|
|
20520
|
-
_: 1
|
|
20521
|
-
})) : createCommentVNode("", true)
|
|
20522
|
-
]),
|
|
20523
|
-
props.filterComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.filterComponent), {
|
|
20524
|
-
key: 0,
|
|
20525
|
-
"model-value": filterModel.value,
|
|
20526
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => filterModel.value = $event),
|
|
20527
|
-
onApply: handleFilterApply
|
|
20528
|
-
}, null, 40, ["model-value"])) : (openBlock(), createBlock(VContainer, { key: 1 }, {
|
|
20529
|
-
default: withCtx(() => [
|
|
20530
|
-
createVNode(VRow, null, {
|
|
20531
|
-
default: withCtx(() => [
|
|
20532
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
|
|
20533
|
-
return openBlock(), createBlock(VCol, {
|
|
20534
|
-
key: resolveHeaderKey(header),
|
|
20535
|
-
cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
|
|
20536
|
-
md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
|
|
20537
|
-
}, {
|
|
20538
|
-
default: withCtx(() => [
|
|
20539
|
-
!header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
20540
|
-
hasFilterOperators(header) ? (openBlock(), createBlock(VSelect, {
|
|
20541
|
-
key: 0,
|
|
20542
|
-
modelValue: filterOperatorModel.value[resolveHeaderKey(header)],
|
|
20543
|
-
"onUpdate:modelValue": ($event) => filterOperatorModel.value[resolveHeaderKey(header)] = $event,
|
|
20544
|
-
items: getHeaderFilterOperators(header),
|
|
20545
|
-
"item-title": "label",
|
|
20546
|
-
"item-value": "value",
|
|
20547
|
-
density: "compact",
|
|
20548
|
-
variant: "underlined",
|
|
20549
|
-
"hide-details": "",
|
|
20550
|
-
class: "mb-1",
|
|
20551
|
-
attach: "",
|
|
20552
|
-
"menu-props": { zIndex: 2e4 }
|
|
20553
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : createCommentVNode("", true),
|
|
20554
|
-
isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
|
|
20555
|
-
key: 1,
|
|
20556
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20557
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20558
|
-
label: resolveHeaderTitle(header),
|
|
20559
|
-
disabled: isHeaderDisabled(header),
|
|
20560
|
-
mode: header.dateMode || "single"
|
|
20561
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "mode"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
|
|
20562
|
-
key: 2,
|
|
20563
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20564
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20565
|
-
label: resolveHeaderTitle(header),
|
|
20566
|
-
items: resolveAutocompleteItems(header, filterModel.value.value),
|
|
20567
|
-
"item-title": resolveAutocompleteItemTitle(header),
|
|
20568
|
-
"item-value": resolveAutocompleteItemValue(header),
|
|
20569
|
-
"return-object": resolveAutocompleteReturnObject(header),
|
|
20570
|
-
multiple: resolveAutocompleteMultiple(header),
|
|
20571
|
-
chips: resolveAutocompleteMultiple(header),
|
|
20572
|
-
"closable-chips": resolveAutocompleteMultiple(header),
|
|
20573
|
-
disabled: isHeaderDisabled(header),
|
|
20574
|
-
clearable: "",
|
|
20575
|
-
variant: "outlined",
|
|
20576
|
-
attach: "",
|
|
20577
|
-
"menu-props": { zIndex: 2e4 }
|
|
20578
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
|
|
20579
|
-
key: 3,
|
|
20580
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20581
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20582
|
-
label: resolveHeaderTitle(header),
|
|
20583
|
-
disabled: isHeaderDisabled(header)
|
|
20584
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
|
|
20585
|
-
key: 4,
|
|
20586
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20587
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20588
|
-
label: resolveHeaderTitle(header),
|
|
20589
|
-
variant: "outlined",
|
|
20590
|
-
disabled: isHeaderDisabled(header),
|
|
20591
|
-
dir: header.dir,
|
|
20592
|
-
"auto-grow": "",
|
|
20593
|
-
rows: "3"
|
|
20594
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
|
|
20595
|
-
key: 5,
|
|
20596
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20597
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20598
|
-
label: resolveHeaderTitle(header),
|
|
20599
|
-
type: "boolean",
|
|
20600
|
-
activeColor: "#3bd32a",
|
|
20601
|
-
inactiveColor: "#d32a2a",
|
|
20602
|
-
options: [
|
|
20603
|
-
{ value: "true", label: "فعال", icon: unref(IconCheck) },
|
|
20604
|
-
{ value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
|
|
20605
|
-
]
|
|
20606
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
|
|
20607
|
-
key: 6,
|
|
20608
|
-
modelValue: filterModel.value[resolveHeaderKey(header)],
|
|
20609
|
-
"onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
|
|
20610
|
-
label: resolveHeaderTitle(header),
|
|
20611
|
-
variant: "outlined",
|
|
20612
|
-
disabled: isHeaderDisabled(header),
|
|
20613
|
-
type: getFieldInputType(header),
|
|
20614
|
-
dir: header.dir
|
|
20615
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
|
|
20616
|
-
], 64)) : createCommentVNode("", true)
|
|
20617
|
-
]),
|
|
20618
|
-
_: 2
|
|
20619
|
-
}, 1032, ["cols", "md"]);
|
|
20620
|
-
}), 128))
|
|
20621
|
-
]),
|
|
20622
|
-
_: 1
|
|
20623
|
-
})
|
|
20624
|
-
]),
|
|
20625
|
-
_: 1
|
|
20626
|
-
})),
|
|
20627
|
-
createElementVNode("div", _hoisted_28, [
|
|
20628
|
-
createVNode(VBtn, {
|
|
20629
|
-
color: "grey",
|
|
20630
|
-
variant: "tonal",
|
|
20631
|
-
onClick: resetFilter
|
|
20632
|
-
}, {
|
|
20633
|
-
default: withCtx(() => [..._cache[59] || (_cache[59] = [
|
|
20634
|
-
createTextVNode(" حذف فیلترها ", -1)
|
|
20635
|
-
])]),
|
|
20636
|
-
_: 1
|
|
20637
|
-
}),
|
|
20638
|
-
createVNode(VBtn, {
|
|
20639
|
-
color: "primary",
|
|
20640
|
-
onClick: applyFilter
|
|
20641
|
-
}, {
|
|
20642
|
-
default: withCtx(() => [..._cache[60] || (_cache[60] = [
|
|
20643
|
-
createTextVNode(" اعمال فیلتر ", -1)
|
|
20644
|
-
])]),
|
|
20645
|
-
_: 1
|
|
20646
|
-
})
|
|
20647
|
-
])
|
|
20648
|
-
]),
|
|
20649
|
-
_: 1
|
|
20650
|
-
})) : createCommentVNode("", true),
|
|
20651
20646
|
createVNode(VDialog, {
|
|
20652
20647
|
modelValue: filterDialog.value,
|
|
20653
|
-
"onUpdate:modelValue": _cache[
|
|
20648
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => filterDialog.value = $event),
|
|
20654
20649
|
"max-width": "1500"
|
|
20655
20650
|
}, {
|
|
20656
20651
|
default: withCtx(() => [
|
|
20657
20652
|
createVNode(VCard, null, {
|
|
20658
20653
|
default: withCtx(() => [
|
|
20659
20654
|
createVNode(VCardTitle, null, {
|
|
20660
|
-
default: withCtx(() => [..._cache[
|
|
20655
|
+
default: withCtx(() => [..._cache[60] || (_cache[60] = [
|
|
20661
20656
|
createTextVNode("فیلتر", -1)
|
|
20662
20657
|
])]),
|
|
20663
20658
|
_: 1
|
|
@@ -20667,7 +20662,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20667
20662
|
props.filterComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.filterComponent), {
|
|
20668
20663
|
key: 0,
|
|
20669
20664
|
"model-value": filterModel.value,
|
|
20670
|
-
"onUpdate:modelValue": _cache[
|
|
20665
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => filterModel.value = $event),
|
|
20671
20666
|
onApply: handleFilterApply
|
|
20672
20667
|
}, null, 40, ["model-value"])) : (openBlock(), createBlock(VContainer, { key: 1 }, {
|
|
20673
20668
|
default: withCtx(() => [
|
|
@@ -20779,7 +20774,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20779
20774
|
variant: "tonal",
|
|
20780
20775
|
onClick: resetFilter
|
|
20781
20776
|
}, {
|
|
20782
|
-
default: withCtx(() => [..._cache[
|
|
20777
|
+
default: withCtx(() => [..._cache[61] || (_cache[61] = [
|
|
20783
20778
|
createTextVNode("حذف فیلترها", -1)
|
|
20784
20779
|
])]),
|
|
20785
20780
|
_: 1
|
|
@@ -20788,7 +20783,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20788
20783
|
color: "primary",
|
|
20789
20784
|
onClick: applyFilter
|
|
20790
20785
|
}, {
|
|
20791
|
-
default: withCtx(() => [..._cache[
|
|
20786
|
+
default: withCtx(() => [..._cache[62] || (_cache[62] = [
|
|
20792
20787
|
createTextVNode("اعمال فیلتر", -1)
|
|
20793
20788
|
])]),
|
|
20794
20789
|
_: 1
|
|
@@ -20804,7 +20799,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20804
20799
|
}, 8, ["modelValue"]),
|
|
20805
20800
|
createVNode(VDialog, {
|
|
20806
20801
|
modelValue: textPreviewDialog.value,
|
|
20807
|
-
"onUpdate:modelValue": _cache[
|
|
20802
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => textPreviewDialog.value = $event),
|
|
20808
20803
|
"max-width": "800"
|
|
20809
20804
|
}, {
|
|
20810
20805
|
default: withCtx(() => [
|
|
@@ -20816,11 +20811,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20816
20811
|
createVNode(VBtn, {
|
|
20817
20812
|
icon: "",
|
|
20818
20813
|
variant: "text",
|
|
20819
|
-
onClick: _cache[
|
|
20814
|
+
onClick: _cache[18] || (_cache[18] = ($event) => textPreviewDialog.value = false)
|
|
20820
20815
|
}, {
|
|
20821
20816
|
default: withCtx(() => [
|
|
20822
20817
|
createVNode(VIcon, null, {
|
|
20823
|
-
default: withCtx(() => [..._cache[
|
|
20818
|
+
default: withCtx(() => [..._cache[63] || (_cache[63] = [
|
|
20824
20819
|
createTextVNode("mdi-close", -1)
|
|
20825
20820
|
])]),
|
|
20826
20821
|
_: 1
|
|
@@ -20849,16 +20844,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20849
20844
|
createVNode(VSpacer),
|
|
20850
20845
|
createVNode(VBtn, {
|
|
20851
20846
|
color: "primary",
|
|
20852
|
-
onClick: _cache[
|
|
20847
|
+
onClick: _cache[19] || (_cache[19] = ($event) => copyToClipboard(previewText.value))
|
|
20853
20848
|
}, {
|
|
20854
20849
|
default: withCtx(() => [
|
|
20855
20850
|
createVNode(VIcon, { start: "" }, {
|
|
20856
|
-
default: withCtx(() => [..._cache[
|
|
20851
|
+
default: withCtx(() => [..._cache[64] || (_cache[64] = [
|
|
20857
20852
|
createTextVNode("mdi-content-copy", -1)
|
|
20858
20853
|
])]),
|
|
20859
20854
|
_: 1
|
|
20860
20855
|
}),
|
|
20861
|
-
_cache[
|
|
20856
|
+
_cache[65] || (_cache[65] = createTextVNode(" کپی متن ", -1))
|
|
20862
20857
|
]),
|
|
20863
20858
|
_: 1
|
|
20864
20859
|
}),
|
|
@@ -20868,20 +20863,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20868
20863
|
}, {
|
|
20869
20864
|
default: withCtx(() => [
|
|
20870
20865
|
createVNode(VIcon, { start: "" }, {
|
|
20871
|
-
default: withCtx(() => [..._cache[
|
|
20866
|
+
default: withCtx(() => [..._cache[66] || (_cache[66] = [
|
|
20872
20867
|
createTextVNode("mdi-content-copy", -1)
|
|
20873
20868
|
])]),
|
|
20874
20869
|
_: 1
|
|
20875
20870
|
}),
|
|
20876
|
-
_cache[
|
|
20871
|
+
_cache[67] || (_cache[67] = createTextVNode(" کپی رکورد کامل ", -1))
|
|
20877
20872
|
]),
|
|
20878
20873
|
_: 1
|
|
20879
20874
|
}),
|
|
20880
20875
|
createVNode(VBtn, {
|
|
20881
20876
|
color: "grey",
|
|
20882
|
-
onClick: _cache[
|
|
20877
|
+
onClick: _cache[20] || (_cache[20] = ($event) => textPreviewDialog.value = false)
|
|
20883
20878
|
}, {
|
|
20884
|
-
default: withCtx(() => [..._cache[
|
|
20879
|
+
default: withCtx(() => [..._cache[68] || (_cache[68] = [
|
|
20885
20880
|
createTextVNode("بستن", -1)
|
|
20886
20881
|
])]),
|
|
20887
20882
|
_: 1
|
|
@@ -20896,9 +20891,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20896
20891
|
_: 1
|
|
20897
20892
|
}, 8, ["modelValue"]),
|
|
20898
20893
|
snackbar.value ? (openBlock(), createBlock(VSnackbar, {
|
|
20899
|
-
key:
|
|
20894
|
+
key: 1,
|
|
20900
20895
|
modelValue: snackbar.value,
|
|
20901
|
-
"onUpdate:modelValue": _cache[
|
|
20896
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => snackbar.value = $event),
|
|
20902
20897
|
timeout: 3e3,
|
|
20903
20898
|
location: "top"
|
|
20904
20899
|
}, {
|
|
@@ -20906,9 +20901,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20906
20901
|
createVNode(VBtn, {
|
|
20907
20902
|
color: "white",
|
|
20908
20903
|
variant: "text",
|
|
20909
|
-
onClick: _cache[
|
|
20904
|
+
onClick: _cache[22] || (_cache[22] = ($event) => snackbar.value = false)
|
|
20910
20905
|
}, {
|
|
20911
|
-
default: withCtx(() => [..._cache[
|
|
20906
|
+
default: withCtx(() => [..._cache[69] || (_cache[69] = [
|
|
20912
20907
|
createTextVNode(" بستن ", -1)
|
|
20913
20908
|
])]),
|
|
20914
20909
|
_: 1
|