@bagelink/vue 1.15.13 → 1.15.26

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 (220) hide show
  1. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  2. package/dist/components/Alert.vue.d.ts +8 -4
  3. package/dist/components/Avatar.vue.d.ts.map +1 -1
  4. package/dist/components/Badge.vue.d.ts +46 -6
  5. package/dist/components/Badge.vue.d.ts.map +1 -1
  6. package/dist/components/BglVideo.vue.d.ts.map +1 -1
  7. package/dist/components/Btn.vue.d.ts +11 -3
  8. package/dist/components/Btn.vue.d.ts.map +1 -1
  9. package/dist/components/Card.vue.d.ts.map +1 -1
  10. package/dist/components/DataPreview.vue.d.ts.map +1 -1
  11. package/dist/components/DragOver.vue.d.ts.map +1 -1
  12. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  13. package/dist/components/FieldSetVue.vue.d.ts.map +1 -1
  14. package/dist/components/FilterQuery.vue.d.ts.map +1 -1
  15. package/dist/components/Image.vue.d.ts.map +1 -1
  16. package/dist/components/ListItem.vue.d.ts +0 -1
  17. package/dist/components/ListItem.vue.d.ts.map +1 -1
  18. package/dist/components/ListView.vue.d.ts.map +1 -1
  19. package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
  20. package/dist/components/Menu.vue.d.ts.map +1 -1
  21. package/dist/components/NavBar.vue.d.ts.map +1 -1
  22. package/dist/components/PageTitle.vue.d.ts.map +1 -1
  23. package/dist/components/Pagination.vue.d.ts +1 -1
  24. package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
  25. package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
  26. package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts +8 -8
  27. package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
  28. package/dist/components/Swiper.vue.d.ts.map +1 -1
  29. package/dist/components/Toast.vue.d.ts +7 -2
  30. package/dist/components/Toast.vue.d.ts.map +1 -1
  31. package/dist/components/analytics/BarChart.vue.d.ts.map +1 -1
  32. package/dist/components/analytics/LineChart.vue.d.ts.map +1 -1
  33. package/dist/components/analytics/PieChart.vue.d.ts.map +1 -1
  34. package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
  35. package/dist/components/calendar/Index.vue.d.ts.map +1 -1
  36. package/dist/components/calendar/views/AgendaView.vue.d.ts.map +1 -1
  37. package/dist/components/calendar/views/DayView.vue.d.ts.map +1 -1
  38. package/dist/components/calendar/views/MonthView.vue.d.ts.map +1 -1
  39. package/dist/components/calendar/views/WeekView.vue.d.ts.map +1 -1
  40. package/dist/components/dataTable/DataTable.vue.d.ts +11 -2
  41. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
  42. package/dist/components/form/index.d.ts +0 -4
  43. package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
  44. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  45. package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
  46. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
  47. package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
  48. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  49. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
  50. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
  51. package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
  52. package/dist/components/form/inputs/MarkdownEditor.vue.d.ts.map +1 -1
  53. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  54. package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
  55. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  56. package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
  57. package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
  58. package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts.map +1 -1
  59. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  60. package/dist/components/form/inputs/RichText/utils/media.d.ts +1 -10
  61. package/dist/components/form/inputs/SelectBtn.vue.d.ts +4 -3
  62. package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
  63. package/dist/components/form/inputs/SelectInput.vue.d.ts +1 -1
  64. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  65. package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
  66. package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
  67. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  68. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  69. package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
  70. package/dist/components/index.d.ts +2 -9
  71. package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
  72. package/dist/components/layout/AppLayout.vue.d.ts +33 -4
  73. package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
  74. package/dist/components/layout/AppSidebar.vue.d.ts +6 -3
  75. package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
  76. package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
  77. package/dist/components/layout/Panel.vue.d.ts +1 -1
  78. package/dist/components/layout/Resizable.vue.d.ts +1 -1
  79. package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
  80. package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
  81. package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
  82. package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
  83. package/dist/components/layout/TabsNav.vue.d.ts +1 -1
  84. package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
  85. package/dist/components/layout/index.d.ts +2 -0
  86. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  87. package/dist/composables/index.d.ts +1 -0
  88. package/dist/composables/useTheme.d.ts +0 -15
  89. package/dist/dialog/Dialog.vue.d.ts +4 -2
  90. package/dist/dialog/Dialog.vue.d.ts.map +1 -1
  91. package/dist/dialog/DialogConfirm.vue.d.ts +2 -2
  92. package/dist/form-flow/MultiStepForm.vue.d.ts +16 -2
  93. package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
  94. package/dist/form-flow/form-flow.d.ts +11 -0
  95. package/dist/index.cjs +24 -22
  96. package/dist/index.d.ts +0 -3
  97. package/dist/index.mjs +78 -70
  98. package/dist/style.css +1 -1
  99. package/dist/types/BagelForm.d.ts +23 -61
  100. package/dist/types/BtnOptions.d.ts +5 -3
  101. package/dist/types/TableSchema.d.ts +3 -0
  102. package/dist/types/index.d.ts +1 -2
  103. package/dist/utils/calendar/dateUtils.d.ts +2 -3
  104. package/dist/utils/constants.d.ts +6 -0
  105. package/dist/utils/index.d.ts +24 -3
  106. package/dist/utils/options.d.ts +2 -2
  107. package/dist/utils/showdown.d.ts +6 -0
  108. package/package.json +1 -1
  109. package/src/components/AccordionItem.vue +32 -28
  110. package/src/components/Avatar.vue +12 -10
  111. package/src/components/Badge.vue +15 -13
  112. package/src/components/BglVideo.vue +13 -11
  113. package/src/components/Btn.vue +90 -89
  114. package/src/components/Card.vue +33 -31
  115. package/src/components/DataPreview.vue +17 -15
  116. package/src/components/DragOver.vue +2 -0
  117. package/src/components/Dropdown.vue +38 -36
  118. package/src/components/FieldSetVue.vue +7 -5
  119. package/src/components/FilterQuery.vue +28 -24
  120. package/src/components/Image.vue +7 -5
  121. package/src/components/JSONSchema.vue +45 -43
  122. package/src/components/JsonBuilder.vue +10 -8
  123. package/src/components/ListItem.vue +41 -39
  124. package/src/components/ListView.vue +3 -1
  125. package/src/components/MapEmbed/Index.vue +4 -2
  126. package/src/components/Menu.vue +17 -13
  127. package/src/components/NavBar.vue +198 -196
  128. package/src/components/PageTitle.vue +2 -0
  129. package/src/components/RouterWrapper.vue +3 -1
  130. package/src/components/Spreadsheet/Index.vue +8 -6
  131. package/src/components/Spreadsheet/SpreadsheetTable.vue +100 -98
  132. package/src/components/Swiper.vue +33 -30
  133. package/src/components/Toast.vue +2 -0
  134. package/src/components/analytics/BarChart.vue +10 -8
  135. package/src/components/analytics/LineChart.vue +27 -23
  136. package/src/components/analytics/PieChart.vue +32 -28
  137. package/src/components/calendar/CalendarPopover.vue +19 -17
  138. package/src/components/calendar/Index.vue +6 -4
  139. package/src/components/calendar/views/AgendaView.vue +19 -17
  140. package/src/components/calendar/views/DayView.vue +44 -42
  141. package/src/components/calendar/views/MonthView.vue +85 -83
  142. package/src/components/calendar/views/WeekView.vue +55 -53
  143. package/src/components/dataTable/DataTable.vue +140 -139
  144. package/src/components/form/inputs/ArrayInput.vue +28 -26
  145. package/src/components/form/inputs/CheckInput.vue +32 -30
  146. package/src/components/form/inputs/Checkbox.vue +4 -2
  147. package/src/components/form/inputs/CodeEditor/Index.vue +49 -45
  148. package/src/components/form/inputs/ColorInput.vue +37 -35
  149. package/src/components/form/inputs/DateInput.vue +3 -1
  150. package/src/components/form/inputs/DatePicker.vue +42 -40
  151. package/src/components/form/inputs/EmailInput.vue +67 -63
  152. package/src/components/form/inputs/JSONInput.vue +4 -2
  153. package/src/components/form/inputs/MarkdownEditor.vue +3 -1
  154. package/src/components/form/inputs/NumberInput.vue +53 -51
  155. package/src/components/form/inputs/OTP.vue +45 -43
  156. package/src/components/form/inputs/PasswordInput.vue +11 -9
  157. package/src/components/form/inputs/RadioGroup.vue +19 -18
  158. package/src/components/form/inputs/RangeInput.vue +23 -21
  159. package/src/components/form/inputs/RichText/components/EditorToolbar.vue +14 -12
  160. package/src/components/form/inputs/RichText/components/gridBox.vue +10 -8
  161. package/src/components/form/inputs/RichText/index.vue +218 -212
  162. package/src/components/form/inputs/SelectBtn.vue +3 -1
  163. package/src/components/form/inputs/SelectInput.vue +61 -57
  164. package/src/components/form/inputs/SignaturePad.vue +19 -17
  165. package/src/components/form/inputs/TableField.vue +71 -67
  166. package/src/components/form/inputs/TelInput.vue +84 -82
  167. package/src/components/form/inputs/TextInput.vue +38 -34
  168. package/src/components/form/inputs/ToggleInput.vue +31 -29
  169. package/src/components/layout/AppContent.vue +21 -17
  170. package/src/components/layout/AppLayout.vue +25 -23
  171. package/src/components/layout/AppSidebar.vue +71 -72
  172. package/src/components/layout/BottomMenu.vue +7 -3
  173. package/src/components/layout/Resizable.vue +8 -6
  174. package/src/components/layout/SidebarMenu.vue +16 -12
  175. package/src/components/layout/Skeleton.vue +17 -15
  176. package/src/components/layout/TabbedLayout.vue +6 -5
  177. package/src/components/layout/TabsNav.vue +112 -108
  178. package/src/components/lightbox/Lightbox.vue +147 -145
  179. package/src/dialog/Dialog.vue +142 -140
  180. package/src/form-flow/MultiStepForm.vue +88 -86
  181. package/src/styles/appearance.css +115 -115
  182. package/src/styles/bagel.css +30 -31
  183. package/src/styles/layout.css +977 -971
  184. package/src/styles/mobilLayout.css +754 -754
  185. package/src/styles/text.css +630 -630
  186. package/vite.config.ts +1 -1
  187. package/dist/components/Carousel.vue.d.ts +0 -140
  188. package/dist/components/Carousel.vue.d.ts.map +0 -1
  189. package/dist/components/ImportData.vue.d.ts +0 -21
  190. package/dist/components/ImportData.vue.d.ts.map +0 -1
  191. package/dist/components/Modal.vue.d.ts +0 -48
  192. package/dist/components/Modal.vue.d.ts.map +0 -1
  193. package/dist/components/ModalConfirm.vue.d.ts +0 -17
  194. package/dist/components/ModalConfirm.vue.d.ts.map +0 -1
  195. package/dist/components/ModalForm.vue.d.ts +0 -29
  196. package/dist/components/ModalForm.vue.d.ts.map +0 -1
  197. package/dist/components/Pill.vue.d.ts +0 -47
  198. package/dist/components/Pill.vue.d.ts.map +0 -1
  199. package/dist/components/Slider.vue.d.ts +0 -96
  200. package/dist/components/Slider.vue.d.ts.map +0 -1
  201. package/dist/components/Title.vue.d.ts +0 -48
  202. package/dist/components/Title.vue.d.ts.map +0 -1
  203. package/dist/components/ToolBar.vue.d.ts +0 -3
  204. package/dist/components/ToolBar.vue.d.ts.map +0 -1
  205. package/dist/components/form/BagelForm.vue.d.ts +0 -43
  206. package/dist/components/form/BagelForm.vue.d.ts.map +0 -1
  207. package/dist/components/form/BglMultiStepForm.vue.d.ts +0 -68
  208. package/dist/components/form/BglMultiStepForm.vue.d.ts.map +0 -1
  209. package/dist/components/form/FieldArray.vue.d.ts +0 -48
  210. package/dist/components/form/FieldArray.vue.d.ts.map +0 -1
  211. package/dist/components/form/useBagelFormState.d.ts +0 -11
  212. package/dist/components/form/useBagelFormState.d.ts.map +0 -1
  213. package/dist/composables/useFormField.d.ts +0 -11
  214. package/dist/composables/useFormField.d.ts.map +0 -1
  215. package/dist/plugins/modalTypes.d.ts +0 -62
  216. package/dist/plugins/modalTypes.d.ts.map +0 -1
  217. package/dist/plugins/useModal.d.ts +0 -21
  218. package/dist/plugins/useModal.d.ts.map +0 -1
  219. package/dist/utils/BagelFormUtils.d.ts +0 -183
  220. package/dist/utils/BagelFormUtils.d.ts.map +0 -1
