@pitcher/js-api 1.25.0 → 1.26.0-beta.1
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/js-api.esm.js +25 -2
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +4 -4
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/browser/App.vue.d.ts +4 -4
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
- package/lib/apps/browser/stores/api.d.ts +3 -1
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +7 -2
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +35 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1024 -28
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +14 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +23 -7
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +917 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +14 -3
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +2 -1
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +10 -1
- package/lib/apps/content-selector/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +2 -0
- package/lib/apps/content-selector/stores/app.d.ts +18 -4
- package/lib/apps/content-selector/util/file.d.ts +6 -3
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +3 -2
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
- package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +2 -0
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
- package/lib/components/CInput/CInput.vue.d.ts +4 -4
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +27 -0
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +18 -5
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +109 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +33 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +17 -0
- package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
- package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
- package/lib/components/CTags/CTags.vue.d.ts +4 -4
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +3 -1
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +22 -16
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +7 -4
- package/lib/components/filters/CSearchFilter.vue.d.ts +6 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +6 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +1 -1
- package/lib/composables/useBindValidation.d.ts +1 -1
- package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
- package/lib/composables/useFilterSuggestions.d.ts +56 -0
- package/lib/composables/useImageAccessibility.d.ts +13 -0
- package/lib/composables/useMetadataSearch.d.ts +21 -1
- package/lib/main.lib.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -0
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +22 -0
- package/lib/sdk/interfaces.d.ts +46 -2
- package/lib/sdk/main.d.ts +9 -0
- package/lib/sdk/payload.types.d.ts +13 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +110 -0
- package/lib/types/app.d.ts +20 -3
- package/lib/types/call.d.ts +1 -0
- package/lib/types/core/MetadataFilter.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +16 -3
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +13 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/network.d.ts +8 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -7
- package/types/openapi/models/DeletedInstance.d.ts +0 -2
- package/types/openapi/models/Instance.d.ts +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +0 -1
- package/types/openapi/models/InstanceUpdate.d.ts +0 -2
- package/types/openapi/models/InstanceUpdateRequest.d.ts +0 -1
- package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +0 -2
- package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +0 -2
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +0 -1
- package/types/openapi/models/DeletedRegion.d.ts +0 -12
- package/types/openapi/models/MiniRegion.d.ts +0 -4
- package/types/openapi/models/MiniRegionRequest.d.ts +0 -3
- package/types/openapi/models/PaginatedRegionList.d.ts +0 -7
- package/types/openapi/models/PatchedRegionRequest.d.ts +0 -3
- package/types/openapi/models/Region.d.ts +0 -10
- package/types/openapi/models/RegionRequest.d.ts +0 -3
|
@@ -18,6 +18,7 @@ declare function __VLS_template(): {
|
|
|
18
18
|
suffix?(_: {}): any;
|
|
19
19
|
};
|
|
20
20
|
refs: {
|
|
21
|
+
textRef: HTMLDivElement;
|
|
21
22
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
22
23
|
bordered: {
|
|
23
24
|
type: import('vue').PropType<boolean | undefined>;
|
|
@@ -90,7 +91,7 @@ declare function __VLS_template(): {
|
|
|
90
91
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
91
92
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
92
93
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
93
|
-
status: import('vue').PropType<import('naive-ui
|
|
94
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
94
95
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
95
96
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
96
97
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -353,7 +354,7 @@ declare function __VLS_template(): {
|
|
|
353
354
|
} | {
|
|
354
355
|
top: string;
|
|
355
356
|
}>;
|
|
356
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
357
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
357
358
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
358
359
|
handleTextAreaScroll: (e: Event) => void;
|
|
359
360
|
handleCompositionStart: () => void;
|
|
@@ -609,7 +610,7 @@ declare function __VLS_template(): {
|
|
|
609
610
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
610
611
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
611
612
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
612
|
-
status: import('vue').PropType<import('naive-ui
|
|
613
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
613
614
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
614
615
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
615
616
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -872,7 +873,7 @@ declare function __VLS_template(): {
|
|
|
872
873
|
} | {
|
|
873
874
|
top: string;
|
|
874
875
|
}>;
|
|
875
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
876
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
876
877
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
877
878
|
handleTextAreaScroll: (e: Event) => void;
|
|
878
879
|
handleCompositionStart: () => void;
|
|
@@ -1069,6 +1070,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1069
1070
|
state: State;
|
|
1070
1071
|
useFixedEditWidth: boolean;
|
|
1071
1072
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
1073
|
+
textRef: HTMLDivElement;
|
|
1072
1074
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1073
1075
|
bordered: {
|
|
1074
1076
|
type: import('vue').PropType<boolean | undefined>;
|
|
@@ -1141,7 +1143,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1141
1143
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
1142
1144
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
1143
1145
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
1144
|
-
status: import('vue').PropType<import('naive-ui
|
|
1146
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
1145
1147
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
1146
1148
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
1147
1149
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -1404,7 +1406,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1404
1406
|
} | {
|
|
1405
1407
|
top: string;
|
|
1406
1408
|
}>;
|
|
1407
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
1409
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
1408
1410
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
1409
1411
|
handleTextAreaScroll: (e: Event) => void;
|
|
1410
1412
|
handleCompositionStart: () => void;
|
|
@@ -1660,7 +1662,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1660
1662
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
1661
1663
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
1662
1664
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
1663
|
-
status: import('vue').PropType<import('naive-ui
|
|
1665
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
1664
1666
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
1665
1667
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
1666
1668
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -1923,7 +1925,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1923
1925
|
} | {
|
|
1924
1926
|
top: string;
|
|
1925
1927
|
}>;
|
|
1926
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
1928
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
1927
1929
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
1928
1930
|
handleTextAreaScroll: (e: Event) => void;
|
|
1929
1931
|
handleCompositionStart: () => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
modelValue: string[];
|
|
3
4
|
search?: string;
|
|
@@ -3259,7 +3260,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
3259
3260
|
readonly default: () => never[];
|
|
3260
3261
|
};
|
|
3261
3262
|
readonly zIndex: NumberConstructor;
|
|
3262
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
3263
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
3263
3264
|
readonly 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3264
3265
|
readonly onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3265
3266
|
readonly onSelect: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnSelect>>;
|
|
@@ -3730,7 +3731,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
3730
3731
|
mergedSize: import('vue').ComputedRef<"small" | "medium" | "large">;
|
|
3731
3732
|
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
3732
3733
|
active: import('vue').ComputedRef<boolean>;
|
|
3733
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
3734
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
3734
3735
|
handleClear: () => void;
|
|
3735
3736
|
handleFocus: (e: FocusEvent) => void;
|
|
3736
3737
|
handleBlur: (e: FocusEvent) => void;
|
|
@@ -3990,7 +3991,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
3990
3991
|
readonly default: () => never[];
|
|
3991
3992
|
};
|
|
3992
3993
|
readonly zIndex: NumberConstructor;
|
|
3993
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
3994
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
3994
3995
|
readonly 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3995
3996
|
readonly onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3996
3997
|
readonly onSelect: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnSelect>>;
|
|
@@ -4461,7 +4462,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
4461
4462
|
mergedSize: import('vue').ComputedRef<"small" | "medium" | "large">;
|
|
4462
4463
|
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
4463
4464
|
active: import('vue').ComputedRef<boolean>;
|
|
4464
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
4465
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
4465
4466
|
handleClear: () => void;
|
|
4466
4467
|
handleFocus: (e: FocusEvent) => void;
|
|
4467
4468
|
handleBlur: (e: FocusEvent) => void;
|
|
@@ -3244,7 +3244,7 @@ declare const _default: import('vue').DefineComponent<CTagsProps, {}, {}, {}, {}
|
|
|
3244
3244
|
readonly default: () => never[];
|
|
3245
3245
|
};
|
|
3246
3246
|
readonly zIndex: NumberConstructor;
|
|
3247
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
3247
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
3248
3248
|
readonly 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3249
3249
|
readonly onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3250
3250
|
readonly onSelect: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnSelect>>;
|
|
@@ -3715,7 +3715,7 @@ declare const _default: import('vue').DefineComponent<CTagsProps, {}, {}, {}, {}
|
|
|
3715
3715
|
mergedSize: import('vue').ComputedRef<"small" | "medium" | "large">;
|
|
3716
3716
|
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
3717
3717
|
active: import('vue').ComputedRef<boolean>;
|
|
3718
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
3718
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
3719
3719
|
handleClear: () => void;
|
|
3720
3720
|
handleFocus: (e: FocusEvent) => void;
|
|
3721
3721
|
handleBlur: (e: FocusEvent) => void;
|
|
@@ -3975,7 +3975,7 @@ declare const _default: import('vue').DefineComponent<CTagsProps, {}, {}, {}, {}
|
|
|
3975
3975
|
readonly default: () => never[];
|
|
3976
3976
|
};
|
|
3977
3977
|
readonly zIndex: NumberConstructor;
|
|
3978
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
3978
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
3979
3979
|
readonly 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3980
3980
|
readonly onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnUpdateValue>>;
|
|
3981
3981
|
readonly onSelect: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/auto-complete/src/interface').OnSelect>>;
|
|
@@ -4446,7 +4446,7 @@ declare const _default: import('vue').DefineComponent<CTagsProps, {}, {}, {}, {}
|
|
|
4446
4446
|
mergedSize: import('vue').ComputedRef<"small" | "medium" | "large">;
|
|
4447
4447
|
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
4448
4448
|
active: import('vue').ComputedRef<boolean>;
|
|
4449
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
4449
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
4450
4450
|
handleClear: () => void;
|
|
4451
4451
|
handleFocus: (e: FocusEvent) => void;
|
|
4452
4452
|
handleBlur: (e: FocusEvent) => void;
|
|
@@ -18,7 +18,9 @@ interface Props {
|
|
|
18
18
|
userRole?: string;
|
|
19
19
|
roleIcon?: string;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: import('vue').DefineComponent<Props, {
|
|
21
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
22
|
+
setShow: (show: boolean) => void | undefined;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
24
|
action: (key: string) => any;
|
|
23
25
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
24
26
|
onAction?: ((key: string) => any) | undefined;
|
|
@@ -125,14 +125,14 @@ declare function __VLS_template(): {
|
|
|
125
125
|
"breadcrumb:click": (id: string | null) => any;
|
|
126
126
|
"toggle-view-mode": () => any;
|
|
127
127
|
}, import('vue').PublicProps, {
|
|
128
|
-
breadcrumbs: {
|
|
129
|
-
id: string;
|
|
130
|
-
name: string;
|
|
131
|
-
}[];
|
|
132
128
|
currentSort: {
|
|
133
129
|
field: string;
|
|
134
130
|
order: "asc" | "desc";
|
|
135
131
|
};
|
|
132
|
+
breadcrumbs: {
|
|
133
|
+
id: string;
|
|
134
|
+
name: string;
|
|
135
|
+
}[];
|
|
136
136
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
137
137
|
searchFiltersRef: ({
|
|
138
138
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -162,6 +162,7 @@ declare function __VLS_template(): {
|
|
|
162
162
|
}[] | undefined;
|
|
163
163
|
readonly enableDependentFilters?: boolean | undefined;
|
|
164
164
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
165
|
+
readonly contentType?: string[] | undefined;
|
|
165
166
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
166
167
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
167
168
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -279,6 +280,7 @@ declare function __VLS_template(): {
|
|
|
279
280
|
}[];
|
|
280
281
|
enableDependentFilters?: boolean;
|
|
281
282
|
dependentFiltersEntity?: "file" | "canvas";
|
|
283
|
+
contentType?: string[];
|
|
282
284
|
}> & Readonly<{
|
|
283
285
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
284
286
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -358,6 +360,7 @@ declare function __VLS_template(): {
|
|
|
358
360
|
}[];
|
|
359
361
|
enableDependentFilters?: boolean;
|
|
360
362
|
dependentFiltersEntity?: "file" | "canvas";
|
|
363
|
+
contentType?: string[];
|
|
361
364
|
}> & Readonly<{
|
|
362
365
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
363
366
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -426,14 +429,14 @@ declare function __VLS_template(): {
|
|
|
426
429
|
}>, {
|
|
427
430
|
clearSearch: () => void;
|
|
428
431
|
}, {}, {}, {}, {
|
|
429
|
-
breadcrumbs: {
|
|
430
|
-
id: string;
|
|
431
|
-
name: string;
|
|
432
|
-
}[];
|
|
433
432
|
currentSort: {
|
|
434
433
|
field: string;
|
|
435
434
|
order: "asc" | "desc";
|
|
436
435
|
};
|
|
436
|
+
breadcrumbs: {
|
|
437
|
+
id: string;
|
|
438
|
+
name: string;
|
|
439
|
+
}[];
|
|
437
440
|
}> | null;
|
|
438
441
|
listRef: ({
|
|
439
442
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -746,14 +749,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
746
749
|
"breadcrumb:click": (id: string | null) => any;
|
|
747
750
|
"toggle-view-mode": () => any;
|
|
748
751
|
}, import('vue').PublicProps, {
|
|
749
|
-
breadcrumbs: {
|
|
750
|
-
id: string;
|
|
751
|
-
name: string;
|
|
752
|
-
}[];
|
|
753
752
|
currentSort: {
|
|
754
753
|
field: string;
|
|
755
754
|
order: "asc" | "desc";
|
|
756
755
|
};
|
|
756
|
+
breadcrumbs: {
|
|
757
|
+
id: string;
|
|
758
|
+
name: string;
|
|
759
|
+
}[];
|
|
757
760
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
758
761
|
searchFiltersRef: ({
|
|
759
762
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -783,6 +786,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
783
786
|
}[] | undefined;
|
|
784
787
|
readonly enableDependentFilters?: boolean | undefined;
|
|
785
788
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
789
|
+
readonly contentType?: string[] | undefined;
|
|
786
790
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
787
791
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
788
792
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -900,6 +904,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
900
904
|
}[];
|
|
901
905
|
enableDependentFilters?: boolean;
|
|
902
906
|
dependentFiltersEntity?: "file" | "canvas";
|
|
907
|
+
contentType?: string[];
|
|
903
908
|
}> & Readonly<{
|
|
904
909
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
905
910
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -979,6 +984,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
979
984
|
}[];
|
|
980
985
|
enableDependentFilters?: boolean;
|
|
981
986
|
dependentFiltersEntity?: "file" | "canvas";
|
|
987
|
+
contentType?: string[];
|
|
982
988
|
}> & Readonly<{
|
|
983
989
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
984
990
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -1047,14 +1053,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1047
1053
|
}>, {
|
|
1048
1054
|
clearSearch: () => void;
|
|
1049
1055
|
}, {}, {}, {}, {
|
|
1050
|
-
breadcrumbs: {
|
|
1051
|
-
id: string;
|
|
1052
|
-
name: string;
|
|
1053
|
-
}[];
|
|
1054
1056
|
currentSort: {
|
|
1055
1057
|
field: string;
|
|
1056
1058
|
order: "asc" | "desc";
|
|
1057
1059
|
};
|
|
1060
|
+
breadcrumbs: {
|
|
1061
|
+
id: string;
|
|
1062
|
+
name: string;
|
|
1063
|
+
}[];
|
|
1058
1064
|
}> | null;
|
|
1059
1065
|
listRef: ({
|
|
1060
1066
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -74,14 +74,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
74
74
|
"onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
|
|
75
75
|
"onToggle-view-mode"?: (() => any) | undefined;
|
|
76
76
|
}>, {
|
|
77
|
-
breadcrumbs: {
|
|
78
|
-
id: string;
|
|
79
|
-
name: string;
|
|
80
|
-
}[];
|
|
81
77
|
currentSort: {
|
|
82
78
|
field: string;
|
|
83
79
|
order: "asc" | "desc";
|
|
84
80
|
};
|
|
81
|
+
breadcrumbs: {
|
|
82
|
+
id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
}[];
|
|
85
85
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
86
86
|
searchFiltersRef: ({
|
|
87
87
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -111,6 +111,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
111
111
|
}[] | undefined;
|
|
112
112
|
readonly enableDependentFilters?: boolean | undefined;
|
|
113
113
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
114
|
+
readonly contentType?: string[] | undefined;
|
|
114
115
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
115
116
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
116
117
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -228,6 +229,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
228
229
|
}[];
|
|
229
230
|
enableDependentFilters?: boolean;
|
|
230
231
|
dependentFiltersEntity?: "file" | "canvas";
|
|
232
|
+
contentType?: string[];
|
|
231
233
|
}> & Readonly<{
|
|
232
234
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
233
235
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -307,6 +309,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
307
309
|
}[];
|
|
308
310
|
enableDependentFilters?: boolean;
|
|
309
311
|
dependentFiltersEntity?: "file" | "canvas";
|
|
312
|
+
contentType?: string[];
|
|
310
313
|
}> & Readonly<{
|
|
311
314
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
312
315
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -12,6 +12,9 @@ type Props = {
|
|
|
12
12
|
isSection?: boolean;
|
|
13
13
|
isTemplate?: boolean;
|
|
14
14
|
ownerId?: number | null;
|
|
15
|
+
limit?: number;
|
|
16
|
+
externalFilters?: Record<string, any>;
|
|
17
|
+
isDependentField?: boolean;
|
|
15
18
|
};
|
|
16
19
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
20
|
clear: () => any;
|
|
@@ -28,9 +31,12 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
28
31
|
isTemplate: boolean;
|
|
29
32
|
includeDraftValues: boolean;
|
|
30
33
|
ownerId: number | null;
|
|
34
|
+
limit: number;
|
|
31
35
|
numeric: boolean;
|
|
32
36
|
filterKey: string;
|
|
33
37
|
isCustom: boolean;
|
|
38
|
+
externalFilters: Record<string, any>;
|
|
39
|
+
isDependentField: boolean;
|
|
34
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
41
|
searchOnClickRef: ({
|
|
36
42
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -34,6 +34,12 @@ type __VLS_Props = {
|
|
|
34
34
|
value: string;
|
|
35
35
|
}[];
|
|
36
36
|
accountsLoading: boolean;
|
|
37
|
+
track?: (eventName: string, payload: any) => void;
|
|
38
|
+
checkTemplatesAccess?: (params: {
|
|
39
|
+
templateIds: string[];
|
|
40
|
+
}) => Promise<{
|
|
41
|
+
accessibleTemplateIds: string[];
|
|
42
|
+
}>;
|
|
37
43
|
};
|
|
38
44
|
declare function __VLS_template(): {
|
|
39
45
|
attrs: Partial<{}>;
|
|
@@ -17,6 +17,7 @@ type __VLS_Props = {
|
|
|
17
17
|
pdfUrl?: string;
|
|
18
18
|
pptxUrl?: string;
|
|
19
19
|
isExpired?: boolean;
|
|
20
|
+
track?: (eventName: string, payload: any) => void;
|
|
20
21
|
};
|
|
21
22
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
23
|
copy: () => any;
|
|
@@ -144,7 +144,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
144
144
|
readonly type: BooleanConstructor;
|
|
145
145
|
readonly default: true;
|
|
146
146
|
};
|
|
147
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
147
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
148
148
|
readonly showCheckmark: {
|
|
149
149
|
readonly type: BooleanConstructor;
|
|
150
150
|
readonly default: true;
|
|
@@ -575,7 +575,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
575
575
|
}>;
|
|
576
576
|
}>>>;
|
|
577
577
|
}>> & Readonly<{}>, {
|
|
578
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
578
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
579
579
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
580
580
|
mergedBordered: import('vue').ComputedRef<boolean>;
|
|
581
581
|
namespace: import('vue').ComputedRef<string | undefined>;
|
|
@@ -1004,7 +1004,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1004
1004
|
readonly type: BooleanConstructor;
|
|
1005
1005
|
readonly default: true;
|
|
1006
1006
|
};
|
|
1007
|
-
readonly status: import('vue').PropType<import('naive-ui
|
|
1007
|
+
readonly status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
1008
1008
|
readonly showCheckmark: {
|
|
1009
1009
|
readonly type: BooleanConstructor;
|
|
1010
1010
|
readonly default: true;
|
|
@@ -1435,7 +1435,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1435
1435
|
}>;
|
|
1436
1436
|
}>>>;
|
|
1437
1437
|
}>> & Readonly<{}>, {
|
|
1438
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
1438
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
1439
1439
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
1440
1440
|
mergedBordered: import('vue').ComputedRef<boolean>;
|
|
1441
1441
|
namespace: import('vue').ComputedRef<string | undefined>;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
hideConfigurationButton?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
5
|
configure: () => any;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
4
7
|
onConfigure?: (() => any) | undefined;
|
|
5
|
-
}>, {
|
|
8
|
+
}>, {
|
|
9
|
+
hideConfigurationButton: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
11
|
export default _default;
|
|
@@ -5,7 +5,7 @@ import { CLIENT_TYPE } from '../../constants/cdp.const';
|
|
|
5
5
|
import { GetCanvasesParams } from '../../types/canvases';
|
|
6
6
|
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest } from '../../../types/openapi';
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
-
storageKey
|
|
8
|
+
storageKey: string;
|
|
9
9
|
myUserId?: CanvasRetrieve['created_by']['id'];
|
|
10
10
|
updater: (params: PatchedCanvasUpdateRequest & {
|
|
11
11
|
id: CanvasRetrieve['id'];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { MetadataFilterRequest } from '../types/core/MetadataFilter';
|
|
3
|
+
interface FilterSuggestion {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
usageCount?: number;
|
|
7
|
+
}
|
|
8
|
+
interface FilterSuggestionsData {
|
|
9
|
+
popular: FilterSuggestion[];
|
|
10
|
+
all: FilterSuggestion[];
|
|
11
|
+
}
|
|
12
|
+
interface FilterConstraint {
|
|
13
|
+
key: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
interface UseFilterSuggestionsOptions {
|
|
17
|
+
entity?: MetadataFilterRequest['entity'];
|
|
18
|
+
filterKey?: string;
|
|
19
|
+
includeDraftValues?: boolean;
|
|
20
|
+
isSection?: boolean;
|
|
21
|
+
isTemplate?: boolean;
|
|
22
|
+
ownerId?: number | null;
|
|
23
|
+
limit?: number;
|
|
24
|
+
}
|
|
25
|
+
export default function useFilterSuggestions(options?: UseFilterSuggestionsOptions): {
|
|
26
|
+
suggestions: Ref<{
|
|
27
|
+
popular: {
|
|
28
|
+
name: string;
|
|
29
|
+
displayName: string;
|
|
30
|
+
usageCount?: number | undefined;
|
|
31
|
+
}[];
|
|
32
|
+
all: {
|
|
33
|
+
name: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
usageCount?: number | undefined;
|
|
36
|
+
}[];
|
|
37
|
+
}, FilterSuggestionsData | {
|
|
38
|
+
popular: {
|
|
39
|
+
name: string;
|
|
40
|
+
displayName: string;
|
|
41
|
+
usageCount?: number | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
all: {
|
|
44
|
+
name: string;
|
|
45
|
+
displayName: string;
|
|
46
|
+
usageCount?: number | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
}>;
|
|
49
|
+
isLoading: Ref<boolean, boolean>;
|
|
50
|
+
isEnabled: ComputedRef<boolean | undefined>;
|
|
51
|
+
fetchSuggestions: (currentFilters?: Record<string, any>) => Promise<FilterSuggestionsData>;
|
|
52
|
+
debouncedFetch: (currentFilters?: Record<string, any>, delay?: number) => Promise<FilterSuggestionsData>;
|
|
53
|
+
buildConstraints: (currentFilters: Record<string, any>, excludeCurrentField?: boolean) => FilterConstraint[];
|
|
54
|
+
cleanup: () => void;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
interface UseImageAccessibilityOptions {
|
|
3
|
+
thumbnailUrl: ComputedRef<string | null>;
|
|
4
|
+
hasAIEnabled: ComputedRef<boolean>;
|
|
5
|
+
hasFile: ComputedRef<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export default function useImageAccessibility({ thumbnailUrl, hasAIEnabled, hasFile }: UseImageAccessibilityOptions): {
|
|
8
|
+
imageAccessible: import('vue').Ref<boolean | null, boolean | null>;
|
|
9
|
+
hasValidThumbnail: ComputedRef<boolean>;
|
|
10
|
+
handleImageError: () => void;
|
|
11
|
+
checkImageAccessibility: () => Promise<void>;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { MetadataFilterRequest, MetadataSearchParams } from '../types/core/MetadataFilter';
|
|
2
2
|
import { StyledAutoCompleteOption } from '../types/search';
|
|
3
|
+
interface MetadataUniqueValuesResponse {
|
|
4
|
+
popular: Array<StyledAutoCompleteOption & {
|
|
5
|
+
usage_count: number;
|
|
6
|
+
}>;
|
|
7
|
+
all: StyledAutoCompleteOption[];
|
|
8
|
+
}
|
|
3
9
|
interface UseMetadataSearchOptions {
|
|
4
10
|
includeSearchTermAsOption?: boolean;
|
|
5
11
|
}
|
|
6
12
|
export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
7
|
-
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, }?: {
|
|
13
|
+
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, contentType, }?: {
|
|
8
14
|
includeNameSearch?: boolean;
|
|
9
15
|
includeDraftValues?: boolean;
|
|
10
16
|
isSection?: boolean;
|
|
@@ -15,6 +21,20 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
|
15
21
|
searchMode?: MetadataSearchParams["searchMode"];
|
|
16
22
|
threshold?: number;
|
|
17
23
|
fetchAllUnique?: boolean;
|
|
24
|
+
contentType?: string[];
|
|
18
25
|
}) => Promise<StyledAutoCompleteOption[]>;
|
|
26
|
+
fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, }?: {
|
|
27
|
+
includeDraftValues?: boolean;
|
|
28
|
+
isSection?: boolean;
|
|
29
|
+
isTemplate?: boolean;
|
|
30
|
+
isBlock?: boolean;
|
|
31
|
+
key?: MetadataSearchParams["key"];
|
|
32
|
+
ownerId?: number | null;
|
|
33
|
+
limit?: number;
|
|
34
|
+
and?: Array<{
|
|
35
|
+
key: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}>;
|
|
38
|
+
}) => Promise<MetadataUniqueValuesResponse>;
|
|
19
39
|
};
|
|
20
40
|
export {};
|
package/lib/main.lib.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export { default as CGlobalLoader } from './components/CGlobalLoader/CGlobalLoad
|
|
|
90
90
|
export { default as CFilesFolderDeleteDialogContent } from './components/CFilesFolderDeleteDialogContent/CFilesFolderDeleteDialogContent.vue';
|
|
91
91
|
export { default as CCatalogIqSwitcher } from './components/CCatalogIqSwitcher/CCatalogIqSwitcher.vue';
|
|
92
92
|
export { default as CCarousel } from './components/CCarousel/CCarousel.vue';
|
|
93
|
+
export { default as CSlideViewer } from './components/CSlideViewer/CSlideViewer.vue';
|
|
93
94
|
export { default as CTags } from './components/CTags/CTags.vue';
|
|
94
95
|
export { default as CMovableWidget } from './components/CMovableWidget/CMovableWidget.vue';
|
|
95
96
|
export { default as CUserMenu } from './components/CUserMenu/CUserMenu.vue';
|
|
@@ -252,6 +252,7 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
252
252
|
close(): Promise<any>;
|
|
253
253
|
openWebViewAlwaysOnTop(payload: import('../payload.types').OpenWebViewAlwaysOnTop): Promise<void>;
|
|
254
254
|
share(payload: import('../payload.types').SharePayload): Promise<import('../payload.types').ShareResponse>;
|
|
255
|
+
showPeerSession(payload: import('../payload.types').ShowPeerSessionRequestPayload): Promise<void>;
|
|
255
256
|
getThemes(payload: Partial<import('../../main.lib').CanvasThemeRetrieve>): Promise<import('../../main.lib').CanvasThemeRetrieve[]>;
|
|
256
257
|
assignCanvasTheme(payload: {
|
|
257
258
|
canvas_id: import('../../main.lib').CanvasRetrieve["id"];
|
|
@@ -148,6 +148,14 @@ export type AdminSelectContentRequest = {
|
|
|
148
148
|
* Disables files from selection which are not sharable (optional).
|
|
149
149
|
*/
|
|
150
150
|
disable_no_sharable?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Disables files from selection which do not have pptx_data in metadata object (optional).
|
|
153
|
+
*/
|
|
154
|
+
disable_no_pptx_data?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Only allow content pdf pages (optional). User will be forced to select a page from the pdf.
|
|
157
|
+
*/
|
|
158
|
+
only_allow_content_pdf_pages?: boolean;
|
|
151
159
|
};
|
|
152
160
|
/**
|
|
153
161
|
* Represents a response to a content selection request.
|