@makeswift/prop-controllers 0.2.0-canary.0 → 0.2.0

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.
Files changed (149) hide show
  1. package/dist/index.cjs +894 -297
  2. package/dist/types/backgrounds/backgrounds.d.ts +3965 -0
  3. package/dist/types/backgrounds/backgrounds.d.ts.map +1 -0
  4. package/dist/types/backgrounds/backgrounds.test.d.ts +2 -0
  5. package/dist/types/backgrounds/backgrounds.test.d.ts.map +1 -0
  6. package/dist/types/backgrounds/index.d.ts +2 -0
  7. package/dist/types/backgrounds/index.d.ts.map +1 -0
  8. package/dist/types/data.d.ts +66 -0
  9. package/dist/types/data.d.ts.map +1 -1
  10. package/dist/types/grid/grid.d.ts +28 -28
  11. package/dist/types/image/image.d.ts +267 -0
  12. package/dist/types/image/image.d.ts.map +1 -0
  13. package/dist/types/image/image.test.d.ts +2 -0
  14. package/dist/types/image/image.test.d.ts.map +1 -0
  15. package/dist/types/image/index.d.ts +2 -0
  16. package/dist/types/image/index.d.ts.map +1 -0
  17. package/dist/types/images/images.d.ts +5347 -0
  18. package/dist/types/images/images.d.ts.map +1 -0
  19. package/dist/types/images/images.test.d.ts +2 -0
  20. package/dist/types/images/images.test.d.ts.map +1 -0
  21. package/dist/types/images/index.d.ts +2 -0
  22. package/dist/types/images/index.d.ts.map +1 -0
  23. package/dist/types/index.d.ts +9 -1
  24. package/dist/types/index.d.ts.map +1 -1
  25. package/dist/types/link/link.d.ts +24 -24
  26. package/dist/types/margin/margin.d.ts +304 -304
  27. package/dist/types/navigation-links/navigation-links.d.ts +200 -200
  28. package/dist/types/prop-controllers.d.ts +58 -5
  29. package/dist/types/prop-controllers.d.ts.map +1 -1
  30. package/dist/types/shadows.d.ts +20 -20
  31. package/package.json +1 -1
  32. package/dist/types/border copy/border.d.ts +0 -2435
  33. package/dist/types/border copy/border.d.ts.map +0 -1
  34. package/dist/types/border copy/border.test.d.ts +0 -2
  35. package/dist/types/border copy/border.test.d.ts.map +0 -1
  36. package/dist/types/border copy/index.d.ts +0 -2
  37. package/dist/types/border copy/index.d.ts.map +0 -1
  38. package/dist/types/date/checkbox.test.d.ts +0 -2
  39. package/dist/types/date/checkbox.test.d.ts.map +0 -1
  40. package/dist/types/date copy/date.d.ts +0 -50
  41. package/dist/types/date copy/date.d.ts.map +0 -1
  42. package/dist/types/date copy/date.test.d.ts +0 -2
  43. package/dist/types/date copy/date.test.d.ts.map +0 -1
  44. package/dist/types/date copy/index.d.ts +0 -2
  45. package/dist/types/date copy/index.d.ts.map +0 -1
  46. package/dist/types/deleted.d.ts +0 -1
  47. package/dist/types/deleted.d.ts.map +0 -1
  48. package/dist/types/deteted.d.ts +0 -1
  49. package/dist/types/deteted.d.ts.map +0 -1
  50. package/dist/types/element-id/date.d.ts +0 -50
  51. package/dist/types/element-id/date.d.ts.map +0 -1
  52. package/dist/types/element-id/date.test.d.ts +0 -2
  53. package/dist/types/element-id/date.test.d.ts.map +0 -1
  54. package/dist/types/font/border.d.ts +0 -2435
  55. package/dist/types/font/border.d.ts.map +0 -1
  56. package/dist/types/font/border.test.d.ts +0 -2
  57. package/dist/types/font/border.test.d.ts.map +0 -1
  58. package/dist/types/font/date.d.ts +0 -50
  59. package/dist/types/font/date.d.ts.map +0 -1
  60. package/dist/types/font/date.test.d.ts +0 -2
  61. package/dist/types/font/date.test.d.ts.map +0 -1
  62. package/dist/types/gap-x/text-style.d.ts +0 -589
  63. package/dist/types/gap-x/text-style.d.ts.map +0 -1
  64. package/dist/types/gap-x/text-style.test.d.ts +0 -2
  65. package/dist/types/gap-x/text-style.test.d.ts.map +0 -1
  66. package/dist/types/gap-x copy/gap-x.d.ts +0 -177
  67. package/dist/types/gap-x copy/gap-x.d.ts.map +0 -1
  68. package/dist/types/gap-x copy/gap-x.test.d.ts +0 -2
  69. package/dist/types/gap-x copy/gap-x.test.d.ts.map +0 -1
  70. package/dist/types/gap-x copy/index.d.ts +0 -2
  71. package/dist/types/gap-x copy/index.d.ts.map +0 -1
  72. package/dist/types/gap-y/gap-x.d.ts +0 -177
  73. package/dist/types/gap-y/gap-x.d.ts.map +0 -1
  74. package/dist/types/gap-y/gap-x.test.d.ts +0 -2
  75. package/dist/types/gap-y/gap-x.test.d.ts.map +0 -1
  76. package/dist/types/grid/table.d.ts +0 -54
  77. package/dist/types/grid/table.d.ts.map +0 -1
  78. package/dist/types/grid/table.test.d.ts +0 -2
  79. package/dist/types/grid/table.test.d.ts.map +0 -1
  80. package/dist/types/margin/border.d.ts +0 -2435
  81. package/dist/types/margin/border.d.ts.map +0 -1
  82. package/dist/types/margin/border.test.d.ts +0 -2
  83. package/dist/types/margin/border.test.d.ts.map +0 -1
  84. package/dist/types/margin copy/index.d.ts +0 -2
  85. package/dist/types/margin copy/index.d.ts.map +0 -1
  86. package/dist/types/margin copy/margin.d.ts +0 -1026
  87. package/dist/types/margin copy/margin.d.ts.map +0 -1
  88. package/dist/types/margin copy/margin.test.d.ts +0 -2
  89. package/dist/types/margin copy/margin.test.d.ts.map +0 -1
  90. package/dist/types/navigation-links/date.d.ts +0 -50
  91. package/dist/types/navigation-links/date.d.ts.map +0 -1
  92. package/dist/types/navigation-links/date.test.d.ts +0 -2
  93. package/dist/types/navigation-links/date.test.d.ts.map +0 -1
  94. package/dist/types/padding/margin.d.ts +0 -1026
  95. package/dist/types/padding/margin.d.ts.map +0 -1
  96. package/dist/types/padding/margin.test.d.ts +0 -2
  97. package/dist/types/padding/margin.test.d.ts.map +0 -1
  98. package/dist/types/padding copy/index.d.ts +0 -2
  99. package/dist/types/padding copy/index.d.ts.map +0 -1
  100. package/dist/types/padding copy/padding.d.ts +0 -1026
  101. package/dist/types/padding copy/padding.d.ts.map +0 -1
  102. package/dist/types/padding copy/padding.test.d.ts +0 -2
  103. package/dist/types/padding copy/padding.test.d.ts.map +0 -1
  104. package/dist/types/table/date.d.ts +0 -50
  105. package/dist/types/table/date.d.ts.map +0 -1
  106. package/dist/types/table/date.test.d.ts +0 -2
  107. package/dist/types/table/date.test.d.ts.map +0 -1
  108. package/dist/types/table copy/index.d.ts +0 -2
  109. package/dist/types/table copy/index.d.ts.map +0 -1
  110. package/dist/types/table copy/table.d.ts +0 -54
  111. package/dist/types/table copy/table.d.ts.map +0 -1
  112. package/dist/types/table copy/table.test.d.ts +0 -2
  113. package/dist/types/table copy/table.test.d.ts.map +0 -1
  114. package/dist/types/table-form-fields/date.d.ts +0 -50
  115. package/dist/types/table-form-fields/date.d.ts.map +0 -1
  116. package/dist/types/table-form-fields/date.test.d.ts +0 -2
  117. package/dist/types/table-form-fields/date.test.d.ts.map +0 -1
  118. package/dist/types/text-area/date.d.ts +0 -50
  119. package/dist/types/text-area/date.d.ts.map +0 -1
  120. package/dist/types/text-area/date.test.d.ts +0 -2
  121. package/dist/types/text-area/date.test.d.ts.map +0 -1
  122. package/dist/types/text-style/font.test.d.ts +0 -2
  123. package/dist/types/text-style/font.test.d.ts.map +0 -1
  124. package/dist/types/text-style copy/index.d.ts +0 -2
  125. package/dist/types/text-style copy/index.d.ts.map +0 -1
  126. package/dist/types/text-style copy/text-style.d.ts +0 -589
  127. package/dist/types/text-style copy/text-style.d.ts.map +0 -1
  128. package/dist/types/text-style copy/text-style.test.d.ts +0 -2
  129. package/dist/types/text-style copy/text-style.test.d.ts.map +0 -1
  130. package/dist/types/typeahead/date.d.ts +0 -50
  131. package/dist/types/typeahead/date.d.ts.map +0 -1
  132. package/dist/types/typeahead/date.test.d.ts +0 -2
  133. package/dist/types/typeahead/date.test.d.ts.map +0 -1
  134. package/dist/types/typeahead/index.d.ts +0 -2
  135. package/dist/types/typeahead/index.d.ts.map +0 -1
  136. package/dist/types/typeahead/typeahead.d.ts +0 -50
  137. package/dist/types/typeahead/typeahead.d.ts.map +0 -1
  138. package/dist/types/typeahead/typeahead.test.d.ts +0 -2
  139. package/dist/types/typeahead/typeahead.test.d.ts.map +0 -1
  140. package/dist/types/video/date.d.ts +0 -50
  141. package/dist/types/video/date.d.ts.map +0 -1
  142. package/dist/types/video/date.test.d.ts +0 -2
  143. package/dist/types/video/date.test.d.ts.map +0 -1
  144. package/dist/types/video/font.test.d.ts +0 -2
  145. package/dist/types/video/font.test.d.ts.map +0 -1
  146. package/dist/types/width/padding.d.ts +0 -1026
  147. package/dist/types/width/padding.d.ts.map +0 -1
  148. package/dist/types/width/padding.test.d.ts +0 -2
  149. package/dist/types/width/padding.test.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backgrounds.d.ts","sourceRoot":"","sources":["../../../src/backgrounds/backgrounds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAEL,WAAW,EACX,OAAO,EACP,KAAK,EAEN,MAAM,qBAAqB,CAAA;AAmE5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGpC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAc3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGpC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAsB3E,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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//# sourceMappingURL=backgrounds.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backgrounds.test.d.ts","sourceRoot":"","sources":["../../../src/backgrounds/backgrounds.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './backgrounds';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/backgrounds/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -58,4 +58,70 @@ export declare const responsiveGapDataSchema: z.ZodArray<z.ZodObject<{
