cotomy 0.1.71 → 0.1.72
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/browser/cotomy.js +7 -7
- package/dist/browser/cotomy.js.map +1 -1
- package/dist/browser/cotomy.min.js +1 -1
- package/dist/browser/cotomy.min.js.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/form.js +7 -7
- package/dist/esm/form.js.map +1 -1
- package/dist/types/form.d.ts +1 -1
- package/package.json +1 -1
package/dist/browser/cotomy.js
CHANGED
|
@@ -2637,13 +2637,6 @@ class CotomyEntityFillApiForm extends CotomyEntityApiForm {
|
|
|
2637
2637
|
}
|
|
2638
2638
|
return this;
|
|
2639
2639
|
}
|
|
2640
|
-
async submitToApiAsync(formData) {
|
|
2641
|
-
const response = await super.submitToApiAsync(formData);
|
|
2642
|
-
if (response.ok) {
|
|
2643
|
-
await this.fillAsync(response);
|
|
2644
|
-
}
|
|
2645
|
-
return response;
|
|
2646
|
-
}
|
|
2647
2640
|
async reloadAsync() {
|
|
2648
2641
|
await this.loadAsync();
|
|
2649
2642
|
}
|
|
@@ -2714,6 +2707,13 @@ class CotomyEntityFillApiForm extends CotomyEntityApiForm {
|
|
|
2714
2707
|
}
|
|
2715
2708
|
this.find("textarea").forEach(e => e.input());
|
|
2716
2709
|
}
|
|
2710
|
+
async submitToApiAsync(formData) {
|
|
2711
|
+
const response = await super.submitToApiAsync(formData);
|
|
2712
|
+
if (response.ok) {
|
|
2713
|
+
await this.fillAsync(response);
|
|
2714
|
+
}
|
|
2715
|
+
return response;
|
|
2716
|
+
}
|
|
2717
2717
|
}
|
|
2718
2718
|
|
|
2719
2719
|
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/timezone.js
|