@bagelink/vue 1.15.15 → 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.
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/DragOver.vue.d.ts.map +1 -1
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/FieldSetVue.vue.d.ts.map +1 -1
- package/dist/components/FilterQuery.vue.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
- package/dist/components/Swiper.vue.d.ts.map +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/analytics/BarChart.vue.d.ts.map +1 -1
- package/dist/components/analytics/LineChart.vue.d.ts.map +1 -1
- package/dist/components/analytics/PieChart.vue.d.ts.map +1 -1
- package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
- package/dist/components/calendar/Index.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/AgendaView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/DayView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/MonthView.vue.d.ts.map +1 -1
- package/dist/components/calendar/views/WeekView.vue.d.ts.map +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/MarkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
- package/dist/index.cjs +141 -166
- package/dist/index.mjs +33696 -27776
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/src/components/AccordionItem.vue +32 -28
- package/src/components/Avatar.vue +12 -10
- package/src/components/Badge.vue +15 -13
- package/src/components/BglVideo.vue +13 -11
- package/src/components/Btn.vue +90 -89
- package/src/components/Card.vue +33 -31
- package/src/components/DataPreview.vue +17 -15
- package/src/components/DragOver.vue +2 -0
- package/src/components/Dropdown.vue +38 -36
- package/src/components/FieldSetVue.vue +7 -5
- package/src/components/FilterQuery.vue +28 -24
- package/src/components/Image.vue +7 -5
- package/src/components/JSONSchema.vue +45 -43
- package/src/components/JsonBuilder.vue +10 -8
- package/src/components/ListItem.vue +41 -39
- package/src/components/ListView.vue +3 -1
- package/src/components/MapEmbed/Index.vue +4 -2
- package/src/components/Menu.vue +17 -13
- package/src/components/NavBar.vue +198 -196
- package/src/components/PageTitle.vue +2 -0
- package/src/components/RouterWrapper.vue +3 -1
- package/src/components/Spreadsheet/Index.vue +8 -6
- package/src/components/Spreadsheet/SpreadsheetTable.vue +100 -98
- package/src/components/Swiper.vue +33 -30
- package/src/components/Toast.vue +2 -0
- package/src/components/analytics/BarChart.vue +10 -8
- package/src/components/analytics/LineChart.vue +27 -23
- package/src/components/analytics/PieChart.vue +32 -28
- package/src/components/calendar/CalendarPopover.vue +19 -17
- package/src/components/calendar/Index.vue +6 -4
- package/src/components/calendar/views/AgendaView.vue +19 -17
- package/src/components/calendar/views/DayView.vue +44 -42
- package/src/components/calendar/views/MonthView.vue +85 -83
- package/src/components/calendar/views/WeekView.vue +55 -53
- package/src/components/dataTable/DataTable.vue +140 -139
- package/src/components/form/inputs/ArrayInput.vue +28 -26
- package/src/components/form/inputs/CheckInput.vue +32 -30
- package/src/components/form/inputs/Checkbox.vue +4 -2
- package/src/components/form/inputs/CodeEditor/Index.vue +49 -45
- package/src/components/form/inputs/ColorInput.vue +37 -35
- package/src/components/form/inputs/DateInput.vue +3 -1
- package/src/components/form/inputs/DatePicker.vue +42 -40
- package/src/components/form/inputs/EmailInput.vue +67 -63
- package/src/components/form/inputs/JSONInput.vue +4 -2
- package/src/components/form/inputs/MarkdownEditor.vue +3 -1
- package/src/components/form/inputs/NumberInput.vue +53 -51
- package/src/components/form/inputs/OTP.vue +45 -43
- package/src/components/form/inputs/PasswordInput.vue +11 -9
- package/src/components/form/inputs/RadioGroup.vue +19 -18
- package/src/components/form/inputs/RangeInput.vue +23 -21
- package/src/components/form/inputs/RichText/components/EditorToolbar.vue +14 -12
- package/src/components/form/inputs/RichText/components/gridBox.vue +10 -8
- package/src/components/form/inputs/RichText/index.vue +218 -212
- package/src/components/form/inputs/SelectBtn.vue +3 -1
- package/src/components/form/inputs/SelectInput.vue +61 -57
- package/src/components/form/inputs/SignaturePad.vue +19 -17
- package/src/components/form/inputs/TableField.vue +71 -67
- package/src/components/form/inputs/TelInput.vue +84 -82
- package/src/components/form/inputs/TextInput.vue +38 -34
- package/src/components/form/inputs/ToggleInput.vue +31 -29
- package/src/components/layout/AppContent.vue +21 -17
- package/src/components/layout/AppLayout.vue +25 -23
- package/src/components/layout/AppSidebar.vue +71 -72
- package/src/components/layout/BottomMenu.vue +7 -3
- package/src/components/layout/Resizable.vue +8 -6
- package/src/components/layout/SidebarMenu.vue +16 -12
- package/src/components/layout/Skeleton.vue +17 -15
- package/src/components/layout/TabbedLayout.vue +6 -5
- package/src/components/layout/TabsNav.vue +112 -108
- package/src/components/lightbox/Lightbox.vue +147 -145
- package/src/dialog/Dialog.vue +142 -140
- package/src/form-flow/MultiStepForm.vue +88 -86
- package/src/styles/appearance.css +115 -115
- package/src/styles/bagel.css +30 -31
- package/src/styles/layout.css +977 -971
- package/src/styles/mobilLayout.css +754 -754
- package/src/styles/text.css +630 -630
- package/vite.config.ts +0 -31
|
@@ -290,46 +290,47 @@ onMounted(initializeCountry)
|
|
|
290
290
|
</template>
|
|
291
291
|
|
|
292
292
|
<style scoped>
|
|
293
|
+
|
|
293
294
|
.tel-input {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
295
|
+
direction: ltr;
|
|
296
|
+
text-align: left;
|
|
297
|
+
background: var(--bgl-input-bg);
|
|
298
|
+
border: none;
|
|
299
|
+
padding-inline-start: 0.7rem;
|
|
300
|
+
border-radius: var(--bgl-input-border-radius);
|
|
301
|
+
color: var(--bgl-input-color);
|
|
302
|
+
min-width: calc(var(--bgl-input-height) * 3);
|
|
303
|
+
width: 100%;
|
|
304
|
+
display: flex;
|
|
305
|
+
align-items: center;
|
|
305
306
|
}
|
|
306
307
|
|
|
307
308
|
.tel-input:focus-within {
|
|
308
|
-
|
|
309
|
-
|
|
309
|
+
outline: none;
|
|
310
|
+
box-shadow: inset 0 0 10px #00000012;
|
|
310
311
|
}
|
|
311
312
|
|
|
312
313
|
/* In frame mode, remove the solid background from .tel-input wrapper */
|
|
313
314
|
.bagel-input.frame .tel-input {
|
|
314
|
-
|
|
315
|
+
background: transparent !important;
|
|
315
316
|
}
|
|
316
317
|
|
|
317
318
|
/* frame variant: outline on the tel-input wrapper */
|
|
318
319
|
.bagel-input.frame .tel-input {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
outline: 1.5px solid var(--bgl-border-color);
|
|
321
|
+
outline-offset: -1px;
|
|
322
|
+
transition: outline-color 0.2s ease, box-shadow 0.2s ease;
|
|
322
323
|
}
|
|
323
324
|
|
|
324
325
|
.bagel-input.frame .tel-input:focus-within {
|
|
325
|
-
|
|
326
|
-
|
|
326
|
+
outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
|
|
327
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent) !important;
|
|
327
328
|
}
|
|
328
329
|
|
|
329
330
|
/* bgl-outline variant: outline on the tel-input wrapper */
|
|
330
331
|
.bagel-input.bgl-outline .tel-input {
|
|
331
|
-
|
|
332
|
-
|
|
332
|
+
outline: 1.5px solid var(--bgl-border-color);
|
|
333
|
+
outline-offset: -1px;
|
|
333
334
|
}
|
|
334
335
|
|
|
335
336
|
/* Prevent the global frame/outline rules from hitting the inner inputs */
|
|
@@ -337,130 +338,131 @@ onMounted(initializeCountry)
|
|
|
337
338
|
.bagel-input.bgl-outline .tel-input input,
|
|
338
339
|
.bagel-input.frame .tel-input input:focus,
|
|
339
340
|
.bagel-input.frame .tel-input input:focus-visible {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
outline: none !important;
|
|
342
|
+
box-shadow: none !important;
|
|
343
|
+
background: transparent;
|
|
343
344
|
}
|
|
344
345
|
|
|
345
346
|
.tel-input input {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
background: transparent;
|
|
348
|
+
text-align: left;
|
|
349
|
+
flex: 1;
|
|
349
350
|
}
|
|
350
351
|
|
|
351
352
|
.tel-input input:focus,
|
|
352
353
|
.tel-input input:focus-visible {
|
|
353
|
-
|
|
354
|
-
|
|
354
|
+
outline: none !important;
|
|
355
|
+
box-shadow: none !important;
|
|
355
356
|
}
|
|
356
357
|
|
|
357
358
|
.country-code-display {
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
align-items: center;
|
|
360
|
+
white-space: nowrap;
|
|
360
361
|
}
|
|
361
362
|
|
|
362
363
|
.dial-code {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
font-size: var(--bgl-input-font-size);
|
|
365
|
+
color: var(--bgl-input-color);
|
|
366
|
+
opacity: 0.6;
|
|
366
367
|
}
|
|
367
368
|
|
|
368
369
|
.tel-country {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
370
|
+
font-size: var(--bgl-input-font-size);
|
|
371
|
+
max-width: 200px;
|
|
372
|
+
white-space: nowrap;
|
|
373
|
+
text-overflow: ellipsis;
|
|
374
|
+
overflow: hidden;
|
|
375
|
+
margin-top: 0;
|
|
376
|
+
margin-bottom: 0;
|
|
376
377
|
}
|
|
377
378
|
|
|
378
379
|
.tel-countryp-dropdown {
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
direction: ltr;
|
|
381
|
+
text-align: left;
|
|
381
382
|
}
|
|
382
383
|
|
|
383
384
|
.national-number-input {
|
|
384
|
-
|
|
385
|
+
margin-left: 4px;
|
|
385
386
|
}
|
|
386
387
|
|
|
387
388
|
.national-number-input:focus,
|
|
388
389
|
.national-number-input:focus-visible {
|
|
389
|
-
|
|
390
|
-
|
|
390
|
+
outline: none !important;
|
|
391
|
+
box-shadow: none !important;
|
|
391
392
|
}
|
|
392
393
|
|
|
393
394
|
.country-changed {
|
|
394
|
-
|
|
395
|
+
animation: highlight-country 1.5s ease-in-out;
|
|
395
396
|
}
|
|
396
397
|
|
|
397
398
|
.invalid input {
|
|
398
|
-
|
|
399
|
+
border-color: var(--error-color, red);
|
|
399
400
|
}
|
|
400
401
|
|
|
401
402
|
.bagel-input.has-error .tel-input {
|
|
402
|
-
|
|
403
|
+
border: 1px solid var(--bgl-red) !important;
|
|
403
404
|
}
|
|
404
405
|
.bagel-input.has-error .tel-input {
|
|
405
|
-
|
|
406
|
+
--bgl-border-color: var(--bgl-red) !important;
|
|
406
407
|
}
|
|
407
408
|
|
|
408
409
|
@keyframes highlight-country {
|
|
409
410
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
411
|
+
0%,
|
|
412
|
+
100% {
|
|
413
|
+
background-color: transparent;
|
|
414
|
+
}
|
|
414
415
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
416
|
+
30% {
|
|
417
|
+
background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
|
|
418
|
+
}
|
|
418
419
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
70% {
|
|
421
|
+
background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
|
|
422
|
+
}
|
|
422
423
|
}
|
|
423
424
|
/* Underlined mode styling */
|
|
424
425
|
.bagel-input.underlined {
|
|
425
|
-
|
|
426
|
+
padding-top: 1.1rem;
|
|
426
427
|
}
|
|
427
428
|
|
|
428
429
|
/* In underlined mode, always show label at top */
|
|
429
430
|
.bagel-input.underlined .label-text {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
431
|
+
position: absolute;
|
|
432
|
+
top: -0.65rem;
|
|
433
|
+
inset-inline-start: 0.25rem;
|
|
434
|
+
font-size: 0.65rem;
|
|
435
|
+
color: var(--bgl-text-color, #555);
|
|
436
|
+
opacity: 0.8;
|
|
437
|
+
line-height: 1;
|
|
438
|
+
z-index: 1;
|
|
438
439
|
}
|
|
439
440
|
|
|
440
441
|
/* When focused in underlined mode, make label primary color */
|
|
441
442
|
.bagel-input.underlined:focus-within .label-text {
|
|
442
|
-
|
|
443
|
-
|
|
443
|
+
color: var(--bgl-input-label-active-color, var(--bgl-primary));
|
|
444
|
+
opacity: 1;
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
.bagel-input.underlined .tel-input {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
448
|
+
outline: none !important;
|
|
449
|
+
box-shadow: none !important;
|
|
450
|
+
background: transparent !important;
|
|
451
|
+
border-radius: 0 !important;
|
|
452
|
+
border: none !important;
|
|
453
|
+
border-bottom: 1.5px solid var(--bgl-border-color) !important;
|
|
454
|
+
padding-inline: 0.25rem !important;
|
|
454
455
|
}
|
|
455
456
|
|
|
456
457
|
.bagel-input.underlined .tel-input:focus-within {
|
|
457
|
-
|
|
458
|
-
|
|
458
|
+
outline: none !important;
|
|
459
|
+
box-shadow: none !important;
|
|
459
460
|
}
|
|
460
461
|
|
|
461
462
|
/* Remove border from internal input to avoid double border */
|
|
462
463
|
.bagel-input.underlined .tel-input input {
|
|
463
|
-
|
|
464
|
-
|
|
464
|
+
border: none !important;
|
|
465
|
+
border-bottom: none !important;
|
|
465
466
|
}
|
|
467
|
+
|
|
466
468
|
</style>
|
|
@@ -186,92 +186,96 @@ onMounted(async () => {
|
|
|
186
186
|
</template>
|
|
187
187
|
|
|
188
188
|
<style>
|
|
189
|
+
|
|
189
190
|
.bagel-input.shrink,
|
|
190
191
|
.bagel-input.shrink input {
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
min-width: unset !important;
|
|
193
|
+
/* width: auto; */
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
.bagel-input label {
|
|
196
|
-
|
|
197
|
+
font-size: var(--bgl-label-font-size);
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
/* multiline textarea: reset gradient, use full border */
|
|
200
201
|
.bagel-input.underlined.text-input textarea {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
background: transparent !important;
|
|
203
|
+
background-image: none !important;
|
|
204
|
+
background-size: unset !important;
|
|
204
205
|
}
|
|
206
|
+
|
|
205
207
|
</style>
|
|
206
208
|
|
|
207
209
|
<style scoped>
|
|
210
|
+
|
|
208
211
|
.bagel-input textarea {
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
min-height: unset;
|
|
213
|
+
font-size: var(--bgl-input-font-size);
|
|
211
214
|
}
|
|
212
215
|
|
|
213
216
|
.bagel-input.text-input textarea {
|
|
214
|
-
|
|
217
|
+
resize: none;
|
|
215
218
|
}
|
|
216
219
|
|
|
217
220
|
.code textarea {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
font-family: 'Inconsolata', monospace;
|
|
222
|
+
background: var(--bgl-code-bg) !important;
|
|
223
|
+
color: var(--bgl-light-text) !important;
|
|
221
224
|
}
|
|
222
225
|
|
|
223
226
|
.code textarea::placeholder {
|
|
224
|
-
|
|
225
|
-
|
|
227
|
+
color: var(--bgl-light-text) !important;
|
|
228
|
+
opacity: 0.3;
|
|
226
229
|
}
|
|
227
230
|
|
|
228
231
|
.bagel-input.small {
|
|
229
|
-
|
|
230
|
-
|
|
232
|
+
margin-bottom: 0;
|
|
233
|
+
height: 30px;
|
|
231
234
|
}
|
|
232
235
|
|
|
233
236
|
.bagel-input.dense label {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
+
display: flex;
|
|
238
|
+
align-items: center;
|
|
239
|
+
gap: 0.5rem;
|
|
237
240
|
}
|
|
238
241
|
|
|
239
242
|
.bagel-input input:disabled {
|
|
240
|
-
|
|
243
|
+
background: #f5f5f5;
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
.textInputIconWrap .bgl_icon-font {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
color: var(--bgl-input-color);
|
|
248
|
+
position: absolute;
|
|
249
|
+
inset-inline-end: calc(var(--bgl-input-height) / 3 - 0.25rem);
|
|
250
|
+
margin-top: calc(var(--bgl-input-height) / 2 + 0.1rem);
|
|
251
|
+
line-height: 0;
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
.textInputIconWrap input,
|
|
252
255
|
.textInputIconWrap textarea {
|
|
253
|
-
|
|
256
|
+
padding-inline-end: calc(var(--bgl-input-height) / 3 + 1.5rem);
|
|
254
257
|
}
|
|
255
258
|
|
|
256
259
|
.txtInputIconStart .iconStart {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
color: var(--bgl-input-color);
|
|
261
|
+
position: absolute;
|
|
262
|
+
inset-inline-start: calc(var(--bgl-input-height) / 3 - 0.25rem);
|
|
263
|
+
margin-top: calc(var(--bgl-input-height) / 2);
|
|
264
|
+
line-height: 0;
|
|
262
265
|
}
|
|
263
266
|
|
|
264
267
|
.txtInputIconStart input,
|
|
265
268
|
.txtInputIconStart textarea {
|
|
266
|
-
|
|
269
|
+
padding-inline-start: calc(var(--bgl-input-height) / 3 + 1.5rem);
|
|
267
270
|
}
|
|
268
271
|
|
|
269
272
|
.bagel-input.small textarea {
|
|
270
|
-
|
|
273
|
+
height: 30px;
|
|
271
274
|
}
|
|
272
275
|
|
|
273
276
|
.bagel-input.has-error input,
|
|
274
277
|
.bagel-input.has-error textarea {
|
|
275
|
-
|
|
278
|
+
border-color: var(--bgl-red) !important;
|
|
276
279
|
}
|
|
280
|
+
|
|
277
281
|
</style>
|
|
@@ -51,29 +51,30 @@ onMounted(() => {
|
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<style scoped>
|
|
54
|
+
|
|
54
55
|
.bagel-input.bgl-toggle{
|
|
55
|
-
|
|
56
|
+
display: unset !important;
|
|
56
57
|
}
|
|
57
58
|
.bagel-input.bgl-toggle *{
|
|
58
59
|
cursor: pointer !important;
|
|
59
60
|
}
|
|
60
61
|
.bagel-input.bgl-toggle input{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
padding: unset !important;
|
|
63
|
+
min-width: unset !important;
|
|
64
|
+
margin: 0 !important;
|
|
64
65
|
}
|
|
65
66
|
.bgl-toggle input {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
appearance: none;
|
|
68
|
+
position: relative;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
background: var(--bgl-input-bg);
|
|
71
|
+
height: calc(var(--bgl-input-height) / 2);
|
|
72
|
+
width: calc(var(--bgl-input-height) - 2px);
|
|
73
|
+
vertical-align: middle;
|
|
74
|
+
border-radius: 2rem;
|
|
75
|
+
box-shadow: 0px 1px 3px #0003 inset;
|
|
76
|
+
transition: 0.25s linear all;
|
|
77
|
+
outline: 1px solid var(--bgl-border-color);
|
|
77
78
|
|
|
78
79
|
}
|
|
79
80
|
.bgl-toggle input::before {
|
|
@@ -109,15 +110,15 @@ onMounted(() => {
|
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
.bgl-toggle input:focus-visible {
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
outline: -webkit-focus-ring-color auto 1px;
|
|
114
|
+
outline-offset: 2px
|
|
114
115
|
}
|
|
115
116
|
.bgl-toggle input:focus {
|
|
116
|
-
|
|
117
|
+
outline-color: transparent;
|
|
117
118
|
}
|
|
118
119
|
.bgl-toggle input:focus-visible {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
outline: -webkit-focus-ring-color auto 1px;
|
|
121
|
+
outline-offset: 2px
|
|
121
122
|
}
|
|
122
123
|
.bgl-toggle :checked{
|
|
123
124
|
background: var(--bgl-input-label-active-color, var(--bgl-primary));
|
|
@@ -126,25 +127,26 @@ onMounted(() => {
|
|
|
126
127
|
margin-inline-start:calc(var(--bgl-input-height) / 2 - 2px) ;
|
|
127
128
|
}
|
|
128
129
|
.bgl-toggle input:checked + label {
|
|
129
|
-
|
|
130
|
+
color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
/* ── bgl-outline variant ── */
|
|
133
134
|
.bgl-outline input {
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
outline: 1.5px solid var(--bgl-border-color) !important;
|
|
136
|
+
outline-offset: 2px;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
/* ── frame variant ── */
|
|
139
140
|
.frame input {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
outline: 1.5px solid var(--bgl-border-color) !important;
|
|
142
|
+
outline-offset: 2px;
|
|
143
|
+
transition: outline-color 0.2s ease, box-shadow 0.2s ease;
|
|
144
|
+
background: transparent;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
.frame input:checked {
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
|
|
149
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent);
|
|
149
150
|
}
|
|
151
|
+
|
|
150
152
|
</style>
|
|
@@ -73,53 +73,57 @@ const { isOpen, toggleMenu, sidebarCardStyle } = useAppLayout()
|
|
|
73
73
|
</template>
|
|
74
74
|
|
|
75
75
|
<style>
|
|
76
|
+
|
|
76
77
|
.slide-fade-enter-from:has(.app-header),
|
|
77
78
|
.slide-fade-leave-to:has(.app-header) {
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
transform: translateX(0) !important;
|
|
80
|
+
opacity: 1 !important;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
.slide-fade-enter-from:has(.app-header) .pageContent,
|
|
83
84
|
.slide-fade-leave-to:has(.app-header) .pageContent {
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
transform: translateX(-20px) !important;
|
|
86
|
+
opacity: 0 !important;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
.slide-fade-enter-active:has(.app-header) .pageContent,
|
|
89
90
|
.slide-fade-leave-active:has(.app-header) .pageContent {
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
transition: all 0.15s ease-in;
|
|
92
|
+
overflow: hidden;
|
|
92
93
|
}
|
|
93
94
|
body:has(.cardWrapSide) .pageContent,
|
|
94
95
|
body:has(.cardWrapSide) .app-header {
|
|
95
|
-
|
|
96
|
+
padding-inline: 0 !important;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
@media screen and (max-width: 910px) {
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
101
|
+
body:has(.cardWrapSide) .pageContent,
|
|
102
|
+
body:has(.cardWrapSide) .app-header {
|
|
103
|
+
padding-inline: 0.5rem !important;
|
|
104
104
|
}
|
|
105
|
+
}
|
|
106
|
+
|
|
105
107
|
</style>
|
|
106
108
|
|
|
107
109
|
<style scoped>
|
|
110
|
+
|
|
108
111
|
.app-content {
|
|
109
|
-
|
|
112
|
+
height: 100vh;
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
.app-header {
|
|
113
|
-
|
|
116
|
+
flex-shrink: 0;
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
main {
|
|
117
|
-
|
|
120
|
+
min-height: 0;
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
@media screen and (max-width: 910px) {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
+
.app-header {
|
|
125
|
+
padding-inline: 0.5rem;
|
|
124
126
|
}
|
|
127
|
+
}
|
|
128
|
+
|
|
125
129
|
</style>
|
|
@@ -130,44 +130,46 @@ onUnmounted(() => {
|
|
|
130
130
|
</template>
|
|
131
131
|
|
|
132
132
|
<style scoped>
|
|
133
|
+
|
|
133
134
|
.app-layout {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
display: flex;
|
|
136
|
+
height: 100vh;
|
|
137
|
+
overflow: hidden;
|
|
137
138
|
}
|
|
138
139
|
.app-layout:has(.cardWrapSide) {
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
padding-inline-start: 0.5rem;
|
|
141
|
+
padding-inline-end: 1rem;
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
.app-layout:has(.sidebar-collapsed .cardWrapSide) {
|
|
144
|
-
|
|
145
|
+
padding-inline-start: 1.5rem;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
/* Overlay for mobile */
|
|
148
149
|
.overlay {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
position: fixed;
|
|
151
|
+
inset: 0;
|
|
152
|
+
background: rgba(0, 0, 0, 0.5);
|
|
153
|
+
z-index: 40;
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
/* Main Content */
|
|
156
157
|
.main-content {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
flex: 1;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
transition: margin-inline-start 400ms ease;
|
|
161
|
+
min-height: 100vh
|
|
162
|
+
}
|
|
162
163
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
.page-content {
|
|
165
|
+
overflow: auto;
|
|
166
|
+
}
|
|
166
167
|
@media screen and (max-width: 910px) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}
|
|
168
|
+
.app-layout:has(.cardWrapSide),
|
|
169
|
+
.app-layout:has(.sidebar-collapsed .cardWrapSide) {
|
|
170
|
+
padding-inline-start: 0rem;
|
|
171
|
+
padding-inline-end: 0rem;
|
|
172
172
|
}
|
|
173
|
+
}
|
|
174
|
+
|
|
173
175
|
</style>
|