@amirjalili1374/ui-kit 1.5.49 → 1.5.50

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