@kivacore/ui-pro-shared 0.0.9 → 0.0.11
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/package.json +167 -1
- package/src/.kiva/config.json +27 -0
- package/src/components/avatar-group.tsx +222 -0
- package/src/components/kiva/bulk-update-dialog/bulk-update-dialog.tsx +240 -0
- package/src/components/kiva/bulk-update-dialog/index.tsx +6 -0
- package/src/components/kiva/bulk-update-dialog/types.ts +33 -0
- package/src/components/kiva/calendar/animations.ts +40 -0
- package/src/components/kiva/calendar/calendar-body.tsx +106 -0
- package/src/components/kiva/calendar/calendar-sidebar.tsx +103 -0
- package/src/components/kiva/calendar/calendar.tsx +243 -0
- package/src/components/kiva/calendar/constants.ts +12 -0
- package/src/components/kiva/calendar/contexts/calendar-context.tsx +696 -0
- package/src/components/kiva/calendar/contexts/dnd-context.tsx +173 -0
- package/src/components/kiva/calendar/dialogs/add-edit-event-dialog.tsx +287 -0
- package/src/components/kiva/calendar/dialogs/delete-event-dialog.tsx +73 -0
- package/src/components/kiva/calendar/dialogs/event-details-dialog.tsx +163 -0
- package/src/components/kiva/calendar/dialogs/events-list-dialog.tsx +122 -0
- package/src/components/kiva/calendar/dnd/draggable-event.tsx +66 -0
- package/src/components/kiva/calendar/dnd/droppable-area.tsx +53 -0
- package/src/components/kiva/calendar/dnd/resizable-event.tsx +190 -0
- package/src/components/kiva/calendar/header/calendar-header.tsx +84 -0
- package/src/components/kiva/calendar/header/date-navigator.tsx +188 -0
- package/src/components/kiva/calendar/header/filter.tsx +80 -0
- package/src/components/kiva/calendar/header/today-button.tsx +49 -0
- package/src/components/kiva/calendar/header/user-select.tsx +111 -0
- package/src/components/kiva/calendar/header/view-tabs.tsx +144 -0
- package/src/components/kiva/calendar/helpers.ts +617 -0
- package/src/components/kiva/calendar/hooks/use-disclosure.ts +19 -0
- package/src/components/kiva/calendar/hooks/use-local-storage.ts +40 -0
- package/src/components/kiva/calendar/hooks/use-media-query.ts +25 -0
- package/src/components/kiva/calendar/hooks.ts +5 -0
- package/src/components/kiva/calendar/index.tsx +27 -0
- package/src/components/kiva/calendar/interfaces.ts +35 -0
- package/src/components/kiva/calendar/schemas.ts +20 -0
- package/src/components/kiva/calendar/settings/settings.tsx +116 -0
- package/src/components/kiva/calendar/skeletons/calendar-header-skeleton.tsx +27 -0
- package/src/components/kiva/calendar/skeletons/calendar-skeleton.tsx +19 -0
- package/src/components/kiva/calendar/skeletons/day-view-skeleton.tsx +40 -0
- package/src/components/kiva/calendar/skeletons/month-view-skeleton.tsx +36 -0
- package/src/components/kiva/calendar/skeletons/week-view-skeleton.tsx +48 -0
- package/src/components/kiva/calendar/skeletons/year-view-skeleton.tsx +42 -0
- package/src/components/kiva/calendar/types.ts +25 -0
- package/src/components/kiva/calendar/views/agenda-view/agenda-events.tsx +150 -0
- package/src/components/kiva/calendar/views/month-view/calendar-month-view.tsx +82 -0
- package/src/components/kiva/calendar/views/month-view/day-cell.tsx +218 -0
- package/src/components/kiva/calendar/views/month-view/event-bullet.tsx +46 -0
- package/src/components/kiva/calendar/views/month-view/month-event-badge.tsx +154 -0
- package/src/components/kiva/calendar/views/timeline/calendar-timeline-view.tsx +100 -0
- package/src/components/kiva/calendar/views/timeline/lib/timeline-layout.ts +130 -0
- package/src/components/kiva/calendar/views/timeline/lib/timeline-model.ts +504 -0
- package/src/components/kiva/calendar/views/timeline/timeline-event-bar.tsx +68 -0
- package/src/components/kiva/calendar/views/timeline/timeline-grid-header.tsx +125 -0
- package/src/components/kiva/calendar/views/timeline/timeline-row.tsx +159 -0
- package/src/components/kiva/calendar/views/timeline/timeline-section.tsx +61 -0
- package/src/components/kiva/calendar/views/timeline/use-timeline-sections.ts +278 -0
- package/src/components/kiva/calendar/views/week-and-day-view/calendar-day-view.tsx +277 -0
- package/src/components/kiva/calendar/views/week-and-day-view/calendar-time-line.tsx +47 -0
- package/src/components/kiva/calendar/views/week-and-day-view/calendar-week-view.tsx +229 -0
- package/src/components/kiva/calendar/views/week-and-day-view/day-view-multi-day-events-row.tsx +79 -0
- package/src/components/kiva/calendar/views/week-and-day-view/event-block.tsx +116 -0
- package/src/components/kiva/calendar/views/week-and-day-view/render-grouped-events.tsx +54 -0
- package/src/components/kiva/calendar/views/week-and-day-view/week-view-multi-day-events-row.tsx +159 -0
- package/src/components/kiva/calendar/views/year-view/calendar-year-view.tsx +159 -0
- package/src/components/kiva/data-table-side-filters/components/side-filter-active-chips.tsx +137 -0
- package/src/components/kiva/data-table-side-filters/components/side-filter-clear.tsx +34 -0
- package/src/components/kiva/data-table-side-filters/components/side-filter-search.tsx +67 -0
- package/src/components/kiva/data-table-side-filters/components/side-filter-section.tsx +77 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-async-options.tsx +354 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-boolean.tsx +66 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-checkbox-list.tsx +137 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-date-range.tsx +204 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-numeric-range.tsx +162 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-options-dropdown.tsx +191 -0
- package/src/components/kiva/data-table-side-filters/controllers/side-filter-text.tsx +53 -0
- package/src/components/kiva/data-table-side-filters/core/query-translator.ts +367 -0
- package/src/components/kiva/data-table-side-filters/core/types.ts +81 -0
- package/src/components/kiva/data-table-side-filters/data-table-side-filters.tsx +483 -0
- package/src/components/kiva/data-table-side-filters/hooks/use-data-table-side-filters.tsx +160 -0
- package/src/components/kiva/data-table-side-filters/hooks/use-show-more.tsx +62 -0
- package/src/components/kiva/data-table-side-filters/index.tsx +44 -0
- package/src/components/kiva/data-table-side-filters/lib/render-mode.ts +62 -0
- package/src/components/kiva/date-time-picker.tsx +163 -0
- package/src/components/kiva/editable-record-detail.tsx +809 -0
- package/src/components/kiva/enum-option-editor/enum-option-editor.tsx +891 -0
- package/src/components/kiva/enum-option-editor/index.tsx +26 -0
- package/src/components/kiva/enum-option-editor/kiva-enum-option-editor.tsx +320 -0
- package/src/components/kiva/enum-option-editor/types.ts +90 -0
- package/src/components/kiva/kanban.tsx +1376 -0
- package/src/components/kiva/kiva-data-export-menu.tsx +543 -0
- package/src/components/kiva/map.tsx +1631 -0
- package/src/components/kiva/pivot-calendar/components/group-sidebar.tsx +95 -0
- package/src/components/kiva/pivot-calendar/components/pivot-calendar-toolbar.tsx +113 -0
- package/src/components/kiva/pivot-calendar/components/stats-cell.tsx +126 -0
- package/src/components/kiva/pivot-calendar/helpers.ts +374 -0
- package/src/components/kiva/pivot-calendar/hooks/use-pivot-calendar.ts +222 -0
- package/src/components/kiva/pivot-calendar/index.tsx +32 -0
- package/src/components/kiva/pivot-calendar/pivot-calendar.tsx +107 -0
- package/src/components/kiva/pivot-calendar/types.ts +154 -0
- package/src/components/kiva/pivot-calendar/views/days-of-month-view.tsx +37 -0
- package/src/components/kiva/pivot-calendar/views/days-of-week-view.tsx +37 -0
- package/src/components/kiva/pivot-calendar/views/month-calendar-view.tsx +154 -0
- package/src/components/kiva/pivot-calendar/views/months-of-year-view.tsx +40 -0
- package/src/components/kiva/pivot-calendar/views/pivot-grid-view.tsx +251 -0
- package/src/components/kiva/pivot-filter/index.tsx +9 -0
- package/src/components/kiva/pivot-filter/pivot-filter-item.tsx +159 -0
- package/src/components/kiva/pivot-filter/pivot-filter-settings.tsx +161 -0
- package/src/components/kiva/pivot-filter/pivot-filter.tsx +187 -0
- package/src/components/kiva/pivot-filter/types.ts +82 -0
- package/src/components/kiva/pivot-grid/hooks/use-pivot-grid.ts +683 -0
- package/src/components/kiva/pivot-grid/index.tsx +23 -0
- package/src/components/kiva/pivot-grid/lib/pivot-grid-color-rules.ts +98 -0
- package/src/components/kiva/pivot-grid/lib/pivot-grid-export.ts +265 -0
- package/src/components/kiva/pivot-grid/lib/pivot-grid-model.ts +1110 -0
- package/src/components/kiva/pivot-grid/pivot-grid-demo-data.ts +200 -0
- package/src/components/kiva/pivot-grid/pivot-grid-export-menu.tsx +66 -0
- package/src/components/kiva/pivot-grid/pivot-grid-toolbar.tsx +85 -0
- package/src/components/kiva/pivot-grid/pivot-grid.tsx +601 -0
- package/src/components/kiva/pivot-grid/types.ts +195 -0
- package/src/components/kiva/place-autocomplete.tsx +484 -0
- package/src/components/kiva/record-delete-confirm-dialog/index.tsx +10 -0
- package/src/components/kiva/record-delete-confirm-dialog/record-delete-confirm-dialog.tsx +266 -0
- package/src/components/kiva/record-delete-confirm-dialog/types.ts +25 -0
- package/src/hooks/kiva/_internal/autonumber-setting.ts +112 -0
- package/src/hooks/kiva/_internal/form-layout-to-view.ts +665 -0
- package/src/hooks/kiva/_internal/kiva-hook-utils.ts +143 -0
- package/src/hooks/kiva/_internal/use-computed-field-evaluator.tsx +310 -0
- package/src/hooks/kiva/_internal/use-field-actions-evaluator.tsx +398 -0
- package/src/hooks/kiva/_internal/use-form-actions-evaluator.tsx +363 -0
- package/src/hooks/kiva/_internal/use-form-view-engine.tsx +2200 -0
- package/src/hooks/kiva/_internal/use-kiva-form-view-fields.tsx +190 -0
- package/src/hooks/kiva/_internal/use-kiva-kanban-cards.tsx +311 -0
- package/src/hooks/kiva/use-data-export.tsx +265 -0
- package/src/hooks/kiva/use-kiva-calendar.tsx +992 -0
- package/src/hooks/kiva/use-kiva-data-export.tsx +173 -0
- package/src/hooks/kiva/use-kiva-data-grid.tsx +4750 -0
- package/src/hooks/kiva/use-kiva-data-view-select.tsx +1273 -0
- package/src/hooks/kiva/use-kiva-form-view.tsx +1581 -0
- package/src/hooks/kiva/use-kiva-inventory.tsx +184 -0
- package/src/hooks/kiva/use-kiva-kanban.tsx +1750 -0
- package/src/hooks/kiva/use-kiva-map-view.tsx +2255 -0
- package/src/hooks/kiva/use-kiva-pivot-calendar.tsx +759 -0
- package/src/hooks/kiva/use-kiva-pivot-filter.tsx +1523 -0
- package/src/hooks/kiva/use-kiva-pivot-grid.tsx +543 -0
- package/src/hooks/kiva/use-kiva-tenant.tsx +313 -0
- package/src/hooks/kiva/use-parameter-persistence.ts +191 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kivacore/ui-pro-shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Kiva UI component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
"./components/alert-dialog": "./src/components/alert-dialog.tsx",
|
|
112
112
|
"./components/aspect-ratio": "./src/components/aspect-ratio.tsx",
|
|
113
113
|
"./components/avatar": "./src/components/avatar.tsx",
|
|
114
|
+
"./components/avatar-group": "./src/components/avatar-group.tsx",
|
|
114
115
|
"./components/badge": "./src/components/badge.tsx",
|
|
115
116
|
"./components/breadcrumb": "./src/components/breadcrumb.tsx",
|
|
116
117
|
"./components/button": "./src/components/button.tsx",
|
|
@@ -413,6 +414,68 @@
|
|
|
413
414
|
"./components/kiva/awesome-dialog/hooks/use-local-storage": "./src/components/kiva/awesome-dialog/hooks/use-local-storage.ts",
|
|
414
415
|
"./components/kiva/awesome-dialog/index": "./src/components/kiva/awesome-dialog/index.tsx",
|
|
415
416
|
"./components/kiva/awesome-dialog/types": "./src/components/kiva/awesome-dialog/types.ts",
|
|
417
|
+
"./components/kiva/bulk-update-dialog": "./src/components/kiva/bulk-update-dialog/index.tsx",
|
|
418
|
+
"./components/kiva/bulk-update-dialog/bulk-update-dialog": "./src/components/kiva/bulk-update-dialog/bulk-update-dialog.tsx",
|
|
419
|
+
"./components/kiva/bulk-update-dialog/index": "./src/components/kiva/bulk-update-dialog/index.tsx",
|
|
420
|
+
"./components/kiva/bulk-update-dialog/types": "./src/components/kiva/bulk-update-dialog/types.ts",
|
|
421
|
+
"./components/kiva/calendar": "./src/components/kiva/calendar/index.tsx",
|
|
422
|
+
"./components/kiva/calendar/animations": "./src/components/kiva/calendar/animations.ts",
|
|
423
|
+
"./components/kiva/calendar/calendar": "./src/components/kiva/calendar/calendar.tsx",
|
|
424
|
+
"./components/kiva/calendar/calendar-body": "./src/components/kiva/calendar/calendar-body.tsx",
|
|
425
|
+
"./components/kiva/calendar/calendar-sidebar": "./src/components/kiva/calendar/calendar-sidebar.tsx",
|
|
426
|
+
"./components/kiva/calendar/constants": "./src/components/kiva/calendar/constants.ts",
|
|
427
|
+
"./components/kiva/calendar/contexts/calendar-context": "./src/components/kiva/calendar/contexts/calendar-context.tsx",
|
|
428
|
+
"./components/kiva/calendar/contexts/dnd-context": "./src/components/kiva/calendar/contexts/dnd-context.tsx",
|
|
429
|
+
"./components/kiva/calendar/dialogs/add-edit-event-dialog": "./src/components/kiva/calendar/dialogs/add-edit-event-dialog.tsx",
|
|
430
|
+
"./components/kiva/calendar/dialogs/delete-event-dialog": "./src/components/kiva/calendar/dialogs/delete-event-dialog.tsx",
|
|
431
|
+
"./components/kiva/calendar/dialogs/event-details-dialog": "./src/components/kiva/calendar/dialogs/event-details-dialog.tsx",
|
|
432
|
+
"./components/kiva/calendar/dialogs/events-list-dialog": "./src/components/kiva/calendar/dialogs/events-list-dialog.tsx",
|
|
433
|
+
"./components/kiva/calendar/dnd/draggable-event": "./src/components/kiva/calendar/dnd/draggable-event.tsx",
|
|
434
|
+
"./components/kiva/calendar/dnd/droppable-area": "./src/components/kiva/calendar/dnd/droppable-area.tsx",
|
|
435
|
+
"./components/kiva/calendar/dnd/resizable-event": "./src/components/kiva/calendar/dnd/resizable-event.tsx",
|
|
436
|
+
"./components/kiva/calendar/header/calendar-header": "./src/components/kiva/calendar/header/calendar-header.tsx",
|
|
437
|
+
"./components/kiva/calendar/header/date-navigator": "./src/components/kiva/calendar/header/date-navigator.tsx",
|
|
438
|
+
"./components/kiva/calendar/header/filter": "./src/components/kiva/calendar/header/filter.tsx",
|
|
439
|
+
"./components/kiva/calendar/header/today-button": "./src/components/kiva/calendar/header/today-button.tsx",
|
|
440
|
+
"./components/kiva/calendar/header/user-select": "./src/components/kiva/calendar/header/user-select.tsx",
|
|
441
|
+
"./components/kiva/calendar/header/view-tabs": "./src/components/kiva/calendar/header/view-tabs.tsx",
|
|
442
|
+
"./components/kiva/calendar/helpers": "./src/components/kiva/calendar/helpers.ts",
|
|
443
|
+
"./components/kiva/calendar/hooks": "./src/components/kiva/calendar/hooks.ts",
|
|
444
|
+
"./components/kiva/calendar/hooks/use-disclosure": "./src/components/kiva/calendar/hooks/use-disclosure.ts",
|
|
445
|
+
"./components/kiva/calendar/hooks/use-local-storage": "./src/components/kiva/calendar/hooks/use-local-storage.ts",
|
|
446
|
+
"./components/kiva/calendar/hooks/use-media-query": "./src/components/kiva/calendar/hooks/use-media-query.ts",
|
|
447
|
+
"./components/kiva/calendar/index": "./src/components/kiva/calendar/index.tsx",
|
|
448
|
+
"./components/kiva/calendar/interfaces": "./src/components/kiva/calendar/interfaces.ts",
|
|
449
|
+
"./components/kiva/calendar/schemas": "./src/components/kiva/calendar/schemas.ts",
|
|
450
|
+
"./components/kiva/calendar/settings/settings": "./src/components/kiva/calendar/settings/settings.tsx",
|
|
451
|
+
"./components/kiva/calendar/skeletons/calendar-header-skeleton": "./src/components/kiva/calendar/skeletons/calendar-header-skeleton.tsx",
|
|
452
|
+
"./components/kiva/calendar/skeletons/calendar-skeleton": "./src/components/kiva/calendar/skeletons/calendar-skeleton.tsx",
|
|
453
|
+
"./components/kiva/calendar/skeletons/day-view-skeleton": "./src/components/kiva/calendar/skeletons/day-view-skeleton.tsx",
|
|
454
|
+
"./components/kiva/calendar/skeletons/month-view-skeleton": "./src/components/kiva/calendar/skeletons/month-view-skeleton.tsx",
|
|
455
|
+
"./components/kiva/calendar/skeletons/week-view-skeleton": "./src/components/kiva/calendar/skeletons/week-view-skeleton.tsx",
|
|
456
|
+
"./components/kiva/calendar/skeletons/year-view-skeleton": "./src/components/kiva/calendar/skeletons/year-view-skeleton.tsx",
|
|
457
|
+
"./components/kiva/calendar/types": "./src/components/kiva/calendar/types.ts",
|
|
458
|
+
"./components/kiva/calendar/views/agenda-view/agenda-events": "./src/components/kiva/calendar/views/agenda-view/agenda-events.tsx",
|
|
459
|
+
"./components/kiva/calendar/views/month-view/calendar-month-view": "./src/components/kiva/calendar/views/month-view/calendar-month-view.tsx",
|
|
460
|
+
"./components/kiva/calendar/views/month-view/day-cell": "./src/components/kiva/calendar/views/month-view/day-cell.tsx",
|
|
461
|
+
"./components/kiva/calendar/views/month-view/event-bullet": "./src/components/kiva/calendar/views/month-view/event-bullet.tsx",
|
|
462
|
+
"./components/kiva/calendar/views/month-view/month-event-badge": "./src/components/kiva/calendar/views/month-view/month-event-badge.tsx",
|
|
463
|
+
"./components/kiva/calendar/views/timeline/calendar-timeline-view": "./src/components/kiva/calendar/views/timeline/calendar-timeline-view.tsx",
|
|
464
|
+
"./components/kiva/calendar/views/timeline/lib/timeline-layout": "./src/components/kiva/calendar/views/timeline/lib/timeline-layout.ts",
|
|
465
|
+
"./components/kiva/calendar/views/timeline/lib/timeline-model": "./src/components/kiva/calendar/views/timeline/lib/timeline-model.ts",
|
|
466
|
+
"./components/kiva/calendar/views/timeline/timeline-event-bar": "./src/components/kiva/calendar/views/timeline/timeline-event-bar.tsx",
|
|
467
|
+
"./components/kiva/calendar/views/timeline/timeline-grid-header": "./src/components/kiva/calendar/views/timeline/timeline-grid-header.tsx",
|
|
468
|
+
"./components/kiva/calendar/views/timeline/timeline-row": "./src/components/kiva/calendar/views/timeline/timeline-row.tsx",
|
|
469
|
+
"./components/kiva/calendar/views/timeline/timeline-section": "./src/components/kiva/calendar/views/timeline/timeline-section.tsx",
|
|
470
|
+
"./components/kiva/calendar/views/timeline/use-timeline-sections": "./src/components/kiva/calendar/views/timeline/use-timeline-sections.ts",
|
|
471
|
+
"./components/kiva/calendar/views/week-and-day-view/calendar-day-view": "./src/components/kiva/calendar/views/week-and-day-view/calendar-day-view.tsx",
|
|
472
|
+
"./components/kiva/calendar/views/week-and-day-view/calendar-time-line": "./src/components/kiva/calendar/views/week-and-day-view/calendar-time-line.tsx",
|
|
473
|
+
"./components/kiva/calendar/views/week-and-day-view/calendar-week-view": "./src/components/kiva/calendar/views/week-and-day-view/calendar-week-view.tsx",
|
|
474
|
+
"./components/kiva/calendar/views/week-and-day-view/day-view-multi-day-events-row": "./src/components/kiva/calendar/views/week-and-day-view/day-view-multi-day-events-row.tsx",
|
|
475
|
+
"./components/kiva/calendar/views/week-and-day-view/event-block": "./src/components/kiva/calendar/views/week-and-day-view/event-block.tsx",
|
|
476
|
+
"./components/kiva/calendar/views/week-and-day-view/render-grouped-events": "./src/components/kiva/calendar/views/week-and-day-view/render-grouped-events.tsx",
|
|
477
|
+
"./components/kiva/calendar/views/week-and-day-view/week-view-multi-day-events-row": "./src/components/kiva/calendar/views/week-and-day-view/week-view-multi-day-events-row.tsx",
|
|
478
|
+
"./components/kiva/calendar/views/year-view/calendar-year-view": "./src/components/kiva/calendar/views/year-view/calendar-year-view.tsx",
|
|
416
479
|
"./components/kiva/contact-channels-field": "./src/components/kiva/contact-channels-field/index.tsx",
|
|
417
480
|
"./components/kiva/contact-channels-field/channel-detail": "./src/components/kiva/contact-channels-field/channel-detail.tsx",
|
|
418
481
|
"./components/kiva/contact-channels-field/channel-editor": "./src/components/kiva/contact-channels-field/channel-editor.tsx",
|
|
@@ -509,6 +572,26 @@
|
|
|
509
572
|
"./components/kiva/data-table-filter/lib/i18n": "./src/components/kiva/data-table-filter/lib/i18n.ts",
|
|
510
573
|
"./components/kiva/data-table-filter/lib/memo": "./src/components/kiva/data-table-filter/lib/memo.ts",
|
|
511
574
|
"./components/kiva/data-table-filter/ui/debounced-input": "./src/components/kiva/data-table-filter/ui/debounced-input.tsx",
|
|
575
|
+
"./components/kiva/data-table-side-filters": "./src/components/kiva/data-table-side-filters/index.tsx",
|
|
576
|
+
"./components/kiva/data-table-side-filters/components/side-filter-active-chips": "./src/components/kiva/data-table-side-filters/components/side-filter-active-chips.tsx",
|
|
577
|
+
"./components/kiva/data-table-side-filters/components/side-filter-clear": "./src/components/kiva/data-table-side-filters/components/side-filter-clear.tsx",
|
|
578
|
+
"./components/kiva/data-table-side-filters/components/side-filter-search": "./src/components/kiva/data-table-side-filters/components/side-filter-search.tsx",
|
|
579
|
+
"./components/kiva/data-table-side-filters/components/side-filter-section": "./src/components/kiva/data-table-side-filters/components/side-filter-section.tsx",
|
|
580
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-async-options": "./src/components/kiva/data-table-side-filters/controllers/side-filter-async-options.tsx",
|
|
581
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-boolean": "./src/components/kiva/data-table-side-filters/controllers/side-filter-boolean.tsx",
|
|
582
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-checkbox-list": "./src/components/kiva/data-table-side-filters/controllers/side-filter-checkbox-list.tsx",
|
|
583
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-date-range": "./src/components/kiva/data-table-side-filters/controllers/side-filter-date-range.tsx",
|
|
584
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-numeric-range": "./src/components/kiva/data-table-side-filters/controllers/side-filter-numeric-range.tsx",
|
|
585
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-options-dropdown": "./src/components/kiva/data-table-side-filters/controllers/side-filter-options-dropdown.tsx",
|
|
586
|
+
"./components/kiva/data-table-side-filters/controllers/side-filter-text": "./src/components/kiva/data-table-side-filters/controllers/side-filter-text.tsx",
|
|
587
|
+
"./components/kiva/data-table-side-filters/core/query-translator": "./src/components/kiva/data-table-side-filters/core/query-translator.ts",
|
|
588
|
+
"./components/kiva/data-table-side-filters/core/types": "./src/components/kiva/data-table-side-filters/core/types.ts",
|
|
589
|
+
"./components/kiva/data-table-side-filters/data-table-side-filters": "./src/components/kiva/data-table-side-filters/data-table-side-filters.tsx",
|
|
590
|
+
"./components/kiva/data-table-side-filters/hooks/use-data-table-side-filters": "./src/components/kiva/data-table-side-filters/hooks/use-data-table-side-filters.tsx",
|
|
591
|
+
"./components/kiva/data-table-side-filters/hooks/use-show-more": "./src/components/kiva/data-table-side-filters/hooks/use-show-more.tsx",
|
|
592
|
+
"./components/kiva/data-table-side-filters/index": "./src/components/kiva/data-table-side-filters/index.tsx",
|
|
593
|
+
"./components/kiva/data-table-side-filters/lib/render-mode": "./src/components/kiva/data-table-side-filters/lib/render-mode.ts",
|
|
594
|
+
"./components/kiva/date-time-picker": "./src/components/kiva/date-time-picker.tsx",
|
|
512
595
|
"./components/kiva/dsql-editor": "./src/components/kiva/dsql-editor/index.tsx",
|
|
513
596
|
"./components/kiva/dsql-editor/dsql-code-editor": "./src/components/kiva/dsql-editor/dsql-code-editor.tsx",
|
|
514
597
|
"./components/kiva/dsql-editor/dsql-editor": "./src/components/kiva/dsql-editor/dsql-editor.tsx",
|
|
@@ -525,6 +608,7 @@
|
|
|
525
608
|
"./components/kiva/dsql-editor/use-apply-dsql": "./src/components/kiva/dsql-editor/use-apply-dsql.tsx",
|
|
526
609
|
"./components/kiva/dsql-editor/use-dsql-schema": "./src/components/kiva/dsql-editor/use-dsql-schema.tsx",
|
|
527
610
|
"./components/kiva/duration-select": "./src/components/kiva/duration-select.tsx",
|
|
611
|
+
"./components/kiva/editable-record-detail": "./src/components/kiva/editable-record-detail.tsx",
|
|
528
612
|
"./components/kiva/editable-value": "./src/components/kiva/editable-value.tsx",
|
|
529
613
|
"./components/kiva/editor-agent": "./src/components/kiva/editor-agent/index.tsx",
|
|
530
614
|
"./components/kiva/editor-agent/cody-agent-toggle": "./src/components/kiva/editor-agent/cody-agent-toggle.tsx",
|
|
@@ -545,6 +629,11 @@
|
|
|
545
629
|
"./components/kiva/emoji-picker/index": "./src/components/kiva/emoji-picker/index.tsx",
|
|
546
630
|
"./components/kiva/emoji-picker/lib/emoji-data": "./src/components/kiva/emoji-picker/lib/emoji-data.ts",
|
|
547
631
|
"./components/kiva/emoji-picker/types": "./src/components/kiva/emoji-picker/types.ts",
|
|
632
|
+
"./components/kiva/enum-option-editor": "./src/components/kiva/enum-option-editor/index.tsx",
|
|
633
|
+
"./components/kiva/enum-option-editor/enum-option-editor": "./src/components/kiva/enum-option-editor/enum-option-editor.tsx",
|
|
634
|
+
"./components/kiva/enum-option-editor/index": "./src/components/kiva/enum-option-editor/index.tsx",
|
|
635
|
+
"./components/kiva/enum-option-editor/kiva-enum-option-editor": "./src/components/kiva/enum-option-editor/kiva-enum-option-editor.tsx",
|
|
636
|
+
"./components/kiva/enum-option-editor/types": "./src/components/kiva/enum-option-editor/types.ts",
|
|
548
637
|
"./components/kiva/form-fields": "./src/components/kiva/form-fields/index.tsx",
|
|
549
638
|
"./components/kiva/form-fields/adaptive-card-form-field": "./src/components/kiva/form-fields/adaptive-card-form-field.tsx",
|
|
550
639
|
"./components/kiva/form-fields/approval-status-form-field": "./src/components/kiva/form-fields/approval-status-form-field.tsx",
|
|
@@ -664,6 +753,7 @@
|
|
|
664
753
|
"./components/kiva/jsonata-editor/lib/jsonata-language": "./src/components/kiva/jsonata-editor/lib/jsonata-language.ts",
|
|
665
754
|
"./components/kiva/jsonata-editor/use-apply-jsonata": "./src/components/kiva/jsonata-editor/use-apply-jsonata.tsx",
|
|
666
755
|
"./components/kiva/jsonata-editor/use-jsonata": "./src/components/kiva/jsonata-editor/use-jsonata.ts",
|
|
756
|
+
"./components/kiva/kanban": "./src/components/kiva/kanban.tsx",
|
|
667
757
|
"./components/kiva/kiva-agent": "./src/components/kiva/kiva-agent/index.tsx",
|
|
668
758
|
"./components/kiva/kiva-agent/index": "./src/components/kiva/kiva-agent/index.tsx",
|
|
669
759
|
"./components/kiva/kiva-agent/kiva-agent": "./src/components/kiva/kiva-agent/kiva-agent.tsx",
|
|
@@ -713,6 +803,7 @@
|
|
|
713
803
|
"./components/kiva/kiva-agent/kiva-agent-threads-sidebar": "./src/components/kiva/kiva-agent/kiva-agent-threads-sidebar.tsx",
|
|
714
804
|
"./components/kiva/kiva-agent/kiva-agent-trigger": "./src/components/kiva/kiva-agent/kiva-agent-trigger.tsx",
|
|
715
805
|
"./components/kiva/kiva-agent/types": "./src/components/kiva/kiva-agent/types.ts",
|
|
806
|
+
"./components/kiva/kiva-data-export-menu": "./src/components/kiva/kiva-data-export-menu.tsx",
|
|
716
807
|
"./components/kiva/kiva-icon": "./src/components/kiva/kiva-icon.tsx",
|
|
717
808
|
"./components/kiva/kiva-query-builder": "./src/components/kiva/kiva-query-builder/index.tsx",
|
|
718
809
|
"./components/kiva/kiva-query-builder/constants": "./src/components/kiva/kiva-query-builder/constants.ts",
|
|
@@ -740,6 +831,39 @@
|
|
|
740
831
|
"./components/kiva/kiva-query-builder/lib/utils": "./src/components/kiva/kiva-query-builder/lib/utils.ts",
|
|
741
832
|
"./components/kiva/kiva-query-builder/types": "./src/components/kiva/kiva-query-builder/types.ts",
|
|
742
833
|
"./components/kiva/kiva-query-builder/use-apply-query": "./src/components/kiva/kiva-query-builder/use-apply-query.tsx",
|
|
834
|
+
"./components/kiva/map": "./src/components/kiva/map.tsx",
|
|
835
|
+
"./components/kiva/pivot-calendar": "./src/components/kiva/pivot-calendar/index.tsx",
|
|
836
|
+
"./components/kiva/pivot-calendar/components/group-sidebar": "./src/components/kiva/pivot-calendar/components/group-sidebar.tsx",
|
|
837
|
+
"./components/kiva/pivot-calendar/components/pivot-calendar-toolbar": "./src/components/kiva/pivot-calendar/components/pivot-calendar-toolbar.tsx",
|
|
838
|
+
"./components/kiva/pivot-calendar/components/stats-cell": "./src/components/kiva/pivot-calendar/components/stats-cell.tsx",
|
|
839
|
+
"./components/kiva/pivot-calendar/helpers": "./src/components/kiva/pivot-calendar/helpers.ts",
|
|
840
|
+
"./components/kiva/pivot-calendar/hooks/use-pivot-calendar": "./src/components/kiva/pivot-calendar/hooks/use-pivot-calendar.ts",
|
|
841
|
+
"./components/kiva/pivot-calendar/index": "./src/components/kiva/pivot-calendar/index.tsx",
|
|
842
|
+
"./components/kiva/pivot-calendar/pivot-calendar": "./src/components/kiva/pivot-calendar/pivot-calendar.tsx",
|
|
843
|
+
"./components/kiva/pivot-calendar/types": "./src/components/kiva/pivot-calendar/types.ts",
|
|
844
|
+
"./components/kiva/pivot-calendar/views/days-of-month-view": "./src/components/kiva/pivot-calendar/views/days-of-month-view.tsx",
|
|
845
|
+
"./components/kiva/pivot-calendar/views/days-of-week-view": "./src/components/kiva/pivot-calendar/views/days-of-week-view.tsx",
|
|
846
|
+
"./components/kiva/pivot-calendar/views/month-calendar-view": "./src/components/kiva/pivot-calendar/views/month-calendar-view.tsx",
|
|
847
|
+
"./components/kiva/pivot-calendar/views/months-of-year-view": "./src/components/kiva/pivot-calendar/views/months-of-year-view.tsx",
|
|
848
|
+
"./components/kiva/pivot-calendar/views/pivot-grid-view": "./src/components/kiva/pivot-calendar/views/pivot-grid-view.tsx",
|
|
849
|
+
"./components/kiva/pivot-filter": "./src/components/kiva/pivot-filter/index.tsx",
|
|
850
|
+
"./components/kiva/pivot-filter/index": "./src/components/kiva/pivot-filter/index.tsx",
|
|
851
|
+
"./components/kiva/pivot-filter/pivot-filter": "./src/components/kiva/pivot-filter/pivot-filter.tsx",
|
|
852
|
+
"./components/kiva/pivot-filter/pivot-filter-item": "./src/components/kiva/pivot-filter/pivot-filter-item.tsx",
|
|
853
|
+
"./components/kiva/pivot-filter/pivot-filter-settings": "./src/components/kiva/pivot-filter/pivot-filter-settings.tsx",
|
|
854
|
+
"./components/kiva/pivot-filter/types": "./src/components/kiva/pivot-filter/types.ts",
|
|
855
|
+
"./components/kiva/pivot-grid": "./src/components/kiva/pivot-grid/index.tsx",
|
|
856
|
+
"./components/kiva/pivot-grid/hooks/use-pivot-grid": "./src/components/kiva/pivot-grid/hooks/use-pivot-grid.ts",
|
|
857
|
+
"./components/kiva/pivot-grid/index": "./src/components/kiva/pivot-grid/index.tsx",
|
|
858
|
+
"./components/kiva/pivot-grid/lib/pivot-grid-color-rules": "./src/components/kiva/pivot-grid/lib/pivot-grid-color-rules.ts",
|
|
859
|
+
"./components/kiva/pivot-grid/lib/pivot-grid-export": "./src/components/kiva/pivot-grid/lib/pivot-grid-export.ts",
|
|
860
|
+
"./components/kiva/pivot-grid/lib/pivot-grid-model": "./src/components/kiva/pivot-grid/lib/pivot-grid-model.ts",
|
|
861
|
+
"./components/kiva/pivot-grid/pivot-grid": "./src/components/kiva/pivot-grid/pivot-grid.tsx",
|
|
862
|
+
"./components/kiva/pivot-grid/pivot-grid-demo-data": "./src/components/kiva/pivot-grid/pivot-grid-demo-data.ts",
|
|
863
|
+
"./components/kiva/pivot-grid/pivot-grid-export-menu": "./src/components/kiva/pivot-grid/pivot-grid-export-menu.tsx",
|
|
864
|
+
"./components/kiva/pivot-grid/pivot-grid-toolbar": "./src/components/kiva/pivot-grid/pivot-grid-toolbar.tsx",
|
|
865
|
+
"./components/kiva/pivot-grid/types": "./src/components/kiva/pivot-grid/types.ts",
|
|
866
|
+
"./components/kiva/place-autocomplete": "./src/components/kiva/place-autocomplete.tsx",
|
|
743
867
|
"./components/kiva/query-builder": "./src/components/kiva/query-builder/index.tsx",
|
|
744
868
|
"./components/kiva/query-builder/index": "./src/components/kiva/query-builder/index.tsx",
|
|
745
869
|
"./components/kiva/query-builder/lib/query-to-jsonata": "./src/components/kiva/query-builder/lib/query-to-jsonata.ts",
|
|
@@ -755,6 +879,10 @@
|
|
|
755
879
|
"./components/kiva/query-builder/query-operators": "./src/components/kiva/query-builder/query-operators.ts",
|
|
756
880
|
"./components/kiva/query-builder/use-query-to-jsonata-converter": "./src/components/kiva/query-builder/use-query-to-jsonata-converter.ts",
|
|
757
881
|
"./components/kiva/radio-group": "./src/components/kiva/radio-group.tsx",
|
|
882
|
+
"./components/kiva/record-delete-confirm-dialog": "./src/components/kiva/record-delete-confirm-dialog/index.tsx",
|
|
883
|
+
"./components/kiva/record-delete-confirm-dialog/index": "./src/components/kiva/record-delete-confirm-dialog/index.tsx",
|
|
884
|
+
"./components/kiva/record-delete-confirm-dialog/record-delete-confirm-dialog": "./src/components/kiva/record-delete-confirm-dialog/record-delete-confirm-dialog.tsx",
|
|
885
|
+
"./components/kiva/record-delete-confirm-dialog/types": "./src/components/kiva/record-delete-confirm-dialog/types.ts",
|
|
758
886
|
"./components/kiva/schema-repeater": "./src/components/kiva/schema-repeater.tsx",
|
|
759
887
|
"./components/kiva/simple-markdown-editor": "./src/components/kiva/simple-markdown-editor.tsx",
|
|
760
888
|
"./components/kiva/tree-select": "./src/components/kiva/tree-select.tsx",
|
|
@@ -841,16 +969,39 @@
|
|
|
841
969
|
"./components/tooltip": "./src/components/tooltip.tsx",
|
|
842
970
|
"./components/visually-hidden-input": "./src/components/visually-hidden-input.tsx",
|
|
843
971
|
"./hooks/index": "./src/hooks/index.ts",
|
|
972
|
+
"./hooks/kiva/_internal/autonumber-setting": "./src/hooks/kiva/_internal/autonumber-setting.ts",
|
|
973
|
+
"./hooks/kiva/_internal/form-layout-to-view": "./src/hooks/kiva/_internal/form-layout-to-view.ts",
|
|
974
|
+
"./hooks/kiva/_internal/kiva-hook-utils": "./src/hooks/kiva/_internal/kiva-hook-utils.ts",
|
|
975
|
+
"./hooks/kiva/_internal/use-computed-field-evaluator": "./src/hooks/kiva/_internal/use-computed-field-evaluator.tsx",
|
|
976
|
+
"./hooks/kiva/_internal/use-field-actions-evaluator": "./src/hooks/kiva/_internal/use-field-actions-evaluator.tsx",
|
|
977
|
+
"./hooks/kiva/_internal/use-form-actions-evaluator": "./src/hooks/kiva/_internal/use-form-actions-evaluator.tsx",
|
|
978
|
+
"./hooks/kiva/_internal/use-form-view-engine": "./src/hooks/kiva/_internal/use-form-view-engine.tsx",
|
|
979
|
+
"./hooks/kiva/_internal/use-kiva-form-view-fields": "./src/hooks/kiva/_internal/use-kiva-form-view-fields.tsx",
|
|
980
|
+
"./hooks/kiva/_internal/use-kiva-kanban-cards": "./src/hooks/kiva/_internal/use-kiva-kanban-cards.tsx",
|
|
844
981
|
"./hooks/kiva/use-adaptive-card": "./src/hooks/kiva/use-adaptive-card.tsx",
|
|
982
|
+
"./hooks/kiva/use-data-export": "./src/hooks/kiva/use-data-export.tsx",
|
|
845
983
|
"./hooks/kiva/use-date-format": "./src/hooks/kiva/use-date-format.tsx",
|
|
846
984
|
"./hooks/kiva/use-kiva-agent-attachments": "./src/hooks/kiva/use-kiva-agent-attachments.tsx",
|
|
847
985
|
"./hooks/kiva/use-kiva-agent-info": "./src/hooks/kiva/use-kiva-agent-info.tsx",
|
|
848
986
|
"./hooks/kiva/use-kiva-agent-projects": "./src/hooks/kiva/use-kiva-agent-projects.tsx",
|
|
849
987
|
"./hooks/kiva/use-kiva-agent-threads": "./src/hooks/kiva/use-kiva-agent-threads.tsx",
|
|
988
|
+
"./hooks/kiva/use-kiva-calendar": "./src/hooks/kiva/use-kiva-calendar.tsx",
|
|
989
|
+
"./hooks/kiva/use-kiva-data-export": "./src/hooks/kiva/use-kiva-data-export.tsx",
|
|
990
|
+
"./hooks/kiva/use-kiva-data-grid": "./src/hooks/kiva/use-kiva-data-grid.tsx",
|
|
991
|
+
"./hooks/kiva/use-kiva-data-view-select": "./src/hooks/kiva/use-kiva-data-view-select.tsx",
|
|
850
992
|
"./hooks/kiva/use-kiva-email-composer": "./src/hooks/kiva/use-kiva-email-composer.tsx",
|
|
851
993
|
"./hooks/kiva/use-kiva-field-component": "./src/hooks/kiva/use-kiva-field-component.tsx",
|
|
994
|
+
"./hooks/kiva/use-kiva-form-view": "./src/hooks/kiva/use-kiva-form-view.tsx",
|
|
852
995
|
"./hooks/kiva/use-kiva-instant-message-composer": "./src/hooks/kiva/use-kiva-instant-message-composer.tsx",
|
|
996
|
+
"./hooks/kiva/use-kiva-inventory": "./src/hooks/kiva/use-kiva-inventory.tsx",
|
|
997
|
+
"./hooks/kiva/use-kiva-kanban": "./src/hooks/kiva/use-kiva-kanban.tsx",
|
|
998
|
+
"./hooks/kiva/use-kiva-map-view": "./src/hooks/kiva/use-kiva-map-view.tsx",
|
|
999
|
+
"./hooks/kiva/use-kiva-pivot-calendar": "./src/hooks/kiva/use-kiva-pivot-calendar.tsx",
|
|
1000
|
+
"./hooks/kiva/use-kiva-pivot-filter": "./src/hooks/kiva/use-kiva-pivot-filter.tsx",
|
|
1001
|
+
"./hooks/kiva/use-kiva-pivot-grid": "./src/hooks/kiva/use-kiva-pivot-grid.tsx",
|
|
1002
|
+
"./hooks/kiva/use-kiva-tenant": "./src/hooks/kiva/use-kiva-tenant.tsx",
|
|
853
1003
|
"./hooks/kiva/use-number-format": "./src/hooks/kiva/use-number-format.tsx",
|
|
1004
|
+
"./hooks/kiva/use-parameter-persistence": "./src/hooks/kiva/use-parameter-persistence.ts",
|
|
854
1005
|
"./hooks/kiva/use-speech-recognition": "./src/hooks/kiva/use-speech-recognition.tsx",
|
|
855
1006
|
"./hooks/kiva/use-ui-translation": "./src/hooks/kiva/use-ui-translation.tsx",
|
|
856
1007
|
"./hooks/use-as-ref": "./src/hooks/use-as-ref.ts",
|
|
@@ -901,6 +1052,7 @@
|
|
|
901
1052
|
"@dnd-kit/utilities": "3.2.2",
|
|
902
1053
|
"@emoji-mart/data": "1.2.1",
|
|
903
1054
|
"@faker-js/faker": "^10.6.0",
|
|
1055
|
+
"@hookform/resolvers": "^5.9.2",
|
|
904
1056
|
"@lezer/highlight": "^1.2.5",
|
|
905
1057
|
"@monaco-editor/react": "^4.7.0",
|
|
906
1058
|
"@platejs/ai": "^53.5.3",
|
|
@@ -935,6 +1087,7 @@
|
|
|
935
1087
|
"@platejs/toggle": "^53.0.0",
|
|
936
1088
|
"@radix-ui/react-dropdown-menu": "^2.2.1",
|
|
937
1089
|
"@radix-ui/react-popover": "^1.3.1",
|
|
1090
|
+
"@radix-ui/react-slot": "^1.5.0",
|
|
938
1091
|
"@radix-ui/react-toolbar": "^1.2.1",
|
|
939
1092
|
"@radix-ui/react-use-controllable-state": "1.3.0",
|
|
940
1093
|
"@react-querybuilder/dnd": "^8.29.0",
|
|
@@ -945,6 +1098,9 @@
|
|
|
945
1098
|
"@streamdown/mermaid": "1.0.4",
|
|
946
1099
|
"@tanstack/react-table": "8.21.3",
|
|
947
1100
|
"@tanstack/react-virtual": "3.14.28",
|
|
1101
|
+
"@types/leaflet": "1.9.23",
|
|
1102
|
+
"@types/leaflet-draw": "1.0.13",
|
|
1103
|
+
"@types/leaflet.markercluster": "1.5.6",
|
|
948
1104
|
"@udecode/cn": "^52.3.4",
|
|
949
1105
|
"@uiw/codemirror-extensions-langs": "^4.25.13",
|
|
950
1106
|
"@uiw/react-codemirror": "^4.25.13",
|
|
@@ -959,9 +1115,15 @@
|
|
|
959
1115
|
"date-fns": "4.4.0",
|
|
960
1116
|
"embla-carousel-react": "8.6.0",
|
|
961
1117
|
"es-toolkit": "^1.53.2",
|
|
1118
|
+
"exceljs": "^4.4.0",
|
|
962
1119
|
"handlebars": "^4.7.10",
|
|
1120
|
+
"html2canvas-pro": "2.6.4",
|
|
963
1121
|
"input-otp": "1.5.0",
|
|
964
1122
|
"jsonata": "^2.2.2",
|
|
1123
|
+
"leaflet": "^1.9.4",
|
|
1124
|
+
"leaflet-draw": "^1.0.4",
|
|
1125
|
+
"leaflet.fullscreen": "^5.3.3",
|
|
1126
|
+
"leaflet.markercluster": "^1.5.3",
|
|
965
1127
|
"lodash.throttle": "4.1.1",
|
|
966
1128
|
"lowlight": "^3.3.0",
|
|
967
1129
|
"lucide-react": "^1.80.0",
|
|
@@ -970,8 +1132,10 @@
|
|
|
970
1132
|
"nanoid": "6.0.2",
|
|
971
1133
|
"next-themes": "0.4.6",
|
|
972
1134
|
"overtype": "^2.9.0",
|
|
1135
|
+
"pdf-lib": "1.17.1",
|
|
973
1136
|
"platejs": "^53.5.2",
|
|
974
1137
|
"radix-ui": "1.8.1",
|
|
1138
|
+
"re-resizable": "^6.11.2",
|
|
975
1139
|
"react-advanced-cropper": "^0.20.1",
|
|
976
1140
|
"react-day-picker": "9.14.0",
|
|
977
1141
|
"react-dnd": "^16.0.1",
|
|
@@ -980,6 +1144,8 @@
|
|
|
980
1144
|
"react-hook-form": "7.92.0",
|
|
981
1145
|
"react-inlinesvg": "4.6.0",
|
|
982
1146
|
"react-jsx-parser": "^2.4.1",
|
|
1147
|
+
"react-leaflet": "^5.0.0",
|
|
1148
|
+
"react-leaflet-markercluster": "5.0.0-rc.0",
|
|
983
1149
|
"react-lite-youtube-embed": "3.7.0",
|
|
984
1150
|
"react-markdown": "10.1.0",
|
|
985
1151
|
"react-player": "^3.4.0",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"activeEnvironmentId": "live",
|
|
4
|
+
"environments": [
|
|
5
|
+
{
|
|
6
|
+
"id": "live",
|
|
7
|
+
"name": "Live",
|
|
8
|
+
"apiBaseUrl": "https://api.kiva.app"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "beta",
|
|
12
|
+
"name": "Beta",
|
|
13
|
+
"apiBaseUrl": "https://beta-api.kiva.app"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "alpha",
|
|
17
|
+
"name": "Alpha",
|
|
18
|
+
"apiBaseUrl": "https://alpha-api.kiva.app"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "dev",
|
|
22
|
+
"name": "Local Development",
|
|
23
|
+
"apiBaseUrl": "https://localhost:3366"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"activeSoulId": "default"
|
|
27
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { cva, type VariantProps } from "class-variance-authority";
|
|
4
|
+
import { Slot as SlotPrimitive } from "radix-ui";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { cn } from '@kivacore/ui-pro-shared/lib/utils';
|
|
7
|
+
|
|
8
|
+
const avatarGroupVariants = cva("flex items-center", {
|
|
9
|
+
variants: {
|
|
10
|
+
orientation: {
|
|
11
|
+
horizontal: "flex-row",
|
|
12
|
+
vertical: "flex-col",
|
|
13
|
+
},
|
|
14
|
+
dir: {
|
|
15
|
+
ltr: "",
|
|
16
|
+
rtl: "",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
compoundVariants: [
|
|
20
|
+
{
|
|
21
|
+
orientation: "horizontal",
|
|
22
|
+
dir: "ltr",
|
|
23
|
+
className: "-space-x-1",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
orientation: "horizontal",
|
|
27
|
+
dir: "rtl",
|
|
28
|
+
className: "flex-row-reverse -space-x-1 space-x-reverse",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
orientation: "vertical",
|
|
32
|
+
dir: "ltr",
|
|
33
|
+
className: "-space-y-1",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
orientation: "vertical",
|
|
37
|
+
dir: "rtl",
|
|
38
|
+
className: "flex-col-reverse -space-y-1 space-y-reverse",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
orientation: "horizontal",
|
|
43
|
+
dir: "ltr",
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
interface AvatarGroupProps
|
|
48
|
+
extends Omit<React.ComponentProps<"div">, "dir">,
|
|
49
|
+
VariantProps<typeof avatarGroupVariants> {
|
|
50
|
+
size?: number;
|
|
51
|
+
max?: number;
|
|
52
|
+
asChild?: boolean;
|
|
53
|
+
reverse?: boolean;
|
|
54
|
+
renderOverflow?: (count: number) => React.ReactNode;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function AvatarGroup(props: AvatarGroupProps) {
|
|
58
|
+
const {
|
|
59
|
+
orientation = "horizontal",
|
|
60
|
+
dir = "ltr",
|
|
61
|
+
size = 40,
|
|
62
|
+
max,
|
|
63
|
+
asChild,
|
|
64
|
+
reverse = false,
|
|
65
|
+
renderOverflow,
|
|
66
|
+
className,
|
|
67
|
+
children,
|
|
68
|
+
...rootProps
|
|
69
|
+
} = props;
|
|
70
|
+
|
|
71
|
+
const childrenArray = React.Children.toArray(children).filter(
|
|
72
|
+
React.isValidElement,
|
|
73
|
+
);
|
|
74
|
+
const itemCount = childrenArray.length;
|
|
75
|
+
const shouldTruncate = max && itemCount > max;
|
|
76
|
+
const visibleItems = shouldTruncate
|
|
77
|
+
? childrenArray.slice(0, max - 1)
|
|
78
|
+
: childrenArray;
|
|
79
|
+
const overflowCount = shouldTruncate ? itemCount - (max - 1) : 0;
|
|
80
|
+
const totalRenderedItems = shouldTruncate ? max : itemCount;
|
|
81
|
+
|
|
82
|
+
const RootPrimitive = asChild ? SlotPrimitive.Slot : "div";
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<RootPrimitive
|
|
86
|
+
data-orientation={orientation}
|
|
87
|
+
data-slot="avatar-group"
|
|
88
|
+
{...rootProps}
|
|
89
|
+
className={cn(avatarGroupVariants({ orientation, dir }), className)}
|
|
90
|
+
>
|
|
91
|
+
{visibleItems.map((child, index) => (
|
|
92
|
+
<AvatarGroupItem
|
|
93
|
+
key={index}
|
|
94
|
+
child={child}
|
|
95
|
+
index={index}
|
|
96
|
+
itemCount={totalRenderedItems}
|
|
97
|
+
orientation={orientation}
|
|
98
|
+
dir={dir}
|
|
99
|
+
size={size}
|
|
100
|
+
reverse={reverse}
|
|
101
|
+
/>
|
|
102
|
+
))}
|
|
103
|
+
{shouldTruncate && (
|
|
104
|
+
<AvatarGroupItem
|
|
105
|
+
key="overflow"
|
|
106
|
+
child={
|
|
107
|
+
renderOverflow ? (
|
|
108
|
+
renderOverflow(overflowCount)
|
|
109
|
+
) : (
|
|
110
|
+
<div className="inline-flex size-full items-center justify-center rounded-full bg-muted font-medium text-muted-foreground text-xs">
|
|
111
|
+
+{overflowCount}
|
|
112
|
+
</div>
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
|
+
index={visibleItems.length}
|
|
116
|
+
itemCount={totalRenderedItems}
|
|
117
|
+
orientation={orientation}
|
|
118
|
+
dir={dir}
|
|
119
|
+
size={size}
|
|
120
|
+
reverse={reverse}
|
|
121
|
+
/>
|
|
122
|
+
)}
|
|
123
|
+
</RootPrimitive>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
interface AvatarGroupItemProps
|
|
128
|
+
extends Omit<React.ComponentProps<typeof SlotPrimitive.Slot>, "dir">,
|
|
129
|
+
VariantProps<typeof avatarGroupVariants> {
|
|
130
|
+
child: React.ReactNode;
|
|
131
|
+
index: number;
|
|
132
|
+
itemCount: number;
|
|
133
|
+
size: number;
|
|
134
|
+
reverse: boolean;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function AvatarGroupItem(props: AvatarGroupItemProps) {
|
|
138
|
+
const {
|
|
139
|
+
child,
|
|
140
|
+
index,
|
|
141
|
+
size,
|
|
142
|
+
orientation,
|
|
143
|
+
dir = "ltr",
|
|
144
|
+
reverse = false,
|
|
145
|
+
itemCount,
|
|
146
|
+
className,
|
|
147
|
+
style,
|
|
148
|
+
...itemProps
|
|
149
|
+
} = props;
|
|
150
|
+
|
|
151
|
+
const maskStyle = React.useMemo<React.CSSProperties>(() => {
|
|
152
|
+
let maskImage = "";
|
|
153
|
+
|
|
154
|
+
let shouldMask = false;
|
|
155
|
+
|
|
156
|
+
if (orientation === "vertical" && dir === "rtl" && reverse) {
|
|
157
|
+
shouldMask = index !== itemCount - 1;
|
|
158
|
+
} else {
|
|
159
|
+
shouldMask = reverse ? index < itemCount - 1 : index > 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (shouldMask) {
|
|
163
|
+
const maskRadius = size / 2;
|
|
164
|
+
const maskOffset = size / 4 + size / 10;
|
|
165
|
+
|
|
166
|
+
if (orientation === "vertical") {
|
|
167
|
+
if (dir === "ltr") {
|
|
168
|
+
if (reverse) {
|
|
169
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at 50% ${size + maskOffset}px, transparent 99%, white 100%)`;
|
|
170
|
+
} else {
|
|
171
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at 50% -${maskOffset}px, transparent 99%, white 100%)`;
|
|
172
|
+
}
|
|
173
|
+
} else {
|
|
174
|
+
if (reverse) {
|
|
175
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at 50% -${maskOffset}px, transparent 99%, white 100%)`;
|
|
176
|
+
} else {
|
|
177
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at 50% ${size + maskOffset}px, transparent 99%, white 100%)`;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
} else {
|
|
181
|
+
if (dir === "ltr") {
|
|
182
|
+
if (reverse) {
|
|
183
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at ${size + maskOffset}px 50%, transparent 99%, white 100%)`;
|
|
184
|
+
} else {
|
|
185
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at -${maskOffset}px 50%, transparent 99%, white 100%)`;
|
|
186
|
+
}
|
|
187
|
+
} else {
|
|
188
|
+
if (reverse) {
|
|
189
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at -${maskOffset}px 50%, transparent 99%, white 100%)`;
|
|
190
|
+
} else {
|
|
191
|
+
maskImage = `radial-gradient(circle ${maskRadius}px at ${size + maskOffset}px 50%, transparent 99%, white 100%)`;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
return {
|
|
198
|
+
width: size,
|
|
199
|
+
height: size,
|
|
200
|
+
maskImage,
|
|
201
|
+
};
|
|
202
|
+
}, [size, index, orientation, dir, reverse, itemCount]);
|
|
203
|
+
|
|
204
|
+
return (
|
|
205
|
+
<SlotPrimitive.Slot
|
|
206
|
+
data-slot="avatar-group-item"
|
|
207
|
+
className={cn(
|
|
208
|
+
"size-full shrink-0 overflow-hidden rounded-full [&_img]:size-full",
|
|
209
|
+
className,
|
|
210
|
+
)}
|
|
211
|
+
style={{
|
|
212
|
+
...maskStyle,
|
|
213
|
+
...style,
|
|
214
|
+
}}
|
|
215
|
+
{...itemProps}
|
|
216
|
+
>
|
|
217
|
+
{child}
|
|
218
|
+
</SlotPrimitive.Slot>
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export { AvatarGroup };
|