alinea 1.7.0 → 2.0.0-preview.1

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 (1393) hide show
  1. package/dist/.init/content/pages/welcome.json +1 -1
  2. package/dist/.init/src/app/(alinea)/api/cms/route.ts +8 -8
  3. package/dist/.init/src/cms.ts +45 -47
  4. package/dist/LICENSES.md +236 -561
  5. package/dist/adapter/core/cms.js +1 -1
  6. package/dist/adapter/core/handler.js +1 -1
  7. package/dist/adapter/core/preview.js +2 -2
  8. package/dist/adapter/core/previewContext.d.ts +1 -1
  9. package/dist/adapter/core/previewContext.js +1 -1
  10. package/dist/adapter/next/cms.d.ts +1 -1
  11. package/dist/adapter/next/cms.js +7 -7
  12. package/dist/adapter/next/context.js +1 -1
  13. package/dist/adapter/next/handler.d.ts +2 -4
  14. package/dist/adapter/next/handler.js +11 -5
  15. package/dist/adapter/next/previews.d.ts +2 -2
  16. package/dist/adapter/next/previews.js +13 -17
  17. package/dist/adapter/next/with-alinea.js +20 -10
  18. package/dist/adapter/vite/plugin.d.ts +2 -0
  19. package/dist/adapter/vite/plugin.js +66 -0
  20. package/dist/backend/Auth.js +1 -1
  21. package/dist/backend/HandleAction.d.ts +1 -0
  22. package/dist/backend/HandleAction.js +2 -1
  23. package/dist/backend/Handler.js +142 -31
  24. package/dist/backend/Previews.d.ts +2 -5
  25. package/dist/backend/api/BasicAuth.d.ts +2 -2
  26. package/dist/backend/api/BasicAuth.js +5 -3
  27. package/dist/backend/api/CreateBackend.d.ts +11 -2
  28. package/dist/backend/api/CreateBackend.js +45 -2502
  29. package/dist/backend/api/DatabaseApi.d.ts +8 -2
  30. package/dist/backend/api/DatabaseApi.js +252 -123
  31. package/dist/backend/api/GithubApi.d.ts +0 -4
  32. package/dist/backend/api/GithubApi.js +11 -7
  33. package/dist/backend/api/OAuth2.d.ts +3 -3
  34. package/dist/backend/api/OAuth2.js +36 -25
  35. package/dist/backend/api/S3Uploads.d.ts +32 -0
  36. package/dist/backend/api/S3Uploads.js +178 -0
  37. package/dist/backend/api/SupabaseUploads.d.ts +28 -0
  38. package/dist/backend/api/SupabaseUploads.js +41 -0
  39. package/dist/backend/api/UploadPaths.d.ts +7 -0
  40. package/dist/backend/api/UploadPaths.js +53 -0
  41. package/dist/backend/api/auth.d.ts +5 -0
  42. package/dist/backend/api/auth.js +15 -0
  43. package/dist/backend/api/database.d.ts +2 -0
  44. package/dist/backend/api/database.js +16 -0
  45. package/dist/backend/api/github.d.ts +3 -0
  46. package/dist/backend/api/github.js +10 -0
  47. package/dist/backend/api/uploads.d.ts +9 -0
  48. package/dist/backend/api/uploads.js +23 -0
  49. package/dist/backend/loader/JsonLoader.js +1 -1
  50. package/dist/backend/resolver/ParsePreview.js +2 -2
  51. package/dist/backend/router/NodeHandler.js +1 -1
  52. package/dist/backend/router/Router.d.ts +1 -0
  53. package/dist/backend/router/Router.js +53 -21
  54. package/dist/backend/store/GeneratedRelease.js +1 -1
  55. package/dist/backend/store/GeneratedSource.js +1 -1
  56. package/dist/backend/util/ExecGit.js +4 -4
  57. package/dist/backend/util/JWTPreviews.d.ts +3 -3
  58. package/dist/backend/util/JWTPreviews.js +19 -5
  59. package/dist/backend/util/JsonPatch.js +1 -1
  60. package/dist/backend/util/ORM.js +2 -2
  61. package/dist/backend/util/Syncable.js +2 -2
  62. package/dist/backend.d.ts +5 -0
  63. package/dist/backend.js +17 -0
  64. package/dist/bundled.d.ts +8368 -8238
  65. package/dist/chunks/chunk-53DZYORR.js +3705 -0
  66. package/dist/chunks/chunk-6UT4N4CO.js +919 -0
  67. package/dist/chunks/chunk-7ORQ7BYK.js +1187 -0
  68. package/dist/chunks/chunk-AC4U3IMS.js +205 -0
  69. package/dist/chunks/chunk-BYJRQTFR.js +57 -0
  70. package/dist/chunks/chunk-CQ52GEHY.js +39 -0
  71. package/dist/chunks/chunk-F36YGSHN.js +335 -0
  72. package/dist/chunks/chunk-FRYHNUEK.js +79 -0
  73. package/dist/chunks/chunk-G6E35DMJ.js +1997 -0
  74. package/dist/chunks/chunk-I4GC3E65.js +170 -0
  75. package/dist/chunks/chunk-I4OYYAX5.js +63 -0
  76. package/dist/chunks/chunk-I7X64JTZ.js +10402 -0
  77. package/dist/chunks/chunk-IWN3T3FL.js +19493 -0
  78. package/dist/chunks/chunk-IYAQC63Y.js +1265 -0
  79. package/dist/chunks/chunk-JFROOUG6.js +6363 -0
  80. package/dist/chunks/chunk-LB3UYTOL.js +95 -0
  81. package/dist/chunks/chunk-LUBOGJCG.js +129 -0
  82. package/dist/chunks/chunk-NWQXN4SB.js +227 -0
  83. package/dist/chunks/chunk-RKDPDEF7.js +160 -0
  84. package/dist/chunks/chunk-SJBZFMQ2.js +2966 -0
  85. package/dist/chunks/chunk-STAJCW4Z.js +322 -0
  86. package/dist/chunks/chunk-TL7ZW6BX.js +17963 -0
  87. package/dist/chunks/chunk-U4VOHNR2.js +210 -0
  88. package/dist/chunks/chunk-U5Z2VE7Z.js +120 -0
  89. package/dist/chunks/chunk-X47OVDF3.js +1974 -0
  90. package/dist/chunks/chunk-Y7XOMJOC.js +791 -0
  91. package/dist/chunks/chunk-YK3OSMDM.js +5473 -0
  92. package/dist/chunks/crypto-UO2XRCJS.js +11 -0
  93. package/dist/cli/Generate.js +9 -4
  94. package/dist/cli/Init.js +1 -1
  95. package/dist/cli/Serve.d.ts +2 -2
  96. package/dist/cli/Serve.js +54 -100
  97. package/dist/cli/bin.js +85 -12
  98. package/dist/cli/build/BuildEmitter.js +1 -1
  99. package/dist/cli/build/BuildOptions.js +1 -1
  100. package/dist/cli/generate/CompileConfig.d.ts +1 -1
  101. package/dist/cli/generate/CompileConfig.js +4 -3
  102. package/dist/cli/generate/CopyStaticFiles.js +2 -1
  103. package/dist/cli/generate/DevDB.js +2 -8
  104. package/dist/cli/generate/FillCache.js +2 -2
  105. package/dist/cli/generate/GenerateDashboard.js +1 -1
  106. package/dist/cli/generate/LoadConfig.js +2 -3
  107. package/dist/cli/serve/CreateLocalServer.d.ts +1 -1
  108. package/dist/cli/serve/CreateLocalServer.js +81 -26
  109. package/dist/cli/serve/DevServer.d.ts +19 -0
  110. package/dist/cli/serve/DevServer.js +134 -0
  111. package/dist/cli/serve/GitHistory.d.ts +1 -2
  112. package/dist/cli/serve/GitHistory.js +15 -2
  113. package/dist/cli/serve/LiveReload.js +1 -1
  114. package/dist/cli/serve/LocalAuth.js +1 -1
  115. package/dist/cli/serve/MemoryDrafts.js +1 -1
  116. package/dist/cli/serve/StartServer.js +1 -1
  117. package/dist/cli/static/init/cms.js +45 -47
  118. package/dist/cli/static/init/next-handler.js +8 -8
  119. package/dist/cli/util/CommitMessage.js +1 -1
  120. package/dist/cli/util/CommitSha.js +1 -1
  121. package/dist/cli/util/Dirname.js +1 -1
  122. package/dist/cli/util/Emitter.js +1 -1
  123. package/dist/cli/util/EnsureEnv.js +1 -1
  124. package/dist/cli/util/EnsureLibs.js +1 -1
  125. package/dist/cli/util/EnsureNode.js +1 -1
  126. package/dist/cli/util/FS.js +1 -1
  127. package/dist/cli/util/FindConfigFile.js +1 -1
  128. package/dist/cli/util/ForwardCommand.js +1 -1
  129. package/dist/cli/util/IgnorePlugin.js +1 -1
  130. package/dist/cli/util/PublicDefines.js +1 -1
  131. package/dist/cli/util/Report.js +1 -1
  132. package/dist/cli/util/ViewsPlugin.js +2 -2
  133. package/dist/cli/util/WarnPublicEnv.js +1 -1
  134. package/dist/cli/util/Watcher.js +1 -1
  135. package/dist/cloud/AuthResult.js +1 -1
  136. package/dist/cloud/CloudConfig.d.ts +1 -0
  137. package/dist/cloud/CloudConfig.js +2 -1
  138. package/dist/cloud/CloudRemote.d.ts +12 -5
  139. package/dist/cloud/CloudRemote.js +58 -10
  140. package/dist/components/Breadcrumbs.d.ts +3 -0
  141. package/dist/components/Breadcrumbs.js +42 -0
  142. package/dist/components/Button.d.ts +10 -0
  143. package/dist/components/Button.js +57 -0
  144. package/dist/components/Calendar.d.ts +3 -0
  145. package/dist/components/Calendar.js +94 -0
  146. package/dist/components/Checkbox.d.ts +9 -0
  147. package/dist/components/Checkbox.js +75 -0
  148. package/dist/components/CheckboxGroup.d.ts +6 -0
  149. package/dist/components/CheckboxGroup.js +45 -0
  150. package/dist/components/ColorSwatch.d.ts +2 -0
  151. package/dist/components/ColorSwatch.js +45 -0
  152. package/dist/components/ColorSwatchPicker.d.ts +3 -0
  153. package/dist/components/ColorSwatchPicker.js +66 -0
  154. package/dist/components/ComboBox.d.ts +13 -0
  155. package/dist/components/ComboBox.js +147 -0
  156. package/dist/components/DateField.d.ts +5 -0
  157. package/dist/components/DateField.js +61 -0
  158. package/dist/components/DatePicker.d.ts +5 -0
  159. package/dist/components/DatePicker.js +78 -0
  160. package/dist/components/DateRangePicker.d.ts +5 -0
  161. package/dist/components/DateRangePicker.js +95 -0
  162. package/dist/components/Dialog.d.ts +3 -0
  163. package/dist/components/Dialog.js +43 -0
  164. package/dist/components/Disclosure.d.ts +5 -0
  165. package/dist/components/Disclosure.js +106 -0
  166. package/dist/components/DropZone.d.ts +4 -0
  167. package/dist/components/DropZone.js +41 -0
  168. package/dist/components/FoldIcon.d.ts +6 -0
  169. package/dist/components/FoldIcon.js +31 -0
  170. package/dist/components/Icon.d.ts +7 -0
  171. package/dist/components/Icon.js +40 -0
  172. package/dist/components/Label.d.ts +48 -0
  173. package/dist/components/Label.js +210 -0
  174. package/dist/components/Link.d.ts +5 -0
  175. package/dist/components/Link.js +42 -0
  176. package/dist/components/List.d.ts +99 -0
  177. package/dist/components/List.js +397 -0
  178. package/dist/components/Menu.d.ts +16 -0
  179. package/dist/components/Menu.js +95 -0
  180. package/dist/components/Modal.d.ts +7 -0
  181. package/dist/components/Modal.js +58 -0
  182. package/dist/components/MultipleSelect.d.ts +25 -0
  183. package/dist/components/MultipleSelect.js +278 -0
  184. package/dist/components/NumberField.d.ts +6 -0
  185. package/dist/components/NumberField.js +90 -0
  186. package/dist/components/Popover.d.ts +6 -0
  187. package/dist/components/Popover.js +42 -0
  188. package/dist/components/ProgressCircle.d.ts +6 -0
  189. package/dist/components/ProgressCircle.js +96 -0
  190. package/dist/components/RadioGroup.d.ts +8 -0
  191. package/dist/components/RadioGroup.js +64 -0
  192. package/dist/components/SearchField.d.ts +8 -0
  193. package/dist/components/SearchField.js +86 -0
  194. package/dist/components/Select.d.ts +13 -0
  195. package/dist/components/Select.js +150 -0
  196. package/dist/components/Surface.d.ts +15 -0
  197. package/dist/components/Surface.js +53 -0
  198. package/dist/components/Switch.d.ts +5 -0
  199. package/dist/components/Switch.js +47 -0
  200. package/dist/components/Table.d.ts +14 -0
  201. package/dist/components/Table.js +147 -0
  202. package/dist/components/Tabs.d.ts +13 -0
  203. package/dist/components/Tabs.js +96 -0
  204. package/dist/components/TagGroup.d.ts +10 -0
  205. package/dist/components/TagGroup.js +81 -0
  206. package/dist/components/TextField.d.ts +13 -0
  207. package/dist/components/TextField.js +77 -0
  208. package/dist/components/TimeField.d.ts +5 -0
  209. package/dist/components/TimeField.js +55 -0
  210. package/dist/components/Toggle.d.ts +8 -0
  211. package/dist/components/Toggle.js +61 -0
  212. package/dist/components/Toolbar.d.ts +8 -0
  213. package/dist/components/Toolbar.js +80 -0
  214. package/dist/components/Tooltip.d.ts +7 -0
  215. package/dist/components/Tooltip.js +54 -0
  216. package/dist/components/Tree.d.ts +23 -0
  217. package/dist/components/Tree.js +130 -0
  218. package/dist/components.d.ts +38 -0
  219. package/dist/components.js +39 -0
  220. package/dist/config.js +1 -1
  221. package/dist/core/BlobTransport.d.ts +5 -0
  222. package/dist/core/BlobTransport.js +79 -0
  223. package/dist/core/CMS.js +1 -1
  224. package/dist/core/Client.d.ts +13 -8
  225. package/dist/core/Client.js +67 -20
  226. package/dist/core/Config.d.ts +2 -0
  227. package/dist/core/Config.js +1 -3
  228. package/dist/core/Connection.d.ts +30 -10
  229. package/dist/core/Document.js +10 -8
  230. package/dist/core/Draft.js +1 -1
  231. package/dist/core/Entry.d.ts +6 -0
  232. package/dist/core/Entry.js +16 -1
  233. package/dist/core/EntryFields.d.ts +4 -0
  234. package/dist/core/EntryFields.js +4 -2
  235. package/dist/core/EntryRecord.js +1 -1
  236. package/dist/core/Expr.d.ts +1 -0
  237. package/dist/core/Expr.js +1 -1
  238. package/dist/core/Field.d.ts +46 -5
  239. package/dist/core/Field.js +56 -10
  240. package/dist/core/Graph.d.ts +6 -0
  241. package/dist/core/Graph.js +1 -1
  242. package/dist/core/HttpError.js +1 -1
  243. package/dist/core/Id.js +1 -1
  244. package/dist/core/Infer.d.ts +1 -1
  245. package/dist/core/Internal.js +6 -6
  246. package/dist/core/ListRow.d.ts +10 -0
  247. package/dist/core/ListRow.js +12 -0
  248. package/dist/core/Outcome.js +1 -1
  249. package/dist/core/Page.js +2 -2
  250. package/dist/core/Picker.d.ts +0 -2
  251. package/dist/core/Picker.js +1 -1
  252. package/dist/core/Reference.js +1 -1
  253. package/dist/core/Role.d.ts +3 -0
  254. package/dist/core/Role.js +7 -1
  255. package/dist/core/Root.d.ts +4 -0
  256. package/dist/core/Root.js +7 -2
  257. package/dist/core/Schema.d.ts +0 -2
  258. package/dist/core/Schema.js +2 -16
  259. package/dist/core/Scope.js +1 -1
  260. package/dist/core/Section.js +2 -2
  261. package/dist/core/TextDoc.d.ts +4 -0
  262. package/dist/core/TextDoc.js +3 -1
  263. package/dist/core/Tracker.d.ts +1 -6
  264. package/dist/core/Tracker.js +2 -12
  265. package/dist/core/Trigger.js +1 -1
  266. package/dist/core/Type.d.ts +22 -7
  267. package/dist/core/Type.js +108 -28
  268. package/dist/core/UnionRow.d.ts +11 -0
  269. package/dist/core/UnionRow.js +11 -0
  270. package/dist/core/User.d.ts +7 -1
  271. package/dist/core/User.js +1 -1
  272. package/dist/core/View.js +1 -1
  273. package/dist/core/Workspace.d.ts +4 -1
  274. package/dist/core/Workspace.js +1 -1
  275. package/dist/core/db/CommitRequest.d.ts +2 -0
  276. package/dist/core/db/CommitRequest.js +1 -1
  277. package/dist/core/db/EntryAliases.d.ts +2 -0
  278. package/dist/core/db/EntryAliases.js +28 -0
  279. package/dist/core/db/EntryDB.d.ts +2 -2
  280. package/dist/core/db/EntryDB.js +3 -3
  281. package/dist/core/db/EntryIndex.d.ts +9 -2
  282. package/dist/core/db/EntryIndex.js +182 -39
  283. package/dist/core/db/EntryReference.d.ts +44 -0
  284. package/dist/core/db/EntryReference.js +9 -0
  285. package/dist/core/db/EntryReferenceIndex.d.ts +21 -0
  286. package/dist/core/db/EntryReferenceIndex.js +131 -0
  287. package/dist/core/db/EntryResolver.d.ts +10 -7
  288. package/dist/core/db/EntryResolver.js +90 -35
  289. package/dist/core/db/EntryTransaction.d.ts +1 -1
  290. package/dist/core/db/EntryTransaction.js +390 -57
  291. package/dist/core/db/EntryUrlConflictError.d.ts +11 -0
  292. package/dist/core/db/EntryUrlConflictError.js +16 -0
  293. package/dist/core/db/IndexEvent.d.ts +5 -2
  294. package/dist/core/db/IndexEvent.js +2 -1
  295. package/dist/core/db/LinkResolver.d.ts +1 -1
  296. package/dist/core/db/LinkResolver.js +4 -1
  297. package/dist/core/db/LocalDB.d.ts +7 -4
  298. package/dist/core/db/LocalDB.js +22 -10
  299. package/dist/core/db/Mutation.d.ts +3 -3
  300. package/dist/core/db/Operation.d.ts +8 -3
  301. package/dist/core/db/Operation.js +67 -23
  302. package/dist/core/db/TestDB.d.ts +9 -1
  303. package/dist/core/db/TestDB.js +24 -1
  304. package/dist/core/db/WriteableGraph.d.ts +15 -4
  305. package/dist/core/db/WriteableGraph.js +14 -2
  306. package/dist/core/field/CreateField.d.ts +5 -4
  307. package/dist/core/field/CreateField.js +9 -5
  308. package/dist/core/field/ListField.d.ts +13 -4
  309. package/dist/core/field/ListField.js +146 -13
  310. package/dist/core/field/RecordField.d.ts +5 -3
  311. package/dist/core/field/RecordField.js +58 -2
  312. package/dist/core/field/RichTextField.d.ts +7 -2
  313. package/dist/core/field/RichTextField.js +309 -10
  314. package/dist/core/field/ScalarField.js +9 -7
  315. package/dist/core/field/UnionField.d.ts +2 -3
  316. package/dist/core/field/UnionField.js +61 -12
  317. package/dist/core/media/CreatePreview.browser.js +5 -5
  318. package/dist/core/media/CreatePreview.js +15 -10
  319. package/dist/core/media/IsImage.js +1 -1
  320. package/dist/core/media/MediaAltField.d.ts +9 -0
  321. package/dist/core/media/MediaAltField.js +17 -0
  322. package/dist/core/media/MediaLocation.d.ts +42 -0
  323. package/dist/core/media/MediaLocation.js +54 -2
  324. package/dist/core/media/MediaRoot.d.ts +2 -2
  325. package/dist/core/media/MediaRoot.js +12 -11
  326. package/dist/core/media/MediaTypes.d.ts +21 -15
  327. package/dist/core/media/MediaTypes.js +44 -16
  328. package/dist/core/media/Summary.d.ts +8 -8
  329. package/dist/core/media/Summary.js +1 -1
  330. package/dist/core/media/UploadLimits.d.ts +1 -0
  331. package/dist/core/media/UploadLimits.js +20 -0
  332. package/dist/core/pages/Snippet.js +1 -1
  333. package/dist/core/shape/ListShape.d.ts +1 -47
  334. package/dist/core/shape/ListShape.js +1 -224
  335. package/dist/core/source/CombinedSource.d.ts +2 -2
  336. package/dist/core/source/CombinedSource.js +7 -4
  337. package/dist/core/source/FSSource.d.ts +7 -5
  338. package/dist/core/source/FSSource.js +79 -34
  339. package/dist/core/source/FilePatch.js +5 -2
  340. package/dist/core/source/GitDelta.js +1 -1
  341. package/dist/core/source/GitUtils.js +1 -1
  342. package/dist/core/source/GithubSource.d.ts +3 -2
  343. package/dist/core/source/GithubSource.js +38 -13
  344. package/dist/core/source/IndexedDBSource.d.ts +2 -2
  345. package/dist/core/source/IndexedDBSource.js +26 -12
  346. package/dist/core/source/MemorySource.d.ts +2 -2
  347. package/dist/core/source/MemorySource.js +4 -2
  348. package/dist/core/source/ShaMismatchError.js +3 -1
  349. package/dist/core/source/Source.d.ts +4 -1
  350. package/dist/core/source/Source.js +1 -1
  351. package/dist/core/source/SourceExport.js +3 -3
  352. package/dist/core/source/Tree.js +1 -1
  353. package/dist/core/source/Utils.js +2 -5
  354. package/dist/core/util/Anchors.d.ts +4 -0
  355. package/dist/core/util/Anchors.js +45 -0
  356. package/dist/core/util/ArrayBuffers.js +1 -1
  357. package/dist/core/util/Assert.js +1 -1
  358. package/dist/core/util/Async.d.ts +8 -2
  359. package/dist/core/util/Async.js +68 -1
  360. package/dist/core/util/BufferToBase64.js +1 -1
  361. package/dist/core/util/Callable.js +1 -1
  362. package/dist/core/util/Checks.js +2 -2
  363. package/dist/core/util/CodeGen.js +3 -1
  364. package/dist/core/util/ContentHash.js +1 -1
  365. package/dist/core/util/Debounce.js +1 -1
  366. package/dist/core/util/DeepMap.d.ts +14 -0
  367. package/dist/core/util/DeepMap.js +75 -0
  368. package/dist/core/util/Encoding.js +1 -1
  369. package/dist/core/util/EntryFilenames.d.ts +2 -3
  370. package/dist/core/util/EntryFilenames.js +5 -9
  371. package/dist/core/util/EntryRows.js +1 -1
  372. package/dist/core/util/FractionalIndexing.js +1 -1
  373. package/dist/core/util/GetRandomColor.js +20 -20
  374. package/dist/core/util/Identifiers.js +1 -1
  375. package/dist/core/util/JWT.js +1 -1
  376. package/dist/core/util/Lazy.js +1 -1
  377. package/dist/core/util/LazyRecord.js +1 -1
  378. package/dist/core/util/Logger.js +2 -1
  379. package/dist/core/util/Objects.d.ts +1 -0
  380. package/dist/core/util/Objects.js +5 -1
  381. package/dist/core/util/Paths.js +2 -2
  382. package/dist/core/util/RowId.js +1 -1
  383. package/dist/core/util/Slugs.js +1 -1
  384. package/dist/core/util/Timer.js +1 -1
  385. package/dist/core/util/Types.js +1 -1
  386. package/dist/core/util/Urls.js +1 -1
  387. package/dist/core.d.ts +1 -0
  388. package/dist/core.js +2 -1
  389. package/dist/dashboard/App.css +319 -0
  390. package/dist/dashboard/App.d.ts +8 -8
  391. package/dist/dashboard/App.js +188 -142
  392. package/dist/dashboard/StoryProvider.d.ts +12 -0
  393. package/dist/dashboard/StoryProvider.js +82 -0
  394. package/dist/dashboard/ViewKeys.d.ts +26 -0
  395. package/dist/dashboard/ViewKeys.js +32 -0
  396. package/dist/dashboard/app/AccessDenied.d.ts +5 -0
  397. package/dist/dashboard/app/AccessDenied.js +53 -0
  398. package/dist/dashboard/app/ActivityStatus.d.ts +10 -0
  399. package/dist/dashboard/app/ActivityStatus.js +459 -0
  400. package/dist/dashboard/app/AlineaLogo.d.ts +4 -0
  401. package/dist/dashboard/app/AlineaLogo.js +26 -0
  402. package/dist/dashboard/app/AppShell.d.ts +4 -0
  403. package/dist/dashboard/app/AppShell.js +29 -0
  404. package/dist/dashboard/app/AuthView.d.ts +8 -0
  405. package/dist/dashboard/app/AuthView.js +111 -0
  406. package/dist/dashboard/app/Badge.d.ts +8 -0
  407. package/dist/dashboard/app/Badge.js +42 -0
  408. package/dist/dashboard/app/CompactField.d.ts +14 -0
  409. package/dist/dashboard/app/CompactField.js +178 -0
  410. package/dist/dashboard/app/DashboardErrorBoundary.d.ts +2 -0
  411. package/dist/dashboard/app/DashboardErrorBoundary.js +122 -0
  412. package/dist/dashboard/app/DashboardLayout.d.ts +18 -0
  413. package/dist/dashboard/app/DashboardLayout.js +88 -0
  414. package/dist/dashboard/app/DashboardMeta.d.ts +7 -0
  415. package/dist/dashboard/app/DashboardMeta.js +28 -0
  416. package/dist/dashboard/app/EditorBackButton.d.ts +5 -0
  417. package/dist/dashboard/app/EditorBackButton.js +33 -0
  418. package/dist/dashboard/app/EntryFields.d.ts +21 -0
  419. package/dist/dashboard/app/EntryFields.js +101 -0
  420. package/dist/dashboard/app/EntryHeader.d.ts +15 -0
  421. package/dist/dashboard/app/EntryHeader.js +452 -0
  422. package/dist/dashboard/app/EntryHeaderActions.d.ts +37 -0
  423. package/dist/dashboard/app/EntryHeaderActions.js +71 -0
  424. package/dist/dashboard/app/EntryReferences.d.ts +6 -0
  425. package/dist/dashboard/app/EntryReferences.js +209 -0
  426. package/dist/dashboard/app/EntrySidebar.d.ts +25 -0
  427. package/dist/dashboard/app/EntrySidebar.js +378 -0
  428. package/dist/dashboard/app/EntrySidebarPreview.d.ts +10 -0
  429. package/dist/dashboard/app/EntrySidebarPreview.js +260 -0
  430. package/dist/dashboard/app/EntrySidebarPreview.story.d.ts +1 -0
  431. package/dist/dashboard/app/EntrySidebarToggle.d.ts +6 -0
  432. package/dist/dashboard/app/EntrySidebarToggle.js +29 -0
  433. package/dist/dashboard/app/EntryTranslationBanner.d.ts +7 -0
  434. package/dist/dashboard/app/EntryTranslationBanner.js +60 -0
  435. package/dist/dashboard/app/Explorer.d.ts +41 -0
  436. package/dist/dashboard/app/Explorer.js +812 -0
  437. package/dist/dashboard/app/ExplorerCards.d.ts +12 -0
  438. package/dist/dashboard/app/ExplorerCards.js +389 -0
  439. package/dist/dashboard/app/ExplorerFileCard.d.ts +10 -0
  440. package/dist/dashboard/app/ExplorerFileCard.js +115 -0
  441. package/dist/dashboard/app/ExplorerList.d.ts +9 -0
  442. package/dist/dashboard/app/ExplorerList.js +165 -0
  443. package/dist/dashboard/app/ExplorerModal.d.ts +16 -0
  444. package/dist/dashboard/app/ExplorerModal.js +89 -0
  445. package/dist/dashboard/app/ExplorerPickerContent.d.ts +13 -0
  446. package/dist/dashboard/app/ExplorerPickerContent.js +114 -0
  447. package/dist/dashboard/app/ExplorerTable.d.ts +14 -0
  448. package/dist/dashboard/app/ExplorerTable.js +512 -0
  449. package/dist/dashboard/app/ExternalLinkPicker.d.ts +12 -0
  450. package/dist/dashboard/app/ExternalLinkPicker.js +97 -0
  451. package/dist/dashboard/app/ImagePicker.d.ts +6 -0
  452. package/dist/dashboard/app/ImagePicker.js +145 -0
  453. package/dist/dashboard/app/LinkPicker.d.ts +9 -0
  454. package/dist/dashboard/app/LinkPicker.js +317 -0
  455. package/dist/dashboard/app/LocaleMenu.d.ts +8 -0
  456. package/dist/dashboard/app/LocaleMenu.js +110 -0
  457. package/dist/dashboard/app/LogoShape.d.ts +8 -0
  458. package/dist/dashboard/app/LogoShape.js +60 -0
  459. package/dist/dashboard/app/SidebarTree.d.ts +37 -0
  460. package/dist/dashboard/app/SidebarTree.js +433 -0
  461. package/dist/dashboard/app/StatusBadge.d.ts +6 -0
  462. package/dist/dashboard/app/StatusBadge.js +26 -0
  463. package/dist/dashboard/app/ViewToggle.d.ts +7 -0
  464. package/dist/dashboard/app/ViewToggle.js +27 -0
  465. package/dist/dashboard/app/WorkspaceMenu.d.ts +24 -0
  466. package/dist/dashboard/app/WorkspaceMenu.js +264 -0
  467. package/dist/dashboard/app/WorkspaceMenu.stories.d.ts +5 -0
  468. package/dist/dashboard/app/WorkspaceRoots.d.ts +6 -0
  469. package/dist/dashboard/app/WorkspaceRoots.js +285 -0
  470. package/dist/dashboard/app/editor/FileEditor.d.ts +6 -0
  471. package/dist/dashboard/app/editor/FileEditor.js +200 -0
  472. package/dist/dashboard/app/editor/FilePreview.d.ts +13 -0
  473. package/dist/dashboard/app/editor/FilePreview.js +196 -0
  474. package/dist/dashboard/app/editor/MediaAltField.view.d.ts +5 -0
  475. package/dist/dashboard/app/editor/MediaAltField.view.js +98 -0
  476. package/dist/dashboard/app/modals/CreateEntry.d.ts +1 -0
  477. package/dist/dashboard/app/modals/CreateEntry.js +283 -0
  478. package/dist/dashboard/app/pages/EntryPage.d.ts +11 -0
  479. package/dist/dashboard/app/pages/EntryPage.js +356 -0
  480. package/dist/dashboard/app/pages/RootPage.d.ts +9 -0
  481. package/dist/dashboard/app/pages/RootPage.js +90 -0
  482. package/dist/dashboard/app/pages/UsersPage.d.ts +7 -0
  483. package/dist/dashboard/app/pages/UsersPage.js +552 -0
  484. package/dist/dashboard/app/ui/DashboardModal.d.ts +34 -0
  485. package/dist/dashboard/app/ui/DashboardModal.js +192 -0
  486. package/dist/dashboard/app/ui/Rail.d.ts +18 -0
  487. package/dist/dashboard/app/ui/Rail.js +41 -0
  488. package/dist/dashboard/app/ui/Sidebar.d.ts +15 -0
  489. package/dist/dashboard/app/ui/Sidebar.js +55 -0
  490. package/dist/dashboard/atoms/ReactiveNode.d.ts +41 -0
  491. package/dist/dashboard/atoms/ReactiveNode.js +248 -0
  492. package/dist/dashboard/atoms/activity.d.ts +48 -0
  493. package/dist/dashboard/atoms/activity.js +189 -0
  494. package/dist/dashboard/atoms/auth.d.ts +38 -0
  495. package/dist/dashboard/atoms/auth.js +106 -0
  496. package/dist/dashboard/atoms/config.d.ts +27 -0
  497. package/dist/dashboard/atoms/config.js +49 -0
  498. package/dist/dashboard/atoms/core.d.ts +15 -0
  499. package/dist/dashboard/atoms/core.js +37 -0
  500. package/dist/dashboard/atoms/create.d.ts +13 -0
  501. package/dist/dashboard/atoms/create.js +79 -0
  502. package/dist/dashboard/atoms/dashboard.d.ts +12 -0
  503. package/dist/dashboard/atoms/dashboard.js +71 -0
  504. package/dist/dashboard/atoms/editor.d.ts +80 -0
  505. package/dist/dashboard/atoms/editor.js +132 -0
  506. package/dist/dashboard/atoms/entry.d.ts +267 -0
  507. package/dist/dashboard/atoms/entry.js +774 -0
  508. package/dist/dashboard/atoms/explorer.d.ts +257 -0
  509. package/dist/dashboard/atoms/explorer.js +677 -0
  510. package/dist/dashboard/atoms/graph.d.ts +5 -0
  511. package/dist/dashboard/atoms/graph.js +62 -0
  512. package/dist/dashboard/atoms/link.d.ts +24 -0
  513. package/dist/dashboard/atoms/link.js +82 -0
  514. package/dist/dashboard/atoms/nav.d.ts +47 -0
  515. package/dist/dashboard/atoms/nav.js +220 -0
  516. package/dist/dashboard/atoms/preview.d.ts +4 -0
  517. package/dist/dashboard/atoms/preview.js +10 -0
  518. package/dist/dashboard/atoms/root.d.ts +91 -0
  519. package/dist/dashboard/atoms/root.js +383 -0
  520. package/dist/dashboard/atoms/upload.d.ts +9 -0
  521. package/dist/dashboard/atoms/upload.js +81 -0
  522. package/dist/dashboard/atoms/user.d.ts +9 -0
  523. package/dist/dashboard/atoms/user.js +75 -0
  524. package/dist/dashboard/atoms/utils.d.ts +17 -0
  525. package/dist/dashboard/atoms/utils.js +151 -0
  526. package/dist/dashboard/boot/ActivityEvent.d.ts +44 -0
  527. package/dist/dashboard/boot/ActivityEvent.js +14 -0
  528. package/dist/dashboard/boot/Boot.js +9 -5
  529. package/dist/dashboard/boot/BootDev.js +2 -1
  530. package/dist/dashboard/boot/BootProd.js +1 -1
  531. package/dist/dashboard/boot/DashboardWorker.d.ts +7 -7
  532. package/dist/dashboard/boot/DashboardWorker.js +370 -30
  533. package/dist/dashboard/boot/LoadWorker.js +6 -3
  534. package/dist/dashboard/boot/WorkerDB.d.ts +9 -2
  535. package/dist/dashboard/boot/WorkerDB.js +20 -3
  536. package/dist/dashboard/editor/UseField.d.ts +29 -10
  537. package/dist/dashboard/editor/UseField.js +27 -59
  538. package/dist/dashboard/fixture/cms.d.ts +116 -0
  539. package/dist/dashboard/fixture/cms.js +230 -0
  540. package/dist/dashboard/hook/UseEntryEditor.d.ts +25 -6
  541. package/dist/dashboard/hook/UseEntryEditor.js +34 -12
  542. package/dist/dashboard/hook/UseGraph.d.ts +3 -0
  543. package/dist/dashboard/hook/UseGraph.js +5 -5
  544. package/dist/dashboard/hook/UseLocale.d.ts +4 -1
  545. package/dist/dashboard/hook/UseLocale.js +5 -7
  546. package/dist/dashboard/hook/UseRoot.d.ts +7 -12
  547. package/dist/dashboard/hook/UseRoot.js +8 -5
  548. package/dist/dashboard/hook/UseWorkspace.d.ts +7 -9
  549. package/dist/dashboard/hook/UseWorkspace.js +5 -7
  550. package/dist/dashboard/hooks.d.ts +157 -0
  551. package/dist/dashboard/hooks.js +229 -0
  552. package/dist/dashboard/icons.d.ts +171 -0
  553. package/dist/dashboard/icons.js +2686 -0
  554. package/dist/dashboard/plugins/alineaFixturePlugin.d.ts +2 -0
  555. package/dist/dashboard/plugins/alineaFixturePlugin.js +200 -0
  556. package/dist/dashboard.d.ts +1 -2
  557. package/dist/dashboard.js +6 -2
  558. package/dist/edit.d.ts +1 -1
  559. package/dist/edit.js +2 -4
  560. package/dist/field/check/CheckField.js +3 -3
  561. package/dist/field/check/CheckField.view.d.ts +3 -3
  562. package/dist/field/check/CheckField.view.js +37 -84
  563. package/dist/field/code/CodeField.js +2 -2
  564. package/dist/field/code/CodeField.view.d.ts +21 -3
  565. package/dist/field/code/CodeField.view.js +177 -39
  566. package/dist/field/code/SimpleCodeEditor.d.ts +50 -0
  567. package/dist/field/code/SimpleCodeEditor.js +452 -0
  568. package/dist/field/date/DateField.js +3 -3
  569. package/dist/field/date/DateField.view.d.ts +3 -3
  570. package/dist/field/date/DateField.view.js +26 -26
  571. package/dist/field/hidden/HiddenField.js +2 -2
  572. package/dist/field/hidden/HiddenField.view.js +1 -1
  573. package/dist/field/json/JsonField.js +2 -2
  574. package/dist/field/json/JsonField.view.d.ts +4 -4
  575. package/dist/field/json/JsonField.view.js +53 -76
  576. package/dist/field/link/EntryLink.d.ts +9 -8
  577. package/dist/field/link/EntryLink.js +4 -2
  578. package/dist/field/link/FileLink.d.ts +7 -7
  579. package/dist/field/link/FileLink.js +12 -6
  580. package/dist/field/link/ImageLink.d.ts +5 -3
  581. package/dist/field/link/ImageLink.js +5 -2
  582. package/dist/field/link/Link.d.ts +1 -1
  583. package/dist/field/link/Link.js +1 -1
  584. package/dist/field/link/LinkEditor.d.ts +1 -1
  585. package/dist/field/link/LinkEditor.js +1 -1
  586. package/dist/field/link/LinkField.d.ts +5 -3
  587. package/dist/field/link/LinkField.js +56 -17
  588. package/dist/field/link/LinkField.stories.d.ts +11 -1
  589. package/dist/field/link/LinkField.view.d.ts +8 -10
  590. package/dist/field/link/LinkField.view.js +1461 -363
  591. package/dist/field/link/UrlLink.d.ts +2 -2
  592. package/dist/field/link/UrlLink.js +4 -2
  593. package/dist/field/list/ListField.d.ts +3 -3
  594. package/dist/field/list/ListField.js +5 -6
  595. package/dist/field/list/ListField.stories.d.ts +2 -1
  596. package/dist/field/list/ListField.view.d.ts +15 -7
  597. package/dist/field/list/ListField.view.js +888 -377
  598. package/dist/field/localiser/LocalisedField.view.d.ts +5 -0
  599. package/dist/field/localiser/LocalisedField.view.js +63 -0
  600. package/dist/field/localiser/LocalisedFieldTabs.d.ts +8 -0
  601. package/dist/field/localiser/LocalisedFieldTabs.js +38 -0
  602. package/dist/field/localiser/Localiser.d.ts +25 -0
  603. package/dist/field/localiser/Localiser.js +140 -0
  604. package/dist/field/localiser.d.ts +1 -0
  605. package/dist/field/localiser.js +2 -0
  606. package/dist/field/metadata/MetadataAliases.d.ts +20 -0
  607. package/dist/field/metadata/MetadataAliases.js +22 -0
  608. package/dist/field/metadata/MetadataField.d.ts +31 -8
  609. package/dist/field/metadata/MetadataField.js +127 -11
  610. package/dist/field/metadata/MetadataField.view.d.ts +11 -3
  611. package/dist/field/metadata/MetadataField.view.js +130 -96
  612. package/dist/field/number/NumberField.js +3 -3
  613. package/dist/field/number/NumberField.view.d.ts +3 -3
  614. package/dist/field/number/NumberField.view.js +22 -54
  615. package/dist/field/object/ObjectField.d.ts +1 -1
  616. package/dist/field/object/ObjectField.js +11 -4
  617. package/dist/field/object/ObjectField.view.d.ts +4 -4
  618. package/dist/field/object/ObjectField.view.js +28 -19
  619. package/dist/field/path/PathField.js +3 -3
  620. package/dist/field/path/PathField.view.d.ts +3 -3
  621. package/dist/field/path/PathField.view.js +33 -133
  622. package/dist/field/path/SlugField.d.ts +16 -0
  623. package/dist/field/path/SlugField.js +52 -0
  624. package/dist/field/richtext/Extensions.d.ts +1 -28
  625. package/dist/field/richtext/Extensions.js +2 -4146
  626. package/dist/field/richtext/PickTextAnchor.d.ts +19 -0
  627. package/dist/field/richtext/PickTextAnchor.js +99 -0
  628. package/dist/field/richtext/PickTextLink.d.ts +18 -17
  629. package/dist/field/richtext/PickTextLink.js +133 -88
  630. package/dist/field/richtext/ReferenceLink.d.ts +2 -0
  631. package/dist/field/richtext/ReferenceLink.js +13 -4
  632. package/dist/field/richtext/RichTextBlock.d.ts +11 -0
  633. package/dist/field/richtext/RichTextBlock.js +143 -0
  634. package/dist/field/richtext/RichTextBlockHost.d.ts +13 -0
  635. package/dist/field/richtext/RichTextBlockHost.js +56 -0
  636. package/dist/field/richtext/RichTextBlockValue.d.ts +5 -0
  637. package/dist/field/richtext/RichTextBlockValue.js +34 -0
  638. package/dist/field/richtext/RichTextBlocks.d.ts +16 -0
  639. package/dist/field/richtext/RichTextBlocks.js +40 -0
  640. package/dist/field/richtext/RichTextDocument.d.ts +4 -0
  641. package/dist/field/richtext/RichTextDocument.js +162 -0
  642. package/dist/field/richtext/RichTextExtensions.d.ts +67 -0
  643. package/dist/field/richtext/RichTextExtensions.js +8219 -0
  644. package/dist/field/richtext/RichTextField.d.ts +10 -3
  645. package/dist/field/richtext/RichTextField.js +13 -3
  646. package/dist/field/richtext/RichTextField.story.d.ts +8 -0
  647. package/dist/field/richtext/RichTextField.view.d.ts +11 -5
  648. package/dist/field/richtext/RichTextField.view.js +385 -2447
  649. package/dist/field/richtext/RichTextInsertMenu.d.ts +9 -0
  650. package/dist/field/richtext/RichTextInsertMenu.js +1014 -0
  651. package/dist/field/richtext/RichTextState.d.ts +6 -0
  652. package/dist/field/richtext/RichTextState.js +58 -0
  653. package/dist/field/richtext/RichTextToolbar.d.ts +9 -36
  654. package/dist/field/richtext/RichTextToolbar.js +206 -178
  655. package/dist/field/richtext/Toolbar.d.ts +111 -65
  656. package/dist/field/richtext/Toolbar.js +60 -45
  657. package/dist/field/richtext/extensions/Anchor.d.ts +19 -0
  658. package/dist/field/richtext/extensions/Anchor.js +94 -0
  659. package/dist/field/richtext/extensions/Link.d.ts +3 -13
  660. package/dist/field/richtext/extensions/Link.js +15 -37
  661. package/dist/field/richtext/extensions/Small.d.ts +1 -10
  662. package/dist/field/richtext/extensions/Small.js +7 -19
  663. package/dist/field/select/SelectField.d.ts +15 -4
  664. package/dist/field/select/SelectField.js +17 -2
  665. package/dist/field/select/SelectField.view.d.ts +7 -3
  666. package/dist/field/select/SelectField.view.js +112 -155
  667. package/dist/field/tabs/Tabs.js +3 -2
  668. package/dist/field/tabs/Tabs.view.d.ts +1 -6
  669. package/dist/field/tabs/Tabs.view.js +22 -29
  670. package/dist/field/text/TextField.js +8 -3
  671. package/dist/field/text/TextField.view.d.ts +2 -2
  672. package/dist/field/text/TextField.view.js +40 -60
  673. package/dist/field/time/TimeField.js +3 -3
  674. package/dist/field/time/TimeField.view.d.ts +3 -3
  675. package/dist/field/time/TimeField.view.js +30 -30
  676. package/dist/field/view/View.js +1 -1
  677. package/dist/field/views.d.ts +2 -0
  678. package/dist/field/views.js +65 -0
  679. package/dist/field.d.ts +1 -0
  680. package/dist/field.js +3 -1
  681. package/dist/index.css +7039 -3624
  682. package/dist/index.js +1 -1
  683. package/dist/inter-latin-500-normal-JSHNAZJU.woff2 +0 -0
  684. package/dist/inter-latin-ext-500-normal-5ARINTHO.woff2 +0 -0
  685. package/dist/next.cjs +19 -9
  686. package/dist/next.edge.js +1 -1
  687. package/dist/next.js +1 -1
  688. package/dist/picker/entry/EntryPicker.d.ts +9 -4
  689. package/dist/picker/entry/EntryPicker.js +71 -19
  690. package/dist/picker/entry/EntryReference.d.ts +4 -0
  691. package/dist/picker/entry/EntryReference.js +3 -1
  692. package/dist/picker/url/UrlPicker.js +2 -12
  693. package/dist/preview/ChunkCookieValue.js +1 -1
  694. package/dist/preview/PreviewCookies.js +1 -1
  695. package/dist/preview/PreviewMessage.js +1 -1
  696. package/dist/preview/PreviewPayload.js +35 -23
  697. package/dist/preview/RegisterPreview.js +1 -1
  698. package/dist/preview/react.js +10 -3
  699. package/dist/preview/widget.js +1 -1
  700. package/dist/query.d.ts +116 -92
  701. package/dist/query.js +7 -1
  702. package/dist/types.d.ts +1 -0
  703. package/dist/ui/Link.d.ts +6 -5
  704. package/dist/ui/Link.js +37 -13
  705. package/dist/ui/RichText.d.ts +37 -11
  706. package/dist/ui/RichText.js +81 -44
  707. package/dist/ui/Stack.d.ts +11 -22
  708. package/dist/ui/Stack.js +54 -67
  709. package/dist/ui/icons/IcAlignCenter.d.ts +4 -2
  710. package/dist/ui/icons/IcAlignCenter.js +6 -12
  711. package/dist/ui/icons/IcOutlineGridView.d.ts +3 -2
  712. package/dist/ui/icons/IcOutlineGridView.js +3 -11
  713. package/dist/ui/icons/IcOutlineSettings.d.ts +3 -2
  714. package/dist/ui/icons/IcOutlineSettings.js +3 -11
  715. package/dist/ui/icons/IcRoundAccountTree.d.ts +4 -2
  716. package/dist/ui/icons/IcRoundAccountTree.js +6 -22
  717. package/dist/ui/icons/IcRoundClose.d.ts +4 -2
  718. package/dist/ui/icons/IcRoundClose.js +6 -12
  719. package/dist/ui/icons/IcRoundCode.d.ts +4 -2
  720. package/dist/ui/icons/IcRoundCode.js +6 -12
  721. package/dist/ui/icons/IcRoundDateRange.d.ts +3 -2
  722. package/dist/ui/icons/IcRoundDateRange.js +3 -11
  723. package/dist/ui/icons/IcRoundDelete.d.ts +4 -2
  724. package/dist/ui/icons/IcRoundDelete.js +6 -12
  725. package/dist/ui/icons/IcRoundEdit.d.ts +4 -2
  726. package/dist/ui/icons/IcRoundEdit.js +6 -12
  727. package/dist/ui/icons/IcRoundFormatListNumbered.d.ts +3 -2
  728. package/dist/ui/icons/IcRoundFormatListNumbered.js +3 -11
  729. package/dist/ui/icons/IcRoundLink.d.ts +4 -2
  730. package/dist/ui/icons/IcRoundLink.js +6 -12
  731. package/dist/ui/icons/IcRoundOpenInNew.d.ts +4 -2
  732. package/dist/ui/icons/IcRoundOpenInNew.js +6 -12
  733. package/dist/ui/icons/IcRoundPanorama.d.ts +4 -2
  734. package/dist/ui/icons/IcRoundPanorama.js +6 -6
  735. package/dist/ui/icons/IcRoundRefresh.d.ts +3 -2
  736. package/dist/ui/icons/IcRoundRefresh.js +3 -11
  737. package/dist/ui/icons/IcRoundSave.d.ts +4 -2
  738. package/dist/ui/icons/IcRoundSave.js +6 -22
  739. package/dist/ui/icons/IcRoundSearch.d.ts +4 -2
  740. package/dist/ui/icons/IcRoundSearch.js +6 -12
  741. package/dist/ui/icons/IcRoundShare.d.ts +4 -2
  742. package/dist/ui/icons/IcRoundShare.js +6 -12
  743. package/dist/ui/icons/IcRoundSync.d.ts +4 -2
  744. package/dist/ui/icons/IcRoundSync.js +6 -22
  745. package/dist/ui/icons/MaterialSymbolsDatabase.d.ts +4 -2
  746. package/dist/ui/icons/MaterialSymbolsDatabase.js +6 -22
  747. package/dist/ui/icons/TableInsert.d.ts +4 -2
  748. package/dist/ui/icons/TableInsert.js +6 -12
  749. package/dist/ui/util/ImageBlurUrl.js +1 -1
  750. package/dist/ui.d.ts +0 -8
  751. package/dist/ui.js +0 -8
  752. package/package.json +49 -64
  753. package/dist/backend/router/Proxy.d.ts +0 -1
  754. package/dist/backend/router/Proxy.js +0 -32
  755. package/dist/chunks/chunk-2NTSADJL.js +0 -20
  756. package/dist/chunks/chunk-2STBQ2Y4.js +0 -166
  757. package/dist/chunks/chunk-2X5P2RZV.js +0 -94
  758. package/dist/chunks/chunk-3DIW62EI.js +0 -2900
  759. package/dist/chunks/chunk-3TNMMA3W.js +0 -249
  760. package/dist/chunks/chunk-467JA2PB.js +0 -29
  761. package/dist/chunks/chunk-5LTN67OE.js +0 -51
  762. package/dist/chunks/chunk-76QF5YTJ.js +0 -107
  763. package/dist/chunks/chunk-A5O3N2GS.js +0 -63
  764. package/dist/chunks/chunk-AICQFCVN.js +0 -19
  765. package/dist/chunks/chunk-AJJSW27C.js +0 -728
  766. package/dist/chunks/chunk-C53YJRET.js +0 -112
  767. package/dist/chunks/chunk-CKT37OYJ.js +0 -9
  768. package/dist/chunks/chunk-F2HHHLEQ.js +0 -72
  769. package/dist/chunks/chunk-FKWEJTSK.js +0 -16282
  770. package/dist/chunks/chunk-G2AFWRAD.js +0 -12
  771. package/dist/chunks/chunk-HSIHEWFC.js +0 -101
  772. package/dist/chunks/chunk-I26ZIF6Q.js +0 -360
  773. package/dist/chunks/chunk-JL5K3F7X.js +0 -1116
  774. package/dist/chunks/chunk-NZLE2WMY.js +0 -35
  775. package/dist/chunks/chunk-ORDS5C6Z.js +0 -83
  776. package/dist/chunks/chunk-PNILF4WM.js +0 -251
  777. package/dist/chunks/chunk-QUIANN6B.js +0 -8001
  778. package/dist/chunks/chunk-RSX2DILK.js +0 -335
  779. package/dist/chunks/chunk-SKF4L7JN.js +0 -401
  780. package/dist/chunks/chunk-SOTBYUJY.js +0 -120
  781. package/dist/chunks/chunk-TOJF2G3X.js +0 -96
  782. package/dist/chunks/chunk-TPUTTEHF.js +0 -3002
  783. package/dist/chunks/chunk-VUACWPFC.js +0 -892
  784. package/dist/chunks/chunk-WD7H5L2L.js +0 -168
  785. package/dist/chunks/chunk-WDCPVJJC.js +0 -341
  786. package/dist/chunks/chunk-WJ67RR7S.js +0 -554
  787. package/dist/chunks/chunk-WKC37UOZ.js +0 -143
  788. package/dist/chunks/chunk-WLKPH7JA.js +0 -2786
  789. package/dist/chunks/chunk-YWCPLD22.js +0 -2343
  790. package/dist/chunks/crypto-HZTUU327.js +0 -11
  791. package/dist/cli/util/ExternalPlugin.d.ts +0 -2
  792. package/dist/cli/util/ExternalPlugin.js +0 -810
  793. package/dist/cloud/view/CloudAuth.browser.d.ts +0 -2
  794. package/dist/cloud/view/CloudAuth.browser.js +0 -111
  795. package/dist/cloud/view/CloudAuth.d.ts +0 -1
  796. package/dist/cloud/view/CloudAuth.js +0 -9
  797. package/dist/core/Doc.d.ts +0 -11
  798. package/dist/core/Doc.js +0 -44
  799. package/dist/core/Role.test.d.ts +0 -1
  800. package/dist/core/Shape.d.ts +0 -19
  801. package/dist/core/Trigger.test.d.ts +0 -1
  802. package/dist/core/Type.test.d.ts +0 -1
  803. package/dist/core/db/EntryIndex.test.d.ts +0 -1
  804. package/dist/core/db/EntryResolver.test.d.ts +0 -1
  805. package/dist/core/db/LocalDB.test.d.ts +0 -1
  806. package/dist/core/field/RichTextField.test.d.ts +0 -1
  807. package/dist/core/shape/ListShape.test.d.ts +0 -1
  808. package/dist/core/shape/RecordShape.d.ts +0 -26
  809. package/dist/core/shape/RecordShape.js +0 -102
  810. package/dist/core/shape/RecordShape.test.d.ts +0 -1
  811. package/dist/core/shape/RichTextShape.d.ts +0 -75
  812. package/dist/core/shape/RichTextShape.js +0 -435
  813. package/dist/core/shape/RichTextShape.test.d.ts +0 -1
  814. package/dist/core/shape/ScalarShape.d.ts +0 -20
  815. package/dist/core/shape/ScalarShape.js +0 -53
  816. package/dist/core/shape/ScalarShape.test.d.ts +0 -1
  817. package/dist/core/shape/UnionShape.d.ts +0 -34
  818. package/dist/core/shape/UnionShape.js +0 -141
  819. package/dist/core/shape/UnionShape.test.d.ts +0 -1
  820. package/dist/core/source/CombinedSource.test.d.ts +0 -1
  821. package/dist/core/source/FSSource.test.d.ts +0 -1
  822. package/dist/core/source/FilePatch.test.d.ts +0 -1
  823. package/dist/core/source/GitDelta.test.d.ts +0 -1
  824. package/dist/core/source/GitUtils.test.d.ts +0 -1
  825. package/dist/core/source/GithubSource.test.d.ts +0 -1
  826. package/dist/core/source/IndexedDBSource.test.d.ts +0 -1
  827. package/dist/core/source/MemorySource.test.d.ts +0 -1
  828. package/dist/core/source/SourceExport.test.d.ts +0 -1
  829. package/dist/core/source/Tree.test.d.ts +0 -1
  830. package/dist/core/source/Utils.test.d.ts +0 -1
  831. package/dist/core/util/CodeGen.test.d.ts +0 -1
  832. package/dist/core/util/EntryFilenames.test.d.ts +0 -1
  833. package/dist/core/util/JWT.test.d.ts +0 -1
  834. package/dist/core/util/Paths.test.d.ts +0 -1
  835. package/dist/core/util/Slugs.test.d.ts +0 -1
  836. package/dist/dashboard/DashboardNav.d.ts +0 -22
  837. package/dist/dashboard/DashboardNav.js +0 -44
  838. package/dist/dashboard/DashboardProvider.d.ts +0 -16
  839. package/dist/dashboard/DashboardProvider.js +0 -28
  840. package/dist/dashboard/Routes.d.ts +0 -111
  841. package/dist/dashboard/Routes.js +0 -78
  842. package/dist/dashboard/Welcome.d.ts +0 -1
  843. package/dist/dashboard/Welcome.js +0 -21
  844. package/dist/dashboard/atoms/DashboardAtoms.d.ts +0 -18
  845. package/dist/dashboard/atoms/DashboardAtoms.js +0 -86
  846. package/dist/dashboard/atoms/DbAtoms.d.ts +0 -5
  847. package/dist/dashboard/atoms/DbAtoms.js +0 -95
  848. package/dist/dashboard/atoms/Edits.d.ts +0 -31
  849. package/dist/dashboard/atoms/Edits.js +0 -93
  850. package/dist/dashboard/atoms/EntryAtoms.d.ts +0 -34
  851. package/dist/dashboard/atoms/EntryAtoms.js +0 -298
  852. package/dist/dashboard/atoms/EntryEditorAtoms.d.ts +0 -255
  853. package/dist/dashboard/atoms/EntryEditorAtoms.js +0 -629
  854. package/dist/dashboard/atoms/EntrySummaryAtoms.d.ts +0 -21
  855. package/dist/dashboard/atoms/EntrySummaryAtoms.js +0 -58
  856. package/dist/dashboard/atoms/ErrorAtoms.d.ts +0 -4
  857. package/dist/dashboard/atoms/ErrorAtoms.js +0 -18
  858. package/dist/dashboard/atoms/FormAtoms.d.ts +0 -56
  859. package/dist/dashboard/atoms/FormAtoms.js +0 -189
  860. package/dist/dashboard/atoms/LocationAtoms.d.ts +0 -25
  861. package/dist/dashboard/atoms/LocationAtoms.js +0 -104
  862. package/dist/dashboard/atoms/NavigationAtoms.d.ts +0 -38
  863. package/dist/dashboard/atoms/NavigationAtoms.js +0 -124
  864. package/dist/dashboard/atoms/PolicyAtom.d.ts +0 -6
  865. package/dist/dashboard/atoms/PolicyAtom.js +0 -29
  866. package/dist/dashboard/atoms/PreferencesAtoms.d.ts +0 -16
  867. package/dist/dashboard/atoms/PreferencesAtoms.js +0 -53
  868. package/dist/dashboard/atoms/RouterAtoms.d.ts +0 -78
  869. package/dist/dashboard/atoms/RouterAtoms.js +0 -161
  870. package/dist/dashboard/atoms/StyleAtoms.d.ts +0 -1
  871. package/dist/dashboard/atoms/StyleAtoms.js +0 -14
  872. package/dist/dashboard/atoms/YAtom.d.ts +0 -2
  873. package/dist/dashboard/atoms/YAtom.js +0 -24
  874. package/dist/dashboard/editor/DefaultViews.d.ts +0 -19
  875. package/dist/dashboard/editor/DefaultViews.js +0 -52
  876. package/dist/dashboard/editor/InputForm.d.ts +0 -26
  877. package/dist/dashboard/editor/InputForm.js +0 -53
  878. package/dist/dashboard/editor/ViewKeys.d.ts +0 -23
  879. package/dist/dashboard/editor/ViewKeys.js +0 -29
  880. package/dist/dashboard/hook/UseConfig.d.ts +0 -1
  881. package/dist/dashboard/hook/UseConfig.js +0 -12
  882. package/dist/dashboard/hook/UseDashboard.d.ts +0 -1
  883. package/dist/dashboard/hook/UseDashboard.js +0 -12
  884. package/dist/dashboard/hook/UseDb.d.ts +0 -2
  885. package/dist/dashboard/hook/UseDb.js +0 -14
  886. package/dist/dashboard/hook/UseDebounce.d.ts +0 -1
  887. package/dist/dashboard/hook/UseDebounce.js +0 -23
  888. package/dist/dashboard/hook/UseEntryLocation.d.ts +0 -1
  889. package/dist/dashboard/hook/UseEntryLocation.js +0 -12
  890. package/dist/dashboard/hook/UseEntrySummary.d.ts +0 -1
  891. package/dist/dashboard/hook/UseEntrySummary.js +0 -16
  892. package/dist/dashboard/hook/UseExplorer.d.ts +0 -14
  893. package/dist/dashboard/hook/UseExplorer.js +0 -13
  894. package/dist/dashboard/hook/UseFocusList.d.ts +0 -14
  895. package/dist/dashboard/hook/UseFocusList.js +0 -113
  896. package/dist/dashboard/hook/UseNav.d.ts +0 -10
  897. package/dist/dashboard/hook/UseNav.js +0 -12
  898. package/dist/dashboard/hook/UsePolicy.d.ts +0 -1
  899. package/dist/dashboard/hook/UsePolicy.js +0 -14
  900. package/dist/dashboard/hook/UsePreferences.d.ts +0 -6
  901. package/dist/dashboard/hook/UsePreferences.js +0 -30
  902. package/dist/dashboard/hook/UseSession.d.ts +0 -1
  903. package/dist/dashboard/hook/UseSession.js +0 -12
  904. package/dist/dashboard/hook/UseUploads.d.ts +0 -42
  905. package/dist/dashboard/hook/UseUploads.js +0 -91
  906. package/dist/dashboard/pages/ContentView.d.ts +0 -5
  907. package/dist/dashboard/pages/ContentView.js +0 -96
  908. package/dist/dashboard/util/Atoms.d.ts +0 -2
  909. package/dist/dashboard/util/Atoms.js +0 -21
  910. package/dist/dashboard/util/DebounceAtom.d.ts +0 -2
  911. package/dist/dashboard/util/DebounceAtom.js +0 -26
  912. package/dist/dashboard/util/HashRouter.d.ts +0 -1
  913. package/dist/dashboard/util/HashRouter.js +0 -2
  914. package/dist/dashboard/util/Head.d.ts +0 -2
  915. package/dist/dashboard/util/Head.js +0 -10
  916. package/dist/dashboard/util/KeepInView.d.ts +0 -2
  917. package/dist/dashboard/util/KeepInView.js +0 -19
  918. package/dist/dashboard/util/KeepPreviousData.d.ts +0 -9
  919. package/dist/dashboard/util/KeepPreviousData.js +0 -32
  920. package/dist/dashboard/util/Loader.d.ts +0 -17
  921. package/dist/dashboard/util/Loader.js +0 -31
  922. package/dist/dashboard/util/SuspenseBoundary.d.ts +0 -4
  923. package/dist/dashboard/util/SuspenseBoundary.js +0 -23
  924. package/dist/dashboard/util/WithResolvers.d.ts +0 -2
  925. package/dist/dashboard/util/WithResolvers.js +0 -16
  926. package/dist/dashboard/view/AlineaLogo.d.ts +0 -2
  927. package/dist/dashboard/view/AlineaLogo.js +0 -16
  928. package/dist/dashboard/view/Breadcrumbs.d.ts +0 -3
  929. package/dist/dashboard/view/Breadcrumbs.js +0 -33
  930. package/dist/dashboard/view/Create.d.ts +0 -13
  931. package/dist/dashboard/view/Create.js +0 -75
  932. package/dist/dashboard/view/EntryEdit.d.ts +0 -5
  933. package/dist/dashboard/view/EntryEdit.js +0 -222
  934. package/dist/dashboard/view/EntryTree.d.ts +0 -5
  935. package/dist/dashboard/view/EntryTree.js +0 -1463
  936. package/dist/dashboard/view/ErrorBoundary.d.ts +0 -6
  937. package/dist/dashboard/view/ErrorBoundary.js +0 -95
  938. package/dist/dashboard/view/IconButton.d.ts +0 -18
  939. package/dist/dashboard/view/IconButton.js +0 -51
  940. package/dist/dashboard/view/InputLabel.d.ts +0 -36
  941. package/dist/dashboard/view/InputLabel.js +0 -151
  942. package/dist/dashboard/view/MediaExplorer.d.ts +0 -7
  943. package/dist/dashboard/view/MediaExplorer.js +0 -121
  944. package/dist/dashboard/view/Modal.d.ts +0 -8
  945. package/dist/dashboard/view/Modal.js +0 -63
  946. package/dist/dashboard/view/PageHeader.d.ts +0 -5
  947. package/dist/dashboard/view/PageHeader.js +0 -26
  948. package/dist/dashboard/view/Preview.d.ts +0 -3
  949. package/dist/dashboard/view/Preview.js +0 -20
  950. package/dist/dashboard/view/RootOverview.d.ts +0 -5
  951. package/dist/dashboard/view/RootOverview.js +0 -46
  952. package/dist/dashboard/view/SearchBox.d.ts +0 -1
  953. package/dist/dashboard/view/SearchBox.js +0 -126
  954. package/dist/dashboard/view/Sidebar.d.ts +0 -21
  955. package/dist/dashboard/view/Sidebar.js +0 -312
  956. package/dist/dashboard/view/Toolbar.d.ts +0 -9
  957. package/dist/dashboard/view/Toolbar.js +0 -240
  958. package/dist/dashboard/view/Viewport.d.ts +0 -8
  959. package/dist/dashboard/view/Viewport.js +0 -69
  960. package/dist/dashboard/view/WorkspaceLabel.d.ts +0 -7
  961. package/dist/dashboard/view/WorkspaceLabel.js +0 -32
  962. package/dist/dashboard/view/diff/ChangeBox.d.ts +0 -14
  963. package/dist/dashboard/view/diff/ChangeBox.js +0 -36
  964. package/dist/dashboard/view/diff/DiffUtils.d.ts +0 -16
  965. package/dist/dashboard/view/diff/DiffUtils.js +0 -82
  966. package/dist/dashboard/view/diff/DiffUtils.test.d.ts +0 -1
  967. package/dist/dashboard/view/diff/EntryDiff.d.ts +0 -6
  968. package/dist/dashboard/view/diff/EntryDiff.js +0 -45
  969. package/dist/dashboard/view/diff/FieldDiff.d.ts +0 -10
  970. package/dist/dashboard/view/diff/FieldDiff.js +0 -51
  971. package/dist/dashboard/view/diff/FieldsDiff.d.ts +0 -7
  972. package/dist/dashboard/view/diff/FieldsDiff.js +0 -24
  973. package/dist/dashboard/view/diff/ListDiff.d.ts +0 -10
  974. package/dist/dashboard/view/diff/ListDiff.js +0 -32
  975. package/dist/dashboard/view/diff/RichTextDiff.d.ts +0 -11
  976. package/dist/dashboard/view/diff/RichTextDiff.js +0 -94
  977. package/dist/dashboard/view/diff/ScalarDiff.d.ts +0 -5
  978. package/dist/dashboard/view/diff/ScalarDiff.js +0 -1520
  979. package/dist/dashboard/view/entry/EditModeToggle.d.ts +0 -9
  980. package/dist/dashboard/view/entry/EditModeToggle.js +0 -51
  981. package/dist/dashboard/view/entry/EntryHeader.d.ts +0 -5
  982. package/dist/dashboard/view/entry/EntryHeader.js +0 -414
  983. package/dist/dashboard/view/entry/EntryHistory.d.ts +0 -2
  984. package/dist/dashboard/view/entry/EntryHistory.js +0 -78
  985. package/dist/dashboard/view/entry/EntryNotice.d.ts +0 -7
  986. package/dist/dashboard/view/entry/EntryNotice.js +0 -44
  987. package/dist/dashboard/view/entry/EntryPreview.d.ts +0 -10
  988. package/dist/dashboard/view/entry/EntryPreview.js +0 -44
  989. package/dist/dashboard/view/entry/EntrySummary.d.ts +0 -3
  990. package/dist/dashboard/view/entry/EntrySummary.js +0 -75
  991. package/dist/dashboard/view/entry/EntryTitle.d.ts +0 -7
  992. package/dist/dashboard/view/entry/EntryTitle.js +0 -64
  993. package/dist/dashboard/view/entry/FieldToolbar.d.ts +0 -11
  994. package/dist/dashboard/view/entry/FieldToolbar.js +0 -41
  995. package/dist/dashboard/view/entry/LangSwitch.d.ts +0 -7
  996. package/dist/dashboard/view/entry/LangSwitch.js +0 -110
  997. package/dist/dashboard/view/entry/NewEntry.d.ts +0 -4
  998. package/dist/dashboard/view/entry/NewEntry.js +0 -288
  999. package/dist/dashboard/view/entry/RootHeader.d.ts +0 -4
  1000. package/dist/dashboard/view/entry/RootHeader.js +0 -61
  1001. package/dist/dashboard/view/explorer/Explorer.d.ts +0 -24
  1002. package/dist/dashboard/view/explorer/Explorer.js +0 -2230
  1003. package/dist/dashboard/view/explorer/ExplorerItem.d.ts +0 -11
  1004. package/dist/dashboard/view/explorer/ExplorerItem.js +0 -128
  1005. package/dist/dashboard/view/explorer/ExplorerRow.d.ts +0 -15
  1006. package/dist/dashboard/view/explorer/ExplorerRow.js +0 -73
  1007. package/dist/dashboard/view/media/CardOverview.d.ts +0 -1
  1008. package/dist/dashboard/view/media/CardOverview.js +0 -10
  1009. package/dist/dashboard/view/media/FileEntry.d.ts +0 -6
  1010. package/dist/dashboard/view/media/FileEntry.js +0 -223
  1011. package/dist/dashboard/view/media/FileSummary.d.ts +0 -3
  1012. package/dist/dashboard/view/media/FileSummary.js +0 -102
  1013. package/dist/dashboard/view/media/FileUploadRow.d.ts +0 -2
  1014. package/dist/dashboard/view/media/FileUploadRow.js +0 -53
  1015. package/dist/dashboard/view/media/FileUploader.d.ts +0 -10
  1016. package/dist/dashboard/view/media/FileUploader.js +0 -151
  1017. package/dist/dashboard/view/media/MediaThumbnail.d.ts +0 -11
  1018. package/dist/dashboard/view/media/MediaThumbnail.js +0 -55
  1019. package/dist/dashboard/view/preview/BrowserPreview.d.ts +0 -12
  1020. package/dist/dashboard/view/preview/BrowserPreview.js +0 -210
  1021. package/dist/dashboard/view/sidebar/SidebarSettings.d.ts +0 -1
  1022. package/dist/dashboard/view/sidebar/SidebarSettings.js +0 -192
  1023. package/dist/field/check/CheckField.stories.d.ts +0 -5
  1024. package/dist/field/code/CodeField.stories.d.ts +0 -5
  1025. package/dist/field/date/DateField.stories.d.ts +0 -5
  1026. package/dist/field/json/JsonField.stories.d.ts +0 -5
  1027. package/dist/field/metadata/MetadataField.stories.d.ts +0 -5
  1028. package/dist/field/number/NumberField.stories.d.ts +0 -5
  1029. package/dist/field/object/ObjectField.stories.d.ts +0 -5
  1030. package/dist/field/path/PathField.stories.d.ts +0 -5
  1031. package/dist/field/richtext/RichText.stories.d.ts +0 -5
  1032. package/dist/field/select/SelectField.stories.d.ts +0 -5
  1033. package/dist/field/tabs/Tabs.stories.d.ts +0 -5
  1034. package/dist/field/text/TextField.stories.d.ts +0 -5
  1035. package/dist/field/time/TimeField.stories.d.ts +0 -5
  1036. package/dist/picker/entry/EntryPicker.browser.d.ts +0 -7
  1037. package/dist/picker/entry/EntryPicker.browser.js +0 -373
  1038. package/dist/picker/entry/EntryPicker.stories.d.ts +0 -2
  1039. package/dist/picker/entry/EntryPickerRow.d.ts +0 -5
  1040. package/dist/picker/entry/EntryPickerRow.js +0 -24
  1041. package/dist/picker/url/UrlPicker.browser.d.ts +0 -6
  1042. package/dist/picker/url/UrlPicker.browser.js +0 -83
  1043. package/dist/picker/url/UrlPicker.stories.d.ts +0 -5
  1044. package/dist/picker/url/UrlPickerRow.d.ts +0 -5
  1045. package/dist/picker/url/UrlPickerRow.js +0 -38
  1046. package/dist/preview/ChunkCookieValue.test.d.ts +0 -1
  1047. package/dist/preview/PreviewPayload.test.d.ts +0 -1
  1048. package/dist/test/EntryFixture.d.ts +0 -30
  1049. package/dist/test/EntryFixture.js +0 -91
  1050. package/dist/test/broken-index.test.d.ts +0 -1
  1051. package/dist/test/cms.d.ts +0 -17
  1052. package/dist/test/cms.js +0 -38
  1053. package/dist/test/drafts.test.d.ts +0 -1
  1054. package/dist/test/example.d.ts +0 -137
  1055. package/dist/test/example.js +0 -230
  1056. package/dist/test/insert-order.test.d.ts +0 -1
  1057. package/dist/test/links.test.d.ts +0 -1
  1058. package/dist/test/locales.test.d.ts +0 -1
  1059. package/dist/test/moves.test.d.ts +0 -1
  1060. package/dist/test/mutate.test.d.ts +0 -1
  1061. package/dist/test/query.test.d.ts +0 -1
  1062. package/dist/test/renames.test.d.ts +0 -1
  1063. package/dist/test/roles.test.d.ts +0 -1
  1064. package/dist/test/schema/DemoHome.d.ts +0 -25
  1065. package/dist/test/schema/DemoHome.js +0 -25
  1066. package/dist/test/schema/DemoRecipe.d.ts +0 -14
  1067. package/dist/test/schema/DemoRecipe.js +0 -22
  1068. package/dist/test/schema/DemoRecipes.d.ts +0 -4
  1069. package/dist/test/schema/DemoRecipes.js +0 -14
  1070. package/dist/test/schema/index.d.ts +0 -3
  1071. package/dist/test/schema/index.js +0 -4
  1072. package/dist/test/seeding.test.d.ts +0 -1
  1073. package/dist/test/shared.test.d.ts +0 -1
  1074. package/dist/test/status.test.d.ts +0 -1
  1075. package/dist/test/uploads.test.d.ts +0 -1
  1076. package/dist/ui/AppBar.d.ts +0 -14
  1077. package/dist/ui/AppBar.js +0 -68
  1078. package/dist/ui/Avatar.d.ts +0 -6
  1079. package/dist/ui/Avatar.js +0 -33
  1080. package/dist/ui/Badge.d.ts +0 -9
  1081. package/dist/ui/Badge.js +0 -44
  1082. package/dist/ui/Button.d.ts +0 -9
  1083. package/dist/ui/Button.js +0 -57
  1084. package/dist/ui/Button.stories.d.ts +0 -6
  1085. package/dist/ui/Chip.d.ts +0 -8
  1086. package/dist/ui/Chip.js +0 -46
  1087. package/dist/ui/DropdownMenu.d.ts +0 -12
  1088. package/dist/ui/DropdownMenu.js +0 -415
  1089. package/dist/ui/Ellipsis.d.ts +0 -2
  1090. package/dist/ui/Ellipsis.js +0 -33
  1091. package/dist/ui/ErrorMessage.d.ts +0 -4
  1092. package/dist/ui/ErrorMessage.js +0 -17
  1093. package/dist/ui/Icon.d.ts +0 -9
  1094. package/dist/ui/Icon.js +0 -41
  1095. package/dist/ui/Lift.d.ts +0 -3
  1096. package/dist/ui/Lift.js +0 -22
  1097. package/dist/ui/Loader.d.ts +0 -8
  1098. package/dist/ui/Loader.js +0 -32
  1099. package/dist/ui/Main.d.ts +0 -12
  1100. package/dist/ui/Main.js +0 -56
  1101. package/dist/ui/Pane.d.ts +0 -9
  1102. package/dist/ui/Pane.js +0 -132
  1103. package/dist/ui/PopoverMenu.d.ts +0 -12
  1104. package/dist/ui/PopoverMenu.js +0 -418
  1105. package/dist/ui/Property.d.ts +0 -1
  1106. package/dist/ui/Property.js +0 -7
  1107. package/dist/ui/Sink.d.ts +0 -9
  1108. package/dist/ui/Sink.js +0 -49
  1109. package/dist/ui/Statusbar.d.ts +0 -15
  1110. package/dist/ui/Statusbar.js +0 -54
  1111. package/dist/ui/Tabs.d.ts +0 -11
  1112. package/dist/ui/Tabs.js +0 -293
  1113. package/dist/ui/TextLabel.d.ts +0 -5
  1114. package/dist/ui/TextLabel.js +0 -10
  1115. package/dist/ui/Typo.d.ts +0 -35
  1116. package/dist/ui/Typo.js +0 -28
  1117. package/dist/ui/UIStory.d.ts +0 -8
  1118. package/dist/ui/branding/FavIcon.d.ts +0 -5
  1119. package/dist/ui/branding/FavIcon.js +0 -56
  1120. package/dist/ui/branding/LogoShape.d.ts +0 -6
  1121. package/dist/ui/branding/LogoShape.js +0 -52
  1122. package/dist/ui/hook/UseAutoHide.d.ts +0 -8
  1123. package/dist/ui/hook/UseAutoHide.js +0 -43
  1124. package/dist/ui/hook/UseColorScheme.d.ts +0 -4
  1125. package/dist/ui/hook/UseColorScheme.js +0 -13
  1126. package/dist/ui/hook/UseContrastColor.d.ts +0 -1
  1127. package/dist/ui/hook/UseContrastColor.js +0 -12
  1128. package/dist/ui/hook/UseElementSize.d.ts +0 -6
  1129. package/dist/ui/hook/UseElementSize.js +0 -52
  1130. package/dist/ui/hook/UseForceUpdate.d.ts +0 -1
  1131. package/dist/ui/hook/UseForceUpdate.js +0 -11
  1132. package/dist/ui/hook/UseHash.d.ts +0 -1
  1133. package/dist/ui/hook/UseHash.js +0 -24
  1134. package/dist/ui/hook/UseInitialEffect.d.ts +0 -2
  1135. package/dist/ui/hook/UseInitialEffect.js +0 -15
  1136. package/dist/ui/hook/UseLocalStorage.d.ts +0 -1
  1137. package/dist/ui/hook/UseLocalStorage.js +0 -36
  1138. package/dist/ui/hook/UseNonInitialEffect.d.ts +0 -2
  1139. package/dist/ui/hook/UseNonInitialEffect.js +0 -17
  1140. package/dist/ui/hook/UseTrigger.d.ts +0 -7
  1141. package/dist/ui/hook/UseTrigger.js +0 -29
  1142. package/dist/ui/icons/IcAlignJustify.d.ts +0 -3
  1143. package/dist/ui/icons/IcAlignJustify.js +0 -18
  1144. package/dist/ui/icons/IcAlignLeft.d.ts +0 -2
  1145. package/dist/ui/icons/IcAlignLeft.js +0 -16
  1146. package/dist/ui/icons/IcAlignRight.d.ts +0 -2
  1147. package/dist/ui/icons/IcAlignRight.js +0 -16
  1148. package/dist/ui/icons/IcBaselineAccountCircle.d.ts +0 -2
  1149. package/dist/ui/icons/IcBaselineAccountCircle.js +0 -26
  1150. package/dist/ui/icons/IcBaselineContentCopy.d.ts +0 -2
  1151. package/dist/ui/icons/IcBaselineContentCopy.js +0 -26
  1152. package/dist/ui/icons/IcBaselineContentPasteGo.d.ts +0 -2
  1153. package/dist/ui/icons/IcBaselineContentPasteGo.js +0 -35
  1154. package/dist/ui/icons/IcBaselineDesktopMac.d.ts +0 -2
  1155. package/dist/ui/icons/IcBaselineDesktopMac.js +0 -16
  1156. package/dist/ui/icons/IcBaselineErrorOutline.d.ts +0 -2
  1157. package/dist/ui/icons/IcBaselineErrorOutline.js +0 -26
  1158. package/dist/ui/icons/IcBaselinePause.d.ts +0 -2
  1159. package/dist/ui/icons/IcBaselinePause.js +0 -20
  1160. package/dist/ui/icons/IcBaselinePhoneIphone.d.ts +0 -2
  1161. package/dist/ui/icons/IcBaselinePhoneIphone.js +0 -16
  1162. package/dist/ui/icons/IcBaselineWifiTethering.d.ts +0 -2
  1163. package/dist/ui/icons/IcBaselineWifiTethering.js +0 -26
  1164. package/dist/ui/icons/IcOutlineArchive.d.ts +0 -2
  1165. package/dist/ui/icons/IcOutlineArchive.js +0 -26
  1166. package/dist/ui/icons/IcOutlineArrowCircleRight.d.ts +0 -2
  1167. package/dist/ui/icons/IcOutlineArrowCircleRight.js +0 -16
  1168. package/dist/ui/icons/IcOutlineAvTimer.d.ts +0 -2
  1169. package/dist/ui/icons/IcOutlineAvTimer.js +0 -26
  1170. package/dist/ui/icons/IcOutlineCloudUpload.d.ts +0 -2
  1171. package/dist/ui/icons/IcOutlineCloudUpload.js +0 -26
  1172. package/dist/ui/icons/IcOutlineDarkMode.d.ts +0 -2
  1173. package/dist/ui/icons/IcOutlineDarkMode.js +0 -16
  1174. package/dist/ui/icons/IcOutlineDescription.d.ts +0 -2
  1175. package/dist/ui/icons/IcOutlineDescription.js +0 -26
  1176. package/dist/ui/icons/IcOutlineDrafts.d.ts +0 -2
  1177. package/dist/ui/icons/IcOutlineDrafts.js +0 -26
  1178. package/dist/ui/icons/IcOutlineFolder.d.ts +0 -2
  1179. package/dist/ui/icons/IcOutlineFolder.js +0 -26
  1180. package/dist/ui/icons/IcOutlineInsertDriveFile.d.ts +0 -2
  1181. package/dist/ui/icons/IcOutlineInsertDriveFile.js +0 -26
  1182. package/dist/ui/icons/IcOutlineKeyboardTab.d.ts +0 -2
  1183. package/dist/ui/icons/IcOutlineKeyboardTab.js +0 -26
  1184. package/dist/ui/icons/IcOutlineLightMode.d.ts +0 -2
  1185. package/dist/ui/icons/IcOutlineLightMode.js +0 -16
  1186. package/dist/ui/icons/IcOutlineList.d.ts +0 -3
  1187. package/dist/ui/icons/IcOutlineList.js +0 -18
  1188. package/dist/ui/icons/IcOutlineLock.d.ts +0 -2
  1189. package/dist/ui/icons/IcOutlineLock.js +0 -26
  1190. package/dist/ui/icons/IcOutlineMoreHoriz.d.ts +0 -3
  1191. package/dist/ui/icons/IcOutlineMoreHoriz.js +0 -18
  1192. package/dist/ui/icons/IcOutlinePreview.d.ts +0 -2
  1193. package/dist/ui/icons/IcOutlinePreview.js +0 -16
  1194. package/dist/ui/icons/IcOutlineRemoveRedEye.d.ts +0 -2
  1195. package/dist/ui/icons/IcOutlineRemoveRedEye.js +0 -26
  1196. package/dist/ui/icons/IcOutlineScreenshot.d.ts +0 -2
  1197. package/dist/ui/icons/IcOutlineScreenshot.js +0 -16
  1198. package/dist/ui/icons/IcOutlineTableRows.d.ts +0 -2
  1199. package/dist/ui/icons/IcOutlineTableRows.js +0 -26
  1200. package/dist/ui/icons/IcRoundAdd.d.ts +0 -2
  1201. package/dist/ui/icons/IcRoundAdd.js +0 -16
  1202. package/dist/ui/icons/IcRoundAddCircle.d.ts +0 -3
  1203. package/dist/ui/icons/IcRoundAddCircle.js +0 -18
  1204. package/dist/ui/icons/IcRoundAddCircleOutline.d.ts +0 -2
  1205. package/dist/ui/icons/IcRoundAddCircleOutline.js +0 -16
  1206. package/dist/ui/icons/IcRoundArchive.d.ts +0 -2
  1207. package/dist/ui/icons/IcRoundArchive.js +0 -16
  1208. package/dist/ui/icons/IcRoundArrowBack.d.ts +0 -2
  1209. package/dist/ui/icons/IcRoundArrowBack.js +0 -16
  1210. package/dist/ui/icons/IcRoundArrowDownward.d.ts +0 -2
  1211. package/dist/ui/icons/IcRoundArrowDownward.js +0 -26
  1212. package/dist/ui/icons/IcRoundArrowDropDown.d.ts +0 -3
  1213. package/dist/ui/icons/IcRoundArrowDropDown.js +0 -18
  1214. package/dist/ui/icons/IcRoundArrowDropDownCircle.d.ts +0 -3
  1215. package/dist/ui/icons/IcRoundArrowDropDownCircle.js +0 -18
  1216. package/dist/ui/icons/IcRoundArrowDropUp.d.ts +0 -3
  1217. package/dist/ui/icons/IcRoundArrowDropUp.js +0 -18
  1218. package/dist/ui/icons/IcRoundArrowForward.d.ts +0 -2
  1219. package/dist/ui/icons/IcRoundArrowForward.js +0 -16
  1220. package/dist/ui/icons/IcRoundArrowUpward.d.ts +0 -2
  1221. package/dist/ui/icons/IcRoundArrowUpward.js +0 -26
  1222. package/dist/ui/icons/IcRoundAttachFile.d.ts +0 -2
  1223. package/dist/ui/icons/IcRoundAttachFile.js +0 -10
  1224. package/dist/ui/icons/IcRoundCheck.d.ts +0 -2
  1225. package/dist/ui/icons/IcRoundCheck.js +0 -16
  1226. package/dist/ui/icons/IcRoundCheckBox.d.ts +0 -2
  1227. package/dist/ui/icons/IcRoundCheckBox.js +0 -16
  1228. package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.d.ts +0 -2
  1229. package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.js +0 -16
  1230. package/dist/ui/icons/IcRoundChevronRight.d.ts +0 -2
  1231. package/dist/ui/icons/IcRoundChevronRight.js +0 -26
  1232. package/dist/ui/icons/IcRoundDescription.d.ts +0 -2
  1233. package/dist/ui/icons/IcRoundDescription.js +0 -26
  1234. package/dist/ui/icons/IcRoundDragHandle.d.ts +0 -3
  1235. package/dist/ui/icons/IcRoundDragHandle.js +0 -18
  1236. package/dist/ui/icons/IcRoundExitToApp.d.ts +0 -2
  1237. package/dist/ui/icons/IcRoundExitToApp.js +0 -26
  1238. package/dist/ui/icons/IcRoundFeed.d.ts +0 -2
  1239. package/dist/ui/icons/IcRoundFeed.js +0 -16
  1240. package/dist/ui/icons/IcRoundFormatBold.d.ts +0 -3
  1241. package/dist/ui/icons/IcRoundFormatBold.js +0 -18
  1242. package/dist/ui/icons/IcRoundFormatClear.d.ts +0 -3
  1243. package/dist/ui/icons/IcRoundFormatClear.js +0 -18
  1244. package/dist/ui/icons/IcRoundFormatItalic.d.ts +0 -3
  1245. package/dist/ui/icons/IcRoundFormatItalic.js +0 -18
  1246. package/dist/ui/icons/IcRoundFormatListBulleted.d.ts +0 -3
  1247. package/dist/ui/icons/IcRoundFormatListBulleted.js +0 -18
  1248. package/dist/ui/icons/IcRoundFormatPaint.d.ts +0 -2
  1249. package/dist/ui/icons/IcRoundFormatPaint.js +0 -10
  1250. package/dist/ui/icons/IcRoundHamburger.d.ts +0 -3
  1251. package/dist/ui/icons/IcRoundHamburger.js +0 -18
  1252. package/dist/ui/icons/IcRoundHdrStrong.d.ts +0 -3
  1253. package/dist/ui/icons/IcRoundHdrStrong.js +0 -18
  1254. package/dist/ui/icons/IcRoundHorizontalRule.d.ts +0 -3
  1255. package/dist/ui/icons/IcRoundHorizontalRule.js +0 -19
  1256. package/dist/ui/icons/IcRoundInsertDriveFile.d.ts +0 -2
  1257. package/dist/ui/icons/IcRoundInsertDriveFile.js +0 -16
  1258. package/dist/ui/icons/IcRoundKeyboardArrowDown.d.ts +0 -2
  1259. package/dist/ui/icons/IcRoundKeyboardArrowDown.js +0 -16
  1260. package/dist/ui/icons/IcRoundKeyboardArrowLeft.d.ts +0 -3
  1261. package/dist/ui/icons/IcRoundKeyboardArrowLeft.js +0 -18
  1262. package/dist/ui/icons/IcRoundKeyboardArrowRight.d.ts +0 -2
  1263. package/dist/ui/icons/IcRoundKeyboardArrowRight.js +0 -16
  1264. package/dist/ui/icons/IcRoundKeyboardArrowUp.d.ts +0 -2
  1265. package/dist/ui/icons/IcRoundKeyboardArrowUp.js +0 -16
  1266. package/dist/ui/icons/IcRoundLanguage.d.ts +0 -2
  1267. package/dist/ui/icons/IcRoundLanguage.js +0 -16
  1268. package/dist/ui/icons/IcRoundLastPage.d.ts +0 -2
  1269. package/dist/ui/icons/IcRoundLastPage.js +0 -26
  1270. package/dist/ui/icons/IcRoundLock.d.ts +0 -3
  1271. package/dist/ui/icons/IcRoundLock.js +0 -18
  1272. package/dist/ui/icons/IcRoundMenu.d.ts +0 -2
  1273. package/dist/ui/icons/IcRoundMenu.js +0 -16
  1274. package/dist/ui/icons/IcRoundMoreHoriz.d.ts +0 -2
  1275. package/dist/ui/icons/IcRoundMoreHoriz.js +0 -16
  1276. package/dist/ui/icons/IcRoundMoreVert.d.ts +0 -2
  1277. package/dist/ui/icons/IcRoundMoreVert.js +0 -26
  1278. package/dist/ui/icons/IcRoundNorthEast.d.ts +0 -2
  1279. package/dist/ui/icons/IcRoundNorthEast.js +0 -16
  1280. package/dist/ui/icons/IcRoundNotes.d.ts +0 -2
  1281. package/dist/ui/icons/IcRoundNotes.js +0 -16
  1282. package/dist/ui/icons/IcRoundNumbers.d.ts +0 -2
  1283. package/dist/ui/icons/IcRoundNumbers.js +0 -16
  1284. package/dist/ui/icons/IcRoundPermMedia.d.ts +0 -2
  1285. package/dist/ui/icons/IcRoundPermMedia.js +0 -25
  1286. package/dist/ui/icons/IcRoundPublish.d.ts +0 -2
  1287. package/dist/ui/icons/IcRoundPublish.js +0 -16
  1288. package/dist/ui/icons/IcRoundPublishedWithChanges.d.ts +0 -2
  1289. package/dist/ui/icons/IcRoundPublishedWithChanges.js +0 -26
  1290. package/dist/ui/icons/IcRoundQuote.d.ts +0 -2
  1291. package/dist/ui/icons/IcRoundQuote.js +0 -16
  1292. package/dist/ui/icons/IcRoundRedo.d.ts +0 -3
  1293. package/dist/ui/icons/IcRoundRedo.js +0 -18
  1294. package/dist/ui/icons/IcRoundRemoveCircleOutline.d.ts +0 -2
  1295. package/dist/ui/icons/IcRoundRemoveCircleOutline.js +0 -16
  1296. package/dist/ui/icons/IcRoundRotateLeft.d.ts +0 -2
  1297. package/dist/ui/icons/IcRoundRotateLeft.js +0 -16
  1298. package/dist/ui/icons/IcRoundSend.d.ts +0 -2
  1299. package/dist/ui/icons/IcRoundSend.js +0 -26
  1300. package/dist/ui/icons/IcRoundSouthWest.d.ts +0 -2
  1301. package/dist/ui/icons/IcRoundSouthWest.js +0 -16
  1302. package/dist/ui/icons/IcRoundSubscript.d.ts +0 -2
  1303. package/dist/ui/icons/IcRoundSubscript.js +0 -26
  1304. package/dist/ui/icons/IcRoundSuperscript.d.ts +0 -2
  1305. package/dist/ui/icons/IcRoundSuperscript.js +0 -26
  1306. package/dist/ui/icons/IcRoundTabletMac.d.ts +0 -2
  1307. package/dist/ui/icons/IcRoundTabletMac.js +0 -16
  1308. package/dist/ui/icons/IcRoundTextFields.d.ts +0 -2
  1309. package/dist/ui/icons/IcRoundTextFields.js +0 -16
  1310. package/dist/ui/icons/IcRoundTranslate.d.ts +0 -2
  1311. package/dist/ui/icons/IcRoundTranslate.js +0 -26
  1312. package/dist/ui/icons/IcRoundUndo.d.ts +0 -3
  1313. package/dist/ui/icons/IcRoundUndo.js +0 -18
  1314. package/dist/ui/icons/IcRoundUnfoldLess.d.ts +0 -2
  1315. package/dist/ui/icons/IcRoundUnfoldLess.js +0 -26
  1316. package/dist/ui/icons/IcRoundUnfoldMore.d.ts +0 -2
  1317. package/dist/ui/icons/IcRoundUnfoldMore.js +0 -16
  1318. package/dist/ui/icons/IcRoundUploadFile.d.ts +0 -3
  1319. package/dist/ui/icons/IcRoundUploadFile.js +0 -18
  1320. package/dist/ui/icons/IcRoundVisibilityOff.d.ts +0 -2
  1321. package/dist/ui/icons/IcRoundVisibilityOff.js +0 -16
  1322. package/dist/ui/icons/IcRoundWarning.d.ts +0 -2
  1323. package/dist/ui/icons/IcRoundWarning.js +0 -16
  1324. package/dist/ui/icons/IcSharpBrightnessMedium.d.ts +0 -2
  1325. package/dist/ui/icons/IcSharpBrightnessMedium.js +0 -16
  1326. package/dist/ui/icons/IcSharpVerticalAlignCenter.d.ts +0 -2
  1327. package/dist/ui/icons/IcSharpVerticalAlignCenter.js +0 -16
  1328. package/dist/ui/icons/IcTwotoneDescription.d.ts +0 -2
  1329. package/dist/ui/icons/IcTwotoneDescription.js +0 -37
  1330. package/dist/ui/icons/IcTwotoneFolder.d.ts +0 -2
  1331. package/dist/ui/icons/IcTwotoneFolder.js +0 -37
  1332. package/dist/ui/icons/IcTwotoneInsertDriveFile.d.ts +0 -2
  1333. package/dist/ui/icons/IcTwotoneInsertDriveFile.js +0 -30
  1334. package/dist/ui/icons/MdiGithub.d.ts +0 -3
  1335. package/dist/ui/icons/MdiGithub.js +0 -18
  1336. package/dist/ui/icons/MdiSourceBranch.d.ts +0 -2
  1337. package/dist/ui/icons/MdiSourceBranch.js +0 -16
  1338. package/dist/ui/icons/MdiTwitterCircle.d.ts +0 -2
  1339. package/dist/ui/icons/MdiTwitterCircle.js +0 -26
  1340. package/dist/ui/icons/MiLayers.d.ts +0 -3
  1341. package/dist/ui/icons/MiLayers.js +0 -16
  1342. package/dist/ui/icons/PhGlobe.d.ts +0 -2
  1343. package/dist/ui/icons/PhGlobe.js +0 -26
  1344. package/dist/ui/icons/RiFlashlightFill.d.ts +0 -2
  1345. package/dist/ui/icons/RiFlashlightFill.js +0 -10
  1346. package/dist/ui/icons/TableDelete.d.ts +0 -2
  1347. package/dist/ui/icons/TableDelete.js +0 -25
  1348. package/dist/ui/icons/TableDeleteColumn.d.ts +0 -2
  1349. package/dist/ui/icons/TableDeleteColumn.js +0 -16
  1350. package/dist/ui/icons/TableDeleteRow.d.ts +0 -2
  1351. package/dist/ui/icons/TableDeleteRow.js +0 -16
  1352. package/dist/ui/icons/TableHeaderCell.d.ts +0 -2
  1353. package/dist/ui/icons/TableHeaderCell.js +0 -16
  1354. package/dist/ui/icons/TableHeaderColumn.d.ts +0 -2
  1355. package/dist/ui/icons/TableHeaderColumn.js +0 -16
  1356. package/dist/ui/icons/TableHeaderRow.d.ts +0 -2
  1357. package/dist/ui/icons/TableHeaderRow.js +0 -16
  1358. package/dist/ui/icons/TableInsertColumnAfter.d.ts +0 -2
  1359. package/dist/ui/icons/TableInsertColumnAfter.js +0 -16
  1360. package/dist/ui/icons/TableInsertColumnBefore.d.ts +0 -2
  1361. package/dist/ui/icons/TableInsertColumnBefore.js +0 -16
  1362. package/dist/ui/icons/TableInsertRowAfter.d.ts +0 -2
  1363. package/dist/ui/icons/TableInsertRowAfter.js +0 -16
  1364. package/dist/ui/icons/TableInsertRowBefore.d.ts +0 -2
  1365. package/dist/ui/icons/TableInsertRowBefore.js +0 -16
  1366. package/dist/ui/icons/TableMergeCells.d.ts +0 -2
  1367. package/dist/ui/icons/TableMergeCells.js +0 -16
  1368. package/dist/ui/icons/TableSplitCell.d.ts +0 -2
  1369. package/dist/ui/icons/TableSplitCell.js +0 -16
  1370. package/dist/ui/util/ContrastColor.d.ts +0 -1
  1371. package/dist/ui/util/ContrastColor.js +0 -17
  1372. package/dist/ui/util/CreateTypo.d.ts +0 -62
  1373. package/dist/ui/util/CreateTypo.js +0 -119
  1374. package/dist/ui/util/Elevation.d.ts +0 -12
  1375. package/dist/ui/util/Elevation.js +0 -20
  1376. package/dist/ui/util/PropsWithAs.d.ts +0 -12
  1377. package/dist/ui/util/PropsWithAs.js +0 -10
  1378. package/dist/ui/util/Slots.d.ts +0 -11
  1379. package/dist/ui/util/Slots.js +0 -50
  1380. package/dist/ui/util/TextareaAutosize.d.ts +0 -2
  1381. package/dist/ui/util/TextareaAutosize.js +0 -40
  1382. package/dist/ui/util/Units.d.ts +0 -1
  1383. package/dist/ui/util/Units.js +0 -7
  1384. package/dist/ui/util/UseId.d.ts +0 -1
  1385. package/dist/ui/util/UseId.js +0 -11
  1386. package/dist/yjs.d.ts +0 -1
  1387. package/dist/yjs.js +0 -206
  1388. /package/dist/{core/Shape.js → chunks/chunk-NUFRM6SI.js} +0 -0
  1389. /package/dist/{backend/Handler.test.d.ts → dashboard/app/EntrySidebarPreview.spec.d.ts} +0 -0
  1390. /package/dist/{backend/router/Router.test.d.ts → dashboard/app/WorkspaceMenu.spec.d.ts} +0 -0
  1391. /package/dist/{cli/Init.test.d.ts → field/link/LinkField.spec.d.ts} +0 -0
  1392. /package/dist/{cli/util/CommitMessage.test.d.ts → field/list/ListField.spec.d.ts} +0 -0
  1393. /package/dist/{core/Config.test.d.ts → field/richtext/RichTextField.spec.d.ts} +0 -0
