bitboss-ui 2.0.129 → 2.0.130

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 (149) hide show
  1. package/dist/index100.js +7 -7
  2. package/dist/index111.js +10 -10
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +4 -4
  5. package/dist/index123.js +1 -1
  6. package/dist/index125.js +1 -1
  7. package/dist/index127.js +1 -1
  8. package/dist/index128.js +1 -1
  9. package/dist/index129.js +1 -1
  10. package/dist/index131.js +1 -1
  11. package/dist/index132.js +2 -2
  12. package/dist/index133.js +2 -2
  13. package/dist/index15.js +5 -5
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +7 -7
  16. package/dist/index205.js +115 -2
  17. package/dist/index206.js +2 -115
  18. package/dist/index208.js +1 -1
  19. package/dist/index209.js +3 -2
  20. package/dist/index21.js +14 -14
  21. package/dist/index210.js +65 -4
  22. package/dist/index212.js +13 -281
  23. package/dist/index213.js +19 -124
  24. package/dist/index214.js +4 -16
  25. package/dist/index215.js +13 -16
  26. package/dist/index216.js +3 -19
  27. package/dist/index217.js +40 -14
  28. package/dist/index218.js +6 -2
  29. package/dist/index219.js +7 -2
  30. package/dist/index220.js +15 -41
  31. package/dist/index221.js +5 -13
  32. package/dist/index222.js +15 -19
  33. package/dist/index223.js +16 -6
  34. package/dist/index224.js +19 -94
  35. package/dist/index225.js +17 -0
  36. package/dist/index226.js +18 -64
  37. package/dist/index227.js +29 -0
  38. package/dist/index228.js +2 -13
  39. package/dist/index229.js +250 -2
  40. package/dist/index23.js +16 -16
  41. package/dist/index230.js +52 -4
  42. package/dist/index231.js +44 -3
  43. package/dist/index232.js +5 -86
  44. package/dist/index233.js +62 -0
  45. package/dist/index234.js +2 -29
  46. package/dist/index235.js +4 -17
  47. package/dist/index236.js +2 -51
  48. package/dist/index237.js +125 -15
  49. package/dist/index238.js +2 -12
  50. package/dist/index239.js +94 -16
  51. package/dist/index241.js +2 -27
  52. package/dist/index242.js +79 -243
  53. package/dist/index244.js +29 -44
  54. package/dist/index245.js +17 -5
  55. package/dist/index246.js +50 -59
  56. package/dist/index247.js +15 -3
  57. package/dist/index248.js +12 -7
  58. package/dist/index249.js +16 -15
  59. package/dist/index25.js +6 -6
  60. package/dist/index251.js +2 -2
  61. package/dist/index257.js +2 -2
  62. package/dist/index258.js +3 -3
  63. package/dist/index263.js +3 -3
  64. package/dist/index267.js +28 -4
  65. package/dist/index268.js +222 -26
  66. package/dist/index269.js +1 -1
  67. package/dist/index27.js +1 -1
  68. package/dist/index273.js +2 -2
  69. package/dist/index275.js +430 -5
  70. package/dist/index276.js +2 -2
  71. package/dist/index277.js +89 -2
  72. package/dist/index278.js +281 -2
  73. package/dist/index279.js +6 -2
  74. package/dist/index280.js +2 -2
  75. package/dist/index282.js +2 -431
  76. package/dist/index283.js +2 -3
  77. package/dist/index284.js +2 -224
  78. package/dist/index285.js +2 -3
  79. package/dist/index286.js +2 -17
  80. package/dist/index287.js +2 -9
  81. package/dist/index288.js +2 -200
  82. package/dist/index289.js +2 -2
  83. package/dist/index29.js +3 -3
  84. package/dist/index290.js +2 -2
  85. package/dist/index291.js +21 -1
  86. package/dist/index293.js +4 -2
  87. package/dist/index294.js +200 -2
  88. package/dist/index295.js +9 -22
  89. package/dist/index296.js +11 -0
  90. package/dist/index297.js +8 -9
  91. package/dist/index298.js +2 -2
  92. package/dist/index299.js +3 -89
  93. package/dist/index300.js +3 -8
  94. package/dist/index301.js +15 -124
  95. package/dist/index302.js +126 -3
  96. package/dist/index303.js +1 -1
  97. package/dist/index304.js +3 -2
  98. package/dist/index305.js +2 -436
  99. package/dist/index306.js +422 -113
  100. package/dist/index307.js +127 -2
  101. package/dist/index308.js +3 -67
  102. package/dist/index309.js +3 -5
  103. package/dist/index31.js +2 -2
  104. package/dist/index310.js +58 -3
  105. package/dist/index311.js +2 -3
  106. package/dist/index312.js +5 -58
  107. package/dist/index313.js +66 -32
  108. package/dist/index314.js +4 -25
  109. package/dist/index315.js +7 -479
  110. package/dist/index316.js +6 -4
  111. package/dist/index317.js +6 -7
  112. package/dist/index318.js +18 -52
  113. package/dist/index319.js +32 -52
  114. package/dist/index320.js +25 -3
  115. package/dist/index321.js +53 -7
  116. package/dist/index322.js +53 -7
  117. package/dist/index323.js +3 -18
  118. package/dist/index324.js +480 -47
  119. package/dist/index325.js +47 -2
  120. package/dist/index326.js +4 -0
  121. package/dist/index329.js +1 -1
  122. package/dist/index33.js +7 -7
  123. package/dist/index330.js +2 -47
  124. package/dist/index331.js +49 -0
  125. package/dist/index35.js +4 -4
  126. package/dist/index37.js +146 -141
  127. package/dist/index39.js +2 -2
  128. package/dist/index41.js +2 -2
  129. package/dist/index43.js +7 -7
  130. package/dist/index45.js +6 -6
  131. package/dist/index47.js +2 -2
  132. package/dist/index49.js +2 -2
  133. package/dist/index53.js +1 -1
  134. package/dist/index55.js +1 -1
  135. package/dist/index57.js +1 -1
  136. package/dist/index61.js +1 -1
  137. package/dist/index75.js +1 -1
  138. package/dist/index77.js +1 -1
  139. package/dist/index81.js +1 -1
  140. package/dist/index84.js +4 -4
  141. package/dist/index86.js +2 -2
  142. package/dist/index88.js +5 -5
  143. package/dist/index90.js +1 -1
  144. package/package.json +1 -1
  145. package/dist/index211.js +0 -4
  146. package/dist/index240.js +0 -21
  147. package/dist/index243.js +0 -54
  148. package/dist/index292.js +0 -4
  149. package/dist/index328.js +0 -4
