spell-ui 0.8.12 → 0.8.14
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/README-components.md +5 -3
- package/dist/{Dragging-B93hbRxF.js → Dragging-tHPSvf3G.js} +56 -13
- package/dist/Dragging-tHPSvf3G.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +8 -1
- package/dist/_spell-element/drawnWindow.d.ts +62 -0
- package/dist/_util/Dragging.d.ts +7 -0
- package/dist/components/components.types.d.ts +2 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +3 -0
- package/dist/components/ui-graph/GraphLayout.d.ts +54 -0
- package/dist/components/ui-graph/UIGraph.d.ts +355 -0
- package/dist/components/ui-graph/UIGraph.en.d.ts +137 -0
- package/dist/components/ui-graph/UIGraph.es.d.ts +48 -0
- package/dist/components/ui-graph/UIGraph.types.d.ts +193 -0
- package/dist/components/ui-graph/index.d.ts +5 -0
- package/dist/components/ui-json/UIJson.d.ts +275 -10
- package/dist/components/ui-json/UIJson.en.d.ts +148 -9
- package/dist/components/ui-json/UIJson.es.d.ts +34 -3
- package/dist/components/ui-json/index.d.ts +2 -2
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +2 -16
- package/dist/components/ui-tree/UITree.d.ts +758 -26
- package/dist/components/ui-tree/UITree.en.d.ts +113 -3
- package/dist/components/ui-tree/UITree.es.d.ts +24 -0
- package/dist/components/ui-tree/UITree.types.d.ts +34 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +40 -1
- package/dist/components/ui-tree/UITreeItem.en.d.ts +9 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +2 -0
- package/dist/components/ui-tree/index.d.ts +3 -2
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +3 -0
- package/dist/{components.es-DEa8Ep42.js → components.es-DilRG1VO.js} +117 -9
- package/dist/components.es-DilRG1VO.js.map +1 -0
- package/dist/core.js +713 -671
- package/dist/core.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +97 -96
- package/dist/jsx.d.ts +489 -20
- package/dist/ui-diagram.js +2 -2
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-graph.editor-DLsXPyby.js +5 -0
- package/dist/ui-graph.editor-DLsXPyby.js.map +1 -0
- package/dist/ui-graph.js +1295 -0
- package/dist/ui-graph.js.map +1 -0
- package/dist/ui-json.editor-BS-v1bqO.js +5 -0
- package/dist/ui-json.editor-BS-v1bqO.js.map +1 -0
- package/dist/ui-json.js +629 -32
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-property-editor.js +3 -2
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-root.js +34 -3
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-site-nav.js +4 -4
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-split-panel.js +31 -61
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-tree-diagram.js +1 -1
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.editor-Bqsa0dYQ.js +5 -0
- package/dist/ui-tree.editor-Bqsa0dYQ.js.map +1 -0
- package/dist/ui-tree.js +1734 -237
- package/dist/ui-tree.js.map +1 -1
- package/dist/util/PaneSizes.d.ts +42 -0
- package/dist/util/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/Dragging-B93hbRxF.js.map +0 -1
- package/dist/components.es-DEa8Ep42.js.map +0 -1
- package/dist/ui-json.editor-BgZbrB_W.js +0 -5
- package/dist/ui-json.editor-BgZbrB_W.js.map +0 -1
- package/dist/ui-tree.editor-BoQztwdz.js +0 -5
- package/dist/ui-tree.editor-BoQztwdz.js.map +0 -1
|
@@ -30,6 +30,11 @@ export declare const treeVocabulary: {
|
|
|
30
30
|
readonly group: "behaviour";
|
|
31
31
|
readonly kind: "string";
|
|
32
32
|
readonly description: string;
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "tools";
|
|
35
|
+
readonly group: "behaviour";
|
|
36
|
+
readonly kind: "keyOnly";
|
|
37
|
+
readonly description: string;
|
|
33
38
|
}, {
|
|
34
39
|
readonly name: "label";
|
|
35
40
|
readonly group: "behaviour";
|
|
@@ -46,20 +51,57 @@ export declare const treeVocabulary: {
|
|
|
46
51
|
readonly group: "appearance";
|
|
47
52
|
readonly kind: "string";
|
|
48
53
|
readonly description: string;
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "items";
|
|
56
|
+
readonly group: "content";
|
|
57
|
+
readonly kind: "json";
|
|
58
|
+
readonly reflect: false;
|
|
59
|
+
readonly description: string;
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "path";
|
|
62
|
+
readonly group: "behaviour";
|
|
63
|
+
readonly kind: "json";
|
|
64
|
+
readonly reflect: false;
|
|
65
|
+
readonly description: string;
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "size";
|
|
68
|
+
readonly group: "appearance";
|
|
69
|
+
readonly kind: "string";
|
|
70
|
+
readonly description: string;
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "narrow-before";
|
|
73
|
+
readonly group: "appearance";
|
|
74
|
+
readonly kind: "number";
|
|
75
|
+
readonly default: 2;
|
|
76
|
+
readonly description: string;
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "show";
|
|
79
|
+
readonly group: "appearance";
|
|
80
|
+
readonly kind: "string";
|
|
81
|
+
readonly description: string;
|
|
49
82
|
}, {
|
|
50
83
|
readonly name: "sticky-path";
|
|
51
84
|
readonly group: "behaviour";
|
|
52
85
|
readonly kind: "keyOnly";
|
|
53
86
|
readonly description: string;
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "sticky-detail";
|
|
89
|
+
readonly group: "behaviour";
|
|
90
|
+
readonly kind: "keyOnly";
|
|
91
|
+
readonly description: string;
|
|
54
92
|
}];
|
|
55
93
|
readonly events: readonly [{
|
|
56
94
|
readonly name: "ui-selecting";
|
|
57
95
|
readonly cancelable: true;
|
|
58
|
-
readonly detail: "{ item: HTMLElement, value: string, originalEvent?: Event }";
|
|
96
|
+
readonly detail: "{ item: HTMLElement | TreeItemData, value: string, path?: string[], originalEvent?: Event }";
|
|
59
97
|
readonly description: string;
|
|
60
98
|
}, {
|
|
61
99
|
readonly name: "ui-changed";
|
|
62
|
-
readonly detail: "{ value: string, values: string[], originalEvent?: Event }";
|
|
100
|
+
readonly detail: "{ value: string, values: string[], item?: HTMLElement | TreeItemData, path?: string[], originalEvent?: Event }";
|
|
101
|
+
readonly description: string;
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "ui-settled";
|
|
104
|
+
readonly detail: "{ value: string, values: string[], item?: HTMLElement | TreeItemData, path?: string[], originalEvent?: Event }";
|
|
63
105
|
readonly description: string;
|
|
64
106
|
}];
|
|
65
107
|
readonly slots: readonly [{
|
|
@@ -68,6 +110,12 @@ export declare const treeVocabulary: {
|
|
|
68
110
|
}, {
|
|
69
111
|
readonly name: "empty";
|
|
70
112
|
readonly description: "Shown when `filter` matches no row.";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "tools";
|
|
115
|
+
readonly description: string;
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "detail";
|
|
118
|
+
readonly description: string;
|
|
71
119
|
}];
|
|
72
120
|
readonly parts: readonly [{
|
|
73
121
|
readonly name: "empty";
|
|
@@ -78,6 +126,33 @@ export declare const treeVocabulary: {
|
|
|
78
126
|
}, {
|
|
79
127
|
readonly name: "path-row";
|
|
80
128
|
readonly description: "`sticky-path`: each row's name in the path.";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "narrow-column";
|
|
131
|
+
readonly description: string;
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "column-title";
|
|
134
|
+
readonly description: string;
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: "column";
|
|
137
|
+
readonly description: "`appearance=\"columns\"` with `items`: one column.";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "detail";
|
|
140
|
+
readonly description: "`appearance=\"columns\"`: the pane around the `detail` slot.";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "column-row";
|
|
143
|
+
readonly description: "`appearance=\"columns\"` with `items`: one row of a column.";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "tools";
|
|
146
|
+
readonly description: "`tools`: the line of buttons above the rows.";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "tool";
|
|
149
|
+
readonly description: "`tools`: each button.";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "matches-title";
|
|
152
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: the title over the matches elsewhere in the tree.";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "match";
|
|
155
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: a match elsewhere in the tree, with the rows it's inside.";
|
|
81
156
|
}];
|
|
82
157
|
readonly states: readonly [{
|
|
83
158
|
readonly name: "filtering";
|
|
@@ -88,6 +163,9 @@ export declare const treeVocabulary: {
|
|
|
88
163
|
}, {
|
|
89
164
|
readonly name: "columns";
|
|
90
165
|
readonly description: "Its `appearance` is `columns`: a column per level, side by side.";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "resizing";
|
|
168
|
+
readonly description: "`appearance=\"columns\"`: the line after a column is being dragged.";
|
|
91
169
|
}];
|
|
92
170
|
readonly texts: readonly [{
|
|
93
171
|
readonly key: "noMatches";
|
|
@@ -96,6 +174,38 @@ export declare const treeVocabulary: {
|
|
|
96
174
|
}, {
|
|
97
175
|
readonly key: "resizeColumn";
|
|
98
176
|
readonly text: "Resize this column";
|
|
99
|
-
readonly description:
|
|
177
|
+
readonly description: string;
|
|
178
|
+
}, {
|
|
179
|
+
readonly key: "resizeDetail";
|
|
180
|
+
readonly text: "Resize the detail pane";
|
|
181
|
+
readonly description: string;
|
|
182
|
+
}, {
|
|
183
|
+
readonly key: "loading";
|
|
184
|
+
readonly text: "Loading";
|
|
185
|
+
readonly description: "`appearance=\"columns\"`: what a screen reader hears while a column's rows are on their way.";
|
|
186
|
+
}, {
|
|
187
|
+
readonly key: "openLevels";
|
|
188
|
+
readonly text: "Open {levels} levels";
|
|
189
|
+
readonly description: "`tools`: the button that opens the tree so that many levels of rows show.";
|
|
190
|
+
}, {
|
|
191
|
+
readonly key: "closeAll";
|
|
192
|
+
readonly text: "Close all";
|
|
193
|
+
readonly description: "`tools`: the button that closes every row.";
|
|
194
|
+
}, {
|
|
195
|
+
readonly key: "elsewhere";
|
|
196
|
+
readonly text: "Elsewhere in the tree";
|
|
197
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: the title over the matches outside the filtered column.";
|
|
198
|
+
}, {
|
|
199
|
+
readonly key: "lookingElsewhere";
|
|
200
|
+
readonly text: "Looking through the tree";
|
|
201
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: what a screen reader hears while promised rows are on their way.";
|
|
202
|
+
}, {
|
|
203
|
+
readonly key: "moreMatches";
|
|
204
|
+
readonly text: "{count} more, not listed";
|
|
205
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: how many matches elsewhere aren't listed.";
|
|
206
|
+
}, {
|
|
207
|
+
readonly key: "stoppedLooking";
|
|
208
|
+
readonly text: "Stopped looking after {count} rows";
|
|
209
|
+
readonly description: "`appearance=\"columns\"` with a `filter`: the look through the tree went through that many rows, and stopped.";
|
|
100
210
|
}];
|
|
101
211
|
};
|
|
@@ -13,6 +13,11 @@ export declare const treeEs: {
|
|
|
13
13
|
readonly filter: "filtro";
|
|
14
14
|
readonly "sticky-path": "ruta-fija";
|
|
15
15
|
readonly "column-titles": "titulos-de-columnas";
|
|
16
|
+
readonly path: "ruta";
|
|
17
|
+
readonly show: "mostrar";
|
|
18
|
+
readonly "narrow-before": "estrechar-antes";
|
|
19
|
+
readonly "sticky-detail": "detalle-fijo";
|
|
20
|
+
readonly tools: "herramientas";
|
|
16
21
|
};
|
|
17
22
|
readonly values: {
|
|
18
23
|
readonly appearance: {
|
|
@@ -22,17 +27,36 @@ export declare const treeEs: {
|
|
|
22
27
|
};
|
|
23
28
|
readonly events: {
|
|
24
29
|
readonly "ui-selecting": "ui-seleccionando";
|
|
30
|
+
readonly "ui-settled": "ui-asentado";
|
|
25
31
|
};
|
|
26
32
|
readonly slots: {
|
|
27
33
|
readonly empty: "vacio";
|
|
34
|
+
readonly detail: "detalle";
|
|
35
|
+
readonly tools: "herramientas";
|
|
28
36
|
};
|
|
29
37
|
readonly parts: {
|
|
30
38
|
readonly empty: "vacio";
|
|
31
39
|
readonly path: "ruta";
|
|
32
40
|
readonly "path-row": "fila-de-ruta";
|
|
41
|
+
readonly column: "columna";
|
|
42
|
+
readonly "column-row": "fila-de-columna";
|
|
43
|
+
readonly "narrow-column": "columna-estrecha";
|
|
44
|
+
readonly "column-title": "titulo-de-columna";
|
|
45
|
+
readonly tools: "herramientas";
|
|
46
|
+
readonly tool: "herramienta";
|
|
47
|
+
readonly "matches-title": "titulo-de-coincidencias";
|
|
48
|
+
readonly match: "coincidencia";
|
|
33
49
|
};
|
|
34
50
|
readonly texts: {
|
|
35
51
|
readonly noMatches: "Nada coincide";
|
|
36
52
|
readonly resizeColumn: "Cambiar el ancho de esta columna";
|
|
53
|
+
readonly resizeDetail: "Cambiar el ancho del panel de detalle";
|
|
54
|
+
readonly loading: "Cargando";
|
|
55
|
+
readonly openLevels: "Abrir {levels} niveles";
|
|
56
|
+
readonly closeAll: "Cerrar todo";
|
|
57
|
+
readonly elsewhere: "En otras partes del árbol";
|
|
58
|
+
readonly lookingElsewhere: "Buscando en el árbol";
|
|
59
|
+
readonly moreMatches: "{count} más, sin listar";
|
|
60
|
+
readonly stoppedLooking: "Dejó de buscar tras {count} filas";
|
|
37
61
|
};
|
|
38
62
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The data a `<ui-tree appearance="columns">` takes as its `items` property, and the parts a row can `show`.
|
|
3
|
+
* - Pure data: the vocabulary and `UITree.tsx` both read it.
|
|
4
|
+
*/
|
|
5
|
+
/****************
|
|
6
|
+
* ### `TreeItemData`
|
|
7
|
+
* One item of a tree given as data: a row of a column, and, with `children`, the column it opens.
|
|
8
|
+
* - `children`: a list, or a function that makes it.
|
|
9
|
+
* - The function runs once, the first time the item opens, and its list is kept: for big trees, made as they're browsed.
|
|
10
|
+
* - It may return a promise: the column shows a spinner until the list comes.
|
|
11
|
+
* - Before it has run, its row shows a chevron; once its list comes back empty, the chevron goes.
|
|
12
|
+
****************/
|
|
13
|
+
export interface TreeItemData {
|
|
14
|
+
/** Which item it is among its siblings: what `path` holds. */
|
|
15
|
+
id: string;
|
|
16
|
+
/** What the row says. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** The icon before the label. */
|
|
19
|
+
icon?: string;
|
|
20
|
+
/** Which one it is, quieter, after its label. */
|
|
21
|
+
which?: string;
|
|
22
|
+
/** The count its row shows, when `show` names `count`. None: its `children`' length, once known. */
|
|
23
|
+
count?: number;
|
|
24
|
+
/** The items inside it. */
|
|
25
|
+
children?: readonly TreeItemData[] | (() => readonly TreeItemData[] | Promise<readonly TreeItemData[]>);
|
|
26
|
+
/** The page's own, handed back in the events. */
|
|
27
|
+
data?: unknown;
|
|
28
|
+
}
|
|
29
|
+
/** The parts of a column's row that `show` can name: the label always shows. */
|
|
30
|
+
export declare const ROW_PARTS: readonly ["icon", "which", "count", "chevron"];
|
|
31
|
+
/** One of `ROW_PARTS`. */
|
|
32
|
+
export type RowPart = (typeof ROW_PARTS)[number];
|
|
33
|
+
/** What a column's row shows without `show`: everything but the count. */
|
|
34
|
+
export declare const DEFAULT_ROW_PARTS: readonly RowPart[];
|
|
@@ -20,6 +20,11 @@ import { treeItemVocabulary } from './UITreeItem.en';
|
|
|
20
20
|
* - While it's open, the rows inside it are the tree's next column, beside the one it's in, with that column's title
|
|
21
21
|
* (`UITreeColumns.css`).
|
|
22
22
|
* - The tree does the picking: a click on its triangle is a click on the row.
|
|
23
|
+
* - Its parts are as the tree's `show` says: its icon, `which`, how many rows it holds, the chevron.
|
|
24
|
+
* - Picked while `expandable` with no rows yet: a spinner in its column, until they come.
|
|
25
|
+
* - In a column the tree draws narrow: `:state(in-narrow)`, only the column's pick showing, its name sideways.
|
|
26
|
+
* - The tree's `filter` listing its matches elsewhere in the column of rows inside it: after those rows, drawn by
|
|
27
|
+
* the tree (`UITree.matchList()`).
|
|
23
28
|
* - Its tree's `appearance="nav"` (a site's side navigation) gives it the docs site's look: `:state(nav)`, read as it
|
|
24
29
|
* connects too. Then a `band` row is a heading over the rows inside it, and `count` / `badge` label its words.
|
|
25
30
|
* - `band="group"`: a quiet label over its rows, with no arrow: whatever holds the tree opens it.
|
|
@@ -136,6 +141,12 @@ export declare class UITreeItem extends E.UIComponent<typeof treeItemVocabulary>
|
|
|
136
141
|
}, {
|
|
137
142
|
readonly name: "group";
|
|
138
143
|
readonly description: "The box around the rows inside it.";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "column-title";
|
|
146
|
+
readonly description: "`appearance=\"columns\"`: the title over the column of rows inside it (the tree's `column-titles`).";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "narrow-column";
|
|
149
|
+
readonly description: string;
|
|
139
150
|
}];
|
|
140
151
|
readonly states: readonly [{
|
|
141
152
|
readonly name: "open";
|
|
@@ -155,6 +166,9 @@ export declare class UITreeItem extends E.UIComponent<typeof treeItemVocabulary>
|
|
|
155
166
|
}, {
|
|
156
167
|
readonly name: "in-columns";
|
|
157
168
|
readonly description: "Its tree's `appearance` is `columns`: it's a row in one of its columns, and its rows the next one.";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "in-narrow";
|
|
171
|
+
readonly description: string;
|
|
158
172
|
}];
|
|
159
173
|
readonly texts: readonly [{
|
|
160
174
|
readonly key: "open";
|
|
@@ -185,16 +199,41 @@ export declare class UITreeItem extends E.UIComponent<typeof treeItemVocabulary>
|
|
|
185
199
|
get columnTitle(): string | undefined;
|
|
186
200
|
/** `appearance="columns"`: where the column of rows inside it goes, and how wide it is, as its tree says. */
|
|
187
201
|
get columnPlace(): Record<string, string> | undefined;
|
|
202
|
+
/** `appearance="columns"`: the column it's in is drawn narrow, a strip with its pick: `:state(in-narrow)`. */
|
|
203
|
+
get isInNarrowColumn(): boolean;
|
|
204
|
+
/** `appearance="columns"`: the column of rows inside it is drawn narrow. */
|
|
205
|
+
get hasNarrowRows(): boolean;
|
|
206
|
+
/** `appearance="columns"`: the column of rows inside it is narrow, but drawn whole for now, over the next ones. */
|
|
207
|
+
get hasPeekingRows(): boolean;
|
|
208
|
+
/** `appearance="columns"`: the column of rows inside it is wholly under a narrow one drawn whole over it. */
|
|
209
|
+
get hasCoveredRows(): boolean;
|
|
188
210
|
/** Its tree is a side navigation (`appearance="nav"`): `:state(nav)`. */
|
|
189
211
|
accessor isInNav: boolean;
|
|
190
212
|
/** It's a heading band over its rows: `:state(band)`, with `band`'s value as a class of its row. */
|
|
191
213
|
get isBand(): boolean;
|
|
192
214
|
/** The tree's `filter` hides it. */
|
|
193
215
|
accessor isFilteredOut: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* In a column view, it's the pick kept in the column `filter` filters, though it doesn't match: dimmed, so it
|
|
218
|
+
* doesn't read as a match.
|
|
219
|
+
*/
|
|
220
|
+
accessor isUnmatched: boolean;
|
|
194
221
|
/** The tree's `filter` matches a row inside it, so those show though it's closed. */
|
|
195
222
|
accessor isKeptOpen: boolean;
|
|
196
|
-
/**
|
|
223
|
+
/** How many rows are directly inside it. Rows only, so a marker between them doesn't count. */
|
|
224
|
+
get rowCount(): number;
|
|
225
|
+
/** Does it have a row inside it? */
|
|
197
226
|
get hasRows(): boolean;
|
|
227
|
+
/** In a column view, does it show `part`, as its tree's `show` says? Every part, anywhere else. */
|
|
228
|
+
private shows;
|
|
229
|
+
/** In a column view, it's picked and `expandable`, its rows not here yet: its column shows a spinner. */
|
|
230
|
+
get isLoadingRows(): boolean;
|
|
231
|
+
/** In a column view, the tree's `filter` filters its rows. */
|
|
232
|
+
get hasFilteredRows(): boolean;
|
|
233
|
+
/** In a column view, the tree's `filter` filters its rows, and none matches, here or elsewhere. */
|
|
234
|
+
get showsNoMatches(): boolean;
|
|
235
|
+
/** In a column view, the tree's matches elsewhere go after the rows inside it: their column is its rows'. */
|
|
236
|
+
get showsMatchList(): boolean;
|
|
198
237
|
/** It can open: it has rows, or says it will. */
|
|
199
238
|
get canOpen(): boolean;
|
|
200
239
|
/** The rows inside it are on screen. */
|
|
@@ -114,6 +114,12 @@ export declare const treeItemVocabulary: {
|
|
|
114
114
|
}, {
|
|
115
115
|
readonly name: "group";
|
|
116
116
|
readonly description: "The box around the rows inside it.";
|
|
117
|
+
}, {
|
|
118
|
+
readonly name: "column-title";
|
|
119
|
+
readonly description: "`appearance=\"columns\"`: the title over the column of rows inside it (the tree's `column-titles`).";
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: "narrow-column";
|
|
122
|
+
readonly description: string;
|
|
117
123
|
}];
|
|
118
124
|
readonly states: readonly [{
|
|
119
125
|
readonly name: "open";
|
|
@@ -133,6 +139,9 @@ export declare const treeItemVocabulary: {
|
|
|
133
139
|
}, {
|
|
134
140
|
readonly name: "in-columns";
|
|
135
141
|
readonly description: "Its tree's `appearance` is `columns`: it's a row in one of its columns, and its rows the next one.";
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "in-narrow";
|
|
144
|
+
readonly description: string;
|
|
136
145
|
}];
|
|
137
146
|
readonly texts: readonly [{
|
|
138
147
|
readonly key: "open";
|
|
@@ -25,6 +25,8 @@ export declare const treeItemEs: {
|
|
|
25
25
|
readonly row: "fila";
|
|
26
26
|
readonly toggle: "triangulo";
|
|
27
27
|
readonly count: "cuenta";
|
|
28
|
+
readonly "narrow-column": "columna-estrecha";
|
|
29
|
+
readonly "column-title": "titulo-de-columna";
|
|
28
30
|
};
|
|
29
31
|
readonly texts: {
|
|
30
32
|
readonly open: "Abrir";
|
|
@@ -28,6 +28,9 @@ import { TreeDiagramLayout, TreeDiagramNode, TreeDiagramNodeSize } from './UITre
|
|
|
28
28
|
* - Accessibility: the `<svg>` is `role="img"`, named by a summary ("Tree: If, with 3 children");
|
|
29
29
|
* each node's `title` is its box's `<title>` (hover text).
|
|
30
30
|
* - `foldable` or `clickable` make it `role="group"` under the same name, with real buttons to Tab to.
|
|
31
|
+
* - Spell UI's other drawings of boxes and lines:
|
|
32
|
+
* - `<ui-diagram>`: boxes in columns (the NERD drawing)
|
|
33
|
+
* - `<ui-graph>`: any graph, in layers left to right, with ports, nested graphs, pan and zoom
|
|
31
34
|
****************/
|
|
32
35
|
export declare class UITreeDiagram extends E.UIComponent<typeof treeDiagramVocabulary> {
|
|
33
36
|
static vocabulary: {
|
|
@@ -1106,22 +1106,50 @@ var te = {
|
|
|
1106
1106
|
attributes: {
|
|
1107
1107
|
filter: "filtro",
|
|
1108
1108
|
"sticky-path": "ruta-fija",
|
|
1109
|
-
"column-titles": "titulos-de-columnas"
|
|
1109
|
+
"column-titles": "titulos-de-columnas",
|
|
1110
|
+
path: "ruta",
|
|
1111
|
+
show: "mostrar",
|
|
1112
|
+
"narrow-before": "estrechar-antes",
|
|
1113
|
+
"sticky-detail": "detalle-fijo",
|
|
1114
|
+
tools: "herramientas"
|
|
1110
1115
|
},
|
|
1111
1116
|
values: { appearance: {
|
|
1112
1117
|
nav: "navegacion",
|
|
1113
1118
|
columns: "columnas"
|
|
1114
1119
|
} },
|
|
1115
|
-
events: {
|
|
1116
|
-
|
|
1120
|
+
events: {
|
|
1121
|
+
"ui-selecting": "ui-seleccionando",
|
|
1122
|
+
"ui-settled": "ui-asentado"
|
|
1123
|
+
},
|
|
1124
|
+
slots: {
|
|
1125
|
+
empty: "vacio",
|
|
1126
|
+
detail: "detalle",
|
|
1127
|
+
tools: "herramientas"
|
|
1128
|
+
},
|
|
1117
1129
|
parts: {
|
|
1118
1130
|
empty: "vacio",
|
|
1119
1131
|
path: "ruta",
|
|
1120
|
-
"path-row": "fila-de-ruta"
|
|
1132
|
+
"path-row": "fila-de-ruta",
|
|
1133
|
+
column: "columna",
|
|
1134
|
+
"column-row": "fila-de-columna",
|
|
1135
|
+
"narrow-column": "columna-estrecha",
|
|
1136
|
+
"column-title": "titulo-de-columna",
|
|
1137
|
+
tools: "herramientas",
|
|
1138
|
+
tool: "herramienta",
|
|
1139
|
+
"matches-title": "titulo-de-coincidencias",
|
|
1140
|
+
match: "coincidencia"
|
|
1121
1141
|
},
|
|
1122
1142
|
texts: {
|
|
1123
1143
|
noMatches: "Nada coincide",
|
|
1124
|
-
resizeColumn: "Cambiar el ancho de esta columna"
|
|
1144
|
+
resizeColumn: "Cambiar el ancho de esta columna",
|
|
1145
|
+
resizeDetail: "Cambiar el ancho del panel de detalle",
|
|
1146
|
+
loading: "Cargando",
|
|
1147
|
+
openLevels: "Abrir {levels} niveles",
|
|
1148
|
+
closeAll: "Cerrar todo",
|
|
1149
|
+
elsewhere: "En otras partes del árbol",
|
|
1150
|
+
lookingElsewhere: "Buscando en el árbol",
|
|
1151
|
+
moreMatches: "{count} más, sin listar",
|
|
1152
|
+
stoppedLooking: "Dejó de buscar tras {count} filas"
|
|
1125
1153
|
}
|
|
1126
1154
|
}, ue = {
|
|
1127
1155
|
lang: "es",
|
|
@@ -1294,7 +1322,9 @@ var te = {
|
|
|
1294
1322
|
parts: {
|
|
1295
1323
|
row: "fila",
|
|
1296
1324
|
toggle: "triangulo",
|
|
1297
|
-
count: "cuenta"
|
|
1325
|
+
count: "cuenta",
|
|
1326
|
+
"narrow-column": "columna-estrecha",
|
|
1327
|
+
"column-title": "titulo-de-columna"
|
|
1298
1328
|
},
|
|
1299
1329
|
texts: {
|
|
1300
1330
|
open: "Abrir",
|
|
@@ -2035,8 +2065,42 @@ var te = {
|
|
|
2035
2065
|
aka: [
|
|
2036
2066
|
"datos",
|
|
2037
2067
|
"datos json",
|
|
2038
|
-
"isla de datos"
|
|
2039
|
-
|
|
2068
|
+
"isla de datos",
|
|
2069
|
+
"visor json",
|
|
2070
|
+
"árbol json",
|
|
2071
|
+
"inspector de objetos"
|
|
2072
|
+
],
|
|
2073
|
+
attributes: {
|
|
2074
|
+
depth: "profundidad",
|
|
2075
|
+
quotes: "comillas",
|
|
2076
|
+
"no-header": "sin-encabezado",
|
|
2077
|
+
editors: "editores"
|
|
2078
|
+
},
|
|
2079
|
+
parts: {
|
|
2080
|
+
viewer: "visor",
|
|
2081
|
+
toggle: "plegador",
|
|
2082
|
+
preview: "vista-previa"
|
|
2083
|
+
},
|
|
2084
|
+
texts: {
|
|
2085
|
+
sourceLoading: "Cargando {source}",
|
|
2086
|
+
sourceLoadError: "No se pudo cargar {source}.",
|
|
2087
|
+
sourceCrossOrigin: "No se puede mostrar {source}: solo se pueden mostrar archivos de este sitio.",
|
|
2088
|
+
sourceFileProtocol: "No se puede cargar {source}: esta página se abrió desde el disco. Ábrela desde un servidor web para verla.",
|
|
2089
|
+
sourceRenderError: "No se pudo mostrar {source}.",
|
|
2090
|
+
jsonCopy: "Copiar JSON",
|
|
2091
|
+
jsonCopied: "Copiado",
|
|
2092
|
+
jsonQuotes: "Comillas en las claves",
|
|
2093
|
+
jsonQuotesOff: "Quitar las comillas de las claves",
|
|
2094
|
+
jsonQuotesOn: "Poner comillas en las claves",
|
|
2095
|
+
jsonEditKey: "Clave",
|
|
2096
|
+
jsonEditValue: "Valor",
|
|
2097
|
+
jsonOpen: "Abrir {key}",
|
|
2098
|
+
jsonClose: "Cerrar {key}",
|
|
2099
|
+
jsonAllInside: "Alt: todo lo de dentro",
|
|
2100
|
+
jsonTop: "los datos",
|
|
2101
|
+
jsonEmpty: "Sin datos",
|
|
2102
|
+
jsonInvalid: "Esto no es JSON: {message}"
|
|
2103
|
+
}
|
|
2040
2104
|
}, ut = {
|
|
2041
2105
|
lang: "es",
|
|
2042
2106
|
tag: "ui-page",
|
|
@@ -3544,6 +3608,50 @@ var te = {
|
|
|
3544
3608
|
attributes: { resizable: "redimensionable" },
|
|
3545
3609
|
parts: { content: "contenido" }
|
|
3546
3610
|
},
|
|
3611
|
+
{
|
|
3612
|
+
lang: "es",
|
|
3613
|
+
tag: "ui-graph",
|
|
3614
|
+
name: "grafo",
|
|
3615
|
+
aka: [
|
|
3616
|
+
"grafo",
|
|
3617
|
+
"diagrama de nodos",
|
|
3618
|
+
"diagrama de red",
|
|
3619
|
+
"esquema",
|
|
3620
|
+
"diagrama de bloques"
|
|
3621
|
+
],
|
|
3622
|
+
attributes: {
|
|
3623
|
+
graph: "grafo",
|
|
3624
|
+
"child-view": "vista-hijos",
|
|
3625
|
+
boundary: "frontera"
|
|
3626
|
+
},
|
|
3627
|
+
values: { "child-view": {
|
|
3628
|
+
inline: "en-linea",
|
|
3629
|
+
modal: "modal",
|
|
3630
|
+
drill: "adentrar"
|
|
3631
|
+
} },
|
|
3632
|
+
events: { "ui-node-toggled": "nodo-abierto" },
|
|
3633
|
+
parts: {
|
|
3634
|
+
graph: "grafo",
|
|
3635
|
+
canvas: "lienzo",
|
|
3636
|
+
node: "nodo",
|
|
3637
|
+
container: "contenedor",
|
|
3638
|
+
edge: "arista",
|
|
3639
|
+
"edge-label": "etiqueta-arista",
|
|
3640
|
+
port: "puerto",
|
|
3641
|
+
pin: "pin",
|
|
3642
|
+
toggle: "abridor",
|
|
3643
|
+
toolbar: "barra",
|
|
3644
|
+
breadcrumbs: "migas"
|
|
3645
|
+
},
|
|
3646
|
+
texts: {
|
|
3647
|
+
graphSummary: "Grafo: {count} nodos",
|
|
3648
|
+
graphOpenNode: "Abrir {label}",
|
|
3649
|
+
graphCloseNode: "Cerrar {label}",
|
|
3650
|
+
graphFit: "Ajustar",
|
|
3651
|
+
graphTop: "Inicio",
|
|
3652
|
+
graphLoading: "Cargando …"
|
|
3653
|
+
}
|
|
3654
|
+
},
|
|
3547
3655
|
{
|
|
3548
3656
|
lang: "es",
|
|
3549
3657
|
tag: "ui-tree-node",
|
|
@@ -3591,4 +3699,4 @@ var te = {
|
|
|
3591
3699
|
]);
|
|
3592
3700
|
export { dt as es };
|
|
3593
3701
|
|
|
3594
|
-
//# sourceMappingURL=components.es-
|
|
3702
|
+
//# sourceMappingURL=components.es-DilRG1VO.js.map
|