58
58
  deviceId: string;
59
59
  }>, "many">;
60
60
  export type ResponsiveGapData = z.infer<typeof responsiveGapDataSchema>;
61
+ export declare const imageDataV0Schema: z.ZodString;
62
+ export type ImageDataV0 = z.infer<typeof imageDataV0Schema>;
63
+ export declare const imageDataV1Schema: z.ZodUnion<[z.ZodObject<{
64
+ version: z.ZodLiteral<1>;
65
+ type: z.ZodLiteral<"makeswift-file">;
66
+ id: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ type: "makeswift-file";
69
+ version: 1;
70
+ id: string;
71
+ }, {
72
+ type: "makeswift-file";
73
+ version: 1;
74
+ id: string;
75
+ }>, z.ZodObject<{
76
+ version: z.ZodLiteral<1>;
77
+ type: z.ZodLiteral<"external-file">;
78
+ url: z.ZodString;
79
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ type: "external-file";
83
+ version: 1;
84
+ url: string;
85
+ width?: number | null | undefined;
86
+ height?: number | null | undefined;
87
+ }, {
88
+ type: "external-file";
89
+ version: 1;
90
+ url: string;
91
+ width?: number | null | undefined;
92
+ height?: number | null | undefined;
93
+ }>]>;
94
+ export type ImageDataV1 = z.infer<typeof imageDataV1Schema>;
95
+ export declare const imageDataSchema: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodObject<{
96
+ version: z.ZodLiteral<1>;
97
+ type: z.ZodLiteral<"makeswift-file">;
98
+ id: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: "makeswift-file";
101
+ version: 1;
102
+ id: string;
103
+ }, {
104
+ type: "makeswift-file";
105
+ version: 1;
106
+ id: string;
107
+ }>, z.ZodObject<{
108
+ version: z.ZodLiteral<1>;
109
+ type: z.ZodLiteral<"external-file">;
110
+ url: z.ZodString;
111
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
112
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ type: "external-file";
115
+ version: 1;
116
+ url: string;
117
+ width?: number | null | undefined;
118
+ height?: number | null | undefined;
119
+ }, {
120
+ type: "external-file";
121
+ version: 1;
122
+ url: string;
123
+ width?: number | null | undefined;
124
+ height?: number | null | undefined;
125
+ }>]>]>;
126
+ export type ImageData = z.infer<typeof imageDataSchema>;
61
127
  //# sourceMappingURL=data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;;;;;;;;EAG1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAEvD,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEzD,eAAO,MAAM,aAAa;;;;;;;;;EAGxB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAEnD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;WACQ,C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ZodString;
