@kinetis/vector-ui 0.12.5 → 0.14.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/CHANGELOG.md +98 -3
- package/README.md +13 -5
- package/app/components/Vx/Cell/Markdown.vue +1 -1
- package/app/components/Vx/Cell/RichText.vue +1 -1
- package/app/components/Vx/CommandPalette.vue +16 -2
- package/app/components/Vx/FieldsForm.vue +10 -2
- package/app/components/Vx/Input/KeyValue.vue +2 -2
- package/app/components/Vx/Input/Markdown.vue +5 -0
- package/app/components/Vx/Input/Money.vue +1 -1
- package/app/components/Vx/Input/RichText.vue +6 -1
- package/app/components/Vx/Input/Text.vue +18 -2
- package/app/components/Vx/Input/Textarea.vue +19 -2
- package/app/components/Vx/InputAddons.vue +45 -0
- package/app/components/Vx/Layout.vue +1 -1
- package/app/components/Vx/List/Pager.vue +1 -1
- package/app/components/Vx/List/ViewMenu.vue +1 -1
- package/app/components/Vx/Queues/Failed.vue +2 -2
- package/app/components/Vx/Queues/FailedDetail.vue +2 -2
- package/app/components/Vx/Queues/Metrics.vue +1 -1
- package/app/components/Vx/Queues/Overview.vue +2 -2
- package/app/components/Vx/Resource/Audit.vue +4 -0
- package/app/components/Vx/Resource/Form.vue +9 -1
- package/app/components/Vx/Resource/RelationPanel.vue +1 -1
- package/app/components/Vx/Resource/Table.vue +25 -2
- package/app/components/Vx/Widget/Card.vue +2 -2
- package/app/components/VxAi/ApprovalCard.vue +115 -0
- package/app/components/VxAi/Assistant.vue +189 -0
- package/app/components/VxAi/Credentials.vue +111 -0
- package/app/components/VxAi/FilterAsk.vue +176 -0
- package/app/components/VxAi/WritingAddon.vue +127 -0
- package/app/components/VxAi/WritingMenu.vue +91 -0
- package/app/components/VxAi/WritingResult.vue +48 -0
- package/app/components/VxAi/WritingToolbarItem.vue +189 -0
- package/app/composables/useConfirm.ts +1 -1
- package/app/composables/useVectorApi.ts +4 -4
- package/app/composables/useVectorAssistant.ts +342 -0
- package/app/composables/useVectorAuthStore.ts +1 -1
- package/app/composables/useVectorExtend.ts +157 -0
- package/app/composables/useVectorExtensions.ts +64 -6
- package/app/composables/useVectorFields.ts +1 -1
- package/app/composables/useVectorIdle.ts +1 -1
- package/app/composables/useVectorLocale.ts +2 -2
- package/app/composables/useVectorSchema.ts +1 -1
- package/app/composables/useVectorVersion.ts +2 -2
- package/app/composables/useVectorWriting.ts +72 -0
- package/app/i18n/ar/ai.ts +93 -0
- package/app/i18n/ar/index.ts +2 -1
- package/app/i18n/ar/record.ts +4 -0
- package/app/i18n/ar/shell.ts +1 -0
- package/app/i18n/de/ai.ts +93 -0
- package/app/i18n/de/index.ts +2 -1
- package/app/i18n/de/record.ts +4 -0
- package/app/i18n/de/shell.ts +1 -0
- package/app/i18n/en/ai.ts +93 -0
- package/app/i18n/en/index.ts +2 -1
- package/app/i18n/en/record.ts +4 -0
- package/app/i18n/en/shell.ts +1 -0
- package/app/i18n/es/ai.ts +93 -0
- package/app/i18n/es/index.ts +2 -1
- package/app/i18n/es/record.ts +4 -0
- package/app/i18n/es/shell.ts +1 -0
- package/app/i18n/fr/ai.ts +93 -0
- package/app/i18n/fr/index.ts +2 -1
- package/app/i18n/fr/record.ts +4 -0
- package/app/i18n/fr/shell.ts +1 -0
- package/app/i18n/he/ai.ts +93 -0
- package/app/i18n/he/index.ts +2 -1
- package/app/i18n/he/record.ts +4 -0
- package/app/i18n/he/shell.ts +1 -0
- package/app/i18n/index.ts +1 -1
- package/app/i18n/it/ai.ts +93 -0
- package/app/i18n/it/index.ts +2 -1
- package/app/i18n/it/record.ts +4 -0
- package/app/i18n/it/shell.ts +1 -0
- package/app/i18n/ja/ai.ts +93 -0
- package/app/i18n/ja/index.ts +2 -1
- package/app/i18n/ja/record.ts +4 -0
- package/app/i18n/ja/shell.ts +1 -0
- package/app/i18n/ko/ai.ts +93 -0
- package/app/i18n/ko/index.ts +2 -1
- package/app/i18n/ko/record.ts +4 -0
- package/app/i18n/ko/shell.ts +1 -0
- package/app/i18n/nl/ai.ts +93 -0
- package/app/i18n/nl/index.ts +2 -1
- package/app/i18n/nl/record.ts +4 -0
- package/app/i18n/nl/shell.ts +1 -0
- package/app/i18n/pl/ai.ts +93 -0
- package/app/i18n/pl/index.ts +2 -1
- package/app/i18n/pl/record.ts +4 -0
- package/app/i18n/pl/shell.ts +1 -0
- package/app/i18n/pt/ai.ts +93 -0
- package/app/i18n/pt/index.ts +2 -1
- package/app/i18n/pt/record.ts +4 -0
- package/app/i18n/pt/shell.ts +1 -0
- package/app/i18n/pt-BR/ai.ts +93 -0
- package/app/i18n/pt-BR/index.ts +2 -1
- package/app/i18n/pt-BR/record.ts +4 -0
- package/app/i18n/pt-BR/shell.ts +1 -0
- package/app/i18n/ru/ai.ts +93 -0
- package/app/i18n/ru/index.ts +2 -1
- package/app/i18n/ru/record.ts +4 -0
- package/app/i18n/ru/shell.ts +1 -0
- package/app/i18n/tr/ai.ts +93 -0
- package/app/i18n/tr/index.ts +2 -1
- package/app/i18n/tr/record.ts +4 -0
- package/app/i18n/tr/shell.ts +1 -0
- package/app/i18n/uk/ai.ts +93 -0
- package/app/i18n/uk/index.ts +2 -1
- package/app/i18n/uk/record.ts +4 -0
- package/app/i18n/uk/shell.ts +1 -0
- package/app/i18n/zh-Hans/ai.ts +93 -0
- package/app/i18n/zh-Hans/index.ts +2 -1
- package/app/i18n/zh-Hans/record.ts +4 -0
- package/app/i18n/zh-Hans/shell.ts +1 -0
- package/app/layouts/vector.vue +4 -1
- package/app/pages/settings.vue +7 -1
- package/app/plugins/vector-ai.client.ts +54 -0
- package/app/plugins/vector-extensions.client.ts +28 -37
- package/app/types/vector.ts +40 -3
- package/app/utils/aiAvailability.ts +55 -0
- package/app/utils/assistantBody.ts +69 -0
- package/app/utils/assistantStream.ts +133 -0
- package/app/utils/assistantTools.ts +45 -0
- package/app/utils/followScroll.ts +110 -0
- package/app/utils/format.ts +3 -3
- package/app/utils/internal/paths.ts +1 -1
- package/app/utils/queues.ts +1 -1
- package/app/utils/recordLinks.ts +45 -0
- package/app/utils/richtext.ts +3 -3
- package/app/utils/translate.ts +2 -2
- package/dist/static/200.html +1 -1
- package/dist/static/404.html +1 -1
- package/dist/static/_nuxt/-ksGenLl.js +1 -0
- package/dist/static/_nuxt/{DDJY3JL5.js → 0Q9tQaGZ.js} +1 -1
- package/dist/static/_nuxt/2mrvZCJz.js +3 -0
- package/dist/static/_nuxt/{C2PH7r9_.js → 2u7wMpR1.js} +1 -1
- package/dist/static/_nuxt/72BATg3-.js +1 -0
- package/dist/static/_nuxt/{BKtgreqG.js → 7hLwEPpo.js} +1 -1
- package/dist/static/_nuxt/{D5vg-NJ4.js → 7rwxDW6j.js} +1 -1
- package/dist/static/_nuxt/{Pj99sh0X.js → AbcTnLPe.js} +1 -1
- package/dist/static/_nuxt/B-b861aP.js +1 -0
- package/dist/static/_nuxt/{Cuw0JSbz.js → B2rZ5lwu.js} +1 -1
- package/dist/static/_nuxt/B4hfz7cN.js +1 -0
- package/dist/static/_nuxt/B65UlNtP.js +1 -0
- package/dist/static/_nuxt/{oThorgNS.js → B8JL5gwX.js} +1 -1
- package/dist/static/_nuxt/{D5Woe3YR.js → B8wNbnS0.js} +1 -1
- package/dist/static/_nuxt/{BDM1yKDf.js → B9FqenNL.js} +1 -1
- package/dist/static/_nuxt/{wLSd0d84.js → B9s6vEby.js} +1 -1
- package/dist/static/_nuxt/BE6e_jlD.js +1 -0
- package/dist/static/_nuxt/{Dx8sj9kP.js → BFZfZyte.js} +1 -1
- package/dist/static/_nuxt/{Dnl_Q9LX.js → BJSRjsBt.js} +1 -1
- package/dist/static/_nuxt/{lRmDd_Kx.js → BJh6qVAK.js} +1 -1
- package/dist/static/_nuxt/{DBmDhhWl.js → BJxaGigr.js} +1 -1
- package/dist/static/_nuxt/{CmoDOC5e.js → BL2SeM_r.js} +1 -1
- package/dist/static/_nuxt/BPT7yI6j.js +1 -0
- package/dist/static/_nuxt/BQ47h6Wh.js +1 -0
- package/dist/static/_nuxt/{CalcRVj7.js → BQitPbA5.js} +1 -1
- package/dist/static/_nuxt/{D9unnd4n.js → BSj4WTjT.js} +1 -1
- package/dist/static/_nuxt/{D3cKZbMy.js → BVrihF-G.js} +1 -1
- package/dist/static/_nuxt/BW9qBvMR.js +1 -0
- package/dist/static/_nuxt/{DU1KpHiJ.js → BWscDCZb.js} +1 -1
- package/dist/static/_nuxt/{JGAhx20W.js → BXnWvqRw.js} +1 -1
- package/dist/static/_nuxt/BcSEGymu.js +2 -0
- package/dist/static/_nuxt/Bj-QksVr.js +2 -0
- package/dist/static/_nuxt/{CvMhFq5K.js → Bl4F_9Di.js} +1 -1
- package/dist/static/_nuxt/{BRbbmSpl.js → BowgCQje.js} +1 -1
- package/dist/static/_nuxt/{DgVB5umK.js → BuTE4a2w.js} +1 -1
- package/dist/static/_nuxt/Bw6FrC2B.js +1 -0
- package/dist/static/_nuxt/{Cv0_BbF0.js → Byf6uyFv.js} +1 -1
- package/dist/static/_nuxt/Bzvft7RG.js +1 -0
- package/dist/static/_nuxt/C1y0neXX.js +1 -0
- package/dist/static/_nuxt/{BUF7Jq4U.js → C48zuAYh.js} +1 -1
- package/dist/static/_nuxt/{DJFQLDk5.js → C52FYB-5.js} +1 -1
- package/dist/static/_nuxt/CAXk9Oc1.js +1 -0
- package/dist/static/_nuxt/{C7fSyjDf.js → CD5zJmlk.js} +1 -1
- package/dist/static/_nuxt/CDnV5Q2S.js +2 -0
- package/dist/static/_nuxt/{CzTUD5Qk.js → CE5HzlKJ.js} +1 -1
- package/dist/static/_nuxt/{7K6MnLUx.js → CF_C4t63.js} +1 -1
- package/dist/static/_nuxt/CFuvN8kq.js +1 -0
- package/dist/static/_nuxt/{CqMf6Lsu.js → CHIGMs2v.js} +1 -1
- package/dist/static/_nuxt/CIcNJyjb.js +1 -0
- package/dist/static/_nuxt/{Dyz4VrUP.js → CLJSzUt5.js} +1 -1
- package/dist/static/_nuxt/CQvUQgZO.js +2 -0
- package/dist/static/_nuxt/{N6Uxr2YO.js → CRAHgjs4.js} +1 -1
- package/dist/static/_nuxt/{B6NDob-m.js → CSezMYzn.js} +1 -1
- package/dist/static/_nuxt/{B7CwuqHQ.js → CSgLLbCN.js} +1 -1
- package/dist/static/_nuxt/{1EmobxKy.js → CTHBH7-N.js} +1 -1
- package/dist/static/_nuxt/CVGEoUmj.js +1 -0
- package/dist/static/_nuxt/{bm6plv74.js → CVePRzEp.js} +1 -1
- package/dist/static/_nuxt/{R3rw3hPp.js → CWfptrnU.js} +1 -1
- package/dist/static/_nuxt/{C1djf5sc.js → CXSf4TOH.js} +1 -1
- package/dist/static/_nuxt/CbOoWXps.js +1 -0
- package/dist/static/_nuxt/Cf2NM87n.js +1 -0
- package/dist/static/_nuxt/{ycmL3bWs.js → CjYmnU-l.js} +1 -1
- package/dist/static/_nuxt/Ckm05LT2.js +1 -0
- package/dist/static/_nuxt/{DHtEcXUO.js → Cl2jXKkl.js} +1 -1
- package/dist/static/_nuxt/{CF1K6UXb.js → Clx69IQe.js} +1 -1
- package/dist/static/_nuxt/{BZDOVMsw.js → CmJ0ekjX.js} +1 -1
- package/dist/static/_nuxt/{DkCRR-Zt.js → Cpel4vlt.js} +1 -1
- package/dist/static/_nuxt/{CUAnR2FD.js → CrYfHi9E.js} +1 -1
- package/dist/static/_nuxt/CvTgOEOS.js +1 -0
- package/dist/static/_nuxt/CvVbTdaI.js +1 -0
- package/dist/static/_nuxt/{DoNlTJTo.js → D2ovGjnz.js} +1 -1
- package/dist/static/_nuxt/{BOHl_j0c.js → D3cIKCPa.js} +1 -1
- package/dist/static/_nuxt/{CvtjhXJ1.js → D3jC5ZAK.js} +1 -1
- package/dist/static/_nuxt/{FzhpMR1D.js → D3xofh1k.js} +1 -1
- package/dist/static/_nuxt/{BfuFZvSA.js → D7dC5VYH.js} +1 -1
- package/dist/static/_nuxt/{DfVLYfcR.js → D7eR_J9I.js} +1 -1
- package/dist/static/_nuxt/DAXm0JlI.js +1 -0
- package/dist/static/_nuxt/DDsQjoa8.js +1 -0
- package/dist/static/_nuxt/DFIqxsd4.js +1 -0
- package/dist/static/_nuxt/DGQrzV9s.js +1 -0
- package/dist/static/_nuxt/{1_Uuyt8D.js → DHNZ4ANp.js} +1 -1
- package/dist/static/_nuxt/{AXpHq_M6.js → DKOyYUi8.js} +1 -1
- package/dist/static/_nuxt/DOEj9Txc.js +1 -0
- package/dist/static/_nuxt/{CJepLjEa.js → DOq2YmIE.js} +1 -1
- package/dist/static/_nuxt/DOxWca9k.js +1 -0
- package/dist/static/_nuxt/{D7JW3pi_.js → DVyeIIya.js} +1 -1
- package/dist/static/_nuxt/{DT1zmKvw.js → DW3p59oX.js} +1 -1
- package/dist/static/_nuxt/{ERkvasWH.js → DXZAXwNd.js} +1 -1
- package/dist/static/_nuxt/{5VLAMAEq.js → DYPYEI74.js} +1 -1
- package/dist/static/_nuxt/D_hQWjK3.js +1 -0
- package/dist/static/_nuxt/{ZNfE-M4g.js → Dao3p0cp.js} +1 -1
- package/dist/static/_nuxt/{D3xqGGYp.js → DcC5rHQt.js} +1 -1
- package/dist/static/_nuxt/DdYMnBKs.js +1 -0
- package/dist/static/_nuxt/{DOOLWZFN.js → DeZyAt_3.js} +1 -1
- package/dist/static/_nuxt/DfApYreK.js +10 -0
- package/dist/static/_nuxt/{BEcvuouq.js → DjRWYJ_r.js} +1 -1
- package/dist/static/_nuxt/{DqVTouT1.js → DllQuWrz.js} +1 -1
- package/dist/static/_nuxt/DryMzf1V.js +1 -0
- package/dist/static/_nuxt/{BEu939QZ.js → DsLys5JK.js} +1 -1
- package/dist/static/_nuxt/DvEvjhbF.js +1 -0
- package/dist/static/_nuxt/{B1lIMV_o.js → Dw7WalTb.js} +1 -1
- package/dist/static/_nuxt/{DYm7SUSn.js → DwpSsR4l.js} +1 -1
- package/dist/static/_nuxt/FfebEZGy.js +1 -0
- package/dist/static/_nuxt/{DPDZkh6Z.js → GdAHGVsW.js} +1 -1
- package/dist/static/_nuxt/{qFGHTGtX.js → HdAGfEVj.js} +1 -1
- package/dist/static/_nuxt/{CsakM5cG.js → IxgCkjBe.js} +1 -1
- package/dist/static/_nuxt/{BJiySRJW.js → Jl8QPdwt.js} +1 -1
- package/dist/static/_nuxt/{4_OCizmC.js → KWfizXHd.js} +1 -1
- package/dist/static/_nuxt/KeyValue.CWzmqYlQ.css +1 -0
- package/dist/static/_nuxt/Notifications.CAlaWnJg.css +1 -0
- package/dist/static/_nuxt/PqTF-5Vs.js +1 -0
- package/dist/static/_nuxt/SacKuioS.js +65 -0
- package/dist/static/_nuxt/TlyrWgih.js +1 -0
- package/dist/static/_nuxt/{oj_DzV60.js → WAarVmAq.js} +1 -1
- package/dist/static/_nuxt/{DcWEOxVe.js → XnbMqODk.js} +1 -1
- package/dist/static/_nuxt/{R_5D07UV.js → Y2iAEIYr.js} +1 -1
- package/dist/static/_nuxt/_resource_.Q2lVCG-n.css +1 -0
- package/dist/static/_nuxt/{BSj7_50x.js → b2bdl3qT.js} +1 -1
- package/dist/static/_nuxt/bNqxxQg2.js +1 -0
- package/dist/static/_nuxt/builds/latest.json +1 -1
- package/dist/static/_nuxt/builds/meta/febd0fe3-67f9-4afd-94c3-97178a3ef2b1.json +1 -0
- package/dist/static/_nuxt/{yO0LqdZ2.js → e2dpeiRT.js} +1 -1
- package/dist/static/_nuxt/{entry.DmwuXgFN.css → entry.B2UXd7Ey.css} +1 -1
- package/dist/static/_nuxt/error-404.D5YWHu6f.css +1 -0
- package/dist/static/_nuxt/error-500.BP1eYUQR.css +1 -0
- package/dist/static/_nuxt/{CB-gmtNU.js → fLsGnP3B.js} +1 -1
- package/dist/static/_nuxt/gYmJEXHP.js +1 -0
- package/dist/static/_nuxt/{B-nBg1Xv.js → jI4JB4sB.js} +1 -1
- package/dist/static/_nuxt/{DebXB2Xn.js → qoAbHCOq.js} +1 -1
- package/dist/static/_nuxt/rYfJ_RlJ.js +1 -0
- package/dist/static/_nuxt/{CrGsoVt3.js → tGXqY3hN.js} +1 -1
- package/dist/static/_nuxt/{Bk4XXIda.js → tv5vSe5Y.js} +1 -1
- package/dist/static/_nuxt/vbxP0T99.js +185 -0
- package/dist/static/_nuxt/vector.NgmG3ZDn.css +1 -0
- package/dist/static/_nuxt/{BEX0oVSL.js → wSbLQ3i5.js} +2 -2
- package/dist/static/_nuxt/{0Vkqk5K3.js → y5gvPoD3.js} +1 -1
- package/dist/static/_nuxt/{DyweGZi4.js → yIw8BzU6.js} +1 -1
- package/dist/static/_nuxt/{NTQyXsYJ.js → zA0zNamO.js} +1 -1
- package/dist/static/index.html +1 -1
- package/dist/static/jobs/index.html +1 -1
- package/dist/static/login/index.html +1 -1
- package/dist/static/queues/index.html +1 -1
- package/dist/static/settings/index.html +1 -1
- package/dist/static/vector-bundle.json +148 -152
- package/package.json +19 -18
- package/dist/static/_nuxt/B6S9Z6WQ.js +0 -1
- package/dist/static/_nuxt/BDNMzG2s.js +0 -1
- package/dist/static/_nuxt/BDhmmehP.js +0 -2
- package/dist/static/_nuxt/BJhRZpbP.js +0 -1
- package/dist/static/_nuxt/BZXFBS4d.js +0 -1
- package/dist/static/_nuxt/Baf8k6rK.js +0 -1
- package/dist/static/_nuxt/BlcK9t0n.js +0 -1
- package/dist/static/_nuxt/Bp1wYuAu.js +0 -2
- package/dist/static/_nuxt/BqIYBnn1.js +0 -1
- package/dist/static/_nuxt/BzcHWzF1.js +0 -1
- package/dist/static/_nuxt/C-dF6TjJ.js +0 -1
- package/dist/static/_nuxt/C0BqlrB-.js +0 -1
- package/dist/static/_nuxt/C5lrJzwj.js +0 -67
- package/dist/static/_nuxt/C6kvBrux.js +0 -1
- package/dist/static/_nuxt/C9pCrKWL.js +0 -1
- package/dist/static/_nuxt/CBIdPVBN.js +0 -1
- package/dist/static/_nuxt/CE4w7ySf.js +0 -1
- package/dist/static/_nuxt/CIIjiec-.js +0 -1
- package/dist/static/_nuxt/CJUKNdMD.js +0 -1
- package/dist/static/_nuxt/CL8kR7Jl.js +0 -1
- package/dist/static/_nuxt/CTQUNAVB.js +0 -1
- package/dist/static/_nuxt/CTqdSnzX.js +0 -1
- package/dist/static/_nuxt/ChHwRItD.js +0 -1
- package/dist/static/_nuxt/ClGaGEq-.js +0 -1
- package/dist/static/_nuxt/ClTuaRRz.js +0 -1
- package/dist/static/_nuxt/CojXjKit.js +0 -1
- package/dist/static/_nuxt/CpCuvz_Q.js +0 -1
- package/dist/static/_nuxt/Cv4Z1VpR.js +0 -65
- package/dist/static/_nuxt/D1s1ZPEA.js +0 -2
- package/dist/static/_nuxt/D8p7N22I.js +0 -1
- package/dist/static/_nuxt/DBXnb1tR.js +0 -1
- package/dist/static/_nuxt/DCZnllp3.js +0 -1
- package/dist/static/_nuxt/DL237dS3.js +0 -1
- package/dist/static/_nuxt/DPH3RfAz.js +0 -1
- package/dist/static/_nuxt/DVKVuUv9.js +0 -1
- package/dist/static/_nuxt/Djb5b_0H.js +0 -1
- package/dist/static/_nuxt/DlpIJgqB.js +0 -1
- package/dist/static/_nuxt/DrEHkKjX.js +0 -10
- package/dist/static/_nuxt/DuYZsH0p.js +0 -1
- package/dist/static/_nuxt/DujOg9oz.js +0 -2
- package/dist/static/_nuxt/IhWbQWqt.js +0 -1
- package/dist/static/_nuxt/KeyValue.CczYMB-Q.css +0 -1
- package/dist/static/_nuxt/NOtHifBs.js +0 -105
- package/dist/static/_nuxt/Notifications.AEytcgEO.css +0 -1
- package/dist/static/_nuxt/OyqHv1Hk.js +0 -1
- package/dist/static/_nuxt/Pe8cg_oY.js +0 -1
- package/dist/static/_nuxt/QTRQ5bvA.js +0 -1
- package/dist/static/_nuxt/Un35xD_q.js +0 -1
- package/dist/static/_nuxt/UoJt16Vw.js +0 -1
- package/dist/static/_nuxt/VSpacer.DfbUir7X.css +0 -1
- package/dist/static/_nuxt/_resource_.CZ-hvn3L.css +0 -1
- package/dist/static/_nuxt/builds/meta/3c8a90b7-4dbd-4b44-8b52-44303c3d88d5.json +0 -1
- package/dist/static/_nuxt/error-404.DIb-VIQ0.css +0 -1
- package/dist/static/_nuxt/error-500.BvRwBykK.css +0 -1
- package/dist/static/_nuxt/vector.ClRRJOjR.css +0 -1
- package/dist/static/_nuxt/wlpNGAAZ.js +0 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { bundledMessages } from '#vector/app/i18n'
|
|
2
|
+
|
|
3
|
+
/** What writing help does to a text. */
|
|
4
|
+
export type WritingOperation = 'rewrite' | 'shorten' | 'grammar' | 'translate'
|
|
5
|
+
|
|
6
|
+
/** What POST /vector/ai/writing/{resource}/{field} answers. */
|
|
7
|
+
export interface WritingAnswer {
|
|
8
|
+
text: string
|
|
9
|
+
operation: WritingOperation
|
|
10
|
+
model: string
|
|
11
|
+
/** The answer was longer than the field allows, and was cut. */
|
|
12
|
+
truncated: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface WritingRequest {
|
|
16
|
+
operation: WritingOperation
|
|
17
|
+
text: string
|
|
18
|
+
format: 'plain' | 'markdown'
|
|
19
|
+
targetLocale?: string | null
|
|
20
|
+
/** The record being edited; null on the create form. */
|
|
21
|
+
recordId?: string | null
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Writing help for one field: whether the admin offers it there, and the
|
|
27
|
+
* call. Offered when `capabilities.ai.writing` is on, the resource is not
|
|
28
|
+
* kept from AI (`excluded`), the field is not one of those kept back
|
|
29
|
+
* (`excludedFields`) and not one writing help is off for (`noWriting`: a
|
|
30
|
+
* unique string, or `ai.writing` false); the server refuses all four
|
|
31
|
+
* anyway. The answer is
|
|
32
|
+
* only ever put in the input, for the person to review and save.
|
|
33
|
+
*/
|
|
34
|
+
export function useVectorWriting() {
|
|
35
|
+
const { schema } = useVectorSchema()
|
|
36
|
+
const api = useVectorApi()
|
|
37
|
+
const { t } = useVectorT()
|
|
38
|
+
const language = useVectorLocale()
|
|
39
|
+
|
|
40
|
+
function offered(resource: string | undefined, field: string): boolean {
|
|
41
|
+
return resource !== undefined && resource !== '' && aiOffered(aiCapabilities(schema.value), 'writing', resource, field)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function write(resource: string, field: string, request: WritingRequest): Promise<WritingAnswer> {
|
|
45
|
+
return api<WritingAnswer>(`/vector/ai/writing/${encodeURIComponent(resource)}/${encodeURIComponent(field)}`, {
|
|
46
|
+
method: 'POST',
|
|
47
|
+
body: { targetLocale: null, recordId: null, ...request },
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** A failure in words: a spent budget says when it renews, when Retry-After can be read; otherwise the server's reason. */
|
|
52
|
+
function describe(error: unknown): string {
|
|
53
|
+
return aiFailureMessage(error, t('ai.writing.failed'))
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** A language's name in the admin's own language, falling back to its tag. */
|
|
57
|
+
function languageName(tag: string): string {
|
|
58
|
+
try {
|
|
59
|
+
return new Intl.DisplayNames([language.current.value, 'en'], { type: 'language' }).of(tag) ?? tag
|
|
60
|
+
} catch {
|
|
61
|
+
return tag
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The languages "Translate to…" offers, as BCP 47 tags: every language
|
|
67
|
+
* the UI ships, then any other the descriptor lets this user choose.
|
|
68
|
+
*/
|
|
69
|
+
const languages = computed(() => [...new Set([...Object.keys(bundledMessages), ...language.locales.value.map(l => l.code)])])
|
|
70
|
+
|
|
71
|
+
return { offered, write, describe, languageName, languages }
|
|
72
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// The AI features' strings (kinetis/vector-ai); see common.ts for words every area shares.
|
|
2
|
+
export default {
|
|
3
|
+
credentials: {
|
|
4
|
+
title: 'مفاتيح المزوّدين',
|
|
5
|
+
intro: 'تُختم المفاتيح المُدخلة هنا باستخدام VECTOR_AI_KEY ولا تُعرض مرة أخرى أبدًا.',
|
|
6
|
+
none: 'لم يُضبط أي مزوّد للذكاء الاصطناعي. يُدرجهم المشغّل في VECTOR_AI_PROVIDERS.',
|
|
7
|
+
set: 'المفتاح مضبوط',
|
|
8
|
+
unset: 'لا مفتاح',
|
|
9
|
+
environment: 'تديره البيئة',
|
|
10
|
+
noKey: 'لا يحتاج إلى مفتاح',
|
|
11
|
+
updated: 'ضبطه المستخدم {by} في {at}',
|
|
12
|
+
sealedWithAnotherKey: 'مختوم بمفتاح آخر؛ أدخله من جديد.',
|
|
13
|
+
cannotStore: 'اضبط VECTOR_AI_KEY على الخادم لتخزين مفاتيح المزوّدين.',
|
|
14
|
+
enter: 'مفتاح جديد لـ {provider}',
|
|
15
|
+
save: 'حفظ المفتاح',
|
|
16
|
+
remove: 'إزالة المفتاح',
|
|
17
|
+
saved: 'حُفظ مفتاح {provider}.',
|
|
18
|
+
removed: 'أُزيل مفتاح {provider}.',
|
|
19
|
+
},
|
|
20
|
+
filters: {
|
|
21
|
+
label: 'التصفية بلغة عادية',
|
|
22
|
+
placeholder: 'صِف {label} التي تريدها',
|
|
23
|
+
noExplanation: 'صُفّيت القائمة كما طلبت.',
|
|
24
|
+
which: '{field} «{text}»: أيّها؟',
|
|
25
|
+
undo: 'تراجع',
|
|
26
|
+
close: 'إغلاق',
|
|
27
|
+
budget: 'نفدت ميزانية الذكاء الاصطناعي لهذا اليوم؛ حاول مجددًا بعد {time}.',
|
|
28
|
+
budgetSpent: 'نفدت ميزانية الذكاء الاصطناعي لهذا اليوم.',
|
|
29
|
+
},
|
|
30
|
+
writing: {
|
|
31
|
+
label: 'المساعدة في الكتابة',
|
|
32
|
+
rewrite: 'إعادة الصياغة',
|
|
33
|
+
shorten: 'الاختصار',
|
|
34
|
+
grammar: 'تصحيح القواعد',
|
|
35
|
+
translate: 'الترجمة إلى…',
|
|
36
|
+
back: 'رجوع',
|
|
37
|
+
before: 'قبل',
|
|
38
|
+
after: 'بعد',
|
|
39
|
+
replace: 'استبدال',
|
|
40
|
+
discard: 'تجاهل',
|
|
41
|
+
truncated: 'كانت الإجابة أطول مما يسمح به هذا الحقل، فقُصّت.',
|
|
42
|
+
failed: 'تعذّر على المساعدة في الكتابة الإجابة.',
|
|
43
|
+
changed: 'تغيّر النص المحدد؛ حدّده واطلب من جديد.',
|
|
44
|
+
changedDocument: 'تغيّر النص في الأثناء؛ اطلب من جديد.',
|
|
45
|
+
emptyEditor: 'اكتب بعض النص أولًا',
|
|
46
|
+
wholeDocument: 'المساعدة في الكتابة: تعمل على النص كله أو على الجزء الذي تحدده',
|
|
47
|
+
busy: 'جارٍ الكتابة…',
|
|
48
|
+
},
|
|
49
|
+
assistant: {
|
|
50
|
+
title: 'المساعد',
|
|
51
|
+
open: 'المساعد',
|
|
52
|
+
close: 'إغلاق المساعد',
|
|
53
|
+
new: 'محادثة جديدة',
|
|
54
|
+
empty: 'اسأل عن البيانات التي تراها هنا: يقرؤها المساعد بصلاحياتك ولا يغيّر شيئًا.',
|
|
55
|
+
emptyWrites: 'اسأل عن البيانات التي تراها هنا: يقرؤها المساعد بصلاحياتك ولا يغيّر شيئًا إلا إذا وافقت على التغيير الذي يقترحه.',
|
|
56
|
+
placeholder: 'اسأل المساعد',
|
|
57
|
+
send: 'إرسال',
|
|
58
|
+
retry: 'إعادة المحاولة',
|
|
59
|
+
failed: 'تعذّر على المساعد الإجابة.',
|
|
60
|
+
tooLong: 'هذه الرسالة أطول مما يقبله المساعد ({max} حرفًا): اختصرها وأرسلها من جديد.',
|
|
61
|
+
tool: 'قُرئ عبر {name}',
|
|
62
|
+
proposingTool: 'اقتُرح عبر {name}',
|
|
63
|
+
toolTimes: 'قُرئ عبر {name} ×{count}',
|
|
64
|
+
proposingToolTimes: 'اقتُرح عبر {name} ×{count}',
|
|
65
|
+
approval: {
|
|
66
|
+
title: {
|
|
67
|
+
vector_create: 'مقترح: إنشاء {target}',
|
|
68
|
+
vector_update: 'مقترح: تغيير {target}',
|
|
69
|
+
vector_delete: 'مقترح: حذف {target}',
|
|
70
|
+
vector_run_action: 'مقترح: تشغيل إجراء على {target}',
|
|
71
|
+
other: 'مقترح: {tool} على {target}',
|
|
72
|
+
},
|
|
73
|
+
expires: 'ينتظر قرارك حتى {time}',
|
|
74
|
+
field: 'الحقل',
|
|
75
|
+
from: 'الآن',
|
|
76
|
+
to: 'المقترح',
|
|
77
|
+
approve: 'موافقة',
|
|
78
|
+
reject: 'رفض',
|
|
79
|
+
executed: 'تمت الموافقة والتنفيذ.',
|
|
80
|
+
failed: 'تمت الموافقة، لكن تعذّر إجراء التغيير: {reason}',
|
|
81
|
+
unknownReason: 'لم يُذكر سبب',
|
|
82
|
+
rejected: 'رُفض؛ لم يتغيّر شيء.',
|
|
83
|
+
expired: 'انتهت صلاحية هذا المقترح قبل البت فيه؛ لم يتغيّر شيء.',
|
|
84
|
+
gone: 'لم يعد هذا المقترح متاحًا.',
|
|
85
|
+
inProgress: 'يجري إجراء هذا التغيير في نافذة أخرى. حاول مجددًا بعد لحظة لترى النتيجة.',
|
|
86
|
+
},
|
|
87
|
+
context: {
|
|
88
|
+
page: 'في {path}',
|
|
89
|
+
list: 'قائمة {label}',
|
|
90
|
+
record: '{label} رقم {id}',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
}
|
package/app/i18n/ar/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import actions from './actions'
|
|
2
|
+
import ai from './ai'
|
|
2
3
|
import common from './common'
|
|
3
4
|
import dashboard from './dashboard'
|
|
4
5
|
import fields from './fields'
|
|
@@ -10,4 +11,4 @@ import settings from './settings'
|
|
|
10
11
|
import shell from './shell'
|
|
11
12
|
|
|
12
13
|
/** Arabic (machine translation): one object per area of the UI, mirroring en. */
|
|
13
|
-
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields }
|
|
14
|
+
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields, ai }
|
package/app/i18n/ar/record.ts
CHANGED
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
revertTitle: 'إرجاع هذا التغيير؟',
|
|
45
45
|
revertText: 'يعيد القيمة السابقة لـ {fields}. ويُسجَّل الإرجاع في سجل التغييرات أيضًا.',
|
|
46
46
|
reverted: 'تم إرجاع التغيير.',
|
|
47
|
+
via: 'عبر {origin}',
|
|
48
|
+
origin: {
|
|
49
|
+
assistant: 'المساعد',
|
|
50
|
+
},
|
|
47
51
|
},
|
|
48
52
|
panel: {
|
|
49
53
|
attach: 'ربط',
|
package/app/i18n/ar/shell.ts
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// The AI features' strings (kinetis/vector-ai); see common.ts for words every area shares.
|
|
2
|
+
export default {
|
|
3
|
+
credentials: {
|
|
4
|
+
title: 'Anbieterschlüssel',
|
|
5
|
+
intro: 'Hier eingegebene Schlüssel werden mit VECTOR_AI_KEY versiegelt und nie wieder angezeigt.',
|
|
6
|
+
none: 'Es ist kein KI-Anbieter konfiguriert. Der Betreiber führt sie in VECTOR_AI_PROVIDERS auf.',
|
|
7
|
+
set: 'Schlüssel gesetzt',
|
|
8
|
+
unset: 'Kein Schlüssel',
|
|
9
|
+
environment: 'Von der Umgebung verwaltet',
|
|
10
|
+
noKey: 'Braucht keinen Schlüssel',
|
|
11
|
+
updated: 'Gesetzt von Benutzer {by} am {at}',
|
|
12
|
+
sealedWithAnotherKey: 'Mit einem anderen Schlüssel versiegelt; geben Sie ihn erneut ein.',
|
|
13
|
+
cannotStore: 'Setzen Sie VECTOR_AI_KEY auf dem Server, um Anbieterschlüssel zu speichern.',
|
|
14
|
+
enter: 'Neuer Schlüssel für {provider}',
|
|
15
|
+
save: 'Schlüssel speichern',
|
|
16
|
+
remove: 'Schlüssel entfernen',
|
|
17
|
+
saved: 'Der Schlüssel für {provider} wurde gespeichert.',
|
|
18
|
+
removed: 'Der Schlüssel für {provider} wurde entfernt.',
|
|
19
|
+
},
|
|
20
|
+
filters: {
|
|
21
|
+
label: 'In Alltagssprache filtern',
|
|
22
|
+
placeholder: 'Beschreiben Sie die gewünschten {label}',
|
|
23
|
+
noExplanation: 'Die Liste ist wie gewünscht gefiltert.',
|
|
24
|
+
which: '{field} „{text}“: welcher Eintrag?',
|
|
25
|
+
undo: 'Rückgängig',
|
|
26
|
+
close: 'Schließen',
|
|
27
|
+
budget: 'Das KI-Budget für heute ist aufgebraucht; versuchen Sie es nach {time} erneut.',
|
|
28
|
+
budgetSpent: 'Das KI-Budget für heute ist aufgebraucht.',
|
|
29
|
+
},
|
|
30
|
+
writing: {
|
|
31
|
+
label: 'Schreibhilfe',
|
|
32
|
+
rewrite: 'Umformulieren',
|
|
33
|
+
shorten: 'Kürzen',
|
|
34
|
+
grammar: 'Grammatik korrigieren',
|
|
35
|
+
translate: 'Übersetzen in…',
|
|
36
|
+
back: 'Zurück',
|
|
37
|
+
before: 'Vorher',
|
|
38
|
+
after: 'Nachher',
|
|
39
|
+
replace: 'Ersetzen',
|
|
40
|
+
discard: 'Verwerfen',
|
|
41
|
+
truncated: 'Die Antwort war länger, als dieses Feld erlaubt, und wurde gekürzt.',
|
|
42
|
+
failed: 'Die Schreibhilfe konnte nicht antworten.',
|
|
43
|
+
changed: 'Der ausgewählte Text hat sich geändert; wählen Sie ihn aus und fragen Sie erneut.',
|
|
44
|
+
changedDocument: 'Der Text hat sich inzwischen geändert; fragen Sie erneut.',
|
|
45
|
+
emptyEditor: 'Schreiben Sie zuerst etwas Text',
|
|
46
|
+
wholeDocument: 'Schreibhilfe: wirkt auf den ganzen Text oder auf den ausgewählten Teil',
|
|
47
|
+
busy: 'Schreibt…',
|
|
48
|
+
},
|
|
49
|
+
assistant: {
|
|
50
|
+
title: 'Assistent',
|
|
51
|
+
open: 'Assistent',
|
|
52
|
+
close: 'Assistent schließen',
|
|
53
|
+
new: 'Neue Unterhaltung',
|
|
54
|
+
empty: 'Fragen Sie nach den Daten, die Sie hier sehen: Der Assistent liest sie mit Ihren Rechten und ändert nichts.',
|
|
55
|
+
emptyWrites: 'Fragen Sie nach den Daten, die Sie hier sehen: Der Assistent liest sie mit Ihren Rechten und ändert nur etwas, wenn Sie die vorgeschlagene Änderung genehmigen.',
|
|
56
|
+
placeholder: 'Den Assistenten fragen',
|
|
57
|
+
send: 'Senden',
|
|
58
|
+
retry: 'Erneut versuchen',
|
|
59
|
+
failed: 'Der Assistent konnte nicht antworten.',
|
|
60
|
+
tooLong: 'Diese Nachricht ist länger, als der Assistent annimmt ({max} Zeichen): Kürzen Sie sie und senden Sie sie erneut.',
|
|
61
|
+
tool: 'Gelesen mit {name}',
|
|
62
|
+
proposingTool: 'Vorgeschlagen mit {name}',
|
|
63
|
+
toolTimes: 'Gelesen mit {name} ×{count}',
|
|
64
|
+
proposingToolTimes: 'Vorgeschlagen mit {name} ×{count}',
|
|
65
|
+
approval: {
|
|
66
|
+
title: {
|
|
67
|
+
vector_create: 'Vorschlag: {target} anlegen',
|
|
68
|
+
vector_update: 'Vorschlag: {target} ändern',
|
|
69
|
+
vector_delete: 'Vorschlag: {target} löschen',
|
|
70
|
+
vector_run_action: 'Vorschlag: eine Aktion auf {target} ausführen',
|
|
71
|
+
other: 'Vorschlag: {tool} auf {target}',
|
|
72
|
+
},
|
|
73
|
+
expires: 'Wartet bis {time} auf Ihre Entscheidung',
|
|
74
|
+
field: 'Feld',
|
|
75
|
+
from: 'Jetzt',
|
|
76
|
+
to: 'Vorgeschlagen',
|
|
77
|
+
approve: 'Genehmigen',
|
|
78
|
+
reject: 'Ablehnen',
|
|
79
|
+
executed: 'Genehmigt und ausgeführt.',
|
|
80
|
+
failed: 'Genehmigt, aber die Änderung konnte nicht vorgenommen werden: {reason}',
|
|
81
|
+
unknownReason: 'es wurde kein Grund angegeben',
|
|
82
|
+
rejected: 'Abgelehnt; es wurde nichts geändert.',
|
|
83
|
+
expired: 'Dieser Vorschlag ist abgelaufen, bevor darüber entschieden wurde; es wurde nichts geändert.',
|
|
84
|
+
gone: 'Dieser Vorschlag ist nicht mehr verfügbar.',
|
|
85
|
+
inProgress: 'Diese Änderung wird gerade in einem anderen Fenster vorgenommen. Versuchen Sie es gleich noch einmal, um das Ergebnis zu sehen.',
|
|
86
|
+
},
|
|
87
|
+
context: {
|
|
88
|
+
page: 'Auf {path}',
|
|
89
|
+
list: 'Liste {label}',
|
|
90
|
+
record: '{label} #{id}',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
}
|
package/app/i18n/de/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import actions from './actions'
|
|
2
|
+
import ai from './ai'
|
|
2
3
|
import common from './common'
|
|
3
4
|
import dashboard from './dashboard'
|
|
4
5
|
import fields from './fields'
|
|
@@ -10,4 +11,4 @@ import settings from './settings'
|
|
|
10
11
|
import shell from './shell'
|
|
11
12
|
|
|
12
13
|
/** German (machine translation): one object per area of the UI, mirroring en. */
|
|
13
|
-
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields }
|
|
14
|
+
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields, ai }
|
package/app/i18n/de/record.ts
CHANGED
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
revertTitle: 'Diese Änderung zurücksetzen?',
|
|
45
45
|
revertText: 'Stellt den früheren Wert von {fields} wieder her. Das Zurücksetzen wird ebenfalls im Verlauf festgehalten.',
|
|
46
46
|
reverted: 'Änderung zurückgesetzt.',
|
|
47
|
+
via: 'über {origin}',
|
|
48
|
+
origin: {
|
|
49
|
+
assistant: 'den Assistenten',
|
|
50
|
+
},
|
|
47
51
|
},
|
|
48
52
|
panel: {
|
|
49
53
|
attach: 'Verknüpfen',
|
package/app/i18n/de/shell.ts
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// The AI features' strings (kinetis/vector-ai); see common.ts for words every area shares.
|
|
2
|
+
export default {
|
|
3
|
+
credentials: {
|
|
4
|
+
title: 'Provider keys',
|
|
5
|
+
intro: 'Keys entered here are sealed with VECTOR_AI_KEY and never shown again.',
|
|
6
|
+
none: 'No AI provider is configured. The operator lists them in VECTOR_AI_PROVIDERS.',
|
|
7
|
+
set: 'Key set',
|
|
8
|
+
unset: 'No key',
|
|
9
|
+
environment: 'Managed by the environment',
|
|
10
|
+
noKey: 'Takes no key',
|
|
11
|
+
updated: 'Set by user {by} on {at}',
|
|
12
|
+
sealedWithAnotherKey: 'Sealed with another key; re-enter it.',
|
|
13
|
+
cannotStore: 'Set VECTOR_AI_KEY on the server to store provider keys.',
|
|
14
|
+
enter: 'New key for {provider}',
|
|
15
|
+
save: 'Save key',
|
|
16
|
+
remove: 'Remove key',
|
|
17
|
+
saved: 'The key of {provider} was saved.',
|
|
18
|
+
removed: 'The key of {provider} was removed.',
|
|
19
|
+
},
|
|
20
|
+
filters: {
|
|
21
|
+
label: 'Filter in plain language',
|
|
22
|
+
placeholder: 'Describe the {label} you want',
|
|
23
|
+
noExplanation: 'The list is filtered as you asked.',
|
|
24
|
+
which: '{field} “{text}”: which one?',
|
|
25
|
+
undo: 'Undo',
|
|
26
|
+
close: 'Close',
|
|
27
|
+
budget: 'Today\'s AI budget is spent; try again after {time}.',
|
|
28
|
+
budgetSpent: 'Today\'s AI budget is spent.',
|
|
29
|
+
},
|
|
30
|
+
writing: {
|
|
31
|
+
label: 'Writing help',
|
|
32
|
+
rewrite: 'Rewrite',
|
|
33
|
+
shorten: 'Shorten',
|
|
34
|
+
grammar: 'Fix grammar',
|
|
35
|
+
translate: 'Translate to…',
|
|
36
|
+
back: 'Back',
|
|
37
|
+
before: 'Before',
|
|
38
|
+
after: 'After',
|
|
39
|
+
replace: 'Replace',
|
|
40
|
+
discard: 'Discard',
|
|
41
|
+
truncated: 'The answer was longer than this field allows, and was cut.',
|
|
42
|
+
failed: 'Writing help could not answer.',
|
|
43
|
+
changed: 'The selected text changed; select it and ask again.',
|
|
44
|
+
changedDocument: 'The text changed meanwhile; ask again.',
|
|
45
|
+
emptyEditor: 'Write some text first',
|
|
46
|
+
wholeDocument: 'Writing help: works on the whole text, or on the part you select',
|
|
47
|
+
busy: 'Writing…',
|
|
48
|
+
},
|
|
49
|
+
assistant: {
|
|
50
|
+
title: 'Assistant',
|
|
51
|
+
open: 'Assistant',
|
|
52
|
+
close: 'Close the assistant',
|
|
53
|
+
new: 'New conversation',
|
|
54
|
+
empty: 'Ask about the data you can see here: the assistant reads it as you, and changes nothing.',
|
|
55
|
+
emptyWrites: 'Ask about the data you can see here: the assistant reads it as you, and changes nothing unless you approve the change it proposes.',
|
|
56
|
+
placeholder: 'Ask the assistant',
|
|
57
|
+
send: 'Send',
|
|
58
|
+
retry: 'Retry',
|
|
59
|
+
failed: 'The assistant could not answer.',
|
|
60
|
+
tooLong: 'This message is longer than the assistant takes ({max} characters): shorten it and send it again.',
|
|
61
|
+
tool: 'Read with {name}',
|
|
62
|
+
proposingTool: 'Proposed with {name}',
|
|
63
|
+
toolTimes: 'Read with {name} ×{count}',
|
|
64
|
+
proposingToolTimes: 'Proposed with {name} ×{count}',
|
|
65
|
+
approval: {
|
|
66
|
+
title: {
|
|
67
|
+
vector_create: 'Proposed: create a {target}',
|
|
68
|
+
vector_update: 'Proposed: change {target}',
|
|
69
|
+
vector_delete: 'Proposed: delete {target}',
|
|
70
|
+
vector_run_action: 'Proposed: run an action on {target}',
|
|
71
|
+
other: 'Proposed: {tool} on {target}',
|
|
72
|
+
},
|
|
73
|
+
expires: 'Waits for your decision until {time}',
|
|
74
|
+
field: 'Field',
|
|
75
|
+
from: 'Now',
|
|
76
|
+
to: 'Proposed',
|
|
77
|
+
approve: 'Approve',
|
|
78
|
+
reject: 'Reject',
|
|
79
|
+
executed: 'Approved and done.',
|
|
80
|
+
failed: 'Approved, but the change could not be made: {reason}',
|
|
81
|
+
unknownReason: 'no reason was given',
|
|
82
|
+
rejected: 'Rejected; nothing was changed.',
|
|
83
|
+
expired: 'This proposal expired before it was decided; nothing was changed.',
|
|
84
|
+
gone: 'This proposal is no longer available.',
|
|
85
|
+
inProgress: 'This change is being made in another window. Try again in a moment to see the outcome.',
|
|
86
|
+
},
|
|
87
|
+
context: {
|
|
88
|
+
page: 'On {path}',
|
|
89
|
+
list: '{label} list',
|
|
90
|
+
record: '{label} #{id}',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
}
|
package/app/i18n/en/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import actions from './actions'
|
|
2
|
+
import ai from './ai'
|
|
2
3
|
import common from './common'
|
|
3
4
|
import dashboard from './dashboard'
|
|
4
5
|
import fields from './fields'
|
|
@@ -10,4 +11,4 @@ import settings from './settings'
|
|
|
10
11
|
import shell from './shell'
|
|
11
12
|
|
|
12
13
|
/** English, the fallback for every other locale: one object per area of the UI. */
|
|
13
|
-
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields }
|
|
14
|
+
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields, ai }
|
package/app/i18n/en/record.ts
CHANGED
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
revertTitle: 'Revert this change?',
|
|
45
45
|
revertText: 'Puts back the earlier value of {fields}. The revert is recorded in the history too.',
|
|
46
46
|
reverted: 'Change reverted.',
|
|
47
|
+
via: 'via {origin}',
|
|
48
|
+
origin: {
|
|
49
|
+
assistant: 'assistant',
|
|
50
|
+
},
|
|
47
51
|
},
|
|
48
52
|
panel: {
|
|
49
53
|
attach: 'Attach',
|
package/app/i18n/en/shell.ts
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// The AI features' strings (kinetis/vector-ai); see common.ts for words every area shares.
|
|
2
|
+
export default {
|
|
3
|
+
credentials: {
|
|
4
|
+
title: 'Claves de proveedores',
|
|
5
|
+
intro: 'Las claves que se introducen aquí se sellan con VECTOR_AI_KEY y no se vuelven a mostrar.',
|
|
6
|
+
none: 'No hay ningún proveedor de IA configurado. El operador los indica en VECTOR_AI_PROVIDERS.',
|
|
7
|
+
set: 'Clave definida',
|
|
8
|
+
unset: 'Sin clave',
|
|
9
|
+
environment: 'Gestionada por el entorno',
|
|
10
|
+
noKey: 'No necesita clave',
|
|
11
|
+
updated: 'Definida por el usuario {by} el {at}',
|
|
12
|
+
sealedWithAnotherKey: 'Sellada con otra clave; vuelva a introducirla.',
|
|
13
|
+
cannotStore: 'Defina VECTOR_AI_KEY en el servidor para guardar las claves de los proveedores.',
|
|
14
|
+
enter: 'Nueva clave para {provider}',
|
|
15
|
+
save: 'Guardar clave',
|
|
16
|
+
remove: 'Quitar clave',
|
|
17
|
+
saved: 'Se guardó la clave de {provider}.',
|
|
18
|
+
removed: 'Se quitó la clave de {provider}.',
|
|
19
|
+
},
|
|
20
|
+
filters: {
|
|
21
|
+
label: 'Filtrar en lenguaje natural',
|
|
22
|
+
placeholder: 'Describa los {label} que busca',
|
|
23
|
+
noExplanation: 'La lista se filtró como pidió.',
|
|
24
|
+
which: '{field} «{text}»: ¿cuál?',
|
|
25
|
+
undo: 'Deshacer',
|
|
26
|
+
close: 'Cerrar',
|
|
27
|
+
budget: 'El presupuesto de IA de hoy se agotó; vuelva a intentarlo después de las {time}.',
|
|
28
|
+
budgetSpent: 'El presupuesto de IA de hoy se agotó.',
|
|
29
|
+
},
|
|
30
|
+
writing: {
|
|
31
|
+
label: 'Ayuda de redacción',
|
|
32
|
+
rewrite: 'Reescribir',
|
|
33
|
+
shorten: 'Acortar',
|
|
34
|
+
grammar: 'Corregir la gramática',
|
|
35
|
+
translate: 'Traducir a…',
|
|
36
|
+
back: 'Atrás',
|
|
37
|
+
before: 'Antes',
|
|
38
|
+
after: 'Después',
|
|
39
|
+
replace: 'Reemplazar',
|
|
40
|
+
discard: 'Descartar',
|
|
41
|
+
truncated: 'La respuesta superaba la longitud que admite este campo y se recortó.',
|
|
42
|
+
failed: 'La ayuda de redacción no pudo responder.',
|
|
43
|
+
changed: 'El texto seleccionado cambió; selecciónelo y vuelva a pedirlo.',
|
|
44
|
+
changedDocument: 'El texto cambió mientras tanto; vuelva a pedirlo.',
|
|
45
|
+
emptyEditor: 'Escriba algo de texto primero',
|
|
46
|
+
wholeDocument: 'Ayuda de redacción: actúa sobre todo el texto o sobre la parte seleccionada',
|
|
47
|
+
busy: 'Redactando…',
|
|
48
|
+
},
|
|
49
|
+
assistant: {
|
|
50
|
+
title: 'Asistente',
|
|
51
|
+
open: 'Asistente',
|
|
52
|
+
close: 'Cerrar el asistente',
|
|
53
|
+
new: 'Nueva conversación',
|
|
54
|
+
empty: 'Pregunte por los datos que ve aquí: el asistente los lee con sus permisos y no cambia nada.',
|
|
55
|
+
emptyWrites: 'Pregunte por los datos que ve aquí: el asistente los lee con sus permisos y no cambia nada salvo que usted apruebe el cambio que propone.',
|
|
56
|
+
placeholder: 'Preguntar al asistente',
|
|
57
|
+
send: 'Enviar',
|
|
58
|
+
retry: 'Reintentar',
|
|
59
|
+
failed: 'El asistente no pudo responder.',
|
|
60
|
+
tooLong: 'Este mensaje supera la longitud que admite el asistente ({max} caracteres): acórtelo y vuelva a enviarlo.',
|
|
61
|
+
tool: 'Leído con {name}',
|
|
62
|
+
proposingTool: 'Propuesto con {name}',
|
|
63
|
+
toolTimes: 'Leído con {name} ×{count}',
|
|
64
|
+
proposingToolTimes: 'Propuesto con {name} ×{count}',
|
|
65
|
+
approval: {
|
|
66
|
+
title: {
|
|
67
|
+
vector_create: 'Propuesta: crear {target}',
|
|
68
|
+
vector_update: 'Propuesta: cambiar {target}',
|
|
69
|
+
vector_delete: 'Propuesta: eliminar {target}',
|
|
70
|
+
vector_run_action: 'Propuesta: ejecutar una acción sobre {target}',
|
|
71
|
+
other: 'Propuesta: {tool} sobre {target}',
|
|
72
|
+
},
|
|
73
|
+
expires: 'Espera su decisión hasta las {time}',
|
|
74
|
+
field: 'Campo',
|
|
75
|
+
from: 'Actual',
|
|
76
|
+
to: 'Propuesto',
|
|
77
|
+
approve: 'Aprobar',
|
|
78
|
+
reject: 'Rechazar',
|
|
79
|
+
executed: 'Aprobado y hecho.',
|
|
80
|
+
failed: 'Aprobado, pero no se pudo hacer el cambio: {reason}',
|
|
81
|
+
unknownReason: 'no se indicó ningún motivo',
|
|
82
|
+
rejected: 'Rechazado; no se cambió nada.',
|
|
83
|
+
expired: 'Esta propuesta caducó antes de decidirse; no se cambió nada.',
|
|
84
|
+
gone: 'Esta propuesta ya no está disponible.',
|
|
85
|
+
inProgress: 'Este cambio se está haciendo en otra ventana. Vuelva a intentarlo en un momento para ver el resultado.',
|
|
86
|
+
},
|
|
87
|
+
context: {
|
|
88
|
+
page: 'En {path}',
|
|
89
|
+
list: 'Lista de {label}',
|
|
90
|
+
record: '{label} n.º {id}',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
}
|
package/app/i18n/es/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import actions from './actions'
|
|
2
|
+
import ai from './ai'
|
|
2
3
|
import common from './common'
|
|
3
4
|
import dashboard from './dashboard'
|
|
4
5
|
import fields from './fields'
|
|
@@ -10,4 +11,4 @@ import settings from './settings'
|
|
|
10
11
|
import shell from './shell'
|
|
11
12
|
|
|
12
13
|
/** Spanish (machine translation): one object per area of the UI, mirroring en. */
|
|
13
|
-
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields }
|
|
14
|
+
export default { common, shell, list, record, actions, dashboard, jobs, queues, settings, fields, ai }
|
package/app/i18n/es/record.ts
CHANGED
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
revertTitle: '¿Revertir este cambio?',
|
|
45
45
|
revertText: 'Restaura el valor anterior de {fields}. La reversión también queda registrada en el historial.',
|
|
46
46
|
reverted: 'Cambio revertido.',
|
|
47
|
+
via: 'mediante {origin}',
|
|
48
|
+
origin: {
|
|
49
|
+
assistant: 'el asistente',
|
|
50
|
+
},
|
|
47
51
|
},
|
|
48
52
|
panel: {
|
|
49
53
|
attach: 'Vincular',
|