@kition/kit-sheet-ui 0.0.0-stage → 0.1.3

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.
Files changed (46) hide show
  1. package/package.json +40 -4
  2. package/sheet-ui/LICENSE +177 -0
  3. package/sheet-ui/NOTICE +73 -0
  4. package/sheet-ui/THIRD_PARTY_NOTICES.txt +8905 -0
  5. package/sheet-ui/agent/checks.json +56 -0
  6. package/sheet-ui/agent/guide.md +340 -0
  7. package/sheet-ui/assets/dev-D8UCHOb0.js +1 -0
  8. package/sheet-ui/assets/index-CcQhqOwu.css +1 -0
  9. package/sheet-ui/assets/index-DblcoJ90.js +1 -0
  10. package/sheet-ui/assets/index-Dl4Hu9Cv.js +98 -0
  11. package/sheet-ui/assets/kitEngine.worker-9PIHJagj-Dwbox6hp.js +13020 -0
  12. package/sheet-ui/assets/ko-Fe7YrdBh.js +274 -0
  13. package/sheet-ui/assets/pt-BK3ToRXt.js +275 -0
  14. package/sheet-ui/assets/ru-Di_jxcA2.js +274 -0
  15. package/sheet-ui/assets/symbolNames--e2SA9f6.js +3120 -0
  16. package/sheet-ui/assets/zh-C0AkZS0b.js +274 -0
  17. package/sheet-ui/engine/kition_sheet_kit.js +1126 -0
  18. package/sheet-ui/engine/kition_sheet_kit_bg.wasm +0 -0
  19. package/sheet-ui/fonts/Arimo-Italic-Variable.ttf +0 -0
  20. package/sheet-ui/fonts/Arimo-Variable.ttf +0 -0
  21. package/sheet-ui/fonts/Caladea-Bold.ttf +0 -0
  22. package/sheet-ui/fonts/Caladea-BoldItalic.ttf +0 -0
  23. package/sheet-ui/fonts/Caladea-Italic.ttf +0 -0
  24. package/sheet-ui/fonts/Caladea-Regular.ttf +0 -0
  25. package/sheet-ui/fonts/Carlito-Bold.ttf +0 -0
  26. package/sheet-ui/fonts/Carlito-BoldItalic.ttf +0 -0
  27. package/sheet-ui/fonts/Carlito-Italic.ttf +0 -0
  28. package/sheet-ui/fonts/Carlito-Regular.ttf +0 -0
  29. package/sheet-ui/fonts/Cousine-Regular.ttf +0 -0
  30. package/sheet-ui/fonts/DroidSansFallback-NOTICE.txt +190 -0
  31. package/sheet-ui/fonts/DroidSansFallbackFull.ttf +0 -0
  32. package/sheet-ui/fonts/MaShanZheng-Regular.ttf +0 -0
  33. package/sheet-ui/fonts/Tinos-Bold.ttf +0 -0
  34. package/sheet-ui/fonts/Tinos-Italic.ttf +0 -0
  35. package/sheet-ui/fonts/Tinos-Regular.ttf +0 -0
  36. package/sheet-ui/fonts/arimo-OFL.txt +93 -0
  37. package/sheet-ui/fonts/caladea-OFL.txt +93 -0
  38. package/sheet-ui/fonts/carlito-OFL.txt +94 -0
  39. package/sheet-ui/fonts/cousine-OFL.txt +93 -0
  40. package/sheet-ui/fonts/ma-shan-zheng-OFL.txt +93 -0
  41. package/sheet-ui/fonts/tinos-OFL.txt +93 -0
  42. package/sheet-ui/index.html +14 -0
  43. package/sheet-ui/kit-ui.json +1 -0
  44. package/sheet-ui/kit.json +244 -0
  45. package/sheet-ui/model/schema.json +275 -0
  46. package/README.md +0 -3
