@formicoidea/labre-framework-ddd-core-domain 0.38.1 → 0.39.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/dist/view.d.ts CHANGED
@@ -15,8 +15,7 @@ export declare class DddCoreDomainRenderViewExtension extends ViewExtensionProvi
15
15
  * — and, beside it, the validation tooling: the rules, the profiles and the
16
16
  * work-quality checklist.
17
17
  *
18
- * Note: its Templates-panel category is registered by the aggregate package's
19
- * The Templates-panel category is registered here too (see `effect`).
18
+ * Its Templates-panel category is registered here as well (see `setup`).
20
19
  */
21
20
  export declare class DddCoreDomainViewExtension extends ViewExtensionProvider {
22
21
  name: string;
package/dist/view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { morphToolbarConfig, QualityNudgeExtension, ReadingProfileExtension, validationToolbarConfig, ValidationProfileExtension, ValidationRuleExtension, } from '@formicoidea/labre-core/blocks/surface';
2
2
  import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
3
3
  import { ToolbarModuleExtension, toolbarModuleKey, } from '@formicoidea/labre-core/shared/services';
4
- import { extendTemplateCategory } from '@formicoidea/labre-core/gfx/template';
4
+ import { TemplateCategoryExtension } from '@formicoidea/labre-core/gfx/template';
5
5
  import { BlockFlavourIdentifier, CommandExtension } from '@formicoidea/labre-core/std';
6
6
  import { RoleVocabularyExtension } from '@formicoidea/labre-core/std/gfx';
7
7
  import { coreDomainCommandIcons, coreDomainCommands } from './commands.js';
@@ -51,8 +51,7 @@ export class DddCoreDomainRenderViewExtension extends ViewExtensionProvider {
51
51
  * — and, beside it, the validation tooling: the rules, the profiles and the
52
52
  * work-quality checklist.
53
53
  *
54
- * Note: its Templates-panel category is registered by the aggregate package's
55
- * The Templates-panel category is registered here too (see `effect`).
54
+ * Its Templates-panel category is registered here as well (see `setup`).
56
55
  */
57
56
  export class DddCoreDomainViewExtension extends ViewExtensionProvider {
58
57
  constructor() {
@@ -62,10 +61,6 @@ export class DddCoreDomainViewExtension extends ViewExtensionProvider {
62
61
  effect() {
63
62
  super.effect();
64
63
  coreDomainEffects();
65
- // The Templates-panel category, gated by this framework's own flag like
66
- // every other framework's: a template is tooling (`docs/adr/0009`), and it
67
- // is DERIVED from this package's commands, so it registers where they do.
68
- extendTemplateCategory(coreDomainTemplateCategory);
69
64
  }
70
65
  setup(context) {
71
66
  super.setup(context);
@@ -93,6 +88,10 @@ export class DddCoreDomainViewExtension extends ViewExtensionProvider {
93
88
  context.register(ReadingProfileExtension(reading));
94
89
  }
95
90
  context.register(coreDomainSeniorTool);
91
+ // The Templates-panel category, gated by this framework's own flag like
92
+ // every other framework's: a template is tooling (`docs/adr/0009`), and it
93
+ // is DERIVED from this package's commands, so it registers where they do.
94
+ context.register(TemplateCategoryExtension(coreDomainTemplateCategory));
96
95
  context.register(CommandExtension(coreDomainCommands, coreDomainCommandIcons));
97
96
  // The "Change type" dropdown on a selected dot's or marker's contextual
98
97
  // toolbar — the generic module, parameterized by this framework's two
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.38.1",
4
+ "version": "0.39.1",
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.38.1",
35
- "@formicoidea/labre-ddd-shared": "0.38.1",
34
+ "@formicoidea/labre-core": "0.39.1",
35
+ "@formicoidea/labre-ddd-shared": "0.39.1",
36
36
  "lit": "^3.2.0"
37
37
  }
38
38
  }