19
19
  value: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
21
- value: string;
22
21
  type: "reference";
22
+ value: string;
23
23
  key: string;
24
24
  }, {
25
- value: string;
26
25
  type: "reference";
26
+ value: string;
27
27
  key: string;
28
28
  }>]>, "many">;
29
29
  columns: z.ZodArray<z.ZodObject<{
@@ -57,8 +57,8 @@ declare const gridDataSchema: z.ZodObject<{
57
57
  key: string;
58
58
  props: Record<string, import("../prop-controllers").Data>;
59
59
  } | {
60
- value: string;
61
60
  type: "reference";
61
+ value: string;
62
62
  key: string;
63
63
  })[];
64
64
  columns: {
@@ -74,8 +74,8 @@ declare const gridDataSchema: z.ZodObject<{
74
74
  key: string;
75
75
  props: Record<string, import("../prop-controllers").Data>;
76
76
  } | {
77
- value: string;
78
77
  type: "reference";
78
+ value: string;
79
79
  key: string;
80
80
  })[];
81
81
  columns: {
@@ -105,12 +105,12 @@ declare const gridPropControllerDataV0Schema: z.ZodObject<{
105
105
  key: z.ZodString;
106
106
  value: z.ZodString;
107
107
  }, "strip", z.ZodTypeAny, {
108
- value: string;
109
108
  type: "reference";
109
+ value: string;
110
110
  key: string;
111
111
  }, {
112
- value: string;
113
112
  type: "reference";
113
+ value: string;
114
114
  key: string;
115
115
  }>]>, "many">;
