@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
|
@@ -177,63 +177,64 @@ function selectionEdgeClasses(rowIndex: number, localColIndex: number): Record<s
|
|
|
177
177
|
</template>
|
|
178
178
|
|
|
179
179
|
<style scoped>
|
|
180
|
+
|
|
180
181
|
.row-number{
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
182
|
+
position: sticky;
|
|
183
|
+
inset-inline-start: 0;
|
|
184
|
+
background: var(--bgl-input-bg);
|
|
185
|
+
color: var(--txt-muted, #888);
|
|
186
|
+
z-index: 1;
|
|
186
187
|
}
|
|
187
188
|
.row-number:before{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
content: '';
|
|
190
|
+
position: absolute;
|
|
191
|
+
inset: -1px;
|
|
192
|
+
border: 1px solid var(--bgl-border-color);
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
.stickyTop{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
position: sticky;
|
|
197
|
+
top: 0px;
|
|
198
|
+
z-index: 2;
|
|
198
199
|
|
|
199
200
|
}
|
|
200
201
|
.stickyTop:before{
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
content: '1';
|
|
203
|
+
position: absolute;
|
|
204
|
+
display: block;
|
|
205
|
+
inset: 0;
|
|
206
|
+
border-bottom: 1px solid var(--bgl-border-color);
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
.fixed-columns {
|
|
209
|
-
|
|
210
|
+
border-right: 2px solid var(--bgl-border-color);
|
|
210
211
|
}
|
|
211
212
|
table {
|
|
212
|
-
|
|
213
|
+
border-collapse: collapse;
|
|
213
214
|
}
|
|
214
215
|
th, td {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
padding: 0.1rem 0.5rem;
|
|
217
|
+
min-width: 80px;
|
|
218
|
+
background: var(--bgl-white);
|
|
219
|
+
user-select: none;
|
|
219
220
|
}
|
|
220
221
|
|
|
221
222
|
th {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
223
|
+
background: var(--bgl-input-bg);
|
|
224
|
+
white-space: nowrap;
|
|
225
|
+
position: relative;
|
|
226
|
+
padding: 0.25rem 0.5rem;
|
|
227
|
+
font-weight: 500;
|
|
228
|
+
text-align: start;
|
|
229
|
+
border-bottom: 1px solid var(--bgl-border-color);
|
|
230
|
+
border-inline-start: 1px solid var(--bgl-border-color);
|
|
230
231
|
|
|
231
232
|
}
|
|
232
233
|
th .bgl_icon-font{
|
|
233
|
-
|
|
234
|
+
vertical-align: middle;
|
|
234
235
|
}
|
|
235
236
|
td.selected {
|
|
236
|
-
|
|
237
|
+
background: var(--bgl-primary-light);
|
|
237
238
|
}
|
|
238
239
|
td.sel-top { box-shadow: inset 0 2px 0 var(--bgl-primary); }
|
|
239
240
|
td.sel-bottom { box-shadow: inset 0 -2px 0 var(--bgl-primary); }
|
|
@@ -250,111 +251,112 @@ td.sel-top.sel-bottom.sel-left { box-shadow: inset 2px 2px 0 var(--bgl-prima
|
|
|
250
251
|
td.sel-top.sel-bottom.sel-right { box-shadow: inset -2px 2px 0 var(--bgl-primary), inset -2px -2px 0 var(--bgl-primary); }
|
|
251
252
|
td.sel-top.sel-bottom.sel-left.sel-right { box-shadow: inset 2px 2px 0 var(--bgl-primary), inset -2px -2px 0 var(--bgl-primary), inset -2px 2px 0 var(--bgl-primary), inset 2px -2px 0 var(--bgl-primary); }
|
|
252
253
|
td.locked {
|
|
253
|
-
|
|
254
|
-
|
|
254
|
+
background: var(--bgl-gray-light);
|
|
255
|
+
cursor: default;
|
|
255
256
|
}
|
|
256
257
|
td.locked.selected {
|
|
257
|
-
|
|
258
|
+
background: var(--bgl-primary-light);
|
|
258
259
|
}
|
|
259
260
|
td {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
border: 1px solid var(--bgl-border-color);
|
|
262
|
+
height: 40px;
|
|
263
|
+
vertical-align: middle;
|
|
263
264
|
}
|
|
264
265
|
td:has(img){
|
|
265
|
-
|
|
266
|
+
padding: 0;
|
|
266
267
|
}
|
|
267
268
|
td span{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
269
|
+
display: block;
|
|
270
|
+
display: -webkit-box;
|
|
271
|
+
max-width: 100%;
|
|
272
|
+
-webkit-box-orient: vertical;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
text-overflow: ellipsis;
|
|
275
|
+
-webkit-line-clamp: 1;
|
|
276
|
+
word-break: break-all;
|
|
276
277
|
}
|
|
277
278
|
td.wrap-text {
|
|
278
|
-
|
|
279
|
-
|
|
279
|
+
height: auto;
|
|
280
|
+
min-height: 40px;
|
|
280
281
|
}
|
|
281
282
|
td.wrap-text span {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
white-space: normal;
|
|
284
|
+
-webkit-line-clamp: unset;
|
|
285
|
+
word-break: break-word;
|
|
285
286
|
}
|
|
286
287
|
input {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
288
|
+
width: 100%;
|
|
289
|
+
border: none;
|
|
290
|
+
background: transparent;
|
|
291
|
+
padding: 0;
|
|
292
|
+
margin: 0;
|
|
293
|
+
min-height: 0;
|
|
294
|
+
min-width: 0;
|
|
294
295
|
}
|
|
295
296
|
input:focus {
|
|
296
|
-
|
|
297
|
-
|
|
297
|
+
outline: 2px solid var(--bgl-primary);
|
|
298
|
+
outline-offset: 6px;
|
|
298
299
|
}
|
|
299
300
|
th.sortable {
|
|
300
|
-
|
|
301
|
+
cursor: pointer;
|
|
301
302
|
}
|
|
302
303
|
.row-number-header, .row-number {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
width: fit-content;
|
|
305
|
+
min-width: fit-content !important;
|
|
306
|
+
padding: 0.1rem 0.7rem !important;
|
|
306
307
|
}
|
|
307
308
|
td .bgl-checkbox{
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
margin: 0;
|
|
310
|
+
text-align: center;
|
|
311
|
+
justify-content: center;
|
|
311
312
|
}
|
|
312
313
|
td:has(.bgl-checkbox){
|
|
313
|
-
|
|
314
|
-
|
|
314
|
+
text-align: center;
|
|
315
|
+
background: var(--bgl-input-bg);
|
|
315
316
|
}
|
|
316
317
|
td:has(:checked){
|
|
317
|
-
|
|
318
|
+
background: var(--bgl-primary-light);
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
.spreadsheetCellPlaceHolder{
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
height: 0px;
|
|
323
|
+
overflow: hidden;
|
|
324
|
+
opacity: 0;
|
|
325
|
+
pointer-events: none;
|
|
326
|
+
user-select: none;
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
.th-content {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
position: relative;
|
|
331
|
+
display: flex;
|
|
332
|
+
align-items: center;
|
|
333
|
+
width: 100%;
|
|
334
|
+
height: 100%;
|
|
334
335
|
}
|
|
335
336
|
|
|
336
337
|
.resize-handle {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
338
|
+
position: absolute;
|
|
339
|
+
right: -8px;
|
|
340
|
+
top: 0;
|
|
341
|
+
bottom: 0;
|
|
342
|
+
width: 4px;
|
|
343
|
+
z-index: 100;
|
|
344
|
+
cursor: col-resize;
|
|
345
|
+
background: transparent;
|
|
346
|
+
transition: background 0.2s;
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
.resize-handle:hover {
|
|
349
|
-
|
|
350
|
+
background: var(--bgl-primary);
|
|
350
351
|
}
|
|
351
352
|
|
|
352
353
|
.empty-state {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
354
|
+
text-align: center;
|
|
355
|
+
padding: 2rem 1rem;
|
|
356
|
+
color: var(--txt-muted, #888);
|
|
357
|
+
font-size: 0.875rem;
|
|
358
|
+
background: var(--bgl-white);
|
|
359
|
+
border: 1px solid var(--bgl-border-color);
|
|
359
360
|
}
|
|
361
|
+
|
|
360
362
|
</style>
|
|
@@ -454,62 +454,65 @@ defineExpose({
|
|
|
454
454
|
</template>
|
|
455
455
|
|
|
456
456
|
<style>
|
|
457
|
+
|
|
457
458
|
.swiper {
|
|
458
|
-
|
|
459
|
+
width: 100%;
|
|
459
460
|
}
|
|
460
461
|
|
|
461
462
|
:root {
|
|
462
|
-
|
|
463
|
-
|
|
463
|
+
--swiper-navigation-color: white;
|
|
464
|
+
--swiper-pagination-color: white;
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
.swi-ctrl {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
468
|
+
position: absolute;
|
|
469
|
+
top: 50%;
|
|
470
|
+
transform: translateY(-50%);
|
|
471
|
+
width: 100%;
|
|
472
|
+
z-index: 99;
|
|
473
|
+
display: flex;
|
|
474
|
+
justify-content: space-between;
|
|
475
|
+
padding: 0rem 4rem;
|
|
476
|
+
height: 0;
|
|
477
|
+
pointer-events: none;
|
|
477
478
|
}
|
|
478
479
|
|
|
479
480
|
.swi-ctrl>* {
|
|
480
|
-
|
|
481
|
+
pointer-events: auto;
|
|
481
482
|
}
|
|
482
483
|
|
|
483
484
|
.swi-ctrl img {
|
|
484
|
-
|
|
485
|
+
height: 20px;
|
|
485
486
|
}
|
|
486
487
|
|
|
487
488
|
.swi-wrap {
|
|
488
|
-
|
|
489
|
+
isolation: isolate;
|
|
490
|
+
position: relative;
|
|
489
491
|
}
|
|
490
492
|
|
|
491
493
|
.swi-prev,
|
|
492
494
|
.swi-next {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
495
|
+
background: var(--blue);
|
|
496
|
+
height: 40px;
|
|
497
|
+
width: 40px;
|
|
498
|
+
border-radius: 100%;
|
|
499
|
+
padding: 10px;
|
|
500
|
+
display: flex;
|
|
501
|
+
justify-content: center;
|
|
502
|
+
align-items: center;
|
|
503
|
+
cursor: pointer;
|
|
504
|
+
transition: opacity 0.3s ease;
|
|
503
505
|
}
|
|
504
506
|
|
|
505
507
|
.swi-prev:hover,
|
|
506
508
|
.swi-next:hover {
|
|
507
|
-
|
|
509
|
+
opacity: 0.8;
|
|
508
510
|
}
|
|
509
511
|
|
|
510
512
|
@media screen and (max-width: 910px) {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}
|
|
513
|
+
.swi-ctrl {
|
|
514
|
+
padding: 0rem 0.5rem;
|
|
514
515
|
}
|
|
516
|
+
}
|
|
517
|
+
|
|
515
518
|
</style>
|
package/src/components/Toast.vue
CHANGED
|
@@ -51,6 +51,7 @@ const computedType = computed<ToastType>(() => {
|
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<style>
|
|
54
|
+
|
|
54
55
|
.custom-toast {
|
|
55
56
|
--toast-border-radius: var(--bgl-btn-border-radius);
|
|
56
57
|
--toast-success: var(--bgl-green);
|
|
@@ -147,4 +148,5 @@ const computedType = computed<ToastType>(() => {
|
|
|
147
148
|
.custom-toast__close:hover {
|
|
148
149
|
color: var(--bgl-text-color);
|
|
149
150
|
}
|
|
151
|
+
|
|
150
152
|
</style>
|
|
@@ -238,23 +238,25 @@ function formatTooltip(item: any): string {
|
|
|
238
238
|
</template>
|
|
239
239
|
|
|
240
240
|
<style>
|
|
241
|
+
|
|
241
242
|
.trendTooltip p {
|
|
242
|
-
|
|
243
|
-
|
|
243
|
+
font-weight: 300 !important;
|
|
244
|
+
font-size: 12px;
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
.trendTooltip {
|
|
247
|
-
|
|
248
|
+
font-weight: 700 !important;
|
|
248
249
|
}
|
|
249
250
|
|
|
250
251
|
.v-popper--theme-tooltip .v-popper__inner:has(.trendTooltip) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
background-color: var(--bgl-black) !important;
|
|
253
|
+
color: var(--bgl-white) !important;
|
|
254
|
+
border-radius: 0.5rem !important;
|
|
255
|
+
padding: 0.25rem 0.5rem !important;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
.bar {
|
|
258
|
-
|
|
259
|
+
min-width: 2rem;
|
|
259
260
|
}
|
|
261
|
+
|
|
260
262
|
</style>
|
|
@@ -291,63 +291,67 @@ onUnmounted(() => {
|
|
|
291
291
|
</template>
|
|
292
292
|
|
|
293
293
|
<style scoped>
|
|
294
|
+
|
|
294
295
|
.line-chart,
|
|
295
296
|
.chart-container {
|
|
296
|
-
|
|
297
|
+
direction: inherit;
|
|
297
298
|
}
|
|
298
299
|
|
|
299
300
|
.chart-svg {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
transform-origin: center;
|
|
302
|
+
display: block;
|
|
303
|
+
/* Remove any inline spacing */
|
|
303
304
|
}
|
|
304
305
|
|
|
305
306
|
.chart-container {
|
|
306
|
-
|
|
307
|
-
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
/* Prevent any overflow spacing */
|
|
308
309
|
}
|
|
309
310
|
|
|
310
311
|
.grid-label,
|
|
311
312
|
.axis-label {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
fill: var(--bgl-gray) !important;
|
|
314
|
+
;
|
|
315
|
+
font-family: system-ui, -apple-system, sans-serif;
|
|
316
|
+
font-size: 12px;
|
|
317
|
+
margin: 1rem;
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
.axis-label {
|
|
320
|
-
|
|
321
|
+
text-anchor: middle;
|
|
321
322
|
}
|
|
322
323
|
|
|
323
324
|
.data-point {
|
|
324
|
-
|
|
325
|
-
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
transition: r 0.2s ease;
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
.data-point:hover {
|
|
329
|
-
|
|
330
|
+
r: 6;
|
|
330
331
|
}
|
|
331
332
|
|
|
332
333
|
[dir="rtl"] .line-chart {
|
|
333
|
-
|
|
334
|
+
text-align: right;
|
|
334
335
|
}
|
|
336
|
+
|
|
335
337
|
</style>
|
|
336
338
|
|
|
337
339
|
<style>
|
|
340
|
+
|
|
338
341
|
.lineTooltip p {
|
|
339
|
-
|
|
340
|
-
|
|
342
|
+
font-weight: 300 !important;
|
|
343
|
+
font-size: 12px;
|
|
341
344
|
}
|
|
342
345
|
|
|
343
346
|
.lineTooltip {
|
|
344
|
-
|
|
347
|
+
font-weight: 700 !important;
|
|
345
348
|
}
|
|
346
349
|
|
|
347
350
|
.v-popper--theme-tooltip .v-popper__inner:has(.lineTooltip) {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
background-color: var(--bgl-black) !important;
|
|
352
|
+
color: var(--bgl-white) !important;
|
|
353
|
+
border-radius: 0.5rem !important;
|
|
354
|
+
padding: 0.25rem 0.5rem !important;
|
|
352
355
|
}
|
|
356
|
+
|
|
353
357
|
</style>
|
|
@@ -464,77 +464,81 @@ function formatTooltip(segment: any): string {
|
|
|
464
464
|
</template>
|
|
465
465
|
|
|
466
466
|
<style scoped>
|
|
467
|
+
|
|
467
468
|
.pie-segment {
|
|
468
|
-
|
|
469
|
+
transition: opacity 0.3s ease;
|
|
469
470
|
}
|
|
470
471
|
|
|
471
472
|
[dir="rtl"] .chart-container.with-legend {
|
|
472
|
-
|
|
473
|
+
flex-direction: row-reverse;
|
|
473
474
|
}
|
|
474
475
|
|
|
475
476
|
.pie-segment {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
cursor: pointer;
|
|
478
|
+
transition: opacity 0.2s ease;
|
|
479
|
+
animation: fadeIn 0.3s ease-in-out;
|
|
479
480
|
}
|
|
480
481
|
|
|
481
482
|
@keyframes fadeIn {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
from {
|
|
484
|
+
opacity: 0;
|
|
485
|
+
}
|
|
485
486
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
to {
|
|
488
|
+
opacity: 1;
|
|
489
|
+
}
|
|
489
490
|
}
|
|
490
491
|
|
|
491
492
|
.pie-segment:hover {
|
|
492
|
-
|
|
493
|
+
opacity: 0.8;
|
|
493
494
|
}
|
|
494
495
|
|
|
495
496
|
/* RTL support for legend */
|
|
496
497
|
[dir="rtl"] .legend-item {
|
|
497
|
-
|
|
498
|
+
flex-direction: row-reverse;
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
.legend-color {
|
|
501
|
-
|
|
502
|
-
|
|
502
|
+
width: 12px;
|
|
503
|
+
height: 12px;
|
|
503
504
|
}
|
|
504
505
|
|
|
505
506
|
.connector-lines polyline {
|
|
506
|
-
|
|
507
|
+
opacity: 0.8;
|
|
507
508
|
}
|
|
508
509
|
|
|
509
510
|
.chart-container.with-connectors {
|
|
510
|
-
|
|
511
|
-
|
|
511
|
+
overflow: visible;
|
|
512
|
+
padding: 10px;
|
|
512
513
|
}
|
|
513
514
|
|
|
514
515
|
.chart-container.with-connectors .chart-svg {
|
|
515
|
-
|
|
516
|
+
overflow: visible;
|
|
516
517
|
}
|
|
517
518
|
|
|
518
519
|
.chart-svg {
|
|
519
|
-
|
|
520
|
-
|
|
520
|
+
max-width: 100%;
|
|
521
|
+
max-height: 100%;
|
|
521
522
|
}
|
|
522
523
|
|
|
523
524
|
.chart-container {
|
|
524
|
-
|
|
525
|
-
|
|
525
|
+
min-height: 0;
|
|
526
|
+
align-items: center;
|
|
526
527
|
}
|
|
527
528
|
|
|
528
529
|
.chart-container.flex-grow {
|
|
529
|
-
|
|
530
|
+
flex: 1;
|
|
530
531
|
}
|
|
532
|
+
|
|
531
533
|
</style>
|
|
532
534
|
|
|
533
535
|
<style>
|
|
536
|
+
|
|
534
537
|
.v-popper--theme-tooltip .v-popper__inner:has(.pieTooltip) {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
538
|
+
background-color: var(--bgl-black) !important;
|
|
539
|
+
color: var(--bgl-white) !important;
|
|
540
|
+
border-radius: 0.5rem !important;
|
|
541
|
+
padding: 0.25rem 0.5rem !important;
|
|
539
542
|
}
|
|
543
|
+
|
|
540
544
|
</style>
|
|
@@ -72,27 +72,29 @@ function closePopover() {
|
|
|
72
72
|
</template>
|
|
73
73
|
|
|
74
74
|
<style scoped>
|
|
75
|
+
|
|
75
76
|
.custom-popover {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
77
|
+
position: fixed;
|
|
78
|
+
z-index: 1000;
|
|
79
|
+
min-width: 250px;
|
|
80
|
+
max-width: 350px;
|
|
81
|
+
background-color: white;
|
|
82
|
+
border-radius: var(--bgl-btn-border-radius);
|
|
83
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
84
|
+
animation: fadeIn 0.2s ease;
|
|
85
|
+
transform-origin: center left;
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
@keyframes fadeIn {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
from {
|
|
90
|
+
opacity: 0;
|
|
91
|
+
transform: scale(0.95);
|
|
92
|
+
}
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
to {
|
|
95
|
+
opacity: 1;
|
|
96
|
+
transform: scale(1);
|
|
97
|
+
}
|
|
97
98
|
}
|
|
99
|
+
|
|
98
100
|
</style>
|
|
@@ -208,10 +208,12 @@ onMounted(() => {
|
|
|
208
208
|
</template>
|
|
209
209
|
|
|
210
210
|
<style scoped>
|
|
211
|
+
|
|
211
212
|
.calendar {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: column;
|
|
215
|
+
height: 100%;
|
|
216
|
+
width: 100%;
|
|
216
217
|
}
|
|
218
|
+
|
|
217
219
|
</style>
|