@@ -0,0 +1,275 @@
1
+ {
2
+ "kdm": 1,
3
+ "kit": "kit.sheet",
4
+ "schemaVersion": 6,
5
+ "root": "Workbook",
6
+ "types": {
7
+ "Workbook": {
8
+ "batchOps": { "*": { "direct": true } },
9
+ "toolId": { "field": "key" },
10
+ "derived": {
11
+ "computed": { "description": "Digest of formula computed values; changes carry the count of changed existing computed cells" },
12
+ "nextObjectId": { "premiseOnly": true, "description": "Next drawing/object ID allocated across sheets including group IDs" },
13
+ "storedScripts": { "premiseOnly": true, "description": "Defined-name entries holding saved scripts" },
14
+ "storedWatch": { "premiseOnly": true, "description": "Defined-name entries holding the watched-cell list" },
15
+ "storedViews": { "premiseOnly": true, "description": "Defined-name entries holding saved custom views" },
16
+ "tabs": { "premiseOnly": true, "description": "Digest of ordered sheet identities, independent of nested sheet content" },
17
+ "sheetReferences": { "premiseOnly": true, "description": "Formula and internal-link rewrite inputs by referenced sheet identity" },
18
+ "headerSync": { "premiseOnly": true, "description": "Table headers requiring synchronization with stored column names" },
19
+ "tableNames": { "premiseOnly": true, "description": "Digest of table identities and names used for uniqueness checks" }
20
+ },
21
+ "fields": {
22
+ "key": { "kind": "string", "optional": true, "readOnly": true, "sample": false },
23
+ "props": { "kind": "json", "optional": true },
24
+ "theme": { "kind": "json", "optional": true },
25
+ "customLists": { "kind": "json", "optional": true },
26
+ "cellStyles": { "kind": "json", "optional": true },
27
+ "cellStyleDefinitions": { "kind": "map", "readOnly": true, "sample": false },
28
+ "styles": { "kind": "map" },
29
+ "styleObjects": { "kind": "list", "of": "Style", "readOnly": true, "sample": false },
30
+ "names": { "kind": "list", "of": "Name" },
31
+ "sheets": { "kind": "list", "of": "Sheet" },
32
+ "axisFacts": { "kind": "ref", "of": "AxisFacts", "optional": true, "owns": true, "readOnly": true, "sample": false }
33
+ }
34
+ },
35
+ "Name": {
36
+ "batchOps": { "*": { "direct": true } },
37
+ "toolId": { "field": "key", "prefix": "name:" },
38
+ "label": "name",
39
+ "derived": {
40
+ "lookupName": { "premiseOnly": true, "description": "Digest of the case-insensitive defined name used by explicit table-name uniqueness checks" }
41
+ },
42
+ "fields": {
43
+ "key": { "kind": "string", "optional": true, "readOnly": true, "sample": false },
44
+ "name": { "kind": "string", "label": "defined name" },
45
+ "scope": { "kind": "ref", "of": "Sheet", "optional": true },
46
+ "formula": { "kind": "string", "label": "formula", "sample": false },
47
+ "props": { "kind": "json", "optional": true }
48
+ }
49
+ },
50
+ "Sheet": {
51
+ "batchOps": { "*": { "direct": true } },
52
+ "label": "name",
53
+ "pathName": "name",
54
+ "fields": {
55
+ "name": { "kind": "string", "label": "sheet name" },
56
+ "props": { "kind": "json", "optional": true, "label": "sheet settings", "members": { "defaultColWidth": { "minimum": 0, "maximum": 1800 }, "defaultRowHeight": { "minimum": 0, "maximum": 546 } } },
57
+ "rows": { "kind": "list", "of": "Row" },
58
+ "cols": { "kind": "list", "of": "Col" },
59
+ "cells": { "kind": "map", "owns": true, "of": "Cell" },
60
+ "comments": { "kind": "map" },
61
+ "hyperlinks": { "kind": "map" },
62
+ "features": { "kind": "json", "optional": true },
63
+ "constraints": { "kind": "map", "readOnly": true, "sample": false },
64
+ "tableObjects": { "kind": "list", "of": "Table", "readOnly": true, "sample": false },
65
+ "pivotObjects": { "kind": "list", "of": "Pivot", "readOnly": true, "sample": false },
66
+ "groups": { "kind": "list", "of": "Group", "readOnly": true, "sample": false },
67
+ "images": { "kind": "list", "of": "Image", "sample": false },
68
+ "shapes": { "kind": "map", "owns": true, "readOnly": true, "sample": false },
69
+ "charts": { "kind": "map", "owns": true, "readOnly": true, "sample": false },
70
+ "sheetId": { "kind": "integer", "optional": true, "readOnly": true }
71
+ },
72
+ "toolId": { "field": "sheetId", "prefix": "sheet:" },
73
+ "derived": {
74
+ "axisOrder": { "premiseOnly": true, "description": "Structural axis anchors, excluding lazy empty padding" },
75
+ "arrays": { "premiseOnly": true, "description": "Digest of array formula anchor cells and covered ranges" },
76
+ "lastShape": { "premiseOnly": true, "description": "Identity of the last shape in stacking order" },
77
+ "chartStack": { "premiseOnly": true, "description": "Ordered chart identities read and replaced when moving a chart" },
78
+ "lastInk": { "premiseOnly": true, "description": "Identity of the last ink stroke in stacking order" },
79
+ "viewZoom": { "premiseOnly": true, "description": "Current saved sheet zoom read when recording a custom view" },
80
+ "editConnectors": { "premiseOnly": true, "description": "Connector definitions, endpoint geometry and coordinate axes read by shared edit rerouting" },
81
+ "freezeOrigin": { "premiseOnly": true, "description": "Saved top-left cell used when a frozen pane command defaults its origin" },
82
+ "filterScopes": { "premiseOnly": true, "description": "Digest of filter ranges and table identities used for scope discovery" },
83
+ "conditionalRanges": { "premiseOnly": true, "description": "Bounded numeric rule-area ranges used to compare conditional-format clear intersection decisions" },
84
+ "hiddenCount": { "description": "Number of hidden rows, as reported by filtering" },
85
+ "hiddenRows": { "premiseOnly": true, "description": "Digest of hidden row positions cleared by filter removal" },
86
+ "sortObjects": { "premiseOnly": true, "description": "Digest of floating object anchors that move with cells" },
87
+ "ink": { "description": "Ink strokes in sheet coordinates, derived from owned strokes and row/column geometry" }
88
+ }
89
+ },
90
+ "AxisFacts": {
91
+ "batchOps": { "*": { "direct": true } },
92
+ "toolId": { "field": "key", "prefix": "axis:" },
93
+ "derived": {
94
+ "contents": { "premiseOnly": true, "description": "Axis settings and derived reads, including normalized implicit empty defaults" },
95
+ "conditionalRanges": { "premiseOnly": true, "description": "Conditional clear coverage by sheet, independent of stored sheet edits" }
96
+ },
97
+ "fields": {
98
+ "key": { "kind": "string", "readOnly": true, "sample": false }
99
+ }
100
+ },
101
+ "Cell": {
102
+ "batchOps": {
103
+ "set.input": { "command": "cell.set", "params": { "cell": "target", "input": "value" } },
104
+ "*": { "direct": true }
105
+ },
106
+ "toolId": { "field": "address", "prefix": "cell:" },
107
+ "label": "label",
108
+ "fields": {
109
+ "address": { "kind": "string", "optional": true, "readOnly": true, "sample": false },
110
+ "label": { "kind": "string", "optional": true, "readOnly": true, "sample": false },
111
+ "input": { "kind": "string", "optional": true, "label": "cell entry" },
112
+ "text": {
113
+ "kind": "text",
114
+ "label": "cell text",
115
+ "marks": {
116
+ "bold": { "expand": "after" },
117
+ "italic": { "expand": "after" },
118
+ "underline": { "expand": "after" },
119
+ "strike": { "expand": "after" },
120
+ "font": { "expand": "after" },
121
+ "size": { "expand": "after" },
122
+ "color": { "expand": "after" },
123
+ "vertAlign": { "expand": "after" },
124
+ "family": { "expand": "after" },
125
+ "charset": { "expand": "after" },
126
+ "scheme": { "expand": "after" },
127
+ "extra": { "expand": "after" }
128
+ }
129
+ },
130
+ "style": { "kind": "string", "optional": true },
131
+ "array": { "kind": "string", "optional": true },
132
+ "picture": { "kind": "json", "optional": true },
133
+ "by": { "kind": "string", "optional": true, "readOnly": true },
134
+ "key": { "kind": "string", "optional": true, "readOnly": true },
135
+ "merged": { "kind": "json", "optional": true }
136
+ }
137
+ },
138
+ "Row": {
139
+ "batchOps": { "*": { "direct": true } },
140
+ "toolId": { "field": "key", "prefix": "row:" },
141
+ "derived": {
142
+ "conditionalAreas": { "premiseOnly": true, "description": "Numeric rule ranges by persistent start row, held by clears under the same-field decision" },
143
+ "spellingInputs": { "premiseOnly": true, "description": "Bounded nonnumeric row inputs searched by spelling, indexed by column; numeric literals use the existing cell input journal" },
144
+ "spellingHeader": { "premiseOnly": true, "description": "Header table membership and names for this stable row" },
145
+ "layout": { "premiseOnly": true, "description": "Digest of this row's cells, effective styles, merge coverage and widths used by automatic row fitting" },
146
+ "fit": { "premiseOnly": true, "description": "Digest of non-default height contributions from base fonts, wrapping and line breaks" },
147
+ "insertFormat": { "premiseOnly": true, "description": "Digest of cell and line formats inherited when a neighbouring row is inserted" },
148
+ "insertBoundary": { "premiseOnly": true, "description": "Digest of conditional formats ending on this row that grow when rows are inserted after it" },
149
+ "style": { "premiseOnly": true, "description": "Optional inherited row style, independent of other line settings" },
150
+ "outline": { "premiseOnly": true, "description": "Normalized row outline level" },
151
+ "hidden": { "premiseOnly": true, "description": "Normalized row visibility" }
152
+ },
153
+ "fields": {
154
+ "key": { "kind": "string", "optional": true, "readOnly": true },
155
+ "index": { "kind": "integer", "optional": true, "readOnly": true, "position": true },
156
+ "info": { "kind": "json", "optional": true, "label": "row settings", "members": { "size": { "minimum": 0, "maximum": 546 } } },
157
+ "gone": { "kind": "boolean", "optional": true, "position": true }
158
+ }
159
+ },
160
+ "Col": {
161
+ "batchOps": { "*": { "direct": true } },
162
+ "toolId": { "field": "key", "prefix": "col:" },
163
+ "derived": {
164
+ "headerReferences": { "premiseOnly": true, "description": "Formula rewrite inputs for table headers on this stable column" },
165
+ "layout": { "premiseOnly": true, "description": "Digest of this column's cells, effective styles and merge coverage used by automatic width fitting" },
166
+ "insertFormat": { "premiseOnly": true, "description": "Digest of cell and line formats inherited when a neighbouring column is inserted" },
167
+ "insertBoundary": { "premiseOnly": true, "description": "Digest of conditional formats ending on this column that grow when columns are inserted after it" },
168
+ "style": { "premiseOnly": true, "description": "Optional inherited column style, independent of other line settings" },
169
+ "outline": { "premiseOnly": true, "description": "Normalized column outline level" },
170
+ "hidden": { "premiseOnly": true, "description": "Normalized column visibility" }
171
+ },
172
+ "fields": {
173
+ "key": { "kind": "string", "optional": true, "readOnly": true },
174
+ "index": { "kind": "integer", "optional": true, "readOnly": true, "position": true },
175
+ "info": { "kind": "json", "optional": true, "label": "column settings", "members": { "size": { "minimum": 0, "maximum": 1800 } } },
176
+ "gone": { "kind": "boolean", "optional": true, "position": true }
177
+ }
178
+ },
179
+ "Group": {
180
+ "batchOps": { "*": { "direct": true } },
181
+ "readOnly": true,
182
+ "toolId": { "field": "key", "prefix": "drawing:" },
183
+ "fields": {
184
+ "key": { "kind": "integer", "readOnly": true },
185
+ "sheet": { "kind": "ref", "of": "Sheet", "readOnly": true, "position": true },
186
+ "members": { "kind": "json", "readOnly": true }
187
+ }
188
+ },
189
+ "Table": {
190
+ "batchOps": { "*": { "direct": true } },
191
+ "readOnly": true,
192
+ "toolId": { "field": "key", "prefix": "table:" },
193
+ "label": "name",
194
+ "derived": {
195
+ "formulaInputs": { "premiseOnly": true, "description": "Digest of formula inputs referring to this table, including new references" },
196
+ "lookupName": { "premiseOnly": true, "description": "Digest of the case-insensitive table name used by explicit table-name uniqueness checks" }
197
+ },
198
+ "fields": {
199
+ "key": { "kind": "string", "readOnly": true },
200
+ "name": { "kind": "string", "readOnly": true },
201
+ "sheet": { "kind": "ref", "of": "Sheet", "readOnly": true, "position": true },
202
+ "range": { "kind": "string", "readOnly": true, "position": true },
203
+ "columns": { "kind": "json", "readOnly": true }
204
+ }
205
+ },
206
+ "Pivot": {
207
+ "batchOps": { "*": { "direct": true } },
208
+ "readOnly": true,
209
+ "toolId": { "field": "key", "prefix": "pivot:" },
210
+ "label": "name",
211
+ "fields": {
212
+ "key": { "kind": "string", "readOnly": true },
213
+ "name": { "kind": "string", "readOnly": true },
214
+ "sheet": { "kind": "ref", "of": "Sheet", "readOnly": true, "position": true },
215
+ "anchor": { "kind": "string", "readOnly": true, "position": true },
216
+ "source": { "kind": "string", "readOnly": true }
217
+ }
218
+ },
219
+ "Style": {
220
+ "batchOps": { "*": { "direct": true } },
221
+ "readOnly": true,
222
+ "toolId": { "field": "key", "prefix": "style:" },
223
+ "label": "name",
224
+ "fields": {
225
+ "key": { "kind": "string", "readOnly": true },
226
+ "name": { "kind": "string", "optional": true, "readOnly": true },
227
+ "kind": { "kind": "string", "optional": true, "readOnly": true },
228
+ "value": { "kind": "json", "readOnly": true }
229
+ }
230
+ },
231
+ "Image": {
232
+ "batchOps": { "*": { "direct": true } },
233
+ "derived": {
234
+ "anchorMode": { "premiseOnly": true, "description": "Anchor mode held as replacement content without holding geometry" }
235
+ },
236
+ "fields": {
237
+ "props": { "kind": "json", "optional": true },
238
+ "blob": { "kind": "blob", "optional": true },
239
+ "key": { "kind": "integer", "optional": true, "readOnly": true }
240
+ },
241
+ "toolId": { "field": "key", "prefix": "drawing:" }
242
+ },
243
+ "Shape": {
244
+ "batchOps": { "*": { "direct": true } },
245
+ "derived": {
246
+ "anchorMode": { "premiseOnly": true, "description": "Anchor mode held as replacement content without holding geometry" }
247
+ },
248
+ "fields": {
249
+ "sheet": { "kind": "ref", "of": "Sheet", "position": true },
250
+ "z": { "kind": "number", "optional": true, "position": true, "sample": false },
251
+ "frame": { "kind": "json", "optional": true, "position": true, "label": "drawing anchor", "sample": false },
252
+ "props": { "kind": "json", "optional": true },
253
+ "look": { "kind": "map" },
254
+ "text": { "kind": "text" },
255
+ "key": { "kind": "integer", "optional": true, "readOnly": true }
256
+ },
257
+ "toolId": { "field": "key", "prefix": "drawing:" }
258
+ },
259
+ "Chart": {
260
+ "batchOps": { "*": { "direct": true } },
261
+ "derived": {
262
+ "anchorMode": { "premiseOnly": true, "description": "Anchor mode held as replacement content without holding geometry" },
263
+ "assignedFrame": { "premiseOnly": true, "description": "Chart anchor held as replacement content by absolute assignments under the same-field decision" }
264
+ },
265
+ "fields": {
266
+ "sheet": { "kind": "ref", "of": "Sheet", "position": true },
267
+ "z": { "kind": "number", "optional": true, "position": true, "sample": false },
268
+ "frame": { "kind": "json", "optional": true, "position": true, "label": "chart anchor", "sample": false },
269
+ "parts": { "kind": "map" },
270
+ "key": { "kind": "integer", "optional": true, "readOnly": true }
271
+ },
272
+ "toolId": { "field": "key", "prefix": "drawing:" }
273
+ }
274
+ }
275
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.