@skylivellc/lienzo-editor 0.12.0 → 0.13.1
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/{LienzoEditor-CkWN6mXO.js → LienzoEditor-FsC3_033.js} +1162 -914
- package/dist/LienzoEditor-FsC3_033.js.map +1 -0
- package/dist/element.js +1 -1
- package/dist/index.js +1 -1
- package/dist/standalone/lienzo-editor.js +29 -16
- package/dist/standalone/lienzo-editor.js.map +1 -1
- package/dist/types/i18n/en.d.ts +9 -0
- package/dist/types/model/document.d.ts +1 -1
- package/dist/types/model/elements.d.ts +22 -0
- package/dist/types/panels/content/BoxContent.vue.d.ts +8 -0
- package/dist/types/state/editor.d.ts +2200 -1
- package/package.json +2 -2
- package/dist/LienzoEditor-CkWN6mXO.js.map +0 -1
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -91,6 +91,15 @@ export declare const en: {
|
|
|
91
91
|
'type.video': string;
|
|
92
92
|
'type.shape': string;
|
|
93
93
|
'type.icon': string;
|
|
94
|
+
'type.box': string;
|
|
95
|
+
'el.boxFlow': string;
|
|
96
|
+
'el.boxFlow.column': string;
|
|
97
|
+
'el.boxFlow.row': string;
|
|
98
|
+
'el.boxEmpty': string;
|
|
99
|
+
'el.boxHolds': string;
|
|
100
|
+
'el.group': string;
|
|
101
|
+
'el.groupHint': string;
|
|
102
|
+
'el.ungroup': string;
|
|
94
103
|
'type.gallery': string;
|
|
95
104
|
'type.slider': string;
|
|
96
105
|
'el.galleryItem': string;
|
|
@@ -5,7 +5,7 @@ export type Device = 'desktop' | 'mobile';
|
|
|
5
5
|
export declare const MOBILE_WIDTH = 390;
|
|
6
6
|
/** A section or a modal: both are free-layout canvases of elements. */
|
|
7
7
|
export type Canvas = Section | Modal;
|
|
8
|
-
export declare const CORE_TYPES: readonly ["heading", "text", "image", "button", "divider", "video", "shape", "icon", "navbar", "gallery", "slider", "input", "textarea", "select", "checkbox"];
|
|
8
|
+
export declare const CORE_TYPES: readonly ["heading", "text", "image", "button", "divider", "video", "shape", "icon", "navbar", "gallery", "slider", "box", "input", "textarea", "select", "checkbox"];
|
|
9
9
|
export declare const isCoreType: (type: string) => type is CoreElementType;
|
|
10
10
|
export declare const isModal: (canvas: Canvas) => canvas is Modal;
|
|
11
11
|
export declare function canvasesOf(document: Document): Canvas[];
|
|
@@ -260,6 +260,28 @@ export declare const coreSpecs: {
|
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
262
|
};
|
|
263
|
+
box: {
|
|
264
|
+
label: "type.box";
|
|
265
|
+
group: "content";
|
|
266
|
+
styles: readonly StyleGroup[];
|
|
267
|
+
inline: null;
|
|
268
|
+
create: () => {
|
|
269
|
+
box: {
|
|
270
|
+
x: number;
|
|
271
|
+
w: number;
|
|
272
|
+
h: number;
|
|
273
|
+
};
|
|
274
|
+
props: {
|
|
275
|
+
flow: "column";
|
|
276
|
+
flow_gap: number;
|
|
277
|
+
flow_align: "start";
|
|
278
|
+
};
|
|
279
|
+
style: {
|
|
280
|
+
padding: number;
|
|
281
|
+
radius: number;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
263
285
|
input: {
|
|
264
286
|
label: "type.input";
|
|
265
287
|
group: "form";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CoreElement } from '@skylivellc/lienzo-core';
|
|
2
|
+
/** A box says how it lays out what it holds; the elements inside have no places of their own. */
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
element: CoreElement;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|