cinqcinqdev-seo 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/assets/admin-tw.css +1 -1
- package/dist/runtime/components/sections/BlogHero.vue +16 -10
- package/dist/runtime/components/sections/CallToAction.vue +17 -11
- package/dist/runtime/components/sections/Comparison.d.vue.ts +3 -0
- package/dist/runtime/components/sections/Comparison.vue +264 -0
- package/dist/runtime/components/sections/Comparison.vue.d.ts +3 -0
- package/dist/runtime/components/sections/ContactForm.vue +11 -5
- package/dist/runtime/components/sections/DataTable.d.vue.ts +3 -0
- package/dist/runtime/components/sections/DataTable.vue +207 -0
- package/dist/runtime/components/sections/DataTable.vue.d.ts +3 -0
- package/dist/runtime/components/sections/FAQ.vue +11 -5
- package/dist/runtime/components/sections/Features.vue +11 -5
- package/dist/runtime/components/sections/HeroSection.vue +19 -14
- package/dist/runtime/components/sections/Newsletter.vue +17 -11
- package/dist/runtime/components/sections/Pricing.vue +11 -5
- package/dist/runtime/components/sections/Process.vue +11 -5
- package/dist/runtime/components/sections/Quote.vue +13 -8
- package/dist/runtime/components/sections/RichText.vue +11 -4
- package/dist/runtime/components/sections/ServiceGrid.vue +11 -5
- package/dist/runtime/components/sections/Testimonials.vue +11 -5
- package/dist/runtime/components/sections/TextVisual.vue +17 -11
- package/dist/runtime/composables/useAdminSections.js +267 -27
- package/package.json +1 -1
|
@@ -33,6 +33,21 @@ const radiusOptions = [
|
|
|
33
33
|
{ value: "rounded", label: "Rounded", icon: "\u25A2" },
|
|
34
34
|
{ value: "pill", label: "Pill", icon: "\u25EF" }
|
|
35
35
|
];
|
|
36
|
+
const directionOptions = [
|
|
37
|
+
{ value: "ltr", label: "LTR", icon: "\u2192" },
|
|
38
|
+
{ value: "rtl", label: "RTL", icon: "\u2190" }
|
|
39
|
+
];
|
|
40
|
+
const contentWidthOptions = [
|
|
41
|
+
{ value: "narrow", label: "Narrow", icon: "\u258F" },
|
|
42
|
+
{ value: "normal", label: "Normal", icon: "\u25E7" },
|
|
43
|
+
{ value: "wide", label: "Wide", icon: "\u25AC" },
|
|
44
|
+
{ value: "full", label: "Full", icon: "\u25A3" }
|
|
45
|
+
];
|
|
46
|
+
const textSizeOptions = [
|
|
47
|
+
{ value: "sm", label: "Small", icon: "S" },
|
|
48
|
+
{ value: "md", label: "Normal", icon: "M" },
|
|
49
|
+
{ value: "lg", label: "Large", icon: "L" }
|
|
50
|
+
];
|
|
36
51
|
const i18n0 = (fr = "") => ({ fr, ar: "", en: "" });
|
|
37
52
|
export const DEFAULT_SECTIONS = {
|
|
38
53
|
HeroSection: {
|
|
@@ -54,7 +69,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
54
69
|
ctaText: i18n0("Get Started"),
|
|
55
70
|
ctaLink: "/",
|
|
56
71
|
spacing: "normal",
|
|
57
|
-
radius: "rounded"
|
|
72
|
+
radius: "rounded",
|
|
73
|
+
textDirection: "ltr",
|
|
74
|
+
contentWidth: "normal",
|
|
75
|
+
textSize: "md"
|
|
58
76
|
},
|
|
59
77
|
groups: [
|
|
60
78
|
{ key: "design", label: "Design" },
|
|
@@ -84,6 +102,9 @@ export const DEFAULT_SECTIONS = {
|
|
|
84
102
|
bgColor: { type: "color", label: "Background", group: "design" },
|
|
85
103
|
textColor: { type: "color", label: "Text Color", group: "design" },
|
|
86
104
|
radius: { type: "cards", label: "Arrondis", group: "design", options: radiusOptions },
|
|
105
|
+
textDirection: { type: "cards", label: "Direction", group: "design", options: directionOptions },
|
|
106
|
+
contentWidth: { type: "cards", label: "Content Width", group: "design", options: contentWidthOptions },
|
|
107
|
+
textSize: { type: "cards", label: "Text Size", group: "design", options: textSizeOptions },
|
|
87
108
|
animation: { type: "cards", label: "Animation", group: "animation", options: animationOptions }
|
|
88
109
|
}
|
|
89
110
|
},
|
|
@@ -106,7 +127,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
106
127
|
textColor: "rgba(var(--text-color), 1)",
|
|
107
128
|
ctas: [],
|
|
108
129
|
spacing: "normal",
|
|
109
|
-
radius: "rounded"
|
|
130
|
+
radius: "rounded",
|
|
131
|
+
textDirection: "ltr",
|
|
132
|
+
contentWidth: "normal",
|
|
133
|
+
textSize: "md"
|
|
110
134
|
},
|
|
111
135
|
fields: {
|
|
112
136
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -138,7 +162,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
138
162
|
bgColor: { type: "color", label: "Background" },
|
|
139
163
|
textColor: { type: "color", label: "Text Color" },
|
|
140
164
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
141
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
165
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
166
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
167
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
168
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
142
169
|
}
|
|
143
170
|
},
|
|
144
171
|
ServiceGrid: {
|
|
@@ -157,7 +184,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
157
184
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
158
185
|
textColor: "rgba(var(--text-color), 1)",
|
|
159
186
|
spacing: "normal",
|
|
160
|
-
radius: "rounded"
|
|
187
|
+
radius: "rounded",
|
|
188
|
+
textDirection: "ltr",
|
|
189
|
+
contentWidth: "normal",
|
|
190
|
+
textSize: "md"
|
|
161
191
|
},
|
|
162
192
|
fields: {
|
|
163
193
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -182,7 +212,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
182
212
|
bgColor: { type: "color", label: "Background" },
|
|
183
213
|
textColor: { type: "color", label: "Text Color" },
|
|
184
214
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
185
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
215
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
216
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
217
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
218
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
186
219
|
}
|
|
187
220
|
},
|
|
188
221
|
Features: {
|
|
@@ -194,7 +227,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
194
227
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
195
228
|
textColor: "rgba(var(--text-color), 1)",
|
|
196
229
|
spacing: "normal",
|
|
197
|
-
radius: "rounded"
|
|
230
|
+
radius: "rounded",
|
|
231
|
+
textDirection: "ltr",
|
|
232
|
+
contentWidth: "normal",
|
|
233
|
+
textSize: "md"
|
|
198
234
|
},
|
|
199
235
|
fields: {
|
|
200
236
|
title: { type: "text", label: "Section Title", i18n: true },
|
|
@@ -205,7 +241,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
205
241
|
bgColor: { type: "color", label: "Background" },
|
|
206
242
|
textColor: { type: "color", label: "Text Color" },
|
|
207
243
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
208
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
244
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
245
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
246
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
247
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
209
248
|
}
|
|
210
249
|
},
|
|
211
250
|
FAQ: {
|
|
@@ -217,7 +256,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
217
256
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
218
257
|
textColor: "rgba(var(--text-color), 1)",
|
|
219
258
|
spacing: "normal",
|
|
220
|
-
radius: "rounded"
|
|
259
|
+
radius: "rounded",
|
|
260
|
+
textDirection: "ltr",
|
|
261
|
+
contentWidth: "narrow",
|
|
262
|
+
textSize: "md"
|
|
221
263
|
},
|
|
222
264
|
fields: {
|
|
223
265
|
title: { type: "text", label: "Title", i18n: true },
|
|
@@ -228,7 +270,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
228
270
|
bgColor: { type: "color", label: "Background" },
|
|
229
271
|
textColor: { type: "color", label: "Text Color" },
|
|
230
272
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
231
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
273
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
274
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
275
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
276
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
232
277
|
}
|
|
233
278
|
},
|
|
234
279
|
Process: {
|
|
@@ -244,7 +289,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
244
289
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
245
290
|
textColor: "rgba(var(--text-color), 1)",
|
|
246
291
|
spacing: "normal",
|
|
247
|
-
radius: "rounded"
|
|
292
|
+
radius: "rounded",
|
|
293
|
+
textDirection: "ltr",
|
|
294
|
+
contentWidth: "normal",
|
|
295
|
+
textSize: "md"
|
|
248
296
|
},
|
|
249
297
|
fields: {
|
|
250
298
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -266,7 +314,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
266
314
|
bgColor: { type: "color", label: "Background" },
|
|
267
315
|
textColor: { type: "color", label: "Text Color" },
|
|
268
316
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
269
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
317
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
318
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
319
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
320
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
270
321
|
}
|
|
271
322
|
},
|
|
272
323
|
Testimonials: {
|
|
@@ -282,7 +333,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
282
333
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
283
334
|
textColor: "rgba(var(--text-color), 1)",
|
|
284
335
|
spacing: "normal",
|
|
285
|
-
radius: "rounded"
|
|
336
|
+
radius: "rounded",
|
|
337
|
+
textDirection: "ltr",
|
|
338
|
+
contentWidth: "normal",
|
|
339
|
+
textSize: "md"
|
|
286
340
|
},
|
|
287
341
|
fields: {
|
|
288
342
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -306,7 +360,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
306
360
|
bgColor: { type: "color", label: "Background" },
|
|
307
361
|
textColor: { type: "color", label: "Text Color" },
|
|
308
362
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
309
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
363
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
364
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
365
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
366
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
310
367
|
}
|
|
311
368
|
},
|
|
312
369
|
Pricing: {
|
|
@@ -322,7 +379,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
322
379
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
323
380
|
textColor: "rgba(var(--text-color), 1)",
|
|
324
381
|
spacing: "normal",
|
|
325
|
-
radius: "rounded"
|
|
382
|
+
radius: "rounded",
|
|
383
|
+
textDirection: "ltr",
|
|
384
|
+
contentWidth: "normal",
|
|
385
|
+
textSize: "md"
|
|
326
386
|
},
|
|
327
387
|
fields: {
|
|
328
388
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -346,7 +406,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
346
406
|
bgColor: { type: "color", label: "Background" },
|
|
347
407
|
textColor: { type: "color", label: "Text Color" },
|
|
348
408
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
349
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
409
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
410
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
411
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
412
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
350
413
|
}
|
|
351
414
|
},
|
|
352
415
|
ContactForm: {
|
|
@@ -361,7 +424,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
361
424
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
362
425
|
textColor: "rgba(var(--text-color), 1)",
|
|
363
426
|
spacing: "normal",
|
|
364
|
-
radius: "rounded"
|
|
427
|
+
radius: "rounded",
|
|
428
|
+
textDirection: "ltr",
|
|
429
|
+
contentWidth: "normal",
|
|
430
|
+
textSize: "md"
|
|
365
431
|
},
|
|
366
432
|
fields: {
|
|
367
433
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -376,7 +442,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
376
442
|
bgColor: { type: "color", label: "Background" },
|
|
377
443
|
textColor: { type: "color", label: "Text Color" },
|
|
378
444
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
379
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
445
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
446
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
447
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
448
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
380
449
|
}
|
|
381
450
|
},
|
|
382
451
|
// ── Blog sections ─────────────────────────────────────────────────────────
|
|
@@ -397,7 +466,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
397
466
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
398
467
|
textColor: "rgba(var(--text-color), 1)",
|
|
399
468
|
spacing: "normal",
|
|
400
|
-
radius: "rounded"
|
|
469
|
+
radius: "rounded",
|
|
470
|
+
textDirection: "ltr",
|
|
471
|
+
contentWidth: "narrow",
|
|
472
|
+
textSize: "md"
|
|
401
473
|
},
|
|
402
474
|
fields: {
|
|
403
475
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -417,7 +489,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
417
489
|
bgColor: { type: "color", label: "Background" },
|
|
418
490
|
textColor: { type: "color", label: "Text Color" },
|
|
419
491
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
420
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
492
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
493
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
494
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
495
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
421
496
|
}
|
|
422
497
|
},
|
|
423
498
|
RichText: {
|
|
@@ -432,7 +507,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
432
507
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
433
508
|
textColor: "rgba(var(--text-color), 1)",
|
|
434
509
|
spacing: "normal",
|
|
435
|
-
radius: "rounded"
|
|
510
|
+
radius: "rounded",
|
|
511
|
+
textDirection: "ltr",
|
|
512
|
+
contentWidth: "normal",
|
|
513
|
+
textSize: "md"
|
|
436
514
|
},
|
|
437
515
|
fields: {
|
|
438
516
|
layout: { type: "cards", label: "Width", options: [
|
|
@@ -449,7 +527,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
449
527
|
} },
|
|
450
528
|
bgColor: { type: "color", label: "Background" },
|
|
451
529
|
textColor: { type: "color", label: "Text Color" },
|
|
452
|
-
spacing: { type: "cards", label: "Espacement", options: spacingOptions }
|
|
530
|
+
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
531
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
532
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
533
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
453
534
|
}
|
|
454
535
|
},
|
|
455
536
|
CallToAction: {
|
|
@@ -467,7 +548,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
467
548
|
bgColor: "rgba(var(--primary-color), 1)",
|
|
468
549
|
textColor: "rgba(var(--body-bg), 1)",
|
|
469
550
|
spacing: "normal",
|
|
470
|
-
radius: "rounded"
|
|
551
|
+
radius: "rounded",
|
|
552
|
+
textDirection: "ltr",
|
|
553
|
+
contentWidth: "normal",
|
|
554
|
+
textSize: "md"
|
|
471
555
|
},
|
|
472
556
|
fields: {
|
|
473
557
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -485,7 +569,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
485
569
|
bgColor: { type: "color", label: "Background" },
|
|
486
570
|
textColor: { type: "color", label: "Text Color" },
|
|
487
571
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
488
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
572
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
573
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
574
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
575
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
489
576
|
}
|
|
490
577
|
},
|
|
491
578
|
Quote: {
|
|
@@ -499,7 +586,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
499
586
|
avatar: "",
|
|
500
587
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
501
588
|
textColor: "rgba(var(--text-color), 1)",
|
|
502
|
-
spacing: "normal"
|
|
589
|
+
spacing: "normal",
|
|
590
|
+
textDirection: "ltr",
|
|
591
|
+
contentWidth: "narrow",
|
|
592
|
+
textSize: "md"
|
|
503
593
|
},
|
|
504
594
|
fields: {
|
|
505
595
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -513,7 +603,151 @@ export const DEFAULT_SECTIONS = {
|
|
|
513
603
|
avatar: { type: "image", label: "Author photo" },
|
|
514
604
|
bgColor: { type: "color", label: "Background" },
|
|
515
605
|
textColor: { type: "color", label: "Text Color" },
|
|
516
|
-
spacing: { type: "cards", label: "Espacement", options: spacingOptions }
|
|
606
|
+
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
607
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
608
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
609
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
DataTable: {
|
|
613
|
+
label: "Data Table",
|
|
614
|
+
icon: "table",
|
|
615
|
+
defaultProps: {
|
|
616
|
+
layout: "default",
|
|
617
|
+
titleTag: "h2",
|
|
618
|
+
badge: i18n0(),
|
|
619
|
+
title: i18n0(""),
|
|
620
|
+
description: i18n0(),
|
|
621
|
+
caption: "",
|
|
622
|
+
searchable: false,
|
|
623
|
+
sortable: true,
|
|
624
|
+
stickyHeader: false,
|
|
625
|
+
perPage: 0,
|
|
626
|
+
cardColumns: "auto",
|
|
627
|
+
columns: [
|
|
628
|
+
{ label: "Name", align: "left", badge: false },
|
|
629
|
+
{ label: "Role", align: "left", badge: false },
|
|
630
|
+
{ label: "Department", align: "left", badge: false },
|
|
631
|
+
{ label: "Status", align: "left", badge: true }
|
|
632
|
+
],
|
|
633
|
+
rows: [
|
|
634
|
+
{ cells: "Alice Martin | Lead Designer | Product | Active" },
|
|
635
|
+
{ cells: "Bob Chen | Senior Developer | Engineering | Active" },
|
|
636
|
+
{ cells: "Clara Dumont | Product Manager | Product | On leave" },
|
|
637
|
+
{ cells: "David Kim | UX Researcher | Design | Active" },
|
|
638
|
+
{ cells: "Emma Laurent | DevOps Engineer | Engineering | Active" },
|
|
639
|
+
{ cells: "F\xE9lix Moreau | Data Analyst | Analytics | Active" }
|
|
640
|
+
],
|
|
641
|
+
bgColor: "rgba(var(--body-bg), 1)",
|
|
642
|
+
textColor: "rgba(var(--text-color), 1)",
|
|
643
|
+
spacing: "normal",
|
|
644
|
+
radius: "rounded",
|
|
645
|
+
textDirection: "ltr",
|
|
646
|
+
contentWidth: "normal",
|
|
647
|
+
textSize: "md"
|
|
648
|
+
},
|
|
649
|
+
fields: {
|
|
650
|
+
layout: { type: "cards", label: "Layout", options: [
|
|
651
|
+
{ value: "default", label: "Default", icon: "\u229E" },
|
|
652
|
+
{ value: "striped", label: "Striped", icon: "\u25A4" },
|
|
653
|
+
{ value: "minimal", label: "Minimal", icon: "\u2014" },
|
|
654
|
+
{ value: "cards", label: "Cards", icon: "\u25A6" }
|
|
655
|
+
] },
|
|
656
|
+
titleTag: { type: "select", label: "SEO Tag", options: tagOptions },
|
|
657
|
+
badge: { type: "text", label: "Badge", i18n: true },
|
|
658
|
+
title: { type: "text", label: "Title", i18n: true },
|
|
659
|
+
description: { type: "textarea", label: "Description", i18n: true },
|
|
660
|
+
caption: { type: "text", label: "Caption (accessibility)" },
|
|
661
|
+
searchable: { type: "select", label: "Search bar", options: [{ value: false, label: "Hidden" }, { value: true, label: "Visible" }] },
|
|
662
|
+
sortable: { type: "select", label: "Sortable columns", options: [{ value: false, label: "No" }, { value: true, label: "Yes" }] },
|
|
663
|
+
stickyHeader: { type: "select", label: "Sticky header", options: [{ value: false, label: "No" }, { value: true, label: "Yes" }] },
|
|
664
|
+
perPage: { type: "text", label: "Rows per page (0 = all)" },
|
|
665
|
+
cardColumns: { type: "cards", label: "Card columns", options: [
|
|
666
|
+
{ value: "auto", label: "Auto", icon: "\u25E7" },
|
|
667
|
+
{ value: "1", label: "1", icon: "\u258F" },
|
|
668
|
+
{ value: "2", label: "2", icon: "\u25E7" },
|
|
669
|
+
{ value: "4", label: "4", icon: "\u25A6" }
|
|
670
|
+
] },
|
|
671
|
+
columns: { type: "list", label: "Columns", itemFields: {
|
|
672
|
+
label: { type: "text", label: "Column label" },
|
|
673
|
+
align: { type: "cards", label: "Align", options: [
|
|
674
|
+
{ value: "left", label: "Left", icon: "\u25C1" },
|
|
675
|
+
{ value: "center", label: "Center", icon: "\u25C9" },
|
|
676
|
+
{ value: "right", label: "Right", icon: "\u25B7" }
|
|
677
|
+
] },
|
|
678
|
+
badge: { type: "select", label: "Badge style", options: [{ value: false, label: "Plain text" }, { value: true, label: "Badge pill" }] }
|
|
679
|
+
} },
|
|
680
|
+
rows: { type: "list", label: "Rows", itemFields: {
|
|
681
|
+
cells: { type: "textarea", label: "Cells (separate values with |)" }
|
|
682
|
+
} },
|
|
683
|
+
bgColor: { type: "color", label: "Background" },
|
|
684
|
+
textColor: { type: "color", label: "Text Color" },
|
|
685
|
+
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
686
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
687
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
688
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
689
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
Comparison: {
|
|
693
|
+
label: "Comparison",
|
|
694
|
+
icon: "compare",
|
|
695
|
+
defaultProps: {
|
|
696
|
+
layout: "cards",
|
|
697
|
+
headerAlign: "center",
|
|
698
|
+
titleTag: "h2",
|
|
699
|
+
badge: i18n0(),
|
|
700
|
+
title: i18n0("Compare Plans"),
|
|
701
|
+
description: i18n0(),
|
|
702
|
+
rowsLabel: "Features",
|
|
703
|
+
rows: "Projects\nStorage\nSupport\nAPI Access\nCustom Domain",
|
|
704
|
+
plans: [
|
|
705
|
+
{ name: "Starter", badge: "", price: "$0", priceUnit: "/mo", description: "Perfect for individuals and small projects.", highlighted: false, ctaText: "Get started", ctaLink: "#", features: "3 projects\n1 GB storage\nCommunity support\n\u2717 API access\n\u2717 Custom domain" },
|
|
706
|
+
{ name: "Pro", badge: "Popular", price: "$29", priceUnit: "/mo", description: "Everything you need to scale your business.", highlighted: true, ctaText: "Start free trial", ctaLink: "#", features: "Unlimited projects\n50 GB storage\nPriority support\n\u2713 API access\n\u2713 Custom domain" },
|
|
707
|
+
{ name: "Enterprise", badge: "", price: "$99", priceUnit: "/mo", description: "Advanced features for large organizations.", highlighted: false, ctaText: "Contact sales", ctaLink: "#", features: "Unlimited projects\nUnlimited storage\nDedicated support\n\u2713 API access\n\u2713 Custom domain" }
|
|
708
|
+
],
|
|
709
|
+
bgColor: "rgba(var(--body-bg), 1)",
|
|
710
|
+
textColor: "rgba(var(--text-color), 1)",
|
|
711
|
+
spacing: "normal",
|
|
712
|
+
radius: "rounded",
|
|
713
|
+
textDirection: "ltr",
|
|
714
|
+
contentWidth: "normal",
|
|
715
|
+
textSize: "md"
|
|
716
|
+
},
|
|
717
|
+
fields: {
|
|
718
|
+
layout: { type: "cards", label: "Layout", options: [
|
|
719
|
+
{ value: "cards", label: "Cards", icon: "\u25A4" },
|
|
720
|
+
{ value: "table", label: "Table", icon: "\u229E" },
|
|
721
|
+
{ value: "versus", label: "Versus", icon: "\u25E7" }
|
|
722
|
+
] },
|
|
723
|
+
headerAlign: { type: "cards", label: "Header align", options: [
|
|
724
|
+
{ value: "left", label: "Left", icon: "\u25C1" },
|
|
725
|
+
{ value: "center", label: "Center", icon: "\u25C9" }
|
|
726
|
+
] },
|
|
727
|
+
titleTag: { type: "select", label: "SEO Tag", options: tagOptions },
|
|
728
|
+
badge: { type: "text", label: "Badge", i18n: true },
|
|
729
|
+
title: { type: "text", label: "Title", i18n: true },
|
|
730
|
+
description: { type: "textarea", label: "Description", i18n: true },
|
|
731
|
+
rowsLabel: { type: "text", label: "Rows label (table layout)" },
|
|
732
|
+
rows: { type: "textarea", label: "Feature rows (one per line, table layout)" },
|
|
733
|
+
plans: { type: "list", label: "Plans / Options", itemFields: {
|
|
734
|
+
name: { type: "text", label: "Plan name" },
|
|
735
|
+
badge: { type: "text", label: "Badge (e.g. Popular)" },
|
|
736
|
+
price: { type: "text", label: "Price (e.g. $29)" },
|
|
737
|
+
priceUnit: { type: "text", label: "Unit (e.g. /month)" },
|
|
738
|
+
description: { type: "textarea", label: "Short description" },
|
|
739
|
+
highlighted: { type: "select", label: "Highlighted?", options: [{ value: false, label: "No" }, { value: true, label: "Yes" }] },
|
|
740
|
+
ctaText: { type: "text", label: "Button text" },
|
|
741
|
+
ctaLink: { type: "text", label: "Button URL" },
|
|
742
|
+
features: { type: "textarea", label: "Features (one per line \u2014 prefix \u2713 = included, \u2717 = excluded)" }
|
|
743
|
+
} },
|
|
744
|
+
bgColor: { type: "color", label: "Background" },
|
|
745
|
+
textColor: { type: "color", label: "Text Color" },
|
|
746
|
+
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
747
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
748
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
749
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
750
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
517
751
|
}
|
|
518
752
|
},
|
|
519
753
|
Newsletter: {
|
|
@@ -530,7 +764,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
530
764
|
bgColor: "rgba(var(--body-bg), 1)",
|
|
531
765
|
textColor: "rgba(var(--text-color), 1)",
|
|
532
766
|
spacing: "normal",
|
|
533
|
-
radius: "rounded"
|
|
767
|
+
radius: "rounded",
|
|
768
|
+
textDirection: "ltr",
|
|
769
|
+
contentWidth: "normal",
|
|
770
|
+
textSize: "md"
|
|
534
771
|
},
|
|
535
772
|
fields: {
|
|
536
773
|
layout: { type: "cards", label: "Layout", options: [
|
|
@@ -547,7 +784,10 @@ export const DEFAULT_SECTIONS = {
|
|
|
547
784
|
bgColor: { type: "color", label: "Background" },
|
|
548
785
|
textColor: { type: "color", label: "Text Color" },
|
|
549
786
|
spacing: { type: "cards", label: "Espacement", options: spacingOptions },
|
|
550
|
-
radius: { type: "cards", label: "Arrondis", options: radiusOptions }
|
|
787
|
+
radius: { type: "cards", label: "Arrondis", options: radiusOptions },
|
|
788
|
+
textDirection: { type: "cards", label: "Direction", options: directionOptions },
|
|
789
|
+
contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
|
|
790
|
+
textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
|
|
551
791
|
}
|
|
552
792
|
}
|
|
553
793
|
};
|