package/dist/index244.js CHANGED
@@ -1,46 +1,31 @@
1
- import { defineComponent as _, computed as a, openBlock as o, createElementBlock as c, createElementVNode as p, Fragment as b, renderList as h, createBlock as k, normalizeClass as f, withCtx as y, createTextVNode as x, toDisplayString as B } from "vue";
2
- import C from "./index13.js";
3
- /* empty css */
4
- const M = { class: "bb-base-date-picker__button-menu bb-base-date-picker__month-selector" }, v = { class: "content" }, E = /* @__PURE__ */ _({
5
- __name: "BaseDatePickerMonthSelector",
6
- props: {
7
- cursor: {},
8
- disabled: { type: Boolean }
9
- },
10
- emits: ["update:month"],
11
- setup(l, { emit: d }) {
12
- const s = l, m = d, i = a(() => s.cursor.month()), u = a(
13
- () => new Array(12).fill(0).map((r, t) => {
14
- const n = s.cursor.clone().startOf("year").add(t, "month");
15
- return {
16
- text: n.format("MMMM"),
17
- key: n.unix(),
18
- selected: n.month() === i.value,
19
- handler: () => m("update:month", t)
20
- };
21
- })
22
- );
23
- return (r, t) => (o(), c("div", M, [
24
- p("div", v, [
25
- (o(!0), c(b, null, h(u.value, (e) => (o(), k(C, {
26
- key: e.key,
27
- class: f({
28
- content__btn: !0,
29
- "content__btn--selected": e.selected
30
- }),
31
- disabled: r.disabled,
32
- type: "button",
33
- onClick: e.handler
34
- }, {
35
- default: y(() => [
36
- x(B(e.text), 1)
37
- ]),
38
- _: 2
39
- }, 1032, ["class", "disabled", "onClick"]))), 128))
40
- ])
41
- ]));
42
- }
43
- });
1
+ import { ref as a, computed as s, unref as v } from "vue";
2
+ import { useDebounceFn as f } from "./index205.js";
3
+ const p = (u) => {
4
+ const e = a(0), r = s(() => v(u.items)), t = a([]), n = async (...l) => {
5
+ if (Array.isArray(r.value))
6
+ t.value = r.value;
7
+ else if (typeof r.value == "function") {
8
+ const i = ++e.value;
9
+ try {
10
+ const o = await r.value(...l);
11
+ if (i < e.value) {
12
+ e.value--;
13
+ return;
14
+ } else
15
+ t.value = o;
16
+ } catch (o) {
17
+ console.error(o);
18
+ }
19
+ e.value--;
20
+ }
21
+ }, c = f(n, u.debounce || 0);
22
+ return {
23
+ getter: n,
24
+ debouncedGetter: c,
25
+ items: t,
26
+ loading: s(() => !!e.value)
27
+ };
28
+ };
44
29
  export {
45
- E as default
30
+ p as useItemsGetter
46
31
  };
