@webx-ui/module-pages 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PageActions.d.ts +7 -8
- package/dist/PageEditorPage.d.ts +3 -3
- package/dist/PagesPage.d.ts +1 -3
- package/dist/index.js +707 -807
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
package/dist/PageActions.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PageRow } from './types';
|
|
2
2
|
/**
|
|
3
|
-
* What a row
|
|
3
|
+
* What a row of the page tree offers.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* to
|
|
5
|
+
* A list of actions rather than markup, handed to the panel's one row menu: a table cell and
|
|
6
|
+
* a card on a phone both get the same `···` in the same place, and so does every other
|
|
7
|
+
* section (§20). What is written here is only which actions this row has — a page that is the
|
|
8
|
+
* home page has no copy and nowhere else to be, and a page in the bin has one way out.
|
|
9
|
+
*
|
|
10
|
+
* Nothing here is offered and then refused: an action somebody has no right to is left out.
|
|
9
11
|
*/
|
|
10
12
|
type __VLS_Props = {
|
|
11
13
|
page: PageRow;
|
|
12
14
|
inBin?: boolean;
|
|
13
|
-
/** Only the menu, for a card. */
|
|
14
|
-
menuOnly?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
open: (page: PageRow) => any;
|
|
@@ -31,6 +31,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
31
|
onCopy?: ((page: PageRow) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
inBin: boolean;
|
|
34
|
-
menuOnly: boolean;
|
|
35
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
35
|
export default _default;
|
package/dist/PageEditorPage.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* The editor of one page: a head that stays put, and the described screen under it.
|
|
3
3
|
*
|
|
4
4
|
* What the page itself owns is the head — where this page sits, what state it is in, and the
|
|
5
|
-
*
|
|
6
|
-
* `pages.form`, so a module or a project adds a tab to
|
|
7
|
-
* than with a fork of this file.
|
|
5
|
+
* way out to the site — and the bar along the bottom, which is where the page is saved and
|
|
6
|
+
* published. Everything between them is `pages.form`, so a module or a project adds a tab to
|
|
7
|
+
* the editor with a patch (§12) rather than with a fork of this file.
|
|
8
8
|
*
|
|
9
9
|
* Saving is by autosave: a pause after the last keystroke, and the moment a field is left. The
|
|
10
10
|
* explicit button is still there, because a button that says "saved" is the only way a person
|
package/dist/PagesPage.d.ts
CHANGED
|
@@ -14,7 +14,5 @@ type __VLS_Props = {
|
|
|
14
14
|
};
|
|
15
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
16
|
base: string;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
-
root: HTMLDivElement;
|
|
19
|
-
}, HTMLDivElement>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
18
|
export default _default;
|