@cwellt_software/cwellt-reactjs-lib 1.6.3 → 1.7.0
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/index.cjs.js +2479 -146
- package/dist/index.css +1 -1
- package/dist/index.d.ts +679 -2
- package/dist/index.es.js +2465 -147
- package/dist/src/components/custom/report-viewer/CwReportGauge.d.ts +19 -0
- package/dist/src/components/custom/report-viewer/CwReportGauge.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportLineChart.d.ts +21 -0
- package/dist/src/components/custom/report-viewer/CwReportLineChart.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportPage.d.ts +36 -0
- package/dist/src/components/custom/report-viewer/CwReportPage.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportParameterForm.d.ts +26 -0
- package/dist/src/components/custom/report-viewer/CwReportParameterForm.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportPieChart.d.ts +13 -0
- package/dist/src/components/custom/report-viewer/CwReportPieChart.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportToolbar.d.ts +40 -0
- package/dist/src/components/custom/report-viewer/CwReportToolbar.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/CwReportViewer.d.ts +50 -0
- package/dist/src/components/custom/report-viewer/CwReportViewer.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/ReportItem.d.ts +21 -0
- package/dist/src/components/custom/report-viewer/ReportItem.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/ReportTextbox.d.ts +10 -0
- package/dist/src/components/custom/report-viewer/ReportTextbox.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlChartMarkers.d.ts +26 -0
- package/dist/src/components/custom/report-viewer/logic/rdlChartMarkers.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlChartScale.d.ts +75 -0
- package/dist/src/components/custom/report-viewer/logic/rdlChartScale.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlFind.d.ts +38 -0
- package/dist/src/components/custom/report-viewer/logic/rdlFind.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlGauge.d.ts +40 -0
- package/dist/src/components/custom/report-viewer/logic/rdlGauge.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlListMarkers.d.ts +12 -0
- package/dist/src/components/custom/report-viewer/logic/rdlListMarkers.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlNumberFormat.d.ts +8 -0
- package/dist/src/components/custom/report-viewer/logic/rdlNumberFormat.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlPageGeometry.d.ts +38 -0
- package/dist/src/components/custom/report-viewer/logic/rdlPageGeometry.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlParameterValues.d.ts +42 -0
- package/dist/src/components/custom/report-viewer/logic/rdlParameterValues.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlStyle.d.ts +62 -0
- package/dist/src/components/custom/report-viewer/logic/rdlStyle.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlTableLayout.d.ts +33 -0
- package/dist/src/components/custom/report-viewer/logic/rdlTableLayout.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlToggles.d.ts +20 -0
- package/dist/src/components/custom/report-viewer/logic/rdlToggles.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/rdlUnits.d.ts +9 -0
- package/dist/src/components/custom/report-viewer/logic/rdlUnits.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/reportOutputGuard.d.ts +20 -0
- package/dist/src/components/custom/report-viewer/logic/reportOutputGuard.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/logic/reportViewerLayout.d.ts +17 -0
- package/dist/src/components/custom/report-viewer/logic/reportViewerLayout.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/rdlTypes.d.ts +333 -0
- package/dist/src/components/custom/report-viewer/rdlTypes.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/reportChartShared.d.ts +53 -0
- package/dist/src/components/custom/report-viewer/reportChartShared.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/reportRenderContext.d.ts +25 -0
- package/dist/src/components/custom/report-viewer/reportRenderContext.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/useReportParameterForm.d.ts +30 -0
- package/dist/src/components/custom/report-viewer/useReportParameterForm.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/useReportViewerState.d.ts +74 -0
- package/dist/src/components/custom/report-viewer/useReportViewerState.d.ts.map +1 -0
- package/dist/src/components/custom/report-viewer/useSidebarResize.d.ts +22 -0
- package/dist/src/components/custom/report-viewer/useSidebarResize.d.ts.map +1 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltipManager.d.ts +1 -1
- package/dist/src/components/display/data/tooltip_manager/CwTooltipManager.d.ts.map +1 -1
- package/dist/src/index.d.ts +15 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/PlaygroundApp.d.ts.map +1 -1
- package/dist/src/playground/pages/ReportViewerPage.d.ts +8 -0
- package/dist/src/playground/pages/ReportViewerPage.d.ts.map +1 -0
- package/dist/src/playground/pages/reportViewerFakeData.d.ts +13 -0
- package/dist/src/playground/pages/reportViewerFakeData.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlChartMarkers.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlChartMarkers.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlChartScale.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlChartScale.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlFind.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlFind.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlGauge.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlGauge.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlNumberFormat.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlNumberFormat.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlParameterValues.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlParameterValues.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlTableLayout.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlTableLayout.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlText.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlText.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlToggles.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlToggles.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/rdlUnits.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/rdlUnits.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/reportOutputGuard.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/reportOutputGuard.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/reportViewerLayout.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/reportViewerLayout.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/useReportParameterForm.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/useReportParameterForm.test.d.ts.map +1 -0
- package/dist/test/components/custom/report-viewer/useReportViewerState.test.d.ts +2 -0
- package/dist/test/components/custom/report-viewer/useReportViewerState.test.d.ts.map +1 -0
- package/dist/test/helpers/renderHookHeadless.d.ts +8 -0
- package/dist/test/helpers/renderHookHeadless.d.ts.map +1 -0
- package/package.json +89 -89
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type RdlParameterEdit, type RdlParameterEdits } from "./logic/rdlParameterValues";
|
|
2
|
+
import type { RdlParameterValues, RdlReportParameters } from "./rdlTypes";
|
|
3
|
+
/** The host's requests the parameter form sends out. */
|
|
4
|
+
export interface ReportParameterFormOptions {
|
|
5
|
+
/** A parameter other parameters depend on changed: the host answers with a new `form`. */
|
|
6
|
+
onResolve: (values: RdlParameterValues) => void;
|
|
7
|
+
/** "View report" with valid values. */
|
|
8
|
+
onRender: (values: RdlParameterValues) => void;
|
|
9
|
+
}
|
|
10
|
+
/** What `useReportParameterForm` returns: `CwReportParameterForm` (and `CwReportViewer`) take it as a prop. */
|
|
11
|
+
export interface ReportParameterFormController {
|
|
12
|
+
/** The parameter form the editors belong to (the hook's `form` argument); null while it loads for the first time. */
|
|
13
|
+
form: RdlReportParameters | null;
|
|
14
|
+
edits: RdlParameterEdits;
|
|
15
|
+
/** Client-side errors, shown once the user tried to view the report. */
|
|
16
|
+
errors: Record<string, string>;
|
|
17
|
+
/** Sets a parameter's editor value; `commit` re-resolves the form at once when other parameters depend on it. */
|
|
18
|
+
setEdit: (name: string, edit: RdlParameterEdit, commit: boolean) => void;
|
|
19
|
+
/** Commits a typed value (on blur): re-resolves when it changed and other parameters depend on it. */
|
|
20
|
+
commit: (name: string) => void;
|
|
21
|
+
/** Validates and, when valid, hands the values to `onRender`. */
|
|
22
|
+
submit: () => void;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Editor state of the report parameter form, owned by the host and handed to `CwReportParameterForm`
|
|
26
|
+
* as `controller`. A new form object from the host (after a resolve) resets the editors to the values
|
|
27
|
+
* it carries; the server echoes the submitted values, so nothing is lost.
|
|
28
|
+
*/
|
|
29
|
+
export declare function useReportParameterForm(form: RdlReportParameters | null, options: ReportParameterFormOptions): ReportParameterFormController;
|
|
30
|
+
//# sourceMappingURL=useReportParameterForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportParameterForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/report-viewer/useReportParameterForm.ts"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE1E,wDAAwD;AACxD,MAAM,WAAW,0BAA0B;IAC1C,0FAA0F;IAC1F,SAAS,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,uCAAuC;IACvC,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C;AAED,+GAA+G;AAC/G,MAAM,WAAW,6BAA6B;IAC7C,qHAAqH;IACrH,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,iBAAiB,CAAC;IACzB,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,iHAAiH;IACjH,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,sGAAsG;IACtG,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,iEAAiE;IACjE,MAAM,EAAE,MAAM,IAAI,CAAC;CACnB;AAcD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,EAAE,OAAO,EAAE,0BAA0B,GAAG,6BAA6B,CAgD3I"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type RdlFindMatch } from "./logic/rdlFind";
|
|
2
|
+
import type { CwReportZoom } from "./logic/rdlPageGeometry";
|
|
3
|
+
import { type ReportOutputAction } from "./logic/reportOutputGuard";
|
|
4
|
+
import { type RdlFlippedToggles } from "./logic/rdlToggles";
|
|
5
|
+
import type { RdlExportFormat, RdlRenderResult } from "./rdlTypes";
|
|
6
|
+
/** The host's requests the viewer state sends out. */
|
|
7
|
+
export interface ReportViewerStateOptions {
|
|
8
|
+
/** Go to a page (1-based) of the current render. */
|
|
9
|
+
onPage: (pageNumber: number) => void;
|
|
10
|
+
/**
|
|
11
|
+
* Drilldown on the server, like the old ReportViewer: when given, a toggle click asks the host for
|
|
12
|
+
* page `pageNumber` of the current render drawn with `toggles` (the flipped toggle ids, see
|
|
13
|
+
* `flippedToggleIds`), and page changes go here too while any toggle is flipped. The host answers
|
|
14
|
+
* with a new `result` (same RenderId). Without it, toggles are flipped in the browser.
|
|
15
|
+
*/
|
|
16
|
+
onView?: (toggles: readonly string[], pageNumber: number) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Export of the current render. `toggles` are the drilldown toggle ids the user flipped relative to
|
|
19
|
+
* the initial state, so the file can show what the screen shows (`flippedToggleIds`).
|
|
20
|
+
*/
|
|
21
|
+
onExport: (format: RdlExportFormat, toggles: readonly string[]) => void;
|
|
22
|
+
/** Print (a PDF export) of the current render with the flipped toggle ids, as for `onExport`. */
|
|
23
|
+
onPrint: (toggles: readonly string[]) => void;
|
|
24
|
+
/** Zoom the viewer opens with (default 100%). */
|
|
25
|
+
initialZoom?: CwReportZoom;
|
|
26
|
+
}
|
|
27
|
+
/** What `useReportViewerState` returns: `CwReportViewer` takes it as its `state` prop. */
|
|
28
|
+
export interface ReportViewerState {
|
|
29
|
+
/** The render result this state belongs to (the hook's `result` argument). */
|
|
30
|
+
result: RdlRenderResult | null;
|
|
31
|
+
/** Whether drilldown runs on the server (`onView` given). */
|
|
32
|
+
serverToggles: boolean;
|
|
33
|
+
zoom: CwReportZoom;
|
|
34
|
+
setZoom: (zoom: CwReportZoom) => void;
|
|
35
|
+
/** The toggles the user flipped in this render (sent with export, print and server views). */
|
|
36
|
+
flipped: RdlFlippedToggles;
|
|
37
|
+
/** The flips the page is drawn with: `flipped`, or none when the server already drew the page for them. */
|
|
38
|
+
drawnFlips: RdlFlippedToggles;
|
|
39
|
+
/** A toggle click: with `onView` flips it and asks the host for the page drawn that way, else flips it in the browser. */
|
|
40
|
+
toggle: (toggleId: string) => void;
|
|
41
|
+
/** Replaces the flipped toggles of the current render, e.g. to restore them after a failed `onView` (`[]` resets). */
|
|
42
|
+
setFlipped: (toggleIds: readonly string[]) => void;
|
|
43
|
+
/** A page change: through `onView` while toggles are flipped and `onView` is given, else `onPage`. */
|
|
44
|
+
goToPage: (pageNumber: number) => void;
|
|
45
|
+
findText: string;
|
|
46
|
+
setFindText: (text: string) => void;
|
|
47
|
+
findMatches: RdlFindMatch[];
|
|
48
|
+
findIndex: number;
|
|
49
|
+
findNext: () => void;
|
|
50
|
+
parametersVisible: boolean;
|
|
51
|
+
toggleParameters: () => void;
|
|
52
|
+
permissionDialogOpen: boolean;
|
|
53
|
+
closePermissionDialog: () => void;
|
|
54
|
+
/** An export or print waiting for the user to confirm it despite the render's warnings. */
|
|
55
|
+
pendingOutput: ReportOutputAction | null;
|
|
56
|
+
/** Export or print: a render with warnings asks first (`pendingOutput`), else it runs at once. */
|
|
57
|
+
requestOutput: (action: ReportOutputAction) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Runs the pending export or print with the flipped toggle ids. Synchronous, so called inside a
|
|
60
|
+
* click it lets the host's print open its tab past the popup blocker.
|
|
61
|
+
*/
|
|
62
|
+
confirmOutput: () => void;
|
|
63
|
+
cancelOutput: () => void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Client-side state of the report viewer around one render result, owned by the host and handed to
|
|
67
|
+
* `CwReportViewer` as `state`. The drilldown toggles belong to a render: a new RenderId (new render,
|
|
68
|
+
* sort) starts with none flipped, paging and server views of the same render keep them. With
|
|
69
|
+
* `onView` the host re-renders the page for the flipped toggles, so the page and find use it as drawn
|
|
70
|
+
* (`drawnFlips` = none). The find position belongs to the query and the page shown. The permission
|
|
71
|
+
* dialog is dismissed per render, and a pending export / print question is dropped by a new render.
|
|
72
|
+
*/
|
|
73
|
+
export declare function useReportViewerState(result: RdlRenderResult | null, options: ReportViewerStateOptions): ReportViewerState;
|
|
74
|
+
//# sourceMappingURL=useReportViewerState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportViewerState.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/report-viewer/useReportViewerState.ts"],"names":[],"mappings":"AACA,OAAO,EAAgD,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAA4C,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtG,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEnE,sDAAsD;AACtD,MAAM,WAAW,wBAAwB;IACxC,oDAAoD;IACpD,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE;;;OAGG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;IACxE,iGAAiG;IACjG,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,iDAAiD;IACjD,WAAW,CAAC,EAAE,YAAY,CAAC;CAC3B;AAED,0FAA0F;AAC1F,MAAM,WAAW,iBAAiB;IACjC,8EAA8E;IAC9E,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,6DAA6D;IAC7D,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACtC,8FAA8F;IAC9F,OAAO,EAAE,iBAAiB,CAAC;IAC3B,2GAA2G;IAC3G,UAAU,EAAE,iBAAiB,CAAC;IAC9B,0HAA0H;IAC1H,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sHAAsH;IACtH,UAAU,EAAE,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;IACnD,sGAAsG;IACtG,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,2FAA2F;IAC3F,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACzC,kGAAkG;IAClG,aAAa,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACpD;;;OAGG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;CACzB;AAID;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,EAAE,OAAO,EAAE,wBAAwB,GAAG,iBAAiB,CAsGzH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type KeyboardEvent, type PointerEvent } from "react";
|
|
2
|
+
export interface SidebarResize {
|
|
3
|
+
/** Current sidebar width in CSS pixels, always inside [min, max]. */
|
|
4
|
+
width: number;
|
|
5
|
+
/** A pointer drag is running. */
|
|
6
|
+
resizing: boolean;
|
|
7
|
+
/** Handlers for the resize handle (pointer drag and arrow / Home / End keys). */
|
|
8
|
+
handleProps: {
|
|
9
|
+
onPointerDown: (e: PointerEvent<HTMLElement>) => void;
|
|
10
|
+
onPointerMove: (e: PointerEvent<HTMLElement>) => void;
|
|
11
|
+
onPointerUp: (e: PointerEvent<HTMLElement>) => void;
|
|
12
|
+
onPointerCancel: (e: PointerEvent<HTMLElement>) => void;
|
|
13
|
+
onKeyDown: (e: KeyboardEvent<HTMLElement>) => void;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Width of a left sidebar resized by dragging the handle on its right edge, like the master panel
|
|
18
|
+
* of CwMasterDetail. The handle captures the pointer, so the drag keeps going outside it; the
|
|
19
|
+
* keyboard steps the width for users who cannot drag.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useSidebarResize(initialWidth: number, minWidth: number, maxWidth: number): SidebarResize;
|
|
22
|
+
//# sourceMappingURL=useSidebarResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSidebarResize.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/report-viewer/useSidebarResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG7F,MAAM,WAAW,aAAa;IAC7B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,iFAAiF;IACjF,WAAW,EAAE;QACZ,aAAa,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QACtD,aAAa,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QACtD,WAAW,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QACpD,eAAe,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QACxD,SAAS,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KACnD,CAAC;CACF;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,aAAa,CAuCxG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
3
|
-
export declare const showTooltip: (content: React.ReactNode, triggerElement:
|
|
3
|
+
export declare const showTooltip: (content: React.ReactNode, triggerElement: Element, position?: TooltipPosition, dissapearsWhenHover?: boolean, displayInline?: boolean, constraintElement?: HTMLElement | null) => void;
|
|
4
4
|
export declare const hideTooltip: (delay?: number) => void;
|
|
5
5
|
export declare const ensureTooltipManager: () => void;
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTooltipManager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/tooltip_manager/CwTooltipManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAMzF,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAgC3D,eAAO,MAAM,WAAW,GACvB,SAAS,KAAK,CAAC,SAAS,EACxB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"CwTooltipManager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/tooltip_manager/CwTooltipManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAMzF,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAgC3D,eAAO,MAAM,WAAW,GACvB,SAAS,KAAK,CAAC,SAAS,EACxB,gBAAgB,OAAO,EACvB,WAAU,eAAyB,EACnC,sBAAqB,OAAe,EACpC,gBAAe,OAAe,EAC9B,oBAAoB,WAAW,GAAG,IAAI,SAwBtC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAO,MAAY,SAa9C,CAAC;AA0CF,eAAO,MAAM,oBAAoB,YAahC,CAAC;AAmDF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA2LpC,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -114,6 +114,21 @@ import { PinRowHeader, PinRowHeaderProps } from "./components/custom/super-sched
|
|
|
114
114
|
import { SuperScheduler, SuperSchedulerProps } from "./components/custom/super-scheduler/SuperScheduler";
|
|
115
115
|
import { OnClearPinned, OnPinRow, OnUnpinRow } from "./components/custom/super-scheduler/SuperSchedulerEvents";
|
|
116
116
|
export type { IndicatorRowDm } from "./components/custom/scheduler-new/presentation/components/row/IndicatorRow";
|
|
117
|
+
export { CwReportViewer, type CwReportViewerProps } from "./components/custom/report-viewer/CwReportViewer";
|
|
118
|
+
export { CwReportPage, type CwReportPageProps } from "./components/custom/report-viewer/CwReportPage";
|
|
119
|
+
export { CwReportToolbar, type CwReportToolbarProps } from "./components/custom/report-viewer/CwReportToolbar";
|
|
120
|
+
export { CwReportParameterForm, type CwReportParameterFormProps } from "./components/custom/report-viewer/CwReportParameterForm";
|
|
121
|
+
export { useReportViewerState, type ReportViewerState, type ReportViewerStateOptions } from "./components/custom/report-viewer/useReportViewerState";
|
|
122
|
+
export { useReportParameterForm, type ReportParameterFormController, type ReportParameterFormOptions } from "./components/custom/report-viewer/useReportParameterForm";
|
|
123
|
+
export type { ReportOutputAction } from "./components/custom/report-viewer/logic/reportOutputGuard";
|
|
124
|
+
export { CwReportLineChart, type CwReportLineChartProps } from "./components/custom/report-viewer/CwReportLineChart";
|
|
125
|
+
export { CwReportPieChart, type CwReportPieChartProps } from "./components/custom/report-viewer/CwReportPieChart";
|
|
126
|
+
export { CwReportGauge, type CwReportGaugeProps } from "./components/custom/report-viewer/CwReportGauge";
|
|
127
|
+
export { toRdlParameterValues, initialParameterEdits, type RdlEditorScalar, type RdlParameterEdit, type RdlParameterEdits } from "./components/custom/report-viewer/logic/rdlParameterValues";
|
|
128
|
+
export { findInPage, type RdlFindMatch } from "./components/custom/report-viewer/logic/rdlFind";
|
|
129
|
+
export { isRdlVisible, flipToggle, type RdlFlippedToggles } from "./components/custom/report-viewer/logic/rdlToggles";
|
|
130
|
+
export { REPORT_ZOOM_STEPS, type CwReportZoom, type RdlPageMargins } from "./components/custom/report-viewer/logic/rdlPageGeometry";
|
|
131
|
+
export type { RdlRenderResult, RdlRenderPage, RdlRenderPageSection, RdlToggleRef, RdlRenderItemBase, RdlRenderItem, RdlRenderItemKind, RdlRenderTextbox, RdlRenderParagraph, RdlRenderRun, RdlRenderRectangle, RdlRenderLine, RdlRenderImage, RdlRenderTable, RdlRenderTableRow, RdlRenderTableCell, RdlRenderChart, RdlRenderChartSeries, RdlRenderGaugePanel, RdlRenderGauge, RdlRenderGaugeScale, RdlRenderGaugePointer, RdlRenderGaugeRange, RdlRenderPlaceholder, RdlRenderStyle, RdlRenderBorder, RdlSortRequest, RdlParameterValue, RdlReportParameters, RdlReportParameter, RdlParameterOption, RdlParameterValues, RdlParameterValuesRequest, RdlReportDefinition, RdlPageSettings, RdlUnsupportedFeature, RdlExportFormat } from "./components/custom/report-viewer/rdlTypes";
|
|
117
132
|
export { CwFindAirport } from "./components/custom/find-airport/CwFindAirportComp";
|
|
118
133
|
export { CwFindCrewmember } from "./components/custom/find-crewmember/CwFindCrewmemberComp";
|
|
119
134
|
export { OnClearPinned, OnPinRow, OnUnpinRow, PinRowHeader, SuperScheduler, type PinRowHeaderProps, type SuperSchedulerProps };
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,aAAa,CAAC;AAKrB,OAAO,EAAE,YAAY,EAAE,MAA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AAC;AAEF,OAAO,EACN,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,qEAAqE,CAAC;AAG7E,YAAY,EACX,iBAAiB,EACjB,MAAM,+EAA+E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlaygroundApp.d.ts","sourceRoot":"","sources":["../../../src/playground/PlaygroundApp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlaygroundApp.d.ts","sourceRoot":"","sources":["../../../src/playground/PlaygroundApp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA6BjD,OAAO,kBAAkB,CAAC;AA4E1B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAwBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Playground for the RDL report viewer: the page plays the WinOps host (PR 8/10) against a fake
|
|
4
|
+
* render tree, with the latency, errors and the permission dialog the real API can produce. Like a
|
|
5
|
+
* host it owns the viewer and parameter form state hooks and passes them in.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ReportViewerPage: React.FC;
|
|
8
|
+
//# sourceMappingURL=ReportViewerPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportViewerPage.d.ts","sourceRoot":"","sources":["../../../../src/playground/pages/ReportViewerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAYxE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAiHpC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RdlParameterValues, RdlRenderResult, RdlReportDefinition, RdlReportParameters } from "../../components/custom/report-viewer/rdlTypes";
|
|
2
|
+
export interface FakeSort {
|
|
3
|
+
sortId: string;
|
|
4
|
+
direction: "Ascending" | "Descending";
|
|
5
|
+
}
|
|
6
|
+
export declare function fakeRender(pageNumber: number, sort: FakeSort | null, permissionDenied: boolean, newRender: boolean, renderId?: string): RdlRenderResult;
|
|
7
|
+
export declare const fakeDefinition: RdlReportDefinition;
|
|
8
|
+
/** The parameter form; `values` are the submitted values of a resolve (null = defaults). */
|
|
9
|
+
export declare function fakeParameters(values: RdlParameterValues | null): RdlReportParameters;
|
|
10
|
+
/** A form with nothing for the user to fill in: only server-filled parameters (the viewer shows no sidebar). */
|
|
11
|
+
export declare function fakeServerOnlyParameters(): RdlReportParameters;
|
|
12
|
+
export declare const fakeImages: Record<string, string>;
|
|
13
|
+
//# sourceMappingURL=reportViewerFakeData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportViewerFakeData.d.ts","sourceRoot":"","sources":["../../../../src/playground/pages/reportViewerFakeData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,kBAAkB,EAIlB,eAAe,EAKf,mBAAmB,EAEnB,mBAAmB,EAEnB,MAAM,gDAAgD,CAAC;AAgFxD,MAAM,WAAW,QAAQ;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,WAAW,GAAG,YAAY,CAAC;CACtC;AAoSD,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,eAAe,CAiBvJ;AAED,eAAO,MAAM,cAAc,EAAE,mBAW5B,CAAC;AAYF,4FAA4F;AAC5F,wBAAgB,cAAc,CAAC,MAAM,EAAE,kBAAkB,GAAG,IAAI,GAAG,mBAAmB,CA6CrF;AAED,gHAAgH;AAChH,wBAAgB,wBAAwB,IAAI,mBAAmB,CAG9D;AAKD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlChartMarkers.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlChartMarkers.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlChartScale.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlChartScale.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlFind.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlFind.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlGauge.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlGauge.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlNumberFormat.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlNumberFormat.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlParameterValues.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlParameterValues.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlTableLayout.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlTableLayout.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlText.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlText.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlToggles.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlToggles.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdlUnits.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/rdlUnits.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportOutputGuard.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/reportOutputGuard.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportViewerLayout.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/reportViewerLayout.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportParameterForm.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/useReportParameterForm.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportViewerState.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/report-viewer/useReportViewerState.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type RenderHookResult } from "@testing-library/react";
|
|
2
|
+
/** Installs the `window` / `document` stand-ins for the test file; call once at its top level. */
|
|
3
|
+
export declare function setUpHeadlessReact(): void;
|
|
4
|
+
/** `renderHook` on a container that needs no DOM; requires `setUpHeadlessReact()` in the file. */
|
|
5
|
+
export declare function renderHookHeadless<Result, Props>(callback: (props: Props) => Result, options?: {
|
|
6
|
+
initialProps?: Props;
|
|
7
|
+
}): RenderHookResult<Result, Props>;
|
|
8
|
+
//# sourceMappingURL=renderHookHeadless.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderHookHeadless.d.ts","sourceRoot":"","sources":["../../../test/helpers/renderHookHeadless.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAoB3E,kGAAkG;AAClG,wBAAgB,kBAAkB,IAAI,IAAI,CAQzC;AAED,kGAAkG;AAClG,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,KAAK,EAC/C,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,EAClC,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,KAAK,CAAA;CAAO,GACpC,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,CAEjC"}
|
package/package.json
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cwellt_software/cwellt-reactjs-lib",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"module": "dist/index.es.js",
|
|
9
|
-
"main": "dist/index.cjs.js",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"source": "src/index.tsx",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.es.js",
|
|
16
|
-
"require": "./dist/index.cjs.js"
|
|
17
|
-
},
|
|
18
|
-
"./dist/index.css": "./dist/index.css"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "vite",
|
|
22
|
-
"storybook": "storybook dev -p 6006",
|
|
23
|
-
"build-storybook": "storybook build",
|
|
24
|
-
"start": "rollup -c --watch",
|
|
25
|
-
"test": "vitest run",
|
|
26
|
-
"lint": "eslint **/*.{ts,tsx} --fix",
|
|
27
|
-
"build": "npm run lint && npm test && rollup -c && npm run tokens:check",
|
|
28
|
-
"release": "rollup -c && npm run tokens:check",
|
|
29
|
-
"link": "npm link",
|
|
30
|
-
"build:quick": "rollup -c",
|
|
31
|
-
"tokens:check": "node scripts/token-parity.mjs --check",
|
|
32
|
-
"tokens:baseline": "node scripts/token-parity.mjs --write-baseline",
|
|
33
|
-
"publish:npm": "npm install && npm run build && npm pack --dry-run && npm publish --access public"
|
|
34
|
-
},
|
|
35
|
-
"peerDependencies": {
|
|
36
|
-
"react": "^18.3.1",
|
|
37
|
-
"react-dom": "^18.3.1"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@rollup/plugin-typescript": "12.3.0",
|
|
41
|
-
"@storybook/addon-docs": "10.6.0",
|
|
42
|
-
"@storybook/react-vite": "10.6.0",
|
|
43
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
44
|
-
"@testing-library/react": "^16.1.0",
|
|
45
|
-
"@types/eslint__js": "^8.42.3",
|
|
46
|
-
"@types/postcss-import": "^14.0.3",
|
|
47
|
-
"@types/postcss-url": "^10.0.4",
|
|
48
|
-
"@types/react": "^18.3.12",
|
|
49
|
-
"@types/react-dom": "^18.3.1",
|
|
50
|
-
"@types/react-window": "^1.8.8",
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
52
|
-
"@typescript-eslint/parser": "^8.14.0",
|
|
53
|
-
"@vitejs/plugin-react": "^5.0.4",
|
|
54
|
-
"cssnano": "^7.1.4",
|
|
55
|
-
"csstype": "^3.2.3",
|
|
56
|
-
"culori": "^4.0.2",
|
|
57
|
-
"eslint": "^9.14.0",
|
|
58
|
-
"eslint-plugin-react": "^7.37.2",
|
|
59
|
-
"globals": "^15.12.0",
|
|
60
|
-
"postcss": "^8.4.49",
|
|
61
|
-
"postcss-import": "^16.1.0",
|
|
62
|
-
"postcss-modules": "^6.0.1",
|
|
63
|
-
"postcss-url": "^10.1.3",
|
|
64
|
-
"rollup": "^4.26.0",
|
|
65
|
-
"rollup-plugin-dts": "^6.2.3",
|
|
66
|
-
"storybook": "10.6.0",
|
|
67
|
-
"stylelint": "^16.10.0",
|
|
68
|
-
"stylelint-config-standard": "^36.0.1",
|
|
69
|
-
"temporal-polyfill": "^0.3.2",
|
|
70
|
-
"tslib": "^2.8.1",
|
|
71
|
-
"typescript": "6.0.2",
|
|
72
|
-
"typescript-eslint": "^8.56.0",
|
|
73
|
-
"typescript-plugin-css-modules": "^5.1.0",
|
|
74
|
-
"vite": "^7.1.8",
|
|
75
|
-
"vitest": "^4.1.8"
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@react-buddy/ide-toolbox": "^2.4.0",
|
|
79
|
-
"date-fns": "^2.30.0",
|
|
80
|
-
"react-day-picker": "^9.0.0",
|
|
81
|
-
"react-draggable": "^4.4.6",
|
|
82
|
-
"react-window": "^1.8.11"
|
|
83
|
-
},
|
|
84
|
-
"overrides": {
|
|
85
|
-
"postcss-url": {
|
|
86
|
-
"minimatch": "3.1.5"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cwellt_software/cwellt-reactjs-lib",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"module": "dist/index.es.js",
|
|
9
|
+
"main": "dist/index.cjs.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"source": "src/index.tsx",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.es.js",
|
|
16
|
+
"require": "./dist/index.cjs.js"
|
|
17
|
+
},
|
|
18
|
+
"./dist/index.css": "./dist/index.css"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build",
|
|
24
|
+
"start": "rollup -c --watch",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"lint": "eslint **/*.{ts,tsx} --fix",
|
|
27
|
+
"build": "npm run lint && npm test && rollup -c && npm run tokens:check",
|
|
28
|
+
"release": "rollup -c && npm run tokens:check",
|
|
29
|
+
"link": "npm link",
|
|
30
|
+
"build:quick": "rollup -c",
|
|
31
|
+
"tokens:check": "node scripts/token-parity.mjs --check",
|
|
32
|
+
"tokens:baseline": "node scripts/token-parity.mjs --write-baseline",
|
|
33
|
+
"publish:npm": "npm install && npm run build && npm pack --dry-run && npm publish --access public"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"react": "^18.3.1",
|
|
37
|
+
"react-dom": "^18.3.1"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@rollup/plugin-typescript": "12.3.0",
|
|
41
|
+
"@storybook/addon-docs": "10.6.0",
|
|
42
|
+
"@storybook/react-vite": "10.6.0",
|
|
43
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
44
|
+
"@testing-library/react": "^16.1.0",
|
|
45
|
+
"@types/eslint__js": "^8.42.3",
|
|
46
|
+
"@types/postcss-import": "^14.0.3",
|
|
47
|
+
"@types/postcss-url": "^10.0.4",
|
|
48
|
+
"@types/react": "^18.3.12",
|
|
49
|
+
"@types/react-dom": "^18.3.1",
|
|
50
|
+
"@types/react-window": "^1.8.8",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
52
|
+
"@typescript-eslint/parser": "^8.14.0",
|
|
53
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
54
|
+
"cssnano": "^7.1.4",
|
|
55
|
+
"csstype": "^3.2.3",
|
|
56
|
+
"culori": "^4.0.2",
|
|
57
|
+
"eslint": "^9.14.0",
|
|
58
|
+
"eslint-plugin-react": "^7.37.2",
|
|
59
|
+
"globals": "^15.12.0",
|
|
60
|
+
"postcss": "^8.4.49",
|
|
61
|
+
"postcss-import": "^16.1.0",
|
|
62
|
+
"postcss-modules": "^6.0.1",
|
|
63
|
+
"postcss-url": "^10.1.3",
|
|
64
|
+
"rollup": "^4.26.0",
|
|
65
|
+
"rollup-plugin-dts": "^6.2.3",
|
|
66
|
+
"storybook": "10.6.0",
|
|
67
|
+
"stylelint": "^16.10.0",
|
|
68
|
+
"stylelint-config-standard": "^36.0.1",
|
|
69
|
+
"temporal-polyfill": "^0.3.2",
|
|
70
|
+
"tslib": "^2.8.1",
|
|
71
|
+
"typescript": "6.0.2",
|
|
72
|
+
"typescript-eslint": "^8.56.0",
|
|
73
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
74
|
+
"vite": "^7.1.8",
|
|
75
|
+
"vitest": "^4.1.8"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@react-buddy/ide-toolbox": "^2.4.0",
|
|
79
|
+
"date-fns": "^2.30.0",
|
|
80
|
+
"react-day-picker": "^9.0.0",
|
|
81
|
+
"react-draggable": "^4.4.6",
|
|
82
|
+
"react-window": "^1.8.11"
|
|
83
|
+
},
|
|
84
|
+
"overrides": {
|
|
85
|
+
"postcss-url": {
|
|
86
|
+
"minimatch": "3.1.5"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|