package/dist/index245.js CHANGED
@@ -1,7 +1,19 @@
1
- import o from "./index295.js";
2
- /* empty css */
3
- import t from "./index271.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c6b13bd"]]);
1
+ import { computed as i, unref as m } from "vue";
2
+ import { hash as s } from "./index208.js";
3
+ const p = ({ items: a, key: r }) => {
4
+ const n = i(() => {
5
+ const t = {}, c = new Array().concat(m(a));
6
+ for (let e = 0; e < c.length; e++) {
7
+ const o = c[e], u = r ? String(o[r]) : s(o);
8
+ t[u] = o;
9
+ }
10
+ return t;
11
+ });
12
+ return {
13
+ data: n,
14
+ get: (t) => r ? n.value[String(t[r])] : n.value[s(t)]
15
+ };
16
+ };
5
17
  export {
6
- m as default
18
+ p as useIndexById
7
19
  };
package/dist/index246.js CHANGED
@@ -1,62 +1,53 @@
1
- import { defineComponent as g, ref as i, computed as d, onMounted as h, openBlock as u, createElementBlock as m, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
2
- import { range as H } from "./index321.js";
3
- import M from "./index13.js";
4
- /* empty css */
5
- const n = 10, l = 3, V = /* @__PURE__ */ g({
6
- __name: "BaseDatePickerYearSelector",
7
- props: {
8
- cursor: {},
9
- disabled: { type: Boolean }
10
- },
11
- emits: ["update:year"],
12
- setup(p, { emit: _ }) {
13
- const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
14
- () => H(c.value, s.value).map((e) => ({
15
- text: e,
16
- key: e,
17
- selected: e === r.value,
18
- handler: () => b("update:year", e)
19
- }))
20
- ), k = (e) => {
21
- const t = e.target;
22
- t.scrollTop <= 100 ? c.value = Math.max(
23
- c.value - n * l,
24
- r.value - 200
25
- ) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
1
+ import { computed as c, unref as n } from "vue";
2
+ import { useItemText as y } from "./index301.js";
3
+ import { useItemValue as x } from "./index296.js";
4
+ import { hash as w } from "./index208.js";
5
+ import { useLogger as D } from "./index207.js";
6
+ const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, d, t, a, f, u) => u ? !1 : d || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && f >= a), q = ({
7
+ items: i,
8
+ disabled: d,
9
+ selectable: t,
10
+ itemText: a,
11
+ itemValue: f,
12
+ selectedIndexedByHash: u,
13
+ max: b = 1 / 0
14
+ }) => {
15
+ const v = c(() => n(d)), p = c(() => n(i)), h = c(
16
+ () => Object.keys(u.value).length
17
+ ), g = n(b), m = (e) => {
18
+ const r = V(e, n(f)), o = w(r), l = O(e, n(a)), s = u.value[o] !== void 0, I = T(
19
+ e,
20
+ v.value,
21
+ t,
22
+ g,
23
+ h.value,
24
+ s
25
+ );
26
+ return {
27
+ item: e,
28
+ text: l,
29
+ value: r,
30
+ valueHash: o,
31
+ selected: s,
32
+ disabled: n(I)
26
33
  };
27
- return h(() => {
28
- if (!o.value) return;
29
- const e = o.value.querySelector(
30
- ".content__btn--selected"
31
- );
32
- e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
33
- }), (e, t) => (u(), m("div", {
34
- ref_key: "container",
35
- ref: o,
36
- class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
37
- }, [
38
- y("div", {
39
- class: "content",
40
- onScrollPassive: k
41
- }, [
42
- (u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
43
- key: a.key,
44
- class: S({
45
- content__btn: !0,
46
- "content__btn--selected": a.selected
47
- }),
48
- disabled: e.disabled,
49
- onClick: a.handler
50
- }, {
51
- default: T(() => [
52
- E(w(a.text), 1)
53
- ]),
54
- _: 2
55
- }, 1032, ["class", "disabled", "onClick"]))), 128))
56
- ], 32)
57
- ], 512));
58
- }
59
- });
34
+ };
35
+ return {
36
+ options: c(() => {
37
+ const e = [], r = /* @__PURE__ */ new Set();
38
+ for (let o = 0; o < p.value.length; o++) {
39
+ const l = p.value[o];
40
+ l.disabled && H(
41
+ "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
42
+ );
43
+ const s = m(l);
44
+ r.has(s.valueHash) || (r.add(s.valueHash), e.push(s));
45
+ }
46
+ return e;
47
+ }),
48
+ createOption: m
49
+ };
50
+ };
60
51
  export {
61
- V as default
52
+ q as useBaseOptions
62
53
  };
