bitboss-ui 0.2.29 → 0.2.30

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 (129) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -7
  2. package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -7
  3. package/dist/index101.js +3 -3
  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/index127.js +1 -1
  16. package/dist/index131.js +2 -2
  17. package/dist/index15.js +8 -8
  18. package/dist/index17.js +9 -9
  19. package/dist/index19.js +3 -3
  20. package/dist/index196.js +5 -10
  21. package/dist/index196.js.map +1 -1
  22. package/dist/index197.js +16 -5
  23. package/dist/index197.js.map +1 -1
  24. package/dist/index198.js +10 -10
  25. package/dist/index198.js.map +1 -1
  26. package/dist/index199.js +18 -15
  27. package/dist/index199.js.map +1 -1
  28. package/dist/index200.js +19 -18
  29. package/dist/index200.js.map +1 -1
  30. package/dist/index201.js +23 -14
  31. package/dist/index201.js.map +1 -1
  32. package/dist/index202.js +8 -29
  33. package/dist/index202.js.map +1 -1
  34. package/dist/index203.js +2 -8
  35. package/dist/index203.js.map +1 -1
  36. package/dist/index204.js +3 -2
  37. package/dist/index204.js.map +1 -1
  38. package/dist/index205.js +35 -3
  39. package/dist/index205.js.map +1 -1
  40. package/dist/index206.js +6 -35
  41. package/dist/index206.js.map +1 -1
  42. package/dist/index207.js +2 -6
  43. package/dist/index207.js.map +1 -1
  44. package/dist/index208.js +4 -2
  45. package/dist/index208.js.map +1 -1
  46. package/dist/index209.js +378 -4
  47. package/dist/index209.js.map +1 -1
  48. package/dist/index210.js +2 -235
  49. package/dist/index210.js.map +1 -1
  50. package/dist/index211.js +373 -2
  51. package/dist/index211.js.map +1 -1
  52. package/dist/index212.js +2 -2
  53. package/dist/index212.js.map +1 -1
  54. package/dist/index213.js +1 -1
  55. package/dist/index214.js +1 -1
  56. package/dist/index215.js +2 -2
  57. package/dist/index215.js.map +1 -1
  58. package/dist/index216.js +2 -9
  59. package/dist/index216.js.map +1 -1
  60. package/dist/index217.js +131 -118
  61. package/dist/index217.js.map +1 -1
  62. package/dist/index218.js +174 -23
  63. package/dist/index218.js.map +1 -1
  64. package/dist/index219.js +23 -378
  65. package/dist/index219.js.map +1 -1
  66. package/dist/index220.js +8 -371
  67. package/dist/index220.js.map +1 -1
  68. package/dist/index221.js +234 -133
  69. package/dist/index221.js.map +1 -1
  70. package/dist/index222.js +6 -171
  71. package/dist/index222.js.map +1 -1
  72. package/dist/index223.js +121 -2
  73. package/dist/index223.js.map +1 -1
  74. package/dist/index224.js +1 -1
  75. package/dist/index226.js +1 -1
  76. package/dist/index227.js +435 -2
  77. package/dist/index227.js.map +1 -1
  78. package/dist/index228.js +82 -428
  79. package/dist/index228.js.map +1 -1
  80. package/dist/index229.js +197 -86
  81. package/dist/index229.js.map +1 -1
  82. package/dist/index23.js +1 -1
  83. package/dist/index230.js +293 -198
  84. package/dist/index230.js.map +1 -1
  85. package/dist/index231.js +5 -294
  86. package/dist/index231.js.map +1 -1
  87. package/dist/index232.js +2 -6
  88. package/dist/index232.js.map +1 -1
  89. package/dist/index233.js +2 -2
  90. package/dist/index238.js +4 -2
  91. package/dist/index238.js.map +1 -1
  92. package/dist/index239.js +116 -3
  93. package/dist/index239.js.map +1 -1
  94. package/dist/index240.js +100 -218
  95. package/dist/index240.js.map +1 -1
  96. package/dist/index241.js +2 -258
  97. package/dist/index241.js.map +1 -1
  98. package/dist/index242.js +224 -69
  99. package/dist/index242.js.map +1 -1
  100. package/dist/index243.js +255 -12
  101. package/dist/index243.js.map +1 -1
  102. package/dist/index244.js +1 -1
  103. package/dist/index246.js +69 -2
  104. package/dist/index246.js.map +1 -1
  105. package/dist/index247.js +2 -106
  106. package/dist/index247.js.map +1 -1
  107. package/dist/index248.js +2 -117
  108. package/dist/index248.js.map +1 -1
  109. package/dist/index249.js +15 -2
  110. package/dist/index249.js.map +1 -1
  111. package/dist/index25.js +2 -2
  112. package/dist/index253.js +1 -1
  113. package/dist/index254.js +1 -1
  114. package/dist/index29.js +3 -3
  115. package/dist/index31.js +34 -35
  116. package/dist/index31.js.map +1 -1
  117. package/dist/index33.js +2 -2
  118. package/dist/index35.js +2 -2
  119. package/dist/index47.js +1 -1
  120. package/dist/index49.js +1 -1
  121. package/dist/index65.js +5 -5
  122. package/dist/index72.js +1 -1
  123. package/dist/index75.js +1 -1
  124. package/dist/index79.js +4 -4
  125. package/dist/index81.js +1 -1
  126. package/dist/index91.js +16 -18
  127. package/dist/index91.js.map +1 -1
  128. package/dist/style.css +1 -1
  129. package/package.json +1 -1
