@docmentis/udoc-editor 0.8.13 → 0.8.15
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/context-menu.d.ts +0 -5
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.js +5 -55
- package/dist/context-menu.js.map +1 -1
- package/dist/edit-mode.d.ts.map +1 -1
- package/dist/edit-mode.js +2 -0
- package/dist/edit-mode.js.map +1 -1
- package/dist/i18n/ar.d.ts.map +1 -1
- package/dist/i18n/ar.js +7 -0
- package/dist/i18n/ar.js.map +1 -1
- package/dist/i18n/de.d.ts.map +1 -1
- package/dist/i18n/de.js +7 -0
- package/dist/i18n/de.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +7 -0
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/es.d.ts.map +1 -1
- package/dist/i18n/es.js +7 -0
- package/dist/i18n/es.js.map +1 -1
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +7 -0
- package/dist/i18n/fr.js.map +1 -1
- package/dist/i18n/ja.d.ts.map +1 -1
- package/dist/i18n/ja.js +7 -0
- package/dist/i18n/ja.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +7 -0
- package/dist/i18n/ko.js.map +1 -1
- package/dist/i18n/messages.d.ts +14 -0
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/i18n/pt-BR.d.ts.map +1 -1
- package/dist/i18n/pt-BR.js +7 -0
- package/dist/i18n/pt-BR.js.map +1 -1
- package/dist/i18n/ru.d.ts.map +1 -1
- package/dist/i18n/ru.js +7 -0
- package/dist/i18n/ru.js.map +1 -1
- package/dist/i18n/zh-CN.d.ts.map +1 -1
- package/dist/i18n/zh-CN.js +7 -0
- package/dist/i18n/zh-CN.js.map +1 -1
- package/dist/i18n/zh-TW.d.ts.map +1 -1
- package/dist/i18n/zh-TW.js +7 -0
- package/dist/i18n/zh-TW.js.map +1 -1
- package/dist/menu-action.d.ts +3 -2
- package/dist/menu-action.d.ts.map +1 -1
- package/dist/menu-action.js.map +1 -1
- package/dist/table.d.ts +35 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/table.js +124 -0
- package/dist/table.js.map +1 -0
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.js +40 -9
- package/dist/tabs.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker/worker-source.js +1 -1
- package/package.json +3 -3
package/dist/table.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CommandDef, EnabledWhen, MenuItem, TableEditKind } from "@docmentis/udoc-ui/internal";
|
|
2
|
+
import type { MessageKey } from "./i18n/index.js";
|
|
3
|
+
import type { EditTools } from "./tools.js";
|
|
4
|
+
/** Delete Rows: `add_row_below` with its plus an × of the same size and strokes.
|
|
5
|
+
* Not the trash can, which on the same menu deletes the whole shape. */
|
|
6
|
+
export declare const ICON_DELETE_ROWS = "<svg viewBox=\"0 -960 960 960\" fill=\"currentColor\"><path d=\"M216-540h528v-228H216v228Zm-72 372v-672h672v672H672V-240.49h72V-468H216v228h72v72H144ZM411-84l-51-51 69-69-69-69 51-51 69 69 69-69 51 51-69 69 69 69-51 51-69-69-69 69Z\"/></svg>";
|
|
7
|
+
/** Unmerge: `cell_merge` with its arrows turned outward. They are shorter, their
|
|
8
|
+
* heads clear of the frame's sides, and their tails meet where the merge arrows'
|
|
9
|
+
* tips do. */
|
|
10
|
+
export declare const ICON_UNMERGE_CELLS = "<svg viewBox=\"0 -960 960 960\" fill=\"currentColor\"><path d=\"M144-144v-240h72v168h168v72H144Zm432 0v-72h168v-168h72v240H576ZM312-336L168-480l144-144 51 51-57 57H432v72H306l57 57-51 51Zm336 0l-51-51 57-57H528v-72h126l-57-57 51-51 144 144-144 144ZM144-576v-240h240v72H216v168h-72Zm600 0v-168H576v-72h240v240h-72Z\"/></svg>";
|
|
11
|
+
/** What a Select ▸ … row widens the current table selection to. Named for the
|
|
12
|
+
* verbs (`selectTableRows` / `selectTableColumns` / `selectTable`) rather than
|
|
13
|
+
* the row labels: the commands widen to *every* row or column the selection
|
|
14
|
+
* touches, which the singular menu wording (Office's) understates. */
|
|
15
|
+
export type TableSelectScope = "rows" | "columns" | "table";
|
|
16
|
+
/** A table structural edit on the selection's table. Carries the sub-domain edit
|
|
17
|
+
* verbatim, so edit mode hands it straight to `executeOnSelection` under the
|
|
18
|
+
* `table` arm. */
|
|
19
|
+
export declare const whenTableEdit: (kind: TableEditKind) => EnabledWhen;
|
|
20
|
+
export declare const TABLE_SELECT_MENU: readonly MenuItem<MessageKey>[];
|
|
21
|
+
export declare const TABLE_INSERT_MENU: readonly MenuItem<MessageKey>[];
|
|
22
|
+
export declare const TABLE_DELETE_MENU: readonly MenuItem<MessageKey>[];
|
|
23
|
+
/**
|
|
24
|
+
* The Table tab's commands, over the {@link EditTools} once edit mode is mounted,
|
|
25
|
+
* in the order of the context menu's rows over a table: the Select dropdown, the
|
|
26
|
+
* four inserts, the two deletes, then Merge and Unmerge.
|
|
27
|
+
*
|
|
28
|
+
* The inserts and deletes stand on the band where the menu puts them behind
|
|
29
|
+
* fly-outs: they are the edits made over and over, and the band has room for them,
|
|
30
|
+
* so a row more or less is a press rather than a dropdown's two, and each delete
|
|
31
|
+
* greys on its own. Select stays a dropdown, its rows named by words that no glyph
|
|
32
|
+
* on the band could tell apart.
|
|
33
|
+
*/
|
|
34
|
+
export declare function tableCommands(tools: () => EditTools): Readonly<Record<string, CommandDef<MessageKey>>>;
|
|
35
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AASlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C;yEACyE;AACzE,eAAO,MAAM,gBAAgB,sPAAgP,CAAC;AAK9Q;;eAEe;AACf,eAAO,MAAM,kBAAkB,wUAAkU,CAAC;AAElW;;;uEAGuE;AACvE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAO5D;;mBAEmB;AACnB,eAAO,MAAM,aAAa,GACrB,MAAM,aAAa,KAAG,WAEe,CAAC;AAM3C,eAAO,MAAM,iBAAiB,EAAE,SAAS,QAAQ,CAAC,UAAU,CAAC,EAQ5D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,SAAS,QAAQ,CAAC,UAAU,CAAC,EA0B5D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,SAAS,QAAQ,CAAC,UAAU,CAAC,EAa5D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CA4FtG"}
|
package/dist/table.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// A table's edits: the rows the context menu shows over a table, and the Table
|
|
2
|
+
// tab's commands, which offer the same edits on the ribbon.
|
|
3
|
+
import { allowsTableEdit, ICON_TOOL_POINTER } from "@docmentis/udoc-ui/internal";
|
|
4
|
+
import { ICON_INSERT_COLUMN_LEFT, ICON_INSERT_COLUMN_RIGHT, ICON_INSERT_ROW_ABOVE, ICON_INSERT_ROW_BELOW, ICON_MERGE_CELLS, } from "./icons.js";
|
|
5
|
+
import { editAction, runEditMenuAction } from "./menu-action.js";
|
|
6
|
+
// The table glyphs Material Symbols has no symbol for, each drawn from the one it
|
|
7
|
+
// is the opposite of, which keeps its frame and strokes. Modified from Material
|
|
8
|
+
// Symbols, © Google LLC, licensed under the Apache License 2.0:
|
|
9
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
/** Delete Rows: `add_row_below` with its plus an × of the same size and strokes.
|
|
11
|
+
* Not the trash can, which on the same menu deletes the whole shape. */
|
|
12
|
+
export const ICON_DELETE_ROWS = `<svg viewBox="0 -960 960 960" fill="currentColor"><path d="M216-540h528v-228H216v228Zm-72 372v-672h672v672H672V-240.49h72V-468H216v228h72v72H144ZM411-84l-51-51 69-69-69-69 51-51 69 69 69-69 51 51-69 69 69 69-51 51-69-69-69 69Z"/></svg>`;
|
|
13
|
+
/** Delete Columns: `add_column_right`, as {@link ICON_DELETE_ROWS} is `add_row_below`. */
|
|
14
|
+
const ICON_DELETE_COLUMNS = `<svg viewBox="0 -960 960 960" fill="currentColor"><path d="M192-744v528h228v-528H192Zm-72 600v-672h672v144H719.51v-72H492v528h228v-72h72v144H120ZM687-360l-51-51 69-69-69-69 51-51 69 69 69-69 51 51-69 69 69 69-51 51-69-69-69 69Z"/></svg>`;
|
|
15
|
+
/** Unmerge: `cell_merge` with its arrows turned outward. They are shorter, their
|
|
16
|
+
* heads clear of the frame's sides, and their tails meet where the merge arrows'
|
|
17
|
+
* tips do. */
|
|
18
|
+
export const ICON_UNMERGE_CELLS = `<svg viewBox="0 -960 960 960" fill="currentColor"><path d="M144-144v-240h72v168h168v72H144Zm432 0v-72h168v-168h72v240H576ZM312-336L168-480l144-144 51 51-57 57H432v72H306l57 57-51 51Zm336 0l-51-51 57-57H528v-72h126l-57-57 51-51 144 144-144 144ZM144-576v-240h240v72H216v168h-72Zm600 0v-168H576v-72h240v240h-72Z"/></svg>`;
|
|
19
|
+
/** Enabled whenever a document is open — the Select rows, which only show where
|
|
20
|
+
* there is a table to widen in: a right-click on one, or the Table tab's
|
|
21
|
+
* Select, which {@link inTable} greys. */
|
|
22
|
+
const whenReady = (c) => c.ready;
|
|
23
|
+
/** A table structural edit on the selection's table. Carries the sub-domain edit
|
|
24
|
+
* verbatim, so edit mode hands it straight to `executeOnSelection` under the
|
|
25
|
+
* `table` arm. */
|
|
26
|
+
export const whenTableEdit = (kind) => (c) => allowsTableEdit(c.selection, kind);
|
|
27
|
+
/** Whether the selection is in a table: a caret in a cell, or a block of cells.
|
|
28
|
+
* Inserting is live wherever the selection names a row to insert beside. */
|
|
29
|
+
const inTable = whenTableEdit("insertRows");
|
|
30
|
+
export const TABLE_SELECT_MENU = [
|
|
31
|
+
{ action: editAction({ kind: "selectTable", scope: "rows" }), label: "table.selectRow", enabledWhen: whenReady },
|
|
32
|
+
{
|
|
33
|
+
action: editAction({ kind: "selectTable", scope: "columns" }),
|
|
34
|
+
label: "table.selectColumn",
|
|
35
|
+
enabledWhen: whenReady,
|
|
36
|
+
},
|
|
37
|
+
{ action: editAction({ kind: "selectTable", scope: "table" }), label: "table.selectTable", enabledWhen: whenReady },
|
|
38
|
+
];
|
|
39
|
+
export const TABLE_INSERT_MENU = [
|
|
40
|
+
{
|
|
41
|
+
action: editAction({ kind: "tableEdit", edit: { insertRows: { before: true, count: 1 } } }),
|
|
42
|
+
label: "table.rowAbove",
|
|
43
|
+
icon: ICON_INSERT_ROW_ABOVE,
|
|
44
|
+
enabledWhen: whenTableEdit("insertRows"),
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
action: editAction({ kind: "tableEdit", edit: { insertRows: { before: false, count: 1 } } }),
|
|
48
|
+
label: "table.rowBelow",
|
|
49
|
+
icon: ICON_INSERT_ROW_BELOW,
|
|
50
|
+
enabledWhen: whenTableEdit("insertRows"),
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
action: editAction({ kind: "tableEdit", edit: { insertColumns: { before: true, count: 1 } } }),
|
|
54
|
+
label: "table.columnLeft",
|
|
55
|
+
icon: ICON_INSERT_COLUMN_LEFT,
|
|
56
|
+
enabledWhen: whenTableEdit("insertColumns"),
|
|
57
|
+
separatorBefore: true,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
action: editAction({ kind: "tableEdit", edit: { insertColumns: { before: false, count: 1 } } }),
|
|
61
|
+
label: "table.columnRight",
|
|
62
|
+
icon: ICON_INSERT_COLUMN_RIGHT,
|
|
63
|
+
enabledWhen: whenTableEdit("insertColumns"),
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
export const TABLE_DELETE_MENU = [
|
|
67
|
+
{
|
|
68
|
+
action: editAction({ kind: "tableEdit", edit: "deleteRows" }),
|
|
69
|
+
label: "table.deleteRows",
|
|
70
|
+
icon: ICON_DELETE_ROWS,
|
|
71
|
+
enabledWhen: whenTableEdit("deleteRows"),
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
action: editAction({ kind: "tableEdit", edit: "deleteColumns" }),
|
|
75
|
+
label: "table.deleteColumns",
|
|
76
|
+
icon: ICON_DELETE_COLUMNS,
|
|
77
|
+
enabledWhen: whenTableEdit("deleteColumns"),
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
/**
|
|
81
|
+
* The Table tab's commands, over the {@link EditTools} once edit mode is mounted,
|
|
82
|
+
* in the order of the context menu's rows over a table: the Select dropdown, the
|
|
83
|
+
* four inserts, the two deletes, then Merge and Unmerge.
|
|
84
|
+
*
|
|
85
|
+
* The inserts and deletes stand on the band where the menu puts them behind
|
|
86
|
+
* fly-outs: they are the edits made over and over, and the band has room for them,
|
|
87
|
+
* so a row more or less is a press rather than a dropdown's two, and each delete
|
|
88
|
+
* greys on its own. Select stays a dropdown, its rows named by words that no glyph
|
|
89
|
+
* on the band could tell apart.
|
|
90
|
+
*/
|
|
91
|
+
export function tableCommands(tools) {
|
|
92
|
+
const button = (id, group, label, icon, edit, kind) => ({
|
|
93
|
+
id,
|
|
94
|
+
label,
|
|
95
|
+
icon,
|
|
96
|
+
group,
|
|
97
|
+
run: {
|
|
98
|
+
kind: "action",
|
|
99
|
+
cluster: "table",
|
|
100
|
+
press: () => runEditMenuAction(tools(), { kind: "tableEdit", edit }),
|
|
101
|
+
},
|
|
102
|
+
enabledWhen: whenTableEdit(kind),
|
|
103
|
+
});
|
|
104
|
+
const insert = (id, label, icon, edit, kind) => button(id, "tableInsert", label, icon, edit, kind);
|
|
105
|
+
return {
|
|
106
|
+
tableSelect: {
|
|
107
|
+
id: "tableSelect",
|
|
108
|
+
label: "table.select",
|
|
109
|
+
icon: ICON_TOOL_POINTER,
|
|
110
|
+
group: "tableSelect",
|
|
111
|
+
run: { kind: "menu", menu: TABLE_SELECT_MENU },
|
|
112
|
+
enabledWhen: inTable,
|
|
113
|
+
},
|
|
114
|
+
tableInsertRowAbove: insert("tableInsertRowAbove", "table.insertRowAbove", ICON_INSERT_ROW_ABOVE, { insertRows: { before: true, count: 1 } }, "insertRows"),
|
|
115
|
+
tableInsertRowBelow: insert("tableInsertRowBelow", "table.insertRowBelow", ICON_INSERT_ROW_BELOW, { insertRows: { before: false, count: 1 } }, "insertRows"),
|
|
116
|
+
tableInsertColumnLeft: insert("tableInsertColumnLeft", "table.insertColumnLeft", ICON_INSERT_COLUMN_LEFT, { insertColumns: { before: true, count: 1 } }, "insertColumns"),
|
|
117
|
+
tableInsertColumnRight: insert("tableInsertColumnRight", "table.insertColumnRight", ICON_INSERT_COLUMN_RIGHT, { insertColumns: { before: false, count: 1 } }, "insertColumns"),
|
|
118
|
+
tableDeleteRows: button("tableDeleteRows", "tableDelete", "table.deleteRowsButton", ICON_DELETE_ROWS, "deleteRows", "deleteRows"),
|
|
119
|
+
tableDeleteColumns: button("tableDeleteColumns", "tableDelete", "table.deleteColumnsButton", ICON_DELETE_COLUMNS, "deleteColumns", "deleteColumns"),
|
|
120
|
+
tableMerge: button("tableMerge", "tableMerge", "table.mergeCells", ICON_MERGE_CELLS, "mergeCells", "mergeCells"),
|
|
121
|
+
tableUnmerge: button("tableUnmerge", "tableMerge", "table.unmergeCells", ICON_UNMERGE_CELLS, "unmergeCells", "unmergeCells"),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
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ACd,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,YAAY,CACf;QACD,YAAY,EAAE,MAAM,CAChB,cAAc,EACd,YAAY,EACZ,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,cAAc,CACjB;KACJ,CAAC;AACN,CAAC"}
|
package/dist/tabs.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { UDocType } from "@docmentis/udoc-ui";
|
|
|
2
2
|
import type { CommandId, ToolbarTab } from "@docmentis/udoc-ui/internal";
|
|
3
3
|
import type { MessageKey } from "./i18n/index.js";
|
|
4
4
|
/** A command edit mode's tabs name: udoc-ui's, or the editor's own. */
|
|
5
|
-
export type EditCommandId = CommandId | "paragraphStyle" | "fontFamily" | "fontSize" | "bold" | "italic" | "underline" | "strikethrough" | "superscript" | "subscript" | "widthScale" | "textFill" | "textHighlight" | "paragraphAlign" | "lineSpacing" | "bulletList" | "numberList" | "shapeFillColor" | "shapeStrokeColor" | "shapeOrder" | "shapeAlign" | "shapeRotate" | "shapeGroup" | "shapeUngroup" | "objectFillColor" | "objectStrokeColor" | "objectOrder" | "objectAlign" | "objectRotate" | "objectGroup" | "objectUngroup" | "ruler" | "createSlide" | "insertImage" | "insertShape" | "insertGalleryShape" | "rotatePageLeft" | "rotatePageRight" | "flipPageHorizontal" | "flipPageVertical" | "cropPage" | "resizePage" | "cropAspect" | "cropReset" | "cropCancel" | "cropApply";
|
|
5
|
+
export type EditCommandId = CommandId | "paragraphStyle" | "fontFamily" | "fontSize" | "bold" | "italic" | "underline" | "strikethrough" | "superscript" | "subscript" | "widthScale" | "textFill" | "textHighlight" | "paragraphAlign" | "lineSpacing" | "bulletList" | "numberList" | "shapeFillColor" | "shapeStrokeColor" | "shapeOrder" | "shapeAlign" | "shapeRotate" | "shapeGroup" | "shapeUngroup" | "objectFillColor" | "objectStrokeColor" | "objectOrder" | "objectAlign" | "objectRotate" | "objectGroup" | "objectUngroup" | "tableSelect" | "tableInsertRowAbove" | "tableInsertRowBelow" | "tableInsertColumnLeft" | "tableInsertColumnRight" | "tableDeleteRows" | "tableDeleteColumns" | "tableMerge" | "tableUnmerge" | "ruler" | "createSlide" | "insertImage" | "insertShape" | "insertGalleryShape" | "rotatePageLeft" | "rotatePageRight" | "flipPageHorizontal" | "flipPageVertical" | "cropPage" | "resizePage" | "cropAspect" | "cropReset" | "cropCancel" | "cropApply";
|
|
6
6
|
/** A tab of edit mode's. */
|
|
7
7
|
type EditTab = ToolbarTab<MessageKey>;
|
|
8
8
|
/** Edit mode's tab strip for a document of `docType`. */
|
package/dist/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../src/tabs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AASnD,OAAO,KAAK,EAAE,SAAS,EAAyB,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,uEAAuE;AACvE,MAAM,MAAM,aAAa,GACnB,SAAS,GACT,gBAAgB,GAChB,YAAY,GACZ,UAAU,GACV,MAAM,GACN,QAAQ,GACR,WAAW,GACX,eAAe,GACf,aAAa,GACb,WAAW,GACX,YAAY,GACZ,UAAU,GACV,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,eAAe,GACf,OAAO,GACP,aAAa,GACb,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,UAAU,GACV,YAAY,GACZ,YAAY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IAAI,GAAG,SAAS,OAAO,EAAE,CAerE"}
|
package/dist/tabs.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { allowsEdit, allowsTableEdit, allowsTextEdit, ANNOTATE_TAB, presentTab, viewTab, } from "@docmentis/udoc-ui/internal";
|
|
2
2
|
import { RULED } from "./ruler.js";
|
|
3
3
|
/** Whether `caps` is a selection in text: a caret or a range — in a shape's
|
|
4
|
-
* text too, which a selection reports with the shape's own edits
|
|
5
|
-
* table's
|
|
6
|
-
* tab a caret in one opened. */
|
|
4
|
+
* text too, which a selection reports with the shape's own edits, and in a
|
|
5
|
+
* table's cell, which reports the cell's text edits. */
|
|
7
6
|
function inText(caps) {
|
|
8
|
-
return allowsTextEdit(caps, "insertText")
|
|
7
|
+
return allowsTextEdit(caps, "insertText");
|
|
8
|
+
}
|
|
9
|
+
/** Whether `caps` is in a table: a caret in a cell, or a block of cells. */
|
|
10
|
+
function inTable(caps) {
|
|
11
|
+
return allowsTableEdit(caps, "insertRows");
|
|
9
12
|
}
|
|
10
13
|
/** Whether `caps` holds picked shapes: a slide's, a word document's drawings,
|
|
11
14
|
* those drawn over an image. */
|
|
@@ -92,6 +95,31 @@ const SHAPE_TAB = {
|
|
|
92
95
|
],
|
|
93
96
|
opensFor: pickedShapes,
|
|
94
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* The Table tab — the edits of the table the selection is in: the Select dropdown,
|
|
100
|
+
* the four inserts, the two deletes, then Merge and Unmerge. A block of cells
|
|
101
|
+
* opens it, a selection with no text of its own to format. A caret in a cell opens
|
|
102
|
+
* the Text tab ahead of it, as a caret in a shape's text does ahead of Shape, but
|
|
103
|
+
* leaves this tab open if it is: selecting a row, deleting it and clicking a cell
|
|
104
|
+
* goes from a block to a caret and back, all of it this tab's work.
|
|
105
|
+
*/
|
|
106
|
+
const TABLE_TAB = {
|
|
107
|
+
id: "table",
|
|
108
|
+
label: "ribbon.table",
|
|
109
|
+
commands: [
|
|
110
|
+
"tableSelect",
|
|
111
|
+
"tableInsertRowAbove",
|
|
112
|
+
"tableInsertRowBelow",
|
|
113
|
+
"tableInsertColumnLeft",
|
|
114
|
+
"tableInsertColumnRight",
|
|
115
|
+
"tableDeleteRows",
|
|
116
|
+
"tableDeleteColumns",
|
|
117
|
+
"tableMerge",
|
|
118
|
+
"tableUnmerge",
|
|
119
|
+
],
|
|
120
|
+
opensFor: inTable,
|
|
121
|
+
staysOpen: true,
|
|
122
|
+
};
|
|
95
123
|
/**
|
|
96
124
|
* The Object tab — the portable (PDF) counterpart of {@link SHAPE_TAB}: its own
|
|
97
125
|
* Fill / Line and arrangement, gated on the object edits, over the page's content
|
|
@@ -169,18 +197,21 @@ const PORTABLE_TABS = [
|
|
|
169
197
|
presentTab("portable"),
|
|
170
198
|
editViewTab("portable"),
|
|
171
199
|
];
|
|
172
|
-
/** The presentation strip: its own Insert, then Text (character formatting)
|
|
173
|
-
* and Shape (free-floating graphics), then Present, and its View last.
|
|
200
|
+
/** The presentation strip: its own Insert, then Text (character formatting),
|
|
201
|
+
* Table and Shape (free-floating graphics), then Present, and its View last.
|
|
202
|
+
* Table goes ahead of Shape as Text does: a block of cells also reports the
|
|
203
|
+
* edits of the frame around them, and the first tab holding for it opens. */
|
|
174
204
|
const PRESENTATION_TABS = [
|
|
175
205
|
PRESENTATION_INSERT_TAB,
|
|
176
206
|
PRESENTATION_TEXT_TAB,
|
|
207
|
+
TABLE_TAB,
|
|
177
208
|
SHAPE_TAB,
|
|
178
209
|
presentTab("presentation"),
|
|
179
210
|
editViewTab("presentation"),
|
|
180
211
|
];
|
|
181
|
-
/** The wordprocessing strip: Text, then Shape for the drawings in its
|
|
182
|
-
* and its View last. */
|
|
183
|
-
const WORDPROCESSING_TABS = [TEXT_TAB, SHAPE_TAB, editViewTab("wordprocessing")];
|
|
212
|
+
/** The wordprocessing strip: Text and Table, then Shape for the drawings in its
|
|
213
|
+
* flow, and its View last. */
|
|
214
|
+
const WORDPROCESSING_TABS = [TEXT_TAB, TABLE_TAB, SHAPE_TAB, editViewTab("wordprocessing")];
|
|
184
215
|
/** The image strip: its own Image and Insert, then the Text and Shape tabs of
|
|
185
216
|
* the shapes drawn over its pages — a deck's, as they are a slide's shapes —
|
|
186
217
|
* and its View last. */
|
package/dist/tabs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.js","sourceRoot":"","sources":["../src/tabs.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,UAAU,EACV,eAAe,EACf,cAAc,EACd,YAAY,EACZ,UAAU,EACV,OAAO,GACV,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"tabs.js","sourceRoot":"","sources":["../src/tabs.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,UAAU,EACV,eAAe,EACf,cAAc,EACd,YAAY,EACZ,UAAU,EACV,OAAO,GACV,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AA+DnC;;yDAEyD;AACzD,SAAS,MAAM,CAAC,IAA2B;IACvC,OAAO,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAC9C,CAAC;AAED,4EAA4E;AAC5E,SAAS,OAAO,CAAC,IAA2B;IACxC,OAAO,eAAe,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAC/C,CAAC;AAED;iCACiC;AACjC,SAAS,YAAY,CAAC,IAA2B;IAC7C,OAAO,UAAU,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AAC5C,CAAC;AAED,2EAA2E;AAC3E,SAAS,WAAW,CAAC,IAA2B;IAC5C,OAAO,UAAU,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;AAChD,CAAC;AAED,6EAA6E;AAC7E,SAAS,WAAW,CAAC,IAA2B;IAC5C,OAAO,UAAU,CAAC,IAAI,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,mBAA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1
|
-
export declare const WRAPPER_VERSION = "0.8.
|
|
1
|
+
export declare const WRAPPER_VERSION = "0.8.15";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
// This package's version, reported to the engine as the wrapper version so a
|
|
4
4
|
// permit request and a usage event can name what produced them. Generated from
|
|
5
5
|
// package.json, which is the one place a release bumps.
|
|
6
|
-
export const WRAPPER_VERSION = "0.8.
|
|
6
|
+
export const WRAPPER_VERSION = "0.8.15";
|
|
7
7
|
//# sourceMappingURL=version.js.map
|