bitboss-ui 2.0.163 → 2.0.165

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 (110) hide show
  1. package/dist/index100.js +7 -7
  2. package/dist/index111.js +8 -8
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +3 -3
  5. package/dist/index123.js +1 -1
  6. package/dist/index125.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index134.js +2 -2
  9. package/dist/index15.js +8 -8
  10. package/dist/index19.js +8 -8
  11. package/dist/index208.js +4 -5
  12. package/dist/index209.js +40 -15
  13. package/dist/index21.js +16 -16
  14. package/dist/index210.js +19 -15
  15. package/dist/index211.js +94 -19
  16. package/dist/index213.js +199 -18
  17. package/dist/index215.js +66 -3
  18. package/dist/index217.js +13 -8
  19. package/dist/index218.js +12 -249
  20. package/dist/index219.js +5 -52
  21. package/dist/index220.js +16 -44
  22. package/dist/index221.js +16 -5
  23. package/dist/index222.js +19 -60
  24. package/dist/index223.js +15 -13
  25. package/dist/index224.js +16 -122
  26. package/dist/index225.js +27 -2
  27. package/dist/index226.js +3 -41
  28. package/dist/index227.js +2 -20
  29. package/dist/index228.js +7 -5
  30. package/dist/index229.js +242 -86
  31. package/dist/index23.js +17 -17
  32. package/dist/index230.js +54 -0
  33. package/dist/index231.js +39 -61
  34. package/dist/index232.js +7 -0
  35. package/dist/index233.js +60 -13
  36. package/dist/index234.js +3 -2
  37. package/dist/index235.js +86 -9
  38. package/dist/index237.js +29 -86
  39. package/dist/index238.js +19 -0
  40. package/dist/index239.js +48 -26
  41. package/dist/index240.js +12 -14
  42. package/dist/index241.js +11 -50
  43. package/dist/index242.js +14 -13
  44. package/dist/index243.js +125 -12
  45. package/dist/index244.js +2 -16
  46. package/dist/index245.js +6 -4
  47. package/dist/index246.js +2 -200
  48. package/dist/index247.js +11 -0
  49. package/dist/index25.js +5 -5
  50. package/dist/index251.js +7 -34
  51. package/dist/index252.js +15 -7
  52. package/dist/index253.js +32 -13
  53. package/dist/index259.js +1 -1
  54. package/dist/index261.js +1 -1
  55. package/dist/index264.js +2 -2
  56. package/dist/index27.js +1 -1
  57. package/dist/index283.js +1 -1
  58. package/dist/index284.js +1 -1
  59. package/dist/index285.js +1 -1
  60. package/dist/index286.js +1 -1
  61. package/dist/index29.js +2 -2
  62. package/dist/index291.js +2 -2
  63. package/dist/index293.js +431 -2
  64. package/dist/index294.js +3 -431
  65. package/dist/index295.js +1 -1
  66. package/dist/index296.js +1 -1
  67. package/dist/index299.js +1 -1
  68. package/dist/index303.js +2 -3
  69. package/dist/index305.js +1 -1
  70. package/dist/index306.js +2 -8
  71. package/dist/index307.js +8 -2
  72. package/dist/index314.js +2 -5
  73. package/dist/index315.js +67 -2
  74. package/dist/index316.js +5 -67
  75. package/dist/index321.js +32 -6
  76. package/dist/index322.js +27 -18
  77. package/dist/index324.js +479 -57
  78. package/dist/index325.js +7 -480
  79. package/dist/index326.js +6 -7
  80. package/dist/index327.js +18 -5
  81. package/dist/index328.js +8 -8
  82. package/dist/index329.js +5 -4
  83. package/dist/index33.js +8 -8
  84. package/dist/index330.js +8 -8
  85. package/dist/index331.js +58 -7
  86. package/dist/index332.js +57 -32
  87. package/dist/index333.js +5 -28
  88. package/dist/index334.js +10 -0
  89. package/dist/index337.js +1 -1
  90. package/dist/index339.js +1 -1
  91. package/dist/index35.js +2 -2
  92. package/dist/index37.js +14 -14
  93. package/dist/index39.js +1 -1
  94. package/dist/index43.js +8 -8
  95. package/dist/index45.js +6 -6
  96. package/dist/index47.js +2 -2
  97. package/dist/index49.js +2 -2
  98. package/dist/index53.js +1 -1
  99. package/dist/index61.js +1 -1
  100. package/dist/index75.js +1 -1
  101. package/dist/index77.js +1 -1
  102. package/dist/index84.js +4 -4
  103. package/dist/index86.js +101 -99
  104. package/dist/index88.js +4 -4
  105. package/package.json +1 -1
  106. package/dist/index212.js +0 -17
  107. package/dist/index214.js +0 -29
  108. package/dist/index216.js +0 -4
  109. package/dist/index236.js +0 -5
  110. package/dist/index323.js +0 -60
