@quazardous/qdadm 2.50.1 → 2.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.
@@ -3,10 +3,15 @@
3
3
  *
4
4
  * Import from '@quazardous/qdadm/editors/yaml' only if you install
5
5
  * @quazardous/vanilla-yamleditor (an optional peer): it stays out of the
6
- * main bundle and of '@quazardous/qdadm/editors'.
6
+ * main bundle and of '@quazardous/qdadm/editors/json'.
7
7
  *
8
8
  * import { VanillaYamlEditor, YamlConfigEditor, restYamlAdapter } from '@quazardous/qdadm/editors/yaml'
9
+ *
10
+ * Importing it also registers the YAML face of StructuredField (#5333).
9
11
  */
12
+ import '../components/editors/structured/registerYaml'
13
+
14
+ export { default as StructuredField } from '../components/editors/structured/StructuredField.vue'
10
15
  export { default as VanillaYamlEditor } from '../components/editors/yaml/VanillaYamlEditor.vue'
11
16
  export { default as YamlConfigEditor } from '../components/editors/yaml/YamlConfigEditor.vue'
12
17
  export {
@@ -365,6 +365,23 @@ export default `core:
365
365
  moreKeys: "+{count} more"
366
366
  takeTheirs: Load their version
367
367
  keepMine: Keep mine and save over it
368
+ # PermissionEditor (#5333)
369
+ permissionEditor:
370
+ placeholder: Type a permission…
371
+ help: 'Type a permission (e.g. "entity:books:read"), Tab to complete'
372
+ noMatch: No matching permission
373
+ noPermissions: No permission to suggest
374
+ all: All permissions
375
+ actionEverywhere: "{action}, everywhere"
376
+ anActionEverywhere: One action, everywhere
377
+ allUnder: "Everything under {prefix}"
378
+ directUnder: "Every {prefix} permission, one level"
379
+ actionUnder: "{action} under {prefix}"
380
+ subItems: "{count} sub-item | {count} sub-items"
381
+ # StructuredField: a structured face and a raw JSON / YAML one (#5333)
382
+ structuredField:
383
+ structured: Structured
384
+ invalid: "Invalid {format}: fix it before switching views"
368
385
  # Values a create reveals once: a key's token (QdRevealOnce, #5319)
369
386
  revealOnce:
370
387
  title: "{entity} created"
@@ -363,6 +363,23 @@ core:
363
363
  moreKeys: "+{count} more"
364
364
  takeTheirs: Load their version
365
365
  keepMine: Keep mine and save over it
366
+ # PermissionEditor (#5333)
367
+ permissionEditor:
368
+ placeholder: Type a permission…
369
+ help: 'Type a permission (e.g. "entity:books:read"), Tab to complete'
370
+ noMatch: No matching permission
371
+ noPermissions: No permission to suggest
372
+ all: All permissions
373
+ actionEverywhere: "{action}, everywhere"
374
+ anActionEverywhere: One action, everywhere
375
+ allUnder: "Everything under {prefix}"
376
+ directUnder: "Every {prefix} permission, one level"
377
+ actionUnder: "{action} under {prefix}"
378
+ subItems: "{count} sub-item | {count} sub-items"
379
+ # StructuredField: a structured face and a raw JSON / YAML one (#5333)
380
+ structuredField:
381
+ structured: Structured
382
+ invalid: "Invalid {format}: fix it before switching views"
366
383
  # Values a create reveals once: a key's token (QdRevealOnce, #5319)
367
384
  revealOnce:
368
385
  title: "{entity} created"
@@ -365,6 +365,23 @@ export default `core:
365
365
  moreKeys: "+{count} autres"
366
366
  takeTheirs: Charger sa version
367
367
  keepMine: Garder la mienne et l'enregistrer par-dessus
368
+ # PermissionEditor (#5333)
369
+ permissionEditor:
370
+ placeholder: Saisir un droit…
371
+ help: 'Saisissez un droit (ex. « entity:books:read »), Tab pour compléter'
372
+ noMatch: Aucun droit correspondant
373
+ noPermissions: Aucun droit à proposer
374
+ all: Tous les droits
375
+ actionEverywhere: "{action}, partout"
376
+ anActionEverywhere: Une action, partout
377
+ allUnder: "Tout ce qui est sous {prefix}"
378
+ directUnder: "Tous les droits de {prefix}, un niveau"
379
+ actionUnder: "{action} sous {prefix}"
380
+ subItems: "{count} sous-élément | {count} sous-éléments"
381
+ # StructuredField: a structured face and a raw JSON / YAML one (#5333)
382
+ structuredField:
383
+ structured: Structuré
384
+ invalid: "{format} invalide : corrigez-le avant de changer de vue"
368
385
  # Values a create reveals once: a key's token (QdRevealOnce, #5319)
369
386
  revealOnce:
370
387
  title: "{entity} : création réussie"
@@ -363,6 +363,23 @@ core:
363
363
  moreKeys: "+{count} autres"
364
364
  takeTheirs: Charger sa version
365
365
  keepMine: Garder la mienne et l'enregistrer par-dessus
366
+ # PermissionEditor (#5333)
367
+ permissionEditor:
368
+ placeholder: Saisir un droit…
369
+ help: 'Saisissez un droit (ex. « entity:books:read »), Tab pour compléter'
370
+ noMatch: Aucun droit correspondant
371
+ noPermissions: Aucun droit à proposer
372
+ all: Tous les droits
373
+ actionEverywhere: "{action}, partout"
374
+ anActionEverywhere: Une action, partout
375
+ allUnder: "Tout ce qui est sous {prefix}"
376
+ directUnder: "Tous les droits de {prefix}, un niveau"
377
+ actionUnder: "{action} sous {prefix}"
378
+ subItems: "{count} sous-élément | {count} sous-éléments"
379
+ # StructuredField: a structured face and a raw JSON / YAML one (#5333)
380
+ structuredField:
381
+ structured: Structuré
382
+ invalid: "{format} invalide : corrigez-le avant de changer de vue"
366
383
  # Values a create reveals once: a key's token (QdRevealOnce, #5319)
367
384
  revealOnce:
368
385
  title: "{entity} : création réussie"
@@ -377,7 +377,8 @@
377
377
  border-top: 1px solid var(--p-surface-200);
378
378
  }
379
379
 
380
- .form-actions-left {
380
+ .form-actions-left,
381
+ .form-actions-right {
381
382
  display: flex;
382
383
  align-items: center;
383
384
  gap: 0.5rem;
@@ -199,7 +199,8 @@
199
199
  flex-direction: column;
200
200
  gap: 0.5rem;
201
201
 
202
- .form-actions-left {
202
+ .form-actions-left,
203
+ .form-actions-right {
203
204
  width: 100%;
204
205
  flex-direction: column;
205
206
  }