@joryio/web-sdk 1.4.0-beta.6 → 1.4.0-beta.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/CHANGELOG.md +10 -0
- package/dist/core/config.d.ts +1 -1
- package/dist/core/editor-gate.d.ts +2 -0
- package/dist/core/editor-gate.d.ts.map +1 -1
- package/dist/core/page-edits.d.ts +13 -0
- package/dist/core/page-edits.d.ts.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/editor/editor-model.d.ts +16 -8
- package/dist/editor/editor-model.d.ts.map +1 -1
- package/dist/editor/editor-strings.d.ts +22 -1
- package/dist/editor/editor-strings.d.ts.map +1 -1
- package/dist/editor/editor-ui.d.ts +6 -2
- package/dist/editor/editor-ui.d.ts.map +1 -1
- package/dist/editor/liquid-field.d.ts +23 -0
- package/dist/editor/liquid-field.d.ts.map +1 -0
- package/dist/editor/visual-editor.d.ts +31 -2
- package/dist/editor/visual-editor.d.ts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/joryio-cards-ui.min.js +1 -1
- package/dist/joryio-editor.min.js +2 -2
- package/dist/joryio-editor.min.js.map +1 -1
- package/dist/joryio-sw.js +1 -1
- package/dist/joryio.cjs.js +68 -8
- package/dist/joryio.min.js +2 -2
- package/dist/joryio.min.js.map +1 -1
- package/dist/joryio.mjs +68 -8
- package/dist/joryio.umd.js +68 -8
- package/package.json +1 -1
- package/src/core/config.ts +1 -1
- package/src/core/editor-gate.ts +21 -0
- package/src/core/page-edits.ts +70 -3
- package/src/core/sdk.ts +4 -1
- package/src/editor/editor-model.ts +89 -38
- package/src/editor/editor-strings.ts +22 -1
- package/src/editor/editor-ui.ts +47 -5
- package/src/editor/liquid-field.ts +316 -0
- package/src/editor/visual-editor.ts +616 -124
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## 1.4.0 - 2026-11-18
|
|
4
4
|
|
|
5
|
+
Fixed (1.4.0-beta.8): a click on a variable's placeholder pill in the page preview removed the variable from the edit ("היי [First Name]" became "היי"). The page click re-selected the element and rebuilt the draft from the page, whose text never contains the pill (its name lives in the pill's own shadow root). Now a click on the element whose edit is open keeps the draft as typed, a click on a page pill opens that element's edit with the pill's "If <field> is missing" popover in the panel, and text read from the page always leaves the editor's previews out. Fixed: the "More…" field picker and a pill's fallback popover now close on a press anywhere outside them in the editor (the More button and the pills excepted), when the focus leaves them, and on a click on the page - which then only closes them and selects nothing. Fixed: the picker's list opens at its top and scrolls only itself to show the highlighted field whole, with its group heading for a group's first field (it used `scrollIntoView`, which could leave the first row half under the search box). Fixed: fields sent in the older `{ name, custom? }` shape after catalog entries showed under the catalog's last heading (`phone` under "Custom fields"); they now have their own, "Profile" or "Custom fields" (new editor words `groupProfile`, `groupCustom`). Fixed: "More…" and the fallback's "Done" are in the UI font, not the code font of the field chips (letter-spaced in Hebrew). The pill report reproduced on beta.7 only for an edit with unsaved changes: a draft typed in the editor and not saved yet (re-selecting the element replaced the text with the page's own), and a dashboard edit changed in the panel (the changes were reset); a saved or dashboard edit clicked once or twice, on the pill or the heading, kept its Liquid.
|
|
6
|
+
|
|
7
|
+
Added (1.4.0-beta.8): page edits per device, and a Desktop / Mobile toggle in the on-site editor. An edit may carry `device: 'mobile' | 'desktop'` (absent or `'all'` = every device, so every existing edit is unchanged). Mobile is a viewport narrower than 768 CSS pixels - new exports `PAGE_EDIT_MOBILE_BREAKPOINT` (768), `PAGE_EDIT_MOBILE_QUERY` (`(max-width: 767.98px)`), `PAGE_EDIT_DEVICES`, `isMobileViewport()`, `editShowsOn()`; the backend, the dashboard and the editor use the same number. The SDK applies an edit only on its device and, when the viewport crosses the breakpoint (a resized window, a turned phone), undoes every edit and applies the ones for the new width again, so a desktop and a mobile version of one element never fight; the exposure is still reported once, when an edit of the visitor's variant first lands. An edit with a device this build does not know is skipped, never applied everywhere. The page-edits request sends the new capability `page_edit_device` (`PAGE_EDIT_DEVICE_CAPABILITY`): Joryio sends per-device edits only to an SDK that sends it, so 1.4.0-beta.7 and earlier get the edits for all devices only and never apply a mobile version on a desktop. Server-applied edits (store plugins) never include a per-device edit - the server does not know the viewport - so those are always applied here. The editor (`joryio-editor.min.js`): a Desktop / Mobile toggle in the dock; Mobile shows the page at phone width (390 px) in a same-origin frame of the current address with `?joryio_editor=frame`, and the editor works on the frame's document (hover, selection, the live preview, selectors) while its own UI stays in the tab. The core SDK in that frame is inert (`editorFrame()`: no page view, no message, no page edit - a preview, not a visit). The site's scripts run in the frame, so its responsive layout and its single-page routing are the real ones; a site that refuses to be framed (`X-Frame-Options: DENY`, CSP `frame-ancestors 'none'`) shows a note instead (make the window narrower than 768 px), and the frame is a fresh load of the address (no state of the tab, no touch events). The side panel has "Applies to: All devices / Mobile only / Desktop only" on every edit (default All devices; in the Mobile view it comes first), the edit list shows "Mobile only" / "Desktop only" badges, and the live preview shows only the edits of the current view; a jump to an edit of the other device switches the view. `joryio:editor-pick` always carries `device` (`'all'` included), so a dashboard can tell a beta.8 pick from an older editor's pick without it; `joryio:editor-context` edits may carry `device`. New editor words `view`, `viewDesktop`, `viewMobile`, `appliesTo`, `devAll`, `devMobile`, `devDesktop`, `deviceHidden`, `frameBlocked`. `joryio.min.js` 70487 bytes gzip (budget raised from 70500 to 71000); `joryio-editor.min.js` 19184 gzip with the fixes below (budget raised from 17000 to 19500, loaded only in a tab the dashboard opened for the editor). Web only: iOS, Android, React Native and Unity are not applicable - page edits and the editor change a web page's DOM, and the other SDKs have neither.
|
|
8
|
+
|
|
9
|
+
Changed (1.4.0-beta.7): a fallback per variable in the editor's "New text" field. A click on a pill (or Enter / Space on it) opens a small popover, "If <field> is missing" with one input, that writes `| default: "..."` on that variable only; a pill with a fallback shows it after its name ("firstName · friend"). The single "If a value is missing" field, which wrote one fallback onto every variable of the text, is gone; an existing edit loads with each variable's own default on its pill (text saved with the old field has it on its variables, now shown per pill), untouched variables keep their Liquid byte for byte. The fallback is plain text: Liquid in it (`{{`, `{%`) is refused with a short note. Quoting: `"..."`, `'...'` when the text has a `"`, and with both kinds each `'` becomes the typographic apostrophe (Liquid has no escape inside a string), so nothing typed is dropped. Esc, Enter or Done closes the popover (Esc does not close the panel); it sits in the panel's flow, so it follows a right-to-left panel. The live preview resolves each variable on its own: its sample value, else its own fallback, else the placeholder pill. New editor words `fallbackFor` ("If {name} is missing"), `fallbackBad`, `fallbackDone`; `fallback` is no longer used (a dashboard may keep sending it).
|
|
10
|
+
|
|
11
|
+
Changed (1.4.0-beta.7): "Create content for this slot →" in the editor's Add content slot. A saved slot edit - right after Save, and when an existing slot edit is opened - shows what fills that slot: no campaign, a "Create content for this slot →" button; campaigns, "In this slot: <name> (status)" (each clickable) and "+ Add another campaign". The editor never calls the Joryio API: `joryio:editor-context` `placements` entries may carry `campaigns: [{ id, name, status, statusLabel? }]`, and a dashboard that handles the shortcut sets `openSlot: true`; a click posts `joryio:editor-open-slot { placementKey, campaignId? }` to the dashboard (origin- and window-checked like every message) and focuses the dashboard tab, which opens the campaign or a new Placement campaign for that slot. Without `openSlot` (a dashboard before this) a slot saves and closes the panel as before and no shortcut shows; 1.4.0-beta.6 ignores both new context fields. New editor words `slotCreate`, `slotIn`, `slotAddAnother`. `joryio-editor.min.js` 16992 bytes gzip (budget 17000). Web only: iOS, Android, React Native and Unity are not applicable - the editor edits a web page in a browser tab, and the other SDKs have no editor.
|
|
12
|
+
|
|
13
|
+
Changed (1.4.0-beta.7): the on-site Web personalization editor (`joryio-editor.min.js`) shows variables as placeholder pills. In the live preview on the page, a variable with no sample value from the dashboard and no fallback (`| default:`) is a small rounded pill with the field name (`firstName`) in the editor's teal, instead of the text `[firstName]`, so it cannot be mistaken for page text: an inline custom element with its own shadow root (the site's CSS cannot restyle it, the site's `:nth-of-type` selectors do not move), on the element's own line height, its own bidi island in a right-to-left page; a click on it selects the element it is in and never reaches the site. With a sample value the page shows the value, with only a fallback the fallback, as before. The side panel's "New text" field shows the same pills in the text: an Insert chip puts a pill at the caret; a pill is one token (Backspace / Delete remove all of it, the arrow keys step over it, copy puts its Liquid on the clipboard, paste is plain text and its Liquid becomes pills). The stored value is the same Liquid as before (`{{ user.firstName }}`, `| default:` from "If a value is missing"). The Insert row takes the dashboard's full personalization catalog: `attributes` in `joryio:editor-context` may be `{ key, label, group }` (`key` the Liquid path, inserted as is) as well as the older `{ name, custom? }`; the common fields (first name, last name, email, city when present, else the first ones) are chips with their labels, and "More…" opens a searchable picker grouped by `group` (↑ / ↓ and Enter in the search box, Esc closes it) that inserts the same Liquid a chip does, as a pill with the label. A new collapsible "Liquid code" section shows and edits the raw text; Liquid a pill cannot show (`{% if %}`, filters other than `default`) keeps the field as raw text with a short note, so nothing is lost. Fixed: selecting an element that already has an edit (a click, the arrow keys, the breadcrumb) opened a fresh draft with the page's original text while the page showed the edit ("Blog" in the field, "Blog 123" on the page), and its Save made a second edit; it now opens that edit - the latest one when the element has several, with a dot on the tiles of its other edits, which open them - with its value, its fallback and "Was:" the page's original text, and Save updates the same edit (an edit from the dashboard's context too). The page-edit rendering for visitors is unchanged: visitors never see pills. `joryio-editor.min.js` 16087 bytes gzip, budget raised from 14000 to 17000 (loaded only in a tab the dashboard opened for the editor). Web only: iOS, Android, React Native and Unity are not applicable - the editor edits a web page in a browser tab, and the other SDKs have no editor and no page-edit preview.
|
|
14
|
+
|
|
5
15
|
Changed (1.4.0-beta.6): the on-site Web personalization editor (`joryio-editor.min.js`) is redesigned (Joryio BACKLOG D444, design handoff screens 1-3). All of its UI is in one closed shadow root on an `all: initial` host, so the site's CSS cannot restyle it and its CSS cannot reach the site; the previews it puts in the page are custom elements with their own shadow roots (never a `div`, so the site's `:nth-of-type` selectors do not move). Hover shows a dashed outline with a label ("Heading · h1"); a click selects (it never reaches the site); arrow up / down, two buttons and a breadcrumb ("Page › Main › Heading") move to the element around it or the first one inside it. A light side panel names the element and how many elements its selector matches (1 match / "Matches N - all will change" / Not found) and offers Change text, Change link (off with "Not a link"), Change image (images only, `replace_image`), Hide it and Add content slot (`insert_placement`, Above it / Below it / Instead of it = position `replace` / inside at the start or end), each with its own field: the new text with "Was:", Insert chips for profile fields (`{{ user.firstName }}`, the dashboard's format) and "If a value is missing" (the `| default:`); the address; the slot name, turned into a placement key as typed ("after blog" -> `after_blog`, never refused). A collapsible CSS selector field for developers. Every edit shows live on the page while editing, with the dashboard's sample values for the variables, else their fallbacks; text is set as text, addresses must be http(s), and the original nodes come back on cancel, undo and stop. A dock shows campaign, variant and page, "N edits" (a click jumps to that edit), Undo and "Save & return to Joryio" (Esc still finishes). New messages with the dashboard, all origin- and window-checked: `joryio:editor-context` (dashboard -> editor: campaign and variant names, the variant's edits, profile fields, placements, sample values, translated words and `dir`), `joryio:editor-focus` `{ id }` (jump to an edit), `joryio:editor-remove` `{ id }` (Undo of a new edit) and `joryio:editor-done`; `joryio:editor-pick` now carries the edit's `id` (an id the dashboard has replaces that edit). A dashboard that sends no context works as before, with Undo off. The editor's words are English unless the dashboard sends its translations. `joryio-editor.min.js` 13127 bytes gzip, budget raised from 3500 to 14000 (loaded only in a tab the dashboard opened for the editor; no visitor downloads it). Web only: iOS, Android, React Native and Unity are not applicable - the editor edits a web page in a browser tab.
|
|
6
16
|
|
|
7
17
|
Fixed (1.4.0-beta.6): a beta reports its own version. The release build writes the beta (`1.4.0-beta.6`) into `SDK_VERSION` of the published copy, not only into `package.json`: the beta sends it in `X-Joryio-SDK-Version`, and its side files (`joryio-cards-ui.min.js`, `joryio-editor.min.js`) are loaded from `sdk.joryio.com/web/1.4.0-beta.6/`. Before, a beta said `1.4.0`, so an npm beta (bundled into the site, or loaded from a CDN that is not sdk.joryio.com) asked `web/1.4.0/` and `web/1/` - neither exists for a beta - and the card feed showed `unavailable`. A pre-release never falls back to the major channel `web/<major>/` (it holds finals only); a final keeps it as the last resort. The source keeps saying `1.4.0`. The same fix on iOS, Android, React Native and Unity.
|
package/dist/core/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.4.0-beta.
|
|
1
|
+
export declare const SDK_VERSION = "1.4.0-beta.8";
|
|
2
2
|
export declare const SDK_PLATFORM_HEADER = "X-Joryio-SDK";
|
|
3
3
|
export declare const SDK_VERSION_HEADER = "X-Joryio-SDK-Version";
|
|
4
4
|
export declare const SDK_PLATFORM = "web";
|
|
@@ -24,6 +24,8 @@ export interface EditorBundleApi {
|
|
|
24
24
|
}
|
|
25
25
|
export declare function editorBundleUrls(override?: string): string[];
|
|
26
26
|
export declare function editorRequested(): boolean;
|
|
27
|
+
export declare const EDITOR_FRAME_FLAG = "frame";
|
|
28
|
+
export declare function editorFrame(): boolean;
|
|
27
29
|
export declare class EditorGate {
|
|
28
30
|
private apiEndpoint;
|
|
29
31
|
private sdkKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-gate.d.ts","sourceRoot":"","sources":["../../src/core/editor-gate.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAI9C,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AACjD,eAAO,MAAM,eAAe;;;;;;;CAOlB,CAAC;AAGX,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,GAAG,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG;QAAE,IAAI,IAAI,IAAI,CAAA;KAAE,CAAC;CAC/G;AAOD,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAE5D;AAGD,wBAAgB,eAAe,IAAI,OAAO,CAM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D,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAE5D;AAGD,wBAAgB,eAAe,IAAI,OAAO,CAMzC;AAGD,eAAO,MAAM,iBAAiB,UAAU,CAAC;AASzC,wBAAgB,WAAW,IAAI,OAAO,CASrC;AAMD,qBAAa,UAAU;IAQnB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IAVjB,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,eAAe,CAAuB;IAC9C,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAAiC;IAChD,OAAO,CAAC,GAAG,CAA6B;gBAG9B,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAAO;IAIrF,KAAK,IAAI,IAAI;IAcb,QAAQ,IAAI,OAAO;IAInB,IAAI,IAAI,IAAI;YAUE,SAAS;YA8BT,YAAY;CAkB3B"}
|
|
@@ -7,6 +7,15 @@ import { type PageContextTracker } from './page-context';
|
|
|
7
7
|
export declare const PAGE_EDIT_OPERATIONS: readonly ["replace_text", "replace_image", "replace_link", "hide", "insert_placement"];
|
|
8
8
|
export declare const PAGE_EDIT_POSITIONS: readonly ["before", "after", "prepend", "append", "replace"];
|
|
9
9
|
export declare const PAGE_EDITS_CAPABILITY = "page_edits";
|
|
10
|
+
export declare const PAGE_EDIT_DEVICES: readonly ["all", "mobile", "desktop"];
|
|
11
|
+
export declare const PAGE_EDIT_DEVICE_CAPABILITY = "page_edit_device";
|
|
12
|
+
export declare const PAGE_EDIT_MOBILE_BREAKPOINT = 768;
|
|
13
|
+
export declare const PAGE_EDIT_MOBILE_QUERY = "(max-width: 767.98px)";
|
|
14
|
+
export type PageEditDevice = (typeof PAGE_EDIT_DEVICES)[number];
|
|
15
|
+
export declare function isMobileViewport(win?: Window): boolean;
|
|
16
|
+
export declare const editShowsOn: (e: {
|
|
17
|
+
device?: string;
|
|
18
|
+
}, mobile: boolean) => boolean;
|
|
10
19
|
export declare const PAGE_EDIT_ANTI_FLICKER_MS = 300;
|
|
11
20
|
export declare const pageEditsStorageKeys: (sdkKey: string) => {
|
|
12
21
|
answers: string;
|
|
@@ -41,6 +50,7 @@ export interface PageEditWire {
|
|
|
41
50
|
value?: string;
|
|
42
51
|
placementKey?: string;
|
|
43
52
|
position?: PageEditPosition;
|
|
53
|
+
device?: 'mobile' | 'desktop';
|
|
44
54
|
personalized?: true;
|
|
45
55
|
}
|
|
46
56
|
export interface PageEditExperienceWire {
|
|
@@ -89,11 +99,14 @@ export declare class PageEditManager {
|
|
|
89
99
|
private server;
|
|
90
100
|
private serverUrl;
|
|
91
101
|
private generation;
|
|
102
|
+
private mobile;
|
|
103
|
+
private offMedia;
|
|
92
104
|
private started;
|
|
93
105
|
private destroyed;
|
|
94
106
|
constructor(apiEndpoint: string, sdkKey: string, identity: IdentityManager, session: SessionManager, logger: Logger, runtime: PageEditRuntime, auth?: InAppAuthProvider | undefined);
|
|
95
107
|
setPageContext(tracker: PageContextTracker | null): void;
|
|
96
108
|
start(): void;
|
|
109
|
+
private viewportChanged;
|
|
97
110
|
invalidate(opts?: {
|
|
98
111
|
siteSettings?: boolean;
|
|
99
112
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-edits.d.ts","sourceRoot":"","sources":["../../src/core/page-edits.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page-edits.d.ts","sourceRoot":"","sources":["../../src/core/page-edits.ts"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc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AAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI;IAMhC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAUnC,cAAc,CAAC,QAAQ,EAAE,oBAAoB,GAAG,kBAAkB;IAmBlE,aAAa,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,cAAc,GAAG,IAAI;IAa1F,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;IAMrD,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO;IAKxD,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAKxD,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAKxD,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;IAKzD,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKhC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAMnC,cAAc,CAAC,QAAQ,EAAE,oBAAoB,GAAG,kBAAkB;IAW5D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAyE9B,MAAM,CAAC,WAAW,IAAI,SAAS,GAAG,IAAI;CAGvC"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import type { EditorStringKey } from './editor-strings';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare
|
|
7
|
-
export declare
|
|
8
|
-
export declare
|
|
9
|
-
export
|
|
2
|
+
export declare const quoted: (fallback: string) => string;
|
|
3
|
+
export declare const isPlainFallback: (v: string) => boolean;
|
|
4
|
+
export declare function varFallback(src: string): string | null;
|
|
5
|
+
export declare function setVarFallback(src: string, fallback: string): string;
|
|
6
|
+
export declare const variableTag: (name: string, custom: boolean, fallback?: string | null) => string;
|
|
7
|
+
export declare const pathTag: (path: string, fallback?: string | null) => string;
|
|
8
|
+
export declare const VAR_PATH: RegExp;
|
|
9
|
+
export interface LiquidVar {
|
|
10
|
+
name: string;
|
|
11
|
+
path: string;
|
|
12
|
+
src: string;
|
|
13
|
+
}
|
|
14
|
+
export type LiquidPart = string | LiquidVar;
|
|
15
|
+
export declare function previewParts(value: string, sample: Record<string, string>): LiquidPart[];
|
|
16
|
+
export declare const previewText: (value: string, sample: Record<string, string>) => string;
|
|
17
|
+
export declare function liquidParts(value: string): LiquidPart[] | null;
|
|
10
18
|
export declare function slugify(name: string): string;
|
|
11
19
|
export declare const newEditId: () => string;
|
|
12
20
|
export declare function kindKey(tagOrSelector: string, isSelector?: boolean): EditorStringKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-model.d.ts","sourceRoot":"","sources":["../../src/editor/editor-model.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"editor-model.d.ts","sourceRoot":"","sources":["../../src/editor/editor-model.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAYxD,eAAO,MAAM,MAAM,GAAI,UAAU,MAAM,KAAG,MACuF,CAAC;AAGlI,eAAO,MAAM,eAAe,GAAI,GAAG,MAAM,KAAG,OAA6D,CAAC;AAG1G,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAItD;AAGD,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpE;AAGD,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,QAAQ,OAAO,EAAE,WAAW,MAAM,GAAG,IAAI,KAAG,MAA4E,CAAC;AAGnK,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,GAAG,IAAI,KAAG,MAAuF,CAAC;AAGzJ,eAAO,MAAM,QAAQ,QAAsE,CAAC;AAG5F,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AAW5C,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,EAAE,CAuBxF;AAGD,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MAAsG,CAAC;AAWnL,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,EAAE,GAAG,IAAI,CAe9D;AAGD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQ5C;AAGD,eAAO,MAAM,SAAS,QAAO,MAAsE,CAAC;AAGpG,wBAAgB,OAAO,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,UAAQ,GAAG,eAAe,CAoBlF"}
|
|
@@ -34,8 +34,17 @@ export declare const EDITOR_STRINGS: {
|
|
|
34
34
|
newText: string;
|
|
35
35
|
was: string;
|
|
36
36
|
insert: string;
|
|
37
|
-
|
|
37
|
+
fallbackFor: string;
|
|
38
38
|
fallbackHelp: string;
|
|
39
|
+
fallbackBad: string;
|
|
40
|
+
fallbackDone: string;
|
|
41
|
+
liquid: string;
|
|
42
|
+
more: string;
|
|
43
|
+
search: string;
|
|
44
|
+
noMatch: string;
|
|
45
|
+
groupProfile: string;
|
|
46
|
+
groupCustom: string;
|
|
47
|
+
rawNote: string;
|
|
39
48
|
newLink: string;
|
|
40
49
|
newImage: string;
|
|
41
50
|
urlBad: string;
|
|
@@ -45,6 +54,9 @@ export declare const EDITOR_STRINGS: {
|
|
|
45
54
|
savedAs: string;
|
|
46
55
|
slotHelp: string;
|
|
47
56
|
slotEmpty: string;
|
|
57
|
+
slotCreate: string;
|
|
58
|
+
slotIn: string;
|
|
59
|
+
slotAddAnother: string;
|
|
48
60
|
where: string;
|
|
49
61
|
posBefore: string;
|
|
50
62
|
posAfter: string;
|
|
@@ -52,6 +64,15 @@ export declare const EDITOR_STRINGS: {
|
|
|
52
64
|
posPrepend: string;
|
|
53
65
|
posAppend: string;
|
|
54
66
|
slotPreview: string;
|
|
67
|
+
view: string;
|
|
68
|
+
viewDesktop: string;
|
|
69
|
+
viewMobile: string;
|
|
70
|
+
appliesTo: string;
|
|
71
|
+
devAll: string;
|
|
72
|
+
devMobile: string;
|
|
73
|
+
devDesktop: string;
|
|
74
|
+
deviceHidden: string;
|
|
75
|
+
frameBlocked: string;
|
|
55
76
|
css: string;
|
|
56
77
|
cssHelp: string;
|
|
57
78
|
cssBad: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-strings.d.ts","sourceRoot":"","sources":["../../src/editor/editor-strings.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"editor-strings.d.ts","sourceRoot":"","sources":["../../src/editor/editor-strings.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8F1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,cAAc,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AAG5D,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CASzD;AAGD,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAM,GAAG,MAAM,CAErF"}
|
|
@@ -14,12 +14,16 @@ declare const ICONS: {
|
|
|
14
14
|
chevron: string[];
|
|
15
15
|
check: string[];
|
|
16
16
|
close: string[];
|
|
17
|
+
desktop: string[];
|
|
18
|
+
mobile: string[];
|
|
17
19
|
};
|
|
18
20
|
export type IconName = keyof typeof ICONS;
|
|
19
21
|
export declare function icon(name: IconName, size?: number): SVGSVGElement;
|
|
20
22
|
export declare const HOST_STYLE = "all:initial !important;position:fixed !important;top:0 !important;left:0 !important;width:0 !important;height:0 !important;z-index:2147483647 !important;display:block !important";
|
|
21
23
|
export declare const PREVIEW_HOST_STYLE = "all:initial !important;display:block !important;margin:10px 0 !important";
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
24
|
+
export declare const MOBILE_FRAME_WIDTH = 390;
|
|
25
|
+
export declare const PREVIEW_VAR_HOST_STYLE = "all:unset !important;display:inline !important;unicode-bidi:isolate !important";
|
|
26
|
+
export declare const PREVIEW_CSS = ".v{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;font-size:.8em;font-weight:600;line-height:1;padding:.12em .5em;border-radius:999px;background:rgba(0,169,154,.14);color:#0F766E;box-shadow:inset 0 0 0 1px rgba(0,169,154,.5);white-space:nowrap;unicode-bidi:isolate;font-style:normal;text-transform:none;letter-spacing:0}.s,.x{font:12.5px/1.4 Inter,system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;border-radius:10px;padding:14px 16px;text-align:center}.s{border:2px dashed #7A6CFF;background:#F4F2FF;color:#4C3FD1}.s b{font-weight:700}.s code{font-family:ui-monospace,\"SF Mono\",Menlo,monospace}.s div{font-size:11.5px;color:#6B5FD9;margin-top:3px}.x{border:1.5px dashed #F04438;background:#FEF3F2;color:#B42318;text-align:start;padding:10px 12px;font-size:12px}";
|
|
27
|
+
export declare const EDITOR_CSS = "\n*{box-sizing:border-box}\n.r{font:13px/1.4 Inter,system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;color:#242B3A;-webkit-font-smoothing:antialiased}\nbutton{font:inherit;color:inherit;cursor:pointer}\nbutton:disabled{cursor:not-allowed}\nbutton:focus-visible,input:focus-visible,textarea:focus-visible,.ce:focus{outline:2px solid #31D6C8;outline-offset:1px}\n.box{position:fixed;pointer-events:none;border:2px dashed #00A99A;background:rgba(0,169,154,.07);border-radius:4px;display:none}\n.box.sel{border-style:solid;background:rgba(0,169,154,.04)}\n.chip{position:absolute;bottom:100%;inset-inline-start:-2px;margin-bottom:2px;background:#00A99A;color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px 6px 6px 0;white-space:nowrap;max-width:60vw;overflow:hidden;text-overflow:ellipsis}\n.help{position:fixed;top:16px;inset-inline-end:16px;width:240px;background:#fff;border:1px solid #E5EAF2;border-radius:10px;box-shadow:0 8px 24px rgba(10,18,64,.14);padding:10px 12px}\n.help h3{margin:0 0 6px;font-size:11px;font-weight:700;color:#6B7280;letter-spacing:.5px;text-transform:uppercase}\n.help .row{display:flex;align-items:center;gap:8px;font-size:12px;padding:3px 0}\n.kbd{min-width:38px;text-align:center;font-size:11px;font-weight:600;border:1px solid #E5EAF2;border-radius:5px;padding:1px 5px;background:#F8FAFC}\n.help .x{position:absolute;top:6px;inset-inline-end:6px;border:0;background:none;color:#8990A8;padding:2px;display:grid}\n.dock{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:#071342;color:#fff;border-radius:14px;padding:7px 7px 7px 14px;box-shadow:0 12px 32px rgba(10,18,64,.35);white-space:nowrap;max-width:calc(100vw - 24px)}\n.r.open .dock{left:calc(50% - 190px)}\n.r.open[dir=rtl] .dock{left:calc(50% + 190px)}\n.logo{width:22px;height:22px;border-radius:6px;background:#fff;color:#071342;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}\n.name{font-size:12.5px;font-weight:600;margin-inline-start:4px;overflow:hidden;text-overflow:ellipsis;max-width:200px}\n.sub{font-size:12px;color:#A8AEC1;overflow:hidden;text-overflow:ellipsis;max-width:220px}\n.sep{width:1px;height:22px;background:#2A3366;margin:0 8px;flex:none}\n.hint{font-size:12px;color:#C9CEDD;display:inline-flex;align-items:center;gap:6px}\n.hint svg{color:#31D6C8}\n.db{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:8px;border:0;background:#1B245A;color:#fff;font-size:12.5px;font-weight:600}\n.ib{height:32px;width:32px;border-radius:8px;border:0;background:transparent;color:#fff;display:grid;place-items:center}\n.ib:disabled{color:#4A527A}\n.go{height:32px;padding:0 14px;border-radius:8px;border:0;background:#31D6C8;color:#071342;font-size:12.5px;font-weight:700}\n.pop{position:absolute;bottom:calc(100% + 10px);left:0;right:0;min-width:280px;max-height:50vh;overflow:auto;background:#fff;color:#242B3A;border-radius:12px;border:1px solid #E5EAF2;box-shadow:0 12px 32px rgba(10,18,64,.18);padding:6px;white-space:normal}\n.pop .e{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;background:none;border-radius:8px;font-size:12.5px;text-align:start}\n.pop .e:hover{background:#F8FAFC}\n.pop .empty{padding:12px;font-size:12.5px;color:#6B7280}\n.num{width:20px;height:20px;border-radius:99px;background:#071342;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;flex:none}\n.panel{position:fixed;top:0;bottom:0;inset-inline-end:0;width:380px;max-width:100vw;background:#fff;border-inline-start:1px solid #E5EAF2;box-shadow:-8px 0 24px rgba(10,18,64,.06);display:flex;flex-direction:column}\n.hd{padding:16px 18px 14px;border-bottom:1px solid #E5EAF2}\n.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:11.5px;color:#6B7280;margin-bottom:6px}\n.crumbs svg{color:#A8AEC1}\n.crumb{border:0;background:transparent;color:#6B7280;font-weight:500;font-size:11.5px;padding:2px 6px;border-radius:5px}\n.crumb.cur{background:#E5F9F6;color:#0F766E;font-weight:600}\n.nav{margin-inline-start:auto;display:flex;gap:2px}\n.nav button{border:1px solid #E5EAF2;background:#fff;border-radius:6px;width:24px;height:22px;display:grid;place-items:center;color:#3A4060;padding:0}\n.nav button:disabled{opacity:.4}\n.tr{display:flex;align-items:center;gap:10px}\n.title{font-size:17px;font-weight:700;color:#0A1240;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}\n.pill{margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:999px;white-space:nowrap;flex:none}\n.pill.ok{background:#E5F9F6;color:#0F766E}\n.pill.many{background:#FFF7E6;color:#92400E}\n.pill.none{background:#FEF3F2;color:#B42318}\n.bd{padding:16px 18px;overflow:auto;flex:1}\n.lbl{display:block;font-size:12.5px;font-weight:600;color:#242B3A;margin-bottom:8px}\n.tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}\n.tile{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:10px;text-align:start;background:#fff;border:1.5px solid #E5EAF2;color:#3A4060}\n.tile[aria-checked=true]{background:#E5F9F6;border-color:#00C8B7;color:#0F766E}\n.tile.slot[aria-checked=true]{background:#F4F2FF;border-color:#7A6CFF;color:#4C3FD1}\n.tile:disabled{opacity:.55}\n.tile[data-e]>span::after{content:'';display:inline-block;width:6px;height:6px;border-radius:9px;background:#00A99A;margin-inline-start:6px;vertical-align:middle}\n.tile b{display:block;font-size:12.5px;font-weight:600;color:#0A1240}\n.tile small{display:block;font-size:10.5px;color:#6B7280}\n.fr{display:flex;align-items:baseline;margin-bottom:8px}\n.fr .lbl{margin:0}\n.was{margin-inline-start:auto;font-size:11.5px;color:#6B7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:55%}\ntextarea,input,.ce{width:100%;font:inherit;font-size:13.5px;color:#0F1424;padding:10px 12px;border-radius:10px;border:1.5px solid #E5EAF2;background:#fff;outline:none}\ntextarea,.ce{line-height:1.5;resize:vertical;border-color:#00C8B7}\n.ce{min-height:72px;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}\n.vp{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;font-size:.8em;font-weight:600;line-height:1;padding:.12em .5em;border-radius:999px;background:rgba(0,169,154,.14);color:#0F766E;box-shadow:inset 0 0 0 1px rgba(0,169,154,.5);white-space:nowrap;unicode-bidi:isolate;font-style:normal;text-transform:none;letter-spacing:0;cursor:pointer}\n.vp .vfb{font-weight:400;opacity:.75}\n.fbp .vc{margin-top:8px}\n.slotc{display:flex;flex-direction:column;align-items:flex-start;gap:6px}\n.slotc .lbl{margin:0}\n.lnk{border:0;background:none;padding:0;color:#4C3FD1;font-size:12.5px;font-weight:600;text-align:start}\ntextarea.mono{height:auto}\ninput{height:40px;padding:0 12px}\ninput.slotin{border-color:#7A6CFF}\n.mono{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;font-size:12px;height:36px;background:#F8FAFC;border-width:1px}\n.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}\n.chips span{font-size:11.5px;color:#6B7280;margin-inline-end:2px}\n.vc{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;font-size:11.5px;padding:3px 8px;border-radius:6px;border:1px solid #E5EAF2;background:#F8FAFC;color:#3A4060}\n.vc.ui{font-family:Inter,system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;font-weight:600;letter-spacing:normal}\n.pk{margin-top:8px;border:1px solid #E5EAF2;border-radius:10px;padding:6px;background:#fff;box-shadow:0 8px 24px rgba(10,18,64,.1)}\n.pk input{height:34px}\n.pk [role=listbox]{position:relative;max-height:220px;overflow:auto;overflow-anchor:none;margin-top:6px;padding-top:2px}\n.pk .g{font-size:10.5px;font-weight:700;color:#6B7280;text-transform:uppercase;letter-spacing:.4px;padding:8px 8px 3px}\n.pk .o{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 8px;border-radius:7px;font-size:12.5px;cursor:pointer}\n.pk .o[aria-selected=true],.pk .o:hover{background:#E5F9F6}\n.pk code{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;font-size:11px;color:#6B7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n[hidden]{display:none!important}\n.help2{font-size:11.5px;color:#6B7280;margin-top:5px}\n.err{font-size:11.5px;color:#B42318;margin-top:5px}\n.mt{margin-top:14px}\n.note{background:#FFF7E6;border:1px solid #FCD34D;border-radius:10px;padding:10px 12px;font-size:12.5px;color:#92400E;line-height:1.5}\n.key{font-family:ui-monospace,\"SF Mono\",Menlo,monospace;color:#4C3FD1;background:#F4F2FF;padding:1px 6px;border-radius:4px}\n.seg{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;background:#F3F5FA;border-radius:9px;padding:3px}\n.seg button{border:0;background:transparent;border-radius:7px;padding:6px 4px;font-size:12px;color:#3A4060}\n.seg button[aria-checked=true]{background:#fff;color:#0A1240;font-weight:600;box-shadow:0 1px 2px rgba(10,18,64,.08)}\n.vw{display:inline-flex;gap:2px;background:#1B245A;border-radius:8px;padding:2px}\n.vw button{height:28px;width:30px;border:0;border-radius:6px;background:transparent;color:#A8AEC1;display:grid;place-items:center}\n.vw button[aria-checked=true]{background:#31D6C8;color:#071342}\n.bdg{margin-inline-start:auto;font-size:10.5px;font-weight:600;padding:2px 7px;border-radius:999px;background:#F4F2FF;color:#4C3FD1;white-space:nowrap}\n.dv.top{margin-bottom:18px;padding:10px;border-radius:10px;background:#F4F2FF}\n.stage{position:fixed;inset:0;background:#E9ECF3;display:flex;justify-content:center;align-items:flex-start;padding:16px 16px 76px}\n.r.open .stage{inset-inline-end:380px}\n.stage iframe{width:390px;max-width:100%;height:100%;border:0;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(10,18,64,.18)}\n.fnote{max-width:360px;margin-top:40px}\n.css{margin-top:20px;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:0;color:#6B7280;font-size:12px}\n.ft{padding:12px 18px;border-top:1px solid #E5EAF2;display:flex;gap:10px;background:#F8FAFC}\n.cancel{height:38px;padding:0 14px;border-radius:10px;border:1px solid #E5EAF2;background:#fff;color:#242B3A;font-size:13px;font-weight:600}\n.save{flex:1;height:38px;border-radius:10px;border:0;background:#071342;color:#fff;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.save:disabled{opacity:.45}\n@media (max-width:760px){.r.open .dock{display:none}.help{display:none}}\n";
|
|
24
28
|
export {};
|
|
25
29
|
//# sourceMappingURL=editor-ui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-ui.d.ts","sourceRoot":"","sources":["../../src/editor/editor-ui.ts"],"names":[],"mappings":"AAWA,KAAK,GAAG,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAC;AAEpD,wBAAgB,CAAC,CAAC,CAAC,SAAS,MAAM,qBAAqB,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAQtK;AAGD,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"editor-ui.d.ts","sourceRoot":"","sources":["../../src/editor/editor-ui.ts"],"names":[],"mappings":"AAWA,KAAK,GAAG,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAC;AAEpD,wBAAgB,CAAC,CAAC,CAAC,SAAS,MAAM,qBAAqB,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAQtK;AAGD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;CAgBV,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C,wBAAgB,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,SAAK,GAAG,aAAa,CAS7D;AAGD,eAAO,MAAM,UAAU,sLAAsL,CAAC;AAG9M,eAAO,MAAM,kBAAkB,6EAA6E,CAAC;AAG7G,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAUtC,eAAO,MAAM,sBAAsB,mFAAmF,CAAC;AAKvH,eAAO,MAAM,WAAW,4wBAA2X,CAAC;AAEpZ,eAAO,MAAM,UAAU,sxUA4GtB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface LiquidField {
|
|
2
|
+
el: HTMLElement;
|
|
3
|
+
set(value: string): void;
|
|
4
|
+
insert(tag: string): void;
|
|
5
|
+
closePop(): boolean;
|
|
6
|
+
openPill(path: string): boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface FallbackWords {
|
|
9
|
+
title: string;
|
|
10
|
+
help: string;
|
|
11
|
+
bad: string;
|
|
12
|
+
done: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function serialize(n: Node): string;
|
|
15
|
+
export declare function liquidField(opts: {
|
|
16
|
+
label: string;
|
|
17
|
+
rawNote: string;
|
|
18
|
+
root: ShadowRoot | null;
|
|
19
|
+
onChange: (value: string) => void;
|
|
20
|
+
labelOf?: (path: string) => string | undefined;
|
|
21
|
+
fallback?: FallbackWords;
|
|
22
|
+
}): LiquidField;
|
|
23
|
+
//# sourceMappingURL=liquid-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquid-field.d.ts","sourceRoot":"","sources":["../../src/editor/liquid-field.ts"],"names":[],"mappings":"AA6BA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,WAAW,CAAC;IAEhB,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,QAAQ,IAAI,OAAO,CAAC;IAEpB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAGD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAMD,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,CAMzC;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,GAAG,WAAW,CAuPd"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Logger } from '../utils/logger';
|
|
2
|
-
import { type PageEditOperation, type PageEditPosition, type PageEditWire } from '../core/page-edits';
|
|
2
|
+
import { type PageEditDevice, type PageEditOperation, type PageEditPosition, type PageEditWire } from '../core/page-edits';
|
|
3
3
|
import { EDITOR_MESSAGES } from '../core/editor-gate';
|
|
4
|
-
|
|
4
|
+
import { MOBILE_FRAME_WIDTH } from './editor-ui';
|
|
5
|
+
export { EDITOR_MESSAGES, MOBILE_FRAME_WIDTH };
|
|
5
6
|
export declare const EDITOR_SESSION_MESSAGES: {
|
|
6
7
|
readonly CONTEXT: "joryio:editor-context";
|
|
7
8
|
readonly FOCUS: "joryio:editor-focus";
|
|
8
9
|
readonly REMOVE: "joryio:editor-remove";
|
|
9
10
|
readonly DONE: "joryio:editor-done";
|
|
11
|
+
readonly OPEN_SLOT: "joryio:editor-open-slot";
|
|
10
12
|
};
|
|
13
|
+
export declare function revealOption(list: HTMLElement, o: HTMLElement | null): void;
|
|
14
|
+
export type EditorView = 'desktop' | 'mobile';
|
|
11
15
|
export declare function cssEscape(value: string): string;
|
|
12
16
|
export declare function robustSelector(el: Element): string | null;
|
|
13
17
|
export declare function operationsFor(el: Element): PageEditOperation[];
|
|
@@ -19,9 +23,11 @@ export interface EditorPick {
|
|
|
19
23
|
value?: string;
|
|
20
24
|
placementKey?: string;
|
|
21
25
|
position?: PageEditPosition;
|
|
26
|
+
device: PageEditDevice;
|
|
22
27
|
tag: string;
|
|
23
28
|
text: string;
|
|
24
29
|
}
|
|
30
|
+
export declare const shortText: (el: Element | null) => string;
|
|
25
31
|
export declare class VisualEditor {
|
|
26
32
|
private dashboardOrigin;
|
|
27
33
|
private opener;
|
|
@@ -41,6 +47,9 @@ export declare class VisualEditor {
|
|
|
41
47
|
private selected;
|
|
42
48
|
private draft;
|
|
43
49
|
private showCss;
|
|
50
|
+
private showLiquid;
|
|
51
|
+
private closeOverlay;
|
|
52
|
+
private field;
|
|
44
53
|
private popOpen;
|
|
45
54
|
private edits;
|
|
46
55
|
private history;
|
|
@@ -50,6 +59,12 @@ export declare class VisualEditor {
|
|
|
50
59
|
private ctx;
|
|
51
60
|
private previewUndo;
|
|
52
61
|
private originals;
|
|
62
|
+
private doc;
|
|
63
|
+
private view;
|
|
64
|
+
private stage;
|
|
65
|
+
private frame;
|
|
66
|
+
private offPage;
|
|
67
|
+
private mobileShown;
|
|
53
68
|
constructor(dashboardOrigin: string, opener: Window, logger: Logger, onStop?: () => void);
|
|
54
69
|
start(): void;
|
|
55
70
|
isActive(): boolean;
|
|
@@ -57,9 +72,19 @@ export declare class VisualEditor {
|
|
|
57
72
|
stop(): void;
|
|
58
73
|
private send;
|
|
59
74
|
private activate;
|
|
75
|
+
private onKey;
|
|
76
|
+
private bindPage;
|
|
77
|
+
private unbindPage;
|
|
78
|
+
private placeBoxes;
|
|
79
|
+
currentView(): EditorView;
|
|
80
|
+
setView(view: EditorView, focusId?: string): void;
|
|
81
|
+
private renderAll;
|
|
82
|
+
private mobileNow;
|
|
83
|
+
private inView;
|
|
60
84
|
private applyContext;
|
|
61
85
|
private place;
|
|
62
86
|
private move;
|
|
87
|
+
private editsOn;
|
|
63
88
|
select(el: Element, edit?: PageEditWire): void;
|
|
64
89
|
private enabled;
|
|
65
90
|
private newDraft;
|
|
@@ -68,9 +93,11 @@ export declare class VisualEditor {
|
|
|
68
93
|
focusEdit(id: unknown): boolean;
|
|
69
94
|
private draftEdit;
|
|
70
95
|
private save;
|
|
96
|
+
openSlot(placementKey: string, campaignId?: string): boolean;
|
|
71
97
|
pick(el: Element | null, selector: string, operation: PageEditOperation, value: string, opts?: {
|
|
72
98
|
id?: string;
|
|
73
99
|
position?: PageEditPosition;
|
|
100
|
+
device?: PageEditDevice;
|
|
74
101
|
}): boolean;
|
|
75
102
|
private cancel;
|
|
76
103
|
private closePanel;
|
|
@@ -79,8 +106,10 @@ export declare class VisualEditor {
|
|
|
79
106
|
private clearPreview;
|
|
80
107
|
private renderPreview;
|
|
81
108
|
private previewNode;
|
|
109
|
+
private previewPill;
|
|
82
110
|
private applyPreview;
|
|
83
111
|
private renderHelp;
|
|
112
|
+
private labelOf;
|
|
84
113
|
private editTitle;
|
|
85
114
|
private togglePop;
|
|
86
115
|
private renderDock;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-editor.d.ts","sourceRoot":"","sources":["../../src/editor/visual-editor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"visual-editor.d.ts","sourceRoot":"","sources":["../../src/editor/visual-editor.ts"],"names":[],"mappings":"AAgGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAA6E,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY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AC,YAAY;IAiEpB,OAAO,CAAC,UAAU;IA4BlB,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,UAAU;IAiDlB,OAAO,CAAC,WAAW;IA4HnB,OAAO,CAAC,YAAY;CAgNrB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -343,7 +343,7 @@ declare class IdentityManager {
|
|
|
343
343
|
isIdentified(): boolean;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
declare const SDK_VERSION = "1.4.0-beta.
|
|
346
|
+
declare const SDK_VERSION = "1.4.0-beta.8";
|
|
347
347
|
interface InAppDisplayOptions {
|
|
348
348
|
defaultPosition?: 'top' | 'center' | 'bottom';
|
|
349
349
|
defaultAnimation?: 'fade' | 'slide' | 'none';
|