bitboss-ui 0.2.13 → 0.2.14

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 (123) hide show
  1. package/dist/composables/useWizard.d.ts +20 -20
  2. package/dist/index101.js +3 -3
  3. package/dist/index103.js +2 -2
  4. package/dist/index109.js +1 -1
  5. package/dist/index11.js +2 -2
  6. package/dist/index111.js +4 -4
  7. package/dist/index113.js +1 -1
  8. package/dist/index116.js +1 -1
  9. package/dist/index117.js +1 -1
  10. package/dist/index118.js +1 -1
  11. package/dist/index119.js +1 -1
  12. package/dist/index121.js +1 -1
  13. package/dist/index125.js +1 -1
  14. package/dist/index126.js +1 -1
  15. package/dist/index131.js +2 -2
  16. package/dist/index17.js +6 -6
  17. package/dist/index19.js +3 -3
  18. package/dist/index196.js +2 -2
  19. package/dist/index196.js.map +1 -1
  20. package/dist/index197.js +2 -4
  21. package/dist/index197.js.map +1 -1
  22. package/dist/index198.js +4 -235
  23. package/dist/index198.js.map +1 -1
  24. package/dist/index199.js +1 -1
  25. package/dist/index200.js +1 -1
  26. package/dist/index201.js +1 -1
  27. package/dist/index202.js +1 -1
  28. package/dist/index203.js +1 -1
  29. package/dist/index204.js +1 -1
  30. package/dist/index207.js +378 -2
  31. package/dist/index207.js.map +1 -1
  32. package/dist/index208.js +131 -375
  33. package/dist/index208.js.map +1 -1
  34. package/dist/index209.js +2 -134
  35. package/dist/index209.js.map +1 -1
  36. package/dist/index21.js +2 -2
  37. package/dist/index210.js +174 -2
  38. package/dist/index210.js.map +1 -1
  39. package/dist/index211.js +23 -174
  40. package/dist/index211.js.map +1 -1
  41. package/dist/index212.js +373 -23
  42. package/dist/index212.js.map +1 -1
  43. package/dist/index213.js +3 -373
  44. package/dist/index213.js.map +1 -1
  45. package/dist/index214.js +3 -3
  46. package/dist/index214.js.map +1 -1
  47. package/dist/index215.js +232 -32
  48. package/dist/index215.js.map +1 -1
  49. package/dist/index216.js +2 -6
  50. package/dist/index216.js.map +1 -1
  51. package/dist/index217.js +3 -10
  52. package/dist/index217.js.map +1 -1
  53. package/dist/index218.js +35 -3
  54. package/dist/index218.js.map +1 -1
  55. package/dist/index219.js +6 -3
  56. package/dist/index219.js.map +1 -1
  57. package/dist/index221.js +10 -2
  58. package/dist/index221.js.map +1 -1
  59. package/dist/index222.js +8 -27
  60. package/dist/index222.js.map +1 -1
  61. package/dist/index223.js +120 -12
  62. package/dist/index223.js.map +1 -1
  63. package/dist/index224.js +27 -8
  64. package/dist/index224.js.map +1 -1
  65. package/dist/index225.js +12 -120
  66. package/dist/index225.js.map +1 -1
  67. package/dist/index228.js +295 -2
  68. package/dist/index228.js.map +1 -1
  69. package/dist/index23.js +1 -1
  70. package/dist/index230.js +2 -2
  71. package/dist/index231.js +2 -295
  72. package/dist/index231.js.map +1 -1
  73. package/dist/index232.js +2 -2
  74. package/dist/index234.js +2 -117
  75. package/dist/index234.js.map +1 -1
  76. package/dist/index235.js +2 -106
  77. package/dist/index235.js.map +1 -1
  78. package/dist/index236.js +2 -2
  79. package/dist/index237.js +117 -2
  80. package/dist/index237.js.map +1 -1
  81. package/dist/index238.js +106 -2
  82. package/dist/index238.js.map +1 -1
  83. package/dist/index239.js +2 -2
  84. package/dist/index239.js.map +1 -1
  85. package/dist/index240.js +224 -162
  86. package/dist/index240.js.map +1 -1
  87. package/dist/index241.js +258 -2
  88. package/dist/index241.js.map +1 -1
  89. package/dist/index242.js +435 -2
  90. package/dist/index242.js.map +1 -1
  91. package/dist/index243.js +88 -68
  92. package/dist/index243.js.map +1 -1
  93. package/dist/index244.js +200 -2
  94. package/dist/index244.js.map +1 -1
  95. package/dist/index245.js +162 -224
  96. package/dist/index245.js.map +1 -1
  97. package/dist/index246.js +2 -258
  98. package/dist/index246.js.map +1 -1
  99. package/dist/index247.js +2 -435
  100. package/dist/index247.js.map +1 -1
  101. package/dist/index248.js +68 -88
  102. package/dist/index248.js.map +1 -1
  103. package/dist/index249.js +2 -200
  104. package/dist/index249.js.map +1 -1
  105. package/dist/index25.js +2 -2
  106. package/dist/index254.js +2 -2
  107. package/dist/index255.js +1 -1
  108. package/dist/index29.js +3 -3
  109. package/dist/index31.js +4 -4
  110. package/dist/index33.js +2 -2
  111. package/dist/index35.js +2 -2
  112. package/dist/index47.js +1 -1
  113. package/dist/index49.js +1 -1
  114. package/dist/index65.js +5 -5
  115. package/dist/index69.js +2 -2
  116. package/dist/index72.js +1 -1
  117. package/dist/index75.js +1 -1
  118. package/dist/index79.js +4 -4
  119. package/dist/index8.js +85 -104
  120. package/dist/index8.js.map +1 -1
  121. package/dist/index81.js +1 -1
  122. package/dist/style.css +1 -1
  123. package/package.json +1 -1
