@databricks/appkit-ui 0.0.2
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/CLAUDE.md +3 -0
- package/DCO +25 -0
- package/LICENSE +203 -0
- package/NOTICE.md +73 -0
- package/README.md +35 -0
- package/bin/setup-claude.js +190 -0
- package/dist/js/arrow/arrow-client.d.ts +64 -0
- package/dist/js/arrow/arrow-client.d.ts.map +1 -0
- package/dist/js/arrow/arrow-client.js +181 -0
- package/dist/js/arrow/arrow-client.js.map +1 -0
- package/dist/js/arrow/index.js +3 -0
- package/dist/js/arrow/lazy-arrow.d.ts +23 -0
- package/dist/js/arrow/lazy-arrow.d.ts.map +1 -0
- package/dist/js/arrow/lazy-arrow.js +86 -0
- package/dist/js/arrow/lazy-arrow.js.map +1 -0
- package/dist/js/constants.d.ts +10 -0
- package/dist/js/constants.d.ts.map +1 -0
- package/dist/js/constants.js +30 -0
- package/dist/js/constants.js.map +1 -0
- package/dist/js/index.d.ts +8 -0
- package/dist/js/index.js +8 -0
- package/dist/js/sse/connect-sse.d.ts +14 -0
- package/dist/js/sse/connect-sse.d.ts.map +1 -0
- package/dist/js/sse/connect-sse.js +128 -0
- package/dist/js/sse/connect-sse.js.map +1 -0
- package/dist/js/sse/types.d.ts +34 -0
- package/dist/js/sse/types.d.ts.map +1 -0
- package/dist/react/charts/area/index.d.ts +33 -0
- package/dist/react/charts/area/index.d.ts.map +1 -0
- package/dist/react/charts/area/index.js +29 -0
- package/dist/react/charts/area/index.js.map +1 -0
- package/dist/react/charts/bar/index.d.ts +43 -0
- package/dist/react/charts/bar/index.d.ts.map +1 -0
- package/dist/react/charts/bar/index.js +39 -0
- package/dist/react/charts/bar/index.js.map +1 -0
- package/dist/react/charts/base.d.ts +89 -0
- package/dist/react/charts/base.d.ts.map +1 -0
- package/dist/react/charts/base.js +123 -0
- package/dist/react/charts/base.js.map +1 -0
- package/dist/react/charts/chart-error-boundary.js +37 -0
- package/dist/react/charts/chart-error-boundary.js.map +1 -0
- package/dist/react/charts/constants.d.ts +22 -0
- package/dist/react/charts/constants.d.ts.map +1 -0
- package/dist/react/charts/constants.js +86 -0
- package/dist/react/charts/constants.js.map +1 -0
- package/dist/react/charts/create-chart.d.ts +26 -0
- package/dist/react/charts/create-chart.d.ts.map +1 -0
- package/dist/react/charts/create-chart.js +55 -0
- package/dist/react/charts/create-chart.js.map +1 -0
- package/dist/react/charts/empty.js +16 -0
- package/dist/react/charts/empty.js.map +1 -0
- package/dist/react/charts/error.js +16 -0
- package/dist/react/charts/error.js.map +1 -0
- package/dist/react/charts/heatmap/index.d.ts +42 -0
- package/dist/react/charts/heatmap/index.d.ts.map +1 -0
- package/dist/react/charts/heatmap/index.js +38 -0
- package/dist/react/charts/heatmap/index.js.map +1 -0
- package/dist/react/charts/index.js +18 -0
- package/dist/react/charts/line/index.d.ts +34 -0
- package/dist/react/charts/line/index.d.ts.map +1 -0
- package/dist/react/charts/line/index.js +30 -0
- package/dist/react/charts/line/index.js.map +1 -0
- package/dist/react/charts/loading.js +13 -0
- package/dist/react/charts/loading.js.map +1 -0
- package/dist/react/charts/normalize.d.ts +37 -0
- package/dist/react/charts/normalize.d.ts.map +1 -0
- package/dist/react/charts/normalize.js +256 -0
- package/dist/react/charts/normalize.js.map +1 -0
- package/dist/react/charts/options.d.ts +39 -0
- package/dist/react/charts/options.d.ts.map +1 -0
- package/dist/react/charts/options.js +212 -0
- package/dist/react/charts/options.js.map +1 -0
- package/dist/react/charts/pie/index.d.ts +57 -0
- package/dist/react/charts/pie/index.d.ts.map +1 -0
- package/dist/react/charts/pie/index.js +50 -0
- package/dist/react/charts/pie/index.js.map +1 -0
- package/dist/react/charts/radar/index.d.ts +32 -0
- package/dist/react/charts/radar/index.d.ts.map +1 -0
- package/dist/react/charts/radar/index.js +28 -0
- package/dist/react/charts/radar/index.js.map +1 -0
- package/dist/react/charts/scatter/index.d.ts +32 -0
- package/dist/react/charts/scatter/index.d.ts.map +1 -0
- package/dist/react/charts/scatter/index.js +28 -0
- package/dist/react/charts/scatter/index.js.map +1 -0
- package/dist/react/charts/theme.d.ts +23 -0
- package/dist/react/charts/theme.d.ts.map +1 -0
- package/dist/react/charts/theme.js +96 -0
- package/dist/react/charts/theme.js.map +1 -0
- package/dist/react/charts/types.d.ts +160 -0
- package/dist/react/charts/types.d.ts.map +1 -0
- package/dist/react/charts/types.js +17 -0
- package/dist/react/charts/types.js.map +1 -0
- package/dist/react/charts/utils.d.ts +36 -0
- package/dist/react/charts/utils.d.ts.map +1 -0
- package/dist/react/charts/utils.js +77 -0
- package/dist/react/charts/utils.js.map +1 -0
- package/dist/react/charts/wrapper.d.ts +65 -0
- package/dist/react/charts/wrapper.d.ts.map +1 -0
- package/dist/react/charts/wrapper.js +94 -0
- package/dist/react/charts/wrapper.js.map +1 -0
- package/dist/react/hooks/index.js +2 -0
- package/dist/react/hooks/types.d.ts +101 -0
- package/dist/react/hooks/types.d.ts.map +1 -0
- package/dist/react/hooks/use-analytics-query.d.ts +33 -0
- package/dist/react/hooks/use-analytics-query.d.ts.map +1 -0
- package/dist/react/hooks/use-analytics-query.js +146 -0
- package/dist/react/hooks/use-analytics-query.js.map +1 -0
- package/dist/react/hooks/use-chart-data.d.ts +54 -0
- package/dist/react/hooks/use-chart-data.d.ts.map +1 -0
- package/dist/react/hooks/use-chart-data.js +80 -0
- package/dist/react/hooks/use-chart-data.js.map +1 -0
- package/dist/react/hooks/use-mobile.js +21 -0
- package/dist/react/hooks/use-mobile.js.map +1 -0
- package/dist/react/hooks/use-query-hmr.js +19 -0
- package/dist/react/hooks/use-query-hmr.js.map +1 -0
- package/dist/react/index.d.ts +75 -0
- package/dist/react/index.js +79 -0
- package/dist/react/lib/format.js +42 -0
- package/dist/react/lib/format.js.map +1 -0
- package/dist/react/lib/utils.js +11 -0
- package/dist/react/lib/utils.js.map +1 -0
- package/dist/react/table/data-table.d.ts +47 -0
- package/dist/react/table/data-table.d.ts.map +1 -0
- package/dist/react/table/data-table.js +205 -0
- package/dist/react/table/data-table.js.map +1 -0
- package/dist/react/table/empty.js +16 -0
- package/dist/react/table/empty.js.map +1 -0
- package/dist/react/table/error.js +16 -0
- package/dist/react/table/error.js.map +1 -0
- package/dist/react/table/index.js +1 -0
- package/dist/react/table/loading.js +50 -0
- package/dist/react/table/loading.js.map +1 -0
- package/dist/react/table/table-wrapper.js +143 -0
- package/dist/react/table/table-wrapper.js.map +1 -0
- package/dist/react/table/types.d.ts +55 -0
- package/dist/react/table/types.d.ts.map +1 -0
- package/dist/react/ui/accordion.d.ts +25 -0
- package/dist/react/ui/accordion.d.ts.map +1 -0
- package/dist/react/ui/accordion.js +45 -0
- package/dist/react/ui/accordion.js.map +1 -0
- package/dist/react/ui/alert-dialog.d.ts +49 -0
- package/dist/react/ui/alert-dialog.d.ts.map +1 -0
- package/dist/react/ui/alert-dialog.js +82 -0
- package/dist/react/ui/alert-dialog.js.map +1 -0
- package/dist/react/ui/alert.d.ts +25 -0
- package/dist/react/ui/alert.d.ts.map +1 -0
- package/dist/react/ui/alert.js +38 -0
- package/dist/react/ui/alert.js.map +1 -0
- package/dist/react/ui/aspect-ratio.d.ts +10 -0
- package/dist/react/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/react/ui/aspect-ratio.js +16 -0
- package/dist/react/ui/aspect-ratio.js.map +1 -0
- package/dist/react/ui/avatar.d.ts +20 -0
- package/dist/react/ui/avatar.d.ts.map +1 -0
- package/dist/react/ui/avatar.js +30 -0
- package/dist/react/ui/avatar.js.map +1 -0
- package/dist/react/ui/badge.d.ts +20 -0
- package/dist/react/ui/badge.d.ts.map +1 -0
- package/dist/react/ui/badge.js +26 -0
- package/dist/react/ui/badge.js.map +1 -0
- package/dist/react/ui/breadcrumb.d.ts +38 -0
- package/dist/react/ui/breadcrumb.d.ts.map +1 -0
- package/dist/react/ui/breadcrumb.js +71 -0
- package/dist/react/ui/breadcrumb.js.map +1 -0
- package/dist/react/ui/button-group.d.ts +29 -0
- package/dist/react/ui/button-group.d.ts.map +1 -0
- package/dist/react/ui/button-group.js +41 -0
- package/dist/react/ui/button-group.js.map +1 -0
- package/dist/react/ui/button.d.ts +22 -0
- package/dist/react/ui/button.d.ts.map +1 -0
- package/dist/react/ui/button.js +45 -0
- package/dist/react/ui/button.js.map +1 -0
- package/dist/react/ui/calendar.d.ts +27 -0
- package/dist/react/ui/calendar.d.ts.map +1 -0
- package/dist/react/ui/calendar.js +109 -0
- package/dist/react/ui/calendar.js.map +1 -0
- package/dist/react/ui/card.d.ts +35 -0
- package/dist/react/ui/card.d.ts.map +1 -0
- package/dist/react/ui/card.js +57 -0
- package/dist/react/ui/card.js.map +1 -0
- package/dist/react/ui/carousel.d.ts +48 -0
- package/dist/react/ui/carousel.d.ts.map +1 -0
- package/dist/react/ui/carousel.js +134 -0
- package/dist/react/ui/carousel.js.map +1 -0
- package/dist/react/ui/chart.d.ts +80 -0
- package/dist/react/ui/chart.d.ts.map +1 -0
- package/dist/react/ui/chart.js +143 -0
- package/dist/react/ui/chart.js.map +1 -0
- package/dist/react/ui/checkbox.d.ts +12 -0
- package/dist/react/ui/checkbox.d.ts.map +1 -0
- package/dist/react/ui/checkbox.js +24 -0
- package/dist/react/ui/checkbox.js.map +1 -0
- package/dist/react/ui/collapsible.d.ts +16 -0
- package/dist/react/ui/collapsible.d.ts.map +1 -0
- package/dist/react/ui/collapsible.js +26 -0
- package/dist/react/ui/collapsible.js.map +1 -0
- package/dist/react/ui/command.d.ts +53 -0
- package/dist/react/ui/command.d.ts.map +1 -0
- package/dist/react/ui/command.js +87 -0
- package/dist/react/ui/command.js.map +1 -0
- package/dist/react/ui/context-menu.d.ts +77 -0
- package/dist/react/ui/context-menu.d.ts.map +1 -0
- package/dist/react/ui/context-menu.js +125 -0
- package/dist/react/ui/context-menu.js.map +1 -0
- package/dist/react/ui/dialog.d.ts +48 -0
- package/dist/react/ui/dialog.d.ts.map +1 -0
- package/dist/react/ui/dialog.js +87 -0
- package/dist/react/ui/dialog.js.map +1 -0
- package/dist/react/ui/drawer.d.ts +45 -0
- package/dist/react/ui/drawer.d.ts.map +1 -0
- package/dist/react/ui/drawer.js +81 -0
- package/dist/react/ui/drawer.js.map +1 -0
- package/dist/react/ui/dropdown-menu.d.ts +78 -0
- package/dist/react/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/react/ui/dropdown-menu.js +124 -0
- package/dist/react/ui/dropdown-menu.js.map +1 -0
- package/dist/react/ui/empty.d.ts +36 -0
- package/dist/react/ui/empty.d.ts.map +1 -0
- package/dist/react/ui/empty.js +62 -0
- package/dist/react/ui/empty.js.map +1 -0
- package/dist/react/ui/field.d.ts +65 -0
- package/dist/react/ui/field.d.ts.map +1 -0
- package/dist/react/ui/field.js +120 -0
- package/dist/react/ui/field.js.map +1 -0
- package/dist/react/ui/form.d.ts +46 -0
- package/dist/react/ui/form.d.ts.map +1 -0
- package/dist/react/ui/form.js +92 -0
- package/dist/react/ui/form.js.map +1 -0
- package/dist/react/ui/hover-card.d.ts +20 -0
- package/dist/react/ui/hover-card.d.ts.map +1 -0
- package/dist/react/ui/hover-card.js +35 -0
- package/dist/react/ui/hover-card.js.map +1 -0
- package/dist/react/ui/index.js +53 -0
- package/dist/react/ui/input-group.d.ts +44 -0
- package/dist/react/ui/input-group.d.ts.map +1 -0
- package/dist/react/ui/input-group.js +82 -0
- package/dist/react/ui/input-group.js.map +1 -0
- package/dist/react/ui/input-otp.d.ts +29 -0
- package/dist/react/ui/input-otp.d.ts.map +1 -0
- package/dist/react/ui/input-otp.js +47 -0
- package/dist/react/ui/input-otp.js.map +1 -0
- package/dist/react/ui/input.d.ts +12 -0
- package/dist/react/ui/input.d.ts.map +1 -0
- package/dist/react/ui/input.js +16 -0
- package/dist/react/ui/input.js.map +1 -0
- package/dist/react/ui/item.d.ts +63 -0
- package/dist/react/ui/item.d.ts.map +1 -0
- package/dist/react/ui/item.js +118 -0
- package/dist/react/ui/item.js.map +1 -0
- package/dist/react/ui/kbd.d.ts +14 -0
- package/dist/react/ui/kbd.d.ts.map +1 -0
- package/dist/react/ui/kbd.js +22 -0
- package/dist/react/ui/kbd.js.map +1 -0
- package/dist/react/ui/label.d.ts +12 -0
- package/dist/react/ui/label.d.ts.map +1 -0
- package/dist/react/ui/label.js +18 -0
- package/dist/react/ui/label.js.map +1 -0
- package/dist/react/ui/menubar.d.ts +85 -0
- package/dist/react/ui/menubar.d.ts.map +1 -0
- package/dist/react/ui/menubar.js +134 -0
- package/dist/react/ui/menubar.js.map +1 -0
- package/dist/react/ui/navigation-menu.d.ts +47 -0
- package/dist/react/ui/navigation-menu.d.ts.map +1 -0
- package/dist/react/ui/navigation-menu.js +82 -0
- package/dist/react/ui/navigation-menu.js.map +1 -0
- package/dist/react/ui/pagination.d.ts +40 -0
- package/dist/react/ui/pagination.d.ts.map +1 -0
- package/dist/react/ui/pagination.js +80 -0
- package/dist/react/ui/pagination.js.map +1 -0
- package/dist/react/ui/popover.d.ts +23 -0
- package/dist/react/ui/popover.d.ts.map +1 -0
- package/dist/react/ui/popover.js +38 -0
- package/dist/react/ui/popover.js.map +1 -0
- package/dist/react/ui/progress.d.ts +13 -0
- package/dist/react/ui/progress.d.ts.map +1 -0
- package/dist/react/ui/progress.js +21 -0
- package/dist/react/ui/progress.js.map +1 -0
- package/dist/react/ui/radio-group.d.ts +16 -0
- package/dist/react/ui/radio-group.d.ts.map +1 -0
- package/dist/react/ui/radio-group.js +31 -0
- package/dist/react/ui/radio-group.js.map +1 -0
- package/dist/react/ui/resizable.d.ts +22 -0
- package/dist/react/ui/resizable.d.ts.map +1 -0
- package/dist/react/ui/resizable.js +34 -0
- package/dist/react/ui/resizable.js.map +1 -0
- package/dist/react/ui/scroll-area.d.ts +18 -0
- package/dist/react/ui/scroll-area.d.ts.map +1 -0
- package/dist/react/ui/scroll-area.js +39 -0
- package/dist/react/ui/scroll-area.js.map +1 -0
- package/dist/react/ui/select.d.ts +53 -0
- package/dist/react/ui/select.d.ts.map +1 -0
- package/dist/react/ui/select.js +98 -0
- package/dist/react/ui/select.js.map +1 -0
- package/dist/react/ui/separator.d.ts +14 -0
- package/dist/react/ui/separator.d.ts.map +1 -0
- package/dist/react/ui/separator.js +20 -0
- package/dist/react/ui/separator.js.map +1 -0
- package/dist/react/ui/sheet.d.ts +41 -0
- package/dist/react/ui/sheet.d.ts.map +1 -0
- package/dist/react/ui/sheet.js +83 -0
- package/dist/react/ui/sheet.js.map +1 -0
- package/dist/react/ui/sidebar.d.ts +167 -0
- package/dist/react/ui/sidebar.d.ts.map +1 -0
- package/dist/react/ui/sidebar.js +379 -0
- package/dist/react/ui/sidebar.js.map +1 -0
- package/dist/react/ui/skeleton.d.ts +10 -0
- package/dist/react/ui/skeleton.d.ts.map +1 -0
- package/dist/react/ui/skeleton.js +15 -0
- package/dist/react/ui/skeleton.js.map +1 -0
- package/dist/react/ui/slider.d.ts +16 -0
- package/dist/react/ui/slider.d.ts.map +1 -0
- package/dist/react/ui/slider.js +40 -0
- package/dist/react/ui/slider.js.map +1 -0
- package/dist/react/ui/sonner.d.ts +10 -0
- package/dist/react/ui/sonner.d.ts.map +1 -0
- package/dist/react/ui/sonner.js +31 -0
- package/dist/react/ui/sonner.js.map +1 -0
- package/dist/react/ui/spinner.d.ts +10 -0
- package/dist/react/ui/spinner.d.ts.map +1 -0
- package/dist/react/ui/spinner.js +17 -0
- package/dist/react/ui/spinner.js.map +1 -0
- package/dist/react/ui/switch.d.ts +12 -0
- package/dist/react/ui/switch.d.ts.map +1 -0
- package/dist/react/ui/switch.js +22 -0
- package/dist/react/ui/switch.js.map +1 -0
- package/dist/react/ui/table.d.ts +39 -0
- package/dist/react/ui/table.d.ts.map +1 -0
- package/dist/react/ui/table.js +68 -0
- package/dist/react/ui/table.js.map +1 -0
- package/dist/react/ui/tabs.d.ts +24 -0
- package/dist/react/ui/tabs.d.ts.map +1 -0
- package/dist/react/ui/tabs.js +39 -0
- package/dist/react/ui/tabs.js.map +1 -0
- package/dist/react/ui/textarea.d.ts +11 -0
- package/dist/react/ui/textarea.d.ts.map +1 -0
- package/dist/react/ui/textarea.js +15 -0
- package/dist/react/ui/textarea.js.map +1 -0
- package/dist/react/ui/toggle-group.d.ts +27 -0
- package/dist/react/ui/toggle-group.d.ts.map +1 -0
- package/dist/react/ui/toggle-group.js +50 -0
- package/dist/react/ui/toggle-group.js.map +1 -0
- package/dist/react/ui/toggle.d.ts +20 -0
- package/dist/react/ui/toggle.d.ts.map +1 -0
- package/dist/react/ui/toggle.js +38 -0
- package/dist/react/ui/toggle.js.map +1 -0
- package/dist/react/ui/tooltip.d.ts +24 -0
- package/dist/react/ui/tooltip.d.ts.map +1 -0
- package/dist/react/ui/tooltip.js +39 -0
- package/dist/react/ui/tooltip.js.map +1 -0
- package/dist/shared/src/sql/helpers.d.ts +160 -0
- package/dist/shared/src/sql/helpers.d.ts.map +1 -0
- package/dist/shared/src/sql/helpers.js +103 -0
- package/dist/shared/src/sql/helpers.js.map +1 -0
- package/dist/shared/src/sql/types.d.ts +34 -0
- package/dist/shared/src/sql/types.d.ts.map +1 -0
- package/dist/styles.css +425 -0
- package/llms.txt +193 -0
- package/package.json +98 -0
- package/scripts/postinstall.js +6 -0
package/CLAUDE.md
ADDED
package/DCO
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Developer's Certificate of Origin 1.1
|
|
2
|
+
|
|
3
|
+
By making a contribution to this project, I certify that:
|
|
4
|
+
|
|
5
|
+
(a) The contribution was created in whole or in part by me and I
|
|
6
|
+
have the right to submit it under the open source license
|
|
7
|
+
indicated in the file; or
|
|
8
|
+
|
|
9
|
+
(b) The contribution is based upon previous work that, to the best
|
|
10
|
+
of my knowledge, is covered under an appropriate open source
|
|
11
|
+
license and I have the right under that license to submit that
|
|
12
|
+
work with modifications, whether created in whole or in part
|
|
13
|
+
by me, under the same open source license (unless I am
|
|
14
|
+
permitted to submit under a different license), as indicated
|
|
15
|
+
in the file; or
|
|
16
|
+
|
|
17
|
+
(c) The contribution was provided directly to me by some other
|
|
18
|
+
person who certified (a), (b) or (c) and I have not modified
|
|
19
|
+
it.
|
|
20
|
+
|
|
21
|
+
(d) I understand and agree that this project and the contribution
|
|
22
|
+
are public and that a record of the contribution (including all
|
|
23
|
+
personal information I submit with it, including my sign-off) is
|
|
24
|
+
maintained indefinitely and may be redistributed consistent with
|
|
25
|
+
this project or the open source license(s) involved.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Copyright 2022 Databricks, Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
Version 2.0, January 2004
|
|
5
|
+
http://www.apache.org/licenses/
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
24
|
+
|
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
26
|
+
exercising permissions granted by this License.
|
|
27
|
+
|
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
29
|
+
including but not limited to software source code, documentation
|
|
30
|
+
source, and configuration files.
|
|
31
|
+
|
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
|
33
|
+
transformation or translation of a Source form, including but
|
|
34
|
+
not limited to compiled object code, generated documentation,
|
|
35
|
+
and conversions to other media types.
|
|
36
|
+
|
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
38
|
+
Object form, made available under the License, as indicated by a
|
|
39
|
+
copyright notice that is included in or attached to the work
|
|
40
|
+
(an example is provided in the Appendix below).
|
|
41
|
+
|
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
48
|
+
the Work and Derivative Works thereof.
|
|
49
|
+
|
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
|
51
|
+
the original version of the Work and any modifications or additions
|
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
63
|
+
|
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
66
|
+
subsequently incorporated within the Work.
|
|
67
|
+
|
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
|
74
|
+
|
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
80
|
+
where such license applies only to those patent claims licensable
|
|
81
|
+
by such Contributor that are necessarily infringed by their
|
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
84
|
+
institute patent litigation against any entity (including a
|
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
87
|
+
or contributory patent infringement, then any patent licenses
|
|
88
|
+
granted to You under this License for that Work shall terminate
|
|
89
|
+
as of the date such litigation is filed.
|
|
90
|
+
|
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
93
|
+
modifications, and in Source or Object form, provided that You
|
|
94
|
+
meet the following conditions:
|
|
95
|
+
|
|
96
|
+
(a) You must give any other recipients of the Work or
|
|
97
|
+
Derivative Works a copy of this License; and
|
|
98
|
+
|
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
|
100
|
+
stating that You changed the files; and
|
|
101
|
+
|
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
|
104
|
+
attribution notices from the Source form of the Work,
|
|
105
|
+
excluding those notices that do not pertain to any part of
|
|
106
|
+
the Derivative Works; and
|
|
107
|
+
|
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
|
110
|
+
include a readable copy of the attribution notices contained
|
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
|
113
|
+
of the following places: within a NOTICE text file distributed
|
|
114
|
+
as part of the Derivative Works; within the Source form or
|
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
|
116
|
+
within a display generated by the Derivative Works, if and
|
|
117
|
+
wherever such third-party notices normally appear. The contents
|
|
118
|
+
of the NOTICE file are for informational purposes only and
|
|
119
|
+
do not modify the License. You may add Your own attribution
|
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
122
|
+
that such additional attribution notices cannot be construed
|
|
123
|
+
as modifying the License.
|
|
124
|
+
|
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
|
126
|
+
may provide additional or different license terms and conditions
|
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
130
|
+
the conditions stated in this License.
|
|
131
|
+
|
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
135
|
+
this License, without any additional terms or conditions.
|
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
137
|
+
the terms of any separate license agreement you may have executed
|
|
138
|
+
with Licensor regarding such Contributions.
|
|
139
|
+
|
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
142
|
+
except as required for reasonable and customary use in describing the
|
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
144
|
+
|
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
|
160
|
+
incidental, or consequential damages of any character arising as a
|
|
161
|
+
result of this License or out of the use or inability to use the
|
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
164
|
+
other commercial damages or losses), even if such Contributor
|
|
165
|
+
has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
176
|
+
of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a
|
|
187
|
+
file or class name and description of purpose be included on the
|
|
188
|
+
same "printed page" as the copyright notice for easier
|
|
189
|
+
identification within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright [yyyy] [name of copyright owner]
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
package/NOTICE.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Copyright (2022) Databricks, Inc.
|
|
2
|
+
|
|
3
|
+
This Software includes software developed at Databricks (https://www.databricks.com/) and its use is subject to the included LICENSE file.
|
|
4
|
+
***
|
|
5
|
+
This Software contains code from the following open source projects:
|
|
6
|
+
|
|
7
|
+
| Name | Installed version | License | Code |
|
|
8
|
+
| :--------------- | :---------------- | :----------- | :--------------------------------------------------- |
|
|
9
|
+
| [@hookform/resolvers](https://www.npmjs.com/package/@hookform/resolvers) | 5.2.2 | MIT | https://react-hook-form.com |
|
|
10
|
+
| [@opentelemetry/api](https://www.npmjs.com/package/@opentelemetry/api) | 1.9.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/api |
|
|
11
|
+
| [@opentelemetry/api-logs](https://www.npmjs.com/package/@opentelemetry/api-logs) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/api-logs |
|
|
12
|
+
| [@opentelemetry/auto-instrumentations-node](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) | 0.67.2 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/auto-instrumentations-node#readme |
|
|
13
|
+
| [@opentelemetry/exporter-logs-otlp-proto](https://www.npmjs.com/package/@opentelemetry/exporter-logs-otlp-proto) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-logs-otlp-proto |
|
|
14
|
+
| [@opentelemetry/exporter-metrics-otlp-proto](https://www.npmjs.com/package/@opentelemetry/exporter-metrics-otlp-proto) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto |
|
|
15
|
+
| [@opentelemetry/exporter-trace-otlp-proto](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-proto) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto |
|
|
16
|
+
| [@opentelemetry/instrumentation](https://www.npmjs.com/package/@opentelemetry/instrumentation) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation |
|
|
17
|
+
| [@opentelemetry/instrumentation-express](https://www.npmjs.com/package/@opentelemetry/instrumentation-express) | 0.57.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-express#readme |
|
|
18
|
+
| [@opentelemetry/instrumentation-http](https://www.npmjs.com/package/@opentelemetry/instrumentation-http) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http |
|
|
19
|
+
| [@opentelemetry/resources](https://www.npmjs.com/package/@opentelemetry/resources) | 2.2.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources |
|
|
20
|
+
| [@opentelemetry/sdk-logs](https://www.npmjs.com/package/@opentelemetry/sdk-logs) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/sdk-logs |
|
|
21
|
+
| [@opentelemetry/sdk-metrics](https://www.npmjs.com/package/@opentelemetry/sdk-metrics) | 2.2.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/sdk-metrics |
|
|
22
|
+
| [@opentelemetry/sdk-node](https://www.npmjs.com/package/@opentelemetry/sdk-node) | 0.208.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node |
|
|
23
|
+
| [@opentelemetry/semantic-conventions](https://www.npmjs.com/package/@opentelemetry/semantic-conventions) | 1.38.0 | Apache-2.0 | https://github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions |
|
|
24
|
+
| [@radix-ui/react-accordion](https://www.npmjs.com/package/@radix-ui/react-accordion) | 1.2.12 | MIT | https://radix-ui.com/primitives |
|
|
25
|
+
| [@radix-ui/react-alert-dialog](https://www.npmjs.com/package/@radix-ui/react-alert-dialog) | 1.1.15 | MIT | https://radix-ui.com/primitives |
|
|
26
|
+
| [@radix-ui/react-aspect-ratio](https://www.npmjs.com/package/@radix-ui/react-aspect-ratio) | 1.1.8 | MIT | https://radix-ui.com/primitives |
|
|
27
|
+
| [@radix-ui/react-avatar](https://www.npmjs.com/package/@radix-ui/react-avatar) | 1.1.11 | MIT | https://radix-ui.com/primitives |
|
|
28
|
+
| [@radix-ui/react-checkbox](https://www.npmjs.com/package/@radix-ui/react-checkbox) | 1.3.3 | MIT | https://radix-ui.com/primitives |
|
|
29
|
+
| [@radix-ui/react-collapsible](https://www.npmjs.com/package/@radix-ui/react-collapsible) | 1.1.12 | MIT | https://radix-ui.com/primitives |
|
|
30
|
+
| [@radix-ui/react-context-menu](https://www.npmjs.com/package/@radix-ui/react-context-menu) | 2.2.16 | MIT | https://radix-ui.com/primitives |
|
|
31
|
+
| [@radix-ui/react-dialog](https://www.npmjs.com/package/@radix-ui/react-dialog) | 1.1.15 | MIT | https://radix-ui.com/primitives |
|
|
32
|
+
| [@radix-ui/react-dropdown-menu](https://www.npmjs.com/package/@radix-ui/react-dropdown-menu) | 2.1.16 | MIT | https://radix-ui.com/primitives |
|
|
33
|
+
| [@radix-ui/react-hover-card](https://www.npmjs.com/package/@radix-ui/react-hover-card) | 1.1.15 | MIT | https://radix-ui.com/primitives |
|
|
34
|
+
| [@radix-ui/react-label](https://www.npmjs.com/package/@radix-ui/react-label) | 2.1.8 | MIT | https://radix-ui.com/primitives |
|
|
35
|
+
| [@radix-ui/react-menubar](https://www.npmjs.com/package/@radix-ui/react-menubar) | 1.1.16 | MIT | https://radix-ui.com/primitives |
|
|
36
|
+
| [@radix-ui/react-navigation-menu](https://www.npmjs.com/package/@radix-ui/react-navigation-menu) | 1.2.14 | MIT | https://radix-ui.com/primitives |
|
|
37
|
+
| [@radix-ui/react-popover](https://www.npmjs.com/package/@radix-ui/react-popover) | 1.1.15 | MIT | https://radix-ui.com/primitives |
|
|
38
|
+
| [@radix-ui/react-progress](https://www.npmjs.com/package/@radix-ui/react-progress) | 1.1.8 | MIT | https://radix-ui.com/primitives |
|
|
39
|
+
| [@radix-ui/react-radio-group](https://www.npmjs.com/package/@radix-ui/react-radio-group) | 1.3.8 | MIT | https://radix-ui.com/primitives |
|
|
40
|
+
| [@radix-ui/react-scroll-area](https://www.npmjs.com/package/@radix-ui/react-scroll-area) | 1.2.10 | MIT | https://radix-ui.com/primitives |
|
|
41
|
+
| [@radix-ui/react-select](https://www.npmjs.com/package/@radix-ui/react-select) | 2.2.6 | MIT | https://radix-ui.com/primitives |
|
|
42
|
+
| [@radix-ui/react-separator](https://www.npmjs.com/package/@radix-ui/react-separator) | 1.1.8 | MIT | https://radix-ui.com/primitives |
|
|
43
|
+
| [@radix-ui/react-slider](https://www.npmjs.com/package/@radix-ui/react-slider) | 1.3.6 | MIT | https://radix-ui.com/primitives |
|
|
44
|
+
| [@radix-ui/react-slot](https://www.npmjs.com/package/@radix-ui/react-slot) | 1.2.3, 1.2.4 | MIT | https://radix-ui.com/primitives |
|
|
45
|
+
| [@radix-ui/react-switch](https://www.npmjs.com/package/@radix-ui/react-switch) | 1.2.6 | MIT | https://radix-ui.com/primitives |
|
|
46
|
+
| [@radix-ui/react-tabs](https://www.npmjs.com/package/@radix-ui/react-tabs) | 1.1.13 | MIT | https://radix-ui.com/primitives |
|
|
47
|
+
| [@radix-ui/react-toggle](https://www.npmjs.com/package/@radix-ui/react-toggle) | 1.1.10 | MIT | https://radix-ui.com/primitives |
|
|
48
|
+
| [@radix-ui/react-toggle-group](https://www.npmjs.com/package/@radix-ui/react-toggle-group) | 1.1.11 | MIT | https://radix-ui.com/primitives |
|
|
49
|
+
| [@radix-ui/react-tooltip](https://www.npmjs.com/package/@radix-ui/react-tooltip) | 1.2.8 | MIT | https://radix-ui.com/primitives |
|
|
50
|
+
| [@tanstack/react-table](https://www.npmjs.com/package/@tanstack/react-table) | 8.21.3 | MIT | https://tanstack.com/table |
|
|
51
|
+
| [@tanstack/react-virtual](https://www.npmjs.com/package/@tanstack/react-virtual) | 3.13.12 | MIT | https://tanstack.com/virtual |
|
|
52
|
+
| [class-variance-authority](https://www.npmjs.com/package/class-variance-authority) | 0.7.1 | Apache-2.0 | https://github.com/joe-bell/cva#readme |
|
|
53
|
+
| [clsx](https://www.npmjs.com/package/clsx) | 2.1.1 | MIT | https://github.com/lukeed/clsx#readme |
|
|
54
|
+
| [cmdk](https://www.npmjs.com/package/cmdk) | 1.1.1 | MIT | https://github.com/pacocoursey/cmdk#readme |
|
|
55
|
+
| [date-fns](https://www.npmjs.com/package/date-fns) | 4.1.0 | MIT | https://github.com/date-fns/date-fns#readme |
|
|
56
|
+
| [dotenv](https://www.npmjs.com/package/dotenv) | 16.6.1 | BSD-2-Clause | https://github.com/motdotla/dotenv#readme |
|
|
57
|
+
| [embla-carousel-react](https://www.npmjs.com/package/embla-carousel-react) | 8.6.0 | MIT | https://www.embla-carousel.com |
|
|
58
|
+
| [express](https://www.npmjs.com/package/express) | 4.22.0 | MIT | http://expressjs.com/ |
|
|
59
|
+
| [fast-glob](https://www.npmjs.com/package/fast-glob) | 3.3.3 | MIT | https://github.com/mrmlnc/fast-glob#readme |
|
|
60
|
+
| [input-otp](https://www.npmjs.com/package/input-otp) | 1.4.2 | MIT | https://input-otp.rodz.dev/ |
|
|
61
|
+
| [lucide-react](https://www.npmjs.com/package/lucide-react) | 0.554.0 | ISC | https://lucide.dev |
|
|
62
|
+
| [next-themes](https://www.npmjs.com/package/next-themes) | 0.4.6 | MIT | https://github.com/pacocoursey/next-themes#readme |
|
|
63
|
+
| [pg](https://www.npmjs.com/package/pg) | 8.16.3 | MIT | https://github.com/brianc/node-postgres |
|
|
64
|
+
| [react-day-picker](https://www.npmjs.com/package/react-day-picker) | 9.12.0 | MIT | https://daypicker.dev |
|
|
65
|
+
| [react-hook-form](https://www.npmjs.com/package/react-hook-form) | 7.68.0 | MIT | https://react-hook-form.com |
|
|
66
|
+
| [react-resizable-panels](https://www.npmjs.com/package/react-resizable-panels) | 3.0.6 | MIT | https://github.com/bvaughn/react-resizable-panels#readme |
|
|
67
|
+
| [sonner](https://www.npmjs.com/package/sonner) | 2.0.7 | MIT | https://sonner.emilkowal.ski/ |
|
|
68
|
+
| [tailwind-merge](https://www.npmjs.com/package/tailwind-merge) | 3.4.0 | MIT | https://github.com/dcastil/tailwind-merge |
|
|
69
|
+
| [vaul](https://www.npmjs.com/package/vaul) | 1.1.2 | MIT | https://vaul.emilkowal.ski/ |
|
|
70
|
+
| [ws](https://www.npmjs.com/package/ws) | 8.18.3 | MIT | https://github.com/websockets/ws |
|
|
71
|
+
| [zod](https://www.npmjs.com/package/zod) | 4.1.13 | MIT | https://zod.dev |
|
|
72
|
+
| [zod-to-ts](https://www.npmjs.com/package/zod-to-ts) | 2.0.0 | MIT | https://github.com/sachinraja/zod-to-ts#readme |
|
|
73
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# AppKit
|
|
2
|
+
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> ## ⚠️ PREVIEW - NOT FOR PRODUCTION USE
|
|
5
|
+
>
|
|
6
|
+
> **This SDK is in preview and is subject to change without notice.**
|
|
7
|
+
>
|
|
8
|
+
> - ❌ **Do NOT use in production environments**
|
|
9
|
+
> - ⚠️ **Breaking changes may occur at any time**
|
|
10
|
+
> - 🔬 **APIs are experimental and unstable**
|
|
11
|
+
> - 📝 **Use for development and testing only**
|
|
12
|
+
>
|
|
13
|
+
|
|
14
|
+
## Contributing
|
|
15
|
+
|
|
16
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and contribution guidelines.
|
|
17
|
+
|
|
18
|
+
## Documentation
|
|
19
|
+
|
|
20
|
+
The `docs/` directory contains the AppKit documentation site, built with Docusaurus.
|
|
21
|
+
|
|
22
|
+
**Working with docs:**
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# From root
|
|
26
|
+
pnpm docs:dev # Start dev server
|
|
27
|
+
pnpm docs:build # Build docs
|
|
28
|
+
pnpm docs:serve # Serve built docs
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
See [docs/README.md](./docs/README.md) for more details.
|
|
32
|
+
|
|
33
|
+
👉 For AI/code assistants:
|
|
34
|
+
- Use [llms-compact.txt](./llms-compact.txt) for quick usage patterns.
|
|
35
|
+
- See [llms.txt](./llms.txt) for full guidance and anti-patterns.
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* CLI tool to setup CLAUDE.md for Databricks AppKit packages.
|
|
5
|
+
*
|
|
6
|
+
* This bin is included in both @databricks/appkit and @databricks/appkit-ui
|
|
7
|
+
* so it's available regardless of which package the user installs.
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
* npx appkit-setup # Show detected packages and content
|
|
11
|
+
* npx appkit-setup --write # Create or update CLAUDE.md file
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import fs from "node:fs";
|
|
15
|
+
import path from "node:path";
|
|
16
|
+
|
|
17
|
+
const PACKAGES = [
|
|
18
|
+
{ name: "@databricks/appkit", description: "Backend SDK" },
|
|
19
|
+
{
|
|
20
|
+
name: "@databricks/appkit-ui",
|
|
21
|
+
description: "UI Integration, Charts, Tables, SSE, and more.",
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
const SECTION_START = "<!-- appkit-instructions-start -->";
|
|
26
|
+
const SECTION_END = "<!-- appkit-instructions-end -->";
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Find which AppKit packages are installed by checking for CLAUDE.md
|
|
30
|
+
*/
|
|
31
|
+
function findInstalledPackages() {
|
|
32
|
+
const cwd = process.cwd();
|
|
33
|
+
const installed = [];
|
|
34
|
+
|
|
35
|
+
for (const pkg of PACKAGES) {
|
|
36
|
+
const claudePath = path.join(cwd, "node_modules", pkg.name, "CLAUDE.md");
|
|
37
|
+
if (fs.existsSync(claudePath)) {
|
|
38
|
+
installed.push(pkg);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return installed;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Generate the AppKit section content
|
|
47
|
+
*/
|
|
48
|
+
function generateSection(packages) {
|
|
49
|
+
const links = packages
|
|
50
|
+
.map((pkg) => {
|
|
51
|
+
const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;
|
|
52
|
+
return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;
|
|
53
|
+
})
|
|
54
|
+
.join("\n");
|
|
55
|
+
|
|
56
|
+
return `${SECTION_START}
|
|
57
|
+
## Databricks AppKit
|
|
58
|
+
|
|
59
|
+
This project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:
|
|
60
|
+
|
|
61
|
+
${links}
|
|
62
|
+
${SECTION_END}`;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Generate standalone CLAUDE.md content (when no existing file)
|
|
67
|
+
*/
|
|
68
|
+
function generateStandalone(packages) {
|
|
69
|
+
const links = packages
|
|
70
|
+
.map((pkg) => {
|
|
71
|
+
const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;
|
|
72
|
+
return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;
|
|
73
|
+
})
|
|
74
|
+
.join("\n");
|
|
75
|
+
|
|
76
|
+
return `# AI Assistant Instructions
|
|
77
|
+
|
|
78
|
+
${SECTION_START}
|
|
79
|
+
## Databricks AppKit
|
|
80
|
+
|
|
81
|
+
This project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:
|
|
82
|
+
|
|
83
|
+
${links}
|
|
84
|
+
${SECTION_END}
|
|
85
|
+
`;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Update existing content with AppKit section
|
|
90
|
+
*/
|
|
91
|
+
function updateContent(existingContent, packages) {
|
|
92
|
+
const newSection = generateSection(packages);
|
|
93
|
+
|
|
94
|
+
// Check if AppKit section already exists
|
|
95
|
+
const startIndex = existingContent.indexOf(SECTION_START);
|
|
96
|
+
const endIndex = existingContent.indexOf(SECTION_END);
|
|
97
|
+
|
|
98
|
+
if (startIndex !== -1 && endIndex !== -1) {
|
|
99
|
+
// Replace existing section
|
|
100
|
+
const before = existingContent.substring(0, startIndex);
|
|
101
|
+
const after = existingContent.substring(endIndex + SECTION_END.length);
|
|
102
|
+
return before + newSection + after;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Append section to end
|
|
106
|
+
return `${existingContent.trimEnd()}\n\n${newSection}\n`;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Main CLI logic
|
|
111
|
+
*/
|
|
112
|
+
function main() {
|
|
113
|
+
const args = process.argv.slice(2);
|
|
114
|
+
const shouldWrite = args.includes("--write") || args.includes("-w");
|
|
115
|
+
const help = args.includes("--help") || args.includes("-h");
|
|
116
|
+
|
|
117
|
+
if (help) {
|
|
118
|
+
console.log(`
|
|
119
|
+
Usage: npx appkit-setup [options]
|
|
120
|
+
|
|
121
|
+
Options:
|
|
122
|
+
--write, -w Create or update CLAUDE.md file in current directory
|
|
123
|
+
--help, -h Show this help message
|
|
124
|
+
|
|
125
|
+
Examples:
|
|
126
|
+
npx appkit-setup # Show detected packages and preview content
|
|
127
|
+
npx appkit-setup --write # Create or update CLAUDE.md
|
|
128
|
+
`);
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Find installed packages
|
|
133
|
+
const installed = findInstalledPackages();
|
|
134
|
+
|
|
135
|
+
if (installed.length === 0) {
|
|
136
|
+
console.log("No @databricks/appkit packages found in node_modules.");
|
|
137
|
+
console.log("\nMake sure you've installed at least one of:");
|
|
138
|
+
PACKAGES.forEach((pkg) => {
|
|
139
|
+
console.log(` - ${pkg.name}`);
|
|
140
|
+
});
|
|
141
|
+
process.exit(1);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
console.log("Detected packages:");
|
|
145
|
+
installed.forEach((pkg) => {
|
|
146
|
+
console.log(` ✓ ${pkg.name}`);
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
const claudePath = path.join(process.cwd(), "CLAUDE.md");
|
|
150
|
+
const existingContent = fs.existsSync(claudePath)
|
|
151
|
+
? fs.readFileSync(claudePath, "utf-8")
|
|
152
|
+
: null;
|
|
153
|
+
|
|
154
|
+
let finalContent;
|
|
155
|
+
let action;
|
|
156
|
+
|
|
157
|
+
if (existingContent) {
|
|
158
|
+
finalContent = updateContent(existingContent, installed);
|
|
159
|
+
action = existingContent.includes(SECTION_START) ? "Updated" : "Added to";
|
|
160
|
+
} else {
|
|
161
|
+
finalContent = generateStandalone(installed);
|
|
162
|
+
action = "Created";
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (shouldWrite) {
|
|
166
|
+
fs.writeFileSync(claudePath, finalContent);
|
|
167
|
+
console.log(`\n✓ ${action} CLAUDE.md`);
|
|
168
|
+
console.log(` Path: ${claudePath}`);
|
|
169
|
+
} else {
|
|
170
|
+
console.log("\nTo create/update CLAUDE.md, run:");
|
|
171
|
+
console.log(" npx appkit-setup --write\n");
|
|
172
|
+
|
|
173
|
+
if (existingContent) {
|
|
174
|
+
console.log(
|
|
175
|
+
`This will ${
|
|
176
|
+
existingContent.includes(SECTION_START)
|
|
177
|
+
? "update the existing"
|
|
178
|
+
: "add a new"
|
|
179
|
+
} AppKit section.\n`,
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
console.log("Preview of AppKit section:\n");
|
|
184
|
+
console.log("─".repeat(50));
|
|
185
|
+
console.log(generateSection(installed));
|
|
186
|
+
console.log("─".repeat(50));
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
main();
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { DATE_FIELD_PATTERNS, NAME_FIELD_PATTERNS } from "../constants.js";
|
|
2
|
+
import { Field, Table as Table$1 } from "apache-arrow";
|
|
3
|
+
|
|
4
|
+
//#region src/js/arrow/arrow-client.d.ts
|
|
5
|
+
declare class ArrowClient {
|
|
6
|
+
/**
|
|
7
|
+
* Processes an Arrow IPC buffer into a Table.
|
|
8
|
+
* Lazily loads the Apache Arrow library on first use.
|
|
9
|
+
*
|
|
10
|
+
* @param buffer - The Arrow IPC format buffer
|
|
11
|
+
* @returns Promise resolving to an Arrow Table
|
|
12
|
+
*/
|
|
13
|
+
static processArrowBuffer(buffer: Uint8Array): Promise<Table$1>;
|
|
14
|
+
static fetchAndProcessArrow(url: string, headers?: Record<string, string>): Promise<Table$1>;
|
|
15
|
+
static extractArrowFields(table: Table$1): {
|
|
16
|
+
name: string;
|
|
17
|
+
type: any;
|
|
18
|
+
}[];
|
|
19
|
+
static extractArrowColumns(table: Table$1): Record<string, any>;
|
|
20
|
+
/**
|
|
21
|
+
* Extracts chart data from Arrow table.
|
|
22
|
+
* Uses get(i) to properly handle complex types like Decimal128.
|
|
23
|
+
* Applies decimal scaling for DECIMAL types.
|
|
24
|
+
*
|
|
25
|
+
* Note: This method assumes Arrow has been loaded (via processArrowBuffer).
|
|
26
|
+
*
|
|
27
|
+
* @returns xData for axis, yDataMap for series data
|
|
28
|
+
*/
|
|
29
|
+
static extractChartData(table: Table$1, xKey: string, yKeys: string[]): {
|
|
30
|
+
xData: (string | number)[];
|
|
31
|
+
yDataMap: Record<string, (string | number)[]>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Automatically detect which fields to use for chart axes from an Arrow table
|
|
35
|
+
* Uses the schema's type information for accurate field detection
|
|
36
|
+
*
|
|
37
|
+
* Note: This method assumes Arrow has been loaded (via processArrowBuffer).
|
|
38
|
+
*
|
|
39
|
+
* @param table - Arrow Table to analyze
|
|
40
|
+
* @param orientation - Chart orientation ("vertical" for time-series, "horizontal" for categorical)
|
|
41
|
+
* @returns Object containing the detected fields
|
|
42
|
+
* @example
|
|
43
|
+
* // Time-series data
|
|
44
|
+
* detectFieldsFromArrow(timeSeriesTable)
|
|
45
|
+
* // { xField: "date", yFields: ["revenue", "cost"], chartType: "timeseries" }
|
|
46
|
+
*
|
|
47
|
+
* // Categorical data
|
|
48
|
+
* detectFieldsFromArrow(categoricalTable)
|
|
49
|
+
* // { xField: "app_name", yFields: ["totalSpend"], chartType: "categorical" }
|
|
50
|
+
*/
|
|
51
|
+
static detectFieldsFromArrow(table: Table$1, orientation?: "vertical" | "horizontal"): DetectedFields & {
|
|
52
|
+
chartType: "timeseries" | "categorical";
|
|
53
|
+
};
|
|
54
|
+
static fetchArrow(url: string, headers?: Record<string, string>): Promise<Uint8Array>;
|
|
55
|
+
}
|
|
56
|
+
interface DetectedFields {
|
|
57
|
+
/** X field */
|
|
58
|
+
xField: string;
|
|
59
|
+
/** Y fields */
|
|
60
|
+
yFields: string[];
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { ArrowClient, DetectedFields, type Field, type Table$1 as Table };
|
|
64
|
+
//# sourceMappingURL=arrow-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-client.d.ts","names":[],"sources":["../../../src/js/arrow/arrow-client.ts"],"sourcesContent":[],"mappings":";;;;AAmBa,cAAA,WAAA,CAAW;EAAA;;;;;;;SAwCW,kBAAA,CAAA,MAAA,EAhCO,UAgCP,CAAA,EAhCoB,OAgCpB,CAhC4B,OAgC5B,CAAA;SASC,oBAAA,CAAA,GAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAxBtB,MAwBsB,CAAA,MAAA,EAAA,MAAA,CAAA,CAAA,EAvB/B,OAuB+B,CAvBvB,OAuBuB,CAAA;SAAQ,kBAAA,CAAA,KAAA,EATT,OASS,CAAA,EAAA;IAuBX,IAAA,EAAA,MAAA;IA6MrB,IAAA,EAAA,GAAA;KAtJD;SAEN,mBAAA,CAAA,KAAA,EAhF+B,OAgF/B,CAAA,EAhFuC,MAgFvC,CAAA,MAAA,EAAA,GAAA,CAAA;;;;;AAsIL;;;;;iCA/LiC;;cA6MrB;;;;;;;;;;;;;;;;;;;;sCAtJD,mDAEN;;;2CA8GS,yBACT,QAAQ;;UAuBI,cAAA"}
|