@cntrl-site/components 1.0.101 → 1.0.102

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 (130) hide show
  1. package/README.md +25 -1
  2. package/dist/Burger-C6jI6C1c.js +661 -0
  3. package/dist/Burger-EMSn7TPB.mjs +1807 -0
  4. package/dist/ClickGallerie-D_O1XhAO.mjs +270 -0
  5. package/dist/ClickGallerie-M9xdGR1G.js +36 -0
  6. package/dist/Components/Burger/BurgerComponent.d.ts +0 -1
  7. package/dist/Components/ClickGallerie/ClickGallerieComponent.d.ts +0 -1
  8. package/dist/Components/FAQ/FAQComponent.d.ts +0 -1
  9. package/dist/Components/Form/FormComponent.d.ts +0 -1
  10. package/dist/Components/Grid/GridComponent.d.ts +0 -1
  11. package/dist/Components/Helix/HelixComponent.d.ts +0 -1
  12. package/dist/Components/Hive/HiveComponent.d.ts +0 -1
  13. package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +0 -1
  14. package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +0 -1
  15. package/dist/Components/List/ListComponent.d.ts +0 -1
  16. package/dist/Components/Marquee/MarqueeComponent.d.ts +0 -1
  17. package/dist/Components/MarqueeText/MarqueeTextComponent.d.ts +0 -1
  18. package/dist/Components/Mercury/MercuryComponent.d.ts +0 -1
  19. package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +0 -1
  20. package/dist/Components/Pretext/PretextComponent.d.ts +0 -1
  21. package/dist/Components/Scale/ScaleComponent.d.ts +0 -1
  22. package/dist/Components/SimpleButton/SimpleButtonComponent.d.ts +0 -1
  23. package/dist/Components/Slider20/Slider20Component.d.ts +0 -1
  24. package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +0 -1
  25. package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +0 -1
  26. package/dist/Components/Waterfall/WaterfallComponent.d.ts +0 -1
  27. package/dist/ControlSlider-SiOt22l_.js +1 -0
  28. package/dist/ControlSlider-pZv7H6BU.mjs +334 -0
  29. package/dist/FAQ-C7823fyi.js +166 -0
  30. package/dist/FAQ-CZ39u4m8.mjs +588 -0
  31. package/dist/Form-BX5_41nb.mjs +472 -0
  32. package/dist/Form-Dn-6A1He.js +153 -0
  33. package/dist/Grid-CemGhf3F.js +374 -0
  34. package/dist/Grid-cfQsXW3b.mjs +1553 -0
  35. package/dist/Helix-2Vr-9WBa.js +43 -0
  36. package/dist/Helix-BmkAKT1G.mjs +315 -0
  37. package/dist/Hive-BC6zQBsv.js +321 -0
  38. package/dist/Hive-BGMWinrW.mjs +1425 -0
  39. package/dist/HiveLightboxTitles-DhEeFKWs.mjs +507 -0
  40. package/dist/HiveLightboxTitles-DlyptAaK.js +1 -0
  41. package/dist/ImageRevealSlider-BBWtFjUF.js +1 -0
  42. package/dist/ImageRevealSlider-BdFGyVEP.mjs +184 -0
  43. package/dist/Lightbox-CIss_nOG.js +1 -0
  44. package/dist/Lightbox-eP9qAZzL.mjs +665 -0
  45. package/dist/LightboxJournal-D59ex6wH.mjs +1613 -0
  46. package/dist/LightboxJournal-DAEZOPDi.js +523 -0
  47. package/dist/LightboxStrip-BDjI1jyH.js +386 -0
  48. package/dist/LightboxStrip-YspzBP8N.mjs +1574 -0
  49. package/dist/List-C32WImI3.js +377 -0
  50. package/dist/List-DW7fyJbf.mjs +1891 -0
  51. package/dist/Marquee-BYClHHws.mjs +551 -0
  52. package/dist/Marquee-vmHaTGIP.js +133 -0
  53. package/dist/MarqueeText-4Rip_sQX.mjs +515 -0
  54. package/dist/MarqueeText-E6OubMOG.js +132 -0
  55. package/dist/Mercury-BwF_XW2w.js +267 -0
  56. package/dist/Mercury-DuKJQ1Zo.mjs +1701 -0
  57. package/dist/OnelinerForm-BEu7_sho.mjs +434 -0
  58. package/dist/OnelinerForm-C2Y_XMCY.js +194 -0
  59. package/dist/Pretext-10CcyP1E.mjs +2762 -0
  60. package/dist/Pretext-DvQ3xsni.js +231 -0
  61. package/dist/PretextComponent-C3YFICy8.js +1 -0
  62. package/dist/PretextComponent-Ct0newmn.mjs +11624 -0
  63. package/dist/RichTextRenderer-B6WtTYlR.mjs +32 -0
  64. package/dist/RichTextRenderer-CIy6yI8U.js +1 -0
  65. package/dist/Scale-976sjO8e.js +111 -0
  66. package/dist/Scale-rLNT4KAk.mjs +345 -0
  67. package/dist/SimpleButton-C-o2W9bS.mjs +451 -0
  68. package/dist/SimpleButton-nGEcO2gB.js +243 -0
  69. package/dist/Slider20-C9o2REDl.js +272 -0
  70. package/dist/Slider20-Dm8BeCli.mjs +851 -0
  71. package/dist/SvgImage-B5mR9y6q.mjs +51 -0
  72. package/dist/SvgImage-DFlmxAoL.js +1 -0
  73. package/dist/TestimonialGrid-CPu4qQ6B.mjs +492 -0
  74. package/dist/TestimonialGrid-D4ieiz9e.js +90 -0
  75. package/dist/TestimonialSingle-CVu15ZtV.js +125 -0
  76. package/dist/TestimonialSingle-DLdnAVF7.mjs +391 -0
  77. package/dist/Waterfall-A0FjM2my.mjs +1400 -0
  78. package/dist/Waterfall-DnPDHbCL.js +287 -0
  79. package/dist/buildColorVars-CE2D5cQV.js +1 -0
  80. package/dist/buildColorVars-CLyWQm5K.mjs +21 -0
  81. package/dist/components-OE3ac1dr.js +1 -0
  82. package/dist/components-w-jHX-2U.mjs +2053 -0
  83. package/dist/components.css +1 -1
  84. package/dist/elements.d.ts +7 -0
  85. package/dist/elements.js +1 -0
  86. package/dist/elements.mjs +63 -0
  87. package/dist/elements.node.d.ts +6 -0
  88. package/dist/elements.node.js +1 -0
  89. package/dist/elements.node.mjs +21 -0
  90. package/dist/forking.d.ts +1 -0
  91. package/dist/formFieldValidation-DZl2KVaF.js +1 -0
  92. package/dist/formFieldValidation-DvihFrq5.mjs +21 -0
  93. package/dist/getColorAlpha-BVBY0N5x.mjs +39 -0
  94. package/dist/getColorAlpha-CoSseoCn.js +1 -0
  95. package/dist/getImageRect-BQhQXvT8.js +1 -0
  96. package/dist/getImageRect-CBMhFNHM.mjs +109 -0
  97. package/dist/index.d.ts +1 -0
  98. package/dist/index.js +1 -28862
  99. package/dist/index.mjs +16 -62473
  100. package/dist/loadSvgMaskUrl-DfF7ay6h.js +1 -0
  101. package/dist/loadSvgMaskUrl-xHgGYgPe.mjs +20 -0
  102. package/dist/panelAvailability-D179wwJx.mjs +27 -0
  103. package/dist/panelAvailability-DnOe0rQ4.js +1 -0
  104. package/dist/react-splide.esm-CabaEmHi.js +6 -0
  105. package/dist/react-splide.esm-DQqds4PL.mjs +1750 -0
  106. package/dist/readTestimonialTextMeasure-BIXpGFEt.mjs +13 -0
  107. package/dist/readTestimonialTextMeasure-CEPaB4Sy.js +1 -0
  108. package/dist/scalingValue-C9JH5L6O.mjs +6 -0
  109. package/dist/scalingValue-CSHYgTZl.js +1 -0
  110. package/dist/sources.d.ts +1 -0
  111. package/dist/sources.js +23753 -0
  112. package/dist/sources.mjs +23779 -0
  113. package/dist/textStylesToCss-05Mn6I_2.mjs +32 -0
  114. package/dist/textStylesToCss-CNN3zZTV.js +1 -0
  115. package/dist/types/Component.d.ts +0 -1
  116. package/dist/useLightboxScrollLock-Hf16Eq4g.js +1 -0
  117. package/dist/useLightboxScrollLock-VQ07s7EJ.mjs +18 -0
  118. package/dist/useLightboxSwipeDismiss-Br9uE5G0.js +1 -0
  119. package/dist/useLightboxSwipeDismiss-SGv6Ra33.mjs +95 -0
  120. package/dist/useScopedStyles-Bf6yohVQ.js +1 -0
  121. package/dist/useScopedStyles-DhBG3557.mjs +11 -0
  122. package/dist/utils-033j3qNL.js +1 -0
  123. package/dist/utils-FxC9rcxw.mjs +247 -0
  124. package/dist/utils.js +1 -1
  125. package/dist/utils.mjs +17 -11
  126. package/package.json +31 -2
  127. package/dist/index-2JTNRDR1.js +0 -1
  128. package/dist/index-DA8t6EZ4.mjs +0 -255
  129. package/dist/panelAvailability-CgSic84c.mjs +0 -126
  130. package/dist/panelAvailability-D8c7cdbu.js +0 -1
