@meltemi/diagrams-layout 1.9.0 → 1.10.17
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/audit.d.ts +8 -6
- package/dist/audit.d.ts.map +1 -1
- package/dist/audit.js +34 -17
- package/dist/audit.js.map +1 -1
- package/dist/checks.d.ts +5 -1
- package/dist/checks.d.ts.map +1 -1
- package/dist/checks.js +11 -3
- package/dist/checks.js.map +1 -1
- package/dist/frame.d.ts +2 -2
- package/dist/frame.d.ts.map +1 -1
- package/dist/frame.js +4 -1
- package/dist/frame.js.map +1 -1
- package/dist/free.d.ts +50 -3
- package/dist/free.d.ts.map +1 -1
- package/dist/free.js +187 -32
- package/dist/free.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/layout.d.ts +203 -6
- package/dist/layout.d.ts.map +1 -1
- package/dist/layout.js +1308 -138
- package/dist/layout.js.map +1 -1
- package/dist/measure.d.ts +21 -2
- package/dist/measure.d.ts.map +1 -1
- package/dist/measure.js +30 -7
- package/dist/measure.js.map +1 -1
- package/dist/messages/en.d.ts +37 -0
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/en.js +37 -0
- package/dist/messages/en.js.map +1 -1
- package/dist/messages/es.d.ts.map +1 -1
- package/dist/messages/es.js +14 -0
- package/dist/messages/es.js.map +1 -1
- package/dist/messages/index.d.ts +14 -0
- package/dist/messages/index.d.ts.map +1 -1
- package/dist/scene.d.ts +46 -1
- package/dist/scene.d.ts.map +1 -1
- package/dist/sequence.d.ts +1 -1
- package/dist/sequence.d.ts.map +1 -1
- package/dist/sequence.js +719 -286
- package/dist/sequence.js.map +1 -1
- package/dist/shapes.d.ts +19 -0
- package/dist/shapes.d.ts.map +1 -1
- package/dist/shapes.js +58 -0
- package/dist/shapes.js.map +1 -1
- package/dist/styles.d.ts +7 -1
- package/dist/styles.d.ts.map +1 -1
- package/dist/styles.js +22 -2
- package/dist/styles.js.map +1 -1
- package/dist/text.d.ts +8 -0
- package/dist/text.d.ts.map +1 -1
- package/dist/text.js +132 -0
- package/dist/text.js.map +1 -1
- package/dist/theme.d.ts +13 -1
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +69 -30
- package/dist/theme.js.map +1 -1
- package/package.json +6 -6
package/dist/measure.d.ts
CHANGED
|
@@ -16,6 +16,20 @@ export interface TextMeasurer {
|
|
|
16
16
|
}
|
|
17
17
|
/** Width estimates from character classes, for hosts without fonts. Cap height 0.7 em. */
|
|
18
18
|
export declare const estimateMeasurer: TextMeasurer;
|
|
19
|
+
/**
|
|
20
|
+
* The font a text is measured and drawn with: the theme's stack of a role (`body` or `mono`), or a
|
|
21
|
+
* stack a style writes (`font "Roboto"`), measured as written and drawn before the role's stack.
|
|
22
|
+
*/
|
|
23
|
+
export type TextFont = FontRole | {
|
|
24
|
+
readonly role: FontRole;
|
|
25
|
+
readonly stack: string;
|
|
26
|
+
};
|
|
27
|
+
/** The role of a text font, whose theme stack follows a written one. */
|
|
28
|
+
export declare function fontRole(font: TextFont): FontRole;
|
|
29
|
+
/** The stack a style writes for a text, or undefined when it takes its role's. */
|
|
30
|
+
export declare function writtenStack(font: TextFont): string | undefined;
|
|
31
|
+
/** A text font from a written stack, or the role alone when none is written. */
|
|
32
|
+
export declare function textFont(stack: string | undefined, role?: FontRole): TextFont;
|
|
19
33
|
/** Horizontal padding of the default theme between a box edge and its text (the `padding` token). */
|
|
20
34
|
export declare const TEXT_PADDING = 16;
|
|
21
35
|
/** Smallest gap between text and a box edge before `layout.text-overflow` is reported. */
|
|
@@ -30,9 +44,14 @@ export declare class TextMetrics {
|
|
|
30
44
|
readonly unknownFonts: Set<string>;
|
|
31
45
|
readonly uncovered: Set<string>;
|
|
32
46
|
constructor(measurer: TextMeasurer, theme: Theme);
|
|
47
|
+
/**
|
|
48
|
+
* The measurer and stack of a font: the theme's stack of a role, or a written stack alone, so
|
|
49
|
+
* that a stack with no known family is estimated and reported rather than measured with the
|
|
50
|
+
* theme's font.
|
|
51
|
+
*/
|
|
33
52
|
private resolve;
|
|
34
|
-
width(text: string,
|
|
53
|
+
width(text: string, font: TextFont, weight: number, size: number): number;
|
|
35
54
|
/** The baseline of a text centred on `centreY`. */
|
|
36
|
-
baseline(centreY: number,
|
|
55
|
+
baseline(centreY: number, font: TextFont, weight: number, size: number): number;
|
|
37
56
|
}
|
|
38
57
|
//# sourceMappingURL=measure.d.ts.map
|
package/dist/measure.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure.d.ts","sourceRoot":"","sources":["../src/measure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7E,yDAAyD;IACzD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACrD,yEAAyE;IACzE,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,oFAAoF;IACpF,SAAS,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACvD;AAED,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB,EAAE,YAK9B,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,0FAA0F;AAC1F,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC;;;GAGG;AACH,qBAAa,WAAW;IAKpB,OAAO,CAAC,QAAQ,CAA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;AAChF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,GAAE,QAAiB,GAAG,QAAQ,CAErF;AAED,qGAAqG;AACrG,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,0FAA0F;AAC1F,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC;;;GAGG;AACH,qBAAa,WAAW;IAKpB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,KAAK;IALxB,QAAQ,CAAC,YAAY,cAAqB;IAC1C,QAAQ,CAAC,SAAS,cAAqB;gBAGpB,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK;IAG/B;;;;OAIG;IACH,OAAO,CAAC,OAAO;IAaf,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;IAMzE,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;CAIhF"}
|
package/dist/measure.js
CHANGED
|
@@ -5,6 +5,18 @@ export const estimateMeasurer = {
|
|
|
5
5
|
capHeight: () => 0.7,
|
|
6
6
|
knows: () => true,
|
|
7
7
|
};
|
|
8
|
+
/** The role of a text font, whose theme stack follows a written one. */
|
|
9
|
+
export function fontRole(font) {
|
|
10
|
+
return typeof font === "string" ? font : font.role;
|
|
11
|
+
}
|
|
12
|
+
/** The stack a style writes for a text, or undefined when it takes its role's. */
|
|
13
|
+
export function writtenStack(font) {
|
|
14
|
+
return typeof font === "string" ? undefined : font.stack;
|
|
15
|
+
}
|
|
16
|
+
/** A text font from a written stack, or the role alone when none is written. */
|
|
17
|
+
export function textFont(stack, role = "body") {
|
|
18
|
+
return stack === undefined ? role : { role, stack };
|
|
19
|
+
}
|
|
8
20
|
/** Horizontal padding of the default theme between a box edge and its text (the `padding` token). */
|
|
9
21
|
export const TEXT_PADDING = 16;
|
|
10
22
|
/** Smallest gap between text and a box edge before `layout.text-overflow` is reported. */
|
|
@@ -22,22 +34,33 @@ export class TextMetrics {
|
|
|
22
34
|
this.measurer = measurer;
|
|
23
35
|
this.theme = theme;
|
|
24
36
|
}
|
|
25
|
-
|
|
26
|
-
|
|
37
|
+
/**
|
|
38
|
+
* The measurer and stack of a font: the theme's stack of a role, or a written stack alone, so
|
|
39
|
+
* that a stack with no known family is estimated and reported rather than measured with the
|
|
40
|
+
* theme's font.
|
|
41
|
+
*/
|
|
42
|
+
resolve(font) {
|
|
43
|
+
const written = writtenStack(font);
|
|
44
|
+
const role = fontRole(font);
|
|
45
|
+
const stack = written ?? (role === "mono" ? this.theme.mono : this.theme.font);
|
|
27
46
|
if (this.measurer.knows(stack))
|
|
28
47
|
return { measurer: this.measurer, stack };
|
|
29
48
|
this.unknownFonts.add(stack);
|
|
30
|
-
|
|
49
|
+
// Estimates tell monospace text by the stack's name; a written mono text keeps its role.
|
|
50
|
+
return {
|
|
51
|
+
measurer: estimateMeasurer,
|
|
52
|
+
stack: written !== undefined && role === "mono" ? `${stack}, monospace` : stack,
|
|
53
|
+
};
|
|
31
54
|
}
|
|
32
|
-
width(text,
|
|
33
|
-
const { measurer, stack } = this.resolve(
|
|
55
|
+
width(text, font, weight, size) {
|
|
56
|
+
const { measurer, stack } = this.resolve(font);
|
|
34
57
|
for (const ch of measurer.uncovered?.(text, stack) ?? [])
|
|
35
58
|
this.uncovered.add(ch);
|
|
36
59
|
return measurer.width(text, stack, weight, size);
|
|
37
60
|
}
|
|
38
61
|
/** The baseline of a text centred on `centreY`. */
|
|
39
|
-
baseline(centreY,
|
|
40
|
-
const { measurer, stack } = this.resolve(
|
|
62
|
+
baseline(centreY, font, weight, size) {
|
|
63
|
+
const { measurer, stack } = this.resolve(font);
|
|
41
64
|
return centreY + (measurer.capHeight(stack, weight) * size) / 2;
|
|
42
65
|
}
|
|
43
66
|
}
|
package/dist/measure.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure.js","sourceRoot":"","sources":["../src/measure.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAkB9C,0FAA0F;AAC1F,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,KAAK,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,CACxC,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1E,SAAS,EAAE,GAAG,EAAE,CAAC,GAAG;IACpB,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"measure.js","sourceRoot":"","sources":["../src/measure.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAkB9C,0FAA0F;AAC1F,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,KAAK,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,CACxC,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1E,SAAS,EAAE,GAAG,EAAE,CAAC,GAAG;IACpB,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;CAClB,CAAC;AAQF,wEAAwE;AACxE,MAAM,UAAU,QAAQ,CAAC,IAAc;IACrC,OAAO,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACrD,CAAC;AAED,kFAA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;QAC7B,yFAAyF;QACzF,OAAO;YACL,QAAQ,EAAE,gBAAgB;YAC1B,KAAK,EAAE,OAAO,KAAK,SAAS,IAAI,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK;SAChF,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAY,EAAE,IAAc,EAAE,MAAc,EAAE,IAAY;QAC9D,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/C,KAAK,MAAM,EAAE,IAAI,QAAQ,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACjF,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,mDAAmD;IACnD,QAAQ,CAAC,OAAe,EAAE,IAAc,EAAE,MAAc,EAAE,IAAY;QACpE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,OAAO,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAClE,CAAC;CACF"}
|
package/dist/messages/en.d.ts
CHANGED
|
@@ -51,6 +51,13 @@ export declare const en: {
|
|
|
51
51
|
labelCut: (text: string, owner: string | null, overflow: number, by: CutBy) => string;
|
|
52
52
|
/** `layout.label-overlap`: a text (shortened), its owner, and what it lies on. */
|
|
53
53
|
labelOverlap: (text: string, owner: string | null, other: LabelObstacle) => string;
|
|
54
|
+
/**
|
|
55
|
+
* `layout.gap-floor`: a negative `gap` the layout could not draw as written, because the heads
|
|
56
|
+
* and the labels between the two participants need the room.
|
|
57
|
+
*/
|
|
58
|
+
gapFloor: (participant: string, side: string, written: number, applied: number, left: string, right: string) => string;
|
|
59
|
+
/** `layout.degenerate-line`: a free line whose points coincide. */
|
|
60
|
+
degenerateLine: (id: string) => string;
|
|
54
61
|
/** `layout.unknown-theme`: the name written and the theme drawn instead. */
|
|
55
62
|
unknownTheme: (written: string, fallback: string) => string;
|
|
56
63
|
/** `layout.missing-placement`: a group of a free diagram without `place`. */
|
|
@@ -65,6 +72,13 @@ export declare const en: {
|
|
|
65
72
|
modeUnsupported: (mode: string, elements: readonly string[]) => string;
|
|
66
73
|
/** `layout.placement-ignored`. */
|
|
67
74
|
placementIgnored: string;
|
|
75
|
+
/** `layout.place-ignored`: a child of a list group, and the list that places it. */
|
|
76
|
+
placeIgnored: (element: string, list: string) => string;
|
|
77
|
+
/**
|
|
78
|
+
* `layout.missing-placement`: what a group that is not a list holds inside a list, without
|
|
79
|
+
* `place`; the element, its group and the innermost list around it.
|
|
80
|
+
*/
|
|
81
|
+
unplacedInList: (element: string, group: string, list: string) => string;
|
|
68
82
|
/** `layout.image-unavailable`: the path written and the image object. */
|
|
69
83
|
imageUnavailable: (source: string, element: string) => string;
|
|
70
84
|
/** `layout.icon-missing`: an element drawn as its icon (`shape icon`) without one. */
|
|
@@ -75,6 +89,10 @@ export declare const en: {
|
|
|
75
89
|
* `layout.label-position-ignored` of a `labelPosition` the theme gives: the first element it
|
|
76
90
|
* styles. Reported once, when no element it styles has its icon as the centre piece.
|
|
77
91
|
*/
|
|
92
|
+
/** `layout.vertical-align-ignored` of a statement that writes `verticalAlign`. */
|
|
93
|
+
verticalAlignIgnored: (element: string) => string;
|
|
94
|
+
/** `layout.vertical-align-ignored` of a `verticalAlign` the theme gives. */
|
|
95
|
+
verticalAlignIgnoredByTheme: (element: string) => string;
|
|
78
96
|
labelPositionIgnoredByTheme: (element: string) => string;
|
|
79
97
|
/**
|
|
80
98
|
* `layout.text-overflow` of an icon shape whose written size leaves its icon under its least
|
|
@@ -107,6 +125,11 @@ export declare const en: {
|
|
|
107
125
|
* widest text and the size it needs; only the heights when the width is enough.
|
|
108
126
|
*/
|
|
109
127
|
textOverflowTall: (element: string, width: number, height: number, withIcon: boolean, text: string, needsWidth: number, needsHeight: number) => string;
|
|
128
|
+
/**
|
|
129
|
+
* `layout.text-overflow` of a sticky whose text does not fit its card even at its smallest
|
|
130
|
+
* font size: the sticky, its size, that font size and the size at which the text fits.
|
|
131
|
+
*/
|
|
132
|
+
stickyOverflow: (element: string, width: number, height: number, fontSize: number, needsWidth: number, needsHeight: number) => string;
|
|
110
133
|
};
|
|
111
134
|
/** The hints of the layout's diagnostics. */
|
|
112
135
|
hints: {
|
|
@@ -122,12 +145,16 @@ export declare const en: {
|
|
|
122
145
|
themes: (builtIn: readonly string[], inScope: readonly string[]) => string;
|
|
123
146
|
/** `layout.missing-placement`. */
|
|
124
147
|
addPlace: (id: string) => string;
|
|
148
|
+
/** `layout.degenerate-line`. */
|
|
149
|
+
lineEnds: string;
|
|
125
150
|
/** `layout.missing-placement` of a group without placed children. */
|
|
126
151
|
addPlaceAndSize: (id: string) => string;
|
|
127
152
|
/** `layout.mode-unsupported`. */
|
|
128
153
|
engine: string;
|
|
129
154
|
/** `layout.placement-ignored`. */
|
|
130
155
|
assisted: string;
|
|
156
|
+
/** `layout.place-ignored`: the child whose `place` is ignored and its list. */
|
|
157
|
+
placeIgnored: (element: string, list: string) => string;
|
|
131
158
|
/** `layout.image-unavailable` when the host reads images. */
|
|
132
159
|
imageFile: string;
|
|
133
160
|
/** `layout.image-unavailable` when the host does not read images. */
|
|
@@ -140,6 +167,12 @@ export declare const en: {
|
|
|
140
167
|
* `layout.label-position-ignored` on kinds whose icon is never the centre piece: groups, tags,
|
|
141
168
|
* notes, free texts, icons and images, sequence and C4 kinds.
|
|
142
169
|
*/
|
|
170
|
+
/** `layout.vertical-align-ignored`: a shape whose text sits at a fixed spot. */
|
|
171
|
+
verticalAlignFixedShape: string;
|
|
172
|
+
/** `layout.vertical-align-ignored`: an icon in the centre, whose label band is at an edge. */
|
|
173
|
+
verticalAlignCentredIcon: string;
|
|
174
|
+
/** `layout.vertical-align-ignored`: an element that is neither a box nor a sticky. */
|
|
175
|
+
verticalAlignNeverUsed: string;
|
|
143
176
|
labelPositionNeverUsed: string;
|
|
144
177
|
/** `layout.label-position-ignored` of a `labelPosition` the theme gives. */
|
|
145
178
|
labelPositionIgnoredByTheme: string;
|
|
@@ -151,6 +184,10 @@ export declare const en: {
|
|
|
151
184
|
bundledFonts: string;
|
|
152
185
|
/** `layout.too-large`. */
|
|
153
186
|
tooLarge: string;
|
|
187
|
+
/** `layout.too-large` of `preset document` and `preset slide`: the preset of whiteboards. */
|
|
188
|
+
boardPreset: string;
|
|
189
|
+
/** `layout.too-large` of a written `canvas`: the preset of whiteboards instead. */
|
|
190
|
+
boardCanvas: string;
|
|
154
191
|
/** `layout.text-overflow`: the size that fits, as code. */
|
|
155
192
|
textOverflow: (element: string, width: number, height: number) => string;
|
|
156
193
|
/** `layout.overlap` of a box declared before a box that holds it: the outer and inner boxes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEzD,gGAAgG;AAChG,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;AAEvD,gFAAgF;AAChF,MAAM,MAAM,aAAa,GACrB;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC/E;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,GAAG,WAAW,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAKnE;;;;;;GAM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;;QAElC,+EAA+E;gCACvD,MAAM,QAAQ,MAAM;QAE5C,6DAA6D;;QAG7D,qEAAqE;;QAGrE,mDAAmD;+BAC5B,MAAM;QAE7B,uCAAuC;;QAGvC;;;WAGG;QACH,gFAAgF;;QAGhF,8FAA8F;;QAG9F,sFAAsF;;;QAKtF,4EAA4E;;QAG5E,8FAA8F;gCACtE,MAAM,SAAS,MAAM,UAAU,MAAM;QAE7D,oCAAoC;;QAEpC,gCAAgC;;QAGhC,0BAA0B;;QAG1B,6FAA6F;;QAG7F,mFAAmF;;QAGnF,2DAA2D;gCACnC,MAAM,SAAS,MAAM,UAAU,MAAM;QAE7D,gGAAgG;4BAC5E,MAAM,SAAS,MAAM;;CAG5C,CAAC"}
|
package/dist/messages/en.js
CHANGED
|
@@ -45,6 +45,13 @@ export const en = {
|
|
|
45
45
|
: other.kind === "box"
|
|
46
46
|
? `the box of \`${other.owner}\``
|
|
47
47
|
: `the connector of \`${other.owner}\``}.`,
|
|
48
|
+
/**
|
|
49
|
+
* `layout.gap-floor`: a negative `gap` the layout could not draw as written, because the heads
|
|
50
|
+
* and the labels between the two participants need the room.
|
|
51
|
+
*/
|
|
52
|
+
gapFloor: (participant, side, written, applied, left, right) => `The gap ${side} \`${participant}\` is ${applied} here, not ${written}: the heads and the labels between \`${left}\` and \`${right}\` need the room.`,
|
|
53
|
+
/** `layout.degenerate-line`: a free line whose points coincide. */
|
|
54
|
+
degenerateLine: (id) => `Line \`${id}\` has no length: its points coincide, so it is drawn as a point.`,
|
|
48
55
|
/** `layout.unknown-theme`: the name written and the theme drawn instead. */
|
|
49
56
|
unknownTheme: (written, fallback) => `Unknown theme "${written}"; rendering with ${fallback}.`,
|
|
50
57
|
/** `layout.missing-placement`: a group of a free diagram without `place`. */
|
|
@@ -59,6 +66,13 @@ export const en = {
|
|
|
59
66
|
modeUnsupported: (mode, elements) => `\`layout ${mode}\` needs a layout engine to position ${ids(elements)}.`,
|
|
60
67
|
/** `layout.placement-ignored`. */
|
|
61
68
|
placementIgnored: "`layout auto` arranges every element, so `place` statements and route waypoints are ignored.",
|
|
69
|
+
/** `layout.place-ignored`: a child of a list group, and the list that places it. */
|
|
70
|
+
placeIgnored: (element, list) => `The \`place\` of \`${element}\` is ignored: the list \`${list}\` places its children in order.`,
|
|
71
|
+
/**
|
|
72
|
+
* `layout.missing-placement`: what a group that is not a list holds inside a list, without
|
|
73
|
+
* `place`; the element, its group and the innermost list around it.
|
|
74
|
+
*/
|
|
75
|
+
unplacedInList: (element, group, list) => `\`${element}\` has no \`place\` statement; inside the list \`${list}\`, the group \`${group}\` is not a list and needs a position for each child.`,
|
|
62
76
|
/** `layout.image-unavailable`: the path written and the image object. */
|
|
63
77
|
imageUnavailable: (source, element) => `The image "${source}" of \`${element}\` cannot be drawn; a placeholder is drawn instead.`,
|
|
64
78
|
/** `layout.icon-missing`: an element drawn as its icon (`shape icon`) without one. */
|
|
@@ -69,6 +83,10 @@ export const en = {
|
|
|
69
83
|
* `layout.label-position-ignored` of a `labelPosition` the theme gives: the first element it
|
|
70
84
|
* styles. Reported once, when no element it styles has its icon as the centre piece.
|
|
71
85
|
*/
|
|
86
|
+
/** `layout.vertical-align-ignored` of a statement that writes `verticalAlign`. */
|
|
87
|
+
verticalAlignIgnored: (element) => `The \`verticalAlign\` of \`${element}\` has no effect: nothing moves its text up or down.`,
|
|
88
|
+
/** `layout.vertical-align-ignored` of a `verticalAlign` the theme gives. */
|
|
89
|
+
verticalAlignIgnoredByTheme: (element) => `The \`verticalAlign\` the theme gives \`${element}\` and the elements styled like it has no effect: none has a text band to move it in.`,
|
|
72
90
|
labelPositionIgnoredByTheme: (element) => `The \`labelPosition\` the theme gives \`${element}\` and the elements styled like it has no effect: none has its icon as the centre piece.`,
|
|
73
91
|
/**
|
|
74
92
|
* `layout.text-overflow` of an icon shape whose written size leaves its icon under its least
|
|
@@ -110,6 +128,11 @@ export const en = {
|
|
|
110
128
|
* widest text and the size it needs; only the heights when the width is enough.
|
|
111
129
|
*/
|
|
112
130
|
textOverflowTall: (element, width, height, withIcon, text, needsWidth, needsHeight) => `\`${element}\` is ${needsWidth === width ? `${height} px tall` : `${width} × ${height} px`} but ${withIcon ? "its icon and text" : "its text"} "${text}" needs ${needsWidth === width ? needsHeight : `${needsWidth} × ${needsHeight}`} px.`,
|
|
131
|
+
/**
|
|
132
|
+
* `layout.text-overflow` of a sticky whose text does not fit its card even at its smallest
|
|
133
|
+
* font size: the sticky, its size, that font size and the size at which the text fits.
|
|
134
|
+
*/
|
|
135
|
+
stickyOverflow: (element, width, height, fontSize, needsWidth, needsHeight) => `The text of \`${element}\` does not fit its ${width} × ${height} px card even at ${fontSize} px, and is clipped: it needs ${needsWidth} × ${needsHeight} px.`,
|
|
113
136
|
},
|
|
114
137
|
/** The hints of the layout's diagnostics. */
|
|
115
138
|
hints: {
|
|
@@ -125,12 +148,16 @@ export const en = {
|
|
|
125
148
|
themes: (builtIn, inScope) => `Built-in themes: ${builtIn.join(", ")}${inScope.length > 0 ? `; themes in scope: ${inScope.join(", ")}` : ""}.`,
|
|
126
149
|
/** `layout.missing-placement`. */
|
|
127
150
|
addPlace: (id) => `Add \`place ${id} at (x, y)\` to a placement block.`,
|
|
151
|
+
/** `layout.degenerate-line`. */
|
|
152
|
+
lineEnds: "Move one of its ends, or give it a bend with `via`.",
|
|
128
153
|
/** `layout.missing-placement` of a group without placed children. */
|
|
129
154
|
addPlaceAndSize: (id) => `Add \`place ${id} at (x, y)\` and \`size ${id} (w, h)\`.`,
|
|
130
155
|
/** `layout.mode-unsupported`. */
|
|
131
156
|
engine: "Hosts pass an engine in `LayoutOptions.engine`; the command line uses ELK. Or place every element.",
|
|
132
157
|
/** `layout.placement-ignored`. */
|
|
133
158
|
assisted: "Use `layout assisted` to keep placed elements where they are.",
|
|
159
|
+
/** `layout.place-ignored`: the child whose `place` is ignored and its list. */
|
|
160
|
+
placeIgnored: (element, list) => `Remove \`place ${element}\`, or remove \`layout\` from \`${list}\` to place its children yourself.`,
|
|
134
161
|
/** `layout.image-unavailable` when the host reads images. */
|
|
135
162
|
imageFile: "Check that the file exists in the project and is a PNG, JPEG, GIF, WebP or SVG image.",
|
|
136
163
|
/** `layout.image-unavailable` when the host does not read images. */
|
|
@@ -143,6 +170,12 @@ export const en = {
|
|
|
143
170
|
* `layout.label-position-ignored` on kinds whose icon is never the centre piece: groups, tags,
|
|
144
171
|
* notes, free texts, icons and images, sequence and C4 kinds.
|
|
145
172
|
*/
|
|
173
|
+
/** `layout.vertical-align-ignored`: a shape whose text sits at a fixed spot. */
|
|
174
|
+
verticalAlignFixedShape: "This shape draws its text at a fixed spot: choose a shape with a text band, such as `rectangle`, `ellipse` or `cylinder`, or remove `verticalAlign`.",
|
|
175
|
+
/** `layout.vertical-align-ignored`: an icon in the centre, whose label band is at an edge. */
|
|
176
|
+
verticalAlignCentredIcon: "With `iconPosition center` the label's band is at `labelPosition`: set `labelPosition` instead, or remove `verticalAlign`.",
|
|
177
|
+
/** `layout.vertical-align-ignored`: an element that is neither a box nor a sticky. */
|
|
178
|
+
verticalAlignNeverUsed: "Remove `verticalAlign`: it only moves the text of a free box within its shape, or of a sticky within its card.",
|
|
146
179
|
labelPositionNeverUsed: "Remove `labelPosition`: it only places the label of a node, decision, data store or box whose icon is the centre piece.",
|
|
147
180
|
/** `layout.label-position-ignored` of a `labelPosition` the theme gives. */
|
|
148
181
|
labelPositionIgnoredByTheme: "Set `iconPosition center` or `shape icon` on the elements, or remove `labelPosition` from the theme.",
|
|
@@ -154,6 +187,10 @@ export const en = {
|
|
|
154
187
|
bundledFonts: "Bundled fonts: Inter, IBM Plex Sans and Cascadia Mono. Leave extra room with `size` if needed.",
|
|
155
188
|
/** `layout.too-large`. */
|
|
156
189
|
tooLarge: "Split the diagram into views or story scenes; text is never shrunk to fit the canvas.",
|
|
190
|
+
/** `layout.too-large` of `preset document` and `preset slide`: the preset of whiteboards. */
|
|
191
|
+
boardPreset: "Write `preset board` when the sheet is a whiteboard: a board grows with its content.",
|
|
192
|
+
/** `layout.too-large` of a written `canvas`: the preset of whiteboards instead. */
|
|
193
|
+
boardCanvas: "Replace the `canvas` with `preset board` when the sheet is a whiteboard: a board grows with its content.",
|
|
157
194
|
/** `layout.text-overflow`: the size that fits, as code. */
|
|
158
195
|
textOverflow: (element, width, height) => `Use \`size ${element} (${width}, ${height})\`, or shorten the text.`,
|
|
159
196
|
/** `layout.overlap` of a box declared before a box that holds it: the outer and inner boxes. */
|
package/dist/messages/en.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAUA,MAAM,GAAG,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtF,MAAM,OAAO,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC;AAE1F;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,4FAA4F;IAC5F,OAAO,EAAE;QACP,EAAE,EAAE;YACF,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,iBAAiB;YACzB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,iBAAiB;YACjC,cAAc,EAAE,0BAA0B;YAC1C,iBAAiB,EAAE,oBAAoB;YACvC,iBAAiB,EAAE,oBAAoB;SACxC;KACF;IACD,oFAAoF;IACpF,WAAW,EAAE;QACX,qDAAqD;QACrD,OAAO,EAAE,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,aAAa;QACnE,iEAAiE;QACjE,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EA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AC7F,WAAW,EACT,sFAAsF;QACxF,mFAAmF;QACnF,WAAW,EACT,0GAA0G;QAC5G,2DAA2D;QAC3D,YAAY,EAAE,CAAC,OAAe,EAAE,KAAa,EAAE,MAAc,EAAE,EAAE,CAC/D,cAAc,OAAO,KAAK,KAAK,KAAK,MAAM,2BAA2B;QACvE,gGAAgG;QAChG,UAAU,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC3C,aAAa,KAAK,eAAe,KAAK,qBAAqB;KAC9D;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/messages/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAmBlC,qCAAqC;AACrC,eAAO,MAAM,EAAE,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/messages/es.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAmBlC,qCAAqC;AACrC,eAAO,MAAM,EAAE,EAAE,OAAO,EAgKvB,CAAC"}
|
package/dist/messages/es.js
CHANGED
|
@@ -42,6 +42,8 @@ export const es = {
|
|
|
42
42
|
: other.kind === "box"
|
|
43
43
|
? `a la caja de ${code(other.owner)}`
|
|
44
44
|
: `al conector de ${code(other.owner)}`}.`,
|
|
45
|
+
gapFloor: (participant, side, written, applied, left, right) => `El espacio ${side === "after" ? "después de" : "antes de"} \`${participant}\` es ${applied} aquí, no ${written}: las cabeceras y las etiquetas entre \`${left}\` y \`${right}\` necesitan el lugar.`,
|
|
46
|
+
degenerateLine: (id) => `La línea \`${id}\` no tiene largo: sus puntos coinciden, así que se dibuja como un punto.`,
|
|
45
47
|
unknownTheme: (written, fallback) => `Tema desconocido "${written}"; se dibuja con ${fallback}.`,
|
|
46
48
|
groupWithoutPlace: (group) => `El grupo ${code(group)} no tiene una instrucción \`place\`; en los diagramas libres, las posiciones de sus hijos son relativas a su interior.`,
|
|
47
49
|
elementWithoutPlace: (element) => `${code(element)} no tiene una instrucción \`place\`; \`layout manual\` necesita una posición para cada elemento.`,
|
|
@@ -49,9 +51,13 @@ export const es = {
|
|
|
49
51
|
groupUnplaced: (group) => `El grupo ${code(group)} no tiene hijos colocados ni un \`place\`/\`size\` propio.`,
|
|
50
52
|
modeUnsupported: (mode, elements) => `\`layout ${mode}\` necesita un motor de disposición para colocar ${ids(elements)}.`,
|
|
51
53
|
placementIgnored: "`layout auto` organiza todos los elementos, así que se ignoran las instrucciones `place` y los puntos de paso de las rutas.",
|
|
54
|
+
placeIgnored: (element, list) => `Se ignora el \`place\` de ${code(element)}: la lista ${code(list)} coloca a sus hijos en orden.`,
|
|
55
|
+
unplacedInList: (element, group, list) => `${code(element)} no tiene una instrucción \`place\`; dentro de la lista ${code(list)}, el grupo ${code(group)} no es una lista y necesita una posición para cada hijo.`,
|
|
52
56
|
imageUnavailable: (source, element) => `La imagen "${source}" de ${code(element)} no se puede dibujar; en su lugar se dibuja un marcador de posición.`,
|
|
53
57
|
iconMissing: (element) => `${code(element)} se dibuja como su icono, pero no tiene \`icon\`; en su lugar se dibuja un marcador de posición.`,
|
|
54
58
|
labelPositionIgnored: (element) => `El \`labelPosition\` de ${code(element)} no tiene efecto: su icono no ocupa el centro.`,
|
|
59
|
+
verticalAlignIgnored: (element) => `El \`verticalAlign\` de ${code(element)} no tiene efecto: nada mueve su texto hacia arriba o hacia abajo.`,
|
|
60
|
+
verticalAlignIgnoredByTheme: (element) => `El \`verticalAlign\` que el tema da a ${code(element)} y a los elementos con su mismo estilo no tiene efecto: ninguno tiene una franja de texto donde moverlo.`,
|
|
55
61
|
labelPositionIgnoredByTheme: (element) => `El \`labelPosition\` que el tema da a ${code(element)} y a los elementos con su mismo estilo no tiene efecto: en ninguno el icono ocupa el centro.`,
|
|
56
62
|
iconTooSmall: (element, width, height, needsWidth, needsHeight) => `${code(element)} mide ${n(width)} × ${n(height)} px, demasiado pequeño para dibujar su icono: necesita ${n(needsWidth)} × ${n(needsHeight)} px.`,
|
|
57
63
|
engineFailed: (engine, reason) => `Falló el motor de disposición ${engine}: ${reason}`,
|
|
@@ -76,6 +82,7 @@ export const es = {
|
|
|
76
82
|
tooLargeForCanvas: (width, height, canvasWidth, canvasHeight) => `El contenido mide ${n(width)} × ${n(height)} px; el lienzo mide ${n(canvasWidth)} × ${n(canvasHeight)} px.`,
|
|
77
83
|
textOverflow: (element, width, withIcon, text, needs) => `${code(element)} mide ${n(width)} px de ancho, pero ${withIcon ? `su icono y su texto "${text}" necesitan` : `su texto "${text}" necesita`} ${n(needs)} px.`,
|
|
78
84
|
textOverflowTall: (element, width, height, withIcon, text, needsWidth, needsHeight) => `${code(element)} mide ${needsWidth === width ? `${n(height)} px de alto` : `${n(width)} × ${n(height)} px`}, pero ${withIcon ? `su icono y su texto "${text}" necesitan` : `su texto "${text}" necesita`} ${needsWidth === width ? n(needsHeight) : `${n(needsWidth)} × ${n(needsHeight)}`} px.`,
|
|
85
|
+
stickyOverflow: (element, width, height, fontSize, needsWidth, needsHeight) => `El texto de ${code(element)} no cabe en su tarjeta de ${n(width)} × ${n(height)} px ni a ${n(fontSize)} px, y se recorta: necesita ${n(needsWidth)} × ${n(needsHeight)} px.`,
|
|
79
86
|
},
|
|
80
87
|
hints: {
|
|
81
88
|
labelCutByPicture: "Dale espacio al diagrama: un `canvas` más grande, o mueve el elemento hacia dentro.",
|
|
@@ -84,19 +91,26 @@ export const es = {
|
|
|
84
91
|
labelOverlap: "Separa uno de los dos o coloca la etiqueta con `label <relation> at <n>%`.",
|
|
85
92
|
themes: (builtIn, inScope) => `Temas integrados: ${builtIn.join(", ")}${inScope.length > 0 ? `; temas disponibles: ${inScope.join(", ")}` : ""}.`,
|
|
86
93
|
addPlace: (id) => `Agrega \`place ${id} at (x, y)\` a un bloque \`placement\`.`,
|
|
94
|
+
lineEnds: "Mueve uno de sus extremos, o dale un quiebre con `via`.",
|
|
87
95
|
addPlaceAndSize: (id) => `Agrega \`place ${id} at (x, y)\` y \`size ${id} (w, h)\`.`,
|
|
88
96
|
engine: "Las aplicaciones anfitrionas pasan un motor en `LayoutOptions.engine`; la línea de comandos usa ELK. O coloca cada elemento.",
|
|
89
97
|
assisted: "Usa `layout assisted` para mantener los elementos colocados donde están.",
|
|
98
|
+
placeIgnored: (element, list) => `Quita \`place ${element}\`, o quita \`layout\` de ${code(list)} para colocar tú a sus hijos.`,
|
|
90
99
|
imageFile: "Comprueba que el archivo existe en el proyecto y es una imagen PNG, JPEG, GIF, WebP o SVG.",
|
|
91
100
|
imageHost: "Las aplicaciones anfitrionas pasan `LayoutOptions.images`; la línea de comandos y el editor leen las imágenes del proyecto.",
|
|
92
101
|
iconMissing: (element) => `Dale un icono a ${code(element)} con \`style ${element} { icon "<pack>:<name>" }\`, o elige otra forma.`,
|
|
93
102
|
labelPositionIgnored: "Pon `iconPosition center` o `shape icon` para llevar la etiqueta a un borde, o quita `labelPosition`.",
|
|
103
|
+
verticalAlignFixedShape: "Esta forma dibuja su texto en un sitio fijo: elige una forma con franja de texto, como `rectangle`, `ellipse` o `cylinder`, o quita `verticalAlign`.",
|
|
104
|
+
verticalAlignCentredIcon: "Con `iconPosition center` la franja de la etiqueta está en `labelPosition`: usa `labelPosition`, o quita `verticalAlign`.",
|
|
105
|
+
verticalAlignNeverUsed: "Quita `verticalAlign`: solo mueve el texto de una caja libre dentro de su forma, o el de una nota adhesiva dentro de su tarjeta.",
|
|
94
106
|
labelPositionNeverUsed: "Quita `labelPosition`: solo coloca la etiqueta de un nodo, una decisión, un almacén de datos o una caja cuyo icono ocupa el centro.",
|
|
95
107
|
labelPositionIgnoredByTheme: "Pon `iconPosition center` o `shape icon` en los elementos, o quita `labelPosition` del tema.",
|
|
96
108
|
iconTooSmall: (element, width, height) => `Usa \`size ${element} (${width}, ${height})\` o quita su \`size\` para dibujar el icono a su \`iconSize\`.`,
|
|
97
109
|
constraint: "Los elementos colocados nunca se mueven; cambia un `place` o la restricción.",
|
|
98
110
|
bundledFonts: "Fuentes incluidas: Inter, IBM Plex Sans y Cascadia Mono. Deja espacio de más con `size` si hace falta.",
|
|
99
111
|
tooLarge: "Divide el diagrama en vistas o en escenas de una historia; el texto nunca se reduce para que quepa en el lienzo.",
|
|
112
|
+
boardPreset: "Escribe `preset board` si la hoja es una pizarra: un tablero crece con su contenido.",
|
|
113
|
+
boardCanvas: "Cambia el `canvas` por `preset board` si la hoja es una pizarra: un tablero crece con su contenido.",
|
|
100
114
|
textOverflow: (element, width, height) => `Usa \`size ${element} (${width}, ${height})\` o acorta el texto.`,
|
|
101
115
|
stackOrder: (outer, inner) => `Declara ${code(outer)} antes de ${code(inner)} para dibujar una pila.`,
|
|
102
116
|
},
|
package/dist/messages/es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../src/messages/es.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAIvD,MAAM,IAAI,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;AAC/C,MAAM,GAAG,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AACxE,iDAAiD;AACjD,MAAM,CAAC,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;AACrD,gDAAgD;AAChD,MAAM,EAAE,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;AAE1F,uDAAuD;AACvD,MAAM,KAAK,GAAwC;IACjD,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AAE,EAAE,CACvC,cAAc,OAAO,KAAK,KAAK,KAAK,MAAM,kEAAkE;QAC9G,UAAU,EAAE,8EAA8E;QAC1F,YAAY,EACV,wGAAwG;QAC1G,QAAQ,EACN,kHAAkH;QACpH,WAAW,EACT,sFAAsF;QACxF,WAAW,EACT,qGAAqG;QACvG,YAAY,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,CACvC,cAAc,OAAO,KAAK,KAAK,KAAK,MAAM,wBAAwB;QACpE,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAC3B,WAAW,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,CAAC,KAAK,CAAC,yBAAyB;KAC1E;CACF,CAAC"}
|
package/dist/messages/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export declare const messages: (locale?: Locale) => {
|
|
|
28
28
|
connectorCrossing: (relation: string, box: string) => string;
|
|
29
29
|
labelCut: (text: string, owner: string | null, overflow: number, by: import("./en.js").CutBy) => string;
|
|
30
30
|
labelOverlap: (text: string, owner: string | null, other: import("./en.js").LabelObstacle) => string;
|
|
31
|
+
gapFloor: (participant: string, side: string, written: number, applied: number, left: string, right: string) => string;
|
|
32
|
+
degenerateLine: (id: string) => string;
|
|
31
33
|
unknownTheme: (written: string, fallback: string) => string;
|
|
32
34
|
groupWithoutPlace: (group: string) => string;
|
|
33
35
|
elementWithoutPlace: (element: string) => string;
|
|
@@ -35,9 +37,13 @@ export declare const messages: (locale?: Locale) => {
|
|
|
35
37
|
groupUnplaced: (group: string) => string;
|
|
36
38
|
modeUnsupported: (mode: string, elements: readonly string[]) => string;
|
|
37
39
|
placementIgnored: string;
|
|
40
|
+
placeIgnored: (element: string, list: string) => string;
|
|
41
|
+
unplacedInList: (element: string, group: string, list: string) => string;
|
|
38
42
|
imageUnavailable: (source: string, element: string) => string;
|
|
39
43
|
iconMissing: (element: string) => string;
|
|
40
44
|
labelPositionIgnored: (element: string) => string;
|
|
45
|
+
verticalAlignIgnored: (element: string) => string;
|
|
46
|
+
verticalAlignIgnoredByTheme: (element: string) => string;
|
|
41
47
|
labelPositionIgnoredByTheme: (element: string) => string;
|
|
42
48
|
iconTooSmall: (element: string, width: number, height: number, needsWidth: number, needsHeight: number) => string;
|
|
43
49
|
engineFailed: (engine: string, reason: string) => string;
|
|
@@ -50,6 +56,7 @@ export declare const messages: (locale?: Locale) => {
|
|
|
50
56
|
tooLargeForCanvas: (width: number, height: number, canvasWidth: number, canvasHeight: number) => string;
|
|
51
57
|
textOverflow: (element: string, width: number, withIcon: boolean, text: string, needs: number) => string;
|
|
52
58
|
textOverflowTall: (element: string, width: number, height: number, withIcon: boolean, text: string, needsWidth: number, needsHeight: number) => string;
|
|
59
|
+
stickyOverflow: (element: string, width: number, height: number, fontSize: number, needsWidth: number, needsHeight: number) => string;
|
|
53
60
|
};
|
|
54
61
|
hints: {
|
|
55
62
|
labelCutByPicture: string;
|
|
@@ -58,19 +65,26 @@ export declare const messages: (locale?: Locale) => {
|
|
|
58
65
|
labelOverlap: string;
|
|
59
66
|
themes: (builtIn: readonly string[], inScope: readonly string[]) => string;
|
|
60
67
|
addPlace: (id: string) => string;
|
|
68
|
+
lineEnds: string;
|
|
61
69
|
addPlaceAndSize: (id: string) => string;
|
|
62
70
|
engine: string;
|
|
63
71
|
assisted: string;
|
|
72
|
+
placeIgnored: (element: string, list: string) => string;
|
|
64
73
|
imageFile: string;
|
|
65
74
|
imageHost: string;
|
|
66
75
|
iconMissing: (element: string) => string;
|
|
67
76
|
labelPositionIgnored: string;
|
|
77
|
+
verticalAlignFixedShape: string;
|
|
78
|
+
verticalAlignCentredIcon: string;
|
|
79
|
+
verticalAlignNeverUsed: string;
|
|
68
80
|
labelPositionNeverUsed: string;
|
|
69
81
|
labelPositionIgnoredByTheme: string;
|
|
70
82
|
iconTooSmall: (element: string, width: number, height: number) => string;
|
|
71
83
|
constraint: string;
|
|
72
84
|
bundledFonts: string;
|
|
73
85
|
tooLarge: string;
|
|
86
|
+
boardPreset: string;
|
|
87
|
+
boardCanvas: string;
|
|
74
88
|
textOverflow: (element: string, width: number, height: number) => string;
|
|
75
89
|
stackOrder: (outer: string, inner: string) => string;
|
|
76
90
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAG7B,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAG7B,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC;AAExC,0CAA0C;AAC1C,MAAM,MAAM,WAAW,GAAG,OAAO,EAAE,CAAC;AAEpC;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAEnE"}
|
package/dist/scene.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Point } from "@meltemi/diagrams-model";
|
|
2
2
|
export type FontRole = "body" | "mono";
|
|
3
|
-
export type SceneRole = "element" | "relation" | "label" | "frame" | "icon" | "lifeline" | "event" | "motion";
|
|
3
|
+
export type SceneRole = "element" | "relation" | "label" | "frame" | "icon" | "lifeline" | "event" | "motion" | "tag";
|
|
4
4
|
export type TextAnchor = "start" | "middle" | "end";
|
|
5
5
|
/** How a stroke is drawn: solid (`false`), dashed (`true`) or with round dots. */
|
|
6
6
|
export type StrokeDash = boolean | "dotted";
|
|
@@ -77,6 +77,11 @@ export interface TextItem {
|
|
|
77
77
|
readonly size: number;
|
|
78
78
|
readonly weight: number;
|
|
79
79
|
readonly font: FontRole;
|
|
80
|
+
/**
|
|
81
|
+
* The stack a style writes for this text (`font "Roboto"`): it is measured with it alone and
|
|
82
|
+
* drawn with it before the scene's stack of `font`. Absent for text in the theme's fonts.
|
|
83
|
+
*/
|
|
84
|
+
readonly stack?: string;
|
|
80
85
|
readonly anchor: TextAnchor;
|
|
81
86
|
readonly fill: string;
|
|
82
87
|
}
|
|
@@ -108,6 +113,18 @@ export interface SceneBounds {
|
|
|
108
113
|
readonly height: number;
|
|
109
114
|
};
|
|
110
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* A rounded rectangle that texts are clipped to, in the coordinates of the group that carries it.
|
|
118
|
+
* Its `id` is unique in the scene and the same for every layout of the same source.
|
|
119
|
+
*/
|
|
120
|
+
export interface SceneClip {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly x: number;
|
|
123
|
+
readonly y: number;
|
|
124
|
+
readonly width: number;
|
|
125
|
+
readonly height: number;
|
|
126
|
+
readonly radius: number;
|
|
127
|
+
}
|
|
111
128
|
/** Wraps the primitives of one element, relation, label or frame and carries its identity. */
|
|
112
129
|
export interface GroupItem extends Classed {
|
|
113
130
|
readonly kind: "group";
|
|
@@ -120,8 +137,31 @@ export interface GroupItem extends Classed {
|
|
|
120
137
|
readonly track?: readonly Point[];
|
|
121
138
|
/** Elements and events: the box as drawn. */
|
|
122
139
|
readonly bounds?: SceneBounds;
|
|
140
|
+
/**
|
|
141
|
+
* Tags of sequence messages and participants (role `tag`): the index of the pill among its
|
|
142
|
+
* owner's tags, in source order. The group's id is its owner's id or key, and it is drawn inside
|
|
143
|
+
* the owner's group, so whatever shows, hides or highlights the owner takes its tags with it.
|
|
144
|
+
*/
|
|
145
|
+
readonly tag?: number;
|
|
123
146
|
/** Stories: how visible the group is, from 0 to 1. */
|
|
124
147
|
readonly opacity?: number;
|
|
148
|
+
/**
|
|
149
|
+
* Free diagrams: the `opacity` the element's, group's, line's or pen's style gives it, below 1.
|
|
150
|
+
* Kept apart from `opacity`, which stories set per frame: renderers draw the group at the
|
|
151
|
+
* product of the two.
|
|
152
|
+
*/
|
|
153
|
+
readonly styleOpacity?: number;
|
|
154
|
+
/**
|
|
155
|
+
* Pen strokes: the group draws a freehand stroke, already drawn by hand. Sketch passes leave it
|
|
156
|
+
* as it is, and the label audit takes no part of it.
|
|
157
|
+
*/
|
|
158
|
+
readonly freehand?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Stickies whose text does not fit their card: the card the group's own text items are clipped
|
|
161
|
+
* to. Renderers write it once (SVG: a `<clipPath>` with its `id`) and clip those texts with it;
|
|
162
|
+
* the card, its shadow and its icon are drawn whole.
|
|
163
|
+
*/
|
|
164
|
+
readonly textClip?: SceneClip;
|
|
125
165
|
/** Elements and relations: their layer, when it is not `main`. */
|
|
126
166
|
readonly layer?: string;
|
|
127
167
|
/** Elements with a `url`: the drawing links there. */
|
|
@@ -204,6 +244,11 @@ export interface Scene {
|
|
|
204
244
|
readonly gradients: readonly SceneGradient[];
|
|
205
245
|
readonly patterns: readonly ScenePattern[];
|
|
206
246
|
readonly items: readonly SceneItem[];
|
|
247
|
+
/**
|
|
248
|
+
* The theme's sketch level when it paints strokes by hand: the renderer draws each stroke of the
|
|
249
|
+
* diagram's groups in two jittered passes. The items stay the clean geometry; absent for `none`.
|
|
250
|
+
*/
|
|
251
|
+
readonly sketch?: "light" | "rough";
|
|
207
252
|
/** CSS of the animated profile, written in one `<style>` element; absent for static scenes. */
|
|
208
253
|
readonly styleSheet?: string;
|
|
209
254
|
/** A URL the whole picture links to, such as a story's player. */
|