@pitcher/canvas-ui 2026.1.7-105737-beta → 2026.1.7-95151
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/canvas-ui.css +18 -18
- package/canvas-ui.js +150 -53
- package/canvas-ui.js.map +1 -1
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +12 -3
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +12 -3
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +4 -1
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +20 -4
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +4 -1
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +16 -4
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +4 -1
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +40 -10
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +16 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +16 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +4 -1
- package/lib/components/sections/CSectionManagement.vue.d.ts +16 -4
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +4 -1
- package/lib/components/themes/CThemeManagement.vue.d.ts +16 -4
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +4 -1
- package/lib/composables/useCanvasStandardFilters.d.ts +17 -2
- package/package.json +1 -1
|
@@ -23,7 +23,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
23
23
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
24
24
|
name: string;
|
|
25
25
|
label: string;
|
|
26
|
-
options?:
|
|
26
|
+
options?: {
|
|
27
|
+
label: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[];
|
|
27
30
|
}[] | undefined;
|
|
28
31
|
readonly enableDependentFilters?: boolean | undefined;
|
|
29
32
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
@@ -142,7 +145,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
142
145
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
143
146
|
name: string;
|
|
144
147
|
label: string;
|
|
145
|
-
options?:
|
|
148
|
+
options?: {
|
|
149
|
+
label: string;
|
|
150
|
+
value: string;
|
|
151
|
+
}[];
|
|
146
152
|
}[];
|
|
147
153
|
enableDependentFilters?: boolean;
|
|
148
154
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -225,7 +231,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
225
231
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
226
232
|
name: string;
|
|
227
233
|
label: string;
|
|
228
|
-
options?:
|
|
234
|
+
options?: {
|
|
235
|
+
label: string;
|
|
236
|
+
value: string;
|
|
237
|
+
}[];
|
|
229
238
|
}[];
|
|
230
239
|
enableDependentFilters?: boolean;
|
|
231
240
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -95,6 +95,7 @@ export interface ExtendedChartConfiguration extends ChartConfiguration {
|
|
|
95
95
|
index_axis?: 'x' | 'y';
|
|
96
96
|
};
|
|
97
97
|
color_scheme_type?: 'theme' | 'custom';
|
|
98
|
+
color_scheme?: string[];
|
|
98
99
|
percent_display?: boolean;
|
|
99
100
|
view_controls?: ViewControls;
|
|
100
101
|
chart_height?: number;
|
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts
CHANGED
|
@@ -25,7 +25,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
25
25
|
type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
26
26
|
name: string;
|
|
27
27
|
label: string;
|
|
28
|
-
options?:
|
|
28
|
+
options?: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
29
32
|
}[] | undefined;
|
|
30
33
|
readonly enableDependentFilters?: boolean | undefined;
|
|
31
34
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
@@ -144,7 +147,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
144
147
|
type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
145
148
|
name: string;
|
|
146
149
|
label: string;
|
|
147
|
-
options?:
|
|
150
|
+
options?: {
|
|
151
|
+
label: string;
|
|
152
|
+
value: string;
|
|
153
|
+
}[];
|
|
148
154
|
}[];
|
|
149
155
|
enableDependentFilters?: boolean;
|
|
150
156
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -227,7 +233,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
227
233
|
type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
228
234
|
name: string;
|
|
229
235
|
label: string;
|
|
230
|
-
options?:
|
|
236
|
+
options?: {
|
|
237
|
+
label: string;
|
|
238
|
+
value: string;
|
|
239
|
+
}[];
|
|
231
240
|
}[];
|
|
232
241
|
enableDependentFilters?: boolean;
|
|
233
242
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -22,7 +22,10 @@ type __VLS_Props = {
|
|
|
22
22
|
type: MetadataTemplateFieldTypeEnum;
|
|
23
23
|
name: string;
|
|
24
24
|
label: string;
|
|
25
|
-
options?:
|
|
25
|
+
options?: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
26
29
|
}[];
|
|
27
30
|
enableDependentFilters?: boolean;
|
|
28
31
|
dependentFiltersEntity?: 'file' | 'canvas';
|
|
@@ -8,6 +8,10 @@ interface Props {
|
|
|
8
8
|
filters?: Record<string, any>;
|
|
9
9
|
fields?: string;
|
|
10
10
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
11
|
+
templatesFetcher?: (params: GetCanvasesParams & {
|
|
12
|
+
filters?: Record<string, any>;
|
|
13
|
+
fields?: string;
|
|
14
|
+
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
11
15
|
byIdFetcher: (params: {
|
|
12
16
|
id: CanvasRetrieve['id'];
|
|
13
17
|
fields?: string;
|
|
@@ -41,7 +45,10 @@ declare function __VLS_template(): {
|
|
|
41
45
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
42
46
|
name: string;
|
|
43
47
|
label: string;
|
|
44
|
-
options?:
|
|
48
|
+
options?: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
45
52
|
}[];
|
|
46
53
|
isLoadingItems?: boolean;
|
|
47
54
|
hideView?: boolean;
|
|
@@ -84,7 +91,10 @@ declare function __VLS_template(): {
|
|
|
84
91
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
85
92
|
name: string;
|
|
86
93
|
label: string;
|
|
87
|
-
options?:
|
|
94
|
+
options?: {
|
|
95
|
+
label: string;
|
|
96
|
+
value: string;
|
|
97
|
+
}[];
|
|
88
98
|
}[];
|
|
89
99
|
isLoadingItems?: boolean;
|
|
90
100
|
hideView?: boolean;
|
|
@@ -248,7 +258,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
248
258
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
249
259
|
name: string;
|
|
250
260
|
label: string;
|
|
251
|
-
options?:
|
|
261
|
+
options?: {
|
|
262
|
+
label: string;
|
|
263
|
+
value: string;
|
|
264
|
+
}[];
|
|
252
265
|
}[];
|
|
253
266
|
isLoadingItems?: boolean;
|
|
254
267
|
hideView?: boolean;
|
|
@@ -291,7 +304,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
291
304
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
292
305
|
name: string;
|
|
293
306
|
label: string;
|
|
294
|
-
options?:
|
|
307
|
+
options?: {
|
|
308
|
+
label: string;
|
|
309
|
+
value: string;
|
|
310
|
+
}[];
|
|
295
311
|
}[];
|
|
296
312
|
isLoadingItems?: boolean;
|
|
297
313
|
hideView?: boolean;
|
|
@@ -45,7 +45,10 @@ declare function __VLS_template(): {
|
|
|
45
45
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
46
46
|
name: string;
|
|
47
47
|
label: string;
|
|
48
|
-
options?:
|
|
48
|
+
options?: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
49
52
|
}[];
|
|
50
53
|
}> & Readonly<{
|
|
51
54
|
onSelect?: ((payload: {
|
|
@@ -91,7 +94,10 @@ declare function __VLS_template(): {
|
|
|
91
94
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
92
95
|
name: string;
|
|
93
96
|
label: string;
|
|
94
|
-
options?:
|
|
97
|
+
options?: {
|
|
98
|
+
label: string;
|
|
99
|
+
value: string;
|
|
100
|
+
}[];
|
|
95
101
|
}[];
|
|
96
102
|
}> & Readonly<{
|
|
97
103
|
onSelect?: ((payload: {
|
|
@@ -257,7 +263,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
257
263
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
258
264
|
name: string;
|
|
259
265
|
label: string;
|
|
260
|
-
options?:
|
|
266
|
+
options?: {
|
|
267
|
+
label: string;
|
|
268
|
+
value: string;
|
|
269
|
+
}[];
|
|
261
270
|
}[];
|
|
262
271
|
}> & Readonly<{
|
|
263
272
|
onSelect?: ((payload: {
|
|
@@ -303,7 +312,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
303
312
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
304
313
|
name: string;
|
|
305
314
|
label: string;
|
|
306
|
-
options?:
|
|
315
|
+
options?: {
|
|
316
|
+
label: string;
|
|
317
|
+
value: string;
|
|
318
|
+
}[];
|
|
307
319
|
}[];
|
|
308
320
|
}> & Readonly<{
|
|
309
321
|
onSelect?: ((payload: {
|
|
@@ -11,7 +11,10 @@ type __VLS_Props = {
|
|
|
11
11
|
type: MetadataTemplateFieldTypeEnum;
|
|
12
12
|
name: string;
|
|
13
13
|
label: string;
|
|
14
|
-
options?:
|
|
14
|
+
options?: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
15
18
|
}[];
|
|
16
19
|
};
|
|
17
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -70,7 +70,10 @@ declare function __VLS_template(): {
|
|
|
70
70
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
71
71
|
name: string;
|
|
72
72
|
label: string;
|
|
73
|
-
options?:
|
|
73
|
+
options?: {
|
|
74
|
+
label: string;
|
|
75
|
+
value: string;
|
|
76
|
+
}[];
|
|
74
77
|
}[];
|
|
75
78
|
hideCreate?: boolean;
|
|
76
79
|
hideConvert?: boolean;
|
|
@@ -162,7 +165,10 @@ declare function __VLS_template(): {
|
|
|
162
165
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
163
166
|
name: string;
|
|
164
167
|
label: string;
|
|
165
|
-
options?:
|
|
168
|
+
options?: {
|
|
169
|
+
label: string;
|
|
170
|
+
value: string;
|
|
171
|
+
}[];
|
|
166
172
|
}[] | undefined;
|
|
167
173
|
readonly enableDependentFilters?: boolean | undefined;
|
|
168
174
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
@@ -281,7 +287,10 @@ declare function __VLS_template(): {
|
|
|
281
287
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
282
288
|
name: string;
|
|
283
289
|
label: string;
|
|
284
|
-
options?:
|
|
290
|
+
options?: {
|
|
291
|
+
label: string;
|
|
292
|
+
value: string;
|
|
293
|
+
}[];
|
|
285
294
|
}[];
|
|
286
295
|
enableDependentFilters?: boolean;
|
|
287
296
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -364,7 +373,10 @@ declare function __VLS_template(): {
|
|
|
364
373
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
365
374
|
name: string;
|
|
366
375
|
label: string;
|
|
367
|
-
options?:
|
|
376
|
+
options?: {
|
|
377
|
+
label: string;
|
|
378
|
+
value: string;
|
|
379
|
+
}[];
|
|
368
380
|
}[];
|
|
369
381
|
enableDependentFilters?: boolean;
|
|
370
382
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -402,7 +414,10 @@ declare function __VLS_template(): {
|
|
|
402
414
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
403
415
|
name: string;
|
|
404
416
|
label: string;
|
|
405
|
-
options?:
|
|
417
|
+
options?: {
|
|
418
|
+
label: string;
|
|
419
|
+
value: string;
|
|
420
|
+
}[];
|
|
406
421
|
}[];
|
|
407
422
|
hideCreate?: boolean;
|
|
408
423
|
hideConvert?: boolean;
|
|
@@ -704,7 +719,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
704
719
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
705
720
|
name: string;
|
|
706
721
|
label: string;
|
|
707
|
-
options?:
|
|
722
|
+
options?: {
|
|
723
|
+
label: string;
|
|
724
|
+
value: string;
|
|
725
|
+
}[];
|
|
708
726
|
}[];
|
|
709
727
|
hideCreate?: boolean;
|
|
710
728
|
hideConvert?: boolean;
|
|
@@ -796,7 +814,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
796
814
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
797
815
|
name: string;
|
|
798
816
|
label: string;
|
|
799
|
-
options?:
|
|
817
|
+
options?: {
|
|
818
|
+
label: string;
|
|
819
|
+
value: string;
|
|
820
|
+
}[];
|
|
800
821
|
}[] | undefined;
|
|
801
822
|
readonly enableDependentFilters?: boolean | undefined;
|
|
802
823
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
@@ -915,7 +936,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
915
936
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
916
937
|
name: string;
|
|
917
938
|
label: string;
|
|
918
|
-
options?:
|
|
939
|
+
options?: {
|
|
940
|
+
label: string;
|
|
941
|
+
value: string;
|
|
942
|
+
}[];
|
|
919
943
|
}[];
|
|
920
944
|
enableDependentFilters?: boolean;
|
|
921
945
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -998,7 +1022,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
998
1022
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
999
1023
|
name: string;
|
|
1000
1024
|
label: string;
|
|
1001
|
-
options?:
|
|
1025
|
+
options?: {
|
|
1026
|
+
label: string;
|
|
1027
|
+
value: string;
|
|
1028
|
+
}[];
|
|
1002
1029
|
}[];
|
|
1003
1030
|
enableDependentFilters?: boolean;
|
|
1004
1031
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -1036,7 +1063,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1036
1063
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
1037
1064
|
name: string;
|
|
1038
1065
|
label: string;
|
|
1039
|
-
options?:
|
|
1066
|
+
options?: {
|
|
1067
|
+
label: string;
|
|
1068
|
+
value: string;
|
|
1069
|
+
}[];
|
|
1040
1070
|
}[];
|
|
1041
1071
|
hideCreate?: boolean;
|
|
1042
1072
|
hideConvert?: boolean;
|
|
@@ -15,7 +15,10 @@ type __VLS_Props = {
|
|
|
15
15
|
type: MetadataTemplateFieldTypeEnum;
|
|
16
16
|
name: string;
|
|
17
17
|
label: string;
|
|
18
|
-
options?:
|
|
18
|
+
options?: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
19
22
|
}[];
|
|
20
23
|
hideCreate?: boolean;
|
|
21
24
|
hideConvert?: boolean;
|
|
@@ -109,7 +112,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
109
112
|
type: MetadataTemplateFieldTypeEnum;
|
|
110
113
|
name: string;
|
|
111
114
|
label: string;
|
|
112
|
-
options?:
|
|
115
|
+
options?: {
|
|
116
|
+
label: string;
|
|
117
|
+
value: string;
|
|
118
|
+
}[];
|
|
113
119
|
}[] | undefined;
|
|
114
120
|
readonly enableDependentFilters?: boolean | undefined;
|
|
115
121
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
@@ -228,7 +234,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
228
234
|
type: MetadataTemplateFieldTypeEnum;
|
|
229
235
|
name: string;
|
|
230
236
|
label: string;
|
|
231
|
-
options?:
|
|
237
|
+
options?: {
|
|
238
|
+
label: string;
|
|
239
|
+
value: string;
|
|
240
|
+
}[];
|
|
232
241
|
}[];
|
|
233
242
|
enableDependentFilters?: boolean;
|
|
234
243
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -311,7 +320,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
311
320
|
type: MetadataTemplateFieldTypeEnum;
|
|
312
321
|
name: string;
|
|
313
322
|
label: string;
|
|
314
|
-
options?:
|
|
323
|
+
options?: {
|
|
324
|
+
label: string;
|
|
325
|
+
value: string;
|
|
326
|
+
}[];
|
|
315
327
|
}[];
|
|
316
328
|
enableDependentFilters?: boolean;
|
|
317
329
|
dependentFiltersEntity?: "file" | "canvas";
|
|
@@ -55,7 +55,10 @@ declare function __VLS_template(): {
|
|
|
55
55
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
56
56
|
name: string;
|
|
57
57
|
label: string;
|
|
58
|
-
options?:
|
|
58
|
+
options?: {
|
|
59
|
+
label: string;
|
|
60
|
+
value: string;
|
|
61
|
+
}[];
|
|
59
62
|
}[];
|
|
60
63
|
isLoadingItems?: boolean;
|
|
61
64
|
hideCreate?: boolean;
|
|
@@ -103,7 +106,10 @@ declare function __VLS_template(): {
|
|
|
103
106
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
104
107
|
name: string;
|
|
105
108
|
label: string;
|
|
106
|
-
options?:
|
|
109
|
+
options?: {
|
|
110
|
+
label: string;
|
|
111
|
+
value: string;
|
|
112
|
+
}[];
|
|
107
113
|
}[];
|
|
108
114
|
isLoadingItems?: boolean;
|
|
109
115
|
hideCreate?: boolean;
|
|
@@ -427,7 +433,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
427
433
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
428
434
|
name: string;
|
|
429
435
|
label: string;
|
|
430
|
-
options?:
|
|
436
|
+
options?: {
|
|
437
|
+
label: string;
|
|
438
|
+
value: string;
|
|
439
|
+
}[];
|
|
431
440
|
}[];
|
|
432
441
|
isLoadingItems?: boolean;
|
|
433
442
|
hideCreate?: boolean;
|
|
@@ -475,7 +484,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
475
484
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
476
485
|
name: string;
|
|
477
486
|
label: string;
|
|
478
|
-
options?:
|
|
487
|
+
options?: {
|
|
488
|
+
label: string;
|
|
489
|
+
value: string;
|
|
490
|
+
}[];
|
|
479
491
|
}[];
|
|
480
492
|
isLoadingItems?: boolean;
|
|
481
493
|
hideCreate?: boolean;
|
|
@@ -43,7 +43,10 @@ declare function __VLS_template(): {
|
|
|
43
43
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
44
44
|
name: string;
|
|
45
45
|
label: string;
|
|
46
|
-
options?:
|
|
46
|
+
options?: {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}[];
|
|
47
50
|
}[];
|
|
48
51
|
}> & Readonly<{
|
|
49
52
|
onSelect?: ((payload: {
|
|
@@ -90,7 +93,10 @@ declare function __VLS_template(): {
|
|
|
90
93
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
91
94
|
name: string;
|
|
92
95
|
label: string;
|
|
93
|
-
options?:
|
|
96
|
+
options?: {
|
|
97
|
+
label: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}[];
|
|
94
100
|
}[];
|
|
95
101
|
}> & Readonly<{
|
|
96
102
|
onSelect?: ((payload: {
|
|
@@ -257,7 +263,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
257
263
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
258
264
|
name: string;
|
|
259
265
|
label: string;
|
|
260
|
-
options?:
|
|
266
|
+
options?: {
|
|
267
|
+
label: string;
|
|
268
|
+
value: string;
|
|
269
|
+
}[];
|
|
261
270
|
}[];
|
|
262
271
|
}> & Readonly<{
|
|
263
272
|
onSelect?: ((payload: {
|
|
@@ -304,7 +313,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
304
313
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
305
314
|
name: string;
|
|
306
315
|
label: string;
|
|
307
|
-
options?:
|
|
316
|
+
options?: {
|
|
317
|
+
label: string;
|
|
318
|
+
value: string;
|
|
319
|
+
}[];
|
|
308
320
|
}[];
|
|
309
321
|
}> & Readonly<{
|
|
310
322
|
onSelect?: ((payload: {
|
|
@@ -12,7 +12,10 @@ type __VLS_Props = {
|
|
|
12
12
|
type: MetadataTemplateFieldTypeEnum;
|
|
13
13
|
name: string;
|
|
14
14
|
label: string;
|
|
15
|
-
options?:
|
|
15
|
+
options?: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
16
19
|
}[];
|
|
17
20
|
};
|
|
18
21
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -40,7 +40,10 @@ declare function __VLS_template(): {
|
|
|
40
40
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
41
41
|
name: string;
|
|
42
42
|
label: string;
|
|
43
|
-
options?:
|
|
43
|
+
options?: {
|
|
44
|
+
label: string;
|
|
45
|
+
value: string;
|
|
46
|
+
}[];
|
|
44
47
|
}[];
|
|
45
48
|
}> & Readonly<{
|
|
46
49
|
onSelect?: ((payload: {
|
|
@@ -86,7 +89,10 @@ declare function __VLS_template(): {
|
|
|
86
89
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
87
90
|
name: string;
|
|
88
91
|
label: string;
|
|
89
|
-
options?:
|
|
92
|
+
options?: {
|
|
93
|
+
label: string;
|
|
94
|
+
value: string;
|
|
95
|
+
}[];
|
|
90
96
|
}[];
|
|
91
97
|
}> & Readonly<{
|
|
92
98
|
onSelect?: ((payload: {
|
|
@@ -252,7 +258,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
252
258
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
253
259
|
name: string;
|
|
254
260
|
label: string;
|
|
255
|
-
options?:
|
|
261
|
+
options?: {
|
|
262
|
+
label: string;
|
|
263
|
+
value: string;
|
|
264
|
+
}[];
|
|
256
265
|
}[];
|
|
257
266
|
}> & Readonly<{
|
|
258
267
|
onSelect?: ((payload: {
|
|
@@ -298,7 +307,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
298
307
|
type: import('../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
299
308
|
name: string;
|
|
300
309
|
label: string;
|
|
301
|
-
options?:
|
|
310
|
+
options?: {
|
|
311
|
+
label: string;
|
|
312
|
+
value: string;
|
|
313
|
+
}[];
|
|
302
314
|
}[];
|
|
303
315
|
}> & Readonly<{
|
|
304
316
|
onSelect?: ((payload: {
|
|
@@ -11,7 +11,10 @@ type __VLS_Props = {
|
|
|
11
11
|
type: MetadataTemplateFieldTypeEnum;
|
|
12
12
|
name: string;
|
|
13
13
|
label: string;
|
|
14
|
-
options?:
|
|
14
|
+
options?: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
15
18
|
}[];
|
|
16
19
|
};
|
|
17
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
1
2
|
import { MetadataTemplateFieldTypeEnum } from '../../types/openapi';
|
|
3
|
+
export interface TemplateOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
2
7
|
export interface CanvasStandardFiltersOptions {
|
|
3
8
|
/**
|
|
4
9
|
* Include the "Tags" filter (default: true)
|
|
@@ -12,6 +17,10 @@ export interface CanvasStandardFiltersOptions {
|
|
|
12
17
|
* Include the "Template Used" filter (only for saved canvases)
|
|
13
18
|
*/
|
|
14
19
|
includeTemplateFilter?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Template options for the dropdown filter
|
|
22
|
+
*/
|
|
23
|
+
templateOptions?: Ref<TemplateOption[]> | ComputedRef<TemplateOption[]>;
|
|
15
24
|
/**
|
|
16
25
|
* Include the "Owner" filter
|
|
17
26
|
*/
|
|
@@ -27,9 +36,15 @@ export interface CanvasStandardFiltersOptions {
|
|
|
27
36
|
* @returns Array of filter component configurations
|
|
28
37
|
*/
|
|
29
38
|
export declare function useCanvasStandardFilters(options?: CanvasStandardFiltersOptions): {
|
|
30
|
-
filterComponents:
|
|
39
|
+
filterComponents: ComputedRef<({
|
|
40
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
41
|
+
name: string;
|
|
42
|
+
label: string;
|
|
43
|
+
options?: undefined;
|
|
44
|
+
} | {
|
|
31
45
|
type: MetadataTemplateFieldTypeEnum;
|
|
32
46
|
name: string;
|
|
33
47
|
label: string;
|
|
34
|
-
|
|
48
|
+
options: TemplateOption[];
|
|
49
|
+
})[]>;
|
|
35
50
|
};
|