bhl-forms 0.0.31 → 0.0.34
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/dist/bhl-forms.es.js +4 -2
- package/dist/bhl-forms.iife.js +3 -3
- package/dist/bhl-forms.modern.es.js +1137 -2257
- package/dist/bhl-forms.modern.iife.js +5 -5
- package/dist/bhl-forms.modern.umd.js +5 -5
- package/dist/bhl-forms.umd.js +3 -3
- package/dist/main.css +1 -1
- package/package.json +3 -2
- package/dist/bhl-forms.dev.es.js +0 -10856
- package/dist/bhl-forms.dev.iife.js +0 -10865
- package/dist/bhl-forms.dev.umd.js +0 -10866
- package/dist/bhl-forms.legacy.es.js +0 -21246
- package/dist/bhl-forms.legacy.iife.js +0 -16
- package/dist/bhl-forms.legacy.umd.js +0 -16
- package/dist/forms/childAndFamily.legacy.iife.js +0 -1
- package/dist/forms/testForm.legacy.iife.js +0 -1
package/dist/bhl-forms.es.js
CHANGED
|
@@ -10850,7 +10850,9 @@ const init = () => {
|
|
|
10850
10850
|
}
|
|
10851
10851
|
}
|
|
10852
10852
|
let schemaObj = schema;
|
|
10853
|
-
if (
|
|
10853
|
+
if (schema instanceof Function) {
|
|
10854
|
+
schemaObj = schema();
|
|
10855
|
+
} else if (typeof schema === "string") {
|
|
10854
10856
|
schemaObj = yield schemaFromUrl(schema);
|
|
10855
10857
|
}
|
|
10856
10858
|
const data = form2.data || {};
|
|
@@ -10881,4 +10883,4 @@ if (!initStrategy || initStrategy === "immediate") {
|
|
|
10881
10883
|
} else {
|
|
10882
10884
|
throw Error("Invalid bhlFormsInitStrategy: " + initStrategy);
|
|
10883
10885
|
}
|
|
10884
|
-
export {
|
|
10886
|
+
export { init as default };
|