@@ -203,281 +203,282 @@ const showLoading = computed(() => loading.value)
203
203
  </template>
204
204
 
205
205
  <style scoped>
206
+
206
207
  .col-drag {
207
- width: 2.5rem;
208
- padding: 0 0.25rem;
208
+ width: 2.5rem;
209
+ padding: 0 0.25rem;
209
210
  }
210
211
 
211
212
  .col-drag .bgl_icon-font {
212
- color: var(--bgl-black-tint);
213
- opacity: 0.5;
214
- transition: opacity 0.15s;
213
+ color: var(--bgl-black-tint);
214
+ opacity: 0.5;
215
+ transition: opacity 0.15s;
215
216
  }
216
217
 
217
218
  .row-item:hover .col-drag .bgl_icon-font {
218
- opacity: 0.8;
219
+ opacity: 0.8;
219
220
  }
220
221
 
221
222
  .grab {
222
- cursor: grab;
223
+ cursor: grab;
223
224
  }
224
225
 
225
226
  .table-list-wrap {
226
- min-height: 150px;
227
+ min-height: 150px;
227
228
  }
228
229
 
229
230
  .selected {
230
- background: var(--bgl-primary-tint);
231
+ background: var(--bgl-primary-tint);
231
232
  }
232
233
 
233
234
  tbody tr.selected:hover {
234
- background: var(--bgl-primary-light);
235
+ background: var(--bgl-primary-light);
235
236
  }
