@pitcher/js-api 1.22.0-rc.0 → 1.22.0-rc.2

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.
Files changed (80) hide show
  1. package/js-api.esm.js +29 -10
  2. package/js-api.esm.js.map +1 -1
  3. package/js-api.umd.min.js +10 -10
  4. package/js-api.umd.min.js.map +1 -1
  5. package/lib/apps/browser/App.vue.d.ts +9 -1
  6. package/lib/apps/browser/components/Content/Common/BrowserListItem.vue.d.ts +6 -0
  7. package/lib/apps/browser/stores/api.d.ts +77 -2
  8. package/lib/apps/browser/stores/app.d.ts +2 -32
  9. package/lib/apps/canvas-builder/App.vue.d.ts +80 -40
  10. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +2 -1
  11. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +103 -0
  12. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +104 -0
  13. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +107 -0
  14. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/PreviewImage.vue.d.ts +13 -0
  15. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/cache.use.d.ts +12 -0
  16. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/zoom.use.d.ts +15 -0
  17. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +5 -0
  18. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +15 -1
  19. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +2 -0
  20. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +13 -0
  21. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +15 -0
  22. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +141 -17
  23. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +20 -0
  24. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +2 -0
  25. package/lib/apps/canvas-builder/types/canvas.d.ts +22 -11
  26. package/lib/apps/canvas-builder/util/url.d.ts +1 -0
  27. package/lib/apps/content-selector/appTypes.d.ts +1 -0
  28. package/lib/apps/content-selector/components/AiImages.vue.d.ts +10 -0
  29. package/lib/apps/content-selector/components/ui/MediaPreview.vue.d.ts +7 -1
  30. package/lib/apps/content-selector/stores/app.d.ts +2 -2
  31. package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +8 -4
  32. package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +6 -3
  33. package/lib/components/CConfirmationModal/CConfirmationModal.vue.d.ts +2 -2
  34. package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +1 -11
  35. package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +41 -0
  36. package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +3 -0
  37. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +1 -1
  38. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +2 -0
  39. package/lib/components/CInputPlaceholder/CInputPlaceholder.vue.d.ts +24 -0
  40. package/lib/components/CList/CListItem.vue.d.ts +2 -0
  41. package/lib/components/CPaginationButtons/CPaginationButtons.vue.d.ts +24 -0
  42. package/lib/components/CSlider/CSlider.vue.d.ts +1 -1
  43. package/lib/components/CTableInput/CTableInput.vue.d.ts +1 -277
  44. package/lib/components/CTagsPlaceholder/CTagsPlaceholder.vue.d.ts +6 -0
  45. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +2 -57
  46. package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +8 -0
  47. package/lib/components/filters/CSelectFilter.vue.d.ts +1 -3
  48. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +28 -57
  49. package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +3 -1
  50. package/lib/components/savedCanvases/smartFolders/SmartFolderNameCell.vue.d.ts +10 -0
  51. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +386 -0
  52. package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +14 -0
  53. package/lib/components/savedCanvases/smartFolders/SmartFoldersConfigurationModal.vue.d.ts +6 -0
  54. package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +6 -0
  55. package/lib/components/sections/CSectionManagement.vue.d.ts +2 -47
  56. package/lib/composables/appsDb.use.d.ts +32 -0
  57. package/lib/composables/useAdminAndDsrState.d.ts +6 -0
  58. package/lib/composables/useAssetUpload.d.ts +2 -1
  59. package/lib/composables/useConnectUpload.d.ts +3 -1
  60. package/lib/composables/useFetchUsers.d.ts +1 -3
  61. package/lib/constants/appsDb.const.d.ts +10 -0
  62. package/lib/constants/cdp.const.d.ts +1 -0
  63. package/lib/main.lib.d.ts +2 -0
  64. package/lib/sdk/api/HighLevelApi.d.ts +2 -1
  65. package/lib/sdk/api/modules/admin/files.admin.d.ts +12 -0
  66. package/lib/sdk/api/modules/admin/types.admin.d.ts +5 -0
  67. package/lib/sdk/api/modules/dsr/files.dsr.d.ts +17 -0
  68. package/lib/sdk/api/modules/dsr/index.d.ts +4 -0
  69. package/lib/sdk/api/modules/dsr/types.dsr.d.ts +2 -0
  70. package/lib/sdk/api/modules/pspdfkit.d.ts +25 -2
  71. package/lib/sdk/interfaces.d.ts +1 -0
  72. package/lib/sdk/main.d.ts +14 -3
  73. package/lib/sdk/payload.types.d.ts +4 -0
  74. package/lib/theme/light.d.ts +46 -10
  75. package/lib/types/app.d.ts +1 -1
  76. package/lib/types/launchDarkly.types.d.ts +1 -1
  77. package/lib/types/organizationSettings.types.d.ts +13 -0
  78. package/lib/util/eval.d.ts +2 -0
  79. package/lib/util/network.d.ts +0 -3
  80. package/package.json +1 -1
