@dv.net/ui-kit 7.5.4 → 7.5.6

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.
Files changed (116) hide show
  1. package/dist/assets/{DatePickerInput.vue_vue_type_script_setup_true_lang.0fTX2XyN.js → DatePickerInput.vue_vue_type_script_setup_true_lang.DGd2fKOi.js} +2 -2
  2. package/dist/assets/{DatePickerInputs.vue_vue_type_script_setup_true_lang.BDpkRcEN.js → DatePickerInputs.vue_vue_type_script_setup_true_lang.D_ON70om.js} +2 -2
  3. package/dist/assets/{DatePickerPresets.vue_vue_type_script_setup_true_lang.CKckhapZ.js → DatePickerPresets.vue_vue_type_script_setup_true_lang.Bvgo7JE0.js} +1 -1
  4. package/dist/assets/{DatePickerSlider.vue_vue_type_script_setup_true_lang.BGkzUy3Z.js → DatePickerSlider.vue_vue_type_script_setup_true_lang.B5uX5clB.js} +31 -28
  5. package/dist/assets/SelectListItem.vue_vue_type_script_setup_true_lang.CzkGE6ek.js +31 -0
  6. package/dist/assets/{SelectSearch.vue_vue_type_script_setup_true_lang.Cnqyp_Zb.js → SelectSearch.vue_vue_type_script_setup_true_lang.2TYO-HaX.js} +3 -3
  7. package/dist/assets/{SelectTrigger.vue_vue_type_script_setup_true_lang.DdrjuMDG.js → SelectTrigger.vue_vue_type_script_setup_true_lang.CKdFL6-w.js} +2 -2
  8. package/dist/assets/{SelectVirtualList.vue_vue_type_script_setup_true_lang.CiNZoKwF.js → SelectVirtualList.vue_vue_type_script_setup_true_lang.DaXd5JY2.js} +2 -2
  9. package/dist/assets/{TableSort.vue_vue_type_script_setup_true_lang.czdmoDoN.js → TableSort.vue_vue_type_script_setup_true_lang.BnV2c4FZ.js} +2 -2
  10. package/dist/assets/{UiAvatar.vue_vue_type_script_setup_true_lang.D1vn5qXx.js → UiAvatar.vue_vue_type_script_setup_true_lang.DABufUmt.js} +2 -2
  11. package/dist/assets/{UiBlockTitle.vue_vue_type_script_setup_true_lang.D3gstLQO.js → UiBlockTitle.vue_vue_type_script_setup_true_lang.CfFJC_O7.js} +1 -1
  12. package/dist/assets/{UiButton.vue_vue_type_script_setup_true_lang.C58Ve9-q.js → UiButton.vue_vue_type_script_setup_true_lang.C102Xym_.js} +3 -3
  13. package/dist/assets/UiChat.vue_vue_type_script_setup_true_lang.DW7Yk7Kh.js +134 -0
  14. package/dist/assets/{UiChatAttachments.vue_vue_type_script_setup_true_lang.mJdMkaps.js → UiChatAttachments.vue_vue_type_script_setup_true_lang.DDZ-aWa5.js} +2 -2
  15. package/dist/assets/UiChatFooter.vue_vue_type_script_setup_true_lang.CYNMX_9D.js +105 -0
  16. package/dist/assets/UiChatHeader.vue_vue_type_script_setup_true_lang.CkV0GeAh.js +168 -0
  17. package/dist/assets/{UiChatMessage.vue_vue_type_script_setup_true_lang.BuCaTu3U.js → UiChatMessage.vue_vue_type_script_setup_true_lang.BkD09EG5.js} +1 -1
  18. package/dist/assets/{UiChatMessageAttachments.vue_vue_type_script_setup_true_lang.gr8ostyK.js → UiChatMessageAttachments.vue_vue_type_script_setup_true_lang.pAbQdJI8.js} +1 -1
  19. package/dist/assets/{UiCheckbox.vue_vue_type_script_setup_true_lang.BJv0xDk8.js → UiCheckbox.vue_vue_type_script_setup_true_lang.Cc-pU9ur.js} +2 -2
  20. package/dist/assets/{UiCollapseItem.vue_vue_type_script_setup_true_lang.CBGtA0OT.js → UiCollapseItem.vue_vue_type_script_setup_true_lang.B2OvT-Gp.js} +2 -2
  21. package/dist/assets/{UiConfirm.vue_vue_type_script_setup_true_lang.C0NGQkz6.js → UiConfirm.vue_vue_type_script_setup_true_lang.BMAOyD6k.js} +3 -3
  22. package/dist/assets/{UiCopyText.vue_vue_type_script_setup_true_lang.BW_J9zQD.js → UiCopyText.vue_vue_type_script_setup_true_lang.DZTcTa4v.js} +1 -1
  23. package/dist/assets/{UiDatepickerRange.vue_vue_type_script_setup_true_lang.4d4FeAtU.js → UiDatepickerRange.vue_vue_type_script_setup_true_lang.DaiSwln3.js} +85 -85
  24. package/dist/assets/{UiDropdown.vue_vue_type_script_setup_true_lang.BPFv-AjS.js → UiDropdown.vue_vue_type_script_setup_true_lang.CjZSvxJn.js} +1 -1
  25. package/dist/assets/{UiFileItemLoading.vue_vue_type_script_setup_true_lang.BLZuEoWZ.js → UiFileItemLoading.vue_vue_type_script_setup_true_lang.BZBMOWHD.js} +1 -1
  26. package/dist/assets/{UiGallery.vue_vue_type_script_setup_true_lang.pDss49af.js → UiGallery.vue_vue_type_script_setup_true_lang.BT952T6m.js} +1 -1
  27. package/dist/assets/UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js +31 -0
  28. package/dist/assets/{UiIconButton.vue_vue_type_script_setup_true_lang.cJvSLKjQ.js → UiIconButton.vue_vue_type_script_setup_true_lang.DMTMLuQZ.js} +3 -3
  29. package/dist/assets/{UiInput.vue_vue_type_script_setup_true_lang.Dr-b7jG5.js → UiInput.vue_vue_type_script_setup_true_lang.C7fskhMc.js} +1 -1
  30. package/dist/assets/{UiLanguageButton.vue_vue_type_script_setup_true_lang.Ctoigfsg.js → UiLanguageButton.vue_vue_type_script_setup_true_lang.Biq8NfmN.js} +2 -2
  31. package/dist/assets/{UiLanguages.vue_vue_type_script_setup_true_lang.MmWfwC3C.js → UiLanguages.vue_vue_type_script_setup_true_lang.CW52hMDI.js} +9 -9
  32. package/dist/assets/{UiLayoutMenu.vue_vue_type_script_setup_true_lang.4wLA6Do-.js → UiLayoutMenu.vue_vue_type_script_setup_true_lang.Bpce0J4j.js} +1 -1
  33. package/dist/assets/{UiLayoutMenuItem.vue_vue_type_script_setup_true_lang.ZkGXLRX8.js → UiLayoutMenuItem.vue_vue_type_script_setup_true_lang.DFKZwWfN.js} +2 -2
  34. package/dist/assets/{UiLoading.vue_vue_type_script_setup_true_lang.cWPzNcNZ.js → UiLoading.vue_vue_type_script_setup_true_lang.CGIpSwtF.js} +2 -2
  35. package/dist/assets/{UiMobileMenu.vue_vue_type_script_setup_true_lang.CVdeZpLR.js → UiMobileMenu.vue_vue_type_script_setup_true_lang.Dn665OGS.js} +2 -2
  36. package/dist/assets/{UiModal.vue_vue_type_script_setup_true_lang.kAASqaaY.js → UiModal.vue_vue_type_script_setup_true_lang.B-KGBul7.js} +2 -2
  37. package/dist/assets/{UiPagination.vue_vue_type_script_setup_true_lang.Br97aEUF.js → UiPagination.vue_vue_type_script_setup_true_lang.BuXqdJ9H.js} +3 -3
  38. package/dist/assets/{UiProfileMenu.vue_vue_type_script_setup_true_lang.BPIM20fS.js → UiProfileMenu.vue_vue_type_script_setup_true_lang.DJDRQdbI.js} +4 -4
  39. package/dist/assets/{UiProfileMenuItem.vue_vue_type_script_setup_true_lang.DAv4em8S.js → UiProfileMenuItem.vue_vue_type_script_setup_true_lang.BopPERI0.js} +2 -2
  40. package/dist/assets/{UiSelect.vue_vue_type_script_setup_true_lang.KW-gAx4L.js → UiSelect.vue_vue_type_script_setup_true_lang.DoggeBZc.js} +92 -87
  41. package/dist/assets/{UiSwitch.vue_vue_type_script_setup_true_lang.CQL4VRs4.js → UiSwitch.vue_vue_type_script_setup_true_lang.njaUDZ8q.js} +2 -2
  42. package/dist/assets/{UiTable.vue_vue_type_script_setup_true_lang.BRxWn-LJ.js → UiTable.vue_vue_type_script_setup_true_lang.DHqeI7MP.js} +5 -5
  43. package/dist/assets/{UiTextarea.vue_vue_type_script_setup_true_lang.bD1zcxkh.js → UiTextarea.vue_vue_type_script_setup_true_lang.D7yuONgD.js} +1 -1
  44. package/dist/assets/{UiTooltip.vue_vue_type_script_setup_true_lang.DNZTJcY4.js → UiTooltip.vue_vue_type_script_setup_true_lang.CHftlCxm.js} +2 -2
  45. package/dist/assets/revert.CHGUM6GD.js +29 -0
  46. package/dist/assets/revert.CKhXjm8W.js +30 -0
  47. package/dist/assets/{useDatePicker.DnhbkLG1.js → useDatePicker.BwRlPS-o.js} +178 -176
  48. package/dist/components/UiAvatar/UiAvatar.js +1 -1
  49. package/dist/components/UiBlockTitle/UiBlockTitle.js +1 -1
  50. package/dist/components/UiButton/UiButton.js +1 -1
  51. package/dist/components/UiChat/UiChat.js +1 -1
  52. package/dist/components/UiChat/UiChat.vue.d.ts +1 -7
  53. package/dist/components/UiChat/UiChatAttachments.js +1 -1
  54. package/dist/components/UiChat/UiChatFooter.js +1 -1
  55. package/dist/components/UiChat/UiChatFooter.vue.d.ts +2 -4
  56. package/dist/components/UiChat/UiChatHeader.js +1 -1
  57. package/dist/components/UiChat/UiChatHeader.vue.d.ts +1 -0
  58. package/dist/components/UiChat/UiChatMessage.js +1 -1
  59. package/dist/components/UiChat/UiChatMessageAttachments.js +1 -1
  60. package/dist/components/UiChat/types.d.ts +4 -1
  61. package/dist/components/UiCheckbox/UiCheckbox.js +1 -1
  62. package/dist/components/UiCollapseItem/UiCollapseItem.js +1 -1
  63. package/dist/components/UiConfirm/UiConfirm.js +1 -1
  64. package/dist/components/UiCopyText/UiCopyText.js +1 -1
  65. package/dist/components/UiDatepicker/UiDatepickerRange.js +1 -1
  66. package/dist/components/UiDatepicker/UiDatepickerRange.vue.d.ts +20 -20
  67. package/dist/components/UiDatepicker/components/DatePickerInput.js +1 -1
  68. package/dist/components/UiDatepicker/components/DatePickerInputs.js +1 -1
  69. package/dist/components/UiDatepicker/components/DatePickerPresets.js +1 -1
  70. package/dist/components/UiDatepicker/components/DatePickerSlider.js +1 -1
  71. package/dist/components/UiDatepicker/components/DatePickerSlider.vue.d.ts +1 -0
  72. package/dist/components/UiDatepicker/composables/useDatePicker.js +2 -2
  73. package/dist/components/UiDatepicker/composables/useDatePickerPresets.js +1 -1
  74. package/dist/components/UiDatepicker/composables/useDatePickerSelected.d.ts +1 -0
  75. package/dist/components/UiDatepicker/composables/useDatePickerSelected.js +30 -19
  76. package/dist/components/UiDragAndDrop/UiDragAndDrop.js +3 -3
  77. package/dist/components/UiDragAndDrop/UiFileItem.js +2 -2
  78. package/dist/components/UiDragAndDrop/UiFileItemLoading.js +1 -1
  79. package/dist/components/UiDropdown/UiDropdown.js +1 -1
  80. package/dist/components/UiGallery/UiGallery.js +1 -1
  81. package/dist/components/UiIcon/UiIcon.js +1 -1
  82. package/dist/components/UiIconButton/UiIconButton.js +1 -1
  83. package/dist/components/UiInput/UiInput.js +1 -1
  84. package/dist/components/UiLanguages/UiLanguages.js +1 -1
  85. package/dist/components/UiLanguages/components/UiLanguageButton.js +1 -1
  86. package/dist/components/UiLayoutMenu/UiLayoutMenu.js +1 -1
  87. package/dist/components/UiLayoutMenu/UiLayoutMenuItem.js +1 -1
  88. package/dist/components/UiLoading/UiLoading.js +1 -1
  89. package/dist/components/UiMobileMenu/UiMobileMenu.js +1 -1
  90. package/dist/components/UiModal/UiModal.js +1 -1
  91. package/dist/components/UiPagination/UiPagination.js +1 -1
  92. package/dist/components/UiProfileMenu/UiProfileMenu.js +1 -1
  93. package/dist/components/UiProfileMenu/components/UiProfileMenuItem.js +1 -1
  94. package/dist/components/UiSelect/UiSelect.js +1 -1
  95. package/dist/components/UiSelect/components/SelectListItem.js +1 -1
  96. package/dist/components/UiSelect/components/SelectListItem.vue.d.ts +1 -0
  97. package/dist/components/UiSelect/components/SelectSearch.js +1 -1
  98. package/dist/components/UiSelect/components/SelectTrigger.js +1 -1
  99. package/dist/components/UiSelect/components/SelectVirtualList.js +1 -1
  100. package/dist/components/UiSwitch/UiSwitch.js +1 -1
  101. package/dist/components/UiTable/UiTable.js +1 -1
  102. package/dist/components/UiTable/components/TableSort.js +1 -1
  103. package/dist/components/UiTextarea/UiTextarea.js +1 -1
  104. package/dist/components/UiTextarea/UiTextarea.vue.d.ts +1 -1
  105. package/dist/components/UiTooltip/UiTooltip.js +1 -1
  106. package/dist/composables/useNotification/UiNotification.js +2 -2
  107. package/dist/config/index.d.ts +12 -0
  108. package/dist/config/index.js +5 -0
  109. package/dist/index.js +28 -28
  110. package/dist/style.css +1 -1
  111. package/package.json +1 -1
  112. package/dist/assets/SelectListItem.vue_vue_type_script_setup_true_lang.CqpBkc62.js +0 -25
  113. package/dist/assets/UiChat.vue_vue_type_script_setup_true_lang.BbYfjHLG.js +0 -93
  114. package/dist/assets/UiChatFooter.vue_vue_type_script_setup_true_lang.C6KE8NDI.js +0 -103
  115. package/dist/assets/UiChatHeader.vue_vue_type_script_setup_true_lang.BJzoLe2U.js +0 -147
  116. package/dist/assets/UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js +0 -31
