@sme.up/ketchup2 2.8.2 → 2.10.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/{abnfDiagram-VCTEODGH-DwAVRNNu.js → abnfDiagram-VCTEODGH-jIDWUpNo.js} +3 -3
- package/dist/{architectureDiagram-5GKGNRK7-N1aPr2hw.js → architectureDiagram-5GKGNRK7-C1xA1c3c.js} +5 -5
- package/dist/assets/img/calendar.png +0 -0
- package/dist/basic-components/button/button-types.d.ts +2 -2
- package/dist/basic-components/cell/cell-types.d.ts +7 -6
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +10 -4
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +2 -2
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-types.d.ts +6 -3
- package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
- package/dist/basic-components/radio/radio.d.ts.map +1 -1
- package/dist/basic-components/slider/slider.d.ts.map +1 -1
- package/dist/basic-components/text/text-types.d.ts +3 -1
- package/dist/basic-components/text/text-types.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +3 -3
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-I7D4REHJ-C0hlmHW8.js} +9 -9
- package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-7LVT6UL2-DwTMAxzR.js} +7 -7
- package/dist/{channel-CuEby436.js → channel-BD0NTdCR.js} +1 -1
- package/dist/{chunk-2E4U76K2-ComA5SPA.js → chunk-2E4U76K2-CMCSmJ5_.js} +6 -6
- package/dist/{chunk-4HAMMTFA-CZgIgrp_.js → chunk-4HAMMTFA-DBtV-sHy.js} +5 -5
- package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-75Z2AOVW-CLjRECiG.js} +1 -1
- package/dist/{chunk-CLGD4ZFX-CLGio9rD.js → chunk-CLGD4ZFX-DdntjE3C.js} +1 -1
- package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DU6HZSFF-D9v_2L4Z.js} +950 -860
- package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-F27PBJKO-DPhiW07t.js} +1 -1
- package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-GMAD6QVW-Cnp61Cie.js} +3 -3
- package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-GVQU2GXP-BJ9OHC7T.js} +2 -2
- package/dist/{chunk-IMKFNOWR-8ItzAAcf.js → chunk-IMKFNOWR-yyUcHorm.js} +5 -5
- package/dist/{chunk-L3NEJ4N5-qPot4t6M.js → chunk-L3NEJ4N5-Dd1FmxFn.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-OSK3NFVY-qg1q5TTI.js} +7 -7
- package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-P2QGCYS3-667SFjNY.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-CU9oz17Z.js → chunk-POPQ4Y6H-YFNrkrJW.js} +1 -1
- package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-PWAF6VOD-z0rQy52m.js} +1 -1
- package/dist/{chunk-SHT3W25Y-Cri27Jke.js → chunk-SHT3W25Y-aBBFlrSX.js} +7 -7
- package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-SVP7TREG-f53BROgh.js} +2 -2
- package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → chunk-TICWLB2K-DzrOz9kL.js} +5 -5
- package/dist/{chunk-TLUHSLCS-BdsLNXjt.js → chunk-TLUHSLCS-Drk6ApJR.js} +8 -8
- package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +30 -0
- package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/calendar/calendar-types.d.ts +37 -1
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +99 -9
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-event-text.d.ts +12 -0
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +11 -2
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +19 -0
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts +12 -2
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +16 -1
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/fixed/fixed-utils.d.ts +63 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
- package/dist/components/data-table/footer/footer-types.d.ts +3 -0
- package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer.d.ts.map +1 -1
- package/dist/components/data-table/graphic-cell/graphic-cell-data.d.ts +3 -0
- package/dist/components/data-table/graphic-cell/graphic-cell-data.d.ts.map +1 -0
- package/dist/components/data-table/group-row/group-row-types.d.ts +9 -0
- package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +9 -0
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-types.d.ts +5 -0
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +14 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +1 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +11 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts +26 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts +17 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +151 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts +164 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts +26 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts +42 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts +197 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts +210 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts +15 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts +20 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts +2 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts +58 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts.map +1 -0
- package/dist/components/field/field.d.ts.map +1 -1
- package/dist/components/input-panel/assets/data.d.ts +1 -0
- package/dist/components/input-panel/assets/data.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/pdf/pdf-types.d.ts +32 -1
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -1
- package/dist/context/interaction-context.d.ts +16 -0
- package/dist/context/interaction-context.d.ts.map +1 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js → cynefinDiagram-5FMLGOSQ-3SByb22K.js} +3 -3
- package/dist/{dagre-GXQ25YYZ-Bg7xf6xn.js → dagre-GXQ25YYZ--Qf92cTs.js} +10 -10
- package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-S7CK7UJ4-IhyDbKSO.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-uvzJGj43.js → diagram-UQ7AKVKN-CPDZJAkA.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-VSXAHHWV-CdX3XaQX.js} +2 -2
- package/dist/{diagram-VX7I27RA-BNmG1sig.js → diagram-VX7I27RA-DX39g4aO.js} +5 -5
- package/dist/{diagram-Z3DM3KII-B6BrLhP0.js → diagram-Z3DM3KII-DECfAI1l.js} +3 -3
- package/dist/{ebnfDiagram-PWID7BFC-DMx8xAFO.js → ebnfDiagram-PWID7BFC-D0cmYo-k.js} +3 -3
- package/dist/{erDiagram-RLTQ6QDP-bkJ9nzVK.js → erDiagram-RLTQ6QDP-C-nlwQZa.js} +12 -12
- package/dist/flowDiagram-HODETNUW-LRjksS-j.js +17 -0
- package/dist/functional-components/badge/badge-assets.d.ts +1 -0
- package/dist/functional-components/badge/badge-assets.d.ts.map +1 -1
- package/dist/functional-components/badge/badge-utils.d.ts +5 -0
- package/dist/functional-components/badge/badge-utils.d.ts.map +1 -1
- package/dist/functional-components/badge/badge.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts +1 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +23 -0
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-CL-ywzz_.js → ganttDiagram-EL5Y4UJY-qQkBgEV6.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-WWUBYQGX-D8cZBZXB.js} +2 -2
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts +14 -0
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts.map +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useFloating.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.d.ts +8 -1
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/{infoDiagram-27XIBGKW-Je4heBlk.js → infoDiagram-27XIBGKW-DXO97_PJ.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-DK7HlH95.js → ishikawaDiagram-5VMMS53U-B0RvuZyG.js} +3 -3
- package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-3NMN7TZE-Dh8_Vc4e.js} +2 -2
- package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.js → kanban-definition-UXKFOSKX-C99A4PsR.js} +9 -9
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +33764 -31209
- package/dist/{line-DTqYMLoX.js → line-CkNoVxEr.js} +1 -1
- package/dist/locale/en/translation.json.d.ts +5 -0
- package/dist/locale/it/translation.json.d.ts +5 -0
- package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-YA3MSWOX-D0ULN6M8.js} +11 -11
- package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-XKGWAZYB-BThnA3Uk.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-E7YTZNPT-CJ4LPitY.js} +3 -3
- package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.js → quadrantDiagram-AXDQQJYC-nEwzg95_.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-jOZRtNDi.js → railroadDiagram-O6MQD6OU-D_9gvx5m.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-BXWQKSXE-BU3gTMjQ.js} +11 -11
- package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-P5KCCOFB-BmNN-6y3.js} +1 -1
- package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.js → sequenceDiagram-WJ2MYXX4-QYJxbuz_.js} +3 -3
- package/dist/{stateDiagram-D77RDMKH-YfzmviNY.js → stateDiagram-D77RDMKH-0Jasv70t.js} +14 -14
- package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +30 -0
- package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-42K2YHIH-DkMzBkx7.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +31 -0
- package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.js → timeline-definition-24CTP7MA-AvgVPsM_.js} +3 -3
- package/dist/types/data-structures.d.ts +7 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/generic.d.ts +1 -0
- package/dist/types/generic.d.ts.map +1 -1
- package/dist/types/translation.d.ts +6 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/floating-layer.d.ts +11 -0
- package/dist/utils/floating-layer.d.ts.map +1 -0
- package/dist/utils/legacy.d.ts +7 -0
- package/dist/utils/legacy.d.ts.map +1 -1
- package/dist/utils/objects.d.ts +20 -1
- package/dist/utils/objects.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-C4XLgus_.js → vennDiagram-4TSXK5OY-DBz_EnfL.js} +3 -3
- package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-VM6X3IG4-D4U_E7xl.js} +3 -3
- package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-S5SC5T6Z-aHqeFP13.js} +6 -6
- package/package.json +4 -2
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +0 -30
- package/dist/components/echarts/echarts-graph-types.d.ts +0 -8
- package/dist/components/echarts/echarts-graph-types.d.ts.map +0 -1
- package/dist/components/echarts/echarts-graph.d.ts +0 -4
- package/dist/components/echarts/echarts-graph.d.ts.map +0 -1
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
- package/dist/hooks/useClickOutside.d.ts.map +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +0 -31
- /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { DataColumn, DataRow, DataTable } from '../../types/data-structures';
|
|
2
|
+
import { BooleanValue, LegacyPosition } from '../../types/legacy';
|
|
3
|
+
/** Legend position. Values are matched case-insensitively. */
|
|
4
|
+
export type ChartLegendPlacement = "bottom" | "left" | "hidden" | "right" | "top";
|
|
5
|
+
/** Names of the maps supported by the `Map` chart. */
|
|
6
|
+
export type ChartMapType = "africa" | "america" | "asia" | "europe" | "italy" | "oceania" | "world";
|
|
7
|
+
/** Stacking of the series: `STACKED` stacks bar series, `DUMMY` does nothing. */
|
|
8
|
+
export type ChartStackedType = "DUMMY" | "STACKED";
|
|
9
|
+
/** Title position. Values are matched case-insensitively. */
|
|
10
|
+
export type ChartTitlePosType = "bottom" | "left" | "right" | "top";
|
|
11
|
+
/** Chart types handled by the component (canonical names). */
|
|
12
|
+
export declare enum EchartsGraphType {
|
|
13
|
+
AREA = "Area",
|
|
14
|
+
BAR = "Bar",
|
|
15
|
+
BUBBLE = "Bubble",
|
|
16
|
+
CALENDAR = "Calendar",
|
|
17
|
+
CANDLE = "Candle",
|
|
18
|
+
FUNNEL = "Funnel",
|
|
19
|
+
GAUSSIAN = "Gaussian",
|
|
20
|
+
HBAR = "HBar",
|
|
21
|
+
LINE = "Line",
|
|
22
|
+
MAP = "Map",
|
|
23
|
+
PIE = "Pie",
|
|
24
|
+
RADAR = "Radar",
|
|
25
|
+
SANKEY = "Sankey",
|
|
26
|
+
SCATTER = "Scatter"
|
|
27
|
+
}
|
|
28
|
+
/** Functions applied to the data of the chart (option `Functions`). */
|
|
29
|
+
export declare enum EchartsGraphFunction {
|
|
30
|
+
/** Interpolation: adds the trend line (linear regression) of the series. */
|
|
31
|
+
INT = "Int"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Options of the {@link EchartsGraph} component.
|
|
35
|
+
*
|
|
36
|
+
* Mirrors the backend `CHA` options contract with CapitalizedCamelCase
|
|
37
|
+
* (AS400 legacy convention). Props naming a column refer to the `name` of a
|
|
38
|
+
* column in the input `DataTable`; when omitted or not found, the component
|
|
39
|
+
* tries to auto-detect the correct column from the data (see
|
|
40
|
+
* `resolveEchartsGraphDefaults`).
|
|
41
|
+
*/
|
|
42
|
+
export type ChaOptions = {
|
|
43
|
+
/** Shape of the component (`CHA`), ignored by the rendering. */
|
|
44
|
+
shape?: string;
|
|
45
|
+
/** `2D` or `3D`. 3D is not available with ECharts: always rendered as 2D. */
|
|
46
|
+
Asp?: "2D" | "3D";
|
|
47
|
+
/** Column used as category axis. Auto-detected if omitted or not found. */
|
|
48
|
+
Axe?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Functions applied to the chart, separated by `|`. For now only `Int`
|
|
51
|
+
* (case-insensitive): the cartesian charts also draw the trend line of every
|
|
52
|
+
* series. Unknown values are ignored.
|
|
53
|
+
*/
|
|
54
|
+
Functions?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum value shown on the X axis, regardless of the data. Only for a
|
|
57
|
+
* continuous X axis: numeric, or time (a date like the ones of the data, or
|
|
58
|
+
* an instant in milliseconds), or the axis of the values of the horizontal
|
|
59
|
+
* bars. Ignored by the axis of categories.
|
|
60
|
+
*/
|
|
61
|
+
AxisXMax?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Scale the Y axis to the range of the data, instead of always including 0:
|
|
64
|
+
* useful when the values are close to each other. Not applied with bars or
|
|
65
|
+
* areas (their height must stay proportional to the value), and ignored for
|
|
66
|
+
* the limits given by `AxisYMin`/`AxisYMax`. `No` always includes 0.
|
|
67
|
+
* @default "Yes"
|
|
68
|
+
*/
|
|
69
|
+
AxisYAuto?: BooleanValue;
|
|
70
|
+
/** Maximum value shown on the Y axis, regardless of the data. */
|
|
71
|
+
AxisYMax?: string;
|
|
72
|
+
/** Minimum value shown on the Y axis, regardless of the data. */
|
|
73
|
+
AxisYMin?: string;
|
|
74
|
+
/** Series colors, already resolved to hex and separated by `|`. */
|
|
75
|
+
Colors?: string;
|
|
76
|
+
/** Column interpreted as Date axis. */
|
|
77
|
+
DateAxis?: string;
|
|
78
|
+
/** Forced height: a number (pixels), or a CSS value with `px` or `%`. */
|
|
79
|
+
ForceHeight?: string;
|
|
80
|
+
/** Forced width: a number (pixels), or a CSS value with `px` or `%`. */
|
|
81
|
+
ForceWidth?: string;
|
|
82
|
+
/** Name of the map to show with the `Map` chart. */
|
|
83
|
+
GeoMap?: ChartMapType | string;
|
|
84
|
+
/** Rotation, in degrees, of the labels of the X axis. */
|
|
85
|
+
LabelAngle?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Group the rows with the same value of the axis (their values are summed):
|
|
88
|
+
* `No` shows all the rows. Only for the charts of categories (Pie, Funnel).
|
|
89
|
+
* @default "Yes"
|
|
90
|
+
*/
|
|
91
|
+
GroupData?: BooleanValue;
|
|
92
|
+
/** Show the legend. @default "No" */
|
|
93
|
+
Leg?: BooleanValue;
|
|
94
|
+
/** Legend position, used when `Leg` is `Yes`. @default "right" */
|
|
95
|
+
LegPos?: ChartLegendPlacement | LegacyPosition | string;
|
|
96
|
+
/** Explicitly show the X values of the data on the X axis. */
|
|
97
|
+
MarkXValue?: BooleanValue;
|
|
98
|
+
/** Explicitly show the Y values of the data on the Y axis. */
|
|
99
|
+
MarkYValue?: BooleanValue;
|
|
100
|
+
/**
|
|
101
|
+
* Columns to represent, separated by `|`. Auto-detected if omitted: columns
|
|
102
|
+
* with `fill = "SERIES"`, otherwise the first numeric column.
|
|
103
|
+
*/
|
|
104
|
+
Series?: string;
|
|
105
|
+
/** Show the values on the series. @default "No" */
|
|
106
|
+
ShowMarks?: BooleanValue;
|
|
107
|
+
/** `STACKED` stacks the series of bar charts. @default "DUMMY" */
|
|
108
|
+
Stack?: ChartStackedType | string;
|
|
109
|
+
/**
|
|
110
|
+
* Gaussian chart: ranges (`min;max`, ends included, separated by `|`) the
|
|
111
|
+
* values of the series are grouped in, e.g. `20;39|40;54|55;99`. The curve
|
|
112
|
+
* is calculated on the number of rows of each range, which are also the
|
|
113
|
+
* names listed in the tooltip: the axis is not needed.
|
|
114
|
+
*/
|
|
115
|
+
Ranges?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Values of the indicators (ticks and labels) of the X axis, separated by
|
|
118
|
+
* `;`: category names, numbers or dates, depending on the axis. Instead of
|
|
119
|
+
* the automatic ones; the values outside the axis are ignored.
|
|
120
|
+
*/
|
|
121
|
+
XTicks?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Distance between the indicators (labels) of the X axis, when it is
|
|
124
|
+
* continuous (time or numeric). With a time axis (`DateAxis`/`TimeAxis`) it is
|
|
125
|
+
* in milliseconds. Ignored when `XTicks` is given.
|
|
126
|
+
*/
|
|
127
|
+
XTickInterval?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Values of the indicators (ticks and labels) of the Y axis, separated by
|
|
130
|
+
* `;`. With several Y axes, only the first one has them. The values outside
|
|
131
|
+
* the axis are ignored.
|
|
132
|
+
*/
|
|
133
|
+
YTicks?: string;
|
|
134
|
+
/** Column interpreted as Time axis. */
|
|
135
|
+
TimeAxis?: string;
|
|
136
|
+
/** Title of the chart. */
|
|
137
|
+
Title?: string;
|
|
138
|
+
/** Color of the title (hex). */
|
|
139
|
+
TitleColor?: string;
|
|
140
|
+
/** Size of the title, a number of pixels (suffix `px` allowed). @default 16 */
|
|
141
|
+
TitleSize?: string;
|
|
142
|
+
/** Title position. @default "left" */
|
|
143
|
+
TitlePos?: ChartTitlePosType | LegacyPosition | string;
|
|
144
|
+
/** Chart types separated by `|`, one for each series. @default "Bar" */
|
|
145
|
+
Typ?: string;
|
|
146
|
+
/** Series to associate with their own Y axis, separated by `|`. */
|
|
147
|
+
YAxes?: string;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Options after the resolution of the defaults: same names and types of
|
|
151
|
+
* {@link ChaOptions}, with the values completed and normalized.
|
|
152
|
+
*/
|
|
153
|
+
export type ResolvedChaOptions = ChaOptions & {
|
|
154
|
+
Axe: string;
|
|
155
|
+
Series: string;
|
|
156
|
+
Typ: string;
|
|
157
|
+
Leg: BooleanValue;
|
|
158
|
+
LegPos: string;
|
|
159
|
+
Stack: string;
|
|
160
|
+
ShowMarks: BooleanValue;
|
|
161
|
+
AxisYAuto: BooleanValue;
|
|
162
|
+
MarkXValue: BooleanValue;
|
|
163
|
+
MarkYValue: BooleanValue;
|
|
164
|
+
GroupData: BooleanValue;
|
|
165
|
+
ForceWidth: string;
|
|
166
|
+
ForceHeight: string;
|
|
167
|
+
DateAxis: string;
|
|
168
|
+
TimeAxis: string;
|
|
169
|
+
YAxes: string;
|
|
170
|
+
Functions: string;
|
|
171
|
+
};
|
|
172
|
+
/** Payload of the click callback. */
|
|
173
|
+
export type EchartsGraphClickPayload = {
|
|
174
|
+
/** Original row of the `DataTable`. */
|
|
175
|
+
row?: DataRow;
|
|
176
|
+
/** Column of the clicked series; the axis column for Pie, Funnel and Map. */
|
|
177
|
+
column?: DataColumn;
|
|
178
|
+
/** Index of the row in `data.rows`. */
|
|
179
|
+
rowIndex?: number;
|
|
180
|
+
/** Index of the column in `data.columns`. */
|
|
181
|
+
columnIndex?: number;
|
|
182
|
+
/** Category (or x value) of the clicked element. */
|
|
183
|
+
x?: number | string;
|
|
184
|
+
/** Value of the clicked element. */
|
|
185
|
+
y?: number | string | null;
|
|
186
|
+
/** Date (ISO `YYYY-MM-DD`) of the clicked day, for the Calendar chart. */
|
|
187
|
+
date?: string;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Props for the {@link EchartsGraph} component.
|
|
191
|
+
*
|
|
192
|
+
* Extends {@link ChaOptions} with the data input and the callbacks.
|
|
193
|
+
*/
|
|
194
|
+
export type EchartsGraphProps = ChaOptions & {
|
|
195
|
+
/** The data table to represent. */
|
|
196
|
+
data: DataTable;
|
|
197
|
+
/** GeoJSON (object or string) already loaded, used by the `Map` chart. */
|
|
198
|
+
map?: Record<string, unknown> | string;
|
|
199
|
+
/** Callback fired when an element of a series is clicked. */
|
|
200
|
+
onClick?: (payload: EchartsGraphClickPayload) => void;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Internal id constants used for `smp-id` test queries.
|
|
204
|
+
*/
|
|
205
|
+
export declare enum EchartsGraphCellId {
|
|
206
|
+
ROOT = "echarts-graph",
|
|
207
|
+
CANVAS = "echarts-graph-canvas",
|
|
208
|
+
EMPTY = "echarts-graph-empty"
|
|
209
|
+
}
|
|
210
|
+
//# sourceMappingURL=echarts-graph-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts-graph-types.d.ts","sourceRoot":"","sources":["../../../src/components/echarts-graph/echarts-graph-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,SAAS,EACV,MAAM,6BAA6B,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEtE,8DAA8D;AAC9D,MAAM,MAAM,oBAAoB,GAC9B,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAEhD,sDAAsD;AACtD,MAAM,MAAM,YAAY,GACtB,QAAQ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AAM,CAAA;IAEtC,6DAA6D;IAC7D,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAA;CACtD,CAAA;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,IAAI,kBAAkB;IACtB,MAAM,yBAAyB;IAC/B,KAAK,wBAAwB;CAC9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { EchartsGraphProps } from './echarts-graph-types';
|
|
3
|
+
/**
|
|
4
|
+
* EchartsGraph — charts drawn with Apache ECharts from a `DataTable`.
|
|
5
|
+
*
|
|
6
|
+
* Data-driven: the options follow the backend `CHA` contract ({@link ChaOptions}).
|
|
7
|
+
* When `Axe`, `Series` or `Typ` are not provided (or not valid) the component
|
|
8
|
+
* decides the defaults from the data (see `resolveEchartsGraphDefaults`).
|
|
9
|
+
*
|
|
10
|
+
* The chart adapts to the size of its container: legend, labels and fonts
|
|
11
|
+
* change when the space is limited. Colors come from the design tokens and
|
|
12
|
+
* follow the theme.
|
|
13
|
+
*/
|
|
14
|
+
export declare const EchartsGraph: React.FC<EchartsGraphProps>;
|
|
15
|
+
//# sourceMappingURL=echarts-graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts-graph.d.ts","sourceRoot":"","sources":["../../../src/components/echarts-graph/echarts-graph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAA;AA4Bd,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,uBAAuB,CAAA;AAgD9B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwPpD,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChaOptions } from '../echarts-graph-types';
|
|
2
|
+
/**
|
|
3
|
+
* Normalize a color that comes from the backend (options or data) to hex
|
|
4
|
+
* (`#rrggbb`, or `#rrggbbaa` with a transparency).
|
|
5
|
+
*
|
|
6
|
+
* Accepted: hex (3, 4, 6 or 8 digits, with `#`), `rgb()`/`rgba()`, `hsl()`/
|
|
7
|
+
* `hsla()`, the Smeup notation `R255G0B0`, `transparent` (replaced by the
|
|
8
|
+
* background) and the CSS color names (resolved by the browser).
|
|
9
|
+
*
|
|
10
|
+
* @param value The color to normalize.
|
|
11
|
+
* @param background Color used for `transparent`.
|
|
12
|
+
* @returns The hex color, or undefined if the value is not a color.
|
|
13
|
+
*/
|
|
14
|
+
export declare function normalizeColor(value: string | null | undefined, background?: string): string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Normalize the colors of the options (`Colors`, separated by `|`, and
|
|
17
|
+
* `TitleColor`). The colors that are not valid are dropped.
|
|
18
|
+
*/
|
|
19
|
+
export declare function normalizeColorOptions<T extends ChaOptions>(options: T, background?: string): T;
|
|
20
|
+
//# sourceMappingURL=echarts-graph-color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts-graph-color.d.ts","sourceRoot":"","sources":["../../../../src/components/echarts-graph/theme/echarts-graph-color.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA+DxD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAepB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,UAAU,EACxD,OAAO,EAAE,CAAC,EACV,UAAU,CAAC,EAAE,MAAM,GAClB,CAAC,CAYH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts-graph-color.test.d.ts","sourceRoot":"","sources":["../../../../src/components/echarts-graph/theme/echarts-graph-color.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors of the chart, read from the design tokens.
|
|
3
|
+
*
|
|
4
|
+
* ECharts draws on a canvas and can't resolve `var(--smp-*)` nor modern CSS
|
|
5
|
+
* color functions (`color-mix`): the tokens are read from the computed style
|
|
6
|
+
* and converted to concrete colors.
|
|
7
|
+
*/
|
|
8
|
+
export type EchartsGraphTheme = {
|
|
9
|
+
/** Text color (`--smp-color-base`). */
|
|
10
|
+
text: string;
|
|
11
|
+
/** Secondary text color (`--smp-color-label`). */
|
|
12
|
+
label: string;
|
|
13
|
+
/** Border color (`--smp-borderColor-base`). */
|
|
14
|
+
border: string;
|
|
15
|
+
/** Axis lines and ticks color (`--smp-color-label`), darker than the borders to stay visible. */
|
|
16
|
+
axis: string;
|
|
17
|
+
/** Grid lines color (`--smp-borderColor-light`). */
|
|
18
|
+
borderLight: string;
|
|
19
|
+
/** Background color (`--smp-backgroundColor-base`). */
|
|
20
|
+
background: string;
|
|
21
|
+
/** Font family (`--smp-fontFamily-base`). */
|
|
22
|
+
fontFamily: string;
|
|
23
|
+
/** Positive color (`--smp-color-success`), e.g. rising candles. */
|
|
24
|
+
success: string;
|
|
25
|
+
/** Negative color (`--smp-color-danger`), e.g. falling candles. */
|
|
26
|
+
danger: string;
|
|
27
|
+
/** Series colors (`--smp-chart-color-1…7`). */
|
|
28
|
+
palette: string[];
|
|
29
|
+
};
|
|
30
|
+
/** Number of tokens of the series palette. */
|
|
31
|
+
export declare const CHART_PALETTE_SIZE = 7;
|
|
32
|
+
/** Default series colors of ECharts, used after the tokens of the palette. */
|
|
33
|
+
export declare const ECHARTS_DEFAULT_COLORS: readonly string[];
|
|
34
|
+
/** Used when the tokens are not available (e.g. the stylesheet is not loaded). */
|
|
35
|
+
export declare const FALLBACK_THEME: EchartsGraphTheme;
|
|
36
|
+
/**
|
|
37
|
+
* Convert the `color(srgb r g b)` notation, that browsers use for the result
|
|
38
|
+
* of `color-mix`, to `rgb()` / `rgba()`, that ECharts understands.
|
|
39
|
+
* @returns the color, or undefined if the text is not in that notation.
|
|
40
|
+
*/
|
|
41
|
+
export declare function srgbFunctionToRgb(text: string): string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Convert any CSS color (`color-mix(...)`, named colors, ...) to a color that
|
|
44
|
+
* ECharts understands: the canvas normalizes it, and the notations ECharts
|
|
45
|
+
* can't read are converted (or read from a pixel).
|
|
46
|
+
* @returns the color, or the fallback if it can't be resolved.
|
|
47
|
+
*/
|
|
48
|
+
export declare function resolveCssColor(value: string, fallback: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* Read the theme of the chart from the design tokens, as seen by the element.
|
|
51
|
+
*/
|
|
52
|
+
export declare function readEchartsGraphTheme(element: HTMLElement): EchartsGraphTheme;
|
|
53
|
+
/**
|
|
54
|
+
* Series colors: the colors of the options first, then the palette tokens,
|
|
55
|
+
* then the default colors of ECharts.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getSeriesColors(colors: string[], theme: EchartsGraphTheme): string[];
|
|
58
|
+
//# sourceMappingURL=echarts-graph-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"echarts-graph-theme.d.ts","sourceRoot":"","sources":["../../../../src/components/echarts-graph/theme/echarts-graph-theme.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAA;IACd,iGAAiG;IACjG,IAAI,EAAE,MAAM,CAAA;IACZ,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAA;IACnB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAA;IAClB,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAA;IACf,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAA;IACd,+CAA+C;IAC/C,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,kBAAkB,IAAI,CAAA;AAEnC,8EAA8E;AAC9E,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAUnD,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,cAAc,EAAE,iBAW5B,CAAA;AAoBD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAWlE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAmCvE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,iBAAiB,CA0B7E;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,EAAE,EAChB,KAAK,EAAE,iBAAiB,GACvB,MAAM,EAAE,CAEV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/field/field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/field/field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAoG1C,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqJtC,CAAA"}
|
|
@@ -6,6 +6,7 @@ export declare const dataTableWithRemappedCommands: DataTable;
|
|
|
6
6
|
export declare const dataTableWithAllShapesEmpty: DataTable;
|
|
7
7
|
export declare const dataTableWithAllShapesEmptyAndCheckValueOnExit: DataTable;
|
|
8
8
|
export declare const dataTableWithAllShapesEmptyAndCheckObjectOnExit: DataTable;
|
|
9
|
+
export declare const dataTableWithAllShapesDisabled: DataTable;
|
|
9
10
|
export declare const dataTableWithCellStyle: DataTable;
|
|
10
11
|
export declare const dataTableButtonFields: DataTable;
|
|
11
12
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/input-panel/assets/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE1E,eAAO,MAAM,sBAAsB,EAAE,SAkVpC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,SA0F5C,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,SAOrC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,SA6E3C,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,SAEzC,CAAA;AAWD,eAAO,MAAM,8CAA8C,WAE1D,CAAA;AAWD,eAAO,MAAM,+CAA+C,WAE3D,CAAA;AAWD,eAAO,MAAM,sBAAsB,EAAE,SAEpC,CAAA;AAUD,eAAO,MAAM,qBAAqB,EAAE,SA0DnC,CAAA"}
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/components/input-panel/assets/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE1E,eAAO,MAAM,sBAAsB,EAAE,SAkVpC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,SA0F5C,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,SAOrC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,SA6E3C,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,SAEzC,CAAA;AAWD,eAAO,MAAM,8CAA8C,WAE1D,CAAA;AAWD,eAAO,MAAM,+CAA+C,WAE3D,CAAA;AAWD,eAAO,MAAM,8BAA8B,EAAE,SAE5C,CAAA;AAQD,eAAO,MAAM,sBAAsB,EAAE,SAEpC,CAAA;AAUD,eAAO,MAAM,qBAAqB,EAAE,SA0DnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-panel-utils.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAGR,UAAU,EACV,UAAU,EAEV,QAAQ,EACR,SAAS,EACV,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,GACtC,cAAc,SAAS,EACvB,cAAc,eAAe,KAC5B,qBAgCF,CAAA;AAED,eAAO,MAAM,gCAAgC,GAC3C,cAAc,SAAS,KACtB,qBAiCF,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC/B,UAAU,QAAQ,EAAE;;;;;CAoCrB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,WAAW,SAAS,EACpB,kBAAkB,MAAM,EACxB,YAAY,OAAO,GAAG,SAAS;;;
|
|
1
|
+
{"version":3,"file":"input-panel-utils.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAGR,UAAU,EACV,UAAU,EAEV,QAAQ,EACR,SAAS,EACV,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,GACtC,cAAc,SAAS,EACvB,cAAc,eAAe,KAC5B,qBAgCF,CAAA;AAED,eAAO,MAAM,gCAAgC,GAC3C,cAAc,SAAS,KACtB,qBAiCF,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC/B,UAAU,QAAQ,EAAE;;;;;CAoCrB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,WAAW,SAAS,EACpB,kBAAkB,MAAM,EACxB,YAAY,OAAO,GAAG,SAAS;;;CAiDhC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,UAAU,EAAE,KAAG,UAsB1D,CAAA;AAED,eAAO,MAAM,4BAA4B,GACvC,OAAO,MAAM,GAAG,SAAS,KACxB,OAQF,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,MAAM,SAAS,KACd,MAAM,GAAG,SASX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-panel.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAA;AAkBd,OAAO,EAGL,eAAe,EAEf,gBAAgB,EACjB,MAAM,qBAAqB,CAAA;AAgB5B,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"input-panel.d.ts","sourceRoot":"","sources":["../../../src/components/input-panel/input-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAA;AAkBd,OAAO,EAGL,eAAe,EAEf,gBAAgB,EACjB,MAAM,qBAAqB,CAAA;AAgB5B,eAAO,MAAM,UAAU,0FAypBtB,CAAA"}
|
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
import { BooleanValue } from '../../types/legacy';
|
|
2
|
+
/**
|
|
3
|
+
* pdfjs-dist runtime configuration used to point the renderer at vendored
|
|
4
|
+
* assets (worker, wasm, standard fonts, CMaps).
|
|
5
|
+
*/
|
|
6
|
+
export interface PdfJsConfigs {
|
|
7
|
+
/**
|
|
8
|
+
* Path to the pdfjs worker script.
|
|
9
|
+
*/
|
|
10
|
+
workerSrc?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Base URL where the pdfjs wasm files are located (include trailing slash).
|
|
13
|
+
*/
|
|
14
|
+
wasmUrl?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Base URL where the pdfjs standard font files are located (include trailing slash).
|
|
17
|
+
*/
|
|
18
|
+
standardFontDataUrl?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Base URL where the predefined Adobe CMaps are located (include trailing slash).
|
|
21
|
+
*/
|
|
22
|
+
cMapUrl?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies if the Adobe CMaps are binary packed or not.
|
|
25
|
+
*/
|
|
26
|
+
cMapPacked?: boolean;
|
|
27
|
+
}
|
|
2
28
|
export interface PdfProps {
|
|
3
29
|
/**
|
|
4
30
|
* Resolved PDF resource
|
|
@@ -23,12 +49,17 @@ export interface PdfProps {
|
|
|
23
49
|
*/
|
|
24
50
|
onError?: (error: Error) => void;
|
|
25
51
|
/**
|
|
26
|
-
|
|
52
|
+
* Callback used to open external content in a new window or tab.
|
|
27
53
|
*/
|
|
28
54
|
onWindowOpen?: (url: string, target: string, features?: string) => void;
|
|
29
55
|
/**
|
|
30
56
|
* Callback used to handle PDF resource downloads.
|
|
31
57
|
*/
|
|
32
58
|
onResourceDownload?: (resource: string) => void;
|
|
59
|
+
/**
|
|
60
|
+
* Optional pdfjs-dist runtime configuration pointing at vendored assets
|
|
61
|
+
* (worker, wasm, standard fonts, CMaps).
|
|
62
|
+
*/
|
|
63
|
+
pdfjsConfigs?: PdfJsConfigs;
|
|
33
64
|
}
|
|
34
65
|
//# sourceMappingURL=pdf-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-types.d.ts","sourceRoot":"","sources":["../../../src/components/pdf/pdf-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,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,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAEvE;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAE/C;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-utils.d.ts","sourceRoot":"","sources":["../../../src/components/pdf/pdf-utils.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,gBAAgB,EAEjB,MAAM,yBAAyB,CAAA;AAEhC;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,UAAU,MAAM,EAChB,OAAO,OAAO,EACd,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,MAAM,EACpE,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,EACrE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"pdf-utils.d.ts","sourceRoot":"","sources":["../../../src/components/pdf/pdf-utils.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,gBAAgB,EAEjB,MAAM,yBAAyB,CAAA;AAEhC;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,UAAU,MAAM,EAChB,OAAO,OAAO,EACd,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,MAAM,EACpE,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,EACrE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,gCA4E9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../../../src/components/pdf/pdf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,iCAAiC,CAAA;AASxC,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../../../src/components/pdf/pdf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,iCAAiC,CAAA;AASxC,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAuIlC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoC,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAWhF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoC,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAWhF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqM1C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-designer-metadata-panel.d.ts","sourceRoot":"","sources":["../../../src/components/workflow-designer/workflow-designer-metadata-panel.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAG9D,KAAK,kCAAkC,GAAG,QAAQ,CAAC;IACjD,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,aAAa,CAAA;IACvB,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAC,CAAA;AAEF,eAAO,MAAM,6BAA6B,GAAI,wFAS3C,kCAAkC,
|
|
1
|
+
{"version":3,"file":"workflow-designer-metadata-panel.d.ts","sourceRoot":"","sources":["../../../src/components/workflow-designer/workflow-designer-metadata-panel.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAG9D,KAAK,kCAAkC,GAAG,QAAQ,CAAC;IACjD,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,aAAa,CAAA;IACvB,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAC,CAAA;AAEF,eAAO,MAAM,6BAA6B,GAAI,wFAS3C,kCAAkC,gCA6IpC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Interaction modes decided by the application that integrates ketchup2.
|
|
4
|
+
* Components apply them as appropriate; new modes can be added as optional keys.
|
|
5
|
+
*/
|
|
6
|
+
export interface InteractionContextValue {
|
|
7
|
+
/**
|
|
8
|
+
* @default false
|
|
9
|
+
* When true, text-entry components do not trigger the on-screen keyboard
|
|
10
|
+
* (they render with `inputMode="none"`).
|
|
11
|
+
*/
|
|
12
|
+
disableVirtualKeyboard?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const InteractionContext: React.Context<InteractionContextValue>;
|
|
15
|
+
export declare const useInteraction: () => InteractionContextValue;
|
|
16
|
+
//# sourceMappingURL=interaction-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-context.d.ts","sourceRoot":"","sources":["../../src/context/interaction-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC;AAID,eAAO,MAAM,kBAAkB,wCAC6B,CAAA;AAE5D,eAAO,MAAM,cAAc,QAAO,uBAEjC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { i as p } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { t as m } from "./chunk-CLGD4ZFX-
|
|
4
|
+
import { i as p } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { t as m } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
6
6
|
import { n as h } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
7
7
|
import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
8
8
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/cynefinDiagram-5FMLGOSQ.mjs
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { x as t } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { x as t } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import "./chunk-75Z2AOVW-
|
|
5
|
-
import "./chunk-P2QGCYS3-
|
|
6
|
-
import "./chunk-PWAF6VOD-
|
|
7
|
-
import "./chunk-GMAD6QVW-
|
|
8
|
-
import { s as r } from "./chunk-4HAMMTFA-
|
|
9
|
-
import { a as i, i as a, n as o } from "./chunk-GVQU2GXP-
|
|
10
|
-
import { n as s } from "./chunk-L3NEJ4N5-
|
|
11
|
-
import { a as c, c as l, i as u } from "./chunk-OSK3NFVY-
|
|
4
|
+
import "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-667SFjNY.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
|
+
import { s as r } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
9
|
+
import { a as i, i as a, n as o } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
10
|
+
import { n as s } from "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
11
|
+
import { a as c, c as l, i as u } from "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
12
12
|
import { t as d } from "./graphlib-XW-Jr8pF.js";
|
|
13
13
|
import { t as f } from "./dagre-D5csT9sx.js";
|
|
14
|
-
import { a as p, i as m, n as h, o as g, r as _, s as v, t as y } from "./chunk-2E4U76K2-
|
|
14
|
+
import { a as p, i as m, n as h, o as g, r as _, s as v, t as y } from "./chunk-2E4U76K2-CMCSmJ5_.js";
|
|
15
15
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/dagre-GXQ25YYZ.mjs
|
|
16
16
|
var b = /* @__PURE__ */ n((e, t, n) => Math.max(t, Math.min(n, e)), "clamp"), x = /* @__PURE__ */ n((e = "TB") => {
|
|
17
17
|
switch (e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as t, K as n, U as r, a as i, b as a, c as o, f as s, v as c, w as l, y as u, z as d } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { H as t, K as n, U as r, a as i, b as a, c as o, f as s, v as c, w as l, y as u, z as d } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { i as p } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { t as m } from "./chunk-CLGD4ZFX-
|
|
6
|
-
import { r as h, t as g } from "./chunk-PWAF6VOD-
|
|
4
|
+
import { i as p } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { t as m } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
6
|
+
import { r as h, t as g } from "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
7
|
import { n as _ } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
8
8
|
import { t as v } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
9
9
|
import { t as y } from "./chunk-2Q5K7J3B-kzxEEeTu.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { i as p } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { t as m } from "./chunk-CLGD4ZFX-
|
|
4
|
+
import { i as p } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { t as m } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
6
6
|
import { n as h } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
7
7
|
import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
8
8
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-UQ7AKVKN.mjs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as n, K as r, U as i, Y as a, a as o, b as s, f as c, v as l, w as u, x as d, y as f, z as p } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { H as n, K as r, U as i, Y as a, a as o, b as s, f as c, v as l, w as u, x as d, y as f, z as p } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as m } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { _ as h, i as g, t as ee } from "./chunk-75Z2AOVW-
|
|
4
|
+
import { _ as h, i as g, t as ee } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
5
|
import { T as te } from "./chunk-FOHPRMQF-LRqOLsSw.js";
|
|
6
6
|
import { n as ne } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
7
7
|
import { t as re } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as p } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
4
|
import { t as m } from "./ordinal-BubEveRk.js";
|
|
5
5
|
import { t as h } from "./defaultLocale-N-0uLSyg.js";
|
|
6
|
-
import { i as g } from "./chunk-75Z2AOVW-
|
|
7
|
-
import { t as _ } from "./chunk-CLGD4ZFX-
|
|
8
|
-
import { i as v, n as y } from "./chunk-P2QGCYS3-
|
|
6
|
+
import { i as g } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
7
|
+
import { t as _ } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
8
|
+
import { i as v, n as y } from "./chunk-P2QGCYS3-667SFjNY.js";
|
|
9
9
|
import { n as b } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
10
10
|
import { t as x } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
11
|
-
import { t as S } from "./chunk-POPQ4Y6H-
|
|
11
|
+
import { t as S } from "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
12
12
|
//#region node_modules/d3-hierarchy/src/hierarchy/count.js
|
|
13
13
|
function C(e) {
|
|
14
14
|
var t = 0, n = e.children, r = n && n.length;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as t, K as n, U as r, a as i, b as a, c as o, f as s, v as c, w as l, y as u } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { H as t, K as n, U as r, a as i, b as a, c as o, f as s, v as c, w as l, y as u } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as d } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { i as f } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { t as p } from "./chunk-CLGD4ZFX-
|
|
4
|
+
import { i as f } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { t as p } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
6
6
|
import { n as m } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
7
7
|
import { t as h } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
8
8
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-Z3DM3KII.mjs
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import "./chunk-DU6HZSFF-
|
|
2
|
+
import "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import "./chunk-CLGD4ZFX-
|
|
4
|
+
import "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
5
5
|
import { f as n, t as r } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
6
|
-
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-
|
|
6
|
+
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-f53BROgh.js";
|
|
7
7
|
import { t as s } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
8
8
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/ebnfDiagram-PWID7BFC.mjs
|
|
9
9
|
var c = n().RailroadEbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
|