@velocity-astro/cms-admin 0.1.0-beta.6 → 0.1.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/app-dist/assets/{RichTextEditor-BiKJJtkz.js → RichTextEditor-D-0hJngm.js} +1 -1
- package/app-dist/assets/index-C2SsRclY.js +80 -0
- package/app-dist/assets/index-D8x7A_Xo.css +2 -0
- package/app-dist/index.html +5 -3
- package/dist/app/AdminLayout.d.ts.map +1 -1
- package/dist/app/AdminLayout.js +97 -54
- package/dist/app/AdminLayout.js.map +1 -1
- package/dist/app/paths.d.ts +2 -0
- package/dist/app/paths.d.ts.map +1 -1
- package/dist/app/paths.js +2 -0
- package/dist/app/paths.js.map +1 -1
- package/dist/client/queries.d.ts +2 -0
- package/dist/client/queries.d.ts.map +1 -1
- package/dist/client/queries.js +42 -7
- package/dist/client/queries.js.map +1 -1
- package/dist/fields/BlocksControl.d.ts +6 -0
- package/dist/fields/BlocksControl.d.ts.map +1 -1
- package/dist/fields/BlocksControl.js +303 -89
- package/dist/fields/BlocksControl.js.map +1 -1
- package/dist/fields/SiteImagePicker.d.ts +22 -0
- package/dist/fields/SiteImagePicker.d.ts.map +1 -0
- package/dist/fields/SiteImagePicker.js +42 -0
- package/dist/fields/SiteImagePicker.js.map +1 -0
- package/dist/fields/block-icons.d.ts.map +1 -1
- package/dist/fields/block-icons.js +3 -1
- package/dist/fields/block-icons.js.map +1 -1
- package/dist/fields/carry.d.ts +19 -0
- package/dist/fields/carry.d.ts.map +1 -0
- package/dist/fields/carry.js +61 -0
- package/dist/fields/carry.js.map +1 -0
- package/dist/fields/controls.d.ts.map +1 -1
- package/dist/fields/controls.js +82 -58
- package/dist/fields/controls.js.map +1 -1
- package/dist/fields/field-control.d.ts +80 -0
- package/dist/fields/field-control.d.ts.map +1 -1
- package/dist/fields/field-control.js.map +1 -1
- package/dist/fields/page-focus.d.ts +32 -3
- package/dist/fields/page-focus.d.ts.map +1 -1
- package/dist/fields/page-focus.js +55 -1
- package/dist/fields/page-focus.js.map +1 -1
- package/dist/lib/open-site.d.ts +6 -0
- package/dist/lib/open-site.d.ts.map +1 -0
- package/dist/lib/open-site.js +8 -0
- package/dist/lib/open-site.js.map +1 -0
- package/dist/lib/rich-from-html.d.ts +9 -0
- package/dist/lib/rich-from-html.d.ts.map +1 -0
- package/dist/lib/rich-from-html.js +129 -0
- package/dist/lib/rich-from-html.js.map +1 -0
- package/dist/lib/sittings.d.ts +16 -0
- package/dist/lib/sittings.d.ts.map +1 -0
- package/dist/lib/sittings.js +29 -0
- package/dist/lib/sittings.js.map +1 -0
- package/dist/lib/use-command-key.d.ts +16 -0
- package/dist/lib/use-command-key.d.ts.map +1 -0
- package/dist/lib/use-command-key.js +30 -0
- package/dist/lib/use-command-key.js.map +1 -0
- package/dist/lib/use-history.d.ts +24 -0
- package/dist/lib/use-history.d.ts.map +1 -0
- package/dist/lib/use-history.js +48 -0
- package/dist/lib/use-history.js.map +1 -0
- package/dist/lib/use-narrow.d.ts +5 -0
- package/dist/lib/use-narrow.d.ts.map +1 -0
- package/dist/lib/use-narrow.js +19 -0
- package/dist/lib/use-narrow.js.map +1 -0
- package/dist/lib/use-save-key.d.ts +15 -0
- package/dist/lib/use-save-key.d.ts.map +1 -0
- package/dist/lib/use-save-key.js +27 -0
- package/dist/lib/use-save-key.js.map +1 -0
- package/dist/lib/use-undo-keys.d.ts +14 -0
- package/dist/lib/use-undo-keys.d.ts.map +1 -0
- package/dist/lib/use-undo-keys.js +46 -0
- package/dist/lib/use-undo-keys.js.map +1 -0
- package/dist/messages/en.d.ts +72 -2
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/en.js +72 -2
- package/dist/messages/en.js.map +1 -1
- package/dist/page-bridge/preview-bridge.d.ts +3 -3
- package/dist/page-bridge/preview-bridge.d.ts.map +1 -1
- package/dist/page-bridge/preview-bridge.js +1145 -33
- package/dist/page-bridge/preview-bridge.js.map +1 -1
- package/dist/screens/Contact/ContactScreen.js +1 -1
- package/dist/screens/Contact/ContactScreen.js.map +1 -1
- package/dist/screens/Contacts/ContactsScreen.js +2 -2
- package/dist/screens/Contacts/ContactsScreen.js.map +1 -1
- package/dist/screens/Contacts/StagesDialog.d.ts.map +1 -1
- package/dist/screens/Contacts/StagesDialog.js +4 -1
- package/dist/screens/Contacts/StagesDialog.js.map +1 -1
- package/dist/screens/ContentList/ContentListScreen.d.ts.map +1 -1
- package/dist/screens/ContentList/ContentListScreen.js +11 -4
- package/dist/screens/ContentList/ContentListScreen.js.map +1 -1
- package/dist/screens/ContentList/EntryPeek.d.ts +13 -0
- package/dist/screens/ContentList/EntryPeek.d.ts.map +1 -0
- package/dist/screens/ContentList/EntryPeek.js +32 -0
- package/dist/screens/ContentList/EntryPeek.js.map +1 -0
- package/dist/screens/ContentType/ContentTypeScreen.js +1 -1
- package/dist/screens/ContentType/ContentTypeScreen.js.map +1 -1
- package/dist/screens/Deals/DealsScreen.js +27 -3
- package/dist/screens/Deals/DealsScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.js +5 -3
- package/dist/screens/EntryEditor/EntryEditorScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.d.ts +2 -0
- package/dist/screens/EntryEditor/EntryForm.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.js +165 -19
- package/dist/screens/EntryEditor/EntryForm.js.map +1 -1
- package/dist/screens/EntryEditor/HistoryDialog.d.ts +2 -1
- package/dist/screens/EntryEditor/HistoryDialog.d.ts.map +1 -1
- package/dist/screens/EntryEditor/HistoryDialog.js +24 -5
- package/dist/screens/EntryEditor/HistoryDialog.js.map +1 -1
- package/dist/screens/EntryEditor/PagePane.d.ts +12 -2
- package/dist/screens/EntryEditor/PagePane.d.ts.map +1 -1
- package/dist/screens/EntryEditor/PagePane.js +54 -19
- package/dist/screens/EntryEditor/PagePane.js.map +1 -1
- package/dist/screens/EntryEditor/SectionOutline.d.ts +11 -0
- package/dist/screens/EntryEditor/SectionOutline.d.ts.map +1 -0
- package/dist/screens/EntryEditor/SectionOutline.js +46 -0
- package/dist/screens/EntryEditor/SectionOutline.js.map +1 -0
- package/dist/screens/EntryEditor/ThemeCard.d.ts +32 -0
- package/dist/screens/EntryEditor/ThemeCard.d.ts.map +1 -0
- package/dist/screens/EntryEditor/ThemeCard.js +67 -0
- package/dist/screens/EntryEditor/ThemeCard.js.map +1 -0
- package/dist/screens/Home/HomeScreen.d.ts +1 -1
- package/dist/screens/Home/HomeScreen.d.ts.map +1 -1
- package/dist/screens/Home/HomeScreen.js +54 -16
- package/dist/screens/Home/HomeScreen.js.map +1 -1
- package/dist/testing/admin-client-contract.d.ts.map +1 -1
- package/dist/testing/admin-client-contract.js +6 -0
- package/dist/testing/admin-client-contract.js.map +1 -1
- package/package.json +5 -5
- package/app-dist/assets/index-BgVjqwy6.js +0 -80
- package/app-dist/assets/index-BvWFILf6.css +0 -2
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** Saves by one person that follow each other this closely are one sitting, in milliseconds. */
|
|
2
|
+
export const SITTING_PAUSE_MS = 10 * 60_000;
|
|
3
|
+
/**
|
|
4
|
+
* Folds a history, the latest first, into sittings. A draft saves itself every few seconds of
|
|
5
|
+
* work, and a list of every one of those hides the saves that matter. Saves are one sitting when
|
|
6
|
+
* one person made them, none waited long after the one before, and none changed whether the entry
|
|
7
|
+
* is on the site. The save visitors see (`onSite`) always stands by itself.
|
|
8
|
+
*/
|
|
9
|
+
export function sittings(revisions, onSite) {
|
|
10
|
+
const folded = [];
|
|
11
|
+
let after;
|
|
12
|
+
for (const revision of revisions) {
|
|
13
|
+
const open = folded.at(-1);
|
|
14
|
+
const joins = open !== undefined &&
|
|
15
|
+
after !== undefined &&
|
|
16
|
+
after.actorId === revision.actorId &&
|
|
17
|
+
after.status === revision.status &&
|
|
18
|
+
after.revision !== onSite &&
|
|
19
|
+
revision.revision !== onSite &&
|
|
20
|
+
Date.parse(after.createdAt) - Date.parse(revision.createdAt) < SITTING_PAUSE_MS;
|
|
21
|
+
if (joins)
|
|
22
|
+
open.earlier.push(revision);
|
|
23
|
+
else
|
|
24
|
+
folded.push({ latest: revision, earlier: [] });
|
|
25
|
+
after = revision;
|
|
26
|
+
}
|
|
27
|
+
return folded;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sittings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sittings.js","sourceRoot":"","sources":["../../src/lib/sittings.ts"],"names":[],"mappings":"AAEA,gGAAgG;AAChG,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,GAAG,MAAM,CAAC;AAQ5C;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,SAA8B,EAAE,MAAe;IACtE,MAAM,MAAM,GAAgD,EAAE,CAAC;IAC/D,IAAI,KAA2B,CAAC;IAChC,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3B,MAAM,KAAK,GACT,IAAI,KAAK,SAAS;YAClB,KAAK,KAAK,SAAS;YACnB,KAAK,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO;YAClC,KAAK,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM;YAChC,KAAK,CAAC,QAAQ,KAAK,MAAM;YACzB,QAAQ,CAAC,QAAQ,KAAK,MAAM;YAC5B,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,gBAAgB,CAAC;QAClF,IAAI,KAAK;YAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;;YAClC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;QACpD,KAAK,GAAG,QAAQ,CAAC;IACnB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Whether a key press asks for the search: Ctrl or Command with K, and nothing else held. */
|
|
2
|
+
export declare function isCommandKey(event: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly metaKey: boolean;
|
|
5
|
+
readonly ctrlKey: boolean;
|
|
6
|
+
readonly shiftKey: boolean;
|
|
7
|
+
readonly altKey: boolean;
|
|
8
|
+
}): boolean;
|
|
9
|
+
/** Whether the person's keyboard has a Command key, so the shortcut is shown as they press it. */
|
|
10
|
+
export declare function hasCommandKey(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Listens for the keys that open the search, anywhere on the screen, a field being typed in
|
|
13
|
+
* included: the browser's own answer to them (its address bar) is not wanted while in the editor.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useCommandKey(open: () => void): void;
|
|
16
|
+
//# sourceMappingURL=use-command-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-command-key.d.ts","sourceRoot":"","sources":["../../src/lib/use-command-key.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAEjL;AAED,kGAAkG;AAClG,wBAAgB,aAAa,IAAI,OAAO,CAEvC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAcpD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
/** Whether a key press asks for the search: Ctrl or Command with K, and nothing else held. */
|
|
3
|
+
export function isCommandKey(event) {
|
|
4
|
+
return (event.metaKey || event.ctrlKey) && !event.altKey && !event.shiftKey && event.key.toLowerCase() === 'k';
|
|
5
|
+
}
|
|
6
|
+
/** Whether the person's keyboard has a Command key, so the shortcut is shown as they press it. */
|
|
7
|
+
export function hasCommandKey() {
|
|
8
|
+
return typeof navigator !== 'undefined' && /mac|iphone|ipad/i.test(navigator.platform || navigator.userAgent);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Listens for the keys that open the search, anywhere on the screen, a field being typed in
|
|
12
|
+
* included: the browser's own answer to them (its address bar) is not wanted while in the editor.
|
|
13
|
+
*/
|
|
14
|
+
export function useCommandKey(open) {
|
|
15
|
+
const latest = useRef(open);
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
latest.current = open;
|
|
18
|
+
});
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
const hear = (event) => {
|
|
21
|
+
if (event.defaultPrevented || !isCommandKey(event))
|
|
22
|
+
return;
|
|
23
|
+
event.preventDefault();
|
|
24
|
+
latest.current();
|
|
25
|
+
};
|
|
26
|
+
window.addEventListener('keydown', hear);
|
|
27
|
+
return () => window.removeEventListener('keydown', hear);
|
|
28
|
+
}, []);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=use-command-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-command-key.js","sourceRoot":"","sources":["../../src/lib/use-command-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,8FAA8F;AAC9F,MAAM,UAAU,YAAY,CAAC,KAA2I;IACtK,OAAO,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC;AACjH,CAAC;AAED,kGAAkG;AAClG,MAAM,UAAU,aAAa;IAC3B,OAAO,OAAO,SAAS,KAAK,WAAW,IAAI,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,SAAS,CAAC,CAAC;AAChH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,IAAgB;IAC5C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5B,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IACxB,CAAC,CAAC,CAAC;IACH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,IAAI,GAAG,CAAC,KAAoB,EAAE,EAAE;YACpC,IAAI,KAAK,CAAC,gBAAgB,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;gBAAE,OAAO;YAC3D,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACzC,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Changes of one thing that follow each other this closely are one step: a word, not a letter. */
|
|
2
|
+
export declare const STEP_PAUSE_MS = 700;
|
|
3
|
+
/** How many steps back are kept. */
|
|
4
|
+
export declare const STEPS_KEPT = 100;
|
|
5
|
+
/** A value and the steps that led to it, so a change can be taken back and made again. */
|
|
6
|
+
export interface History<T> {
|
|
7
|
+
readonly value: T;
|
|
8
|
+
/** Changes the value. Changes with the same `mark` that follow each other closely are one step. */
|
|
9
|
+
readonly set: (next: (current: T) => T, mark?: string) => void;
|
|
10
|
+
/** Takes a value as what is held now without a step: what the server made of a save. */
|
|
11
|
+
readonly settle: (value: T) => void;
|
|
12
|
+
/** Starts again from a value, with nothing to take back. */
|
|
13
|
+
readonly restart: (value: T) => void;
|
|
14
|
+
readonly undo: () => void;
|
|
15
|
+
readonly redo: () => void;
|
|
16
|
+
readonly canUndo: boolean;
|
|
17
|
+
readonly canRedo: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Holds a value with its steps, in memory only. A change that leaves the value as it was (by
|
|
21
|
+
* `same`) is no step, and a change after going back drops what was ahead.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useHistory<T extends object>(start: T, same: (a: T, b: T) => boolean): History<T>;
|
|
24
|
+
//# sourceMappingURL=use-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-history.d.ts","sourceRoot":"","sources":["../../src/lib/use-history.ts"],"names":[],"mappings":"AAEA,mGAAmG;AACnG,eAAO,MAAM,aAAa,MAAM,CAAC;AAEjC,oCAAoC;AACpC,eAAO,MAAM,UAAU,MAAM,CAAC;AAyC9B,0FAA0F;AAC1F,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,mGAAmG;IACnG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,wFAAwF;IACxF,QAAQ,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CAQhG"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useCallback, useReducer } from 'react';
|
|
2
|
+
/** Changes of one thing that follow each other this closely are one step: a word, not a letter. */
|
|
3
|
+
export const STEP_PAUSE_MS = 700;
|
|
4
|
+
/** How many steps back are kept. */
|
|
5
|
+
export const STEPS_KEPT = 100;
|
|
6
|
+
function steps(state, said) {
|
|
7
|
+
if (said.type === 'set') {
|
|
8
|
+
const value = said.next(state.present);
|
|
9
|
+
if (said.same(value, state.present))
|
|
10
|
+
return state;
|
|
11
|
+
const joins = said.mark !== undefined && said.mark === state.mark && said.at - state.at < STEP_PAUSE_MS && state.past.length > 0;
|
|
12
|
+
return {
|
|
13
|
+
past: joins ? state.past : [...state.past, state.present].slice(-STEPS_KEPT),
|
|
14
|
+
present: value,
|
|
15
|
+
future: [],
|
|
16
|
+
mark: said.mark,
|
|
17
|
+
at: said.at,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
if (said.type === 'settle')
|
|
21
|
+
return { ...state, present: said.value, mark: undefined };
|
|
22
|
+
if (said.type === 'restart')
|
|
23
|
+
return { past: [], present: said.value, future: [], mark: undefined, at: 0 };
|
|
24
|
+
if (said.type === 'undo') {
|
|
25
|
+
const last = state.past.at(-1);
|
|
26
|
+
if (last === undefined)
|
|
27
|
+
return state;
|
|
28
|
+
return { past: state.past.slice(0, -1), present: last, future: [state.present, ...state.future], mark: undefined, at: 0 };
|
|
29
|
+
}
|
|
30
|
+
const [next, ...future] = state.future;
|
|
31
|
+
if (next === undefined)
|
|
32
|
+
return state;
|
|
33
|
+
return { past: [...state.past, state.present], present: next, future, mark: undefined, at: 0 };
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Holds a value with its steps, in memory only. A change that leaves the value as it was (by
|
|
37
|
+
* `same`) is no step, and a change after going back drops what was ahead.
|
|
38
|
+
*/
|
|
39
|
+
export function useHistory(start, same) {
|
|
40
|
+
const [state, say] = useReducer((steps), { past: [], present: start, future: [], mark: undefined, at: 0 });
|
|
41
|
+
const set = useCallback((next, mark) => say({ type: 'set', next, mark, at: Date.now(), same }), [same]);
|
|
42
|
+
const settle = useCallback((value) => say({ type: 'settle', value }), []);
|
|
43
|
+
const restart = useCallback((value) => say({ type: 'restart', value }), []);
|
|
44
|
+
const undo = useCallback(() => say({ type: 'undo' }), []);
|
|
45
|
+
const redo = useCallback(() => say({ type: 'redo' }), []);
|
|
46
|
+
return { value: state.present, set, settle, restart, undo, redo, canUndo: state.past.length > 0, canRedo: state.future.length > 0 };
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=use-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-history.js","sourceRoot":"","sources":["../../src/lib/use-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEhD,mGAAmG;AACnG,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAC;AAEjC,oCAAoC;AACpC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC;AAgB9B,SAAS,KAAK,CAAI,KAAe,EAAE,IAAa;IAC9C,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACvC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;YAAE,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AC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC/E,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;AACtI,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** A window narrower than this, in pixels, is taken to be a phone. */
|
|
2
|
+
export declare const NARROW = 640;
|
|
3
|
+
/** Whether the window is as narrow as a phone, now and as it is turned or resized. */
|
|
4
|
+
export declare function useNarrow(): boolean;
|
|
5
|
+
//# sourceMappingURL=use-narrow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-narrow.d.ts","sourceRoot":"","sources":["../../src/lib/use-narrow.ts"],"names":[],"mappings":"AAEA,sEAAsE;AACtE,eAAO,MAAM,MAAM,MAAM,CAAC;AAI1B,sFAAsF;AACtF,wBAAgB,SAAS,IAAI,OAAO,CAWnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
/** A window narrower than this, in pixels, is taken to be a phone. */
|
|
3
|
+
export const NARROW = 640;
|
|
4
|
+
const narrow = () => (typeof window.matchMedia === 'function' ? window.matchMedia(`(max-width: ${NARROW - 1}px)`) : null);
|
|
5
|
+
/** Whether the window is as narrow as a phone, now and as it is turned or resized. */
|
|
6
|
+
export function useNarrow() {
|
|
7
|
+
const [isNarrow, setNarrow] = useState(() => narrow()?.matches ?? false);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const watched = narrow();
|
|
10
|
+
if (!watched)
|
|
11
|
+
return;
|
|
12
|
+
const follow = () => setNarrow(watched.matches);
|
|
13
|
+
watched.addEventListener('change', follow);
|
|
14
|
+
follow();
|
|
15
|
+
return () => watched.removeEventListener('change', follow);
|
|
16
|
+
}, []);
|
|
17
|
+
return isNarrow;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=use-narrow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-narrow.js","sourceRoot":"","sources":["../../src/lib/use-narrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,sEAAsE;AACtE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;AAE1B,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,CAAC,OAAO,MAAM,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,eAAe,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAE1H,sFAAsF;AACtF,MAAM,UAAU,SAAS;IACvB,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,OAAO,IAAI,KAAK,CAAC,CAAC;IACzE,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC;QACzB,IAAI,CAAC,OAAO;YAAE,OAAO;QACrB,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAChD,OAAO,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC3C,MAAM,EAAE,CAAC;QACT,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** Whether a key press asks to save: Ctrl or Command with S, and nothing else held. */
|
|
2
|
+
export declare function isSaveKey(event: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly metaKey: boolean;
|
|
5
|
+
readonly ctrlKey: boolean;
|
|
6
|
+
readonly shiftKey: boolean;
|
|
7
|
+
readonly altKey: boolean;
|
|
8
|
+
}): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Listens for the keys that save, anywhere on the screen, a field being typed in included. The
|
|
11
|
+
* browser's own answer to them (saving the page as a file) is never wanted here, so it is
|
|
12
|
+
* stopped whether or not there is anything to save.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useSaveKey(save: () => void): void;
|
|
15
|
+
//# sourceMappingURL=use-save-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-save-key.d.ts","sourceRoot":"","sources":["../../src/lib/use-save-key.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAE9K;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAcjD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
/** Whether a key press asks to save: Ctrl or Command with S, and nothing else held. */
|
|
3
|
+
export function isSaveKey(event) {
|
|
4
|
+
return (event.metaKey || event.ctrlKey) && !event.altKey && !event.shiftKey && event.key.toLowerCase() === 's';
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Listens for the keys that save, anywhere on the screen, a field being typed in included. The
|
|
8
|
+
* browser's own answer to them (saving the page as a file) is never wanted here, so it is
|
|
9
|
+
* stopped whether or not there is anything to save.
|
|
10
|
+
*/
|
|
11
|
+
export function useSaveKey(save) {
|
|
12
|
+
const latest = useRef(save);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
latest.current = save;
|
|
15
|
+
});
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
const hear = (event) => {
|
|
18
|
+
if (event.defaultPrevented || !isSaveKey(event))
|
|
19
|
+
return;
|
|
20
|
+
event.preventDefault();
|
|
21
|
+
latest.current();
|
|
22
|
+
};
|
|
23
|
+
window.addEventListener('keydown', hear);
|
|
24
|
+
return () => window.removeEventListener('keydown', hear);
|
|
25
|
+
}, []);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=use-save-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-save-key.js","sourceRoot":"","sources":["../../src/lib/use-save-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,uFAAuF;AACvF,MAAM,UAAU,SAAS,CAAC,KAA2I;IACnK,OAAO,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC;AACjH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,IAAgB;IACzC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5B,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IACxB,CAAC,CAAC,CAAC;IACH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,IAAI,GAAG,CAAC,KAAoB,EAAE,EAAE;YACpC,IAAI,KAAK,CAAC,gBAAgB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;gBAAE,OAAO;YACxD,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACzC,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Which of the two a key press asks for: Ctrl or Command with Z, with Shift (or Ctrl with Y) for again. */
|
|
2
|
+
export declare function undoKey(event: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly metaKey: boolean;
|
|
5
|
+
readonly ctrlKey: boolean;
|
|
6
|
+
readonly shiftKey: boolean;
|
|
7
|
+
readonly altKey: boolean;
|
|
8
|
+
}): 'undo' | 'redo' | null;
|
|
9
|
+
/**
|
|
10
|
+
* Listens for the keys that take a change back and make it again, anywhere on the screen but
|
|
11
|
+
* where words are being typed: there the browser takes back the typing itself.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useUndoKeys(undo: () => void, redo: () => void): void;
|
|
14
|
+
//# sourceMappingURL=use-undo-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-undo-keys.d.ts","sourceRoot":"","sources":["../../src/lib/use-undo-keys.ts"],"names":[],"mappings":"AAEA,4GAA4G;AAC5G,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAM3L;AAYD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAgBpE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react';
|
|
2
|
+
/** Which of the two a key press asks for: Ctrl or Command with Z, with Shift (or Ctrl with Y) for again. */
|
|
3
|
+
export function undoKey(event) {
|
|
4
|
+
if (!(event.metaKey || event.ctrlKey) || event.altKey)
|
|
5
|
+
return null;
|
|
6
|
+
const key = event.key.toLowerCase();
|
|
7
|
+
if (key === 'z')
|
|
8
|
+
return event.shiftKey ? 'redo' : 'undo';
|
|
9
|
+
if (key === 'y' && event.ctrlKey && !event.shiftKey)
|
|
10
|
+
return 'redo';
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
const NOT_TYPED = ['checkbox', 'radio', 'button', 'submit', 'reset', 'range', 'color', 'file', 'image'];
|
|
14
|
+
/** Whether the browser has an undo of its own where the keys were pressed: somewhere words are typed. */
|
|
15
|
+
function typesHere(target) {
|
|
16
|
+
if (!(target instanceof HTMLElement))
|
|
17
|
+
return false;
|
|
18
|
+
// A switch and a checkbox are inputs too, and hold no typing to take back.
|
|
19
|
+
if (target instanceof HTMLInputElement)
|
|
20
|
+
return !NOT_TYPED.includes(target.type);
|
|
21
|
+
return target instanceof HTMLTextAreaElement || target.isContentEditable;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Listens for the keys that take a change back and make it again, anywhere on the screen but
|
|
25
|
+
* where words are being typed: there the browser takes back the typing itself.
|
|
26
|
+
*/
|
|
27
|
+
export function useUndoKeys(undo, redo) {
|
|
28
|
+
const latest = useRef({ undo, redo });
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
latest.current = { undo, redo };
|
|
31
|
+
});
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
const hear = (event) => {
|
|
34
|
+
if (event.defaultPrevented || typesHere(event.target))
|
|
35
|
+
return;
|
|
36
|
+
const asked = undoKey(event);
|
|
37
|
+
if (asked === null)
|
|
38
|
+
return;
|
|
39
|
+
event.preventDefault();
|
|
40
|
+
latest.current[asked]();
|
|
41
|
+
};
|
|
42
|
+
window.addEventListener('keydown', hear);
|
|
43
|
+
return () => window.removeEventListener('keydown', hear);
|
|
44
|
+
}, []);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=use-undo-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-undo-keys.js","sourceRoot":"","sources":["../../src/lib/use-undo-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,4GAA4G;AAC5G,MAAM,UAAU,OAAO,CAAC,KAA2I;IACjK,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACnE,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;IACpC,IAAI,GAAG,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IACzD,IAAI,GAAG,KAAK,GAAG,IAAI,KAAK,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ;QAAE,OAAO,MAAM,CAAC;IACnE,OA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BAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
package/dist/messages/en.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const en: {
|
|
|
10
10
|
readonly contentGroup: "Content";
|
|
11
11
|
readonly home: "Home";
|
|
12
12
|
readonly skipToContent: "Skip to content";
|
|
13
|
+
readonly openMenu: "Open the menu";
|
|
13
14
|
readonly mainNavigation: "Main";
|
|
14
15
|
readonly notifications: "Notifications";
|
|
15
16
|
readonly dismiss: "Dismiss";
|
|
@@ -31,6 +32,18 @@ export declare const en: {
|
|
|
31
32
|
readonly plugins: "Manage plugins";
|
|
32
33
|
readonly pluginsGroup: "Plugins";
|
|
33
34
|
readonly types: "Content types";
|
|
35
|
+
readonly audienceGroup: "Audience";
|
|
36
|
+
readonly collectionsGroup: "Collections";
|
|
37
|
+
readonly workspaceGroup: "Workspace";
|
|
38
|
+
readonly search: "Search, jump to or create anything";
|
|
39
|
+
readonly searchTitle: "Search and commands";
|
|
40
|
+
readonly searchEmpty: "Nothing matches that.";
|
|
41
|
+
readonly searchShortcutCommand: "⌘K";
|
|
42
|
+
readonly searchShortcutControl: "Ctrl K";
|
|
43
|
+
readonly goToGroup: "Go to";
|
|
44
|
+
readonly createGroup: "Create";
|
|
45
|
+
readonly create: "Create";
|
|
46
|
+
readonly createIn: (type: string) => string;
|
|
34
47
|
readonly passkeys: "Passkeys";
|
|
35
48
|
readonly passkeyTitle: "Add a passkey";
|
|
36
49
|
readonly passkeyDescription: "A passkey signs you in with your fingerprint, face or screen lock, with no email to wait for. Add one on each device you use, and remove one when you stop using its device.";
|
|
@@ -87,6 +100,7 @@ export declare const en: {
|
|
|
87
100
|
readonly noMatchesDescription: "Try another word, or show all entries.";
|
|
88
101
|
readonly columnUpdated: "Updated";
|
|
89
102
|
readonly untitled: "Untitled";
|
|
103
|
+
readonly homePage: "Home page";
|
|
90
104
|
readonly newEntry: "New entry";
|
|
91
105
|
readonly emptyTitle: (type: string) => string;
|
|
92
106
|
readonly emptyDescription: "Entries appear on the site as soon as they are published.";
|
|
@@ -94,6 +108,12 @@ export declare const en: {
|
|
|
94
108
|
readonly noTypesDescription: "A content type describes one kind of content, such as listings or blog posts.";
|
|
95
109
|
readonly typeNotFoundTitle: "This content type does not exist";
|
|
96
110
|
readonly typeNotFoundDescription: "It may have been renamed or removed.";
|
|
111
|
+
readonly peekLabel: "The chosen entry";
|
|
112
|
+
readonly peekPage: (title: string) => string;
|
|
113
|
+
readonly peekView: "View on the site";
|
|
114
|
+
readonly peekNotLive: "Not on the site yet. Publish it to see its page here.";
|
|
115
|
+
readonly peekVisual: "Edit visually";
|
|
116
|
+
readonly peekOpen: "Open";
|
|
97
117
|
};
|
|
98
118
|
readonly schedule: {
|
|
99
119
|
readonly title: "Schedule";
|
|
@@ -119,7 +139,7 @@ export declare const en: {
|
|
|
119
139
|
readonly history: {
|
|
120
140
|
readonly title: "History";
|
|
121
141
|
readonly close: "Close";
|
|
122
|
-
readonly help: "Every save, the latest first. Bringing a version back makes a new save: nothing is lost, and the site changes only when you publish.";
|
|
142
|
+
readonly help: "Every save, the latest first. Saves made in one go are shown as one. Bringing a version back makes a new save: nothing is lost, and the site changes only when you publish.";
|
|
123
143
|
readonly saveFirst: "Save or undo what you have typed before bringing a version back.";
|
|
124
144
|
readonly current: "Now";
|
|
125
145
|
readonly onSite: "On the site";
|
|
@@ -129,6 +149,9 @@ export declare const en: {
|
|
|
129
149
|
readonly published: "Published";
|
|
130
150
|
readonly unpublished: "Taken off the site";
|
|
131
151
|
readonly saved: "Saved";
|
|
152
|
+
readonly sitting: (count: number) => string;
|
|
153
|
+
readonly showEach: "Show each";
|
|
154
|
+
readonly showAsOne: "Show as one";
|
|
132
155
|
readonly bringBack: "Bring back this version";
|
|
133
156
|
readonly broughtBack: (when: string) => string;
|
|
134
157
|
readonly broughtBackDescription: "It is the working version now. Publish it to put it on the site.";
|
|
@@ -181,10 +204,23 @@ export declare const en: {
|
|
|
181
204
|
readonly pageDuplicate: "Duplicate";
|
|
182
205
|
readonly pageRemove: "Remove";
|
|
183
206
|
readonly pageAdd: "Add section";
|
|
207
|
+
readonly pageReorder: "Reorder sections";
|
|
208
|
+
readonly pageReorderDone: "Done";
|
|
184
209
|
readonly pageAddBefore: "Add a section above";
|
|
185
210
|
readonly pageAddAfter: "Add a section below";
|
|
211
|
+
readonly pagePicture: "Change image";
|
|
212
|
+
readonly pageLink: "Edit link";
|
|
213
|
+
readonly pageTextLinkProblem: "A link must be a web address, an email address, a phone number or a page of this site such as /contact/.";
|
|
214
|
+
readonly pageItemUp: "Move earlier";
|
|
215
|
+
readonly pageItemDown: "Move later";
|
|
216
|
+
readonly pageItemDuplicate: "Duplicate";
|
|
217
|
+
readonly pageItemRemove: "Remove";
|
|
218
|
+
readonly pageLinkDone: "Done";
|
|
186
219
|
readonly visualOpen: "Visual editor";
|
|
187
220
|
readonly visualClose: "Back to the form";
|
|
221
|
+
readonly outlineTitle: "Sections";
|
|
222
|
+
readonly outlineLabel: "Sections of the page";
|
|
223
|
+
readonly outlineEmpty: "No sections yet. Add one in the panel on the right.";
|
|
188
224
|
readonly visualShowForm: "Show the form";
|
|
189
225
|
readonly visualHideForm: "Hide the form";
|
|
190
226
|
readonly pageNotYet: "Save the page once to see it here.";
|
|
@@ -248,8 +284,19 @@ export declare const en: {
|
|
|
248
284
|
readonly saveDraft: "Save draft";
|
|
249
285
|
readonly publish: "Publish";
|
|
250
286
|
readonly publishChanges: "Publish changes";
|
|
287
|
+
readonly viewOnSite: "View on the site";
|
|
251
288
|
readonly unpublish: "Unpublish";
|
|
252
289
|
readonly more: "More actions";
|
|
290
|
+
readonly theme: "Theme";
|
|
291
|
+
readonly themeTitle: "Site theme";
|
|
292
|
+
readonly themeHelp: (settings: string) => string;
|
|
293
|
+
readonly themePublish: "Publish theme";
|
|
294
|
+
readonly themeDiscard: "Discard";
|
|
295
|
+
readonly themePublished: "Theme published";
|
|
296
|
+
readonly themePublishedDescription: "Every page of the site now shows it.";
|
|
297
|
+
readonly themeNotPublished: "The theme was not published";
|
|
298
|
+
readonly undo: "Undo";
|
|
299
|
+
readonly redo: "Redo";
|
|
253
300
|
readonly trash: "Move to trash";
|
|
254
301
|
readonly trashTitle: "Move this to the trash?";
|
|
255
302
|
readonly trashDescription: "It leaves the lists and can be restored from the trash whenever you need it. Changes you have not saved are not kept.";
|
|
@@ -275,6 +322,7 @@ export declare const en: {
|
|
|
275
322
|
readonly notPreviewed: "No preview";
|
|
276
323
|
readonly notSavedYet: "Not saved yet";
|
|
277
324
|
readonly unsavedChanges: "Unsaved changes";
|
|
325
|
+
readonly notAutosaved: "Not saved. Press \"Save draft\" to see why.";
|
|
278
326
|
readonly saved: (when: string) => string;
|
|
279
327
|
readonly draftSaved: "Draft saved";
|
|
280
328
|
readonly draftSavedDescription: "Visitors do not see it until you publish.";
|
|
@@ -481,6 +529,8 @@ export declare const en: {
|
|
|
481
529
|
readonly pipelineSettings: "Deals and new contacts";
|
|
482
530
|
readonly currency: "Currency";
|
|
483
531
|
readonly currencyHelp: "Three letters, such as USD or EUR. Deal values are shown in it.";
|
|
532
|
+
readonly monthlyTarget: "Monthly target";
|
|
533
|
+
readonly monthlyTargetHelp: "What the team means to win each month, in the currency above. The deals screen shows how close this month is. Leave it empty for none.";
|
|
484
534
|
readonly assignTo: "Give new contacts to";
|
|
485
535
|
readonly assignToHelp: "A contact made by a form goes to whichever of these people looks after the fewest. Tick nobody to leave new contacts unassigned.";
|
|
486
536
|
};
|
|
@@ -494,6 +544,8 @@ export declare const en: {
|
|
|
494
544
|
readonly forecastDetail: "Open deals, each counted by its stage's chance";
|
|
495
545
|
readonly won: "Won";
|
|
496
546
|
readonly wonDetail: "Worth of the deals you won";
|
|
547
|
+
readonly targetLabel: (month: string) => string;
|
|
548
|
+
readonly targetProgress: (won: string, target: string, share: string) => string;
|
|
497
549
|
readonly board: "Deals by stage";
|
|
498
550
|
readonly boardEmpty: "No deals here";
|
|
499
551
|
readonly boardMore: (count: number) => string;
|
|
@@ -1225,13 +1277,31 @@ export declare const en: {
|
|
|
1225
1277
|
readonly evening: (name: string) => string;
|
|
1226
1278
|
};
|
|
1227
1279
|
readonly description: (site: string) => string;
|
|
1280
|
+
readonly headline: (greeting: string, waiting: number) => string;
|
|
1281
|
+
/** The words of the headline set apart: they must appear in it exactly. */
|
|
1282
|
+
readonly waitingCount: (waiting: number) => string;
|
|
1283
|
+
readonly carryOn: (title: string) => string;
|
|
1284
|
+
readonly siteWindowTitle: (site: string) => string;
|
|
1285
|
+
readonly editHomeShort: "Edit this page";
|
|
1286
|
+
readonly openSite: "Open the site";
|
|
1287
|
+
readonly publishedWhen: (when: string) => string;
|
|
1288
|
+
readonly asideLabel: "What came in";
|
|
1289
|
+
readonly inboxTitle: "Inbox";
|
|
1290
|
+
readonly inboxNew: "new from your forms";
|
|
1291
|
+
readonly inboxEmpty: "Nothing new. Everything sent through your forms has been seen.";
|
|
1292
|
+
readonly allForms: "All forms";
|
|
1293
|
+
readonly pipelineTitle: "Pipeline";
|
|
1294
|
+
readonly pipelineOpen: "in open deals";
|
|
1295
|
+
readonly pipelineDetail: (weighted: string, won: string) => string;
|
|
1228
1296
|
readonly published: "Published";
|
|
1229
1297
|
readonly publishedDetail: "On the site now";
|
|
1230
1298
|
readonly drafts: "Drafts";
|
|
1231
1299
|
readonly draftsDetail: "Not on the site yet";
|
|
1232
1300
|
readonly changed: "Unpublished changes";
|
|
1233
1301
|
readonly changedDetail: "Saved, waiting to be published";
|
|
1234
|
-
readonly
|
|
1302
|
+
readonly siteTitle: "Your site";
|
|
1303
|
+
readonly editHome: "Edit the home page";
|
|
1304
|
+
readonly viewSite: "View the site";
|
|
1235
1305
|
readonly recentTitle: "Recent changes";
|
|
1236
1306
|
readonly recentEmpty: "Nothing has been written yet";
|
|
1237
1307
|
readonly recentEmptyDescription: "Entries appear here as soon as someone saves one.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAuCM,MAAM;;;;;;;;;;uCAUD,MAAM;wCACL,MAAM;;;;;;;;;;;;;;;;;;;;;;;mCAuBX,MAAM;;;kCAIP,MAAM;;;;sCAIF,MAAM;;;;;;;;;gCASZ,MAAM;;;;;;;;;oCASF,MAAM;;;;;;;mCAOP,MAAM;;;;;;;;;;;iCAWR,MAAM;kCACL,MAAM;;;;8BAIV,MAAM;;;;;;wCAMI,MAAM;;;;;;;;;;;;8BAYhB,MAAM,MAAM,MAAM,GAAG,SAAS;;mCAEzB,SAAS,MAAM,EAAE;;;;kCAIlB,MAAM;;;;qCAIH,MAAM;;;;;8BAKb,MAAM;;;;4CAIQ,MAAM;;;;gDAIF,MAAM;gDACN,MAAM;;;qCAGjB,MAAM;;;oCAGP,MAAM;;;;;;mCAMP,MAAM;;;;;kCAKP,MAAM,YAAY,MAAM;oCACtB,MAAM,YAAY,MAAM;oCACxB,MAAM,YAAY,MAAM;sCACtB,MAAM,YAAY,MAAM;kCAC5B,MAAM,YAAY,MAAM;kCACxB,MAAM,YAAY,MAAM;;;uCAGnB,MAAM;;oCAET,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA+BF,MAAM;;;;;;uCAMP,MAAM,YAAY,MAAM;yCACtB,MAAM,YAAY,MAAM;qCAC5B,MAAM,YAAY,MAAM;qCACxB,MAAM,YAAY,MAAM;;;;;;;;;;0CAUnB,MAAM;4CACJ,MAAM;;;;;;;;;;;8CAWJ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAiCb,MAAM;;;;;;;;;;;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