package/dist/index248.js CHANGED
@@ -1,120 +1,5 @@
1
- const l = Math.min, a = Math.max, P = Math.round, M = Math.floor, O = (t) => ({
2
- x: t,
3
- y: t
4
- }), m = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, p = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function S(t, n, o) {
14
- return a(t, l(n, o));
15
- }
16
- function w(t, n) {
17
- return typeof t == "function" ? t(n) : t;
18
- }
19
- function f(t) {
20
- return t.split("-")[0];
21
- }
22
- function g(t) {
23
- return t.split("-")[1];
24
- }
25
- function h(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function x(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- function b(t) {
32
- return ["top", "bottom"].includes(f(t)) ? "y" : "x";
33
- }
34
- function d(t) {
35
- return h(b(t));
36
- }
37
- function j(t, n, o) {
38
- o === void 0 && (o = !1);
39
- const s = g(t), i = d(t), e = x(i);
40
- let r = i === "x" ? s === (o ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
41
- return n.reference[e] > n.floating[e] && (r = u(r)), [r, u(r)];
42
- }
43
- function C(t) {
44
- const n = u(t);
45
- return [c(t), n, c(n)];
46
- }
47
- function c(t) {
48
- return t.replace(/start|end/g, (n) => p[n]);
49
- }
50
- function A(t, n, o) {
51
- const s = ["left", "right"], i = ["right", "left"], e = ["top", "bottom"], r = ["bottom", "top"];
52
- switch (t) {
53
- case "top":
54
- case "bottom":
55
- return o ? n ? i : s : n ? s : i;
56
- case "left":
57
- case "right":
58
- return n ? e : r;
59
- default:
60
- return [];
61
- }
62
- }
63
- function L(t, n, o, s) {
64
- const i = g(t);
65
- let e = A(f(t), o === "start", s);
66
- return i && (e = e.map((r) => r + "-" + i), n && (e = e.concat(e.map(c)))), e;
67
- }
68
- function u(t) {
69
- return t.replace(/left|right|bottom|top/g, (n) => m[n]);
70
- }
71
- function y(t) {
72
- return {
73
- top: 0,
74
- right: 0,
75
- bottom: 0,
76
- left: 0,
77
- ...t
78
- };
79
- }
80
- function E(t) {
81
- return typeof t != "number" ? y(t) : {
82
- top: t,
83
- right: t,
84
- bottom: t,
85
- left: t
86
- };
87
- }
88
- function R(t) {
89
- return {
90
- ...t,
91
- top: t.y,
92
- left: t.x,
93
- right: t.x + t.width,
94
- bottom: t.y + t.height
95
- };
96
- }
1
+ var o = { exports: {} };
97
2
  export {
98
- S as clamp,
99
- O as createCoords,
100
- w as evaluate,
101
- y as expandPaddingObject,
102
- M as floor,
103
- g as getAlignment,
104
- d as getAlignmentAxis,
105
- j as getAlignmentSides,
106
- x as getAxisLength,
107
- C as getExpandedPlacements,
108
- c as getOppositeAlignmentPlacement,
109
- h as getOppositeAxis,
110
- L as getOppositeAxisPlacements,
111
- u as getOppositePlacement,
112
- E as getPaddingObject,
113
- f as getSide,
114
- b as getSideAxis,
115
- a as max,
116
- l as min,
117
- R as rectToClientRect,
118
- P as round
3
+ o as __module
119
4
  };
120
5
  //# sourceMappingURL=index248.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index248.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n return {\n ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","getSideList","side","isStart","lr","rl","tb","bt","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index248.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index249.js CHANGED
@@ -1,5 +1,18 @@
1
- var o = { exports: {} };
1
+ function r(t) {
2
+ return Object.prototype.toString.call(t).slice(8, -1);
3
+ }
4
+ function o(t) {
5
+ return r(t) === "Array";
6
+ }
7
+ function c(t) {
8
+ if (r(t) !== "Object")
9
+ return !1;
10
+ const e = Object.getPrototypeOf(t);
11
+ return !!e && e.constructor === Object && e === Object.prototype;
12
+ }
2
13
  export {
3
- o as __module
14
+ r as getType,
15
+ o as isArray,
16
+ c as isPlainObject
4
17
  };
5
18
  //# sourceMappingURL=index249.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index249.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index249.js","sources":["../node_modules/is-what/dist/index.js"],"sourcesContent":["function getType(payload) {\n return Object.prototype.toString.call(payload).slice(8, -1);\n}\n\nfunction isAnyObject(payload) {\n return getType(payload) === \"Object\";\n}\n\nfunction isArray(payload) {\n return getType(payload) === \"Array\";\n}\n\nfunction isBlob(payload) {\n return getType(payload) === \"Blob\";\n}\n\nfunction isBoolean(payload) {\n return getType(payload) === \"Boolean\";\n}\n\nfunction isDate(payload) {\n return getType(payload) === \"Date\" && !isNaN(payload);\n}\n\nfunction isEmptyArray(payload) {\n return isArray(payload) && payload.length === 0;\n}\n\nfunction isPlainObject(payload) {\n if (getType(payload) !== \"Object\")\n return false;\n const prototype = Object.getPrototypeOf(payload);\n return !!prototype && prototype.constructor === Object && prototype === Object.prototype;\n}\n\nfunction isEmptyObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length === 0;\n}\n\nfunction isEmptyString(payload) {\n return payload === \"\";\n}\n\nfunction isError(payload) {\n return getType(payload) === \"Error\" || payload instanceof Error;\n}\n\nfunction isFile(payload) {\n return getType(payload) === \"File\";\n}\n\nfunction isFullArray(payload) {\n return isArray(payload) && payload.length > 0;\n}\n\nfunction isFullObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length > 0;\n}\n\nfunction isString(payload) {\n return getType(payload) === \"String\";\n}\n\nfunction isFullString(payload) {\n return isString(payload) && payload !== \"\";\n}\n\nfunction isFunction(payload) {\n return typeof payload === \"function\";\n}\n\nfunction isType(payload, type) {\n if (!(type instanceof Function)) {\n throw new TypeError(\"Type must be a function\");\n }\n if (!Object.prototype.hasOwnProperty.call(type, \"prototype\")) {\n throw new TypeError(\"Type is not a class\");\n }\n const name = type.name;\n return getType(payload) === name || Boolean(payload && payload.constructor === type);\n}\n\nfunction isInstanceOf(value, classOrClassName) {\n if (typeof classOrClassName === \"function\") {\n for (let p = value; p; p = Object.getPrototypeOf(p)) {\n if (isType(p, classOrClassName)) {\n return true;\n }\n }\n return false;\n } else {\n for (let p = value; p; p = Object.getPrototypeOf(p)) {\n if (getType(p) === classOrClassName) {\n return true;\n }\n }\n return false;\n }\n}\n\nfunction isMap(payload) {\n return getType(payload) === \"Map\";\n}\n\nfunction isNaNValue(payload) {\n return getType(payload) === \"Number\" && isNaN(payload);\n}\n\nfunction isNumber(payload) {\n return getType(payload) === \"Number\" && !isNaN(payload);\n}\n\nfunction isNegativeNumber(payload) {\n return isNumber(payload) && payload < 0;\n}\n\nfunction isNull(payload) {\n return getType(payload) === \"Null\";\n}\n\nfunction isOneOf(a, b, c, d, e) {\n return (value) => a(value) || b(value) || !!c && c(value) || !!d && d(value) || !!e && e(value);\n}\n\nfunction isUndefined(payload) {\n return getType(payload) === \"Undefined\";\n}\n\nconst isNullOrUndefined = isOneOf(isNull, isUndefined);\n\nfunction isObject(payload) {\n return isPlainObject(payload);\n}\n\nfunction isObjectLike(payload) {\n return isAnyObject(payload);\n}\n\nfunction isPositiveNumber(payload) {\n return isNumber(payload) && payload > 0;\n}\n\nfunction isSymbol(payload) {\n return getType(payload) === \"Symbol\";\n}\n\nfunction isPrimitive(payload) {\n return isBoolean(payload) || isNull(payload) || isUndefined(payload) || isNumber(payload) || isString(payload) || isSymbol(payload);\n}\n\nfunction isPromise(payload) {\n return getType(payload) === \"Promise\";\n}\n\nfunction isRegExp(payload) {\n return getType(payload) === \"RegExp\";\n}\n\nfunction isSet(payload) {\n return getType(payload) === \"Set\";\n}\n\nfunction isWeakMap(payload) {\n return getType(payload) === \"WeakMap\";\n}\n\nfunction isWeakSet(payload) {\n return getType(payload) === \"WeakSet\";\n}\n\nexport { getType, isAnyObject, isArray, isBlob, isBoolean, isDate, isEmptyArray, isEmptyObject, isEmptyString, isError, isFile, isFullArray, isFullObject, isFullString, isFunction, isInstanceOf, isMap, isNaNValue, isNegativeNumber, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isOneOf, isPlainObject, isPositiveNumber, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isType, isUndefined, isWeakMap, isWeakSet };\n"],"names":["getType","payload","isArray","isPlainObject","prototype"],"mappings":"AAAA,SAASA,EAAQC,GAAS;AACxB,SAAO,OAAO,UAAU,SAAS,KAAKA,CAAO,EAAE,MAAM,GAAG,EAAE;AAC5D;AAMA,SAASC,EAAQD,GAAS;AACxB,SAAOD,EAAQC,CAAO,MAAM;AAC9B;AAkBA,SAASE,EAAcF,GAAS;AAC9B,MAAID,EAAQC,CAAO,MAAM;AACvB,WAAO;AACT,QAAMG,IAAY,OAAO,eAAeH,CAAO;AAC/C,SAAO,CAAC,CAACG,KAAaA,EAAU,gBAAgB,UAAUA,MAAc,OAAO;AACjF;","x_google_ignoreList":[0]}
package/dist/index25.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as n, ref as _, openBlock as w, createElementBlock as B, normalizeClass as C, createElementVNode as l, normalizeProps as t, guardReactiveProps as u, renderSlot as V } from "vue";
2
- import { isCssColor as i } from "./index208.js";
3
- import { when as E } from "./index209.js";
2
+ import { isCssColor as i } from "./index207.js";
3
+ import { when as E } from "./index208.js";
4
4
  const N = {
5
5
  class: "bb-base-radio-container",
6
6
  "aria-hidden": "true"
package/dist/index253.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index210.js";
1
+ import e from "./index221.js";
2
2
  export {
3
3
  e as default
4
4
  };
package/dist/index254.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index242.js";
1
+ import f from "./index246.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index29.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as f, openBlock as l, createElementBlock as i, mergeProps as g, createElementVNode as r, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as h, renderSlot as x } from "vue";
2
- import { booleanishToBoolean as M } from "./index211.js";
3
- import { identity as F } from "./index212.js";
4
- import { isCssColor as p } from "./index208.js";
2
+ import { booleanishToBoolean as M } from "./index215.js";
3
+ import { identity as F } from "./index216.js";
4
+ import { isCssColor as p } from "./index207.js";
5
5
  import { isNotNil as T } from "./index124.js";
6
6
  const H = { class: "bb-base-rating__inner-container" }, D = { class: "bb-base-rating__label-text" }, N = ["autofocus", "checked", "disabled", "id", "name", "value"], j = ["width", "height"], A = /* @__PURE__ */ r("path", {
7
7
  "stroke-linecap": "round",
package/dist/index31.js CHANGED
@@ -3,17 +3,17 @@ import Pe from "./index115.js";
3
3
  import "./index158.js";
4
4
  import He from "./index119.js";
5
5
  import "./index185.js";
6
- import { autoUpdate as je, computePosition as Qe, flip as Re, shift as Ue } from "./index219.js";
6
+ import { autoUpdate as je, computePosition as Qe, flip as Ue, shift as We } from "./index209.js";
7
7
  import { deepEqual as re } from "./index123.js";
8
- import { head as le } from "./index223.js";
8
+ import { head as le } from "./index210.js";
9
9
  import { isNotNil as I } from "./index124.js";
10
- import { last as We } from "./index204.js";
10
+ import { last as Re } from "./index203.js";
11
11
  import { useItemText as Ke } from "./index125.js";
12
12
  import { useItemValue as Ye } from "./index126.js";
13
13
  import { wait as q } from "./index122.js";
14
- import { waitFor as Ze } from "./index207.js";
15
- import { when as Ge } from "./index209.js";
16
- import { offset as Xe } from "./index220.js";
14
+ import { waitFor as Ze } from "./index206.js";
15
+ import { when as Ge } from "./index208.js";
16
+ import { offset as Xe } from "./index211.js";
17
17
  const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "autofocus", "disabled", "id", "placeholder", "readonly"], tl = {
18
18
  key: 0,
19
19
  class: "bb-base-select__loading-container"
@@ -31,7 +31,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
31
31
  d: "M0.851779 0.225802C0.90403 0.173418 0.966103 0.131858 1.03444 0.1035C1.10278 0.0751431 1.17604 0.0605469 1.25003 0.0605469C1.32402 0.0605469 1.39728 0.0751431 1.46562 0.1035C1.53396 0.131858 1.59603 0.173418 1.64828 0.225802L8.00003 6.57868L14.3518 0.225802C14.4041 0.173503 14.4662 0.132017 14.5345 0.103713C14.6028 0.0754093 14.6761 0.0608414 14.75 0.0608414C14.824 0.0608414 14.8972 0.0754093 14.9656 0.103713C15.0339 0.132017 15.096 0.173503 15.1483 0.225802C15.2006 0.278101 15.2421 0.340189 15.2704 0.408521C15.2987 0.476852 15.3132 0.55009 15.3132 0.624052C15.3132 0.698014 15.2987 0.771252 15.2704 0.839584C15.2421 0.907916 15.2006 0.970003 15.1483 1.0223L8.39828 7.7723C8.34603 7.82469 8.28395 7.86625 8.21562 7.8946C8.14728 7.92296 8.07402 7.93756 8.00003 7.93756C7.92604 7.93756 7.85278 7.92296 7.78444 7.8946C7.7161 7.86625 7.65403 7.82469 7.60178 7.7723L0.851779 1.0223C0.799395 0.970051 0.757835 0.907978 0.729477 0.83964C0.70112 0.771302 0.686523 0.69804 0.686523 0.624052C0.686523 0.550064 0.70112 0.476803 0.729477 0.408464C0.757835 0.340126 0.799395 0.278053 0.851779 0.225802Z",
32
32
  fill: "currentColor"
33
33
  })
34
- ], -1), _l = /* @__PURE__ */ Ne({
34
+ ], -1), Ol = /* @__PURE__ */ Ne({
35
35
  __name: "BaseSelect",
36
36
  props: {
37
37
  allowWriting: { type: Boolean, default: !0 },
@@ -61,7 +61,6 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
61
61
  filterBy: { type: [String, Array, Boolean, Function, null], default: () => [] },
62
62
  prefill: { type: [Boolean, String], default: "focus" },
63
63
  queryDebounceTime: { default: 500 },
64
- refreshOnReset: { type: Boolean },
65
64
  resetQueryOnOptionSelected: { type: Boolean },
66
65
  stash: { type: Boolean },
67
66
  updateOnAnimationFrame: { type: Boolean, default: !1 }
@@ -144,7 +143,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
144
143
  return t || a.text.toLowerCase().includes(s.value.toLowerCase());
145
144
  }) : e = C.value, e.map((a, t) => ({
146
145
  ...a,
147
- focused: _.value === t
146
+ focused: O.value === t
148
147
  }));
149
148
  }), z = g(
150
149
  () => C.value.reduce(
@@ -233,7 +232,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
233
232
  let t = l.modelValue.every(
234
233
  (n) => p.value.get(n)
235
234
  );
236
- if ((!t || a === void 0 || l.refreshOnReset) && (await N({ prefill: !0 }), t = l.modelValue.every(
235
+ if ((!t || a === void 0) && (await N({ prefill: !0 }), t = l.modelValue.every(
237
236
  (n) => p.value.get(n)
238
237
  )), t)
239
238
  l.stash && (m.value = l.modelValue.map(
@@ -277,11 +276,11 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
277
276
  !p.value.get(l.modelValue) && l.enforceCoherence && I(l.modelValue) && c("update:modelValue", null), r.value = null;
278
277
  }
279
278
  );
280
- let R;
279
+ let U;
281
280
  X(
282
281
  () => l.dependencies,
283
282
  (e, a) => {
284
- !P && l.prefill === "focus" && Y || JSON.stringify(e) !== JSON.stringify(a) && (R && clearTimeout(R), R = setTimeout(async () => {
283
+ !P && l.prefill === "focus" && Y || JSON.stringify(e) !== JSON.stringify(a) && (U && clearTimeout(U), U = setTimeout(async () => {
285
284
  if (JSON.stringify(e) !== JSON.stringify(a)) {
286
285
  l.enforceCoherence && l.stash && (m.value = []);
287
286
  let t = s.value;
@@ -305,15 +304,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
305
304
  const ge = () => {
306
305
  E.value && v.value && Qe(E.value, v.value, {
307
306
  placement: "bottom",
308
- middleware: [Xe(6), Re(), Ue()]
307
+ middleware: [Xe(6), Ue(), We()]
309
308
  }).then((e) => {
310
309
  var a;
311
310
  v.value && (v.value.style.left = `${e.x}px`, v.value.style.top = `${e.y}px`, v.value.style.width = `${(a = E.value) == null ? void 0 : a.offsetWidth}px`);
312
311
  });
313
- }, O = f(!1), U = f(!1), W = f(!1), K = f(!0), $ = async () => {
314
- K.value = !1, U.value = !0, await q(l.transitionDuration), U.value = !1, O.value = !0;
312
+ }, _ = f(!1), W = f(!1), R = f(!1), K = f(!0), $ = async () => {
313
+ K.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, _.value = !0;
315
314
  }, M = async () => {
316
- O.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, K.value = !0;
315
+ _.value = !1, R.value = !0, await q(l.transitionDuration), R.value = !1, K.value = !0;
317
316
  }, H = f(!1);
318
317
  let Y = !0;
319
318
  const we = async (e) => {
@@ -341,12 +340,12 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
341
340
  }
342
341
  }, Ce = (e) => c("change", e), ke = (e) => {
343
342
  c("input", e), s.value === "" && (l.multiple || c("update:modelValue", null)), typeof l.items == "function" && Se();
344
- }, r = f(null), _ = g(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = k.value.length - 1), r.value % k.value.length) : r.value), o = f(null), Oe = () => {
343
+ }, r = f(null), O = g(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = k.value.length - 1), r.value % k.value.length) : r.value), o = f(null), _e = () => {
345
344
  r.value !== null ? r.value++ : r.value = 0, ie().then(() => {
346
345
  var e;
347
- if (_.value !== null) {
346
+ if (O.value !== null) {
348
347
  const a = (e = v.value) == null ? void 0 : e.querySelector(
349
- `#${C.value[_.value].id}`
348
+ `#${C.value[O.value].id}`
350
349
  );
351
350
  a instanceof HTMLElement && a.scrollIntoView({
352
351
  behavior: "smooth",
@@ -355,12 +354,12 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
355
354
  });
356
355
  }
357
356
  });
358
- }, _e = () => {
357
+ }, Oe = () => {
359
358
  r.value !== null ? r.value-- : r.value = C.value.length - 1, ie().then(() => {
360
359
  var e;
361
- if (_.value !== null) {
360
+ if (O.value !== null) {
362
361
  const a = (e = v.value) == null ? void 0 : e.querySelector(
363
- `#${C.value[_.value].id}`
362
+ `#${C.value[O.value].id}`
364
363
  );
365
364
  a instanceof HTMLElement && a.scrollIntoView({
366
365
  behavior: "smooth",
@@ -380,14 +379,14 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
380
379
  {
381
380
  if (e.preventDefault(), d.value)
382
381
  return;
383
- o.value = null, O.value ? _e() : (i.value.length && (r.value = le(i.value).index), await $());
382
+ o.value = null, _.value ? Oe() : (i.value.length && (r.value = le(i.value).index), await $());
384
383
  }
385
384
  break;
386
385
  case "ArrowDown":
387
386
  {
388
387
  if (e.preventDefault(), d.value)
389
388
  return;
390
- o.value = null, O.value ? Oe() : (i.value.length && (r.value = le(i.value).index), await $());
389
+ o.value = null, _.value ? _e() : (i.value.length && (r.value = le(i.value).index), await $());
391
390
  }
392
391
  break;
393
392
  case "ArrowLeft":
@@ -426,13 +425,13 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
426
425
  {
427
426
  if (e.preventDefault(), d.value)
428
427
  return;
429
- if (!O.value)
428
+ if (!_.value)
430
429
  k.value.length && i.value.length && (r.value = le(i.value).index), await $();
431
- else if (_.value !== null) {
432
- if (k.value[_.value].disabled)
430
+ else if (O.value !== null) {
431
+ if (k.value[O.value].disabled)
433
432
  return;
434
433
  l.multiple || await M(), A(
435
- k.value[_.value]
434
+ k.value[O.value]
436
435
  );
437
436
  } else if (l.addOptions) {
438
437
  if (l.itemText || l.itemValue) {
@@ -442,14 +441,14 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
442
441
  return;
443
442
  }
444
443
  ye();
445
- const n = We(V.value);
444
+ const n = Re(V.value);
446
445
  A(z.value[n.id]);
447
446
  }
448
447
  }
449
448
  break;
450
449
  case "Tab":
451
450
  case "Escape":
452
- O.value && await M(), c("inactive"), o.value = null, r.value = null;
451
+ _.value && await M(), c("inactive"), o.value = null, r.value = null;
453
452
  break;
454
453
  case "Shift":
455
454
  if (d.value)
@@ -594,9 +593,9 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
594
593
  w("span", {
595
594
  class: x({
596
595
  "bb-base-select__options-container": !0,
597
- "bb-base-select__options-container--shown": O.value,
598
- "bb-base-select__options-container--showing": U.value,
599
- "bb-base-select__options-container--hiding": W.value,
596
+ "bb-base-select__options-container--shown": _.value,
597
+ "bb-base-select__options-container--showing": W.value,
598
+ "bb-base-select__options-container--hiding": R.value,
600
599
  "bb-base-select__options-container--hidden": K.value
601
600
  }),
602
601
  role: "listbox",
@@ -661,7 +660,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
661
660
  w("span", ol, [
662
661
  h(e.$slots, "chevron", {
663
662
  loading: !!d.value,
664
- shown: O.value
663
+ shown: _.value
665
664
  }, () => [
666
665
  il
667
666
  ])
@@ -688,6 +687,6 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autocomplete", "
688
687
  }
689
688
  });
690
689
  export {
691
- _l as default
690
+ Ol as default
692
691
  };
693
692
  //# sourceMappingURL=index31.js.map