@owlmeans/web-panel 0.1.18-rc.9 → 0.1.18

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 (669) hide show
  1. package/README.md +510 -143
  2. package/THIRD-PARTY-NOTICES.txt +24 -0
  3. package/agent-meta/manifest.json +163 -4
  4. package/agent-meta/skills/web-panel/SKILL.md +136 -83
  5. package/agent-meta/skills/web-panel/parts/consent.md +114 -0
  6. package/agent-meta/skills/web-panel/parts/editor.md +47 -0
  7. package/agent-meta/skills/web-panel/parts/forms.md +85 -0
  8. package/agent-meta/skills/web-panel/parts/navigation.md +203 -0
  9. package/agent-meta/skills/web-panel/parts/picker.md +164 -0
  10. package/agent-meta/skills/web-panel/parts/reload.md +46 -0
  11. package/agent-meta/skills/web-panel/parts/sign-in.md +65 -0
  12. package/agent-meta/skills/web-panel/parts/theme.md +74 -0
  13. package/build/@/components/ui/alert-dialog.d.ts +15 -0
  14. package/build/@/components/ui/alert-dialog.d.ts.map +1 -0
  15. package/build/@/components/ui/alert-dialog.js +39 -0
  16. package/build/@/components/ui/alert-dialog.js.map +1 -0
  17. package/build/@/components/ui/alert.js +1 -1
  18. package/build/@/components/ui/alert.js.map +1 -1
  19. package/build/@/components/ui/button.js +1 -1
  20. package/build/@/components/ui/button.js.map +1 -1
  21. package/build/@/components/ui/card.js +1 -1
  22. package/build/@/components/ui/card.js.map +1 -1
  23. package/build/@/components/ui/input.js +1 -1
  24. package/build/@/components/ui/input.js.map +1 -1
  25. package/build/@/components/ui/label.js +1 -1
  26. package/build/@/components/ui/label.js.map +1 -1
  27. package/build/@/components/ui/navigation-menu.js +1 -1
  28. package/build/@/components/ui/navigation-menu.js.map +1 -1
  29. package/build/@/components/ui/popover.d.ts +8 -0
  30. package/build/@/components/ui/popover.d.ts.map +1 -0
  31. package/build/@/components/ui/popover.js +17 -0
  32. package/build/@/components/ui/popover.js.map +1 -0
  33. package/build/@/components/ui/progress.js +1 -1
  34. package/build/@/components/ui/progress.js.map +1 -1
  35. package/build/@/components/ui/separator.js +1 -1
  36. package/build/@/components/ui/separator.js.map +1 -1
  37. package/build/@/components/ui/sheet.d.ts +15 -0
  38. package/build/@/components/ui/sheet.d.ts.map +1 -0
  39. package/build/@/components/ui/sheet.js +40 -0
  40. package/build/@/components/ui/sheet.js.map +1 -0
  41. package/build/auth/context.d.ts.map +1 -1
  42. package/build/auth/context.js +0 -1
  43. package/build/auth/context.js.map +1 -1
  44. package/build/auth/entrypoints.d.ts +10 -0
  45. package/build/auth/entrypoints.d.ts.map +1 -0
  46. package/build/auth/entrypoints.js +4 -0
  47. package/build/auth/entrypoints.js.map +1 -0
  48. package/build/auth/exports.d.ts +4 -4
  49. package/build/auth/exports.d.ts.map +1 -1
  50. package/build/auth/exports.js +3 -3
  51. package/build/auth/exports.js.map +1 -1
  52. package/build/auth/modules.d.ts +1 -1
  53. package/build/auth/modules.d.ts.map +1 -1
  54. package/build/auth/plugins/basic-ed25519.js +4 -4
  55. package/build/auth/plugins/basic-ed25519.js.map +1 -1
  56. package/build/auth/plugins/re-captcha.js +3 -3
  57. package/build/auth/plugins/re-captcha.js.map +1 -1
  58. package/build/auth/plugins/tunnel-consumer.js +1 -1
  59. package/build/auth/plugins/tunnel-consumer.js.map +1 -1
  60. package/build/components/block.js +2 -2
  61. package/build/components/block.js.map +1 -1
  62. package/build/components/consts.local.d.ts +14 -0
  63. package/build/components/consts.local.d.ts.map +1 -0
  64. package/build/components/consts.local.js +26 -0
  65. package/build/components/consts.local.js.map +1 -0
  66. package/build/components/footer/component.d.ts +19 -1
  67. package/build/components/footer/component.d.ts.map +1 -1
  68. package/build/components/footer/component.js +38 -11
  69. package/build/components/footer/component.js.map +1 -1
  70. package/build/components/footer/credit.d.ts +27 -0
  71. package/build/components/footer/credit.d.ts.map +1 -0
  72. package/build/components/footer/credit.js +42 -0
  73. package/build/components/footer/credit.js.map +1 -0
  74. package/build/components/footer/index.d.ts +1 -0
  75. package/build/components/footer/index.d.ts.map +1 -1
  76. package/build/components/footer/index.js +1 -0
  77. package/build/components/footer/index.js.map +1 -1
  78. package/build/components/footer/types.d.ts +22 -1
  79. package/build/components/footer/types.d.ts.map +1 -1
  80. package/build/components/form/button/component.d.ts.map +1 -1
  81. package/build/components/form/button/component.js +5 -3
  82. package/build/components/form/button/component.js.map +1 -1
  83. package/build/components/form/component.js +2 -2
  84. package/build/components/form/component.js.map +1 -1
  85. package/build/components/form/text/component.js +2 -2
  86. package/build/components/form/text/component.js.map +1 -1
  87. package/build/components/helper.d.ts.map +1 -1
  88. package/build/components/helper.js +1 -12
  89. package/build/components/helper.js.map +1 -1
  90. package/build/components/index.d.ts +4 -0
  91. package/build/components/index.d.ts.map +1 -1
  92. package/build/components/index.js +4 -0
  93. package/build/components/index.js.map +1 -1
  94. package/build/components/link.js +3 -3
  95. package/build/components/link.js.map +1 -1
  96. package/build/components/login/append.d.ts +15 -0
  97. package/build/components/login/append.d.ts.map +1 -0
  98. package/build/components/login/append.js +26 -0
  99. package/build/components/login/append.js.map +1 -0
  100. package/build/components/login/consts.d.ts +3 -0
  101. package/build/components/login/consts.d.ts.map +1 -0
  102. package/build/components/login/consts.js +3 -0
  103. package/build/components/login/consts.js.map +1 -0
  104. package/build/components/login/consts.local.d.ts +4 -0
  105. package/build/components/login/consts.local.d.ts.map +1 -0
  106. package/build/components/login/consts.local.js +8 -0
  107. package/build/components/login/consts.local.js.map +1 -0
  108. package/build/components/login/credit.d.ts +12 -0
  109. package/build/components/login/credit.d.ts.map +1 -0
  110. package/build/components/login/credit.js +18 -0
  111. package/build/components/login/credit.js.map +1 -0
  112. package/build/components/login/i18n/be.json +10 -0
  113. package/build/components/login/i18n/de.json +10 -0
  114. package/build/components/login/i18n/en.json +10 -0
  115. package/build/components/login/i18n/es.json +10 -0
  116. package/build/components/login/i18n/fr.json +10 -0
  117. package/build/components/login/i18n/pl.json +10 -0
  118. package/build/components/login/i18n/ru.json +10 -0
  119. package/build/components/login/i18n/uk.json +10 -0
  120. package/build/components/login/i18n.d.ts +2 -0
  121. package/build/components/login/i18n.d.ts.map +1 -0
  122. package/build/components/login/i18n.js +28 -0
  123. package/build/components/login/i18n.js.map +1 -0
  124. package/build/components/login/icons.d.ts +14 -0
  125. package/build/components/login/icons.d.ts.map +1 -0
  126. package/build/components/login/icons.js +29 -0
  127. package/build/components/login/icons.js.map +1 -0
  128. package/build/components/login/index.d.ts +11 -0
  129. package/build/components/login/index.d.ts.map +1 -0
  130. package/build/components/login/index.js +10 -0
  131. package/build/components/login/index.js.map +1 -0
  132. package/build/components/login/notify.d.ts +18 -0
  133. package/build/components/login/notify.d.ts.map +1 -0
  134. package/build/components/login/notify.js +41 -0
  135. package/build/components/login/notify.js.map +1 -0
  136. package/build/components/login/provider.d.ts +20 -0
  137. package/build/components/login/provider.d.ts.map +1 -0
  138. package/build/components/login/provider.js +31 -0
  139. package/build/components/login/provider.js.map +1 -0
  140. package/build/components/login/screen.d.ts +24 -0
  141. package/build/components/login/screen.d.ts.map +1 -0
  142. package/build/components/login/screen.js +92 -0
  143. package/build/components/login/screen.js.map +1 -0
  144. package/build/components/login/terms.d.ts +19 -0
  145. package/build/components/login/terms.d.ts.map +1 -0
  146. package/build/components/login/terms.js +32 -0
  147. package/build/components/login/terms.js.map +1 -0
  148. package/build/components/login/types.d.ts +28 -0
  149. package/build/components/login/types.d.ts.map +1 -0
  150. package/build/components/login/types.js +2 -0
  151. package/build/components/login/types.js.map +1 -0
  152. package/build/components/nav/consts.local.d.ts +41 -0
  153. package/build/components/nav/consts.local.d.ts.map +1 -0
  154. package/build/components/nav/consts.local.js +60 -0
  155. package/build/components/nav/consts.local.js.map +1 -0
  156. package/build/components/nav/index.d.ts +1 -0
  157. package/build/components/nav/index.d.ts.map +1 -1
  158. package/build/components/nav/index.js +1 -0
  159. package/build/components/nav/index.js.map +1 -1
  160. package/build/components/nav/layout.d.ts +9 -2
  161. package/build/components/nav/layout.d.ts.map +1 -1
  162. package/build/components/nav/layout.js +48 -7
  163. package/build/components/nav/layout.js.map +1 -1
  164. package/build/components/nav/mobile.d.ts +21 -0
  165. package/build/components/nav/mobile.d.ts.map +1 -0
  166. package/build/components/nav/mobile.js +55 -0
  167. package/build/components/nav/mobile.js.map +1 -0
  168. package/build/components/nav/side.d.ts.map +1 -1
  169. package/build/components/nav/side.js +10 -10
  170. package/build/components/nav/side.js.map +1 -1
  171. package/build/components/nav/top.d.ts.map +1 -1
  172. package/build/components/nav/top.js +12 -8
  173. package/build/components/nav/top.js.map +1 -1
  174. package/build/components/nav/types.d.ts +64 -1
  175. package/build/components/nav/types.d.ts.map +1 -1
  176. package/build/components/nav/viewport.d.ts +3 -0
  177. package/build/components/nav/viewport.d.ts.map +1 -0
  178. package/build/components/nav/viewport.js +14 -0
  179. package/build/components/nav/viewport.js.map +1 -0
  180. package/build/components/panel-app/component.d.ts.map +1 -1
  181. package/build/components/panel-app/component.js +4 -3
  182. package/build/components/panel-app/component.js.map +1 -1
  183. package/build/components/picker/color-picker.d.ts +9 -0
  184. package/build/components/picker/color-picker.d.ts.map +1 -0
  185. package/build/components/picker/color-picker.js +9 -0
  186. package/build/components/picker/color-picker.js.map +1 -0
  187. package/build/components/picker/consts.local.d.ts +76 -0
  188. package/build/components/picker/consts.local.d.ts.map +1 -0
  189. package/build/components/picker/consts.local.js +214 -0
  190. package/build/components/picker/consts.local.js.map +1 -0
  191. package/build/components/picker/dot.d.ts +8 -0
  192. package/build/components/picker/dot.d.ts.map +1 -0
  193. package/build/components/picker/dot.js +10 -0
  194. package/build/components/picker/dot.js.map +1 -0
  195. package/build/components/picker/grid.d.ts +17 -0
  196. package/build/components/picker/grid.d.ts.map +1 -0
  197. package/build/components/picker/grid.js +73 -0
  198. package/build/components/picker/grid.js.map +1 -0
  199. package/build/components/picker/i18n/be.json +60 -0
  200. package/build/components/picker/i18n/de.json +60 -0
  201. package/build/components/picker/i18n/en.json +60 -0
  202. package/build/components/picker/i18n/es.json +60 -0
  203. package/build/components/picker/i18n/fr.json +60 -0
  204. package/build/components/picker/i18n/pl.json +60 -0
  205. package/build/components/picker/i18n/ru.json +60 -0
  206. package/build/components/picker/i18n/uk.json +60 -0
  207. package/build/components/picker/i18n.d.ts +2 -0
  208. package/build/components/picker/i18n.d.ts.map +1 -0
  209. package/build/components/picker/i18n.js +18 -0
  210. package/build/components/picker/i18n.js.map +1 -0
  211. package/build/components/picker/icon-color-picker.d.ts +14 -0
  212. package/build/components/picker/icon-color-picker.d.ts.map +1 -0
  213. package/build/components/picker/icon-color-picker.js +15 -0
  214. package/build/components/picker/icon-color-picker.js.map +1 -0
  215. package/build/components/picker/icon-picker.d.ts +8 -0
  216. package/build/components/picker/icon-picker.d.ts.map +1 -0
  217. package/build/components/picker/icon-picker.js +8 -0
  218. package/build/components/picker/icon-picker.js.map +1 -0
  219. package/build/components/picker/index.d.ts +11 -0
  220. package/build/components/picker/index.d.ts.map +1 -0
  221. package/build/components/picker/index.js +10 -0
  222. package/build/components/picker/index.js.map +1 -0
  223. package/build/components/picker/panel.d.ts +9 -0
  224. package/build/components/picker/panel.d.ts.map +1 -0
  225. package/build/components/picker/panel.js +23 -0
  226. package/build/components/picker/panel.js.map +1 -0
  227. package/build/components/picker/root.d.ts +13 -0
  228. package/build/components/picker/root.d.ts.map +1 -0
  229. package/build/components/picker/root.js +55 -0
  230. package/build/components/picker/root.js.map +1 -0
  231. package/build/components/picker/roving.d.ts +8 -0
  232. package/build/components/picker/roving.d.ts.map +1 -0
  233. package/build/components/picker/roving.js +62 -0
  234. package/build/components/picker/roving.js.map +1 -0
  235. package/build/components/picker/surface.d.ts +18 -0
  236. package/build/components/picker/surface.d.ts.map +1 -0
  237. package/build/components/picker/surface.js +36 -0
  238. package/build/components/picker/surface.js.map +1 -0
  239. package/build/components/picker/swatches/custom.d.ts +10 -0
  240. package/build/components/picker/swatches/custom.d.ts.map +1 -0
  241. package/build/components/picker/swatches/custom.js +65 -0
  242. package/build/components/picker/swatches/custom.js.map +1 -0
  243. package/build/components/picker/swatches.d.ts +16 -0
  244. package/build/components/picker/swatches.d.ts.map +1 -0
  245. package/build/components/picker/swatches.js +35 -0
  246. package/build/components/picker/swatches.js.map +1 -0
  247. package/build/components/picker/text.d.ts +5 -0
  248. package/build/components/picker/text.d.ts.map +1 -0
  249. package/build/components/picker/text.js +29 -0
  250. package/build/components/picker/text.js.map +1 -0
  251. package/build/components/picker/tile.d.ts +11 -0
  252. package/build/components/picker/tile.d.ts.map +1 -0
  253. package/build/components/picker/tile.js +19 -0
  254. package/build/components/picker/tile.js.map +1 -0
  255. package/build/components/picker/translate.d.ts +9 -0
  256. package/build/components/picker/translate.d.ts.map +1 -0
  257. package/build/components/picker/translate.js +13 -0
  258. package/build/components/picker/translate.js.map +1 -0
  259. package/build/components/picker/trigger.d.ts +12 -0
  260. package/build/components/picker/trigger.d.ts.map +1 -0
  261. package/build/components/picker/trigger.js +29 -0
  262. package/build/components/picker/trigger.js.map +1 -0
  263. package/build/components/picker/types.d.ts +114 -0
  264. package/build/components/picker/types.d.ts.map +1 -0
  265. package/build/components/picker/types.js +2 -0
  266. package/build/components/picker/types.js.map +1 -0
  267. package/build/components/picker/types.local.d.ts +143 -0
  268. package/build/components/picker/types.local.d.ts.map +1 -0
  269. package/build/components/picker/types.local.js +2 -0
  270. package/build/components/picker/types.local.js.map +1 -0
  271. package/build/components/scheme/consts.local.d.ts +8 -0
  272. package/build/components/scheme/consts.local.d.ts.map +1 -0
  273. package/build/components/scheme/consts.local.js +13 -0
  274. package/build/components/scheme/consts.local.js.map +1 -0
  275. package/build/components/scheme/hook.d.ts +16 -0
  276. package/build/components/scheme/hook.d.ts.map +1 -0
  277. package/build/components/scheme/hook.js +52 -0
  278. package/build/components/scheme/hook.js.map +1 -0
  279. package/build/components/scheme/index.d.ts +4 -0
  280. package/build/components/scheme/index.d.ts.map +1 -0
  281. package/build/components/scheme/index.js +3 -0
  282. package/build/components/scheme/index.js.map +1 -0
  283. package/build/components/scheme/toggle.d.ts +14 -0
  284. package/build/components/scheme/toggle.d.ts.map +1 -0
  285. package/build/components/scheme/toggle.js +24 -0
  286. package/build/components/scheme/toggle.js.map +1 -0
  287. package/build/components/scheme/types.d.ts +21 -0
  288. package/build/components/scheme/types.d.ts.map +1 -0
  289. package/build/components/scheme/types.js +2 -0
  290. package/build/components/scheme/types.js.map +1 -0
  291. package/build/components/socket/i18n/be.json +9 -0
  292. package/build/components/socket/i18n/de.json +9 -0
  293. package/build/components/socket/i18n/en.json +9 -0
  294. package/build/components/socket/i18n/es.json +9 -0
  295. package/build/components/socket/i18n/fr.json +9 -0
  296. package/build/components/socket/i18n/pl.json +9 -0
  297. package/build/components/socket/i18n/ru.json +9 -0
  298. package/build/components/socket/i18n/uk.json +9 -0
  299. package/build/components/socket/i18n.d.ts +2 -0
  300. package/build/components/socket/i18n.d.ts.map +1 -0
  301. package/build/components/socket/i18n.js +18 -0
  302. package/build/components/socket/i18n.js.map +1 -0
  303. package/build/components/socket/index.d.ts +3 -0
  304. package/build/components/socket/index.d.ts.map +1 -0
  305. package/build/components/socket/index.js +3 -0
  306. package/build/components/socket/index.js.map +1 -0
  307. package/build/components/socket/reload-dialog.d.ts +22 -0
  308. package/build/components/socket/reload-dialog.d.ts.map +1 -0
  309. package/build/components/socket/reload-dialog.js +34 -0
  310. package/build/components/socket/reload-dialog.js.map +1 -0
  311. package/build/components/status.js +1 -1
  312. package/build/components/status.js.map +1 -1
  313. package/build/components/text.d.ts.map +1 -1
  314. package/build/components/text.js +2 -13
  315. package/build/components/text.js.map +1 -1
  316. package/build/components/toaster.d.ts +16 -0
  317. package/build/components/toaster.d.ts.map +1 -0
  318. package/build/components/toaster.js +52 -0
  319. package/build/components/toaster.js.map +1 -0
  320. package/build/components/uploader/consts.local.d.ts +4 -0
  321. package/build/components/uploader/consts.local.d.ts.map +1 -0
  322. package/build/components/uploader/consts.local.js +6 -0
  323. package/build/components/uploader/consts.local.js.map +1 -0
  324. package/build/components/uploader/image.d.ts.map +1 -1
  325. package/build/components/uploader/image.js +2 -6
  326. package/build/components/uploader/image.js.map +1 -1
  327. package/build/consent/component.d.ts +27 -0
  328. package/build/consent/component.d.ts.map +1 -0
  329. package/build/consent/component.js +60 -0
  330. package/build/consent/component.js.map +1 -0
  331. package/build/consent/consts.d.ts +2 -0
  332. package/build/consent/consts.d.ts.map +1 -0
  333. package/build/consent/consts.js +2 -0
  334. package/build/consent/consts.js.map +1 -0
  335. package/build/consent/consts.local.d.ts +9 -0
  336. package/build/consent/consts.local.d.ts.map +1 -0
  337. package/build/consent/consts.local.js +9 -0
  338. package/build/consent/consts.local.js.map +1 -0
  339. package/build/consent/geo.d.ts +17 -0
  340. package/build/consent/geo.d.ts.map +1 -0
  341. package/build/consent/geo.js +19 -0
  342. package/build/consent/geo.js.map +1 -0
  343. package/build/consent/index.d.ts +11 -0
  344. package/build/consent/index.d.ts.map +1 -0
  345. package/build/consent/index.js +9 -0
  346. package/build/consent/index.js.map +1 -0
  347. package/build/consent/language.d.ts +12 -0
  348. package/build/consent/language.d.ts.map +1 -0
  349. package/build/consent/language.js +11 -0
  350. package/build/consent/language.js.map +1 -0
  351. package/build/consent/menu-widget.d.ts +13 -0
  352. package/build/consent/menu-widget.d.ts.map +1 -0
  353. package/build/consent/menu-widget.js +20 -0
  354. package/build/consent/menu-widget.js.map +1 -0
  355. package/build/consent/presence.d.ts +30 -0
  356. package/build/consent/presence.d.ts.map +1 -0
  357. package/build/consent/presence.js +40 -0
  358. package/build/consent/presence.js.map +1 -0
  359. package/build/consent/service.d.ts +18 -0
  360. package/build/consent/service.d.ts.map +1 -0
  361. package/build/consent/service.js +53 -0
  362. package/build/consent/service.js.map +1 -0
  363. package/build/consent/translate.d.ts +14 -0
  364. package/build/consent/translate.d.ts.map +1 -0
  365. package/build/consent/translate.js +28 -0
  366. package/build/consent/translate.js.map +1 -0
  367. package/build/consent/types.d.ts +39 -0
  368. package/build/consent/types.d.ts.map +1 -0
  369. package/build/consent/types.js +2 -0
  370. package/build/consent/types.js.map +1 -0
  371. package/build/consent/types.local.d.ts +6 -0
  372. package/build/consent/types.local.d.ts.map +1 -0
  373. package/build/consent/types.local.js +2 -0
  374. package/build/consent/types.local.js.map +1 -0
  375. package/build/context.d.ts.map +1 -1
  376. package/build/context.js +10 -0
  377. package/build/context.js.map +1 -1
  378. package/build/editor/component.d.ts +4 -0
  379. package/build/editor/component.d.ts.map +1 -0
  380. package/build/editor/component.js +103 -0
  381. package/build/editor/component.js.map +1 -0
  382. package/build/editor/consts.local.d.ts +6 -0
  383. package/build/editor/consts.local.d.ts.map +1 -0
  384. package/build/editor/consts.local.js +58 -0
  385. package/build/editor/consts.local.js.map +1 -0
  386. package/build/editor/index.d.ts +3 -0
  387. package/build/editor/index.d.ts.map +1 -0
  388. package/build/editor/index.js +2 -0
  389. package/build/editor/index.js.map +1 -0
  390. package/build/editor/types.d.ts +24 -0
  391. package/build/editor/types.d.ts.map +1 -0
  392. package/build/editor/types.js +2 -0
  393. package/build/editor/types.js.map +1 -0
  394. package/build/entrypoints.d.ts +8 -0
  395. package/build/entrypoints.d.ts.map +1 -0
  396. package/build/entrypoints.js +4 -0
  397. package/build/entrypoints.js.map +1 -0
  398. package/build/exports.d.ts +6 -5
  399. package/build/exports.d.ts.map +1 -1
  400. package/build/exports.js +5 -5
  401. package/build/exports.js.map +1 -1
  402. package/build/index.d.ts +1 -1
  403. package/build/index.d.ts.map +1 -1
  404. package/build/index.js +1 -1
  405. package/build/index.js.map +1 -1
  406. package/build/main.d.ts +1 -4
  407. package/build/main.d.ts.map +1 -1
  408. package/build/main.js.map +1 -1
  409. package/build/modules.d.ts +1 -1
  410. package/build/modules.d.ts.map +1 -1
  411. package/build/permission/i18n/be.json +13 -0
  412. package/build/permission/i18n/de.json +13 -0
  413. package/build/permission/i18n/en.json +13 -0
  414. package/build/permission/i18n/es.json +13 -0
  415. package/build/permission/i18n/fr.json +13 -0
  416. package/build/permission/i18n/pl.json +13 -0
  417. package/build/permission/i18n/ru.json +13 -0
  418. package/build/permission/i18n/uk.json +13 -0
  419. package/build/permission/i18n.d.ts +2 -0
  420. package/build/permission/i18n.d.ts.map +1 -0
  421. package/build/permission/i18n.js +13 -0
  422. package/build/permission/i18n.js.map +1 -0
  423. package/build/permission/index.d.ts +6 -0
  424. package/build/permission/index.d.ts.map +1 -0
  425. package/build/permission/index.js +27 -0
  426. package/build/permission/index.js.map +1 -0
  427. package/build/permission/toast.d.ts +5 -0
  428. package/build/permission/toast.d.ts.map +1 -0
  429. package/build/permission/toast.js +8 -0
  430. package/build/permission/toast.js.map +1 -0
  431. package/build/permission/types.d.ts +6 -0
  432. package/build/permission/types.d.ts.map +1 -0
  433. package/build/permission/types.js +2 -0
  434. package/build/permission/types.js.map +1 -0
  435. package/build/picker/icons/consts.d.ts +9 -0
  436. package/build/picker/icons/consts.d.ts.map +1 -0
  437. package/build/picker/icons/consts.js +264 -0
  438. package/build/picker/icons/consts.js.map +1 -0
  439. package/build/picker/icons/types.d.ts +18 -0
  440. package/build/picker/icons/types.d.ts.map +1 -0
  441. package/build/picker/icons/types.js +2 -0
  442. package/build/picker/icons/types.js.map +1 -0
  443. package/build/picker/icons.d.ts +4 -0
  444. package/build/picker/icons.d.ts.map +1 -0
  445. package/build/picker/icons.js +54 -0
  446. package/build/picker/icons.js.map +1 -0
  447. package/build/picker/index.d.ts +11 -0
  448. package/build/picker/index.d.ts.map +1 -0
  449. package/build/picker/index.js +10 -0
  450. package/build/picker/index.js.map +1 -0
  451. package/build/picker/utils/color/types.d.ts +35 -0
  452. package/build/picker/utils/color/types.d.ts.map +1 -0
  453. package/build/picker/utils/color/types.js +2 -0
  454. package/build/picker/utils/color/types.js.map +1 -0
  455. package/build/picker/utils/color.d.ts +4 -0
  456. package/build/picker/utils/color.d.ts.map +1 -0
  457. package/build/picker/utils/color.js +96 -0
  458. package/build/picker/utils/color.js.map +1 -0
  459. package/build/picker/vocabulary/consts.d.ts +26 -0
  460. package/build/picker/vocabulary/consts.d.ts.map +1 -0
  461. package/build/picker/vocabulary/consts.js +336 -0
  462. package/build/picker/vocabulary/consts.js.map +1 -0
  463. package/build/picker/vocabulary/types.d.ts +67 -0
  464. package/build/picker/vocabulary/types.d.ts.map +1 -0
  465. package/build/picker/vocabulary/types.js +2 -0
  466. package/build/picker/vocabulary/types.js.map +1 -0
  467. package/build/picker/vocabulary.d.ts +11 -0
  468. package/build/picker/vocabulary.d.ts.map +1 -0
  469. package/build/picker/vocabulary.js +83 -0
  470. package/build/picker/vocabulary.js.map +1 -0
  471. package/build/scheme/consts.d.ts +8 -0
  472. package/build/scheme/consts.d.ts.map +1 -0
  473. package/build/scheme/consts.js +8 -0
  474. package/build/scheme/consts.js.map +1 -0
  475. package/build/scheme/index.d.ts +4 -0
  476. package/build/scheme/index.d.ts.map +1 -0
  477. package/build/scheme/index.js +3 -0
  478. package/build/scheme/index.js.map +1 -0
  479. package/build/scheme/scheme.d.ts +16 -0
  480. package/build/scheme/scheme.d.ts.map +1 -0
  481. package/build/scheme/scheme.js +58 -0
  482. package/build/scheme/scheme.js.map +1 -0
  483. package/build/scheme/types.d.ts +30 -0
  484. package/build/scheme/types.d.ts.map +1 -0
  485. package/build/scheme/types.js +2 -0
  486. package/build/scheme/types.js.map +1 -0
  487. package/build/types.d.ts +18 -2
  488. package/build/types.d.ts.map +1 -1
  489. package/package.json +107 -52
  490. package/src/@/components/ui/alert-dialog.tsx +156 -0
  491. package/src/@/components/ui/alert.tsx +1 -1
  492. package/src/@/components/ui/button.tsx +1 -1
  493. package/src/@/components/ui/card.tsx +1 -1
  494. package/src/@/components/ui/input.tsx +1 -1
  495. package/src/@/components/ui/label.tsx +1 -1
  496. package/src/@/components/ui/navigation-menu.tsx +1 -1
  497. package/src/@/components/ui/popover.tsx +47 -0
  498. package/src/@/components/ui/progress.tsx +1 -1
  499. package/src/@/components/ui/separator.tsx +1 -1
  500. package/src/@/components/ui/sheet.tsx +142 -0
  501. package/src/auth/context.ts +0 -2
  502. package/src/auth/entrypoints.ts +5 -0
  503. package/src/auth/exports.ts +4 -4
  504. package/src/auth/plugins/basic-ed25519.tsx +4 -4
  505. package/src/auth/plugins/re-captcha.tsx +3 -3
  506. package/src/auth/plugins/tunnel-consumer.tsx +1 -1
  507. package/src/components/block.tsx +2 -2
  508. package/src/components/consts.local.ts +29 -0
  509. package/src/components/footer/component.tsx +58 -16
  510. package/src/components/footer/credit.tsx +61 -0
  511. package/src/components/footer/index.ts +1 -0
  512. package/src/components/footer/types.ts +22 -1
  513. package/src/components/form/button/component.tsx +7 -4
  514. package/src/components/form/component.tsx +2 -2
  515. package/src/components/form/text/component.tsx +2 -2
  516. package/src/components/helper.ts +1 -13
  517. package/src/components/index.ts +4 -0
  518. package/src/components/link.tsx +3 -3
  519. package/src/components/login/append.ts +34 -0
  520. package/src/components/login/consts.local.ts +10 -0
  521. package/src/components/login/consts.ts +2 -0
  522. package/src/components/login/credit.tsx +33 -0
  523. package/src/components/login/i18n/be.json +10 -0
  524. package/src/components/login/i18n/de.json +10 -0
  525. package/src/components/login/i18n/en.json +10 -0
  526. package/src/components/login/i18n/es.json +10 -0
  527. package/src/components/login/i18n/fr.json +10 -0
  528. package/src/components/login/i18n/pl.json +10 -0
  529. package/src/components/login/i18n/ru.json +10 -0
  530. package/src/components/login/i18n/uk.json +10 -0
  531. package/src/components/login/i18n.ts +29 -0
  532. package/src/components/login/icons.tsx +39 -0
  533. package/src/components/login/index.ts +11 -0
  534. package/src/components/login/notify.ts +48 -0
  535. package/src/components/login/provider.tsx +57 -0
  536. package/src/components/login/screen.tsx +178 -0
  537. package/src/components/login/terms.tsx +75 -0
  538. package/src/components/login/types.ts +30 -0
  539. package/src/components/nav/consts.local.ts +64 -0
  540. package/src/components/nav/index.ts +1 -0
  541. package/src/components/nav/layout.tsx +184 -26
  542. package/src/components/nav/mobile.tsx +165 -0
  543. package/src/components/nav/side.tsx +43 -27
  544. package/src/components/nav/top.tsx +44 -22
  545. package/src/components/nav/types.ts +65 -2
  546. package/src/components/nav/viewport.ts +16 -0
  547. package/src/components/panel-app/component.tsx +9 -1
  548. package/src/components/picker/color-picker.tsx +15 -0
  549. package/src/components/picker/consts.local.ts +267 -0
  550. package/src/components/picker/dot.tsx +21 -0
  551. package/src/components/picker/grid.tsx +138 -0
  552. package/src/components/picker/i18n/be.json +60 -0
  553. package/src/components/picker/i18n/de.json +60 -0
  554. package/src/components/picker/i18n/en.json +60 -0
  555. package/src/components/picker/i18n/es.json +60 -0
  556. package/src/components/picker/i18n/fr.json +60 -0
  557. package/src/components/picker/i18n/pl.json +60 -0
  558. package/src/components/picker/i18n/ru.json +60 -0
  559. package/src/components/picker/i18n/uk.json +60 -0
  560. package/src/components/picker/i18n.ts +19 -0
  561. package/src/components/picker/icon-color-picker.tsx +25 -0
  562. package/src/components/picker/icon-picker.tsx +13 -0
  563. package/src/components/picker/index.ts +11 -0
  564. package/src/components/picker/panel.tsx +61 -0
  565. package/src/components/picker/root.tsx +81 -0
  566. package/src/components/picker/roving.ts +70 -0
  567. package/src/components/picker/surface.tsx +62 -0
  568. package/src/components/picker/swatches/custom.tsx +110 -0
  569. package/src/components/picker/swatches.tsx +67 -0
  570. package/src/components/picker/text.ts +46 -0
  571. package/src/components/picker/tile.tsx +35 -0
  572. package/src/components/picker/translate.ts +15 -0
  573. package/src/components/picker/trigger.tsx +54 -0
  574. package/src/components/picker/types.local.ts +154 -0
  575. package/src/components/picker/types.ts +125 -0
  576. package/src/components/scheme/consts.local.ts +13 -0
  577. package/src/components/scheme/hook.ts +62 -0
  578. package/src/components/scheme/index.ts +4 -0
  579. package/src/components/scheme/toggle.tsx +32 -0
  580. package/src/components/scheme/types.ts +23 -0
  581. package/src/components/socket/i18n/be.json +9 -0
  582. package/src/components/socket/i18n/de.json +9 -0
  583. package/src/components/socket/i18n/en.json +9 -0
  584. package/src/components/socket/i18n/es.json +9 -0
  585. package/src/components/socket/i18n/fr.json +9 -0
  586. package/src/components/socket/i18n/pl.json +9 -0
  587. package/src/components/socket/i18n/ru.json +9 -0
  588. package/src/components/socket/i18n/uk.json +9 -0
  589. package/src/components/socket/i18n.ts +19 -0
  590. package/src/components/socket/index.ts +2 -0
  591. package/src/components/socket/reload-dialog.tsx +61 -0
  592. package/src/components/status.tsx +1 -1
  593. package/src/components/text.tsx +2 -14
  594. package/src/components/toaster.tsx +65 -0
  595. package/src/components/uploader/consts.local.ts +7 -0
  596. package/src/components/uploader/image.tsx +2 -6
  597. package/src/consent/component.tsx +84 -0
  598. package/src/consent/consts.local.ts +10 -0
  599. package/src/consent/consts.ts +1 -0
  600. package/src/consent/geo.ts +26 -0
  601. package/src/consent/index.ts +24 -0
  602. package/src/consent/language.ts +12 -0
  603. package/src/consent/menu-widget.tsx +22 -0
  604. package/src/consent/presence.ts +45 -0
  605. package/src/consent/service.ts +75 -0
  606. package/src/consent/translate.ts +31 -0
  607. package/src/consent/types.local.ts +6 -0
  608. package/src/consent/types.ts +43 -0
  609. package/src/context.ts +12 -0
  610. package/src/editor/component.tsx +172 -0
  611. package/src/editor/consts.local.ts +62 -0
  612. package/src/editor/index.ts +2 -0
  613. package/src/editor/types.ts +24 -0
  614. package/src/entrypoints.ts +5 -0
  615. package/src/exports.ts +6 -5
  616. package/src/index.ts +1 -1
  617. package/src/main.tsx +2 -6
  618. package/src/permission/i18n/be.json +13 -0
  619. package/src/permission/i18n/de.json +13 -0
  620. package/src/permission/i18n/en.json +13 -0
  621. package/src/permission/i18n/es.json +13 -0
  622. package/src/permission/i18n/fr.json +13 -0
  623. package/src/permission/i18n/pl.json +13 -0
  624. package/src/permission/i18n/ru.json +13 -0
  625. package/src/permission/i18n/uk.json +13 -0
  626. package/src/permission/i18n.ts +13 -0
  627. package/src/permission/index.ts +27 -0
  628. package/src/permission/toast.tsx +20 -0
  629. package/src/permission/types.ts +5 -0
  630. package/src/picker/icons/consts.ts +309 -0
  631. package/src/picker/icons/types.ts +18 -0
  632. package/src/picker/icons.ts +70 -0
  633. package/src/picker/index.ts +11 -0
  634. package/src/picker/utils/color/types.ts +37 -0
  635. package/src/picker/utils/color.ts +119 -0
  636. package/src/picker/vocabulary/consts.ts +347 -0
  637. package/src/picker/vocabulary/types.ts +72 -0
  638. package/src/picker/vocabulary.ts +111 -0
  639. package/src/scheme/consts.ts +8 -0
  640. package/src/scheme/index.ts +3 -0
  641. package/src/scheme/scheme.ts +66 -0
  642. package/src/scheme/types.ts +30 -0
  643. package/src/types.ts +19 -2
  644. package/tests/consent-language.spec.ts +31 -0
  645. package/tests/consent.spec.ts +112 -0
  646. package/tests/context.ts +4 -0
  647. package/tests/editor.spec.ts +58 -0
  648. package/tests/harness/editor.tsx +32 -0
  649. package/tests/harness/index.html +1 -0
  650. package/tests/harness/lazy-screen.tsx +9 -0
  651. package/tests/harness/mount.tsx +370 -29
  652. package/tests/harness/picker.tsx +110 -0
  653. package/tests/lazy.spec.ts +104 -0
  654. package/tests/login-provider.spec.ts +114 -0
  655. package/tests/login.spec.ts +447 -0
  656. package/tests/nav.spec.ts +449 -3
  657. package/tests/package-boundary.spec.ts +19 -0
  658. package/tests/picker-shots.spec.ts +174 -0
  659. package/tests/picker-vocabulary.spec.ts +217 -0
  660. package/tests/picker.spec.ts +333 -0
  661. package/tests/scheme.spec.ts +149 -0
  662. package/tests/smoke.spec.ts +2 -2
  663. package/tests/socket-dialog.spec.ts +154 -0
  664. package/tests/toaster.spec.ts +59 -0
  665. package/zz-tw.d.mts +2 -0
  666. package/zz-tw.d.mts.map +1 -0
  667. package/build/.gitkeep +0 -0
  668. package/src/auth/modules.ts +0 -5
  669. package/src/modules.ts +0 -5