@@ -20,12 +20,12 @@ declare function __VLS_template(): {
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
23
- confirm: () => any;
24
23
  "update:modelValue": (value: boolean) => any;
24
+ confirm: () => any;
25
25
  deny: () => any;
26
26
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
27
- onConfirm?: (() => any) | undefined;
28
27
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
28
+ onConfirm?: (() => any) | undefined;
29
29
  onDeny?: (() => any) | undefined;
30
30
  }>, {
31
31
  isCancel: boolean;
@@ -33,17 +33,7 @@ declare function __VLS_template(): {
33
33
  "onUpdate:modelValue"?: ((term: string) => any) | undefined;
34
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
35
35
  "update:modelValue": (term: string) => any;
36
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
37
- autofocus?: boolean;
38
- transparent?: boolean;
39
- hideBorder?: boolean;
40
- showIcon?: boolean;
41
- search?: string;
42
- placeholder?: string;
43
- loading?: boolean;
44
- }> & Readonly<{
45
- "onUpdate:modelValue"?: ((term: string) => any) | undefined;
46
- }>, {
36
+ }, import('vue').PublicProps, {
47
37
  loading: boolean;
48
38
  transparent: boolean;
49
39
  autofocus: boolean;
@@ -0,0 +1,41 @@
1
+ import { AccessTypeEnum } from '../../../types/openapi';
2
+ declare enum FileExpiration {
3
+ Never = "never",
4
+ At = "at",
5
+ Expired = "expired"
6
+ }
7
+ export interface Form {
8
+ permissions?: {
9
+ can_share?: boolean;
10
+ };
11
+ tags?: string[];
12
+ tagUpdateOperation?: 'add' | 'remove' | 'replace' | 'clear';
13
+ expiresAtDateTime?: number | null;
14
+ expiresAtOption?: FileExpiration;
15
+ accessType?: AccessTypeEnum;
16
+ [key: string]: any;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<{
19
+ modelValue: Form;
20
+ appName?: string;
21
+ showKeepAsIsPlaceholder?: boolean;
22
+ showExpirationSettings?: boolean;
23
+ showPermissionSettings?: boolean;
24
+ showAccessTypeSettings?: boolean;
25
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:modelValue": (form: Form) => any;
27
+ }, string, import('vue').PublicProps, Readonly<{
28
+ modelValue: Form;
29
+ appName?: string;
30
+ showKeepAsIsPlaceholder?: boolean;
31
+ showExpirationSettings?: boolean;
32
+ showPermissionSettings?: boolean;
33
+ showAccessTypeSettings?: boolean;
34
+ }> & Readonly<{
35
+ "onUpdate:modelValue"?: ((form: Form) => any) | undefined;
36
+ }>, {
37
+ showExpirationSettings: boolean;
38
+ showPermissionSettings: boolean;
39
+ showAccessTypeSettings: boolean;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ export default _default;
@@ -4,12 +4,15 @@ declare const _default: import('vue').DefineComponent<{
4
4
  width?: number | string;
5
5
  height?: number | string;
6
6
  iconSize?: number;
7
+ preview?: boolean;
7
8
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
9
  item: RenderableFile;
9
10
  width?: number | string;
10
11
  height?: number | string;
11
12
  iconSize?: number;
13
+ preview?: boolean;
12
14
  }> & Readonly<{}>, {
15
+ preview: boolean;
13
16
  iconSize: number;
14
17
  width: number | string;
15
18
  height: number | string;
@@ -53,12 +53,12 @@ declare const _default: import('vue').DefineComponent<{
53
53
  videoCurrentTime?: number;
54
54
  }> & Readonly<{}>, {
55
55
  file: FileModel | null;
56
+ isOverlay: boolean;
56
57
  isLoadingFavorite: boolean;
57
58
  isPublishing: boolean;
58
59
  hideActions: boolean;
59
60
  allowNoteTaking: boolean;
60
61
  clientType: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
61
- isOverlay: boolean;
62
62
  filePagesFavorites: Favorite[];
63
63
  assetsPrefix: string;
64
64
  isFavoriteEnabled: boolean;
@@ -8,5 +8,7 @@ export interface SaveLinkAnnotationPayload {
8
8
  startTime?: number;
9
9
  embedded?: boolean;
10
10
  autoplay?: boolean;
11
+ tags?: string[];
12
+ trackingId?: string;
11
13
  };
12
14
  }
@@ -0,0 +1,24 @@
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ suffix?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<{
10
+ value?: string;
11
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ click: () => any;
13
+ }, string, import('vue').PublicProps, Readonly<{
14
+ value?: string;
15
+ }> & Readonly<{
16
+ onClick?: (() => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -43,6 +43,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListItemProps, {},
43
43
  itemIds: ListItemProps["item"]["id"][];
44
44
  }) => any;
45
45
  dragging: (isDragging: boolean) => any;
46
+ dragOver: (event: DragEvent) => any;
46
47
  contextMenu: (item: {
47
48
  [key: string]: any;
48
49
  id: number | string;
@@ -57,6 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListItemProps, {},
57
58
  itemIds: ListItemProps["item"]["id"][];
58
59
  }) => any) | undefined;
59
60
  onDragging?: ((isDragging: boolean) => any) | undefined;
61
+ onDragOver?: ((event: DragEvent) => any) | undefined;
60
62
  onContextMenu?: ((item: {
61
63
  [key: string]: any;
62
64
  id: number | string;
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ currentPage: number;
3
+ disablePagination?: boolean;
4
+ loading?: boolean;
5
+ pageSize: number;
6
+ totalItems: number;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
+ "page-first": () => any;
9
+ "page-last": () => any;
10
+ "page-next": () => any;
11
+ "page-previous": () => any;
12
+ }, string, import('vue').PublicProps, Readonly<{
13
+ currentPage: number;
14
+ disablePagination?: boolean;
15
+ loading?: boolean;
16
+ pageSize: number;
17
+ totalItems: number;
18
+ }> & Readonly<{
19
+ "onPage-first"?: (() => any) | undefined;
20
+ "onPage-last"?: (() => any) | undefined;
21
+ "onPage-next"?: (() => any) | undefined;
22
+ "onPage-previous"?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -27,8 +27,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
27
27
  disabled: boolean;
28
28
  placement: import('naive-ui').PopoverPlacement;
29
29
  title: string;
30
- min: number;
31
30
  max: number;
31
+ min: number;
32
32
  formatTooltip: (value: number) => string | number;
33
33
  helpText: string;
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -473,283 +473,7 @@ declare function __VLS_template(): {
473
473
  activate: () => void;
474
474
  deactivate: () => void;
475
475
  scrollTo: (options: ScrollToOptions) => void;
476
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
477
- bordered: {
478
- type: import('vue').PropType<boolean | undefined>;
479
- default: undefined;
480
- };
481
- type: {
482
- type: import('vue').PropType<"text" | "textarea" | "password">;
483
- default: string;
484
- };
485
- placeholder: import('vue').PropType<string | [string, string]>;
486
- defaultValue: {
487
- type: import('vue').PropType<null | string | [string, string]>;
488
- default: null;
489
- };
490
- value: import('vue').PropType<null | string | [string, string]>;
491
- disabled: {
492
- type: import('vue').PropType<boolean | undefined>;
493
- default: undefined;
494
- };
495
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
496
- rows: {
497
- type: import('vue').PropType<number | string>;
498
- default: number;
499
- };
500
- round: BooleanConstructor;
501
- minlength: import('vue').PropType<number | string>;
502
- maxlength: import('vue').PropType<number | string>;
503
- clearable: BooleanConstructor;
504
- autosize: {
505
- type: import('vue').PropType<boolean | {
506
- minRows?: number;
507
- maxRows?: number;
508
- }>;
509
- default: boolean;
510
- };
511
- pair: BooleanConstructor;
512
- separator: StringConstructor;
513
- readonly: {
514
- type: (StringConstructor | BooleanConstructor)[];
515
- default: boolean;
516
- };
517
- passivelyActivated: BooleanConstructor;
518
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
519
- stateful: {
520
- type: BooleanConstructor;
521
- default: boolean;
522
- };
523
- autofocus: BooleanConstructor;
524
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
525
- resizable: {
526
- type: BooleanConstructor;
527
- default: boolean;
528
- };
529
- showCount: BooleanConstructor;
530
- loading: {
531
- type: BooleanConstructor;
532
- default: undefined;
533
- };
534
- allowInput: import('vue').PropType<(value: string) => boolean>;
535
- renderCount: import('vue').PropType<(props: {
536
- value: string;
537
- }) => import('vue').VNodeChild>;
538
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
539
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
540
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
541
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
542
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
543
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
544
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
545
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
546
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
547
- countGraphemes: import('vue').PropType<(value: string) => number>;
548
- status: import('vue').PropType<import('naive-ui/es/form/src/interface').FormValidationStatus>;
549
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
550
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
551
- textDecoration: import('vue').PropType<string | [string, string]>;
552
- attrSize: {
553
- type: NumberConstructor;
554
- default: number;
555
- };
556
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
557
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
558
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
559
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
560
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
561
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
562
- internalDeactivateOnEnter: BooleanConstructor;
563
- internalForceFocus: BooleanConstructor;
564
- internalLoadingBeforeSuffix: {
565
- type: BooleanConstructor;
566
- default: boolean;
567
- };
568
- showPasswordToggle: BooleanConstructor;
569
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
570
- countTextColorDisabled: string;
571
- countTextColor: string;
572
- heightTiny: string;
573
- heightSmall: string;
574
- heightMedium: string;
575
- heightLarge: string;
576
- fontSizeTiny: string;
577
- fontSizeSmall: string;
578
- fontSizeMedium: string;
579
- fontSizeLarge: string;
580
- lineHeight: string;
581
- lineHeightTextarea: string;
582
- borderRadius: string;
583
- iconSize: string;
584
- groupLabelColor: string;
585
- groupLabelTextColor: string;
586
- textColor: string;
587
- textColorDisabled: string;
588
- textDecorationColor: string;
589
- caretColor: string;
590
- placeholderColor: string;
591
- placeholderColorDisabled: string;
592
- color: string;
593
- colorDisabled: string;
594
- colorFocus: string;
595
- groupLabelBorder: string;
596
- border: string;
597
- borderHover: string;
598
- borderDisabled: string;
599
- borderFocus: string;
600
- boxShadowFocus: string;
601
- loadingColor: string;
602
- loadingColorWarning: string;
603
- borderWarning: string;
604
- borderHoverWarning: string;
605
- colorFocusWarning: string;
606
- borderFocusWarning: string;
607
- boxShadowFocusWarning: string;
608
- caretColorWarning: string;
609
- loadingColorError: string;
610
- borderError: string;
611
- borderHoverError: string;
612
- colorFocusError: string;
613
- borderFocusError: string;
614
- boxShadowFocusError: string;
615
- caretColorError: string;
616
- clearColor: string;
617
- clearColorHover: string;
618
- clearColorPressed: string;
619
- iconColor: string;
620
- iconColorDisabled: string;
621
- iconColorHover: string;
622
- iconColorPressed: string;
623
- suffixTextColor: string;
624
- paddingTiny: string;
625
- paddingSmall: string;
626
- paddingMedium: string;
627
- paddingLarge: string;
628
- clearSize: string;
629
- }, any>>;
630
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
631
- countTextColorDisabled: string;
632
- countTextColor: string;
633
- heightTiny: string;
634
- heightSmall: string;
635
- heightMedium: string;
636
- heightLarge: string;
637
- fontSizeTiny: string;
638
- fontSizeSmall: string;
639
- fontSizeMedium: string;
640
- fontSizeLarge: string;
641
- lineHeight: string;
642
- lineHeightTextarea: string;
643
- borderRadius: string;
644
- iconSize: string;
645
- groupLabelColor: string;
646
- groupLabelTextColor: string;
647
- textColor: string;
648
- textColorDisabled: string;
649
- textDecorationColor: string;
650
- caretColor: string;
651
- placeholderColor: string;
652
- placeholderColorDisabled: string;
653
- color: string;
654
- colorDisabled: string;
655
- colorFocus: string;
656
- groupLabelBorder: string;
657
- border: string;
658
- borderHover: string;
659
- borderDisabled: string;
660
- borderFocus: string;
661
- boxShadowFocus: string;
662
- loadingColor: string;
663
- loadingColorWarning: string;
664
- borderWarning: string;
665
- borderHoverWarning: string;
666
- colorFocusWarning: string;
667
- borderFocusWarning: string;
668
- boxShadowFocusWarning: string;
669
- caretColorWarning: string;
670
- loadingColorError: string;
671
- borderError: string;
672
- borderHoverError: string;
673
- colorFocusError: string;
674
- borderFocusError: string;
675
- boxShadowFocusError: string;
676
- caretColorError: string;
677
- clearColor: string;
678
- clearColorHover: string;
679
- clearColorPressed: string;
680
- iconColor: string;
681
- iconColorDisabled: string;
682
- iconColorHover: string;
683
- iconColorPressed: string;
684
- suffixTextColor: string;
685
- paddingTiny: string;
686
- paddingSmall: string;
687
- paddingMedium: string;
688
- paddingLarge: string;
689
- clearSize: string;
690
- }, any>>>;
691
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
692
- countTextColorDisabled: string;
693
- countTextColor: string;
694
- heightTiny: string;
695
- heightSmall: string;
696
- heightMedium: string;
697
- heightLarge: string;
698
- fontSizeTiny: string;
699
- fontSizeSmall: string;
700
- fontSizeMedium: string;
701
- fontSizeLarge: string;
702
- lineHeight: string;
703
- lineHeightTextarea: string;
704
- borderRadius: string;
705
- iconSize: string;
706
- groupLabelColor: string;
707
- groupLabelTextColor: string;
708
- textColor: string;
709
- textColorDisabled: string;
710
- textDecorationColor: string;
711
- caretColor: string;
712
- placeholderColor: string;
713
- placeholderColorDisabled: string;
714
- color: string;
715
- colorDisabled: string;
716
- colorFocus: string;
717
- groupLabelBorder: string;
718
- border: string;
719
- borderHover: string;
720
- borderDisabled: string;
721
- borderFocus: string;
722
- boxShadowFocus: string;
723
- loadingColor: string;
724
- loadingColorWarning: string;
725
- borderWarning: string;
726
- borderHoverWarning: string;
727
- colorFocusWarning: string;
728
- borderFocusWarning: string;
729
- boxShadowFocusWarning: string;
730
- caretColorWarning: string;
731
- loadingColorError: string;
732
- borderError: string;
733
- borderHoverError: string;
734
- colorFocusError: string;
735
- borderFocusError: string;
736
- boxShadowFocusError: string;
737
- caretColorError: string;
738
- clearColor: string;
739
- clearColorHover: string;
740
- clearColorPressed: string;
741
- iconColor: string;
742
- iconColorDisabled: string;
743
- iconColorHover: string;
744
- iconColorPressed: string;
745
- suffixTextColor: string;
746
- paddingTiny: string;
747
- paddingSmall: string;
748
- paddingMedium: string;
749
- paddingLarge: string;
750
- clearSize: string;
751
- }, any>>>;
752
- }>>, {
476
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
753
477
  type: "textarea" | "text" | "password";
754
478
  readonly: string | boolean;
755
479
  round: boolean;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ select: (action: string) => any;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ onSelect?: ((action: string) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -64,38 +64,7 @@ declare function __VLS_template(): {
64
64
  }) => any;
65
65
  restoreColumns: () => any;
66
66
  "create:template": () => any;
67
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
68
- hideCreate?: boolean;
69
- hideView?: boolean;
70
- isLoadingItems?: boolean;
71
- modelValue: string;
72
- filters: {
73
- tag: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
74
- status: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
75
- createdBy: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
76
- [SystemFilter.ENGAGING]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
77
- [SystemFilter.POPULAR]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
78
- [SystemFilter.RECOMMENDED]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
79
- };
80
- tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
81
- }> & Readonly<{
82
- onSelect?: ((payload: {
83
- id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
84
- checked: boolean;
85
- }) => any) | undefined;
86
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
87
- onMove?: ((payload: {
88
- targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
89
- itemId: string;
90
- }) => any) | undefined;
91
- "onUpdate:filters"?: ((value: {
92
- tag: string[];
93
- status: string[];
94
- createdBy: string[];
95
- }) => any) | undefined;
96
- onRestoreColumns?: (() => any) | undefined;
97
- "onCreate:template"?: (() => any) | undefined;
98
- }>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
67
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
99
68
  P: {};
100
69
  B: {};
101
70
  D: {};
@@ -169,31 +138,7 @@ declare function __VLS_template(): {
169
138
  pageChanged: (p: PaginationState) => any;
170
139
  pageSizeChanged: (p: number) => any;
171
140
  "update:selectedRows": (s: Record<string, boolean>) => any;
172
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
173
- selectedRows?: Record<string, boolean>;
174
- scrollerClass?: string;
175
- columns: ColumnDef<{
176
- [x: string]: any;
177
- }, any>[];
178
- data: {
179
- [x: string]: any;
180
- }[];
181
- initialSorting?: SortingState;
182
- loading?: boolean;
183
- pageSize?: number;
184
- pageSizes?: number[];
185
- pageIndex?: number;
186
- totalCount?: number;
187
- displayedCount?: number;
188
- serverSide?: boolean;
189
- scrollerStyle?: import('vue').StyleValue;
190
- selectable?: boolean;
191
- }> & Readonly<{
192
- onSortChanged?: ((s: SortingState) => any) | undefined;
193
- onPageChanged?: ((p: PaginationState) => any) | undefined;
194
- onPageSizeChanged?: ((p: number) => any) | undefined;
195
- "onUpdate:selectedRows"?: ((s: Record<string, boolean>) => any) | undefined;
196
- }>, {
141
+ }, import('vue').PublicProps, {
197
142
  data: {
198
143
  [x: string]: any;
199
144
  }[];
@@ -9,6 +9,13 @@ interface BaseBulkProps {
9
9
  confirmText?: string;
10
10
  cancelText?: string;
11
11
  }
12
+ interface BulkUpdateFileAttributeProps extends BaseBulkProps {
13
+ fileNames: string[];
14
+ metadataFetcher?: (params?: GetInstanceMetadataTemplatesPayload) => Promise<PaginatedMetadataTemplateList>;
15
+ noMetadataErrorText?: string;
16
+ subtitle?: string;
17
+ isBulkUpdating: Ref<boolean>;
18
+ }
12
19
  interface BulkUpdateMetadataDialogProps extends BaseBulkProps {
13
20
  metadataFetcher?: (params?: GetInstanceMetadataTemplatesPayload) => Promise<PaginatedMetadataTemplateList>;
14
21
  noMetadataErrorText?: string;
@@ -33,6 +40,7 @@ interface BulkTagsProps extends BaseBulkProps {
33
40
  export default function useCanvasesManagementBulk(): {
34
41
  bulkDeleteDialog: ({ filteredData, selectedRows, isBulkDeleting, canvasType, onComplete, isReadonly, title, content, confirmText, cancelText, }: BulkDeleteDialogProps) => Promise<void>;
35
42
  bulkUpdateMetadataDialog: ({ selectedRows, metadataFetcher, noMetadataErrorText, title, subtitle, isBulkUpdating, onComplete, confirmText, cancelText, canvasType, }: BulkUpdateMetadataDialogProps) => Promise<void>;
43
+ bulkUpdateFileAttributes: ({ selectedRows, fileNames, metadataFetcher, noMetadataErrorText, title, subtitle, isBulkUpdating, onComplete, confirmText, cancelText, }: BulkUpdateFileAttributeProps) => Promise<void>;
36
44
  bulkAddTagsDialog: ({ filteredData, selectedRows, isBulkUpdating, canvasType, onComplete, isReadonly, title, confirmText, cancelText, }: BulkTagsProps) => Promise<void>;
37
45
  bulkRemoveTagsDialog: ({ filteredData, selectedRows, isBulkUpdating, canvasType, onComplete, isReadonly, title, confirmText, cancelText, }: BulkTagsProps) => Promise<void>;
38
46
  };
@@ -1,9 +1,7 @@
1
1
  declare const _default: <FilterValue extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
2
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
3
  readonly "onUpdate:modelValue"?: ((v: "" | FilterValue | FilterValue[]) => any) | undefined;
4
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
5
- "onUpdate:modelValue"?: ((v: "" | FilterValue | FilterValue[]) => any) | undefined;
6
- }>, never>, "onUpdate:modelValue"> & {
4
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
7
5
  disabled?: boolean;
8
6
  name?: string;
9
7
  modelValue: FilterValue[] | FilterValue | "";