@next-bricks/ai-portal 0.64.1 → 0.64.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/bricks.json +37 -37
  2. package/dist/chunks/{4208.9bc0e6c6.js → 4208.e57d22a2.js} +2 -2
  3. package/dist/chunks/4208.e57d22a2.js.map +1 -0
  4. package/dist/chunks/{4820.d2a30e2c.js → 4820.3f60d55c.js} +2 -2
  5. package/dist/chunks/4820.3f60d55c.js.map +1 -0
  6. package/dist/chunks/778.850294cf.js +2 -0
  7. package/dist/chunks/778.850294cf.js.map +1 -0
  8. package/dist/chunks/{9273.a031c62f.js → 9273.e6feece8.js} +2 -2
  9. package/dist/chunks/9273.e6feece8.js.map +1 -0
  10. package/dist/chunks/chat-panel.0735e831.js +2 -0
  11. package/dist/chunks/chat-panel.0735e831.js.map +1 -0
  12. package/dist/chunks/{main.62ff99bd.js → main.88466dc4.js} +2 -2
  13. package/dist/chunks/{main.62ff99bd.js.map → main.88466dc4.js.map} +1 -1
  14. package/dist/examples.json +22 -22
  15. package/dist/{index.a9bf242c.js → index.802fcd04.js} +2 -2
  16. package/dist/{index.a9bf242c.js.map → index.802fcd04.js.map} +1 -1
  17. package/dist/manifest.json +232 -232
  18. package/dist/types.json +1254 -1254
  19. package/dist-types/chat-panel/index.d.ts +1 -1
  20. package/dist-types/chat-stream/AssistantMessage/AssistantMessage.d.ts +5 -3
  21. package/dist-types/cruise-canvas/reducers/interfaces.d.ts +4 -1
  22. package/package.json +2 -2
  23. package/dist/chunks/4208.9bc0e6c6.js.map +0 -1
  24. package/dist/chunks/4820.d2a30e2c.js.map +0 -1
  25. package/dist/chunks/778.85eedde5.js +0 -2
  26. package/dist/chunks/778.85eedde5.js.map +0 -1
  27. package/dist/chunks/9273.a031c62f.js.map +0 -1
  28. package/dist/chunks/chat-panel.a5cadc0d.js +0 -2
  29. package/dist/chunks/chat-panel.a5cadc0d.js.map +0 -1
