@aheart-ui/ai 1.1.0 → 2.0.0-alpha.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/cjs/agent-execution.vue.js +1 -0
- package/dist/cjs/agent-workbench.vue.js +1 -0
- package/dist/cjs/form-field.vue.js +1 -0
- package/dist/cjs/form.vue.js +1 -0
- package/dist/cjs/full.js +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/package.json +6 -0
- package/dist/compat/es/actions/index.d.ts +2 -0
- package/dist/compat/es/actions/index.js +2 -0
- package/dist/compat/es/actions.vue.d.ts +2 -0
- package/dist/compat/es/actions.vue.js +2 -0
- package/dist/compat/es/actions.vue2.js +2 -0
- package/dist/compat/es/agent/index.d.ts +1 -0
- package/dist/compat/es/agent/index.js +1 -0
- package/dist/compat/es/agent/style.css +3241 -0
- package/dist/compat/es/agent-execution.vue.d.ts +2 -0
- package/dist/compat/es/agent-execution.vue.js +2 -0
- package/dist/compat/es/agent-execution.vue2.js +2 -0
- package/dist/compat/es/agent-workbench/index.d.ts +2 -0
- package/dist/compat/es/agent-workbench/index.js +2 -0
- package/{es → dist/compat/es}/agent-workbench/style.css +1095 -4
- package/dist/compat/es/agent-workbench.vue.d.ts +2 -0
- package/dist/compat/es/agent-workbench.vue.js +2 -0
- package/dist/compat/es/agent-workbench.vue2.js +2 -0
- package/dist/compat/es/attachments/index.d.ts +2 -0
- package/dist/compat/es/attachments/index.js +2 -0
- package/dist/compat/es/attachments.vue.d.ts +2 -0
- package/dist/compat/es/attachments.vue.js +2 -0
- package/dist/compat/es/attachments.vue2.js +2 -0
- package/dist/compat/es/bubble/index.d.ts +2 -0
- package/dist/compat/es/bubble/index.js +2 -0
- package/dist/compat/es/bubble.vue.d.ts +2 -0
- package/dist/compat/es/bubble.vue.js +2 -0
- package/dist/compat/es/bubble.vue2.js +2 -0
- package/dist/compat/es/chat/index.d.ts +1 -0
- package/dist/compat/es/chat/index.js +1 -0
- package/dist/compat/es/chat-panel/index.d.ts +2 -0
- package/dist/compat/es/chat-panel/index.js +2 -0
- package/{lib/chat → dist/compat/es/chat-panel}/style.css +0 -4
- package/dist/compat/es/chat-panel.vue.d.ts +2 -0
- package/dist/compat/es/chat-panel.vue.js +2 -0
- package/dist/compat/es/chat-panel.vue2.js +2 -0
- package/dist/compat/es/conversations/index.d.ts +2 -0
- package/dist/compat/es/conversations/index.js +2 -0
- package/dist/compat/es/conversations.vue.d.ts +2 -0
- package/dist/compat/es/conversations.vue.js +2 -0
- package/dist/compat/es/conversations.vue2.js +2 -0
- package/dist/compat/es/form/index.d.ts +2 -0
- package/dist/compat/es/form/index.js +2 -0
- package/dist/compat/es/form/style.css +3175 -0
- package/dist/compat/es/form-field.vue.d.ts +2 -0
- package/dist/compat/es/form-field.vue.js +2 -0
- package/dist/compat/es/form-field.vue2.js +2 -0
- package/dist/compat/es/form-schema.d.ts +1 -0
- package/dist/compat/es/form-schema.js +1 -0
- package/dist/compat/es/form.vue.d.ts +2 -0
- package/dist/compat/es/form.vue.js +2 -0
- package/dist/compat/es/form.vue2.js +2 -0
- package/dist/compat/es/full.d.ts +2 -0
- package/dist/compat/es/full.js +2 -0
- package/dist/compat/es/index.d.ts +2 -0
- package/dist/compat/es/index.js +2 -0
- package/dist/compat/es/package.json +6 -0
- package/dist/compat/es/process/index.d.ts +2 -0
- package/dist/compat/es/process/index.js +2 -0
- package/dist/compat/es/process.vue.d.ts +2 -0
- package/dist/compat/es/process.vue.js +2 -0
- package/dist/compat/es/process.vue2.js +2 -0
- package/dist/compat/es/prompts/index.d.ts +2 -0
- package/dist/compat/es/prompts/index.js +2 -0
- package/dist/compat/es/prompts.vue.d.ts +2 -0
- package/dist/compat/es/prompts.vue.js +2 -0
- package/dist/compat/es/prompts.vue2.js +2 -0
- package/dist/compat/es/safe-markdown.d.ts +1 -0
- package/dist/compat/es/safe-markdown.js +1 -0
- package/dist/compat/es/sender/index.d.ts +2 -0
- package/dist/compat/es/sender/index.js +2 -0
- package/dist/compat/es/sender.vue.d.ts +2 -0
- package/dist/compat/es/sender.vue.js +2 -0
- package/dist/compat/es/sender.vue2.js +2 -0
- package/dist/compat/es/sources/index.d.ts +2 -0
- package/dist/compat/es/sources/index.js +2 -0
- package/dist/compat/es/sources.vue.d.ts +2 -0
- package/dist/compat/es/sources.vue.js +2 -0
- package/dist/compat/es/sources.vue2.js +2 -0
- package/dist/compat/es/stream-reducer.d.ts +1 -0
- package/dist/compat/es/stream-reducer.js +1 -0
- package/dist/compat/es/thought-chain/index.d.ts +2 -0
- package/dist/compat/es/thought-chain/index.js +2 -0
- package/dist/compat/es/thought-chain.vue.d.ts +2 -0
- package/dist/compat/es/thought-chain.vue.js +2 -0
- package/dist/compat/es/thought-chain.vue2.js +2 -0
- package/dist/compat/es/types.d.ts +1 -0
- package/dist/compat/es/welcome/index.d.ts +2 -0
- package/dist/compat/es/welcome/index.js +2 -0
- package/dist/compat/es/welcome.vue.d.ts +2 -0
- package/dist/compat/es/welcome.vue.js +2 -0
- package/dist/compat/es/welcome.vue2.js +2 -0
- package/dist/compat/lib/actions/index.d.ts +2 -0
- package/dist/compat/lib/actions/index.js +1 -0
- package/dist/compat/lib/actions.vue.d.ts +2 -0
- package/dist/compat/lib/actions.vue.js +1 -0
- package/dist/compat/lib/actions.vue2.js +1 -0
- package/dist/compat/lib/agent/index.d.ts +1 -0
- package/dist/compat/lib/agent/index.js +1 -0
- package/dist/compat/lib/agent/style.css +3241 -0
- package/dist/compat/lib/agent-execution.vue.d.ts +2 -0
- package/dist/compat/lib/agent-execution.vue.js +1 -0
- package/dist/compat/lib/agent-execution.vue2.js +1 -0
- package/dist/compat/lib/agent-workbench/index.d.ts +2 -0
- package/dist/compat/lib/agent-workbench/index.js +1 -0
- package/dist/compat/lib/agent-workbench/style.css +2423 -0
- package/dist/compat/lib/agent-workbench.vue.d.ts +2 -0
- package/dist/compat/lib/agent-workbench.vue.js +1 -0
- package/dist/compat/lib/agent-workbench.vue2.js +1 -0
- package/dist/compat/lib/attachments/index.d.ts +2 -0
- package/dist/compat/lib/attachments/index.js +1 -0
- package/dist/compat/lib/attachments.vue.d.ts +2 -0
- package/dist/compat/lib/attachments.vue.js +1 -0
- package/dist/compat/lib/attachments.vue2.js +1 -0
- package/dist/compat/lib/bubble/index.d.ts +2 -0
- package/dist/compat/lib/bubble/index.js +1 -0
- package/dist/compat/lib/bubble.vue.d.ts +2 -0
- package/dist/compat/lib/bubble.vue.js +1 -0
- package/dist/compat/lib/bubble.vue2.js +1 -0
- package/dist/compat/lib/chat/index.d.ts +1 -0
- package/dist/compat/lib/chat/index.js +1 -0
- package/dist/compat/lib/chat-panel/index.d.ts +2 -0
- package/dist/compat/lib/chat-panel/index.js +1 -0
- package/dist/compat/lib/chat-panel/style.css +591 -0
- package/dist/compat/lib/chat-panel.vue.d.ts +2 -0
- package/dist/compat/lib/chat-panel.vue.js +1 -0
- package/dist/compat/lib/chat-panel.vue2.js +1 -0
- package/dist/compat/lib/conversations/index.d.ts +2 -0
- package/dist/compat/lib/conversations/index.js +1 -0
- package/dist/compat/lib/conversations.vue.d.ts +2 -0
- package/dist/compat/lib/conversations.vue.js +1 -0
- package/dist/compat/lib/conversations.vue2.js +1 -0
- package/dist/compat/lib/form/index.d.ts +2 -0
- package/dist/compat/lib/form/index.js +1 -0
- package/dist/compat/lib/form/style.css +3175 -0
- package/dist/compat/lib/form-field.vue.d.ts +2 -0
- package/dist/compat/lib/form-field.vue.js +1 -0
- package/dist/compat/lib/form-field.vue2.js +1 -0
- package/dist/compat/lib/form-schema.d.ts +1 -0
- package/dist/compat/lib/form-schema.js +1 -0
- package/dist/compat/lib/form.vue.d.ts +2 -0
- package/dist/compat/lib/form.vue.js +1 -0
- package/dist/compat/lib/form.vue2.js +1 -0
- package/dist/compat/lib/full.d.ts +2 -0
- package/dist/compat/lib/full.js +1 -0
- package/dist/compat/lib/index.d.ts +2 -0
- package/dist/compat/lib/index.js +1 -0
- package/dist/compat/lib/package.json +6 -0
- package/dist/compat/lib/process/index.d.ts +2 -0
- package/dist/compat/lib/process/index.js +1 -0
- package/dist/compat/lib/process.vue.d.ts +2 -0
- package/dist/compat/lib/process.vue.js +1 -0
- package/dist/compat/lib/process.vue2.js +1 -0
- package/dist/compat/lib/prompts/index.d.ts +2 -0
- package/dist/compat/lib/prompts/index.js +1 -0
- package/dist/compat/lib/prompts.vue.d.ts +2 -0
- package/dist/compat/lib/prompts.vue.js +1 -0
- package/dist/compat/lib/prompts.vue2.js +1 -0
- package/dist/compat/lib/safe-markdown.d.ts +1 -0
- package/dist/compat/lib/safe-markdown.js +1 -0
- package/dist/compat/lib/sender/index.d.ts +2 -0
- package/dist/compat/lib/sender/index.js +1 -0
- package/dist/compat/lib/sender.vue.d.ts +2 -0
- package/dist/compat/lib/sender.vue.js +1 -0
- package/dist/compat/lib/sender.vue2.js +1 -0
- package/dist/compat/lib/sources/index.d.ts +2 -0
- package/dist/compat/lib/sources/index.js +1 -0
- package/dist/compat/lib/sources.vue.d.ts +2 -0
- package/dist/compat/lib/sources.vue.js +1 -0
- package/dist/compat/lib/sources.vue2.js +1 -0
- package/dist/compat/lib/stream-reducer.d.ts +1 -0
- package/dist/compat/lib/stream-reducer.js +1 -0
- package/dist/compat/lib/thought-chain/index.d.ts +2 -0
- package/dist/compat/lib/thought-chain/index.js +1 -0
- package/dist/compat/lib/thought-chain.vue.d.ts +2 -0
- package/dist/compat/lib/thought-chain.vue.js +1 -0
- package/dist/compat/lib/thought-chain.vue2.js +1 -0
- package/dist/compat/lib/types.d.ts +1 -0
- package/dist/compat/lib/welcome/index.d.ts +2 -0
- package/dist/compat/lib/welcome/index.js +1 -0
- package/dist/compat/lib/welcome.vue.d.ts +2 -0
- package/dist/compat/lib/welcome.vue.js +1 -0
- package/dist/compat/lib/welcome.vue2.js +1 -0
- package/{es → dist/esm}/agent-execution.vue.js +1 -1
- package/{es → dist/esm}/agent-workbench.vue.js +9 -6
- package/{es → dist/esm}/form-field.vue.js +53 -43
- package/{es → dist/esm}/form.vue.js +7 -6
- package/dist/esm/full.js +42 -0
- package/dist/esm/index.js +39 -0
- package/dist/esm/package.json +6 -0
- package/dist/styles/actions/style.css +36 -0
- package/dist/styles/agent/style.css +3241 -0
- package/dist/styles/agent-workbench/style.css +2423 -0
- package/dist/styles/attachments/style.css +62 -0
- package/dist/styles/bubble/style.css +241 -0
- package/dist/styles/chat-panel/style.css +591 -0
- package/dist/styles/conversations/style.css +48 -0
- package/dist/styles/form/style.css +3175 -0
- package/dist/styles/process/style.css +77 -0
- package/dist/styles/prompts/style.css +76 -0
- package/dist/styles/sender/style.css +88 -0
- package/dist/styles/sources/style.css +54 -0
- package/{lib/agent-workbench → dist/styles}/style.css +254 -0
- package/dist/styles/thought-chain/style.css +77 -0
- package/dist/styles/welcome/style.css +33 -0
- package/dist/types/full.d.ts +6 -0
- package/{lib → dist/types}/index.d.ts +1 -2
- package/package.json +111 -85
- package/es/agent/style.css +0 -308
- package/es/form/style.css +0 -242
- package/es/index.d.ts +0 -20
- package/es/index.js +0 -42
- package/es/package.json +0 -3
- package/lib/actions/index.d.ts +0 -2
- package/lib/actions.vue.d.ts +0 -34
- package/lib/agent/index.d.ts +0 -5
- package/lib/agent/style.css +0 -308
- package/lib/agent-execution.vue.d.ts +0 -106
- package/lib/agent-execution.vue.js +0 -1
- package/lib/agent-workbench/index.d.ts +0 -2
- package/lib/agent-workbench.vue.d.ts +0 -186
- package/lib/agent-workbench.vue.js +0 -1
- package/lib/attachments/index.d.ts +0 -2
- package/lib/attachments.vue.d.ts +0 -39
- package/lib/bubble/index.d.ts +0 -2
- package/lib/bubble.vue.d.ts +0 -27
- package/lib/chat/index.d.ts +0 -11
- package/lib/chat-panel/index.d.ts +0 -3
- package/lib/chat-panel.vue.d.ts +0 -108
- package/lib/conversations/index.d.ts +0 -2
- package/lib/conversations.vue.d.ts +0 -39
- package/lib/form/index.d.ts +0 -3
- package/lib/form/style.css +0 -242
- package/lib/form-field.vue.d.ts +0 -28
- package/lib/form-field.vue.js +0 -1
- package/lib/form-schema.d.ts +0 -73
- package/lib/form.vue.d.ts +0 -81
- package/lib/form.vue.js +0 -1
- package/lib/index.js +0 -1
- package/lib/package.json +0 -3
- package/lib/process/index.d.ts +0 -2
- package/lib/process.vue.d.ts +0 -30
- package/lib/prompts/index.d.ts +0 -2
- package/lib/prompts.vue.d.ts +0 -39
- package/lib/safe-markdown.d.ts +0 -3
- package/lib/sender/index.d.ts +0 -2
- package/lib/sender.vue.d.ts +0 -52
- package/lib/sources/index.d.ts +0 -2
- package/lib/sources.vue.d.ts +0 -30
- package/lib/stream-reducer.d.ts +0 -35
- package/lib/thought-chain/index.d.ts +0 -2
- package/lib/thought-chain.vue.d.ts +0 -30
- package/lib/types.d.ts +0 -203
- package/lib/welcome/index.d.ts +0 -2
- package/lib/welcome.vue.d.ts +0 -41
- /package/{lib → dist/cjs}/actions/index.js +0 -0
- /package/{lib → dist/cjs}/actions.vue.js +0 -0
- /package/{lib → dist/cjs}/actions.vue2.js +0 -0
- /package/{lib → dist/cjs}/agent/index.js +0 -0
- /package/{lib → dist/cjs}/agent-execution.vue2.js +0 -0
- /package/{lib → dist/cjs}/agent-workbench/index.js +0 -0
- /package/{lib → dist/cjs}/agent-workbench.vue2.js +0 -0
- /package/{lib → dist/cjs}/attachments/index.js +0 -0
- /package/{lib → dist/cjs}/attachments.vue.js +0 -0
- /package/{lib → dist/cjs}/attachments.vue2.js +0 -0
- /package/{lib → dist/cjs}/bubble/index.js +0 -0
- /package/{lib → dist/cjs}/bubble.vue.js +0 -0
- /package/{lib → dist/cjs}/bubble.vue2.js +0 -0
- /package/{lib → dist/cjs}/chat/index.js +0 -0
- /package/{lib → dist/cjs}/chat-panel/index.js +0 -0
- /package/{lib → dist/cjs}/chat-panel.vue.js +0 -0
- /package/{lib → dist/cjs}/chat-panel.vue2.js +0 -0
- /package/{lib → dist/cjs}/conversations/index.js +0 -0
- /package/{lib → dist/cjs}/conversations.vue.js +0 -0
- /package/{lib → dist/cjs}/conversations.vue2.js +0 -0
- /package/{lib → dist/cjs}/form/index.js +0 -0
- /package/{lib → dist/cjs}/form-field.vue2.js +0 -0
- /package/{lib → dist/cjs}/form-schema.js +0 -0
- /package/{lib → dist/cjs}/form.vue2.js +0 -0
- /package/{lib → dist/cjs}/process/index.js +0 -0
- /package/{lib → dist/cjs}/process.vue.js +0 -0
- /package/{lib → dist/cjs}/process.vue2.js +0 -0
- /package/{lib → dist/cjs}/prompts/index.js +0 -0
- /package/{lib → dist/cjs}/prompts.vue.js +0 -0
- /package/{lib → dist/cjs}/prompts.vue2.js +0 -0
- /package/{lib → dist/cjs}/safe-markdown.js +0 -0
- /package/{lib → dist/cjs}/sender/index.js +0 -0
- /package/{lib → dist/cjs}/sender.vue.js +0 -0
- /package/{lib → dist/cjs}/sender.vue2.js +0 -0
- /package/{lib → dist/cjs}/sources/index.js +0 -0
- /package/{lib → dist/cjs}/sources.vue.js +0 -0
- /package/{lib → dist/cjs}/sources.vue2.js +0 -0
- /package/{lib → dist/cjs}/stream-reducer.js +0 -0
- /package/{lib → dist/cjs}/thought-chain/index.js +0 -0
- /package/{lib → dist/cjs}/thought-chain.vue.js +0 -0
- /package/{lib → dist/cjs}/thought-chain.vue2.js +0 -0
- /package/{lib → dist/cjs}/welcome/index.js +0 -0
- /package/{lib → dist/cjs}/welcome.vue.js +0 -0
- /package/{lib → dist/cjs}/welcome.vue2.js +0 -0
- /package/{es → dist/compat/es}/actions/style.css +0 -0
- /package/{es → dist/compat/es}/attachments/style.css +0 -0
- /package/{es → dist/compat/es}/bubble/style.css +0 -0
- /package/{es/chat-panel → dist/compat/es/chat}/style.css +0 -0
- /package/{es → dist/compat/es}/conversations/style.css +0 -0
- /package/{es → dist/compat/es}/process/style.css +0 -0
- /package/{es → dist/compat/es}/prompts/style.css +0 -0
- /package/{es → dist/compat/es}/sender/style.css +0 -0
- /package/{es → dist/compat/es}/sources/style.css +0 -0
- /package/{es → dist/compat/es}/style.css +0 -0
- /package/{es → dist/compat/es}/thought-chain/style.css +0 -0
- /package/{es → dist/compat/es}/welcome/style.css +0 -0
- /package/{lib → dist/compat/lib}/actions/style.css +0 -0
- /package/{lib → dist/compat/lib}/attachments/style.css +0 -0
- /package/{lib → dist/compat/lib}/bubble/style.css +0 -0
- /package/{es → dist/compat/lib}/chat/style.css +0 -0
- /package/{lib → dist/compat/lib}/conversations/style.css +0 -0
- /package/{lib → dist/compat/lib}/process/style.css +0 -0
- /package/{lib → dist/compat/lib}/prompts/style.css +0 -0
- /package/{lib → dist/compat/lib}/sender/style.css +0 -0
- /package/{lib → dist/compat/lib}/sources/style.css +0 -0
- /package/{lib → dist/compat/lib}/style.css +0 -0
- /package/{lib → dist/compat/lib}/thought-chain/style.css +0 -0
- /package/{lib → dist/compat/lib}/welcome/style.css +0 -0
- /package/{es → dist/esm}/actions/index.js +0 -0
- /package/{es → dist/esm}/actions.vue.js +0 -0
- /package/{es → dist/esm}/actions.vue2.js +0 -0
- /package/{es → dist/esm}/agent/index.js +0 -0
- /package/{es → dist/esm}/agent-execution.vue2.js +0 -0
- /package/{es → dist/esm}/agent-workbench/index.js +0 -0
- /package/{es → dist/esm}/agent-workbench.vue2.js +0 -0
- /package/{es → dist/esm}/attachments/index.js +0 -0
- /package/{es → dist/esm}/attachments.vue.js +0 -0
- /package/{es → dist/esm}/attachments.vue2.js +0 -0
- /package/{es → dist/esm}/bubble/index.js +0 -0
- /package/{es → dist/esm}/bubble.vue.js +0 -0
- /package/{es → dist/esm}/bubble.vue2.js +0 -0
- /package/{es → dist/esm}/chat/index.js +0 -0
- /package/{es → dist/esm}/chat-panel/index.js +0 -0
- /package/{es → dist/esm}/chat-panel.vue.js +0 -0
- /package/{es → dist/esm}/chat-panel.vue2.js +0 -0
- /package/{es → dist/esm}/conversations/index.js +0 -0
- /package/{es → dist/esm}/conversations.vue.js +0 -0
- /package/{es → dist/esm}/conversations.vue2.js +0 -0
- /package/{es → dist/esm}/form/index.js +0 -0
- /package/{es → dist/esm}/form-field.vue2.js +0 -0
- /package/{es → dist/esm}/form-schema.js +0 -0
- /package/{es → dist/esm}/form.vue2.js +0 -0
- /package/{es → dist/esm}/process/index.js +0 -0
- /package/{es → dist/esm}/process.vue.js +0 -0
- /package/{es → dist/esm}/process.vue2.js +0 -0
- /package/{es → dist/esm}/prompts/index.js +0 -0
- /package/{es → dist/esm}/prompts.vue.js +0 -0
- /package/{es → dist/esm}/prompts.vue2.js +0 -0
- /package/{es → dist/esm}/safe-markdown.js +0 -0
- /package/{es → dist/esm}/sender/index.js +0 -0
- /package/{es → dist/esm}/sender.vue.js +0 -0
- /package/{es → dist/esm}/sender.vue2.js +0 -0
- /package/{es → dist/esm}/sources/index.js +0 -0
- /package/{es → dist/esm}/sources.vue.js +0 -0
- /package/{es → dist/esm}/sources.vue2.js +0 -0
- /package/{es → dist/esm}/stream-reducer.js +0 -0
- /package/{es → dist/esm}/thought-chain/index.js +0 -0
- /package/{es → dist/esm}/thought-chain.vue.js +0 -0
- /package/{es → dist/esm}/thought-chain.vue2.js +0 -0
- /package/{es → dist/esm}/welcome/index.js +0 -0
- /package/{es → dist/esm}/welcome.vue.js +0 -0
- /package/{es → dist/esm}/welcome.vue2.js +0 -0
- /package/{lib/chat-panel → dist/styles/chat}/style.css +0 -0
- /package/{es → dist/types}/actions/index.d.ts +0 -0
- /package/{es → dist/types}/actions.vue.d.ts +0 -0
- /package/{es → dist/types}/agent/index.d.ts +0 -0
- /package/{es → dist/types}/agent-execution.vue.d.ts +0 -0
- /package/{es → dist/types}/agent-workbench/index.d.ts +0 -0
- /package/{es → dist/types}/agent-workbench.vue.d.ts +0 -0
- /package/{es → dist/types}/attachments/index.d.ts +0 -0
- /package/{es → dist/types}/attachments.vue.d.ts +0 -0
- /package/{es → dist/types}/bubble/index.d.ts +0 -0
- /package/{es → dist/types}/bubble.vue.d.ts +0 -0
- /package/{es → dist/types}/chat/index.d.ts +0 -0
- /package/{es → dist/types}/chat-panel/index.d.ts +0 -0
- /package/{es → dist/types}/chat-panel.vue.d.ts +0 -0
- /package/{es → dist/types}/conversations/index.d.ts +0 -0
- /package/{es → dist/types}/conversations.vue.d.ts +0 -0
- /package/{es → dist/types}/form/index.d.ts +0 -0
- /package/{es → dist/types}/form-field.vue.d.ts +0 -0
- /package/{es → dist/types}/form-schema.d.ts +0 -0
- /package/{es → dist/types}/form.vue.d.ts +0 -0
- /package/{es → dist/types}/process/index.d.ts +0 -0
- /package/{es → dist/types}/process.vue.d.ts +0 -0
- /package/{es → dist/types}/prompts/index.d.ts +0 -0
- /package/{es → dist/types}/prompts.vue.d.ts +0 -0
- /package/{es → dist/types}/safe-markdown.d.ts +0 -0
- /package/{es → dist/types}/sender/index.d.ts +0 -0
- /package/{es → dist/types}/sender.vue.d.ts +0 -0
- /package/{es → dist/types}/sources/index.d.ts +0 -0
- /package/{es → dist/types}/sources.vue.d.ts +0 -0
- /package/{es → dist/types}/stream-reducer.d.ts +0 -0
- /package/{es → dist/types}/thought-chain/index.d.ts +0 -0
- /package/{es → dist/types}/thought-chain.vue.d.ts +0 -0
- /package/{es → dist/types}/types.d.ts +0 -0
- /package/{es → dist/types}/welcome/index.d.ts +0 -0
- /package/{es → dist/types}/welcome.vue.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/form-field.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/form-field.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../types/form-schema.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/form-schema.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/form.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/form.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/full.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/full.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/process/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/process.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/process.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/prompts/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/prompts.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/prompts.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../types/safe-markdown.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/safe-markdown.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/sender/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/sender.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/sender.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/sources/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/sources.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/sources.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../types/stream-reducer.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/stream-reducer.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/thought-chain/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/thought-chain.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/thought-chain.vue2.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../types/types.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../cjs/welcome/index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/welcome.vue.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../cjs/welcome.vue2.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as fa, computed as w, openBlock as r, createElementBlock as l, createElementVNode as o, toDisplayString as n, createCommentVNode as i, Fragment as N, createVNode as S, unref as k, withCtx as y, createTextVNode as m, renderSlot as x, normalizeClass as D, normalizeStyle as ga, createBlock as ia, renderList as wa } from "vue";
|
|
2
|
-
import { Button as C } from "aheart-ui";
|
|
2
|
+
import { Button as C } from "aheart-ui/button";
|
|
3
3
|
import { SortableList as ma } from "@aheart-ui/dnd/sortable";
|
|
4
4
|
import { getSafeUrl as da } from "./safe-markdown.js";
|
|
5
5
|
const Ca = { class: "aheart-ai-workbench__execution-content" }, $a = {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { defineComponent as Be, ref as R, getCurrentInstance as Ve, useId as De, computed as I, onMounted as He, nextTick as Le, onBeforeUnmount as Ie, watch as ee, onBeforeUpdate as Pe, h as te, openBlock as h, createElementBlock as g, createElementVNode as u, toDisplayString as $, createCommentVNode as C, normalizeClass as Ne, createVNode as m, unref as y, withCtx as k, createTextVNode as P, createBlock as ae, Teleport as $e, mergeProps as Fe, renderSlot as _, createSlots as Je, withDirectives as oe, Fragment as Ze, renderList as qe, vShow as se } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Button as N } from "aheart-ui/button";
|
|
3
|
+
import { Drawer as We } from "aheart-ui/drawer";
|
|
4
|
+
import { Splitter as Ge, SplitterPanel as ne } from "aheart-ui/splitter";
|
|
5
|
+
import { Tabs as Xe } from "aheart-ui/tabs";
|
|
3
6
|
import { SortableList as Ye } from "@aheart-ui/dnd/sortable";
|
|
4
7
|
import Ce from "./attachments.vue.js";
|
|
5
8
|
import Qe from "./chat-panel.vue.js";
|
|
@@ -30,7 +33,7 @@ const tt = {
|
|
|
30
33
|
}, yt = { class: "aheart-ai-workbench__context-list-mobile" }, wt = ["data-context-id"], It = { key: 0 }, $t = { class: "aheart-ai-workbench__move-actions" }, Ct = { class: "aheart-ai-workbench__mobile-panel" }, xt = { class: "aheart-ai-workbench__mobile-panel--chat" }, St = ["id"], At = {
|
|
31
34
|
key: 0,
|
|
32
35
|
class: "aheart-ai-workbench__empty"
|
|
33
|
-
}, Tt = { class: "aheart-ai-workbench__mobile-panel" },
|
|
36
|
+
}, Tt = { class: "aheart-ai-workbench__mobile-panel" }, Dt = /* @__PURE__ */ Be({
|
|
34
37
|
name: "AAIAgentWorkbench",
|
|
35
38
|
__name: "agent-workbench",
|
|
36
39
|
props: {
|
|
@@ -262,7 +265,7 @@ const tt = {
|
|
|
262
265
|
])
|
|
263
266
|
]),
|
|
264
267
|
u("div", it, [
|
|
265
|
-
m(y(
|
|
268
|
+
m(y(Ge), {
|
|
266
269
|
sizes: l.panelSizes,
|
|
267
270
|
"default-sizes": [150, "auto", 200],
|
|
268
271
|
"onUpdate:sizes": e[13] || (e[13] = (a) => v("update:panelSizes", a))
|
|
@@ -427,7 +430,7 @@ const tt = {
|
|
|
427
430
|
}, 8, ["sizes"])
|
|
428
431
|
]),
|
|
429
432
|
u("div", ht, [
|
|
430
|
-
m(y(
|
|
433
|
+
m(y(Xe), {
|
|
431
434
|
items: je.value,
|
|
432
435
|
"active-key": J(j.value),
|
|
433
436
|
"onUpdate:activeKey": e[14] || (e[14] = (a) => j.value = String(a).split("--")[0])
|
|
@@ -509,7 +512,7 @@ const tt = {
|
|
|
509
512
|
], 512), [
|
|
510
513
|
[se, j.value === "execution"]
|
|
511
514
|
]),
|
|
512
|
-
m(y(
|
|
515
|
+
m(y(We), {
|
|
513
516
|
open: D.value,
|
|
514
517
|
"onUpdate:open": e[17] || (e[17] = (a) => D.value = a),
|
|
515
518
|
title: "执行与产物",
|
|
@@ -533,5 +536,5 @@ const tt = {
|
|
|
533
536
|
}
|
|
534
537
|
});
|
|
535
538
|
export {
|
|
536
|
-
|
|
539
|
+
Dt as default
|
|
537
540
|
};
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { defineComponent as x, ref as k, computed as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as x, ref as k, computed as y, openBlock as a, createElementBlock as n, normalizeClass as g, createElementVNode as B, createTextVNode as C, toDisplayString as m, createCommentVNode as v, createBlock as t, unref as o } from "vue";
|
|
2
|
+
import { CheckboxGroup as S } from "aheart-ui/checkbox";
|
|
3
|
+
import { DatePicker as T, DateRangePicker as h } from "aheart-ui/date-picker";
|
|
4
|
+
import { Input as D } from "aheart-ui/input";
|
|
5
|
+
import { InputNumber as E } from "aheart-ui/input-number";
|
|
6
|
+
import { RadioGroup as N } from "aheart-ui/radio";
|
|
7
|
+
import { Select as P } from "aheart-ui/select";
|
|
8
|
+
import { Switch as q } from "aheart-ui/switch";
|
|
9
|
+
import { Textarea as I } from "aheart-ui/textarea";
|
|
10
|
+
import { TimePicker as R, TimeRangePicker as w } from "aheart-ui/time-picker";
|
|
11
|
+
import { TreeSelect as A } from "aheart-ui/tree-select";
|
|
12
|
+
import { Upload as G } from "aheart-ui/upload";
|
|
3
13
|
const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "for"], L = {
|
|
4
14
|
key: 0,
|
|
5
15
|
class: "aheart-ai-form__required",
|
|
6
16
|
"aria-hidden": "true"
|
|
7
|
-
}, F = ["id"], H = ["id"],
|
|
17
|
+
}, F = ["id"], H = ["id"], le = /* @__PURE__ */ x({
|
|
8
18
|
__name: "form-field",
|
|
9
19
|
props: {
|
|
10
20
|
field: {},
|
|
@@ -14,33 +24,33 @@ const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "fo
|
|
|
14
24
|
},
|
|
15
25
|
emits: ["update"],
|
|
16
26
|
setup(e, { expose: c, emit: V }) {
|
|
17
|
-
const
|
|
18
|
-
() => (
|
|
19
|
-
key:
|
|
20
|
-
title:
|
|
21
|
-
disabled:
|
|
27
|
+
const r = e, i = V, s = k(), f = k(), U = y(
|
|
28
|
+
() => (r.field.options ?? []).map((b) => ({
|
|
29
|
+
key: b.value,
|
|
30
|
+
title: b.label,
|
|
31
|
+
disabled: b.disabled
|
|
22
32
|
}))
|
|
23
|
-
),
|
|
24
|
-
() => [
|
|
25
|
-
), $ =
|
|
26
|
-
() =>
|
|
33
|
+
), u = y(
|
|
34
|
+
() => [r.field.description && `${r.field.key}-description`, r.error && `${r.field.key}-error`].filter(Boolean).join(" ") || void 0
|
|
35
|
+
), $ = y(
|
|
36
|
+
() => r.field.type === "date-range" || r.field.type === "time-range" ? `${r.field.key}-start` : r.field.key
|
|
27
37
|
);
|
|
28
38
|
return c({
|
|
29
39
|
focus: () => {
|
|
30
|
-
var
|
|
31
|
-
if (
|
|
32
|
-
|
|
40
|
+
var b, l;
|
|
41
|
+
if (f.value) {
|
|
42
|
+
f.value.focus("start");
|
|
33
43
|
return;
|
|
34
44
|
}
|
|
35
|
-
(l = (
|
|
45
|
+
(l = (b = s.value) == null ? void 0 : b.querySelector('input, button, [role="combobox"], [tabindex="0"]')) == null || l.focus({ preventScroll: !0 });
|
|
36
46
|
}
|
|
37
|
-
}), (
|
|
47
|
+
}), (b, l) => (a(), n("div", {
|
|
38
48
|
ref_key: "fieldElement",
|
|
39
49
|
ref: s,
|
|
40
50
|
class: g(["aheart-ai-form__field", { "is-error": !!e.error, "is-disabled": e.disabled }]),
|
|
41
51
|
"data-field-key": e.field.key,
|
|
42
52
|
"aria-invalid": e.error ? "true" : void 0,
|
|
43
|
-
"aria-describedby":
|
|
53
|
+
"aria-describedby": u.value,
|
|
44
54
|
tabindex: "-1"
|
|
45
55
|
}, [
|
|
46
56
|
B("label", {
|
|
@@ -48,23 +58,23 @@ const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "fo
|
|
|
48
58
|
for: $.value
|
|
49
59
|
}, [
|
|
50
60
|
C(m(e.field.label) + " ", 1),
|
|
51
|
-
e.field.required ? (a(),
|
|
61
|
+
e.field.required ? (a(), n("span", L, "*")) : v("", !0)
|
|
52
62
|
], 8, z),
|
|
53
|
-
e.field.description ? (a(),
|
|
63
|
+
e.field.description ? (a(), n("p", {
|
|
54
64
|
key: 0,
|
|
55
65
|
id: `${e.field.key}-description`,
|
|
56
66
|
class: "aheart-ai-form__field-description"
|
|
57
67
|
}, m(e.field.description), 9, F)) : v("", !0),
|
|
58
|
-
e.field.type === "textarea" ? (a(), t(
|
|
68
|
+
e.field.type === "textarea" ? (a(), t(o(I), {
|
|
59
69
|
key: 1,
|
|
60
70
|
id: e.field.key,
|
|
61
71
|
"aria-labelledby": `${e.field.key}-label`,
|
|
62
|
-
"aria-describedby":
|
|
72
|
+
"aria-describedby": u.value,
|
|
63
73
|
"model-value": e.value,
|
|
64
74
|
placeholder: e.field.placeholder,
|
|
65
75
|
disabled: e.disabled,
|
|
66
76
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => i("update", d))
|
|
67
|
-
}, null, 8, ["id", "aria-labelledby", "aria-describedby", "model-value", "placeholder", "disabled"])) : e.field.type === "tree-select" ? (a(), t(
|
|
77
|
+
}, null, 8, ["id", "aria-labelledby", "aria-describedby", "model-value", "placeholder", "disabled"])) : e.field.type === "tree-select" ? (a(), t(o(A), {
|
|
68
78
|
key: 2,
|
|
69
79
|
id: e.field.key,
|
|
70
80
|
"labelled-by": `${e.field.key}-label`,
|
|
@@ -73,24 +83,24 @@ const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "fo
|
|
|
73
83
|
multiple: Array.isArray(e.value),
|
|
74
84
|
disabled: e.disabled,
|
|
75
85
|
"onUpdate:modelValue": l[1] || (l[1] = (d) => i("update", d))
|
|
76
|
-
}, null, 8, ["id", "labelled-by", "model-value", "tree-data", "multiple", "disabled"])) : e.field.type === "upload" ? (a(), t(
|
|
86
|
+
}, null, 8, ["id", "labelled-by", "model-value", "tree-data", "multiple", "disabled"])) : e.field.type === "upload" ? (a(), t(o(G), {
|
|
77
87
|
key: 3,
|
|
78
88
|
"file-list": e.value,
|
|
79
89
|
disabled: e.disabled,
|
|
80
90
|
"onUpdate:fileList": l[2] || (l[2] = (d) => i("update", d))
|
|
81
|
-
}, null, 8, ["file-list", "disabled"])) : e.field.type === "radio" ? (a(), t(
|
|
91
|
+
}, null, 8, ["file-list", "disabled"])) : e.field.type === "radio" ? (a(), t(o(N), {
|
|
82
92
|
key: 4,
|
|
83
93
|
"model-value": e.value,
|
|
84
94
|
options: e.field.options,
|
|
85
95
|
disabled: e.disabled,
|
|
86
96
|
"onUpdate:modelValue": l[3] || (l[3] = (d) => i("update", d))
|
|
87
|
-
}, null, 8, ["model-value", "options", "disabled"])) : e.field.type === "checkbox" ? (a(), t(
|
|
97
|
+
}, null, 8, ["model-value", "options", "disabled"])) : e.field.type === "checkbox" ? (a(), t(o(S), {
|
|
88
98
|
key: 5,
|
|
89
99
|
"model-value": e.value,
|
|
90
100
|
options: e.field.options,
|
|
91
101
|
disabled: e.disabled,
|
|
92
102
|
"onUpdate:modelValue": l[4] || (l[4] = (d) => i("update", d))
|
|
93
|
-
}, null, 8, ["model-value", "options", "disabled"])) : e.field.type === "select" ? (a(), t(
|
|
103
|
+
}, null, 8, ["model-value", "options", "disabled"])) : e.field.type === "select" ? (a(), t(o(P), {
|
|
94
104
|
key: 6,
|
|
95
105
|
id: e.field.key,
|
|
96
106
|
"labelled-by": `${e.field.key}-label`,
|
|
@@ -98,71 +108,71 @@ const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "fo
|
|
|
98
108
|
disabled: e.disabled,
|
|
99
109
|
options: e.field.options,
|
|
100
110
|
"onUpdate:modelValue": l[5] || (l[5] = (d) => i("update", d))
|
|
101
|
-
}, null, 8, ["id", "labelled-by", "model-value", "disabled", "options"])) : e.field.type === "switch" ? (a(), t(
|
|
111
|
+
}, null, 8, ["id", "labelled-by", "model-value", "disabled", "options"])) : e.field.type === "switch" ? (a(), t(o(q), {
|
|
102
112
|
key: 7,
|
|
103
113
|
id: e.field.key,
|
|
104
114
|
"model-value": !!e.value,
|
|
105
115
|
disabled: e.disabled,
|
|
106
116
|
"onUpdate:modelValue": l[6] || (l[6] = (d) => i("update", d))
|
|
107
|
-
}, null, 8, ["id", "model-value", "disabled"])) : e.field.type === "number" ? (a(), t(
|
|
117
|
+
}, null, 8, ["id", "model-value", "disabled"])) : e.field.type === "number" ? (a(), t(o(E), {
|
|
108
118
|
key: 8,
|
|
109
119
|
id: e.field.key,
|
|
110
120
|
"model-value": e.value,
|
|
111
121
|
placeholder: e.field.placeholder,
|
|
112
122
|
disabled: e.disabled,
|
|
113
123
|
"onUpdate:modelValue": l[7] || (l[7] = (d) => i("update", d))
|
|
114
|
-
}, null, 8, ["id", "model-value", "placeholder", "disabled"])) : e.field.type === "date" ? (a(), t(
|
|
124
|
+
}, null, 8, ["id", "model-value", "placeholder", "disabled"])) : e.field.type === "date" ? (a(), t(o(T), {
|
|
115
125
|
key: 9,
|
|
116
126
|
id: e.field.key,
|
|
117
127
|
"labelled-by": `${e.field.key}-label`,
|
|
118
|
-
"described-by":
|
|
128
|
+
"described-by": u.value,
|
|
119
129
|
status: e.error ? "error" : void 0,
|
|
120
130
|
"model-value": e.value,
|
|
121
131
|
placeholder: e.field.placeholder,
|
|
122
132
|
disabled: e.disabled,
|
|
123
133
|
"onUpdate:modelValue": l[8] || (l[8] = (d) => i("update", d))
|
|
124
|
-
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "placeholder", "disabled"])) : e.field.type === "date-range" ? (a(), t(
|
|
134
|
+
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "placeholder", "disabled"])) : e.field.type === "date-range" ? (a(), t(o(h), {
|
|
125
135
|
key: 10,
|
|
126
136
|
ref_key: "rangeControl",
|
|
127
|
-
ref:
|
|
137
|
+
ref: f,
|
|
128
138
|
id: e.field.key,
|
|
129
139
|
"labelled-by": `${e.field.key}-label`,
|
|
130
|
-
"described-by":
|
|
140
|
+
"described-by": u.value,
|
|
131
141
|
status: e.error ? "error" : void 0,
|
|
132
142
|
"model-value": e.value,
|
|
133
143
|
disabled: e.disabled,
|
|
134
144
|
"onUpdate:modelValue": l[9] || (l[9] = (d) => i("update", d))
|
|
135
|
-
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "disabled"])) : e.field.type === "time" ? (a(), t(
|
|
145
|
+
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "disabled"])) : e.field.type === "time" ? (a(), t(o(R), {
|
|
136
146
|
key: 11,
|
|
137
147
|
id: e.field.key,
|
|
138
148
|
"labelled-by": `${e.field.key}-label`,
|
|
139
|
-
"described-by":
|
|
149
|
+
"described-by": u.value,
|
|
140
150
|
status: e.error ? "error" : void 0,
|
|
141
151
|
"model-value": e.value,
|
|
142
152
|
placeholder: e.field.placeholder,
|
|
143
153
|
disabled: e.disabled,
|
|
144
154
|
"onUpdate:modelValue": l[10] || (l[10] = (d) => i("update", d))
|
|
145
|
-
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "placeholder", "disabled"])) : e.field.type === "time-range" ? (a(), t(
|
|
155
|
+
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "placeholder", "disabled"])) : e.field.type === "time-range" ? (a(), t(o(w), {
|
|
146
156
|
key: 12,
|
|
147
157
|
ref_key: "rangeControl",
|
|
148
|
-
ref:
|
|
158
|
+
ref: f,
|
|
149
159
|
id: e.field.key,
|
|
150
160
|
"labelled-by": `${e.field.key}-label`,
|
|
151
|
-
"described-by":
|
|
161
|
+
"described-by": u.value,
|
|
152
162
|
status: e.error ? "error" : void 0,
|
|
153
163
|
"model-value": e.value,
|
|
154
164
|
disabled: e.disabled,
|
|
155
165
|
"onUpdate:modelValue": l[11] || (l[11] = (d) => i("update", d))
|
|
156
|
-
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "disabled"])) : (a(), t(
|
|
166
|
+
}, null, 8, ["id", "labelled-by", "described-by", "status", "model-value", "disabled"])) : (a(), t(o(D), {
|
|
157
167
|
key: 13,
|
|
158
168
|
id: e.field.key,
|
|
159
169
|
"model-value": e.value,
|
|
160
170
|
placeholder: e.field.placeholder,
|
|
161
171
|
disabled: e.disabled,
|
|
162
|
-
"aria-describedby":
|
|
172
|
+
"aria-describedby": u.value,
|
|
163
173
|
"onUpdate:modelValue": l[12] || (l[12] = (d) => i("update", d))
|
|
164
174
|
}, null, 8, ["id", "model-value", "placeholder", "disabled", "aria-describedby"])),
|
|
165
|
-
e.error ? (a(),
|
|
175
|
+
e.error ? (a(), n("p", {
|
|
166
176
|
key: 14,
|
|
167
177
|
id: `${e.field.key}-error`,
|
|
168
178
|
class: "aheart-ai-form__field-error",
|
|
@@ -172,5 +182,5 @@ const j = ["data-field-key", "aria-invalid", "aria-describedby"], z = ["id", "fo
|
|
|
172
182
|
}
|
|
173
183
|
});
|
|
174
184
|
export {
|
|
175
|
-
|
|
185
|
+
le as default
|
|
176
186
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Ae, computed as R, reactive as D, ref as q, onMounted as Fe, watch as k, toRaw as J, onBeforeUnmount as Ve, openBlock as c, createBlock as Q, unref as X, withCtx as W, createElementBlock as d, toDisplayString as v, createCommentVNode as V, createElementVNode as j, Fragment as K, renderList as I, resolveDynamicComponent as je, createVNode as ne, createTextVNode as we, nextTick as le } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Button as Ee } from "aheart-ui/button";
|
|
3
|
+
import { Form as $e, FormItem as Se } from "aheart-ui/form";
|
|
3
4
|
import Re from "./form-field.vue.js";
|
|
4
5
|
import { validateAIFormSchema as qe } from "./form-schema.js";
|
|
5
6
|
const Ce = {
|
|
@@ -18,7 +19,7 @@ const Ce = {
|
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "aheart-ai-form__error",
|
|
20
21
|
role: "alert"
|
|
21
|
-
},
|
|
22
|
+
}, Xe = /* @__PURE__ */ Ae({
|
|
22
23
|
name: "AAIForm",
|
|
23
24
|
__name: "form",
|
|
24
25
|
props: {
|
|
@@ -279,7 +280,7 @@ const Ce = {
|
|
|
279
280
|
}), (r = (t = _.value) == null ? void 0 : t.setFieldsErrors) == null || r.call(t, e);
|
|
280
281
|
} }), Ve(() => {
|
|
281
282
|
for (const e of m.values()) e.abort();
|
|
282
|
-
}), (e, t) => i.value.valid && i.value.schema ? (c(), Q(X(
|
|
283
|
+
}), (e, t) => i.value.valid && i.value.schema ? (c(), Q(X($e), {
|
|
283
284
|
key: 0,
|
|
284
285
|
ref_key: "formElement",
|
|
285
286
|
ref: _,
|
|
@@ -323,7 +324,7 @@ const Ce = {
|
|
|
323
324
|
j("span", null, v(r.group.title), 1),
|
|
324
325
|
r.group.description ? (c(), d("small", Ue, v(r.group.description), 1)) : V("", !0)
|
|
325
326
|
])) : V("", !0),
|
|
326
|
-
(c(!0), d(K, null, I(r.fields, (s) => (c(), Q(X(
|
|
327
|
+
(c(!0), d(K, null, I(r.fields, (s) => (c(), Q(X(Se), {
|
|
327
328
|
key: pe(s),
|
|
328
329
|
name: s.key,
|
|
329
330
|
rules: ve(s),
|
|
@@ -349,7 +350,7 @@ const Ce = {
|
|
|
349
350
|
}), 128)),
|
|
350
351
|
p.submitError ? (c(), d("p", Be, v(p.submitError), 1)) : V("", !0),
|
|
351
352
|
j("footer", De, [
|
|
352
|
-
ne(X(
|
|
353
|
+
ne(X(Ee), {
|
|
353
354
|
"html-type": "submit",
|
|
354
355
|
type: "primary",
|
|
355
356
|
loading: p.submitting,
|
|
@@ -372,5 +373,5 @@ const Ce = {
|
|
|
372
373
|
}
|
|
373
374
|
});
|
|
374
375
|
export {
|
|
375
|
-
|
|
376
|
+
Xe as default
|
|
376
377
|
};
|
package/dist/esm/full.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import t from "./index.js";
|
|
2
|
+
import o from "./agent-workbench.vue.js";
|
|
3
|
+
import { default as s } from "./actions.vue.js";
|
|
4
|
+
import { default as l } from "./attachments.vue.js";
|
|
5
|
+
import { default as n } from "./bubble.vue.js";
|
|
6
|
+
import { default as d } from "./chat-panel.vue.js";
|
|
7
|
+
import { default as c } from "./conversations.vue.js";
|
|
8
|
+
import { default as i } from "./form.vue.js";
|
|
9
|
+
import { default as S } from "./process.vue.js";
|
|
10
|
+
import { default as F } from "./prompts.vue.js";
|
|
11
|
+
import { default as R } from "./sender.vue.js";
|
|
12
|
+
import { default as g } from "./sources.vue.js";
|
|
13
|
+
import { default as E } from "./thought-chain.vue.js";
|
|
14
|
+
import { default as v } from "./welcome.vue.js";
|
|
15
|
+
import { AI_FORM_CONDITION_OPERATORS as k, AI_FORM_FIELD_TYPES as D, validateAIFormSchema as M } from "./form-schema.js";
|
|
16
|
+
import { createAIStreamReducer as B, reduceAIStreamEvent as L } from "./stream-reducer.js";
|
|
17
|
+
const f = {
|
|
18
|
+
install(e) {
|
|
19
|
+
e.use(t), e.component("AAIAgentWorkbench", o);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
s as AIActions,
|
|
24
|
+
o as AIAgentWorkbench,
|
|
25
|
+
l as AIAttachments,
|
|
26
|
+
n as AIBubble,
|
|
27
|
+
d as AIChatPanel,
|
|
28
|
+
c as AIConversations,
|
|
29
|
+
i as AIForm,
|
|
30
|
+
S as AIProcess,
|
|
31
|
+
F as AIPrompts,
|
|
32
|
+
R as AISender,
|
|
33
|
+
g as AISources,
|
|
34
|
+
E as AIThoughtChain,
|
|
35
|
+
v as AIWelcome,
|
|
36
|
+
k as AI_FORM_CONDITION_OPERATORS,
|
|
37
|
+
D as AI_FORM_FIELD_TYPES,
|
|
38
|
+
B as createAIStreamReducer,
|
|
39
|
+
f as default,
|
|
40
|
+
L as reduceAIStreamEvent,
|
|
41
|
+
M as validateAIFormSchema
|
|
42
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import m from "./chat-panel.vue.js";
|
|
2
|
+
import n from "./actions.vue.js";
|
|
3
|
+
import t from "./attachments.vue.js";
|
|
4
|
+
import e from "./bubble.vue.js";
|
|
5
|
+
import r from "./conversations.vue.js";
|
|
6
|
+
import A from "./process.vue.js";
|
|
7
|
+
import s from "./prompts.vue.js";
|
|
8
|
+
import c from "./sender.vue.js";
|
|
9
|
+
import a from "./sources.vue.js";
|
|
10
|
+
import I from "./thought-chain.vue.js";
|
|
11
|
+
import i from "./welcome.vue.js";
|
|
12
|
+
import _ from "./form.vue.js";
|
|
13
|
+
import { AI_FORM_CONDITION_OPERATORS as v, AI_FORM_FIELD_TYPES as E, validateAIFormSchema as x } from "./form-schema.js";
|
|
14
|
+
import { createAIStreamReducer as B, reduceAIStreamEvent as D } from "./stream-reducer.js";
|
|
15
|
+
const b = {
|
|
16
|
+
install(o) {
|
|
17
|
+
o.component("AAIActions", n), o.component("AAIAttachments", t), o.component("AAIBubble", e), o.component("AAIChatPanel", m), o.component("AAIConversations", r), o.component("AAIForm", _), o.component("AAIProcess", A), o.component("AAIPrompts", s), o.component("AAISender", c), o.component("AAISources", a), o.component("AAIThoughtChain", I), o.component("AAIWelcome", i);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
n as AIActions,
|
|
22
|
+
t as AIAttachments,
|
|
23
|
+
e as AIBubble,
|
|
24
|
+
m as AIChatPanel,
|
|
25
|
+
r as AIConversations,
|
|
26
|
+
_ as AIForm,
|
|
27
|
+
A as AIProcess,
|
|
28
|
+
s as AIPrompts,
|
|
29
|
+
c as AISender,
|
|
30
|
+
a as AISources,
|
|
31
|
+
I as AIThoughtChain,
|
|
32
|
+
i as AIWelcome,
|
|
33
|
+
v as AI_FORM_CONDITION_OPERATORS,
|
|
34
|
+
E as AI_FORM_FIELD_TYPES,
|
|
35
|
+
B as createAIStreamReducer,
|
|
36
|
+
b as default,
|
|
37
|
+
D as reduceAIStreamEvent,
|
|
38
|
+
x as validateAIFormSchema
|
|
39
|
+
};
|