@formicoidea/labre-core-database 0.50.0 → 0.51.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,4 +1,4 @@
1
- import type { ChromeWording } from '@formicoidea/labre-core/shared/services';
1
+ import { type ChromeWording } from '@formicoidea/labre-core/shared/services';
2
2
  import type { TranslationKeyManifestEntry } from '@formicoidea/labre-core/std';
3
3
  /** The entry that lists the sources the database's views already read. */
4
4
  export declare const DATABASE_ADD_VIEW_EXISTING_SOURCE: ChromeWording;
@@ -24,6 +24,7 @@ export declare const VIEW_MENU_OPEN_IN: ChromeWording;
24
24
  * `@labre/data-view`, so not listed below.
25
25
  */
26
26
  export declare const VIEW_MENU_COLOR_RULES: ChromeWording;
27
+ /** Shared with the frame toolbar: one chrome word, one key (`SAVE_AS_TEMPLATE`). */
27
28
  export declare const VIEW_MENU_SAVE_TEMPLATE: ChromeWording;
28
29
  export declare const VIEW_MENU_IMPORT: ChromeWording;
29
30
  /**
@@ -1,3 +1,4 @@
1
+ import { SAVE_AS_TEMPLATE, } from '@formicoidea/labre-core/shared/services';
1
2
  /* ── "+ view" (ADR 0035 §1, §9c, B11; labre ADR-0046 §5) ──────────────── */
2
3
  /** The entry that lists the sources the database's views already read. */
3
4
  export const DATABASE_ADD_VIEW_EXISTING_SOURCE = [
@@ -52,10 +53,8 @@ export const VIEW_MENU_COLOR_RULES = [
52
53
  'com.labre.data-view.color-rules',
53
54
  'Conditional colors',
54
55
  ];
55
- export const VIEW_MENU_SAVE_TEMPLATE = [
56
- 'com.labre.database.view-menu.save-template',
57
- 'Save as template',
58
- ];
56
+ /** Shared with the frame toolbar: one chrome word, one key (`SAVE_AS_TEMPLATE`). */
57
+ export const VIEW_MENU_SAVE_TEMPLATE = SAVE_AS_TEMPLATE;
59
58
  export const VIEW_MENU_IMPORT = [
60
59
  'com.labre.database.view-menu.import',
61
60
  'Import a view…',
@@ -137,7 +136,6 @@ const DATABASE_EDITOR_WORDINGS = [
137
136
  VIEW_MENU_GROUP,
138
137
  VIEW_MENU_IMPORT,
139
138
  VIEW_MENU_LAYOUT,
140
- VIEW_MENU_SAVE_TEMPLATE,
141
139
  ];
142
140
  /**
143
141
  * This package's `com.labre.database.*` wordings, exported from the package
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-core-database",
3
3
  "description": "Labre core-database editing chrome for @formicoidea/labre-core.",
4
- "version": "0.50.0",
4
+ "version": "0.51.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@formicoidea/labre-core": "0.50.0",
30
+ "@formicoidea/labre-core": "0.51.0",
31
31
  "@blocksuite/icons": "^2.2.12",
32
32
  "@preact/signals-core": "^1.8.0",
33
33
  "lit": "^3.2.0"