@next-bricks/ai-portal 0.59.4 → 0.59.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
@@ -84,6 +84,110 @@
84
84
  }
85
85
  ]
86
86
  },
87
+ "ai-portal.stat-with-mini-chart": {
88
+ "properties": [
89
+ {
90
+ "name": "label",
91
+ "annotation": {
92
+ "type": "keyword",
93
+ "value": "string"
94
+ }
95
+ },
96
+ {
97
+ "name": "value",
98
+ "annotation": {
99
+ "type": "keyword",
100
+ "value": "string"
101
+ }
102
+ },
103
+ {
104
+ "name": "size",
105
+ "annotation": {
106
+ "type": "union",
107
+ "types": [
108
+ {
109
+ "type": "jsLiteral",
110
+ "value": "medium"
111
+ },
112
+ {
113
+ "type": "jsLiteral",
114
+ "value": "small"
115
+ }
116
+ ]
117
+ }
118
+ },
119
+ {
120
+ "name": "lineColor",
121
+ "annotation": {
122
+ "type": "keyword",
123
+ "value": "string"
124
+ }
125
+ },
126
+ {
127
+ "name": "showArea",
128
+ "annotation": {
129
+ "type": "keyword",
130
+ "value": "boolean"
131
+ }
132
+ },
133
+ {
134
+ "name": "min",
135
+ "annotation": {
136
+ "type": "keyword",
137
+ "value": "number"
138
+ }
139
+ },
140
+ {
141
+ "name": "max",
142
+ "annotation": {
143
+ "type": "keyword",
144
+ "value": "number"
145
+ }
146
+ },
147
+ {
148
+ "name": "xField",
149
+ "annotation": {
150
+ "type": "keyword",
151
+ "value": "string"
152
+ }
153
+ },
154
+ {
155
+ "name": "yField",
156
+ "annotation": {
157
+ "type": "keyword",
158
+ "value": "string"
159
+ }
160
+ },
161
+ {
162
+ "name": "data",
163
+ "annotation": {
164
+ "type": "array",
165
+ "elementType": {
166
+ "type": "reference",
167
+ "typeName": {
168
+ "type": "identifier",
169
+ "name": "Record"
170
+ },
171
+ "typeParameters": {
172
+ "type": "typeParameterInstantiation",
173
+ "params": [
174
+ {
175
+ "type": "keyword",
176
+ "value": "string"
177
+ },
178
+ {
179
+ "type": "keyword",
180
+ "value": "number"
181
+ }
182
+ ]
183
+ }
184
+ }
185
+ }
186
+ }
187
+ ],
188
+ "events": [],
189
+ "methods": []
190
+ },
87
191
  "ai-portal.home-container": {
88
192
  "properties": [
89
193
  {
@@ -720,77 +824,6 @@
720
824
  }
721
825
  ]
722
826
  },
723
- "ai-portal.tab-list": {
724
- "properties": [
725
- {
726
- "name": "tabs",
727
- "annotation": {
728
- "type": "array",
729
- "elementType": {
730
- "type": "reference",
731
- "typeName": {
732
- "type": "identifier",
733
- "name": "Tab"
734
- }
735
- }
736
- }
737
- },
738
- {
739
- "name": "activeTab",
740
- "annotation": {
741
- "type": "keyword",
742
- "value": "string"
743
- }
744
- }
745
- ],
746
- "events": [
747
- {
748
- "name": "tab.click",
749
- "detail": {
750
- "annotation": {
751
- "type": "reference",
752
- "typeName": {
753
- "type": "identifier",
754
- "name": "Tab"
755
- }
756
- }
757
- }
758
- }
759
- ],
760
- "methods": [],
761
- "types": [
762
- {
763
- "type": "interface",
764
- "name": "Tab",
765
- "body": [
766
- {
767
- "type": "propertySignature",
768
- "key": {
769
- "type": "identifier",
770
- "name": "id"
771
- },
772
- "annotation": {
773
- "type": "keyword",
774
- "value": "string"
775
- },
776
- "computed": false
777
- },
778
- {
779
- "type": "propertySignature",
780
- "key": {
781
- "type": "identifier",
782
- "name": "label"
783
- },
784
- "annotation": {
785
- "type": "keyword",
786
- "value": "string"
787
- },
788
- "computed": false
789
- }
790
- ]
791
- }
792
- ]
793
- },
794
827
  "ai-portal.page-container": {
795
828
  "properties": [
796
829
  {
@@ -899,109 +932,76 @@
899
932
  }
900
933
  ]
901
934
  },
