@formicoidea/labre-framework-ddd-core-domain 0.43.1 → 0.46.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.
@@ -10,6 +10,6 @@ import type { CoreDomainChartElementModel } from '@formicoidea/labre-core/model'
10
10
  * constants the deleted imperative renderer drew from.
11
11
  */
12
12
  export declare const coreDomain: ElementRenderer<CoreDomainChartElementModel>;
13
- export declare const CoreDomainRendererExtension: import("@formicoidea/labre-core/store").ExtensionType & {
13
+ export declare const CoreDomainRendererExtension: import("@formicoidea/labre-core/_pkgs/store").ExtensionType & {
14
14
  identifier: import("@formicoidea/labre-core/_pkgs/global/di").ServiceIdentifier<ElementRenderer<CoreDomainChartElementModel>>;
15
15
  };
@@ -22,4 +22,4 @@ export declare class CoreDomainView extends DeclaredBackgroundView<CoreDomainCha
22
22
  * such prop falls back to `geometry.resizable` — the same behaviour the
23
23
  * hand-written extension had, minus the hand.
24
24
  */
25
- export declare const CoreDomainInteraction: import("@formicoidea/labre-core/store").ExtensionType;
25
+ export declare const CoreDomainInteraction: import("@formicoidea/labre-core/_pkgs/store").ExtensionType;
package/dist/reading.d.ts CHANGED
@@ -21,14 +21,18 @@ import type { ReadingProfile } from '@formicoidea/labre-core/blocks/surface';
21
21
  *
22
22
  * The chart itself is the FRAME and is not read.
23
23
  *
24
- * ## No nature, no phase
24
+ * ## No nature; a zone, not a phase
25
25
  *
26
26
  * The framework ships no type-3 tag pack: the five dot presets ARE roles, and
27
27
  * the panel says them on the type line with the chain above them ("Platform
28
- * sub-domain › Sub-domain"). And the chart's two axes are a plane, not a set of
29
- * declared zones with ids — reading a phase off it would be an invented fact, so
30
- * the section is absent rather than empty. A follow-up ticket covers the
31
- * variant-scoped 2D zones the engine would need.
28
+ * sub-domain › Sub-domain").
29
+ *
30
+ * The chart's two axes are a PLANE, so a dot is read in two dimensions (no
31
+ * `axis`): it is in the quadrant whose rectangle holds its centre, among the
32
+ * quadrants of the reading the chart is turned to (`variant` — classic or
33
+ * migration), and named the way the chart names it, the user's renamed label
34
+ * included. A dot in a strip no quadrant covers is in none, and the panel says
35
+ * so rather than picking the nearest.
32
36
  */
33
37
  /**
34
38
  * The dots: the five presets, and the two bounded-context positions.
package/dist/reading.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { CORE_DOMAIN_BACKGROUND } from './core-domain/background.js';
1
2
  import { CORE_DOMAIN_ROLE, CORE_DOMAIN_ROLES } from './roles.js';
2
3
  /**
3
4
  * What a Core Domain Chart lets the tool read (MF3, the reversed reading).
@@ -21,14 +22,18 @@ import { CORE_DOMAIN_ROLE, CORE_DOMAIN_ROLES } from './roles.js';
21
22
  *
22
23
  * The chart itself is the FRAME and is not read.
23
24
  *
24
- * ## No nature, no phase
25
+ * ## No nature; a zone, not a phase
25
26
  *
26
27
  * The framework ships no type-3 tag pack: the five dot presets ARE roles, and
27
28
  * the panel says them on the type line with the chain above them ("Platform
28
- * sub-domain › Sub-domain"). And the chart's two axes are a plane, not a set of
29
- * declared zones with ids — reading a phase off it would be an invented fact, so
30
- * the section is absent rather than empty. A follow-up ticket covers the
31
- * variant-scoped 2D zones the engine would need.
29
+ * sub-domain › Sub-domain").
30
+ *
31
+ * The chart's two axes are a PLANE, so a dot is read in two dimensions (no
32
+ * `axis`): it is in the quadrant whose rectangle holds its centre, among the
33
+ * quadrants of the reading the chart is turned to (`variant` — classic or
34
+ * migration), and named the way the chart names it, the user's renamed label
35
+ * included. A dot in a strip no quadrant covers is in none, and the panel says
36
+ * so rather than picking the nearest.
32
37
  */
33
38
  /**
34
39
  * The dots: the five presets, and the two bounded-context positions.
@@ -56,6 +61,18 @@ export const CORE_DOMAIN_READING = {
56
61
  },
57
62
  },
58
63
  },
64
+ frame: {
65
+ backgroundRole: CORE_DOMAIN_ROLE.chart,
66
+ background: CORE_DOMAIN_BACKGROUND,
67
+ label: {
68
+ labelKey: 'com.labre.core-domain.reading.field.zone',
69
+ labelFallback: 'Zone',
70
+ },
71
+ none: {
72
+ labelKey: 'com.labre.core-domain.reading.zone.none',
73
+ labelFallback: 'Not in a zone of a Core Domain Chart.',
74
+ },
75
+ },
59
76
  };
60
77
  /**
61
78
  * The Team Topologies markers.
@@ -1,2 +1,2 @@
1
1
  /** Independent senior tool — Core Domain Chart. */
2
- export declare const coreDomainSeniorTool: import("@formicoidea/labre-core/store").ExtensionType;
2
+ export declare const coreDomainSeniorTool: import("@formicoidea/labre-core/_pkgs/store").ExtensionType;
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.43.1",
4
+ "version": "0.46.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.43.1",
35
- "@formicoidea/labre-ddd-shared": "0.43.1",
34
+ "@formicoidea/labre-core": "0.46.0",
35
+ "@formicoidea/labre-ddd-shared": "0.46.0",
36
36
  "lit": "^3.2.0"
37
37
  }
38
38
  }