@@ -45,26 +45,6 @@ export declare const useWizard: <T extends object>(params: {
45
45
  */
46
46
  persist?: boolean | undefined;
47
47
  }) => {
48
- steps: Readonly<import("vue").Ref<{
49
- [x: string]: {
50
- isValid: boolean;
51
- /**
52
- * Function that accepts a state object and returns a boolean.
53
- * When step are accessed at the end of the pipeline the result
54
- * is provided so you don't have to run the function yourself.
55
- * Steps that do not pass the condition are removed.
56
- */
57
- condition?: ((state: T) => boolean) | undefined;
58
- };
59
- }>>;
60
- current: ComputedRef<Step<T> & {
61
- isValid: boolean;
62
- }>;
63
- goToNext: () => void;
64
- goToPrevious: () => void;
65
- goTo: (step: string) => void;
66
- key: ComputedRef<string>;
67
- data: import("vue").UnwrapNestedRefs<T>;
68
48
  at: (index: number) => {
69
49
  isValid: boolean;
70
50
  /**
@@ -75,6 +55,10 @@ export declare const useWizard: <T extends object>(params: {
75
55
  */
76
56
  condition?: ((state: T) => boolean) | undefined;
77
57
  } | undefined;
58
+ current: ComputedRef<Step<T> & {
59
+ isValid: boolean;
60
+ }>;
61
+ data: import("vue").UnwrapNestedRefs<T>;
78
62
  get: (step: string) => {
79
63
  isValid: boolean;
80
64
  /**
@@ -86,6 +70,9 @@ export declare const useWizard: <T extends object>(params: {
86
70
  condition?: ((state: T) => boolean) | undefined;
87
71
  } | undefined;
88
72
  goBackTo: (step: string) => void;
73
+ goTo: (step: string) => void;
74
+ goToNext: () => void;
75
+ goToPrevious: () => void;
89
76
  isAfter: (step: string) => boolean;
90
77
  isBefore: (step: string) => boolean;
91
78
  isCurrent: (step: string) => boolean;
@@ -93,7 +80,20 @@ export declare const useWizard: <T extends object>(params: {
93
80
  isLast: ComputedRef<boolean>;
94
81
  isNext: (step: string) => boolean;
95
82
  isPrevious: (step: string) => boolean;
83
+ key: ComputedRef<string>;
96
84
  next: ComputedRef<string | undefined>;
97
85
  previous: ComputedRef<string | undefined>;
98
86
  stepNames: Readonly<import("vue").Ref<string[]>>;
87
+ steps: Readonly<import("vue").Ref<{
88
+ [x: string]: {
89
+ isValid: boolean;
90
+ /**
91
+ * Function that accepts a state object and returns a boolean.
92
+ * When step are accessed at the end of the pipeline the result
93
+ * is provided so you don't have to run the function yourself.
94
+ * Steps that do not pass the condition are removed.
95
+ */
96
+ condition?: ((state: T) => boolean) | undefined;
97
+ };
98
+ }>>;
99
99
  };
