@pitcher/js-api 1.25.1 → 1.26.0-beta.10
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/impact-js-api.spec.json +15 -0
- package/js-api.esm.js +343 -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 +148 -36
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +2 -2
- package/lib/apps/browser/stores/api.d.ts +22 -1
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +148 -36
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +162 -37
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +20 -20
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.raw.vue.d.ts +30 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +76 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentListItems.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +87 -8
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +368 -202
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +30 -2
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +28 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +7 -9
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -18
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -6
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +20 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -4
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
- package/lib/apps/content-selector/components/Assets.vue.d.ts +2 -2
- package/lib/apps/content-selector/components/Content.vue.d.ts +2 -2
- package/lib/components/CCarousel/CCarousel.vue.d.ts +98 -20
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +8 -8
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +2 -2
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +3 -3
- package/lib/components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts +2 -2
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +10 -8
- package/lib/components/CDataTable/CDataTable.vue.d.ts +876 -100
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +2 -2
- package/lib/components/CImage/CImage.vue.d.ts +99 -20
- package/lib/components/CInput/CInput.vue.d.ts +148 -36
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +468 -130
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +148 -36
- package/lib/components/CTableInput/CTableInput.vue.d.ts +296 -72
- package/lib/components/CTableTag/CTableTag.vue.d.ts +290 -38
- package/lib/components/CTags/CTags.vue.d.ts +290 -38
- package/lib/components/CTemplateAccessInfo/CTemplateAccessInfo.vue.d.ts +25 -0
- package/lib/components/CTemplateAccessManage/CTemplateAccessManage.vue.d.ts +26 -0
- package/lib/components/CUpsertFolderModal/CUpsertFolderModal.vue.d.ts +2 -2
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +108 -30
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +2 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +176 -46
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -4
- package/lib/constants/cdp.const.d.ts +3 -0
- package/lib/main.lib.d.ts +5 -0
- package/lib/sdk/api/HighLevelApi.d.ts +7 -0
- package/lib/sdk/api/modules/query.d.ts +153 -1
- package/lib/sdk/interfaces.d.ts +4 -1
- package/lib/sdk/main.d.ts +22 -0
- package/lib/sdk/payload.types.d.ts +116 -0
- package/lib/sdk/peer-connectivity/index.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +13 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.types.d.ts +35 -0
- package/lib/theme/light.d.ts +113 -8
- package/lib/types/app.d.ts +7 -0
- package/lib/types/canvases.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/lib/util/app.util.d.ts +46 -0
- package/lib/util/handlebars.d.ts +35 -0
- package/npm-cache/_cacache/content-v2/sha512/3e/27/b4826de89487d07340c5facfb59a809827e65850e472a2d853f7f72dbfc2b4ce5b453253d8c1b11077f5dccb02ea418d8708e7f3f52f756f276b663740a3 +0 -0
- package/npm-cache/_cacache/content-v2/sha512/64/5a/421e053f6177ae9816e985e900126bd7808f16ec0cc5f58c3e082c79c37d1610e6d493c0b99e4d09224e84ad12bcefb46b8f4cabd04d0f397fa8a5b999e3 +0 -0
- package/npm-cache/_cacache/index-v5/ef/db/1a303888dee96dbf0872b6eb0b16af940d57c22846114d55ac441140c1a2 +3 -0
- package/npm-cache/_logs/2025-12-12T08_06_50_883Z-debug-0.log +1194 -0
- package/npm-cache/_logs/2025-12-12T08_20_34_296Z-debug-0.log +1218 -0
- package/package.json +1 -1
- package/types/openapi/models/Account.d.ts +1 -1
- package/types/openapi/models/AccountRequest.d.ts +1 -1
- package/types/openapi/models/DeletedFolder.d.ts +1 -0
- package/types/openapi/models/Folder.d.ts +1 -0
- package/types/openapi/models/FolderCreate.d.ts +3 -0
- package/types/openapi/models/FolderFile.d.ts +2 -0
- package/types/openapi/models/FolderRetrieve.d.ts +4 -0
- package/types/openapi/models/FolderUpdate.d.ts +3 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/OfflineSyncFolder.d.ts +1 -0
- package/types/openapi/models/User.d.ts +4 -1
- /package/lib/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
|
@@ -144,9 +144,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
144
144
|
}>> & Readonly<{}>, FormInst & {
|
|
145
145
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
146
146
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
147
|
-
readonly inline: boolean;
|
|
148
147
|
readonly disabled: boolean;
|
|
149
148
|
readonly onSubmit: (e: Event) => void;
|
|
149
|
+
readonly inline: boolean;
|
|
150
150
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
151
151
|
readonly model: Record<string, any>;
|
|
152
152
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -291,9 +291,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
291
291
|
}>> & Readonly<{}>, FormInst & {
|
|
292
292
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
293
293
|
}, {}, {}, {}, {
|
|
294
|
-
readonly inline: boolean;
|
|
295
294
|
readonly disabled: boolean;
|
|
296
295
|
readonly onSubmit: (e: Event) => void;
|
|
296
|
+
readonly inline: boolean;
|
|
297
297
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
298
298
|
readonly model: Record<string, any>;
|
|
299
299
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -125,7 +125,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
125
125
|
userWantsControl: import('vue').ComputedRef<boolean>;
|
|
126
126
|
autoSlideSize: import('vue').ComputedRef<boolean>;
|
|
127
127
|
realIndex: import('vue').ComputedRef<number>;
|
|
128
|
-
slideStyles: import('vue').ComputedRef<
|
|
128
|
+
slideStyles: import('vue').ComputedRef<(Partial<import('naive-ui/es/carousel/src/interface').Size> | undefined)[] | CSSProperties[]>;
|
|
129
129
|
translateStyle: import('vue').Ref<CSSProperties, CSSProperties>;
|
|
130
130
|
slidesControlListeners: import('vue').ComputedRef<{
|
|
131
131
|
onTouchstartPassive: ((event: MouseEvent | TouchEvent) => void) | undefined;
|
|
@@ -141,23 +141,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
141
141
|
arrowSlotProps: import('vue').ComputedRef<import('naive-ui/es/carousel/src/interface').ArrowScopedSlotProps>;
|
|
142
142
|
dotSlotProps: import('vue').ComputedRef<import('naive-ui/es/carousel/src/interface').DotScopedSlotProps>;
|
|
143
143
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
144
|
-
effect: "card" | "slide" | "fade" | "custom";
|
|
145
|
-
direction: "horizontal" | "vertical";
|
|
146
|
-
draggable: boolean;
|
|
147
|
-
autoplay: boolean;
|
|
148
|
-
loop: boolean;
|
|
149
|
-
trigger: "click" | "hover";
|
|
150
|
-
showArrow: boolean;
|
|
151
144
|
keyboard: boolean;
|
|
152
|
-
dotType: "dot" | "line";
|
|
153
145
|
defaultIndex: number;
|
|
154
|
-
|
|
146
|
+
showArrow: boolean;
|
|
147
|
+
dotType: "dot" | "line";
|
|
148
|
+
dotPlacement: "top" | "bottom" | "left" | "right";
|
|
155
149
|
slidesPerView: number | "auto";
|
|
156
150
|
spaceBetween: number;
|
|
157
151
|
centeredSlides: boolean;
|
|
152
|
+
direction: "horizontal" | "vertical";
|
|
153
|
+
autoplay: boolean;
|
|
158
154
|
interval: number;
|
|
155
|
+
loop: boolean;
|
|
156
|
+
effect: "card" | "slide" | "fade" | "custom";
|
|
159
157
|
showDots: boolean;
|
|
158
|
+
trigger: "click" | "hover";
|
|
160
159
|
transitionStyle: Partial<Pick<CSSProperties, "transitionDuration" | "transitionTimingFunction">>;
|
|
160
|
+
draggable: boolean;
|
|
161
161
|
touchable: boolean;
|
|
162
162
|
mousewheel: boolean;
|
|
163
163
|
}, true, {}, import('vue').SlotsType<import('naive-ui').CarouselSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -286,7 +286,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
286
286
|
userWantsControl: import('vue').ComputedRef<boolean>;
|
|
287
287
|
autoSlideSize: import('vue').ComputedRef<boolean>;
|
|
288
288
|
realIndex: import('vue').ComputedRef<number>;
|
|
289
|
-
slideStyles: import('vue').ComputedRef<
|
|
289
|
+
slideStyles: import('vue').ComputedRef<(Partial<import('naive-ui/es/carousel/src/interface').Size> | undefined)[] | CSSProperties[]>;
|
|
290
290
|
translateStyle: import('vue').Ref<CSSProperties, CSSProperties>;
|
|
291
291
|
slidesControlListeners: import('vue').ComputedRef<{
|
|
292
292
|
onTouchstartPassive: ((event: MouseEvent | TouchEvent) => void) | undefined;
|
|
@@ -302,23 +302,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
302
302
|
arrowSlotProps: import('vue').ComputedRef<import('naive-ui/es/carousel/src/interface').ArrowScopedSlotProps>;
|
|
303
303
|
dotSlotProps: import('vue').ComputedRef<import('naive-ui/es/carousel/src/interface').DotScopedSlotProps>;
|
|
304
304
|
}, {}, {}, {}, {
|
|
305
|
-
effect: "card" | "slide" | "fade" | "custom";
|
|
306
|
-
direction: "horizontal" | "vertical";
|
|
307
|
-
draggable: boolean;
|
|
308
|
-
autoplay: boolean;
|
|
309
|
-
loop: boolean;
|
|
310
|
-
trigger: "click" | "hover";
|
|
311
|
-
showArrow: boolean;
|
|
312
305
|
keyboard: boolean;
|
|
313
|
-
dotType: "dot" | "line";
|
|
314
306
|
defaultIndex: number;
|
|
315
|
-
|
|
307
|
+
showArrow: boolean;
|
|
308
|
+
dotType: "dot" | "line";
|
|
309
|
+
dotPlacement: "top" | "bottom" | "left" | "right";
|
|
316
310
|
slidesPerView: number | "auto";
|
|
317
311
|
spaceBetween: number;
|
|
318
312
|
centeredSlides: boolean;
|
|
313
|
+
direction: "horizontal" | "vertical";
|
|
314
|
+
autoplay: boolean;
|
|
319
315
|
interval: number;
|
|
316
|
+
loop: boolean;
|
|
317
|
+
effect: "card" | "slide" | "fade" | "custom";
|
|
320
318
|
showDots: boolean;
|
|
319
|
+
trigger: "click" | "hover";
|
|
321
320
|
transitionStyle: Partial<Pick<CSSProperties, "transitionDuration" | "transitionTimingFunction">>;
|
|
321
|
+
draggable: boolean;
|
|
322
322
|
touchable: boolean;
|
|
323
323
|
mousewheel: boolean;
|
|
324
324
|
}> | null;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
import { ComponentNode, ContentListProps } from '../../../types/canvas';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
id: ComponentNode['id'];
|
|
6
|
+
data: ContentListProps;
|
|
7
|
+
sectionListName?: string;
|
|
8
|
+
previewMode?: boolean;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
shouldEditWithApp?: boolean;
|
|
11
|
+
hasSectionSelectorApp?: boolean;
|
|
12
|
+
printModeIdx?: number;
|
|
13
|
+
};
|
|
14
|
+
declare function onSectionSelectorToggle(): void;
|
|
15
|
+
declare function onSectionsSelect(items: {
|
|
16
|
+
id: CanvasRetrieve['id'];
|
|
17
|
+
}[], isForcedRecommendations?: boolean): Promise<void>;
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
19
|
+
toggleSectionSelector: typeof onSectionSelectorToggle;
|
|
20
|
+
onSectionsSelect: typeof onSectionsSelect;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
justAdded: (id: string) => any;
|
|
23
|
+
browseWithAppClicked: () => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onJustAdded?: ((id: string) => any) | undefined;
|
|
26
|
+
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
sectionListRef: HTMLDivElement;
|
|
29
|
+
}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentNode, ComponentNodePrint, ComponentNodeLinkable, ContentListProps } from '../../../types/canvas';
|
|
3
|
+
import { FileContentTypeEnum } from '../../../../../../types/openapi';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
id: ComponentNode['id'];
|
|
6
|
+
data: ContentListProps;
|
|
7
|
+
tracking_id: string;
|
|
8
|
+
visible?: ComponentNode['visible'];
|
|
9
|
+
allow_admins_to_overwrite?: boolean;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
printModeIdx?: number;
|
|
12
|
+
class?: string | string[] | object;
|
|
13
|
+
print?: ComponentNodePrint;
|
|
14
|
+
autofill?: 'off' | 'ai' | 'matching_metadata' | 'matching_tags' | 'matching_metadata_or_tags';
|
|
15
|
+
linkable?: ComponentNodeLinkable;
|
|
16
|
+
autofill_content_types?: FileContentTypeEnum[] | null;
|
|
17
|
+
when_used_in_section?: {
|
|
18
|
+
is_editable: boolean;
|
|
19
|
+
is_removable: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
style: (s: CSSProperties) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onStyle?: ((s: CSSProperties) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
contentListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
28
|
+
id: ComponentNode["id"];
|
|
29
|
+
data: ContentListProps;
|
|
30
|
+
sectionListName?: string;
|
|
31
|
+
previewMode?: boolean;
|
|
32
|
+
style?: CSSProperties;
|
|
33
|
+
shouldEditWithApp?: boolean;
|
|
34
|
+
hasSectionSelectorApp?: boolean;
|
|
35
|
+
printModeIdx?: number;
|
|
36
|
+
}> & Readonly<{
|
|
37
|
+
onJustAdded?: ((id: string) => any) | undefined;
|
|
38
|
+
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
toggleSectionSelector: () => void;
|
|
41
|
+
onSectionsSelect: (items: {
|
|
42
|
+
id: import('../../../../../../types/openapi').CanvasRetrieve["id"];
|
|
43
|
+
}[], isForcedRecommendations?: boolean) => Promise<void>;
|
|
44
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
justAdded: (id: string) => any;
|
|
46
|
+
browseWithAppClicked: () => any;
|
|
47
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
48
|
+
sectionListRef: HTMLDivElement;
|
|
49
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<{
|
|
57
|
+
id: ComponentNode["id"];
|
|
58
|
+
data: ContentListProps;
|
|
59
|
+
sectionListName?: string;
|
|
60
|
+
previewMode?: boolean;
|
|
61
|
+
style?: CSSProperties;
|
|
62
|
+
shouldEditWithApp?: boolean;
|
|
63
|
+
hasSectionSelectorApp?: boolean;
|
|
64
|
+
printModeIdx?: number;
|
|
65
|
+
}> & Readonly<{
|
|
66
|
+
onJustAdded?: ((id: string) => any) | undefined;
|
|
67
|
+
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
toggleSectionSelector: () => void;
|
|
70
|
+
onSectionsSelect: (items: {
|
|
71
|
+
id: import('../../../../../../types/openapi').CanvasRetrieve["id"];
|
|
72
|
+
}[], isForcedRecommendations?: boolean) => Promise<void>;
|
|
73
|
+
}, {}, {}, {}, {}> | null;
|
|
74
|
+
iframeRef: HTMLIFrameElement;
|
|
75
|
+
}, any>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CanvasSection, FileRetrieve } from '../../../../../../types/openapi';
|
|
2
|
+
import { ContentListSection } from '../../../types/canvas.ts';
|
|
3
|
+
type Item = {
|
|
4
|
+
index: number;
|
|
5
|
+
file?: FileRetrieve;
|
|
6
|
+
section?: CanvasSection;
|
|
7
|
+
} & ContentListSection;
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
name?: string;
|
|
10
|
+
style?: Record<string, any>;
|
|
11
|
+
items: Array<Item>;
|
|
12
|
+
hasSectionSelectorApp?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"open-section": (section: CanvasSection, index: number) => any;
|
|
16
|
+
"select-sections": () => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onOpen-section"?: ((section: CanvasSection, index: number) => any) | undefined;
|
|
19
|
+
"onSelect-sections"?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { FileRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
import { ContentListSection } from '../../../types/canvas';
|
|
4
|
+
declare const _default: () => {
|
|
5
|
+
files: {
|
|
6
|
+
loading: Record<string, true>;
|
|
7
|
+
loaded: Record<string, FileRetrieve>;
|
|
8
|
+
};
|
|
9
|
+
watchMissingFiles: (rawItems: Ref<ContentListSection[]>) => import('vue').WatchHandle;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -8,9 +8,13 @@ declare global {
|
|
|
8
8
|
type __VLS_Props = {
|
|
9
9
|
data?: ExtendedChartConfiguration & {
|
|
10
10
|
context?: any;
|
|
11
|
+
_original_chart_type?: string;
|
|
11
12
|
};
|
|
13
|
+
isPreview?: boolean;
|
|
14
|
+
isEditMode?: boolean;
|
|
12
15
|
};
|
|
13
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
containerRef: HTMLDivElement;
|
|
14
18
|
chartRef: HTMLCanvasElement;
|
|
15
19
|
}, HTMLDivElement>;
|
|
16
20
|
export default _default;
|
|
@@ -1,19 +1,68 @@
|
|
|
1
1
|
import { ChartConfiguration } from 'chart.js';
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export interface ViewControls {
|
|
3
|
+
enable_fullscreen_btn?: boolean;
|
|
4
|
+
enable_chart_type_switcher?: boolean;
|
|
5
|
+
enable_data_entry?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export type ChartType = 'bar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'scatter' | 'bubble' | 'area';
|
|
8
|
+
export declare const STANDALONE_CHART_TYPES: ChartType[];
|
|
9
|
+
export declare const MIXABLE_CHART_TYPES: ChartType[];
|
|
10
|
+
export declare const ONE_D_CHART_TYPES: ChartType[];
|
|
11
|
+
export declare const TWO_D_CHART_TYPES: ChartType[];
|
|
12
|
+
export declare const THREE_D_CHART_TYPES: ChartType[];
|
|
13
|
+
export declare const XY_CHART_TYPES: ChartType[];
|
|
14
|
+
export declare const XYR_CHART_TYPES: ChartType[];
|
|
15
|
+
export interface SeriesDataPoint {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
x_value?: string;
|
|
19
|
+
y_value?: string;
|
|
20
|
+
r_value?: string;
|
|
21
|
+
dynamic_value?: {
|
|
22
|
+
path: string;
|
|
5
23
|
value: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
24
|
+
};
|
|
25
|
+
dynamic_x_value?: {
|
|
26
|
+
path: string;
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
dynamic_y_value?: {
|
|
30
|
+
path: string;
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
dynamic_r_value?: {
|
|
34
|
+
path: string;
|
|
35
|
+
value: string;
|
|
36
|
+
};
|
|
37
|
+
array_config?: {
|
|
38
|
+
labelField: string;
|
|
39
|
+
valueField: string;
|
|
40
|
+
xField?: string;
|
|
41
|
+
yField?: string;
|
|
42
|
+
rField?: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface ChartSeries {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
chart_type: ChartType;
|
|
49
|
+
color?: string;
|
|
50
|
+
data_points: SeriesDataPoint[];
|
|
51
|
+
}
|
|
52
|
+
export interface ExtendedChartConfiguration extends ChartConfiguration {
|
|
53
|
+
data_points?: SeriesDataPoint[];
|
|
54
|
+
series?: ChartSeries[];
|
|
11
55
|
context?: any;
|
|
12
56
|
data?: ChartConfiguration['data'] & {
|
|
13
57
|
datasets?: Array<{
|
|
58
|
+
label?: string;
|
|
59
|
+
type?: string;
|
|
14
60
|
background_color?: string | string[];
|
|
15
61
|
border_color?: string | string[];
|
|
16
62
|
point_style?: string;
|
|
63
|
+
fill?: boolean;
|
|
64
|
+
tension?: number;
|
|
65
|
+
show_line?: boolean;
|
|
17
66
|
}>;
|
|
18
67
|
};
|
|
19
68
|
options?: ChartConfiguration['options'] & {
|
|
@@ -34,11 +83,23 @@ export interface ExtendedChartConfiguration extends ChartConfiguration {
|
|
|
34
83
|
text?: string;
|
|
35
84
|
display?: boolean;
|
|
36
85
|
};
|
|
86
|
+
begin_at_zero?: boolean;
|
|
87
|
+
};
|
|
88
|
+
r?: {
|
|
89
|
+
begin_at_zero?: boolean;
|
|
90
|
+
ticks?: {
|
|
91
|
+
step_size?: number;
|
|
92
|
+
};
|
|
37
93
|
};
|
|
38
94
|
};
|
|
39
95
|
index_axis?: 'x' | 'y';
|
|
40
96
|
};
|
|
41
97
|
color_scheme_type?: 'theme' | 'custom';
|
|
98
|
+
percent_display?: boolean;
|
|
99
|
+
view_controls?: ViewControls;
|
|
100
|
+
chart_height?: number;
|
|
101
|
+
chart_width?: number;
|
|
102
|
+
_primary_chart_type?: ChartType;
|
|
42
103
|
}
|
|
43
104
|
export interface DynamicValue {
|
|
44
105
|
path: string;
|
|
@@ -47,11 +108,29 @@ export interface DynamicValue {
|
|
|
47
108
|
export interface ArrayConfig {
|
|
48
109
|
labelField: string;
|
|
49
110
|
valueField: string;
|
|
111
|
+
xField?: string;
|
|
112
|
+
yField?: string;
|
|
113
|
+
rField?: string;
|
|
50
114
|
}
|
|
51
115
|
export interface DataPoint {
|
|
52
116
|
label: string;
|
|
53
117
|
value: string;
|
|
118
|
+
xValue?: string;
|
|
119
|
+
yValue?: string;
|
|
120
|
+
rValue?: string;
|
|
54
121
|
dynamicValue?: DynamicValue | any;
|
|
122
|
+
dynamicXValue?: DynamicValue | any;
|
|
123
|
+
dynamicYValue?: DynamicValue | any;
|
|
124
|
+
dynamicRValue?: DynamicValue | any;
|
|
55
125
|
selectedValue?: any;
|
|
126
|
+
selectedXValue?: any;
|
|
127
|
+
selectedYValue?: any;
|
|
128
|
+
selectedRValue?: any;
|
|
56
129
|
arrayConfig?: ArrayConfig;
|
|
57
130
|
}
|
|
131
|
+
export interface Series {
|
|
132
|
+
id: string;
|
|
133
|
+
name: string;
|
|
134
|
+
chartType: ChartType;
|
|
135
|
+
dataPoints: DataPoint[];
|
|
136
|
+
}
|
|
@@ -139,9 +139,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
139
139
|
}>> & Readonly<{}>, FormInst & {
|
|
140
140
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
141
141
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
142
|
-
readonly inline: boolean;
|
|
143
142
|
readonly disabled: boolean;
|
|
144
143
|
readonly onSubmit: (e: Event) => void;
|
|
144
|
+
readonly inline: boolean;
|
|
145
145
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
146
146
|
readonly model: Record<string, any>;
|
|
147
147
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -286,9 +286,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
286
286
|
}>> & Readonly<{}>, FormInst & {
|
|
287
287
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
288
288
|
}, {}, {}, {}, {
|
|
289
|
-
readonly inline: boolean;
|
|
290
289
|
readonly disabled: boolean;
|
|
291
290
|
readonly onSubmit: (e: Event) => void;
|
|
291
|
+
readonly inline: boolean;
|
|
292
292
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
293
293
|
readonly model: Record<string, any>;
|
|
294
294
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -456,9 +456,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
456
456
|
}>> & Readonly<{}>, FormInst & {
|
|
457
457
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
458
458
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
459
|
-
readonly inline: boolean;
|
|
460
459
|
readonly disabled: boolean;
|
|
461
460
|
readonly onSubmit: (e: Event) => void;
|
|
461
|
+
readonly inline: boolean;
|
|
462
462
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
463
463
|
readonly model: Record<string, any>;
|
|
464
464
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -603,9 +603,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
603
603
|
}>> & Readonly<{}>, FormInst & {
|
|
604
604
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
605
605
|
}, {}, {}, {}, {
|
|
606
|
-
readonly inline: boolean;
|
|
607
606
|
readonly disabled: boolean;
|
|
608
607
|
readonly onSubmit: (e: Event) => void;
|
|
608
|
+
readonly inline: boolean;
|
|
609
609
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
610
610
|
readonly model: Record<string, any>;
|
|
611
611
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -139,9 +139,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
139
139
|
}>> & Readonly<{}>, FormInst & {
|
|
140
140
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
141
141
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
142
|
-
readonly inline: boolean;
|
|
143
142
|
readonly disabled: boolean;
|
|
144
143
|
readonly onSubmit: (e: Event) => void;
|
|
144
|
+
readonly inline: boolean;
|
|
145
145
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
146
146
|
readonly model: Record<string, any>;
|
|
147
147
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -286,9 +286,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
286
286
|
}>> & Readonly<{}>, FormInst & {
|
|
287
287
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
288
288
|
}, {}, {}, {}, {
|
|
289
|
-
readonly inline: boolean;
|
|
290
289
|
readonly disabled: boolean;
|
|
291
290
|
readonly onSubmit: (e: Event) => void;
|
|
291
|
+
readonly inline: boolean;
|
|
292
292
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
293
293
|
readonly model: Record<string, any>;
|
|
294
294
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -137,9 +137,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
137
137
|
}>> & Readonly<{}>, FormInst & {
|
|
138
138
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
139
139
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
140
|
-
readonly inline: boolean;
|
|
141
140
|
readonly disabled: boolean;
|
|
142
141
|
readonly onSubmit: (e: Event) => void;
|
|
142
|
+
readonly inline: boolean;
|
|
143
143
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
144
144
|
readonly model: Record<string, any>;
|
|
145
145
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -284,9 +284,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
284
284
|
}>> & Readonly<{}>, FormInst & {
|
|
285
285
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
286
286
|
}, {}, {}, {}, {
|
|
287
|
-
readonly inline: boolean;
|
|
288
287
|
readonly disabled: boolean;
|
|
289
288
|
readonly onSubmit: (e: Event) => void;
|
|
289
|
+
readonly inline: boolean;
|
|
290
290
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
291
291
|
readonly model: Record<string, any>;
|
|
292
292
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -141,9 +141,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
141
141
|
}>> & Readonly<{}>, FormInst & {
|
|
142
142
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
143
143
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
144
|
-
readonly inline: boolean;
|
|
145
144
|
readonly disabled: boolean;
|
|
146
145
|
readonly onSubmit: (e: Event) => void;
|
|
146
|
+
readonly inline: boolean;
|
|
147
147
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
148
148
|
readonly model: Record<string, any>;
|
|
149
149
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -288,9 +288,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
288
288
|
}>> & Readonly<{}>, FormInst & {
|
|
289
289
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
290
290
|
}, {}, {}, {}, {
|
|
291
|
-
readonly inline: boolean;
|
|
292
291
|
readonly disabled: boolean;
|
|
293
292
|
readonly onSubmit: (e: Event) => void;
|
|
293
|
+
readonly inline: boolean;
|
|
294
294
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
295
295
|
readonly model: Record<string, any>;
|
|
296
296
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -137,9 +137,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
137
137
|
}>> & Readonly<{}>, FormInst & {
|
|
138
138
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
139
139
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
140
|
-
readonly inline: boolean;
|
|
141
140
|
readonly disabled: boolean;
|
|
142
141
|
readonly onSubmit: (e: Event) => void;
|
|
142
|
+
readonly inline: boolean;
|
|
143
143
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
144
144
|
readonly model: Record<string, any>;
|
|
145
145
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -284,9 +284,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
284
284
|
}>> & Readonly<{}>, FormInst & {
|
|
285
285
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
286
286
|
}, {}, {}, {}, {
|
|
287
|
-
readonly inline: boolean;
|
|
288
287
|
readonly disabled: boolean;
|
|
289
288
|
readonly onSubmit: (e: Event) => void;
|
|
289
|
+
readonly inline: boolean;
|
|
290
290
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
291
291
|
readonly model: Record<string, any>;
|
|
292
292
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -164,9 +164,9 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
164
164
|
}>> & Readonly<{}>, import('naive-ui').FormInst & {
|
|
165
165
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
166
166
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
167
|
-
readonly inline: boolean;
|
|
168
167
|
readonly disabled: boolean;
|
|
169
168
|
readonly onSubmit: (e: Event) => void;
|
|
169
|
+
readonly inline: boolean;
|
|
170
170
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
171
171
|
readonly model: Record<string, any>;
|
|
172
172
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -311,9 +311,9 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
311
311
|
}>> & Readonly<{}>, import('naive-ui').FormInst & {
|
|
312
312
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
313
313
|
}, {}, {}, {}, {
|
|
314
|
-
readonly inline: boolean;
|
|
315
314
|
readonly disabled: boolean;
|
|
316
315
|
readonly onSubmit: (e: Event) => void;
|
|
316
|
+
readonly inline: boolean;
|
|
317
317
|
readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
|
|
318
318
|
readonly model: Record<string, any>;
|
|
319
319
|
readonly showRequireMark: boolean | undefined;
|