@makeswift/prop-controllers 0.3.0-canary.2 → 0.3.0-canary.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/dist/index.cjs +95 -50
- package/dist/types/data.d.ts +23 -0
- package/dist/types/data.d.ts.map +1 -1
- package/dist/types/gap-x/gap-x.d.ts +147 -358
- package/dist/types/gap-x/gap-x.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/prop-controllers.d.ts +3 -0
- package/dist/types/prop-controllers.d.ts.map +1 -1
- package/dist/types/responsive-icon-radio-group/index.d.ts +2 -0
- package/dist/types/responsive-icon-radio-group/index.d.ts.map +1 -0
- package/dist/types/responsive-icon-radio-group/responsive-icon-radio-group.d.ts +76 -0
- package/dist/types/responsive-icon-radio-group/responsive-icon-radio-group.d.ts.map +1 -0
- package/dist/types/responsive-icon-radio-group/responsive-icon-radio-group.test.d.ts +2 -0
- package/dist/types/responsive-icon-radio-group/responsive-icon-radio-group.test.d.ts.map +1 -0
- package/dist/types/responsive-number/responsive-number.d.ts +69 -179
- package/dist/types/responsive-number/responsive-number.d.ts.map +1 -1
- package/dist/types/responsive-opacity/responsive-opacity.d.ts +74 -187
- package/dist/types/responsive-opacity/responsive-opacity.d.ts.map +1 -1
- package/dist/types/responsive-select/index.d.ts +2 -0
- package/dist/types/responsive-select/index.d.ts.map +1 -0
- package/dist/types/responsive-select/responsive-select.d.ts +76 -0
- package/dist/types/responsive-select/responsive-select.d.ts.map +1 -0
- package/dist/types/responsive-select/responsive-select.test.d.ts +2 -0
- package/dist/types/responsive-select/responsive-select.test.d.ts.map +1 -0
- package/dist/types/versioned.d.ts +121 -241
- package/dist/types/versioned.d.ts.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,76 @@
|
|
1
|
+
import { type Options, Types } from '../prop-controllers';
|
2
|
+
import { type VersionedDescriptor } from '../versioned';
|
3
|
+
type IconName = 'HeightAuto16' | 'HeightMatch16' | 'VerticalAlignStart16' | 'VerticalAlignMiddle16' | 'VerticalAlignEnd16' | 'VerticalAlignSpaceBetween16' | 'ButtonPill16' | 'ButtonRounded16' | 'ButtonSquare16' | 'SizeSmall16' | 'SizeMedium16' | 'SizeLarge16' | 'ArrowInside16' | 'ArrowCenter16' | 'ArrowOutside16' | 'CountdownSolid16' | 'CountdownSolidSplit16' | 'CountdownOutline16' | 'CountdownOutlineSplit16' | 'CountdownNaked16' | 'Sun16' | 'Moon16' | 'AlignLeft16' | 'AlignCenter16' | 'AlignRight16' | 'Star16' | 'StarCircle16' | 'StarRoundedSquare16' | 'StarSquare16';
|
4
|
+
export type IconRadioGroupOption<T extends string> = {
|
5
|
+
value: T;
|
6
|
+
label: string;
|
7
|
+
icon: IconName;
|
8
|
+
};
|
9
|
+
export type RawIconRadioGroupOptions<T extends string = string, U extends T = T> = {
|
10
|
+
label?: string;
|
11
|
+
options: IconRadioGroupOption<T>[];
|
12
|
+
defaultValue?: U;
|
13
|
+
hidden?: boolean;
|
14
|
+
};
|
15
|
+
declare const discriminator: {
|
16
|
+
version: number;
|
17
|
+
dataKey: "prop-controllers::responsive-icon-radio-group::v1";
|
18
|
+
};
|
19
|
+
export interface ResponsiveIconRadioGroupCtor {
|
20
|
+
/**
|
21
|
+
* @deprecated Prop controllers are deprecated. Use `@makeswift/runtime/controls` instead.
|
22
|
+
*/
|
23
|
+
<_T extends string, T extends _T, U extends T>(options: Options<RawIconRadioGroupOptions<T, U>>): VersionedDescriptor<typeof discriminator, typeof Types.ResponsiveIconRadioGroup, Options<RawIconRadioGroupOptions<T, U>>>;
|
24
|
+
}
|
25
|
+
export declare const ResponsiveIconRadioGroup: import("../versioned").PropDef<"ResponsiveIconRadioGroup", {
|
26
|
+
value: string;
|
27
|
+
deviceId: string;
|
28
|
+
}[], {
|
29
|
+
value: string;
|
30
|
+
deviceId: string;
|
31
|
+
}[] | {
|
32
|
+
"@@makeswift/type": "prop-controllers::responsive-icon-radio-group::v1";
|
33
|
+
value: {
|
34
|
+
value: string;
|
35
|
+
deviceId: string;
|
36
|
+
}[];
|
37
|
+
}, VersionedDescriptor<import("../versioned").VersionDiscriminator<number, "prop-controllers::responsive-icon-radio-group::v1">, "ResponsiveIconRadioGroup", Options<RawIconRadioGroupOptions<string, string>>> & {
|
38
|
+
__associated_types__?: (() => {
|
39
|
+
Options: Options<RawIconRadioGroupOptions<string, string>>;
|
40
|
+
Value: {
|
41
|
+
value: string;
|
42
|
+
deviceId: string;
|
43
|
+
}[];
|
44
|
+
}) | undefined;
|
45
|
+
}> & ResponsiveIconRadioGroupCtor & {
|
46
|
+
__associated_types__?: (() => {
|
47
|
+
Type: "ResponsiveIconRadioGroup";
|
48
|
+
Value: {
|
49
|
+
value: string;
|
50
|
+
deviceId: string;
|
51
|
+
}[];
|
52
|
+
PropData: {
|
53
|
+
value: string;
|
54
|
+
deviceId: string;
|
55
|
+
}[] | {
|
56
|
+
"@@makeswift/type": "prop-controllers::responsive-icon-radio-group::v1";
|
57
|
+
value: {
|
58
|
+
value: string;
|
59
|
+
deviceId: string;
|
60
|
+
}[];
|
61
|
+
};
|
62
|
+
Descriptor: VersionedDescriptor<import("../versioned").VersionDiscriminator<number, "prop-controllers::responsive-icon-radio-group::v1">, "ResponsiveIconRadioGroup", Options<RawIconRadioGroupOptions<string, string>>> & {
|
63
|
+
__associated_types__?: (() => {
|
64
|
+
Options: Options<RawIconRadioGroupOptions<string, string>>;
|
65
|
+
Value: {
|
66
|
+
value: string;
|
67
|
+
deviceId: string;
|
68
|
+
}[];
|
69
|
+
}) | undefined;
|
70
|
+
};
|
71
|
+
Discriminator: {} | import("../versioned").VersionDiscriminator<number, "prop-controllers::responsive-icon-radio-group::v1">;
|
72
|
+
}) | undefined;
|
73
|
+
readonly discriminator: import("../versioned").VersionDiscriminator<number, "prop-controllers::responsive-icon-radio-group::v1">;
|
74
|
+
};
|
75
|
+
export {};
|
76
|
+
//# sourceMappingURL=responsive-icon-radio-group.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responsive-icon-radio-group.d.ts","sourceRoot":"","sources":["../../../src/responsive-icon-radio-group/responsive-icon-radio-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAA;AAErB,KAAK,QAAQ,GACT,cAAc,GACd,eAAe,GACf,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,6BAA6B,GAC7B,cAAc,GACd,iBAAiB,GACjB,gBAAgB,GAChB,aAAa,GACb,cAAc,GACd,aAAa,GACb,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,uBAAuB,GACvB,oBAAoB,GACpB,yBAAyB,GACzB,kBAAkB,GAClB,OAAO,GACP,QAAQ,GACR,aAAa,GACb,eAAe,GACf,cAAc,GACd,QAAQ,GACR,cAAc,GACd,qBAAqB,GACrB,cAAc,CAAA;AAElB,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI;IACnD,KAAK,EAAE,CAAC,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;CACf,CAAA;AAED,MAAM,MAAM,wBAAwB,CAClC,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SAAS,CAAC,GAAG,CAAC,IACb;IACF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAA;IAClC,YAAY,CAAC,EAAE,CAAC,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,aAAa;;;CAGlB,CAAA;AAED,MAAM,WAAW,4BAA4B;IAK3C;;OAEG;IACH,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EAC3C,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAC/C,mBAAmB,CACpB,OAAO,aAAa,EACpB,OAAO,KAAK,CAAC,wBAAwB,EACrC,OAAO,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CACxC,CAAA;CACF;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responsive-icon-radio-group.test.d.ts","sourceRoot":"","sources":["../../../src/responsive-icon-radio-group/responsive-icon-radio-group.test.ts"],"names":[],"mappings":""}
|
@@ -1,62 +1,72 @@
|
|
1
|
-
export declare const ResponsiveNumber: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
1
|
+
export declare const ResponsiveNumber: import("../versioned").PropDef<"ResponsiveNumber", {
|
2
|
+
value: number;
|
3
|
+
deviceId: string;
|
4
|
+
}[], {
|
5
|
+
value: number;
|
6
|
+
deviceId: string;
|
7
|
+
}[] | {
|
8
|
+
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
9
|
+
value: {
|
10
|
+
value: number;
|
11
|
+
deviceId: string;
|
12
|
+
}[];
|
13
|
+
}, import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-number::v1">, "ResponsiveNumber", import("../prop-controllers").Options<{
|
14
|
+
label?: string | undefined;
|
15
|
+
defaultValue?: number | undefined;
|
16
|
+
min?: number | undefined;
|
17
|
+
max?: number | undefined;
|
18
|
+
step?: number | undefined;
|
19
|
+
suffix?: string | undefined;
|
20
|
+
hidden?: boolean | undefined;
|
21
|
+
}>> & {
|
22
|
+
__associated_types__?: (() => {
|
23
|
+
Options: import("../prop-controllers").Options<{
|
24
|
+
label?: string | undefined;
|
25
|
+
defaultValue?: number | undefined;
|
26
|
+
min?: number | undefined;
|
27
|
+
max?: number | undefined;
|
28
|
+
step?: number | undefined;
|
29
|
+
suffix?: string | undefined;
|
30
|
+
hidden?: boolean | undefined;
|
31
|
+
}>;
|
32
|
+
Value: {
|
33
|
+
value: number;
|
34
|
+
deviceId: string;
|
35
|
+
}[];
|
36
|
+
}) | undefined;
|
37
|
+
}> & import("../versioned").DefaultCtor<import("../prop-controllers").Options<{
|
38
|
+
label?: string | undefined;
|
39
|
+
defaultValue?: number | undefined;
|
40
|
+
min?: number | undefined;
|
41
|
+
max?: number | undefined;
|
42
|
+
step?: number | undefined;
|
43
|
+
suffix?: string | undefined;
|
44
|
+
hidden?: boolean | undefined;
|
45
|
+
}>, import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-number::v1">, "ResponsiveNumber", import("../prop-controllers").Options<{
|
46
|
+
label?: string | undefined;
|
47
|
+
defaultValue?: number | undefined;
|
48
|
+
min?: number | undefined;
|
49
|
+
max?: number | undefined;
|
50
|
+
step?: number | undefined;
|
51
|
+
suffix?: string | undefined;
|
52
|
+
hidden?: boolean | undefined;
|
53
|
+
}>> & {
|
54
|
+
__associated_types__?: (() => {
|
55
|
+
Options: import("../prop-controllers").Options<{
|
56
|
+
label?: string | undefined;
|
57
|
+
defaultValue?: number | undefined;
|
58
|
+
min?: number | undefined;
|
59
|
+
max?: number | undefined;
|
60
|
+
step?: number | undefined;
|
61
|
+
suffix?: string | undefined;
|
62
|
+
hidden?: boolean | undefined;
|
63
|
+
}>;
|
64
|
+
Value: {
|
65
|
+
value: number;
|
66
|
+
deviceId: string;
|
67
|
+
}[];
|
68
|
+
}) | undefined;
|
69
|
+
}> & {
|
60
70
|
__associated_types__?: (() => {
|
61
71
|
Type: "ResponsiveNumber";
|
62
72
|
Value: {
|
@@ -100,126 +110,6 @@ export declare const ResponsiveNumber: {
|
|
100
110
|
};
|
101
111
|
Discriminator: {} | import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-number::v1">;
|
102
112
|
}) | undefined;
|
103
|
-
readonly schemaV0: import("zod").ZodArray<import("zod").ZodObject<{
|
104
|
-
deviceId: import("zod").ZodString;
|
105
|
-
value: import("zod").ZodNumber;
|
106
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
107
|
-
value: number;
|
108
|
-
deviceId: string;
|
109
|
-
}, {
|
110
|
-
value: number;
|
111
|
-
deviceId: string;
|
112
|
-
}>, "many">;
|
113
|
-
readonly schemaV1: import("zod").ZodObject<{
|
114
|
-
"@@makeswift/type": import("zod").ZodLiteral<"prop-controllers::responsive-number::v1">;
|
115
|
-
value: import("zod").ZodArray<import("zod").ZodObject<{
|
116
|
-
deviceId: import("zod").ZodString;
|
117
|
-
value: import("zod").ZodNumber;
|
118
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
119
|
-
value: number;
|
120
|
-
deviceId: string;
|
121
|
-
}, {
|
122
|
-
value: number;
|
123
|
-
deviceId: string;
|
124
|
-
}>, "many">;
|
125
|
-
}, "strip", import("zod").ZodTypeAny, {
|
126
|
-
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
127
|
-
value: {
|
128
|
-
value: number;
|
129
|
-
deviceId: string;
|
130
|
-
}[];
|
131
|
-
}, {
|
132
|
-
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
133
|
-
value: {
|
134
|
-
value: number;
|
135
|
-
deviceId: string;
|
136
|
-
}[];
|
137
|
-
}>;
|
138
|
-
readonly schema: import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodObject<{
|
139
|
-
deviceId: import("zod").ZodString;
|
140
|
-
value: import("zod").ZodNumber;
|
141
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
142
|
-
value: number;
|
143
|
-
deviceId: string;
|
144
|
-
}, {
|
145
|
-
value: number;
|
146
|
-
deviceId: string;
|
147
|
-
}>, "many">, import("zod").ZodObject<{
|
148
|
-
"@@makeswift/type": import("zod").ZodLiteral<"prop-controllers::responsive-number::v1">;
|
149
|
-
value: import("zod").ZodArray<import("zod").ZodObject<{
|
150
|
-
deviceId: import("zod").ZodString;
|
151
|
-
value: import("zod").ZodNumber;
|
152
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
153
|
-
value: number;
|
154
|
-
deviceId: string;
|
155
|
-
}, {
|
156
|
-
value: number;
|
157
|
-
deviceId: string;
|
158
|
-
}>, "many">;
|
159
|
-
}, "strip", import("zod").ZodTypeAny, {
|
160
|
-
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
161
|
-
value: {
|
162
|
-
value: number;
|
163
|
-
deviceId: string;
|
164
|
-
}[];
|
165
|
-
}, {
|
166
|
-
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
167
|
-
value: {
|
168
|
-
value: number;
|
169
|
-
deviceId: string;
|
170
|
-
}[];
|
171
|
-
}>]>;
|
172
|
-
readonly type: "ResponsiveNumber";
|
173
113
|
readonly discriminator: import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-number::v1">;
|
174
|
-
__call__(options?: import("../prop-controllers").Options<{
|
175
|
-
label?: string | undefined;
|
176
|
-
defaultValue?: number | undefined;
|
177
|
-
min?: number | undefined;
|
178
|
-
max?: number | undefined;
|
179
|
-
step?: number | undefined;
|
180
|
-
suffix?: string | undefined;
|
181
|
-
hidden?: boolean | undefined;
|
182
|
-
}> | undefined): {
|
183
|
-
type: "ResponsiveNumber";
|
184
|
-
version: 1;
|
185
|
-
options: any;
|
186
|
-
};
|
187
|
-
fromPropData(propData: {
|
188
|
-
value: number;
|
189
|
-
deviceId: string;
|
190
|
-
}[] | {
|
191
|
-
"@@makeswift/type": "prop-controllers::responsive-number::v1";
|
192
|
-
value: {
|
193
|
-
value: number;
|
194
|
-
deviceId: string;
|
195
|
-
}[];
|
196
|
-
}): {
|
197
|
-
value: number;
|
198
|
-
deviceId: string;
|
199
|
-
}[];
|
200
|
-
toPropData(data: {
|
201
|
-
value: number;
|
202
|
-
deviceId: string;
|
203
|
-
}[], descriptor: {} | import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-number::v1">): {
|
204
|
-
value: number;
|
205
|
-
deviceId: string;
|
206
|
-
}[] | {
|
207
|
-
readonly "@@makeswift/type": "prop-controllers::responsive-number::v1";
|
208
|
-
readonly value: {
|
209
|
-
value: number;
|
210
|
-
deviceId: string;
|
211
|
-
}[];
|
212
|
-
};
|
213
|
-
readonly _callable: any;
|
214
|
-
apply(this: Function, thisArg: any, argArray?: any): any;
|
215
|
-
call(this: Function, thisArg: any, ...argArray: any[]): any;
|
216
|
-
bind(this: Function, thisArg: any, ...argArray: any[]): any;
|
217
|
-
toString(): string;
|
218
|
-
prototype: any;
|
219
|
-
readonly length: number;
|
220
|
-
arguments: any;
|
221
|
-
caller: Function;
|
222
|
-
readonly name: string;
|
223
|
-
[Symbol.hasInstance](value: any): boolean;
|
224
114
|
};
|
225
115
|
//# sourceMappingURL=responsive-number.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responsive-number.d.ts","sourceRoot":"","sources":["../../../src/responsive-number/responsive-number.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB
|
1
|
+
{"version":3,"file":"responsive-number.d.ts","sourceRoot":"","sources":["../../../src/responsive-number/responsive-number.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB5B,CAAA"}
|
@@ -10,80 +10,90 @@ export declare const responsiveOpacityValueSchema: z.ZodArray<z.ZodObject<{
|
|
10
10
|
deviceId: string;
|
11
11
|
}>, "many">;
|
12
12
|
export type ResponsiveOpacityValue = z.infer<typeof responsiveOpacityValueSchema>;
|
13
|
-
export declare const ResponsiveOpacity: {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
13
|
+
export declare const ResponsiveOpacity: import("../versioned").PropDef<"ResponsiveOpacity", {
|
14
|
+
value: number;
|
15
|
+
deviceId: string;
|
16
|
+
}[], {
|
17
|
+
value: number;
|
18
|
+
deviceId: string;
|
19
|
+
}[] | {
|
20
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
21
|
+
value: {
|
22
|
+
value: number;
|
23
|
+
deviceId: string;
|
24
|
+
}[];
|
25
|
+
}, import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">, "ResponsiveOpacity", import("../prop-controllers").Options<Record<string, never> & {
|
26
|
+
preset?: {
|
27
|
+
value: number;
|
28
|
+
deviceId: string;
|
29
|
+
}[] | {
|
30
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
31
|
+
value: {
|
27
32
|
value: number;
|
28
33
|
deviceId: string;
|
29
|
-
}[]
|
30
|
-
|
31
|
-
|
34
|
+
}[];
|
35
|
+
} | undefined;
|
36
|
+
}>> & {
|
37
|
+
__associated_types__?: (() => {
|
38
|
+
Options: import("../prop-controllers").Options<Record<string, never> & {
|
39
|
+
preset?: {
|
32
40
|
value: number;
|
33
41
|
deviceId: string;
|
34
|
-
}[]
|
35
|
-
|
36
|
-
|
37
|
-
__associated_types__?: (() => {
|
38
|
-
Options: import("../prop-controllers").Options<{
|
39
|
-
preset?: {
|
42
|
+
}[] | {
|
43
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
44
|
+
value: {
|
40
45
|
value: number;
|
41
46
|
deviceId: string;
|
42
|
-
}[]
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
deviceId: string;
|
47
|
-
}[];
|
48
|
-
} | undefined;
|
49
|
-
}>;
|
50
|
-
Value: {
|
51
|
-
value: number;
|
52
|
-
deviceId: string;
|
53
|
-
}[];
|
54
|
-
}) | undefined;
|
55
|
-
};
|
56
|
-
(): import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">, "ResponsiveOpacity", import("../prop-controllers").Options<{
|
57
|
-
preset?: {
|
47
|
+
}[];
|
48
|
+
} | undefined;
|
49
|
+
}>;
|
50
|
+
Value: {
|
58
51
|
value: number;
|
59
52
|
deviceId: string;
|
60
|
-
}[]
|
61
|
-
|
62
|
-
|
53
|
+
}[];
|
54
|
+
}) | undefined;
|
55
|
+
}> & import("../versioned").DefaultCtor<import("../prop-controllers").Options<Record<string, never> & {
|
56
|
+
preset?: {
|
57
|
+
value: number;
|
58
|
+
deviceId: string;
|
59
|
+
}[] | {
|
60
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
61
|
+
value: {
|
62
|
+
value: number;
|
63
|
+
deviceId: string;
|
64
|
+
}[];
|
65
|
+
} | undefined;
|
66
|
+
}>, import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">, "ResponsiveOpacity", import("../prop-controllers").Options<Record<string, never> & {
|
67
|
+
preset?: {
|
68
|
+
value: number;
|
69
|
+
deviceId: string;
|
70
|
+
}[] | {
|
71
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
72
|
+
value: {
|
73
|
+
value: number;
|
74
|
+
deviceId: string;
|
75
|
+
}[];
|
76
|
+
} | undefined;
|
77
|
+
}>> & {
|
78
|
+
__associated_types__?: (() => {
|
79
|
+
Options: import("../prop-controllers").Options<Record<string, never> & {
|
80
|
+
preset?: {
|
63
81
|
value: number;
|
64
82
|
deviceId: string;
|
65
|
-
}[]
|
66
|
-
|
67
|
-
|
68
|
-
__associated_types__?: (() => {
|
69
|
-
Options: import("../prop-controllers").Options<{
|
70
|
-
preset?: {
|
83
|
+
}[] | {
|
84
|
+
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
85
|
+
value: {
|
71
86
|
value: number;
|
72
87
|
deviceId: string;
|
73
|
-
}[]
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
value: number;
|
83
|
-
deviceId: string;
|
84
|
-
}[];
|
85
|
-
}) | undefined;
|
86
|
-
};
|
88
|
+
}[];
|
89
|
+
} | undefined;
|
90
|
+
}>;
|
91
|
+
Value: {
|
92
|
+
value: number;
|
93
|
+
deviceId: string;
|
94
|
+
}[];
|
95
|
+
}) | undefined;
|
96
|
+
}> & {
|
87
97
|
__associated_types__?: (() => {
|
88
98
|
Type: "ResponsiveOpacity";
|
89
99
|
Value: {
|
@@ -100,7 +110,7 @@ export declare const ResponsiveOpacity: {
|
|
100
110
|
deviceId: string;
|
101
111
|
}[];
|
102
112
|
};
|
103
|
-
Descriptor: import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">, "ResponsiveOpacity", import("../prop-controllers").Options<{
|
113
|
+
Descriptor: import("../versioned").VersionedDescriptor<import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">, "ResponsiveOpacity", import("../prop-controllers").Options<Record<string, never> & {
|
104
114
|
preset?: {
|
105
115
|
value: number;
|
106
116
|
deviceId: string;
|
@@ -113,7 +123,7 @@ export declare const ResponsiveOpacity: {
|
|
113
123
|
} | undefined;
|
114
124
|
}>> & {
|
115
125
|
__associated_types__?: (() => {
|
116
|
-
Options: import("../prop-controllers").Options<{
|
126
|
+
Options: import("../prop-controllers").Options<Record<string, never> & {
|
117
127
|
preset?: {
|
118
128
|
value: number;
|
119
129
|
deviceId: string;
|
@@ -133,129 +143,6 @@ export declare const ResponsiveOpacity: {
|
|
133
143
|
};
|
134
144
|
Discriminator: {} | import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">;
|
135
145
|
}) | undefined;
|
136
|
-
readonly schemaV0: z.ZodArray<z.ZodObject<{
|
137
|
-
deviceId: z.ZodString;
|
138
|
-
value: z.ZodNumber;
|
139
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
140
|
-
value: number;
|
141
|
-
deviceId: string;
|
142
|
-
}, {
|
143
|
-
value: number;
|
144
|
-
deviceId: string;
|
145
|
-
}>, "many">;
|
146
|
-
readonly schemaV1: z.ZodObject<{
|
147
|
-
"@@makeswift/type": z.ZodLiteral<"prop-controllers::responsive-opacity::v1">;
|
148
|
-
value: z.ZodArray<z.ZodObject<{
|
149
|
-
deviceId: z.ZodString;
|
150
|
-
value: z.ZodNumber;
|
151
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
152
|
-
value: number;
|
153
|
-
deviceId: string;
|
154
|
-
}, {
|
155
|
-
value: number;
|
156
|
-
deviceId: string;
|
157
|
-
}>, "many">;
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
159
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
160
|
-
value: {
|
161
|
-
value: number;
|
162
|
-
deviceId: string;
|
163
|
-
}[];
|
164
|
-
}, {
|
165
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
166
|
-
value: {
|
167
|
-
value: number;
|
168
|
-
deviceId: string;
|
169
|
-
}[];
|
170
|
-
}>;
|
171
|
-
readonly schema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
172
|
-
deviceId: z.ZodString;
|
173
|
-
value: z.ZodNumber;
|
174
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
175
|
-
value: number;
|
176
|
-
deviceId: string;
|
177
|
-
}, {
|
178
|
-
value: number;
|
179
|
-
deviceId: string;
|
180
|
-
}>, "many">, z.ZodObject<{
|
181
|
-
"@@makeswift/type": z.ZodLiteral<"prop-controllers::responsive-opacity::v1">;
|
182
|
-
value: z.ZodArray<z.ZodObject<{
|
183
|
-
deviceId: z.ZodString;
|
184
|
-
value: z.ZodNumber;
|
185
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
186
|
-
value: number;
|
187
|
-
deviceId: string;
|
188
|
-
}, {
|
189
|
-
value: number;
|
190
|
-
deviceId: string;
|
191
|
-
}>, "many">;
|
192
|
-
}, "strip", z.ZodTypeAny, {
|
193
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
194
|
-
value: {
|
195
|
-
value: number;
|
196
|
-
deviceId: string;
|
197
|
-
}[];
|
198
|
-
}, {
|
199
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
200
|
-
value: {
|
201
|
-
value: number;
|
202
|
-
deviceId: string;
|
203
|
-
}[];
|
204
|
-
}>]>;
|
205
|
-
readonly type: "ResponsiveOpacity";
|
206
146
|
readonly discriminator: import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">;
|
207
|
-
__call__(options?: import("../prop-controllers").Options<{
|
208
|
-
preset?: {
|
209
|
-
value: number;
|
210
|
-
deviceId: string;
|
211
|
-
}[] | {
|
212
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
213
|
-
value: {
|
214
|
-
value: number;
|
215
|
-
deviceId: string;
|
216
|
-
}[];
|
217
|
-
} | undefined;
|
218
|
-
}> | undefined): {
|
219
|
-
type: "ResponsiveOpacity";
|
220
|
-
version: 1;
|
221
|
-
options: any;
|
222
|
-
};
|
223
|
-
fromPropData(propData: {
|
224
|
-
value: number;
|
225
|
-
deviceId: string;
|
226
|
-
}[] | {
|
227
|
-
"@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
228
|
-
value: {
|
229
|
-
value: number;
|
230
|
-
deviceId: string;
|
231
|
-
}[];
|
232
|
-
}): {
|
233
|
-
value: number;
|
234
|
-
deviceId: string;
|
235
|
-
}[];
|
236
|
-
toPropData(data: {
|
237
|
-
value: number;
|
238
|
-
deviceId: string;
|
239
|
-
}[], descriptor: {} | import("../versioned").VersionDiscriminator<1, "prop-controllers::responsive-opacity::v1">): {
|
240
|
-
value: number;
|
241
|
-
deviceId: string;
|
242
|
-
}[] | {
|
243
|
-
readonly "@@makeswift/type": "prop-controllers::responsive-opacity::v1";
|
244
|
-
readonly value: {
|
245
|
-
value: number;
|
246
|
-
deviceId: string;
|
247
|
-
}[];
|
248
|
-
};
|
249
|
-
readonly _callable: any;
|
250
|
-
apply(this: Function, thisArg: any, argArray?: any): any;
|
251
|
-
call(this: Function, thisArg: any, ...argArray: any[]): any;
|
252
|
-
bind(this: Function, thisArg: any, ...argArray: any[]): any;
|
253
|
-
toString(): string;
|
254
|
-
prototype: any;
|
255
|
-
readonly length: number;
|
256
|
-
arguments: any;
|
257
|
-
caller: Function;
|
258
|
-
readonly name: string;
|
259
|
-
[Symbol.hasInstance](value: any): boolean;
|
260
147
|
};
|
261
148
|
//# sourceMappingURL=responsive-opacity.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responsive-opacity.d.ts","sourceRoot":"","sources":["../../../src/responsive-opacity/responsive-opacity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,4BAA4B;;;;;;;;;WAExC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAA;AAED,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"responsive-opacity.d.ts","sourceRoot":"","sources":["../../../src/responsive-opacity/responsive-opacity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,4BAA4B;;;;;;;;;WAExC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ7B,CAAA"}
|