@yaks/ux 0.0.0-stage → 0.2.36

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 (286) hide show
  1. package/Answer.js +43 -0
  2. package/Answer.js.map +1 -0
  3. package/Answer.ts +84 -0
  4. package/Conversation.js +520 -0
  5. package/Conversation.js.map +1 -0
  6. package/Conversation.ts +649 -0
  7. package/ConversationBox.js +106 -0
  8. package/ConversationBox.js.map +1 -0
  9. package/ConversationBox.ts +198 -0
  10. package/ConversationLines.js +29 -0
  11. package/ConversationLines.js.map +1 -0
  12. package/ConversationLines.ts +48 -0
  13. package/Disclosure.js +79 -0
  14. package/Disclosure.js.map +1 -0
  15. package/Disclosure.ts +130 -0
  16. package/Edit.js +330 -0
  17. package/Edit.js.map +1 -0
  18. package/Edit.ts +488 -0
  19. package/EntityPopup.js +35 -0
  20. package/EntityPopup.js.map +1 -0
  21. package/EntityPopup.ts +52 -0
  22. package/Fields.js +161 -0
  23. package/Fields.js.map +1 -0
  24. package/Fields.ts +276 -0
  25. package/LICENSE +202 -0
  26. package/Order.js +105 -0
  27. package/Order.js.map +1 -0
  28. package/Order.ts +159 -0
  29. package/README.md +1023 -2
  30. package/Save.js +50 -0
  31. package/Save.js.map +1 -0
  32. package/Save.ts +115 -0
  33. package/Sort.js +49 -0
  34. package/Sort.js.map +1 -0
  35. package/Sort.ts +98 -0
  36. package/Submit.js +115 -0
  37. package/Submit.js.map +1 -0
  38. package/Submit.ts +174 -0
  39. package/Text.js +114 -0
  40. package/Text.js.map +1 -0
  41. package/Text.ts +140 -0
  42. package/TokenPicker.js +65 -0
  43. package/TokenPicker.js.map +1 -0
  44. package/TokenPicker.ts +117 -0
  45. package/_dist/Answer.d.ts +39 -0
  46. package/_dist/Answer.d.ts.map +1 -0
  47. package/_dist/Conversation.d.ts +131 -0
  48. package/_dist/Conversation.d.ts.map +1 -0
  49. package/_dist/ConversationBox.d.ts +29 -0
  50. package/_dist/ConversationBox.d.ts.map +1 -0
  51. package/_dist/ConversationLines.d.ts +13 -0
  52. package/_dist/ConversationLines.d.ts.map +1 -0
  53. package/_dist/Disclosure.d.ts +36 -0
  54. package/_dist/Disclosure.d.ts.map +1 -0
  55. package/_dist/Edit.d.ts +87 -0
  56. package/_dist/Edit.d.ts.map +1 -0
  57. package/_dist/EntityPopup.d.ts +12 -0
  58. package/_dist/EntityPopup.d.ts.map +1 -0
  59. package/_dist/Fields.d.ts +29 -0
  60. package/_dist/Fields.d.ts.map +1 -0
  61. package/_dist/Order.d.ts +40 -0
  62. package/_dist/Order.d.ts.map +1 -0
  63. package/_dist/Save.d.ts +28 -0
  64. package/_dist/Save.d.ts.map +1 -0
  65. package/_dist/Sort.d.ts +28 -0
  66. package/_dist/Sort.d.ts.map +1 -0
  67. package/_dist/Submit.d.ts +48 -0
  68. package/_dist/Submit.d.ts.map +1 -0
  69. package/_dist/Text.d.ts +27 -0
  70. package/_dist/Text.d.ts.map +1 -0
  71. package/_dist/TokenPicker.d.ts +19 -0
  72. package/_dist/TokenPicker.d.ts.map +1 -0
  73. package/_dist/anchor.d.ts +52 -0
  74. package/_dist/anchor.d.ts.map +1 -0
  75. package/_dist/anchored.d.ts +30 -0
  76. package/_dist/anchored.d.ts.map +1 -0
  77. package/_dist/completion-state.d.ts +65 -0
  78. package/_dist/completion-state.d.ts.map +1 -0
  79. package/_dist/completion.d.ts +73 -0
  80. package/_dist/completion.d.ts.map +1 -0
  81. package/_dist/composer-browser.d.ts +1 -0
  82. package/_dist/composer-browser.d.ts.map +1 -0
  83. package/_dist/composer.d.ts +31 -0
  84. package/_dist/composer.d.ts.map +1 -0
  85. package/_dist/context-menu-browser.d.ts +4 -0
  86. package/_dist/context-menu-browser.d.ts.map +1 -0
  87. package/_dist/context-menu.d.ts +95 -0
  88. package/_dist/context-menu.d.ts.map +1 -0
  89. package/_dist/drag.d.ts +29 -0
  90. package/_dist/drag.d.ts.map +1 -0
  91. package/_dist/edit-keys.d.ts +42 -0
  92. package/_dist/edit-keys.d.ts.map +1 -0
  93. package/_dist/emit.d.ts +7 -0
  94. package/_dist/emit.d.ts.map +1 -0
  95. package/_dist/entity-popup-browser.d.ts +3 -0
  96. package/_dist/entity-popup-browser.d.ts.map +1 -0
  97. package/_dist/face/FaceTagger.d.ts +25 -0
  98. package/_dist/face/FaceTagger.d.ts.map +1 -0
  99. package/_dist/face/review.d.ts +5 -0
  100. package/_dist/face/review.d.ts.map +1 -0
  101. package/_dist/face/tags.d.ts +99 -0
  102. package/_dist/face/tags.d.ts.map +1 -0
  103. package/_dist/field-values.d.ts +4 -0
  104. package/_dist/field-values.d.ts.map +1 -0
  105. package/_dist/fit-list.d.ts +4 -0
  106. package/_dist/fit-list.d.ts.map +1 -0
  107. package/_dist/hits.d.ts +27 -0
  108. package/_dist/hits.d.ts.map +1 -0
  109. package/_dist/host.d.ts +91 -0
  110. package/_dist/host.d.ts.map +1 -0
  111. package/_dist/image-fallback.d.ts +5 -0
  112. package/_dist/image-fallback.d.ts.map +1 -0
  113. package/_dist/keys.d.ts +95 -0
  114. package/_dist/keys.d.ts.map +1 -0
  115. package/_dist/kit.d.ts +23 -0
  116. package/_dist/kit.d.ts.map +1 -0
  117. package/_dist/lightbox-browser.d.ts +2 -0
  118. package/_dist/lightbox-browser.d.ts.map +1 -0
  119. package/_dist/lightbox.d.ts +42 -0
  120. package/_dist/lightbox.d.ts.map +1 -0
  121. package/_dist/live.d.ts +21 -0
  122. package/_dist/live.d.ts.map +1 -0
  123. package/_dist/mod.d.ts +67 -0
  124. package/_dist/mod.d.ts.map +1 -0
  125. package/_dist/read.d.ts +12 -0
  126. package/_dist/read.d.ts.map +1 -0
  127. package/_dist/resize.d.ts +43 -0
  128. package/_dist/resize.d.ts.map +1 -0
  129. package/_dist/rows.d.ts +31 -0
  130. package/_dist/rows.d.ts.map +1 -0
  131. package/_dist/save-browser.d.ts +29 -0
  132. package/_dist/save-browser.d.ts.map +1 -0
  133. package/_dist/select-browser.d.ts +1 -0
  134. package/_dist/select-browser.d.ts.map +1 -0
  135. package/_dist/select.d.ts +12 -0
  136. package/_dist/select.d.ts.map +1 -0
  137. package/_dist/sending.d.ts +10 -0
  138. package/_dist/sending.d.ts.map +1 -0
  139. package/_dist/sort-browser.d.ts +11 -0
  140. package/_dist/sort-browser.d.ts.map +1 -0
  141. package/_dist/state.d.ts +74 -0
  142. package/_dist/state.d.ts.map +1 -0
  143. package/_dist/suggest.d.ts +18 -0
  144. package/_dist/suggest.d.ts.map +1 -0
  145. package/_dist/swipe.d.ts +60 -0
  146. package/_dist/swipe.d.ts.map +1 -0
  147. package/_dist/ui.d.ts +6 -0
  148. package/_dist/ui.d.ts.map +1 -0
  149. package/_dist/upload-browser.d.ts +13 -0
  150. package/_dist/upload-browser.d.ts.map +1 -0
  151. package/_dist/views.d.ts +8 -0
  152. package/_dist/views.d.ts.map +1 -0
  153. package/_dist/vocab.d.ts +6 -0
  154. package/_dist/vocab.d.ts.map +1 -0
  155. package/anchor.js +58 -0
  156. package/anchor.js.map +1 -0
  157. package/anchor.ts +87 -0
  158. package/anchored.js +180 -0
  159. package/anchored.js.map +1 -0
  160. package/anchored.ts +232 -0
  161. package/completion-state.js +76 -0
  162. package/completion-state.js.map +1 -0
  163. package/completion-state.ts +120 -0
  164. package/completion.js +301 -0
  165. package/completion.js.map +1 -0
  166. package/completion.ts +433 -0
  167. package/composer-browser.js +4 -0
  168. package/composer-browser.js.map +1 -0
  169. package/composer-browser.ts +5 -0
  170. package/composer.js +42 -0
  171. package/composer.js.map +1 -0
  172. package/composer.ts +53 -0
  173. package/context-menu-browser.js +221 -0
  174. package/context-menu-browser.js.map +1 -0
  175. package/context-menu-browser.ts +231 -0
  176. package/context-menu.js +146 -0
  177. package/context-menu.js.map +1 -0
  178. package/context-menu.ts +194 -0
  179. package/deno.json +1 -0
  180. package/drag.js +33 -0
  181. package/drag.js.map +1 -0
  182. package/drag.ts +41 -0
  183. package/edit-keys.js +51 -0
  184. package/edit-keys.js.map +1 -0
  185. package/edit-keys.ts +81 -0
  186. package/emit.js +34 -0
  187. package/emit.js.map +1 -0
  188. package/emit.ts +55 -0
  189. package/entity-popup-browser.js +94 -0
  190. package/entity-popup-browser.js.map +1 -0
  191. package/entity-popup-browser.ts +100 -0
  192. package/face/FaceTagger.js +361 -0
  193. package/face/FaceTagger.js.map +1 -0
  194. package/face/FaceTagger.ts +507 -0
  195. package/face/NameProposal.js +61 -0
  196. package/face/NameProposal.js.map +1 -0
  197. package/face/NameProposal.ts +100 -0
  198. package/face/review.js +33 -0
  199. package/face/review.js.map +1 -0
  200. package/face/review.ts +49 -0
  201. package/face/tags.js +344 -0
  202. package/face/tags.js.map +1 -0
  203. package/face/tags.ts +357 -0
  204. package/field-values.js +20 -0
  205. package/field-values.js.map +1 -0
  206. package/field-values.ts +35 -0
  207. package/fit-list.js +66 -0
  208. package/fit-list.js.map +1 -0
  209. package/fit-list.ts +81 -0
  210. package/hits.js +65 -0
  211. package/hits.js.map +1 -0
  212. package/hits.ts +75 -0
  213. package/host.js +88 -0
  214. package/host.js.map +1 -0
  215. package/host.ts +212 -0
  216. package/image-fallback.js +32 -0
  217. package/image-fallback.js.map +1 -0
  218. package/image-fallback.ts +37 -0
  219. package/keys.js +418 -0
  220. package/keys.js.map +1 -0
  221. package/keys.ts +444 -0
  222. package/kit.js +41 -0
  223. package/kit.js.map +1 -0
  224. package/kit.ts +71 -0
  225. package/lightbox-browser.js +248 -0
  226. package/lightbox-browser.js.map +1 -0
  227. package/lightbox-browser.ts +232 -0
  228. package/lightbox.js +84 -0
  229. package/lightbox.js.map +1 -0
  230. package/lightbox.ts +103 -0
  231. package/live.js +111 -0
  232. package/live.js.map +1 -0
  233. package/live.ts +139 -0
  234. package/mod.js +67 -0
  235. package/mod.js.map +1 -0
  236. package/mod.ts +180 -0
  237. package/package.json +143 -4
  238. package/read.js +33 -0
  239. package/read.js.map +1 -0
  240. package/read.ts +56 -0
  241. package/resize.js +159 -0
  242. package/resize.js.map +1 -0
  243. package/resize.ts +203 -0
  244. package/rows.js +73 -0
  245. package/rows.js.map +1 -0
  246. package/rows.ts +97 -0
  247. package/save-browser.js +469 -0
  248. package/save-browser.js.map +1 -0
  249. package/save-browser.ts +530 -0
  250. package/select-browser.js +4 -0
  251. package/select-browser.js.map +1 -0
  252. package/select-browser.ts +5 -0
  253. package/select.js +296 -0
  254. package/select.js.map +1 -0
  255. package/select.ts +343 -0
  256. package/sending.js +36 -0
  257. package/sending.js.map +1 -0
  258. package/sending.ts +44 -0
  259. package/sort-browser.js +51 -0
  260. package/sort-browser.js.map +1 -0
  261. package/sort-browser.ts +70 -0
  262. package/state.js +99 -0
  263. package/state.js.map +1 -0
  264. package/state.ts +121 -0
  265. package/suggest.js +28 -0
  266. package/suggest.js.map +1 -0
  267. package/suggest.ts +32 -0
  268. package/swipe.js +186 -0
  269. package/swipe.js.map +1 -0
  270. package/swipe.ts +250 -0
  271. package/ui.js +507 -0
  272. package/ui.js.map +1 -0
  273. package/ui.ts +378 -0
  274. package/upload-browser.js +195 -0
  275. package/upload-browser.js.map +1 -0
  276. package/upload-browser.ts +303 -0
  277. package/upload-files.js +41 -0
  278. package/upload-files.js.map +1 -0
  279. package/upload-files.ts +49 -0
  280. package/views.js +8 -0
  281. package/views.js.map +1 -0
  282. package/views.ts +9 -0
  283. package/vocab.js +16 -0
  284. package/vocab.js.map +1 -0
  285. package/vocab.json +287 -0
  286. package/vocab.ts +17 -0
