@next-bricks/ai-portal 0.70.3 → 0.70.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.json CHANGED
@@ -1,121 +1,4 @@
1
1
  {
2
- "ai-portal.home-container": {
3
- "properties": [
4
- {
5
- "name": "sticky",
6
- "annotation": {
7
- "type": "keyword",
8
- "value": "boolean"
9
- }
10
- }
11
- ],
12
- "events": [],
13
- "methods": []
14
- },
15
- "ai-portal.stat-with-mini-chart": {
16
- "properties": [
17
- {
18
- "name": "label",
19
- "annotation": {
20
- "type": "keyword",
21
- "value": "string"
22
- }
23
- },
24
- {
25
- "name": "value",
26
- "annotation": {
27
- "type": "keyword",
28
- "value": "string"
29
- }
30
- },
31
- {
32
- "name": "size",
33
- "annotation": {
34
- "type": "union",
35
- "types": [
36
- {
37
- "type": "jsLiteral",
38
- "value": "medium"
39
- },
40
- {
41
- "type": "jsLiteral",
42
- "value": "small"
43
- }
44
- ]
45
- }
46
- },
47
- {
48
- "name": "lineColor",
49
- "annotation": {
50
- "type": "keyword",
51
- "value": "string"
52
- }
53
- },
54
- {
55
- "name": "showArea",
56
- "annotation": {
57
- "type": "keyword",
58
- "value": "boolean"
59
- }
60
- },
61
- {
62
- "name": "min",
63
- "annotation": {
64
- "type": "keyword",
65
- "value": "number"
66
- }
67
- },
68
- {
69
- "name": "max",
70
- "annotation": {
71
- "type": "keyword",
72
- "value": "number"
73
- }
74
- },
75
- {
76
- "name": "xField",
77
- "annotation": {
78
- "type": "keyword",
79
- "value": "string"
80
- }
81
- },
82
- {
83
- "name": "yField",
84
- "annotation": {
85
- "type": "keyword",
86
- "value": "string"
87
- }
88
- },
89
- {
90
- "name": "data",
91
- "annotation": {
92
- "type": "array",
93
- "elementType": {
94
- "type": "reference",
95
- "typeName": {
96
- "type": "identifier",
97
- "name": "Record"
98
- },
99
- "typeParameters": {
100
- "type": "typeParameterInstantiation",
101
- "params": [
102
- {
103
- "type": "keyword",
104
- "value": "string"
105
- },
106
- {
107
- "type": "keyword",
108
- "value": "number"
109
- }
110
- ]
111
- }
112
- }
113
- }
114
- }
115
- ],
116
- "events": [],
117
- "methods": []
118
- },
119
2
  "ai-portal.icon-button": {
120
3
  "properties": [
121
4
  {
@@ -2134,11 +2017,11 @@
2134
2017
  }
2135
2018
  }
2136
2019
  },
2137
- "ai-portal.set-chat-command": {
2020
+ "ai-portal.set-chat-mentioned-employee": {
2138
2021
  "type": "provider",
2139
2022
  "params": [
2140
2023
  {
2141
- "name": "command",
2024
+ "name": "chatMentionedEmployee",
2142
2025
  "annotation": {
2143
2026
  "type": "union",
2144
2027
  "types": [
@@ -2146,7 +2029,7 @@
2146
2029
  "type": "reference",
2147
2030
  "typeName": {
2148
2031
  "type": "identifier",
2149
- "name": "ChatCommand"
2032
+ "name": "ChatMentionedEmployee"
2150
2033
  }
2151
2034
  },
2152
2035
  {
@@ -2166,13 +2049,13 @@
2166
2049
  "types": [
2167
2050
  {
2168
2051
  "type": "interface",
2169
- "name": "ChatCommand",
2052
+ "name": "ChatMentionedEmployee",
2170
2053
  "body": [
2171
2054
  {
2172
2055
  "type": "propertySignature",
2173
2056
  "key": {
2174
2057
  "type": "identifier",
2175
- "name": "command"
2058
+ "name": "name"
2176
2059
  },
2177
2060
  "annotation": {
2178
2061
  "type": "keyword",
@@ -2184,14 +2067,11 @@
2184
2067
  "type": "propertySignature",
2185
2068
  "key": {
2186
2069
  "type": "identifier",
2187
- "name": "payload"
2070
+ "name": "employeeId"
2188
2071
  },
2189
2072
  "annotation": {
2190
- "type": "reference",
2191
- "typeName": {
2192
- "type": "identifier",
2193
- "name": "CommandPayload"
2194
- }
2073
+ "type": "keyword",
2074
+ "value": "string"
2195
2075
  },
2196
2076
  "computed": false
2197
2077
  }
@@ -2199,11 +2079,11 @@
2199
2079
  }
2200
2080
  ]
2201
2081
  },
2202
- "ai-portal.set-chat-mentioned-employee": {
2082
+ "ai-portal.set-chat-command": {
2203
2083
  "type": "provider",
2204
2084
  "params": [
2205
2085
  {
2206
- "name": "chatMentionedEmployee",
2086
+ "name": "command",
2207
2087
  "annotation": {
2208
2088
  "type": "union",
2209
2089
  "types": [
@@ -2211,7 +2091,7 @@
2211
2091
  "type": "reference",
2212
2092
  "typeName": {
2213
2093
  "type": "identifier",
2214
- "name": "ChatMentionedEmployee"
2094
+ "name": "ChatCommand"
2215
2095
  }
2216
2096
  },
2217
2097
  {
@@ -2231,13 +2111,13 @@
2231
2111
  "types": [
2232
2112
  {
2233
2113
  "type": "interface",
2234
- "name": "ChatMentionedEmployee",
2114
+ "name": "ChatCommand",
2235
2115
  "body": [
2236
2116
  {
2237
2117
  "type": "propertySignature",
2238
2118
  "key": {
2239
2119
  "type": "identifier",
2240
- "name": "name"
2120
+ "name": "command"
2241
2121
  },
2242
2122
  "annotation": {
2243
2123
  "type": "keyword",
@@ -2249,11 +2129,14 @@
2249
2129
  "type": "propertySignature",
2250
2130
  "key": {
2251
2131
  "type": "identifier",
2252
- "name": "employeeId"
2132
+ "name": "payload"
2253
2133
  },
2254
2134
  "annotation": {
2255
- "type": "keyword",
2256
- "value": "string"
2135
+ "type": "reference",
2136
+ "typeName": {
2137
+ "type": "identifier",
2138
+ "name": "CommandPayload"
2139
+ }
2257
2140
  },
2258
2141
  "computed": false
2259
2142
  }
@@ -2612,89 +2495,206 @@
2612
2495
  "events": [],
2613
2496
  "methods": []
2614
2497
  },
2615
- "ai-portal.project-knowledges": {
2498
+ "ai-portal.home-container": {
2616
2499
  "properties": [
2617
2500
  {
2618
- "name": "list",
2501
+ "name": "sticky",
2619
2502
  "annotation": {
2620
- "type": "array",
2621
- "elementType": {
2622
- "type": "reference",
2623
- "typeName": {
2624
- "type": "identifier",
2625
- "name": "Knowledge"
2626
- }
2627
- }
2503
+ "type": "keyword",
2504
+ "value": "boolean"
2505
+ }
2506
+ }
2507
+ ],
2508
+ "events": [],
2509
+ "methods": []
2510
+ },
2511
+ "ai-portal.stat-with-mini-chart": {
2512
+ "properties": [
2513
+ {
2514
+ "name": "label",
2515
+ "annotation": {
2516
+ "type": "keyword",
2517
+ "value": "string"
2628
2518
  }
2629
2519
  },
2630
2520
  {
2631
- "name": "urlTemplate",
2521
+ "name": "value",
2632
2522
  "annotation": {
2633
2523
  "type": "keyword",
2634
2524
  "value": "string"
2635
2525
  }
2636
2526
  },
2637
2527
  {
2638
- "name": "actions",
2528
+ "name": "size",
2639
2529
  "annotation": {
2640
- "type": "array",
2641
- "elementType": {
2642
- "type": "reference",
2643
- "typeName": {
2644
- "type": "identifier",
2645
- "name": "ActionType"
2530
+ "type": "union",
2531
+ "types": [
2532
+ {
2533
+ "type": "jsLiteral",
2534
+ "value": "medium"
2535
+ },
2536
+ {
2537
+ "type": "jsLiteral",
2538
+ "value": "small"
2646
2539
  }
2647
- }
2540
+ ]
2648
2541
  }
2649
- }
2650
- ],
2651
- "events": [
2542
+ },
2652
2543
  {
2653
- "name": "action.click",
2654
- "detail": {
2655
- "annotation": {
2656
- "type": "reference",
2657
- "typeName": {
2658
- "type": "identifier",
2659
- "name": "ActionClickDetail"
2660
- }
2661
- }
2544
+ "name": "lineColor",
2545
+ "annotation": {
2546
+ "type": "keyword",
2547
+ "value": "string"
2662
2548
  }
2663
2549
  },
2664
2550
  {
2665
- "name": "item.click",
2666
- "detail": {
2667
- "annotation": {
2668
- "type": "reference",
2669
- "typeName": {
2670
- "type": "identifier",
2671
- "name": "Knowledge"
2672
- }
2673
- }
2551
+ "name": "showArea",
2552
+ "annotation": {
2553
+ "type": "keyword",
2554
+ "value": "boolean"
2674
2555
  }
2675
- }
2676
- ],
2677
- "methods": [],
2678
- "types": [
2556
+ },
2679
2557
  {
2680
- "type": "interface",
2681
- "name": "Knowledge",
2682
- "body": [
2683
- {
2684
- "type": "propertySignature",
2685
- "key": {
2686
- "type": "identifier",
2687
- "name": "instanceId"
2688
- },
2689
- "annotation": {
2690
- "type": "keyword",
2691
- "value": "string"
2692
- },
2693
- "computed": false
2694
- },
2695
- {
2696
- "type": "propertySignature",
2697
- "key": {
2558
+ "name": "min",
2559
+ "annotation": {
2560
+ "type": "keyword",
2561
+ "value": "number"
2562
+ }
2563
+ },
2564
+ {
2565
+ "name": "max",
2566
+ "annotation": {
2567
+ "type": "keyword",
2568
+ "value": "number"
2569
+ }
2570
+ },
2571
+ {
2572
+ "name": "xField",
2573
+ "annotation": {
2574
+ "type": "keyword",
2575
+ "value": "string"
2576
+ }
2577
+ },
2578
+ {
2579
+ "name": "yField",
2580
+ "annotation": {
2581
+ "type": "keyword",
2582
+ "value": "string"
2583
+ }
2584
+ },
2585
+ {
2586
+ "name": "data",
2587
+ "annotation": {
2588
+ "type": "array",
2589
+ "elementType": {
2590
+ "type": "reference",
2591
+ "typeName": {
2592
+ "type": "identifier",
2593
+ "name": "Record"
2594
+ },
2595
+ "typeParameters": {
2596
+ "type": "typeParameterInstantiation",
2597
+ "params": [
2598
+ {
2599
+ "type": "keyword",
2600
+ "value": "string"
2601
+ },
2602
+ {
2603
+ "type": "keyword",
2604
+ "value": "number"
2605
+ }
2606
+ ]
2607
+ }
2608
+ }
2609
+ }
2610
+ }
2611
+ ],
2612
+ "events": [],
2613
+ "methods": []
2614
+ },
2615
+ "ai-portal.project-knowledges": {
2616
+ "properties": [
2617
+ {
2618
+ "name": "list",
2619
+ "annotation": {
2620
+ "type": "array",
2621
+ "elementType": {
2622
+ "type": "reference",
2623
+ "typeName": {
2624
+ "type": "identifier",
2625
+ "name": "Knowledge"
2626
+ }
2627
+ }
2628
+ }
2629
+ },
2630
+ {
2631
+ "name": "urlTemplate",
2632
+ "annotation": {
2633
+ "type": "keyword",
2634
+ "value": "string"
2635
+ }
2636
+ },
2637
+ {
2638
+ "name": "actions",
2639
+ "annotation": {
2640
+ "type": "array",
2641
+ "elementType": {
2642
+ "type": "reference",
2643
+ "typeName": {
2644
+ "type": "identifier",
2645
+ "name": "ActionType"
2646
+ }
2647
+ }
2648
+ }
2649
+ }
2650
+ ],
2651
+ "events": [
2652
+ {
2653
+ "name": "action.click",
2654
+ "detail": {
2655
+ "annotation": {
2656
+ "type": "reference",
2657
+ "typeName": {
2658
+ "type": "identifier",
2659
+ "name": "ActionClickDetail"
2660
+ }
2661
+ }
2662
+ }
2663
+ },
2664
+ {
2665
+ "name": "item.click",
2666
+ "detail": {
2667
+ "annotation": {
2668
+ "type": "reference",
2669
+ "typeName": {
2670
+ "type": "identifier",
2671
+ "name": "Knowledge"
2672
+ }
2673
+ }
2674
+ }
2675
+ }
2676
+ ],
2677
+ "methods": [],
2678
+ "types": [
2679
+ {
2680
+ "type": "interface",
2681
+ "name": "Knowledge",
2682
+ "body": [
2683
+ {
2684
+ "type": "propertySignature",
2685
+ "key": {
2686
+ "type": "identifier",
2687
+ "name": "instanceId"
2688
+ },
2689
+ "annotation": {
2690
+ "type": "keyword",
2691
+ "value": "string"
2692
+ },
2693
+ "computed": false
2694
+ },
2695
+ {
2696
+ "type": "propertySignature",
2697
+ "key": {
2698
2698
  "type": "identifier",
2699
2699
  "name": "name"
2700
2700
  },
@@ -5706,6 +5706,191 @@
5706
5706
  }
5707
5707
  ]
5708
5708
  },
5709
+ "ai-portal.notice-list": {
5710
+ "properties": [
5711
+ {
5712
+ "name": "dataSource",
5713
+ "annotation": {
5714
+ "type": "array",
5715
+ "elementType": {
5716
+ "type": "reference",
5717
+ "typeName": {
5718
+ "type": "identifier",
5719
+ "name": "NoticeItem"
5720
+ }
5721
+ }
5722
+ }
5723
+ },
5724
+ {
5725
+ "name": "emptyText",
5726
+ "annotation": {
5727
+ "type": "keyword",
5728
+ "value": "string"
5729
+ }
5730
+ },
5731
+ {
5732
+ "name": "urlTemplate",
5733
+ "annotation": {
5734
+ "type": "keyword",
5735
+ "value": "string"
5736
+ }
5737
+ },
5738
+ {
5739
+ "name": "urlTarget",
5740
+ "annotation": {
5741
+ "type": "reference",
5742
+ "typeName": {
5743
+ "type": "identifier",
5744
+ "name": "Target"
5745
+ }
5746
+ }
5747
+ },
5748
+ {
5749
+ "name": "selectedIds",
5750
+ "annotation": {
5751
+ "type": "array",
5752
+ "elementType": {
5753
+ "type": "keyword",
5754
+ "value": "string"
5755
+ }
5756
+ }
5757
+ }
5758
+ ],
5759
+ "events": [
5760
+ {
5761
+ "name": "notice.click",
5762
+ "detail": {
5763
+ "annotation": {
5764
+ "type": "reference",
5765
+ "typeName": {
5766
+ "type": "identifier",
5767
+ "name": "NoticeItem"
5768
+ }
5769
+ }
5770
+ }
5771
+ },
5772
+ {
5773
+ "name": "mark.items.read",
5774
+ "detail": {
5775
+ "annotation": {
5776
+ "type": "array",
5777
+ "elementType": {
5778
+ "type": "reference",
5779
+ "typeName": {
5780
+ "type": "identifier",
5781
+ "name": "NoticeItem"
5782
+ }
5783
+ }
5784
+ }
5785
+ }
5786
+ },
5787
+ {
5788
+ "name": "mark.all.read",
5789
+ "detail": {
5790
+ "annotation": {
5791
+ "type": "keyword",
5792
+ "value": "void"
5793
+ }
5794
+ }
5795
+ }
5796
+ ],
5797
+ "methods": [],
5798
+ "types": [
5799
+ {
5800
+ "type": "interface",
5801
+ "name": "NoticeItem",
5802
+ "body": [
5803
+ {
5804
+ "type": "propertySignature",
5805
+ "key": {
5806
+ "type": "identifier",
5807
+ "name": "id"
5808
+ },
5809
+ "annotation": {
5810
+ "type": "keyword",
5811
+ "value": "string"
5812
+ },
5813
+ "computed": false
5814
+ },
5815
+ {
5816
+ "type": "propertySignature",
5817
+ "key": {
5818
+ "type": "identifier",
5819
+ "name": "type"
5820
+ },
5821
+ "annotation": {
5822
+ "type": "keyword",
5823
+ "value": "string"
5824
+ },
5825
+ "computed": false
5826
+ },
5827
+ {
5828
+ "type": "propertySignature",
5829
+ "key": {
5830
+ "type": "identifier",
5831
+ "name": "isRead"
5832
+ },
5833
+ "annotation": {
5834
+ "type": "keyword",
5835
+ "value": "boolean"
5836
+ },
5837
+ "computed": false
5838
+ },
5839
+ {
5840
+ "type": "propertySignature",
5841
+ "key": {
5842
+ "type": "identifier",
5843
+ "name": "title"
5844
+ },
5845
+ "annotation": {
5846
+ "type": "keyword",
5847
+ "value": "string"
5848
+ },
5849
+ "computed": false
5850
+ },
5851
+ {
5852
+ "type": "propertySignature",
5853
+ "key": {
5854
+ "type": "identifier",
5855
+ "name": "description"
5856
+ },
5857
+ "annotation": {
5858
+ "type": "keyword",
5859
+ "value": "string"
5860
+ },
5861
+ "optional": true,
5862
+ "computed": false
5863
+ },
5864
+ {
5865
+ "type": "propertySignature",
5866
+ "key": {
5867
+ "type": "identifier",
5868
+ "name": "time"
5869
+ },
5870
+ "annotation": {
5871
+ "type": "keyword",
5872
+ "value": "number"
5873
+ },
5874
+ "computed": false
5875
+ },
5876
+ {
5877
+ "type": "propertySignature",
5878
+ "key": {
5879
+ "type": "identifier",
5880
+ "name": "url"
5881
+ },
5882
+ "annotation": {
5883
+ "type": "keyword",
5884
+ "value": "string"
5885
+ },
5886
+ "optional": true,
5887
+ "computed": false,
5888
+ "description": "单个消息详情链接,优先级高于 urlTemplate"
5889
+ }
5890
+ ]
5891
+ }
5892
+ ]
5893
+ },
5709
5894
  "ai-portal.running-flow": {
5710
5895
  "properties": [
5711
5896
  {
@@ -6076,191 +6261,6 @@
6076
6261
  }
6077
6262
  ]
6078
6263
  },
6079
- "ai-portal.notice-list": {
6080
- "properties": [
6081
- {
6082
- "name": "dataSource",
6083
- "annotation": {
6084
- "type": "array",
6085
- "elementType": {
6086
- "type": "reference",
6087
- "typeName": {
6088
- "type": "identifier",
6089
- "name": "NoticeItem"
6090
- }
6091
- }
6092
- }
6093
- },
6094
- {
6095
- "name": "emptyText",
6096
- "annotation": {
6097
- "type": "keyword",
6098
- "value": "string"
6099
- }
6100
- },
6101
- {
6102
- "name": "urlTemplate",
6103
- "annotation": {
6104
- "type": "keyword",
6105
- "value": "string"
6106
- }
6107
- },
6108
- {
6109
- "name": "urlTarget",
6110
- "annotation": {
6111
- "type": "reference",
6112
- "typeName": {
6113
- "type": "identifier",
6114
- "name": "Target"
6115
- }
6116
- }
6117
- },
6118
- {
6119
- "name": "selectedIds",
6120
- "annotation": {
6121
- "type": "array",
6122
- "elementType": {
6123
- "type": "keyword",
6124
- "value": "string"
6125
- }
6126
- }
6127
- }
6128
- ],
6129
- "events": [
6130
- {
6131
- "name": "notice.click",
6132
- "detail": {
6133
- "annotation": {
6134
- "type": "reference",
6135
- "typeName": {
6136
- "type": "identifier",
6137
- "name": "NoticeItem"
6138
- }
6139
- }
6140
- }
6141
- },
6142
- {
6143
- "name": "mark.items.read",
6144
- "detail": {
6145
- "annotation": {
6146
- "type": "array",
6147
- "elementType": {
6148
- "type": "reference",
6149
- "typeName": {
6150
- "type": "identifier",
6151
- "name": "NoticeItem"
6152
- }
6153
- }
6154
- }
6155
- }
6156
- },
6157
- {
6158
- "name": "mark.all.read",
6159
- "detail": {
6160
- "annotation": {
6161
- "type": "keyword",
6162
- "value": "void"
6163
- }
6164
- }
6165
- }
6166
- ],
6167
- "methods": [],
6168
- "types": [
6169
- {
6170
- "type": "interface",
6171
- "name": "NoticeItem",
6172
- "body": [
6173
- {
6174
- "type": "propertySignature",
6175
- "key": {
6176
- "type": "identifier",
6177
- "name": "id"
6178
- },
6179
- "annotation": {
6180
- "type": "keyword",
6181
- "value": "string"
6182
- },
6183
- "computed": false
6184
- },
6185
- {
6186
- "type": "propertySignature",
6187
- "key": {
6188
- "type": "identifier",
6189
- "name": "type"
6190
- },
6191
- "annotation": {
6192
- "type": "keyword",
6193
- "value": "string"
6194
- },
6195
- "computed": false
6196
- },
6197
- {
6198
- "type": "propertySignature",
6199
- "key": {
6200
- "type": "identifier",
6201
- "name": "isRead"
6202
- },
6203
- "annotation": {
6204
- "type": "keyword",
6205
- "value": "boolean"
6206
- },
6207
- "computed": false
6208
- },
6209
- {
6210
- "type": "propertySignature",
6211
- "key": {
6212
- "type": "identifier",
6213
- "name": "title"
6214
- },
6215
- "annotation": {
6216
- "type": "keyword",
6217
- "value": "string"
6218
- },
6219
- "computed": false
6220
- },
6221
- {
6222
- "type": "propertySignature",
6223
- "key": {
6224
- "type": "identifier",
6225
- "name": "description"
6226
- },
6227
- "annotation": {
6228
- "type": "keyword",
6229
- "value": "string"
6230
- },
6231
- "optional": true,
6232
- "computed": false
6233
- },
6234
- {
6235
- "type": "propertySignature",
6236
- "key": {
6237
- "type": "identifier",
6238
- "name": "time"
6239
- },
6240
- "annotation": {
6241
- "type": "keyword",
6242
- "value": "number"
6243
- },
6244
- "computed": false
6245
- },
6246
- {
6247
- "type": "propertySignature",
6248
- "key": {
6249
- "type": "identifier",
6250
- "name": "url"
6251
- },
6252
- "annotation": {
6253
- "type": "keyword",
6254
- "value": "string"
6255
- },
6256
- "optional": true,
6257
- "computed": false,
6258
- "description": "单个消息详情链接,优先级高于 urlTemplate"
6259
- }
6260
- ]
6261
- }
6262
- ]
6263
- },
6264
6264
  "ai-portal.chat-panel-welcome": {
6265
6265
  "properties": [
6266
6266
  {