alinea 1.7.0 → 2.0.0-preview.0

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 (1383) 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 +208 -560
  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 +125 -17
  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.js +32 -6
  53. package/dist/backend/store/GeneratedRelease.js +1 -1
  54. package/dist/backend/store/GeneratedSource.js +1 -1
  55. package/dist/backend/util/ExecGit.js +4 -4
  56. package/dist/backend/util/JWTPreviews.d.ts +3 -3
  57. package/dist/backend/util/JWTPreviews.js +19 -5
  58. package/dist/backend/util/JsonPatch.js +1 -1
  59. package/dist/backend/util/ORM.js +2 -2
  60. package/dist/backend/util/Syncable.js +2 -2
  61. package/dist/backend.d.ts +5 -0
  62. package/dist/backend.js +17 -0
  63. package/dist/bundled.d.ts +8233 -8178
  64. package/dist/chunks/chunk-53DZYORR.js +3705 -0
  65. package/dist/chunks/chunk-7ORQ7BYK.js +1187 -0
  66. package/dist/chunks/chunk-AC4U3IMS.js +205 -0
  67. package/dist/chunks/chunk-BYJRQTFR.js +57 -0
  68. package/dist/chunks/chunk-CQ52GEHY.js +39 -0
  69. package/dist/chunks/chunk-EQ3TDHYD.js +79 -0
  70. package/dist/chunks/chunk-F36YGSHN.js +335 -0
  71. package/dist/chunks/chunk-G6E35DMJ.js +1997 -0
  72. package/dist/chunks/chunk-I4GC3E65.js +170 -0
  73. package/dist/chunks/chunk-I4OYYAX5.js +63 -0
  74. package/dist/chunks/chunk-I7X64JTZ.js +10402 -0
  75. package/dist/chunks/chunk-IWN3T3FL.js +19493 -0
  76. package/dist/chunks/chunk-IYAQC63Y.js +1265 -0
  77. package/dist/chunks/chunk-JFROOUG6.js +6363 -0
  78. package/dist/chunks/chunk-LB3UYTOL.js +95 -0
  79. package/dist/chunks/chunk-LUBOGJCG.js +129 -0
  80. package/dist/chunks/chunk-NWQXN4SB.js +227 -0
  81. package/dist/chunks/chunk-RKDPDEF7.js +160 -0
  82. package/dist/chunks/chunk-SJBZFMQ2.js +2966 -0
  83. package/dist/chunks/chunk-STAJCW4Z.js +322 -0
  84. package/dist/chunks/chunk-TL7ZW6BX.js +17963 -0
  85. package/dist/chunks/chunk-U4VOHNR2.js +210 -0
  86. package/dist/chunks/chunk-U5Z2VE7Z.js +120 -0
  87. package/dist/chunks/chunk-X47OVDF3.js +1974 -0
  88. package/dist/chunks/chunk-Y7XOMJOC.js +791 -0
  89. package/dist/chunks/chunk-YK3OSMDM.js +5473 -0
  90. package/dist/chunks/crypto-UO2XRCJS.js +11 -0
  91. package/dist/cli/Generate.js +9 -4
  92. package/dist/cli/Init.js +1 -1
  93. package/dist/cli/Serve.d.ts +2 -2
  94. package/dist/cli/Serve.js +54 -100
  95. package/dist/cli/bin.js +85 -12
  96. package/dist/cli/build/BuildEmitter.js +1 -1
  97. package/dist/cli/build/BuildOptions.js +1 -1
  98. package/dist/cli/generate/CompileConfig.d.ts +1 -1
  99. package/dist/cli/generate/CompileConfig.js +1 -1
  100. package/dist/cli/generate/CopyStaticFiles.js +2 -1
  101. package/dist/cli/generate/DevDB.js +2 -8
  102. package/dist/cli/generate/FillCache.js +2 -2
  103. package/dist/cli/generate/GenerateDashboard.js +1 -1
  104. package/dist/cli/generate/LoadConfig.js +2 -3
  105. package/dist/cli/serve/CreateLocalServer.d.ts +1 -1
  106. package/dist/cli/serve/CreateLocalServer.js +81 -26
  107. package/dist/cli/serve/DevServer.d.ts +19 -0
  108. package/dist/cli/serve/DevServer.js +134 -0
  109. package/dist/cli/serve/GitHistory.d.ts +1 -2
  110. package/dist/cli/serve/GitHistory.js +15 -2
  111. package/dist/cli/serve/LiveReload.js +1 -1
  112. package/dist/cli/serve/LocalAuth.js +1 -1
  113. package/dist/cli/serve/MemoryDrafts.js +1 -1
  114. package/dist/cli/serve/StartServer.js +1 -1
  115. package/dist/cli/static/init/cms.js +45 -47
  116. package/dist/cli/static/init/next-handler.js +8 -8
  117. package/dist/cli/util/CommitMessage.js +1 -1
  118. package/dist/cli/util/CommitSha.js +1 -1
  119. package/dist/cli/util/Dirname.js +1 -1
  120. package/dist/cli/util/Emitter.js +1 -1
  121. package/dist/cli/util/EnsureEnv.js +1 -1
  122. package/dist/cli/util/EnsureLibs.js +1 -1
  123. package/dist/cli/util/EnsureNode.js +1 -1
  124. package/dist/cli/util/ExternalPlugin.js +595 -486
  125. package/dist/cli/util/FS.js +1 -1
  126. package/dist/cli/util/FindConfigFile.js +1 -1
  127. package/dist/cli/util/ForwardCommand.js +1 -1
  128. package/dist/cli/util/IgnorePlugin.js +1 -1
  129. package/dist/cli/util/PublicDefines.js +1 -1
  130. package/dist/cli/util/Report.js +1 -1
  131. package/dist/cli/util/ViewsPlugin.js +2 -2
  132. package/dist/cli/util/WarnPublicEnv.js +1 -1
  133. package/dist/cli/util/Watcher.js +1 -1
  134. package/dist/cloud/AuthResult.js +1 -1
  135. package/dist/cloud/CloudConfig.d.ts +1 -0
  136. package/dist/cloud/CloudConfig.js +2 -1
  137. package/dist/cloud/CloudRemote.d.ts +10 -4
  138. package/dist/cloud/CloudRemote.js +56 -9
  139. package/dist/components/Breadcrumbs.d.ts +3 -0
  140. package/dist/components/Breadcrumbs.js +42 -0
  141. package/dist/components/Button.d.ts +10 -0
  142. package/dist/components/Button.js +57 -0
  143. package/dist/components/Calendar.d.ts +3 -0
  144. package/dist/components/Calendar.js +94 -0
  145. package/dist/components/Checkbox.d.ts +9 -0
  146. package/dist/components/Checkbox.js +75 -0
  147. package/dist/components/CheckboxGroup.d.ts +6 -0
  148. package/dist/components/CheckboxGroup.js +45 -0
  149. package/dist/components/ColorSwatch.d.ts +2 -0
  150. package/dist/components/ColorSwatch.js +45 -0
  151. package/dist/components/ColorSwatchPicker.d.ts +3 -0
  152. package/dist/components/ColorSwatchPicker.js +66 -0
  153. package/dist/components/ComboBox.d.ts +13 -0
  154. package/dist/components/ComboBox.js +147 -0
  155. package/dist/components/DateField.d.ts +5 -0
  156. package/dist/components/DateField.js +61 -0
  157. package/dist/components/DatePicker.d.ts +5 -0
  158. package/dist/components/DatePicker.js +78 -0
  159. package/dist/components/DateRangePicker.d.ts +5 -0
  160. package/dist/components/DateRangePicker.js +95 -0
  161. package/dist/components/Dialog.d.ts +3 -0
  162. package/dist/components/Dialog.js +43 -0
  163. package/dist/components/Disclosure.d.ts +5 -0
  164. package/dist/components/Disclosure.js +106 -0
  165. package/dist/components/DropZone.d.ts +4 -0
  166. package/dist/components/DropZone.js +41 -0
  167. package/dist/components/FoldIcon.d.ts +6 -0
  168. package/dist/components/FoldIcon.js +31 -0
  169. package/dist/components/Icon.d.ts +7 -0
  170. package/dist/components/Icon.js +40 -0
  171. package/dist/components/Label.d.ts +48 -0
  172. package/dist/components/Label.js +210 -0
  173. package/dist/components/Link.d.ts +5 -0
  174. package/dist/components/Link.js +42 -0
  175. package/dist/components/List.d.ts +99 -0
  176. package/dist/components/List.js +397 -0
  177. package/dist/components/Menu.d.ts +16 -0
  178. package/dist/components/Menu.js +95 -0
  179. package/dist/components/Modal.d.ts +7 -0
  180. package/dist/components/Modal.js +58 -0
  181. package/dist/components/MultipleSelect.d.ts +25 -0
  182. package/dist/components/MultipleSelect.js +278 -0
  183. package/dist/components/NumberField.d.ts +6 -0
  184. package/dist/components/NumberField.js +90 -0
  185. package/dist/components/Popover.d.ts +6 -0
  186. package/dist/components/Popover.js +42 -0
  187. package/dist/components/ProgressCircle.d.ts +6 -0
  188. package/dist/components/ProgressCircle.js +96 -0
  189. package/dist/components/RadioGroup.d.ts +8 -0
  190. package/dist/components/RadioGroup.js +64 -0
  191. package/dist/components/SearchField.d.ts +8 -0
  192. package/dist/components/SearchField.js +86 -0
  193. package/dist/components/Select.d.ts +13 -0
  194. package/dist/components/Select.js +150 -0
  195. package/dist/components/Surface.d.ts +15 -0
  196. package/dist/components/Surface.js +53 -0
  197. package/dist/components/Switch.d.ts +5 -0
  198. package/dist/components/Switch.js +47 -0
  199. package/dist/components/Table.d.ts +14 -0
  200. package/dist/components/Table.js +147 -0
  201. package/dist/components/Tabs.d.ts +13 -0
  202. package/dist/components/Tabs.js +96 -0
  203. package/dist/components/TagGroup.d.ts +10 -0
  204. package/dist/components/TagGroup.js +81 -0
  205. package/dist/components/TextField.d.ts +13 -0
  206. package/dist/components/TextField.js +77 -0
  207. package/dist/components/TimeField.d.ts +5 -0
  208. package/dist/components/TimeField.js +55 -0
  209. package/dist/components/Toggle.d.ts +8 -0
  210. package/dist/components/Toggle.js +61 -0
  211. package/dist/components/Toolbar.d.ts +8 -0
  212. package/dist/components/Toolbar.js +80 -0
  213. package/dist/components/Tooltip.d.ts +7 -0
  214. package/dist/components/Tooltip.js +54 -0
  215. package/dist/components/Tree.d.ts +23 -0
  216. package/dist/components/Tree.js +130 -0
  217. package/dist/components.d.ts +38 -0
  218. package/dist/components.js +39 -0
  219. package/dist/config.js +1 -1
  220. package/dist/core/CMS.js +1 -1
  221. package/dist/core/Client.d.ts +11 -7
  222. package/dist/core/Client.js +53 -10
  223. package/dist/core/Config.d.ts +2 -0
  224. package/dist/core/Config.js +1 -3
  225. package/dist/core/Connection.d.ts +28 -9
  226. package/dist/core/Document.js +10 -8
  227. package/dist/core/Draft.js +1 -1
  228. package/dist/core/Entry.d.ts +6 -0
  229. package/dist/core/Entry.js +16 -1
  230. package/dist/core/EntryFields.d.ts +4 -0
  231. package/dist/core/EntryFields.js +4 -2
  232. package/dist/core/EntryRecord.js +1 -1
  233. package/dist/core/Expr.d.ts +1 -0
  234. package/dist/core/Expr.js +1 -1
  235. package/dist/core/Field.d.ts +46 -5
  236. package/dist/core/Field.js +56 -10
  237. package/dist/core/Graph.d.ts +6 -0
  238. package/dist/core/Graph.js +1 -1
  239. package/dist/core/HttpError.js +1 -1
  240. package/dist/core/Id.js +1 -1
  241. package/dist/core/Infer.d.ts +1 -1
  242. package/dist/core/Internal.js +6 -6
  243. package/dist/core/ListRow.d.ts +10 -0
  244. package/dist/core/ListRow.js +12 -0
  245. package/dist/core/Outcome.js +1 -1
  246. package/dist/core/Page.js +2 -2
  247. package/dist/core/Picker.d.ts +0 -2
  248. package/dist/core/Picker.js +1 -1
  249. package/dist/core/Reference.js +1 -1
  250. package/dist/core/Role.d.ts +3 -0
  251. package/dist/core/Role.js +7 -1
  252. package/dist/core/Root.d.ts +4 -0
  253. package/dist/core/Root.js +7 -2
  254. package/dist/core/Schema.d.ts +0 -2
  255. package/dist/core/Schema.js +2 -16
  256. package/dist/core/Scope.js +1 -1
  257. package/dist/core/Section.js +2 -2
  258. package/dist/core/TextDoc.d.ts +4 -0
  259. package/dist/core/TextDoc.js +3 -1
  260. package/dist/core/Tracker.d.ts +1 -6
  261. package/dist/core/Tracker.js +2 -12
  262. package/dist/core/Trigger.js +1 -1
  263. package/dist/core/Type.d.ts +15 -6
  264. package/dist/core/Type.js +108 -28
  265. package/dist/core/UnionRow.d.ts +11 -0
  266. package/dist/core/UnionRow.js +11 -0
  267. package/dist/core/User.d.ts +7 -1
  268. package/dist/core/User.js +1 -1
  269. package/dist/core/View.js +1 -1
  270. package/dist/core/Workspace.d.ts +4 -1
  271. package/dist/core/Workspace.js +1 -1
  272. package/dist/core/db/CommitRequest.d.ts +2 -0
  273. package/dist/core/db/CommitRequest.js +1 -1
  274. package/dist/core/db/EntryAliases.d.ts +2 -0
  275. package/dist/core/db/EntryAliases.js +28 -0
  276. package/dist/core/db/EntryDB.d.ts +2 -2
  277. package/dist/core/db/EntryDB.js +3 -3
  278. package/dist/core/db/EntryIndex.d.ts +7 -0
  279. package/dist/core/db/EntryIndex.js +168 -26
  280. package/dist/core/db/EntryReference.d.ts +44 -0
  281. package/dist/core/db/EntryReference.js +9 -0
  282. package/dist/core/db/EntryReferenceIndex.d.ts +21 -0
  283. package/dist/core/db/EntryReferenceIndex.js +131 -0
  284. package/dist/core/db/EntryResolver.d.ts +10 -7
  285. package/dist/core/db/EntryResolver.js +90 -35
  286. package/dist/core/db/EntryTransaction.d.ts +1 -1
  287. package/dist/core/db/EntryTransaction.js +395 -57
  288. package/dist/core/db/EntryUrlConflictError.d.ts +11 -0
  289. package/dist/core/db/EntryUrlConflictError.js +16 -0
  290. package/dist/core/db/IndexEvent.d.ts +5 -2
  291. package/dist/core/db/IndexEvent.js +2 -1
  292. package/dist/core/db/LinkResolver.d.ts +1 -1
  293. package/dist/core/db/LinkResolver.js +4 -1
  294. package/dist/core/db/LocalDB.d.ts +4 -2
  295. package/dist/core/db/LocalDB.js +8 -6
  296. package/dist/core/db/Mutation.d.ts +3 -3
  297. package/dist/core/db/Operation.d.ts +8 -3
  298. package/dist/core/db/Operation.js +67 -23
  299. package/dist/core/db/TestDB.d.ts +9 -1
  300. package/dist/core/db/TestDB.js +24 -1
  301. package/dist/core/db/WriteableGraph.d.ts +15 -4
  302. package/dist/core/db/WriteableGraph.js +14 -2
  303. package/dist/core/field/CreateField.d.ts +5 -4
  304. package/dist/core/field/CreateField.js +9 -5
  305. package/dist/core/field/ListField.d.ts +13 -4
  306. package/dist/core/field/ListField.js +146 -13
  307. package/dist/core/field/RecordField.d.ts +5 -3
  308. package/dist/core/field/RecordField.js +58 -2
  309. package/dist/core/field/RichTextField.d.ts +7 -2
  310. package/dist/core/field/RichTextField.js +325 -10
  311. package/dist/core/field/ScalarField.js +9 -7
  312. package/dist/core/field/UnionField.d.ts +2 -3
  313. package/dist/core/field/UnionField.js +61 -12
  314. package/dist/core/media/CreatePreview.browser.js +5 -5
  315. package/dist/core/media/CreatePreview.js +15 -10
  316. package/dist/core/media/IsImage.js +1 -1
  317. package/dist/core/media/MediaAltField.d.ts +9 -0
  318. package/dist/core/media/MediaAltField.js +17 -0
  319. package/dist/core/media/MediaLocation.d.ts +39 -0
  320. package/dist/core/media/MediaLocation.js +55 -2
  321. package/dist/core/media/MediaRoot.d.ts +2 -2
  322. package/dist/core/media/MediaRoot.js +12 -11
  323. package/dist/core/media/MediaTypes.d.ts +21 -15
  324. package/dist/core/media/MediaTypes.js +33 -16
  325. package/dist/core/media/Summary.d.ts +8 -8
  326. package/dist/core/media/Summary.js +1 -1
  327. package/dist/core/media/UploadLimits.d.ts +1 -0
  328. package/dist/core/media/UploadLimits.js +20 -0
  329. package/dist/core/pages/Snippet.js +1 -1
  330. package/dist/core/shape/ListShape.d.ts +1 -47
  331. package/dist/core/shape/ListShape.js +1 -224
  332. package/dist/core/source/CombinedSource.js +1 -1
  333. package/dist/core/source/FSSource.d.ts +3 -2
  334. package/dist/core/source/FSSource.js +25 -12
  335. package/dist/core/source/FilePatch.js +5 -2
  336. package/dist/core/source/GitDelta.js +1 -1
  337. package/dist/core/source/GitUtils.js +1 -1
  338. package/dist/core/source/GithubSource.d.ts +1 -0
  339. package/dist/core/source/GithubSource.js +17 -4
  340. package/dist/core/source/IndexedDBSource.js +23 -11
  341. package/dist/core/source/MemorySource.js +1 -1
  342. package/dist/core/source/ShaMismatchError.js +3 -1
  343. package/dist/core/source/Source.js +1 -1
  344. package/dist/core/source/SourceExport.js +3 -3
  345. package/dist/core/source/Tree.js +1 -1
  346. package/dist/core/source/Utils.js +2 -5
  347. package/dist/core/util/Anchors.d.ts +4 -0
  348. package/dist/core/util/Anchors.js +45 -0
  349. package/dist/core/util/ArrayBuffers.js +1 -1
  350. package/dist/core/util/Assert.js +1 -1
  351. package/dist/core/util/Async.js +1 -1
  352. package/dist/core/util/BufferToBase64.js +1 -1
  353. package/dist/core/util/Callable.js +1 -1
  354. package/dist/core/util/Checks.js +2 -2
  355. package/dist/core/util/CodeGen.js +3 -1
  356. package/dist/core/util/ContentHash.js +1 -1
  357. package/dist/core/util/Debounce.js +1 -1
  358. package/dist/core/util/DeepMap.d.ts +14 -0
  359. package/dist/core/util/DeepMap.js +75 -0
  360. package/dist/core/util/Encoding.js +1 -1
  361. package/dist/core/util/EntryFilenames.d.ts +0 -1
  362. package/dist/core/util/EntryFilenames.js +2 -6
  363. package/dist/core/util/EntryRows.js +1 -1
  364. package/dist/core/util/FractionalIndexing.js +1 -1
  365. package/dist/core/util/GetRandomColor.js +20 -20
  366. package/dist/core/util/Identifiers.js +1 -1
  367. package/dist/core/util/JWT.js +1 -1
  368. package/dist/core/util/Lazy.js +1 -1
  369. package/dist/core/util/LazyRecord.js +1 -1
  370. package/dist/core/util/Logger.js +2 -1
  371. package/dist/core/util/Objects.d.ts +1 -0
  372. package/dist/core/util/Objects.js +5 -1
  373. package/dist/core/util/Paths.js +2 -2
  374. package/dist/core/util/RowId.js +1 -1
  375. package/dist/core/util/Slugs.js +1 -1
  376. package/dist/core/util/Timer.js +1 -1
  377. package/dist/core/util/Types.js +1 -1
  378. package/dist/core/util/Urls.js +1 -1
  379. package/dist/core.d.ts +1 -0
  380. package/dist/core.js +2 -1
  381. package/dist/dashboard/App.css +319 -0
  382. package/dist/dashboard/App.d.ts +8 -8
  383. package/dist/dashboard/App.js +188 -142
  384. package/dist/dashboard/StoryProvider.d.ts +12 -0
  385. package/dist/dashboard/StoryProvider.js +82 -0
  386. package/dist/dashboard/ViewKeys.d.ts +26 -0
  387. package/dist/dashboard/ViewKeys.js +32 -0
  388. package/dist/dashboard/app/AccessDenied.d.ts +5 -0
  389. package/dist/dashboard/app/AccessDenied.js +53 -0
  390. package/dist/dashboard/app/ActivityStatus.d.ts +10 -0
  391. package/dist/dashboard/app/ActivityStatus.js +459 -0
  392. package/dist/dashboard/app/AlineaLogo.d.ts +4 -0
  393. package/dist/dashboard/app/AlineaLogo.js +26 -0
  394. package/dist/dashboard/app/AppShell.d.ts +4 -0
  395. package/dist/dashboard/app/AppShell.js +29 -0
  396. package/dist/dashboard/app/AuthView.d.ts +8 -0
  397. package/dist/dashboard/app/AuthView.js +111 -0
  398. package/dist/dashboard/app/Badge.d.ts +8 -0
  399. package/dist/dashboard/app/Badge.js +42 -0
  400. package/dist/dashboard/app/CompactField.d.ts +14 -0
  401. package/dist/dashboard/app/CompactField.js +178 -0
  402. package/dist/dashboard/app/DashboardErrorBoundary.d.ts +2 -0
  403. package/dist/dashboard/app/DashboardErrorBoundary.js +122 -0
  404. package/dist/dashboard/app/DashboardLayout.d.ts +18 -0
  405. package/dist/dashboard/app/DashboardLayout.js +88 -0
  406. package/dist/dashboard/app/DashboardMeta.d.ts +7 -0
  407. package/dist/dashboard/app/DashboardMeta.js +28 -0
  408. package/dist/dashboard/app/EditorBackButton.d.ts +5 -0
  409. package/dist/dashboard/app/EditorBackButton.js +33 -0
  410. package/dist/dashboard/app/EntryFields.d.ts +21 -0
  411. package/dist/dashboard/app/EntryFields.js +101 -0
  412. package/dist/dashboard/app/EntryHeader.d.ts +15 -0
  413. package/dist/dashboard/app/EntryHeader.js +452 -0
  414. package/dist/dashboard/app/EntryHeaderActions.d.ts +37 -0
  415. package/dist/dashboard/app/EntryHeaderActions.js +71 -0
  416. package/dist/dashboard/app/EntryReferences.d.ts +6 -0
  417. package/dist/dashboard/app/EntryReferences.js +209 -0
  418. package/dist/dashboard/app/EntrySidebar.d.ts +25 -0
  419. package/dist/dashboard/app/EntrySidebar.js +378 -0
  420. package/dist/dashboard/app/EntrySidebarPreview.d.ts +10 -0
  421. package/dist/dashboard/app/EntrySidebarPreview.js +260 -0
  422. package/dist/dashboard/app/EntrySidebarPreview.story.d.ts +1 -0
  423. package/dist/dashboard/app/EntrySidebarToggle.d.ts +6 -0
  424. package/dist/dashboard/app/EntrySidebarToggle.js +29 -0
  425. package/dist/dashboard/app/EntryTranslationBanner.d.ts +7 -0
  426. package/dist/dashboard/app/EntryTranslationBanner.js +60 -0
  427. package/dist/dashboard/app/Explorer.d.ts +41 -0
  428. package/dist/dashboard/app/Explorer.js +804 -0
  429. package/dist/dashboard/app/ExplorerCards.d.ts +12 -0
  430. package/dist/dashboard/app/ExplorerCards.js +389 -0
  431. package/dist/dashboard/app/ExplorerFileCard.d.ts +10 -0
  432. package/dist/dashboard/app/ExplorerFileCard.js +115 -0
  433. package/dist/dashboard/app/ExplorerList.d.ts +9 -0
  434. package/dist/dashboard/app/ExplorerList.js +165 -0
  435. package/dist/dashboard/app/ExplorerModal.d.ts +16 -0
  436. package/dist/dashboard/app/ExplorerModal.js +89 -0
  437. package/dist/dashboard/app/ExplorerPickerContent.d.ts +13 -0
  438. package/dist/dashboard/app/ExplorerPickerContent.js +114 -0
  439. package/dist/dashboard/app/ExplorerTable.d.ts +14 -0
  440. package/dist/dashboard/app/ExplorerTable.js +497 -0
  441. package/dist/dashboard/app/ExternalLinkPicker.d.ts +12 -0
  442. package/dist/dashboard/app/ExternalLinkPicker.js +97 -0
  443. package/dist/dashboard/app/ImagePicker.d.ts +6 -0
  444. package/dist/dashboard/app/ImagePicker.js +145 -0
  445. package/dist/dashboard/app/LinkPicker.d.ts +9 -0
  446. package/dist/dashboard/app/LinkPicker.js +317 -0
  447. package/dist/dashboard/app/LocaleMenu.d.ts +8 -0
  448. package/dist/dashboard/app/LocaleMenu.js +110 -0
  449. package/dist/dashboard/app/LogoShape.d.ts +8 -0
  450. package/dist/dashboard/app/LogoShape.js +60 -0
  451. package/dist/dashboard/app/SidebarTree.d.ts +37 -0
  452. package/dist/dashboard/app/SidebarTree.js +433 -0
  453. package/dist/dashboard/app/StatusBadge.d.ts +6 -0
  454. package/dist/dashboard/app/StatusBadge.js +26 -0
  455. package/dist/dashboard/app/ViewToggle.d.ts +7 -0
  456. package/dist/dashboard/app/ViewToggle.js +27 -0
  457. package/dist/dashboard/app/WorkspaceMenu.d.ts +24 -0
  458. package/dist/dashboard/app/WorkspaceMenu.js +264 -0
  459. package/dist/dashboard/app/WorkspaceMenu.stories.d.ts +5 -0
  460. package/dist/dashboard/app/WorkspaceRoots.d.ts +6 -0
  461. package/dist/dashboard/app/WorkspaceRoots.js +285 -0
  462. package/dist/dashboard/app/editor/FileEditor.d.ts +5 -0
  463. package/dist/dashboard/app/editor/FileEditor.js +190 -0
  464. package/dist/dashboard/app/editor/FilePreview.d.ts +13 -0
  465. package/dist/dashboard/app/editor/FilePreview.js +196 -0
  466. package/dist/dashboard/app/editor/MediaAltField.view.d.ts +5 -0
  467. package/dist/dashboard/app/editor/MediaAltField.view.js +98 -0
  468. package/dist/dashboard/app/modals/CreateEntry.d.ts +1 -0
  469. package/dist/dashboard/app/modals/CreateEntry.js +283 -0
  470. package/dist/dashboard/app/pages/EntryPage.d.ts +11 -0
  471. package/dist/dashboard/app/pages/EntryPage.js +354 -0
  472. package/dist/dashboard/app/pages/RootPage.d.ts +9 -0
  473. package/dist/dashboard/app/pages/RootPage.js +90 -0
  474. package/dist/dashboard/app/pages/UsersPage.d.ts +7 -0
  475. package/dist/dashboard/app/pages/UsersPage.js +552 -0
  476. package/dist/dashboard/app/ui/DashboardModal.d.ts +34 -0
  477. package/dist/dashboard/app/ui/DashboardModal.js +192 -0
  478. package/dist/dashboard/app/ui/Rail.d.ts +18 -0
  479. package/dist/dashboard/app/ui/Rail.js +41 -0
  480. package/dist/dashboard/app/ui/Sidebar.d.ts +15 -0
  481. package/dist/dashboard/app/ui/Sidebar.js +55 -0
  482. package/dist/dashboard/atoms/ReactiveNode.d.ts +41 -0
  483. package/dist/dashboard/atoms/ReactiveNode.js +248 -0
  484. package/dist/dashboard/atoms/activity.d.ts +48 -0
  485. package/dist/dashboard/atoms/activity.js +189 -0
  486. package/dist/dashboard/atoms/auth.d.ts +38 -0
  487. package/dist/dashboard/atoms/auth.js +106 -0
  488. package/dist/dashboard/atoms/config.d.ts +27 -0
  489. package/dist/dashboard/atoms/config.js +49 -0
  490. package/dist/dashboard/atoms/core.d.ts +15 -0
  491. package/dist/dashboard/atoms/core.js +37 -0
  492. package/dist/dashboard/atoms/create.d.ts +13 -0
  493. package/dist/dashboard/atoms/create.js +79 -0
  494. package/dist/dashboard/atoms/dashboard.d.ts +12 -0
  495. package/dist/dashboard/atoms/dashboard.js +71 -0
  496. package/dist/dashboard/atoms/editor.d.ts +80 -0
  497. package/dist/dashboard/atoms/editor.js +132 -0
  498. package/dist/dashboard/atoms/entry.d.ts +223 -0
  499. package/dist/dashboard/atoms/entry.js +609 -0
  500. package/dist/dashboard/atoms/explorer.d.ts +257 -0
  501. package/dist/dashboard/atoms/explorer.js +677 -0
  502. package/dist/dashboard/atoms/graph.d.ts +5 -0
  503. package/dist/dashboard/atoms/graph.js +62 -0
  504. package/dist/dashboard/atoms/link.d.ts +24 -0
  505. package/dist/dashboard/atoms/link.js +82 -0
  506. package/dist/dashboard/atoms/nav.d.ts +47 -0
  507. package/dist/dashboard/atoms/nav.js +220 -0
  508. package/dist/dashboard/atoms/preview.d.ts +4 -0
  509. package/dist/dashboard/atoms/preview.js +10 -0
  510. package/dist/dashboard/atoms/root.d.ts +88 -0
  511. package/dist/dashboard/atoms/root.js +444 -0
  512. package/dist/dashboard/atoms/upload.d.ts +9 -0
  513. package/dist/dashboard/atoms/upload.js +81 -0
  514. package/dist/dashboard/atoms/user.d.ts +9 -0
  515. package/dist/dashboard/atoms/user.js +75 -0
  516. package/dist/dashboard/atoms/utils.d.ts +17 -0
  517. package/dist/dashboard/atoms/utils.js +151 -0
  518. package/dist/dashboard/boot/ActivityEvent.d.ts +44 -0
  519. package/dist/dashboard/boot/ActivityEvent.js +14 -0
  520. package/dist/dashboard/boot/Boot.js +9 -5
  521. package/dist/dashboard/boot/BootDev.js +2 -1
  522. package/dist/dashboard/boot/BootProd.js +1 -1
  523. package/dist/dashboard/boot/DashboardWorker.d.ts +7 -7
  524. package/dist/dashboard/boot/DashboardWorker.js +370 -30
  525. package/dist/dashboard/boot/LoadWorker.js +6 -3
  526. package/dist/dashboard/boot/WorkerDB.d.ts +9 -2
  527. package/dist/dashboard/boot/WorkerDB.js +20 -3
  528. package/dist/dashboard/editor/UseField.d.ts +29 -10
  529. package/dist/dashboard/editor/UseField.js +27 -59
  530. package/dist/dashboard/fixture/cms.d.ts +116 -0
  531. package/dist/dashboard/fixture/cms.js +230 -0
  532. package/dist/dashboard/hook/UseEntryEditor.d.ts +25 -6
  533. package/dist/dashboard/hook/UseEntryEditor.js +34 -12
  534. package/dist/dashboard/hook/UseGraph.d.ts +3 -0
  535. package/dist/dashboard/hook/UseGraph.js +5 -5
  536. package/dist/dashboard/hook/UseLocale.d.ts +4 -1
  537. package/dist/dashboard/hook/UseLocale.js +5 -7
  538. package/dist/dashboard/hook/UseRoot.d.ts +7 -12
  539. package/dist/dashboard/hook/UseRoot.js +8 -5
  540. package/dist/dashboard/hook/UseWorkspace.d.ts +7 -9
  541. package/dist/dashboard/hook/UseWorkspace.js +5 -7
  542. package/dist/dashboard/hooks.d.ts +157 -0
  543. package/dist/dashboard/hooks.js +229 -0
  544. package/dist/dashboard/icons.d.ts +171 -0
  545. package/dist/dashboard/icons.js +2686 -0
  546. package/dist/dashboard/plugins/alineaFixturePlugin.d.ts +2 -0
  547. package/dist/dashboard/plugins/alineaFixturePlugin.js +200 -0
  548. package/dist/dashboard.d.ts +1 -2
  549. package/dist/dashboard.js +6 -2
  550. package/dist/edit.d.ts +1 -1
  551. package/dist/edit.js +2 -4
  552. package/dist/field/check/CheckField.js +3 -3
  553. package/dist/field/check/CheckField.view.d.ts +3 -3
  554. package/dist/field/check/CheckField.view.js +37 -84
  555. package/dist/field/code/CodeField.js +2 -2
  556. package/dist/field/code/CodeField.view.d.ts +21 -3
  557. package/dist/field/code/CodeField.view.js +177 -39
  558. package/dist/field/code/SimpleCodeEditor.d.ts +50 -0
  559. package/dist/field/code/SimpleCodeEditor.js +452 -0
  560. package/dist/field/date/DateField.js +3 -3
  561. package/dist/field/date/DateField.view.d.ts +3 -3
  562. package/dist/field/date/DateField.view.js +26 -26
  563. package/dist/field/hidden/HiddenField.js +2 -2
  564. package/dist/field/hidden/HiddenField.view.js +1 -1
  565. package/dist/field/json/JsonField.js +2 -2
  566. package/dist/field/json/JsonField.view.d.ts +4 -4
  567. package/dist/field/json/JsonField.view.js +53 -76
  568. package/dist/field/link/EntryLink.d.ts +9 -8
  569. package/dist/field/link/EntryLink.js +4 -2
  570. package/dist/field/link/FileLink.d.ts +5 -5
  571. package/dist/field/link/FileLink.js +7 -3
  572. package/dist/field/link/ImageLink.d.ts +4 -2
  573. package/dist/field/link/ImageLink.js +4 -1
  574. package/dist/field/link/Link.d.ts +1 -1
  575. package/dist/field/link/Link.js +1 -1
  576. package/dist/field/link/LinkEditor.d.ts +1 -1
  577. package/dist/field/link/LinkEditor.js +1 -1
  578. package/dist/field/link/LinkField.d.ts +5 -3
  579. package/dist/field/link/LinkField.js +56 -17
  580. package/dist/field/link/LinkField.stories.d.ts +11 -1
  581. package/dist/field/link/LinkField.view.d.ts +8 -10
  582. package/dist/field/link/LinkField.view.js +1444 -362
  583. package/dist/field/link/UrlLink.d.ts +2 -2
  584. package/dist/field/link/UrlLink.js +4 -2
  585. package/dist/field/list/ListField.d.ts +3 -3
  586. package/dist/field/list/ListField.js +5 -6
  587. package/dist/field/list/ListField.stories.d.ts +2 -1
  588. package/dist/field/list/ListField.view.d.ts +15 -7
  589. package/dist/field/list/ListField.view.js +888 -377
  590. package/dist/field/localiser/LocalisedField.view.d.ts +5 -0
  591. package/dist/field/localiser/LocalisedField.view.js +63 -0
  592. package/dist/field/localiser/LocalisedFieldTabs.d.ts +8 -0
  593. package/dist/field/localiser/LocalisedFieldTabs.js +38 -0
  594. package/dist/field/localiser/Localiser.d.ts +25 -0
  595. package/dist/field/localiser/Localiser.js +140 -0
  596. package/dist/field/localiser.d.ts +1 -0
  597. package/dist/field/localiser.js +2 -0
  598. package/dist/field/metadata/MetadataAliases.d.ts +20 -0
  599. package/dist/field/metadata/MetadataAliases.js +22 -0
  600. package/dist/field/metadata/MetadataField.d.ts +31 -8
  601. package/dist/field/metadata/MetadataField.js +127 -11
  602. package/dist/field/metadata/MetadataField.view.d.ts +11 -3
  603. package/dist/field/metadata/MetadataField.view.js +130 -96
  604. package/dist/field/number/NumberField.js +3 -3
  605. package/dist/field/number/NumberField.view.d.ts +3 -3
  606. package/dist/field/number/NumberField.view.js +22 -54
  607. package/dist/field/object/ObjectField.d.ts +1 -1
  608. package/dist/field/object/ObjectField.js +11 -4
  609. package/dist/field/object/ObjectField.view.d.ts +4 -4
  610. package/dist/field/object/ObjectField.view.js +28 -19
  611. package/dist/field/path/PathField.js +3 -3
  612. package/dist/field/path/PathField.view.d.ts +3 -3
  613. package/dist/field/path/PathField.view.js +33 -133
  614. package/dist/field/path/SlugField.d.ts +16 -0
  615. package/dist/field/path/SlugField.js +52 -0
  616. package/dist/field/richtext/Extensions.d.ts +1 -28
  617. package/dist/field/richtext/Extensions.js +2 -4146
  618. package/dist/field/richtext/PickTextAnchor.d.ts +19 -0
  619. package/dist/field/richtext/PickTextAnchor.js +99 -0
  620. package/dist/field/richtext/PickTextLink.d.ts +18 -17
  621. package/dist/field/richtext/PickTextLink.js +133 -88
  622. package/dist/field/richtext/ReferenceLink.d.ts +2 -0
  623. package/dist/field/richtext/ReferenceLink.js +13 -4
  624. package/dist/field/richtext/RichTextBlock.d.ts +11 -0
  625. package/dist/field/richtext/RichTextBlock.js +143 -0
  626. package/dist/field/richtext/RichTextBlockHost.d.ts +13 -0
  627. package/dist/field/richtext/RichTextBlockHost.js +56 -0
  628. package/dist/field/richtext/RichTextBlockValue.d.ts +5 -0
  629. package/dist/field/richtext/RichTextBlockValue.js +34 -0
  630. package/dist/field/richtext/RichTextBlocks.d.ts +16 -0
  631. package/dist/field/richtext/RichTextBlocks.js +40 -0
  632. package/dist/field/richtext/RichTextDocument.d.ts +4 -0
  633. package/dist/field/richtext/RichTextDocument.js +162 -0
  634. package/dist/field/richtext/RichTextExtensions.d.ts +67 -0
  635. package/dist/field/richtext/RichTextExtensions.js +8219 -0
  636. package/dist/field/richtext/RichTextField.d.ts +10 -3
  637. package/dist/field/richtext/RichTextField.js +13 -3
  638. package/dist/field/richtext/RichTextField.story.d.ts +8 -0
  639. package/dist/field/richtext/RichTextField.view.d.ts +11 -5
  640. package/dist/field/richtext/RichTextField.view.js +385 -2447
  641. package/dist/field/richtext/RichTextInsertMenu.d.ts +9 -0
  642. package/dist/field/richtext/RichTextInsertMenu.js +1014 -0
  643. package/dist/field/richtext/RichTextState.d.ts +6 -0
  644. package/dist/field/richtext/RichTextState.js +58 -0
  645. package/dist/field/richtext/RichTextToolbar.d.ts +9 -36
  646. package/dist/field/richtext/RichTextToolbar.js +206 -178
  647. package/dist/field/richtext/Toolbar.d.ts +111 -65
  648. package/dist/field/richtext/Toolbar.js +60 -45
  649. package/dist/field/richtext/extensions/Anchor.d.ts +19 -0
  650. package/dist/field/richtext/extensions/Anchor.js +94 -0
  651. package/dist/field/richtext/extensions/Link.d.ts +3 -13
  652. package/dist/field/richtext/extensions/Link.js +15 -37
  653. package/dist/field/richtext/extensions/Small.d.ts +1 -10
  654. package/dist/field/richtext/extensions/Small.js +7 -19
  655. package/dist/field/select/SelectField.d.ts +15 -4
  656. package/dist/field/select/SelectField.js +17 -2
  657. package/dist/field/select/SelectField.view.d.ts +7 -3
  658. package/dist/field/select/SelectField.view.js +112 -155
  659. package/dist/field/tabs/Tabs.js +3 -2
  660. package/dist/field/tabs/Tabs.view.d.ts +1 -6
  661. package/dist/field/tabs/Tabs.view.js +22 -29
  662. package/dist/field/text/TextField.js +8 -3
  663. package/dist/field/text/TextField.view.d.ts +2 -2
  664. package/dist/field/text/TextField.view.js +40 -60
  665. package/dist/field/time/TimeField.js +3 -3
  666. package/dist/field/time/TimeField.view.d.ts +3 -3
  667. package/dist/field/time/TimeField.view.js +30 -30
  668. package/dist/field/view/View.js +1 -1
  669. package/dist/field/views.d.ts +2 -0
  670. package/dist/field/views.js +65 -0
  671. package/dist/field.d.ts +1 -0
  672. package/dist/field.js +3 -1
  673. package/dist/index.css +7034 -3625
  674. package/dist/index.js +1 -1
  675. package/dist/inter-latin-500-normal-JSHNAZJU.woff2 +0 -0
  676. package/dist/inter-latin-ext-500-normal-5ARINTHO.woff2 +0 -0
  677. package/dist/next.cjs +19 -9
  678. package/dist/next.edge.js +1 -1
  679. package/dist/next.js +1 -1
  680. package/dist/picker/entry/EntryPicker.d.ts +9 -4
  681. package/dist/picker/entry/EntryPicker.js +97 -19
  682. package/dist/picker/entry/EntryReference.d.ts +4 -0
  683. package/dist/picker/entry/EntryReference.js +3 -1
  684. package/dist/picker/url/UrlPicker.js +2 -12
  685. package/dist/preview/ChunkCookieValue.js +1 -1
  686. package/dist/preview/PreviewCookies.js +1 -1
  687. package/dist/preview/PreviewMessage.js +1 -1
  688. package/dist/preview/PreviewPayload.js +237 -10
  689. package/dist/preview/RegisterPreview.js +1 -1
  690. package/dist/preview/react.js +10 -3
  691. package/dist/preview/widget.js +1 -1
  692. package/dist/query.d.ts +116 -92
  693. package/dist/query.js +7 -1
  694. package/dist/types.d.ts +1 -0
  695. package/dist/ui/Link.d.ts +6 -5
  696. package/dist/ui/Link.js +37 -13
  697. package/dist/ui/RichText.d.ts +37 -11
  698. package/dist/ui/RichText.js +81 -44
  699. package/dist/ui/Stack.d.ts +11 -22
  700. package/dist/ui/Stack.js +54 -67
  701. package/dist/ui/icons/IcAlignCenter.d.ts +4 -2
  702. package/dist/ui/icons/IcAlignCenter.js +6 -12
  703. package/dist/ui/icons/IcOutlineGridView.d.ts +3 -2
  704. package/dist/ui/icons/IcOutlineGridView.js +3 -11
  705. package/dist/ui/icons/IcOutlineSettings.d.ts +3 -2
  706. package/dist/ui/icons/IcOutlineSettings.js +3 -11
  707. package/dist/ui/icons/IcRoundAccountTree.d.ts +4 -2
  708. package/dist/ui/icons/IcRoundAccountTree.js +6 -22
  709. package/dist/ui/icons/IcRoundClose.d.ts +4 -2
  710. package/dist/ui/icons/IcRoundClose.js +6 -12
  711. package/dist/ui/icons/IcRoundCode.d.ts +4 -2
  712. package/dist/ui/icons/IcRoundCode.js +6 -12
  713. package/dist/ui/icons/IcRoundDateRange.d.ts +3 -2
  714. package/dist/ui/icons/IcRoundDateRange.js +3 -11
  715. package/dist/ui/icons/IcRoundDelete.d.ts +4 -2
  716. package/dist/ui/icons/IcRoundDelete.js +6 -12
  717. package/dist/ui/icons/IcRoundEdit.d.ts +4 -2
  718. package/dist/ui/icons/IcRoundEdit.js +6 -12
  719. package/dist/ui/icons/IcRoundFormatListNumbered.d.ts +3 -2
  720. package/dist/ui/icons/IcRoundFormatListNumbered.js +3 -11
  721. package/dist/ui/icons/IcRoundLink.d.ts +4 -2
  722. package/dist/ui/icons/IcRoundLink.js +6 -12
  723. package/dist/ui/icons/IcRoundOpenInNew.d.ts +4 -2
  724. package/dist/ui/icons/IcRoundOpenInNew.js +6 -12
  725. package/dist/ui/icons/IcRoundPanorama.d.ts +4 -2
  726. package/dist/ui/icons/IcRoundPanorama.js +6 -6
  727. package/dist/ui/icons/IcRoundRefresh.d.ts +3 -2
  728. package/dist/ui/icons/IcRoundRefresh.js +3 -11
  729. package/dist/ui/icons/IcRoundSave.d.ts +4 -2
  730. package/dist/ui/icons/IcRoundSave.js +6 -22
  731. package/dist/ui/icons/IcRoundSearch.d.ts +4 -2
  732. package/dist/ui/icons/IcRoundSearch.js +6 -12
  733. package/dist/ui/icons/IcRoundShare.d.ts +4 -2
  734. package/dist/ui/icons/IcRoundShare.js +6 -12
  735. package/dist/ui/icons/IcRoundSync.d.ts +4 -2
  736. package/dist/ui/icons/IcRoundSync.js +6 -22
  737. package/dist/ui/icons/MaterialSymbolsDatabase.d.ts +4 -2
  738. package/dist/ui/icons/MaterialSymbolsDatabase.js +6 -22
  739. package/dist/ui/icons/TableInsert.d.ts +4 -2
  740. package/dist/ui/icons/TableInsert.js +6 -12
  741. package/dist/ui/util/ImageBlurUrl.js +1 -1
  742. package/dist/ui.d.ts +0 -8
  743. package/dist/ui.js +0 -8
  744. package/package.json +49 -64
  745. package/dist/backend/router/Proxy.d.ts +0 -1
  746. package/dist/backend/router/Proxy.js +0 -32
  747. package/dist/chunks/chunk-2NTSADJL.js +0 -20
  748. package/dist/chunks/chunk-2STBQ2Y4.js +0 -166
  749. package/dist/chunks/chunk-2X5P2RZV.js +0 -94
  750. package/dist/chunks/chunk-3DIW62EI.js +0 -2900
  751. package/dist/chunks/chunk-3TNMMA3W.js +0 -249
  752. package/dist/chunks/chunk-467JA2PB.js +0 -29
  753. package/dist/chunks/chunk-5LTN67OE.js +0 -51
  754. package/dist/chunks/chunk-76QF5YTJ.js +0 -107
  755. package/dist/chunks/chunk-A5O3N2GS.js +0 -63
  756. package/dist/chunks/chunk-AICQFCVN.js +0 -19
  757. package/dist/chunks/chunk-AJJSW27C.js +0 -728
  758. package/dist/chunks/chunk-C53YJRET.js +0 -112
  759. package/dist/chunks/chunk-CKT37OYJ.js +0 -9
  760. package/dist/chunks/chunk-F2HHHLEQ.js +0 -72
  761. package/dist/chunks/chunk-FKWEJTSK.js +0 -16282
  762. package/dist/chunks/chunk-G2AFWRAD.js +0 -12
  763. package/dist/chunks/chunk-HSIHEWFC.js +0 -101
  764. package/dist/chunks/chunk-I26ZIF6Q.js +0 -360
  765. package/dist/chunks/chunk-JL5K3F7X.js +0 -1116
  766. package/dist/chunks/chunk-NZLE2WMY.js +0 -35
  767. package/dist/chunks/chunk-ORDS5C6Z.js +0 -83
  768. package/dist/chunks/chunk-PNILF4WM.js +0 -251
  769. package/dist/chunks/chunk-QUIANN6B.js +0 -8001
  770. package/dist/chunks/chunk-RSX2DILK.js +0 -335
  771. package/dist/chunks/chunk-SKF4L7JN.js +0 -401
  772. package/dist/chunks/chunk-SOTBYUJY.js +0 -120
  773. package/dist/chunks/chunk-TOJF2G3X.js +0 -96
  774. package/dist/chunks/chunk-TPUTTEHF.js +0 -3002
  775. package/dist/chunks/chunk-VUACWPFC.js +0 -892
  776. package/dist/chunks/chunk-WD7H5L2L.js +0 -168
  777. package/dist/chunks/chunk-WDCPVJJC.js +0 -341
  778. package/dist/chunks/chunk-WJ67RR7S.js +0 -554
  779. package/dist/chunks/chunk-WKC37UOZ.js +0 -143
  780. package/dist/chunks/chunk-WLKPH7JA.js +0 -2786
  781. package/dist/chunks/chunk-YWCPLD22.js +0 -2343
  782. package/dist/chunks/crypto-HZTUU327.js +0 -11
  783. package/dist/cloud/view/CloudAuth.browser.d.ts +0 -2
  784. package/dist/cloud/view/CloudAuth.browser.js +0 -111
  785. package/dist/cloud/view/CloudAuth.d.ts +0 -1
  786. package/dist/cloud/view/CloudAuth.js +0 -9
  787. package/dist/core/Doc.d.ts +0 -11
  788. package/dist/core/Doc.js +0 -44
  789. package/dist/core/Role.test.d.ts +0 -1
  790. package/dist/core/Shape.d.ts +0 -19
  791. package/dist/core/Trigger.test.d.ts +0 -1
  792. package/dist/core/Type.test.d.ts +0 -1
  793. package/dist/core/db/EntryIndex.test.d.ts +0 -1
  794. package/dist/core/db/EntryResolver.test.d.ts +0 -1
  795. package/dist/core/db/LocalDB.test.d.ts +0 -1
  796. package/dist/core/field/RichTextField.test.d.ts +0 -1
  797. package/dist/core/shape/ListShape.test.d.ts +0 -1
  798. package/dist/core/shape/RecordShape.d.ts +0 -26
  799. package/dist/core/shape/RecordShape.js +0 -102
  800. package/dist/core/shape/RecordShape.test.d.ts +0 -1
  801. package/dist/core/shape/RichTextShape.d.ts +0 -75
  802. package/dist/core/shape/RichTextShape.js +0 -435
  803. package/dist/core/shape/RichTextShape.test.d.ts +0 -1
  804. package/dist/core/shape/ScalarShape.d.ts +0 -20
  805. package/dist/core/shape/ScalarShape.js +0 -53
  806. package/dist/core/shape/ScalarShape.test.d.ts +0 -1
  807. package/dist/core/shape/UnionShape.d.ts +0 -34
  808. package/dist/core/shape/UnionShape.js +0 -141
  809. package/dist/core/shape/UnionShape.test.d.ts +0 -1
  810. package/dist/core/source/CombinedSource.test.d.ts +0 -1
  811. package/dist/core/source/FSSource.test.d.ts +0 -1
  812. package/dist/core/source/FilePatch.test.d.ts +0 -1
  813. package/dist/core/source/GitDelta.test.d.ts +0 -1
  814. package/dist/core/source/GitUtils.test.d.ts +0 -1
  815. package/dist/core/source/GithubSource.test.d.ts +0 -1
  816. package/dist/core/source/IndexedDBSource.test.d.ts +0 -1
  817. package/dist/core/source/MemorySource.test.d.ts +0 -1
  818. package/dist/core/source/SourceExport.test.d.ts +0 -1
  819. package/dist/core/source/Tree.test.d.ts +0 -1
  820. package/dist/core/source/Utils.test.d.ts +0 -1
  821. package/dist/core/util/CodeGen.test.d.ts +0 -1
  822. package/dist/core/util/EntryFilenames.test.d.ts +0 -1
  823. package/dist/core/util/JWT.test.d.ts +0 -1
  824. package/dist/core/util/Paths.test.d.ts +0 -1
  825. package/dist/core/util/Slugs.test.d.ts +0 -1
  826. package/dist/dashboard/DashboardNav.d.ts +0 -22
  827. package/dist/dashboard/DashboardNav.js +0 -44
  828. package/dist/dashboard/DashboardProvider.d.ts +0 -16
  829. package/dist/dashboard/DashboardProvider.js +0 -28
  830. package/dist/dashboard/Routes.d.ts +0 -111
  831. package/dist/dashboard/Routes.js +0 -78
  832. package/dist/dashboard/Welcome.d.ts +0 -1
  833. package/dist/dashboard/Welcome.js +0 -21
  834. package/dist/dashboard/atoms/DashboardAtoms.d.ts +0 -18
  835. package/dist/dashboard/atoms/DashboardAtoms.js +0 -86
  836. package/dist/dashboard/atoms/DbAtoms.d.ts +0 -5
  837. package/dist/dashboard/atoms/DbAtoms.js +0 -95
  838. package/dist/dashboard/atoms/Edits.d.ts +0 -31
  839. package/dist/dashboard/atoms/Edits.js +0 -93
  840. package/dist/dashboard/atoms/EntryAtoms.d.ts +0 -34
  841. package/dist/dashboard/atoms/EntryAtoms.js +0 -298
  842. package/dist/dashboard/atoms/EntryEditorAtoms.d.ts +0 -255
  843. package/dist/dashboard/atoms/EntryEditorAtoms.js +0 -629
  844. package/dist/dashboard/atoms/EntrySummaryAtoms.d.ts +0 -21
  845. package/dist/dashboard/atoms/EntrySummaryAtoms.js +0 -58
  846. package/dist/dashboard/atoms/ErrorAtoms.d.ts +0 -4
  847. package/dist/dashboard/atoms/ErrorAtoms.js +0 -18
  848. package/dist/dashboard/atoms/FormAtoms.d.ts +0 -56
  849. package/dist/dashboard/atoms/FormAtoms.js +0 -189
  850. package/dist/dashboard/atoms/LocationAtoms.d.ts +0 -25
  851. package/dist/dashboard/atoms/LocationAtoms.js +0 -104
  852. package/dist/dashboard/atoms/NavigationAtoms.d.ts +0 -38
  853. package/dist/dashboard/atoms/NavigationAtoms.js +0 -124
  854. package/dist/dashboard/atoms/PolicyAtom.d.ts +0 -6
  855. package/dist/dashboard/atoms/PolicyAtom.js +0 -29
  856. package/dist/dashboard/atoms/PreferencesAtoms.d.ts +0 -16
  857. package/dist/dashboard/atoms/PreferencesAtoms.js +0 -53
  858. package/dist/dashboard/atoms/RouterAtoms.d.ts +0 -78
  859. package/dist/dashboard/atoms/RouterAtoms.js +0 -161
  860. package/dist/dashboard/atoms/StyleAtoms.d.ts +0 -1
  861. package/dist/dashboard/atoms/StyleAtoms.js +0 -14
  862. package/dist/dashboard/atoms/YAtom.d.ts +0 -2
  863. package/dist/dashboard/atoms/YAtom.js +0 -24
  864. package/dist/dashboard/editor/DefaultViews.d.ts +0 -19
  865. package/dist/dashboard/editor/DefaultViews.js +0 -52
  866. package/dist/dashboard/editor/InputForm.d.ts +0 -26
  867. package/dist/dashboard/editor/InputForm.js +0 -53
  868. package/dist/dashboard/editor/ViewKeys.d.ts +0 -23
  869. package/dist/dashboard/editor/ViewKeys.js +0 -29
  870. package/dist/dashboard/hook/UseConfig.d.ts +0 -1
  871. package/dist/dashboard/hook/UseConfig.js +0 -12
  872. package/dist/dashboard/hook/UseDashboard.d.ts +0 -1
  873. package/dist/dashboard/hook/UseDashboard.js +0 -12
  874. package/dist/dashboard/hook/UseDb.d.ts +0 -2
  875. package/dist/dashboard/hook/UseDb.js +0 -14
  876. package/dist/dashboard/hook/UseDebounce.d.ts +0 -1
  877. package/dist/dashboard/hook/UseDebounce.js +0 -23
  878. package/dist/dashboard/hook/UseEntryLocation.d.ts +0 -1
  879. package/dist/dashboard/hook/UseEntryLocation.js +0 -12
  880. package/dist/dashboard/hook/UseEntrySummary.d.ts +0 -1
  881. package/dist/dashboard/hook/UseEntrySummary.js +0 -16
  882. package/dist/dashboard/hook/UseExplorer.d.ts +0 -14
  883. package/dist/dashboard/hook/UseExplorer.js +0 -13
  884. package/dist/dashboard/hook/UseFocusList.d.ts +0 -14
  885. package/dist/dashboard/hook/UseFocusList.js +0 -113
  886. package/dist/dashboard/hook/UseNav.d.ts +0 -10
  887. package/dist/dashboard/hook/UseNav.js +0 -12
  888. package/dist/dashboard/hook/UsePolicy.d.ts +0 -1
  889. package/dist/dashboard/hook/UsePolicy.js +0 -14
  890. package/dist/dashboard/hook/UsePreferences.d.ts +0 -6
  891. package/dist/dashboard/hook/UsePreferences.js +0 -30
  892. package/dist/dashboard/hook/UseSession.d.ts +0 -1
  893. package/dist/dashboard/hook/UseSession.js +0 -12
  894. package/dist/dashboard/hook/UseUploads.d.ts +0 -42
  895. package/dist/dashboard/hook/UseUploads.js +0 -91
  896. package/dist/dashboard/pages/ContentView.d.ts +0 -5
  897. package/dist/dashboard/pages/ContentView.js +0 -96
  898. package/dist/dashboard/util/Atoms.d.ts +0 -2
  899. package/dist/dashboard/util/Atoms.js +0 -21
  900. package/dist/dashboard/util/DebounceAtom.d.ts +0 -2
  901. package/dist/dashboard/util/DebounceAtom.js +0 -26
  902. package/dist/dashboard/util/HashRouter.d.ts +0 -1
  903. package/dist/dashboard/util/HashRouter.js +0 -2
  904. package/dist/dashboard/util/Head.d.ts +0 -2
  905. package/dist/dashboard/util/Head.js +0 -10
  906. package/dist/dashboard/util/KeepInView.d.ts +0 -2
  907. package/dist/dashboard/util/KeepInView.js +0 -19
  908. package/dist/dashboard/util/KeepPreviousData.d.ts +0 -9
  909. package/dist/dashboard/util/KeepPreviousData.js +0 -32
  910. package/dist/dashboard/util/Loader.d.ts +0 -17
  911. package/dist/dashboard/util/Loader.js +0 -31
  912. package/dist/dashboard/util/SuspenseBoundary.d.ts +0 -4
  913. package/dist/dashboard/util/SuspenseBoundary.js +0 -23
  914. package/dist/dashboard/util/WithResolvers.d.ts +0 -2
  915. package/dist/dashboard/util/WithResolvers.js +0 -16
  916. package/dist/dashboard/view/AlineaLogo.d.ts +0 -2
  917. package/dist/dashboard/view/AlineaLogo.js +0 -16
  918. package/dist/dashboard/view/Breadcrumbs.d.ts +0 -3
  919. package/dist/dashboard/view/Breadcrumbs.js +0 -33
  920. package/dist/dashboard/view/Create.d.ts +0 -13
  921. package/dist/dashboard/view/Create.js +0 -75
  922. package/dist/dashboard/view/EntryEdit.d.ts +0 -5
  923. package/dist/dashboard/view/EntryEdit.js +0 -222
  924. package/dist/dashboard/view/EntryTree.d.ts +0 -5
  925. package/dist/dashboard/view/EntryTree.js +0 -1463
  926. package/dist/dashboard/view/ErrorBoundary.d.ts +0 -6
  927. package/dist/dashboard/view/ErrorBoundary.js +0 -95
  928. package/dist/dashboard/view/IconButton.d.ts +0 -18
  929. package/dist/dashboard/view/IconButton.js +0 -51
  930. package/dist/dashboard/view/InputLabel.d.ts +0 -36
  931. package/dist/dashboard/view/InputLabel.js +0 -151
  932. package/dist/dashboard/view/MediaExplorer.d.ts +0 -7
  933. package/dist/dashboard/view/MediaExplorer.js +0 -121
  934. package/dist/dashboard/view/Modal.d.ts +0 -8
  935. package/dist/dashboard/view/Modal.js +0 -63
  936. package/dist/dashboard/view/PageHeader.d.ts +0 -5
  937. package/dist/dashboard/view/PageHeader.js +0 -26
  938. package/dist/dashboard/view/Preview.d.ts +0 -3
  939. package/dist/dashboard/view/Preview.js +0 -20
  940. package/dist/dashboard/view/RootOverview.d.ts +0 -5
  941. package/dist/dashboard/view/RootOverview.js +0 -46
  942. package/dist/dashboard/view/SearchBox.d.ts +0 -1
  943. package/dist/dashboard/view/SearchBox.js +0 -126
  944. package/dist/dashboard/view/Sidebar.d.ts +0 -21
  945. package/dist/dashboard/view/Sidebar.js +0 -312
  946. package/dist/dashboard/view/Toolbar.d.ts +0 -9
  947. package/dist/dashboard/view/Toolbar.js +0 -240
  948. package/dist/dashboard/view/Viewport.d.ts +0 -8
  949. package/dist/dashboard/view/Viewport.js +0 -69
  950. package/dist/dashboard/view/WorkspaceLabel.d.ts +0 -7
  951. package/dist/dashboard/view/WorkspaceLabel.js +0 -32
  952. package/dist/dashboard/view/diff/ChangeBox.d.ts +0 -14
  953. package/dist/dashboard/view/diff/ChangeBox.js +0 -36
  954. package/dist/dashboard/view/diff/DiffUtils.d.ts +0 -16
  955. package/dist/dashboard/view/diff/DiffUtils.js +0 -82
  956. package/dist/dashboard/view/diff/DiffUtils.test.d.ts +0 -1
  957. package/dist/dashboard/view/diff/EntryDiff.d.ts +0 -6
  958. package/dist/dashboard/view/diff/EntryDiff.js +0 -45
  959. package/dist/dashboard/view/diff/FieldDiff.d.ts +0 -10
  960. package/dist/dashboard/view/diff/FieldDiff.js +0 -51
  961. package/dist/dashboard/view/diff/FieldsDiff.d.ts +0 -7
  962. package/dist/dashboard/view/diff/FieldsDiff.js +0 -24
  963. package/dist/dashboard/view/diff/ListDiff.d.ts +0 -10
  964. package/dist/dashboard/view/diff/ListDiff.js +0 -32
  965. package/dist/dashboard/view/diff/RichTextDiff.d.ts +0 -11
  966. package/dist/dashboard/view/diff/RichTextDiff.js +0 -94
  967. package/dist/dashboard/view/diff/ScalarDiff.d.ts +0 -5
  968. package/dist/dashboard/view/diff/ScalarDiff.js +0 -1520
  969. package/dist/dashboard/view/entry/EditModeToggle.d.ts +0 -9
  970. package/dist/dashboard/view/entry/EditModeToggle.js +0 -51
  971. package/dist/dashboard/view/entry/EntryHeader.d.ts +0 -5
  972. package/dist/dashboard/view/entry/EntryHeader.js +0 -414
  973. package/dist/dashboard/view/entry/EntryHistory.d.ts +0 -2
  974. package/dist/dashboard/view/entry/EntryHistory.js +0 -78
  975. package/dist/dashboard/view/entry/EntryNotice.d.ts +0 -7
  976. package/dist/dashboard/view/entry/EntryNotice.js +0 -44
  977. package/dist/dashboard/view/entry/EntryPreview.d.ts +0 -10
  978. package/dist/dashboard/view/entry/EntryPreview.js +0 -44
  979. package/dist/dashboard/view/entry/EntrySummary.d.ts +0 -3
  980. package/dist/dashboard/view/entry/EntrySummary.js +0 -75
  981. package/dist/dashboard/view/entry/EntryTitle.d.ts +0 -7
  982. package/dist/dashboard/view/entry/EntryTitle.js +0 -64
  983. package/dist/dashboard/view/entry/FieldToolbar.d.ts +0 -11
  984. package/dist/dashboard/view/entry/FieldToolbar.js +0 -41
  985. package/dist/dashboard/view/entry/LangSwitch.d.ts +0 -7
  986. package/dist/dashboard/view/entry/LangSwitch.js +0 -110
  987. package/dist/dashboard/view/entry/NewEntry.d.ts +0 -4
  988. package/dist/dashboard/view/entry/NewEntry.js +0 -288
  989. package/dist/dashboard/view/entry/RootHeader.d.ts +0 -4
  990. package/dist/dashboard/view/entry/RootHeader.js +0 -61
  991. package/dist/dashboard/view/explorer/Explorer.d.ts +0 -24
  992. package/dist/dashboard/view/explorer/Explorer.js +0 -2230
  993. package/dist/dashboard/view/explorer/ExplorerItem.d.ts +0 -11
  994. package/dist/dashboard/view/explorer/ExplorerItem.js +0 -128
  995. package/dist/dashboard/view/explorer/ExplorerRow.d.ts +0 -15
  996. package/dist/dashboard/view/explorer/ExplorerRow.js +0 -73
  997. package/dist/dashboard/view/media/CardOverview.d.ts +0 -1
  998. package/dist/dashboard/view/media/CardOverview.js +0 -10
  999. package/dist/dashboard/view/media/FileEntry.d.ts +0 -6
  1000. package/dist/dashboard/view/media/FileEntry.js +0 -223
  1001. package/dist/dashboard/view/media/FileSummary.d.ts +0 -3
  1002. package/dist/dashboard/view/media/FileSummary.js +0 -102
  1003. package/dist/dashboard/view/media/FileUploadRow.d.ts +0 -2
  1004. package/dist/dashboard/view/media/FileUploadRow.js +0 -53
  1005. package/dist/dashboard/view/media/FileUploader.d.ts +0 -10
  1006. package/dist/dashboard/view/media/FileUploader.js +0 -151
  1007. package/dist/dashboard/view/media/MediaThumbnail.d.ts +0 -11
  1008. package/dist/dashboard/view/media/MediaThumbnail.js +0 -55
  1009. package/dist/dashboard/view/preview/BrowserPreview.d.ts +0 -12
  1010. package/dist/dashboard/view/preview/BrowserPreview.js +0 -210
  1011. package/dist/dashboard/view/sidebar/SidebarSettings.d.ts +0 -1
  1012. package/dist/dashboard/view/sidebar/SidebarSettings.js +0 -192
  1013. package/dist/field/check/CheckField.stories.d.ts +0 -5
  1014. package/dist/field/code/CodeField.stories.d.ts +0 -5
  1015. package/dist/field/date/DateField.stories.d.ts +0 -5
  1016. package/dist/field/json/JsonField.stories.d.ts +0 -5
  1017. package/dist/field/metadata/MetadataField.stories.d.ts +0 -5
  1018. package/dist/field/number/NumberField.stories.d.ts +0 -5
  1019. package/dist/field/object/ObjectField.stories.d.ts +0 -5
  1020. package/dist/field/path/PathField.stories.d.ts +0 -5
  1021. package/dist/field/richtext/RichText.stories.d.ts +0 -5
  1022. package/dist/field/select/SelectField.stories.d.ts +0 -5
  1023. package/dist/field/tabs/Tabs.stories.d.ts +0 -5
  1024. package/dist/field/text/TextField.stories.d.ts +0 -5
  1025. package/dist/field/time/TimeField.stories.d.ts +0 -5
  1026. package/dist/picker/entry/EntryPicker.browser.d.ts +0 -7
  1027. package/dist/picker/entry/EntryPicker.browser.js +0 -373
  1028. package/dist/picker/entry/EntryPicker.stories.d.ts +0 -2
  1029. package/dist/picker/entry/EntryPickerRow.d.ts +0 -5
  1030. package/dist/picker/entry/EntryPickerRow.js +0 -24
  1031. package/dist/picker/url/UrlPicker.browser.d.ts +0 -6
  1032. package/dist/picker/url/UrlPicker.browser.js +0 -83
  1033. package/dist/picker/url/UrlPicker.stories.d.ts +0 -5
  1034. package/dist/picker/url/UrlPickerRow.d.ts +0 -5
  1035. package/dist/picker/url/UrlPickerRow.js +0 -38
  1036. package/dist/preview/ChunkCookieValue.test.d.ts +0 -1
  1037. package/dist/preview/PreviewPayload.test.d.ts +0 -1
  1038. package/dist/test/EntryFixture.d.ts +0 -30
  1039. package/dist/test/EntryFixture.js +0 -91
  1040. package/dist/test/broken-index.test.d.ts +0 -1
  1041. package/dist/test/cms.d.ts +0 -17
  1042. package/dist/test/cms.js +0 -38
  1043. package/dist/test/drafts.test.d.ts +0 -1
  1044. package/dist/test/example.d.ts +0 -137
  1045. package/dist/test/example.js +0 -230
  1046. package/dist/test/insert-order.test.d.ts +0 -1
  1047. package/dist/test/links.test.d.ts +0 -1
  1048. package/dist/test/locales.test.d.ts +0 -1
  1049. package/dist/test/moves.test.d.ts +0 -1
  1050. package/dist/test/mutate.test.d.ts +0 -1
  1051. package/dist/test/query.test.d.ts +0 -1
  1052. package/dist/test/renames.test.d.ts +0 -1
  1053. package/dist/test/roles.test.d.ts +0 -1
  1054. package/dist/test/schema/DemoHome.d.ts +0 -25
  1055. package/dist/test/schema/DemoHome.js +0 -25
  1056. package/dist/test/schema/DemoRecipe.d.ts +0 -14
  1057. package/dist/test/schema/DemoRecipe.js +0 -22
  1058. package/dist/test/schema/DemoRecipes.d.ts +0 -4
  1059. package/dist/test/schema/DemoRecipes.js +0 -14
  1060. package/dist/test/schema/index.d.ts +0 -3
  1061. package/dist/test/schema/index.js +0 -4
  1062. package/dist/test/seeding.test.d.ts +0 -1
  1063. package/dist/test/shared.test.d.ts +0 -1
  1064. package/dist/test/status.test.d.ts +0 -1
  1065. package/dist/test/uploads.test.d.ts +0 -1
  1066. package/dist/ui/AppBar.d.ts +0 -14
  1067. package/dist/ui/AppBar.js +0 -68
  1068. package/dist/ui/Avatar.d.ts +0 -6
  1069. package/dist/ui/Avatar.js +0 -33
  1070. package/dist/ui/Badge.d.ts +0 -9
  1071. package/dist/ui/Badge.js +0 -44
  1072. package/dist/ui/Button.d.ts +0 -9
  1073. package/dist/ui/Button.js +0 -57
  1074. package/dist/ui/Button.stories.d.ts +0 -6
  1075. package/dist/ui/Chip.d.ts +0 -8
  1076. package/dist/ui/Chip.js +0 -46
  1077. package/dist/ui/DropdownMenu.d.ts +0 -12
  1078. package/dist/ui/DropdownMenu.js +0 -415
  1079. package/dist/ui/Ellipsis.d.ts +0 -2
  1080. package/dist/ui/Ellipsis.js +0 -33
  1081. package/dist/ui/ErrorMessage.d.ts +0 -4
  1082. package/dist/ui/ErrorMessage.js +0 -17
  1083. package/dist/ui/Icon.d.ts +0 -9
  1084. package/dist/ui/Icon.js +0 -41
  1085. package/dist/ui/Lift.d.ts +0 -3
  1086. package/dist/ui/Lift.js +0 -22
  1087. package/dist/ui/Loader.d.ts +0 -8
  1088. package/dist/ui/Loader.js +0 -32
  1089. package/dist/ui/Main.d.ts +0 -12
  1090. package/dist/ui/Main.js +0 -56
  1091. package/dist/ui/Pane.d.ts +0 -9
  1092. package/dist/ui/Pane.js +0 -132
  1093. package/dist/ui/PopoverMenu.d.ts +0 -12
  1094. package/dist/ui/PopoverMenu.js +0 -418
  1095. package/dist/ui/Property.d.ts +0 -1
  1096. package/dist/ui/Property.js +0 -7
  1097. package/dist/ui/Sink.d.ts +0 -9
  1098. package/dist/ui/Sink.js +0 -49
  1099. package/dist/ui/Statusbar.d.ts +0 -15
  1100. package/dist/ui/Statusbar.js +0 -54
  1101. package/dist/ui/Tabs.d.ts +0 -11
  1102. package/dist/ui/Tabs.js +0 -293
  1103. package/dist/ui/TextLabel.d.ts +0 -5
  1104. package/dist/ui/TextLabel.js +0 -10
  1105. package/dist/ui/Typo.d.ts +0 -35
  1106. package/dist/ui/Typo.js +0 -28
  1107. package/dist/ui/UIStory.d.ts +0 -8
  1108. package/dist/ui/branding/FavIcon.d.ts +0 -5
  1109. package/dist/ui/branding/FavIcon.js +0 -56
  1110. package/dist/ui/branding/LogoShape.d.ts +0 -6
  1111. package/dist/ui/branding/LogoShape.js +0 -52
  1112. package/dist/ui/hook/UseAutoHide.d.ts +0 -8
  1113. package/dist/ui/hook/UseAutoHide.js +0 -43
  1114. package/dist/ui/hook/UseColorScheme.d.ts +0 -4
  1115. package/dist/ui/hook/UseColorScheme.js +0 -13
  1116. package/dist/ui/hook/UseContrastColor.d.ts +0 -1
  1117. package/dist/ui/hook/UseContrastColor.js +0 -12
  1118. package/dist/ui/hook/UseElementSize.d.ts +0 -6
  1119. package/dist/ui/hook/UseElementSize.js +0 -52
  1120. package/dist/ui/hook/UseForceUpdate.d.ts +0 -1
  1121. package/dist/ui/hook/UseForceUpdate.js +0 -11
  1122. package/dist/ui/hook/UseHash.d.ts +0 -1
  1123. package/dist/ui/hook/UseHash.js +0 -24
  1124. package/dist/ui/hook/UseInitialEffect.d.ts +0 -2
  1125. package/dist/ui/hook/UseInitialEffect.js +0 -15
  1126. package/dist/ui/hook/UseLocalStorage.d.ts +0 -1
  1127. package/dist/ui/hook/UseLocalStorage.js +0 -36
  1128. package/dist/ui/hook/UseNonInitialEffect.d.ts +0 -2
  1129. package/dist/ui/hook/UseNonInitialEffect.js +0 -17
  1130. package/dist/ui/hook/UseTrigger.d.ts +0 -7
  1131. package/dist/ui/hook/UseTrigger.js +0 -29
  1132. package/dist/ui/icons/IcAlignJustify.d.ts +0 -3
  1133. package/dist/ui/icons/IcAlignJustify.js +0 -18
  1134. package/dist/ui/icons/IcAlignLeft.d.ts +0 -2
  1135. package/dist/ui/icons/IcAlignLeft.js +0 -16
  1136. package/dist/ui/icons/IcAlignRight.d.ts +0 -2
  1137. package/dist/ui/icons/IcAlignRight.js +0 -16
  1138. package/dist/ui/icons/IcBaselineAccountCircle.d.ts +0 -2
  1139. package/dist/ui/icons/IcBaselineAccountCircle.js +0 -26
  1140. package/dist/ui/icons/IcBaselineContentCopy.d.ts +0 -2
  1141. package/dist/ui/icons/IcBaselineContentCopy.js +0 -26
  1142. package/dist/ui/icons/IcBaselineContentPasteGo.d.ts +0 -2
  1143. package/dist/ui/icons/IcBaselineContentPasteGo.js +0 -35
  1144. package/dist/ui/icons/IcBaselineDesktopMac.d.ts +0 -2
  1145. package/dist/ui/icons/IcBaselineDesktopMac.js +0 -16
  1146. package/dist/ui/icons/IcBaselineErrorOutline.d.ts +0 -2
  1147. package/dist/ui/icons/IcBaselineErrorOutline.js +0 -26
  1148. package/dist/ui/icons/IcBaselinePause.d.ts +0 -2
  1149. package/dist/ui/icons/IcBaselinePause.js +0 -20
  1150. package/dist/ui/icons/IcBaselinePhoneIphone.d.ts +0 -2
  1151. package/dist/ui/icons/IcBaselinePhoneIphone.js +0 -16
  1152. package/dist/ui/icons/IcBaselineWifiTethering.d.ts +0 -2
  1153. package/dist/ui/icons/IcBaselineWifiTethering.js +0 -26
  1154. package/dist/ui/icons/IcOutlineArchive.d.ts +0 -2
  1155. package/dist/ui/icons/IcOutlineArchive.js +0 -26
  1156. package/dist/ui/icons/IcOutlineArrowCircleRight.d.ts +0 -2
  1157. package/dist/ui/icons/IcOutlineArrowCircleRight.js +0 -16
  1158. package/dist/ui/icons/IcOutlineAvTimer.d.ts +0 -2
  1159. package/dist/ui/icons/IcOutlineAvTimer.js +0 -26
  1160. package/dist/ui/icons/IcOutlineCloudUpload.d.ts +0 -2
  1161. package/dist/ui/icons/IcOutlineCloudUpload.js +0 -26
  1162. package/dist/ui/icons/IcOutlineDarkMode.d.ts +0 -2
  1163. package/dist/ui/icons/IcOutlineDarkMode.js +0 -16
  1164. package/dist/ui/icons/IcOutlineDescription.d.ts +0 -2
  1165. package/dist/ui/icons/IcOutlineDescription.js +0 -26
  1166. package/dist/ui/icons/IcOutlineDrafts.d.ts +0 -2
  1167. package/dist/ui/icons/IcOutlineDrafts.js +0 -26
  1168. package/dist/ui/icons/IcOutlineFolder.d.ts +0 -2
  1169. package/dist/ui/icons/IcOutlineFolder.js +0 -26
  1170. package/dist/ui/icons/IcOutlineInsertDriveFile.d.ts +0 -2
  1171. package/dist/ui/icons/IcOutlineInsertDriveFile.js +0 -26
  1172. package/dist/ui/icons/IcOutlineKeyboardTab.d.ts +0 -2
  1173. package/dist/ui/icons/IcOutlineKeyboardTab.js +0 -26
  1174. package/dist/ui/icons/IcOutlineLightMode.d.ts +0 -2
  1175. package/dist/ui/icons/IcOutlineLightMode.js +0 -16
  1176. package/dist/ui/icons/IcOutlineList.d.ts +0 -3
  1177. package/dist/ui/icons/IcOutlineList.js +0 -18
  1178. package/dist/ui/icons/IcOutlineLock.d.ts +0 -2
  1179. package/dist/ui/icons/IcOutlineLock.js +0 -26
  1180. package/dist/ui/icons/IcOutlineMoreHoriz.d.ts +0 -3
  1181. package/dist/ui/icons/IcOutlineMoreHoriz.js +0 -18
  1182. package/dist/ui/icons/IcOutlinePreview.d.ts +0 -2
  1183. package/dist/ui/icons/IcOutlinePreview.js +0 -16
  1184. package/dist/ui/icons/IcOutlineRemoveRedEye.d.ts +0 -2
  1185. package/dist/ui/icons/IcOutlineRemoveRedEye.js +0 -26
  1186. package/dist/ui/icons/IcOutlineScreenshot.d.ts +0 -2
  1187. package/dist/ui/icons/IcOutlineScreenshot.js +0 -16
  1188. package/dist/ui/icons/IcOutlineTableRows.d.ts +0 -2
  1189. package/dist/ui/icons/IcOutlineTableRows.js +0 -26
  1190. package/dist/ui/icons/IcRoundAdd.d.ts +0 -2
  1191. package/dist/ui/icons/IcRoundAdd.js +0 -16
  1192. package/dist/ui/icons/IcRoundAddCircle.d.ts +0 -3
  1193. package/dist/ui/icons/IcRoundAddCircle.js +0 -18
  1194. package/dist/ui/icons/IcRoundAddCircleOutline.d.ts +0 -2
  1195. package/dist/ui/icons/IcRoundAddCircleOutline.js +0 -16
  1196. package/dist/ui/icons/IcRoundArchive.d.ts +0 -2
  1197. package/dist/ui/icons/IcRoundArchive.js +0 -16
  1198. package/dist/ui/icons/IcRoundArrowBack.d.ts +0 -2
  1199. package/dist/ui/icons/IcRoundArrowBack.js +0 -16
  1200. package/dist/ui/icons/IcRoundArrowDownward.d.ts +0 -2
  1201. package/dist/ui/icons/IcRoundArrowDownward.js +0 -26
  1202. package/dist/ui/icons/IcRoundArrowDropDown.d.ts +0 -3
  1203. package/dist/ui/icons/IcRoundArrowDropDown.js +0 -18
  1204. package/dist/ui/icons/IcRoundArrowDropDownCircle.d.ts +0 -3
  1205. package/dist/ui/icons/IcRoundArrowDropDownCircle.js +0 -18
  1206. package/dist/ui/icons/IcRoundArrowDropUp.d.ts +0 -3
  1207. package/dist/ui/icons/IcRoundArrowDropUp.js +0 -18
  1208. package/dist/ui/icons/IcRoundArrowForward.d.ts +0 -2
  1209. package/dist/ui/icons/IcRoundArrowForward.js +0 -16
  1210. package/dist/ui/icons/IcRoundArrowUpward.d.ts +0 -2
  1211. package/dist/ui/icons/IcRoundArrowUpward.js +0 -26
  1212. package/dist/ui/icons/IcRoundAttachFile.d.ts +0 -2
  1213. package/dist/ui/icons/IcRoundAttachFile.js +0 -10
  1214. package/dist/ui/icons/IcRoundCheck.d.ts +0 -2
  1215. package/dist/ui/icons/IcRoundCheck.js +0 -16
  1216. package/dist/ui/icons/IcRoundCheckBox.d.ts +0 -2
  1217. package/dist/ui/icons/IcRoundCheckBox.js +0 -16
  1218. package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.d.ts +0 -2
  1219. package/dist/ui/icons/IcRoundCheckBoxOutlineBlank.js +0 -16
  1220. package/dist/ui/icons/IcRoundChevronRight.d.ts +0 -2
  1221. package/dist/ui/icons/IcRoundChevronRight.js +0 -26
  1222. package/dist/ui/icons/IcRoundDescription.d.ts +0 -2
  1223. package/dist/ui/icons/IcRoundDescription.js +0 -26
  1224. package/dist/ui/icons/IcRoundDragHandle.d.ts +0 -3
  1225. package/dist/ui/icons/IcRoundDragHandle.js +0 -18
  1226. package/dist/ui/icons/IcRoundExitToApp.d.ts +0 -2
  1227. package/dist/ui/icons/IcRoundExitToApp.js +0 -26
  1228. package/dist/ui/icons/IcRoundFeed.d.ts +0 -2
  1229. package/dist/ui/icons/IcRoundFeed.js +0 -16
  1230. package/dist/ui/icons/IcRoundFormatBold.d.ts +0 -3
  1231. package/dist/ui/icons/IcRoundFormatBold.js +0 -18
  1232. package/dist/ui/icons/IcRoundFormatClear.d.ts +0 -3
  1233. package/dist/ui/icons/IcRoundFormatClear.js +0 -18
  1234. package/dist/ui/icons/IcRoundFormatItalic.d.ts +0 -3
  1235. package/dist/ui/icons/IcRoundFormatItalic.js +0 -18
  1236. package/dist/ui/icons/IcRoundFormatListBulleted.d.ts +0 -3
  1237. package/dist/ui/icons/IcRoundFormatListBulleted.js +0 -18
  1238. package/dist/ui/icons/IcRoundFormatPaint.d.ts +0 -2
  1239. package/dist/ui/icons/IcRoundFormatPaint.js +0 -10
  1240. package/dist/ui/icons/IcRoundHamburger.d.ts +0 -3
  1241. package/dist/ui/icons/IcRoundHamburger.js +0 -18
  1242. package/dist/ui/icons/IcRoundHdrStrong.d.ts +0 -3
  1243. package/dist/ui/icons/IcRoundHdrStrong.js +0 -18
  1244. package/dist/ui/icons/IcRoundHorizontalRule.d.ts +0 -3
  1245. package/dist/ui/icons/IcRoundHorizontalRule.js +0 -19
  1246. package/dist/ui/icons/IcRoundInsertDriveFile.d.ts +0 -2
  1247. package/dist/ui/icons/IcRoundInsertDriveFile.js +0 -16
  1248. package/dist/ui/icons/IcRoundKeyboardArrowDown.d.ts +0 -2
  1249. package/dist/ui/icons/IcRoundKeyboardArrowDown.js +0 -16
  1250. package/dist/ui/icons/IcRoundKeyboardArrowLeft.d.ts +0 -3
  1251. package/dist/ui/icons/IcRoundKeyboardArrowLeft.js +0 -18
  1252. package/dist/ui/icons/IcRoundKeyboardArrowRight.d.ts +0 -2
  1253. package/dist/ui/icons/IcRoundKeyboardArrowRight.js +0 -16
  1254. package/dist/ui/icons/IcRoundKeyboardArrowUp.d.ts +0 -2
  1255. package/dist/ui/icons/IcRoundKeyboardArrowUp.js +0 -16
  1256. package/dist/ui/icons/IcRoundLanguage.d.ts +0 -2
  1257. package/dist/ui/icons/IcRoundLanguage.js +0 -16
  1258. package/dist/ui/icons/IcRoundLastPage.d.ts +0 -2
  1259. package/dist/ui/icons/IcRoundLastPage.js +0 -26
  1260. package/dist/ui/icons/IcRoundLock.d.ts +0 -3
  1261. package/dist/ui/icons/IcRoundLock.js +0 -18
  1262. package/dist/ui/icons/IcRoundMenu.d.ts +0 -2
  1263. package/dist/ui/icons/IcRoundMenu.js +0 -16
  1264. package/dist/ui/icons/IcRoundMoreHoriz.d.ts +0 -2
  1265. package/dist/ui/icons/IcRoundMoreHoriz.js +0 -16
  1266. package/dist/ui/icons/IcRoundMoreVert.d.ts +0 -2
  1267. package/dist/ui/icons/IcRoundMoreVert.js +0 -26
  1268. package/dist/ui/icons/IcRoundNorthEast.d.ts +0 -2
  1269. package/dist/ui/icons/IcRoundNorthEast.js +0 -16
  1270. package/dist/ui/icons/IcRoundNotes.d.ts +0 -2
  1271. package/dist/ui/icons/IcRoundNotes.js +0 -16
  1272. package/dist/ui/icons/IcRoundNumbers.d.ts +0 -2
  1273. package/dist/ui/icons/IcRoundNumbers.js +0 -16
  1274. package/dist/ui/icons/IcRoundPermMedia.d.ts +0 -2
  1275. package/dist/ui/icons/IcRoundPermMedia.js +0 -25
  1276. package/dist/ui/icons/IcRoundPublish.d.ts +0 -2
  1277. package/dist/ui/icons/IcRoundPublish.js +0 -16
  1278. package/dist/ui/icons/IcRoundPublishedWithChanges.d.ts +0 -2
  1279. package/dist/ui/icons/IcRoundPublishedWithChanges.js +0 -26
  1280. package/dist/ui/icons/IcRoundQuote.d.ts +0 -2
  1281. package/dist/ui/icons/IcRoundQuote.js +0 -16
  1282. package/dist/ui/icons/IcRoundRedo.d.ts +0 -3
  1283. package/dist/ui/icons/IcRoundRedo.js +0 -18
  1284. package/dist/ui/icons/IcRoundRemoveCircleOutline.d.ts +0 -2
  1285. package/dist/ui/icons/IcRoundRemoveCircleOutline.js +0 -16
  1286. package/dist/ui/icons/IcRoundRotateLeft.d.ts +0 -2
  1287. package/dist/ui/icons/IcRoundRotateLeft.js +0 -16
  1288. package/dist/ui/icons/IcRoundSend.d.ts +0 -2
  1289. package/dist/ui/icons/IcRoundSend.js +0 -26
  1290. package/dist/ui/icons/IcRoundSouthWest.d.ts +0 -2
  1291. package/dist/ui/icons/IcRoundSouthWest.js +0 -16
  1292. package/dist/ui/icons/IcRoundSubscript.d.ts +0 -2
  1293. package/dist/ui/icons/IcRoundSubscript.js +0 -26
  1294. package/dist/ui/icons/IcRoundSuperscript.d.ts +0 -2
  1295. package/dist/ui/icons/IcRoundSuperscript.js +0 -26
  1296. package/dist/ui/icons/IcRoundTabletMac.d.ts +0 -2
  1297. package/dist/ui/icons/IcRoundTabletMac.js +0 -16
  1298. package/dist/ui/icons/IcRoundTextFields.d.ts +0 -2
  1299. package/dist/ui/icons/IcRoundTextFields.js +0 -16
  1300. package/dist/ui/icons/IcRoundTranslate.d.ts +0 -2
  1301. package/dist/ui/icons/IcRoundTranslate.js +0 -26
  1302. package/dist/ui/icons/IcRoundUndo.d.ts +0 -3
  1303. package/dist/ui/icons/IcRoundUndo.js +0 -18
  1304. package/dist/ui/icons/IcRoundUnfoldLess.d.ts +0 -2
  1305. package/dist/ui/icons/IcRoundUnfoldLess.js +0 -26
  1306. package/dist/ui/icons/IcRoundUnfoldMore.d.ts +0 -2
  1307. package/dist/ui/icons/IcRoundUnfoldMore.js +0 -16
  1308. package/dist/ui/icons/IcRoundUploadFile.d.ts +0 -3
  1309. package/dist/ui/icons/IcRoundUploadFile.js +0 -18
  1310. package/dist/ui/icons/IcRoundVisibilityOff.d.ts +0 -2
  1311. package/dist/ui/icons/IcRoundVisibilityOff.js +0 -16
  1312. package/dist/ui/icons/IcRoundWarning.d.ts +0 -2
  1313. package/dist/ui/icons/IcRoundWarning.js +0 -16
  1314. package/dist/ui/icons/IcSharpBrightnessMedium.d.ts +0 -2
  1315. package/dist/ui/icons/IcSharpBrightnessMedium.js +0 -16
  1316. package/dist/ui/icons/IcSharpVerticalAlignCenter.d.ts +0 -2
  1317. package/dist/ui/icons/IcSharpVerticalAlignCenter.js +0 -16
  1318. package/dist/ui/icons/IcTwotoneDescription.d.ts +0 -2
  1319. package/dist/ui/icons/IcTwotoneDescription.js +0 -37
  1320. package/dist/ui/icons/IcTwotoneFolder.d.ts +0 -2
  1321. package/dist/ui/icons/IcTwotoneFolder.js +0 -37
  1322. package/dist/ui/icons/IcTwotoneInsertDriveFile.d.ts +0 -2
  1323. package/dist/ui/icons/IcTwotoneInsertDriveFile.js +0 -30
  1324. package/dist/ui/icons/MdiGithub.d.ts +0 -3
  1325. package/dist/ui/icons/MdiGithub.js +0 -18
  1326. package/dist/ui/icons/MdiSourceBranch.d.ts +0 -2
  1327. package/dist/ui/icons/MdiSourceBranch.js +0 -16
  1328. package/dist/ui/icons/MdiTwitterCircle.d.ts +0 -2
  1329. package/dist/ui/icons/MdiTwitterCircle.js +0 -26
  1330. package/dist/ui/icons/MiLayers.d.ts +0 -3
  1331. package/dist/ui/icons/MiLayers.js +0 -16
  1332. package/dist/ui/icons/PhGlobe.d.ts +0 -2
  1333. package/dist/ui/icons/PhGlobe.js +0 -26
  1334. package/dist/ui/icons/RiFlashlightFill.d.ts +0 -2
  1335. package/dist/ui/icons/RiFlashlightFill.js +0 -10
  1336. package/dist/ui/icons/TableDelete.d.ts +0 -2
  1337. package/dist/ui/icons/TableDelete.js +0 -25
  1338. package/dist/ui/icons/TableDeleteColumn.d.ts +0 -2
  1339. package/dist/ui/icons/TableDeleteColumn.js +0 -16
  1340. package/dist/ui/icons/TableDeleteRow.d.ts +0 -2
  1341. package/dist/ui/icons/TableDeleteRow.js +0 -16
  1342. package/dist/ui/icons/TableHeaderCell.d.ts +0 -2
  1343. package/dist/ui/icons/TableHeaderCell.js +0 -16
  1344. package/dist/ui/icons/TableHeaderColumn.d.ts +0 -2
  1345. package/dist/ui/icons/TableHeaderColumn.js +0 -16
  1346. package/dist/ui/icons/TableHeaderRow.d.ts +0 -2
  1347. package/dist/ui/icons/TableHeaderRow.js +0 -16
  1348. package/dist/ui/icons/TableInsertColumnAfter.d.ts +0 -2
  1349. package/dist/ui/icons/TableInsertColumnAfter.js +0 -16
  1350. package/dist/ui/icons/TableInsertColumnBefore.d.ts +0 -2
  1351. package/dist/ui/icons/TableInsertColumnBefore.js +0 -16
  1352. package/dist/ui/icons/TableInsertRowAfter.d.ts +0 -2
  1353. package/dist/ui/icons/TableInsertRowAfter.js +0 -16
  1354. package/dist/ui/icons/TableInsertRowBefore.d.ts +0 -2
  1355. package/dist/ui/icons/TableInsertRowBefore.js +0 -16
  1356. package/dist/ui/icons/TableMergeCells.d.ts +0 -2
  1357. package/dist/ui/icons/TableMergeCells.js +0 -16
  1358. package/dist/ui/icons/TableSplitCell.d.ts +0 -2
  1359. package/dist/ui/icons/TableSplitCell.js +0 -16
  1360. package/dist/ui/util/ContrastColor.d.ts +0 -1
  1361. package/dist/ui/util/ContrastColor.js +0 -17
  1362. package/dist/ui/util/CreateTypo.d.ts +0 -62
  1363. package/dist/ui/util/CreateTypo.js +0 -119
  1364. package/dist/ui/util/Elevation.d.ts +0 -12
  1365. package/dist/ui/util/Elevation.js +0 -20
  1366. package/dist/ui/util/PropsWithAs.d.ts +0 -12
  1367. package/dist/ui/util/PropsWithAs.js +0 -10
  1368. package/dist/ui/util/Slots.d.ts +0 -11
  1369. package/dist/ui/util/Slots.js +0 -50
  1370. package/dist/ui/util/TextareaAutosize.d.ts +0 -2
  1371. package/dist/ui/util/TextareaAutosize.js +0 -40
  1372. package/dist/ui/util/Units.d.ts +0 -1
  1373. package/dist/ui/util/Units.js +0 -7
  1374. package/dist/ui/util/UseId.d.ts +0 -1
  1375. package/dist/ui/util/UseId.js +0 -11
  1376. package/dist/yjs.d.ts +0 -1
  1377. package/dist/yjs.js +0 -206
  1378. /package/dist/{core/Shape.js → chunks/chunk-NUFRM6SI.js} +0 -0
  1379. /package/dist/{backend/Handler.test.d.ts → dashboard/app/EntrySidebarPreview.spec.d.ts} +0 -0
  1380. /package/dist/{backend/router/Router.test.d.ts → dashboard/app/WorkspaceMenu.spec.d.ts} +0 -0
  1381. /package/dist/{cli/Init.test.d.ts → field/link/LinkField.spec.d.ts} +0 -0
  1382. /package/dist/{cli/util/CommitMessage.test.d.ts → field/list/ListField.spec.d.ts} +0 -0
  1383. /package/dist/{core/Config.test.d.ts → field/richtext/RichTextField.spec.d.ts} +0 -0
