@duongthiu/onex-core 0.1.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.
- package/README.md +428 -0
- package/THEME_API.md +681 -0
- package/dist/api-vuL1Eg5L.d.mts +2961 -0
- package/dist/api-vuL1Eg5L.d.ts +2961 -0
- package/dist/chunk-3SZX6LHT.js +244 -0
- package/dist/chunk-3SZX6LHT.js.map +1 -0
- package/dist/chunk-7EON6Q4L.mjs +8149 -0
- package/dist/chunk-7EON6Q4L.mjs.map +1 -0
- package/dist/chunk-WDY773GJ.js +8308 -0
- package/dist/chunk-WDY773GJ.js.map +1 -0
- package/dist/chunk-XE4EOKS4.mjs +239 -0
- package/dist/chunk-XE4EOKS4.mjs.map +1 -0
- package/dist/client.d.mts +1461 -0
- package/dist/client.d.ts +1461 -0
- package/dist/client.js +542 -0
- package/dist/client.js.map +1 -0
- package/dist/client.mjs +5 -0
- package/dist/client.mjs.map +1 -0
- package/dist/index.d.mts +125 -0
- package/dist/index.d.ts +125 -0
- package/dist/index.js +601 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +61 -0
- package/dist/index.mjs.map +1 -0
- package/dist/server.d.mts +70 -0
- package/dist/server.d.ts +70 -0
- package/dist/server.js +196 -0
- package/dist/server.js.map +1 -0
- package/dist/server.mjs +188 -0
- package/dist/server.mjs.map +1 -0
- package/package.json +113 -0
package/dist/client.js
ADDED
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkWDY773GJ_js = require('./chunk-WDY773GJ.js');
|
|
5
|
+
var chunk3SZX6LHT_js = require('./chunk-3SZX6LHT.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "AccordionComponent", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkWDY773GJ_js.AccordionComponent; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "AlertComponent", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkWDY773GJ_js.AlertComponent; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "BadgeComponent", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkWDY773GJ_js.BadgeComponent; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "BlockListRenderer", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkWDY773GJ_js.BlockListRenderer; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "BlockRenderer", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkWDY773GJ_js.BlockRenderer; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "ButtonComponent", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkWDY773GJ_js.ButtonComponent; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "COMPONENT_CATEGORIES", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkWDY773GJ_js.COMPONENT_CATEGORIES; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "COMPONENT_TYPES", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkWDY773GJ_js.COMPONENT_TYPES; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "CardComponent", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkWDY773GJ_js.CardComponent; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "CartProvider", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkWDY773GJ_js.CartProvider; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "CheckboxComponent", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkWDY773GJ_js.CheckboxComponent; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "CodeComponent", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkWDY773GJ_js.CodeComponent; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "ColumnsComponent", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkWDY773GJ_js.ColumnsComponent; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "ComponentListRenderer", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkWDY773GJ_js.ComponentListRenderer; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "ComponentRegistry", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkWDY773GJ_js.ComponentRegistry; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "ComponentRenderer", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkWDY773GJ_js.ComponentRenderer; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "ContainerComponent", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkWDY773GJ_js.ContainerComponent; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "DEFAULT_INSPECTOR_CONFIG", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkWDY773GJ_js.DEFAULT_INSPECTOR_CONFIG; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "DividerComponent", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkWDY773GJ_js.DividerComponent; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "FIELD_TYPES", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkWDY773GJ_js.FIELD_TYPES; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "FullWidthSection", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkWDY773GJ_js.FullWidthSection; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "GalleryComponent", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkWDY773GJ_js.GalleryComponent; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "GridComponent", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkWDY773GJ_js.GridComponent; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "GridContainer", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkWDY773GJ_js.GridContainer; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "HeadingComponent", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkWDY773GJ_js.HeadingComponent; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "IconComponent", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkWDY773GJ_js.IconComponent; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "ImageComponent", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkWDY773GJ_js.ImageComponent; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "InputComponent", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkWDY773GJ_js.InputComponent; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "LinkComponent", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunkWDY773GJ_js.LinkComponent; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "ListComponent", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunkWDY773GJ_js.ListComponent; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "MapComponent", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunkWDY773GJ_js.MapComponent; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "PageDataProvider", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunkWDY773GJ_js.PageDataProvider; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "ParagraphComponent", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkWDY773GJ_js.ParagraphComponent; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "ProgressComponent", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunkWDY773GJ_js.ProgressComponent; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "QuoteComponent", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkWDY773GJ_js.QuoteComponent; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "RatingComponent", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return chunkWDY773GJ_js.RatingComponent; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "SECTION_CATEGORIES", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return chunkWDY773GJ_js.SECTION_CATEGORIES; }
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "SectionListRenderer", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return chunkWDY773GJ_js.SectionListRenderer; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "SectionRenderer", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return chunkWDY773GJ_js.SectionRenderer; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "SelectComponent", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkWDY773GJ_js.SelectComponent; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "SpacerComponent", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunkWDY773GJ_js.SpacerComponent; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "TableComponent", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunkWDY773GJ_js.TableComponent; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "TabsComponent", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunkWDY773GJ_js.TabsComponent; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "TextareaComponent", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunkWDY773GJ_js.TextareaComponent; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "ThemeContextProvider", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunkWDY773GJ_js.ThemeContextProvider; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "TimerComponent", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunkWDY773GJ_js.TimerComponent; }
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(exports, "VideoComponent", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () { return chunkWDY773GJ_js.VideoComponent; }
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, "ViewportProvider", {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () { return chunkWDY773GJ_js.ViewportProvider; }
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "accordionComponentDefinition", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () { return chunkWDY773GJ_js.accordionComponentDefinition; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "alertComponentDefinition", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunkWDY773GJ_js.alertComponentDefinition; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "animationFieldDefinitions", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunkWDY773GJ_js.animationFieldDefinitions; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "badgeComponentDefinition", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkWDY773GJ_js.badgeComponentDefinition; }
|
|
216
|
+
});
|
|
217
|
+
Object.defineProperty(exports, "blockRegistry", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () { return chunkWDY773GJ_js.blockRegistry; }
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, "buttonComponentDefinition", {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () { return chunkWDY773GJ_js.buttonComponentDefinition; }
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(exports, "cardComponentDefinition", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return chunkWDY773GJ_js.cardComponentDefinition; }
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(exports, "checkboxComponentDefinition", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return chunkWDY773GJ_js.checkboxComponentDefinition; }
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "cn", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () { return chunkWDY773GJ_js.cn; }
|
|
236
|
+
});
|
|
237
|
+
Object.defineProperty(exports, "codeComponentDefinition", {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () { return chunkWDY773GJ_js.codeComponentDefinition; }
|
|
240
|
+
});
|
|
241
|
+
Object.defineProperty(exports, "columnsComponentDefinition", {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () { return chunkWDY773GJ_js.columnsComponentDefinition; }
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(exports, "componentRegistry", {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () { return chunkWDY773GJ_js.componentRegistry; }
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(exports, "containerComponentDefinition", {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return chunkWDY773GJ_js.containerComponentDefinition; }
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(exports, "countEnabledItems", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () { return chunkWDY773GJ_js.countEnabledItems; }
|
|
256
|
+
});
|
|
257
|
+
Object.defineProperty(exports, "createBlockRegistry", {
|
|
258
|
+
enumerable: true,
|
|
259
|
+
get: function () { return chunkWDY773GJ_js.createBlockRegistry; }
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(exports, "defaultAnimationSettings", {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
get: function () { return chunkWDY773GJ_js.defaultAnimationSettings; }
|
|
264
|
+
});
|
|
265
|
+
Object.defineProperty(exports, "dividerComponentDefinition", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () { return chunkWDY773GJ_js.dividerComponentDefinition; }
|
|
268
|
+
});
|
|
269
|
+
Object.defineProperty(exports, "filterEnabledBlocks", {
|
|
270
|
+
enumerable: true,
|
|
271
|
+
get: function () { return chunkWDY773GJ_js.filterEnabledBlocks; }
|
|
272
|
+
});
|
|
273
|
+
Object.defineProperty(exports, "filterEnabledComponents", {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function () { return chunkWDY773GJ_js.filterEnabledComponents; }
|
|
276
|
+
});
|
|
277
|
+
Object.defineProperty(exports, "findBlockInSection", {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
get: function () { return chunkWDY773GJ_js.findBlockInSection; }
|
|
280
|
+
});
|
|
281
|
+
Object.defineProperty(exports, "findComponentInSection", {
|
|
282
|
+
enumerable: true,
|
|
283
|
+
get: function () { return chunkWDY773GJ_js.findComponentInSection; }
|
|
284
|
+
});
|
|
285
|
+
Object.defineProperty(exports, "formatBlockName", {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function () { return chunkWDY773GJ_js.formatBlockName; }
|
|
288
|
+
});
|
|
289
|
+
Object.defineProperty(exports, "galleryComponentDefinition", {
|
|
290
|
+
enumerable: true,
|
|
291
|
+
get: function () { return chunkWDY773GJ_js.galleryComponentDefinition; }
|
|
292
|
+
});
|
|
293
|
+
Object.defineProperty(exports, "generateBlockId", {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
get: function () { return chunkWDY773GJ_js.generateBlockId; }
|
|
296
|
+
});
|
|
297
|
+
Object.defineProperty(exports, "generateHandle", {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function () { return chunkWDY773GJ_js.generateHandle; }
|
|
300
|
+
});
|
|
301
|
+
Object.defineProperty(exports, "generateId", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function () { return chunkWDY773GJ_js.generateId; }
|
|
304
|
+
});
|
|
305
|
+
Object.defineProperty(exports, "generatePageId", {
|
|
306
|
+
enumerable: true,
|
|
307
|
+
get: function () { return chunkWDY773GJ_js.generatePageId; }
|
|
308
|
+
});
|
|
309
|
+
Object.defineProperty(exports, "generateSectionId", {
|
|
310
|
+
enumerable: true,
|
|
311
|
+
get: function () { return chunkWDY773GJ_js.generateSectionId; }
|
|
312
|
+
});
|
|
313
|
+
Object.defineProperty(exports, "generateThemeId", {
|
|
314
|
+
enumerable: true,
|
|
315
|
+
get: function () { return chunkWDY773GJ_js.generateThemeId; }
|
|
316
|
+
});
|
|
317
|
+
Object.defineProperty(exports, "getActiveBlocks", {
|
|
318
|
+
enumerable: true,
|
|
319
|
+
get: function () { return chunkWDY773GJ_js.getActiveBlocks; }
|
|
320
|
+
});
|
|
321
|
+
Object.defineProperty(exports, "getActiveComponents", {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
get: function () { return chunkWDY773GJ_js.getActiveComponents; }
|
|
324
|
+
});
|
|
325
|
+
Object.defineProperty(exports, "getBlockPath", {
|
|
326
|
+
enumerable: true,
|
|
327
|
+
get: function () { return chunkWDY773GJ_js.getBlockPath; }
|
|
328
|
+
});
|
|
329
|
+
Object.defineProperty(exports, "getComponentPath", {
|
|
330
|
+
enumerable: true,
|
|
331
|
+
get: function () { return chunkWDY773GJ_js.getComponentPath; }
|
|
332
|
+
});
|
|
333
|
+
Object.defineProperty(exports, "getComponentValues", {
|
|
334
|
+
enumerable: true,
|
|
335
|
+
get: function () { return chunkWDY773GJ_js.getComponentValues; }
|
|
336
|
+
});
|
|
337
|
+
Object.defineProperty(exports, "getComponentsByType", {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function () { return chunkWDY773GJ_js.getComponentsByType; }
|
|
340
|
+
});
|
|
341
|
+
Object.defineProperty(exports, "getElementLabel", {
|
|
342
|
+
enumerable: true,
|
|
343
|
+
get: function () { return chunkWDY773GJ_js.getElementLabel; }
|
|
344
|
+
});
|
|
345
|
+
Object.defineProperty(exports, "getFirstComponentByType", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () { return chunkWDY773GJ_js.getFirstComponentByType; }
|
|
348
|
+
});
|
|
349
|
+
Object.defineProperty(exports, "getSectionValues", {
|
|
350
|
+
enumerable: true,
|
|
351
|
+
get: function () { return chunkWDY773GJ_js.getSectionValues; }
|
|
352
|
+
});
|
|
353
|
+
Object.defineProperty(exports, "getSelectionColor", {
|
|
354
|
+
enumerable: true,
|
|
355
|
+
get: function () { return chunkWDY773GJ_js.getSelectionColor; }
|
|
356
|
+
});
|
|
357
|
+
Object.defineProperty(exports, "gridComponentDefinition", {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function () { return chunkWDY773GJ_js.gridComponentDefinition; }
|
|
360
|
+
});
|
|
361
|
+
Object.defineProperty(exports, "groupBySlot", {
|
|
362
|
+
enumerable: true,
|
|
363
|
+
get: function () { return chunkWDY773GJ_js.groupBySlot; }
|
|
364
|
+
});
|
|
365
|
+
Object.defineProperty(exports, "hasComponentType", {
|
|
366
|
+
enumerable: true,
|
|
367
|
+
get: function () { return chunkWDY773GJ_js.hasComponentType; }
|
|
368
|
+
});
|
|
369
|
+
Object.defineProperty(exports, "hasEnabledItems", {
|
|
370
|
+
enumerable: true,
|
|
371
|
+
get: function () { return chunkWDY773GJ_js.hasEnabledItems; }
|
|
372
|
+
});
|
|
373
|
+
Object.defineProperty(exports, "headingComponentDefinition", {
|
|
374
|
+
enumerable: true,
|
|
375
|
+
get: function () { return chunkWDY773GJ_js.headingComponentDefinition; }
|
|
376
|
+
});
|
|
377
|
+
Object.defineProperty(exports, "iconComponentDefinition", {
|
|
378
|
+
enumerable: true,
|
|
379
|
+
get: function () { return chunkWDY773GJ_js.iconComponentDefinition; }
|
|
380
|
+
});
|
|
381
|
+
Object.defineProperty(exports, "imageComponentDefinition", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () { return chunkWDY773GJ_js.imageComponentDefinition; }
|
|
384
|
+
});
|
|
385
|
+
Object.defineProperty(exports, "inputComponentDefinition", {
|
|
386
|
+
enumerable: true,
|
|
387
|
+
get: function () { return chunkWDY773GJ_js.inputComponentDefinition; }
|
|
388
|
+
});
|
|
389
|
+
Object.defineProperty(exports, "linkComponentDefinition", {
|
|
390
|
+
enumerable: true,
|
|
391
|
+
get: function () { return chunkWDY773GJ_js.linkComponentDefinition; }
|
|
392
|
+
});
|
|
393
|
+
Object.defineProperty(exports, "listComponentDefinition", {
|
|
394
|
+
enumerable: true,
|
|
395
|
+
get: function () { return chunkWDY773GJ_js.listComponentDefinition; }
|
|
396
|
+
});
|
|
397
|
+
Object.defineProperty(exports, "mapComponentDefinition", {
|
|
398
|
+
enumerable: true,
|
|
399
|
+
get: function () { return chunkWDY773GJ_js.mapComponentDefinition; }
|
|
400
|
+
});
|
|
401
|
+
Object.defineProperty(exports, "paragraphComponentDefinition", {
|
|
402
|
+
enumerable: true,
|
|
403
|
+
get: function () { return chunkWDY773GJ_js.paragraphComponentDefinition; }
|
|
404
|
+
});
|
|
405
|
+
Object.defineProperty(exports, "progressComponentDefinition", {
|
|
406
|
+
enumerable: true,
|
|
407
|
+
get: function () { return chunkWDY773GJ_js.progressComponentDefinition; }
|
|
408
|
+
});
|
|
409
|
+
Object.defineProperty(exports, "quoteComponentDefinition", {
|
|
410
|
+
enumerable: true,
|
|
411
|
+
get: function () { return chunkWDY773GJ_js.quoteComponentDefinition; }
|
|
412
|
+
});
|
|
413
|
+
Object.defineProperty(exports, "ratingComponentDefinition", {
|
|
414
|
+
enumerable: true,
|
|
415
|
+
get: function () { return chunkWDY773GJ_js.ratingComponentDefinition; }
|
|
416
|
+
});
|
|
417
|
+
Object.defineProperty(exports, "removeNestedBlock", {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
get: function () { return chunkWDY773GJ_js.removeNestedBlock; }
|
|
420
|
+
});
|
|
421
|
+
Object.defineProperty(exports, "renderBlock", {
|
|
422
|
+
enumerable: true,
|
|
423
|
+
get: function () { return chunkWDY773GJ_js.renderBlock; }
|
|
424
|
+
});
|
|
425
|
+
Object.defineProperty(exports, "renderSection", {
|
|
426
|
+
enumerable: true,
|
|
427
|
+
get: function () { return chunkWDY773GJ_js.renderSection; }
|
|
428
|
+
});
|
|
429
|
+
Object.defineProperty(exports, "selectComponentDefinition", {
|
|
430
|
+
enumerable: true,
|
|
431
|
+
get: function () { return chunkWDY773GJ_js.selectComponentDefinition; }
|
|
432
|
+
});
|
|
433
|
+
Object.defineProperty(exports, "sortBlocks", {
|
|
434
|
+
enumerable: true,
|
|
435
|
+
get: function () { return chunkWDY773GJ_js.sortBlocks; }
|
|
436
|
+
});
|
|
437
|
+
Object.defineProperty(exports, "sortComponents", {
|
|
438
|
+
enumerable: true,
|
|
439
|
+
get: function () { return chunkWDY773GJ_js.sortComponents; }
|
|
440
|
+
});
|
|
441
|
+
Object.defineProperty(exports, "spacerComponentDefinition", {
|
|
442
|
+
enumerable: true,
|
|
443
|
+
get: function () { return chunkWDY773GJ_js.spacerComponentDefinition; }
|
|
444
|
+
});
|
|
445
|
+
Object.defineProperty(exports, "tableComponentDefinition", {
|
|
446
|
+
enumerable: true,
|
|
447
|
+
get: function () { return chunkWDY773GJ_js.tableComponentDefinition; }
|
|
448
|
+
});
|
|
449
|
+
Object.defineProperty(exports, "tabsComponentDefinition", {
|
|
450
|
+
enumerable: true,
|
|
451
|
+
get: function () { return chunkWDY773GJ_js.tabsComponentDefinition; }
|
|
452
|
+
});
|
|
453
|
+
Object.defineProperty(exports, "textareaComponentDefinition", {
|
|
454
|
+
enumerable: true,
|
|
455
|
+
get: function () { return chunkWDY773GJ_js.textareaComponentDefinition; }
|
|
456
|
+
});
|
|
457
|
+
Object.defineProperty(exports, "timerComponentDefinition", {
|
|
458
|
+
enumerable: true,
|
|
459
|
+
get: function () { return chunkWDY773GJ_js.timerComponentDefinition; }
|
|
460
|
+
});
|
|
461
|
+
Object.defineProperty(exports, "toComponentInstance", {
|
|
462
|
+
enumerable: true,
|
|
463
|
+
get: function () { return chunkWDY773GJ_js.toComponentInstance; }
|
|
464
|
+
});
|
|
465
|
+
Object.defineProperty(exports, "updateNestedBlock", {
|
|
466
|
+
enumerable: true,
|
|
467
|
+
get: function () { return chunkWDY773GJ_js.updateNestedBlock; }
|
|
468
|
+
});
|
|
469
|
+
Object.defineProperty(exports, "updateNestedComponent", {
|
|
470
|
+
enumerable: true,
|
|
471
|
+
get: function () { return chunkWDY773GJ_js.updateNestedComponent; }
|
|
472
|
+
});
|
|
473
|
+
Object.defineProperty(exports, "useCart", {
|
|
474
|
+
enumerable: true,
|
|
475
|
+
get: function () { return chunkWDY773GJ_js.useCart; }
|
|
476
|
+
});
|
|
477
|
+
Object.defineProperty(exports, "useComponentInstance", {
|
|
478
|
+
enumerable: true,
|
|
479
|
+
get: function () { return chunkWDY773GJ_js.useComponentInstance; }
|
|
480
|
+
});
|
|
481
|
+
Object.defineProperty(exports, "useComponentRegistration", {
|
|
482
|
+
enumerable: true,
|
|
483
|
+
get: function () { return chunkWDY773GJ_js.useComponentRegistration; }
|
|
484
|
+
});
|
|
485
|
+
Object.defineProperty(exports, "usePageData", {
|
|
486
|
+
enumerable: true,
|
|
487
|
+
get: function () { return chunkWDY773GJ_js.usePageData; }
|
|
488
|
+
});
|
|
489
|
+
Object.defineProperty(exports, "useResponsiveClass", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function () { return chunkWDY773GJ_js.useResponsiveClass; }
|
|
492
|
+
});
|
|
493
|
+
Object.defineProperty(exports, "useThemeContext", {
|
|
494
|
+
enumerable: true,
|
|
495
|
+
get: function () { return chunkWDY773GJ_js.useThemeContext; }
|
|
496
|
+
});
|
|
497
|
+
Object.defineProperty(exports, "useViewport", {
|
|
498
|
+
enumerable: true,
|
|
499
|
+
get: function () { return chunkWDY773GJ_js.useViewport; }
|
|
500
|
+
});
|
|
501
|
+
Object.defineProperty(exports, "useWebsiteSettings", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function () { return chunkWDY773GJ_js.useWebsiteSettings; }
|
|
504
|
+
});
|
|
505
|
+
Object.defineProperty(exports, "validateComponent", {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
get: function () { return chunkWDY773GJ_js.validateComponent; }
|
|
508
|
+
});
|
|
509
|
+
Object.defineProperty(exports, "validateContent", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
get: function () { return chunkWDY773GJ_js.validateContent; }
|
|
512
|
+
});
|
|
513
|
+
Object.defineProperty(exports, "validateSection", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function () { return chunkWDY773GJ_js.validateSection; }
|
|
516
|
+
});
|
|
517
|
+
Object.defineProperty(exports, "validateSettings", {
|
|
518
|
+
enumerable: true,
|
|
519
|
+
get: function () { return chunkWDY773GJ_js.validateSettings; }
|
|
520
|
+
});
|
|
521
|
+
Object.defineProperty(exports, "validateStyle", {
|
|
522
|
+
enumerable: true,
|
|
523
|
+
get: function () { return chunkWDY773GJ_js.validateStyle; }
|
|
524
|
+
});
|
|
525
|
+
Object.defineProperty(exports, "version", {
|
|
526
|
+
enumerable: true,
|
|
527
|
+
get: function () { return chunkWDY773GJ_js.version; }
|
|
528
|
+
});
|
|
529
|
+
Object.defineProperty(exports, "videoComponentDefinition", {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
get: function () { return chunkWDY773GJ_js.videoComponentDefinition; }
|
|
532
|
+
});
|
|
533
|
+
Object.defineProperty(exports, "createSectionRegistry", {
|
|
534
|
+
enumerable: true,
|
|
535
|
+
get: function () { return chunk3SZX6LHT_js.createSectionRegistry; }
|
|
536
|
+
});
|
|
537
|
+
Object.defineProperty(exports, "sectionRegistry", {
|
|
538
|
+
enumerable: true,
|
|
539
|
+
get: function () { return chunk3SZX6LHT_js.sectionRegistry; }
|
|
540
|
+
});
|
|
541
|
+
//# sourceMappingURL=client.js.map
|
|
542
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"client.js"}
|
package/dist/client.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { AccordionComponent, AlertComponent, BadgeComponent, BlockListRenderer, BlockRenderer, ButtonComponent, COMPONENT_CATEGORIES, COMPONENT_TYPES, CardComponent, CartProvider, CheckboxComponent, CodeComponent, ColumnsComponent, ComponentListRenderer, ComponentRegistry, ComponentRenderer, ContainerComponent, DEFAULT_INSPECTOR_CONFIG, DividerComponent, FIELD_TYPES, FullWidthSection, GalleryComponent, GridComponent, GridContainer, HeadingComponent, IconComponent, ImageComponent, InputComponent, LinkComponent, ListComponent, MapComponent, PageDataProvider, ParagraphComponent, ProgressComponent, QuoteComponent, RatingComponent, SECTION_CATEGORIES, SectionListRenderer, SectionRenderer, SelectComponent, SpacerComponent, TableComponent, TabsComponent, TextareaComponent, ThemeContextProvider, TimerComponent, VideoComponent, ViewportProvider, accordionComponentDefinition, alertComponentDefinition, animationFieldDefinitions, badgeComponentDefinition, blockRegistry, buttonComponentDefinition, cardComponentDefinition, checkboxComponentDefinition, cn, codeComponentDefinition, columnsComponentDefinition, componentRegistry, containerComponentDefinition, countEnabledItems, createBlockRegistry, defaultAnimationSettings, dividerComponentDefinition, filterEnabledBlocks, filterEnabledComponents, findBlockInSection, findComponentInSection, formatBlockName, galleryComponentDefinition, generateBlockId, generateHandle, generateId, generatePageId, generateSectionId, generateThemeId, getActiveBlocks, getActiveComponents, getBlockPath, getComponentPath, getComponentValues, getComponentsByType, getElementLabel, getFirstComponentByType, getSectionValues, getSelectionColor, gridComponentDefinition, groupBySlot, hasComponentType, hasEnabledItems, headingComponentDefinition, iconComponentDefinition, imageComponentDefinition, inputComponentDefinition, linkComponentDefinition, listComponentDefinition, mapComponentDefinition, paragraphComponentDefinition, progressComponentDefinition, quoteComponentDefinition, ratingComponentDefinition, removeNestedBlock, renderBlock, renderSection, selectComponentDefinition, sortBlocks, sortComponents, spacerComponentDefinition, tableComponentDefinition, tabsComponentDefinition, textareaComponentDefinition, timerComponentDefinition, toComponentInstance, updateNestedBlock, updateNestedComponent, useCart, useComponentInstance, useComponentRegistration, usePageData, useResponsiveClass, useThemeContext, useViewport, useWebsiteSettings, validateComponent, validateContent, validateSection, validateSettings, validateStyle, version, videoComponentDefinition } from './chunk-7EON6Q4L.mjs';
|
|
3
|
+
export { createSectionRegistry, sectionRegistry } from './chunk-XE4EOKS4.mjs';
|
|
4
|
+
//# sourceMappingURL=client.mjs.map
|
|
5
|
+
//# sourceMappingURL=client.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"client.mjs"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export { AccordionComponent, AlertComponent, BadgeComponent, BlockListRenderer, BlockListRendererProps, BlockRenderer, BlockRendererProps, ButtonComponent, CardComponent, CartProvider, CheckboxComponent, CodeComponent, ColumnsComponent, ComponentListRenderer, ComponentListRendererProps, ComponentRegistry, ComponentRenderer, ComponentRendererProps, ComponentValidationError, ComponentValidationResult, ComponentValues, ContainerComponent, DividerComponent, FullWidthSection, FullWidthSectionProps, GalleryComponent, GridComponent, GridContainer, GridContainerProps, GroupedComponents, HeadingComponent, IconComponent, ImageComponent, InputComponent, LinkComponent, ListComponent, MapComponent, PageData, PageDataProvider, PageDataProviderProps, ParagraphComponent, ProgressComponent, QuoteComponent, RatingComponent, SectionListRenderer, SectionListRendererProps, SectionRenderer, SectionRendererProps, SectionValues, SelectComponent, SlotConfig, SpacerComponent, TableComponent, TabsComponent, TextareaComponent, ThemeContextProvider, ThemeContextProviderProps, TimerComponent, ValidationError, ValidationResult, VideoComponent, ViewportMode, ViewportProvider, accordionComponentDefinition, alertComponentDefinition, badgeComponentDefinition, blockRegistry, buttonComponentDefinition, cardComponentDefinition, checkboxComponentDefinition, cn, codeComponentDefinition, columnsComponentDefinition, componentRegistry, containerComponentDefinition, countEnabledItems, createBlockRegistry, createSectionRegistry, dividerComponentDefinition, filterEnabledBlocks, filterEnabledComponents, findBlockInSection, findComponentInSection, formatBlockName, galleryComponentDefinition, generateBlockId, generateHandle, generateId, generatePageId, generateSectionId, generateThemeId, getActiveBlocks, getActiveComponents, getBlockPath, getComponentPath, getComponentValues, getComponentsByType, getElementLabel, getFirstComponentByType, getSectionValues, getSelectionColor, gridComponentDefinition, groupBySlot, hasComponentType, hasEnabledItems, headingComponentDefinition, iconComponentDefinition, imageComponentDefinition, inputComponentDefinition, linkComponentDefinition, listComponentDefinition, mapComponentDefinition, paragraphComponentDefinition, progressComponentDefinition, quoteComponentDefinition, ratingComponentDefinition, removeNestedBlock, renderBlock, renderSection, sectionRegistry, selectComponentDefinition, sortBlocks, sortComponents, spacerComponentDefinition, tableComponentDefinition, tabsComponentDefinition, textareaComponentDefinition, timerComponentDefinition, toComponentInstance, updateNestedBlock, updateNestedComponent, useCart, useComponentInstance, useComponentRegistration, usePageData, useResponsiveClass, useThemeContext, useViewport, useWebsiteSettings, validateComponent, validateContent, validateSection, validateSettings, validateStyle, version, videoComponentDefinition } from './client.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export { bb as ActiveHotlineConnections, ba as ActiveSocialConnections, bc as ActiveTrackingAnalytics, a as AnimationEasing, c as AnimationSettings, b as AnimationTrigger, A as AnimationType, bJ as ApiListResponse, bN as ApiPriceGroup, bO as ApiProductRaw, bG as ApiResponse, $ as ApplyScope, a0 as ApplyScopeResult, o as ArticleFieldDefinition, B as BaseEntity, f as BaseFieldDefinition, x as BlockComponentProps, u as BlockDefinition, v as BlockInstance, ax as BlockRegisteredPayload, w as BlockRegistration, aB as BlockRegistry, ay as BlockUnregisteredPayload, by as Blog, bs as BlogCategory, bv as BlogCategoryData, bA as BlogDetailData, n as BlogFieldDefinition, bz as BlogFilters, bQ as BlogFiltersParams, bt as BlogImage, bB as BlogListData, bC as BlogListItem, bw as BlogMetaData, bu as BlogUser, h as BooleanFieldDefinition, ag as BorderRadius, Z as Breakpoint, ah as Breakpoints, a1 as COMPONENT_CATEGORIES, a2 as COMPONENT_TYPES, bF as CartContextType, bD as CartItem, bE as CartSummary, i as CheckboxFieldDefinition, m as CollectionFieldDefinition, C as ColorFieldDefinition, ad as ColorPalette, b7 as CompanyInfo, M as ComponentCategory, O as ComponentDefinition, Q as ComponentInstance, ab as ComponentPageDefinition, X as ComponentProps, W as ComponentRegistration, L as ComponentType, b6 as ContactEmail, a_ as DEFAULT_INSPECTOR_CONFIG, ac as DesignToken, aE as DetectedElement, aC as DetectedSection, aU as DetectionPriority, aW as DetectionResult, aV as DetectionStrategy, aQ as DragDropContext, aF as EditableElementRegistry, aM as EditorActions, aN as EditorContextValue, aI as EditorMode, aL as EditorState, aT as ElementMetadata, aD as ElementRegistry, aS as ElementType, b9 as EnabledItems, t as FIELD_TYPES, q as FieldDefinition, F as FieldType, l as FontFieldDefinition, aP as HistoryEntry, b3 as HotlineConnection, b2 as HotlineType, I as ImageFieldDefinition, aY as InlineEditorProps, aX as InlineEditorState, aZ as InspectorConfig, aO as InspectorOverlayState, aR as KeyboardShortcut, bK as ListQueryParams, bL as Location, bM as LocationListResponse, N as NumberFieldDefinition, a5 as PageConfig, p as PageFieldDefinition, a7 as PageListItem, a8 as PageNavItem, aG as PageRegistration, a9 as PageRenderMode, a4 as PageSEO, a6 as PageTemplate, aH as PageTemplateRegistration, a3 as PageType, bH as PaginatedResponse, bf as PriceRange, bo as Product, br as ProductCardProps, bd as ProductCategory, P as ProductFieldDefinition, bp as ProductFilters, bP as ProductFiltersParams, bq as ProductListItem, bk as ProductMeasurements, bm as ProductOption, bj as ProductPrice, bi as ProductPriceGroup, bh as ProductSize, bl as ProductSpecs, be as ProductTag, bn as ProductVariant, j as RadioFieldDefinition, R as RangeFieldDefinition, ar as RegistryConfig, at as RegistryEvent, az as RegistryEventHandler, as as RegistryEventType, bx as ResponseMetaData, _ as ResponsiveStyles, k as RichTextFieldDefinition, K as SECTION_CATEGORIES, J as SectionCategory, E as SectionComponentInstance, H as SectionComponentProps, D as SectionInstance, au as SectionRegisteredPayload, G as SectionRegistration, aA as SectionRegistry, z as SectionSchema, av as SectionUnregisteredPayload, S as SelectFieldDefinition, aK as SelectedElement, aJ as SelectedElementType, bI as ServerFetcherResponse, r as SettingValue, s as Settings, a$ as SettingsIcon, b1 as SocialConnection, b0 as SocialPlatform, bg as SortOption, af as Spacing, Y as StyleSettings, y as TemplateDefinition, aw as TemplateRegisteredPayload, T as TextFieldDefinition, g as TextareaFieldDefinition, ai as ThemeConfig, ak as ThemeExport, aa as ThemeLayoutConfig, al as ThemeManifest, am as ThemeModule, aj as ThemePreset, an as ThemeUpload, ap as ThemeValidationError, ao as ThemeValidationResult, aq as ThemeValidationWarning, b5 as TrackingAnalytics, b4 as TrackingPlatform, ae as Typography, U as UrlFieldDefinition, V as VideoFieldDefinition, b8 as WebsiteSettings, d as animationFieldDefinitions, e as defaultAnimationSettings } from './api-vuL1Eg5L.mjs';
|
|
4
|
+
import 'clsx';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Zod schemas for ThemeManifest validation
|
|
10
|
+
* Used for runtime validation of uploaded theme bundles
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Author information schema
|
|
15
|
+
*/
|
|
16
|
+
declare const authorSchema: z.ZodObject<{
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
email: z.ZodOptional<z.ZodString>;
|
|
19
|
+
url: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
/**
|
|
22
|
+
* Peer dependencies schema
|
|
23
|
+
*/
|
|
24
|
+
declare const peerDependenciesSchema: z.ZodObject<{
|
|
25
|
+
react: z.ZodString;
|
|
26
|
+
"react-dom": z.ZodString;
|
|
27
|
+
"@onex/core": z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
/**
|
|
30
|
+
* Theme preview schema
|
|
31
|
+
*/
|
|
32
|
+
declare const previewSchema: z.ZodObject<{
|
|
33
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
34
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
/**
|
|
37
|
+
* Export paths schema
|
|
38
|
+
*/
|
|
39
|
+
declare const exportsSchema: z.ZodObject<{
|
|
40
|
+
main: z.ZodString;
|
|
41
|
+
types: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
/**
|
|
44
|
+
* Theme manifest schema
|
|
45
|
+
* Validates the manifest.json file in theme bundles
|
|
46
|
+
*/
|
|
47
|
+
declare const themeManifestSchema: z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
version: z.ZodString;
|
|
51
|
+
author: z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
email: z.ZodOptional<z.ZodString>;
|
|
54
|
+
url: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
engine: z.ZodString;
|
|
57
|
+
peerDependencies: z.ZodObject<{
|
|
58
|
+
react: z.ZodString;
|
|
59
|
+
"react-dom": z.ZodString;
|
|
60
|
+
"@onex/core": z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
sections: z.ZodArray<z.ZodString>;
|
|
63
|
+
config: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
64
|
+
exports: z.ZodObject<{
|
|
65
|
+
main: z.ZodString;
|
|
66
|
+
types: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
description: z.ZodOptional<z.ZodString>;
|
|
69
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
71
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
license: z.ZodOptional<z.ZodString>;
|
|
74
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
75
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
/**
|
|
78
|
+
* Type inference from schema
|
|
79
|
+
*/
|
|
80
|
+
type ThemeManifestValidation = z.infer<typeof themeManifestSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* Validate theme manifest
|
|
83
|
+
*
|
|
84
|
+
* @param manifest - The manifest object to validate
|
|
85
|
+
* @returns Validation result with typed data or errors
|
|
86
|
+
*/
|
|
87
|
+
declare function validateThemeManifest(manifest: unknown): z.ZodSafeParseResult<{
|
|
88
|
+
id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
version: string;
|
|
91
|
+
author: {
|
|
92
|
+
name: string;
|
|
93
|
+
email?: string | undefined;
|
|
94
|
+
url?: string | undefined;
|
|
95
|
+
};
|
|
96
|
+
engine: string;
|
|
97
|
+
peerDependencies: {
|
|
98
|
+
react: string;
|
|
99
|
+
"react-dom": string;
|
|
100
|
+
"@onex/core"?: string | undefined;
|
|
101
|
+
};
|
|
102
|
+
sections: string[];
|
|
103
|
+
config: Record<string, any>;
|
|
104
|
+
exports: {
|
|
105
|
+
main: string;
|
|
106
|
+
types?: string | undefined;
|
|
107
|
+
};
|
|
108
|
+
description?: string | undefined;
|
|
109
|
+
preview?: {
|
|
110
|
+
thumbnail?: string | undefined;
|
|
111
|
+
screenshots?: string[] | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
license?: string | undefined;
|
|
114
|
+
repository?: string | undefined;
|
|
115
|
+
tags?: string[] | undefined;
|
|
116
|
+
}>;
|
|
117
|
+
/**
|
|
118
|
+
* Validate theme manifest and throw on error
|
|
119
|
+
*
|
|
120
|
+
* @param manifest - The manifest object to validate
|
|
121
|
+
* @throws ZodError if validation fails
|
|
122
|
+
*/
|
|
123
|
+
declare function assertValidThemeManifest(manifest: unknown): asserts manifest is ThemeManifestValidation;
|
|
124
|
+
|
|
125
|
+
export { type ThemeManifestValidation, assertValidThemeManifest, authorSchema, exportsSchema, peerDependenciesSchema, previewSchema, themeManifestSchema, validateThemeManifest };
|