@pitcher/js-api 1.23.0-rc.1 → 1.23.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.
@@ -27,6 +27,7 @@ declare function __VLS_template(): {
27
27
  hideBorder?: boolean;
28
28
  showIcon?: boolean;
29
29
  search?: string;
30
+ size?: "small" | "large";
30
31
  placeholder?: string;
31
32
  loading?: boolean;
32
33
  }> & Readonly<{
@@ -34,6 +35,7 @@ declare function __VLS_template(): {
34
35
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
35
36
  "update:modelValue": (term: string) => any;
36
37
  }, import('vue').PublicProps, {
38
+ size: "small" | "large";
37
39
  loading: boolean;
38
40
  transparent: boolean;
39
41
  autofocus: boolean;
@@ -52,11 +54,13 @@ declare function __VLS_template(): {
52
54
  hideBorder?: boolean;
53
55
  showIcon?: boolean;
54
56
  search?: string;
57
+ size?: "small" | "large";
55
58
  placeholder?: string;
56
59
  loading?: boolean;
57
60
  }> & Readonly<{
58
61
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
59
62
  }>, {}, {}, {}, {}, {
63
+ size: "small" | "large";
60
64
  loading: boolean;
61
65
  transparent: boolean;
62
66
  autofocus: boolean;
@@ -4,6 +4,7 @@ type Props = {
4
4
  hideBorder?: boolean;
5
5
  showIcon?: boolean;
6
6
  search?: string;
7
+ size?: 'small' | 'large';
7
8
  placeholder?: string;
8
9
  loading?: boolean;
9
10
  };
@@ -12,6 +13,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
12
13
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
13
14
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
14
15
  }>, {
16
+ size: "small" | "large";
15
17
  loading: boolean;
16
18
  transparent: boolean;
17
19
  autofocus: boolean;
@@ -127,7 +127,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
127
127
  count: number;
128
128
  }>>>;
129
129
  viewMode: import('@vueuse/shared').RemovableRef<"normal" | "smartFolders">;
130
- smartFoldersDisplayMode: Ref<SmartFoldersDisplayMode, SmartFoldersDisplayMode>;
130
+ smartFoldersDisplayMode: import('@vueuse/shared').RemovableRef<SmartFoldersDisplayMode>;
131
131
  activeConfiguration: Ref<{
132
132
  enabledSmartFolderProperties: SmartFolderProperty["name"][];
133
133
  } | null, SmartFolderConfig | {
@@ -328,20 +328,11 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
328
328
  }[]>;
329
329
  breadcrumbItems: ComputedRef<{
330
330
  label: string;
331
- path: {
332
- value: string;
333
- property: {
334
- name: string;
335
- display_name?: string | undefined;
336
- accessor: string;
337
- type: string;
338
- description?: string | undefined;
339
- };
340
- }[];
331
+ path: PathSegment[];
341
332
  }[]>;
342
333
  columns: ComputedRef<((import('@tanstack/vue-table').AccessorFnColumnDefBase<CanvasRetrieve, any> & import('@tanstack/vue-table').StringHeaderIdentifier) | (import('@tanstack/vue-table').AccessorFnColumnDefBase<CanvasRetrieve, any> & import('@tanstack/vue-table').IdIdentifier<CanvasRetrieve, any>) | (import('@tanstack/vue-table').AccessorKeyColumnDefBase<CanvasRetrieve, string> & Partial<import('@tanstack/vue-table').IdIdentifier<CanvasRetrieve, string>>))[]>;
343
334
  page: Ref<number, number>;
344
- pageSize: Ref<number, number>;
335
+ pageSize: import('@vueuse/shared').RemovableRef<number>;
345
336
  pageSizes: number[];
346
337
  totalCount: Ref<number, number>;
347
338
  allSmartFolderProperties: ComputedRef<{
@@ -372,5 +363,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
372
363
  toggleViewMode: typeof toggleViewMode;
373
364
  setSmartFoldersView: typeof setSmartFoldersView;
374
365
  setNormalView: typeof setNormalView;
366
+ searchTerm: Ref<string, string>;
367
+ handleSearch: (term: string) => void;
375
368
  };
376
369
  export {};
@@ -29,4 +29,5 @@ export interface CanvasIndicator {
29
29
  type?: 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
30
30
  background_color?: string;
31
31
  color?: string;
32
+ tooltip_text?: string;
32
33
  }
@@ -7,6 +7,7 @@ type SmartFolderRuleAttribute = {
7
7
  display_name: string;
8
8
  };
9
9
  type SmartFolderRuleAttributes = {
10
+ sync?: boolean;
10
11
  max_sync_limit?: number;
11
12
  sync_chunk_size?: number;
12
13
  files?: SmartFolderRuleAttribute[];
@@ -29,5 +30,11 @@ export type OrganizationSettings = {
29
30
  enable_indicators?: boolean;
30
31
  smart_folder_rule_attributes?: SmartFolderRuleAttributes;
31
32
  ios?: OrganizationSettings;
33
+ full_text_search_config?: string;
34
+ use_full_text_search_for_search_filter?: boolean;
35
+ include_file_content_in_full_text_search?: boolean;
36
+ include_file_metadata_in_full_text_search?: boolean;
37
+ include_canvas_content_in_full_text_search?: boolean;
38
+ include_canvas_metadata_in_full_text_search?: boolean;
32
39
  };
33
40
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/js-api",
3
- "version": "1.23.0-rc.1",
3
+ "version": "1.23.0",
4
4
  "type": "module",
5
5
  "main": "js-api.umd.min.js",
6
6
  "module": "js-api.esm.js",