116
116
  columns: z.ZodArray<z.ZodObject<{
@@ -144,8 +144,8 @@ declare const gridPropControllerDataV0Schema: z.ZodObject<{
144
144
  key: string;
145
145
  props: Record<string, import("../prop-controllers").Data>;
146
146
  } | {
147
- value: string;
148
147
  type: "reference";
148
+ value: string;
149
149
  key: string;
150
150
  })[];
151
151
  columns: {
@@ -161,8 +161,8 @@ declare const gridPropControllerDataV0Schema: z.ZodObject<{
161
161
  key: string;
162
162
  props: Record<string, import("../prop-controllers").Data>;
163
163
  } | {
164
- value: string;
165
164
  type: "reference";
165
+ value: string;
166
166
  key: string;
167
167
  })[];
168
168
  columns: {
@@ -195,12 +195,12 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
195
195
  key: z.ZodString;
196
196
  value: z.ZodString;
197
197
  }, "strip", z.ZodTypeAny, {
198
- value: string;
199
198
  type: "reference";
199
+ value: string;
200
200
  key: string;
201
201
  }, {
202
- value: string;
203
202
  type: "reference";
203
+ value: string;
204
204
  key: string;
205
205
  }>]>, "many">;
206
206
  columns: z.ZodArray<z.ZodObject<{
@@ -234,8 +234,8 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
234
234
  key: string;
235
235
  props: Record<string, import("../prop-controllers").Data>;
236
236
  } | {
237
- value: string;
238
237
  type: "reference";
238
+ value: string;
239
239
  key: string;
240
240
  })[];