@@ -1,31 +1,28 @@
1
1
  {
2
+ "ai-portal.chat-box": {
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=\"&lt;% CTX.task.id %&gt;\"\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
+ },
2
5
  "ai-portal.stat-with-mini-chart": {
3
6
  "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"
4
7
  },
5
- "ai-portal.elevo-sidebar": {
6
- "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
- },
8
8
  "ai-portal.icon-button": {
9
9
  "doc": "构件 `ai-portal.icon-button`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.icon-button\nproperties:\n icon:\n lib: antd\n icon: download\n tooltip: Go to homepage\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.icon-button\n# tooltip=\"Go to homepage\"\n# id=\"brick-1\"\n# ></ai-portal.icon-button>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.icon = {\n# lib: \"antd\",\n# icon: \"download\",\n# };\n# </script>\n# \n```\n"
10
10
  },
11
- "ai-portal.show-cases": {
12
- "doc": "构件 `ai-portal.show-cases`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.show-cases\nproperties:\n list:\n - conversationId: c-1\n title: 故障排查-操作系统内存高\n summary: 服务已经正常启动,正常运行,但用户在外部访问失败服务已经正常启动,正常运行但用户正常运行\n scenario: 主机故障排查\n - conversationId: c-2\n title: Hi\n summary: There\n scenario: 主机巡检\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.show-cases id=\"brick-1\"></ai-portal.show-cases>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# conversationId: \"c-1\",\n# title: \"故障排查-操作系统内存高\",\n# summary:\n# \"服务已经正常启动,正常运行,但用户在外部访问失败服务已经正常启动,正常运行但用户正常运行\",\n# scenario: \"主机故障排查\",\n# },\n# {\n# conversationId: \"c-2\",\n# title: \"Hi\",\n# summary: \"There\",\n# scenario: \"主机巡检\",\n# },\n# ];\n# </script>\n# \n```\n"
11
+ "ai-portal.elevo-sidebar": {
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"
13
13
  },
14
14
  "ai-portal.home-container": {
15
15
  "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"
16
16
  },
17
+ "ai-portal.show-cases": {
18
+ "doc": "构件 `ai-portal.show-cases`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.show-cases\nproperties:\n list:\n - conversationId: c-1\n title: 故障排查-操作系统内存高\n summary: 服务已经正常启动,正常运行,但用户在外部访问失败服务已经正常启动,正常运行但用户正常运行\n scenario: 主机故障排查\n - conversationId: c-2\n title: Hi\n summary: There\n scenario: 主机巡检\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.show-cases id=\"brick-1\"></ai-portal.show-cases>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# conversationId: \"c-1\",\n# title: \"故障排查-操作系统内存高\",\n# summary:\n# \"服务已经正常启动,正常运行,但用户在外部访问失败服务已经正常启动,正常运行但用户正常运行\",\n# scenario: \"主机故障排查\",\n# },\n# {\n# conversationId: \"c-2\",\n# title: \"Hi\",\n# summary: \"There\",\n# scenario: \"主机巡检\",\n# },\n# ];\n# </script>\n# \n```\n"
19
+ },
17
20
  "ai-portal.mcp-tools": {
18
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"
19
22
  },
20
- "ai-portal.chat-box": {
21
- "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=\"&lt;% CTX.task.id %&gt;\"\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"
22
- },
23
23
  "ai-portal.chat-stream": {
24
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"
25
25
  },
26
- "ai-portal.ai-employees": {
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"
28
- },
29
26
  "ai-portal.ai-agents": {
30
27
  "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
28
  },
@@ -35,8 +32,8 @@
35
32
  "ai-portal.tab-list": {
36
33
  "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
34
  },
38
- "ai-portal.action-buttons": {
39
- "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"
35
+ "ai-portal.ai-employees": {
36
+ "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"
40
37
  },
41
38
  "ai-portal.dropdown-select": {
42
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,18 +41,21 @@
44
41
  "ai-portal.preview-container": {
45
42
  "doc": "构件 `ai-portal.preview-container`\n\n## Examples\n\n### Basic\n\n```yaml preview minHeight=\"600px\"\nbrick: ai-portal.preview-container\nproperties:\n style:\n position: fixed\n inset: 0\n overflowY: auto\n source: |\n const RESPONSE = {\n \"list\": [\n {\n \"inode_usage\": [\n {\n \"total_inodes\": 21162000,\n \"used_inodes\": 1385716,\n \"free_inodes\": 19776284,\n \"percent\": \"7%\",\n \"device\": \"/dev/sda1\",\n \"mount_point\": \"/\"\n },\n {\n \"mount_point\": \"/boot\",\n \"total_inodes\": 524288,\n \"used_inodes\": 333,\n \"free_inodes\": 523955,\n \"percent\": \"1%\",\n \"device\": \"/dev/vda1\"\n }\n ],\n \"ip\": \"172.30.0.134\",\n \"disk_usage\": [\n {\n \"total\": \"95.00GB\",\n \"used\": \"85.00GB\",\n \"free\": \"9.00GB\",\n \"percent\": \"91%\",\n \"rw_status\": \"rw\",\n \"large_files\": [\n {\n \"size\": \"1.00GB\",\n \"path\": \"/temp/1\"\n },\n {\n \"path\": \"/temp/2\",\n \"size\": \"759.00MB\"\n },\n {\n \"size\": \"360.00MB\",\n \"path\": \"/temp/3\"\n }\n ],\n \"device\": \"/dev/sda1\",\n \"mount_point\": \"/\"\n },\n {\n \"rw_status\": \"rw\",\n \"device\": \"/dev/vda1\",\n \"mount_point\": \"/boot\",\n \"total\": \"1014.00MB\",\n \"used\": \"181.00MB\",\n \"free\": \"834.00MB\",\n \"percent\": \"18%\"\n }\n ]\n }\n ]\n };\n\n export default (\n <View title=\"磁盘使用情况\">\n {RESPONSE.list.map((item) => (\n <Card title={item.ip}>\n {/* 磁盘空间使用情况 */}\n <Plaintext>磁盘空间使用</Plaintext>\n <Table\n dataSource={{ list: item.disk_usage }}\n columns={[\n { dataIndex: \"device\", key: \"device\", title: \"设备\" },\n { dataIndex: \"mount_point\", key: \"mount_point\", title: \"挂载点\" },\n { dataIndex: \"total\", key: \"total\", title: \"总大小\" },\n { dataIndex: \"used\", key: \"used\", title: \"已用空间\" },\n { dataIndex: \"free\", key: \"free\", title: \"可用空间\" },\n { dataIndex: \"percent\", key: \"percent\", title: \"使用率\" },\n { dataIndex: \"rw_status\", key: \"rw_status\", title: \"读写状态\" }\n ]}\n rowKey=\"device\"\n pagination={false}\n />\n\n {/* Inode 使用情况 */}\n <Plaintext>Inode 使用情况</Plaintext>\n <Table\n dataSource={{ list: item.inode_usage }}\n columns={[\n { dataIndex: \"device\", key: \"device\", title: \"设备\" },\n { dataIndex: \"mount_point\", key: \"mount_point\", title: \"挂载点\" },\n { dataIndex: \"total_inodes\", key: \"total_inodes\", title: \"Inode 总数\" },\n { dataIndex: \"used_inodes\", key: \"used_inodes\", title: \"已用 Inode\" },\n { dataIndex: \"free_inodes\", key: \"free_inodes\", title: \"空闲 Inode\" },\n {\n dataIndex: \"percent\", key: \"percent\", title: \"使用率\",\n render: (cell, record) => (\n // <Plaintext>{record.percent}%</Plaintext>\n `~${record.percent}`\n )\n }\n ]}\n rowKey=\"device\"\n pagination={false}\n />\n\n {/* 大文件列表(仅当存在 large_files 且有内容时) */}\n {item.disk_usage\n .filter(disk => disk.large_files && disk.large_files.length > 0)\n .map(disk =>\n disk.large_files ? (\n <Fragment key={disk.device}>\n <Plaintext>{`大文件列表 (${disk.mount_point})`}</Plaintext>\n <Table\n dataSource={{ list: disk.large_files }}\n columns={[\n { dataIndex: \"path\", key: \"path\", title: \"路径\" },\n { dataIndex: \"size\", key: \"size\", title: \"大小\" }\n ]}\n rowKey=\"path\"\n pagination={false}\n />\n </Fragment>\n ) : null\n )}\n </Card>\n ))}\n </View>\n );\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.preview-container\n# style=\"position: fixed; inset: 0; overflow-y: auto\"\n# id=\"brick-1\"\n# ></ai-portal.preview-container>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.source =\n# 'const RESPONSE = {\\n \"list\": [\\n {\\n \"inode_usage\": [\\n {\\n \"total_inodes\": 21162000,\\n \"used_inodes\": 1385716,\\n \"free_inodes\": 19776284,\\n \"percent\": \"7%\",\\n \"device\": \"/dev/sda1\",\\n \"mount_point\": \"/\"\\n },\\n {\\n \"mount_point\": \"/boot\",\\n \"total_inodes\": 524288,\\n \"used_inodes\": 333,\\n \"free_inodes\": 523955,\\n \"percent\": \"1%\",\\n \"device\": \"/dev/vda1\"\\n }\\n ],\\n \"ip\": \"172.30.0.134\",\\n \"disk_usage\": [\\n {\\n \"total\": \"95.00GB\",\\n \"used\": \"85.00GB\",\\n \"free\": \"9.00GB\",\\n \"percent\": \"91%\",\\n \"rw_status\": \"rw\",\\n \"large_files\": [\\n {\\n \"size\": \"1.00GB\",\\n \"path\": \"/temp/1\"\\n },\\n {\\n \"path\": \"/temp/2\",\\n \"size\": \"759.00MB\"\\n },\\n {\\n \"size\": \"360.00MB\",\\n \"path\": \"/temp/3\"\\n }\\n ],\\n \"device\": \"/dev/sda1\",\\n \"mount_point\": \"/\"\\n },\\n {\\n \"rw_status\": \"rw\",\\n \"device\": \"/dev/vda1\",\\n \"mount_point\": \"/boot\",\\n \"total\": \"1014.00MB\",\\n \"used\": \"181.00MB\",\\n \"free\": \"834.00MB\",\\n \"percent\": \"18%\"\\n }\\n ]\\n }\\n ]\\n};\\n\\nexport default (\\n <View title=\"磁盘使用情况\">\\n {RESPONSE.list.map((item) => (\\n <Card title={item.ip}>\\n {/* 磁盘空间使用情况 */}\\n <Plaintext>磁盘空间使用</Plaintext>\\n <Table\\n dataSource={{ list: item.disk_usage }}\\n columns={[\\n { dataIndex: \"device\", key: \"device\", title: \"设备\" },\\n { dataIndex: \"mount_point\", key: \"mount_point\", title: \"挂载点\" },\\n { dataIndex: \"total\", key: \"total\", title: \"总大小\" },\\n { dataIndex: \"used\", key: \"used\", title: \"已用空间\" },\\n { dataIndex: \"free\", key: \"free\", title: \"可用空间\" },\\n { dataIndex: \"percent\", key: \"percent\", title: \"使用率\" },\\n { dataIndex: \"rw_status\", key: \"rw_status\", title: \"读写状态\" }\\n ]}\\n rowKey=\"device\"\\n pagination={false}\\n />\\n\\n {/* Inode 使用情况 */}\\n <Plaintext>Inode 使用情况</Plaintext>\\n <Table\\n dataSource={{ list: item.inode_usage }}\\n columns={[\\n { dataIndex: \"device\", key: \"device\", title: \"设备\" },\\n { dataIndex: \"mount_point\", key: \"mount_point\", title: \"挂载点\" },\\n { dataIndex: \"total_inodes\", key: \"total_inodes\", title: \"Inode 总数\" },\\n { dataIndex: \"used_inodes\", key: \"used_inodes\", title: \"已用 Inode\" },\\n { dataIndex: \"free_inodes\", key: \"free_inodes\", title: \"空闲 Inode\" },\\n {\\n dataIndex: \"percent\", key: \"percent\", title: \"使用率\",\\n render: (cell, record) => (\\n // <Plaintext>{record.percent}%</Plaintext>\\n `~${record.percent}`\\n )\\n }\\n ]}\\n rowKey=\"device\"\\n pagination={false}\\n />\\n\\n {/* 大文件列表(仅当存在 large_files 且有内容时) */}\\n {item.disk_usage\\n .filter(disk => disk.large_files && disk.large_files.length > 0)\\n .map(disk =>\\n disk.large_files ? (\\n <Fragment key={disk.device}>\\n <Plaintext>{`大文件列表 (${disk.mount_point})`}</Plaintext>\\n <Table\\n dataSource={{ list: disk.large_files }}\\n columns={[\\n { dataIndex: \"path\", key: \"path\", title: \"路径\" },\\n { dataIndex: \"size\", key: \"size\", title: \"大小\" }\\n ]}\\n rowKey=\"path\"\\n pagination={false}\\n />\\n </Fragment>\\n ) : null\\n )}\\n </Card>\\n ))}\\n </View>\\n);\\n';\n# </script>\n# \n```\n"
46
43
  },
44
+ "ai-portal.action-buttons": {
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
+ },
47
47
  "ai-portal.goal-card-list": {
48
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"
49
49
  },
50
50
  "ai-portal.project-conversations": {
51
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
52
  },
53
- "ai-portal.project-knowledges": {
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
- },
56
53
  "ai-portal.activity-timeline": {
57
54
  "doc": "构件 `ai-portal.activity-timeline`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.activity-timeline\nproperties:\n list:\n - user_id: u001\n user_name: Tom\n action_type: create_goal\n time: 1757853597\n - user_id: u001\n user_name: Tom\n action_type: alter_owner\n time: 1757863597\n metadata:\n after:\n user_name: Lucy\n - user_id: u002\n user_name: Lucy\n action_type: start_conversation\n time: 1757904096\n metadata:\n conversation_id: c001\n conversation_title: 项目规划\n - user_id: u002\n user_name: Lucy\n action_type: decompose_goals\n time: 1757904096\n metadata:\n sub_goals_count: 2\n sub_goals:\n - title: \"先计划\"\n - title: \"再执行\"\n - user_id: u002\n user_name: Lucy\n action_type: alter_user\n time: 1757904096\n metadata:\n before:\n - user_name: Jim\n after:\n - user_name: Joy\n - user_name: Green\n - user_id: u001\n user_name: Tom\n action_type: add_comment\n time: 1757904096\n metadata:\n comment_content: Good!\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.activity-timeline id=\"brick-1\"></ai-portal.activity-timeline>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# user_id: \"u001\",\n# user_name: \"Tom\",\n# action_type: \"create_goal\",\n# time: 1757853597,\n# },\n# {\n# user_id: \"u001\",\n# user_name: \"Tom\",\n# action_type: \"alter_owner\",\n# time: 1757863597,\n# metadata: {\n# after: {\n# user_name: \"Lucy\",\n# },\n# },\n# },\n# {\n# user_id: \"u002\",\n# user_name: \"Lucy\",\n# action_type: \"start_conversation\",\n# time: 1757904096,\n# metadata: {\n# conversation_id: \"c001\",\n# conversation_title: \"项目规划\",\n# },\n# },\n# {\n# user_id: \"u002\",\n# user_name: \"Lucy\",\n# action_type: \"decompose_goals\",\n# time: 1757904096,\n# metadata: {\n# sub_goals_count: 2,\n# sub_goals: [\n# {\n# title: \"先计划\",\n# },\n# {\n# title: \"再执行\",\n# },\n# ],\n# },\n# },\n# {\n# user_id: \"u002\",\n# user_name: \"Lucy\",\n# action_type: \"alter_user\",\n# time: 1757904096,\n# metadata: {\n# before: [\n# {\n# user_name: \"Jim\",\n# },\n# ],\n# after: [\n# {\n# user_name: \"Joy\",\n# },\n# {\n# user_name: \"Green\",\n# },\n# ],\n# },\n# },\n# {\n# user_id: \"u001\",\n# user_name: \"Tom\",\n# action_type: \"add_comment\",\n# time: 1757904096,\n# metadata: {\n# comment_content: \"Good!\",\n# },\n# },\n# ];\n# </script>\n# \n```\n"
58
55
  },
56
+ "ai-portal.project-knowledges": {
57
+ "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"
58
+ },
59
59
  "ai-portal.chat-input": {
60
60
  "doc": "构件 `ai-portal.chat-input`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-input\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-input></ai-portal.chat-input>\n# \n```\n"
61
61
  },
@@ -74,12 +74,12 @@
74
74
  "ai-portal.elevo-card": {
75
75
  "doc": "构件 `ai-portal.elevo-card`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nchildren:\n - brick: ai-portal.elevo-card\n properties:\n cardTitle: HR\n description: Provide standard HR workflows. e.g. leave applications, office supply requistion, purchase requistion, etc.\n style:\n maxWidth: 400px\n children:\n - brick: eo-dropdown-actions\n slot: actions\n properties:\n themeVariant: elevo\n actions:\n - text: Edit\n event: edit\n - text: Delete\n event: delete\n danger: true\n children:\n - brick: ai-portal.icon-button\n properties:\n variant: mini\n icon:\n lib: antd\n icon: setting\n - brick: eo-button\n slot: footer\n properties:\n themeVariant: elevo\n textContent: Chat\n type: flat\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>\n# <ai-portal.elevo-card\n# card-title=\"HR\"\n# description=\"Provide standard HR workflows. e.g. leave applications, office supply requistion, purchase requistion, etc.\"\n# style=\"max-width: 400px\"\n# >\n# <eo-dropdown-actions\n# slot=\"actions\"\n# theme-variant=\"elevo\"\n# actions=\"[object Object],[object Object]\"\n# >\n# <ai-portal.icon-button\n# variant=\"mini\"\n# id=\"brick-1\"\n# ></ai-portal.icon-button>\n# </eo-dropdown-actions>\n# <eo-button slot=\"footer\" theme-variant=\"elevo\" type=\"flat\">Chat</eo-button>\n# </ai-portal.elevo-card>\n# </ai-portal.home-container>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.icon = {\n# lib: \"antd\",\n# icon: \"setting\",\n# };\n# </script>\n# \n```\n"
76
76
  },
77
- "ai-portal.stage-flow": {
78
- "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"
79
- },
80
77
  "ai-portal.flow-tabs": {
81
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"
82
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
83
  "ai-portal.running-flow": {
84
84
  "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
85
  },
@@ -89,10 +89,10 @@
89
89
  "ai-portal.notice-list": {
90
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"
91
91
  },
92
- "ai-portal.chat-panel": {
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"
94
- },
95
92
  "ai-portal.gantt-chart": {
96
93
  "doc": "构件 `ai-portal.gantt-chart`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.gantt-chart\nproperties:\n chartTitle: Hello world\n nodes:\n - name: 整理产品业务相关知识\n state: completed\n children:\n - name: One\n startTime: 100\n endTime: 110\n - name: Two\n - name: 创建产品设计业务流\n state: working\n children:\n - name: 根据整理知识格式化为业务流定义\n state: completed\n children:\n - name: Three\n - name: 发起业务流:创建业务流\n state: working\n children:\n - name: 编写业务流\n state: completed\n - name: 管理员确认\n state: input-required\n - name: 保存业务流\n state: failed\n - name: 展示业务流\n # - name: 完成\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.gantt-chart\n# chart-title=\"Hello world\"\n# id=\"brick-1\"\n# ></ai-portal.gantt-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.nodes = [\n# {\n# name: \"整理产品业务相关知识\",\n# state: \"completed\",\n# children: [\n# {\n# name: \"One\",\n# startTime: 100,\n# endTime: 110,\n# },\n# {\n# name: \"Two\",\n# },\n# ],\n# },\n# {\n# name: \"创建产品设计业务流\",\n# state: \"working\",\n# children: [\n# {\n# name: \"根据整理知识格式化为业务流定义\",\n# state: \"completed\",\n# children: [\n# {\n# name: \"Three\",\n# },\n# ],\n# },\n# {\n# name: \"发起业务流:创建业务流\",\n# state: \"working\",\n# children: [\n# {\n# name: \"编写业务流\",\n# state: \"completed\",\n# },\n# {\n# name: \"管理员确认\",\n# state: \"input-required\",\n# },\n# {\n# name: \"保存业务流\",\n# state: \"failed\",\n# },\n# {\n# name: \"展示业务流\",\n# },\n# ],\n# },\n# ],\n# },\n# ];\n# </script>\n# \n```\n"
94
+ },
95
+ "ai-portal.chat-panel": {
96
+ "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"
97
97
  }
98
98
  }
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e,t,r,a,n,o,l,i,c,s,d,f,h,u,m,b,p,v,g,P,x,y,w,k={99123:(e,t,r)=>{var a={"./cruise-canvas":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(2028),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(1302),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(1447),r.e(8796),r.e(3186),r.e(2267)]).then((()=>()=>r(99631))),"./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(7059),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))),"./home-container":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(3172)]).then((()=>()=>r(6492))),"./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-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))),"./chat-stream":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(2028),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(1302),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(9273),r.e(1447),r.e(778),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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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(2028),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(9273),r.e(8796),r.e(288)]).then((()=>()=>r(11552))),"./gantt-chart":()=>Promise.all([r.e(1341),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(7028)]).then((()=>()=>r(15240)))},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",2267:"cruise-canvas",2697:"project-conversations",3172:"home-container",3901:"show-case",4322:"goal-card-list",4332:"show-cases",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",6729:"ai-employees",7028:"gantt-chart",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:"a5cadc0d",304:"cffd08a0",366:"c13cfc3f",721:"f43de0ef",726:"392de709",778:"85eedde5",871:"42c14164",879:"a469d051",948:"e601f18c",1045:"0906fc23",1120:"fd177648",1122:"95231c39",1136:"456f1c68",1215:"78630d79",1291:"648eea95",1341:"bd8f14f2",1447:"32e6384d",1541:"545ffb24",1889:"b7766f77",1931:"2abee15e",1940:"afcdea49",2028:"81962baa",2052:"ef23d12a",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:"7220c09a",3208:"0796f5be",3331:"bb7b4c1c",3363:"d64d8e2a",3419:"28287d23",3744:"ed6d0719",3793:"03162dd0",3816:"fc867cd4",3901:"44e995fc",3935:"3b6a2f5d",4041:"6b503155",4190:"7612613e",4208:"9bc0e6c6",4228:"ea602510",4281:"ddad94d5",4306:"9e8251b7",4322:"74ab5767",4332:"c3921ea0",4474:"5fd3e9c8",4491:"539d30f8",4595:"63cb2415",4609:"e21567a0",4658:"18d5ee4d",4735:"24157512",4765:"03d9c7c5",4837:"570099ad",5020:"2185f2e0",5032:"2e4fb116",5064:"25e3b889",5065:"9616e9d3",5144:"d3f7054e",5191:"ce5dfec4",5234:"a3219d5e",5250:"5294dc23",5307:"28ab7643",5384:"564ae2e4",5399:"501fc322",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:"ade6ef3e",6519:"3ce478ef",6530:"3c295a95",6573:"3ae83b4f",6729:"267c3626",6773:"afd27a30",7028:"6c8b41fd",7059:"912e3307",7087:"f132c502",7146:"b327120d",7195:"9b6fad93",7218:"e913e9ed",7302:"3117acc5",7345:"1509cf8c",7353:"02afd00b",7367:"d389861e",7721:"c985db03",7729:"1ccf3e2a",7733:"dbb66cbc",7771:"78a35f1d",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:"24992b40",9273:"a031c62f",9515:"468a8527",9559:"3db56cb0",9576:"96e7aaea",9599:"02a5e6e3",9634:"71192f72",9780:"9a78cc87",9789:"4b117f11",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 f=(t,a)=>{l.onerror=l.onload=null,clearTimeout(h);var n=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(a))),t)return t(a)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.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,f=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==f?i>a&&!n:""==f!=n);if("u"==d){if(!c||"u"!=f)return!1}else if(c)if(f==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"!=f&&"n"!=f){if(n||i<=a)return!1;c=!1,i--}else{if(i<=a||d<f!=n)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,i--)}}var h=[],u=h.pop.bind(h);for(l=1;l<e.length;l++){var m=e[l];h.push(1==m?u()|u():2==m?u()&u():m?o(m,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)},f=(e,t,r,a)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+n(a)+")",h=(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)},m=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=(b=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(h(t,e,r,n,a))})),g=b(((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)||m(f(t,r,s,n)),i(t[r][s])})),P={},x={41030:()=>g("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(45250))))),21302:()=>g("default","moment",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),55310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(19515))))),40580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(46773))))),67177:()=>g("default","@next-core/i18n",!1,[1,1,0,87],(()=>Promise.all([S.e(410),S.e(671),S.e(3171)]).then((()=>()=>S(75552))))),40410:()=>g("default","@next-core/utils/general",!1,[1,1,8,8],(()=>S.e(871).then((()=>()=>S(40871))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(50726))))),75630:()=>g("default","i18next",!1,[0],(()=>S.e(2357).then((()=>()=>S(2357))))),59933:()=>g("default","@next-core/pipes",!1,[0],(()=>Promise.all([S.e(1919),S.e(6519)]).then((()=>()=>S(76519))))),61919:()=>g("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:()=>g("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:()=>g("default","@next-core/http",!1,[1,1,2,14],(()=>S.e(8989).then((()=>()=>S(48989))))),71321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),95188:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,8],(()=>S.e(4765).then((()=>()=>S(97146))))),11732:()=>g("default","history",!1,[0],(()=>S.e(3003).then((()=>()=>S(65384))))),26036:()=>g("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),29283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(72277))))),45599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(35399))))),94167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(49559))))),34419:()=>g("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)))))},y={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]},w={},S.f.consumes=(e,t)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(P,e))return t.push(P[e]);if(!w[e]){var r=t=>{P[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var a=t=>{delete P[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var n=x[e]();n.then?t.push(P[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(99123);window["bricks/ai-portal"]=E})();
2
- //# sourceMappingURL=index.a9bf242c.js.map
1
+ (()=>{"use strict";var e,t,r,a,n,o,l,i,c,s,d,h,f,u,m,b,p,v,g,P,x,y,w,k={24573:(e,t,r)=>{var a={"./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))),"./cruise-canvas":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(2028),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(1302),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(1447),r.e(8796),r.e(3186),r.e(2267)]).then((()=>()=>r(99631))),"./stat-with-mini-chart":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7345)]).then((()=>()=>r(45657))),"./icon-button":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(1541)]).then((()=>()=>r(68845))),"./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(7059),r.e(7771)]).then((()=>()=>r(17295))),"./home-container":()=>Promise.all([r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(3172)]).then((()=>()=>r(6492))),"./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(2028),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(1030),r.e(410),r.e(1302),r.e(128),r.e(2919),r.e(1321),r.e(1919),r.e(5188),r.e(4208),r.e(9273),r.e(1447),r.e(778),r.e(366)]).then((()=>()=>r(23182))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./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))),"./gantt-chart":()=>Promise.all([r.e(1341),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(7177),r.e(7028)]).then((()=>()=>r(15240))),"./chat-panel":()=>Promise.all([r.e(1341),r.e(3793),r.e(7888),r.e(2028),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(9273),r.e(8796),r.e(288)]).then((()=>()=>r(11552)))},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",2267:"cruise-canvas",2697:"project-conversations",3172:"home-container",3901:"show-case",4322:"goal-card-list",4332:"show-cases",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",6729:"ai-employees",7028:"gantt-chart",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:"0735e831",304:"cffd08a0",366:"c13cfc3f",721:"f43de0ef",726:"392de709",778:"850294cf",871:"42c14164",879:"a469d051",948:"e601f18c",1045:"0906fc23",1120:"fd177648",1122:"95231c39",1136:"456f1c68",1215:"78630d79",1291:"648eea95",1341:"bd8f14f2",1447:"32e6384d",1541:"545ffb24",1889:"b7766f77",1931:"2abee15e",1940:"afcdea49",2028:"81962baa",2052:"ef23d12a",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:"7220c09a",3208:"0796f5be",3331:"bb7b4c1c",3363:"d64d8e2a",3419:"28287d23",3744:"ed6d0719",3793:"03162dd0",3816:"fc867cd4",3901:"44e995fc",3935:"3b6a2f5d",4041:"6b503155",4190:"7612613e",4208:"e57d22a2",4228:"ea602510",4281:"ddad94d5",4306:"9e8251b7",4322:"74ab5767",4332:"c3921ea0",4474:"5fd3e9c8",4491:"539d30f8",4595:"63cb2415",4609:"e21567a0",4658:"18d5ee4d",4735:"24157512",4765:"03d9c7c5",4837:"570099ad",5020:"2185f2e0",5032:"2e4fb116",5064:"25e3b889",5065:"9616e9d3",5144:"d3f7054e",5191:"ce5dfec4",5234:"a3219d5e",5250:"5294dc23",5307:"28ab7643",5384:"564ae2e4",5399:"501fc322",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:"ade6ef3e",6519:"3ce478ef",6530:"3c295a95",6573:"3ae83b4f",6729:"267c3626",6773:"afd27a30",7028:"6c8b41fd",7059:"912e3307",7087:"f132c502",7146:"b327120d",7195:"9b6fad93",7218:"e913e9ed",7302:"3117acc5",7345:"1509cf8c",7353:"02afd00b",7367:"d389861e",7721:"c985db03",7729:"1ccf3e2a",7733:"dbb66cbc",7771:"78a35f1d",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:"24992b40",9273:"e6feece8",9515:"468a8527",9559:"3db56cb0",9576:"96e7aaea",9599:"02a5e6e3",9634:"71192f72",9780:"9a78cc87",9789:"4b117f11",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 m=e[l];f.push(1==m?u()|u():2==m?u()&u():m?o(m,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)},m=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=(b=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))})),g=b(((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)||m(h(t,r,s,n)),i(t[r][s])})),P={},x={41030:()=>g("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(45250))))),21302:()=>g("default","moment",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),55310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(19515))))),40580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(46773))))),67177:()=>g("default","@next-core/i18n",!1,[1,1,0,87],(()=>Promise.all([S.e(410),S.e(671),S.e(3171)]).then((()=>()=>S(75552))))),40410:()=>g("default","@next-core/utils/general",!1,[1,1,8,8],(()=>S.e(871).then((()=>()=>S(40871))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(50726))))),75630:()=>g("default","i18next",!1,[0],(()=>S.e(2357).then((()=>()=>S(2357))))),59933:()=>g("default","@next-core/pipes",!1,[0],(()=>Promise.all([S.e(1919),S.e(6519)]).then((()=>()=>S(76519))))),61919:()=>g("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:()=>g("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:()=>g("default","@next-core/http",!1,[1,1,2,14],(()=>S.e(8989).then((()=>()=>S(48989))))),71321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),95188:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,8],(()=>S.e(4765).then((()=>()=>S(97146))))),11732:()=>g("default","history",!1,[0],(()=>S.e(3003).then((()=>()=>S(65384))))),26036:()=>g("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),29283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(72277))))),45599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(35399))))),94167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(49559))))),34419:()=>g("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)))))},y={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]},w={},S.f.consumes=(e,t)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(P,e))return t.push(P[e]);if(!w[e]){var r=t=>{P[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var a=t=>{delete P[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var n=x[e]();n.then?t.push(P[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(24573);window["bricks/ai-portal"]=E})();
2
+ //# sourceMappingURL=index.802fcd04.js.map