package/dist/index101.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, 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 pe, mergeProps as fe } from "vue";
2
- import { add as me } from "./index228.js";
3
- import { clamp as ye } from "./index207.js";
2
+ import { add as me } from "./index239.js";
3
+ import { clamp as ye } from "./index196.js";
4
4
  import { deepEqual as he } from "./index123.js";
5
5
  import { isNil as j } from "./index120.js";
6
6
  import { isNotNil as _e } from "./index124.js";
7
7
  import { useId as ke } from "./index7.js";
8
8
  import { useItemValue as ge } from "./index126.js";
9
- import { when as ve } from "./index197.js";
9
+ import { when as ve } from "./index198.js";
10
10
  import G from "./index11.js";
11
11
  import "./index12.js";
12
12
  import Ce from "./index25.js";
package/dist/index103.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 "./index21.js";
3
3
  import "./index22.js";
4
- import v from "./index240.js";
5
- import "./index241.js";
4
+ import v from "./index245.js";
5
+ import "./index246.js";
6
6
  const w = /* @__PURE__ */ m({
7
7
  __name: "BbTag",
8
8
  props: {
package/dist/index109.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 "./index5.js";
3
- import B from "./index243.js";
3
+ import B from "./index248.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index11.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
2
- import { isCssColor as f } from "./index196.js";
3
- import { when as N } from "./index197.js";
2
+ import { isCssColor as f } from "./index197.js";
3
+ import { when as N } from "./index198.js";
4
4
  const A = {
5
5
  class: "bb-base-checkbox-container",
6
6
  "aria-hidden": "true"
package/dist/index111.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 "./index225.js";
2
+ import { useFloating as G, arrow as J } from "./index223.js";
3
3
  import { useId as K } from "./index7.js";
4
4
  import { wait as P } from "./index122.js";
5
5
  import Q from "./index9.js";
6
6
  import "./index10.js";
7
- import { throttle as v } from "./index214.js";
8
- import { waitFor as W } from "./index216.js";
9
- import { autoUpdate as X, flip as Y, shift as Z } from "./index208.js";
7
+ import { throttle as v } from "./index217.js";
8
+ import { waitFor as W } from "./index219.js";
9
+ import { autoUpdate as X, flip as Y, shift as Z } from "./index207.js";
10
10
  const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
11
11
  viewBox: "0 0 24 24",
12
12
  fill: "none",
package/dist/index113.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 "./index242.js";
2
+ import { flattenTree as P } from "./index247.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/index116.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 "./index122.js";
3
- import { throttle as _ } from "./index214.js";
3
+ import { throttle as _ } from "./index217.js";
4
4
  const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
5
5
  __name: "BbCollapsible",
6
6
  props: {
package/dist/index117.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 "./index196.js";
2
+ import { isCssColor as z } from "./index197.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index118.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 "./index214.js";
2
+ import { throttle as g } from "./index217.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index119.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 "./index196.js";
2
+ import { isCssColor as f } from "./index197.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/index121.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index207.js";
1
+ import { clamp as o } from "./index196.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/index125.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index198.js";
1
+ import t from "./index215.js";
2
2
  const e = () => ({
3
3
  getItemText(r, n) {
4
4
  if (typeof r == "string" && !n)
package/dist/index126.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index198.js";
1
+ import o from "./index215.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u")
package/dist/index131.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 "./index221.js";
2
+ import { tryOnScopeDispose as E } from "./index221.js";
3
3
  import { ref as c, computed as t } from "vue";
4
4
  function h(a) {
5
5
  var l;
package/dist/index17.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, flip as ce, shift as fe } from "./index208.js";
3
- import pe from "./index209.js";
2
+ import { autoUpdate as ue, computePosition as de, flip as ce, shift as fe } from "./index207.js";
3
+ import pe from "./index208.js";
4
4
  import c from "./index199.js";
5
5
  import me from "./index202.js";
6
- import { identity as be } from "./index210.js";
6
+ import { identity as be } from "./index209.js";
7
7
  import { last as ve } from "./index206.js";
8
8
  import { useId as ye } from "./index7.js";
9
- import { vMaska as ge } from "./index211.js";
9
+ import { vMaska as ge } from "./index210.js";
10
10
  import { wait as I } from "./index122.js";
11
11
  import he from "./index15.js";
12
12
  import "./index16.js";
13
- import O from "./index212.js";
14
- import { offset as ke } from "./index213.js";
13
+ import O from "./index211.js";
14
+ import { offset as ke } from "./index212.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/index19.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Q, ref as l, useAttrs as X, computed as _, onMounted as T, onBeforeUnmount as A, watch as Y, nextTick as E, openBlock as w, createBlock as Z, Teleport as ee, createElementVNode as o, mergeProps as W, createElementBlock as B, renderSlot as r, createTextVNode as te, toDisplayString as V, createCommentVNode as D } from "vue";
2
- import { throttle as le } from "./index214.js";
3
- import { useFocusTrap as oe } from "./index215.js";
2
+ import { throttle as le } from "./index217.js";
3
+ import { useFocusTrap as oe } from "./index218.js";
4
4
  import { useId as R } from "./index7.js";
5
5
  import { wait as L } from "./index122.js";
6
- import { waitFor as ae } from "./index216.js";
6
+ import { waitFor as ae } from "./index219.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/index196.js CHANGED
@@ -1,5 +1,5 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- s as isCssColor
3
+ n as clamp
4
4
  };
5
5
  //# sourceMappingURL=index196.js.map
@@ -1 +1 @@
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;"}
1
+ {"version":3,"file":"index196.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;"}
package/dist/index197.js CHANGED
@@ -1,7 +1,5 @@
1
- import { curry as e } from "./index227.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
3
2
  export {
4
- t as baseWhen,
5
- s as when
3
+ s as isCssColor
6
4
  };
7
5
  //# sourceMappingURL=index197.js.map
@@ -1 +1 @@
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;"}
1
+ {"version":3,"file":"index197.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/index198.js CHANGED
@@ -1,238 +1,7 @@
1
- import { commonjsGlobal as f, getDefaultExportFromCjs as $ } from "./index229.js";
2
- var D = "Expected a function", O = "__lodash_hash_undefined__", j = 1 / 0, F = "[object Function]", N = "[object GeneratorFunction]", H = "[object Symbol]", G = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, R = /^\w*$/, A = /^\./, M = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, K = /[\\^$.*+?()[\]{}|]/g, L = /\\(\\)?/g, z = /^\[object .+?Constructor\]$/, U = typeof f == "object" && f && f.Object === Object && f, q = typeof self == "object" && self && self.Object === Object && self, d = U || q || Function("return this")();
3
- function J(t, e) {
4
- return t == null ? void 0 : t[e];
5
- }
6
- function V(t) {
7
- var e = !1;
8
- if (t != null && typeof t.toString != "function")
9
- try {
10
- e = !!(t + "");
11
- } catch {
12
- }
13
- return e;
14
- }
15
- var X = Array.prototype, Y = Function.prototype, w = Object.prototype, l = d["__core-js_shared__"], m = function() {
16
- var t = /[^.]+$/.exec(l && l.keys && l.keys.IE_PROTO || "");
17
- return t ? "Symbol(src)_1." + t : "";
18
- }(), x = Y.toString, _ = w.hasOwnProperty, P = w.toString, B = RegExp(
19
- "^" + x.call(_).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20
- ), C = d.Symbol, Q = X.splice, W = T(d, "Map"), u = T(Object, "create"), v = C ? C.prototype : void 0, S = v ? v.toString : void 0;
21
- function a(t) {
22
- var e = -1, r = t ? t.length : 0;
23
- for (this.clear(); ++e < r; ) {
24
- var n = t[e];
25
- this.set(n[0], n[1]);
26
- }
27
- }
28
- function Z() {
29
- this.__data__ = u ? u(null) : {};
30
- }
31
- function k(t) {
32
- return this.has(t) && delete this.__data__[t];
33
- }
34
- function tt(t) {
35
- var e = this.__data__;
36
- if (u) {
37
- var r = e[t];
38
- return r === O ? void 0 : r;
39
- }
40
- return _.call(e, t) ? e[t] : void 0;
41
- }
42
- function et(t) {
43
- var e = this.__data__;
44
- return u ? e[t] !== void 0 : _.call(e, t);
45
- }
46
- function rt(t, e) {
47
- var r = this.__data__;
48
- return r[t] = u && e === void 0 ? O : e, this;
49
- }
50
- a.prototype.clear = Z;
51
- a.prototype.delete = k;
52
- a.prototype.get = tt;
53
- a.prototype.has = et;
54
- a.prototype.set = rt;
55
- function i(t) {
56
- var e = -1, r = t ? t.length : 0;
57
- for (this.clear(); ++e < r; ) {
58
- var n = t[e];
59
- this.set(n[0], n[1]);
60
- }
61
- }
62
- function nt() {
63
- this.__data__ = [];
64
- }
65
- function at(t) {
66
- var e = this.__data__, r = h(e, t);
67
- if (r < 0)
68
- return !1;
69
- var n = e.length - 1;
70
- return r == n ? e.pop() : Q.call(e, r, 1), !0;
71
- }
72
- function ot(t) {
73
- var e = this.__data__, r = h(e, t);
74
- return r < 0 ? void 0 : e[r][1];
75
- }
76
- function it(t) {
77
- return h(this.__data__, t) > -1;
78
- }
79
- function ct(t, e) {
80
- var r = this.__data__, n = h(r, t);
81
- return n < 0 ? r.push([t, e]) : r[n][1] = e, this;
82
- }
83
- i.prototype.clear = nt;
84
- i.prototype.delete = at;
85
- i.prototype.get = ot;
86
- i.prototype.has = it;
87
- i.prototype.set = ct;
88
- function o(t) {
89
- var e = -1, r = t ? t.length : 0;
90
- for (this.clear(); ++e < r; ) {
91
- var n = t[e];
92
- this.set(n[0], n[1]);
93
- }
94
- }
95
- function st() {
96
- this.__data__ = {
97
- hash: new a(),
98
- map: new (W || i)(),
99
- string: new a()
100
- };
101
- }
102
- function ut(t) {
103
- return p(this, t).delete(t);
104
- }
105
- function ft(t) {
106
- return p(this, t).get(t);
107
- }
108
- function ht(t) {
109
- return p(this, t).has(t);
110
- }
111
- function pt(t, e) {
112
- return p(this, t).set(t, e), this;
113
- }
114
- o.prototype.clear = st;
115
- o.prototype.delete = ut;
116
- o.prototype.get = ft;
117
- o.prototype.has = ht;
118
- o.prototype.set = pt;
119
- function h(t, e) {
120
- for (var r = t.length; r--; )
121
- if (Ot(t[r][0], e))
122
- return r;
123
- return -1;
124
- }
125
- function lt(t, e) {
126
- e = gt(e, t) ? [e] : yt(e);
127
- for (var r = 0, n = e.length; t != null && r < n; )
128
- t = t[vt(e[r++])];
129
- return r && r == n ? t : void 0;
130
- }
131
- function dt(t) {
132
- if (!E(t) || mt(t))
133
- return !1;
134
- var e = jt(t) || V(t) ? B : z;
135
- return e.test(St(t));
136
- }
137
- function _t(t) {
138
- if (typeof t == "string")
139
- return t;
140
- if (g(t))
141
- return S ? S.call(t) : "";
142
- var e = t + "";
143
- return e == "0" && 1 / t == -j ? "-0" : e;
144
- }
145
- function yt(t) {
146
- return I(t) ? t : Ct(t);
147
- }
148
- function p(t, e) {
149
- var r = t.__data__;
150
- return bt(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
151
- }
152
- function T(t, e) {
153
- var r = J(t, e);
154
- return dt(r) ? r : void 0;
155
- }
156
- function gt(t, e) {
157
- if (I(t))
158
- return !1;
159
- var r = typeof t;
160
- return r == "number" || r == "symbol" || r == "boolean" || t == null || g(t) ? !0 : R.test(t) || !G.test(t) || e != null && t in Object(e);
161
- }
162
- function bt(t) {
163
- var e = typeof t;
164
- return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
165
- }
166
- function mt(t) {
167
- return !!m && m in t;
168
- }
169
- var Ct = y(function(t) {
170
- t = xt(t);
171
- var e = [];
172
- return A.test(t) && e.push(""), t.replace(M, function(r, n, c, s) {
173
- e.push(c ? s.replace(L, "$1") : n || r);
174
- }), e;
175
- });
176
- function vt(t) {
177
- if (typeof t == "string" || g(t))
178
- return t;
179
- var e = t + "";
180
- return e == "0" && 1 / t == -j ? "-0" : e;
181
- }
182
- function St(t) {
183
- if (t != null) {
184
- try {
185
- return x.call(t);
186
- } catch {
187
- }
188
- try {
189
- return t + "";
190
- } catch {
191
- }
192
- }
193
- return "";
194
- }
195
- function y(t, e) {
196
- if (typeof t != "function" || e && typeof e != "function")
197
- throw new TypeError(D);
198
- var r = function() {
199
- var n = arguments, c = e ? e.apply(this, n) : n[0], s = r.cache;
200
- if (s.has(c))
201
- return s.get(c);
202
- var b = t.apply(this, n);
203
- return r.cache = s.set(c, b), b;
204
- };
205
- return r.cache = new (y.Cache || o)(), r;
206
- }
207
- y.Cache = o;
208
- function Ot(t, e) {
209
- return t === e || t !== t && e !== e;
210
- }
211
- var I = Array.isArray;
212
- function jt(t) {
213
- var e = E(t) ? P.call(t) : "";
214
- return e == F || e == N;
215
- }
216
- function E(t) {
217
- var e = typeof t;
218
- return !!t && (e == "object" || e == "function");
219
- }
220
- function wt(t) {
221
- return !!t && typeof t == "object";
222
- }
223
- function g(t) {
224
- return typeof t == "symbol" || wt(t) && P.call(t) == H;
225
- }
226
- function xt(t) {
227
- return t == null ? "" : _t(t);
228
- }
229
- function Pt(t, e, r) {
230
- var n = t == null ? void 0 : lt(t, e);
231
- return n === void 0 ? r : n;
232
- }
233
- var Tt = Pt;
234
- const Et = /* @__PURE__ */ $(Tt);
1
+ import { curry as e } from "./index227.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
235
3
  export {
236
- Et as default
4
+ t as baseWhen,
5
+ s as when
237
6
  };
238
7
  //# sourceMappingURL=index198.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index198.js","sources":["../node_modules/lodash.get/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n symbolTag = '[object Symbol]';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n reLeadingDot = /^\\./,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol,\n splice = arrayProto.splice;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoize(function(string) {\n string = toString(string);\n\n var result = [];\n if (reLeadingDot.test(string)) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n"],"names":["FUNC_ERROR_TEXT","HASH_UNDEFINED","INFINITY","funcTag","genTag","symbolTag","reIsDeepProp","reIsPlainProp","reLeadingDot","rePropName","reRegExpChar","reEscapeChar","reIsHostCtor","freeGlobal","global","freeSelf","root","getValue","object","key","isHostObject","value","result","arrayProto","funcProto","objectProto","coreJsData","maskSrcKey","uid","funcToString","hasOwnProperty","objectToString","reIsNative","Symbol","splice","Map","getNative","nativeCreate","symbolProto","symbolToString","Hash","entries","index","length","entry","hashClear","hashDelete","hashGet","data","hashHas","hashSet","ListCache","listCacheClear","listCacheDelete","assocIndexOf","lastIndex","listCacheGet","listCacheHas","listCacheSet","MapCache","mapCacheClear","mapCacheDelete","getMapData","mapCacheGet","mapCacheHas","mapCacheSet","array","eq","baseGet","path","isKey","castPath","toKey","baseIsNative","isObject","isMasked","pattern","isFunction","toSource","baseToString","isSymbol","isArray","stringToPath","map","isKeyable","type","func","memoize","string","toString","match","number","quote","resolver","memoized","args","cache","other","tag","isObjectLike","get","defaultValue","lodash_get"],"mappings":";AAUA,IAAIA,IAAkB,uBAGlBC,IAAiB,6BAGjBC,IAAW,IAAI,GAGfC,IAAU,qBACVC,IAAS,8BACTC,IAAY,mBAGZC,IAAe,oDACfC,IAAgB,SAChBC,IAAe,OACfC,IAAa,oGAMbC,IAAe,uBAGfC,IAAe,YAGfC,IAAe,+BAGfC,IAAa,OAAOC,KAAU,YAAYA,KAAUA,EAAO,WAAW,UAAUA,GAGhFC,IAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU,MAGxEC,IAAOH,KAAcE,KAAY,SAAS,aAAa,EAAC;AAU5D,SAASE,EAASC,GAAQC,GAAK;AAC7B,SAAOD,KAAU,OAAO,SAAYA,EAAOC,CAAG;AAChD;AASA,SAASC,EAAaC,GAAO;AAG3B,MAAIC,IAAS;AACb,MAAID,KAAS,QAAQ,OAAOA,EAAM,YAAY;AAC5C,QAAI;AACF,MAAAC,IAAS,CAAC,EAAED,IAAQ;AAAA,IAC1B,QAAgB;AAAA,IAAE;AAEhB,SAAOC;AACT;AAGA,IAAIC,IAAa,MAAM,WACnBC,IAAY,SAAS,WACrBC,IAAc,OAAO,WAGrBC,IAAaV,EAAK,oBAAoB,GAGtCW,IAAc,WAAW;AAC3B,MAAIC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AAI/E,IAASJ,KAAU,OAAO,SAAYkD,GAAQlD,GAAQmD,CAAI;AAC9D,SAAO/C,MAAW,SAAY+E,IAAe/E;AAC/C;AAEA,IAAAgF,KAAiBF;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index198.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;"}
package/dist/index199.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index229.js";
2
- import { __require as o } from "./index231.js";
2
+ import { __require as o } from "./index228.js";
3
3
  var t = o();
4
4
  const s = /* @__PURE__ */ r(t);
5
5
  export {
package/dist/index200.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index229.js";
2
- import { __module as e } from "./index236.js";
2
+ import { __module as e } from "./index231.js";
3
3
  (function(s, a) {
4
4
  (function(i, t) {
5
5
  s.exports = t();
package/dist/index201.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index229.js";
2
- import { __module as t } from "./index237.js";
2
+ import { __module as t } from "./index232.js";
3
3
  (function(s, a) {
4
4
  (function(f, o) {
5
5
  s.exports = o();