@jay-framework/aiditor 0.21.0 → 0.22.0
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/agent-kit-template/plugin/aiditor-add-menu.md +470 -63
- package/dist/index.client.d.ts +219 -7
- package/dist/index.client.js +1184 -272
- package/dist/index.d.ts +21 -23
- package/dist/index.js +106 -137
- package/dist/pages/aiditor/page.css +55 -19
- package/dist/pages/aiditor/page.jay-html +513 -91
- package/dist/pages/aiditor/page.jay-html.d.ts +219 -7
- package/package.json +11 -10
- package/plugin.yaml +2 -3
|
@@ -66,7 +66,7 @@ export interface AddMenuPickerSubCategoryFilterRowOfPageViewState {
|
|
|
66
66
|
cssClass: string
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export interface
|
|
69
|
+
export interface StripCellOfAddMenuPickerBrowseBlockOfPageViewState {
|
|
70
70
|
rowKey: string,
|
|
71
71
|
isSectionHeader: boolean,
|
|
72
72
|
label: string,
|
|
@@ -76,11 +76,111 @@ export interface AddMenuPickerBrowseRowOfPageViewState {
|
|
|
76
76
|
showBrowseOnly: boolean,
|
|
77
77
|
isItemSelected: boolean,
|
|
78
78
|
cardCssClass: string,
|
|
79
|
+
showImage: boolean,
|
|
80
|
+
showGif: boolean,
|
|
81
|
+
showHtmlFragment: boolean,
|
|
82
|
+
imageUrl: string,
|
|
83
|
+
gifUrl: string,
|
|
84
|
+
posterUrl: string,
|
|
85
|
+
previewHtml: string,
|
|
86
|
+
showGifAutoplay: boolean,
|
|
87
|
+
showGifPoster: boolean,
|
|
88
|
+
showGifReducedInfoIcon: boolean,
|
|
79
89
|
showThumbnail: boolean,
|
|
80
90
|
showInfoIcon: boolean,
|
|
81
91
|
thumbnailUrl: string,
|
|
82
92
|
isAnimatedThumbnail: boolean,
|
|
83
|
-
thumbCssClass: string
|
|
93
|
+
thumbCssClass: string,
|
|
94
|
+
browseSize: string
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface QuadRowOfBandSlotOfAddMenuPickerBrowseBlockOfPageViewState {
|
|
98
|
+
rowKey: string,
|
|
99
|
+
label: string,
|
|
100
|
+
itemId: string,
|
|
101
|
+
isPickable: boolean,
|
|
102
|
+
showPickable: boolean,
|
|
103
|
+
isItemSelected: boolean,
|
|
104
|
+
cardCssClass: string,
|
|
105
|
+
showImage: boolean,
|
|
106
|
+
showGif: boolean,
|
|
107
|
+
showHtmlFragment: boolean,
|
|
108
|
+
imageUrl: string,
|
|
109
|
+
gifUrl: string,
|
|
110
|
+
posterUrl: string,
|
|
111
|
+
previewHtml: string,
|
|
112
|
+
showGifAutoplay: boolean,
|
|
113
|
+
showGifPoster: boolean,
|
|
114
|
+
showGifReducedInfoIcon: boolean,
|
|
115
|
+
showThumbnail: boolean,
|
|
116
|
+
showInfoIcon: boolean,
|
|
117
|
+
thumbnailUrl: string,
|
|
118
|
+
isAnimatedThumbnail: boolean,
|
|
119
|
+
thumbCssClass: string,
|
|
120
|
+
browseSize: string
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface BandSlotOfAddMenuPickerBrowseBlockOfPageViewState {
|
|
124
|
+
slotKey: string,
|
|
125
|
+
slotKind: string,
|
|
126
|
+
slotCssClass: string,
|
|
127
|
+
showMediumSlot: boolean,
|
|
128
|
+
showLargeSlot: boolean,
|
|
129
|
+
showSmallQuad: boolean,
|
|
130
|
+
rowKey: string,
|
|
131
|
+
label: string,
|
|
132
|
+
itemId: string,
|
|
133
|
+
isPickable: boolean,
|
|
134
|
+
showPickable: boolean,
|
|
135
|
+
isItemSelected: boolean,
|
|
136
|
+
cardCssClass: string,
|
|
137
|
+
showImage: boolean,
|
|
138
|
+
showGif: boolean,
|
|
139
|
+
showHtmlFragment: boolean,
|
|
140
|
+
imageUrl: string,
|
|
141
|
+
gifUrl: string,
|
|
142
|
+
posterUrl: string,
|
|
143
|
+
previewHtml: string,
|
|
144
|
+
showGifAutoplay: boolean,
|
|
145
|
+
showGifPoster: boolean,
|
|
146
|
+
showGifReducedInfoIcon: boolean,
|
|
147
|
+
showThumbnail: boolean,
|
|
148
|
+
showInfoIcon: boolean,
|
|
149
|
+
thumbnailUrl: string,
|
|
150
|
+
isAnimatedThumbnail: boolean,
|
|
151
|
+
thumbCssClass: string,
|
|
152
|
+
browseSize: string,
|
|
153
|
+
quadRows: Array<QuadRowOfBandSlotOfAddMenuPickerBrowseBlockOfPageViewState>
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export interface AddMenuPickerBrowseBlockOfPageViewState {
|
|
157
|
+
blockKey: string,
|
|
158
|
+
kind: string,
|
|
159
|
+
showSectionHeader: boolean,
|
|
160
|
+
showBand: boolean,
|
|
161
|
+
sectionLabel: string,
|
|
162
|
+
bandKind: string,
|
|
163
|
+
bandCssClass: string,
|
|
164
|
+
showSmallStrip: boolean,
|
|
165
|
+
showMediumBand: boolean,
|
|
166
|
+
stripCells: Array<StripCellOfAddMenuPickerBrowseBlockOfPageViewState>,
|
|
167
|
+
bandSlots: Array<BandSlotOfAddMenuPickerBrowseBlockOfPageViewState>
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface AddMenuPickerBrowseBreadcrumbSegmentOfPageViewState {
|
|
171
|
+
segmentKey: string,
|
|
172
|
+
navKey: string,
|
|
173
|
+
label: string,
|
|
174
|
+
isLast: boolean
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export interface AddMenuPickerBrowseFolderRowOfPageViewState {
|
|
178
|
+
rowKey: string,
|
|
179
|
+
navKey: string,
|
|
180
|
+
segment: string,
|
|
181
|
+
label: string,
|
|
182
|
+
itemCountLabel: string,
|
|
183
|
+
totalItemCount: number
|
|
84
184
|
}
|
|
85
185
|
|
|
86
186
|
export interface PageInfoComponentRowOfPageViewState {
|
|
@@ -147,7 +247,7 @@ export interface AddMenuDockSubCategoryFilterRowOfPageViewState {
|
|
|
147
247
|
cssClass: string
|
|
148
248
|
}
|
|
149
249
|
|
|
150
|
-
export interface
|
|
250
|
+
export interface StripCellOfAddMenuDockBrowseBlockOfPageViewState {
|
|
151
251
|
rowKey: string,
|
|
152
252
|
isSectionHeader: boolean,
|
|
153
253
|
label: string,
|
|
@@ -157,11 +257,111 @@ export interface AddMenuDockBrowseRowOfPageViewState {
|
|
|
157
257
|
showBrowseOnly: boolean,
|
|
158
258
|
isItemSelected: boolean,
|
|
159
259
|
cardCssClass: string,
|
|
260
|
+
showImage: boolean,
|
|
261
|
+
showGif: boolean,
|
|
262
|
+
showHtmlFragment: boolean,
|
|
263
|
+
imageUrl: string,
|
|
264
|
+
gifUrl: string,
|
|
265
|
+
posterUrl: string,
|
|
266
|
+
previewHtml: string,
|
|
267
|
+
showGifAutoplay: boolean,
|
|
268
|
+
showGifPoster: boolean,
|
|
269
|
+
showGifReducedInfoIcon: boolean,
|
|
270
|
+
showThumbnail: boolean,
|
|
271
|
+
showInfoIcon: boolean,
|
|
272
|
+
thumbnailUrl: string,
|
|
273
|
+
isAnimatedThumbnail: boolean,
|
|
274
|
+
thumbCssClass: string,
|
|
275
|
+
browseSize: string
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface QuadRowOfBandSlotOfAddMenuDockBrowseBlockOfPageViewState {
|
|
279
|
+
rowKey: string,
|
|
280
|
+
label: string,
|
|
281
|
+
itemId: string,
|
|
282
|
+
isPickable: boolean,
|
|
283
|
+
showPickable: boolean,
|
|
284
|
+
isItemSelected: boolean,
|
|
285
|
+
cardCssClass: string,
|
|
286
|
+
showImage: boolean,
|
|
287
|
+
showGif: boolean,
|
|
288
|
+
showHtmlFragment: boolean,
|
|
289
|
+
imageUrl: string,
|
|
290
|
+
gifUrl: string,
|
|
291
|
+
posterUrl: string,
|
|
292
|
+
previewHtml: string,
|
|
293
|
+
showGifAutoplay: boolean,
|
|
294
|
+
showGifPoster: boolean,
|
|
295
|
+
showGifReducedInfoIcon: boolean,
|
|
160
296
|
showThumbnail: boolean,
|
|
161
297
|
showInfoIcon: boolean,
|
|
162
298
|
thumbnailUrl: string,
|
|
163
299
|
isAnimatedThumbnail: boolean,
|
|
164
|
-
thumbCssClass: string
|
|
300
|
+
thumbCssClass: string,
|
|
301
|
+
browseSize: string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export interface BandSlotOfAddMenuDockBrowseBlockOfPageViewState {
|
|
305
|
+
slotKey: string,
|
|
306
|
+
slotKind: string,
|
|
307
|
+
slotCssClass: string,
|
|
308
|
+
showMediumSlot: boolean,
|
|
309
|
+
showLargeSlot: boolean,
|
|
310
|
+
showSmallQuad: boolean,
|
|
311
|
+
rowKey: string,
|
|
312
|
+
label: string,
|
|
313
|
+
itemId: string,
|
|
314
|
+
isPickable: boolean,
|
|
315
|
+
showPickable: boolean,
|
|
316
|
+
isItemSelected: boolean,
|
|
317
|
+
cardCssClass: string,
|
|
318
|
+
showImage: boolean,
|
|
319
|
+
showGif: boolean,
|
|
320
|
+
showHtmlFragment: boolean,
|
|
321
|
+
imageUrl: string,
|
|
322
|
+
gifUrl: string,
|
|
323
|
+
posterUrl: string,
|
|
324
|
+
previewHtml: string,
|
|
325
|
+
showGifAutoplay: boolean,
|
|
326
|
+
showGifPoster: boolean,
|
|
327
|
+
showGifReducedInfoIcon: boolean,
|
|
328
|
+
showThumbnail: boolean,
|
|
329
|
+
showInfoIcon: boolean,
|
|
330
|
+
thumbnailUrl: string,
|
|
331
|
+
isAnimatedThumbnail: boolean,
|
|
332
|
+
thumbCssClass: string,
|
|
333
|
+
browseSize: string,
|
|
334
|
+
quadRows: Array<QuadRowOfBandSlotOfAddMenuDockBrowseBlockOfPageViewState>
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export interface AddMenuDockBrowseBlockOfPageViewState {
|
|
338
|
+
blockKey: string,
|
|
339
|
+
kind: string,
|
|
340
|
+
showSectionHeader: boolean,
|
|
341
|
+
showBand: boolean,
|
|
342
|
+
sectionLabel: string,
|
|
343
|
+
bandKind: string,
|
|
344
|
+
bandCssClass: string,
|
|
345
|
+
showSmallStrip: boolean,
|
|
346
|
+
showMediumBand: boolean,
|
|
347
|
+
stripCells: Array<StripCellOfAddMenuDockBrowseBlockOfPageViewState>,
|
|
348
|
+
bandSlots: Array<BandSlotOfAddMenuDockBrowseBlockOfPageViewState>
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export interface AddMenuDockBrowseBreadcrumbSegmentOfPageViewState {
|
|
352
|
+
segmentKey: string,
|
|
353
|
+
navKey: string,
|
|
354
|
+
label: string,
|
|
355
|
+
isLast: boolean
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface AddMenuDockBrowseFolderRowOfPageViewState {
|
|
359
|
+
rowKey: string,
|
|
360
|
+
navKey: string,
|
|
361
|
+
segment: string,
|
|
362
|
+
label: string,
|
|
363
|
+
itemCountLabel: string,
|
|
364
|
+
totalItemCount: number
|
|
165
365
|
}
|
|
166
366
|
|
|
167
367
|
export interface AssetMentionRowOfPageViewState {
|
|
@@ -552,7 +752,12 @@ export interface PageViewState {
|
|
|
552
752
|
addMenuPickerBrowseLayoutClass: string,
|
|
553
753
|
addMenuPickerLeftNavRows: Array<AddMenuPickerLeftNavRowOfPageViewState>,
|
|
554
754
|
addMenuPickerSubCategoryFilterRows: Array<AddMenuPickerSubCategoryFilterRowOfPageViewState>,
|
|
555
|
-
|
|
755
|
+
addMenuPickerBrowseBlocks: Array<AddMenuPickerBrowseBlockOfPageViewState>,
|
|
756
|
+
showAddMenuPickerBreadcrumb: boolean,
|
|
757
|
+
showAddMenuPickerFolderGrid: boolean,
|
|
758
|
+
showAddMenuPickerEmptyFolder: boolean,
|
|
759
|
+
addMenuPickerBrowseBreadcrumbSegments: Array<AddMenuPickerBrowseBreadcrumbSegmentOfPageViewState>,
|
|
760
|
+
addMenuPickerBrowseFolderRows: Array<AddMenuPickerBrowseFolderRowOfPageViewState>,
|
|
556
761
|
showPageInfoPanel: boolean,
|
|
557
762
|
pageInfoPanelLeft: number,
|
|
558
763
|
pageInfoPanelTop: number,
|
|
@@ -617,7 +822,12 @@ export interface PageViewState {
|
|
|
617
822
|
addMenuDockLoadMoreLabel: string,
|
|
618
823
|
addMenuDockLeftNavRows: Array<AddMenuDockLeftNavRowOfPageViewState>,
|
|
619
824
|
addMenuDockSubCategoryFilterRows: Array<AddMenuDockSubCategoryFilterRowOfPageViewState>,
|
|
620
|
-
|
|
825
|
+
addMenuDockBrowseBlocks: Array<AddMenuDockBrowseBlockOfPageViewState>,
|
|
826
|
+
showAddMenuDockBreadcrumb: boolean,
|
|
827
|
+
showAddMenuDockFolderGrid: boolean,
|
|
828
|
+
showAddMenuDockEmptyFolder: boolean,
|
|
829
|
+
addMenuDockBrowseBreadcrumbSegments: Array<AddMenuDockBrowseBreadcrumbSegmentOfPageViewState>,
|
|
830
|
+
addMenuDockBrowseFolderRows: Array<AddMenuDockBrowseFolderRowOfPageViewState>,
|
|
621
831
|
showAddMenuDockSearchMode: boolean,
|
|
622
832
|
addMenuDockSearchSummary: string,
|
|
623
833
|
showAssetMentionPanel: boolean,
|
|
@@ -945,6 +1155,7 @@ export interface PageElementRefs {
|
|
|
945
1155
|
addMenuDockCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
946
1156
|
addMenuDockHeader: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
947
1157
|
addMenuDockSearchInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
1158
|
+
addMenuDockBrowseContent: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
948
1159
|
addMenuDockPanel: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
949
1160
|
assetMentionHeaderBack: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
950
1161
|
assetMentionHeaderSearchInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
@@ -958,15 +1169,16 @@ export interface PageElementRefs {
|
|
|
958
1169
|
addMenuPickerCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
959
1170
|
addMenuPickerSearchInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
960
1171
|
addMenuPickerSubCategoryFilters: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
1172
|
+
addMenuPickerBrowseContent: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
961
1173
|
addMenuPickerDialog: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
962
1174
|
addMenuPickerOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
963
1175
|
addMenuPickerDismissConfirmOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
964
1176
|
filePreviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
965
1177
|
filePreviewBackdrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
966
1178
|
videoReviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
1179
|
+
videoReviewAttachFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
967
1180
|
videoModalToolPointBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
968
1181
|
videoModalToolAreaBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
969
|
-
videoReviewAttachFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
970
1182
|
videoReviewPlayer: HTMLElementProxy<PageViewState, HTMLVideoElement>,
|
|
971
1183
|
videoReviewOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
972
1184
|
videoReviewCaptureRoot: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/aiditor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AIditor — visual AI-driven code editor plugin for Jay Framework",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -74,21 +74,22 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@anthropic-ai/claude-agent-sdk": "0.2.119",
|
|
77
|
-
"@jay-framework/compiler-jay-html": "^0.
|
|
78
|
-
"@jay-framework/compiler-shared": "^0.
|
|
79
|
-
"@jay-framework/component": "^0.
|
|
80
|
-
"@jay-framework/fullstack-component": "^0.
|
|
81
|
-
"@jay-framework/
|
|
82
|
-
"@jay-framework/
|
|
83
|
-
"@jay-framework/stack-
|
|
77
|
+
"@jay-framework/compiler-jay-html": "^0.22.0",
|
|
78
|
+
"@jay-framework/compiler-shared": "^0.22.0",
|
|
79
|
+
"@jay-framework/component": "^0.22.0",
|
|
80
|
+
"@jay-framework/fullstack-component": "^0.22.0",
|
|
81
|
+
"@jay-framework/plugin-validator": "^0.22.0",
|
|
82
|
+
"@jay-framework/reactive": "^0.22.0",
|
|
83
|
+
"@jay-framework/stack-client-runtime": "^0.22.0",
|
|
84
|
+
"@jay-framework/stack-server-runtime": "^0.22.0",
|
|
84
85
|
"busboy": "^1.6.0",
|
|
85
86
|
"html2canvas": "^1.4.1",
|
|
86
87
|
"js-yaml": "^4.1.0",
|
|
87
88
|
"zod": "^4.3.6"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
|
-
"@jay-framework/compiler-jay-stack": "^0.
|
|
91
|
-
"@jay-framework/jay-cli": "^0.
|
|
91
|
+
"@jay-framework/compiler-jay-stack": "^0.22.0",
|
|
92
|
+
"@jay-framework/jay-cli": "^0.22.0",
|
|
92
93
|
"@types/busboy": "^1",
|
|
93
94
|
"nodemon": "^3.0.3",
|
|
94
95
|
"rimraf": "^5.0.5",
|
package/plugin.yaml
CHANGED
|
@@ -78,9 +78,8 @@ actions:
|
|
|
78
78
|
- name: runAiditorPublishAction
|
|
79
79
|
action: run-aiditor-publish.jay-action
|
|
80
80
|
|
|
81
|
-
setup:
|
|
82
|
-
|
|
83
|
-
description: Install AIditor Add Menu contributor guide into agent-kit/plugin/
|
|
81
|
+
setup: setupAiditor
|
|
82
|
+
description: Install AIditor Add Menu contributor guide into agent-kit/plugin/
|
|
84
83
|
|
|
85
84
|
routes:
|
|
86
85
|
- path: /aiditor
|