@ainsleydev/payload-helper 0.0.8 → 0.0.10

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 (63) hide show
  1. package/dist/cli/bin.d.ts +2 -0
  2. package/dist/cli/bin.js +17 -0
  3. package/dist/cli/bin.js.map +1 -0
  4. package/dist/cli/types.d.ts +4 -0
  5. package/dist/cli/types.js +34 -0
  6. package/dist/cli/types.js.map +1 -0
  7. package/dist/collections/Media.d.ts +10 -0
  8. package/dist/collections/Media.js +150 -0
  9. package/dist/collections/Media.js.map +1 -0
  10. package/dist/collections/Redirects.d.ts +10 -0
  11. package/dist/collections/Redirects.js +72 -0
  12. package/dist/collections/Redirects.js.map +1 -0
  13. package/dist/common/SEO.d.ts +6 -0
  14. package/dist/common/SEO.js +45 -0
  15. package/dist/common/SEO.js.map +1 -0
  16. package/dist/endpoints/slug.d.ts +7 -0
  17. package/dist/endpoints/slug.js +38 -0
  18. package/dist/endpoints/slug.js.map +1 -0
  19. package/dist/globals/Navigation.d.ts +28 -0
  20. package/dist/globals/Navigation.js +138 -0
  21. package/dist/globals/Navigation.js.map +1 -0
  22. package/dist/globals/Settings.d.ts +10 -0
  23. package/dist/globals/Settings.js +346 -0
  24. package/dist/globals/Settings.js.map +1 -0
  25. package/dist/globals/countries.d.ts +1 -0
  26. package/dist/globals/countries.js +198 -0
  27. package/dist/globals/countries.js.map +1 -0
  28. package/dist/globals/locales.d.ts +7 -0
  29. package/dist/globals/locales.js +2664 -0
  30. package/dist/globals/locales.js.map +1 -0
  31. package/dist/index.d.ts +9 -0
  32. package/dist/index.js +23 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/plugin/schema.d.ts +21 -0
  35. package/dist/plugin/schema.js +239 -0
  36. package/dist/plugin/schema.js.map +1 -0
  37. package/dist/seed/media.d.ts +10 -0
  38. package/dist/seed/media.js +29 -0
  39. package/dist/seed/media.js.map +1 -0
  40. package/dist/seed/seed.d.ts +31 -0
  41. package/dist/seed/seed.js +84 -0
  42. package/dist/seed/seed.js.map +1 -0
  43. package/dist/seed/types.d.ts +125 -0
  44. package/dist/seed/types.js +3 -0
  45. package/dist/seed/types.js.map +1 -0
  46. package/dist/types.d.ts +10 -0
  47. package/dist/types.js +4 -0
  48. package/dist/types.js.map +1 -0
  49. package/dist/util/env.d.ts +12 -0
  50. package/dist/util/env.js +75 -0
  51. package/dist/util/env.js.map +1 -0
  52. package/dist/util/fields.d.ts +7 -0
  53. package/dist/util/fields.js +12 -0
  54. package/dist/util/fields.js.map +1 -0
  55. package/dist/util/lexical.d.ts +15 -0
  56. package/dist/util/lexical.js +123 -0
  57. package/dist/util/lexical.js.map +1 -0
  58. package/dist/util/lexical.test.js +21 -0
  59. package/dist/util/lexical.test.js.map +1 -0
  60. package/dist/util/validation.d.ts +2 -0
  61. package/dist/util/validation.js +23 -0
  62. package/dist/util/validation.js.map +1 -0
  63. package/package.json +2 -2
