@pitcher/canvas-ui 2026.1.6-120415-beta → 2026.1.6-131818-beta

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