236
237
 
237
238
  .list-arrows {
238
- opacity: 0;
239
+ opacity: 0;
239
240
  }
240
241
 
241
242
  .list-arrows .bgl_icon-font {
242
- transition: all ease-in-out 0.2s;
243
+ transition: all ease-in-out 0.2s;
243
244
  }
244
245
 
245
246
  .list-arrows.sorted {
246
- opacity: 1;
247
+ opacity: 1;
247
248
  }
248
249
 
249
250
  .col img {
250
- height: 35px;
251
- margin-top: -14px;
252
- margin-bottom: -14px;
253
- border-radius: 5px;
254
- object-fit: cover;
251
+ height: 35px;
252
+ margin-top: -14px;
253
+ margin-bottom: -14px;
254
+ border-radius: 5px;
255
+ object-fit: cover;
255
256
  }
256
257
 
257
258
  .col:has(img) {
258
- padding-inline-end: 0.5rem;
259
+ padding-inline-end: 0.5rem;
259
260
  }
260
261
 
261
262
  .selecting .col {
262
- user-select: none;
263
+ user-select: none;
263
264
  }
264
265
 
265
266
  .overflowHiddenLoading {
266
- overflow: hidden !important;
267
+ overflow: hidden !important;
267
268
  }
268
269
 
269
270
  .list-arrows.sorted .desc {
270
- transform: rotate(180deg);
271
- display: inline-block;
271
+ transform: rotate(180deg);
272
+ display: inline-block;
272
273
  }
