@esfaenza/flow-builder 20.3.30 → 20.3.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.
|
@@ -8268,7 +8268,17 @@ class ParameterEditorComponent {
|
|
|
8268
8268
|
inputs = computed(() => this.holder().inputParameters ?? [], ...(ngDevMode ? [{ debugName: "inputs" }] : []));
|
|
8269
8269
|
outputs = computed(() => this.holder().outputParameters ?? [], ...(ngDevMode ? [{ debugName: "outputs" }] : []));
|
|
8270
8270
|
hasCatalog = computed(() => this.catalogParameters().length > 0, ...(ngDevMode ? [{ debugName: "hasCatalog" }] : []));
|
|
8271
|
-
|
|
8271
|
+
/**
|
|
8272
|
+
* I due elenchi **non** sono una partizione: `isInput` e `isOutput` sono flag indipendenti, e un
|
|
8273
|
+
* parametro bidirezionale (tipico dei componenti di screen) va proposto in tutt'e due i posti.
|
|
8274
|
+
* Filtrare i soli `isOutput !== true` lo faceva sparire dagli ingressi — e con esso dai
|
|
8275
|
+
* `missingRequired`, quindi non veniva proposto da nessuna parte; scritto a mano nel picker degli
|
|
8276
|
+
* input diventava poi `PARAMETER_UNKNOWN`, perche' il catalogo li' non lo conteneva.
|
|
8277
|
+
*
|
|
8278
|
+
* Chi non dichiara nessuno dei due flag vale **input**: e' il caso di gran lunga piu' comune, ed
|
|
8279
|
+
* e' cio' che i cataloghi che i flag non li dichiarano si aspettano.
|
|
8280
|
+
*/
|
|
8281
|
+
inputCatalog = computed(() => this.catalogParameters().filter((parameter) => parameter.isInput === true || (parameter.isInput === undefined && parameter.isOutput !== true)), ...(ngDevMode ? [{ debugName: "inputCatalog" }] : []));
|
|
8272
8282
|
outputCatalog = computed(() => this.catalogParameters().filter((parameter) => parameter.isOutput === true), ...(ngDevMode ? [{ debugName: "outputCatalog" }] : []));
|
|
8273
8283
|
/**
|
|
8274
8284
|
* I candidati come li vuole il picker. Il tipo e l'obbligatorieta' finiscono nella
|