902
- "ai-portal.stat-with-mini-chart": {
935
+ "ai-portal.tab-list": {
903
936
  "properties": [
904
937
  {
905
- "name": "label",
906
- "annotation": {
907
- "type": "keyword",
908
- "value": "string"
909
- }
910
- },
911
- {
912
- "name": "value",
913
- "annotation": {
914
- "type": "keyword",
915
- "value": "string"
916
- }
917
- },
918
- {
919
- "name": "size",
938
+ "name": "tabs",
920
939
  "annotation": {
921
- "type": "union",
922
- "types": [
923
- {
924
- "type": "jsLiteral",
925
- "value": "medium"
926
- },
927
- {
928
- "type": "jsLiteral",
929
- "value": "small"
940
+ "type": "array",
941
+ "elementType": {
942
+ "type": "reference",
943
+ "typeName": {
944
+ "type": "identifier",
945
+ "name": "Tab"
930
946
  }
931
- ]
932
- }
933
- },
934
- {
935
- "name": "lineColor",
936
- "annotation": {
937
- "type": "keyword",
938
- "value": "string"
939
- }
940
- },
941
- {
942
- "name": "showArea",
943
- "annotation": {
944
- "type": "keyword",
945
- "value": "boolean"
946
- }
947
- },
948
- {
949
- "name": "min",
950
- "annotation": {
951
- "type": "keyword",
952
- "value": "number"
953
- }
954
- },
955
- {
956
- "name": "max",
957
- "annotation": {
958
- "type": "keyword",
959
- "value": "number"
960
- }
961
- },
962
- {
963
- "name": "xField",
964
- "annotation": {
965
- "type": "keyword",
966
- "value": "string"
947
+ }
967
948
  }
968
949
  },
969
950
  {
970
- "name": "yField",
951
+ "name": "activeTab",
971
952
  "annotation": {
972
953
  "type": "keyword",
973
954
  "value": "string"
974
955
  }
975
- },
956
+ }
957
+ ],
958
+ "events": [
976
959
  {
977
- "name": "data",
978
- "annotation": {
979
- "type": "array",
980
- "elementType": {
960
+ "name": "tab.click",
961
+ "detail": {
962
+ "annotation": {
981
963
  "type": "reference",
982
964
  "typeName": {
983
965
  "type": "identifier",
984
- "name": "Record"
966
+ "name": "Tab"
967
+ }
968
+ }
969
+ }
970
+ }
971
+ ],
972
+ "methods": [],
973
+ "types": [
974
+ {
975
+ "type": "interface",
976
+ "name": "Tab",
977
+ "body": [
978
+ {
979
+ "type": "propertySignature",
980
+ "key": {
981
+ "type": "identifier",
982
+ "name": "id"
983
+ },
984
+ "annotation": {
985
+ "type": "keyword",
986
+ "value": "string"
987
+ },
988
+ "computed": false
989
+ },
990
+ {
991
+ "type": "propertySignature",
992
+ "key": {
993
+ "type": "identifier",
994
+ "name": "label"
985
995
  },
986
- "typeParameters": {
987
- "type": "typeParameterInstantiation",
988
- "params": [
989
- {
990
- "type": "keyword",
991
- "value": "string"
992
- },
993
- {
994
- "type": "keyword",
995
- "value": "number"
996
- }
997
- ]
998
- }
996
+ "annotation": {
997
+ "type": "keyword",
998
+ "value": "string"
999
+ },
1000
+ "computed": false
999
1001
  }
1000
- }
1002
+ ]
1001
1003
  }
1002
- ],
1003
- "events": [],
1004
- "methods": []
1004
+ ]
1005
1005
  },
1006
1006
  "ai-portal.elevo-logo": {
1007
1007
  "properties": [],
@@ -2070,9 +2070,235 @@
2070
2070
  "value": "string"
2071
2071
  }
2072
2072
  }
