bitboss-ui 0.1.93 → 0.1.94

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 (147) hide show
  1. package/dist/index101.js +2 -2
  2. package/dist/index107.js +1 -1
  3. package/dist/index109.js +3 -3
  4. package/dist/index111.js +1 -1
  5. package/dist/index114.js +1 -1
  6. package/dist/index115.js +1 -1
  7. package/dist/index116.js +1 -1
  8. package/dist/index117.js +1 -1
  9. package/dist/index119.js +1 -1
  10. package/dist/index121.js +12 -11
  11. package/dist/index121.js.map +1 -1
  12. package/dist/index122.js +1 -1
  13. package/dist/index123.js +1 -1
  14. package/dist/index127.js +2 -2
  15. package/dist/index13.js +8 -8
  16. package/dist/index15.js +9 -9
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +2 -2
  19. package/dist/index194.js +3 -2
  20. package/dist/index194.js.map +1 -1
  21. package/dist/index195.js +3 -5
  22. package/dist/index195.js.map +1 -1
  23. package/dist/index196.js +2 -16
  24. package/dist/index196.js.map +1 -1
  25. package/dist/index197.js +4 -16
  26. package/dist/index197.js.map +1 -1
  27. package/dist/index198.js +349 -17
  28. package/dist/index198.js.map +1 -1
  29. package/dist/index199.js +131 -17
  30. package/dist/index199.js.map +1 -1
  31. package/dist/index200.js +5 -29
  32. package/dist/index200.js.map +1 -1
  33. package/dist/index201.js +19 -8
  34. package/dist/index201.js.map +1 -1
  35. package/dist/index202.js +2 -2
  36. package/dist/index202.js.map +1 -1
  37. package/dist/index203.js +2 -3
  38. package/dist/index203.js.map +1 -1
  39. package/dist/index204.js +184 -33
  40. package/dist/index204.js.map +1 -1
  41. package/dist/index205.js +23 -6
  42. package/dist/index205.js.map +1 -1
  43. package/dist/index206.js +369 -2
  44. package/dist/index206.js.map +1 -1
  45. package/dist/index207.js +16 -4
  46. package/dist/index207.js.map +1 -1
  47. package/dist/index208.js +16 -3
  48. package/dist/index208.js.map +1 -1
  49. package/dist/index209.js +20 -3
  50. package/dist/index209.js.map +1 -1
  51. package/dist/index21.js +1 -1
  52. package/dist/index210.js +27 -349
  53. package/dist/index210.js.map +1 -1
  54. package/dist/index211.js +8 -134
  55. package/dist/index211.js.map +1 -1
  56. package/dist/index212.js +2 -2
  57. package/dist/index212.js.map +1 -1
  58. package/dist/index213.js +226 -177
  59. package/dist/index213.js.map +1 -1
  60. package/dist/index214.js +10 -23
  61. package/dist/index214.js.map +1 -1
  62. package/dist/index215.js +2 -369
  63. package/dist/index215.js.map +1 -1
  64. package/dist/index216.js +2 -2
  65. package/dist/index216.js.map +1 -1
  66. package/dist/index217.js +6 -10
  67. package/dist/index217.js.map +1 -1
  68. package/dist/index218.js +3 -2
  69. package/dist/index218.js.map +1 -1
  70. package/dist/index219.js +35 -2
  71. package/dist/index219.js.map +1 -1
  72. package/dist/index220.js +7 -233
  73. package/dist/index220.js.map +1 -1
  74. package/dist/index221.js +114 -7
  75. package/dist/index221.js.map +1 -1
  76. package/dist/index222.js +25 -113
  77. package/dist/index222.js.map +1 -1
  78. package/dist/index223.js +12 -27
  79. package/dist/index223.js.map +1 -1
  80. package/dist/index224.js +79 -13
  81. package/dist/index224.js.map +1 -1
  82. package/dist/index225.js +219 -74
  83. package/dist/index225.js.map +1 -1
  84. package/dist/index226.js +257 -294
  85. package/dist/index226.js.map +1 -1
  86. package/dist/index227.js +4 -6
  87. package/dist/index227.js.map +1 -1
  88. package/dist/index228.js +6 -2
  89. package/dist/index228.js.map +1 -1
  90. package/dist/index229.js +2 -2
  91. package/dist/index23.js +2 -2
  92. package/dist/index230.js +295 -2
  93. package/dist/index230.js.map +1 -1
  94. package/dist/index231.js +2 -2
  95. package/dist/index233.js +117 -2
  96. package/dist/index233.js.map +1 -1
  97. package/dist/index234.js +99 -428
  98. package/dist/index234.js.map +1 -1
  99. package/dist/index235.js +2 -89
  100. package/dist/index235.js.map +1 -1
  101. package/dist/index236.js +2 -224
  102. package/dist/index236.js.map +1 -1
  103. package/dist/index237.js +2 -258
  104. package/dist/index237.js.map +1 -1
  105. package/dist/index238.js +2 -4
  106. package/dist/index238.js.map +1 -1
  107. package/dist/index239.js +68 -199
  108. package/dist/index239.js.map +1 -1
  109. package/dist/index240.js +2 -2
  110. package/dist/index240.js.map +1 -1
  111. package/dist/index241.js +2 -162
  112. package/dist/index241.js.map +1 -1
  113. package/dist/index242.js +162 -2
  114. package/dist/index242.js.map +1 -1
  115. package/dist/index243.js +2 -2
  116. package/dist/index244.js +2 -117
  117. package/dist/index244.js.map +1 -1
  118. package/dist/index245.js +88 -105
  119. package/dist/index245.js.map +1 -1
  120. package/dist/index246.js +435 -2
  121. package/dist/index246.js.map +1 -1
  122. package/dist/index247.js +199 -68
  123. package/dist/index247.js.map +1 -1
  124. package/dist/index251.js +2 -2
  125. package/dist/index252.js +2 -2
  126. package/dist/index253.js +2 -2
  127. package/dist/index253.js.map +1 -1
  128. package/dist/index27.js +3 -3
  129. package/dist/index29.js +6 -6
  130. package/dist/index31.js +2 -2
  131. package/dist/index33.js +2 -2
  132. package/dist/index4.js.map +1 -1
  133. package/dist/index45.js +1 -1
  134. package/dist/index47.js +1 -1
  135. package/dist/index63.js +5 -5
  136. package/dist/index67.js +2 -2
  137. package/dist/index70.js +1 -1
  138. package/dist/index73.js +1 -1
  139. package/dist/index75.js +1 -1
  140. package/dist/index77.js +4 -4
  141. package/dist/index79.js +1 -1
  142. package/dist/index9.js +2 -2
  143. package/dist/index99.js +3 -3
  144. package/dist/style.css +1 -1
  145. package/package.json +2 -3
  146. package/dist/index254.js +0 -5
  147. package/dist/index254.js.map +0 -1
