sysml-diagram 0.27.1 → 0.28.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/out/main.js +12 -4
- package/out/main.js.map +3 -3
- package/package.json +1 -1
- package/resources/sysml.dimension-table.json +1 -1
package/out/main.js
CHANGED
|
@@ -164070,7 +164070,6 @@ var SysmlDiagramModelProvider = class _SysmlDiagramModelProvider {
|
|
|
164070
164070
|
...packageOverview && hasOwnedMemberNode && isPackage(scope) && nameOf2(scope) ? [scope] : [],
|
|
164071
164071
|
...all.filter((p) => isPackage(p) && nameOf2(p))
|
|
164072
164072
|
];
|
|
164073
|
-
const packagesInScope = [scope, ...all.filter(isPackage)];
|
|
164074
164073
|
const packageNodeSet = new Set(packageNodes);
|
|
164075
164074
|
const containingDrawnPackage = (node) => {
|
|
164076
164075
|
let owner = node.$container;
|
|
@@ -168893,9 +168892,13 @@ var SysmlDiagramModelProvider = class _SysmlDiagramModelProvider {
|
|
|
168893
168892
|
return { id: qname, name, keyword: keywordFor(req), cells, status, source: sourceOf2(req, uri), depth, parentId };
|
|
168894
168893
|
});
|
|
168895
168894
|
const model = this.model("grv", ctx.anchor, [], []);
|
|
168895
|
+
const columns = ["Id", "Requirement", "Doc", "Subject", ...attrColumns, "Constraint", "Satisfy", "Verify", "Status"];
|
|
168896
|
+
const firstAttr = 4;
|
|
168897
|
+
const columnEdits = columns.map((_2, i) => i >= firstAttr && i < firstAttr + attrColumns.length ? { kind: "attribute", name: attrColumns[i - firstAttr] } : null);
|
|
168896
168898
|
model.table = {
|
|
168897
|
-
columns
|
|
168898
|
-
rows
|
|
168899
|
+
columns,
|
|
168900
|
+
rows,
|
|
168901
|
+
...attrColumns.length ? { columnEdits } : {}
|
|
168899
168902
|
};
|
|
168900
168903
|
if (rows.length === 0)
|
|
168901
168904
|
model.notes = ["No requirements found in this package."];
|
|
@@ -201303,6 +201306,11 @@ body {
|
|
|
201303
201306
|
}
|
|
201304
201307
|
/* issue 144 \u2014 the Doc column's multi-line editor (Shift+Enter for a newline). */
|
|
201305
201308
|
.grv-edit-doc { resize: vertical; min-height: 48px; line-height: 1.45; }
|
|
201309
|
+
/* issue 139 \u2014 a column TITLE that is a model name renames it from the header;
|
|
201310
|
+
* same dashed hover affordance as an editable cell, and the inline editor keeps
|
|
201311
|
+
* the header's own casing rather than the uppercase title style. */
|
|
201312
|
+
.grv-table th.editable:hover { outline: 1px dashed var(--line); outline-offset: -3px; }
|
|
201313
|
+
.grv-table th.editable .grv-edit { text-transform: none; letter-spacing: normal; font-weight: 400; }
|
|
201306
201314
|
|
|
201307
201315
|
/* \u2500\u2500 React Flow canvas (REQ-224) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
201308
201316
|
.dcanvas-host, .rp-body-host { flex: 1; min-width: 0; min-height: 0; position: relative; overflow: hidden; }
|
|
@@ -205174,7 +205182,7 @@ async function runExport(command) {
|
|
|
205174
205182
|
}
|
|
205175
205183
|
|
|
205176
205184
|
// src/main.ts
|
|
205177
|
-
var VERSION2 = true ? "0.
|
|
205185
|
+
var VERSION2 = true ? "0.28.0" : "dev";
|
|
205178
205186
|
function display(file) {
|
|
205179
205187
|
const rel2 = path9.relative(process.cwd(), file);
|
|
205180
205188
|
return rel2 && !rel2.startsWith("..") ? rel2.split(path9.sep).join("/") : file;
|