ngx-dynamic-entity-builder 2.1.1 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-dynamic-entity-builder",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Angular standalone visual builder for authoring dynamic-entity EntityConfig (fields, tabs, validators, RBAC).",
5
5
  "//typings": "Local workspace resolution only: ng-packagr 21 writes types/ngx-dynamic-entity-builder.d.ts into dist/package.json. Do NOT add a 'main' field here — ng-packagr does not generate one, so it would be copied verbatim and resolve wrongly in the published package.",
6
6
  "typings": "types/ngx-dynamic-entity-builder.d.ts",
@@ -10,8 +10,8 @@
10
10
  "@angular/core": "^17.2.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
11
11
  "@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
12
12
  "@angular/material": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
13
- "@dynamic-entity/core": "^2.1.1",
14
- "ngx-dynamic-entity": "^2.1.1",
13
+ "@dynamic-entity/core": "^2.2.0",
14
+ "ngx-dynamic-entity": "^2.2.0",
15
15
  "rxjs": "^7.0.0"
16
16
  },
17
17
  "keywords": [
@@ -451,6 +451,8 @@ declare const DEFAULT_BUILDER_TEXT: {
451
451
  hintInLanguage: string;
452
452
  hintHint: string;
453
453
  defaultValue: string;
454
+ sliderStep: string;
455
+ sliderStepHint: string;
454
456
  sectionBasics: string;
455
457
  sectionLayout: string;
456
458
  sectionValidation: string;
@@ -903,6 +905,8 @@ declare class FieldInspectorComponent {
903
905
  * put a 1 on every field in the config and tell the author nothing.
904
906
  */
905
907
  protected displayFlagCount(field: NestedFieldConfig): number;
908
+ /** A step must be above zero; anything else clears it, and the slider uses 1. */
909
+ protected positiveOrUnset(value: unknown): number | undefined;
906
910
  protected toNum(value: unknown): number | null;
907
911
  protected labelValue(field: NestedFieldConfig): string;
908
912
  protected placeholderValue(field: NestedFieldConfig): string;