package/dist/index86.js CHANGED
@@ -1,14 +1,14 @@
1
- import { defineComponent as F, mergeModels as D, useModel as G, getCurrentInstance as O, computed as d, ref as f, onMounted as j, onBeforeUnmount as X, openBlock as w, createElementBlock as x, normalizeClass as H, createElementVNode as p, createVNode as P, unref as m, normalizeProps as $, guardReactiveProps as N, withCtx as q, renderSlot as h, toDisplayString as _, Fragment as J, renderList as K, mergeProps as Q, nextTick as E } from "vue";
1
+ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, ref as f, onMounted as F, onBeforeUnmount as D, openBlock as S, createElementBlock as w, normalizeClass as G, createElementVNode as r, createVNode as q, unref as y, normalizeProps as B, guardReactiveProps as A, withCtx as x, renderSlot as m, toDisplayString as _, Fragment as I, renderList as O, mergeProps as j, nextTick as C } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import M from "./index13.js";
4
+ import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as Y } from "./index235.js";
7
- import { useLocale as Z } from "./index223.js";
8
- import { useRoute as ee } from "./index137.js";
9
- const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" }, te = { class: "bb-pagination__page-label" }, ne = { class: "bb-pagination__page-label" }, ie = { class: "bb-pagination__page-label sr-only" }, be = /* @__PURE__ */ F({
6
+ import { debounce as X } from "./index247.js";
7
+ import { useLocale as H } from "./index218.js";
8
+ import { useRoute as J } from "./index137.js";
9
+ const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
11
- props: /* @__PURE__ */ D({
11
+ props: /* @__PURE__ */ W({
12
12
  disabled: { type: Boolean },
13
13
  loading: { type: Boolean },
14
14
  align: { default: "right" },
@@ -24,60 +24,59 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
24
24
  modelModifiers: {}
25
25
  }),
26
26
  emits: ["update:modelValue"],
27
- setup(z) {
28
- var C, A;
29
- const a = z, { t: L } = Z(), n = G(z, "modelValue"), k = !!((A = (C = O()) == null ? void 0 : C.proxy) != null && A.$inertia), r = ee(), v = d(() => +a.totalPages), g = f(1), s = f(+a.maxSize), c = f(), b = f(), B = f(1 / 0), S = () => {
30
- c.value && b.value && (c.value.clientWidth < b.value.clientWidth ? s.value - 1 > 3 ? (s.value--, E(S)) : s.value = 3 : s.value < +a.maxSize && /* If there is enough space to fit one */
31
- c.value.clientWidth - b.value.clientWidth > B.value && (s.value = Math.min(s.value + 1, +a.maxSize), E(S)));
27
+ setup(M) {
28
+ const a = M, { t: z } = H(), n = U(M, "modelValue"), p = J(), u = d(() => +a.totalPages), c = f(1), s = f(+a.maxSize), v = f(), g = f(), L = f(1 / 0), k = () => {
29
+ v.value && g.value && (v.value.clientWidth < g.value.clientWidth ? s.value - 1 > 3 ? (s.value--, C(k)) : s.value = 3 : s.value < +a.maxSize && /* If there is enough space to fit one */
30
+ v.value.clientWidth - g.value.clientWidth > L.value && (s.value = Math.min(s.value + 1, +a.maxSize), C(k)));
32
31
  };
33
32
  if (globalThis.ResizeObserver) {
34
- const e = new ResizeObserver(Y(S, 200));
35
- j(() => {
36
- if (c.value && b.value) {
37
- const l = c.value.querySelectorAll(
33
+ const e = new ResizeObserver(X(k, 200));
34
+ F(() => {
35
+ if (v.value && g.value) {
36
+ const l = v.value.querySelectorAll(
38
37
  ".bb-pagination__page"
39
38
  )[1];
40
39
  if (l) {
41
- const o = getComputedStyle(b.value).columnGap.replaceAll(/\D/g, ""), i = Number(o);
42
- B.value = l.clientWidth + i;
40
+ const o = getComputedStyle(g.value).columnGap.replaceAll(/\D/g, ""), i = Number(o);
41
+ L.value = l.clientWidth + i;
43
42
  }
44
- e.observe(c.value);
43
+ e.observe(v.value);
45
44
  }
46
- }), X(() => {
45
+ }), D(() => {
47
46
  e.disconnect();
48
47
  });
49
48
  }
50
- const T = d(() => {
51
- if (v.value <= 0 || isNaN(v.value) || v.value > Number.MAX_SAFE_INTEGER)
49
+ const R = d(() => {
50
+ if (u.value <= 0 || isNaN(u.value) || u.value > Number.MAX_SAFE_INTEGER)
52
51
  return [];
53
52
  if (s.value <= 1) return [n.value];
54
- if (v.value <= s.value)
55
- return y(v.value, g.value);
56
- const e = s.value % 2 === 0, l = e ? s.value / 2 : Math.floor(s.value / 2), t = e ? l : l + 1, o = v.value - l;
53
+ if (u.value <= s.value)
54
+ return h(u.value, c.value);
55
+ const e = s.value % 2 === 0, l = e ? s.value / 2 : Math.floor(s.value / 2), t = e ? l : l + 1, o = u.value - l;
57
56
  if (t - n.value >= 0)
58
57
  return [
59
- ...y(Math.max(1, s.value - 1), g.value),
58
+ ...h(Math.max(1, s.value - 1), c.value),
60
59
  a.ellipsis,
61
- v.value
60
+ u.value
62
61
  ];
63
62
  if (n.value - o >= (e ? 1 : 0)) {
64
- const i = s.value - 1, u = v.value - i + g.value;
63
+ const i = s.value - 1, b = u.value - i + c.value;
65
64
  return [
66
- g.value,
65
+ c.value,
67
66
  a.ellipsis,
68
- ...y(i, u)
67
+ ...h(i, b)
69
68
  ];
70
69
  } else {
71
- const i = Math.max(1, s.value - 3), u = i === 1 ? n.value : n.value - Math.ceil(i / 2) + g.value;
70
+ const i = Math.max(1, s.value - 3), b = i === 1 ? n.value : n.value - Math.ceil(i / 2) + c.value;
72
71
  return [
73
- g.value,
72
+ c.value,
74
73
  a.ellipsis,
75
- ...y(i, u),
74
+ ...h(i, b),
76
75
  a.ellipsis,
77
- v.value
76
+ u.value
78
77
  ];
79
78
  }
80
- }), V = d(() => T.value.map((e, l) => typeof e == "string" ? {
79
+ }), N = d(() => R.value.map((e, l) => typeof e == "string" ? {
81
80
  active: !1,
82
81
  key: `ellipsis-${l}`,
83
82
  page: e,
@@ -89,8 +88,8 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
89
88
  page: e,
90
89
  ellipsis: !1,
91
90
  disabled: !!a.disabled || +a.totalPages < 2 || a.loading
92
- })), y = (e, l = 0) => Array.from({ length: e }, (t, o) => l + o), W = d(() => {
93
- var l, t, o;
91
+ })), h = (e, l = 0) => Array.from({ length: e }, (t, o) => l + o), $ = d(() => {
92
+ var l, t;
94
93
  const e = {
95
94
  disabled: n.value <= 1 || a.loading || a.disabled,
96
95
  onClick: () => {
@@ -99,19 +98,20 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
99
98
  class: "bb-pagination__page bb-pagination__page--previous"
100
99
  };
101
100
  if (a.navigation) {
102
- const i = (n.value - 1).toString();
103
- if (k) {
104
- const u = new URL(globalThis.location.href);
105
- u.searchParams.set(a.querykey, i), e.href = u.toString();
106
- } else r.value && (e.to = {
107
- path: (l = r.value) == null ? void 0 : l.path,
108
- params: (t = r.value) == null ? void 0 : t.params,
109
- query: { ...(o = r.value) == null ? void 0 : o.query, [a.querykey]: i }
110
- }, e.replace = a.replace);
101
+ const o = (n.value - 1).toString();
102
+ if (p.value)
103
+ e.to = {
104
+ path: (l = p.value) == null ? void 0 : l.path,
105
+ query: { ...(t = p.value) == null ? void 0 : t.query, [a.querykey]: o }
106
+ }, e.replace = a.replace;
107
+ else {
108
+ const i = new URL(globalThis.location.href);
109
+ i.searchParams.set(a.querykey, o), e.href = i.toString();
110
+ }
111
111
  }
112
112
  return e;
113
- }), I = (e) => {
114
- var t, o, i;
113
+ }), E = (e) => {
114
+ var t, o;
115
115
  const l = {
116
116
  class: ["bb-pagination__page"],
117
117
  disabled: e.disabled,
@@ -120,64 +120,66 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
120
120
  }
121
121
  };
122
122
  if (e.active && l.class.push("bb-pagination__page--active"), e.ellipsis && l.class.push("bb-pagination__page--ellipsis"), a.navigation) {
123
- const u = e.key.toString();
124
- if (k) {
125
- const R = new URL(globalThis.location.href);
126
- R.searchParams.set(a.querykey, u), l.href = R.toString();
127
- } else r.value && (l.to = {
128
- path: (t = r.value) == null ? void 0 : t.path,
129
- params: (o = r.value) == null ? void 0 : o.params,
130
- query: { ...(i = r.value) == null ? void 0 : i.query, [a.querykey]: u }
131
- }, l.replace = a.replace);
123
+ const i = e.key.toString();
124
+ if (p.value)
125
+ l.to = {
126
+ path: (t = p.value) == null ? void 0 : t.path,
127
+ query: { ...(o = p.value) == null ? void 0 : o.query, [a.querykey]: i }
128
+ }, l.replace = a.replace;
129
+ else {
130
+ const b = new URL(globalThis.location.href);
131
+ b.searchParams.set(a.querykey, i), l.href = b.toString();
132
+ }
132
133
  }
133
134
  return l;
134
- }, U = d(() => {
135
- var l, t, o;
135
+ }, T = d(() => {
136
+ var l, t;
136
137
  const e = {
137
- disabled: n.value >= v.value || a.loading || a.disabled,
138
+ disabled: n.value >= u.value || a.loading || a.disabled,
138
139
  onClick: () => {
139
- n.value < v.value && (n.value = n.value + 1);
140
+ n.value < u.value && (n.value = n.value + 1);
140
141
  },
141
142
  class: "bb-pagination__page bb-pagination__page--next"
142
143
  };
143
144
  if (a.navigation) {
144
- const i = (n.value + 1).toString();
145
- if (k) {
146
- const u = new URL(globalThis.location.href);
147
- u.searchParams.set(a.querykey, i), e.href = u.toString();
148
- } else r.value && (e.to = {
149
- path: (l = r.value) == null ? void 0 : l.path,
150
- params: (t = r.value) == null ? void 0 : t.params,
151
- query: { ...(o = r.value) == null ? void 0 : o.query, [a.querykey]: i }
152
- }, e.replace = a.replace);
145
+ const o = (n.value + 1).toString();
146
+ if (p.value)
147
+ e.to = {
148
+ path: (l = p.value) == null ? void 0 : l.path,
149
+ query: { ...(t = p.value) == null ? void 0 : t.query, [a.querykey]: o }
150
+ }, e.replace = a.replace;
151
+ else {
152
+ const i = new URL(globalThis.location.href);
153
+ i.searchParams.set(a.querykey, o), e.href = i.toString();
154
+ }
153
155
  }
154
156
  return e;
155
157
  });
156
- return (e, l) => (w(), x("div", {
158
+ return (e, l) => (S(), w("div", {
157
159
  ref_key: "outercontainer",
158
- ref: c,
159
- class: H(["bb-pagination", {
160
+ ref: v,
161
+ class: G(["bb-pagination", {
160
162
  [`bb-pagination--${e.align}`]: !0,
161
163
  "bb-pagination--disabled": e.disabled
162
164
  }])
163
165
  }, [
164
- p("nav", { "aria-label": e.label }, [
165
- p("ul", {
166
+ r("nav", { "aria-label": e.label }, [
167
+ r("ul", {
166
168
  ref_key: "innercontainer",
167
- ref: b,
169
+ ref: g,
168
170
  class: "bb-pagination__pages"
169
171
  }, [
170
- p("li", null, [
171
- P(m(M), $(N(W.value)), {
172
- default: q(() => [
173
- h(e.$slots, "previous", {}, () => [
174
- p("span", le, _(m(L)("pagination.previous").value), 1),
175
- l[0] || (l[0] = p("svg", {
172
+ r("li", null, [
173
+ q(y(P), B(A($.value)), {
174
+ default: x(() => [
175
+ m(e.$slots, "previous", {}, () => [
176
+ r("span", Q, _(y(z)("pagination.previous").value), 1),
177
+ l[0] || (l[0] = r("svg", {
176
178
  class: "bb-pagination__page-chevron",
177
179
  viewBox: "0 0 24 24",
178
180
  xmlns: "http://www.w3.org/2000/svg"
179
181
  }, [
180
- p("path", {
182
+ r("path", {
181
183
  d: "M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z",
182
184
  fill: "currentColor"
183
185
  })
@@ -187,36 +189,36 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
187
189
  _: 3
188
190
  }, 16)
189
191
  ]),
190
- (w(!0), x(J, null, K(V.value, (t) => (w(), x("li", {
192
+ (S(!0), w(I, null, O(N.value, (t) => (S(), w("li", {
191
193
  key: t.key
192
194
  }, [
193
- P(m(M), Q({ ref_for: !0 }, I(t)), {
194
- default: q(() => [
195
- t.ellipsis === !0 ? h(e.$slots, "ellipsis", { key: 0 }, () => [
196
- p("span", te, _(a.ellipsis), 1)
197
- ]) : h(e.$slots, "item", {
195
+ q(y(P), j({ ref_for: !0 }, E(t)), {
196
+ default: x(() => [
197
+ t.ellipsis === !0 ? m(e.$slots, "ellipsis", { key: 0 }, () => [
198
+ r("span", Y, _(a.ellipsis), 1)
199
+ ]) : m(e.$slots, "item", {
198
200
  key: 1,
199
201
  active: t.active,
200
202
  disabled: t.disabled,
201
203
  item: t.key
202
204
  }, () => [
203
- p("span", ne, _(t.key), 1)
205
+ r("span", Z, _(t.key), 1)
204
206
  ])
205
207
  ]),
206
208
  _: 2
207
209
  }, 1040)
208
210
  ]))), 128)),
209
- p("li", null, [
210
- P(m(M), $(N(U.value)), {
211
- default: q(() => [
212
- h(e.$slots, "next", {}, () => [
213
- p("span", ie, _(m(L)("pagination.next").value), 1),
214
- l[1] || (l[1] = p("svg", {
211
+ r("li", null, [
212
+ q(y(P), B(A(T.value)), {
213
+ default: x(() => [
214
+ m(e.$slots, "next", {}, () => [
215
+ r("span", ee, _(y(z)("pagination.next").value), 1),
216
+ l[1] || (l[1] = r("svg", {
215
217
  class: "bb-pagination__page-chevron",
216
218
  viewBox: "0 0 24 24",
217
219
  xmlns: "http://www.w3.org/2000/svg"
218
220
  }, [
219
- p("path", {
221
+ r("path", {
220
222
  d: "M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z",
221
223
  fill: "currentColor"
222
224
  })
@@ -227,10 +229,10 @@ const ae = ["aria-label"], le = { class: "bb-pagination__page-label sr-only" },
227
229
  }, 16)
228
230
  ])
229
231
  ], 512)
230
- ], 8, ae)
232
+ ], 8, K)
231
233
  ], 2));
232
234
  }
233
235
  });
234
236
  export {
235
- be as default
237
+ ue as default
236
238
  };
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index226.js";
2
+ import { useFocusTrap as j } from "./index209.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index228.js";
5
+ import { waitFor as K } from "./index245.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index229.js";
8
+ import U from "./index211.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index223.js";
10
+ import { useLocale as X } from "./index218.js";
11
11
  import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.163",
3
+ "version": "2.0.165",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index212.js DELETED
@@ -1,17 +0,0 @@
1
- import { commonjsGlobal as a, getDefaultExportFromCjs as _ } from "./index275.js";
2
- import { __module as n } from "./index280.js";
3
- (function(o, s) {
4
- (function(r, e) {
5
- o.exports = e();
6
- })(a, function() {
7
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(r) {
8
- var e = ["th", "st", "nd", "rd"], t = r % 100;
9
- return "[" + r + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
10
- } };
11
- });
12
- })(n);
13
- var u = n.exports;
14
- const p = /* @__PURE__ */ _(u);
15
- export {
16
- p as default
17
- };
package/dist/index214.js DELETED
@@ -1,29 +0,0 @@
1
- import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index275.js";
2
- import { __module as n } from "./index282.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);
27
- export {
28
- x as default
29
- };
package/dist/index216.js DELETED
@@ -1,4 +0,0 @@
1
- const e = (t) => t[t.length - 1];
2
- export {
3
- e as last
4
- };
package/dist/index236.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index298.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index323.js DELETED
@@ -1,60 +0,0 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Chiudi",
4
- loadingText: "Caricamento...",
5
- noDataText: "Nessun elemento da visualizzare",
6
- clearLabel: "Reset valore selezionato"
7
- },
8
- colorInput: {
9
- paletteLabel: "Seleziona un colore dalla tavolozza",
10
- mainCanvasDesc: "Usa le frecce per selezionare un colore",
11
- mainCanvasSelectedColor: "Colore selezionato: {0}",
12
- hueCanvasDesc: "Usa le frecce per selezionare una tonalità",
13
- hueCanvasSelectedHue: "Tonalità selezionata: {0}"
14
- },
15
- datePicker: {
16
- monthLabel: "Seleziona un mese",
17
- yearLabel: "Seleziona un anno",
18
- previousMonthLabel: "Vai indietro di un mese",
19
- nextMonthLabel: "Vai avanti di un mese"
20
- },
21
- baseDatePickerInput: {
22
- dateFormat: "Formato della data",
23
- dateFormatSingle: "GG/MM/AAAA",
24
- dateFormatRange: "GG/MM/AAAA - GG/MM/AAAA",
25
- emptyRange: "Seleziona un range",
26
- changeSelectionRange: "Cambia selezione, da {0} a {1}",
27
- changeSelection: "Cambia selezione, {0}",
28
- emptySelection: "Seleziona una data"
29
- },
30
- dialog: {
31
- closeLabel: "Chiudi modale"
32
- },
33
- dropdownButton: {
34
- open: "Apri menu",
35
- close: "Chiudi menu"
36
- },
37
- rating: {
38
- singleStar: "{0} su {1}",
39
- multipleStars: "{0} su {1}"
40
- },
41
- select: {
42
- multipleMaxReached: "{0} elementi selezionati"
43
- },
44
- chip: {
45
- clearLabel: "Elimina"
46
- },
47
- pagination: {
48
- previous: "Precedente",
49
- next: "Successivo"
50
- },
51
- table: {
52
- noDataText: "Non ci sono elementi da visualizzare",
53
- selectAllLabel: "Seleziona tutti gli elementi di questa pagina",
54
- selectText: "Seleziona un elemento",
55
- select: "Seleziona"
56
- }
57
- };
58
- export {
59
- e as default
60
- };