@formicoidea/labre-framework-uml 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands.js CHANGED
@@ -901,7 +901,7 @@ const importCommands = [
901
901
  labelKey: 'com.labre.commands.uml.importXmi',
902
902
  labelFallback: 'Import XMI',
903
903
  descriptionKey: 'com.labre.commands.uml.importXmi.description',
904
- descriptionFallback: 'Open an XMI 2.5.1 model as a diagram. What Labre cannot draw is kept in the document, and the import says what it was.',
904
+ descriptionFallback: 'Open an XMI 2.5.1 model as a diagram. What Labre cannot draw is kept in the page, and the import says what it was.',
905
905
  category: 'interchange',
906
906
  iconKey: 'uml.import-xmi',
907
907
  // The one nominated import — see the header. Not the contextual toolbar: a
@@ -935,7 +935,7 @@ const importCommands = [
935
935
  labelKey: 'com.labre.commands.uml.importPlantuml',
936
936
  labelFallback: 'Import PlantUML',
937
937
  descriptionKey: 'com.labre.commands.uml.importPlantuml.description',
938
- descriptionFallback: 'Open a PlantUML source as a diagram. Lines Labre cannot read are kept in the document, and the import says which.',
938
+ descriptionFallback: 'Open a PlantUML source as a diagram. Lines Labre cannot read are kept in the page, and the import says which.',
939
939
  category: 'interchange',
940
940
  iconKey: 'uml.import-plantuml',
941
941
  surfaces: ['catalogue', 'palette', 'agent'],
@@ -134,10 +134,10 @@ export declare const UML_XMI_QUARANTINE_REASON: {
134
134
  export declare const UML_XMI_REMARKS: {
135
135
  readonly mintedId: readonly ["com.labre.uml.import.xmi.minted-id", "<{{tag}}> carries no xmi:id, so one was minted for it. Nothing in the file can refer to it, and nothing does."];
136
136
  readonly unlistedOperator: readonly ["com.labre.uml.import.xmi.unlisted-operator", "This combined fragment's operator is \"{{operator}}\", which UML 2.5.1 §17.6.4 does not list. It is drawn as an \"alt\" and the file's own word is kept beside it."];
137
- readonly undrawnOccurrence: readonly ["com.labre.uml.import.xmi.undrawn-occurrence", "A message in \"{{name}}\" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the document."];
137
+ readonly undrawnOccurrence: readonly ["com.labre.uml.import.xmi.undrawn-occurrence", "A message in \"{{name}}\" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the page."];
138
138
  readonly wrongRoot: readonly ["com.labre.uml.import.xmi.wrong-root", "A UML interchange file opens on <uml:Model> or <uml:Package>; this one opens on <{{tag}}>. Nothing was imported."];
139
139
  readonly noXml: readonly ["com.labre.uml.import.xmi.no-xml", "There is no XML element in this file, so there is no model in it."];
140
- readonly offSheetRelation: readonly ["com.labre.uml.import.xmi.off-sheet-relation", "A {{kind}} in \"{{name}}\" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the document."];
140
+ readonly offSheetRelation: readonly ["com.labre.uml.import.xmi.off-sheet-relation", "A {{kind}} in \"{{name}}\" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the page."];
141
141
  readonly modelWithoutDiagram: readonly ["com.labre.uml.import.xmi.model-without-diagram", "This file carries a model and no diagram, which is what the UML interchange format is for. Every position on the canvas was invented; none of them came from the file."];
142
142
  readonly nestedWithoutDrawing: readonly ["com.labre.uml.import.xmi.nested-without-drawing", "{{count}} element(s) are declared inside another in this file — a class in a package, a use case in its subject. Labre states that by DRAWING one box inside the other, and this file carries no drawing, so they were laid out side by side. Move them into the box to say it again."];
143
143
  };
@@ -120,7 +120,7 @@ export const UML_XMI_REMARKS = {
120
120
  ],
121
121
  undrawnOccurrence: [
122
122
  'com.labre.uml.import.xmi.undrawn-occurrence',
123
- 'A message in "{{name}}" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the document.',
123
+ 'A message in "{{name}}" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the page.',
124
124
  ],
125
125
  wrongRoot: [
126
126
  'com.labre.uml.import.xmi.wrong-root',
@@ -132,7 +132,7 @@ export const UML_XMI_REMARKS = {
132
132
  ],
133
133
  offSheetRelation: [
134
134
  'com.labre.uml.import.xmi.off-sheet-relation',
135
- 'A {{kind}} in "{{name}}" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the document.',
135
+ 'A {{kind}} in "{{name}}" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the page.',
136
136
  ],
137
137
  modelWithoutDiagram: [
138
138
  'com.labre.uml.import.xmi.model-without-diagram',
@@ -1578,7 +1578,7 @@ function readInteraction(ctx, draft, node, id) {
1578
1578
  element: child.name,
1579
1579
  sourceId: messageId,
1580
1580
  messageKey: UML_XMI_REMARKS.undrawnOccurrence[0],
1581
- message: `A message in "${interaction.name}" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the document.`,
1581
+ message: `A message in "${interaction.name}" names an occurrence this sheet has no lifeline for, so it is not drawn. The file still says it, and nothing was removed from the page.`,
1582
1582
  messageParams: { name: interaction.name },
1583
1583
  });
1584
1584
  continue;
@@ -2112,7 +2112,7 @@ export function importXmi(source, context = {}) {
2112
2112
  note(ctx, {
2113
2113
  kind: 'warning',
2114
2114
  messageKey: UML_XMI_REMARKS.offSheetRelation[0],
2115
- message: `A ${relation.kind} in "${model.diagram.name}" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the document.`,
2115
+ message: `A ${relation.kind} in "${model.diagram.name}" runs to an element that is not on this sheet, so it is not drawn. The file still says it, and nothing was removed from the page.`,
2116
2116
  messageParams: { kind: relation.kind, name: model.diagram.name },
2117
2117
  });
2118
2118
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-uml",
3
3
  "description": "Labre uml framework for @formicoidea/labre-core.",
4
- "version": "0.47.0",
4
+ "version": "0.48.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -31,8 +31,8 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@formicoidea/labre-core": "0.47.0",
35
- "@formicoidea/labre-ddd-shared": "0.47.0",
34
+ "@formicoidea/labre-core": "0.48.0",
35
+ "@formicoidea/labre-ddd-shared": "0.48.0",
36
36
  "lit": "^3.2.0"
37
37
  }
38
38
  }