@amirjalili1374/ui-kit 1.5.49 → 1.5.51
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/components/shared/CustomDataTable.vue.d.ts +1 -0
- package/dist/components/shared/CustomDataTable.vue.d.ts.map +1 -1
- package/dist/types/componentTypes/DataTableTypes.d.ts +1 -0
- package/dist/types/componentTypes/DataTableTypes.d.ts.map +1 -1
- package/dist/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +76 -62
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -18311,6 +18311,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18311
18311
|
height: {},
|
|
18312
18312
|
pagination: { type: [Object, Boolean] },
|
|
18313
18313
|
showRefreshButton: { type: Boolean, default: false },
|
|
18314
|
+
globalFetch: { type: Boolean, default: false },
|
|
18314
18315
|
title: {},
|
|
18315
18316
|
selectable: { type: Boolean, default: false },
|
|
18316
18317
|
multiSelect: { type: Boolean, default: false },
|
|
@@ -18369,6 +18370,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18369
18370
|
ref(null);
|
|
18370
18371
|
const isLoadingMore = ref(false);
|
|
18371
18372
|
const hasMore = ref(true);
|
|
18373
|
+
ref(false);
|
|
18372
18374
|
const selection = useTableSelection(items, {
|
|
18373
18375
|
multiSelect: props.bulkMode ? false : props.multiSelect,
|
|
18374
18376
|
// Force single select in bulk mode
|
|
@@ -19441,7 +19443,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19441
19443
|
class: "me-2",
|
|
19442
19444
|
onClick: _cache[0] || (_cache[0] = ($event) => openDialog())
|
|
19443
19445
|
}, {
|
|
19444
|
-
default: withCtx(() => [..._cache[
|
|
19446
|
+
default: withCtx(() => [..._cache[25] || (_cache[25] = [
|
|
19445
19447
|
createTextVNode("ایجاد ✅", -1)
|
|
19446
19448
|
])]),
|
|
19447
19449
|
_: 1
|
|
@@ -19451,7 +19453,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19451
19453
|
class: "me-2",
|
|
19452
19454
|
onClick: _cache[1] || (_cache[1] = ($event) => filterDialog.value = true)
|
|
19453
19455
|
}, {
|
|
19454
|
-
default: withCtx(() => [..._cache[
|
|
19456
|
+
default: withCtx(() => [..._cache[26] || (_cache[26] = [
|
|
19455
19457
|
createTextVNode("فیلتر 🔍", -1)
|
|
19456
19458
|
])]),
|
|
19457
19459
|
_: 1
|
|
@@ -19462,7 +19464,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19462
19464
|
class: "me-2",
|
|
19463
19465
|
onClick: _cache[2] || (_cache[2] = ($event) => fetchData())
|
|
19464
19466
|
}, {
|
|
19465
|
-
default: withCtx(() => [..._cache[
|
|
19467
|
+
default: withCtx(() => [..._cache[27] || (_cache[27] = [
|
|
19466
19468
|
createTextVNode("جستجو 🔍", -1)
|
|
19467
19469
|
])]),
|
|
19468
19470
|
_: 1
|
|
@@ -19472,11 +19474,23 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19472
19474
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(debouncedFetchData)()),
|
|
19473
19475
|
loading: loading.value
|
|
19474
19476
|
}, {
|
|
19475
|
-
default: withCtx(() => [..._cache[
|
|
19477
|
+
default: withCtx(() => [..._cache[28] || (_cache[28] = [
|
|
19476
19478
|
createTextVNode("بروزرسانی 🔄", -1)
|
|
19477
19479
|
])]),
|
|
19478
19480
|
_: 1
|
|
19479
19481
|
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
19482
|
+
props.globalFetch ? (openBlock(), createBlock(VBtn, {
|
|
19483
|
+
key: 4,
|
|
19484
|
+
color: "primary",
|
|
19485
|
+
class: "me-2",
|
|
19486
|
+
onClick: _cache[4] || (_cache[4] = ($event) => resetFilter()),
|
|
19487
|
+
loading: loading.value
|
|
19488
|
+
}, {
|
|
19489
|
+
default: withCtx(() => [..._cache[29] || (_cache[29] = [
|
|
19490
|
+
createTextVNode("جستجو کلی", -1)
|
|
19491
|
+
])]),
|
|
19492
|
+
_: 1
|
|
19493
|
+
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
19480
19494
|
createVNode(Transition, {
|
|
19481
19495
|
name: "slide-left",
|
|
19482
19496
|
appear: ""
|
|
@@ -19491,7 +19505,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19491
19505
|
onClick: openGroupDeleteDialog
|
|
19492
19506
|
}, {
|
|
19493
19507
|
default: withCtx(() => [
|
|
19494
|
-
_cache[
|
|
19508
|
+
_cache[30] || (_cache[30] = createElementVNode("span", { class: "me-1" }, "🗑️", -1)),
|
|
19495
19509
|
createTextVNode(" حذف گروهی (" + toDisplayString(selectedCount.value) + ") ", 1)
|
|
19496
19510
|
]),
|
|
19497
19511
|
_: 1
|
|
@@ -19508,7 +19522,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19508
19522
|
class: "me-2",
|
|
19509
19523
|
onClick: ($event) => openDialog(item)
|
|
19510
19524
|
}, {
|
|
19511
|
-
default: withCtx(() => [..._cache[
|
|
19525
|
+
default: withCtx(() => [..._cache[31] || (_cache[31] = [
|
|
19512
19526
|
createElementVNode("span", { class: "me-1" }, "✏️", -1),
|
|
19513
19527
|
createTextVNode(" ویرایش ", -1)
|
|
19514
19528
|
])]),
|
|
@@ -19521,7 +19535,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19521
19535
|
class: "me-2",
|
|
19522
19536
|
onClick: ($event) => openDeleteDialog(item)
|
|
19523
19537
|
}, {
|
|
19524
|
-
default: withCtx(() => [..._cache[
|
|
19538
|
+
default: withCtx(() => [..._cache[32] || (_cache[32] = [
|
|
19525
19539
|
createElementVNode("span", { class: "me-1" }, "🗑️", -1),
|
|
19526
19540
|
createTextVNode(" حذف ", -1)
|
|
19527
19541
|
])]),
|
|
@@ -19534,7 +19548,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19534
19548
|
class: "me-2",
|
|
19535
19549
|
onClick: ($event) => goToRoute("view", item)
|
|
19536
19550
|
}, {
|
|
19537
|
-
default: withCtx(() => [..._cache[
|
|
19551
|
+
default: withCtx(() => [..._cache[33] || (_cache[33] = [
|
|
19538
19552
|
createElementVNode("span", { class: "me-1" }, "👁️", -1),
|
|
19539
19553
|
createTextVNode(" نمایش ", -1)
|
|
19540
19554
|
])]),
|
|
@@ -19549,7 +19563,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19549
19563
|
onClick: ($event) => goToRoute(routeKey, item)
|
|
19550
19564
|
}, {
|
|
19551
19565
|
default: withCtx(() => [
|
|
19552
|
-
_cache[
|
|
19566
|
+
_cache[34] || (_cache[34] = createElementVNode("span", { class: "me-1" }, "➡️", -1)),
|
|
19553
19567
|
createTextVNode(" " + toDisplayString(String(routeKey)), 1)
|
|
19554
19568
|
]),
|
|
19555
19569
|
_: 2
|
|
@@ -19563,7 +19577,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19563
19577
|
onClick: ($event) => download(key2, item)
|
|
19564
19578
|
}, {
|
|
19565
19579
|
default: withCtx(() => [
|
|
19566
|
-
_cache[
|
|
19580
|
+
_cache[35] || (_cache[35] = createElementVNode("span", { class: "me-1" }, "⬇️", -1)),
|
|
19567
19581
|
createTextVNode(" " + toDisplayString(key2), 1)
|
|
19568
19582
|
]),
|
|
19569
19583
|
_: 2
|
|
@@ -19763,7 +19777,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19763
19777
|
class: "me-2",
|
|
19764
19778
|
onClick: clearSelection
|
|
19765
19779
|
}, {
|
|
19766
|
-
default: withCtx(() => [..._cache[
|
|
19780
|
+
default: withCtx(() => [..._cache[36] || (_cache[36] = [
|
|
19767
19781
|
createTextVNode(" پاک کردن انتخاب ", -1)
|
|
19768
19782
|
])]),
|
|
19769
19783
|
_: 1
|
|
@@ -19795,7 +19809,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19795
19809
|
onClick: expandAllGroups,
|
|
19796
19810
|
class: "me-2"
|
|
19797
19811
|
}, {
|
|
19798
|
-
default: withCtx(() => [..._cache[
|
|
19812
|
+
default: withCtx(() => [..._cache[37] || (_cache[37] = [
|
|
19799
19813
|
createTextVNode(" گسترش همه ", -1)
|
|
19800
19814
|
])]),
|
|
19801
19815
|
_: 1
|
|
@@ -19806,7 +19820,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19806
19820
|
onClick: collapseAllGroups,
|
|
19807
19821
|
class: "me-2"
|
|
19808
19822
|
}, {
|
|
19809
|
-
default: withCtx(() => [..._cache[
|
|
19823
|
+
default: withCtx(() => [..._cache[38] || (_cache[38] = [
|
|
19810
19824
|
createTextVNode(" جمع کردن همه ", -1)
|
|
19811
19825
|
])]),
|
|
19812
19826
|
_: 1
|
|
@@ -19827,7 +19841,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19827
19841
|
role: "button",
|
|
19828
19842
|
tabindex: "0",
|
|
19829
19843
|
onClick: withModifiers(($event) => toggleGroup(group.groupKey), ["stop"]),
|
|
19830
|
-
onMousedown: _cache[
|
|
19844
|
+
onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
19831
19845
|
}, ["stop"])),
|
|
19832
19846
|
onKeydown: [
|
|
19833
19847
|
withKeys(withModifiers(($event) => toggleGroup(group.groupKey), ["prevent"]), ["enter"]),
|
|
@@ -19934,7 +19948,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19934
19948
|
class: "mr-2",
|
|
19935
19949
|
onClick: ($event) => openDialog(item)
|
|
19936
19950
|
}, {
|
|
19937
|
-
default: withCtx(() => [..._cache[
|
|
19951
|
+
default: withCtx(() => [..._cache[39] || (_cache[39] = [
|
|
19938
19952
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
19939
19953
|
])]),
|
|
19940
19954
|
_: 1
|
|
@@ -19946,7 +19960,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19946
19960
|
class: "mr-2",
|
|
19947
19961
|
onClick: ($event) => openDeleteDialog(item)
|
|
19948
19962
|
}, {
|
|
19949
|
-
default: withCtx(() => [..._cache[
|
|
19963
|
+
default: withCtx(() => [..._cache[40] || (_cache[40] = [
|
|
19950
19964
|
createTextVNode("حذف ❌ ", -1)
|
|
19951
19965
|
])]),
|
|
19952
19966
|
_: 1
|
|
@@ -19958,7 +19972,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19958
19972
|
class: "mr-2",
|
|
19959
19973
|
onClick: ($event) => goToRoute("view", item)
|
|
19960
19974
|
}, {
|
|
19961
|
-
default: withCtx(() => [..._cache[
|
|
19975
|
+
default: withCtx(() => [..._cache[41] || (_cache[41] = [
|
|
19962
19976
|
createTextVNode("🔍 نمایش ", -1)
|
|
19963
19977
|
])]),
|
|
19964
19978
|
_: 1
|
|
@@ -20073,7 +20087,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20073
20087
|
}, {
|
|
20074
20088
|
default: withCtx(() => [
|
|
20075
20089
|
createVNode(VIcon, { size: "16" }, {
|
|
20076
|
-
default: withCtx(() => [..._cache[
|
|
20090
|
+
default: withCtx(() => [..._cache[42] || (_cache[42] = [
|
|
20077
20091
|
createTextVNode("mdi-content-copy", -1)
|
|
20078
20092
|
])]),
|
|
20079
20093
|
_: 1
|
|
@@ -20164,7 +20178,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20164
20178
|
class: "mr-2",
|
|
20165
20179
|
onClick: ($event) => openDialog(item)
|
|
20166
20180
|
}, {
|
|
20167
|
-
default: withCtx(() => [..._cache[
|
|
20181
|
+
default: withCtx(() => [..._cache[43] || (_cache[43] = [
|
|
20168
20182
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
20169
20183
|
])]),
|
|
20170
20184
|
_: 1
|
|
@@ -20176,7 +20190,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20176
20190
|
class: "mr-2",
|
|
20177
20191
|
onClick: ($event) => openDeleteDialog(item)
|
|
20178
20192
|
}, {
|
|
20179
|
-
default: withCtx(() => [..._cache[
|
|
20193
|
+
default: withCtx(() => [..._cache[44] || (_cache[44] = [
|
|
20180
20194
|
createTextVNode("حذف ❌ ", -1)
|
|
20181
20195
|
])]),
|
|
20182
20196
|
_: 1
|
|
@@ -20188,7 +20202,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20188
20202
|
class: "mr-2",
|
|
20189
20203
|
onClick: ($event) => goToRoute("view", item)
|
|
20190
20204
|
}, {
|
|
20191
|
-
default: withCtx(() => [..._cache[
|
|
20205
|
+
default: withCtx(() => [..._cache[45] || (_cache[45] = [
|
|
20192
20206
|
createTextVNode("🔍 نمایش ", -1)
|
|
20193
20207
|
])]),
|
|
20194
20208
|
_: 1
|
|
@@ -20303,7 +20317,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20303
20317
|
}, {
|
|
20304
20318
|
default: withCtx(() => [
|
|
20305
20319
|
createVNode(VIcon, { size: "16" }, {
|
|
20306
|
-
default: withCtx(() => [..._cache[
|
|
20320
|
+
default: withCtx(() => [..._cache[46] || (_cache[46] = [
|
|
20307
20321
|
createTextVNode("mdi-content-copy", -1)
|
|
20308
20322
|
])]),
|
|
20309
20323
|
_: 1
|
|
@@ -20331,7 +20345,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20331
20345
|
createVNode(VPagination, {
|
|
20332
20346
|
modelValue: currentPage.value,
|
|
20333
20347
|
"onUpdate:modelValue": [
|
|
20334
|
-
_cache[
|
|
20348
|
+
_cache[6] || (_cache[6] = ($event) => currentPage.value = $event),
|
|
20335
20349
|
handlePageChange
|
|
20336
20350
|
],
|
|
20337
20351
|
length: totalPages.value,
|
|
@@ -20343,7 +20357,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20343
20357
|
], 16, _hoisted_8$1),
|
|
20344
20358
|
createVNode(VDialog, {
|
|
20345
20359
|
modelValue: dialog.value,
|
|
20346
|
-
"onUpdate:modelValue": _cache[
|
|
20360
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => dialog.value = $event),
|
|
20347
20361
|
"max-width": "1400"
|
|
20348
20362
|
}, {
|
|
20349
20363
|
default: withCtx(() => [
|
|
@@ -20362,7 +20376,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20362
20376
|
props.formComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.formComponent), {
|
|
20363
20377
|
key: 0,
|
|
20364
20378
|
modelValue: formModel.value,
|
|
20365
|
-
"onUpdate:modelValue": _cache[
|
|
20379
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => formModel.value = $event)
|
|
20366
20380
|
}, null, 8, ["modelValue"])) : (openBlock(), createBlock(VRow, { key: 1 }, {
|
|
20367
20381
|
default: withCtx(() => [
|
|
20368
20382
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
|
|
@@ -20454,9 +20468,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20454
20468
|
createVNode(VBtn, {
|
|
20455
20469
|
variant: "tonal",
|
|
20456
20470
|
color: "error",
|
|
20457
|
-
onClick: _cache[
|
|
20471
|
+
onClick: _cache[8] || (_cache[8] = ($event) => dialog.value = false)
|
|
20458
20472
|
}, {
|
|
20459
|
-
default: withCtx(() => [..._cache[
|
|
20473
|
+
default: withCtx(() => [..._cache[47] || (_cache[47] = [
|
|
20460
20474
|
createTextVNode("انصراف", -1)
|
|
20461
20475
|
])]),
|
|
20462
20476
|
_: 1
|
|
@@ -20482,20 +20496,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20482
20496
|
}, 8, ["modelValue"]),
|
|
20483
20497
|
createVNode(VDialog, {
|
|
20484
20498
|
modelValue: deleteDialog.value,
|
|
20485
|
-
"onUpdate:modelValue": _cache[
|
|
20499
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => deleteDialog.value = $event),
|
|
20486
20500
|
"max-width": "400"
|
|
20487
20501
|
}, {
|
|
20488
20502
|
default: withCtx(() => [
|
|
20489
20503
|
createVNode(VCard, null, {
|
|
20490
20504
|
default: withCtx(() => [
|
|
20491
20505
|
createVNode(VCardTitle, null, {
|
|
20492
|
-
default: withCtx(() => [..._cache[
|
|
20506
|
+
default: withCtx(() => [..._cache[48] || (_cache[48] = [
|
|
20493
20507
|
createTextVNode("حذف آیتم", -1)
|
|
20494
20508
|
])]),
|
|
20495
20509
|
_: 1
|
|
20496
20510
|
}),
|
|
20497
20511
|
createVNode(VCardText, null, {
|
|
20498
|
-
default: withCtx(() => [..._cache[
|
|
20512
|
+
default: withCtx(() => [..._cache[49] || (_cache[49] = [
|
|
20499
20513
|
createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
|
|
20500
20514
|
])]),
|
|
20501
20515
|
_: 1
|
|
@@ -20504,21 +20518,21 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20504
20518
|
default: withCtx(() => [
|
|
20505
20519
|
createVNode(VBtn, {
|
|
20506
20520
|
color: "grey",
|
|
20507
|
-
onClick: _cache[
|
|
20521
|
+
onClick: _cache[10] || (_cache[10] = ($event) => deleteDialog.value = false)
|
|
20508
20522
|
}, {
|
|
20509
|
-
default: withCtx(() => [..._cache[
|
|
20523
|
+
default: withCtx(() => [..._cache[50] || (_cache[50] = [
|
|
20510
20524
|
createTextVNode("انصراف", -1)
|
|
20511
20525
|
])]),
|
|
20512
20526
|
_: 1
|
|
20513
20527
|
}),
|
|
20514
20528
|
createVNode(VBtn, {
|
|
20515
20529
|
color: "red",
|
|
20516
|
-
onClick: _cache[
|
|
20530
|
+
onClick: _cache[11] || (_cache[11] = ($event) => {
|
|
20517
20531
|
var _a2;
|
|
20518
20532
|
return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
|
|
20519
20533
|
})
|
|
20520
20534
|
}, {
|
|
20521
|
-
default: withCtx(() => [..._cache[
|
|
20535
|
+
default: withCtx(() => [..._cache[51] || (_cache[51] = [
|
|
20522
20536
|
createTextVNode("حذف", -1)
|
|
20523
20537
|
])]),
|
|
20524
20538
|
_: 1
|
|
@@ -20534,7 +20548,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20534
20548
|
}, 8, ["modelValue"]),
|
|
20535
20549
|
createVNode(VDialog, {
|
|
20536
20550
|
modelValue: groupDeleteDialog.value,
|
|
20537
|
-
"onUpdate:modelValue": _cache[
|
|
20551
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => groupDeleteDialog.value = $event),
|
|
20538
20552
|
"max-width": "500"
|
|
20539
20553
|
}, {
|
|
20540
20554
|
default: withCtx(() => [
|
|
@@ -20546,28 +20560,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20546
20560
|
color: "red",
|
|
20547
20561
|
class: "me-2"
|
|
20548
20562
|
}, {
|
|
20549
|
-
default: withCtx(() => [..._cache[
|
|
20563
|
+
default: withCtx(() => [..._cache[52] || (_cache[52] = [
|
|
20550
20564
|
createTextVNode("🗑️", -1)
|
|
20551
20565
|
])]),
|
|
20552
20566
|
_: 1
|
|
20553
20567
|
}),
|
|
20554
|
-
_cache[
|
|
20568
|
+
_cache[53] || (_cache[53] = createTextVNode(" حذف گروهی ", -1))
|
|
20555
20569
|
]),
|
|
20556
20570
|
_: 1
|
|
20557
20571
|
}),
|
|
20558
20572
|
createVNode(VCardText, null, {
|
|
20559
20573
|
default: withCtx(() => [
|
|
20560
20574
|
createElementVNode("p", null, [
|
|
20561
|
-
_cache[
|
|
20575
|
+
_cache[54] || (_cache[54] = createTextVNode(" آیا مایل به حذف ", -1)),
|
|
20562
20576
|
createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
|
|
20563
|
-
_cache[
|
|
20577
|
+
_cache[55] || (_cache[55] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
|
|
20564
20578
|
]),
|
|
20565
20579
|
createVNode(VAlert, {
|
|
20566
20580
|
type: "warning",
|
|
20567
20581
|
variant: "tonal",
|
|
20568
20582
|
class: "mt-3"
|
|
20569
20583
|
}, {
|
|
20570
|
-
default: withCtx(() => [..._cache[
|
|
20584
|
+
default: withCtx(() => [..._cache[56] || (_cache[56] = [
|
|
20571
20585
|
createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
|
|
20572
20586
|
])]),
|
|
20573
20587
|
_: 1
|
|
@@ -20580,9 +20594,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20580
20594
|
createVNode(VSpacer),
|
|
20581
20595
|
createVNode(VBtn, {
|
|
20582
20596
|
color: "grey",
|
|
20583
|
-
onClick: _cache[
|
|
20597
|
+
onClick: _cache[13] || (_cache[13] = ($event) => groupDeleteDialog.value = false)
|
|
20584
20598
|
}, {
|
|
20585
|
-
default: withCtx(() => [..._cache[
|
|
20599
|
+
default: withCtx(() => [..._cache[57] || (_cache[57] = [
|
|
20586
20600
|
createTextVNode("انصراف", -1)
|
|
20587
20601
|
])]),
|
|
20588
20602
|
_: 1
|
|
@@ -20608,7 +20622,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20608
20622
|
}, 8, ["modelValue"]),
|
|
20609
20623
|
createVNode(VDialog, {
|
|
20610
20624
|
modelValue: customActionDialog.value,
|
|
20611
|
-
"onUpdate:modelValue": _cache[
|
|
20625
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => customActionDialog.value = $event),
|
|
20612
20626
|
"max-width": "1300"
|
|
20613
20627
|
}, {
|
|
20614
20628
|
default: withCtx(() => [
|
|
@@ -20628,7 +20642,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20628
20642
|
customActionComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(customActionComponent.value), {
|
|
20629
20643
|
key: 0,
|
|
20630
20644
|
item: customActionItem.value,
|
|
20631
|
-
onClose: _cache[
|
|
20645
|
+
onClose: _cache[15] || (_cache[15] = ($event) => customActionDialog.value = false)
|
|
20632
20646
|
}, null, 40, ["item"])) : createCommentVNode("", true)
|
|
20633
20647
|
]),
|
|
20634
20648
|
_: 1
|
|
@@ -20641,14 +20655,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20641
20655
|
}, 8, ["modelValue"]),
|
|
20642
20656
|
createVNode(VDialog, {
|
|
20643
20657
|
modelValue: filterDialog.value,
|
|
20644
|
-
"onUpdate:modelValue": _cache[
|
|
20658
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => filterDialog.value = $event),
|
|
20645
20659
|
"max-width": "1500"
|
|
20646
20660
|
}, {
|
|
20647
20661
|
default: withCtx(() => [
|
|
20648
20662
|
createVNode(VCard, null, {
|
|
20649
20663
|
default: withCtx(() => [
|
|
20650
20664
|
createVNode(VCardTitle, null, {
|
|
20651
|
-
default: withCtx(() => [..._cache[
|
|
20665
|
+
default: withCtx(() => [..._cache[58] || (_cache[58] = [
|
|
20652
20666
|
createTextVNode("فیلتر", -1)
|
|
20653
20667
|
])]),
|
|
20654
20668
|
_: 1
|
|
@@ -20658,7 +20672,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20658
20672
|
props.filterComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.filterComponent), {
|
|
20659
20673
|
key: 0,
|
|
20660
20674
|
"model-value": filterModel.value,
|
|
20661
|
-
"onUpdate:modelValue": _cache[
|
|
20675
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => filterModel.value = $event),
|
|
20662
20676
|
onApply: handleFilterApply
|
|
20663
20677
|
}, null, 40, ["model-value"])) : (openBlock(), createBlock(VContainer, { key: 1 }, {
|
|
20664
20678
|
default: withCtx(() => [
|
|
@@ -20770,7 +20784,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20770
20784
|
variant: "tonal",
|
|
20771
20785
|
onClick: resetFilter
|
|
20772
20786
|
}, {
|
|
20773
|
-
default: withCtx(() => [..._cache[
|
|
20787
|
+
default: withCtx(() => [..._cache[59] || (_cache[59] = [
|
|
20774
20788
|
createTextVNode("حذف فیلترها", -1)
|
|
20775
20789
|
])]),
|
|
20776
20790
|
_: 1
|
|
@@ -20779,7 +20793,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20779
20793
|
color: "primary",
|
|
20780
20794
|
onClick: applyFilter
|
|
20781
20795
|
}, {
|
|
20782
|
-
default: withCtx(() => [..._cache[
|
|
20796
|
+
default: withCtx(() => [..._cache[60] || (_cache[60] = [
|
|
20783
20797
|
createTextVNode("اعمال فیلتر", -1)
|
|
20784
20798
|
])]),
|
|
20785
20799
|
_: 1
|
|
@@ -20795,7 +20809,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20795
20809
|
}, 8, ["modelValue"]),
|
|
20796
20810
|
createVNode(VDialog, {
|
|
20797
20811
|
modelValue: textPreviewDialog.value,
|
|
20798
|
-
"onUpdate:modelValue": _cache[
|
|
20812
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => textPreviewDialog.value = $event),
|
|
20799
20813
|
"max-width": "800"
|
|
20800
20814
|
}, {
|
|
20801
20815
|
default: withCtx(() => [
|
|
@@ -20807,11 +20821,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20807
20821
|
createVNode(VBtn, {
|
|
20808
20822
|
icon: "",
|
|
20809
20823
|
variant: "text",
|
|
20810
|
-
onClick: _cache[
|
|
20824
|
+
onClick: _cache[19] || (_cache[19] = ($event) => textPreviewDialog.value = false)
|
|
20811
20825
|
}, {
|
|
20812
20826
|
default: withCtx(() => [
|
|
20813
20827
|
createVNode(VIcon, null, {
|
|
20814
|
-
default: withCtx(() => [..._cache[
|
|
20828
|
+
default: withCtx(() => [..._cache[61] || (_cache[61] = [
|
|
20815
20829
|
createTextVNode("mdi-close", -1)
|
|
20816
20830
|
])]),
|
|
20817
20831
|
_: 1
|
|
@@ -20840,16 +20854,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20840
20854
|
createVNode(VSpacer),
|
|
20841
20855
|
createVNode(VBtn, {
|
|
20842
20856
|
color: "primary",
|
|
20843
|
-
onClick: _cache[
|
|
20857
|
+
onClick: _cache[20] || (_cache[20] = ($event) => copyToClipboard(previewText.value))
|
|
20844
20858
|
}, {
|
|
20845
20859
|
default: withCtx(() => [
|
|
20846
20860
|
createVNode(VIcon, { start: "" }, {
|
|
20847
|
-
default: withCtx(() => [..._cache[
|
|
20861
|
+
default: withCtx(() => [..._cache[62] || (_cache[62] = [
|
|
20848
20862
|
createTextVNode("mdi-content-copy", -1)
|
|
20849
20863
|
])]),
|
|
20850
20864
|
_: 1
|
|
20851
20865
|
}),
|
|
20852
|
-
_cache[
|
|
20866
|
+
_cache[63] || (_cache[63] = createTextVNode(" کپی متن ", -1))
|
|
20853
20867
|
]),
|
|
20854
20868
|
_: 1
|
|
20855
20869
|
}),
|
|
@@ -20859,20 +20873,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20859
20873
|
}, {
|
|
20860
20874
|
default: withCtx(() => [
|
|
20861
20875
|
createVNode(VIcon, { start: "" }, {
|
|
20862
|
-
default: withCtx(() => [..._cache[
|
|
20876
|
+
default: withCtx(() => [..._cache[64] || (_cache[64] = [
|
|
20863
20877
|
createTextVNode("mdi-content-copy", -1)
|
|
20864
20878
|
])]),
|
|
20865
20879
|
_: 1
|
|
20866
20880
|
}),
|
|
20867
|
-
_cache[
|
|
20881
|
+
_cache[65] || (_cache[65] = createTextVNode(" کپی رکورد کامل ", -1))
|
|
20868
20882
|
]),
|
|
20869
20883
|
_: 1
|
|
20870
20884
|
}),
|
|
20871
20885
|
createVNode(VBtn, {
|
|
20872
20886
|
color: "grey",
|
|
20873
|
-
onClick: _cache[
|
|
20887
|
+
onClick: _cache[21] || (_cache[21] = ($event) => textPreviewDialog.value = false)
|
|
20874
20888
|
}, {
|
|
20875
|
-
default: withCtx(() => [..._cache[
|
|
20889
|
+
default: withCtx(() => [..._cache[66] || (_cache[66] = [
|
|
20876
20890
|
createTextVNode("بستن", -1)
|
|
20877
20891
|
])]),
|
|
20878
20892
|
_: 1
|
|
@@ -20889,7 +20903,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20889
20903
|
snackbar.value ? (openBlock(), createBlock(VSnackbar, {
|
|
20890
20904
|
key: 4,
|
|
20891
20905
|
modelValue: snackbar.value,
|
|
20892
|
-
"onUpdate:modelValue": _cache[
|
|
20906
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => snackbar.value = $event),
|
|
20893
20907
|
timeout: 3e3,
|
|
20894
20908
|
location: "top"
|
|
20895
20909
|
}, {
|
|
@@ -20897,9 +20911,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20897
20911
|
createVNode(VBtn, {
|
|
20898
20912
|
color: "white",
|
|
20899
20913
|
variant: "text",
|
|
20900
|
-
onClick: _cache[
|
|
20914
|
+
onClick: _cache[23] || (_cache[23] = ($event) => snackbar.value = false)
|
|
20901
20915
|
}, {
|
|
20902
|
-
default: withCtx(() => [..._cache[
|
|
20916
|
+
default: withCtx(() => [..._cache[67] || (_cache[67] = [
|
|
20903
20917
|
createTextVNode(" بستن ", -1)
|
|
20904
20918
|
])]),
|
|
20905
20919
|
_: 1
|