bitboss-ui 2.0.2 → 2.0.3

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 (181) hide show
  1. package/dist/index105.js +4 -4
  2. package/dist/index113.js +1 -1
  3. package/dist/index115.js +4 -4
  4. package/dist/index117.js +1 -1
  5. package/dist/index12.js +1 -1
  6. package/dist/index121.js +1 -1
  7. package/dist/index122.js +1 -1
  8. package/dist/index123.js +1 -1
  9. package/dist/index125.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index14.js +3 -3
  12. package/dist/index18.js +8 -8
  13. package/dist/index198.js +5 -2
  14. package/dist/index198.js.map +1 -1
  15. package/dist/index199.js +7 -7
  16. package/dist/index20.js +12 -12
  17. package/dist/index202.js +3 -3
  18. package/dist/index202.js.map +1 -1
  19. package/dist/index203.js +3 -35
  20. package/dist/index203.js.map +1 -1
  21. package/dist/index204.js +35 -6
  22. package/dist/index204.js.map +1 -1
  23. package/dist/index205.js +6 -7
  24. package/dist/index205.js.map +1 -1
  25. package/dist/index206.js +7 -5
  26. package/dist/index206.js.map +1 -1
  27. package/dist/index207.js +2 -5
  28. package/dist/index207.js.map +1 -1
  29. package/dist/index208.js +124 -14
  30. package/dist/index208.js.map +1 -1
  31. package/dist/index209.js +5 -16
  32. package/dist/index209.js.map +1 -1
  33. package/dist/index210.js +121 -17
  34. package/dist/index210.js.map +1 -1
  35. package/dist/index211.js +18 -18
  36. package/dist/index211.js.map +1 -1
  37. package/dist/index212.js +2 -27
  38. package/dist/index212.js.map +1 -1
  39. package/dist/index213.js +2 -8
  40. package/dist/index213.js.map +1 -1
  41. package/dist/index214.js +174 -2
  42. package/dist/index214.js.map +1 -1
  43. package/dist/index215.js +42 -2
  44. package/dist/index215.js.map +1 -1
  45. package/dist/index217.js +13 -2
  46. package/dist/index217.js.map +1 -1
  47. package/dist/index218.js +369 -3
  48. package/dist/index218.js.map +1 -1
  49. package/dist/index219.js +2 -126
  50. package/dist/index219.js.map +1 -1
  51. package/dist/index22.js +5 -5
  52. package/dist/index220.js +4 -123
  53. package/dist/index220.js.map +1 -1
  54. package/dist/index221.js +2 -2
  55. package/dist/index221.js.map +1 -1
  56. package/dist/index222.js +14 -172
  57. package/dist/index222.js.map +1 -1
  58. package/dist/index223.js +16 -42
  59. package/dist/index223.js.map +1 -1
  60. package/dist/index224.js +22 -0
  61. package/dist/index224.js.map +1 -0
  62. package/dist/index225.js +27 -13
  63. package/dist/index225.js.map +1 -1
  64. package/dist/index226.js +8 -369
  65. package/dist/index226.js.map +1 -1
  66. package/dist/index227.js +2 -3
  67. package/dist/index227.js.map +1 -1
  68. package/dist/index228.js +3 -18
  69. package/dist/index228.js.map +1 -1
  70. package/dist/index229.js +2 -105
  71. package/dist/index229.js.map +1 -1
  72. package/dist/index230.js +21 -0
  73. package/dist/index230.js.map +1 -0
  74. package/dist/index231.js +53 -47
  75. package/dist/index231.js.map +1 -1
  76. package/dist/index233.js +100 -2
  77. package/dist/index233.js.map +1 -1
  78. package/dist/index237.js +9 -3
  79. package/dist/index237.js.map +1 -1
  80. package/dist/index238.js +23 -12
  81. package/dist/index238.js.map +1 -1
  82. package/dist/index239.js +6 -9
  83. package/dist/index239.js.map +1 -1
  84. package/dist/index24.js +1 -1
  85. package/dist/index240.js +15 -8
  86. package/dist/index240.js.map +1 -1
  87. package/dist/index241.js +9 -17
  88. package/dist/index241.js.map +1 -1
  89. package/dist/index242.js +3 -431
  90. package/dist/index242.js.map +1 -1
  91. package/dist/index243.js +11 -88
  92. package/dist/index243.js.map +1 -1
  93. package/dist/index244.js +8 -199
  94. package/dist/index244.js.map +1 -1
  95. package/dist/index245.js +8 -8
  96. package/dist/index245.js.map +1 -1
  97. package/dist/index246.js +17 -23
  98. package/dist/index246.js.map +1 -1
  99. package/dist/index247.js +224 -6
  100. package/dist/index247.js.map +1 -1
  101. package/dist/index248.js +430 -15
  102. package/dist/index248.js.map +1 -1
  103. package/dist/index249.js +88 -8
  104. package/dist/index249.js.map +1 -1
  105. package/dist/index253.js +2 -2
  106. package/dist/index255.js +126 -2
  107. package/dist/index255.js.map +1 -1
  108. package/dist/index256.js +3 -2
  109. package/dist/index256.js.map +1 -1
  110. package/dist/index258.js +6 -3
  111. package/dist/index258.js.map +1 -1
  112. package/dist/index259.js +4 -224
  113. package/dist/index259.js.map +1 -1
  114. package/dist/index26.js +3 -3
  115. package/dist/index260.js +2 -3
  116. package/dist/index260.js.map +1 -1
  117. package/dist/index261.js +72 -0
  118. package/dist/index261.js.map +1 -0
  119. package/dist/index262.js +199 -6
  120. package/dist/index262.js.map +1 -1
  121. package/dist/index263.js +5 -2
  122. package/dist/index263.js.map +1 -1
  123. package/dist/index264.js +434 -67
  124. package/dist/index264.js.map +1 -1
  125. package/dist/index265.js +127 -5
  126. package/dist/index265.js.map +1 -1
  127. package/dist/index266.js +2 -2
  128. package/dist/index267.js +2 -126
  129. package/dist/index267.js.map +1 -1
  130. package/dist/index268.js +2 -3
  131. package/dist/index268.js.map +1 -1
  132. package/dist/index269.js +2 -3
  133. package/dist/index269.js.map +1 -1
  134. package/dist/index270.js +26 -209
  135. package/dist/index270.js.map +1 -1
  136. package/dist/index271.js +6 -0
  137. package/dist/index271.js.map +1 -0
  138. package/dist/index272.js +3 -436
  139. package/dist/index272.js.map +1 -1
  140. package/dist/index273.js +210 -126
  141. package/dist/index273.js.map +1 -1
  142. package/dist/index275.js +4 -15
  143. package/dist/index275.js.map +1 -1
  144. package/dist/index276.js +4 -11
  145. package/dist/index276.js.map +1 -1
  146. package/dist/index277.js +59 -4
  147. package/dist/index277.js.map +1 -1
  148. package/dist/index278.js +15 -4
  149. package/dist/index278.js.map +1 -1
  150. package/dist/index279.js +34 -58
  151. package/dist/index279.js.map +1 -1
  152. package/dist/index28.js +2 -2
  153. package/dist/index280.js +10 -34
  154. package/dist/index280.js.map +1 -1
  155. package/dist/index281.js +1 -1
  156. package/dist/index32.js +3 -3
  157. package/dist/index34.js +12 -12
  158. package/dist/index36.js +4 -4
  159. package/dist/index38.js +2 -2
  160. package/dist/index42.js +5 -5
  161. package/dist/index44.js +2 -2
  162. package/dist/index46.js +2 -2
  163. package/dist/index52.js +1 -1
  164. package/dist/index54.js +1 -1
  165. package/dist/index70.js +4 -4
  166. package/dist/index74.js +2 -2
  167. package/dist/index76.js +1 -1
  168. package/dist/index79.js +2 -2
  169. package/dist/index81.js +1 -1
  170. package/dist/index83.js +3 -3
  171. package/dist/index85.js +1 -1
  172. package/dist/style.css +1 -1
  173. package/package.json +2 -2
  174. package/dist/index216.js +0 -7
  175. package/dist/index216.js.map +0 -1
  176. package/dist/index234.js +0 -6
  177. package/dist/index234.js.map +0 -1
  178. package/dist/index257.js +0 -5
  179. package/dist/index257.js.map +0 -1
  180. package/dist/index274.js +0 -31
  181. package/dist/index274.js.map +0 -1
