bitboss-ui 2.1.78 → 2.1.80

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 (187) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +7 -1
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +9 -2
  3. package/dist/components/BbButton/BbButton.vue.d.ts +22 -2
  4. package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -2
  5. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +12 -1
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -2
  7. package/dist/index.css +1 -1
  8. package/dist/index107.js +9 -9
  9. package/dist/index112.js +1 -1
  10. package/dist/index114.js +1 -1
  11. package/dist/index120.js +1 -1
  12. package/dist/index122.js +13 -13
  13. package/dist/index13.js +2 -2
  14. package/dist/index130.js +1 -1
  15. package/dist/index132.js +5 -5
  16. package/dist/index134.js +1 -1
  17. package/dist/index139.js +1 -1
  18. package/dist/index141.js +2 -2
  19. package/dist/index142.js +1 -1
  20. package/dist/index15.js +5 -5
  21. package/dist/index17.js +3 -3
  22. package/dist/index19.js +8 -8
  23. package/dist/index21.js +14 -14
  24. package/dist/index214.js +2 -138
  25. package/dist/index215.js +138 -2
  26. package/dist/index216.js +2 -2
  27. package/dist/index217.js +1 -1
  28. package/dist/index218.js +1 -1
  29. package/dist/index220.js +1 -1
  30. package/dist/index222.js +5 -4
  31. package/dist/index223.js +5 -13
  32. package/dist/index224.js +5 -20
  33. package/dist/index225.js +5 -201
  34. package/dist/index226.js +7 -0
  35. package/dist/index227.js +3 -135
  36. package/dist/index228.js +4 -0
  37. package/dist/index229.js +6 -2
  38. package/dist/index23.js +11 -11
  39. package/dist/index230.js +8 -51
  40. package/dist/index231.js +268 -17
  41. package/dist/index232.js +46 -100
  42. package/dist/index233.js +54 -0
  43. package/dist/index234.js +28 -96
  44. package/dist/index235.js +62 -0
  45. package/dist/index236.js +13 -3
  46. package/dist/index237.js +86 -5
  47. package/dist/index239.js +29 -5
  48. package/dist/index240.js +17 -5
  49. package/dist/index241.js +51 -5
  50. package/dist/index242.js +15 -5
  51. package/dist/index243.js +12 -2
  52. package/dist/index244.js +15 -187
  53. package/dist/index245.js +10 -3
  54. package/dist/index246.js +3 -2
  55. package/dist/index247.js +3 -10
  56. package/dist/index248.js +3 -8
  57. package/dist/index249.js +5 -13
  58. package/dist/index25.js +41 -40
  59. package/dist/index250.js +5 -13
  60. package/dist/index251.js +5 -4
  61. package/dist/index252.js +2 -23
  62. package/dist/index253.js +3 -3
  63. package/dist/index254.js +20 -3
  64. package/dist/index255.js +134 -17
  65. package/dist/index257.js +187 -14
  66. package/dist/index258.js +3 -12
  67. package/dist/index259.js +12 -28
  68. package/dist/index260.js +12 -15
  69. package/dist/index261.js +9 -4
  70. package/dist/index262.js +2 -229
  71. package/dist/index263.js +11 -10
  72. package/dist/index264.js +6 -3
  73. package/dist/index265.js +15 -66
  74. package/dist/index266.js +9 -2
  75. package/dist/index267.js +2 -3
  76. package/dist/index268.js +8 -9
  77. package/dist/index27.js +1 -1
  78. package/dist/index271.js +23 -5
  79. package/dist/index272.js +2 -6
  80. package/dist/index273.js +4 -16
  81. package/dist/index274.js +201 -3
  82. package/dist/index276.js +3 -9
  83. package/dist/index277.js +3 -5
  84. package/dist/index278.js +4 -6
  85. package/dist/index279.js +40 -267
  86. package/dist/index280.js +7 -52
  87. package/dist/index281.js +17 -51
  88. package/dist/index282.js +12 -32
  89. package/dist/index283.js +100 -54
  90. package/dist/index285.js +95 -81
  91. package/dist/index287.js +227 -7
  92. package/dist/index288.js +34 -8
  93. package/dist/index289.js +8 -6
  94. package/dist/index29.js +3 -3
  95. package/dist/index293.js +66 -40
  96. package/dist/index296.js +7 -4
  97. package/dist/index297.js +280 -7
  98. package/dist/index298.js +2 -3
  99. package/dist/index299.js +16 -3
  100. package/dist/index300.js +2 -17
  101. package/dist/index301.js +16 -2
  102. package/dist/index302.js +2 -3
  103. package/dist/index303.js +27 -2
  104. package/dist/index304.js +2 -28
  105. package/dist/index305.js +2 -4
  106. package/dist/index306.js +2 -3
  107. package/dist/index307.js +2 -5
  108. package/dist/index308.js +2 -280
  109. package/dist/index309.js +28 -2
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +2 -125
  112. package/dist/index311.js +3 -2
  113. package/dist/index312.js +17 -15
  114. package/dist/index313.js +125 -2
  115. package/dist/index314.js +2 -16
  116. package/dist/index315.js +15 -2
  117. package/dist/index316.js +2 -16
  118. package/dist/index317.js +19 -2
  119. package/dist/index318.js +2 -19
  120. package/dist/index319.js +3 -2
  121. package/dist/index320.js +3 -5
  122. package/dist/index321.js +719 -27
  123. package/dist/index322.js +366 -2
  124. package/dist/index323.js +57 -2
  125. package/dist/index324.js +4 -2
  126. package/dist/index325.js +5 -2
  127. package/dist/index326.js +5 -2
  128. package/dist/index327.js +3 -2
  129. package/dist/index328.js +3 -719
  130. package/dist/index329.js +2 -366
  131. package/dist/index33.js +8 -8
  132. package/dist/index330.js +2 -57
  133. package/dist/index331.js +6 -2
  134. package/dist/index332.js +2 -3
  135. package/dist/index333.js +5 -6
  136. package/dist/index334.js +6 -34
  137. package/dist/index335.js +19 -6
  138. package/dist/index336.js +7 -127
  139. package/dist/index337.js +12 -395
  140. package/dist/index338.js +6 -46
  141. package/dist/index339.js +58 -8
  142. package/dist/index340.js +58 -6
  143. package/dist/index341.js +4 -8
  144. package/dist/index342.js +35 -58
  145. package/dist/index343.js +6 -58
  146. package/dist/index344.js +123 -222
  147. package/dist/index345.js +388 -83
  148. package/dist/index346.js +8 -5
  149. package/dist/index347.js +5 -6
  150. package/dist/index348.js +8 -19
  151. package/dist/index349.js +22 -9
  152. package/dist/index35.js +4 -4
  153. package/dist/index351.js +133 -6
  154. package/dist/index352.js +89 -130
  155. package/dist/index353.js +222 -514
  156. package/dist/index354.js +47 -22
  157. package/dist/index355.js +522 -0
  158. package/dist/index356.js +435 -44
  159. package/dist/index357.js +114 -427
  160. package/dist/index358.js +48 -126
  161. package/dist/index37.js +108 -99
  162. package/dist/index39.js +4 -4
  163. package/dist/index41.js +2 -2
  164. package/dist/index43.js +8 -8
  165. package/dist/index45.js +6 -6
  166. package/dist/index49.js +2 -2
  167. package/dist/index53.js +1 -1
  168. package/dist/index55.js +1 -1
  169. package/dist/index57.js +2 -2
  170. package/dist/index61.js +74 -58
  171. package/dist/index67.js +1 -1
  172. package/dist/index78.js +28 -25
  173. package/dist/index80.js +4 -4
  174. package/dist/index82.js +1 -1
  175. package/dist/index84.js +2 -2
  176. package/dist/index86.js +3 -3
  177. package/dist/index88.js +1 -1
  178. package/dist/index91.js +60 -60
  179. package/dist/index93.js +2 -2
  180. package/dist/index95.js +5 -5
  181. package/dist/index97.js +1 -1
  182. package/package.json +1 -1
  183. package/dist/index238.js +0 -7
  184. package/dist/index256.js +0 -14
  185. package/dist/index275.js +0 -36
  186. package/dist/index284.js +0 -4
  187. package/dist/index350.js +0 -17