@@ -1,2230 +0,0 @@
1
- import {
2
- esm_default
3
- } from "../../../chunks/chunk-G2AFWRAD.js";
4
- import {
5
- dist_default
6
- } from "../../../chunks/chunk-A5O3N2GS.js";
7
- import {
8
- useAtomValue
9
- } from "../../../chunks/chunk-TOJF2G3X.js";
10
- import "../../../chunks/chunk-WJ67RR7S.js";
11
- import {
12
- useQuery,
13
- useQueryClient
14
- } from "../../../chunks/chunk-YWCPLD22.js";
15
- import {
16
- __commonJS,
17
- __toESM
18
- } from "../../../chunks/chunk-NZLE2WMY.js";
19
-
20
- // node_modules/react-is/cjs/react-is.production.min.js
21
- var require_react_is_production_min = __commonJS({
22
- "node_modules/react-is/cjs/react-is.production.min.js"(exports) {
23
- "use strict";
24
- var b = "function" === typeof Symbol && Symbol.for;
25
- var c = b ? Symbol.for("react.element") : 60103;
26
- var d = b ? Symbol.for("react.portal") : 60106;
27
- var e3 = b ? Symbol.for("react.fragment") : 60107;
28
- var f = b ? Symbol.for("react.strict_mode") : 60108;
29
- var g = b ? Symbol.for("react.profiler") : 60114;
30
- var h = b ? Symbol.for("react.provider") : 60109;
31
- var k = b ? Symbol.for("react.context") : 60110;
32
- var l = b ? Symbol.for("react.async_mode") : 60111;
33
- var m = b ? Symbol.for("react.concurrent_mode") : 60111;
34
- var n = b ? Symbol.for("react.forward_ref") : 60112;
35
- var p = b ? Symbol.for("react.suspense") : 60113;
36
- var q = b ? Symbol.for("react.suspense_list") : 60120;
37
- var r = b ? Symbol.for("react.memo") : 60115;
38
- var t3 = b ? Symbol.for("react.lazy") : 60116;
39
- var v = b ? Symbol.for("react.block") : 60121;
40
- var w = b ? Symbol.for("react.fundamental") : 60117;
41
- var x = b ? Symbol.for("react.responder") : 60118;
42
- var y = b ? Symbol.for("react.scope") : 60119;
43
- function z(a) {
44
- if ("object" === typeof a && null !== a) {
45
- var u = a.$$typeof;
46
- switch (u) {
47
- case c:
48
- switch (a = a.type, a) {
49
- case l:
50
- case m:
51
- case e3:
52
- case g:
53
- case f:
54
- case p:
55
- return a;
56
- default:
57
- switch (a = a && a.$$typeof, a) {
58
- case k:
59
- case n:
60
- case t3:
61
- case r:
62
- case h:
63
- return a;
64
- default:
65
- return u;
66
- }
67
- }
68
- case d:
69
- return u;
70
- }
71
- }
72
- }
73
- function A(a) {
74
- return z(a) === m;
75
- }
76
- exports.AsyncMode = l;
77
- exports.ConcurrentMode = m;
78
- exports.ContextConsumer = k;
79
- exports.ContextProvider = h;
80
- exports.Element = c;
81
- exports.ForwardRef = n;
82
- exports.Fragment = e3;
83
- exports.Lazy = t3;
84
- exports.Memo = r;
85
- exports.Portal = d;
86
- exports.Profiler = g;
87
- exports.StrictMode = f;
88
- exports.Suspense = p;
89
- exports.isAsyncMode = function(a) {
90
- return A(a) || z(a) === l;
91
- };
92
- exports.isConcurrentMode = A;
93
- exports.isContextConsumer = function(a) {
94
- return z(a) === k;
95
- };
96
- exports.isContextProvider = function(a) {
97
- return z(a) === h;
98
- };
99
- exports.isElement = function(a) {
100
- return "object" === typeof a && null !== a && a.$$typeof === c;
101
- };
102
- exports.isForwardRef = function(a) {
103
- return z(a) === n;
104
- };
105
- exports.isFragment = function(a) {
106
- return z(a) === e3;
107
- };
108
- exports.isLazy = function(a) {
109
- return z(a) === t3;
110
- };
111
- exports.isMemo = function(a) {
112
- return z(a) === r;
113
- };
114
- exports.isPortal = function(a) {
115
- return z(a) === d;
116
- };
117
- exports.isProfiler = function(a) {
118
- return z(a) === g;
119
- };
120
- exports.isStrictMode = function(a) {
121
- return z(a) === f;
122
- };
123
- exports.isSuspense = function(a) {
124
- return z(a) === p;
125
- };
126
- exports.isValidElementType = function(a) {
127
- return "string" === typeof a || "function" === typeof a || a === e3 || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t3 || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
128
- };
129
- exports.typeOf = z;
130
- }
131
- });
132
-
133
- // node_modules/react-is/cjs/react-is.development.js
134
- var require_react_is_development = __commonJS({
135
- "node_modules/react-is/cjs/react-is.development.js"(exports) {
136
- "use strict";
137
- if (process.env.NODE_ENV !== "production") {
138
- (function() {
139
- "use strict";
140
- var hasSymbol = typeof Symbol === "function" && Symbol.for;
141
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
142
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
143
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
144
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
145
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
146
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
147
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
148
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
149
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
150
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
151
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
152
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
153
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
154
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
155
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
156
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
157
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
158
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
159
- function isValidElementType(type) {
160
- return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
161
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
162
- }
163
- function typeOf(object2) {
164
- if (typeof object2 === "object" && object2 !== null) {
165
- var $$typeof = object2.$$typeof;
166
- switch ($$typeof) {
167
- case REACT_ELEMENT_TYPE:
168
- var type = object2.type;
169
- switch (type) {
170
- case REACT_ASYNC_MODE_TYPE:
171
- case REACT_CONCURRENT_MODE_TYPE:
172
- case REACT_FRAGMENT_TYPE:
173
- case REACT_PROFILER_TYPE:
174
- case REACT_STRICT_MODE_TYPE:
175
- case REACT_SUSPENSE_TYPE:
176
- return type;
177
- default:
178
- var $$typeofType = type && type.$$typeof;
179
- switch ($$typeofType) {
180
- case REACT_CONTEXT_TYPE:
181
- case REACT_FORWARD_REF_TYPE:
182
- case REACT_LAZY_TYPE:
183
- case REACT_MEMO_TYPE:
184
- case REACT_PROVIDER_TYPE:
185
- return $$typeofType;
186
- default:
187
- return $$typeof;
188
- }
189
- }
190
- case REACT_PORTAL_TYPE:
191
- return $$typeof;
192
- }
193
- }
194
- return void 0;
195
- }
196
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
197
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
198
- var ContextConsumer = REACT_CONTEXT_TYPE;
199
- var ContextProvider = REACT_PROVIDER_TYPE;
200
- var Element2 = REACT_ELEMENT_TYPE;
201
- var ForwardRef = REACT_FORWARD_REF_TYPE;
202
- var Fragment = REACT_FRAGMENT_TYPE;
203
- var Lazy = REACT_LAZY_TYPE;
204
- var Memo = REACT_MEMO_TYPE;
205
- var Portal = REACT_PORTAL_TYPE;
206
- var Profiler = REACT_PROFILER_TYPE;
207
- var StrictMode = REACT_STRICT_MODE_TYPE;
208
- var Suspense = REACT_SUSPENSE_TYPE;
209
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
210
- function isAsyncMode(object2) {
211
- {
212
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
213
- hasWarnedAboutDeprecatedIsAsyncMode = true;
214
- console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
215
- }
216
- }
217
- return isConcurrentMode(object2) || typeOf(object2) === REACT_ASYNC_MODE_TYPE;
218
- }
219
- function isConcurrentMode(object2) {
220
- return typeOf(object2) === REACT_CONCURRENT_MODE_TYPE;
221
- }
222
- function isContextConsumer(object2) {
223
- return typeOf(object2) === REACT_CONTEXT_TYPE;
224
- }
225
- function isContextProvider(object2) {
226
- return typeOf(object2) === REACT_PROVIDER_TYPE;
227
- }
228
- function isElement2(object2) {
229
- return typeof object2 === "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
230
- }
231
- function isForwardRef(object2) {
232
- return typeOf(object2) === REACT_FORWARD_REF_TYPE;
233
- }
234
- function isFragment(object2) {
235
- return typeOf(object2) === REACT_FRAGMENT_TYPE;
236
- }
237
- function isLazy(object2) {
238
- return typeOf(object2) === REACT_LAZY_TYPE;
239
- }
240
- function isMemo(object2) {
241
- return typeOf(object2) === REACT_MEMO_TYPE;
242
- }
243
- function isPortal(object2) {
244
- return typeOf(object2) === REACT_PORTAL_TYPE;
245
- }
246
- function isProfiler(object2) {
247
- return typeOf(object2) === REACT_PROFILER_TYPE;
248
- }
249
- function isStrictMode(object2) {
250
- return typeOf(object2) === REACT_STRICT_MODE_TYPE;
251
- }
252
- function isSuspense(object2) {
253
- return typeOf(object2) === REACT_SUSPENSE_TYPE;
254
- }
255
- exports.AsyncMode = AsyncMode;
256
- exports.ConcurrentMode = ConcurrentMode;
257
- exports.ContextConsumer = ContextConsumer;
258
- exports.ContextProvider = ContextProvider;
259
- exports.Element = Element2;
260
- exports.ForwardRef = ForwardRef;
261
- exports.Fragment = Fragment;
262
- exports.Lazy = Lazy;
263
- exports.Memo = Memo;
264
- exports.Portal = Portal;
265
- exports.Profiler = Profiler;
266
- exports.StrictMode = StrictMode;
267
- exports.Suspense = Suspense;
268
- exports.isAsyncMode = isAsyncMode;
269
- exports.isConcurrentMode = isConcurrentMode;
270
- exports.isContextConsumer = isContextConsumer;
271
- exports.isContextProvider = isContextProvider;
272
- exports.isElement = isElement2;
273
- exports.isForwardRef = isForwardRef;
274
- exports.isFragment = isFragment;
275
- exports.isLazy = isLazy;
276
- exports.isMemo = isMemo;
277
- exports.isPortal = isPortal;
278
- exports.isProfiler = isProfiler;
279
- exports.isStrictMode = isStrictMode;
280
- exports.isSuspense = isSuspense;
281
- exports.isValidElementType = isValidElementType;
282
- exports.typeOf = typeOf;
283
- })();
284
- }
285
- }
286
- });
287
-
288
- // node_modules/react-is/index.js
289
- var require_react_is = __commonJS({
290
- "node_modules/react-is/index.js"(exports, module) {
291
- "use strict";
292
- if (process.env.NODE_ENV === "production") {
293
- module.exports = require_react_is_production_min();
294
- } else {
295
- module.exports = require_react_is_development();
296
- }
297
- }
298
- });
299
-
300
- // node_modules/object-assign/index.js
301
- var require_object_assign = __commonJS({
302
- "node_modules/object-assign/index.js"(exports, module) {
303
- "use strict";
304
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
305
- var hasOwnProperty = Object.prototype.hasOwnProperty;
306
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
307
- function toObject(val) {
308
- if (val === null || val === void 0) {
309
- throw new TypeError("Object.assign cannot be called with null or undefined");
310
- }
311
- return Object(val);
312
- }
313
- function shouldUseNative() {
314
- try {
315
- if (!Object.assign) {
316
- return false;
317
- }
318
- var test1 = new String("abc");
319
- test1[5] = "de";
320
- if (Object.getOwnPropertyNames(test1)[0] === "5") {
321
- return false;
322
- }
323
- var test2 = {};
324
- for (var i2 = 0; i2 < 10; i2++) {
325
- test2["_" + String.fromCharCode(i2)] = i2;
326
- }
327
- var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
328
- return test2[n];
329
- });
330
- if (order2.join("") !== "0123456789") {
331
- return false;
332
- }
333
- var test3 = {};
334
- "abcdefghijklmnopqrst".split("").forEach(function(letter) {
335
- test3[letter] = letter;
336
- });
337
- if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
338
- return false;
339
- }
340
- return true;
341
- } catch (err) {
342
- return false;
343
- }
344
- }
345
- module.exports = shouldUseNative() ? Object.assign : function(target, source) {
346
- var from;
347
- var to = toObject(target);
348
- var symbols;
349
- for (var s = 1; s < arguments.length; s++) {
350
- from = Object(arguments[s]);
351
- for (var key in from) {
352
- if (hasOwnProperty.call(from, key)) {
353
- to[key] = from[key];
354
- }
355
- }
356
- if (getOwnPropertySymbols) {
357
- symbols = getOwnPropertySymbols(from);
358
- for (var i2 = 0; i2 < symbols.length; i2++) {
359
- if (propIsEnumerable.call(from, symbols[i2])) {
360
- to[symbols[i2]] = from[symbols[i2]];
361
- }
362
- }
363
- }
364
- }
365
- return to;
366
- };
367
- }
368
- });
369
-
370
- // node_modules/prop-types/lib/ReactPropTypesSecret.js
371
- var require_ReactPropTypesSecret = __commonJS({
372
- "node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
373
- "use strict";
374
- var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
375
- module.exports = ReactPropTypesSecret;
376
- }
377
- });
378
-
379
- // node_modules/prop-types/lib/has.js
380
- var require_has = __commonJS({
381
- "node_modules/prop-types/lib/has.js"(exports, module) {
382
- module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
383
- }
384
- });
385
-
386
- // node_modules/prop-types/checkPropTypes.js
387
- var require_checkPropTypes = __commonJS({
388
- "node_modules/prop-types/checkPropTypes.js"(exports, module) {
389
- "use strict";
390
- var printWarning = function() {
391
- };
392
- if (process.env.NODE_ENV !== "production") {
393
- ReactPropTypesSecret = require_ReactPropTypesSecret();
394
- loggedTypeFailures = {};
395
- has = require_has();
396
- printWarning = function(text) {
397
- var message = "Warning: " + text;
398
- if (typeof console !== "undefined") {
399
- console.error(message);
400
- }
401
- try {
402
- throw new Error(message);
403
- } catch (x) {
404
- }
405
- };
406
- }
407
- var ReactPropTypesSecret;
408
- var loggedTypeFailures;
409
- var has;
410
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
411
- if (process.env.NODE_ENV !== "production") {
412
- for (var typeSpecName in typeSpecs) {
413
- if (has(typeSpecs, typeSpecName)) {
414
- var error;
415
- try {
416
- if (typeof typeSpecs[typeSpecName] !== "function") {
417
- var err = Error(
418
- (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
419
- );
420
- err.name = "Invariant Violation";
421
- throw err;
422
- }
423
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
424
- } catch (ex) {
425
- error = ex;
426
- }
427
- if (error && !(error instanceof Error)) {
428
- printWarning(
429
- (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
430
- );
431
- }
432
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
433
- loggedTypeFailures[error.message] = true;
434
- var stack = getStack ? getStack() : "";
435
- printWarning(
436
- "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
437
- );
438
- }
439
- }
440
- }
441
- }
442
- }
443
- checkPropTypes.resetWarningCache = function() {
444
- if (process.env.NODE_ENV !== "production") {
445
- loggedTypeFailures = {};
446
- }
447
- };
448
- module.exports = checkPropTypes;
449
- }
450
- });
451
-
452
- // node_modules/prop-types/factoryWithTypeCheckers.js
453
- var require_factoryWithTypeCheckers = __commonJS({
454
- "node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
455
- "use strict";
456
- var ReactIs = require_react_is();
457
- var assign = require_object_assign();
458
- var ReactPropTypesSecret = require_ReactPropTypesSecret();
459
- var has = require_has();
460
- var checkPropTypes = require_checkPropTypes();
461
- var printWarning = function() {
462
- };
463
- if (process.env.NODE_ENV !== "production") {
464
- printWarning = function(text) {
465
- var message = "Warning: " + text;
466
- if (typeof console !== "undefined") {
467
- console.error(message);
468
- }
469
- try {
470
- throw new Error(message);
471
- } catch (x) {
472
- }
473
- };
474
- }
475
- function emptyFunctionThatReturnsNull() {
476
- return null;
477
- }
478
- module.exports = function(isValidElement, throwOnDirectAccess) {
479
- var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
480
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
481
- function getIteratorFn(maybeIterable) {
482
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
483
- if (typeof iteratorFn === "function") {
484
- return iteratorFn;
485
- }
486
- }
487
- var ANONYMOUS = "<<anonymous>>";
488
- var ReactPropTypes = {
489
- array: createPrimitiveTypeChecker("array"),
490
- bigint: createPrimitiveTypeChecker("bigint"),
491
- bool: createPrimitiveTypeChecker("boolean"),
492
- func: createPrimitiveTypeChecker("function"),
493
- number: createPrimitiveTypeChecker("number"),
494
- object: createPrimitiveTypeChecker("object"),
495
- string: createPrimitiveTypeChecker("string"),
496
- symbol: createPrimitiveTypeChecker("symbol"),
497
- any: createAnyTypeChecker(),
498
- arrayOf: createArrayOfTypeChecker,
499
- element: createElementTypeChecker(),
500
- elementType: createElementTypeTypeChecker(),
501
- instanceOf: createInstanceTypeChecker,
502
- node: createNodeChecker(),
503
- objectOf: createObjectOfTypeChecker,
504
- oneOf: createEnumTypeChecker,
505
- oneOfType: createUnionTypeChecker,
506
- shape: createShapeTypeChecker,
507
- exact: createStrictShapeTypeChecker
508
- };
509
- function is(x, y) {
510
- if (x === y) {
511
- return x !== 0 || 1 / x === 1 / y;
512
- } else {
513
- return x !== x && y !== y;
514
- }
515
- }
516
- function PropTypeError(message, data) {
517
- this.message = message;
518
- this.data = data && typeof data === "object" ? data : {};
519
- this.stack = "";
520
- }
521
- PropTypeError.prototype = Error.prototype;
522
- function createChainableTypeChecker(validate) {
523
- if (process.env.NODE_ENV !== "production") {
524
- var manualPropTypeCallCache = {};
525
- var manualPropTypeWarningCount = 0;
526
- }
527
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
528
- componentName = componentName || ANONYMOUS;
529
- propFullName = propFullName || propName;
530
- if (secret !== ReactPropTypesSecret) {
531
- if (throwOnDirectAccess) {
532
- var err = new Error(
533
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
534
- );
535
- err.name = "Invariant Violation";
536
- throw err;
537
- } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
538
- var cacheKey = componentName + ":" + propName;
539
- if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
540
- manualPropTypeWarningCount < 3) {
541
- printWarning(
542
- "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
543
- );
544
- manualPropTypeCallCache[cacheKey] = true;
545
- manualPropTypeWarningCount++;
546
- }
547
- }
548
- }
549
- if (props[propName] == null) {
550
- if (isRequired) {
551
- if (props[propName] === null) {
552
- return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
553
- }
554
- return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
555
- }
556
- return null;
557
- } else {
558
- return validate(props, propName, componentName, location, propFullName);
559
- }
560
- }
561
- var chainedCheckType = checkType.bind(null, false);
562
- chainedCheckType.isRequired = checkType.bind(null, true);
563
- return chainedCheckType;
564
- }
565
- function createPrimitiveTypeChecker(expectedType) {
566
- function validate(props, propName, componentName, location, propFullName, secret) {
567
- var propValue = props[propName];
568
- var propType = getPropType(propValue);
569
- if (propType !== expectedType) {
570
- var preciseType = getPreciseType(propValue);
571
- return new PropTypeError(
572
- "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
573
- { expectedType }
574
- );
575
- }
576
- return null;
577
- }
578
- return createChainableTypeChecker(validate);
579
- }
580
- function createAnyTypeChecker() {
581
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
582
- }
583
- function createArrayOfTypeChecker(typeChecker) {
584
- function validate(props, propName, componentName, location, propFullName) {
585
- if (typeof typeChecker !== "function") {
586
- return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
587
- }
588
- var propValue = props[propName];
589
- if (!Array.isArray(propValue)) {
590
- var propType = getPropType(propValue);
591
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
592
- }
593
- for (var i2 = 0; i2 < propValue.length; i2++) {
594
- var error = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
595
- if (error instanceof Error) {
596
- return error;
597
- }
598
- }
599
- return null;
600
- }
601
- return createChainableTypeChecker(validate);
602
- }
603
- function createElementTypeChecker() {
604
- function validate(props, propName, componentName, location, propFullName) {
605
- var propValue = props[propName];
606
- if (!isValidElement(propValue)) {
607
- var propType = getPropType(propValue);
608
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
609
- }
610
- return null;
611
- }
612
- return createChainableTypeChecker(validate);
613
- }
614
- function createElementTypeTypeChecker() {
615
- function validate(props, propName, componentName, location, propFullName) {
616
- var propValue = props[propName];
617
- if (!ReactIs.isValidElementType(propValue)) {
618
- var propType = getPropType(propValue);
619
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
620
- }
621
- return null;
622
- }
623
- return createChainableTypeChecker(validate);
624
- }
625
- function createInstanceTypeChecker(expectedClass) {
626
- function validate(props, propName, componentName, location, propFullName) {
627
- if (!(props[propName] instanceof expectedClass)) {
628
- var expectedClassName = expectedClass.name || ANONYMOUS;
629
- var actualClassName = getClassName(props[propName]);
630
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
631
- }
632
- return null;
633
- }
634
- return createChainableTypeChecker(validate);
635
- }
636
- function createEnumTypeChecker(expectedValues) {
637
- if (!Array.isArray(expectedValues)) {
638
- if (process.env.NODE_ENV !== "production") {
639
- if (arguments.length > 1) {
640
- printWarning(
641
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
642
- );
643
- } else {
644
- printWarning("Invalid argument supplied to oneOf, expected an array.");
645
- }
646
- }
647
- return emptyFunctionThatReturnsNull;
648
- }
649
- function validate(props, propName, componentName, location, propFullName) {
650
- var propValue = props[propName];
651
- for (var i2 = 0; i2 < expectedValues.length; i2++) {
652
- if (is(propValue, expectedValues[i2])) {
653
- return null;
654
- }
655
- }
656
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
657
- var type = getPreciseType(value);
658
- if (type === "symbol") {
659
- return String(value);
660
- }
661
- return value;
662
- });
663
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
664
- }
665
- return createChainableTypeChecker(validate);
666
- }
667
- function createObjectOfTypeChecker(typeChecker) {
668
- function validate(props, propName, componentName, location, propFullName) {
669
- if (typeof typeChecker !== "function") {
670
- return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
671
- }
672
- var propValue = props[propName];
673
- var propType = getPropType(propValue);
674
- if (propType !== "object") {
675
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
676
- }
677
- for (var key in propValue) {
678
- if (has(propValue, key)) {
679
- var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
680
- if (error instanceof Error) {
681
- return error;
682
- }
683
- }
684
- }
685
- return null;
686
- }
687
- return createChainableTypeChecker(validate);
688
- }
689
- function createUnionTypeChecker(arrayOfTypeCheckers) {
690
- if (!Array.isArray(arrayOfTypeCheckers)) {
691
- process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
692
- return emptyFunctionThatReturnsNull;
693
- }
694
- for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
695
- var checker = arrayOfTypeCheckers[i2];
696
- if (typeof checker !== "function") {
697
- printWarning(
698
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
699
- );
700
- return emptyFunctionThatReturnsNull;
701
- }
702
- }
703
- function validate(props, propName, componentName, location, propFullName) {
704
- var expectedTypes = [];
705
- for (var i3 = 0; i3 < arrayOfTypeCheckers.length; i3++) {
706
- var checker2 = arrayOfTypeCheckers[i3];
707
- var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
708
- if (checkerResult == null) {
709
- return null;
710
- }
711
- if (checkerResult.data && has(checkerResult.data, "expectedType")) {
712
- expectedTypes.push(checkerResult.data.expectedType);
713
- }
714
- }
715
- var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
716
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
717
- }
718
- return createChainableTypeChecker(validate);
719
- }
720
- function createNodeChecker() {
721
- function validate(props, propName, componentName, location, propFullName) {
722
- if (!isNode(props[propName])) {
723
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
724
- }
725
- return null;
726
- }
727
- return createChainableTypeChecker(validate);
728
- }
729
- function invalidValidatorError(componentName, location, propFullName, key, type) {
730
- return new PropTypeError(
731
- (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
732
- );
733
- }
734
- function createShapeTypeChecker(shapeTypes) {
735
- function validate(props, propName, componentName, location, propFullName) {
736
- var propValue = props[propName];
737
- var propType = getPropType(propValue);
738
- if (propType !== "object") {
739
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
740
- }
741
- for (var key in shapeTypes) {
742
- var checker = shapeTypes[key];
743
- if (typeof checker !== "function") {
744
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
745
- }
746
- var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
747
- if (error) {
748
- return error;
749
- }
750
- }
751
- return null;
752
- }
753
- return createChainableTypeChecker(validate);
754
- }
755
- function createStrictShapeTypeChecker(shapeTypes) {
756
- function validate(props, propName, componentName, location, propFullName) {
757
- var propValue = props[propName];
758
- var propType = getPropType(propValue);
759
- if (propType !== "object") {
760
- return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
761
- }
762
- var allKeys = assign({}, props[propName], shapeTypes);
763
- for (var key in allKeys) {
764
- var checker = shapeTypes[key];
765
- if (has(shapeTypes, key) && typeof checker !== "function") {
766
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
767
- }
768
- if (!checker) {
769
- return new PropTypeError(
770
- "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
771
- );
772
- }
773
- var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
774
- if (error) {
775
- return error;
776
- }
777
- }
778
- return null;
779
- }
780
- return createChainableTypeChecker(validate);
781
- }
782
- function isNode(propValue) {
783
- switch (typeof propValue) {
784
- case "number":
785
- case "string":
786
- case "undefined":
787
- return true;
788
- case "boolean":
789
- return !propValue;
790
- case "object":
791
- if (Array.isArray(propValue)) {
792
- return propValue.every(isNode);
793
- }
794
- if (propValue === null || isValidElement(propValue)) {
795
- return true;
796
- }
797
- var iteratorFn = getIteratorFn(propValue);
798
- if (iteratorFn) {
799
- var iterator = iteratorFn.call(propValue);
800
- var step;
801
- if (iteratorFn !== propValue.entries) {
802
- while (!(step = iterator.next()).done) {
803
- if (!isNode(step.value)) {
804
- return false;
805
- }
806
- }
807
- } else {
808
- while (!(step = iterator.next()).done) {
809
- var entry = step.value;
810
- if (entry) {
811
- if (!isNode(entry[1])) {
812
- return false;
813
- }
814
- }
815
- }
816
- }
817
- } else {
818
- return false;
819
- }
820
- return true;
821
- default:
822
- return false;
823
- }
824
- }
825
- function isSymbol(propType, propValue) {
826
- if (propType === "symbol") {
827
- return true;
828
- }
829
- if (!propValue) {
830
- return false;
831
- }
832
- if (propValue["@@toStringTag"] === "Symbol") {
833
- return true;
834
- }
835
- if (typeof Symbol === "function" && propValue instanceof Symbol) {
836
- return true;
837
- }
838
- return false;
839
- }
840
- function getPropType(propValue) {
841
- var propType = typeof propValue;
842
- if (Array.isArray(propValue)) {
843
- return "array";
844
- }
845
- if (propValue instanceof RegExp) {
846
- return "object";
847
- }
848
- if (isSymbol(propType, propValue)) {
849
- return "symbol";
850
- }
851
- return propType;
852
- }
853
- function getPreciseType(propValue) {
854
- if (typeof propValue === "undefined" || propValue === null) {
855
- return "" + propValue;
856
- }
857
- var propType = getPropType(propValue);
858
- if (propType === "object") {
859
- if (propValue instanceof Date) {
860
- return "date";
861
- } else if (propValue instanceof RegExp) {
862
- return "regexp";
863
- }
864
- }
865
- return propType;
866
- }
867
- function getPostfixForTypeWarning(value) {
868
- var type = getPreciseType(value);
869
- switch (type) {
870
- case "array":
871
- case "object":
872
- return "an " + type;
873
- case "boolean":
874
- case "date":
875
- case "regexp":
876
- return "a " + type;
877
- default:
878
- return type;
879
- }
880
- }
881
- function getClassName(propValue) {
882
- if (!propValue.constructor || !propValue.constructor.name) {
883
- return ANONYMOUS;
884
- }
885
- return propValue.constructor.name;
886
- }
887
- ReactPropTypes.checkPropTypes = checkPropTypes;
888
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
889
- ReactPropTypes.PropTypes = ReactPropTypes;
890
- return ReactPropTypes;
891
- };
892
- }
893
- });
894
-
895
- // node_modules/prop-types/factoryWithThrowingShims.js
896
- var require_factoryWithThrowingShims = __commonJS({
897
- "node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
898
- "use strict";
899
- var ReactPropTypesSecret = require_ReactPropTypesSecret();
900
- function emptyFunction() {
901
- }
902
- function emptyFunctionWithReset() {
903
- }
904
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
905
- module.exports = function() {
906
- function shim(props, propName, componentName, location, propFullName, secret) {
907
- if (secret === ReactPropTypesSecret) {
908
- return;
909
- }
910
- var err = new Error(
911
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
912
- );
913
- err.name = "Invariant Violation";
914
- throw err;
915
- }
916
- ;
917
- shim.isRequired = shim;
918
- function getShim() {
919
- return shim;
920
- }
921
- ;
922
- var ReactPropTypes = {
923
- array: shim,
924
- bigint: shim,
925
- bool: shim,
926
- func: shim,
927
- number: shim,
928
- object: shim,
929
- string: shim,
930
- symbol: shim,
931
- any: shim,
932
- arrayOf: getShim,
933
- element: shim,
934
- elementType: shim,
935
- instanceOf: getShim,
936
- node: shim,
937
- objectOf: getShim,
938
- oneOf: getShim,
939
- oneOfType: getShim,
940
- shape: getShim,
941
- exact: getShim,
942
- checkPropTypes: emptyFunctionWithReset,
943
- resetWarningCache: emptyFunction
944
- };
945
- ReactPropTypes.PropTypes = ReactPropTypes;
946
- return ReactPropTypes;
947
- };
948
- }
949
- });
950
-
951
- // node_modules/prop-types/index.js
952
- var require_prop_types = __commonJS({
953
- "node_modules/prop-types/index.js"(exports, module) {
954
- if (process.env.NODE_ENV !== "production") {
955
- ReactIs = require_react_is();
956
- throwOnDirectAccess = true;
957
- module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
958
- } else {
959
- module.exports = require_factoryWithThrowingShims()();
960
- }
961
- var ReactIs;
962
- var throwOnDirectAccess;
963
- }
964
- });
965
-
966
- // node_modules/@react-hook/size/dist/esm/index.mjs
967
- import { useState as t2 } from "react";
968
-
969
- // node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js
970
- var resizeObservers = [];
971
-
972
- // node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js
973
- var hasActiveObservations = function() {
974
- return resizeObservers.some(function(ro) {
975
- return ro.activeTargets.length > 0;
976
- });
977
- };
978
-
979
- // node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js
980
- var hasSkippedObservations = function() {
981
- return resizeObservers.some(function(ro) {
982
- return ro.skippedTargets.length > 0;
983
- });
984
- };
985
-
986
- // node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js
987
- var msg = "ResizeObserver loop completed with undelivered notifications.";
988
- var deliverResizeLoopError = function() {
989
- var event;
990
- if (typeof ErrorEvent === "function") {
991
- event = new ErrorEvent("error", {
992
- message: msg
993
- });
994
- } else {
995
- event = document.createEvent("Event");
996
- event.initEvent("error", false, false);
997
- event.message = msg;
998
- }
999
- window.dispatchEvent(event);
1000
- };
1001
-
1002
- // node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js
1003
- var ResizeObserverBoxOptions;
1004
- (function(ResizeObserverBoxOptions2) {
1005
- ResizeObserverBoxOptions2["BORDER_BOX"] = "border-box";
1006
- ResizeObserverBoxOptions2["CONTENT_BOX"] = "content-box";
1007
- ResizeObserverBoxOptions2["DEVICE_PIXEL_CONTENT_BOX"] = "device-pixel-content-box";
1008
- })(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));
1009
-
1010
- // node_modules/@juggle/resize-observer/lib/utils/freeze.js
1011
- var freeze = function(obj) {
1012
- return Object.freeze(obj);
1013
- };
1014
-
1015
- // node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js
1016
- var ResizeObserverSize = /* @__PURE__ */ function() {
1017
- function ResizeObserverSize2(inlineSize, blockSize) {
1018
- this.inlineSize = inlineSize;
1019
- this.blockSize = blockSize;
1020
- freeze(this);
1021
- }
1022
- return ResizeObserverSize2;
1023
- }();
1024
-
1025
- // node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js
1026
- var DOMRectReadOnly = function() {
1027
- function DOMRectReadOnly2(x, y, width, height) {
1028
- this.x = x;
1029
- this.y = y;
1030
- this.width = width;
1031
- this.height = height;
1032
- this.top = this.y;
1033
- this.left = this.x;
1034
- this.bottom = this.top + this.height;
1035
- this.right = this.left + this.width;
1036
- return freeze(this);
1037
- }
1038
- DOMRectReadOnly2.prototype.toJSON = function() {
1039
- var _a2 = this, x = _a2.x, y = _a2.y, top = _a2.top, right = _a2.right, bottom = _a2.bottom, left = _a2.left, width = _a2.width, height = _a2.height;
1040
- return { x, y, top, right, bottom, left, width, height };
1041
- };
1042
- DOMRectReadOnly2.fromRect = function(rectangle) {
1043
- return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);
1044
- };
1045
- return DOMRectReadOnly2;
1046
- }();
1047
-
1048
- // node_modules/@juggle/resize-observer/lib/utils/element.js
1049
- var isSVG = function(target) {
1050
- return target instanceof SVGElement && "getBBox" in target;
1051
- };
1052
- var isHidden = function(target) {
1053
- if (isSVG(target)) {
1054
- var _a2 = target.getBBox(), width = _a2.width, height = _a2.height;
1055
- return !width && !height;
1056
- }
1057
- var _b2 = target, offsetWidth = _b2.offsetWidth, offsetHeight = _b2.offsetHeight;
1058
- return !(offsetWidth || offsetHeight || target.getClientRects().length);
1059
- };
1060
- var isElement = function(obj) {
1061
- var _a2;
1062
- if (obj instanceof Element) {
1063
- return true;
1064
- }
1065
- var scope = (_a2 = obj === null || obj === void 0 ? void 0 : obj.ownerDocument) === null || _a2 === void 0 ? void 0 : _a2.defaultView;
1066
- return !!(scope && obj instanceof scope.Element);
1067
- };
1068
- var isReplacedElement = function(target) {
1069
- switch (target.tagName) {
1070
- case "INPUT":
1071
- if (target.type !== "image") {
1072
- break;
1073
- }
1074
- case "VIDEO":
1075
- case "AUDIO":
1076
- case "EMBED":
1077
- case "OBJECT":
1078
- case "CANVAS":
1079
- case "IFRAME":
1080
- case "IMG":
1081
- return true;
1082
- }
1083
- return false;
1084
- };
1085
-
1086
- // node_modules/@juggle/resize-observer/lib/utils/global.js
1087
- var global = typeof window !== "undefined" ? window : {};
1088
-
1089
- // node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js
1090
- var cache = /* @__PURE__ */ new WeakMap();
1091
- var scrollRegexp = /auto|scroll/;
1092
- var verticalRegexp = /^tb|vertical/;
1093
- var IE = /msie|trident/i.test(global.navigator && global.navigator.userAgent);
1094
- var parseDimension = function(pixel) {
1095
- return parseFloat(pixel || "0");
1096
- };
1097
- var size = function(inlineSize, blockSize, switchSizes) {
1098
- if (inlineSize === void 0) {
1099
- inlineSize = 0;
1100
- }
1101
- if (blockSize === void 0) {
1102
- blockSize = 0;
1103
- }
1104
- if (switchSizes === void 0) {
1105
- switchSizes = false;
1106
- }
1107
- return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);
1108
- };
1109
- var zeroBoxes = freeze({
1110
- devicePixelContentBoxSize: size(),
1111
- borderBoxSize: size(),
1112
- contentBoxSize: size(),
1113
- contentRect: new DOMRectReadOnly(0, 0, 0, 0)
1114
- });
1115
- var calculateBoxSizes = function(target, forceRecalculation) {
1116
- if (forceRecalculation === void 0) {
1117
- forceRecalculation = false;
1118
- }
1119
- if (cache.has(target) && !forceRecalculation) {
1120
- return cache.get(target);
1121
- }
1122
- if (isHidden(target)) {
1123
- cache.set(target, zeroBoxes);
1124
- return zeroBoxes;
1125
- }
1126
- var cs = getComputedStyle(target);
1127
- var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();
1128
- var removePadding = !IE && cs.boxSizing === "border-box";
1129
- var switchSizes = verticalRegexp.test(cs.writingMode || "");
1130
- var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || "");
1131
- var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || "");
1132
- var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);
1133
- var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);
1134
- var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);
1135
- var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);
1136
- var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);
1137
- var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);
1138
- var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);
1139
- var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);
1140
- var horizontalPadding = paddingLeft + paddingRight;
1141
- var verticalPadding = paddingTop + paddingBottom;
1142
- var horizontalBorderArea = borderLeft + borderRight;
1143
- var verticalBorderArea = borderTop + borderBottom;
1144
- var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;
1145
- var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;
1146
- var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;
1147
- var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;
1148
- var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;
1149
- var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;
1150
- var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;
1151
- var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;
1152
- var boxes = freeze({
1153
- devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),
1154
- borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),
1155
- contentBoxSize: size(contentWidth, contentHeight, switchSizes),
1156
- contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)
1157
- });
1158
- cache.set(target, boxes);
1159
- return boxes;
1160
- };
1161
- var calculateBoxSize = function(target, observedBox, forceRecalculation) {
1162
- var _a2 = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a2.borderBoxSize, contentBoxSize = _a2.contentBoxSize, devicePixelContentBoxSize = _a2.devicePixelContentBoxSize;
1163
- switch (observedBox) {
1164
- case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:
1165
- return devicePixelContentBoxSize;
1166
- case ResizeObserverBoxOptions.BORDER_BOX:
1167
- return borderBoxSize;
1168
- default:
1169
- return contentBoxSize;
1170
- }
1171
- };
1172
-
1173
- // node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js
1174
- var ResizeObserverEntry = /* @__PURE__ */ function() {
1175
- function ResizeObserverEntry2(target) {
1176
- var boxes = calculateBoxSizes(target);
1177
- this.target = target;
1178
- this.contentRect = boxes.contentRect;
1179
- this.borderBoxSize = freeze([boxes.borderBoxSize]);
1180
- this.contentBoxSize = freeze([boxes.contentBoxSize]);
1181
- this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);
1182
- }
1183
- return ResizeObserverEntry2;
1184
- }();
1185
-
1186
- // node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js
1187
- var calculateDepthForNode = function(node) {
1188
- if (isHidden(node)) {
1189
- return Infinity;
1190
- }
1191
- var depth = 0;
1192
- var parent = node.parentNode;
1193
- while (parent) {
1194
- depth += 1;
1195
- parent = parent.parentNode;
1196
- }
1197
- return depth;
1198
- };
1199
-
1200
- // node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js
1201
- var broadcastActiveObservations = function() {
1202
- var shallowestDepth = Infinity;
1203
- var callbacks2 = [];
1204
- resizeObservers.forEach(function processObserver(ro) {
1205
- if (ro.activeTargets.length === 0) {
1206
- return;
1207
- }
1208
- var entries = [];
1209
- ro.activeTargets.forEach(function processTarget(ot) {
1210
- var entry = new ResizeObserverEntry(ot.target);
1211
- var targetDepth = calculateDepthForNode(ot.target);
1212
- entries.push(entry);
1213
- ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox);
1214
- if (targetDepth < shallowestDepth) {
1215
- shallowestDepth = targetDepth;
1216
- }
1217
- });
1218
- callbacks2.push(function resizeObserverCallback() {
1219
- ro.callback.call(ro.observer, entries, ro.observer);
1220
- });
1221
- ro.activeTargets.splice(0, ro.activeTargets.length);
1222
- });
1223
- for (var _i = 0, callbacks_1 = callbacks2; _i < callbacks_1.length; _i++) {
1224
- var callback = callbacks_1[_i];
1225
- callback();
1226
- }
1227
- return shallowestDepth;
1228
- };
1229
-
1230
- // node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js
1231
- var gatherActiveObservationsAtDepth = function(depth) {
1232
- resizeObservers.forEach(function processObserver(ro) {
1233
- ro.activeTargets.splice(0, ro.activeTargets.length);
1234
- ro.skippedTargets.splice(0, ro.skippedTargets.length);
1235
- ro.observationTargets.forEach(function processTarget(ot) {
1236
- if (ot.isActive()) {
1237
- if (calculateDepthForNode(ot.target) > depth) {
1238
- ro.activeTargets.push(ot);
1239
- } else {
1240
- ro.skippedTargets.push(ot);
1241
- }
1242
- }
1243
- });
1244
- });
1245
- };
1246
-
1247
- // node_modules/@juggle/resize-observer/lib/utils/process.js
1248
- var process2 = function() {
1249
- var depth = 0;
1250
- gatherActiveObservationsAtDepth(depth);
1251
- while (hasActiveObservations()) {
1252
- depth = broadcastActiveObservations();
1253
- gatherActiveObservationsAtDepth(depth);
1254
- }
1255
- if (hasSkippedObservations()) {
1256
- deliverResizeLoopError();
1257
- }
1258
- return depth > 0;
1259
- };
1260
-
1261
- // node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js
1262
- var trigger;
1263
- var callbacks = [];
1264
- var notify = function() {
1265
- return callbacks.splice(0).forEach(function(cb) {
1266
- return cb();
1267
- });
1268
- };
1269
- var queueMicroTask = function(callback) {
1270
- if (!trigger) {
1271
- var toggle_1 = 0;
1272
- var el_1 = document.createTextNode("");
1273
- var config = { characterData: true };
1274
- new MutationObserver(function() {
1275
- return notify();
1276
- }).observe(el_1, config);
1277
- trigger = function() {
1278
- el_1.textContent = "".concat(toggle_1 ? toggle_1-- : toggle_1++);
1279
- };
1280
- }
1281
- callbacks.push(callback);
1282
- trigger();
1283
- };
1284
-
1285
- // node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js
1286
- var queueResizeObserver = function(cb) {
1287
- queueMicroTask(function ResizeObserver2() {
1288
- requestAnimationFrame(cb);
1289
- });
1290
- };
1291
-
1292
- // node_modules/@juggle/resize-observer/lib/utils/scheduler.js
1293
- var watching = 0;
1294
- var isWatching = function() {
1295
- return !!watching;
1296
- };
1297
- var CATCH_PERIOD = 250;
1298
- var observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };
1299
- var events = [
1300
- "resize",
1301
- "load",
1302
- "transitionend",
1303
- "animationend",
1304
- "animationstart",
1305
- "animationiteration",
1306
- "keyup",
1307
- "keydown",
1308
- "mouseup",
1309
- "mousedown",
1310
- "mouseover",
1311
- "mouseout",
1312
- "blur",
1313
- "focus"
1314
- ];
1315
- var time = function(timeout) {
1316
- if (timeout === void 0) {
1317
- timeout = 0;
1318
- }
1319
- return Date.now() + timeout;
1320
- };
1321
- var scheduled = false;
1322
- var Scheduler = function() {
1323
- function Scheduler2() {
1324
- var _this = this;
1325
- this.stopped = true;
1326
- this.listener = function() {
1327
- return _this.schedule();
1328
- };
1329
- }
1330
- Scheduler2.prototype.run = function(timeout) {
1331
- var _this = this;
1332
- if (timeout === void 0) {
1333
- timeout = CATCH_PERIOD;
1334
- }
1335
- if (scheduled) {
1336
- return;
1337
- }
1338
- scheduled = true;
1339
- var until = time(timeout);
1340
- queueResizeObserver(function() {
1341
- var elementsHaveResized = false;
1342
- try {
1343
- elementsHaveResized = process2();
1344
- } finally {
1345
- scheduled = false;
1346
- timeout = until - time();
1347
- if (!isWatching()) {
1348
- return;
1349
- }
1350
- if (elementsHaveResized) {
1351
- _this.run(1e3);
1352
- } else if (timeout > 0) {
1353
- _this.run(timeout);
1354
- } else {
1355
- _this.start();
1356
- }
1357
- }
1358
- });
1359
- };
1360
- Scheduler2.prototype.schedule = function() {
1361
- this.stop();
1362
- this.run();
1363
- };
1364
- Scheduler2.prototype.observe = function() {
1365
- var _this = this;
1366
- var cb = function() {
1367
- return _this.observer && _this.observer.observe(document.body, observerConfig);
1368
- };
1369
- document.body ? cb() : global.addEventListener("DOMContentLoaded", cb);
1370
- };
1371
- Scheduler2.prototype.start = function() {
1372
- var _this = this;
1373
- if (this.stopped) {
1374
- this.stopped = false;
1375
- this.observer = new MutationObserver(this.listener);
1376
- this.observe();
1377
- events.forEach(function(name) {
1378
- return global.addEventListener(name, _this.listener, true);
1379
- });
1380
- }
1381
- };
1382
- Scheduler2.prototype.stop = function() {
1383
- var _this = this;
1384
- if (!this.stopped) {
1385
- this.observer && this.observer.disconnect();
1386
- events.forEach(function(name) {
1387
- return global.removeEventListener(name, _this.listener, true);
1388
- });
1389
- this.stopped = true;
1390
- }
1391
- };
1392
- return Scheduler2;
1393
- }();
1394
- var scheduler = new Scheduler();
1395
- var updateCount = function(n) {
1396
- !watching && n > 0 && scheduler.start();
1397
- watching += n;
1398
- !watching && scheduler.stop();
1399
- };
1400
-
1401
- // node_modules/@juggle/resize-observer/lib/ResizeObservation.js
1402
- var skipNotifyOnElement = function(target) {
1403
- return !isSVG(target) && !isReplacedElement(target) && getComputedStyle(target).display === "inline";
1404
- };
1405
- var ResizeObservation = function() {
1406
- function ResizeObservation2(target, observedBox) {
1407
- this.target = target;
1408
- this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;
1409
- this.lastReportedSize = {
1410
- inlineSize: 0,
1411
- blockSize: 0
1412
- };
1413
- }
1414
- ResizeObservation2.prototype.isActive = function() {
1415
- var size2 = calculateBoxSize(this.target, this.observedBox, true);
1416
- if (skipNotifyOnElement(this.target)) {
1417
- this.lastReportedSize = size2;
1418
- }
1419
- if (this.lastReportedSize.inlineSize !== size2.inlineSize || this.lastReportedSize.blockSize !== size2.blockSize) {
1420
- return true;
1421
- }
1422
- return false;
1423
- };
1424
- return ResizeObservation2;
1425
- }();
1426
-
1427
- // node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js
1428
- var ResizeObserverDetail = /* @__PURE__ */ function() {
1429
- function ResizeObserverDetail2(resizeObserver, callback) {
1430
- this.activeTargets = [];
1431
- this.skippedTargets = [];
1432
- this.observationTargets = [];
1433
- this.observer = resizeObserver;
1434
- this.callback = callback;
1435
- }
1436
- return ResizeObserverDetail2;
1437
- }();
1438
-
1439
- // node_modules/@juggle/resize-observer/lib/ResizeObserverController.js
1440
- var observerMap = /* @__PURE__ */ new WeakMap();
1441
- var getObservationIndex = function(observationTargets, target) {
1442
- for (var i2 = 0; i2 < observationTargets.length; i2 += 1) {
1443
- if (observationTargets[i2].target === target) {
1444
- return i2;
1445
- }
1446
- }
1447
- return -1;
1448
- };
1449
- var ResizeObserverController = function() {
1450
- function ResizeObserverController2() {
1451
- }
1452
- ResizeObserverController2.connect = function(resizeObserver, callback) {
1453
- var detail = new ResizeObserverDetail(resizeObserver, callback);
1454
- observerMap.set(resizeObserver, detail);
1455
- };
1456
- ResizeObserverController2.observe = function(resizeObserver, target, options) {
1457
- var detail = observerMap.get(resizeObserver);
1458
- var firstObservation = detail.observationTargets.length === 0;
1459
- if (getObservationIndex(detail.observationTargets, target) < 0) {
1460
- firstObservation && resizeObservers.push(detail);
1461
- detail.observationTargets.push(new ResizeObservation(target, options && options.box));
1462
- updateCount(1);
1463
- scheduler.schedule();
1464
- }
1465
- };
1466
- ResizeObserverController2.unobserve = function(resizeObserver, target) {
1467
- var detail = observerMap.get(resizeObserver);
1468
- var index = getObservationIndex(detail.observationTargets, target);
1469
- var lastObservation = detail.observationTargets.length === 1;
1470
- if (index >= 0) {
1471
- lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);
1472
- detail.observationTargets.splice(index, 1);
1473
- updateCount(-1);
1474
- }
1475
- };
1476
- ResizeObserverController2.disconnect = function(resizeObserver) {
1477
- var _this = this;
1478
- var detail = observerMap.get(resizeObserver);
1479
- detail.observationTargets.slice().forEach(function(ot) {
1480
- return _this.unobserve(resizeObserver, ot.target);
1481
- });
1482
- detail.activeTargets.splice(0, detail.activeTargets.length);
1483
- };
1484
- return ResizeObserverController2;
1485
- }();
1486
-
1487
- // node_modules/@juggle/resize-observer/lib/ResizeObserver.js
1488
- var ResizeObserver = function() {
1489
- function ResizeObserver2(callback) {
1490
- if (arguments.length === 0) {
1491
- throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
1492
- }
1493
- if (typeof callback !== "function") {
1494
- throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
1495
- }
1496
- ResizeObserverController.connect(this, callback);
1497
- }
1498
- ResizeObserver2.prototype.observe = function(target, options) {
1499
- if (arguments.length === 0) {
1500
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
1501
- }
1502
- if (!isElement(target)) {
1503
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
1504
- }
1505
- ResizeObserverController.observe(this, target, options);
1506
- };
1507
- ResizeObserver2.prototype.unobserve = function(target) {
1508
- if (arguments.length === 0) {
1509
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
1510
- }
1511
- if (!isElement(target)) {
1512
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
1513
- }
1514
- ResizeObserverController.unobserve(this, target);
1515
- };
1516
- ResizeObserver2.prototype.disconnect = function() {
1517
- ResizeObserverController.disconnect(this);
1518
- };
1519
- ResizeObserver2.toString = function() {
1520
- return "function ResizeObserver () { [polyfill code] }";
1521
- };
1522
- return ResizeObserver2;
1523
- }();
1524
-
1525
- // node_modules/@react-hook/passive-layout-effect/dist/esm/index.mjs
1526
- import e from "react";
1527
- var t = e["undefined" != typeof document && void 0 !== document.createElement ? "useLayoutEffect" : "useEffect"];
1528
- var esm_default2 = t;
1529
-
1530
- // node_modules/@react-hook/resize-observer/dist/esm/index.mjs
1531
- function e2() {
1532
- }
1533
- var o;
1534
- var i = "undefined" != typeof window && "ResizeObserver" in window ? window.ResizeObserver : ResizeObserver;
1535
- function esm_default3(r, s) {
1536
- var u, a, v, c, f = o || (u = 0, a = [], v = /* @__PURE__ */ new Map(), c = new i((e3, r2) => {
1537
- a = a.concat(e3), u || window.requestAnimationFrame(function() {
1538
- for (var e4 = /* @__PURE__ */ new Set(), t3 = function(t4) {
1539
- if (e4.has(a[t4].target)) return "continue";
1540
- e4.add(a[t4].target);
1541
- var n2 = v.get(a[t4].target);
1542
- null == n2 || n2.forEach((e5) => e5(a[t4], r2));
1543
- }, n = 0; n < a.length; n++) t3(n);
1544
- a = [], u = 0;
1545
- }), u = 1;
1546
- }), o = { observer: c, subscribe(e3, r2) {
1547
- var t3;
1548
- c.observe(e3);
1549
- var n = null !== (t3 = v.get(e3)) && void 0 !== t3 ? t3 : [];
1550
- n.push(r2), v.set(e3, n);
1551
- }, unsubscribe(e3, r2) {
1552
- var t3, n = null !== (t3 = v.get(e3)) && void 0 !== t3 ? t3 : [];
1553
- if (1 === n.length) return c.unobserve(e3), void v.delete(e3);
1554
- var o2 = n.indexOf(r2);
1555
- -1 !== o2 && n.splice(o2, 1), v.set(e3, n);
1556
- } }), b = esm_default(s);
1557
- return esm_default2(() => {
1558
- function t3(e3, r2) {
1559
- n || b.current(e3, r2);
1560
- }
1561
- var n = 0, o2 = r && "current" in r ? r.current : r;
1562
- return o2 ? (f.subscribe(o2, t3), () => {
1563
- n = 1, f.unsubscribe(o2, t3);
1564
- }) : e2;
1565
- }, [r, f, b]), f.observer;
1566
- }
1567
-
1568
- // node_modules/@react-hook/size/dist/esm/index.mjs
1569
- var esm_default4 = (i2, o2) => {
1570
- var [f, n] = t2(() => {
1571
- var t3, r, e3 = i2 && "current" in i2 ? i2.current : i2;
1572
- return e3 ? [e3.offsetWidth, e3.offsetHeight] : [null !== (t3 = null == o2 ? void 0 : o2.initialWidth) && void 0 !== t3 ? t3 : 0, null !== (r = null == o2 ? void 0 : o2.initialHeight) && void 0 !== r ? r : 0];
1573
- });
1574
- return esm_default2(() => {
1575
- var t3 = i2 && "current" in i2 ? i2.current : i2;
1576
- t3 && n([t3.offsetWidth, t3.offsetHeight]);
1577
- }, [i2]), esm_default3(i2, (t3) => {
1578
- var r = t3.target;
1579
- n([r.offsetWidth, r.offsetHeight]);
1580
- }), f;
1581
- };
1582
-
1583
- // src/dashboard/view/explorer/Explorer.tsx
1584
- import { summarySelection } from "alinea/core/media/Summary";
1585
- import { Loader } from "alinea/ui";
1586
- import { useNonInitialEffect } from "alinea/ui/hook/UseNonInitialEffect";
1587
- import { useRef } from "react";
1588
-
1589
- // node_modules/react-tiny-virtual-list/build/react-tiny-virtual-list.es.js
1590
- var import_prop_types = __toESM(require_prop_types());
1591
- import { PureComponent, createElement } from "react";
1592
- var extendStatics = function(d, b) {
1593
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
1594
- d2.__proto__ = b2;
1595
- } || function(d2, b2) {
1596
- for (var p in b2) if (b2.hasOwnProperty(p)) d2[p] = b2[p];
1597
- };
1598
- return extendStatics(d, b);
1599
- };
1600
- function __extends(d, b) {
1601
- extendStatics(d, b);
1602
- function __() {
1603
- this.constructor = d;
1604
- }
1605
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1606
- }
1607
- var __assign = function() {
1608
- __assign = Object.assign || function __assign2(t3) {
1609
- for (var s, i2 = 1, n = arguments.length; i2 < n; i2++) {
1610
- s = arguments[i2];
1611
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t3[p] = s[p];
1612
- }
1613
- return t3;
1614
- };
1615
- return __assign.apply(this, arguments);
1616
- };
1617
- function __rest(s, e3) {
1618
- var t3 = {};
1619
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0)
1620
- t3[p] = s[p];
1621
- if (s != null && typeof Object.getOwnPropertySymbols === "function") {
1622
- for (var i2 = 0, p = Object.getOwnPropertySymbols(s); i2 < p.length; i2++) if (e3.indexOf(p[i2]) < 0)
1623
- t3[p[i2]] = s[p[i2]];
1624
- }
1625
- return t3;
1626
- }
1627
- var ALIGNMENT;
1628
- (function(ALIGNMENT2) {
1629
- ALIGNMENT2["AUTO"] = "auto";
1630
- ALIGNMENT2["START"] = "start";
1631
- ALIGNMENT2["CENTER"] = "center";
1632
- ALIGNMENT2["END"] = "end";
1633
- })(ALIGNMENT || (ALIGNMENT = {}));
1634
- var DIRECTION;
1635
- (function(DIRECTION2) {
1636
- DIRECTION2["HORIZONTAL"] = "horizontal";
1637
- DIRECTION2["VERTICAL"] = "vertical";
1638
- })(DIRECTION || (DIRECTION = {}));
1639
- var SCROLL_CHANGE_REASON;
1640
- (function(SCROLL_CHANGE_REASON2) {
1641
- SCROLL_CHANGE_REASON2["OBSERVED"] = "observed";
1642
- SCROLL_CHANGE_REASON2["REQUESTED"] = "requested";
1643
- })(SCROLL_CHANGE_REASON || (SCROLL_CHANGE_REASON = {}));
1644
- var scrollProp = (_a = {}, _a[DIRECTION.VERTICAL] = "scrollTop", _a[DIRECTION.HORIZONTAL] = "scrollLeft", _a);
1645
- var sizeProp = (_b = {}, _b[DIRECTION.VERTICAL] = "height", _b[DIRECTION.HORIZONTAL] = "width", _b);
1646
- var positionProp = (_c = {}, _c[DIRECTION.VERTICAL] = "top", _c[DIRECTION.HORIZONTAL] = "left", _c);
1647
- var marginProp = (_d = {}, _d[DIRECTION.VERTICAL] = "marginTop", _d[DIRECTION.HORIZONTAL] = "marginLeft", _d);
1648
- var oppositeMarginProp = (_e = {}, _e[DIRECTION.VERTICAL] = "marginBottom", _e[DIRECTION.HORIZONTAL] = "marginRight", _e);
1649
- var _a;
1650
- var _b;
1651
- var _c;
1652
- var _d;
1653
- var _e;
1654
- var SizeAndPositionManager = (
1655
- /** @class */
1656
- function() {
1657
- function SizeAndPositionManager2(_a2) {
1658
- var itemCount = _a2.itemCount, itemSizeGetter = _a2.itemSizeGetter, estimatedItemSize = _a2.estimatedItemSize;
1659
- this.itemSizeGetter = itemSizeGetter;
1660
- this.itemCount = itemCount;
1661
- this.estimatedItemSize = estimatedItemSize;
1662
- this.itemSizeAndPositionData = {};
1663
- this.lastMeasuredIndex = -1;
1664
- }
1665
- SizeAndPositionManager2.prototype.updateConfig = function(_a2) {
1666
- var itemCount = _a2.itemCount, itemSizeGetter = _a2.itemSizeGetter, estimatedItemSize = _a2.estimatedItemSize;
1667
- if (itemCount != null) {
1668
- this.itemCount = itemCount;
1669
- }
1670
- if (estimatedItemSize != null) {
1671
- this.estimatedItemSize = estimatedItemSize;
1672
- }
1673
- if (itemSizeGetter != null) {
1674
- this.itemSizeGetter = itemSizeGetter;
1675
- }
1676
- };
1677
- SizeAndPositionManager2.prototype.getLastMeasuredIndex = function() {
1678
- return this.lastMeasuredIndex;
1679
- };
1680
- SizeAndPositionManager2.prototype.getSizeAndPositionForIndex = function(index) {
1681
- if (index < 0 || index >= this.itemCount) {
1682
- throw Error("Requested index " + index + " is outside of range 0.." + this.itemCount);
1683
- }
1684
- if (index > this.lastMeasuredIndex) {
1685
- var lastMeasuredSizeAndPosition = this.getSizeAndPositionOfLastMeasuredItem();
1686
- var offset = lastMeasuredSizeAndPosition.offset + lastMeasuredSizeAndPosition.size;
1687
- for (var i2 = this.lastMeasuredIndex + 1; i2 <= index; i2++) {
1688
- var size2 = this.itemSizeGetter(i2);
1689
- if (size2 == null || isNaN(size2)) {
1690
- throw Error("Invalid size returned for index " + i2 + " of value " + size2);
1691
- }
1692
- this.itemSizeAndPositionData[i2] = {
1693
- offset,
1694
- size: size2
1695
- };
1696
- offset += size2;
1697
- }
1698
- this.lastMeasuredIndex = index;
1699
- }
1700
- return this.itemSizeAndPositionData[index];
1701
- };
1702
- SizeAndPositionManager2.prototype.getSizeAndPositionOfLastMeasuredItem = function() {
1703
- return this.lastMeasuredIndex >= 0 ? this.itemSizeAndPositionData[this.lastMeasuredIndex] : { offset: 0, size: 0 };
1704
- };
1705
- SizeAndPositionManager2.prototype.getTotalSize = function() {
1706
- var lastMeasuredSizeAndPosition = this.getSizeAndPositionOfLastMeasuredItem();
1707
- return lastMeasuredSizeAndPosition.offset + lastMeasuredSizeAndPosition.size + (this.itemCount - this.lastMeasuredIndex - 1) * this.estimatedItemSize;
1708
- };
1709
- SizeAndPositionManager2.prototype.getUpdatedOffsetForIndex = function(_a2) {
1710
- var _b2 = _a2.align, align = _b2 === void 0 ? ALIGNMENT.START : _b2, containerSize = _a2.containerSize, currentOffset = _a2.currentOffset, targetIndex = _a2.targetIndex;
1711
- if (containerSize <= 0) {
1712
- return 0;
1713
- }
1714
- var datum = this.getSizeAndPositionForIndex(targetIndex);
1715
- var maxOffset = datum.offset;
1716
- var minOffset = maxOffset - containerSize + datum.size;
1717
- var idealOffset;
1718
- switch (align) {
1719
- case ALIGNMENT.END:
1720
- idealOffset = minOffset;
1721
- break;
1722
- case ALIGNMENT.CENTER:
1723
- idealOffset = maxOffset - (containerSize - datum.size) / 2;
1724
- break;
1725
- case ALIGNMENT.START:
1726
- idealOffset = maxOffset;
1727
- break;
1728
- default:
1729
- idealOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));
1730
- }
1731
- var totalSize = this.getTotalSize();
1732
- return Math.max(0, Math.min(totalSize - containerSize, idealOffset));
1733
- };
1734
- SizeAndPositionManager2.prototype.getVisibleRange = function(_a2) {
1735
- var containerSize = _a2.containerSize, offset = _a2.offset, overscanCount = _a2.overscanCount;
1736
- var totalSize = this.getTotalSize();
1737
- if (totalSize === 0) {
1738
- return {};
1739
- }
1740
- var maxOffset = offset + containerSize;
1741
- var start = this.findNearestItem(offset);
1742
- if (typeof start === "undefined") {
1743
- throw Error("Invalid offset " + offset + " specified");
1744
- }
1745
- var datum = this.getSizeAndPositionForIndex(start);
1746
- offset = datum.offset + datum.size;
1747
- var stop = start;
1748
- while (offset < maxOffset && stop < this.itemCount - 1) {
1749
- stop++;
1750
- offset += this.getSizeAndPositionForIndex(stop).size;
1751
- }
1752
- if (overscanCount) {
1753
- start = Math.max(0, start - overscanCount);
1754
- stop = Math.min(stop + overscanCount, this.itemCount - 1);
1755
- }
1756
- return {
1757
- start,
1758
- stop
1759
- };
1760
- };
1761
- SizeAndPositionManager2.prototype.resetItem = function(index) {
1762
- this.lastMeasuredIndex = Math.min(this.lastMeasuredIndex, index - 1);
1763
- };
1764
- SizeAndPositionManager2.prototype.findNearestItem = function(offset) {
1765
- if (isNaN(offset)) {
1766
- throw Error("Invalid offset " + offset + " specified");
1767
- }
1768
- offset = Math.max(0, offset);
1769
- var lastMeasuredSizeAndPosition = this.getSizeAndPositionOfLastMeasuredItem();
1770
- var lastMeasuredIndex = Math.max(0, this.lastMeasuredIndex);
1771
- if (lastMeasuredSizeAndPosition.offset >= offset) {
1772
- return this.binarySearch({
1773
- high: lastMeasuredIndex,
1774
- low: 0,
1775
- offset
1776
- });
1777
- } else {
1778
- return this.exponentialSearch({
1779
- index: lastMeasuredIndex,
1780
- offset
1781
- });
1782
- }
1783
- };
1784
- SizeAndPositionManager2.prototype.binarySearch = function(_a2) {
1785
- var low = _a2.low, high = _a2.high, offset = _a2.offset;
1786
- var middle = 0;
1787
- var currentOffset = 0;
1788
- while (low <= high) {
1789
- middle = low + Math.floor((high - low) / 2);
1790
- currentOffset = this.getSizeAndPositionForIndex(middle).offset;
1791
- if (currentOffset === offset) {
1792
- return middle;
1793
- } else if (currentOffset < offset) {
1794
- low = middle + 1;
1795
- } else if (currentOffset > offset) {
1796
- high = middle - 1;
1797
- }
1798
- }
1799
- if (low > 0) {
1800
- return low - 1;
1801
- }
1802
- return 0;
1803
- };
1804
- SizeAndPositionManager2.prototype.exponentialSearch = function(_a2) {
1805
- var index = _a2.index, offset = _a2.offset;
1806
- var interval = 1;
1807
- while (index < this.itemCount && this.getSizeAndPositionForIndex(index).offset < offset) {
1808
- index += interval;
1809
- interval *= 2;
1810
- }
1811
- return this.binarySearch({
1812
- high: Math.min(index, this.itemCount - 1),
1813
- low: Math.floor(index / 2),
1814
- offset
1815
- });
1816
- };
1817
- return SizeAndPositionManager2;
1818
- }()
1819
- );
1820
- var STYLE_WRAPPER = {
1821
- overflow: "auto",
1822
- willChange: "transform",
1823
- WebkitOverflowScrolling: "touch"
1824
- };
1825
- var STYLE_INNER = {
1826
- position: "relative",
1827
- width: "100%",
1828
- minHeight: "100%"
1829
- };
1830
- var STYLE_ITEM = {
1831
- position: "absolute",
1832
- top: 0,
1833
- left: 0,
1834
- width: "100%"
1835
- };
1836
- var STYLE_STICKY_ITEM = __assign({}, STYLE_ITEM, { position: "sticky" });
1837
- var VirtualList = (
1838
- /** @class */
1839
- function(_super) {
1840
- __extends(VirtualList2, _super);
1841
- function VirtualList2() {
1842
- var _this = _super !== null && _super.apply(this, arguments) || this;
1843
- _this.itemSizeGetter = function(itemSize) {
1844
- return function(index) {
1845
- return _this.getSize(index, itemSize);
1846
- };
1847
- };
1848
- _this.sizeAndPositionManager = new SizeAndPositionManager({
1849
- itemCount: _this.props.itemCount,
1850
- itemSizeGetter: _this.itemSizeGetter(_this.props.itemSize),
1851
- estimatedItemSize: _this.getEstimatedItemSize()
1852
- });
1853
- _this.state = {
1854
- offset: _this.props.scrollOffset || _this.props.scrollToIndex != null && _this.getOffsetForIndex(_this.props.scrollToIndex) || 0,
1855
- scrollChangeReason: SCROLL_CHANGE_REASON.REQUESTED
1856
- };
1857
- _this.styleCache = {};
1858
- _this.getRef = function(node) {
1859
- _this.rootNode = node;
1860
- };
1861
- _this.handleScroll = function(event) {
1862
- var onScroll = _this.props.onScroll;
1863
- var offset = _this.getNodeOffset();
1864
- if (offset < 0 || _this.state.offset === offset || event.target !== _this.rootNode) {
1865
- return;
1866
- }
1867
- _this.setState({
1868
- offset,
1869
- scrollChangeReason: SCROLL_CHANGE_REASON.OBSERVED
1870
- });
1871
- if (typeof onScroll === "function") {
1872
- onScroll(offset, event);
1873
- }
1874
- };
1875
- return _this;
1876
- }
1877
- VirtualList2.prototype.componentDidMount = function() {
1878
- var _a2 = this.props, scrollOffset = _a2.scrollOffset, scrollToIndex = _a2.scrollToIndex;
1879
- this.rootNode.addEventListener("scroll", this.handleScroll, {
1880
- passive: true
1881
- });
1882
- if (scrollOffset != null) {
1883
- this.scrollTo(scrollOffset);
1884
- } else if (scrollToIndex != null) {
1885
- this.scrollTo(this.getOffsetForIndex(scrollToIndex));
1886
- }
1887
- };
1888
- VirtualList2.prototype.componentWillReceiveProps = function(nextProps) {
1889
- var _a2 = this.props, estimatedItemSize = _a2.estimatedItemSize, itemCount = _a2.itemCount, itemSize = _a2.itemSize, scrollOffset = _a2.scrollOffset, scrollToAlignment = _a2.scrollToAlignment, scrollToIndex = _a2.scrollToIndex;
1890
- var scrollPropsHaveChanged = nextProps.scrollToIndex !== scrollToIndex || nextProps.scrollToAlignment !== scrollToAlignment;
1891
- var itemPropsHaveChanged = nextProps.itemCount !== itemCount || nextProps.itemSize !== itemSize || nextProps.estimatedItemSize !== estimatedItemSize;
1892
- if (nextProps.itemSize !== itemSize) {
1893
- this.sizeAndPositionManager.updateConfig({
1894
- itemSizeGetter: this.itemSizeGetter(nextProps.itemSize)
1895
- });
1896
- }
1897
- if (nextProps.itemCount !== itemCount || nextProps.estimatedItemSize !== estimatedItemSize) {
1898
- this.sizeAndPositionManager.updateConfig({
1899
- itemCount: nextProps.itemCount,
1900
- estimatedItemSize: this.getEstimatedItemSize(nextProps)
1901
- });
1902
- }
1903
- if (itemPropsHaveChanged) {
1904
- this.recomputeSizes();
1905
- }
1906
- if (nextProps.scrollOffset !== scrollOffset) {
1907
- this.setState({
1908
- offset: nextProps.scrollOffset || 0,
1909
- scrollChangeReason: SCROLL_CHANGE_REASON.REQUESTED
1910
- });
1911
- } else if (typeof nextProps.scrollToIndex === "number" && (scrollPropsHaveChanged || itemPropsHaveChanged)) {
1912
- this.setState({
1913
- offset: this.getOffsetForIndex(nextProps.scrollToIndex, nextProps.scrollToAlignment, nextProps.itemCount),
1914
- scrollChangeReason: SCROLL_CHANGE_REASON.REQUESTED
1915
- });
1916
- }
1917
- };
1918
- VirtualList2.prototype.componentDidUpdate = function(_, prevState) {
1919
- var _a2 = this.state, offset = _a2.offset, scrollChangeReason = _a2.scrollChangeReason;
1920
- if (prevState.offset !== offset && scrollChangeReason === SCROLL_CHANGE_REASON.REQUESTED) {
1921
- this.scrollTo(offset);
1922
- }
1923
- };
1924
- VirtualList2.prototype.componentWillUnmount = function() {
1925
- this.rootNode.removeEventListener("scroll", this.handleScroll);
1926
- };
1927
- VirtualList2.prototype.scrollTo = function(value) {
1928
- var _a2 = this.props.scrollDirection, scrollDirection = _a2 === void 0 ? DIRECTION.VERTICAL : _a2;
1929
- this.rootNode[scrollProp[scrollDirection]] = value;
1930
- };
1931
- VirtualList2.prototype.getOffsetForIndex = function(index, scrollToAlignment, itemCount) {
1932
- if (scrollToAlignment === void 0) {
1933
- scrollToAlignment = this.props.scrollToAlignment;
1934
- }
1935
- if (itemCount === void 0) {
1936
- itemCount = this.props.itemCount;
1937
- }
1938
- var _a2 = this.props.scrollDirection, scrollDirection = _a2 === void 0 ? DIRECTION.VERTICAL : _a2;
1939
- if (index < 0 || index >= itemCount) {
1940
- index = 0;
1941
- }
1942
- return this.sizeAndPositionManager.getUpdatedOffsetForIndex({
1943
- align: scrollToAlignment,
1944
- containerSize: this.props[sizeProp[scrollDirection]],
1945
- currentOffset: this.state && this.state.offset || 0,
1946
- targetIndex: index
1947
- });
1948
- };
1949
- VirtualList2.prototype.recomputeSizes = function(startIndex) {
1950
- if (startIndex === void 0) {
1951
- startIndex = 0;
1952
- }
1953
- this.styleCache = {};
1954
- this.sizeAndPositionManager.resetItem(startIndex);
1955
- };
1956
- VirtualList2.prototype.render = function() {
1957
- var _this = this;
1958
- var _a2 = this.props, estimatedItemSize = _a2.estimatedItemSize, height = _a2.height, _b2 = _a2.overscanCount, overscanCount = _b2 === void 0 ? 3 : _b2, renderItem = _a2.renderItem, itemCount = _a2.itemCount, itemSize = _a2.itemSize, onItemsRendered = _a2.onItemsRendered, onScroll = _a2.onScroll, _c2 = _a2.scrollDirection, scrollDirection = _c2 === void 0 ? DIRECTION.VERTICAL : _c2, scrollOffset = _a2.scrollOffset, scrollToIndex = _a2.scrollToIndex, scrollToAlignment = _a2.scrollToAlignment, stickyIndices = _a2.stickyIndices, style = _a2.style, width = _a2.width, props = __rest(_a2, ["estimatedItemSize", "height", "overscanCount", "renderItem", "itemCount", "itemSize", "onItemsRendered", "onScroll", "scrollDirection", "scrollOffset", "scrollToIndex", "scrollToAlignment", "stickyIndices", "style", "width"]);
1959
- var offset = this.state.offset;
1960
- var _d2 = this.sizeAndPositionManager.getVisibleRange({
1961
- containerSize: this.props[sizeProp[scrollDirection]] || 0,
1962
- offset,
1963
- overscanCount
1964
- }), start = _d2.start, stop = _d2.stop;
1965
- var items = [];
1966
- var wrapperStyle = __assign({}, STYLE_WRAPPER, style, { height, width });
1967
- var innerStyle = __assign({}, STYLE_INNER, (_e2 = {}, _e2[sizeProp[scrollDirection]] = this.sizeAndPositionManager.getTotalSize(), _e2));
1968
- if (stickyIndices != null && stickyIndices.length !== 0) {
1969
- stickyIndices.forEach(function(index2) {
1970
- return items.push(renderItem({
1971
- index: index2,
1972
- style: _this.getStyle(index2, true)
1973
- }));
1974
- });
1975
- if (scrollDirection === DIRECTION.HORIZONTAL) {
1976
- innerStyle.display = "flex";
1977
- }
1978
- }
1979
- if (typeof start !== "undefined" && typeof stop !== "undefined") {
1980
- for (var index = start; index <= stop; index++) {
1981
- if (stickyIndices != null && stickyIndices.includes(index)) {
1982
- continue;
1983
- }
1984
- items.push(renderItem({
1985
- index,
1986
- style: this.getStyle(index, false)
1987
- }));
1988
- }
1989
- if (typeof onItemsRendered === "function") {
1990
- onItemsRendered({
1991
- startIndex: start,
1992
- stopIndex: stop
1993
- });
1994
- }
1995
- }
1996
- return createElement("div", __assign({ ref: this.getRef }, props, { style: wrapperStyle }), createElement("div", { style: innerStyle }, items));
1997
- var _e2;
1998
- };
1999
- VirtualList2.prototype.getNodeOffset = function() {
2000
- var _a2 = this.props.scrollDirection, scrollDirection = _a2 === void 0 ? DIRECTION.VERTICAL : _a2;
2001
- return this.rootNode[scrollProp[scrollDirection]];
2002
- };
2003
- VirtualList2.prototype.getEstimatedItemSize = function(props) {
2004
- if (props === void 0) {
2005
- props = this.props;
2006
- }
2007
- return props.estimatedItemSize || typeof props.itemSize === "number" && props.itemSize || 50;
2008
- };
2009
- VirtualList2.prototype.getSize = function(index, itemSize) {
2010
- if (typeof itemSize === "function") {
2011
- return itemSize(index);
2012
- }
2013
- return Array.isArray(itemSize) ? itemSize[index] : itemSize;
2014
- };
2015
- VirtualList2.prototype.getStyle = function(index, sticky) {
2016
- var style = this.styleCache[index];
2017
- if (style) {
2018
- return style;
2019
- }
2020
- var _a2 = this.props.scrollDirection, scrollDirection = _a2 === void 0 ? DIRECTION.VERTICAL : _a2;
2021
- var _b2 = this.sizeAndPositionManager.getSizeAndPositionForIndex(index), size2 = _b2.size, offset = _b2.offset;
2022
- return this.styleCache[index] = sticky ? __assign({}, STYLE_STICKY_ITEM, (_c2 = {}, _c2[sizeProp[scrollDirection]] = size2, _c2[marginProp[scrollDirection]] = offset, _c2[oppositeMarginProp[scrollDirection]] = -(offset + size2), _c2.zIndex = 1, _c2)) : __assign({}, STYLE_ITEM, (_d2 = {}, _d2[sizeProp[scrollDirection]] = size2, _d2[positionProp[scrollDirection]] = offset, _d2));
2023
- var _c2, _d2;
2024
- };
2025
- VirtualList2.defaultProps = {
2026
- overscanCount: 3,
2027
- scrollDirection: DIRECTION.VERTICAL,
2028
- width: "100%"
2029
- };
2030
- VirtualList2.propTypes = {
2031
- estimatedItemSize: import_prop_types.number,
2032
- height: (0, import_prop_types.oneOfType)([import_prop_types.number, import_prop_types.string]).isRequired,
2033
- itemCount: import_prop_types.number.isRequired,
2034
- itemSize: (0, import_prop_types.oneOfType)([import_prop_types.number, import_prop_types.array, import_prop_types.func]).isRequired,
2035
- onScroll: import_prop_types.func,
2036
- onItemsRendered: import_prop_types.func,
2037
- overscanCount: import_prop_types.number,
2038
- renderItem: import_prop_types.func.isRequired,
2039
- scrollOffset: import_prop_types.number,
2040
- scrollToIndex: import_prop_types.number,
2041
- scrollToAlignment: (0, import_prop_types.oneOf)([ALIGNMENT.AUTO, ALIGNMENT.START, ALIGNMENT.CENTER, ALIGNMENT.END]),
2042
- scrollDirection: (0, import_prop_types.oneOf)([DIRECTION.HORIZONTAL, DIRECTION.VERTICAL]),
2043
- stickyIndices: (0, import_prop_types.arrayOf)(import_prop_types.number),
2044
- style: import_prop_types.object,
2045
- width: (0, import_prop_types.oneOfType)([import_prop_types.number, import_prop_types.string])
2046
- };
2047
- return VirtualList2;
2048
- }(PureComponent)
2049
- );
2050
- var react_tiny_virtual_list_es_default = VirtualList;
2051
-
2052
- // src/dashboard/view/explorer/Explorer.tsx
2053
- import { dbAtom, dbMetaAtom } from "../../atoms/DbAtoms.js";
2054
- import { useConfig } from "../../hook/UseConfig.js";
2055
- import { ExplorerProvider } from "../../hook/UseExplorer.js";
2056
- import { EntrySummaryRow, EntrySummaryThumb } from "../entry/EntrySummary.js";
2057
-
2058
- // src/dashboard/view/explorer/Explorer.module.scss
2059
- var Explorer_module_default = {
2060
- "root": "alinea-Explorer",
2061
- "root-list": "alinea-Explorer-list",
2062
- "rootList": "alinea-Explorer-list"
2063
- };
2064
-
2065
- // src/dashboard/view/explorer/Explorer.tsx
2066
- import { ExplorerRow } from "./ExplorerRow.js";
2067
- import { jsx } from "react/jsx-runtime";
2068
- var styles = dist_default(Explorer_module_default);
2069
- var defaultSummaryView = {
2070
- summaryRow: EntrySummaryRow,
2071
- summaryThumb: EntrySummaryThumb
2072
- };
2073
- function Explorer({
2074
- type,
2075
- query,
2076
- virtualized,
2077
- max,
2078
- selectable,
2079
- selection = [],
2080
- toggleSelect = () => {
2081
- },
2082
- onNavigate,
2083
- withNavigation,
2084
- showMedia,
2085
- border = true
2086
- }) {
2087
- const { schema } = useConfig();
2088
- const graph = useAtomValue(dbAtom);
2089
- const queryClient = useQueryClient();
2090
- const sha = useAtomValue(dbMetaAtom);
2091
- useNonInitialEffect(() => {
2092
- queryClient.invalidateQueries("explorer");
2093
- }, [sha]);
2094
- const { data, isLoading } = useQuery(
2095
- ["explorer", type, query, max],
2096
- async () => {
2097
- const summaryView = type === "row" ? "summaryRow" : "summaryThumb";
2098
- const defaultView = defaultSummaryView[summaryView];
2099
- const selection2 = summarySelection(schema);
2100
- const total = await graph.count({
2101
- ...query,
2102
- status: "preferDraft"
2103
- });
2104
- const querySelection = {
2105
- ...query,
2106
- select: selection2
2107
- };
2108
- return {
2109
- type,
2110
- total: max ? Math.min(max, total) : total,
2111
- selection: selection2,
2112
- query: querySelection,
2113
- summaryView,
2114
- defaultView
2115
- };
2116
- },
2117
- { keepPreviousData: true }
2118
- );
2119
- const containerRef = useRef(null);
2120
- const [containerWidth, containerHeight] = esm_default4(containerRef);
2121
- const perRow = data?.type === "thumb" ? Math.round(containerWidth / 260) : 1;
2122
- const height = data?.type === "thumb" ? 180 : 50;
2123
- const batchSize = data?.type === "thumb" ? perRow * 10 : 50;
2124
- const showList = data && containerWidth > 0 && (!virtualized || containerHeight > 0);
2125
- return /* @__PURE__ */ jsx(
2126
- ExplorerProvider,
2127
- {
2128
- value: {
2129
- selectable,
2130
- selection,
2131
- onSelect: toggleSelect,
2132
- onNavigate,
2133
- withNavigation,
2134
- showMedia,
2135
- border
2136
- },
2137
- children: /* @__PURE__ */ jsx("div", { ref: containerRef, className: styles.root(), children: showList ? data.total > 0 ? virtualized ? /* @__PURE__ */ jsx(
2138
- react_tiny_virtual_list_es_default,
2139
- {
2140
- className: styles.root.list(),
2141
- width: "100%",
2142
- height: containerHeight,
2143
- overscanCount: 2,
2144
- itemCount: Math.ceil(data.total / perRow),
2145
- itemSize: height,
2146
- renderItem: ({ index, style }) => {
2147
- const from = index * perRow;
2148
- return /* @__PURE__ */ jsx("div", { style: { ...style, height, flexShrink: 0 }, children: /* @__PURE__ */ jsx(
2149
- ExplorerRow,
2150
- {
2151
- schema,
2152
- query: data.query,
2153
- amount: perRow,
2154
- from,
2155
- batchSize,
2156
- summaryView: data.summaryView,
2157
- defaultView: data.defaultView
2158
- }
2159
- ) }, index);
2160
- },
2161
- scrollToIndex: data.total > 0 ? 0 : void 0
2162
- }
2163
- ) : Array.from({ length: Math.ceil(data.total / perRow) }).map(
2164
- (_, index) => {
2165
- const from = index * perRow;
2166
- return /* @__PURE__ */ jsx("div", { style: { height, flexShrink: 0 }, children: /* @__PURE__ */ jsx(
2167
- ExplorerRow,
2168
- {
2169
- schema,
2170
- query: data.query,
2171
- amount: perRow,
2172
- from,
2173
- batchSize,
2174
- summaryView: data.summaryView,
2175
- defaultView: data.defaultView
2176
- }
2177
- ) }, index);
2178
- }
2179
- ) : /* @__PURE__ */ jsx("div", { style: { margin: "auto" }, children: "No results" }) : /* @__PURE__ */ jsx(Loader, { absolute: true }) })
2180
- }
2181
- );
2182
- }
2183
- export {
2184
- Explorer
2185
- };
2186
- /*! Bundled license information:
2187
-
2188
- react-is/cjs/react-is.production.min.js:
2189
- (** @license React v16.13.1
2190
- * react-is.production.min.js
2191
- *
2192
- * Copyright (c) Facebook, Inc. and its affiliates.
2193
- *
2194
- * This source code is licensed under the MIT license found in the
2195
- * LICENSE file in the root directory of this source tree.
2196
- *)
2197
-
2198
- react-is/cjs/react-is.development.js:
2199
- (** @license React v16.13.1
2200
- * react-is.development.js
2201
- *
2202
- * Copyright (c) Facebook, Inc. and its affiliates.
2203
- *
2204
- * This source code is licensed under the MIT license found in the
2205
- * LICENSE file in the root directory of this source tree.
2206
- *)
2207
-
2208
- object-assign/index.js:
2209
- (*
2210
- object-assign
2211
- (c) Sindre Sorhus
2212
- @license MIT
2213
- *)
2214
-
2215
- react-tiny-virtual-list/build/react-tiny-virtual-list.es.js:
2216
- (*! *****************************************************************************
2217
- Copyright (c) Microsoft Corporation. All rights reserved.
2218
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
2219
- this file except in compliance with the License. You may obtain a copy of the
2220
- License at http://www.apache.org/licenses/LICENSE-2.0
2221
-
2222
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2223
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
2224
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
2225
- MERCHANTABLITY OR NON-INFRINGEMENT.
2226
-
2227
- See the Apache Version 2.0 License for specific language governing permissions
2228
- and limitations under the License.
2229
- ***************************************************************************** *)
2230
- */