@@ -0,0 +1,1265 @@
1
+ // node_modules/@internationalized/date/dist/private/utils.mjs
2
+ function $09ec6a572d60460f$export$842a2cf37af977e1(amount, numerator) {
3
+ return amount - numerator * Math.floor(amount / numerator);
4
+ }
5
+
6
+ // node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.mjs
7
+ var $93635573935797de$var$EPOCH = 1721426;
8
+ function $93635573935797de$export$f297eb839006d339(era, year, month, day) {
9
+ year = $93635573935797de$export$c36e0ecb2d4fa69d(era, year);
10
+ let y1 = year - 1;
11
+ let monthOffset = -2;
12
+ if (month <= 2) monthOffset = 0;
13
+ else if ($93635573935797de$export$553d7fa8e3805fc0(year)) monthOffset = -1;
14
+ return $93635573935797de$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day);
15
+ }
16
+ function $93635573935797de$export$553d7fa8e3805fc0(year) {
17
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
18
+ }
19
+ function $93635573935797de$export$c36e0ecb2d4fa69d(era, year) {
20
+ return era === "BC" ? 1 - year : year;
21
+ }
22
+ function $93635573935797de$export$4475b7e617eb123c(year) {
23
+ let era = "AD";
24
+ if (year <= 0) {
25
+ era = "BC";
26
+ year = 1 - year;
27
+ }
28
+ return [
29
+ era,
30
+ year
31
+ ];
32
+ }
33
+ var $93635573935797de$var$daysInMonth = {
34
+ standard: [
35
+ 31,
36
+ 28,
37
+ 31,
38
+ 30,
39
+ 31,
40
+ 30,
41
+ 31,
42
+ 31,
43
+ 30,
44
+ 31,
45
+ 30,
46
+ 31
47
+ ],
48
+ leapyear: [
49
+ 31,
50
+ 29,
51
+ 31,
52
+ 30,
53
+ 31,
54
+ 30,
55
+ 31,
56
+ 31,
57
+ 30,
58
+ 31,
59
+ 30,
60
+ 31
61
+ ]
62
+ };
63
+ var $93635573935797de$export$80ee6245ec4f29ec = class {
64
+ fromJulianDay(jd) {
65
+ let jd0 = jd;
66
+ let depoch = jd0 - $93635573935797de$var$EPOCH;
67
+ let quadricent = Math.floor(depoch / 146097);
68
+ let dqc = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(depoch, 146097);
69
+ let cent = Math.floor(dqc / 36524);
70
+ let dcent = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dqc, 36524);
71
+ let quad = Math.floor(dcent / 1461);
72
+ let dquad = (0, $09ec6a572d60460f$export$842a2cf37af977e1)(dcent, 1461);
73
+ let yindex = Math.floor(dquad / 365);
74
+ let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0);
75
+ let [era, year] = $93635573935797de$export$4475b7e617eb123c(extendedYear);
76
+ let yearDay = jd0 - $93635573935797de$export$f297eb839006d339(era, year, 1, 1);
77
+ let leapAdj = 2;
78
+ if (jd0 < $93635573935797de$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0;
79
+ else if ($93635573935797de$export$553d7fa8e3805fc0(year)) leapAdj = 1;
80
+ let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367);
81
+ let day = jd0 - $93635573935797de$export$f297eb839006d339(era, year, month, 1) + 1;
82
+ return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(era, year, month, day);
83
+ }
84
+ toJulianDay(date) {
85
+ return $93635573935797de$export$f297eb839006d339(date.era, date.year, date.month, date.day);
86
+ }
87
+ getDaysInMonth(date) {
88
+ return $93635573935797de$var$daysInMonth[$93635573935797de$export$553d7fa8e3805fc0(date.year) ? "leapyear" : "standard"][date.month - 1];
89
+ }
90
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
91
+ getMonthsInYear(date) {
92
+ return 12;
93
+ }
94
+ getDaysInYear(date) {
95
+ return $93635573935797de$export$553d7fa8e3805fc0(date.year) ? 366 : 365;
96
+ }
97
+ getMaximumMonthsInYear() {
98
+ return 12;
99
+ }
100
+ getMaximumDaysInMonth() {
101
+ return 31;
102
+ }
103
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
104
+ getYearsInEra(date) {
105
+ return 9999;
106
+ }
107
+ getEras() {
108
+ return [
109
+ "BC",
110
+ "AD"
111
+ ];
112
+ }
113
+ isInverseEra(date) {
114
+ return date.era === "BC";
115
+ }
116
+ balanceDate(date) {
117
+ if (date.year <= 0) {
118
+ date.era = date.era === "BC" ? "AD" : "BC";
119
+ date.year = 1 - date.year;
120
+ }
121
+ }
122
+ constructor() {
123
+ this.identifier = "gregory";
124
+ }
125
+ };
126
+
127
+ // node_modules/@internationalized/date/dist/private/weekStartData.mjs
128
+ var $d2ca8165c9aa885a$export$7a5acbd77d414bd9 = {
129
+ "001": 1,
130
+ AD: 1,
131
+ AE: 6,
132
+ AF: 6,
133
+ AI: 1,
134
+ AL: 1,
135
+ AM: 1,
136
+ AN: 1,
137
+ AR: 1,
138
+ AT: 1,
139
+ AU: 1,
140
+ AX: 1,
141
+ AZ: 1,
142
+ BA: 1,
143
+ BE: 1,
144
+ BG: 1,
145
+ BH: 6,
146
+ BM: 1,
147
+ BN: 1,
148
+ BY: 1,
149
+ CH: 1,
150
+ CL: 1,
151
+ CM: 1,
152
+ CN: 1,
153
+ CR: 1,
154
+ CY: 1,
155
+ CZ: 1,
156
+ DE: 1,
157
+ DJ: 6,
158
+ DK: 1,
159
+ DZ: 6,
160
+ EC: 1,
161
+ EE: 1,
162
+ EG: 6,
163
+ ES: 1,
164
+ FI: 1,
165
+ FJ: 1,
166
+ FO: 1,
167
+ FR: 1,
168
+ GB: 1,
169
+ GE: 1,
170
+ GF: 1,
171
+ GP: 1,
172
+ GR: 1,
173
+ HR: 1,
174
+ HU: 1,
175
+ IE: 1,
176
+ IQ: 6,
177
+ IR: 6,
178
+ IS: 1,
179
+ IT: 1,
180
+ JO: 6,
181
+ KG: 1,
182
+ KW: 6,
183
+ KZ: 1,
184
+ LB: 1,
185
+ LI: 1,
186
+ LK: 1,
187
+ LT: 1,
188
+ LU: 1,
189
+ LV: 1,
190
+ LY: 6,
191
+ MC: 1,
192
+ MD: 1,
193
+ ME: 1,
194
+ MK: 1,
195
+ MN: 1,
196
+ MQ: 1,
197
+ MV: 5,
198
+ MY: 1,
199
+ NL: 1,
200
+ NO: 1,
201
+ NZ: 1,
202
+ OM: 6,
203
+ PL: 1,
204
+ QA: 6,
205
+ RE: 1,
206
+ RO: 1,
207
+ RS: 1,
208
+ RU: 1,
209
+ SD: 6,
210
+ SE: 1,
211
+ SI: 1,
212
+ SK: 1,
213
+ SM: 1,
214
+ SY: 6,
215
+ TJ: 1,
216
+ TM: 1,
217
+ TR: 1,
218
+ UA: 1,
219
+ UY: 1,
220
+ UZ: 1,
221
+ VA: 1,
222
+ VN: 1,
223
+ XK: 1
224
+ };
225
+
226
+ // node_modules/@internationalized/date/dist/private/queries.mjs
227
+ function $ad063034c8620db8$export$ea39ec197993aef0(a, b) {
228
+ b = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(b, a.calendar);
229
+ return a.era === b.era && a.year === b.year && a.month === b.month && a.day === b.day;
230
+ }
231
+ function $ad063034c8620db8$export$91b62ebf2ba703ee(a, b) {
232
+ return $ad063034c8620db8$export$dbc69fd56b53d5e(a.calendar, b.calendar) && $ad063034c8620db8$export$ea39ec197993aef0(a, b);
233
+ }
234
+ function $ad063034c8620db8$export$dbc69fd56b53d5e(a, b) {
235
+ return a.isEqual?.(b) ?? b.isEqual?.(a) ?? a.identifier === b.identifier;
236
+ }
237
+ var $ad063034c8620db8$var$DAY_MAP = {
238
+ sun: 0,
239
+ mon: 1,
240
+ tue: 2,
241
+ wed: 3,
242
+ thu: 4,
243
+ fri: 5,
244
+ sat: 6
245
+ };
246
+ function $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek) {
247
+ let julian = date.calendar.toJulianDay(date);
248
+ let weekStart = firstDayOfWeek ? $ad063034c8620db8$var$DAY_MAP[firstDayOfWeek] : $ad063034c8620db8$var$getWeekStart(locale);
249
+ let dayOfWeek = Math.ceil(julian + 1 - weekStart) % 7;
250
+ if (dayOfWeek < 0) dayOfWeek += 7;
251
+ return dayOfWeek;
252
+ }
253
+ function $ad063034c8620db8$export$461939dd4422153(timeZone) {
254
+ return (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(Date.now(), timeZone);
255
+ }
256
+ function $ad063034c8620db8$export$d0bdf45af03a6ea3(timeZone) {
257
+ return (0, $d07e34cce18680fd$export$93522d1a439f3617)($ad063034c8620db8$export$461939dd4422153(timeZone));
258
+ }
259
+ function $ad063034c8620db8$export$68781ddf31c0090f(a, b) {
260
+ return a.calendar.toJulianDay(a) - b.calendar.toJulianDay(b);
261
+ }
262
+ function $ad063034c8620db8$export$c19a80a9721b80f6(a, b) {
263
+ return $ad063034c8620db8$var$timeToMs(a) - $ad063034c8620db8$var$timeToMs(b);
264
+ }
265
+ function $ad063034c8620db8$var$timeToMs(a) {
266
+ return a.hour * 36e5 + a.minute * 6e4 + a.second * 1e3 + a.millisecond;
267
+ }
268
+ var $ad063034c8620db8$var$localTimeZone = null;
269
+ var $ad063034c8620db8$var$localTimeZoneOverride = false;
270
+ function $ad063034c8620db8$export$aa8b41735afcabd2() {
271
+ if ($ad063034c8620db8$var$localTimeZone == null) $ad063034c8620db8$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;
272
+ return $ad063034c8620db8$var$localTimeZone;
273
+ }
274
+ function $ad063034c8620db8$export$6ab69b273755230b() {
275
+ return $ad063034c8620db8$var$localTimeZoneOverride;
276
+ }
277
+ function $ad063034c8620db8$export$a5a3b454ada2268e(date) {
278
+ return date.subtract({
279
+ days: date.day - 1
280
+ });
281
+ }
282
+ function $ad063034c8620db8$export$a2258d9c4118825c(date) {
283
+ return date.add({
284
+ days: date.calendar.getDaysInMonth(date) - date.day
285
+ });
286
+ }
287
+ function $ad063034c8620db8$export$f91e89d3d0406102(date) {
288
+ return $ad063034c8620db8$export$a5a3b454ada2268e(date.subtract({
289
+ months: date.month - 1
290
+ }));
291
+ }
292
+ function $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek) {
293
+ let dayOfWeek = $ad063034c8620db8$export$2061056d06d7cdf7(date, locale, firstDayOfWeek);
294
+ return date.subtract({
295
+ days: dayOfWeek
296
+ });
297
+ }
298
+ function $ad063034c8620db8$export$ef8b6d9133084f4e(date, locale, firstDayOfWeek) {
299
+ return $ad063034c8620db8$export$42c81a444fbfb5d4(date, locale, firstDayOfWeek).add({
300
+ days: 6
301
+ });
302
+ }
303
+ var $ad063034c8620db8$var$cachedRegions = /* @__PURE__ */ new Map();
304
+ var $ad063034c8620db8$var$cachedWeekInfo = /* @__PURE__ */ new Map();
305
+ function $ad063034c8620db8$var$getRegion(locale) {
306
+ if (Intl.Locale) {
307
+ let region = $ad063034c8620db8$var$cachedRegions.get(locale);
308
+ if (!region) {
309
+ region = new Intl.Locale(locale).maximize().region;
310
+ if (region) $ad063034c8620db8$var$cachedRegions.set(locale, region);
311
+ }
312
+ return region;
313
+ }
314
+ let part = locale.split("-")[1];
315
+ return part === "u" ? void 0 : part;
316
+ }
317
+ function $ad063034c8620db8$var$getWeekStart(locale) {
318
+ let weekInfo = $ad063034c8620db8$var$cachedWeekInfo.get(locale);
319
+ if (!weekInfo) {
320
+ if (Intl.Locale) {
321
+ let localeInst = new Intl.Locale(locale);
322
+ if ("getWeekInfo" in localeInst) {
323
+ weekInfo = localeInst.getWeekInfo();
324
+ if (weekInfo) {
325
+ $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);
326
+ return weekInfo.firstDay;
327
+ }
328
+ }
329
+ }
330
+ let region = $ad063034c8620db8$var$getRegion(locale);
331
+ if (locale.includes("-fw-")) {
332
+ let day = locale.split("-fw-")[1].split("-")[0];
333
+ if (day === "mon") weekInfo = {
334
+ firstDay: 1
335
+ };
336
+ else if (day === "tue") weekInfo = {
337
+ firstDay: 2
338
+ };
339
+ else if (day === "wed") weekInfo = {
340
+ firstDay: 3
341
+ };
342
+ else if (day === "thu") weekInfo = {
343
+ firstDay: 4
344
+ };
345
+ else if (day === "fri") weekInfo = {
346
+ firstDay: 5
347
+ };
348
+ else if (day === "sat") weekInfo = {
349
+ firstDay: 6
350
+ };
351
+ else weekInfo = {
352
+ firstDay: 0
353
+ };
354
+ } else if (locale.includes("-ca-iso8601")) weekInfo = {
355
+ firstDay: 1
356
+ };
357
+ else weekInfo = {
358
+ firstDay: region ? (0, $d2ca8165c9aa885a$export$7a5acbd77d414bd9)[region] || 0 : 0
359
+ };
360
+ $ad063034c8620db8$var$cachedWeekInfo.set(locale, weekInfo);
361
+ }
362
+ return weekInfo.firstDay;
363
+ }
364
+ function $ad063034c8620db8$export$5c333a116e949cdd(a, b) {
365
+ if (a && b) return a.compare(b) <= 0 ? a : b;
366
+ return a || b;
367
+ }
368
+ function $ad063034c8620db8$export$a75f2bff57811055(a, b) {
369
+ if (a && b) return a.compare(b) >= 0 ? a : b;
370
+ return a || b;
371
+ }
372
+
373
+ // node_modules/@internationalized/date/dist/private/conversion.mjs
374
+ function $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) {
375
+ date = $d07e34cce18680fd$export$b4a036af3fc0b032(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());
376
+ let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(date.era, date.year);
377
+ return $d07e34cce18680fd$var$epochFromParts(year, date.month, date.day, date.hour, date.minute, date.second, date.millisecond);
378
+ }
379
+ function $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, millisecond) {
380
+ let date = /* @__PURE__ */ new Date();
381
+ date.setUTCHours(hour, minute, second, millisecond);
382
+ date.setUTCFullYear(year, month - 1, day);
383
+ return date.getTime();
384
+ }
385
+ function $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone) {
386
+ if (timeZone === "UTC") return 0;
387
+ if (ms > 0 && timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) return new Date(ms).getTimezoneOffset() * -6e4;
388
+ let { year, month, day, hour, minute, second } = $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone);
389
+ let utc = $d07e34cce18680fd$var$epochFromParts(year, month, day, hour, minute, second, 0);
390
+ return utc - Math.floor(ms / 1e3) * 1e3;
391
+ }
392
+ var $d07e34cce18680fd$var$formattersByTimeZone = /* @__PURE__ */ new Map();
393
+ function $d07e34cce18680fd$var$getTimeZoneParts(ms, timeZone) {
394
+ let formatter = $d07e34cce18680fd$var$formattersByTimeZone.get(timeZone);
395
+ if (!formatter) {
396
+ formatter = new Intl.DateTimeFormat("en-US", {
397
+ timeZone,
398
+ hour12: false,
399
+ era: "short",
400
+ year: "numeric",
401
+ month: "numeric",
402
+ day: "numeric",
403
+ hour: "numeric",
404
+ minute: "numeric",
405
+ second: "numeric"
406
+ });
407
+ $d07e34cce18680fd$var$formattersByTimeZone.set(timeZone, formatter);
408
+ }
409
+ let parts = formatter.formatToParts(new Date(ms));
410
+ let namedParts = {};
411
+ for (let part of parts) if (part.type !== "literal") namedParts[part.type] = part.value;
412
+ return {
413
+ // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253
414
+ year: namedParts.era === "BC" || namedParts.era === "B" ? -namedParts.year + 1 : +namedParts.year,
415
+ month: +namedParts.month,
416
+ day: +namedParts.day,
417
+ hour: namedParts.hour === "24" ? 0 : +namedParts.hour,
418
+ minute: +namedParts.minute,
419
+ second: +namedParts.second
420
+ };
421
+ }
422
+ var $d07e34cce18680fd$var$DAYMILLIS = 864e5;
423
+ function $d07e34cce18680fd$var$getValidWallTimes(date, timeZone, earlier, later) {
424
+ let found = earlier === later ? [
425
+ earlier
426
+ ] : [
427
+ earlier,
428
+ later
429
+ ];
430
+ return found.filter((absolute) => $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute));
431
+ }
432
+ function $d07e34cce18680fd$var$isValidWallTime(date, timeZone, absolute) {
433
+ let parts = $d07e34cce18680fd$var$getTimeZoneParts(absolute, timeZone);
434
+ return date.year === parts.year && date.month === parts.month && date.day === parts.day && date.hour === parts.hour && date.minute === parts.minute && date.second === parts.second;
435
+ }
436
+ function $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation = "compatible") {
437
+ let dateTime = $d07e34cce18680fd$export$b21e0b124e224484(date);
438
+ if (timeZone === "UTC") return $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);
439
+ if (timeZone === (0, $ad063034c8620db8$export$aa8b41735afcabd2)() && disambiguation === "compatible" && !(0, $ad063034c8620db8$export$6ab69b273755230b)()) {
440
+ dateTime = $d07e34cce18680fd$export$b4a036af3fc0b032(dateTime, new (0, $93635573935797de$export$80ee6245ec4f29ec)());
441
+ let date2 = /* @__PURE__ */ new Date();
442
+ let year = (0, $93635573935797de$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year);
443
+ date2.setFullYear(year, dateTime.month - 1, dateTime.day);
444
+ date2.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);
445
+ return date2.getTime();
446
+ }
447
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(dateTime);
448
+ let offsetBefore = $d07e34cce18680fd$export$59c99f3515d3493f(ms - $d07e34cce18680fd$var$DAYMILLIS, timeZone);
449
+ let offsetAfter = $d07e34cce18680fd$export$59c99f3515d3493f(ms + $d07e34cce18680fd$var$DAYMILLIS, timeZone);
450
+ let valid = $d07e34cce18680fd$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
451
+ if (valid.length === 1) return valid[0];
452
+ if (valid.length > 1) switch (disambiguation) {
453
+ // 'compatible' means 'earlier' for "fall back" transitions
454
+ case "compatible":
455
+ case "earlier":
456
+ return valid[0];
457
+ case "later":
458
+ return valid[valid.length - 1];
459
+ case "reject":
460
+ throw new RangeError("Multiple possible absolute times found");
461
+ }
462
+ switch (disambiguation) {
463
+ case "earlier":
464
+ return Math.min(ms - offsetBefore, ms - offsetAfter);
465
+ // 'compatible' means 'later' for "spring forward" transitions
466
+ case "compatible":
467
+ case "later":
468
+ return Math.max(ms - offsetBefore, ms - offsetAfter);
469
+ case "reject":
470
+ throw new RangeError("No such absolute time found");
471
+ }
472
+ }
473
+ function $d07e34cce18680fd$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = "compatible") {
474
+ return new Date($d07e34cce18680fd$export$5107c82f94518f5c(dateTime, timeZone, disambiguation));
475
+ }
476
+ function $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone) {
477
+ let offset = $d07e34cce18680fd$export$59c99f3515d3493f(ms, timeZone);
478
+ let date = new Date(ms + offset);
479
+ let year = date.getUTCFullYear();
480
+ let month = date.getUTCMonth() + 1;
481
+ let day = date.getUTCDate();
482
+ let hour = date.getUTCHours();
483
+ let minute = date.getUTCMinutes();
484
+ let second = date.getUTCSeconds();
485
+ let millisecond = date.getUTCMilliseconds();
486
+ return new (0, $2aaf608024c21ca1$export$d3b7288e7994edea)(year < 1 ? "BC" : "AD", year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second, millisecond);
487
+ }
488
+ function $d07e34cce18680fd$export$93522d1a439f3617(dateTime) {
489
+ return new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day);
490
+ }
491
+ function $d07e34cce18680fd$export$b21e0b124e224484(date, time) {
492
+ let hour = 0, minute = 0, second = 0, millisecond = 0;
493
+ if ("timeZone" in date) ({ hour, minute, second, millisecond } = date);
494
+ else if ("hour" in date && !time) return date;
495
+ if (time) ({ hour, minute, second, millisecond } = time);
496
+ return new (0, $2aaf608024c21ca1$export$ca871e8dbb80966f)(date.calendar, date.era, date.year, date.month, date.day, hour, minute, second, millisecond);
497
+ }
498
+ function $d07e34cce18680fd$export$d33f79e3ffc3dc83(dateTime) {
499
+ return new (0, $2aaf608024c21ca1$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond);
500
+ }
501
+ function $d07e34cce18680fd$export$b4a036af3fc0b032(date, calendar) {
502
+ if ((0, $ad063034c8620db8$export$dbc69fd56b53d5e)(date.calendar, calendar)) return date;
503
+ let calendarDate = calendar.fromJulianDay(date.calendar.toJulianDay(date));
504
+ let copy = date.copy();
505
+ copy.calendar = calendar;
506
+ copy.era = calendarDate.era;
507
+ copy.year = calendarDate.year;
508
+ copy.month = calendarDate.month;
509
+ copy.day = calendarDate.day;
510
+ (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(copy);
511
+ return copy;
512
+ }
513
+ function $d07e34cce18680fd$export$84c95a83c799e074(date, timeZone, disambiguation) {
514
+ if (date instanceof (0, $2aaf608024c21ca1$export$d3b7288e7994edea)) {
515
+ if (date.timeZone === timeZone) return date;
516
+ return $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone);
517
+ }
518
+ let ms = $d07e34cce18680fd$export$5107c82f94518f5c(date, timeZone, disambiguation);
519
+ return $d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone);
520
+ }
521
+ function $d07e34cce18680fd$export$83aac07b4c37b25(date) {
522
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;
523
+ return new Date(ms);
524
+ }
525
+ function $d07e34cce18680fd$export$538b00033cc11c75(date, timeZone) {
526
+ let ms = $d07e34cce18680fd$export$bd4fb2bc8bb06fb(date) - date.offset;
527
+ return $d07e34cce18680fd$export$b4a036af3fc0b032($d07e34cce18680fd$export$1b96692a1ba042ac(ms, timeZone), date.calendar);
528
+ }
529
+
530
+ // node_modules/@internationalized/date/dist/private/manipulation.mjs
531
+ var $435a2ceaa8778ed8$var$ONE_HOUR = 36e5;
532
+ function $435a2ceaa8778ed8$export$e16d8520af44a096(date, duration) {
533
+ let mutableDate = date.copy();
534
+ let days = "hour" in mutableDate ? $435a2ceaa8778ed8$var$addTimeFields(mutableDate, duration) : 0;
535
+ $435a2ceaa8778ed8$var$addYears(mutableDate, duration.years || 0);
536
+ if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);
537
+ mutableDate.month += duration.months || 0;
538
+ $435a2ceaa8778ed8$var$balanceYearMonth(mutableDate);
539
+ $435a2ceaa8778ed8$var$constrainMonthDay(mutableDate);
540
+ mutableDate.day += (duration.weeks || 0) * 7;
541
+ mutableDate.day += duration.days || 0;
542
+ mutableDate.day += days;
543
+ $435a2ceaa8778ed8$var$balanceDay(mutableDate);
544
+ if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);
545
+ if (mutableDate.year < 1) {
546
+ mutableDate.year = 1;
547
+ mutableDate.month = 1;
548
+ mutableDate.day = 1;
549
+ }
550
+ let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);
551
+ if (mutableDate.year > maxYear) {
552
+ let isInverseEra = mutableDate.calendar.isInverseEra?.(mutableDate);
553
+ mutableDate.year = maxYear;
554
+ mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);
555
+ mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);
556
+ }
557
+ if (mutableDate.month < 1) {
558
+ mutableDate.month = 1;
559
+ mutableDate.day = 1;
560
+ }
561
+ let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);
562
+ if (mutableDate.month > maxMonth) {
563
+ mutableDate.month = maxMonth;
564
+ mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);
565
+ }
566
+ mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));
567
+ return mutableDate;
568
+ }
569
+ function $435a2ceaa8778ed8$var$addYears(date, years) {
570
+ if (date.calendar.isInverseEra?.(date)) years = -years;
571
+ date.year += years;
572
+ }
573
+ function $435a2ceaa8778ed8$var$balanceYearMonth(date) {
574
+ while (date.month < 1) {
575
+ $435a2ceaa8778ed8$var$addYears(date, -1);
576
+ date.month += date.calendar.getMonthsInYear(date);
577
+ }
578
+ let monthsInYear = 0;
579
+ while (date.month > (monthsInYear = date.calendar.getMonthsInYear(date))) {
580
+ date.month -= monthsInYear;
581
+ $435a2ceaa8778ed8$var$addYears(date, 1);
582
+ }
583
+ }
584
+ function $435a2ceaa8778ed8$var$balanceDay(date) {
585
+ while (date.day < 1) {
586
+ date.month--;
587
+ $435a2ceaa8778ed8$var$balanceYearMonth(date);
588
+ date.day += date.calendar.getDaysInMonth(date);
589
+ }
590
+ while (date.day > date.calendar.getDaysInMonth(date)) {
591
+ date.day -= date.calendar.getDaysInMonth(date);
592
+ date.month++;
593
+ $435a2ceaa8778ed8$var$balanceYearMonth(date);
594
+ }
595
+ }
596
+ function $435a2ceaa8778ed8$var$constrainMonthDay(date) {
597
+ date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));
598
+ date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));
599
+ }
600
+ function $435a2ceaa8778ed8$export$c4e2ecac49351ef2(date) {
601
+ if (date.calendar.constrainDate) date.calendar.constrainDate(date);
602
+ date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));
603
+ $435a2ceaa8778ed8$var$constrainMonthDay(date);
604
+ }
605
+ function $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration) {
606
+ let inverseDuration = {};
607
+ for (let key in duration) if (typeof duration[key] === "number") inverseDuration[key] = -duration[key];
608
+ return inverseDuration;
609
+ }
610
+ function $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3(date, duration) {
611
+ return $435a2ceaa8778ed8$export$e16d8520af44a096(date, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));
612
+ }
613
+ function $435a2ceaa8778ed8$export$adaa4cf7ef1b65be(date, fields) {
614
+ let mutableDate = date.copy();
615
+ if (fields.era != null) mutableDate.era = fields.era;
616
+ if (fields.year != null) mutableDate.year = fields.year;
617
+ if (fields.month != null) mutableDate.month = fields.month;
618
+ if (fields.day != null) mutableDate.day = fields.day;
619
+ $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutableDate);
620
+ return mutableDate;
621
+ }
622
+ function $435a2ceaa8778ed8$export$e5d5e1c1822b6e56(value, fields) {
623
+ let mutableValue = value.copy();
624
+ if (fields.hour != null) mutableValue.hour = fields.hour;
625
+ if (fields.minute != null) mutableValue.minute = fields.minute;
626
+ if (fields.second != null) mutableValue.second = fields.second;
627
+ if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;
628
+ $435a2ceaa8778ed8$export$7555de1e070510cb(mutableValue);
629
+ return mutableValue;
630
+ }
631
+ function $435a2ceaa8778ed8$var$balanceTime(time) {
632
+ time.second += Math.floor(time.millisecond / 1e3);
633
+ time.millisecond = $435a2ceaa8778ed8$var$nonNegativeMod(time.millisecond, 1e3);
634
+ time.minute += Math.floor(time.second / 60);
635
+ time.second = $435a2ceaa8778ed8$var$nonNegativeMod(time.second, 60);
636
+ time.hour += Math.floor(time.minute / 60);
637
+ time.minute = $435a2ceaa8778ed8$var$nonNegativeMod(time.minute, 60);
638
+ let days = Math.floor(time.hour / 24);
639
+ time.hour = $435a2ceaa8778ed8$var$nonNegativeMod(time.hour, 24);
640
+ return days;
641
+ }
642
+ function $435a2ceaa8778ed8$export$7555de1e070510cb(time) {
643
+ time.millisecond = Math.max(0, Math.min(time.millisecond, 1e3));
644
+ time.second = Math.max(0, Math.min(time.second, 59));
645
+ time.minute = Math.max(0, Math.min(time.minute, 59));
646
+ time.hour = Math.max(0, Math.min(time.hour, 23));
647
+ }
648
+ function $435a2ceaa8778ed8$var$nonNegativeMod(a, b) {
649
+ let result = a % b;
650
+ if (result < 0) result += b;
651
+ return result;
652
+ }
653
+ function $435a2ceaa8778ed8$var$addTimeFields(time, duration) {
654
+ time.hour += duration.hours || 0;
655
+ time.minute += duration.minutes || 0;
656
+ time.second += duration.seconds || 0;
657
+ time.millisecond += duration.milliseconds || 0;
658
+ return $435a2ceaa8778ed8$var$balanceTime(time);
659
+ }
660
+ function $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, duration) {
661
+ let res = time.copy();
662
+ $435a2ceaa8778ed8$var$addTimeFields(res, duration);
663
+ return res;
664
+ }
665
+ function $435a2ceaa8778ed8$export$fe34d3a381cd7501(time, duration) {
666
+ return $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));
667
+ }
668
+ function $435a2ceaa8778ed8$export$d52ced6badfb9a4c(value, field, amount, options) {
669
+ let mutable = value.copy();
670
+ switch (field) {
671
+ case "era": {
672
+ let eras = value.calendar.getEras();
673
+ let eraIndex = eras.indexOf(value.era);
674
+ if (eraIndex < 0) throw new Error("Invalid era: " + value.era);
675
+ eraIndex = $435a2ceaa8778ed8$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options?.round);
676
+ mutable.era = eras[eraIndex];
677
+ $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);
678
+ break;
679
+ }
680
+ case "year":
681
+ if (mutable.calendar.isInverseEra?.(mutable)) amount = -amount;
682
+ mutable.year = $435a2ceaa8778ed8$var$cycleValue(value.year, amount, -Infinity, 9999, options?.round);
683
+ if (mutable.year === -Infinity) mutable.year = 1;
684
+ if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);
685
+ break;
686
+ case "month":
687
+ mutable.month = $435a2ceaa8778ed8$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options?.round);
688
+ break;
689
+ case "day":
690
+ mutable.day = $435a2ceaa8778ed8$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options?.round);
691
+ break;
692
+ default:
693
+ throw new Error("Unsupported field " + field);
694
+ }
695
+ if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);
696
+ $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);
697
+ return mutable;
698
+ }
699
+ function $435a2ceaa8778ed8$export$dd02b3e0007dfe28(value, field, amount, options) {
700
+ let mutable = value.copy();
701
+ switch (field) {
702
+ case "hour": {
703
+ let hours = value.hour;
704
+ let min = 0;
705
+ let max = 23;
706
+ if (options?.hourCycle === 12) {
707
+ let isPM = hours >= 12;
708
+ min = isPM ? 12 : 0;
709
+ max = isPM ? 23 : 11;
710
+ }
711
+ mutable.hour = $435a2ceaa8778ed8$var$cycleValue(hours, amount, min, max, options?.round);
712
+ break;
713
+ }
714
+ case "minute":
715
+ mutable.minute = $435a2ceaa8778ed8$var$cycleValue(value.minute, amount, 0, 59, options?.round);
716
+ break;
717
+ case "second":
718
+ mutable.second = $435a2ceaa8778ed8$var$cycleValue(value.second, amount, 0, 59, options?.round);
719
+ break;
720
+ case "millisecond":
721
+ mutable.millisecond = $435a2ceaa8778ed8$var$cycleValue(value.millisecond, amount, 0, 999, options?.round);
722
+ break;
723
+ default:
724
+ throw new Error("Unsupported field " + field);
725
+ }
726
+ return mutable;
727
+ }
728
+ function $435a2ceaa8778ed8$var$cycleValue(value, amount, min, max, round = false) {
729
+ if (round) {
730
+ value += Math.sign(amount);
731
+ if (value < min) value = max;
732
+ let div = Math.abs(amount);
733
+ if (amount > 0) value = Math.ceil(value / div) * div;
734
+ else value = Math.floor(value / div) * div;
735
+ if (value > max) value = min;
736
+ } else {
737
+ value += amount;
738
+ if (value < min) value = max - (min - value - 1);
739
+ else if (value > max) value = min + (value - max - 1);
740
+ }
741
+ return value;
742
+ }
743
+ function $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, duration) {
744
+ let ms;
745
+ if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {
746
+ let res2 = $435a2ceaa8778ed8$export$e16d8520af44a096((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), {
747
+ years: duration.years,
748
+ months: duration.months,
749
+ weeks: duration.weeks,
750
+ days: duration.days
751
+ });
752
+ ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res2, dateTime.timeZone);
753
+ } else
754
+ ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;
755
+ ms += duration.milliseconds || 0;
756
+ ms += (duration.seconds || 0) * 1e3;
757
+ ms += (duration.minutes || 0) * 6e4;
758
+ ms += (duration.hours || 0) * 36e5;
759
+ let res = (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone);
760
+ return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(res, dateTime.calendar);
761
+ }
762
+ function $435a2ceaa8778ed8$export$6814caac34ca03c7(dateTime, duration) {
763
+ return $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));
764
+ }
765
+ function $435a2ceaa8778ed8$export$9a297d111fc86b79(dateTime, field, amount, options) {
766
+ switch (field) {
767
+ case "hour": {
768
+ let min = 0;
769
+ let max = 23;
770
+ if (options?.hourCycle === 12) {
771
+ let isPM = dateTime.hour >= 12;
772
+ min = isPM ? 12 : 0;
773
+ max = isPM ? 23 : 11;
774
+ }
775
+ let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);
776
+ let minDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {
777
+ hour: min
778
+ }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());
779
+ let minAbsolute = [
780
+ (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, "earlier"),
781
+ (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, "later")
782
+ ].filter((ms2) => (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms2, dateTime.timeZone).day === minDate.day)[0];
783
+ let maxDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {
784
+ hour: max
785
+ }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());
786
+ let maxAbsolute = [
787
+ (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, "earlier"),
788
+ (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, "later")
789
+ ].filter((ms2) => (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms2, dateTime.timeZone).day === maxDate.day).pop();
790
+ let ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;
791
+ let hours = Math.floor(ms / $435a2ceaa8778ed8$var$ONE_HOUR);
792
+ let remainder = ms % $435a2ceaa8778ed8$var$ONE_HOUR;
793
+ ms = $435a2ceaa8778ed8$var$cycleValue(hours, amount, Math.floor(minAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), Math.floor(maxAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), options?.round) * $435a2ceaa8778ed8$var$ONE_HOUR + remainder;
794
+ return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);
795
+ }
796
+ case "minute":
797
+ case "second":
798
+ case "millisecond":
799
+ return $435a2ceaa8778ed8$export$dd02b3e0007dfe28(dateTime, field, amount, options);
800
+ case "era":
801
+ case "year":
802
+ case "month":
803
+ case "day": {
804
+ let res = $435a2ceaa8778ed8$export$d52ced6badfb9a4c((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), field, amount, options);
805
+ let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);
806
+ return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);
807
+ }
808
+ default:
809
+ throw new Error("Unsupported field " + field);
810
+ }
811
+ }
812
+ function $435a2ceaa8778ed8$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {
813
+ let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);
814
+ let res = $435a2ceaa8778ed8$export$e5d5e1c1822b6e56($435a2ceaa8778ed8$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);
815
+ if (res.compare(plainDateTime) === 0) return dateTime;
816
+ let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);
817
+ return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);
818
+ }
819
+
820
+ // node_modules/@internationalized/date/dist/private/CalendarDate.mjs
821
+ function $2aaf608024c21ca1$var$shiftArgs(args) {
822
+ let calendar = typeof args[0] === "object" ? args.shift() : new (0, $93635573935797de$export$80ee6245ec4f29ec)();
823
+ let era;
824
+ if (typeof args[0] === "string") era = args.shift();
825
+ else {
826
+ let eras = calendar.getEras();
827
+ era = eras[eras.length - 1];
828
+ }
829
+ let year = args.shift();
830
+ let month = args.shift();
831
+ let day = args.shift();
832
+ return [
833
+ calendar,
834
+ era,
835
+ year,
836
+ month,
837
+ day
838
+ ];
839
+ }
840
+ var $2aaf608024c21ca1$export$99faa760c7908e4f = class _$2aaf608024c21ca1$export$99faa760c7908e4f {
841
+ // This prevents TypeScript from allowing other types with the same fields to match.
842
+ // i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.
843
+ // If that behavior is desired, use the AnyCalendarDate interface instead.
844
+ // @ts-ignore
845
+ #type;
846
+ constructor(...args) {
847
+ let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);
848
+ this.calendar = calendar;
849
+ this.era = era;
850
+ this.year = year;
851
+ this.month = month;
852
+ this.day = day;
853
+ (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);
854
+ }
855
+ /** Returns a copy of this date. */
856
+ copy() {
857
+ if (this.era) return new _$2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);
858
+ else return new _$2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);
859
+ }
860
+ /** Returns a new `CalendarDate` with the given duration added to it. */
861
+ add(duration) {
862
+ return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);
863
+ }
864
+ /** Returns a new `CalendarDate` with the given duration subtracted from it. */
865
+ subtract(duration) {
866
+ return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);
867
+ }
868
+ /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
869
+ set(fields) {
870
+ return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);
871
+ }
872
+ /**
873
+ * Returns a new `CalendarDate` with the given field adjusted by a specified amount.
874
+ * When the resulting value reaches the limits of the field, it wraps around.
875
+ */
876
+ cycle(field, amount, options) {
877
+ return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);
878
+ }
879
+ /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
880
+ toDate(timeZone) {
881
+ return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);
882
+ }
883
+ /** Converts the date to an ISO 8601 formatted string. */
884
+ toString() {
885
+ return (0, $58246871e4652552$export$60dfd74aa96791bd)(this);
886
+ }
887
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
888
+ compare(b) {
889
+ return (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);
890
+ }
891
+ };
892
+ var $2aaf608024c21ca1$export$680ea196effce5f = class _$2aaf608024c21ca1$export$680ea196effce5f {
893
+ // This prevents TypeScript from allowing other types with the same fields to match.
894
+ // @ts-ignore
895
+ #type;
896
+ constructor(hour = 0, minute = 0, second = 0, millisecond = 0) {
897
+ this.hour = hour;
898
+ this.minute = minute;
899
+ this.second = second;
900
+ this.millisecond = millisecond;
901
+ (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);
902
+ }
903
+ /** Returns a copy of this time. */
904
+ copy() {
905
+ return new _$2aaf608024c21ca1$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);
906
+ }
907
+ /** Returns a new `Time` with the given duration added to it. */
908
+ add(duration) {
909
+ return (0, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);
910
+ }
911
+ /** Returns a new `Time` with the given duration subtracted from it. */
912
+ subtract(duration) {
913
+ return (0, $435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);
914
+ }
915
+ /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
916
+ set(fields) {
917
+ return (0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);
918
+ }
919
+ /**
920
+ * Returns a new `Time` with the given field adjusted by a specified amount.
921
+ * When the resulting value reaches the limits of the field, it wraps around.
922
+ */
923
+ cycle(field, amount, options) {
924
+ return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);
925
+ }
926
+ /** Converts the time to an ISO 8601 formatted string. */
927
+ toString() {
928
+ return (0, $58246871e4652552$export$f59dee82248f5ad4)(this);
929
+ }
930
+ /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
931
+ compare(b) {
932
+ return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);
933
+ }
934
+ };
935
+ var $2aaf608024c21ca1$export$ca871e8dbb80966f = class _$2aaf608024c21ca1$export$ca871e8dbb80966f {
936
+ // This prevents TypeScript from allowing other types with the same fields to match.
937
+ // @ts-ignore
938
+ #type;
939
+ constructor(...args) {
940
+ let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);
941
+ this.calendar = calendar;
942
+ this.era = era;
943
+ this.year = year;
944
+ this.month = month;
945
+ this.day = day;
946
+ this.hour = args.shift() || 0;
947
+ this.minute = args.shift() || 0;
948
+ this.second = args.shift() || 0;
949
+ this.millisecond = args.shift() || 0;
950
+ (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);
951
+ }
952
+ /** Returns a copy of this date. */
953
+ copy() {
954
+ if (this.era) return new _$2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
955
+ else return new _$2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
956
+ }
957
+ /** Returns a new `CalendarDateTime` with the given duration added to it. */
958
+ add(duration) {
959
+ return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);
960
+ }
961
+ /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
962
+ subtract(duration) {
963
+ return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);
964
+ }
965
+ /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
966
+ set(fields) {
967
+ return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);
968
+ }
969
+ /**
970
+ * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
971
+ * When the resulting value reaches the limits of the field, it wraps around.
972
+ */
973
+ cycle(field, amount, options) {
974
+ switch (field) {
975
+ case "era":
976
+ case "year":
977
+ case "month":
978
+ case "day":
979
+ return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);
980
+ default:
981
+ return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);
982
+ }
983
+ }
984
+ /** Converts the date to a native JavaScript Date object in the given time zone. */
985
+ toDate(timeZone, disambiguation) {
986
+ return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);
987
+ }
988
+ /** Converts the date to an ISO 8601 formatted string. */
989
+ toString() {
990
+ return (0, $58246871e4652552$export$4223de14708adc63)(this);
991
+ }
992
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
993
+ compare(b) {
994
+ let res = (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);
995
+ if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));
996
+ return res;
997
+ }
998
+ };
999
+ var $2aaf608024c21ca1$export$d3b7288e7994edea = class _$2aaf608024c21ca1$export$d3b7288e7994edea {
1000
+ // This prevents TypeScript from allowing other types with the same fields to match.
1001
+ // @ts-ignore
1002
+ #type;
1003
+ constructor(...args) {
1004
+ let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);
1005
+ let timeZone = args.shift();
1006
+ let offset = args.shift();
1007
+ this.calendar = calendar;
1008
+ this.era = era;
1009
+ this.year = year;
1010
+ this.month = month;
1011
+ this.day = day;
1012
+ this.timeZone = timeZone;
1013
+ this.offset = offset;
1014
+ this.hour = args.shift() || 0;
1015
+ this.minute = args.shift() || 0;
1016
+ this.second = args.shift() || 0;
1017
+ this.millisecond = args.shift() || 0;
1018
+ (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);
1019
+ }
1020
+ /** Returns a copy of this date. */
1021
+ copy() {
1022
+ if (this.era) return new _$2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
1023
+ else return new _$2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
1024
+ }
1025
+ /** Returns a new `ZonedDateTime` with the given duration added to it. */
1026
+ add(duration) {
1027
+ return (0, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);
1028
+ }
1029
+ /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
1030
+ subtract(duration) {
1031
+ return (0, $435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);
1032
+ }
1033
+ /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
1034
+ set(fields, disambiguation) {
1035
+ return (0, $435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);
1036
+ }
1037
+ /**
1038
+ * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
1039
+ * When the resulting value reaches the limits of the field, it wraps around.
1040
+ */
1041
+ cycle(field, amount, options) {
1042
+ return (0, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);
1043
+ }
1044
+ /** Converts the date to a native JavaScript Date object. */
1045
+ toDate() {
1046
+ return (0, $d07e34cce18680fd$export$83aac07b4c37b25)(this);
1047
+ }
1048
+ /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
1049
+ toString() {
1050
+ return (0, $58246871e4652552$export$bf79f1ebf4b18792)(this);
1051
+ }
1052
+ /** Converts the date to an ISO 8601 formatted string in UTC. */
1053
+ toAbsoluteString() {
1054
+ return this.toDate().toISOString();
1055
+ }
1056
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
1057
+ compare(b) {
1058
+ return this.toDate().getTime() - (0, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();
1059
+ }
1060
+ };
1061
+
1062
+ // node_modules/@internationalized/date/dist/private/string.mjs
1063
+ var $58246871e4652552$var$TIME_RE = /^(\d{2})(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/;
1064
+ var $58246871e4652552$var$DATE_RE = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;
1065
+ var $58246871e4652552$var$ABSOLUTE_RE = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
1066
+ var $58246871e4652552$var$requiredDurationTimeGroups = [
1067
+ "hours",
1068
+ "minutes",
1069
+ "seconds"
1070
+ ];
1071
+ var $58246871e4652552$var$requiredDurationGroups = [
1072
+ "years",
1073
+ "months",
1074
+ "weeks",
1075
+ "days",
1076
+ ...$58246871e4652552$var$requiredDurationTimeGroups
1077
+ ];
1078
+ function $58246871e4652552$export$c9698ec7f05a07e1(value) {
1079
+ let m = value.match($58246871e4652552$var$TIME_RE);
1080
+ if (!m) throw new Error("Invalid ISO 8601 time string: " + value);
1081
+ return new (0, $2aaf608024c21ca1$export$680ea196effce5f)($58246871e4652552$var$parseNumber(m[1], 0, 23), m[2] ? $58246871e4652552$var$parseNumber(m[2], 0, 59) : 0, m[3] ? $58246871e4652552$var$parseNumber(m[3], 0, 59) : 0, m[4] ? $58246871e4652552$var$parseNumber(m[4], 0, Infinity) * 1e3 : 0);
1082
+ }
1083
+ function $58246871e4652552$export$6b862160d295c8e(value) {
1084
+ let m = value.match($58246871e4652552$var$DATE_RE);
1085
+ if (!m) {
1086
+ if ($58246871e4652552$var$ABSOLUTE_RE.test(value)) throw new Error(`Invalid ISO 8601 date string: ${value}. Use parseAbsolute() instead.`);
1087
+ throw new Error("Invalid ISO 8601 date string: " + value);
1088
+ }
1089
+ let date = new (0, $2aaf608024c21ca1$export$99faa760c7908e4f)($58246871e4652552$var$parseNumber(m[1], 0, 9999), $58246871e4652552$var$parseNumber(m[2], 1, 12), 1);
1090
+ date.day = $58246871e4652552$var$parseNumber(m[3], 1, date.calendar.getDaysInMonth(date));
1091
+ return date;
1092
+ }
1093
+ function $58246871e4652552$var$parseNumber(value, min, max) {
1094
+ let val = Number(value);
1095
+ if (val < min || val > max) throw new RangeError(`Value out of range: ${min} <= ${val} <= ${max}`);
1096
+ return val;
1097
+ }
1098
+ function $58246871e4652552$export$f59dee82248f5ad4(time) {
1099
+ return `${String(time.hour).padStart(2, "0")}:${String(time.minute).padStart(2, "0")}:${String(time.second).padStart(2, "0")}${time.millisecond ? String(time.millisecond / 1e3).slice(1) : ""}`;
1100
+ }
1101
+ function $58246871e4652552$export$60dfd74aa96791bd(date) {
1102
+ let gregorianDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(date, new (0, $93635573935797de$export$80ee6245ec4f29ec)());
1103
+ let year;
1104
+ if (gregorianDate.era === "BC") year = gregorianDate.year === 1 ? "0000" : "-" + String(Math.abs(1 - gregorianDate.year)).padStart(6, "00");
1105
+ else year = String(gregorianDate.year).padStart(4, "0");
1106
+ return `${year}-${String(gregorianDate.month).padStart(2, "0")}-${String(gregorianDate.day).padStart(2, "0")}`;
1107
+ }
1108
+ function $58246871e4652552$export$4223de14708adc63(date) {
1109
+ return `${$58246871e4652552$export$60dfd74aa96791bd(date)}T${$58246871e4652552$export$f59dee82248f5ad4(date)}`;
1110
+ }
1111
+ function $58246871e4652552$var$offsetToString(offset) {
1112
+ let sign = Math.sign(offset) < 0 ? "-" : "+";
1113
+ offset = Math.abs(offset);
1114
+ let offsetHours = Math.floor(offset / 36e5);
1115
+ let offsetMinutes = Math.floor(offset % 36e5 / 6e4);
1116
+ let offsetSeconds = Math.floor(offset % 36e5 % 6e4 / 1e3);
1117
+ let stringOffset = `${sign}${String(offsetHours).padStart(2, "0")}:${String(offsetMinutes).padStart(2, "0")}`;
1118
+ if (offsetSeconds !== 0) stringOffset += `:${String(offsetSeconds).padStart(2, "0")}`;
1119
+ return stringOffset;
1120
+ }
1121
+ function $58246871e4652552$export$bf79f1ebf4b18792(date) {
1122
+ return `${$58246871e4652552$export$4223de14708adc63(date)}${$58246871e4652552$var$offsetToString(date.offset)}[${date.timeZone}]`;
1123
+ }
1124
+
1125
+ // node_modules/@internationalized/date/dist/private/DateFormatter.mjs
1126
+ var $12a3c853105e5a70$var$formatterCache = /* @__PURE__ */ new Map();
1127
+ var $12a3c853105e5a70$export$ad991b66133851cf = class {
1128
+ constructor(locale, options = {}) {
1129
+ this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);
1130
+ this.options = options;
1131
+ }
1132
+ /** Formats a date as a string according to the locale and format options passed to the constructor. */
1133
+ format(value) {
1134
+ return this.formatter.format(value);
1135
+ }
1136
+ /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
1137
+ formatToParts(value) {
1138
+ return this.formatter.formatToParts(value);
1139
+ }
1140
+ /** Formats a date range as a string. */
1141
+ formatRange(start, end) {
1142
+ if (typeof this.formatter.formatRange === "function")
1143
+ return this.formatter.formatRange(start, end);
1144
+ if (end < start) throw new RangeError("End date must be >= start date");
1145
+ return `${this.formatter.format(start)} \u2013 ${this.formatter.format(end)}`;
1146
+ }
1147
+ /** Formats a date range as an array of parts. */
1148
+ formatRangeToParts(start, end) {
1149
+ if (typeof this.formatter.formatRangeToParts === "function")
1150
+ return this.formatter.formatRangeToParts(start, end);
1151
+ if (end < start) throw new RangeError("End date must be >= start date");
1152
+ let startParts = this.formatter.formatToParts(start);
1153
+ let endParts = this.formatter.formatToParts(end);
1154
+ return [
1155
+ ...startParts.map((p) => ({
1156
+ ...p,
1157
+ source: "startRange"
1158
+ })),
1159
+ {
1160
+ type: "literal",
1161
+ value: " \u2013 ",
1162
+ source: "shared"
1163
+ },
1164
+ ...endParts.map((p) => ({
1165
+ ...p,
1166
+ source: "endRange"
1167
+ }))
1168
+ ];
1169
+ }
1170
+ /** Returns the resolved formatting options based on the values passed to the constructor. */
1171
+ resolvedOptions() {
1172
+ let resolvedOptions = this.formatter.resolvedOptions();
1173
+ if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {
1174
+ if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);
1175
+ resolvedOptions.hourCycle = this.resolvedHourCycle;
1176
+ resolvedOptions.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12";
1177
+ }
1178
+ if (resolvedOptions.calendar === "ethiopic-amete-alem") resolvedOptions.calendar = "ethioaa";
1179
+ return resolvedOptions;
1180
+ }
1181
+ };
1182
+ var $12a3c853105e5a70$var$hour12Preferences = {
1183
+ true: {
1184
+ // Only Japanese uses the h11 style for 12 hour time. All others use h12.
1185
+ ja: "h11"
1186
+ },
1187
+ false: {}
1188
+ };
1189
+ function $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {
1190
+ if (typeof options.hour12 === "boolean" && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {
1191
+ options = {
1192
+ ...options
1193
+ };
1194
+ let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split("-")[0]];
1195
+ let defaultHourCycle = options.hour12 ? "h12" : "h23";
1196
+ options.hourCycle = pref ?? defaultHourCycle;
1197
+ delete options.hour12;
1198
+ }
1199
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
1200
+ if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);
1201
+ let numberFormatter = new Intl.DateTimeFormat(locale, options);
1202
+ $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);
1203
+ return numberFormatter;
1204
+ }
1205
+ var $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;
1206
+ function $12a3c853105e5a70$var$hasBuggyHour12Behavior() {
1207
+ if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat("en-US", {
1208
+ hour: "numeric",
1209
+ hour12: false
1210
+ }).format(new Date(2020, 2, 3, 0)) === "24";
1211
+ return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;
1212
+ }
1213
+ var $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;
1214
+ function $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {
1215
+ if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat("fr", {
1216
+ hour: "numeric",
1217
+ hour12: false
1218
+ }).resolvedOptions().hourCycle === "h12";
1219
+ return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;
1220
+ }
1221
+ function $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {
1222
+ if (!options.timeStyle && !options.hour) return void 0;
1223
+ locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, "");
1224
+ locale += (locale.includes("-u-") ? "" : "-u") + "-nu-latn";
1225
+ let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {
1226
+ ...options,
1227
+ timeZone: void 0
1228
+ // use local timezone
1229
+ });
1230
+ let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p) => p.type === "hour").value, 10);
1231
+ let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p) => p.type === "hour").value, 10);
1232
+ if (min === 0 && max === 23) return "h23";
1233
+ if (min === 24 && max === 23) return "h24";
1234
+ if (min === 0 && max === 11) return "h11";
1235
+ if (min === 12 && max === 11) return "h12";
1236
+ throw new Error("Unexpected hour cycle result");
1237
+ }
1238
+
1239
+ export {
1240
+ $93635573935797de$export$80ee6245ec4f29ec,
1241
+ $ad063034c8620db8$export$ea39ec197993aef0,
1242
+ $ad063034c8620db8$export$91b62ebf2ba703ee,
1243
+ $ad063034c8620db8$export$dbc69fd56b53d5e,
1244
+ $ad063034c8620db8$export$2061056d06d7cdf7,
1245
+ $ad063034c8620db8$export$461939dd4422153,
1246
+ $ad063034c8620db8$export$d0bdf45af03a6ea3,
1247
+ $ad063034c8620db8$export$aa8b41735afcabd2,
1248
+ $ad063034c8620db8$export$a5a3b454ada2268e,
1249
+ $ad063034c8620db8$export$a2258d9c4118825c,
1250
+ $ad063034c8620db8$export$f91e89d3d0406102,
1251
+ $ad063034c8620db8$export$42c81a444fbfb5d4,
1252
+ $ad063034c8620db8$export$ef8b6d9133084f4e,
1253
+ $ad063034c8620db8$export$5c333a116e949cdd,
1254
+ $ad063034c8620db8$export$a75f2bff57811055,
1255
+ $d07e34cce18680fd$export$93522d1a439f3617,
1256
+ $d07e34cce18680fd$export$b21e0b124e224484,
1257
+ $d07e34cce18680fd$export$d33f79e3ffc3dc83,
1258
+ $d07e34cce18680fd$export$b4a036af3fc0b032,
1259
+ $d07e34cce18680fd$export$84c95a83c799e074,
1260
+ $58246871e4652552$export$c9698ec7f05a07e1,
1261
+ $58246871e4652552$export$6b862160d295c8e,
1262
+ $2aaf608024c21ca1$export$99faa760c7908e4f,
1263
+ $2aaf608024c21ca1$export$680ea196effce5f,
1264
+ $12a3c853105e5a70$export$ad991b66133851cf
1265
+ };