bitboss-ui 2.0.78 → 2.0.79

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 (159) hide show
  1. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
  2. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
  3. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
  4. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
  5. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +1 -1
  6. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  7. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -1
  8. package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
  9. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  10. package/dist/components/OptionsContainer.vue.d.ts +1 -1
  11. package/dist/index110.js +5 -5
  12. package/dist/index118.js +25 -21
  13. package/dist/index120.js +5 -5
  14. package/dist/index122.js +1 -1
  15. package/dist/index126.js +1 -1
  16. package/dist/index127.js +1 -1
  17. package/dist/index128.js +1 -1
  18. package/dist/index13.js +1 -1
  19. package/dist/index130.js +1 -1
  20. package/dist/index132.js +2 -2
  21. package/dist/index133.js +2 -2
  22. package/dist/index15.js +4 -4
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +2 -2
  25. package/dist/index204.js +2 -81
  26. package/dist/index205.js +5 -2
  27. package/dist/index206.js +16 -8
  28. package/dist/index207.js +16 -3
  29. package/dist/index208.js +18 -40
  30. package/dist/index209.js +19 -6
  31. package/dist/index21.js +14 -14
  32. package/dist/index210.js +27 -7
  33. package/dist/index211.js +3 -5
  34. package/dist/index212.js +2 -16
  35. package/dist/index213.js +8 -16
  36. package/dist/index214.js +249 -19
  37. package/dist/index215.js +51 -18
  38. package/dist/index216.js +44 -27
  39. package/dist/index217.js +5 -3
  40. package/dist/index218.js +60 -2
  41. package/dist/index219.js +47 -243
  42. package/dist/index221.js +13 -44
  43. package/dist/index222.js +20 -5
  44. package/dist/index223.js +4 -60
  45. package/dist/index224.js +124 -51
  46. package/dist/index225.js +127 -0
  47. package/dist/index226.js +2 -13
  48. package/dist/index227.js +39 -162
  49. package/dist/index228.js +5 -83
  50. package/dist/index229.js +7 -0
  51. package/dist/index23.js +188 -187
  52. package/dist/index230.js +12 -3
  53. package/dist/index231.js +353 -110
  54. package/dist/index232.js +81 -125
  55. package/dist/index233.js +3 -2
  56. package/dist/index234.js +2 -20
  57. package/dist/index235.js +4 -5
  58. package/dist/index236.js +2 -369
  59. package/dist/index237.js +164 -4
  60. package/dist/index238.js +84 -2
  61. package/dist/index240.js +3 -2
  62. package/dist/index241.js +7 -2
  63. package/dist/index242.js +2 -106
  64. package/dist/index244.js +53 -47
  65. package/dist/index246.js +100 -2
  66. package/dist/index248.js +2 -10
  67. package/dist/index249.js +9 -2
  68. package/dist/index25.js +109 -105
  69. package/dist/index250.js +2 -8
  70. package/dist/index251.js +6 -23
  71. package/dist/index252.js +14 -87
  72. package/dist/index253.js +11 -0
  73. package/dist/index254.js +23 -6
  74. package/dist/index255.js +87 -14
  75. package/dist/index257.js +8 -5
  76. package/dist/index258.js +3 -2
  77. package/dist/index260.js +7 -2
  78. package/dist/index261.js +176 -2
  79. package/dist/index262.js +281 -2
  80. package/dist/index263.js +6 -2
  81. package/dist/index264.js +2 -2
  82. package/dist/index265.js +2 -2
  83. package/dist/index266.js +2 -2
  84. package/dist/index267.js +2 -2
  85. package/dist/index268.js +2 -28
  86. package/dist/index269.js +2 -22
  87. package/dist/index27.js +1 -1
  88. package/dist/index270.js +4 -0
  89. package/dist/index271.js +2 -7
  90. package/dist/index272.js +2 -431
  91. package/dist/index273.js +2 -89
  92. package/dist/index274.js +27 -8
  93. package/dist/index275.js +22 -3
  94. package/dist/index277.js +2 -200
  95. package/dist/index278.js +126 -3
  96. package/dist/index279.js +430 -11
  97. package/dist/index280.js +21 -8
  98. package/dist/index282.js +2 -17
  99. package/dist/index283.js +223 -3
  100. package/dist/index284.js +200 -224
  101. package/dist/index285.js +436 -2
  102. package/dist/index286.js +121 -120
  103. package/dist/index287.js +3 -175
  104. package/dist/index288.js +3 -22
  105. package/dist/index289.js +14 -0
  106. package/dist/index29.js +3 -3
  107. package/dist/index290.js +9 -4
  108. package/dist/index291.js +9 -436
  109. package/dist/index292.js +16 -126
  110. package/dist/index293.js +4 -2
  111. package/dist/index294.js +89 -3
  112. package/dist/index296.js +3 -5
  113. package/dist/index297.js +204 -59
  114. package/dist/index298.js +2 -211
  115. package/dist/index299.js +5 -5
  116. package/dist/index300.js +66 -8
  117. package/dist/index304.js +1 -1
  118. package/dist/index305.js +4 -3
  119. package/dist/index306.js +7 -6
  120. package/dist/index307.js +6 -6
  121. package/dist/index308.js +6 -18
  122. package/dist/index309.js +18 -32
  123. package/dist/index31.js +2 -2
  124. package/dist/index310.js +32 -10
  125. package/dist/index311.js +3 -46
  126. package/dist/index312.js +47 -12
  127. package/dist/index313.js +10 -479
  128. package/dist/index314.js +1 -1
  129. package/dist/index315.js +482 -0
  130. package/dist/index317.js +1 -1
  131. package/dist/index318.js +47 -2
  132. package/dist/index319.js +2 -47
  133. package/dist/index33.js +2 -2
  134. package/dist/index35.js +3 -3
  135. package/dist/index37.js +99 -98
  136. package/dist/index39.js +4 -4
  137. package/dist/index41.js +2 -2
  138. package/dist/index43.js +2 -2
  139. package/dist/index45.js +8 -8
  140. package/dist/index47.js +2 -2
  141. package/dist/index49.js +2 -2
  142. package/dist/index55.js +1 -1
  143. package/dist/index57.js +1 -1
  144. package/dist/index61.js +2 -2
  145. package/dist/index75.js +3 -3
  146. package/dist/index79.js +2 -2
  147. package/dist/index81.js +1 -1
  148. package/dist/index84.js +110 -106
  149. package/dist/index86.js +1 -1
  150. package/dist/index88.js +4 -4
  151. package/dist/index90.js +1 -1
  152. package/package.json +1 -1
  153. package/dist/index220.js +0 -54
  154. package/dist/index239.js +0 -6
  155. package/dist/index256.js +0 -283
  156. package/dist/index259.js +0 -4
  157. package/dist/index281.js +0 -11
  158. package/dist/index316.js +0 -4
  159. /package/dist/{index247.js → index243.js} +0 -0
