@amirjalili1374/ui-kit 1.4.20 → 1.4.21

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
@@ -12697,7 +12697,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent$1({
12697
12697
  "return-object": __props.returnObject,
12698
12698
  chips: __props.chips,
12699
12699
  style: __props.maxWidth ? { maxWidth: typeof __props.maxWidth === "number" ? `${__props.maxWidth}px` : __props.maxWidth } : void 0
12700
- }, _ctx.$attrs, { variant: "outlined" }), {
12700
+ }, _ctx.$attrs, {
12701
+ variant: "outlined",
12702
+ "menu-props": { attach: "body", zIndex: 1e4 }
12703
+ }), {
12701
12704
  item: withCtx(({ props: itemProps, item }) => [
12702
12705
  isMainGroup(item.raw ?? item) ? (openBlock(), createBlock(VTooltip, {
12703
12706
  key: 0,
@@ -12816,7 +12819,7 @@ const _export_sfc$1 = (sfc, props) => {
12816
12819
  }
12817
12820
  return target;
12818
12821
  };
12819
- const CustomAutocomplete = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-4c17f7bd"]]);
12822
+ const CustomAutocomplete = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-07fe671e"]]);
12820
12823
  const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
12821
12824
  __name: "MoneyInput",
12822
12825
  props: {
@@ -17082,33 +17085,6 @@ const _hoisted_24 = {
17082
17085
  };
17083
17086
  const _hoisted_25 = { class: "d-flex justify-space-between align-center pa-4" };
17084
17087
  const _hoisted_26 = { class: "text-subtitle-2" };
17085
- const _hoisted_27 = { class: "dialog-container" };
17086
- const _hoisted_28 = { class: "dialog-header" };
17087
- const _hoisted_29 = { class: "dialog-title" };
17088
- const _hoisted_30 = { class: "dialog-content" };
17089
- const _hoisted_31 = { class: "dialog-actions" };
17090
- const _hoisted_32 = { class: "dialog-container" };
17091
- const _hoisted_33 = { class: "dialog-actions" };
17092
- const _hoisted_34 = { class: "dialog-container" };
17093
- const _hoisted_35 = { class: "dialog-header" };
17094
- const _hoisted_36 = { class: "dialog-title" };
17095
- const _hoisted_37 = { class: "dialog-content" };
17096
- const _hoisted_38 = { class: "dialog-actions" };
17097
- const _hoisted_39 = { class: "dialog-container" };
17098
- const _hoisted_40 = { class: "dialog-header" };
17099
- const _hoisted_41 = { class: "dialog-title" };
17100
- const _hoisted_42 = { class: "dialog-content" };
17101
- const _hoisted_43 = { class: "dialog-container" };
17102
- const _hoisted_44 = { class: "dialog-content" };
17103
- const _hoisted_45 = {
17104
- key: 0,
17105
- class: "dialog-actions"
17106
- };
17107
- const _hoisted_46 = { class: "dialog-container" };
17108
- const _hoisted_47 = { class: "dialog-header" };
17109
- const _hoisted_48 = { class: "dialog-title d-flex justify-space-between align-center" };
17110
- const _hoisted_49 = { class: "dialog-content" };
17111
- const _hoisted_50 = { class: "dialog-actions" };
17112
17088
  const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
17113
17089
  ...{ inheritAttrs: false },
17114
17090
  __name: "CustomDataTable",
@@ -18915,121 +18891,134 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
18915
18891
  "max-width": "1400"
18916
18892
  }, {
18917
18893
  default: withCtx(() => [
18918
- createElementVNode("div", _hoisted_27, [
18919
- createElementVNode("div", _hoisted_28, [
18920
- createElementVNode("h3", _hoisted_29, toDisplayString(isEditing.value ? "ویرایش" : "ایجاد"), 1)
18921
- ]),
18922
- createElementVNode("div", _hoisted_30, [
18923
- createVNode(VContainer, null, {
18894
+ createVNode(VCard, null, {
18895
+ default: withCtx(() => [
18896
+ createVNode(VCardTitle, null, {
18924
18897
  default: withCtx(() => [
18925
- props.formComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.formComponent), {
18926
- key: 0,
18927
- modelValue: formModel.value,
18928
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formModel.value = $event)
18929
- }, null, 8, ["modelValue"])) : (openBlock(), createBlock(VRow, { key: 1 }, {
18898
+ createTextVNode(toDisplayString(isEditing.value ? "ویرایش" : "ایجاد"), 1)
18899
+ ]),
18900
+ _: 1
18901
+ }),
18902
+ createVNode(VCardText, null, {
18903
+ default: withCtx(() => [
18904
+ createVNode(VContainer, null, {
18930
18905
  default: withCtx(() => [
18931
- (openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
18932
- return openBlock(), createBlock(VCol, {
18933
- key: resolveHeaderKey(header),
18934
- cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
18935
- md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
18936
- }, {
18937
- default: withCtx(() => [
18938
- !header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18939
- isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
18940
- key: 0,
18941
- modelValue: formModel.value[resolveHeaderKey(header)],
18942
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18943
- label: resolveHeaderTitle(header),
18944
- disabled: isHeaderDisabled(header)
18945
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
18946
- key: 1,
18947
- modelValue: formModel.value[resolveHeaderKey(header)],
18948
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18949
- label: resolveHeaderTitle(header),
18950
- items: resolveAutocompleteItems(header, formModel.value.value),
18951
- "item-title": resolveAutocompleteItemTitle(header),
18952
- "item-value": resolveAutocompleteItemValue(header),
18953
- "return-object": resolveAutocompleteReturnObject(header),
18954
- multiple: resolveAutocompleteMultiple(header),
18955
- chips: resolveAutocompleteMultiple(header),
18956
- "closable-chips": resolveAutocompleteMultiple(header),
18957
- disabled: isHeaderDisabled(header),
18958
- clearable: "",
18959
- variant: "outlined"
18960
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
18961
- key: 2,
18962
- modelValue: formModel.value[resolveHeaderKey(header)],
18963
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18964
- label: resolveHeaderTitle(header),
18965
- disabled: isHeaderDisabled(header)
18966
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
18967
- key: 3,
18968
- modelValue: formModel.value[resolveHeaderKey(header)],
18969
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18970
- label: resolveHeaderTitle(header),
18971
- variant: "outlined",
18972
- disabled: isHeaderDisabled(header),
18973
- dir: header.dir,
18974
- "auto-grow": "",
18975
- rows: "3"
18976
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
18977
- key: 4,
18978
- modelValue: formModel.value[resolveHeaderKey(header)],
18979
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18980
- label: resolveHeaderTitle(header),
18981
- type: "boolean",
18982
- activeColor: "#3bd32a",
18983
- inactiveColor: "#d32a2a",
18984
- options: [
18985
- { value: "true", label: "فعال", icon: unref(IconCheck) },
18986
- { value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
18987
- ]
18988
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
18989
- key: 5,
18990
- modelValue: formModel.value[resolveHeaderKey(header)],
18991
- "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18992
- label: resolveHeaderTitle(header),
18993
- variant: "outlined",
18994
- disabled: isHeaderDisabled(header),
18995
- type: getFieldInputType(header),
18996
- dir: header.dir
18997
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
18998
- ], 64)) : createCommentVNode("", true)
18999
- ]),
19000
- _: 2
19001
- }, 1032, ["cols", "md"]);
19002
- }), 128))
18906
+ props.formComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.formComponent), {
18907
+ key: 0,
18908
+ modelValue: formModel.value,
18909
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formModel.value = $event)
18910
+ }, null, 8, ["modelValue"])) : (openBlock(), createBlock(VRow, { key: 1 }, {
18911
+ default: withCtx(() => [
18912
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
18913
+ return openBlock(), createBlock(VCol, {
18914
+ key: resolveHeaderKey(header),
18915
+ cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
18916
+ md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
18917
+ }, {
18918
+ default: withCtx(() => [
18919
+ !header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18920
+ isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
18921
+ key: 0,
18922
+ modelValue: formModel.value[resolveHeaderKey(header)],
18923
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18924
+ label: resolveHeaderTitle(header),
18925
+ disabled: isHeaderDisabled(header)
18926
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
18927
+ key: 1,
18928
+ modelValue: formModel.value[resolveHeaderKey(header)],
18929
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18930
+ label: resolveHeaderTitle(header),
18931
+ items: resolveAutocompleteItems(header, formModel.value.value),
18932
+ "item-title": resolveAutocompleteItemTitle(header),
18933
+ "item-value": resolveAutocompleteItemValue(header),
18934
+ "return-object": resolveAutocompleteReturnObject(header),
18935
+ multiple: resolveAutocompleteMultiple(header),
18936
+ chips: resolveAutocompleteMultiple(header),
18937
+ "closable-chips": resolveAutocompleteMultiple(header),
18938
+ disabled: isHeaderDisabled(header),
18939
+ clearable: "",
18940
+ variant: "outlined",
18941
+ "menu-props": { attach: "body", zIndex: 1e4 }
18942
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
18943
+ key: 2,
18944
+ modelValue: formModel.value[resolveHeaderKey(header)],
18945
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18946
+ label: resolveHeaderTitle(header),
18947
+ disabled: isHeaderDisabled(header)
18948
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
18949
+ key: 3,
18950
+ modelValue: formModel.value[resolveHeaderKey(header)],
18951
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18952
+ label: resolveHeaderTitle(header),
18953
+ variant: "outlined",
18954
+ disabled: isHeaderDisabled(header),
18955
+ dir: header.dir,
18956
+ "auto-grow": "",
18957
+ rows: "3"
18958
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
18959
+ key: 4,
18960
+ modelValue: formModel.value[resolveHeaderKey(header)],
18961
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18962
+ label: resolveHeaderTitle(header),
18963
+ type: "boolean",
18964
+ activeColor: "#3bd32a",
18965
+ inactiveColor: "#d32a2a",
18966
+ options: [
18967
+ { value: "true", label: "فعال", icon: unref(IconCheck) },
18968
+ { value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
18969
+ ]
18970
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
18971
+ key: 5,
18972
+ modelValue: formModel.value[resolveHeaderKey(header)],
18973
+ "onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
18974
+ label: resolveHeaderTitle(header),
18975
+ variant: "outlined",
18976
+ disabled: isHeaderDisabled(header),
18977
+ type: getFieldInputType(header),
18978
+ dir: header.dir
18979
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
18980
+ ], 64)) : createCommentVNode("", true)
18981
+ ]),
18982
+ _: 2
18983
+ }, 1032, ["cols", "md"]);
18984
+ }), 128))
18985
+ ]),
18986
+ _: 1
18987
+ }))
19003
18988
  ]),
19004
18989
  _: 1
19005
- }))
18990
+ })
19006
18991
  ]),
19007
18992
  _: 1
19008
- })
19009
- ]),
19010
- createElementVNode("div", _hoisted_31, [
19011
- createVNode(VBtn, {
19012
- variant: "tonal",
19013
- color: "error",
19014
- onClick: _cache[5] || (_cache[5] = ($event) => dialog.value = false)
19015
- }, {
19016
- default: withCtx(() => [..._cache[42] || (_cache[42] = [
19017
- createTextVNode("انصراف", -1)
19018
- ])]),
19019
- _: 1
19020
18993
  }),
19021
- createVNode(VBtn, {
19022
- color: "primary",
19023
- var: "",
19024
- onClick: saveItem
19025
- }, {
18994
+ createVNode(VCardActions, null, {
19026
18995
  default: withCtx(() => [
19027
- createTextVNode(toDisplayString(isEditing.value ? "ذخیره" : "ایجاد"), 1)
18996
+ createVNode(VBtn, {
18997
+ variant: "tonal",
18998
+ color: "error",
18999
+ onClick: _cache[5] || (_cache[5] = ($event) => dialog.value = false)
19000
+ }, {
19001
+ default: withCtx(() => [..._cache[42] || (_cache[42] = [
19002
+ createTextVNode("انصراف", -1)
19003
+ ])]),
19004
+ _: 1
19005
+ }),
19006
+ createVNode(VBtn, {
19007
+ color: "primary",
19008
+ var: "",
19009
+ onClick: saveItem
19010
+ }, {
19011
+ default: withCtx(() => [
19012
+ createTextVNode(toDisplayString(isEditing.value ? "ذخیره" : "ایجاد"), 1)
19013
+ ]),
19014
+ _: 1
19015
+ })
19028
19016
  ]),
19029
19017
  _: 1
19030
19018
  })
19031
- ])
19032
- ])
19019
+ ]),
19020
+ _: 1
19021
+ })
19033
19022
  ]),