241
241
  columns: {
@@ -251,8 +251,8 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
251
251
  key: string;
252
252
  props: Record<string, import("../prop-controllers").Data>;
253
253
  } | {
254
- value: string;
255
254
  type: "reference";
255
+ value: string;
256
256
  key: string;
257
257
  })[];
258
258
  columns: {
@@ -264,14 +264,15 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
264
264
  }[];
265
265
  }>;
266
266
  }, "strip", z.ZodTypeAny, {
267
+ "@@makeswift/type": "prop-controllers::grid::v1";
267
268
  value: {
268
269
  elements: ({
269
270
  type: string;
270
271
  key: string;
271
272
  props: Record<string, import("../prop-controllers").Data>;
272
273
  } | {
273
- value: string;
274
274
  type: "reference";
275
+ value: string;
275
276
  key: string;
276
277
  })[];
277
278
  columns: {
@@ -282,16 +283,16 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
282
283
  deviceId: string;
283
284
  }[];
284
285
  };
285
- "@@makeswift/type": "prop-controllers::grid::v1";
286
286
  }, {
287
+ "@@makeswift/type": "prop-controllers::grid::v1";
287
288
  value: {
288
289
  elements: ({
289
290
  type: string;
290
291
  key: string;
291
292
  props: Record<string, import("../prop-controllers").Data>;
292
293
  } | {
293
- value: string;
294
294
  type: "reference";
295
+ value: string;
295
296
  key: string;
296
297
  })[];
297
298
  columns: {
@@ -302,7 +303,6 @@ declare const gridPropControllerDataV1Schema: z.ZodObject<{
302
303
  deviceId: string;
303
304
  }[];
304
305
  };
305
- "@@makeswift/type": "prop-controllers::grid::v1";
306
306
  }>;
307
307
  export type GridPropControllerDataV1 = z.infer<typeof gridPropControllerDataV1Schema>;
308
308
  export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
@@ -323,12 +323,12 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
323
323
  key: z.ZodString;
324
324
  value: z.ZodString;
325
325
  }, "strip", z.ZodTypeAny, {
326
- value: string;
327
326
  type: "reference";
327
+ value: string;
328
328
  key: string;
329
329
  }, {
330
- value: string;
331
330
  type: "reference";
331
+ value: string;
332
332
  key: string;
333
333
  }>]>, "many">;
334
334
  columns: z.ZodArray<z.ZodObject<{
@@ -362,8 +362,8 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
362
362
  key: string;
363
363
  props: Record<string, import("../prop-controllers").Data>;
364
364
  } | {
365
- value: string;
366
365
  type: "reference";
366
+ value: string;
367
367
  key: string;
368
368
  })[];
369
369
  columns: {
@@ -379,8 +379,8 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
379
379
  key: string;
380
380
  props: Record<string, import("../prop-controllers").Data>;
381
381
  } | {
382
- value: string;
383
382
  type: "reference";
383
+ value: string;
384
384
  key: string;
385
385
  })[];
386
386
  columns: {
@@ -410,12 +410,12 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
410
410
  key: z.ZodString;
411
411
  value: z.ZodString;
412
412
  }, "strip", z.ZodTypeAny, {
413
- value: string;
414
413
  type: "reference";
414
+ value: string;
415
415
  key: string;
416
416
  }, {
417
- value: string;
418
417
  type: "reference";
418
+ value: string;
419
419
  key: string;
420
420
  }>]>, "many">;
421
421
  columns: z.ZodArray<z.ZodObject<{
@@ -449,8 +449,8 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
449
449
  key: string;
450
450
  props: Record<string, import("../prop-controllers").Data>;
451
451
  } | {
452
- value: string;
453
452
  type: "reference";
453
+ value: string;
454
454
  key: string;
455
455
  })[];
456
456
  columns: {
@@ -466,8 +466,8 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
466
466
  key: string;
467
467
  props: Record<string, import("../prop-controllers").Data>;
468
468
  } | {
469
- value: string;
470
469
  type: "reference";
470
+ value: string;
471
471
  key: string;
472
472
  })[];
473
473
  columns: {
@@ -479,14 +479,15 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
479
479
  }[];
480
480
  }>;
