@wise/dynamic-flow-client 4.8.3 → 4.8.4
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/build/main.js +4 -2
- package/build/main.mjs +4 -2
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -5732,7 +5732,6 @@ var createPersistAsyncComponent = (props, performPersistAsync, schemaOnChange, u
|
|
|
5732
5732
|
// src/revamp/domain/mappers/schema/persistAsyncSchemaToComponent.ts
|
|
5733
5733
|
var isSupported = (type) => ["boolean", "text", "date", "integer", "number", "upload"].includes(type);
|
|
5734
5734
|
var persistAsyncSchemaToComponent = (schemaMapperProps, mapperProps) => {
|
|
5735
|
-
var _a;
|
|
5736
5735
|
const { uid, schema, model, localValue } = schemaMapperProps;
|
|
5737
5736
|
const { persistAsync } = schema;
|
|
5738
5737
|
const performPersistAsync = getPerformPersistAsyncFn(schema, persistAsync, mapperProps);
|
|
@@ -5749,7 +5748,10 @@ var persistAsyncSchemaToComponent = (schemaMapperProps, mapperProps) => {
|
|
|
5749
5748
|
const paComponent = createPersistAsyncComponent(
|
|
5750
5749
|
{
|
|
5751
5750
|
uid,
|
|
5752
|
-
|
|
5751
|
+
// This should be `schema.hidden ?? false`
|
|
5752
|
+
// but some steps are setting PA schemas as hidden for no good reason
|
|
5753
|
+
// so we default to false here to avoid hiding the the children of the PA component
|
|
5754
|
+
hidden: false,
|
|
5753
5755
|
component: childComponent,
|
|
5754
5756
|
schemaId: schema.$id,
|
|
5755
5757
|
model,
|
package/build/main.mjs
CHANGED
|
@@ -5689,7 +5689,6 @@ var createPersistAsyncComponent = (props, performPersistAsync, schemaOnChange, u
|
|
|
5689
5689
|
// src/revamp/domain/mappers/schema/persistAsyncSchemaToComponent.ts
|
|
5690
5690
|
var isSupported = (type) => ["boolean", "text", "date", "integer", "number", "upload"].includes(type);
|
|
5691
5691
|
var persistAsyncSchemaToComponent = (schemaMapperProps, mapperProps) => {
|
|
5692
|
-
var _a;
|
|
5693
5692
|
const { uid, schema, model, localValue } = schemaMapperProps;
|
|
5694
5693
|
const { persistAsync } = schema;
|
|
5695
5694
|
const performPersistAsync = getPerformPersistAsyncFn(schema, persistAsync, mapperProps);
|
|
@@ -5706,7 +5705,10 @@ var persistAsyncSchemaToComponent = (schemaMapperProps, mapperProps) => {
|
|
|
5706
5705
|
const paComponent = createPersistAsyncComponent(
|
|
5707
5706
|
{
|
|
5708
5707
|
uid,
|
|
5709
|
-
|
|
5708
|
+
// This should be `schema.hidden ?? false`
|
|
5709
|
+
// but some steps are setting PA schemas as hidden for no good reason
|
|
5710
|
+
// so we default to false here to avoid hiding the the children of the PA component
|
|
5711
|
+
hidden: false,
|
|
5710
5712
|
component: childComponent,
|
|
5711
5713
|
schemaId: schema.$id,
|
|
5712
5714
|
model,
|