@dxos/app-framework 0.8.1 → 0.8.2-main.f081794

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 (251) hide show
  1. package/dist/lib/browser/{app-graph-builder-576BHZC7.mjs → app-graph-builder-RHU5WUGJ.mjs} +2 -2
  2. package/dist/lib/browser/{chunk-6AVTZPMT.mjs → chunk-5WHZ3ORL.mjs} +187 -159
  3. package/dist/lib/browser/chunk-5WHZ3ORL.mjs.map +7 -0
  4. package/dist/lib/browser/{chunk-PPIBZ5N4.mjs → chunk-GYFO2C4Q.mjs} +4 -4
  5. package/dist/lib/browser/chunk-GYFO2C4Q.mjs.map +7 -0
  6. package/dist/lib/browser/index.mjs +7 -5
  7. package/dist/lib/browser/index.mjs.map +1 -1
  8. package/dist/lib/browser/{intent-dispatcher-3Q67MHZZ.mjs → intent-dispatcher-T6YETUE7.mjs} +2 -2
  9. package/dist/lib/browser/{intent-resolver-O763LCLG.mjs → intent-resolver-UQFD7VBJ.mjs} +2 -2
  10. package/dist/lib/browser/meta.json +1 -1
  11. package/dist/lib/browser/{store-URSN7DZI.mjs → store-NP42FCZO.mjs} +2 -2
  12. package/dist/lib/browser/testing/index.mjs +2 -2
  13. package/dist/lib/browser/worker.mjs +3 -1
  14. package/dist/lib/node/{app-graph-builder-JZCSKYPY.cjs → app-graph-builder-QGHI2J2R.cjs} +12 -12
  15. package/dist/lib/node/{chunk-YIFTVCOR.cjs → chunk-EGY2ANJA.cjs} +177 -150
  16. package/dist/lib/node/chunk-EGY2ANJA.cjs.map +7 -0
  17. package/dist/lib/node/{chunk-YNTKVTVX.cjs → chunk-PIFNLI5K.cjs} +20 -20
  18. package/dist/lib/node/{chunk-YNTKVTVX.cjs.map → chunk-PIFNLI5K.cjs.map} +3 -3
  19. package/dist/lib/node/index.cjs +68 -66
  20. package/dist/lib/node/index.cjs.map +1 -1
  21. package/dist/lib/node/{intent-dispatcher-H334XLFD.cjs → intent-dispatcher-BEKV2HG3.cjs} +8 -8
  22. package/dist/lib/node/{intent-dispatcher-H334XLFD.cjs.map → intent-dispatcher-BEKV2HG3.cjs.map} +2 -2
  23. package/dist/lib/node/{intent-resolver-3F4POWAM.cjs → intent-resolver-NALI2KSH.cjs} +8 -8
  24. package/dist/lib/node/meta.json +1 -1
  25. package/dist/lib/node/{store-OFDHTDCB.cjs → store-I7KM7GGP.cjs} +7 -7
  26. package/dist/lib/node/testing/index.cjs +8 -8
  27. package/dist/lib/node/worker.cjs +39 -37
  28. package/dist/lib/node/worker.cjs.map +2 -2
  29. package/dist/lib/node-esm/{app-graph-builder-VYKLSMSZ.mjs → app-graph-builder-45FJO6JA.mjs} +2 -2
  30. package/dist/lib/node-esm/{chunk-R6A7Z4LU.mjs → chunk-KFDC5QSQ.mjs} +4 -4
  31. package/dist/lib/{browser/chunk-PPIBZ5N4.mjs.map → node-esm/chunk-KFDC5QSQ.mjs.map} +3 -3
  32. package/dist/lib/node-esm/{chunk-AHKIPS2L.mjs → chunk-YQMLJUYN.mjs} +187 -159
  33. package/dist/lib/node-esm/chunk-YQMLJUYN.mjs.map +7 -0
  34. package/dist/lib/node-esm/index.mjs +7 -5
  35. package/dist/lib/node-esm/index.mjs.map +1 -1
  36. package/dist/lib/node-esm/{intent-dispatcher-YDE2ONZA.mjs → intent-dispatcher-MYETZPUW.mjs} +2 -2
  37. package/dist/lib/node-esm/{intent-resolver-LAGJ7LXM.mjs → intent-resolver-BW5I7SOS.mjs} +2 -2
  38. package/dist/lib/node-esm/meta.json +1 -1
  39. package/dist/lib/node-esm/{store-EYSUVNCS.mjs → store-MKIES4HL.mjs} +2 -2
  40. package/dist/lib/node-esm/testing/index.mjs +2 -2
  41. package/dist/lib/node-esm/worker.mjs +3 -1
  42. package/dist/types/src/common/collaboration.d.ts +19 -0
  43. package/dist/types/src/common/collaboration.d.ts.map +1 -0
  44. package/dist/types/src/common/index.d.ts +1 -0
  45. package/dist/types/src/common/index.d.ts.map +1 -1
  46. package/dist/types/src/common/layout.d.ts +9 -4
  47. package/dist/types/src/common/layout.d.ts.map +1 -1
  48. package/dist/types/src/core/capabilities.d.ts +5 -2
  49. package/dist/types/src/core/capabilities.d.ts.map +1 -1
  50. package/dist/types/src/core/events.d.ts +4 -1
  51. package/dist/types/src/core/events.d.ts.map +1 -1
  52. package/dist/types/src/core/manager.d.ts +8 -8
  53. package/dist/types/src/core/manager.d.ts.map +1 -1
  54. package/dist/types/src/core/plugin.d.ts +2 -1
  55. package/dist/types/src/core/plugin.d.ts.map +1 -1
  56. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts +27 -1
  57. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
  58. package/package.json +22 -18
  59. package/project.json +2 -1
  60. package/src/App.tsx +2 -2
  61. package/src/common/collaboration.ts +21 -0
  62. package/src/common/index.ts +1 -0
  63. package/src/common/layout.ts +21 -3
  64. package/src/core/capabilities.ts +9 -5
  65. package/src/core/events.ts +4 -1
  66. package/src/core/manager.test.ts +3 -3
  67. package/src/core/manager.ts +10 -10
  68. package/src/core/plugin.ts +2 -1
  69. package/src/plugin-intent/intent-dispatcher.ts +18 -2
  70. package/typedoc/.nojekyll +1 -0
  71. package/typedoc/assets/hierarchy.js +1 -0
  72. package/typedoc/assets/highlight.css +106 -0
  73. package/typedoc/assets/icons.js +18 -0
  74. package/typedoc/assets/icons.svg +1 -0
  75. package/typedoc/assets/main.js +60 -0
  76. package/typedoc/assets/navigation.js +1 -0
  77. package/typedoc/assets/search.js +1 -0
  78. package/typedoc/assets/style.css +1640 -0
  79. package/typedoc/classes/CollaborationActions.InsertContent.html +421 -0
  80. package/typedoc/classes/ErrorBoundary.html +125 -0
  81. package/typedoc/classes/IntentAction.ShowUndo.html +227 -0
  82. package/typedoc/classes/IntentAction.Track.html +266 -0
  83. package/typedoc/classes/LayoutAction.AddToast.html +265 -0
  84. package/typedoc/classes/LayoutAction.Close.html +382 -0
  85. package/typedoc/classes/LayoutAction.Expose.html +265 -0
  86. package/typedoc/classes/LayoutAction.Open.html +928 -0
  87. package/typedoc/classes/LayoutAction.RevertWorkspace.html +343 -0
  88. package/typedoc/classes/LayoutAction.ScrollIntoView.html +460 -0
  89. package/typedoc/classes/LayoutAction.Set.html +382 -0
  90. package/typedoc/classes/LayoutAction.SetLayoutMode.html +421 -0
  91. package/typedoc/classes/LayoutAction.SwitchWorkspace.html +265 -0
  92. package/typedoc/classes/LayoutAction.UpdateComplementary.html +616 -0
  93. package/typedoc/classes/LayoutAction.UpdateDialog.html +733 -0
  94. package/typedoc/classes/LayoutAction.UpdateLayout.html +461 -0
  95. package/typedoc/classes/LayoutAction.UpdatePopover.html +1435 -0
  96. package/typedoc/classes/LayoutAction.UpdateSidebar.html +538 -0
  97. package/typedoc/classes/Plugin.html +6 -0
  98. package/typedoc/classes/PluginManager.html +42 -0
  99. package/typedoc/classes/PluginModule.html +18 -0
  100. package/typedoc/classes/PluginsContext.html +25 -0
  101. package/typedoc/classes/SettingsAction.Open.html +226 -0
  102. package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +265 -0
  103. package/typedoc/functions/Events.createStateEvent.html +2 -0
  104. package/typedoc/functions/IntentPlugin.html +1 -0
  105. package/typedoc/functions/SettingsPlugin.html +1 -0
  106. package/typedoc/functions/allOf.html +2 -0
  107. package/typedoc/functions/chain.html +3 -0
  108. package/typedoc/functions/contributes.html +2 -0
  109. package/typedoc/functions/createApp.html +6 -0
  110. package/typedoc/functions/createDispatcher.html +3 -0
  111. package/typedoc/functions/createIntent.html +6 -0
  112. package/typedoc/functions/createResolver.html +2 -0
  113. package/typedoc/functions/createSurface.html +2 -0
  114. package/typedoc/functions/defineCapability.html +2 -0
  115. package/typedoc/functions/defineEvent.html +2 -0
  116. package/typedoc/functions/defineModule.html +2 -0
  117. package/typedoc/functions/definePlugin.html +2 -0
  118. package/typedoc/functions/eventKey.html +2 -0
  119. package/typedoc/functions/getEvents.html +2 -0
  120. package/typedoc/functions/isAllOf.html +2 -0
  121. package/typedoc/functions/isOneOf.html +2 -0
  122. package/typedoc/functions/isSurfaceAvailable.html +2 -0
  123. package/typedoc/functions/lazy.html +2 -0
  124. package/typedoc/functions/oneOf.html +2 -0
  125. package/typedoc/functions/useAppGraph.html +1 -0
  126. package/typedoc/functions/useCapabilities.html +3 -0
  127. package/typedoc/functions/useCapability.html +4 -0
  128. package/typedoc/functions/useIntentDispatcher.html +1 -0
  129. package/typedoc/functions/useIntentResolver.html +1 -0
  130. package/typedoc/functions/useLayout.html +1 -0
  131. package/typedoc/functions/usePluginManager.html +2 -0
  132. package/typedoc/hierarchy.html +1 -0
  133. package/typedoc/index.html +16 -0
  134. package/typedoc/interfaces/LayoutAction.Toast.html +10 -0
  135. package/typedoc/media/LICENSE +8 -0
  136. package/typedoc/modules/Capabilities.html +1 -0
  137. package/typedoc/modules/CollaborationActions.html +1 -0
  138. package/typedoc/modules/Events.html +1 -0
  139. package/typedoc/modules/IntentAction.html +1 -0
  140. package/typedoc/modules/LayoutAction.html +2 -0
  141. package/typedoc/modules/SettingsAction.html +1 -0
  142. package/typedoc/modules.html +1 -0
  143. package/typedoc/types/ActivationEvent.html +8 -0
  144. package/typedoc/types/ActivationEvents.html +2 -0
  145. package/typedoc/types/AnyCapability.html +1 -0
  146. package/typedoc/types/AnyIntent.html +1 -0
  147. package/typedoc/types/AnyIntentChain.html +1 -0
  148. package/typedoc/types/AnyIntentEffectResult.html +1 -0
  149. package/typedoc/types/AnyIntentResolver.html +1 -0
  150. package/typedoc/types/AnyIntentResult.html +1 -0
  151. package/typedoc/types/Capabilities.FileUploader.html +1 -0
  152. package/typedoc/types/Capabilities.IntentResolver.html +1 -0
  153. package/typedoc/types/Capabilities.Layout.html +1 -0
  154. package/typedoc/types/Capabilities.Metadata.html +1 -0
  155. package/typedoc/types/Capabilities.ReactContext.html +1 -0
  156. package/typedoc/types/Capabilities.ReactRoot.html +1 -0
  157. package/typedoc/types/Capabilities.ReactSurface.html +1 -0
  158. package/typedoc/types/Capabilities.Settings.html +4 -0
  159. package/typedoc/types/Capability.html +9 -0
  160. package/typedoc/types/CreateAppOptions.html +9 -0
  161. package/typedoc/types/FileInfo.html +1 -0
  162. package/typedoc/types/Intent.html +14 -0
  163. package/typedoc/types/IntentChain.html +6 -0
  164. package/typedoc/types/IntentContext.html +5 -0
  165. package/typedoc/types/IntentData.html +1 -0
  166. package/typedoc/types/IntentDispatcher.html +2 -0
  167. package/typedoc/types/IntentDispatcherResult.html +2 -0
  168. package/typedoc/types/IntentEffectDefinition.html +2 -0
  169. package/typedoc/types/IntentEffectResult.html +15 -0
  170. package/typedoc/types/IntentParams.html +3 -0
  171. package/typedoc/types/IntentResolver.html +2 -0
  172. package/typedoc/types/IntentResultData.html +1 -0
  173. package/typedoc/types/IntentSchema.html +1 -0
  174. package/typedoc/types/IntentUndo.html +2 -0
  175. package/typedoc/types/InterfaceDef.html +4 -0
  176. package/typedoc/types/Label.html +1 -0
  177. package/typedoc/types/NodeSerializer.html +8 -0
  178. package/typedoc/types/PluginManagerOptions.html +5 -0
  179. package/typedoc/types/PluginMeta.html +21 -0
  180. package/typedoc/types/PromiseIntentDispatcher.html +2 -0
  181. package/typedoc/types/PromiseIntentUndo.html +2 -0
  182. package/typedoc/types/Resource.html +1 -0
  183. package/typedoc/types/ResourceKey.html +1 -0
  184. package/typedoc/types/ResourceLanguage.html +1 -0
  185. package/typedoc/types/SerializedNode.html +4 -0
  186. package/typedoc/types/SurfaceComponent.html +2 -0
  187. package/typedoc/types/SurfaceDefinition.html +2 -0
  188. package/typedoc/types/SurfaceProps.html +4 -0
  189. package/typedoc/variables/Capabilities.AppGraph.html +1 -0
  190. package/typedoc/variables/Capabilities.AppGraphBuilder.html +1 -0
  191. package/typedoc/variables/Capabilities.AppGraphSerializer.html +1 -0
  192. package/typedoc/variables/Capabilities.ArtifactDefinition.html +1 -0
  193. package/typedoc/variables/Capabilities.FileUploader.html +1 -0
  194. package/typedoc/variables/Capabilities.IntentDispatcher.html +1 -0
  195. package/typedoc/variables/Capabilities.IntentResolver.html +1 -0
  196. package/typedoc/variables/Capabilities.Layout.html +1 -0
  197. package/typedoc/variables/Capabilities.Metadata.html +1 -0
  198. package/typedoc/variables/Capabilities.Null.html +1 -0
  199. package/typedoc/variables/Capabilities.PluginManager.html +1 -0
  200. package/typedoc/variables/Capabilities.ReactContext.html +1 -0
  201. package/typedoc/variables/Capabilities.ReactRoot.html +1 -0
  202. package/typedoc/variables/Capabilities.ReactSurface.html +1 -0
  203. package/typedoc/variables/Capabilities.Settings.html +1 -0
  204. package/typedoc/variables/Capabilities.SettingsStore.html +1 -0
  205. package/typedoc/variables/Capabilities.Tools.html +1 -0
  206. package/typedoc/variables/Capabilities.Translations.html +1 -0
  207. package/typedoc/variables/Events.AppGraphReady.html +2 -0
  208. package/typedoc/variables/Events.DispatcherReady.html +2 -0
  209. package/typedoc/variables/Events.LayoutReady.html +1 -0
  210. package/typedoc/variables/Events.SettingsReady.html +2 -0
  211. package/typedoc/variables/Events.SetupAppGraph.html +2 -0
  212. package/typedoc/variables/Events.SetupArtifactDefinition.html +2 -0
  213. package/typedoc/variables/Events.SetupIntentResolver.html +2 -0
  214. package/typedoc/variables/Events.SetupMetadata.html +2 -0
  215. package/typedoc/variables/Events.SetupReactSurface.html +2 -0
  216. package/typedoc/variables/Events.SetupSettings.html +2 -0
  217. package/typedoc/variables/Events.SetupTranslations.html +2 -0
  218. package/typedoc/variables/Events.Startup.html +2 -0
  219. package/typedoc/variables/FileInfoSchema.html +1 -0
  220. package/typedoc/variables/INTENT_ACTION.html +1 -0
  221. package/typedoc/variables/INTENT_PLUGIN.html +1 -0
  222. package/typedoc/variables/LAYOUT_ACTION.html +1 -0
  223. package/typedoc/variables/LAYOUT_PLUGIN.html +1 -0
  224. package/typedoc/variables/Label.html +1 -0
  225. package/typedoc/variables/LayoutAction.Toast.html +1 -0
  226. package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +1 -0
  227. package/typedoc/variables/PluginManagerProvider.html +2 -0
  228. package/typedoc/variables/Resource.html +2 -0
  229. package/typedoc/variables/ResourceKey.html +1 -0
  230. package/typedoc/variables/ResourceLanguage.html +1 -0
  231. package/typedoc/variables/SETTINGS_ACTION.html +1 -0
  232. package/typedoc/variables/SETTINGS_ID.html +1 -0
  233. package/typedoc/variables/SETTINGS_KEY.html +1 -0
  234. package/typedoc/variables/SETTINGS_PLUGIN.html +1 -0
  235. package/typedoc/variables/Surface.html +2 -0
  236. package/typedoc/variables/defaultFileTypes.html +1 -0
  237. package/dist/lib/browser/chunk-6AVTZPMT.mjs.map +0 -7
  238. package/dist/lib/node/chunk-YIFTVCOR.cjs.map +0 -7
  239. package/dist/lib/node-esm/chunk-AHKIPS2L.mjs.map +0 -7
  240. package/dist/lib/node-esm/chunk-R6A7Z4LU.mjs.map +0 -7
  241. /package/dist/lib/browser/{app-graph-builder-576BHZC7.mjs.map → app-graph-builder-RHU5WUGJ.mjs.map} +0 -0
  242. /package/dist/lib/browser/{intent-dispatcher-3Q67MHZZ.mjs.map → intent-dispatcher-T6YETUE7.mjs.map} +0 -0
  243. /package/dist/lib/browser/{intent-resolver-O763LCLG.mjs.map → intent-resolver-UQFD7VBJ.mjs.map} +0 -0
  244. /package/dist/lib/browser/{store-URSN7DZI.mjs.map → store-NP42FCZO.mjs.map} +0 -0
  245. /package/dist/lib/node/{app-graph-builder-JZCSKYPY.cjs.map → app-graph-builder-QGHI2J2R.cjs.map} +0 -0
  246. /package/dist/lib/node/{intent-resolver-3F4POWAM.cjs.map → intent-resolver-NALI2KSH.cjs.map} +0 -0
  247. /package/dist/lib/node/{store-OFDHTDCB.cjs.map → store-I7KM7GGP.cjs.map} +0 -0
  248. /package/dist/lib/node-esm/{app-graph-builder-VYKLSMSZ.mjs.map → app-graph-builder-45FJO6JA.mjs.map} +0 -0
  249. /package/dist/lib/node-esm/{intent-dispatcher-YDE2ONZA.mjs.map → intent-dispatcher-MYETZPUW.mjs.map} +0 -0
  250. /package/dist/lib/node-esm/{intent-resolver-LAGJ7LXM.mjs.map → intent-resolver-BW5I7SOS.mjs.map} +0 -0
  251. /package/dist/lib/node-esm/{store-EYSUVNCS.mjs.map → store-MKIES4HL.mjs.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/app-framework",
3
- "version": "0.8.1",
3
+ "version": "0.8.2-main.f081794",
4
4
  "description": "A framework for building applications from composible plugins.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -38,29 +38,30 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@preact/signals-core": "^1.6.0",
41
- "@dxos/app-graph": "0.8.1",
42
- "@dxos/artifact": "0.8.1",
43
- "@dxos/client-protocol": "0.8.1",
44
- "@dxos/debug": "0.8.1",
45
- "@dxos/async": "0.8.1",
46
- "@dxos/invariant": "0.8.1",
47
- "@dxos/live-object": "0.8.1",
48
- "@dxos/local-storage": "0.8.1",
49
- "@dxos/log": "0.8.1",
50
- "@dxos/util": "0.8.1",
51
- "@dxos/react-hooks": "0.8.1"
41
+ "@dxos/app-graph": "0.8.2-main.f081794",
42
+ "@dxos/client-protocol": "0.8.2-main.f081794",
43
+ "@dxos/artifact": "0.8.2-main.f081794",
44
+ "@dxos/async": "0.8.2-main.f081794",
45
+ "@dxos/debug": "0.8.2-main.f081794",
46
+ "@dxos/echo-schema": "0.8.2-main.f081794",
47
+ "@dxos/invariant": "0.8.2-main.f081794",
48
+ "@dxos/live-object": "0.8.2-main.f081794",
49
+ "@dxos/local-storage": "0.8.2-main.f081794",
50
+ "@dxos/log": "0.8.2-main.f081794",
51
+ "@dxos/util": "0.8.2-main.f081794",
52
+ "@dxos/react-hooks": "0.8.2-main.f081794"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@phosphor-icons/react": "^2.1.5",
55
56
  "@types/react": "~18.2.0",
56
57
  "effect": "3.13.3",
57
58
  "react": "~18.2.0",
58
- "@dxos/echo-schema": "0.8.1",
59
- "@dxos/react-ui": "0.8.1",
60
- "@dxos/echo-signals": "0.8.1",
61
- "@dxos/react-ui-syntax-highlighter": "0.8.1",
62
- "@dxos/random": "0.8.1",
63
- "@dxos/storybook-utils": "0.8.1"
59
+ "typedoc": "0.28.1",
60
+ "@dxos/echo-signals": "0.8.2-main.f081794",
61
+ "@dxos/random": "0.8.2-main.f081794",
62
+ "@dxos/react-ui": "0.8.2-main.f081794",
63
+ "@dxos/react-ui-syntax-highlighter": "0.8.2-main.f081794",
64
+ "@dxos/storybook-utils": "0.8.2-main.f081794"
64
65
  },
