@woodylab/payload 0.0.22 → 0.0.24

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 (80) hide show
  1. package/dist/acl/hasRoles.d.ts +8 -0
  2. package/dist/acl/index.cjs.js +8 -0
  3. package/dist/acl/index.cjs.js.map +1 -0
  4. package/dist/acl/index.d.ts +1 -0
  5. package/dist/acl/index.esm.js +2 -0
  6. package/dist/acl/index.esm.js.map +1 -0
  7. package/dist/config/index.cjs.js +4 -2
  8. package/dist/config/index.cjs.js.map +1 -1
  9. package/dist/config/index.esm.js +4 -2
  10. package/dist/config/index.esm.js.map +1 -1
  11. package/dist/enum/index.cjs.js +13 -0
  12. package/dist/enum/index.cjs.js.map +1 -0
  13. package/dist/enum/index.d.ts +1 -0
  14. package/dist/enum/index.esm.js +11 -0
  15. package/dist/enum/index.esm.js.map +1 -0
  16. package/dist/enum/userRoles.d.ts +7 -0
  17. package/dist/{fieldRoles-ByWB8j1Q.js → fieldSectionTabs-CmJ7R1Tc.js} +7 -683
  18. package/dist/fieldSectionTabs-CmJ7R1Tc.js.map +1 -0
  19. package/dist/fieldSectionTabs-s69lAc-N.js +950 -0
  20. package/dist/fieldSectionTabs-s69lAc-N.js.map +1 -0
  21. package/dist/fields/fieldArray.d.ts +1 -1
  22. package/dist/fields/fieldBlocks.d.ts +1 -1
  23. package/dist/fields/fieldCheckbox.d.ts +1 -1
  24. package/dist/fields/fieldCode.d.ts +1 -1
  25. package/dist/fields/fieldDate.d.ts +1 -1
  26. package/dist/fields/fieldEmail.d.ts +1 -1
  27. package/dist/fields/fieldJoin.d.ts +1 -1
  28. package/dist/fields/fieldNumber.d.ts +1 -1
  29. package/dist/fields/fieldPoint.d.ts +1 -1
  30. package/dist/fields/fieldRadioGroup.d.ts +1 -1
  31. package/dist/fields/fieldRelationship.d.ts +1 -1
  32. package/dist/fields/fieldRichText.d.ts +1 -1
  33. package/dist/fields/fieldSelect.d.ts +1 -1
  34. package/dist/fields/fieldText.d.ts +1 -1
  35. package/dist/fields/fieldTextArea.d.ts +1 -1
  36. package/dist/fields/fieldUpload.d.ts +1 -1
  37. package/dist/fields/index.cjs.js +25 -23
  38. package/dist/fields/index.cjs.js.map +1 -1
  39. package/dist/fields/index.d.ts +1 -1
  40. package/dist/fields/index.esm.js +4 -2
  41. package/dist/fields/index.esm.js.map +1 -1
  42. package/dist/fields/style/fieldColor.d.ts +2 -2
  43. package/dist/fields/utils/fieldRoles.d.ts +1 -7
  44. package/dist/index-5EL7OntE.js +645 -0
  45. package/dist/index-5EL7OntE.js.map +1 -0
  46. package/dist/index-BYL-buJk.js +26 -0
  47. package/dist/index-BYL-buJk.js.map +1 -0
  48. package/dist/index-CKYq103o.js +23 -0
  49. package/dist/index-CKYq103o.js.map +1 -0
  50. package/dist/{index-D0uU9RKm.js → index-CzSUe6uQ.js} +97 -95
  51. package/dist/{index-D0uU9RKm.js.map → index-CzSUe6uQ.js.map} +1 -1
  52. package/dist/{index-DUzSwmzd.js → index-DRoXkWCo.js} +4 -2
  53. package/dist/{index-DUzSwmzd.js.map → index-DRoXkWCo.js.map} +1 -1
  54. package/dist/index-DgYntBlB.js +675 -0
  55. package/dist/index-DgYntBlB.js.map +1 -0
  56. package/dist/{index-DhejC-CC.js → index-GtvmxNMr.js} +56 -28
  57. package/dist/index-GtvmxNMr.js.map +1 -0
  58. package/dist/{index-DwDOFamE.js → index-RnBYvX_q.js} +33 -6
  59. package/dist/index-RnBYvX_q.js.map +1 -0
  60. package/dist/index.cjs.js +9 -5
  61. package/dist/index.cjs.js.map +1 -1
  62. package/dist/index.d.ts +1 -0
  63. package/dist/index.esm.js +6 -3
  64. package/dist/index.esm.js.map +1 -1
  65. package/dist/tailwind/index.cjs.js +35 -0
  66. package/dist/tailwind/index.cjs.js.map +1 -0
  67. package/dist/tailwind/index.esm.js +2 -0
  68. package/dist/tailwind/index.esm.js.map +1 -0
  69. package/dist/{fields/types → types}/fieldOverride.d.ts +3 -6
  70. package/dist/types/index.cjs.js +3 -0
  71. package/dist/types/index.cjs.js.map +1 -0
  72. package/dist/types/index.d.ts +1 -0
  73. package/dist/types/index.esm.js +2 -0
  74. package/dist/types/index.esm.js.map +1 -0
  75. package/package.json +1 -1
  76. package/dist/fieldRoles-ByWB8j1Q.js.map +0 -1
  77. package/dist/fieldRoles-CJKOMPeo.js +0 -1623
  78. package/dist/fieldRoles-CJKOMPeo.js.map +0 -1
  79. package/dist/index-DhejC-CC.js.map +0 -1
  80. package/dist/index-DwDOFamE.js.map +0 -1
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ var tailwind_index = require('./index-DgYntBlB.js');
4
+
3
5
  const fieldText = (override) => ({
4
6
  name: 'text',
5
7
  label: 'Text',
@@ -72,650 +74,7 @@ const fieldSelect = (override) => ({
72
74
  type: 'select',
73
75
  required: false,
74
76
  hasMany: false,
75
- ...override
76
- });
77
-
78
- /**
79
- * Costante che definisce le varianti di larghezza del container come classi Tailwind
80
- */
81
- const TailwindContainerWidths = [
82
- 'container',
83
- 'container-sm',
84
- 'container-md',
85
- 'container-lg',
86
- 'container-xl',
87
- 'container-2xl',
88
- ];
89
- /**
90
- * Costante che contiene tutte le varianti di altezza relativa alla viewport
91
- */
92
- const TailwindViewportHeights = [
93
- 'screen',
94
- '1/5-vh',
95
- '1/4-vh',
96
- '1/3-vh',
97
- '2/5-vh',
98
- '1/2-vh',
99
- '3/5-vh',
100
- '2/3-vh',
101
- '3/4-vh',
102
- '4/5-vh',
103
- ];
104
- /**
105
- * Costante che contiene tutte le varianti "h-" per altezza globale, incluse le altre classi layout per le altezze
106
- */
107
- const TailwindHeights = [
108
- // Classi dinamiche
109
- 'auto', // Altezza automatica
110
- 'min', // Altezza minima (adatta al contenuto minimo)
111
- 'max', // Altezza massima (adatta al contenuto massimo)
112
- 'fit', // Altezza si adatta al contenuto
113
- 'full', // Altezza piena (100% del contenitore genitore)
114
- // Altezza proporzionale
115
- '1/2', // 50% dell'altezza disponibile
116
- '1/3', // 33.333% dell'altezza disponibile
117
- '2/3', // 66.666% dell'altezza disponibile
118
- '1/4', // 25% dell'altezza disponibile
119
- '3/4', // 75% dell'altezza disponibile
120
- // Varianti numeriche da 1 a 96
121
- '1', '2', '3', '4', '5', '6', '7', '8', '9', '10',
122
- '11', '12', '13', '14', '15', '16', '17', '18', '19', '20',
123
- '21', '22', '23', '24', '25', '26', '27', '28', '29', '30',
124
- '31', '32', '33', '34', '35', '36', '37', '38', '39', '40',
125
- '41', '42', '43', '44', '45', '46', '47', '48', '49', '50',
126
- '51', '52', '53', '54', '55', '56', '57', '58', '59', '60',
127
- '61', '62', '63', '64', '65', '66', '67', '68', '69', '70',
128
- '71', '72', '73', '74', '75', '76', '77', '78', '79', '80',
129
- '81', '82', '83', '84', '85', '86', '87', '88', '89', '90',
130
- '91', '92', '93', '94', '95', '96'
131
- ];
132
- /**
133
- * Costante che contiene tutte le varianti "m-" mer madding globale, fino a 96
134
- */
135
- const TailwindMargins = [
136
- 'm-1', 'm-2', 'm-3', 'm-4', 'm-5', 'm-6', 'm-7', 'm-8', 'm-9', 'm-10',
137
- 'm-11', 'm-12', 'm-13', 'm-14', 'm-15', 'm-16', 'm-17', 'm-18', 'm-19', 'm-20',
138
- 'm-21', 'm-22', 'm-23', 'm-24', 'm-25', 'm-26', 'm-27', 'm-28', 'm-29', 'm-30',
139
- 'm-31', 'm-32', 'm-33', 'm-34', 'm-35', 'm-36', 'm-37', 'm-38', 'm-39', 'm-40',
140
- 'm-41', 'm-42', 'm-43', 'm-44', 'm-45', 'm-46', 'm-47', 'm-48', 'm-49', 'm-50',
141
- 'm-51', 'm-52', 'm-53', 'm-54', 'm-55', 'm-56', 'm-57', 'm-58', 'm-59', 'm-60',
142
- 'm-61', 'm-62', 'm-63', 'm-64', 'm-65', 'm-66', 'm-67', 'm-68', 'm-69', 'm-70',
143
- 'm-71', 'm-72', 'm-73', 'm-74', 'm-75', 'm-76', 'm-77', 'm-78', 'm-79', 'm-80',
144
- 'm-81', 'm-82', 'm-83', 'm-84', 'm-85', 'm-86', 'm-87', 'm-88', 'm-89', 'm-90',
145
- 'm-91', 'm-92', 'm-93', 'm-94', 'm-95', 'm-96',
146
- // Varianti negative
147
- '-m-1', '-m-2', '-m-3', '-m-4', '-m-5', '-m-6', '-m-7', '-m-8', '-m-9', '-m-10',
148
- '-m-11', '-m-12', '-m-13', '-m-14', '-m-15', '-m-16', '-m-17', '-m-18', '-m-19', '-m-20',
149
- '-m-21', '-m-22', '-m-23', '-m-24', '-m-25', '-m-26', '-m-27', '-m-28', '-m-29', '-m-30',
150
- '-m-31', '-m-32', '-m-33', '-m-34', '-m-35', '-m-36', '-m-37', '-m-38', '-m-39', '-m-40',
151
- '-m-41', '-m-42', '-m-43', '-m-44', '-m-45', '-m-46', '-m-47', '-m-48', '-m-49', '-m-50',
152
- '-m-51', '-m-52', '-m-53', '-m-54', '-m-55', '-m-56', '-m-57', '-m-58', '-m-59', '-m-60',
153
- '-m-61', '-m-62', '-m-63', '-m-64', '-m-65', '-m-66', '-m-67', '-m-68', '-m-69', '-m-70',
154
- '-m-71', '-m-72', '-m-73', '-m-74', '-m-75', '-m-76', '-m-77', '-m-78', '-m-79', '-m-80',
155
- '-m-81', '-m-82', '-m-83', '-m-84', '-m-85', '-m-86', '-m-87', '-m-88', '-m-89', '-m-90',
156
- '-m-91', '-m-92', '-m-93', '-m-94', '-m-95', '-m-96',
157
- ];
158
- /**
159
- * Costante che contiene tutte le varianti "mx-" mer madding orizzontale, fino a 96
160
- */
161
- const TailwindMargins_X = [
162
- // Varianti positive
163
- 'mx-1', 'mx-2', 'mx-3', 'mx-4', 'mx-5', 'mx-6', 'mx-7', 'mx-8', 'mx-9', 'mx-10',
164
- 'mx-11', 'mx-12', 'mx-13', 'mx-14', 'mx-15', 'mx-16', 'mx-17', 'mx-18', 'mx-19', 'mx-20',
165
- 'mx-21', 'mx-22', 'mx-23', 'mx-24', 'mx-25', 'mx-26', 'mx-27', 'mx-28', 'mx-29', 'mx-30',
166
- 'mx-31', 'mx-32', 'mx-33', 'mx-34', 'mx-35', 'mx-36', 'mx-37', 'mx-38', 'mx-39', 'mx-40',
167
- 'mx-41', 'mx-42', 'mx-43', 'mx-44', 'mx-45', 'mx-46', 'mx-47', 'mx-48', 'mx-49', 'mx-50',
168
- 'mx-51', 'mx-52', 'mx-53', 'mx-54', 'mx-55', 'mx-56', 'mx-57', 'mx-58', 'mx-59', 'mx-60',
169
- 'mx-61', 'mx-62', 'mx-63', 'mx-64', 'mx-65', 'mx-66', 'mx-67', 'mx-68', 'mx-69', 'mx-70',
170
- 'mx-71', 'mx-72', 'mx-73', 'mx-74', 'mx-75', 'mx-76', 'mx-77', 'mx-78', 'mx-79', 'mx-80',
171
- 'mx-81', 'mx-82', 'mx-83', 'mx-84', 'mx-85', 'mx-86', 'mx-87', 'mx-88', 'mx-89', 'mx-90',
172
- 'mx-91', 'mx-92', 'mx-93', 'mx-94', 'mx-95', 'mx-96',
173
- // Varianti negative
174
- '-mx-1', '-mx-2', '-mx-3', '-mx-4', '-mx-5', '-mx-6', '-mx-7', '-mx-8', '-mx-9', '-mx-10',
175
- '-mx-11', '-mx-12', '-mx-13', '-mx-14', '-mx-15', '-mx-16', '-mx-17', '-mx-18', '-mx-19', '-mx-20',
176
- '-mx-21', '-mx-22', '-mx-23', '-mx-24', '-mx-25', '-mx-26', '-mx-27', '-mx-28', '-mx-29', '-mx-30',
177
- '-mx-31', '-mx-32', '-mx-33', '-mx-34', '-mx-35', '-mx-36', '-mx-37', '-mx-38', '-mx-39', '-mx-40',
178
- '-mx-41', '-mx-42', '-mx-43', '-mx-44', '-mx-45', '-mx-46', '-mx-47', '-mx-48', '-mx-49', '-mx-50',
179
- '-mx-51', '-mx-52', '-mx-53', '-mx-54', '-mx-55', '-mx-56', '-mx-57', '-mx-58', '-mx-59', '-mx-60',
180
- '-mx-61', '-mx-62', '-mx-63', '-mx-64', '-mx-65', '-mx-66', '-mx-67', '-mx-68', '-mx-69', '-mx-70',
181
- '-mx-71', '-mx-72', '-mx-73', '-mx-74', '-mx-75', '-mx-76', '-mx-77', '-mx-78', '-mx-79', '-mx-80',
182
- '-mx-81', '-mx-82', '-mx-83', '-mx-84', '-mx-85', '-mx-86', '-mx-87', '-mx-88', '-mx-89', '-mx-90',
183
- '-mx-91', '-mx-92', '-mx-93', '-mx-94', '-mx-95', '-mx-96',
184
- ];
185
- /**
186
- * Costante che contiene tutte le varianti "my-" mer madding verticale, fino a 96
187
- */
188
- const TailwindMargins_Y = [
189
- // Varianti positive
190
- 'my-1', 'my-2', 'my-3', 'my-4', 'my-5', 'my-6', 'my-7', 'my-8', 'my-9', 'my-10',
191
- 'my-11', 'my-12', 'my-13', 'my-14', 'my-15', 'my-16', 'my-17', 'my-18', 'my-19', 'my-20',
192
- 'my-21', 'my-22', 'my-23', 'my-24', 'my-25', 'my-26', 'my-27', 'my-28', 'my-29', 'my-30',
193
- 'my-31', 'my-32', 'my-33', 'my-34', 'my-35', 'my-36', 'my-37', 'my-38', 'my-39', 'my-40',
194
- 'my-41', 'my-42', 'my-43', 'my-44', 'my-45', 'my-46', 'my-47', 'my-48', 'my-49', 'my-50',
195
- 'my-51', 'my-52', 'my-53', 'my-54', 'my-55', 'my-56', 'my-57', 'my-58', 'my-59', 'my-60',
196
- 'my-61', 'my-62', 'my-63', 'my-64', 'my-65', 'my-66', 'my-67', 'my-68', 'my-69', 'my-70',
197
- 'my-71', 'my-72', 'my-73', 'my-74', 'my-75', 'my-76', 'my-77', 'my-78', 'my-79', 'my-80',
198
- 'my-81', 'my-82', 'my-83', 'my-84', 'my-85', 'my-86', 'my-87', 'my-88', 'my-89', 'my-90',
199
- 'my-91', 'my-92', 'my-93', 'my-94', 'my-95', 'my-96',
200
- // Varianti negative
201
- '-my-1', '-my-2', '-my-3', '-my-4', '-my-5', '-my-6', '-my-7', '-my-8', '-my-9', '-my-10',
202
- '-my-11', '-my-12', '-my-13', '-my-14', '-my-15', '-my-16', '-my-17', '-my-18', '-my-19', '-my-20',
203
- '-my-21', '-my-22', '-my-23', '-my-24', '-my-25', '-my-26', '-my-27', '-my-28', '-my-29', '-my-30',
204
- '-my-31', '-my-32', '-my-33', '-my-34', '-my-35', '-my-36', '-my-37', '-my-38', '-my-39', '-my-40',
205
- '-my-41', '-my-42', '-my-43', '-my-44', '-my-45', '-my-46', '-my-47', '-my-48', '-my-49', '-my-50',
206
- '-my-51', '-my-52', '-my-53', '-my-54', '-my-55', '-my-56', '-my-57', '-my-58', '-my-59', '-my-60',
207
- '-my-61', '-my-62', '-my-63', '-my-64', '-my-65', '-my-66', '-my-67', '-my-68', '-my-69', '-my-70',
208
- '-my-71', '-my-72', '-my-73', '-my-74', '-my-75', '-my-76', '-my-77', '-my-78', '-my-79', '-my-80',
209
- '-my-81', '-my-82', '-my-83', '-my-84', '-my-85', '-my-86', '-my-87', '-my-88', '-my-89', '-my-90',
210
- '-my-91', '-my-92', '-my-93', '-my-94', '-my-95', '-my-96',
211
- ];
212
- /**
213
- * Costante che contiene tutte le varianti "mt-" mer madding sumeriore, fino a 96
214
- */
215
- const TailwindMargins_T = [
216
- // Varianti positive
217
- 'mt-1', 'mt-2', 'mt-3', 'mt-4', 'mt-5', 'mt-6', 'mt-7', 'mt-8', 'mt-9', 'mt-10',
218
- 'mt-11', 'mt-12', 'mt-13', 'mt-14', 'mt-15', 'mt-16', 'mt-17', 'mt-18', 'mt-19', 'mt-20',
219
- 'mt-21', 'mt-22', 'mt-23', 'mt-24', 'mt-25', 'mt-26', 'mt-27', 'mt-28', 'mt-29', 'mt-30',
220
- 'mt-31', 'mt-32', 'mt-33', 'mt-34', 'mt-35', 'mt-36', 'mt-37', 'mt-38', 'mt-39', 'mt-40',
221
- 'mt-41', 'mt-42', 'mt-43', 'mt-44', 'mt-45', 'mt-46', 'mt-47', 'mt-48', 'mt-49', 'mt-50',
222
- 'mt-51', 'mt-52', 'mt-53', 'mt-54', 'mt-55', 'mt-56', 'mt-57', 'mt-58', 'mt-59', 'mt-60',
223
- 'mt-61', 'mt-62', 'mt-63', 'mt-64', 'mt-65', 'mt-66', 'mt-67', 'mt-68', 'mt-69', 'mt-70',
224
- 'mt-71', 'mt-72', 'mt-73', 'mt-74', 'mt-75', 'mt-76', 'mt-77', 'mt-78', 'mt-79', 'mt-80',
225
- 'mt-81', 'mt-82', 'mt-83', 'mt-84', 'mt-85', 'mt-86', 'mt-87', 'mt-88', 'mt-89', 'mt-90',
226
- 'mt-91', 'mt-92', 'mt-93', 'mt-94', 'mt-95', 'mt-96',
227
- // Varianti negative
228
- '-mt-1', '-mt-2', '-mt-3', '-mt-4', '-mt-5', '-mt-6', '-mt-7', '-mt-8', '-mt-9', '-mt-10',
229
- '-mt-11', '-mt-12', '-mt-13', '-mt-14', '-mt-15', '-mt-16', '-mt-17', '-mt-18', '-mt-19', '-mt-20',
230
- '-mt-21', '-mt-22', '-mt-23', '-mt-24', '-mt-25', '-mt-26', '-mt-27', '-mt-28', '-mt-29', '-mt-30',
231
- '-mt-31', '-mt-32', '-mt-33', '-mt-34', '-mt-35', '-mt-36', '-mt-37', '-mt-38', '-mt-39', '-mt-40',
232
- '-mt-41', '-mt-42', '-mt-43', '-mt-44', '-mt-45', '-mt-46', '-mt-47', '-mt-48', '-mt-49', '-mt-50',
233
- '-mt-51', '-mt-52', '-mt-53', '-mt-54', '-mt-55', '-mt-56', '-mt-57', '-mt-58', '-mt-59', '-mt-60',
234
- '-mt-61', '-mt-62', '-mt-63', '-mt-64', '-mt-65', '-mt-66', '-mt-67', '-mt-68', '-mt-69', '-mt-70',
235
- '-mt-71', '-mt-72', '-mt-73', '-mt-74', '-mt-75', '-mt-76', '-mt-77', '-mt-78', '-mt-79', '-mt-80',
236
- '-mt-81', '-mt-82', '-mt-83', '-mt-84', '-mt-85', '-mt-86', '-mt-87', '-mt-88', '-mt-89', '-mt-90',
237
- '-mt-91', '-mt-92', '-mt-93', '-mt-94', '-mt-95', '-mt-96',
238
- ];
239
- /**
240
- * Costante che contiene tutte le varianti "mr-" mer madding a destra, fino a 96
241
- */
242
- const TailwindMargins_R = [
243
- // Varianti positive
244
- 'mr-1', 'mr-2', 'mr-3', 'mr-4', 'mr-5', 'mr-6', 'mr-7', 'mr-8', 'mr-9', 'mr-10',
245
- 'mr-11', 'mr-12', 'mr-13', 'mr-14', 'mr-15', 'mr-16', 'mr-17', 'mr-18', 'mr-19', 'mr-20',
246
- 'mr-21', 'mr-22', 'mr-23', 'mr-24', 'mr-25', 'mr-26', 'mr-27', 'mr-28', 'mr-29', 'mr-30',
247
- 'mr-31', 'mr-32', 'mr-33', 'mr-34', 'mr-35', 'mr-36', 'mr-37', 'mr-38', 'mr-39', 'mr-40',
248
- 'mr-41', 'mr-42', 'mr-43', 'mr-44', 'mr-45', 'mr-46', 'mr-47', 'mr-48', 'mr-49', 'mr-50',
249
- 'mr-51', 'mr-52', 'mr-53', 'mr-54', 'mr-55', 'mr-56', 'mr-57', 'mr-58', 'mr-59', 'mr-60',
250
- 'mr-61', 'mr-62', 'mr-63', 'mr-64', 'mr-65', 'mr-66', 'mr-67', 'mr-68', 'mr-69', 'mr-70',
251
- 'mr-71', 'mr-72', 'mr-73', 'mr-74', 'mr-75', 'mr-76', 'mr-77', 'mr-78', 'mr-79', 'mr-80',
252
- 'mr-81', 'mr-82', 'mr-83', 'mr-84', 'mr-85', 'mr-86', 'mr-87', 'mr-88', 'mr-89', 'mr-90',
253
- 'mr-91', 'mr-92', 'mr-93', 'mr-94', 'mr-95', 'mr-96',
254
- // Varianti negative
255
- '-mr-1', '-mr-2', '-mr-3', '-mr-4', '-mr-5', '-mr-6', '-mr-7', '-mr-8', '-mr-9', '-mr-10',
256
- '-mr-11', '-mr-12', '-mr-13', '-mr-14', '-mr-15', '-mr-16', '-mr-17', '-mr-18', '-mr-19', '-mr-20',
257
- '-mr-21', '-mr-22', '-mr-23', '-mr-24', '-mr-25', '-mr-26', '-mr-27', '-mr-28', '-mr-29', '-mr-30',
258
- '-mr-31', '-mr-32', '-mr-33', '-mr-34', '-mr-35', '-mr-36', '-mr-37', '-mr-38', '-mr-39', '-mr-40',
259
- '-mr-41', '-mr-42', '-mr-43', '-mr-44', '-mr-45', '-mr-46', '-mr-47', '-mr-48', '-mr-49', '-mr-50',
260
- '-mr-51', '-mr-52', '-mr-53', '-mr-54', '-mr-55', '-mr-56', '-mr-57', '-mr-58', '-mr-59', '-mr-60',
261
- '-mr-61', '-mr-62', '-mr-63', '-mr-64', '-mr-65', '-mr-66', '-mr-67', '-mr-68', '-mr-69', '-mr-70',
262
- '-mr-71', '-mr-72', '-mr-73', '-mr-74', '-mr-75', '-mr-76', '-mr-77', '-mr-78', '-mr-79', '-mr-80',
263
- '-mr-81', '-mr-82', '-mr-83', '-mr-84', '-mr-85', '-mr-86', '-mr-87', '-mr-88', '-mr-89', '-mr-90',
264
- '-mr-91', '-mr-92', '-mr-93', '-mr-94', '-mr-95', '-mr-96',
265
- ];
266
- /**
267
- * Costante che contiene tutte le varianti "mb-" mer madding inferiore, fino a 96
268
- */
269
- const TailwindMargins_L = [
270
- // Varianti positive
271
- 'ml-1', 'ml-2', 'ml-3', 'ml-4', 'ml-5', 'ml-6', 'ml-7', 'ml-8', 'ml-9', 'ml-10',
272
- 'ml-11', 'ml-12', 'ml-13', 'ml-14', 'ml-15', 'ml-16', 'ml-17', 'ml-18', 'ml-19', 'ml-20',
273
- 'ml-21', 'ml-22', 'ml-23', 'ml-24', 'ml-25', 'ml-26', 'ml-27', 'ml-28', 'ml-29', 'ml-30',
274
- 'ml-31', 'ml-32', 'ml-33', 'ml-34', 'ml-35', 'ml-36', 'ml-37', 'ml-38', 'ml-39', 'ml-40',
275
- 'ml-41', 'ml-42', 'ml-43', 'ml-44', 'ml-45', 'ml-46', 'ml-47', 'ml-48', 'ml-49', 'ml-50',
276
- 'ml-51', 'ml-52', 'ml-53', 'ml-54', 'ml-55', 'ml-56', 'ml-57', 'ml-58', 'ml-59', 'ml-60',
277
- 'ml-61', 'ml-62', 'ml-63', 'ml-64', 'ml-65', 'ml-66', 'ml-67', 'ml-68', 'ml-69', 'ml-70',
278
- 'ml-71', 'ml-72', 'ml-73', 'ml-74', 'ml-75', 'ml-76', 'ml-77', 'ml-78', 'ml-79', 'ml-80',
279
- 'ml-81', 'ml-82', 'ml-83', 'ml-84', 'ml-85', 'ml-86', 'ml-87', 'ml-88', 'ml-89', 'ml-90',
280
- 'ml-91', 'ml-92', 'ml-93', 'ml-94', 'ml-95', 'ml-96',
281
- // Varianti negative
282
- '-ml-1', '-ml-2', '-ml-3', '-ml-4', '-ml-5', '-ml-6', '-ml-7', '-ml-8', '-ml-9', '-ml-10',
283
- '-ml-11', '-ml-12', '-ml-13', '-ml-14', '-ml-15', '-ml-16', '-ml-17', '-ml-18', '-ml-19', '-ml-20',
284
- '-ml-21', '-ml-22', '-ml-23', '-ml-24', '-ml-25', '-ml-26', '-ml-27', '-ml-28', '-ml-29', '-ml-30',
285
- '-ml-31', '-ml-32', '-ml-33', '-ml-34', '-ml-35', '-ml-36', '-ml-37', '-ml-38', '-ml-39', '-ml-40',
286
- '-ml-41', '-ml-42', '-ml-43', '-ml-44', '-ml-45', '-ml-46', '-ml-47', '-ml-48', '-ml-49', '-ml-50',
287
- '-ml-51', '-ml-52', '-ml-53', '-ml-54', '-ml-55', '-ml-56', '-ml-57', '-ml-58', '-ml-59', '-ml-60',
288
- '-ml-61', '-ml-62', '-ml-63', '-ml-64', '-ml-65', '-ml-66', '-ml-67', '-ml-68', '-ml-69', '-ml-70',
289
- '-ml-71', '-ml-72', '-ml-73', '-ml-74', '-ml-75', '-ml-76', '-ml-77', '-ml-78', '-ml-79', '-ml-80',
290
- '-ml-81', '-ml-82', '-ml-83', '-ml-84', '-ml-85', '-ml-86', '-ml-87', '-ml-88', '-ml-89', '-ml-90',
291
- '-ml-91', '-ml-92', '-ml-93', '-ml-94', '-ml-95', '-ml-96',
292
- ];
293
- const TailwindMargins_B = [
294
- // Varianti positive
295
- 'mb-1', 'mb-2', 'mb-3', 'mb-4', 'mb-5', 'mb-6', 'mb-7', 'mb-8', 'mb-9', 'mb-10',
296
- 'mb-11', 'mb-12', 'mb-13', 'mb-14', 'mb-15', 'mb-16', 'mb-17', 'mb-18', 'mb-19', 'mb-20',
297
- 'mb-21', 'mb-22', 'mb-23', 'mb-24', 'mb-25', 'mb-26', 'mb-27', 'mb-28', 'mb-29', 'mb-30',
298
- 'mb-31', 'mb-32', 'mb-33', 'mb-34', 'mb-35', 'mb-36', 'mb-37', 'mb-38', 'mb-39', 'mb-40',
299
- 'mb-41', 'mb-42', 'mb-43', 'mb-44', 'mb-45', 'mb-46', 'mb-47', 'mb-48', 'mb-49', 'mb-50',
300
- 'mb-51', 'mb-52', 'mb-53', 'mb-54', 'mb-55', 'mb-56', 'mb-57', 'mb-58', 'mb-59', 'mb-60',
301
- 'mb-61', 'mb-62', 'mb-63', 'mb-64', 'mb-65', 'mb-66', 'mb-67', 'mb-68', 'mb-69', 'mb-70',
302
- 'mb-71', 'mb-72', 'mb-73', 'mb-74', 'mb-75', 'mb-76', 'mb-77', 'mb-78', 'mb-79', 'mb-80',
303
- 'mb-81', 'mb-82', 'mb-83', 'mb-84', 'mb-85', 'mb-86', 'mb-87', 'mb-88', 'mb-89', 'mb-90',
304
- 'mb-91', 'mb-92', 'mb-93', 'mb-94', 'mb-95', 'mb-96',
305
- // Varianti negative
306
- '-mb-1', '-mb-2', '-mb-3', '-mb-4', '-mb-5', '-mb-6', '-mb-7', '-mb-8', '-mb-9', '-mb-10',
307
- '-mb-11', '-mb-12', '-mb-13', '-mb-14', '-mb-15', '-mb-16', '-mb-17', '-mb-18', '-mb-19', '-mb-20',
308
- '-mb-21', '-mb-22', '-mb-23', '-mb-24', '-mb-25', '-mb-26', '-mb-27', '-mb-28', '-mb-29', '-mb-30',
309
- '-mb-31', '-mb-32', '-mb-33', '-mb-34', '-mb-35', '-mb-36', '-mb-37', '-mb-38', '-mb-39', '-mb-40',
310
- '-mb-41', '-mb-42', '-mb-43', '-mb-44', '-mb-45', '-mb-46', '-mb-47', '-mb-48', '-mb-49', '-mb-50',
311
- '-mb-51', '-mb-52', '-mb-53', '-mb-54', '-mb-55', '-mb-56', '-mb-57', '-mb-58', '-mb-59', '-mb-60',
312
- '-mb-61', '-mb-62', '-mb-63', '-mb-64', '-mb-65', '-mb-66', '-mb-67', '-mb-68', '-mb-69', '-mb-70',
313
- '-mb-71', '-mb-72', '-mb-73', '-mb-74', '-mb-75', '-mb-76', '-mb-77', '-mb-78', '-mb-79', '-mb-80',
314
- '-mb-81', '-mb-82', '-mb-83', '-mb-84', '-mb-85', '-mb-86', '-mb-87', '-mb-88', '-mb-89', '-mb-90',
315
- '-mb-91', '-mb-92', '-mb-93', '-mb-94', '-mb-95', '-mb-96',
316
- ];
317
- const TailwindMargins_ALL = [
318
- ...TailwindMargins,
319
- ...TailwindMargins_X,
320
- ...TailwindMargins_Y,
321
- ...TailwindMargins_T,
322
- ...TailwindMargins_R,
323
- ...TailwindMargins_L,
324
- ...TailwindMargins_B
325
- ];
326
- /**
327
- * Array di stringhe che rappresentano i multipli di 0.25rem da 0.25rem a 24rem
328
- */
329
- const TailwindMultipliers = [
330
- "0",
331
- "0.25rem",
332
- "0.5rem",
333
- "0.75rem",
334
- "1rem",
335
- "1.25rem",
336
- "1.5rem",
337
- "1.75rem",
338
- "2rem",
339
- "2.25rem",
340
- "2.5rem",
341
- "2.75rem",
342
- "3rem",
343
- "3.25rem",
344
- "3.5rem",
345
- "3.75rem",
346
- "4rem",
347
- "4.25rem",
348
- "4.5rem",
349
- "4.75rem",
350
- "5rem",
351
- "5.25rem",
352
- "5.5rem",
353
- "5.75rem",
354
- "6rem",
355
- "6.25rem",
356
- "6.5rem",
357
- "6.75rem",
358
- "7rem",
359
- "7.25rem",
360
- "7.5rem",
361
- "7.75rem",
362
- "8rem",
363
- "8.25rem",
364
- "8.5rem",
365
- "8.75rem",
366
- "9rem",
367
- "9.25rem",
368
- "9.5rem",
369
- "9.75rem",
370
- "10rem",
371
- "10.25rem",
372
- "10.5rem",
373
- "10.75rem",
374
- "11rem",
375
- "11.25rem",
376
- "11.5rem",
377
- "11.75rem",
378
- "12rem",
379
- "12.25rem",
380
- "12.5rem",
381
- "12.75rem",
382
- "13rem",
383
- "13.25rem",
384
- "13.5rem",
385
- "13.75rem",
386
- "14rem",
387
- "14.25rem",
388
- "14.5rem",
389
- "14.75rem",
390
- "15rem",
391
- "15.25rem",
392
- "15.5rem",
393
- "15.75rem",
394
- "16rem",
395
- "16.25rem",
396
- "16.5rem",
397
- "16.75rem",
398
- "17rem",
399
- "17.25rem",
400
- "17.5rem",
401
- "17.75rem",
402
- "18rem",
403
- "18.25rem",
404
- "18.5rem",
405
- "18.75rem",
406
- "19rem",
407
- "19.25rem",
408
- "19.5rem",
409
- "19.75rem",
410
- "20rem",
411
- "20.25rem",
412
- "20.5rem",
413
- "20.75rem",
414
- "21rem",
415
- "21.25rem",
416
- "21.5rem",
417
- "21.75rem",
418
- "22rem",
419
- "22.25rem",
420
- "22.5rem",
421
- "22.75rem",
422
- "23rem",
423
- "23.25rem",
424
- "23.5rem",
425
- "23.75rem",
426
- "24rem"
427
- ];
428
- const TailwindViewportHeightMultipliers = {
429
- '1/5-vh': '20vh',
430
- '1/4-vh': '25vh',
431
- '1/3-vh': '33.333vh',
432
- '2/5-vh': '40vh',
433
- '1/2-vh': '50vh',
434
- '3/5-vh': '60vh',
435
- '2/3-vh': '66.666vh',
436
- '3/4-vh': '75vh',
437
- '4/5-vh': '80vh',
438
- };
439
- /**
440
- * Costante che contiene tutte le varianti "p-" per padding globale, fino a 96
441
- */
442
- const TailwindPaddings = [
443
- 'p-1', 'p-2', 'p-3', 'p-4', 'p-5', 'p-6', 'p-7', 'p-8', 'p-9', 'p-10',
444
- 'p-11', 'p-12', 'p-13', 'p-14', 'p-15', 'p-16', 'p-17', 'p-18', 'p-19', 'p-20',
445
- 'p-21', 'p-22', 'p-23', 'p-24', 'p-25', 'p-26', 'p-27', 'p-28', 'p-29', 'p-30',
446
- 'p-31', 'p-32', 'p-33', 'p-34', 'p-35', 'p-36', 'p-37', 'p-38', 'p-39', 'p-40',
447
- 'p-41', 'p-42', 'p-43', 'p-44', 'p-45', 'p-46', 'p-47', 'p-48', 'p-49', 'p-50',
448
- 'p-51', 'p-52', 'p-53', 'p-54', 'p-55', 'p-56', 'p-57', 'p-58', 'p-59', 'p-60',
449
- 'p-61', 'p-62', 'p-63', 'p-64', 'p-65', 'p-66', 'p-67', 'p-68', 'p-69', 'p-70',
450
- 'p-71', 'p-72', 'p-73', 'p-74', 'p-75', 'p-76', 'p-77', 'p-78', 'p-79', 'p-80',
451
- 'p-81', 'p-82', 'p-83', 'p-84', 'p-85', 'p-86', 'p-87', 'p-88', 'p-89', 'p-90',
452
- 'p-91', 'p-92', 'p-93', 'p-94', 'p-95', 'p-96',
453
- ];
454
- /**
455
- * Costante che contiene tutte le varianti "px-" per padding orizzontale, fino a 96
456
- */
457
- const TailwindPaddings_X = [
458
- 'px-1', 'px-2', 'px-3', 'px-4', 'px-5', 'px-6', 'px-7', 'px-8', 'px-9', 'px-10',
459
- 'px-11', 'px-12', 'px-13', 'px-14', 'px-15', 'px-16', 'px-17', 'px-18', 'px-19', 'px-20',
460
- 'px-21', 'px-22', 'px-23', 'px-24', 'px-25', 'px-26', 'px-27', 'px-28', 'px-29', 'px-30',
461
- 'px-31', 'px-32', 'px-33', 'px-34', 'px-35', 'px-36', 'px-37', 'px-38', 'px-39', 'px-40',
462
- 'px-41', 'px-42', 'px-43', 'px-44', 'px-45', 'px-46', 'px-47', 'px-48', 'px-49', 'px-50',
463
- 'px-51', 'px-52', 'px-53', 'px-54', 'px-55', 'px-56', 'px-57', 'px-58', 'px-59', 'px-60',
464
- 'px-61', 'px-62', 'px-63', 'px-64', 'px-65', 'px-66', 'px-67', 'px-68', 'px-69', 'px-70',
465
- 'px-71', 'px-72', 'px-73', 'px-74', 'px-75', 'px-76', 'px-77', 'px-78', 'px-79', 'px-80',
466
- 'px-81', 'px-82', 'px-83', 'px-84', 'px-85', 'px-86', 'px-87', 'px-88', 'px-89', 'px-90',
467
- 'px-91', 'px-92', 'px-93', 'px-94', 'px-95', 'px-96',
468
- ];
469
- /**
470
- * Costante che contiene tutte le varianti "py-" per padding verticale, fino a 96
471
- */
472
- const TailwindPaddings_Y = [
473
- 'py-1', 'py-2', 'py-3', 'py-4', 'py-5', 'py-6', 'py-7', 'py-8', 'py-9', 'py-10',
474
- 'py-11', 'py-12', 'py-13', 'py-14', 'py-15', 'py-16', 'py-17', 'py-18', 'py-19', 'py-20',
475
- 'py-21', 'py-22', 'py-23', 'py-24', 'py-25', 'py-26', 'py-27', 'py-28', 'py-29', 'py-30',
476
- 'py-31', 'py-32', 'py-33', 'py-34', 'py-35', 'py-36', 'py-37', 'py-38', 'py-39', 'py-40',
477
- 'py-41', 'py-42', 'py-43', 'py-44', 'py-45', 'py-46', 'py-47', 'py-48', 'py-49', 'py-50',
478
- 'py-51', 'py-52', 'py-53', 'py-54', 'py-55', 'py-56', 'py-57', 'py-58', 'py-59', 'py-60',
479
- 'py-61', 'py-62', 'py-63', 'py-64', 'py-65', 'py-66', 'py-67', 'py-68', 'py-69', 'py-70',
480
- 'py-71', 'py-72', 'py-73', 'py-74', 'py-75', 'py-76', 'py-77', 'py-78', 'py-79', 'py-80',
481
- 'py-81', 'py-82', 'py-83', 'py-84', 'py-85', 'py-86', 'py-87', 'py-88', 'py-89', 'py-90',
482
- 'py-91', 'py-92', 'py-93', 'py-94', 'py-95', 'py-96',
483
- ];
484
- /**
485
- * Costante che contiene tutte le varianti "pt-" per padding superiore, fino a 96
486
- */
487
- const TailwindPaddings_T = [
488
- 'pt-1', 'pt-2', 'pt-3', 'pt-4', 'pt-5', 'pt-6', 'pt-7', 'pt-8', 'pt-9', 'pt-10',
489
- 'pt-11', 'pt-12', 'pt-13', 'pt-14', 'pt-15', 'pt-16', 'pt-17', 'pt-18', 'pt-19', 'pt-20',
490
- 'pt-21', 'pt-22', 'pt-23', 'pt-24', 'pt-25', 'pt-26', 'pt-27', 'pt-28', 'pt-29', 'pt-30',
491
- 'pt-31', 'pt-32', 'pt-33', 'pt-34', 'pt-35', 'pt-36', 'pt-37', 'pt-38', 'pt-39', 'pt-40',
492
- 'pt-41', 'pt-42', 'pt-43', 'pt-44', 'pt-45', 'pt-46', 'pt-47', 'pt-48', 'pt-49', 'pt-50',
493
- 'pt-51', 'pt-52', 'pt-53', 'pt-54', 'pt-55', 'pt-56', 'pt-57', 'pt-58', 'pt-59', 'pt-60',
494
- 'pt-61', 'pt-62', 'pt-63', 'pt-64', 'pt-65', 'pt-66', 'pt-67', 'pt-68', 'pt-69', 'pt-70',
495
- 'pt-71', 'pt-72', 'pt-73', 'pt-74', 'pt-75', 'pt-76', 'pt-77', 'pt-78', 'pt-79', 'pt-80',
496
- 'pt-81', 'pt-82', 'pt-83', 'pt-84', 'pt-85', 'pt-86', 'pt-87', 'pt-88', 'pt-89', 'pt-90',
497
- 'pt-91', 'pt-92', 'pt-93', 'pt-94', 'pt-95', 'pt-96',
498
- ];
499
- /**
500
- * Costante che contiene tutte le varianti "pr-" per padding a destra, fino a 96
501
- */
502
- const TailwindPaddings_R = [
503
- 'pr-1', 'pr-2', 'pr-3', 'pr-4', 'pr-5', 'pr-6', 'pr-7', 'pr-8', 'pr-9', 'pr-10',
504
- 'pr-11', 'pr-12', 'pr-13', 'pr-14', 'pr-15', 'pr-16', 'pr-17', 'pr-18', 'pr-19', 'pr-20',
505
- 'pr-21', 'pr-22', 'pr-23', 'pr-24', 'pr-25', 'pr-26', 'pr-27', 'pr-28', 'pr-29', 'pr-30',
506
- 'pr-31', 'pr-32', 'pr-33', 'pr-34', 'pr-35', 'pr-36', 'pr-37', 'pr-38', 'pr-39', 'pr-40',
507
- 'pr-41', 'pr-42', 'pr-43', 'pr-44', 'pr-45', 'pr-46', 'pr-47', 'pr-48', 'pr-49', 'pr-50',
508
- 'pr-51', 'pr-52', 'pr-53', 'pr-54', 'pr-55', 'pr-56', 'pr-57', 'pr-58', 'pr-59', 'pr-60',
509
- 'pr-61', 'pr-62', 'pr-63', 'pr-64', 'pr-65', 'pr-66', 'pr-67', 'pr-68', 'pr-69', 'pr-70',
510
- 'pr-71', 'pr-72', 'pr-73', 'pr-74', 'pr-75', 'pr-76', 'pr-77', 'pr-78', 'pr-79', 'pr-80',
511
- 'pr-81', 'pr-82', 'pr-83', 'pr-84', 'pr-85', 'pr-86', 'pr-87', 'pr-88', 'pr-89', 'pr-90',
512
- 'pr-91', 'pr-92', 'pr-93', 'pr-94', 'pr-95', 'pr-96',
513
- ];
514
- /**
515
- * Costante che contiene tutte le varianti "pb-" per padding inferiore, fino a 96
516
- */
517
- const TailwindPaddings_B = [
518
- 'pb-1', 'pb-2', 'pb-3', 'pb-4', 'pb-5', 'pb-6', 'pb-7', 'pb-8', 'pb-9', 'pb-10',
519
- 'pb-11', 'pb-12', 'pb-13', 'pb-14', 'pb-15', 'pb-16', 'pb-17', 'pb-18', 'pb-19', 'pb-20',
520
- 'pb-21', 'pb-22', 'pb-23', 'pb-24', 'pb-25', 'pb-26', 'pb-27', 'pb-28', 'pb-29', 'pb-30',
521
- 'pb-31', 'pb-32', 'pb-33', 'pb-34', 'pb-35', 'pb-36', 'pb-37', 'pb-38', 'pb-39', 'pb-40',
522
- 'pb-41', 'pb-42', 'pb-43', 'pb-44', 'pb-45', 'pb-46', 'pb-47', 'pb-48', 'pb-49', 'pb-50',
523
- 'pb-51', 'pb-52', 'pb-53', 'pb-54', 'pb-55', 'pb-56', 'pb-57', 'pb-58', 'pb-59', 'pb-60',
524
- 'pb-61', 'pb-62', 'pb-63', 'pb-64', 'pb-65', 'pb-66', 'pb-67', 'pb-68', 'pb-69', 'pb-70',
525
- 'pb-71', 'pb-72', 'pb-73', 'pb-74', 'pb-75', 'pb-76', 'pb-77', 'pb-78', 'pb-79', 'pb-80',
526
- 'pb-81', 'pb-82', 'pb-83', 'pb-84', 'pb-85', 'pb-86', 'pb-87', 'pb-88', 'pb-89', 'pb-90',
527
- 'pb-91', 'pb-92', 'pb-93', 'pb-94', 'pb-95', 'pb-96',
528
- ];
529
- /**
530
- * Costante che contiene tutte le varianti "pl-" per padding a sinistra, fino a 96
531
- */
532
- const TailwindPaddings_L = [
533
- 'pl-1', 'pl-2', 'pl-3', 'pl-4', 'pl-5', 'pl-6', 'pl-7', 'pl-8', 'pl-9', 'pl-10',
534
- 'pl-11', 'pl-12', 'pl-13', 'pl-14', 'pl-15', 'pl-16', 'pl-17', 'pl-18', 'pl-19', 'pl-20',
535
- 'pl-21', 'pl-22', 'pl-23', 'pl-24', 'pl-25', 'pl-26', 'pl-27', 'pl-28', 'pl-29', 'pl-30',
536
- 'pl-31', 'pl-32', 'pl-33', 'pl-34', 'pl-35', 'pl-36', 'pl-37', 'pl-38', 'pl-39', 'pl-40',
537
- 'pl-41', 'pl-42', 'pl-43', 'pl-44', 'pl-45', 'pl-46', 'pl-47', 'pl-48', 'pl-49', 'pl-50',
538
- 'pl-51', 'pl-52', 'pl-53', 'pl-54', 'pl-55', 'pl-56', 'pl-57', 'pl-58', 'pl-59', 'pl-60',
539
- 'pl-61', 'pl-62', 'pl-63', 'pl-64', 'pl-65', 'pl-66', 'pl-67', 'pl-68', 'pl-69', 'pl-70',
540
- 'pl-71', 'pl-72', 'pl-73', 'pl-74', 'pl-75', 'pl-76', 'pl-77', 'pl-78', 'pl-79', 'pl-80',
541
- 'pl-81', 'pl-82', 'pl-83', 'pl-84', 'pl-85', 'pl-86', 'pl-87', 'pl-88', 'pl-89', 'pl-90',
542
- 'pl-91', 'pl-92', 'pl-93', 'pl-94', 'pl-95', 'pl-96',
543
- ];
544
- const TailwindPaddings_ALL = [
545
- ...TailwindPaddings,
546
- ...TailwindPaddings_X,
547
- ...TailwindPaddings_Y,
548
- ...TailwindPaddings_T,
549
- ...TailwindPaddings_R,
550
- ...TailwindPaddings_B,
551
- ...TailwindPaddings_L,
552
- ];
553
- // file: constants/layout/textSizes.ts
554
- const TailwindTextSizes = [
555
- 'text-xs',
556
- 'text-sm',
557
- 'text-base',
558
- 'text-lg',
559
- 'text-xl',
560
- 'text-2xl',
561
- 'text-3xl',
562
- 'text-4xl',
563
- 'text-5xl',
564
- 'text-6xl',
565
- 'text-7xl',
566
- ];
567
- /**
568
- * Costante che contiene tutte le varianti "w-" per larghezza globale
569
- */
570
- const TailwindWidths = [
571
- // Classi dinamiche
572
- 'w-auto', // Larghezza automatica
573
- 'w-full', // Larghezza piena (100% del contenitore genitore)
574
- 'w-screen', // Larghezza dell'intero viewport
575
- 'w-min', // Larghezza minima (adatta al contenuto minimo)
576
- 'w-max', // Larghezza massima (adatta al contenuto massimo)
577
- 'w-fit', // Larghezza si adatta al contenuto
578
- // Larghezza proporzionale
579
- 'w-1/2', // 50% della larghezza disponibile
580
- 'w-1/3', // 33.333% della larghezza disponibile
581
- 'w-2/3', // 66.666% della larghezza disponibile
582
- 'w-1/4', // 25% della larghezza disponibile
583
- 'w-3/4', // 75% della larghezza disponibile
584
- // Varianti numeriche da 1 a 96
585
- 'w-1', 'w-2', 'w-3', 'w-4', 'w-5', 'w-6', 'w-7', 'w-8', 'w-9', 'w-10',
586
- 'w-11', 'w-12', 'w-13', 'w-14', 'w-15', 'w-16', 'w-17', 'w-18', 'w-19', 'w-20',
587
- 'w-21', 'w-22', 'w-23', 'w-24', 'w-25', 'w-26', 'w-27', 'w-28', 'w-29', 'w-30',
588
- 'w-31', 'w-32', 'w-33', 'w-34', 'w-35', 'w-36', 'w-37', 'w-38', 'w-39', 'w-40',
589
- 'w-41', 'w-42', 'w-43', 'w-44', 'w-45', 'w-46', 'w-47', 'w-48', 'w-49', 'w-50',
590
- 'w-51', 'w-52', 'w-53', 'w-54', 'w-55', 'w-56', 'w-57', 'w-58', 'w-59', 'w-60',
591
- 'w-61', 'w-62', 'w-63', 'w-64', 'w-65', 'w-66', 'w-67', 'w-68', 'w-69', 'w-70',
592
- 'w-71', 'w-72', 'w-73', 'w-74', 'w-75', 'w-76', 'w-77', 'w-78', 'w-79', 'w-80',
593
- 'w-81', 'w-82', 'w-83', 'w-84', 'w-85', 'w-86', 'w-87', 'w-88', 'w-89', 'w-90',
594
- 'w-91', 'w-92', 'w-93', 'w-94', 'w-95', 'w-96',
595
- ];
596
- const TailwindColors = [
597
- "text-primary/10", "bg-primary/10", "border-primary/10",
598
- "text-primary/20", "bg-primary/20", "border-primary/20",
599
- "text-primary/30", "bg-primary/30", "border-primary/30",
600
- "text-primary/40", "bg-primary/40", "border-primary/40",
601
- "text-primary/50", "bg-primary/50", "border-primary/50",
602
- "text-primary/60", "bg-primary/60", "border-primary/60",
603
- "text-primary/70", "bg-primary/70", "border-primary/70",
604
- "text-primary/80", "bg-primary/80", "border-primary/80",
605
- "text-primary/90", "bg-primary/90", "border-primary/90",
606
- "text-primary", "bg-primary", "border-primary",
607
- "text-secondary/10", "bg-secondary/10", "border-secondary/10",
608
- "text-secondary/20", "bg-secondary/20", "border-secondary/20",
609
- "text-secondary/30", "bg-secondary/30", "border-secondary/30",
610
- "text-secondary/40", "bg-secondary/40", "border-secondary/40",
611
- "text-secondary/50", "bg-secondary/50", "border-secondary/50",
612
- "text-secondary/60", "bg-secondary/60", "border-secondary/60",
613
- "text-secondary/70", "bg-secondary/70", "border-secondary/70",
614
- "text-secondary/80", "bg-secondary/80", "border-secondary/80",
615
- "text-secondary/90", "bg-secondary/90", "border-secondary/90",
616
- "text-secondary", "bg-secondary", "border-secondary",
617
- "text-accent/10", "bg-accent/10", "border-accent/10",
618
- "text-accent/20", "bg-accent/20", "border-accent/20",
619
- "text-accent/30", "bg-accent/30", "border-accent/30",
620
- "text-accent/40", "bg-accent/40", "border-accent/40",
621
- "text-accent/50", "bg-accent/50", "border-accent/50",
622
- "text-accent/60", "bg-accent/60", "border-accent/60",
623
- "text-accent/70", "bg-accent/70", "border-accent/70",
624
- "text-accent/80", "bg-accent/80", "border-accent/80",
625
- "text-accent/90", "bg-accent/90", "border-accent/90",
626
- "text-accent", "bg-accent", "border-accent",
627
- "text-dark/10", "bg-dark/10", "border-dark/10",
628
- "text-dark/20", "bg-dark/20", "border-dark/20",
629
- "text-dark/30", "bg-dark/30", "border-dark/30",
630
- "text-dark/40", "bg-dark/40", "border-dark/40",
631
- "text-dark/50", "bg-dark/50", "border-dark/50",
632
- "text-dark/60", "bg-dark/60", "border-dark/60",
633
- "text-dark/70", "bg-dark/70", "border-dark/70",
634
- "text-dark/80", "bg-dark/80", "border-dark/80",
635
- "text-dark/90", "bg-dark/90", "border-dark/90",
636
- "text-dark", "bg-dark", "border-dark",
637
- "text-light/10", "bg-light/10", "border-light/10",
638
- "text-light/20", "bg-light/20", "border-light/20",
639
- "text-light/30", "bg-light/30", "border-light/30",
640
- "text-light/40", "bg-light/40", "border-light/40",
641
- "text-light/50", "bg-light/50", "border-light/50",
642
- "text-light/60", "bg-light/60", "border-light/60",
643
- "text-light/70", "bg-light/70", "border-light/70",
644
- "text-light/80", "bg-light/80", "border-light/80",
645
- "text-light/90", "bg-light/90", "border-light/90",
646
- "text-light", "bg-light", "border-light"
647
- ];
648
- const TailwindDesktopGridColumns = [
649
- 'lg:grid-cols-1',
650
- 'lg:grid-cols-2',
651
- 'lg:grid-cols-3',
652
- 'lg:grid-cols-4',
653
- 'lg:grid-cols-5',
654
- 'lg:grid-cols-6',
655
- 'lg:grid-cols-7',
656
- 'lg:grid-cols-8',
657
- 'lg:grid-cols-9',
658
- 'lg:grid-cols-10',
659
- 'lg:grid-cols-11',
660
- 'lg:grid-cols-12'
661
- ];
662
- // Classi grid-cols per tablet (md)
663
- const TailwindTabletGridColumns = [
664
- 'md:grid-cols-1',
665
- 'md:grid-cols-2',
666
- 'md:grid-cols-3',
667
- 'md:grid-cols-4',
668
- 'md:grid-cols-5',
669
- 'md:grid-cols-6'
670
- ];
671
- // Classi grid-cols per mobile (default, senza prefisso)
672
- const TailwindMobileGridColumns = [
673
- 'grid-cols-1',
674
- 'grid-cols-2'
675
- ];
676
- const TailwindAllSafeList = [
677
- ...TailwindHeights,
678
- ...TailwindPaddings,
679
- ...TailwindMargins,
680
- ...TailwindContainerWidths,
681
- ...TailwindWidths,
682
- ...TailwindColors,
683
- ...TailwindDesktopGridColumns,
684
- ...TailwindMobileGridColumns,
685
- ...TailwindTabletGridColumns,
686
- ...TailwindTextSizes
687
- ];
688
-
689
- var index = /*#__PURE__*/Object.freeze({
690
- __proto__: null,
691
- TailwindAllSafeList: TailwindAllSafeList,
692
- TailwindColors: TailwindColors,
693
- TailwindContainerWidths: TailwindContainerWidths,
694
- TailwindDesktopGridColumns: TailwindDesktopGridColumns,
695
- TailwindHeights: TailwindHeights,
696
- TailwindMargins: TailwindMargins,
697
- TailwindMargins_ALL: TailwindMargins_ALL,
698
- TailwindMargins_B: TailwindMargins_B,
699
- TailwindMargins_L: TailwindMargins_L,
700
- TailwindMargins_R: TailwindMargins_R,
701
- TailwindMargins_T: TailwindMargins_T,
702
- TailwindMargins_X: TailwindMargins_X,
703
- TailwindMargins_Y: TailwindMargins_Y,
704
- TailwindMobileGridColumns: TailwindMobileGridColumns,
705
- TailwindMultipliers: TailwindMultipliers,
706
- TailwindPaddings: TailwindPaddings,
707
- TailwindPaddings_ALL: TailwindPaddings_ALL,
708
- TailwindPaddings_B: TailwindPaddings_B,
709
- TailwindPaddings_L: TailwindPaddings_L,
710
- TailwindPaddings_R: TailwindPaddings_R,
711
- TailwindPaddings_T: TailwindPaddings_T,
712
- TailwindPaddings_X: TailwindPaddings_X,
713
- TailwindPaddings_Y: TailwindPaddings_Y,
714
- TailwindTabletGridColumns: TailwindTabletGridColumns,
715
- TailwindTextSizes: TailwindTextSizes,
716
- TailwindViewportHeightMultipliers: TailwindViewportHeightMultipliers,
717
- TailwindViewportHeights: TailwindViewportHeights,
718
- TailwindWidths: TailwindWidths
77
+ ...override,
719
78
  });
720
79
 
721
80
  /**
@@ -726,7 +85,7 @@ const fieldContainerWidths = () => {
726
85
  return fieldSelect({
727
86
  name: 'container',
728
87
  label: 'Larghezza del container',
729
- options: [{ value: '', label: '(Nessuno)' }, ...TailwindContainerWidths],
88
+ options: [{ value: '', label: '(Nessuno)' }, ...tailwind_index.TailwindContainerWidths],
730
89
  admin: {
731
90
  description: 'Seleziona una larghezza massima per il container. Usa "None" per una larghezza a schermo intero.',
732
91
  },
@@ -766,7 +125,7 @@ const fieldHeights = () => {
766
125
  defaultValue: 'h-full',
767
126
  options: [
768
127
  { value: '', label: '(Nessuno)' },
769
- ...TailwindHeights.map((h) => ({ value: `h-${h}`, label: h })),
128
+ ...tailwind_index.TailwindHeights.map((h) => ({ value: `h-${h}`, label: h })),
770
129
  ],
771
130
  admin: {
772
131
  description: 'Definisce l’altezza dell’elemento.',
@@ -1488,7 +847,7 @@ const fieldViewportHeights = () => {
1488
847
  type: 'select',
1489
848
  options: [
1490
849
  { value: '', label: '(Nessuno)' },
1491
- ...TailwindViewportHeights.map((h) => ({ value: `h-${h}`, label: h })),
850
+ ...tailwind_index.TailwindViewportHeights.map((h) => ({ value: `h-${h}`, label: h })),
1492
851
  ],
1493
852
  admin: {
1494
853
  description: 'Definisce l’altezza dell’elemento.',
@@ -1589,39 +948,6 @@ const fieldSectionTabs = (options = {}) => {
1589
948
  };
1590
949
  };
1591
950
 
1592
- var UserRole;
1593
- (function (UserRole) {
1594
- UserRole["ADMIN"] = "admin";
1595
- UserRole["DESIGNER"] = "designer";
1596
- UserRole["COPY"] = "copy";
1597
- UserRole["WEBADMIN"] = "webadmin";
1598
- })(UserRole || (UserRole = {}));
1599
- const fieldRoles = (override) => ({
1600
- name: override?.name || 'roles',
1601
- label: override?.label || 'Ruoli',
1602
- type: 'select',
1603
- required: override?.required ?? true,
1604
- hasMany: override?.hasMany ?? true,
1605
- options: [
1606
- ...Object.values(UserRole).map((role) => ({
1607
- label: role.charAt(0).toUpperCase() + role.slice(1).toLowerCase(),
1608
- value: role,
1609
- })),
1610
- ...(override?.options || []),
1611
- ],
1612
- access: {
1613
- create: () => true,
1614
- update: () => true,
1615
- read: () => true,
1616
- ...override?.access,
1617
- },
1618
- admin: {
1619
- description: 'Seleziona uno o più ruoli utente.',
1620
- ...override?.admin,
1621
- },
1622
- });
1623
-
1624
- exports.TailwindTextSizes = TailwindTextSizes;
1625
951
  exports.fieldAction = fieldAction;
1626
952
  exports.fieldArray = fieldArray;
1627
953
  exports.fieldCheckbox = fieldCheckbox;
@@ -1635,7 +961,6 @@ exports.fieldNumber = fieldNumber;
1635
961
  exports.fieldPaddings = fieldPaddings;
1636
962
  exports.fieldRelationship = fieldRelationship;
1637
963
  exports.fieldRichText = fieldRichText;
1638
- exports.fieldRoles = fieldRoles;
1639
964
  exports.fieldSectionProps = fieldSectionProps;
1640
965
  exports.fieldSectionTabs = fieldSectionTabs;
1641
966
  exports.fieldSelect = fieldSelect;
@@ -1644,5 +969,4 @@ exports.fieldThemeColor = fieldThemeColor;
1644
969
  exports.fieldUpload = fieldUpload;
1645
970
  exports.fieldViewportHeights = fieldViewportHeights;
1646
971
  exports.iconsList = iconsList;
1647
- exports.index = index;
1648
- //# sourceMappingURL=fieldRoles-ByWB8j1Q.js.map
972
+ //# sourceMappingURL=fieldSectionTabs-CmJ7R1Tc.js.map