package/vocab.json ADDED
@@ -0,0 +1,287 @@
1
+ {
2
+ "$id": "urn:uuid:c8021deb-d6ec-49ce-a5c5-2e2916bd58e2",
3
+ "$vocabulary": {
4
+ "https://yak.sh/vocab/core": true
5
+ },
6
+ "title": "ux",
7
+ "$defs": {
8
+ "Disclosure": {
9
+ "$id": "urn:uuid:346094c7-7450-4ba8-aa08-54ad8d5a9bc1",
10
+ "component": true,
11
+ "type": "object",
12
+ "sync": "none",
13
+ "durable": "connection",
14
+ "description": "A disclosure's open state on the consumer-named page entity; missing state is closed.",
15
+ "properties": {
16
+ "open": {
17
+ "$id": "urn:uuid:cb2c61eb-e799-4b39-99bd-8170fada7d9a",
18
+ "type": "boolean",
19
+ "description": "whether the disclosure's content is shown"
20
+ }
21
+ }
22
+ },
23
+ "Conversation": {
24
+ "$id": "urn:uuid:0fb3c505-b595-4ffc-8d7e-d73a1baae8cf",
25
+ "component": true,
26
+ "type": "object",
27
+ "sync": "none",
28
+ "durable": "connection",
29
+ "description": "A conversation (@yaks/ux Conversation) as its reader follows it, on the page entity its owner names for a session: how many lines back it draws, and whether the reader scrolled away from the newest; missing state draws the last 100 lines and stays at the newest.",
30
+ "properties": {
31
+ "take": {
32
+ "$id": "urn:uuid:13fc1c6a-da8c-44bc-af80-c5e5da0f9c34",
33
+ "type": "number",
34
+ "description": "how many lines back it draws"
35
+ },
36
+ "away": {
37
+ "$id": "urn:uuid:c2fd0eaa-1a4b-48fa-a02a-55daceb4f783",
38
+ "type": "boolean",
39
+ "description": "the reader has scrolled up from the newest line"
40
+ }
41
+ }
42
+ },
43
+ "Order": {
44
+ "$id": "urn:uuid:baf05e2d-e1bd-4b5d-a1be-9e73b11a5cff",
45
+ "component": true,
46
+ "type": "object",
47
+ "sync": "none",
48
+ "durable": "connection",
49
+ "description": "Where an entity dragged over an ordered list (@yaks/ux Order) would land, on the consumer-named page entity; missing state is none dragged over it.",
50
+ "properties": {
51
+ "at": {
52
+ "$id": "urn:uuid:30a3ffe4-e80d-4cba-bb7a-e4d388ad31fa",
53
+ "type": "number",
54
+ "description": "the index of the row it would land before; the number of rows, after the last"
55
+ }
56
+ }
57
+ },
58
+ "Edit": {
59
+ "$id": "urn:uuid:4045cda1-bb84-43b0-863c-d5ac35a0d9d3",
60
+ "component": true,
61
+ "type": "object",
62
+ "sync": "none",
63
+ "durable": "connection",
64
+ "description": "a value being changed where it stands (@yaks/ux Edit), on an entity of its own whose eid is derived from its owner and the value: open while it is, and what its picker searches for; what is typed over it is the person's draft, kept where the host says (its drafts)",
65
+ "properties": {
66
+ "open": {
67
+ "$id": "urn:uuid:3a25a1b0-1527-41de-add5-281207a7ee82",
68
+ "type": "boolean",
69
+ "description": "being changed: typed over in place, or its picker floating beside it"
70
+ },
71
+ "query": {
72
+ "$id": "urn:uuid:c0c85d0b-045d-4dfc-9349-92b4f8f1884f",
73
+ "type": "string",
74
+ "description": "what is typed in its picker's search"
75
+ }
76
+ }
77
+ },
78
+ "Refused": {
79
+ "$id": "urn:uuid:a4871fa1-6a55-4bc1-a967-8bca72924f0b",
80
+ "component": true,
81
+ "type": "object",
82
+ "sync": "none",
83
+ "durable": "0s",
84
+ "description": "an event an Edit emits on the entity whose value it changes: what was typed could not be read as the value's type",
85
+ "properties": {
86
+ "said": {
87
+ "$id": "urn:uuid:064fe6d8-8b77-485d-b6b1-84c729a6c1f4",
88
+ "type": "string",
89
+ "description": "why"
90
+ }
91
+ }
92
+ },
93
+ "Stop": {
94
+ "$id": "urn:uuid:27327edf-fe0d-4bc9-a531-5c13aa574c24",
95
+ "component": true,
96
+ "type": "object",
97
+ "sync": "none",
98
+ "durable": "0s",
99
+ "description": "an event a conversation's box (@yaks/ux Conversation.Box) emits on the session its words go to: Stop was pressed while it worked",
100
+ "properties": {}
101
+ },
102
+ "Completion": {
103
+ "$id": "urn:uuid:4c0485d0-2ffa-4cf5-8766-391cca246cc5",
104
+ "component": true,
105
+ "type": "object",
106
+ "sync": "none",
107
+ "durable": "connection",
108
+ "properties": {
109
+ "caret": {
110
+ "$id": "urn:uuid:f48be65a-b40c-4cde-94e7-436078cdbc7e",
111
+ "type": "number",
112
+ "description": "where the caret stands, as an offset into what is typed"
113
+ },
114
+ "from": {
115
+ "$id": "urn:uuid:09f9565a-6c6d-4391-8d1b-e5bb50fcb238",
116
+ "type": "number",
117
+ "description": "where the word being completed starts"
118
+ },
119
+ "to": {
120
+ "$id": "urn:uuid:f670127f-e12f-4397-886f-81def07bb319",
121
+ "type": "number",
122
+ "description": "where the word being completed ends"
123
+ },
124
+ "cands": {
125
+ "$id": "urn:uuid:6da581bd-b6f5-436c-8a1b-08e47e2602f0",
126
+ "type": "array",
127
+ "description": "what can replace the span, each its text and the note shown beside it",
128
+ "items": {
129
+ "type": "object",
130
+ "properties": {
131
+ "text": {
132
+ "type": "string"
133
+ },
134
+ "kind": {
135
+ "type": "string"
136
+ }
137
+ }
138
+ }
139
+ },
140
+ "pick": {
141
+ "$id": "urn:uuid:3d97f23e-5a49-404d-b1a4-f2e99147f731",
142
+ "type": "number",
143
+ "description": "which of cands is picked, -1 for none: what is typed already reads whole"
144
+ }
145
+ },
146
+ "description": "Completion at a caret, in the host page graph: the replacement span and choices. Text is the host-owned durable draft, not this component."
147
+ },
148
+ "Sort": {
149
+ "$id": "urn:uuid:ec4f1b6a-91c1-4b5a-a6a5-ac184f00b3dc",
150
+ "component": true,
151
+ "type": "object",
152
+ "sync": "none",
153
+ "durable": "connection",
154
+ "description": "A table's sort choice on its owner-named page entity.",
155
+ "properties": {
156
+ "column": {
157
+ "$id": "urn:uuid:e251e526-5ed1-42ee-8644-83add9ffdaf1",
158
+ "type": "number",
159
+ "description": "the zero-based column index"
160
+ },
161
+ "direction": {
162
+ "$id": "urn:uuid:0583f006-438e-45d8-b585-63219c01ce54",
163
+ "type": "string",
164
+ "enum": [
165
+ "asc",
166
+ "desc"
167
+ ],
168
+ "description": "ascending or descending values"
169
+ }
170
+ }
171
+ },
172
+ "Submit": {
173
+ "$id": "urn:uuid:fc9969f8-304e-4c65-9abf-8689879fb011",
174
+ "component": true,
175
+ "type": "object",
176
+ "sync": "none",
177
+ "durable": "connection",
178
+ "description": "Loading and submission in the page graph; values mirror the durable draft owned by the host.",
179
+ "properties": {
180
+ "unread": {
181
+ "$id": "urn:uuid:ba827a2f-5c09-42ef-9d12-1697411b466d",
182
+ "type": "string",
183
+ "description": "Why loading failed"
184
+ },
185
+ "tried": {
186
+ "$id": "urn:uuid:81a85712-5e03-4b89-8214-610d2e991e77",
187
+ "type": "boolean",
188
+ "description": "Submission was attempted; show validation feedback"
189
+ },
190
+ "sending": {
191
+ "$id": "urn:uuid:ee23f93b-c300-4cc5-8c85-5a38f027df0a",
192
+ "type": "boolean",
193
+ "description": "a send is on its way"
194
+ },
195
+ "sent": {
196
+ "$id": "urn:uuid:177d2750-90e1-4918-babd-6f1c4962a81a",
197
+ "type": "boolean",
198
+ "description": "Submission succeeded"
199
+ },
200
+ "said": {
201
+ "$id": "urn:uuid:92736cc6-95f0-49e5-8c19-2cecbe5dc327",
202
+ "type": "string",
203
+ "description": "Feedback from the supplied sender"
204
+ },
205
+ "content": {
206
+ "$id": "urn:uuid:a7d9dce5-35de-4af5-8e13-22c0364e237d",
207
+ "type": "object",
208
+ "additionalProperties": true,
209
+ "description": "Content returned by the supplied reader"
210
+ },
211
+ "values": {
212
+ "$id": "urn:uuid:419a4d2d-caae-4511-85ba-0a08f0753a66",
213
+ "type": "object",
214
+ "additionalProperties": true,
215
+ "description": "Current draft values, including nested repeat entries"
216
+ }
217
+ }
218
+ },
219
+ "FaceTagger": {
220
+ "$id": "urn:uuid:340d5b3c-f404-474d-8742-3c56e75acc30",
221
+ "component": true,
222
+ "type": "object",
223
+ "sync": "none",
224
+ "durable": "connection",
225
+ "description": "The photo and person being reviewed in one page\u2019s face tagger.",
226
+ "properties": {
227
+ "face": {
228
+ "$id": "urn:uuid:4bbc45a7-2b27-4e18-b6c6-cb4b67e7bba8",
229
+ "type": "string"
230
+ },
231
+ "person": {
232
+ "$id": "urn:uuid:7d7943f7-b56c-42ee-b374-d79427e6778f",
233
+ "type": "string"
234
+ },
235
+ "text": {
236
+ "$id": "urn:uuid:3a9abf7d-a731-4700-9914-fa85289c4792",
237
+ "type": "string"
238
+ },
239
+ "say": {
240
+ "$id": "urn:uuid:28ce7ed2-d5df-4156-9b30-a1a2d877d889",
241
+ "type": "string"
242
+ },
243
+ "busy": {
244
+ "$id": "urn:uuid:2be1ec07-a558-405e-99b8-2c587f6e541b",
245
+ "type": "boolean"
246
+ },
247
+ "rejected": {
248
+ "$id": "urn:uuid:4a3c47b5-062a-429f-bbf1-b707bb52c246",
249
+ "type": "array",
250
+ "items": {
251
+ "type": "string"
252
+ }
253
+ },
254
+ "active": {
255
+ "$id": "urn:uuid:10603844-00a5-4d55-824e-5540fa5eb4d2",
256
+ "type": "integer"
257
+ },
258
+ "naming": {
259
+ "$id": "urn:uuid:6c4a03b4-8eb4-4f49-8dd8-a348db964757",
260
+ "type": "boolean"
261
+ }
262
+ }
263
+ },
264
+ "FaceImport": {
265
+ "$id": "urn:uuid:89679880-3a9a-4620-a29a-0947ba07d37c",
266
+ "type": "object",
267
+ "component": true,
268
+ "sync": "none",
269
+ "durable": "connection",
270
+ "description": "The photo and face currently selected from the import review queue.",
271
+ "properties": {
272
+ "photo": {
273
+ "$id": "urn:uuid:4e39c6b4-4e98-465d-b62a-63c9561c7284",
274
+ "type": "string"
275
+ },
276
+ "face": {
277
+ "$id": "urn:uuid:baf26711-c550-4200-87d6-5ef6f86f4edb",
278
+ "type": "string"
279
+ },
280
+ "group": {
281
+ "$id": "urn:uuid:94fd7ce0-be93-4fcb-a915-ff0622d4d632",
282
+ "type": "boolean"
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
package/vocab.ts ADDED
@@ -0,0 +1,17 @@
1
+ // The components UX components keep and say, and nothing else: the module a
2
+ // page's own graph loads at `@yaks/ux/vocab`. It reaches no storage and no
3
+ // runtime.
4
+
5
+ import type { VocabDoc } from 'jsr:@yaks/vocab@0.2.36'
6
+ import doc from './vocab.json' with { type: 'json' }
7
+ import manifest from './package.json' with { type: 'json' }
8
+
9
+ /** The ux vocabulary, in the form `loadVocab` accepts. */
10
+ export let uxDoc: VocabDoc = doc as VocabDoc
11
+
12
+ /** What this package is: its manifest's description, the one place it is
13
+ * written, which a host stamps on each document here. */
14
+ export let description: string = manifest.description
15
+
16
+ /** Every document this package declares. */
17
+ export let docs: VocabDoc[] = [uxDoc]