273
274
 
274
275
  table {
275
- border-spacing: 0 15px;
276
- border-collapse: collapse;
277
- width: 100%;
276
+ border-spacing: 0 15px;
277
+ border-collapse: collapse;
278
+ width: 100%;
278
279
  }
279
280
 
280
281
  th {
281
- font-size: 0.8rem;
282
- color: var(--bgl-black-tint);
283
- position: sticky;
284
- top: 0;
285
- z-index: 2;
286
- background: var(--bgl-box-bg);
287
- height: v-bind(computedItemHeight);
288
- vertical-align: bottom;
289
- font-weight: 400;
290
- text-align: start;
282
+ font-size: 0.8rem;
283
+ color: var(--bgl-black-tint);
284
+ position: sticky;
285
+ top: 0;
286
+ z-index: 2;
287
+ background: var(--bgl-box-bg);
288
+ height: v-bind(computedItemHeight);
289
+ vertical-align: bottom;
290
+ font-weight: 400;
291
+ text-align: start;
291
292
  }
292
293
 
293
294
  .embedded-field {
294
- margin-bottom: -0.2rem;
295
- margin-top: -0.2rem;
295
+ margin-bottom: -0.2rem;
296
+ margin-top: -0.2rem;
296
297
  }
297
298
 
298
299
  .row {
299
- border-bottom: 1px solid var(--bgl-border-color);
300
- cursor: pointer;
300
+ border-bottom: 1px solid var(--bgl-border-color);
301
+ cursor: pointer;
301
302
  }