@@ -85,11 +85,13 @@ export type BaseDialogProps = {
85
85
  type __VLS_Props = BaseDialogProps;
86
86
  /**
87
87
  * Events emitted by `BaseDialog`.
88
+ * - `show`: fired as soon as the user triggers the open action (model becomes true).
89
+ * - `hide`: fired as soon as the user triggers the close action (model becomes false).
88
90
  * - `shown`: fired after the dialog is opened using `showModal`.
89
91
  * - `hidden`: fired after the close transition completes and the dialog is dismissed.
90
92
  */
91
93
  export type BaseDialogEvents = {
92
- (e: 'shown' | 'hidden'): void;
94
+ (e: 'show' | 'hide' | 'shown' | 'hidden'): void;
93
95
  };
94
96
  /**
95
97
  * Slots for customising the dialog chrome and layout.
@@ -140,9 +142,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
140
142
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
141
143
  "update:modelValue": (value: boolean) => any;
142
144
  } & {
145
+ show: () => any;
146
+ hide: () => any;
143
147
  shown: () => any;
144
148
  hidden: () => any;
145
149
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
150
+ onShow?: (() => any) | undefined;
151
+ onHide?: (() => any) | undefined;
146
152
  onShown?: (() => any) | undefined;
147
153
  onHidden?: (() => any) | undefined;
148
154
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -193,6 +193,7 @@ export type BaseSelectEvents = {
193
193
  export type BaseSelectSlots<Item> = {
194
194
  append?: (props: {
195
195
  query: string;
196
+ focus: () => void;
196
197
  }) => any;
197
198
  'append-outer'?: (props: {
198
199
  query: string;
@@ -217,6 +218,7 @@ export type BaseSelectSlots<Item> = {
217
218
  }) => any;
218
219
  'no-data'?: (props: {
219
220
  query: string;
221
+ focus: () => void;
220
222
  }) => any;
221
223
  option?: (props: {
222
224
  disabled: boolean;
@@ -229,11 +231,16 @@ export type BaseSelectSlots<Item> = {
229
231
  text: string;
230
232
  value: any;
231
233
  }) => any;
232
- 'options:append'?: (props: object) => any;
233
- 'options:prepend'?: (props: object) => any;
234
+ 'options:append'?: (props: {
235
+ focus: () => void;
236
+ }) => any;
237
+ 'options:prepend'?: (props: {
238
+ focus: () => void;
239
+ }) => any;
234
240
  prefix?: (props: object) => any;
235
241
  prepend?: (props: {
236
242
  query: string;
243
+ focus: () => void;
237
244
  }) => any;
238
245
  'prepend-outer'?: (props: {
239
246
  query: string;
@@ -120,11 +120,25 @@ export type BbButtonProps = {
120
120
  * Route Location the link should navigate to when clicked on.
121
121
  */
122
122
  to?: RouteLocationRaw;
123
+ /**
124
+ * Value emitted when the toggle is activated.
125
+ * @default true
126
+ */
127
+ trueValue?: any;
128
+ /**
129
+ * Value emitted when the toggle is deactivated.
130
+ * @default false
131
+ */
132
+ falseValue?: any;
123
133
  /**
124
134
  * Gets the classification and default behavior of the button.
125
135
  */
126
136
  type?: HTMLButtonElement['type'];
127
137
  };
