bitboss-ui 1.0.32 → 1.0.33

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 (132) hide show
  1. package/dist/index103.js +3 -3
  2. package/dist/index113.js +4 -4
  3. package/dist/index115.js +1 -1
  4. package/dist/index119.js +1 -1
  5. package/dist/index12.js +3 -3
  6. package/dist/index120.js +1 -1
  7. package/dist/index121.js +1 -1
  8. package/dist/index123.js +1 -1
  9. package/dist/index127.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index16.js +8 -8
  12. package/dist/index18.js +11 -11
  13. package/dist/index198.js +2 -3
  14. package/dist/index198.js.map +1 -1
  15. package/dist/index199.js +3 -3
  16. package/dist/index199.js.map +1 -1
  17. package/dist/index20.js +4 -4
  18. package/dist/index200.js +3 -121
  19. package/dist/index200.js.map +1 -1
  20. package/dist/index201.js +2 -134
  21. package/dist/index201.js.map +1 -1
  22. package/dist/index202.js +4 -5
  23. package/dist/index202.js.map +1 -1
  24. package/dist/index203.js +2 -19
  25. package/dist/index203.js.map +1 -1
  26. package/dist/index204.js +121 -2
  27. package/dist/index204.js.map +1 -1
  28. package/dist/index205.js +134 -2
  29. package/dist/index205.js.map +1 -1
  30. package/dist/index206.js +5 -35
  31. package/dist/index206.js.map +1 -1
  32. package/dist/index207.js +17 -172
  33. package/dist/index207.js.map +1 -1
  34. package/dist/index208.js +2 -6
  35. package/dist/index208.js.map +1 -1
  36. package/dist/index209.js +2 -368
  37. package/dist/index209.js.map +1 -1
  38. package/dist/index210.js +31 -369
  39. package/dist/index210.js.map +1 -1
  40. package/dist/index211.js +174 -2
  41. package/dist/index211.js.map +1 -1
  42. package/dist/index212.js +6 -4
  43. package/dist/index212.js.map +1 -1
  44. package/dist/index213.js +368 -2
  45. package/dist/index213.js.map +1 -1
  46. package/dist/index214.js +371 -14
  47. package/dist/index214.js.map +1 -1
  48. package/dist/index215.js +10 -10
  49. package/dist/index215.js.map +1 -1
  50. package/dist/index216.js +13 -17
  51. package/dist/index216.js.map +1 -1
  52. package/dist/index217.js +15 -24
  53. package/dist/index217.js.map +1 -1
  54. package/dist/index218.js +29 -8
  55. package/dist/index218.js.map +1 -1
  56. package/dist/index219.js +8 -3
  57. package/dist/index219.js.map +1 -1
  58. package/dist/index22.js +2 -2
  59. package/dist/index220.js +235 -7
  60. package/dist/index220.js.map +1 -1
  61. package/dist/index221.js +2 -2
  62. package/dist/index221.js.map +1 -1
  63. package/dist/index222.js +3 -2
  64. package/dist/index222.js.map +1 -1
  65. package/dist/index223.js +7 -235
  66. package/dist/index223.js.map +1 -1
  67. package/dist/index225.js +2 -2
  68. package/dist/index225.js.map +1 -1
  69. package/dist/index226.js +8 -9
  70. package/dist/index226.js.map +1 -1
  71. package/dist/index227.js +23 -9
  72. package/dist/index227.js.map +1 -1
  73. package/dist/index228.js +10 -23
  74. package/dist/index228.js.map +1 -1
  75. package/dist/index229.js +1 -1
  76. package/dist/index230.js +1 -1
  77. package/dist/index231.js +6 -6
  78. package/dist/index231.js.map +1 -1
  79. package/dist/index232.js +17 -2
  80. package/dist/index232.js.map +1 -1
  81. package/dist/index233.js +4 -295
  82. package/dist/index233.js.map +1 -1
  83. package/dist/index234.js +79 -2
  84. package/dist/index234.js.map +1 -1
  85. package/dist/index235.js +6 -2
  86. package/dist/index235.js.map +1 -1
  87. package/dist/index236.js +2 -106
  88. package/dist/index236.js.map +1 -1
  89. package/dist/index237.js +291 -431
  90. package/dist/index237.js.map +1 -1
  91. package/dist/index238.js +2 -4
  92. package/dist/index238.js.map +1 -1
  93. package/dist/index24.js +1 -1
  94. package/dist/index240.js +106 -2
  95. package/dist/index240.js.map +1 -1
  96. package/dist/index241.js +435 -2
  97. package/dist/index241.js.map +1 -1
  98. package/dist/index242.js +2 -2
  99. package/dist/index242.js.map +1 -1
  100. package/dist/index245.js +5 -89
  101. package/dist/index245.js.map +1 -1
  102. package/dist/index246.js +2 -6
  103. package/dist/index246.js.map +1 -1
  104. package/dist/index247.js +2 -17
  105. package/dist/index247.js.map +1 -1
  106. package/dist/index248.js +2 -79
  107. package/dist/index248.js.map +1 -1
  108. package/dist/index249.js +2 -2
  109. package/dist/index249.js.map +1 -1
  110. package/dist/index251.js +89 -5
  111. package/dist/index251.js.map +1 -1
  112. package/dist/index252.js +1 -1
  113. package/dist/index26.js +2 -2
  114. package/dist/index30.js +3 -3
  115. package/dist/index32.js +8 -8
  116. package/dist/index34.js +3 -3
  117. package/dist/index36.js +2 -2
  118. package/dist/index40.js +2 -2
  119. package/dist/index50.js +1 -1
  120. package/dist/index52.js +1 -1
  121. package/dist/index56.js +1 -1
  122. package/dist/index68.js +5 -5
  123. package/dist/index72.js +2 -2
  124. package/dist/index74.js +1 -1
  125. package/dist/index77.js +2 -2
  126. package/dist/index79.js +1 -1
  127. package/dist/index81.js +4 -4
  128. package/dist/index83.js +1 -1
  129. package/dist/index91.js +12 -22
  130. package/dist/index91.js.map +1 -1
  131. package/dist/style.css +1 -1
  132. package/package.json +1 -1