302
303
 
303
304
  .row.first-row {
304
- font-size: 0.8rem;
305
- color: var(--bgl-black-tint);
306
- position: sticky;
307
- top: 0;
308
- z-index: 2;
309
- background: var(--bgl-box-bg);
310
- vertical-align: bottom;
305
+ font-size: 0.8rem;
306
+ color: var(--bgl-black-tint);
307
+ position: sticky;
308
+ top: 0;
309
+ z-index: 2;
310
+ background: var(--bgl-box-bg);
311
+ vertical-align: bottom;
311
312
  }
312
313
 
313
314
  .row.first-row::after {
314
- content: '';
315
- border-bottom: 1px solid var(--bgl-border-color);
316
- position: absolute;
317
- left: 0;
318
- right: 0;
319
- bottom: -1px;
315
+ content: '';
316
+ border-bottom: 1px solid var(--bgl-border-color);
317
+ position: absolute;
318
+ left: 0;
319
+ right: 0;
320
+ bottom: -1px;
320
321
  }
321
322
 
322
323
  .first-row .col {
323
- cursor: pointer;
324
- background: var(--bgl-box-bg);
324
+ cursor: pointer;
325
+ background: var(--bgl-box-bg);
325
326
  }
326
327
 
327
328
  .col {
328
- white-space: nowrap;
329
- padding: 0.75rem 1rem;
330
- transition: var(--bgl-transition);
331
- line-height: 1;
332
- align-items: center;
333
- text-overflow: ellipsis;
334
- overflow: hidden;
335
- max-width: 30vw;
329
+ white-space: nowrap;
330
+ padding: 0.75rem 1rem;
331
+ transition: var(--bgl-transition);
332
+ line-height: 1;
333
+ align-items: center;
334
+ text-overflow: ellipsis;
335
+ overflow: hidden;
336
+ max-width: 30vw;
336
337
  }
337
338
 
338
339
  .col:has(.bagel-input) {
339
- padding: 0rem 0.25rem;
340
+ padding: 0rem 0.25rem;
340
341
  }
341
342
 
342
343
  .col>div {
343
- display: flex;
344
- gap: 0.5rem;
344
+ display: flex;
345
+ gap: 0.5rem;
345
346
  }
346
347
 
347
348
  .max-col-width {
348
- max-width: 30vw;
349
- overflow: hidden;
350
- text-overflow: ellipsis;
349
+ max-width: 30vw;
350
+ overflow: hidden;
351
+ text-overflow: ellipsis;
351
352
  }
352
353
 
353
354
  .col.check .bgl_icon-font {
354
- border-radius: 100%;
355
- background: var(--bgl-blue-tint);
356
- color: var(--bgl-primary);
357
- width: 20px;
358
- height: 20px;
359
- display: flex;
360
- align-items: center;
361
- justify-content: center;
362
- margin-top: -2px;
355
+ border-radius: 100%;
356
+ background: var(--bgl-blue-tint);
357
+ color: var(--bgl-primary);
358
+ width: 20px;
359
+ height: 20px;
360
+ display: flex;
361
+ align-items: center;
362
+ justify-content: center;
363
+ margin-top: -2px;
363
364
  }
364
365
 
365
366
  .rows {
366
- font-size: 0.88em;
367
+ font-size: 0.88em;
367
368
  }
368
369
 
369
370
  .table-list {
370
- height: 100%;
371
- position: relative;
372
- padding-left: 0 !important;
373
- padding-right: 0 !important;
374
- overflow: auto;
371
+ height: 100%;
372
+ position: relative;
373
+ padding-left: 0 !important;
374
+ padding-right: 0 !important;
375
+ overflow: auto;
375
376
  }