19034
19023
  _: 1
19035
19024
  }, 8, ["modelValue"]),
@@ -19039,35 +19028,49 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19039
19028
  "max-width": "400"
19040
19029
  }, {
19041
19030
  default: withCtx(() => [
19042
- createElementVNode("div", _hoisted_32, [
19043
- _cache[45] || (_cache[45] = createElementVNode("div", { class: "dialog-header" }, [
19044
- createElementVNode("h3", { class: "dialog-title" }, "حذف آیتم")
19045
- ], -1)),
19046
- _cache[46] || (_cache[46] = createElementVNode("div", { class: "dialog-content" }, " آیا مایل به حذف این رکورد هستید ?", -1)),
19047
- createElementVNode("div", _hoisted_33, [
19048
- createVNode(VBtn, {
19049
- color: "grey",
19050
- onClick: _cache[7] || (_cache[7] = ($event) => deleteDialog.value = false)
19051
- }, {
19031
+ createVNode(VCard, null, {
19032
+ default: withCtx(() => [
19033
+ createVNode(VCardTitle, null, {
19052
19034
  default: withCtx(() => [..._cache[43] || (_cache[43] = [
19053
- createTextVNode("انصراف", -1)
19035
+ createTextVNode("حذف آیتم", -1)
19054
19036
  ])]),
19055
19037
  _: 1
19056
19038
  }),
19057
- createVNode(VBtn, {
19058
- color: "red",
19059
- onClick: _cache[8] || (_cache[8] = ($event) => {
19060
- var _a2;
19061
- return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
19062
- })
19063
- }, {
19039
+ createVNode(VCardText, null, {
19064
19040
  default: withCtx(() => [..._cache[44] || (_cache[44] = [
19065
- createTextVNode("حذف", -1)
19041
+ createTextVNode(" آیا مایل به حذف این رکورد هستید ?", -1)
19066
19042
  ])]),
19067
19043
  _: 1
19044
+ }),
19045
+ createVNode(VCardActions, null, {
19046
+ default: withCtx(() => [
19047
+ createVNode(VBtn, {
19048
+ color: "grey",
19049
+ onClick: _cache[7] || (_cache[7] = ($event) => deleteDialog.value = false)
19050
+ }, {
19051
+ default: withCtx(() => [..._cache[45] || (_cache[45] = [
19052
+ createTextVNode("انصراف", -1)
19053
+ ])]),
19054
+ _: 1
19055
+ }),
19056
+ createVNode(VBtn, {
19057
+ color: "red",
19058
+ onClick: _cache[8] || (_cache[8] = ($event) => {
19059
+ var _a2;
19060
+ return deleteItem(String(((_a2 = itemToDelete.value) == null ? void 0 : _a2.id) || ""));
19061
+ })
19062
+ }, {
19063
+ default: withCtx(() => [..._cache[46] || (_cache[46] = [
19064
+ createTextVNode("حذف", -1)
19065
+ ])]),
19066
+ _: 1
19067
+ })
19068
+ ]),
19069
+ _: 1
19068
19070
  })
19069
- ])
19070
- ])
19071
+ ]),
19072
+ _: 1
19073
+ })
19071
19074
  ]),
19072
19075
  _: 1
19073
19076
  }, 8, ["modelValue"]),
@@ -19077,61 +19080,71 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19077
19080
  "max-width": "500"
19078
19081
  }, {
19079
19082
  default: withCtx(() => [
19080
- createElementVNode("div", _hoisted_34, [
19081
- createElementVNode("div", _hoisted_35, [
19082
- createElementVNode("h3", _hoisted_36, [
19083
- createVNode(VIcon, {
19084
- color: "red",
19085
- class: "me-2"
19086
- }, {
19087
- default: withCtx(() => [..._cache[47] || (_cache[47] = [
19088
- createTextVNode("🗑️", -1)
19089
- ])]),
19090
- _: 1
19091
- }),
19092
- _cache[48] || (_cache[48] = createTextVNode(" حذف گروهی ", -1))
19093
- ])
19094
- ]),
19095
- createElementVNode("div", _hoisted_37, [
19096
- createElementVNode("p", null, [
19097
- _cache[49] || (_cache[49] = createTextVNode(" آیا مایل به حذف ", -1)),
19098
- createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
19099
- _cache[50] || (_cache[50] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
19100
- ]),
19101
- createVNode(VAlert, {
19102
- type: "warning",
19103
- variant: "tonal",
19104
- class: "mt-3"
19105
- }, {
19106
- default: withCtx(() => [..._cache[51] || (_cache[51] = [
19107
- createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
19108
- ])]),
19083
+ createVNode(VCard, null, {
19084
+ default: withCtx(() => [
19085
+ createVNode(VCardTitle, { class: "text-h6" }, {
19086
+ default: withCtx(() => [
19087
+ createVNode(VIcon, {
19088
+ color: "red",
19089
+ class: "me-2"
19090
+ }, {
19091
+ default: withCtx(() => [..._cache[47] || (_cache[47] = [
19092
+ createTextVNode("🗑️", -1)
19093
+ ])]),
19094
+ _: 1
19095
+ }),
19096
+ _cache[48] || (_cache[48] = createTextVNode(" حذف گروهی ", -1))
19097
+ ]),
19109
19098
  _: 1
19110
- })
19111
- ]),
19112
- createElementVNode("div", _hoisted_38, [
19113
- createVNode(VSpacer),
19114
- createVNode(VBtn, {
19115
- color: "grey",
19116
- onClick: _cache[10] || (_cache[10] = ($event) => groupDeleteDialog.value = false)
19117
- }, {
19118
- default: withCtx(() => [..._cache[52] || (_cache[52] = [
19119
- createTextVNode("انصراف", -1)
19120
- ])]),
19099
+ }),
19100
+ createVNode(VCardText, null, {
19101
+ default: withCtx(() => [
19102
+ createElementVNode("p", null, [
19103
+ _cache[49] || (_cache[49] = createTextVNode(" آیا مایل به حذف ", -1)),
19104
+ createElementVNode("strong", null, toDisplayString(selectedCount.value), 1),
19105
+ _cache[50] || (_cache[50] = createTextVNode(" آیتم انتخاب شده هستید؟ ", -1))
19106
+ ]),
19107
+ createVNode(VAlert, {
19108
+ type: "warning",
19109
+ variant: "tonal",
19110
+ class: "mt-3"
19111
+ }, {
19112
+ default: withCtx(() => [..._cache[51] || (_cache[51] = [
19113
+ createTextVNode(" این عمل قابل بازگشت نیست! ", -1)
19114
+ ])]),
19115
+ _: 1
19116
+ })
19117
+ ]),
19121
19118
  _: 1
19122
19119
  }),
19123
- createVNode(VBtn, {
19124
- color: "red",
19125
- onClick: deleteGroupItems,
19126
- loading: loading.value
19127
- }, {
19120
+ createVNode(VCardActions, null, {
19128
19121
  default: withCtx(() => [
19129
- createTextVNode(" حذف " + toDisplayString(selectedCount.value) + " آیتم ", 1)
19122
+ createVNode(VSpacer),
19123
+ createVNode(VBtn, {
19124
+ color: "grey",
19125
+ onClick: _cache[10] || (_cache[10] = ($event) => groupDeleteDialog.value = false)
19126
+ }, {
19127
+ default: withCtx(() => [..._cache[52] || (_cache[52] = [
19128
+ createTextVNode("انصراف", -1)
19129
+ ])]),
19130
+ _: 1
19131
+ }),
19132
+ createVNode(VBtn, {
19133
+ color: "red",
19134
+ onClick: deleteGroupItems,
19135
+ loading: loading.value
19136
+ }, {
19137
+ default: withCtx(() => [
19138
+ createTextVNode(" حذف " + toDisplayString(selectedCount.value) + " آیتم ", 1)
19139
+ ]),
19140
+ _: 1
19141
+ }, 8, ["loading"])
19130
19142
  ]),
19131
19143
  _: 1
19132
- }, 8, ["loading"])
19133
- ])
19134
- ])
19144
+ })
19145
+ ]),
19146
+ _: 1
19147
+ })
19135
19148
  ]),
19136
19149
  _: 1
19137
19150
  }, 8, ["modelValue"]),
@@ -19140,23 +19153,32 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19140
19153
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => customActionDialog.value = $event),
19141
19154
  "max-width": "1300"
19142
19155
  }, {
19143
- default: withCtx(() => {
19144
- var _a2, _b2;
19145
- return [
19146
- createElementVNode("div", _hoisted_39, [
19147
- createElementVNode("div", _hoisted_40, [
19148
- createElementVNode("h3", _hoisted_41, toDisplayString(((_b2 = (_a2 = props.customActions) == null ? void 0 : _a2.find((a) => a.component === customActionComponent.value)) == null ? void 0 : _b2.title) || ""), 1)
19149
- ]),
19150
- createElementVNode("div", _hoisted_42, [
19151
- customActionComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(customActionComponent.value), {
19152
- key: 0,
19153
- item: customActionItem.value,
19154
- onClose: _cache[12] || (_cache[12] = ($event) => customActionDialog.value = false)
19155
- }, null, 40, ["item"])) : createCommentVNode("", true)
19156
- ])
19157
- ])
19158
- ];
19159
- }),
19156
+ default: withCtx(() => [
19157
+ createVNode(VCard, null, {
19158
+ default: withCtx(() => [
19159
+ createVNode(VCardTitle, null, {
19160
+ default: withCtx(() => {
19161
+ var _a2, _b2;
19162
+ return [
19163
+ createTextVNode(toDisplayString(((_b2 = (_a2 = props.customActions) == null ? void 0 : _a2.find((a) => a.component === customActionComponent.value)) == null ? void 0 : _b2.title) || ""), 1)
19164
+ ];
19165
+ }),
19166
+ _: 1
19167
+ }),
19168
+ createVNode(VCardText, null, {
19169
+ default: withCtx(() => [
19170
+ customActionComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(customActionComponent.value), {
19171
+ key: 0,
19172
+ item: customActionItem.value,
19173
+ onClose: _cache[12] || (_cache[12] = ($event) => customActionDialog.value = false)
19174
+ }, null, 40, ["item"])) : createCommentVNode("", true)
19175
+ ]),
19176
+ _: 1
19177
+ })
19178
+ ]),
19179
+ _: 1
19180
+ })
19181
+ ]),
19160
19182
  _: 1
