@amirjalili1374/ui-kit 1.5.86 → 1.5.87

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
@@ -39785,18 +39785,18 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39785
39785
  class: "text-secondary mx-3",
39786
39786
  color: "lightsecondary",
39787
39787
  rounded: "sm",
39788
- size: "large",
39789
- variant: "flat",
39788
+ size: "small",
39789
+ variant: "outlined",
39790
39790
  loading: exportLoading.value,
39791
39791
  disabled: loading.value,
39792
- onClick: onExportClick,
39793
- title: "خروجی اکسل"
39792
+ onClick: onExportClick
39794
39793
  }, {
39795
39794
  default: withCtx(() => [
39796
39795
  createVNode(unref(IconFileExport), {
39797
39796
  "stroke-width": "1.5",
39798
39797
  size: "22"
39799
- })
39798
+ }),
39799
+ _cache[30] || (_cache[30] = createTextVNode(" خروجی اکسل ", -1))
39800
39800
  ]),
39801
39801
  _: 1
39802
39802
  }, 8, ["loading", "disabled"])) : createCommentVNode("", true),
@@ -39814,7 +39814,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39814
39814
  onClick: openGroupDeleteDialog
39815
39815
  }, {
39816
39816
  default: withCtx(() => [
39817
- _cache[30] || (_cache[30] = createElementVNode("span", { class: "me-1" }, "🗑️", -1)),
39817
+ _cache[31] || (_cache[31] = createElementVNode("span", { class: "me-1" }, "🗑️", -1)),
39818
39818
  createTextVNode(" حذف گروهی (" + toDisplayString(selectedCount.value) + ") ", 1)
39819
39819
  ]),
39820
39820
  _: 1
@@ -39831,7 +39831,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39831
39831
  class: "me-2",
39832
39832
  onClick: ($event) => openDialog(item)
39833
39833
  }, {
39834
- default: withCtx(() => [..._cache[31] || (_cache[31] = [
39834
+ default: withCtx(() => [..._cache[32] || (_cache[32] = [
39835
39835
  createElementVNode("span", { class: "me-1" }, "✏️", -1),
39836
39836
  createTextVNode(" ویرایش ", -1)
39837
39837
  ])]),
@@ -39844,7 +39844,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39844
39844
  class: "me-2",
39845
39845
  onClick: ($event) => openDeleteDialog(item)
39846
39846
  }, {
39847
- default: withCtx(() => [..._cache[32] || (_cache[32] = [
39847
+ default: withCtx(() => [..._cache[33] || (_cache[33] = [
39848
39848
  createElementVNode("span", { class: "me-1" }, "🗑️", -1),
39849
39849
  createTextVNode(" حذف ", -1)
39850
39850
  ])]),
@@ -39857,7 +39857,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39857
39857
  class: "me-2",
39858
39858
  onClick: ($event) => goToRoute("view", item)
39859
39859
  }, {
39860
- default: withCtx(() => [..._cache[33] || (_cache[33] = [
39860
+ default: withCtx(() => [..._cache[34] || (_cache[34] = [
39861
39861
  createElementVNode("span", { class: "me-1" }, "👁️", -1),
39862
39862
  createTextVNode(" نمایش ", -1)
39863
39863
  ])]),
@@ -39872,7 +39872,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39872
39872
  onClick: ($event) => goToRoute(routeKey, item)
39873
39873
  }, {
39874
39874
  default: withCtx(() => [
39875
- _cache[34] || (_cache[34] = createElementVNode("span", { class: "me-1" }, "➡️", -1)),
39875
+ _cache[35] || (_cache[35] = createElementVNode("span", { class: "me-1" }, "➡️", -1)),
39876
39876
  createTextVNode(" " + toDisplayString(String(routeKey)), 1)
39877
39877
  ]),
39878
39878
  _: 2
@@ -39886,7 +39886,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
39886
39886
  onClick: ($event) => download(key2, item)
39887
39887
  }, {
39888
39888
  default: withCtx(() => [
39889
- _cache[35] || (_cache[35] = createElementVNode("span", { class: "me-1" }, "⬇️", -1)),
39889
+ _cache[36] || (_cache[36] = createElementVNode("span", { class: "me-1" }, "⬇️", -1)),
39890
39890
  createTextVNode(" " + toDisplayString(key2), 1)
39891
39891
  ]),
39892
39892
  _: 2
@@ -40086,7 +40086,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40086
40086
  class: "me-2",
40087
40087
  onClick: clearSelection
40088
40088
  }, {
40089
- default: withCtx(() => [..._cache[36] || (_cache[36] = [
40089
+ default: withCtx(() => [..._cache[37] || (_cache[37] = [
40090
40090
  createTextVNode(" پاک کردن انتخاب ", -1)
40091
40091
  ])]),
40092
40092
  _: 1
@@ -40118,7 +40118,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40118
40118
  onClick: expandAllGroups,
40119
40119
  class: "me-2"
40120
40120
  }, {
40121
- default: withCtx(() => [..._cache[37] || (_cache[37] = [
40121
+ default: withCtx(() => [..._cache[38] || (_cache[38] = [
40122
40122
  createTextVNode(" گسترش همه ", -1)
40123
40123
  ])]),
40124
40124
  _: 1
@@ -40129,7 +40129,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40129
40129
  onClick: collapseAllGroups,
40130
40130
  class: "me-2"
40131
40131
  }, {
40132
- default: withCtx(() => [..._cache[38] || (_cache[38] = [
40132
+ default: withCtx(() => [..._cache[39] || (_cache[39] = [
40133
40133
  createTextVNode(" جمع کردن همه ", -1)
40134
40134
  ])]),
40135
40135
  _: 1
@@ -40257,7 +40257,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40257
40257
  class: "mr-2",
40258
40258
  onClick: ($event) => openDialog(item)
40259
40259
  }, {
40260
- default: withCtx(() => [..._cache[39] || (_cache[39] = [
40260
+ default: withCtx(() => [..._cache[40] || (_cache[40] = [
40261
40261
  createTextVNode(" ویرایش ✏️ ", -1)
40262
40262
  ])]),
40263
40263
  _: 1
@@ -40269,7 +40269,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40269
40269
  class: "mr-2",
40270
40270
  onClick: ($event) => openDeleteDialog(item)
40271
40271
  }, {
40272
- default: withCtx(() => [..._cache[40] || (_cache[40] = [
40272
+ default: withCtx(() => [..._cache[41] || (_cache[41] = [
40273
40273
  createTextVNode("حذف ❌ ", -1)
40274
40274
  ])]),
40275
40275
  _: 1
@@ -40281,7 +40281,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40281
40281
  class: "mr-2",
40282
40282
  onClick: ($event) => goToRoute("view", item)
40283
40283
  }, {
40284
- default: withCtx(() => [..._cache[41] || (_cache[41] = [
40284
+ default: withCtx(() => [..._cache[42] || (_cache[42] = [
40285
40285
  createTextVNode("🔍 نمایش ", -1)
40286
40286
  ])]),
40287
40287
  _: 1
@@ -40396,7 +40396,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40396
40396
  }, {
40397
40397
  default: withCtx(() => [
40398
40398
  createVNode(VIcon, { size: "16" }, {
40399
- default: withCtx(() => [..._cache[42] || (_cache[42] = [
40399
+ default: withCtx(() => [..._cache[43] || (_cache[43] = [
40400
40400
  createTextVNode("mdi-content-copy", -1)
40401
40401
  ])]),
40402
40402
  _: 1
@@ -40488,7 +40488,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40488
40488
  class: "mr-2",
40489
40489
  onClick: ($event) => openDialog(item)
40490
40490
  }, {
40491
- default: withCtx(() => [..._cache[43] || (_cache[43] = [
40491
+ default: withCtx(() => [..._cache[44] || (_cache[44] = [
40492
40492
  createTextVNode(" ویرایش ✏️ ", -1)
40493
40493
  ])]),
40494
40494
  _: 1
@@ -40500,7 +40500,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40500
40500
  class: "mr-2",
40501
40501
  onClick: ($event) => openDeleteDialog(item)
40502
40502
  }, {
40503
- default: withCtx(() => [..._cache[44] || (_cache[44] = [
40503
+ default: withCtx(() => [..._cache[45] || (_cache[45] = [
40504
40504
  createTextVNode("حذف ❌ ", -1)
40505
40505
  ])]),
40506
40506
  _: 1
@@ -40512,7 +40512,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40512
40512
  class: "mr-2",
40513
40513
  onClick: ($event) => goToRoute("view", item)
40514
40514
  }, {
40515
- default: withCtx(() => [..._cache[45] || (_cache[45] = [
40515
+ default: withCtx(() => [..._cache[46] || (_cache[46] = [
40516
40516
  createTextVNode("🔍 نمایش ", -1)
40517
40517
  ])]),
40518
40518
  _: 1
@@ -40627,7 +40627,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40627
40627
  }, {
40628
40628
  default: withCtx(() => [
40629
40629
  createVNode(VIcon, { size: "16" }, {
40630
- default: withCtx(() => [..._cache[46] || (_cache[46] = [
40630
+ default: withCtx(() => [..._cache[47] || (_cache[47] = [
40631
40631
  createTextVNode("mdi-content-copy", -1)
40632
40632
  ])]),
40633
40633
  _: 1
@@ -40780,7 +40780,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40780
40780
  color: "error",
40781
40781
  onClick: _cache[8] || (_cache[8] = ($event) => dialog.value = false)
40782
40782
  }, {
40783
- default: withCtx(() => [..._cache[47] || (_cache[47] = [
40783
+ default: withCtx(() => [..._cache[48] || (_cache[48] = [
40784
40784
  createTextVNode("انصراف", -1)
40785
40785
  ])]),
40786
40786
  _: 1
@@ -40813,13 +40813,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40813
40813
  createVNode(VCard, null, {
40814
40814
  default: withCtx(() => [
40815
40815
  createVNode(VCardTitle, null, {
40816
- default: withCtx(() => [..._cache[48] || (_cache[48] = [
40816
+ default: withCtx(() => [..._cache[49] || (_cache[49] = [
40817
40817
  createTextVNode("حذف آیتم", -1)
40818
40818
  ])]),
40819
40819
  _: 1
40820
40820
  }),
40821
40821
  createVNode(VCardText, null, {
40822
- default: withCtx(() => [..._cache[49] || (_cache[49] = [
40822
+ default: withCtx(() => [..._cache[50] || (_cache[50] = [
40823
40823
  createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
40824
40824
  ])]),
40825
40825
  _: 1
@@ -40830,7 +40830,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40830
40830
  color: "grey",
40831
40831
  onClick: _cache[10] || (_cache[10] = ($event) => deleteDialog.value = false)
40832
40832
  }, {
40833
- default: withCtx(() => [..._cache[50] || (_cache[50] = [
40833
+ default: withCtx(() => [..._cache[51] || (_cache[51] = [
40834
40834
  createTextVNode("انصراف", -1)
40835
40835
  ])]),
40836
40836
  _: 1
@@ -40842,7 +40842,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40842
40842
  return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
40843
40843
  })
40844
40844
  }, {
40845
- default: withCtx(() => [..._cache[51] || (_cache[51] = [
40845
+ default: withCtx(() => [..._cache[52] || (_cache[52] = [
40846
40846
  createTextVNode("حذف", -1)
40847
40847
  ])]),
40848
40848
  _: 1
@@ -40870,28 +40870,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40870
40870
  color: "red",
40871
40871
  class: "me-2"
40872
40872
  }, {
40873
- default: withCtx(() => [..._cache[52] || (_cache[52] = [
40873
+ default: withCtx(() => [..._cache[53] || (_cache[53] = [
40874
40874
  createTextVNode("🗑️", -1)
40875
40875
  ])]),
40876
40876
  _: 1
40877
40877
  }),
40878
- _cache[53] || (_cache[53] = createTextVNode(" حذف گروهی ", -1))
40878
+ _cache[54] || (_cache[54] = createTextVNode(" حذف گروهی ", -1))
40879
40879
  ]),
40880
40880
  _: 1
40881
40881
  }),
40882
40882
  createVNode(VCardText, null, {
40883
40883
  default: withCtx(() => [
40884
40884
  createElementVNode("p", null, [
40885
- _cache[54] || (_cache[54] = createTextVNode(" آیا مایل به حذف ", -1)),
40885
+ _cache[55] || (_cache[55] = createTextVNode(" آیا مایل به حذف ", -1)),
40886
40886
  createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
40887
- _cache[55] || (_cache[55] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
40887
+ _cache[56] || (_cache[56] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
40888
40888
  ]),
40889
40889
  createVNode(VAlert, {
40890
40890
  type: "warning",
40891
40891
  variant: "tonal",
40892
40892
  class: "mt-3"
40893
40893
  }, {
40894
- default: withCtx(() => [..._cache[56] || (_cache[56] = [
40894
+ default: withCtx(() => [..._cache[57] || (_cache[57] = [
40895
40895
  createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
40896
40896
  ])]),
40897
40897
  _: 1
@@ -40906,7 +40906,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40906
40906
  color: "grey",
40907
40907
  onClick: _cache[13] || (_cache[13] = ($event) => groupDeleteDialog.value = false)
40908
40908
  }, {
40909
- default: withCtx(() => [..._cache[57] || (_cache[57] = [
40909
+ default: withCtx(() => [..._cache[58] || (_cache[58] = [
40910
40910
  createTextVNode("انصراف", -1)
40911
40911
  ])]),
40912
40912
  _: 1
@@ -40973,7 +40973,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
40973
40973
  createVNode(VCard, null, {
40974
40974
  default: withCtx(() => [
40975
40975
  createVNode(VCardTitle, null, {
40976
- default: withCtx(() => [..._cache[58] || (_cache[58] = [
40976
+ default: withCtx(() => [..._cache[59] || (_cache[59] = [
40977
40977
  createTextVNode("فیلتر", -1)
40978
40978
  ])]),
40979
40979
  _: 1
@@ -41093,7 +41093,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41093
41093
  variant: "tonal",
41094
41094
  onClick: resetFilter
41095
41095
  }, {
41096
- default: withCtx(() => [..._cache[59] || (_cache[59] = [
41096
+ default: withCtx(() => [..._cache[60] || (_cache[60] = [
41097
41097
  createTextVNode("حذف فیلترها", -1)
41098
41098
  ])]),
41099
41099
  _: 1
@@ -41102,7 +41102,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41102
41102
  color: "primary",
41103
41103
  onClick: applyFilter
41104
41104
  }, {
41105
- default: withCtx(() => [..._cache[60] || (_cache[60] = [
41105
+ default: withCtx(() => [..._cache[61] || (_cache[61] = [
41106
41106
  createTextVNode("اعمال فیلتر", -1)
41107
41107
  ])]),
41108
41108
  _: 1
@@ -41134,7 +41134,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41134
41134
  }, {
41135
41135
  default: withCtx(() => [
41136
41136
  createVNode(VIcon, null, {
41137
- default: withCtx(() => [..._cache[61] || (_cache[61] = [
41137
+ default: withCtx(() => [..._cache[62] || (_cache[62] = [
41138
41138
  createTextVNode("mdi-close", -1)
41139
41139
  ])]),
41140
41140
  _: 1
@@ -41167,12 +41167,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41167
41167
  }, {
41168
41168
  default: withCtx(() => [
41169
41169
  createVNode(VIcon, { start: "" }, {
41170
- default: withCtx(() => [..._cache[62] || (_cache[62] = [
41170
+ default: withCtx(() => [..._cache[63] || (_cache[63] = [
41171
41171
  createTextVNode("mdi-content-copy", -1)
41172
41172
  ])]),
41173
41173
  _: 1
41174
41174
  }),
41175
- _cache[63] || (_cache[63] = createTextVNode(" کپی متن ", -1))
41175
+ _cache[64] || (_cache[64] = createTextVNode(" کپی متن ", -1))
41176
41176
  ]),
41177
41177
  _: 1
41178
41178
  }),
@@ -41182,12 +41182,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41182
41182
  }, {
41183
41183
  default: withCtx(() => [
41184
41184
  createVNode(VIcon, { start: "" }, {
41185
- default: withCtx(() => [..._cache[64] || (_cache[64] = [
41185
+ default: withCtx(() => [..._cache[65] || (_cache[65] = [
41186
41186
  createTextVNode("mdi-content-copy", -1)
41187
41187
  ])]),
41188
41188
  _: 1
41189
41189
  }),
41190
- _cache[65] || (_cache[65] = createTextVNode(" کپی رکورد کامل ", -1))
41190
+ _cache[66] || (_cache[66] = createTextVNode(" کپی رکورد کامل ", -1))
41191
41191
  ]),
41192
41192
  _: 1
41193
41193
  }),
@@ -41195,7 +41195,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41195
41195
  color: "grey",
41196
41196
  onClick: _cache[21] || (_cache[21] = ($event) => textPreviewDialog.value = false)
41197
41197
  }, {
41198
- default: withCtx(() => [..._cache[66] || (_cache[66] = [
41198
+ default: withCtx(() => [..._cache[67] || (_cache[67] = [
41199
41199
  createTextVNode("بستن", -1)
41200
41200
  ])]),
41201
41201
  _: 1
@@ -41222,7 +41222,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
41222
41222
  variant: "text",
41223
41223
  onClick: _cache[23] || (_cache[23] = ($event) => snackbar.value = false)
41224
41224
  }, {
41225
- default: withCtx(() => [..._cache[67] || (_cache[67] = [
41225
+ default: withCtx(() => [..._cache[68] || (_cache[68] = [
41226
41226
  createTextVNode(" بستن ", -1)
41227
41227
  ])]),
41228
41228
  _: 1