376
377
 
377
378
  .BagelTable .table-list {
378
- overflow: unset;
379
+ overflow: unset;
379
380
  }
380
381
 
381
382
  .row-item {
382
- height: v-bind(computedItemHeight);
383
- transition: all 200ms ease;
383
+ height: v-bind(computedItemHeight);
384
+ transition: all 200ms ease;
384
385
  }
385
386
 
386
387
  .row-item:hover {
387
- background: var(--bgl-gray-light);
388
+ background: var(--bgl-gray-light);
388
389
  }
389
390
 
390
391
  .row-item input[type='checkbox'] {
391
- margin-top: 0.45rem !important;
392
- accent-color: var(--bgl-accent-color);
392
+ margin-top: 0.45rem !important;
393
+ accent-color: var(--bgl-accent-color);
393
394
  }
394
395
 
395
396
  .infinite-wrapper {
396
- overflow-y: auto;
397
- width: 100%;
397
+ overflow-y: auto;
398
+ width: 100%;
398
399
  }
399
400
 
400
401
  input[type='checkbox'] {
401
- margin-top: 0.3rem !important;
402
- accent-color: var(--bgl-accent-color);
403
- transform: scale(1.2);
404
- position: relative;
405
- cursor: pointer;
406
- display: flex;
407
- justify-content: center;
408
- align-items: center;
409
- height: 0.85rem;
410
- width: 0.85rem;
402
+ margin-top: 0.3rem !important;
403
+ accent-color: var(--bgl-accent-color);
404
+ transform: scale(1.2);
405
+ position: relative;
406
+ cursor: pointer;
407
+ display: flex;
408
+ justify-content: center;
409
+ align-items: center;
410
+ height: 0.85rem;
411
+ width: 0.85rem;
411
412
  }
412
413
 
413
414
  input[type='checkbox']::before {
414
- content: '';
415
- height: 0.85rem;
416
- width: 0.85rem;
417
- background: var(--bgl-primary);
418
- display: block;
419
- text-align: center;
420
- border-radius: 100%;
421
- opacity: 0;
422
- transition: all 200ms ease;
423
- transform: scale(1);
424
- position: absolute;
415
+ content: '';
416
+ height: 0.85rem;
417
+ width: 0.85rem;
418
+ background: var(--bgl-primary);
419
+ display: block;
420
+ text-align: center;
421
+ border-radius: 100%;
422
+ opacity: 0;
423
+ transition: all 200ms ease;
424
+ transform: scale(1);
425
+ position: absolute;
425
426
  }
426
427
 
427
428
  input[type='checkbox']:hover::before {
428
- opacity: 0.2;
429
- transform: scale(2);
429
+ opacity: 0.2;
430
+ transform: scale(2);
430
431
  }
431
432
 
432
433
  [lang='he'] [dir='ltr'] {
433
- text-align: right;
434
+ text-align: right;
434
435
  }
435
436
 
436
437
  th input[type='checkbox'] {
437
- transform: translateY(0.2rem) scale(1.2);
438
- accent-color: var(--bgl-accent-color);
438
+ transform: translateY(0.2rem) scale(1.2);
439
+ accent-color: var(--bgl-accent-color);
439
440
  }
440
441
 
441
442
  th::after {
442
- content: '';
443
- border-bottom: 1px solid var(--bgl-border-color);
444
- position: absolute;
445
- left: 0;
446
- right: 0;
447
- bottom: -1px;
443
+ content: '';
444
+ border-bottom: 1px solid var(--bgl-border-color);
445
+ position: absolute;
446
+ left: 0;
447
+ right: 0;
448
+ bottom: -1px;
448
449
  }
449
450
 
450
451
  tr {
451
- border-bottom: 1px solid var(--bgl-border-color);
452
- cursor: pointer;
453
- align-items: center;
452
+ border-bottom: 1px solid var(--bgl-border-color);
453
+ cursor: pointer;
454
+ align-items: center;
454
455
  }
455
456
 
456
457
  td,
