bitboss-ui 0.2.16 → 0.2.18

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 (117) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +7 -0
  2. package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -0
  3. package/dist/components/BbSelect/BbSelect.vue.d.ts +7 -0
  4. package/dist/composables/useConfirm.d.ts +1 -1
  5. package/dist/index101.js +2 -2
  6. package/dist/index11.js +2 -2
  7. package/dist/index111.js +3 -3
  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/index125.js +1 -1
  13. package/dist/index126.js +1 -1
  14. package/dist/index131.js +2 -2
  15. package/dist/index15.js +3 -3
  16. package/dist/index17.js +9 -9
  17. package/dist/index19.js +3 -3
  18. package/dist/index197.js +214 -357
  19. package/dist/index197.js.map +1 -1
  20. package/dist/index198.js +375 -131
  21. package/dist/index198.js.map +1 -1
  22. package/dist/index199.js +134 -5
  23. package/dist/index199.js.map +1 -1
  24. package/dist/index200.js +5 -19
  25. package/dist/index200.js.map +1 -1
  26. package/dist/index201.js +19 -2
  27. package/dist/index201.js.map +1 -1
  28. package/dist/index202.js +2 -2
  29. package/dist/index202.js.map +1 -1
  30. package/dist/index203.js +2 -174
  31. package/dist/index203.js.map +1 -1
  32. package/dist/index204.js +174 -23
  33. package/dist/index204.js.map +1 -1
  34. package/dist/index205.js +23 -373
  35. package/dist/index205.js.map +1 -1
  36. package/dist/index206.js +373 -3
  37. package/dist/index206.js.map +1 -1
  38. package/dist/index207.js +9 -34
  39. package/dist/index207.js.map +1 -1
  40. package/dist/index208.js +3 -6
  41. package/dist/index208.js.map +1 -1
  42. package/dist/index209.js +35 -2
  43. package/dist/index209.js.map +1 -1
  44. package/dist/index210.js +6 -4
  45. package/dist/index210.js.map +1 -1
  46. package/dist/index211.js +2 -2
  47. package/dist/index212.js +2 -2
  48. package/dist/index213.js +2 -2
  49. package/dist/index214.js +2 -2
  50. package/dist/index216.js +2 -235
  51. package/dist/index216.js.map +1 -1
  52. package/dist/index217.js +4 -2
  53. package/dist/index217.js.map +1 -1
  54. package/dist/index218.js +2 -2
  55. package/dist/index218.js.map +1 -1
  56. package/dist/index219.js +2 -10
  57. package/dist/index219.js.map +1 -1
  58. package/dist/index223.js +4 -4
  59. package/dist/index224.js +4 -4
  60. package/dist/index226.js +1 -1
  61. package/dist/index227.js +2 -6
  62. package/dist/index227.js.map +1 -1
  63. package/dist/index228.js +6 -2
  64. package/dist/index228.js.map +1 -1
  65. package/dist/index229.js +2 -295
  66. package/dist/index229.js.map +1 -1
  67. package/dist/index230.js +295 -2
  68. package/dist/index230.js.map +1 -1
  69. package/dist/index231.js +2 -2
  70. package/dist/index232.js +2 -117
  71. package/dist/index232.js.map +1 -1
  72. package/dist/index233.js +111 -100
  73. package/dist/index233.js.map +1 -1
  74. package/dist/index234.js +99 -428
  75. package/dist/index234.js.map +1 -1
  76. package/dist/index235.js +428 -82
  77. package/dist/index235.js.map +1 -1
  78. package/dist/index236.js +89 -2
  79. package/dist/index236.js.map +1 -1
  80. package/dist/index237.js +199 -3
  81. package/dist/index237.js.map +1 -1
  82. package/dist/index238.js +2 -200
  83. package/dist/index238.js.map +1 -1
  84. package/dist/index242.js +4 -2
  85. package/dist/index242.js.map +1 -1
  86. package/dist/index247.js +1 -1
  87. package/dist/index248.js +1 -1
  88. package/dist/index249.js +38 -2
  89. package/dist/index249.js.map +1 -1
  90. package/dist/index25.js +2 -2
  91. package/dist/index250.js +2 -38
  92. package/dist/index250.js.map +1 -1
  93. package/dist/index251.js +2 -2
  94. package/dist/index251.js.map +1 -1
  95. package/dist/index252.js +2 -2
  96. package/dist/index252.js.map +1 -1
  97. package/dist/index254.js +2 -3
  98. package/dist/index254.js.map +1 -1
  99. package/dist/index255.js +3 -2
  100. package/dist/index255.js.map +1 -1
  101. package/dist/index29.js +3 -3
  102. package/dist/index3.js.map +1 -1
  103. package/dist/index31.js +42 -40
  104. package/dist/index31.js.map +1 -1
  105. package/dist/index33.js +1 -1
  106. package/dist/index35.js +2 -2
  107. package/dist/index47.js +1 -1
  108. package/dist/index49.js +1 -1
  109. package/dist/index65.js +3 -3
  110. package/dist/index72.js +1 -1
  111. package/dist/index75.js +1 -1
  112. package/dist/index79.js +69 -61
  113. package/dist/index79.js.map +1 -1
  114. package/dist/index91.js +18 -16
  115. package/dist/index91.js.map +1 -1
  116. package/dist/style.css +1 -1
  117. package/package.json +1 -1
