@amirjalili1374/ui-kit 1.3.23 → 1.3.25
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 +6 -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 +135 -53
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -16950,21 +16950,31 @@ const _hoisted_12$1 = ["onClick", "onKeydown", "aria-expanded", "aria-controls",
|
|
|
16950
16950
|
const _hoisted_13$1 = { class: "group-label" };
|
|
16951
16951
|
const _hoisted_14$1 = ["id", "aria-labelledby"];
|
|
16952
16952
|
const _hoisted_15$1 = ["tabindex", "onKeydown", "onClick"];
|
|
16953
|
-
const _hoisted_16$1 =
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
const
|
|
16953
|
+
const _hoisted_16$1 = {
|
|
16954
|
+
key: 2,
|
|
16955
|
+
class: "d-flex align-center",
|
|
16956
|
+
style: { "gap": "4px" }
|
|
16957
|
+
};
|
|
16958
|
+
const _hoisted_17 = ["onClick"];
|
|
16959
|
+
const _hoisted_18 = ["onClick"];
|
|
16960
|
+
const _hoisted_19 = ["tabindex", "onKeydown", "onClick"];
|
|
16961
|
+
const _hoisted_20 = {
|
|
16962
|
+
key: 2,
|
|
16963
|
+
class: "d-flex align-center",
|
|
16964
|
+
style: { "gap": "4px" }
|
|
16965
|
+
};
|
|
16966
|
+
const _hoisted_21 = ["onClick"];
|
|
16967
|
+
const _hoisted_22 = ["onClick"];
|
|
16968
|
+
const _hoisted_23 = {
|
|
16959
16969
|
key: 2,
|
|
16960
16970
|
class: "d-flex justify-center align-center pa-4"
|
|
16961
16971
|
};
|
|
16962
|
-
const
|
|
16972
|
+
const _hoisted_24 = {
|
|
16963
16973
|
key: 2,
|
|
16964
16974
|
class: "pagination-wrapper"
|
|
16965
16975
|
};
|
|
16966
|
-
const
|
|
16967
|
-
const
|
|
16976
|
+
const _hoisted_25 = { class: "d-flex justify-space-between align-center pa-4" };
|
|
16977
|
+
const _hoisted_26 = { class: "text-subtitle-2" };
|
|
16968
16978
|
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
16969
16979
|
...{ inheritAttrs: false },
|
|
16970
16980
|
__name: "CustomDataTable",
|
|
@@ -16999,6 +17009,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
16999
17009
|
dateWithTimezone: { type: Boolean, default: false },
|
|
17000
17010
|
bulkMode: { type: Boolean, default: false },
|
|
17001
17011
|
axiosInstance: {},
|
|
17012
|
+
enableTextTruncation: { type: Boolean, default: false },
|
|
17002
17013
|
maxTextLength: { default: 50 }
|
|
17003
17014
|
},
|
|
17004
17015
|
emits: ["update:selectedItems", "selection-change"],
|
|
@@ -17266,6 +17277,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
17266
17277
|
const resolveHeaderKey = (header) => header.key;
|
|
17267
17278
|
const resolveHeaderTitle = (header) => header.title;
|
|
17268
17279
|
const isHeaderDisabled = (header) => header.editable === false;
|
|
17280
|
+
const isTextareaHeader = (header) => header.textarea === true;
|
|
17269
17281
|
const getUniqueValue = (item) => {
|
|
17270
17282
|
if (typeof props.uniqueKey === "function") {
|
|
17271
17283
|
return props.uniqueKey(item);
|
|
@@ -17805,9 +17817,22 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
17805
17817
|
if (textStr.length <= maxLength) return textStr;
|
|
17806
17818
|
return textStr.substring(0, maxLength) + "...";
|
|
17807
17819
|
};
|
|
17808
|
-
const shouldTruncate = (text2) => {
|
|
17809
|
-
if (text2 === null || text2 === void 0) return false;
|
|
17810
|
-
|
|
17820
|
+
const shouldTruncate = (text2, header) => {
|
|
17821
|
+
if (text2 === null || text2 === void 0 || !header) return false;
|
|
17822
|
+
if (header.truncate === false) return false;
|
|
17823
|
+
if (props.enableTextTruncation && (header.truncate === true || header.truncate === void 0)) {
|
|
17824
|
+
return String(text2).length > props.maxTextLength;
|
|
17825
|
+
}
|
|
17826
|
+
if (header.truncate === true) {
|
|
17827
|
+
return String(text2).length > props.maxTextLength;
|
|
17828
|
+
}
|
|
17829
|
+
return false;
|
|
17830
|
+
};
|
|
17831
|
+
const getHeaderForColumn = (columnKey) => {
|
|
17832
|
+
return props.headers.find((h2) => h2.key === columnKey) || null;
|
|
17833
|
+
};
|
|
17834
|
+
const shouldShowCopyButton = (header) => {
|
|
17835
|
+
return (header == null ? void 0 : header.showCopyButton) === true;
|
|
17811
17836
|
};
|
|
17812
17837
|
const openTextPreview = (text2, columnTitle, item) => {
|
|
17813
17838
|
previewText.value = text2 === null || text2 === void 0 ? "" : String(text2);
|
|
@@ -18331,14 +18356,37 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18331
18356
|
_: 2
|
|
18332
18357
|
}, 1032, ["color", "onClick"]);
|
|
18333
18358
|
}), 128))
|
|
18334
|
-
], 64)) : (openBlock(), createElementBlock(
|
|
18335
|
-
shouldTruncate(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)) ? (openBlock(), createElementBlock("span", {
|
|
18359
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_16$1, [
|
|
18360
|
+
shouldTruncate(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), getHeaderForColumn(column.key || "")) ? (openBlock(), createElementBlock("span", {
|
|
18336
18361
|
key: 0,
|
|
18337
18362
|
class: "truncated-text",
|
|
18338
18363
|
style: { cursor: "pointer", color: "rgb(var(--v-theme-primary))", textDecoration: "underline" },
|
|
18339
18364
|
onClick: withModifiers(($event) => openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"])
|
|
18340
|
-
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9,
|
|
18341
|
-
|
|
18365
|
+
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9, _hoisted_17)) : (openBlock(), createElementBlock("span", {
|
|
18366
|
+
key: 1,
|
|
18367
|
+
onClick: withModifiers(($event) => shouldShowCopyButton(getHeaderForColumn(column.key || "")) && openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"]),
|
|
18368
|
+
style: normalizeStyle({ cursor: shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? "pointer" : "default" })
|
|
18369
|
+
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13, _hoisted_18)),
|
|
18370
|
+
shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? (openBlock(), createBlock(VBtn, {
|
|
18371
|
+
key: 2,
|
|
18372
|
+
icon: "",
|
|
18373
|
+
size: "x-small",
|
|
18374
|
+
variant: "text",
|
|
18375
|
+
color: "primary",
|
|
18376
|
+
onClick: withModifiers(($event) => openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"]),
|
|
18377
|
+
style: { "min-width": "24px", "width": "24px", "height": "24px" }
|
|
18378
|
+
}, {
|
|
18379
|
+
default: withCtx(() => [
|
|
18380
|
+
createVNode(VIcon, { size: "16" }, {
|
|
18381
|
+
default: withCtx(() => [..._cache[38] || (_cache[38] = [
|
|
18382
|
+
createTextVNode("mdi-content-copy", -1)
|
|
18383
|
+
])]),
|
|
18384
|
+
_: 1
|
|
18385
|
+
})
|
|
18386
|
+
]),
|
|
18387
|
+
_: 1
|
|
18388
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
18389
|
+
]))
|
|
18342
18390
|
], 4);
|
|
18343
18391
|
}), 128))
|
|
18344
18392
|
], 44, _hoisted_15$1)
|
|
@@ -18421,7 +18469,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18421
18469
|
class: "mr-2",
|
|
18422
18470
|
onClick: ($event) => openDialog(item)
|
|
18423
18471
|
}, {
|
|
18424
|
-
default: withCtx(() => [..._cache[
|
|
18472
|
+
default: withCtx(() => [..._cache[39] || (_cache[39] = [
|
|
18425
18473
|
createTextVNode(" ویرایش ✏️ ", -1)
|
|
18426
18474
|
])]),
|
|
18427
18475
|
_: 1
|
|
@@ -18433,7 +18481,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18433
18481
|
class: "mr-2",
|
|
18434
18482
|
onClick: ($event) => openDeleteDialog(item)
|
|
18435
18483
|
}, {
|
|
18436
|
-
default: withCtx(() => [..._cache[
|
|
18484
|
+
default: withCtx(() => [..._cache[40] || (_cache[40] = [
|
|
18437
18485
|
createTextVNode("حذف ❌ ", -1)
|
|
18438
18486
|
])]),
|
|
18439
18487
|
_: 1
|
|
@@ -18445,7 +18493,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18445
18493
|
class: "mr-2",
|
|
18446
18494
|
onClick: ($event) => goToRoute("view", item)
|
|
18447
18495
|
}, {
|
|
18448
|
-
default: withCtx(() => [..._cache[
|
|
18496
|
+
default: withCtx(() => [..._cache[41] || (_cache[41] = [
|
|
18449
18497
|
createTextVNode("🔍 نمایش ", -1)
|
|
18450
18498
|
])]),
|
|
18451
18499
|
_: 1
|
|
@@ -18523,30 +18571,53 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18523
18571
|
_: 2
|
|
18524
18572
|
}, 1032, ["color", "onClick"]);
|
|
18525
18573
|
}), 128))
|
|
18526
|
-
], 64)) : (openBlock(), createElementBlock(
|
|
18527
|
-
shouldTruncate(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)) ? (openBlock(), createElementBlock("span", {
|
|
18574
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
18575
|
+
shouldTruncate(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), getHeaderForColumn(column.key || "")) ? (openBlock(), createElementBlock("span", {
|
|
18528
18576
|
key: 0,
|
|
18529
18577
|
class: "truncated-text",
|
|
18530
18578
|
style: { cursor: "pointer", color: "rgb(var(--v-theme-primary))", textDecoration: "underline" },
|
|
18531
18579
|
onClick: withModifiers(($event) => openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"])
|
|
18532
|
-
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9,
|
|
18533
|
-
|
|
18580
|
+
}, toDisplayString(truncateText(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item))), 9, _hoisted_21)) : (openBlock(), createElementBlock("span", {
|
|
18581
|
+
key: 1,
|
|
18582
|
+
onClick: withModifiers(($event) => shouldShowCopyButton(getHeaderForColumn(column.key || "")) && openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"]),
|
|
18583
|
+
style: normalizeStyle({ cursor: shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? "pointer" : "default" })
|
|
18584
|
+
}, toDisplayString(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item)), 13, _hoisted_22)),
|
|
18585
|
+
shouldShowCopyButton(getHeaderForColumn(column.key || "")) ? (openBlock(), createBlock(VBtn, {
|
|
18586
|
+
key: 2,
|
|
18587
|
+
icon: "",
|
|
18588
|
+
size: "x-small",
|
|
18589
|
+
variant: "text",
|
|
18590
|
+
color: "primary",
|
|
18591
|
+
onClick: withModifiers(($event) => openTextPreview(getTranslatedValue(getNestedValue2(item, column.key || ""), column, item), column.title || column.key || "", item), ["stop"]),
|
|
18592
|
+
style: { "min-width": "24px", "width": "24px", "height": "24px" }
|
|
18593
|
+
}, {
|
|
18594
|
+
default: withCtx(() => [
|
|
18595
|
+
createVNode(VIcon, { size: "16" }, {
|
|
18596
|
+
default: withCtx(() => [..._cache[42] || (_cache[42] = [
|
|
18597
|
+
createTextVNode("mdi-content-copy", -1)
|
|
18598
|
+
])]),
|
|
18599
|
+
_: 1
|
|
18600
|
+
})
|
|
18601
|
+
]),
|
|
18602
|
+
_: 1
|
|
18603
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
18604
|
+
]))
|
|
18534
18605
|
], 4);
|
|
18535
18606
|
}), 128))
|
|
18536
|
-
], 44,
|
|
18607
|
+
], 44, _hoisted_19)
|
|
18537
18608
|
]),
|
|
18538
18609
|
_: 1
|
|
18539
18610
|
}, 8, ["headers", "items", "items-per-page", "height"])),
|
|
18540
|
-
isLoadingMore.value ? (openBlock(), createElementBlock("div",
|
|
18611
|
+
isLoadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
18541
18612
|
createVNode(VProgressCircular, {
|
|
18542
18613
|
indeterminate: "",
|
|
18543
18614
|
color: "primary"
|
|
18544
18615
|
})
|
|
18545
18616
|
])) : createCommentVNode("", true)
|
|
18546
18617
|
], 64)),
|
|
18547
|
-
props.showPagination ? (openBlock(), createElementBlock("div",
|
|
18548
|
-
createElementVNode("div",
|
|
18549
|
-
createElementVNode("div",
|
|
18618
|
+
props.showPagination ? (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
18619
|
+
createElementVNode("div", _hoisted_25, [
|
|
18620
|
+
createElementVNode("div", _hoisted_26, " نمایش " + toDisplayString((currentPage.value - 1) * itemsPerPage.value + 1) + " تا " + toDisplayString(Math.min(currentPage.value * itemsPerPage.value, totalSize.value)) + " از " + toDisplayString(totalSize.value) + " رکورد ", 1),
|
|
18550
18621
|
createVNode(VPagination, {
|
|
18551
18622
|
modelValue: currentPage.value,
|
|
18552
18623
|
"onUpdate:modelValue": [
|
|
@@ -18587,8 +18658,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18587
18658
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
|
|
18588
18659
|
return openBlock(), createBlock(VCol, {
|
|
18589
18660
|
key: resolveHeaderKey(header),
|
|
18590
|
-
cols: "
|
|
18591
|
-
md: "4
|
|
18661
|
+
cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
|
|
18662
|
+
md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
|
|
18592
18663
|
}, {
|
|
18593
18664
|
default: withCtx(() => [
|
|
18594
18665
|
!header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -18619,19 +18690,30 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18619
18690
|
"onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
|
|
18620
18691
|
label: resolveHeaderTitle(header),
|
|
18621
18692
|
disabled: isHeaderDisabled(header)
|
|
18622
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : (openBlock(), createBlock(
|
|
18693
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
|
|
18623
18694
|
key: 3,
|
|
18624
18695
|
modelValue: formModel.value[resolveHeaderKey(header)],
|
|
18625
18696
|
"onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
|
|
18626
18697
|
label: resolveHeaderTitle(header),
|
|
18627
18698
|
variant: "outlined",
|
|
18628
18699
|
disabled: isHeaderDisabled(header),
|
|
18629
|
-
|
|
18630
|
-
|
|
18700
|
+
dir: header.dir,
|
|
18701
|
+
"auto-grow": "",
|
|
18702
|
+
rows: "3"
|
|
18703
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : (openBlock(), createBlock(VTextField, {
|
|
18704
|
+
key: 4,
|
|
18705
|
+
modelValue: formModel.value[resolveHeaderKey(header)],
|
|
18706
|
+
"onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
|
|
18707
|
+
label: resolveHeaderTitle(header),
|
|
18708
|
+
variant: "outlined",
|
|
18709
|
+
disabled: isHeaderDisabled(header),
|
|
18710
|
+
type: getFieldInputType(header),
|
|
18711
|
+
dir: header.dir
|
|
18712
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
|
|
18631
18713
|
], 64)) : createCommentVNode("", true)
|
|
18632
18714
|
]),
|
|
18633
18715
|
_: 2
|
|
18634
|
-
},
|
|
18716
|
+
}, 1032, ["cols", "md"]);
|
|
18635
18717
|
}), 128))
|
|
18636
18718
|
]),
|
|
18637
18719
|
_: 1
|
|
@@ -18649,7 +18731,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18649
18731
|
color: "error",
|
|
18650
18732
|
onClick: _cache[5] || (_cache[5] = ($event) => dialog.value = false)
|
|
18651
18733
|
}, {
|
|
18652
|
-
default: withCtx(() => [..._cache[
|
|
18734
|
+
default: withCtx(() => [..._cache[43] || (_cache[43] = [
|
|
18653
18735
|
createTextVNode("انصراف", -1)
|
|
18654
18736
|
])]),
|
|
18655
18737
|
_: 1
|
|
@@ -18682,13 +18764,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18682
18764
|
createVNode(VCard, null, {
|
|
18683
18765
|
default: withCtx(() => [
|
|
18684
18766
|
createVNode(VCardTitle, null, {
|
|
18685
|
-
default: withCtx(() => [..._cache[
|
|
18767
|
+
default: withCtx(() => [..._cache[44] || (_cache[44] = [
|
|
18686
18768
|
createTextVNode("حذف آیتم", -1)
|
|
18687
18769
|
])]),
|
|
18688
18770
|
_: 1
|
|
18689
18771
|
}),
|
|
18690
18772
|
createVNode(VCardText, null, {
|
|
18691
|
-
default: withCtx(() => [..._cache[
|
|
18773
|
+
default: withCtx(() => [..._cache[45] || (_cache[45] = [
|
|
18692
18774
|
createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
|
|
18693
18775
|
])]),
|
|
18694
18776
|
_: 1
|
|
@@ -18699,7 +18781,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18699
18781
|
color: "grey",
|
|
18700
18782
|
onClick: _cache[7] || (_cache[7] = ($event) => deleteDialog.value = false)
|
|
18701
18783
|
}, {
|
|
18702
|
-
default: withCtx(() => [..._cache[
|
|
18784
|
+
default: withCtx(() => [..._cache[46] || (_cache[46] = [
|
|
18703
18785
|
createTextVNode("انصراف", -1)
|
|
18704
18786
|
])]),
|
|
18705
18787
|
_: 1
|
|
@@ -18711,7 +18793,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18711
18793
|
return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
|
|
18712
18794
|
})
|
|
18713
18795
|
}, {
|
|
18714
|
-
default: withCtx(() => [..._cache[
|
|
18796
|
+
default: withCtx(() => [..._cache[47] || (_cache[47] = [
|
|
18715
18797
|
createTextVNode("حذف", -1)
|
|
18716
18798
|
])]),
|
|
18717
18799
|
_: 1
|
|
@@ -18739,28 +18821,28 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18739
18821
|
color: "red",
|
|
18740
18822
|
class: "me-2"
|
|
18741
18823
|
}, {
|
|
18742
|
-
default: withCtx(() => [..._cache[
|
|
18824
|
+
default: withCtx(() => [..._cache[48] || (_cache[48] = [
|
|
18743
18825
|
createTextVNode("🗑️", -1)
|
|
18744
18826
|
])]),
|
|
18745
18827
|
_: 1
|
|
18746
18828
|
}),
|
|
18747
|
-
_cache[
|
|
18829
|
+
_cache[49] || (_cache[49] = createTextVNode(" حذف گروهی ", -1))
|
|
18748
18830
|
]),
|
|
18749
18831
|
_: 1
|
|
18750
18832
|
}),
|
|
18751
18833
|
createVNode(VCardText, null, {
|
|
18752
18834
|
default: withCtx(() => [
|
|
18753
18835
|
createElementVNode("p", null, [
|
|
18754
|
-
_cache[
|
|
18836
|
+
_cache[50] || (_cache[50] = createTextVNode(" آیا مایل به حذف ", -1)),
|
|
18755
18837
|
createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
|
|
18756
|
-
_cache[
|
|
18838
|
+
_cache[51] || (_cache[51] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
|
|
18757
18839
|
]),
|
|
18758
18840
|
createVNode(VAlert, {
|
|
18759
18841
|
type: "warning",
|
|
18760
18842
|
variant: "tonal",
|
|
18761
18843
|
class: "mt-3"
|
|
18762
18844
|
}, {
|
|
18763
|
-
default: withCtx(() => [..._cache[
|
|
18845
|
+
default: withCtx(() => [..._cache[52] || (_cache[52] = [
|
|
18764
18846
|
createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
|
|
18765
18847
|
])]),
|
|
18766
18848
|
_: 1
|
|
@@ -18775,7 +18857,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18775
18857
|
color: "grey",
|
|
18776
18858
|
onClick: _cache[10] || (_cache[10] = ($event) => groupDeleteDialog.value = false)
|
|
18777
18859
|
}, {
|
|
18778
|
-
default: withCtx(() => [..._cache[
|
|
18860
|
+
default: withCtx(() => [..._cache[53] || (_cache[53] = [
|
|
18779
18861
|
createTextVNode("انصراف", -1)
|
|
18780
18862
|
])]),
|
|
18781
18863
|
_: 1
|
|
@@ -18841,7 +18923,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18841
18923
|
createVNode(VCard, null, {
|
|
18842
18924
|
default: withCtx(() => [
|
|
18843
18925
|
createVNode(VCardTitle, null, {
|
|
18844
|
-
default: withCtx(() => [..._cache[
|
|
18926
|
+
default: withCtx(() => [..._cache[54] || (_cache[54] = [
|
|
18845
18927
|
createTextVNode("فیلتر", -1)
|
|
18846
18928
|
])]),
|
|
18847
18929
|
_: 1
|
|
@@ -18884,7 +18966,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18884
18966
|
}, {
|
|
18885
18967
|
default: withCtx(() => [
|
|
18886
18968
|
createVNode(VIcon, null, {
|
|
18887
|
-
default: withCtx(() => [..._cache[
|
|
18969
|
+
default: withCtx(() => [..._cache[55] || (_cache[55] = [
|
|
18888
18970
|
createTextVNode("mdi-close", -1)
|
|
18889
18971
|
])]),
|
|
18890
18972
|
_: 1
|
|
@@ -18917,12 +18999,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18917
18999
|
}, {
|
|
18918
19000
|
default: withCtx(() => [
|
|
18919
19001
|
createVNode(VIcon, { start: "" }, {
|
|
18920
|
-
default: withCtx(() => [..._cache[
|
|
19002
|
+
default: withCtx(() => [..._cache[56] || (_cache[56] = [
|
|
18921
19003
|
createTextVNode("mdi-content-copy", -1)
|
|
18922
19004
|
])]),
|
|
18923
19005
|
_: 1
|
|
18924
19006
|
}),
|
|
18925
|
-
_cache[
|
|
19007
|
+
_cache[57] || (_cache[57] = createTextVNode(" کپی متن ", -1))
|
|
18926
19008
|
]),
|
|
18927
19009
|
_: 1
|
|
18928
19010
|
}),
|
|
@@ -18932,12 +19014,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18932
19014
|
}, {
|
|
18933
19015
|
default: withCtx(() => [
|
|
18934
19016
|
createVNode(VIcon, { start: "" }, {
|
|
18935
|
-
default: withCtx(() => [..._cache[
|
|
19017
|
+
default: withCtx(() => [..._cache[58] || (_cache[58] = [
|
|
18936
19018
|
createTextVNode("mdi-content-copy", -1)
|
|
18937
19019
|
])]),
|
|
18938
19020
|
_: 1
|
|
18939
19021
|
}),
|
|
18940
|
-
_cache[
|
|
19022
|
+
_cache[59] || (_cache[59] = createTextVNode(" کپی رکورد کامل ", -1))
|
|
18941
19023
|
]),
|
|
18942
19024
|
_: 1
|
|
18943
19025
|
}),
|
|
@@ -18945,7 +19027,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18945
19027
|
color: "grey",
|
|
18946
19028
|
onClick: _cache[19] || (_cache[19] = ($event) => textPreviewDialog.value = false)
|
|
18947
19029
|
}, {
|
|
18948
|
-
default: withCtx(() => [..._cache[
|
|
19030
|
+
default: withCtx(() => [..._cache[60] || (_cache[60] = [
|
|
18949
19031
|
createTextVNode("بستن", -1)
|
|
18950
19032
|
])]),
|
|
18951
19033
|
_: 1
|
|
@@ -18972,7 +19054,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
18972
19054
|
variant: "text",
|
|
18973
19055
|
onClick: _cache[21] || (_cache[21] = ($event) => snackbar.value = false)
|
|
18974
19056
|
}, {
|
|
18975
|
-
default: withCtx(() => [..._cache[
|
|
19057
|
+
default: withCtx(() => [..._cache[61] || (_cache[61] = [
|
|
18976
19058
|
createTextVNode(" بستن ", -1)
|
|
18977
19059
|
])]),
|
|
18978
19060
|
_: 1
|