@pitcher/canvas-ui 2026.4.24-61849 → 2026.4.26-003900-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-BlFtyp88.js +6 -0
- package/DynamicContent-BlFtyp88.js.map +1 -0
- package/canvas-ui.css +15 -15
- package/canvas-ui.js +1 -1
- package/lib/apps/browser/appTypes.d.ts +7 -7
- package/lib/apps/browser/stores/api.d.ts +9 -9
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +4 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +3 -3
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +3 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +3 -3
- package/lib/constants/cdp.const.d.ts +1 -0
- package/lib/main.lib.d.ts +1 -0
- package/lib/types/organizationSettings.types.d.ts +1 -0
- package/lib/types/sharedLinkAuthConfig.types.d.ts +23 -0
- package/{main.lib-DaWwJDxw.js → main.lib-MBUzCcc2.js} +146 -115
- package/{main.lib-DaWwJDxw.js.map → main.lib-MBUzCcc2.js.map} +1 -1
- package/package.json +1 -1
- package/DynamicContent-CM3hIAi6.js +0 -6
- package/DynamicContent-CM3hIAi6.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicContent-BlFtyp88.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/canvas-ui.css
CHANGED
|
@@ -1272,8 +1272,8 @@ to {
|
|
|
1272
1272
|
[data-v-7be5e169] .c-user-menu__item--hoverable:hover {
|
|
1273
1273
|
background-color: var(--p-primary6);
|
|
1274
1274
|
}
|
|
1275
|
-
.context-menu__button__icon[data-v-
|
|
1276
|
-
color: var(--
|
|
1275
|
+
.context-menu__button__icon[data-v-6932d769] {
|
|
1276
|
+
color: var(--18f25ebb);
|
|
1277
1277
|
}.title[data-v-b22d4b39] {
|
|
1278
1278
|
color: var(--a5ce8300);
|
|
1279
1279
|
font-style: normal;
|
|
@@ -3074,36 +3074,36 @@ to {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
.browser-list-item[data-v-bb50f183] {
|
|
3076
3076
|
border-bottom: 1px solid var(--b669cdf8);
|
|
3077
|
-
}.breadcrumb-area[data-v-
|
|
3078
|
-
border: 1px solid var(--
|
|
3077
|
+
}.breadcrumb-area[data-v-74b7f6b8] .n-button {
|
|
3078
|
+
border: 1px solid var(--2c1b7a79) !important;
|
|
3079
3079
|
}
|
|
3080
|
-
.content__breadcrumb__item.n-breadcrumb-item.n-breadcrumb-item[data-v-
|
|
3080
|
+
.content__breadcrumb__item.n-breadcrumb-item.n-breadcrumb-item[data-v-74b7f6b8] .n-breadcrumb-item__link {
|
|
3081
3081
|
font-size: 18px;
|
|
3082
3082
|
line-height: 28px;
|
|
3083
3083
|
letter-spacing: 0.25px;
|
|
3084
3084
|
}
|
|
3085
|
-
.content__section-title[data-v-
|
|
3085
|
+
.content__section-title[data-v-74b7f6b8] {
|
|
3086
3086
|
font-size: 18px;
|
|
3087
3087
|
line-height: 28px;
|
|
3088
3088
|
letter-spacing: 0.25px;
|
|
3089
|
-
color: var(--
|
|
3089
|
+
color: var(--91ccadca);
|
|
3090
3090
|
}
|
|
3091
|
-
.actions-toolbar[data-v-
|
|
3092
|
-
background-color: var(--
|
|
3091
|
+
.actions-toolbar[data-v-74b7f6b8] {
|
|
3092
|
+
background-color: var(--2c1b7a7b);
|
|
3093
3093
|
}
|
|
3094
|
-
.actions-toolbar__nav[data-v-
|
|
3095
|
-
background: var(--
|
|
3094
|
+
.actions-toolbar__nav[data-v-74b7f6b8] {
|
|
3095
|
+
background: var(--4c1fea58);
|
|
3096
3096
|
}
|
|
3097
|
-
.actions-toolbar_filters-divider[data-v-
|
|
3097
|
+
.actions-toolbar_filters-divider[data-v-74b7f6b8] {
|
|
3098
3098
|
margin-left: 0;
|
|
3099
3099
|
margin-right: 8px;
|
|
3100
3100
|
height: 36px;
|
|
3101
3101
|
}
|
|
3102
|
-
.actions-toolbar_filters-clear[data-v-
|
|
3102
|
+
.actions-toolbar_filters-clear[data-v-74b7f6b8] {
|
|
3103
3103
|
text-transform: none;
|
|
3104
3104
|
}
|
|
3105
|
-
.actions-toolbar__controls[data-v-
|
|
3106
|
-
background: var(--
|
|
3105
|
+
.actions-toolbar__controls[data-v-74b7f6b8] {
|
|
3106
|
+
background: var(--4c1fea58);
|
|
3107
3107
|
}.is-even[data-v-8ac6d2e9] {
|
|
3108
3108
|
background: var(--d77d151a);
|
|
3109
3109
|
}
|
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 CForm, ai as CFormItem, aj as CFormItemCol, ak as CFormItemGi, ak as CFormItemGridItem, al as CFormItemRow, am as CFullScreenLoader, an as CGi, ao as CGlobalLoader, ap as CGlobalSearch, aq as CGlobalStyle, ar as CGrid, an as CGridItem, as as CGroupsAccessInfo, at as CH1, au as CH2, av as CH3, aw as CH4, ax as CH5, ay as CH6, az as CHelpText, aA as CIcon, aB as CImage, aC as CInfoBadge, aD as CInput, aE as CInputNumber, aF as CKnockNotificationsAppWrapper, aG as CLIENT_TYPE, aH as CLayout, aI as CLayoutContent, aJ as CLayoutFooter, aK as CLayoutHeader, aL as CLayoutSider, aM as CList, aN as CMessageProvider, aO as CMetaDataBadge, aP as CModal, aQ as CMonacoEditor, aR as CMovableWidget, aS as CMultiSelect, aT as CNotificationProvider, aU as CPagination, aV as CPillSelect, aW as CPopover, aX as CProcessingOverlay, aY as CProgress, aZ as CRichTextEditor, a_ as CSavedCanvasesManagement, a$ as CSearch, b0 as CSearchOnClick, b1 as CSearchOnClickWithSuggestions, b2 as CSecondaryNav, b3 as CSectionManagement, b4 as CSelect, b5 as CSelectFilter, b6 as CSettingsEditor, b7 as CShortcut, b8 as CSingleSelect, b9 as CSkeleton, ba as CSlideViewer, bb as CSpace, bc as CSpin, bd as CSwitch, be as CTable, bf as CTableInput, bg as CTableMore, bh as CTableSelect, bi as CTableTag, bj as CTag, bk as CTags, bl as CTemplateAccessInfo, bm as CTemplateAccessManage, bn as CTemplateManagement, bo as CText, bp as CThemeEditor, bq as CThemeManagement, br as CToastProvider, bs as CToolbar, bt as CTooltip, bu as CUpsertFolderModal, bv as CUserAvatar, bw as CUserMenu, bx as CUsersAccessInfo, by as CUsersGroupsAccessManage, bz as CVirtualTable, bA as CWarningAlert, bB as CallState, bC as CanvasActions, bD as CanvasBuilderApp, bE as CanvasBuilderMode, bF as CanvasExcludedComponentTypesEnum, bG as CanvasHistoryAction, bH as CanvasSelector, bI as CanvasStatus, bJ as CanvasThemeStatus, bK as CanvasesViewsTypes, bL as CollaborationRoleEnum, bM as CollectionPlayerApp, bN as CollectionSelectorApp, bO as ComponentIcon, bP as ComponentTypes, bQ as ContactSelectorQuickFilterType, bR as ContentGridLayoutTypes, bS as ContentSelector, bT as CoreFolderEntityType, bU as DATE_TIME_FORMAT, bV as DEFAULT_ADMIN_TABLE_HEIGHT, bW as DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, bX as DEFAULT_GLOBAL_COMPONENT_SPACING, bY as DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, bZ as DEFAULT_ITEMS_PER_PAGE, b_ as DEFAULT_PAGE_SIZE, b$ as DEFAULT_PAGE_SIZE_OPTIONS, c0 as DEFAULT_PEER_CONNECTIVITY_VERSION, c1 as DEFAULT_PITCHER_SETTINGS, c2 as DEFAULT_SFDC_API_VERSION, c3 as DSR_API_METHOD_TYPES, c4 as DSR_API_TYPES, c5 as DSR_MESSAGE, c6 as DSR_MESSAGE_TYPES, c7 as DSR_TYPE, c8 as DefaultExpiresAtEnum, c9 as DownloadTypeEnum, ca as EMBED_TYPE, cb as EventAction, cc as EventExternalObjectContentTypeEnum, cd as EventStatusEnum, ce as FileContentTypeEnum, cf as FileStatusEnum, cg as FileTypeEnum, ch as GlobalSearchResultType, ci as GridLayoutTypes, cj as HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, ck as HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, cl as HIDE_TAGS_WITH_PREFIX, cm as HtmlLayoutTypes, cn as IFRAME_ACTION_TYPES, co as IFRAME_DATA_MESSAGE, cp as INITIAL_CALL_STATE, cq as IS_DEV_ORG, cr as IS_LOCALHOST, cs as InstanceMembershipRoleEnum, ct as InstanceMembershipUserStatusEnum, cu as InvitationStatusEnum, cv as LanguageEnum, cw as LinkAlignmentTypes, cx as LinkAnchorTypes, cy as LinkPreviewTypes, cz as MAX_LUMINANCE_FOR_LIGHT_TEXT, cA as MAX_UPLOAD_SIZE, cB as MIN_DIFFERENCE_IN_MINUTES, cC as MetadataTemplateFieldTypeEnum, cD as MultimediaHorizontalAlignmentOptions, cE as NON_MEMBER_ROLES, cF as NotesApp, cG as OperatorEnum, cH as PAPER_SIZE_PRESETS, cI as PEER_CONNECTIVITY_EVENT, cJ as PEER_CONNECTIVITY_HANDLER_MATCH_ALL, cK as PITCHER_EVENT, cL as PITCHER_SETTINGS_KEY, cM as PLATFORM_TYPE, cN as PRINT_SCALE_FACTOR, cO as PeerConnectivityActions, cP as PitcherBroadcastedEventName, cQ as PitcherEventName, cR as PitcherExternalEventName, cS as PitcherMessageType, cT as PitcherResponseStatus, cU as PostAction, cV as PptConversionSelectorApp, cW as REQUEST_DEFAULT_CANCEL_TIMEOUT, cX as SEARCH_DEBOUNCE_TIME, cY as SUPPORTED_FONT_EXTENSIONS, cZ as SUPPORTED_FONT_TYPES, c_ as SUPPORTED_IMAGE_EXTENSIONS, c$ as SUPPORTED_IMAGE_TYPES, d0 as SUPPORTED_UPLOAD_FILE_EXTENSIONS, d1 as SUPPORTED_VIDEO_EXTENSIONS, d2 as SUPPORTED_VIDEO_TYPES, d3 as SfEventColors, d4 as SfEventColorsLight, d5 as StorageRegionEnum, d6 as TRACKING_EVENTS_STORAGE_KEY, d7 as UI_API_METHOD_TYPES, d8 as UI_MESSAGE, d9 as UI_MESSAGE_TYPES, da as UI_NATIVE_MESSAGE_TYPES, db as UserRoleEnum, dc as ViewCompactItemType, dd as addCanvasComponent, de as agendaSelector, df as appRequiresCrm, dg as applyCanvasThemeAssetsToNode, dh as applyFont, di as applyToTreeBy, dj as autofocusDirective, dk as camelCaseKeys, dl as canvasUiUnoPreset, dm as clearLocalStorageIfNeeded, dn as clickOutsideDirective, dp as collectAllNodesByCondition, dq as collectionPlayer, dr as collectionSelector, ds as componentIconType, dt as computeLocalStorageBytes, du as convertSecondsToMinutes, dv as convertSoqlToSmartQuery, dw as convertToPixels, dx as convertToSosl, dy as createNodeId, dz as createPitcherSettings, dA as dayjs, dB as deepDiff, dC as deepToRaw, dD as derivePatchRequestFields, dE as determineUserRole, dF as discardSectionComponentOverride, dG as displayBytesWithMUnit, dH as displayIntegerWithMunit, dI as doesLocalOverrideExist, dJ as doesNotHaveAnyModuleOrHookSpecified, dK as downloadFile, dL as draggableDirective, dM as elementMountedDirective, dN as escapeSoqlString, dO as evaluateAccessor, dP as evaluateCreateCanvasDefaultName, dQ as evaluateIsExecutedCondition, dR as evaluateIsExecutedForPascalCaseEvent, dS as executeWithDoublingTime, dT as exitFullscreen, dU as extractFieldNamesFromCondition, dV as fallbackLocale, dW as fetchAll, dX as fetchAllWithOffset, dY as fetchFirstChunkAndRemainingAsync, dZ as filterSidebarApps, d_ as filterTreeBy, d$ as findAllEmbeddableTypesInCanvasContent, e0 as findAllEmbeddableTypesInSectionsContent, e1 as findEmbeddableInCanvasContent, e2 as findEmbeddableInSectionsContent, e3 as findMainFromClause, e4 as findNodeInTreeByCondition, e5 as findNodeInTreeById, e6 as findNodeInTreeByType, e7 as findParentByNodeId, e8 as formatDate, e9 as formatDateDetailed, ea as formatDateTime, eb as formatDateTimeAgo, ec as formatDayMonthBasedOnBrowserLang, ed as formatDimensionForGotenberg, ee as generateAIThumbnailUrl, ef as getAllPages, eg as getAppConfigFromAppSource, eh as getAppIconProps, ei as getAvailableApis, ej as getComponentDescription, ek as getComponentKeywords, el as getComponentTitle, em as getContrastTextColor, en as getDefinedProps, eo as getEventColor, ep as getExcessItemsIndexes, eq as getFontAwesomeIconNameAndType, er as getFreezeStatus, es as getImageSize, et as getLocalOverrideUrl, eu as getLuminance, ev as getNextPageParam, ew as getNodeDisplayNameByComponentType, ex as getNumberWithRegex, ey as getPageQuantity, ez as getPageRange, eA as getPreviewUrl, eB as getRoleIcon, eC as getSalesforceApiVersion, eD as getSectionGlobalComponentSpacing, eE as handleThemeAssetComparison, eF as hasAppTypeDefined, eG as highLevelApi, eH as indirectEval, eI as insertItemSorted, eJ as isAfter, eK as isBefore, eL as isBeforeMinDate, eM as isCanvasDrawerApp, eN as isCanvasSectionExecution, eO as isEmbeddableWithZeroHeight, eP as isFileViewerReplacement, eQ as isFirefox, eR as isFullscreen, eS as isHeadlessOrNotAvailableApp, eT as isImageAccessible, eU as isIosDevice, eV as isMac, eW as isMobile, eX as isModifierClick, eY as isNonMemberRole, eZ as isOriginValid, e_ as isPastMaxDate, e$ as isPitcherOrIosDevice, f0 as isPitcherWkWebView, f1 as isPostcallApp, f2 as isQueryParamTruthy, f3 as isSafari, f4 as isSafariOnIosDevice, f5 as isSameOrAfter, f6 as isSameOrBefore, f7 as isTextComponentEmpty, f8 as isTheUiItself, f9 as isTouchScreen, fa as isValidHex, fb as isWindows, fc as lightThemeOverrides, fd as loadCustomHelpersFromApps, fe as loadRemoteScriptWithCtx, ff as loadScript, fg as loadScriptStyle, fh as loadStyle, fi as localeDropdownOptions, fj as localeNames, fk as locales, fl as mergeWithArrayReplacement, fm as minFutureDate, fn as minPastDate, fo as moveNodeTo, fp as msToSeconds, fq as navigateTo, fr as normalizeFilterParams, fs as normalizeNetworkFilterParams, ft as openUsdz, fu as parseCollectionPlayerSlidesToContentSelector, fv as parseContentSelectorToCollectionPlayerSlides, fw as parseFileToCollectionPlayer, fx as parsePdfFileToCollectionPlayer, fy as parsePptxFileToCollectionPlayer, fz as pascalCaseKeys, fA as pptConversionSelector, fB as processCanvasForSectionThemeOverride, fC as regenerateTreeIds, fD as registerCustomHelper, fE as registerCustomHelpers, fF as registerPeerConnectivityHandler, fG as renderTemplate, fH as replaceThemePresetsWithInlineStyles, fI as replaceTranslationMessagesWithOverrides, fJ as requestFullscreen, fK as requestStream, fL as scrollCanvasToTop, fM as scrollToComponentById, fN as secondsToHumanReadable, fO as sendPeerConnectivityEvent, fP as setDateTime, fQ as shouldDisplayPlaceholderComponent, fR as shouldOpenInCollectionPlayerViewer, fS as shouldShowEmbeddable, fT as shouldShowInSidebar, fU as skipElementsInTree, fV as snakeCaseKeys, fW as someNodeInTree, fX as sortCollectionByString, fY as splitUserName, fZ as stringToHslColor, f_ as supportedLocales, f$ as tapDirective, g0 as titleCase, g1 as toggleFullscreen, g2 as tooltipDirective, g3 as transformFilesToCollectionPlayer, g4 as transformFilesToContentGrid, g5 as updateFirstCollectionPlayerWithShareboxItems, g6 as updateFirstContentGridWithShareboxItems, g7 as urlSafeFetchInChunks, g8 as useAdmin, g9 as useAdminAndDsrState, ga as useApi, gb as useAppsDb, gc as useBindValidation, gd as useBroadcastRouteChange, ge as useCanvasById, gf as useCanvasLocks, gg as useCanvasOverlay, gh as useCanvasVisibility, gi as useCanvasesAsInfinity, gj as useCollectionPlayerOverlay, gk as useCommentTracking, gl as useConfirmation, gm as useDsr, gn as useFetchCanvases, go as useFetchUsers, gp as useFileDisplayHelpers, gq as useFolderNameDescription, gr as useGlobalSearch, gs as useInfiniteScroll, gt as useLocation, gu as useMetadataSearch, gv as useMetadataTemplates, gw as useNotesApp, gx as useNotification, gy as useOpenFileStack, gz as usePitcherApi, gA as usePolling, gB as usePresentationHistory, gC as useRecentFiles, gD as useShareCanvas, gE as useSharedCommentsStorage, gF as useSmartStore, gG as useSuggestedTags, gH as useTheme, gI as useThemeVars, gJ as useToast, gK as useUi, gL as useWindowEvents, gM as vueQueryPluginOptions, gN as wait, gO as waitForIframeInitialize, gP as waitForValue } from './main.lib-DaWwJDxw.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 CForm, ai as CFormItem, aj as CFormItemCol, ak as CFormItemGi, ak as CFormItemGridItem, al as CFormItemRow, am as CFullScreenLoader, an as CGi, ao as CGlobalLoader, ap as CGlobalSearch, aq as CGlobalStyle, ar as CGrid, an as CGridItem, as as CGroupsAccessInfo, at as CH1, au as CH2, av as CH3, aw as CH4, ax as CH5, ay as CH6, az as CHelpText, aA as CIcon, aB as CImage, aC as CInfoBadge, aD as CInput, aE as CInputNumber, aF as CKnockNotificationsAppWrapper, aG as CLIENT_TYPE, aH as CLayout, aI as CLayoutContent, aJ as CLayoutFooter, aK as CLayoutHeader, aL as CLayoutSider, aM as CList, aN as CMessageProvider, aO as CMetaDataBadge, aP as CModal, aQ as CMonacoEditor, aR as CMovableWidget, aS as CMultiSelect, aT as CNotificationProvider, aU as CPagination, aV as CPillSelect, aW as CPopover, aX as CProcessingOverlay, aY as CProgress, aZ as CRichTextEditor, a_ as CSavedCanvasesManagement, a$ as CSearch, b0 as CSearchOnClick, b1 as CSearchOnClickWithSuggestions, b2 as CSecondaryNav, b3 as CSectionManagement, b4 as CSelect, b5 as CSelectFilter, b6 as CSettingsEditor, b7 as CShortcut, b8 as CSingleSelect, b9 as CSkeleton, ba as CSlideViewer, bb as CSpace, bc as CSpin, bd as CSwitch, be as CTable, bf as CTableInput, bg as CTableMore, bh as CTableSelect, bi as CTableTag, bj as CTag, bk as CTags, bl as CTemplateAccessInfo, bm as CTemplateAccessManage, bn as CTemplateManagement, bo as CText, bp as CThemeEditor, bq as CThemeManagement, br as CToastProvider, bs as CToolbar, bt as CTooltip, bu as CUpsertFolderModal, bv as CUserAvatar, bw as CUserMenu, bx as CUsersAccessInfo, by as CUsersGroupsAccessManage, bz as CVirtualTable, bA as CWarningAlert, bB as CallState, bC as CanvasActions, bD as CanvasBuilderApp, bE as CanvasBuilderMode, bF as CanvasExcludedComponentTypesEnum, bG as CanvasHistoryAction, bH as CanvasSelector, bI as CanvasStatus, bJ as CanvasThemeStatus, bK as CanvasesViewsTypes, bL as CollaborationRoleEnum, bM as CollectionPlayerApp, bN as CollectionSelectorApp, bO as ComponentIcon, bP as ComponentTypes, bQ as ContactSelectorQuickFilterType, bR as ContentGridLayoutTypes, bS as ContentSelector, bT as CoreFolderEntityType, bU as DATE_TIME_FORMAT, bV as DEFAULT_ADMIN_TABLE_HEIGHT, bW as DEFAULT_ADMIN_TABLE_WITH_PAGINATION_HEIGHT, bX as DEFAULT_GLOBAL_COMPONENT_SPACING, bY as DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL, bZ as DEFAULT_ITEMS_PER_PAGE, b_ as DEFAULT_PAGE_SIZE, b$ as DEFAULT_PAGE_SIZE_OPTIONS, c0 as DEFAULT_PEER_CONNECTIVITY_VERSION, c1 as DEFAULT_PITCHER_SETTINGS, c2 as DEFAULT_SFDC_API_VERSION, c3 as DSR_API_METHOD_TYPES, c4 as DSR_API_TYPES, c5 as DSR_MESSAGE, c6 as DSR_MESSAGE_TYPES, c7 as DSR_TYPE, c8 as DefaultExpiresAtEnum, c9 as DownloadTypeEnum, ca as EMBED_TYPE, cb as EventAction, cc as EventExternalObjectContentTypeEnum, cd as EventStatusEnum, ce as FileContentTypeEnum, cf as FileStatusEnum, cg as FileTypeEnum, ch as GlobalSearchResultType, ci as GridLayoutTypes, cj as HIDE_IF_EMPTY_COMPONENT_ID_TAG_PREFIX, ck as HIDE_IF_EMPTY_COMPONENT_TRACKING_ID_TAG_PREFIX, cl as HIDE_TAGS_WITH_PREFIX, cm as HtmlLayoutTypes, cn as IFRAME_ACTION_TYPES, co as IFRAME_DATA_MESSAGE, cp as INITIAL_CALL_STATE, cq as IS_DEV_ORG, cr as IS_LOCALHOST, cs as InstanceMembershipRoleEnum, ct as InstanceMembershipUserStatusEnum, cu as InvitationStatusEnum, cv as LanguageEnum, cw as LinkAlignmentTypes, cx as LinkAnchorTypes, cy as LinkPreviewTypes, cz as MAX_LUMINANCE_FOR_LIGHT_TEXT, cA as MAX_UPLOAD_SIZE, cB as MIN_DIFFERENCE_IN_MINUTES, cC as MetadataTemplateFieldTypeEnum, cD as MultimediaHorizontalAlignmentOptions, cE as NON_MEMBER_ROLES, cF as NotesApp, cG as OperatorEnum, cH as PAPER_SIZE_PRESETS, cI as PEER_CONNECTIVITY_EVENT, cJ as PEER_CONNECTIVITY_HANDLER_MATCH_ALL, cK as PITCHER_EVENT, cL as PITCHER_SETTINGS_KEY, cM as PLATFORM_TYPE, cN as PRINT_SCALE_FACTOR, cO as PeerConnectivityActions, cP as PitcherBroadcastedEventName, cQ as PitcherEventName, cR as PitcherExternalEventName, cS as PitcherMessageType, cT as PitcherResponseStatus, cU as PostAction, cV as PptConversionSelectorApp, cW as REQUEST_DEFAULT_CANCEL_TIMEOUT, cX as SEARCH_DEBOUNCE_TIME, cY as SUPPORTED_FONT_EXTENSIONS, cZ as SUPPORTED_FONT_TYPES, c_ as SUPPORTED_IMAGE_EXTENSIONS, c$ as SUPPORTED_IMAGE_TYPES, d0 as SUPPORTED_UPLOAD_FILE_EXTENSIONS, d1 as SUPPORTED_VIDEO_EXTENSIONS, d2 as SUPPORTED_VIDEO_TYPES, d3 as SfEventColors, d4 as SfEventColorsLight, d5 as StorageRegionEnum, d6 as TRACKING_EVENTS_STORAGE_KEY, d7 as UI_API_METHOD_TYPES, d8 as UI_MESSAGE, d9 as UI_MESSAGE_TYPES, da as UI_NATIVE_MESSAGE_TYPES, db as UserRoleEnum, dc as ViewCompactItemType, dd as addCanvasComponent, de as agendaSelector, df as appRequiresCrm, dg as applyCanvasThemeAssetsToNode, dh as applyFont, di as applyToTreeBy, dj as autofocusDirective, dk as camelCaseKeys, dl as canvasUiUnoPreset, dm as clearLocalStorageIfNeeded, dn as clickOutsideDirective, dp as collectAllNodesByCondition, dq as collectionPlayer, dr as collectionSelector, ds as componentIconType, dt as computeLocalStorageBytes, du as convertSecondsToMinutes, dv as convertSoqlToSmartQuery, dw as convertToPixels, dx as convertToSosl, dy as createNodeId, dz as createPitcherSettings, dA as dayjs, dB as deepDiff, dC as deepToRaw, dD as derivePatchRequestFields, dE as determineUserRole, dF as discardSectionComponentOverride, dG as displayBytesWithMUnit, dH as displayIntegerWithMunit, dI as doesLocalOverrideExist, dJ as doesNotHaveAnyModuleOrHookSpecified, dK as downloadFile, dL as draggableDirective, dM as elementMountedDirective, dN as escapeSoqlString, dO as evaluateAccessor, dP as evaluateCreateCanvasDefaultName, dQ as evaluateIsExecutedCondition, dR as evaluateIsExecutedForPascalCaseEvent, dS as executeWithDoublingTime, dT as exitFullscreen, dU as extractFieldNamesFromCondition, dV as fallbackLocale, dW as fetchAll, dX as fetchAllWithOffset, dY as fetchFirstChunkAndRemainingAsync, dZ as filterSidebarApps, d_ as filterTreeBy, d$ as findAllEmbeddableTypesInCanvasContent, e0 as findAllEmbeddableTypesInSectionsContent, e1 as findEmbeddableInCanvasContent, e2 as findEmbeddableInSectionsContent, e3 as findMainFromClause, e4 as findNodeInTreeByCondition, e5 as findNodeInTreeById, e6 as findNodeInTreeByType, e7 as findParentByNodeId, e8 as formatDate, e9 as formatDateDetailed, ea as formatDateTime, eb as formatDateTimeAgo, ec as formatDayMonthBasedOnBrowserLang, ed as formatDimensionForGotenberg, ee as generateAIThumbnailUrl, ef as getAllPages, eg as getAppConfigFromAppSource, eh as getAppIconProps, ei as getAvailableApis, ej as getComponentDescription, ek as getComponentKeywords, el as getComponentTitle, em as getContrastTextColor, en as getDefinedProps, eo as getEventColor, ep as getExcessItemsIndexes, eq as getFontAwesomeIconNameAndType, er as getFreezeStatus, es as getImageSize, et as getLocalOverrideUrl, eu as getLuminance, ev as getNextPageParam, ew as getNodeDisplayNameByComponentType, ex as getNumberWithRegex, ey as getPageQuantity, ez as getPageRange, eA as getPreviewUrl, eB as getRoleIcon, eC as getSalesforceApiVersion, eD as getSectionGlobalComponentSpacing, eE as handleThemeAssetComparison, eF as hasAppTypeDefined, eG as highLevelApi, eH as indirectEval, eI as insertItemSorted, eJ as isAfter, eK as isBefore, eL as isBeforeMinDate, eM as isCanvasDrawerApp, eN as isCanvasSectionExecution, eO as isEmbeddableWithZeroHeight, eP as isFileViewerReplacement, eQ as isFirefox, eR as isFullscreen, eS as isHeadlessOrNotAvailableApp, eT as isImageAccessible, eU as isIosDevice, eV as isMac, eW as isMobile, eX as isModifierClick, eY as isNonMemberRole, eZ as isOriginValid, e_ as isPastMaxDate, e$ as isPitcherOrIosDevice, f0 as isPitcherWkWebView, f1 as isPostcallApp, f2 as isQueryParamTruthy, f3 as isSafari, f4 as isSafariOnIosDevice, f5 as isSameOrAfter, f6 as isSameOrBefore, f7 as isTextComponentEmpty, f8 as isTheUiItself, f9 as isTouchScreen, fa as isValidHex, fb as isWindows, fc as lightThemeOverrides, fd as loadCustomHelpersFromApps, fe as loadRemoteScriptWithCtx, ff as loadScript, fg as loadScriptStyle, fh as loadStyle, fi as localeDropdownOptions, fj as localeNames, fk as locales, fl as mergeWithArrayReplacement, fm as minFutureDate, fn as minPastDate, fo as moveNodeTo, fp as msToSeconds, fq as navigateTo, fr as normalizeFilterParams, fs as normalizeNetworkFilterParams, ft as openUsdz, fu as parseCollectionPlayerSlidesToContentSelector, fv as parseContentSelectorToCollectionPlayerSlides, fw as parseFileToCollectionPlayer, fx as parsePdfFileToCollectionPlayer, fy as parsePptxFileToCollectionPlayer, fz as pascalCaseKeys, fA as pptConversionSelector, fB as processCanvasForSectionThemeOverride, fC as regenerateTreeIds, fD as registerCustomHelper, fE as registerCustomHelpers, fF as registerPeerConnectivityHandler, fG as renderTemplate, fH as replaceThemePresetsWithInlineStyles, fI as replaceTranslationMessagesWithOverrides, fJ as requestFullscreen, fK as requestStream, fL as scrollCanvasToTop, fM as scrollToComponentById, fN as secondsToHumanReadable, fO as sendPeerConnectivityEvent, fP as setDateTime, fQ as shouldDisplayPlaceholderComponent, fR as shouldOpenInCollectionPlayerViewer, fS as shouldShowEmbeddable, fT as shouldShowInSidebar, fU as skipElementsInTree, fV as snakeCaseKeys, fW as someNodeInTree, fX as sortCollectionByString, fY as splitUserName, fZ as stringToHslColor, f_ as supportedLocales, f$ as tapDirective, g0 as titleCase, g1 as toggleFullscreen, g2 as tooltipDirective, g3 as transformFilesToCollectionPlayer, g4 as transformFilesToContentGrid, g5 as updateFirstCollectionPlayerWithShareboxItems, g6 as updateFirstContentGridWithShareboxItems, g7 as urlSafeFetchInChunks, g8 as useAdmin, g9 as useAdminAndDsrState, ga as useApi, gb as useAppsDb, gc as useBindValidation, gd as useBroadcastRouteChange, ge as useCanvasById, gf as useCanvasLocks, gg as useCanvasOverlay, gh as useCanvasVisibility, gi as useCanvasesAsInfinity, gj as useCollectionPlayerOverlay, gk as useCommentTracking, gl as useConfirmation, gm as useDsr, gn as useFetchCanvases, go as useFetchUsers, gp as useFileDisplayHelpers, gq as useFolderNameDescription, gr as useGlobalSearch, gs as useInfiniteScroll, gt as useLocation, gu as useMetadataSearch, gv as useMetadataTemplates, gw as useNotesApp, gx as useNotification, gy as useOpenFileStack, gz as usePitcherApi, gA as usePolling, gB as usePresentationHistory, gC as useRecentFiles, gD as useShareCanvas, gE as useSharedCommentsStorage, gF as useSmartStore, gG as useSuggestedTags, gH as useTheme, gI as useThemeVars, gJ as useToast, gK as useUi, gL as useWindowEvents, gM as vueQueryPluginOptions, gN as wait, gO as waitForIframeInitialize, gP as waitForValue } from './main.lib-MBUzCcc2.js';
|
|
2
2
|
//# sourceMappingURL=canvas-ui.js.map
|
|
@@ -3,12 +3,12 @@ import { FolderItemsFetcher, FolderCreator, FolderUpdater, FolderDeleter, FileCr
|
|
|
3
3
|
export interface BrowserAppProps {
|
|
4
4
|
appName: AppName;
|
|
5
5
|
onFolderFetch: FolderItemsFetcher;
|
|
6
|
-
onFolderCreate
|
|
7
|
-
onFolderUpdate
|
|
8
|
-
onFolderDelete
|
|
9
|
-
onFileCreate
|
|
10
|
-
onFileDelete
|
|
11
|
-
onFileUpdate
|
|
6
|
+
onFolderCreate?: FolderCreator;
|
|
7
|
+
onFolderUpdate?: FolderUpdater;
|
|
8
|
+
onFolderDelete?: FolderDeleter;
|
|
9
|
+
onFileCreate?: FileCreator;
|
|
10
|
+
onFileDelete?: FileDeleter;
|
|
11
|
+
onFileUpdate?: FileUpdater;
|
|
12
12
|
onFileOpen: FileOpener;
|
|
13
13
|
onFileFetch: FileFetcher;
|
|
14
14
|
onFilesList: FileListFetcher;
|
|
@@ -16,7 +16,7 @@ export interface BrowserAppProps {
|
|
|
16
16
|
onFavoriteDelete: FavoriteDeleter;
|
|
17
17
|
onFavoritesFetch: FavoritesFetcher;
|
|
18
18
|
onRecentFilesFetch: RecentFilesFetcher;
|
|
19
|
-
onItemsMove
|
|
19
|
+
onItemsMove?: ItemsMover;
|
|
20
20
|
onSelectDeviceFile?: SelectDeviceFile;
|
|
21
21
|
onFolderList: FolderLister;
|
|
22
22
|
onMetadataFilterFetch?: (params: any) => Promise<Record<string, string | string[]>>;
|
|
@@ -65,18 +65,18 @@ declare function onUpsertFolder(name: string, initialName?: string): Promise<voi
|
|
|
65
65
|
declare function clearTimeouts(): void;
|
|
66
66
|
declare function init({ onFolderFetch, onFolderCreate, onFolderUpdate, onFolderDelete, onFoldersDelete, onFileCreate, onFileUpdate, onFileOpen, onFileDelete, onFilesDelete, onFileFetch, onFilesList, onItemsMove, onFavoriteCreate, onFavoriteDelete, onFavoritesDelete, onFavoritesFetch, onRecentFilesFetch, onSelectDeviceFile, onFolderList, }: {
|
|
67
67
|
onFolderFetch: FolderItemsFetcher;
|
|
68
|
-
onFolderCreate
|
|
69
|
-
onFolderUpdate
|
|
70
|
-
onFolderDelete
|
|
71
|
-
onFoldersDelete
|
|
72
|
-
onFileCreate
|
|
73
|
-
onFileUpdate
|
|
68
|
+
onFolderCreate?: FolderCreator;
|
|
69
|
+
onFolderUpdate?: FolderUpdater;
|
|
70
|
+
onFolderDelete?: FolderDeleter;
|
|
71
|
+
onFoldersDelete?: FoldersDeleter;
|
|
72
|
+
onFileCreate?: FileCreator;
|
|
73
|
+
onFileUpdate?: FileUpdater;
|
|
74
74
|
onFileOpen: FileOpener;
|
|
75
|
-
onFileDelete
|
|
76
|
-
onFilesDelete
|
|
75
|
+
onFileDelete?: FileDeleter;
|
|
76
|
+
onFilesDelete?: FilesDeleter;
|
|
77
77
|
onFileFetch: FileFetcher;
|
|
78
78
|
onFilesList: FileListFetcher;
|
|
79
|
-
onItemsMove
|
|
79
|
+
onItemsMove?: ItemsMover;
|
|
80
80
|
onFavoriteCreate: FavoriteCreator;
|
|
81
81
|
onFavoriteDelete: FavoriteDeleter;
|
|
82
82
|
onFavoritesDelete: FavoritesDeleter;
|
|
@@ -5018,6 +5018,7 @@ export default function useCanvas(): {
|
|
|
5018
5018
|
hide_meeting_bar?: boolean | undefined;
|
|
5019
5019
|
sync_from_template?: string[] | undefined;
|
|
5020
5020
|
} | undefined;
|
|
5021
|
+
allow_dsr_forwarding?: boolean | undefined;
|
|
5021
5022
|
allow_revoke_shared_link?: boolean | undefined;
|
|
5022
5023
|
enable_slotty_ui_asset_manager?: boolean | undefined;
|
|
5023
5024
|
enable_admin_asset_manager?: boolean | undefined;
|
|
@@ -5366,6 +5367,7 @@ export default function useCanvas(): {
|
|
|
5366
5367
|
hide_meeting_bar?: boolean | undefined;
|
|
5367
5368
|
sync_from_template?: string[] | undefined;
|
|
5368
5369
|
} | undefined;
|
|
5370
|
+
allow_dsr_forwarding?: boolean | undefined;
|
|
5369
5371
|
allow_revoke_shared_link?: boolean | undefined;
|
|
5370
5372
|
enable_slotty_ui_asset_manager?: boolean | undefined;
|
|
5371
5373
|
enable_admin_asset_manager?: boolean | undefined;
|
|
@@ -5679,6 +5681,7 @@ export default function useCanvas(): {
|
|
|
5679
5681
|
readonly hide_meeting_bar?: boolean | undefined;
|
|
5680
5682
|
readonly sync_from_template?: readonly string[] | undefined;
|
|
5681
5683
|
} | undefined;
|
|
5684
|
+
readonly allow_dsr_forwarding?: boolean | undefined;
|
|
5682
5685
|
readonly allow_revoke_shared_link?: boolean | undefined;
|
|
5683
5686
|
readonly enable_slotty_ui_asset_manager?: boolean | undefined;
|
|
5684
5687
|
readonly enable_admin_asset_manager?: boolean | undefined;
|
|
@@ -6019,6 +6022,7 @@ export default function useCanvas(): {
|
|
|
6019
6022
|
readonly hide_meeting_bar?: boolean | undefined;
|
|
6020
6023
|
readonly sync_from_template?: readonly string[] | undefined;
|
|
6021
6024
|
} | undefined;
|
|
6025
|
+
readonly allow_dsr_forwarding?: boolean | undefined;
|
|
6022
6026
|
readonly allow_revoke_shared_link?: boolean | undefined;
|
|
6023
6027
|
readonly enable_slotty_ui_asset_manager?: boolean | undefined;
|
|
6024
6028
|
readonly enable_admin_asset_manager?: boolean | undefined;
|
|
@@ -7,15 +7,15 @@ import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, User }
|
|
|
7
7
|
type __VLS_Props = {
|
|
8
8
|
storageKey?: string;
|
|
9
9
|
myUserId?: User['id'];
|
|
10
|
-
updater
|
|
10
|
+
updater?: (params: PatchedCanvasUpdateRequest & {
|
|
11
11
|
id: CanvasRetrieve['id'];
|
|
12
12
|
fields?: string;
|
|
13
13
|
}) => Promise<CanvasRetrieve>;
|
|
14
|
-
creator
|
|
14
|
+
creator?: (params: Omit<CanvasCreateRequest, 'instance_id'>) => Promise<CanvasRetrieve>;
|
|
15
15
|
fetcher: (params: GetCanvasesParams & {
|
|
16
16
|
fields?: string;
|
|
17
17
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
18
|
-
deleter
|
|
18
|
+
deleter?: (id: CanvasRetrieve['id']) => Promise<CanvasRetrieve>;
|
|
19
19
|
byIdFetcher: (params: {
|
|
20
20
|
id: CanvasRetrieve['id'];
|
|
21
21
|
fields?: string;
|
|
@@ -8,17 +8,17 @@ import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, Folder
|
|
|
8
8
|
type __VLS_Props = {
|
|
9
9
|
storageKey?: string;
|
|
10
10
|
myUserId?: CanvasRetrieve['created_by']['id'];
|
|
11
|
-
updater
|
|
11
|
+
updater?: (params: PatchedCanvasUpdateRequest & {
|
|
12
12
|
id: CanvasRetrieve['id'];
|
|
13
13
|
fields?: string;
|
|
14
14
|
}) => Promise<CanvasRetrieve>;
|
|
15
|
-
creator
|
|
15
|
+
creator?: (params: Omit<CanvasCreateRequest, 'instance_id'>, folderId?: string | null) => Promise<CanvasRetrieve>;
|
|
16
16
|
fetcher: (params: GetCanvasesParams & {
|
|
17
17
|
filters?: Record<string, any>;
|
|
18
18
|
fields?: string;
|
|
19
19
|
id__in?: string;
|
|
20
20
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
21
|
-
deleter
|
|
21
|
+
deleter?: (id: CanvasRetrieve['id']) => Promise<CanvasRetrieve>;
|
|
22
22
|
byIdFetcher: (params: {
|
|
23
23
|
id: CanvasRetrieve['id'];
|
|
24
24
|
fields?: string;
|
|
@@ -7,17 +7,17 @@ import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest } from
|
|
|
7
7
|
type __VLS_Props = {
|
|
8
8
|
storageKey: string;
|
|
9
9
|
myUserId?: CanvasRetrieve['created_by']['id'];
|
|
10
|
-
updater
|
|
10
|
+
updater?: (params: PatchedCanvasUpdateRequest & {
|
|
11
11
|
id: CanvasRetrieve['id'];
|
|
12
12
|
fields?: string;
|
|
13
13
|
}) => Promise<CanvasRetrieve>;
|
|
14
|
-
creator
|
|
14
|
+
creator?: (params: Omit<CanvasCreateRequest, 'instance_id'>) => Promise<CanvasRetrieve>;
|
|
15
15
|
fetcher: (params: GetCanvasesParams & {
|
|
16
16
|
filters?: Record<string, any>;
|
|
17
17
|
fields?: string;
|
|
18
18
|
id__in?: string;
|
|
19
19
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
20
|
-
deleter
|
|
20
|
+
deleter?: (id: CanvasRetrieve['id']) => Promise<CanvasRetrieve>;
|
|
21
21
|
byIdFetcher: (params: {
|
|
22
22
|
id: CanvasRetrieve['id'];
|
|
23
23
|
fields?: string;
|
|
@@ -13,6 +13,7 @@ export declare const CDP_EVENT_TYPE: {
|
|
|
13
13
|
readonly wizardEntered: "Wizard Entered";
|
|
14
14
|
readonly wizardExited: "Wizard Exited";
|
|
15
15
|
readonly canvasShared: "Canvas Shared";
|
|
16
|
+
readonly dsrForwarded: "DSR Forwarded";
|
|
16
17
|
readonly customerSentimentCaptured: "Customer Sentiment Captured";
|
|
17
18
|
readonly canvasPageEntered: "Canvas Page Entered";
|
|
18
19
|
readonly canvasPageExited: "Canvas Page Exited";
|
package/lib/main.lib.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export * from './types/launchDarkly.types';
|
|
|
234
234
|
export * from './types/toast';
|
|
235
235
|
export * from './types/instanceSettings.types';
|
|
236
236
|
export * from './types/organizationSettings.types';
|
|
237
|
+
export * from './types/sharedLinkAuthConfig.types';
|
|
237
238
|
export * from './components/CConfigEditor/CConfigEditor.types';
|
|
238
239
|
export * from './types/search';
|
|
239
240
|
export * from './types/selections';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response shape for `core_shared_link_auth_config`. Served raw by the
|
|
3
|
+
* public GET /config and wrapped under `auth_config` on POST/PATCH.
|
|
4
|
+
*/
|
|
5
|
+
export type AuthStrategy = 'none' | 'any_email' | 'specified_emails' | 'specified_domains' | 'verified_emails' | 'verified_domains';
|
|
6
|
+
export interface SharedLinkAuthConfig {
|
|
7
|
+
auth_strategy: AuthStrategy;
|
|
8
|
+
allowed_emails: string[] | null;
|
|
9
|
+
allowed_domains: string[] | null;
|
|
10
|
+
valid_until: string | null;
|
|
11
|
+
/** Resolved value (admin → strategy → rep). DSR viewer consumes this. */
|
|
12
|
+
allow_forward: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Raw rep preference before resolution. The modal MUST bind to this so a
|
|
15
|
+
* resolved `false` (e.g. from an admin kill switch) can't round-trip and
|
|
16
|
+
* overwrite the rep's intent on save.
|
|
17
|
+
*/
|
|
18
|
+
allow_forward_rep_intent?: boolean | null;
|
|
19
|
+
/** PATCH responses only. */
|
|
20
|
+
created_at?: string | null;
|
|
21
|
+
/** PATCH responses only. */
|
|
22
|
+
modified_at?: string | null;
|
|
23
|
+
}
|