package/dist/index105.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as oe, ref as x, computed as h, toRef as B, watch as ne, openBlock as n, createBlock as de, resolveDynamicComponent as ce, normalizeClass as r, unref as u, withCtx as ie, createElementBlock as d, toDisplayString as p, createCommentVNode as k, createElementVNode as s, renderSlot as f, createVNode as I, Fragment as w, renderList as T, createTextVNode as be, mergeProps as re } from "vue";
2
- import { add as ue } from "./index263.js";
3
- import { clamp as pe } from "./index198.js";
2
+ import { add as ue } from "./index260.js";
3
+ import { clamp as pe } from "./index207.js";
4
4
  import { isNil as M } from "./index124.js";
5
5
  import { useId as fe } from "./index7.js";
6
- import { useItemValue as me } from "./index240.js";
7
- import { when as he } from "./index216.js";
6
+ import { useItemValue as me } from "./index245.js";
7
+ import { when as he } from "./index220.js";
8
8
  import J from "./index14.js";
9
9
  /* empty css */
10
10
  import ye from "./index28.js";
package/dist/index113.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 f, Fragment as d, renderList as _, unref as r, mergeProps as b } from "vue";
2
2
  import { state as k, useToast as C } from "./index10.js";
3
- import B from "./index264.js";
3
+ import B from "./index261.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index115.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as A, ref as o, computed as $, watch as I, openBlock as b, createElementBlock as D, mergeProps as L, createElementVNode as c, renderSlot as M, normalizeProps as R, guardReactiveProps as U, unref as u, createBlock as O, Teleport as W, normalizeClass as j, normalizeStyle as q, withCtx as G, createCommentVNode as P } from "vue";
2
- import { useFloating as J, arrow as K } from "./index219.js";
2
+ import { useFloating as J, arrow as K } from "./index208.js";
3
3
  import { useId as Q } from "./index7.js";