481
481
  }, "strip", z.ZodTypeAny, {
482
+ "@@makeswift/type": "prop-controllers::grid::v1";
482
483
  value: {
483
484
  elements: ({
484
485
  type: string;
485
486
  key: string;
486
487
  props: Record<string, import("../prop-controllers").Data>;
487
488
  } | {
488
- value: string;
489
489
  type: "reference";
490
+ value: string;
490
491
  key: string;
491
492
  })[];
492
493
  columns: {
@@ -497,16 +498,16 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
497
498
  deviceId: string;
498
499
  }[];
499
500
  };
500
- "@@makeswift/type": "prop-controllers::grid::v1";
501
501
  }, {
502
+ "@@makeswift/type": "prop-controllers::grid::v1";
502
503
  value: {
503
504
  elements: ({
504
505
  type: string;
505
506
  key: string;
506
507
  props: Record<string, import("../prop-controllers").Data>;
507
508
  } | {
508
- value: string;
509
509
  type: "reference";
510
+ value: string;
510
511
  key: string;
511
512
  })[];
512
513
  columns: {
@@ -517,7 +518,6 @@ export declare const gridPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
517
518
  deviceId: string;
518
519
  }[];
519
520
  };
520
- "@@makeswift/type": "prop-controllers::grid::v1";
521
521
  }>]>;
522
522
  export type GridPropControllerData = z.infer<typeof gridPropControllerDataSchema>;
523
523
  export type GridOptions = Options<Record<string, never>>;
