bitboss-ui 2.0.105 → 2.0.107

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 (175) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -1
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +1 -7
  3. package/dist/components/BbAlert/BbAlert.vue.d.ts +0 -1
  4. package/dist/components/BbChip/BbChip.vue.d.ts +0 -1
  5. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +0 -1
  6. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
  7. package/dist/components/BbRows/BbRows.vue.d.ts +1 -0
  8. package/dist/components/BbTable/BbTable.vue.d.ts +2 -7
  9. package/dist/components/BbTable/types.d.ts +13 -0
  10. package/dist/components/ListBox.vue.d.ts +0 -2
  11. package/dist/composables/useLocale.d.ts +1 -1
  12. package/dist/i18n/en.d.ts +45 -0
  13. package/dist/i18n/it.d.ts +45 -0
  14. package/dist/index100.js +46 -45
  15. package/dist/index111.js +223 -205
  16. package/dist/index119.js +2 -2
  17. package/dist/index121.js +55 -54
  18. package/dist/index123.js +1 -1
  19. package/dist/index125.js +14 -13
  20. package/dist/index127.js +1 -1
  21. package/dist/index128.js +1 -1
  22. package/dist/index129.js +1 -1
  23. package/dist/index13.js +2 -2
  24. package/dist/index133.js +2 -2
  25. package/dist/index15.js +36 -35
  26. package/dist/index17.js +3 -3
  27. package/dist/index19.js +63 -64
  28. package/dist/index207.js +8 -2
  29. package/dist/index208.js +3 -4
  30. package/dist/index209.js +53 -2
  31. package/dist/index21.js +110 -103
  32. package/dist/index211.js +13 -16
  33. package/dist/index212.js +3 -16
  34. package/dist/index213.js +40 -18
  35. package/dist/index214.js +6 -19
  36. package/dist/index215.js +7 -27
  37. package/dist/index216.js +12 -3
  38. package/dist/index217.js +13 -2
  39. package/dist/index218.js +2 -8
  40. package/dist/index219.js +4 -250
  41. package/dist/index220.js +2 -52
  42. package/dist/index221.js +3 -44
  43. package/dist/index222.js +20 -5
  44. package/dist/index223.js +4 -60
  45. package/dist/index224.js +281 -84
  46. package/dist/index225.js +18 -0
  47. package/dist/index226.js +16 -8
  48. package/dist/index227.js +18 -24
  49. package/dist/index228.js +14 -16
  50. package/dist/index229.js +18 -47
  51. package/dist/index23.js +127 -119
  52. package/dist/index230.js +27 -15
  53. package/dist/index231.js +2 -12
  54. package/dist/index232.js +250 -16
  55. package/dist/index233.js +52 -3
  56. package/dist/index234.js +44 -41
  57. package/dist/index235.js +5 -6
  58. package/dist/index236.js +60 -7
  59. package/dist/index237.js +126 -12
  60. package/dist/index238.js +124 -52
  61. package/dist/index239.js +4 -0
  62. package/dist/index240.js +4 -12
  63. package/dist/index241.js +369 -3
  64. package/dist/index242.js +85 -125
  65. package/dist/index244.js +25 -2
  66. package/dist/index245.js +16 -19
  67. package/dist/index246.js +48 -5
  68. package/dist/index247.js +12 -366
  69. package/dist/index248.js +12 -4
  70. package/dist/index249.js +16 -2
  71. package/dist/index25.js +44 -41
  72. package/dist/index250.js +2 -2
  73. package/dist/index251.js +18 -2
  74. package/dist/index252.js +105 -17
  75. package/dist/{index255.js → index254.js} +2 -2
  76. package/dist/index256.js +14 -0
  77. package/dist/index257.js +2 -12
  78. package/dist/index258.js +2 -10
  79. package/dist/index259.js +9 -2
  80. package/dist/index260.js +3 -6
  81. package/dist/index261.js +8 -15
  82. package/dist/index262.js +23 -9
  83. package/dist/index263.js +88 -8
  84. package/dist/index265.js +6 -89
  85. package/dist/index266.js +18 -0
  86. package/dist/index267.js +9 -4
  87. package/dist/index268.js +9 -6
  88. package/dist/index269.js +8 -2
  89. package/dist/index27.js +1 -1
  90. package/dist/index270.js +28 -2
  91. package/dist/index271.js +3 -2
  92. package/dist/index273.js +7 -2
  93. package/dist/index274.js +431 -2
  94. package/dist/index275.js +1 -1
  95. package/dist/index276.js +89 -2
  96. package/dist/index277.js +7 -2
  97. package/dist/index278.js +11 -2
  98. package/dist/index279.js +4 -28
  99. package/dist/index280.js +224 -22
  100. package/dist/index281.js +202 -0
  101. package/dist/index282.js +175 -6
  102. package/dist/index283.js +6 -3
  103. package/dist/index284.js +2 -7
  104. package/dist/index285.js +2 -11
  105. package/dist/index286.js +2 -17
  106. package/dist/index287.js +2 -9
  107. package/dist/index288.js +2 -431
  108. package/dist/index289.js +2 -2
  109. package/dist/index29.js +2 -2
  110. package/dist/index290.js +2 -89
  111. package/dist/index291.js +2 -3
  112. package/dist/index292.js +4 -0
  113. package/dist/index293.js +2 -224
  114. package/dist/index294.js +2 -200
  115. package/dist/index295.js +22 -2
  116. package/dist/index297.js +2 -176
  117. package/dist/index298.js +125 -21
  118. package/dist/index299.js +24 -0
  119. package/dist/index301.js +3 -436
  120. package/dist/index302.js +16 -126
  121. package/dist/index303.js +436 -3
  122. package/dist/index304.js +127 -3
  123. package/dist/index305.js +3 -213
  124. package/dist/index306.js +3 -3
  125. package/dist/index307.js +214 -3
  126. package/dist/index308.js +3 -58
  127. package/dist/index309.js +3 -7
  128. package/dist/index31.js +2 -2
  129. package/dist/index310.js +3 -19
  130. package/dist/index311.js +56 -64
  131. package/dist/index312.js +2 -7
  132. package/dist/index313.js +67 -2
  133. package/dist/index314.js +5 -5
  134. package/dist/index315.js +32 -7
  135. package/dist/index316.js +7 -8
  136. package/dist/index317.js +18 -7
  137. package/dist/index318.js +53 -5
  138. package/dist/index319.js +53 -3
  139. package/dist/index320.js +46 -3
  140. package/dist/index321.js +6 -32
  141. package/dist/index322.js +4 -46
  142. package/dist/index323.js +8 -2
  143. package/dist/index324.js +2 -2
  144. package/dist/index325.js +6 -0
  145. package/dist/index326.js +2 -424
  146. package/dist/index328.js +424 -2
  147. package/dist/index33.js +45 -45
  148. package/dist/index35.js +56 -55
  149. package/dist/index37.js +166 -165
  150. package/dist/index39.js +4 -4
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +70 -71
  153. package/dist/index45.js +7 -7
  154. package/dist/index47.js +2 -2
  155. package/dist/index49.js +2 -2
  156. package/dist/index53.js +28 -27
  157. package/dist/index55.js +1 -1
  158. package/dist/index57.js +2 -2
  159. package/dist/index61.js +32 -31
  160. package/dist/index75.js +3 -3
  161. package/dist/index77.js +87 -86
  162. package/dist/index79.js +2 -2
  163. package/dist/index81.js +1 -1
  164. package/dist/index84.js +45 -44
  165. package/dist/index86.js +67 -66
  166. package/dist/index88.js +69 -67
  167. package/package.json +1 -1
  168. package/dist/index210.js +0 -283
  169. package/dist/index243.js +0 -127
  170. package/dist/index253.js +0 -108
  171. package/dist/index264.js +0 -25
  172. package/dist/index296.js +0 -128
  173. package/dist/index300.js +0 -10
  174. /package/dist/{index327.js → index329.js} +0 -0
  175. /package/dist/{index272.js → index330.js} +0 -0