65
66
  "peerDependencies": {
66
67
  "effect": "3.13.3",
@@ -68,5 +69,8 @@
68
69
  },
69
70
  "publishConfig": {
70
71
  "access": "public"
72
+ },
73
+ "scripts": {
74
+ "typedoc": "typedoc --out typedoc"
71
75
  }
72
76
  }
package/project.json CHANGED
@@ -19,7 +19,8 @@
19
19
  },
20
20
  "lint": {},
21
21
  "pack": {},
22
- "test": {}
22
+ "test": {},
23
+ "typedoc": {}
23
24
  },
24
25
  "implicitDependencies": [
25
26
  "esbuild"
package/src/App.tsx CHANGED
@@ -6,7 +6,7 @@ import { effect } from '@preact/signals-core';
6
6
  import React, { useEffect, useState, type FC, type PropsWithChildren } from 'react';
7
7
 
8
8
  import { invariant } from '@dxos/invariant';
9
- import { create } from '@dxos/live-object';
9
+ import { live } from '@dxos/live-object';
10
10
 
11
11
  import { Capabilities, Events } from './common';
12
12
  import { PluginManager, type PluginManagerOptions, type Plugin } from './core';
@@ -69,7 +69,7 @@ export const createApp = ({
69
69
  return plugin;
70
70
  });
71
71
 
72
- const state = create({ ready: false, error: null });
72
+ const state = live({ ready: false, error: null });
73
73
  const cached: string[] = JSON.parse(localStorage.getItem(ENABLED_KEY) ?? '[]');
74
74
  const enabled = cacheEnabled && cached.length > 0 ? cached : defaults;
75
75
  const manager = pluginManager ?? new PluginManager({ pluginLoader, plugins, core, enabled });
@@ -0,0 +1,21 @@
1
+ //
2
+ // Copyright 2025 DXOS.org
3
+ //
4
+
5
+ import { SchemaAST as AST, Schema as S } from 'effect';
6
+
7
+ import { Expando, Ref, SpaceIdSchema } from '@dxos/echo-schema';
8
+
9
+ export namespace CollaborationActions {
10
+ export class InsertContent extends S.TaggedClass<InsertContent>()('assistant/intent-content', {
11
+ input: S.Struct({
12
+ spaceId: SpaceIdSchema,
13
+ target: Ref(Expando),
14
+ object: Ref(Expando),
15
+ label: S.String.pipe(S.optional),
16
+ }).annotations({
17
+ [AST.DescriptionAnnotationId]: 'Enables plugins to inject content blocks or references into a related entity.',
18
+ }),
19
+ output: S.Void,
20
+ }) {}
21
+ }
@@ -3,6 +3,7 @@
3
3
  //
4
4
 
5
5
  export * from './capabilities';
6
+ export * from './collaboration';
6
7
  export * from './events';
7
8
  export * from './file';
8
9
  export * from './graph';
@@ -108,9 +108,12 @@ export namespace LayoutAction {
108
108
  export class UpdatePopover extends S.TaggedClass<UpdatePopover>()(UPDATE_LAYOUT, {
109
109
  input: S.Struct({
110
110
  part: S.Literal('popover').annotations({ description: 'Updating the popover.' }),
111
- subject: S.optional(S.String.annotations({ description: 'URI of the component to display in the popover.' })),
111
+ subject: S.optional(
112
+ S.Any.annotations({
113
+ description: 'URI of the component to display in the popover or data to pass to the popover.',
114
+ }),
115
+ ),
112
116
  options: S.Struct({
113
- anchorId: S.String.annotations({ description: 'The id of the element to anchor the popover to.' }),
114
117
  side: S.optional(
115
118
  S.Literal('top', 'right', 'bottom', 'left').annotations({ description: 'The side of the anchor.' }),
116
119
  ),
@@ -120,7 +123,22 @@ export namespace LayoutAction {
120
123
  description: 'Additional props for the popover.',
121
124
  }),
122
125
  ),
123
- }),
126
+ }).pipe(
127
+ S.extend(
128
+ S.Union(
129
+ S.Struct({
130
+ variant: S.Literal('virtual'),
131
+ anchor: S.Any.annotations({ description: 'The DOM element to anchor the popover to.' }),
132
+ }),
133
+ S.Struct({
134
+ variant: S.optional(S.Literal('react')),
135
+ anchorId: S.String.annotations({
136
+ description: 'An id that can be used to determine whether to render the anchor subcomponent.',
137
+ }),
138
+ }),
139
+ ),
140
+ ),
141
+ ),
124
142
  }),
