@kition/kit-layout-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 (36) hide show
  1. package/layout-ui/LICENSE +177 -0
  2. package/layout-ui/NOTICE +209 -0
  3. package/layout-ui/THIRD_PARTY_NOTICES.txt +12429 -0
  4. package/layout-ui/agent/checks.json +51 -0
  5. package/layout-ui/agent/guide.md +301 -0
  6. package/layout-ui/assets/dev-urAth9yG.js +1 -0
  7. package/layout-ui/assets/index-3JO7a523.js +52 -0
  8. package/layout-ui/assets/index-DblcoJ90.js +1 -0
  9. package/layout-ui/assets/index-_eI3PfdK.css +1 -0
  10. package/layout-ui/assets/kitEngine.worker-9PIHJagj-Dwbox6hp.js +13020 -0
  11. package/layout-ui/engine/kition_layout_kit.js +1147 -0
  12. package/layout-ui/engine/kition_layout_kit_bg.wasm +0 -0
  13. package/layout-ui/fonts/BricolageGrotesque-OFL.txt +93 -0
  14. package/layout-ui/fonts/BricolageGrotesque-Variable.ttf +0 -0
  15. package/layout-ui/fonts/DroidSansFallback-NOTICE.txt +190 -0
  16. package/layout-ui/fonts/DroidSansFallbackFull.ttf +0 -0
  17. package/layout-ui/fonts/Inter-OFL.txt +93 -0
  18. package/layout-ui/fonts/Inter-Variable.ttf +0 -0
  19. package/layout-ui/fonts/JetBrainsMono-OFL.txt +93 -0
  20. package/layout-ui/fonts/JetBrainsMono-Variable.ttf +0 -0
  21. package/layout-ui/fonts/Lora-OFL.txt +93 -0
  22. package/layout-ui/fonts/Lora-Variable.ttf +0 -0
  23. package/layout-ui/index.html +14 -0
  24. package/layout-ui/kit-ui.json +1 -0
  25. package/layout-ui/kit.json +173 -0
  26. package/layout-ui/model/schema.json +544 -0
  27. package/layout-ui/templates/editorial.klayout +0 -0
  28. package/layout-ui/templates/editorial.png +0 -0
  29. package/layout-ui/templates/event.klayout +0 -0
  30. package/layout-ui/templates/event.png +0 -0
  31. package/layout-ui/templates/quote.klayout +0 -0
  32. package/layout-ui/templates/quote.png +0 -0
  33. package/layout-ui/templates/sale.klayout +0 -0
  34. package/layout-ui/templates/sale.png +0 -0
  35. package/package.json +31 -4
  36. package/README.md +0 -3
@@ -0,0 +1,173 @@
1
+ {
2
+ "$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
3
+ "khp": "1.0",
4
+ "level": "basic",
5
+ "id": "kit.layout",
6
+ "name": "Layout",
7
+ "version": "0.1.3",
8
+ "license": "Apache-2.0",
9
+ "distribution": "plugin",
10
+ "engine": {
11
+ "runtime": "rust-wasm",
12
+ "module": "kition_layout_kit",
13
+ "class": "LayoutDocument",
14
+ "contract": 2,
15
+ "crate": "kition-layout-kit",
16
+ "editorState": [
17
+ "/selection",
18
+ "/activeLayer",
19
+ "/tool"
20
+ ]
21
+ },
22
+ "formats": [
23
+ {
24
+ "id": "layout",
25
+ "extensions": [
26
+ "klayout"
27
+ ],
28
+ "mime": "application/vnd.kition.layout+zip",
29
+ "role": "edit"
30
+ },
31
+ {
32
+ "id": "layout-import",
33
+ "extensions": [
34
+ "idml"
35
+ ],
36
+ "mime": "application/vnd.adobe.indesign-idml-package",
37
+ "role": "view"
38
+ }
39
+ ],
40
+ "creates": [
41
+ {
42
+ "id": "layout",
43
+ "extension": "klayout",
44
+ "baseName": "Untitled layout",
45
+ "size": {
46
+ "width": 612,
47
+ "height": 792
48
+ }
49
+ }
50
+ ],
51
+ "exports": [
52
+ {
53
+ "extension": "pdf",
54
+ "mime": "application/pdf",
55
+ "command": "file.exportBytes"
56
+ },
57
+ {
58
+ "extension": "png",
59
+ "mime": "image/png",
60
+ "command": "file.exportBytes"
61
+ },
62
+ {
63
+ "extension": "jpg",
64
+ "mime": "image/jpeg",
65
+ "command": "file.exportBytes"
66
+ },
67
+ {
68
+ "extension": "html",
69
+ "mime": "text/html",
70
+ "command": "file.exportBytes"
71
+ },
72
+ {
73
+ "extension": "idml",
74
+ "mime": "application/vnd.adobe.indesign-idml-package",
75
+ "command": "file.exportBytes"
76
+ },
77
+ {
78
+ "extension": "epub",
79
+ "mime": "application/epub+zip",
80
+ "command": "file.exportBytes"
81
+ }
82
+ ],
83
+ "capabilities": [
84
+ "kdm",
85
+ "engine-tools",
86
+ "pages"
87
+ ],
88
+ "ui": {
89
+ "mode": "embedded",
90
+ "display": "line",
91
+ "entry": "ui/index.html",
92
+ "menus": [
93
+ "File",
94
+ "Edit",
95
+ "Layout",
96
+ "Type",
97
+ "Object",
98
+ "Table",
99
+ "View",
100
+ "Window",
101
+ "Help"
102
+ ],
103
+ "layout": "canvas",
104
+ "brand": {
105
+ "light": "#d32f8d",
106
+ "dark": "#f57bbd"
107
+ }
108
+ },
109
+ "agent": {
110
+ "prefix": "layout",
111
+ "tools": "document",
112
+ "drafts": true,
113
+ "objectModel": true,
114
+ "layout": true,
115
+ "render": "file.render",
116
+ "exclude": [
117
+ "file.print",
118
+ "file.printers"
119
+ ],
120
+ "export": {
121
+ "command": "file.exportBytes",
122
+ "data": "data",
123
+ "params": {}
124
+ },
125
+ "describe": {
126
+ "noun": "page layout",
127
+ "fileTypes": ".klayout",
128
+ "reports": "its pages, spreads, frames, stories, styles, and swatches",
129
+ "covers": "pages, frames, text, styles, swatches, tables, and more",
130
+ "queries": "`text frame`, `paragraph style`, or `insert page`",
131
+ "example": "frame.create"
132
+ }
133
+ },
134
+ "headless": {
135
+ "executable": "kition-layout",
136
+ "protocol": "kition-kit/1",
137
+ "features": [
138
+ "view.describe",
139
+ "document.check",
140
+ "document.identity",
141
+ "model.open",
142
+ "model.import",
143
+ "model.export",
144
+ "model.save",
145
+ "model.describe",
146
+ "model.batch"
147
+ ]
148
+ },
149
+ "extras": {
150
+ "setBackdrop": {
151
+ "params": [
152
+ "color: string"
153
+ ],
154
+ "returns": "void"
155
+ }
156
+ },
157
+ "model": {
158
+ "schema": "model/schema.json",
159
+ "schemaVersion": 2
160
+ },
161
+ "collaboration": {
162
+ "merge": [
163
+ "structured",
164
+ "rich-text",
165
+ "binary"
166
+ ],
167
+ "leases": [],
168
+ "serverValidation": false
169
+ },
170
+ "objectModel": {
171
+ "namespace": "Layout"
172
+ }
173
+ }