@@ -0,0 +1,168 @@
1
+ import { defineComponent as w, ref as B, computed as k, createElementBlock as r, openBlock as s, normalizeClass as p, unref as o, createElementVNode as t, createCommentVNode as h, createVNode as d, createBlock as V, Fragment as z, toDisplayString as c, withCtx as _, normalizeStyle as S } from "vue";
2
+ import { _ as f } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
3
+ /* empty css */
4
+ import { _ as E } from "./UiSelect.vue_vue_type_script_setup_true_lang.DoggeBZc.js";
5
+ import "./style.C3xG1ALc.js";
6
+ import { config as n } from "../config/index.js";
7
+ import "./vue3-lottie.es.BGWavb2-.js";
8
+ import { useBreakpoints as A } from "../composables/useBreakpoints.js";
9
+ /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
+ import "./useDatePicker.BwRlPS-o.js";
17
+ /* empty css */
18
+ /* empty css */
19
+ import "../components/UiDatepicker/composables/useDatePickerPresets.js";
20
+ /* empty css */
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
24
+ /* empty css */
25
+ /* empty css */
26
+ /* empty css */
27
+ /* empty css */
28
+ import "vue-router";
29
+ /* empty css */
30
+ /* empty css */
31
+ /* empty css */
32
+ import { _ as v } from "./UiSkeleton.vue_vue_type_script_setup_true_lang.DdPvBHJ7.js";
33
+ /* empty css */
34
+ /* empty css */
35
+ /* empty css */
36
+ /* empty css */
37
+ const L = { class: "ui-chat__header-content" }, N = { class: "ui-chat__header-icon" }, O = { class: "ui-chat__header-info" }, R = {
38
+ key: 0,
39
+ class: "ui-chat__header-ticket"
40
+ }, $ = { class: "ui-chat__header-title" }, D = {
41
+ key: 0,
42
+ class: "ui-chat__header-id"
43
+ }, U = { class: "ui-chat__header-name" }, j = {
44
+ key: 0,
45
+ class: "ui-chat__actions"
46
+ }, F = {
47
+ key: 1,
48
+ class: "ui-chat__actions"
49
+ }, H = { class: "ui-chat__actions-selected" }, Te = /* @__PURE__ */ w({
50
+ __name: "UiChatHeader",
51
+ props: {
52
+ ticket: {},
53
+ isEmpty: { type: Boolean },
54
+ isClosedTicket: { type: Boolean },
55
+ ticketLoading: { type: Boolean, default: !1 },
56
+ enableReopenTicket: { type: Boolean, default: !1 }
57
+ },
58
+ emits: ["action-ticket"],
59
+ setup(i, { emit: y }) {
60
+ const b = y, { isDesktop: u } = A(), l = B(null), C = k(() => {
61
+ const e = [
62
+ {
63
+ value: "remind-ticket",
64
+ label: n.uiChat.translations.remindAboutTicket,
65
+ icon: "notifications-active",
66
+ disabled: i.isClosedTicket
67
+ },
68
+ {
69
+ value: "change-operator",
70
+ label: n.uiChat.translations.changeOperator,
71
+ icon: "sync-alt",
72
+ disabled: i.isClosedTicket
73
+ }
74
+ ];
75
+ return i.enableReopenTicket && i.isClosedTicket ? e.unshift({
76
+ value: "reopen-ticket",
77
+ label: n.uiChat.translations.reopenTicket,
78
+ icon: "revert",
79
+ disabled: !i.isClosedTicket
80
+ }) : e.push({
81
+ value: "close-ticket",
82
+ label: n.uiChat.translations.closeTicket,
83
+ icon: "delete",
84
+ color: "var(--color-text-negative)",
85
+ disabled: i.isClosedTicket
86
+ }), e;
87
+ }), g = k(() => !i.isEmpty && (i.enableReopenTicket || !i.isClosedTicket)), T = () => {
88
+ l.value && b("action-ticket", l.value), l.value = null;
89
+ };
90
+ return (e, m) => (s(), r("div", {
91
+ class: p(["ui-chat__header", { "mobile-layout": o(u) }])
92
+ }, [
93
+ t("div", L, [
94
+ t("div", N, [
95
+ d(f, {
96
+ name: "support-agent 2",
97
+ type: "100",
98
+ size: "lg"
99
+ })
100
+ ]),
101
+ t("div", O, [
102
+ e.ticketLoading ? (s(), V(o(v), {
103
+ key: 0,
104
+ class: "ui-chat__header-info-skeleton",
105
+ "row-height": 36,
106
+ rows: 1,
107
+ "item-border-radius": 6,
108
+ "first-color": "var(--color-background-tertiary)",
109
+ "second-color": "var(--color-background-primary)"
110
+ })) : (s(), r(z, { key: 1 }, [
111
+ o(u) ? h("", !0) : (s(), r("div", R, [
112
+ t("span", $, c(e.ticket?.subject || o(n).uiChat.translations.newTicket), 1),
113
+ e.ticket?.id ? (s(), r("span", D, c(o(n).uiChat.translations.ticket) + " #" + c(e.ticket.id), 1)) : h("", !0)
114
+ ])),
115
+ t("div", {
116
+ class: p(["ui-chat__header-support", { "mobile-layout": o(u) }])
117
+ }, [
118
+ t("span", U, c(e.ticket?.support_name || "Sofia"), 1),
119
+ m[1] || (m[1] = t("span", { class: "ui-chat__header-status" }, "Online", -1))
120
+ ], 2)
121
+ ], 64))
122
+ ])
123
+ ]),
124
+ e.ticketLoading ? (s(), r("div", j, [
125
+ d(o(v), {
126
+ "row-height": 36,
127
+ rows: 1,
128
+ "item-border-radius": 6,
129
+ "first-color": "var(--color-background-tertiary)",
130
+ "second-color": "var(--color-background-primary)"
131
+ })
132
+ ])) : g.value ? (s(), r("div", F, [
133
+ d(E, {
134
+ modelValue: l.value,
135
+ "onUpdate:modelValue": m[0] || (m[0] = (a) => l.value = a),
136
+ options: C.value,
137
+ size: "sm",
138
+ placement: "bottom-end",
139
+ "fit-content-width": !0,
140
+ teleport: !1,
141
+ onChange: T
142
+ }, {
143
+ selected: _(() => [
144
+ t("span", H, c(o(n).uiChat.translations.actions), 1)
145
+ ]),
146
+ default: _(({ option: a }) => [
147
+ t("span", {
148
+ class: "ui-chat__actions-item",
149
+ style: S(a.color && { color: a.color })
150
+ }, [
151
+ d(f, {
152
+ name: a.icon,
153
+ class: p([a.value === "reopen-ticket" ? "no-fill" : ""]),
154
+ type: "400",
155
+ size: "sm"
156
+ }, null, 8, ["name", "class"]),
157
+ t("span", null, c(a.label), 1)
158
+ ], 4)
159
+ ]),
160
+ _: 1
161
+ }, 8, ["modelValue", "options"])
162
+ ])) : h("", !0)
163
+ ], 2));
164
+ }
165
+ });
166
+ export {
167
+ Te as _
168
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as c, createElementBlock as o, openBlock as t, normalizeClass as _, createElementVNode as s, createBlock as g, createCommentVNode as i, toDisplayString as h } from "vue";
2
- import { _ as u } from "./UiChatMessageAttachments.vue_vue_type_script_setup_true_lang.gr8ostyK.js";
2
+ import { _ as u } from "./UiChatMessageAttachments.vue_vue_type_script_setup_true_lang.pAbQdJI8.js";
3
3
  /* empty css */