19161
19183
  }, 8, ["modelValue"]),
19162
19184
  createVNode(VDialog, {
@@ -19165,134 +19187,148 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19165
19187
  "max-width": "800"
19166
19188
  }, {
19167
19189
  default: withCtx(() => [
19168
- createElementVNode("div", _hoisted_43, [
19169
- _cache[55] || (_cache[55] = createElementVNode("div", { class: "dialog-header" }, [
19170
- createElementVNode("h3", { class: "dialog-title" }, "فیلتر")
19171
- ], -1)),
19172
- createElementVNode("div", _hoisted_44, [
19173
- props.filterComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.filterComponent), {
19174
- key: 0,
19175
- "model-value": filterModel.value,
19176
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => filterModel.value = $event),
19177
- onApply: handleFilterApply
19178
- }, null, 40, ["model-value"])) : (openBlock(), createBlock(VContainer, { key: 1 }, {
19190
+ createVNode(VCard, null, {
19191
+ default: withCtx(() => [
19192
+ createVNode(VCardTitle, null, {
19193
+ default: withCtx(() => [..._cache[53] || (_cache[53] = [
19194
+ createTextVNode("فیلتر", -1)
19195
+ ])]),
19196
+ _: 1
19197
+ }),
19198
+ createVNode(VCardText, null, {
19179
19199
  default: withCtx(() => [
19180
- createVNode(VRow, null, {
19200
+ props.filterComponent ? (openBlock(), createBlock(resolveDynamicComponent(props.filterComponent), {
19201
+ key: 0,
19202
+ "model-value": filterModel.value,
19203
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => filterModel.value = $event),
19204
+ onApply: handleFilterApply
19205
+ }, null, 40, ["model-value"])) : (openBlock(), createBlock(VContainer, { key: 1 }, {
19181
19206
  default: withCtx(() => [
19182
- (openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
19183
- return openBlock(), createBlock(VCol, {
19184
- key: resolveHeaderKey(header),
19185
- cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
19186
- md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
19187
- }, {
19188
- default: withCtx(() => [
19189
- !header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
19190
- hasFilterOperators(header) ? (openBlock(), createBlock(VSelect, {
19191
- key: 0,
19192
- modelValue: filterOperatorModel.value[resolveHeaderKey(header)],
19193
- "onUpdate:modelValue": ($event) => filterOperatorModel.value[resolveHeaderKey(header)] = $event,
19194
- items: getHeaderFilterOperators(header),
19195
- "item-title": "label",
19196
- "item-value": "value",
19197
- density: "compact",
19198
- variant: "underlined",
19199
- "hide-details": "",
19200
- class: "mb-1"
19201
- }, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : createCommentVNode("", true),
19202
- isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
19203
- key: 1,
19204
- modelValue: filterModel.value[resolveHeaderKey(header)],
19205
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19206
- label: resolveHeaderTitle(header),
19207
- disabled: isHeaderDisabled(header)
19208
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
19209
- key: 2,
19210
- modelValue: filterModel.value[resolveHeaderKey(header)],
19211
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19212
- label: resolveHeaderTitle(header),
19213
- items: resolveAutocompleteItems(header, filterModel.value.value),
19214
- "item-title": resolveAutocompleteItemTitle(header),
19215
- "item-value": resolveAutocompleteItemValue(header),
19216
- "return-object": resolveAutocompleteReturnObject(header),
19217
- multiple: resolveAutocompleteMultiple(header),
19218
- chips: resolveAutocompleteMultiple(header),
19219
- "closable-chips": resolveAutocompleteMultiple(header),
19220
- disabled: isHeaderDisabled(header),
19221
- clearable: "",
19222
- variant: "outlined"
19223
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
19224
- key: 3,
19225
- modelValue: filterModel.value[resolveHeaderKey(header)],
19226
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19227
- label: resolveHeaderTitle(header),
19228
- disabled: isHeaderDisabled(header)
19229
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
19230
- key: 4,
19231
- modelValue: filterModel.value[resolveHeaderKey(header)],
19232
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19233
- label: resolveHeaderTitle(header),
19234
- variant: "outlined",
19235
- disabled: isHeaderDisabled(header),
19236
- dir: header.dir,
19237
- "auto-grow": "",
19238
- rows: "3"
19239
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
19240
- key: 5,
19241
- modelValue: filterModel.value[resolveHeaderKey(header)],
19242
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19243
- label: resolveHeaderTitle(header),
19244
- type: "boolean",
19245
- activeColor: "#3bd32a",
19246
- inactiveColor: "#d32a2a",
19247
- options: [
19248
- { value: "true", label: "فعال", icon: unref(IconCheck) },
19249
- { value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
19250
- ]
19251
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
19252
- key: 6,
19253
- modelValue: filterModel.value[resolveHeaderKey(header)],
19254
- "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19255
- label: resolveHeaderTitle(header),
19256
- variant: "outlined",
19257
- disabled: isHeaderDisabled(header),
19258
- type: getFieldInputType(header),
19259
- dir: header.dir
19260
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
19261
- ], 64)) : createCommentVNode("", true)
19262
- ]),
19263
- _: 2
19264
- }, 1032, ["cols", "md"]);
19265
- }), 128))
19207
+ createVNode(VRow, null, {
19208
+ default: withCtx(() => [
19209
+ (openBlock(true), createElementBlock(Fragment, null, renderList(formHeaders.value, (header) => {
19210
+ return openBlock(), createBlock(VCol, {
19211
+ key: resolveHeaderKey(header),
19212
+ cols: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4,
19213
+ md: header.cols ? typeof header.cols === "number" ? header.cols : Number(header.cols) : 4
19214
+ }, {
19215
+ default: withCtx(() => [
19216
+ !header.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
19217
+ hasFilterOperators(header) ? (openBlock(), createBlock(VSelect, {
19218
+ key: 0,
19219
+ modelValue: filterOperatorModel.value[resolveHeaderKey(header)],
19220
+ "onUpdate:modelValue": ($event) => filterOperatorModel.value[resolveHeaderKey(header)] = $event,
19221
+ items: getHeaderFilterOperators(header),
19222
+ "item-title": "label",
19223
+ "item-value": "value",
19224
+ density: "compact",
19225
+ variant: "underlined",
19226
+ "hide-details": "",
19227
+ class: "mb-1",
19228
+ "menu-props": { attach: "body", zIndex: 1e4 }
19229
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "items"])) : createCommentVNode("", true),
19230
+ isDateHeader(header) ? (openBlock(), createBlock(ShamsiDatePicker, {
19231
+ key: 1,
19232
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19233
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19234
+ label: resolveHeaderTitle(header),
19235
+ disabled: isHeaderDisabled(header)
19236
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : hasAutocomplete(header) ? (openBlock(), createBlock(VAutocomplete, {
19237
+ key: 2,
19238
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19239
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19240
+ label: resolveHeaderTitle(header),
19241
+ items: resolveAutocompleteItems(header, filterModel.value.value),
19242
+ "item-title": resolveAutocompleteItemTitle(header),
19243
+ "item-value": resolveAutocompleteItemValue(header),
19244
+ "return-object": resolveAutocompleteReturnObject(header),
19245
+ multiple: resolveAutocompleteMultiple(header),
19246
+ chips: resolveAutocompleteMultiple(header),
19247
+ "closable-chips": resolveAutocompleteMultiple(header),
19248
+ disabled: isHeaderDisabled(header),
19249
+ clearable: "",
19250
+ variant: "outlined",
19251
+ "menu-props": { attach: "body", zIndex: 1e4 }
19252
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$i, {
19253
+ key: 3,
19254
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19255
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19256
+ label: resolveHeaderTitle(header),
19257
+ disabled: isHeaderDisabled(header)
19258
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])) : isTextareaHeader(header) ? (openBlock(), createBlock(VTextarea, {
19259
+ key: 4,
19260
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19261
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19262
+ label: resolveHeaderTitle(header),
19263
+ variant: "outlined",
19264
+ disabled: isHeaderDisabled(header),
19265
+ dir: header.dir,
19266
+ "auto-grow": "",
19267
+ rows: "3"
19268
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "dir"])) : isToggleHeader(header) ? (openBlock(), createBlock(ToggleSwitch, {
19269
+ key: 5,
19270
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19271
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19272
+ label: resolveHeaderTitle(header),
19273
+ type: "boolean",
19274
+ activeColor: "#3bd32a",
19275
+ inactiveColor: "#d32a2a",
19276
+ options: [
19277
+ { value: "true", label: "فعال", icon: unref(IconCheck) },
19278
+ { value: "false", label: "غیر فعال", icon: unref(IconSquareX) }
19279
+ ]
19280
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (openBlock(), createBlock(VTextField, {
19281
+ key: 6,
19282
+ modelValue: filterModel.value[resolveHeaderKey(header)],
19283
+ "onUpdate:modelValue": ($event) => filterModel.value[resolveHeaderKey(header)] = $event,
19284
+ label: resolveHeaderTitle(header),
19285
+ variant: "outlined",
19286
+ disabled: isHeaderDisabled(header),
19287
+ type: getFieldInputType(header),
19288
+ dir: header.dir
19289
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "type", "dir"]))
19290
+ ], 64)) : createCommentVNode("", true)
19291
+ ]),
19292
+ _: 2
19293
+ }, 1032, ["cols", "md"]);
19294
+ }), 128))
19295
+ ]),
19296
+ _: 1
19297
+ })
19266
19298
  ]),
19267
19299
  _: 1
19268
- })
19300
+ }))
19269
19301
  ]),
19270
19302
  _: 1
19271
- }))
19272
- ]),
19273
- !props.filterComponent ? (openBlock(), createElementBlock("div", _hoisted_45, [
19274
- createVNode(VSpacer),
19275
- createVNode(VBtn, {
19276
- color: "grey",
19277
- variant: "tonal",
19278
- onClick: resetFilter
19279
- }, {
19280
- default: withCtx(() => [..._cache[53] || (_cache[53] = [
19281
- createTextVNode("حذف فیلترها", -1)
19282
- ])]),
19283
- _: 1
19284
19303
  }),
19285
- createVNode(VBtn, {
19286
- color: "primary",
19287
- onClick: applyFilter
19288
- }, {
19289
- default: withCtx(() => [..._cache[54] || (_cache[54] = [
19290
- createTextVNode("اعمال فیلتر", -1)
19291
- ])]),
19304
+ !props.filterComponent ? (openBlock(), createBlock(VCardActions, { key: 0 }, {
19305
+ default: withCtx(() => [
19306
+ createVNode(VSpacer),
19307
+ createVNode(VBtn, {
19308
+ color: "grey",
19309
+ variant: "tonal",
19310
+ onClick: resetFilter
19311
+ }, {
19312
+ default: withCtx(() => [..._cache[54] || (_cache[54] = [
19313
+ createTextVNode("حذف فیلترها", -1)
19314
+ ])]),
19315
+ _: 1
19316
+ }),
19317
+ createVNode(VBtn, {
19318
+ color: "primary",
19319
+ onClick: applyFilter
19320
+ }, {
19321
+ default: withCtx(() => [..._cache[55] || (_cache[55] = [
19322
+ createTextVNode("اعمال فیلتر", -1)
19323
+ ])]),
19324
+ _: 1
19325
+ })
19326
+ ]),
19292
19327
  _: 1
19293
- })
19294
- ])) : createCommentVNode("", true)
19295
- ])
19328
+ })) : createCommentVNode("", true)
19329
+ ]),
19330
+ _: 1
19331
+ })
19296
19332
  ]),
