@next-bricks/ai-portal 0.66.0 → 0.68.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/bricks.json +79 -50
- package/dist/chunks/2118.677e19e7.js +3 -0
- package/dist/chunks/2118.677e19e7.js.LICENSE.txt +5 -0
- package/dist/chunks/2118.677e19e7.js.map +1 -0
- package/dist/chunks/3573.7b0bb780.js +3 -0
- package/dist/chunks/3573.7b0bb780.js.map +1 -0
- package/dist/chunks/3744.06d6d911.js +2 -0
- package/dist/chunks/{3744.ed6d0719.js.map → 3744.06d6d911.js.map} +1 -1
- package/dist/chunks/4208.7a99a847.js +2 -0
- package/dist/chunks/4208.7a99a847.js.map +1 -0
- package/dist/chunks/4228.692fa030.js +2 -0
- package/dist/chunks/{4228.ea602510.js.map → 4228.692fa030.js.map} +1 -1
- package/dist/chunks/4573.56d7bc95.js +3 -0
- package/dist/chunks/4573.56d7bc95.js.map +1 -0
- package/dist/chunks/488.ec641231.js +2 -0
- package/dist/chunks/488.ec641231.js.map +1 -0
- package/dist/chunks/6530.6d9e7c8b.js +2 -0
- package/dist/chunks/6530.6d9e7c8b.js.map +1 -0
- package/dist/chunks/chat-box.1ac7555a.js +3 -0
- package/dist/chunks/chat-box.1ac7555a.js.map +1 -0
- package/dist/chunks/chat-input.444c80bb.js +3 -0
- package/dist/chunks/chat-input.444c80bb.js.map +1 -0
- package/dist/chunks/chat-panel-welcome.2f7c6c8b.js +2 -0
- package/dist/chunks/chat-panel-welcome.2f7c6c8b.js.map +1 -0
- package/dist/chunks/chat-panel.3160f2e8.js +2 -0
- package/dist/chunks/chat-panel.3160f2e8.js.map +1 -0
- package/dist/chunks/{elevo-sidebar.fba49f67.js → elevo-sidebar.a1b4645a.js} +3 -3
- package/dist/chunks/{elevo-sidebar.fba49f67.js.map → elevo-sidebar.a1b4645a.js.map} +1 -1
- package/dist/chunks/main.638b1f10.js +2 -0
- package/dist/chunks/main.638b1f10.js.map +1 -0
- package/dist/chunks/space-logo.994f7a25.js +2 -0
- package/dist/chunks/space-logo.994f7a25.js.map +1 -0
- package/dist/chunks/space-workbench.572f4029.js +2 -0
- package/dist/chunks/space-workbench.572f4029.js.map +1 -0
- package/dist/examples.json +23 -20
- package/dist/images/09a19fbf.svg +4 -0
- package/dist/images/2da0514e.png +0 -0
- package/dist/images/2f7ddbac.svg +6 -0
- package/dist/images/33bca987.png +0 -0
- package/dist/images/9da11f86.png +0 -0
- package/dist/images/da88bb60.svg +12 -0
- package/dist/images/e15f6abd.svg +3 -0
- package/dist/index.ebd91b13.js +2 -0
- package/dist/index.ebd91b13.js.map +1 -0
- package/dist/manifest.json +514 -431
- package/dist/types.json +3796 -3032
- package/dist-types/bootstrap.d.ts +3 -0
- package/dist-types/chat-panel/ChatPanelContent.d.ts +22 -0
- package/dist-types/cruise-canvas/useConversationDetail.d.ts +2 -2
- package/dist-types/shared/interfaces.d.ts +10 -1
- package/dist-types/space-workbench/bricks.d.ts +23 -0
- package/dist-types/space-workbench/chat-panel-welcome/i18n.d.ts +14 -0
- package/dist-types/space-workbench/chat-panel-welcome/index.d.ts +13 -0
- package/dist-types/space-workbench/chat-panel-welcome/index.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/ActivityCard.d.ts +14 -0
- package/dist-types/space-workbench/components/ActivityCard.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/ActivityDetailModal.d.ts +13 -0
- package/dist-types/space-workbench/components/ActivityDetailModal.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/BusinessFlowPreview.d.ts +13 -0
- package/dist-types/space-workbench/components/BusinessFlowPreview.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/BusinessManage.d.ts +15 -0
- package/dist-types/space-workbench/components/BusinessManage.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/BusinessObjectPreview.d.ts +13 -0
- package/dist-types/space-workbench/components/BusinessObjectPreview.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/ConfigPreview.d.ts +14 -0
- package/dist-types/space-workbench/components/ConfigPreview.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/EmptyState.d.ts +15 -0
- package/dist-types/space-workbench/components/EmptyState.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/SpaceConfigModal/ConfigContext.d.ts +6 -0
- package/dist-types/space-workbench/components/SpaceConfigModal/SpaceConfigModal.d.ts +12 -0
- package/dist-types/space-workbench/components/SpaceConfigModal/SpaceConfigModal.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/SpaceConfigModal/utils.d.ts +3 -0
- package/dist-types/space-workbench/components/SpaceConfigModal/utils.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/SpaceGuide.d.ts +15 -0
- package/dist-types/space-workbench/components/SpaceGuide.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/SpaceNav.d.ts +23 -0
- package/dist-types/space-workbench/components/SpaceNav.spec.d.ts +1 -0
- package/dist-types/space-workbench/components/knowLedgesList.d.ts +8 -0
- package/dist-types/space-workbench/i18n.d.ts +69 -0
- package/dist-types/space-workbench/index.d.ts +20 -0
- package/dist-types/space-workbench/index.spec.d.ts +1 -0
- package/dist-types/space-workbench/interfaces.d.ts +124 -0
- package/dist-types/space-workbench/space-logo/index.d.ts +15 -0
- package/dist-types/space-workbench/space-logo/index.spec.d.ts +1 -0
- package/dist-types/space-workbench/workbenchContext.d.ts +8 -0
- package/docs/space-workbench.md +78 -0
- package/package.json +2 -2
- package/dist/chunks/1534.bcfa4c96.js +0 -2
- package/dist/chunks/1534.bcfa4c96.js.map +0 -1
- package/dist/chunks/3744.ed6d0719.js +0 -2
- package/dist/chunks/3840.6080d56e.js +0 -3
- package/dist/chunks/3840.6080d56e.js.map +0 -1
- package/dist/chunks/4208.a1a0dfdd.js +0 -2
- package/dist/chunks/4208.a1a0dfdd.js.map +0 -1
- package/dist/chunks/4228.ea602510.js +0 -2
- package/dist/chunks/5411.095a6093.js +0 -3
- package/dist/chunks/5411.095a6093.js.map +0 -1
- package/dist/chunks/6530.3c295a95.js +0 -2
- package/dist/chunks/6530.3c295a95.js.map +0 -1
- package/dist/chunks/chat-box.060b8727.js +0 -3
- package/dist/chunks/chat-box.060b8727.js.map +0 -1
- package/dist/chunks/chat-input.e913e9ed.js +0 -3
- package/dist/chunks/chat-input.e913e9ed.js.map +0 -1
- package/dist/chunks/chat-panel.3b7afbd5.js +0 -2
- package/dist/chunks/chat-panel.3b7afbd5.js.map +0 -1
- package/dist/chunks/main.04071e22.js +0 -2
- package/dist/chunks/main.04071e22.js.map +0 -1
- package/dist/index.6db15ca0.js +0 -2
- package/dist/index.6db15ca0.js.map +0 -1
- /package/dist/chunks/{3840.6080d56e.js.LICENSE.txt → 3573.7b0bb780.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5411.095a6093.js.LICENSE.txt → 4573.56d7bc95.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-box.060b8727.js.LICENSE.txt → chat-box.1ac7555a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-input.e913e9ed.js.LICENSE.txt → chat-input.444c80bb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{elevo-sidebar.fba49f67.js.LICENSE.txt → elevo-sidebar.a1b4645a.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/space-workbench.572f4029.js","mappings":"4KACe,SAASA,EAAoBC,EAAGC,EAAGC,GAChD,OAAOA,GAAE,OAAiBF,EAAGC,GAC/B,C,YCDAE,EAAOC,QAAU,SAAUC,EAAKC,GAI9B,OAHKA,IACHA,EAAU,CAAC,GAERD,GAGLA,EAAME,OAAOF,EAAIG,WAAaH,EAAII,QAAUJ,GAGxC,eAAeK,KAAKL,KACtBA,EAAMA,EAAIM,MAAM,GAAI,IAElBL,EAAQM,OACVP,GAAOC,EAAQM,MAKb,oBAAoBF,KAAKL,IAAQC,EAAQO,WACpC,IAAKC,OAAOT,EAAIU,QAAQ,KAAM,OAAOA,QAAQ,MAAO,OAAQ,KAE9DV,GAjBEA,CAkBX,C,kDCxBe,SAASW,EAA4BC,EAAKC,IACvD,OAA0BD,EAAKC,GAC/BA,EAAWC,IAAIF,EACjB,C,2TCaAG,EAAAA,EAAAA,gBAAeC,EAAAA,GAAIC,EAAAA,IACnBF,EAAAA,EAAAA,gBAAeG,EAAAA,GAAcC,EAAAA,GAE7B,MAAM,cAAEC,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,oBAAmB,IAAAC,EAAA,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,GAAA,IAAAF,QAAAG,GAAA,IAAAH,QAAAI,GAAA,IAAAC,QAAAC,GAAA,IAAAN,QAAAO,GAAA,IAAAP,QAAAQ,GAAA,IAAAR,QAAAS,GAAA,IAAAT,QAY9D,MAAAU,WAG6BC,EAAAA,iBAAgDC,WAAAA,GAAA,SAAAC,YAAA5B,EAAAA,EAAAA,GAAA,KAAAmB,KAAAU,EAAAA,EAAAA,GAAA,KAAAf,EAAAgB,EAAA,QAAAD,EAAAA,EAAAA,GAAA,KAAAb,GAAAe,EAAA,MAAAC,EAAA,SAAAH,EAAAA,EAAAA,GAAA,KAAAZ,IAAAgB,EAAA,MAAAC,EAAA,SAAAL,EAAAA,EAAAA,GAAA,KAAAX,IAAAiB,EAAA,MAAAC,EAAA,SAAAP,EAAAA,EAAAA,GAAA,KAAAR,IAAAgB,EAAA,MAAAC,EAAA,SAAAT,EAAAA,EAAAA,GAAA,KAAAP,IAAAiB,EAAA,MAAAC,EAAA,SAAAX,EAAAA,EAAAA,GAAA,KAAAN,IAAAkB,EAAA,MAAAC,EAAA,SAAAb,EAAAA,EAAAA,GAAA,KAAAL,IAAAmB,EAAA,MAAAC,EAAA,QAAAC,EAAA,iBAElEC,GAAO,OAAAC,EAAAA,EAAAA,GAAAjC,EAAA,iBAAPgC,CAAOE,IAAAC,EAAAA,EAAAA,GAAAnC,EAAA,KAAAkC,EAAA,gBAGPE,GAAW,OAAAH,EAAAA,EAAAA,GAAA/B,EAAA,qBAAXkC,CAAWF,IAAAC,EAAAA,EAAAA,GAAAjC,EAAA,KAAAgC,EAAA,oBAGXG,GAAe,OAAAJ,EAAAA,EAAAA,GAAA9B,GAAA,yBAAfkC,CAAeH,IAAAC,EAAAA,EAAAA,GAAAhC,GAAA,KAAA+B,EAAA,CAiBxBI,MAAAA,GACE,OACEC,IAAAA,cAACC,GAAuB,CACtBJ,YAAaK,KAAKL,YAClBJ,QAASS,KAAKT,QACdK,gBAAiBI,KAAKJ,gBACtBK,OAAQA,KAAMzE,EAAAA,EAAAA,GAAAoC,GAAAoC,KAAKE,GAAcC,OACjCC,eAAgBA,KAAM5E,EAAAA,EAAAA,GAAAoC,GAAAoC,KAAKK,GAAoBF,OAC/CG,cAAgBC,IAAW/E,EAAAA,EAAAA,GAAAoC,GAAAoC,KAAKQ,GAAmBL,KAAKI,GACxDE,cAAeA,KAAMjF,EAAAA,EAAAA,GAAAoC,GAAAoC,KAAKU,GAAmBP,OAC7CQ,YAAaA,KAAMnF,EAAAA,EAAAA,GAAAoC,GAAAoC,KAAKY,GAAiBT,QAG/C,EAWF,SAASJ,GAAwBc,GAC/B,MAAM,YACJlB,EAAW,QACXJ,EAAU,GAAE,gBACZK,EAAe,OACfK,EAAM,eACNG,EAAc,cACdK,EAAa,cACbH,EAAa,YACbK,GACEE,EAEJ,OACEf,IAAAA,cAAA,OAAKgB,UAAWC,EAAAA,EAAOC,WACrBlB,IAAAA,cAAA,OAAKgB,UAAWC,EAAAA,EAAOE,yBACrBnB,IAAAA,cAACoB,EAAAA,EAAQ,CACPvB,YAAaA,EACbC,gBAAiBA,EACjBL,QAASA,EACTU,OAAQA,EACRG,eAAgBA,EAChBK,cAAeA,EACfH,cAAeA,EACfK,YAAaA,IAEfb,IAAAA,cAACqB,EAAAA,EAAU,CAACxB,YAAaA,KAIjC,CAvCCyB,EAAAlD,KAAAmD,GAAA9C,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAqB,EAAAoB,EAAAxC,EAAAC,EAAAsB,EAAAkB,EAAAvC,EAAAC,EAAAuB,EAAAgB,EAAAtC,EAAAC,EAAAuB,EAAAe,EAAArC,EAAAC,EAAAuB,EAAAc,EAAApC,GAAAqC,GAAArE,EAAAsE,KAAAC,EAAAA,EAAAA,GAAAT,EAAA,CA1CAlE,EAAc,4BAA6B,CAC1C4E,eAAe,KACf,EAEC3E,EAAS,CAAE4E,WAAW,IAAQ,cAG9B5E,EAAS,CAAE4E,WAAW,IAAQ,kBAG9B5E,IAAU,sBAGVC,EAAM,CAAE4E,KAAM,YAAY,iBAAAC,IAAAzC,EAAAA,EAAAA,GAAA7B,GAAAsE,GAAA,CAAAA,EAAAxC,KAAAC,EAAAA,EAAAA,GAAA/B,GAAAsE,EAAAxC,IAAA,CAG1BrC,EAAM,CAAE4E,KAAM,kBAAkB,uBAAAC,IAAAzC,EAAAA,EAAAA,GAAA1B,GAAAmE,GAAA,CAAAA,EAAAxC,KAAAC,EAAAA,EAAAA,GAAA5B,GAAAmE,EAAAxC,IAAA,CAGhCrC,EAAM,CAAE4E,KAAM,iBAAiB,sBAAAC,IAAAzC,EAAAA,EAAAA,GAAAzB,GAAAkE,GAAA,CAAAA,EAAAxC,KAAAC,EAAAA,EAAAA,GAAA3B,GAAAkE,EAAAxC,IAAA,CAG/BrC,EAAM,CAAE4E,KAAM,kBAAkB,sBAAAC,IAAAzC,EAAAA,EAAAA,GAAAxB,GAAAiE,GAAA,CAAAA,EAAAxC,KAAAC,EAAAA,EAAAA,GAAA1B,GAAAiE,EAAAxC,IAAA,CAGhCrC,EAAM,CAAE4E,KAAM,eAAe,oBAAAC,IAAAzC,EAAAA,EAAAA,GAAAvB,GAAAgE,GAAA,CAAAA,EAAAxC,KAAAC,EAAAA,EAAAA,GAAAzB,GAAAgE,EAAAxC,KAAA,GAAAyC,GAAAtE,GAAAuE,KAAAC,EAAAA,EAAAA,GAAAF,KAtBH/D,EAAAA,mBAAgByD,G","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js","webpack:///../../node_modules/css-loader/dist/runtime/getUrl.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///./src/space-workbench/index.tsx"],"sourcesContent":["import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateGetter(s, r, a) {\n return a(assertClassBrand(s, r));\n}","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","// istanbul ignore file\nimport React from \"react\";\nimport { createDecorators, EventEmitter } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport \"@next-core/theme\";\nimport { initializeI18n } from \"@next-core/i18n\";\nimport { NS, locales } from \"./i18n.js\";\nimport {\n NS as ChatStreamNS,\n locales as ChatStreamLocales,\n} from \"../chat-stream/i18n.js\";\nimport styles from \"./styles.module.css\";\nimport type { NoticeItem } from \"../notice-dropdown/index.js\";\nimport { SpaceDetail } from \"./interfaces.js\";\nimport { SpaceNav } from \"./components/SpaceNav.js\";\nimport { SpaceGuide } from \"./components/SpaceGuide.js\";\n\ninitializeI18n(NS, locales);\ninitializeI18n(ChatStreamNS, ChatStreamLocales);\n\nconst { defineElement, property, event } = createDecorators();\n\nexport interface SpaceWorkbenchProps {\n notifyCenterUrl: string;\n spaceDetail: SpaceDetail;\n notices?: NoticeItem[];\n}\n\n/**\n * 构件 `ai-portal.space-workbench`\n */\nexport\n@defineElement(\"ai-portal.space-workbench\", {\n shadowOptions: false,\n})\nclass SpaceWorkbench extends ReactNextElement implements SpaceWorkbenchProps {\n @property({ attribute: false })\n accessor notices: NoticeItem[] | undefined;\n\n @property({ attribute: false })\n accessor spaceDetail!: SpaceDetail;\n\n @property()\n accessor notifyCenterUrl!: string;\n\n @event({ type: \"go.back\" })\n accessor #_goBackEvent!: EventEmitter<void>;\n\n @event({ type: \"members.click\" })\n accessor #_membersClickEvent!: EventEmitter<void>;\n\n @event({ type: \"notice.click\" })\n accessor #_noticeClickEvent!: EventEmitter<NoticeItem>;\n\n @event({ type: \"mark.all.read\" })\n accessor #_markAllReadEvent!: EventEmitter<void>;\n\n @event({ type: \"space.edit\" })\n accessor #_spaceEditEvent!: EventEmitter<void>;\n\n render() {\n return (\n <SpaceWorkbenchComponent\n spaceDetail={this.spaceDetail}\n notices={this.notices}\n notifyCenterUrl={this.notifyCenterUrl}\n onBack={() => this.#_goBackEvent.emit()}\n onMembersClick={() => this.#_membersClickEvent.emit()}\n onNoticeClick={(notice) => this.#_noticeClickEvent.emit(notice)}\n onMarkAllRead={() => this.#_markAllReadEvent.emit()}\n onSpaceEdit={() => this.#_spaceEditEvent.emit()}\n />\n );\n }\n}\n\ninterface SpaceWorkbenchComponentProps extends SpaceWorkbenchProps {\n onBack: () => void;\n onMembersClick: () => void;\n onMarkAllRead: () => void;\n onNoticeClick: (notice: NoticeItem) => void;\n onSpaceEdit: () => void;\n}\n\nfunction SpaceWorkbenchComponent(props: SpaceWorkbenchComponentProps) {\n const {\n spaceDetail,\n notices = [],\n notifyCenterUrl,\n onBack,\n onMembersClick,\n onMarkAllRead,\n onNoticeClick,\n onSpaceEdit,\n } = props;\n\n return (\n <div className={styles.container}>\n <div className={styles.spaceWorkbenchContainer}>\n <SpaceNav\n spaceDetail={spaceDetail}\n notifyCenterUrl={notifyCenterUrl}\n notices={notices}\n onBack={onBack}\n onMembersClick={onMembersClick}\n onMarkAllRead={onMarkAllRead}\n onNoticeClick={onNoticeClick}\n onSpaceEdit={onSpaceEdit}\n />\n <SpaceGuide spaceDetail={spaceDetail} />\n </div>\n </div>\n );\n}\n"],"names":["_classPrivateGetter","s","r","a","module","exports","url","options","String","__esModule","default","test","slice","hash","needQuotes","concat","replace","_classPrivateMethodInitSpec","obj","privateSet","add","initializeI18n","NS","locales","ChatStreamNS","ChatStreamLocales","defineElement","property","event","createDecorators","_SpaceWorkbench","_A","WeakMap","_B","_C","_D","_SpaceWorkbench_brand","WeakSet","_E","_F","_G","_H","SpaceWorkbench","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","_init_notices","_init_extra_notices","_init_spaceDetail","_init_extra_spaceDetail","_init_notifyCenterUrl","_init_extra_notifyCenterUrl","_init__goBackEvent","_init_extra__goBackEvent","_init__membersClickEvent","_init_extra__membersClickEvent","_init__noticeClickEvent","_init_extra__noticeClickEvent","_init__markAllReadEvent","_init_extra__markAllReadEvent","_init__spaceEditEvent","_init_extra__spaceEditEvent","notices","_classPrivateFieldGet","v","_classPrivateFieldSet","spaceDetail","notifyCenterUrl","render","React","SpaceWorkbenchComponent","this","onBack","_get__goBackEvent","emit","onMembersClick","_get__membersClickEvent","onNoticeClick","notice","_get__noticeClickEvent","onMarkAllRead","_get__markAllReadEvent","onSpaceEdit","_get__spaceEditEvent","props","className","styles","container","spaceWorkbenchContainer","SpaceNav","SpaceGuide","_SpaceWorkbench2","e","_set__goBackEvent","_set__membersClickEvent","_set__noticeClickEvent","_set__markAllReadEvent","_set__spaceEditEvent","c","_initClass","_applyDecs","shadowOptions","attribute","type","o","_","has","_checkInRHS"],"sourceRoot":""}
|
package/dist/examples.json
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
"ai-portal.chat-box": {
|
|
3
3
|
"doc": "构件 `ai-portal.chat-box`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-box\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-box>Hello world</ai-portal.chat-box>\n# \n```\n\n### With cruise canvas\n\n```yaml preview minHeight=\"600px\"\nbrick: div\nproperties:\n style:\n width: 100vw\n height: 100vh\n position: fixed\n top: 0\n left: 0\ncontext:\n - name: task\nchildren:\n - brick: ai-portal.chat-box\n if: <%= !CTX.task %>\n properties:\n style:\n position: absolute\n width: 500px\n maxWidth: 90vw\n maxHeight: 90vh\n top: 50%\n left: 50%\n transform: translate(-50%, -50%)\n events:\n message.submit:\n useProvider: basic.http-request\n args:\n - \"<% `${BASE_URL}/api/gateway/logic.llm.aiops_service/api/v1/llm/agent/flow/create` %>\"\n # - /api/mocks/task/send\n # - \"http://localhost:8888/.netlify/functions/task-send\"\n # - \"https://serverless-mocks.netlify.app/.netlify/functions/task-send\"\n - method: POST\n body: |\n <%\n JSON.stringify({\n input: EVENT.detail\n })\n %>\n headers:\n Content-Type: application/json\n callback:\n error:\n action: handleHttpError\n success:\n action: context.replace\n args:\n - task\n - <% EVENT.detail %>\n - brick: ai-portal.cruise-canvas\n if: <%= !!CTX.task %>\n properties:\n taskId: <% CTX.task.id %>\n# -- YAML DELIMITER (1nbbm8) --\n# <div style=\"width: 100vw; height: 100vh; position: fixed; top: 0; left: 0\">\n# <ai-portal.chat-box\n# style=\"\n# position: absolute;\n# width: 500px;\n# max-width: 90vw;\n# max-height: 90vh;\n# top: 50%;\n# left: 50%;\n# transform: translate(-50%, -50%);\n# \"\n# id=\"brick-1\"\n# ></ai-portal.chat-box>\n# <ai-portal.cruise-canvas\n# task-id=\"<% CTX.task.id %>\"\n# ></ai-portal.cruise-canvas>\n# </div>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.addEventListener(\"message.submit\", (e) => {\n# const provider = document.createElement(\"basic.http-request\");\n# const promise = Promise.resolve(\n# provider.resolve(\n# /* WARN: incompatible expressions in HTML, please try YAML: */\n# \"<% `${BASE_URL}/api/gateway/logic.llm.aiops_service/api/v1/llm/agent/flow/create` %>\",\n# {\n# method: \"POST\",\n# body: \"<%\\n JSON.stringify({\\n input: EVENT.detail\\n })\\n%>\\n\",\n# headers: { \"Content-Type\": \"application/json\" },\n# }\n# )\n# );\n# promise.then((r) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# promise.catch((r) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# });\n# </script>\n# \n```\n"
|
|
4
4
|
},
|
|
5
|
+
"ai-portal.home-container": {
|
|
6
|
+
"doc": "构件 `ai-portal.home-container`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>Hello world</ai-portal.home-container>\n# \n```\n"
|
|
7
|
+
},
|
|
8
|
+
"ai-portal.stat-with-mini-chart": {
|
|
9
|
+
"doc": "构件 `ai-portal.stat-with-mini-chart`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n\n### Size\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n size: small\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# size=\"small\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n"
|
|
10
|
+
},
|
|
5
11
|
"ai-portal.elevo-sidebar": {
|
|
6
12
|
"doc": "构件 `ai-portal.elevo-sidebar`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.elevo-sidebar\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.elevo-sidebar></ai-portal.elevo-sidebar>\n# \n```\n"
|
|
7
13
|
},
|
|
@@ -14,26 +20,20 @@
|
|
|
14
20
|
"ai-portal.mcp-tools": {
|
|
15
21
|
"doc": "构件 `ai-portal.mcp-tools`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.mcp-tools\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.mcp-tools>Hello world</ai-portal.mcp-tools>\n# \n```\n"
|
|
16
22
|
},
|
|
17
|
-
"ai-portal.
|
|
18
|
-
"doc": "构件 `ai-portal.
|
|
19
|
-
},
|
|
20
|
-
"ai-portal.ai-agents": {
|
|
21
|
-
"doc": "构件 `ai-portal.ai-agents`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.ai-agents\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.ai-agents>Hello world</ai-portal.ai-agents>\n# \n```\n"
|
|
23
|
+
"ai-portal.chat-stream": {
|
|
24
|
+
"doc": "构件 `ai-portal.chat-stream`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-stream\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-stream>Hello world</ai-portal.chat-stream>\n# \n```\n"
|
|
22
25
|
},
|
|
23
26
|
"ai-portal.ai-employees": {
|
|
24
27
|
"doc": "构件 `ai-portal.ai-employees`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.ai-employees\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.ai-employees>Hello world</ai-portal.ai-employees>\n# \n```\n"
|
|
25
28
|
},
|
|
26
|
-
"ai-portal.
|
|
27
|
-
"doc": "构件 `ai-portal.
|
|
28
|
-
},
|
|
29
|
-
"ai-portal.tab-list": {
|
|
30
|
-
"doc": "构件 `ai-portal.tab-list`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.tab-list\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.tab-list>Hello world</ai-portal.tab-list>\n# \n```\n"
|
|
29
|
+
"ai-portal.ai-agents": {
|
|
30
|
+
"doc": "构件 `ai-portal.ai-agents`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.ai-agents\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.ai-agents>Hello world</ai-portal.ai-agents>\n# \n```\n"
|
|
31
31
|
},
|
|
32
32
|
"ai-portal.page-container": {
|
|
33
33
|
"doc": "构件 `ai-portal.page-container`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.page-container\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.page-container>Hello world</ai-portal.page-container>\n# \n```\n"
|
|
34
34
|
},
|
|
35
|
-
"ai-portal.
|
|
36
|
-
"doc": "构件 `ai-portal.stat-with-mini-chart`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n\n### Size\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n size: small\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# size=\"small\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n"
|
|
35
|
+
"ai-portal.tab-list": {
|
|
36
|
+
"doc": "构件 `ai-portal.tab-list`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.tab-list\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.tab-list>Hello world</ai-portal.tab-list>\n# \n```\n"
|
|
37
37
|
},
|
|
38
38
|
"ai-portal.dropdown-select": {
|
|
39
39
|
"doc": "构件 `ai-portal.dropdown-select`\n\n下拉选择器组件,提供选项列表供用户选择,支持搜索过滤功能。\n\n## Examples\n\n### Basic\n\n基础用法,提供选项列表:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n options:\n - label: \"选项1\"\n value: \"option1\"\n - label: \"选项2\"\n value: \"option2\"\n - label: \"选项3\"\n value: \"option3\"\n value: \"option1\"\nevents:\n change:\n action: \"console.log\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select\n# value=\"option1\"\n# id=\"brick-1\"\n# ></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.options = [\n# {\n# label: \"选项1\",\n# value: \"option1\",\n# },\n# {\n# label: \"选项2\",\n# value: \"option2\",\n# },\n# {\n# label: \"选项3\",\n# value: \"option3\",\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n\n### With Search\n\n启用搜索功能:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n showSearch: true\n searchPlaceholder: \"请输入关键词搜索\"\n options:\n - label: \"北京市\"\n value: \"beijing\"\n - label: \"上海市\"\n value: \"shanghai\"\n - label: \"广州市\"\n value: \"guangzhou\"\n - label: \"深圳市\"\n value: \"shenzhen\"\n - label: \"杭州市\"\n value: \"hangzhou\"\nevents:\n change:\n action: \"console.log\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select show-search id=\"brick-1\"></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.searchPlaceholder = \"请输入关键词搜索\";\n# brick_1.options = [\n# {\n# label: \"北京市\",\n# value: \"beijing\",\n# },\n# {\n# label: \"上海市\",\n# value: \"shanghai\",\n# },\n# {\n# label: \"广州市\",\n# value: \"guangzhou\",\n# },\n# {\n# label: \"深圳市\",\n# value: \"shenzhen\",\n# },\n# {\n# label: \"杭州市\",\n# value: \"hangzhou\",\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n\n### Loading State\n\n加载状态显示:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n loading: true\n options:\n - label: \"加载中...\"\n value: \"loading\"\nevents:\n change:\n action: \"console.log\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select loading id=\"brick-1\"></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.options = [\n# {\n# label: \"加载中...\",\n# value: \"loading\",\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n\n### Custom Width\n\n自定义标签和下拉框宽度:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n labelMaxWidth: \"150px\"\n dropdownMaxWidth: \"300px\"\n options:\n - label: \"这是一个很长的选项标签文本\"\n value: \"long-option\"\n - label: \"短选项\"\n value: \"short\"\n - label: \"中等长度的选项\"\n value: \"medium\"\n value: \"long-option\"\nevents:\n change:\n action: \"console.log\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select\n# value=\"long-option\"\n# id=\"brick-1\"\n# ></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.labelMaxWidth = \"150px\";\n# brick_1.dropdownMaxWidth = \"300px\";\n# brick_1.options = [\n# {\n# label: \"这是一个很长的选项标签文本\",\n# value: \"long-option\",\n# },\n# {\n# label: \"短选项\",\n# value: \"short\",\n# },\n# {\n# label: \"中等长度的选项\",\n# value: \"medium\",\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n\n### With Disabled Options\n\n包含禁用选项:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n options:\n - label: \"可用选项1\"\n value: \"enabled1\"\n - label: \"禁用选项\"\n value: \"disabled1\"\n disabled: true\n - label: \"可用选项2\"\n value: \"enabled2\"\n - label: \"禁用选项2\"\n value: \"disabled2\"\n disabled: true\nevents:\n change:\n action: \"console.log\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select id=\"brick-1\"></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.options = [\n# {\n# label: \"可用选项1\",\n# value: \"enabled1\",\n# },\n# {\n# label: \"禁用选项\",\n# value: \"disabled1\",\n# disabled: true,\n# },\n# {\n# label: \"可用选项2\",\n# value: \"enabled2\",\n# },\n# {\n# label: \"禁用选项2\",\n# value: \"disabled2\",\n# disabled: true,\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n\n### Complex Example\n\n综合示例,包含所有功能:\n\n```yaml preview\nbrick: ai-portal.dropdown-select\nproperties:\n value: \"frontend\"\n showSearch: true\n searchPlaceholder: \"搜索技术栈\"\n labelMaxWidth: \"200px\"\n dropdownMaxWidth: \"400px\"\n options:\n - label: \"前端开发 - React\"\n value: \"frontend\"\n - label: \"后端开发 - Node.js\"\n value: \"backend\"\n - label: \"移动开发 - React Native\"\n value: \"mobile\"\n - label: \"数据库 - MongoDB\"\n value: \"database\"\n - label: \"DevOps - Docker\"\n value: \"devops\"\n disabled: true\n - label: \"机器学习 - Python\"\n value: \"ml\"\n - label: \"云计算 - AWS\"\n value: \"cloud\"\nevents:\n change:\n - action: \"console.log\"\n args:\n - \"选择了:\"\n - \"<% EVENT.detail %>\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.dropdown-select\n# value=\"frontend\"\n# show-search\n# id=\"brick-1\"\n# ></ai-portal.dropdown-select>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.searchPlaceholder = \"搜索技术栈\";\n# brick_1.labelMaxWidth = \"200px\";\n# brick_1.dropdownMaxWidth = \"400px\";\n# brick_1.options = [\n# {\n# label: \"前端开发 - React\",\n# value: \"frontend\",\n# },\n# {\n# label: \"后端开发 - Node.js\",\n# value: \"backend\",\n# },\n# {\n# label: \"移动开发 - React Native\",\n# value: \"mobile\",\n# },\n# {\n# label: \"数据库 - MongoDB\",\n# value: \"database\",\n# },\n# {\n# label: \"DevOps - Docker\",\n# value: \"devops\",\n# disabled: true,\n# },\n# {\n# label: \"机器学习 - Python\",\n# value: \"ml\",\n# },\n# {\n# label: \"云计算 - AWS\",\n# value: \"cloud\",\n# },\n# ];\n# brick_1.addEventListener(\"change\", (e) => {\n# console.log(\"选择了:\", e.detail);\n# });\n# </script>\n# \n```\n"
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"ai-portal.action-buttons": {
|
|
45
45
|
"doc": "构件 `ai-portal.action-buttons`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-box\nchildren:\n - brick: ai-portal.action-buttons\n properties:\n items:\n - event: think\n text: 深度思考\n icon:\n - lib: antd\n theme: outlined\n icon: reddit\n - event: networking\n text: 联网搜索\n icon:\n lib: antd\n theme: outlined\n icon: global\n events:\n think:\n action: console.log\n networking:\n action: console.log\n slot: actions\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-box>\n# <ai-portal.action-buttons\n# slot=\"actions\"\n# id=\"brick-1\"\n# ></ai-portal.action-buttons>\n# </ai-portal.chat-box>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.items = [\n# {\n# event: \"think\",\n# text: \"深度思考\",\n# icon: [\n# {\n# lib: \"antd\",\n# theme: \"outlined\",\n# icon: \"reddit\",\n# },\n# ],\n# },\n# {\n# event: \"networking\",\n# text: \"联网搜索\",\n# icon: {\n# lib: \"antd\",\n# theme: \"outlined\",\n# icon: \"global\",\n# },\n# },\n# ];\n# brick_1.addEventListener(\"think\", (e) => {\n# console.log(e.detail);\n# });\n# brick_1.addEventListener(\"networking\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n"
|
|
46
46
|
},
|
|
47
|
-
"ai-portal.project-conversations": {
|
|
48
|
-
"doc": "构件 `ai-portal.project-conversations`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.project-conversations\nproperties:\n list:\n - conversationId: \"conv-a\"\n title: 标题一\n description: 这是一段描述\n startTime: 1757904096\n goal: GOAL0005\n - conversationId: \"conv-b\"\n title: 标题二\n startTime: 1757863597\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-conversations id=\"brick-1\"></ai-portal.project-conversations>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# conversationId: \"conv-a\",\n# title: \"标题一\",\n# description: \"这是一段描述\",\n# startTime: 1757904096,\n# goal: \"GOAL0005\",\n# },\n# {\n# conversationId: \"conv-b\",\n# title: \"标题二\",\n# startTime: 1757863597,\n# },\n# ];\n# </script>\n# \n```\n\n### Loading\n\n```yaml preview\nbrick: ai-portal.project-conversations\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-conversations></ai-portal.project-conversations>\n# \n```\n"
|
|
49
|
-
},
|
|
50
47
|
"ai-portal.goal-card-list": {
|
|
51
48
|
"doc": "构件 `ai-portal.goal-card-list`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.goal-card-list\nproperties:\n style:\n width: 600px\n goalList:\n - title: 页面流程绘制\n index: 100124\n state: ready\n instanceId: abc1\n conversations:\n - 会话1\n - 会话2\n - 会话3\n - title: 原型与设计绘制\n index: 100125\n state: working\n instanceId: bdc9\n conversations:\n - 会话4\n - title: 设计稿绘制\n index: 100126\n state: completed\n instanceId: d76a\n conversations:\n - 会话5\n - 会话6\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.goal-card-list\n# style=\"width: 600px\"\n# id=\"brick-1\"\n# ></ai-portal.goal-card-list>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.goalList = [\n# {\n# title: \"页面流程绘制\",\n# index: 100124,\n# state: \"ready\",\n# instanceId: \"abc1\",\n# conversations: [\"会话1\", \"会话2\", \"会话3\"],\n# },\n# {\n# title: \"原型与设计绘制\",\n# index: 100125,\n# state: \"working\",\n# instanceId: \"bdc9\",\n# conversations: [\"会话4\"],\n# },\n# {\n# title: \"设计稿绘制\",\n# index: 100126,\n# state: \"completed\",\n# instanceId: \"d76a\",\n# conversations: [\"会话5\", \"会话6\"],\n# },\n# ];\n# </script>\n# \n```\n"
|
|
52
49
|
},
|
|
50
|
+
"ai-portal.project-conversations": {
|
|
51
|
+
"doc": "构件 `ai-portal.project-conversations`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.project-conversations\nproperties:\n list:\n - conversationId: \"conv-a\"\n title: 标题一\n description: 这是一段描述\n startTime: 1757904096\n goal: GOAL0005\n - conversationId: \"conv-b\"\n title: 标题二\n startTime: 1757863597\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-conversations id=\"brick-1\"></ai-portal.project-conversations>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# conversationId: \"conv-a\",\n# title: \"标题一\",\n# description: \"这是一段描述\",\n# startTime: 1757904096,\n# goal: \"GOAL0005\",\n# },\n# {\n# conversationId: \"conv-b\",\n# title: \"标题二\",\n# startTime: 1757863597,\n# },\n# ];\n# </script>\n# \n```\n\n### Loading\n\n```yaml preview\nbrick: ai-portal.project-conversations\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-conversations></ai-portal.project-conversations>\n# \n```\n"
|
|
52
|
+
},
|
|
53
53
|
"ai-portal.project-knowledges": {
|
|
54
54
|
"doc": "构件 `ai-portal.project-knowledges`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.project-knowledges\nproperties:\n list:\n - knowledgeId: \"knowledge-a\"\n title: 标题一\n description: 这是一段描述\n time: 1757904096\n - knowledgeId: \"knowledge-b\"\n title: 标题二\n time: 1757863597\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-knowledges id=\"brick-1\"></ai-portal.project-knowledges>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# knowledgeId: \"knowledge-a\",\n# title: \"标题一\",\n# description: \"这是一段描述\",\n# time: 1757904096,\n# },\n# {\n# knowledgeId: \"knowledge-b\",\n# title: \"标题二\",\n# time: 1757863597,\n# },\n# ];\n# </script>\n# \n```\n\n### Loading\n\n```yaml preview\nbrick: ai-portal.project-knowledges\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.project-knowledges></ai-portal.project-knowledges>\n# \n```\n"
|
|
55
55
|
},
|
|
@@ -77,19 +77,22 @@
|
|
|
77
77
|
"ai-portal.flow-tabs": {
|
|
78
78
|
"doc": "构件 `ai-portal.flow-tabs`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nchildren:\n - brick: ai-portal.flow-tabs\n properties:\n textContent: Hello world\n tabs:\n - id: foo\n label: Fooooo\n - id: bar\n label: Baaaaar\n - id: baz\n label: Baaaaaz\n activeTab: foo\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>\n# <ai-portal.flow-tabs id=\"brick-1\">Hello world</ai-portal.flow-tabs>\n# </ai-portal.home-container>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.tabs = [\n# {\n# id: \"foo\",\n# label: \"Fooooo\",\n# },\n# {\n# id: \"bar\",\n# label: \"Baaaaar\",\n# },\n# {\n# id: \"baz\",\n# label: \"Baaaaaz\",\n# },\n# ];\n# brick_1.activeTab = \"foo\";\n# </script>\n# \n```\n"
|
|
79
79
|
},
|
|
80
|
-
"ai-portal.stage-flow": {
|
|
81
|
-
"doc": "构件 `ai-portal.stage-flow`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nchildren:\n - brick: ai-portal.flow-tabs\n properties:\n tabs:\n - id: foo\n label: Fooooo\n - id: bar\n label: Baaaaar\n - id: baz\n label: Baaaaaz\n activeTab: foo\n children:\n - brick: ai-portal.stage-flow\n properties:\n spec:\n - name: Requirement\n serviceFlowActivities:\n - name: Requirement collects\n aiEmployeeId: Samuel\n - name: Requirement documents\n aiEmployeeId: Samuel\n - name: Sprint Planning\n # - name: Development\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>\n# <ai-portal.flow-tabs id=\"brick-1\">\n# <ai-portal.stage-flow id=\"brick-2\"></ai-portal.stage-flow>\n# </ai-portal.flow-tabs>\n# </ai-portal.home-container>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.tabs = [\n# {\n# id: \"foo\",\n# label: \"Fooooo\",\n# },\n# {\n# id: \"bar\",\n# label: \"Baaaaar\",\n# },\n# {\n# id: \"baz\",\n# label: \"Baaaaaz\",\n# },\n# ];\n# brick_1.activeTab = \"foo\";\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.spec = [\n# {\n# name: \"Requirement\",\n# serviceFlowActivities: [\n# {\n# name: \"Requirement collects\",\n# aiEmployeeId: \"Samuel\",\n# },\n# {\n# name: \"Requirement documents\",\n# aiEmployeeId: \"Samuel\",\n# },\n# ],\n# },\n# {\n# name: \"Sprint Planning\",\n# },\n# ];\n# </script>\n# \n```\n"
|
|
82
|
-
},
|
|
83
80
|
"ai-portal.running-flow": {
|
|
84
81
|
"doc": "构件 `ai-portal.running-flow`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.running-flow\nproperties:\n spec:\n - name: Requirement\n serviceFlowActivities:\n - name: Requirement collects\n state: completed\n - name: Requirement documents\n state: input-required\n - name: Sprint Planning\n serviceFlowActivities:\n - name: planning\n state: working\n - name: sprinting\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.running-flow id=\"brick-1\"></ai-portal.running-flow>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.spec = [\n# {\n# name: \"Requirement\",\n# serviceFlowActivities: [\n# {\n# name: \"Requirement collects\",\n# state: \"completed\",\n# },\n# {\n# name: \"Requirement documents\",\n# state: \"input-required\",\n# },\n# ],\n# },\n# {\n# name: \"Sprint Planning\",\n# serviceFlowActivities: [\n# {\n# name: \"planning\",\n# state: \"working\",\n# },\n# {\n# name: \"sprinting\",\n# },\n# ],\n# },\n# ];\n# </script>\n# \n```\n"
|
|
85
82
|
},
|
|
83
|
+
"ai-portal.notice-dropdown": {
|
|
84
|
+
"doc": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表。支持自定义触发器、消息列表展示、空状态、以及交互事件。\n\n## Examples\n\n### 基础使用(带消息列表)\n\n```yaml preview\nbrick: ai-portal.notice-dropdown\nproperties:\n dataSource:\n - id: \"msg-1\"\n isRead: false\n type: \"project\"\n title: \"协作流【研发设计】已完成【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布\"\n - id: \"msg-2\"\n isRead: false\n title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\"\n type: \"space\"\n - id: \"msg-3\"\n type: \"account\"\n isRead: true\n title: \"【项目协作功能】已发布\"\n - id: \"msg-4\"\n type: \"system\"\n isRead: true\n title: \"Samuel在项目【项目A】@了你\"\n - id: \"msg-2\"\n type: \"account\"\n isRead: false\n title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\"\n - id: \"msg-3\"\n type: \"system\"\n isRead: true\n title: \"【项目协作功能】已发布\"\n - id: \"msg-4\"\n type: \"project\"\n isRead: true\n title: \"Samuel在项目【项目A】@了你\"\n - id: \"msg-2\"\n type: \"space\"\n isRead: false\n title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\"\n - id: \"msg-3\"\n type: \"space\"\n isRead: true\n title: \"【项目协作功能】已发布\"\n - id: \"msg-4\"\n type: \"system\"\n isRead: true\n title: \"Samuel在项目【项目A】@了你\"\n\nevents:\n notice.click:\n action: console.log\n args:\n - \"点击了消息:\"\n - \"<% EVENT.detail %>\"\n mark.all.read:\n action: console.log\n args:\n - \"点击了全部已读\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.notice-dropdown id=\"brick-1\"></ai-portal.notice-dropdown>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.dataSource = [\n# {\n# id: \"msg-1\",\n# isRead: false,\n# type: \"project\",\n# title:\n# \"协作流【研发设计】已完成【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布\",\n# },\n# {\n# id: \"msg-2\",\n# isRead: false,\n# title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\",\n# type: \"space\",\n# },\n# {\n# id: \"msg-3\",\n# type: \"account\",\n# isRead: true,\n# title: \"【项目协作功能】已发布\",\n# },\n# {\n# id: \"msg-4\",\n# type: \"system\",\n# isRead: true,\n# title: \"Samuel在项目【项目A】@了你\",\n# },\n# {\n# id: \"msg-2\",\n# type: \"account\",\n# isRead: false,\n# title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\",\n# },\n# {\n# id: \"msg-3\",\n# type: \"system\",\n# isRead: true,\n# title: \"【项目协作功能】已发布\",\n# },\n# {\n# id: \"msg-4\",\n# type: \"project\",\n# isRead: true,\n# title: \"Samuel在项目【项目A】@了你\",\n# },\n# {\n# id: \"msg-2\",\n# type: \"space\",\n# isRead: false,\n# title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\",\n# },\n# {\n# id: \"msg-3\",\n# type: \"space\",\n# isRead: true,\n# title: \"【项目协作功能】已发布\",\n# },\n# {\n# id: \"msg-4\",\n# type: \"system\",\n# isRead: true,\n# title: \"Samuel在项目【项目A】@了你\",\n# },\n# ];\n# brick_1.addEventListener(\"notice.click\", (e) => {\n# console.log(\"点击了消息:\", e.detail);\n# });\n# brick_1.addEventListener(\"mark.all.read\", (e) => {\n# console.log(\"点击了全部已读\");\n# });\n# </script>\n# \n```\n\n### 空状态\n\n```yaml preview\nbrick: ai-portal.notice-dropdown\nproperties:\n dataSource: []\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.notice-dropdown id=\"brick-1\"></ai-portal.notice-dropdown>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.dataSource = [];\n# </script>\n# \n```\n\n### 自定义触发器(使用 eo-button)\n\n```yaml preview\nbrick: ai-portal.notice-dropdown\nproperties:\n dataSource:\n - id: \"msg-1\"\n isRead: false\n type: \"project\"\n title: \"协作流【研发设计】已完成\"\n - id: \"msg-2\"\n isRead: false\n type: \"space\"\n title: \"协作流【协作流名称】需要人工确认\"\n - id: \"msg-3\"\n type: \"account\"\n isRead: true\n title: \"【项目协作功能】已发布\"\nchildren:\n - brick: eo-button\n slot: trigger\n properties:\n type: primary\n icon:\n lib: \"antd\"\n icon: \"bell\"\n textContent: \"查看通知\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.notice-dropdown id=\"brick-1\">\n# <eo-button slot=\"trigger\" type=\"primary\" icon=\"[object Object]\">\n# 查看通知\n# </eo-button>\n# </ai-portal.notice-dropdown>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.dataSource = [\n# {\n# id: \"msg-1\",\n# isRead: false,\n# type: \"project\",\n# title: \"协作流【研发设计】已完成\",\n# },\n# {\n# id: \"msg-2\",\n# isRead: false,\n# type: \"space\",\n# title: \"协作流【协作流名称】需要人工确认\",\n# },\n# {\n# id: \"msg-3\",\n# type: \"account\",\n# isRead: true,\n# title: \"【项目协作功能】已发布\",\n# },\n# ];\n# </script>\n# \n```\n"
|
|
85
|
+
},
|
|
86
|
+
"ai-portal.stage-flow": {
|
|
87
|
+
"doc": "构件 `ai-portal.stage-flow`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nchildren:\n - brick: ai-portal.flow-tabs\n properties:\n tabs:\n - id: foo\n label: Fooooo\n - id: bar\n label: Baaaaar\n - id: baz\n label: Baaaaaz\n activeTab: foo\n children:\n - brick: ai-portal.stage-flow\n properties:\n spec:\n - name: Requirement\n serviceFlowActivities:\n - name: Requirement collects\n aiEmployeeId: Samuel\n - name: Requirement documents\n aiEmployeeId: Samuel\n - name: Sprint Planning\n # - name: Development\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>\n# <ai-portal.flow-tabs id=\"brick-1\">\n# <ai-portal.stage-flow id=\"brick-2\"></ai-portal.stage-flow>\n# </ai-portal.flow-tabs>\n# </ai-portal.home-container>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.tabs = [\n# {\n# id: \"foo\",\n# label: \"Fooooo\",\n# },\n# {\n# id: \"bar\",\n# label: \"Baaaaar\",\n# },\n# {\n# id: \"baz\",\n# label: \"Baaaaaz\",\n# },\n# ];\n# brick_1.activeTab = \"foo\";\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.spec = [\n# {\n# name: \"Requirement\",\n# serviceFlowActivities: [\n# {\n# name: \"Requirement collects\",\n# aiEmployeeId: \"Samuel\",\n# },\n# {\n# name: \"Requirement documents\",\n# aiEmployeeId: \"Samuel\",\n# },\n# ],\n# },\n# {\n# name: \"Sprint Planning\",\n# },\n# ];\n# </script>\n# \n```\n"
|
|
88
|
+
},
|
|
86
89
|
"ai-portal.notice-list": {
|
|
87
90
|
"doc": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,支持批量操作功能。\n\n## Examples\n\n### Basic\n\n基础用法,展示消息列表。\n\n```yaml preview\nbrick: ai-portal.notice-list\nproperties:\n dataSource:\n - id: \"1\"\n type: \"project\"\n isRead: true\n title: \"协作流【研发设计】已完成\"\n time: 1761207261887\n - id: \"2\"\n type: \"account\"\n isRead: true\n title: \"您的账户资源配额即将达到限制\"\n time: 1761812267887\n - id: \"3\"\n type: \"system\"\n isRead: false\n title: \"服务通知:服务维护\"\n time: 1761818247887\n - id: \"4\"\n type: \"space\"\n isRead: false\n title: \"Luna 在项目【系统资源收集】中@了你\"\n time: 1761820851887\n - id: \"5\"\n type: \"project\"\n isRead: false\n title: \"协作流【设计规范】已完成\"\n time: 1761821891887\nevents:\n notice.click:\n - action: console.log\n args:\n - \"消息点击:\"\n - <% EVENT.detail %>\n mark.items.read:\n - action: console.log\n args:\n - \"消息已读:\"\n - <% EVENT.detail %>\n mark.all.read:\n - action: console.log\n args:\n - \"全部已读\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.notice-list id=\"brick-1\"></ai-portal.notice-list>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.dataSource = [\n# {\n# id: \"1\",\n# type: \"project\",\n# isRead: true,\n# title: \"协作流【研发设计】已完成\",\n# time: 1761207261887,\n# },\n# {\n# id: \"2\",\n# type: \"account\",\n# isRead: true,\n# title: \"您的账户资源配额即将达到限制\",\n# time: 1761812267887,\n# },\n# {\n# id: \"3\",\n# type: \"system\",\n# isRead: false,\n# title: \"服务通知:服务维护\",\n# time: 1761818247887,\n# },\n# {\n# id: \"4\",\n# type: \"space\",\n# isRead: false,\n# title: \"Luna 在项目【系统资源收集】中@了你\",\n# time: 1761820851887,\n# },\n# {\n# id: \"5\",\n# type: \"project\",\n# isRead: false,\n# title: \"协作流【设计规范】已完成\",\n# time: 1761821891887,\n# },\n# ];\n# brick_1.addEventListener(\"notice.click\", (e) => {\n# console.log(\"消息点击:\", e.detail);\n# });\n# brick_1.addEventListener(\"mark.items.read\", (e) => {\n# console.log(\"消息已读:\", e.detail);\n# });\n# brick_1.addEventListener(\"mark.all.read\", (e) => {\n# console.log(\"全部已读\");\n# });\n# </script>\n# \n```\n\n### Empty State\n\n空状态展示,可以自定义空状态文案。\n\n```yaml preview\nbrick: ai-portal.notice-list\nproperties:\n dataSource: []\n emptyText: \"暂无新消息通知\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.notice-list\n# empty-text=\"暂无新消息通知\"\n# id=\"brick-1\"\n# ></ai-portal.notice-list>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.dataSource = [];\n# </script>\n# \n```\n"
|
|
88
91
|
},
|
|
89
92
|
"ai-portal.chat-panel": {
|
|
90
93
|
"doc": "构件 `ai-portal.chat-panel`\n\n## 介绍\n\n弹出式 AI 对话面板,提供一个模态框样式的聊天界面,支持与 AI 助手进行对话交互。\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-button\n properties:\n themeVariant: elevo\n textContent: 打开对话面板\n events:\n click:\n target: \"#chatPanel\"\n method: open\n- brick: ai-portal.chat-panel\n properties:\n id: chatPanel\n width: 600\n height: 800\n panelTitle: AI 助手\n placeholder: 请输入您的问题...\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-button theme-variant=\"elevo\" id=\"brick-1\">打开对话面板</eo-button>\n# <ai-portal.chat-panel\n# panel-title=\"AI 助手\"\n# placeholder=\"请输入您的问题...\"\n# id=\"chatPanel\"\n# ></ai-portal.chat-panel>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.addEventListener(\"click\", (e) => {\n# const brick = document.querySelector(\"#chatPanel\");\n# brick.open();\n# });\n# \n# const chatPanel = document.getElementById(\"chatPanel\");\n# chatPanel.width = 600;\n# chatPanel.height = 800;\n# </script>\n# \n```\n"
|
|
91
94
|
},
|
|
92
|
-
"ai-portal.
|
|
93
|
-
"doc": "构件 `ai-portal.
|
|
95
|
+
"ai-portal.space-workbench": {
|
|
96
|
+
"doc": "构件 `ai-portal.space-workbench`\n\n空间工作台构件,用于展示空间的顶部导航栏,包括空间信息、成员管理、消息通知等功能。\n\n## Examples\n\n### 基础使用\n\n```yaml preview\nbrick: ai-portal.space-workbench\nproperties:\n spaceDetail:\n name: \"产品设计空间\"\n instanceId: \"space-001\"\n description: \"这是一个用于产品设计协作的空间\"\n notifyCenterUrl: \"/notify-center\"\n notices:\n - id: \"msg-1\"\n isRead: false\n type: \"project\"\n title: \"协作流【研发设计】已完成\"\n - id: \"msg-2\"\n isRead: false\n type: \"space\"\n title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\"\n - id: \"msg-3\"\n type: \"account\"\n isRead: true\n title: \"【项目协作功能】已发布\"\nevents:\n go.back:\n action: console.log\n args:\n - \"点击了返回按钮\"\n members.click:\n action: console.log\n args:\n - \"点击了成员按钮\"\n notice.click:\n action: console.log\n args:\n - \"点击了消息:\"\n - \"<% EVENT.detail %>\"\n mark.all.read:\n action: console.log\n args:\n - \"点击了全部已读\"\n space.edit:\n action: console.log\n args:\n - \"点击了编辑空间\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.space-workbench\n# notify-center-url=\"/notify-center\"\n# id=\"brick-1\"\n# ></ai-portal.space-workbench>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.spaceDetail = {\n# name: \"产品设计空间\",\n# instanceId: \"space-001\",\n# description: \"这是一个用于产品设计协作的空间\",\n# };\n# brick_1.notices = [\n# {\n# id: \"msg-1\",\n# isRead: false,\n# type: \"project\",\n# title: \"协作流【研发设计】已完成\",\n# },\n# {\n# id: \"msg-2\",\n# isRead: false,\n# type: \"space\",\n# title: \"协作流【协作流名称】 - 【活动名称】需要人工确认\",\n# },\n# {\n# id: \"msg-3\",\n# type: \"account\",\n# isRead: true,\n# title: \"【项目协作功能】已发布\",\n# },\n# ];\n# brick_1.addEventListener(\"go.back\", (e) => {\n# console.log(\"点击了返回按钮\");\n# });\n# brick_1.addEventListener(\"members.click\", (e) => {\n# console.log(\"点击了成员按钮\");\n# });\n# brick_1.addEventListener(\"notice.click\", (e) => {\n# console.log(\"点击了消息:\", e.detail);\n# });\n# brick_1.addEventListener(\"mark.all.read\", (e) => {\n# console.log(\"点击了全部已读\");\n# });\n# brick_1.addEventListener(\"space.edit\", (e) => {\n# console.log(\"点击了编辑空间\");\n# });\n# </script>\n# \n```\n\n### 无消息通知\n\n```yaml preview\nbrick: ai-portal.space-workbench\nproperties:\n spaceDetail:\n name: \"研发协作空间\"\n instanceId: \"space-002\"\n description: \"研发团队的协作空间\"\n notifyCenterUrl: \"/notify-center\"\n notices: []\nevents:\n go.back:\n action: console.log\n args:\n - \"返回\"\n members.click:\n action: console.log\n args:\n - \"查看成员\"\n space.edit:\n action: console.log\n args:\n - \"编辑空间\"\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.space-workbench\n# notify-center-url=\"/notify-center\"\n# id=\"brick-1\"\n# ></ai-portal.space-workbench>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.spaceDetail = {\n# name: \"研发协作空间\",\n# instanceId: \"space-002\",\n# description: \"研发团队的协作空间\",\n# };\n# brick_1.notices = [];\n# brick_1.addEventListener(\"go.back\", (e) => {\n# console.log(\"返回\");\n# });\n# brick_1.addEventListener(\"members.click\", (e) => {\n# console.log(\"查看成员\");\n# });\n# brick_1.addEventListener(\"space.edit\", (e) => {\n# console.log(\"编辑空间\");\n# });\n# </script>\n# \n```\n"
|
|
94
97
|
}
|
|
95
98
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8 4.66669V14" stroke="#009966" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M2.00016 12C1.82335 12 1.65378 11.9298 1.52876 11.8047C1.40373 11.6797 1.3335 11.5101 1.3335 11.3333V2.66667C1.3335 2.48986 1.40373 2.32029 1.52876 2.19526C1.65378 2.07024 1.82335 2 2.00016 2H5.3335C6.04074 2 6.71902 2.28095 7.21911 2.78105C7.71921 3.28115 8.00016 3.95942 8.00016 4.66667C8.00016 3.95942 8.28111 3.28115 8.78121 2.78105C9.28131 2.28095 9.95958 2 10.6668 2H14.0002C14.177 2 14.3465 2.07024 14.4716 2.19526C14.5966 2.32029 14.6668 2.48986 14.6668 2.66667V11.3333C14.6668 11.5101 14.5966 11.6797 14.4716 11.8047C14.3465 11.9298 14.177 12 14.0002 12H10.0002C9.46973 12 8.96102 12.2107 8.58595 12.5858C8.21088 12.9609 8.00016 13.4696 8.00016 14C8.00016 13.4696 7.78945 12.9609 7.41438 12.5858C7.0393 12.2107 6.5306 12 6.00016 12H2.00016Z" stroke="#009966" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6.125 7C6.125 7.69619 6.40156 8.36387 6.89384 8.85616C7.38613 9.34844 8.05381 9.625 8.75 9.625C9.44619 9.625 10.1139 9.34844 10.6062 8.85616C11.0984 8.36387 11.375 7.69619 11.375 7C11.375 6.30381 11.0984 5.63613 10.6062 5.14384C10.1139 4.65156 9.44619 4.375 8.75 4.375C8.05381 4.375 7.38613 4.65156 6.89384 5.14384C6.40156 5.63613 6.125 6.30381 6.125 7Z" fill="white"/>
|
|
3
|
+
<path d="M17.5 7C17.5 7.69619 17.7766 8.36387 18.2688 8.85616C18.7611 9.34844 19.4288 9.625 20.125 9.625C20.8212 9.625 21.4889 9.34844 21.9812 8.85616C22.4734 8.36387 22.75 7.69619 22.75 7C22.75 6.30381 22.4734 5.63613 21.9812 5.14384C21.4889 4.65156 20.8212 4.375 20.125 4.375C19.4288 4.375 18.7611 4.65156 18.2688 5.14384C17.7766 5.63613 17.5 6.30381 17.5 7Z" fill="white"/>
|
|
4
|
+
<path d="M20.8372 10.5C22.6397 10.5 24.892 12.5195 24.4422 15.5488C23.9916 18.5763 20.3866 23.625 16.7816 23.625H11.375C15.4297 23.625 19.4854 17.0625 19.4854 14.0333C19.4854 11.0049 17.2323 10.5 17.2323 10.5H20.8372ZM11.767 13.769C13.0121 13.769 14.1601 12.6752 13.4645 11.6427C13.2346 11.2938 12.9223 11.007 12.555 10.8076C12.1878 10.6083 11.7771 10.5026 11.3593 10.5H7C7.48913 10.5 8.19525 10.906 8.72375 11.6077C9.49463 12.6315 10.486 13.769 11.767 13.769Z" fill="white" fill-opacity="0.6"/>
|
|
5
|
+
<path d="M16.233 13.769C14.9879 13.769 13.8399 12.6752 14.5355 11.6427C14.7653 11.2939 15.0775 11.0072 15.4446 10.8078C15.8116 10.6085 16.2222 10.5028 16.6399 10.5H21C20.5109 10.5 19.8048 10.906 19.2763 11.6077C18.5054 12.6315 17.514 13.769 16.233 13.769ZM7.16275 10.5C5.36025 10.5 3.108 12.5195 3.55775 15.5488C4.00925 18.5763 7.61338 23.625 11.2184 23.625H16.625C12.5703 23.625 8.51463 17.0625 8.51463 14.0333C8.51463 11.0049 10.7678 10.5 10.7678 10.5H7.16275Z" fill="white"/>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_188_8764)">
|
|
3
|
+
<path d="M8.55315 1.45331C8.37944 1.37407 8.19074 1.33307 7.99981 1.33307C7.80889 1.33307 7.62019 1.37407 7.44648 1.45331L1.73315 4.05331C1.61485 4.10547 1.51427 4.19091 1.44366 4.29921C1.37304 4.40752 1.33545 4.53402 1.33545 4.66331C1.33545 4.7926 1.37304 4.9191 1.44366 5.0274C1.51427 5.13571 1.61485 5.22114 1.73315 5.27331L7.45315 7.87997C7.62685 7.95921 7.81555 8.00021 8.00648 8.00021C8.19741 8.00021 8.3861 7.95921 8.55981 7.87997L14.2798 5.27997C14.3981 5.22781 14.4987 5.14237 14.5693 5.03407C14.6399 4.92576 14.6775 4.79926 14.6775 4.66997C14.6775 4.54068 14.6399 4.41418 14.5693 4.30588C14.4987 4.19757 14.3981 4.11214 14.2798 4.05997L8.55315 1.45331Z" stroke="#155DFC" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M1.3335 8C1.33318 8.12751 1.36944 8.25244 1.43798 8.35997C1.50651 8.46749 1.60444 8.55311 1.72016 8.60667L7.4535 11.2133C7.6263 11.2916 7.81381 11.3321 8.0035 11.3321C8.19319 11.3321 8.3807 11.2916 8.5535 11.2133L14.2735 8.61333C14.3915 8.56029 14.4915 8.47406 14.5614 8.36516C14.6312 8.25625 14.6679 8.12937 14.6668 8" stroke="#155DFC" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M1.3335 11.3333C1.33318 11.4608 1.36944 11.5858 1.43798 11.6933C1.50651 11.8008 1.60444 11.8864 1.72016 11.94L7.4535 14.5466C7.6263 14.6249 7.81381 14.6654 8.0035 14.6654C8.19319 14.6654 8.3807 14.6249 8.5535 14.5466L14.2735 11.9466C14.3915 11.8936 14.4915 11.8074 14.5614 11.6985C14.6312 11.5896 14.6679 11.4627 14.6668 11.3333" stroke="#155DFC" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_188_8764">
|
|
9
|
+
<rect width="16" height="16" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.6665 9.33334C2.54034 9.33377 2.41665 9.2984 2.3098 9.23133C2.20295 9.16426 2.11732 9.06824 2.06287 8.95445C2.00841 8.84065 1.98736 8.71373 2.00217 8.58845C2.01697 8.46316 2.06702 8.34465 2.1465 8.24667L8.7465 1.44667C8.79601 1.38953 8.86347 1.35091 8.93782 1.33716C9.01217 1.32341 9.08898 1.33535 9.15565 1.37101C9.22232 1.40667 9.27489 1.46394 9.30472 1.53341C9.33456 1.60289 9.33988 1.68044 9.31983 1.75334L8.03983 5.76667C8.00209 5.86769 7.98941 5.97635 8.00289 6.08334C8.01637 6.19034 8.05561 6.29246 8.11723 6.38096C8.17885 6.46946 8.26101 6.54168 8.35668 6.59145C8.45235 6.64121 8.55866 6.66702 8.6665 6.66667H13.3332C13.4593 6.66624 13.583 6.70162 13.6899 6.76869C13.7967 6.83576 13.8823 6.93177 13.9368 7.04557C13.9913 7.15937 14.0123 7.28628 13.9975 7.41157C13.9827 7.53685 13.9326 7.65537 13.8532 7.75334L7.25317 14.5533C7.20366 14.6105 7.13619 14.6491 7.06184 14.6629C6.9875 14.6766 6.91068 14.6647 6.84401 14.629C6.77734 14.5933 6.72478 14.5361 6.69494 14.4666C6.66511 14.3971 6.65978 14.3196 6.67983 14.2467L7.95983 10.2333C7.99758 10.1323 8.01025 10.0237 7.99677 9.91667C7.98329 9.80968 7.94406 9.70755 7.88244 9.61906C7.82082 9.53056 7.73865 9.45833 7.64298 9.40857C7.54731 9.3588 7.441 9.33299 7.33317 9.33334H2.6665Z" stroke="#E17100" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{"use strict";var e,t,r,a,n,o,l,i,c,s,d,h,f,u,b,m,p,v,P,g,x,w,y,k={41287:(e,t,r)=>{var a={"./cruise-canvas":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(3573),r.e(8324),r.e(3363),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(128),r.e(1302),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(8796),r.e(5452),r.e(3186),r.e(2267)]).then((()=>()=>r(99631))),"./chat-box":()=>Promise.all([r.e(1341),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(410),r.e(128),r.e(2919),r.e(1919),r.e(9435),r.e(9271),r.e(6573)]).then((()=>()=>r(94669))),"./home-container":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(3172)]).then((()=>()=>r(6492))),"./stat-with-mini-chart":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7345)]).then((()=>()=>r(45657))),"./elevo-sidebar":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(128),r.e(2919),r.e(4573),r.e(7771)]).then((()=>()=>r(17295))),"./icon-button":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(1541)]).then((()=>()=>r(68845))),"./show-cases":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(4332)]).then((()=>()=>r(64604))),"./mcp-tools":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(7087)]).then((()=>()=>r(91375))),"./chat-stream":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(3573),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(128),r.e(1302),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(4864),r.e(5452),r.e(1999),r.e(366)]).then((()=>()=>r(23182))),"./ai-employees":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(6729)]).then((()=>()=>r(80749))),"./ai-agents":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(304)]).then((()=>()=>r(50520))),"./call-tool":()=>Promise.all([r.e(410),r.e(2919),r.e(5234)]).then((()=>()=>r(24963))),"./save-request-store":()=>Promise.all([r.e(410),r.e(8539)]).then((()=>()=>r(93291))),"./load-request-store":()=>Promise.all([r.e(410),r.e(8539)]).then((()=>()=>r(93291))),"./clear-request-store":()=>Promise.all([r.e(410),r.e(8539)]).then((()=>()=>r(93291))),"./set-chat-command":()=>Promise.all([r.e(410),r.e(5944)]).then((()=>()=>r(93757))),"./set-chat-mentioned-employee":()=>Promise.all([r.e(410),r.e(1731)]).then((()=>()=>r(40036))),"./page-container":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(128),r.e(5020)]).then((()=>()=>r(7476))),"./tab-list":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(9873)]).then((()=>()=>r(48581))),"./dropdown-select":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(9053)]).then((()=>()=>r(26001))),"./preview-container":()=>Promise.all([r.e(3793),r.e(7888),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(128),r.e(1321),r.e(5188),r.e(8775)]).then((()=>()=>r(54519))),"./action-buttons":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(6109)]).then((()=>()=>r(27725))),"./goal-card-list":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(4322)]).then((()=>()=>r(96318))),"./project-conversations":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(1302),r.e(2697)]).then((()=>()=>r(36709))),"./project-knowledges":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(1302),r.e(7908)]).then((()=>()=>r(73388))),"./activity-timeline":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(1302),r.e(9576)]).then((()=>()=>r(59544))),"./chat-input":()=>Promise.all([r.e(1341),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(128),r.e(2919),r.e(1919),r.e(9435),r.e(9271),r.e(7218)]).then((()=>()=>r(45962))),"./elevo-logo":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(5064)]).then((()=>()=>r(52404))),"./show-case":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(3901)]).then((()=>()=>r(2865))),"./blank-state":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(1291)]).then((()=>()=>r(3019))),"./sticky-container":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(5144)]).then((()=>()=>r(46544))),"./elevo-card":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7923)]).then((()=>()=>r(5527))),"./flow-tabs":()=>Promise.all([r.e(1341),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(5764)]).then((()=>()=>r(42252))),"./running-flow":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(9789)]).then((()=>()=>r(69897))),"./notice-dropdown":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(4595)]).then((()=>()=>r(72419))),"./stage-flow":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(410),r.e(7195)]).then((()=>()=>r(68268))),"./notice-list":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(1302),r.e(4595),r.e(9780)]).then((()=>()=>r(70976))),"./chat-panel":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(3573),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(4864),r.e(8796),r.e(288)]).then((()=>()=>r(11552))),"./space-logo":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(6733)]).then((()=>()=>r(84136))),"./chat-panel-welcome":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(4519)]).then((()=>()=>r(40558))),"./space-workbench":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(3573),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(4864),r.e(8796),r.e(2118),r.e(6715)]).then((()=>()=>r(99991)))},n=(e,t)=>(r.R=t,t=r.o(a,e)?a[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var a="default",n=r.S[a];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[a]=e,r.I(a,t)}};r.d(t,{get:()=>n,init:()=>o})}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=k,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+({288:"chat-panel",304:"ai-agents",366:"chat-stream",1291:"blank-state",1541:"icon-button",1731:"set-chat-mentioned-employee",2267:"cruise-canvas",2697:"project-conversations",3172:"home-container",3901:"show-case",4322:"goal-card-list",4332:"show-cases",4519:"chat-panel-welcome",4595:"notice-dropdown",5020:"page-container",5064:"elevo-logo",5144:"sticky-container",5234:"call-tool",5764:"flow-tabs",5944:"set-chat-command",6109:"action-buttons",6573:"chat-box",6715:"space-workbench",6729:"ai-employees",6733:"space-logo",7087:"mcp-tools",7195:"stage-flow",7218:"chat-input",7345:"stat-with-mini-chart",7771:"elevo-sidebar",7908:"project-knowledges",7923:"elevo-card",8539:"load-request-store",8775:"preview-container",9053:"dropdown-select",9576:"activity-timeline",9780:"notice-list",9789:"running-flow",9873:"tab-list"}[e]||e)+"."+{114:"af61e48a",288:"3160f2e8",304:"cffd08a0",366:"393c8241",721:"f43de0ef",726:"392de709",871:"42c14164",879:"a469d051",948:"e601f18c",1045:"0906fc23",1120:"fd177648",1122:"95231c39",1136:"456f1c68",1215:"78630d79",1291:"648eea95",1341:"bd8f14f2",1541:"545ffb24",1731:"69199eec",1889:"b7766f77",1931:"2abee15e",1940:"afcdea49",1999:"f9846bc3",2052:"ef23d12a",2118:"677e19e7",2260:"9564eb16",2267:"bfae3138",2277:"b026624f",2357:"b6f1e719",2432:"352ae272",2449:"b46fc22a",2508:"15c05669",2510:"91062655",2593:"783fb42e",2697:"4cc72f40",3003:"a607b32b",3144:"4088b5d1",3171:"45ef4669",3172:"f1829834",3186:"f231329a",3208:"0796f5be",3331:"bb7b4c1c",3363:"d64d8e2a",3419:"28287d23",3573:"7b0bb780",3744:"06d6d911",3793:"03162dd0",3816:"fc867cd4",3901:"44e995fc",3935:"3b6a2f5d",4041:"6b503155",4190:"7612613e",4208:"7a99a847",4228:"692fa030",4281:"ddad94d5",4306:"9e8251b7",4322:"74ab5767",4332:"c3921ea0",4474:"5fd3e9c8",4491:"539d30f8",4519:"2f7c6c8b",4573:"56d7bc95",4595:"63cb2415",4609:"e21567a0",4658:"18d5ee4d",4735:"24157512",4765:"03d9c7c5",4837:"570099ad",4864:"5b042afd",5020:"2185f2e0",5032:"2e4fb116",5064:"25e3b889",5065:"9616e9d3",5144:"d3f7054e",5191:"ce5dfec4",5234:"a3219d5e",5250:"5294dc23",5307:"28ab7643",5384:"564ae2e4",5399:"501fc322",5452:"bb5140b0",5498:"298984c7",5548:"498b312d",5552:"09658542",5727:"93a1388d",5764:"ee1290c2",5807:"0b926b80",5936:"5bba7f2f",5944:"182747cc",6023:"843ea4a1",6029:"6fe4c192",6109:"68666920",6161:"d7e3ea42",6450:"9e9165f9",6519:"3ce478ef",6530:"6d9e7c8b",6573:"1ac7555a",6715:"572f4029",6729:"267c3626",6733:"994f7a25",6773:"afd27a30",7087:"f132c502",7146:"b327120d",7195:"9b6fad93",7218:"444c80bb",7302:"3117acc5",7345:"1509cf8c",7353:"02afd00b",7367:"d389861e",7721:"c985db03",7729:"1ccf3e2a",7733:"dbb66cbc",7771:"a1b4645a",7842:"d5a94411",7888:"61a7cdf2",7908:"51731410",7923:"49b42ed0",8231:"89b65f56",8263:"d9eaafab",8311:"69ab488d",8324:"5ac013ff",8348:"2fbb3b7e",8539:"a6effafd",8588:"0bce58e7",8633:"1b8bb39e",8755:"1525c38d",8757:"5cde95c7",8775:"a0ca6e2f",8936:"b9a73775",8989:"ddf83737",9034:"7ff08734",9053:"336442ba",9251:"52df4857",9263:"affcdb7b",9271:"2786528c",9515:"b58eb80e",9559:"3db56cb0",9576:"96e7aaea",9599:"02a5e6e3",9634:"71192f72",9780:"9a78cc87",9789:"37a428cf",9831:"f659ce60",9844:"c3062a6b",9873:"ee97567f"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/ai-portal:",S.l=(r,a,n,o)=>{if(e[r])e[r].push(a);else{var l,i;if(void 0!==n)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+n){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+n),l.src=r),e[r]=[a];var h=(t,a)=>{l.onerror=l.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(a))),t)return t(a)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=h.bind(null,l.onerror),l.onload=h.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,a)=>{a||(a=[]);var n=t[r];if(n||(n=t[r]={}),!(a.indexOf(n)>=0)){if(a.push(n),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/ai-portal",i=(e,t,r,a)=>{var n=o[e]=o[e]||{},i=n[t];(!i||!i.loaded&&(!a!=!i.eager?a:l>i.from))&&(n[t]={get:r,from:l,eager:!!a})},c=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(46773))))),i("@easyops-cn/brick-next-pipes","0.7.6",(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),i("@next-core/cook","2.5.12",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),i("@next-core/element","1.2.19",(()=>S.e(1045).then((()=>()=>S(21045))))),i("@next-core/http","1.2.14",(()=>S.e(8989).then((()=>()=>S(48989))))),i("@next-core/i18n","1.0.87",(()=>Promise.all([S.e(7177),S.e(410),S.e(671),S.e(5552)]).then((()=>()=>S(75552))))),i("@next-core/inject","1.0.62",(()=>Promise.all([S.e(1030),S.e(9933),S.e(2277)]).then((()=>()=>S(72277))))),i("@next-core/loader","1.6.17",(()=>S.e(5399).then((()=>()=>S(35399))))),i("@next-core/pipes","2.0.36",(()=>Promise.all([S.e(1919),S.e(6519)]).then((()=>()=>S(76519))))),i("@next-core/react-element","1.0.38",(()=>Promise.all([S.e(8769),S.e(870),S.e(9435),S.e(114)]).then((()=>()=>S(20114))))),i("@next-core/react-runtime","1.7.43",(()=>Promise.all([S.e(8769),S.e(981),S.e(1030),S.e(128),S.e(4837)]).then((()=>()=>S(64837))))),i("@next-core/runtime","1.71.4",(()=>Promise.all([S.e(948),S.e(7177),S.e(1030),S.e(410),S.e(1302),S.e(2919),S.e(1321),S.e(5188),S.e(5651)]).then((()=>()=>S(30948))))),i("@next-core/supply","2.3.9",(()=>Promise.all([S.e(1030),S.e(1302),S.e(9933),S.e(9559)]).then((()=>()=>S(49559))))),i("@next-core/theme","1.6.1",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(51889))))),i("@next-core/utils/general","1.8.8",(()=>S.e(871).then((()=>()=>S(40871))))),i("@next-core/utils/storyboard","1.8.8",(()=>Promise.all([S.e(1030),S.e(410),S.e(1321),S.e(7146)]).then((()=>()=>S(97146))))),i("history","4.10.1",(()=>S.e(3003).then((()=>()=>S(65384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(50726))))),i("i18next","22.5.1",(()=>S.e(2357).then((()=>()=>S(2357))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(19515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(45250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(43144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(14041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=r[1]?t(r[1]):[];return r[2]&&(a.length++,a.push.apply(a,t(r[2]))),r[3]&&(a.push([]),a.push.apply(a,t(r[3]))),a},a=(e,t)=>{e=r(e),t=r(t);for(var a=0;;){if(a>=e.length)return a<t.length&&"u"!=(typeof t[a])[0];var n=e[a],o=(typeof n)[0];if(a>=t.length)return"u"==o;var l=t[a],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&n!=l)return n<l;a++}},n=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,r+="u"==(typeof(i=e[o]))[0]?"-":(a>0?".":"")+(a=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():n(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var a=e[0],n=a<0;n&&(a=-a-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,h=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==h?i>a&&!n:""==h!=n);if("u"==d){if(!c||"u"!=h)return!1}else if(c)if(h==d)if(i<=a){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=h&&"n"!=h){if(n||i<=a)return!1;c=!1,i--}else{if(i<=a||d<h!=n)return!1;c=!1}else"s"!=h&&"n"!=h&&(c=!1,i--)}}var f=[],u=f.pop.bind(f);for(l=1;l<e.length;l++){var b=e[l];f.push(1==b?u()|u():2==b?u()&u():b?o(b,t):!u())}return!!u()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,n)=>{var l=n?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!a(e,t)?e:t),0))&&l[t]},d=(e,t,r)=>{var n=r?c(e[t]):e[t];return Object.keys(n).reduce(((e,t)=>!e||!n[e].loaded&&a(e,t)?t:e),0)},h=(e,t,r,a)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+n(a)+")",f=(e,t,r,a,o)=>{var l=e[r];return"No satisfying version ("+n(a)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},u=e=>{throw new Error(e)},b=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=(e,t,r)=>r?r():((e,t)=>u("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,a,n,o){var l=S.I(t);return l&&l.then&&!a?l.then(e.bind(e,t,S.S[t],r,!1,n,o)):e(t,S.S[t],r,a,n,o)})(((e,t,r,a,n,o)=>{if(!l(t,r))return p(e,r,o);var c=s(t,r,n,a);return c?i(c):o?o():void u(f(t,e,r,n,a))})),P=m(((e,t,r,a,n,c)=>{if(!l(t,r))return p(e,r,c);var s=d(t,r,a);return o(n,s)||b(h(t,r,s,n)),i(t[r][s])})),g={},x={41030:()=>P("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(45250))))),21302:()=>P("default","moment",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),55310:()=>P("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(19515))))),40580:()=>P("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(46773))))),67177:()=>P("default","@next-core/i18n",!1,[1,1,0,87],(()=>Promise.all([S.e(410),S.e(671),S.e(3171)]).then((()=>()=>S(75552))))),40410:()=>P("default","@next-core/utils/general",!1,[1,1,8,8],(()=>S.e(871).then((()=>()=>S(40871))))),848:()=>P("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(50726))))),75630:()=>P("default","i18next",!1,[0],(()=>S.e(2357).then((()=>()=>S(2357))))),59933:()=>P("default","@next-core/pipes",!1,[0],(()=>Promise.all([S.e(1919),S.e(6519)]).then((()=>()=>S(76519))))),61919:()=>P("default","@easyops-cn/brick-next-pipes",!1,[2,0,7,3],(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),18769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(14041))))),90870:()=>v("default","@next-core/element",!1,[1,1,2,19],(()=>S.e(1045).then((()=>()=>S(21045))))),59435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(43144))))),30981:()=>v("default","@next-core/react-element",!1,[1,1,0,38],(()=>Promise.all([S.e(870),S.e(9435),S.e(7733)]).then((()=>()=>S(20114))))),60128:()=>P("default","@next-core/runtime",!1,[1,1,71,4],(()=>Promise.all([S.e(948),S.e(7177),S.e(1030),S.e(410),S.e(1302),S.e(2919),S.e(1321),S.e(5188),S.e(5651)]).then((()=>()=>S(30948))))),22919:()=>P("default","@next-core/http",!1,[1,1,2,14],(()=>S.e(8989).then((()=>()=>S(48989))))),71321:()=>P("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),95188:()=>P("default","@next-core/utils/storyboard",!1,[1,1,8,8],(()=>S.e(4765).then((()=>()=>S(97146))))),11732:()=>P("default","history",!1,[0],(()=>S.e(3003).then((()=>()=>S(65384))))),26036:()=>P("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),29283:()=>P("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(72277))))),45599:()=>P("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(35399))))),94167:()=>P("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(49559))))),34419:()=>P("default","@next-core/theme",!1,[1,1,6,1],(()=>S.e(1889).then((()=>()=>S(51889))))),18796:()=>v("default","@next-core/react-runtime",!1,[1,1,7,43],(()=>S.e(9599).then((()=>()=>S(64837)))))},w={128:[60128],410:[40410],580:[40580],671:[848,75630],870:[90870],981:[30981],1030:[41030],1302:[21302],1321:[71321],1919:[61919],2919:[22919],4419:[34419],5188:[95188],5310:[55310],5651:[11732,26036,29283,45599,94167],7177:[67177],8769:[18769],8796:[18796],9435:[59435],9933:[59933]},y={},S.f.consumes=(e,t)=>{S.o(w,e)&&w[e].forEach((e=>{if(S.o(g,e))return t.push(g[e]);if(!y[e]){var r=t=>{g[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};y[e]=!0;var a=t=>{delete g[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var n=x[e]();n.then?t.push(g[e]=n.then(r).catch(a)):r(n)}catch(e){a(e)}}}))},(()=>{S.b=document.baseURI||self.location.href;var e={2641:0};S.f.j=(t,r)=>{var a=S.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(1(030|28|302|321|919)|5(188|310|651|80)|87(0|69|96)|9(435|81|933)|(29|44)19|410|671|7177)$/.test(t))e[t]=0;else{var n=new Promise(((r,n)=>a=e[t]=[r,n]));r.push(a[2]=n);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+o+")",l.name="ChunkLoadError",l.type=n,l.request=o,a[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var a,n,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(a in l)S.o(l,a)&&(S.m[a]=l[a]);i&&i(S)}for(t&&t(r);c<o.length;c++)n=o[c],S.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0;var E=S(41287);window["bricks/ai-portal"]=E})();
|
|
2
|
+
//# sourceMappingURL=index.ebd91b13.js.map
|