@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
|
@@ -70,33 +70,35 @@ const { renderField } = useSchemaField<T>({
|
|
|
70
70
|
</template>
|
|
71
71
|
|
|
72
72
|
<style scoped>
|
|
73
|
+
|
|
73
74
|
.data-preview {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
gap: 0.5rem;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
.preview-field {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
align-items: center;
|
|
84
|
+
gap: 0.5rem;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
.field-label {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
font-size: 0.8rem;
|
|
89
|
+
color: var(--bgl-black-tint);
|
|
90
|
+
font-weight: 500;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
.field-value {
|
|
93
|
-
|
|
94
|
+
font-size: 0.95rem;
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
.empty-preview {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
font-size: 0.9rem;
|
|
99
|
+
color: var(--bgl-black-tint);
|
|
100
|
+
padding: 1rem 0;
|
|
101
|
+
text-align: center;
|
|
101
102
|
}
|
|
103
|
+
|
|
102
104
|
</style>
|
|
@@ -92,6 +92,7 @@ function handleDrop(e: DragEvent) {
|
|
|
92
92
|
</template>
|
|
93
93
|
|
|
94
94
|
<style scoped>
|
|
95
|
+
|
|
95
96
|
.drag-over-container {
|
|
96
97
|
position: relative;
|
|
97
98
|
}
|
|
@@ -126,4 +127,5 @@ function handleDrop(e: DragEvent) {
|
|
|
126
127
|
opacity: 0.6;
|
|
127
128
|
cursor: not-allowed;
|
|
128
129
|
}
|
|
130
|
+
|
|
129
131
|
</style>
|
|
@@ -298,73 +298,75 @@ defineExpose({ show, hide, shown })
|
|
|
298
298
|
</template>
|
|
299
299
|
|
|
300
300
|
<style>
|
|
301
|
+
|
|
301
302
|
/* Reset browser UA popover styles */
|
|
302
303
|
.bgl-dropdown {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
304
|
+
margin: 0;
|
|
305
|
+
padding: 0;
|
|
306
|
+
border: none;
|
|
307
|
+
background: transparent;
|
|
308
|
+
overflow: visible;
|
|
309
|
+
position: fixed;
|
|
310
|
+
inset: unset;
|
|
311
|
+
top: 0;
|
|
312
|
+
left: 0;
|
|
312
313
|
}
|
|
313
314
|
|
|
314
315
|
/* Mobile full-screen slide-up mode */
|
|
315
316
|
.bgl-dropdown.bgl-dropdown--no-positioning {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
317
|
+
inset: 0;
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 100%;
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: flex-end;
|
|
322
|
+
overflow: hidden;
|
|
322
323
|
}
|
|
323
324
|
|
|
324
325
|
.bgl-dropdown.bgl-dropdown--no-positioning .bgl-dropdown__backdrop {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
position: absolute;
|
|
327
|
+
inset: 0;
|
|
328
|
+
background: rgba(0 0 0 / 90%);
|
|
328
329
|
}
|
|
329
330
|
|
|
330
331
|
.bgl-dropdown.bgl-dropdown--no-positioning .bgl-dropdown__content {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
width: 100%;
|
|
333
|
+
position: relative;
|
|
334
|
+
transform: translateY(0);
|
|
334
335
|
}
|
|
335
336
|
|
|
336
337
|
@starting-style {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
.bgl-dropdown.bgl-dropdown--no-positioning:popover-open .bgl-dropdown__content {
|
|
339
|
+
transform: translateY(100%);
|
|
340
|
+
}
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
.bgl-dropdown.bgl-dropdown--no-positioning .bgl-dropdown__content {
|
|
343
|
-
|
|
344
|
+
transition: transform 0.15s ease-out;
|
|
344
345
|
}
|
|
345
346
|
|
|
346
347
|
/* Hide backdrop in normal mode */
|
|
347
348
|
.bgl-dropdown:not(.bgl-dropdown--no-positioning) .bgl-dropdown__backdrop {
|
|
348
|
-
|
|
349
|
+
display: none;
|
|
349
350
|
}
|
|
350
351
|
|
|
351
352
|
/* Desktop open animation */
|
|
352
353
|
@keyframes bgl-dropdown-enter {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
from {
|
|
355
|
+
opacity: 0;
|
|
356
|
+
transform: translateY(-4px) scaleY(0.95);
|
|
357
|
+
}
|
|
357
358
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
to {
|
|
360
|
+
opacity: 1;
|
|
361
|
+
transform: translateY(0) scaleY(1);
|
|
362
|
+
}
|
|
362
363
|
}
|
|
363
364
|
|
|
364
365
|
.bgl-dropdown:not(.bgl-dropdown--no-positioning):popover-open {
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
animation: bgl-dropdown-enter 0.18s ease 0.04s both;
|
|
367
|
+
transform-origin: top left;
|
|
367
368
|
}
|
|
369
|
+
|
|
368
370
|
</style>
|
|
369
371
|
<!-- prettier-ignore-end -->
|
|
370
372
|
<!-- eslint-enable -->
|
|
@@ -15,9 +15,11 @@ defineProps<{
|
|
|
15
15
|
</template>
|
|
16
16
|
|
|
17
17
|
<style scoped>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
|
|
19
|
+
fieldset {
|
|
20
|
+
border: 1px solid var(--bgl-border-color);
|
|
21
|
+
border-radius: var(--bgl-card-border-radius);
|
|
22
|
+
padding: var(--space-md);
|
|
23
|
+
}
|
|
24
|
+
|
|
23
25
|
</style>
|
|
@@ -512,68 +512,72 @@ function onConnectorChange(id: string, connector: LogicalOperator) {
|
|
|
512
512
|
</template>
|
|
513
513
|
|
|
514
514
|
<style>
|
|
515
|
+
|
|
515
516
|
.and-or-select {
|
|
516
|
-
|
|
517
|
-
|
|
517
|
+
--bgl-input-font-size: 12px !important;
|
|
518
|
+
--input-background-color: transparent !important;
|
|
518
519
|
}
|
|
519
520
|
|
|
520
521
|
.and-or-select .selectinput-btn {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
522
|
+
border: none;
|
|
523
|
+
width: 100%;
|
|
524
|
+
box-shadow: none;
|
|
525
|
+
padding: 0 0.5rem !important;
|
|
526
|
+
font-size: 12px !important;
|
|
527
|
+
width: 100%;
|
|
527
528
|
}
|
|
528
529
|
|
|
529
530
|
.first-filter-row {
|
|
530
|
-
|
|
531
|
-
|
|
531
|
+
grid-template-columns: minmax(calc(140px + 0.25rem), 0.5fr) minmax(170px, 0.75fr) minmax(120px, 0.5fr) auto;
|
|
532
|
+
padding-top: 0 !important;
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
.filter-row {
|
|
535
|
-
|
|
536
|
+
grid-template-columns: 50px minmax(90px, 0.5fr) minmax(170px, 0.75fr) minmax(120px, 0.5fr) auto;
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
/* Transition animations */
|
|
539
540
|
.condition-enter-active,
|
|
540
541
|
.condition-leave-active {
|
|
541
|
-
|
|
542
|
+
transition: all 0.25s ease;
|
|
542
543
|
}
|
|
543
544
|
|
|
544
545
|
.condition-enter-from {
|
|
545
|
-
|
|
546
|
-
|
|
546
|
+
opacity: 0;
|
|
547
|
+
transform: translateX(-10px);
|
|
547
548
|
}
|
|
548
549
|
|
|
549
550
|
.condition-leave-to {
|
|
550
|
-
|
|
551
|
-
|
|
551
|
+
opacity: 0;
|
|
552
|
+
transform: translateX(10px);
|
|
552
553
|
}
|
|
553
554
|
|
|
554
555
|
:dir(rtl) .condition-enter-from {
|
|
555
|
-
|
|
556
|
+
transform: translateX(10px);
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
:dir(rtl) .condition-leave-to {
|
|
559
|
-
|
|
560
|
+
transform: translateX(-10px);
|
|
560
561
|
}
|
|
561
562
|
|
|
562
563
|
@media (max-width: 910px) {
|
|
563
564
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
565
|
+
.filter-row,
|
|
566
|
+
.first-filter-row {
|
|
567
|
+
grid-template-columns: auto;
|
|
568
|
+
}
|
|
568
569
|
}
|
|
570
|
+
|
|
569
571
|
</style>
|
|
570
572
|
|
|
571
573
|
<style>
|
|
574
|
+
|
|
572
575
|
.borderHover * {
|
|
573
|
-
|
|
576
|
+
transition: all 0.2s ease-in-out !important;
|
|
574
577
|
}
|
|
575
578
|
|
|
576
579
|
.borderHover:hover {
|
|
577
|
-
|
|
580
|
+
--bgl-border-color: var(--bgl-primary);
|
|
578
581
|
}
|
|
582
|
+
|
|
579
583
|
</style>
|
package/src/components/Image.vue
CHANGED
|
@@ -139,13 +139,15 @@ watch(() => [props.src, props.pathKey, props.modelValue], loadImage, { immediate
|
|
|
139
139
|
</template>
|
|
140
140
|
|
|
141
141
|
<style scoped>
|
|
142
|
+
|
|
142
143
|
.img-web-kit {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
max-width: 100%;
|
|
145
|
+
vertical-align: middle;
|
|
146
|
+
border: 0;
|
|
147
|
+
width: 100%;
|
|
147
148
|
}
|
|
148
149
|
.error-image {
|
|
149
|
-
|
|
150
|
+
background-color: var(--bgl-skeleton-bg);
|
|
150
151
|
}
|
|
152
|
+
|
|
151
153
|
</style>
|
|
@@ -456,46 +456,47 @@ watch(() => props.modelValue, (newValue) => {
|
|
|
456
456
|
</template>
|
|
457
457
|
|
|
458
458
|
<style>
|
|
459
|
+
|
|
459
460
|
.JSONSchema{
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
461
|
+
--bgl-input-height: 38px;
|
|
462
|
+
--bgl-accent-color: var(--bgl-purple);
|
|
463
|
+
container-type: inline-size;
|
|
464
|
+
container-name: json-schema;
|
|
464
465
|
}
|
|
465
466
|
.jsonCheckbox{
|
|
466
|
-
|
|
467
|
+
--bgl-input-height: 44px;
|
|
467
468
|
}
|
|
468
469
|
.jsonFormat {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
gap: 0.25rem !important;
|
|
471
|
+
display: grid !important;
|
|
472
|
+
grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)) !important;
|
|
472
473
|
}
|
|
473
474
|
.jsonFormat .bgl_btn-flex{
|
|
474
|
-
|
|
475
|
+
flex-direction: column;
|
|
475
476
|
}
|
|
476
477
|
.jsonFormat .bgl_btn{
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
height: auto !important;
|
|
479
|
+
font-size: 9px !important;
|
|
480
|
+
line-height: 0.75 !important;
|
|
481
|
+
border-radius: 0.5rem !important;
|
|
482
|
+
padding: 0.5rem !important;
|
|
483
|
+
background: var(--bgl-purple);
|
|
483
484
|
}
|
|
484
485
|
.jsonFormat .bgl_icon-font{
|
|
485
|
-
|
|
486
|
+
font-size: 1.6rem !important;
|
|
486
487
|
}
|
|
487
488
|
.arrayJsonSchema .txt-18{
|
|
488
|
-
|
|
489
|
+
font-size: 14px !important;
|
|
489
490
|
}
|
|
490
491
|
|
|
491
492
|
@container json-schema (max-width: 400px) {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
.JSONSchema .grid-wrap-3 {
|
|
494
|
+
grid-template-columns: 1fr !important;
|
|
495
|
+
}
|
|
495
496
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
.JSONSchema .grid-span-3 {
|
|
498
|
+
grid-column: 1 !important;
|
|
499
|
+
}
|
|
499
500
|
}
|
|
500
501
|
|
|
501
502
|
/* transtion animations */
|
|
@@ -503,54 +504,55 @@ watch(() => props.modelValue, (newValue) => {
|
|
|
503
504
|
/* Schema transition animations */
|
|
504
505
|
.schema-transition-enter-active,
|
|
505
506
|
.schema-transition-leave-active {
|
|
506
|
-
|
|
507
|
-
|
|
507
|
+
transition: all 0.4s ease;
|
|
508
|
+
position: relative;
|
|
508
509
|
}
|
|
509
510
|
|
|
510
511
|
.schema-transition-enter-from {
|
|
511
|
-
|
|
512
|
-
|
|
512
|
+
opacity: 0;
|
|
513
|
+
transform: translateX(30px);
|
|
513
514
|
}
|
|
514
515
|
|
|
515
516
|
.schema-transition-leave-to {
|
|
516
|
-
|
|
517
|
-
|
|
517
|
+
opacity: 0;
|
|
518
|
+
transform: translateX(-30px);
|
|
518
519
|
}
|
|
519
520
|
|
|
520
521
|
.schema-transition-leave-active {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
position: absolute;
|
|
523
|
+
width: 100%;
|
|
524
|
+
z-index: 0;
|
|
524
525
|
}
|
|
525
526
|
|
|
526
527
|
.schema-transition-enter-active {
|
|
527
|
-
|
|
528
|
+
z-index: 1;
|
|
528
529
|
}
|
|
529
530
|
|
|
530
531
|
/* Number section transition for number/integer switch */
|
|
531
532
|
.number-section-enter-active,
|
|
532
533
|
.number-section-leave-active {
|
|
533
|
-
|
|
534
|
-
|
|
534
|
+
transition: all 0.25s ease;
|
|
535
|
+
position: relative;
|
|
535
536
|
}
|
|
536
537
|
|
|
537
538
|
.number-section-enter-from {
|
|
538
|
-
|
|
539
|
-
|
|
539
|
+
opacity: 0;
|
|
540
|
+
transform: translateX(20px);
|
|
540
541
|
}
|
|
541
542
|
|
|
542
543
|
.number-section-leave-to {
|
|
543
|
-
|
|
544
|
-
|
|
544
|
+
opacity: 0;
|
|
545
|
+
transform: translateX(-20px);
|
|
545
546
|
}
|
|
546
547
|
|
|
547
548
|
.number-section-leave-active {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
549
|
+
position: absolute;
|
|
550
|
+
width: 100%;
|
|
551
|
+
z-index: 0;
|
|
551
552
|
}
|
|
552
553
|
|
|
553
554
|
.number-section-enter-active {
|
|
554
|
-
|
|
555
|
+
z-index: 1;
|
|
555
556
|
}
|
|
557
|
+
|
|
556
558
|
</style>
|
|
@@ -214,19 +214,21 @@ watch(() => props.modelValue, () => {
|
|
|
214
214
|
</template>
|
|
215
215
|
|
|
216
216
|
<style scoped>
|
|
217
|
+
|
|
217
218
|
.json-builder {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
/* Add any custom styles here */
|
|
220
|
+
--bgl-input-height: 27px;
|
|
221
|
+
--bgl-input-font-size: 12px;
|
|
221
222
|
}
|
|
222
223
|
.grid-json-builder-row{
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
grid-template-columns: 2fr 1fr 2fr auto;
|
|
225
|
+
grid-template-columns: 2fr 90px 2fr auto;
|
|
225
226
|
|
|
226
|
-
|
|
227
|
+
gap: 0.5rem;
|
|
227
228
|
}
|
|
228
229
|
.grid-json-builder-row-basic{
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
grid-template-columns: 1fr 1fr auto;
|
|
231
|
+
gap: 0.5rem;
|
|
231
232
|
}
|
|
233
|
+
|
|
232
234
|
</style>
|
|
@@ -100,77 +100,79 @@ const bind = computed(() => {
|
|
|
100
100
|
</template>
|
|
101
101
|
|
|
102
102
|
<style>
|
|
103
|
+
|
|
103
104
|
button.list-item {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
display: flex;
|
|
107
|
+
gap: 0.5rem;
|
|
108
|
+
border: none;
|
|
109
|
+
background-color: unset;
|
|
110
|
+
width: 100%;
|
|
110
111
|
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
.list-item:disabled {
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
opacity: 0.5;
|
|
116
|
+
pointer-events: none;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
.list-item {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
min-height: -webkit-fit-content;
|
|
121
|
+
min-height: -moz-fit-content;
|
|
122
|
+
min-height: fit-content;
|
|
123
|
+
margin: 0rem 0;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
transition: var(--bgl-transition);
|
|
126
|
+
color: var(--bgl-text-color);
|
|
127
|
+
text-decoration: none;
|
|
128
|
+
position: relative;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
.list-item>* {
|
|
131
|
-
|
|
132
|
+
margin-bottom: 0;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
.list-item::after {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
content: '';
|
|
137
|
+
position: absolute;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
border-bottom: 1px solid var(--bgl-border-color);
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
.list-item:last-child::after {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
content: '';
|
|
146
|
+
position: absolute;
|
|
147
|
+
left: 0;
|
|
148
|
+
right: 0;
|
|
149
|
+
bottom: 0;
|
|
150
|
+
border-bottom: none;
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
.list-item:hover,
|
|
153
154
|
.list-item.router-link-exact-active {
|
|
154
|
-
|
|
155
|
+
background-color: var(--bgl-primary-tint);
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.notClickable:hover {
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
background-color: unset;
|
|
160
|
+
cursor: default;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
.list-item:active {
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
-webkit-filter: var(--bgl-hover-filter);
|
|
165
|
+
filter: var(--bgl-hover-filter);
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
.no-border-list.list-item::after {
|
|
168
|
-
|
|
169
|
+
border-bottom: none;
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
@media screen and (max-width: 910px) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
173
|
+
.list-item {
|
|
174
|
+
padding: 0.5rem;
|
|
175
175
|
}
|
|
176
|
+
}
|
|
177
|
+
|
|
176
178
|
</style>
|
|
@@ -119,6 +119,7 @@ onUnmounted(() => {
|
|
|
119
119
|
</template>
|
|
120
120
|
|
|
121
121
|
<style>
|
|
122
|
+
|
|
122
123
|
.leaflet-map {
|
|
123
124
|
height: 100%;
|
|
124
125
|
border-radius: var(--bgl-input-border-radius);
|
|
@@ -178,7 +179,7 @@ onUnmounted(() => {
|
|
|
178
179
|
padding-bottom: 2px;
|
|
179
180
|
}
|
|
180
181
|
.leaflet-bar a:last-child {
|
|
181
|
-
|
|
182
|
+
border-bottom: none !important;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
.leaflet-bar a:hover {
|
|
@@ -190,6 +191,7 @@ onUnmounted(() => {
|
|
|
190
191
|
}
|
|
191
192
|
|
|
192
193
|
.leaflet-marker-icon {
|
|
193
|
-
|
|
194
|
+
cursor: pointer;
|
|
194
195
|
}
|
|
196
|
+
|
|
195
197
|
</style>
|