19297
19333
  _: 1
19298
19334
  }, 8, ["modelValue"]),
@@ -19302,80 +19338,90 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19302
19338
  "max-width": "800"
19303
19339
  }, {
19304
19340
  default: withCtx(() => [
19305
- createElementVNode("div", _hoisted_46, [
19306
- createElementVNode("div", _hoisted_47, [
19307
- createElementVNode("h3", _hoisted_48, [
19308
- createElementVNode("span", null, toDisplayString(previewTitle.value), 1),
19309
- createVNode(VBtn, {
19310
- icon: "",
19311
- variant: "text",
19312
- onClick: _cache[16] || (_cache[16] = ($event) => textPreviewDialog.value = false)
19313
- }, {
19314
- default: withCtx(() => [
19315
- createVNode(VIcon, null, {
19316
- default: withCtx(() => [..._cache[56] || (_cache[56] = [
19317
- createTextVNode("mdi-close", -1)
19318
- ])]),
19319
- _: 1
19320
- })
19321
- ]),
19322
- _: 1
19323
- })
19324
- ])
19325
- ]),
19326
- createElementVNode("div", _hoisted_49, [
19327
- createVNode(VTextarea, {
19328
- "model-value": previewText.value,
19329
- readonly: "",
19330
- "auto-grow": "",
19331
- variant: "outlined",
19332
- rows: "10",
19333
- class: "mb-4"
19334
- }, null, 8, ["model-value"])
19335
- ]),
19336
- createElementVNode("div", _hoisted_50, [
19337
- createVNode(VSpacer),
19338
- createVNode(VBtn, {
19339
- color: "primary",
19340
- onClick: _cache[17] || (_cache[17] = ($event) => copyToClipboard(previewText.value))
19341
- }, {
19341
+ createVNode(VCard, null, {
19342
+ default: withCtx(() => [
19343
+ createVNode(VCardTitle, { class: "d-flex justify-space-between align-center" }, {
19342
19344
  default: withCtx(() => [
19343
- createVNode(VIcon, { start: "" }, {
19344
- default: withCtx(() => [..._cache[57] || (_cache[57] = [
19345
- createTextVNode("mdi-content-copy", -1)
19346
- ])]),
19345
+ createElementVNode("span", null, toDisplayString(previewTitle.value), 1),
19346
+ createVNode(VBtn, {
19347
+ icon: "",
19348
+ variant: "text",
19349
+ onClick: _cache[16] || (_cache[16] = ($event) => textPreviewDialog.value = false)
19350
+ }, {
19351
+ default: withCtx(() => [
19352
+ createVNode(VIcon, null, {
19353
+ default: withCtx(() => [..._cache[56] || (_cache[56] = [
19354
+ createTextVNode("mdi-close", -1)
19355
+ ])]),
19356
+ _: 1
19357
+ })
19358
+ ]),
19347
19359
  _: 1
19348
- }),
19349
- _cache[58] || (_cache[58] = createTextVNode(" کپی متن ", -1))
19360
+ })
19350
19361
  ]),
19351
19362
  _: 1
19352
19363
  }),
19353
- createVNode(VBtn, {
19354
- color: "success",
19355
- onClick: copyCompleteRecord
19356
- }, {
19364
+ createVNode(VCardText, null, {
19357
19365
  default: withCtx(() => [
19358
- createVNode(VIcon, { start: "" }, {
19359
- default: withCtx(() => [..._cache[59] || (_cache[59] = [
19360
- createTextVNode("mdi-content-copy", -1)
19361
- ])]),
19362
- _: 1
19363
- }),
19364
- _cache[60] || (_cache[60] = createTextVNode(" کپی رکورد کامل ", -1))
19366
+ createVNode(VTextarea, {
19367
+ "model-value": previewText.value,
19368
+ readonly: "",
19369
+ "auto-grow": "",
19370
+ variant: "outlined",
19371
+ rows: "10",
19372
+ class: "mb-4"
19373
+ }, null, 8, ["model-value"])
19365
19374
  ]),
19366
19375
  _: 1
19367
19376
  }),
19368
- createVNode(VBtn, {
19369
- color: "grey",
19370
- onClick: _cache[18] || (_cache[18] = ($event) => textPreviewDialog.value = false)
19371
- }, {
19372
- default: withCtx(() => [..._cache[61] || (_cache[61] = [
19373
- createTextVNode("بستن", -1)
19374
- ])]),
19377
+ createVNode(VCardActions, null, {
19378
+ default: withCtx(() => [
19379
+ createVNode(VSpacer),
19380
+ createVNode(VBtn, {
19381
+ color: "primary",
19382
+ onClick: _cache[17] || (_cache[17] = ($event) => copyToClipboard(previewText.value))
19383
+ }, {
19384
+ default: withCtx(() => [
19385
+ createVNode(VIcon, { start: "" }, {
19386
+ default: withCtx(() => [..._cache[57] || (_cache[57] = [
19387
+ createTextVNode("mdi-content-copy", -1)
19388
+ ])]),
19389
+ _: 1
19390
+ }),
19391
+ _cache[58] || (_cache[58] = createTextVNode(" کپی متن ", -1))
19392
+ ]),
19393
+ _: 1
19394
+ }),
19395
+ createVNode(VBtn, {
19396
+ color: "success",
19397
+ onClick: copyCompleteRecord
19398
+ }, {
19399
+ default: withCtx(() => [
19400
+ createVNode(VIcon, { start: "" }, {
19401
+ default: withCtx(() => [..._cache[59] || (_cache[59] = [
19402
+ createTextVNode("mdi-content-copy", -1)
19403
+ ])]),
19404
+ _: 1
19405
+ }),
19406
+ _cache[60] || (_cache[60] = createTextVNode(" کپی رکورد کامل ", -1))
19407
+ ]),
19408
+ _: 1
19409
+ }),
19410
+ createVNode(VBtn, {
19411
+ color: "grey",
19412
+ onClick: _cache[18] || (_cache[18] = ($event) => textPreviewDialog.value = false)
19413
+ }, {
19414
+ default: withCtx(() => [..._cache[61] || (_cache[61] = [
19415
+ createTextVNode("بستن", -1)
19416
+ ])]),
19417
+ _: 1
19418
+ })
19419
+ ]),
19375
19420
  _: 1
19376
19421
  })
19377
- ])
19378
- ])
19422
+ ]),
19423
+ _: 1
19424
+ })
19379
19425
  ]),
19380
19426
  _: 1
19381
19427
  }, 8, ["modelValue"]),