@sheetxl/studio-mui 0.8.0-beta.10 → 0.8.0-beta.11
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/browser/esm/0BWO0bLZ8Vm_dKd2.mjs +582 -0
- package/browser/esm/BAbq4-I5f5oUiNaF.mjs +141 -0
- package/browser/esm/BED6h6YAwCf1HEQJ.mjs +161 -0
- package/browser/esm/{CEvZe2cZK-voZTif.mjs → BXhNFzyEGokTF-BL.mjs} +5 -5
- package/browser/esm/BYE9gCDWKyx6mnVs.mjs +381 -0
- package/browser/esm/{DBtc4lku0uHVcqWn.mjs → BjvD_4t2KGsZP5V8.mjs} +3 -3
- package/browser/esm/{DU3J8Gcf-WpBxNYg.mjs → BknfGJouygmnpFIU.mjs} +4 -4
- package/browser/esm/{D8al_cJ4U-NgzwoK.mjs → BlE_8o8tO2AgAlaj.mjs} +19 -17
- package/browser/esm/BokqKEpU6TFgfRs6.mjs +252 -0
- package/browser/esm/{DHY19rkSiiRZxShC.mjs → Brsh5yscJ_4uKFXp.mjs} +3 -3
- package/browser/esm/Bujtz_Guj88d03vI.mjs +831 -0
- package/browser/esm/Buqcl7J75MJrhpVE.mjs +1379 -0
- package/browser/esm/BvhYPwX3GrRaO9CM.mjs +319 -0
- package/browser/esm/C0wlMAIn9iREPK6w.mjs +87 -0
- package/browser/esm/C8JU4KsMasmLvojI.mjs +103 -0
- package/browser/esm/{CjznclrKqJRi7u9O.mjs → C9pIZVACtl9unFOp.mjs} +2 -2
- package/browser/esm/CBD4RiRKbbZtSXV-.mjs +318 -0
- package/browser/esm/{Blaj2R5hYxtLAW__.mjs → CEtXsBzEjEKk9GOj.mjs} +6 -6
- package/browser/esm/{CIu1bjPJe_x31Oww.mjs → COlZu93LRwuBvjE-.mjs} +3 -3
- package/browser/esm/{CoSiOS-og0zFw4Ws.mjs → CTjqDD-swFMZzI-Y.mjs} +2 -2
- package/browser/esm/CWkOgdL7mOKiTR62.mjs +975 -0
- package/browser/esm/ChSVxkPTIjgcC8PL.mjs +412 -0
- package/browser/esm/{5cbK03T_Oh3tNdR7.mjs → ClBvNPeNCAhuVWrG.mjs} +1 -1
- package/browser/esm/CyLn6zOOp_biA3xU.mjs +335 -0
- package/browser/esm/CynTY0oNtyJnoaBq.mjs +14 -0
- package/browser/esm/{xKiLJKiLxto8SayF.mjs → D3rRUK4dIM5gUSmj.mjs} +2 -2
- package/browser/esm/D9ISy7VkaRRFJl46.mjs +515 -0
- package/browser/esm/{fb126BNj3F8URR19.mjs → DDc6rDuU9JAo1DH_.mjs} +3 -3
- package/browser/esm/DDczwkXhz_MHub4z.mjs +197 -0
- package/browser/esm/{X1Db3b_7b_7OuCk6.mjs → DEv4pIEgYr5C7etm.mjs} +1 -1
- package/browser/esm/DG21x7RKDpge6zAE.mjs +31 -0
- package/browser/esm/DJOOed_OtB-XT7f3.mjs +437 -0
- package/browser/esm/{9eKCkvqpMQwqcXiw.mjs → DKtJxrpN0axtuQ0l.mjs} +1 -1
- package/browser/esm/DRSCS6aLiYmPjUz1.mjs +1543 -0
- package/browser/esm/{ByeL_BZuJ2kl8gtf.mjs → DTpRkgsTm_zYnWfW.mjs} +1 -1
- package/browser/esm/DV6i9RQZfJiKtEaJ.mjs +2552 -0
- package/browser/esm/DdcZrjMLWVukWcU5.mjs +7473 -0
- package/browser/esm/Di3BUxA0SqFWWgeg.mjs +94 -0
- package/browser/esm/DnGaP5F7mLwCGUYG.mjs +408 -0
- package/browser/esm/DpD4fg2WcyiKX_2K.mjs +414 -0
- package/browser/esm/{C1Rp2hZrApo5MUc8.mjs → Ds3XRkne7HxcXD8J.mjs} +2 -2
- package/browser/esm/{sFOAxZpxXo-qvDSp.mjs → DsoNMWDwHZP8UXQd.mjs} +1 -1
- package/browser/esm/G0Inqm6Eqw47dMpa.mjs +212 -0
- package/browser/esm/{B1Yp_uy1vFHcJB3U.mjs → HViD4Wfoi0mmqk9w.mjs} +1 -1
- package/browser/esm/LZoYSQAYV2wksnDv.mjs +386 -0
- package/browser/esm/{CtEFHbzYNvYjDYvi.mjs → QgaAIDUMmBQBsXP9.mjs} +8 -8
- package/browser/esm/{D6S8kVTzOjCn0-SK.mjs → YThnrg3PadGs7B4j.mjs} +51 -51
- package/browser/esm/index.mjs +1028 -170
- package/browser/esm/ttjcNHcFn8O6hfnd.mjs +1288 -0
- package/browser/esm/{yZxC4qUENOlMhVUH.mjs → w_JrR69vEpvoyeMy.mjs} +1 -1
- package/browser/esm/{DmCQbW4zwkT_Rq88.mjs → xFqkfN8QMCxvsetB.mjs} +1 -1
- package/browser/esm/{IQLeaAbtGTipUsOD.mjs → zqilJefihVd7At2T.mjs} +22 -21
- package/licenses/dependencies.txt +94 -94
- package/node/esm/{BYsG3KYVmxSe_CIQ.mjs → 1bf4gn-2vld4BZ9u.mjs} +1 -1
- package/node/esm/{CKu1AtRgyltyEdEN.mjs → 3WghtBXAvCDwcVrq.mjs} +1 -1
- package/node/esm/{cqzp431iNSLWictb.mjs → 4HmLH0bPVJCZLgik.mjs} +22 -22
- package/node/esm/{BYVLi0md4AYuDsB_.mjs → B0bdb_6p7fQI_ivo.mjs} +28 -28
- package/node/esm/BIMkjQUwG4Ih-6Sh.mjs +142 -0
- package/node/esm/BNg4QQY0WAPLE0q7.mjs +141 -0
- package/node/esm/BPzcW4BejRqso338.mjs +72 -0
- package/node/esm/BR45ogAR-hY2bE60.mjs +318 -0
- package/node/esm/BlN7G0DVC24zauig.mjs +197 -0
- package/node/esm/{ah3CUg4-VmNstGk_.mjs → Bph-sR3l6AYWeuxK.mjs} +2 -2
- package/node/esm/CPq-MIdEnc-53JpF.mjs +319 -0
- package/node/esm/CSAnTp5rwId0DUb8.mjs +380 -0
- package/node/esm/CWcv7UVXF8IUB0PC.mjs +1379 -0
- package/node/esm/{D9rzScOA9pEYFrtz.mjs → CYIoK22I6Yvv12_x.mjs} +20 -20
- package/node/esm/CZyA9uD4SkTvqp_G.mjs +1283 -0
- package/node/esm/{ci8d-mF1H9wnYzix.mjs → CjC6s3RUJQNCF7mP.mjs} +1 -1
- package/node/esm/{D6oQL8knsPpgdXuk.mjs → CuMePia6i_8yfJ6S.mjs} +9 -9
- package/node/esm/CvRbu8JPxFarsSR-.mjs +412 -0
- package/node/esm/{DNSjK5DAH3M14Qbc.mjs → CyafafEgfmjLqE5O.mjs} +1 -1
- package/node/esm/D-xqQ5qOSd6WrzwJ.mjs +94 -0
- package/node/esm/DLqBHdFp6wvm6EGs.mjs +212 -0
- package/node/esm/{BcwMb6CyVfvEwbHn.mjs → DMXLxp3T0E0SRTQc.mjs} +1 -1
- package/node/esm/{DZzvTQxIKr9LbEsA.mjs → DWqvf4H5F2wMnZ0L.mjs} +32 -30
- package/node/esm/DatM6eEYPpAtIMy-.mjs +405 -0
- package/node/esm/Db3dbaYLKUO66T9s.mjs +1689 -0
- package/node/esm/{B_jRGdwGFkudwmL-.mjs → DdEzhVqYTrGODXrz.mjs} +1 -1
- package/node/esm/DeZJlLk8WJ3BLtLs.mjs +975 -0
- package/node/esm/DfCuL8AUxMFoEG2s.mjs +519 -0
- package/node/esm/{Bb1sLMqXWKjdve23.mjs → Do-zCKziWhoG5eAv.mjs} +2 -2
- package/node/esm/{B8SQfjKjzYHLxzZR.mjs → DpJ2gmZJioCyq8La.mjs} +67 -67
- package/node/esm/{ETK6T6G0SIcFXDe5.mjs → XEDcegsv5AGKBfu2.mjs} +40 -40
- package/node/esm/index.mjs +8941 -13558
- package/node/esm/yCUxQuqVuC4DHKPx.mjs +385 -0
- package/node/esm/zITjZ7R4raDqhP-n.mjs +515 -0
- package/package.json +9 -9
- package/resources/locales/de/ui.msg.json +97 -0
- package/resources/locales/en/ui.msg.json +97 -0
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +4 -4
- package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
- package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
- package/types/src/anomalies/index.d.ts +3 -0
- package/types/src/border/BorderTemplateIcon.d.ts +6 -1
- package/types/src/chart/ChartFormatPanel.d.ts +20 -0
- package/types/src/chart/ChartPlugin.d.ts +6 -0
- package/types/src/chart/index.d.ts +3 -0
- package/types/src/comments/CommentCard.d.ts +2 -2
- package/types/src/conditions/useFormulaOption.d.ts +2 -2
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
- package/types/src/format/BorderPreview.d.ts +11 -4
- package/types/src/format/useFormatSelection.d.ts +4 -4
- package/types/src/formulaBar/MobileFormulaBar.d.ts +18 -6
- package/types/src/formulaBar/MobileInputToolbar.d.ts +9 -3
- package/types/src/formulaBar/useFormulaBarSession.d.ts +6 -3
- package/types/src/index.d.ts +15 -6
- package/types/src/protection/ProtectedCellsPanel.d.ts +2 -2
- package/types/src/protection/{SheetProtectionPanel.d.ts → WorksheetProtectionPanel.d.ts} +6 -6
- package/types/src/protection/index.d.ts +1 -1
- package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +2 -2
- package/types/src/workbook/DefaultRenderers.d.ts +2 -2
- package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
- package/browser/esm/Biy7bhzzzPb5sfRN.mjs +0 -152
- package/browser/esm/COv-m-c2byCgvU3M.mjs +0 -14861
- package/browser/esm/Die9NXVFveHvcCT-.mjs +0 -4205
- package/browser/esm/sam1KGQZ59B_fADz.mjs +0 -1941
- package/node/esm/BYwXhrEwkRAt9nJS.mjs +0 -71
- package/node/esm/Cmt8Wv806N7NmE4Y.mjs +0 -3344
|
@@ -42,6 +42,102 @@
|
|
|
42
42
|
"chart.category.pie": "Pie",
|
|
43
43
|
"chart.category.scatter": "Scatter",
|
|
44
44
|
"chart.insertFallback": "Insert Chart…",
|
|
45
|
+
"chart.pane.axis": "{side} ({kind}) Axis",
|
|
46
|
+
"chart.pane.axisKind.category": "Category",
|
|
47
|
+
"chart.pane.axisKind.series": "Series",
|
|
48
|
+
"chart.pane.axisKind.value": "Value",
|
|
49
|
+
"chart.pane.axisSide.horizontal": "Horizontal",
|
|
50
|
+
"chart.pane.axisSide.vertical": "Vertical",
|
|
51
|
+
"chart.pane.downBars": "Down Bars",
|
|
52
|
+
"chart.pane.element": "Chart Element",
|
|
53
|
+
"chart.pane.element.allDataLabels": "Data Labels",
|
|
54
|
+
"chart.pane.element.axisTitle": "{axis} Title",
|
|
55
|
+
"chart.pane.element.chartArea": "Chart Area",
|
|
56
|
+
"chart.pane.element.dataLabel": "{point} Data Label",
|
|
57
|
+
"chart.pane.element.dataLabels": "{series} Data Labels",
|
|
58
|
+
"chart.pane.element.dataTable": "Data Table",
|
|
59
|
+
"chart.pane.element.dropLines": "Drop Lines",
|
|
60
|
+
"chart.pane.element.group": "Chart Group {index}",
|
|
61
|
+
"chart.pane.element.hiLoLines": "High-Low Lines",
|
|
62
|
+
"chart.pane.element.legend": "Legend",
|
|
63
|
+
"chart.pane.element.legendEntry": "Legend Entry {index}",
|
|
64
|
+
"chart.pane.element.majorGridlines": "{axis} Major Gridlines",
|
|
65
|
+
"chart.pane.element.marker": "{owner} Marker",
|
|
66
|
+
"chart.pane.element.minorGridlines": "{axis} Minor Gridlines",
|
|
67
|
+
"chart.pane.element.plotArea": "Plot Area",
|
|
68
|
+
"chart.pane.element.point": "{series} Point {index}",
|
|
69
|
+
"chart.pane.element.series": "Series \"{name}\"",
|
|
70
|
+
"chart.pane.element.seriesLines": "Series Lines",
|
|
71
|
+
"chart.pane.element.title": "Chart Title",
|
|
72
|
+
"chart.pane.element.trendline": "{series} Trendline {index}",
|
|
73
|
+
"chart.pane.element.trendlineLabel": "{trendline} Label",
|
|
74
|
+
"chart.pane.element.upDownBars": "Up/Down Bars",
|
|
75
|
+
"chart.pane.element.xErrorBars": "{series} X Error Bars",
|
|
76
|
+
"chart.pane.element.yErrorBars": "{series} Y Error Bars",
|
|
77
|
+
"chart.pane.errorBars.amount": "Amount",
|
|
78
|
+
"chart.pane.errorBars.both": "Both",
|
|
79
|
+
"chart.pane.errorBars.cap": "End caps",
|
|
80
|
+
"chart.pane.errorBars.direction": "Direction",
|
|
81
|
+
"chart.pane.errorBars.fixedValue": "Fixed value",
|
|
82
|
+
"chart.pane.errorBars.minus": "Minus",
|
|
83
|
+
"chart.pane.errorBars.percent": "Percentage",
|
|
84
|
+
"chart.pane.errorBars.plus": "Plus",
|
|
85
|
+
"chart.pane.errorBars.stDev": "Standard deviation",
|
|
86
|
+
"chart.pane.errorBars.stError": "Standard error",
|
|
87
|
+
"chart.pane.errorBars.type": "Error amount",
|
|
88
|
+
"chart.pane.gapWidth": "Gap width",
|
|
89
|
+
"chart.pane.labels.bestFit": "Best fit",
|
|
90
|
+
"chart.pane.labels.category": "Category name",
|
|
91
|
+
"chart.pane.labels.center": "Center",
|
|
92
|
+
"chart.pane.labels.insideBase": "Inside base",
|
|
93
|
+
"chart.pane.labels.insideEnd": "Inside end",
|
|
94
|
+
"chart.pane.labels.legendKey": "Legend key",
|
|
95
|
+
"chart.pane.labels.outsideEnd": "Outside end",
|
|
96
|
+
"chart.pane.labels.percentage": "Percentage",
|
|
97
|
+
"chart.pane.labels.series": "Series name",
|
|
98
|
+
"chart.pane.labels.value": "Value",
|
|
99
|
+
"chart.pane.maximum": "Maximum",
|
|
100
|
+
"chart.pane.minimum": "Minimum",
|
|
101
|
+
"chart.pane.numberFormat": "Number format",
|
|
102
|
+
"chart.pane.options": "Options",
|
|
103
|
+
"chart.pane.overlap": "Overlap",
|
|
104
|
+
"chart.pane.overlay": "Show over the chart",
|
|
105
|
+
"chart.pane.position": "Position",
|
|
106
|
+
"chart.pane.reverse": "Values in reverse order",
|
|
107
|
+
"chart.pane.roundedCorners": "Rounded corners",
|
|
108
|
+
"chart.pane.secondary": "Secondary {label}",
|
|
109
|
+
"chart.pane.secondaryAxis": "Plot on the secondary axis",
|
|
110
|
+
"chart.pane.side.bottom": "Bottom",
|
|
111
|
+
"chart.pane.side.corner": "Top right",
|
|
112
|
+
"chart.pane.side.left": "Left",
|
|
113
|
+
"chart.pane.side.right": "Right",
|
|
114
|
+
"chart.pane.side.top": "Top",
|
|
115
|
+
"chart.pane.smooth": "Smoothed line",
|
|
116
|
+
"chart.pane.table.horizontal": "Horizontal borders",
|
|
117
|
+
"chart.pane.table.outline": "Outline",
|
|
118
|
+
"chart.pane.table.vertical": "Vertical borders",
|
|
119
|
+
"chart.pane.text": "Text",
|
|
120
|
+
"chart.pane.text.bold": "Bold",
|
|
121
|
+
"chart.pane.text.italic": "Italic",
|
|
122
|
+
"chart.pane.text.lineDouble": "Double",
|
|
123
|
+
"chart.pane.text.lineNone": "None",
|
|
124
|
+
"chart.pane.text.lineSingle": "Single",
|
|
125
|
+
"chart.pane.text.strike": "Strikethrough",
|
|
126
|
+
"chart.pane.text.underline": "Underline",
|
|
127
|
+
"chart.pane.titleText": "Text",
|
|
128
|
+
"chart.pane.trendline.backward": "Backward",
|
|
129
|
+
"chart.pane.trendline.equation": "Display equation",
|
|
130
|
+
"chart.pane.trendline.exponential": "Exponential",
|
|
131
|
+
"chart.pane.trendline.forward": "Forward",
|
|
132
|
+
"chart.pane.trendline.linear": "Linear",
|
|
133
|
+
"chart.pane.trendline.logarithmic": "Logarithmic",
|
|
134
|
+
"chart.pane.trendline.movingAverage": "Moving average",
|
|
135
|
+
"chart.pane.trendline.polynomial": "Polynomial",
|
|
136
|
+
"chart.pane.trendline.power": "Power",
|
|
137
|
+
"chart.pane.trendline.rSquared": "Display R-squared value",
|
|
138
|
+
"chart.pane.trendline.type": "Trendline",
|
|
139
|
+
"chart.pane.upBars": "Up Bars",
|
|
140
|
+
"chart.pane.visible": "Shown",
|
|
45
141
|
"checklist.blank": "(Blank)",
|
|
46
142
|
"checklist.spaces": "(Space ×{count})",
|
|
47
143
|
"color.automatic": "Automatic",
|
|
@@ -453,6 +549,7 @@
|
|
|
453
549
|
"format.indent": "Indent",
|
|
454
550
|
"format.indentUnit": "Characters",
|
|
455
551
|
"format.merge": "Merge",
|
|
552
|
+
"format.noWorksheet": "Select a worksheet to format its cells.",
|
|
456
553
|
"format.orientation": "Orientation",
|
|
457
554
|
"format.overflow": "Overflow",
|
|
458
555
|
"format.preview": "Preview",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IWorksheet, IAnchored } from '@sheetxl/sdk';
|
|
3
3
|
import { ItemMessageKeys } from '../itemsPanel';
|
|
4
4
|
import { ReanchorableItem } from './AnchoredRangeField';
|
|
5
5
|
/**
|
|
@@ -63,16 +63,16 @@ export interface AnchorItemsDescriptor<T extends AnchorItem> {
|
|
|
63
63
|
/**
|
|
64
64
|
* Returns the feature's collection for a sheet.
|
|
65
65
|
*/
|
|
66
|
-
getCollection(sheet:
|
|
66
|
+
getCollection(sheet: IWorksheet): AnchorItemCollection<T>;
|
|
67
67
|
/**
|
|
68
68
|
* Sheet events that signal the collection changed (add/remove/reorder/anchor moves),
|
|
69
69
|
* e.g. `['onDataValidationsChange']`. `onProtectionChange`/`onInvalidated` are always handled.
|
|
70
70
|
*/
|
|
71
|
-
changeEvents: (keyof
|
|
71
|
+
changeEvents: (keyof IWorksheet.IListeners)[];
|
|
72
72
|
/**
|
|
73
73
|
* Read-only predicate. Defaults to `!sheet.getProtection().isObjectsAllowed()`.
|
|
74
74
|
*/
|
|
75
|
-
isReadOnly?(sheet:
|
|
75
|
+
isReadOnly?(sheet: IWorksheet): boolean;
|
|
76
76
|
/**
|
|
77
77
|
* If `false` the move up/down affordances are hidden, for a collection whose evaluation does
|
|
78
78
|
* not depend on order.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IWorkbook } from '@sheetxl/sdk';
|
|
3
|
+
import { TaskPaneProps } from '@sheetxl/react';
|
|
4
|
+
export interface AnomaliesTaskPaneProps extends TaskPaneProps<IWorkbook> {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* **Anomalies** — where the selected sheet breaks its own patterns, as the `anomalies` feature
|
|
8
|
+
* reports them, one card per region, highest rank first.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* A snapshot: the list is what **Analyze** found and does not follow edits until it is pressed
|
|
12
|
+
* again. Hovering a card outlines its region on the grid, clicking it selects the region, and
|
|
13
|
+
* dismissing it takes it off the list (nothing is written to the sheet).
|
|
14
|
+
*/
|
|
15
|
+
export declare const AnomaliesTaskPane: React.MemoExoticComponent<(props: AnomaliesTaskPaneProps) => React.JSX.Element | null>;
|
|
16
|
+
export default AnomaliesTaskPane;
|
|
17
|
+
//# sourceMappingURL=AnomaliesTaskPane.d.ts.map
|
|
@@ -15,7 +15,12 @@ export interface BorderTemplateIconProps {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The lines are a real {@link StaticBorderRenderer} fed the same strokes the click would write, so
|
|
17
17
|
* every one of these buttons previews its own edit — the current line style and color included.
|
|
18
|
-
* The dots are the cells, and they are drawn only where no line covers them.
|
|
18
|
+
* The dots are the cells, and they are drawn only where no line covers them. A diagonal runs
|
|
19
|
+
* corner to corner across the whole grid.
|
|
20
|
+
*
|
|
21
|
+
* Dots and lines share one device-pixel layout: each dot is an odd number of device pixels
|
|
22
|
+
* centered on the pixel a thin line at that boundary fills, so odd-width lines run through the
|
|
23
|
+
* dots' centers and an even-width line keeps its inner pixel on them.
|
|
19
24
|
*/
|
|
20
25
|
export declare const BorderTemplateIcon: {
|
|
21
26
|
(props: BorderTemplateIconProps): React.ReactElement;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IChart } from '@sheetxl/sdk';
|
|
3
|
+
import { useTranslator } from '@sheetxl/utils-react';
|
|
4
|
+
import { MovablePaneProps } from '@sheetxl/react';
|
|
5
|
+
type Translate = ReturnType<typeof useTranslator>;
|
|
6
|
+
/** The element by the name Excel's Chart Elements list gives it. */
|
|
7
|
+
export declare const elementLabel: (t: Translate, element: IChart.IElement) => string;
|
|
8
|
+
/**
|
|
9
|
+
* The body of the format pane for a chart: Excel's Format pane for one chart element at a time,
|
|
10
|
+
* chosen from the chart's elements as its Chart Elements list offers them.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Each element shows its fill and line (the format pane's own Fill and Line controls, bound to the
|
|
14
|
+
* element's style), its text style where it has text, and its own options. Every control writes
|
|
15
|
+
* through the element's setters, one step to undo each; what a chart refuses is said under the
|
|
16
|
+
* picker.
|
|
17
|
+
*/
|
|
18
|
+
export declare const ChartFormatPanel: React.MemoExoticComponent<(props: MovablePaneProps) => React.JSX.Element>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ChartFormatPanel.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { CellCoords } from '@sheetxl/utils';
|
|
3
|
-
import { IComment,
|
|
3
|
+
import { IComment, IWorksheet } from '@sheetxl/sdk';
|
|
4
4
|
export interface CommentCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
5
5
|
/** The sheet the card's cell is on. */
|
|
6
|
-
sheet:
|
|
6
|
+
sheet: IWorksheet;
|
|
7
7
|
/** The cell the card belongs to. */
|
|
8
8
|
coords: CellCoords;
|
|
9
9
|
/** The thread, or `null` for a draft: nothing is written until it is posted. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRange, ICalculation, ICellRanges, IDataValidation,
|
|
1
|
+
import { IRange, ICalculation, ICellRanges, IDataValidation, IWorksheet } from '@sheetxl/sdk';
|
|
2
2
|
/**
|
|
3
3
|
* The rule being edited, as the fields inside its editor need it. A conditional format or a data
|
|
4
4
|
* validation satisfies this as it is.
|
|
@@ -17,7 +17,7 @@ export interface FormulaFrame {
|
|
|
17
17
|
/** See {@link FormulaFrame}. */
|
|
18
18
|
export declare const FormulaFrameContext: import('react').Context<FormulaFrame | null>;
|
|
19
19
|
/** The cell a rule's formulas are typed and shown at. */
|
|
20
|
-
export declare const activeCellOf: (sheet:
|
|
20
|
+
export declare const activeCellOf: (sheet: IWorksheet) => IRange.CellCoords;
|
|
21
21
|
/**
|
|
22
22
|
* Converts between a condition's formula param and the text a field edits.
|
|
23
23
|
*/
|
|
@@ -4,7 +4,7 @@ export interface WorkbookStatisticsDialogProps extends InputDialogProps<void, Co
|
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Display-only profile of the workbook — Excel's Workbook Statistics dialog. Two sections
|
|
7
|
-
* (current sheet / workbook) of count rows over `
|
|
7
|
+
* (current sheet / workbook) of count rows over `IWorksheet.getStats` / `IWorkbook.getStats`.
|
|
8
8
|
*
|
|
9
9
|
* TODO - also surface in the status bar.
|
|
10
10
|
*/
|
|
@@ -2,11 +2,12 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { IBorders } from '@sheetxl/sdk';
|
|
3
3
|
import { TranslateFn } from '@sheetxl/utils-react';
|
|
4
4
|
/**
|
|
5
|
-
* The
|
|
5
|
+
* The lines the diagram lets you click — the six that run along a block's cell boundaries.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* The diagonals are not here: they
|
|
9
|
-
*
|
|
8
|
+
* The diagonals are not here: they cross the inner rules, and nearest-line picking cannot separate
|
|
9
|
+
* lines that cross at the same point. They are aimed at by the block's outer corners instead (see
|
|
10
|
+
* {@link edgesAt}).
|
|
10
11
|
*
|
|
11
12
|
* The order is the tie-break for a pointer sitting exactly where two lines cross, so the OUTER
|
|
12
13
|
* edges come first — a click on the left edge at its midpoint is aimed at the block's outline, not
|
|
@@ -19,7 +20,8 @@ export type BorderEdges = Partial<Record<IBorders.Edge, IBorders.StrokePropertie
|
|
|
19
20
|
/** Localized name for a border edge; literal `t()` pairs keep the extractor able to see them. */
|
|
20
21
|
export declare function edgeLabel(t: TranslateFn, edge: IBorders.Edge): string;
|
|
21
22
|
/**
|
|
22
|
-
* The edges a pointer is aimed at: one line, both inner rules at their crossing,
|
|
23
|
+
* The edges a pointer is aimed at: one line, both inner rules at their crossing, a diagonal at a
|
|
24
|
+
* corner, or none.
|
|
23
25
|
*
|
|
24
26
|
* @param x Pointer position relative to the diagram's top-left corner, in CSS px.
|
|
25
27
|
* @param y Pointer position relative to the diagram's top-left corner, in CSS px.
|
|
@@ -38,6 +40,11 @@ export declare function edgeLabel(t: TranslateFn, edge: IBorders.Edge): string;
|
|
|
38
40
|
* pair, which is the 'Inside' border. Only when both can be drawn — with one inner rule there is
|
|
39
41
|
* no crossing, and the middle is just that rule.
|
|
40
42
|
*
|
|
43
|
+
* The outer corners are the diagonals. A square on each corner, the size of the crossing's and
|
|
44
|
+
* centered on the corner's crop marks, aims at the diagonal that starts there: top-left and
|
|
45
|
+
* bottom-right are `diagonalDown`, top-right and bottom-left `diagonalUp`. The outline is two
|
|
46
|
+
* lines meeting there, so like the crossing the corner is neither of them.
|
|
47
|
+
*
|
|
41
48
|
* Exported because this is the part worth testing directly — jsdom lays nothing out, so a mounted
|
|
42
49
|
* diagram cannot be asked where its lines are.
|
|
43
50
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBorders,
|
|
1
|
+
import { IBorders, IWorksheet, ICell, ICellRange, ICellStyle, IStyleCollection, IColor } from '@sheetxl/sdk';
|
|
2
2
|
/**
|
|
3
3
|
* Everything the format panels need from the workbook, resolved from the live selection.
|
|
4
4
|
*
|
|
@@ -9,7 +9,7 @@ import { IBorders, IWorkbook, ISheet, ICell, ICellRange, ICellStyle, IStyleColle
|
|
|
9
9
|
*/
|
|
10
10
|
export interface FormatSelection {
|
|
11
11
|
/** The sheet the selection lives on. */
|
|
12
|
-
sheet:
|
|
12
|
+
sheet: IWorksheet;
|
|
13
13
|
/**
|
|
14
14
|
* The ANCHOR cell — the one the panels read their control values from, and the one the preview
|
|
15
15
|
* shows. A multi-cell selection has one style per cell; Excel reads the anchor too.
|
|
@@ -85,9 +85,9 @@ export interface FormatSelection {
|
|
|
85
85
|
hasInnerVertical: boolean;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Binds the format panels to
|
|
88
|
+
* Binds the format panels to a worksheet's live selection: re-renders on a selection change and on
|
|
89
89
|
* any style change (Excel-style live apply — the pane has no OK button, so what it shows must follow
|
|
90
90
|
* what it just wrote).
|
|
91
91
|
*/
|
|
92
|
-
export declare const useFormatSelection: (
|
|
92
|
+
export declare const useFormatSelection: (sheet: IWorksheet) => FormatSelection;
|
|
93
93
|
//# sourceMappingURL=useFormatSelection.d.ts.map
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FormulaBarProps, IFormulaBarElement } from './IFormulaBar';
|
|
3
|
+
export interface MobileFormulaBarProps extends FormulaBarProps {
|
|
4
|
+
/**
|
|
5
|
+
* If cancel and commit buttons are shown on the input toolbar. The studio's status bar shows both
|
|
6
|
+
* during an edit, so a host without that status bar can turn these on.
|
|
7
|
+
*/
|
|
8
|
+
showCancelCommit?: boolean;
|
|
9
|
+
}
|
|
3
10
|
/**
|
|
4
11
|
* The formula bar for a touch-only device: the same input the in-grid editor renders, in a box
|
|
5
12
|
* built for the bottom of a phone screen, with a row of entry buttons under it.
|
|
@@ -7,15 +14,20 @@ import { FormulaBarProps, IFormulaBarElement } from './IFormulaBar';
|
|
|
7
14
|
* @remarks
|
|
8
15
|
* The bar is `fx` and the editor, with the expand chevron inside the field at its right edge.
|
|
9
16
|
* Under it, the {@link MobileInputToolbar}: the letters, numbers and date inputs, Tab, Enter, and
|
|
10
|
-
* cancel / commit. There is no name box and no
|
|
11
|
-
* reachable elsewhere. Expanding grows the field upward: the bar is a flex sibling below the grid,
|
|
17
|
+
* (with {@link MobileFormulaBarProps.showCancelCommit}) cancel / commit. There is no name box and no
|
|
18
|
+
* Calculate Now button; the commands behind them stay reachable elsewhere. Expanding grows the field upward: the bar is a flex sibling below the grid,
|
|
12
19
|
* so the grid gives up the lines.
|
|
13
20
|
*
|
|
14
21
|
* It drives the same shared {@link SheetEditable} as the grid through {@link useFormulaBarSession}:
|
|
15
22
|
* a tap on the field starts the edit on the active cell, and a tap on a cell while editing inserts a
|
|
16
|
-
* reference, exactly as the desktop bar does. Enter and Tab (the toolbar's, the keyboard's) commit
|
|
17
|
-
* move the active cell
|
|
18
|
-
*
|
|
23
|
+
* reference, exactly as the desktop bar does. Enter and Tab (the toolbar's, the keyboard's) commit
|
|
24
|
+
* and move the active cell, leaving the bar idle.
|
|
25
|
+
*
|
|
26
|
+
* The virtual keyboard is the sheet's (see `useVirtualKeyboard`): the bar asks for its keyboard
|
|
27
|
+
* type, its letters and numbers buttons set it, and the bar registers itself as the editor a key typed
|
|
28
|
+
* into the grid opens in while the keyboard is up. In keyboard mode, focus that returns to the grid
|
|
29
|
+
* after an entry lands on the grid's typing input, so the keyboard stays for the next cell. Cancel and
|
|
30
|
+
* commit are the edit's ways out (`exitEditMode`), which end keyboard mode, so the keyboard goes down.
|
|
19
31
|
*/
|
|
20
|
-
export declare const MobileFormulaBar: React.NamedExoticComponent<Omit<
|
|
32
|
+
export declare const MobileFormulaBar: React.NamedExoticComponent<Omit<MobileFormulaBarProps, "ref"> & React.RefAttributes<IFormulaBarElement>>;
|
|
21
33
|
//# sourceMappingURL=MobileFormulaBar.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { VirtualKeyboardInputMode } from '@sheetxl/utils-react';
|
|
2
3
|
/** The native keyboard the input asks for: letters, or the number pad. */
|
|
3
4
|
export type MobileInputMode = 'text' | 'decimal';
|
|
4
5
|
export interface MobileInputToolbarProps {
|
|
@@ -9,7 +10,7 @@ export interface MobileInputToolbarProps {
|
|
|
9
10
|
/** Whether the input's virtual keyboard is up. */
|
|
10
11
|
keyboardShown: boolean;
|
|
11
12
|
/** The keyboard the input currently asks for. */
|
|
12
|
-
inputMode:
|
|
13
|
+
inputMode: VirtualKeyboardInputMode;
|
|
13
14
|
/** Open the letters or the number keyboard on the field. */
|
|
14
15
|
onInputMode: (mode: MobileInputMode) => void;
|
|
15
16
|
/** Open the date picker; the picked date goes into the field. */
|
|
@@ -18,6 +19,11 @@ export interface MobileInputToolbarProps {
|
|
|
18
19
|
onTab: () => void;
|
|
19
20
|
/** Commit and move the active cell down, then keep typing. */
|
|
20
21
|
onEnter: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* Whether cancel and commit are on the toolbar. The studio's status bar carries both for any
|
|
24
|
+
* edit, so they are off unless a host without one asks.
|
|
25
|
+
*/
|
|
26
|
+
showCancelCommit?: boolean;
|
|
21
27
|
/** Discard the edit. */
|
|
22
28
|
onCancel: () => void;
|
|
23
29
|
/** Keep the edit and stop. */
|
|
@@ -25,8 +31,8 @@ export interface MobileInputToolbarProps {
|
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* The row of entry buttons under the phone's formula bar, on the same surface as the studio
|
|
28
|
-
* toolbar: the three inputs (letters, numbers, date) at the left, Tab and Enter
|
|
29
|
-
*
|
|
34
|
+
* toolbar: the three inputs (letters, numbers, date) at the left, then Tab and Enter, and cancel /
|
|
35
|
+
* commit at the right when {@link MobileInputToolbarProps.showCancelCommit} asks for them.
|
|
30
36
|
*
|
|
31
37
|
* @remarks
|
|
32
38
|
* Presentation only. The host owns the textarea and the session, so every action is a callback it
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { IWorkbook,
|
|
2
|
+
import { IWorkbook, IWorksheet, ICell } from '@sheetxl/sdk';
|
|
3
3
|
import { CommandScopeSpec } from '@sheetxl/utils-react';
|
|
4
4
|
import { SheetEditable } from '@sheetxl/react';
|
|
5
5
|
/** The logical editor id both formula bar hosts park on the session (see `EditSession.setActiveEditorId`). */
|
|
@@ -24,8 +24,11 @@ export interface FormulaBarSessionOptions {
|
|
|
24
24
|
hintPlacement?: 'below' | 'above';
|
|
25
25
|
}
|
|
26
26
|
export interface FormulaBarSession {
|
|
27
|
-
/**
|
|
28
|
-
|
|
27
|
+
/**
|
|
28
|
+
* The selected worksheet, or `null` while the active tab is a sheet of another kind. The bar is
|
|
29
|
+
* then disabled and shows no cell.
|
|
30
|
+
*/
|
|
31
|
+
sheet: IWorksheet | null;
|
|
29
32
|
/** The active cell's coordinates on {@link FormulaBarSession.sheet}. */
|
|
30
33
|
activeCoords: ICell.Coords;
|
|
31
34
|
/** The bar cannot start an edit: the host said so, the cell is protected or the workbook is read-only. */
|
package/types/src/index.d.ts
CHANGED
|
@@ -11,15 +11,24 @@ export * from './theme';
|
|
|
11
11
|
export * from './toolbar';
|
|
12
12
|
export * from './statusBar';
|
|
13
13
|
export * from './formulaBar';
|
|
14
|
-
export * from './named';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
14
|
+
export * from './named/INamedCollectionEditor';
|
|
15
|
+
export * from './named/NamedCollectionEditor';
|
|
16
|
+
export * from './named/NamedPlugin';
|
|
17
|
+
export * from './externalLink/ExternalLinksPlugin';
|
|
18
|
+
export * from './comments/CommentCard';
|
|
19
|
+
export * from './comments/CommentsPlugin';
|
|
20
|
+
export * from './anomalies/AnomaliesPlugin';
|
|
17
21
|
export * from './filter';
|
|
18
|
-
export * from './table';
|
|
22
|
+
export * from './table/TableStylePreview';
|
|
23
|
+
export * from './table/TableStyleCanvasPreview';
|
|
24
|
+
export * from './table/TablePlugin';
|
|
19
25
|
export * from './slicer';
|
|
20
26
|
export * from './fill';
|
|
21
|
-
export * from './format';
|
|
22
|
-
export * from './
|
|
27
|
+
export * from './format/NumberFormatOption';
|
|
28
|
+
export * from './format/FormatPlugin';
|
|
29
|
+
export type { FormatTab, FormatPaneArgs } from './format/FormatTaskPane';
|
|
30
|
+
export * from './protection/PasswordField';
|
|
31
|
+
export * from './protection/ProtectionPlugin';
|
|
23
32
|
export * from './sheet';
|
|
24
33
|
export * from './workbook';
|
|
25
34
|
export * from './theme';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IWorksheet } from '@sheetxl/sdk';
|
|
3
3
|
export interface ProtectedCellsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** The sheet whose selected cells are edited. */
|
|
5
|
-
sheet:
|
|
5
|
+
sheet: IWorksheet;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* The **Cells** tab of Manage Protection: the protection format of the selected cells.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { IWorksheet } from '@sheetxl/sdk';
|
|
3
|
+
export interface WorksheetProtectionPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** The sheet whose protection is edited. */
|
|
5
|
-
sheet:
|
|
5
|
+
sheet: IWorksheet;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* The **Sheet** tab of Manage Protection: protect / pause / highlight, the password, and the
|
|
@@ -30,6 +30,6 @@ export interface SheetProtectionPanelProps extends React.HTMLAttributes<HTMLDivE
|
|
|
30
30
|
* enforcement, wrong for chrome — so this reads `isPaused()` separately: the Protect switch stays
|
|
31
31
|
* on and a banner says why nothing is being enforced.
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
34
|
-
export default
|
|
35
|
-
//# sourceMappingURL=
|
|
33
|
+
export declare const WorksheetProtectionPanel: React.NamedExoticComponent<WorksheetProtectionPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
export default WorksheetProtectionPanel;
|
|
35
|
+
//# sourceMappingURL=WorksheetProtectionPanel.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './PasswordDialog';
|
|
2
2
|
export * from './PasswordField';
|
|
3
3
|
export * from './WorkbookProtectionPanel';
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './WorksheetProtectionPanel';
|
|
5
5
|
export * from './ProtectedCellsPanel';
|
|
6
6
|
export * from './WorkbookProtectionTab';
|
|
7
7
|
export * from './ManageProtectionTaskPane';
|
|
@@ -5,8 +5,8 @@ export interface PresetSlicerStylesCommandButtonProps extends CommandPopupButton
|
|
|
5
5
|
commandKey: string;
|
|
6
6
|
/**
|
|
7
7
|
* A command the button runs when pressed, with no style: the gallery is then a dropdown beside it.
|
|
8
|
-
* The style outlined is
|
|
9
|
-
*
|
|
8
|
+
* The style outlined is the workbook's default, the one a press inserts. As the Insert Slicer
|
|
9
|
+
* button uses it.
|
|
10
10
|
*/
|
|
11
11
|
quickCommandKey?: string;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { WorksheetElementProps, SheetTabProps, CommentCardRenderProps, HyperlinkCardRenderProps, TableToolbarRenderProps, OutlineButtonProps, OutlineLevelButtonProps } from '@sheetxl/react';
|
|
3
3
|
import { AnimatedLoadingPanelProps, StackTraceErrorPanelProps } from '@sheetxl/utils-mui';
|
|
4
4
|
import { FormulaBarProps } from '../formulaBar';
|
|
5
5
|
import { ColumnMenuProps } from '../filter';
|
|
@@ -28,7 +28,7 @@ export declare const renderColumnMenu: (props: ColumnMenuProps) => React.ReactEl
|
|
|
28
28
|
export declare const renderWorkbookFormulaBar: (props: FormulaBarProps) => React.ReactElement;
|
|
29
29
|
export declare const renderWorkbookLoading: (props: AnimatedLoadingPanelProps) => React.ReactElement;
|
|
30
30
|
export declare const renderWorkbookError: (props: StackTraceErrorPanelProps) => React.ReactElement;
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const renderWorkbookWorksheet: (props: WorksheetElementProps) => React.ReactElement;
|
|
32
32
|
export declare const renderWorkbookStatusBar: (props: StatusBarProps) => React.ReactElement;
|
|
33
33
|
export declare const renderWorkbookStrip: (props: WorkbookStripProps) => React.ReactElement;
|
|
34
34
|
export declare const renderWorkbookStripContextMenu: (props: SheetTabMenuProps) => React.ReactElement;
|
|
@@ -9,5 +9,9 @@ export interface WorkbookContextMenuProps extends React.HTMLAttributes<HTMLDivEl
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
floatReference: FloatReference;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* The grid's context menu. It acts on the selected worksheet's selection, so it shows nothing while
|
|
14
|
+
* the active tab is a sheet of another kind.
|
|
15
|
+
*/
|
|
12
16
|
export declare const WorkbookContextMenu: React.FC<WorkbookContextMenuProps>;
|
|
13
17
|
//# sourceMappingURL=WorkbookContextMenu.d.ts.map
|