@pitcher/js-api 1.24.0-rc.0 → 1.25.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/impact-js-api.spec.json +1 -1
- package/js-api.esm.js +17 -3
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +12 -0
- package/lib/apps/browser/stores/api.d.ts +2 -0
- package/lib/apps/browser/stores/app.d.ts +2 -0
- package/lib/apps/browser/stores/upload.d.ts +4 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +48 -0
- package/lib/apps/canvas-builder/components/container/AiPrompt/AiPromptModal.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/RestrictedSectionSelector.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListStrategySelector.vue.d.ts +7 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/composables/useAiPrompt.d.ts +6 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +110 -8
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -18
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +5 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +14 -1
- package/lib/apps/collection-player/App.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/moving-group-gestures.use.d.ts +5 -5
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -3
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +12 -0
- package/lib/apps/content-selector/stores/api.d.ts +2 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +6 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +303 -2
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +1 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -1
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CImage/CBrokenImage.vue.d.ts +4 -1
- package/lib/components/CImage/CImage.vue.d.ts +296 -1
- package/lib/components/CSearch/CSearchOnClickWithSuggestions.vue.d.ts +23 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +7 -0
- package/lib/components/CSwitch/CSwitch.vue.d.ts +10 -1
- package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +380 -10
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +184 -3
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +19 -0
- package/lib/components/filters/CSearchFilter.vue.d.ts +14 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +1 -1
- package/lib/composables/useCanvasLocks.d.ts +1 -0
- package/lib/composables/useCanvasOverlay.d.ts +13 -1
- package/lib/composables/useMetadataSearch.d.ts +19 -0
- package/lib/composables/useWindowEvents.d.ts +4 -3
- package/lib/constants/cdp.const.d.ts +2 -2
- package/lib/main.lib.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +0 -1
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +20 -0
- package/lib/sdk/api/modules/admin/index.d.ts +6 -0
- package/lib/sdk/api/modules/env.d.ts +1 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +20 -0
- package/lib/sdk/api/modules/ui/index.d.ts +6 -0
- package/lib/sdk/main.d.ts +30 -3
- package/lib/sdk/payload.types.d.ts +4 -0
- package/lib/sdk/utils/window.d.ts +1 -0
- package/lib/types/app.d.ts +3 -0
- package/lib/types/core/MetadataFilter.d.ts +32 -0
- package/lib/types/files.d.ts +3 -1
- package/lib/types/instanceSettings.types.d.ts +4 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/lib/types/recentFiles.types.d.ts +2 -1
- package/lib/types/search.d.ts +5 -0
- package/lib/util/anchor.d.ts +1 -1
- package/lib/util/image.d.ts +6 -0
- package/lib/util/tree-transformation.util.d.ts +0 -1
- package/lib/util/url.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileStatusEnum.d.ts +3 -1
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedUserRequest.d.ts +1 -1
- package/types/openapi/models/SearchResult.d.ts +1 -3
- package/types/openapi/models/SharedLink.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreate.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/User.d.ts +1 -1
- package/types/openapi/models/UserRequest.d.ts +1 -1
- package/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -10
- package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -10
|
@@ -1,10 +1,305 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
src?: string | null;
|
|
3
3
|
fallbackSrc?: string | null;
|
|
4
|
+
aiImgDescription?: string;
|
|
5
|
+
objectFit?: 'cover' | 'contain' | 'scale-down';
|
|
6
|
+
type?: 'default' | 'error';
|
|
4
7
|
};
|
|
5
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
9
|
error: () => any;
|
|
7
10
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
11
|
onError?: (() => any) | undefined;
|
|
9
|
-
}>, {
|
|
12
|
+
}>, {
|
|
13
|
+
type: "default" | "error";
|
|
14
|
+
objectFit: "cover" | "contain" | "scale-down";
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
imageRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
onPreviewPrev: import('vue').PropType<() => void>;
|
|
18
|
+
onPreviewNext: import('vue').PropType<() => void>;
|
|
19
|
+
showToolbar: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
showToolbarTooltip: BooleanConstructor;
|
|
24
|
+
renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
|
|
25
|
+
theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
26
|
+
toolbarIconColor: string;
|
|
27
|
+
toolbarColor: string;
|
|
28
|
+
toolbarBoxShadow: string;
|
|
29
|
+
toolbarBorderRadius: string;
|
|
30
|
+
}, {
|
|
31
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
32
|
+
borderRadius: string;
|
|
33
|
+
boxShadow: string;
|
|
34
|
+
color: string;
|
|
35
|
+
textColor: string;
|
|
36
|
+
padding: string;
|
|
37
|
+
}, {
|
|
38
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
39
|
+
fontSize: string;
|
|
40
|
+
borderRadius: string;
|
|
41
|
+
color: string;
|
|
42
|
+
dividerColor: string;
|
|
43
|
+
textColor: string;
|
|
44
|
+
boxShadow: string;
|
|
45
|
+
space: string;
|
|
46
|
+
spaceArrow: string;
|
|
47
|
+
arrowOffset: string;
|
|
48
|
+
arrowOffsetVertical: string;
|
|
49
|
+
arrowHeight: string;
|
|
50
|
+
padding: string;
|
|
51
|
+
}, any>;
|
|
52
|
+
}>;
|
|
53
|
+
}>>;
|
|
54
|
+
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
55
|
+
toolbarIconColor: string;
|
|
56
|
+
toolbarColor: string;
|
|
57
|
+
toolbarBoxShadow: string;
|
|
58
|
+
toolbarBorderRadius: string;
|
|
59
|
+
}, {
|
|
60
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
boxShadow: string;
|
|
63
|
+
color: string;
|
|
64
|
+
textColor: string;
|
|
65
|
+
padding: string;
|
|
66
|
+
}, {
|
|
67
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
68
|
+
fontSize: string;
|
|
69
|
+
borderRadius: string;
|
|
70
|
+
color: string;
|
|
71
|
+
dividerColor: string;
|
|
72
|
+
textColor: string;
|
|
73
|
+
boxShadow: string;
|
|
74
|
+
space: string;
|
|
75
|
+
spaceArrow: string;
|
|
76
|
+
arrowOffset: string;
|
|
77
|
+
arrowOffsetVertical: string;
|
|
78
|
+
arrowHeight: string;
|
|
79
|
+
padding: string;
|
|
80
|
+
}, any>;
|
|
81
|
+
}>;
|
|
82
|
+
}>>>;
|
|
83
|
+
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
84
|
+
toolbarIconColor: string;
|
|
85
|
+
toolbarColor: string;
|
|
86
|
+
toolbarBoxShadow: string;
|
|
87
|
+
toolbarBorderRadius: string;
|
|
88
|
+
}, {
|
|
89
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
90
|
+
borderRadius: string;
|
|
91
|
+
boxShadow: string;
|
|
92
|
+
color: string;
|
|
93
|
+
textColor: string;
|
|
94
|
+
padding: string;
|
|
95
|
+
}, {
|
|
96
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
97
|
+
fontSize: string;
|
|
98
|
+
borderRadius: string;
|
|
99
|
+
color: string;
|
|
100
|
+
dividerColor: string;
|
|
101
|
+
textColor: string;
|
|
102
|
+
boxShadow: string;
|
|
103
|
+
space: string;
|
|
104
|
+
spaceArrow: string;
|
|
105
|
+
arrowOffset: string;
|
|
106
|
+
arrowOffsetVertical: string;
|
|
107
|
+
arrowHeight: string;
|
|
108
|
+
padding: string;
|
|
109
|
+
}, any>;
|
|
110
|
+
}>;
|
|
111
|
+
}>>>;
|
|
112
|
+
alt: StringConstructor;
|
|
113
|
+
height: import('vue').PropType<string | number>;
|
|
114
|
+
imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
|
|
115
|
+
previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
|
|
116
|
+
lazy: BooleanConstructor;
|
|
117
|
+
intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
|
|
118
|
+
objectFit: {
|
|
119
|
+
type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
previewSrc: StringConstructor;
|
|
123
|
+
fallbackSrc: StringConstructor;
|
|
124
|
+
width: import('vue').PropType<string | number>;
|
|
125
|
+
src: StringConstructor;
|
|
126
|
+
previewDisabled: BooleanConstructor;
|
|
127
|
+
loadDescription: StringConstructor;
|
|
128
|
+
onError: import('vue').PropType<(e: Event) => void>;
|
|
129
|
+
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
130
|
+
}>> & Readonly<{}>, {
|
|
131
|
+
click: () => void;
|
|
132
|
+
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
133
|
+
groupId: string | undefined;
|
|
134
|
+
previewInstRef: import('vue').Ref<{
|
|
135
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
136
|
+
setPreviewSrc: (src?: string) => void;
|
|
137
|
+
toggleShow: () => void;
|
|
138
|
+
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
139
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
140
|
+
setPreviewSrc: (src?: string) => void;
|
|
141
|
+
toggleShow: () => void;
|
|
142
|
+
} | null>;
|
|
143
|
+
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
144
|
+
showError: import('vue').Ref<boolean, boolean>;
|
|
145
|
+
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
146
|
+
loaded: import('vue').Ref<boolean, boolean>;
|
|
147
|
+
mergedOnClick: (e: MouseEvent) => void;
|
|
148
|
+
mergedOnError: (e: Event) => void;
|
|
149
|
+
mergedOnLoad: (e: Event) => void;
|
|
150
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
151
|
+
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
152
|
+
lazy: boolean;
|
|
153
|
+
showToolbar: boolean;
|
|
154
|
+
showToolbarTooltip: boolean;
|
|
155
|
+
previewDisabled: boolean;
|
|
156
|
+
}, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
157
|
+
P: {};
|
|
158
|
+
B: {};
|
|
159
|
+
D: {};
|
|
160
|
+
C: {};
|
|
161
|
+
M: {};
|
|
162
|
+
Defaults: {};
|
|
163
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
164
|
+
onPreviewPrev: import('vue').PropType<() => void>;
|
|
165
|
+
onPreviewNext: import('vue').PropType<() => void>;
|
|
166
|
+
showToolbar: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
showToolbarTooltip: BooleanConstructor;
|
|
171
|
+
renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
|
|
172
|
+
theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
173
|
+
toolbarIconColor: string;
|
|
174
|
+
toolbarColor: string;
|
|
175
|
+
toolbarBoxShadow: string;
|
|
176
|
+
toolbarBorderRadius: string;
|
|
177
|
+
}, {
|
|
178
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
179
|
+
borderRadius: string;
|
|
180
|
+
boxShadow: string;
|
|
181
|
+
color: string;
|
|
182
|
+
textColor: string;
|
|
183
|
+
padding: string;
|
|
184
|
+
}, {
|
|
185
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
186
|
+
fontSize: string;
|
|
187
|
+
borderRadius: string;
|
|
188
|
+
color: string;
|
|
189
|
+
dividerColor: string;
|
|
190
|
+
textColor: string;
|
|
191
|
+
boxShadow: string;
|
|
192
|
+
space: string;
|
|
193
|
+
spaceArrow: string;
|
|
194
|
+
arrowOffset: string;
|
|
195
|
+
arrowOffsetVertical: string;
|
|
196
|
+
arrowHeight: string;
|
|
197
|
+
padding: string;
|
|
198
|
+
}, any>;
|
|
199
|
+
}>;
|
|
200
|
+
}>>;
|
|
201
|
+
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
202
|
+
toolbarIconColor: string;
|
|
203
|
+
toolbarColor: string;
|
|
204
|
+
toolbarBoxShadow: string;
|
|
205
|
+
toolbarBorderRadius: string;
|
|
206
|
+
}, {
|
|
207
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
208
|
+
borderRadius: string;
|
|
209
|
+
boxShadow: string;
|
|
210
|
+
color: string;
|
|
211
|
+
textColor: string;
|
|
212
|
+
padding: string;
|
|
213
|
+
}, {
|
|
214
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
215
|
+
fontSize: string;
|
|
216
|
+
borderRadius: string;
|
|
217
|
+
color: string;
|
|
218
|
+
dividerColor: string;
|
|
219
|
+
textColor: string;
|
|
220
|
+
boxShadow: string;
|
|
221
|
+
space: string;
|
|
222
|
+
spaceArrow: string;
|
|
223
|
+
arrowOffset: string;
|
|
224
|
+
arrowOffsetVertical: string;
|
|
225
|
+
arrowHeight: string;
|
|
226
|
+
padding: string;
|
|
227
|
+
}, any>;
|
|
228
|
+
}>;
|
|
229
|
+
}>>>;
|
|
230
|
+
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
231
|
+
toolbarIconColor: string;
|
|
232
|
+
toolbarColor: string;
|
|
233
|
+
toolbarBoxShadow: string;
|
|
234
|
+
toolbarBorderRadius: string;
|
|
235
|
+
}, {
|
|
236
|
+
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
237
|
+
borderRadius: string;
|
|
238
|
+
boxShadow: string;
|
|
239
|
+
color: string;
|
|
240
|
+
textColor: string;
|
|
241
|
+
padding: string;
|
|
242
|
+
}, {
|
|
243
|
+
Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
|
|
244
|
+
fontSize: string;
|
|
245
|
+
borderRadius: string;
|
|
246
|
+
color: string;
|
|
247
|
+
dividerColor: string;
|
|
248
|
+
textColor: string;
|
|
249
|
+
boxShadow: string;
|
|
250
|
+
space: string;
|
|
251
|
+
spaceArrow: string;
|
|
252
|
+
arrowOffset: string;
|
|
253
|
+
arrowOffsetVertical: string;
|
|
254
|
+
arrowHeight: string;
|
|
255
|
+
padding: string;
|
|
256
|
+
}, any>;
|
|
257
|
+
}>;
|
|
258
|
+
}>>>;
|
|
259
|
+
alt: StringConstructor;
|
|
260
|
+
height: import('vue').PropType<string | number>;
|
|
261
|
+
imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
|
|
262
|
+
previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
|
|
263
|
+
lazy: BooleanConstructor;
|
|
264
|
+
intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
|
|
265
|
+
objectFit: {
|
|
266
|
+
type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
previewSrc: StringConstructor;
|
|
270
|
+
fallbackSrc: StringConstructor;
|
|
271
|
+
width: import('vue').PropType<string | number>;
|
|
272
|
+
src: StringConstructor;
|
|
273
|
+
previewDisabled: BooleanConstructor;
|
|
274
|
+
loadDescription: StringConstructor;
|
|
275
|
+
onError: import('vue').PropType<(e: Event) => void>;
|
|
276
|
+
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
277
|
+
}>> & Readonly<{}>, {
|
|
278
|
+
click: () => void;
|
|
279
|
+
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
280
|
+
groupId: string | undefined;
|
|
281
|
+
previewInstRef: import('vue').Ref<{
|
|
282
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
283
|
+
setPreviewSrc: (src?: string) => void;
|
|
284
|
+
toggleShow: () => void;
|
|
285
|
+
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
286
|
+
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
287
|
+
setPreviewSrc: (src?: string) => void;
|
|
288
|
+
toggleShow: () => void;
|
|
289
|
+
} | null>;
|
|
290
|
+
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
291
|
+
showError: import('vue').Ref<boolean, boolean>;
|
|
292
|
+
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
293
|
+
loaded: import('vue').Ref<boolean, boolean>;
|
|
294
|
+
mergedOnClick: (e: MouseEvent) => void;
|
|
295
|
+
mergedOnError: (e: Event) => void;
|
|
296
|
+
mergedOnLoad: (e: Event) => void;
|
|
297
|
+
}, {}, {}, {}, {
|
|
298
|
+
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
299
|
+
lazy: boolean;
|
|
300
|
+
showToolbar: boolean;
|
|
301
|
+
showToolbarTooltip: boolean;
|
|
302
|
+
previewDisabled: boolean;
|
|
303
|
+
}> | null;
|
|
304
|
+
}, HTMLDivElement>;
|
|
10
305
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StyledAutoCompleteOption } from '../../types/search';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
initialSearchValue?: string;
|
|
7
|
+
suggestionsFetcher: (value: string) => Promise<StyledAutoCompleteOption[]>;
|
|
8
|
+
minSearchLength?: number;
|
|
9
|
+
};
|
|
10
|
+
declare function clear(): void;
|
|
11
|
+
declare function setValue(value: string): void;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
13
|
+
clear: typeof clear;
|
|
14
|
+
setValue: typeof setValue;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
search: (s: string) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
initialSearchValue: string;
|
|
21
|
+
minSearchLength: number;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
export default _default;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
2
2
|
import { SearchInOption } from './CSearchFilters.types';
|
|
3
|
+
import { MetadataFilterRequest } from '../../types/core/MetadataFilter';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
engagingIds?: string[];
|
|
7
|
+
entity: MetadataFilterRequest['entity'];
|
|
8
|
+
includeDraftValues?: boolean;
|
|
9
|
+
isSection?: MetadataFilterRequest['is_section'];
|
|
10
|
+
isTemplate?: MetadataFilterRequest['is_template'];
|
|
6
11
|
searchInOptions?: SearchInOption[];
|
|
7
12
|
filters?: Record<string, any>;
|
|
8
13
|
initialSearchValue?: string;
|
|
14
|
+
ownerId?: number | null;
|
|
9
15
|
placeholder?: string;
|
|
10
16
|
popularIds?: string[];
|
|
11
17
|
recommendedIds?: string[];
|
|
@@ -36,6 +42,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
36
42
|
filters: Record<string, any>;
|
|
37
43
|
placeholder: string;
|
|
38
44
|
initialSearchValue: string;
|
|
45
|
+
includeDraftValues: boolean;
|
|
39
46
|
engagingIds: string[];
|
|
40
47
|
popularIds: string[];
|
|
41
48
|
recommendedIds: string[];
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
checked: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
themeOverrides?: Record<string, any>;
|
|
5
|
+
};
|
|
1
6
|
declare function __VLS_template(): {
|
|
2
7
|
attrs: Partial<{}>;
|
|
3
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
@@ -5,7 +10,11 @@ declare function __VLS_template(): {
|
|
|
5
10
|
rootEl: any;
|
|
6
11
|
};
|
|
7
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
8
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
change: (value: boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
19
|
export default _default;
|
|
11
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
placeholder?: string;
|
|
9
9
|
valueClass?: string;
|
|
10
10
|
alwaysDisplayEditIcon?: boolean;
|
|
11
|
+
useFixedEditWidth?: boolean;
|
|
11
12
|
};
|
|
12
13
|
declare function __VLS_template(): {
|
|
13
14
|
attrs: Partial<{}>;
|
|
@@ -1066,6 +1067,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
1066
1067
|
}>, {
|
|
1067
1068
|
search: string;
|
|
1068
1069
|
state: State;
|
|
1070
|
+
useFixedEditWidth: boolean;
|
|
1069
1071
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
1070
1072
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1071
1073
|
bordered: {
|