@@ -0,0 +1,267 @@
1
+ import { z } from 'zod';
2
+ import { CopyContext, Options, Types } from '../prop-controllers';
3
+ import { ImageData, ImageDataV0 } from '../data';
4
+ export declare const ImagePropControllerDataV2Type = "prop-controllers::image::v2";
5
+ declare const imagePropControllerDataV2Schema: z.ZodObject<{
6
+ "@@makeswift/type": z.ZodLiteral<"prop-controllers::image::v2">;
7
+ value: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodObject<{
8
+ version: z.ZodLiteral<1>;
9
+ type: z.ZodLiteral<"makeswift-file">;
10
+ id: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: "makeswift-file";
13
+ version: 1;
14
+ id: string;
15
+ }, {
16
+ type: "makeswift-file";
17
+ version: 1;
18
+ id: string;
19
+ }>, z.ZodObject<{
20
+ version: z.ZodLiteral<1>;
21
+ type: z.ZodLiteral<"external-file">;
22
+ url: z.ZodString;
23
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "external-file";
27
+ version: 1;
28
+ url: string;
29
+ width?: number | null | undefined;
30
+ height?: number | null | undefined;
31
+ }, {
32
+ type: "external-file";
33
+ version: 1;
34
+ url: string;
35
+ width?: number | null | undefined;
36
+ height?: number | null | undefined;
37
+ }>]>]>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ "@@makeswift/type": "prop-controllers::image::v2";
40
+ value: string | {
41
+ type: "makeswift-file";
42
+ version: 1;
43
+ id: string;
44
+ } | {
45
+ type: "external-file";
46
+ version: 1;
47
+ url: string;
48
+ width?: number | null | undefined;
49
+ height?: number | null | undefined;
50
+ } | (string & {
51
+ type: "makeswift-file";
52
+ version: 1;
53
+ id: string;
54
+ }) | (string & {
55
+ type: "external-file";
56
+ version: 1;
57
+ url: string;
58
+ width?: number | null | undefined;
59
+ height?: number | null | undefined;
60
+ }) | ({
61
+ type: "makeswift-file";
62
+ version: 1;
63
+ id: string;
64
+ } & string) | ({
65
+ type: "external-file";
66
+ version: 1;
67
+ url: string;
68
+ width?: number | null | undefined;
69
+ height?: number | null | undefined;
70
+ } & string);
71
+ }, {
72
+ "@@makeswift/type": "prop-controllers::image::v2";
73
+ value: string | {
74
+ type: "makeswift-file";
75
+ version: 1;
76
+ id: string;
77
+ } | {
78
+ type: "external-file";
79
+ version: 1;
80
+ url: string;
81
+ width?: number | null | undefined;
82
+ height?: number | null | undefined;
83
+ } | (string & {
84
+ type: "makeswift-file";
85
+ version: 1;
86
+ id: string;
87
+ }) | (string & {
88
+ type: "external-file";
89
+ version: 1;
90
+ url: string;
91
+ width?: number | null | undefined;
92
+ height?: number | null | undefined;
93
+ }) | ({
94
+ type: "makeswift-file";
95
+ version: 1;
96
+ id: string;
97
+ } & string) | ({
98
+ type: "external-file";
99
+ version: 1;
100
+ url: string;
101
+ width?: number | null | undefined;
102
+ height?: number | null | undefined;
103
+ } & string);
104
+ }>;
105
+ export type ImagePropControllerDataV2 = z.infer<typeof imagePropControllerDataV2Schema>;
106
+ export declare const imagePropControllerDataSchema: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodObject<{
107
+ version: z.ZodLiteral<1>;
108
+ type: z.ZodLiteral<"makeswift-file">;
109
+ id: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ type: "makeswift-file";
112
+ version: 1;
113
+ id: string;
114
+ }, {
115
+ type: "makeswift-file";
116
+ version: 1;
117
+ id: string;
118
+ }>, z.ZodObject<{
119
+ version: z.ZodLiteral<1>;
120
+ type: z.ZodLiteral<"external-file">;
121
+ url: z.ZodString;
122
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
123
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ type: "external-file";
126
+ version: 1;
127
+ url: string;
128
+ width?: number | null | undefined;
129
+ height?: number | null | undefined;
130
+ }, {
131
+ type: "external-file";
132
+ version: 1;
133
+ url: string;
134
+ width?: number | null | undefined;
135
+ height?: number | null | undefined;
136
+ }>]>]>, z.ZodObject<{
137
+ "@@makeswift/type": z.ZodLiteral<"prop-controllers::image::v2">;
138
+ value: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodObject<{
139
+ version: z.ZodLiteral<1>;
140
+ type: z.ZodLiteral<"makeswift-file">;
141
+ id: z.ZodString;
142
+ }, "strip", z.ZodTypeAny, {
143
+ type: "makeswift-file";
144
+ version: 1;
145
+ id: string;
146
+ }, {
147
+ type: "makeswift-file";
148
+ version: 1;
149
+ id: string;
150
+ }>, z.ZodObject<{
151
+ version: z.ZodLiteral<1>;
152
+ type: z.ZodLiteral<"external-file">;
153
+ url: z.ZodString;
154
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
155
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ type: "external-file";
158
+ version: 1;
159
+ url: string;
160
+ width?: number | null | undefined;
161
+ height?: number | null | undefined;
162
+ }, {
163
+ type: "external-file";
164
+ version: 1;
165
+ url: string;
166
+ width?: number | null | undefined;
167
+ height?: number | null | undefined;
168
+ }>]>]>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ "@@makeswift/type": "prop-controllers::image::v2";
171
+ value: string | {
172
+ type: "makeswift-file";
173
+ version: 1;
174
+ id: string;
175
+ } | {
176
+ type: "external-file";
177
+ version: 1;
178
+ url: string;
179
+ width?: number | null | undefined;
180
+ height?: number | null | undefined;
181
+ } | (string & {
182
+ type: "makeswift-file";
183
+ version: 1;
184
+ id: string;
185
+ }) | (string & {
186
+ type: "external-file";
187
+ version: 1;
188
+ url: string;
189
+ width?: number | null | undefined;
190
+ height?: number | null | undefined;
191
+ }) | ({
192
+ type: "makeswift-file";
193
+ version: 1;
194
+ id: string;
195
+ } & string) | ({
196
+ type: "external-file";
197
+ version: 1;
198
+ url: string;
199
+ width?: number | null | undefined;
200
+ height?: number | null | undefined;
201
+ } & string);
202
+ }, {
203
+ "@@makeswift/type": "prop-controllers::image::v2";
204
+ value: string | {
205
+ type: "makeswift-file";
206
+ version: 1;
207
+ id: string;
208
+ } | {
209
+ type: "external-file";
210
+ version: 1;
211
+ url: string;
212
+ width?: number | null | undefined;
213
+ height?: number | null | undefined;
214
+ } | (string & {
215
+ type: "makeswift-file";
216
+ version: 1;
217
+ id: string;
218
+ }) | (string & {
219
+ type: "external-file";
220
+ version: 1;
221
+ url: string;
222
+ width?: number | null | undefined;
223
+ height?: number | null | undefined;
224
+ }) | ({
225
+ type: "makeswift-file";
226
+ version: 1;
227
+ id: string;
228
+ } & string) | ({
229
+ type: "external-file";
230
+ version: 1;
231
+ url: string;
232
+ width?: number | null | undefined;
233
+ height?: number | null | undefined;
234
+ } & string);
235
+ }>]>;
236
+ export type ImagePropControllerData = z.infer<typeof imagePropControllerDataSchema>;
237
+ export type ImageOptions = Options<{
238
+ label?: string;
239
+ hidden?: boolean;
240
+ }>;
241
+ type ImageDescriptorV0<_T = ImageDataV0> = {
242
+ type: typeof Types.Image;
243
+ options: ImageOptions;
244
+ };
245
+ type ImageDescriptorV1<_T = ImageData> = {
246
+ type: typeof Types.Image;
247
+ version: 1;
248
+ options: ImageOptions;
249
+ };
250
+ type ImageDescriptorV2<_T = ImagePropControllerData> = {
251
+ type: typeof Types.Image;
252
+ version: 2;
253
+ options: ImageOptions;
254
+ };
255
+ export type ImageDescriptor<_T = ImagePropControllerData> = ImageDescriptorV0 | ImageDescriptorV1 | ImageDescriptorV2;
256
+ export type ResolveImagePropControllerValue<T extends ImageDescriptor> = T extends ImageDescriptor ? ImageData | undefined : never;
257
+ /**
258
+ * @deprecated Imports from @makeswift/prop-controllers are deprecated. Use
259
+ * @makeswift/runtime/controls instead.
260
+ */
261
+ export declare function Image(options?: ImageOptions): ImageDescriptorV2;
262
+ export declare function getImagePropControllerDataImageData(data: ImagePropControllerData | undefined): ImageData | undefined;
263
+ export declare function createImagePropControllerDataFromImageData(data: ImageData, definition: ImageDescriptor): ImagePropControllerData;
264
+ export declare function getImagePropControllerFileIds(data: ImagePropControllerData | undefined): string[];
265
+ export declare function copyImagePropControllerData(data: ImagePropControllerData | undefined, context: CopyContext): ImagePropControllerData | undefined;
266
+ export {};
267
+ //# sourceMappingURL=image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/image/image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAEL,WAAW,EACX,OAAO,EACP,KAAK,EACN,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,SAAS,EACT,WAAW,EAGZ,MAAM,SAAS,CAAA;AAMhB,eAAO,MAAM,6BAA6B,gCAAgC,CAAA;AAE1E,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAA;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIxC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAA;AAExE,KAAK,iBAAiB,CAAC,EAAE,GAAG,WAAW,IAAI;IACzC,IAAI,EAAE,OAAO,KAAK,CAAC,KAAK,CAAA;IACxB,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,KAAK,iBAAiB,CAAC,EAAE,GAAG,SAAS,IAAI;IACvC,IAAI,EAAE,OAAO,KAAK,CAAC,KAAK,CAAA;IACxB,OAAO,EAAE,CAAC,CAAA;IACV,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,KAAK,iBAAiB,CAAC,EAAE,GAAG,uBAAuB,IAAI;IACrD,IAAI,EAAE,OAAO,KAAK,CAAC,KAAK,CAAA;IACxB,OAAO,EAAE,CAAC,CAAA;IACV,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,eAAe,CAAC,EAAE,GAAG,uBAAuB,IACpD,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,CAAA;AAErB,MAAM,MAAM,+BAA+B,CAAC,CAAC,SAAS,eAAe,IACnE,CAAC,SAAS,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,CAAA;AAE3D;;;GAGG;AACH,wBAAgB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,iBAAiB,CAEnE;AAED,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,uBAAuB,GAAG,SAAS,GACxC,SAAS,GAAG,SAAS,CAOvB;AAED,wBAAgB,0CAA0C,CACxD,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,eAAe,GAC1B,uBAAuB,CAWzB;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,uBAAuB,GAAG,SAAS,GACxC,MAAM,EAAE,CASV;AAeD,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,uBAAuB,GAAG,SAAS,EACzC,OAAO,EAAE,WAAW,GACnB,uBAAuB,GAAG,SAAS,CAcrC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=image.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.test.d.ts","sourceRoot":"","sources":["../../../src/image/image.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './image';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/image/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}