package/dist/index247.js CHANGED
@@ -1,5 +1,17 @@
1
- import t from "./index299.js";
2
- const r = t;
1
+ import { isNil as f } from "./index260.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
+ };
3
15
  export {
4
- r as throttle
16
+ a as useCoherence
5
17
  };
package/dist/index248.js CHANGED
@@ -1,9 +1,14 @@
1
- import { ref as e } from "vue";
2
- const o = e(0), s = () => {
3
- o.value++;
4
- }, a = () => {
5
- o.value--;
6
- }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
1
+ import { hash as e } from "./index208.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
+ };
7
12
  export {
8
- d as useModalsState
13
+ n as useHashedWatcher
9
14
  };
package/dist/index249.js CHANGED
@@ -1,17 +1,18 @@
1
- import { defineComponent as a, getCurrentInstance as c, openBlock as l, createBlock as u, Teleport as f, unref as d, renderSlot as m } from "vue";
2
- const i = /* @__PURE__ */ a({
3
- __name: "BbTeleport",
4
- props: {
5
- target: {}
6
- },
7
- setup(o) {
8
- var t, e;
9
- const r = o, n = !!((e = (t = c()) == null ? void 0 : t.proxy) != null && e.$nuxt), p = r.target || (n ? "#teleports" : "body");
10
- return (s, _) => (l(), u(f, { to: d(p) }, [
11
- m(s.$slots, "default")
12
- ], 8, ["to"]));
13
- }
14
- });
1
+ import { isNotNil as n } from "./index134.js";
2
+ import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
+ const h = ({
4
+ fn: i,
5
+ onStart: s,
6
+ multiple: f,
7
+ currentValue: o
8
+ }) => {
9
+ const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
+ e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
+ };
12
+ return a && (u(r), c(async () => {
13
+ l.value || await r();
14
+ })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
+ };
15
16
  export {
16
- i as default
17
+ h as usePrefill
17
18
  };
package/dist/index25.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ie, ref as o, computed as u, getCurrentInstance as ne, nextTick as N, useAttrs as re, onMounted as ue, onBeforeUnmount as G, watch as de, openBlock as _, createBlock as ce, withCtx as ve, createElementVNode as a, mergeProps as P, createElementBlock as H, renderSlot as d, createTextVNode as fe, toDisplayString as K, createCommentVNode as L } from "vue";
2
- import { throttle as be } from "./index247.js";
3
- import { useFocusTrap as pe } from "./index220.js";
2
+ import { throttle as be } from "./index216.js";
3
+ import { useFocusTrap as pe } from "./index217.js";
4
4
  import { useId as U } from "./index8.js";
5
5
  import { wait as T } from "./index130.js";
6
- import { waitFor as me } from "./index223.js";
7
- import { useModalsState as C } from "./index248.js";
6
+ import { waitFor as me } from "./index218.js";
7
+ import { useModalsState as C } from "./index219.js";
8
8
  import { useLogger as ge } from "./index207.js";
9
9
  import { useMobile as ye } from "./index9.js";