@@ -0,0 +1,264 @@
1
+ import { BriefcaseIcon, FolderIcon, FolderOpenIcon, FolderKanbanIcon, FileIcon, FileTextIcon, FilesIcon, ClipboardListIcon, ClipboardCheckIcon, ListChecksIcon, ListTodoIcon, SquareCheckIcon, KanbanIcon, CalendarIcon, CalendarCheckIcon, CalendarDaysIcon, CalendarClockIcon, ClockIcon, TimerIcon, HourglassIcon, TargetIcon, FlagIcon, MilestoneIcon, RocketIcon, LightbulbIcon, BookOpenIcon, NotebookPenIcon, PresentationIcon, LayersIcon, LayoutGridIcon, WorkflowIcon, GoalIcon, TrophyIcon, AwardIcon, PenLineIcon, ArchiveIcon, PaperclipIcon, UserIcon, UserRoundIcon, UserRoundCheckIcon, UserRoundPlusIcon, UserCheckIcon, UserPlusIcon, UsersIcon, UsersRoundIcon, ContactIcon, IdCardIcon, HandshakeIcon, PersonStandingIcon, AccessibilityIcon, FaceSlightlySmilingIcon, HeartHandshakeIcon, GraduationCapIcon, UserCogIcon, CrownIcon, HandIcon, ThumbsUpIcon, MailIcon, MailOpenIcon, InboxIcon, SendIcon, MessageSquareIcon, MessageCircleIcon, MessagesSquareIcon, PhoneIcon, PhoneCallIcon, MegaphoneIcon, BellIcon, BellRingIcon, AtSignIcon, HeadsetIcon, VideoIcon, MicIcon, Share2Icon, ReplyIcon, LanguagesIcon, NewspaperIcon, ShoppingCartIcon, ShoppingBagIcon, StoreIcon, ReceiptIcon, CreditCardIcon, WalletIcon, BanknoteIcon, CoinsIcon, PiggyBankIcon, DollarSignIcon, EuroIcon, PercentIcon, TagIcon, TagsIcon, TicketIcon, GiftIcon, PackageIcon, BadgePercentIcon, TrendingUpIcon, TrendingDownIcon, ScaleIcon, LandmarkIcon, CalculatorIcon, HandCoinsIcon, ChartLineIcon, ChartColumnIcon, ChartPieIcon, WrenchIcon, HammerIcon, SettingsIcon, CogIcon, SlidersHorizontalIcon, FunnelIcon, TruckIcon, WarehouseIcon, FactoryIcon, ContainerIcon, BoxesIcon, PackageCheckIcon, RouteIcon, GaugeIcon, ActivityIcon, SirenIcon, ShieldIcon, ShieldCheckIcon, LockIcon, KeyIcon, HardHatIcon, ConstructionIcon, RecycleIcon, StampIcon, BuildingIcon, BuildingComplexIcon, HouseIcon, HotelIcon, SchoolIcon, HospitalIcon, MapIcon, MapPinIcon, MapPinnedIcon, GlobeIcon, EarthIcon, CompassIcon, NavigationIcon, PlaneIcon, CarIcon, BusIcon, TrainFrontIcon, ShipIcon, BikeIcon, MountainIcon, CodeIcon, TerminalIcon, ServerIcon, DatabaseIcon, CloudIcon, CpuIcon, MonitorIcon, LaptopIcon, SmartphoneIcon, TabletIcon, WifiIcon, BluetoothIcon, PlugIcon, HardDriveIcon, GitBranchIcon, GitPullRequestIcon, BotIcon, BrainIcon, PuzzleIcon, BlocksIcon, BugIcon, WebhookIcon, LinkIcon, QrCodeIcon, KeyboardIcon, PrinterIcon, CircleIcon, CircleCheckIcon, CircleXIcon, CircleAlertIcon, CircleQuestionMarkIcon, CirclePauseIcon, CirclePlayIcon, CircleDotIcon, CircleDashedIcon, TriangleAlertIcon, OctagonAlertIcon, InfoIcon, BanIcon, CheckIcon, XIcon, LoaderIcon, RefreshCwIcon, EyeIcon, EyeOffIcon, FlameIcon, ZapIcon, SparklesIcon, StarIcon, HeartIcon, ThumbsDownIcon, BadgeCheckIcon, ShieldAlertIcon, BookmarkIcon, PinIcon, BookIcon, PenIcon, PencilIcon, PaletteIcon, BrushIcon, CameraIcon, ImageIcon, MusicIcon, HeadphonesIcon, Gamepad2Icon, UmbrellaIcon, ShirtIcon, WatchIcon, CoffeeIcon, UtensilsIcon, LampIcon, ArmchairIcon, BedIcon, ScissorsIcon, RulerIcon, TrashIcon, BoxIcon, MagnetIcon, FlaskConicalIcon, MicroscopeIcon, StethoscopeIcon, PillIcon, DumbbellIcon, LeafIcon, TreePineIcon, TreesIcon, FlowerIcon, Flower2Icon, SproutIcon, SunIcon, MoonIcon, CloudRainIcon, CloudSunIcon, SnowflakeIcon, DropletIcon, WavesHorizontalIcon, WindIcon, MountainSnowIcon, BirdIcon, FishIcon, CatIcon, DogIcon, PawPrintIcon, FeatherIcon, AppleIcon, CarrotIcon, } from 'lucide-react';
2
+ /**
3
+ * Every catalogue icon by its stored name, each a statically imported lucide component — so a
4
+ * bundler keeps exactly these and nothing else, and a target bundle needs no dynamic import. Never
5
+ * `dynamicIconImports`, `DynamicIcon` or a namespace import: each pulls the whole set (~2,100 icons).
6
+ * Keys equal `PICKER_ICON_NAMES` (`tests/picker-vocabulary.spec.ts`).
7
+ */
8
+ export const PICKER_ICONS = Object.freeze({
9
+ 'briefcase': BriefcaseIcon,
10
+ 'folder': FolderIcon,
11
+ 'folder-open': FolderOpenIcon,
12
+ 'folder-kanban': FolderKanbanIcon,
13
+ 'file': FileIcon,
14
+ 'file-text': FileTextIcon,
15
+ 'files': FilesIcon,
16
+ 'clipboard-list': ClipboardListIcon,
17
+ 'clipboard-check': ClipboardCheckIcon,
18
+ 'list-checks': ListChecksIcon,
19
+ 'list-todo': ListTodoIcon,
20
+ 'square-check': SquareCheckIcon,
21
+ 'kanban': KanbanIcon,
22
+ 'calendar': CalendarIcon,
23
+ 'calendar-check': CalendarCheckIcon,
24
+ 'calendar-days': CalendarDaysIcon,
25
+ 'calendar-clock': CalendarClockIcon,
26
+ 'clock': ClockIcon,
27
+ 'timer': TimerIcon,
28
+ 'hourglass': HourglassIcon,
29
+ 'target': TargetIcon,
30
+ 'flag': FlagIcon,
31
+ 'milestone': MilestoneIcon,
32
+ 'rocket': RocketIcon,
33
+ 'lightbulb': LightbulbIcon,
34
+ 'book-open': BookOpenIcon,
35
+ 'notebook-pen': NotebookPenIcon,
36
+ 'presentation': PresentationIcon,
37
+ 'layers': LayersIcon,
38
+ 'layout-grid': LayoutGridIcon,
39
+ 'workflow': WorkflowIcon,
40
+ 'goal': GoalIcon,
41
+ 'trophy': TrophyIcon,
42
+ 'award': AwardIcon,
43
+ 'pen-line': PenLineIcon,
44
+ 'archive': ArchiveIcon,
45
+ 'paperclip': PaperclipIcon,
46
+ 'user': UserIcon,
47
+ 'user-round': UserRoundIcon,
48
+ 'user-round-check': UserRoundCheckIcon,
49
+ 'user-round-plus': UserRoundPlusIcon,
50
+ 'user-check': UserCheckIcon,
51
+ 'user-plus': UserPlusIcon,
52
+ 'users': UsersIcon,
53
+ 'users-round': UsersRoundIcon,
54
+ 'contact': ContactIcon,
55
+ 'id-card': IdCardIcon,
56
+ 'handshake': HandshakeIcon,
57
+ 'person-standing': PersonStandingIcon,
58
+ 'accessibility': AccessibilityIcon,
59
+ 'face-slightly-smiling': FaceSlightlySmilingIcon,
60
+ 'heart-handshake': HeartHandshakeIcon,
61
+ 'graduation-cap': GraduationCapIcon,
62
+ 'user-cog': UserCogIcon,
63
+ 'crown': CrownIcon,
64
+ 'hand': HandIcon,
65
+ 'thumbs-up': ThumbsUpIcon,
66
+ 'mail': MailIcon,
67
+ 'mail-open': MailOpenIcon,
68
+ 'inbox': InboxIcon,
69
+ 'send': SendIcon,
70
+ 'message-square': MessageSquareIcon,
71
+ 'message-circle': MessageCircleIcon,
72
+ 'messages-square': MessagesSquareIcon,
73
+ 'phone': PhoneIcon,
74
+ 'phone-call': PhoneCallIcon,
75
+ 'megaphone': MegaphoneIcon,
76
+ 'bell': BellIcon,
77
+ 'bell-ring': BellRingIcon,
78
+ 'at-sign': AtSignIcon,
79
+ 'headset': HeadsetIcon,
80
+ 'video': VideoIcon,
81
+ 'mic': MicIcon,
82
+ 'share-2': Share2Icon,
83
+ 'reply': ReplyIcon,
84
+ 'languages': LanguagesIcon,
85
+ 'newspaper': NewspaperIcon,
86
+ 'shopping-cart': ShoppingCartIcon,
87
+ 'shopping-bag': ShoppingBagIcon,
88
+ 'store': StoreIcon,
89
+ 'receipt': ReceiptIcon,
90
+ 'credit-card': CreditCardIcon,
91
+ 'wallet': WalletIcon,
92
+ 'banknote': BanknoteIcon,
93
+ 'coins': CoinsIcon,
94
+ 'piggy-bank': PiggyBankIcon,
95
+ 'dollar-sign': DollarSignIcon,
96
+ 'euro': EuroIcon,
97
+ 'percent': PercentIcon,
98
+ 'tag': TagIcon,
99
+ 'tags': TagsIcon,
100
+ 'ticket': TicketIcon,
101
+ 'gift': GiftIcon,
102
+ 'package': PackageIcon,
103
+ 'badge-percent': BadgePercentIcon,
104
+ 'trending-up': TrendingUpIcon,
105
+ 'trending-down': TrendingDownIcon,
106
+ 'scale': ScaleIcon,
107
+ 'landmark': LandmarkIcon,
108
+ 'calculator': CalculatorIcon,
109
+ 'hand-coins': HandCoinsIcon,
110
+ 'chart-line': ChartLineIcon,
111
+ 'chart-column': ChartColumnIcon,
112
+ 'chart-pie': ChartPieIcon,
113
+ 'wrench': WrenchIcon,
114
+ 'hammer': HammerIcon,
115
+ 'settings': SettingsIcon,
116
+ 'cog': CogIcon,
117
+ 'sliders-horizontal': SlidersHorizontalIcon,
118
+ 'funnel': FunnelIcon,
119
+ 'truck': TruckIcon,
120
+ 'warehouse': WarehouseIcon,
121
+ 'factory': FactoryIcon,
122
+ 'container': ContainerIcon,
123
+ 'boxes': BoxesIcon,
124
+ 'package-check': PackageCheckIcon,
125
+ 'route': RouteIcon,
126
+ 'gauge': GaugeIcon,
127
+ 'activity': ActivityIcon,
128
+ 'siren': SirenIcon,
129
+ 'shield': ShieldIcon,
130
+ 'shield-check': ShieldCheckIcon,
131
+ 'lock': LockIcon,
132
+ 'key': KeyIcon,
133
+ 'hard-hat': HardHatIcon,
134
+ 'construction': ConstructionIcon,
135
+ 'recycle': RecycleIcon,
136
+ 'stamp': StampIcon,
137
+ 'building': BuildingIcon,
138
+ 'building-complex': BuildingComplexIcon,
139
+ 'house': HouseIcon,
140
+ 'hotel': HotelIcon,
141
+ 'school': SchoolIcon,
142
+ 'hospital': HospitalIcon,
143
+ 'map': MapIcon,
144
+ 'map-pin': MapPinIcon,
145
+ 'map-pinned': MapPinnedIcon,
146
+ 'globe': GlobeIcon,
147
+ 'earth': EarthIcon,
148
+ 'compass': CompassIcon,
149
+ 'navigation': NavigationIcon,
150
+ 'plane': PlaneIcon,
151
+ 'car': CarIcon,
152
+ 'bus': BusIcon,
153
+ 'train-front': TrainFrontIcon,
154
+ 'ship': ShipIcon,
155
+ 'bike': BikeIcon,
156
+ 'mountain': MountainIcon,
157
+ 'code': CodeIcon,
158
+ 'terminal': TerminalIcon,
159
+ 'server': ServerIcon,
160
+ 'database': DatabaseIcon,
161
+ 'cloud': CloudIcon,
162
+ 'cpu': CpuIcon,
163
+ 'monitor': MonitorIcon,
164
+ 'laptop': LaptopIcon,
165
+ 'smartphone': SmartphoneIcon,
166
+ 'tablet': TabletIcon,
167
+ 'wifi': WifiIcon,
168
+ 'bluetooth': BluetoothIcon,
169
+ 'plug': PlugIcon,
170
+ 'hard-drive': HardDriveIcon,
171
+ 'git-branch': GitBranchIcon,
172
+ 'git-pull-request': GitPullRequestIcon,
173
+ 'bot': BotIcon,
174
+ 'brain': BrainIcon,
175
+ 'puzzle': PuzzleIcon,
176
+ 'blocks': BlocksIcon,
177
+ 'bug': BugIcon,
178
+ 'webhook': WebhookIcon,
179
+ 'link': LinkIcon,
180
+ 'qr-code': QrCodeIcon,
181
+ 'keyboard': KeyboardIcon,
182
+ 'printer': PrinterIcon,
183
+ 'circle': CircleIcon,
184
+ 'circle-check': CircleCheckIcon,
185
+ 'circle-x': CircleXIcon,
186
+ 'circle-alert': CircleAlertIcon,
187
+ 'circle-question-mark': CircleQuestionMarkIcon,
188
+ 'circle-pause': CirclePauseIcon,
189
+ 'circle-play': CirclePlayIcon,
190
+ 'circle-dot': CircleDotIcon,
191
+ 'circle-dashed': CircleDashedIcon,
192
+ 'triangle-alert': TriangleAlertIcon,
193
+ 'octagon-alert': OctagonAlertIcon,
194
+ 'info': InfoIcon,
195
+ 'ban': BanIcon,
196
+ 'check': CheckIcon,
197
+ 'x': XIcon,
198
+ 'loader': LoaderIcon,
199
+ 'refresh-cw': RefreshCwIcon,
200
+ 'eye': EyeIcon,
201
+ 'eye-off': EyeOffIcon,
202
+ 'flame': FlameIcon,
203
+ 'zap': ZapIcon,
204
+ 'sparkles': SparklesIcon,
205
+ 'star': StarIcon,
206
+ 'heart': HeartIcon,
207
+ 'thumbs-down': ThumbsDownIcon,
208
+ 'badge-check': BadgeCheckIcon,
209
+ 'shield-alert': ShieldAlertIcon,
210
+ 'bookmark': BookmarkIcon,
211
+ 'pin': PinIcon,
212
+ 'book': BookIcon,
213
+ 'pen': PenIcon,
214
+ 'pencil': PencilIcon,
215
+ 'palette': PaletteIcon,
216
+ 'brush': BrushIcon,
217
+ 'camera': CameraIcon,
218
+ 'image': ImageIcon,
219
+ 'music': MusicIcon,
220
+ 'headphones': HeadphonesIcon,
221
+ 'gamepad-2': Gamepad2Icon,
222
+ 'umbrella': UmbrellaIcon,
223
+ 'shirt': ShirtIcon,
224
+ 'watch': WatchIcon,
225
+ 'coffee': CoffeeIcon,
226
+ 'utensils': UtensilsIcon,
227
+ 'lamp': LampIcon,
228
+ 'armchair': ArmchairIcon,
229
+ 'bed': BedIcon,
230
+ 'scissors': ScissorsIcon,
231
+ 'ruler': RulerIcon,
232
+ 'trash': TrashIcon,
233
+ 'box': BoxIcon,
234
+ 'magnet': MagnetIcon,
235
+ 'flask-conical': FlaskConicalIcon,
236
+ 'microscope': MicroscopeIcon,
237
+ 'stethoscope': StethoscopeIcon,
238
+ 'pill': PillIcon,
239
+ 'dumbbell': DumbbellIcon,
240
+ 'leaf': LeafIcon,
241
+ 'tree-pine': TreePineIcon,
242
+ 'trees': TreesIcon,
243
+ 'flower': FlowerIcon,
244
+ 'flower-2': Flower2Icon,
245
+ 'sprout': SproutIcon,
246
+ 'sun': SunIcon,
247
+ 'moon': MoonIcon,
248
+ 'cloud-rain': CloudRainIcon,
249
+ 'cloud-sun': CloudSunIcon,
250
+ 'snowflake': SnowflakeIcon,
251
+ 'droplet': DropletIcon,
252
+ 'waves-horizontal': WavesHorizontalIcon,
253
+ 'wind': WindIcon,
254
+ 'mountain-snow': MountainSnowIcon,
255
+ 'bird': BirdIcon,
256
+ 'fish': FishIcon,
257
+ 'cat': CatIcon,
258
+ 'dog': DogIcon,
259
+ 'paw-print': PawPrintIcon,
260
+ 'feather': FeatherIcon,
261
+ 'apple': AppleIcon,
262
+ 'carrot': CarrotIcon,
263
+ });
264
+ //# sourceMappingURL=consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/picker/icons/consts.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EAAE,UA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Y;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,gBAAgB;IACjC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,WAAW;IACvB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,aAAa;IAC3B,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,mBAAmB;IACvC,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,gBAAgB;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAC,CAAA"}
@@ -0,0 +1,18 @@
1
+ import type { LucideIcon } from 'lucide-react';
2
+ import type { PickerIconCategory, PickerIconEntry } from '../vocabulary/types.js';
3
+ /** Looks icons up and searches the catalogue. */
4
+ export interface PickerIconHelper {
5
+ /** The component for a stored name; unknown, empty or absent → the fallback icon (`circle`). */
6
+ iconOf: (name?: string | null) => LucideIcon;
7
+ /** Whether a value names a catalogue icon. */
8
+ has: (name: unknown) => name is string;
9
+ /**
10
+ * Catalogue entries matching a query — every word must start a word of the name, a search word or
11
+ * the category; the closest names first. An empty query lists them all. `names` narrows the
12
+ * catalogue and sets the order (an application's own icon list).
13
+ */
14
+ search: (query: string, names?: readonly string[]) => PickerIconEntry[];
15
+ /** The entries of one category, in catalogue order (or `names`' order). */
16
+ byCategory: (category: PickerIconCategory, names?: readonly string[]) => PickerIconEntry[];
17
+ }
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/picker/icons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEjF,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B,gGAAgG;IAChG,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,UAAU,CAAA;IAC5C,8CAA8C;IAC9C,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,MAAM,CAAA;IACtC;;;;OAIG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,eAAe,EAAE,CAAA;IACvE,2EAA2E;IAC3E,UAAU,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,eAAe,EAAE,CAAA;CAC3F"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/picker/icons/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { PickerIconHelper } from './icons/types.js';
2
+ export declare const createPickerIconHelper: () => PickerIconHelper;
3
+ export declare const pickerIconHelper: PickerIconHelper;
4
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/picker/icons.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAIxD,eAAO,MAAM,sBAAsB,QAAO,gBA6DzC,CAAA;AAED,eAAO,MAAM,gBAAgB,kBAA2B,CAAA"}
@@ -0,0 +1,54 @@
1
+ import { PICKER_ICONS } from './icons/consts.js';
2
+ import { PICKER_FALLBACK_ICON, PICKER_ICON_ENTRIES } from './vocabulary/consts.js';
3
+ export const createPickerIconHelper = () => {
4
+ const wordsOf = (text) => text.toLowerCase().split(/[\s,-]+/).filter(word => word !== '');
5
+ const byName = new Map(PICKER_ICON_ENTRIES.map(entry => [entry.name, entry]));
6
+ // Each entry's words split once: its name's and its search words'.
7
+ const words = new Map(PICKER_ICON_ENTRIES.map(entry => [entry.name, {
8
+ name: wordsOf(entry.name), search: entry.keywords.flatMap(wordsOf),
9
+ }]));
10
+ const fallback = PICKER_ICONS[PICKER_FALLBACK_ICON];
11
+ const has = (name) => typeof name === 'string' && Object.prototype.hasOwnProperty.call(PICKER_ICONS, name);
12
+ const iconOf = (name) => has(name) ? PICKER_ICONS[name] : fallback;
13
+ const scope = (names) => names == null
14
+ ? [...PICKER_ICON_ENTRIES]
15
+ : names.flatMap(name => {
16
+ const entry = byName.get(name);
17
+ return entry != null ? [entry] : [];
18
+ });
19
+ /** 0 exact name, 1 name prefix, 2 a name word, 3 a search word, 4 the category; -1 no match. */
20
+ const rank = (entry, query, terms) => {
21
+ if (entry.name === query) {
22
+ return 0;
23
+ }
24
+ const own = words.get(entry.name) ?? { name: [], search: [] };
25
+ const starts = (pool) => terms.every(term => pool.some(word => word.startsWith(term)));
26
+ if (!starts([...own.name, ...own.search, entry.category])) {
27
+ return -1;
28
+ }
29
+ if (entry.name.startsWith(query.replace(/\s+/g, '-'))) {
30
+ return 1;
31
+ }
32
+ if (starts(own.name)) {
33
+ return 2;
34
+ }
35
+ return starts([...own.name, ...own.search]) ? 3 : 4;
36
+ };
37
+ const search = (query, names) => {
38
+ const entries = scope(names);
39
+ const normalized = query.trim().toLowerCase().replace(/\s+/g, ' ');
40
+ if (normalized === '') {
41
+ return entries;
42
+ }
43
+ const terms = wordsOf(normalized);
44
+ return entries
45
+ .map((entry, order) => ({ entry, order, score: rank(entry, normalized, terms) }))
46
+ .filter(hit => hit.score >= 0)
47
+ .sort((a, b) => a.score - b.score || a.order - b.order)
48
+ .map(hit => hit.entry);
49
+ };
50
+ const byCategory = (category, names) => scope(names).filter(entry => entry.category === category);
51
+ return { iconOf, has, search, byCategory };
52
+ };
53
+ export const pickerIconHelper = createPickerIconHelper();
54
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/picker/icons.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAGlF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAqB,EAAE;IAC3D,MAAM,OAAO,GAAG,CAAC,IAAY,EAAY,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,CAAA;IAC3G,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAA;IAC7E,mEAAmE;IACnE,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAA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CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;aAChF,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC;aAC7B,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;aACtD,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IAC1B,CAAC,CAAA;IAED,MAAM,UAAU,GAAG,CAAC,QAA4B,EAAE,KAAyB,EAAqB,EAAE,CAChG,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAA;IAE3D,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,CAAA;AAC5C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,sBAAsB,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * `@owlmeans/web-panel/picker` — the standard icon + colour picker and the parts it is made of,
3
+ * plus everything of `./picker/vocabulary`. Not re-exported by the package root: only a bundle that
4
+ * imports this subpath carries the icon catalogue.
5
+ */
6
+ export * from './vocabulary.js';
7
+ export { PICKER_ICONS } from './icons/consts.js';
8
+ export { pickerIconHelper, createPickerIconHelper } from './icons.js';
9
+ export type * from './icons/types.js';
10
+ export * from '../components/picker/index.js';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/picker/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AACrE,mBAAmB,kBAAkB,CAAA;AACrC,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * `@owlmeans/web-panel/picker` — the standard icon + colour picker and the parts it is made of,
3
+ * plus everything of `./picker/vocabulary`. Not re-exported by the package root: only a bundle that
4
+ * imports this subpath carries the icon catalogue.
5
+ */
6
+ export * from './vocabulary.js';
7
+ export { PICKER_ICONS } from './icons/consts.js';
8
+ export { pickerIconHelper, createPickerIconHelper } from './icons.js';
9
+ export * from '../components/picker/index.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/picker/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAErE,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,35 @@
1
+ /** An sRGB colour, each channel 0..1. */
2
+ export interface Rgb {
3
+ r: number;
4
+ g: number;
5
+ b: number;
6
+ }
7
+ /** A colour in OKLCH: lightness 0..1, chroma, hue in radians. */
8
+ export interface Oklch {
9
+ l: number;
10
+ c: number;
11
+ h: number;
12
+ }
13
+ /** The four mode-dependent values a custom colour needs, each a lowercase `#rrggbb`. */
14
+ export interface DerivedColor {
15
+ ink: string;
16
+ soft: string;
17
+ inkDark: string;
18
+ softDark: string;
19
+ }
20
+ /** Colour arithmetic for custom colours: parsing, WCAG contrast and OKLCH with gamut fitting. */
21
+ export interface ColorUtils {
22
+ /** A six-digit `#rrggbb` (any case) → channels; anything else → `null`. */
23
+ parse: (hex: string) => Rgb | null;
24
+ /** Channels → lowercase `#rrggbb`, clamped and rounded. */
25
+ hex: (rgb: Rgb) => string;
26
+ /** WCAG 2 contrast ratio of two six-digit hex colours, 1..21. */
27
+ contrast: (a: string, b: string) => number;
28
+ /**
29
+ * The ink and ground a custom colour renders with in both modes: grounds in the colour's hue,
30
+ * inks moved only as far in lightness as it takes to keep 4.5:1 on the ground and on the page
31
+ * (white, black). A colour that already reads well keeps its own value as the light ink.
32
+ */
33
+ derive: (hex: string) => DerivedColor;
34
+ }
35
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/picker/utils/color/types.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,iEAAiE;AACjE,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,wFAAwF;AACxF,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,iGAAiG;AACjG,MAAM,WAAW,UAAU;IACzB,2EAA2E;IAC3E,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,GAAG,IAAI,CAAA;IAClC,2DAA2D;IAC3D,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAA;IACzB,iEAAiE;IACjE,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAAA;IAC1C;;;;OAIG;IACH,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,YAAY,CAAA;CACtC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/picker/utils/color/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ColorUtils } from './color/types.js';
2
+ export declare const createColorUtils: () => ColorUtils;
3
+ export declare const colorUtils: ColorUtils;
4
+ //# sourceMappingURL=color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/picker/utils/color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAA;AAyC5E,eAAO,MAAM,gBAAgB,QAAO,UA2EnC,CAAA;AAED,eAAO,MAAM,UAAU,YAAqB,CAAA"}
@@ -0,0 +1,96 @@
1
+ /** The text-contrast floor every derived ink keeps — above the 3:1 icons and dots need. */
2
+ const TARGET = 4.5;
3
+ const WHITE = '#ffffff';
4
+ const BLACK = '#000000';
5
+ const toLinear = (c) => c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;
6
+ const fromLinear = (c) => c <= 0.0031308 ? 12.92 * c : 1.055 * c ** (1 / 2.4) - 0.055;
7
+ /** sRGB → OKLCH (Björn Ottosson's matrices). */
8
+ const toOklch = ({ r, g, b }) => {
9
+ const [lr, lg, lb] = [toLinear(r), toLinear(g), toLinear(b)];
10
+ const l = Math.cbrt(0.4122214708 * lr + 0.5363325363 * lg + 0.0514459929 * lb);
11
+ const m = Math.cbrt(0.2119034982 * lr + 0.6806995451 * lg + 0.1073969566 * lb);
12
+ const s = Math.cbrt(0.0883024619 * lr + 0.2817188376 * lg + 0.6299787005 * lb);
13
+ const L = 0.2104542553 * l + 0.793617785 * m - 0.0040720468 * s;
14
+ const A = 1.9779984951 * l - 2.428592205 * m + 0.4505937099 * s;
15
+ const B = 0.0259040371 * l + 0.7827717662 * m - 0.808675766 * s;
16
+ return { l: L, c: Math.hypot(A, B), h: Math.atan2(B, A) };
17
+ };
18
+ /** OKLCH → linear sRGB channels, unclamped (out-of-gamut values fall outside 0..1). */
19
+ const toLinearRgb = ({ l, c, h }) => {
20
+ const a = c * Math.cos(h);
21
+ const b = c * Math.sin(h);
22
+ const l3 = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3;
23
+ const m3 = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3;
24
+ const s3 = (l - 0.0894841775 * a - 1.291485548 * b) ** 3;
25
+ return [
26
+ 4.0767416621 * l3 - 3.3077115913 * m3 + 0.2309699292 * s3,
27
+ -1.2684380046 * l3 + 2.6097574011 * m3 - 0.3413193965 * s3,
28
+ -0.0041960863 * l3 - 0.7034186147 * m3 + 1.707614701 * s3,
29
+ ];
30
+ };
31
+ const inGamut = (channels) => channels.every(channel => channel >= -1e-4 && channel <= 1 + 1e-4);
32
+ export const createColorUtils = () => {
33
+ const parse = (hex) => {
34
+ const match = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(hex.trim());
35
+ if (match == null) {
36
+ return null;
37
+ }
38
+ const [r, g, b] = match.slice(1).map(part => parseInt(part, 16) / 255);
39
+ return { r, g, b };
40
+ };
41
+ const hex = ({ r, g, b }) => `#${[r, g, b]
42
+ .map(channel => Math.round(Math.min(1, Math.max(0, channel)) * 255).toString(16).padStart(2, '0'))
43
+ .join('')}`;
44
+ const luminance = (value) => {
45
+ const rgb = parse(value) ?? { r: 0, g: 0, b: 0 };
46
+ return 0.2126 * toLinear(rgb.r) + 0.7152 * toLinear(rgb.g) + 0.0722 * toLinear(rgb.b);
47
+ };
48
+ const contrast = (a, b) => {
49
+ const [x, y] = [luminance(a), luminance(b)];
50
+ return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05);
51
+ };
52
+ /** The colour at this lightness and hue with as much of `c` as sRGB can show, as hex. */
53
+ const fit = (l, c, h) => {
54
+ let low = 0;
55
+ let high = c;
56
+ if (!inGamut(toLinearRgb({ l, c, h }))) {
57
+ for (let step = 0; step < 24; step++) {
58
+ const mid = (low + high) / 2;
59
+ if (inGamut(toLinearRgb({ l, c: mid, h }))) {
60
+ low = mid;
61
+ }
62
+ else {
63
+ high = mid;
64
+ }
65
+ }
66
+ }
67
+ else {
68
+ low = c;
69
+ }
70
+ const [r, g, b] = toLinearRgb({ l, c: low, h }).map(channel => fromLinear(Math.min(1, Math.max(0, channel))));
71
+ return hex({ r, g, b });
72
+ };
73
+ /** Walk the lightness from `from` by `step` until `ok` holds; the far end (black or white) always does. */
74
+ const walk = (from, step, c, h, ok) => {
75
+ for (let l = from; l >= 0 && l <= 1; l += step) {
76
+ const candidate = fit(l, c, h);
77
+ if (ok(candidate)) {
78
+ return candidate;
79
+ }
80
+ }
81
+ return step < 0 ? BLACK : WHITE;
82
+ };
83
+ const derive = (value) => {
84
+ const base = toOklch(parse(value) ?? { r: 0, g: 0, b: 0 });
85
+ // A grey has no hue to keep; any angle at zero chroma is the same grey.
86
+ const h = base.c < 1e-4 ? 0 : base.h;
87
+ const soft = fit(0.965, Math.min(base.c, 0.035), h);
88
+ const softDark = fit(0.25, Math.min(base.c, 0.06), h);
89
+ const ink = walk(Math.min(base.l, 0.66), -0.01, base.c, h, candidate => contrast(candidate, WHITE) >= TARGET && contrast(candidate, soft) >= TARGET);
90
+ const inkDark = walk(Math.max(base.l, 0.72), 0.01, Math.min(base.c, 0.16), h, candidate => contrast(candidate, BLACK) >= TARGET && contrast(candidate, softDark) >= TARGET);
91
+ return { ink, soft, inkDark, softDark };
92
+ };
93
+ return { parse, hex, contrast, derive };
94
+ };
95
+ export const colorUtils = createColorUtils();
96
+ //# sourceMappingURL=color.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.js","sourceRoot":"","sources":["../../../src/picker/utils/color.ts"],"names":[],"mappings":"AAEA,2FAA2F;AAC3F,MAAM,MAAM,GAAG,GAAG,CAA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,EAAE,CAAA;AACzC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,26 @@
1
+ import type { PickerColor, PickerIconEntry } from './types.js';
2
+ /** The palette's keys in hue order — the order the swatch grid shows them in. */
3
+ export declare const PICKER_COLOR_KEYS: readonly ['red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose', 'maroon', 'brown', 'olive', 'navy', 'slate', 'stone', 'graphite'];
4
+ /**
5
+ * The 24-colour palette.
6
+ *
7
+ * Hues follow one scale: the swatch is the hue's 500, the light ink its 700–800, the light ground
8
+ * its 100, the dark ink its 300 (200 or 400 where a neighbouring hue's 300 sits too close) and the
9
+ * dark ground its 900–950. Ten hues keep the exact values the generated targets' look has always
10
+ * used (slate, blue, sky, teal, green, amber, orange, red, pink, violet). The deep four — maroon,
11
+ * brown, olive, navy — run on scales of their own: a darker light ink and a mid-tone dark ink, so
12
+ * they stay apart from red, amber, lime and indigo in both modes. Every ink keeps 4.5:1 on its own
13
+ * ground and on the page in both modes (`tests/picker-vocabulary.spec.ts`).
14
+ */
15
+ export declare const PICKER_COLORS: readonly PickerColor[];
16
+ /** What an unknown colour value renders as. */
17
+ export declare const PICKER_FALLBACK_COLOR = "slate";
18
+ /** The icon catalogue's categories, in the order the picker's chips show them. */
19
+ export declare const PICKER_ICON_CATEGORIES: readonly ['work', 'people', 'communication', 'commerce', 'operations', 'places', 'tech', 'status', 'objects', 'nature'];
20
+ /** What an unknown icon name renders as. */
21
+ export declare const PICKER_FALLBACK_ICON = "circle";
22
+ /** Every catalogue icon with its category and search words, category by category. */
23
+ export declare const PICKER_ICON_ENTRIES: readonly PickerIconEntry[];
24
+ /** The catalogue's names, in catalogue order. */
25
+ export declare const PICKER_ICON_NAMES: readonly string[];
26
+ //# sourceMappingURL=consts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/picker/vocabulary/consts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAsB,eAAe,EAAE,MAAM,YAAY,CAAA;AAElF,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,YAC5B,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EACvG,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,CACvG,CAAA;AAEV;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAyB9C,CAAA;AAEF,+CAA+C;AAC/C,eAAO,MAAM,qBAAqB,UAAU,CAAA;AAE5C,kFAAkF;AAClF,eAAO,MAAM,sBAAsB,YACjC,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CACpG,CAAA;AAEV,4CAA4C;AAC5C,eAAO,MAAM,oBAAoB,WAAW,CAAA;AA4R5C,qFAAqF;AACrF,eAAO,MAAM,mBAAmB,EAAE,SAAS,eAAe,EAGxD,CAAA;AAEF,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,EAAE,SAAS,MAAM,EAA8D,CAAA"}