package/dist/index23.js CHANGED
@@ -1,27 +1,28 @@
1
- import { defineComponent as ae, ref as o, computed as v, watch as oe, openBlock as w, createBlock as V, normalizeClass as B, withCtx as i, renderSlot as d, createVNode as E, withDirectives as ne, createElementVNode as r, mergeProps as I, unref as c, withModifiers as re, toDisplayString as F, Teleport as le, normalizeStyle as ie, KeepAlive as se, createCommentVNode as L } from "vue";
2
- import { useFloating as ue } from "./index231.js";
3
- import n from "./index211.js";
4
- import de from "./index232.js";
5
- import ce from "./index214.js";
6
- import pe from "./index212.js";
7
- import me from "./index213.js";
8
- import { identity as fe } from "./index233.js";
9
- import { last as be } from "./index218.js";
10
- import { useFocusTrap as ve } from "./index208.js";
11
- import { useId as ye } from "./index8.js";
12
- import { useIntersectionObserver as ge } from "./index132.js";
13
- import { useMobile as ke } from "./index9.js";
14
- import { vMaska as Me } from "./index234.js";
15
- import { wait as he } from "./index131.js";
16
- import { waitFor as we } from "./index209.js";
17
- import Ve from "./index21.js";
1
+ import { defineComponent as te, ref as o, computed as v, watch as ae, openBlock as w, createBlock as V, normalizeClass as B, 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 "./index224.js";
3
+ import r from "./index205.js";
4
+ import ue from "./index225.js";
5
+ import de from "./index208.js";
6
+ import ce from "./index206.js";
7
+ import pe from "./index207.js";
8
+ import { identity as me } from "./index226.js";
9
+ import { last as fe } from "./index212.js";
10
+ import { useFocusTrap as be } from "./index227.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 "./index222.js";
15
+ import { wait as Me } from "./index131.js";
16
+ import { waitFor as he } from "./index228.js";
17
+ import we from "./index21.js";
18
18
  /* empty css */
19
- import Ce from "./index224.js";
19
+ import Ve from "./index219.js";
20
20
  /* empty css */
21
- import Ye from "./index226.js";
22
- import Ae from "./index235.js";
23
- import { autoUpdate as De, flip as Se, offset as $e, shift as Oe, hide as _e } from "./index236.js";
24
- const Be = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Ee = ["disabled"], Ie = { class: "sr-only" }, Fe = ["id"], rt = /* @__PURE__ */ ae({
21
+ import Ce from "./index221.js";
22
+ import Ye from "./index229.js";
23
+ import Ae from "./index230.js";
24
+ import { autoUpdate as De, flip as Se, offset as $e, shift as _e, hide as Oe } from "./index231.js";
25
+ const Be = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Ee = ["aria-label", "disabled"], Ie = ["id"], nt = /* @__PURE__ */ te({
25
26
  __name: "BaseDatePickerInput",
26
27
  props: {
27
28
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -46,36 +47,36 @@ const Be = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
46
47
  width: { default: 290 }
47
48
  },
48
49
  emits: ["active", "error", "focus", "inactive", "update:modelValue"],
49
- setup(W, { emit: z }) {
50
- n.extend(de), n.extend(pe), n.extend(me), n.locale(ce);
51
- const t = W, s = z, u = o(null), C = o(null), p = o(null), j = o(null), y = o(null), A = o(), g = t.id || `bdpi_${ye().id.value}`, { isMobile: D } = ke(), q = v(
50
+ setup(L, { emit: W }) {
51
+ r.extend(ue), r.extend(ce), r.extend(pe), r.locale(de);
52
+ 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(
52
53
  () => t.allowWriting === "not-mobile" && D.value ? "none" : "numeric"
53
54
  ), Y = o(!0);
54
- ge(
55
+ ye(
55
56
  p,
56
57
  ([{ intersectionRatio: e }]) => {
57
- e === 1 ? Y.value = !0 : (Y.value = !1, m.value && (_(), p.value && p.value.$el.querySelector(
58
+ e === 1 ? Y.value = !0 : (Y.value = !1, m.value && (O(), p.value && p.value.$el.querySelector(
58
59
  ".bb-base-date-picker-input__calendar-btn"
59
60
  ).focus(), h()));
60
61
  },
61
62
  { threshold: [0, 1] }
62
63
  );
63
- const G = v(() => ({
64
+ const q = v(() => ({
64
65
  "bb-base-date-picker-input": !0,
65
66
  "bb-base-date-picker-input--active": k.value,
66
67
  "bb-base-date-picker-input--errors": t.hasErrors,
67
68
  "bb-base-date-picker-input--loading": t.loading,
68
69
  "bb-base-date-picker-input--readonly": t.readonly,
69
70
  "bb-base-date-picker-input--disabled": t.disabled
70
- })), P = {
71
+ })), G = {
71
72
  onInput: (e) => {
72
73
  if (!t.range && e.target instanceof HTMLInputElement)
73
74
  if (y.value = e.target.value, /\d{2}\/\d{2}\/\d{4}/.test(e.target.value)) {
74
- const a = n(e.target.value, "DD/MM/YYYY");
75
- ee(a) ? (e.target.value = "", s("update:modelValue", null), s("error", "invalid_date_typed")) : s("update:modelValue", a.toISOString());
75
+ const a = r(e.target.value, "DD/MM/YYYY");
76
+ x(a) ? (e.target.value = "", s("update:modelValue", null), s("error", "invalid_date_typed")) : s("update:modelValue", a.toISOString());
76
77
  } else e.target.value === "" && s("update:modelValue", null);
77
78
  }
78
- }, k = o(!1), H = () => {
79
+ }, k = o(!1), P = () => {
79
80
  k.value || (s("active"), k.value = !0, document.addEventListener("focusin", M), document.addEventListener("click", M));
80
81
  }, M = (e) => {
81
82
  var a, l;
@@ -84,34 +85,34 @@ const Be = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
84
85
  if (e)
85
86
  if (Array.isArray(e)) {
86
87
  let a, l;
87
- return e.length && (a = e[0]), e.length > 1 && (l = be(e)), [a, l].filter(fe).map((te) => n(te).format("DD/MM/YYYY")).join(" - ");
88
+ 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(" - ");
88
89
  } else
89
- return n(e).format("DD/MM/YYYY");
90
+ return r(e).format("DD/MM/YYYY");
90
91
  return null;
91
- }, T = v(() => y.value ? y.value : S(t.modelValue));
92
- oe(
92
+ }, H = v(() => y.value ? y.value : S(t.modelValue));
93
+ ae(
93
94
  () => t.modelValue,
94
95
  (e) => {
95
96
  y.value = S(e);
96
97
  }
97
98
  );
98
- const { floatingStyles: N, placement: U } = ue(p, u, {
99
+ const { floatingStyles: N, placement: T } = se(p, u, {
99
100
  placement: "bottom",
100
101
  whileElementsMounted: De,
101
- middleware: [Se(), $e(5), Oe({ padding: 6 }), _e()]
102
- }), K = v(() => {
102
+ middleware: [Se(), $e(5), _e({ padding: 6 }), Oe()]
103
+ }), U = v(() => {
103
104
  const e = {
104
105
  ...N.value
105
106
  };
106
107
  return u.value, e;
107
- }), m = o(!1), R = async () => {
108
+ }), m = o(!1), K = async () => {
108
109
  m.value = !0;
109
110
  }, h = async () => {
110
111
  var e;
111
112
  m.value = !1, (e = A.value) == null || e.resetStatus();
112
- }, $ = o(!1), O = async () => {
113
- f.value || ($.value = !0, await we(() => !!u.value), await R(), Z());
114
- }, f = o(!1), { activate: Z, deactivate: _ } = ve(u, {
113
+ }, $ = o(!1), _ = async () => {
114
+ f.value || ($.value = !0, await he(() => !!u.value), await K(), R());
115
+ }, f = o(!1), { activate: R, deactivate: O } = be(u, {
115
116
  onActivate: () => f.value = !0,
116
117
  // On post activation focus on current date
117
118
  onPostActivate: () => {
@@ -121,183 +122,183 @@ const Be = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
121
122
  )) == null || e.focus();
122
123
  },
123
124
  onPostDeactivate: async () => {
124
- await he(200), f.value = !1;
125
+ await Me(200), f.value = !1;
125
126
  },
126
127
  /* On esc deactivate the trap, return focus and then close the modal */
127
128
  escapeDeactivates: () => (b.value = !1, h(), !0),
128
129
  clickOutsideDeactivates: () => (b.value = !1, h(), !0),
129
130
  allowOutsideClick: !0,
130
131
  preventScroll: !0
131
- }), b = o(!t.allowWriting || t.range), J = async (e) => {
132
- s("focus", e), b.value && O(), b.value = !t.allowWriting || t.allowWriting === "not-mobile" && D.value || t.range;
133
- }, Q = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, X = {
132
+ }), b = o(!t.allowWriting || t.range), Z = async (e) => {
133
+ s("focus", e), b.value && _(), b.value = !t.allowWriting || t.allowWriting === "not-mobile" && D.value || t.range;
134
+ }, J = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, Q = {
134
135
  "onUpdate:modelValue": (e) => {
135
- s("update:modelValue", e), Q(e) && (b.value = !1, _({
136
+ s("update:modelValue", e), J(e) && (b.value = !1, O({
136
137
  onPostDeactivate: () => {
137
138
  f.value = !1, h();
138
139
  }
139
140
  }));
140
141
  }
141
- }, x = v(() => {
142
+ }, X = v(() => {
142
143
  if (t.range) {
143
144
  if (!t.modelValue || t.modelValue.length < 2)
144
145
  return "Seleziona un range";
145
- const e = n(t.modelValue[0]).format("D MMMM YYYY"), a = n(t.modelValue[1]).format("D MMMM YYYY");
146
+ const e = r(t.modelValue[0]).format("D MMMM YYYY"), a = r(t.modelValue[1]).format("D MMMM YYYY");
146
147
  if (t.range && t.modelValue.length === 2)
147
148
  return `Cambia selezione, da ${e} a ${a}`;
148
149
  } else if (typeof t.modelValue == "string")
149
- return `Cambia selezione, ${n(t.modelValue).format("D MMMM YYYY")}`;
150
+ return `Cambia selezione, ${r(t.modelValue).format("D MMMM YYYY")}`;
150
151
  return "Seleziona una data";
151
- }), ee = (e) => {
152
+ }), x = (e) => {
152
153
  let a = !0;
153
- return t.min && a && (a = e.isSameOrAfter(n(t.min).startOf("day"))), t.max && a && (a = e.isSameOrBefore(n(t.max).startOf("day"))), typeof t.selectable == "function" && a && (a = t.selectable(e.toDate())), !a;
154
+ 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;
154
155
  };
155
- return (e, a) => (w(), V(Ye, {
156
+ return (e, a) => (w(), V(Ce, {
156
157
  ref_key: "outerContainer",
157
158
  ref: C,
158
- class: B(G.value),
159
- onFocusin: H
159
+ class: B(q.value),
160
+ onFocusin: P
160
161
  }, {
161
- "prepend-outer": i(() => [
162
+ "prepend-outer": n(() => [
162
163
  d(e.$slots, "prepend-outer")
163
164
  ]),
164
- "append-outer": i(() => [
165
+ "append-outer": n(() => [
165
166
  d(e.$slots, "append-outer")
166
167
  ]),
167
- default: i(() => {
168
- var l;
169
- return [
170
- E(Ce, {
171
- ref_key: "innerContainer",
172
- ref: p,
173
- "append:icon": t["append:icon"],
174
- "prepend:icon": t["prepend:icon"]
175
- }, {
176
- prepend: i(() => [
177
- d(e.$slots, "prepend")
168
+ default: n(() => [
169
+ E(Ve, {
170
+ ref_key: "innerContainer",
171
+ ref: p,
172
+ "append:icon": t["append:icon"],
173
+ "prepend:icon": t["prepend:icon"]
174
+ }, {
175
+ prepend: n(() => [
176
+ d(e.$slots, "prepend")
177
+ ]),
178
+ prefix: n(() => [
179
+ d(e.$slots, "prefix")
180
+ ]),
181
+ append: n(() => [
182
+ d(e.$slots, "append")
183
+ ]),
184
+ suffix: n(() => [
185
+ d(e.$slots, "suffix")
186
+ ]),
187
+ default: n(() => [
188
+ oe(i("input", I({
189
+ id: c(g),
190
+ ref_key: "input",
191
+ ref: z,
192
+ "aria-describedby": `bdpi_description_${c(g)}`,
193
+ autocomplete: e.autocomplete,
194
+ autofocus: e.autofocus,
195
+ "data-maska": t.range ? "##/##/#### - ##/##/####" : "##/##/####",
196
+ disabled: e.disabled,
197
+ inputmode: j.value,
198
+ name: e.name,
199
+ placeholder: e.placeholder,
200
+ readonly: e.readonly || e.range || !e.allowWriting,
201
+ required: e.required
202
+ }, G, {
203
+ size: "1",
204
+ type: "text",
205
+ value: H.value,
206
+ onFocus: Z
207
+ }), null, 16, Be), [
208
+ [c(ke)]
178
209
  ]),
179
- prefix: i(() => [
180
- d(e.$slots, "prefix")
181
- ]),
182
- append: i(() => [
183
- d(e.$slots, "append")
184
- ]),
185
- suffix: i(() => [
186
- d(e.$slots, "suffix")
187
- ]),
188
- default: i(() => [
189
- ne(r("input", I({
190
- id: c(g),
191
- ref_key: "input",
192
- ref: j,
193
- "aria-describedby": `bdpi_description_${c(g)}`,
194
- autocomplete: e.autocomplete,
195
- autofocus: e.autofocus,
196
- "data-maska": t.range ? "##/##/#### - ##/##/####" : "##/##/####",
197
- disabled: e.disabled,
198
- inputmode: q.value,
199
- name: e.name,
200
- placeholder: e.placeholder,
201
- readonly: e.readonly || e.range || !e.allowWriting,
202
- required: e.required
203
- }, P, {
204
- size: "1",
205
- type: "text",
206
- value: T.value,
207
- onFocus: J
208
- }), null, 16, Be), [
209
- [c(Me)]
210
- ]),
211
- r("button", {
212
- class: "bb-base-date-picker-input__calendar-btn",
213
- disabled: e.disabled || e.readonly || !Y.value,
214
- type: "button",
215
- onClick: re(O, ["stop"])
210
+ i("button", {
211
+ "aria-label": X.value,
212
+ class: "bb-base-date-picker-input__calendar-btn",
213
+ disabled: e.disabled || e.readonly || !Y.value,
214
+ type: "button",
215
+ onClick: re(_, ["stop"])
216
+ }, a[0] || (a[0] = [
217
+ i("svg", {
218
+ fill: "none",
219
+ viewBox: "0 0 16 16",
220
+ xmlns: "http://www.w3.org/2000/svg"
216
221
  }, [
217
- a[0] || (a[0] = r("svg", {
218
- fill: "none",
219
- viewBox: "0 0 16 16",
220
- xmlns: "http://www.w3.org/2000/svg"
221
- }, [
222
- r("path", {
223
- d: "M12.6667 2.66667H3.33333C2.59695 2.66667 2 3.26363 2 4.00001V13.3333C2 14.0697 2.59695 14.6667 3.33333 14.6667H12.6667C13.403 14.6667 14 14.0697 14 13.3333V4.00001C14 3.26363 13.403 2.66667 12.6667 2.66667Z",
224
- stroke: "currentColor",
225
- "stroke-linecap": "round",
226
- "stroke-linejoin": "round"
227
- }),
228
- r("path", {
229
- d: "M10.6667 1.33333V3.99999",
230
- stroke: "currentColor",
231
- "stroke-linecap": "round",
232
- "stroke-linejoin": "round"
233
- }),
234
- r("path", {
235
- d: "M5.33333 1.33333V3.99999",
236
- stroke: "currentColor",
237
- "stroke-linecap": "round",
238
- "stroke-linejoin": "round"
239
- }),
240
- r("path", {
241
- d: "M2 6.66667H14",
242
- stroke: "currentColor",
243
- "stroke-linecap": "round",
244
- "stroke-linejoin": "round"
245
- })
246
- ], -1)),
247
- r("span", Ie, F(x.value), 1)
248
- ], 8, Ee),
249
- r("span", {
250
- id: `bdpi_description_${c(g)}`,
251
- class: "bb-base-date-picker-input__accessible-description sr-only"
252
- }, "Formato della data " + F(t.range ? "GG/MM/AAAA - GG/MM/AAAA" : "GG/MM/AAAA"), 9, Fe)
253
- ]),
254
- _: 3
255
- }, 8, ["append:icon", "prepend:icon"]),
256
- $.value ? (w(), V(le, {
257
- key: 0,
258
- to: "body"
259
- }, [
260
- r("span", {
261
- ref_key: "calendar",
262
- ref: u,
263
- class: B(["bb-base-date-picker-input__calendar", {
264
- "bb-base-date-picker-input__calendar--shown": m.value
265
- }]),
266
- style: ie(K.value)
267
- }, [
268
- E(Ae, {
269
- direction: (l = c(U)) != null && l.includes("top") ? "bottom" : "top",
270
- duration: 300
271
- }, {
272
- default: i(() => [
273
- (w(), V(se, null, [
274
- m.value ? (w(), V(Ve, I({
275
- key: 0,
276
- id: c(g)
277
- }, X, {
278
- ref_key: "basedatepicker",
279
- ref: A,
280
- disabled: e.disabled,
281
- "first-day-of-week": e.firstDayOfWeek,
282
- max: e.max,
283
- min: e.min,
284
- "model-value": e.modelValue,
285
- range: e.range,
286
- readonly: e.readonly,
287
- selectable: e.selectable
288
- }), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])) : L("", !0)
289
- ], 1024))
290
- ]),
291
- _: 1
292
- }, 8, ["direction"])
293
- ], 6)
294
- ])) : L("", !0)
295
- ];
296
- }),
222
+ i("path", {
223
+ d: "M12.6667 2.66667H3.33333C2.59695 2.66667 2 3.26363 2 4.00001V13.3333C2 14.0697 2.59695 14.6667 3.33333 14.6667H12.6667C13.403 14.6667 14 14.0697 14 13.3333V4.00001C14 3.26363 13.403 2.66667 12.6667 2.66667Z",
224
+ stroke: "currentColor",
225
+ "stroke-linecap": "round",
226
+ "stroke-linejoin": "round"
227
+ }),
228
+ i("path", {
229
+ d: "M10.6667 1.33333V3.99999",
230
+ stroke: "currentColor",
231
+ "stroke-linecap": "round",
232
+ "stroke-linejoin": "round"
233
+ }),
234
+ i("path", {
235
+ d: "M5.33333 1.33333V3.99999",
236
+ stroke: "currentColor",
237
+ "stroke-linecap": "round",
238
+ "stroke-linejoin": "round"
239
+ }),
240
+ i("path", {
241
+ d: "M2 6.66667H14",
242
+ stroke: "currentColor",
243
+ "stroke-linecap": "round",
244
+ "stroke-linejoin": "round"
245
+ })
246
+ ], -1)
247
+ ]), 8, Ee),
248
+ i("span", {
249
+ id: `bdpi_description_${c(g)}`,
250
+ class: "bb-base-date-picker-input__accessible-description sr-only"
251
+ }, "Formato della data " + ne(t.range ? "GG/MM/AAAA - GG/MM/AAAA" : "GG/MM/AAAA"), 9, Ie)
252
+ ]),
253
+ _: 3
254
+ }, 8, ["append:icon", "prepend:icon"]),
255
+ $.value ? (w(), V(Ae, { key: 0 }, {
256
+ default: n(() => {
257
+ var l;
258
+ return [
259
+ i("span", {
260
+ ref_key: "calendar",
261
+ ref: u,
262
+ class: B(["bb-base-date-picker-input__calendar", {
263
+ "bb-base-date-picker-input__calendar--shown": m.value
264
+ }]),
265
+ style: le(U.value)
266
+ }, [
267
+ E(Ye, {
268
+ direction: (l = c(T)) != null && l.includes("top") ? "bottom" : "top",
269
+ duration: 300
270
+ }, {
271
+ default: n(() => [
272
+ (w(), V(ie, null, [
273
+ m.value ? (w(), V(we, I({
274
+ key: 0,
275
+ id: c(g)
276
+ }, Q, {
277
+ ref_key: "basedatepicker",
278
+ ref: A,
279
+ disabled: e.disabled,
280
+ "first-day-of-week": e.firstDayOfWeek,
281
+ max: e.max,
282
+ min: e.min,
283
+ "model-value": e.modelValue,
284
+ range: e.range,
285
+ readonly: e.readonly,
286
+ selectable: e.selectable
287
+ }), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])) : F("", !0)
288
+ ], 1024))
289
+ ]),
290
+ _: 1
291
+ }, 8, ["direction"])
292
+ ], 6)
293
+ ];
294
+ }),
295
+ _: 1
296
+ })) : F("", !0)
297
+ ]),
297
298
  _: 3
298
299
  }, 8, ["class"]));
299
300
  }
300
301
  });
301
302
  export {
302
- rt as default
303
+ nt as default
303
304
  };
package/dist/index230.js CHANGED
@@ -1,5 +1,14 @@
1
- import r from "./index284.js";
2
- const t = r;
1
+ import { defineComponent as n, getCurrentInstance as s, openBlock as p, createBlock as c, Teleport as l, unref as u, renderSlot as a } from "vue";
2
+ const m = /* @__PURE__ */ n({
3
+ __name: "BbTeleport",
4
+ setup(_) {
5
+ var e, t;
6
+ const o = !!((t = (e = s()) == null ? void 0 : e.proxy) != null && t.$nuxt) ? "#teleports" : "body";
7
+ return (r, d) => (p(), c(l, { to: u(o) }, [
8
+ a(r.$slots, "default")
9
+ ], 8, ["to"]));
10
+ }
11
+ });
3
12
  export {
4
- t as deburr
13
+ m as default
5
14
  };