10
- import he from "./index249.js";
11
- import { useLocale as we } from "./index221.js";
10
+ import he from "./index220.js";
11
+ import { useLocale as we } from "./index215.js";
12
12
  const ke = { class: "bb-base-dialog-close" }, _e = ["aria-label"], Se = /* @__PURE__ */ ie({
13
13
  __name: "BaseDialog",
14
14
  props: {
package/dist/index251.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { arrow as j, computePosition as A } from "./index258.js";
2
2
  import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index258.js";
3
- import { isNode as B, getNodeName as F } from "./index301.js";
4
- import { getOverflowAncestors as le } from "./index301.js";
3
+ import { isNode as B, getNodeName as F } from "./index302.js";
4
+ import { getOverflowAncestors as le } from "./index302.js";
5
5
  import { computed as a, ref as f, shallowRef as I, watch as h, getCurrentScope as U, onScopeDispose as k, shallowReadonly as r, unref as q } from "vue";
6
6
  function z(e) {
7
7
  return e != null && typeof e == "object" && "$el" in e;
package/dist/index257.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as U, ref as f, computed as x, watch as E, openBlock as d, createElementBlock as c, normalizeClass as $, normalizeStyle as h, withModifiers as X, createElementVNode as p, renderSlot as m, createTextVNode as H, toDisplayString as g, unref as L, Fragment as Z, renderList as ee } from "vue";
2
2
  import { isNil as b } from "./index260.js";
3
- import { useVirtualizer as te } from "./index324.js";
3
+ import { useVirtualizer as te } from "./index325.js";
4
4
  import { isNotNil as oe } from "./index134.js";
5
5
  import { hash as N } from "./index208.js";
6
- import { useLocale as ne } from "./index221.js";
6
+ import { useLocale as ne } from "./index215.js";
7
7
  const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
8
8
  key: 0,
9
9
  class: "bb-listbox__loading"
package/dist/index258.js CHANGED
@@ -1,6 +1,6 @@
1
- import { offset as et, shift as it, flip as nt, hide as ot, arrow as st, computePosition as rt } from "./index305.js";
2
- import { createCoords as b, rectToClientRect as X, round as D, floor as A, max as T, min as z } from "./index306.js";
3
- import { getOverflowAncestors as $, isElement as x, getWindow as E, getFrameElement as U, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as j, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as H, getParentNode as W, isLastTraversableNode as N, isTableElement as ct, isContainingBlock as G, getContainingBlock as lt } from "./index301.js";
1
+ import { offset as et, shift as it, flip as nt, hide as ot, arrow as st, computePosition as rt } from "./index306.js";
2
+ import { createCoords as b, rectToClientRect as X, round as D, floor as A, max as T, min as z } from "./index307.js";
3
+ import { getOverflowAncestors as $, isElement as x, getWindow as E, getFrameElement as U, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as j, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as H, getParentNode as W, isLastTraversableNode as N, isTableElement as ct, isContainingBlock as G, getContainingBlock as lt } from "./index302.js";
4
4
  function J(t) {
5
5
  const e = y(t);
6
6
  let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
package/dist/index263.js CHANGED
@@ -1,6 +1,6 @@
1
- import e from "./index310.js";
2
- import o from "./index311.js";
3
- import r from "./index312.js";
1
+ import e from "./index308.js";
2
+ import o from "./index309.js";
3
+ import r from "./index310.js";
4
4
  const f = new r(o, e)._freeze();
5
5
  export {
6
6
  r as Mime,
package/dist/index267.js CHANGED
@@ -1,6 +1,30 @@
1
- const e = function(t) {
2
- return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
- };
1
+ function y(t, r) {
2
+ return t > r ? 1 : -1;
3
+ }
4
+ function c(t, r) {
5
+ var n = 5381;
6
+ if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
+ r || (r = /* @__PURE__ */ new WeakSet());
8
+ for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
+ var s = p[i], e = t[s];
10
+ if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
+ if (r.has(e)) continue;
12
+ r.add(e);
13
+ }
14
+ n = 33 * n ^ c(e, r);
15
+ }
16
+ return 33 * n ^ c(t.constructor, r);
17
+ }
18
+ var o = typeof t;
19
+ try {
20
+ t instanceof Date ? o += t.getTime() : o += String(t);
21
+ } catch {
22
+ o += String(Object.assign({}, t));
23
+ }
24
+ for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
+ return n;
26
+ }
4
27
  export {
5
- e as curry
28
+ c as hash,
29
+ y as sortNumbers
6
30
  };
package/dist/index268.js CHANGED
@@ -1,30 +1,226 @@
1
- function y(t, r) {
2
- return t > r ? 1 : -1;
1
+ import { commonjsGlobal as r, getDefaultExportFromCjs as f } from "./index279.js";
2
+ var c = 1 / 0, n = "[object Symbol]", a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, d = "\\u0300-\\u036f\\ufe20-\\ufe23", b = "\\u20d0-\\u20f0", i = "[" + d + b + "]", s = RegExp(i, "g"), l = {
3
+ // Latin-1 Supplement block.
4
+ À: "A",
5
+ Á: "A",
6
+ Â: "A",
7
+ Ã: "A",
8
+ Ä: "A",
9
+ Å: "A",
10
+ à: "a",
11
+ á: "a",
12
+ â: "a",
13
+ ã: "a",
14
+ ä: "a",
15
+ å: "a",
16
+ Ç: "C",
17
+ ç: "c",
18
+ Ð: "D",
19
+ ð: "d",
20
+ È: "E",
21
+ É: "E",
22
+ Ê: "E",
23
+ Ë: "E",
24
+ è: "e",
25
+ é: "e",
26
+ ê: "e",
27
+ ë: "e",
28
+ Ì: "I",
29
+ Í: "I",
30
+ Î: "I",
31
+ Ï: "I",
32
+ ì: "i",
33
+ í: "i",
34
+ î: "i",
35
+ ï: "i",
36
+ Ñ: "N",
37
+ ñ: "n",
38
+ Ò: "O",
39
+ Ó: "O",
40
+ Ô: "O",
41
+ Õ: "O",
42
+ Ö: "O",
43
+ Ø: "O",
44
+ ò: "o",
45
+ ó: "o",
46
+ ô: "o",
47
+ õ: "o",
48
+ ö: "o",
49
+ ø: "o",
50
+ Ù: "U",
51
+ Ú: "U",
52
+ Û: "U",
53
+ Ü: "U",
54
+ ù: "u",
55
+ ú: "u",
56
+ û: "u",
57
+ ü: "u",
58
+ Ý: "Y",
59
+ ý: "y",
60
+ ÿ: "y",
61
+ Æ: "Ae",
62
+ æ: "ae",
63
+ Þ: "Th",
64
+ þ: "th",
65
+ ß: "ss",
66
+ // Latin Extended-A block.
67
+ Ā: "A",
68
+ Ă: "A",
69
+ Ą: "A",
70
+ ā: "a",
71
+ ă: "a",
72
+ ą: "a",
73
+ Ć: "C",
74
+ Ĉ: "C",
75
+ Ċ: "C",
76
+ Č: "C",
77
+ ć: "c",
78
+ ĉ: "c",
79
+ ċ: "c",
80
+ č: "c",
81
+ Ď: "D",
82
+ Đ: "D",
83
+ ď: "d",
84
+ đ: "d",
85
+ Ē: "E",
86
+ Ĕ: "E",
87
+ Ė: "E",
88
+ Ę: "E",
89
+ Ě: "E",
90
+ ē: "e",
91
+ ĕ: "e",
92
+ ė: "e",
93
+ ę: "e",
94
+ ě: "e",
95
+ Ĝ: "G",
96
+ Ğ: "G",
97
+ Ġ: "G",
98
+ Ģ: "G",
99
+ ĝ: "g",
100
+ ğ: "g",
101
+ ġ: "g",
102
+ ģ: "g",
103
+ Ĥ: "H",
104
+ Ħ: "H",
105
+ ĥ: "h",
106
+ ħ: "h",
107
+ Ĩ: "I",
108
+ Ī: "I",
109
+ Ĭ: "I",
110
+ Į: "I",
111
+ İ: "I",
112
+ ĩ: "i",
113
+ ī: "i",
114
+ ĭ: "i",
115
+ į: "i",
116
+ ı: "i",
117
+ Ĵ: "J",
118
+ ĵ: "j",
119
+ Ķ: "K",
120
+ ķ: "k",
121
+ ĸ: "k",
122
+ Ĺ: "L",
123
+ Ļ: "L",
124
+ Ľ: "L",
125
+ Ŀ: "L",
126
+ Ł: "L",
127
+ ĺ: "l",
128
+ ļ: "l",
129
+ ľ: "l",
130
+ ŀ: "l",
131
+ ł: "l",
132
+ Ń: "N",
133
+ Ņ: "N",
134
+ Ň: "N",
135
+ Ŋ: "N",
136
+ ń: "n",
137
+ ņ: "n",
138
+ ň: "n",
139
+ ŋ: "n",
140
+ Ō: "O",
141
+ Ŏ: "O",
142
+ Ő: "O",
143
+ ō: "o",
144
+ ŏ: "o",
145
+ ő: "o",
146
+ Ŕ: "R",
147
+ Ŗ: "R",
148
+ Ř: "R",
149
+ ŕ: "r",
150
+ ŗ: "r",
151
+ ř: "r",
152
+ Ś: "S",
153
+ Ŝ: "S",
154
+ Ş: "S",
155
+ Š: "S",
156
+ ś: "s",
157
+ ŝ: "s",
158
+ ş: "s",
159
+ š: "s",
160
+ Ţ: "T",
161
+ Ť: "T",
162
+ Ŧ: "T",
163
+ ţ: "t",
164
+ ť: "t",
165
+ ŧ: "t",
166
+ Ũ: "U",
167
+ Ū: "U",
168
+ Ŭ: "U",
169
+ Ů: "U",
170
+ Ű: "U",
171
+ Ų: "U",
172
+ ũ: "u",
173
+ ū: "u",
174
+ ŭ: "u",
175
+ ů: "u",
176
+ ű: "u",
177
+ ų: "u",
178
+ Ŵ: "W",
179
+ ŵ: "w",
180
+ Ŷ: "Y",
181
+ ŷ: "y",
182
+ Ÿ: "Y",
183
+ Ź: "Z",
184
+ Ż: "Z",
185
+ Ž: "Z",
186
+ ź: "z",
187
+ ż: "z",
188
+ ž: "z",
189
+ IJ: "IJ",
190
+ ij: "ij",
191
+ Œ: "Oe",
192
+ œ: "oe",
193
+ ʼn: "'n",
194
+ ſ: "ss"
195
+ }, y = typeof r == "object" && r && r.Object === Object && r, m = typeof self == "object" && self && self.Object === Object && self, O = y || m || Function("return this")();
196
+ function p(u) {
197
+ return function(e) {
198
+ return u == null ? void 0 : u[e];
199
+ };
3
200
  }
4
- function c(t, r) {
5
- var n = 5381;
6
- if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
- r || (r = /* @__PURE__ */ new WeakSet());
8
- for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
- var s = p[i], e = t[s];
10
- if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
- if (r.has(e)) continue;
12
- r.add(e);
13
- }
14
- n = 33 * n ^ c(e, r);
15
- }
16
- return 33 * n ^ c(t.constructor, r);
17
- }
18
- var o = typeof t;
19
- try {
20
- t instanceof Date ? o += t.getTime() : o += String(t);
21
- } catch {
22
- o += String(Object.assign({}, t));
23
- }
24
- for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
- return n;
201
+ var S = p(l), g = Object.prototype, j = g.toString, o = O.Symbol, x = o ? o.prototype : void 0, t = x ? x.toString : void 0;
202
+ function I(u) {
203
+ if (typeof u == "string")
204
+ return u;
205
+ if (A(u))
206
+ return t ? t.call(u) : "";
207
+ var e = u + "";
208
+ return e == "0" && 1 / u == -c ? "-0" : e;
26
209
  }
210
+ function E(u) {
211
+ return !!u && typeof u == "object";
212
+ }
213
+ function A(u) {
214
+ return typeof u == "symbol" || E(u) && j.call(u) == n;
215
+ }
216
+ function C(u) {
217
+ return u == null ? "" : I(u);
218
+ }
219
+ function U(u) {
220
+ return u = C(u), u && u.replace(a, S).replace(s, "");
221
+ }
222
+ var L = U;
223
+ const v = /* @__PURE__ */ f(L);
27
224
  export {
28
- c as hash,
29
- y as sortNumbers
225
+ v as default
30
226
  };
package/dist/index269.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index226.js";
1
+ import o from "./index210.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default