@pitcher/canvas-ui 2026.1.8-234920-beta → 2026.1.9-124939-beta
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/canvas-ui.css +18 -18
- package/canvas-ui.js +499 -433
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -0
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -88219,15 +88219,14 @@ async function crmQueryAdaptive(payload) {
|
|
|
88219
88219
|
} catch {
|
|
88220
88220
|
useSmartStore = false;
|
|
88221
88221
|
}
|
|
88222
|
-
console.log(`
|
|
88222
|
+
console.log(`crmQueryAdaptive called with the query: `, query2);
|
|
88223
88223
|
if (useSmartStore) {
|
|
88224
88224
|
const fields = extractFieldsFromSoql(query2);
|
|
88225
88225
|
const objectName = extractObjectFromSoql(query2);
|
|
88226
88226
|
const smartQuery = convertSoqlToSmartQuery(query2);
|
|
88227
|
-
console.log(`
|
|
88227
|
+
console.log(`Smart Query: `, smartQuery);
|
|
88228
88228
|
const smartStoreResults = await crmSmartQuery({ query: smartQuery });
|
|
88229
88229
|
const records = transformSmartStoreResults(smartStoreResults, fields, objectName);
|
|
88230
|
-
console.log(`[SmartStore] Results: `, records);
|
|
88231
88230
|
return {
|
|
88232
88231
|
records,
|
|
88233
88232
|
totalSize: records.length
|
|
@@ -94087,6 +94086,391 @@ function useContentSelector() {
|
|
|
94087
94086
|
};
|
|
94088
94087
|
}
|
|
94089
94088
|
|
|
94089
|
+
const generateNewCollection$2 = (t) => ({
|
|
94090
|
+
name: t("canvasUI.collectionSelector.defaultNewCollectionName"),
|
|
94091
|
+
groups: [],
|
|
94092
|
+
hide_footer: false
|
|
94093
|
+
});
|
|
94094
|
+
const generateNewCollectionStructure = () => ({ name: "", groups: [] });
|
|
94095
|
+
const getUniqueSlides = (uniqueSlides, newSlides) => [
|
|
94096
|
+
...uniqueSlides,
|
|
94097
|
+
...newSlides.filter(
|
|
94098
|
+
(newSlide) => !uniqueSlides.some(
|
|
94099
|
+
(uniqueSlide) => newSlide.type === "slide" && uniqueSlide.type === "slide" && uniqueSlide.file.id === newSlide.file.id && uniqueSlide.slide.index === newSlide.slide.index
|
|
94100
|
+
)
|
|
94101
|
+
)
|
|
94102
|
+
];
|
|
94103
|
+
|
|
94104
|
+
const getDefaultNewGroupName$1 = (t) => t("canvasUI.collectionSelector.defaultNewGroupName");
|
|
94105
|
+
const getDefaultGroupName$1 = (t) => t("canvasUI.collectionSelector.defaultGroupName");
|
|
94106
|
+
const getDefaultCollectionName = (t) => t("canvasUI.collectionSelector.defaultCollectionName");
|
|
94107
|
+
const generateNewEmptyGroup$2 = (t) => ({
|
|
94108
|
+
id: v4(),
|
|
94109
|
+
name: getDefaultNewGroupName$1(t),
|
|
94110
|
+
slides: []
|
|
94111
|
+
});
|
|
94112
|
+
const generateNewCollection$1 = (t) => ({
|
|
94113
|
+
name: t("canvasUI.collectionSelector.defaultNewCollectionName"),
|
|
94114
|
+
groups: [generateNewEmptyGroup$2(t)]
|
|
94115
|
+
});
|
|
94116
|
+
const generateNewCollectionSlide = (payload) => ({
|
|
94117
|
+
...payload,
|
|
94118
|
+
id: v4(),
|
|
94119
|
+
type: "slide"
|
|
94120
|
+
});
|
|
94121
|
+
const generateNewCollectionFile = (file) => ({
|
|
94122
|
+
id: v4(),
|
|
94123
|
+
type: "file",
|
|
94124
|
+
file
|
|
94125
|
+
});
|
|
94126
|
+
const getUniqueFilesCount = (data) => {
|
|
94127
|
+
const fileIds = data.groups.flatMap(
|
|
94128
|
+
(group) => group.slides.map((slide) => {
|
|
94129
|
+
if (slide.file?.id) {
|
|
94130
|
+
return slide.file.id;
|
|
94131
|
+
} else if (slide.file_id) {
|
|
94132
|
+
return slide.file_id;
|
|
94133
|
+
}
|
|
94134
|
+
return null;
|
|
94135
|
+
}).filter(Boolean)
|
|
94136
|
+
);
|
|
94137
|
+
return new Set(fileIds).size;
|
|
94138
|
+
};
|
|
94139
|
+
const getGroupsCount = (data) => data.groups.length;
|
|
94140
|
+
const getSlidesCount = (data) => data.groups.reduce((acc, group) => acc + group.slides.length, 0);
|
|
94141
|
+
|
|
94142
|
+
function parsePptxFileToCollectionPlayer(t, _file) {
|
|
94143
|
+
const metadataSections = _file?.metadata?.pptx_data?.sections ?? [];
|
|
94144
|
+
const sections = metadataSections.length || _file.content_thumbnails.length === 0 ? metadataSections : [{ start: 0, end: _file.content_thumbnails.length - 1, name: null }];
|
|
94145
|
+
const sectionGroups = sections.map((section) => ({
|
|
94146
|
+
name: section.name ?? (_file.name || getDefaultGroupName$1(t)),
|
|
94147
|
+
slides: _file.content_thumbnails.slice(section.start, section.end + 1).map((url, index) => ({ url, index: section.start + index }))
|
|
94148
|
+
}));
|
|
94149
|
+
const file = {
|
|
94150
|
+
id: _file.id,
|
|
94151
|
+
pspdfkit_auth_payload: _file.pspdfkit_auth_payload,
|
|
94152
|
+
pspdfkit_document_id: _file.pspdfkit_document_id,
|
|
94153
|
+
pspdfkit_server_url: _file.pspdfkit_server_url,
|
|
94154
|
+
content_type: _file.content_type,
|
|
94155
|
+
content_url: _file.content_url,
|
|
94156
|
+
permissions: _file.permissions,
|
|
94157
|
+
thumbnail_url: _file.thumbnail_url ?? null,
|
|
94158
|
+
name: _file.name,
|
|
94159
|
+
type: _file.type,
|
|
94160
|
+
metadata: _file.metadata
|
|
94161
|
+
};
|
|
94162
|
+
return {
|
|
94163
|
+
name: file.name ?? getDefaultGroupName$1(t),
|
|
94164
|
+
groups: sectionGroups.map((section) => ({
|
|
94165
|
+
...generateNewEmptyGroup$2(t),
|
|
94166
|
+
name: section.name,
|
|
94167
|
+
slides: section.slides.map(
|
|
94168
|
+
(slide) => generateNewCollectionSlide({
|
|
94169
|
+
file,
|
|
94170
|
+
slide
|
|
94171
|
+
})
|
|
94172
|
+
)
|
|
94173
|
+
}))
|
|
94174
|
+
};
|
|
94175
|
+
}
|
|
94176
|
+
function parsePdfFileToCollectionPlayer(t, file) {
|
|
94177
|
+
const slides = file.content_thumbnails.map(
|
|
94178
|
+
(url, index) => generateNewCollectionSlide({
|
|
94179
|
+
file: {
|
|
94180
|
+
id: file.id,
|
|
94181
|
+
pspdfkit_auth_payload: file.pspdfkit_auth_payload,
|
|
94182
|
+
pspdfkit_document_id: file.pspdfkit_document_id,
|
|
94183
|
+
pspdfkit_server_url: file.pspdfkit_server_url,
|
|
94184
|
+
content_type: file.content_type,
|
|
94185
|
+
content_url: file.content_url,
|
|
94186
|
+
permissions: file.permissions,
|
|
94187
|
+
thumbnail_url: file.thumbnail_url ?? null,
|
|
94188
|
+
name: file.name,
|
|
94189
|
+
type: file.type,
|
|
94190
|
+
metadata: file.metadata
|
|
94191
|
+
},
|
|
94192
|
+
slide: {
|
|
94193
|
+
index,
|
|
94194
|
+
url
|
|
94195
|
+
}
|
|
94196
|
+
})
|
|
94197
|
+
);
|
|
94198
|
+
return {
|
|
94199
|
+
name: file.name ?? getDefaultCollectionName(t),
|
|
94200
|
+
groups: [
|
|
94201
|
+
{
|
|
94202
|
+
...generateNewEmptyGroup$2(t),
|
|
94203
|
+
name: file.name ?? getDefaultGroupName$1(t),
|
|
94204
|
+
slides
|
|
94205
|
+
}
|
|
94206
|
+
]
|
|
94207
|
+
};
|
|
94208
|
+
}
|
|
94209
|
+
function parseFileToCollectionPlayer(t, file) {
|
|
94210
|
+
if (file.content_type === "pdf") {
|
|
94211
|
+
if (file.original_extension === "pptx" || file.metadata?.pptx_data?.sections?.length) {
|
|
94212
|
+
return parsePptxFileToCollectionPlayer(t, file);
|
|
94213
|
+
}
|
|
94214
|
+
return parsePdfFileToCollectionPlayer(t, file);
|
|
94215
|
+
}
|
|
94216
|
+
return {
|
|
94217
|
+
name: file.name ?? getDefaultCollectionName(t),
|
|
94218
|
+
groups: [
|
|
94219
|
+
{
|
|
94220
|
+
...generateNewEmptyGroup$2(t),
|
|
94221
|
+
name: file.name ?? getDefaultGroupName$1(t),
|
|
94222
|
+
slides: [
|
|
94223
|
+
generateNewCollectionFile({
|
|
94224
|
+
id: file.id,
|
|
94225
|
+
pspdfkit_auth_payload: file.pspdfkit_auth_payload,
|
|
94226
|
+
pspdfkit_document_id: file.pspdfkit_document_id,
|
|
94227
|
+
pspdfkit_server_url: file.pspdfkit_server_url,
|
|
94228
|
+
content_type: file.content_type,
|
|
94229
|
+
content_url: file.content_url,
|
|
94230
|
+
permissions: file.permissions,
|
|
94231
|
+
thumbnail_url: file.thumbnail_url ?? null,
|
|
94232
|
+
name: file.name,
|
|
94233
|
+
type: file.type,
|
|
94234
|
+
metadata: file.metadata
|
|
94235
|
+
})
|
|
94236
|
+
]
|
|
94237
|
+
}
|
|
94238
|
+
]
|
|
94239
|
+
};
|
|
94240
|
+
}
|
|
94241
|
+
function parseContentSelectorToCollectionPlayerSlides({
|
|
94242
|
+
selectedItems,
|
|
94243
|
+
filesById
|
|
94244
|
+
}) {
|
|
94245
|
+
return selectedItems.reduce((acc, item) => {
|
|
94246
|
+
if (item.type === "file") {
|
|
94247
|
+
if (filesById[item.id].content_type === "pdf") {
|
|
94248
|
+
const pages = filesById[item.id].content_thumbnails.map(
|
|
94249
|
+
(contentThumbnail, index) => generateNewCollectionSlide({
|
|
94250
|
+
file: {
|
|
94251
|
+
id: item.id,
|
|
94252
|
+
pspdfkit_auth_payload: filesById[item.id].pspdfkit_auth_payload,
|
|
94253
|
+
pspdfkit_document_id: filesById[item.id].pspdfkit_document_id,
|
|
94254
|
+
pspdfkit_server_url: filesById[item.id].pspdfkit_server_url,
|
|
94255
|
+
content_type: filesById[item.id].content_type,
|
|
94256
|
+
content_url: filesById[item.id].content_url,
|
|
94257
|
+
permissions: item.permissions,
|
|
94258
|
+
thumbnail_url: item.thumbnail_url ?? null,
|
|
94259
|
+
name: item.name,
|
|
94260
|
+
type: filesById[item.id].type,
|
|
94261
|
+
metadata: item.metadata
|
|
94262
|
+
},
|
|
94263
|
+
slide: {
|
|
94264
|
+
index,
|
|
94265
|
+
url: contentThumbnail
|
|
94266
|
+
}
|
|
94267
|
+
})
|
|
94268
|
+
);
|
|
94269
|
+
return getUniqueSlides(acc, pages);
|
|
94270
|
+
}
|
|
94271
|
+
return [
|
|
94272
|
+
...acc,
|
|
94273
|
+
generateNewCollectionFile({
|
|
94274
|
+
id: item.id,
|
|
94275
|
+
pspdfkit_auth_payload: filesById[item.id].pspdfkit_auth_payload,
|
|
94276
|
+
pspdfkit_document_id: filesById[item.id].pspdfkit_document_id,
|
|
94277
|
+
pspdfkit_server_url: filesById[item.id].pspdfkit_server_url,
|
|
94278
|
+
content_type: filesById[item.id].content_type,
|
|
94279
|
+
content_url: filesById[item.id].content_url,
|
|
94280
|
+
permissions: item.permissions,
|
|
94281
|
+
thumbnail_url: filesById[item.id].thumbnail_url,
|
|
94282
|
+
name: item.name,
|
|
94283
|
+
type: filesById[item.id].type,
|
|
94284
|
+
metadata: item.metadata
|
|
94285
|
+
})
|
|
94286
|
+
];
|
|
94287
|
+
}
|
|
94288
|
+
return getUniqueSlides(acc, [
|
|
94289
|
+
generateNewCollectionSlide({
|
|
94290
|
+
file: {
|
|
94291
|
+
id: item.file.id,
|
|
94292
|
+
pspdfkit_auth_payload: filesById[item.file.id].pspdfkit_auth_payload,
|
|
94293
|
+
pspdfkit_document_id: filesById[item.file.id].pspdfkit_document_id,
|
|
94294
|
+
pspdfkit_server_url: filesById[item.file.id].pspdfkit_server_url,
|
|
94295
|
+
content_type: filesById[item.file.id].content_type,
|
|
94296
|
+
content_url: filesById[item.file.id].content_url,
|
|
94297
|
+
permissions: item.permissions,
|
|
94298
|
+
thumbnail_url: item.thumbnail_url ?? null,
|
|
94299
|
+
name: item.file.name,
|
|
94300
|
+
type: filesById[item.file.id].type,
|
|
94301
|
+
metadata: filesById[item.file.id].metadata
|
|
94302
|
+
},
|
|
94303
|
+
slide: {
|
|
94304
|
+
index: item.page_index,
|
|
94305
|
+
url: item.thumbnail_url ?? null
|
|
94306
|
+
}
|
|
94307
|
+
})
|
|
94308
|
+
]);
|
|
94309
|
+
}, []);
|
|
94310
|
+
}
|
|
94311
|
+
function parseCollectionPlayerSlidesToContentSelector(slides) {
|
|
94312
|
+
if (!slides?.length) return [];
|
|
94313
|
+
return slides.reduce((acc, item) => {
|
|
94314
|
+
let selection = null;
|
|
94315
|
+
if ("file_id" in item) {
|
|
94316
|
+
const v2Item = item;
|
|
94317
|
+
if (!v2Item.file_id) {
|
|
94318
|
+
return acc;
|
|
94319
|
+
}
|
|
94320
|
+
if (typeof v2Item.index === "number") {
|
|
94321
|
+
selection = {
|
|
94322
|
+
fileId: v2Item.file_id,
|
|
94323
|
+
type: "page",
|
|
94324
|
+
pageIndex: v2Item.index
|
|
94325
|
+
};
|
|
94326
|
+
} else {
|
|
94327
|
+
selection = {
|
|
94328
|
+
fileId: v2Item.file_id,
|
|
94329
|
+
type: "file"
|
|
94330
|
+
};
|
|
94331
|
+
}
|
|
94332
|
+
} else {
|
|
94333
|
+
const v1Item = item;
|
|
94334
|
+
const fileId = v1Item.file?.id;
|
|
94335
|
+
if (!fileId) {
|
|
94336
|
+
return acc;
|
|
94337
|
+
}
|
|
94338
|
+
if (v1Item.type === "slide") {
|
|
94339
|
+
selection = {
|
|
94340
|
+
fileId,
|
|
94341
|
+
type: "page",
|
|
94342
|
+
pageIndex: v1Item.slide.index
|
|
94343
|
+
};
|
|
94344
|
+
} else {
|
|
94345
|
+
selection = {
|
|
94346
|
+
fileId,
|
|
94347
|
+
type: "file"
|
|
94348
|
+
};
|
|
94349
|
+
}
|
|
94350
|
+
}
|
|
94351
|
+
return [...acc, selection];
|
|
94352
|
+
}, []);
|
|
94353
|
+
}
|
|
94354
|
+
function transformFilesToCollectionPlayer(t, filesData, name = "Collection") {
|
|
94355
|
+
if (!Array.isArray(filesData)) {
|
|
94356
|
+
throw new Error("Expected an array of files");
|
|
94357
|
+
}
|
|
94358
|
+
const groups = filesData.reduce((acc, fileData, index) => {
|
|
94359
|
+
try {
|
|
94360
|
+
const fileId = fileData.id;
|
|
94361
|
+
const fileName = fileData.name || `File ${index + 1}`;
|
|
94362
|
+
const selectedPages = fileData.selectedPages;
|
|
94363
|
+
if (!fileId) {
|
|
94364
|
+
return acc;
|
|
94365
|
+
}
|
|
94366
|
+
let slidesToCreate = [];
|
|
94367
|
+
if (selectedPages && Array.isArray(selectedPages) && selectedPages.length > 0) {
|
|
94368
|
+
slidesToCreate = selectedPages.map((pageIndex) => ({
|
|
94369
|
+
id: `${fileId}-slide-${pageIndex}`,
|
|
94370
|
+
file_id: fileId,
|
|
94371
|
+
index: pageIndex
|
|
94372
|
+
}));
|
|
94373
|
+
} else {
|
|
94374
|
+
slidesToCreate = [
|
|
94375
|
+
{
|
|
94376
|
+
id: `${fileId}-file`,
|
|
94377
|
+
file_id: fileId,
|
|
94378
|
+
index: void 0
|
|
94379
|
+
// undefined means entire file, not a specific page
|
|
94380
|
+
}
|
|
94381
|
+
];
|
|
94382
|
+
}
|
|
94383
|
+
acc.push({
|
|
94384
|
+
id: `group-${fileId}`,
|
|
94385
|
+
name: fileName,
|
|
94386
|
+
slides: slidesToCreate
|
|
94387
|
+
});
|
|
94388
|
+
return acc;
|
|
94389
|
+
} catch (error) {
|
|
94390
|
+
return acc;
|
|
94391
|
+
}
|
|
94392
|
+
}, []);
|
|
94393
|
+
return {
|
|
94394
|
+
name,
|
|
94395
|
+
groups
|
|
94396
|
+
};
|
|
94397
|
+
}
|
|
94398
|
+
function transformFilesToContentGrid(filesData) {
|
|
94399
|
+
if (!Array.isArray(filesData)) {
|
|
94400
|
+
throw new Error("Expected an array of files");
|
|
94401
|
+
}
|
|
94402
|
+
const items = filesData.reduce((acc, fileData) => {
|
|
94403
|
+
try {
|
|
94404
|
+
const fileId = fileData.id;
|
|
94405
|
+
const selectedPages = fileData.selectedPages;
|
|
94406
|
+
if (!fileId) {
|
|
94407
|
+
return acc;
|
|
94408
|
+
}
|
|
94409
|
+
let itemsToCreate = [];
|
|
94410
|
+
if (selectedPages && Array.isArray(selectedPages) && selectedPages.length > 0) {
|
|
94411
|
+
itemsToCreate = selectedPages.map((pageIndex) => ({
|
|
94412
|
+
file: {
|
|
94413
|
+
id: fileId,
|
|
94414
|
+
// ContentGrid will resolve these properties via data accessor or file resolution
|
|
94415
|
+
name: fileData.name || `File ${fileId}`,
|
|
94416
|
+
permissions: void 0,
|
|
94417
|
+
// Will be resolved
|
|
94418
|
+
tags: void 0,
|
|
94419
|
+
// Will be resolved
|
|
94420
|
+
content_url: void 0,
|
|
94421
|
+
// Will be resolved
|
|
94422
|
+
content_type: void 0,
|
|
94423
|
+
// Will be resolved
|
|
94424
|
+
content_extension: void 0,
|
|
94425
|
+
// Will be resolved
|
|
94426
|
+
expires_at: void 0
|
|
94427
|
+
// Will be resolved
|
|
94428
|
+
},
|
|
94429
|
+
slide: {
|
|
94430
|
+
index: pageIndex,
|
|
94431
|
+
url: void 0
|
|
94432
|
+
// Will be resolved from content_thumbnails
|
|
94433
|
+
},
|
|
94434
|
+
type: "slide"
|
|
94435
|
+
}));
|
|
94436
|
+
} else {
|
|
94437
|
+
itemsToCreate = [
|
|
94438
|
+
{
|
|
94439
|
+
file: {
|
|
94440
|
+
id: fileId,
|
|
94441
|
+
// ContentGrid will resolve these properties via data accessor or file resolution
|
|
94442
|
+
name: fileData.name || `File ${fileId}`,
|
|
94443
|
+
thumbnail_url: null,
|
|
94444
|
+
// Will be resolved
|
|
94445
|
+
content_thumbnails: null,
|
|
94446
|
+
// Will be resolved
|
|
94447
|
+
content_url: null,
|
|
94448
|
+
// Will be resolved - required for ContentGridFileProps but can be null
|
|
94449
|
+
content_type: null,
|
|
94450
|
+
// Will be resolved - required for ContentGridFileProps
|
|
94451
|
+
content_extension: null,
|
|
94452
|
+
// Will be resolved - required for ContentGridFileProps
|
|
94453
|
+
content_length: void 0,
|
|
94454
|
+
// Will be resolved
|
|
94455
|
+
permissions: void 0,
|
|
94456
|
+
// Will be resolved
|
|
94457
|
+
expires_at: void 0,
|
|
94458
|
+
// Will be resolved
|
|
94459
|
+
tags: void 0
|
|
94460
|
+
// Will be resolved
|
|
94461
|
+
},
|
|
94462
|
+
type: "file"
|
|
94463
|
+
}
|
|
94464
|
+
];
|
|
94465
|
+
}
|
|
94466
|
+
return [...acc, ...itemsToCreate];
|
|
94467
|
+
} catch (error) {
|
|
94468
|
+
return acc;
|
|
94469
|
+
}
|
|
94470
|
+
}, []);
|
|
94471
|
+
return { items };
|
|
94472
|
+
}
|
|
94473
|
+
|
|
94090
94474
|
function createNodeId(type) {
|
|
94091
94475
|
return `${type || "UnknownType"}-${v4()}`;
|
|
94092
94476
|
}
|
|
@@ -94685,6 +95069,81 @@ function findFirstEmptyContentGridNode(nodes) {
|
|
|
94685
95069
|
}
|
|
94686
95070
|
return null;
|
|
94687
95071
|
}
|
|
95072
|
+
function findShareboxTargetCollectionPlayerNode(nodes) {
|
|
95073
|
+
for (const node of nodes) {
|
|
95074
|
+
if (node.type === ComponentTypes.CollectionPlayer && node.is_sharebox_target) {
|
|
95075
|
+
return node;
|
|
95076
|
+
}
|
|
95077
|
+
if (node.children) {
|
|
95078
|
+
const found = findShareboxTargetCollectionPlayerNode(node.children);
|
|
95079
|
+
if (found) {
|
|
95080
|
+
return found;
|
|
95081
|
+
}
|
|
95082
|
+
}
|
|
95083
|
+
}
|
|
95084
|
+
return null;
|
|
95085
|
+
}
|
|
95086
|
+
function findFirstEmptyCollectionPlayerNode(nodes) {
|
|
95087
|
+
for (const node of nodes) {
|
|
95088
|
+
if (node.type === ComponentTypes.CollectionPlayer) {
|
|
95089
|
+
const data = node.data;
|
|
95090
|
+
const hasContent = data?.groups?.some((g) => g.slides?.length > 0);
|
|
95091
|
+
if (!hasContent) {
|
|
95092
|
+
return node;
|
|
95093
|
+
}
|
|
95094
|
+
}
|
|
95095
|
+
if (node.children) {
|
|
95096
|
+
const found = findFirstEmptyCollectionPlayerNode(node.children);
|
|
95097
|
+
if (found) {
|
|
95098
|
+
return found;
|
|
95099
|
+
}
|
|
95100
|
+
}
|
|
95101
|
+
}
|
|
95102
|
+
return null;
|
|
95103
|
+
}
|
|
95104
|
+
function updateFirstCollectionPlayerWithShareboxItems(canvasContent, selectedItems, filesById) {
|
|
95105
|
+
let content = simpleDeepClone(canvasContent);
|
|
95106
|
+
let collectionPlayerNode = findShareboxTargetCollectionPlayerNode(content);
|
|
95107
|
+
if (!collectionPlayerNode) {
|
|
95108
|
+
collectionPlayerNode = findFirstEmptyCollectionPlayerNode(content);
|
|
95109
|
+
}
|
|
95110
|
+
if (!collectionPlayerNode) {
|
|
95111
|
+
console.info("No CollectionPlayer component found in the canvas content. Creating one...");
|
|
95112
|
+
const { newContent } = addCanvasComponent(canvasContent, {
|
|
95113
|
+
type: ComponentTypes.CollectionPlayer
|
|
95114
|
+
});
|
|
95115
|
+
content = newContent;
|
|
95116
|
+
collectionPlayerNode = findFirstEmptyCollectionPlayerNode(content);
|
|
95117
|
+
}
|
|
95118
|
+
if (!collectionPlayerNode) {
|
|
95119
|
+
console.error("Could not find or create a CollectionPlayer component in the canvas content");
|
|
95120
|
+
return content;
|
|
95121
|
+
}
|
|
95122
|
+
const data = prepareCollectionPlayerNodeData({ node: collectionPlayerNode, filesById, selectedItems });
|
|
95123
|
+
collectionPlayerNode.data = data;
|
|
95124
|
+
return content;
|
|
95125
|
+
}
|
|
95126
|
+
function prepareCollectionPlayerNodeData({
|
|
95127
|
+
selectedItems,
|
|
95128
|
+
filesById,
|
|
95129
|
+
node
|
|
95130
|
+
}) {
|
|
95131
|
+
const slides = parseContentSelectorToCollectionPlayerSlides({ selectedItems, filesById });
|
|
95132
|
+
const group = {
|
|
95133
|
+
id: v4(),
|
|
95134
|
+
name: "Shared Content",
|
|
95135
|
+
slides: slides.map((slide) => ({
|
|
95136
|
+
id: v4(),
|
|
95137
|
+
file_id: slide.file.id,
|
|
95138
|
+
index: slide.type === "slide" ? slide.slide.index : void 0
|
|
95139
|
+
}))
|
|
95140
|
+
};
|
|
95141
|
+
return {
|
|
95142
|
+
...node?.data ?? {},
|
|
95143
|
+
name: "Sharebox Collection",
|
|
95144
|
+
groups: [group]
|
|
95145
|
+
};
|
|
95146
|
+
}
|
|
94688
95147
|
function isMultimediaDataWithTheme(obj, value) {
|
|
94689
95148
|
return obj && obj.type === "Multimedia" && obj.theme_meta && typeof value === "object" && value !== null;
|
|
94690
95149
|
}
|
|
@@ -95892,8 +96351,8 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
95892
96351
|
}
|
|
95893
96352
|
const emIndex = highlightValue.indexOf("<em>");
|
|
95894
96353
|
if (emIndex === -1) return "";
|
|
95895
|
-
const startChar = Math.max(0, emIndex -
|
|
95896
|
-
const endChar = Math.min(highlightValue.length, emIndex +
|
|
96354
|
+
const startChar = Math.max(0, emIndex - 75);
|
|
96355
|
+
const endChar = Math.min(highlightValue.length, emIndex + 125);
|
|
95897
96356
|
let truncated = highlightValue.substring(startChar, endChar);
|
|
95898
96357
|
if (startChar > 0) truncated = "..." + truncated;
|
|
95899
96358
|
if (endChar < highlightValue.length) truncated = truncated + "...";
|
|
@@ -96094,7 +96553,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96094
96553
|
show: "",
|
|
96095
96554
|
verticalAlignment: "top",
|
|
96096
96555
|
"z-index": _ctx.zIndex,
|
|
96097
|
-
"onUpdate:show": _cache[
|
|
96556
|
+
"onUpdate:show": _cache[15] || (_cache[15] = ($event) => emit("toggleSearch", $event))
|
|
96098
96557
|
}, {
|
|
96099
96558
|
default: withCtx(() => [
|
|
96100
96559
|
createElementVNode("div", {
|
|
@@ -96103,7 +96562,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96103
96562
|
}, [
|
|
96104
96563
|
createElementVNode("div", _hoisted_1$4w, [
|
|
96105
96564
|
createElementVNode("div", _hoisted_2$3j, [
|
|
96106
|
-
_cache[
|
|
96565
|
+
_cache[16] || (_cache[16] = createElementVNode("div", { class: "absolute left-2.5 top-1/2 transform -translate-y-1/2 z-10" }, [
|
|
96107
96566
|
createElementVNode("i", { class: "c-icon far fa-search text-gray-400 text-l" })
|
|
96108
96567
|
], -1)),
|
|
96109
96568
|
withDirectives(createElementVNode("input", {
|
|
@@ -96209,7 +96668,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96209
96668
|
show: showFileTypeDropdown.value,
|
|
96210
96669
|
"show-arrow": false,
|
|
96211
96670
|
trigger: "manual",
|
|
96212
|
-
onClickoutside: _cache[
|
|
96671
|
+
onClickoutside: _cache[7] || (_cache[7] = ($event) => showFileTypeDropdown.value = false)
|
|
96213
96672
|
}, {
|
|
96214
96673
|
trigger: withCtx(() => [
|
|
96215
96674
|
createVNode(unref(NTag), {
|
|
@@ -96222,20 +96681,12 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96222
96681
|
themeOverrides: {
|
|
96223
96682
|
borderRadius: "4px"
|
|
96224
96683
|
},
|
|
96225
|
-
onClick: _cache[
|
|
96684
|
+
onClick: _cache[6] || (_cache[6] = ($event) => showFileTypeDropdown.value = !showFileTypeDropdown.value)
|
|
96226
96685
|
}, {
|
|
96227
96686
|
default: withCtx(() => [
|
|
96228
96687
|
createElementVNode("div", _hoisted_10$C, [
|
|
96229
96688
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.filters.type")), 1),
|
|
96230
|
-
selectedFileTypes.value.length ? (openBlock(), createElementBlock("span", _hoisted_11$x, ": " + toDisplayString(selectedFileTypes.value.length), 1)) : createCommentVNode("", true)
|
|
96231
|
-
selectedFileTypes.value.length ? (openBlock(), createBlock(CIcon, {
|
|
96232
|
-
key: 1,
|
|
96233
|
-
class: "ml-1",
|
|
96234
|
-
color: "var(--p-primary2)",
|
|
96235
|
-
icon: "xmark",
|
|
96236
|
-
size: "12",
|
|
96237
|
-
onClick: _cache[6] || (_cache[6] = withModifiers(($event) => selectedFileTypes.value = [], ["stop"]))
|
|
96238
|
-
})) : createCommentVNode("", true)
|
|
96689
|
+
selectedFileTypes.value.length ? (openBlock(), createElementBlock("span", _hoisted_11$x, ": " + toDisplayString(selectedFileTypes.value.length), 1)) : createCommentVNode("", true)
|
|
96239
96690
|
])
|
|
96240
96691
|
]),
|
|
96241
96692
|
_: 1
|
|
@@ -96284,7 +96735,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96284
96735
|
_: 1
|
|
96285
96736
|
}, 8, ["show"]),
|
|
96286
96737
|
hasActiveFilters.value ? (openBlock(), createElementBlock("div", _hoisted_14$h, [
|
|
96287
|
-
_cache[
|
|
96738
|
+
_cache[17] || (_cache[17] = createElementVNode("div", { class: "h-6 w-px bg-gray-300 mx-2" }, null, -1)),
|
|
96288
96739
|
createElementVNode("span", {
|
|
96289
96740
|
class: "text-sm text-gray-600 hover:text-gray-800 font-normal cursor-pointer",
|
|
96290
96741
|
onClick: clearAllFilters
|
|
@@ -96302,7 +96753,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96302
96753
|
themeOverrides: {
|
|
96303
96754
|
borderRadius: "4px"
|
|
96304
96755
|
},
|
|
96305
|
-
onClick: _cache[
|
|
96756
|
+
onClick: _cache[8] || (_cache[8] = ($event) => toggleCanvasFilter("saved_canvas"))
|
|
96306
96757
|
}, {
|
|
96307
96758
|
default: withCtx(() => [
|
|
96308
96759
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.saved")), 1)
|
|
@@ -96319,7 +96770,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96319
96770
|
themeOverrides: {
|
|
96320
96771
|
borderRadius: "4px"
|
|
96321
96772
|
},
|
|
96322
|
-
onClick: _cache[
|
|
96773
|
+
onClick: _cache[9] || (_cache[9] = ($event) => toggleCanvasFilter("template"))
|
|
96323
96774
|
}, {
|
|
96324
96775
|
default: withCtx(() => [
|
|
96325
96776
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.templates")), 1)
|
|
@@ -96337,7 +96788,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96337
96788
|
themeOverrides: {
|
|
96338
96789
|
borderRadius: "4px"
|
|
96339
96790
|
},
|
|
96340
|
-
onClick: _cache[
|
|
96791
|
+
onClick: _cache[10] || (_cache[10] = ($event) => toggleCanvasFilter("product_template"))
|
|
96341
96792
|
}, {
|
|
96342
96793
|
default: withCtx(() => [
|
|
96343
96794
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.productTemplates")), 1)
|
|
@@ -96354,7 +96805,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96354
96805
|
themeOverrides: {
|
|
96355
96806
|
borderRadius: "4px"
|
|
96356
96807
|
},
|
|
96357
|
-
onClick: _cache[
|
|
96808
|
+
onClick: _cache[11] || (_cache[11] = ($event) => toggleCanvasFilter("section"))
|
|
96358
96809
|
}, {
|
|
96359
96810
|
default: withCtx(() => [
|
|
96360
96811
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.products")), 1)
|
|
@@ -96371,7 +96822,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96371
96822
|
themeOverrides: {
|
|
96372
96823
|
borderRadius: "4px"
|
|
96373
96824
|
},
|
|
96374
|
-
onClick: _cache[
|
|
96825
|
+
onClick: _cache[12] || (_cache[12] = ($event) => toggleCanvasFilter("block"))
|
|
96375
96826
|
}, {
|
|
96376
96827
|
default: withCtx(() => [
|
|
96377
96828
|
createElementVNode("span", null, toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.canvasFilters.blocks")), 1)
|
|
@@ -96379,7 +96830,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96379
96830
|
_: 1
|
|
96380
96831
|
}, 8, ["style"]),
|
|
96381
96832
|
selectedCanvasFilters.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_15$f, [
|
|
96382
|
-
_cache[
|
|
96833
|
+
_cache[18] || (_cache[18] = createElementVNode("div", { class: "h-6 w-px bg-gray-300 mx-2" }, null, -1)),
|
|
96383
96834
|
createElementVNode("span", {
|
|
96384
96835
|
class: "text-sm text-gray-600 hover:text-gray-800 font-normal cursor-pointer",
|
|
96385
96836
|
onClick: clearCanvasFilters
|
|
@@ -96409,7 +96860,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96409
96860
|
}), 128))
|
|
96410
96861
|
]),
|
|
96411
96862
|
recentlyOpenedDocs.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
96412
|
-
_cache[
|
|
96863
|
+
_cache[19] || (_cache[19] = createElementVNode("hr", { class: "border-0 h-px bg-gray-200 mt-2 mb-3 w-full" }, null, -1)),
|
|
96413
96864
|
createElementVNode("div", _hoisted_21$7, [
|
|
96414
96865
|
createElementVNode("span", _hoisted_22$5, toDisplayString(unref(t)("canvasUI.components.fileViewer.recentlyOpened")), 1)
|
|
96415
96866
|
]),
|
|
@@ -96526,7 +96977,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96526
96977
|
filteredContentFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_44$4, [
|
|
96527
96978
|
createElementVNode("span", {
|
|
96528
96979
|
class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
|
|
96529
|
-
onClick: _cache[
|
|
96980
|
+
onClick: _cache[13] || (_cache[13] = ($event) => searchType.value = "content")
|
|
96530
96981
|
}, [
|
|
96531
96982
|
createTextVNode(toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.actions.viewAll")) + " ", 1),
|
|
96532
96983
|
createVNode(CIcon, {
|
|
@@ -96578,7 +97029,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96578
97029
|
filteredCanvasFiles.value.length > 5 ? (openBlock(), createElementBlock("div", _hoisted_55$2, [
|
|
96579
97030
|
createElementVNode("span", {
|
|
96580
97031
|
class: "text-sm text-gray-600 hover:text-gray-800 font-bold flex items-center cursor-pointer",
|
|
96581
|
-
onClick: _cache[
|
|
97032
|
+
onClick: _cache[14] || (_cache[14] = ($event) => searchType.value = "canvases")
|
|
96582
97033
|
}, [
|
|
96583
97034
|
createTextVNode(toDisplayString(unref(t)("canvasUI.CAlgoliaSearch.actions.viewAll")) + " ", 1),
|
|
96584
97035
|
createVNode(CIcon, {
|
|
@@ -96734,7 +97185,7 @@ const _sfc_main$5K = /* @__PURE__ */ defineComponent({
|
|
|
96734
97185
|
}
|
|
96735
97186
|
});
|
|
96736
97187
|
|
|
96737
|
-
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-
|
|
97188
|
+
const CAlgoliaSearch = /* @__PURE__ */ _export_sfc(_sfc_main$5K, [["__scopeId", "data-v-da2357d4"]]);
|
|
96738
97189
|
|
|
96739
97190
|
const BulletListExtended = BulletList.extend({
|
|
96740
97191
|
addOptions() {
|
|
@@ -120344,11 +120795,7 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
120344
120795
|
|
|
120345
120796
|
function useCanvasContext() {
|
|
120346
120797
|
const { activeCanvas, isPrintDisplayMode, builderCache } = useCanvas$1();
|
|
120347
|
-
const {
|
|
120348
|
-
const myUser = inject(
|
|
120349
|
-
"myUser",
|
|
120350
|
-
computed(() => null)
|
|
120351
|
-
);
|
|
120798
|
+
const { crmShape } = useCrmShape();
|
|
120352
120799
|
const sectionListSectionInfo = inject(
|
|
120353
120800
|
"sectionListSectionInfo",
|
|
120354
120801
|
computed(() => null)
|
|
@@ -120376,7 +120823,6 @@ function useCanvasContext() {
|
|
|
120376
120823
|
builderCache.value[sectionOverrideKey] = mergedCtx;
|
|
120377
120824
|
return mergedCtx;
|
|
120378
120825
|
};
|
|
120379
|
-
const crmShape = computed(() => getDefaultCrmShape({ myUser: myUser.value }));
|
|
120380
120826
|
const crmShapeWithSectionCtx = computed(() => {
|
|
120381
120827
|
const mergedCtx = getSectionCtx();
|
|
120382
120828
|
return !isEmpty(crmShape.value) ? { ...mergedCtx, ...crmShape.value } : mergedCtx;
|
|
@@ -132254,44 +132700,6 @@ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
|
|
|
132254
132700
|
}
|
|
132255
132701
|
});
|
|
132256
132702
|
|
|
132257
|
-
const getDefaultNewGroupName$1 = (t) => t("canvasUI.collectionSelector.defaultNewGroupName");
|
|
132258
|
-
const getDefaultGroupName$1 = (t) => t("canvasUI.collectionSelector.defaultGroupName");
|
|
132259
|
-
const getDefaultCollectionName = (t) => t("canvasUI.collectionSelector.defaultCollectionName");
|
|
132260
|
-
const generateNewEmptyGroup$2 = (t) => ({
|
|
132261
|
-
id: v4(),
|
|
132262
|
-
name: getDefaultNewGroupName$1(t),
|
|
132263
|
-
slides: []
|
|
132264
|
-
});
|
|
132265
|
-
const generateNewCollection$2 = (t) => ({
|
|
132266
|
-
name: t("canvasUI.collectionSelector.defaultNewCollectionName"),
|
|
132267
|
-
groups: [generateNewEmptyGroup$2(t)]
|
|
132268
|
-
});
|
|
132269
|
-
const generateNewCollectionSlide = (payload) => ({
|
|
132270
|
-
...payload,
|
|
132271
|
-
id: v4(),
|
|
132272
|
-
type: "slide"
|
|
132273
|
-
});
|
|
132274
|
-
const generateNewCollectionFile = (file) => ({
|
|
132275
|
-
id: v4(),
|
|
132276
|
-
type: "file",
|
|
132277
|
-
file
|
|
132278
|
-
});
|
|
132279
|
-
const getUniqueFilesCount = (data) => {
|
|
132280
|
-
const fileIds = data.groups.flatMap(
|
|
132281
|
-
(group) => group.slides.map((slide) => {
|
|
132282
|
-
if (slide.file?.id) {
|
|
132283
|
-
return slide.file.id;
|
|
132284
|
-
} else if (slide.file_id) {
|
|
132285
|
-
return slide.file_id;
|
|
132286
|
-
}
|
|
132287
|
-
return null;
|
|
132288
|
-
}).filter(Boolean)
|
|
132289
|
-
);
|
|
132290
|
-
return new Set(fileIds).size;
|
|
132291
|
-
};
|
|
132292
|
-
const getGroupsCount = (data) => data.groups.length;
|
|
132293
|
-
const getSlidesCount = (data) => data.groups.reduce((acc, group) => acc + group.slides.length, 0);
|
|
132294
|
-
|
|
132295
132703
|
const useCollectionSelector = (selectCollectionPlayerContent) => {
|
|
132296
132704
|
const { updateNodeDataById, setComponentSettingsMode, contentRef, onCollectionPlayerContentChange } = useCanvas$1();
|
|
132297
132705
|
const trackContentChange = (id, data) => {
|
|
@@ -132690,7 +133098,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
132690
133098
|
} else {
|
|
132691
133099
|
let withData = void 0;
|
|
132692
133100
|
if (selection.type === ComponentTypes.CollectionPlayer) {
|
|
132693
|
-
withData = generateNewCollection$
|
|
133101
|
+
withData = generateNewCollection$1(t);
|
|
132694
133102
|
}
|
|
132695
133103
|
addComponentAtParentId(
|
|
132696
133104
|
selection.type,
|
|
@@ -139520,353 +139928,6 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
|
|
|
139520
139928
|
|
|
139521
139929
|
const CollectionPlayerApp = /* @__PURE__ */ _export_sfc(_sfc_main$2S, [["__scopeId", "data-v-1c2ca5d7"]]);
|
|
139522
139930
|
|
|
139523
|
-
const generateNewCollection$1 = (t) => ({
|
|
139524
|
-
name: t("canvasUI.collectionSelector.defaultNewCollectionName"),
|
|
139525
|
-
groups: [],
|
|
139526
|
-
hide_footer: false
|
|
139527
|
-
});
|
|
139528
|
-
const generateNewCollectionStructure = () => ({ name: "", groups: [] });
|
|
139529
|
-
const getUniqueSlides = (uniqueSlides, newSlides) => [
|
|
139530
|
-
...uniqueSlides,
|
|
139531
|
-
...newSlides.filter(
|
|
139532
|
-
(newSlide) => !uniqueSlides.some(
|
|
139533
|
-
(uniqueSlide) => newSlide.type === "slide" && uniqueSlide.type === "slide" && uniqueSlide.file.id === newSlide.file.id && uniqueSlide.slide.index === newSlide.slide.index
|
|
139534
|
-
)
|
|
139535
|
-
)
|
|
139536
|
-
];
|
|
139537
|
-
|
|
139538
|
-
function parsePptxFileToCollectionPlayer(t, _file) {
|
|
139539
|
-
const metadataSections = _file?.metadata?.pptx_data?.sections ?? [];
|
|
139540
|
-
const sections = metadataSections.length || _file.content_thumbnails.length === 0 ? metadataSections : [{ start: 0, end: _file.content_thumbnails.length - 1, name: null }];
|
|
139541
|
-
const sectionGroups = sections.map((section) => ({
|
|
139542
|
-
name: section.name ?? (_file.name || getDefaultGroupName$1(t)),
|
|
139543
|
-
slides: _file.content_thumbnails.slice(section.start, section.end + 1).map((url, index) => ({ url, index: section.start + index }))
|
|
139544
|
-
}));
|
|
139545
|
-
const file = {
|
|
139546
|
-
id: _file.id,
|
|
139547
|
-
pspdfkit_auth_payload: _file.pspdfkit_auth_payload,
|
|
139548
|
-
pspdfkit_document_id: _file.pspdfkit_document_id,
|
|
139549
|
-
pspdfkit_server_url: _file.pspdfkit_server_url,
|
|
139550
|
-
content_type: _file.content_type,
|
|
139551
|
-
content_url: _file.content_url,
|
|
139552
|
-
permissions: _file.permissions,
|
|
139553
|
-
thumbnail_url: _file.thumbnail_url ?? null,
|
|
139554
|
-
name: _file.name,
|
|
139555
|
-
type: _file.type,
|
|
139556
|
-
metadata: _file.metadata
|
|
139557
|
-
};
|
|
139558
|
-
return {
|
|
139559
|
-
name: file.name ?? getDefaultGroupName$1(t),
|
|
139560
|
-
groups: sectionGroups.map((section) => ({
|
|
139561
|
-
...generateNewEmptyGroup$2(t),
|
|
139562
|
-
name: section.name,
|
|
139563
|
-
slides: section.slides.map(
|
|
139564
|
-
(slide) => generateNewCollectionSlide({
|
|
139565
|
-
file,
|
|
139566
|
-
slide
|
|
139567
|
-
})
|
|
139568
|
-
)
|
|
139569
|
-
}))
|
|
139570
|
-
};
|
|
139571
|
-
}
|
|
139572
|
-
function parsePdfFileToCollectionPlayer(t, file) {
|
|
139573
|
-
const slides = file.content_thumbnails.map(
|
|
139574
|
-
(url, index) => generateNewCollectionSlide({
|
|
139575
|
-
file: {
|
|
139576
|
-
id: file.id,
|
|
139577
|
-
pspdfkit_auth_payload: file.pspdfkit_auth_payload,
|
|
139578
|
-
pspdfkit_document_id: file.pspdfkit_document_id,
|
|
139579
|
-
pspdfkit_server_url: file.pspdfkit_server_url,
|
|
139580
|
-
content_type: file.content_type,
|
|
139581
|
-
content_url: file.content_url,
|
|
139582
|
-
permissions: file.permissions,
|
|
139583
|
-
thumbnail_url: file.thumbnail_url ?? null,
|
|
139584
|
-
name: file.name,
|
|
139585
|
-
type: file.type,
|
|
139586
|
-
metadata: file.metadata
|
|
139587
|
-
},
|
|
139588
|
-
slide: {
|
|
139589
|
-
index,
|
|
139590
|
-
url
|
|
139591
|
-
}
|
|
139592
|
-
})
|
|
139593
|
-
);
|
|
139594
|
-
return {
|
|
139595
|
-
name: file.name ?? getDefaultCollectionName(t),
|
|
139596
|
-
groups: [
|
|
139597
|
-
{
|
|
139598
|
-
...generateNewEmptyGroup$2(t),
|
|
139599
|
-
name: file.name ?? getDefaultGroupName$1(t),
|
|
139600
|
-
slides
|
|
139601
|
-
}
|
|
139602
|
-
]
|
|
139603
|
-
};
|
|
139604
|
-
}
|
|
139605
|
-
function parseFileToCollectionPlayer(t, file) {
|
|
139606
|
-
if (file.content_type === "pdf") {
|
|
139607
|
-
if (file.original_extension === "pptx" || file.metadata?.pptx_data?.sections?.length) {
|
|
139608
|
-
return parsePptxFileToCollectionPlayer(t, file);
|
|
139609
|
-
}
|
|
139610
|
-
return parsePdfFileToCollectionPlayer(t, file);
|
|
139611
|
-
}
|
|
139612
|
-
return {
|
|
139613
|
-
name: file.name ?? getDefaultCollectionName(t),
|
|
139614
|
-
groups: [
|
|
139615
|
-
{
|
|
139616
|
-
...generateNewEmptyGroup$2(t),
|
|
139617
|
-
name: file.name ?? getDefaultGroupName$1(t),
|
|
139618
|
-
slides: [
|
|
139619
|
-
generateNewCollectionFile({
|
|
139620
|
-
id: file.id,
|
|
139621
|
-
pspdfkit_auth_payload: file.pspdfkit_auth_payload,
|
|
139622
|
-
pspdfkit_document_id: file.pspdfkit_document_id,
|
|
139623
|
-
pspdfkit_server_url: file.pspdfkit_server_url,
|
|
139624
|
-
content_type: file.content_type,
|
|
139625
|
-
content_url: file.content_url,
|
|
139626
|
-
permissions: file.permissions,
|
|
139627
|
-
thumbnail_url: file.thumbnail_url ?? null,
|
|
139628
|
-
name: file.name,
|
|
139629
|
-
type: file.type,
|
|
139630
|
-
metadata: file.metadata
|
|
139631
|
-
})
|
|
139632
|
-
]
|
|
139633
|
-
}
|
|
139634
|
-
]
|
|
139635
|
-
};
|
|
139636
|
-
}
|
|
139637
|
-
function parseContentSelectorToCollectionPlayerSlides({
|
|
139638
|
-
selectedItems,
|
|
139639
|
-
filesById
|
|
139640
|
-
}) {
|
|
139641
|
-
return selectedItems.reduce((acc, item) => {
|
|
139642
|
-
if (item.type === "file") {
|
|
139643
|
-
if (filesById[item.id].content_type === "pdf") {
|
|
139644
|
-
const pages = filesById[item.id].content_thumbnails.map(
|
|
139645
|
-
(contentThumbnail, index) => generateNewCollectionSlide({
|
|
139646
|
-
file: {
|
|
139647
|
-
id: item.id,
|
|
139648
|
-
pspdfkit_auth_payload: filesById[item.id].pspdfkit_auth_payload,
|
|
139649
|
-
pspdfkit_document_id: filesById[item.id].pspdfkit_document_id,
|
|
139650
|
-
pspdfkit_server_url: filesById[item.id].pspdfkit_server_url,
|
|
139651
|
-
content_type: filesById[item.id].content_type,
|
|
139652
|
-
content_url: filesById[item.id].content_url,
|
|
139653
|
-
permissions: item.permissions,
|
|
139654
|
-
thumbnail_url: item.thumbnail_url ?? null,
|
|
139655
|
-
name: item.name,
|
|
139656
|
-
type: filesById[item.id].type,
|
|
139657
|
-
metadata: item.metadata
|
|
139658
|
-
},
|
|
139659
|
-
slide: {
|
|
139660
|
-
index,
|
|
139661
|
-
url: contentThumbnail
|
|
139662
|
-
}
|
|
139663
|
-
})
|
|
139664
|
-
);
|
|
139665
|
-
return getUniqueSlides(acc, pages);
|
|
139666
|
-
}
|
|
139667
|
-
return [
|
|
139668
|
-
...acc,
|
|
139669
|
-
generateNewCollectionFile({
|
|
139670
|
-
id: item.id,
|
|
139671
|
-
pspdfkit_auth_payload: filesById[item.id].pspdfkit_auth_payload,
|
|
139672
|
-
pspdfkit_document_id: filesById[item.id].pspdfkit_document_id,
|
|
139673
|
-
pspdfkit_server_url: filesById[item.id].pspdfkit_server_url,
|
|
139674
|
-
content_type: filesById[item.id].content_type,
|
|
139675
|
-
content_url: filesById[item.id].content_url,
|
|
139676
|
-
permissions: item.permissions,
|
|
139677
|
-
thumbnail_url: filesById[item.id].thumbnail_url,
|
|
139678
|
-
name: item.name,
|
|
139679
|
-
type: filesById[item.id].type,
|
|
139680
|
-
metadata: item.metadata
|
|
139681
|
-
})
|
|
139682
|
-
];
|
|
139683
|
-
}
|
|
139684
|
-
return getUniqueSlides(acc, [
|
|
139685
|
-
generateNewCollectionSlide({
|
|
139686
|
-
file: {
|
|
139687
|
-
id: item.file.id,
|
|
139688
|
-
pspdfkit_auth_payload: filesById[item.file.id].pspdfkit_auth_payload,
|
|
139689
|
-
pspdfkit_document_id: filesById[item.file.id].pspdfkit_document_id,
|
|
139690
|
-
pspdfkit_server_url: filesById[item.file.id].pspdfkit_server_url,
|
|
139691
|
-
content_type: filesById[item.file.id].content_type,
|
|
139692
|
-
content_url: filesById[item.file.id].content_url,
|
|
139693
|
-
permissions: item.permissions,
|
|
139694
|
-
thumbnail_url: item.thumbnail_url ?? null,
|
|
139695
|
-
name: item.file.name,
|
|
139696
|
-
type: filesById[item.file.id].type,
|
|
139697
|
-
metadata: filesById[item.file.id].metadata
|
|
139698
|
-
},
|
|
139699
|
-
slide: {
|
|
139700
|
-
index: item.page_index,
|
|
139701
|
-
url: item.thumbnail_url ?? null
|
|
139702
|
-
}
|
|
139703
|
-
})
|
|
139704
|
-
]);
|
|
139705
|
-
}, []);
|
|
139706
|
-
}
|
|
139707
|
-
function parseCollectionPlayerSlidesToContentSelector(slides) {
|
|
139708
|
-
if (!slides?.length) return [];
|
|
139709
|
-
return slides.reduce((acc, item) => {
|
|
139710
|
-
let selection = null;
|
|
139711
|
-
if ("file_id" in item) {
|
|
139712
|
-
const v2Item = item;
|
|
139713
|
-
if (!v2Item.file_id) {
|
|
139714
|
-
return acc;
|
|
139715
|
-
}
|
|
139716
|
-
if (typeof v2Item.index === "number") {
|
|
139717
|
-
selection = {
|
|
139718
|
-
fileId: v2Item.file_id,
|
|
139719
|
-
type: "page",
|
|
139720
|
-
pageIndex: v2Item.index
|
|
139721
|
-
};
|
|
139722
|
-
} else {
|
|
139723
|
-
selection = {
|
|
139724
|
-
fileId: v2Item.file_id,
|
|
139725
|
-
type: "file"
|
|
139726
|
-
};
|
|
139727
|
-
}
|
|
139728
|
-
} else {
|
|
139729
|
-
const v1Item = item;
|
|
139730
|
-
const fileId = v1Item.file?.id;
|
|
139731
|
-
if (!fileId) {
|
|
139732
|
-
return acc;
|
|
139733
|
-
}
|
|
139734
|
-
if (v1Item.type === "slide") {
|
|
139735
|
-
selection = {
|
|
139736
|
-
fileId,
|
|
139737
|
-
type: "page",
|
|
139738
|
-
pageIndex: v1Item.slide.index
|
|
139739
|
-
};
|
|
139740
|
-
} else {
|
|
139741
|
-
selection = {
|
|
139742
|
-
fileId,
|
|
139743
|
-
type: "file"
|
|
139744
|
-
};
|
|
139745
|
-
}
|
|
139746
|
-
}
|
|
139747
|
-
return [...acc, selection];
|
|
139748
|
-
}, []);
|
|
139749
|
-
}
|
|
139750
|
-
function transformFilesToCollectionPlayer(t, filesData, name = "Collection") {
|
|
139751
|
-
if (!Array.isArray(filesData)) {
|
|
139752
|
-
throw new Error("Expected an array of files");
|
|
139753
|
-
}
|
|
139754
|
-
const groups = filesData.reduce((acc, fileData, index) => {
|
|
139755
|
-
try {
|
|
139756
|
-
const fileId = fileData.id;
|
|
139757
|
-
const fileName = fileData.name || `File ${index + 1}`;
|
|
139758
|
-
const selectedPages = fileData.selectedPages;
|
|
139759
|
-
if (!fileId) {
|
|
139760
|
-
return acc;
|
|
139761
|
-
}
|
|
139762
|
-
let slidesToCreate = [];
|
|
139763
|
-
if (selectedPages && Array.isArray(selectedPages) && selectedPages.length > 0) {
|
|
139764
|
-
slidesToCreate = selectedPages.map((pageIndex) => ({
|
|
139765
|
-
id: `${fileId}-slide-${pageIndex}`,
|
|
139766
|
-
file_id: fileId,
|
|
139767
|
-
index: pageIndex
|
|
139768
|
-
}));
|
|
139769
|
-
} else {
|
|
139770
|
-
slidesToCreate = [
|
|
139771
|
-
{
|
|
139772
|
-
id: `${fileId}-file`,
|
|
139773
|
-
file_id: fileId,
|
|
139774
|
-
index: void 0
|
|
139775
|
-
// undefined means entire file, not a specific page
|
|
139776
|
-
}
|
|
139777
|
-
];
|
|
139778
|
-
}
|
|
139779
|
-
acc.push({
|
|
139780
|
-
id: `group-${fileId}`,
|
|
139781
|
-
name: fileName,
|
|
139782
|
-
slides: slidesToCreate
|
|
139783
|
-
});
|
|
139784
|
-
return acc;
|
|
139785
|
-
} catch (error) {
|
|
139786
|
-
return acc;
|
|
139787
|
-
}
|
|
139788
|
-
}, []);
|
|
139789
|
-
return {
|
|
139790
|
-
name,
|
|
139791
|
-
groups
|
|
139792
|
-
};
|
|
139793
|
-
}
|
|
139794
|
-
function transformFilesToContentGrid(filesData) {
|
|
139795
|
-
if (!Array.isArray(filesData)) {
|
|
139796
|
-
throw new Error("Expected an array of files");
|
|
139797
|
-
}
|
|
139798
|
-
const items = filesData.reduce((acc, fileData) => {
|
|
139799
|
-
try {
|
|
139800
|
-
const fileId = fileData.id;
|
|
139801
|
-
const selectedPages = fileData.selectedPages;
|
|
139802
|
-
if (!fileId) {
|
|
139803
|
-
return acc;
|
|
139804
|
-
}
|
|
139805
|
-
let itemsToCreate = [];
|
|
139806
|
-
if (selectedPages && Array.isArray(selectedPages) && selectedPages.length > 0) {
|
|
139807
|
-
itemsToCreate = selectedPages.map((pageIndex) => ({
|
|
139808
|
-
file: {
|
|
139809
|
-
id: fileId,
|
|
139810
|
-
// ContentGrid will resolve these properties via data accessor or file resolution
|
|
139811
|
-
name: fileData.name || `File ${fileId}`,
|
|
139812
|
-
permissions: void 0,
|
|
139813
|
-
// Will be resolved
|
|
139814
|
-
tags: void 0,
|
|
139815
|
-
// Will be resolved
|
|
139816
|
-
content_url: void 0,
|
|
139817
|
-
// Will be resolved
|
|
139818
|
-
content_type: void 0,
|
|
139819
|
-
// Will be resolved
|
|
139820
|
-
content_extension: void 0,
|
|
139821
|
-
// Will be resolved
|
|
139822
|
-
expires_at: void 0
|
|
139823
|
-
// Will be resolved
|
|
139824
|
-
},
|
|
139825
|
-
slide: {
|
|
139826
|
-
index: pageIndex,
|
|
139827
|
-
url: void 0
|
|
139828
|
-
// Will be resolved from content_thumbnails
|
|
139829
|
-
},
|
|
139830
|
-
type: "slide"
|
|
139831
|
-
}));
|
|
139832
|
-
} else {
|
|
139833
|
-
itemsToCreate = [
|
|
139834
|
-
{
|
|
139835
|
-
file: {
|
|
139836
|
-
id: fileId,
|
|
139837
|
-
// ContentGrid will resolve these properties via data accessor or file resolution
|
|
139838
|
-
name: fileData.name || `File ${fileId}`,
|
|
139839
|
-
thumbnail_url: null,
|
|
139840
|
-
// Will be resolved
|
|
139841
|
-
content_thumbnails: null,
|
|
139842
|
-
// Will be resolved
|
|
139843
|
-
content_url: null,
|
|
139844
|
-
// Will be resolved - required for ContentGridFileProps but can be null
|
|
139845
|
-
content_type: null,
|
|
139846
|
-
// Will be resolved - required for ContentGridFileProps
|
|
139847
|
-
content_extension: null,
|
|
139848
|
-
// Will be resolved - required for ContentGridFileProps
|
|
139849
|
-
content_length: void 0,
|
|
139850
|
-
// Will be resolved
|
|
139851
|
-
permissions: void 0,
|
|
139852
|
-
// Will be resolved
|
|
139853
|
-
expires_at: void 0,
|
|
139854
|
-
// Will be resolved
|
|
139855
|
-
tags: void 0
|
|
139856
|
-
// Will be resolved
|
|
139857
|
-
},
|
|
139858
|
-
type: "file"
|
|
139859
|
-
}
|
|
139860
|
-
];
|
|
139861
|
-
}
|
|
139862
|
-
return [...acc, ...itemsToCreate];
|
|
139863
|
-
} catch (error) {
|
|
139864
|
-
return acc;
|
|
139865
|
-
}
|
|
139866
|
-
}, []);
|
|
139867
|
-
return { items };
|
|
139868
|
-
}
|
|
139869
|
-
|
|
139870
139931
|
function useLegacyCollectionFileLoader() {
|
|
139871
139932
|
const fetchFileById = inject("fetchFileById");
|
|
139872
139933
|
const canvasFileCache = inject("canvasFileCache", ref(/* @__PURE__ */ new Map()));
|
|
@@ -162568,7 +162629,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
162568
162629
|
// Add height only if already present or if the form value is set (backwards compatibility)
|
|
162569
162630
|
...activeSettingsNode.value?.type === ComponentTypes.CollectionPlayer && ("height" in activeSettingsNode.value || formValues.height) ? { height: formValues.height } : {},
|
|
162570
162631
|
...isAdminSectionTemplateWithFlag.value ? { allow_admins_to_overwrite: formValues.allowAdminsToOverwrite } : {},
|
|
162571
|
-
...activeSettingsNode.value?.type
|
|
162632
|
+
...activeSettingsNode.value?.type && ["ContentGrid", "CollectionPlayer"].includes(activeSettingsNode.value.type) ? { is_sharebox_target: formValues.isShareboxTarget } : {},
|
|
162572
162633
|
...newData
|
|
162573
162634
|
});
|
|
162574
162635
|
};
|
|
@@ -162858,6 +162919,15 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
162858
162919
|
]),
|
|
162859
162920
|
_: 1
|
|
162860
162921
|
}, 8, ["checked"]),
|
|
162922
|
+
createVNode(unref(NCheckbox), {
|
|
162923
|
+
checked: formValues.isShareboxTarget,
|
|
162924
|
+
"onUpdate:checked": _cache[18] || (_cache[18] = ($event) => formValues.isShareboxTarget = $event)
|
|
162925
|
+
}, {
|
|
162926
|
+
default: withCtx(() => [
|
|
162927
|
+
createTextVNode(toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasSettings.form.messages.isShareboxTarget")), 1)
|
|
162928
|
+
]),
|
|
162929
|
+
_: 1
|
|
162930
|
+
}, 8, ["checked"]),
|
|
162861
162931
|
unref(launchDarkly).enable_collection_player_data_accessor && (unref(isTemplate) || selectedCollectionPlayerDataPath.value) ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
|
|
162862
162932
|
createElementVNode("div", _hoisted_6$s, [
|
|
162863
162933
|
createElementVNode("label", null, toDisplayString(unref(t)("canvasUI.canvasBuilder.canvasSettings.form.label.collectionPlayerDataAccessor")), 1),
|
|
@@ -162931,7 +163001,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
162931
163001
|
block: "",
|
|
162932
163002
|
class: "mt-auto",
|
|
162933
163003
|
type: "primary",
|
|
162934
|
-
onClick: _cache[
|
|
163004
|
+
onClick: _cache[19] || (_cache[19] = ($event) => updateShow(false))
|
|
162935
163005
|
}, {
|
|
162936
163006
|
default: withCtx(() => [
|
|
162937
163007
|
createTextVNode(toDisplayString(unref(t)("canvasUI.common.done")), 1)
|
|
@@ -162945,7 +163015,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
162945
163015
|
}
|
|
162946
163016
|
});
|
|
162947
163017
|
|
|
162948
|
-
const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-
|
|
163018
|
+
const ComponentDrawerSettings = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-dce6a881"]]);
|
|
162949
163019
|
|
|
162950
163020
|
function useConnectUpload() {
|
|
162951
163021
|
async function uploadToConnect(formData) {
|
|
@@ -169597,7 +169667,7 @@ const clearCache = () => {
|
|
|
169597
169667
|
const _export$3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
169598
169668
|
__proto__: null,
|
|
169599
169669
|
clearCache,
|
|
169600
|
-
generateNewCollection: generateNewCollection$
|
|
169670
|
+
generateNewCollection: generateNewCollection$2,
|
|
169601
169671
|
generateNewCollectionStructure,
|
|
169602
169672
|
getUniqueSlides,
|
|
169603
169673
|
provideAppStore: provideAppStore$3,
|
|
@@ -170581,7 +170651,7 @@ function provideAppStore$2({
|
|
|
170581
170651
|
translations,
|
|
170582
170652
|
contentRef
|
|
170583
170653
|
}) {
|
|
170584
|
-
const rawCollection = ref({ ...generateNewCollection$
|
|
170654
|
+
const rawCollection = ref({ ...generateNewCollection$1(t), ...cloneDeep(initialCollection) ?? {} });
|
|
170585
170655
|
const fileLoader = useLegacyCollectionFileLoader();
|
|
170586
170656
|
const childModalZIndex = zIndex !== void 0 ? zIndex + 1 : void 0;
|
|
170587
170657
|
const isSettingsButtonVisible = computed(() => !!openSettingsFn || !!closeOnSettings);
|
|
@@ -181654,7 +181724,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
181654
181724
|
|
|
181655
181725
|
const _export$2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
181656
181726
|
__proto__: null,
|
|
181657
|
-
generateNewCollection: generateNewCollection$
|
|
181727
|
+
generateNewCollection: generateNewCollection$1,
|
|
181658
181728
|
generateNewCollectionFile,
|
|
181659
181729
|
generateNewCollectionSlide,
|
|
181660
181730
|
generateNewEmptyGroup: generateNewEmptyGroup$2,
|
|
@@ -183571,12 +183641,8 @@ function getEventColor(sfEvent) {
|
|
|
183571
183641
|
} else {
|
|
183572
183642
|
isSubmitted = false;
|
|
183573
183643
|
}
|
|
183574
|
-
const now = /* @__PURE__ */ new Date();
|
|
183575
|
-
if (sfEvent.IsAllDayEvent) {
|
|
183576
|
-
now.setHours(0, 0, 0, 0);
|
|
183577
|
-
}
|
|
183578
183644
|
if (isSubmitted) return SfEventColors.SUBMITTED;
|
|
183579
|
-
else if (isAfter$1(
|
|
183645
|
+
else if (isAfter$1(/* @__PURE__ */ new Date(), new Date(sfEvent.EndDateTime))) return SfEventColors.PAST;
|
|
183580
183646
|
else return SfEventColors.PLANNED;
|
|
183581
183647
|
}
|
|
183582
183648
|
const minFutureDate = (date = /* @__PURE__ */ new Date()) => add(date, { minutes: MIN_DIFFERENCE_IN_MINUTES });
|
|
@@ -184104,5 +184170,5 @@ const localeNames = {
|
|
|
184104
184170
|
};
|
|
184105
184171
|
const localeDropdownOptions = supportedLocales.map((locale) => ({ key: locale, name: localeNames[locale] }));
|
|
184106
184172
|
|
|
184107
|
-
export { ADMIN_API_METHOD_TYPES, ADMIN_API_TYPES, ADMIN_MESSAGE, ADMIN_MESSAGE_TYPES, APPS_DB, AccessTypeEnum, App$3 as AgendaSelectorApp, AppTypeEnum, _sfc_main as AssetsManagerApp, App$1 as Browser, BulkUpdateMetadataOperationEnum, BulkUpdateTagsOperationEnum, CALL_STORAGE_KEY, CANVASES, CANVAS_HOOKS, CANVAS_TYPOGRAPHY_CSS_PROPERTIES, CANVAS_TYPOGRAPHY_PRESETS, CAlgoliaSearch, CAssignedCanvasesManagement, _sfc_main$4p as CAssignedCanvasesManagementToolbar, _sfc_main$6s as CAvatar, _sfc_main$4O as CBlockManagement, CButton, _sfc_main$5f as CCanvasDeleteDialogContent, _sfc_main$5g as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6V as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6U as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6R as CCollapseItem, _sfc_main$6r as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6h as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$68 as CContentError, _sfc_main$65 as CCreateCanvasModal, _sfc_main$64 as CCreateTemplateSectionBlockModal, _sfc_main$5V as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6P as CDivider, _sfc_main$6O as CDrawer, _sfc_main$6N as CDrawerContent, _sfc_main$6M as CDropdown, _sfc_main$6p as CEmpty, _sfc_main$4m as CEntitySelector, _sfc_main$6L as CErrorFullScreen, _sfc_main$6n as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6C as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6I as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3$ as CFilesAccessManage, _sfc_main$3I as CFilesFolderDeleteDialogContent, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGridItem as CFormItemGi, NFormItemGridItem as CFormItemGridItem, FormItemRow as CFormItemRow, _sfc_main$4h as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5O as CGlobalSearch, GlobalStyle as CGlobalStyle, NGrid as CGrid, NGridItem as CGridItem, CGroupsAccessInfo, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, _sfc_main$6m as CHelpText, CIcon, _sfc_main$6K as CImage, _sfc_main$4W as CInfoBadge, _sfc_main$6B as CInput, NInputNumber as CInputNumber, _sfc_main$3y as CKnockNotificationsAppWrapper, CLIENT_TYPE, NLayout as CLayout, NLayoutContent as CLayoutContent, LayoutFooter as CLayoutFooter, LayoutHeader as CLayoutHeader, LayoutSider as CLayoutSider, _sfc_main$4X as CList, NMessageProvider as CMessageProvider, _sfc_main$5L as CMetaDataBadge, _sfc_main$6A as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6l as CPillSelect, _sfc_main$6z as CPopover, _sfc_main$6J as CProcessingOverlay, NProgress as CProgress, _sfc_main$5s as CRichTextEditor, _sfc_main$4q as CSavedCanvasesManagement, CSearch, _sfc_main$6x as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4R as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6q as CSpin, _sfc_main$6o as CSwitch, CTable, _sfc_main$5c as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6F as CTag, CTags, CTemplateAccessInfo, _sfc_main$3_ as CTemplateAccessManage, _sfc_main$4G as CTemplateManagement, text as CText, _sfc_main$6v as CThemeEditor, _sfc_main$4B as CThemeManagement, _sfc_main$5l as CToastProvider, CToolbar, _sfc_main$6t as CTooltip, CUpsertFolderModal, _sfc_main$5p as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5m as CVirtualTable, _sfc_main$48 as CWarningAlert, CallState, CanvasActions, _sfc_main$15 as CanvasBuilderApp, CanvasBuilderMode, CanvasExcludedComponentTypesEnum, CanvasHistoryAction, App as CanvasSelector, CanvasStatus, CanvasThemeStatus, CanvasesViewsTypes, CollaborationRoleEnum, CollectionPlayerApp, App$4 as CollectionSelectorApp, ComponentIcon, ComponentTypes, ContactSelectorQuickFilterType, ContentGridLayoutTypes, ContentSelector, CoreFolderEntityType, DATE_TIME_FORMAT, DEFAULT_ADMIN_TABLE_HEIGHT, DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, DEFAULT_GLOBAL_COMPONENT_SPACING, DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PEER_CONNECTIVITY_VERSION, DEFAULT_PITCHER_SETTINGS, DSR_API_METHOD_TYPES, DSR_API_TYPES, DSR_MESSAGE, DSR_MESSAGE_TYPES, DSR_TYPE, DefaultExpiresAtEnum, DownloadTypeEnum, EMBED_TYPE, EventAction, EventExternalObjectContentTypeEnum, EventStatusEnum, FileContentTypeEnum, FileStatusEnum, FileTypeEnum, GlobalSearchResultType, GridLayoutTypes, HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, HIDE_TAGS_WITH_PREFIX, HtmlLayoutTypes, IFRAME_ACTION_TYPES, IFRAME_DATA_MESSAGE, INITIAL_CALL_STATE, IS_DEV_ORG, IS_LOCALHOST, InstanceMembershipRoleEnum, InstanceMembershipUserStatusEnum, InvitationStatusEnum, LanguageEnum, LinkAlignmentTypes, LinkAnchorTypes, LinkPreviewTypes, MAX_LUMINANCE_FOR_LIGHT_TEXT, MAX_UPLOAD_SIZE, MIN_DIFFERENCE_IN_MINUTES, MetadataTemplateFieldTypeEnum, MultimediaHorizontalAlignmentOptions, NON_MEMBER_ROLES, NotesApp, OperatorEnum, PAPER_SIZE_PRESETS, PEER_CONNECTIVITY_EVENT, PEER_CONNECTIVITY_HANDLER_MATCH_ALL, PITCHER_EVENT, PITCHER_SETTINGS_KEY, PLATFORM_TYPE, PRINT_SCALE_FACTOR, PeerConnectivityActions, PitcherBroadcastedEventName, PitcherEventName, PitcherExternalEventName, PitcherMessageType, PitcherResponseStatus, PostAction, App$2 as PptConversionSelectorApp, REQUEST_DEFAULT_CANCEL_TIMEOUT, SEARCH_DEBOUNCE_TIME, SUPPORTED_FONT_EXTENSIONS, SUPPORTED_FONT_TYPES, SUPPORTED_IMAGE_EXTENSIONS, SUPPORTED_IMAGE_TYPES, SUPPORTED_UPLOAD_FILE_EXTENSIONS, SUPPORTED_VIDEO_EXTENSIONS, SUPPORTED_VIDEO_TYPES, SfEventColors, SfEventColorsLight, StorageRegionEnum, TRACKING_EVENTS_STORAGE_KEY, UI_API_METHOD_TYPES, UI_MESSAGE, UI_MESSAGE_TYPES, UI_NATIVE_MESSAGE_TYPES, UserRoleEnum, ViewCompactItemType, addCanvasComponent, _export as agendaSelector, appRequiresCrm, applyCanvasThemeAssetsToNode, applyFont, applyToTreeBy, autofocus as autofocusDirective, camelCaseKeys, canvasUiUnoPreset, clearLocalStorageIfNeeded, ClickOutsideDirective as clickOutsideDirective, collectAllNodesByCondition, _export$3 as collectionPlayer, _export$2 as collectionSelector, componentIconType, computeLocalStorageBytes, convertSecondsToMinutes, convertSoqlToSmartQuery, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, doesNotHaveAnyModuleOrHookSpecified, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, evaluateIsExecutedCondition, evaluateIsExecutedForPascalCaseEvent, executeWithDoublingTime, exitFullscreen, extractFieldNamesFromCondition, fallbackLocale, fetchAll, fetchAllWithOffset, fetchFirstChunkAndRemainingAsync, filterSidebarApps, filterTreeBy, findAllEmbeddableTypesInCanvasContent, findAllEmbeddableTypesInSectionsContent, findEmbeddableInCanvasContent, findEmbeddableInSectionsContent, findNodeInTreeByCondition, findNodeInTreeById, findNodeInTreeByType, findParentByNodeId, formatDate, formatDateDetailed, formatDateTime, formatDateTimeAgo, formatDayMonthBasedOnBrowserLang, formatDimensionForGotenberg, generateAIThumbnailUrl, getAllPages, getAppConfigFromAppSource, getAvailableApis, getComponentDescription, getComponentKeywords, getComponentTitle, getContrastTextColor, getDefinedProps, getEventColor, getExcessItemsIndexes, getFontAwesomeIconNameAndType, getImageSize, getLocalOverrideUrl, getLuminance, getNextPageParam, getNodeDisplayNameByComponentType, getNumberWithRegex, getPageQuantity, getPageRange, getPreviewUrl, getRoleIcon, getSectionGlobalComponentSpacing, handleThemeAssetComparison, hasAppTypeDefined, highLevelApi, indirectEval, insertItemSorted, isAfter, isBefore, isBeforeMinDate, isCanvasDrawerApp, isCanvasSectionExecution, isEmbeddableWithZeroHeight, isFileViewerReplacement, isFirefox, isFullscreen, isHeadlessOrNotAvailableApp, isImageAccessible, isIosDevice, isMac, isMobile, isModifierClick, isNonMemberRole, isOriginValid, isPastMaxDate, isPitcherOrIosDevice, isPitcherWkWebView, isPostcallApp, isQueryParamTruthy, isSafari, isSafariOnIosDevice, isSameOrAfter, isSameOrBefore, isTextComponentEmpty, isTheUiItself, isTouchScreen, isValidHex, isWindows, lightThemeOverrides, loadCustomHelpersFromApps, loadRemoteScriptWithCtx, loadScript, loadScriptStyle, loadStyle, localeDropdownOptions, localeNames, locales, minFutureDate, minPastDate, moveNodeTo, msToSeconds, navigateTo, normalizeFilterParams, normalizeNetworkFilterParams, openUsdz, parseCollectionPlayerSlidesToContentSelector, parseContentSelectorToCollectionPlayerSlides, parseFileToCollectionPlayer, parsePdfFileToCollectionPlayer, parsePptxFileToCollectionPlayer, pascalCaseKeys, _export$1 as pptConversionSelector, processCanvasForSectionThemeOverride, regenerateTreeIds, registerCustomHelper, registerCustomHelpers, registerPeerConnectivityHandler, renderTemplate, replaceThemePresetsWithInlineStyles, replaceTranslationMessagesWithOverrides, requestFullscreen, requestStream, scrollCanvasToTop, scrollToComponentById, secondsToHumanReadable, sendPeerConnectivityEvent, setDateTime, shouldDisplayPlaceholderComponent, shouldOpenInCollectionPlayerViewer, shouldShowEmbeddable, shouldShowInSidebar, skipElementsInTree, snakeCaseKeys, someNodeInTree, sortCollectionByString, splitUserName, stringToHslColor, supportedLocales, tapDirective, titleCase, toggleFullscreen, tooltipDirective, transformFilesToCollectionPlayer, transformFilesToContentGrid, updateFirstContentGridWithShareboxItems, urlSafeFetchInChunks, useAdmin, useAdminAndDsrState, useApi, useAppsDb, useBindValidation, useBroadcastRouteChange, useCanvasById, useCanvasLocks, useCanvasOverlay, useCanvasVisibility, useCanvasesAsInfinity, useCollectionPlayerOverlay, useCommentTracking, useConfirmation, useCreateEvent, useDeleteEvent, useDsr, useFetchCanvases, useFetchEvents, useFetchUsers, useFileDisplayHelpers, useFolderNameDescription, useGlobalSearch, useInfiniteScroll, useLocation, useMetadataSearch, useMetadataTemplates, useNotesApp, useNotification, useOpenFileStack, usePitcherApi, usePolling, usePresentationHistory, useRecentFiles, useShareCanvas, useSharedCommentsStorage, useSmartStore, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
|
|
184173
|
+
export { ADMIN_API_METHOD_TYPES, ADMIN_API_TYPES, ADMIN_MESSAGE, ADMIN_MESSAGE_TYPES, APPS_DB, AccessTypeEnum, App$3 as AgendaSelectorApp, AppTypeEnum, _sfc_main as AssetsManagerApp, App$1 as Browser, BulkUpdateMetadataOperationEnum, BulkUpdateTagsOperationEnum, CALL_STORAGE_KEY, CANVASES, CANVAS_HOOKS, CANVAS_TYPOGRAPHY_CSS_PROPERTIES, CANVAS_TYPOGRAPHY_PRESETS, CAlgoliaSearch, CAssignedCanvasesManagement, _sfc_main$4p as CAssignedCanvasesManagementToolbar, _sfc_main$6s as CAvatar, _sfc_main$4O as CBlockManagement, CButton, _sfc_main$5f as CCanvasDeleteDialogContent, _sfc_main$5g as CCanvasMetadataFilters, CCanvasSelector, _sfc_main$6V as CCard, CCarousel, _sfc_main$3G as CCatalogIqSwitcher, _sfc_main$6U as CCheckbox, _sfc_main$3A as CChip, CCollapse, _sfc_main$6R as CCollapseItem, _sfc_main$6r as CCollapseTransition, NColorPicker as CColorPicker, CComponentListItem, CConfigEditor, NConfigProvider as CConfigProvider, _sfc_main$6h as CConfirmationAction, CConfirmationContent, CConfirmationHeader, CConfirmationModal, CContactSelector, CContactSelectorSelected, _sfc_main$68 as CContentError, _sfc_main$65 as CCreateCanvasModal, _sfc_main$64 as CCreateTemplateSectionBlockModal, _sfc_main$5V as CCreateThemeModal, CDP_EVENT_TYPE, CDataTable, NDatePicker as CDatePicker, CDateRangeFilter, CDetailPageSectionButtons, NDialogProvider as CDialogProvider, _sfc_main$6P as CDivider, _sfc_main$6O as CDrawer, _sfc_main$6N as CDrawerContent, _sfc_main$6M as CDropdown, _sfc_main$6p as CEmpty, _sfc_main$4m as CEntitySelector, _sfc_main$6L as CErrorFullScreen, _sfc_main$6n as CFeedback, _sfc_main$3o as CFileAccessManagement, _sfc_main$6C as CFileAttributes, _sfc_main$3p as CFilePanel, _sfc_main$6I as CFileThumbnail, CFileViewer, CFilesAccessInfo, _sfc_main$3$ as CFilesAccessManage, _sfc_main$3I as CFilesFolderDeleteDialogContent, NForm as CForm, NFormItem as CFormItem, NFormItemCol as CFormItemCol, NFormItemGridItem as CFormItemGi, NFormItemGridItem as CFormItemGridItem, FormItemRow as CFormItemRow, _sfc_main$4h as CFullScreenLoader, NGridItem as CGi, CGlobalLoader, _sfc_main$5O as CGlobalSearch, GlobalStyle as CGlobalStyle, NGrid as CGrid, NGridItem as CGridItem, CGroupsAccessInfo, NH1 as CH1, NH2 as CH2, NH3 as CH3, NH4 as CH4, NH5 as CH5, NH6 as CH6, _sfc_main$6m as CHelpText, CIcon, _sfc_main$6K as CImage, _sfc_main$4W as CInfoBadge, _sfc_main$6B as CInput, NInputNumber as CInputNumber, _sfc_main$3y as CKnockNotificationsAppWrapper, CLIENT_TYPE, NLayout as CLayout, NLayoutContent as CLayoutContent, LayoutFooter as CLayoutFooter, LayoutHeader as CLayoutHeader, LayoutSider as CLayoutSider, _sfc_main$4X as CList, NMessageProvider as CMessageProvider, _sfc_main$5L as CMetaDataBadge, _sfc_main$6A as CModal, CMonacoEditor, CMovableWidget, CMultiSelect, NNotificationProvider as CNotificationProvider, NPagination as CPagination, _sfc_main$6l as CPillSelect, _sfc_main$6z as CPopover, _sfc_main$6J as CProcessingOverlay, NProgress as CProgress, _sfc_main$5s as CRichTextEditor, _sfc_main$4q as CSavedCanvasesManagement, CSearch, _sfc_main$6x as CSearchOnClick, CSearchOnClickWithSuggestions, CSecondaryNav, _sfc_main$4R as CSectionManagement, CSelect, CSelectFilter, _sfc_main$3x as CSettingsEditor, CShortcut, CSingleSelect, NSkeleton as CSkeleton, _sfc_main$3C as CSlideViewer, NSpace as CSpace, _sfc_main$6q as CSpin, _sfc_main$6o as CSwitch, CTable, _sfc_main$5c as CTableInput, CTableMore, CTableSelect, CTableTag, _sfc_main$6F as CTag, CTags, CTemplateAccessInfo, _sfc_main$3_ as CTemplateAccessManage, _sfc_main$4G as CTemplateManagement, text as CText, _sfc_main$6v as CThemeEditor, _sfc_main$4B as CThemeManagement, _sfc_main$5l as CToastProvider, CToolbar, _sfc_main$6t as CTooltip, CUpsertFolderModal, _sfc_main$5p as CUserAvatar, CUserMenu, CUsersAccessInfo, CUsersGroupsAccessManage, _sfc_main$5m as CVirtualTable, _sfc_main$48 as CWarningAlert, CallState, CanvasActions, _sfc_main$15 as CanvasBuilderApp, CanvasBuilderMode, CanvasExcludedComponentTypesEnum, CanvasHistoryAction, App as CanvasSelector, CanvasStatus, CanvasThemeStatus, CanvasesViewsTypes, CollaborationRoleEnum, CollectionPlayerApp, App$4 as CollectionSelectorApp, ComponentIcon, ComponentTypes, ContactSelectorQuickFilterType, ContentGridLayoutTypes, ContentSelector, CoreFolderEntityType, DATE_TIME_FORMAT, DEFAULT_ADMIN_TABLE_HEIGHT, DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, DEFAULT_GLOBAL_COMPONENT_SPACING, DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PEER_CONNECTIVITY_VERSION, DEFAULT_PITCHER_SETTINGS, DSR_API_METHOD_TYPES, DSR_API_TYPES, DSR_MESSAGE, DSR_MESSAGE_TYPES, DSR_TYPE, DefaultExpiresAtEnum, DownloadTypeEnum, EMBED_TYPE, EventAction, EventExternalObjectContentTypeEnum, EventStatusEnum, FileContentTypeEnum, FileStatusEnum, FileTypeEnum, GlobalSearchResultType, GridLayoutTypes, HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, HIDE_TAGS_WITH_PREFIX, HtmlLayoutTypes, IFRAME_ACTION_TYPES, IFRAME_DATA_MESSAGE, INITIAL_CALL_STATE, IS_DEV_ORG, IS_LOCALHOST, InstanceMembershipRoleEnum, InstanceMembershipUserStatusEnum, InvitationStatusEnum, LanguageEnum, LinkAlignmentTypes, LinkAnchorTypes, LinkPreviewTypes, MAX_LUMINANCE_FOR_LIGHT_TEXT, MAX_UPLOAD_SIZE, MIN_DIFFERENCE_IN_MINUTES, MetadataTemplateFieldTypeEnum, MultimediaHorizontalAlignmentOptions, NON_MEMBER_ROLES, NotesApp, OperatorEnum, PAPER_SIZE_PRESETS, PEER_CONNECTIVITY_EVENT, PEER_CONNECTIVITY_HANDLER_MATCH_ALL, PITCHER_EVENT, PITCHER_SETTINGS_KEY, PLATFORM_TYPE, PRINT_SCALE_FACTOR, PeerConnectivityActions, PitcherBroadcastedEventName, PitcherEventName, PitcherExternalEventName, PitcherMessageType, PitcherResponseStatus, PostAction, App$2 as PptConversionSelectorApp, REQUEST_DEFAULT_CANCEL_TIMEOUT, SEARCH_DEBOUNCE_TIME, SUPPORTED_FONT_EXTENSIONS, SUPPORTED_FONT_TYPES, SUPPORTED_IMAGE_EXTENSIONS, SUPPORTED_IMAGE_TYPES, SUPPORTED_UPLOAD_FILE_EXTENSIONS, SUPPORTED_VIDEO_EXTENSIONS, SUPPORTED_VIDEO_TYPES, SfEventColors, SfEventColorsLight, StorageRegionEnum, TRACKING_EVENTS_STORAGE_KEY, UI_API_METHOD_TYPES, UI_MESSAGE, UI_MESSAGE_TYPES, UI_NATIVE_MESSAGE_TYPES, UserRoleEnum, ViewCompactItemType, addCanvasComponent, _export as agendaSelector, appRequiresCrm, applyCanvasThemeAssetsToNode, applyFont, applyToTreeBy, autofocus as autofocusDirective, camelCaseKeys, canvasUiUnoPreset, clearLocalStorageIfNeeded, ClickOutsideDirective as clickOutsideDirective, collectAllNodesByCondition, _export$3 as collectionPlayer, _export$2 as collectionSelector, componentIconType, computeLocalStorageBytes, convertSecondsToMinutes, convertSoqlToSmartQuery, convertToPixels, convertToSosl, createNodeId, createPitcherSettings, dayjs, deepDiff, deepToRaw, derivePatchRequestFields, determineUserRole, discardSectionComponentOverride, displayBytesWithMUnit, displayIntegerWithMunit, doesLocalOverrideExist, doesNotHaveAnyModuleOrHookSpecified, downloadFile, draggable as draggableDirective, elementMounted as elementMountedDirective, escapeSoqlString, evaluateAccessor, evaluateIsExecutedCondition, evaluateIsExecutedForPascalCaseEvent, executeWithDoublingTime, exitFullscreen, extractFieldNamesFromCondition, fallbackLocale, fetchAll, fetchAllWithOffset, fetchFirstChunkAndRemainingAsync, filterSidebarApps, filterTreeBy, findAllEmbeddableTypesInCanvasContent, findAllEmbeddableTypesInSectionsContent, findEmbeddableInCanvasContent, findEmbeddableInSectionsContent, findNodeInTreeByCondition, findNodeInTreeById, findNodeInTreeByType, findParentByNodeId, formatDate, formatDateDetailed, formatDateTime, formatDateTimeAgo, formatDayMonthBasedOnBrowserLang, formatDimensionForGotenberg, generateAIThumbnailUrl, getAllPages, getAppConfigFromAppSource, getAvailableApis, getComponentDescription, getComponentKeywords, getComponentTitle, getContrastTextColor, getDefinedProps, getEventColor, getExcessItemsIndexes, getFontAwesomeIconNameAndType, getImageSize, getLocalOverrideUrl, getLuminance, getNextPageParam, getNodeDisplayNameByComponentType, getNumberWithRegex, getPageQuantity, getPageRange, getPreviewUrl, getRoleIcon, getSectionGlobalComponentSpacing, handleThemeAssetComparison, hasAppTypeDefined, highLevelApi, indirectEval, insertItemSorted, isAfter, isBefore, isBeforeMinDate, isCanvasDrawerApp, isCanvasSectionExecution, isEmbeddableWithZeroHeight, isFileViewerReplacement, isFirefox, isFullscreen, isHeadlessOrNotAvailableApp, isImageAccessible, isIosDevice, isMac, isMobile, isModifierClick, isNonMemberRole, isOriginValid, isPastMaxDate, isPitcherOrIosDevice, isPitcherWkWebView, isPostcallApp, isQueryParamTruthy, isSafari, isSafariOnIosDevice, isSameOrAfter, isSameOrBefore, isTextComponentEmpty, isTheUiItself, isTouchScreen, isValidHex, isWindows, lightThemeOverrides, loadCustomHelpersFromApps, loadRemoteScriptWithCtx, loadScript, loadScriptStyle, loadStyle, localeDropdownOptions, localeNames, locales, minFutureDate, minPastDate, moveNodeTo, msToSeconds, navigateTo, normalizeFilterParams, normalizeNetworkFilterParams, openUsdz, parseCollectionPlayerSlidesToContentSelector, parseContentSelectorToCollectionPlayerSlides, parseFileToCollectionPlayer, parsePdfFileToCollectionPlayer, parsePptxFileToCollectionPlayer, pascalCaseKeys, _export$1 as pptConversionSelector, processCanvasForSectionThemeOverride, regenerateTreeIds, registerCustomHelper, registerCustomHelpers, registerPeerConnectivityHandler, renderTemplate, replaceThemePresetsWithInlineStyles, replaceTranslationMessagesWithOverrides, requestFullscreen, requestStream, scrollCanvasToTop, scrollToComponentById, secondsToHumanReadable, sendPeerConnectivityEvent, setDateTime, shouldDisplayPlaceholderComponent, shouldOpenInCollectionPlayerViewer, shouldShowEmbeddable, shouldShowInSidebar, skipElementsInTree, snakeCaseKeys, someNodeInTree, sortCollectionByString, splitUserName, stringToHslColor, supportedLocales, tapDirective, titleCase, toggleFullscreen, tooltipDirective, transformFilesToCollectionPlayer, transformFilesToContentGrid, updateFirstCollectionPlayerWithShareboxItems, updateFirstContentGridWithShareboxItems, urlSafeFetchInChunks, useAdmin, useAdminAndDsrState, useApi, useAppsDb, useBindValidation, useBroadcastRouteChange, useCanvasById, useCanvasLocks, useCanvasOverlay, useCanvasVisibility, useCanvasesAsInfinity, useCollectionPlayerOverlay, useCommentTracking, useConfirmation, useCreateEvent, useDeleteEvent, useDsr, useFetchCanvases, useFetchEvents, useFetchUsers, useFileDisplayHelpers, useFolderNameDescription, useGlobalSearch, useInfiniteScroll, useLocation, useMetadataSearch, useMetadataTemplates, useNotesApp, useNotification, useOpenFileStack, usePitcherApi, usePolling, usePresentationHistory, useRecentFiles, useShareCanvas, useSharedCommentsStorage, useSmartStore, useSuggestedTags, useTheme, useThemeVars, useToast, useUi, useUpdateEvent, useWindowEvents, vueQueryPluginOptions, wait, waitForIframeInitialize, waitForValue };
|
|
184108
184174
|
//# sourceMappingURL=canvas-ui.js.map
|