457
458
  th {
458
- white-space: nowrap;
459
- padding: 0.75rem 0.65rem;
460
- transition: var(--bgl-transition);
461
- line-height: 1;
459
+ white-space: nowrap;
460
+ padding: 0.75rem 0.65rem;
461
+ transition: var(--bgl-transition);
462
+ line-height: 1;
462
463
  }
463
464
 
464
465
  tbody tr {
465
- font-size: 0.88em;
466
- height: v-bind(computedItemHeight);
467
- transition: all 200ms ease;
466
+ font-size: 0.88em;
467
+ height: v-bind(computedItemHeight);
468
+ transition: all 200ms ease;
468
469
  }
469
470
 
470
471
  tbody tr:hover {
471
- background: var(--bgl-gray-light);
472
+ background: var(--bgl-gray-light);
472
473
  }
473
474
 
474
475
  @media (max-width: 910px) {
475
- .col {
476
- max-width: 60vw !important;
477
- }
478
- .max-col-width {
476
+ .col {
479
477
  max-width: 60vw !important;
480
478
  }
479
+ .max-col-width {
480
+ max-width: 60vw !important;
481
+ }
481
482
  }
482
483
 
483
484
  </style>
@@ -218,62 +218,64 @@ function getItemRef(i: number) {
218
218
  </template>
219
219
 
220
220
  <style>
221
+
221
222
  :root {
222
- --array-input-bg: var(--bgl-input-bg);
223
+ --array-input-bg: var(--bgl-input-bg);
223
224
  }
224
225
  .array-input-row {
225
- grid-template-columns: 1fr auto;
226
+ grid-template-columns: 1fr auto;
226
227
  }
227
228
 
228
229
  .array-collapse-enter-active,
229
230
  .array-collapse-leave-active {
230
- overflow: hidden;
231
- transition: max-height 0.2s ease, opacity 0.2s ease;
232
- max-height: 480px;
233
- opacity: 1;
231
+ overflow: hidden;
232
+ transition: max-height 0.2s ease, opacity 0.2s ease;
233
+ max-height: 480px;
234
+ opacity: 1;
234
235
  }
235
236
 
236
237
  .array-collapse-enter-from,
237
238
  .array-collapse-leave-to {
238
- max-height: 0;
239
- opacity: 0;
239
+ max-height: 0;
240
+ opacity: 0;
240
241
  }
241
242
 
242
243
  .array-list-move {
243
- transition: transform 0.25s ease;
244
+ transition: transform 0.25s ease;
244
245
  }
245
246
 
246
247
  .array-list-enter-active,
247
248
  .array-list-leave-active {
248
- transition: all 0.2s ease;
249
+ transition: all 0.2s ease;
249
250
  }
250
251
 
251
252
  .array-list-enter-from,
252
253
  .array-list-leave-to {
253
- opacity: 0;
254
- transform: scale(0.98);
254
+ opacity: 0;
255
+ transform: scale(0.98);
255
256
  }
256
257
 
257
258
  .grid-array-line {
258
- grid-template-columns: auto 1fr auto;
259
- background: var(--array-input-bg) !important;
260
- }
259
+ grid-template-columns: auto 1fr auto;
260
+ background: var(--array-input-bg) !important;
261
+ }
261
262
 
262
- .grid-array-line button:hover {
263
- filter: brightness(90%);
264
- }
263
+ .grid-array-line button:hover {
264
+ filter: brightness(90%);
265
+ }
265
266
 
266
- .grid-array-line button:active {
267
- filter: brightness(80%);
267
+ .grid-array-line button:active {
268
+ filter: brightness(80%);
268
269
  }
269
270
  .simpleArray .label-text {
270
- display: none;
271
+ display: none;
271
272
  }
272
273
  .array-item-thumb {
273
- width: 24px;
274
- height: 24px;
275
- border-radius: 50%;
276
- object-fit: cover;
277
- flex-shrink: 0;
274
+ width: 24px;
275
+ height: 24px;
276
+ border-radius: 50%;
277
+ object-fit: cover;
278
+ flex-shrink: 0;
278
279
  }
280
+
279
281
  </style>
@@ -50,61 +50,63 @@ onMounted(() => {
50
50
  </template>
51
51
 
52
52
  <style scoped>
53
+
53
54
  .bgl-checkbox {
54
- flex-direction: row;
55
- cursor: pointer;
56
- align-items: flex-start;
55
+ flex-direction: row;
56
+ cursor: pointer;
57
+ align-items: flex-start;
57
58
  }
58
59
 
59
60
  .bgl-checkbox input[type='checkbox'] {
60
- accent-color: var(--bgl-input-label-active-color, var(--bgl-accent-color));
61
- height: calc(var(--bgl-input-height) / 2.75);
62
- width: calc(var(--bgl-input-height) / 2.75);
63
- min-width: 0;
64
- display: flex;
65
- justify-content: center;
66
- align-items: center;
67
- flex-shrink: 0;
61
+ accent-color: var(--bgl-input-label-active-color, var(--bgl-accent-color));
62
+ height: calc(var(--bgl-input-height) / 2.75);
63
+ width: calc(var(--bgl-input-height) / 2.75);
64
+ min-width: 0;
65
+ display: flex;
66
+ justify-content: center;
67
+ align-items: center;
68
+ flex-shrink: 0;
68
69
  }
69
70
 
70
71
  .bgl-checkbox input[type='checkbox']::before {
71
- content: '';
72
- height: calc(var(--bgl-input-height) / 2.75);
73
- width: calc(var(--bgl-input-height) / 2.75);
74
- background: var(--bgl-input-label-active-color, var(--bgl-primary));
75
- border-radius: 100%;
76
- opacity: 0;
77
- transition: all 200ms ease;
78
- position: absolute;
72
+ content: '';
73
+ height: calc(var(--bgl-input-height) / 2.75);
74
+ width: calc(var(--bgl-input-height) / 2.75);
75
+ background: var(--bgl-input-label-active-color, var(--bgl-primary));
76
+ border-radius: 100%;
77
+ opacity: 0;
78
+ transition: all 200ms ease;
79
+ position: absolute;
79
80
  }
80
81
 
81
82
  .bgl-checkbox input[type='checkbox']:hover::before {
82
- opacity: 0.2;
83
- transform: scale(2);
83
+ opacity: 0.2;
84
+ transform: scale(2);
84
85
  }
85
86
 
86
87
  .bgl-checkbox label {
87
- cursor: pointer;
88
- user-select: none;
89
- font-size: var(--bgl-input-font-size);
90
- transition: var(--bgl-transition-400);
88
+ cursor: pointer;
89
+ user-select: none;
90
+ font-size: var(--bgl-input-font-size);
91
+ transition: var(--bgl-transition-400);
91
92
  }
92
93
 
93
94
  .bgl-checkbox:hover label {
94
- color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
95
+ color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
95
96
  }
96
97
 
97
98
  .bgl-checkbox input:checked+label {
98
- color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
99
+ color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
99
100
  }
100
101
 
101
102
  .bagel-input:focus-within.bgl-checkbox:not(:checked) label {
102
- color: var(--bgl-label-color) !important;
103
+ color: var(--bgl-label-color) !important;
103
104
  }
104
105
 
105
106
  .bgl-checkbox input:disabled+label,
106
107
  .bgl-checkbox:has(input:disabled):hover label {
107
- color: var(--bgl-input-label-color) !important;
108
- opacity: 0.5;
108
+ color: var(--bgl-input-label-color) !important;
109
+ opacity: 0.5;
109
110
  }
111
+
110
112
  </style>
@@ -11,11 +11,12 @@ const val = defineModel<boolean>('modelValue', { default: false })
11
11
  </template>
12
12
 
13
13
  <style scoped>
14
+
14
15
  .primary-checkbox input {
15
16
  appearance: none;
16
17
  accent-color: var(--bgl-accent-color);
17
- height: calc(var(--bgl-input-height) / 1.75);
18
- width: calc(var(--bgl-input-height) / 1.75);
18
+ height: calc(var(--bgl-input-height) / 1.75);
19
+ width: calc(var(--bgl-input-height) / 1.75);
19
20
  min-width: 0;
20
21
  display: flex;
21
22
  justify-content: center;
@@ -48,4 +49,5 @@ const val = defineModel<boolean>('modelValue', { default: false })
48
49
  background: var(--bgl-primary);
49
50
  box-shadow: inset 0 0 0px 2px white;
50
51
  }
52
+
51
53
  </style>