2073
- ],
2074
- "events": [],
2075
- "methods": []
2073
+ ],
2074
+ "events": [],
2075
+ "methods": []
2076
+ },
2077
+ "ai-portal.project-conversations": {
2078
+ "properties": [
2079
+ {
2080
+ "name": "list",
2081
+ "annotation": {
2082
+ "type": "array",
2083
+ "elementType": {
2084
+ "type": "reference",
2085
+ "typeName": {
2086
+ "type": "identifier",
2087
+ "name": "Conversation"
2088
+ }
2089
+ }
2090
+ }
2091
+ },
2092
+ {
2093
+ "name": "urlTemplate",
2094
+ "annotation": {
2095
+ "type": "keyword",
2096
+ "value": "string"
2097
+ }
2098
+ },
2099
+ {
2100
+ "name": "actions",
2101
+ "annotation": {
2102
+ "type": "array",
2103
+ "elementType": {
2104
+ "type": "reference",
2105
+ "typeName": {
2106
+ "type": "identifier",
2107
+ "name": "ActionType"
2108
+ }
2109
+ }
2110
+ }
2111
+ },
2112
+ {
2113
+ "name": "goals",
2114
+ "annotation": {
2115
+ "type": "array",
2116
+ "elementType": {
2117
+ "type": "reference",
2118
+ "typeName": {
2119
+ "type": "identifier",
2120
+ "name": "Goal"
2121
+ }
2122
+ }
2123
+ }
2124
+ }
2125
+ ],
2126
+ "events": [
2127
+ {
2128
+ "name": "goal.click",
2129
+ "detail": {
2130
+ "annotation": {
2131
+ "type": "reference",
2132
+ "typeName": {
2133
+ "type": "identifier",
2134
+ "name": "Conversation"
2135
+ }
2136
+ }
2137
+ }
2138
+ },
2139
+ {
2140
+ "name": "action.click",
2141
+ "detail": {
2142
+ "annotation": {
2143
+ "type": "reference",
2144
+ "typeName": {
2145
+ "type": "identifier",
2146
+ "name": "ActionClickDetail"
2147
+ }
2148
+ }
2149
+ }
2150
+ }
2151
+ ],
2152
+ "methods": [],
2153
+ "types": [
2154
+ {
2155
+ "type": "interface",
2156
+ "name": "Conversation",
2157
+ "body": [
2158
+ {
2159
+ "type": "propertySignature",
2160
+ "key": {
2161
+ "type": "identifier",
2162
+ "name": "conversationId"
2163
+ },
2164
+ "annotation": {
2165
+ "type": "keyword",
2166
+ "value": "string"
2167
+ },
2168
+ "computed": false
2169
+ },
2170
+ {
2171
+ "type": "propertySignature",
2172
+ "key": {
2173
+ "type": "identifier",
2174
+ "name": "title"
2175
+ },
2176
+ "annotation": {
2177
+ "type": "keyword",
2178
+ "value": "string"
2179
+ },
2180
+ "computed": false
2181
+ },
2182
+ {
2183
+ "type": "propertySignature",
2184
+ "key": {
2185
+ "type": "identifier",
2186
+ "name": "startTime"
2187
+ },
2188
+ "annotation": {
2189
+ "type": "keyword",
2190
+ "value": "number"
2191
+ },
2192
+ "computed": false
2193
+ },
2194
+ {
2195
+ "type": "propertySignature",
2196
+ "key": {
2197
+ "type": "identifier",
2198
+ "name": "description"
2199
+ },
2200
+ "annotation": {
2201
+ "type": "keyword",
2202
+ "value": "string"
2203
+ },
2204
+ "optional": true,
2205
+ "computed": false
2206
+ },
2207
+ {
2208
+ "type": "propertySignature",
2209
+ "key": {
2210
+ "type": "identifier",
2211
+ "name": "goalInstanceId"
2212
+ },
2213
+ "annotation": {
2214
+ "type": "keyword",
2215
+ "value": "string"
2216
+ },
2217
+ "optional": true,
2218
+ "computed": false
2219
+ },
2220
+ {
2221
+ "type": "propertySignature",
2222
+ "key": {
2223
+ "type": "identifier",
2224
+ "name": "username"
2225
+ },
2226
+ "annotation": {
2227
+ "type": "keyword",
2228
+ "value": "string"
2229
+ },
2230
+ "optional": true,
2231
+ "computed": false
2232
+ }
2233
+ ]
2234
+ },
2235
+ {
2236
+ "type": "interface",
2237
+ "name": "Goal",
2238
+ "body": [
2239
+ {
2240
+ "type": "propertySignature",
2241
+ "key": {
2242
+ "type": "identifier",
2243
+ "name": "instanceId"
2244
+ },
2245
+ "annotation": {
2246
+ "type": "keyword",
2247
+ "value": "string"
2248
+ },
2249
+ "computed": false
2250
+ },
2251
+ {
2252
+ "type": "propertySignature",
2253
+ "key": {
2254
+ "type": "identifier",
2255
+ "name": "title"
2256
+ },
2257
+ "annotation": {
2258
+ "type": "keyword",
2259
+ "value": "string"
2260
+ },
2261
+ "computed": false
2262
+ }
2263
+ ]
2264
+ },
2265
+ {
2266
+ "type": "interface",
2267
+ "name": "ActionClickDetail",
2268
+ "body": [
2269
+ {
2270
+ "type": "propertySignature",
2271
+ "key": {
2272
+ "type": "identifier",
2273
+ "name": "action"
2274
+ },
2275
+ "annotation": {
2276
+ "type": "reference",
2277
+ "typeName": {
2278
+ "type": "identifier",
2279
+ "name": "SimpleActionType"
2280
+ }
2281
+ },
2282
+ "computed": false
2283
+ },
2284
+ {
2285
+ "type": "propertySignature",
2286
+ "key": {
2287
+ "type": "identifier",
2288
+ "name": "item"
2289
+ },
2290
+ "annotation": {
2291
+ "type": "reference",
2292
+ "typeName": {
2293
+ "type": "identifier",
2294
+ "name": "Conversation"
2295
+ }
2296
+ },
2297
+ "computed": false
2298
+ }
2299
+ ]
2300
+ }
2301
+ ]
2076
2302
  },
