cotomy 0.1.9 → 0.1.10
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/form.d.ts +4 -4
- package/package.json +1 -1
package/dist/form.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare abstract class CotomyFormBase extends CotomyElement {
|
|
|
8
8
|
constructor(element: HTMLElement | {
|
|
9
9
|
html: string;
|
|
10
10
|
css?: string | null;
|
|
11
|
-
});
|
|
11
|
+
} | string);
|
|
12
12
|
get formId(): string;
|
|
13
13
|
method(): string;
|
|
14
14
|
actionUri(): string;
|
|
@@ -25,7 +25,7 @@ export declare class CotomyQueryForm extends CotomyFormBase {
|
|
|
25
25
|
constructor(element: HTMLElement | {
|
|
26
26
|
html: string;
|
|
27
27
|
css?: string | null;
|
|
28
|
-
});
|
|
28
|
+
} | string | string);
|
|
29
29
|
method(): string;
|
|
30
30
|
protected submitAsync(e: Event): Promise<void>;
|
|
31
31
|
}
|
|
@@ -35,7 +35,7 @@ export declare class CotomyApiForm extends CotomyFormBase {
|
|
|
35
35
|
constructor(element: HTMLElement | {
|
|
36
36
|
html: string;
|
|
37
37
|
css?: string | null;
|
|
38
|
-
});
|
|
38
|
+
} | string);
|
|
39
39
|
apiClient(): CotomyRestApi;
|
|
40
40
|
actionUri(): string;
|
|
41
41
|
get identifier(): string | undefined;
|
|
@@ -54,7 +54,7 @@ export declare class CotomyFillApiForm extends CotomyApiForm {
|
|
|
54
54
|
constructor(element: HTMLElement | {
|
|
55
55
|
html: string;
|
|
56
56
|
css?: string | null;
|
|
57
|
-
});
|
|
57
|
+
} | string);
|
|
58
58
|
filler(type: string, callback: (input: CotomyElement, value: any) => void): this;
|
|
59
59
|
build(): this;
|
|
60
60
|
protected submitToApiAsync(formData: globalThis.FormData): Promise<CotomyRestApiResponse>;
|