@formicoidea/labre-framework-ddd-core-domain 0.29.1 → 0.31.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRendererExtension, } from '@formicoidea/labre-core/blocks/surface';
|
|
2
2
|
import { FONT_FAMILY, refScale } from '@formicoidea/labre-ddd-shared';
|
|
3
|
-
import { AXIS, COLORS, REF_H, REF_W, ZONE_LABELS, ZONES } from './consts';
|
|
3
|
+
import { AXIS, COLORS, REF_H, REF_W, ZONE_LABELS, ZONES } from './consts.js';
|
|
4
4
|
/**
|
|
5
5
|
* Canvas renderer for the Core Domain Chart background — the translucent
|
|
6
6
|
* Generic / Supporting / Core zone bands, the two axes with arrow heads and the
|
|
@@ -2,7 +2,7 @@ import { CoreDomainChartElementModel } from '@formicoidea/labre-core/model';
|
|
|
2
2
|
import { TelemetryProvider, ToolbarModuleExtension, } from '@formicoidea/labre-core/shared/services';
|
|
3
3
|
import { BlockFlavourIdentifier } from '@formicoidea/labre-core/std';
|
|
4
4
|
import { html } from 'lit';
|
|
5
|
-
import { createCoreDomainLegend } from './legend';
|
|
5
|
+
import { createCoreDomainLegend } from './legend.js';
|
|
6
6
|
const legendIcon = html `<svg
|
|
7
7
|
width="24"
|
|
8
8
|
height="24"
|
package/dist/effects.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EdgelessDddCoreDomainMenu } from './toolbar/core-domain-menu';
|
|
2
|
-
import { EdgelessDddCoreDomainSeniorButton } from './toolbar/senior-button';
|
|
1
|
+
import { EdgelessDddCoreDomainMenu } from './toolbar/core-domain-menu.js';
|
|
2
|
+
import { EdgelessDddCoreDomainSeniorButton } from './toolbar/senior-button.js';
|
|
3
3
|
export declare function coreDomainEffects(): void;
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
package/dist/effects.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EdgelessDddCoreDomainMenu } from './toolbar/core-domain-menu';
|
|
2
|
-
import { EdgelessDddCoreDomainSeniorButton } from './toolbar/senior-button';
|
|
1
|
+
import { EdgelessDddCoreDomainMenu } from './toolbar/core-domain-menu.js';
|
|
2
|
+
import { EdgelessDddCoreDomainSeniorButton } from './toolbar/senior-button.js';
|
|
3
3
|
/** Define a custom element once (each tool's effect may run more than once). */
|
|
4
4
|
function define(tag, ctor) {
|
|
5
5
|
if (!customElements.get(tag))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addConnector, addDot, addMarker, CD_SUBDOMAINS, DddMenuBase, MOVEMENT_COLOR, TEAM_TOPOLOGIES, } from '@formicoidea/labre-ddd-shared';
|
|
2
2
|
import { Bound } from '@formicoidea/labre-core/global/gfx';
|
|
3
3
|
import { html, svg } from 'lit';
|
|
4
|
-
import { REF_H, REF_W } from '../core-domain/consts';
|
|
4
|
+
import { REF_H, REF_W } from '../core-domain/consts.js';
|
|
5
5
|
const chartSwatch = svg `<svg viewBox="0 0 24 24" fill="none"><rect x="4" y="3" width="17" height="17" fill="#4d9900" fill-opacity="0.5"/><rect x="4" y="3" width="6" height="17" fill="#9933ff" fill-opacity="0.5"/><path d="M4 20 V3 M4 20 H21" stroke="currentColor" stroke-width="1.8"/></svg>`;
|
|
6
6
|
const dotSwatch = (color) => svg `<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="7" fill="${color}" stroke="#1f2328" stroke-width="1.2"/></svg>`;
|
|
7
7
|
const movementSwatch = svg `<svg viewBox="0 0 24 24" fill="none"><path d="M3 18 L16 7" stroke="${MOVEMENT_COLOR}" stroke-width="2" stroke-dasharray="3 3"/><path d="M12 6 L18 5 L17 11" stroke="${MOVEMENT_COLOR}" stroke-width="2" fill="none"/></svg>`;
|
package/dist/view.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
|
|
2
|
-
import { CoreDomainRendererExtension } from './core-domain/element-renderer';
|
|
3
|
-
import { CoreDomainInteraction, CoreDomainView } from './core-domain/element-view';
|
|
4
|
-
import { coreDomainToolbarExtension } from './core-domain/toolbar-config';
|
|
5
|
-
import { coreDomainEffects } from './effects';
|
|
6
|
-
import { coreDomainSeniorTool } from './toolbar/senior-tool';
|
|
2
|
+
import { CoreDomainRendererExtension } from './core-domain/element-renderer.js';
|
|
3
|
+
import { CoreDomainInteraction, CoreDomainView } from './core-domain/element-view.js';
|
|
4
|
+
import { coreDomainToolbarExtension } from './core-domain/toolbar-config.js';
|
|
5
|
+
import { coreDomainEffects } from './effects.js';
|
|
6
|
+
import { coreDomainSeniorTool } from './toolbar/senior-tool.js';
|
|
7
7
|
/**
|
|
8
8
|
* Core Domain Chart rendering — ALWAYS registered, independent of any flag.
|
|
9
9
|
* Disabling `ddd-core-domain` hides only the senior toolbar button (see
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-framework-ddd-core-domain",
|
|
3
3
|
"description": "Labre ddd-core-domain framework for @formicoidea/labre-core.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.31.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@formicoidea/labre-core": "0.
|
|
31
|
-
"@formicoidea/labre-ddd-shared": "0.
|
|
30
|
+
"@formicoidea/labre-core": "0.31.0",
|
|
31
|
+
"@formicoidea/labre-ddd-shared": "0.31.0",
|
|
32
32
|
"lit": "^3.2.0"
|
|
33
33
|
}
|
|
34
34
|
}
|