@esportsplus/ui 0.35.4 → 0.35.5
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import response, { Response } from '@esportsplus/action';
|
|
2
2
|
import { Attributes } from '@esportsplus/template';
|
|
3
3
|
type A = {
|
|
4
|
-
action: (<
|
|
4
|
+
action: (<I>(input: I, r: typeof response) => Promise<Errors> | Errors);
|
|
5
5
|
state?: {
|
|
6
6
|
processing: boolean;
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ declare const _default: {
|
|
|
2
2
|
action: {
|
|
3
3
|
(): ReturnType<(this: {
|
|
4
4
|
attributes?: ({
|
|
5
|
-
action: (<
|
|
5
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
6
6
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
7
7
|
}> | {
|
|
8
8
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -126,7 +126,7 @@ declare const _default: {
|
|
|
126
126
|
} & Record<PropertyKey, unknown>) | undefined;
|
|
127
127
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
128
128
|
}, attributes: Readonly<{
|
|
129
|
-
action: (<
|
|
129
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
130
130
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
131
131
|
}> | {
|
|
132
132
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -249,7 +249,7 @@ declare const _default: {
|
|
|
249
249
|
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
250
250
|
} & Record<PropertyKey, unknown>>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
251
251
|
<T extends {
|
|
252
|
-
action: (<
|
|
252
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
253
253
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
254
254
|
}> | {
|
|
255
255
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -372,7 +372,7 @@ declare const _default: {
|
|
|
372
372
|
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
373
373
|
} & Record<PropertyKey, unknown>>(attributes: T): ReturnType<(this: {
|
|
374
374
|
attributes?: ({
|
|
375
|
-
action: (<
|
|
375
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
376
376
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
377
377
|
}> | {
|
|
378
378
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -496,7 +496,7 @@ declare const _default: {
|
|
|
496
496
|
} & Record<PropertyKey, unknown>) | undefined;
|
|
497
497
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
498
498
|
}, attributes: Readonly<{
|
|
499
|
-
action: (<
|
|
499
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
500
500
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
501
501
|
}> | {
|
|
502
502
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -620,7 +620,7 @@ declare const _default: {
|
|
|
620
620
|
} & Record<PropertyKey, unknown>>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
621
621
|
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
622
622
|
attributes?: ({
|
|
623
|
-
action: (<
|
|
623
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
624
624
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
625
625
|
}> | {
|
|
626
626
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -744,7 +744,7 @@ declare const _default: {
|
|
|
744
744
|
} & Record<PropertyKey, unknown>) | undefined;
|
|
745
745
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
746
746
|
}, attributes: Readonly<{
|
|
747
|
-
action: (<
|
|
747
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
748
748
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
749
749
|
}> | {
|
|
750
750
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -867,7 +867,7 @@ declare const _default: {
|
|
|
867
867
|
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
868
868
|
} & Record<PropertyKey, unknown>>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
869
869
|
(attributes: {
|
|
870
|
-
action: (<
|
|
870
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
871
871
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
872
872
|
}> | {
|
|
873
873
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -990,7 +990,7 @@ declare const _default: {
|
|
|
990
990
|
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
991
991
|
} & Record<PropertyKey, unknown>, content: import("@esportsplus/template").Renderable<any>): ReturnType<(this: {
|
|
992
992
|
attributes?: ({
|
|
993
|
-
action: (<
|
|
993
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
994
994
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
995
995
|
}> | {
|
|
996
996
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
@@ -1114,7 +1114,7 @@ declare const _default: {
|
|
|
1114
1114
|
} & Record<PropertyKey, unknown>) | undefined;
|
|
1115
1115
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
1116
1116
|
}, attributes: Readonly<{
|
|
1117
|
-
action: (<
|
|
1117
|
+
action: (<I>(input: I, r: typeof import("@esportsplus/action").default) => Promise<{
|
|
1118
1118
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
1119
1119
|
}> | {
|
|
1120
1120
|
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import input from './input';
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
type A = {
|
|
9
|
-
action: (<
|
|
9
|
+
action: (<I>(input: I, r: typeof response) => Promise<Errors> | Errors),
|
|
10
10
|
state?: { processing: boolean }
|
|
11
11
|
} & Attributes;
|
|
12
12
|
|