4
4
  import { wait as T } from "./index126.js";
5
5
  import X from "./index12.js";
6
6
  /* empty css */
7
- import { throttle as w } from "./index202.js";
8
- import { waitFor as Y } from "./index204.js";
9
- import { autoUpdate as Z, flip as ee, shift as te, hide as oe } from "./index226.js";
7
+ import { throttle as w } from "./index203.js";
8
+ import { waitFor as Y } from "./index205.js";
9
+ import { autoUpdate as Z, flip as ee, shift as te, hide as oe } from "./index218.js";
10
10
  const ae = { class: "bb-tooltip__bubble" }, ne = /* @__PURE__ */ c("svg", {
11
11
  fill: "none",
12
12
  viewBox: "0 0 24 24",
package/dist/index117.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 k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index265.js";
2
+ import { flattenTree as T } from "./index263.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index12.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, getCurrentInstance as p, computed as s, resolveComponent as d, openBlock as k, createBlock as h, resolveDynamicComponent as C, mergeProps as x, withCtx as S, renderSlot as L, createTextVNode as B, toDisplayString as N } from "vue";
2
2
  import { _config as o } from "./index3.js";
3
- import { useLogger as m } from "./index206.js";
3
+ import { useLogger as m } from "./index198.js";
4
4
  const P = /* @__PURE__ */ y({
5
5
  __name: "BaseButton",
6
6
  props: {
package/dist/index121.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 "./index215.js";
2
+ import { isCssColor as z } from "./index219.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index122.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 "./index202.js";
2
+ import { throttle as g } from "./index203.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index123.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as l, openBlock as _, createElementBlock as a, normalizeProps as b, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as d } from "./index215.js";
2
+ import { isCssColor as d } from "./index219.js";
3
3
  const u = /* @__PURE__ */ m('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle class="bb-spinner__circle" cx="12" cy="3" r="0"></circle><circle class="bb-spinner__circle circle--1" cx="16.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--2" cx="7.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--3" cx="19.79" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--4" cx="4.21" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--5" cx="21.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--6" cx="3.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--7" cx="19.79" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--8" cx="4.21" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--9" cx="16.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--10" cx="7.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--11" cx="12" cy="21" r="0"></circle></svg>', 1), y = [
4
4
  u
5
5
  ], g = /* @__PURE__ */ p({
package/dist/index125.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index198.js";
1
+ import { clamp as o } from "./index207.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/index128.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isArray as b, isPlainObject as m } from "./index275.js";
1
+ import { isArray as b, isPlainObject as m } from "./index278.js";
2
2
  function i(e, n, l, o, r) {
3
3
  const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
4
4
  u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index14.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 s, renderSlot as q } from "vue";
2
- import { isCssColor as k } from "./index215.js";
3
- import { when as F } from "./index216.js";
4
- import { booleanishToBoolean as N } from "./index217.js";
2
+ import { isCssColor as k } from "./index219.js";
3
+ import { when as F } from "./index220.js";
4
+ import { booleanishToBoolean as N } from "./index221.js";
5
5
  const S = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index18.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 "./index207.js";
3
- import Me from "./index208.js";
4
- import Ae from "./index209.js";
5
- import xe from "./index210.js";
6
- import Ce from "./index211.js";
7
- import Ye from "./index212.js";
8
- import { groupBy as J } from "./index213.js";
2
+ import i from "./index209.js";
3
+ import Me from "./index222.js";
4
+ import Ae from "./index223.js";
5
+ import xe from "./index211.js";
6
+ import Ce from "./index224.js";
7
+ import Ye from "./index225.js";
8
+ import { groupBy as J } from "./index226.js";
9
9
  import { isNil as Be } from "./index124.js";
10
- import { last as Q } from "./index214.js";
10
+ import { last as Q } from "./index213.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/index198.js CHANGED
@@ -1,5 +1,8 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const o = "bitboss-ui | ", e = () => ({
2
+ warn: (r) => console.warn(`${o}${r}`),
3
+ error: (r) => console.error(`${o}${r}`)
4
+ });
2
5
  export {
3
- n as clamp
6
+ e as useLogger
4
7
  };
5
8
  //# sourceMappingURL=index198.js.map
@@ -1 +1 @@
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;"}
1
+ {"version":3,"file":"index198.js","sources":["../src/composables/useLogger.ts"],"sourcesContent":["const prefix = `bitboss-ui | `;\n\nexport const useLogger = () => {\n\treturn {\n\t\twarn: (message: string) => console.warn(`${prefix}${message}`),\n\t\terror: (message: string) => console.error(`${prefix}${message}`),\n\t};\n};\n"],"names":["prefix","useLogger","message"],"mappings":"AAAA,MAAMA,IAAS,iBAEFC,IAAY,OACjB;AAAA,EACN,MAAM,CAACC,MAAoB,QAAQ,KAAK,GAAGF,CAAM,GAAGE,CAAO,EAAE;AAAA,EAC7D,OAAO,CAACA,MAAoB,QAAQ,MAAM,GAAGF,CAAM,GAAGE,CAAO,EAAE;AAAA;"}
package/dist/index199.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { ref as r, computed as a, onBeforeMount as X, onBeforeUnmount as Y, watch as H, nextTick as Z } from "vue";
2
- import { last as _ } from "./index214.js";
3
- import { useArray as N } from "./index238.js";
4
- import { uniqBy as $ } from "./index239.js";
5
- import { useItemValue as ee } from "./index240.js";
6
- import { useItemText as te } from "./index241.js";
7
- import { hash as v } from "./index234.js";
2
+ import { last as _ } from "./index213.js";
3
+ import { useArray as N } from "./index243.js";
4
+ import { uniqBy as $ } from "./index244.js";
5
+ import { useItemValue as ee } from "./index245.js";
6
+ import { useItemText as te } from "./index246.js";
7
+ import { hash as v } from "./index228.js";
8
8
  import { isNotNil as Q } from "./index129.js";
9
- import { waitFor as le } from "./index204.js";
9
+ import { waitFor as le } from "./index205.js";
10
10
  import { isNil as oe } from "./index124.js";
11
11
  const he = (l) => {
12
12
  const i = r(""), q = r(), n = (e) => {
package/dist/index20.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as re, ref as n, computed as b, watch as le, openBlock as L, createBlock as F, normalizeClass as z, withCtx as l, renderSlot as d, createVNode as P, withDirectives as ie, createElementVNode as r, mergeProps as W, unref as v, toDisplayString as j, Teleport as se, normalizeStyle as ue, createSlots as de, renderList as ce, normalizeProps as pe, guardReactiveProps as fe, createCommentVNode as me } from "vue";
2
- import { useFloating as be } from "./index219.js";
3
- import o from "./index207.js";
4
- import ve from "./index220.js";
5
- import ge from "./index210.js";
6
- import { identity as ye } from "./index221.js";
7
- import { last as ke } from "./index214.js";
8
- import { useFocusTrap as he } from "./index203.js";
2
+ import { useFloating as be } from "./index208.js";
3
+ import o from "./index209.js";
4
+ import ve from "./index210.js";
5
+ import ge from "./index211.js";
6
+ import { identity as ye } from "./index212.js";
7
+ import { last as ke } from "./index213.js";
8
+ import { useFocusTrap as he } from "./index204.js";
9
9
  import { useId as Me } from "./index7.js";
10
10
  import { useIntersectionObserver as we } from "./index127.js";
11
11
  import { useMobile as Ve } from "./index8.js";
12
- import { vMaska as Ce } from "./index222.js";
12
+ import { vMaska as Ce } from "./index214.js";
13
13
  import { wait as S } from "./index126.js";
14
- import { waitFor as _e } from "./index204.js";
14
+ import { waitFor as _e } from "./index205.js";
15
15
  import Ye from "./index18.js";
16
16
  /* empty css */
17
- import De from "./index223.js";
17
+ import De from "./index215.js";
18
18
  /* empty css */
19
- import Ae from "./index225.js";
20
- import { autoUpdate as Se, flip as $e, offset as Oe, shift as Be, hide as Ee } from "./index226.js";
19
+ import Ae from "./index217.js";
20
+ import { autoUpdate as Se, flip as $e, offset as Oe, shift as Be, hide as Ee } from "./index218.js";
21
21
  const Ie = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Le = ["disabled"], Fe = /* @__PURE__ */ r("svg", {
22
22
  fill: "none",
23
23
  viewBox: "0 0 16 16",
package/dist/index202.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index243.js";
2
- const r = t;
1
+ import r from "./index247.js";
2
+ const t = r;
3
3
  export {
4
- r as throttle
4
+ t as deburr
5
5
  };
6
6
  //# sourceMappingURL=index202.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index202.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from 'lodash.throttle';\n\nexport const throttle = t;\n"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}
1
+ {"version":3,"file":"index202.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/index203.js CHANGED
@@ -1,38 +1,6 @@
1
- import { unrefElement as m } from "./index127.js";
2
- import { ref as u, watch as l } from "vue";
3
- import { createFocusTrap as d } from "./index242.js";
4
- import { tryOnScopeDispose as D } from "./index197.js";
5
- function O(i, a = {}) {
6
- let e;
7
- const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
8
- e && (e.pause(), s.value = !0);
9
- }, p = () => {
10
- e && (e.unpause(), s.value = !1);
11
- };
12
- return l(
13
- () => m(i),
14
- (t) => {
15
- t && (e = d(t, {
16
- ...n,
17
- onActivate() {
18
- c.value = !0, a.onActivate && a.onActivate();
19
- },
20
- onDeactivate() {
21
- c.value = !1, a.onDeactivate && a.onDeactivate();
22
- }
23
- }), f && o());
24
- },
25
- { flush: "post" }
26
- ), D(() => r()), {
27
- hasFocus: c,
28
- isPaused: s,
29
- activate: o,
30
- deactivate: r,
31
- pause: v,
32
- unpause: p
33
- };
34
- }
1
+ import t from "./index249.js";
2
+ const r = t;
35
3
  export {
36
- O as useFocusTrap
4
+ r as throttle
37
5
  };
38
6
  //# sourceMappingURL=index203.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index203.js","sources":["../node_modules/@vueuse/integrations/useFocusTrap.mjs"],"sourcesContent":["import { unrefElement, tryOnScopeDispose } from '@vueuse/core';\nimport { ref, watch } from 'vue-demi';\nimport { createFocusTrap } from 'focus-trap';\n\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = ref(false);\n const isPaused = ref(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n watch(\n () => unrefElement(target),\n (el) => {\n if (!el)\n return;\n trap = createFocusTrap(el, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\n\nexport { useFocusTrap };\n"],"names":["useFocusTrap","target","options","trap","immediate","focusTrapOptions","hasFocus","ref","isPaused","activate","opts","deactivate","pause","unpause","watch","unrefElement","el","createFocusTrap","tryOnScopeDispose"],"mappings":";;;;AAIA,SAASA,EAAaC,GAAQC,IAAU,IAAI;AAC1C,MAAIC;AACJ,QAAM,EAAE,WAAAC,GAAW,GAAGC,EAAgB,IAAKH,GACrCI,IAAWC,EAAI,EAAK,GACpBC,IAAWD,EAAI,EAAK,GACpBE,IAAW,CAACC,MAASP,KAAQA,EAAK,SAASO,CAAI,GAC/CC,IAAa,CAACD,MAASP,KAAQA,EAAK,WAAWO,CAAI,GACnDE,IAAQ,MAAM;AAClB,IAAIT,MACFA,EAAK,MAAK,GACVK,EAAS,QAAQ;AAAA,EAEvB,GACQK,IAAU,MAAM;AACpB,IAAIV,MACFA,EAAK,QAAO,GACZK,EAAS,QAAQ;AAAA,EAEvB;AACE,SAAAM;AAAA,IACE,MAAMC,EAAad,CAAM;AAAA,IACzB,CAACe,MAAO;AACN,MAAKA,MAELb,IAAOc,EAAgBD,GAAI;AAAA,QACzB,GAAGX;AAAA,QACH,aAAa;AACX,UAAAC,EAAS,QAAQ,IACbJ,EAAQ,cACVA,EAAQ,WAAU;AAAA,QACrB;AAAA,QACD,eAAe;AACb,UAAAI,EAAS,QAAQ,IACbJ,EAAQ,gBACVA,EAAQ,aAAY;AAAA,QACvB;AAAA,MACT,CAAO,GACGE,KACFK;IACH;AAAA,IACD,EAAE,OAAO,OAAQ;AAAA,EACrB,GACES,EAAkB,MAAMP,EAAU,CAAE,GAC7B;AAAA,IACL,UAAAL;AAAA,IACA,UAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index203.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from 'lodash.throttle';\n\nexport const throttle = t;\n"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}
package/dist/index204.js CHANGED
@@ -1,9 +1,38 @@
1
- const o = (e, t = 50) => new Promise((r) => {
2
- const n = setInterval(() => {
3
- e() && (clearInterval(n), r());
4
- }, t);
5
- });
1
+ import { unrefElement as m } from "./index127.js";
2
+ import { ref as u, watch as l } from "vue";
3
+ import { createFocusTrap as d } from "./index248.js";
4
+ import { tryOnScopeDispose as D } from "./index197.js";
5
+ function O(i, a = {}) {
6
+ let e;
7
+ const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
8
+ e && (e.pause(), s.value = !0);
9
+ }, p = () => {
10
+ e && (e.unpause(), s.value = !1);
11
+ };
12
+ return l(
13
+ () => m(i),
14
+ (t) => {
15
+ t && (e = d(t, {
16
+ ...n,
17
+ onActivate() {
18
+ c.value = !0, a.onActivate && a.onActivate();
19
+ },
20
+ onDeactivate() {
21
+ c.value = !1, a.onDeactivate && a.onDeactivate();
22
+ }
23
+ }), f && o());
24
+ },
25
+ { flush: "post" }
26
+ ), D(() => r()), {
27
+ hasFocus: c,
28
+ isPaused: s,
29
+ activate: o,
30
+ deactivate: r,
31
+ pause: v,
32
+ unpause: p
33
+ };
34
+ }
6
35
  export {
7
- o as waitFor
36
+ O as useFocusTrap
8
37
  };
9
38
  //# sourceMappingURL=index204.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index204.js","sources":["../src/utilities/functions/waitFor.ts"],"sourcesContent":["/** Wait until iteratee returns true to resolve the promise */\nexport const waitFor: (\n\titeratee: () => boolean,\n\tinterval?: number\n) => Promise<void> = (iteratee, interval = 50) =>\n\tnew Promise((resolve) => {\n\t\tconst i = setInterval(() => {\n\t\t\tif (iteratee()) {\n\t\t\t\tclearInterval(i);\n\t\t\t\tresolve();\n\t\t\t}\n\t\t}, interval);\n\t});\n"],"names":["waitFor","iteratee","interval","resolve","i"],"mappings":"AACa,MAAAA,IAGQ,CAACC,GAAUC,IAAW,OAC1C,IAAI,QAAQ,CAACC,MAAY;AAClB,QAAAC,IAAI,YAAY,MAAM;AAC3B,IAAIH,QACH,cAAcG,CAAC,GACPD;KAEPD,CAAQ;AACZ,CAAC;"}
1
+ {"version":3,"file":"index204.js","sources":["../node_modules/@vueuse/integrations/useFocusTrap.mjs"],"sourcesContent":["import { unrefElement, tryOnScopeDispose } from '@vueuse/core';\nimport { ref, watch } from 'vue-demi';\nimport { createFocusTrap } from 'focus-trap';\n\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = ref(false);\n const isPaused = ref(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n watch(\n () => unrefElement(target),\n (el) => {\n if (!el)\n return;\n trap = createFocusTrap(el, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\n\nexport { useFocusTrap };\n"],"names":["useFocusTrap","target","options","trap","immediate","focusTrapOptions","hasFocus","ref","isPaused","activate","opts","deactivate","pause","unpause","watch","unrefElement","el","createFocusTrap","tryOnScopeDispose"],"mappings":";;;;AAIA,SAASA,EAAaC,GAAQC,IAAU,IAAI;AAC1C,MAAIC;AACJ,QAAM,EAAE,WAAAC,GAAW,GAAGC,EAAgB,IAAKH,GACrCI,IAAWC,EAAI,EAAK,GACpBC,IAAWD,EAAI,EAAK,GACpBE,IAAW,CAACC,MAASP,KAAQA,EAAK,SAASO,CAAI,GAC/CC,IAAa,CAACD,MAASP,KAAQA,EAAK,WAAWO,CAAI,GACnDE,IAAQ,MAAM;AAClB,IAAIT,MACFA,EAAK,MAAK,GACVK,EAAS,QAAQ;AAAA,EAEvB,GACQK,IAAU,MAAM;AACpB,IAAIV,MACFA,EAAK,QAAO,GACZK,EAAS,QAAQ;AAAA,EAEvB;AACE,SAAAM;AAAA,IACE,MAAMC,EAAad,CAAM;AAAA,IACzB,CAACe,MAAO;AACN,MAAKA,MAELb,IAAOc,EAAgBD,GAAI;AAAA,QACzB,GAAGX;AAAA,QACH,aAAa;AACX,UAAAC,EAAS,QAAQ,IACbJ,EAAQ,cACVA,EAAQ,WAAU;AAAA,QACrB;AAAA,QACD,eAAe;AACb,UAAAI,EAAS,QAAQ,IACbJ,EAAQ,gBACVA,EAAQ,aAAY;AAAA,QACvB;AAAA,MACT,CAAO,GACGE,KACFK;IACH;AAAA,IACD,EAAE,OAAO,OAAQ;AAAA,EACrB,GACES,EAAkB,MAAMP,EAAU,CAAE,GAC7B;AAAA,IACL,UAAAL;AAAA,IACA,UAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
package/dist/index205.js CHANGED
@@ -1,10 +1,9 @@
1
- import { ref as e } from "vue";
2
- const o = e(0), s = () => {
3
- o.value++;
4
- }, a = () => {
5
- o.value--;
6
- }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
1
+ const o = (e, t = 50) => new Promise((r) => {
2
+ const n = setInterval(() => {
3
+ e() && (clearInterval(n), r());
4
+ }, t);
5
+ });
7
6
  export {
8
- d as useModalsState
7
+ o as waitFor
9
8
  };
10
9
  //# sourceMappingURL=index205.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index205.js","sources":["../src/composables/useModalsState.ts"],"sourcesContent":["import { ref } from 'vue';\n\nconst openedModals = ref(0);\n\nconst modalHasOpened = () => {\n\topenedModals.value++;\n};\n\nconst modalHasClosed = () => {\n\topenedModals.value--;\n};\nexport const useModalsState = () => {\n\treturn { openedModals, modalHasOpened, modalHasClosed };\n};\n"],"names":["openedModals","ref","modalHasOpened","modalHasClosed","useModalsState"],"mappings":";AAEA,MAAMA,IAAeC,EAAI,CAAC,GAEpBC,IAAiB,MAAM;AACf,EAAAF,EAAA;AACd,GAEMG,IAAiB,MAAM;AACf,EAAAH,EAAA;AACd,GACaI,IAAiB,OACtB,EAAE,cAAAJ,GAAc,gBAAAE,GAAgB,gBAAAC;"}
1
+ {"version":3,"file":"index205.js","sources":["../src/utilities/functions/waitFor.ts"],"sourcesContent":["/** Wait until iteratee returns true to resolve the promise */\nexport const waitFor: (\n\titeratee: () => boolean,\n\tinterval?: number\n) => Promise<void> = (iteratee, interval = 50) =>\n\tnew Promise((resolve) => {\n\t\tconst i = setInterval(() => {\n\t\t\tif (iteratee()) {\n\t\t\t\tclearInterval(i);\n\t\t\t\tresolve();\n\t\t\t}\n\t\t}, interval);\n\t});\n"],"names":["waitFor","iteratee","interval","resolve","i"],"mappings":"AACa,MAAAA,IAGQ,CAACC,GAAUC,IAAW,OAC1C,IAAI,QAAQ,CAACC,MAAY;AAClB,QAAAC,IAAI,YAAY,MAAM;AAC3B,IAAIH,QACH,cAAcG,CAAC,GACPD;KAEPD,CAAQ;AACZ,CAAC;"}
package/dist/index206.js CHANGED
@@ -1,8 +1,10 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`)
4
- });
1
+ import { ref as e } from "vue";
2
+ const o = e(0), s = () => {
3
+ o.value++;
4
+ }, a = () => {
5
+ o.value--;
6
+ }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
5
7
  export {
6
- e as useLogger
8
+ d as useModalsState
7
9
  };
8
10
  //# sourceMappingURL=index206.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index206.js","sources":["../src/composables/useLogger.ts"],"sourcesContent":["const prefix = `bitboss-ui | `;\n\nexport const useLogger = () => {\n\treturn {\n\t\twarn: (message: string) => console.warn(`${prefix}${message}`),\n\t\terror: (message: string) => console.error(`${prefix}${message}`),\n\t};\n};\n"],"names":["prefix","useLogger","message"],"mappings":"AAAA,MAAMA,IAAS,iBAEFC,IAAY,OACjB;AAAA,EACN,MAAM,CAACC,MAAoB,QAAQ,KAAK,GAAGF,CAAM,GAAGE,CAAO,EAAE;AAAA,EAC7D,OAAO,CAACA,MAAoB,QAAQ,MAAM,GAAGF,CAAM,GAAGE,CAAO,EAAE;AAAA;"}
1
+ {"version":3,"file":"index206.js","sources":["../src/composables/useModalsState.ts"],"sourcesContent":["import { ref } from 'vue';\n\nconst openedModals = ref(0);\n\nconst modalHasOpened = () => {\n\topenedModals.value++;\n};\n\nconst modalHasClosed = () => {\n\topenedModals.value--;\n};\nexport const useModalsState = () => {\n\treturn { openedModals, modalHasOpened, modalHasClosed };\n};\n"],"names":["openedModals","ref","modalHasOpened","modalHasClosed","useModalsState"],"mappings":";AAEA,MAAMA,IAAeC,EAAI,CAAC,GAEpBC,IAAiB,MAAM;AACf,EAAAF,EAAA;AACd,GAEMG,IAAiB,MAAM;AACf,EAAAH,EAAA;AACd,GACaI,IAAiB,OACtB,EAAE,cAAAJ,GAAc,gBAAAE,GAAgB,gBAAAC;"}
package/dist/index207.js CHANGED
@@ -1,8 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index251.js";
2
- import { __require as o } from "./index250.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
5
2
  export {
6
- s as default
3
+ n as clamp
7
4
  };
8
5
  //# sourceMappingURL=index207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index207.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index207.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/index208.js CHANGED
@@ -1,19 +1,129 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index251.js";
2
- import { __module as e } from "./index253.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
- };
1
+ import { arrow as j, computePosition as A } from "./index218.js";
2
+ import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index218.js";
3
+ import { isNode as B, getNodeName as F } from "./index255.js";
4
+ import { getOverflowAncestors as le } from "./index255.js";
5
+ import { computed as a, ref as f, shallowRef as I, watch as h, getCurrentScope as U, onScopeDispose as k, shallowReadonly as r, unref as q } from "vue";
6
+ function z(e) {
7
+ return e != null && typeof e == "object" && "$el" in e;
8
+ }
9
+ function g(e) {
10
+ if (z(e)) {
11
+ const l = e.$el;
12
+ return B(l) && F(l) === "#comment" ? null : l;
13
+ }
14
+ return e;
15
+ }
16
+ function o(e) {
17
+ return typeof e == "function" ? e() : q(e);
18
+ }
19
+ function K(e) {
20
+ return {
21
+ name: "arrow",
22
+ options: e,
23
+ fn(l) {
24
+ const t = g(o(e.element));
25
+ return t == null ? {} : j({
26
+ element: t,
27
+ padding: e.padding
28
+ }).fn(l);
29
+ }
30
+ };
31
+ }
32
+ function M(e) {
33
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
34
+ }
35
+ function C(e, l) {
36
+ const t = M(e);
37
+ return Math.round(l * t) / t;
38
+ }
39
+ function L(e, l, t) {
40
+ t === void 0 && (t = {});
41
+ const x = t.whileElementsMounted, V = a(() => {
42
+ var n;
43
+ return (n = o(t.open)) != null ? n : !0;
44
+ }), D = a(() => o(t.middleware)), d = a(() => {
45
+ var n;
46
+ return (n = o(t.placement)) != null ? n : "bottom";
47
+ }), v = a(() => {
48
+ var n;
49
+ return (n = o(t.strategy)) != null ? n : "absolute";
50
+ }), S = a(() => {
51
+ var n;
52
+ return (n = o(t.transform)) != null ? n : !0;
53
+ }), i = a(() => g(e.value)), u = a(() => g(l.value)), p = f(0), w = f(0), c = f(v.value), O = f(d.value), P = I({}), y = f(!1), _ = a(() => {
54
+ const n = {
55
+ position: c.value,
56
+ left: "0",
57
+ top: "0"
58
+ };
59
+ if (!u.value)
60
+ return n;
61
+ const R = C(u.value, p.value), b = C(u.value, w.value);
62
+ return S.value ? {
63
+ ...n,
64
+ transform: "translate(" + R + "px, " + b + "px)",
65
+ ...M(u.value) >= 1.5 && {
66
+ willChange: "transform"
67
+ }
68
+ } : {
69
+ position: c.value,
70
+ left: R + "px",
71
+ top: b + "px"
11
72
  };
12
73
  });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
74
+ let s;
75
+ function m() {
76
+ i.value == null || u.value == null || A(i.value, u.value, {
77
+ middleware: D.value,
78
+ placement: d.value,
79
+ strategy: v.value
80
+ }).then((n) => {
81
+ p.value = n.x, w.value = n.y, c.value = n.strategy, O.value = n.placement, P.value = n.middlewareData, y.value = !0;
82
+ });
83
+ }
84
+ function E() {
85
+ typeof s == "function" && (s(), s = void 0);
86
+ }
87
+ function N() {
88
+ if (E(), x === void 0) {
89
+ m();
90
+ return;
91
+ }
92
+ if (i.value != null && u.value != null) {
93
+ s = x(i.value, u.value, m);
94
+ return;
95
+ }
96
+ }
97
+ function $() {
98
+ V.value || (y.value = !1);
99
+ }
100
+ return h([D, d, v], m, {
101
+ flush: "sync"
102
+ }), h([i, u], N, {
103
+ flush: "sync"
104
+ }), h(V, $, {
105
+ flush: "sync"
106
+ }), U() && k(E), {
107
+ x: r(p),
108
+ y: r(w),
109
+ strategy: r(c),
110
+ placement: r(O),
111
+ middlewareData: r(P),
112
+ isPositioned: r(y),
113
+ floatingStyles: _,
114
+ update: m
115
+ };
116
+ }
16
117
  export {
17
- c as default
118
+ K as arrow,
119
+ W as autoUpdate,
120
+ A as computePosition,
121
+ X as flip,
122
+ le as getOverflowAncestors,
123
+ Y as hide,
124
+ Z as offset,
125
+ ee as platform,
126
+ ne as shift,
127
+ L as useFloating
18
128
  };
19
129
  //# sourceMappingURL=index208.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index208.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":"index208.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 { isNode, getNodeName } from '@floating-ui/utils/dom';\nimport { unref, computed, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly } from 'vue-demi';\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\nfunction toValue(source) {\n return typeof source === 'function' ? source() : unref(source);\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(toValue(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 _toValue;\n return (_toValue = toValue(options.open)) != null ? _toValue : true;\n });\n const middlewareOption = computed(() => toValue(options.middleware));\n const placementOption = computed(() => {\n var _toValue2;\n return (_toValue2 = toValue(options.placement)) != null ? _toValue2 : 'bottom';\n });\n const strategyOption = computed(() => {\n var _toValue3;\n return (_toValue3 = toValue(options.strategy)) != null ? _toValue3 : 'absolute';\n });\n const transformOption = computed(() => {\n var _toValue4;\n return (_toValue4 = toValue(options.transform)) != null ? _toValue4 : 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","toValue","source","unref","arrow","options","args","arrow$1","getDPR","roundByDPR","value","dpr","useFloating","reference","floating","whileElementsMountedOption","openOption","computed","_toValue","middlewareOption","placementOption","_toValue2","strategyOption","_toValue3","transformOption","_toValue4","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":"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","x_google_ignoreList":[0]}
package/dist/index209.js CHANGED
@@ -1,19 +1,8 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index251.js";
2
- import { __module as t } from "./index254.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 { getDefaultExportFromCjs as r } from "./index251.js";
2
+ import { __require as o } from "./index250.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
16
5
  export {
17
- c as default
6
+ s as default
18
7
  };
19
8
  //# sourceMappingURL=index209.js.map