@@ -0,0 +1,2053 @@
1
+ import { ControlSlider as e } from "./ControlSlider-pZv7H6BU.mjs";
2
+ import { ImageRevealSlider as t } from "./ImageRevealSlider-BdFGyVEP.mjs";
3
+ import { LightboxGallery as i } from "./Lightbox-eP9qAZzL.mjs";
4
+ import { C as o, F as r, O as p, M as n, a as l, T as s, b as a, G as c, H as y, L as g, c as m, d, e as u, S as b, W as h, f, g as v, h as x, i as C, B as S, P as I } from "./PretextComponent-Ct0newmn.mjs";
5
+ const k = {
6
+ element: e,
7
+ id: "control-slider",
8
+ name: "Slider",
9
+ preview: {
10
+ type: "image",
11
+ url: "https://cdn.cntrl.site/component-assets/Slider.mp4"
12
+ },
13
+ defaultSize: {
14
+ d: {
15
+ width: 400,
16
+ height: 400
17
+ },
18
+ t: {
19
+ width: 400,
20
+ height: 400
21
+ },
22
+ m: {
23
+ width: 300,
24
+ height: 300
25
+ }
26
+ },
27
+ assetsPaths: {
28
+ content: [{ path: "image.assetId", placeholderEnabled: !0 }],
29
+ parameters: [{ path: "settings.controls.arrowsImgUrl" }]
30
+ },
31
+ fontSettingsPaths: {
32
+ content: [],
33
+ parameters: [{ path: "styles.imageCaption.fontSettings" }]
34
+ },
35
+ schema: {
36
+ type: "object",
37
+ properties: {
38
+ settings: {
39
+ type: "object",
40
+ display: {
41
+ type: "settings-block"
42
+ },
43
+ properties: {
44
+ triggers: {
45
+ title: "triggers",
46
+ icon: "target",
47
+ tooltip: "Triggers",
48
+ type: "object",
49
+ properties: {
50
+ triggersList: {
51
+ type: "object",
52
+ display: {
53
+ type: "toggle-ratio-group"
54
+ },
55
+ properties: {
56
+ click: {
57
+ type: "boolean"
58
+ },
59
+ drag: {
60
+ type: "boolean"
61
+ }
62
+ }
63
+ },
64
+ autoPlay: {
65
+ type: ["string", "null"],
66
+ label: "Auto",
67
+ display: {
68
+ type: "step-selector"
69
+ },
70
+ enum: [null, "1s", "2s", "3s", "4s", "5s"]
71
+ }
72
+ }
73
+ },
74
+ direction: {
75
+ icon: "horizontal-resize",
76
+ tooltip: "Direction",
77
+ type: "string",
78
+ display: {
79
+ type: "ratio-group"
80
+ },
81
+ enum: ["horiz", "vert"]
82
+ },
83
+ transition: {
84
+ title: "transit",
85
+ icon: "transition",
86
+ tooltip: "Transition",
87
+ type: "object",
88
+ properties: {
89
+ type: {
90
+ type: "string",
91
+ display: {
92
+ type: "ratio-group"
93
+ },
94
+ enum: ["slide", "fade in"]
95
+ },
96
+ backgroundColor: {
97
+ type: ["string", "null"],
98
+ title: "BG Color",
99
+ display: {
100
+ visible: !1,
101
+ type: "settings-color-picker",
102
+ format: "single"
103
+ }
104
+ },
105
+ duration: {
106
+ type: "string",
107
+ label: "icon:hourglass",
108
+ display: {
109
+ type: "step-selector"
110
+ },
111
+ enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
112
+ }
113
+ }
114
+ },
115
+ controls: {
116
+ title: "controls",
117
+ icon: "controls",
118
+ tooltip: "Controls",
119
+ type: "object",
120
+ properties: {
121
+ isActive: {
122
+ type: "boolean",
123
+ display: {
124
+ type: "setting-toggle"
125
+ }
126
+ },
127
+ arrowsImgUrl: {
128
+ type: ["string", "null"],
129
+ display: {
130
+ type: "settings-image-input"
131
+ }
132
+ },
133
+ offset: {
134
+ type: "object",
135
+ title: "Offset",
136
+ display: {
137
+ type: "group"
138
+ },
139
+ properties: {
140
+ x: {
141
+ type: "number",
142
+ label: "X",
143
+ scalingEnabled: !0,
144
+ display: {
145
+ type: "numeric-input",
146
+ visible: !0
147
+ }
148
+ },
149
+ y: {
150
+ type: "number",
151
+ label: "Y",
152
+ scalingEnabled: !0,
153
+ display: {
154
+ type: "numeric-input",
155
+ visible: !0
156
+ }
157
+ }
158
+ }
159
+ },
160
+ scale: {
161
+ type: "number",
162
+ title: "scale",
163
+ min: 50,
164
+ max: 600,
165
+ display: {
166
+ type: "range-control"
167
+ }
168
+ },
169
+ color: {
170
+ title: "color",
171
+ type: "string",
172
+ display: {
173
+ type: "settings-color-picker",
174
+ format: "single"
175
+ }
176
+ },
177
+ hover: {
178
+ title: "hover",
179
+ type: "string",
180
+ display: {
181
+ type: "settings-color-picker",
182
+ format: "single"
183
+ }
184
+ },
185
+ show: {
186
+ title: "Show",
187
+ type: "string",
188
+ display: {
189
+ type: "ratio-group"
190
+ },
191
+ enum: ["always", "on hover"]
192
+ }
193
+ }
194
+ },
195
+ pagination: {
196
+ title: "nav",
197
+ icon: "pagination",
198
+ tooltip: "Navigation",
199
+ type: "object",
200
+ properties: {
201
+ isActive: {
202
+ type: "boolean",
203
+ display: {
204
+ type: "setting-toggle"
205
+ }
206
+ },
207
+ position: {
208
+ display: {
209
+ type: "socket",
210
+ direction: "horizontal"
211
+ },
212
+ type: "string",
213
+ enum: ["outside-1", "outside-2", "inside-1", "inside-2"]
214
+ },
215
+ offset: {
216
+ type: "object",
217
+ title: "Offset",
218
+ display: {
219
+ type: "group"
220
+ },
221
+ properties: {
222
+ x: {
223
+ type: "number",
224
+ label: "X",
225
+ scalingEnabled: !0,
226
+ display: {
227
+ type: "numeric-input",
228
+ visible: !0
229
+ }
230
+ },
231
+ y: {
232
+ type: "number",
233
+ label: "Y",
234
+ scalingEnabled: !0,
235
+ display: {
236
+ type: "numeric-input",
237
+ visible: !0
238
+ }
239
+ }
240
+ }
241
+ },
242
+ scale: {
243
+ type: "number",
244
+ title: "scale",
245
+ min: 10,
246
+ max: 400,
247
+ display: {
248
+ type: "range-control"
249
+ }
250
+ },
251
+ colors: {
252
+ display: {
253
+ type: "settings-color-picker",
254
+ format: "multiple"
255
+ },
256
+ title: "color",
257
+ type: "array",
258
+ items: {
259
+ type: "string"
260
+ }
261
+ },
262
+ hover: {
263
+ title: "hover",
264
+ type: "string",
265
+ display: {
266
+ type: "settings-color-picker",
267
+ format: "single"
268
+ }
269
+ }
270
+ }
271
+ },
272
+ imageCaption: {
273
+ title: "Caption",
274
+ icon: "text-icon",
275
+ tooltip: "Caption",
276
+ type: "object",
277
+ properties: {
278
+ isActive: {
279
+ type: "boolean",
280
+ display: {
281
+ type: "setting-toggle"
282
+ }
283
+ },
284
+ alignment: {
285
+ type: "string",
286
+ display: {
287
+ type: "align-grid"
288
+ },
289
+ enum: ["top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"]
290
+ },
291
+ offset: {
292
+ type: "object",
293
+ title: "Offset",
294
+ display: {
295
+ type: "group"
296
+ },
297
+ properties: {
298
+ x: {
299
+ type: "number",
300
+ label: "X",
301
+ scalingEnabled: !0,
302
+ display: {
303
+ type: "numeric-input",
304
+ visible: !0
305
+ }
306
+ },
307
+ y: {
308
+ type: "number",
309
+ label: "Y",
310
+ scalingEnabled: !0,
311
+ display: {
312
+ type: "numeric-input",
313
+ visible: !0
314
+ }
315
+ }
316
+ }
317
+ },
318
+ linkColor: {
319
+ title: "Link",
320
+ type: "string",
321
+ display: {
322
+ type: "settings-color-picker",
323
+ format: "single"
324
+ }
325
+ },
326
+ linkHoverColor: {
327
+ title: "Link Hov",
328
+ type: "string",
329
+ display: {
330
+ type: "settings-color-picker",
331
+ format: "single"
332
+ }
333
+ }
334
+ }
335
+ }
336
+ },
337
+ default: {
338
+ triggers: {
339
+ triggersList: {
340
+ click: !1,
341
+ drag: !0
342
+ },
343
+ autoPlay: null
344
+ },
345
+ controls: {
346
+ isActive: !0,
347
+ arrowsImgUrl: null,
348
+ offset: {
349
+ x: 0,
350
+ y: 0
351
+ },
352
+ scale: 100,
353
+ color: "#000000",
354
+ hover: "#cccccc",
355
+ show: "always"
356
+ },
357
+ transition: {
358
+ type: "slide",
359
+ duration: "500ms",
360
+ backgroundColor: null
361
+ },
362
+ pagination: {
363
+ isActive: !0,
364
+ scale: 50,
365
+ position: "inside-1",
366
+ offset: {
367
+ x: 0,
368
+ y: 0
369
+ },
370
+ colors: ["#cccccc", "#cccccc", "#000000"],
371
+ hover: "#cccccc"
372
+ },
373
+ direction: "horiz",
374
+ imageCaption: {
375
+ offset: {
376
+ x: 0,
377
+ y: 0
378
+ },
379
+ isActive: !0,
380
+ alignment: "middle-center",
381
+ linkColor: "#cccccc",
382
+ linkHoverColor: "#cccccc"
383
+ }
384
+ },
385
+ displayRules: [
386
+ {
387
+ if: {
388
+ name: "direction",
389
+ value: "vert"
390
+ },
391
+ then: {
392
+ name: "properties.pagination.properties.position.display.direction",
393
+ value: "vertical"
394
+ }
395
+ },
396
+ {
397
+ if: {
398
+ name: "transition.type",
399
+ value: "fade in"
400
+ },
401
+ then: {
402
+ name: "properties.transition.properties.backgroundColor.display.visible",
403
+ value: !0
404
+ }
405
+ }
406
+ ]
407
+ },
408
+ content: {
409
+ type: "array",
410
+ settings: {
411
+ addItemFromFileExplorer: !0
412
+ },
413
+ items: {
414
+ type: "object",
415
+ properties: {
416
+ image: {
417
+ type: "object",
418
+ label: "Image",
419
+ display: {
420
+ type: "media-input"
421
+ },
422
+ properties: {
423
+ assetId: {
424
+ type: "string"
425
+ },
426
+ name: {
427
+ type: "string"
428
+ },
429
+ objectFit: {
430
+ type: "string",
431
+ enum: ["cover", "contain"]
432
+ }
433
+ },
434
+ required: ["assetId", "name"]
435
+ },
436
+ imageCaption: {
437
+ placeholder: "Add Caption...",
438
+ label: "Description",
439
+ display: {
440
+ type: "rich-text"
441
+ }
442
+ }
443
+ },
444
+ required: ["image"]
445
+ },
446
+ default: [
447
+ {
448
+ image: {
449
+ objectFit: "cover",
450
+ assetId: "01M3QM74XES6E7GVC0H3KJ2RH6",
451
+ name: "Slider-1.png"
452
+ },
453
+ imageCaption: [
454
+ {
455
+ type: "paragraph",
456
+ children: [{ text: "" }]
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ image: {
462
+ objectFit: "cover",
463
+ assetId: "01M3QM74XEAZ8H1DTC5V1S554K",
464
+ name: "Slider-2.png"
465
+ },
466
+ imageCaption: [
467
+ {
468
+ type: "paragraph",
469
+ children: [{ text: "" }]
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ image: {
475
+ objectFit: "cover",
476
+ assetId: "01M3QM74XEDRP49HNTEPNZYQTP",
477
+ name: "Slider-3.png"
478
+ },
479
+ imageCaption: [
480
+ {
481
+ type: "paragraph",
482
+ children: [{ text: "" }]
483
+ }
484
+ ]
485
+ }
486
+ ]
487
+ },
488
+ styles: {
489
+ type: "object",
490
+ properties: {
491
+ imageCaption: {
492
+ dataName: "caption",
493
+ type: "object",
494
+ properties: {
495
+ fontSettings: {
496
+ type: "object",
497
+ display: {
498
+ type: "font-settings"
499
+ },
500
+ properties: {
501
+ fontFamily: {
502
+ type: "string"
503
+ },
504
+ fontWeight: {
505
+ type: "number"
506
+ },
507
+ fontStyle: {
508
+ type: "string"
509
+ }
510
+ }
511
+ },
512
+ widthSettings: {
513
+ display: {
514
+ type: "text-width-control"
515
+ },
516
+ type: "object",
517
+ properties: {
518
+ width: {
519
+ type: "number"
520
+ },
521
+ sizing: {
522
+ type: "string",
523
+ enum: ["auto", "manual"]
524
+ }
525
+ }
526
+ },
527
+ fontSizeLineHeight: {
528
+ type: "object",
529
+ display: {
530
+ type: "font-size-line-height"
531
+ },
532
+ properties: {
533
+ fontSize: {
534
+ type: "number"
535
+ },
536
+ lineHeight: {
537
+ type: "number"
538
+ }
539
+ }
540
+ },
541
+ letterSpacing: {
542
+ display: {
543
+ type: "letter-spacing-input"
544
+ },
545
+ type: "number"
546
+ },
547
+ wordSpacing: {
548
+ display: {
549
+ type: "word-spacing-input"
550
+ },
551
+ type: "number"
552
+ },
553
+ textAlign: {
554
+ display: {
555
+ type: "text-align-control"
556
+ },
557
+ type: "string",
558
+ enum: ["left", "center", "right", "justify"]
559
+ },
560
+ textAppearance: {
561
+ display: {
562
+ type: "text-appearance"
563
+ },
564
+ properties: {
565
+ textTransform: {
566
+ type: "string",
567
+ enum: ["none", "uppercase", "lowercase", "capitalize"]
568
+ },
569
+ textDecoration: {
570
+ type: "string",
571
+ enum: ["none", "underline"]
572
+ },
573
+ fontVariant: {
574
+ type: "string",
575
+ enum: ["normal", "small-caps"]
576
+ }
577
+ }
578
+ },
579
+ color: {
580
+ display: {
581
+ type: "style-panel-color-picker"
582
+ },
583
+ type: "string"
584
+ }
585
+ }
586
+ }
587
+ },
588
+ default: {
589
+ imageCaption: {
590
+ widthSettings: {
591
+ width: 0.13,
592
+ sizing: "auto"
593
+ },
594
+ fontSettings: {
595
+ fontFamily: "Arial",
596
+ fontWeight: 400,
597
+ fontStyle: "normal"
598
+ },
599
+ fontSizeLineHeight: {
600
+ fontSize: 0.02,
601
+ lineHeight: 0.02
602
+ },
603
+ letterSpacing: 0,
604
+ wordSpacing: 0,
605
+ textAlign: "left",
606
+ textAppearance: {
607
+ textTransform: "none",
608
+ textDecoration: "none",
609
+ fontVariant: "normal"
610
+ },
611
+ color: "#000000"
612
+ }
613
+ }
614
+ }
615
+ },
616
+ required: ["settings", "content", "styles"]
617
+ }
618
+ }, j = {
619
+ element: t,
620
+ id: "control-image-reveal",
621
+ name: "Click Gallery",
622
+ preview: {
623
+ type: "image",
624
+ url: "https://cdn.cntrl.site/component-assets/Click_Gallery.mp4"
625
+ },
626
+ defaultSize: {
627
+ d: {
628
+ width: "100%",
629
+ height: "100%"
630
+ },
631
+ t: {
632
+ width: "100%",
633
+ height: "100%"
634
+ },
635
+ m: {
636
+ width: "100%",
637
+ height: "100%"
638
+ }
639
+ },
640
+ assetsPaths: {
641
+ content: [{ path: "image.assetId", placeholderEnabled: !0 }],
642
+ parameters: [{ path: "settings.cursor.defaultCursor" }, { path: "settings.cursor.hoverCursor" }]
643
+ },
644
+ fontSettingsPaths: {
645
+ content: [],
646
+ parameters: []
647
+ },
648
+ schema: {
649
+ type: "object",
650
+ properties: {
651
+ settings: {
652
+ type: "object",
653
+ display: {
654
+ type: "settings-block"
655
+ },
656
+ properties: {
657
+ imageSize: {
658
+ title: "IMG SIZE",
659
+ icon: "size",
660
+ tooltip: "IMG SIZE",
661
+ type: "object",
662
+ properties: {
663
+ sizeType: {
664
+ type: "string",
665
+ display: {
666
+ type: "ratio-group"
667
+ },
668
+ enum: ["as Is", "custom", "random"]
669
+ },
670
+ imageWidth: {
671
+ type: "number",
672
+ label: "W",
673
+ display: {
674
+ type: "numeric-input",
675
+ visible: !1
676
+ }
677
+ },
678
+ randomRangeImageWidth: {
679
+ type: "object",
680
+ display: {
681
+ type: "random-range-controls",
682
+ visible: !1
683
+ },
684
+ properties: {
685
+ min: {
686
+ type: "number"
687
+ },
688
+ max: {
689
+ type: "number"
690
+ }
691
+ }
692
+ }
693
+ }
694
+ },
695
+ cursor: {
696
+ title: "cursor",
697
+ icon: "cursor",
698
+ tooltip: "cursor",
699
+ type: "object",
700
+ properties: {
701
+ cursorType: {
702
+ type: "string",
703
+ display: {
704
+ type: "ratio-group"
705
+ },
706
+ enum: ["system", "custom"]
707
+ },
708
+ target: {
709
+ type: "string",
710
+ title: "Target",
711
+ display: {
712
+ type: "ratio-group"
713
+ },
714
+ enum: ["area", "image"]
715
+ },
716
+ defaultCursor: {
717
+ type: ["string", "null"],
718
+ title: "Default",
719
+ display: {
720
+ type: "settings-image-input",
721
+ visible: !1
722
+ }
723
+ },
724
+ defaultCursorScale: {
725
+ type: "number",
726
+ title: "Scale",
727
+ min: 1,
728
+ max: 5,
729
+ step: 0.1,
730
+ display: {
731
+ type: "range-control",
732
+ visible: !1
733
+ }
734
+ },
735
+ hoverCursor: {
736
+ type: ["string", "null"],
737
+ title: "Hover",
738
+ display: {
739
+ type: "settings-image-input",
740
+ visible: !1
741
+ }
742
+ },
743
+ hoverCursorScale: {
744
+ type: "number",
745
+ title: "Scale",
746
+ min: 1,
747
+ max: 5,
748
+ step: 0.1,
749
+ display: {
750
+ type: "range-control",
751
+ visible: !1
752
+ }
753
+ }
754
+ }
755
+ },
756
+ position: {
757
+ title: "position",
758
+ icon: "transition",
759
+ tooltip: "Position",
760
+ type: "object",
761
+ properties: {
762
+ revealPosition: {
763
+ type: "string",
764
+ display: {
765
+ type: "ratio-group"
766
+ },
767
+ enum: ["random", "same", "on Click"]
768
+ },
769
+ visible: {
770
+ type: "string",
771
+ title: "Visible",
772
+ display: {
773
+ type: "ratio-group"
774
+ },
775
+ enum: ["all", "last One"]
776
+ }
777
+ }
778
+ }
779
+ },
780
+ default: {
781
+ imageSize: {
782
+ sizeType: "custom",
783
+ imageWidth: 500,
784
+ randomRangeImageWidth: {
785
+ min: 100,
786
+ max: 1e3
787
+ }
788
+ },
789
+ cursor: {
790
+ cursorType: "system",
791
+ target: "area",
792
+ defaultCursor: null,
793
+ defaultCursorScale: 2,
794
+ hoverCursor: null,
795
+ hoverCursorScale: 2
796
+ },
797
+ position: {
798
+ revealPosition: "random",
799
+ visible: "all"
800
+ }
801
+ },
802
+ displayRules: [
803
+ {
804
+ if: {
805
+ name: "imageSize.sizeType",
806
+ value: "custom"
807
+ },
808
+ then: {
809
+ name: "properties.imageSize.properties.imageWidth.display.visible",
810
+ value: !0
811
+ }
812
+ },
813
+ {
814
+ if: {
815
+ name: "imageSize.sizeType",
816
+ value: "random"
817
+ },
818
+ then: {
819
+ name: "properties.imageSize.properties.randomRangeImageWidth.display.visible",
820
+ value: !0
821
+ }
822
+ },
823
+ {
824
+ if: [
825
+ { name: "cursor.target", value: "image" },
826
+ { name: "cursor.cursorType", value: "custom" }
827
+ ],
828
+ then: {
829
+ name: "properties.cursor.properties.defaultCursor.display.visible",
830
+ value: !0
831
+ }
832
+ },
833
+ {
834
+ if: [
835
+ { name: "cursor.target", value: "image" },
836
+ { name: "cursor.cursorType", value: "custom" },
837
+ { name: "cursor.defaultCursor", value: null, isNotEqual: !0 }
838
+ ],
839
+ then: {
840
+ name: "properties.cursor.properties.defaultCursorScale.display.visible",
841
+ value: !0
842
+ }
843
+ },
844
+ {
845
+ if: {
846
+ name: "cursor.cursorType",
847
+ value: "custom"
848
+ },
849
+ then: {
850
+ name: "properties.cursor.properties.hoverCursor.display.visible",
851
+ value: !0
852
+ }
853
+ },
854
+ {
855
+ if: [
856
+ { name: "cursor.cursorType", value: "custom" },
857
+ { name: "cursor.hoverCursor", value: null, isNotEqual: !0 }
858
+ ],
859
+ then: {
860
+ name: "properties.cursor.properties.hoverCursorScale.display.visible",
861
+ value: !0
862
+ }
863
+ }
864
+ ]
865
+ },
866
+ content: {
867
+ type: "array",
868
+ settings: {
869
+ addItemFromFileExplorer: !0
870
+ },
871
+ items: {
872
+ type: "object",
873
+ properties: {
874
+ image: {
875
+ type: "object",
876
+ label: "Image",
877
+ display: {
878
+ isObjectFitEditable: !1,
879
+ type: "media-input"
880
+ },
881
+ properties: {
882
+ assetId: {
883
+ type: "string"
884
+ },
885
+ name: {
886
+ type: "string"
887
+ },
888
+ objectFit: {
889
+ type: "string",
890
+ enum: ["cover", "contain"]
891
+ }
892
+ },
893
+ required: ["assetId", "name"]
894
+ },
895
+ link: {
896
+ label: "URL",
897
+ placeholder: "Enter link...",
898
+ display: {
899
+ type: "text-input"
900
+ }
901
+ }
902
+ },
903
+ required: ["image"]
904
+ },
905
+ default: [
906
+ {
907
+ image: {
908
+ objectFit: "cover",
909
+ assetId: "01M3QM74XGWBJY3AQQ71GC2Z6Q",
910
+ name: "Slider-1.png"
911
+ },
912
+ link: ""
913
+ },
914
+ {
915
+ image: {
916
+ objectFit: "cover",
917
+ assetId: "01M3QM74XGMXS1Z5ZY2RFGS3T4",
918
+ name: "Slider-2.png"
919
+ },
920
+ link: ""
921
+ },
922
+ {
923
+ image: {
924
+ objectFit: "cover",
925
+ assetId: "01M3QM74XGWG6VCHNEXKVKAJGT",
926
+ name: "Slider-3.png"
927
+ },
928
+ link: ""
929
+ },
930
+ {
931
+ image: {
932
+ objectFit: "cover",
933
+ assetId: "01M3QM74XGCVMTPNHFHMR98RPZ",
934
+ name: "Slider-4.png"
935
+ },
936
+ link: ""
937
+ }
938
+ ]
939
+ }
940
+ }
941
+ }
942
+ }, E = {
943
+ element: i,
944
+ id: "lightbox",
945
+ name: "Lightbox",
946
+ preview: {
947
+ type: "image",
948
+ url: "https://cdn.cntrl.site/component-assets/Lightbox.png"
949
+ },
950
+ defaultSize: {
951
+ d: {
952
+ width: 440,
953
+ height: 550
954
+ },
955
+ t: {
956
+ width: 235,
957
+ height: 293
958
+ },
959
+ m: {
960
+ width: 265,
961
+ height: 331
962
+ }
963
+ },
964
+ fontSettingsPaths: {
965
+ content: [],
966
+ parameters: [{ path: "styles.imageCaption.fontSettings" }]
967
+ },
968
+ assetsPaths: {
969
+ content: [{ path: "image.assetId", placeholderEnabled: !0 }],
970
+ parameters: [
971
+ { path: "settings.thumbnailBlock.cover.assetId", placeholderEnabled: !0 },
972
+ { path: "settings.controls.arrowsImgUrl" },
973
+ { path: "settings.area.closeIconUrl" }
974
+ ]
975
+ },
976
+ schema: {
977
+ type: "object",
978
+ properties: {
979
+ settings: {
980
+ type: "object",
981
+ properties: {
982
+ thumbnailBlock: {
983
+ display: {
984
+ type: "settings-block",
985
+ triggerEvent: "close"
986
+ },
987
+ type: "object",
988
+ properties: {
989
+ cover: {
990
+ title: "COVER",
991
+ icon: "cover",
992
+ tooltip: "Cover Image",
993
+ type: "object",
994
+ properties: {
995
+ assetId: {
996
+ type: "string",
997
+ display: {
998
+ type: "cover-image-input"
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ }
1004
+ },
1005
+ lightboxBlock: {
1006
+ display: {
1007
+ type: "settings-block",
1008
+ triggerEvent: "open"
1009
+ },
1010
+ type: "object",
1011
+ properties: {
1012
+ appear: {
1013
+ title: "APPEAR",
1014
+ icon: "transition",
1015
+ tooltip: "Appearance",
1016
+ type: "object",
1017
+ properties: {
1018
+ type: {
1019
+ type: "string",
1020
+ display: {
1021
+ type: "ratio-group"
1022
+ },
1023
+ enum: ["slide in", "fade in", "mix"]
1024
+ },
1025
+ duration: {
1026
+ type: "string",
1027
+ label: "T",
1028
+ display: {
1029
+ type: "step-selector"
1030
+ },
1031
+ enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
1032
+ },
1033
+ direction: {
1034
+ type: "string",
1035
+ title: "From",
1036
+ display: {
1037
+ type: "direction-control"
1038
+ },
1039
+ enum: ["top", "left", "right", "bottom"]
1040
+ }
1041
+ }
1042
+ },
1043
+ triggers: {
1044
+ title: "TRIGGERS",
1045
+ icon: "target",
1046
+ tooltip: "Triggers",
1047
+ type: "object",
1048
+ properties: {
1049
+ type: {
1050
+ type: "string",
1051
+ display: {
1052
+ type: "ratio-group"
1053
+ },
1054
+ enum: ["click", "drag"]
1055
+ },
1056
+ switch: {
1057
+ type: "string",
1058
+ display: {
1059
+ type: "ratio-group"
1060
+ },
1061
+ enum: ["image", "50/50"]
1062
+ },
1063
+ repeat: {
1064
+ type: "string",
1065
+ title: "Repeat",
1066
+ display: {
1067
+ visible: !1,
1068
+ type: "ratio-group"
1069
+ },
1070
+ enum: ["close", "loop"]
1071
+ }
1072
+ }
1073
+ },
1074
+ slider: {
1075
+ title: "SLIDER",
1076
+ icon: "horizontal-resize",
1077
+ tooltip: "Slider",
1078
+ type: "object",
1079
+ properties: {
1080
+ type: {
1081
+ type: "string",
1082
+ display: {
1083
+ type: "ratio-group"
1084
+ },
1085
+ enum: ["slide", "fade", "scale"]
1086
+ },
1087
+ direction: {
1088
+ type: "string",
1089
+ display: {
1090
+ type: "ratio-group"
1091
+ },
1092
+ enum: ["horiz", "vert"]
1093
+ },
1094
+ duration: {
1095
+ type: "string",
1096
+ label: "T",
1097
+ display: {
1098
+ type: "step-selector"
1099
+ },
1100
+ enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
1101
+ }
1102
+ }
1103
+ },
1104
+ thumbnail: {
1105
+ title: "THUMB",
1106
+ icon: "thumbnail",
1107
+ tooltip: "Thumbnail",
1108
+ type: "object",
1109
+ properties: {
1110
+ isActive: {
1111
+ type: "boolean",
1112
+ display: {
1113
+ type: "setting-toggle"
1114
+ }
1115
+ },
1116
+ position: {
1117
+ display: {
1118
+ type: "align-grid"
1119
+ },
1120
+ type: "string",
1121
+ enum: ["top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"]
1122
+ },
1123
+ fit: {
1124
+ type: "string",
1125
+ display: {
1126
+ type: "ratio-group"
1127
+ },
1128
+ enum: ["cover", "fit"]
1129
+ },
1130
+ align: {
1131
+ type: "string",
1132
+ title: "Align",
1133
+ display: {
1134
+ type: "align-group",
1135
+ direction: "horizontal"
1136
+ },
1137
+ enum: ["start", "center", "end"]
1138
+ },
1139
+ triggers: {
1140
+ type: "string",
1141
+ title: "Triggers",
1142
+ display: {
1143
+ type: "ratio-group",
1144
+ direction: "horizontal"
1145
+ },
1146
+ enum: ["clk", "hov"]
1147
+ },
1148
+ grid: {
1149
+ type: "object",
1150
+ title: "Grid",
1151
+ display: {
1152
+ type: "group"
1153
+ },
1154
+ properties: {
1155
+ size: {
1156
+ type: "number",
1157
+ label: "Box",
1158
+ scalingEnabled: !0,
1159
+ display: {
1160
+ type: "numeric-input",
1161
+ visible: !0
1162
+ }
1163
+ },
1164
+ gap: {
1165
+ type: "number",
1166
+ label: "Gap",
1167
+ scalingEnabled: !0,
1168
+ min: 0,
1169
+ display: {
1170
+ type: "numeric-input"
1171
+ }
1172
+ }
1173
+ }
1174
+ },
1175
+ offset: {
1176
+ type: "object",
1177
+ title: "Offset",
1178
+ display: {
1179
+ type: "group"
1180
+ },
1181
+ properties: {
1182
+ x: {
1183
+ type: "number",
1184
+ label: "X",
1185
+ scalingEnabled: !0,
1186
+ display: {
1187
+ type: "numeric-input",
1188
+ visible: !0
1189
+ }
1190
+ },
1191
+ y: {
1192
+ type: "number",
1193
+ label: "Y",
1194
+ scalingEnabled: !0,
1195
+ display: {
1196
+ type: "numeric-input",
1197
+ visible: !0
1198
+ }
1199
+ }
1200
+ }
1201
+ },
1202
+ opacity: {
1203
+ type: "number",
1204
+ title: "Opacity",
1205
+ label: "icon:opacity",
1206
+ min: 0,
1207
+ max: 100,
1208
+ step: 1,
1209
+ display: {
1210
+ type: "numeric-input"
1211
+ }
1212
+ },
1213
+ activeState: {
1214
+ type: "object",
1215
+ title: "ACTIVE",
1216
+ display: {
1217
+ type: "group"
1218
+ },
1219
+ properties: {
1220
+ scale: {
1221
+ type: "number",
1222
+ title: "Scale",
1223
+ min: 1,
1224
+ max: 5,
1225
+ step: 0.1,
1226
+ display: {
1227
+ type: "range-control"
1228
+ }
1229
+ },
1230
+ opacity: {
1231
+ type: "number",
1232
+ title: "Opacity",
1233
+ label: "icon:opacity",
1234
+ min: 0,
1235
+ max: 100,
1236
+ step: 1,
1237
+ display: {
1238
+ type: "numeric-input"
1239
+ }
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ },
1245
+ layout: {
1246
+ title: "LAYOUT",
1247
+ icon: "layout",
1248
+ tooltip: "Layout",
1249
+ type: "object",
1250
+ properties: {
1251
+ position: {
1252
+ display: {
1253
+ type: "align-grid"
1254
+ },
1255
+ type: "string",
1256
+ enum: ["top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"]
1257
+ },
1258
+ offset: {
1259
+ type: "object",
1260
+ title: "Offset",
1261
+ display: {
1262
+ type: "group"
1263
+ },
1264
+ properties: {
1265
+ x: {
1266
+ type: "number",
1267
+ label: "X",
1268
+ scalingEnabled: !0,
1269
+ display: {
1270
+ type: "numeric-input",
1271
+ visible: !0
1272
+ }
1273
+ },
1274
+ y: {
1275
+ type: "number",
1276
+ label: "Y",
1277
+ scalingEnabled: !0,
1278
+ display: {
1279
+ type: "numeric-input",
1280
+ visible: !0
1281
+ }
1282
+ }
1283
+ }
1284
+ },
1285
+ padding: {
1286
+ type: "object",
1287
+ title: "Padding",
1288
+ display: {
1289
+ type: "padding-controls"
1290
+ },
1291
+ properties: {
1292
+ top: {
1293
+ min: 0,
1294
+ step: 1,
1295
+ type: "number"
1296
+ },
1297
+ left: {
1298
+ min: 0,
1299
+ step: 1,
1300
+ type: "number"
1301
+ },
1302
+ right: {
1303
+ min: 0,
1304
+ step: 1,
1305
+ type: "number"
1306
+ },
1307
+ bottom: {
1308
+ min: 0,
1309
+ step: 1,
1310
+ type: "number"
1311
+ }
1312
+ }
1313
+ }
1314
+ }
1315
+ },
1316
+ controls: {
1317
+ title: "CONTROLS",
1318
+ icon: "controls",
1319
+ tooltip: "Controls",
1320
+ type: "object",
1321
+ properties: {
1322
+ isActive: {
1323
+ type: "boolean",
1324
+ display: {
1325
+ type: "setting-toggle"
1326
+ }
1327
+ },
1328
+ arrowsImgUrl: {
1329
+ type: ["string", "null"],
1330
+ display: {
1331
+ type: "settings-image-input"
1332
+ }
1333
+ },
1334
+ offset: {
1335
+ title: "Offset",
1336
+ type: "object",
1337
+ display: {
1338
+ type: "group"
1339
+ },
1340
+ properties: {
1341
+ x: {
1342
+ type: "number",
1343
+ label: "X",
1344
+ scalingEnabled: !0,
1345
+ display: {
1346
+ type: "numeric-input",
1347
+ visible: !0
1348
+ }
1349
+ },
1350
+ y: {
1351
+ type: "number",
1352
+ label: "Y",
1353
+ scalingEnabled: !0,
1354
+ display: {
1355
+ type: "numeric-input",
1356
+ visible: !0
1357
+ }
1358
+ }
1359
+ }
1360
+ },
1361
+ scale: {
1362
+ type: "number",
1363
+ title: "Scale",
1364
+ min: 0.5,
1365
+ max: 5,
1366
+ step: 0.1,
1367
+ display: {
1368
+ type: "range-control"
1369
+ }
1370
+ },
1371
+ color: {
1372
+ title: "Color",
1373
+ type: "string",
1374
+ display: {
1375
+ type: "settings-color-picker",
1376
+ format: "single"
1377
+ }
1378
+ },
1379
+ hover: {
1380
+ title: "Hover",
1381
+ type: "string",
1382
+ display: {
1383
+ type: "settings-color-picker",
1384
+ format: "single"
1385
+ }
1386
+ }
1387
+ }
1388
+ },
1389
+ area: {
1390
+ title: "AREA",
1391
+ icon: "area",
1392
+ tooltip: "Area",
1393
+ type: "object",
1394
+ properties: {
1395
+ color: {
1396
+ type: "string",
1397
+ display: {
1398
+ type: "settings-color-picker",
1399
+ format: "single"
1400
+ }
1401
+ },
1402
+ blur: {
1403
+ type: "number",
1404
+ label: "icon:blur",
1405
+ display: {
1406
+ type: "numeric-input"
1407
+ }
1408
+ },
1409
+ closeIconUrl: {
1410
+ type: ["string", "null"],
1411
+ title: "Close Icon",
1412
+ display: {
1413
+ type: "settings-image-input"
1414
+ }
1415
+ },
1416
+ closeIconAlign: {
1417
+ display: {
1418
+ type: "align-grid",
1419
+ direction: "horizontal"
1420
+ },
1421
+ type: "string",
1422
+ enum: ["top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"]
1423
+ },
1424
+ closeIconScale: {
1425
+ type: "number",
1426
+ title: "Scale",
1427
+ min: 0.5,
1428
+ max: 5,
1429
+ step: 0.1,
1430
+ display: {
1431
+ type: "range-control"
1432
+ }
1433
+ },
1434
+ closeIconOffset: {
1435
+ type: "object",
1436
+ title: "Offset",
1437
+ display: {
1438
+ type: "group"
1439
+ },
1440
+ properties: {
1441
+ x: {
1442
+ type: "number",
1443
+ label: "X",
1444
+ scalingEnabled: !0,
1445
+ display: {
1446
+ type: "numeric-input",
1447
+ visible: !0
1448
+ }
1449
+ },
1450
+ y: {
1451
+ type: "number",
1452
+ label: "Y",
1453
+ scalingEnabled: !0,
1454
+ display: {
1455
+ type: "numeric-input",
1456
+ visible: !0
1457
+ }
1458
+ }
1459
+ }
1460
+ },
1461
+ closeIconColor: {
1462
+ title: "Color",
1463
+ type: "string",
1464
+ display: {
1465
+ type: "settings-color-picker",
1466
+ format: "single"
1467
+ }
1468
+ },
1469
+ closeIconHover: {
1470
+ title: "Hover",
1471
+ type: "string",
1472
+ display: {
1473
+ type: "settings-color-picker",
1474
+ format: "single"
1475
+ }
1476
+ }
1477
+ }
1478
+ },
1479
+ caption: {
1480
+ title: "DESC",
1481
+ icon: "text-icon",
1482
+ tooltip: "Description",
1483
+ type: "object",
1484
+ properties: {
1485
+ isActive: {
1486
+ type: "boolean",
1487
+ display: {
1488
+ type: "setting-toggle"
1489
+ }
1490
+ },
1491
+ alignment: {
1492
+ type: "string",
1493
+ display: {
1494
+ type: "align-grid"
1495
+ },
1496
+ enum: ["top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"]
1497
+ },
1498
+ offset: {
1499
+ title: "Offset",
1500
+ type: "object",
1501
+ display: {
1502
+ type: "group"
1503
+ },
1504
+ properties: {
1505
+ x: {
1506
+ type: "number",
1507
+ label: "X",
1508
+ scalingEnabled: !0,
1509
+ display: {
1510
+ type: "numeric-input",
1511
+ visible: !0
1512
+ }
1513
+ },
1514
+ y: {
1515
+ type: "number",
1516
+ label: "Y",
1517
+ scalingEnabled: !0,
1518
+ display: {
1519
+ type: "numeric-input",
1520
+ visible: !0
1521
+ }
1522
+ }
1523
+ }
1524
+ },
1525
+ linkColor: {
1526
+ title: "Link",
1527
+ type: "string",
1528
+ display: {
1529
+ type: "settings-color-picker",
1530
+ format: "single"
1531
+ }
1532
+ },
1533
+ linkHoverColor: {
1534
+ title: "Link Hov",
1535
+ type: "string",
1536
+ display: {
1537
+ type: "settings-color-picker",
1538
+ format: "single"
1539
+ }
1540
+ }
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ },
1546
+ default: {
1547
+ d: {
1548
+ thumbnailBlock: {
1549
+ cover: {
1550
+ assetId: "01M3QM74XEQ5ZGJ9WAMKV0EY1V"
1551
+ }
1552
+ },
1553
+ lightboxBlock: {
1554
+ appear: {
1555
+ type: "slide in",
1556
+ duration: "1000ms",
1557
+ direction: "bottom"
1558
+ },
1559
+ triggers: {
1560
+ type: "click",
1561
+ switch: "image",
1562
+ repeat: "loop"
1563
+ },
1564
+ slider: {
1565
+ type: "slide",
1566
+ direction: "vert",
1567
+ duration: "1000ms"
1568
+ },
1569
+ thumbnail: {
1570
+ isActive: !0,
1571
+ position: "middle-left",
1572
+ fit: "fit",
1573
+ align: "start",
1574
+ triggers: "hov",
1575
+ grid: {
1576
+ size: 0.05,
1577
+ gap: 0.01
1578
+ },
1579
+ offset: { x: 0.01, y: 0 },
1580
+ opacity: 50,
1581
+ activeState: {
1582
+ scale: 1,
1583
+ opacity: 100
1584
+ }
1585
+ },
1586
+ layout: {
1587
+ position: "middle-center",
1588
+ offset: { x: 0, y: 0 },
1589
+ padding: { top: 0.06, right: 0, bottom: 0.06, left: 0 }
1590
+ },
1591
+ controls: {
1592
+ isActive: !1,
1593
+ arrowsImgUrl: null,
1594
+ offset: { x: 0, y: 0 },
1595
+ scale: 1,
1596
+ color: "#000000",
1597
+ hover: "#cccccc"
1598
+ },
1599
+ area: {
1600
+ color: "rgba(28,31,34,0.9)",
1601
+ blur: 0,
1602
+ closeIconUrl: null,
1603
+ closeIconColor: "#000000",
1604
+ closeIconHover: "#cccccc",
1605
+ closeIconAlign: "top-right",
1606
+ closeIconOffset: { x: 0, y: 0 },
1607
+ closeIconScale: 1
1608
+ },
1609
+ caption: {
1610
+ isActive: !0,
1611
+ alignment: "middle-center",
1612
+ offset: { x: 0, y: 0 },
1613
+ linkColor: "#cccccc",
1614
+ linkHoverColor: "#cccccc"
1615
+ }
1616
+ }
1617
+ },
1618
+ m: {
1619
+ thumbnailBlock: {
1620
+ cover: {
1621
+ assetId: "01M3QM74XEQ5ZGJ9WAMKV0EY1V"
1622
+ }
1623
+ },
1624
+ lightboxBlock: {
1625
+ appear: {
1626
+ type: "fade in",
1627
+ duration: "500ms",
1628
+ direction: "bottom"
1629
+ },
1630
+ triggers: {
1631
+ type: "click",
1632
+ switch: "image",
1633
+ repeat: "loop"
1634
+ },
1635
+ slider: {
1636
+ type: "slide",
1637
+ direction: "horiz",
1638
+ duration: "1000ms"
1639
+ },
1640
+ thumbnail: {
1641
+ isActive: !0,
1642
+ position: "bottom-center",
1643
+ fit: "fit",
1644
+ align: "start",
1645
+ triggers: "hov",
1646
+ grid: {
1647
+ size: 0.1,
1648
+ gap: 0.05
1649
+ },
1650
+ offset: { x: 0.01, y: -0.05 },
1651
+ opacity: 50,
1652
+ activeState: {
1653
+ scale: 1,
1654
+ opacity: 100
1655
+ }
1656
+ },
1657
+ layout: {
1658
+ position: "middle-center",
1659
+ offset: { x: 0, y: 0 },
1660
+ padding: { top: 0.06, right: 0.05, bottom: 0.06, left: 0.05 }
1661
+ },
1662
+ controls: {
1663
+ isActive: !1,
1664
+ arrowsImgUrl: null,
1665
+ offset: { x: 0, y: 0 },
1666
+ scale: 1,
1667
+ color: "#000000",
1668
+ hover: "#cccccc"
1669
+ },
1670
+ area: {
1671
+ color: "rgba(28,31,34,0.9)",
1672
+ blur: 0,
1673
+ closeIconUrl: null,
1674
+ closeIconColor: "#000000",
1675
+ closeIconHover: "#cccccc",
1676
+ closeIconAlign: "top-right",
1677
+ closeIconOffset: { x: 0, y: 0 },
1678
+ closeIconScale: 1
1679
+ },
1680
+ caption: {
1681
+ isActive: !0,
1682
+ alignment: "middle-center",
1683
+ offset: { x: 0, y: 0 },
1684
+ hover: "#cccccc"
1685
+ }
1686
+ }
1687
+ },
1688
+ t: {
1689
+ thumbnailBlock: {
1690
+ cover: {
1691
+ assetId: "01M3QM74XEQ5ZGJ9WAMKV0EY1V"
1692
+ }
1693
+ },
1694
+ lightboxBlock: {
1695
+ appear: {
1696
+ type: "fade in",
1697
+ duration: "500ms",
1698
+ direction: "bottom"
1699
+ },
1700
+ triggers: {
1701
+ type: "click",
1702
+ switch: "image",
1703
+ repeat: "loop"
1704
+ },
1705
+ slider: {
1706
+ type: "slide",
1707
+ direction: "vert",
1708
+ duration: "1000ms"
1709
+ },
1710
+ thumbnail: {
1711
+ isActive: !0,
1712
+ position: "middle-left",
1713
+ fit: "fit",
1714
+ align: "start",
1715
+ triggers: "hov",
1716
+ grid: {
1717
+ size: 0.05,
1718
+ gap: 0.01
1719
+ },
1720
+ offset: { x: 0.03, y: 0 },
1721
+ opacity: 50,
1722
+ activeState: {
1723
+ scale: 1,
1724
+ opacity: 100
1725
+ }
1726
+ },
1727
+ layout: {
1728
+ position: "middle-center",
1729
+ offset: { x: 0, y: 0 },
1730
+ padding: { top: 0.06, right: 0.1, bottom: 0.06, left: 0.1 }
1731
+ },
1732
+ controls: {
1733
+ isActive: !1,
1734
+ arrowsImgUrl: null,
1735
+ offset: { x: 0, y: 0 },
1736
+ scale: 1,
1737
+ color: "#000000",
1738
+ hover: "#cccccc"
1739
+ },
1740
+ area: {
1741
+ color: "rgba(28,31,34,0.9)",
1742
+ blur: 0,
1743
+ closeIconUrl: null,
1744
+ closeIconColor: "#000000",
1745
+ closeIconHover: "#cccccc",
1746
+ closeIconAlign: "top-right",
1747
+ closeIconOffset: { x: 0, y: 0 },
1748
+ closeIconScale: 1
1749
+ },
1750
+ caption: {
1751
+ isActive: !0,
1752
+ alignment: "middle-center",
1753
+ offset: { x: 0, y: 0 },
1754
+ hover: "#cccccc"
1755
+ }
1756
+ }
1757
+ }
1758
+ },
1759
+ displayRules: [
1760
+ {
1761
+ if: {
1762
+ name: "lightboxBlock.appear.type",
1763
+ value: "slide in"
1764
+ },
1765
+ then: {
1766
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
1767
+ value: !0
1768
+ }
1769
+ },
1770
+ {
1771
+ if: {
1772
+ name: "lightboxBlock.slider.direction",
1773
+ value: "vert"
1774
+ },
1775
+ then: {
1776
+ name: "properties.lightboxBlock.properties.thumbnail.properties.align.display.direction",
1777
+ value: "vertical"
1778
+ }
1779
+ },
1780
+ {
1781
+ if: {
1782
+ name: "lightboxBlock.appear.type",
1783
+ value: "mix"
1784
+ },
1785
+ then: {
1786
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
1787
+ value: !0
1788
+ }
1789
+ },
1790
+ {
1791
+ if: {
1792
+ name: "lightboxBlock.appear.type",
1793
+ value: "fade in"
1794
+ },
1795
+ then: {
1796
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
1797
+ value: !1
1798
+ }
1799
+ },
1800
+ {
1801
+ if: [
1802
+ { name: "lightboxBlock.triggers.type", value: "click" },
1803
+ { name: "lightboxBlock.triggers.switch", value: "image" }
1804
+ ],
1805
+ then: {
1806
+ name: "properties.lightboxBlock.properties.triggers.properties.repeat.display.visible",
1807
+ value: !0
1808
+ }
1809
+ }
1810
+ ]
1811
+ },
1812
+ content: {
1813
+ type: "array",
1814
+ settings: {
1815
+ addItemFromFileExplorer: !0
1816
+ },
1817
+ items: {
1818
+ type: "object",
1819
+ properties: {
1820
+ image: {
1821
+ type: "object",
1822
+ label: "Image",
1823
+ display: {
1824
+ type: "media-input"
1825
+ },
1826
+ properties: {
1827
+ assetId: {
1828
+ type: "string"
1829
+ },
1830
+ name: {
1831
+ type: "string"
1832
+ },
1833
+ objectFit: {
1834
+ type: "string",
1835
+ enum: ["cover", "contain"]
1836
+ }
1837
+ },
1838
+ required: ["assetId", "name"]
1839
+ },
1840
+ imageCaption: {
1841
+ label: "Description",
1842
+ placeholder: "Add Caption...",
1843
+ display: {
1844
+ type: "rich-text"
1845
+ }
1846
+ }
1847
+ },
1848
+ required: ["image"]
1849
+ },
1850
+ default: [
1851
+ {
1852
+ image: {
1853
+ objectFit: "contain",
1854
+ assetId: "01M3QM74XD4J8X0B8TTSQ8CV3P",
1855
+ name: "Slider-1.png"
1856
+ },
1857
+ imageCaption: [
1858
+ {
1859
+ type: "paragraph",
1860
+ children: [{ text: "" }]
1861
+ }
1862
+ ]
1863
+ },
1864
+ {
1865
+ image: {
1866
+ objectFit: "contain",
1867
+ assetId: "01M3QM74XD0N6VQJ5J8J9YB32N",
1868
+ name: "Slider-2.png"
1869
+ },
1870
+ imageCaption: [
1871
+ {
1872
+ type: "paragraph",
1873
+ children: [{ text: "" }]
1874
+ }
1875
+ ]
1876
+ },
1877
+ {
1878
+ image: {
1879
+ objectFit: "contain",
1880
+ assetId: "01M3QM74XE4WSEPVF1QQSKMD76",
1881
+ name: "Slider-3.png"
1882
+ },
1883
+ imageCaption: [
1884
+ {
1885
+ type: "paragraph",
1886
+ children: [{ text: "" }]
1887
+ }
1888
+ ]
1889
+ }
1890
+ ]
1891
+ },
1892
+ styles: {
1893
+ type: "object",
1894
+ properties: {
1895
+ imageCaption: {
1896
+ dataName: "caption",
1897
+ type: "object",
1898
+ properties: {
1899
+ fontSettings: {
1900
+ type: "object",
1901
+ display: {
1902
+ type: "font-settings"
1903
+ },
1904
+ properties: {
1905
+ fontFamily: {
1906
+ type: "string"
1907
+ },
1908
+ fontWeight: {
1909
+ type: "number"
1910
+ },
1911
+ fontStyle: {
1912
+ type: "string"
1913
+ }
1914
+ }
1915
+ },
1916
+ widthSettings: {
1917
+ display: {
1918
+ type: "text-width-control"
1919
+ },
1920
+ type: "object",
1921
+ properties: {
1922
+ width: {
1923
+ type: "number"
1924
+ },
1925
+ sizing: {
1926
+ type: "string",
1927
+ enum: ["auto", "manual"]
1928
+ }
1929
+ }
1930
+ },
1931
+ fontSizeLineHeight: {
1932
+ type: "object",
1933
+ display: {
1934
+ type: "font-size-line-height"
1935
+ },
1936
+ properties: {
1937
+ fontSize: {
1938
+ type: "number"
1939
+ },
1940
+ lineHeight: {
1941
+ type: "number"
1942
+ }
1943
+ }
1944
+ },
1945
+ letterSpacing: {
1946
+ display: {
1947
+ type: "letter-spacing-input"
1948
+ },
1949
+ type: "number"
1950
+ },
1951
+ wordSpacing: {
1952
+ display: {
1953
+ type: "word-spacing-input"
1954
+ },
1955
+ type: "number"
1956
+ },
1957
+ textAlign: {
1958
+ display: {
1959
+ type: "text-align-control"
1960
+ },
1961
+ type: "string",
1962
+ enum: ["left", "center", "right", "justify"]
1963
+ },
1964
+ textAppearance: {
1965
+ display: {
1966
+ type: "text-appearance"
1967
+ },
1968
+ properties: {
1969
+ textTransform: {
1970
+ type: "string",
1971
+ enum: ["none", "uppercase", "lowercase", "capitalize"]
1972
+ },
1973
+ textDecoration: {
1974
+ type: "string",
1975
+ enum: ["none", "underline"]
1976
+ },
1977
+ fontVariant: {
1978
+ type: "string",
1979
+ enum: ["normal", "small-caps"]
1980
+ }
1981
+ }
1982
+ },
1983
+ color: {
1984
+ display: {
1985
+ type: "style-panel-color-picker"
1986
+ },
1987
+ type: "string"
1988
+ }
1989
+ }
1990
+ }
1991
+ },
1992
+ default: {
1993
+ imageCaption: {
1994
+ widthSettings: {
1995
+ width: 0.13,
1996
+ sizing: "auto"
1997
+ },
1998
+ fontSettings: {
1999
+ fontFamily: "Arial",
2000
+ fontWeight: 400,
2001
+ fontStyle: "normal"
2002
+ },
2003
+ fontSizeLineHeight: {
2004
+ fontSize: 0.02,
2005
+ lineHeight: 0.02
2006
+ },
2007
+ letterSpacing: 0,
2008
+ wordSpacing: 0,
2009
+ textAlign: "left",
2010
+ textAppearance: {
2011
+ textTransform: "none",
2012
+ textDecoration: "none",
2013
+ fontVariant: "normal"
2014
+ },
2015
+ color: "#000000"
2016
+ }
2017
+ }
2018
+ }
2019
+ },
2020
+ required: ["settings", "content", "styles"]
2021
+ }
2022
+ }, T = [
2023
+ k,
2024
+ j,
2025
+ o,
2026
+ E,
2027
+ r,
2028
+ p,
2029
+ n,
2030
+ l,
2031
+ s,
2032
+ a,
2033
+ c,
2034
+ y,
2035
+ g,
2036
+ m,
2037
+ d,
2038
+ u,
2039
+ b,
2040
+ h,
2041
+ f,
2042
+ v,
2043
+ x,
2044
+ C,
2045
+ S,
2046
+ I
2047
+ ];
2048
+ export {
2049
+ k as C,
2050
+ E as L,
2051
+ j as a,
2052
+ T as c
2053
+ };