125
143
  output: S.Void,
126
144
  }) {}
@@ -10,7 +10,7 @@ import { Effect } from 'effect';
10
10
 
11
11
  import { Trigger } from '@dxos/async';
12
12
  import { invariant } from '@dxos/invariant';
13
- import { create } from '@dxos/live-object';
13
+ import { live } from '@dxos/live-object';
14
14
  import { log } from '@dxos/log';
15
15
  import { type MaybePromise } from '@dxos/util';
16
16
 
@@ -34,7 +34,8 @@ export const defineCapability = <T>(identifier: string) => {
34
34
  };
35
35
 
36
36
  /**
37
- * Functionality contributed to the application by a plugin module.
37
+ * A unique string identifier with a Typescript type associated with it.
38
+ * When a capability is contributed to the application an implementation of the interface is provided.
38
39
  */
39
40
  export type Capability<T> = {
40
41
  /**
@@ -95,8 +96,11 @@ export const lazy =
95
96
  };
96
97
 
97
98
  /**
98
- * Context which is passed to plugins, allowing them to interact with each other.
99
+ * Facilitates the dependency injection between [plugin modules](#pluginmodule) by allowing them contribute and request capabilities from each other.
100
+ * It tracks the capabilities that are contributed in an in-memory live object.
101
+ * This allows the application to subscribe to this state and incorporate plugins which are added dynamically.
99
102
  */
103
+ // TOOD(burdon): Rename PluginContext.
100
104
  export class PluginsContext {
101
105
  private readonly _definedCapabilities = new Map<string, CapabilityImpl<unknown>[]>();
102
106
 
@@ -133,7 +137,7 @@ export class PluginsContext {
133
137
  }) {
134
138
  let current = this._definedCapabilities.get(interfaceDef.identifier);
135
139
  if (!current) {
136
- const object = create<{ value: CapabilityImpl<unknown>[] }>({ value: [] });
140
+ const object = live<{ value: CapabilityImpl<unknown>[] }>({ value: [] });
137
141
  current = untracked(() => object.value);
138
142
  this._definedCapabilities.set(interfaceDef.identifier, current);
139
143
  }
@@ -175,7 +179,7 @@ export class PluginsContext {
175
179
  ): U[] {
176
180
  let current = this._definedCapabilities.get(interfaceDef.identifier);
177
181
  if (!current) {
178
- const object = create<{ value: CapabilityImpl<unknown>[] }>({ value: [] });
182
+ const object = live<{ value: CapabilityImpl<unknown>[] }>({ value: [] });
179
183
  current = untracked(() => object.value);
180
184
  this._definedCapabilities.set(interfaceDef.identifier, current);
181
185
  }
@@ -3,7 +3,10 @@
3
3
  //
4
4
 
5
5
  /**
6
- * An event which activates a plugin module.
6
+ * A unique string identifier representing an event.
7
+ * This is expected to be a URI, where initial parts are often the id of the plugin whose package defines the event.
8
+ *
9
+ * @example dxos.org/plugin/example/event/ready
7
10
  */
8
11
  export type ActivationEvent = {
9
12
  id: string;
@@ -11,7 +11,7 @@ import { raise } from '@dxos/debug';
11
11
  import { updateCounter } from '@dxos/echo-schema/testing';
12
12
  import { registerSignalsRuntime } from '@dxos/echo-signals';
13
13
  import { invariant } from '@dxos/invariant';
14
- import { create } from '@dxos/live-object';
14
+ import { live } from '@dxos/live-object';
15
15
 
16
16
  import { contributes, defineCapability, type PluginsContext } from './capabilities';
17
17
  import { allOf, defineEvent, oneOf } from './events';
@@ -358,14 +358,14 @@ describe('PluginManager', () => {
358
358
  id,
359
359
  activatesOn: Events.Startup,
360
360
  activatesAfter: [stateEvent],
361
- activate: () => contributes(Number, create({ number: 1 })),
361
+ activate: () => contributes(Number, live({ number: 1 })),
362
362
  }),
363
363
  defineModule({
364
364
  id: 'dxos.org/test/doubler',
365
365
  activatesOn: stateEvent,
366
366
  activate: (context) => {
367
367
  const counter = context.requestCapability(Number);
368
- const state = create({ total: counter.number * 2 });
368
+ const state = live({ total: counter.number * 2 });
369
369
  const unsubscribe = effect(() => {
370
370
  state.total = counter.number * 2;
371
371
  });
@@ -6,7 +6,7 @@ import { untracked } from '@preact/signals-core';
6
6
  import { Array as A, Effect, Either, Match, pipe } from 'effect';
7
7
 
8
8
  import { Event } from '@dxos/async';
9
- import { create, type ReactiveObject } from '@dxos/live-object';
9
+ import { live, type Live } from '@dxos/live-object';
10
10
  import { log } from '@dxos/log';
11
11
  import { type MaybePromise } from '@dxos/util';
12
12
 
@@ -49,7 +49,7 @@ export class PluginManager {
49
49
  reset: (id) => this._reset(id),
50
50
  });
51
51
 
52
- private readonly _state: ReactiveObject<PluginManagerState>;
52
+ private readonly _state: Live<PluginManagerState>;
53
53
  private readonly _pluginLoader: PluginManagerOptions['pluginLoader'];
54
54
  private readonly _capabilities = new Map<string, AnyCapability[]>();
55
55
 
@@ -60,7 +60,7 @@ export class PluginManager {
60
60
  enabled = [],
61
61
  }: PluginManagerOptions) {
62
62
  this._pluginLoader = pluginLoader;
63
- this._state = create({
63
+ this._state = live({
64
64
  plugins,
65
65
  core,
66
66
  enabled,
@@ -79,7 +79,7 @@ export class PluginManager {
79
79
  *
80
80
  * @reactive
81
81
  */
82
- get plugins(): ReactiveObject<readonly Plugin[]> {
82
+ get plugins(): Live<readonly Plugin[]> {
83
83
  return this._state.plugins;
84
84
  }
85
85
 
@@ -88,7 +88,7 @@ export class PluginManager {
88
88
  *
89
89
  * @reactive
90
90
  */
91
- get core(): ReactiveObject<readonly string[]> {
91
+ get core(): Live<readonly string[]> {
92
92
  return this._state.core;
93
93
  }
94
94
 
@@ -97,7 +97,7 @@ export class PluginManager {
97
97
  *
98
98
  * @reactive
99
99
  */
100
- get enabled(): ReactiveObject<readonly string[]> {
100
+ get enabled(): Live<readonly string[]> {
101
101
  return this._state.enabled;
102
102
  }
103
103
 
@@ -106,7 +106,7 @@ export class PluginManager {
106
106
  *
107
107
  * @reactive
108
108
  */
109
- get modules(): ReactiveObject<readonly PluginModule[]> {
109
+ get modules(): Live<readonly PluginModule[]> {
110
110
  return this._state.modules;
111
111
  }
112
112
 
@@ -115,7 +115,7 @@ export class PluginManager {
115
115
  *
116
116
  * @reactive
117
117
  */
118
- get active(): ReactiveObject<readonly string[]> {
118
+ get active(): Live<readonly string[]> {
119
119
  return this._state.active;
120
120
  }
121
121
 
@@ -124,7 +124,7 @@ export class PluginManager {
124
124
  *
125
125
  * @reactive
126
126
  */
127
- get eventsFired(): ReactiveObject<readonly string[]> {
127
+ get eventsFired(): Live<readonly string[]> {
128
128
  return this._state.eventsFired;
129
129
  }
130
130
 
@@ -133,7 +133,7 @@ export class PluginManager {
133
133
  *
134
134
  * @reactive
135
135
  */
136
- get pendingReset(): ReactiveObject<readonly string[]> {
136
+ get pendingReset(): Live<readonly string[]> {
137
137
  return this._state.pendingReset;
138
138
  }
139
139
 
@@ -42,7 +42,7 @@ interface PluginModuleInterface {
42
42
 
43
43
  /**
44
44
  * A unit of containment of modular functionality that can be provided to an application.
45
- * Plugins provide things like components, state, actions, etc. to the application.
45
+ * Activation of a module is async allowing for code to split and loaded lazily.
46
46
  */
47
47
  // NOTE: This is implemented as a class to prevent it from being proxied by PluginManager state.
48
48
  export class PluginModule implements PluginModuleInterface {
@@ -114,6 +114,7 @@ export type PluginMeta = {
114
114
 
115
115
  /**
116
116
  * A collection of modules that are be enabled/disabled as a unit.
117
+ * Plugins provide things such as components, state, actions, etc. to the application.
117
118
  */
118
119
  // NOTE: This is implemented as a class to prevent it from being proxied by PluginManager state.
119
120
  export class Plugin {
@@ -5,7 +5,7 @@
5
5
  import { Effect, Option, pipe, Ref } from 'effect';
6
6
  import { type Simplify } from 'effect/Types';
7
7
 
8
- import { create } from '@dxos/live-object';
8
+ import { live } from '@dxos/live-object';
9
9
  import { log } from '@dxos/log';
10
10
  import { byPosition, type MaybePromise, type Position, type GuardedType } from '@dxos/util';
11
11
 
@@ -91,9 +91,25 @@ export type IntentEffectDefinition<Input, Output> = (
91
91
  * Intent resolver to match intents to their effects.
92
92
  */
93
93
  export type IntentResolver<Tag extends string, Fields extends IntentParams, Data = IntentData<Fields>> = Readonly<{
94
+ /**
95
+ * The schema of the intent to be resolved.
96
+ */
94
97
  intent: IntentSchema<Tag, Fields>;
98
+
99
+ /**
100
+ * Hint to determine the order the resolvers are processed if multiple resolvers are defined for the same intent.
101
+ * Only one resolver will be used.
102
+ */
95
103
  position?: Position;
104
+
105
+ /**
106
+ * Optional filter to determine if the resolver should be used.
107
+ */
96
108
  filter?: (data: IntentData<Fields>) => data is Data;
109
+
110
+ /**
111
+ * The effect to be performed when the intent is resolved.
112
+ */
97
113
  resolve: IntentEffectDefinition<GuardedType<IntentResolver<Tag, Fields, Data>['filter']>, IntentResultData<Fields>>;
98
114
  }>;
99
115
 
@@ -287,7 +303,7 @@ const defaultEffect = () => Effect.fail(new Error('Intent runtime not ready'));
287
303
  const defaultPromise = () => Effect.runPromise(defaultEffect());
288
304
 
289
305
  export default (context: PluginsContext) => {
290
- const state = create<IntentContext>({
306
+ const state = live<IntentContext>({
291
307
  dispatch: defaultEffect,
292
308
  dispatchPromise: defaultPromise,
293
309
  undo: defaultEffect,
@@ -0,0 +1 @@
1
+ TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -0,0 +1 @@
1
+ window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="
@@ -0,0 +1,106 @@
1
+ :root {
2
+ --light-hl-0: #795E26;
3
+ --dark-hl-0: #DCDCAA;
4
+ --light-hl-1: #000000;
5
+ --dark-hl-1: #D4D4D4;
6
+ --light-hl-2: #A31515;
7
+ --dark-hl-2: #CE9178;
8
+ --light-hl-3: #AF00DB;
9
+ --dark-hl-3: #C586C0;
10
+ --light-hl-4: #001080;
11
+ --dark-hl-4: #9CDCFE;
12
+ --light-hl-5: #0000FF;
13
+ --dark-hl-5: #569CD6;
14
+ --light-hl-6: #267F99;
15
+ --dark-hl-6: #4EC9B0;
16
+ --light-hl-7: #008000;
17
+ --dark-hl-7: #6A9955;
18
+ --light-hl-8: #000000;
19
+ --dark-hl-8: #C8C8C8;
20
+ --light-hl-9: #0070C1;
21
+ --dark-hl-9: #4FC1FF;
22
+ --light-hl-10: #098658;
23
+ --dark-hl-10: #B5CEA8;
24
+ --light-hl-11: #CD3131;
25
+ --dark-hl-11: #F44747;
26
+ --light-code-background: #FFFFFF;
27
+ --dark-code-background: #1E1E1E;
28
+ }
29
+
30
+ @media (prefers-color-scheme: light) { :root {
31
+ --hl-0: var(--light-hl-0);
32
+ --hl-1: var(--light-hl-1);
33
+ --hl-2: var(--light-hl-2);
34
+ --hl-3: var(--light-hl-3);
35
+ --hl-4: var(--light-hl-4);
36
+ --hl-5: var(--light-hl-5);
37
+ --hl-6: var(--light-hl-6);
38
+ --hl-7: var(--light-hl-7);
39
+ --hl-8: var(--light-hl-8);
40
+ --hl-9: var(--light-hl-9);
41
+ --hl-10: var(--light-hl-10);
42
+ --hl-11: var(--light-hl-11);
43
+ --code-background: var(--light-code-background);
44
+ } }
45
+
46
+ @media (prefers-color-scheme: dark) { :root {
47
+ --hl-0: var(--dark-hl-0);
48
+ --hl-1: var(--dark-hl-1);
49
+ --hl-2: var(--dark-hl-2);
50
+ --hl-3: var(--dark-hl-3);
51
+ --hl-4: var(--dark-hl-4);
52
+ --hl-5: var(--dark-hl-5);
53
+ --hl-6: var(--dark-hl-6);
54
+ --hl-7: var(--dark-hl-7);
55
+ --hl-8: var(--dark-hl-8);
56
+ --hl-9: var(--dark-hl-9);
57
+ --hl-10: var(--dark-hl-10);
58
+ --hl-11: var(--dark-hl-11);
59
+ --code-background: var(--dark-code-background);
60
+ } }
61
+
62
+ :root[data-theme='light'] {
63
+ --hl-0: var(--light-hl-0);
64
+ --hl-1: var(--light-hl-1);
65
+ --hl-2: var(--light-hl-2);
66
+ --hl-3: var(--light-hl-3);
67
+ --hl-4: var(--light-hl-4);
68
+ --hl-5: var(--light-hl-5);
69
+ --hl-6: var(--light-hl-6);
70
+ --hl-7: var(--light-hl-7);
71
+ --hl-8: var(--light-hl-8);
72
+ --hl-9: var(--light-hl-9);
73
+ --hl-10: var(--light-hl-10);
74
+ --hl-11: var(--light-hl-11);
75
+ --code-background: var(--light-code-background);
76
+ }
77
+
78
+ :root[data-theme='dark'] {
79
+ --hl-0: var(--dark-hl-0);
80
+ --hl-1: var(--dark-hl-1);
81
+ --hl-2: var(--dark-hl-2);
82
+ --hl-3: var(--dark-hl-3);
83
+ --hl-4: var(--dark-hl-4);
84
+ --hl-5: var(--dark-hl-5);
85
+ --hl-6: var(--dark-hl-6);
86
+ --hl-7: var(--dark-hl-7);
87
+ --hl-8: var(--dark-hl-8);
88
+ --hl-9: var(--dark-hl-9);
89
+ --hl-10: var(--dark-hl-10);
90
+ --hl-11: var(--dark-hl-11);
91
+ --code-background: var(--dark-code-background);
92
+ }
93
+
94
+ .hl-0 { color: var(--hl-0); }
95
+ .hl-1 { color: var(--hl-1); }
96
+ .hl-2 { color: var(--hl-2); }
97
+ .hl-3 { color: var(--hl-3); }
98
+ .hl-4 { color: var(--hl-4); }
99
+ .hl-5 { color: var(--hl-5); }
100
+ .hl-6 { color: var(--hl-6); }
101
+ .hl-7 { color: var(--hl-7); }
102
+ .hl-8 { color: var(--hl-8); }
103
+ .hl-9 { color: var(--hl-9); }
104
+ .hl-10 { color: var(--hl-10); }
105
+ .hl-11 { color: var(--hl-11); }
106
+ pre, code { background: var(--code-background); }
@@ -0,0 +1,18 @@
1
+ (function() {
2
+ addIcons();
3
+ function addIcons() {
4
+ if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
5
+ const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
6
+ svg.innerHTML = `<g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g><g id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g><g id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></g><g id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g>`;
7
+ svg.style.display = "none";
8
+ if (location.protocol === "file:") updateUseElements();
9
+ }
10
+
11
+ function updateUseElements() {
12
+ document.querySelectorAll("use").forEach(el => {
13
+ if (el.getAttribute("href").includes("#icon-")) {
14
+ el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#"));
15
+ }
16
+ });
17
+ }
18
+ })()
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg"><g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g><g id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g><g id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></g><g id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g></svg>