@openbkn/workshop 0.2.2-rc.5 → 0.2.2

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 (158) hide show
  1. package/README.md +83 -13
  2. package/component.d.ts +10 -0
  3. package/dist/ActionConfirm-DJ91X3ml.js +236 -0
  4. package/dist/ActionFailure-ZgPt_3B-.js +37 -0
  5. package/dist/AgentChat-CRYai8ge.js +1062 -0
  6. package/dist/AppFormModal-D73ucaHK.js +4282 -0
  7. package/dist/AppListPage-D87piiOw.js +1364 -0
  8. package/dist/AskDrawer-BUMYsRnt.js +38 -0
  9. package/dist/ComputedView-CgYrDbx1.js +3221 -0
  10. package/dist/ConclusionApply-sjGfoEBY.js +153 -0
  11. package/dist/CypherEditor-lus6FA5L.js +485 -0
  12. package/dist/LandingList-6JI6864C.js +230 -0
  13. package/dist/MenuUnfoldOutlined-Cdg24l2h.js +27 -0
  14. package/dist/ModelTrial-ClHFGTpQ.js +359 -0
  15. package/dist/PageRenderer-DBd_g6mN.js +85480 -0
  16. package/dist/README-DjRyTQSR.js +76 -0
  17. package/dist/ScenarioApply-DtW_hh47.js +590 -0
  18. package/dist/SimulateForm-C-i08Jjd.js +153 -0
  19. package/dist/Subgraph-CnrkH9AN.js +32586 -0
  20. package/dist/WorkshopLabPage-DiVXQL9e.js +11364 -0
  21. package/dist/WorkshopRunPage-6hjRUf64.js +253 -0
  22. package/dist/abnfDiagram-WEYOIA3C-beRNhN3c.js +87 -0
  23. package/dist/action-type-tool.service-B2B74fKC.js +1060 -0
  24. package/dist/actionButton-DA5CNEzx.js +94 -0
  25. package/dist/actionButton.en-US-qjeqA7hs.js +94 -0
  26. package/dist/agentChat-EoDznd58.js +116 -0
  27. package/dist/agentChat.en-US-B6-pFd9Y.js +116 -0
  28. package/dist/alertList-DqditwM8.js +84 -0
  29. package/dist/alertList.en-US-BAXAgltP.js +84 -0
  30. package/dist/architectureDiagram-ZHVYKT53-DY2l1qxx.js +4779 -0
  31. package/dist/asOfSlider-QPvHWUMV.js +83 -0
  32. package/dist/asOfSlider.en-US-BI4jVfSn.js +83 -0
  33. package/dist/bkn-agent-execution.service-DVh-SHyl.js +205 -0
  34. package/dist/blockDiagram-RJAE7QA3-DR0mjN2h.js +1435 -0
  35. package/dist/c4Diagram-XDPPPE54-DH5zsGug.js +1518 -0
  36. package/dist/channel-B034hcOF.js +5 -0
  37. package/dist/china-C6m7zXIv.js +9 -0
  38. package/dist/chunk-2E7WHVMD-Ba3svxgx.js +664 -0
  39. package/dist/chunk-2Q5K7J3B-rT4eU6_y.js +15 -0
  40. package/dist/chunk-4EMNKR2T-C1kQZYHK.js +262 -0
  41. package/dist/chunk-55XCU76K-dcpLOktb.js +68 -0
  42. package/dist/chunk-5VM5RSS4-BdpQuzmO.js +19 -0
  43. package/dist/chunk-JWPE2WC7-CDBrSjU7.js +8 -0
  44. package/dist/chunk-VQ5W62QI-BiVKc40w.js +19 -0
  45. package/dist/chunk-XXDRQBXY-CPYrcdVW.js +8 -0
  46. package/dist/chunk-ZCHMQSOR-BG8OLpvb.js +451 -0
  47. package/dist/classDiagram-v2-4MYWR3UA-DqbpQpwI.js +1564 -0
  48. package/dist/component.d-DFoMKuUv.js +179 -0
  49. package/dist/cose-bilkent-JH36ORCC-CdXk4sPf.js +2609 -0
  50. package/dist/customComponents-DasaZ6pq.js +4 -0
  51. package/dist/customComponents.en-US-CkabuCXg.js +79 -0
  52. package/dist/customParseFormat-C0uLEpdq.js +182 -0
  53. package/dist/cynefin-EF2NZ3EQ-D7MVnMHu.js +21746 -0
  54. package/dist/cynefinDiagram-WF24UDRP-BYT_KpDL.js +299 -0
  55. package/dist/cytoscape.esm-BCV9V6aO.js +18760 -0
  56. package/dist/d3-scale-DA8IHmf0.js +1841 -0
  57. package/dist/dagre-NK4GIZVX-l-ghPdM8.js +2154 -0
  58. package/dist/dateRange-BbkLMg8L.js +79 -0
  59. package/dist/dateRange.en-US-CV12Q02G.js +79 -0
  60. package/dist/dayjs.min-DZ-YV8Mv.js +284 -0
  61. package/dist/diagram-CBK3MWTC-Bt3HiwvA.js +542 -0
  62. package/dist/diagram-I5XIIV2D-DcbqfBjx.js +150 -0
  63. package/dist/diagram-ODIL2UCW-9PC1n3n5.js +346 -0
  64. package/dist/diagram-PFBEJUXE-DGhr2kc7.js +478 -0
  65. package/dist/diagram-RJA3I4VV-DwzpOjZ_.js +219 -0
  66. package/dist/diagram-TYUNFSNR-B3Bd3TDU.js +2583 -0
  67. package/dist/dropdownFilter-DOi_8-ZT.js +76 -0
  68. package/dist/dropdownFilter.en-US-BiXpvXtF.js +76 -0
  69. package/dist/ebnfDiagram-V4P3TTPT-E5NN2oKc.js +109 -0
  70. package/dist/elk-QONTBCTQ-dFjcujl_.js +49170 -0
  71. package/dist/erDiagram-KYQIGQAA-BMrasBzB.js +1061 -0
  72. package/dist/eventList-CnsAwfDS.js +115 -0
  73. package/dist/eventList.en-US-Cof3rCLq.js +115 -0
  74. package/dist/eventReport-XS-HegnH.js +76 -0
  75. package/dist/eventReport.en-US-DTx4vzWT.js +76 -0
  76. package/dist/flowDiagram-IUGLLWBU-BGIBH0q0.js +1769 -0
  77. package/dist/ganttChart-DEeSvTJA.js +77 -0
  78. package/dist/ganttChart.en-US-SwRKrnoD.js +77 -0
  79. package/dist/ganttDiagram-R7GPNTJY-C0tb1Lpp.js +1741 -0
  80. package/dist/generateCypher-Ch9_lQa6.js +399 -0
  81. package/dist/gitGraphDiagram-PDYL7XHY-DBqcOa-c.js +815 -0
  82. package/dist/graph-CKJmgLki.js +1541 -0
  83. package/dist/index-BA-GzCXt.js +441 -0
  84. package/dist/infoDiagram-MVDRKAX5-Bwuki4JA.js +24 -0
  85. package/dist/ishikawaDiagram-HPEHV2GE-Dz4d6ygx.js +622 -0
  86. package/dist/journeyDiagram-BOSHW7O7-C99m34Bb.js +834 -0
  87. package/dist/kanban-definition-FNSA4HC5-mdqjODsT.js +724 -0
  88. package/dist/katex-BsrBVQKd.js +11314 -0
  89. package/dist/manifest-BjV1PJ6u.js +41 -0
  90. package/dist/mermaid.core-yQghUlIz.js +17642 -0
  91. package/dist/metricCards-CSb-_cT2.js +104 -0
  92. package/dist/metricCards.en-US-BLLhRsQU.js +104 -0
  93. package/dist/mindmap-definition-6OY57UG3-BZhO2wX4.js +834 -0
  94. package/dist/modelTrial-Bvb-RhGt.js +137 -0
  95. package/dist/modelTrial.en-US-DYcuor-G.js +137 -0
  96. package/dist/models-DekiCOuZ.js +6 -0
  97. package/dist/object-metric-numeric-vs3BeDkH.js +42 -0
  98. package/dist/object-metric.service-flZgBMRX.js +233 -0
  99. package/dist/objectDetail-SQUbp4Py.js +117 -0
  100. package/dist/objectDetail.en-US-DW3mlONM.js +117 -0
  101. package/dist/objectList-D99wPtJH.js +97 -0
  102. package/dist/objectList.en-US-PBBNyVLW.js +97 -0
  103. package/dist/objectTable-0jsFFMN3.js +127 -0
  104. package/dist/objectTable.en-US-yWEs8qc_.js +127 -0
  105. package/dist/pegDiagram-ECIUJNBX-BDa5RfZt.js +95 -0
  106. package/dist/pieDiagram-GNMPY74T-DNVtzXPv.js +165 -0
  107. package/dist/pivotTable-CHmQw18-.js +102 -0
  108. package/dist/pivotTable.en-US-B4uv4P08.js +102 -0
  109. package/dist/prompt-DYrjlEFr.js +373 -0
  110. package/dist/quadrantDiagram-D57K4MC3-vK0f2OvQ.js +1023 -0
  111. package/dist/railroadDiagram-Y72NRBL7-j6ZrTmRp.js +77 -0
  112. package/dist/regionMap-Cme-JyV_.js +128 -0
  113. package/dist/regionMap.en-US-Bwr2_p32.js +128 -0
  114. package/dist/requirementDiagram-EQYSW5RA-DgfEyljA.js +886 -0
  115. package/dist/sankeyDiagram-SY24JHO5-CImx-IX0.js +1160 -0
  116. package/dist/scenarioBar-BV43p7n-.js +122 -0
  117. package/dist/scenarioBar.en-US-5KqMQ2Bg.js +122 -0
  118. package/dist/scheduleGantt-CTYO-zYP.js +180 -0
  119. package/dist/scheduleGantt.en-US-hE7mvVUW.js +180 -0
  120. package/dist/searchBox-Ca7w0f_6.js +67 -0
  121. package/dist/searchBox.en-US-ArS_XBvB.js +67 -0
  122. package/dist/segmentedFilter-MhjVcWo0.js +80 -0
  123. package/dist/segmentedFilter.en-US-BxNrQO5T.js +80 -0
  124. package/dist/sequenceDiagram-BLEHNHQU-nWmjd1ci.js +2969 -0
  125. package/dist/sizeCapture-INFHLROL-D3jlbt7h.js +46 -0
  126. package/dist/stageChain-BxBafwjD.js +74 -0
  127. package/dist/stageChain.en-US-CP0G27n8.js +74 -0
  128. package/dist/stateDiagram-v2-A6IESKWZ-DG1ZetEu.js +1514 -0
  129. package/dist/subgraph-7n4SwliR.js +71 -0
  130. package/dist/subgraph.en-US-BNvY18IW.js +71 -0
  131. package/dist/swimlanes-B3ENRKFQ-cCmJE8AU.js +4991 -0
  132. package/dist/swimlanesDiagram-AYQRV4AK-CtuhyguU.js +14 -0
  133. package/dist/taskInbox-DGWYeI2b.js +118 -0
  134. package/dist/taskInbox.en-US-B-OzDmVl.js +118 -0
  135. package/dist/text-BqSVQKS6.js +78 -0
  136. package/dist/text.en-US-BhAxy_LE.js +78 -0
  137. package/dist/timeline-definition-JXYKGLGB-Cc-INsOv.js +1057 -0
  138. package/dist/trendChart-BjEeRS5_.js +135 -0
  139. package/dist/trendChart.en-US-BBGqWUKM.js +135 -0
  140. package/dist/useLabData-Df-jEHKs.js +20470 -0
  141. package/dist/usecaseDiagram-WPOLBNNX-r8wVjopm.js +7920 -0
  142. package/dist/vennDiagram-Q3Y3IDCW-BZiOcgrj.js +1579 -0
  143. package/dist/wardleyDiagram-IVAIDKWA-16jd07C_.js +675 -0
  144. package/dist/workshop-app-DnHNjBqy.js +86038 -0
  145. package/dist/workshop-app.css +1 -0
  146. package/dist/workshop-app.js +4 -0
  147. package/dist/world-Djau1JyJ.js +9 -0
  148. package/dist/xychartDiagram-4URNHDU4-C8DwWQNh.js +1460 -0
  149. package/dist-cli/workshop.js +341 -218
  150. package/example/host.js +109 -0
  151. package/example/index.html +93 -0
  152. package/example/server.mjs +237 -0
  153. package/index.d.ts +48 -0
  154. package/lib/validate.js +47 -1
  155. package/package.json +17 -5
  156. package/runtime/frame-runtime.js +13 -1
  157. package/workshop-component.js +32 -12
  158. package/workshop.js +2 -0
