@dxos/plugin-automation 0.7.5-staging.b81e783 → 0.8.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.
- package/dist/lib/browser/AutomationPanel-ITYXSN5Z.mjs +132 -0
- package/dist/lib/browser/AutomationPanel-ITYXSN5Z.mjs.map +7 -0
- package/dist/lib/browser/{chunk-HZSTXZWK.mjs → chunk-OFDNNRLE.mjs} +3 -8
- package/dist/lib/browser/chunk-OFDNNRLE.mjs.map +7 -0
- package/dist/lib/browser/chunk-U7QLNY2S.mjs +8 -0
- package/dist/lib/browser/chunk-U7QLNY2S.mjs.map +7 -0
- package/dist/lib/browser/chunk-WY2C7JY4.mjs +119 -0
- package/dist/lib/browser/chunk-WY2C7JY4.mjs.map +7 -0
- package/dist/lib/browser/complementary-panel-4CPOJL4Y.mjs +56 -0
- package/dist/lib/browser/complementary-panel-4CPOJL4Y.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +18 -395
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-SAPMN4PF.mjs +27 -0
- package/dist/lib/browser/react-surface-SAPMN4PF.mjs.map +7 -0
- package/dist/lib/node/{chunk-V4L7LTWM.cjs → AutomationPanel-X33HHDMQ.cjs} +19 -132
- package/dist/lib/node/AutomationPanel-X33HHDMQ.cjs.map +7 -0
- package/dist/lib/node/chunk-7Q5SNGCL.cjs +148 -0
- package/dist/lib/node/chunk-7Q5SNGCL.cjs.map +7 -0
- package/dist/lib/node/chunk-CB5OB6JH.cjs +40 -0
- package/dist/lib/node/chunk-CB5OB6JH.cjs.map +7 -0
- package/dist/lib/node/{chunk-BAQRBGOJ.cjs → chunk-ORMEYEBE.cjs} +6 -12
- package/dist/lib/node/chunk-ORMEYEBE.cjs.map +7 -0
- package/dist/lib/node/complementary-panel-ZYJJ42ZU.cjs +72 -0
- package/dist/lib/node/complementary-panel-ZYJJ42ZU.cjs.map +7 -0
- package/dist/lib/node/index.cjs +33 -396
- package/dist/lib/node/index.cjs.map +4 -4
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-IXKIJFRP.cjs → react-surface-2WRVAPGR.cjs} +9 -34
- package/dist/lib/node/react-surface-2WRVAPGR.cjs.map +7 -0
- package/dist/lib/node-esm/AutomationPanel-HY3GB4BT.mjs +133 -0
- package/dist/lib/node-esm/AutomationPanel-HY3GB4BT.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-IG4GSWZN.mjs → chunk-6MUUH67V.mjs} +3 -8
- package/dist/lib/node-esm/chunk-6MUUH67V.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-R3P2WPBQ.mjs +10 -0
- package/dist/lib/node-esm/chunk-R3P2WPBQ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-UDD2VA6G.mjs +120 -0
- package/dist/lib/node-esm/chunk-UDD2VA6G.mjs.map +7 -0
- package/dist/lib/node-esm/complementary-panel-S42RIIAY.mjs +57 -0
- package/dist/lib/node-esm/complementary-panel-S42RIIAY.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +18 -395
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-QWLPOYXO.mjs +28 -0
- package/dist/lib/node-esm/react-surface-QWLPOYXO.mjs.map +7 -0
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/{ai-client.d.ts → complementary-panel.d.ts} +2 -3
- package/dist/types/src/capabilities/complementary-panel.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +1 -180
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -11
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +0 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-functions.d.ts +0 -2
- package/dist/types/src/testing/test-functions.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -112
- package/dist/types/src/translations.d.ts.map +1 -1
- package/package.json +21 -74
- package/src/AutomationPlugin.tsx +7 -76
- package/src/capabilities/complementary-panel.ts +56 -0
- package/src/capabilities/index.ts +1 -5
- package/src/capabilities/react-surface.tsx +3 -23
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +1 -2
- package/src/components/AutomationPanel/AutomationPanel.tsx +56 -49
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +1 -2
- package/src/components/index.ts +0 -8
- package/src/index.ts +2 -3
- package/src/meta.ts +1 -4
- package/src/testing/index.ts +0 -1
- package/src/testing/test-functions.ts +0 -7
- package/src/translations.ts +1 -37
- package/dist/lib/browser/AutomationPanel-NCKK3CFN.mjs +0 -8
- package/dist/lib/browser/AutomationPanel-NCKK3CFN.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-AZPLZJ5H.mjs +0 -12
- package/dist/lib/browser/ChatContainer-AZPLZJ5H.mjs.map +0 -7
- package/dist/lib/browser/ai-client-T2PBJISL.mjs +0 -22
- package/dist/lib/browser/ai-client-T2PBJISL.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-F22H4YBQ.mjs +0 -111
- package/dist/lib/browser/app-graph-builder-F22H4YBQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-67KDIIM6.mjs +0 -15
- package/dist/lib/browser/chunk-67KDIIM6.mjs.map +0 -7
- package/dist/lib/browser/chunk-HZSTXZWK.mjs.map +0 -7
- package/dist/lib/browser/chunk-L2YLAKCS.mjs +0 -151
- package/dist/lib/browser/chunk-L2YLAKCS.mjs.map +0 -7
- package/dist/lib/browser/chunk-LJ7F4KDM.mjs +0 -243
- package/dist/lib/browser/chunk-LJ7F4KDM.mjs.map +0 -7
- package/dist/lib/browser/chunk-M4MWUOUC.mjs +0 -382
- package/dist/lib/browser/chunk-M4MWUOUC.mjs.map +0 -7
- package/dist/lib/browser/chunk-U435IUIA.mjs +0 -1775
- package/dist/lib/browser/chunk-U435IUIA.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-MONKAKTY.mjs +0 -30
- package/dist/lib/browser/intent-resolver-MONKAKTY.mjs.map +0 -7
- package/dist/lib/browser/react-surface-7QWCWE4K.mjs +0 -58
- package/dist/lib/browser/react-surface-7QWCWE4K.mjs.map +0 -7
- package/dist/lib/browser/types/index.mjs +0 -24
- package/dist/lib/browser/types/index.mjs.map +0 -7
- package/dist/lib/node/AutomationPanel-6COLKRIB.cjs +0 -26
- package/dist/lib/node/AutomationPanel-6COLKRIB.cjs.map +0 -7
- package/dist/lib/node/ChatContainer-SBEUFMQ3.cjs +0 -33
- package/dist/lib/node/ChatContainer-SBEUFMQ3.cjs.map +0 -7
- package/dist/lib/node/ai-client-L5GUSAER.cjs +0 -38
- package/dist/lib/node/ai-client-L5GUSAER.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-OCSH5R6U.cjs +0 -123
- package/dist/lib/node/app-graph-builder-OCSH5R6U.cjs.map +0 -7
- package/dist/lib/node/chunk-BAQRBGOJ.cjs.map +0 -7
- package/dist/lib/node/chunk-BZFAEBME.cjs +0 -1747
- package/dist/lib/node/chunk-BZFAEBME.cjs.map +0 -7
- package/dist/lib/node/chunk-K3F5JNZ6.cjs +0 -394
- package/dist/lib/node/chunk-K3F5JNZ6.cjs.map +0 -7
- package/dist/lib/node/chunk-NUOYHYAF.cjs +0 -174
- package/dist/lib/node/chunk-NUOYHYAF.cjs.map +0 -7
- package/dist/lib/node/chunk-V4L7LTWM.cjs.map +0 -7
- package/dist/lib/node/chunk-VNBYGJ4K.cjs +0 -34
- package/dist/lib/node/chunk-VNBYGJ4K.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-KQGTYVF2.cjs +0 -45
- package/dist/lib/node/intent-resolver-KQGTYVF2.cjs.map +0 -7
- package/dist/lib/node/react-surface-IXKIJFRP.cjs.map +0 -7
- package/dist/lib/node/types/index.cjs +0 -46
- package/dist/lib/node/types/index.cjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-3MPIAO7R.mjs +0 -9
- package/dist/lib/node-esm/AutomationPanel-3MPIAO7R.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-JCDLYMDZ.mjs +0 -13
- package/dist/lib/node-esm/ChatContainer-JCDLYMDZ.mjs.map +0 -7
- package/dist/lib/node-esm/ai-client-45LZLW7V.mjs +0 -23
- package/dist/lib/node-esm/ai-client-45LZLW7V.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-XSM7DETF.mjs +0 -112
- package/dist/lib/node-esm/app-graph-builder-XSM7DETF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-53FFD4VO.mjs +0 -1776
- package/dist/lib/node-esm/chunk-53FFD4VO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AWAU4BHR.mjs +0 -244
- package/dist/lib/node-esm/chunk-AWAU4BHR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IG4GSWZN.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-K5NNSGIV.mjs +0 -152
- package/dist/lib/node-esm/chunk-K5NNSGIV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-RAT3GSJP.mjs +0 -383
- package/dist/lib/node-esm/chunk-RAT3GSJP.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SS7U6GCX.mjs +0 -16
- package/dist/lib/node-esm/chunk-SS7U6GCX.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-XSZRLU6V.mjs +0 -31
- package/dist/lib/node-esm/intent-resolver-XSZRLU6V.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-FZAAAXGR.mjs +0 -59
- package/dist/lib/node-esm/react-surface-FZAAAXGR.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -25
- package/dist/lib/node-esm/types/index.mjs.map +0 -7
- package/dist/types/src/capabilities/ai-client.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -181
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -5
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/AmbientDialog/AmbientDialog.d.ts +0 -7
- package/dist/types/src/components/AmbientDialog/AmbientDialog.d.ts.map +0 -1
- package/dist/types/src/components/AmbientDialog/AmbientDialog.stories.d.ts +0 -8
- package/dist/types/src/components/AmbientDialog/AmbientDialog.stories.d.ts.map +0 -1
- package/dist/types/src/components/AmbientDialog/index.d.ts +0 -2
- package/dist/types/src/components/AmbientDialog/index.d.ts.map +0 -1
- package/dist/types/src/components/AssistantDialog/AssistantDialog.d.ts +0 -6
- package/dist/types/src/components/AssistantDialog/AssistantDialog.d.ts.map +0 -1
- package/dist/types/src/components/AssistantDialog/index.d.ts +0 -2
- package/dist/types/src/components/AssistantDialog/index.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer/ChatContainer.d.ts +0 -6
- package/dist/types/src/components/ChatContainer/ChatContainer.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer/index.d.ts +0 -4
- package/dist/types/src/components/ChatContainer/index.d.ts.map +0 -1
- package/dist/types/src/components/Prompt/Prompt.d.ts +0 -13
- package/dist/types/src/components/Prompt/Prompt.d.ts.map +0 -1
- package/dist/types/src/components/Prompt/Prompt.stories.d.ts +0 -9
- package/dist/types/src/components/Prompt/Prompt.stories.d.ts.map +0 -1
- package/dist/types/src/components/Prompt/PromptBar.d.ts +0 -10
- package/dist/types/src/components/Prompt/PromptBar.d.ts.map +0 -1
- package/dist/types/src/components/Prompt/autocomplete.d.ts +0 -21
- package/dist/types/src/components/Prompt/autocomplete.d.ts.map +0 -1
- package/dist/types/src/components/Prompt/index.d.ts +0 -3
- package/dist/types/src/components/Prompt/index.d.ts.map +0 -1
- package/dist/types/src/components/PromptEditor/PromptEditor.d.ts +0 -9
- package/dist/types/src/components/PromptEditor/PromptEditor.d.ts.map +0 -1
- package/dist/types/src/components/PromptEditor/PromptEditor.stories.d.ts +0 -6
- package/dist/types/src/components/PromptEditor/PromptEditor.stories.d.ts.map +0 -1
- package/dist/types/src/components/PromptEditor/index.d.ts +0 -2
- package/dist/types/src/components/PromptEditor/index.d.ts.map +0 -1
- package/dist/types/src/components/PromptEditor/prompt-extension.d.ts +0 -4
- package/dist/types/src/components/PromptEditor/prompt-extension.d.ts.map +0 -1
- package/dist/types/src/components/PromptEditor/types.d.ts +0 -18
- package/dist/types/src/components/PromptEditor/types.d.ts.map +0 -1
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.d.ts +0 -5
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.d.ts.map +0 -1
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.stories.d.ts +0 -8
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.stories.d.ts.map +0 -1
- package/dist/types/src/components/ServiceRegistry/index.d.ts +0 -2
- package/dist/types/src/components/ServiceRegistry/index.d.ts.map +0 -1
- package/dist/types/src/components/Thread/Thread.d.ts +0 -15
- package/dist/types/src/components/Thread/Thread.d.ts.map +0 -1
- package/dist/types/src/components/Thread/Thread.stories.d.ts +0 -11
- package/dist/types/src/components/Thread/Thread.stories.d.ts.map +0 -1
- package/dist/types/src/components/Thread/ThreadContainer.d.ts +0 -8
- package/dist/types/src/components/Thread/ThreadContainer.d.ts.map +0 -1
- package/dist/types/src/components/Thread/ThreadContainer.stories.d.ts +0 -15
- package/dist/types/src/components/Thread/ThreadContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/Thread/ThreadMessage.d.ts +0 -13
- package/dist/types/src/components/Thread/ThreadMessage.d.ts.map +0 -1
- package/dist/types/src/components/Thread/ToolInvocations.d.ts +0 -13
- package/dist/types/src/components/Thread/ToolInvocations.d.ts.map +0 -1
- package/dist/types/src/components/Thread/index.d.ts +0 -3
- package/dist/types/src/components/Thread/index.d.ts.map +0 -1
- package/dist/types/src/components/Thread/reducer.d.ts +0 -12
- package/dist/types/src/components/Thread/reducer.d.ts.map +0 -1
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +0 -19
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +0 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +0 -8
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +0 -1
- package/dist/types/src/components/Toolbox/index.d.ts +0 -2
- package/dist/types/src/components/Toolbox/index.d.ts.map +0 -1
- package/dist/types/src/hooks/email.d.ts +0 -4
- package/dist/types/src/hooks/email.d.ts.map +0 -1
- package/dist/types/src/hooks/index.d.ts +0 -7
- package/dist/types/src/hooks/index.d.ts.map +0 -1
- package/dist/types/src/hooks/invocation-handler.d.ts +0 -5
- package/dist/types/src/hooks/invocation-handler.d.ts.map +0 -1
- package/dist/types/src/hooks/processor.d.ts +0 -75
- package/dist/types/src/hooks/processor.d.ts.map +0 -1
- package/dist/types/src/hooks/processor.test.d.ts +0 -2
- package/dist/types/src/hooks/processor.test.d.ts.map +0 -1
- package/dist/types/src/hooks/useChatProcessor.d.ts +0 -7
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +0 -1
- package/dist/types/src/hooks/useLocalTriggerManager.d.ts +0 -3
- package/dist/types/src/hooks/useLocalTriggerManager.d.ts.map +0 -1
- package/dist/types/src/hooks/useMessageQueue.d.ts +0 -41
- package/dist/types/src/hooks/useMessageQueue.d.ts.map +0 -1
- package/dist/types/src/hooks/useServices.d.ts +0 -7
- package/dist/types/src/hooks/useServices.d.ts.map +0 -1
- package/dist/types/src/hooks/useTextInputEvents.d.ts +0 -13
- package/dist/types/src/hooks/useTextInputEvents.d.ts.map +0 -1
- package/dist/types/src/presets.d.ts +0 -9
- package/dist/types/src/presets.d.ts.map +0 -1
- package/dist/types/src/testing/test-services.d.ts +0 -5
- package/dist/types/src/testing/test-services.d.ts.map +0 -1
- package/dist/types/src/tools/function.d.ts +0 -5
- package/dist/types/src/tools/function.d.ts.map +0 -1
- package/dist/types/src/tools/index.d.ts +0 -3
- package/dist/types/src/tools/index.d.ts.map +0 -1
- package/dist/types/src/tools/openapi.d.ts +0 -10
- package/dist/types/src/tools/openapi.d.ts.map +0 -1
- package/dist/types/src/tools/openapi.test.d.ts +0 -2
- package/dist/types/src/tools/openapi.test.d.ts.map +0 -1
- package/dist/types/src/types/index.d.ts +0 -4
- package/dist/types/src/types/index.d.ts.map +0 -1
- package/dist/types/src/types/registry.d.ts +0 -10
- package/dist/types/src/types/registry.d.ts.map +0 -1
- package/dist/types/src/types/schema.d.ts +0 -221
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/dist/types/src/types/types.d.ts +0 -19
- package/dist/types/src/types/types.d.ts.map +0 -1
- package/src/capabilities/ai-client.ts +0 -19
- package/src/capabilities/app-graph-builder.ts +0 -100
- package/src/capabilities/capabilities.ts +0 -12
- package/src/capabilities/intent-resolver.ts +0 -26
- package/src/components/AmbientDialog/AmbientDialog.stories.tsx +0 -81
- package/src/components/AmbientDialog/AmbientDialog.tsx +0 -103
- package/src/components/AmbientDialog/index.ts +0 -5
- package/src/components/AssistantDialog/AssistantDialog.tsx +0 -23
- package/src/components/AssistantDialog/index.ts +0 -5
- package/src/components/ChatContainer/ChatContainer.tsx +0 -19
- package/src/components/ChatContainer/index.ts +0 -9
- package/src/components/Prompt/Prompt.stories.tsx +0 -79
- package/src/components/Prompt/Prompt.tsx +0 -79
- package/src/components/Prompt/PromptBar.tsx +0 -100
- package/src/components/Prompt/autocomplete.ts +0 -212
- package/src/components/Prompt/index.ts +0 -6
- package/src/components/PromptEditor/PromptEditor.stories.tsx +0 -64
- package/src/components/PromptEditor/PromptEditor.tsx +0 -222
- package/src/components/PromptEditor/index.ts +0 -5
- package/src/components/PromptEditor/prompt-extension.ts +0 -43
- package/src/components/PromptEditor/types.tsx +0 -28
- package/src/components/ServiceRegistry/ServiceRegistry.stories.tsx +0 -49
- package/src/components/ServiceRegistry/ServiceRegistry.tsx +0 -76
- package/src/components/ServiceRegistry/index.ts +0 -5
- package/src/components/Thread/Thread.stories.tsx +0 -210
- package/src/components/Thread/Thread.tsx +0 -106
- package/src/components/Thread/ThreadContainer.stories.tsx +0 -245
- package/src/components/Thread/ThreadContainer.tsx +0 -67
- package/src/components/Thread/ThreadMessage.tsx +0 -187
- package/src/components/Thread/ToolInvocations.tsx +0 -86
- package/src/components/Thread/index.ts +0 -6
- package/src/components/Thread/reducer.ts +0 -52
- package/src/components/Toolbox/Toolbox.stories.tsx +0 -66
- package/src/components/Toolbox/Toolbox.tsx +0 -89
- package/src/components/Toolbox/index.ts +0 -5
- package/src/hooks/email.ts +0 -49
- package/src/hooks/index.ts +0 -11
- package/src/hooks/invocation-handler.ts +0 -109
- package/src/hooks/processor.test.ts +0 -15
- package/src/hooks/processor.ts +0 -218
- package/src/hooks/useChatProcessor.tsx +0 -75
- package/src/hooks/useLocalTriggerManager.ts +0 -82
- package/src/hooks/useMessageQueue.ts +0 -23
- package/src/hooks/useServices.ts +0 -28
- package/src/hooks/useTextInputEvents.ts +0 -49
- package/src/presets.ts +0 -248
- package/src/testing/test-services.ts +0 -131
- package/src/tools/function.ts +0 -47
- package/src/tools/index.ts +0 -6
- package/src/tools/openapi.test.ts +0 -224
- package/src/tools/openapi.ts +0 -331
- package/src/types/index.ts +0 -7
- package/src/types/registry.ts +0 -26
- package/src/types/schema.ts +0 -132
- package/src/types/types.ts +0 -22
- package/src/typings.d.ts +0 -9
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import '@dxos-theme';
|
|
6
|
-
|
|
7
|
-
import { type StoryObj, type Meta } from '@storybook/react';
|
|
8
|
-
import React, { useEffect, useState } from 'react';
|
|
9
|
-
|
|
10
|
-
import { withTheme, withLayout } from '@dxos/storybook-utils';
|
|
11
|
-
|
|
12
|
-
import { Prompt } from './Prompt';
|
|
13
|
-
import { PromptBar } from './PromptBar';
|
|
14
|
-
import translations from '../../translations';
|
|
15
|
-
|
|
16
|
-
const meta: Meta<typeof Prompt> = {
|
|
17
|
-
title: 'plugins/plugin-automation/Prompt',
|
|
18
|
-
component: Prompt,
|
|
19
|
-
decorators: [withTheme, withLayout({ tooltips: true })],
|
|
20
|
-
parameters: {
|
|
21
|
-
layout: 'centered',
|
|
22
|
-
translations,
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default meta;
|
|
27
|
-
|
|
28
|
-
type Story = StoryObj<typeof Prompt>;
|
|
29
|
-
|
|
30
|
-
export const Default: Story = {
|
|
31
|
-
args: {
|
|
32
|
-
classNames: 'w-96 p-4 rounded outline outline-gray-200',
|
|
33
|
-
autoFocus: true,
|
|
34
|
-
onSubmit: (text) => {
|
|
35
|
-
console.log('onEnter', text);
|
|
36
|
-
},
|
|
37
|
-
onSuggest: (text) => {
|
|
38
|
-
const trimmed = text.trim().toLowerCase();
|
|
39
|
-
if (trimmed.length < 2) {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
const suggestions = [
|
|
44
|
-
'Create a kanban board',
|
|
45
|
-
'Create a new project',
|
|
46
|
-
'Find flights to Tokyo',
|
|
47
|
-
"Let's play chess",
|
|
48
|
-
'Show me Paris on a map',
|
|
49
|
-
];
|
|
50
|
-
|
|
51
|
-
return suggestions.filter((s) => s.toLowerCase().startsWith(text));
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export const Toolbar: Story = {
|
|
57
|
-
render: (args) => {
|
|
58
|
-
const [processing, setProcessing] = useState(false);
|
|
59
|
-
useEffect(() => {
|
|
60
|
-
let t: NodeJS.Timeout;
|
|
61
|
-
if (processing) {
|
|
62
|
-
t = setTimeout(() => setProcessing(false), 10_000);
|
|
63
|
-
}
|
|
64
|
-
return () => clearTimeout(t);
|
|
65
|
-
}, [processing]);
|
|
66
|
-
console.log('processing', processing);
|
|
67
|
-
|
|
68
|
-
return (
|
|
69
|
-
<PromptBar
|
|
70
|
-
classNames='w-[25rem] p-1 overflow-hidden border border-gray-200 rounded'
|
|
71
|
-
microphone
|
|
72
|
-
processing={processing}
|
|
73
|
-
onSubmit={() => setProcessing(true)}
|
|
74
|
-
onCancel={() => setProcessing(false)}
|
|
75
|
-
{...args}
|
|
76
|
-
/>
|
|
77
|
-
);
|
|
78
|
-
},
|
|
79
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import React, { forwardRef, useImperativeHandle } from 'react';
|
|
6
|
-
|
|
7
|
-
import { type ThemedClassName, useThemeContext } from '@dxos/react-ui';
|
|
8
|
-
import {
|
|
9
|
-
type BasicExtensionsOptions,
|
|
10
|
-
createBasicExtensions,
|
|
11
|
-
createThemeExtensions,
|
|
12
|
-
useTextEditor,
|
|
13
|
-
type UseTextEditorProps,
|
|
14
|
-
} from '@dxos/react-ui-editor';
|
|
15
|
-
import { mx } from '@dxos/react-ui-theme';
|
|
16
|
-
|
|
17
|
-
import { createAutocompleteExtension, type AutocompleteOptions } from './autocomplete';
|
|
18
|
-
|
|
19
|
-
// TODO(burdon): Handle object references.
|
|
20
|
-
|
|
21
|
-
export interface PromptController {
|
|
22
|
-
focus(): void;
|
|
23
|
-
setText(text: string): void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export type PromptProps = ThemedClassName<
|
|
27
|
-
AutocompleteOptions &
|
|
28
|
-
Pick<UseTextEditorProps, 'autoFocus'> &
|
|
29
|
-
Pick<BasicExtensionsOptions, 'lineWrapping' | 'placeholder'>
|
|
30
|
-
>;
|
|
31
|
-
|
|
32
|
-
export const Prompt = forwardRef<PromptController, PromptProps>(
|
|
33
|
-
({ classNames, autoFocus, lineWrapping = false, placeholder, onSubmit, onSuggest }, forwardRef) => {
|
|
34
|
-
const { themeMode } = useThemeContext();
|
|
35
|
-
const { parentRef, view } = useTextEditor(
|
|
36
|
-
{
|
|
37
|
-
autoFocus,
|
|
38
|
-
extensions: [
|
|
39
|
-
createBasicExtensions({
|
|
40
|
-
bracketMatching: false,
|
|
41
|
-
lineWrapping,
|
|
42
|
-
placeholder,
|
|
43
|
-
}),
|
|
44
|
-
createThemeExtensions({ themeMode }),
|
|
45
|
-
createAutocompleteExtension({ onSubmit, onSuggest }),
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
[themeMode, onSubmit, onSuggest],
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
// Expose editor view.
|
|
52
|
-
useImperativeHandle(
|
|
53
|
-
forwardRef,
|
|
54
|
-
() => {
|
|
55
|
-
return {
|
|
56
|
-
focus: () => {
|
|
57
|
-
view?.focus();
|
|
58
|
-
},
|
|
59
|
-
setText: (text: string) => {
|
|
60
|
-
view?.dispatch({
|
|
61
|
-
changes: {
|
|
62
|
-
from: 0,
|
|
63
|
-
to: view.state.doc.length,
|
|
64
|
-
insert: text,
|
|
65
|
-
},
|
|
66
|
-
selection: {
|
|
67
|
-
anchor: text.length,
|
|
68
|
-
head: text.length,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
[view, onSubmit],
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
return <div ref={parentRef} className={mx('w-full overflow-hidden', classNames)} />;
|
|
78
|
-
},
|
|
79
|
-
);
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import React, { useRef, useState } from 'react';
|
|
6
|
-
|
|
7
|
-
import { useVoiceInput } from '@dxos/plugin-transcription';
|
|
8
|
-
import { Icon, IconButton, type ThemedClassName, useTranslation } from '@dxos/react-ui';
|
|
9
|
-
import { Spinner } from '@dxos/react-ui-sfx';
|
|
10
|
-
import { errorText, mx } from '@dxos/react-ui-theme';
|
|
11
|
-
|
|
12
|
-
import { Prompt, type PromptController, type PromptProps } from './Prompt';
|
|
13
|
-
import { AUTOMATION_PLUGIN } from '../../meta';
|
|
14
|
-
|
|
15
|
-
export type PromptBarProps = ThemedClassName<
|
|
16
|
-
Pick<PromptProps, 'placeholder' | 'lineWrapping' | 'onSubmit' | 'onSuggest'> & {
|
|
17
|
-
processing?: boolean;
|
|
18
|
-
error?: Error;
|
|
19
|
-
microphone?: boolean;
|
|
20
|
-
onCancel?: () => void;
|
|
21
|
-
}
|
|
22
|
-
>;
|
|
23
|
-
|
|
24
|
-
export const PromptBar = ({
|
|
25
|
-
classNames,
|
|
26
|
-
placeholder,
|
|
27
|
-
processing,
|
|
28
|
-
error,
|
|
29
|
-
microphone,
|
|
30
|
-
onCancel,
|
|
31
|
-
...props
|
|
32
|
-
}: PromptBarProps) => {
|
|
33
|
-
const { t } = useTranslation(AUTOMATION_PLUGIN);
|
|
34
|
-
|
|
35
|
-
const promptRef = useRef<PromptController>(null);
|
|
36
|
-
|
|
37
|
-
// TODO(burdon): Configure capability in TranscriptionPlugin.
|
|
38
|
-
const [active, setActive] = useState(false);
|
|
39
|
-
const { recording } = useVoiceInput({
|
|
40
|
-
active,
|
|
41
|
-
onUpdate: (text) => {
|
|
42
|
-
promptRef.current?.setText(text);
|
|
43
|
-
promptRef.current?.focus();
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// TODO(burdon): Tooltip for error.
|
|
48
|
-
return (
|
|
49
|
-
<div
|
|
50
|
-
className={mx(
|
|
51
|
-
'flex shrink-0 w-full grid grid-cols-[var(--rail-action)_1fr_var(--rail-action)] overflow-hidden',
|
|
52
|
-
classNames,
|
|
53
|
-
)}
|
|
54
|
-
>
|
|
55
|
-
<div className='flex w-[--rail-action] h-[--rail-action] items-center justify-center'>
|
|
56
|
-
{(error && <Icon icon='ph--warning-circle--regular' classNames={errorText} size={5} />) || (
|
|
57
|
-
<Spinner active={processing} />
|
|
58
|
-
)}
|
|
59
|
-
</div>
|
|
60
|
-
<Prompt
|
|
61
|
-
ref={promptRef}
|
|
62
|
-
autoFocus
|
|
63
|
-
classNames='pbs-2'
|
|
64
|
-
lineWrapping={true}
|
|
65
|
-
placeholder={placeholder ?? t('prompt placeholder')}
|
|
66
|
-
{...props}
|
|
67
|
-
/>
|
|
68
|
-
{(onCancel || microphone) && (
|
|
69
|
-
<div className='flex w-[--rail-action] h-[--rail-action] items-center justify-center'>
|
|
70
|
-
{processing && onCancel && (
|
|
71
|
-
<IconButton
|
|
72
|
-
classNames='px-1.5'
|
|
73
|
-
variant='ghost'
|
|
74
|
-
size={5}
|
|
75
|
-
icon='ph--x--regular'
|
|
76
|
-
iconOnly
|
|
77
|
-
label={t('cancel processing button')}
|
|
78
|
-
onClick={onCancel}
|
|
79
|
-
/>
|
|
80
|
-
)}
|
|
81
|
-
{!processing && microphone && (
|
|
82
|
-
<IconButton
|
|
83
|
-
classNames={mx('px-1.5', recording && 'bg-primary-500')}
|
|
84
|
-
variant='ghost'
|
|
85
|
-
size={5}
|
|
86
|
-
icon='ph--microphone--regular'
|
|
87
|
-
iconOnly
|
|
88
|
-
noTooltip
|
|
89
|
-
label={t('microphone button')}
|
|
90
|
-
onMouseDown={() => setActive(true)}
|
|
91
|
-
onMouseUp={() => setActive(false)}
|
|
92
|
-
onTouchStart={() => setActive(true)}
|
|
93
|
-
onTouchEnd={() => setActive(false)}
|
|
94
|
-
/>
|
|
95
|
-
)}
|
|
96
|
-
</div>
|
|
97
|
-
)}
|
|
98
|
-
</div>
|
|
99
|
-
);
|
|
100
|
-
};
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import { Prec, type Extension } from '@codemirror/state';
|
|
6
|
-
import {
|
|
7
|
-
EditorView,
|
|
8
|
-
Decoration,
|
|
9
|
-
ViewPlugin,
|
|
10
|
-
keymap,
|
|
11
|
-
type DecorationSet,
|
|
12
|
-
type ViewUpdate,
|
|
13
|
-
WidgetType,
|
|
14
|
-
} from '@codemirror/view';
|
|
15
|
-
|
|
16
|
-
export type AutocompleteOptions = {
|
|
17
|
-
/**
|
|
18
|
-
* Callback triggered when Enter is pressed.
|
|
19
|
-
* @param text The current text in the editor
|
|
20
|
-
* @returns true if the editor should reset the document.
|
|
21
|
-
*/
|
|
22
|
-
onSubmit?: (text: string) => boolean | void;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Function that returns a list of suggestions based on the current text.
|
|
26
|
-
* @param text The current text before the cursor
|
|
27
|
-
* @returns Array of suggestion strings
|
|
28
|
-
*/
|
|
29
|
-
onSuggest?: (text: string) => string[];
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Creates an autocomplete extension that shows inline suggestions.
|
|
34
|
-
* Pressing Tab will complete the suggestion.
|
|
35
|
-
*/
|
|
36
|
-
export const createAutocompleteExtension = ({ onSubmit, onSuggest }: AutocompleteOptions): Extension => {
|
|
37
|
-
const suggestionPlugin = ViewPlugin.fromClass(
|
|
38
|
-
class {
|
|
39
|
-
_decorations: DecorationSet;
|
|
40
|
-
_currentSuggestion: string | null = null;
|
|
41
|
-
|
|
42
|
-
constructor(view: EditorView) {
|
|
43
|
-
this._decorations = this.computeDecorations(view);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
update(update: ViewUpdate) {
|
|
47
|
-
if (update.docChanged || update.selectionSet) {
|
|
48
|
-
this._decorations = this.computeDecorations(update.view);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
private computeDecorations(view: EditorView): DecorationSet {
|
|
53
|
-
const text = view.state.doc.toString();
|
|
54
|
-
const suggestions = onSuggest?.(text) ?? [];
|
|
55
|
-
if (!suggestions.length) {
|
|
56
|
-
this._currentSuggestion = null;
|
|
57
|
-
return Decoration.none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Get the first suggestion.
|
|
61
|
-
this._currentSuggestion = suggestions[0];
|
|
62
|
-
const suffix = this._currentSuggestion.slice(text.length);
|
|
63
|
-
if (!suffix) {
|
|
64
|
-
return Decoration.none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Always show ghost text at the end of the document.
|
|
68
|
-
return Decoration.set([
|
|
69
|
-
Decoration.widget({
|
|
70
|
-
widget: new InlineSuggestionWidget(suffix),
|
|
71
|
-
side: 1,
|
|
72
|
-
}).range(view.state.doc.length),
|
|
73
|
-
]);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
completeSuggestion(view: EditorView): boolean {
|
|
77
|
-
if (!this._currentSuggestion) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
const text = view.state.doc.toString();
|
|
82
|
-
const suffix = this._currentSuggestion.slice(text.length);
|
|
83
|
-
if (!suffix) {
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
view.dispatch({
|
|
88
|
-
changes: {
|
|
89
|
-
from: view.state.doc.length,
|
|
90
|
-
insert: suffix,
|
|
91
|
-
},
|
|
92
|
-
selection: {
|
|
93
|
-
anchor: view.state.doc.length + suffix.length,
|
|
94
|
-
},
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
return true;
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
decorations: (v) => v._decorations,
|
|
102
|
-
},
|
|
103
|
-
);
|
|
104
|
-
|
|
105
|
-
return [
|
|
106
|
-
suggestionPlugin,
|
|
107
|
-
EditorView.theme({
|
|
108
|
-
'.cm-inline-suggestion': {
|
|
109
|
-
opacity: 0.4,
|
|
110
|
-
},
|
|
111
|
-
}),
|
|
112
|
-
|
|
113
|
-
// Accept the current suggestion.
|
|
114
|
-
Prec.highest(
|
|
115
|
-
keymap.of([
|
|
116
|
-
{
|
|
117
|
-
key: 'Tab',
|
|
118
|
-
preventDefault: true,
|
|
119
|
-
run: (view) => {
|
|
120
|
-
const plugin = view.plugin(suggestionPlugin);
|
|
121
|
-
return plugin?.completeSuggestion(view) ?? false;
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
key: 'ArrowRight',
|
|
126
|
-
preventDefault: true,
|
|
127
|
-
run: (view) => {
|
|
128
|
-
// Only complete if cursor is at the end
|
|
129
|
-
if (view.state.selection.main.head !== view.state.doc.length) {
|
|
130
|
-
return false;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
const plugin = view.plugin(suggestionPlugin);
|
|
134
|
-
return plugin?.completeSuggestion(view) ?? false;
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
key: 'Enter',
|
|
139
|
-
preventDefault: true,
|
|
140
|
-
run: (view) => {
|
|
141
|
-
const text = view.state.doc.toString().trim();
|
|
142
|
-
if (text.length > 0 && onSubmit) {
|
|
143
|
-
const reset = onSubmit(text);
|
|
144
|
-
|
|
145
|
-
// Clear the document after calling onEnter.
|
|
146
|
-
if (reset) {
|
|
147
|
-
view.dispatch({
|
|
148
|
-
changes: {
|
|
149
|
-
from: 0,
|
|
150
|
-
to: view.state.doc.length,
|
|
151
|
-
insert: '',
|
|
152
|
-
},
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
return true;
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
key: 'Shift-Enter',
|
|
162
|
-
preventDefault: true,
|
|
163
|
-
run: (view) => {
|
|
164
|
-
view.dispatch({
|
|
165
|
-
changes: {
|
|
166
|
-
from: view.state.selection.main.head,
|
|
167
|
-
insert: '\n',
|
|
168
|
-
},
|
|
169
|
-
selection: {
|
|
170
|
-
anchor: view.state.selection.main.head + 1,
|
|
171
|
-
head: view.state.selection.main.head + 1,
|
|
172
|
-
},
|
|
173
|
-
});
|
|
174
|
-
return true;
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
key: 'Escape',
|
|
179
|
-
preventDefault: true,
|
|
180
|
-
run: (view) => {
|
|
181
|
-
// Clear the entire document.
|
|
182
|
-
view.dispatch({
|
|
183
|
-
changes: {
|
|
184
|
-
from: 0,
|
|
185
|
-
to: view.state.doc.length,
|
|
186
|
-
insert: '',
|
|
187
|
-
},
|
|
188
|
-
});
|
|
189
|
-
return true;
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
]),
|
|
193
|
-
),
|
|
194
|
-
];
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
class InlineSuggestionWidget extends WidgetType {
|
|
198
|
-
constructor(private suffix: string) {
|
|
199
|
-
super();
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
override toDOM() {
|
|
203
|
-
const span = document.createElement('span');
|
|
204
|
-
span.textContent = this.suffix;
|
|
205
|
-
span.className = 'cm-inline-suggestion';
|
|
206
|
-
return span;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
override eq(other: InlineSuggestionWidget) {
|
|
210
|
-
return other.suffix === this.suffix;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2023 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import '@dxos-theme';
|
|
6
|
-
|
|
7
|
-
import { type Meta } from '@storybook/react';
|
|
8
|
-
import React, { useState } from 'react';
|
|
9
|
-
|
|
10
|
-
import { create, makeRef } from '@dxos/live-object';
|
|
11
|
-
import { useClient } from '@dxos/react-client';
|
|
12
|
-
import { withClientProvider } from '@dxos/react-client/testing';
|
|
13
|
-
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
14
|
-
|
|
15
|
-
import { PromptEditor } from './PromptEditor';
|
|
16
|
-
import translations from '../../translations';
|
|
17
|
-
import { ChainPromptType, ChainType } from '../../types';
|
|
18
|
-
|
|
19
|
-
const template = [
|
|
20
|
-
'# Comment',
|
|
21
|
-
'',
|
|
22
|
-
'You are a machine that is an expert chess player.',
|
|
23
|
-
'The move history of the current game is: {history}',
|
|
24
|
-
'If asked to suggest a move explain why it is a good move.',
|
|
25
|
-
'',
|
|
26
|
-
'---',
|
|
27
|
-
'',
|
|
28
|
-
'{input}',
|
|
29
|
-
].join('\n');
|
|
30
|
-
|
|
31
|
-
const Render = () => {
|
|
32
|
-
const client = useClient();
|
|
33
|
-
const [chain] = useState(() => {
|
|
34
|
-
const space = client.spaces.default;
|
|
35
|
-
return space.db.add(
|
|
36
|
-
create(ChainType, {
|
|
37
|
-
prompts: [makeRef(create(ChainPromptType, { command: 'test', template, inputs: [] }))],
|
|
38
|
-
}),
|
|
39
|
-
);
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
return (
|
|
43
|
-
<div role='none' className='flex w-[350px] border border-separator overflow-hidden'>
|
|
44
|
-
<PromptEditor prompt={chain.prompts![0]!.target!} />
|
|
45
|
-
</div>
|
|
46
|
-
);
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const Default = {};
|
|
50
|
-
|
|
51
|
-
const meta: Meta = {
|
|
52
|
-
title: 'plugins/plugin-automation/PromptEditor',
|
|
53
|
-
render: Render,
|
|
54
|
-
decorators: [
|
|
55
|
-
withClientProvider({ createIdentity: true, createSpace: true, types: [ChainType, ChainPromptType] }),
|
|
56
|
-
withLayout({ fullscreen: true, classNames: 'flex justify-center m-2' }),
|
|
57
|
-
withTheme,
|
|
58
|
-
],
|
|
59
|
-
parameters: {
|
|
60
|
-
translations,
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export default meta;
|