@kition/kit-table-win32-x64 0.0.0-stage → 0.5.8
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/kit.json +224 -0
- package/kition-table.exe +4 -0
- package/package.json +34 -4
- package/README.md +0 -3
package/kit.json
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
|
|
3
|
+
"khp": "1.0",
|
|
4
|
+
"level": "basic",
|
|
5
|
+
"id": "kit.table",
|
|
6
|
+
"name": "Table",
|
|
7
|
+
"version": "0.5.8",
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"distribution": "default",
|
|
10
|
+
"capabilities": [
|
|
11
|
+
"kdm"
|
|
12
|
+
],
|
|
13
|
+
"engine": {
|
|
14
|
+
"runtime": "rust-wasm",
|
|
15
|
+
"module": "kition_table_kit",
|
|
16
|
+
"class": "TableDocument",
|
|
17
|
+
"contract": 2,
|
|
18
|
+
"crate": "kition-table-kit",
|
|
19
|
+
"editorState": []
|
|
20
|
+
},
|
|
21
|
+
"formats": [
|
|
22
|
+
{
|
|
23
|
+
"id": "ktable",
|
|
24
|
+
"extensions": [
|
|
25
|
+
"ktable"
|
|
26
|
+
],
|
|
27
|
+
"mime": "application/vnd.kition.table+sqlite3",
|
|
28
|
+
"role": "edit"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"creates": [
|
|
32
|
+
{
|
|
33
|
+
"id": "table",
|
|
34
|
+
"extension": "ktable",
|
|
35
|
+
"baseName": "Untitled table",
|
|
36
|
+
"size": {
|
|
37
|
+
"width": 640,
|
|
38
|
+
"height": 420
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"exports": [
|
|
43
|
+
{
|
|
44
|
+
"extension": "csv",
|
|
45
|
+
"mime": "text/csv",
|
|
46
|
+
"command": "table.file.export"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"extension": "md",
|
|
50
|
+
"mime": "text/markdown",
|
|
51
|
+
"command": "table.file.export"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"extras": {
|
|
55
|
+
"call": {
|
|
56
|
+
"params": [
|
|
57
|
+
"method",
|
|
58
|
+
"paramsJson"
|
|
59
|
+
],
|
|
60
|
+
"returns": "string",
|
|
61
|
+
"description": "One data-document request (kition-table-api): answers { result, change } as JSON."
|
|
62
|
+
},
|
|
63
|
+
"takeImported": {
|
|
64
|
+
"params": [],
|
|
65
|
+
"returns": "string",
|
|
66
|
+
"description": "The TableChanges of replica changes imported since the last call, as a JSON array of table/changed params."
|
|
67
|
+
},
|
|
68
|
+
"gridOpen": {
|
|
69
|
+
"params": [
|
|
70
|
+
"paramsJson"
|
|
71
|
+
],
|
|
72
|
+
"returns": "Uint8Array",
|
|
73
|
+
"description": "Arranges a view for the editor ({tableId, viewId?, config?, query?, collapsed?}): the axis (kition-table-arrange format v2: record ids in order, group headers with counts)."
|
|
74
|
+
},
|
|
75
|
+
"gridHits": {
|
|
76
|
+
"params": [
|
|
77
|
+
"paramsJson"
|
|
78
|
+
],
|
|
79
|
+
"returns": "Uint8Array",
|
|
80
|
+
"description": "Which cells of a run of the arrangement's rows hold the search ({epoch, from, count, fieldIds}): kition-table-arrange hits format v1, a bitmask over the fields per row; an error for an epoch that is not the latest."
|
|
81
|
+
},
|
|
82
|
+
"gridSync": {
|
|
83
|
+
"params": [],
|
|
84
|
+
"returns": "Uint8Array",
|
|
85
|
+
"description": "The editor's arrangement brought to the document's current state: the new axis, or no bytes when it is the same."
|
|
86
|
+
},
|
|
87
|
+
"gridStats": {
|
|
88
|
+
"params": [],
|
|
89
|
+
"returns": "string",
|
|
90
|
+
"description": "How long arranging took (whole arrangements and relocations) and how long the grid's bands took (bands), as JSON, for performance tests."
|
|
91
|
+
},
|
|
92
|
+
"gridAxes": {
|
|
93
|
+
"params": [
|
|
94
|
+
"axis",
|
|
95
|
+
"paramsJson"
|
|
96
|
+
],
|
|
97
|
+
"returns": "string",
|
|
98
|
+
"description": "Lays out an axis from gridOpen or gridSync for the grid ({tableId, viewId?, config?, zone?, theme?, brand?}; config is the view config as the editor holds it, unsaved keys first; zone the page's time zone as [from ms, minutes east of UTC] changes, where dates are read): row heights as runs, columns, header and row head sizes, band sizes, skeleton colors, the overlay's colors, sizes and row head control icons, and the group headers' ids, as JSON."
|
|
99
|
+
},
|
|
100
|
+
"gridRecords": {
|
|
101
|
+
"params": [
|
|
102
|
+
"paramsJson"
|
|
103
|
+
],
|
|
104
|
+
"returns": "string",
|
|
105
|
+
"description": "The records of some ids for the grid to edit ({tableId, ids, fields?}): [{id, row_key, values}] in the order asked, values only of the fields named when some are, ids that name no record left out."
|
|
106
|
+
},
|
|
107
|
+
"gridClear": {
|
|
108
|
+
"params": [
|
|
109
|
+
"paramsJson",
|
|
110
|
+
"ids"
|
|
111
|
+
],
|
|
112
|
+
"returns": "string",
|
|
113
|
+
"description": "Clears many records for the grid ({tableId, values}, the records' ids as a Float64Array): values (field name to empty value) set on each record of the table in one transact of one cells.set, the row keys found by the engine; answers { result, change } as JSON, result.cleared the records written."
|
|
114
|
+
},
|
|
115
|
+
"gridRows": {
|
|
116
|
+
"params": [],
|
|
117
|
+
"returns": "Uint8Array",
|
|
118
|
+
"description": "What each linear row of the grid gridAxes laid out is (a record and its id, a group header, an add row), for the page's hit testing and selection."
|
|
119
|
+
},
|
|
120
|
+
"gridBands": {
|
|
121
|
+
"params": [
|
|
122
|
+
"epoch",
|
|
123
|
+
"keys",
|
|
124
|
+
"dpr",
|
|
125
|
+
"icons",
|
|
126
|
+
"tilesJson"
|
|
127
|
+
],
|
|
128
|
+
"returns": "Uint8Array",
|
|
129
|
+
"description": "The grid's bands (layer, column band, row band triples) as display lists (format v1), with the icons from an id on and the emoji tiles the page lacks, in one batch."
|
|
130
|
+
},
|
|
131
|
+
"gridRaster": {
|
|
132
|
+
"params": [
|
|
133
|
+
"epoch",
|
|
134
|
+
"layer",
|
|
135
|
+
"colBand",
|
|
136
|
+
"rowBand",
|
|
137
|
+
"dpr"
|
|
138
|
+
],
|
|
139
|
+
"returns": "Uint8Array",
|
|
140
|
+
"description": "One band as the engine rasterizes it (width, height, RGBA8), for the parity test."
|
|
141
|
+
},
|
|
142
|
+
"gridPicture": {
|
|
143
|
+
"params": [
|
|
144
|
+
"bytes",
|
|
145
|
+
"maxSide"
|
|
146
|
+
],
|
|
147
|
+
"returns": "Uint8Array",
|
|
148
|
+
"description": "A picture's bytes decoded as the headless picture decodes them (PNG, JPEG, WebP, GIF's first frame, SVG drawn by resvg, HEIC): width and height (u32 each), then straight RGBA8, at most maxSide on its longest side; no bytes for another format. For the pictures the page's browser does not decode."
|
|
149
|
+
},
|
|
150
|
+
"gridMeasure": {
|
|
151
|
+
"params": [
|
|
152
|
+
"asksJson"
|
|
153
|
+
],
|
|
154
|
+
"returns": "string",
|
|
155
|
+
"description": "How the grid splits text into runs of one face and how wide each run is, as JSON, for the width test."
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"ui": {
|
|
159
|
+
"mode": "embedded",
|
|
160
|
+
"entry": "ui/index.html",
|
|
161
|
+
"menus": [
|
|
162
|
+
"Edit"
|
|
163
|
+
],
|
|
164
|
+
"layout": "canvas",
|
|
165
|
+
"brand": {
|
|
166
|
+
"light": "#0c8375",
|
|
167
|
+
"dark": "#3fd1bf"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"agent": {
|
|
171
|
+
"prefix": "table",
|
|
172
|
+
"tools": "document",
|
|
173
|
+
"drafts": true,
|
|
174
|
+
"objectModel": true,
|
|
175
|
+
"layout": false,
|
|
176
|
+
"parts": [
|
|
177
|
+
"table",
|
|
178
|
+
"view"
|
|
179
|
+
],
|
|
180
|
+
"render": "table.file.render",
|
|
181
|
+
"export": {
|
|
182
|
+
"command": "table.file.export",
|
|
183
|
+
"data": "data"
|
|
184
|
+
},
|
|
185
|
+
"describe": {
|
|
186
|
+
"noun": "table file",
|
|
187
|
+
"fileTypes": ".ktable",
|
|
188
|
+
"reports": "its tables with their fields (names, types, choices, link targets), views (filters, sorts, groups), record counts and first records (ids and values, by the ids the commands take; the rest a page at a time with `table.read`), and its dashboards",
|
|
189
|
+
"covers": "tables, fields, records, views, filters, sorting, grouping, links, dashboards, and more; `table.records.create` adds a record; a new file holds one starter table (table 1, `Table`: title, status, notes) that `table.tables.delete` removes",
|
|
190
|
+
"queries": "`records`, `fields`, or `views`",
|
|
191
|
+
"example": "table.records.create"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"headless": {
|
|
195
|
+
"executable": "kition-table",
|
|
196
|
+
"protocol": "kition-kit/1",
|
|
197
|
+
"features": [
|
|
198
|
+
"view.describe",
|
|
199
|
+
"document.check",
|
|
200
|
+
"document.identity",
|
|
201
|
+
"model.open",
|
|
202
|
+
"model.import",
|
|
203
|
+
"model.export",
|
|
204
|
+
"model.save",
|
|
205
|
+
"model.describe",
|
|
206
|
+
"model.batch"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"model": {
|
|
210
|
+
"schema": "model/schema.json",
|
|
211
|
+
"schemaVersion": 1
|
|
212
|
+
},
|
|
213
|
+
"collaboration": {
|
|
214
|
+
"merge": [
|
|
215
|
+
"database",
|
|
216
|
+
"binary"
|
|
217
|
+
],
|
|
218
|
+
"leases": [],
|
|
219
|
+
"serverValidation": false
|
|
220
|
+
},
|
|
221
|
+
"objectModel": {
|
|
222
|
+
"namespace": "Table"
|
|
223
|
+
}
|
|
224
|
+
}
|
package/kition-table.exe
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kition/kit-table-win32-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.5.8",
|
|
4
|
+
"description": "Kition's Table kit (kit.table 0.5.8) for win32-x64: its headless executable and kit.json. Not for installing by hand: kition installs it.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/KitionAI/kition-table.git"
|
|
9
|
+
},
|
|
10
|
+
"os": [
|
|
11
|
+
"win32"
|
|
12
|
+
],
|
|
13
|
+
"cpu": [
|
|
14
|
+
"x64"
|
|
15
|
+
],
|
|
16
|
+
"files": [
|
|
17
|
+
"kit.json",
|
|
18
|
+
"kition-table.exe"
|
|
19
|
+
],
|
|
20
|
+
"kition": {
|
|
21
|
+
"kit": "table",
|
|
22
|
+
"id": "kit.table",
|
|
23
|
+
"name": "Table",
|
|
24
|
+
"version": "0.5.8",
|
|
25
|
+
"role": "headless",
|
|
26
|
+
"platform": "win32-x64",
|
|
27
|
+
"protocol": "kition-kit/1",
|
|
28
|
+
"extensions": [
|
|
29
|
+
"ktable"
|
|
30
|
+
],
|
|
31
|
+
"views": [],
|
|
32
|
+
"build": {
|
|
33
|
+
"commit": "818364657b3deb118802fe9c3ebcf1659b0b49e6"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
package/README.md
DELETED