bitboss-ui 1.0.67 → 1.0.69
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.
- package/dist/index105.js +3 -3
- package/dist/index115.js +4 -4
- package/dist/index117.js +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +20 -18
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +1 -1
- package/dist/index122.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index14.js +3 -3
- package/dist/index16.js +1 -1
- package/dist/index18.js +8 -8
- package/dist/index198.js +2 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -16
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +14 -14
- package/dist/index200.js +4 -16
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -19
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +3 -20
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +3 -29
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +3 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +35 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +6 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +7 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -2
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -174
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +16 -2
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +16 -42
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +21 -1
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +20 -13
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +29 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +8 -3
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +2 -35
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +122 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +134 -7
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +2 -122
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +5 -5
- package/dist/index220.js +170 -130
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +42 -2
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +1 -176
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +13 -369
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +342 -400
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +427 -3
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +174 -3
- package/dist/index226.js.map +1 -1
- package/dist/index234.js +3 -8
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -23
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +23 -4
- package/dist/index236.js.map +1 -1
- package/dist/index239.js +223 -294
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +2 -2
- package/dist/index240.js +257 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +79 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +435 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +89 -2
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +200 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +295 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -2
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -79
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -3
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +4 -1
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +2 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -435
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -89
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -224
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +94 -246
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +3 -200
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +1 -4
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +7 -106
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +118 -5
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +5 -2
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +4 -4
- package/dist/index260.js +2 -118
- package/dist/index260.js.map +1 -1
- package/dist/index262.js +1 -1
- package/dist/index267.js +1 -1
- package/dist/index268.js +2 -2
- package/dist/index269.js +2 -2
- package/dist/index28.js +2 -2
- package/dist/index30.js +1 -1
- package/dist/index32.js +3 -3
- package/dist/index34.js +54 -54
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +2 -2
- package/dist/index38.js +2 -2
- package/dist/index40.js +1 -1
- package/dist/index42.js +4 -4
- package/dist/index44.js +3 -3
- package/dist/index46.js +3 -3
- package/dist/index52.js +1 -1
- package/dist/index54.js +1 -1
- package/dist/index70.js +5 -5
- package/dist/index76.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index83.js +4 -4
- package/dist/index85.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index105.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as q, computed as p, onMounted as de, watch as J, openBlock as n, 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, unref as C, createVNode as j, Fragment as N, renderList as S, createTextVNode as pe, mergeProps as fe } from "vue";
|
|
2
|
-
import { add as me } from "./
|
|
3
|
-
import { clamp as ye } from "./
|
|
2
|
+
import { add as me } from "./index260.js";
|
|
3
|
+
import { clamp as ye } from "./index198.js";
|
|
4
4
|
import { deepEqual as K } from "./index227.js";
|
|
5
5
|
import { isNil as x } from "./index124.js";
|
|
6
6
|
import { isNotNil as he } from "./index129.js";
|
|
7
7
|
import { useId as _e } from "./index7.js";
|
|
8
8
|
import { useItemValue as ke } from "./index230.js";
|
|
9
|
-
import { when as ge } from "./
|
|
9
|
+
import { when as ge } from "./index200.js";
|
|
10
10
|
import Q from "./index14.js";
|
|
11
11
|
import "./index15.js";
|
|
12
12
|
import ve from "./index28.js";
|
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 "./
|
|
2
|
+
import { useFloating as J, arrow as K } from "./index217.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
|
import "./index13.js";
|
|
7
|
-
import { throttle as w } from "./
|
|
8
|
-
import { waitFor as Y } from "./
|
|
9
|
-
import { autoUpdate as Z, flip as ee, shift as te, hide as oe } from "./
|
|
7
|
+
import { throttle as w } from "./index204.js";
|
|
8
|
+
import { waitFor as Y } from "./index206.js";
|
|
9
|
+
import { autoUpdate as Z, flip as ee, shift as te, hide as oe } from "./index224.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 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 "./
|
|
2
|
+
import { flattenTree as P } from "./index259.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/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 "./
|
|
3
|
+
import { useLogger as m } from "./index208.js";
|
|
4
4
|
const P = /* @__PURE__ */ y({
|
|
5
5
|
__name: "BaseButton",
|
|
6
6
|
props: {
|
package/dist/index120.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as r, watch as m, computed as b, openBlock as s, createBlock as i, resolveDynamicComponent as u, normalizeProps as f, guardReactiveProps as v, withCtx as d, normalizeStyle as y, renderSlot as V, createCommentVNode as g } from "vue";
|
|
2
|
+
const B = /* @__PURE__ */ p({
|
|
3
3
|
__name: "BbCollapsible",
|
|
4
4
|
props: {
|
|
5
5
|
eager: { type: Boolean },
|
|
@@ -7,41 +7,43 @@ const C = /* @__PURE__ */ d({
|
|
|
7
7
|
modelValue: { type: Boolean },
|
|
8
8
|
tag: { default: "div" }
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
() =>
|
|
13
|
-
(
|
|
14
|
-
|
|
10
|
+
setup(c) {
|
|
11
|
+
const e = c, a = r(e.modelValue), t = r(a.value), o = m(
|
|
12
|
+
() => e.modelValue,
|
|
13
|
+
(l) => {
|
|
14
|
+
l && (t.value = !0, o());
|
|
15
15
|
}
|
|
16
16
|
);
|
|
17
|
-
|
|
17
|
+
a.value && o();
|
|
18
18
|
const n = b(() => ({
|
|
19
19
|
class: {
|
|
20
20
|
"bb-collapsible": !0,
|
|
21
|
-
"bb-collapsible--open":
|
|
22
|
-
"bb-collapsible--closed": !
|
|
21
|
+
"bb-collapsible--open": e.modelValue,
|
|
22
|
+
"bb-collapsible--closed": !e.modelValue
|
|
23
23
|
},
|
|
24
24
|
style: {
|
|
25
|
-
transitionDuration:
|
|
25
|
+
transitionDuration: e.transitionDuration + "ms"
|
|
26
26
|
}
|
|
27
27
|
}));
|
|
28
|
-
return (
|
|
29
|
-
default:
|
|
30
|
-
(
|
|
28
|
+
return (l, h) => (s(), i(u(l.tag), f(v(n.value)), {
|
|
29
|
+
default: d(() => [
|
|
30
|
+
(s(), i(u(l.tag), {
|
|
31
|
+
"aria-hidden": !e.modelValue,
|
|
31
32
|
class: "bb-collapsible__content",
|
|
33
|
+
inert: !e.modelValue,
|
|
32
34
|
style: y(n.value.style)
|
|
33
35
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
36
|
+
default: d(() => [
|
|
37
|
+
l.eager || t.value ? V(l.$slots, "default", { key: 0 }) : g("", !0)
|
|
36
38
|
]),
|
|
37
39
|
_: 3
|
|
38
|
-
}, 8, ["style"]))
|
|
40
|
+
}, 8, ["aria-hidden", "inert", "style"]))
|
|
39
41
|
]),
|
|
40
42
|
_: 3
|
|
41
43
|
}, 16));
|
|
42
44
|
}
|
|
43
45
|
});
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
B as default
|
|
46
48
|
};
|
|
47
49
|
//# sourceMappingURL=index120.js.map
|
package/dist/index120.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index120.js","sources":["../src/components/BbCollapsible/BbCollapsible.vue"],"sourcesContent":["<template>\n\t<component v-bind=\"collapsibleAttributes\" :is=\"tag\">\n\t\t<component\n\t\t\t:is=\"tag\"\n\t\t\tclass=\"bb-collapsible__content\"\n\t\t\t:style=\"collapsibleAttributes.style\"\n\t\t>\n\t\t\t<slot v-if=\"eager || hasRenderedOnce\"></slot>\n\t\t</component>\n\t</component>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, ref, watch } from 'vue';\n\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbCollapsibleProps = Pick<\n\tCommonProps,\n\t'eager' | 'transitionDuration'\n> & {\n\t/**\n\t * Used by v-model to trigger opening / closing the collapsible\n\t */\n\tmodelValue: boolean;\n\t/**\n\t * Any HTML tag corresponding to a non-void HTMl element.\n\t */\n\ttag?: string;\n};\n\nconst props = withDefaults(defineProps<BbCollapsibleProps>(), {\n\ttransitionDuration: 250,\n\ttag: 'div',\n});\n\ndefineSlots<{\n\tdefault?: (props: object) => any;\n}>();\n\nconst visible = ref(props.modelValue);\nconst hasRenderedOnce = ref(visible.value);\n\n/**\n * If the component is lazy render content on first time modelValue is true\n */\nconst cleanup = watch(\n\t() => props.modelValue,\n\t(value) => {\n\t\tif (value) {\n\t\t\thasRenderedOnce.value = true;\n\t\t\tcleanup();\n\t\t}\n\t}\n);\nif (visible.value) cleanup();\n\nconst collapsibleAttributes = computed(() => {\n\treturn {\n\t\tclass: {\n\t\t\t'bb-collapsible': true,\n\t\t\t'bb-collapsible--open': props.modelValue,\n\t\t\t'bb-collapsible--closed': !props.modelValue,\n\t\t},\n\t\tstyle: {\n\t\t\ttransitionDuration: props.transitionDuration + 'ms',\n\t\t},\n\t};\n});\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbCollapsible';\n</style>\n"],"names":["props","__props","visible","ref","hasRenderedOnce","cleanup","watch","value","collapsibleAttributes","computed"],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index120.js","sources":["../src/components/BbCollapsible/BbCollapsible.vue"],"sourcesContent":["<template>\n\t<component v-bind=\"collapsibleAttributes\" :is=\"tag\">\n\t\t<component\n\t\t\t:is=\"tag\"\n\t\t\t:aria-hidden=\"!props.modelValue\"\n\t\t\tclass=\"bb-collapsible__content\"\n\t\t\t:inert=\"!props.modelValue\"\n\t\t\t:style=\"collapsibleAttributes.style\"\n\t\t>\n\t\t\t<slot v-if=\"eager || hasRenderedOnce\"></slot>\n\t\t</component>\n\t</component>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, ref, watch } from 'vue';\n\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbCollapsibleProps = Pick<\n\tCommonProps,\n\t'eager' | 'transitionDuration'\n> & {\n\t/**\n\t * Used by v-model to trigger opening / closing the collapsible\n\t */\n\tmodelValue: boolean;\n\t/**\n\t * Any HTML tag corresponding to a non-void HTMl element.\n\t */\n\ttag?: string;\n};\n\nconst props = withDefaults(defineProps<BbCollapsibleProps>(), {\n\ttransitionDuration: 250,\n\ttag: 'div',\n});\n\ndefineSlots<{\n\tdefault?: (props: object) => any;\n}>();\n\nconst visible = ref(props.modelValue);\nconst hasRenderedOnce = ref(visible.value);\n\n/**\n * If the component is lazy render content on first time modelValue is true\n */\nconst cleanup = watch(\n\t() => props.modelValue,\n\t(value) => {\n\t\tif (value) {\n\t\t\thasRenderedOnce.value = true;\n\t\t\tcleanup();\n\t\t}\n\t}\n);\nif (visible.value) cleanup();\n\nconst collapsibleAttributes = computed(() => {\n\treturn {\n\t\tclass: {\n\t\t\t'bb-collapsible': true,\n\t\t\t'bb-collapsible--open': props.modelValue,\n\t\t\t'bb-collapsible--closed': !props.modelValue,\n\t\t},\n\t\tstyle: {\n\t\t\ttransitionDuration: props.transitionDuration + 'ms',\n\t\t},\n\t};\n});\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbCollapsible';\n</style>\n"],"names":["props","__props","visible","ref","hasRenderedOnce","cleanup","watch","value","collapsibleAttributes","computed"],"mappings":";;;;;;;;;;AAiCA,UAAMA,IAAQC,GASRC,IAAUC,EAAIH,EAAM,UAAU,GAC9BI,IAAkBD,EAAID,EAAQ,KAAK,GAKnCG,IAAUC;AAAA,MACf,MAAMN,EAAM;AAAA,MACZ,CAACO,MAAU;AACV,QAAIA,MACHH,EAAgB,QAAQ,IAChBC;MAEV;AAAA,IAAA;AAED,IAAIH,EAAQ,SAAeG;AAErB,UAAAG,IAAwBC,EAAS,OAC/B;AAAA,MACN,OAAO;AAAA,QACN,kBAAkB;AAAA,QAClB,wBAAwBT,EAAM;AAAA,QAC9B,0BAA0B,CAACA,EAAM;AAAA,MAClC;AAAA,MACA,OAAO;AAAA,QACN,oBAAoBA,EAAM,qBAAqB;AAAA,MAChD;AAAA,IAAA,EAED;;;;;;;;;;;;;;;;;;;"}
|
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 "./
|
|
2
|
+
import { isCssColor as z } from "./index199.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 "./
|
|
2
|
+
import { throttle as g } from "./index204.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 "./
|
|
2
|
+
import { isCssColor as d } from "./index199.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
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 "./
|
|
3
|
-
import { when as F } from "./
|
|
4
|
-
import { booleanishToBoolean as N } from "./
|
|
2
|
+
import { isCssColor as k } from "./index199.js";
|
|
3
|
+
import { when as F } from "./index200.js";
|
|
4
|
+
import { booleanishToBoolean as N } from "./index201.js";
|
|
5
5
|
const S = {
|
|
6
6
|
"aria-hidden": "true",
|
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index16.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as y, toRef as l, openBlock as c, createElementBlock as r, normalizeClass as p, createElementVNode as g, renderSlot as n, unref as i, createTextVNode as k, toDisplayString as v, createCommentVNode as w, Fragment as V, renderList as z, createVNode as S, mergeProps as T, withCtx as F } from "vue";
|
|
2
|
-
import { useOptions as N } from "./
|
|
2
|
+
import { useOptions as N } from "./index226.js";
|
|
3
3
|
import I from "./index14.js";
|
|
4
4
|
import "./index15.js";
|
|
5
5
|
const M = { class: "bb-base-checkbox-group__container" }, H = {
|
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 "./
|
|
3
|
-
import Me from "./
|
|
4
|
-
import Ae from "./
|
|
5
|
-
import xe from "./
|
|
6
|
-
import Ce from "./
|
|
7
|
-
import Ye from "./
|
|
8
|
-
import { groupBy as J } from "./
|
|
2
|
+
import i from "./index209.js";
|
|
3
|
+
import Me from "./index210.js";
|
|
4
|
+
import Ae from "./index211.js";
|
|
5
|
+
import xe from "./index212.js";
|
|
6
|
+
import Ce from "./index213.js";
|
|
7
|
+
import Ye from "./index214.js";
|
|
8
|
+
import { groupBy as J } from "./index215.js";
|
|
9
9
|
import { isNil as Be } from "./index124.js";
|
|
10
|
-
import { last as Q } from "./
|
|
10
|
+
import { last as Q } from "./index216.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,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as o } from "./index239.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
|
-
|
|
3
|
+
n as clamp
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=index198.js.map
|
package/dist/index198.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index198.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index198.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns\n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n\treturn Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MAC1C,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
|
package/dist/index199.js
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __module as e } from "./index242.js";
|
|
3
|
-
(function(s, a) {
|
|
4
|
-
(function(i, t) {
|
|
5
|
-
s.exports = t();
|
|
6
|
-
})(n, function() {
|
|
7
|
-
return function(i, t) {
|
|
8
|
-
t.prototype.isSameOrAfter = function(r, o) {
|
|
9
|
-
return this.isSame(r, o) || this.isAfter(r, o);
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
});
|
|
13
|
-
})(e);
|
|
14
|
-
var m = e.exports;
|
|
15
|
-
const c = /* @__PURE__ */ f(m);
|
|
1
|
+
const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
|
16
2
|
export {
|
|
17
|
-
|
|
3
|
+
s as isCssColor
|
|
18
4
|
};
|
|
19
5
|
//# sourceMappingURL=index199.js.map
|
package/dist/index199.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index199.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index199.js","sources":["../src/utilities/functions/isCssColor.ts"],"sourcesContent":["/**\n * Taken from vuetify colorable mixin\n * https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/colorable/index.ts\n */\nexport const isCssColor = (color: string): boolean => {\n\treturn !!color && !!color.match(/^(#|var\\(--|(rgb|hsl)a?\\()/);\n};\n"],"names":["isCssColor","color"],"mappings":"AAIa,MAAAA,IAAa,CAACC,MACnB,CAAC,CAACA,KAAS,CAAC,CAACA,EAAM,MAAM,4BAA4B;"}
|
package/dist/index20.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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 "./
|
|
3
|
-
import o from "./
|
|
4
|
-
import ve from "./
|
|
5
|
-
import ge from "./
|
|
6
|
-
import { identity as ye } from "./
|
|
7
|
-
import { last as ke } from "./
|
|
8
|
-
import { useFocusTrap as he } from "./
|
|
2
|
+
import { useFloating as be } from "./index217.js";
|
|
3
|
+
import o from "./index209.js";
|
|
4
|
+
import ve from "./index218.js";
|
|
5
|
+
import ge from "./index212.js";
|
|
6
|
+
import { identity as ye } from "./index219.js";
|
|
7
|
+
import { last as ke } from "./index216.js";
|
|
8
|
+
import { useFocusTrap as he } from "./index205.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 "./
|
|
12
|
+
import { vMaska as Ce } from "./index220.js";
|
|
13
13
|
import { wait as S } from "./index126.js";
|
|
14
|
-
import { waitFor as _e } from "./
|
|
14
|
+
import { waitFor as _e } from "./index206.js";
|
|
15
15
|
import Ye from "./index18.js";
|
|
16
16
|
import "./index19.js";
|
|
17
|
-
import De from "./
|
|
18
|
-
import "./
|
|
19
|
-
import Ae from "./
|
|
20
|
-
import { autoUpdate as Se, flip as $e, shift as Oe, hide as Be } from "./
|
|
21
|
-
import { offset as Ee } from "./
|
|
17
|
+
import De from "./index221.js";
|
|
18
|
+
import "./index222.js";
|
|
19
|
+
import Ae from "./index223.js";
|
|
20
|
+
import { autoUpdate as Se, flip as $e, shift as Oe, hide as Be } from "./index224.js";
|
|
21
|
+
import { offset as Ee } from "./index225.js";
|
|
22
22
|
const Ie = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Le = ["disabled"], Fe = /* @__PURE__ */ r("svg", {
|
|
23
23
|
fill: "none",
|
|
24
24
|
viewBox: "0 0 16 16",
|
package/dist/index200.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
(function(s, a) {
|
|
4
|
-
(function(f, o) {
|
|
5
|
-
s.exports = o();
|
|
6
|
-
})(n, function() {
|
|
7
|
-
return function(f, o) {
|
|
8
|
-
o.prototype.isSameOrBefore = function(e, r) {
|
|
9
|
-
return this.isSame(e, r) || this.isBefore(e, r);
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
});
|
|
13
|
-
})(t);
|
|
14
|
-
var m = t.exports;
|
|
15
|
-
const c = /* @__PURE__ */ i(m);
|
|
1
|
+
import { curry as e } from "./index234.js";
|
|
2
|
+
const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
|
|
16
3
|
export {
|
|
17
|
-
|
|
4
|
+
t as baseWhen,
|
|
5
|
+
s as when
|
|
18
6
|
};
|
|
19
7
|
//# sourceMappingURL=index200.js.map
|
package/dist/index200.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index200.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index200.js","sources":["../src/utilities/functions/when.ts"],"sourcesContent":["import { curry } from './curry';\n/**\n * Runs fn on item if iteratee(item) is thruthy\n * @param iteratee The test\n * @param item The item to test\n * @param fn The transformer function\n * @returns\n */\nexport const baseWhen = <T, U>(\n\titeratee: (item: T) => boolean,\n\tfn: (item: T) => U,\n\titem: T\n) => {\n\tif (iteratee(item)) return fn(item);\n\treturn item;\n};\n\nexport const when = curry(baseWhen);\n"],"names":["baseWhen","iteratee","fn","item","when","curry"],"mappings":";AAQO,MAAMA,IAAW,CACvBC,GACAC,GACAC,MAEIF,EAASE,CAAI,IAAUD,EAAGC,CAAI,IAC3BA,GAGKC,IAAOC,EAAML,CAAQ;"}
|
package/dist/index201.js
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __module as _ } from "./index244.js";
|
|
3
|
-
import { __require as s } from "./index239.js";
|
|
4
|
-
(function(n, d) {
|
|
5
|
-
(function(t, o) {
|
|
6
|
-
n.exports = o(s());
|
|
7
|
-
})(m, function(t) {
|
|
8
|
-
function o(e) {
|
|
9
|
-
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
10
|
-
}
|
|
11
|
-
var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
|
|
12
|
-
return e + "º";
|
|
13
|
-
} };
|
|
14
|
-
return a.default.locale(r, null, !0), r;
|
|
15
|
-
});
|
|
16
|
-
})(_);
|
|
17
|
-
var u = _.exports;
|
|
18
|
-
const p = /* @__PURE__ */ i(u);
|
|
1
|
+
const o = (e) => typeof e == "boolean" ? e : e === "true";
|
|
19
2
|
export {
|
|
20
|
-
|
|
3
|
+
o as booleanishToBoolean
|
|
21
4
|
};
|
|
22
5
|
//# sourceMappingURL=index201.js.map
|
package/dist/index201.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index201.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index201.js","sources":["../src/utilities/functions/booleanishToBoolean.ts"],"sourcesContent":["/**\n * Accepts a booleanish input and returns a boolean value\n * @param input booleanish input\n * @returns\n */\nexport const booleanishToBoolean = (input: boolean | 'true' | 'false') => {\n\tif (typeof input === 'boolean') return input;\n\telse return input === 'true';\n};\n"],"names":["booleanishToBoolean","input"],"mappings":"AAKa,MAAAA,IAAsB,CAACC,MAC/B,OAAOA,KAAU,YAAkBA,IAC3BA,MAAU;"}
|
package/dist/index202.js
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
(function(u, l) {
|
|
4
|
-
(function(c, e) {
|
|
5
|
-
u.exports = e();
|
|
6
|
-
})(s, function() {
|
|
7
|
-
return function(c, e, r) {
|
|
8
|
-
r.updateLocale = function(f, o) {
|
|
9
|
-
var t = r.Ls[f];
|
|
10
|
-
if (t)
|
|
11
|
-
return (o ? Object.keys(o) : []).forEach(function(a) {
|
|
12
|
-
t[a] = o[a];
|
|
13
|
-
}), t;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
});
|
|
17
|
-
})(n);
|
|
18
|
-
var i = n.exports;
|
|
19
|
-
const x = /* @__PURE__ */ p(i);
|
|
1
|
+
import r from "./index239.js";
|
|
2
|
+
const t = r;
|
|
20
3
|
export {
|
|
21
|
-
|
|
4
|
+
t as deburr
|
|
22
5
|
};
|
|
23
6
|
//# sourceMappingURL=index202.js.map
|
package/dist/index202.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index202.js","sources":["../
|
|
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,32 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
(function(f, p) {
|
|
4
|
-
(function(r, e) {
|
|
5
|
-
f.exports = e();
|
|
6
|
-
})(k, function() {
|
|
7
|
-
var r = "week", e = "year";
|
|
8
|
-
return function(w, u, a) {
|
|
9
|
-
var o = u.prototype;
|
|
10
|
-
o.week = function(t) {
|
|
11
|
-
if (t === void 0 && (t = null), t !== null)
|
|
12
|
-
return this.add(7 * (t - this.week()), "day");
|
|
13
|
-
var s = this.$locale().yearStart || 1;
|
|
14
|
-
if (this.month() === 11 && this.date() > 25) {
|
|
15
|
-
var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
|
|
16
|
-
if (l.isBefore(d))
|
|
17
|
-
return 1;
|
|
18
|
-
}
|
|
19
|
-
var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
|
|
20
|
-
return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
|
|
21
|
-
}, o.weeks = function(t) {
|
|
22
|
-
return t === void 0 && (t = null), this.week(t);
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
});
|
|
26
|
-
})(n);
|
|
27
|
-
var m = n.exports;
|
|
28
|
-
const x = /* @__PURE__ */ c(m);
|
|
1
|
+
import o from "./index240.js";
|
|
2
|
+
const e = o;
|
|
29
3
|
export {
|
|
30
|
-
|
|
4
|
+
e as snakeCase
|
|
31
5
|
};
|
|
32
6
|
//# sourceMappingURL=index203.js.map
|
package/dist/index203.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index203.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index203.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from 'lodash.snakecase';\n\nexport const snakeCase = s;\n"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
|
package/dist/index204.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const n = o(r, u, p);
|
|
4
|
-
return n in e || (e[n] = []), e[n].push(r), e;
|
|
5
|
-
},
|
|
6
|
-
{}
|
|
7
|
-
);
|
|
1
|
+
import t from "./index243.js";
|
|
2
|
+
const r = t;
|
|
8
3
|
export {
|
|
9
|
-
|
|
4
|
+
r as throttle
|
|
10
5
|
};
|
|
11
6
|
//# sourceMappingURL=index204.js.map
|
package/dist/index204.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index204.js","sources":["../src/utilities/functions/
|
|
1
|
+
{"version":3,"file":"index204.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/index205.js
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
|
-
|
|
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
|
+
}
|
|
2
35
|
export {
|
|
3
|
-
|
|
36
|
+
O as useFocusTrap
|
|
4
37
|
};
|
|
5
38
|
//# sourceMappingURL=index205.js.map
|
package/dist/index205.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index205.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index205.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/index206.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = (e, t = 50) => new Promise((r) => {
|
|
2
|
+
const n = setInterval(() => {
|
|
3
|
+
e() && (clearInterval(n), r());
|
|
4
|
+
}, t);
|
|
5
|
+
});
|
|
2
6
|
export {
|
|
3
|
-
|
|
7
|
+
o as waitFor
|
|
4
8
|
};
|
|
5
9
|
//# sourceMappingURL=index206.js.map
|
package/dist/index206.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index206.js","sources":["../src/utilities/functions/
|
|
1
|
+
{"version":3,"file":"index206.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/index207.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
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 });
|
|
3
7
|
export {
|
|
4
|
-
|
|
5
|
-
s as when
|
|
8
|
+
d as useModalsState
|
|
6
9
|
};
|
|
7
10
|
//# sourceMappingURL=index207.js.map
|
package/dist/index207.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index207.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index207.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/index208.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
const o =
|
|
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
|
-
|
|
6
|
+
e as useLogger
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=index208.js.map
|
package/dist/index208.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index208.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index208.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;"}
|