@cratis/components 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/PivotViewer/PivotViewer.css +1258 -0
- package/dist/cjs/PivotViewer/components/Spinner.css +77 -0
- package/dist/cjs/TimeMachine/EventsView.css +213 -0
- package/dist/cjs/TimeMachine/TimeMachine.css +567 -0
- package/dist/esm/PivotViewer/PivotViewer.css +1258 -0
- package/dist/esm/PivotViewer/components/Spinner.css +77 -0
- package/dist/esm/TimeMachine/EventsView.css +213 -0
- package/dist/esm/TimeMachine/TimeMachine.css +567 -0
- package/package.json +3 -4
- package/.storybook/main.ts +0 -24
- package/CommandDialog/CommandDialog.stories.tsx +0 -25
- package/CommandDialog/CommandDialog.tsx +0 -161
- package/CommandDialog/index.ts +0 -4
- package/CommandForm/CommandForm.stories.tsx +0 -24
- package/CommandForm/CommandForm.tsx +0 -266
- package/CommandForm/CommandFormField.tsx +0 -27
- package/CommandForm/CommandFormFields.tsx +0 -142
- package/CommandForm/DatePickerField.tsx +0 -57
- package/CommandForm/DropdownField.tsx +0 -65
- package/CommandForm/InputTextField.tsx +0 -62
- package/CommandForm/SliderField.tsx +0 -68
- package/CommandForm/index.ts +0 -10
- package/Common/ErrorBoundary.stories.tsx +0 -10
- package/Common/ErrorBoundary.tsx +0 -41
- package/Common/FormElement.stories.tsx +0 -10
- package/Common/FormElement.tsx +0 -20
- package/Common/Page.stories.tsx +0 -10
- package/Common/Page.tsx +0 -21
- package/Common/index.ts +0 -6
- package/DataPage/DataPage.stories.tsx +0 -10
- package/DataPage/DataPage.tsx +0 -191
- package/DataPage/index.ts +0 -4
- package/DataTables/DataTableForObservableQuery.stories.tsx +0 -10
- package/DataTables/DataTableForObservableQuery.tsx +0 -97
- package/DataTables/DataTableForQuery.stories.tsx +0 -10
- package/DataTables/DataTableForQuery.tsx +0 -97
- package/DataTables/index.ts +0 -5
- package/Dialogs/BusyIndicatorDialog.stories.tsx +0 -26
- package/Dialogs/BusyIndicatorDialog.tsx +0 -26
- package/Dialogs/ConfirmationDialog.stories.tsx +0 -36
- package/Dialogs/ConfirmationDialog.tsx +0 -75
- package/Dialogs/index.ts +0 -5
- package/Dropdown/Dropdown.tsx +0 -23
- package/Dropdown/index.ts +0 -4
- package/PivotViewer/PivotViewer.stories.tsx +0 -24
- package/PivotViewer/PivotViewer.tsx +0 -791
- package/PivotViewer/components/AxisLabels.tsx +0 -69
- package/PivotViewer/components/DetailPanel.tsx +0 -108
- package/PivotViewer/components/FilterPanel.tsx +0 -189
- package/PivotViewer/components/FilterPanelContainer.tsx +0 -10
- package/PivotViewer/components/PivotCanvas.tsx +0 -660
- package/PivotViewer/components/PivotViewerMain.tsx +0 -229
- package/PivotViewer/components/RangeHistogramFilter.tsx +0 -220
- package/PivotViewer/components/Spinner.tsx +0 -21
- package/PivotViewer/components/Toolbar.tsx +0 -130
- package/PivotViewer/components/ToolbarContainer.tsx +0 -10
- package/PivotViewer/components/index.ts +0 -12
- package/PivotViewer/components/pivot/animation.ts +0 -108
- package/PivotViewer/components/pivot/buckets.ts +0 -152
- package/PivotViewer/components/pivot/colorResolver.ts +0 -67
- package/PivotViewer/components/pivot/constants.ts +0 -46
- package/PivotViewer/components/pivot/sprites.ts +0 -265
- package/PivotViewer/components/pivot/visibility.ts +0 -319
- package/PivotViewer/constants.ts +0 -9
- package/PivotViewer/engine/layout.ts +0 -149
- package/PivotViewer/engine/pivot.worker.ts +0 -86
- package/PivotViewer/engine/store.ts +0 -437
- package/PivotViewer/engine/types.ts +0 -255
- package/PivotViewer/hooks/index.ts +0 -13
- package/PivotViewer/hooks/useContainerDimensions.ts +0 -45
- package/PivotViewer/hooks/useDimensionState.ts +0 -53
- package/PivotViewer/hooks/useFilterOptions.ts +0 -36
- package/PivotViewer/hooks/useFilterPanelDrag.ts +0 -49
- package/PivotViewer/hooks/useFilterState.ts +0 -106
- package/PivotViewer/hooks/useFilteredData.ts +0 -119
- package/PivotViewer/hooks/usePanning.ts +0 -163
- package/PivotViewer/hooks/usePivotEngine.ts +0 -252
- package/PivotViewer/hooks/useSelectedItem.ts +0 -402
- package/PivotViewer/hooks/useWheelZoom.ts +0 -114
- package/PivotViewer/hooks/useZoomState.ts +0 -34
- package/PivotViewer/index.ts +0 -7
- package/PivotViewer/types.ts +0 -59
- package/PivotViewer/utils/animations.ts +0 -249
- package/PivotViewer/utils/constants.ts +0 -20
- package/PivotViewer/utils/index.ts +0 -6
- package/PivotViewer/utils/selection.ts +0 -292
- package/PivotViewer/utils/utils.ts +0 -259
- package/TimeMachine/EventsView.stories.tsx +0 -10
- package/TimeMachine/EventsView.tsx +0 -119
- package/TimeMachine/Properties.stories.tsx +0 -10
- package/TimeMachine/Properties.tsx +0 -98
- package/TimeMachine/ReadModelView.stories.tsx +0 -10
- package/TimeMachine/ReadModelView.tsx +0 -143
- package/TimeMachine/TimeMachine.stories.tsx +0 -10
- package/TimeMachine/TimeMachine.tsx +0 -244
- package/TimeMachine/index.ts +0 -8
- package/TimeMachine/types.ts +0 -23
- package/global.d.ts +0 -11
- package/index.ts +0 -22
- package/useOverlayZIndex.ts +0 -32
- package/vite.config.ts +0 -80
package/vite.config.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
-
|
|
4
|
-
import { defineConfig } from 'vitest/config';
|
|
5
|
-
import react from "@vitejs/plugin-react";
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { EmitMetadataPlugin } from '@cratis/arc.vite';
|
|
8
|
-
import tailwindcss from "@tailwindcss/vite";
|
|
9
|
-
|
|
10
|
-
export default defineConfig({
|
|
11
|
-
optimizeDeps: {
|
|
12
|
-
exclude: ['tslib']
|
|
13
|
-
},
|
|
14
|
-
esbuild: {
|
|
15
|
-
supported: {
|
|
16
|
-
'top-level-await': true,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
build: {
|
|
20
|
-
outDir: './wwwroot',
|
|
21
|
-
assetsDir: '',
|
|
22
|
-
modulePreload: false,
|
|
23
|
-
target: 'esnext',
|
|
24
|
-
minify: false,
|
|
25
|
-
cssCodeSplit: false,
|
|
26
|
-
rollupOptions: {
|
|
27
|
-
external: [
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
test: {
|
|
32
|
-
globals: true,
|
|
33
|
-
environment: 'node',
|
|
34
|
-
isolate: false,
|
|
35
|
-
fileParallelism: false,
|
|
36
|
-
pool: 'threads',
|
|
37
|
-
coverage: {
|
|
38
|
-
provider: 'v8',
|
|
39
|
-
exclude: [
|
|
40
|
-
'**/for_*/**',
|
|
41
|
-
'**/wwwroot/**',
|
|
42
|
-
'**/api/**',
|
|
43
|
-
'**/Api/**',
|
|
44
|
-
'**/dist/**',
|
|
45
|
-
'**/*.test.tsx',
|
|
46
|
-
'**/*.d.ts',
|
|
47
|
-
'**/declarations.ts',
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
exclude: ['**/dist/**', '**/node_modules/**', 'node_modules/**', '**/wwwroot/**', 'wwwroot/**', '**/given/**'],
|
|
51
|
-
include: ['**/for_*/when_*/**/*.ts', '**/for_*/**/when_*.ts'],
|
|
52
|
-
setupFiles: `${__dirname}/vitest.setup.ts`
|
|
53
|
-
},
|
|
54
|
-
plugins: [
|
|
55
|
-
react(),
|
|
56
|
-
tailwindcss(),
|
|
57
|
-
EmitMetadataPlugin() as any
|
|
58
|
-
],
|
|
59
|
-
server: {
|
|
60
|
-
port: process.env.PORT ? parseInt(process.env.PORT) : 9000,
|
|
61
|
-
open: false,
|
|
62
|
-
proxy: {
|
|
63
|
-
'/api': {
|
|
64
|
-
target: 'http://localhost:5000',
|
|
65
|
-
ws: true
|
|
66
|
-
},
|
|
67
|
-
'/swagger': {
|
|
68
|
-
target: 'http://localhost:5000'
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
resolve: {
|
|
73
|
-
alias: {
|
|
74
|
-
'Api': path.resolve('./Api'),
|
|
75
|
-
'Components': path.resolve('./Components'),
|
|
76
|
-
'Layout': path.resolve('./Layout'),
|
|
77
|
-
'Features': path.resolve('./Features')
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
});
|