@cocoar/vue-page-builder 2.20.0-beta.19 → 3.0.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/IDP_INTEGRATION.md +350 -355
- package/README.md +498 -509
- package/dist/{BuilderElementCodeDialog-ByhAkwmS.js → BuilderElementCodeDialog-DXGNzleE.js} +2 -2
- package/dist/{BuilderExpressionDialog-DjGebYyv.js → BuilderExpressionDialog-yIfwYgXD.js} +1 -1
- package/dist/{BuilderLogicPanel-Cxd04A93.js → BuilderLogicPanel-C9urz5Cd.js} +3 -3
- package/dist/{BuilderPageRootCodeDialog-7uXyUGGD.js → BuilderPageRootCodeDialog-CQsg_ozW.js} +2 -2
- package/dist/CoarPageBuilder.vue.d.ts +15 -4
- package/dist/CoarPageBuilder.vue.d.ts.map +1 -1
- package/dist/CoarPageRenderer.vue.d.ts +0 -2
- package/dist/CoarPageRenderer.vue.d.ts.map +1 -1
- package/dist/PageNode.vue.d.ts.map +1 -1
- package/dist/{VisualMarkupInspector-DGjFuyMS.js → VisualMarkupInspector-CmAOc-CH.js} +2 -2
- package/dist/builder/BuilderCanvas.vue.d.ts +31 -1
- package/dist/builder/BuilderCanvas.vue.d.ts.map +1 -1
- package/dist/builder/BuilderCanvasNode.vue.d.ts.map +1 -1
- package/dist/builder/BuilderOutline.vue.d.ts.map +1 -1
- package/dist/builder/BuilderOutlineNode.vue.d.ts.map +1 -1
- package/dist/builder/BuilderPalette.vue.d.ts.map +1 -1
- package/dist/builder/BuilderPropsPanel.vue.d.ts.map +1 -1
- package/dist/builder/boxSides.d.ts +30 -0
- package/dist/builder/boxSides.d.ts.map +1 -0
- package/dist/builder/builderContext.d.ts +2 -2
- package/dist/builder/builderContext.d.ts.map +1 -1
- package/dist/builder/pageCodeAuthoring.d.ts.map +1 -1
- package/dist/builder/props/BuilderViewportControl.vue.d.ts +23 -0
- package/dist/builder/props/BuilderViewportControl.vue.d.ts.map +1 -0
- package/dist/builder/props/BuilderZoomControl.vue.d.ts +24 -0
- package/dist/builder/props/BuilderZoomControl.vue.d.ts.map +1 -0
- package/dist/builder/props/CompoundLengthProperty.vue.d.ts +20 -0
- package/dist/builder/props/CompoundLengthProperty.vue.d.ts.map +1 -0
- package/dist/builder/props/StyleProps.vue.d.ts.map +1 -1
- package/dist/builder/schemaMigrateV1.d.ts +7 -0
- package/dist/builder/schemaMigrateV1.d.ts.map +1 -1
- package/dist/builder/{useSchemaValidation.d.ts → useAuthoringFindings.d.ts} +8 -8
- package/dist/builder/useAuthoringFindings.d.ts.map +1 -0
- package/dist/builder/useCanvasZoom.d.ts +50 -0
- package/dist/builder/useCanvasZoom.d.ts.map +1 -0
- package/dist/builder/usePageBuilder.d.ts +0 -2
- package/dist/builder/usePageBuilder.d.ts.map +1 -1
- package/dist/{builderContext-5hKJ8y8r.js → builderContext-B3rX2dxZ.js} +1 -1
- package/dist/conditions.d.ts +0 -1
- package/dist/conditions.d.ts.map +1 -1
- package/dist/documentValidation.d.ts.map +1 -1
- package/dist/elements/card/index.d.ts.map +1 -1
- package/dist/elements/image/index.d.ts.map +1 -1
- package/dist/elements/previewUtils.d.ts.map +1 -1
- package/dist/elements/registry.d.ts +158 -4
- package/dist/elements/registry.d.ts.map +1 -1
- package/dist/elements/repeat/index.d.ts +1 -1
- package/dist/elements/repeat/index.d.ts.map +1 -1
- package/dist/elements/section/index.d.ts.map +1 -1
- package/dist/elements/stack/index.d.ts.map +1 -1
- package/dist/elements/visual-markup/index.d.ts.map +1 -1
- package/dist/{expressionAuthoring-DHVx3i-G.js → expressionAuthoring-7iAyadA3.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3787 -4294
- package/dist/{pageCode-hhTSp3xO.js → pageCode-echPQdna.js} +57 -49
- package/dist/pageCode.d.ts +11 -3
- package/dist/pageCode.d.ts.map +1 -1
- package/dist/{pageCodeAuthoring-Fg3yqXt3.js → pageCodeAuthoring-C8grEAUf.js} +2 -5
- package/dist/runtime/usePageCodeRuntime.d.ts +0 -1
- package/dist/runtime/usePageCodeRuntime.d.ts.map +1 -1
- package/dist/runtimeBindings.d.ts +0 -1
- package/dist/runtimeBindings.d.ts.map +1 -1
- package/dist/schema.d.ts +43 -52
- package/dist/schema.d.ts.map +1 -1
- package/dist/styleMapping.d.ts +3 -0
- package/dist/styleMapping.d.ts.map +1 -1
- package/dist/{visualDocument-DPb3svLG.js → visualDocument-DKjWBfpW.js} +2 -2
- package/package.json +4 -4
- package/dist/builder/useSchemaValidation.d.ts.map +0 -1
- package/dist/presets/authCustomization.d.ts +0 -33
- package/dist/presets/authCustomization.d.ts.map +0 -1
- package/dist/stylePresets.d.ts +0 -4
- package/dist/stylePresets.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
-
import { c as t, o as n } from "./pageCode-
|
|
3
|
-
import { n as r, t as i } from "./pageCodeAuthoring-
|
|
2
|
+
import { c as t, o as n } from "./pageCode-echPQdna.js";
|
|
3
|
+
import { n as r, t as i } from "./pageCodeAuthoring-C8grEAUf.js";
|
|
4
4
|
import { computed as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, ref as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
|
|
5
5
|
import { CoarButton as g } from "@cocoar/vue-ui";
|
|
6
6
|
import { CoarScriptEditor as _ } from "@cocoar/vue-script-editor";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
-
import { i as t, n, t as r } from "./expressionAuthoring-
|
|
2
|
+
import { i as t, n, t as r } from "./expressionAuthoring-7iAyadA3.js";
|
|
3
3
|
import { computed as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
4
4
|
import { CoarButton as h } from "@cocoar/vue-ui";
|
|
5
5
|
import { CoarScriptEditor as g } from "@cocoar/vue-script-editor";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
-
import { a as t,
|
|
3
|
-
import { c as i } from "./pageCode-
|
|
4
|
-
import { a } from "./pageCodeAuthoring-
|
|
2
|
+
import { a as t, l as n, t as r } from "./builderContext-B3rX2dxZ.js";
|
|
3
|
+
import { c as i } from "./pageCode-echPQdna.js";
|
|
4
|
+
import { a } from "./pageCodeAuthoring-C8grEAUf.js";
|
|
5
5
|
import { computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, inject as p, openBlock as m, ref as h, unref as g, watch as _, withCtx as v } from "vue";
|
|
6
6
|
import { CoarButton as y } from "@cocoar/vue-ui";
|
|
7
7
|
import { CoarScriptEditor as b } from "@cocoar/vue-script-editor";
|
package/dist/{BuilderPageRootCodeDialog-7uXyUGGD.js → BuilderPageRootCodeDialog-CQsg_ozW.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
-
import { c as t, s as n } from "./pageCode-
|
|
3
|
-
import { i as r, r as i } from "./pageCodeAuthoring-
|
|
2
|
+
import { c as t, s as n } from "./pageCode-echPQdna.js";
|
|
3
|
+
import { i as r, r as i } from "./pageCodeAuthoring-C8grEAUf.js";
|
|
4
4
|
import { computed as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, ref as f, unref as p, withCtx as m } from "vue";
|
|
5
5
|
import { CoarButton as h } from "@cocoar/vue-ui";
|
|
6
6
|
import { CoarScriptEditor as g } from "@cocoar/vue-script-editor";
|
|
@@ -3,6 +3,7 @@ import { PageNode, PageConfig, RuntimeExpressionValues, PageCompositionReference
|
|
|
3
3
|
import { CoarScriptEditorExtraLib } from '@cocoar/vue-script-editor';
|
|
4
4
|
import { PageCodeRuntimeValues } from './pageCode';
|
|
5
5
|
import { PageRuntimeHost } from './runtime/PageRuntimeHost';
|
|
6
|
+
import { AuthoringFinding } from './builder/useAuthoringFindings';
|
|
6
7
|
import { PageBuilderAuthoringMode } from './builder/builderContext';
|
|
7
8
|
import { ActionHandler, ActionValues } from './context';
|
|
8
9
|
import { PageCompositionRepository } from './compositions';
|
|
@@ -14,9 +15,16 @@ type __VLS_Props = {
|
|
|
14
15
|
* authoring (palette + add-child menu) and at render time (security boundary).
|
|
15
16
|
*/
|
|
16
17
|
config?: PageConfig;
|
|
17
|
-
/** Safe
|
|
18
|
+
/** Safe sample context used only by the embedded preview; never persisted. */
|
|
18
19
|
previewContext?: Record<string, unknown>;
|
|
19
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Field values the embedded preview starts from, merged OVER the schema's
|
|
22
|
+
* own `defaultValue`s exactly as at runtime. This is the edit-form case —
|
|
23
|
+
* and the case where the host computes a default the author did not write,
|
|
24
|
+
* such as a per-tenant "remember me" setting. Without it the preview can
|
|
25
|
+
* only ever show an empty form.
|
|
26
|
+
*/
|
|
27
|
+
previewInitialValues?: ActionValues;
|
|
20
28
|
previewLocale?: string;
|
|
21
29
|
/** Host-owned theme applied only to the embedded renderer canvas. */
|
|
22
30
|
previewTheme?: CoarTheme;
|
|
@@ -28,7 +36,7 @@ type __VLS_Props = {
|
|
|
28
36
|
previewExpressionValues?: RuntimeExpressionValues;
|
|
29
37
|
/** Code-driven mode keeps the inspector structural and makes Page Code authoritative. */
|
|
30
38
|
authoringMode?: PageBuilderAuthoringMode;
|
|
31
|
-
/** @deprecated The Builder now owns its
|
|
39
|
+
/** @deprecated The Builder now owns its preview runtime. */
|
|
32
40
|
previewPageCodeValues?: PageCodeRuntimeValues;
|
|
33
41
|
/** @deprecated Used only as a fallback for actions unknown to the Builder runtime. */
|
|
34
42
|
previewOnAction?: (id: string, values: ActionValues) => void | Promise<unknown>;
|
|
@@ -59,6 +67,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
59
67
|
};
|
|
60
68
|
}) => any;
|
|
61
69
|
"open-composition": (reference: PageCompositionReference) => any;
|
|
70
|
+
findings: (findings: AuthoringFinding[]) => any;
|
|
62
71
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
63
72
|
"onUpdate:modelValue"?: ((value: PageNode) => any) | undefined;
|
|
64
73
|
"onPreview-values"?: ((values: ActionValues) => any) | undefined;
|
|
@@ -72,9 +81,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
72
81
|
};
|
|
73
82
|
}) => any) | undefined;
|
|
74
83
|
"onOpen-composition"?: ((reference: PageCompositionReference) => any) | undefined;
|
|
84
|
+
onFindings?: ((findings: AuthoringFinding[]) => any) | undefined;
|
|
75
85
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
76
86
|
rootRef: HTMLDivElement;
|
|
77
|
-
|
|
87
|
+
previewViewportRef: HTMLDivElement;
|
|
88
|
+
previewFrameRef: HTMLDivElement;
|
|
78
89
|
}, HTMLDivElement>;
|
|
79
90
|
export default _default;
|
|
80
91
|
//# sourceMappingURL=CoarPageBuilder.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarPageBuilder.vue.d.ts","sourceRoot":"","sources":["../src/CoarPageBuilder.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarPageBuilder.vue.d.ts","sourceRoot":"","sources":["../src/CoarPageBuilder.vue"],"names":[],"mappings":"AA6yCA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAsE,KAAK,QAAQ,EAAqB,KAAK,UAAU,EAAE,KAAK,uBAAuB,EAAE,KAAK,wBAAwB,EAAE,MAAM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,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC/E,0FAA0F;IAC1F,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC9C,iFAAiF;IACjF,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IACjD,uFAAuF;IACvF,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD,CAAC;AAkgBF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC;CACrB,GAAG,WAAW,CAAC;;;;;gBAjkBJ,YAAY;cACd;YAAE,KAAK,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAA;SAAE;;;;;;;;gBAD1E,YAAY;cACd;YAAE,KAAK,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAA;SAAE;;;;;;;;;AAu+CtF,wBASG"}
|
|
@@ -31,8 +31,6 @@ type __VLS_Props = {
|
|
|
31
31
|
viewportWidth?: number;
|
|
32
32
|
/** Host-owned, typed runtime data. Only paths declared in config.contextFields are readable. */
|
|
33
33
|
runtimeContext?: Record<string, unknown>;
|
|
34
|
-
/** Host-controlled view state (for example `prompt`, `submitting`, `expired`). */
|
|
35
|
-
viewState?: string;
|
|
36
34
|
/** Active locale used to resolve LocalizedValue props. */
|
|
37
35
|
locale?: string;
|
|
38
36
|
/** Host-owned built-in document used when the customized document violates its contract. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarPageRenderer.vue.d.ts","sourceRoot":"","sources":["../src/C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AO,IAA6B;;;;YAXhB,GAAG;;;;;;EAgBpC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IA/GnB,yFAAyF;;IAEzF,0DAA0D;;IAE1D,wEAAwE;;IAExE,yEAAyE;;IAEzE,iGAAiG;;;;;gBA1tBvF,YAAY;cACd;YAAE,KAAK,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAA;SAAE;;;;;gBAD1E,YAAY;cACd;YAAE,KAAK,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,OAAO,CAAA;SAAE;;;;kBA00BpF,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageNode.vue.d.ts","sourceRoot":"","sources":["../src/PageNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageNode.vue.d.ts","sourceRoot":"","sources":["../src/PageNode.vue"],"names":[],"mappings":"AAwNA,OAAO,EAAsC,KAAK,QAAQ,EAAE,KAAK,eAAe,EAAkB,MAAM,UAAU,CAAC;;UAwB3G,QAAQ;WACP,OAAO;gBACF,MAAM;uBACC,WAAW,CAAC,MAAM,CAAC;sBACpB,eAAe;;UAJ3B,QAAQ;WACP,OAAO;gBACF,MAAM;uBACC,WAAW,CAAC,MAAM,CAAC;sBACpB,eAAe;;AARnC,wBA2PK"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-BTgDAbhb.js";
|
|
2
|
-
import { a as t } from "./builderContext-
|
|
3
|
-
import { t as n } from "./visualDocument-
|
|
2
|
+
import { a as t } from "./builderContext-B3rX2dxZ.js";
|
|
3
|
+
import { t as n } from "./visualDocument-DKjWBfpW.js";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
import { CoarFormField as _, CoarNotice as v } from "@cocoar/vue-ui";
|
|
6
6
|
import { CoarScriptEditor as y } from "@cocoar/vue-script-editor";
|
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Constrains the authored page to the selected viewport width. Without it the
|
|
3
|
+
* canvas is always as wide as its pane, so percentage widths and breakpoint
|
|
4
|
+
* rules cannot be judged while editing — the breakpoint alone only picks which
|
|
5
|
+
* responsive overrides apply, not the width they apply at.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
viewportWidth?: number | null;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
toolbar?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
viewportRef: HTMLDivElement;
|
|
17
|
+
contentRef: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
viewportRef: HTMLDivElement;
|
|
24
|
+
contentRef: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
27
|
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
3
33
|
//# sourceMappingURL=BuilderCanvas.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderCanvas.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderCanvas.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BuilderCanvas.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderCanvas.vue"],"names":[],"mappings":"AAkJA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAyCrD,iBAAS,cAAc;WAgGT,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;kBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderCanvasNode.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderCanvasNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BuilderCanvasNode.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderCanvasNode.vue"],"names":[],"mappings":"AAsoBA,OAAO,EAAsC,KAAK,QAAQ,EAAkB,MAAM,WAAW,CAAC;AAQ9F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;;UAkBrC,QAAQ;UACR,QAAQ;;UADR,QAAQ;UACR,QAAQ;;AALhB,wBAwfK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderOutline.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderOutline.vue"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BuilderOutline.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderOutline.vue"],"names":[],"mappings":";;;AAuJA,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderOutlineNode.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderOutlineNode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BuilderOutlineNode.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderOutlineNode.vue"],"names":[],"mappings":"AAstBA,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,WAAW,CAAC;AAK5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,UAAU,KAAK;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;WADS,MAAM;;;;AA0qBhB,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderPalette.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderPalette.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BuilderPalette.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderPalette.vue"],"names":[],"mappings":";AAwyBA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuilderPropsPanel.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderPropsPanel.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BuilderPropsPanel.vue.d.ts","sourceRoot":"","sources":["../../src/builder/BuilderPropsPanel.vue"],"names":[],"mappings":";AA2nIA,wBAMG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSS box-shorthand handling for the compound Quick Property control.
|
|
3
|
+
*
|
|
4
|
+
* The schema stores padding as one string ('16px 32px'), but authors want four
|
|
5
|
+
* inputs. These helpers convert both ways without ever inventing values: an
|
|
6
|
+
* empty side stays empty, and writing back produces the shortest equivalent
|
|
7
|
+
* form so a document does not grow noisier than what the author typed.
|
|
8
|
+
*/
|
|
9
|
+
export type BoxSide = 'top' | 'right' | 'bottom' | 'left';
|
|
10
|
+
export type BoxSides = Record<BoxSide, string>;
|
|
11
|
+
/**
|
|
12
|
+
* Splits a shorthand into sides using the CSS 1-to-4 value rules.
|
|
13
|
+
*
|
|
14
|
+
* A value that is not 1–4 whitespace-separated tokens (a `calc()` with spaces,
|
|
15
|
+
* say) is not something we can safely take apart, so it is reported as
|
|
16
|
+
* unsplittable rather than mangled.
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseBoxSides(value: string | undefined): BoxSides | null;
|
|
19
|
+
/**
|
|
20
|
+
* Rebuilds the shortest shorthand for four sides.
|
|
21
|
+
*
|
|
22
|
+
* Returns undefined when nothing is set, so the caller removes the assignment
|
|
23
|
+
* instead of writing an empty string. Partially filled sides cannot be
|
|
24
|
+
* expressed as a shorthand, so the blanks are filled with '0' — otherwise the
|
|
25
|
+
* emitted CSS would silently shift the remaining values into the wrong slots.
|
|
26
|
+
*/
|
|
27
|
+
export declare function formatBoxSides(sides: BoxSides): string | undefined;
|
|
28
|
+
/** Collapsed one-line summary, e.g. '16px / 32px'. Empty when nothing is set. */
|
|
29
|
+
export declare function summariseBoxSides(value: string | undefined): string;
|
|
30
|
+
//# sourceMappingURL=boxSides.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boxSides.d.ts","sourceRoot":"","sources":["../../src/builder/boxSides.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC1D,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAI/C;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,IAAI,CAaxE;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAQlE;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAKnE"}
|
|
@@ -4,13 +4,13 @@ import { RuntimeResolutionContext } from '../runtimeBindings';
|
|
|
4
4
|
import { CoarScriptEditorExtraLib } from '@cocoar/vue-script-editor';
|
|
5
5
|
import { PageCodeRuntimeValues } from '../pageCode';
|
|
6
6
|
import { UsePageBuilderReturn } from './usePageBuilder';
|
|
7
|
-
import {
|
|
7
|
+
import { UseAuthoringFindingsReturn } from './useAuthoringFindings';
|
|
8
8
|
import { UsePageCompositionsReturn } from './usePageCompositions';
|
|
9
9
|
export declare const BUILDER_API: InjectionKey<UsePageBuilderReturn>;
|
|
10
10
|
/** Builder-side config (the same `PageConfig` is also passed to the renderer). */
|
|
11
11
|
export declare const BUILDER_CONFIG: InjectionKey<ComputedRef<PageConfig | undefined>>;
|
|
12
12
|
/** Reactive validation issues for the current schema, keyed by node id. */
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const BUILDER_FINDINGS: InjectionKey<UseAuthoringFindingsReturn>;
|
|
14
14
|
/** Breakpoint currently being authored in the canvas and universal style panel. */
|
|
15
15
|
export declare const BUILDER_BREAKPOINT: InjectionKey<Ref<PageBreakpoint>>;
|
|
16
16
|
/** Safe runtime sample used by canvas and outline labels during authoring. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builderContext.d.ts","sourceRoot":"","sources":["../../src/builder/builderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"builderContext.d.ts","sourceRoot":"","sources":["../../src/builder/builderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC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AE,iBAAiB,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9F,+DAA+D;IAC/D,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACtD,oEAAoE;IACpE,YAAY,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,4DAA4D;IAC5D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,mFAAmF;IACnF,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,qFAAqF;AACrF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,mBAAmB,CAA8B,CAAC;AAE3F,qDAAqD;AACrD,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,yBAAyB,CAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageCodeAuthoring.d.ts","sourceRoot":"","sources":["../../src/builder/pageCodeAuthoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAgB,MAAM,WAAW,CAAA;AA2EhF,sEAAsE;AACtE,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,QAAQ,EAChB,MAAM,CAAC,EAAE,UAAU,GAClB,wBAAwB,EAAE,CAwC5B;AASD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAElE;
|
|
1
|
+
{"version":3,"file":"pageCodeAuthoring.d.ts","sourceRoot":"","sources":["../../src/builder/pageCodeAuthoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAgB,MAAM,WAAW,CAAA;AA2EhF,sEAAsE;AACtE,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,QAAQ,EAChB,MAAM,CAAC,EAAE,UAAU,GAClB,wBAAwB,EAAE,CAwC5B;AASD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAElE;AA6CD,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,wBAAwB,EAAE,CAQpF;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,QAAQ,EAChB,IAAI,EAAE,WAAW,EACjB,MAAM,CAAC,EAAE,UAAU,GAClB,wBAAwB,EAAE,CAQ5B;AA6BD,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,QAAQ,EAChB,MAAM,CAAC,EAAE,UAAU,GAClB,wBAAwB,EAAE,CAQ5B;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,MAAM,CAShF;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAO9D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PagePreviewViewport } from '../../schema';
|
|
2
|
+
/**
|
|
3
|
+
* Size picker shared by the editor and the preview. The selection is one piece
|
|
4
|
+
* of state for both views: they show the same document, so a width that applied
|
|
5
|
+
* to only one of them would be a trap.
|
|
6
|
+
*
|
|
7
|
+
* Entries are authoring-only. A host may replace them, but the style cascade
|
|
8
|
+
* still resolves against the fixed breakpoints, derived from the chosen width —
|
|
9
|
+
* so a custom size never makes a document depend on host configuration to stay
|
|
10
|
+
* readable.
|
|
11
|
+
*/
|
|
12
|
+
type __VLS_Props = {
|
|
13
|
+
value: string;
|
|
14
|
+
/** Host-provided sizes; falls back to the built-ins when unset. */
|
|
15
|
+
viewports?: readonly PagePreviewViewport[];
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
select: (id: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=BuilderViewportControl.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuilderViewportControl.vue.d.ts","sourceRoot":"","sources":["../../../src/builder/props/BuilderViewportControl.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxD;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,SAAS,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;CAC5C,CAAC;;;;;;AAuFF,wBAQG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zoom stepper shared by the editor canvas and the preview so the control sits
|
|
3
|
+
* in the same place in both. It lives in a toolbar rather than floating over
|
|
4
|
+
* the surface: an overlay would cover whatever the page renders underneath it.
|
|
5
|
+
*
|
|
6
|
+
* The percentage is editable — the steps are a convenience, not the range, so
|
|
7
|
+
* any value between min and max can be typed.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
zoom: number;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
set: (zoom: number) => any;
|
|
16
|
+
reset: () => any;
|
|
17
|
+
step: (direction: 1 | -1) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onSet?: ((zoom: number) => any) | undefined;
|
|
20
|
+
onReset?: (() => any) | undefined;
|
|
21
|
+
onStep?: ((direction: 1 | -1) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=BuilderZoomControl.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuilderZoomControl.vue.d.ts","sourceRoot":"","sources":["../../../src/builder/props/BuilderZoomControl.vue"],"names":[],"mappings":"AAkLA;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;;;;;;;;;;AA0K9D,wBAQG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PageElementQuickCompound } from '../../elements/registry';
|
|
2
|
+
/**
|
|
3
|
+
* Several related lengths on one row: the value people actually reach for stays
|
|
4
|
+
* directly editable, the rarer ones fold out underneath. Backed either by one
|
|
5
|
+
* property per part (height + min/max) or by a single CSS shorthand split into
|
|
6
|
+
* sides (padding).
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
compound: PageElementQuickCompound;
|
|
10
|
+
readPath: (path: string) => string;
|
|
11
|
+
readShorthand: () => string;
|
|
12
|
+
writePath: (path: string, value: string) => void;
|
|
13
|
+
writeShorthand: (value: string | undefined) => void;
|
|
14
|
+
/** True when the document already carries an assignment for this compound. */
|
|
15
|
+
assigned: boolean;
|
|
16
|
+
onReset: () => void;
|
|
17
|
+
};
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=CompoundLengthProperty.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompoundLengthProperty.vue.d.ts","sourceRoot":"","sources":["../../../src/builder/props/CompoundLengthProperty.vue"],"names":[],"mappings":"AAuQA,OAAO,KAAK,EAAE,wBAAwB,EAAgC,MAAM,yBAAyB,CAAC;AAGtG;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,wBAAwB,CAAC;IACnC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,aAAa,EAAE,MAAM,MAAM,CAAC;IAC5B,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACpD,8EAA8E;IAC9E,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;;AAyQF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyleProps.vue.d.ts","sourceRoot":"","sources":["../../../src/builder/props/StyleProps.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StyleProps.vue.d.ts","sourceRoot":"","sources":["../../../src/builder/props/StyleProps.vue"],"names":[],"mappings":"AAyVA,OAAO,KAAK,EAA+B,QAAQ,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKrF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IAC/C,oGAAoG;IACpG,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;;AA8tCF,wBAMG"}
|
|
@@ -15,4 +15,11 @@ export declare function healMissingPropsBags(node: unknown): unknown;
|
|
|
15
15
|
* `migrateV1PropsBag`. Identity-preserving and idempotent.
|
|
16
16
|
*/
|
|
17
17
|
export declare function migrateLegacyPasswordInput(node: unknown): unknown;
|
|
18
|
+
/**
|
|
19
|
+
* `repeat.props.contextPath` said "a context path" while `binding.source` said "a
|
|
20
|
+
* kind of source" — one word, two grammars. The path is now `contextPath`,
|
|
21
|
+
* next to the `keyPath` it belongs with. Renamed on ingest under the v6
|
|
22
|
+
* migration, identity-preserving and idempotent.
|
|
23
|
+
*/
|
|
24
|
+
export declare function migrateRepeatContextPath(node: unknown): unknown;
|
|
18
25
|
//# sourceMappingURL=schemaMigrateV1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaMigrateV1.d.ts","sourceRoot":"","sources":["../../src/builder/schemaMigrateV1.ts"],"names":[],"mappings":"AAsDA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAiCxD;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAiB3D;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAyBjE"}
|
|
1
|
+
{"version":3,"file":"schemaMigrateV1.d.ts","sourceRoot":"","sources":["../../src/builder/schemaMigrateV1.ts"],"names":[],"mappings":"AAsDA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAiCxD;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAiB3D;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAyBjE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CA0B/D"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { PageConfig, PageNode } from '../schema';
|
|
3
|
-
export type
|
|
4
|
-
export interface
|
|
3
|
+
export type FindingSeverity = 'warning' | 'error';
|
|
4
|
+
export interface AuthoringFinding {
|
|
5
5
|
/** Stable ID of the node the issue belongs to. */
|
|
6
6
|
nodeId: string;
|
|
7
7
|
/** Which property of the node is the problem (used to surface the issue near a specific field). */
|
|
8
8
|
field?: string;
|
|
9
9
|
/** Human-readable explanation. */
|
|
10
10
|
message: string;
|
|
11
|
-
severity:
|
|
11
|
+
severity: FindingSeverity;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Walk the schema reactively and surface common authoring mistakes — buttons
|
|
@@ -20,9 +20,9 @@ export interface ValidationIssue {
|
|
|
20
20
|
* security boundary) are enforced separately. Validation is purely a UX
|
|
21
21
|
* scaffold for the builder.
|
|
22
22
|
*/
|
|
23
|
-
export declare function
|
|
24
|
-
|
|
25
|
-
byNodeId: import('vue').ComputedRef<Map<string,
|
|
23
|
+
export declare function useAuthoringFindings(schema: Ref<PageNode>, config: Ref<PageConfig | undefined>): {
|
|
24
|
+
findings: import('vue').ComputedRef<AuthoringFinding[]>;
|
|
25
|
+
byNodeId: import('vue').ComputedRef<Map<string, AuthoringFinding[]>>;
|
|
26
26
|
};
|
|
27
|
-
export type
|
|
28
|
-
//# sourceMappingURL=
|
|
27
|
+
export type UseAuthoringFindingsReturn = ReturnType<typeof useAuthoringFindings>;
|
|
28
|
+
//# sourceMappingURL=useAuthoringFindings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthoringFindings.d.ts","sourceRoot":"","sources":["../../src/builder/useAuthoringFindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAEzC,OAAO,KAAK,EAAwC,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAS5F,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAElD,MAAM,WAAW,gBAAgB;IAC/B,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,mGAAmG;IACnG,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,eAAe,CAAA;CAC1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,GAAG,CAAC,QAAQ,CAAC,EACrB,MAAM,EAAE,GAAG,CAAC,UAAU,GAAG,SAAS,CAAC;;;EAwdpC;AASD,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Canvas zoom for the builder.
|
|
4
|
+
*
|
|
5
|
+
* Scaling with `transform`, not the `zoom` property: `zoom` relayouts, so the
|
|
6
|
+
* authored page would resolve its responsive rules against a different width
|
|
7
|
+
* than the real viewport — an editor must not silently change the layout it is
|
|
8
|
+
* showing. The cost is that a transform never affects the layout box, so the
|
|
9
|
+
* scrollable area has to be re-derived from the content size.
|
|
10
|
+
*
|
|
11
|
+
* The content's own width is pinned to the viewport width it would have at
|
|
12
|
+
* 100%. Without that pin the content would fill the scaled frame, whose size is
|
|
13
|
+
* computed from the content — a feedback loop that collapses the canvas to a
|
|
14
|
+
* couple of pixels.
|
|
15
|
+
*
|
|
16
|
+
* Pointer hit-testing needs no changes: the DnD engine works in client
|
|
17
|
+
* coordinates throughout and `getBoundingClientRect()` already reports the
|
|
18
|
+
* transformed rect.
|
|
19
|
+
*/
|
|
20
|
+
export declare const CANVAS_ZOOM_STEPS: readonly [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2];
|
|
21
|
+
export interface CanvasZoomOptions {
|
|
22
|
+
/**
|
|
23
|
+
* Pin the content to the viewport's width. Required whenever the content has
|
|
24
|
+
* no intrinsic width — the editor canvas always, and the preview while its
|
|
25
|
+
* frame is fluid (`width: 100%`). Without the pin, measuring a
|
|
26
|
+
* percentage-width child to size its own parent feeds back and collapses it.
|
|
27
|
+
* A frame with a simulated device width must NOT be pinned; it keeps its own.
|
|
28
|
+
*/
|
|
29
|
+
pinToViewportWidth?: boolean | Ref<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Overrides the pinned width, e.g. once the editor simulates a device width.
|
|
32
|
+
* Ignored unless `pinToViewportWidth` is set.
|
|
33
|
+
*/
|
|
34
|
+
pinnedWidth?: Ref<number | null | undefined>;
|
|
35
|
+
}
|
|
36
|
+
export declare function useCanvasZoom(viewportRef: Ref<HTMLElement | null>, contentRef: Ref<HTMLElement | null>, options?: CanvasZoomOptions): {
|
|
37
|
+
zoom: Ref<number, number>;
|
|
38
|
+
setZoom: (value: number) => void;
|
|
39
|
+
step: (direction: 1 | -1) => void;
|
|
40
|
+
reset: () => void;
|
|
41
|
+
contentStyle: import('vue').ComputedRef<Record<string, string>>;
|
|
42
|
+
frameStyle: import('vue').ComputedRef<{
|
|
43
|
+
width?: undefined;
|
|
44
|
+
height?: undefined;
|
|
45
|
+
} | {
|
|
46
|
+
width: string;
|
|
47
|
+
height: string;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=useCanvasZoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCanvasZoom.d.ts","sourceRoot":"","sources":["../../src/builder/useCanvasZoom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAEtE;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,iBAAiB,6CAA8C,CAAC;AAM7E,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC;IAC5C;;;OAGG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED,wBAAgB,aAAa,CAC3B,WAAW,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EACpC,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EACnC,OAAO,GAAE,iBAAsB;;qBAkFP,MAAM;sBASL,CAAC,GAAG,CAAC,CAAC;;;;;;;;;;EAehC"}
|
|
@@ -39,8 +39,6 @@ export declare function usePageBuilder(options?: UsePageBuilderOptions): {
|
|
|
39
39
|
convertTo: (path: NodePath, toType: string) => void;
|
|
40
40
|
remove: (path: NodePath) => void;
|
|
41
41
|
duplicate: (path: NodePath) => void;
|
|
42
|
-
isRequired: (path: NodePath) => boolean;
|
|
43
|
-
isPositionLocked: (path: NodePath) => boolean;
|
|
44
42
|
move: (path: NodePath, delta: -1 | 1) => void;
|
|
45
43
|
moveTo: (fromPath: NodePath, toParentPath: NodePath, toIndex: number) => void;
|
|
46
44
|
patch: (path: NodePath, update: Partial<PageNode>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePageBuilder.d.ts","sourceRoot":"","sources":["../../src/builder/usePageBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,WAAW,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAWL,KAAK,QAAQ,EACd,MAAM,cAAc,CAAC;AAEtB,iFAAiF;AACjF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,M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,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;CAC9C;AAID,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B;;;;;;;mBA8E1C,QAAQ,GAAG,IAAI;uBACX,QAAQ;2BAiCJ,QAAQ,QAAQ,MAAM,YAAY,MAAM,SAAS,YAAY;6BAe3D,QAAQ,QAAQ,QAAQ,YAAY,MAAM;sBAiBjD,QAAQ,QAAQ,QAAQ;sBA2DxB,QAAQ,UAAU,MAAM;mBAjD3B,QAAQ;sBA+FL,QAAQ;iBA5Eb,QAAQ,SAAS,CAAC,CAAC,GAAG,CAAC;uBAWjB,QAAQ,gBAAgB,QAAQ,WAAW,MAAM;kBAmFtD,QAAQ,UAAU,OAAO,CAAC,QAAQ,CAAC;0BAQ3B,QAAQ;;;EA8BtC;AAED,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/builder/builderContext.ts
|
|
2
2
|
var e = Symbol("PageBuilderApi"), t = Symbol("PageBuilderConfig"), n = Symbol("PageBuilderValidation"), r = Symbol("PageBuilderBreakpoint"), i = Symbol("PageBuilderRuntime"), a = Symbol("PageBuilderAuthoringMode"), o = Symbol("PageBuilderPageCodeLibs"), s = Symbol("PageBuilderPageCodeValues"), c = Symbol("PageBuilderLocale"), l = Symbol("PageBuilderLogic"), u = Symbol("PageBuilderCompositions");
|
|
3
3
|
//#endregion
|
|
4
|
-
export { t as a,
|
|
4
|
+
export { t as a, l as c, i as d, u as i, o as l, a as n, n as o, r, c as s, e as t, s as u };
|
package/dist/conditions.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export interface ConditionSources {
|
|
|
3
3
|
field: (path: string) => unknown;
|
|
4
4
|
context: (path: string) => unknown;
|
|
5
5
|
item?: (path: string) => unknown;
|
|
6
|
-
state: () => unknown;
|
|
7
6
|
}
|
|
8
7
|
export declare function evaluateCondition(condition: VisibleWhen, sources: ConditionSources, depth?: number): boolean;
|
|
9
8
|
//# sourceMappingURL=conditions.d.ts.map
|
package/dist/conditions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../src/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAkB3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IAChC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IAClC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../src/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAkB3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IAChC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IAClC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;CACjC;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,KAAK,SAAI,GAAG,OAAO,CAiCvG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentValidation.d.ts","sourceRoot":"","sources":["../src/documentValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,UAAU,EAAE,QAAQ,EAAyD,MAAM,UAAU,CAAA;AAMrI,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,iBAAiB,EAAE,CAAA;CAC5B;AAmBD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,4BAA4B,
|
|
1
|
+
{"version":3,"file":"documentValidation.d.ts","sourceRoot":"","sources":["../src/documentValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,UAAU,EAAE,QAAQ,EAAyD,MAAM,UAAU,CAAA;AAMrI,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,iBAAiB,EAAE,CAAA;CAC5B;AAmBD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,4BAA4B,CA+IxG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/card/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/card/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;EAetB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/image/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/image/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;EAavB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previewUtils.d.ts","sourceRoot":"","sources":["../../src/elements/previewUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"previewUtils.d.ts","sourceRoot":"","sources":["../../src/elements/previewUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,CAI9D"}
|