@cwellt_software/cwellt-reactjs-lib 1.6.2 → 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 +2522 -166
- package/dist/index.css +1 -1
- package/dist/index.d.ts +697 -5
- package/dist/index.es.js +2508 -167
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.d.ts.map +1 -1
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts +2 -0
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts.map +1 -1
- 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/custom/scheduler-new/presentation/Scheduler.stories.d.ts +18 -1
- package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts +2 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts +15 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts +0 -1
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts.map +1 -1
- package/dist/src/components/display/data/table/CwTable.d.ts.map +1 -1
- package/dist/src/components/display/data/table/CwTable.stories.d.ts +2 -0
- package/dist/src/components/display/data/table/CwTable.stories.d.ts.map +1 -1
- 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/components/layout/card/CwCard.d.ts +2 -2
- package/dist/src/components/layout/card/CwCard.d.ts.map +1 -1
- package/dist/src/components/layout/card/CwCard.stories.d.ts +4 -2
- package/dist/src/components/layout/card/CwCard.stories.d.ts.map +1 -1
- package/dist/src/index.d.ts +16 -1
- 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 +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type MouseEvent, type ReactNode } from "react";
|
|
2
|
+
import { type RdlMarkerShape } from "./logic/rdlChartMarkers";
|
|
3
|
+
import styles from "./cw-report-chart.module.css";
|
|
4
|
+
/** Chart text size in points (scaled with the zoom). */
|
|
5
|
+
export declare const CHART_FONT_PT = 8;
|
|
6
|
+
export declare function chartFontPx(zoom: number): number;
|
|
7
|
+
export declare function estimateTextWidth(text: string, fontPx: number): number;
|
|
8
|
+
/** Hover handlers that show the shared CwTooltipManager tooltip over an SVG element. */
|
|
9
|
+
export declare function useChartTooltip(): {
|
|
10
|
+
show: (content: ReactNode) => (event: MouseEvent<SVGElement>) => void;
|
|
11
|
+
hide: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function tooltipContent(title: string, label: string, value: string): ReactNode;
|
|
14
|
+
export interface LegendEntry {
|
|
15
|
+
label: string;
|
|
16
|
+
color: string;
|
|
17
|
+
/** The series' marker: the legend shows it instead of the color square. */
|
|
18
|
+
marker?: RdlMarkerShape | null;
|
|
19
|
+
}
|
|
20
|
+
export interface LegendLayout {
|
|
21
|
+
height: number;
|
|
22
|
+
/** Width of the widest row. */
|
|
23
|
+
width: number;
|
|
24
|
+
items: {
|
|
25
|
+
entry: LegendEntry;
|
|
26
|
+
x: number;
|
|
27
|
+
y: number;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
30
|
+
/** Lays legend entries out in rows that wrap at `width`, each row aligned within `width` (centered by default). */
|
|
31
|
+
export declare function layoutLegend(entries: readonly LegendEntry[], width: number, fontPx: number, align?: "start" | "center" | "end"): LegendLayout;
|
|
32
|
+
export declare function ChartLegend({ layout, top, left, fontPx }: {
|
|
33
|
+
layout: LegendLayout;
|
|
34
|
+
top: number;
|
|
35
|
+
left?: number;
|
|
36
|
+
fontPx: number;
|
|
37
|
+
}): import("react").JSX.Element;
|
|
38
|
+
/** The chart titles, one line each, centered. Returns the height they take. */
|
|
39
|
+
export declare function ChartTitles({ titles, width, fontPx }: {
|
|
40
|
+
titles: readonly string[];
|
|
41
|
+
width: number;
|
|
42
|
+
fontPx: number;
|
|
43
|
+
}): import("react").JSX.Element;
|
|
44
|
+
export declare function titlesHeight(titles: readonly string[], fontPx: number): number;
|
|
45
|
+
/** A centered message instead of the plot (dataset error or no rows). */
|
|
46
|
+
export declare function ChartMessage({ text, width, height, fontPx }: {
|
|
47
|
+
text: string;
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
fontPx: number;
|
|
51
|
+
}): import("react").JSX.Element;
|
|
52
|
+
export { styles as chartStyles };
|
|
53
|
+
//# sourceMappingURL=reportChartShared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportChartShared.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/report-viewer/reportChartShared.tsx"],"names":[],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KAAgB,GAC1C,YAAY,CA6Bd;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,IAAQ,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,+BAalI;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,+BAiBlH;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE9E;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,+BAM5H;AAED,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RdlFindMatch } from "./logic/rdlFind";
|
|
2
|
+
import type { RdlFlippedToggles } from "./logic/rdlToggles";
|
|
3
|
+
/** A find match inside one run, with its position in the page's match list. */
|
|
4
|
+
export interface RdlRunHighlight {
|
|
5
|
+
start: number;
|
|
6
|
+
length: number;
|
|
7
|
+
matchIndex: number;
|
|
8
|
+
}
|
|
9
|
+
/** What every item of a page needs, so it does not travel through each level as props. */
|
|
10
|
+
export interface ReportRenderContextValue {
|
|
11
|
+
zoom: number;
|
|
12
|
+
/** Culture of the report, for the value formats the server leaves to the viewer (chart axes). */
|
|
13
|
+
culture?: string | null;
|
|
14
|
+
flipped: RdlFlippedToggles;
|
|
15
|
+
onToggle?: (toggleId: string) => void;
|
|
16
|
+
onSort?: (sortId: string) => void;
|
|
17
|
+
getImageUrl?: (imageId: string) => string;
|
|
18
|
+
highlights: ReadonlyMap<string, RdlRunHighlight[]>;
|
|
19
|
+
activeMatchIndex: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const ReportRenderContext: import("react").Context<ReportRenderContextValue>;
|
|
22
|
+
export declare function useReportRender(): ReportRenderContextValue;
|
|
23
|
+
/** Groups the page's matches by run key. */
|
|
24
|
+
export declare function highlightsByRun(matches: readonly RdlFindMatch[]): Map<string, RdlRunHighlight[]>;
|
|
25
|
+
//# sourceMappingURL=reportRenderContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportRenderContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/report-viewer/reportRenderContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,0FAA0F;AAC1F,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;IACnD,gBAAgB,EAAE,MAAM,CAAC;CACzB;AAKD,eAAO,MAAM,mBAAmB,mDAK9B,CAAC;AAEH,wBAAgB,eAAe,IAAI,wBAAwB,CAE1D;AAED,4CAA4C;AAC5C,wBAAgB,eAAe,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAQhG"}
|
|
@@ -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,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D;;;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,4 +1,5 @@
|
|
|
1
1
|
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type SchedulerEventCornerMarker } from "./components/row/Event";
|
|
2
3
|
interface SchedulerDemoProps {
|
|
3
4
|
rowHeightRem: number;
|
|
4
5
|
rowHeaderWidth: number | string;
|
|
@@ -6,13 +7,21 @@ interface SchedulerDemoProps {
|
|
|
6
7
|
groupRowColors: boolean;
|
|
7
8
|
/** Colour bars shown instead of the event name; each event takes 2 to 4 of them. */
|
|
8
9
|
rectangleColors?: string[];
|
|
10
|
+
/** `highlightColor` of the first row header. */
|
|
11
|
+
highlightColor?: string;
|
|
12
|
+
/** `cornerMarker`s handed out in turn to every second event. */
|
|
13
|
+
cornerMarkers?: SchedulerEventCornerMarker[];
|
|
14
|
+
/** Gives every event one of the `UNDERLAYS` drawings, in turn. */
|
|
15
|
+
showUnderlay?: boolean;
|
|
16
|
+
/** Two-line `label` instead of `name`. */
|
|
17
|
+
twoLineLabel?: boolean;
|
|
9
18
|
}
|
|
10
19
|
/**
|
|
11
20
|
* Smoke story: the library's own fake presenter feeds rows, random events and one background
|
|
12
21
|
* event, so the scheduler renders without a backend. Right-click and drag call into the
|
|
13
22
|
* presenter's demo handlers.
|
|
14
23
|
*/
|
|
15
|
-
declare function SchedulerDemo({ rowHeightRem, rowHeaderWidth, maxEventHeightRem, groupRowColors, rectangleColors }: SchedulerDemoProps): import("react").JSX.Element;
|
|
24
|
+
declare function SchedulerDemo({ rowHeightRem, rowHeaderWidth, maxEventHeightRem, groupRowColors, rectangleColors, highlightColor, cornerMarkers, showUnderlay, twoLineLabel }: SchedulerDemoProps): import("react").JSX.Element;
|
|
16
25
|
declare const meta: {
|
|
17
26
|
title: string;
|
|
18
27
|
component: typeof SchedulerDemo;
|
|
@@ -42,4 +51,12 @@ type Story = StoryObj<typeof meta>;
|
|
|
42
51
|
export declare const Default: Story;
|
|
43
52
|
/** Events with `rectangleColors` render one equal-width colour bar per entry instead of their name. */
|
|
44
53
|
export declare const RectangleColors: Story;
|
|
54
|
+
/** `highlightColor` on a row paints its header cell, here the first row with a danger surface token. */
|
|
55
|
+
export declare const HighlightedRow: Story;
|
|
56
|
+
/** `cornerMarker` sticks a dot `CwBadge` out of the top-right corner of the box: any badge colour, an optional own tooltip and `pulse` for the most urgent ones. The plain warning dot has no tooltip, so hover falls through to the event. */
|
|
57
|
+
export declare const CornerMarker: Story;
|
|
58
|
+
/** `underlay` draws any content inside the box behind the name and icons: here, in turn, a full hatch, vertical sectors, a progress fill, a hatched tail and a bottom band. The label gets a halo in the box colour so it reads over all of them; clicks, tooltip and context menu still reach the event. */
|
|
59
|
+
export declare const Underlay: Story;
|
|
60
|
+
/** `label` replaces `name` with own content, here a second line; it inherits the contrast text colour. Needs a row and event height that fit two lines. */
|
|
61
|
+
export declare const Label: Story;
|
|
45
62
|
//# sourceMappingURL=Scheduler.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scheduler.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-new/presentation/Scheduler.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Scheduler.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-new/presentation/Scheduler.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAkB,KAAK,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAIzF,UAAU,kBAAkB;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,aAAa,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC7C,kEAAkE;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAwBD;;;;GAIG;AACH,iBAAS,aAAa,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,kBAAkB,+BAmCzL;AAED,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAa0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,6KAA6K;AAC7K,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,uGAAuG;AACvG,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,cAAc,EAAE,KAI5B,CAAC;AAEF,+OAA+O;AAC/O,eAAO,MAAM,YAAY,EAAE,KAa1B,CAAC;AAEF,6SAA6S;AAC7S,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,2JAA2J;AAC3J,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC"}
|
package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export interface RowHeaderDm {
|
|
|
8
8
|
subtitle?: string;
|
|
9
9
|
subtitle2?: string;
|
|
10
10
|
rowHeightRem?: number;
|
|
11
|
+
/** Background of the header cell, any CSS colour (tokens included). Text contrast is up to the caller. */
|
|
12
|
+
highlightColor?: string;
|
|
11
13
|
}
|
|
12
14
|
export interface RowHeaderProps<T extends RowHeaderDm> {
|
|
13
15
|
value: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultRowHeader.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAIjF,MAAM,WAAW,WAAW;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultRowHeader.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAIjF,MAAM,WAAW,WAAW;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0GAA0G;IAC1G,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,WAAW;IACpD,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,CA2B5D,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type FC, type ReactElement, type ReactNode } from "react";
|
|
2
2
|
import type { OnEvent } from "../../../../../../common/functions/dsl/UiEventDSL";
|
|
3
3
|
import { type MenuOption } from "../../../../../control/action/contextmenu/CwAnchoredMenu";
|
|
4
|
+
import { type BadgeColorScheme } from "../../../../../display/text/badge/CwBadge";
|
|
4
5
|
export interface SchedulerEventDm {
|
|
5
6
|
id: string;
|
|
6
7
|
name: string;
|
|
@@ -16,6 +17,7 @@ export interface SchedulerEventDm {
|
|
|
16
17
|
width: number;
|
|
17
18
|
order?: number;
|
|
18
19
|
icons?: ReactElement;
|
|
20
|
+
/** Colour bars shown instead of `name` / `label`, one equal-width bar per entry. */
|
|
19
21
|
rectangleColors?: string[];
|
|
20
22
|
tooltip?: ReactNode;
|
|
21
23
|
/** Optional content rendered in the strip above the (centered) event box, within the event's lane. */
|
|
@@ -27,6 +29,19 @@ export interface SchedulerEventDm {
|
|
|
27
29
|
alpha?: number;
|
|
28
30
|
/** Extra inline styles applied to the event box. Merged last — overrides computed styles. */
|
|
29
31
|
style?: React.CSSProperties;
|
|
32
|
+
/** Dot `CwBadge` sticking out of the top-right corner of the box, e.g. a warning on the event. */
|
|
33
|
+
cornerMarker?: SchedulerEventCornerMarker;
|
|
34
|
+
/** Content drawn inside the box behind the name and icons (e.g. segments, a hatch over part of the bar). Clipped to the box, never catches the mouse. The label gets a halo in the box colour so it stays readable over it. */
|
|
35
|
+
underlay?: ReactNode;
|
|
36
|
+
/** Replaces `name` inside the box with own content (e.g. a second line). It inherits the contrast text colour. `rectangleColors` replaces both, so the two are mutually exclusive. */
|
|
37
|
+
label?: ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export interface SchedulerEventCornerMarker {
|
|
40
|
+
color: BadgeColorScheme;
|
|
41
|
+
/** Without it the marker lets clicks and hover through to the event. */
|
|
42
|
+
tooltip?: ReactNode;
|
|
43
|
+
/** Pulses the dot to tell the most urgent markers apart. */
|
|
44
|
+
pulse?: boolean;
|
|
30
45
|
}
|
|
31
46
|
export interface SchedulerEventState<T extends SchedulerEventDm> {
|
|
32
47
|
value: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/Event.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAEjF,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/Event.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAEjF,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,0DAA0D,CAAC;AAE3G,OAAO,EAAW,KAAK,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAc3F,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,kGAAkG;IAClG,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C,+NAA+N;IAC/N,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sLAAsL;IACtL,KAAK,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,0BAA0B;IAC1C,KAAK,EAAE,gBAAgB,CAAC;IACxB,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,gBAAgB;IAC9D,KAAK,EAAE,CAAC,CAAC;IACT,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAID,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CA0OpE,CAAC;AAEF,eAAO,MAAM,QAAQ,mCA8BpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinRowHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/super-scheduler/PinRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAiB,KAAK,UAAU,EAAC,MAAM,iDAAiD,CAAC;AAEhG,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,+DAA+D,CAAC;AAK1G,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"PinRowHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/super-scheduler/PinRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EA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H,wBAAgB,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,EAChC,OAAO,EACP,IAAI,EACJ,UAAkB,EAClB,eAAiC,EACjC,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,KAAK,EACL,kBAAkB,EAClB,EAAE,EACF,MAAM,EACN,UAA8C,EAC9C,MAAyB,EACzB,OAAe,EACf,YAAgB,EAChB,YAAY,EACZ,YAAoB,EACpB,SAAkB,EAClB,YAAY,EACZ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"CwTable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAOzE,MAAM,WAAW,MAAM,CAAC,CAAC,GAAG,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAEnB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD,QAAQ,C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M,EACN,UAA8C,EAC9C,MAAyB,EACzB,OAAe,EACf,YAAgB,EAChB,YAAY,EACZ,YAAoB,EACpB,SAAkB,EAClB,YAAY,EACZ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,qBAyW3B"}
|
|
@@ -45,6 +45,8 @@ export default meta;
|
|
|
45
45
|
type Story = StoryObj<typeof meta>;
|
|
46
46
|
/** Sortable columns, pagination with a page-size picker, column width classes. `loading` swaps the rows for skeletons. */
|
|
47
47
|
export declare const Default: Story;
|
|
48
|
+
/** Editing a row hands the table a new `data` array; the table stays on the current page. Deleting the last row of the last page moves to the page before. */
|
|
49
|
+
export declare const EditKeepsPage: Story;
|
|
48
50
|
/** Row actions go in the first column as icon buttons; `cw-table-col-buttons` lays them out. */
|
|
49
51
|
export declare const WithActions: Story;
|
|
50
52
|
/** `classNameRow` maps a row to one of the seven `cw-row-status-*` classes; one row per class, named after it, between two plain rows. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTable.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA8B,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"CwTable.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA8B,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAuDpE,QAAA,MAAM,IAAI;;eAGa,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,0HAA0H;AAC1H,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,8JAA8J;AAC9J,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAkBF,0IAA0I;AAC1I,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
|
|
@@ -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"}
|
|
@@ -55,8 +55,8 @@ export interface CwCardProps {
|
|
|
55
55
|
* onDelete={confirmDeletion}
|
|
56
56
|
* footer="Last updated: 2 days ago"
|
|
57
57
|
* chips={[
|
|
58
|
-
* { label: 'Important',
|
|
59
|
-
* { label: 'Custom',
|
|
58
|
+
* { label: 'Important', color: 'danger' },
|
|
59
|
+
* { label: 'Custom', color: 'custom', customColor: '#8a2be2' }
|
|
60
60
|
* ]}
|
|
61
61
|
* >
|
|
62
62
|
* <p>This is the main content of the card.</p>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/card/CwCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,M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C,EAAE,MAAM,IAAI,CAAC;IACrB,2GAA2G;IAC3G,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,gDAAgD;IAChD,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,qBAAqB;IACrB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,+CAA+C;IAC/C,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,mGAAmG;IACnG,MAAM,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqJxC,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const meta: {
|
|
|
12
12
|
footer: string;
|
|
13
13
|
chips: ({
|
|
14
14
|
label: string;
|
|
15
|
-
|
|
15
|
+
color: "primary";
|
|
16
16
|
} | {
|
|
17
17
|
label: string;
|
|
18
|
-
|
|
18
|
+
color: "neutral";
|
|
19
19
|
})[];
|
|
20
20
|
variant: "border";
|
|
21
21
|
clickable: false;
|
|
@@ -72,4 +72,6 @@ export declare const Row: Story;
|
|
|
72
72
|
/** `clickable` makes the whole card the target; the actions are left out so there is one thing to click. */
|
|
73
73
|
export declare const Clickable: Story;
|
|
74
74
|
export declare const Loading: Story;
|
|
75
|
+
/** Column cards stretched to one height in a grid row: the content grows, so every footer sits at the bottom. */
|
|
76
|
+
export declare const EqualHeightGrid: Story;
|
|
75
77
|
//# sourceMappingURL=CwCard.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwCard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/card/CwCard.stories.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AEnC,8HAA8H;AAC9H,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,oGAAoG;AACpG,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,GAAG,EAAE,KAEjB,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export { PRESET_LIBRARY_TEMPORAL, getPresetsByKeysTemporal } from "./components/
|
|
|
100
100
|
export type { DateRangePresetTemporal } from "./components/control/input/new-dates/dateRangePresetsTemporal";
|
|
101
101
|
export { Scheduler } from "./components/custom/scheduler-new/presentation/NewScheduler";
|
|
102
102
|
export { DefaultRowHeader, type RowHeaderDm, type RowHeaderProps } from "./components/custom/scheduler-new/presentation/components/row/DefaultRowHeader";
|
|
103
|
-
export { SchedulerEvent, type SchedulerEventDm } from "./components/custom/scheduler-new/presentation/components/row/Event";
|
|
103
|
+
export { SchedulerEvent, type SchedulerEventDm, type SchedulerEventCornerMarker } from "./components/custom/scheduler-new/presentation/components/row/Event";
|
|
104
104
|
export type { SchedulerEventState } from "./components/custom/scheduler-new/presentation/components/row/Event";
|
|
105
105
|
export type { SchedulerState } from "./components/custom/scheduler-new/presentation/state/ui/SchedulerState";
|
|
106
106
|
export type { SchedulerRowProps } from "./components/custom/scheduler-new/presentation/components/row/SchedulerRow";
|
|
@@ -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,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAG/E,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAQ7E,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AAGpF,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAGrF,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,E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AkB,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":""}
|