sanity 5.26.0-next.7 → 5.26.0-next.8
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/lib/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +66 -1
- package/lib/_chunks-es/structureTool.js +40 -35
- package/lib/_chunks-es/structureTool.js.map +1 -1
- package/lib/_chunks-es/version.js +2 -2
- package/lib/_singletons.d.ts +18 -2
- package/lib/_singletons.js +5 -0
- package/lib/_singletons.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +182 -58
- package/lib/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -9213,6 +9213,30 @@ type ExpandOperation = ExpandPathOperation | ExpandFieldSetOperation | SetActive
|
|
|
9213
9213
|
* @internal
|
|
9214
9214
|
*/
|
|
9215
9215
|
declare function getExpandOperations(node: BaseFormNode, path: Path): ExpandOperation[];
|
|
9216
|
+
/**
|
|
9217
|
+
* A parse error reported by a primitive input that holds malformed text it
|
|
9218
|
+
* cannot commit (e.g. a date input whose value does not match `dateFormat`).
|
|
9219
|
+
*
|
|
9220
|
+
* @internal
|
|
9221
|
+
*/
|
|
9222
|
+
interface ParseError {
|
|
9223
|
+
message: string;
|
|
9224
|
+
}
|
|
9225
|
+
/**
|
|
9226
|
+
* Overlay input-reported parse errors onto a validation array.
|
|
9227
|
+
*
|
|
9228
|
+
* While an input is unparseable, the value committed to the document is still
|
|
9229
|
+
* `undefined`, so the validator output for that path is misleading "required"
|
|
9230
|
+
* noise. For every path present in `parseErrors`, we drop the existing error
|
|
9231
|
+
* markers at that path and emit a single error marker carrying the parse
|
|
9232
|
+
* message. Markers at other paths and non-error markers at the same path
|
|
9233
|
+
* (warning, info) are preserved.
|
|
9234
|
+
*
|
|
9235
|
+
* The `parseErrors` map is keyed by `@sanity/util/paths` `toString(path)`.
|
|
9236
|
+
*
|
|
9237
|
+
* @internal
|
|
9238
|
+
*/
|
|
9239
|
+
declare function mergeParseErrors(validation: ValidationMarker[], parseErrors: Record<string, ParseError>): ValidationMarker[];
|
|
9216
9240
|
/**
|
|
9217
9241
|
* @internal
|
|
9218
9242
|
*/
|
|
@@ -10325,6 +10349,47 @@ declare const FormCallbacksProvider: _$react.MemoExoticComponent<(props: FormCal
|
|
|
10325
10349
|
}) => _$react.JSX.Element>;
|
|
10326
10350
|
/** @internal */
|
|
10327
10351
|
declare function useFormCallbacks(): FormCallbacksValue;
|
|
10352
|
+
/**
|
|
10353
|
+
* Owns transient parse-error state for a document subtree and exposes it via
|
|
10354
|
+
* {@link ParseErrorsContext}. Inputs report errors with {@link useReportParseError};
|
|
10355
|
+
* consumers (field tooltip, validation panel) read the current map with
|
|
10356
|
+
* {@link useParseErrors} and merge it locally with their validation. The state
|
|
10357
|
+
* intentionally lives outside the form/validation pipeline so writes never
|
|
10358
|
+
* feed back into `useDocumentForm`.
|
|
10359
|
+
*
|
|
10360
|
+
* @internal
|
|
10361
|
+
*/
|
|
10362
|
+
declare function ParseErrorsProvider(props: {
|
|
10363
|
+
children: ReactNode;
|
|
10364
|
+
}): _$react.JSX.Element;
|
|
10365
|
+
/**
|
|
10366
|
+
* Returns the current parse-errors map for the surrounding document subtree.
|
|
10367
|
+
* Keys are stringified paths produced by `@sanity/util/paths` `toString`.
|
|
10368
|
+
*
|
|
10369
|
+
* @internal
|
|
10370
|
+
*/
|
|
10371
|
+
declare function useParseErrors(): Record<string, ParseError>;
|
|
10372
|
+
/**
|
|
10373
|
+
* Returns the parse-error message reported for `path`, if any. Use this from
|
|
10374
|
+
* field-level consumers (e.g. `PrimitiveField`) that only care about a single
|
|
10375
|
+
* path.
|
|
10376
|
+
*
|
|
10377
|
+
* @internal
|
|
10378
|
+
*/
|
|
10379
|
+
declare function useParseErrorForPath(path: Path): string | undefined;
|
|
10380
|
+
/**
|
|
10381
|
+
* Hook for primitive inputs that hold malformed text they cannot commit to the
|
|
10382
|
+
* document (e.g. a date input whose value does not match `dateFormat`). The
|
|
10383
|
+
* reported error is registered against `path` in the parse-errors context, so
|
|
10384
|
+
* consumers (field tooltip, validation panel) can surface it. Pass `null` to
|
|
10385
|
+
* clear.
|
|
10386
|
+
*
|
|
10387
|
+
* Outside a `ParseErrorsProvider` (e.g. in isolated component renders) the
|
|
10388
|
+
* hook is a no-op.
|
|
10389
|
+
*
|
|
10390
|
+
* @internal
|
|
10391
|
+
*/
|
|
10392
|
+
declare function useReportParseError(path: Path, error: string | null): void;
|
|
10328
10393
|
/** @internal */
|
|
10329
10394
|
interface TemplateOption {
|
|
10330
10395
|
id: string;
|
|
@@ -16622,4 +16687,4 @@ interface ActiveWorkspaceMatcherContextValue {
|
|
|
16622
16687
|
activeWorkspace: WorkspaceSummary;
|
|
16623
16688
|
setActiveWorkspace: (workspaceName: string) => void;
|
|
16624
16689
|
}
|
|
16625
|
-
export { NewDocumentCreationContext as $, TargetPerspective as $C, TrackedChange as $S, FormPatch as $_, snapshotPair as $a, LocaleSource as $b, prefixPath as $c, truncateString as $d, GetHookCollectionState as $f, CommentsList as $g, UserColorHue as $h, TemplatePermissionsResult as $i, PopoverDialog as $l, DiffProps as $m, ArrayOfPrimitiveOptionsInput as $n, FormBuilderInputComponentMap as $o, NoChanges as $p, FieldPresenceData as $r, PortableTextPluginsProps as $s, useFormBuilder as $t, FieldsetState as $u, SearchResultItemPreview as $v, isCookielessCompatibleLoginMethod as $w, useListFormat as $x, CommentIntentGetter as $y, ComposableOption as A, DraftsModelDocumentAvailability as AC, CommitFunction as AS, useSource as A_, createDocumentStore as Aa, UseTranslationOptions as Ab, defaultRenderInput as Ac, MixedArrayError as Ad, buildLegacyTheme as Af, CollapseMenuButtonProps as Ag, PublishDocumentVersionEvent as Ah, useProject as Ai, InlinePreviewProps as Al, ChangeList as Am, SelectInput as An, prepareForPreview as Ao, getItemKeySegment as Ap, FormFieldValidation as Ar, PrimitiveInputElementProps as As, DocumentInspectorProps as At, useActiveReleases as Au, SearchOperatorType as Av, CommandListElementType as Aw, Template as Ax, useWorkspaces as Ay, DocumentBadgesResolver as B, PreviewableType as BC, useDateTimeFormat as BS, useCopyPaste as B_, InitialValueSuccessMsg as Ba, defineLocalesResources as Bb, FormCallbacksValue as Bc, SANITY_VERSION as Bd, DEFAULT_STUDIO_CLIENT_OPTIONS as Bf, CommentsOnboardingContextValue as Bg, isPublishDocumentVersionEvent as Bh, DocumentPresence as Bi, CompactPreview as Bl, Annotation as Bm, ImageUrlBuilder$1 as Bn, PreviewLoader as Bo, resolveDiffComponent as Bp, FormFieldHeaderText as Br, RenderPreviewCallback as Bs, DocumentFieldActionItem as Bt, DivergenceNavigator as Bu, SearchOperatorParams as Bv, CorsOriginError as Bw, useSchema as Bx, RouterHistory as By, ActionComponent as C, createDocumentPreviewStore as CC, IdPair as CS, StudioAnnouncementsDialog as C_, isNewDocument as Ca, ValidateDocumentOptions as Cb, FormProviderProps as Cc, StringFormNode as Cd, EMPTY_ARRAY as Cf, isProd as Cg, DeleteDocumentVersionEvent as Ch, useHistoryStore as Ci, RelativeTime as Cl, DiffCard as Cm, TelephoneInput as Cn, WithVersion as Co, PerspectiveProvider as Cp, useDocumentDivergences as Cr, InputProps as Cs, ReleaseActionDescription as Ct, getReleaseIdFromReleaseDocumentId as Cu, useSearchMaxFieldDepth as Cv, removeDupes as Cw, resolveInitialObjectValue as Cx, WorkspacesProvider as Cy, AsyncConfigPropertyReducer as D, DocumentAvailability as DC, ResetEvent as DS, StudioProps as D_, DocumentStore as Da, TranslationProps as Db, defaultRenderBlock as Dc, IncompatibleTypeError as Dd, createHookFromObservableFactory as Df, ScrollContainerProps as Dg, EventsStore as Dh, useRenderingContextStore as Di, TemplatePreview as Dl, ChangesError as Dm, StringInput as Dn, createBufferedDocument as Do, FIXME as Dp, FormInput as Dr, OnPathFocusPayload as Ds, DocumentInspector as Dt, ReleasesUpsellContextValue as Du, SearchFilterDefinition as Dv, getDocumentVariantType as Dw, defaultTemplatesForSchema as Dx, validateBasePaths as Dy, AsyncComposableOption as E, AvailabilityResponse as EC, ReconnectEvent as ES, Studio as E_, useDocumentType as Ea, TranslateComponentMap as Eb, defaultRenderAnnotation as Ec, FieldError as Ed, ReactHook as Ef, ScrollContainer as Eg, EditDocumentVersionEvent as Eh, useProjectStore as Ei, CircularProgress as El, ChangeTitleSegment as Em, TagsArrayInputProps as En, BufferedDocumentWrapper as Eo, isPerspectiveWriteable as Ep, FormRow as Er, OnPasteFn as Es, FormComponents as Et, useReleasesIds as Eu, SearchContextValue as Ev, DocumentVariantType as Ew, defaultTemplateForType as Ex, ValidateWorkspaceOptions as Ey, DocumentActionsContext as F, ObserveDocumentTypeFromIdFn as FC, MutationPayload as FS, generateStudioManifest as F_, getInitialValueStream as Fa, useGetI18nText as Fb, ReferenceInputOptions as Fc, ALL_FIELDS_GROUP as Fd, TasksContextValue as Ff, buildTextSelectionFromFragment as Fg, isCreateDocumentVersionEvent as Fh, ProjectOrganizationData as Fi, MediaPreviewProps as Fl, DiffVisitor as Fm, PortableTextMemberItem as Fn, useValuePreview as Fo, normalizeKeySegment as Fp, FormFieldValidationStatusProps as Fr, RenderArrayOfPrimitivesItemCallback as Fs, defineDocumentFieldAction as Ft, DEFAULT_ANNOTATIONS as Fu, OperatorInputComponentProps as Fv, CommandListItemContext as Fw, TemplateReferenceTarget as Fx, getNamelessWorkspaceIdentifier as Fy, DocumentLanguageFilterContext as G, ReleaseAvatar as GC, useClient as GS, PasteOptions as G_, emitOperation as Ga, Locale as Gb, PatchMsgSubscriber as Gc, userHasRole as Gd, useSingleDocRelease as Gf, hasCommentMessageValue as Gg, UserColorManagerProvider as Gh, UserSessionPair as Gi, PreviewComponent as Gl, ChangeNode as Gm, DateTimeInputProps as Gn, isBooleanInputProps as Go, isGroupChange as Gp, PresenceScopeProps as Gr, ObjectItemProps as Gs, DocumentFieldActionsResolver as Gt, SetActiveGroupOperation as Gu, createSearch as Gv, ConnectionStatus as Gw, useReferringDocuments as Gx, CommentsIntentProviderProps as Gy, DocumentInspectorContext as H, VersionInlineBadge as HC, ConnectionState as HS, CopyOptions as H_, remoteSnapshots as Ha, LocaleProvider as Hb, MutationPatchMsg as Hc, measureFirstMatch as Hd, useScheduledDraftDocument as Hf, CommentsEnabledContextValue as Hg, isUnpublishDocumentEvent as Hh, PresenceLocation as Hi, GeneralDocumentListLayoutKey as Hl, ArrayDiff$1 as Hm, EmailInputProps as Hn, isArrayOfBlocksInputProps as Ho, emptyValuesByType as Hp, FormField as Hr, BaseItemProps as Hs, DocumentFieldActionProps as Ht, ExpandFieldSetOperation as Hu, ValuelessSearchOperatorBuilder as Hv, CONNECTING as Hw, RelativeTimeOptions as Hx, CommentsSelectedPathContextValue as Hy, DocumentActionsResolver as I, ObservePathsFn as IC, RemoteSnapshotEvent as IS, ManifestWorkspaceInput as I_, InitialValueErrorMsg as Ia, I18nNode as Ib, ReferenceInputOptionsProvider as Ic, resolveConditionalProperty as Id, TasksNavigationContextValue as If, buildRangeDecorationSelectionsFromComments as Ig, isCreateLiveDocumentEvent as Ih, ProjectStore as Ii, DetailPreview as Il, getAnnotationAtPath as Im, UpdateReadOnlyPlugin as In, unstable_useObserveDocument as Io, normalizePathSegment as Ip, FieldStatusProps as Ir, RenderBlockCallback as Is, DocumentFieldAction as It, DEFAULT_DECORATORS as Iu, SearchOperatorBase as Iv, CommandListProps as Iw, TypeTarget as Ix, getWorkspaceIdentifier as Iy, DocumentPluginOptions as J, PerspectiveContextValue as JC, ChangeIndicatorsTracker as JS, FormDecPatch as J_, Operation as Ja, LocaleNestedResource as Jb, SANITY_PATCH_TYPE as Jc, LoadedState as Jd, SchedulesContext as Jf, CommentInlineHighlightSpan as Jg, createUserColorManager as Jh, createUserStore as Ji, PreviewProps as Jl, ChunkType as Jm, CrossDatasetReferencePreview as Jn, isObjectItemProps as Jo, noop as Jp, FieldPresence as Jr, BlockDecoratorProps as Js, decodePath as Jt, UseFormStateOptions as Ju, SearchFactoryOptions as Jv, ErrorStatus as Jw, UseNumberFormatOptions as Jx, CommentBaseCreatePayload as Jy, DocumentLanguageFilterResolver as K, ReleaseAvatarIcon as KC, CommentDisabledIcon as KS, SanityClipboardItem as K_, operationEvents as Ka, LocaleConfigContext as Kb, RebasePatchMsg as Kc, ErrorState as Kd, getSchemaTypeTitle as Kf, isTextSelectionComment as Kg, UserColorManagerProviderProps as Kh, UserStore as Ki, PreviewLayoutKey as Kl, ChangeTitlePath as Km, DateInput as Kn, isNumberInputProps as Ko, isRemovedItemDiff as Kp, PresenceOverlay as Kr, PrimitiveItemProps as Ks, DocumentFieldActionsResolverContext as Kt, getExpandOperations as Ku, isPerspectiveRaw as Kv, ConnectionStatusStore as Kw, useReconnectingToast as Kx, CommentsEnabledProvider as Ky, DocumentActionsVersionType as L, PreparedSnapshot as LC, SnapshotEvent as LS, StudioManifest as L_, InitialValueLoadingMsg as La, useI18nText as Lb, TemplateOption as Lc, getDocumentIdForCanvasLink as Ld, MentionUserContextValue as Lf, buildCommentRangeDecorations as Lg, isDeleteDocumentGroupEvent as Lh, PresenceStore as Li, DetailPreviewProps as Ll, getAnnotationColor as Lm, ObjectInput as Ln, useUnstableObserveDocument as Lo, pathToString as Lp, FormFieldStatus as Lr, RenderFieldCallback as Ls, DocumentFieldActionDivider as Lt, ReleaseDocument$1 as Lu, SearchOperatorBuilder as Lv, CommandListRenderItemCallback as Lw, SyncState as Lx, WorkspaceLike as Ly, ConfigContext$1 as M, Id as MC, DocumentMutationEvent as MS, uploadSchema as M_, ListenQueryParams as Ma, useTranslation as Mb, defaultRenderPreview as Mc, UndeclaredMembersError as Md, LegacyThemeTints as Mf, AutoCollapseMenu as Mg, UnpublishDocumentEvent as Mh, ProjectData as Mi, BlockImagePreview as Ml, ChangeBreadcrumb as Mm, CreateButton as Mn, getPreviewStateObservable as Mo, isEmptyObject as Mp, FormFieldValidationInfo as Mr, StringInputProps as Ms, defineDocumentInspector as Mt, isReleaseDocument as Mu, I18nSearchOperatorDescriptionKey as Mv, CommandListGetItemKeyCallback as Mw, TemplateFieldDefinition as Mx, useVisibleWorkspaces as My, ConfigPropertyReducer as N, InvalidationChannelEvent as NC, DocumentRebaseEvent as NS, LiveManifestRegisterProvider as N_, listenQuery as Na, useCurrentLocale as Nb, EditReferenceLinkComponentProps as Nc, FormFieldGroup as Nd, useDocumentPreviewValues as Nf, CollapseMenu as Ng, UnscheduleDocumentVersionEvent as Nh, ProjectDatasetData as Ni, BlockImagePreviewProps as Nl, useAnnotationColor as Nm, CreateReferenceOption as Nn, getPreviewPaths as No, normalizeIndexSegment as Np, FormFieldValidationWarning as Nr, RenderAnnotationCallback as Ns, initialDocumentFieldActions as Nt, MetadataWrapper as Nu, I18nSearchOperatorNameKey as Nv, CommandListGetItemSelectedCallback as Nw, TemplateItem as Nx, VisibleWorkspacesContextValue as Ny, BaseActionDescription as O, DocumentStackAvailability as OC, WelcomeBackEvent as OS, SourceProvider as O_, DocumentStoreOptions as Oa, defaultLocale as Ob, defaultRenderField as Oc, InvalidItemTypeError as Od, catchWithCount as Of, useOnScroll as Og, EventsStoreRevision as Oh, useUserStore as Oi, TemplatePreviewProps as Ol, ChangeResolver as Om, SlugInput as On, CommitRequest as Oo, findIndex as Op, FormInputAbsolutePathArg as Or, PasteData$1 as Os, DocumentInspectorComponent as Ot, useDocumentVersionInfo as Ou, defineSearchFilter as Ov, ContextMenuButton as Ow, prepareTemplates as Ox, validateNames as Oy, DefaultPluginsWorkspaceOptions as P, ObserveDocumentAvailabilityFn as PC, DocumentRemoteMutationEvent as PS, GenerateStudioManifestOptions as P_, InitialValueOptions as Pa, useLocale as Pb, EditReferenceOptions as Pc, ProvenanceDiffAnnotation as Pd, TasksUpsellContextValue as Pf, CollapseMenuProps as Pg, UpdateLiveDocumentEvent as Ph, ProjectGrants as Pi, MediaPreview as Pl, useDiffAnnotationColor as Pm, PortableTextInput as Pn, unstable_useValuePreview as Po, normalizeIndexTupleSegment as Pp, FormFieldValidationStatus as Pr, RenderArrayOfObjectsItemCallback as Ps, documentFieldActionsReducer as Pt, RELEASES_INTENT as Pu, OperatorButtonValueComponentProps as Pv, CommandListHandle as Pw, TemplateParameter as Px, VisibleWorkspacesProvider as Py, MissingConfigFile as Q, SelectedPerspective as QC, TrackedArea as QS, FormInsertPatchPosition as Q_, DocumentVersionSnapshots as Qa, LocaleResourceRecord as Qb, insert as Qc, sliceString as Qd, DocumentBadgeProps as Qf, CommentInputProps as Qg, UserColor as Qh, TemplatePermissionsOptions as Qi, usePreviewCard as Ql, DiffComponentResolver as Qm, ArrayOfPrimitivesFunctions as Qn, FormBuilderFilterFieldFn as Qo, RevertChangesButton as Qp, FieldPresenceWithOverlay as Qr, MarkdownConfig as Qs, toMutationPatches as Qt, FieldsetMembers as Qu, compileFieldPath as Qv, isAuthStore as Qw, UseListFormatOptions as Qx, CommentFieldCreatePayload as Qy, DocumentAskToEditEnabledContext as R, PreviewPath as RC, useDialogStack as RS, StudioWorkspaceManifest as R_, InitialValueMsg as Ra, defineLocale as Rb, useReferenceInputOptions as Rc, useNavigateToCanvasDoc as Rd, IsLastPaneProvider as Rf, useCommentsTelemetry as Rg, isDeleteDocumentVersionEvent as Rh, SESSION_ID as Ri, DefaultPreview as Rl, getDiffAtPath as Rm, NumberInput as Rn, SanityDefaultPreview as Ro, pathsAreEqual as Rp, FormFieldSet as Rr, RenderInputCallback as Rs, DocumentFieldActionGroup as Rt, isDocumentLimitError as Ru, SearchOperatorButtonValue as Rv, BetaBadge as Rw, useSyncState as Rx, ActiveWorkspaceMatcher as Ry, useMiddlewareComponents as S, ObserveForPreviewFn as SC, getPairListener as SS, createSanityMediaLibraryImageSource as ST, isValidAnnouncementRole as S_, selectUpstreamVersion as Sa, useValidationStatus as Sb, FormProvider as Sc, PrimitiveFormNode as Sd, formatRelativeLocale as Sf, isDev as Sg, DeleteDocumentGroupEvent as Sh, useGrantsStore as Si, Resizable as Sl, DiffErrorBoundaryState as Sm, TextInputProps as Sn, RemoteSnapshotVersionEvent as So, useExcludedPerspective as Sp, DivergencesProvider as Sr, InputOnSelectFileFunctionProps as Ss, ReleaseActionComponent as St, getReleaseTone as Su, PartialIndexSettings as Sv, newDraftFrom as Sw, isBuilder as Sx, matchWorkspace as Sy, AssetSourceResolver as T, AvailabilityReason as TC, PendingMutationsEvent as TS, StudioAnnouncementsCard as T_, DocumentTypeResolveState as Ta, Translate as Tb, FormBuilderProps as Tc, DuplicateKeysError as Td, LoadingTuple as Tf, ScrollEventHandler as Tg, DocumentVersionEventType as Th, usePresenceStore as Ti, LinearProgress as Tl, TIMELINE_ITEM_I18N_KEY_MAPPING as Tm, TagsArrayInput as Tn, BufferedDocumentEvent as To, PerspectiveNotWriteableReason as Tp, FormCell as Tr, ObjectInputProps as Ts, ReleaseActionsContext as Tt, PUBLISHED as Tu, SearchProvider as Tv, Chip as Tw, resolveInitialValueForType as Tx, WorkspacesContextValue as Ty, DocumentInspectorsResolver as U, getVersionInlineBadge as UC, useConnectionState as US, CopyPasteContextType as U_, OperationError as Ua, LocaleProviderBase as Ub, PatchChannel as Uc, useUnique as Ud, usePausedScheduledDraft as Uf, useComments as Ug, isUnscheduleDocumentVersionEvent as Uh, Session as Ui, GeneralPreviewLayoutKey as Ul, ArrayItemMetadata as Um, getCalendarLabels as Un, isArrayOfObjectsInputProps as Uo, isAddedItemDiff as Up, FormFieldProps as Ur, ItemProps as Us, DocumentFieldActionStatus as Ut, ExpandOperation as Uu, ValuelessSearchOperatorParams as Uv, ConnectedStatus as Uw, useRelativeTime as Ux, CommentsSelectedPathProvider as Uy, DocumentCommentsEnabledContext as V, Selection as VC, useDataset as VS, BaseOptions as V_, validation$1 as Va, removeUndefinedLocaleResources as Vb, useFormCallbacks as Vc, measureFirstEmission as Vd, useScheduledDraftsEnabled as Vf, useCommentsEnabled as Vg, isScheduleDocumentVersionEvent as Vh, GlobalPresence as Vi, CompactPreviewProps as Vl, AnnotationDetails as Vm, EmailInput as Vn, Preview as Vo, useDocumentChange as Vp, FormFieldHeaderTextProps as Vr, RenderPreviewCallbackProps as Vs, DocumentFieldActionNode as Vt, useDivergenceNavigator as Vu, SearchValueFormatterContext as Vv, CorsOriginErrorOptions as Vw, useReviewChanges as Vx, CommentsSelectedPath as Vy, DocumentLanguageFilterComponent as W, ReleaseTitle as WC, useConditionalToast as WS, DocumentMeta as W_, OperationSuccess as Wa, ImplicitLocaleResourceBundle as Wb, PatchMsg as Wc, useThrottledCallback as Wd, SingleDocReleaseProvider as Wf, CommentsContextValue as Wg, isUpdateLiveDocumentEvent as Wh, Status as Wi, PortableTextPreviewLayoutKey as Wl, BooleanDiff$1 as Wm, DateTimeInput as Wn, isArrayOfPrimitivesInputProps as Wo, isFieldChange as Wp, PresenceScope as Wr, ObjectItem as Ws, DocumentFieldActionTone as Wt, ExpandPathOperation as Wu, defineSearchOperator as Wv, ConnectingStatus as Ww, DocumentField as Wx, CommentsIntentProvider as Wy, GroupableActionDescription as X, ReleaseId as XC, useChangeIndicatorsReporter as XS, FormIncPatch as X_, OperationImpl as Xa, LocaleResourceBundle as Xb, diffMatchPatch as Xc, asLoadable as Xd, DocumentBadgeComponent as Xf, CommentInput as Xg, useUserColorManager as Xh, KeyValueStore as Xi, PreviewCardContextValue as Xl, DiffComponent as Xm, UniversalArrayInput as Xn, ArrayInputFunctionsProps as Xo, ValueError as Xp, FieldPresenceInnerProps as Xr, BlockProps as Xs, MutationPatch as Xt, setAtPath as Xu, SearchSort as Xv, createConnectionStatusStore as Xw, UseManageFavoriteProps as Xx, CommentCreatePayload as Xy, FormBuilderComponentResolverContext as Y, PerspectiveStack as YC, useChangeIndicatorsReportedValues as YS, FormDiffMatchPatch as Y_, OperationArgs as Ya, LocalePluginOptions as Yb, dec as Yc, LoadingState as Yd, ScheduledBadge as Yf, CommentInputContextValue as Yg, useUserColor as Yh, createKeyValueStore as Yi, PreviewCard as Yl, Diff$1 as Ym, BooleanInput as Yn, isStringInputProps as Yo, DocumentChangeContextInstance as Yp, FieldPresenceInner as Yr, BlockListItemProps as Ys, encodePath as Yt, useFormState as Yu, SearchOptions as Yv, RetryingStatus as Yw, useNumberFormat as Yx, CommentContext as Yy, MediaLibraryConfig as Z, ReleasesNavMenuItemPropsGetter as ZC, ChangeIndicatorTrackerContextValue as ZS, FormInsertPatch as Z_, OperationsAPI as Za, LocaleResourceKey as Zb, inc as Zc, useLoadable as Zd, DocumentBadgeDescription as Zf, CommentInputHandle as Zg, HexColor as Zh, KeyValueStoreValue as Zi, ReferenceInputPreviewCard as Zl, DiffComponentOptions as Zm, ArrayOfPrimitivesInput as Zn, FormBuilderCustomMarkersComponent as Zo, RevertChangesConfirmDialog as Zp, FieldPresenceProps as Zr, BlockStyleProps as Zs, fromMutationPatches as Zt, StateTree as Zu, SearchTerms as Zv, onRetry as Zw, useManageFavorite as Zx, CommentDocument as Zy, createDefaultIcon as _, useFormatRelativeLocalePublishDate as _C, DocumentStoreExtraOptions as _S, useAgentVersionDisplay as _T, StudioProviderProps as __, GrantsStore as _a, CommentsUIMode as _b, UploaderResolver as _c, NodeDiffProps as _d, isNonNullable as _f, FeedbackDialog as _g, EventsProvider as _h, useDocumentPresence as _i, StatusButton as _l, DiffFromTo as _m, ArrayOfObjectsInputMember as _n, Transaction as _o, SchedulesContextValue as _p, GetFormValueProvider as _r, ArrayOfPrimitivesInputProps as _s, Workspace as _t, isPublishedPerspective as _u, StudioComponentsPluginOptions as _v, isDraftId as _w, TimeAgoOpts as _x, AddonDatasetContextValue as _y, resolveSchemaTypes as a, Reported as aC, useFormattedDuration as aS, _createAuthStore as aT, ErrorMessageProps as a_, grantsPermissionOn as aa, CommentReactionItem as ab, useEnhancedObjectDialog as ac, FieldMember as ad, _isCustomDocumentTypeDefinition as af, UseFeedbackReturn as ag, NullDiff$1 as ah, RegionWithIntersectionDetails as ai, WithReferringDocuments as al, FromTo as am, ObjectInputMemberProps as an, HistoryStore as ao, DocumentActionCustomDialogComponentProps as ap, ArrayOfObjectsInput as ar, ArrayFieldProps as as, PreparedConfig as at, HotkeysProps$1 as au, FormUnsetPatch as av, VERSION_FOLDER as aw, ValidationLocaleResourceKeys as ax, ColorSchemeLocalStorageProvider as ay, ConfigPropertyError as b, DocumentPreviewStore as bC, ListenerEvent as bS, EditPortal as bT, StudioLayoutComponent as b_, useInitialValue as ba, CommentsAuthoringPathProvider as bb, StudioCrossDatasetReferenceInput as bc, ObjectFormNode as bd, getReferencePaths as bf, ConsentStatus as bg, CreateDocumentVersionEvent as bh, useDocumentPreviewStore as bi, RovingFocusNavigationType as bl, DiffErrorBoundary as bm, UrlInputProps as bn, MutationResult as bo, usePerspective as bp, FormValueProvider as br, ComplexElementProps as bs, WorkspaceOptions as bt, isReleasePerspective as bu, SearchDialog as bv, isSystemBundleName as bw, DEFAULT_MAX_RECURSION_DEPTH as bx, MatchWorkspaceOptions as by, createWorkspaceFromConfig as c, ChangeConnectorRootProps as cC, useEditState as cS, AuthState as cT, useWorkspace as c_, useDocumentValuePermissions as ca, CommentStatus as cb, FileInputProps as cc, ObjectMember as cd, createSWR as cf, UseInStudioFeedbackReturn as cg, ReferenceDiff as ch, DocumentPreviewPresence as ci, UserAvatarProps as cl, FallbackDiff as cm, MemberField as cn, removeMissingReferences as co, DocumentActionGroup as cp, FormBuilderContextValue as cr, BooleanFieldProps as cs, SanityFormConfig as ct, ErrorWithId as cu, ToolLinkProps as cv, createPublishedFrom as cw, UserListWithPermissionsHookValue as cx, useColorScheme as cy, flattenConfig as d, ChangeIndicatorProps as dC, DocumentIdStack as dS, LoginComponentProps as dT, UpsellDialogDismissed as d_, getDocumentPairPermissions as da, CommentThreadItem as db, FileLike as dc, BaseFormNode as dd, isCardinalityOneRelease as df, DynamicFeedbackTags as dg, StringSegmentChanged$1 as dh, useUser as di, ZIndexContextValue as dl, DiffTooltipProps as dm, ArrayOfPrimitivesItem as dn, TimelineControllerOptions as do, DocumentActionPopoverDialogProps as dp, useFieldActions as dr, NumberFieldProps as ds, SingleWorkspace as dt, DocumentStatusIndicator as du, ActiveToolLayoutProps as dv, getIdPair as dw, useUserListWithPermissions as dx, useColorSchemeSetValue as dy, TrackerContextGetSnapshot as eC, GlobalCopyPasteElementHandler as eS, getProviderTitle as eT, CommentsUpsellContextValue as e_, getTemplatePermissions as ea, CommentListBreadcrumbs as eb, ArrayInputCopyEvent as ec, ArrayOfObjectsItemMember as ed, uncaughtErrorHandler as ef, UserColorManager as eg, FieldChangeNode as eh, FormNodePresence as ei, set as el, MetaInfo as em, useDocumentForm as en, useTimelineSelector as eo, GetHookCollectionStateProps as ep, ArrayOfOptionsInput as er, FormBuilderMarkersComponent as es, NewDocumentOptionsContext as et, LoadingBlock as eu, FormPatchBase as ev, CollatedHit as ew, LocaleWeekInfo as ex, SearchPopover as ey, PluginFactory as f, ChangeFieldWrapper as fC, useDocumentIdStack as fS, AuthConfig as fT, UpsellDialogLearnMoreCtaClicked as f_, useDocumentPairPermissions as fa, CommentUpdateOperationOptions as fb, ResolvedUploader as fc, BooleanFormNode as fd, isPausedCardinalityOneRelease as ff, FeedbackPayload as fg, StringSegmentUnchanged$1 as fh, ResourceCache as fi, ImperativeToast as fl, DiffTooltipWithAnnotationsProps as fm, PrimitiveMemberItemProps as fn, ParsedTimeRef as fo, DocumentActionProps as fp, FieldActionsProps as fr, ObjectFieldProps as fs, Source as ft, CapabilityGate as fu, LayoutProps as fv, getPublishedId as fw, FormattableMeasurementUnit as fx, useColorSchemeValue as fy, defineConfig as g, useIsReleaseActive as gC, DocumentRebaseTelemetryEvent as gS, AgentVersionDisplay as gT, StudioProvider as g_, Grant as ga, CommentsType as gb, UploaderDef as gc, NodeChronologyProps as gd, isRecord as gf, StudioFeedbackDialogProps as gg, useEventsStore as gh, useGlobalPresence as gi, TextWithToneProps as gl, DiffInspectWrapperProps as gm, ArrayOfObjectsInputMembersProps as gn, DocumentRemoteMutationVersionEvent as go, isSanityDefinedAction as gp, FieldActionMenuProps as gr, ArrayOfPrimitivesElementType as gs, Tool as gt, isDraftPerspective as gu, StudioComponents as gv, isDraft as gw, useTools as gx, useAddonDataset as gy, createConfig as h, useOnlyHasVersions as hC, DocumentPairLoadedEvent as hS, LoginMethod as hT, UpsellDialogViewedInfo as h_, EvaluationParams as ha, CommentsTextSelectionItem as hb, Uploader as hc, HiddenField as hd, isString as hf, StudioFeedbackDialog as hg, getValueError as hh, useResourceCache as hi, TextWithTone as hl, DiffInspectWrapper as hm, ArrayOfObjectsInputMembers as hn, CombinedDocument as ho, SanityDefinedAction as hp, FieldActionMenu as hr, ArrayOfObjectsInputProps as hs, TemplateResolver as ht, getDocumentIsInPerspective as hu, NavbarProps as hv, idMatchesPerspective as hw, useUnitFormatter as hx, StudioThemeColorSchemeKey as hy, SchemaError as i, IsEqualFunction as iC, UseFormattedDurationOptions as iS, CreateAuthStoreOptions as iT, ErrorMessage as i_, createGrantsStore as ia, CommentPostPayload as ib, EnhancedObjectDialogContextValue as ic, DecorationMember as id, joinPath as if, useStudioFeedbackTags as ig, ItemDiff$1 as ih, Rect as ii, useZIndex as il, FromToArrowDirection as im, ObjectInputMember as in, DocumentRevision as io, DocumentActionConfirmDialogProps as ip, useVirtualizerScrollInstance as ir, RenderCustomMarkers as is, PluginOptions as it, Hotkeys as iu, FormSetPatch as iv, SystemBundle as iw, TFunction$1 as ix, ColorSchemeCustomProvider as iy, Config as j, FieldName as jC, CommittedEvent as jS, renderStudio as j_, ListenQueryOptions as ja, UseTranslationResponse as jb, defaultRenderItem as jc, TypeAnnotationMismatchError as jd, LegacyThemeProps as jf, CommonProps as jg, ScheduleDocumentVersionEvent as jh, createProjectStore as ji, BlockPreview as jl, ChangeListProps as jm, ReferenceAutocomplete as jn, getPreviewValueWithFallback as jo, getValueAtPath as jp, FormFieldValidationError as jr, PrimitiveInputProps as js, DocumentInspectorUseMenuItemProps as jt, VersionInfoDocumentStub as ju, operatorDefinitions as jv, CommandListGetItemDisabledCallback as jw, TemplateArrayFieldDefinition as jx, evaluateWorkspaceHidden as jy, BetaFeatures as k, DraftsModelDocument as kC, WelcomeEvent as kS, SourceProviderProps as k_, QueryParams$1 as ka, usEnglishLocale as kb, defaultRenderInlineBlock as kc, MissingKeysError as kd, defaultTheme as kf, CollapseMenuButton as kg, HistoryClearedEvent as kh, useProjectDatasets as ki, InlinePreview as kl, ChangeResolverProps as km, SlugInputProps as kn, createObservableBufferedDocument as ko, getItemKey as kp, FormInputRelativePathArg as kr, PortableTextInputProps as ks, DocumentInspectorMenuItem as kt, useArchivedReleases as ku, defineSearchFilterOperators as kv, CommandList as kw, InitialValueTemplateItem as kx, validateWorkspaces as ky, resolveConfig as l, ConnectorContextValue as lC, useDocumentOperationEvent as lS, AuthStore as lT, InterpolationProp as l_, DocumentPairPermissionsOptions as la, CommentTaskCreatePayload as lb, StudioFileInput as lc, ArrayOfObjectsFormNode as ld, CardinalityOneRelease as lf, useInStudioFeedback as lg, StringDiff$1 as lh, DocumentPreviewPresenceProps as li, LegacyLayerProvider as ll, Event$1 as lm, MemberFieldProps as ln, SelectionState as lo, DocumentActionKeys as lp, useHoveredField as lr, FieldCommentsProps as ls, ScheduledPublishingPluginOptions as lt, ErrorActions as lu, StudioToolMenu as lv, documentIdEquals as lw, UserListWithPermissionsOptions as lx, useColorSchemeInternalValue as ly, definePlugin as m, useVersionOperations as mC, editState$1 as mS, CookielessCompatibleLoginMethod as mT, UpsellDialogViewed as m_, DocumentValuePermission as ma, CommentsListBreadcrumbItem as mb, UploadProgressEvent as mc, DocumentFormNode as md, isTruthy as mf, TagValue as mg, FieldValueError as mh, ResourceCacheProviderProps as mi, TooltipOfDisabled as ml, DiffStringSegment as mm, MemberItemProps as mn, TimelineOptions as mo, DuplicateDocumentActionComponent as mp, FieldActionsProvider as mr, StringFieldProps as ms, SourceOptions as mt, formatRelativeLocalePublishDate as mu, NavbarAction as mv, getVersionId as mw, UseUnitFormatterOptions as mx, StudioTheme as my, getConfigContextFromSource as n, useTrackerStore as nC, FormDocumentValue as nS, createMockAuthStore as nT, WorkspaceLoaderBoundary as n_, useTemplatePermissionsFromHookFactory as na, CommentOperations as nb, ArrayInputMoveItemEvent as nc, ArrayOfPrimitivesItemMember as nd, escapeField as nf, FeedbackContext as ng, FromToIndex as nh, Position as ni, unset as nl, GroupChange as nm, ObjectMembers as nn, TimelineStore as no, useScheduleAction as np, VirtualizerScrollInstanceProvider as nr, RenderBlockActionsCallback as ns, PartialContext as nt, InsufficientPermissionsMessage as nu, FormPatchOrigin as nv, DraftId as nw, LocalesOption as nx, SearchHeader as ny, CreateWorkspaceFromConfigOptions as o, ReporterHook as oC, useFilteredReleases as oS, createAuthStore as oT, WorkspaceProvider as o_, DocumentValuePermissionsOptions as oa, CommentReactionOption as ob, ImageInputProps as oc, FieldSetMember as od, _isSanityDocumentTypeDefinition as of, useFeedback as og, NumberDiff$1 as oh, ReportedRegionWithRect as oi, AvatarSkeleton as ol, FromToProps as om, MemberFieldSet as on, HistoryStoreOptions as oo, DocumentActionDescription as op, ArrayOfObjectsFunctions as or, ArrayOfPrimitivesFieldProps as os, ReleaseActionsResolver as ot, serializeError as ou, PatchArg as ov, collate as ow, StudioLocaleResourceKeys as ox, ColorSchemeProvider as oy, createPlugin as p, sortReleases as pC, EditStateFor as pS, AuthProvider as pT, UpsellDialogUpgradeCtaClicked as p_, useDocumentPairPermissionsFromHookFactory as pa, CommentUpdatePayload as pb, UploadOptions as pc, ComputeDiff as pd, PartialExcept as pf, Sentiment as pg, TypeChangeDiff$1 as ph, ResourceCacheProvider as pi, ToastParams$1 as pl, DiffString as pm, ArrayOfObjectsItem as pn, Timeline as po, DuplicateActionProps as pp, FieldActionsResolver as pr, PrimitiveFieldProps as ps, SourceClientOptions as pt, DocumentStatus as pu, LogoProps as pv, getVersionFromId as pw, UnitFormatter as px, StudioColorScheme as py, DocumentLayoutProps as q, VersionChip as qC, CommentDeleteDialog as qS, PatchEvent as q_, MapDocument as qa, LocaleDefinition as qb, createPatchChannel as qc, LoadableState as qd, createSchema as qf, COMMENTS_INSPECTOR_NAME as qg, UserColorManagerOptions as qh, UserStoreOptions as qi, PreviewMediaDimensions as ql, Chunk as qm, DateInputProps as qn, isObjectInputProps as qo, isUnchangedDiff as qp, PresenceOverlayProps as qr, BlockAnnotationProps as qs, TransformPatches as qt, FormState as qu, getSearchableTypes as qv, ConnectionStatusStoreOptions as qw, useProjectId as qx, CommentsProvider as qy, useConfigContextFromSource as r, useTrackerStoreReporter as rC, FormattedDuration as rS, AuthStoreOptions as rT, useWorkspaceLoader as r_, GrantsStoreOptions as ra, CommentPath as rb, UploadEvent as rc, ArrayOfPrimitivesMember as rd, fieldNeedsEscape as rf, FeedbackContextValue as rg, GroupChangeNode as rh, PresentUser as ri, ZIndexProvider as rl, FromToArrow as rm, ObjectMembersProps as rn, useTimelineStore as ro, DocumentActionComponent as rp, VirtualizerScrollInstance as rr, RenderBlockActionsProps as rs, Plugin as rt, InsufficientPermissionsMessageProps as ru, FormSetIfMissingPatch as rv, PublishedId as rw, StaticLocaleResourceBundle as rx, Filters as ry, createSourceFromConfig as s, ChangeConnectorRoot as sC, useFeatureEnabled as sS, AuthProbeResult as sT, WorkspaceProviderProps as s_, getDocumentValuePermissions as sa, CommentReactionShortNames as sb, StudioImageInput as sc, FieldsetRenderMembersCallback as sd, _isType as sf, SendFeedbackOptions as sg, ObjectDiff$1 as sh, Size as si, UserAvatar as sl, FieldChange as sm, MemberFieldError as sn, createHistoryStore as so, DocumentActionDialogProps as sp, useDidUpdate as sr, BaseFieldProps as ss, ResolveProductionUrlContext as st, useCopyErrorDetails as su, ToolLink as sv, createDraftFrom as sw, Rule as sx, ColorSchemeProviderProps as sy, ActiveWorkspaceMatcherContextValue as t, TrackerContextStore as tC, useGlobalCopyPasteElementHandler as tS, MockAuthStoreOptions as tT, UpsellData as t_, useTemplatePermissions as ta, CommentMessage as tb, ArrayInputInsertEvent as tc, ArrayOfObjectsMember as td, supportsTouch as tf, UserId as tg, FieldOperationsAPI as th, Location as ti, setIfMissing as tl, MetaInfoProps as tm, ObjectInputMembers as tn, TimelineState as to, HookCollectionActionHook as tp, ArrayOfObjectOptionsInput as tr, PortableTextMarker as ts, NewDocumentOptionsResolver as tt, IntentButton as tu, FormPatchJSONValue as tv, DRAFTS_FOLDER as tw, LocalesBundlesOption as tx, SearchPopoverProps as ty, prepareConfig as u, ChangeIndicator as uC, useDocumentOperation as uS, HandleCallbackResult as uT, UpsellDescriptionSerializer as u_, DocumentPermission as ua, CommentTextSelection as ub, AssetSourcesResolver as uc, ArrayOfPrimitivesFormNode as ud, isCardinalityOnePerspective as uf, BaseFeedbackTags as ug, StringDiffSegment as uh, useCurrentUser as ui, ZIndexContextValueKey as ul, DiffTooltip as um, MemberItemError as un, TimelineController as uo, DocumentActionModalDialogProps as up, HoveredFieldProvider as ur, FieldProps as us, SchemaPluginOptions as ut, ErrorActionsProps as uu, StudioNavbar as uv, getDraftId as uw, UserWithPermission as ux, useColorSchemeOptions as uy, ConfigResolutionError as v, useDocumentVersionTypeSortedList as vC, InitialSnapshotEvent as vS, isAgentBundleName as vT, NavbarContextValue as v_, PermissionCheckResult as va, Loadable as vb, StudioReferenceInput as vc, NumberFormNode as vd, isArray as vf, FeedbackDialogProps as vg, useEvents as vh, useComlinkStore as vi, StatusButtonProps as vl, DiffFromToProps as vm, ArrayOfObjectsMemberProps as vn, DocumentVersion as vo, EditScheduleForm as vp, useGetFormValue as vr, BaseInputProps as vs, WorkspaceHiddenContext as vt, isReleaseScheduledOrScheduling as vu, ToolMenuProps as vv, isPublishedId as vw, useTimeAgo as vx, AddonDatasetProvider as vy, AppsOptions as w, ApiConfig as wC, MutationEvent as wS, StudioAnnouncementsContextValue as w_, useDocumentValues as wa, validateDocument as wb, FormBuilder as wc, ArrayItemError as wd, EMPTY_OBJECT as wf, ScrollContextValue as wg, DocumentGroupEvent as wh, useKeyValueStore as wi, RelativeTimeProps as wl, DiffCardProps as wm, TelephoneInputProps as wn, checkoutPair as wo, ReleasesNav as wp, FormContainer as wr, NumberInputProps as ws, ReleaseActionProps as wt, LATEST as wu, useSearchState as wv, systemBundles as ww, resolveInitialValue as wx, WorkspacesProviderProps as wy, ConfigPropertyErrorOptions as x, DocumentPreviewStoreOptions as xC, MutationPerformanceEvent as xS, createSanityMediaLibraryFileSource as xT, isValidAnnouncementAudience as x_, useInitialValueResolverContext as xa, useWorkspaceSchemaId as xb, StudioCrossDatasetReferenceInputProps as xc, ObjectRenderMembersCallback as xd, getErrorMessage as xf, StudioFeedbackProvider as xg, CreateLiveDocumentEvent as xh, useDocumentStore as xi, RovingFocusProps as xl, DiffErrorBoundaryProps as xm, TextInput as xn, Pair as xo, useGetDefaultPerspective as xp, useFormValue as xr, EditorChange as xs, WorkspaceSummary as xt, isGoingToUnpublish as xu, SearchButton as xv, isVersionId as xw, Serializeable as xx, MatchWorkspaceResult as xy, ConfigResolutionErrorOptions as y, useDocumentVersions as yC, LatencyReportEvent as yS, EnhancedObjectDialog as yT, StudioLayout as y_, useResolveInitialValueForType as ya, CommentsAuthoringPathContextValue as yb, StudioReferenceInputProps as yc, ObjectArrayFormNode as yd, globalScope as yf, useTelemetryConsent as yg, BaseEvent as yh, useConnectionStatusStore as yi, useRovingFocus as yl, FieldPreviewComponent as ym, UrlInput as yn, DocumentVersionEvent as yo, useSetPerspective as yp, FormValueContextValue as yr, BooleanInputProps as ys, WorkspaceHiddenProperty as yt, RELEASES_STUDIO_CLIENT_OPTIONS as yu, StudioLogo as yv, isSystemBundle as yw, useTemplates as yx, useActiveWorkspace as yy, DocumentBadgesContext as z, Previewable as zC, UseDateTimeFormatOptions as zS, CopyPasteProvider as z_, InitialValueState as za, defineLocaleResourceBundle as zb, FormCallbacksProvider as zc, useCanvasCompanionDoc as zd, TasksEnabledContextValue as zf, useCommentsSelectedPath as zg, isEditDocumentVersionEvent as zh, createPresenceStore as zi, DefaultPreviewProps as zl, visitDiff as zm, AssetAccessPolicy as zn, SanityDefaultPreviewProps as zo, stringToPath as zp, FormFieldSetProps as zr, RenderItemCallback as zs, DocumentFieldActionHook as zt, useDocumentLimitsUpsellContext as zu, SearchOperatorInput as zv, BetaBadgeProps as zw, useStudioUrl as zx, ActiveWorkspaceMatcherProps as zy };
|
|
16690
|
+
export { NewDocumentCreationContext as $, VersionChip as $C, CommentDeleteDialog as $S, PatchEvent as $_, snapshotPair as $a, LocaleDefinition as $b, dec as $c, LoadableState as $d, createSchema as $f, COMMENTS_INSPECTOR_NAME as $g, UserColorManagerOptions as $h, TemplatePermissionsResult as $i, PreviewCard as $l, Chunk as $m, ArrayOfPrimitiveOptionsInput as $n, FormBuilderInputComponentMap as $o, isUnchangedDiff as $p, FieldPresenceData as $r, PortableTextPluginsProps as $s, useFormBuilder as $t, FormState as $u, getSearchableTypes as $v, ConnectionStatusStoreOptions as $w, useProjectId as $x, CommentsProvider as $y, ComposableOption as A, ApiConfig as AC, MutationEvent as AS, StudioAnnouncementsContextValue as A_, createDocumentStore as Aa, validateDocument as Ab, defaultRenderInput as Ac, ArrayItemError as Ad, EMPTY_OBJECT as Af, ScrollContextValue as Ag, DocumentGroupEvent as Ah, useProject as Ai, CircularProgress as Al, DiffCardProps as Am, SelectInput as An, prepareForPreview as Ao, ReleasesNav as Ap, FormFieldValidation as Ar, PrimitiveInputElementProps as As, DocumentInspectorProps as At, useReleasesIds as Au, useSearchState as Av, systemBundles as Aw, resolveInitialValue as Ax, WorkspacesProviderProps as Ay, DocumentBadgesResolver as B, ObserveDocumentAvailabilityFn as BC, DocumentRemoteMutationEvent as BS, GenerateStudioManifestOptions as B_, InitialValueSuccessMsg as Ba, useLocale as Bb, useParseErrorForPath as Bc, ProvenanceDiffAnnotation as Bd, TasksUpsellContextValue as Bf, CollapseMenuProps as Bg, UpdateLiveDocumentEvent as Bh, DocumentPresence as Bi, DetailPreview as Bl, useDiffAnnotationColor as Bm, ImageUrlBuilder$1 as Bn, PreviewLoader as Bo, normalizeIndexTupleSegment as Bp, FormFieldHeaderText as Br, RenderPreviewCallback as Bs, DocumentFieldActionItem as Bt, DEFAULT_DECORATORS as Bu, OperatorButtonValueComponentProps as Bv, CommandListHandle as Bw, TemplateParameter as Bx, VisibleWorkspacesProvider as By, ActionComponent as C, useFormatRelativeLocalePublishDate as CC, DocumentStoreExtraOptions as CS, useAgentVersionDisplay as CT, StudioProviderProps as C_, isNewDocument as Ca, CommentsUIMode as Cb, FormProviderProps as Cc, NodeDiffProps as Cd, isNonNullable as Cf, FeedbackDialog as Cg, EventsProvider as Ch, useHistoryStore as Ci, useRovingFocus as Cl, DiffFromTo as Cm, TelephoneInput as Cn, WithVersion as Co, SchedulesContextValue as Cp, useDocumentDivergences as Cr, InputProps as Cs, ReleaseActionDescription as Ct, RELEASES_STUDIO_CLIENT_OPTIONS as Cu, StudioComponentsPluginOptions as Cv, isDraftId as Cw, TimeAgoOpts as Cx, AddonDatasetContextValue as Cy, AsyncConfigPropertyReducer as D, DocumentPreviewStoreOptions as DC, MutationPerformanceEvent as DS, createSanityMediaLibraryFileSource as DT, isValidAnnouncementAudience as D_, DocumentStore as Da, useWorkspaceSchemaId as Db, defaultRenderBlock as Dc, ObjectRenderMembersCallback as Dd, getErrorMessage as Df, StudioFeedbackProvider as Dg, CreateLiveDocumentEvent as Dh, useRenderingContextStore as Di, RelativeTime as Dl, DiffErrorBoundaryProps as Dm, StringInput as Dn, createBufferedDocument as Do, useGetDefaultPerspective as Dp, FormInput as Dr, OnPathFocusPayload as Ds, DocumentInspector as Dt, getReleaseIdFromReleaseDocumentId as Du, SearchButton as Dv, isVersionId as Dw, Serializeable as Dx, MatchWorkspaceResult as Dy, AsyncComposableOption as E, DocumentPreviewStore as EC, ListenerEvent as ES, EditPortal as ET, StudioLayoutComponent as E_, useDocumentType as Ea, CommentsAuthoringPathProvider as Eb, defaultRenderAnnotation as Ec, ObjectFormNode as Ed, getReferencePaths as Ef, ConsentStatus as Eg, CreateDocumentVersionEvent as Eh, useProjectStore as Ei, Resizable as El, DiffErrorBoundary as Em, TagsArrayInputProps as En, BufferedDocumentWrapper as Eo, usePerspective as Ep, FormRow as Er, OnPasteFn as Es, FormComponents as Et, getReleaseTone as Eu, SearchDialog as Ev, isSystemBundleName as Ew, DEFAULT_MAX_RECURSION_DEPTH as Ex, MatchWorkspaceOptions as Ey, DocumentActionsContext as F, DraftsModelDocument as FC, WelcomeEvent as FS, SourceProviderProps as F_, getInitialValueStream as Fa, usEnglishLocale as Fb, ReferenceInputOptions as Fc, MissingKeysError as Fd, defaultTheme as Ff, CollapseMenuButton as Fg, HistoryClearedEvent as Fh, ProjectOrganizationData as Fi, BlockPreview as Fl, ChangeResolverProps as Fm, PortableTextMemberItem as Fn, useValuePreview as Fo, getItemKey as Fp, FormFieldValidationStatusProps as Fr, RenderArrayOfPrimitivesItemCallback as Fs, defineDocumentFieldAction as Ft, VersionInfoDocumentStub as Fu, defineSearchFilterOperators as Fv, CommandList as Fw, InitialValueTemplateItem as Fx, validateWorkspaces as Fy, DocumentLanguageFilterContext as G, Previewable as GC, UseDateTimeFormatOptions as GS, CopyPasteProvider as G_, emitOperation as Ga, defineLocaleResourceBundle as Gb, useFormCallbacks as Gc, useCanvasCompanionDoc as Gd, TasksEnabledContextValue as Gf, useCommentsSelectedPath as Gg, isEditDocumentVersionEvent as Gh, UserSessionPair as Gi, CompactPreviewProps as Gl, visitDiff as Gm, DateTimeInputProps as Gn, isBooleanInputProps as Go, stringToPath as Gp, PresenceScopeProps as Gr, ObjectItemProps as Gs, DocumentFieldActionsResolver as Gt, useDivergenceNavigator as Gu, SearchOperatorInput as Gv, BetaBadgeProps as Gw, useStudioUrl as Gx, ActiveWorkspaceMatcherProps as Gy, DocumentInspectorContext as H, ObservePathsFn as HC, RemoteSnapshotEvent as HS, ManifestWorkspaceInput as H_, remoteSnapshots as Ha, I18nNode as Hb, useReportParseError as Hc, resolveConditionalProperty as Hd, TasksNavigationContextValue as Hf, buildRangeDecorationSelectionsFromComments as Hg, isCreateLiveDocumentEvent as Hh, PresenceLocation as Hi, DefaultPreview as Hl, getAnnotationAtPath as Hm, EmailInputProps as Hn, isArrayOfBlocksInputProps as Ho, normalizePathSegment as Hp, FormField as Hr, BaseItemProps as Hs, DocumentFieldActionProps as Ht, isDocumentLimitError as Hu, SearchOperatorBase as Hv, CommandListProps as Hw, TypeTarget as Hx, getWorkspaceIdentifier as Hy, DocumentActionsResolver as I, DraftsModelDocumentAvailability as IC, CommitFunction as IS, useSource as I_, InitialValueErrorMsg as Ia, UseTranslationOptions as Ib, ReferenceInputOptionsProvider as Ic, MixedArrayError as Id, buildLegacyTheme as If, CollapseMenuButtonProps as Ig, PublishDocumentVersionEvent as Ih, ProjectStore as Ii, BlockImagePreview as Il, ChangeList as Im, UpdateReadOnlyPlugin as In, unstable_useObserveDocument as Io, getItemKeySegment as Ip, FieldStatusProps as Ir, RenderBlockCallback as Is, DocumentFieldAction as It, isReleaseDocument as Iu, SearchOperatorType as Iv, CommandListElementType as Iw, Template as Ix, useWorkspaces as Iy, DocumentPluginOptions as J, VersionInlineBadge as JC, ConnectionState as JS, CopyOptions as J_, Operation as Ja, LocaleProvider as Jb, PatchMsg as Jc, measureFirstMatch as Jd, useScheduledDraftDocument as Jf, CommentsEnabledContextValue as Jg, isUnpublishDocumentEvent as Jh, createUserStore as Ji, PortableTextPreviewLayoutKey as Jl, ArrayDiff$1 as Jm, CrossDatasetReferencePreview as Jn, isObjectItemProps as Jo, emptyValuesByType as Jp, FieldPresence as Jr, BlockDecoratorProps as Js, decodePath as Jt, ExpandFieldSetOperation as Ju, ValuelessSearchOperatorBuilder as Jv, CONNECTING as Jw, RelativeTimeOptions as Jx, CommentsSelectedPathContextValue as Jy, DocumentLanguageFilterResolver as K, PreviewableType as KC, useDateTimeFormat as KS, useCopyPaste as K_, operationEvents as Ka, defineLocalesResources as Kb, MutationPatchMsg as Kc, SANITY_VERSION as Kd, DEFAULT_STUDIO_CLIENT_OPTIONS as Kf, CommentsOnboardingContextValue as Kg, isPublishDocumentVersionEvent as Kh, UserStore as Ki, GeneralDocumentListLayoutKey as Kl, Annotation as Km, DateInput as Kn, isNumberInputProps as Ko, resolveDiffComponent as Kp, PresenceOverlay as Kr, PrimitiveItemProps as Ks, DocumentFieldActionsResolverContext as Kt, ParseError as Ku, SearchOperatorParams as Kv, CorsOriginError as Kw, useSchema as Kx, RouterHistory as Ky, DocumentActionsVersionType as L, FieldName as LC, CommittedEvent as LS, renderStudio as L_, InitialValueLoadingMsg as La, UseTranslationResponse as Lb, TemplateOption as Lc, TypeAnnotationMismatchError as Ld, LegacyThemeProps as Lf, CommonProps as Lg, ScheduleDocumentVersionEvent as Lh, PresenceStore as Li, BlockImagePreviewProps as Ll, ChangeListProps as Lm, ObjectInput as Ln, useUnstableObserveDocument as Lo, getValueAtPath as Lp, FormFieldStatus as Lr, RenderFieldCallback as Ls, DocumentFieldActionDivider as Lt, MetadataWrapper as Lu, operatorDefinitions as Lv, CommandListGetItemDisabledCallback as Lw, TemplateArrayFieldDefinition as Lx, evaluateWorkspaceHidden as Ly, ConfigContext$1 as M, AvailabilityResponse as MC, ReconnectEvent as MS, Studio as M_, ListenQueryParams as Ma, TranslateComponentMap as Mb, defaultRenderPreview as Mc, FieldError as Md, ReactHook as Mf, ScrollContainer as Mg, EditDocumentVersionEvent as Mh, ProjectData as Mi, TemplatePreviewProps as Ml, ChangeTitleSegment as Mm, CreateButton as Mn, getPreviewStateObservable as Mo, isPerspectiveWriteable as Mp, FormFieldValidationInfo as Mr, StringInputProps as Ms, defineDocumentInspector as Mt, useDocumentVersionInfo as Mu, SearchContextValue as Mv, DocumentVariantType as Mw, defaultTemplateForType as Mx, ValidateWorkspaceOptions as My, ConfigPropertyReducer as N, DocumentAvailability as NC, ResetEvent as NS, StudioProps as N_, listenQuery as Na, TranslationProps as Nb, EditReferenceLinkComponentProps as Nc, IncompatibleTypeError as Nd, createHookFromObservableFactory as Nf, ScrollContainerProps as Ng, EventsStore as Nh, ProjectDatasetData as Ni, InlinePreview as Nl, ChangesError as Nm, CreateReferenceOption as Nn, getPreviewPaths as No, FIXME as Np, FormFieldValidationWarning as Nr, RenderAnnotationCallback as Ns, initialDocumentFieldActions as Nt, useArchivedReleases as Nu, SearchFilterDefinition as Nv, getDocumentVariantType as Nw, defaultTemplatesForSchema as Nx, validateBasePaths as Ny, BaseActionDescription as O, ObserveForPreviewFn as OC, getPairListener as OS, createSanityMediaLibraryImageSource as OT, isValidAnnouncementRole as O_, DocumentStoreOptions as Oa, useValidationStatus as Ob, defaultRenderField as Oc, PrimitiveFormNode as Od, formatRelativeLocale as Of, isDev as Og, DeleteDocumentGroupEvent as Oh, useUserStore as Oi, RelativeTimeProps as Ol, DiffErrorBoundaryState as Om, SlugInput as On, CommitRequest as Oo, useExcludedPerspective as Op, FormInputAbsolutePathArg as Or, PasteData$1 as Os, DocumentInspectorComponent as Ot, LATEST as Ou, PartialIndexSettings as Ov, newDraftFrom as Ow, isBuilder as Ox, matchWorkspace as Oy, DefaultPluginsWorkspaceOptions as P, DocumentStackAvailability as PC, WelcomeBackEvent as PS, SourceProvider as P_, InitialValueOptions as Pa, defaultLocale as Pb, EditReferenceOptions as Pc, InvalidItemTypeError as Pd, catchWithCount as Pf, useOnScroll as Pg, EventsStoreRevision as Ph, ProjectGrants as Pi, InlinePreviewProps as Pl, ChangeResolver as Pm, PortableTextInput as Pn, unstable_useValuePreview as Po, findIndex as Pp, FormFieldValidationStatus as Pr, RenderArrayOfObjectsItemCallback as Ps, documentFieldActionsReducer as Pt, useActiveReleases as Pu, defineSearchFilter as Pv, ContextMenuButton as Pw, prepareTemplates as Px, validateNames as Py, MissingConfigFile as Q, ReleaseAvatarIcon as QC, CommentDisabledIcon as QS, SanityClipboardItem as Q_, DocumentVersionSnapshots as Qa, LocaleConfigContext as Qb, SANITY_PATCH_TYPE as Qc, ErrorState as Qd, getSchemaTypeTitle as Qf, isTextSelectionComment as Qg, UserColorManagerProviderProps as Qh, TemplatePermissionsOptions as Qi, PreviewProps as Ql, ChangeTitlePath as Qm, ArrayOfPrimitivesFunctions as Qn, FormBuilderFilterFieldFn as Qo, isRemovedItemDiff as Qp, FieldPresenceWithOverlay as Qr, MarkdownConfig as Qs, toMutationPatches as Qt, getExpandOperations as Qu, isPerspectiveRaw as Qv, ConnectionStatusStore as Qw, useReconnectingToast as Qx, CommentsEnabledProvider as Qy, DocumentAskToEditEnabledContext as R, Id as RC, DocumentMutationEvent as RS, uploadSchema as R_, InitialValueMsg as Ra, useTranslation as Rb, useReferenceInputOptions as Rc, UndeclaredMembersError as Rd, LegacyThemeTints as Rf, AutoCollapseMenu as Rg, UnpublishDocumentEvent as Rh, SESSION_ID as Ri, MediaPreview as Rl, ChangeBreadcrumb as Rm, NumberInput as Rn, SanityDefaultPreview as Ro, isEmptyObject as Rp, FormFieldSet as Rr, RenderInputCallback as Rs, DocumentFieldActionGroup as Rt, RELEASES_INTENT as Ru, I18nSearchOperatorDescriptionKey as Rv, CommandListGetItemKeyCallback as Rw, TemplateFieldDefinition as Rx, useVisibleWorkspaces as Ry, useMiddlewareComponents as S, useIsReleaseActive as SC, DocumentRebaseTelemetryEvent as SS, AgentVersionDisplay as ST, StudioProvider as S_, selectUpstreamVersion as Sa, CommentsType as Sb, FormProvider as Sc, NodeChronologyProps as Sd, isRecord as Sf, StudioFeedbackDialogProps as Sg, useEventsStore as Sh, useGrantsStore as Si, StatusButtonProps as Sl, DiffInspectWrapperProps as Sm, TextInputProps as Sn, RemoteSnapshotVersionEvent as So, isSanityDefinedAction as Sp, DivergencesProvider as Sr, InputOnSelectFileFunctionProps as Ss, ReleaseActionComponent as St, isReleaseScheduledOrScheduling as Su, StudioComponents as Sv, isDraft as Sw, useTools as Sx, useAddonDataset as Sy, AssetSourceResolver as T, useDocumentVersions as TC, LatencyReportEvent as TS, EnhancedObjectDialog as TT, StudioLayout as T_, DocumentTypeResolveState as Ta, CommentsAuthoringPathContextValue as Tb, FormBuilderProps as Tc, ObjectArrayFormNode as Td, globalScope as Tf, useTelemetryConsent as Tg, BaseEvent as Th, usePresenceStore as Ti, RovingFocusProps as Tl, FieldPreviewComponent as Tm, TagsArrayInput as Tn, BufferedDocumentEvent as To, useSetPerspective as Tp, FormCell as Tr, ObjectInputProps as Ts, ReleaseActionsContext as Tt, isGoingToUnpublish as Tu, StudioLogo as Tv, isSystemBundle as Tw, useTemplates as Tx, useActiveWorkspace as Ty, DocumentInspectorsResolver as U, PreparedSnapshot as UC, SnapshotEvent as US, StudioManifest as U_, OperationError as Ua, useI18nText as Ub, FormCallbacksProvider as Uc, getDocumentIdForCanvasLink as Ud, MentionUserContextValue as Uf, buildCommentRangeDecorations as Ug, isDeleteDocumentGroupEvent as Uh, Session as Ui, DefaultPreviewProps as Ul, getAnnotationColor as Um, getCalendarLabels as Un, isArrayOfObjectsInputProps as Uo, pathToString as Up, FormFieldProps as Ur, ItemProps as Us, DocumentFieldActionStatus as Ut, useDocumentLimitsUpsellContext as Uu, SearchOperatorBuilder as Uv, CommandListRenderItemCallback as Uw, SyncState as Ux, WorkspaceLike as Uy, DocumentCommentsEnabledContext as V, ObserveDocumentTypeFromIdFn as VC, MutationPayload as VS, generateStudioManifest as V_, validation$1 as Va, useGetI18nText as Vb, useParseErrors as Vc, ALL_FIELDS_GROUP as Vd, TasksContextValue as Vf, buildTextSelectionFromFragment as Vg, isCreateDocumentVersionEvent as Vh, GlobalPresence as Vi, DetailPreviewProps as Vl, DiffVisitor as Vm, EmailInput as Vn, Preview as Vo, normalizeKeySegment as Vp, FormFieldHeaderTextProps as Vr, RenderPreviewCallbackProps as Vs, DocumentFieldActionNode as Vt, ReleaseDocument$1 as Vu, OperatorInputComponentProps as Vv, CommandListItemContext as Vw, TemplateReferenceTarget as Vx, getNamelessWorkspaceIdentifier as Vy, DocumentLanguageFilterComponent as W, PreviewPath as WC, useDialogStack as WS, StudioWorkspaceManifest as W_, OperationSuccess as Wa, defineLocale as Wb, FormCallbacksValue as Wc, useNavigateToCanvasDoc as Wd, IsLastPaneProvider as Wf, useCommentsTelemetry as Wg, isDeleteDocumentVersionEvent as Wh, Status as Wi, CompactPreview as Wl, getDiffAtPath as Wm, DateTimeInput as Wn, isArrayOfPrimitivesInputProps as Wo, pathsAreEqual as Wp, PresenceScope as Wr, ObjectItem as Ws, DocumentFieldActionTone as Wt, DivergenceNavigator as Wu, SearchOperatorButtonValue as Wv, BetaBadge as Ww, useSyncState as Wx, ActiveWorkspaceMatcher as Wy, GroupableActionDescription as X, ReleaseTitle as XC, useConditionalToast as XS, DocumentMeta as X_, OperationImpl as Xa, ImplicitLocaleResourceBundle as Xb, RebasePatchMsg as Xc, useThrottledCallback as Xd, SingleDocReleaseProvider as Xf, CommentsContextValue as Xg, isUpdateLiveDocumentEvent as Xh, KeyValueStore as Xi, PreviewLayoutKey as Xl, BooleanDiff$1 as Xm, UniversalArrayInput as Xn, ArrayInputFunctionsProps as Xo, isFieldChange as Xp, FieldPresenceInnerProps as Xr, BlockProps as Xs, MutationPatch as Xt, ExpandPathOperation as Xu, defineSearchOperator as Xv, ConnectingStatus as Xw, DocumentField as Xx, CommentsIntentProvider as Xy, FormBuilderComponentResolverContext as Y, getVersionInlineBadge as YC, useConnectionState as YS, CopyPasteContextType as Y_, OperationArgs as Ya, LocaleProviderBase as Yb, PatchMsgSubscriber as Yc, useUnique as Yd, usePausedScheduledDraft as Yf, useComments as Yg, isUnscheduleDocumentVersionEvent as Yh, createKeyValueStore as Yi, PreviewComponent as Yl, ArrayItemMetadata as Ym, BooleanInput as Yn, isStringInputProps as Yo, isAddedItemDiff as Yp, FieldPresenceInner as Yr, BlockListItemProps as Ys, encodePath as Yt, ExpandOperation as Yu, ValuelessSearchOperatorParams as Yv, ConnectedStatus as Yw, useRelativeTime as Yx, CommentsSelectedPathProvider as Yy, MediaLibraryConfig as Z, ReleaseAvatar as ZC, useClient as ZS, PasteOptions as Z_, OperationsAPI as Za, Locale as Zb, createPatchChannel as Zc, userHasRole as Zd, useSingleDocRelease as Zf, hasCommentMessageValue as Zg, UserColorManagerProvider as Zh, KeyValueStoreValue as Zi, PreviewMediaDimensions as Zl, ChangeNode as Zm, ArrayOfPrimitivesInput as Zn, FormBuilderCustomMarkersComponent as Zo, isGroupChange as Zp, FieldPresenceProps as Zr, BlockStyleProps as Zs, fromMutationPatches as Zt, SetActiveGroupOperation as Zu, createSearch as Zv, ConnectionStatus as Zw, useReferringDocuments as Zx, CommentsIntentProviderProps as Zy, createDefaultIcon as _, ChangeIndicatorProps as _C, DocumentIdStack as _S, LoginComponentProps as _T, UpsellDialogDismissed as __, GrantsStore as _a, CommentThreadItem as _b, UploaderResolver as _c, BaseFormNode as _d, isCardinalityOneRelease as _f, DynamicFeedbackTags as _g, StringSegmentChanged$1 as _h, useDocumentPresence as _i, ToastParams$1 as _l, DiffTooltipProps as _m, ArrayOfObjectsInputMember as _n, Transaction as _o, DocumentActionPopoverDialogProps as _p, GetFormValueProvider as _r, ArrayOfPrimitivesInputProps as _s, Workspace as _t, DocumentStatus as _u, ActiveToolLayoutProps as _v, getIdPair as _w, useUserListWithPermissions as _x, useColorSchemeSetValue as _y, resolveSchemaTypes as a, TrackedChange as aC, useListFormat as aS, isCookielessCompatibleLoginMethod as aT, CommentsList as a_, grantsPermissionOn as aa, CommentIntentGetter as ab, useEnhancedObjectDialog as ac, FieldsetState as ad, truncateString as af, UserColorHue as ag, DiffProps as ah, RegionWithIntersectionDetails as ai, setIfMissing as al, NoChanges as am, ObjectInputMemberProps as an, HistoryStore as ao, GetHookCollectionState as ap, ArrayOfObjectsInput as ar, ArrayFieldProps as as, PreparedConfig as at, IntentButton as au, FormPatch as av, TargetPerspective as aw, LocaleSource as ax, SearchResultItemPreview as ay, ConfigPropertyError as b, useVersionOperations as bC, editState$1 as bS, CookielessCompatibleLoginMethod as bT, UpsellDialogViewed as b_, useInitialValue as ba, CommentsListBreadcrumbItem as bb, StudioCrossDatasetReferenceInput as bc, DocumentFormNode as bd, isTruthy as bf, TagValue as bg, FieldValueError as bh, useDocumentPreviewStore as bi, TextWithToneProps as bl, DiffStringSegment as bm, UrlInputProps as bn, MutationResult as bo, DuplicateDocumentActionComponent as bp, FormValueProvider as br, ComplexElementProps as bs, WorkspaceOptions as bt, isDraftPerspective as bu, NavbarAction as bv, getVersionId as bw, UseUnitFormatterOptions as bx, StudioTheme as by, createWorkspaceFromConfig as c, useTrackerStore as cC, FormDocumentValue as cS, createMockAuthStore as cT, WorkspaceLoaderBoundary as c_, useDocumentValuePermissions as ca, CommentOperations as cb, FileInputProps as cc, ArrayOfPrimitivesItemMember as cd, escapeField as cf, FeedbackContext as cg, FromToIndex as ch, DocumentPreviewPresence as ci, useZIndex as cl, GroupChange as cm, MemberField as cn, removeMissingReferences as co, useScheduleAction as cp, FormBuilderContextValue as cr, BooleanFieldProps as cs, SanityFormConfig as ct, Hotkeys as cu, FormPatchOrigin as cv, DraftId as cw, LocalesOption as cx, SearchHeader as cy, flattenConfig as d, Reported as dC, useFormattedDuration as dS, _createAuthStore as dT, ErrorMessageProps as d_, getDocumentPairPermissions as da, CommentReactionItem as db, FileLike as dc, FieldMember as dd, _isCustomDocumentTypeDefinition as df, UseFeedbackReturn as dg, NullDiff$1 as dh, useUser as di, UserAvatar as dl, FromTo as dm, ArrayOfPrimitivesItem as dn, TimelineControllerOptions as do, DocumentActionCustomDialogComponentProps as dp, useFieldActions as dr, NumberFieldProps as ds, SingleWorkspace as dt, useCopyErrorDetails as du, FormUnsetPatch as dv, VERSION_FOLDER as dw, ValidationLocaleResourceKeys as dx, ColorSchemeLocalStorageProvider as dy, ChangeIndicatorsTracker as eC, UseNumberFormatOptions as eS, ErrorStatus as eT, CommentInlineHighlightSpan as e_, getTemplatePermissions as ea, CommentBaseCreatePayload as eb, ArrayInputCopyEvent as ec, UseFormStateOptions as ed, LoadedState as ef, createUserColorManager as eg, ChunkType as eh, FormNodePresence as ei, diffMatchPatch as el, noop as em, useDocumentForm as en, useTimelineSelector as eo, SchedulesContext as ep, ArrayOfOptionsInput as er, FormBuilderMarkersComponent as es, NewDocumentOptionsContext as et, PreviewCardContextValue as eu, FormDecPatch as ev, PerspectiveContextValue as ew, LocaleNestedResource as ex, SearchFactoryOptions as ey, PluginFactory as f, ReporterHook as fC, useFilteredReleases as fS, createAuthStore as fT, WorkspaceProvider as f_, useDocumentPairPermissions as fa, CommentReactionOption as fb, ResolvedUploader as fc, FieldSetMember as fd, _isSanityDocumentTypeDefinition as ff, useFeedback as fg, NumberDiff$1 as fh, ResourceCache as fi, UserAvatarProps as fl, FromToProps as fm, PrimitiveMemberItemProps as fn, ParsedTimeRef as fo, DocumentActionDescription as fp, FieldActionsProps as fr, ObjectFieldProps as fs, Source as ft, ErrorWithId as fu, PatchArg as fv, collate as fw, StudioLocaleResourceKeys as fx, ColorSchemeProvider as fy, defineConfig as g, ChangeIndicator as gC, useDocumentOperation as gS, HandleCallbackResult as gT, UpsellDescriptionSerializer as g_, Grant as ga, CommentTextSelection as gb, UploaderDef as gc, ArrayOfPrimitivesFormNode as gd, isCardinalityOnePerspective as gf, BaseFeedbackTags as gg, StringDiffSegment as gh, useGlobalPresence as gi, ImperativeToast as gl, DiffTooltip as gm, ArrayOfObjectsInputMembersProps as gn, DocumentRemoteMutationVersionEvent as go, DocumentActionModalDialogProps as gp, FieldActionMenuProps as gr, ArrayOfPrimitivesElementType as gs, Tool as gt, CapabilityGate as gu, StudioNavbar as gv, getDraftId as gw, UserWithPermission as gx, useColorSchemeOptions as gy, createConfig as h, ConnectorContextValue as hC, useDocumentOperationEvent as hS, AuthStore as hT, InterpolationProp as h_, EvaluationParams as ha, CommentTaskCreatePayload as hb, Uploader as hc, ArrayOfObjectsFormNode as hd, CardinalityOneRelease as hf, useInStudioFeedback as hg, StringDiff$1 as hh, useResourceCache as hi, ZIndexContextValue as hl, Event$1 as hm, ArrayOfObjectsInputMembers as hn, CombinedDocument as ho, DocumentActionKeys as hp, FieldActionMenu as hr, ArrayOfObjectsInputProps as hs, TemplateResolver as ht, DocumentStatusIndicator as hu, StudioToolMenu as hv, documentIdEquals as hw, UserListWithPermissionsOptions as hx, useColorSchemeInternalValue as hy, SchemaError as i, TrackedArea as iC, UseListFormatOptions as iS, isAuthStore as iT, CommentInputProps as i_, createGrantsStore as ia, CommentFieldCreatePayload as ib, EnhancedObjectDialogContextValue as ic, FieldsetMembers as id, sliceString as if, UserColor as ig, DiffComponentResolver as ih, Rect as ii, set as il, RevertChangesButton as im, ObjectInputMember as in, DocumentRevision as io, DocumentBadgeProps as ip, useVirtualizerScrollInstance as ir, RenderCustomMarkers as is, PluginOptions as it, LoadingBlock as iu, FormInsertPatchPosition as iv, SelectedPerspective as iw, LocaleResourceRecord as ix, compileFieldPath as iy, Config as j, AvailabilityReason as jC, PendingMutationsEvent as jS, StudioAnnouncementsCard as j_, ListenQueryOptions as ja, Translate as jb, defaultRenderItem as jc, DuplicateKeysError as jd, LoadingTuple as jf, ScrollEventHandler as jg, DocumentVersionEventType as jh, createProjectStore as ji, TemplatePreview as jl, TIMELINE_ITEM_I18N_KEY_MAPPING as jm, ReferenceAutocomplete as jn, getPreviewValueWithFallback as jo, PerspectiveNotWriteableReason as jp, FormFieldValidationError as jr, PrimitiveInputProps as js, DocumentInspectorUseMenuItemProps as jt, ReleasesUpsellContextValue as ju, SearchProvider as jv, Chip as jw, resolveInitialValueForType as jx, WorkspacesContextValue as jy, BetaFeatures as k, createDocumentPreviewStore as kC, IdPair as kS, StudioAnnouncementsDialog as k_, QueryParams$1 as ka, ValidateDocumentOptions as kb, defaultRenderInlineBlock as kc, StringFormNode as kd, EMPTY_ARRAY as kf, isProd as kg, DeleteDocumentVersionEvent as kh, useProjectDatasets as ki, LinearProgress as kl, DiffCard as km, SlugInputProps as kn, createObservableBufferedDocument as ko, PerspectiveProvider as kp, FormInputRelativePathArg as kr, PortableTextInputProps as ks, DocumentInspectorMenuItem as kt, PUBLISHED as ku, useSearchMaxFieldDepth as kv, removeDupes as kw, resolveInitialObjectValue as kx, WorkspacesProvider as ky, resolveConfig as l, useTrackerStoreReporter as lC, FormattedDuration as lS, AuthStoreOptions as lT, useWorkspaceLoader as l_, DocumentPairPermissionsOptions as la, CommentPath as lb, StudioFileInput as lc, ArrayOfPrimitivesMember as ld, fieldNeedsEscape as lf, FeedbackContextValue as lg, GroupChangeNode as lh, DocumentPreviewPresenceProps as li, WithReferringDocuments as ll, FromToArrow as lm, MemberFieldProps as ln, SelectionState as lo, DocumentActionComponent as lp, useHoveredField as lr, FieldCommentsProps as ls, ScheduledPublishingPluginOptions as lt, HotkeysProps$1 as lu, FormSetIfMissingPatch as lv, PublishedId as lw, StaticLocaleResourceBundle as lx, Filters as ly, definePlugin as m, ChangeConnectorRootProps as mC, useEditState as mS, AuthState as mT, useWorkspace as m_, DocumentValuePermission as ma, CommentStatus as mb, UploadProgressEvent as mc, ObjectMember as md, createSWR as mf, UseInStudioFeedbackReturn as mg, ReferenceDiff as mh, ResourceCacheProviderProps as mi, ZIndexContextValueKey as ml, FallbackDiff as mm, MemberItemProps as mn, TimelineOptions as mo, DocumentActionGroup as mp, FieldActionsProvider as mr, StringFieldProps as ms, SourceOptions as mt, ErrorActionsProps as mu, ToolLinkProps as mv, createPublishedFrom as mw, UserListWithPermissionsHookValue as mx, useColorScheme as my, getConfigContextFromSource as n, useChangeIndicatorsReporter as nC, UseManageFavoriteProps as nS, createConnectionStatusStore as nT, CommentInput as n_, useTemplatePermissionsFromHookFactory as na, CommentCreatePayload as nb, ArrayInputMoveItemEvent as nc, setAtPath as nd, asLoadable as nf, useUserColorManager as ng, DiffComponent as nh, Position as ni, insert as nl, ValueError as nm, ObjectMembers as nn, TimelineStore as no, DocumentBadgeComponent as np, VirtualizerScrollInstanceProvider as nr, RenderBlockActionsCallback as ns, PartialContext as nt, usePreviewCard as nu, FormIncPatch as nv, ReleaseId as nw, LocaleResourceBundle as nx, SearchSort as ny, CreateWorkspaceFromConfigOptions as o, TrackerContextGetSnapshot as oC, GlobalCopyPasteElementHandler as oS, getProviderTitle as oT, CommentsUpsellContextValue as o_, DocumentValuePermissionsOptions as oa, CommentListBreadcrumbs as ob, ImageInputProps as oc, ArrayOfObjectsItemMember as od, uncaughtErrorHandler as of, UserColorManager as og, FieldChangeNode as oh, ReportedRegionWithRect as oi, unset as ol, MetaInfo as om, MemberFieldSet as on, HistoryStoreOptions as oo, GetHookCollectionStateProps as op, ArrayOfObjectsFunctions as or, ArrayOfPrimitivesFieldProps as os, ReleaseActionsResolver as ot, InsufficientPermissionsMessage as ou, FormPatchBase as ov, CollatedHit as ow, LocaleWeekInfo as ox, SearchPopover as oy, createPlugin as p, ChangeConnectorRoot as pC, useFeatureEnabled as pS, AuthProbeResult as pT, WorkspaceProviderProps as p_, useDocumentPairPermissionsFromHookFactory as pa, CommentReactionShortNames as pb, UploadOptions as pc, FieldsetRenderMembersCallback as pd, _isType as pf, SendFeedbackOptions as pg, ObjectDiff$1 as ph, ResourceCacheProvider as pi, LegacyLayerProvider as pl, FieldChange as pm, ArrayOfObjectsItem as pn, Timeline as po, DocumentActionDialogProps as pp, FieldActionsResolver as pr, PrimitiveFieldProps as ps, SourceClientOptions as pt, ErrorActions as pu, ToolLink as pv, createDraftFrom as pw, Rule as px, ColorSchemeProviderProps as py, DocumentLayoutProps as q, Selection as qC, useDataset as qS, BaseOptions as q_, MapDocument as qa, removeUndefinedLocaleResources as qb, PatchChannel as qc, measureFirstEmission as qd, useScheduledDraftsEnabled as qf, useCommentsEnabled as qg, isScheduleDocumentVersionEvent as qh, UserStoreOptions as qi, GeneralPreviewLayoutKey as ql, AnnotationDetails as qm, DateInputProps as qn, isObjectInputProps as qo, useDocumentChange as qp, PresenceOverlayProps as qr, BlockAnnotationProps as qs, TransformPatches as qt, mergeParseErrors as qu, SearchValueFormatterContext as qv, CorsOriginErrorOptions as qw, useReviewChanges as qx, CommentsSelectedPath as qy, useConfigContextFromSource as r, ChangeIndicatorTrackerContextValue as rC, useManageFavorite as rS, onRetry as rT, CommentInputHandle as r_, GrantsStoreOptions as ra, CommentDocument as rb, UploadEvent as rc, StateTree as rd, useLoadable as rf, HexColor as rg, DiffComponentOptions as rh, PresentUser as ri, prefixPath as rl, RevertChangesConfirmDialog as rm, ObjectMembersProps as rn, useTimelineStore as ro, DocumentBadgeDescription as rp, VirtualizerScrollInstance as rr, RenderBlockActionsProps as rs, Plugin as rt, PopoverDialog as ru, FormInsertPatch as rv, ReleasesNavMenuItemPropsGetter as rw, LocaleResourceKey as rx, SearchTerms as ry, createSourceFromConfig as s, TrackerContextStore as sC, useGlobalCopyPasteElementHandler as sS, MockAuthStoreOptions as sT, UpsellData as s_, getDocumentValuePermissions as sa, CommentMessage as sb, StudioImageInput as sc, ArrayOfObjectsMember as sd, supportsTouch as sf, UserId as sg, FieldOperationsAPI as sh, Size as si, ZIndexProvider as sl, MetaInfoProps as sm, MemberFieldError as sn, createHistoryStore as so, HookCollectionActionHook as sp, useDidUpdate as sr, BaseFieldProps as ss, ResolveProductionUrlContext as st, InsufficientPermissionsMessageProps as su, FormPatchJSONValue as sv, DRAFTS_FOLDER as sw, LocalesBundlesOption as sx, SearchPopoverProps as sy, ActiveWorkspaceMatcherContextValue as t, useChangeIndicatorsReportedValues as tC, useNumberFormat as tS, RetryingStatus as tT, CommentInputContextValue as t_, useTemplatePermissions as ta, CommentContext as tb, ArrayInputInsertEvent as tc, useFormState as td, LoadingState as tf, useUserColor as tg, Diff$1 as th, Location as ti, inc as tl, DocumentChangeContextInstance as tm, ObjectInputMembers as tn, TimelineState as to, ScheduledBadge as tp, ArrayOfObjectOptionsInput as tr, PortableTextMarker as ts, NewDocumentOptionsResolver as tt, ReferenceInputPreviewCard as tu, FormDiffMatchPatch as tv, PerspectiveStack as tw, LocalePluginOptions as tx, SearchOptions as ty, prepareConfig as u, IsEqualFunction as uC, UseFormattedDurationOptions as uS, CreateAuthStoreOptions as uT, ErrorMessage as u_, DocumentPermission as ua, CommentPostPayload as ub, AssetSourcesResolver as uc, DecorationMember as ud, joinPath as uf, useStudioFeedbackTags as ug, ItemDiff$1 as uh, useCurrentUser as ui, AvatarSkeleton as ul, FromToArrowDirection as um, MemberItemError as un, TimelineController as uo, DocumentActionConfirmDialogProps as up, HoveredFieldProvider as ur, FieldProps as us, SchemaPluginOptions as ut, serializeError as uu, FormSetPatch as uv, SystemBundle as uw, TFunction$1 as ux, ColorSchemeCustomProvider as uy, ConfigResolutionError as v, ChangeFieldWrapper as vC, useDocumentIdStack as vS, AuthConfig as vT, UpsellDialogLearnMoreCtaClicked as v_, PermissionCheckResult as va, CommentUpdateOperationOptions as vb, StudioReferenceInput as vc, BooleanFormNode as vd, isPausedCardinalityOneRelease as vf, FeedbackPayload as vg, StringSegmentUnchanged$1 as vh, useComlinkStore as vi, TooltipOfDisabled as vl, DiffTooltipWithAnnotationsProps as vm, ArrayOfObjectsMemberProps as vn, DocumentVersion as vo, DocumentActionProps as vp, useGetFormValue as vr, BaseInputProps as vs, WorkspaceHiddenContext as vt, formatRelativeLocalePublishDate as vu, LayoutProps as vv, getPublishedId as vw, FormattableMeasurementUnit as vx, useColorSchemeValue as vy, AppsOptions as w, useDocumentVersionTypeSortedList as wC, InitialSnapshotEvent as wS, isAgentBundleName as wT, NavbarContextValue as w_, useDocumentValues as wa, Loadable as wb, FormBuilder as wc, NumberFormNode as wd, isArray as wf, FeedbackDialogProps as wg, useEvents as wh, useKeyValueStore as wi, RovingFocusNavigationType as wl, DiffFromToProps as wm, TelephoneInputProps as wn, checkoutPair as wo, EditScheduleForm as wp, FormContainer as wr, NumberInputProps as ws, ReleaseActionProps as wt, isReleasePerspective as wu, ToolMenuProps as wv, isPublishedId as ww, useTimeAgo as wx, AddonDatasetProvider as wy, ConfigPropertyErrorOptions as x, useOnlyHasVersions as xC, DocumentPairLoadedEvent as xS, LoginMethod as xT, UpsellDialogViewedInfo as x_, useInitialValueResolverContext as xa, CommentsTextSelectionItem as xb, StudioCrossDatasetReferenceInputProps as xc, HiddenField as xd, isString as xf, StudioFeedbackDialog as xg, getValueError as xh, useDocumentStore as xi, StatusButton as xl, DiffInspectWrapper as xm, TextInput as xn, Pair as xo, SanityDefinedAction as xp, useFormValue as xr, EditorChange as xs, WorkspaceSummary as xt, isPublishedPerspective as xu, NavbarProps as xv, idMatchesPerspective as xw, useUnitFormatter as xx, StudioThemeColorSchemeKey as xy, ConfigResolutionErrorOptions as y, sortReleases as yC, EditStateFor as yS, AuthProvider as yT, UpsellDialogUpgradeCtaClicked as y_, useResolveInitialValueForType as ya, CommentUpdatePayload as yb, StudioReferenceInputProps as yc, ComputeDiff as yd, PartialExcept as yf, Sentiment as yg, TypeChangeDiff$1 as yh, useConnectionStatusStore as yi, TextWithTone as yl, DiffString as ym, UrlInput as yn, DocumentVersionEvent as yo, DuplicateActionProps as yp, FormValueContextValue as yr, BooleanInputProps as ys, WorkspaceHiddenProperty as yt, getDocumentIsInPerspective as yu, LogoProps as yv, getVersionFromId as yw, UnitFormatter as yx, StudioColorScheme as yy, DocumentBadgesContext as z, InvalidationChannelEvent as zC, DocumentRebaseEvent as zS, LiveManifestRegisterProvider as z_, InitialValueState as za, useCurrentLocale as zb, ParseErrorsProvider as zc, FormFieldGroup as zd, useDocumentPreviewValues as zf, CollapseMenu as zg, UnscheduleDocumentVersionEvent as zh, createPresenceStore as zi, MediaPreviewProps as zl, useAnnotationColor as zm, AssetAccessPolicy as zn, SanityDefaultPreviewProps as zo, normalizeIndexSegment as zp, FormFieldSetProps as zr, RenderItemCallback as zs, DocumentFieldActionHook as zt, DEFAULT_ANNOTATIONS as zu, I18nSearchOperatorNameKey as zv, CommandListGetItemSelectedCallback as zw, TemplateItem as zx, VisibleWorkspacesContextValue as zy };
|
|
@@ -4,7 +4,7 @@ import { Box, Text, Flex, Button, Badge, Menu, MenuItem, Stack, Card, Container
|
|
|
4
4
|
import { useRef, useEffect, forwardRef, useState, useContext, useImperativeHandle, useLayoutEffect, useId, memo, useEffectEvent, Fragment as Fragment$1, useDeferredValue, lazy, Suspense, startTransition } from "react";
|
|
5
5
|
import { ReviewChangesContext, CommentsEnabledContext, ReferenceInputOptionsContext, PaneLayoutContext, PaneContext, DocumentPaneContext, DocumentActionsStateContext, StructureToolContext, DocumentPaneInfoContext, PaneRouterContext, ResolvedPanesContext, EventsContext, DocumentDivergencesContext, DocumentChangeContext } from "sanity/_singletons";
|
|
6
6
|
import { motion, AnimatePresence } from "motion/react";
|
|
7
|
-
import { isPublishedId, isDraftId, getReleaseIdFromReleaseDocumentId, getVersionFromId, useTranslation, useDocumentVersions, useActiveReleases, getPublishedId, useEditState, useWorkspace, isReleaseDocument, getReleaseTone, isReleaseScheduledOrScheduling, ReleaseAvatar, isSystemBundleName, PUBLISHED, LATEST, useFormatRelativeLocalePublishDate, getDraftId, getVersionId, ReleaseTitle, useMiddlewareComponents, ChangeIndicatorsTracker, VirtualizerScrollInstanceProvider, useDocumentForm, LoadingBlock, FormBuilder, isVersionId, createPatchChannel, getDocumentVariantType, LegacyLayerProvider, IsLastPaneProvider, useGetI18nText, useI18nText, TooltipOfDisabled, ContextMenuButton, StatusButton, isDev, CommentsEnabledProvider, useCommentsEnabled, usePerspective, CommentsProvider, COMMENTS_INSPECTOR_NAME, GetHookCollectionState, EMPTY_ARRAY as EMPTY_ARRAY$2, getDocumentIdForCanvasLink, useCanvasCompanionDoc, useUnique, isPublishedPerspective, prepareForPreview, useValuePreview, useDocumentOperationEvent, useDocumentLimitsUpsellContext, isDocumentLimitError, Translate, isNewDocument, Resizable, DivergencesProvider, useKeyValueStore, isRecord, isString, isDraftPerspective, useDocumentOperation, isDeprecatedSchemaType, useProjectId, useClient, useZIndex, useCurrentUser, useListFormat, useDocumentPreviewStore, isSystemBundle, useScheduledDraftDocument, useArchivedReleases, isCardinalityOneRelease, getVersionInlineBadge, useNavigateToCanvasDoc, isPerspectiveWriteable, ReleasesNav, useVersionOperations, useConditionalToast, isAgentBundleName, useOnlyHasVersions, useSetPerspective, VersionInlineBadge, isGoingToUnpublish, useDocumentStore, useDocumentPresence, FormRow, FormContainer, PresenceOverlay, fromMutationPatches, useDocumentPreviewValues, useManageFavorite, useActiveWorkspace, CapabilityGate, useFilteredReleases, usePausedScheduledDraft, isPausedCardinalityOneRelease, ScrollContainer, useStudioUrl, VersionChip, Chip, useDateTimeFormat, useSchema, useGetDefaultPerspective, useSingleDocRelease, useAgentVersionDisplay, useFieldActions, useDocumentVersionTypeSortedList, useDocumentPairPermissions, InsufficientPermissionsMessage, useValidationStatus, useSyncState, useRelativeTime, useSource, Hotkeys, isSanityDefinedAction, UserAvatar, useUser, AvatarSkeleton, CommandList, TextWithTone, useTimelineSelector, useEvents, TIMELINE_ITEM_I18N_KEY_MAPPING as TIMELINE_ITEM_I18N_KEY_MAPPING$1, ChangeConnectorRoot, useGlobalCopyPasteElementHandler, useDocumentIdStack, GetFormValueProvider, FieldActionsResolver, FieldActionsProvider, useTemplates, useInitialValue, useCopyPaste, selectUpstreamVersion, pathToString, useDocumentDivergences, useEventsStore, EventsProvider, PerspectiveProvider, useTimelineStore, SingleDocReleaseProvider, SourceProvider, CopyPasteProvider, useDocumentType, useTemplatePermissions, ReferenceInputOptionsProvider, useDocumentVersionInfo, getPreviewStateObservable, getPreviewValueWithFallback, SanityDefaultPreview, DocumentPreviewPresence, DocumentStatusIndicator, DocumentStatus, PreviewCard, ReleaseAvatarIcon, createHookFromObservableFactory, DEFAULT_STUDIO_CLIENT_OPTIONS, EMPTY_OBJECT, CrossDatasetReferencePreview, getPreviewPaths, isNonNullable as isNonNullable$1, getReferencePaths, ErrorActions, collate, createSWR, getSearchableTypes, compileFieldPath, createSearch, useSearchMaxFieldDepth, measureFirstMatch, catchWithCount, useReconnectingToast, ChangeFieldWrapper, NoChanges, ChangeList, isDeleteDocumentVersionEvent, isDeleteDocumentGroupEvent, isUnpublishDocumentEvent, isScheduleDocumentVersionEvent, isUnscheduleDocumentVersionEvent, Event, RELEASES_INTENT, isCreateDocumentVersionEvent, isEditDocumentVersionEvent, isPublishDocumentVersionEvent, ChangesError, isArray, isValidationError, isValidationWarning, definePlugin } from "sanity";
|
|
7
|
+
import { isPublishedId, isDraftId, getReleaseIdFromReleaseDocumentId, getVersionFromId, useTranslation, useDocumentVersions, useActiveReleases, getPublishedId, useEditState, useWorkspace, isReleaseDocument, getReleaseTone, isReleaseScheduledOrScheduling, ReleaseAvatar, isSystemBundleName, PUBLISHED, LATEST, useFormatRelativeLocalePublishDate, getDraftId, getVersionId, ReleaseTitle, useMiddlewareComponents, ChangeIndicatorsTracker, VirtualizerScrollInstanceProvider, useDocumentForm, LoadingBlock, FormBuilder, isVersionId, createPatchChannel, getDocumentVariantType, LegacyLayerProvider, IsLastPaneProvider, useGetI18nText, useI18nText, TooltipOfDisabled, ContextMenuButton, StatusButton, isDev, CommentsEnabledProvider, useCommentsEnabled, usePerspective, CommentsProvider, COMMENTS_INSPECTOR_NAME, GetHookCollectionState, EMPTY_ARRAY as EMPTY_ARRAY$2, getDocumentIdForCanvasLink, useCanvasCompanionDoc, useUnique, isPublishedPerspective, prepareForPreview, useValuePreview, useDocumentOperationEvent, useDocumentLimitsUpsellContext, isDocumentLimitError, Translate, isNewDocument, Resizable, DivergencesProvider, useKeyValueStore, isRecord, isString, isDraftPerspective, useDocumentOperation, isDeprecatedSchemaType, useProjectId, useClient, useZIndex, useCurrentUser, useListFormat, useDocumentPreviewStore, isSystemBundle, useScheduledDraftDocument, useArchivedReleases, isCardinalityOneRelease, getVersionInlineBadge, useNavigateToCanvasDoc, isPerspectiveWriteable, ReleasesNav, useVersionOperations, useConditionalToast, isAgentBundleName, useOnlyHasVersions, useSetPerspective, VersionInlineBadge, isGoingToUnpublish, useDocumentStore, useDocumentPresence, FormRow, FormContainer, PresenceOverlay, fromMutationPatches, useDocumentPreviewValues, useManageFavorite, useActiveWorkspace, CapabilityGate, useFilteredReleases, usePausedScheduledDraft, isPausedCardinalityOneRelease, ScrollContainer, useStudioUrl, VersionChip, Chip, useDateTimeFormat, useSchema, useGetDefaultPerspective, useSingleDocRelease, useAgentVersionDisplay, useFieldActions, useDocumentVersionTypeSortedList, useDocumentPairPermissions, InsufficientPermissionsMessage, useValidationStatus, useSyncState, useRelativeTime, useSource, Hotkeys, isSanityDefinedAction, UserAvatar, useUser, AvatarSkeleton, CommandList, TextWithTone, useTimelineSelector, useEvents, TIMELINE_ITEM_I18N_KEY_MAPPING as TIMELINE_ITEM_I18N_KEY_MAPPING$1, ChangeConnectorRoot, useGlobalCopyPasteElementHandler, useDocumentIdStack, GetFormValueProvider, FieldActionsResolver, FieldActionsProvider, useTemplates, useInitialValue, useCopyPaste, selectUpstreamVersion, pathToString, ParseErrorsProvider, useDocumentDivergences, useEventsStore, EventsProvider, PerspectiveProvider, useTimelineStore, SingleDocReleaseProvider, SourceProvider, CopyPasteProvider, useDocumentType, useTemplatePermissions, ReferenceInputOptionsProvider, useDocumentVersionInfo, getPreviewStateObservable, getPreviewValueWithFallback, SanityDefaultPreview, DocumentPreviewPresence, DocumentStatusIndicator, DocumentStatus, PreviewCard, ReleaseAvatarIcon, createHookFromObservableFactory, DEFAULT_STUDIO_CLIENT_OPTIONS, EMPTY_OBJECT, CrossDatasetReferencePreview, getPreviewPaths, isNonNullable as isNonNullable$1, getReferencePaths, ErrorActions, collate, createSWR, getSearchableTypes, compileFieldPath, createSearch, useSearchMaxFieldDepth, measureFirstMatch, catchWithCount, useReconnectingToast, ChangeFieldWrapper, NoChanges, ChangeList, isDeleteDocumentVersionEvent, isDeleteDocumentGroupEvent, isUnpublishDocumentEvent, isScheduleDocumentVersionEvent, isUnscheduleDocumentVersionEvent, Event, RELEASES_INTENT, isCreateDocumentVersionEvent, isEditDocumentVersionEvent, isPublishDocumentVersionEvent, ChangesError, isArray, useParseErrors, mergeParseErrors, isValidationError, isValidationWarning, definePlugin } from "sanity";
|
|
8
8
|
import { useRouter, useIntentLink, useRouterState, StateLink, IntentLink, route, encodeJsonParams, decodeJsonParams } from "sanity/router";
|
|
9
9
|
import { structureLocaleNamespace, structureUsEnglishLocaleBundle } from "./StructureToolProvider.js";
|
|
10
10
|
import * as PathUtils from "@sanity/util/paths";
|
|
@@ -7906,7 +7906,7 @@ function _temp$k(err) {
|
|
|
7906
7906
|
throw new Error(`An error was thrown while trying to get your preview url: ${message}`);
|
|
7907
7907
|
}
|
|
7908
7908
|
function DocumentPaneProvider(props) {
|
|
7909
|
-
const $ = c(
|
|
7909
|
+
const $ = c(250), {
|
|
7910
7910
|
children,
|
|
7911
7911
|
index,
|
|
7912
7912
|
pane,
|
|
@@ -8324,15 +8324,17 @@ function DocumentPaneProvider(props) {
|
|
|
8324
8324
|
let t54;
|
|
8325
8325
|
$[232] !== displayed || $[233] !== isDeleted_1 || $[234] !== ready || $[235] !== schemaType ? (t54 = /* @__PURE__ */ jsx(DocumentTitle, { isDeleted: isDeleted_1, displayed, ready, schemaType }), $[232] = displayed, $[233] = isDeleted_1, $[234] = ready, $[235] = schemaType, $[236] = t54) : t54 = $[236];
|
|
8326
8326
|
let t55;
|
|
8327
|
-
$[237] !== children
|
|
8327
|
+
$[237] !== children ? (t55 = /* @__PURE__ */ jsx(ParseErrorsProvider, { children }), $[237] = children, $[238] = t55) : t55 = $[238];
|
|
8328
|
+
let t56;
|
|
8329
|
+
$[239] !== divergencesProps || $[240] !== t53 || $[241] !== t54 || $[242] !== t55 ? (t56 = /* @__PURE__ */ jsxs(DivergencesProvider, { ...divergencesProps, children: [
|
|
8328
8330
|
t53,
|
|
8329
8331
|
t54,
|
|
8330
|
-
|
|
8331
|
-
] }), $[
|
|
8332
|
-
let t56;
|
|
8333
|
-
$[242] !== documentPane || $[243] !== t55 ? (t56 = /* @__PURE__ */ jsx(DocumentPaneContext.Provider, { value: documentPane, children: t55 }), $[242] = documentPane, $[243] = t55, $[244] = t56) : t56 = $[244];
|
|
8332
|
+
t55
|
|
8333
|
+
] }), $[239] = divergencesProps, $[240] = t53, $[241] = t54, $[242] = t55, $[243] = t56) : t56 = $[243];
|
|
8334
8334
|
let t57;
|
|
8335
|
-
|
|
8335
|
+
$[244] !== documentPane || $[245] !== t56 ? (t57 = /* @__PURE__ */ jsx(DocumentPaneContext.Provider, { value: documentPane, children: t56 }), $[244] = documentPane, $[245] = t56, $[246] = t57) : t57 = $[246];
|
|
8336
|
+
let t58;
|
|
8337
|
+
return $[247] !== documentPaneInfo || $[248] !== t57 ? (t58 = /* @__PURE__ */ jsx(DocumentPaneInfoContext.Provider, { value: documentPaneInfo, children: t57 }), $[247] = documentPaneInfo, $[248] = t57, $[249] = t58) : t58 = $[249], t58;
|
|
8336
8338
|
}
|
|
8337
8339
|
function getDocumentVersionType(params, selectedReleaseId, value, selectedPerspectiveName, draftsEnabled, releases) {
|
|
8338
8340
|
let version;
|
|
@@ -12793,7 +12795,7 @@ const MARKER_ICON = {
|
|
|
12793
12795
|
info: "primary"
|
|
12794
12796
|
};
|
|
12795
12797
|
function ValidationInspector(props) {
|
|
12796
|
-
const $ = c(
|
|
12798
|
+
const $ = c(26), {
|
|
12797
12799
|
onClose
|
|
12798
12800
|
} = props, {
|
|
12799
12801
|
onFocus,
|
|
@@ -12802,33 +12804,36 @@ function ValidationInspector(props) {
|
|
|
12802
12804
|
validation,
|
|
12803
12805
|
value,
|
|
12804
12806
|
editState
|
|
12805
|
-
} = useDocumentPane(),
|
|
12807
|
+
} = useDocumentPane(), parseErrors = useParseErrors();
|
|
12808
|
+
let t0;
|
|
12809
|
+
$[0] !== parseErrors || $[1] !== validation ? (t0 = mergeParseErrors(validation, parseErrors), $[0] = parseErrors, $[1] = validation, $[2] = t0) : t0 = $[2];
|
|
12810
|
+
const mergedValidation = t0, {
|
|
12806
12811
|
t
|
|
12807
12812
|
} = useTranslation("validation");
|
|
12808
|
-
let t0;
|
|
12809
|
-
$[0] !== onFocus || $[1] !== onPathOpen ? (t0 = (path) => {
|
|
12810
|
-
onPathOpen(path), onFocus(path);
|
|
12811
|
-
}, $[0] = onFocus, $[1] = onPathOpen, $[2] = t0) : t0 = $[2];
|
|
12812
|
-
const handleOpen = t0;
|
|
12813
12813
|
let t1;
|
|
12814
|
-
$[3] !==
|
|
12815
|
-
|
|
12814
|
+
$[3] !== onFocus || $[4] !== onPathOpen ? (t1 = (path) => {
|
|
12815
|
+
onPathOpen(path), onFocus(path);
|
|
12816
|
+
}, $[3] = onFocus, $[4] = onPathOpen, $[5] = t1) : t1 = $[5];
|
|
12817
|
+
const handleOpen = t1;
|
|
12816
12818
|
let t2;
|
|
12817
|
-
$[
|
|
12819
|
+
$[6] !== editState ? (t2 = editState && editState.version && isGoingToUnpublish(editState.version), $[6] = editState, $[7] = t2) : t2 = $[7];
|
|
12820
|
+
const isVersionGoingToUnpublish = t2;
|
|
12818
12821
|
let t3;
|
|
12819
|
-
$[
|
|
12822
|
+
$[8] !== t ? (t3 = t("panel.close-button-aria-label"), $[8] = t, $[9] = t3) : t3 = $[9];
|
|
12820
12823
|
let t4;
|
|
12821
|
-
$[
|
|
12824
|
+
$[10] !== t ? (t4 = t("panel.title"), $[10] = t, $[11] = t4) : t4 = $[11];
|
|
12822
12825
|
let t5;
|
|
12823
|
-
$[
|
|
12824
|
-
validation.length === 0 && /* @__PURE__ */ jsx(Box, { padding: 2, children: /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: t("panel.no-errors-message") }) }),
|
|
12825
|
-
validation.length > 0 && /* @__PURE__ */ jsx(Stack, { space: 2, children: validation.map((marker, i) => /* @__PURE__ */ jsx(ValidationCard, { marker, onOpen: handleOpen, schemaType, value }, i)) })
|
|
12826
|
-
] }) }), $[13] = handleOpen, $[14] = isVersionGoingToUnpublish, $[15] = schemaType, $[16] = t, $[17] = validation, $[18] = value, $[19] = t5) : t5 = $[19];
|
|
12826
|
+
$[12] !== onClose || $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ jsx(DocumentInspectorHeader, { as: "header", closeButtonLabel: t3, flex: "none", onClose, title: t4 }), $[12] = onClose, $[13] = t3, $[14] = t4, $[15] = t5) : t5 = $[15];
|
|
12827
12827
|
let t6;
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
] }), $[20] =
|
|
12828
|
+
$[16] !== handleOpen || $[17] !== isVersionGoingToUnpublish || $[18] !== mergedValidation || $[19] !== schemaType || $[20] !== t || $[21] !== value ? (t6 = /* @__PURE__ */ jsx(Card, { flex: 1, overflow: "auto", padding: 3, children: isVersionGoingToUnpublish ? /* @__PURE__ */ jsx(Box, { padding: 2, children: /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: t("panel.unpublish-message") }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12829
|
+
mergedValidation.length === 0 && /* @__PURE__ */ jsx(Box, { padding: 2, children: /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: t("panel.no-errors-message") }) }),
|
|
12830
|
+
mergedValidation.length > 0 && /* @__PURE__ */ jsx(Stack, { space: 2, children: mergedValidation.map((marker, i) => /* @__PURE__ */ jsx(ValidationCard, { marker, onOpen: handleOpen, schemaType, value }, i)) })
|
|
12831
|
+
] }) }), $[16] = handleOpen, $[17] = isVersionGoingToUnpublish, $[18] = mergedValidation, $[19] = schemaType, $[20] = t, $[21] = value, $[22] = t6) : t6 = $[22];
|
|
12832
|
+
let t7;
|
|
12833
|
+
return $[23] !== t5 || $[24] !== t6 ? (t7 = /* @__PURE__ */ jsxs(Flex, { direction: "column", height: "fill", overflow: "hidden", children: [
|
|
12834
|
+
t5,
|
|
12835
|
+
t6
|
|
12836
|
+
] }), $[23] = t5, $[24] = t6, $[25] = t7) : t7 = $[25], t7;
|
|
12832
12837
|
}
|
|
12833
12838
|
function ValidationCard(props) {
|
|
12834
12839
|
const $ = c(17), {
|
|
@@ -12902,7 +12907,7 @@ function _temp$1(t, i) {
|
|
|
12902
12907
|
] }, i);
|
|
12903
12908
|
}
|
|
12904
12909
|
function useMenuItem(props) {
|
|
12905
|
-
const $ = c(
|
|
12910
|
+
const $ = c(12), {
|
|
12906
12911
|
documentType
|
|
12907
12912
|
} = props, {
|
|
12908
12913
|
t
|
|
@@ -12912,12 +12917,12 @@ function useMenuItem(props) {
|
|
|
12912
12917
|
value
|
|
12913
12918
|
} = useDocumentPane(), {
|
|
12914
12919
|
validation: validationMarkers
|
|
12915
|
-
} = useValidationStatus(value._id, documentType, !selectedReleaseId);
|
|
12920
|
+
} = useValidationStatus(value._id, documentType, !selectedReleaseId), parseErrors = useParseErrors();
|
|
12916
12921
|
let t0;
|
|
12917
|
-
$[0] !== validationMarkers ? (t0 = validationMarkers.map(_temp), $[0] =
|
|
12922
|
+
$[0] !== parseErrors || $[1] !== validationMarkers ? (t0 = mergeParseErrors(validationMarkers, parseErrors).map(_temp), $[0] = parseErrors, $[1] = validationMarkers, $[2] = t0) : t0 = $[2];
|
|
12918
12923
|
const validation = t0, hasErrors = validation.some(isValidationError), hasWarnings = validation.some(isValidationWarning);
|
|
12919
12924
|
let t1;
|
|
12920
|
-
$[
|
|
12925
|
+
$[3] !== value ? (t1 = isGoingToUnpublish(value), $[3] = value, $[4] = t1) : t1 = $[4];
|
|
12921
12926
|
const isDocumentGoingToUnpublish = t1;
|
|
12922
12927
|
let t2;
|
|
12923
12928
|
bb0: {
|
|
@@ -12946,15 +12951,15 @@ function useMenuItem(props) {
|
|
|
12946
12951
|
}
|
|
12947
12952
|
const tone = t3, t4 = validation.length === 0 || isDocumentGoingToUnpublish;
|
|
12948
12953
|
let t5;
|
|
12949
|
-
$[
|
|
12954
|
+
$[5] !== t ? (t5 = t("panel.title"), $[5] = t, $[6] = t5) : t5 = $[6];
|
|
12950
12955
|
let t6;
|
|
12951
|
-
return $[
|
|
12956
|
+
return $[7] !== icon || $[8] !== t4 || $[9] !== t5 || $[10] !== tone ? (t6 = {
|
|
12952
12957
|
hidden: t4,
|
|
12953
12958
|
icon,
|
|
12954
12959
|
title: t5,
|
|
12955
12960
|
tone,
|
|
12956
12961
|
showAsAction: !0
|
|
12957
|
-
}, $[
|
|
12962
|
+
}, $[7] = icon, $[8] = t4, $[9] = t5, $[10] = tone, $[11] = t6) : t6 = $[11], t6;
|
|
12958
12963
|
}
|
|
12959
12964
|
function _temp(item) {
|
|
12960
12965
|
return {
|