package/dist/index23.js CHANGED
@@ -1,28 +1,31 @@
1
- import { defineComponent as te, ref as o, computed as v, watch as ae, openBlock as w, createBlock as V, normalizeClass as _, withCtx as n, renderSlot as d, createVNode as E, withDirectives as oe, createElementVNode as i, mergeProps as I, unref as c, withModifiers as re, toDisplayString as ne, normalizeStyle as le, KeepAlive as ie, createCommentVNode as F } from "vue";
2
- import { useFloating as se } from "./index242.js";
3
- import r from "./index210.js";
4
- import ue from "./index243.js";
5
- import de from "./index213.js";
6
- import ce from "./index211.js";
7
- import pe from "./index212.js";
8
- import { identity as me } from "./index244.js";
9
- import { last as fe } from "./index217.js";
10
- import { useFocusTrap as be } from "./index234.js";
11
- import { useId as ve } from "./index8.js";
12
- import { useIntersectionObserver as ye } from "./index132.js";
13
- import { useMobile as ge } from "./index9.js";
14
- import { vMaska as ke } from "./index245.js";
15
- import { wait as Me } from "./index130.js";
16
- import { waitFor as he } from "./index235.js";
17
- import we from "./index21.js";
1
+ import { defineComponent as re, watchEffect as ne, ref as o, computed as y, watch as le, openBlock as D, createBlock as V, normalizeClass as P, withCtx as n, renderSlot as p, createVNode as E, withDirectives as ie, createElementVNode as i, mergeProps as F, unref as s, withModifiers as se, toDisplayString as A, normalizeStyle as ue, KeepAlive as de, createCommentVNode as L } from "vue";
2
+ import { useFloating as ce } from "./index237.js";
3
+ import r from "./index224.js";
4
+ import pe from "./index238.js";
5
+ import me from "./index225.js";
6
+ import fe from "./index226.js";
7
+ import be from "./index227.js";
8
+ import ve from "./index228.js";
9
+ import { identity as ye } from "./index239.js";
10
+ import { last as ge } from "./index231.js";
11
+ import { useFocusTrap as ke } from "./index213.js";
12
+ import { useId as he } from "./index8.js";
13
+ import { useIntersectionObserver as Me } from "./index132.js";
14
+ import { useLocale as we } from "./index217.js";
15
+ import { useMobile as De } from "./index9.js";
16
+ import { vMaska as Ve } from "./index222.js";
17
+ import { wait as Ye } from "./index130.js";
18
+ import { waitFor as Ce } from "./index214.js";
19
+ import Se from "./index21.js";
18
20
  /* empty css */
