@next-bricks/advanced 0.14.1 → 0.15.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/types.json CHANGED
@@ -1,4 +1,163 @@
1
1
  {
2
+ "eo-workbench-layout": {
3
+ "properties": [
4
+ {
5
+ "name": "cardTitle",
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "string"
9
+ }
10
+ },
11
+ {
12
+ "name": "isEdit",
13
+ "annotation": {
14
+ "type": "keyword",
15
+ "value": "boolean"
16
+ }
17
+ },
18
+ {
19
+ "name": "layouts",
20
+ "annotation": {
21
+ "type": "array",
22
+ "elementType": {
23
+ "type": "reference",
24
+ "typeName": {
25
+ "type": "identifier",
26
+ "name": "Layout"
27
+ }
28
+ }
29
+ }
30
+ },
31
+ {
32
+ "name": "componentList",
33
+ "annotation": {
34
+ "type": "array",
35
+ "elementType": {
36
+ "type": "reference",
37
+ "typeName": {
38
+ "type": "identifier",
39
+ "name": "Item"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ ],
45
+ "events": [
46
+ {
47
+ "name": "save",
48
+ "detail": {
49
+ "annotation": {
50
+ "type": "array",
51
+ "elementType": {
52
+ "type": "reference",
53
+ "typeName": {
54
+ "type": "identifier",
55
+ "name": "Layout"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ },
61
+ {
62
+ "name": "cancel",
63
+ "detail": {
64
+ "annotation": {
65
+ "type": "keyword",
66
+ "value": "void"
67
+ }
68
+ }
69
+ }
70
+ ],
71
+ "methods": [],
72
+ "types": [
73
+ {
74
+ "type": "typeAlias",
75
+ "name": "Item",
76
+ "annotation": {
77
+ "type": "typeLiteral",
78
+ "members": [
79
+ {
80
+ "type": "propertySignature",
81
+ "key": {
82
+ "type": "identifier",
83
+ "name": "position"
84
+ },
85
+ "annotation": {
86
+ "type": "reference",
87
+ "typeName": {
88
+ "type": "identifier",
89
+ "name": "Layout"
90
+ }
91
+ },
92
+ "computed": false
93
+ },
94
+ {
95
+ "type": "propertySignature",
96
+ "key": {
97
+ "type": "identifier",
98
+ "name": "key"
99
+ },
100
+ "annotation": {
101
+ "type": "keyword",
102
+ "value": "string"
103
+ },
104
+ "computed": false
105
+ },
106
+ {
107
+ "type": "propertySignature",
108
+ "key": {
109
+ "type": "identifier",
110
+ "name": "title"
111
+ },
112
+ "annotation": {
113
+ "type": "keyword",
114
+ "value": "string"
115
+ },
116
+ "computed": false
117
+ },
118
+ {
119
+ "type": "propertySignature",
120
+ "key": {
121
+ "type": "identifier",
122
+ "name": "style"
123
+ },
124
+ "annotation": {
125
+ "type": "reference",
126
+ "typeName": {
127
+ "type": "qualifiedName",
128
+ "left": {
129
+ "type": "identifier",
130
+ "name": "React"
131
+ },
132
+ "right": {
133
+ "type": "identifier",
134
+ "name": "CSSProperties"
135
+ }
136
+ }
137
+ },
138
+ "optional": true,
139
+ "computed": false
140
+ },
141
+ {
142
+ "type": "propertySignature",
143
+ "key": {
144
+ "type": "identifier",
145
+ "name": "useBrick"
146
+ },
147
+ "annotation": {
148
+ "type": "reference",
149
+ "typeName": {
150
+ "type": "identifier",
151
+ "name": "UseSingleBrickConf"
152
+ }
153
+ },
154
+ "computed": false
155
+ }
156
+ ]
157
+ }
158
+ }
159
+ ]
160
+ },
2
161
  "eo-cascader": {
3
162
  "properties": [
4
163
  {
@@ -254,158 +413,6 @@
254
413
  ],
255
414
  "methods": []
256
415
  },
257
- "eo-workbench-layout": {
258
- "properties": [
259
- {
260
- "name": "isEdit",
261
- "annotation": {
262
- "type": "keyword",
263
- "value": "boolean"
264
- }
265
- },
266
- {
267
- "name": "layouts",
268
- "annotation": {
269
- "type": "array",
270
- "elementType": {
271
- "type": "reference",
272
- "typeName": {
273
- "type": "identifier",
274
- "name": "Layout"
275
- }
276
- }
277
- }
278
- },
279
- {
280
- "name": "componentList",
281
- "annotation": {
282
- "type": "array",
283
- "elementType": {
284
- "type": "reference",
285
- "typeName": {
286
- "type": "identifier",
287
- "name": "Item"
288
- }
289
- }
290
- }
291
- }
292
- ],
293
- "events": [
294
- {
295
- "name": "save",
296
- "detail": {
297
- "annotation": {
298
- "type": "array",
299
- "elementType": {
300
- "type": "reference",
301
- "typeName": {
302
- "type": "identifier",
303
- "name": "Layout"
304
- }
305
- }
306
- }
307
- }
308
- },
309
- {
310
- "name": "cancel",
311
- "detail": {
312
- "annotation": {
313
- "type": "keyword",
314
- "value": "void"
315
- }
316
- }
317
- }
318
- ],
319
- "methods": [],
320
- "types": [
321
- {
322
- "type": "typeAlias",
323
- "name": "Item",
324
- "annotation": {
325
- "type": "typeLiteral",
326
- "members": [
327
- {
328
- "type": "propertySignature",
329
- "key": {
330
- "type": "identifier",
331
- "name": "position"
332
- },
333
- "annotation": {
334
- "type": "reference",
335
- "typeName": {
336
- "type": "identifier",
337
- "name": "Layout"
338
- }
339
- },
340
- "computed": false
341
- },
342
- {
343
- "type": "propertySignature",
344
- "key": {
345
- "type": "identifier",
346
- "name": "key"
347
- },
348
- "annotation": {
349
- "type": "keyword",
350
- "value": "string"
351
- },
352
- "computed": false
353
- },
354
- {
355
- "type": "propertySignature",
356
- "key": {
357
- "type": "identifier",
358
- "name": "title"
359
- },
360
- "annotation": {
361
- "type": "keyword",
362
- "value": "string"
363
- },
364
- "computed": false
365
- },
366
- {
367
- "type": "propertySignature",
368
- "key": {
369
- "type": "identifier",
370
- "name": "style"
371
- },
372
- "annotation": {
373
- "type": "reference",
374
- "typeName": {
375
- "type": "qualifiedName",
376
- "left": {
377
- "type": "identifier",
378
- "name": "React"
379
- },
380
- "right": {
381
- "type": "identifier",
382
- "name": "CSSProperties"
383
- }
384
- }
385
- },
386
- "optional": true,
387
- "computed": false
388
- },
389
- {
390
- "type": "propertySignature",
391
- "key": {
392
- "type": "identifier",
393
- "name": "useBrick"
394
- },
395
- "annotation": {
396
- "type": "reference",
397
- "typeName": {
398
- "type": "identifier",
399
- "name": "UseSingleBrickConf"
400
- }
401
- },
402
- "computed": false
403
- }
404
- ]
405
- }
406
- }
407
- ]
408
- },
409
416
  "eo-table": {
410
417
  "properties": [
411
418
  {
@@ -15,17 +15,19 @@ type Item = {
15
15
  */
16
16
  export declare class EoWorkbenchLayout extends ReactNextElement {
17
17
  #private;
18
+ accessor cardTitle: string | undefined;
18
19
  accessor isEdit: boolean | undefined;
19
20
  accessor layouts: Layout[] | undefined;
20
21
  accessor componentList: Item[] | undefined;
21
22
  render(): React.JSX.Element;
22
23
  }
23
24
  export interface EoWorkbenchLayoutProps {
25
+ cardTitle?: string;
24
26
  layouts?: Layout[];
25
27
  componentList?: Item[];
26
28
  isEdit?: boolean;
27
29
  onSave?: (layout: Layout[]) => void;
28
30
  onCancel?: () => void;
29
31
  }
30
- export declare function EoWorkbenchLayoutComponent({ layouts: layoutsProps, componentList, isEdit, onSave, onCancel, }: EoWorkbenchLayoutProps): React.JSX.Element;
32
+ export declare function EoWorkbenchLayoutComponent({ cardTitle, layouts: layoutsProps, componentList, isEdit, onSave, onCancel, }: EoWorkbenchLayoutProps): React.JSX.Element;
31
33
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/advanced",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/basic",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,5 +42,5 @@
42
42
  "@next-bricks/form": "*",
43
43
  "@next-bricks/icons": "*"
44
44
  },
45
- "gitHead": "e1ff046e91d90266686c5cb9878cad379fbc4944"
45
+ "gitHead": "8ec7c1b9a4c63b2808cb9e84e66571294c9341e6"
46
46
  }