@@ -5,6 +5,10 @@ export type BaseSelectProps<T> = {
5
5
  * Allows typing into the input.
6
6
  */
7
7
  allowWriting?: boolean;
8
+ /**
9
+ * Guides to the browser as to the type of information expected in the field.
10
+ */
11
+ autocomplete?: InputHTMLAttributes["autocomplete"];
8
12
  /**
9
13
  * Sets autofocus on page load.
10
14
  */
@@ -221,6 +225,7 @@ export type BaseSelectSlots<T> = {
221
225
  "append-outer"?: (props: {}) => any;
222
226
  };
223
227
  declare const _default: <T = any>(__VLS_props: {
228
+ autocomplete?: string | undefined;
224
229
  onFocus?: ((event: FocusEvent) => any) | undefined;
225
230
  onBlur?: ((event: FocusEvent) => any) | undefined;
226
231
  onChange?: ((event: Event) => any) | undefined;
@@ -263,6 +268,7 @@ declare const _default: <T = any>(__VLS_props: {
263
268
  emit: BaseSelectEvents;
264
269
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
265
270
  props: {
271
+ autocomplete?: string | undefined;
266
272
  onFocus?: ((event: FocusEvent) => any) | undefined;
267
273
  onBlur?: ((event: FocusEvent) => any) | undefined;
268
274
  onChange?: ((event: Event) => any) | undefined;
@@ -309,6 +315,7 @@ declare const _default: <T = any>(__VLS_props: {
309
315
  }> & {
310
316
  __ctx?: {
311
317
  props: {
318
+ autocomplete?: string | undefined;
312
319
  onFocus?: ((event: FocusEvent) => any) | undefined;
313
320
  onBlur?: ((event: FocusEvent) => any) | undefined;
314
321
  onChange?: ((event: Event) => any) | undefined;
@@ -6,6 +6,10 @@ export type BbPopoverProps = Pick<CommonProps, "arrowPadding" | "block" | "disab
6
6
  * By default it's the first tabbable item.
7
7
  */
8
8
  focusTarget?: string;
9
+ /**
10
+ * Width of the dropdown in pixels.
11
+ */
12
+ width?: number | string;
9
13
  };
10
14
  export type BbPopoverEvents = {
11
15
  (e: "shown"): void;
@@ -13,6 +13,10 @@ export type BbSelectProps<T> = {
13
13
  * Allows typing into the input.
14
14
  */
15
15
  allowWriting?: boolean;
16
+ /**
17
+ * Guides to the browser as to the type of information expected in the field.
18
+ */
19
+ autocomplete?: InputHTMLAttributes["autocomplete"];
16
20
  /**
17
21
  * Sets autofocus on page load.
18
22
  */
@@ -226,6 +230,7 @@ export type BbSelectSlots<T> = {
226
230
  }) => any;
227
231
  };
228
232
  declare const _default: <T = any>(__VLS_props: {
233
+ autocomplete?: string | undefined;
229
234
  onFocus?: ((event: FocusEvent) => any) | undefined;
230
235
  onBlur?: ((event: FocusEvent) => any) | undefined;
231
236
  onChange?: ((event: Event) => any) | undefined;
@@ -274,6 +279,7 @@ declare const _default: <T = any>(__VLS_props: {
274
279
  emit: BaseSelectEvents;
275
280
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
276
281
  props: {
282
+ autocomplete?: string | undefined;
277
283
  onFocus?: ((event: FocusEvent) => any) | undefined;
278
284
  onBlur?: ((event: FocusEvent) => any) | undefined;
279
285
  onChange?: ((event: Event) => any) | undefined;
@@ -326,6 +332,7 @@ declare const _default: <T = any>(__VLS_props: {
326
332
  }> & {
327
333
  __ctx?: {
328
334
  props: {
335
+ autocomplete?: string | undefined;
329
336
  onFocus?: ((event: FocusEvent) => any) | undefined;
330
337
  onBlur?: ((event: FocusEvent) => any) | undefined;
331
338
  onChange?: ((event: Event) => any) | undefined;
@@ -74,7 +74,7 @@ export declare const useConfirm: () => {
74
74
  * the behavior of the modal and returns `Promise<boolean>`
75
75
  * when the user accepts, declines, or ignores the modal.
76
76
  */
77
- confirm: (options: UserOptions) => Promise<unknown>;
77
+ confirm: (options: UserOptions) => Promise<boolean>;
78
78
  /**
79
79
  * Sets the state of the confirm to loading and displays a spinner.
80
80
  */
package/dist/index101.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as pe, mergeProps as fe } from "vue";
2
- import { add as me } from "./index236.js";
2
+ import { add as me } from "./index227.js";
3
3
  import { clamp as ye } from "./index196.js";
4
4
  import { deepEqual as he } from "./index123.js";
5
5
  import { isNil as j } from "./index120.js";
6
6
  import { isNotNil as _e } from "./index124.js";
7
7
  import { useId as ke } from "./index7.js";
8
8
  import { useItemValue as ge } from "./index126.js";
9
- import { when as ve } from "./index210.js";
9
+ import { when as ve } from "./index217.js";
10
10
  import G from "./index11.js";
11
11
  import "./index12.js";
12
12
  import Ce from "./index25.js";
package/dist/index11.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
2
- import { isCssColor as f } from "./index209.js";
3
- import { when as N } from "./index210.js";
2
+ import { isCssColor as f } from "./index216.js";
3
+ import { when as N } from "./index217.js";
4
4
  const A = {
5
5
  class: "bb-base-checkbox-container",
6
6
  "aria-hidden": "true"
package/dist/index111.js CHANGED
@@ -4,9 +4,9 @@ import { useId as K } from "./index7.js";
4
4
  import { wait as P } from "./index122.js";
5
5
  import Q from "./index9.js";
6
6
  import "./index10.js";
7
- import { throttle as v } from "./index206.js";
8
- import { waitFor as W } from "./index208.js";
9
- import { autoUpdate as X, flip as Y, shift as Z } from "./index197.js";
7
+ import { throttle as v } from "./index208.js";
8
+ import { waitFor as W } from "./index210.js";
9
+ import { autoUpdate as X, flip as Y, shift as Z } from "./index198.js";
10
10
  const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
11
11
  viewBox: "0 0 24 24",
12
12
  fill: "none",
package/dist/index116.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
2
2
  import { wait as V } from "./index122.js";
3
- import { throttle as _ } from "./index206.js";
3
+ import { throttle as _ } from "./index208.js";
4
4
  const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
5
5
  __name: "BbCollapsible",
6
6
  props: {
package/dist/index117.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as _, openBlock as b, createElementBlock as h, mergeProps as w } from "vue";
2
- import { isCssColor as z } from "./index209.js";
2
+ import { isCssColor as z } from "./index216.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index118.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
- import { throttle as g } from "./index206.js";
2
+ import { throttle as g } from "./index208.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index119.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
2
- import { isCssColor as f } from "./index209.js";
2
+ import { isCssColor as f } from "./index216.js";
3
3
  const _ = /* @__PURE__ */ c("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 512"
package/dist/index125.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index216.js";
1
+ import t from "./index197.js";
2
2
  const e = () => ({
3
3
  getItemText(r, n) {
4
4
  if (typeof r == "string" && !n)
package/dist/index126.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index216.js";
1
+ import o from "./index197.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u")
package/dist/index131.js CHANGED
@@ -1,5 +1,5 @@
1
- import { toValue as B } from "./index219.js";
2
- import { tryOnScopeDispose as E } from "./index219.js";
1
+ import { toValue as B } from "./index207.js";
2
+ import { tryOnScopeDispose as E } from "./index207.js";
3
3
  import { ref as c, computed as t } from "vue";
4
4
  function h(a) {
5
5
  var l;
package/dist/index15.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as de, ref as k, computed as h, watch as ue, openBlock as d, createElementBlock as u, mergeProps as ce, createElementVNode as i, createTextVNode as be, toDisplayString as f, unref as p, withDirectives as L, createVNode as g, Transition as V, withCtx as w, vShow as z, createCommentVNode as A, normalizeClass as x, Fragment as O, renderList as S, renderSlot as R, nextTick as me } from "vue";
2
- import c from "./index199.js";
2
+ import c from "./index200.js";
3
3
  import fe from "./index211.js";
4
4
  import pe from "./index212.js";
5
- import he from "./index200.js";
5
+ import he from "./index201.js";
6
6
  import ye from "./index213.js";
7
7
  import _e from "./index214.js";
8
8
  import { groupBy as W } from "./index215.js";
9
9
  import { isNil as ve } from "./index120.js";
10
- import { last as $ } from "./index202.js";
10
+ import { last as $ } from "./index203.js";
11
11
  const ke = { class: "bb-base-date-picker__header" }, ge = ["disabled"], Ve = /* @__PURE__ */ i("span", null, null, -1), we = {
12
12
  class: "bb-base-date-picker__selected-day-label",
13
13
  "aria-live": "polite"
package/dist/index17.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as R, ref as l, computed as Y, watch as J, onMounted as Q, onBeforeUnmount as X, openBlock as B, createElementBlock as Z, normalizeClass as C, renderSlot as u, createElementVNode as g, withDirectives as x, mergeProps as T, unref as d, toDisplayString as ee, createBlock as ae, Teleport as te, createVNode as ne, createSlots as oe, renderList as le, withCtx as ie, normalizeProps as re, guardReactiveProps as se } from "vue";
2
- import { autoUpdate as ue, computePosition as de, flip as ce, shift as fe } from "./index197.js";
3
- import pe from "./index198.js";
4
- import c from "./index199.js";
5
- import me from "./index200.js";
6
- import { identity as be } from "./index201.js";
7
- import { last as ve } from "./index202.js";
2
+ import { autoUpdate as ue, computePosition as de, flip as ce, shift as fe } from "./index198.js";
3
+ import pe from "./index199.js";
4
+ import c from "./index200.js";
5
+ import me from "./index201.js";
6
+ import { identity as be } from "./index202.js";
7
+ import { last as ve } from "./index203.js";
8
8
  import { useId as ye } from "./index7.js";
9
- import { vMaska as ge } from "./index203.js";
9
+ import { vMaska as ge } from "./index204.js";
10
10
  import { wait as I } from "./index122.js";
11
11
  import he from "./index15.js";
12
12
  import "./index16.js";
13
- import O from "./index204.js";
14
- import { offset as ke } from "./index205.js";
13
+ import O from "./index205.js";
14
+ import { offset as ke } from "./index206.js";
15
15
  const we = ["autocomplete", "autofocus", "data-maska", "disabled", "id", "name", "placeholder", "readonly", "value", "aria-describedby"], Ee = ["id"], Pe = /* @__PURE__ */ R({
16
16
  __name: "BaseDatePickerInput",
17
17
  props: {
package/dist/index19.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Q, ref as l, useAttrs as X, computed as _, onMounted as T, onBeforeUnmount as A, watch as Y, nextTick as E, openBlock as w, createBlock as Z, Teleport as ee, createElementVNode as o, mergeProps as W, createElementBlock as B, renderSlot as r, createTextVNode as te, toDisplayString as V, createCommentVNode as D } from "vue";
2
- import { throttle as le } from "./index206.js";
3
- import { useFocusTrap as oe } from "./index207.js";
2
+ import { throttle as le } from "./index208.js";
3
+ import { useFocusTrap as oe } from "./index209.js";
4
4
  import { useId as R } from "./index7.js";
5
5
  import { wait as L } from "./index122.js";
6
- import { waitFor as ae } from "./index208.js";
6
+ import { waitFor as ae } from "./index210.js";
7
7
  const se = { class: "bb-base-dialog-close" }, ne = { class: "bb-base-dialog-close__content" }, ie = { class: "bb-base-dialog-close__label" }, re = /* @__PURE__ */ o("span", { class: "bb-base-dialog-close__icon" }, [
8
8
  /* @__PURE__ */ o("svg", {
9
9
  viewBox: "0 0 24 24",