19
- import Ve from "./index238.js";
21
+ import Ie from "./index216.js";
22
+ import Be from "./index209.js";
20
23
  /* empty css */
21
- import Ce from "./index240.js";
22
- import Ye from "./index246.js";
23
- import Ae from "./index237.js";
24
- import { autoUpdate as De, flip as Se, offset as $e, shift as Be, hide as Oe } from "./index247.js";
25
- const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Ee = ["aria-label", "disabled"], Ie = ["id"], nt = /* @__PURE__ */ te({
24
+ import Oe from "./index211.js";
25
+ import _e from "./index240.js";
26
+ import { _config as $e } from "./index4.js";
27
+ import { autoUpdate as Pe, flip as Ee, offset as Fe, shift as Ae, hide as Le } from "./index241.js";
28
+ const We = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], je = ["aria-label", "disabled"], qe = ["id"], ft = /* @__PURE__ */ re({
26
29
  __name: "BaseDatePickerInput",
27
30
  props: {
28
31
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -48,173 +51,178 @@ const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
48
51
  width: { default: 290 }
49
52
  },
50
53
  emits: ["active", "error", "focus", "inactive", "update:modelValue"],
51
- setup(L, { emit: W }) {
52
- r.extend(ue), r.extend(ce), r.extend(pe), r.locale(de);
53
- const t = L, s = W, u = o(null), C = o(null), p = o(null), z = o(null), y = o(null), A = o(), g = t.id || `bdpi-${ve().id.value}`, { isMobile: D } = ge(), j = v(
54
- () => t.allowWriting === "not-mobile" && D.value ? "none" : "numeric"
55
- ), Y = o(!0);
56
- ye(
57
- p,
54
+ setup(W, { emit: j }) {
55
+ const q = { it: be, en: ve };
56
+ r.extend(pe), r.extend(me), r.extend(fe), ne(() => {
57
+ r.locale(q[$e.locale]);
58
+ });
59
+ const t = W, u = j, { t: d } = we(), c = o(null), Y = o(null), m = o(null), H = o(null), g = o(null), S = o(), k = t.id || `bdpi-${he().id.value}`, { isMobile: I } = De(), R = y(
60
+ () => t.allowWriting === "not-mobile" && I.value ? "none" : "numeric"
61
+ ), C = o(!0);
62
+ Me(
63
+ m,
58
64
  ([{ intersectionRatio: e }]) => {
59
- e === 1 ? Y.value = !0 : (Y.value = !1, m.value && (O(), p.value && p.value.$el.querySelector(
65
+ e === 1 ? C.value = !0 : (C.value = !1, f.value && ($(), m.value && m.value.$el.querySelector(
60
66
  ".bb-base-date-picker-input__calendar-btn"
61
- ).focus(), h()));
67
+ ).focus(), w()));
62
68
  },
63
69
  { threshold: [0, 1] }
64
70
  );
65
- const q = v(() => ({
71
+ const z = y(() => ({
66
72
  "bb-base-date-picker-input": !0,
67
- "bb-base-date-picker-input--active": k.value,
73
+ "bb-base-date-picker-input--active": h.value,
68
74
  "bb-base-date-picker-input--errors": t.hasErrors,
69
75
  "bb-base-date-picker-input--loading": t.loading,
70
76
  "bb-base-date-picker-input--readonly": t.readonly,
71
77
  "bb-base-date-picker-input--disabled": t.disabled,
72
78
  "bb-base-date-picker-input--compact": t.compact
73
- })), G = {
79
+ })), N = {
74
80
  onInput: (e) => {
75
81
  if (!t.range && e.target instanceof HTMLInputElement)
76
- if (y.value = e.target.value, /\d{2}\/\d{2}\/\d{4}/.test(e.target.value)) {
82
+ if (g.value = e.target.value, /\d{2}\/\d{2}\/\d{4}/.test(e.target.value)) {
77
83
  const a = r(e.target.value, "DD/MM/YYYY");
78
- x(a) ? (e.target.value = "", s("update:modelValue", null), s("error", "invalid_date_typed")) : s("update:modelValue", a.toISOString());
79
- } else e.target.value === "" && s("update:modelValue", null);
84
+ ae(a) ? (e.target.value = "", u("update:modelValue", null), u("error", "invalid_date_typed")) : u("update:modelValue", a.toISOString());
85
+ } else e.target.value === "" && u("update:modelValue", null);
80
86
  }
81
- }, k = o(!1), P = () => {
82
- k.value || (s("active"), k.value = !0, document.addEventListener("focusin", M), document.addEventListener("click", M));
87
+ }, h = o(!1), T = () => {
88
+ h.value || (u("active"), h.value = !0, document.addEventListener("focusin", M), document.addEventListener("click", M));
83
89
  }, M = (e) => {
84
90
  var a, l;
85
- f.value || e.target instanceof HTMLElement && (a = C.value) != null && a.$el && !C.value.$el.contains(e.target) && !((l = u.value) != null && l.contains(e.target)) && (k.value = !1, s("inactive"), document.removeEventListener("focusin", M), document.removeEventListener("click", M));
86
- }, S = (e) => {
91
+ b.value || e.target instanceof HTMLElement && (a = Y.value) != null && a.$el && !Y.value.$el.contains(e.target) && !((l = c.value) != null && l.contains(e.target)) && (h.value = !1, u("inactive"), document.removeEventListener("focusin", M), document.removeEventListener("click", M));
92
+ }, B = (e) => {
87
93
  if (e)
88
94
  if (Array.isArray(e)) {
89
95
  let a, l;
90
- return e.length && (a = e[0]), e.length > 1 && (l = fe(e)), [a, l].filter(me).map((ee) => r(ee).format("DD/MM/YYYY")).join(" - ");
96
+ return e.length && (a = e[0]), e.length > 1 && (l = ge(e)), [a, l].filter(ye).map((oe) => r(oe).format("DD/MM/YYYY")).join(" - ");
91
97
  } else
92
98
  return r(e).format("DD/MM/YYYY");
93
99
  return null;
94
- }, H = v(() => y.value ? y.value : S(t.modelValue));
95
- ae(
100
+ }, U = y(() => g.value ? g.value : B(t.modelValue));
101
+ le(
96
102
  () => t.modelValue,
97
103
  (e) => {
98
- y.value = S(e);
104
+ g.value = B(e);
99
105
  }
100
106
  );
101
- const { floatingStyles: N, placement: T } = se(p, u, {
107
+ const { floatingStyles: K, placement: Z } = ce(m, c, {
102
108
  placement: "bottom",
103
- whileElementsMounted: De,
104
- middleware: [Se(), $e(5), Be({ padding: 6 }), Oe()]
105
- }), U = v(() => {
109
+ whileElementsMounted: Pe,
110
+ middleware: [Ee(), Fe(5), Ae({ padding: 6 }), Le()]
111
+ }), G = y(() => {
106
112
  const e = {
107
- ...N.value
113
+ ...K.value
108
114
  };
109
- return u.value, e;
110
- }), m = o(!1), K = async () => {
111
- m.value = !0;
112
- }, h = async () => {
115
+ return c.value, e;
116
+ }), f = o(!1), J = async () => {
117
+ f.value = !0;
118
+ }, w = async () => {
113
119
  var e;
114
- m.value = !1, (e = A.value) == null || e.resetStatus();
115
- }, $ = o(!1), B = async () => {
116
- f.value || ($.value = !0, await he(() => !!u.value), await K(), R());
117
- }, f = o(!1), { activate: R, deactivate: O } = be(u, {
118
- onActivate: () => f.value = !0,
120
+ f.value = !1, (e = S.value) == null || e.resetStatus();
121
+ }, O = o(!1), _ = async () => {
122
+ b.value || (O.value = !0, await Ce(() => !!c.value), await J(), Q());
123
+ }, b = o(!1), { activate: Q, deactivate: $ } = ke(c, {
124
+ onActivate: () => b.value = !0,
119
125
  // On post activation focus on current date
120
126
  onPostActivate: () => {
121
127
  var e;
122
- (e = u.value.querySelector(
128
+ (e = c.value.querySelector(
123
129
  ".bb-base-date-picker-date--current button"
124
130
  )) == null || e.focus();
125
131
  },
126
132
  onPostDeactivate: async () => {
127
- await Me(200), f.value = !1;
133
+ await Ye(200), b.value = !1;
128
134
  },
129
135
  /* On esc deactivate the trap, return focus and then close the modal */
130
- escapeDeactivates: () => (b.value = !1, h(), !0),
131
- clickOutsideDeactivates: () => (b.value = !1, h(), !0),
136
+ escapeDeactivates: () => (v.value = !1, w(), !0),
137
+ clickOutsideDeactivates: () => (v.value = !1, w(), !0),
132
138
  allowOutsideClick: !0,
133
139
  preventScroll: !0
134
- }), b = o(!t.allowWriting || t.range), Z = async (e) => {
135
- s("focus", e), b.value && B(), b.value = !t.allowWriting || t.allowWriting === "not-mobile" && D.value || t.range;
136
- }, J = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, Q = {
140
+ }), v = o(!t.allowWriting || t.range), X = async (e) => {
141
+ u("focus", e), v.value && _(), v.value = !t.allowWriting || t.allowWriting === "not-mobile" && I.value || t.range;
142
+ }, x = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, ee = {
137
143
  "onUpdate:modelValue": (e) => {
138
- s("update:modelValue", e), J(e) && (b.value = !1, O({
144
+ u("update:modelValue", e), x(e) && (v.value = !1, $({
139
145
  onPostDeactivate: () => {
140
- f.value = !1, h();
146
+ b.value = !1, w();
141
147
  }
142
148
  }));
143
149
  }
144
- }, X = v(() => {
150
+ }, te = y(() => {
145
151
  if (t.range) {
146
152
  if (!t.modelValue || t.modelValue.length < 2)
147
- return "Seleziona un range";
153
+ return d("baseDatePickerInput.emptyRange").value;
148
154
  const e = r(t.modelValue[0]).format("D MMMM YYYY"), a = r(t.modelValue[1]).format("D MMMM YYYY");
149
155
  if (t.range && t.modelValue.length === 2)
150
- return `Cambia selezione, da ${e} a ${a}`;
151
- } else if (typeof t.modelValue == "string")
152
- return `Cambia selezione, ${r(t.modelValue).format("D MMMM YYYY")}`;
153
- return "Seleziona una data";
154
- }), x = (e) => {
156
+ return d("baseDatePickerInput.changeSelectionRange", e, a).value;
157
+ } else if (typeof t.modelValue == "string") {
158
+ const e = r(t.modelValue).format("D MMMM YYYY");
159
+ return d("baseDatePickerInput.changeSelection", e).value;
160
+ }
161
+ return d("baseDatePickerInput.emptySelection").value;
162
+ }), ae = (e) => {
155
163
  let a = !0;
156
164
  return t.min && a && (a = e.isSameOrAfter(r(t.min).startOf("day"))), t.max && a && (a = e.isSameOrBefore(r(t.max).startOf("day"))), typeof t.selectable == "function" && a && (a = t.selectable(e.toDate())), !a;
157
165
  };
158
- return (e, a) => (w(), V(Ce, {
166
+ return (e, a) => (D(), V(Oe, {
159
167
  ref_key: "outerContainer",
160
- ref: C,
161
- class: _(q.value),
162
- onFocusin: P
168
+ ref: Y,
169
+ class: P(z.value),
170
+ onFocusin: T
163
171
  }, {
164
172
  "prepend-outer": n(() => [
165
- d(e.$slots, "prepend-outer")
173
+ p(e.$slots, "prepend-outer")
166
174
  ]),
167
175
  "append-outer": n(() => [
168
- d(e.$slots, "append-outer")
176
+ p(e.$slots, "append-outer")
169
177
  ]),
170
178
  default: n(() => [
171
- E(Ve, {
179
+ E(Be, {
172
180
  ref_key: "innerContainer",
173
- ref: p,
181
+ ref: m,
174
182
  "append:icon": t["append:icon"],
175
183
  "prepend:icon": t["prepend:icon"]
176
184
  }, {
177
185
  prepend: n(() => [
178
- d(e.$slots, "prepend")
186
+ p(e.$slots, "prepend")
179
187
  ]),
180
188
  prefix: n(() => [
181
- d(e.$slots, "prefix")
189
+ p(e.$slots, "prefix")
182
190
  ]),
183
191
  append: n(() => [
184
- d(e.$slots, "append")
192
+ p(e.$slots, "append")
185
193
  ]),
186
194
  suffix: n(() => [
187
- d(e.$slots, "suffix")
195
+ p(e.$slots, "suffix")
188
196
  ]),
189
197
  default: n(() => [
190
- oe(i("input", I({
191
- id: c(g),
198
+ ie(i("input", F({
199
+ id: s(k),
192
200
  ref_key: "input",
193
- ref: z,
194
- "aria-describedby": `bdpi-description_${c(g)}`,
201
+ ref: H,
202
+ "aria-describedby": `bdpi-description_${s(k)}`,
195
203
  autocomplete: e.autocomplete,
196
204
  autofocus: e.autofocus,
197
205
  "data-maska": t.range ? "##/##/#### - ##/##/####" : "##/##/####",
198
206
  disabled: e.disabled,
199
- inputmode: j.value,
207
+ inputmode: R.value,
200
208
  name: e.name,
201
209
  placeholder: e.placeholder,
202
210
  readonly: e.readonly || e.range || !e.allowWriting,
203
211
  required: e.required
204
- }, G, {
212
+ }, N, {
205
213
  size: "1",
206
214
  type: "text",
207
- value: H.value,
208
- onFocus: Z
209
- }), null, 16, _e), [
210
- [c(ke)]
215
+ value: U.value,
216
+ onFocus: X
217
+ }), null, 16, We), [
218
+ [s(Ve)]
211
219
  ]),
212
220
  i("button", {
213
- "aria-label": X.value,
221
+ "aria-label": te.value,
214
222
  class: "bb-base-date-picker-input__calendar-btn",
215
- disabled: e.disabled || e.readonly || !Y.value,
223
+ disabled: e.disabled || e.readonly || !C.value,
216
224
  type: "button",
217
- onClick: re(B, ["stop"])
225
+ onClick: se(_, ["stop"])
218
226
  }, a[0] || (a[0] = [
219
227
  i("svg", {
220
228
  fill: "none",
@@ -246,38 +254,38 @@ const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
246
254
  "stroke-linejoin": "round"
247
255
  })
248
256
  ], -1)
249
- ]), 8, Ee),
257
+ ]), 8, je),
250
258
  i("span", {
251
- id: `bdpi-description_${c(g)}`,
259
+ id: `bdpi-description_${s(k)}`,
252
260
  class: "bb-base-date-picker-input__accessible-description sr-only"
253
- }, "Formato della data " + ne(t.range ? "GG/MM/AAAA - GG/MM/AAAA" : "GG/MM/AAAA"), 9, Ie)
261
+ }, A(s(d)("baseDatePickerInput.dateFormat")) + " " + A(t.range ? s(d)("baseDatePickerInput.dateFormatRange") : s(d)("baseDatePickerInput.dateFormatSingle")), 9, qe)
254
262
  ]),
255
263
  _: 3
256
264
  }, 8, ["append:icon", "prepend:icon"]),
257
- $.value ? (w(), V(Ae, { key: 0 }, {
265
+ O.value ? (D(), V(Ie, { key: 0 }, {
258
266
  default: n(() => {
259
267
  var l;
260
268
  return [
261
269
  i("span", {
262
270
  ref_key: "calendar",
263
- ref: u,
264
- class: _(["bb-base-date-picker-input__calendar", {
265
- "bb-base-date-picker-input__calendar--shown": m.value
271
+ ref: c,
272
+ class: P(["bb-base-date-picker-input__calendar", {
273
+ "bb-base-date-picker-input__calendar--shown": f.value
266
274
  }]),
267
- style: le(U.value)
275
+ style: ue(G.value)
268
276
  }, [
269
- E(Ye, {
270
- direction: (l = c(T)) != null && l.includes("top") ? "bottom" : "top",
277
+ E(_e, {
278
+ direction: (l = s(Z)) != null && l.includes("top") ? "bottom" : "top",
271
279
  duration: 300
272
280
  }, {
273
281
  default: n(() => [
274
- (w(), V(ie, null, [
275
- m.value ? (w(), V(we, I({
282
+ (D(), V(de, null, [
283
+ f.value ? (D(), V(Se, F({
276
284
  key: 0,
277
- id: c(g)
278
- }, Q, {
285
+ id: s(k)
286
+ }, ee, {
279
287
  ref_key: "basedatepicker",
280
- ref: A,
288
+ ref: S,
281
289
  disabled: e.disabled,
282
290
  "first-day-of-week": e.firstDayOfWeek,
283
291
  max: e.max,
@@ -286,7 +294,7 @@ const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
286
294
  range: e.range,
287
295
  readonly: e.readonly,
288
296
  selectable: e.selectable
289
- }), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])) : F("", !0)
297
+ }), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])) : L("", !0)
290
298
  ], 1024))
291
299
  ]),
292
300
  _: 1
@@ -295,12 +303,12 @@ const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
295
303
  ];
296
304
  }),
297
305
  _: 1
298
- })) : F("", !0)
306
+ })) : L("", !0)
299
307
  ]),
300
308
  _: 3
301
309
  }, 8, ["class"]));
302
310
  }
303
311
  });
304
312
  export {
305
- nt as default
313
+ ft as default
306
314
  };
package/dist/index230.js CHANGED
@@ -1,17 +1,29 @@
1
- import { isNil as f } from "./index250.js";
2
- import { computed as t, unref as o } from "vue";
3
- const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
- const i = t(
5
- () => new Array().concat(o(e))
6
- ), s = t(() => i.value.reduce(
7
- (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
- { coherent: [], incoherent: [] }
9
- )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
- return {
11
- status: s,
12
- coherent: c
13
- };
14
- };
1
+ import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index283.js";
2
+ import { __module as n } from "./index290.js";
3
+ (function(f, p) {
4
+ (function(r, e) {
5
+ f.exports = e();
6
+ })(k, function() {
7
+ var r = "week", e = "year";
8
+ return function(w, u, a) {
9
+ var o = u.prototype;
10
+ o.week = function(t) {
11
+ if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
12
+ var s = this.$locale().yearStart || 1;
13
+ if (this.month() === 11 && this.date() > 25) {
14
+ var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
15
+ if (l.isBefore(d)) return 1;
16
+ }
17
+ var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
18
+ return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
19
+ }, o.weeks = function(t) {
20
+ return t === void 0 && (t = null), this.week(t);
21
+ };
22
+ };
23
+ });
24
+ })(n);
25
+ var m = n.exports;
26
+ const x = /* @__PURE__ */ c(m);
15
27
  export {
16
- a as useCoherence
28
+ x as default
17
29
  };
package/dist/index231.js CHANGED
@@ -1,14 +1,4 @@
1
- import { hash as e } from "./index216.js";
2
- import { debouncedWatch as s } from "./index205.js";
3
- const n = (o, c, h) => {
4
- s(
5
- o,
6
- (r, t) => {
7
- e(r) !== e(t) && c(r, t);
8
- },
9
- h
10
- );
11
- };
1
+ const e = (t) => t[t.length - 1];
12
2
  export {
13
- n as useHashedWatcher
3
+ e as last
14
4
  };