2077
2303
  "ai-portal.activity-timeline": {
2078
2304
  "properties": [
@@ -3048,232 +3274,6 @@
3048
3274
  }
3049
3275
  ]
3050
3276
  },
3051
- "ai-portal.project-conversations": {
3052
- "properties": [
3053
- {
3054
- "name": "list",
3055
- "annotation": {
3056
- "type": "array",
3057
- "elementType": {
3058
- "type": "reference",
3059
- "typeName": {
3060
- "type": "identifier",
3061
- "name": "Conversation"
3062
- }
3063
- }
3064
- }
3065
- },
3066
- {
3067
- "name": "urlTemplate",
3068
- "annotation": {
3069
- "type": "keyword",
3070
- "value": "string"
3071
- }
3072
- },
3073
- {
3074
- "name": "actions",
3075
- "annotation": {
3076
- "type": "array",
3077
- "elementType": {
3078
- "type": "reference",
3079
- "typeName": {
3080
- "type": "identifier",
3081
- "name": "ActionType"
3082
- }
3083
- }
3084
- }
3085
- },
3086
- {
3087
- "name": "goals",
3088
- "annotation": {
3089
- "type": "array",
3090
- "elementType": {
3091
- "type": "reference",
3092
- "typeName": {
3093
- "type": "identifier",
3094
- "name": "Goal"
3095
- }
3096
- }
3097
- }
3098
- }
3099
- ],
3100
- "events": [
3101
- {
3102
- "name": "goal.click",
3103
- "detail": {
3104
- "annotation": {
3105
- "type": "reference",
3106
- "typeName": {
3107
- "type": "identifier",
3108
- "name": "Conversation"
3109
- }
3110
- }
3111
- }
3112
- },
3113
- {
3114
- "name": "action.click",
3115
- "detail": {
3116
- "annotation": {
3117
- "type": "reference",
3118
- "typeName": {
3119
- "type": "identifier",
3120
- "name": "ActionClickDetail"
3121
- }
3122
- }
3123
- }
3124
- }
3125
- ],
3126
- "methods": [],
3127
- "types": [
3128
- {
3129
- "type": "interface",
3130
- "name": "Conversation",
3131
- "body": [
3132
- {
3133
- "type": "propertySignature",
3134
- "key": {
3135
- "type": "identifier",
3136
- "name": "conversationId"
3137
- },
3138
- "annotation": {
3139
- "type": "keyword",
3140
- "value": "string"
3141
- },
3142
- "computed": false
3143
- },
3144
- {
3145
- "type": "propertySignature",
3146
- "key": {
3147
- "type": "identifier",
3148
- "name": "title"
3149
- },
3150
- "annotation": {
3151
- "type": "keyword",
3152
- "value": "string"
3153
- },
3154
- "computed": false
3155
- },
3156
- {
3157
- "type": "propertySignature",
3158
- "key": {
3159
- "type": "identifier",
3160
- "name": "startTime"
3161
- },
3162
- "annotation": {
3163
- "type": "keyword",
3164
- "value": "number"
3165
- },
3166
- "computed": false
3167
- },
3168
- {
3169
- "type": "propertySignature",
3170
- "key": {
3171
- "type": "identifier",
3172
- "name": "description"
3173
- },
3174
- "annotation": {
3175
- "type": "keyword",
3176
- "value": "string"
3177
- },
3178
- "optional": true,
3179
- "computed": false
3180
- },
3181
- {
3182
- "type": "propertySignature",
3183
- "key": {
3184
- "type": "identifier",
3185
- "name": "goalInstanceId"
3186
- },
3187
- "annotation": {
3188
- "type": "keyword",
3189
- "value": "string"
3190
- },
3191
- "optional": true,
3192
- "computed": false
3193
- },
3194
- {
3195
- "type": "propertySignature",
3196
- "key": {
3197
- "type": "identifier",
3198
- "name": "username"
3199
- },
3200
- "annotation": {
3201
- "type": "keyword",
3202
- "value": "string"
3203
- },
3204
- "optional": true,
3205
- "computed": false
3206
- }
3207
- ]
3208
- },
3209
- {
3210
- "type": "interface",
3211
- "name": "Goal",
3212
- "body": [
3213
- {
3214
- "type": "propertySignature",
3215
- "key": {
3216
- "type": "identifier",
3217
- "name": "instanceId"
3218
- },
3219
- "annotation": {
3220
- "type": "keyword",
3221
- "value": "string"
3222
- },
3223
- "computed": false
3224
- },
3225
- {
3226
- "type": "propertySignature",
3227
- "key": {
3228
- "type": "identifier",
3229
- "name": "title"
3230
- },
3231
- "annotation": {
3232
- "type": "keyword",
3233
- "value": "string"
3234
- },
3235
- "computed": false
3236
- }
3237
- ]
3238
- },
3239
- {
3240
- "type": "interface",
3241
- "name": "ActionClickDetail",
3242
- "body": [
3243
- {
3244
- "type": "propertySignature",
3245
- "key": {
3246
- "type": "identifier",
3247
- "name": "action"
3248
- },
3249
- "annotation": {
3250
- "type": "reference",
3251
- "typeName": {
3252
- "type": "identifier",
3253
- "name": "SimpleActionType"
3254
- }
3255
- },
3256
- "computed": false
3257
- },
3258
- {
3259
- "type": "propertySignature",
3260
- "key": {
3261
- "type": "identifier",
3262
- "name": "item"
3263
- },
3264
- "annotation": {
3265
- "type": "reference",
3266
- "typeName": {
3267
- "type": "identifier",
3268
- "name": "Conversation"
3269
- }
3270
- },
3271
- "computed": false
3272
- }
3273
- ]
3274
- }
3275
- ]
3276
- },
3277
3277
  "ai-portal.chat-input": {
3278
3278
  "properties": [
3279
3279
  {
@@ -4515,6 +4515,20 @@
4515
4515
  "value": "number"
4516
4516
  },
4517
4517
  "computed": false
4518
+ },
4519
+ {
4520
+ "type": "propertySignature",
4521
+ "key": {
4522
+ "type": "identifier",
4523
+ "name": "url"
4524
+ },
4525
+ "annotation": {
4526
+ "type": "keyword",
4527
+ "value": "string"
4528
+ },
4529
+ "optional": true,
4530
+ "computed": false,
4531
+ "description": "单个消息详情链接,优先级高于 urlTemplate"
4518
4532
  }
4519
4533
  ]
4520
4534
  }
@@ -4686,6 +4700,20 @@
4686
4700
  "value": "number"
4687
4701
  },
4688
4702
  "computed": false
4703
+ },
4704
+ {
4705
+ "type": "propertySignature",
4706
+ "key": {
4707
+ "type": "identifier",
4708
+ "name": "url"
4709
+ },
4710
+ "annotation": {
4711
+ "type": "keyword",
4712
+ "value": "string"
4713
+ },
4714
+ "optional": true,
4715
+ "computed": false,
4716
+ "description": "单个消息详情链接,优先级高于 urlTemplate"
4689
4717
  }
4690
4718
  ]
4691
4719
  }