@becollective/utils 1.10.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.semaphore/utils.yml +1 -1
- package/index.ts +7 -0
- package/lib/FeatureFlag.d.ts +12 -0
- package/lib/FeatureFlag.js +51 -0
- package/lib/constants/allowedHtmlTags.d.ts +7 -0
- package/lib/constants/allowedHtmlTags.js +8 -0
- package/lib/constants/avatarColours.d.ts +35 -0
- package/lib/constants/avatarColours.js +36 -0
- package/lib/constants/countries.d.ts +253 -0
- package/lib/constants/countries.js +254 -0
- package/lib/constants/currencies.d.ts +29 -0
- package/lib/constants/currencies.js +36 -0
- package/lib/constants/customFields.d.ts +11 -0
- package/lib/constants/customFields.js +12 -0
- package/lib/constants/distancesUnits.d.ts +11 -0
- package/lib/constants/distancesUnits.js +13 -0
- package/lib/constants/groups.d.ts +13 -0
- package/lib/constants/groups.js +85 -0
- package/lib/constants/insuranceStatuses.d.ts +15 -0
- package/lib/constants/insuranceStatuses.js +7 -0
- package/lib/constants/insuranceTypes.d.ts +35 -0
- package/lib/constants/insuranceTypes.js +36 -0
- package/lib/constants/languages.d.ts +2 -0
- package/lib/constants/languages.js +194 -0
- package/lib/constants/locales.d.ts +119 -0
- package/lib/constants/locales.js +191 -0
- package/lib/constants/notifications.d.ts +47 -0
- package/lib/constants/notifications.js +31 -0
- package/lib/constants/opportunities.d.ts +72 -0
- package/lib/constants/opportunities.js +82 -0
- package/lib/constants/qualificationTypes.d.ts +4 -0
- package/lib/constants/qualificationTypes.js +18 -0
- package/lib/constants/rules.d.ts +13 -0
- package/lib/constants/rules.js +21 -0
- package/lib/constants/subscriptions.d.ts +9 -0
- package/lib/constants/subscriptions.js +10 -0
- package/lib/constants/surveys.d.ts +16 -0
- package/lib/constants/surveys.js +17 -0
- package/lib/constants.d.ts +1 -0
- package/lib/constants.js +76 -0
- package/lib/date-time.d.ts +28 -0
- package/lib/date-time.js +79 -0
- package/lib/forms.d.ts +1 -0
- package/lib/forms.js +728 -0
- package/lib/locality.d.ts +5 -0
- package/lib/locality.js +15 -0
- package/lib/money.d.ts +7 -0
- package/lib/money.js +32 -0
- package/lib/opportunity.d.ts +1 -0
- package/lib/opportunity.js +11 -0
- package/lib/opportunityUser.d.ts +8 -0
- package/lib/opportunityUser.js +29 -0
- package/lib/password.d.ts +8 -0
- package/lib/password.js +43 -0
- package/lib/rrule/date.d.ts +4 -0
- package/lib/rrule/date.js +30 -0
- package/lib/rrule/index.d.ts +2 -0
- package/lib/rrule/index.js +18 -0
- package/lib/rrule/parsing.d.ts +6 -0
- package/lib/rrule/parsing.js +130 -0
- package/lib/rrule/parsing.test.d.ts +1 -0
- package/lib/rrule/parsing.test.js +11 -0
- package/lib/rrule.d.ts +49 -0
- package/lib/rrule.js +303 -0
- package/lib/src/FeatureFlag.d.ts +12 -0
- package/lib/src/FeatureFlag.js +51 -0
- package/lib/src/date-time.d.ts +28 -0
- package/lib/src/date-time.js +79 -0
- package/lib/src/forms.d.ts +1 -0
- package/lib/src/forms.js +728 -0
- package/lib/src/locality.d.ts +5 -0
- package/lib/src/locality.js +15 -0
- package/lib/src/money.d.ts +7 -0
- package/lib/src/money.js +32 -0
- package/lib/src/opportunity.d.ts +1 -0
- package/lib/src/opportunity.js +11 -0
- package/lib/src/opportunityUser.d.ts +8 -0
- package/lib/src/opportunityUser.js +29 -0
- package/lib/src/password.d.ts +8 -0
- package/lib/src/password.js +43 -0
- package/package.json +15 -29
- package/src/FeatureFlag.ts +26 -10
- package/src/constants/allowedHtmlTags.ts +6 -0
- package/src/constants/avatarColours.ts +34 -0
- package/src/constants/countries.ts +252 -0
- package/src/constants/currencies.ts +33 -0
- package/src/constants/customFields.ts +10 -0
- package/src/constants/distancesUnits.ts +11 -0
- package/src/constants/groups.ts +83 -0
- package/src/constants/insuranceStatuses.ts +5 -0
- package/src/constants/insuranceTypes.ts +34 -0
- package/src/constants/languages.ts +192 -0
- package/src/constants/locales.ts +189 -0
- package/src/constants/notifications.ts +30 -0
- package/src/constants/opportunities.ts +84 -0
- package/src/constants/qualificationTypes.ts +17 -0
- package/src/constants/rules.ts +22 -0
- package/src/constants/subscriptions.ts +8 -0
- package/src/constants/surveys.ts +15 -0
- package/src/constants.ts +40 -0
- package/src/{date-time.js → date-time.ts} +18 -11
- package/src/forms.ts +807 -0
- package/src/{opportunityUser.js → opportunityUser.ts} +5 -1
- package/src/{password.js → password.ts} +2 -0
- package/src/rrule/date.ts +25 -0
- package/src/rrule/index.ts +2 -0
- package/src/rrule/parsing.ts +136 -0
- package/src/rrule.ts +367 -0
- package/tests/{date-time.test.js → date-time.test.ts} +48 -46
- package/tests/featureFlag.test.ts +36 -39
- package/tests/forms.test-data.json +43 -0
- package/tests/forms.test-schema.json +144 -0
- package/tests/forms.test-uischema.json +117 -0
- package/tests/forms.test.ts +674 -0
- package/tests/{money.test.js → money.test.ts} +2 -3
- package/tests/{password.test.js → password.test.ts} +7 -6
- package/tests/rrule/parsing.test.ts +12 -0
- package/tests/rrule.test.ts +625 -0
- package/tsconfig.json +15 -12
- package/bundle.js +0 -270
- package/index.js +0 -25
- package/rollup.config.js +0 -25
- /package/src/{locality.js → locality.ts} +0 -0
- /package/src/{money.js → money.ts} +0 -0
- /package/src/{opportunity.js → opportunity.ts} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const currency_symbol_map_1 = __importDefault(require("currency-symbol-map"));
|
|
7
|
+
// ISO reference: https://www.currency-iso.org/en/home/tables/table-a1.html. This is what Intl.NumberFormat() uses.
|
|
8
|
+
// These are the currently supported currencies on our platform
|
|
9
|
+
exports.default = {
|
|
10
|
+
AUD: {
|
|
11
|
+
code: 'AUD',
|
|
12
|
+
name: 'Australian Dollar',
|
|
13
|
+
minorUnit: 2, // The number of digits after the decimal separator.
|
|
14
|
+
symbol: (0, currency_symbol_map_1.default)('AUD'),
|
|
15
|
+
prefix: 'A', // To identify which currency when use the same symbol
|
|
16
|
+
},
|
|
17
|
+
NZD: {
|
|
18
|
+
code: 'NZD',
|
|
19
|
+
name: 'New Zealand Dollar',
|
|
20
|
+
minorUnit: 2,
|
|
21
|
+
symbol: (0, currency_symbol_map_1.default)('NZD'),
|
|
22
|
+
prefix: 'NZ',
|
|
23
|
+
},
|
|
24
|
+
GBP: {
|
|
25
|
+
code: 'GBP',
|
|
26
|
+
name: 'Pound Sterling',
|
|
27
|
+
minorUnit: 2,
|
|
28
|
+
symbol: (0, currency_symbol_map_1.default)('GBP'),
|
|
29
|
+
},
|
|
30
|
+
EUR: {
|
|
31
|
+
code: 'EUR',
|
|
32
|
+
name: 'Euro',
|
|
33
|
+
minorUnit: 2,
|
|
34
|
+
symbol: (0, currency_symbol_map_1.default)('EUR'),
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
maxMongoStringLength: number;
|
|
3
|
+
maxFileSizeBytes: number;
|
|
4
|
+
emailReferenceHeadingString: string;
|
|
5
|
+
uploadBatchSize: number;
|
|
6
|
+
fNameReferenceHeadingString: string;
|
|
7
|
+
lNameReferenceHeadingString: string;
|
|
8
|
+
maxNumberOfRows: number;
|
|
9
|
+
templateFileName: string;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
maxMongoStringLength: 4096, // https://github.com/mongodb/mongo/blob/master/src/mongo/shell/linenoise.cpp#L145
|
|
5
|
+
maxFileSizeBytes: 16000000, // 16 MB https://docs.mongodb.com/manual/reference/limits/
|
|
6
|
+
emailReferenceHeadingString: 'Email (ref.)',
|
|
7
|
+
uploadBatchSize: 25,
|
|
8
|
+
fNameReferenceHeadingString: 'First name (ref.)',
|
|
9
|
+
lNameReferenceHeadingString: 'Last name (ref.)',
|
|
10
|
+
maxNumberOfRows: 501, // 500 rows + headings row
|
|
11
|
+
templateFileName: 'Custom_Fields_Template.csv', // should end in .csv
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// These align to https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#distance-units
|
|
4
|
+
exports.default = {
|
|
5
|
+
km: {
|
|
6
|
+
long: 'kilometers',
|
|
7
|
+
short: 'km',
|
|
8
|
+
},
|
|
9
|
+
mi: {
|
|
10
|
+
long: 'miles',
|
|
11
|
+
short: 'mi',
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
maxNumberOfGroupMembers: 10000,
|
|
5
|
+
defaultOptions: {
|
|
6
|
+
details: [
|
|
7
|
+
'Phone Number',
|
|
8
|
+
'Gender',
|
|
9
|
+
'Date of Birth',
|
|
10
|
+
'Home Address',
|
|
11
|
+
'Current Job Title',
|
|
12
|
+
'Emergency Contact Details',
|
|
13
|
+
],
|
|
14
|
+
requirements: [
|
|
15
|
+
'Working with Children Check',
|
|
16
|
+
'Drivers License',
|
|
17
|
+
'Police Check',
|
|
18
|
+
'First Aid Certificate',
|
|
19
|
+
'Orientation',
|
|
20
|
+
'Training',
|
|
21
|
+
],
|
|
22
|
+
industries: [
|
|
23
|
+
'Accommodations',
|
|
24
|
+
'Accounting',
|
|
25
|
+
'Advertising',
|
|
26
|
+
'Aerospace',
|
|
27
|
+
'Agriculture & Agribusiness',
|
|
28
|
+
'Air Transportation',
|
|
29
|
+
'Apparel & Accessories',
|
|
30
|
+
'Auto',
|
|
31
|
+
'Banking',
|
|
32
|
+
'Beauty & Cosmetics',
|
|
33
|
+
'Biotechnology',
|
|
34
|
+
'Chemical',
|
|
35
|
+
'Communications',
|
|
36
|
+
'Computer',
|
|
37
|
+
'Construction',
|
|
38
|
+
'Consulting',
|
|
39
|
+
'Consumer Products',
|
|
40
|
+
'Education',
|
|
41
|
+
'Electronics',
|
|
42
|
+
'Employment',
|
|
43
|
+
'Energy',
|
|
44
|
+
'Entertainment & Recreation',
|
|
45
|
+
'Fashion',
|
|
46
|
+
'Financial Services',
|
|
47
|
+
'Food & Beverage',
|
|
48
|
+
'Health',
|
|
49
|
+
'Information',
|
|
50
|
+
'Information Technology',
|
|
51
|
+
'Insurance',
|
|
52
|
+
'Journalism & News',
|
|
53
|
+
'Legal Services',
|
|
54
|
+
'Manufacturing',
|
|
55
|
+
'Media & Broadcasting',
|
|
56
|
+
'Medical Devices & Supplies',
|
|
57
|
+
'Motion Pictures & Video',
|
|
58
|
+
'Music',
|
|
59
|
+
'Pharmaceutical',
|
|
60
|
+
'Public Administration',
|
|
61
|
+
'Public Relations',
|
|
62
|
+
'Publishing',
|
|
63
|
+
'Real Estate',
|
|
64
|
+
'Retail',
|
|
65
|
+
'Service',
|
|
66
|
+
'Sports',
|
|
67
|
+
'Technology',
|
|
68
|
+
'Telecommunications',
|
|
69
|
+
'Tourism',
|
|
70
|
+
'Transportation',
|
|
71
|
+
'Travel',
|
|
72
|
+
'Utilities',
|
|
73
|
+
'Video Game',
|
|
74
|
+
'Web Services',
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
groupTypes: [
|
|
78
|
+
{ name: 'Business', value: 'business' },
|
|
79
|
+
{ name: 'Charity/Not-for-profit', value: 'charity-not-for-profit' },
|
|
80
|
+
{ name: 'Club/Community group', value: 'club-community-group' },
|
|
81
|
+
{ name: 'Education provider', value: 'education-provider' },
|
|
82
|
+
{ name: 'Government/Public sector', value: 'government-public-sector' },
|
|
83
|
+
{ name: 'Volunteer services & centre', value: 'volunteer-service-centre' },
|
|
84
|
+
],
|
|
85
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
INSURED: { value: 'insured', label: 'We have insurance' },
|
|
5
|
+
UNINSURED: { value: 'uninsured', label: "We don't have insurance" },
|
|
6
|
+
AUSPICED: { value: 'auspiced', label: 'We are auspiced by another organisation' },
|
|
7
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
publicLiabilityAU: {
|
|
3
|
+
type: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
volunteerAccidentAU: {
|
|
7
|
+
type: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
publicLiabilityGB: {
|
|
11
|
+
type: string;
|
|
12
|
+
label: string;
|
|
13
|
+
};
|
|
14
|
+
volunteerAccidentGB: {
|
|
15
|
+
type: string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
publicLiabilityNZ: {
|
|
19
|
+
type: string;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
volunteerAccidentNZ: {
|
|
23
|
+
type: string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
publicLiabilityOthers: {
|
|
27
|
+
type: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
volunteerAccidentOthers: {
|
|
31
|
+
type: string;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
publicLiabilityAU: {
|
|
5
|
+
type: 'publicLiabilityAU',
|
|
6
|
+
label: 'Public Liability Insurance',
|
|
7
|
+
},
|
|
8
|
+
volunteerAccidentAU: {
|
|
9
|
+
type: 'volunteerAccidentAU',
|
|
10
|
+
label: 'Volunteer Accident Insurance',
|
|
11
|
+
},
|
|
12
|
+
publicLiabilityGB: {
|
|
13
|
+
type: 'publicLiabilityGB',
|
|
14
|
+
label: 'Public Liability',
|
|
15
|
+
},
|
|
16
|
+
volunteerAccidentGB: {
|
|
17
|
+
type: 'volunteerAccidentGB',
|
|
18
|
+
label: "Employer's Liability",
|
|
19
|
+
},
|
|
20
|
+
publicLiabilityNZ: {
|
|
21
|
+
type: 'publicLiabilityNZ',
|
|
22
|
+
label: 'Public Liability',
|
|
23
|
+
},
|
|
24
|
+
volunteerAccidentNZ: {
|
|
25
|
+
type: 'volunteerAccidentNZ',
|
|
26
|
+
label: "Employer's Liability",
|
|
27
|
+
},
|
|
28
|
+
publicLiabilityOthers: {
|
|
29
|
+
type: 'publicLiabilityOthers',
|
|
30
|
+
label: 'Public Liability',
|
|
31
|
+
},
|
|
32
|
+
volunteerAccidentOthers: {
|
|
33
|
+
type: 'volunteerAccidentOthers',
|
|
34
|
+
label: "Employer's Liability",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = [
|
|
4
|
+
'abkhaz',
|
|
5
|
+
'afar',
|
|
6
|
+
'afrikaans',
|
|
7
|
+
'akan',
|
|
8
|
+
'albanian',
|
|
9
|
+
'amharic',
|
|
10
|
+
'arabic',
|
|
11
|
+
'aragonese',
|
|
12
|
+
'armenian',
|
|
13
|
+
'assamese',
|
|
14
|
+
'avaric',
|
|
15
|
+
'avestan',
|
|
16
|
+
'aymara',
|
|
17
|
+
'azerbaijani',
|
|
18
|
+
'bambara',
|
|
19
|
+
'bashkir',
|
|
20
|
+
'basque',
|
|
21
|
+
'belarusian',
|
|
22
|
+
'bengali',
|
|
23
|
+
'berber',
|
|
24
|
+
'bihari',
|
|
25
|
+
'bislama',
|
|
26
|
+
'bosnian',
|
|
27
|
+
'breton',
|
|
28
|
+
'bulgarian',
|
|
29
|
+
'burmese',
|
|
30
|
+
'cantonese',
|
|
31
|
+
'catalan',
|
|
32
|
+
'chamorro',
|
|
33
|
+
'chechen',
|
|
34
|
+
'chichewa',
|
|
35
|
+
'chinese (mandarin)',
|
|
36
|
+
'chuvash',
|
|
37
|
+
'cornish',
|
|
38
|
+
'corsican',
|
|
39
|
+
'cree',
|
|
40
|
+
'croatian',
|
|
41
|
+
'czech',
|
|
42
|
+
'danish',
|
|
43
|
+
'dari',
|
|
44
|
+
'divehi',
|
|
45
|
+
'dutch',
|
|
46
|
+
'dzongkha',
|
|
47
|
+
'english',
|
|
48
|
+
'esperanto',
|
|
49
|
+
'estonian',
|
|
50
|
+
'ewe',
|
|
51
|
+
'faroese',
|
|
52
|
+
'fijian',
|
|
53
|
+
'filipino',
|
|
54
|
+
'finnish',
|
|
55
|
+
'french',
|
|
56
|
+
'fula',
|
|
57
|
+
'gaelic',
|
|
58
|
+
'galician',
|
|
59
|
+
'ganda',
|
|
60
|
+
'georgian',
|
|
61
|
+
'german',
|
|
62
|
+
'greek',
|
|
63
|
+
'guaraní',
|
|
64
|
+
'gujarati',
|
|
65
|
+
'haitian',
|
|
66
|
+
'hausa',
|
|
67
|
+
'hebrew',
|
|
68
|
+
'herero',
|
|
69
|
+
'hindi',
|
|
70
|
+
'hiri motu',
|
|
71
|
+
'hungarian',
|
|
72
|
+
'icelandic',
|
|
73
|
+
'ido',
|
|
74
|
+
'igbo',
|
|
75
|
+
'indonesian',
|
|
76
|
+
'interlingua',
|
|
77
|
+
'interlingue',
|
|
78
|
+
'inuktitut',
|
|
79
|
+
'inupiaq',
|
|
80
|
+
'irish',
|
|
81
|
+
'italian',
|
|
82
|
+
'japanese',
|
|
83
|
+
'javanese',
|
|
84
|
+
'kalaallisut',
|
|
85
|
+
'kannada',
|
|
86
|
+
'kanuri',
|
|
87
|
+
'kashmiri',
|
|
88
|
+
'kazakh',
|
|
89
|
+
'khmer',
|
|
90
|
+
'kikuyu',
|
|
91
|
+
'kinyarwanda',
|
|
92
|
+
'kirundi',
|
|
93
|
+
'komi',
|
|
94
|
+
'kongo',
|
|
95
|
+
'korean',
|
|
96
|
+
'kurdish',
|
|
97
|
+
'kwanyama',
|
|
98
|
+
'kyrgyz',
|
|
99
|
+
'lao',
|
|
100
|
+
'latin',
|
|
101
|
+
'latvian',
|
|
102
|
+
'limburgish',
|
|
103
|
+
'lingala',
|
|
104
|
+
'lithuanian',
|
|
105
|
+
'luba-katanga',
|
|
106
|
+
'luxembourgish',
|
|
107
|
+
'macedonian',
|
|
108
|
+
'malagasy',
|
|
109
|
+
'malay',
|
|
110
|
+
'malayalam',
|
|
111
|
+
'maltese',
|
|
112
|
+
'manx',
|
|
113
|
+
'marathi (marāṭhī)',
|
|
114
|
+
'marshallese',
|
|
115
|
+
'mongolian',
|
|
116
|
+
'nauru',
|
|
117
|
+
'navajo',
|
|
118
|
+
'ndonga',
|
|
119
|
+
'nepali',
|
|
120
|
+
'northern ndebele',
|
|
121
|
+
'northern sami',
|
|
122
|
+
'northern sotho',
|
|
123
|
+
'norwegian bokmål',
|
|
124
|
+
'norwegian nynorsk',
|
|
125
|
+
'norwegian',
|
|
126
|
+
'nuosu',
|
|
127
|
+
'occitan',
|
|
128
|
+
'ojibwe',
|
|
129
|
+
'oriya',
|
|
130
|
+
'oromo',
|
|
131
|
+
'ossetian',
|
|
132
|
+
'panjabi',
|
|
133
|
+
'pashto',
|
|
134
|
+
'persian',
|
|
135
|
+
'polish',
|
|
136
|
+
'portuguese',
|
|
137
|
+
'pāli',
|
|
138
|
+
'quechua',
|
|
139
|
+
'romanian',
|
|
140
|
+
'romansh',
|
|
141
|
+
'russian',
|
|
142
|
+
'samoan',
|
|
143
|
+
'sango',
|
|
144
|
+
'sanskrit (saṁskṛta)',
|
|
145
|
+
'sardinian',
|
|
146
|
+
'scottish gaelic',
|
|
147
|
+
'serbian',
|
|
148
|
+
'shona',
|
|
149
|
+
'sign language',
|
|
150
|
+
'sindhi',
|
|
151
|
+
'sinhala',
|
|
152
|
+
'slovak',
|
|
153
|
+
'slovene',
|
|
154
|
+
'somali',
|
|
155
|
+
'southern ndebele',
|
|
156
|
+
'southern sotho',
|
|
157
|
+
'spanish',
|
|
158
|
+
'sundanese',
|
|
159
|
+
'swahili',
|
|
160
|
+
'swati',
|
|
161
|
+
'swedish',
|
|
162
|
+
'tagalog',
|
|
163
|
+
'tahitian',
|
|
164
|
+
'tajik',
|
|
165
|
+
'tamil',
|
|
166
|
+
'tatar',
|
|
167
|
+
'te reo māori',
|
|
168
|
+
'telugu',
|
|
169
|
+
'thai',
|
|
170
|
+
'tibetan standard',
|
|
171
|
+
'tigrinya',
|
|
172
|
+
'tonga',
|
|
173
|
+
'tsonga',
|
|
174
|
+
'tswana',
|
|
175
|
+
'turkish',
|
|
176
|
+
'turkmen',
|
|
177
|
+
'twi',
|
|
178
|
+
'ukrainian',
|
|
179
|
+
'urdu',
|
|
180
|
+
'uyghur',
|
|
181
|
+
'uzbek',
|
|
182
|
+
'venda',
|
|
183
|
+
'vietnamese',
|
|
184
|
+
'volapük',
|
|
185
|
+
'walloon',
|
|
186
|
+
'welsh',
|
|
187
|
+
'western frisian',
|
|
188
|
+
'wolof',
|
|
189
|
+
'xhosa',
|
|
190
|
+
'yiddish',
|
|
191
|
+
'yoruba',
|
|
192
|
+
'zhuang',
|
|
193
|
+
'zulu',
|
|
194
|
+
];
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
europeanCountryCodes: string[];
|
|
3
|
+
regionOptions: {
|
|
4
|
+
au: {
|
|
5
|
+
name: string;
|
|
6
|
+
domain: string;
|
|
7
|
+
hostname: string;
|
|
8
|
+
trademark: string;
|
|
9
|
+
twitter: string;
|
|
10
|
+
facebook: string;
|
|
11
|
+
instagram: string;
|
|
12
|
+
linkedin: string;
|
|
13
|
+
privacyPolicyUrl: string;
|
|
14
|
+
termsAndConditionsUrl: string;
|
|
15
|
+
privacyPolicyVersion: number;
|
|
16
|
+
termsAndConditionsVersion: number;
|
|
17
|
+
address: string;
|
|
18
|
+
};
|
|
19
|
+
nz: {
|
|
20
|
+
name: string;
|
|
21
|
+
domain: string;
|
|
22
|
+
hostname: string;
|
|
23
|
+
trademark: string;
|
|
24
|
+
twitter: string;
|
|
25
|
+
facebook: string;
|
|
26
|
+
instagram: string;
|
|
27
|
+
linkedin: string;
|
|
28
|
+
privacyPolicyUrl: string;
|
|
29
|
+
termsAndConditionsUrl: string;
|
|
30
|
+
privacyPolicyVersion: number;
|
|
31
|
+
termsAndConditionsVersion: number;
|
|
32
|
+
address: string;
|
|
33
|
+
};
|
|
34
|
+
uk: {
|
|
35
|
+
name: string;
|
|
36
|
+
domain: string;
|
|
37
|
+
hostname: string;
|
|
38
|
+
trademark: string;
|
|
39
|
+
twitter: string;
|
|
40
|
+
facebook: string;
|
|
41
|
+
instagram: string;
|
|
42
|
+
linkedin: string;
|
|
43
|
+
privacyPolicyUrl: string;
|
|
44
|
+
termsAndConditionsUrl: string;
|
|
45
|
+
privacyPolicyVersion: number;
|
|
46
|
+
termsAndConditionsVersion: number;
|
|
47
|
+
address: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
countryOptions: {
|
|
51
|
+
AU: {
|
|
52
|
+
financialYearEndDate: {
|
|
53
|
+
month: number;
|
|
54
|
+
date: number;
|
|
55
|
+
};
|
|
56
|
+
distanceUnit: {
|
|
57
|
+
long: string;
|
|
58
|
+
short: string;
|
|
59
|
+
};
|
|
60
|
+
regions: {
|
|
61
|
+
long: string;
|
|
62
|
+
short: string;
|
|
63
|
+
}[];
|
|
64
|
+
insuranceTypes: {
|
|
65
|
+
type: string;
|
|
66
|
+
label: string;
|
|
67
|
+
}[];
|
|
68
|
+
};
|
|
69
|
+
NZ: {
|
|
70
|
+
financialYearEndDate: {
|
|
71
|
+
month: number;
|
|
72
|
+
date: number;
|
|
73
|
+
};
|
|
74
|
+
distanceUnit: {
|
|
75
|
+
long: string;
|
|
76
|
+
short: string;
|
|
77
|
+
};
|
|
78
|
+
insuranceTypes: {
|
|
79
|
+
type: string;
|
|
80
|
+
label: string;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
GB: {
|
|
84
|
+
financialYearEndDate: {
|
|
85
|
+
month: number;
|
|
86
|
+
date: number;
|
|
87
|
+
};
|
|
88
|
+
distanceUnit: {
|
|
89
|
+
long: string;
|
|
90
|
+
short: string;
|
|
91
|
+
};
|
|
92
|
+
insuranceTypes: {
|
|
93
|
+
type: string;
|
|
94
|
+
label: string;
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
IE: {
|
|
98
|
+
financialYearEndDate: {
|
|
99
|
+
month: number;
|
|
100
|
+
date: number;
|
|
101
|
+
};
|
|
102
|
+
distanceUnit: {
|
|
103
|
+
long: string;
|
|
104
|
+
short: string;
|
|
105
|
+
};
|
|
106
|
+
insuranceTypes: {
|
|
107
|
+
type: string;
|
|
108
|
+
label: string;
|
|
109
|
+
}[];
|
|
110
|
+
};
|
|
111
|
+
Others: {
|
|
112
|
+
insuranceTypes: {
|
|
113
|
+
type: string;
|
|
114
|
+
label: string;
|
|
115
|
+
}[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export default _default;
|