package/dist/index103.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as de, ref as O, computed as p, onMounted as be, watch as q, openBlock as n, createBlock as re, resolveDynamicComponent as ue, normalizeClass as f, withCtx as pe, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as fe, mergeProps as me } from "vue";
2
- import { add as ye } from "./index249.js";
3
- import { clamp as he } from "./index221.js";
2
+ import { add as ye } from "./index242.js";
3
+ import { clamp as he } from "./index198.js";
4
4
  import { deepEqual as G } from "./index125.js";
5
5
  import { isNil as j } from "./index122.js";
6
6
  import { isNotNil as _e } from "./index126.js";
7
7
  import { useId as ke } from "./index8.js";
8
8
  import { useItemValue as ge } from "./index128.js";
9
- import { when as ve } from "./index212.js";
9
+ import { when as ve } from "./index202.js";
10
10
  import K from "./index12.js";
11
11
  import "./index13.js";
12
12
  import Ce from "./index26.js";
package/dist/index113.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as A, ref as o, computed as E, openBlock as b, createElementBlock as $, mergeProps as D, createElementVNode as i, renderSlot as L, normalizeProps as H, guardReactiveProps as I, unref as s, createBlock as M, Teleport as R, normalizeClass as U, normalizeStyle as j, withCtx as q, createCommentVNode as O } from "vue";
2
- import { useFloating as G, arrow as J } from "./index200.js";
2
+ import { useFloating as G, arrow as J } from "./index204.js";
3
3
  import { useId as K } from "./index8.js";
4
4
  import { wait as P } from "./index124.js";
5
5
  import Q from "./index10.js";
6
6
  import "./index11.js";
7
- import { throttle as v } from "./index219.js";
8
- import { waitFor as W } from "./index208.js";
9
- import { autoUpdate as X, flip as Y, shift as Z } from "./index209.js";
7
+ import { throttle as v } from "./index222.js";
8
+ import { waitFor as W } from "./index212.js";
9
+ import { autoUpdate as X, flip as Y, shift as Z } from "./index213.js";
10
10
  const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
11
11
  fill: "none",
12
12
  viewBox: "0 0 24 24",
package/dist/index115.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as v, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as p, createVNode as k, createSlots as B, withCtx as C, normalizeProps as T, guardReactiveProps as _ } from "vue";
2
- import { flattenTree as P } from "./index251.js";
2
+ import { flattenTree as P } from "./index245.js";
3
3
  const w = { class: "bb-tree-row" }, z = { class: "bb-tree-main-content" }, I = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index119.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as _, openBlock as b, createElementBlock as h, mergeProps as w } from "vue";
2
- import { isCssColor as z } from "./index211.js";
2
+ import { isCssColor as z } from "./index201.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index12.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as n, watch as E, openBlock as m, createElementBlock as p, normalizeProps as c, guardReactiveProps as h, mergeProps as f, createCommentVNode as I, createElementVNode as r, renderSlot as F } from "vue";
2
- import { isCssColor as k } from "./index211.js";
3
- import { when as N } from "./index212.js";
4
- import { booleanishToBoolean as S } from "./index213.js";
2
+ import { isCssColor as k } from "./index201.js";
3
+ import { when as N } from "./index202.js";
4
+ import { booleanishToBoolean as S } from "./index203.js";
5
5
  const A = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index120.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
