@masterteam/form-builder 0.0.30 → 0.0.31
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.
|
@@ -2363,7 +2363,10 @@ class FormBuilder {
|
|
|
2363
2363
|
segments.push(`${type}:${id}`);
|
|
2364
2364
|
return segments.join('/');
|
|
2365
2365
|
}, ...(ngDevMode ? [{ debugName: "contextKey" }] : /* istanbul ignore next */ []));
|
|
2366
|
-
propertiesSectionVisible = computed(() =>
|
|
2366
|
+
propertiesSectionVisible = computed(() => {
|
|
2367
|
+
const mode = this.mode();
|
|
2368
|
+
return mode !== 'manageProperties';
|
|
2369
|
+
}, ...(ngDevMode ? [{ debugName: "propertiesSectionVisible" }] : /* istanbul ignore next */ []));
|
|
2367
2370
|
usedPropertyKeys = computed(() => {
|
|
2368
2371
|
return new Set(this.sections().flatMap((s) => s.fields.map((f) => f.propertyKey)));
|
|
2369
2372
|
}, ...(ngDevMode ? [{ debugName: "usedPropertyKeys" }] : /* istanbul ignore next */ []));
|