4
4
  const p = /(https?:\/\/[^\s<]+)/g, d = { class: "ui-chat__message-bubble" }, f = { class: "ui-chat__message-info" }, w = ["innerHTML"], v = { class: "ui-chat__message-time" }, M = /* @__PURE__ */ m({
5
5
  __name: "UiChatMessage",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as _, computed as n, createElementBlock as g, createCommentVNode as d, openBlock as p, createElementVNode as e, createVNode as v } from "vue";
2
- import { _ as f } from "./UiGallery.vue_vue_type_script_setup_true_lang.pDss49af.js";
2
+ import { _ as f } from "./UiGallery.vue_vue_type_script_setup_true_lang.BT952T6m.js";
3
3
  /* empty css */
4
4
  const V = {
5
5
  key: 0,
@@ -2,7 +2,7 @@ import { defineComponent as x, mergeModels as c, inject as y, useModel as z, com
2
2
  import { CHECKBOX_GROUP_PROVIDE_VALUE as M } from "../components/UiCheckboxGroup/constants.js";
3
3
  import "./vue3-lottie.es.BGWavb2-.js";
4
4
  import "./style.C3xG1ALc.js";
5
- import { _ as w } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
5
+ import { _ as w } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import "../config/index.js";
@@ -13,7 +13,7 @@ import "../config/index.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
- import "./useDatePicker.DnhbkLG1.js";
16
+ import "./useDatePicker.BwRlPS-o.js";
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  import "../components/UiDatepicker/composables/useDatePickerPresets.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, inject as A, computed as i, createElementBlock as m, openBlock as s, normalizeClass as E, unref as u, createElementVNode as r, createVNode as p, createCommentVNode as d, renderSlot as c, toDisplayString as b, Transition as k, withCtx as w, withDirectives as D, vShow as O } from "vue";
2
2
  import "./vue3-lottie.es.BGWavb2-.js";
3
3
  import "./style.C3xG1ALc.js";
4
- import { _ as $ } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
4
+ import { _ as $ } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import "../config/index.js";
@@ -12,7 +12,7 @@ import "../config/index.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import "./useDatePicker.DnhbkLG1.js";
15
+ import "./useDatePicker.BwRlPS-o.js";
16
16
  /* empty css */
17
17
  import { COLLAPSE_PROVIDE_VALUE as z } from "../components/UiCollapse/constants.js";
18
18
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as B, ref as u, createElementBlock as w, openBlock as f, createVNode as n, unref as l, createSlots as S, withCtx as e, createBlock as V, renderSlot as r, createElementVNode as h, createTextVNode as c, toDisplayString as v } from "vue";
2
2
  import "./vue3-lottie.es.BGWavb2-.js";
3
3
  import "./style.C3xG1ALc.js";
4
- import { _ as C } from "./UiButton.vue_vue_type_script_setup_true_lang.C58Ve9-q.js";
4
+ import { _ as C } from "./UiButton.vue_vue_type_script_setup_true_lang.C102Xym_.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import { config as $ } from "../config/index.js";
@@ -9,11 +9,11 @@ import { config as $ } from "../config/index.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
- import { _ as k } from "./UiTooltip.vue_vue_type_script_setup_true_lang.DNZTJcY4.js";
12
+ import { _ as k } from "./UiTooltip.vue_vue_type_script_setup_true_lang.CHftlCxm.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
- import "./useDatePicker.DnhbkLG1.js";
16
+ import "./useDatePicker.BwRlPS-o.js";
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  import "../components/UiDatepicker/composables/useDatePickerPresets.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, ref as I, createElementBlock as v, createCommentVNode as t, openBlock as h, normalizeClass as z, withModifiers as C, renderSlot as l, withDirectives as p, createVNode as a, vShow as c } from "vue";
2
- import { _ as i } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
2
+ import { _ as i } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
3
3
  /* empty css */
4
4
  import { u as T } from "./index.Cp1LhIxy.js";
5
5
  const g = /* @__PURE__ */ f({
@@ -1,17 +1,17 @@
1
- import { defineComponent as x, mergeModels as N, useModel as ee, computed as k, ref as $, onMounted as te, createElementBlock as P, openBlock as p, normalizeClass as ae, createVNode as r, unref as t, withCtx as s, createElementVNode as D, createCommentVNode as z, renderSlot as R, createBlock as U, createTextVNode as C, toDisplayString as y } from "vue";
2
- import { _ as ie } from "./DatePickerInputs.vue_vue_type_script_setup_true_lang.BDpkRcEN.js";
1
+ import { defineComponent as x, mergeModels as R, useModel as ee, computed as p, ref as S, onMounted as ae, createElementBlock as $, openBlock as v, normalizeClass as te, createVNode as r, unref as a, withCtx as s, createElementVNode as D, createCommentVNode as z, renderSlot as U, createBlock as F, createTextVNode as C, toDisplayString as b } from "vue";
2
+ import { _ as ie } from "./DatePickerInputs.vue_vue_type_script_setup_true_lang.D_ON70om.js";
3
3
  import { Q as le } from "./style.C3xG1ALc.js";
4
- import { _ as oe } from "./DatePickerPresets.vue_vue_type_script_setup_true_lang.CKckhapZ.js";
4
+ import { _ as oe } from "./DatePickerPresets.vue_vue_type_script_setup_true_lang.Bvgo7JE0.js";
5
5
  /* empty css */
6
- import { _ as ne } from "./DatePickerSlider.vue_vue_type_script_setup_true_lang.BGkzUy3Z.js";
7
- import { _ as F } from "./UiIconButton.vue_vue_type_script_setup_true_lang.cJvSLKjQ.js";
6
+ import { _ as ne } from "./DatePickerSlider.vue_vue_type_script_setup_true_lang.B5uX5clB.js";
7
+ import { _ as E } from "./UiIconButton.vue_vue_type_script_setup_true_lang.DMTMLuQZ.js";
8
8
  import { a as re } from "./index.Cp1LhIxy.js";
9
9
  import "./vue3-lottie.es.BGWavb2-.js";
10
- import { _ as E } from "./UiButton.vue_vue_type_script_setup_true_lang.C58Ve9-q.js";
11
- import { _ as se } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
10
+ import { _ as H } from "./UiButton.vue_vue_type_script_setup_true_lang.C102Xym_.js";
11
+ import { _ as se } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
- import { config as b } from "../config/index.js";
14
+ import { config as y } from "../config/index.js";
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
@@ -19,10 +19,10 @@ import { config as b } from "../config/index.js";
19
19
  /* empty css */
20
20
  /* empty css */
21
21
  /* empty css */
22
- import { u as me } from "./useDatePicker.DnhbkLG1.js";
22
+ import { a as me } from "./useDatePicker.BwRlPS-o.js";
23
23
  /* empty css */
24
24
  import { useDatePickerPresets as ue } from "../components/UiDatepicker/composables/useDatePickerPresets.js";
25
- import { useDatePickerSelected as de } from "../components/UiDatepicker/composables/useDatePickerSelected.js";
25
+ import { useDatePickerSelected as ce } from "../components/UiDatepicker/composables/useDatePickerSelected.js";
26
26
  /* empty css */
27
27
  /* empty css */
28
28
  /* empty css */
@@ -39,15 +39,15 @@ import "vue-router";
39
39
  /* empty css */
40
40
  /* empty css */
41
41
  /* empty css */
42
- const ce = {
42
+ const de = {
43
43
  key: 1,
44
44
  class: "ui-datepicker__trigger"
45
45
  }, pe = { class: "ui-datepicker__navigate" }, ve = { class: "ui-datepicker__navigate-value" }, fe = { class: "ui-datepicker__actions" }, ge = {
46
46
  key: 0,
47
47
  class: "ui-datepicker__actions-slot"
48
- }, ke = { class: "ui-datepicker__actions-btns" }, ot = /* @__PURE__ */ x({
48
+ }, ke = { class: "ui-datepicker__actions-btns" }, oa = /* @__PURE__ */ x({
49
49
  __name: "UiDatepickerRange",
50
- props: /* @__PURE__ */ N({
50
+ props: /* @__PURE__ */ R({
51
51
  disabled: { type: Boolean },
52
52
  beginDate: {},
53
53
  size: { default: "xs" },
@@ -63,127 +63,127 @@ const ce = {
63
63
  modelValue: { default: [] },
64
64
  modelModifiers: {}
65
65
  }),
66
- emits: /* @__PURE__ */ N(["clear"], ["update:modelValue"]),
67
- setup(w, { emit: Q }) {
68
- const n = w, j = Q, i = ee(w, "modelValue"), { width: W } = re(), { dayjs: m, today: q, endDate: _, startDate: V, beginDate: G, modelValueFormat: h } = me(i), M = k(
69
- () => n.enableTimePicker ? `${h.value} HH:mm` : h.value
70
- ), u = $(), o = $(["", ""]), d = $(!1), J = k(
71
- () => n.beginDate ? m(n.beginDate).format(h.value) : null
72
- ), v = k(() => n.maxDate ?? q), B = k(() => n.minDate), { presets: f } = ue({ beginDate: J.value ?? G.value }), { isAllTimeSelected: K, selectedDate: A, formattedSelectedDate: L, selectedRange: O } = de({
73
- presets: f,
66
+ emits: /* @__PURE__ */ R(["clear"], ["update:modelValue"]),
67
+ setup(T, { emit: Q }) {
68
+ const n = T, j = Q, i = ee(T, "modelValue"), { width: W } = re(), { dayjs: m, today: q, endDate: _, startDate: V, beginDate: G, modelValueFormat: w } = me(i), h = p(
69
+ () => n.enableTimePicker ? y.uiDatePicker.modelValueFormatTime : w.value
70
+ ), u = S(), o = S(["", ""]), c = S(!1), J = p(
71
+ () => n.beginDate ? m(n.beginDate).format(w.value) : null
72
+ ), f = p(() => n.maxDate ?? q), P = p(() => n.minDate), { presets: g } = ue({ beginDate: J.value ?? G.value }), { isAllTimeSelected: K, selectedDate: M, formattedSelectedDate: L, selectedRange: O } = ce({
73
+ presets: g,
74
74
  startDate: V,
75
75
  endDate: _,
76
- minDate: B,
77
- maxDate: v
76
+ minDate: P,
77
+ maxDate: f,
78
+ enableTimePicker: p(() => n.enableTimePicker)
78
79
  });
79
80
  function X(e) {
80
- H(e.date), u.value.closeMenu();
81
+ I(e.date), u.value.closeMenu();
81
82
  }
82
83
  function Z(e) {
83
84
  if (!e) return;
84
- const a = Array.isArray(e) ? e : [e, e];
85
- d.value = e.length < 2, a.length === 2 && (o.value = a);
85
+ const t = Array.isArray(e) ? e : [e, e];
86
+ c.value = e.length < 2, t.length === 2 && (o.value = t);
86
87
  }
87
- function T(e) {
88
- i.value = [m(e[0]).format(M.value), m(e[1]).format(M.value)];
88
+ function A(e) {
89
+ i.value = [m(e[0]).format(h.value), m(e[1]).format(h.value)];
89
90
  }
90
- function H(e) {
91
- const a = Array.isArray(e) ? e : [e, e];
91
+ function I(e) {
92
+ const t = Array.isArray(e) ? e : [e, e];
92
93
  if (V.value && _.value) {
93
94
  const l = n.enableTimePicker ? "minute" : "day";
94
- V.value.isSame(a[0], l) && _.value.isSame(a[1], l) || T(a);
95
+ V.value.isSame(t[0], l) && _.value.isSame(t[1], l) || A(t);
95
96
  } else
96
- T(a);
97
+ A(t);
97
98
  }
98
99
  function Y() {
99
- const e = n.single ? m(o.value[0], b.uiDatePicker.modelValueFormat).toDate() : o.value;
100
+ const e = n.single ? m(o.value[0], h.value).toDate() : o.value;
100
101
  u.value?.updateInternalModelValue(e), u.value?.setMonthYear({
101
102
  month: m(o.value[0]).month(),
102
103
  year: m(o.value[0]).year()
103
104
  });
104
105
  }
105
- const I = () => {
106
- i.value = [], o.value = ["", ""], d.value = !0, u.value?.closeMenu(), j("clear");
106
+ const N = () => {
107
+ i.value = [], o.value = ["", ""], c.value = !0, u.value?.closeMenu(), j("clear");
107
108
  };
108
- return te(() => {
109
- i.value.length || (d.value = !0);
110
- }), (e, a) => (p(), P("div", {
111
- class: ae(["ui-datepicker-range", [e.size, { "is-disabled": e.disabled }]])
109
+ return ae(() => {
110
+ i.value.length || (c.value = !0);
111
+ }), (e, t) => (v(), $("div", {
112
+ class: te(["ui-datepicker-range", [e.size, { "is-disabled": e.disabled }]])
112
113
  }, [
113
114
  r(ne, {
114
- disabled: !i.value.length || t(K),
115
+ disabled: !i.value.length || a(K),
115
116
  modelValue: i.value,
116
- "onUpdate:modelValue": a[2] || (a[2] = (l) => i.value = l),
117
- "selected-range": t(O),
117
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => i.value = l),
118
+ "selected-range": a(O),
118
119
  "is-show": !e.hideSliderArrows,
119
- "min-date": B.value,
120
- "max-date": v.value
120
+ "enable-time-picker": e.enableTimePicker,
121
+ "min-date": P.value,
122
+ "max-date": f.value
121
123
  }, {
122
124
  default: s(() => [
123
- r(t(le), {
125
+ r(a(le), {
124
126
  position: "center",
125
- locale: t(b).locale,
127
+ locale: a(y).locale,
126
128
  ref_key: "pickerRef",
127
129
  ref: u,
128
130
  "model-value": e.single ? i.value[0] : i.value,
129
131
  "enable-time-picker": e.enableTimePicker,
130
132
  "time-picker-inline": e.enableTimePicker,
131
- "hours-grid-increment": 1,
132
- "minutes-grid-increment": 1,
133
133
  range: !e.single,
134
- "multi-calendars": !e.single && t(W) > 1e3,
134
+ "multi-calendars": !e.single && a(W) > 1e3,
135
135
  "month-name-format": "long",
136
- "max-date": v.value,
137
- "min-date": B.value,
138
- "start-date": v.value,
136
+ "max-date": f.value,
137
+ "min-date": P.value,
138
+ "start-date": f.value,
139
139
  "auto-apply": e.autoApply,
140
140
  offset: 0,
141
141
  timezone: e.timezone,
142
- "onUpdate:modelValue": H,
142
+ "onUpdate:modelValue": I,
143
143
  onInternalModelChange: Z
144
144
  }, {
145
145
  "left-sidebar": s(() => [
146
- !e.single && t(f).length ? (p(), U(oe, {
146
+ !e.single && a(g).length ? (v(), F(oe, {
147
147
  key: 0,
148
- presets: t(f),
148
+ presets: a(g),
149
149
  date: o.value,
150
150
  onChange: X
151
151
  }, null, 8, ["presets", "date"])) : z("", !0),
152
152
  r(ie, {
153
153
  onChange: Y,
154
- onSubmit: a[0] || (a[0] = (l) => u.value.selectDate()),
154
+ onSubmit: t[0] || (t[0] = (l) => u.value.selectDate()),
155
155
  modelValue: o.value,
156
- "onUpdate:modelValue": a[1] || (a[1] = (l) => o.value = l),
156
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => o.value = l),
157
157
  single: e.single
158
158
  }, null, 8, ["modelValue", "single"])
159
159
  ]),
160
160
  trigger: s(() => [
161
- e.$slots.trigger ? R(e.$slots, "trigger", {
161
+ e.$slots.trigger ? U(e.$slots, "trigger", {
162
162
  key: 0,
163
163
  date: i.value,
164
- presets: t(f),
165
- selectedDate: t(A),
166
- formattedSelectedDate: t(L)
167
- }) : (p(), P("button", ce, [
168
- r(t(se), {
164
+ presets: a(g),
165
+ selectedDate: a(M),
166
+ formattedSelectedDate: a(L)
167
+ }) : (v(), $("button", de, [
168
+ r(a(se), {
169
169
  type: "400",
170
170
  name: "calendar-month"
171
171
  }),
172
- C(y(t(A)), 1)
172
+ C(b(a(M)), 1)
173
173
  ]))
174
174
  ]),
175
- "month-year": s(({ month: l, months: c, handleMonthYearChange: g }) => [
175
+ "month-year": s(({ month: l, months: d, handleMonthYearChange: k }) => [
176
176
  D("div", pe, [
177
- r(F, {
178
- onClick: (S) => g && g(!1),
177
+ r(E, {
178
+ onClick: (B) => k && k(!1),
179
179
  "icon-type": "400",
180
180
  size: "lg",
181
181
  "icon-name": "chevron-left 1",
182
182
  "no-size": ""
183
183
  }, null, 8, ["onClick"]),
184
- D("span", ve, y(c?.find((S) => S.value === l)?.text), 1),
185
- r(F, {
186
- onClick: (S) => g && g(!0),
184
+ D("span", ve, b(d?.find((B) => B.value === l)?.text), 1),
185
+ r(E, {
186
+ onClick: (B) => k && k(!0),
187
187
  "icon-type": "400",
188
188
  size: "lg",
189
189
  "icon-name": "chevron-right",
@@ -191,36 +191,36 @@ const ce = {
191
191
  }, null, 8, ["onClick"])
192
192
  ])
193
193
  ]),
194
- "action-row": s(({ disabled: l, selectDate: c }) => [
194
+ "action-row": s(({ disabled: l, selectDate: d }) => [
195
195
  D("div", fe, [
196
- e.$slots["action-row"] ? (p(), P("div", ge, [
197
- R(e.$slots, "action-row", {
196
+ e.$slots["action-row"] ? (v(), $("div", ge, [
197
+ U(e.$slots, "action-row", {
198
198
  disabled: l,
199
- selectDate: c,
200
- clearDate: I,
201
- isDisabledBtn: d.value,
199
+ selectDate: d,
200
+ clearDate: N,
201
+ isDisabledBtn: c.value,
202
202
  modelValue: i.value,
203
203
  clearable: e.clearable
204
204
  })
205
205
  ])) : z("", !0),
206
206
  D("div", ke, [
207
- r(t(E), {
208
- disabled: d.value || l,
207
+ r(a(H), {
208
+ disabled: c.value || l,
209
209
  mode: "neutral",
210
- onClick: c
210
+ onClick: d
211
211
  }, {
212
212
  default: s(() => [
213
- C(y(t(b).uiDatePicker.translations.applyButton), 1)
213
+ C(b(a(y).uiDatePicker.translations.applyButton), 1)
214
214
  ]),
215
215
  _: 2
216
216
  }, 1032, ["disabled", "onClick"]),
217
- i.value.length && e.clearable ? (p(), U(t(E), {
217
+ i.value.length && e.clearable ? (v(), F(a(H), {
218
218
  key: 0,
219
219
  type: "secondary",
220
- onClick: I
220
+ onClick: N
221
221
  }, {
222
222
  default: s(() => [
223
- C(y(t(b).uiDatePicker.translations.clearButton), 1)
223
+ C(b(a(y).uiDatePicker.translations.clearButton), 1)
224
224
  ]),
225
225
  _: 1
226
226
  })) : z("", !0)
@@ -231,10 +231,10 @@ const ce = {
231
231
  }, 8, ["locale", "model-value", "enable-time-picker", "time-picker-inline", "range", "multi-calendars", "max-date", "min-date", "start-date", "auto-apply", "timezone"])
232
232
  ]),
233
233
  _: 3
234
- }, 8, ["disabled", "modelValue", "selected-range", "is-show", "min-date", "max-date"])
234
+ }, 8, ["disabled", "modelValue", "selected-range", "is-show", "enable-time-picker", "min-date", "max-date"])
235
235
  ], 2));
236
236
  }
237
237
  });
238
238
  export {
239
- ot as _
239
+ oa as _
240
240
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, mergeModels as k, useCssVars as R, ref as p, useModel as N, computed as _, watch as D, createElementBlock as b, openBlock as r, createElementVNode as C, createBlock as h, normalizeClass as a, renderSlot as $, createCommentVNode as M, Teleport as H, normalizeStyle as O, createVNode as T, Transition as U, withCtx as j } from "vue";
2
- import { _ as x } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
2
+ import { _ as x } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
3
3
  /* empty css */
4
4
  import { u as F, o as I, s as P, f as q, a as A, b as G } from "./floating-ui.vue.CQbj4WJd.js";
5
5
  import { o as J, a as K } from "./index.Cp1LhIxy.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, computed as n, createElementBlock as f, openBlock as p, createElementVNode as i, createVNode as l, toDisplayString as t, withCtx as d, createTextVNode as u, unref as g } from "vue";
2
- import { _ as v } from "./UiButton.vue_vue_type_script_setup_true_lang.C58Ve9-q.js";
2
+ import { _ as v } from "./UiButton.vue_vue_type_script_setup_true_lang.C102Xym_.js";
3
3
  import "./style.C3xG1ALc.js";
4
4
  import { _ as h } from "./UiProgressBar.vue_vue_type_script_setup_true_lang.CB-UHfBS.js";
5
5
  /* empty css */
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, mergeModels as C, useModel as V, ref as x, computed as v, watch as I, onMounted as E, onUnmounted as L, createBlock as M, openBlock as m, Teleport as U, createVNode as t, Transition as k, withCtx as p, createElementBlock as h, createCommentVNode as B, withModifiers as N, createElementVNode as n, normalizeClass as _ } from "vue";
2
- import { _ as g } from "./UiIcon.vue_vue_type_script_setup_true_lang.BjdWpbZ0.js";
2
+ import { _ as g } from "./UiIcon.vue_vue_type_script_setup_true_lang.DFsApq5s.js";
3
3
  /* empty css */
4
4
  const z = ["disabled"], R = { class: "ui-gallery__slider" }, $ = { class: "ui-gallery__slide" }, A = ["src"], O = ["disabled"], G = /* @__PURE__ */ w({
5
5
  __name: "UiGallery",