138
+ type __VLS_Props = BbButtonProps;
139
+ type __VLS_PublicProps = {
140
+ modelValue?: unknown;
141
+ } & __VLS_Props;
128
142
  declare function __VLS_template(): {
129
143
  attrs: Partial<{}>;
130
144
  slots: Readonly<{
@@ -148,10 +162,16 @@ declare function __VLS_template(): {
148
162
  rootEl: any;
149
163
  };
150
164
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
151
- declare const __VLS_component: import('vue').DefineComponent<BbButtonProps, {
165
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
152
166
  $el: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
153
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbButtonProps> & Readonly<{}>, {
167
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
168
+ "update:modelValue": (value: unknown) => any;
169
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
170
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
171
+ }>, {
154
172
  size: Sizes | Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default", Sizes>>;
173
+ falseValue: any;
174
+ trueValue: any;
155
175
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
156
176
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
157
177
  export default _default;
@@ -8,21 +8,25 @@ declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
9
  slots: Readonly<BaseDialogSlots> & BaseDialogSlots;
10
10
  refs: {};
11
- rootEl: any;
11
+ rootEl: HTMLDialogElement;
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: boolean) => any;
16
16
  } & {
17
+ show: () => any;
18
+ hide: () => any;
17
19
  shown: () => any;
18
20
  hidden: () => any;
19
21
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ onShow?: (() => any) | undefined;
23
+ onHide?: (() => any) | undefined;
20
24
  onShown?: (() => any) | undefined;
21
25
  onHidden?: (() => any) | undefined;
22
26
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
27
  }>, {
24
28
  showClose: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDialogElement>;
26
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
31
  export default _default;
28
32
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -35,8 +35,15 @@ export type BbOffCanvasProps = Pick<CommonProps, 'closeLabel' | 'compact' | 'dis
35
35
  direction?: 'left' | 'top' | 'right' | 'bottom';
36
36
  };
37
37
  type __VLS_Props = BbOffCanvasProps;
38
+ /**
39
+ * Events emitted by `BbOffCanvas`.
40
+ * - `show`: fired as soon as the user triggers the open action (model becomes true).
41
+ * - `hide`: fired as soon as the user triggers the close action (model becomes false).
42
+ * - `shown`: fired after the offcanvas is opened using `showModal`.
43
+ * - `hidden`: fired after the close transition completes and the offcanvas is dismissed.
44
+ */
38
45
  export type BbOffCanvasEvents = {
39
- (e: 'shown' | 'hidden'): void;
46
+ (e: 'show' | 'hide' | 'shown' | 'hidden'): void;
40
47
  };
41
48
  export type BbOffCanvasSlots = {
42
49
  header?: (props: {
@@ -76,9 +83,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
76
83
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
77
84
  "update:modelValue": (value: boolean) => any;
78
85
  } & {
86
+ show: () => any;
87
+ hide: () => any;
79
88
  shown: () => any;
80
89
  hidden: () => any;
81
90
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
91
+ onShow?: (() => any) | undefined;
92
+ onHide?: (() => any) | undefined;
82
93
  onShown?: (() => any) | undefined;
83
94
  onHidden?: (() => any) | undefined;
84
95
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -207,6 +207,7 @@ export type BbSelectEvents = BaseSelectEvents;
207
207
  export type BbSelectSlots<T> = {
208
208
  append?: (props: {
209
209
  query: string;
210
+ focus: () => void;
210
211
  }) => any;
211
212
  'append-outer'?: (props: {
212
213
  query: string;
@@ -224,6 +225,7 @@ export type BbSelectSlots<T> = {
224
225
  }) => any;
225
226
  'no-data'?: (props: {
226
227
  query: string;
228
+ focus: () => void;
227
229
  }) => any;
228
230
  option?: (props: {
229
231
  disabled: boolean;
@@ -236,11 +238,16 @@ export type BbSelectSlots<T> = {
236
238
  text: string;
237
239
  value: any;
238
240
  }) => any;
239
- 'options:append'?: (props: object) => any;
240
- 'options:prepend'?: (props: object) => any;
241
+ 'options:append'?: (props: {
242
+ focus: () => void;
243
+ }) => any;
244
+ 'options:prepend'?: (props: {
245
+ focus: () => void;
246
+ }) => any;
241
247
  prefix?: (props: object) => any;
242
248
  prepend?: (props: {
243
249
  query: string;
250
+ focus: () => void;
244
251
  }) => any;
245
252
  'prepend-outer'?: (props: {
246
253
  query: string;