@@ -0,0 +1,346 @@
1
+ import { validatePostcode, validateURL } from '../util/validation.js';
2
+ import { countries } from './countries.js';
3
+ import { languages } from './locales.js';
4
+ /**
5
+ * Settings Global Configuration
6
+ * Additional tabs will be appended to the settings page.
7
+ * TODO, type error in here somewhere.
8
+ *
9
+ * @param additionalTabs
10
+ * @constructor
11
+ */ export const Settings = (additionalTabs)=>{
12
+ return {
13
+ slug: 'settings',
14
+ typescript: {
15
+ interface: 'Settings'
16
+ },
17
+ graphQL: {
18
+ name: 'Settings'
19
+ },
20
+ access: {
21
+ read: ()=>true
22
+ },
23
+ fields: [
24
+ {
25
+ type: 'tabs',
26
+ tabs: [
27
+ {
28
+ label: 'Global',
29
+ description: 'Configure global settings for the website.',
30
+ fields: [
31
+ {
32
+ type: 'row',
33
+ fields: [
34
+ {
35
+ name: 'siteName',
36
+ type: 'text',
37
+ label: 'Site Name',
38
+ admin: {
39
+ width: '50%',
40
+ description: 'Add a site name for the website, this will be outputted in the Open Graph schema as well as a suffix for the meta title.'
41
+ }
42
+ },
43
+ {
44
+ name: 'locale',
45
+ type: 'select',
46
+ label: 'Locale',
47
+ defaultValue: 'en_GB',
48
+ options: languages.map((l)=>{
49
+ return {
50
+ label: l.name,
51
+ value: l.code
52
+ };
53
+ }),
54
+ admin: {
55
+ width: '50%',
56
+ description: 'Add a locale for the website, this will be outputted in the Open Graph schema and the top level HTML tag. Defaults to en_GB.'
57
+ },
58
+ typescriptSchema: [
59
+ ()=>({
60
+ type: 'string'
61
+ })
62
+ ]
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ name: 'tagLine',
68
+ type: 'textarea',
69
+ label: 'Tag Line',
70
+ admin: {
71
+ description: 'In a few words, explain what this site is about'
72
+ }
73
+ },
74
+ {
75
+ name: 'logo',
76
+ type: 'upload',
77
+ relationTo: 'media',
78
+ filterOptions: {
79
+ mimeType: {
80
+ contains: 'image'
81
+ }
82
+ },
83
+ admin: {
84
+ description: 'Add a logo for the website that will be displayed in the header & across the website.'
85
+ }
86
+ },
87
+ {
88
+ name: 'robots',
89
+ type: 'textarea',
90
+ label: 'Robots.txt',
91
+ admin: {
92
+ description: 'Robots.txt is a text file webmasters create to instruct web robots (typically search engine robots) how to crawl pages on their website.'
93
+ }
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ label: 'Code Injection',
99
+ description: 'Code injection allows you to inject a small snippet of HTML into your site. It can be a css override, analytics of a block javascript.',
100
+ fields: [
101
+ {
102
+ name: 'codeInjection',
103
+ type: 'group',
104
+ fields: [
105
+ {
106
+ name: 'head',
107
+ type: 'code',
108
+ label: 'Head',
109
+ admin: {
110
+ language: 'html',
111
+ description: 'Outputs code within the <head> of the website.'
112
+ }
113
+ },
114
+ {
115
+ name: 'footer',
116
+ type: 'code',
117
+ label: 'Footer',
118
+ admin: {
119
+ language: 'html',
120
+ description: 'Outputs code in the footer of the website.'
121
+ }
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ label: 'Contact Details',
129
+ fields: [
130
+ {
131
+ name: 'contact',
132
+ type: 'group',
133
+ admin: {
134
+ hideGutter: true,
135
+ description: 'Add global contact details for the website that will be used in schema & contact pages.'
136
+ },
137
+ fields: [
138
+ {
139
+ type: 'row',
140
+ fields: [
141
+ {
142
+ name: 'email',
143
+ type: 'email',
144
+ label: 'Email',
145
+ admin: {
146
+ width: '50%'
147
+ }
148
+ },
149
+ {
150
+ name: 'telephone',
151
+ type: 'text',
152
+ label: 'Telephone',
153
+ admin: {
154
+ width: '50%'
155
+ }
156
+ }
157
+ ]
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ type: 'group',
163
+ name: 'address',
164
+ label: 'Address',
165
+ admin: {
166
+ hideGutter: true,
167
+ description: 'Add an address for the website.'
168
+ },
169
+ fields: [
170
+ {
171
+ type: 'row',
172
+ fields: [
173
+ {
174
+ name: 'line1',
175
+ type: 'text',
176
+ label: 'Line 1',
177
+ admin: {
178
+ width: '50%'
179
+ }
180
+ },
181
+ {
182
+ name: 'line2',
183
+ type: 'text',
184
+ label: 'Line 2',
185
+ admin: {
186
+ width: '50%'
187
+ }
188
+ },
189
+ {
190
+ name: 'city',
191
+ type: 'text',
192
+ label: 'City',
193
+ admin: {
194
+ width: '50%'
195
+ }
196
+ },
197
+ {
198
+ name: 'county',
199
+ type: 'text',
200
+ label: 'County',
201
+ admin: {
202
+ width: '50%'
203
+ }
204
+ },
205
+ {
206
+ name: 'postcode',
207
+ type: 'text',
208
+ label: 'Postcode',
209
+ validate: validatePostcode,
210
+ admin: {
211
+ width: '50%'
212
+ }
213
+ },
214
+ {
215
+ name: 'country',
216
+ type: 'select',
217
+ label: 'Country',
218
+ options: countries.map((c)=>{
219
+ return {
220
+ label: c,
221
+ value: c
222
+ };
223
+ }),
224
+ admin: {
225
+ width: '50%'
226
+ }
227
+ }
228
+ ]
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ type: 'group',
234
+ name: 'social',
235
+ label: 'Social Links',
236
+ admin: {
237
+ hideGutter: true,
238
+ description: 'Add social links for the website.'
239
+ },
240
+ fields: [
241
+ {
242
+ type: 'row',
243
+ fields: [
244
+ {
245
+ name: 'linkedIn',
246
+ type: 'text',
247
+ label: 'LinkedIn',
248
+ validate: validateURL,
249
+ admin: {
250
+ width: '50%'
251
+ }
252
+ },
253
+ {
254
+ name: 'x',
255
+ type: 'text',
256
+ label: 'X',
257
+ validate: validateURL,
258
+ admin: {
259
+ width: '50%'
260
+ }
261
+ },
262
+ {
263
+ name: 'facebook',
264
+ type: 'text',
265
+ label: 'Facebook',
266
+ validate: validateURL,
267
+ admin: {
268
+ width: '50%'
269
+ }
270
+ },
271
+ {
272
+ name: 'instagram',
273
+ type: 'text',
274
+ label: 'Instagram',
275
+ validate: validateURL,
276
+ admin: {
277
+ width: '50%'
278
+ }
279
+ },
280
+ {
281
+ name: 'youtube',
282
+ type: 'text',
283
+ label: 'Youtube',
284
+ validate: validateURL,
285
+ admin: {
286
+ width: '50%'
287
+ }
288
+ },
289
+ {
290
+ name: 'tiktok',
291
+ type: 'text',
292
+ label: 'TikTok',
293
+ validate: validateURL,
294
+ admin: {
295
+ width: '50%'
296
+ }
297
+ }
298
+ ]
299
+ }
300
+ ]
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ label: 'Maintenance',
306
+ fields: [
307
+ {
308
+ name: 'maintenance',
309
+ type: 'group',
310
+ fields: [
311
+ {
312
+ name: 'enabled',
313
+ type: 'checkbox',
314
+ label: 'Enable',
315
+ admin: {
316
+ description: 'Enable maintenance mode for the site, this will use a maintenance page template and not include any of the sites functioanlity.'
317
+ }
318
+ },
319
+ {
320
+ name: 'title',
321
+ type: 'text',
322
+ label: 'Title',
323
+ admin: {
324
+ description: 'Add a title for the maintenance page.'
325
+ }
326
+ },
327
+ {
328
+ name: 'content',
329
+ type: 'textarea',
330
+ label: 'Content',
331
+ admin: {
332
+ description: 'Add content for the maintenance page, it will appear beneath the title.'
333
+ }
334
+ }
335
+ ]
336
+ }
337
+ ]
338
+ },
339
+ ...additionalTabs ? additionalTabs : []
340
+ ]
341
+ }
342
+ ]
343
+ };
344
+ };
345
+
346
+ //# sourceMappingURL=Settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/globals/Settings.ts"],"sourcesContent":["import type { GlobalConfig, GroupField, Tab, UploadField } from 'payload';\nimport { validatePostcode, validateURL } from '../util/validation.js';\nimport { countries } from './countries.js';\nimport { languages } from './locales.js';\n\n/**\n * Settings Global Configuration\n * Additional tabs will be appended to the settings page.\n * TODO, type error in here somewhere.\n *\n * @param additionalTabs\n * @constructor\n */\nexport const Settings = (additionalTabs: Tab[]): GlobalConfig => {\n\treturn {\n\t\tslug: 'settings',\n\t\ttypescript: {\n\t\t\tinterface: 'Settings',\n\t\t},\n\t\tgraphQL: {\n\t\t\tname: 'Settings',\n\t\t},\n\t\taccess: {\n\t\t\tread: () => true,\n\t\t},\n\t\tfields: [\n\t\t\t{\n\t\t\t\ttype: 'tabs',\n\t\t\t\ttabs: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Global',\n\t\t\t\t\t\tdescription: 'Configure global settings for the website.',\n\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'row',\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'siteName',\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Site Name',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Add a site name for the website, this will be outputted in the Open Graph schema as well as a suffix for the meta title.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'locale',\n\t\t\t\t\t\t\t\t\t\ttype: 'select',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Locale',\n\t\t\t\t\t\t\t\t\t\tdefaultValue: 'en_GB',\n\t\t\t\t\t\t\t\t\t\toptions: languages.map((l) => {\n\t\t\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: l.name,\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: l.code,\n\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Add a locale for the website, this will be outputted in the Open Graph schema and the top level HTML tag. Defaults to en_GB.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\ttypescriptSchema: [\n\t\t\t\t\t\t\t\t\t\t\t() => ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'tagLine',\n\t\t\t\t\t\t\t\ttype: 'textarea',\n\t\t\t\t\t\t\t\tlabel: 'Tag Line',\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\tdescription: 'In a few words, explain what this site is about',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'logo',\n\t\t\t\t\t\t\t\ttype: 'upload',\n\t\t\t\t\t\t\t\trelationTo: 'media',\n\t\t\t\t\t\t\t\tfilterOptions: {\n\t\t\t\t\t\t\t\t\tmimeType: {\n\t\t\t\t\t\t\t\t\t\tcontains: 'image',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t'Add a logo for the website that will be displayed in the header & across the website.',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t} as UploadField,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'robots',\n\t\t\t\t\t\t\t\ttype: 'textarea',\n\t\t\t\t\t\t\t\tlabel: 'Robots.txt',\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t'Robots.txt is a text file webmasters create to instruct web robots (typically search engine robots) how to crawl pages on their website.',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Code Injection',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t'Code injection allows you to inject a small snippet of HTML into your site. It can be a css override, analytics of a block javascript.',\n\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'codeInjection',\n\t\t\t\t\t\t\t\ttype: 'group',\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'head',\n\t\t\t\t\t\t\t\t\t\ttype: 'code',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Head',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\tlanguage: 'html',\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Outputs code within the <head> of the website.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'footer',\n\t\t\t\t\t\t\t\t\t\ttype: 'code',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Footer',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\tlanguage: 'html',\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Outputs code in the footer of the website.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Contact Details',\n\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'contact',\n\t\t\t\t\t\t\t\ttype: 'group',\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\thideGutter: true,\n\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t'Add global contact details for the website that will be used in schema & contact pages.',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\ttype: 'row',\n\t\t\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'email',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'email',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Email',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'telephone',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Telephone',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t} as GroupField,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'group',\n\t\t\t\t\t\t\t\tname: 'address',\n\t\t\t\t\t\t\t\tlabel: 'Address',\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\thideGutter: true,\n\t\t\t\t\t\t\t\t\tdescription: 'Add an address for the website.',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\ttype: 'row',\n\t\t\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'line1',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Line 1',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'line2',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Line 2',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'city',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'City',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'county',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'County',\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'postcode',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Postcode',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validatePostcode,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'country',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'select',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Country',\n\t\t\t\t\t\t\t\t\t\t\t\toptions: countries.map((c) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: c,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: c,\n\t\t\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t} as GroupField,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'group',\n\t\t\t\t\t\t\t\tname: 'social',\n\t\t\t\t\t\t\t\tlabel: 'Social Links',\n\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\thideGutter: true,\n\t\t\t\t\t\t\t\t\tdescription: 'Add social links for the website.',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\ttype: 'row',\n\t\t\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'linkedIn',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'LinkedIn',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'x',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'X',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'facebook',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Facebook',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'instagram',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Instagram',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'youtube',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'Youtube',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tname: 'tiktok',\n\t\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: 'TikTok',\n\t\t\t\t\t\t\t\t\t\t\t\tvalidate: validateURL,\n\t\t\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: '50%',\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t} as GroupField,\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: 'Maintenance',\n\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'maintenance',\n\t\t\t\t\t\t\t\ttype: 'group',\n\t\t\t\t\t\t\t\tfields: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'enabled',\n\t\t\t\t\t\t\t\t\t\ttype: 'checkbox',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Enable',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Enable maintenance mode for the site, this will use a maintenance page template and not include any of the sites functioanlity.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'title',\n\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Title',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\tdescription: 'Add a title for the maintenance page.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'content',\n\t\t\t\t\t\t\t\t\t\ttype: 'textarea',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Content',\n\t\t\t\t\t\t\t\t\t\tadmin: {\n\t\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\t'Add content for the maintenance page, it will appear beneath the title.',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t...(additionalTabs ? additionalTabs : []),\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t};\n};\n"],"names":["validatePostcode","validateURL","countries","languages","Settings","additionalTabs","slug","typescript","interface","graphQL","name","access","read","fields","type","tabs","label","description","admin","width","defaultValue","options","map","l","value","code","typescriptSchema","relationTo","filterOptions","mimeType","contains","language","hideGutter","validate","c"],"mappings":"AACA,SAASA,gBAAgB,EAAEC,WAAW,QAAQ,wBAAwB;AACtE,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,SAAS,QAAQ,eAAe;AAEzC;;;;;;;CAOC,GACD,OAAO,MAAMC,WAAW,CAACC;IACxB,OAAO;QACNC,MAAM;QACNC,YAAY;YACXC,WAAW;QACZ;QACAC,SAAS;YACRC,MAAM;QACP;QACAC,QAAQ;YACPC,MAAM,IAAM;QACb;QACAC,QAAQ;YACP;gBACCC,MAAM;gBACNC,MAAM;oBACL;wBACCC,OAAO;wBACPC,aAAa;wBACbJ,QAAQ;4BACP;gCACCC,MAAM;gCACND,QAAQ;oCACP;wCACCH,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACNC,OAAO;4CACPF,aACC;wCACF;oCACD;oCACA;wCACCP,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPI,cAAc;wCACdC,SAASlB,UAAUmB,GAAG,CAAC,CAACC;4CACvB,OAAO;gDACNP,OAAOO,EAAEb,IAAI;gDACbc,OAAOD,EAAEE,IAAI;4CACd;wCACD;wCACAP,OAAO;4CACNC,OAAO;4CACPF,aACC;wCACF;wCACAS,kBAAkB;4CACjB,IAAO,CAAA;oDACNZ,MAAM;gDACP,CAAA;yCACA;oCACF;iCACA;4BACF;4BACA;gCACCJ,MAAM;gCACNI,MAAM;gCACNE,OAAO;gCACPE,OAAO;oCACND,aAAa;gCACd;4BACD;4BACA;gCACCP,MAAM;gCACNI,MAAM;gCACNa,YAAY;gCACZC,eAAe;oCACdC,UAAU;wCACTC,UAAU;oCACX;gCACD;gCACAZ,OAAO;oCACND,aACC;gCACF;4BACD;4BACA;gCACCP,MAAM;gCACNI,MAAM;gCACNE,OAAO;gCACPE,OAAO;oCACND,aACC;gCACF;4BACD;yBACA;oBACF;oBACA;wBACCD,OAAO;wBACPC,aACC;wBACDJ,QAAQ;4BACP;gCACCH,MAAM;gCACNI,MAAM;gCACND,QAAQ;oCACP;wCACCH,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACNa,UAAU;4CACVd,aACC;wCACF;oCACD;oCACA;wCACCP,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACNa,UAAU;4CACVd,aACC;wCACF;oCACD;iCACA;4BACF;yBACA;oBACF;oBACA;wBACCD,OAAO;wBACPH,QAAQ;4BACP;gCACCH,MAAM;gCACNI,MAAM;gCACNI,OAAO;oCACNc,YAAY;oCACZf,aACC;gCACF;gCACAJ,QAAQ;oCACP;wCACCC,MAAM;wCACND,QAAQ;4CACP;gDACCH,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;yCACA;oCACF;iCACA;4BACF;4BACA;gCACCL,MAAM;gCACNJ,MAAM;gCACNM,OAAO;gCACPE,OAAO;oCACNc,YAAY;oCACZf,aAAa;gCACd;gCACAJ,QAAQ;oCACP;wCACCC,MAAM;wCACND,QAAQ;4CACP;gDACCH,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPE,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUjC;gDACVkB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPK,SAASnB,UAAUoB,GAAG,CAAC,CAACY;oDACvB,OAAO;wDACNlB,OAAOkB;wDACPV,OAAOU;oDACR;gDACD;gDACAhB,OAAO;oDACNC,OAAO;gDACR;4CACD;yCACA;oCACF;iCACA;4BACF;4BACA;gCACCL,MAAM;gCACNJ,MAAM;gCACNM,OAAO;gCACPE,OAAO;oCACNc,YAAY;oCACZf,aAAa;gCACd;gCACAJ,QAAQ;oCACP;wCACCC,MAAM;wCACND,QAAQ;4CACP;gDACCH,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;4CACA;gDACCT,MAAM;gDACNI,MAAM;gDACNE,OAAO;gDACPiB,UAAUhC;gDACViB,OAAO;oDACNC,OAAO;gDACR;4CACD;yCACA;oCACF;iCACA;4BACF;yBACA;oBACF;oBACA;wBACCH,OAAO;wBACPH,QAAQ;4BACP;gCACCH,MAAM;gCACNI,MAAM;gCACND,QAAQ;oCACP;wCACCH,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACND,aACC;wCACF;oCACD;oCACA;wCACCP,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACND,aAAa;wCACd;oCACD;oCACA;wCACCP,MAAM;wCACNI,MAAM;wCACNE,OAAO;wCACPE,OAAO;4CACND,aACC;wCACF;oCACD;iCACA;4BACF;yBACA;oBACF;uBACIZ,iBAAiBA,iBAAiB,EAAE;iBACxC;YACF;SACA;IACF;AACD,EAAE"}
@@ -0,0 +1 @@
1
+ export declare const countries: string[];
@@ -0,0 +1,198 @@
1
+ export const countries = [
2
+ 'Afghanistan',
3
+ 'Albania',
4
+ 'Algeria',
5
+ 'Andorra',
6
+ 'Angola',
7
+ 'Antigua and Barbuda',
8
+ 'Argentina',
9
+ 'Armenia',
10
+ 'Australia',
11
+ 'Austria',
12
+ 'Azerbaijan',
13
+ 'Bahamas',
14
+ 'Bahrain',
15
+ 'Bangladesh',
16
+ 'Barbados',
17
+ 'Belarus',
18
+ 'Belgium',
19
+ 'Belize',
20
+ 'Benin',
21
+ 'Bhutan',
22
+ 'Bolivia',
23
+ 'Bosnia and Herzegovina',
24
+ 'Botswana',
25
+ 'Brazil',
26
+ 'Brunei',
27
+ 'Bulgaria',
28
+ 'Burkina Faso',
29
+ 'Burundi',
30
+ 'Cabo Verde',
31
+ 'Cambodia',
32
+ 'Cameroon',
33
+ 'Canada',
34
+ 'Central African Republic',
35
+ 'Chad',
36
+ 'Chile',
37
+ 'China',
38
+ 'Colombia',
39
+ 'Comoros',
40
+ 'Congo (Congo-Brazzaville)',
41
+ 'Costa Rica',
42
+ 'Croatia',
43
+ 'Cuba',
44
+ 'Cyprus',
45
+ 'Czechia (Czech Republic)',
46
+ 'Democratic Republic of the Congo',
47
+ 'Denmark',
48
+ 'Djibouti',
49
+ 'Dominica',
50
+ 'Dominican Republic',
51
+ 'Ecuador',
52
+ 'Egypt',
53
+ 'El Salvador',
54
+ 'Equatorial Guinea',
55
+ 'Eritrea',
56
+ 'Estonia',
57
+ 'Eswatini (formerly Swaziland)',
58
+ 'Ethiopia',
59
+ 'Fiji',
60
+ 'Finland',
61
+ 'France',
62
+ 'Gabon',
63
+ 'Gambia',
64
+ 'Georgia',
65
+ 'Germany',
66
+ 'Ghana',
67
+ 'Greece',
68
+ 'Grenada',
69
+ 'Guatemala',
70
+ 'Guinea',
71
+ 'Guinea-Bissau',
72
+ 'Guyana',
73
+ 'Haiti',
74
+ 'Honduras',
75
+ 'Hungary',
76
+ 'Iceland',
77
+ 'India',
78
+ 'Indonesia',
79
+ 'Iran',
80
+ 'Iraq',
81
+ 'Ireland',
82
+ 'Israel',
83
+ 'Italy',
84
+ 'Jamaica',
85
+ 'Japan',
86
+ 'Jordan',
87
+ 'Kazakhstan',
88
+ 'Kenya',
89
+ 'Kiribati',
90
+ 'Kuwait',
91
+ 'Kyrgyzstan',
92
+ 'Laos',
93
+ 'Latvia',
94
+ 'Lebanon',
95
+ 'Lesotho',
96
+ 'Liberia',
97
+ 'Libya',
98
+ 'Liechtenstein',
99
+ 'Lithuania',
100
+ 'Luxembourg',
101
+ 'Madagascar',
102
+ 'Malawi',
103
+ 'Malaysia',
104
+ 'Maldives',
105
+ 'Mali',
106
+ 'Malta',
107
+ 'Marshall Islands',
108
+ 'Mauritania',
109
+ 'Mauritius',
110
+ 'Mexico',
111
+ 'Micronesia',
112
+ 'Moldova',
113
+ 'Monaco',
114
+ 'Mongolia',
115
+ 'Montenegro',
116
+ 'Morocco',
117
+ 'Mozambique',
118
+ 'Myanmar (formerly Burma)',
119
+ 'Namibia',
120
+ 'Nauru',
121
+ 'Nepal',
122
+ 'Netherlands',
123
+ 'New Zealand',
124
+ 'Nicaragua',
125
+ 'Niger',
126
+ 'Nigeria',
127
+ 'North Korea',
128
+ 'North Macedonia',
129
+ 'Norway',
130
+ 'Oman',
131
+ 'Pakistan',
132
+ 'Palau',
133
+ 'Palestine State',
134
+ 'Panama',
135
+ 'Papua New Guinea',
136
+ 'Paraguay',
137
+ 'Peru',
138
+ 'Philippines',
139
+ 'Poland',
140
+ 'Portugal',
141
+ 'Qatar',
142
+ 'Romania',
143
+ 'Russia',
144
+ 'Rwanda',
145
+ 'Saint Kitts and Nevis',
146
+ 'Saint Lucia',
147
+ 'Saint Vincent and the Grenadines',
148
+ 'Samoa',
149
+ 'San Marino',
150
+ 'Sao Tome and Principe',
151
+ 'Saudi Arabia',
152
+ 'Senegal',
153
+ 'Serbia',
154
+ 'Seychelles',
155
+ 'Sierra Leone',
156
+ 'Singapore',
157
+ 'Slovakia',
158
+ 'Slovenia',
159
+ 'Solomon Islands',
160
+ 'Somalia',
161
+ 'South Africa',
162
+ 'South Korea',
163
+ 'South Sudan',
164
+ 'Spain',
165
+ 'Sri Lanka',
166
+ 'Sudan',
167
+ 'Suriname',
168
+ 'Sweden',
169
+ 'Switzerland',
170
+ 'Syria',
171
+ 'Taiwan',
172
+ 'Tajikistan',
173
+ 'Tanzania',
174
+ 'Thailand',
175
+ 'Timor-Leste',
176
+ 'Togo',
177
+ 'Tonga',
178
+ 'Trinidad and Tobago',
179
+ 'Tunisia',
180
+ 'Turkey',
181
+ 'Turkmenistan',
182
+ 'Tuvalu',
183
+ 'Uganda',
184
+ 'Ukraine',
185
+ 'United Arab Emirates',
186
+ 'United Kingdom',
187
+ 'United States of America',
188
+ 'Uruguay',
189
+ 'Uzbekistan',
190
+ 'Vanuatu',
191
+ 'Venezuela',
192
+ 'Vietnam',
193
+ 'Yemen',
194
+ 'Zambia',
195
+ 'Zimbabwe'
196
+ ];
197
+
198
+ //# sourceMappingURL=countries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/globals/countries.ts"],"sourcesContent":["export const countries = [\n\t'Afghanistan',\n\t'Albania',\n\t'Algeria',\n\t'Andorra',\n\t'Angola',\n\t'Antigua and Barbuda',\n\t'Argentina',\n\t'Armenia',\n\t'Australia',\n\t'Austria',\n\t'Azerbaijan',\n\t'Bahamas',\n\t'Bahrain',\n\t'Bangladesh',\n\t'Barbados',\n\t'Belarus',\n\t'Belgium',\n\t'Belize',\n\t'Benin',\n\t'Bhutan',\n\t'Bolivia',\n\t'Bosnia and Herzegovina',\n\t'Botswana',\n\t'Brazil',\n\t'Brunei',\n\t'Bulgaria',\n\t'Burkina Faso',\n\t'Burundi',\n\t'Cabo Verde',\n\t'Cambodia',\n\t'Cameroon',\n\t'Canada',\n\t'Central African Republic',\n\t'Chad',\n\t'Chile',\n\t'China',\n\t'Colombia',\n\t'Comoros',\n\t'Congo (Congo-Brazzaville)',\n\t'Costa Rica',\n\t'Croatia',\n\t'Cuba',\n\t'Cyprus',\n\t'Czechia (Czech Republic)',\n\t'Democratic Republic of the Congo',\n\t'Denmark',\n\t'Djibouti',\n\t'Dominica',\n\t'Dominican Republic',\n\t'Ecuador',\n\t'Egypt',\n\t'El Salvador',\n\t'Equatorial Guinea',\n\t'Eritrea',\n\t'Estonia',\n\t'Eswatini (formerly Swaziland)',\n\t'Ethiopia',\n\t'Fiji',\n\t'Finland',\n\t'France',\n\t'Gabon',\n\t'Gambia',\n\t'Georgia',\n\t'Germany',\n\t'Ghana',\n\t'Greece',\n\t'Grenada',\n\t'Guatemala',\n\t'Guinea',\n\t'Guinea-Bissau',\n\t'Guyana',\n\t'Haiti',\n\t'Honduras',\n\t'Hungary',\n\t'Iceland',\n\t'India',\n\t'Indonesia',\n\t'Iran',\n\t'Iraq',\n\t'Ireland',\n\t'Israel',\n\t'Italy',\n\t'Jamaica',\n\t'Japan',\n\t'Jordan',\n\t'Kazakhstan',\n\t'Kenya',\n\t'Kiribati',\n\t'Kuwait',\n\t'Kyrgyzstan',\n\t'Laos',\n\t'Latvia',\n\t'Lebanon',\n\t'Lesotho',\n\t'Liberia',\n\t'Libya',\n\t'Liechtenstein',\n\t'Lithuania',\n\t'Luxembourg',\n\t'Madagascar',\n\t'Malawi',\n\t'Malaysia',\n\t'Maldives',\n\t'Mali',\n\t'Malta',\n\t'Marshall Islands',\n\t'Mauritania',\n\t'Mauritius',\n\t'Mexico',\n\t'Micronesia',\n\t'Moldova',\n\t'Monaco',\n\t'Mongolia',\n\t'Montenegro',\n\t'Morocco',\n\t'Mozambique',\n\t'Myanmar (formerly Burma)',\n\t'Namibia',\n\t'Nauru',\n\t'Nepal',\n\t'Netherlands',\n\t'New Zealand',\n\t'Nicaragua',\n\t'Niger',\n\t'Nigeria',\n\t'North Korea',\n\t'North Macedonia',\n\t'Norway',\n\t'Oman',\n\t'Pakistan',\n\t'Palau',\n\t'Palestine State',\n\t'Panama',\n\t'Papua New Guinea',\n\t'Paraguay',\n\t'Peru',\n\t'Philippines',\n\t'Poland',\n\t'Portugal',\n\t'Qatar',\n\t'Romania',\n\t'Russia',\n\t'Rwanda',\n\t'Saint Kitts and Nevis',\n\t'Saint Lucia',\n\t'Saint Vincent and the Grenadines',\n\t'Samoa',\n\t'San Marino',\n\t'Sao Tome and Principe',\n\t'Saudi Arabia',\n\t'Senegal',\n\t'Serbia',\n\t'Seychelles',\n\t'Sierra Leone',\n\t'Singapore',\n\t'Slovakia',\n\t'Slovenia',\n\t'Solomon Islands',\n\t'Somalia',\n\t'South Africa',\n\t'South Korea',\n\t'South Sudan',\n\t'Spain',\n\t'Sri Lanka',\n\t'Sudan',\n\t'Suriname',\n\t'Sweden',\n\t'Switzerland',\n\t'Syria',\n\t'Taiwan',\n\t'Tajikistan',\n\t'Tanzania',\n\t'Thailand',\n\t'Timor-Leste',\n\t'Togo',\n\t'Tonga',\n\t'Trinidad and Tobago',\n\t'Tunisia',\n\t'Turkey',\n\t'Turkmenistan',\n\t'Tuvalu',\n\t'Uganda',\n\t'Ukraine',\n\t'United Arab Emirates',\n\t'United Kingdom',\n\t'United States of America',\n\t'Uruguay',\n\t'Uzbekistan',\n\t'Vanuatu',\n\t'Venezuela',\n\t'Vietnam',\n\t'Yemen',\n\t'Zambia',\n\t'Zimbabwe',\n];\n"],"names":["countries"],"mappings":"AAAA,OAAO,MAAMA,YAAY;IACxB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACA,CAAC"}
@@ -0,0 +1,7 @@
1
+ interface Language {
2
+ code: string;
3
+ name: string;
4
+ encoding: string;
5
+ }
6
+ export declare const languages: Language[];
7
+ export {};