@pitcher/canvas-ui 2026.6.3-83808 → 2026.6.4-141807-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/DynamicContent-CpUZ3iw1.js +6 -0
- package/DynamicContent-CpUZ3iw1.js.map +1 -0
- package/canvas-ui.css +7 -7
- package/canvas-ui.js +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/contentList.helpers.d.ts +28 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.spec.d.ts +1 -0
- package/{main.lib-DUkPvuS2.js → main.lib-Bl0Ftvzu.js} +146 -44
- package/{main.lib-DUkPvuS2.js.map → main.lib-Bl0Ftvzu.js.map} +1 -1
- package/package.json +1 -1
- package/DynamicContent-C_FTA2_E.js +0 -6
- package/DynamicContent-C_FTA2_E.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicContent-CpUZ3iw1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/canvas-ui.css
CHANGED
|
@@ -1736,16 +1736,16 @@ to {
|
|
|
1736
1736
|
.scribble-container[data-v-0cd6c564] {
|
|
1737
1737
|
position: relative;
|
|
1738
1738
|
}
|
|
1739
|
-
.ghost-class[data-v-
|
|
1739
|
+
.ghost-class[data-v-e1bd203f] {
|
|
1740
1740
|
opacity: 0.8;
|
|
1741
1741
|
position: absolute;
|
|
1742
1742
|
pointer-events: none;
|
|
1743
1743
|
z-index: 1000;
|
|
1744
1744
|
}
|
|
1745
|
-
.ghost-class[data-v-
|
|
1745
|
+
.ghost-class[data-v-e1bd203f] * {
|
|
1746
1746
|
pointer-events: none;
|
|
1747
1747
|
}
|
|
1748
|
-
.scribble-container--covered[data-v-
|
|
1748
|
+
.scribble-container--covered[data-v-e1bd203f] {
|
|
1749
1749
|
background-color: rgba(255, 255, 255, 0.95);
|
|
1750
1750
|
background-blend-mode: lighten;
|
|
1751
1751
|
}.section-selector-selected[data-v-53ae554d] {
|
|
@@ -1796,17 +1796,17 @@ to {
|
|
|
1796
1796
|
.slide-in-animation[data-v-fe5e69fd] {
|
|
1797
1797
|
animation: slideInFromBottom-fe5e69fd 0.2s ease-out forwards;
|
|
1798
1798
|
}@media print {
|
|
1799
|
-
.canvas-section[data-v-
|
|
1799
|
+
.canvas-section[data-v-3979dba7]:not(:last-child) {
|
|
1800
1800
|
break-after: page;
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
|
-
.canvas-section-list__idle-state__title[data-v-
|
|
1804
|
-
color: var(--
|
|
1803
|
+
.canvas-section-list__idle-state__title[data-v-3979dba7] {
|
|
1804
|
+
color: var(--61ba66dc);
|
|
1805
1805
|
line-height: 32px;
|
|
1806
1806
|
letter-spacing: 0.25px;
|
|
1807
1807
|
font-size: 20px;
|
|
1808
1808
|
}
|
|
1809
|
-
.canvas-section-list-container[data-v-
|
|
1809
|
+
.canvas-section-list-container[data-v-3979dba7] .n-modal-scroll-content {
|
|
1810
1810
|
overflow: hidden;
|
|
1811
1811
|
}.cb-custom-data-table-raw__scroll-container[data-v-725a086e] {
|
|
1812
1812
|
overflow-x: auto;
|
package/canvas-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ADMIN_API_METHOD_TYPES, a as ADMIN_API_TYPES, b as ADMIN_MESSAGE, c as ADMIN_MESSAGE_TYPES, d as APPS_DB, e as AccessTypeEnum, f as AgendaSelectorApp, g as AppTypeEnum, h as AssetsManagerApp, i as Browser, B as BulkUpdateMetadataOperationEnum, j as BulkUpdateTagsOperationEnum, C as CALL_STORAGE_KEY, k as CANVASES, l as CANVAS_HOOKS, m as CANVAS_TYPOGRAPHY_CSS_PROPERTIES, n as CANVAS_TYPOGRAPHY_PRESETS, o as CAlgoliaSearch, p as CAssignedCanvasesManagement, q as CAssignedCanvasesManagementToolbar, r as CAvatar, s as CBlockManagement, t as CButton, u as CCanvasDeleteDialogContent, v as CCanvasMetadataFilters, w as CCanvasSelector, x as CCard, y as CCarousel, z as CCatalogIqSwitcher, D as CCheckbox, E as CChip, F as CCollapse, G as CCollapseItem, H as CCollapseTransition, N as CColorPicker, I as CComponentListItem, J as CConfigEditor, K as CConfigProvider, L as CConfirmationAction, M as CConfirmationContent, O as CConfirmationHeader, P as CConfirmationModal, Q as CContactSelector, R as CContactSelectorSelected, S as CContentError, T as CCreateCanvasModal, U as CCreateTemplateSectionBlockModal, V as CCreateThemeModal, W as CDP_EVENT_TYPE, X as CDataTable, Y as CDatePicker, Z as CDateRangeFilter, $ as CDetailPageSectionButtons, a0 as CDialogProvider, a1 as CDivider, a2 as CDrawer, a3 as CDrawerContent, a4 as CDropdown, a5 as CEmpty, a6 as CEntitySelector, a7 as CErrorFullScreen, a8 as CFeedback, a9 as CFileAccessManagement, aa as CFileAttributes, ab as CFilePanel, ac as CFileThumbnail, ad as CFileViewer, ae as CFilesAccessInfo, af as CFilesAccessManage, ag as CFilesFolderDeleteDialogContent, ah as CFolderTreeMultiPicker, ai as CForm, aj as CFormItem, ak as CFormItemCol, al as CFormItemGi, al as CFormItemGridItem, am as CFormItemRow, an as CFullScreenLoader, ao as CGi, ap as CGlobalLoader, aq as CGlobalSearch, ar as CGlobalStyle, as as CGrid, ao as CGridItem, at as CGroupsAccessInfo, au as CH1, av as CH2, aw as CH3, ax as CH4, ay as CH5, az as CH6, aA as CHelpText, aB as CIcon, aC as CImage, aD as CInfoBadge, aE as CInput, aF as CInputNumber, aG as CKnockNotificationsAppWrapper, aH as CLIENT_TYPE, aI as CLayout, aJ as CLayoutContent, aK as CLayoutFooter, aL as CLayoutHeader, aM as CLayoutSider, aN as CList, aO as CMessageProvider, aP as CMetaDataBadge, aQ as CModal, aR as CMonacoEditor, aS as CMovableWidget, aT as CMultiSelect, aU as CNotificationProvider, aV as CPagination, aW as CPillSelect, aX as CPopover, aY as CProcessingOverlay, aZ as CProgress, a_ as CRichTextEditor, a$ as CSavedCanvasesManagement, b0 as CSearch, b1 as CSearchOnClick, b2 as CSearchOnClickWithSuggestions, b3 as CSecondaryNav, b4 as CSectionManagement, b5 as CSelect, b6 as CSelectFilter, b7 as CSettingsEditor, b8 as CShortcut, b9 as CSideBar, ba as CSideBarDivider, bb as CSideBarItem, bc as CSideBarLabel, bd as CSideBarToggle, be as CSingleSelect, bf as CSkeleton, bg as CSlideViewer, bh as CSpace, bi as CSpin, bj as CSwitch, bk as CTable, bl as CTableInput, bm as CTableMore, bn as CTableSelect, bo as CTableTag, bp as CTag, bq as CTags, br as CTemplateAccessInfo, bs as CTemplateAccessManage, bt as CTemplateManagement, bu as CText, bv as CThemeEditor, bw as CThemeManagement, bx as CToastProvider, by as CToolbar, bz as CTooltip, bA as CUpsertFolderModal, bB as CUserAvatar, bC as CUserMenu, bD as CUsersAccessInfo, bE as CUsersGroupsAccessManage, bF as CVirtualTable, bG as CWarningAlert, bH as CallState, bI as CanvasActions, bJ as CanvasBuilderApp, bK as CanvasBuilderMode, bL as CanvasExcludedComponentTypesEnum, bM as CanvasHistoryAction, bN as CanvasSelector, bO as CanvasStatus, bP as CanvasThemeStatus, bQ as CanvasesViewsTypes, bR as CollaborationRoleEnum, bS as CollectionPlayerApp, bT as CollectionSelectorApp, bU as ComponentIcon, bV as ComponentTypes, bW as ContactSelectorQuickFilterType, bX as ContentGridLayoutTypes, bY as ContentSelector, bZ as CoreFolderEntityType, b_ as DATE_TIME_FORMAT, b$ as DEFAULT_ADMIN_TABLE_HEIGHT, c0 as DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, c1 as DEFAULT_GLOBAL_COMPONENT_SPACING, c2 as DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, c3 as DEFAULT_ITEMS_PER_PAGE, c4 as DEFAULT_PAGE_SIZE, c5 as DEFAULT_PAGE_SIZE_OPTIONS, c6 as DEFAULT_PEER_CONNECTIVITY_VERSION, c7 as DEFAULT_PITCHER_SETTINGS, c8 as DEFAULT_SFDC_API_VERSION, c9 as DSR_API_METHOD_TYPES, ca as DSR_API_TYPES, cb as DSR_MESSAGE, cc as DSR_MESSAGE_TYPES, cd as DSR_TYPE, ce as DefaultExpiresAtEnum, cf as DownloadTypeEnum, cg as EMBED_TYPE, ch as EventAction, ci as EventExternalObjectContentTypeEnum, cj as EventStatusEnum, ck as FileContentTypeEnum, cl as FileStatusEnum, cm as FileTypeEnum, cn as GlobalSearchResultType, co as GridLayoutTypes, cp as HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, cq as HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, cr as HIDE_TAGS_WITH_PREFIX, cs as HomeCustomizeCog, ct as HomeCustomizeEmptyState, cu as HomeCustomizePanel, cv as HomeCustomizeRow, cw as HtmlLayoutTypes, cx as IFRAME_ACTION_TYPES, cy as IFRAME_DATA_MESSAGE, cz as INITIAL_CALL_STATE, cA as IS_DEV_ORG, cB as IS_LOCALHOST, cC as InstanceMembershipRoleEnum, cD as InstanceMembershipUserStatusEnum, cE as InvitationStatusEnum, cF as LanguageEnum, cG as LinkAlignmentTypes, cH as LinkAnchorTypes, cI as LinkPreviewTypes, cJ as MAX_LUMINANCE_FOR_LIGHT_TEXT, cK as MAX_UPLOAD_SIZE, cL as MIN_DIFFERENCE_IN_MINUTES, cM as MetadataTemplateFieldTypeEnum, cN as MultimediaHorizontalAlignmentOptions, cO as NON_MEMBER_ROLES, cP as NotesApp, cQ as OperatorEnum, cR as PAPER_SIZE_PRESETS, cS as PEER_CONNECTIVITY_EVENT, cT as PEER_CONNECTIVITY_HANDLER_MATCH_ALL, cU as PITCHER_EVENT, cV as PITCHER_SETTINGS_KEY, cW as PLATFORM_TYPE, cX as PRINT_SCALE_FACTOR, cY as PeerConnectivityActions, cZ as PitcherBroadcastedEventName, c_ as PitcherEventName, c$ as PitcherExternalEventName, d0 as PitcherMessageType, d1 as PitcherResponseStatus, d2 as PostAction, d3 as PptConversionSelectorApp, d4 as REQUEST_DEFAULT_CANCEL_TIMEOUT, d5 as SEARCH_DEBOUNCE_TIME, d6 as SUPPORTED_FONT_EXTENSIONS, d7 as SUPPORTED_FONT_TYPES, d8 as SUPPORTED_IMAGE_EXTENSIONS, d9 as SUPPORTED_IMAGE_TYPES, da as SUPPORTED_UPLOAD_FILE_EXTENSIONS, db as SUPPORTED_VIDEO_EXTENSIONS, dc as SUPPORTED_VIDEO_TYPES, dd as SfEventColors, de as SfEventColorsLight, df as StorageRegionEnum, dg as TRACKING_EVENTS_STORAGE_KEY, dh as UI_API_METHOD_TYPES, di as UI_MESSAGE, dj as UI_MESSAGE_TYPES, dk as UI_NATIVE_MESSAGE_TYPES, dl as USER_TEMPLATE_DISALLOWED_KEYS, dm as UserRoleEnum, dn as ViewCompactItemType, dp as addAndCondition, dq as addCanvasComponent, dr as agendaSelector, ds as appRequiresCrm, dt as applyCanvasThemeAssetsToNode, du as applyFont, dv as applyToTreeBy, dw as autofocusDirective, dx as buildSortTierConditions, dy as camelCaseKeys, dz as canvasUiUnoPreset, dA as clearLocalStorageIfNeeded, dB as clickOutsideDirective, dC as collectAllNodesByCondition, dD as collectionPlayer, dE as collectionSelector, dF as componentIconType, dG as computeLocalStorageBytes, dH as convertSecondsToMinutes, dI as convertSoqlToSmartQuery, dJ as convertToPixels, dK as convertToSosl, dL as createNodeId, dM as createPitcherSettings, dN as dayjs, dO as deepDiff, dP as deepToRaw, dQ as derivePatchRequestFields, dR as determineUserRole, dS as discardSectionComponentOverride, dT as displayBytesWithMUnit, dU as displayIntegerWithMunit, dV as doesLocalOverrideExist, dW as doesNotHaveAnyModuleOrHookSpecified, dX as downloadFile, dY as draggableDirective, dZ as elementMountedDirective, d_ as ensureFieldInSelect, d$ as escapeSoqlString, e0 as evaluateAccessor, e1 as evaluateCreateCanvasDefaultName, e2 as evaluateIsExecutedCondition, e3 as evaluateIsExecutedForPascalCaseEvent, e4 as executeWithDoublingTime, e5 as exitFullscreen, e6 as extractFieldNamesFromCondition, e7 as fallbackLocale, e8 as fetchAll, e9 as fetchAllWithOffset, ea as fetchFirstChunkAndRemainingAsync, eb as filterSidebarApps, ec as filterTreeBy, ed as findAllEmbeddableTypesInCanvasContent, ee as findAllEmbeddableTypesInSectionsContent, ef as findEmbeddableInCanvasContent, eg as findEmbeddableInSectionsContent, eh as findMainFromClause, ei as findNodeInTreeByCondition, ej as findNodeInTreeById, ek as findNodeInTreeByType, el as findParentByNodeId, em as flattenUserProperties, en as formatDate, eo as formatDateDetailed, ep as formatDateTime, eq as formatDateTimeAgo, er as formatDayMonthBasedOnBrowserLang, es as formatDimensionForGotenberg, et as formatUserName, eu as generateAIThumbnailUrl, ev as getAllPages, ew as getAppConfigFromAppSource, ex as getAppIconProps, ey as getAvailableApis, ez as getComponentDescription, eA as getComponentKeywords, eB as getComponentTitle, eC as getContrastTextColor, eD as getDefinedProps, eE as getEventColor, eF as getExcessItemsIndexes, eG as getFontAwesomeIconNameAndType, eH as getFreezeStatus, eI as getImageSize, eJ as getLocalOverrideUrl, eK as getLuminance, eL as getNextPageParam, eM as getNodeDisplayNameByComponentType, eN as getNumberWithRegex, eO as getPageQuantity, eP as getPageRange, eQ as getPreviewUrl, eR as getRoleIcon, eS as getSalesforceApiVersion, eT as getSectionGlobalComponentSpacing, eU as getSortTierIndex, eV as handleThemeAssetComparison, eW as hasAppTypeDefined, eX as highLevelApi, eY as indirectEval, eZ as insertItemSorted, e_ as isAfter, e$ as isBefore, f0 as isBeforeMinDate, f1 as isCanvasDrawerApp, f2 as isCanvasSectionExecution, f3 as isEmbeddableWithZeroHeight, f4 as isFileViewerReplacement, f5 as isFirefox, f6 as isFullscreen, f7 as isHeadlessOrNotAvailableApp, f8 as isImageAccessible, f9 as isIosDevice, fa as isMac, fb as isMobile, fc as isModifierClick, fd as isNonMemberRole, fe as isOriginValid, ff as isPastMaxDate, fg as isPitcherOrIosDevice, fh as isPitcherWkWebView, fi as isPostcallApp, fj as isQueryParamTruthy, fk as isSafari, fl as isSafariOnIosDevice, fm as isSameOrAfter, fn as isSameOrBefore, fo as isTextComponentEmpty, fp as isTheUiItself, fq as isTouchScreen, fr as isValidHex, fs as isWindows, ft as lightThemeOverrides, fu as loadCustomHelpersFromApps, fv as loadRemoteScriptWithCtx, fw as loadScript, fx as loadScriptStyle, fy as loadStyle, fz as localeDropdownOptions, fA as localeNames, fB as locales, fC as mergeTieredRecords, fD as mergeWithArrayReplacement, fE as minFutureDate, fF as minPastDate, fG as moveNodeTo, fH as msToSeconds, fI as navigateTo, fJ as normalizeFilterParams, fK as normalizeNetworkFilterParams, fL as openUsdz, fM as parseCollectionPlayerSlidesToContentSelector, fN as parseContentSelectorToCollectionPlayerSlides, fO as parseFileToCollectionPlayer, fP as parsePdfFileToCollectionPlayer, fQ as parsePptxFileToCollectionPlayer, fR as parseSortPriority, fS as pascalCaseKeys, fT as pickTemplateUserFields, fU as pptConversionSelector, fV as processCanvasForSectionThemeOverride, fW as regenerateTreeIds, fX as registerCustomHelper, fY as registerCustomHelpers, fZ as registerPeerConnectivityHandler, f_ as renderTemplate, f$ as replaceThemePresetsWithInlineStyles, g0 as replaceTranslationMessagesWithOverrides, g1 as requestFullscreen, g2 as requestStream, g3 as scrollCanvasToTop, g4 as scrollToComponentById, g5 as secondsToHumanReadable, g6 as sendPeerConnectivityEvent, g7 as setDateTime, g8 as shouldDisplayPlaceholderComponent, g9 as shouldOpenInCollectionPlayerViewer, ga as shouldShowEmbeddable, gb as shouldShowInSidebar, gc as skipElementsInTree, gd as snakeCaseKeys, ge as someNodeInTree, gf as sortCollectionByString, gg as sortRecordsByTier, gh as splitUserName, gi as stringToHslColor, gj as supportedLocales, gk as tapDirective, gl as titleCase, gm as toggleFullscreen, gn as tooltipDirective, go as transformFilesToCollectionPlayer, gp as transformFilesToContentGrid, gq as updateFirstCollectionPlayerWithShareboxItems, gr as updateFirstContentGridWithShareboxItems, gs as urlSafeFetchInChunks, gt as useAdmin, gu as useAdminAndDsrState, gv as useApi, gw as useAppsDb, gx as useBindValidation, gy as useBroadcastRouteChange, gz as useCanvasById, gA as useCanvasLocks, gB as useCanvasOverlay, gC as useCanvasVisibility, gD as useCanvasesAsInfinity, gE as useCollectionPlayerOverlay, gF as useCommentTracking, gG as useConfirmation, gH as useDsr, gI as useFetchCanvases, gJ as useFetchUsers, gK as useFileDisplayHelpers, gL as useFolderNameDescription, gM as useGlobalSearch, gN as useHomeCustomization, gO as useInfiniteScroll, gP as useLocation, gQ as useMetadataSearch, gR as useMetadataTemplates, gS as useNotesApp, gT as useNotification, gU as useOpenFileStack, gV as usePitcherApi, gW as usePolling, gX as usePresentationHistory, gY as useShareCanvas, gZ as useSharedCommentsStorage, g_ as useSmartStore, g$ as useSuggestedTags, h0 as useTheme, h1 as useThemeVars, h2 as useToast, h3 as useUi, h4 as useWindowEvents, h5 as vueQueryPluginOptions, h6 as wait, h7 as waitForIframeInitialize, h8 as waitForValue } from './main.lib-DUkPvuS2.js';
|
|
1
|
+
export { A as ADMIN_API_METHOD_TYPES, a as ADMIN_API_TYPES, b as ADMIN_MESSAGE, c as ADMIN_MESSAGE_TYPES, d as APPS_DB, e as AccessTypeEnum, f as AgendaSelectorApp, g as AppTypeEnum, h as AssetsManagerApp, i as Browser, B as BulkUpdateMetadataOperationEnum, j as BulkUpdateTagsOperationEnum, C as CALL_STORAGE_KEY, k as CANVASES, l as CANVAS_HOOKS, m as CANVAS_TYPOGRAPHY_CSS_PROPERTIES, n as CANVAS_TYPOGRAPHY_PRESETS, o as CAlgoliaSearch, p as CAssignedCanvasesManagement, q as CAssignedCanvasesManagementToolbar, r as CAvatar, s as CBlockManagement, t as CButton, u as CCanvasDeleteDialogContent, v as CCanvasMetadataFilters, w as CCanvasSelector, x as CCard, y as CCarousel, z as CCatalogIqSwitcher, D as CCheckbox, E as CChip, F as CCollapse, G as CCollapseItem, H as CCollapseTransition, N as CColorPicker, I as CComponentListItem, J as CConfigEditor, K as CConfigProvider, L as CConfirmationAction, M as CConfirmationContent, O as CConfirmationHeader, P as CConfirmationModal, Q as CContactSelector, R as CContactSelectorSelected, S as CContentError, T as CCreateCanvasModal, U as CCreateTemplateSectionBlockModal, V as CCreateThemeModal, W as CDP_EVENT_TYPE, X as CDataTable, Y as CDatePicker, Z as CDateRangeFilter, $ as CDetailPageSectionButtons, a0 as CDialogProvider, a1 as CDivider, a2 as CDrawer, a3 as CDrawerContent, a4 as CDropdown, a5 as CEmpty, a6 as CEntitySelector, a7 as CErrorFullScreen, a8 as CFeedback, a9 as CFileAccessManagement, aa as CFileAttributes, ab as CFilePanel, ac as CFileThumbnail, ad as CFileViewer, ae as CFilesAccessInfo, af as CFilesAccessManage, ag as CFilesFolderDeleteDialogContent, ah as CFolderTreeMultiPicker, ai as CForm, aj as CFormItem, ak as CFormItemCol, al as CFormItemGi, al as CFormItemGridItem, am as CFormItemRow, an as CFullScreenLoader, ao as CGi, ap as CGlobalLoader, aq as CGlobalSearch, ar as CGlobalStyle, as as CGrid, ao as CGridItem, at as CGroupsAccessInfo, au as CH1, av as CH2, aw as CH3, ax as CH4, ay as CH5, az as CH6, aA as CHelpText, aB as CIcon, aC as CImage, aD as CInfoBadge, aE as CInput, aF as CInputNumber, aG as CKnockNotificationsAppWrapper, aH as CLIENT_TYPE, aI as CLayout, aJ as CLayoutContent, aK as CLayoutFooter, aL as CLayoutHeader, aM as CLayoutSider, aN as CList, aO as CMessageProvider, aP as CMetaDataBadge, aQ as CModal, aR as CMonacoEditor, aS as CMovableWidget, aT as CMultiSelect, aU as CNotificationProvider, aV as CPagination, aW as CPillSelect, aX as CPopover, aY as CProcessingOverlay, aZ as CProgress, a_ as CRichTextEditor, a$ as CSavedCanvasesManagement, b0 as CSearch, b1 as CSearchOnClick, b2 as CSearchOnClickWithSuggestions, b3 as CSecondaryNav, b4 as CSectionManagement, b5 as CSelect, b6 as CSelectFilter, b7 as CSettingsEditor, b8 as CShortcut, b9 as CSideBar, ba as CSideBarDivider, bb as CSideBarItem, bc as CSideBarLabel, bd as CSideBarToggle, be as CSingleSelect, bf as CSkeleton, bg as CSlideViewer, bh as CSpace, bi as CSpin, bj as CSwitch, bk as CTable, bl as CTableInput, bm as CTableMore, bn as CTableSelect, bo as CTableTag, bp as CTag, bq as CTags, br as CTemplateAccessInfo, bs as CTemplateAccessManage, bt as CTemplateManagement, bu as CText, bv as CThemeEditor, bw as CThemeManagement, bx as CToastProvider, by as CToolbar, bz as CTooltip, bA as CUpsertFolderModal, bB as CUserAvatar, bC as CUserMenu, bD as CUsersAccessInfo, bE as CUsersGroupsAccessManage, bF as CVirtualTable, bG as CWarningAlert, bH as CallState, bI as CanvasActions, bJ as CanvasBuilderApp, bK as CanvasBuilderMode, bL as CanvasExcludedComponentTypesEnum, bM as CanvasHistoryAction, bN as CanvasSelector, bO as CanvasStatus, bP as CanvasThemeStatus, bQ as CanvasesViewsTypes, bR as CollaborationRoleEnum, bS as CollectionPlayerApp, bT as CollectionSelectorApp, bU as ComponentIcon, bV as ComponentTypes, bW as ContactSelectorQuickFilterType, bX as ContentGridLayoutTypes, bY as ContentSelector, bZ as CoreFolderEntityType, b_ as DATE_TIME_FORMAT, b$ as DEFAULT_ADMIN_TABLE_HEIGHT, c0 as DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, c1 as DEFAULT_GLOBAL_COMPONENT_SPACING, c2 as DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, c3 as DEFAULT_ITEMS_PER_PAGE, c4 as DEFAULT_PAGE_SIZE, c5 as DEFAULT_PAGE_SIZE_OPTIONS, c6 as DEFAULT_PEER_CONNECTIVITY_VERSION, c7 as DEFAULT_PITCHER_SETTINGS, c8 as DEFAULT_SFDC_API_VERSION, c9 as DSR_API_METHOD_TYPES, ca as DSR_API_TYPES, cb as DSR_MESSAGE, cc as DSR_MESSAGE_TYPES, cd as DSR_TYPE, ce as DefaultExpiresAtEnum, cf as DownloadTypeEnum, cg as EMBED_TYPE, ch as EventAction, ci as EventExternalObjectContentTypeEnum, cj as EventStatusEnum, ck as FileContentTypeEnum, cl as FileStatusEnum, cm as FileTypeEnum, cn as GlobalSearchResultType, co as GridLayoutTypes, cp as HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, cq as HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, cr as HIDE_TAGS_WITH_PREFIX, cs as HomeCustomizeCog, ct as HomeCustomizeEmptyState, cu as HomeCustomizePanel, cv as HomeCustomizeRow, cw as HtmlLayoutTypes, cx as IFRAME_ACTION_TYPES, cy as IFRAME_DATA_MESSAGE, cz as INITIAL_CALL_STATE, cA as IS_DEV_ORG, cB as IS_LOCALHOST, cC as InstanceMembershipRoleEnum, cD as InstanceMembershipUserStatusEnum, cE as InvitationStatusEnum, cF as LanguageEnum, cG as LinkAlignmentTypes, cH as LinkAnchorTypes, cI as LinkPreviewTypes, cJ as MAX_LUMINANCE_FOR_LIGHT_TEXT, cK as MAX_UPLOAD_SIZE, cL as MIN_DIFFERENCE_IN_MINUTES, cM as MetadataTemplateFieldTypeEnum, cN as MultimediaHorizontalAlignmentOptions, cO as NON_MEMBER_ROLES, cP as NotesApp, cQ as OperatorEnum, cR as PAPER_SIZE_PRESETS, cS as PEER_CONNECTIVITY_EVENT, cT as PEER_CONNECTIVITY_HANDLER_MATCH_ALL, cU as PITCHER_EVENT, cV as PITCHER_SETTINGS_KEY, cW as PLATFORM_TYPE, cX as PRINT_SCALE_FACTOR, cY as PeerConnectivityActions, cZ as PitcherBroadcastedEventName, c_ as PitcherEventName, c$ as PitcherExternalEventName, d0 as PitcherMessageType, d1 as PitcherResponseStatus, d2 as PostAction, d3 as PptConversionSelectorApp, d4 as REQUEST_DEFAULT_CANCEL_TIMEOUT, d5 as SEARCH_DEBOUNCE_TIME, d6 as SUPPORTED_FONT_EXTENSIONS, d7 as SUPPORTED_FONT_TYPES, d8 as SUPPORTED_IMAGE_EXTENSIONS, d9 as SUPPORTED_IMAGE_TYPES, da as SUPPORTED_UPLOAD_FILE_EXTENSIONS, db as SUPPORTED_VIDEO_EXTENSIONS, dc as SUPPORTED_VIDEO_TYPES, dd as SfEventColors, de as SfEventColorsLight, df as StorageRegionEnum, dg as TRACKING_EVENTS_STORAGE_KEY, dh as UI_API_METHOD_TYPES, di as UI_MESSAGE, dj as UI_MESSAGE_TYPES, dk as UI_NATIVE_MESSAGE_TYPES, dl as USER_TEMPLATE_DISALLOWED_KEYS, dm as UserRoleEnum, dn as ViewCompactItemType, dp as addAndCondition, dq as addCanvasComponent, dr as agendaSelector, ds as appRequiresCrm, dt as applyCanvasThemeAssetsToNode, du as applyFont, dv as applyToTreeBy, dw as autofocusDirective, dx as buildSortTierConditions, dy as camelCaseKeys, dz as canvasUiUnoPreset, dA as clearLocalStorageIfNeeded, dB as clickOutsideDirective, dC as collectAllNodesByCondition, dD as collectionPlayer, dE as collectionSelector, dF as componentIconType, dG as computeLocalStorageBytes, dH as convertSecondsToMinutes, dI as convertSoqlToSmartQuery, dJ as convertToPixels, dK as convertToSosl, dL as createNodeId, dM as createPitcherSettings, dN as dayjs, dO as deepDiff, dP as deepToRaw, dQ as derivePatchRequestFields, dR as determineUserRole, dS as discardSectionComponentOverride, dT as displayBytesWithMUnit, dU as displayIntegerWithMunit, dV as doesLocalOverrideExist, dW as doesNotHaveAnyModuleOrHookSpecified, dX as downloadFile, dY as draggableDirective, dZ as elementMountedDirective, d_ as ensureFieldInSelect, d$ as escapeSoqlString, e0 as evaluateAccessor, e1 as evaluateCreateCanvasDefaultName, e2 as evaluateIsExecutedCondition, e3 as evaluateIsExecutedForPascalCaseEvent, e4 as executeWithDoublingTime, e5 as exitFullscreen, e6 as extractFieldNamesFromCondition, e7 as fallbackLocale, e8 as fetchAll, e9 as fetchAllWithOffset, ea as fetchFirstChunkAndRemainingAsync, eb as filterSidebarApps, ec as filterTreeBy, ed as findAllEmbeddableTypesInCanvasContent, ee as findAllEmbeddableTypesInSectionsContent, ef as findEmbeddableInCanvasContent, eg as findEmbeddableInSectionsContent, eh as findMainFromClause, ei as findNodeInTreeByCondition, ej as findNodeInTreeById, ek as findNodeInTreeByType, el as findParentByNodeId, em as flattenUserProperties, en as formatDate, eo as formatDateDetailed, ep as formatDateTime, eq as formatDateTimeAgo, er as formatDayMonthBasedOnBrowserLang, es as formatDimensionForGotenberg, et as formatUserName, eu as generateAIThumbnailUrl, ev as getAllPages, ew as getAppConfigFromAppSource, ex as getAppIconProps, ey as getAvailableApis, ez as getComponentDescription, eA as getComponentKeywords, eB as getComponentTitle, eC as getContrastTextColor, eD as getDefinedProps, eE as getEventColor, eF as getExcessItemsIndexes, eG as getFontAwesomeIconNameAndType, eH as getFreezeStatus, eI as getImageSize, eJ as getLocalOverrideUrl, eK as getLuminance, eL as getNextPageParam, eM as getNodeDisplayNameByComponentType, eN as getNumberWithRegex, eO as getPageQuantity, eP as getPageRange, eQ as getPreviewUrl, eR as getRoleIcon, eS as getSalesforceApiVersion, eT as getSectionGlobalComponentSpacing, eU as getSortTierIndex, eV as handleThemeAssetComparison, eW as hasAppTypeDefined, eX as highLevelApi, eY as indirectEval, eZ as insertItemSorted, e_ as isAfter, e$ as isBefore, f0 as isBeforeMinDate, f1 as isCanvasDrawerApp, f2 as isCanvasSectionExecution, f3 as isEmbeddableWithZeroHeight, f4 as isFileViewerReplacement, f5 as isFirefox, f6 as isFullscreen, f7 as isHeadlessOrNotAvailableApp, f8 as isImageAccessible, f9 as isIosDevice, fa as isMac, fb as isMobile, fc as isModifierClick, fd as isNonMemberRole, fe as isOriginValid, ff as isPastMaxDate, fg as isPitcherOrIosDevice, fh as isPitcherWkWebView, fi as isPostcallApp, fj as isQueryParamTruthy, fk as isSafari, fl as isSafariOnIosDevice, fm as isSameOrAfter, fn as isSameOrBefore, fo as isTextComponentEmpty, fp as isTheUiItself, fq as isTouchScreen, fr as isValidHex, fs as isWindows, ft as lightThemeOverrides, fu as loadCustomHelpersFromApps, fv as loadRemoteScriptWithCtx, fw as loadScript, fx as loadScriptStyle, fy as loadStyle, fz as localeDropdownOptions, fA as localeNames, fB as locales, fC as mergeTieredRecords, fD as mergeWithArrayReplacement, fE as minFutureDate, fF as minPastDate, fG as moveNodeTo, fH as msToSeconds, fI as navigateTo, fJ as normalizeFilterParams, fK as normalizeNetworkFilterParams, fL as openUsdz, fM as parseCollectionPlayerSlidesToContentSelector, fN as parseContentSelectorToCollectionPlayerSlides, fO as parseFileToCollectionPlayer, fP as parsePdfFileToCollectionPlayer, fQ as parsePptxFileToCollectionPlayer, fR as parseSortPriority, fS as pascalCaseKeys, fT as pickTemplateUserFields, fU as pptConversionSelector, fV as processCanvasForSectionThemeOverride, fW as regenerateTreeIds, fX as registerCustomHelper, fY as registerCustomHelpers, fZ as registerPeerConnectivityHandler, f_ as renderTemplate, f$ as replaceThemePresetsWithInlineStyles, g0 as replaceTranslationMessagesWithOverrides, g1 as requestFullscreen, g2 as requestStream, g3 as scrollCanvasToTop, g4 as scrollToComponentById, g5 as secondsToHumanReadable, g6 as sendPeerConnectivityEvent, g7 as setDateTime, g8 as shouldDisplayPlaceholderComponent, g9 as shouldOpenInCollectionPlayerViewer, ga as shouldShowEmbeddable, gb as shouldShowInSidebar, gc as skipElementsInTree, gd as snakeCaseKeys, ge as someNodeInTree, gf as sortCollectionByString, gg as sortRecordsByTier, gh as splitUserName, gi as stringToHslColor, gj as supportedLocales, gk as tapDirective, gl as titleCase, gm as toggleFullscreen, gn as tooltipDirective, go as transformFilesToCollectionPlayer, gp as transformFilesToContentGrid, gq as updateFirstCollectionPlayerWithShareboxItems, gr as updateFirstContentGridWithShareboxItems, gs as urlSafeFetchInChunks, gt as useAdmin, gu as useAdminAndDsrState, gv as useApi, gw as useAppsDb, gx as useBindValidation, gy as useBroadcastRouteChange, gz as useCanvasById, gA as useCanvasLocks, gB as useCanvasOverlay, gC as useCanvasVisibility, gD as useCanvasesAsInfinity, gE as useCollectionPlayerOverlay, gF as useCommentTracking, gG as useConfirmation, gH as useDsr, gI as useFetchCanvases, gJ as useFetchUsers, gK as useFileDisplayHelpers, gL as useFolderNameDescription, gM as useGlobalSearch, gN as useHomeCustomization, gO as useInfiniteScroll, gP as useLocation, gQ as useMetadataSearch, gR as useMetadataTemplates, gS as useNotesApp, gT as useNotification, gU as useOpenFileStack, gV as usePitcherApi, gW as usePolling, gX as usePresentationHistory, gY as useShareCanvas, gZ as useSharedCommentsStorage, g_ as useSmartStore, g$ as useSuggestedTags, h0 as useTheme, h1 as useThemeVars, h2 as useToast, h3 as useUi, h4 as useWindowEvents, h5 as vueQueryPluginOptions, h6 as wait, h7 as waitForIframeInitialize, h8 as waitForValue } from './main.lib-Bl0Ftvzu.js';
|
|
2
2
|
//# sourceMappingURL=canvas-ui.js.map
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { FileRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
import { ContentListSection } from '../../../types/canvas';
|
|
4
|
+
/**
|
|
5
|
+
* PIT-6436: this file cache is module-level and keyed only by `file_id`, with no version
|
|
6
|
+
* awareness — once a file is loaded it is never re-fetched. After a deck's file was re-uploaded
|
|
7
|
+
* (new version), the navigator / ContentList kept serving the PREVIOUS version's
|
|
8
|
+
* `content_thumbnails` (the old `versions/<old>/thumbnail-N.webp`, which still exists since
|
|
9
|
+
* versions are immutable). The backend regenerates thumbnails per version correctly — this is
|
|
10
|
+
* purely a stale client cache. Drop it whenever a deck is (re)loaded so its files are re-fetched
|
|
11
|
+
* at the current version. Called from `useCanvas` right after `activeCanvas` is set.
|
|
12
|
+
*/
|
|
13
|
+
export declare const resetLoadedFiles: () => void;
|
|
4
14
|
declare const _default: () => {
|
|
5
15
|
files: {
|
|
6
16
|
loading: Record<string, true>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FileRetrieve } from '../../../../../../types/openapi';
|
|
2
|
+
/**
|
|
3
|
+
* Resolve the CURRENT 0-based slide index for a content-backed section.
|
|
4
|
+
*
|
|
5
|
+
* PIT-6436: a ContentList entry stores a denormalized `page_index` (and `component_id`
|
|
6
|
+
* `<file>_page_N`) that is baked when the slide is added. When the file is re-uploaded with
|
|
7
|
+
* reordered pages those go stale, so the navigator / ContentList thumbnail pointed at a different
|
|
8
|
+
* slide than the section actually renders. The section's `content_background.page_id` is stable,
|
|
9
|
+
* so resolve the live position through it against the file's current `pptx_data.slides` — the same
|
|
10
|
+
* basis the Scribble read-path uses (#4677).
|
|
11
|
+
*
|
|
12
|
+
* Returns null when there is no `page_id` or it can't be found in the current slides, so callers
|
|
13
|
+
* fall back to the stored `page_index`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function resolveCurrentSlideIndex(sectionContentData: unknown, file: FileRetrieve | undefined): number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Resolve a content section's CURRENT slide thumbnail URL from its Scribble's `backgroundImage`,
|
|
18
|
+
* which the read-path refreshes to the live file version + page (#4673).
|
|
19
|
+
*
|
|
20
|
+
* PIT-6436: the SectionList navigator branch otherwise falls back to the section's stored
|
|
21
|
+
* `thumbnail_url` / `metadata.thumbnail` / `slide_preview`, which are baked at section creation and
|
|
22
|
+
* are NOT refreshed on read — so after a re-upload they point at the old version + old page. The
|
|
23
|
+
* Scribble background is the same source the main slide renders from, so it stays in sync.
|
|
24
|
+
*
|
|
25
|
+
* Returns null when there is no content-background node or it has no background image, so callers
|
|
26
|
+
* fall back to the stored thumbnail (byte-identical for non-slide sections).
|
|
27
|
+
*/
|
|
28
|
+
export declare function resolveCurrentSectionThumbnailUrl(sectionContentData: unknown): string | null;
|
|
@@ -6212,7 +6212,9 @@ export default function useCanvas(): {
|
|
|
6212
6212
|
removeComponent: (id: ComponentNode["id"], sectionId?: CanvasRetrieve["id"]) => void;
|
|
6213
6213
|
removeComponentById: (id: ComponentNode["id"]) => void;
|
|
6214
6214
|
resetChildrenOfNodeById: (id: ComponentNode["id"]) => void;
|
|
6215
|
-
setActiveCanvas: (newCanvas: CanvasRetrieve
|
|
6215
|
+
setActiveCanvas: (newCanvas: CanvasRetrieve, { isDeckLoad }?: {
|
|
6216
|
+
isDeckLoad?: boolean;
|
|
6217
|
+
}) => void;
|
|
6216
6218
|
setAddMode: (type: false | ComponentTypes, parentId?: ComponentNode["id"] | null, afterSiblingId?: ComponentNode["id"] | null) => void;
|
|
6217
6219
|
setCanvasContent: ({ content, component }: {
|
|
6218
6220
|
content: ComponentNode[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -93448,6 +93448,12 @@ const files = reactive({
|
|
|
93448
93448
|
loaded: {}
|
|
93449
93449
|
});
|
|
93450
93450
|
const isFileProcessed = (id) => id in files.loading || id in files.loaded;
|
|
93451
|
+
const cacheEpoch = ref(0);
|
|
93452
|
+
const resetLoadedFiles = () => {
|
|
93453
|
+
cacheEpoch.value += 1;
|
|
93454
|
+
for (const id of Object.keys(files.loading)) delete files.loading[id];
|
|
93455
|
+
for (const id of Object.keys(files.loaded)) delete files.loaded[id];
|
|
93456
|
+
};
|
|
93451
93457
|
const getMissingItems = (newItems) => {
|
|
93452
93458
|
const missingFiles = /* @__PURE__ */ new Set();
|
|
93453
93459
|
newItems.forEach((item) => {
|
|
@@ -93514,15 +93520,20 @@ const useContentStore = () => {
|
|
|
93514
93520
|
}
|
|
93515
93521
|
}
|
|
93516
93522
|
const watchMissingFiles = (rawItems) => watch(
|
|
93517
|
-
|
|
93518
|
-
|
|
93523
|
+
// Also watch cacheEpoch so a reset (deck (re)load/switch) re-queues the fetch even when the
|
|
93524
|
+
// section list reference is unchanged — the reset clears the cache, so getMissingItems then
|
|
93525
|
+
// sees every file as missing and refetches.
|
|
93526
|
+
[rawItems, cacheEpoch],
|
|
93527
|
+
async ([newItems]) => {
|
|
93519
93528
|
const { missingFiles } = getMissingItems(newItems);
|
|
93520
93529
|
if (missingFiles.length === 0) return;
|
|
93530
|
+
const epoch = cacheEpoch.value;
|
|
93521
93531
|
missingFiles.forEach((id) => files.loading[id] = true);
|
|
93522
93532
|
const fileResponse = isSetListFilesApi.value ? await listFiles.value?.({
|
|
93523
93533
|
filters: { id__in: missingFiles.join(",") },
|
|
93524
93534
|
fields: [...DEFAULT_FILE_FIELDS, "content_thumbnails"].join(",")
|
|
93525
93535
|
}) : await fetchFiles(missingFiles);
|
|
93536
|
+
if (epoch !== cacheEpoch.value) return;
|
|
93526
93537
|
fileResponse?.forEach((file) => {
|
|
93527
93538
|
if (file) {
|
|
93528
93539
|
files.loaded[file.id] = file;
|
|
@@ -93538,6 +93549,54 @@ const useContentStore = () => {
|
|
|
93538
93549
|
};
|
|
93539
93550
|
};
|
|
93540
93551
|
|
|
93552
|
+
function extractUrlFromCssBackgroundImage(input) {
|
|
93553
|
+
if (!input) return null;
|
|
93554
|
+
if (!input.startsWith("url(")) return input;
|
|
93555
|
+
const regex = /url\(['"]?(.*?)['"]?\)/;
|
|
93556
|
+
const match = regex.exec(input);
|
|
93557
|
+
return match ? match[1] : null;
|
|
93558
|
+
}
|
|
93559
|
+
function isValidUrl(urlString) {
|
|
93560
|
+
const urlPattern = new RegExp(
|
|
93561
|
+
"^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$",
|
|
93562
|
+
// validate fragment
|
|
93563
|
+
"i"
|
|
93564
|
+
);
|
|
93565
|
+
return !!urlPattern.test(urlString);
|
|
93566
|
+
}
|
|
93567
|
+
function enforceHttps(url) {
|
|
93568
|
+
let secureUrl = url.trim().replace(/^https?:\/\//i, "https://");
|
|
93569
|
+
if (!secureUrl.startsWith("https://")) {
|
|
93570
|
+
secureUrl = "https://" + secureUrl;
|
|
93571
|
+
}
|
|
93572
|
+
return secureUrl;
|
|
93573
|
+
}
|
|
93574
|
+
|
|
93575
|
+
function findContentBackgroundNode(nodes) {
|
|
93576
|
+
for (const node of nodes) {
|
|
93577
|
+
if (node?.data?.content_background?.page_id != null) return node;
|
|
93578
|
+
if (Array.isArray(node?.children)) {
|
|
93579
|
+
const nested = findContentBackgroundNode(node.children);
|
|
93580
|
+
if (nested) return nested;
|
|
93581
|
+
}
|
|
93582
|
+
}
|
|
93583
|
+
return null;
|
|
93584
|
+
}
|
|
93585
|
+
function resolveCurrentSlideIndex(sectionContentData, file) {
|
|
93586
|
+
const nodes = Array.isArray(sectionContentData) ? sectionContentData : [];
|
|
93587
|
+
const pageId = findContentBackgroundNode(nodes)?.data?.content_background?.page_id;
|
|
93588
|
+
const slides = file?.metadata?.pptx_data?.slides;
|
|
93589
|
+
if (pageId == null || !Array.isArray(slides)) return null;
|
|
93590
|
+
const idx = slides.findIndex((slide) => String(slide?.id) === String(pageId));
|
|
93591
|
+
return idx >= 0 ? idx : null;
|
|
93592
|
+
}
|
|
93593
|
+
function resolveCurrentSectionThumbnailUrl(sectionContentData) {
|
|
93594
|
+
const nodes = Array.isArray(sectionContentData) ? sectionContentData : [];
|
|
93595
|
+
const backgroundImage = findContentBackgroundNode(nodes)?.style?.backgroundImage;
|
|
93596
|
+
if (!backgroundImage) return null;
|
|
93597
|
+
return extractUrlFromCssBackgroundImage(backgroundImage) ?? null;
|
|
93598
|
+
}
|
|
93599
|
+
|
|
93541
93600
|
const mergeWithArrayReplacement = (...sources) => mergeWith({}, ...sources, (_objValue, srcValue) => {
|
|
93542
93601
|
if (Array.isArray(srcValue)) return srcValue;
|
|
93543
93602
|
return void 0;
|
|
@@ -93904,6 +93963,8 @@ const navigationItems = computed(() => {
|
|
|
93904
93963
|
if (fileId && files.loaded?.[fileId]) {
|
|
93905
93964
|
file = files.loaded?.[fileId];
|
|
93906
93965
|
pageIndex = contentListData?.sections?.[index]?.page_index;
|
|
93966
|
+
const resolvedIndex = resolveCurrentSlideIndex(section?.content?.data, file);
|
|
93967
|
+
if (resolvedIndex != null) pageIndex = resolvedIndex;
|
|
93907
93968
|
const newName = files.loaded?.[fileId]?.name;
|
|
93908
93969
|
if (newName) {
|
|
93909
93970
|
name = newName;
|
|
@@ -93915,7 +93976,12 @@ const navigationItems = computed(() => {
|
|
|
93915
93976
|
id: component.id,
|
|
93916
93977
|
name,
|
|
93917
93978
|
pageIndex,
|
|
93918
|
-
thumbnailUrl: file ? file?.content_thumbnails?.[pageIndex ?? 0] :
|
|
93979
|
+
thumbnailUrl: file ? file?.content_thumbnails?.[pageIndex ?? 0] : (
|
|
93980
|
+
// PIT-6436: prefer the section's resolved Scribble backgroundImage (refreshed to
|
|
93981
|
+
// the live version+page by #4677/#4673) over the baked-stale thumbnail_url /
|
|
93982
|
+
// slide_preview; fall back to the stored thumbnail for non-slide sections.
|
|
93983
|
+
resolveCurrentSectionThumbnailUrl(section?.content?.data) ?? section.metadata?.thumbnail ?? section.thumbnail_url ?? ""
|
|
93984
|
+
),
|
|
93919
93985
|
type: "Section",
|
|
93920
93986
|
uniqueId: `Nav-${component.id}-${section.id}`,
|
|
93921
93987
|
metadata: section.metadata,
|
|
@@ -94057,7 +94123,7 @@ const initialize = (props, launchDarkly) => {
|
|
|
94057
94123
|
props.inCall && (inCall.value = props.inCall);
|
|
94058
94124
|
props.isRedirectEvent && (isRedirectEvent.value = props.isRedirectEvent);
|
|
94059
94125
|
setEmbeddedAppSession();
|
|
94060
|
-
setActiveCanvas(cloneDeep(props.activeCanvas));
|
|
94126
|
+
setActiveCanvas(cloneDeep(props.activeCanvas), { isDeckLoad: true });
|
|
94061
94127
|
if (props.activeCanvas?.is_block && mode.value === CanvasBuilderMode.IMPACT) {
|
|
94062
94128
|
replaceWithMyBlockOverrides();
|
|
94063
94129
|
}
|
|
@@ -94104,7 +94170,7 @@ const updateActiveCanvasProperties = (newProperties) => {
|
|
|
94104
94170
|
};
|
|
94105
94171
|
const applyExternalCanvasUpdate = (next) => {
|
|
94106
94172
|
if (needsDeepRefresh(activeCanvas.value, next)) {
|
|
94107
|
-
setActiveCanvas(cloneDeep(next));
|
|
94173
|
+
setActiveCanvas(cloneDeep(next), { isDeckLoad: true });
|
|
94108
94174
|
} else {
|
|
94109
94175
|
updateActiveCanvasProperties(next);
|
|
94110
94176
|
}
|
|
@@ -94152,7 +94218,7 @@ async function replaceWithMyBlockOverrides() {
|
|
|
94152
94218
|
}
|
|
94153
94219
|
});
|
|
94154
94220
|
}
|
|
94155
|
-
const setActiveCanvas = (newCanvas) => {
|
|
94221
|
+
const setActiveCanvas = (newCanvas, { isDeckLoad = false } = {}) => {
|
|
94156
94222
|
const { resetCanvasHistory } = useCanvasHistory();
|
|
94157
94223
|
try {
|
|
94158
94224
|
let data = newCanvas?.content?.data ? simpleDeepClone(newCanvas.content).data : [];
|
|
@@ -94168,6 +94234,7 @@ const setActiveCanvas = (newCanvas) => {
|
|
|
94168
94234
|
resetCanvasHistory();
|
|
94169
94235
|
const overrides = newCanvas?.content?.overrides ? simpleDeepClone(newCanvas.content).overrides : {};
|
|
94170
94236
|
activeCanvas.value = newCanvas;
|
|
94237
|
+
if (isDeckLoad) resetLoadedFiles();
|
|
94171
94238
|
canvasContent.value = data;
|
|
94172
94239
|
sectionComponentOverrides.value = overrides;
|
|
94173
94240
|
canvasHomePage.value = newCanvas?.content?.home_page ? { ...newCanvas.content.home_page } : null;
|
|
@@ -121694,12 +121761,21 @@ function useCanvasContext() {
|
|
|
121694
121761
|
myUser: myUser.value,
|
|
121695
121762
|
showDefault: true
|
|
121696
121763
|
});
|
|
121697
|
-
|
|
121764
|
+
const merged = mergeWith({}, defaultShape, crmShape.value ?? {}, mergedCtx, (_objValue, srcValue) => {
|
|
121698
121765
|
if (Array.isArray(srcValue)) {
|
|
121699
121766
|
return srcValue;
|
|
121700
121767
|
}
|
|
121701
121768
|
return void 0;
|
|
121702
121769
|
});
|
|
121770
|
+
if (myUser.value) {
|
|
121771
|
+
if (defaultShape.user) {
|
|
121772
|
+
merged.user = defaultShape.user;
|
|
121773
|
+
}
|
|
121774
|
+
if (defaultShape.today) {
|
|
121775
|
+
merged.today = defaultShape.today;
|
|
121776
|
+
}
|
|
121777
|
+
}
|
|
121778
|
+
return merged;
|
|
121703
121779
|
});
|
|
121704
121780
|
return {
|
|
121705
121781
|
fullContext
|
|
@@ -127532,29 +127608,6 @@ const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
|
127532
127608
|
}
|
|
127533
127609
|
});
|
|
127534
127610
|
|
|
127535
|
-
function extractUrlFromCssBackgroundImage(input) {
|
|
127536
|
-
if (!input) return null;
|
|
127537
|
-
if (!input.startsWith("url(")) return input;
|
|
127538
|
-
const regex = /url\(['"]?(.*?)['"]?\)/;
|
|
127539
|
-
const match = regex.exec(input);
|
|
127540
|
-
return match ? match[1] : null;
|
|
127541
|
-
}
|
|
127542
|
-
function isValidUrl(urlString) {
|
|
127543
|
-
const urlPattern = new RegExp(
|
|
127544
|
-
"^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+:]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$",
|
|
127545
|
-
// validate fragment
|
|
127546
|
-
"i"
|
|
127547
|
-
);
|
|
127548
|
-
return !!urlPattern.test(urlString);
|
|
127549
|
-
}
|
|
127550
|
-
function enforceHttps(url) {
|
|
127551
|
-
let secureUrl = url.trim().replace(/^https?:\/\//i, "https://");
|
|
127552
|
-
if (!secureUrl.startsWith("https://")) {
|
|
127553
|
-
secureUrl = "https://" + secureUrl;
|
|
127554
|
-
}
|
|
127555
|
-
return secureUrl;
|
|
127556
|
-
}
|
|
127557
|
-
|
|
127558
127611
|
const _hoisted_1$33 = { key: 0 };
|
|
127559
127612
|
const _hoisted_2$2h = { class: "flex flex-col gap-4 mb-2" };
|
|
127560
127613
|
const _hoisted_3$1S = { class: "font-bold font-size-[20px]" };
|
|
@@ -151514,6 +151567,7 @@ const _hoisted_2$1t = { key: 2 };
|
|
|
151514
151567
|
const _hoisted_3$1a = ["id"];
|
|
151515
151568
|
const _hoisted_4$_ = { class: "w-full h-full flex items-center justify-center" };
|
|
151516
151569
|
const _hoisted_5$O = ["href"];
|
|
151570
|
+
const SELF_HEAL_ASPECT_TOLERANCE = 0.08;
|
|
151517
151571
|
const DRAG_THROTTLE = 2;
|
|
151518
151572
|
const KEYBOARD_POSITION_ADJUSTMENT_STEP = 1;
|
|
151519
151573
|
const KEYBOARD_POSITION_ADJUSTMENT_STEP_LARGE = 10;
|
|
@@ -151668,6 +151722,52 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151668
151722
|
return 0;
|
|
151669
151723
|
}
|
|
151670
151724
|
}
|
|
151725
|
+
const contentSlideRatio = ref(null);
|
|
151726
|
+
const isHealableContentSlide = computed(
|
|
151727
|
+
() => !!props.data?.content_background?.file_id && !props.children?.length
|
|
151728
|
+
);
|
|
151729
|
+
const selfHealedBoxHeightPx = computed(() => {
|
|
151730
|
+
const ratio = contentSlideRatio.value;
|
|
151731
|
+
if (!isHealableContentSlide.value || ratio == null) return null;
|
|
151732
|
+
const width = parseInt(String(props.style?.width || ACTUAL_CANVAS_WIDTH));
|
|
151733
|
+
const storedHeight = parseInt(String(props.style?.height || "500"));
|
|
151734
|
+
if (!width || Number.isNaN(width) || Number.isNaN(storedHeight)) return null;
|
|
151735
|
+
const storedAspect = storedHeight / width;
|
|
151736
|
+
if (Math.abs(storedAspect - ratio) <= ratio * SELF_HEAL_ASPECT_TOLERANCE) return null;
|
|
151737
|
+
return Math.floor(width * ratio);
|
|
151738
|
+
});
|
|
151739
|
+
let contentSlideMeasureId = 0;
|
|
151740
|
+
function measureContentSlideAspect() {
|
|
151741
|
+
const measureId = ++contentSlideMeasureId;
|
|
151742
|
+
contentSlideRatio.value = null;
|
|
151743
|
+
if (!isHealableContentSlide.value) return;
|
|
151744
|
+
const backgroundImage = props.style?.backgroundImage;
|
|
151745
|
+
if (!backgroundImage) return;
|
|
151746
|
+
const url = extractUrlFromCssBackgroundImage(backgroundImage);
|
|
151747
|
+
if (!url) return;
|
|
151748
|
+
const img = new Image();
|
|
151749
|
+
const apply = () => {
|
|
151750
|
+
if (measureId !== contentSlideMeasureId) return;
|
|
151751
|
+
if (img.naturalWidth > 0 && img.naturalHeight > 0) {
|
|
151752
|
+
contentSlideRatio.value = img.naturalHeight / img.naturalWidth;
|
|
151753
|
+
}
|
|
151754
|
+
};
|
|
151755
|
+
img.onload = apply;
|
|
151756
|
+
img.onerror = () => {
|
|
151757
|
+
if (measureId === contentSlideMeasureId) contentSlideRatio.value = null;
|
|
151758
|
+
};
|
|
151759
|
+
img.src = url;
|
|
151760
|
+
if (img.complete) apply();
|
|
151761
|
+
}
|
|
151762
|
+
watch(
|
|
151763
|
+
[
|
|
151764
|
+
() => props.style?.backgroundImage,
|
|
151765
|
+
() => props.data?.content_background?.file_id,
|
|
151766
|
+
isHealableContentSlide
|
|
151767
|
+
],
|
|
151768
|
+
measureContentSlideAspect,
|
|
151769
|
+
{ immediate: true }
|
|
151770
|
+
);
|
|
151671
151771
|
const availableHeight = computed(() => {
|
|
151672
151772
|
if (!scribbleRef.value) return 0;
|
|
151673
151773
|
const toolbarElement = isDsr.value || isFullscreen.value ? document.querySelector(".canvas-builder--progress-bar") : document.getElementById("slotty-ui-header") ?? document.querySelector(".p-app-bar");
|
|
@@ -151688,7 +151788,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151688
151788
|
const pdfHeightPx = convertToPixels(pdfHeight);
|
|
151689
151789
|
if (pdfWidthPx && pdfHeightPx && props.style?.width && props.style?.height) {
|
|
151690
151790
|
const scribbleWidthPx2 = parseInt(props.style.width);
|
|
151691
|
-
const scribbleHeightPx2 = parseInt(props.style.height);
|
|
151791
|
+
const scribbleHeightPx2 = selfHealedBoxHeightPx.value ?? parseInt(props.style.height);
|
|
151692
151792
|
const widthScale2 = pdfWidthPx / scribbleWidthPx2;
|
|
151693
151793
|
const heightScale2 = pdfHeightPx / scribbleHeightPx2;
|
|
151694
151794
|
return Math.min(widthScale2, heightScale2);
|
|
@@ -151697,7 +151797,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151697
151797
|
}
|
|
151698
151798
|
if (isEditMode.value || !scribbleRef.value || !props.style?.width || !props.style?.height) return 1;
|
|
151699
151799
|
const scribbleWidthPx = parseInt(props.style.width);
|
|
151700
|
-
const scribbleHeightPx = parseInt(props.style.height);
|
|
151800
|
+
const scribbleHeightPx = selfHealedBoxHeightPx.value ?? parseInt(props.style.height);
|
|
151701
151801
|
const availableWidth = scribbleWidth.value;
|
|
151702
151802
|
if ((isNaN(scribbleWidthPx) || scribbleWidthPx <= availableWidth) && (isNaN(scribbleHeightPx) || scribbleHeightPx <= availableHeight.value)) {
|
|
151703
151803
|
return 1;
|
|
@@ -151710,7 +151810,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151710
151810
|
if (isEditMode.value || !isFluid.value) return false;
|
|
151711
151811
|
if (!props.style?.backgroundImage || !scribbleWidth.value || !availableHeight.value) return false;
|
|
151712
151812
|
const originalWidth = parseInt(props.style?.width || `${ACTUAL_CANVAS_WIDTH}`);
|
|
151713
|
-
const originalHeight = parseInt(props.style?.height || "500");
|
|
151813
|
+
const originalHeight = selfHealedBoxHeightPx.value ?? parseInt(props.style?.height || "500");
|
|
151714
151814
|
const widthScale = scribbleWidth.value / originalWidth;
|
|
151715
151815
|
const scaledHeight = Math.round(originalHeight * widthScale);
|
|
151716
151816
|
return scaledHeight > availableHeight.value;
|
|
@@ -151726,7 +151826,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151726
151826
|
if (isEditMode.value || !isFluid.value || !shouldCenterInFluidMode.value) return 1;
|
|
151727
151827
|
if (!props.style?.backgroundImage) return 1;
|
|
151728
151828
|
const originalWidth = parseInt(props.style?.width || `${ACTUAL_CANVAS_WIDTH}`);
|
|
151729
|
-
const originalHeight = parseInt(props.style?.height || "500");
|
|
151829
|
+
const originalHeight = selfHealedBoxHeightPx.value ?? parseInt(props.style?.height || "500");
|
|
151730
151830
|
const widthScale = scribbleWidth.value / originalWidth;
|
|
151731
151831
|
const scaledHeight = Math.round(originalHeight * widthScale);
|
|
151732
151832
|
if (scaledHeight > availableHeight.value && availableHeight.value > 0) {
|
|
@@ -151751,14 +151851,14 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151751
151851
|
transform: `scale(${finalScale})`,
|
|
151752
151852
|
transformOrigin: "top left",
|
|
151753
151853
|
width: `${parseInt(props.style?.width || "0")}px`,
|
|
151754
|
-
height: `${parseInt(props.style?.height || "500")}px`
|
|
151854
|
+
height: `${selfHealedBoxHeightPx.value ?? parseInt(props.style?.height || "500")}px`
|
|
151755
151855
|
};
|
|
151756
151856
|
});
|
|
151757
151857
|
const scaledContainerStyle = computed(() => {
|
|
151758
151858
|
const scale = scaleFactor.value;
|
|
151759
151859
|
if (scale === 1) return containerStyle.value;
|
|
151760
151860
|
const originalWidth = parseInt(props.style?.width || "0");
|
|
151761
|
-
const originalHeight = parseInt(props.style?.height || "500");
|
|
151861
|
+
const originalHeight = selfHealedBoxHeightPx.value ?? parseInt(props.style?.height || "500");
|
|
151762
151862
|
let scaledStyle = {
|
|
151763
151863
|
...containerStyle.value,
|
|
151764
151864
|
width: `${originalWidth * scale}px`,
|
|
@@ -151806,7 +151906,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151806
151906
|
dynamicHeight = "auto";
|
|
151807
151907
|
} else if (isFluid.value && !isEditMode.value && props.style?.backgroundImage && scribbleWidth.value > 0) {
|
|
151808
151908
|
const originalWidth = parseInt(props.style?.width || `${ACTUAL_CANVAS_WIDTH}`);
|
|
151809
|
-
const originalHeight = parseInt(props.style?.height || "500");
|
|
151909
|
+
const originalHeight = selfHealedBoxHeightPx.value ?? parseInt(props.style?.height || "500");
|
|
151810
151910
|
const widthScale = scribbleWidth.value / originalWidth;
|
|
151811
151911
|
const scaledHeight = Math.round(originalHeight * widthScale);
|
|
151812
151912
|
if (scaledHeight > availableHeight.value && availableHeight.value > 0) {
|
|
@@ -151820,7 +151920,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
151820
151920
|
}
|
|
151821
151921
|
} else {
|
|
151822
151922
|
dynamicWidth = props.style?.width || `${ACTUAL_CANVAS_WIDTH}px`;
|
|
151823
|
-
dynamicHeight = !props.children?.length && !props.style?.height && !contentFileUrl.value && !fileNotFound.value && !assetFileNotFound.value ? "auto" : props.style?.height || "500px";
|
|
151923
|
+
dynamicHeight = !props.children?.length && !props.style?.height && !contentFileUrl.value && !fileNotFound.value && !assetFileNotFound.value ? "auto" : selfHealedBoxHeightPx.value != null ? `${selfHealedBoxHeightPx.value}px` : props.style?.height || "500px";
|
|
151824
151924
|
}
|
|
151825
151925
|
const shouldShowBackgroundImage = computed(() => {
|
|
151826
151926
|
if (isOverlayMode.value) {
|
|
@@ -152608,7 +152708,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
152608
152708
|
}
|
|
152609
152709
|
});
|
|
152610
152710
|
|
|
152611
|
-
const ScribbleResponsive = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-
|
|
152711
|
+
const ScribbleResponsive = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__scopeId", "data-v-e1bd203f"]]);
|
|
152612
152712
|
|
|
152613
152713
|
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
152614
152714
|
__name: "Scribble",
|
|
@@ -155851,7 +155951,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
155851
155951
|
emits: ["justAdded", "browseWithAppClicked"],
|
|
155852
155952
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
155853
155953
|
useCssVars((_ctx) => ({
|
|
155854
|
-
"
|
|
155954
|
+
"61ba66dc": unref(themeVars).primary3
|
|
155855
155955
|
}));
|
|
155856
155956
|
const props = __props;
|
|
155857
155957
|
const emit = __emit;
|
|
@@ -155913,7 +156013,9 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
155913
156013
|
const filteredContent = getVisibleCanvasContent(sectionData?.content?.data ?? {}, visibleKey);
|
|
155914
156014
|
sections.push({
|
|
155915
156015
|
type: section.type ?? "section",
|
|
155916
|
-
|
|
156016
|
+
// PIT-6436: resolve the live page from the section's content_background.page_id so a
|
|
156017
|
+
// re-uploaded/reordered file doesn't leave a stale thumbnail; fall back to the stored index.
|
|
156018
|
+
page_index: resolveCurrentSlideIndex(sectionData?.content?.data, file) ?? getPageIndex(section),
|
|
155917
156019
|
id: section.id,
|
|
155918
156020
|
file_id: section.file_id,
|
|
155919
156021
|
component_id: section.component_id,
|
|
@@ -156666,7 +156768,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
156666
156768
|
}
|
|
156667
156769
|
});
|
|
156668
156770
|
|
|
156669
|
-
const ContentListRaw = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["__scopeId", "data-v-
|
|
156771
|
+
const ContentListRaw = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["__scopeId", "data-v-3979dba7"]]);
|
|
156670
156772
|
|
|
156671
156773
|
const _hoisted_1$1F = ["src"];
|
|
156672
156774
|
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
@@ -159808,7 +159910,7 @@ function getMetricOptions(t) {
|
|
|
159808
159910
|
];
|
|
159809
159911
|
}
|
|
159810
159912
|
|
|
159811
|
-
const DynamicContent = defineAsyncComponent(() => import('./DynamicContent-
|
|
159913
|
+
const DynamicContent = defineAsyncComponent(() => import('./DynamicContent-CpUZ3iw1.js'));
|
|
159812
159914
|
const sectionComponentMap = {
|
|
159813
159915
|
...canvasComponentMap,
|
|
159814
159916
|
DynamicContent
|
|
@@ -187765,4 +187867,4 @@ const localeNames = {
|
|
|
187765
187867
|
const localeDropdownOptions = supportedLocales.map((locale) => ({ key: locale, name: localeNames[locale] }));
|
|
187766
187868
|
|
|
187767
187869
|
export { CDetailPageSectionButtons as $, ADMIN_API_METHOD_TYPES as A, BulkUpdateMetadataOperationEnum as B, CALL_STORAGE_KEY as C, _sfc_main$74 as D, _sfc_main$3G as E, CCollapse as F, _sfc_main$71 as G, _sfc_main$6v as H, CComponentListItem as I, CConfigEditor as J, NConfigProvider as K, _sfc_main$6n as L, CConfirmationContent as M, NColorPicker as N, CConfirmationHeader as O, CConfirmationModal as P, CContactSelector as Q, CContactSelectorSelected as R, _sfc_main$6e as S, _sfc_main$6b as T, _sfc_main$6a as U, _sfc_main$5$ as V, CDP_EVENT_TYPE as W, CDataTable as X, NDatePicker as Y, CDateRangeFilter as Z, _sfc_main$1O as _, ADMIN_API_TYPES as a, _sfc_main$4w as a$, NDialogProvider as a0, _sfc_main$6$ as a1, _sfc_main$6_ as a2, _sfc_main$6Z as a3, _sfc_main$6Y as a4, _sfc_main$6u as a5, _sfc_main$4s as a6, _sfc_main$6X as a7, _sfc_main$6t as a8, _sfc_main$3u as a9, _sfc_main$6s as aA, CIcon as aB, CImage as aC, _sfc_main$50 as aD, _sfc_main$6L as aE, NInputNumber as aF, _sfc_main$3E as aG, CLIENT_TYPE as aH, NLayout as aI, NLayoutContent as aJ, LayoutFooter as aK, LayoutHeader as aL, LayoutSider as aM, _sfc_main$51 as aN, NMessageProvider as aO, _sfc_main$5R as aP, _sfc_main$6I as aQ, CMonacoEditor as aR, CMovableWidget as aS, CMultiSelect as aT, NNotificationProvider as aU, NPagination as aV, _sfc_main$6r as aW, _sfc_main$6H as aX, _sfc_main$6U as aY, NProgress as aZ, _sfc_main$5y as a_, _sfc_main$6M as aa, _sfc_main$3v as ab, _sfc_main$6T as ac, CFileViewer as ad, CFilesAccessInfo as ae, _sfc_main$45 as af, _sfc_main$3O as ag, _sfc_main$6J as ah, NForm as ai, NFormItem as aj, NFormItemCol as ak, NFormItemGridItem as al, FormItemRow as am, _sfc_main$4n as an, NGridItem as ao, CGlobalLoader as ap, _sfc_main$5U as aq, GlobalStyle as ar, NGrid as as, CGroupsAccessInfo as at, NH1 as au, NH2 as av, NH3 as aw, NH4 as ax, NH5 as ay, NH6 as az, ADMIN_MESSAGE as b, DEFAULT_ADMIN_TABLE_HEIGHT as b$, CSearch as b0, _sfc_main$6G as b1, CSearchOnClickWithSuggestions as b2, CSecondaryNav as b3, _sfc_main$4X as b4, CSelect as b5, CSelectFilter as b6, _sfc_main$3D as b7, CShortcut as b8, _sfc_main$6E as b9, CUpsertFolderModal as bA, _sfc_main$5v as bB, CUserMenu as bC, CUsersAccessInfo as bD, CUsersGroupsAccessManage as bE, _sfc_main$5s as bF, _sfc_main$4e as bG, CallState as bH, CanvasActions as bI, _sfc_main$12 as bJ, CanvasBuilderMode as bK, CanvasExcludedComponentTypesEnum as bL, CanvasHistoryAction as bM, App as bN, CanvasStatus as bO, CanvasThemeStatus as bP, CanvasesViewsTypes as bQ, CollaborationRoleEnum as bR, CollectionPlayerApp as bS, App$4 as bT, ComponentIcon as bU, ComponentTypes as bV, ContactSelectorQuickFilterType as bW, ContentGridLayoutTypes as bX, ContentSelector as bY, CoreFolderEntityType as bZ, DATE_TIME_FORMAT as b_, CSideBarDivider as ba, _sfc_main$6B as bb, _sfc_main$6C as bc, _sfc_main$6A as bd, CSingleSelect as be, NSkeleton as bf, _sfc_main$3I as bg, NSpace as bh, _sfc_main$6V as bi, _sfc_main$6Q as bj, CTable as bk, _sfc_main$5i as bl, CTableMore as bm, CTableSelect as bn, CTableTag as bo, _sfc_main$6P as bp, CTags as bq, CTemplateAccessInfo as br, _sfc_main$44 as bs, _sfc_main$4M as bt, text as bu, _sfc_main$6z as bv, _sfc_main$4H as bw, _sfc_main$5r as bx, CToolbar as by, _sfc_main$6x as bz, ADMIN_MESSAGE_TYPES as c, PitcherExternalEventName as c$, DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT as c0, DEFAULT_GLOBAL_COMPONENT_SPACING as c1, DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL as c2, DEFAULT_ITEMS_PER_PAGE as c3, DEFAULT_PAGE_SIZE as c4, DEFAULT_PAGE_SIZE_OPTIONS as c5, DEFAULT_PEER_CONNECTIVITY_VERSION as c6, DEFAULT_PITCHER_SETTINGS as c7, DEFAULT_SFDC_API_VERSION as c8, DSR_API_METHOD_TYPES as c9, IS_DEV_ORG as cA, IS_LOCALHOST as cB, InstanceMembershipRoleEnum as cC, InstanceMembershipUserStatusEnum as cD, InvitationStatusEnum as cE, LanguageEnum as cF, LinkAlignmentTypes as cG, LinkAnchorTypes as cH, LinkPreviewTypes as cI, MAX_LUMINANCE_FOR_LIGHT_TEXT as cJ, MAX_UPLOAD_SIZE as cK, MIN_DIFFERENCE_IN_MINUTES as cL, MetadataTemplateFieldTypeEnum as cM, MultimediaHorizontalAlignmentOptions as cN, NON_MEMBER_ROLES as cO, NotesApp as cP, OperatorEnum as cQ, PAPER_SIZE_PRESETS as cR, PEER_CONNECTIVITY_EVENT as cS, PEER_CONNECTIVITY_HANDLER_MATCH_ALL as cT, PITCHER_EVENT as cU, PITCHER_SETTINGS_KEY as cV, PLATFORM_TYPE as cW, PRINT_SCALE_FACTOR as cX, PeerConnectivityActions as cY, PitcherBroadcastedEventName as cZ, PitcherEventName as c_, DSR_API_TYPES as ca, DSR_MESSAGE as cb, DSR_MESSAGE_TYPES as cc, DSR_TYPE as cd, DefaultExpiresAtEnum as ce, DownloadTypeEnum as cf, EMBED_TYPE as cg, EventAction as ch, EventExternalObjectContentTypeEnum as ci, EventStatusEnum as cj, FileContentTypeEnum as ck, FileStatusEnum as cl, FileTypeEnum as cm, GlobalSearchResultType as cn, GridLayoutTypes as co, HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX as cp, HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX as cq, HIDE_TAGS_WITH_PREFIX as cr, _sfc_main$1H as cs, _sfc_main$1E as ct, _sfc_main$1F as cu, _sfc_main$1G as cv, HtmlLayoutTypes as cw, IFRAME_ACTION_TYPES as cx, IFRAME_DATA_MESSAGE as cy, INITIAL_CALL_STATE as cz, APPS_DB as d, escapeSoqlString as d$, PitcherMessageType as d0, PitcherResponseStatus as d1, PostAction as d2, App$2 as d3, REQUEST_DEFAULT_CANCEL_TIMEOUT as d4, SEARCH_DEBOUNCE_TIME as d5, SUPPORTED_FONT_EXTENSIONS as d6, SUPPORTED_FONT_TYPES as d7, SUPPORTED_IMAGE_EXTENSIONS as d8, SUPPORTED_IMAGE_TYPES as d9, clearLocalStorageIfNeeded as dA, ClickOutsideDirective as dB, collectAllNodesByCondition as dC, _export$3 as dD, _export$2 as dE, componentIconType as dF, computeLocalStorageBytes as dG, convertSecondsToMinutes as dH, convertSoqlToSmartQuery as dI, convertToPixels as dJ, convertToSosl as dK, createNodeId as dL, createPitcherSettings as dM, dayjs as dN, deepDiff as dO, deepToRaw as dP, derivePatchRequestFields as dQ, determineUserRole as dR, discardSectionComponentOverride as dS, displayBytesWithMUnit as dT, displayIntegerWithMunit as dU, doesLocalOverrideExist as dV, doesNotHaveAnyModuleOrHookSpecified as dW, downloadFile as dX, draggable as dY, elementMounted as dZ, ensureFieldInSelect as d_, SUPPORTED_UPLOAD_FILE_EXTENSIONS as da, SUPPORTED_VIDEO_EXTENSIONS as db, SUPPORTED_VIDEO_TYPES as dc, SfEventColors as dd, SfEventColorsLight as de, StorageRegionEnum as df, TRACKING_EVENTS_STORAGE_KEY as dg, UI_API_METHOD_TYPES as dh, UI_MESSAGE as di, UI_MESSAGE_TYPES as dj, UI_NATIVE_MESSAGE_TYPES as dk, USER_TEMPLATE_DISALLOWED_KEYS as dl, UserRoleEnum as dm, ViewCompactItemType as dn, addAndCondition as dp, addCanvasComponent as dq, _export as dr, appRequiresCrm as ds, applyCanvasThemeAssetsToNode as dt, applyFont as du, applyToTreeBy as dv, autofocus as dw, buildSortTierConditions as dx, camelCaseKeys as dy, canvasUiUnoPreset as dz, AccessTypeEnum as e, isBefore as e$, evaluateAccessor as e0, evaluateCreateCanvasDefaultName as e1, evaluateIsExecutedCondition as e2, evaluateIsExecutedForPascalCaseEvent as e3, executeWithDoublingTime as e4, exitFullscreen as e5, extractFieldNamesFromCondition as e6, fallbackLocale as e7, fetchAll as e8, fetchAllWithOffset as e9, getComponentKeywords as eA, getComponentTitle as eB, getContrastTextColor as eC, getDefinedProps as eD, getEventColor as eE, getExcessItemsIndexes as eF, getFontAwesomeIconNameAndType as eG, getFreezeStatus as eH, getImageSize as eI, getLocalOverrideUrl as eJ, getLuminance as eK, getNextPageParam as eL, getNodeDisplayNameByComponentType as eM, getNumberWithRegex as eN, getPageQuantity as eO, getPageRange as eP, getPreviewUrl as eQ, getRoleIcon as eR, getSalesforceApiVersion as eS, getSectionGlobalComponentSpacing as eT, getSortTierIndex as eU, handleThemeAssetComparison as eV, hasAppTypeDefined as eW, highLevelApi as eX, indirectEval as eY, insertItemSorted as eZ, isAfter as e_, fetchFirstChunkAndRemainingAsync as ea, filterSidebarApps as eb, filterTreeBy as ec, findAllEmbeddableTypesInCanvasContent as ed, findAllEmbeddableTypesInSectionsContent as ee, findEmbeddableInCanvasContent as ef, findEmbeddableInSectionsContent as eg, findMainFromClause as eh, findNodeInTreeByCondition as ei, findNodeInTreeById as ej, findNodeInTreeByType as ek, findParentByNodeId as el, flattenUserProperties as em, formatDate as en, formatDateDetailed as eo, formatDateTime as ep, formatDateTimeAgo as eq, formatDayMonthBasedOnBrowserLang as er, formatDimensionForGotenberg as es, formatUserName as et, generateAIThumbnailUrl as eu, getAllPages as ev, getAppConfigFromAppSource as ew, getAppIconProps as ex, getAvailableApis as ey, getComponentDescription as ez, App$3 as f, replaceThemePresetsWithInlineStyles as f$, isBeforeMinDate as f0, isCanvasDrawerApp as f1, isCanvasSectionExecution as f2, isEmbeddableWithZeroHeight as f3, isFileViewerReplacement as f4, isFirefox as f5, isFullscreen as f6, isHeadlessOrNotAvailableApp as f7, isImageAccessible as f8, isIosDevice as f9, localeNames as fA, locales as fB, mergeTieredRecords as fC, mergeWithArrayReplacement as fD, minFutureDate as fE, minPastDate as fF, moveNodeTo as fG, msToSeconds as fH, navigateTo as fI, normalizeFilterParams as fJ, normalizeNetworkFilterParams as fK, openUsdz as fL, parseCollectionPlayerSlidesToContentSelector as fM, parseContentSelectorToCollectionPlayerSlides as fN, parseFileToCollectionPlayer as fO, parsePdfFileToCollectionPlayer as fP, parsePptxFileToCollectionPlayer as fQ, parseSortPriority as fR, pascalCaseKeys as fS, pickTemplateUserFields as fT, _export$1 as fU, processCanvasForSectionThemeOverride as fV, regenerateTreeIds as fW, registerCustomHelper as fX, registerCustomHelpers as fY, registerPeerConnectivityHandler as fZ, renderTemplate as f_, isMac as fa, isMobile as fb, isModifierClick as fc, isNonMemberRole as fd, isOriginValid as fe, isPastMaxDate as ff, isPitcherOrIosDevice as fg, isPitcherWkWebView as fh, isPostcallApp as fi, isQueryParamTruthy as fj, isSafari as fk, isSafariOnIosDevice as fl, isSameOrAfter as fm, isSameOrBefore as fn, isTextComponentEmpty as fo, isTheUiItself as fp, isTouchScreen as fq, isValidHex as fr, isWindows as fs, lightThemeOverrides as ft, loadCustomHelpersFromApps as fu, loadRemoteScriptWithCtx as fv, loadScript as fw, loadScriptStyle as fx, loadStyle as fy, localeDropdownOptions as fz, AppTypeEnum as g, useSuggestedTags as g$, replaceTranslationMessagesWithOverrides as g0, requestFullscreen as g1, requestStream as g2, scrollCanvasToTop as g3, scrollToComponentById as g4, secondsToHumanReadable as g5, sendPeerConnectivityEvent as g6, setDateTime as g7, shouldDisplayPlaceholderComponent as g8, shouldOpenInCollectionPlayerViewer as g9, useCanvasLocks as gA, useCanvasOverlay as gB, useCanvasVisibility as gC, useCanvasesAsInfinity as gD, useCollectionPlayerOverlay as gE, useCommentTracking as gF, useConfirmation as gG, useDsr as gH, useFetchCanvases as gI, useFetchUsers as gJ, useFileDisplayHelpers as gK, useFolderNameDescription as gL, useGlobalSearch as gM, useHomeCustomization as gN, useInfiniteScroll as gO, useLocation as gP, useMetadataSearch as gQ, useMetadataTemplates as gR, useNotesApp as gS, useNotification as gT, useOpenFileStack as gU, usePitcherApi as gV, usePolling as gW, usePresentationHistory as gX, useShareCanvas as gY, useSharedCommentsStorage as gZ, useSmartStore as g_, shouldShowEmbeddable as ga, shouldShowInSidebar as gb, skipElementsInTree as gc, snakeCaseKeys as gd, someNodeInTree as ge, sortCollectionByString as gf, sortRecordsByTier as gg, splitUserName as gh, stringToHslColor as gi, supportedLocales as gj, tapDirective as gk, titleCase as gl, toggleFullscreen as gm, tooltipDirective as gn, transformFilesToCollectionPlayer as go, transformFilesToContentGrid as gp, updateFirstCollectionPlayerWithShareboxItems as gq, updateFirstContentGridWithShareboxItems as gr, urlSafeFetchInChunks as gs, useAdmin as gt, useAdminAndDsrState as gu, useApi as gv, useAppsDb as gw, useBindValidation as gx, useBroadcastRouteChange as gy, useCanvasById as gz, _sfc_main as h, useTheme as h0, useThemeVars as h1, useToast as h2, useUi as h3, useWindowEvents as h4, vueQueryPluginOptions as h5, wait as h6, waitForIframeInitialize as h7, waitForValue as h8, App$1 as i, BulkUpdateTagsOperationEnum as j, CANVASES as k, CANVAS_HOOKS as l, CANVAS_TYPOGRAPHY_CSS_PROPERTIES as m, CANVAS_TYPOGRAPHY_PRESETS as n, CAlgoliaSearch as o, CAssignedCanvasesManagement as p, _sfc_main$4v as q, _sfc_main$6w as r, _sfc_main$4U as s, CButton as t, _sfc_main$5l as u, _sfc_main$5m as v, CCanvasSelector as w, _sfc_main$75 as x, CCarousel as y, _sfc_main$3M as z };
|
|
187768
|
-
//# sourceMappingURL=main.lib-
|
|
187870
|
+
//# sourceMappingURL=main.lib-Bl0Ftvzu.js.map
|