@next-bricks/visual-builder 1.36.24 → 1.36.25

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 (126) hide show
  1. package/dist/bricks.json +23 -23
  2. package/dist/chunks/{114.5d52bda5.js → 114.429325c5.js} +2 -2
  3. package/dist/chunks/{114.5d52bda5.js.map → 114.429325c5.js.map} +1 -1
  4. package/dist/chunks/{1940.4c2fe754.js → 1940.12b74fb1.js} +2 -2
  5. package/dist/chunks/{9559.732dee70.js.map → 1940.12b74fb1.js.map} +1 -1
  6. package/dist/chunks/{2277.4f4be3e7.js → 2277.337070c4.js} +2 -2
  7. package/dist/chunks/{2277.4f4be3e7.js.map → 2277.337070c4.js.map} +1 -1
  8. package/dist/chunks/{2980.e5192237.js → 2980.6d37f71e.js} +2 -2
  9. package/dist/chunks/{2980.e5192237.js.map → 2980.6d37f71e.js.map} +1 -1
  10. package/dist/chunks/{3171.017f5b19.js → 3171.0a7855c3.js} +2 -2
  11. package/dist/chunks/{3171.017f5b19.js.map → 3171.0a7855c3.js.map} +1 -1
  12. package/dist/chunks/3933.3edb4523.js +2 -0
  13. package/dist/chunks/{3933.257d907f.js.map → 3933.3edb4523.js.map} +1 -1
  14. package/dist/chunks/{4658.30989e4b.js → 4658.7c2c5ee7.js} +2 -2
  15. package/dist/chunks/{4658.30989e4b.js.map → 4658.7c2c5ee7.js.map} +1 -1
  16. package/dist/chunks/{4837.b7912864.js → 4837.df6d466c.js} +2 -2
  17. package/dist/chunks/{4837.b7912864.js.map → 4837.df6d466c.js.map} +1 -1
  18. package/dist/chunks/{5552.5c9bad76.js → 5552.2814cc37.js} +2 -2
  19. package/dist/chunks/{5552.5c9bad76.js.map → 5552.2814cc37.js.map} +1 -1
  20. package/dist/chunks/{5559.7a0f1c64.js → 5559.46d76c74.js} +3 -3
  21. package/dist/chunks/{5559.7a0f1c64.js.map → 5559.46d76c74.js.map} +1 -1
  22. package/dist/chunks/{5832.1348b455.js → 5832.7b134e89.js} +3 -3
  23. package/dist/chunks/{5832.1348b455.js.map → 5832.7b134e89.js.map} +1 -1
  24. package/dist/chunks/6314.f577ecf7.js +2 -0
  25. package/dist/chunks/{6314.0ed2e21b.js.map → 6314.f577ecf7.js.map} +1 -1
  26. package/dist/chunks/{7218.ac96e7d3.js → 7218.f8cd78da.js} +2 -2
  27. package/dist/chunks/{7218.ac96e7d3.js.map → 7218.f8cd78da.js.map} +1 -1
  28. package/dist/chunks/7643.32857740.js +3 -0
  29. package/dist/chunks/7643.32857740.js.map +1 -0
  30. package/dist/chunks/{7733.846aba0b.js → 7733.80dc8554.js} +2 -2
  31. package/dist/chunks/{7733.846aba0b.js.map → 7733.80dc8554.js.map} +1 -1
  32. package/dist/chunks/{790.16f204e3.js → 790.ad2cdfc8.js} +2 -2
  33. package/dist/chunks/{790.16f204e3.js.map → 790.ad2cdfc8.js.map} +1 -1
  34. package/dist/chunks/{9080.fe1678a6.js → 9080.58f31ca3.js} +2 -2
  35. package/dist/chunks/{9080.fe1678a6.js.map → 9080.58f31ca3.js.map} +1 -1
  36. package/dist/chunks/{9515.80c4b472.js → 9515.3823b0b7.js} +2 -2
  37. package/dist/chunks/{9515.80c4b472.js.map → 9515.3823b0b7.js.map} +1 -1
  38. package/dist/chunks/{9559.732dee70.js → 9559.a13f579e.js} +2 -2
  39. package/dist/chunks/{1940.4c2fe754.js.map → 9559.a13f579e.js.map} +1 -1
  40. package/dist/chunks/batch-update-raw-data-generated-view.a164f520.js +3 -0
  41. package/dist/chunks/{batch-update-raw-data-generated-view.37ceca96.js.map → batch-update-raw-data-generated-view.a164f520.js.map} +1 -1
  42. package/dist/chunks/{chat-conversation.760c5dab.js → chat-conversation.34898a33.js} +3 -3
  43. package/dist/chunks/{chat-conversation.760c5dab.js.map → chat-conversation.34898a33.js.map} +1 -1
  44. package/dist/chunks/{chat-preview.bf8fae45.js → chat-preview.e99e2848.js} +3 -3
  45. package/dist/chunks/{chat-preview.bf8fae45.js.map → chat-preview.e99e2848.js.map} +1 -1
  46. package/dist/chunks/check-editor-by-name.fcc2c37d.js +2 -0
  47. package/dist/chunks/{check-editor-by-name.e09b2f48.js.map → check-editor-by-name.fcc2c37d.js.map} +1 -1
  48. package/dist/chunks/contract-select.cceb7453.js +3 -0
  49. package/dist/chunks/{contract-select.72acc194.js.map → contract-select.cceb7453.js.map} +1 -1
  50. package/dist/chunks/generate-snippets-context-menu.37335c3f.js +2 -0
  51. package/dist/chunks/{generate-snippets-context-menu.54011bec.js.map → generate-snippets-context-menu.37335c3f.js.map} +1 -1
  52. package/dist/chunks/get-data-deps.c38a65f6.js +2 -0
  53. package/dist/chunks/{get-data-deps.eedbfdef.js.map → get-data-deps.c38a65f6.js.map} +1 -1
  54. package/dist/chunks/get-dependency-tree.c0af7e28.js +2 -0
  55. package/dist/chunks/{get-dependency-tree.defac84a.js.map → get-dependency-tree.c0af7e28.js.map} +1 -1
  56. package/dist/chunks/get-raw-data-system-prompts.75e39ffa.js +2 -0
  57. package/dist/chunks/{get-raw-data-system-prompts.2113dd98.js.map → get-raw-data-system-prompts.75e39ffa.js.map} +1 -1
  58. package/dist/chunks/{inject-chat-preview-agent.c1102b60.js → inject-chat-preview-agent.bd562547.js} +2 -2
  59. package/dist/chunks/{inject-chat-preview-agent.c1102b60.js.map → inject-chat-preview-agent.bd562547.js.map} +1 -1
  60. package/dist/chunks/main.317dc265.js +2 -0
  61. package/dist/chunks/main.317dc265.js.map +1 -0
  62. package/dist/chunks/{page-arch-node.0cab3fd2.js → page-arch-node.65e9e884.js} +3 -3
  63. package/dist/chunks/{page-arch-node.0cab3fd2.js.map → page-arch-node.65e9e884.js.map} +1 -1
  64. package/dist/chunks/parse-path.8c76084b.js +2 -0
  65. package/dist/chunks/{parse-path.40e14063.js.map → parse-path.8c76084b.js.map} +1 -1
  66. package/dist/chunks/pre-generated-container.e3db46d5.js +2 -0
  67. package/dist/chunks/{pre-generated-container.ac662e85.js.map → pre-generated-container.e3db46d5.js.map} +1 -1
  68. package/dist/chunks/pre-generated-preview.40607780.js +3 -0
  69. package/dist/chunks/{pre-generated-preview.3ba55a87.js.map → pre-generated-preview.40607780.js.map} +1 -1
  70. package/dist/chunks/{pre-generated-table-view.bb111149.js → pre-generated-table-view.7b1dc979.js} +2 -2
  71. package/dist/chunks/{pre-generated-table-view.bb111149.js.map → pre-generated-table-view.7b1dc979.js.map} +1 -1
  72. package/dist/chunks/property-editor.b295b8e4.js +2 -0
  73. package/dist/chunks/{property-editor.1fc0e478.js.map → property-editor.b295b8e4.js.map} +1 -1
  74. package/dist/chunks/{raw-data-preview.c0b0df02.js → raw-data-preview.1f363728.js} +3 -3
  75. package/dist/chunks/{raw-data-preview.c0b0df02.js.map → raw-data-preview.1f363728.js.map} +1 -1
  76. package/dist/chunks/{workbench-action-list.fafa8c6a.js → workbench-action-list.6dfe4f95.js} +2 -2
  77. package/dist/chunks/{workbench-action-list.fafa8c6a.js.map → workbench-action-list.6dfe4f95.js.map} +1 -1
  78. package/dist/chunks/{workbench-action.a7d98bcb.js → workbench-action.0d4aa2f1.js} +3 -3
  79. package/dist/chunks/{workbench-action.a7d98bcb.js.map → workbench-action.0d4aa2f1.js.map} +1 -1
  80. package/dist/chunks/{workbench-history-action.bf072bb6.js → workbench-history-action.a83dcc98.js} +3 -3
  81. package/dist/chunks/{workbench-history-action.bf072bb6.js.map → workbench-history-action.a83dcc98.js.map} +1 -1
  82. package/dist/chunks/{workbench-pane.9c343f5a.js → workbench-pane.ebe65194.js} +3 -3
  83. package/dist/chunks/{workbench-pane.9c343f5a.js.map → workbench-pane.ebe65194.js.map} +1 -1
  84. package/dist/chunks/{workbench-sidebar.2ece73aa.js → workbench-sidebar.647c3683.js} +2 -2
  85. package/dist/chunks/{workbench-sidebar.2ece73aa.js.map → workbench-sidebar.647c3683.js.map} +1 -1
  86. package/dist/chunks/{workbench-tree.3249ec5b.js → workbench-tree.f128149d.js} +3 -3
  87. package/dist/chunks/{workbench-tree.3249ec5b.js.map → workbench-tree.f128149d.js.map} +1 -1
  88. package/dist/examples.json +3 -3
  89. package/dist/index.20dd929b.js +2 -0
  90. package/dist/index.20dd929b.js.map +1 -0
  91. package/dist/manifest.json +115 -115
  92. package/dist/types.json +130 -130
  93. package/package.json +3 -3
  94. package/dist/chunks/3933.257d907f.js +0 -2
  95. package/dist/chunks/6314.0ed2e21b.js +0 -2
  96. package/dist/chunks/7643.eeb8285c.js +0 -3
  97. package/dist/chunks/7643.eeb8285c.js.map +0 -1
  98. package/dist/chunks/batch-update-raw-data-generated-view.37ceca96.js +0 -3
  99. package/dist/chunks/check-editor-by-name.e09b2f48.js +0 -2
  100. package/dist/chunks/contract-select.72acc194.js +0 -3
  101. package/dist/chunks/generate-snippets-context-menu.54011bec.js +0 -2
  102. package/dist/chunks/get-data-deps.eedbfdef.js +0 -2
  103. package/dist/chunks/get-dependency-tree.defac84a.js +0 -2
  104. package/dist/chunks/get-raw-data-system-prompts.2113dd98.js +0 -2
  105. package/dist/chunks/main.51a3dd68.js +0 -2
  106. package/dist/chunks/main.51a3dd68.js.map +0 -1
  107. package/dist/chunks/parse-path.40e14063.js +0 -2
  108. package/dist/chunks/pre-generated-container.ac662e85.js +0 -2
  109. package/dist/chunks/pre-generated-preview.3ba55a87.js +0 -3
  110. package/dist/chunks/property-editor.1fc0e478.js +0 -2
  111. package/dist/index.a47ae775.js +0 -2
  112. package/dist/index.a47ae775.js.map +0 -1
  113. /package/dist/chunks/{5559.7a0f1c64.js.LICENSE.txt → 5559.46d76c74.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{5832.1348b455.js.LICENSE.txt → 5832.7b134e89.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{7643.eeb8285c.js.LICENSE.txt → 7643.32857740.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{batch-update-raw-data-generated-view.37ceca96.js.LICENSE.txt → batch-update-raw-data-generated-view.a164f520.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{chat-conversation.760c5dab.js.LICENSE.txt → chat-conversation.34898a33.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{chat-preview.bf8fae45.js.LICENSE.txt → chat-preview.e99e2848.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{contract-select.72acc194.js.LICENSE.txt → contract-select.cceb7453.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{page-arch-node.0cab3fd2.js.LICENSE.txt → page-arch-node.65e9e884.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{pre-generated-preview.3ba55a87.js.LICENSE.txt → pre-generated-preview.40607780.js.LICENSE.txt} +0 -0
  122. /package/dist/chunks/{raw-data-preview.c0b0df02.js.LICENSE.txt → raw-data-preview.1f363728.js.LICENSE.txt} +0 -0
  123. /package/dist/chunks/{workbench-action.a7d98bcb.js.LICENSE.txt → workbench-action.0d4aa2f1.js.LICENSE.txt} +0 -0
  124. /package/dist/chunks/{workbench-history-action.bf072bb6.js.LICENSE.txt → workbench-history-action.a83dcc98.js.LICENSE.txt} +0 -0
  125. /package/dist/chunks/{workbench-pane.9c343f5a.js.LICENSE.txt → workbench-pane.ebe65194.js.LICENSE.txt} +0 -0
  126. /package/dist/chunks/{workbench-tree.3249ec5b.js.LICENSE.txt → workbench-tree.f128149d.js.LICENSE.txt} +0 -0
@@ -39,6 +39,42 @@
39
39
  "description": "",
40
40
  "insider": true
41
41
  },
42
+ {
43
+ "name": "visual-builder.workbench-action",
44
+ "properties": [
45
+ {
46
+ "name": "icon",
47
+ "attribute": false,
48
+ "type": "GeneralIconProps"
49
+ },
50
+ {
51
+ "name": "to",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "active",
56
+ "type": "boolean"
57
+ },
58
+ {
59
+ "name": "href",
60
+ "type": "string"
61
+ },
62
+ {
63
+ "name": "target",
64
+ "type": "string"
65
+ },
66
+ {
67
+ "name": "tooltip",
68
+ "type": "string"
69
+ }
70
+ ],
71
+ "events": [],
72
+ "slots": [],
73
+ "methods": [],
74
+ "parts": [],
75
+ "description": "",
76
+ "insider": true
77
+ },
42
78
  {
43
79
  "name": "visual-builder.workbench-tree",
44
80
  "properties": [
@@ -159,67 +195,6 @@
159
195
  "description": "",
160
196
  "insider": true
161
197
  },
162
- {
163
- "name": "visual-builder.workbench-history-action",
164
- "properties": [
165
- {
166
- "name": "appId",
167
- "type": "string"
168
- },
169
- {
170
- "name": "projectId",
171
- "type": "string"
172
- }
173
- ],
174
- "events": [
175
- {
176
- "name": "history.item.click",
177
- "description": "点击历史项标题触发",
178
- "detail": {
179
- "type": "HistoryData & { enableRollback: boolean }"
180
- }
181
- },
182
- {
183
- "name": "rollback",
184
- "description": "点击回滚触发",
185
- "detail": {
186
- "type": "HistoryData"
187
- }
188
- },
189
- {
190
- "name": "rollback.all",
191
- "description": "回滚全部",
192
- "detail": {
193
- "type": "void"
194
- }
195
- }
196
- ],
197
- "slots": [],
198
- "methods": [],
199
- "parts": [],
200
- "description": "项目变更历史",
201
- "insider": true
202
- },
203
- {
204
- "name": "visual-builder.workbench-action-list",
205
- "properties": [
206
- {
207
- "name": "appId",
208
- "type": "string"
209
- },
210
- {
211
- "name": "menu",
212
- "attribute": false,
213
- "type": "SidebarMenu"
214
- }
215
- ],
216
- "events": [],
217
- "slots": [],
218
- "methods": [],
219
- "parts": [],
220
- "description": "",
221
- "insider": true
222
- },
223
198
  {
224
199
  "name": "visual-builder.page-arch-node",
225
200
  "properties": [
@@ -320,43 +295,45 @@
320
295
  "description": "构件 `visual-builder.page-arch-node`"
321
296
  },
322
297
  {
323
- "name": "visual-builder.contract-select",
298
+ "name": "visual-builder.workbench-history-action",
324
299
  "properties": [
325
300
  {
326
- "name": "name",
301
+ "name": "appId",
327
302
  "type": "string"
328
303
  },
329
304
  {
330
- "name": "required",
331
- "type": "boolean"
332
- },
333
- {
334
- "name": "label",
305
+ "name": "projectId",
335
306
  "type": "string"
336
- },
337
- {
338
- "name": "value",
339
- "attribute": false,
340
- "type": "any"
341
- },
342
- {
343
- "name": "suffix",
344
- "attribute": false,
345
- "type": "{ useBrick: UseSingleBrickConf | UseSingleBrickConf[] }"
346
307
  }
347
308
  ],
348
309
  "events": [
349
310
  {
350
- "name": "change",
311
+ "name": "history.item.click",
312
+ "description": "点击历史项标题触发",
351
313
  "detail": {
352
- "type": "string"
314
+ "type": "HistoryData & { enableRollback: boolean }"
315
+ }
316
+ },
317
+ {
318
+ "name": "rollback",
319
+ "description": "点击回滚触发",
320
+ "detail": {
321
+ "type": "HistoryData"
322
+ }
323
+ },
324
+ {
325
+ "name": "rollback.all",
326
+ "description": "回滚全部",
327
+ "detail": {
328
+ "type": "void"
353
329
  }
354
330
  }
355
331
  ],
356
332
  "slots": [],
357
333
  "methods": [],
358
334
  "parts": [],
359
- "description": "契约选择构件"
335
+ "description": "项目变更历史",
336
+ "insider": true
360
337
  },
361
338
  {
362
339
  "name": "visual-builder.generate-snippets-context-menu",
@@ -409,6 +386,45 @@
409
386
  "parts": [],
410
387
  "description": "构件 `visual-builder.generate-snippets-context-menu`"
411
388
  },
389
+ {
390
+ "name": "visual-builder.contract-select",
391
+ "properties": [
392
+ {
393
+ "name": "name",
394
+ "type": "string"
395
+ },
396
+ {
397
+ "name": "required",
398
+ "type": "boolean"
399
+ },
400
+ {
401
+ "name": "label",
402
+ "type": "string"
403
+ },
404
+ {
405
+ "name": "value",
406
+ "attribute": false,
407
+ "type": "any"
408
+ },
409
+ {
410
+ "name": "suffix",
411
+ "attribute": false,
412
+ "type": "{ useBrick: UseSingleBrickConf | UseSingleBrickConf[] }"
413
+ }
414
+ ],
415
+ "events": [
416
+ {
417
+ "name": "change",
418
+ "detail": {
419
+ "type": "string"
420
+ }
421
+ }
422
+ ],
423
+ "slots": [],
424
+ "methods": [],
425
+ "parts": [],
426
+ "description": "契约选择构件"
427
+ },
412
428
  {
413
429
  "name": "visual-builder.chat-conversation",
414
430
  "properties": [
@@ -635,32 +651,31 @@
635
651
  "description": "构件 `visual-builder.property-editor`"
636
652
  },
637
653
  {
638
- "name": "visual-builder.workbench-action",
654
+ "name": "visual-builder.workbench-sidebar",
639
655
  "properties": [
640
656
  {
641
- "name": "icon",
642
- "attribute": false,
643
- "type": "GeneralIconProps"
644
- },
645
- {
646
- "name": "to",
647
- "type": "string"
648
- },
649
- {
650
- "name": "active",
651
- "type": "boolean"
652
- },
653
- {
654
- "name": "href",
657
+ "name": "titleLabel",
655
658
  "type": "string"
656
- },
659
+ }
660
+ ],
661
+ "events": [],
662
+ "slots": [],
663
+ "methods": [],
664
+ "parts": [],
665
+ "description": "",
666
+ "insider": true
667
+ },
668
+ {
669
+ "name": "visual-builder.workbench-action-list",
670
+ "properties": [
657
671
  {
658
- "name": "target",
672
+ "name": "appId",
659
673
  "type": "string"
660
674
  },
661
675
  {
662
- "name": "tooltip",
663
- "type": "string"
676
+ "name": "menu",
677
+ "attribute": false,
678
+ "type": "SidebarMenu"
664
679
  }
665
680
  ],
666
681
  "events": [],
@@ -734,21 +749,6 @@
734
749
  "methods": [],
735
750
  "parts": [],
736
751
  "description": "构件 `visual-builder.raw-data-preview`"
737
- },
738
- {
739
- "name": "visual-builder.workbench-sidebar",
740
- "properties": [
741
- {
742
- "name": "titleLabel",
743
- "type": "string"
744
- }
745
- ],
746
- "events": [],
747
- "slots": [],
748
- "methods": [],
749
- "parts": [],
750
- "description": "",
751
- "insider": true
752
752
  }
753
753
  ],
754
754
  "providers": [
package/dist/types.json CHANGED
@@ -45,6 +45,57 @@
45
45
  ],
46
46
  "methods": []
47
47
  },
48
+ "visual-builder.workbench-action": {
49
+ "properties": [
50
+ {
51
+ "name": "icon",
52
+ "annotation": {
53
+ "type": "reference",
54
+ "typeName": {
55
+ "type": "identifier",
56
+ "name": "GeneralIconProps"
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "name": "to",
62
+ "annotation": {
63
+ "type": "keyword",
64
+ "value": "string"
65
+ }
66
+ },
67
+ {
68
+ "name": "active",
69
+ "annotation": {
70
+ "type": "keyword",
71
+ "value": "boolean"
72
+ }
73
+ },
74
+ {
75
+ "name": "href",
76
+ "annotation": {
77
+ "type": "keyword",
78
+ "value": "string"
79
+ }
80
+ },
81
+ {
82
+ "name": "target",
83
+ "annotation": {
84
+ "type": "keyword",
85
+ "value": "string"
86
+ }
87
+ },
88
+ {
89
+ "name": "tooltip",
90
+ "annotation": {
91
+ "type": "keyword",
92
+ "value": "string"
93
+ }
94
+ }
95
+ ],
96
+ "events": [],
97
+ "methods": []
98
+ },
48
99
  "visual-builder.page-arch-node": {
49
100
  "properties": [
50
101
  {
@@ -876,57 +927,6 @@
876
927
  "events": [],
877
928
  "methods": []
878
929
  },
879
- "visual-builder.workbench-action": {
880
- "properties": [
881
- {
882
- "name": "icon",
883
- "annotation": {
884
- "type": "reference",
885
- "typeName": {
886
- "type": "identifier",
887
- "name": "GeneralIconProps"
888
- }
889
- }
890
- },
891
- {
892
- "name": "to",
893
- "annotation": {
894
- "type": "keyword",
895
- "value": "string"
896
- }
897
- },
898
- {
899
- "name": "active",
900
- "annotation": {
901
- "type": "keyword",
902
- "value": "boolean"
903
- }
904
- },
905
- {
906
- "name": "href",
907
- "annotation": {
908
- "type": "keyword",
909
- "value": "string"
910
- }
911
- },
912
- {
913
- "name": "target",
914
- "annotation": {
915
- "type": "keyword",
916
- "value": "string"
917
- }
918
- },
919
- {
920
- "name": "tooltip",
921
- "annotation": {
922
- "type": "keyword",
923
- "value": "string"
924
- }
925
- }
926
- ],
927
- "events": [],
928
- "methods": []
929
- },
930
930
  "visual-builder.workbench-sidebar": {
931
931
  "properties": [
932
932
  {
@@ -940,85 +940,6 @@
940
940
  "events": [],
941
941
  "methods": []
942
942
  },
943
- "visual-builder.workbench-action-list": {
944
- "properties": [
945
- {
946
- "name": "appId",
947
- "annotation": {
948
- "type": "keyword",
949
- "value": "string"
950
- }
951
- },
952
- {
953
- "name": "menu",
954
- "annotation": {
955
- "type": "reference",
956
- "typeName": {
957
- "type": "identifier",
958
- "name": "SidebarMenu"
959
- }
960
- }
961
- }
962
- ],
963
- "events": [],
964
- "methods": [],
965
- "types": [
966
- {
967
- "type": "interface",
968
- "name": "SidebarMenu",
969
- "body": [
970
- {
971
- "type": "propertySignature",
972
- "key": {
973
- "type": "identifier",
974
- "name": "title"
975
- },
976
- "annotation": {
977
- "type": "keyword",
978
- "value": "string"
979
- },
980
- "optional": true,
981
- "computed": false
982
- },
983
- {
984
- "type": "propertySignature",
985
- "key": {
986
- "type": "identifier",
987
- "name": "icon"
988
- },
989
- "annotation": {
990
- "type": "reference",
991
- "typeName": {
992
- "type": "identifier",
993
- "name": "GeneralIconProps"
994
- }
995
- },
996
- "optional": true,
997
- "computed": false
998
- },
999
- {
1000
- "type": "propertySignature",
1001
- "key": {
1002
- "type": "identifier",
1003
- "name": "menuItems"
1004
- },
1005
- "annotation": {
1006
- "type": "array",
1007
- "elementType": {
1008
- "type": "reference",
1009
- "typeName": {
1010
- "type": "identifier",
1011
- "name": "SidebarMenuItem"
1012
- }
1013
- }
1014
- },
1015
- "optional": true,
1016
- "computed": false
1017
- }
1018
- ]
1019
- }
1020
- ]
1021
- },
1022
943
  "visual-builder.get-dependency-tree": {
1023
944
  "type": "provider",
1024
945
  "params": [
@@ -1219,6 +1140,85 @@
1219
1140
  }
1220
1141
  ]
1221
1142
  },
1143
+ "visual-builder.workbench-action-list": {
1144
+ "properties": [
1145
+ {
1146
+ "name": "appId",
1147
+ "annotation": {
1148
+ "type": "keyword",
1149
+ "value": "string"
1150
+ }
1151
+ },
1152
+ {
1153
+ "name": "menu",
1154
+ "annotation": {
1155
+ "type": "reference",
1156
+ "typeName": {
1157
+ "type": "identifier",
1158
+ "name": "SidebarMenu"
1159
+ }
1160
+ }
1161
+ }
1162
+ ],
1163
+ "events": [],
1164
+ "methods": [],
1165
+ "types": [
1166
+ {
1167
+ "type": "interface",
1168
+ "name": "SidebarMenu",
1169
+ "body": [
1170
+ {
1171
+ "type": "propertySignature",
1172
+ "key": {
1173
+ "type": "identifier",
1174
+ "name": "title"
1175
+ },
1176
+ "annotation": {
1177
+ "type": "keyword",
1178
+ "value": "string"
1179
+ },
1180
+ "optional": true,
1181
+ "computed": false
1182
+ },
1183
+ {
1184
+ "type": "propertySignature",
1185
+ "key": {
1186
+ "type": "identifier",
1187
+ "name": "icon"
1188
+ },
1189
+ "annotation": {
1190
+ "type": "reference",
1191
+ "typeName": {
1192
+ "type": "identifier",
1193
+ "name": "GeneralIconProps"
1194
+ }
1195
+ },
1196
+ "optional": true,
1197
+ "computed": false
1198
+ },
1199
+ {
1200
+ "type": "propertySignature",
1201
+ "key": {
1202
+ "type": "identifier",
1203
+ "name": "menuItems"
1204
+ },
1205
+ "annotation": {
1206
+ "type": "array",
1207
+ "elementType": {
1208
+ "type": "reference",
1209
+ "typeName": {
1210
+ "type": "identifier",
1211
+ "name": "SidebarMenuItem"
1212
+ }
1213
+ }
1214
+ },
1215
+ "optional": true,
1216
+ "computed": false
1217
+ }
1218
+ ]
1219
+ }
1220
+ ]
1221
+ },
1222
1222
  "visual-builder.generate-snippets-context-menu": {
1223
1223
  "properties": [
1224
1224
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.36.24",
3
+ "version": "1.36.25",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "postpublish": "mv package.json.bak package.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.23.7",
38
+ "@next-core/build-next-bricks": "^1.23.8",
39
39
  "@next-core/test-next": "^1.1.7"
40
40
  },
41
41
  "peerDependencies": {
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/vs": "*"
46
46
  },
47
- "gitHead": "ebb8ee2660f7d9417c2a96d40a216a576d772842"
47
+ "gitHead": "61f7df5abe941b15ae1fed6a231764fedb105db7"
48
48
  }
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[3933,6314],{3933:(e,t,o)=>{function n(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,s){if("string"==typeof t?r.name===t:t.includes(r.name)){const t=[];for(let i=1;i<=o;i++){const o=s[s.length-i];if("MemberExpression"===(null==o?void 0:o.node.type)&&"object"===o.key){const s=o.node;s.computed||"Identifier"!==s.property.type?s.computed&&"Literal"===s.property.type&&"string"==typeof s.property.value?t.push(n?`${r.name}.${s.property.value}`:s.property.value):e.hasNonStaticUsage=!0:t.push(n?`${r.name}.${s.property.name}`:s.property.name)}else e.hasNonStaticUsage=!0}t.length===o&&e.usedProperties.add(t.join("."))}}}function r(e,t){return function(o,n,r){if(n.name===e){const e=r[r.length-1],n=r[r.length-2];if("CallExpression"===(null==n?void 0:n.node.type)&&"callee"===(null==n?void 0:n.key)&&"MemberExpression"===(null==e?void 0:e.node.type)&&"object"===e.key&&(e.node.computed?"Literal"===e.node.property.type&&e.node.property.value===t:"Identifier"===e.node.property.type&&e.node.property.name===t)){const e=n.node.arguments;if(e.length>0){const t=e[0];"Literal"===t.type&&"string"==typeof t.value?o.usedArgs.add(t.value):o.hasNonStaticUsage=!0}}}}}o.r(t),o.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>s,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>S,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>P,scanPermissionActionsInStoryboard:()=>m,strictCollectMemberUsage:()=>l,track:()=>f,trackAll:()=>y,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>g,traverseStoryboardFunctions:()=>h,unwrapProvider:()=>c.unwrapProvider});const s=r("APP","getMenu"),i=r("INSTALLED_APPS","has");var a=o(8256),c=o(532);function u(e,t,o){const n=new WeakSet,{matchExpressionString:r,visitNotMatchedExpressionString:s,visitNonExpressionString:i,visitObject:u}="string"==typeof o?{matchExpressionString:e=>e.includes(o)}:o;!function e(o){if("string"==typeof o)if((0,a.isEvaluable)(o))if(r(o))try{(0,a.preevaluate)(o,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,o)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==s||s(o);else null==i||i(o);else if((0,c.isObject)(o)){if(n.has(o))return;n.add(o),null==u||u(o);for(const t of Array.isArray(o)?o:Object.values(o))e(t)}}(e)}function l(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const{hasNonStaticUsage:n,nonStaticUsage:r,usedProperties:s}=p(e,t,o);if(n)throw new Error(`Non-static usage of ${t} is prohibited, check your expression: "${r}"`);return s}function p(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r={usedProperties:new Set,hasNonStaticUsage:!1},s=n(r,t,o);return u(e,((e,t,o)=>{s(e,t),r.hasNonStaticUsage&&(r.nonStaticUsage=o)}),t),r}const d=["CTX","STATE","FORM_STATE"];function f(e,t,o){if(e.includes(t)){const r={usedProperties:new Set,hasNonStaticUsage:!1},{expression:s}=(0,a.preevaluate)(e,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal:n(r,o)}});let i;if("SequenceExpression"===s.type&&(i=s.expressions[0])&&"Literal"===i.type&&i.value===t){if(r.usedProperties.size>0)return r.usedProperties;console.warn(`You are using "${t}" but no \`${o}\` usage found in your expression: ${JSON.stringify(e)}`)}}return!1}function y(e){if(d.some((t=>e.includes(t)))){const t={usedProperties:new Set,hasNonStaticUsage:!1};if((0,a.preevaluate)(e,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal:n(t,d,1,!0)}}),t.usedProperties.size>0){const e=[...t.usedProperties],o={context:!1,state:!1,formState:!1},n={CTX:"context",STATE:"state",FORM_STATE:"formState"};return e.forEach((e=>{const[t,r]=e.split(".");o[n[t]]||(o[n[t]]=[]),o[n[t]].push(r)})),o}console.warn(`You are using track all but no "CTX" or "STATE" or "FORM_STATE" usage found in your expression: ${JSON.stringify(e)}`)}return!1}function h(e,t,o){if(Array.isArray(e))for(const n of e)null!=o&&o.matchSource&&!o.matchSource(n.source)||g(n,t)}function g(e,t,o){try{(0,a.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t},cacheKey:e})}catch(t){o||console.error(`Parse storyboard function "${e.name}" failed:`,t)}}function S(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const s={usedProperties:new Set,hasNonStaticUsage:!1};if(e.source.includes(t)&&g(e,n(s,t,r),o),s.hasNonStaticUsage&&!o)throw new Error(`Non-static usage of ${t} is prohibited, check your function: "${e.name}"`);return s.usedProperties.delete(e.name),s.usedProperties}const b="PERMISSIONS",v="check";function m(e){var t;const o=new Set,n=k(o),{customTemplates:r,functions:s}=null!==(t=e.meta)&&void 0!==t?t:{};return u([e.routes,r],n,b),h(s,n,{matchSource:e=>e.includes(b)}),Array.from(o)}function P(e){const t=new Set;return u(e,k(t),b),Array.from(t)}function k(e){return function(t,o){if(t.name===b){const t=o[o.length-1],n=o[o.length-2];if("CallExpression"===(null==n?void 0:n.node.type)&&"callee"===(null==n?void 0:n.key)&&"MemberExpression"===(null==t?void 0:t.node.type)&&"object"===t.key&&(t.node.computed?"Literal"===t.node.property.type&&t.node.property.value===v:"Identifier"===t.node.property.type&&t.node.property.name===v))for(const t of n.node.arguments)"Literal"===t.type&&"string"==typeof t.value&&e.add(t.value)}}}}}]);
2
- //# sourceMappingURL=3933.257d907f.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[6314,3933],{3933:(e,t,o)=>{function n(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,s){if("string"==typeof t?r.name===t:t.includes(r.name)){const t=[];for(let i=1;i<=o;i++){const o=s[s.length-i];if("MemberExpression"===(null==o?void 0:o.node.type)&&"object"===o.key){const s=o.node;s.computed||"Identifier"!==s.property.type?s.computed&&"Literal"===s.property.type&&"string"==typeof s.property.value?t.push(n?`${r.name}.${s.property.value}`:s.property.value):e.hasNonStaticUsage=!0:t.push(n?`${r.name}.${s.property.name}`:s.property.name)}else e.hasNonStaticUsage=!0}t.length===o&&e.usedProperties.add(t.join("."))}}}function r(e,t){return function(o,n,r){if(n.name===e){const e=r[r.length-1],n=r[r.length-2];if("CallExpression"===(null==n?void 0:n.node.type)&&"callee"===(null==n?void 0:n.key)&&"MemberExpression"===(null==e?void 0:e.node.type)&&"object"===e.key&&(e.node.computed?"Literal"===e.node.property.type&&e.node.property.value===t:"Identifier"===e.node.property.type&&e.node.property.name===t)){const e=n.node.arguments;if(e.length>0){const t=e[0];"Literal"===t.type&&"string"==typeof t.value?o.usedArgs.add(t.value):o.hasNonStaticUsage=!0}}}}}o.r(t),o.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>s,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>S,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>P,scanPermissionActionsInStoryboard:()=>m,strictCollectMemberUsage:()=>l,track:()=>f,trackAll:()=>y,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>g,traverseStoryboardFunctions:()=>h,unwrapProvider:()=>c.unwrapProvider});const s=r("APP","getMenu"),i=r("INSTALLED_APPS","has");var a=o(8256),c=o(532);function u(e,t,o){const n=new WeakSet,{matchExpressionString:r,visitNotMatchedExpressionString:s,visitNonExpressionString:i,visitObject:u}="string"==typeof o?{matchExpressionString:e=>e.includes(o)}:o;!function e(o){if("string"==typeof o)if((0,a.isEvaluable)(o))if(r(o))try{(0,a.preevaluate)(o,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,o)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==s||s(o);else null==i||i(o);else if((0,c.isObject)(o)){if(n.has(o))return;n.add(o),null==u||u(o);for(const t of Array.isArray(o)?o:Object.values(o))e(t)}}(e)}function l(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const{hasNonStaticUsage:n,nonStaticUsage:r,usedProperties:s}=p(e,t,o);if(n)throw new Error(`Non-static usage of ${t} is prohibited, check your expression: "${r}"`);return s}function p(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r={usedProperties:new Set,hasNonStaticUsage:!1},s=n(r,t,o);return u(e,((e,t,o)=>{s(e,t),r.hasNonStaticUsage&&(r.nonStaticUsage=o)}),t),r}const d=["CTX","STATE","FORM_STATE"];function f(e,t,o){if(e.includes(t)){const r={usedProperties:new Set,hasNonStaticUsage:!1},{expression:s}=(0,a.preevaluate)(e,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal:n(r,o)}});let i;if("SequenceExpression"===s.type&&(i=s.expressions[0])&&"Literal"===i.type&&i.value===t){if(r.usedProperties.size>0)return r.usedProperties;console.warn(`You are using "${t}" but no \`${o}\` usage found in your expression: ${JSON.stringify(e)}`)}}return!1}function y(e){if(d.some((t=>e.includes(t)))){const t={usedProperties:new Set,hasNonStaticUsage:!1};if((0,a.preevaluate)(e,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal:n(t,d,1,!0)}}),t.usedProperties.size>0){const e=[...t.usedProperties],o={context:!1,state:!1,formState:!1},n={CTX:"context",STATE:"state",FORM_STATE:"formState"};return e.forEach((e=>{const[t,r]=e.split(".");o[n[t]]||(o[n[t]]=[]),o[n[t]].push(r)})),o}console.warn(`You are using track all but no "CTX" or "STATE" or "FORM_STATE" usage found in your expression: ${JSON.stringify(e)}`)}return!1}function h(e,t,o){if(Array.isArray(e))for(const n of e)null!=o&&o.matchSource&&!o.matchSource(n.source)||g(n,t)}function g(e,t,o){try{(0,a.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t},cacheKey:e})}catch(t){o||console.error(`Parse storyboard function "${e.name}" failed:`,t)}}function S(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const s={usedProperties:new Set,hasNonStaticUsage:!1};if(e.source.includes(t)&&g(e,n(s,t,r),o),s.hasNonStaticUsage&&!o)throw new Error(`Non-static usage of ${t} is prohibited, check your function: "${e.name}"`);return s.usedProperties.delete(e.name),s.usedProperties}const b="PERMISSIONS",v="check";function m(e){var t;const o=new Set,n=k(o),{customTemplates:r,functions:s}=null!==(t=e.meta)&&void 0!==t?t:{};return u([e.routes,r],n,b),h(s,n,{matchSource:e=>e.includes(b)}),Array.from(o)}function P(e){const t=new Set;return u(e,k(t),b),Array.from(t)}function k(e){return function(t,o){if(t.name===b){const t=o[o.length-1],n=o[o.length-2];if("CallExpression"===(null==n?void 0:n.node.type)&&"callee"===(null==n?void 0:n.key)&&"MemberExpression"===(null==t?void 0:t.node.type)&&"object"===t.key&&(t.node.computed?"Literal"===t.node.property.type&&t.node.property.value===v:"Identifier"===t.node.property.type&&t.node.property.name===v))for(const t of n.node.arguments)"Literal"===t.type&&"string"==typeof t.value&&e.add(t.value)}}}}}]);
2
- //# sourceMappingURL=6314.0ed2e21b.js.map