@next-bricks/ai-portal 0.60.0 → 0.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +22 -22
- package/dist/chunks/1480.ec45b604.js +2 -0
- package/dist/chunks/1480.ec45b604.js.map +1 -0
- package/dist/chunks/2357.b6f1e719.js +2 -0
- package/dist/chunks/2357.b6f1e719.js.map +1 -0
- package/dist/chunks/3793.03162dd0.js +2 -0
- package/dist/chunks/3793.03162dd0.js.map +1 -0
- package/dist/chunks/5712.4f691939.js +2 -0
- package/dist/chunks/5712.4f691939.js.map +1 -0
- package/dist/chunks/6450.ade6ef3e.js +2 -0
- package/dist/chunks/6450.ade6ef3e.js.map +1 -0
- package/dist/chunks/6792.26bcd166.js +2 -0
- package/dist/chunks/6792.26bcd166.js.map +1 -0
- package/dist/chunks/7888.c0645842.js +3 -0
- package/dist/chunks/7888.c0645842.js.LICENSE.txt +7 -0
- package/dist/chunks/7888.c0645842.js.map +1 -0
- package/dist/chunks/7955.0c92eb57.js +3 -0
- package/dist/chunks/{7238.9abe2a64.js.LICENSE.txt → 7955.0c92eb57.js.LICENSE.txt} +0 -6
- package/dist/chunks/7955.0c92eb57.js.map +1 -0
- package/dist/chunks/9525.9e5140be.js +15 -0
- package/dist/chunks/9525.9e5140be.js.map +1 -0
- package/dist/chunks/9979.44f64896.js +2 -0
- package/dist/chunks/9979.44f64896.js.map +1 -0
- package/dist/chunks/call-tool.89a848e0.js.map +1 -1
- package/dist/chunks/{cruise-canvas.b444c4ca.js → cruise-canvas.426be93e.js} +2 -2
- package/dist/chunks/{cruise-canvas.b444c4ca.js.map → cruise-canvas.426be93e.js.map} +1 -1
- package/dist/chunks/{gantt-chart.c8cdcd66.js → gantt-chart.0086539c.js} +2 -2
- package/dist/chunks/{gantt-chart.c8cdcd66.js.map → gantt-chart.0086539c.js.map} +1 -1
- package/dist/chunks/main.08db9bee.js +2 -0
- package/dist/chunks/{main.87ffc00f.js.map → main.08db9bee.js.map} +1 -1
- package/dist/chunks/preview-container.5793faee.js +2 -0
- package/dist/chunks/preview-container.5793faee.js.map +1 -0
- package/dist/examples.json +13 -13
- package/dist/index.8852dff5.js +2 -0
- package/dist/index.8852dff5.js.map +1 -0
- package/dist/manifest.json +146 -146
- package/dist/types.json +104 -104
- package/dist-types/data-providers/call-tool.d.ts +1 -1
- package/dist-types/shared/interfaces.d.ts +1 -1
- package/dist-types/shared/workers/tsxParser.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunks/3199.0220cf6e.js +0 -3
- package/dist/chunks/3199.0220cf6e.js.map +0 -1
- package/dist/chunks/3735.8c1d82e7.js +0 -15
- package/dist/chunks/3735.8c1d82e7.js.LICENSE.txt +0 -5
- package/dist/chunks/3735.8c1d82e7.js.map +0 -1
- package/dist/chunks/5712.c566ad78.js +0 -2
- package/dist/chunks/5712.c566ad78.js.map +0 -1
- package/dist/chunks/6593.58eda50f.js +0 -2
- package/dist/chunks/6593.58eda50f.js.map +0 -1
- package/dist/chunks/6792.0efb2d00.js +0 -2
- package/dist/chunks/6792.0efb2d00.js.map +0 -1
- package/dist/chunks/7238.9abe2a64.js +0 -3
- package/dist/chunks/7238.9abe2a64.js.map +0 -1
- package/dist/chunks/7586.b406d4bf.js +0 -2
- package/dist/chunks/7586.b406d4bf.js.map +0 -1
- package/dist/chunks/8135.3255c5ba.js +0 -2
- package/dist/chunks/8135.3255c5ba.js.map +0 -1
- package/dist/chunks/843.9b7325c3.js +0 -2
- package/dist/chunks/843.9b7325c3.js.map +0 -1
- package/dist/chunks/9388.e48bb229.js +0 -2
- package/dist/chunks/9388.e48bb229.js.map +0 -1
- package/dist/chunks/9496.1d7ebb7f.js +0 -2
- package/dist/chunks/9496.1d7ebb7f.js.map +0 -1
- package/dist/chunks/main.87ffc00f.js +0 -2
- package/dist/chunks/preview-container.19631a7b.js +0 -2
- package/dist/chunks/preview-container.19631a7b.js.map +0 -1
- package/dist/index.a91518b7.js +0 -2
- package/dist/index.a91518b7.js.map +0 -1
- /package/dist/chunks/{3199.0220cf6e.js.LICENSE.txt → 9525.9e5140be.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -157,6 +157,90 @@
|
|
|
157
157
|
"parts": [],
|
|
158
158
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
159
159
|
},
|
|
160
|
+
{
|
|
161
|
+
"name": "ai-portal.chat-box",
|
|
162
|
+
"properties": [
|
|
163
|
+
{
|
|
164
|
+
"name": "disabled",
|
|
165
|
+
"type": "boolean"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "placeholder",
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "autoFocus",
|
|
173
|
+
"type": "boolean"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "aiEmployees",
|
|
177
|
+
"attribute": false,
|
|
178
|
+
"type": "AIEmployee[]"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "commands",
|
|
182
|
+
"attribute": false,
|
|
183
|
+
"type": "Command[]"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "uploadOptions",
|
|
187
|
+
"attribute": false,
|
|
188
|
+
"type": "UploadOptions"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"events": [
|
|
192
|
+
{
|
|
193
|
+
"name": "message.submit",
|
|
194
|
+
"description": "",
|
|
195
|
+
"deprecated": "Use `chat.submit` event instead",
|
|
196
|
+
"detail": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "chat.submit",
|
|
202
|
+
"detail": {
|
|
203
|
+
"type": "ChatPayload"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"slots": [],
|
|
208
|
+
"methods": [
|
|
209
|
+
{
|
|
210
|
+
"name": "setValue",
|
|
211
|
+
"params": [
|
|
212
|
+
{
|
|
213
|
+
"name": "value",
|
|
214
|
+
"type": "string"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "getValue",
|
|
220
|
+
"params": []
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "focusOnInput",
|
|
224
|
+
"params": []
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"parts": [],
|
|
228
|
+
"description": "构件 `ai-portal.chat-box`"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "ai-portal.home-container",
|
|
232
|
+
"properties": [
|
|
233
|
+
{
|
|
234
|
+
"name": "sticky",
|
|
235
|
+
"type": "boolean"
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"events": [],
|
|
239
|
+
"slots": [],
|
|
240
|
+
"methods": [],
|
|
241
|
+
"parts": [],
|
|
242
|
+
"description": "构件 `ai-portal.home-container`"
|
|
243
|
+
},
|
|
160
244
|
{
|
|
161
245
|
"name": "ai-portal.stat-with-mini-chart",
|
|
162
246
|
"properties": [
|
|
@@ -218,20 +302,6 @@
|
|
|
218
302
|
"parts": [],
|
|
219
303
|
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
220
304
|
},
|
|
221
|
-
{
|
|
222
|
-
"name": "ai-portal.home-container",
|
|
223
|
-
"properties": [
|
|
224
|
-
{
|
|
225
|
-
"name": "sticky",
|
|
226
|
-
"type": "boolean"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"events": [],
|
|
230
|
-
"slots": [],
|
|
231
|
-
"methods": [],
|
|
232
|
-
"parts": [],
|
|
233
|
-
"description": "构件 `ai-portal.home-container`"
|
|
234
|
-
},
|
|
235
305
|
{
|
|
236
306
|
"name": "ai-portal.elevo-sidebar",
|
|
237
307
|
"properties": [
|
|
@@ -404,76 +474,6 @@
|
|
|
404
474
|
"parts": [],
|
|
405
475
|
"description": "构件 `ai-portal.icon-button`"
|
|
406
476
|
},
|
|
407
|
-
{
|
|
408
|
-
"name": "ai-portal.chat-box",
|
|
409
|
-
"properties": [
|
|
410
|
-
{
|
|
411
|
-
"name": "disabled",
|
|
412
|
-
"type": "boolean"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"name": "placeholder",
|
|
416
|
-
"type": "string"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"name": "autoFocus",
|
|
420
|
-
"type": "boolean"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"name": "aiEmployees",
|
|
424
|
-
"attribute": false,
|
|
425
|
-
"type": "AIEmployee[]"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"name": "commands",
|
|
429
|
-
"attribute": false,
|
|
430
|
-
"type": "Command[]"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"name": "uploadOptions",
|
|
434
|
-
"attribute": false,
|
|
435
|
-
"type": "UploadOptions"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"events": [
|
|
439
|
-
{
|
|
440
|
-
"name": "message.submit",
|
|
441
|
-
"description": "",
|
|
442
|
-
"deprecated": "Use `chat.submit` event instead",
|
|
443
|
-
"detail": {
|
|
444
|
-
"type": "string"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"name": "chat.submit",
|
|
449
|
-
"detail": {
|
|
450
|
-
"type": "ChatPayload"
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
],
|
|
454
|
-
"slots": [],
|
|
455
|
-
"methods": [
|
|
456
|
-
{
|
|
457
|
-
"name": "setValue",
|
|
458
|
-
"params": [
|
|
459
|
-
{
|
|
460
|
-
"name": "value",
|
|
461
|
-
"type": "string"
|
|
462
|
-
}
|
|
463
|
-
]
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"name": "getValue",
|
|
467
|
-
"params": []
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"name": "focusOnInput",
|
|
471
|
-
"params": []
|
|
472
|
-
}
|
|
473
|
-
],
|
|
474
|
-
"parts": [],
|
|
475
|
-
"description": "构件 `ai-portal.chat-box`"
|
|
476
|
-
},
|
|
477
477
|
{
|
|
478
478
|
"name": "ai-portal.show-cases",
|
|
479
479
|
"properties": [
|
|
@@ -713,42 +713,6 @@
|
|
|
713
713
|
"parts": [],
|
|
714
714
|
"description": "构件 `ai-portal.ai-agents`"
|
|
715
715
|
},
|
|
716
|
-
{
|
|
717
|
-
"name": "ai-portal.tab-list",
|
|
718
|
-
"properties": [
|
|
719
|
-
{
|
|
720
|
-
"name": "tabs",
|
|
721
|
-
"attribute": false,
|
|
722
|
-
"type": "Tab[]"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"name": "activeTab",
|
|
726
|
-
"attribute": false,
|
|
727
|
-
"type": "string"
|
|
728
|
-
}
|
|
729
|
-
],
|
|
730
|
-
"events": [
|
|
731
|
-
{
|
|
732
|
-
"name": "tab.click",
|
|
733
|
-
"detail": {
|
|
734
|
-
"type": "Tab"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
],
|
|
738
|
-
"slots": [],
|
|
739
|
-
"methods": [],
|
|
740
|
-
"parts": [
|
|
741
|
-
{
|
|
742
|
-
"name": "tabs",
|
|
743
|
-
"description": "The tab list container"
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"name": "tab",
|
|
747
|
-
"description": "The individual tab"
|
|
748
|
-
}
|
|
749
|
-
],
|
|
750
|
-
"description": "构件 `ai-portal.tab-list`"
|
|
751
|
-
},
|
|
752
716
|
{
|
|
753
717
|
"name": "ai-portal.page-container",
|
|
754
718
|
"properties": [
|
|
@@ -795,23 +759,40 @@
|
|
|
795
759
|
"description": "构件 `ai-portal.page-container`"
|
|
796
760
|
},
|
|
797
761
|
{
|
|
798
|
-
"name": "ai-portal.
|
|
762
|
+
"name": "ai-portal.tab-list",
|
|
799
763
|
"properties": [
|
|
800
764
|
{
|
|
801
|
-
"name": "
|
|
765
|
+
"name": "tabs",
|
|
802
766
|
"attribute": false,
|
|
803
|
-
"type": "
|
|
767
|
+
"type": "Tab[]"
|
|
804
768
|
},
|
|
805
769
|
{
|
|
806
|
-
"name": "
|
|
770
|
+
"name": "activeTab",
|
|
771
|
+
"attribute": false,
|
|
807
772
|
"type": "string"
|
|
808
773
|
}
|
|
809
774
|
],
|
|
810
|
-
"events": [
|
|
775
|
+
"events": [
|
|
776
|
+
{
|
|
777
|
+
"name": "tab.click",
|
|
778
|
+
"detail": {
|
|
779
|
+
"type": "Tab"
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
],
|
|
811
783
|
"slots": [],
|
|
812
784
|
"methods": [],
|
|
813
|
-
"parts": [
|
|
814
|
-
|
|
785
|
+
"parts": [
|
|
786
|
+
{
|
|
787
|
+
"name": "tabs",
|
|
788
|
+
"description": "The tab list container"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "tab",
|
|
792
|
+
"description": "The individual tab"
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"description": "构件 `ai-portal.tab-list`"
|
|
815
796
|
},
|
|
816
797
|
{
|
|
817
798
|
"name": "ai-portal.dropdown-select",
|
|
@@ -870,6 +851,25 @@
|
|
|
870
851
|
"parts": [],
|
|
871
852
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
872
853
|
},
|
|
854
|
+
{
|
|
855
|
+
"name": "ai-portal.preview-container",
|
|
856
|
+
"properties": [
|
|
857
|
+
{
|
|
858
|
+
"name": "source",
|
|
859
|
+
"attribute": false,
|
|
860
|
+
"type": "string"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "url",
|
|
864
|
+
"type": "string"
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"events": [],
|
|
868
|
+
"slots": [],
|
|
869
|
+
"methods": [],
|
|
870
|
+
"parts": [],
|
|
871
|
+
"description": "构件 `ai-portal.preview-container`"
|
|
872
|
+
},
|
|
873
873
|
{
|
|
874
874
|
"name": "ai-portal.action-buttons",
|
|
875
875
|
"properties": [
|
|
@@ -1001,25 +1001,6 @@
|
|
|
1001
1001
|
"parts": [],
|
|
1002
1002
|
"description": "构件 `ai-portal.project-conversations`"
|
|
1003
1003
|
},
|
|
1004
|
-
{
|
|
1005
|
-
"name": "ai-portal.activity-timeline",
|
|
1006
|
-
"properties": [
|
|
1007
|
-
{
|
|
1008
|
-
"name": "list",
|
|
1009
|
-
"attribute": false,
|
|
1010
|
-
"type": "Activity[]"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"name": "chatUrlTemplate",
|
|
1014
|
-
"type": "string"
|
|
1015
|
-
}
|
|
1016
|
-
],
|
|
1017
|
-
"events": [],
|
|
1018
|
-
"slots": [],
|
|
1019
|
-
"methods": [],
|
|
1020
|
-
"parts": [],
|
|
1021
|
-
"description": "构件 `ai-portal.activity-timeline`"
|
|
1022
|
-
},
|
|
1023
1004
|
{
|
|
1024
1005
|
"name": "ai-portal.project-knowledges",
|
|
1025
1006
|
"properties": [
|
|
@@ -1057,6 +1038,25 @@
|
|
|
1057
1038
|
"parts": [],
|
|
1058
1039
|
"description": "构件 `ai-portal.project-knowledges`"
|
|
1059
1040
|
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "ai-portal.activity-timeline",
|
|
1043
|
+
"properties": [
|
|
1044
|
+
{
|
|
1045
|
+
"name": "list",
|
|
1046
|
+
"attribute": false,
|
|
1047
|
+
"type": "Activity[]"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "chatUrlTemplate",
|
|
1051
|
+
"type": "string"
|
|
1052
|
+
}
|
|
1053
|
+
],
|
|
1054
|
+
"events": [],
|
|
1055
|
+
"slots": [],
|
|
1056
|
+
"methods": [],
|
|
1057
|
+
"parts": [],
|
|
1058
|
+
"description": "构件 `ai-portal.activity-timeline`"
|
|
1059
|
+
},
|
|
1060
1060
|
{
|
|
1061
1061
|
"name": "ai-portal.chat-input",
|
|
1062
1062
|
"properties": [
|
package/dist/types.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
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
|
+
},
|
|
2
15
|
"ai-portal.stat-with-mini-chart": {
|
|
3
16
|
"properties": [
|
|
4
17
|
{
|
|
@@ -103,19 +116,6 @@
|
|
|
103
116
|
"events": [],
|
|
104
117
|
"methods": []
|
|
105
118
|
},
|
|
106
|
-
"ai-portal.home-container": {
|
|
107
|
-
"properties": [
|
|
108
|
-
{
|
|
109
|
-
"name": "sticky",
|
|
110
|
-
"annotation": {
|
|
111
|
-
"type": "keyword",
|
|
112
|
-
"value": "boolean"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"events": [],
|
|
117
|
-
"methods": []
|
|
118
|
-
},
|
|
119
119
|
"ai-portal.icon-button": {
|
|
120
120
|
"properties": [
|
|
121
121
|
{
|
|
@@ -823,77 +823,6 @@
|
|
|
823
823
|
}
|
|
824
824
|
]
|
|
825
825
|
},
|
|
826
|
-
"ai-portal.tab-list": {
|
|
827
|
-
"properties": [
|
|
828
|
-
{
|
|
829
|
-
"name": "tabs",
|
|
830
|
-
"annotation": {
|
|
831
|
-
"type": "array",
|
|
832
|
-
"elementType": {
|
|
833
|
-
"type": "reference",
|
|
834
|
-
"typeName": {
|
|
835
|
-
"type": "identifier",
|
|
836
|
-
"name": "Tab"
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
"name": "activeTab",
|
|
843
|
-
"annotation": {
|
|
844
|
-
"type": "keyword",
|
|
845
|
-
"value": "string"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
],
|
|
849
|
-
"events": [
|
|
850
|
-
{
|
|
851
|
-
"name": "tab.click",
|
|
852
|
-
"detail": {
|
|
853
|
-
"annotation": {
|
|
854
|
-
"type": "reference",
|
|
855
|
-
"typeName": {
|
|
856
|
-
"type": "identifier",
|
|
857
|
-
"name": "Tab"
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
],
|
|
863
|
-
"methods": [],
|
|
864
|
-
"types": [
|
|
865
|
-
{
|
|
866
|
-
"type": "interface",
|
|
867
|
-
"name": "Tab",
|
|
868
|
-
"body": [
|
|
869
|
-
{
|
|
870
|
-
"type": "propertySignature",
|
|
871
|
-
"key": {
|
|
872
|
-
"type": "identifier",
|
|
873
|
-
"name": "id"
|
|
874
|
-
},
|
|
875
|
-
"annotation": {
|
|
876
|
-
"type": "keyword",
|
|
877
|
-
"value": "string"
|
|
878
|
-
},
|
|
879
|
-
"computed": false
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"type": "propertySignature",
|
|
883
|
-
"key": {
|
|
884
|
-
"type": "identifier",
|
|
885
|
-
"name": "label"
|
|
886
|
-
},
|
|
887
|
-
"annotation": {
|
|
888
|
-
"type": "keyword",
|
|
889
|
-
"value": "string"
|
|
890
|
-
},
|
|
891
|
-
"computed": false
|
|
892
|
-
}
|
|
893
|
-
]
|
|
894
|
-
}
|
|
895
|
-
]
|
|
896
|
-
},
|
|
897
826
|
"ai-portal.page-container": {
|
|
898
827
|
"properties": [
|
|
899
828
|
{
|
|
@@ -1002,6 +931,77 @@
|
|
|
1002
931
|
}
|
|
1003
932
|
]
|
|
1004
933
|
},
|
|
934
|
+
"ai-portal.tab-list": {
|
|
935
|
+
"properties": [
|
|
936
|
+
{
|
|
937
|
+
"name": "tabs",
|
|
938
|
+
"annotation": {
|
|
939
|
+
"type": "array",
|
|
940
|
+
"elementType": {
|
|
941
|
+
"type": "reference",
|
|
942
|
+
"typeName": {
|
|
943
|
+
"type": "identifier",
|
|
944
|
+
"name": "Tab"
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "activeTab",
|
|
951
|
+
"annotation": {
|
|
952
|
+
"type": "keyword",
|
|
953
|
+
"value": "string"
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"events": [
|
|
958
|
+
{
|
|
959
|
+
"name": "tab.click",
|
|
960
|
+
"detail": {
|
|
961
|
+
"annotation": {
|
|
962
|
+
"type": "reference",
|
|
963
|
+
"typeName": {
|
|
964
|
+
"type": "identifier",
|
|
965
|
+
"name": "Tab"
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
],
|
|
971
|
+
"methods": [],
|
|
972
|
+
"types": [
|
|
973
|
+
{
|
|
974
|
+
"type": "interface",
|
|
975
|
+
"name": "Tab",
|
|
976
|
+
"body": [
|
|
977
|
+
{
|
|
978
|
+
"type": "propertySignature",
|
|
979
|
+
"key": {
|
|
980
|
+
"type": "identifier",
|
|
981
|
+
"name": "id"
|
|
982
|
+
},
|
|
983
|
+
"annotation": {
|
|
984
|
+
"type": "keyword",
|
|
985
|
+
"value": "string"
|
|
986
|
+
},
|
|
987
|
+
"computed": false
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"type": "propertySignature",
|
|
991
|
+
"key": {
|
|
992
|
+
"type": "identifier",
|
|
993
|
+
"name": "label"
|
|
994
|
+
},
|
|
995
|
+
"annotation": {
|
|
996
|
+
"type": "keyword",
|
|
997
|
+
"value": "string"
|
|
998
|
+
},
|
|
999
|
+
"computed": false
|
|
1000
|
+
}
|
|
1001
|
+
]
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
1005
|
"ai-portal.elevo-logo": {
|
|
1006
1006
|
"properties": [],
|
|
1007
1007
|
"events": [],
|
|
@@ -1766,26 +1766,6 @@
|
|
|
1766
1766
|
}
|
|
1767
1767
|
]
|
|
1768
1768
|
},
|
|
1769
|
-
"ai-portal.preview-container": {
|
|
1770
|
-
"properties": [
|
|
1771
|
-
{
|
|
1772
|
-
"name": "source",
|
|
1773
|
-
"annotation": {
|
|
1774
|
-
"type": "keyword",
|
|
1775
|
-
"value": "string"
|
|
1776
|
-
}
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
"name": "url",
|
|
1780
|
-
"annotation": {
|
|
1781
|
-
"type": "keyword",
|
|
1782
|
-
"value": "string"
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
],
|
|
1786
|
-
"events": [],
|
|
1787
|
-
"methods": []
|
|
1788
|
-
},
|
|
1789
1769
|
"ai-portal.dropdown-select": {
|
|
1790
1770
|
"properties": [
|
|
1791
1771
|
{
|
|
@@ -1955,6 +1935,26 @@
|
|
|
1955
1935
|
}
|
|
1956
1936
|
]
|
|
1957
1937
|
},
|
|
1938
|
+
"ai-portal.preview-container": {
|
|
1939
|
+
"properties": [
|
|
1940
|
+
{
|
|
1941
|
+
"name": "source",
|
|
1942
|
+
"annotation": {
|
|
1943
|
+
"type": "keyword",
|
|
1944
|
+
"value": "string"
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"name": "url",
|
|
1949
|
+
"annotation": {
|
|
1950
|
+
"type": "keyword",
|
|
1951
|
+
"value": "string"
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
],
|
|
1955
|
+
"events": [],
|
|
1956
|
+
"methods": []
|
|
1957
|
+
},
|
|
1958
1958
|
"ai-portal.action-buttons": {
|
|
1959
1959
|
"properties": [
|
|
1960
1960
|
{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ToolInfo } from "@next-
|
|
1
|
+
import type { ToolInfo } from "@next-tsx/parser";
|
|
2
2
|
export declare function callTool(tool: ToolInfo, params: Record<string, unknown>): Promise<unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@next-bricks/presentational": "*",
|
|
48
48
|
"@next-bricks/vs": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "661dc7a85d28c62a4eaca4ba626e18e3c59f3d11"
|
|
51
51
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 3199.0220cf6e.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[]).push([[2052,3199],{1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},11369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(17545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},12559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},17545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},26902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(17545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},30855:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},36758:e=>{e.exports=function(e){return e[1]}},40935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},47695:(e,t,n)=>{n.d(t,{LV:()=>p});const r=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),a=Symbol("Comlink.releaseProxy"),i=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),c=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>c(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return l(e,t),[n,[n]]},deserialize:e=>(e.start(),p(e))}],["throw",{canHandle:e=>c(e)&&s in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function l(e,t=globalThis,n=["*"]){t.addEventListener("message",(function o(a){if(!a||!a.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,a.origin))return void console.warn(`Invalid origin '${a.origin}' for comlink proxy`);const{id:c,type:u,path:p}=Object.assign({path:[]},a.data),d=(a.data.argumentList||[]).map(E);let m;try{const t=p.slice(0,-1).reduce(((e,t)=>e[t]),e),n=p.reduce(((e,t)=>e[t]),e);switch(u){case"GET":m=n;break;case"SET":t[p.slice(-1)[0]]=E(a.data.value),m=!0;break;case"APPLY":m=n.apply(t,d);break;case"CONSTRUCT":m=function(e){return Object.assign(e,{[r]:!0})}(new n(...d));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;l(e,n),m=function(e,t){return b.set(e,t),e}(t,[t])}break;case"RELEASE":m=void 0;break;default:return}}catch(e){m={value:e,[s]:0}}Promise.resolve(m).catch((e=>({value:e,[s]:0}))).then((n=>{const[r,a]=w(n);t.postMessage(Object.assign(Object.assign({},r),{id:c}),a),"RELEASE"===u&&(t.removeEventListener("message",o),f(t),i in e&&"function"==typeof e[i]&&e[i]())})).catch((e=>{const[n,r]=w({value:new TypeError("Unserializable return value"),[s]:0});t.postMessage(Object.assign(Object.assign({},n),{id:c}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function p(e,t){const n=new Map;return e.addEventListener("message",(function(e){const{data:t}=e;if(!t||!t.id)return;const r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}})),y(e,n,[],t)}function d(e){if(e)throw new Error("Proxy has been released and is not useable")}function m(e){return A(e,new Map,{type:"RELEASE"}).then((()=>{f(e)}))}const h=new WeakMap,v="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(h.get(e)||0)-1;h.set(e,t),0===t&&m(e)}));function y(e,t,n=[],r=function(){}){let i=!1;const s=new Proxy(r,{get(r,o){if(d(i),o===a)return()=>{!function(e){v&&v.unregister(e)}(s),m(e),t.clear(),i=!0};if("then"===o){if(0===n.length)return{then:()=>s};const r=A(e,t,{type:"GET",path:n.map((e=>e.toString()))}).then(E);return r.then.bind(r)}return y(e,t,[...n,o])},set(r,o,a){d(i);const[s,c]=w(a);return A(e,t,{type:"SET",path:[...n,o].map((e=>e.toString())),value:s},c).then(E)},apply(r,a,s){d(i);const c=n[n.length-1];if(c===o)return A(e,t,{type:"ENDPOINT"}).then(E);if("bind"===c)return y(e,t,n.slice(0,-1));const[u,l]=g(s);return A(e,t,{type:"APPLY",path:n.map((e=>e.toString())),argumentList:u},l).then(E)},construct(r,o){d(i);const[a,s]=g(o);return A(e,t,{type:"CONSTRUCT",path:n.map((e=>e.toString())),argumentList:a},s).then(E)}});return function(e,t){const n=(h.get(t)||0)+1;h.set(t,n),v&&v.register(e,t,e)}(s,e),s}function g(e){const t=e.map(w);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const b=new WeakMap;function w(e){for(const[t,n]of u)if(n.canHandle(e)){const[r,o]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},o]}return[{type:"RAW",value:e},b.get(e)||[]]}function E(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function A(e,t,n,r){return new Promise((o=>{const a=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.set(a,o),e.start&&e.start(),e.postMessage(Object.assign({id:a},n),r)}))}},62740:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(17545),o=n(26902);function a(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(11369);function s(e,t,n,s,c,u){var l,f,p,d,m,h,v,y=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,b=Object.create,w=[b(null),b(null)],E=t.length;function A(t,n,r){return function(o,a){n&&(a=o,o=e);for(var i=0;i<t.length;i++)a=t[i].apply(o,r?[a]:[]);return r?a:o}}function S(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function T(e,t,n,o,i,s,c,u,p,d,m){function h(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),y=t[3],b=!c,E=1===i,T=3===i,j=4===i,k=2===i;function C(t,n,r){return function(o,a){return n&&(a=o,o=e),r&&r(o),M[t].call(o,a)}}if(!b){var M={},x=[],O=T?"get":j||E?"set":"value";if(p?(d||E?M={get:a((function(){return y(this)}),o,"get"),set:function(e){t[4](this,e)}}:M[O]=y,d||a(M[O],o,k?"":O)):d||(M=Object.getOwnPropertyDescriptor(e,o)),!d&&!p){if((f=w[+u][o])&&7!=(f^i))throw Error("Decorating two elements with the same name ("+M[O].name+") is not supported yet");w[+u][o]=i<3?1:i}}for(var P=e,L=v.length-1;L>=0;L-=n?2:1){var R=S(v[L],"A decorator","be",!0),z=n?v[L-1]:void 0,N={},I={kind:["field","accessor","method","getter","setter","class"][i],name:o,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");S(t,"An initializer","be",!0),s.push(t)}.bind(null,N)};if(b)f=R.call(z,P,I),N.v=1,S(f,"class decorators","return")&&(P=f);else if(I.static=u,I.private=p,f=I.access={has:p?m.bind():function(e){return o in e}},j||(f.get=p?k?function(e){return h(e),M.value}:C("get",0,h):function(e){return e[o]}),k||T||(f.set=p?C("set",0,h):function(e,t){e[o]=t}),P=R.call(z,E?{get:M.get,set:M.set}:M[O],I),N.v=1,E){if("object"==(0,r.A)(P)&&P)(f=S(P.get,"accessor.get"))&&(M.get=f),(f=S(P.set,"accessor.set"))&&(M.set=f),(f=S(P.init,"accessor.init"))&&x.unshift(f);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(P,(d?"field":"method")+" decorators","return")&&(d?x.unshift(P):M[O]=P)}return i<2&&c.push(A(x,u,1),A(s,u,0)),d||b||(p?E?c.splice(-1,0,C("get",u),C("set",u)):c.push(k?M[O]:S.call.bind(M[O])):g(e,o,M)),P}function j(e){return g(e,y,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[y]),l=b(null==l?null:l),m=[],h=function(e){e&&m.push(A(e))},v=function(t,r){for(var a=0;a<n.length;a++){var s=n[a],u=s[1],l=7&u;if((8&u)==t&&!l==r){var f=s[2],h=!!s[3],v=16&u;T(t?e:e.prototype,s,v,h?"#"+f:(0,i.A)(f),l,l<2?[]:t?d=d||[]:p=p||[],m,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),h(p),h(d),f=m,E||j(e),{e:f,get c(){var n=[];return E&&[j(e=T(e,[t],s,e.name,5,n)),A(n,1)]}}}},70829:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(12559);function o(e,t){return e.get((0,r.A)(e,t))}},70918:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(72016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},72016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},72591:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],s=0;s<e.length;s++){var c=e[s],u=r.base?c[0]+r.base:c[0],l=a[u]||0,f="".concat(u," ").concat(l);a[u]=l+1;var p=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var m=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:m,references:1})}i.push(f)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var c=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},73656:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},86121:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(12559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},88128:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},93051:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}}}]);
|
|
3
|
-
//# sourceMappingURL=3199.0220cf6e.js.map
|