@@ -0,0 +1,117 @@
1
+ const n = `# 对象详情(objectDetail)
2
+
3
+ 选中一个对象后,从右侧抽屉里显示它的进度、属性,以及沿关系查到的关联记录。用来在列表或汇总里点中一项后,看这一项的全貌并就地处理。
4
+
5
+ ## 适用与不适用
6
+
7
+ - 适用:别的组件(对象表、对象列表、地图、关系子图等)写入了“选中的对象”,这里读它并展开细节。例如点中一张订单,看它的状态、进度和对应的发货记录。
8
+ - 不适用:
9
+ - 要同时看很多对象:用对象表(\`objectTable\`)。
10
+ - 要看对象之间的关系网络:用关系子图(\`subgraph\`)。
11
+ - 要看一个对象在若干环节上的流转数量:用环节链路(\`stageChain\`)。
12
+
13
+ 对象详情不放进页面区域,是页面自带的抽屉。
14
+
15
+ ## 本体契约
16
+
17
+ | 角色 | 对象类要求 | 必要的属性 | 关系 | 必填 |
18
+ | --- | --- | --- | --- | --- |
19
+ | 被查看对象 | 要展开的一类对象,作为页面的数据源 | 标识属性;要显示的属性(默认取前 8 个) | — | 是 |
20
+ | 进度 | 同一对象类 | 数据源上定义的各步骤日期,以及截止日期 | — | 否:不打开“显示进度条”就不画 |
21
+ | 关联记录 | 与被查看对象有关系的对象类,最多 4 块 | 每块要显示的属性 | 被查看对象 → 关联对象,沿关系路径(可多跳) | 否 |
22
+
23
+ 关联记录不是整表读入,而是点开对象时沿知识网络的关系实时查询。
24
+
25
+ ## 组件内置的判断
26
+
27
+ 与行业无关,组件自己做:
28
+
29
+ | 判断 | 规则 |
30
+ | --- | --- |
31
+ | 步骤状态 | 日期已到或“完成条件”成立的步骤为已完成;第一个未完成的为进行中;其余为待办,有计划日期时显示计划日期 |
32
+ | 超期标记 | 进度状态为已超期时,进行中的步骤标红并加提示 |
33
+ | 截止日期说明 | 按页面的基准日期,写明还剩几天、已超期几天;全部完成时写明按期完成或晚了几天;没有截止日期值时写“无截止日期” |
34
+ | 标签 | 属性是“判断状态”计算列时,按取值颜色显示成标签 |
35
+
36
+ “什么算完成”“什么算超期”由数据源的进度定义,不在详情里判断。
37
+
38
+ ## 扩展点
39
+
40
+ ### 逻辑属性与进度
41
+
42
+ - **用途**:详情里显示的业务状态,例如“风险等级”“当前环节”,以及对象走到哪一步。
43
+ - **在哪里配**:属性放在“属性”里;进度在页面的“列与进度”页给数据源设置,再在详情里打开“显示进度条”。
44
+ - **接什么**:知识网络里的属性或逻辑属性,进度步骤读取对象的日期属性或状态。
45
+ - **输入**:选中对象的属性值和页面的基准日期。
46
+ - **输出**:按进度画出的步骤、截止日期说明,以及属性表。
47
+ - **失败与超时**:数据源读取失败时抽屉不显示;找不到选中对象的键时不打开。
48
+ - **结果怎样显示**:步骤条在上,属性表(两列)在中,关联记录各成一块在下。
49
+
50
+ ### 关联记录
51
+
52
+ - **用途**:显示这个对象在其他对象类里的记录,例如订单的发货记录、设备的维修工单。
53
+ - **在哪里配**:“关联区块”,最多 4 块;每块指定名称、对象类、关系路径、要显示的属性、最多行数(1 到 20)。
54
+ - **接什么**:知识网络里从数据源对象类出发能走到的关系。
55
+ - **输入**:被查看对象的键。
56
+ - **输出**:沿路径到达的记录,按所选属性成表。
57
+ - **失败与超时**:查询失败显示“读取失败”;没有记录显示“无记录”。
58
+ - **结果怎样显示**:每块一个标题加一张表;下方说明这些记录沿关系查询得到,可能同时关联其他对象,不一定只属于当前对象。
59
+
60
+ ### 点击后的动作
61
+
62
+ - **用途**:在抽屉标题栏直接问 Agent、做方案推演、对这个对象执行知识网络里的行动。
63
+ - **在哪里配**:链接页的“点击后的动作”,最多 8 项,每项最多 5 个动作;触发点为“按钮”。
64
+ - **接什么**:问 Agent;数据源上的推演操作;知识网络里作用于这类对象的行动。
65
+ - **输入**:被查看的对象。问题可用 \`{count}\` 和这个对象的字段名。
66
+ - **输出**:问题发给分析 Agent;行动先打开执行确认,列出对象、填写参数、检查执行权限,确认后以当前用户的身份执行。
67
+ - **失败与超时**:由平台的执行确认与审批把关。
68
+ - **结果怎样显示**:标题栏右侧出现按钮;数据源有推演操作时自动提供“推演”按钮。
69
+
70
+ ## 交互与联动
71
+
72
+ - **读取**:读“读取”所选的选中变量。变量里有对象时抽屉打开;点另一个对象时抽屉换成它。
73
+ - **写入**:无。
74
+ - **关闭**:关闭只收起抽屉,选中仍保留,关系子图和 Agent 仍能看到该对象;再选另一个对象会重新打开。Agent 代选的对象,要用户点一下才会打开。
75
+ - **数据源**:抽屉不套用页面上的共享筛选,选中的对象即使被筛掉也能显示;但在页面基准日期那天还不存在的对象(按进度第一步的日期判断)不显示。
76
+
77
+ ## 场景配方
78
+
79
+ ### 订单详情:状态、进度与发货
80
+
81
+ | 角色 | 对应 |
82
+ | --- | --- |
83
+ | 被查看对象 | 销售订单 |
84
+ | 进度 | 下单、备货、发货、签收;截止日期为承诺交期 |
85
+ | 关联记录 | 订单 → 发货单(发货日期、承运商、状态) |
86
+
87
+ **知识网络中要有:**
88
+
89
+ - 订单 → 发货单的关系。
90
+ - 订单的逻辑属性“交付状态”,在属性里显示。
91
+ - 可选:行动“催交”,作用于订单。
92
+
93
+ **扩展点挂什么:** 数据源上设置进度(步骤日期与承诺交期);详情里打开“显示进度条”,加一个“发货记录”关联区块;点击后的动作在按钮上加“催交”。
94
+
95
+ **检查项:** 在对象表点一张订单,抽屉打开;步骤条停在“备货”,超期时标红并写明超了几天;发货记录列出这张订单的发货单;点“催交”先弹出确认。
96
+
97
+ ## 给 AI 的指引
98
+
99
+ 1. 先问用户:详情要展开哪一类对象;谁来选中它(对象表、列表还是地图);要看哪几个属性;要不要进度;要看哪些关联记录。
100
+ 2. 详情不自己选对象,要有别的组件写入同一个“选中”变量,两边必须是同一个变量、同一个数据源的对象类。没有写入方时,抽屉永远不会打开。
101
+ 3. 要进度条,先在数据源上设置进度,再打开“显示进度条”;没有设进度时这个开关不起作用。
102
+ 4. 关联区块的“关系路径”必须是从数据源对象类出发能走通的路径,对象类选的是路径终点。找不到关系就列出要补的关系,不要拿别的对象凑。
103
+ 5. 常见错误:
104
+ - 属性选了很多个(几十个):抽屉很长;默认取前 8 个,按需要取舍。
105
+ - 关联区块超过 4 块或最多行数超过 20。
106
+ - 把关联记录当成只属于这个对象的记录:它们是沿关系查到的,可能也关联别的对象。
107
+
108
+ ## 限制
109
+
110
+ - 关联区块最多 4 块,每块最多 20 行。
111
+ - 抽屉宽度固定,属性按两列排。
112
+ - 点击后的动作最多 8 项,每项最多 5 个动作。
113
+ - 对象类数据源最多读入 5000 个对象,Cypher 数据源最多 10000 行(查询没写 LIMIT 时 1000 行);选中的对象不在已读取的部分时找不到,抽屉不打开。
114
+ `;
115
+ export {
116
+ n as default
117
+ };
@@ -0,0 +1,117 @@
1
+ const e = `# Object detail (objectDetail)
2
+
3
+ When an object is selected, a drawer on the right shows its progress, its properties and the related records found along relations. Use it after a click in a list or a summary, to see the whole picture of that item and handle it on the spot.
4
+
5
+ ## When to use it and when not
6
+
7
+ - Use it when another component (object table, object list, map, related graph and so on) writes a "selected object" and this one reads it and opens up the details. For example: click an order and see its status, progress and shipment records.
8
+ - Do not use it:
9
+ - To look at many objects at once: use the object table (\`objectTable\`).
10
+ - To see the network of relations between objects: use the related graph (\`subgraph\`).
11
+ - To see quantities flowing through several stages: use the stage chain (\`stageChain\`).
12
+
13
+ Object detail is not placed in a page region; it is the page's own drawer.
14
+
15
+ ## Ontology contract
16
+
17
+ | Role | Object type | Required properties | Relations | Required |
18
+ | --- | --- | --- | --- | --- |
19
+ | Viewed object | The type of object to open up, as the page's data source | The key property; the properties to show (the first 8 by default) | — | Yes |
20
+ | Progress | The same object type | The step dates defined on the data source, and a due date | — | No: without "Show progress bar" none is drawn |
21
+ | Related records | Object types related to the viewed object, up to 4 blocks | The properties to show in each block | Viewed object → related object, along a relation path (may be several hops) | No |
22
+
23
+ Related records are not read in whole; they are queried live along the relations of the knowledge network when the object is opened.
24
+
25
+ ## Built-in checks
26
+
27
+ Independent of industry, the component does these itself:
28
+
29
+ | Check | Rule |
30
+ | --- | --- |
31
+ | Step status | A step whose date has come or whose "done when" holds is done; the first open one is in progress; the rest wait, showing the planned date when there is one |
32
+ | Overdue mark | When the progress status is overdue, the step in progress is red with a warning mark |
33
+ | Due date line | Against the page's base date, says how many days are left or overdue; when all steps are done, says whether it was on time or how late; with no due date value it says there is no due date |
34
+ | Tags | A property that is a status computed column shows as a tag in the color of its value |
35
+
36
+ What counts as "done" or "overdue" is defined by the data source's progress, not judged in the detail.
37
+
38
+ ## Extension points
39
+
40
+ ### Logical properties and progress
41
+
42
+ - **What for**: business states shown in the detail, such as "risk level" or "current stage", and how far the object has gone.
43
+ - **Where**: properties go in "Properties"; progress is set on the data source in the page's columns and progress tab, then "Show progress bar" is turned on in the detail.
44
+ - **What it connects to**: properties or logical properties of the knowledge network; progress steps read the object's date properties or status.
45
+ - **Input**: the selected object's property values and the page's base date.
46
+ - **Output**: the steps drawn from the progress, the due date line and the property table.
47
+ - **Failure and timeout**: when the data source fails to read, the drawer does not show; when the selected key is not found, it does not open.
48
+ - **How results are shown**: the step bar on top, the property table (two columns) in the middle, each block of related records below.
49
+
50
+ ### Related records
51
+
52
+ - **What for**: show this object's records in other object types, such as an order's shipment records or a machine's repair work orders.
53
+ - **Where**: "Related blocks", up to 4; each gets a name, an object type, a relation path, the properties to show and a row limit (1 to 20).
54
+ - **What it connects to**: relations in the knowledge network reachable from the data source's object type.
55
+ - **Input**: the viewed object's key.
56
+ - **Output**: the records reached along the path, as a table of the chosen properties.
57
+ - **Failure and timeout**: a failed query shows "read failed"; no records shows "no records".
58
+ - **How results are shown**: a title and a table per block; a note under them says the records are found along relations and may also relate to other objects, not only to this one.
59
+
60
+ ### Actions on click
61
+
62
+ - **What for**: ask the Agent, try out scenario operations, or run knowledge network actions on this object, from the drawer's title bar.
63
+ - **Where**: "Actions on click" on the link tab, up to 8 items with up to 5 steps each; the trigger is the button.
64
+ - **What it connects to**: asking the Agent; the scenario operations on the data source; actions of the knowledge network that act on this object type.
65
+ - **Input**: the viewed object. A question may use \`{count}\` and the object's field names.
66
+ - **Output**: the question goes to the analysis Agent; an action first opens the execution confirmation, which lists the objects, takes the parameters and checks execution permission, then runs as the current user.
67
+ - **Failure and timeout**: the platform's execution confirmation and approval decide.
68
+ - **How results are shown**: buttons appear at the right of the title bar; when the data source has scenario operations, a "simulate" button is offered automatically.
69
+
70
+ ## Interaction and links
71
+
72
+ - **Reads**: the selection variable chosen in "Reads". The drawer opens when the variable holds an object; clicking another object switches the drawer to it.
73
+ - **Writes**: none.
74
+ - **Closing**: closing only hides the drawer; the selection stays, so the related graph and the Agent still see the object; selecting another object opens it again. An object the Agent picked opens only when the user clicks it.
75
+ - **Data source**: the drawer does not apply the page's shared filters, so a selected object still shows even if filtered out elsewhere; but an object that does not exist yet on the page's base date (judged by the date of the progress's first step) is not shown.
76
+
77
+ ## Recipes
78
+
79
+ ### Order detail: status, progress and shipments
80
+
81
+ | Role | Maps to |
82
+ | --- | --- |
83
+ | Viewed object | Sales order |
84
+ | Progress | Placed, prepared, shipped, received; the due date is the promised delivery date |
85
+ | Related records | Order → shipment (ship date, carrier, status) |
86
+
87
+ **The knowledge network needs:**
88
+
89
+ - A relation order → shipment.
90
+ - A logical property "delivery status" on orders, shown among the properties.
91
+ - Optional: an action "chase delivery" that acts on orders.
92
+
93
+ **What goes on the extension points:** set the progress on the data source (step dates and the promised date); turn on "Show progress bar" in the detail and add a related block "Shipments"; add "chase delivery" to the buttons in the actions on click.
94
+
95
+ **To check:** click an order in the object table and the drawer opens; the step bar stops at "prepared", and when overdue it is red and says how many days late; shipments lists this order's shipments; clicking "chase delivery" first opens a confirmation.
96
+
97
+ ## Guidance for AI
98
+
99
+ 1. Ask the user first: which object type the detail opens up; which component selects it (object table, list or map); which properties to show; whether progress is wanted; which related records to show.
100
+ 2. The detail does not pick objects itself: another component must write the same "selection" variable, and both must use the same variable and the same data source object type. With nothing writing it, the drawer never opens.
101
+ 3. For a progress bar, set the progress on the data source first, then turn on "Show progress bar"; without a progress the switch does nothing.
102
+ 4. The "relation path" of a related block must be a path that can be walked from the data source's object type, and the object type chosen is the path's end. When no relation is found, list the relations to add; do not make do with other objects.
103
+ 5. Common mistakes:
104
+ - Choosing very many properties (dozens): the drawer gets long; the default is the first 8, so pick what is needed.
105
+ - More than 4 related blocks, or a row limit above 20.
106
+ - Treating related records as belonging only to this object: they are found along relations and may relate to other objects as well.
107
+
108
+ ## Limits
109
+
110
+ - Up to 4 related blocks, up to 20 rows each.
111
+ - The drawer has a fixed width, and properties are laid out in two columns.
112
+ - Actions on click: up to 8 items with up to 5 steps each.
113
+ - At most 5000 objects are read per object type data source, and at most 10,000 rows per Cypher data source (1,000 when its query sets no LIMIT); a selected object outside what was read is not found and the drawer does not open.
114
+ `;
115
+ export {
116
+ e as default
117
+ };
@@ -0,0 +1,97 @@
1
+ const n = `# 对象列表(objectList)
2
+
3
+ 卡片式列表:每项一个标题,加几行说明和一个状态徽标;点一项选中对象。用来做待办、收件箱这类“先看哪几项、点开处理”的入口。
4
+
5
+ ## 适用与不适用
6
+
7
+ - 适用:一类对象里只关心满足条件的那几项,按某个属性排序后逐项处理。例如待审批的订单、临近交期的工单、待检验的批次。
8
+ - 不适用:
9
+ - 要很多列、要翻页、要勾选一批:用对象表(\`objectTable\`)。
10
+ - 要按分组看汇总数:用透视表(\`pivotTable\`)。
11
+ - 要处理系统发出的事件:用事件列表(\`eventList\`)。
12
+
13
+ ## 本体契约
14
+
15
+ | 角色 | 对象类要求 | 必要的属性 | 关系 | 必填 |
16
+ | --- | --- | --- | --- | --- |
17
+ | 列表对象 | 要列出的一类对象,作为页面的数据源 | 标识属性;标题属性(文本);可选:副标题属性、排序属性、徽标属性、条件用到的属性 | — | 是 |
18
+
19
+ 只读一个对象类,不沿关系读数据。需要显示关联对象的信息时,在数据源上加“读取关联数据”计算列,再把它选作标题、副标题或徽标。
20
+
21
+ ## 组件内置的判断
22
+
23
+ - 条件:只显示“仅显示满足以下条件的对象”全部成立的对象;条件可以读基准日期。
24
+ - 徽标颜色:徽标属性是“判断状态”计算列或进度状态时,按它们的取值颜色显示;字段设了显示格式的着色规则时,按第一条成立的规则着色;否则为中性色。
25
+ - 个数:右上角显示满足条件的对象总数;超出“最多显示”时,列表末尾提示还有多少项未显示。
26
+
27
+ 业务含义(什么算“待处理”“紧急”)不在列表里判断,由知识网络的属性决定。
28
+
29
+ ## 扩展点
30
+
31
+ ### 逻辑属性与条件
32
+
33
+ - **用途**:决定列表里有哪些项、怎样排、徽标显示什么,例如“是否待处理”“紧急程度”。
34
+ - **在哪里配**:数据配置里的“仅显示满足以下条件的对象”“排序属性”,显示配置里的“徽标字段”。
35
+ - **接什么**:知识网络里的属性或逻辑属性。“是否待处理”“紧急程度”写成逻辑属性,列表的条件只比较它的取值。
36
+ - **输入**:每个对象的属性值;条件可以比较属性、另一个属性或基准日期。
37
+ - **输出**:留下的对象及其顺序;徽标的取值与颜色。
38
+ - **失败与超时**:数据源读取失败时显示“读取失败”;满足条件的对象为空时显示“无记录”。
39
+ - **结果怎样显示**:标题一行,徽标在其右;副标题把几个属性用“ · ”连接成一行。
40
+
41
+ ### 点击后的动作
42
+
43
+ - **用途**:在每一项旁直接问 Agent、做方案推演、对这一项执行知识网络里的行动。
44
+ - **在哪里配**:链接页的“点击后的动作”,最多 8 项,每项最多 5 个动作;触发点为“行”。
45
+ - **接什么**:问 Agent;数据源上的推演操作;知识网络里作用于这类对象的行动。
46
+ - **输入**:被点的一项。问题可用 \`{count}\` 和这一项的字段名作占位符。
47
+ - **输出**:问题发给分析 Agent;行动先打开执行确认,列出对象、填写参数、检查执行权限,确认后以当前用户的身份执行。
48
+ - **失败与超时**:与对象表相同,由平台的执行确认与审批把关。
49
+ - **结果怎样显示**:每项右侧出现按钮;数据源有推演操作时自动提供“推演”按钮。
50
+
51
+ ## 交互与联动
52
+
53
+ - **写入**:点击写入选中该对象,详情抽屉和关系子图随之显示它;当前选中的项高亮。不配“点击写入”时,各项不可点。
54
+ - **读取**:跟随页面的共享筛选和基准日期。
55
+ - **行动**:按钮在每项右侧,点按钮不会同时选中这一项。
56
+
57
+ ## 场景配方
58
+
59
+ ### 待审批清单:今天先处理哪几张
60
+
61
+ | 角色 | 对应 |
62
+ | --- | --- |
63
+ | 列表对象 | 采购申请单 |
64
+ | 标题属性 | 申请单号 |
65
+ | 副标题属性 | 申请人、金额 |
66
+ | 徽标属性 | 紧急程度 |
67
+ | 排序属性 | 提交日期,升序 |
68
+
69
+ **知识网络中要有:**
70
+
71
+ - 申请单的逻辑属性“待我审批”(是否已轮到审批、尚未处理)和“紧急程度”;判断规则写在属性里。
72
+ - 可选:行动“审批通过”,作用于申请单。
73
+
74
+ **扩展点挂什么:** 条件为“待我审批 等于 是”;徽标选“紧急程度”;点击写入选中申请单,对象详情读同一个选中;每项加“审批通过”行动。
75
+
76
+ **检查项:** 只出现待审批的单;最急的排在前面;点一项,详情抽屉打开;点“审批通过”先弹出确认。
77
+
78
+ ## 给 AI 的指引
79
+
80
+ 1. 先问用户:列表要放哪一类对象;只要哪些(条件);按什么排;每项显示什么;点一项后要联动什么。
81
+ 2. “什么样的才算待处理”是业务判断,先去知识网络找有没有对应的属性或逻辑属性;没有就列出要补的,不要在列表条件里拼一串业务规则。
82
+ 3. 标题属性必填且应是文本;选成数字或日期时标题会显得生硬。
83
+ 4. 想翻页、勾选、看很多列,换用对象表,不要硬配列表。
84
+ 5. 常见错误:
85
+ - 没配“点击写入”就期待点一项能联动:各项会是不可点的。
86
+ - “最多显示”超出 3 到 30 的范围。
87
+ - 徽标选了普通文本字段:徽标是中性色,不会按状态分色;要分色应选“判断状态”计算列或进度状态,或给该字段加显示格式的着色规则。
88
+
89
+ ## 限制
90
+
91
+ - “最多显示”3 到 30 项(默认 8);超出的只提示个数,不翻页。
92
+ - 对象类数据源最多读入 5000 个对象,Cypher 数据源最多 10000 行(查询没写 LIMIT 时 1000 行),超过时上方提示,列表只覆盖已读取部分。
93
+ - 点击后的动作最多 8 项,每项最多 5 个动作;一次执行确认最多 100 个对象。
94
+ `;
95
+ export {
96
+ n as default
97
+ };
@@ -0,0 +1,97 @@
1
+ const e = `# Object list (objectList)
2
+
3
+ A list of cards: each item has a title, a few lines of description and a status badge; clicking an item selects the object. Use it as the entry point of a to-do or inbox: see which few come first and open them to deal with.
4
+
5
+ ## When to use it and when not
6
+
7
+ - Use it when you care only about the few objects of one type that meet a condition, sorted by a property and dealt with one by one. For example: orders waiting for approval, work orders near their due date, batches waiting for inspection.
8
+ - Do not use it:
9
+ - For many columns, paging or ticking a batch: use the object table (\`objectTable\`).
10
+ - To see grouped totals: use the pivot table (\`pivotTable\`).
11
+ - To handle the events the system raises: use the event list (\`eventList\`).
12
+
13
+ ## Ontology contract
14
+
15
+ | Role | Object type | Required properties | Relations | Required |
16
+ | --- | --- | --- | --- | --- |
17
+ | Listed object | The type of object to list, as the page's data source | The key property; a title property (text); optional: subtitle properties, a sort property, a badge property, properties used in the condition | — | Yes |
18
+
19
+ It reads one object type and does not follow relations. To show information from a related object, add a "read related data" computed column on the data source and choose it as the title, subtitle or badge.
20
+
21
+ ## Built-in checks
22
+
23
+ - Condition: only objects for which all of "Show only objects that meet" hold are listed; conditions can read the base date.
24
+ - Badge color: when the badge property is a status computed column or the progress status, the badge shows the colors of their values; when the field has a color rule in its display format, the first rule that holds colors it; otherwise it is neutral.
25
+ - Count: the top right shows how many objects meet the condition; beyond "Show at most", a note under the list says how many are not shown.
26
+
27
+ What a business means by "needs handling" or "urgent" is not judged in the list; the properties of the knowledge network decide that.
28
+
29
+ ## Extension points
30
+
31
+ ### Logical properties and conditions
32
+
33
+ - **What for**: decide which items the list holds, how they are ordered and what the badge shows, such as "needs handling" or "urgency".
34
+ - **Where**: "Show only objects that meet" and "Sort property" in the data settings, and "Badge field" in the display settings.
35
+ - **What it connects to**: properties or logical properties of the knowledge network. Write "needs handling" and "urgency" as logical properties; the list's conditions only compare their values.
36
+ - **Input**: each object's property values; a condition can compare a property, another property or the base date.
37
+ - **Output**: the objects kept and their order; the badge's value and color.
38
+ - **Failure and timeout**: when the data source fails to read the list shows "read failed"; when no object meets the condition it shows "no records".
39
+ - **How results are shown**: the title on one line with the badge to its right; the subtitle joins several properties with " · " on one line.
40
+
41
+ ### Actions on click
42
+
43
+ - **What for**: ask the Agent, try out scenario operations, or run knowledge network actions on one item, right beside it.
44
+ - **Where**: "Actions on click" on the link tab, up to 8 items with up to 5 steps each; the trigger is the row.
45
+ - **What it connects to**: asking the Agent; the scenario operations on the data source; actions of the knowledge network that act on this object type.
46
+ - **Input**: the clicked item. A question may use \`{count}\` and the item's field names as placeholders.
47
+ - **Output**: the question goes to the analysis Agent; an action first opens the execution confirmation, which lists the objects, takes the parameters and checks execution permission, then runs as the current user.
48
+ - **Failure and timeout**: same as the object table: the platform's execution confirmation and approval decide.
49
+ - **How results are shown**: buttons appear on the right of each item; when the data source has scenario operations, a "simulate" button is offered automatically.
50
+
51
+ ## Interaction and links
52
+
53
+ - **Writes**: "Click writes" selects the object; the detail drawer and the related graph show it, and the selected item is highlighted. Without "Click writes" the items cannot be clicked.
54
+ - **Reads**: follows the page's shared filters and base date.
55
+ - **Actions**: the buttons are on the right of each item; pressing one does not select the item as well.
56
+
57
+ ## Recipes
58
+
59
+ ### Approval queue: which requests to handle first today
60
+
61
+ | Role | Maps to |
62
+ | --- | --- |
63
+ | Listed object | Purchase request |
64
+ | Title property | Request number |
65
+ | Subtitle properties | Requester, amount |
66
+ | Badge property | Urgency |
67
+ | Sort property | Submit date, ascending |
68
+
69
+ **The knowledge network needs:**
70
+
71
+ - Logical properties on requests: "waiting for my approval" (whether it is my turn and not yet handled) and "urgency"; the rules are written in the properties.
72
+ - Optional: an action "approve" that acts on requests.
73
+
74
+ **What goes on the extension points:** the condition "waiting for my approval equals yes"; "urgency" as the badge; "Click writes" selecting the request, with object detail reading the same selection; an "approve" action on each item.
75
+
76
+ **To check:** only requests waiting for approval appear; the most urgent come first; clicking an item opens the detail drawer; clicking "approve" first opens a confirmation.
77
+
78
+ ## Guidance for AI
79
+
80
+ 1. Ask the user first: which object type the list holds; which of them only (the condition); how to sort; what each item shows; what a click should drive.
81
+ 2. "What counts as needing handling" is a business judgement: look in the knowledge network for a matching property or logical property first; when there is none, list what must be added, and do not pile business rules into the list's condition.
82
+ 3. The title property is required and should be text; a number or a date reads awkwardly as a title.
83
+ 4. For paging, ticking or many columns, switch to the object table instead of stretching the list.
84
+ 5. Common mistakes:
85
+ - No "Click writes" set while expecting a click to drive other components: the items cannot be clicked.
86
+ - "Show at most" outside 3 to 30.
87
+ - A plain text field chosen as the badge: the badge is neutral and not colored by status; for colors choose a status computed column or the progress status, or add a color rule in the field's display format.
88
+
89
+ ## Limits
90
+
91
+ - "Show at most" is 3 to 30 items (default 8); the rest are only counted in a note, with no paging.
92
+ - At most 5000 objects are read per object type data source, and at most 10,000 rows per Cypher data source (1,000 when its query sets no LIMIT); beyond that a note shows above and the list covers only what was read.
93
+ - Actions on click: up to 8 items with up to 5 steps each; one execution confirmation covers at most 100 objects.
94
+ `;
95
+ export {
96
+ e as default
97
+ };
@@ -0,0 +1,127 @@
1
+ const n = `# 对象表(objectTable)
2
+
3
+ 把一类对象列成明细表,可排序、分页、勾选,点一行选中对象。用来逐项核对、挑出一批对象交给别的组件或行动处理。
4
+
5
+ ## 适用与不适用
6
+
7
+ - 适用:要看一类对象的明细,并能按条件缩小范围、选出其中几项。例如订单明细、工单明细、设备台账。
8
+ - 不适用:
9
+ - 只想看分组后的汇总数:用透视表(\`pivotTable\`)。
10
+ - 要的是待办、收件箱式的卡片列表,每项只有标题和几行说明:用对象列表(\`objectList\`)。
11
+ - 要看单个对象的全部属性与关联记录:用对象详情(\`objectDetail\`),由本表点行打开。
12
+ - 按资源和时间排任务:用调度甘特(\`scheduleGantt\`)。
13
+
14
+ ## 本体契约
15
+
16
+ | 角色 | 对象类要求 | 必要的属性 | 关系 | 必填 |
17
+ | --- | --- | --- | --- | --- |
18
+ | 明细对象 | 要列出的那一类对象,作为页面的数据源 | 标识属性(作为对象的名称与键);至少一个要显示的属性,最多 20 列 | — | 是 |
19
+ | 快捷筛选字段 | 同一对象类 | 一个取值有限的属性,或一个“判断状态”计算列 | — | 否 |
20
+ | 关联数据列 | 与明细对象有关系的对象类 | 要读取的属性(计数、求和、取值等) | 明细对象 → 关联对象,沿关系路径读取 | 否 |
21
+ | 进度 | 同一对象类 | 各步骤的日期、截止日期 | — | 否 |
22
+
23
+ 对象在知识网络中没有绑定数据时,表里显示“知识网络中该对象类尚未绑定数据”。数据源整表读入浏览器,上限见“限制”。
24
+
25
+ ## 组件内置的判断
26
+
27
+ 与行业无关,组件自己做:
28
+
29
+ | 判断 | 规则 |
30
+ | --- | --- |
31
+ | 超期天数 | 列是进度的“超期天数”且大于 0 时显示为红色 |
32
+ | 标签颜色 | 格式选“标签”的列,按该列“判断状态”的取值颜色或进度状态的颜色显示 |
33
+ | 单元格着色 | 按数据源上为该字段设置的“显示格式”着色规则,第一条成立的规则给出颜色 |
34
+ | 快捷筛选按钮 | 字段是“判断状态”计算列时,按它的取值顺序;否则取出现最多的 5 个值,空值不算 |
35
+
36
+ 业务含义(什么算“超期”“高风险”“缺料”)不在表里判断。
37
+
38
+ ## 扩展点
39
+
40
+ ### 逻辑属性与计算列
41
+
42
+ - **用途**:表里要显示、着色、筛选的业务状态,例如“风险等级”“是否加急”“库存是否够用”。
43
+ - **在哪里配**:知识网络里的属性或逻辑属性,直接作为列;页面里的“列与进度”页可加计算列(判断状态、计算天数、数值运算、读取关联数据)和字段的显示格式。
44
+ - **接什么**:判断本身放在知识网络(逻辑属性、指标);表只按取值显示。计算列只用来整理显示,不要在这里写行业规则。
45
+ - **输入**:一行对象的属性值;计算列还可读基准日期。
46
+ - **输出**:一列取值。“判断状态”的每个取值可带颜色(中性、蓝、绿、橙、红),用于标签与徽标。
47
+ - **失败与超时**:“读取关联数据”列随数据源一起读取;某一列查询失败时只有这一列为空(计数也不显示 0),表上方写明哪几列读取失败,其余列照常显示;该列不随基准日期变化。
48
+ - **结果怎样显示**:格式为“标签”的列显示成彩色标签;其余按格式显示文本、日期、数字。
49
+
50
+ ### 点击后的动作
51
+
52
+ - **用途**:在表上直接问 Agent、做方案推演、对选中的行执行知识网络里的行动。
53
+ - **在哪里配**:链接页的“点击后的动作”,最多 8 项,每项最多 5 个动作;触发点为“行”。
54
+ - **接什么**:问 Agent;数据源上定义的推演操作;知识网络里作用于这类对象的行动。
55
+ - **输入**:被点的行。问题可用的占位符:\`{count}\` 和这一行的任何字段名。行动的参数可取“确认时填写”“取筛选的值”“固定值”三种来源。
56
+ - **输出**:问题发给分析 Agent;行动先打开执行确认,列出对象、填写参数、检查执行权限,确认后逐个对象以当前用户的身份执行。
57
+ - **失败与超时**:行动由平台的执行确认与审批把关;没有权限或参数未填时不能执行。
58
+ - **结果怎样显示**:每行末尾出现按钮。数据源有推演操作时,会自动在行末提供“推演”按钮,不必再添加推演动作。
59
+
60
+ ## 交互与联动
61
+
62
+ - **写入**:
63
+ - 点击行写入:选中该对象的键,详情抽屉和关系子图随之显示它;不配则点行没有反应。
64
+ - 勾选写入:每行前出现勾选框,勾选的对象作为一组写入,其他组件可以只看这一组;翻页后已勾选的保持勾选。
65
+ - 表头快捷筛选:按所选字段的取值显示按钮,点击写入该取值。
66
+ - 表头搜索:显示搜索框,搜索范围是格式为文本或标签的列。
67
+ - 点击单元格筛选:最多 4 项,点某列的值写入对应的筛选;再点同一个值清除。
68
+ - **读取**:跟随页面的共享筛选和基准日期;筛选变化时回到第一页,点击行或勾选本身不会翻页。
69
+ - **方案**:页面里有打开的方案、且数据源支持时,第一列标出对象被“改动”“联动”或“相关”,表头出现“只看方案涉及的对象”。
70
+ - **模型结果**:数据源是配了落地的模型结果、且没有打开方案时,表头出现“按此结果执行…”,结果是最新时才能点。
71
+
72
+ ## 场景配方
73
+
74
+ ### 订单跟踪:哪些订单要处理
75
+
76
+ | 角色 | 对应 |
77
+ | --- | --- |
78
+ | 明细对象 | 销售订单(订单号、客户、金额、交货日期、状态) |
79
+ | 快捷筛选字段 | 订单的“交付状态”(逻辑属性或判断状态计算列) |
80
+ | 关联数据列 | 订单 → 客户的名称 |
81
+
82
+ **知识网络中要有:**
83
+
84
+ - 订单 → 客户的关系。
85
+ - 订单的逻辑属性“交付状态”(如正常、临近交期、已超期);业务上怎样算超期在这个属性里定义。
86
+ - 可选:行动“催交”,作用于订单。
87
+
88
+ **扩展点挂什么:** 快捷筛选字段选“交付状态”;点击后的动作加一项:对行执行“催交”;勾选写入一个集合,供其他组件只看被勾选的订单。
89
+
90
+ **检查项:** 点“已超期”按钮,表只剩超期订单;勾选两行后,在其他组件里能只看这两项;点“催交”先弹出确认,列出对象。
91
+
92
+ ### 设备台账:按状态逐台核对
93
+
94
+ | 角色 | 对应 |
95
+ | --- | --- |
96
+ | 明细对象 | 设备(编号、名称、所在车间、状态、下次保养日期) |
97
+ | 点击单元格筛选 | “所在车间”列 |
98
+
99
+ **知识网络中要有:** 设备对象类,及“保养状态”这类逻辑属性。
100
+
101
+ **扩展点挂什么:** “所在车间”列配点击单元格筛选,写入车间筛选,页面上其他组件随之只看该车间。
102
+
103
+ **检查项:** 点一个车间名,页面其他组件跟着缩小;再点同一个名字,恢复。
104
+
105
+ ## 给 AI 的指引
106
+
107
+ 1. 先问用户:这张表要列哪一类对象;要看哪几列;点一行后要联动什么(详情、子图、别的表);要不要勾选一批给别的组件或行动用。缺哪个就问,不要猜。
108
+ 2. 数据源先在页面里有这一类对象,再配表。对象类在知识网络里找不到时,列出要补的内容,不要用别的对象凑。
109
+ 3. 业务状态(风险、是否加急、是否超期)用知识网络的逻辑属性,表里只显示它;不要把行业规则写成列里的条件。
110
+ 4. 想让点行带动别的组件,必须配“点击行写入”,并在详情、子图里读同一个筛选;两边变量要对上。
111
+ 5. 常见错误:
112
+ - 选了“表头快捷筛选”的变量,却没选“表头快捷筛选字段”:配置会报错。
113
+ - 把“点击行写入”和“勾选写入”配成同一个变量:它们一个是选中的一项,一个是一组对象,类型不同。
114
+ - 想在列里放金额、日期却选了“文本”格式:数字、日期要选对应格式,才能右对齐、正确排序和显示。
115
+ - 每页行数超出 5 到 50 的范围。
116
+ - 想按某列的值筛选整页却没配“点击单元格筛选”,只配了点击行。
117
+
118
+ ## 限制
119
+
120
+ - 最多 20 列;每页 5 到 50 行(默认 10);点击单元格筛选最多 4 项。
121
+ - 对象类数据源最多读入 5000 个对象,Cypher 数据源最多 10000 行(查询没写 LIMIT 时 1000 行);超过时表上方提示“仅读取前 N 条(共 M 条)”(Cypher 数据源不知道总数,只提示可能不完整),表里的数据与统计只覆盖已读取部分。
122
+ - 点击后的动作最多 8 项,每项最多 5 个动作;一次执行确认最多 100 个对象,单个行动配置默认最多 20 个。
123
+ - 搜索只在浏览器已读入的对象上做,不去知识网络再查。
124
+ `;
125
+ export {
126
+ n as default
127
+ };