- import { throttle as g } from "./index219.js";
2
+ import { throttle as g } from "./index222.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index121.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
2
- import { isCssColor as f } from "./index211.js";
2
+ import { isCssColor as f } from "./index201.js";
3
3
  const _ = /* @__PURE__ */ c("svg", {
4
4
  viewBox: "0 0 512 512",
5
5
  xmlns: "http://www.w3.org/2000/svg"
package/dist/index123.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index221.js";
1
+ import { clamp as o } from "./index198.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
package/dist/index127.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index223.js";
1
+ import t from "./index220.js";
2
2
  const o = () => ({
3
3
  getItemText(r, n) {
4
4
  if (typeof r == "string" && !n)
package/dist/index128.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index223.js";
1
+ import o from "./index220.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u")
package/dist/index16.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as Ve, ref as k, computed as p, watch as F, nextTick as U, openBlock as d, createElementBlock as u, mergeProps as Se, createElementVNode as r, createTextVNode as De, toDisplayString as f, unref as y, withDirectives as q, createVNode as V, Transition as S, withCtx as D, vShow as j, createCommentVNode as Y, normalizeClass as g, Fragment as w, renderList as O, renderSlot as G } from "vue";
2
- import i from "./index202.js";
3
- import Me from "./index214.js";
4
- import Ae from "./index215.js";
5
- import xe from "./index203.js";
6
- import Ce from "./index216.js";
7
- import Ye from "./index217.js";
8
- import { groupBy as J } from "./index218.js";
2
+ import i from "./index206.js";
3
+ import Me from "./index215.js";
4
+ import Ae from "./index216.js";
5
+ import xe from "./index207.js";
6
+ import Ce from "./index217.js";
7
+ import Ye from "./index218.js";
8
+ import { groupBy as J } from "./index219.js";
9
9
  import { isNil as Be } from "./index122.js";
10
- import { last as Q } from "./index205.js";
10
+ import { last as Q } from "./index209.js";
11
11
  const Ie = { class: "bb-base-date-picker__header" }, Ee = ["disabled"], Ne = /* @__PURE__ */ r("span", null, null, -1), Te = {
12
12
  "aria-live": "polite",
13
13
  class: "bb-base-date-picker__selected-day-label"
package/dist/index18.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as Z, ref as n, computed as k, watch as x, openBlock as E, createElementBlock as ee, normalizeClass as z, renderSlot as c, createElementVNode as o, withDirectives as ae, mergeProps as B, unref as p, toDisplayString as L, createBlock as te, Teleport as ne, normalizeStyle as re, createVNode as oe, createSlots as le, renderList as se, withCtx as ie, normalizeProps as ue, guardReactiveProps as de, createCommentVNode as ce } from "vue";
2
- import { useFloating as pe } from "./index200.js";
3
- import me from "./index201.js";
4
- import r from "./index202.js";
5
- import fe from "./index203.js";
6
- import { identity as be } from "./index204.js";
7
- import { last as ve } from "./index205.js";
8
- import { useFocusTrap as ye } from "./index206.js";
2
+ import { useFloating as pe } from "./index204.js";
3
+ import me from "./index205.js";
4
+ import r from "./index206.js";
5
+ import fe from "./index207.js";
6
+ import { identity as be } from "./index208.js";
7
+ import { last as ve } from "./index209.js";
8
+ import { useFocusTrap as ye } from "./index210.js";
9
9
  import { useId as ge } from "./index8.js";
10
- import { vMaska as he } from "./index207.js";
10
+ import { vMaska as he } from "./index211.js";
11
11
  import { wait as Y } from "./index124.js";
12
- import { waitFor as ke } from "./index208.js";
12
+ import { waitFor as ke } from "./index212.js";
13
13
  import Me from "./index16.js";
14
14
  import "./index17.js";
15
- import { autoUpdate as we, flip as Ve, shift as _e } from "./index209.js";
16
- import { offset as Ye } from "./index210.js";
15
+ import { autoUpdate as we, flip as Ve, shift as _e } from "./index213.js";
16
+ import { offset as Ye } from "./index214.js";
17
17
  const De = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "name", "placeholder", "readonly", "value"], Ae = ["disabled"], Ce = /* @__PURE__ */ o("svg", {
18
18
  viewBox: "-2 -3 24 24",
19
19
  xmlns: "http://www.w3.org/2000/svg"
package/dist/index198.js CHANGED
@@ -1,6 +1,5 @@
1
- import r from "./index229.js";
2
- const t = r;
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
3
2
  export {
4
- t as deburr
3
+ n as clamp
5
4
  };
6
5
  //# sourceMappingURL=index198.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index198.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from 'lodash.deburr';\n\nexport const deburr = d;\n"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
1
+ {"version":3,"file":"index198.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns\n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n\treturn Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MAC1C,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
package/dist/index199.js CHANGED
@@ -1,6 +1,6 @@
1
- import o from "./index230.js";
2
- const e = o;
1
+ import r from "./index229.js";
2
+ const t = r;
3
3
  export {
4
- e as snakeCase
4
+ t as deburr
5
5
  };
6
6
  //# sourceMappingURL=index199.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index199.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from 'lodash.snakecase';\n\nexport const snakeCase = s;\n"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
1
+ {"version":3,"file":"index199.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from 'lodash.deburr';\n\nexport const deburr = d;\n"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
package/dist/index20.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as oe, ref as o, getCurrentInstance as ae, computed as m, nextTick as R, useAttrs as se, onMounted as ne, onBeforeUnmount as G, watch as ie, openBlock as w, createBlock as re, Teleport as ue, createElementVNode as a, mergeProps as K, createElementBlock as H, renderSlot as r, createTextVNode as de, toDisplayString as T, createCommentVNode as $ } from "vue";
2
- import { throttle as ce } from "./index219.js";
3
- import { useFocusTrap as ve } from "./index206.js";
2
+ import { throttle as ce } from "./index222.js";
3
+ import { useFocusTrap as ve } from "./index210.js";
4
4
  import { useId as P } from "./index8.js";
5
5
  import { wait as L } from "./index124.js";
6
- import { waitFor as be } from "./index208.js";
7
- import { useModalsState as k } from "./index220.js";
6
+ import { waitFor as be } from "./index212.js";
7
+ import { useModalsState as k } from "./index223.js";
8
8
  const fe = { class: "bb-base-dialog-close" }, pe = { class: "bb-base-dialog-close__content" }, me = { class: "bb-base-dialog-close__label" }, ge = /* @__PURE__ */ a("span", { class: "bb-base-dialog-close__icon" }, [
9
9
  /* @__PURE__ */ a("svg", {
10
10
  "aria-hidden": "true",
package/dist/index200.js CHANGED
@@ -1,124 +1,6 @@
1
- import { arrow as j, computePosition as A } from "./index209.js";
2
- import { autoUpdate as T, flip as W, platform as X, shift as Y } from "./index209.js";
3
- import { unref as o, computed as r, ref as f, shallowRef as B, watch as h, getCurrentScope as F, onScopeDispose as I, shallowReadonly as a } from "vue";
4
- import { isNode as U, getNodeName as k } from "./index236.js";
5
- import { getOverflowAncestors as ee } from "./index236.js";
6
- function q(n) {
7
- return n != null && typeof n == "object" && "$el" in n;
8
- }
9
- function g(n) {
10
- if (q(n)) {
11
- const l = n.$el;
12
- return U(l) && k(l) === "#comment" ? null : l;
13
- }
14
- return n;
15
- }
16
- function J(n) {
17
- return {
18
- name: "arrow",
19
- options: n,
20
- fn(l) {
21
- const t = g(o(n.element));
22
- return t == null ? {} : j({
23
- element: t,
24
- padding: n.padding
25
- }).fn(l);
26
- }
27
- };
28
- }
29
- function S(n) {
30
- return typeof window > "u" ? 1 : (n.ownerDocument.defaultView || window).devicePixelRatio || 1;
31
- }
32
- function M(n, l) {
33
- const t = S(n);
34
- return Math.round(l * t) / t;
35
- }
36
- function K(n, l, t) {
37
- t === void 0 && (t = {});
38
- const x = t.whileElementsMounted, D = r(() => {
39
- var e;
40
- return (e = o(t.open)) != null ? e : !0;
41
- }), O = r(() => o(t.middleware)), d = r(() => {
42
- var e;
43
- return (e = o(t.placement)) != null ? e : "bottom";
44
- }), v = r(() => {
45
- var e;
46
- return (e = o(t.strategy)) != null ? e : "absolute";
47
- }), _ = r(() => {
48
- var e;
49
- return (e = o(t.transform)) != null ? e : !0;
50
- }), i = r(() => g(n.value)), u = r(() => g(l.value)), p = f(0), w = f(0), c = f(v.value), P = f(d.value), E = B({}), y = f(!1), N = r(() => {
51
- const e = {
52
- position: c.value,
53
- left: "0",
54
- top: "0"
55
- };
56
- if (!u.value)
57
- return e;
58
- const b = M(u.value, p.value), C = M(u.value, w.value);
59
- return _.value ? {
60
- ...e,
61
- transform: "translate(" + b + "px, " + C + "px)",
62
- ...S(u.value) >= 1.5 && {
63
- willChange: "transform"
64
- }
65
- } : {
66
- position: c.value,
67
- left: b + "px",
68
- top: C + "px"
69
- };
70
- });
71
- let s;
72
- function m() {
73
- i.value == null || u.value == null || A(i.value, u.value, {
74
- middleware: O.value,
75
- placement: d.value,
76
- strategy: v.value
77
- }).then((e) => {
78
- p.value = e.x, w.value = e.y, c.value = e.strategy, P.value = e.placement, E.value = e.middlewareData, y.value = !0;
79
- });
80
- }
81
- function R() {
82
- typeof s == "function" && (s(), s = void 0);
83
- }
84
- function V() {
85
- if (R(), x === void 0) {
86
- m();
87
- return;
88
- }
89
- if (i.value != null && u.value != null) {
90
- s = x(i.value, u.value, m);
91
- return;
92
- }
93
- }
94
- function $() {
95
- D.value || (y.value = !1);
96
- }
97
- return h([O, d, v], m, {
98
- flush: "sync"
99
- }), h([i, u], V, {
100
- flush: "sync"
101
- }), h(D, $, {
102
- flush: "sync"
103
- }), F() && I(R), {
104
- x: a(p),
105
- y: a(w),
106
- strategy: a(c),
107
- placement: a(P),
108
- middlewareData: a(E),
109
- isPositioned: a(y),
110
- floatingStyles: N,
111
- update: m
112
- };
113
- }
1
+ import o from "./index230.js";
2
+ const e = o;
114
3
  export {
115
- J as arrow,
116
- T as autoUpdate,
117
- A as computePosition,
118
- W as flip,
119
- ee as getOverflowAncestors,
120
- X as platform,
121
- Y as shift,
122
- K as useFloating
4
+ e as snakeCase
123
5
  };
124
6
  //# sourceMappingURL=index200.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index200.js","sources":["../node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs"],"sourcesContent":["import { arrow as arrow$1, computePosition } from '@floating-ui/dom';\nexport { autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/dom';\nimport { unref, computed, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly } from 'vue-demi';\nimport { isNode, getNodeName } from '@floating-ui/utils/dom';\n\nfunction isComponentPublicInstance(target) {\n return target != null && typeof target === 'object' && '$el' in target;\n}\nfunction unwrapElement(target) {\n if (isComponentPublicInstance(target)) {\n const element = target.$el;\n return isNode(element) && getNodeName(element) === '#comment' ? null : element;\n }\n return target;\n}\n\n/**\n * Positions an inner element of the floating element such that it is centered to the reference element.\n * @param options The arrow options.\n * @see https://floating-ui.com/docs/arrow\n */\nfunction arrow(options) {\n return {\n name: 'arrow',\n options,\n fn(args) {\n const element = unwrapElement(unref(options.element));\n if (element == null) {\n return {};\n }\n return arrow$1({\n element,\n padding: options.padding\n }).fn(args);\n }\n };\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.\n * @param reference The reference template ref.\n * @param floating The floating template ref.\n * @param options The floating options.\n * @see https://floating-ui.com/docs/vue\n */\nfunction useFloating(reference, floating, options) {\n if (options === void 0) {\n options = {};\n }\n const whileElementsMountedOption = options.whileElementsMounted;\n const openOption = computed(() => {\n var _unref;\n return (_unref = unref(options.open)) != null ? _unref : true;\n });\n const middlewareOption = computed(() => unref(options.middleware));\n const placementOption = computed(() => {\n var _unref2;\n return (_unref2 = unref(options.placement)) != null ? _unref2 : 'bottom';\n });\n const strategyOption = computed(() => {\n var _unref3;\n return (_unref3 = unref(options.strategy)) != null ? _unref3 : 'absolute';\n });\n const transformOption = computed(() => {\n var _unref4;\n return (_unref4 = unref(options.transform)) != null ? _unref4 : true;\n });\n const referenceElement = computed(() => unwrapElement(reference.value));\n const floatingElement = computed(() => unwrapElement(floating.value));\n const x = ref(0);\n const y = ref(0);\n const strategy = ref(strategyOption.value);\n const placement = ref(placementOption.value);\n const middlewareData = shallowRef({});\n const isPositioned = ref(false);\n const floatingStyles = computed(() => {\n const initialStyles = {\n position: strategy.value,\n left: '0',\n top: '0'\n };\n if (!floatingElement.value) {\n return initialStyles;\n }\n const xVal = roundByDPR(floatingElement.value, x.value);\n const yVal = roundByDPR(floatingElement.value, y.value);\n if (transformOption.value) {\n return {\n ...initialStyles,\n transform: \"translate(\" + xVal + \"px, \" + yVal + \"px)\",\n ...(getDPR(floatingElement.value) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy.value,\n left: xVal + \"px\",\n top: yVal + \"px\"\n };\n });\n let whileElementsMountedCleanup;\n function update() {\n if (referenceElement.value == null || floatingElement.value == null) {\n return;\n }\n computePosition(referenceElement.value, floatingElement.value, {\n middleware: middlewareOption.value,\n placement: placementOption.value,\n strategy: strategyOption.value\n }).then(position => {\n x.value = position.x;\n y.value = position.y;\n strategy.value = position.strategy;\n placement.value = position.placement;\n middlewareData.value = position.middlewareData;\n isPositioned.value = true;\n });\n }\n function cleanup() {\n if (typeof whileElementsMountedCleanup === 'function') {\n whileElementsMountedCleanup();\n whileElementsMountedCleanup = undefined;\n }\n }\n function attach() {\n cleanup();\n if (whileElementsMountedOption === undefined) {\n update();\n return;\n }\n if (referenceElement.value != null && floatingElement.value != null) {\n whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);\n return;\n }\n }\n function reset() {\n if (!openOption.value) {\n isPositioned.value = false;\n }\n }\n watch([middlewareOption, placementOption, strategyOption], update, {\n flush: 'sync'\n });\n watch([referenceElement, floatingElement], attach, {\n flush: 'sync'\n });\n watch(openOption, reset, {\n flush: 'sync'\n });\n if (getCurrentScope()) {\n onScopeDispose(cleanup);\n }\n return {\n x: shallowReadonly(x),\n y: shallowReadonly(y),\n strategy: shallowReadonly(strategy),\n placement: shallowReadonly(placement),\n middlewareData: shallowReadonly(middlewareData),\n isPositioned: shallowReadonly(isPositioned),\n floatingStyles,\n update\n };\n}\n\nexport { arrow, useFloating };\n"],"names":["isComponentPublicInstance","target","unwrapElement","element","isNode","getNodeName","arrow","options","args","unref","arrow$1","getDPR","roundByDPR","value","dpr","useFloating","reference","floating","whileElementsMountedOption","openOption","computed","_unref","middlewareOption","placementOption","_unref2","strategyOption","_unref3","transformOption","_unref4","referenceElement","floatingElement","x","ref","y","strategy","placement","middlewareData","shallowRef","isPositioned","floatingStyles","initialStyles","xVal","yVal","whileElementsMountedCleanup","update","computePosition","position","cleanup","attach","reset","watch","getCurrentScope","onScopeDispose","shallowReadonly"],"mappings":";;;;;AAKA,SAASA,EAA0BC,GAAQ;AACzC,SAAOA,KAAU,QAAQ,OAAOA,KAAW,YAAY,SAASA;AAClE;AACA,SAASC,EAAcD,GAAQ;AAC7B,MAAID,EAA0BC,CAAM,GAAG;AACrC,UAAME,IAAUF,EAAO;AACvB,WAAOG,EAAOD,CAAO,KAAKE,EAAYF,CAAO,MAAM,aAAa,OAAOA;AAAA,EACxE;AACD,SAAOF;AACT;AAOA,SAASK,EAAMC,GAAS;AACtB,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAAA;AAAA,IACA,GAAGC,GAAM;AACP,YAAML,IAAUD,EAAcO,EAAMF,EAAQ,OAAO,CAAC;AACpD,aAAIJ,KAAW,OACN,KAEFO,EAAQ;AAAA,QACb,SAAAP;AAAA,QACA,SAASI,EAAQ;AAAA,MACzB,CAAO,EAAE,GAAGC,CAAI;AAAA,IACX;AAAA,EACL;AACA;AAEA,SAASG,EAAOR,GAAS;AACvB,SAAI,OAAO,SAAW,MACb,KAEGA,EAAQ,cAAc,eAAe,QACtC,oBAAoB;AACjC;AAEA,SAASS,EAAWT,GAASU,GAAO;AAClC,QAAMC,IAAMH,EAAOR,CAAO;AAC1B,SAAO,KAAK,MAAMU,IAAQC,CAAG,IAAIA;AACnC;A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ACjD,OAAO;AAAA,EACX,CAAG,GACDE,EAAM/B,GAAY8B,GAAO;AAAA,IACvB,OAAO;AAAA,EACX,CAAG,GACGE,EAAe,KACjBC,EAAeL,CAAO,GAEjB;AAAA,IACL,GAAGM,EAAgBtB,CAAC;AAAA,IACpB,GAAGsB,EAAgBpB,CAAC;AAAA,IACpB,UAAUoB,EAAgBnB,CAAQ;AAAA,IAClC,WAAWmB,EAAgBlB,CAAS;AAAA,IACpC,gBAAgBkB,EAAgBjB,CAAc;AAAA,IAC9C,cAAciB,EAAgBf,CAAY;AAAA,IAC1C,gBAAAC;AAAA,IACA,QAAAK;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index200.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from 'lodash.snakecase';\n\nexport const snakeCase = s;\n"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
package/dist/index201.js CHANGED
@@ -1,137 +1,5 @@
1
- import { getDefaultExportFromCjs as R, commonjsGlobal as W } from "./index231.js";
2
- import { __module as G } from "./index232.js";
3
- (function(V, rt) {
4
- (function(b, Z) {
5
- V.exports = Z();
6
- })(W, function() {
7
- var b = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, Z = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, $ = /\d\d/, i = /\d\d?/, y = /\d*[^-_:/,()\s\d]+/, m = {}, U = function(t) {
8
- return (t = +t) + (t > 68 ? 1900 : 2e3);
9
- }, o = function(t) {
10
- return function(r) {
11
- this[t] = +r;
12
- };
13
- }, j = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
14
- (this.zone || (this.zone = {})).offset = function(r) {
15
- if (!r || r === "Z")
16
- return 0;
17
- var n = r.match(/([+-]|\d\d)/g), e = 60 * n[1] + (+n[2] || 0);
18
- return e === 0 ? 0 : n[0] === "+" ? -e : e;
19
- }(t);
20
- }], F = function(t) {
21
- var r = m[t];
22
- return r && (r.indexOf ? r : r.s.concat(r.f));
23
- }, k = function(t, r) {
24
- var n, e = m.meridiem;
25
- if (e) {
26
- for (var c = 1; c <= 24; c += 1)
27
- if (t.indexOf(e(c, 0, r)) > -1) {
28
- n = c > 12;
29
- break;
30
- }
31
- } else
32
- n = t === (r ? "pm" : "PM");
33
- return n;
34
- }, q = { A: [y, function(t) {
35
- this.afternoon = k(t, !1);
36
- }], a: [y, function(t) {
37
- this.afternoon = k(t, !0);
38
- }], S: [/\d/, function(t) {
39
- this.milliseconds = 100 * +t;
40
- }], SS: [$, function(t) {
41
- this.milliseconds = 10 * +t;
42
- }], SSS: [/\d{3}/, function(t) {
43
- this.milliseconds = +t;
44
- }], s: [i, o("seconds")], ss: [i, o("seconds")], m: [i, o("minutes")], mm: [i, o("minutes")], H: [i, o("hours")], h: [i, o("hours")], HH: [i, o("hours")], hh: [i, o("hours")], D: [i, o("day")], DD: [$, o("day")], Do: [y, function(t) {
45
- var r = m.ordinal, n = t.match(/\d+/);
46
- if (this.day = n[0], r)
47
- for (var e = 1; e <= 31; e += 1)
48
- r(e).replace(/\[|\]/g, "") === t && (this.day = e);
49
- }], M: [i, o("month")], MM: [$, o("month")], MMM: [y, function(t) {
50
- var r = F("months"), n = (F("monthsShort") || r.map(function(e) {
51
- return e.slice(0, 3);
52
- })).indexOf(t) + 1;
53
- if (n < 1)
54
- throw new Error();
55
- this.month = n % 12 || n;
56
- }], MMMM: [y, function(t) {
57
- var r = F("months").indexOf(t) + 1;
58
- if (r < 1)
59
- throw new Error();
60
- this.month = r % 12 || r;
61
- }], Y: [/[+-]?\d+/, o("year")], YY: [$, function(t) {
62
- this.year = U(t);
63
- }], YYYY: [/\d{4}/, o("year")], Z: j, ZZ: j };
64
- function B(t) {
65
- var r, n;
66
- r = t, n = m && m.formats;
67
- for (var e = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, f) {
68
- var a = f && f.toUpperCase();
69
- return l || n[f] || b[f] || n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
70
- return Y || D.slice(1);
71
- });
72
- })).match(Z), c = e.length, h = 0; h < c; h += 1) {
73
- var w = e[h], p = q[w], u = p && p[0], d = p && p[1];
74
- e[h] = d ? { regex: u, parser: d } : w.replace(/^\[|\]$/g, "");
75
- }
76
- return function(v) {
77
- for (var l = {}, f = 0, a = 0; f < c; f += 1) {
78
- var M = e[f];
79
- if (typeof M == "string")
80
- a += M.length;
81
- else {
82
- var Y = M.regex, D = M.parser, S = v.slice(a), g = Y.exec(S)[0];
83
- D.call(l, g), v = v.replace(g, "");
84
- }
85
- }
86
- return function(L) {
87
- var s = L.afternoon;
88
- if (s !== void 0) {
89
- var x = L.hours;
90
- s ? x < 12 && (L.hours += 12) : x === 12 && (L.hours = 0), delete L.afternoon;
91
- }
92
- }(l), l;
93
- };
94
- }
95
- return function(t, r, n) {
96
- n.p.customParseFormat = !0, t && t.parseTwoDigitYear && (U = t.parseTwoDigitYear);
97
- var e = r.prototype, c = e.parse;
98
- e.parse = function(h) {
99
- var w = h.date, p = h.utc, u = h.args;
100
- this.$u = p;
101
- var d = u[1];
102
- if (typeof d == "string") {
103
- var v = u[2] === !0, l = u[3] === !0, f = v || l, a = u[2];
104
- l && (a = u[2]), m = this.$locale(), !v && a && (m = n.Ls[a]), this.$d = function(S, g, L) {
105
- try {
106
- if (["x", "X"].indexOf(g) > -1)
107
- return new Date((g === "X" ? 1e3 : 1) * S);
108
- var s = B(g)(S), x = s.year, A = s.month, I = s.day, J = s.hours, K = s.minutes, N = s.seconds, Q = s.milliseconds, X = s.zone, H = /* @__PURE__ */ new Date(), O = I || (x || A ? 1 : H.getDate()), P = x || H.getFullYear(), T = 0;
109
- x && !A || (T = A > 0 ? A - 1 : H.getMonth());
110
- var z = J || 0, C = K || 0, E = N || 0, _ = Q || 0;
111
- return X ? new Date(Date.UTC(P, T, O, z, C, E, _ + 60 * X.offset * 1e3)) : L ? new Date(Date.UTC(P, T, O, z, C, E, _)) : new Date(P, T, O, z, C, E, _);
112
- } catch {
113
- return /* @__PURE__ */ new Date("");
114
- }
115
- }(w, d, p), this.init(), a && a !== !0 && (this.$L = this.locale(a).$L), f && w != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
116
- } else if (d instanceof Array)
117
- for (var M = d.length, Y = 1; Y <= M; Y += 1) {
118
- u[1] = d[Y - 1];
119
- var D = n.apply(this, u);
120
- if (D.isValid()) {
121
- this.$d = D.$d, this.$L = D.$L, this.init();
122
- break;
123
- }
124
- Y === M && (this.$d = /* @__PURE__ */ new Date(""));
125
- }
126
- else
127
- c.call(this, h);
128
- };
129
- };
130
- });
131
- })(G);
132
- var tt = G.exports;
133
- const at = /* @__PURE__ */ R(tt);
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
134
2
  export {
135
- at as default
3
+ s as isCssColor
136
4
  };
137
5
  //# sourceMappingURL=index201.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index201.js","sources":["../node_modules/dayjs/plugin/customParseFormat.js"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d\\d/,r=/\\d\\d?/,i=/\\d*[^-_:/,()\\s\\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[r,a(\"seconds\")],ss:[r,a(\"seconds\")],m:[r,a(\"minutes\")],mm:[r,a(\"minutes\")],H:[r,a(\"hours\")],h:[r,a(\"hours\")],HH:[r,a(\"hours\")],hh:[r,a(\"hours\")],D:[r,a(\"day\")],DD:[n,a(\"day\")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],M:[r,a(\"month\")],MM:[n,a(\"month\")],MMM:[i,function(e){var t=h(\"months\"),n=(h(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,a(\"year\")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\\d{4}/,a(\"year\")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\\[|\\]$/g,\"\")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if(\"string\"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,\"\")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if(\"string\"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if([\"x\",\"X\"].indexOf(t)>-1)return new Date((\"X\"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date(\"\")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(\"\"))}else i.call(this,e)}}}));"],"names":["e","t","module","this","n","r","i","o","s","a","f","h","u","d","c","l","m","M","Y","p","v","D","g"],"mappings":";;;AAAA,GAAC,SAASA,GAAEC,GAAE;AAAsD,IAAAC,EAAA,UAAeD,EAA4I;AAAA,EAAA,GAAEE,GAAM,WAAU;AAAc,QAAIH,IAAE,EAAC,KAAI,aAAY,IAAG,UAAS,GAAE,cAAa,IAAG,gBAAe,KAAI,uBAAsB,MAAK,4BAA2B,GAAEC,IAAE,2FAA0FG,IAAE,QAAOC,IAAE,SAAQC,IAAE,sBAAqBC,IAAE,CAAE,GAACC,IAAE,SAASR,GAAE;AAAC,cAAOA,IAAE,CAACA,MAAIA,IAAE,KAAG,OAAK;AAAA,IAAI,GAAMS,IAAE,SAAST,GAAE;AAAC,aAAO,SAASC,GAAE;AAAC,aAAKD,CAAC,IAAE,CAACC;AAAA,MAAC;AAAA,IAAC,GAAES,IAAE,CAAC,uBAAsB,SAASV,GAAE;AAAC,OAAC,KAAK,SAAO,KAAK,OAAK,CAAA,IAAK,SAAO,SAASA,GAAE;AAAgB,YAAZ,CAACA,KAAoBA,MAAN;AAAQ,iBAAO;AAAE,YAAIC,IAAED,EAAE,MAAM,cAAc,GAAEI,IAAE,KAAGH,EAAE,CAAC,KAAG,CAACA,EAAE,CAAC,KAAG;AAAG,eAAWG,MAAJ,IAAM,IAAQH,EAAE,CAAC,MAAT,MAAW,CAACG,IAAEA;AAAA,MAAC,EAAEJ,CAAC;AAAA,IAAC,CAAC,GAAEW,IAAE,SAASX,GAAE;AAAC,UAAIC,IAAEM,EAAEP,CAAC;AAAE,aAAOC,MAAIA,EAAE,UAAQA,IAAEA,EAAE,EAAE,OAAOA,EAAE,CAAC;AAAA,IAAE,GA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AE,qBAAOC,IAAE,IAAI,KAAK,KAAK,IAAII,GAAEC,GAAEF,GAAEG,GAAEC,GAAEC,GAAEC,IAAE,KAAGT,EAAE,SAAO,GAAG,CAAC,IAAET,IAAE,IAAI,KAAK,KAAK,IAAIa,GAAEC,GAAEF,GAAEG,GAAEC,GAAEC,GAAEC,CAAC,CAAC,IAAE,IAAI,KAAKL,GAAEC,GAAEF,GAAEG,GAAEC,GAAEC,GAAEC,CAAC;AAAA,YAAC,QAAS;AAAC,qBAAO,oBAAI,KAAK,EAAE;AAAA,YAAC;AAAA,UAAC,EAAErB,GAAEQ,GAAEJ,CAAC,GAAE,KAAK,KAAI,GAAGQ,KAAQA,MAAL,OAAS,KAAK,KAAG,KAAK,OAAOA,CAAC,EAAE,KAAID,KAAGX,KAAG,KAAK,OAAOQ,CAAC,MAAI,KAAK,KAAG,oBAAI,KAAK,EAAE,IAAGF,IAAE,CAAA;AAAA,QAAE,WAASE,aAAa;AAAM,mBAAQM,IAAEN,EAAE,QAAOO,IAAE,GAAEA,KAAGD,GAAEC,KAAG,GAAE;AAAC,YAAAR,EAAE,CAAC,IAAEC,EAAEO,IAAE,CAAC;AAAE,gBAAIC,IAAE,EAAE,MAAM,MAAKT,CAAC;AAAE,gBAAGS,EAAE,QAAO,GAAG;AAAC,mBAAK,KAAGA,EAAE,IAAG,KAAK,KAAGA,EAAE,IAAG,KAAK,KAAM;AAAC;AAAA,YAAK;AAAC,YAAAD,MAAID,MAAI,KAAK,KAAG,oBAAI,KAAK,EAAE;AAAA,UAAE;AAAA;AAAM,UAAAT,EAAE,KAAK,MAAKN,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index201.js","sources":["../src/utilities/functions/isCssColor.ts"],"sourcesContent":["/**\n * Taken from vuetify colorable mixin\n * https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/colorable/index.ts\n */\nexport const isCssColor = (color: string): boolean => {\n\treturn !!color && !!color.match(/^(#|var\\(--|(rgb|hsl)a?\\()/);\n};\n"],"names":["isCssColor","color"],"mappings":"AAIa,MAAAA,IAAa,CAACC,MACnB,CAAC,CAACA,KAAS,CAAC,CAACA,EAAM,MAAM,4BAA4B;"}
package/dist/index202.js CHANGED
@@ -1,8 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index231.js";
2
- import { __require as o } from "./index233.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ import { curry as e } from "./index233.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
5
3
  export {
6
- s as default
4
+ t as baseWhen,
5
+ s as when
7
6
  };
8
7
  //# sourceMappingURL=index202.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index202.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index202.js","sources":["../src/utilities/functions/when.ts"],"sourcesContent":["import { curry } from './curry';\n/**\n * Runs fn on item if iteratee(item) is thruthy\n * @param iteratee The test\n * @param item The item to test\n * @param fn The transformer function\n * @returns\n */\nexport const baseWhen = <T, U>(\n\titeratee: (item: T) => boolean,\n\tfn: (item: T) => U,\n\titem: T\n) => {\n\tif (iteratee(item)) return fn(item);\n\treturn item;\n};\n\nexport const when = curry(baseWhen);\n"],"names":["baseWhen","iteratee","fn","item","when","curry"],"mappings":";AAQO,MAAMA,IAAW,CACvBC,GACAC,GACAC,MAEIF,EAASE,CAAI,IAAUD,EAAGC,CAAI,IAC3BA,GAGKC,IAAOC,EAAML,CAAQ;"}
package/dist/index203.js CHANGED
@@ -1,22 +1,5 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as m } from "./index231.js";
2
- import { __module as _ } from "./index235.js";
3
- import { __require as s } from "./index233.js";
4
- (function(n, d) {
5
- (function(t, o) {
6
- n.exports = o(s());
7
- })(m, function(t) {
8
- function o(e) {
9
- return e && typeof e == "object" && "default" in e ? e : { default: e };
10
- }
11
- var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
12
- return e + "º";
13
- } };
14
- return a.default.locale(r, null, !0), r;
15
- });
16
- })(_);
17
- var u = _.exports;
18
- const p = /* @__PURE__ */ i(u);
1
+ const o = (e) => typeof e == "boolean" ? e : e === "true";
19
2
  export {
20
- p as default
3
+ o as booleanishToBoolean
21
4
  };
