@amirjalili1374/ui-kit 1.5.37 → 1.5.40
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
|
@@ -18236,22 +18236,22 @@ const _hoisted_1$9 = {
|
|
|
18236
18236
|
const _hoisted_2$5 = { class: "title-text" };
|
|
18237
18237
|
const _hoisted_3$3 = { class: "action-buttons" };
|
|
18238
18238
|
const _hoisted_4$1 = {
|
|
18239
|
-
key: 4,
|
|
18240
|
-
class: "selection-actions"
|
|
18241
|
-
};
|
|
18242
|
-
const _hoisted_5$1 = {
|
|
18243
18239
|
key: 0,
|
|
18244
18240
|
class: "selected-actions"
|
|
18245
18241
|
};
|
|
18246
|
-
const
|
|
18242
|
+
const _hoisted_5$1 = {
|
|
18247
18243
|
key: 0,
|
|
18248
18244
|
class: "me-1"
|
|
18249
18245
|
};
|
|
18250
|
-
const
|
|
18246
|
+
const _hoisted_6$1 = {
|
|
18251
18247
|
key: 0,
|
|
18252
18248
|
class: "me-1"
|
|
18253
18249
|
};
|
|
18254
|
-
const
|
|
18250
|
+
const _hoisted_7$1 = { class: "d-flex align-center mb-3" };
|
|
18251
|
+
const _hoisted_8$1 = {
|
|
18252
|
+
key: 2,
|
|
18253
|
+
class: "selection-actions mb-2"
|
|
18254
|
+
};
|
|
18255
18255
|
const _hoisted_9$1 = ["aria-busy", "aria-live"];
|
|
18256
18256
|
const _hoisted_10$1 = {
|
|
18257
18257
|
key: 0,
|
|
@@ -19458,34 +19458,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19458
19458
|
])]),
|
|
19459
19459
|
_: 1
|
|
19460
19460
|
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
19461
|
-
props.selectable && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
19462
|
-
createVNode(VChip, {
|
|
19463
|
-
color: "primary",
|
|
19464
|
-
class: "me-2"
|
|
19465
|
-
}, {
|
|
19466
|
-
default: withCtx(() => [
|
|
19467
|
-
createTextVNode(toDisplayString(selectedCount.value) + " آیتم انتخاب شده ", 1)
|
|
19468
|
-
]),
|
|
19469
|
-
_: 1
|
|
19470
|
-
}),
|
|
19471
|
-
createVNode(VBtn, {
|
|
19472
|
-
color: "error",
|
|
19473
|
-
size: "small",
|
|
19474
|
-
class: "me-2",
|
|
19475
|
-
onClick: clearSelection
|
|
19476
|
-
}, {
|
|
19477
|
-
default: withCtx(() => [..._cache[28] || (_cache[28] = [
|
|
19478
|
-
createTextVNode(" پاک کردن انتخاب ", -1)
|
|
19479
|
-
])]),
|
|
19480
|
-
_: 1
|
|
19481
|
-
})
|
|
19482
|
-
])) : createCommentVNode("", true),
|
|
19483
19461
|
createVNode(Transition, {
|
|
19484
19462
|
name: "slide-left",
|
|
19485
19463
|
appear: ""
|
|
19486
19464
|
}, {
|
|
19487
19465
|
default: withCtx(() => [
|
|
19488
|
-
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div",
|
|
19466
|
+
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
19489
19467
|
props.enableGroupDelete ? (openBlock(), createBlock(VBtn, {
|
|
19490
19468
|
key: 0,
|
|
19491
19469
|
color: "red",
|
|
@@ -19494,7 +19472,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19494
19472
|
onClick: openGroupDeleteDialog
|
|
19495
19473
|
}, {
|
|
19496
19474
|
default: withCtx(() => [
|
|
19497
|
-
_cache[
|
|
19475
|
+
_cache[28] || (_cache[28] = createElementVNode("span", { class: "me-1" }, "🗑️", -1)),
|
|
19498
19476
|
createTextVNode(" حذف گروهی (" + toDisplayString(selectedCount.value) + ") ", 1)
|
|
19499
19477
|
]),
|
|
19500
19478
|
_: 1
|
|
@@ -19511,7 +19489,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19511
19489
|
class: "me-2",
|
|
19512
19490
|
onClick: ($event) => openDialog(item)
|
|
19513
19491
|
}, {
|
|
19514
|
-
default: withCtx(() => [..._cache[
|
|
19492
|
+
default: withCtx(() => [..._cache[29] || (_cache[29] = [
|
|
19515
19493
|
createElementVNode("span", { class: "me-1" }, "✏️", -1),
|
|
19516
19494
|
createTextVNode(" ویرایش ", -1)
|
|
19517
19495
|
])]),
|
|
@@ -19524,7 +19502,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19524
19502
|
class: "me-2",
|
|
19525
19503
|
onClick: ($event) => openDeleteDialog(item)
|
|
19526
19504
|
}, {
|
|
19527
|
-
default: withCtx(() => [..._cache[
|
|
19505
|
+
default: withCtx(() => [..._cache[30] || (_cache[30] = [
|
|
19528
19506
|
createElementVNode("span", { class: "me-1" }, "🗑️", -1),
|
|
19529
19507
|
createTextVNode(" حذف ", -1)
|
|
19530
19508
|
])]),
|
|
@@ -19537,7 +19515,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19537
19515
|
class: "me-2",
|
|
19538
19516
|
onClick: ($event) => goToRoute("view", item)
|
|
19539
19517
|
}, {
|
|
19540
|
-
default: withCtx(() => [..._cache[
|
|
19518
|
+
default: withCtx(() => [..._cache[31] || (_cache[31] = [
|
|
19541
19519
|
createElementVNode("span", { class: "me-1" }, "👁️", -1),
|
|
19542
19520
|
createTextVNode(" نمایش ", -1)
|
|
19543
19521
|
])]),
|
|
@@ -19552,7 +19530,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19552
19530
|
onClick: ($event) => goToRoute(routeKey, item)
|
|
19553
19531
|
}, {
|
|
19554
19532
|
default: withCtx(() => [
|
|
19555
|
-
_cache[
|
|
19533
|
+
_cache[32] || (_cache[32] = createElementVNode("span", { class: "me-1" }, "➡️", -1)),
|
|
19556
19534
|
createTextVNode(" " + toDisplayString(String(routeKey)), 1)
|
|
19557
19535
|
]),
|
|
19558
19536
|
_: 2
|
|
@@ -19566,7 +19544,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19566
19544
|
onClick: ($event) => download(key2, item)
|
|
19567
19545
|
}, {
|
|
19568
19546
|
default: withCtx(() => [
|
|
19569
|
-
_cache[
|
|
19547
|
+
_cache[33] || (_cache[33] = createElementVNode("span", { class: "me-1" }, "⬇️", -1)),
|
|
19570
19548
|
createTextVNode(" " + toDisplayString(key2), 1)
|
|
19571
19549
|
]),
|
|
19572
19550
|
_: 2
|
|
@@ -19600,7 +19578,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19600
19578
|
onClick: ($event) => button.onClick(item)
|
|
19601
19579
|
}, {
|
|
19602
19580
|
default: withCtx(() => [
|
|
19603
|
-
button.icon ? (openBlock(), createElementBlock("span",
|
|
19581
|
+
button.icon ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(button.icon), 1)) : createCommentVNode("", true),
|
|
19604
19582
|
createTextVNode(" " + toDisplayString(button.label), 1)
|
|
19605
19583
|
]),
|
|
19606
19584
|
_: 2
|
|
@@ -19614,7 +19592,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19614
19592
|
onClick: ($event) => button.onClick(item)
|
|
19615
19593
|
}, {
|
|
19616
19594
|
default: withCtx(() => [
|
|
19617
|
-
button.icon ? (openBlock(), createElementBlock("span",
|
|
19595
|
+
button.icon ? (openBlock(), createElementBlock("span", _hoisted_6$1, toDisplayString(button.icon), 1)) : createCommentVNode("", true),
|
|
19618
19596
|
createTextVNode(" " + toDisplayString(button.label), 1)
|
|
19619
19597
|
]),
|
|
19620
19598
|
_: 2
|
|
@@ -19633,8 +19611,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19633
19611
|
elevation: "1"
|
|
19634
19612
|
}, {
|
|
19635
19613
|
default: withCtx(() => [
|
|
19636
|
-
createElementVNode("div",
|
|
19637
|
-
_cache[
|
|
19614
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
19615
|
+
_cache[35] || (_cache[35] = createElementVNode("span", { class: "text-subtitle-3 font-weight-medium" }, "فیلترها", -1)),
|
|
19638
19616
|
createVNode(VSpacer),
|
|
19639
19617
|
hasActiveInlineFilters.value ? (openBlock(), createBlock(VBtn, {
|
|
19640
19618
|
key: 0,
|
|
@@ -19643,7 +19621,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19643
19621
|
color: "error",
|
|
19644
19622
|
onClick: resetFilter
|
|
19645
19623
|
}, {
|
|
19646
|
-
default: withCtx(() => [..._cache[
|
|
19624
|
+
default: withCtx(() => [..._cache[34] || (_cache[34] = [
|
|
19647
19625
|
createTextVNode(" حذف فیلترها ", -1)
|
|
19648
19626
|
])]),
|
|
19649
19627
|
_: 1
|
|
@@ -19766,6 +19744,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
19766
19744
|
]),
|
|
19767
19745
|
_: 3
|
|
19768
19746
|
})) : createCommentVNode("", true),
|
|
19747
|
+
props.selectable && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
19748
|
+
createVNode(VChip, {
|
|
19749
|
+
color: "primary",
|
|
19750
|
+
class: "me-2"
|
|
19751
|
+
}, {
|
|
19752
|
+
default: withCtx(() => [
|
|
19753
|
+
createTextVNode(toDisplayString(selectedCount.value) + " آیتم انتخاب شده ", 1)
|
|
19754
|
+
]),
|
|
19755
|
+
_: 1
|
|
19756
|
+
}),
|
|
19757
|
+
createVNode(VBtn, {
|
|
19758
|
+
color: "error",
|
|
19759
|
+
size: "small",
|
|
19760
|
+
class: "me-2",
|
|
19761
|
+
onClick: clearSelection
|
|
19762
|
+
}, {
|
|
19763
|
+
default: withCtx(() => [..._cache[36] || (_cache[36] = [
|
|
19764
|
+
createTextVNode(" پاک کردن انتخاب ", -1)
|
|
19765
|
+
])]),
|
|
19766
|
+
_: 1
|
|
19767
|
+
})
|
|
19768
|
+
])) : createCommentVNode("", true),
|
|
19769
19769
|
createElementVNode("div", mergeProps({ class: "data-table-container" }, _ctx.$attrs, {
|
|
19770
19770
|
role: "region",
|
|
19771
19771
|
"aria-busy": loading.value || isLoadingMore.value,
|
|
@@ -20884,7 +20884,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
20884
20884
|
_: 1
|
|
20885
20885
|
}, 8, ["modelValue"]),
|
|
20886
20886
|
snackbar.value ? (openBlock(), createBlock(VSnackbar, {
|
|
20887
|
-
key:
|
|
20887
|
+
key: 3,
|
|
20888
20888
|
modelValue: snackbar.value,
|
|
20889
20889
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => snackbar.value = $event),
|
|
20890
20890
|
timeout: 3e3,
|