@cmssy/core 19.31.0 → 19.32.0
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/dist/{csp-CDQ84XTt.d.cts → csp-BERb4adx.d.cts} +3 -1
- package/dist/{csp-DoY_JZ4u.d.ts → csp-EaQufK8P.d.ts} +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/internal/locale.cjs +1 -1
- package/dist/internal/locale.js +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/dist/preflight.cjs +1 -1
- package/dist/preflight.js +1 -1
- package/package.json +2 -2
|
@@ -179,9 +179,11 @@ interface ShortcutMessage {
|
|
|
179
179
|
protocolVersion: number;
|
|
180
180
|
action: ShortcutAction;
|
|
181
181
|
}
|
|
182
|
+
type InvisibleReason = "empty" | "transparent";
|
|
182
183
|
interface InvisibleBlock {
|
|
183
184
|
blockId: string;
|
|
184
185
|
blockType: string;
|
|
186
|
+
reason: InvisibleReason;
|
|
185
187
|
}
|
|
186
188
|
interface InvisibleBlocksMessage {
|
|
187
189
|
type: "cmssy:invisible-blocks";
|
|
@@ -267,4 +269,4 @@ declare function toCspOrigin(origin: string): string;
|
|
|
267
269
|
declare function cmssyCspHeaders(options: CmssyCspOptions): Record<string, string>;
|
|
268
270
|
declare function applyCmssyCsp<T extends MutableHeaders>(response: T, options: CmssyCspOptions): T;
|
|
269
271
|
|
|
270
|
-
export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type
|
|
272
|
+
export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type ShortcutMessage as G, type ViewportMessage as H, type InvisibleBlock as I, applyCmssyCsp as J, createCmssyClient as K, defineCmssyConfig as L, MODEL_DEFINITIONS_QUERY as M, defineCmssyLayout as N, isProtocolCompatible as O, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SITE_CONFIG_QUERY as S, normalizeOrigin as T, parseEditorMessage as U, type VariablesParameter as V, postToEditor as W, resolveEditorOrigin as X, MODEL_RECORDS_QUERY as a, SUBMIT_FORM_MUTATION as b, cmssyCspHeaders as c, type ClickMessage as d, type CmssyClient as e, type CmssyConfig as f, type CmssyCspOptions as g, type CmssyEnvConfig as h, isDevelopment as i, type CmssyLayout as j, type CmssyRegion as k, layoutRegionIds as l, type CmssyRegionOf as m, type CmssyRegionSettings as n, type CmssyRegionSettingsOf as o, type InvisibleBlocksMessage as p, type InvisibleReason as q, resolveInitialTarget as r, type ParentReadyMessage as s, toCspOrigin as t, type PatchMessage as u, type PostTarget as v, SHORTCUT_ACTIONS as w, type ScopedVariables as x, type SelectMessage as y, type ShortcutAction as z };
|
|
@@ -179,9 +179,11 @@ interface ShortcutMessage {
|
|
|
179
179
|
protocolVersion: number;
|
|
180
180
|
action: ShortcutAction;
|
|
181
181
|
}
|
|
182
|
+
type InvisibleReason = "empty" | "transparent";
|
|
182
183
|
interface InvisibleBlock {
|
|
183
184
|
blockId: string;
|
|
184
185
|
blockType: string;
|
|
186
|
+
reason: InvisibleReason;
|
|
185
187
|
}
|
|
186
188
|
interface InvisibleBlocksMessage {
|
|
187
189
|
type: "cmssy:invisible-blocks";
|
|
@@ -267,4 +269,4 @@ declare function toCspOrigin(origin: string): string;
|
|
|
267
269
|
declare function cmssyCspHeaders(options: CmssyCspOptions): Record<string, string>;
|
|
268
270
|
declare function applyCmssyCsp<T extends MutableHeaders>(response: T, options: CmssyCspOptions): T;
|
|
269
271
|
|
|
270
|
-
export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type
|
|
272
|
+
export { type AppToEditorMessage as A, type BoundsMessage as B, type CmssyRecordSort as C, DEFAULT_CMSSY_EDITOR_ORIGINS as D, type EditorToAppMessage as E, FORM_QUERY as F, type ShortcutMessage as G, type ViewportMessage as H, type InvisibleBlock as I, applyCmssyCsp as J, createCmssyClient as K, defineCmssyConfig as L, MODEL_DEFINITIONS_QUERY as M, defineCmssyLayout as N, isProtocolCompatible as O, PROTOCOL_VERSION as P, type QueryScopedOptions as Q, type ReadyMessage as R, SITE_CONFIG_QUERY as S, normalizeOrigin as T, parseEditorMessage as U, type VariablesParameter as V, postToEditor as W, resolveEditorOrigin as X, MODEL_RECORDS_QUERY as a, SUBMIT_FORM_MUTATION as b, cmssyCspHeaders as c, type ClickMessage as d, type CmssyClient as e, type CmssyConfig as f, type CmssyCspOptions as g, type CmssyEnvConfig as h, isDevelopment as i, type CmssyLayout as j, type CmssyRegion as k, layoutRegionIds as l, type CmssyRegionOf as m, type CmssyRegionSettings as n, type CmssyRegionSettingsOf as o, type InvisibleBlocksMessage as p, type InvisibleReason as q, resolveInitialTarget as r, type ParentReadyMessage as s, toCspOrigin as t, type PatchMessage as u, type PostTarget as v, SHORTCUT_ACTIONS as w, type ScopedVariables as x, type SelectMessage as y, type ShortcutAction as z };
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CmssyRecordSort } from './csp-
|
|
2
|
-
export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, P as PROTOCOL_VERSION,
|
|
1
|
+
import { C as CmssyRecordSort } from './csp-BERb4adx.cjs';
|
|
2
|
+
export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, q as InvisibleReason, P as PROTOCOL_VERSION, s as ParentReadyMessage, u as PatchMessage, v as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, w as SHORTCUT_ACTIONS, x as ScopedVariables, y as SelectMessage, z as ShortcutAction, G as ShortcutMessage, V as VariablesParameter, H as ViewportMessage, J as applyCmssyCsp, K as createCmssyClient, L as defineCmssyConfig, N as defineCmssyLayout, O as isProtocolCompatible, T as normalizeOrigin, U as parseEditorMessage, W as postToEditor, X as resolveEditorOrigin } from './csp-BERb4adx.cjs';
|
|
3
3
|
import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
|
|
4
4
|
export { b as CMSSY_LOCALE_HEADER, C as CmssyOperationInput, f as CmssyTypedDocument, g as graphqlRequest, d as localizeHref, h as resolveCmssyLocale, t as typedOperation } from './locale-CUk6dYTo.cjs';
|
|
5
5
|
import { F as FetchLike, R as RetryOption, C as CmssyClientConfig } from './content-client-EAeHiBv2.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CmssyRecordSort } from './csp-
|
|
2
|
-
export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, P as PROTOCOL_VERSION,
|
|
1
|
+
import { C as CmssyRecordSort } from './csp-EaQufK8P.js';
|
|
2
|
+
export { A as AppToEditorMessage, B as BoundsMessage, d as ClickMessage, e as CmssyClient, f as CmssyConfig, g as CmssyCspOptions, h as CmssyEnvConfig, j as CmssyLayout, k as CmssyRegion, m as CmssyRegionOf, n as CmssyRegionSettings, o as CmssyRegionSettingsOf, D as DEFAULT_CMSSY_EDITOR_ORIGINS, E as EditorToAppMessage, I as InvisibleBlock, p as InvisibleBlocksMessage, q as InvisibleReason, P as PROTOCOL_VERSION, s as ParentReadyMessage, u as PatchMessage, v as PostTarget, Q as QueryScopedOptions, R as ReadyMessage, w as SHORTCUT_ACTIONS, x as ScopedVariables, y as SelectMessage, z as ShortcutAction, G as ShortcutMessage, V as VariablesParameter, H as ViewportMessage, J as applyCmssyCsp, K as createCmssyClient, L as defineCmssyConfig, N as defineCmssyLayout, O as isProtocolCompatible, T as normalizeOrigin, U as parseEditorMessage, W as postToEditor, X as resolveEditorOrigin } from './csp-EaQufK8P.js';
|
|
3
3
|
import { a as CmssyOperation, G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
|
|
4
4
|
export { b as CMSSY_LOCALE_HEADER, C as CmssyOperationInput, f as CmssyTypedDocument, g as graphqlRequest, d as localizeHref, h as resolveCmssyLocale, t as typedOperation } from './locale-Ds2uJX5V.js';
|
|
5
5
|
import { F as FetchLike, R as RetryOption, C as CmssyClientConfig } from './content-client-EAeHiBv2.js';
|
package/dist/index.js
CHANGED
package/dist/internal/locale.cjs
CHANGED
package/dist/internal/locale.js
CHANGED
package/dist/internal.cjs
CHANGED
package/dist/internal.d.cts
CHANGED
|
@@ -4,8 +4,8 @@ import { G as GraphqlRequestOptions } from './locale-CUk6dYTo.cjs';
|
|
|
4
4
|
export { b as CMSSY_LOCALE_HEADER, l as localeForPath, c as localeForPathname, d as localizeHref, r as resolveSiteLocales, s as splitCmssyLocale, e as splitLocaleFromPath } from './locale-CUk6dYTo.cjs';
|
|
5
5
|
import { CmssyFormDefinition, BuildBlockContextExtra, CmssyBlockContext, CmssySiteConfig, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
|
|
6
6
|
export { CmssySiteLocales } from '@cmssy/types';
|
|
7
|
-
import { Q as QueryScopedOptions } from './csp-
|
|
8
|
-
export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-
|
|
7
|
+
import { Q as QueryScopedOptions } from './csp-BERb4adx.cjs';
|
|
8
|
+
export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-BERb4adx.cjs';
|
|
9
9
|
export { localizedPath } from './internal/locale.cjs';
|
|
10
10
|
|
|
11
11
|
declare function buildBlockContext(locale: string, defaultLocale: string, enabledLocales?: string[], isPreview?: boolean, forms?: Record<string, CmssyFormDefinition>, extra?: BuildBlockContextExtra): CmssyBlockContext;
|
package/dist/internal.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { G as GraphqlRequestOptions } from './locale-Ds2uJX5V.js';
|
|
|
4
4
|
export { b as CMSSY_LOCALE_HEADER, l as localeForPath, c as localeForPathname, d as localizeHref, r as resolveSiteLocales, s as splitCmssyLocale, e as splitLocaleFromPath } from './locale-Ds2uJX5V.js';
|
|
5
5
|
import { CmssyFormDefinition, BuildBlockContextExtra, CmssyBlockContext, CmssySiteConfig, FieldDefinition, RawBlock, CmssyLayoutGroup } from '@cmssy/types';
|
|
6
6
|
export { CmssySiteLocales } from '@cmssy/types';
|
|
7
|
-
import { Q as QueryScopedOptions } from './csp-
|
|
8
|
-
export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-
|
|
7
|
+
import { Q as QueryScopedOptions } from './csp-EaQufK8P.js';
|
|
8
|
+
export { F as FORM_QUERY, M as MODEL_DEFINITIONS_QUERY, a as MODEL_RECORDS_QUERY, S as SITE_CONFIG_QUERY, b as SUBMIT_FORM_MUTATION, c as cmssyCspHeaders, i as isDevelopment, l as layoutRegionIds, r as resolveInitialTarget, t as toCspOrigin } from './csp-EaQufK8P.js';
|
|
9
9
|
export { localizedPath } from './internal/locale.js';
|
|
10
10
|
|
|
11
11
|
declare function buildBlockContext(locale: string, defaultLocale: string, enabledLocales?: string[], isPreview?: boolean, forms?: Record<string, CmssyFormDefinition>, extra?: BuildBlockContextExtra): CmssyBlockContext;
|
package/dist/internal.js
CHANGED
package/dist/preflight.cjs
CHANGED
|
@@ -152,7 +152,7 @@ function documentText(document) {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
// src/version.ts
|
|
155
|
-
var CMSSY_CORE_VERSION = "19.
|
|
155
|
+
var CMSSY_CORE_VERSION = "19.32.0" ;
|
|
156
156
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
157
157
|
|
|
158
158
|
// src/content/content-client.ts
|
package/dist/preflight.js
CHANGED
|
@@ -150,7 +150,7 @@ function documentText(document) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
// src/version.ts
|
|
153
|
-
var CMSSY_CORE_VERSION = "19.
|
|
153
|
+
var CMSSY_CORE_VERSION = "19.32.0" ;
|
|
154
154
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
155
155
|
|
|
156
156
|
// src/content/content-client.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmssy/core",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.32.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20"
|
|
6
6
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"vitest": "^2.1.0"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@cmssy/types": "0.75.
|
|
93
|
+
"@cmssy/types": "0.75.1",
|
|
94
94
|
"jose": "^6.2.3"
|
|
95
95
|
},
|
|
96
96
|
"scripts": {
|