package/dist/index101.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as m, openBlock as c, createBlock as b, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as n, createVNode as h, mergeProps as y } from "vue";
2
2
  import f from "./index19.js";
3
3
  import "./index20.js";
4
- import v from "./index241.js";
5
- import "./index242.js";
4
+ import v from "./index242.js";
5
+ import "./index243.js";
6
6
  const w = /* @__PURE__ */ m({
7
7
  __name: "BbTag",
8
8
  props: {
package/dist/index107.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
2
2
  import { state as k, useToast as C } from "./index4.js";
3
- import B from "./index247.js";
3
+ import B from "./index239.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index109.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as x, ref as o, computed as C, openBlock as d, createElementBlock as E, mergeProps as $, createElementVNode as r, renderSlot as L, normalizeProps as A, guardReactiveProps as H, unref as b, createBlock as M, Teleport as I, normalizeClass as R, normalizeStyle as U, withCtx as j, createCommentVNode as D } from "vue";
2
- import { useFloating as q, arrow as G } from "./index222.js";
2
+ import { useFloating as q, arrow as G } from "./index221.js";
3
3
  import { useId as J } from "./index121.js";
4
4
  import { wait as O } from "./index120.js";
5
5
  import K from "./index7.js";
6
6
  import "./index8.js";
7
- import { autoUpdate as Q } from "./index210.js";
8
- import { flip as W, shift as X } from "./index215.js";
7
+ import { autoUpdate as Q } from "./index198.js";
8
+ import { flip as W, shift as X } from "./index206.js";
9
9
  const Y = { class: "bb-tooltip__bubble" }, Z = /* @__PURE__ */ r("svg", {
10
10
  viewBox: "0 0 24 24",
11
11
  fill: "none",
package/dist/index111.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 "./index246.js";
2
+ import { flattenTree as P } from "./index240.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/index114.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
2
2
  import { wait as V } from "./index120.js";
3
- import { throttle as _ } from "./index203.js";
3
+ import { throttle as _ } from "./index218.js";
4
4
  const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
5
5
  __name: "BbCollapsible",
6
6
  props: {
package/dist/index115.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 "./index206.js";
2
+ import { isCssColor as z } from "./index196.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index116.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 "./index203.js";
2
+ import { throttle as g } from "./index218.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index117.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 "./index206.js";
2
+ import { isCssColor as f } from "./index196.js";
3
3
  const _ = /* @__PURE__ */ c("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 512"
package/dist/index119.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index194.js";
1
+ import { clamp as o } from "./index212.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/index121.js CHANGED
@@ -1,18 +1,19 @@
1
- import { nanoid as o } from "./index216.js";
2
- import { ref as e } from "vue";
3
- try {
4
- self.crypto || window.crypto;
5
- } catch {
6
- global.crypto = global.crypto || require("node:crypto");
7
- }
8
- const p = () => {
9
- const r = e(o());
1
+ import { ref as s } from "vue";
2
+ const c = (r) => {
3
+ let t = "";
4
+ const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", n = e.length;
5
+ let o = 0;
6
+ for (; o < r; )
7
+ t += e.charAt(Math.floor(Math.random() * n)), o += 1;
8
+ return t;
9
+ }, h = () => {
10
+ const r = s(c(12));
10
11
  return {
11
12
  id: r,
12
- refresh: () => r.value = o()
13
+ refresh: () => r.value = c(12)
13
14
  };
14
15
  };
15
16
  export {
16
- p as useId
17
+ h as useId
17
18
  };
18
19
  //# sourceMappingURL=index121.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index121.js","sources":["../src/composables/useId.ts"],"sourcesContent":["import { nanoid } from \"nanoid\";\nimport { ref } from \"vue\";\ntry {\n // this should fail in node\n self.crypto || window.crypto;\n} catch (error) {\n // inject crypto into the global node scope\n // @ts-ignore\n global.crypto = global.crypto || require(\"node:crypto\");\n}\nexport const useId = () => {\n const id = ref(nanoid());\n const refresh = () => id.value = nanoid();\n return {\n id,\n refresh\n }\n}"],"names":["useId","id","ref","nanoid"],"mappings":";;AAEA,IAAI;AAEA,OAAK,UAAU,OAAO;AAC1B,QAAgB;AAGZ,SAAO,SAAS,OAAO,UAAU,QAAQ,aAAa;AAC1D;AACO,MAAMA,IAAQ,MAAM;AACjB,QAAAC,IAAKC,EAAIC,EAAA,CAAQ;AAEhB,SAAA;AAAA,IACH,IAAAF;AAAA,IACA,SAHY,MAAMA,EAAG,QAAQE,EAAO;AAAA,EAGpC;AAER;"}
1
+ {"version":3,"file":"index121.js","sources":["../src/composables/useId.ts"],"sourcesContent":["import { ref } from \"vue\";\n\nconst makeid = (length: number) => {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n let counter = 0;\n while (counter < length) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n counter += 1;\n }\n return result;\n}\n\nexport const useId = () => {\n const id = ref(makeid(12));\n const refresh = () => id.value = makeid(12);\n return {\n id,\n refresh\n }\n}"],"names":["makeid","length","result","characters","charactersLength","counter","useId","id","ref"],"mappings":";AAEA,MAAMA,IAAS,CAACC,MAAmB;AAC/B,MAAIC,IAAS;AACb,QAAMC,IAAa,kEACbC,IAAmBD,EAAW;AACpC,MAAIE,IAAU;AACd,SAAOA,IAAUJ;AACL,IAAAC,KAAAC,EAAW,OAAO,KAAK,MAAM,KAAK,OAAO,IAAIC,CAAgB,CAAC,GAC7DC,KAAA;AAEN,SAAAH;AACX,GAEaI,IAAQ,MAAM;AACvB,QAAMC,IAAKC,EAAIR,EAAO,EAAE,CAAC;AAElB,SAAA;AAAA,IACH,IAAAO;AAAA,IACA,SAHY,MAAMA,EAAG,QAAQP,EAAO,EAAE;AAAA,EAGtC;AAER;"}
package/dist/index122.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index220.js";
1
+ import t from "./index213.js";
2
2
  const e = () => ({
3
3
  getItemText(r, n) {
4
4
  if (typeof r == "string" && !n)
package/dist/index123.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index220.js";
1
+ import o from "./index213.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u")
package/dist/index127.js CHANGED
@@ -1,5 +1,5 @@
1
- import { toValue as B } from "./index217.js";
2
- import { tryOnScopeDispose as E } from "./index217.js";
1
+ import { toValue as B } from "./index214.js";
2
+ import { tryOnScopeDispose as E } from "./index214.js";
3
3
  import { ref as c, computed as t } from "vue";
4
4
  function h(a) {
5
5
  var l;
package/dist/index13.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as de, ref as k, computed as h, watch as ue, openBlock as d, createElementBlock as u, mergeProps as ce, createElementVNode as i, createTextVNode as be, toDisplayString as f, unref as p, withDirectives as L, createVNode as g, Transition as V, withCtx as w, vShow as z, createCommentVNode as A, normalizeClass as x, Fragment as O, renderList as S, renderSlot as R, nextTick as me } from "vue";
2
- import c from "./index195.js";
3
- import fe from "./index196.js";
4
- import pe from "./index197.js";
5
- import he from "./index198.js";
6
- import ye from "./index199.js";
7
- import _e from "./index200.js";
8
- import { groupBy as W } from "./index201.js";
2
+ import c from "./index200.js";
3
+ import fe from "./index207.js";
4
+ import pe from "./index208.js";
5
+ import he from "./index201.js";
6
+ import ye from "./index209.js";
7
+ import _e from "./index210.js";
8
+ import { groupBy as W } from "./index211.js";
9
9
  import { isNil as ve } from "./index118.js";
10
- import { last as $ } from "./index202.js";
10
+ import { last as $ } from "./index203.js";
11
11
  const ke = { class: "bb-base-date-picker__header" }, ge = ["disabled"], Ve = /* @__PURE__ */ i("span", null, null, -1), we = {
12
12
  class: "bb-base-date-picker__selected-day-label",
13
13
  "aria-live": "polite"
package/dist/index15.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as R, ref as l, computed as Y, watch as J, onMounted as Q, onBeforeUnmount as X, openBlock as B, createElementBlock as Z, normalizeClass as C, renderSlot as u, createElementVNode as g, withDirectives as x, mergeProps as T, unref as d, toDisplayString as ee, createBlock as ae, Teleport as te, createVNode as ne, createSlots as oe, renderList as le, withCtx as ie, normalizeProps as re, guardReactiveProps as se } from "vue";
2
- import { autoUpdate as ue, computePosition as de } from "./index210.js";
3
- import ce from "./index211.js";
4
- import c from "./index195.js";
5
- import fe from "./index198.js";
6
- import { identity as pe } from "./index212.js";
7
- import { last as me } from "./index202.js";
8
- import { vMaska as be } from "./index213.js";
2
+ import { autoUpdate as ue, computePosition as de } from "./index198.js";
3
+ import ce from "./index199.js";
4
+ import c from "./index200.js";
5
+ import fe from "./index201.js";
6
+ import { identity as pe } from "./index202.js";
7
+ import { last as me } from "./index203.js";
8
+ import { vMaska as be } from "./index204.js";
9
9
  import { wait as I } from "./index120.js";
10
10
  import ve from "./index13.js";
11
11
  import "./index14.js";
12
- import O from "./index214.js";
12
+ import O from "./index205.js";
13
13
  import { useId as ye } from "./index121.js";
14
- import { offset as ge, flip as he, shift as ke } from "./index215.js";
14
+ import { offset as ge, flip as he, shift as ke } from "./index206.js";
15
15
  const we = ["autocomplete", "autofocus", "data-maska", "disabled", "id", "name", "placeholder", "readonly", "value", "aria-describedby"], Ee = ["id"], Pe = /* @__PURE__ */ R({
16
16
  __name: "BaseDatePickerInput",
17
17
  props: {
package/dist/index17.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as J, ref as l, useAttrs as Q, computed as h, onMounted as A, onBeforeUnmount as X, watch as Y, nextTick as E, openBlock as _, createBlock as Z, Teleport as ee, createElementVNode as o, mergeProps as N, createElementBlock as V, renderSlot as i, createTextVNode as te, toDisplayString as D, createCommentVNode as M } from "vue";
2
- import { throttle as le } from "./index203.js";
3
- import { useFocusTrap as oe } from "./index204.js";
2
+ import { throttle as le } from "./index218.js";
3
+ import { useFocusTrap as oe } from "./index219.js";
4
4
  import { useId as W } from "./index121.js";
5
5
  import { wait as L } from "./index120.js";
6
- import { waitFor as ae } from "./index205.js";
6
+ import { waitFor as ae } from "./index217.js";
7
7
  const se = { class: "bb-base-dialog-close" }, ne = { class: "bb-base-dialog-close__content" }, ie = { class: "bb-base-dialog-close__label" }, re = /* @__PURE__ */ o("span", { class: "bb-base-dialog-close__icon" }, [
8
8
  /* @__PURE__ */ o("svg", {
9
9
  viewBox: "0 0 24 24",
package/dist/index19.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, computed as n, openBlock as i, createElementBlock as b, createBlock as h, resolveDynamicComponent as v, normalizeProps as o, guardReactiveProps as l, withCtx as c, renderSlot as _, createTextVNode as A, toDisplayString as g, createElementVNode as E, unref as z, createVNode as S, Fragment as T, renderList as V } from "vue";
2
- import { deburr as N } from "./index208.js";
2
+ import { deburr as N } from "./index194.js";
3
3
  import { getAsPercentage as P } from "./index119.js";
4
- import { snakeCase as D } from "./index209.js";
4
+ import { snakeCase as D } from "./index195.js";
5
5
  import { useId as I } from "./index121.js";
6
6
  import F from "./index116.js";
7
7
  import "./index181.js";
package/dist/index194.js CHANGED
@@ -1,5 +1,6 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ import r from "./index225.js";
2
+ const t = r;
2
3
  export {
3
- n as clamp
4
+ t as deburr
4
5
  };
5
6
  //# sourceMappingURL=index194.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index194.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 return Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MACzC,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
1
+ {"version":3,"file":"index194.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from \"lodash.deburr\";\n\nexport const deburr = d;"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
package/dist/index195.js CHANGED
@@ -1,8 +1,6 @@
1
- import { getDefaultExportFromCjs as r } from "./index227.js";
2
- import { __require as o } from "./index226.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ import o from "./index226.js";
2
+ const e = o;
5
3
  export {
6
- s as default
4
+ e as snakeCase
7
5
  };
8
6
  //# sourceMappingURL=index195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index195.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index195.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from \"lodash.snakecase\";\n\nexport const snakeCase = s;"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
package/dist/index196.js CHANGED
@@ -1,19 +1,5 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index227.js";
2
- import { __module as e } from "./index229.js";
3
- (function(s, a) {
4
- (function(i, t) {
5
- s.exports = t();
6
- })(n, function() {
7
- return function(i, t) {
8
- t.prototype.isSameOrAfter = function(r, o) {
9
- return this.isSame(r, o) || this.isAfter(r, o);
10
- };
11
- };
12
- });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
16
2
  export {
17
- c as default
3
+ s as isCssColor
18
4
  };
19
5
  //# sourceMappingURL=index196.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index196.js","sources":["../node_modules/dayjs/plugin/isSameOrAfter.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_isSameOrAfter=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));"],"names":["e","module","this","t"],"mappings":";;;AAAA,GAAC,SAASA,GAAE,GAAE;AAAsD,IAAAC,EAAe,UAAA,EAAwI;AAAA,EAAA,GAAEC,GAAM,WAAU;AAAc,WAAO,SAASF,GAAE,GAAE;AAAC,QAAE,UAAU,gBAAc,SAASA,GAAEG,GAAE;AAAC,eAAO,KAAK,OAAOH,GAAEG,CAAC,KAAG,KAAK,QAAQH,GAAEG,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index196.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 return !!color && !!color.match(/^(#|var\\(--|(rgb|hsl)a?\\()/);\n};\n"],"names":["isCssColor","color"],"mappings":"AAIa,MAAAA,IAAa,CAACC,MAClB,CAAC,CAACA,KAAS,CAAC,CAACA,EAAM,MAAM,4BAA4B;"}
package/dist/index197.js CHANGED
@@ -1,19 +1,7 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index227.js";
2
- import { __module as t } from "./index230.js";
3
- (function(s, a) {
4
- (function(f, o) {
5
- s.exports = o();
6
- })(n, function() {
7
- return function(f, o) {
8
- o.prototype.isSameOrBefore = function(e, r) {
9
- return this.isSame(e, r) || this.isBefore(e, r);
10
- };
11
- };
12
- });
13
- })(t);
14
- var m = t.exports;
15
- const c = /* @__PURE__ */ i(m);
1
+ import { curry as e } from "./index227.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
16
3
  export {
17
- c as default
4
+ t as baseWhen,
5
+ s as when
18
6
  };
19
7
  //# sourceMappingURL=index197.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index197.js","sources":["../node_modules/dayjs/plugin/isSameOrBefore.js"],"sourcesContent":["!function(e,i){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=i():\"function\"==typeof define&&define.amd?define(i):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){\"use strict\";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}}));"],"names":["e","i","module","this"],"mappings":";;;AAAA,GAAC,SAASA,GAAEC,GAAE;AAAsD,IAAAC,EAAe,UAAAD,EAAyI;AAAA,EAAA,GAAEE,GAAM,WAAU;AAAc,WAAO,SAASH,GAAEC,GAAE;AAAC,MAAAA,EAAE,UAAU,iBAAe,SAAS,GAAEA,GAAE;AAAC,eAAO,KAAK,OAAO,GAAEA,CAAC,KAAG,KAAK,SAAS,GAAEA,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index197.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 iteratee: (item: T) => boolean,\n fn: (item: T) => U,\n item: T\n) => {\n if (iteratee(item)) return fn(item);\n return item;\n};\n\nexport const when = curry(baseWhen);\n"],"names":["baseWhen","iteratee","fn","item","when","curry"],"mappings":";AAQO,MAAMA,IAAW,CACtBC,GACAC,GACAC,MAEIF,EAASE,CAAI,IAAUD,EAAGC,CAAI,IAC3BA,GAGIC,IAAOC,EAAML,CAAQ;"}