@candlerip/shared 0.0.67 → 0.0.69
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/custom-error/domains.d.ts +2 -2
- package/dictionary/country-dictionary/domains.d.ts +4 -0
- package/dictionary/country-dictionary/index.d.ts +2 -0
- package/dictionary/country-dictionary/index.js +2 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.d.ts +2 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.js +4 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.d.ts +6 -0
- package/dictionary/country-dictionary/utils/index.d.ts +1 -0
- package/dictionary/country-dictionary/utils/index.js +1 -0
- package/dictionary/dictionary/configs.d.ts +47 -0
- package/dictionary/dictionary/configs.js +268 -0
- package/dictionary/dictionary/domains.d.ts +4 -0
- package/dictionary/dictionary/domains.js +1 -0
- package/dictionary/dictionary/index.d.ts +2 -0
- package/dictionary/dictionary/index.js +2 -0
- package/dictionary/index.d.ts +2 -0
- package/dictionary/index.js +2 -0
- package/environment/index.d.ts +0 -2
- package/environment/index.js +0 -2
- package/geographical/country/domains.d.ts +17 -0
- package/geographical/country/domains.js +1 -0
- package/geographical/county-code/configs.d.ts +1 -0
- package/geographical/county-code/configs.js +248 -0
- package/geographical/county-code/domains.d.ts +2 -0
- package/geographical/county-code/domains.js +1 -0
- package/{environment/environment-variable-name → geographical/county-code}/index.d.ts +1 -1
- package/{environment/environment-variable-name → geographical/county-code}/index.js +1 -1
- package/geographical/county-code/type-guards.d.ts +2 -0
- package/geographical/county-code/type-guards.js +4 -0
- package/geographical/index.d.ts +2 -0
- package/geographical/index.js +2 -0
- package/index.d.ts +6 -1
- package/index.js +6 -1
- package/package.json +1 -1
- package/page/configs.d.ts +1 -0
- package/page/configs.js +17 -0
- package/page/domains.d.ts +2 -0
- package/page/domains.js +1 -0
- package/page/index.d.ts +3 -0
- package/page/index.js +3 -0
- package/page/type-guards.d.ts +2 -0
- package/page/type-guards.js +4 -0
- package/page-menu/configs.d.ts +1 -0
- package/page-menu/configs.js +12 -0
- package/page-menu/domains.d.ts +2 -0
- package/page-menu/domains.js +1 -0
- package/page-menu/index.d.ts +3 -0
- package/page-menu/index.js +3 -0
- package/page-menu/type-guards.d.ts +2 -0
- package/page-menu/type-guards.js +2 -0
- package/service/service-name/constants.d.ts +1 -1
- package/service/service-name/constants.js +1 -1
- package/translation/index.d.ts +3 -0
- package/translation/index.js +3 -0
- package/translation/language/configs.d.ts +1 -0
- package/translation/language/configs.js +1 -0
- package/translation/language/defaults.d.ts +2 -0
- package/translation/language/defaults.js +1 -0
- package/translation/language/domains.d.ts +2 -0
- package/translation/language/domains.js +1 -0
- package/translation/language/index.d.ts +5 -0
- package/translation/language/index.js +5 -0
- package/translation/language/type-guards.d.ts +2 -0
- package/translation/language/type-guards.js +2 -0
- package/translation/language/validates/index.d.ts +2 -0
- package/translation/language/validates/index.js +2 -0
- package/translation/language/validates/validate-language/index.d.ts +2 -0
- package/translation/language/validates/validate-language/index.js +3 -0
- package/translation/language/validates/validate-language/type.d.ts +7 -0
- package/translation/language/validates/validate-language/type.js +1 -0
- package/translation/language/validates/validate-page/index.d.ts +2 -0
- package/translation/language/validates/validate-page/index.js +3 -0
- package/translation/language/validates/validate-page/type.d.ts +6 -0
- package/translation/language/validates/validate-page/type.js +1 -0
- package/translation/translation/domains/index.d.ts +7 -0
- package/translation/translation/domains/index.js +1 -0
- package/translation/translation/index.d.ts +1 -0
- package/translation/translation/index.js +1 -0
- package/translation/translation-code/excluded-translation-code/configs.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/configs.js +12 -0
- package/translation/translation-code/excluded-translation-code/domains.d.ts +4 -0
- package/translation/translation-code/excluded-translation-code/domains.js +1 -0
- package/translation/translation-code/excluded-translation-code/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/index.js +2 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.js +20 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.d.ts +7 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.js +1 -0
- package/translation/translation-code/excluded-translation-code/utils/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/utils/index.js +2 -0
- package/translation/translation-code/index.d.ts +2 -0
- package/translation/translation-code/index.js +2 -0
- package/translation/translation-code/translation-code/candle/candle-card/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-card/config.js +10 -0
- package/translation/translation-code/translation-code/candle/candle-card/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-card/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/config.js +4 -0
- package/translation/translation-code/translation-code/candle/candle-cards/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/config.js +3 -0
- package/translation/translation-code/translation-code/candle/candle-image/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/config.js +10 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/config.js +19 -0
- package/translation/translation-code/translation-code/candle/candles-list/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/index.js +1 -0
- package/translation/translation-code/translation-code/candle/index.d.ts +5 -0
- package/translation/translation-code/translation-code/candle/index.js +5 -0
- package/translation/translation-code/translation-code/common-page/config.d.ts +1 -0
- package/translation/translation-code/translation-code/common-page/config.js +29 -0
- package/translation/translation-code/translation-code/common-page/index.d.ts +1 -0
- package/translation/translation-code/translation-code/common-page/index.js +1 -0
- package/translation/translation-code/translation-code/configs.d.ts +1 -0
- package/translation/translation-code/translation-code/configs.js +434 -0
- package/translation/translation-code/translation-code/country/country-code/config.d.ts +1 -0
- package/translation/translation-code/translation-code/country/country-code/config.js +250 -0
- package/translation/translation-code/translation-code/country/country-code/index.d.ts +1 -0
- package/translation/translation-code/translation-code/country/country-code/index.js +1 -0
- package/translation/translation-code/translation-code/country/index.d.ts +1 -0
- package/translation/translation-code/translation-code/country/index.js +1 -0
- package/translation/translation-code/translation-code/domains.d.ts +2 -0
- package/translation/translation-code/translation-code/domains.js +1 -0
- package/translation/translation-code/translation-code/index.d.ts +7 -0
- package/translation/translation-code/translation-code/index.js +7 -0
- package/translation/translation-code/translation-code/person/index.d.ts +5 -0
- package/translation/translation-code/translation-code/person/index.js +5 -0
- package/translation/translation-code/translation-code/person/person-card/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-card/config.js +4 -0
- package/translation/translation-code/translation-code/person/person-card/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-card/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-cards/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-cards/config.js +4 -0
- package/translation/translation-code/translation-code/person/person-cards/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-cards/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-image/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-image/config.js +3 -0
- package/translation/translation-code/translation-code/person/person-image/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-image/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/config.js +28 -0
- package/translation/translation-code/translation-code/person/person-maintenance/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/index.js +1 -0
- package/translation/translation-code/translation-code/person/persons-list/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/persons-list/config.js +19 -0
- package/translation/translation-code/translation-code/person/persons-list/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/persons-list/index.js +1 -0
- package/translation/translation-code/translation-code/time/index.d.ts +1 -0
- package/translation/translation-code/translation-code/time/index.js +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/config.d.ts +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/config.js +3 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/index.d.ts +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/index.js +1 -0
- package/type/index.d.ts +2 -0
- package/type/index.js +2 -0
- package/type/type/index.d.ts +2 -0
- package/type/type/index.js +2 -0
- package/type/type/type-guards.d.ts +1 -0
- package/type/type/type-guards.js +6 -0
- package/type/type/utils/index.d.ts +1 -0
- package/type/type/utils/index.js +1 -0
- package/type/type/utils/validate-by-values/index.d.ts +2 -0
- package/type/type/utils/validate-by-values/index.js +20 -0
- package/type/type/utils/validate-by-values/type.d.ts +6 -0
- package/type/type/utils/validate-by-values/type.js +1 -0
- package/type/undefined/index.d.ts +1 -0
- package/type/undefined/index.js +1 -0
- package/type/undefined/type-guard.d.ts +1 -0
- package/type/undefined/type-guard.js +1 -0
- package/environment/environment-variable-name/constants.d.ts +0 -2
- package/environment/environment-variable-name/constants.js +0 -23
- package/environment/environment-variable-name/domains.d.ts +0 -2
- package/environment/environment-variable-name/type-guards.d.ts +0 -2
- package/environment/environment-variable-name/type-guards.js +0 -2
- package/environment/environment-variables/domains.d.ts +0 -23
- /package/{environment/environment-variable-name → dictionary/country-dictionary}/domains.js +0 -0
- /package/{environment/environment-variables/domains.js → dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.js} +0 -0
- /package/{environment/environment-variables → geographical/country}/index.d.ts +0 -0
- /package/{environment/environment-variables → geographical/country}/index.js +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
export const COUNTRY_CODES = [
|
|
2
|
+
'AD',
|
|
3
|
+
'AE',
|
|
4
|
+
'AF',
|
|
5
|
+
'AG',
|
|
6
|
+
'AI',
|
|
7
|
+
'AL',
|
|
8
|
+
'AM',
|
|
9
|
+
'AN',
|
|
10
|
+
'AO',
|
|
11
|
+
'AQ',
|
|
12
|
+
'AR',
|
|
13
|
+
'AS',
|
|
14
|
+
'AT',
|
|
15
|
+
'AU',
|
|
16
|
+
'AW',
|
|
17
|
+
'AX',
|
|
18
|
+
'AZ',
|
|
19
|
+
'BA',
|
|
20
|
+
'BB',
|
|
21
|
+
'BD',
|
|
22
|
+
'BE',
|
|
23
|
+
'BF',
|
|
24
|
+
'BG',
|
|
25
|
+
'BH',
|
|
26
|
+
'BI',
|
|
27
|
+
'BJ',
|
|
28
|
+
'BM',
|
|
29
|
+
'BN',
|
|
30
|
+
'BO',
|
|
31
|
+
'BR',
|
|
32
|
+
'BQ',
|
|
33
|
+
'BS',
|
|
34
|
+
'BT',
|
|
35
|
+
'BV',
|
|
36
|
+
'BW',
|
|
37
|
+
'BY',
|
|
38
|
+
'BZ',
|
|
39
|
+
'CA',
|
|
40
|
+
'CC',
|
|
41
|
+
'CD',
|
|
42
|
+
'CF',
|
|
43
|
+
'CG',
|
|
44
|
+
'CH',
|
|
45
|
+
'CI',
|
|
46
|
+
'CK',
|
|
47
|
+
'CL',
|
|
48
|
+
'CM',
|
|
49
|
+
'CN',
|
|
50
|
+
'CO',
|
|
51
|
+
'CR',
|
|
52
|
+
'CU',
|
|
53
|
+
'CV',
|
|
54
|
+
'CX',
|
|
55
|
+
'CY',
|
|
56
|
+
'CZ',
|
|
57
|
+
'DE',
|
|
58
|
+
'DJ',
|
|
59
|
+
'DK',
|
|
60
|
+
'DM',
|
|
61
|
+
'DO',
|
|
62
|
+
'DZ',
|
|
63
|
+
'EC',
|
|
64
|
+
'EE',
|
|
65
|
+
'EG',
|
|
66
|
+
'EH',
|
|
67
|
+
'ER',
|
|
68
|
+
'ES',
|
|
69
|
+
'ET',
|
|
70
|
+
'FI',
|
|
71
|
+
'FJ',
|
|
72
|
+
'FK',
|
|
73
|
+
'FM',
|
|
74
|
+
'FO',
|
|
75
|
+
'FR',
|
|
76
|
+
'GA',
|
|
77
|
+
'GB',
|
|
78
|
+
'GD',
|
|
79
|
+
'GE',
|
|
80
|
+
'GF',
|
|
81
|
+
'GG',
|
|
82
|
+
'GH',
|
|
83
|
+
'GI',
|
|
84
|
+
'GL',
|
|
85
|
+
'GM',
|
|
86
|
+
'GN',
|
|
87
|
+
'GP',
|
|
88
|
+
'GQ',
|
|
89
|
+
'GR',
|
|
90
|
+
'GS',
|
|
91
|
+
'GT',
|
|
92
|
+
'GU',
|
|
93
|
+
'GW',
|
|
94
|
+
'GY',
|
|
95
|
+
'GZ',
|
|
96
|
+
'HK',
|
|
97
|
+
'HM',
|
|
98
|
+
'HN',
|
|
99
|
+
'HR',
|
|
100
|
+
'HT',
|
|
101
|
+
'HU',
|
|
102
|
+
'ID',
|
|
103
|
+
'IE',
|
|
104
|
+
'IL',
|
|
105
|
+
'IM',
|
|
106
|
+
'IN',
|
|
107
|
+
'IO',
|
|
108
|
+
'IQ',
|
|
109
|
+
'IR',
|
|
110
|
+
'IS',
|
|
111
|
+
'IT',
|
|
112
|
+
'JE',
|
|
113
|
+
'JM',
|
|
114
|
+
'JO',
|
|
115
|
+
'JP',
|
|
116
|
+
'KE',
|
|
117
|
+
'KG',
|
|
118
|
+
'KH',
|
|
119
|
+
'KI',
|
|
120
|
+
'KM',
|
|
121
|
+
'KN',
|
|
122
|
+
'KP',
|
|
123
|
+
'KR',
|
|
124
|
+
'KW',
|
|
125
|
+
'KY',
|
|
126
|
+
'KZ',
|
|
127
|
+
'LA',
|
|
128
|
+
'LB',
|
|
129
|
+
'LC',
|
|
130
|
+
'LI',
|
|
131
|
+
'LK',
|
|
132
|
+
'LR',
|
|
133
|
+
'LS',
|
|
134
|
+
'LT',
|
|
135
|
+
'LU',
|
|
136
|
+
'LV',
|
|
137
|
+
'LY',
|
|
138
|
+
'MA',
|
|
139
|
+
'MC',
|
|
140
|
+
'MD',
|
|
141
|
+
'ME',
|
|
142
|
+
'MG',
|
|
143
|
+
'MH',
|
|
144
|
+
'MK',
|
|
145
|
+
'ML',
|
|
146
|
+
'MM',
|
|
147
|
+
'MN',
|
|
148
|
+
'MO',
|
|
149
|
+
'MP',
|
|
150
|
+
'MQ',
|
|
151
|
+
'MR',
|
|
152
|
+
'MS',
|
|
153
|
+
'MT',
|
|
154
|
+
'MU',
|
|
155
|
+
'MV',
|
|
156
|
+
'MW',
|
|
157
|
+
'MX',
|
|
158
|
+
'MY',
|
|
159
|
+
'MZ',
|
|
160
|
+
'NA',
|
|
161
|
+
'NC',
|
|
162
|
+
'NE',
|
|
163
|
+
'NF',
|
|
164
|
+
'NG',
|
|
165
|
+
'NI',
|
|
166
|
+
'NL',
|
|
167
|
+
'NO',
|
|
168
|
+
'NP',
|
|
169
|
+
'NR',
|
|
170
|
+
'NU',
|
|
171
|
+
'NZ',
|
|
172
|
+
'OM',
|
|
173
|
+
'PA',
|
|
174
|
+
'PE',
|
|
175
|
+
'PF',
|
|
176
|
+
'PG',
|
|
177
|
+
'PH',
|
|
178
|
+
'PK',
|
|
179
|
+
'PL',
|
|
180
|
+
'PM',
|
|
181
|
+
'PN',
|
|
182
|
+
'PR',
|
|
183
|
+
'PS',
|
|
184
|
+
'PT',
|
|
185
|
+
'PW',
|
|
186
|
+
'PY',
|
|
187
|
+
'QA',
|
|
188
|
+
'RE',
|
|
189
|
+
'RO',
|
|
190
|
+
'RS',
|
|
191
|
+
'RU',
|
|
192
|
+
'RW',
|
|
193
|
+
'SA',
|
|
194
|
+
'SB',
|
|
195
|
+
'SC',
|
|
196
|
+
'SD',
|
|
197
|
+
'SE',
|
|
198
|
+
'SG',
|
|
199
|
+
'SH',
|
|
200
|
+
'SI',
|
|
201
|
+
'SJ',
|
|
202
|
+
'SK',
|
|
203
|
+
'SL',
|
|
204
|
+
'SM',
|
|
205
|
+
'SN',
|
|
206
|
+
'SO',
|
|
207
|
+
'SR',
|
|
208
|
+
'ST',
|
|
209
|
+
'SV',
|
|
210
|
+
'SY',
|
|
211
|
+
'SZ',
|
|
212
|
+
'TC',
|
|
213
|
+
'TD',
|
|
214
|
+
'TF',
|
|
215
|
+
'TG',
|
|
216
|
+
'TH',
|
|
217
|
+
'TJ',
|
|
218
|
+
'TK',
|
|
219
|
+
'TL',
|
|
220
|
+
'TM',
|
|
221
|
+
'TN',
|
|
222
|
+
'TO',
|
|
223
|
+
'TR',
|
|
224
|
+
'TT',
|
|
225
|
+
'TV',
|
|
226
|
+
'TW',
|
|
227
|
+
'TZ',
|
|
228
|
+
'UA',
|
|
229
|
+
'UG',
|
|
230
|
+
'US',
|
|
231
|
+
'UY',
|
|
232
|
+
'UZ',
|
|
233
|
+
'VA',
|
|
234
|
+
'VC',
|
|
235
|
+
'VE',
|
|
236
|
+
'VG',
|
|
237
|
+
'VI',
|
|
238
|
+
'VN',
|
|
239
|
+
'VU',
|
|
240
|
+
'WF',
|
|
241
|
+
'WS',
|
|
242
|
+
'XK',
|
|
243
|
+
'YE',
|
|
244
|
+
'YT',
|
|
245
|
+
'ZA',
|
|
246
|
+
'ZM',
|
|
247
|
+
'ZW',
|
|
248
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export * from './environment/index.js';
|
|
2
1
|
export * from './custom-error/index.js';
|
|
2
|
+
export * from './dictionary/index.js';
|
|
3
|
+
export * from './environment/index.js';
|
|
4
|
+
export * from './geographical/index.js';
|
|
3
5
|
export * from './helpers/index.js';
|
|
6
|
+
export * from './page/index.js';
|
|
7
|
+
export * from './page-menu/index.js';
|
|
4
8
|
export * from './service/index.js';
|
|
9
|
+
export * from './translation/index.js';
|
|
5
10
|
export * from './type/index.js';
|
package/index.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export * from './environment/index.js';
|
|
2
1
|
export * from './custom-error/index.js';
|
|
2
|
+
export * from './dictionary/index.js';
|
|
3
|
+
export * from './environment/index.js';
|
|
4
|
+
export * from './geographical/index.js';
|
|
3
5
|
export * from './helpers/index.js';
|
|
6
|
+
export * from './page/index.js';
|
|
7
|
+
export * from './page-menu/index.js';
|
|
4
8
|
export * from './service/index.js';
|
|
9
|
+
export * from './translation/index.js';
|
|
5
10
|
export * from './type/index.js';
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PAGES: readonly ["add-person-page", "candle-details-page", "candles-page", "contact-page", "cookie-policy-page", "edit-candle-page", "edit-person-page", "help-page", "home-page", "light-candle-page", "person-candles-page", "person-details-page", "persons-page", "persons-map-page", "terms-and-conditions-page"];
|
package/page/configs.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const PAGES = [
|
|
2
|
+
'add-person-page',
|
|
3
|
+
'candle-details-page',
|
|
4
|
+
'candles-page',
|
|
5
|
+
'contact-page',
|
|
6
|
+
'cookie-policy-page',
|
|
7
|
+
'edit-candle-page',
|
|
8
|
+
'edit-person-page',
|
|
9
|
+
'help-page',
|
|
10
|
+
'home-page',
|
|
11
|
+
'light-candle-page',
|
|
12
|
+
'person-candles-page',
|
|
13
|
+
'person-details-page',
|
|
14
|
+
'persons-page',
|
|
15
|
+
'persons-map-page',
|
|
16
|
+
'terms-and-conditions-page',
|
|
17
|
+
];
|
package/page/domains.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/page/index.d.ts
ADDED
package/page/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PAGE_MENUS: readonly ["persons-page", "add-person-page", "persons-map-page", "candles-page", "contact-page", "cookie-policy-page", "help-page", "terms-and-conditions-page"];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const PAGE_MENUS = [
|
|
2
|
+
'persons-page',
|
|
3
|
+
'add-person-page',
|
|
4
|
+
'persons-map-page',
|
|
5
|
+
'candles-page',
|
|
6
|
+
'contact-page',
|
|
7
|
+
'cookie-policy-page',
|
|
8
|
+
'help-page',
|
|
9
|
+
'terms-and-conditions-page',
|
|
10
|
+
];
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12
|
+
const CHECK = PAGE_MENUS;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SERVICE_NAMES: readonly ["cache-service", "images", "nginx", "redis", "server"];
|
|
1
|
+
export declare const SERVICE_NAMES: readonly ["app", "cache-service", "images", "nginx", "redis", "server"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SERVICE_NAMES = ['cache-service', 'images', 'nginx', 'redis', 'server'];
|
|
1
|
+
export const SERVICE_NAMES = ['app', 'cache-service', 'images', 'nginx', 'redis', 'server'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LANGUAGES: readonly ["en", "hu"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const LANGUAGES = ['en', 'hu'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const DEFAULT_LANGUAGE = 'en';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './domains/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './domains/index.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const EXCLUDED_TRANSLATION_CODES = {
|
|
2
|
+
cookieConsent: [
|
|
3
|
+
'acceptAll',
|
|
4
|
+
'cookieConsentForm.description',
|
|
5
|
+
'cookieConsentForm.languageFormDescription',
|
|
6
|
+
'cookieConsentForm.title',
|
|
7
|
+
'cookie-policy-page',
|
|
8
|
+
'customize',
|
|
9
|
+
'rejectAll',
|
|
10
|
+
'save',
|
|
11
|
+
],
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { COUNTRY_CODES, EXCLUDED_TRANSLATION_CODES, isPageMenu, isUndefined } from '../../../../../index.js';
|
|
2
|
+
export const composeExcludedTranslationCodes = (page, options) => {
|
|
3
|
+
let excludedIds = [];
|
|
4
|
+
if (options) {
|
|
5
|
+
const { isAuthenticated, excludeCookieConsent, remainingCountryCodes } = options;
|
|
6
|
+
if (!isUndefined(isAuthenticated)) {
|
|
7
|
+
excludedIds.push(isAuthenticated ? 'login' : 'logout');
|
|
8
|
+
}
|
|
9
|
+
if (excludeCookieConsent) {
|
|
10
|
+
excludedIds = excludedIds.concat(EXCLUDED_TRANSLATION_CODES.cookieConsent);
|
|
11
|
+
}
|
|
12
|
+
if (remainingCountryCodes) {
|
|
13
|
+
excludedIds = excludedIds.concat(COUNTRY_CODES.filter((countryCode) => !remainingCountryCodes.includes(countryCode)).map((countryCode) => `countryCode.${countryCode}`));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
if (isPageMenu(page)) {
|
|
17
|
+
excludedIds.push(`pageMenu.${page}`);
|
|
18
|
+
}
|
|
19
|
+
return excludedIds;
|
|
20
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CountryCode, Page, TranslationCode } from '../../../../../index.js';
|
|
2
|
+
export type ComposeExcludedTranslationCodes = (page: Page, options?: ExcludedTranslationCodeOptions) => TranslationCode[];
|
|
3
|
+
export type ExcludedTranslationCodeOptions = {
|
|
4
|
+
isAuthenticated?: boolean;
|
|
5
|
+
excludeCookieConsent?: boolean;
|
|
6
|
+
remainingCountryCodes?: CountryCode[];
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLE_CARD_TRANSLATION_CODES: readonly ["imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute"];
|