@wemake4u/dmn-drd 1.0.0 → 1.0.1
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.md
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
# @wemake4u/dmn-drd
|
|
2
|
-
|
|
3
|
-
The DRD (Decision Requirements Diagram) components of the `@wemake4u` DMN editor, for Angular 22.
|
|
4
|
-
Most applications use the complete [`@wemake4u/dmn-editor`](https://www.npmjs.com/package/@wemake4u/dmn-editor);
|
|
5
|
-
this package is for building a different layout around the diagram.
|
|
6
|
-
|
|
7
|
-
- `DrdCanvas` (`dmn-drd-canvas`): SVG canvas with the DMN notation; selection and lasso, pan and
|
|
8
|
-
zoom, drag with grid snapping, connections checked against the DMN rules, orthogonal routing
|
|
9
|
-
with editable bends and docking sides, resize, context pad and menu, rename on the canvas,
|
|
10
|
-
validation badges, full keyboard use.
|
|
11
|
-
- `DrdPalette` (`dmn-drd-palette`), `DrdZoomControls` (`dmn-drd-zoom-controls`),
|
|
12
|
-
`DrdMinimap` (`dmn-drd-minimap`), `DrdPropertiesPanel` (`dmn-drd-properties-panel`).
|
|
13
|
-
- `DrdController`: the state they share (store, tool, selection, viewport, open editor,
|
|
14
|
-
validation issues).
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
npm install @wemake4u/dmn-drd @wemake4u/dmn-core
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Peer dependencies: `@angular/core` and `@angular/common` 22.2.x, and `@wemake4u/dmn-core` 1.x.
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
Provide one `DrdController` in the component that hosts the diagram and give it a store:
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import { Component, inject } from '@angular/core';
|
|
30
|
-
import { DmnStore } from '@wemake4u/dmn-core';
|
|
31
|
-
import {
|
|
32
|
-
DrdCanvas,
|
|
33
|
-
DrdController,
|
|
34
|
-
DrdMinimap,
|
|
35
|
-
DrdPalette,
|
|
36
|
-
DrdPropertiesPanel,
|
|
37
|
-
DrdZoomControls,
|
|
38
|
-
} from '@wemake4u/dmn-drd';
|
|
39
|
-
|
|
40
|
-
@Component({
|
|
41
|
-
selector: 'app-diagram',
|
|
42
|
-
imports: [DrdCanvas, DrdPalette, DrdZoomControls, DrdMinimap, DrdPropertiesPanel],
|
|
43
|
-
providers: [DrdController],
|
|
44
|
-
template: `
|
|
45
|
-
<dmn-drd-palette />
|
|
46
|
-
<div class="area">
|
|
47
|
-
<dmn-drd-canvas />
|
|
48
|
-
<dmn-drd-zoom-controls />
|
|
49
|
-
<dmn-drd-minimap />
|
|
50
|
-
</div>
|
|
51
|
-
<dmn-drd-properties-panel />
|
|
52
|
-
`,
|
|
53
|
-
})
|
|
54
|
-
export class Diagram {
|
|
55
|
-
private readonly controller = inject(DrdController);
|
|
56
|
-
|
|
57
|
-
async load(xml: string): Promise<void> {
|
|
58
|
-
this.controller.store.set(await DmnStore.open(xml));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
`controller.logicElementId()` is set when the user asks to open the logic of a decision, BKM or
|
|
64
|
-
decision service (Enter, double click in read-only mode, menu, properties panel): show the
|
|
65
|
-
editor of your choice, for example `ElementEditorShell` from
|
|
66
|
-
[`@wemake4u/dmn-boxed`](https://www.npmjs.com/package/@wemake4u/dmn-boxed).
|
|
67
|
-
|
|
68
|
-
The canvas follows the read-only mode of the store (`store.readOnly`): no palette tools,
|
|
69
|
-
handles, drag or editing keys.
|
|
70
|
-
|
|
71
|
-
The accent colors are CSS custom properties of the canvas: `--dmn-accent`,
|
|
72
|
-
`--dmn-accent-soft`, `--dmn-danger`, `--dmn-danger-soft`.
|
|
73
|
-
|
|
74
|
-
## License
|
|
75
|
-
|
|
76
|
-
MIT. The licenses of the dependencies are in
|
|
1
|
+
# @wemake4u/dmn-drd
|
|
2
|
+
|
|
3
|
+
The DRD (Decision Requirements Diagram) components of the `@wemake4u` DMN editor, for Angular 22.
|
|
4
|
+
Most applications use the complete [`@wemake4u/dmn-editor`](https://www.npmjs.com/package/@wemake4u/dmn-editor);
|
|
5
|
+
this package is for building a different layout around the diagram.
|
|
6
|
+
|
|
7
|
+
- `DrdCanvas` (`dmn-drd-canvas`): SVG canvas with the DMN notation; selection and lasso, pan and
|
|
8
|
+
zoom, drag with grid snapping, connections checked against the DMN rules, orthogonal routing
|
|
9
|
+
with editable bends and docking sides, resize, context pad and menu, rename on the canvas,
|
|
10
|
+
validation badges, full keyboard use.
|
|
11
|
+
- `DrdPalette` (`dmn-drd-palette`), `DrdZoomControls` (`dmn-drd-zoom-controls`),
|
|
12
|
+
`DrdMinimap` (`dmn-drd-minimap`), `DrdPropertiesPanel` (`dmn-drd-properties-panel`).
|
|
13
|
+
- `DrdController`: the state they share (store, tool, selection, viewport, open editor,
|
|
14
|
+
validation issues).
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install @wemake4u/dmn-drd @wemake4u/dmn-core
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Peer dependencies: `@angular/core` and `@angular/common` 22.2.x, and `@wemake4u/dmn-core` 1.x.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
Provide one `DrdController` in the component that hosts the diagram and give it a store:
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { Component, inject } from '@angular/core';
|
|
30
|
+
import { DmnStore } from '@wemake4u/dmn-core';
|
|
31
|
+
import {
|
|
32
|
+
DrdCanvas,
|
|
33
|
+
DrdController,
|
|
34
|
+
DrdMinimap,
|
|
35
|
+
DrdPalette,
|
|
36
|
+
DrdPropertiesPanel,
|
|
37
|
+
DrdZoomControls,
|
|
38
|
+
} from '@wemake4u/dmn-drd';
|
|
39
|
+
|
|
40
|
+
@Component({
|
|
41
|
+
selector: 'app-diagram',
|
|
42
|
+
imports: [DrdCanvas, DrdPalette, DrdZoomControls, DrdMinimap, DrdPropertiesPanel],
|
|
43
|
+
providers: [DrdController],
|
|
44
|
+
template: `
|
|
45
|
+
<dmn-drd-palette />
|
|
46
|
+
<div class="area">
|
|
47
|
+
<dmn-drd-canvas />
|
|
48
|
+
<dmn-drd-zoom-controls />
|
|
49
|
+
<dmn-drd-minimap />
|
|
50
|
+
</div>
|
|
51
|
+
<dmn-drd-properties-panel />
|
|
52
|
+
`,
|
|
53
|
+
})
|
|
54
|
+
export class Diagram {
|
|
55
|
+
private readonly controller = inject(DrdController);
|
|
56
|
+
|
|
57
|
+
async load(xml: string): Promise<void> {
|
|
58
|
+
this.controller.store.set(await DmnStore.open(xml));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`controller.logicElementId()` is set when the user asks to open the logic of a decision, BKM or
|
|
64
|
+
decision service (Enter, double click in read-only mode, menu, properties panel): show the
|
|
65
|
+
editor of your choice, for example `ElementEditorShell` from
|
|
66
|
+
[`@wemake4u/dmn-boxed`](https://www.npmjs.com/package/@wemake4u/dmn-boxed).
|
|
67
|
+
|
|
68
|
+
The canvas follows the read-only mode of the store (`store.readOnly`): no palette tools,
|
|
69
|
+
handles, drag or editing keys.
|
|
70
|
+
|
|
71
|
+
The accent colors are CSS custom properties of the canvas: `--dmn-accent`,
|
|
72
|
+
`--dmn-accent-soft`, `--dmn-danger`, `--dmn-danger-soft`.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
MIT. The licenses of the dependencies are in THIRD_PARTY_NOTICES.txt.
|
|
@@ -296,6 +296,7 @@ var DrdController = class DrdController {
|
|
|
296
296
|
}
|
|
297
297
|
inspection = signal(false, ...ngDevMode ? [{ debugName: "inspection" }] : /* istanbul ignore next */ []);
|
|
298
298
|
diagnostics = signal(void 0, ...ngDevMode ? [{ debugName: "diagnostics" }] : /* istanbul ignore next */ []);
|
|
299
|
+
hiddenRefs = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "hiddenRefs" }] : /* istanbul ignore next */ []);
|
|
299
300
|
readOnly = computed(() => this.inspection() || (this.store()?.readOnly() ?? false), ...ngDevMode ? [{ debugName: "readOnly" }] : /* istanbul ignore next */ []);
|
|
300
301
|
diagramIndex = signal(0, ...ngDevMode ? [{ debugName: "diagramIndex" }] : /* istanbul ignore next */ []);
|
|
301
302
|
tool = signal({ type: "select" }, ...ngDevMode ? [{ debugName: "tool" }] : /* istanbul ignore next */ []);
|
|
@@ -414,7 +415,8 @@ var DrdController = class DrdController {
|
|
|
414
415
|
const outcome = result?.outcomes.get(reference);
|
|
415
416
|
return outcome ? {
|
|
416
417
|
outcome,
|
|
417
|
-
...result.model !== this.store()?.model() ? { stale: true } : {}
|
|
418
|
+
...result.model !== this.store()?.model() ? { stale: true } : {},
|
|
419
|
+
...result.given?.length ? { given: true } : {}
|
|
418
420
|
} : void 0;
|
|
419
421
|
}
|
|
420
422
|
badgesByElement = computed(() => {
|
|
@@ -500,9 +502,10 @@ var DrdController = class DrdController {
|
|
|
500
502
|
}
|
|
501
503
|
keyboardOrder = computed(() => {
|
|
502
504
|
const diagram = this.diagram();
|
|
505
|
+
const hidden = this.hiddenRefs();
|
|
503
506
|
const shapes = [...diagram?.shapes ?? []].filter((s) => s.bounds).sort((a, b) => a.bounds.y - b.bounds.y || a.bounds.x - b.bounds.x).map((s) => s.dmnElementRef);
|
|
504
507
|
const edges = (diagram?.edges ?? []).map((e) => e.dmnElementRef);
|
|
505
|
-
return [.../* @__PURE__ */ new Set([...shapes, ...edges])].filter((id) => !!id);
|
|
508
|
+
return [.../* @__PURE__ */ new Set([...shapes, ...edges])].filter((id) => !!id && !hidden.has(id));
|
|
506
509
|
}, ...ngDevMode ? [{ debugName: "keyboardOrder" }] : /* istanbul ignore next */ []);
|
|
507
510
|
selectNext(step) {
|
|
508
511
|
const choosingTarget = !!this.pendingConnectSource();
|
|
@@ -664,7 +667,8 @@ var DrdController = class DrdController {
|
|
|
664
667
|
}
|
|
665
668
|
}
|
|
666
669
|
selectAll() {
|
|
667
|
-
|
|
670
|
+
const hidden = this.hiddenRefs();
|
|
671
|
+
this.select((this.diagram()?.shapes ?? []).map((s) => s.dmnElementRef).filter((id) => !hidden.has(id)));
|
|
668
672
|
}
|
|
669
673
|
execute(command) {
|
|
670
674
|
const store = this.store();
|
|
@@ -792,15 +796,19 @@ var DrdController = class DrdController {
|
|
|
792
796
|
contentBounds() {
|
|
793
797
|
const diagram = this.diagram();
|
|
794
798
|
if (!diagram) return;
|
|
799
|
+
const hidden = this.hiddenRefs();
|
|
795
800
|
const xs = [];
|
|
796
801
|
const ys = [];
|
|
797
|
-
for (const shape of diagram.shapes) if (shape.bounds) {
|
|
802
|
+
for (const shape of diagram.shapes) if (shape.bounds && !hidden.has(shape.dmnElementRef)) {
|
|
798
803
|
xs.push(shape.bounds.x, shape.bounds.x + shape.bounds.width);
|
|
799
804
|
ys.push(shape.bounds.y, shape.bounds.y + shape.bounds.height);
|
|
800
805
|
}
|
|
801
|
-
for (const edge of diagram.edges)
|
|
802
|
-
|
|
803
|
-
|
|
806
|
+
for (const edge of diagram.edges) {
|
|
807
|
+
if (hidden.has(edge.dmnElementRef)) continue;
|
|
808
|
+
for (const p of edge.waypoints) {
|
|
809
|
+
xs.push(p.x);
|
|
810
|
+
ys.push(p.y);
|
|
811
|
+
}
|
|
804
812
|
}
|
|
805
813
|
if (xs.length === 0) return;
|
|
806
814
|
const x = Math.min(...xs);
|
|
@@ -812,6 +820,14 @@ var DrdController = class DrdController {
|
|
|
812
820
|
height: Math.max(...ys) - y
|
|
813
821
|
};
|
|
814
822
|
}
|
|
823
|
+
setHiddenRefs(refs) {
|
|
824
|
+
const hidden = new Set(refs);
|
|
825
|
+
const current = this.hiddenRefs();
|
|
826
|
+
if (hidden.size === current.size && [...hidden].every((id) => current.has(id))) return;
|
|
827
|
+
this.hiddenRefs.set(hidden);
|
|
828
|
+
const kept = [...this.selection()].filter((id) => !hidden.has(id));
|
|
829
|
+
if (kept.length !== this.selection().size) this.selection.set(new Set(kept));
|
|
830
|
+
}
|
|
815
831
|
dropMissingFromSelection() {
|
|
816
832
|
const store = this.store();
|
|
817
833
|
const diagram = this.diagram();
|
|
@@ -1131,7 +1147,7 @@ var DrdShape = class DrdShape {
|
|
|
1131
1147
|
badges: notes.join(". ")
|
|
1132
1148
|
});
|
|
1133
1149
|
if (trace?.duration !== void 0) {
|
|
1134
|
-
const label = t.drd.shape.withDuration({
|
|
1150
|
+
const label = trace.durationSpoken ? `${base}, ${trace.durationSpoken}` : t.drd.shape.withDuration({
|
|
1135
1151
|
label: base,
|
|
1136
1152
|
duration: trace.duration
|
|
1137
1153
|
});
|
|
@@ -2008,7 +2024,8 @@ var DrdCanvas = class DrdCanvas {
|
|
|
2008
2024
|
const offset = this.dragOffset();
|
|
2009
2025
|
const target = this.connectTarget();
|
|
2010
2026
|
const resized = this.resizePreview();
|
|
2011
|
-
|
|
2027
|
+
const hidden = this.controller.hiddenRefs();
|
|
2028
|
+
return (diagram?.shapes ?? []).filter((shape) => shape.bounds && !hidden.has(shape.dmnElementRef)).map((shape, index) => {
|
|
2012
2029
|
const ref = shape.dmnElementRef;
|
|
2013
2030
|
const element = elements?.get(ref);
|
|
2014
2031
|
const imported = element ? void 0 : this.importedView(ref);
|
|
@@ -2048,7 +2065,12 @@ var DrdCanvas = class DrdCanvas {
|
|
|
2048
2065
|
const edited = this.edgePreview();
|
|
2049
2066
|
const resized = this.resizePreview();
|
|
2050
2067
|
const bounds = offset || resized ? new Map(this.shapeViews().map((s) => [s.ref, s.bounds])) : void 0;
|
|
2051
|
-
|
|
2068
|
+
const hidden = this.controller.hiddenRefs();
|
|
2069
|
+
const shown = (edge) => {
|
|
2070
|
+
const details = info.get(edge.dmnElementRef);
|
|
2071
|
+
return !hidden.has(edge.dmnElementRef) && !(details?.source && hidden.has(details.source)) && !(details?.target && hidden.has(details.target));
|
|
2072
|
+
};
|
|
2073
|
+
return (diagram?.edges ?? []).filter(shown).map((edge, index) => {
|
|
2052
2074
|
const ref = edge.dmnElementRef;
|
|
2053
2075
|
const details = info.get(ref);
|
|
2054
2076
|
let points = edited?.ref === ref ? edited.points : edge.waypoints;
|
|
@@ -9381,13 +9403,14 @@ var DrdMinimap = class DrdMinimap {
|
|
|
9381
9403
|
const offsetX = (WIDTH - (right - left) * scale) / 2 - left * scale;
|
|
9382
9404
|
const offsetY = (HEIGHT - (bottom - top) * scale) / 2 - top * scale;
|
|
9383
9405
|
const elements = this.controller.store()?.elementsById();
|
|
9406
|
+
const hidden = this.controller.hiddenRefs();
|
|
9384
9407
|
return {
|
|
9385
9408
|
scale,
|
|
9386
9409
|
offsetX,
|
|
9387
9410
|
offsetY,
|
|
9388
9411
|
transform: `translate(${offsetX} ${offsetY}) scale(${scale})`,
|
|
9389
9412
|
view,
|
|
9390
|
-
shapes: (this.controller.diagram()?.shapes ?? []).filter((s) => s.bounds).map((s, index) => {
|
|
9413
|
+
shapes: (this.controller.diagram()?.shapes ?? []).filter((s) => s.bounds && !hidden.has(s.dmnElementRef)).map((s, index) => {
|
|
9391
9414
|
const kind = elements?.get(s.dmnElementRef)?.kind ?? "unknown";
|
|
9392
9415
|
const style = SHAPE_STYLES[kind];
|
|
9393
9416
|
const bounds = s.bounds;
|
|
@@ -9855,7 +9878,8 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
9855
9878
|
return found ? {
|
|
9856
9879
|
outcome: found.outcome,
|
|
9857
9880
|
label: this.t().drd.catalog.outcomes[found.outcome] ?? found.outcome,
|
|
9858
|
-
...found.stale ? { stale: true } : {}
|
|
9881
|
+
...found.stale ? { stale: true } : {},
|
|
9882
|
+
...found.given ? { given: true } : {}
|
|
9859
9883
|
} : void 0;
|
|
9860
9884
|
}
|
|
9861
9885
|
constructor() {
|
|
@@ -10152,7 +10176,10 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10152
10176
|
<div class="cat__detail">
|
|
10153
10177
|
@if (item(); as item) {
|
|
10154
10178
|
<ng-container
|
|
10155
|
-
*ngTemplateOutlet="
|
|
10179
|
+
*ngTemplateOutlet="
|
|
10180
|
+
entryTemplate;
|
|
10181
|
+
context: { $implicit: item, path: [selected()[0]], level: itemLevel() }
|
|
10182
|
+
"
|
|
10156
10183
|
/>
|
|
10157
10184
|
@if (childLevel(); as children) {
|
|
10158
10185
|
<h3 class="cat__subtitle">{{ childrenName() }}</h3>
|
|
@@ -10170,7 +10197,11 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10170
10197
|
}
|
|
10171
10198
|
@for (l of childLinks(); track l.link.name) {
|
|
10172
10199
|
<th scope="col">
|
|
10173
|
-
<span
|
|
10200
|
+
<span
|
|
10201
|
+
class="cat__dot"
|
|
10202
|
+
[style.background]="l.color"
|
|
10203
|
+
aria-hidden="true"
|
|
10204
|
+
></span>
|
|
10174
10205
|
{{ l.label }}
|
|
10175
10206
|
<small>{{ l.notes }}</small>
|
|
10176
10207
|
</th>
|
|
@@ -10234,7 +10265,15 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10234
10265
|
</tr>
|
|
10235
10266
|
} @empty {
|
|
10236
10267
|
<tr>
|
|
10237
|
-
<td
|
|
10268
|
+
<td
|
|
10269
|
+
class="cat__muted"
|
|
10270
|
+
[attr.colspan]="
|
|
10271
|
+
childColumns().length +
|
|
10272
|
+
childLinks().length +
|
|
10273
|
+
(readOnly() ? 0 : 1) +
|
|
10274
|
+
(hasOutcomes() ? 1 : 0)
|
|
10275
|
+
"
|
|
10276
|
+
>
|
|
10238
10277
|
{{ t().drd.catalog.noEntries }}
|
|
10239
10278
|
</td>
|
|
10240
10279
|
</tr>
|
|
@@ -10261,9 +10300,16 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10261
10300
|
</div>
|
|
10262
10301
|
}
|
|
10263
10302
|
@if (child(); as child) {
|
|
10264
|
-
<div
|
|
10303
|
+
<div
|
|
10304
|
+
class="cat__child"
|
|
10305
|
+
[attr.aria-label]="t().drd.catalog.selected({ entry: titleOf(children, child) })"
|
|
10306
|
+
role="group"
|
|
10307
|
+
>
|
|
10265
10308
|
<ng-container
|
|
10266
|
-
*ngTemplateOutlet="
|
|
10309
|
+
*ngTemplateOutlet="
|
|
10310
|
+
entryTemplate;
|
|
10311
|
+
context: { $implicit: child, path: selected(), level: children }
|
|
10312
|
+
"
|
|
10267
10313
|
/>
|
|
10268
10314
|
</div>
|
|
10269
10315
|
}
|
|
@@ -10283,7 +10329,10 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10283
10329
|
<span
|
|
10284
10330
|
[class]="'cat__outcome cat__outcome--' + o.outcome"
|
|
10285
10331
|
[class.cat__outcome--stale]="o.stale"
|
|
10286
|
-
[
|
|
10332
|
+
[class.cat__outcome--given]="o.given && !o.stale"
|
|
10333
|
+
[title]="
|
|
10334
|
+
t().drd.catalog.outcomeOf({ outcome: o.label, stale: !!o.stale, given: !!o.given })
|
|
10335
|
+
"
|
|
10287
10336
|
>{{ o.label }}</span
|
|
10288
10337
|
>
|
|
10289
10338
|
</ng-template>
|
|
@@ -10299,8 +10348,22 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10299
10348
|
{{ t().drd.catalog.showInDiagram }}
|
|
10300
10349
|
</button>
|
|
10301
10350
|
@if (!readOnly()) {
|
|
10302
|
-
<button
|
|
10303
|
-
|
|
10351
|
+
<button
|
|
10352
|
+
type="button"
|
|
10353
|
+
[attr.aria-label]="t().drd.catalog.moveUp"
|
|
10354
|
+
[title]="t().drd.catalog.moveUp"
|
|
10355
|
+
(click)="move(path, -1)"
|
|
10356
|
+
>
|
|
10357
|
+
↑
|
|
10358
|
+
</button>
|
|
10359
|
+
<button
|
|
10360
|
+
type="button"
|
|
10361
|
+
[attr.aria-label]="t().drd.catalog.moveDown"
|
|
10362
|
+
[title]="t().drd.catalog.moveDown"
|
|
10363
|
+
(click)="move(path, 1)"
|
|
10364
|
+
>
|
|
10365
|
+
↓
|
|
10366
|
+
</button>
|
|
10304
10367
|
<button type="button" class="cat__danger" (click)="remove(path, level, entry)">
|
|
10305
10368
|
{{ t().drd.catalog.remove }}
|
|
10306
10369
|
</button>
|
|
@@ -10337,7 +10400,7 @@ var DrdCatalogView = class DrdCatalogView {
|
|
|
10337
10400
|
</ng-template>
|
|
10338
10401
|
`,
|
|
10339
10402
|
isInline: true,
|
|
10340
|
-
styles: [":host{display:block;overflow:auto;background:#f3f5f8;font-size:14px;color:#161a1f}.cat{display:flex;flex-direction:column;gap:12px;max-width:1280px;margin:0 auto;padding:16px 20px 32px}.cat__head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cat__head h2{margin:0;font-size:18px;font-weight:600}.cat__source{font-family:IBM Plex Mono,monospace;font-size:11px;color:#646c77}.cat__catlinks,.cat__cols{border:1px solid #d5dae1;border-radius:8px;background:#fff}.cat__catlinks{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.cat__cols{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);min-height:360px}@media(max-width:760px){.cat__cols{grid-template-columns:minmax(0,1fr)}}.cat__list{display:flex;flex-direction:column;gap:8px;padding:10px;border-right:1px solid #e2e6eb}.cat__list ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.cat__li{display:flex;align-items:center;gap:2px;border-radius:6px}.cat__grip{flex:none;padding:2px 3px;border-radius:4px;font-size:15px;line-height:1;color:#646c77;cursor:grab;-webkit-user-select:none;user-select:none}.cat__grip:hover{background:#e8ebef;color:#161a1f}.cat__grip-cell{width:18px;padding-right:0!important}.cat__dragged{opacity:.45}.cat__drop-before{box-shadow:inset 0 2px #1f5bd6}.cat__drop-after{box-shadow:inset 0 -2px #1f5bd6}.cat__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cat__item{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:none;border-radius:6px;background:transparent;font:inherit;text-align:left;color:inherit;cursor:pointer}.cat__item b{font-weight:500}.cat__item[aria-current=true]{background:#e8effc}.cat__muted{font-size:12px;color:#5b636e}.cat__none{padding:8px 10px}.cat__warn{color:#8a4508}.cat__detail{display:flex;flex-direction:column;gap:14px;min-width:0;padding:14px 18px;container-type:inline-size}.cat__entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cat__entry-head h3,.cat__subtitle{margin:0;font-size:15px;font-weight:600}.cat__subtitle{margin-top:6px}.cat__spacer{flex:1 1 auto}button{font:inherit;color:inherit}.cat__entry-head button,.cat__back,.cat__add{height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__level-actions{display:flex;flex-wrap:wrap;gap:8px}.cat__renumber{align-self:flex-start;height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__add{align-self:flex-start;border-style:dashed;color:#1f5bd6}.cat__danger{color:#b42318}.cat__entry-links{display:flex;flex-direction:column;gap:10px}.cat__link{display:grid;grid-template-columns:12px minmax(110px,160px) minmax(0,1fr);align-items:center;gap:4px 8px}.cat__notes,.cat__help{grid-column:3;font-size:12px;color:#5b636e}.cat__link-label{font-size:13px;font-weight:500;color:#3f4650}.cat__dot{display:inline-block;width:10px;height:10px;border-radius:2px}.cat__table-wrap{overflow-x:auto}.cat__table{width:100%;border-collapse:collapse;font-size:13px}.cat__table th,.cat__table td{padding:6px 8px;border-bottom:1px solid #e2e6eb;text-align:left;vertical-align:middle}.cat__table th{font-weight:500;color:#3f4650;white-space:nowrap}.cat__table th small{display:block;font-weight:400;color:#5b636e}.cat__row--selected td{background:#e8effc}.cat__row-button{padding:2px 4px;border:none;background:transparent;font-family:IBM Plex Mono,monospace;font-size:12px;color:#1a3f8f;text-decoration:underline;white-space:nowrap;cursor:pointer}.cat__child{display:flex;flex-direction:column;gap:14px;padding:12px 14px;border:1px solid #c6d4f0;border-radius:8px;background:#fafbfd}.cat__outcome{align-self:flex-start;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap}.cat__item .cat__outcome{margin-top:2px}.cat__outcome--passed{background:#e6f4ea;color:#1a6b32}.cat__outcome--failed{background:#fbeeee;color:#9a1c13}.cat__outcome--notApplicable{background:#eef0f3;color:#4a515b}.cat__outcome--indeterminate{background:#fdf1e3;color:#7a3d07}.cat__outcome--stale{outline:1px dashed #8a929c;background:#eef0f3;color:#4a515b}.cat__failure{margin:0;padding:8px 10px;border-radius:6px;background:#fbeeee;color:#7a1f1f;font-size:13px}button:focus-visible{outline:2px solid #1f5bd6;outline-offset:1px}\n"],
|
|
10403
|
+
styles: [":host{display:block;overflow:auto;background:#f3f5f8;font-size:14px;color:#161a1f}.cat{display:flex;flex-direction:column;gap:12px;max-width:1280px;margin:0 auto;padding:16px 20px 32px}.cat__head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cat__head h2{margin:0;font-size:18px;font-weight:600}.cat__source{font-family:IBM Plex Mono,monospace;font-size:11px;color:#646c77}.cat__catlinks,.cat__cols{border:1px solid #d5dae1;border-radius:8px;background:#fff}.cat__catlinks{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.cat__cols{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);min-height:360px}@media(max-width:760px){.cat__cols{grid-template-columns:minmax(0,1fr)}}.cat__list{display:flex;flex-direction:column;gap:8px;padding:10px;border-right:1px solid #e2e6eb}.cat__list ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.cat__li{display:flex;align-items:center;gap:2px;border-radius:6px}.cat__grip{flex:none;padding:2px 3px;border-radius:4px;font-size:15px;line-height:1;color:#646c77;cursor:grab;-webkit-user-select:none;user-select:none}.cat__grip:hover{background:#e8ebef;color:#161a1f}.cat__grip-cell{width:18px;padding-right:0!important}.cat__dragged{opacity:.45}.cat__drop-before{box-shadow:inset 0 2px #1f5bd6}.cat__drop-after{box-shadow:inset 0 -2px #1f5bd6}.cat__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cat__item{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:none;border-radius:6px;background:transparent;font:inherit;text-align:left;color:inherit;cursor:pointer}.cat__item b{font-weight:500}.cat__item[aria-current=true]{background:#e8effc}.cat__muted{font-size:12px;color:#5b636e}.cat__none{padding:8px 10px}.cat__warn{color:#8a4508}.cat__detail{display:flex;flex-direction:column;gap:14px;min-width:0;padding:14px 18px;container-type:inline-size}.cat__entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cat__entry-head h3,.cat__subtitle{margin:0;font-size:15px;font-weight:600}.cat__subtitle{margin-top:6px}.cat__spacer{flex:1 1 auto}button{font:inherit;color:inherit}.cat__entry-head button,.cat__back,.cat__add{height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__level-actions{display:flex;flex-wrap:wrap;gap:8px}.cat__renumber{align-self:flex-start;height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__add{align-self:flex-start;border-style:dashed;color:#1f5bd6}.cat__danger{color:#b42318}.cat__entry-links{display:flex;flex-direction:column;gap:10px}.cat__link{display:grid;grid-template-columns:12px minmax(110px,160px) minmax(0,1fr);align-items:center;gap:4px 8px}.cat__notes,.cat__help{grid-column:3;font-size:12px;color:#5b636e}.cat__link-label{font-size:13px;font-weight:500;color:#3f4650}.cat__dot{display:inline-block;width:10px;height:10px;border-radius:2px}.cat__table-wrap{overflow-x:auto}.cat__table{width:100%;border-collapse:collapse;font-size:13px}.cat__table th,.cat__table td{padding:6px 8px;border-bottom:1px solid #e2e6eb;text-align:left;vertical-align:middle}.cat__table th{font-weight:500;color:#3f4650;white-space:nowrap}.cat__table th small{display:block;font-weight:400;color:#5b636e}.cat__row--selected td{background:#e8effc}.cat__row-button{padding:2px 4px;border:none;background:transparent;font-family:IBM Plex Mono,monospace;font-size:12px;color:#1a3f8f;text-decoration:underline;white-space:nowrap;cursor:pointer}.cat__child{display:flex;flex-direction:column;gap:14px;padding:12px 14px;border:1px solid #c6d4f0;border-radius:8px;background:#fafbfd}.cat__outcome{align-self:flex-start;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap}.cat__item .cat__outcome{margin-top:2px}.cat__outcome--passed{background:#e6f4ea;color:#1a6b32}.cat__outcome--failed{background:#fbeeee;color:#9a1c13}.cat__outcome--notApplicable{background:#eef0f3;color:#4a515b}.cat__outcome--indeterminate{background:#fdf1e3;color:#7a3d07}.cat__outcome--given{outline:1px dashed currentColor;outline-offset:1px}.cat__outcome--stale{outline:1px dashed #8a929c;background:#eef0f3;color:#4a515b}.cat__failure{margin:0;padding:8px 10px;border-radius:6px;background:#fbeeee;color:#7a1f1f;font-size:13px}button:focus-visible{outline:2px solid #1f5bd6;outline-offset:1px}\n"],
|
|
10341
10404
|
dependencies: [
|
|
10342
10405
|
{
|
|
10343
10406
|
kind: "directive",
|
|
@@ -10492,7 +10555,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10492
10555
|
<div class="cat__detail">
|
|
10493
10556
|
@if (item(); as item) {
|
|
10494
10557
|
<ng-container
|
|
10495
|
-
*ngTemplateOutlet="
|
|
10558
|
+
*ngTemplateOutlet="
|
|
10559
|
+
entryTemplate;
|
|
10560
|
+
context: { $implicit: item, path: [selected()[0]], level: itemLevel() }
|
|
10561
|
+
"
|
|
10496
10562
|
/>
|
|
10497
10563
|
@if (childLevel(); as children) {
|
|
10498
10564
|
<h3 class="cat__subtitle">{{ childrenName() }}</h3>
|
|
@@ -10510,7 +10576,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10510
10576
|
}
|
|
10511
10577
|
@for (l of childLinks(); track l.link.name) {
|
|
10512
10578
|
<th scope="col">
|
|
10513
|
-
<span
|
|
10579
|
+
<span
|
|
10580
|
+
class="cat__dot"
|
|
10581
|
+
[style.background]="l.color"
|
|
10582
|
+
aria-hidden="true"
|
|
10583
|
+
></span>
|
|
10514
10584
|
{{ l.label }}
|
|
10515
10585
|
<small>{{ l.notes }}</small>
|
|
10516
10586
|
</th>
|
|
@@ -10574,7 +10644,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10574
10644
|
</tr>
|
|
10575
10645
|
} @empty {
|
|
10576
10646
|
<tr>
|
|
10577
|
-
<td
|
|
10647
|
+
<td
|
|
10648
|
+
class="cat__muted"
|
|
10649
|
+
[attr.colspan]="
|
|
10650
|
+
childColumns().length +
|
|
10651
|
+
childLinks().length +
|
|
10652
|
+
(readOnly() ? 0 : 1) +
|
|
10653
|
+
(hasOutcomes() ? 1 : 0)
|
|
10654
|
+
"
|
|
10655
|
+
>
|
|
10578
10656
|
{{ t().drd.catalog.noEntries }}
|
|
10579
10657
|
</td>
|
|
10580
10658
|
</tr>
|
|
@@ -10601,9 +10679,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10601
10679
|
</div>
|
|
10602
10680
|
}
|
|
10603
10681
|
@if (child(); as child) {
|
|
10604
|
-
<div
|
|
10682
|
+
<div
|
|
10683
|
+
class="cat__child"
|
|
10684
|
+
[attr.aria-label]="t().drd.catalog.selected({ entry: titleOf(children, child) })"
|
|
10685
|
+
role="group"
|
|
10686
|
+
>
|
|
10605
10687
|
<ng-container
|
|
10606
|
-
*ngTemplateOutlet="
|
|
10688
|
+
*ngTemplateOutlet="
|
|
10689
|
+
entryTemplate;
|
|
10690
|
+
context: { $implicit: child, path: selected(), level: children }
|
|
10691
|
+
"
|
|
10607
10692
|
/>
|
|
10608
10693
|
</div>
|
|
10609
10694
|
}
|
|
@@ -10623,7 +10708,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10623
10708
|
<span
|
|
10624
10709
|
[class]="'cat__outcome cat__outcome--' + o.outcome"
|
|
10625
10710
|
[class.cat__outcome--stale]="o.stale"
|
|
10626
|
-
[
|
|
10711
|
+
[class.cat__outcome--given]="o.given && !o.stale"
|
|
10712
|
+
[title]="
|
|
10713
|
+
t().drd.catalog.outcomeOf({ outcome: o.label, stale: !!o.stale, given: !!o.given })
|
|
10714
|
+
"
|
|
10627
10715
|
>{{ o.label }}</span
|
|
10628
10716
|
>
|
|
10629
10717
|
</ng-template>
|
|
@@ -10639,8 +10727,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10639
10727
|
{{ t().drd.catalog.showInDiagram }}
|
|
10640
10728
|
</button>
|
|
10641
10729
|
@if (!readOnly()) {
|
|
10642
|
-
<button
|
|
10643
|
-
|
|
10730
|
+
<button
|
|
10731
|
+
type="button"
|
|
10732
|
+
[attr.aria-label]="t().drd.catalog.moveUp"
|
|
10733
|
+
[title]="t().drd.catalog.moveUp"
|
|
10734
|
+
(click)="move(path, -1)"
|
|
10735
|
+
>
|
|
10736
|
+
↑
|
|
10737
|
+
</button>
|
|
10738
|
+
<button
|
|
10739
|
+
type="button"
|
|
10740
|
+
[attr.aria-label]="t().drd.catalog.moveDown"
|
|
10741
|
+
[title]="t().drd.catalog.moveDown"
|
|
10742
|
+
(click)="move(path, 1)"
|
|
10743
|
+
>
|
|
10744
|
+
↓
|
|
10745
|
+
</button>
|
|
10644
10746
|
<button type="button" class="cat__danger" (click)="remove(path, level, entry)">
|
|
10645
10747
|
{{ t().drd.catalog.remove }}
|
|
10646
10748
|
</button>
|
|
@@ -10676,7 +10778,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10676
10778
|
}
|
|
10677
10779
|
</ng-template>
|
|
10678
10780
|
`,
|
|
10679
|
-
styles: [":host{display:block;overflow:auto;background:#f3f5f8;font-size:14px;color:#161a1f}.cat{display:flex;flex-direction:column;gap:12px;max-width:1280px;margin:0 auto;padding:16px 20px 32px}.cat__head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cat__head h2{margin:0;font-size:18px;font-weight:600}.cat__source{font-family:IBM Plex Mono,monospace;font-size:11px;color:#646c77}.cat__catlinks,.cat__cols{border:1px solid #d5dae1;border-radius:8px;background:#fff}.cat__catlinks{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.cat__cols{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);min-height:360px}@media(max-width:760px){.cat__cols{grid-template-columns:minmax(0,1fr)}}.cat__list{display:flex;flex-direction:column;gap:8px;padding:10px;border-right:1px solid #e2e6eb}.cat__list ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.cat__li{display:flex;align-items:center;gap:2px;border-radius:6px}.cat__grip{flex:none;padding:2px 3px;border-radius:4px;font-size:15px;line-height:1;color:#646c77;cursor:grab;-webkit-user-select:none;user-select:none}.cat__grip:hover{background:#e8ebef;color:#161a1f}.cat__grip-cell{width:18px;padding-right:0!important}.cat__dragged{opacity:.45}.cat__drop-before{box-shadow:inset 0 2px #1f5bd6}.cat__drop-after{box-shadow:inset 0 -2px #1f5bd6}.cat__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cat__item{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:none;border-radius:6px;background:transparent;font:inherit;text-align:left;color:inherit;cursor:pointer}.cat__item b{font-weight:500}.cat__item[aria-current=true]{background:#e8effc}.cat__muted{font-size:12px;color:#5b636e}.cat__none{padding:8px 10px}.cat__warn{color:#8a4508}.cat__detail{display:flex;flex-direction:column;gap:14px;min-width:0;padding:14px 18px;container-type:inline-size}.cat__entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cat__entry-head h3,.cat__subtitle{margin:0;font-size:15px;font-weight:600}.cat__subtitle{margin-top:6px}.cat__spacer{flex:1 1 auto}button{font:inherit;color:inherit}.cat__entry-head button,.cat__back,.cat__add{height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__level-actions{display:flex;flex-wrap:wrap;gap:8px}.cat__renumber{align-self:flex-start;height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__add{align-self:flex-start;border-style:dashed;color:#1f5bd6}.cat__danger{color:#b42318}.cat__entry-links{display:flex;flex-direction:column;gap:10px}.cat__link{display:grid;grid-template-columns:12px minmax(110px,160px) minmax(0,1fr);align-items:center;gap:4px 8px}.cat__notes,.cat__help{grid-column:3;font-size:12px;color:#5b636e}.cat__link-label{font-size:13px;font-weight:500;color:#3f4650}.cat__dot{display:inline-block;width:10px;height:10px;border-radius:2px}.cat__table-wrap{overflow-x:auto}.cat__table{width:100%;border-collapse:collapse;font-size:13px}.cat__table th,.cat__table td{padding:6px 8px;border-bottom:1px solid #e2e6eb;text-align:left;vertical-align:middle}.cat__table th{font-weight:500;color:#3f4650;white-space:nowrap}.cat__table th small{display:block;font-weight:400;color:#5b636e}.cat__row--selected td{background:#e8effc}.cat__row-button{padding:2px 4px;border:none;background:transparent;font-family:IBM Plex Mono,monospace;font-size:12px;color:#1a3f8f;text-decoration:underline;white-space:nowrap;cursor:pointer}.cat__child{display:flex;flex-direction:column;gap:14px;padding:12px 14px;border:1px solid #c6d4f0;border-radius:8px;background:#fafbfd}.cat__outcome{align-self:flex-start;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap}.cat__item .cat__outcome{margin-top:2px}.cat__outcome--passed{background:#e6f4ea;color:#1a6b32}.cat__outcome--failed{background:#fbeeee;color:#9a1c13}.cat__outcome--notApplicable{background:#eef0f3;color:#4a515b}.cat__outcome--indeterminate{background:#fdf1e3;color:#7a3d07}.cat__outcome--stale{outline:1px dashed #8a929c;background:#eef0f3;color:#4a515b}.cat__failure{margin:0;padding:8px 10px;border-radius:6px;background:#fbeeee;color:#7a1f1f;font-size:13px}button:focus-visible{outline:2px solid #1f5bd6;outline-offset:1px}\n"]
|
|
10781
|
+
styles: [":host{display:block;overflow:auto;background:#f3f5f8;font-size:14px;color:#161a1f}.cat{display:flex;flex-direction:column;gap:12px;max-width:1280px;margin:0 auto;padding:16px 20px 32px}.cat__head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cat__head h2{margin:0;font-size:18px;font-weight:600}.cat__source{font-family:IBM Plex Mono,monospace;font-size:11px;color:#646c77}.cat__catlinks,.cat__cols{border:1px solid #d5dae1;border-radius:8px;background:#fff}.cat__catlinks{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.cat__cols{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);min-height:360px}@media(max-width:760px){.cat__cols{grid-template-columns:minmax(0,1fr)}}.cat__list{display:flex;flex-direction:column;gap:8px;padding:10px;border-right:1px solid #e2e6eb}.cat__list ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.cat__li{display:flex;align-items:center;gap:2px;border-radius:6px}.cat__grip{flex:none;padding:2px 3px;border-radius:4px;font-size:15px;line-height:1;color:#646c77;cursor:grab;-webkit-user-select:none;user-select:none}.cat__grip:hover{background:#e8ebef;color:#161a1f}.cat__grip-cell{width:18px;padding-right:0!important}.cat__dragged{opacity:.45}.cat__drop-before{box-shadow:inset 0 2px #1f5bd6}.cat__drop-after{box-shadow:inset 0 -2px #1f5bd6}.cat__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cat__item{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:none;border-radius:6px;background:transparent;font:inherit;text-align:left;color:inherit;cursor:pointer}.cat__item b{font-weight:500}.cat__item[aria-current=true]{background:#e8effc}.cat__muted{font-size:12px;color:#5b636e}.cat__none{padding:8px 10px}.cat__warn{color:#8a4508}.cat__detail{display:flex;flex-direction:column;gap:14px;min-width:0;padding:14px 18px;container-type:inline-size}.cat__entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cat__entry-head h3,.cat__subtitle{margin:0;font-size:15px;font-weight:600}.cat__subtitle{margin-top:6px}.cat__spacer{flex:1 1 auto}button{font:inherit;color:inherit}.cat__entry-head button,.cat__back,.cat__add{height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__level-actions{display:flex;flex-wrap:wrap;gap:8px}.cat__renumber{align-self:flex-start;height:32px;padding:0 10px;border:1px solid #d5dae1;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.cat__add{align-self:flex-start;border-style:dashed;color:#1f5bd6}.cat__danger{color:#b42318}.cat__entry-links{display:flex;flex-direction:column;gap:10px}.cat__link{display:grid;grid-template-columns:12px minmax(110px,160px) minmax(0,1fr);align-items:center;gap:4px 8px}.cat__notes,.cat__help{grid-column:3;font-size:12px;color:#5b636e}.cat__link-label{font-size:13px;font-weight:500;color:#3f4650}.cat__dot{display:inline-block;width:10px;height:10px;border-radius:2px}.cat__table-wrap{overflow-x:auto}.cat__table{width:100%;border-collapse:collapse;font-size:13px}.cat__table th,.cat__table td{padding:6px 8px;border-bottom:1px solid #e2e6eb;text-align:left;vertical-align:middle}.cat__table th{font-weight:500;color:#3f4650;white-space:nowrap}.cat__table th small{display:block;font-weight:400;color:#5b636e}.cat__row--selected td{background:#e8effc}.cat__row-button{padding:2px 4px;border:none;background:transparent;font-family:IBM Plex Mono,monospace;font-size:12px;color:#1a3f8f;text-decoration:underline;white-space:nowrap;cursor:pointer}.cat__child{display:flex;flex-direction:column;gap:14px;padding:12px 14px;border:1px solid #c6d4f0;border-radius:8px;background:#fafbfd}.cat__outcome{align-self:flex-start;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap}.cat__item .cat__outcome{margin-top:2px}.cat__outcome--passed{background:#e6f4ea;color:#1a6b32}.cat__outcome--failed{background:#fbeeee;color:#9a1c13}.cat__outcome--notApplicable{background:#eef0f3;color:#4a515b}.cat__outcome--indeterminate{background:#fdf1e3;color:#7a3d07}.cat__outcome--given{outline:1px dashed currentColor;outline-offset:1px}.cat__outcome--stale{outline:1px dashed #8a929c;background:#eef0f3;color:#4a515b}.cat__failure{margin:0;padding:8px 10px;border-radius:6px;background:#fbeeee;color:#7a1f1f;font-size:13px}button:focus-visible{outline:2px solid #1f5bd6;outline-offset:1px}\n"]
|
|
10680
10782
|
}]
|
|
10681
10783
|
}],
|
|
10682
10784
|
ctorParameters: () => [],
|