22
5
  //# sourceMappingURL=index203.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index203.js","sources":["../node_modules/dayjs/locale/it.js"],"sourcesContent":["!function(e,o){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=o(require(\"dayjs\")):\"function\"==typeof define&&define.amd?define([\"dayjs\"],o):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_locale_it=o(e.dayjs)}(this,(function(e){\"use strict\";function o(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var t=o(e),n={name:\"it\",weekdays:\"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato\".split(\"_\"),weekdaysShort:\"dom_lun_mar_mer_gio_ven_sab\".split(\"_\"),weekdaysMin:\"do_lu_ma_me_gi_ve_sa\".split(\"_\"),months:\"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre\".split(\"_\"),weekStart:1,monthsShort:\"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic\".split(\"_\"),formats:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},relativeTime:{future:\"tra %s\",past:\"%s fa\",s:\"qualche secondo\",m:\"un minuto\",mm:\"%d minuti\",h:\"un' ora\",hh:\"%d ore\",d:\"un giorno\",dd:\"%d giorni\",M:\"un mese\",MM:\"%d mesi\",y:\"un anno\",yy:\"%d anni\"},ordinal:function(e){return e+\"º\"}};return t.default.locale(n,null,!0),n}));"],"names":["e","module","require$$0","this","t","n"],"mappings":";;;;AAAA,GAAC,SAASA,GAAE,GAAE;AAAsD,IAAAC,EAAA,UAAe,EAAEC,EAAgB,CAAA;AAAA,EAA4I,GAAEC,GAAM,SAASH,GAAE;AAAc,aAAS,EAAE,GAAE;AAAC,aAAO,KAAa,OAAO,KAAjB,YAAoB,aAAY,IAAE,IAAE,EAAC,SAAQ,EAAC;AAAA,IAAC;AAAC,QAAII,IAAE,EAAEJ,CAAC,GAAEK,IAAE,EAAC,MAAK,MAAK,UAAS,2DAA2D,MAAM,GAAG,GAAE,eAAc,8BAA8B,MAAM,GAAG,GAAE,aAAY,uBAAuB,MAAM,GAAG,GAAE,QAAO,gGAAgG,MAAM,GAAG,GAAE,WAAU,GAAE,aAAY,kDAAkD,MAAM,GAAG,GAAE,SAAQ,EAAC,IAAG,SAAQ,KAAI,YAAW,GAAE,cAAa,IAAG,eAAc,KAAI,qBAAoB,MAAK,yBAAwB,GAAE,cAAa,EAAC,QAAO,UAAS,MAAK,SAAQ,GAAE,mBAAkB,GAAE,aAAY,IAAG,aAAY,GAAE,WAAU,IAAG,UAAS,GAAE,aAAY,IAAG,aAAY,GAAE,WAAU,IAAG,WAAU,GAAE,WAAU,IAAG,UAAS,GAAE,SAAQ,SAAS,GAAE;AAAC,aAAO,IAAE;AAAA,IAAG,EAAC;AAAE,WAAOD,EAAE,QAAQ,OAAOC,GAAE,MAAK,EAAE,GAAEA;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index203.js","sources":["../src/utilities/functions/booleanishToBoolean.ts"],"sourcesContent":["/**\n * Accepts a booleanish input and returns a boolean value\n * @param input booleanish input\n * @returns\n */\nexport const booleanishToBoolean = (input: boolean | 'true' | 'false') => {\n\tif (typeof input === 'boolean') return input;\n\telse return input === 'true';\n};\n"],"names":["booleanishToBoolean","input"],"mappings":"AAKa,MAAAA,IAAsB,CAACC,MAC/B,OAAOA,KAAU,YAAkBA,IAC3BA,MAAU;"}