@via-profit/ui-kit 0.1.0-rc.52 → 0.1.0-rc.58
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/Autocomplete/AutocompleteContainer.d.ts +12 -42
- package/Autocomplete/AutocompleteContainer.js +67 -28
- package/Autocomplete/AutocompleteTextField.d.ts +15 -0
- package/Autocomplete/AutocompleteTextField.js +9 -0
- package/Autocomplete/index.d.ts +2 -0
- package/Autocomplete/index.js +3 -0
- package/ClickOutside/index.d.ts +1 -0
- package/ClickOutside/index.js +4 -3
- package/CountryFlags/index.d.ts +257 -0
- package/CountryFlags/index.js +524 -0
- package/Highlighted/index.d.ts +1 -0
- package/Highlighted/index.js +6 -1
- package/Menu/MenuContainer.d.ts +4 -0
- package/Menu/MenuContainer.js +1 -1
- package/Menu/MenuList.js +0 -1
- package/PhoneField/index.d.ts +1 -1
- package/PhoneField/index.js +5 -2
- package/Popper/index.js +1 -0
- package/TextField/index.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Value, OnRequestClose, GetOptionSelected } from '../Menu';
|
|
3
|
-
import {
|
|
3
|
+
import { AutocompleteTextFieldProps } from './AutocompleteTextField';
|
|
4
4
|
import type { AnchorPos } from '../Popper';
|
|
5
5
|
import type { MenuItemCommonProps } from '../Menu/MenuItem';
|
|
6
|
-
|
|
7
|
-
type AutocompleteInputProps = Omit<NativeInputProps, 'onChange' | 'value' | 'children'>;
|
|
8
|
-
export interface AutocompleteProps<T, Multiple extends boolean | undefined = undefined> extends AutocompleteInputProps {
|
|
6
|
+
export interface AutocompleteProps<T, Multiple extends boolean | undefined = undefined> extends Omit<AutocompleteTextFieldProps, 'value' | 'onChange' | 'children' | 'overrides'> {
|
|
9
7
|
readonly items: readonly T[];
|
|
10
8
|
readonly value: Value<T, Multiple>;
|
|
11
9
|
/**
|
|
@@ -40,44 +38,6 @@ export interface AutocompleteProps<T, Multiple extends boolean | undefined = und
|
|
|
40
38
|
* items render function
|
|
41
39
|
*/
|
|
42
40
|
readonly children: Children<T>;
|
|
43
|
-
/**
|
|
44
|
-
* Field placeholder
|
|
45
|
-
*/
|
|
46
|
-
readonly placeholder?: string;
|
|
47
|
-
/**
|
|
48
|
-
* If is true then the asterisk will be displayed in label\
|
|
49
|
-
* If is ReactNode then ReactNode will be displayed in label
|
|
50
|
-
*/
|
|
51
|
-
readonly requiredAsterisk?: boolean | React.ReactNode;
|
|
52
|
-
/**
|
|
53
|
-
* If true then TextField will be filled in full width on horizontal
|
|
54
|
-
*/
|
|
55
|
-
readonly fullWidth?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Native <input> element reference
|
|
58
|
-
*/
|
|
59
|
-
readonly inputRef?: React.MutableRefObject<HTMLInputElement | null> | React.RefCallback<HTMLInputElement>;
|
|
60
|
-
/**
|
|
61
|
-
* End icon component
|
|
62
|
-
*/
|
|
63
|
-
readonly endIcon?: React.ReactElement;
|
|
64
|
-
/**
|
|
65
|
-
* Start icon component
|
|
66
|
-
*/
|
|
67
|
-
readonly startIcon?: React.ReactElement;
|
|
68
|
-
/**
|
|
69
|
-
* Field label text or element
|
|
70
|
-
*/
|
|
71
|
-
readonly label?: TextFieldProps['label'];
|
|
72
|
-
/**
|
|
73
|
-
* If true then `errorText` value will be displayed under the TextField element
|
|
74
|
-
*/
|
|
75
|
-
readonly error?: TextFieldProps['error'];
|
|
76
|
-
/**
|
|
77
|
-
* Text or ReactNode to show in error element\
|
|
78
|
-
* Will be displaed only if `error` property is tru
|
|
79
|
-
*/
|
|
80
|
-
readonly errorText?: TextFieldProps['errorText'];
|
|
81
41
|
readonly filterItems?: FilterItems<T>;
|
|
82
42
|
readonly onChange?: OnChange<T, Multiple>;
|
|
83
43
|
readonly selectedItemToString: ItemToString<T, Multiple>;
|
|
@@ -85,6 +45,16 @@ export interface AutocompleteProps<T, Multiple extends boolean | undefined = und
|
|
|
85
45
|
readonly onRequestClose?: OnRequestClose;
|
|
86
46
|
readonly onInputChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
87
47
|
readonly onRequestOpen?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Overridable components map
|
|
50
|
+
*/
|
|
51
|
+
readonly overrides?: AutocompleteOverrides;
|
|
52
|
+
}
|
|
53
|
+
export interface AutocompleteOverrides {
|
|
54
|
+
/**
|
|
55
|
+
* Element wrapper
|
|
56
|
+
*/
|
|
57
|
+
readonly TextField?: React.ForwardRefExoticComponent<AutocompleteTextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
88
58
|
}
|
|
89
59
|
export type Children<T> = (data: {
|
|
90
60
|
item: T;
|
|
@@ -39,18 +39,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
const react_1 = __importDefault(require("react"));
|
|
41
41
|
const Menu_1 = __importDefault(require("../Menu"));
|
|
42
|
-
const
|
|
42
|
+
const AutocompleteTextField_1 = __importDefault(require("./AutocompleteTextField"));
|
|
43
43
|
const Button_1 = __importDefault(require("../Button"));
|
|
44
44
|
const Spinner_1 = __importDefault(require("../LoadingIndicator/Spinner"));
|
|
45
|
-
const IconClear_1 = __importDefault(require("./IconClear"));
|
|
46
45
|
const context_1 = __importStar(require("./context"));
|
|
46
|
+
const IconClear_1 = __importDefault(require("./IconClear"));
|
|
47
|
+
const ClickOutside_1 = require("../ClickOutside");
|
|
47
48
|
const Autocomplete = react_1.default.forwardRef((props, ref) => {
|
|
48
|
-
const { items, value, multiple, isOpen = false, isLoading = false, clearIfNotSelected = true, anchorPos = 'auto-start-end', requiredAsterisk, startIcon, fullWidth, placeholder, label, error, errorText, inputRef, filterItems, children, onChange, selectedItemToString, onInputChange, getOptionSelected, onRequestOpen = () => undefined, onRequestClose = () => undefined } = props, nativeInputProps = __rest(props, ["items", "value", "multiple", "isOpen", "isLoading", "clearIfNotSelected", "anchorPos", "requiredAsterisk", "startIcon", "fullWidth", "placeholder", "label", "error", "errorText", "inputRef", "filterItems", "children", "onChange", "selectedItemToString", "onInputChange", "getOptionSelected", "onRequestOpen", "onRequestClose"]);
|
|
49
|
+
const { items, value, multiple, isOpen = false, isLoading = false, clearIfNotSelected = true, anchorPos = 'auto-start-end', requiredAsterisk, startIcon, fullWidth, placeholder, label, error, errorText, inputRef, filterItems, children, onChange, selectedItemToString, onInputChange, getOptionSelected, onRequestOpen = () => undefined, onRequestClose = () => undefined, overrides } = props, nativeInputProps = __rest(props, ["items", "value", "multiple", "isOpen", "isLoading", "clearIfNotSelected", "anchorPos", "requiredAsterisk", "startIcon", "fullWidth", "placeholder", "label", "error", "errorText", "inputRef", "filterItems", "children", "onChange", "selectedItemToString", "onInputChange", "getOptionSelected", "onRequestOpen", "onRequestClose", "overrides"]);
|
|
49
50
|
const menuRef = react_1.default.useRef(null);
|
|
50
51
|
const fieldInputRef = react_1.default.useRef(null);
|
|
51
52
|
const isFocusedRef = react_1.default.useRef(false);
|
|
52
53
|
const { state, dispatch } = (0, context_1.default)();
|
|
53
54
|
const { currentOpen, filteredItems, inputValue, currentValue, anchorElement, currentLoading } = state;
|
|
55
|
+
const overridesMap = react_1.default.useMemo(() => (Object.assign({ TextField: AutocompleteTextField_1.default }, overrides)), [overrides]);
|
|
54
56
|
const clear = react_1.default.useCallback(() => {
|
|
55
57
|
if (onChange) {
|
|
56
58
|
onChange((multiple ? [] : null));
|
|
@@ -154,8 +156,34 @@ const Autocomplete = react_1.default.forwardRef((props, ref) => {
|
|
|
154
156
|
react_1.default.useEffect(() => {
|
|
155
157
|
dispatch((0, context_1.actionSetPartial)({ currentOpen: isOpen, currentLoading: isLoading, filteredItems: items }));
|
|
156
158
|
}, [isOpen, isLoading, items, dispatch]);
|
|
159
|
+
react_1.default.useEffect(() => {
|
|
160
|
+
const mouseDownEvent = (event) => {
|
|
161
|
+
var _a;
|
|
162
|
+
let parentElem = event.target;
|
|
163
|
+
let needToClose = true;
|
|
164
|
+
while (parentElem && 'parentNode' in parentElem) {
|
|
165
|
+
if (parentElem === anchorElement || parentElem === ((_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.getListElement())) {
|
|
166
|
+
needToClose = false;
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
parentElem = parentElem.parentNode;
|
|
170
|
+
}
|
|
171
|
+
if (needToClose) {
|
|
172
|
+
onRequestClose(event);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
window.document.addEventListener(ClickOutside_1.mouseEventMap.onMouseDown, mouseDownEvent);
|
|
176
|
+
return () => {
|
|
177
|
+
window.document.removeEventListener(ClickOutside_1.mouseEventMap.onMouseDown, mouseDownEvent);
|
|
178
|
+
};
|
|
179
|
+
}, [onRequestClose, anchorElement]);
|
|
157
180
|
return (react_1.default.createElement("div", null,
|
|
158
|
-
react_1.default.useMemo(() => (react_1.default.createElement(
|
|
181
|
+
react_1.default.useMemo(() => (react_1.default.createElement(overridesMap.TextField, Object.assign({ placeholder: placeholder, label: label, error: error, requiredAsterisk: requiredAsterisk, errorText: errorText, fullWidth: fullWidth, startIcon: startIcon, isLoading: currentLoading, endIcon: react_1.default.createElement(Button_1.default, { iconOnly: true, type: "button", onClick: () => (currentLoading ? 'undefined' : clear()) }, currentLoading ? react_1.default.createElement(Spinner_1.default, null) : react_1.default.createElement(IconClear_1.default, null)) }, nativeInputProps, { onKeyDown: event => {
|
|
182
|
+
inputKeydownEvent(event);
|
|
183
|
+
if (typeof nativeInputProps.onKeyDown === 'function') {
|
|
184
|
+
nativeInputProps.onKeyDown(event);
|
|
185
|
+
}
|
|
186
|
+
}, ref: el => {
|
|
159
187
|
if (anchorElement !== el) {
|
|
160
188
|
dispatch((0, context_1.actionSetPartial)({ anchorElement: el }));
|
|
161
189
|
}
|
|
@@ -167,26 +195,25 @@ const Autocomplete = react_1.default.forwardRef((props, ref) => {
|
|
|
167
195
|
if (inputRef && typeof inputRef === 'object') {
|
|
168
196
|
inputRef.current = el;
|
|
169
197
|
}
|
|
170
|
-
}, value: inputValue, onBlur:
|
|
198
|
+
}, value: inputValue, onBlur: event => {
|
|
171
199
|
isFocusedRef.current = false;
|
|
172
|
-
if (
|
|
173
|
-
|
|
174
|
-
inputValue: multiple
|
|
175
|
-
? ''
|
|
176
|
-
: value !== null
|
|
177
|
-
? selectedItemToString(value)
|
|
178
|
-
: '',
|
|
179
|
-
}));
|
|
200
|
+
if (typeof nativeInputProps.onBlur === 'function') {
|
|
201
|
+
nativeInputProps.onBlur(event);
|
|
180
202
|
}
|
|
181
203
|
}, onFocus: event => {
|
|
182
204
|
isFocusedRef.current = true;
|
|
183
205
|
onRequestOpen(event);
|
|
206
|
+
if (typeof nativeInputProps.onFocus === 'function') {
|
|
207
|
+
nativeInputProps.onFocus(event);
|
|
208
|
+
}
|
|
184
209
|
}, onClick: event => {
|
|
185
210
|
if (isFocusedRef.current) {
|
|
186
211
|
onRequestOpen(event);
|
|
187
212
|
}
|
|
213
|
+
if (typeof nativeInputProps.onClick === 'function') {
|
|
214
|
+
nativeInputProps.onClick(event);
|
|
215
|
+
}
|
|
188
216
|
}, onChange: event => {
|
|
189
|
-
dispatch((0, context_1.actionSetPartial)({ inputValue: event.currentTarget.value }));
|
|
190
217
|
if (typeof onInputChange === 'function') {
|
|
191
218
|
onInputChange(event);
|
|
192
219
|
}
|
|
@@ -197,7 +224,9 @@ const Autocomplete = react_1.default.forwardRef((props, ref) => {
|
|
|
197
224
|
: filterItems(items, { query, inputValue });
|
|
198
225
|
dispatch((0, context_1.actionSetPartial)({
|
|
199
226
|
filteredItems: newItems,
|
|
227
|
+
inputValue: event.currentTarget.value,
|
|
200
228
|
}));
|
|
229
|
+
// dispatch(actionSetPartial({ inputValue: event.currentTarget.value }));
|
|
201
230
|
} }))), [
|
|
202
231
|
placeholder,
|
|
203
232
|
label,
|
|
@@ -210,39 +239,49 @@ const Autocomplete = react_1.default.forwardRef((props, ref) => {
|
|
|
210
239
|
inputKeydownEvent,
|
|
211
240
|
inputValue,
|
|
212
241
|
clear,
|
|
242
|
+
overridesMap,
|
|
213
243
|
anchorElement,
|
|
214
244
|
dispatch,
|
|
215
245
|
inputRef,
|
|
216
|
-
clearIfNotSelected,
|
|
217
|
-
multiple,
|
|
218
246
|
nativeInputProps,
|
|
219
|
-
value,
|
|
220
|
-
selectedItemToString,
|
|
221
247
|
onRequestOpen,
|
|
222
248
|
onInputChange,
|
|
223
249
|
filterItems,
|
|
224
250
|
items,
|
|
225
251
|
]),
|
|
226
|
-
react_1.default.useMemo(() => (react_1.default.createElement(Menu_1.default, { ref: menuRef, anchorPos: anchorPos, multiple: multiple, items: filteredItems, value: currentValue, isOpen: currentOpen && filteredItems.length > 0, autofocus: false, anchorElement: anchorElement, closeOutsideClick:
|
|
252
|
+
react_1.default.useMemo(() => (react_1.default.createElement(Menu_1.default, { ref: menuRef, anchorPos: anchorPos, multiple: multiple, items: filteredItems, value: currentValue, isOpen: currentOpen && filteredItems.length > 0, autofocus: false, anchorElement: anchorElement, closeOutsideClick: false, getOptionSelected: getOptionSelected, onSelectItem: item => {
|
|
227
253
|
if (typeof onChange === 'function') {
|
|
228
254
|
onChange(item);
|
|
229
255
|
}
|
|
230
256
|
}, closeOnSelect: multiple ? false : true, onRequestClose: evt => {
|
|
257
|
+
if (clearIfNotSelected) {
|
|
258
|
+
dispatch((0, context_1.actionSetPartial)({
|
|
259
|
+
inputValue: multiple
|
|
260
|
+
? ''
|
|
261
|
+
: value !== null
|
|
262
|
+
? selectedItemToString(value)
|
|
263
|
+
: '',
|
|
264
|
+
}));
|
|
265
|
+
}
|
|
231
266
|
if ((evt === null || evt === void 0 ? void 0 : evt.target) !== anchorElement) {
|
|
232
267
|
onRequestClose(evt);
|
|
233
268
|
}
|
|
234
269
|
} }, ({ index, item }, itemProps) => children({ index, item: item, inputValue }, itemProps))), [
|
|
235
|
-
anchorElement,
|
|
236
|
-
currentOpen,
|
|
237
|
-
currentValue,
|
|
238
|
-
filteredItems,
|
|
239
|
-
inputValue,
|
|
240
|
-
multiple,
|
|
241
270
|
anchorPos,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
271
|
+
multiple,
|
|
272
|
+
filteredItems,
|
|
273
|
+
currentValue,
|
|
274
|
+
currentOpen,
|
|
275
|
+
anchorElement,
|
|
245
276
|
getOptionSelected,
|
|
277
|
+
onChange,
|
|
278
|
+
clearIfNotSelected,
|
|
279
|
+
dispatch,
|
|
280
|
+
value,
|
|
281
|
+
selectedItemToString,
|
|
282
|
+
onRequestClose,
|
|
283
|
+
children,
|
|
284
|
+
inputValue,
|
|
246
285
|
])));
|
|
247
286
|
});
|
|
248
287
|
Autocomplete.displayName = 'Autocomplete';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextFieldProps } from '../TextField';
|
|
3
|
+
export interface AutocompleteTextFieldProps extends TextFieldProps {
|
|
4
|
+
/**
|
|
5
|
+
* Text field loading state\
|
|
6
|
+
* If `true` then text field has been contained the loading indicator, otherwise - nop
|
|
7
|
+
*/
|
|
8
|
+
readonly isLoading?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Native <input> element reference
|
|
11
|
+
*/
|
|
12
|
+
readonly inputRef?: React.MutableRefObject<HTMLInputElement | null> | React.RefCallback<HTMLInputElement>;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: React.ForwardRefExoticComponent<AutocompleteTextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
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 react_1 = __importDefault(require("react"));
|
|
7
|
+
const TextField_1 = __importDefault(require("../TextField"));
|
|
8
|
+
const AutocompletetextField = (props, ref) => react_1.default.createElement(TextField_1.default, Object.assign({}, props, { ref: ref }));
|
|
9
|
+
exports.default = react_1.default.forwardRef(AutocompletetextField);
|
package/Autocomplete/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import AutocompleteItem from '../Menu/MenuItem';
|
|
2
3
|
import { AutocompleteProps, AutocompleteRef } from './AutocompleteContainer';
|
|
3
4
|
export * from './AutocompleteContainer';
|
|
5
|
+
export { AutocompleteItem };
|
|
4
6
|
declare const _default: <T, Multiple extends boolean | undefined = undefined>(props: AutocompleteProps<T, Multiple> & {
|
|
5
7
|
ref?: React.Ref<AutocompleteRef> | undefined;
|
|
6
8
|
}) => JSX.Element;
|
package/Autocomplete/index.js
CHANGED
|
@@ -28,7 +28,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.AutocompleteItem = void 0;
|
|
31
32
|
const react_1 = __importDefault(require("react"));
|
|
33
|
+
const MenuItem_1 = __importDefault(require("../Menu/MenuItem"));
|
|
34
|
+
exports.AutocompleteItem = MenuItem_1.default;
|
|
32
35
|
const AutocompleteContainer_1 = __importDefault(require("./AutocompleteContainer"));
|
|
33
36
|
const context_1 = require("./context");
|
|
34
37
|
__exportStar(require("./AutocompleteContainer"), exports);
|
package/ClickOutside/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface ClickOutsideProps {
|
|
|
17
17
|
readonly mouseEvent?: OutsideMouseEventName | false;
|
|
18
18
|
}
|
|
19
19
|
type OutsideMouseEventName = 'onClick' | 'onMouseDown' | 'onMouseUp';
|
|
20
|
+
export declare const mouseEventMap: Record<OutsideMouseEventName, 'click' | 'mousedown' | 'mouseup'>;
|
|
20
21
|
export type OnOutsideClick = (event?: React.MouseEvent<HTMLElement> | MouseEvent) => void;
|
|
21
22
|
declare const ClickOutside: React.FC<ClickOutsideProps>;
|
|
22
23
|
export default ClickOutside;
|
package/ClickOutside/index.js
CHANGED
|
@@ -3,8 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.mouseEventMap = void 0;
|
|
6
7
|
const react_1 = __importDefault(require("react"));
|
|
7
|
-
|
|
8
|
+
exports.mouseEventMap = {
|
|
8
9
|
onClick: 'click',
|
|
9
10
|
onMouseDown: 'mousedown',
|
|
10
11
|
onMouseUp: 'mouseup',
|
|
@@ -28,11 +29,11 @@ const ClickOutside = props => {
|
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
31
|
if (mouseEvent) {
|
|
31
|
-
window.document.addEventListener(mouseEventMap[mouseEvent], mouseDownEvent);
|
|
32
|
+
window.document.addEventListener(exports.mouseEventMap[mouseEvent], mouseDownEvent);
|
|
32
33
|
}
|
|
33
34
|
return () => {
|
|
34
35
|
if (mouseEvent) {
|
|
35
|
-
window.document.removeEventListener(mouseEventMap[mouseEvent], mouseDownEvent);
|
|
36
|
+
window.document.removeEventListener(exports.mouseEventMap[mouseEvent], mouseDownEvent);
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
39
|
}, [onOutsideClick, mouseEvent]);
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import AC from './AC';
|
|
2
|
+
import AD from './AD';
|
|
3
|
+
import AE from './AE';
|
|
4
|
+
import AF from './AF';
|
|
5
|
+
import AG from './AG';
|
|
6
|
+
import AI from './AI';
|
|
7
|
+
import AL from './AL';
|
|
8
|
+
import AM from './AM';
|
|
9
|
+
import AO from './AO';
|
|
10
|
+
import AQ from './AQ';
|
|
11
|
+
import AR from './AR';
|
|
12
|
+
import AS from './AS';
|
|
13
|
+
import AT from './AT';
|
|
14
|
+
import AU from './AU';
|
|
15
|
+
import AW from './AW';
|
|
16
|
+
import AX from './AX';
|
|
17
|
+
import AZ from './AZ';
|
|
18
|
+
import BA from './BA';
|
|
19
|
+
import BB from './BB';
|
|
20
|
+
import BD from './BD';
|
|
21
|
+
import BE from './BE';
|
|
22
|
+
import BF from './BF';
|
|
23
|
+
import BG from './BG';
|
|
24
|
+
import BH from './BH';
|
|
25
|
+
import BI from './BI';
|
|
26
|
+
import BJ from './BJ';
|
|
27
|
+
import BL from './BL';
|
|
28
|
+
import BM from './BM';
|
|
29
|
+
import BN from './BN';
|
|
30
|
+
import BO from './BO';
|
|
31
|
+
import BQ from './BQ';
|
|
32
|
+
import BR from './BR';
|
|
33
|
+
import BS from './BS';
|
|
34
|
+
import BT from './BT';
|
|
35
|
+
import BV from './BV';
|
|
36
|
+
import BW from './BW';
|
|
37
|
+
import BY from './BY';
|
|
38
|
+
import BZ from './BZ';
|
|
39
|
+
import CA from './CA';
|
|
40
|
+
import CC from './CC';
|
|
41
|
+
import CD from './CD';
|
|
42
|
+
import CF from './CF';
|
|
43
|
+
import CG from './CG';
|
|
44
|
+
import CH from './CH';
|
|
45
|
+
import CI from './CI';
|
|
46
|
+
import CK from './CK';
|
|
47
|
+
import CL from './CL';
|
|
48
|
+
import CM from './CM';
|
|
49
|
+
import CN from './CN';
|
|
50
|
+
import CO from './CO';
|
|
51
|
+
import CR from './CR';
|
|
52
|
+
import CU from './CU';
|
|
53
|
+
import CV from './CV';
|
|
54
|
+
import CW from './CW';
|
|
55
|
+
import CX from './CX';
|
|
56
|
+
import CY from './CY';
|
|
57
|
+
import CZ from './CZ';
|
|
58
|
+
import DE from './DE';
|
|
59
|
+
import DJ from './DJ';
|
|
60
|
+
import DK from './DK';
|
|
61
|
+
import DM from './DM';
|
|
62
|
+
import DO from './DO';
|
|
63
|
+
import DZ from './DZ';
|
|
64
|
+
import EC from './EC';
|
|
65
|
+
import EE from './EE';
|
|
66
|
+
import EG from './EG';
|
|
67
|
+
import EH from './EH';
|
|
68
|
+
import ER from './ER';
|
|
69
|
+
import ES from './ES';
|
|
70
|
+
import ET from './ET';
|
|
71
|
+
import EU from './EU';
|
|
72
|
+
import FI from './FI';
|
|
73
|
+
import FJ from './FJ';
|
|
74
|
+
import FK from './FK';
|
|
75
|
+
import FM from './FM';
|
|
76
|
+
import FO from './FO';
|
|
77
|
+
import FR from './FR';
|
|
78
|
+
import GA from './GA';
|
|
79
|
+
import GB from './GB';
|
|
80
|
+
import GD from './GD';
|
|
81
|
+
import GEAB from './GEAB';
|
|
82
|
+
import GEOS from './GEOS';
|
|
83
|
+
import GE from './GE';
|
|
84
|
+
import GF from './GF';
|
|
85
|
+
import GG from './GG';
|
|
86
|
+
import GH from './GH';
|
|
87
|
+
import GI from './GI';
|
|
88
|
+
import GL from './GL';
|
|
89
|
+
import GM from './GM';
|
|
90
|
+
import GN from './GN';
|
|
91
|
+
import GP from './GP';
|
|
92
|
+
import GQ from './GQ';
|
|
93
|
+
import GR from './GR';
|
|
94
|
+
import GS from './GS';
|
|
95
|
+
import GT from './GT';
|
|
96
|
+
import GU from './GU';
|
|
97
|
+
import GW from './GW';
|
|
98
|
+
import GY from './GY';
|
|
99
|
+
import HK from './HK';
|
|
100
|
+
import HM from './HM';
|
|
101
|
+
import HN from './HN';
|
|
102
|
+
import HR from './HR';
|
|
103
|
+
import HT from './HT';
|
|
104
|
+
import HU from './HU';
|
|
105
|
+
import IC from './IC';
|
|
106
|
+
import ID from './ID';
|
|
107
|
+
import IE from './IE';
|
|
108
|
+
import IL from './IL';
|
|
109
|
+
import IM from './IM';
|
|
110
|
+
import IN from './IN';
|
|
111
|
+
import IO from './IO';
|
|
112
|
+
import IQ from './IQ';
|
|
113
|
+
import IR from './IR';
|
|
114
|
+
import IS from './IS';
|
|
115
|
+
import IT from './IT';
|
|
116
|
+
import JE from './JE';
|
|
117
|
+
import JM from './JM';
|
|
118
|
+
import JO from './JO';
|
|
119
|
+
import JP from './JP';
|
|
120
|
+
import KE from './KE';
|
|
121
|
+
import KG from './KG';
|
|
122
|
+
import KH from './KH';
|
|
123
|
+
import KI from './KI';
|
|
124
|
+
import KM from './KM';
|
|
125
|
+
import KN from './KN';
|
|
126
|
+
import KP from './KP';
|
|
127
|
+
import KR from './KR';
|
|
128
|
+
import KW from './KW';
|
|
129
|
+
import KY from './KY';
|
|
130
|
+
import KZ from './KZ';
|
|
131
|
+
import LA from './LA';
|
|
132
|
+
import LB from './LB';
|
|
133
|
+
import LC from './LC';
|
|
134
|
+
import LI from './LI';
|
|
135
|
+
import LK from './LK';
|
|
136
|
+
import LR from './LR';
|
|
137
|
+
import LS from './LS';
|
|
138
|
+
import LT from './LT';
|
|
139
|
+
import LU from './LU';
|
|
140
|
+
import LV from './LV';
|
|
141
|
+
import LY from './LY';
|
|
142
|
+
import MA from './MA';
|
|
143
|
+
import MC from './MC';
|
|
144
|
+
import MD from './MD';
|
|
145
|
+
import ME from './ME';
|
|
146
|
+
import MF from './MF';
|
|
147
|
+
import MG from './MG';
|
|
148
|
+
import MH from './MH';
|
|
149
|
+
import MK from './MK';
|
|
150
|
+
import ML from './ML';
|
|
151
|
+
import MM from './MM';
|
|
152
|
+
import MN from './MN';
|
|
153
|
+
import MO from './MO';
|
|
154
|
+
import MP from './MP';
|
|
155
|
+
import MQ from './MQ';
|
|
156
|
+
import MR from './MR';
|
|
157
|
+
import MS from './MS';
|
|
158
|
+
import MT from './MT';
|
|
159
|
+
import MU from './MU';
|
|
160
|
+
import MV from './MV';
|
|
161
|
+
import MW from './MW';
|
|
162
|
+
import MX from './MX';
|
|
163
|
+
import MY from './MY';
|
|
164
|
+
import MZ from './MZ';
|
|
165
|
+
import NA from './NA';
|
|
166
|
+
import NC from './NC';
|
|
167
|
+
import NE from './NE';
|
|
168
|
+
import NF from './NF';
|
|
169
|
+
import NG from './NG';
|
|
170
|
+
import NI from './NI';
|
|
171
|
+
import NL from './NL';
|
|
172
|
+
import NO from './NO';
|
|
173
|
+
import NP from './NP';
|
|
174
|
+
import NR from './NR';
|
|
175
|
+
import NU from './NU';
|
|
176
|
+
import NZ from './NZ';
|
|
177
|
+
import OM from './OM';
|
|
178
|
+
import PA from './PA';
|
|
179
|
+
import PE from './PE';
|
|
180
|
+
import PF from './PF';
|
|
181
|
+
import PG from './PG';
|
|
182
|
+
import PH from './PH';
|
|
183
|
+
import PK from './PK';
|
|
184
|
+
import PL from './PL';
|
|
185
|
+
import PM from './PM';
|
|
186
|
+
import PN from './PN';
|
|
187
|
+
import PR from './PR';
|
|
188
|
+
import PS from './PS';
|
|
189
|
+
import PT from './PT';
|
|
190
|
+
import PW from './PW';
|
|
191
|
+
import PY from './PY';
|
|
192
|
+
import QA from './QA';
|
|
193
|
+
import RE from './RE';
|
|
194
|
+
import RO from './RO';
|
|
195
|
+
import RS from './RS';
|
|
196
|
+
import RU from './RU';
|
|
197
|
+
import RW from './RW';
|
|
198
|
+
import SA from './SA';
|
|
199
|
+
import SB from './SB';
|
|
200
|
+
import SC from './SC';
|
|
201
|
+
import SD from './SD';
|
|
202
|
+
import SE from './SE';
|
|
203
|
+
import SG from './SG';
|
|
204
|
+
import SH from './SH';
|
|
205
|
+
import SI from './SI';
|
|
206
|
+
import SJ from './SJ';
|
|
207
|
+
import SK from './SK';
|
|
208
|
+
import SL from './SL';
|
|
209
|
+
import SM from './SM';
|
|
210
|
+
import SN from './SN';
|
|
211
|
+
import SO from './SO';
|
|
212
|
+
import SR from './SR';
|
|
213
|
+
import SS from './SS';
|
|
214
|
+
import ST from './ST';
|
|
215
|
+
import SV from './SV';
|
|
216
|
+
import SX from './SX';
|
|
217
|
+
import SY from './SY';
|
|
218
|
+
import SZ from './SZ';
|
|
219
|
+
import TA from './TA';
|
|
220
|
+
import TC from './TC';
|
|
221
|
+
import TD from './TD';
|
|
222
|
+
import TF from './TF';
|
|
223
|
+
import TG from './TG';
|
|
224
|
+
import TH from './TH';
|
|
225
|
+
import TJ from './TJ';
|
|
226
|
+
import TK from './TK';
|
|
227
|
+
import TL from './TL';
|
|
228
|
+
import TM from './TM';
|
|
229
|
+
import TN from './TN';
|
|
230
|
+
import TO from './TO';
|
|
231
|
+
import TR from './TR';
|
|
232
|
+
import TT from './TT';
|
|
233
|
+
import TV from './TV';
|
|
234
|
+
import TW from './TW';
|
|
235
|
+
import TZ from './TZ';
|
|
236
|
+
import UA from './UA';
|
|
237
|
+
import UG from './UG';
|
|
238
|
+
import UM from './UM';
|
|
239
|
+
import US from './US';
|
|
240
|
+
import UY from './UY';
|
|
241
|
+
import UZ from './UZ';
|
|
242
|
+
import VA from './VA';
|
|
243
|
+
import VC from './VC';
|
|
244
|
+
import VE from './VE';
|
|
245
|
+
import VG from './VG';
|
|
246
|
+
import VI from './VI';
|
|
247
|
+
import VN from './VN';
|
|
248
|
+
import VU from './VU';
|
|
249
|
+
import WF from './WF';
|
|
250
|
+
import WS from './WS';
|
|
251
|
+
import XK from './XK';
|
|
252
|
+
import YE from './YE';
|
|
253
|
+
import YT from './YT';
|
|
254
|
+
import ZA from './ZA';
|
|
255
|
+
import ZM from './ZM';
|
|
256
|
+
import ZW from './ZW';
|
|
257
|
+
export { AC, AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, EU, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GEAB, GEOS, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, IC, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TA, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW, };
|
|
@@ -0,0 +1,524 @@
|
|
|
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
|
+
exports.CO = exports.CN = exports.CM = exports.CL = exports.CK = exports.CI = exports.CH = exports.CG = exports.CF = exports.CD = exports.CC = exports.CA = exports.BZ = exports.BY = exports.BW = exports.BV = exports.BT = exports.BS = exports.BR = exports.BQ = exports.BO = exports.BN = exports.BM = exports.BL = exports.BJ = exports.BI = exports.BH = exports.BG = exports.BF = exports.BE = exports.BD = exports.BB = exports.BA = exports.AZ = exports.AX = exports.AW = exports.AU = exports.AT = exports.AS = exports.AR = exports.AQ = exports.AO = exports.AM = exports.AL = exports.AI = exports.AG = exports.AF = exports.AE = exports.AD = exports.AC = void 0;
|
|
7
|
+
exports.HM = exports.HK = exports.GY = exports.GW = exports.GU = exports.GT = exports.GS = exports.GR = exports.GQ = exports.GP = exports.GN = exports.GM = exports.GL = exports.GI = exports.GH = exports.GG = exports.GF = exports.GE = exports.GEOS = exports.GEAB = exports.GD = exports.GB = exports.GA = exports.FR = exports.FO = exports.FM = exports.FK = exports.FJ = exports.FI = exports.EU = exports.ET = exports.ES = exports.ER = exports.EH = exports.EG = exports.EE = exports.EC = exports.DZ = exports.DO = exports.DM = exports.DK = exports.DJ = exports.DE = exports.CZ = exports.CY = exports.CX = exports.CW = exports.CV = exports.CU = exports.CR = void 0;
|
|
8
|
+
exports.ML = exports.MK = exports.MH = exports.MG = exports.MF = exports.ME = exports.MD = exports.MC = exports.MA = exports.LY = exports.LV = exports.LU = exports.LT = exports.LS = exports.LR = exports.LK = exports.LI = exports.LC = exports.LB = exports.LA = exports.KZ = exports.KY = exports.KW = exports.KR = exports.KP = exports.KN = exports.KM = exports.KI = exports.KH = exports.KG = exports.KE = exports.JP = exports.JO = exports.JM = exports.JE = exports.IT = exports.IS = exports.IR = exports.IQ = exports.IO = exports.IN = exports.IM = exports.IL = exports.IE = exports.ID = exports.IC = exports.HU = exports.HT = exports.HR = exports.HN = void 0;
|
|
9
|
+
exports.SC = exports.SB = exports.SA = exports.RW = exports.RU = exports.RS = exports.RO = exports.RE = exports.QA = exports.PY = exports.PW = exports.PT = exports.PS = exports.PR = exports.PN = exports.PM = exports.PL = exports.PK = exports.PH = exports.PG = exports.PF = exports.PE = exports.PA = exports.OM = exports.NZ = exports.NU = exports.NR = exports.NP = exports.NO = exports.NL = exports.NI = exports.NG = exports.NF = exports.NE = exports.NC = exports.NA = exports.MZ = exports.MY = exports.MX = exports.MW = exports.MV = exports.MU = exports.MT = exports.MS = exports.MR = exports.MQ = exports.MP = exports.MO = exports.MN = exports.MM = void 0;
|
|
10
|
+
exports.WS = exports.WF = exports.VU = exports.VN = exports.VI = exports.VG = exports.VE = exports.VC = exports.VA = exports.UZ = exports.UY = exports.US = exports.UM = exports.UG = exports.UA = exports.TZ = exports.TW = exports.TV = exports.TT = exports.TR = exports.TO = exports.TN = exports.TM = exports.TL = exports.TK = exports.TJ = exports.TH = exports.TG = exports.TF = exports.TD = exports.TC = exports.TA = exports.SZ = exports.SY = exports.SX = exports.SV = exports.ST = exports.SS = exports.SR = exports.SO = exports.SN = exports.SM = exports.SL = exports.SK = exports.SJ = exports.SI = exports.SH = exports.SG = exports.SE = exports.SD = void 0;
|
|
11
|
+
exports.ZW = exports.ZM = exports.ZA = exports.YT = exports.YE = exports.XK = void 0;
|
|
12
|
+
/* eslint-disable import/max-dependencies */
|
|
13
|
+
const AC_1 = __importDefault(require("./AC"));
|
|
14
|
+
exports.AC = AC_1.default;
|
|
15
|
+
const AD_1 = __importDefault(require("./AD"));
|
|
16
|
+
exports.AD = AD_1.default;
|
|
17
|
+
const AE_1 = __importDefault(require("./AE"));
|
|
18
|
+
exports.AE = AE_1.default;
|
|
19
|
+
const AF_1 = __importDefault(require("./AF"));
|
|
20
|
+
exports.AF = AF_1.default;
|
|
21
|
+
const AG_1 = __importDefault(require("./AG"));
|
|
22
|
+
exports.AG = AG_1.default;
|
|
23
|
+
const AI_1 = __importDefault(require("./AI"));
|
|
24
|
+
exports.AI = AI_1.default;
|
|
25
|
+
const AL_1 = __importDefault(require("./AL"));
|
|
26
|
+
exports.AL = AL_1.default;
|
|
27
|
+
const AM_1 = __importDefault(require("./AM"));
|
|
28
|
+
exports.AM = AM_1.default;
|
|
29
|
+
const AO_1 = __importDefault(require("./AO"));
|
|
30
|
+
exports.AO = AO_1.default;
|
|
31
|
+
const AQ_1 = __importDefault(require("./AQ"));
|
|
32
|
+
exports.AQ = AQ_1.default;
|
|
33
|
+
const AR_1 = __importDefault(require("./AR"));
|
|
34
|
+
exports.AR = AR_1.default;
|
|
35
|
+
const AS_1 = __importDefault(require("./AS"));
|
|
36
|
+
exports.AS = AS_1.default;
|
|
37
|
+
const AT_1 = __importDefault(require("./AT"));
|
|
38
|
+
exports.AT = AT_1.default;
|
|
39
|
+
const AU_1 = __importDefault(require("./AU"));
|
|
40
|
+
exports.AU = AU_1.default;
|
|
41
|
+
const AW_1 = __importDefault(require("./AW"));
|
|
42
|
+
exports.AW = AW_1.default;
|
|
43
|
+
const AX_1 = __importDefault(require("./AX"));
|
|
44
|
+
exports.AX = AX_1.default;
|
|
45
|
+
const AZ_1 = __importDefault(require("./AZ"));
|
|
46
|
+
exports.AZ = AZ_1.default;
|
|
47
|
+
const BA_1 = __importDefault(require("./BA"));
|
|
48
|
+
exports.BA = BA_1.default;
|
|
49
|
+
const BB_1 = __importDefault(require("./BB"));
|
|
50
|
+
exports.BB = BB_1.default;
|
|
51
|
+
const BD_1 = __importDefault(require("./BD"));
|
|
52
|
+
exports.BD = BD_1.default;
|
|
53
|
+
const BE_1 = __importDefault(require("./BE"));
|
|
54
|
+
exports.BE = BE_1.default;
|
|
55
|
+
const BF_1 = __importDefault(require("./BF"));
|
|
56
|
+
exports.BF = BF_1.default;
|
|
57
|
+
const BG_1 = __importDefault(require("./BG"));
|
|
58
|
+
exports.BG = BG_1.default;
|
|
59
|
+
const BH_1 = __importDefault(require("./BH"));
|
|
60
|
+
exports.BH = BH_1.default;
|
|
61
|
+
const BI_1 = __importDefault(require("./BI"));
|
|
62
|
+
exports.BI = BI_1.default;
|
|
63
|
+
const BJ_1 = __importDefault(require("./BJ"));
|
|
64
|
+
exports.BJ = BJ_1.default;
|
|
65
|
+
const BL_1 = __importDefault(require("./BL"));
|
|
66
|
+
exports.BL = BL_1.default;
|
|
67
|
+
const BM_1 = __importDefault(require("./BM"));
|
|
68
|
+
exports.BM = BM_1.default;
|
|
69
|
+
const BN_1 = __importDefault(require("./BN"));
|
|
70
|
+
exports.BN = BN_1.default;
|
|
71
|
+
const BO_1 = __importDefault(require("./BO"));
|
|
72
|
+
exports.BO = BO_1.default;
|
|
73
|
+
const BQ_1 = __importDefault(require("./BQ"));
|
|
74
|
+
exports.BQ = BQ_1.default;
|
|
75
|
+
const BR_1 = __importDefault(require("./BR"));
|
|
76
|
+
exports.BR = BR_1.default;
|
|
77
|
+
const BS_1 = __importDefault(require("./BS"));
|
|
78
|
+
exports.BS = BS_1.default;
|
|
79
|
+
const BT_1 = __importDefault(require("./BT"));
|
|
80
|
+
exports.BT = BT_1.default;
|
|
81
|
+
const BV_1 = __importDefault(require("./BV"));
|
|
82
|
+
exports.BV = BV_1.default;
|
|
83
|
+
const BW_1 = __importDefault(require("./BW"));
|
|
84
|
+
exports.BW = BW_1.default;
|
|
85
|
+
const BY_1 = __importDefault(require("./BY"));
|
|
86
|
+
exports.BY = BY_1.default;
|
|
87
|
+
const BZ_1 = __importDefault(require("./BZ"));
|
|
88
|
+
exports.BZ = BZ_1.default;
|
|
89
|
+
const CA_1 = __importDefault(require("./CA"));
|
|
90
|
+
exports.CA = CA_1.default;
|
|
91
|
+
const CC_1 = __importDefault(require("./CC"));
|
|
92
|
+
exports.CC = CC_1.default;
|
|
93
|
+
const CD_1 = __importDefault(require("./CD"));
|
|
94
|
+
exports.CD = CD_1.default;
|
|
95
|
+
const CF_1 = __importDefault(require("./CF"));
|
|
96
|
+
exports.CF = CF_1.default;
|
|
97
|
+
const CG_1 = __importDefault(require("./CG"));
|
|
98
|
+
exports.CG = CG_1.default;
|
|
99
|
+
const CH_1 = __importDefault(require("./CH"));
|
|
100
|
+
exports.CH = CH_1.default;
|
|
101
|
+
const CI_1 = __importDefault(require("./CI"));
|
|
102
|
+
exports.CI = CI_1.default;
|
|
103
|
+
const CK_1 = __importDefault(require("./CK"));
|
|
104
|
+
exports.CK = CK_1.default;
|
|
105
|
+
const CL_1 = __importDefault(require("./CL"));
|
|
106
|
+
exports.CL = CL_1.default;
|
|
107
|
+
const CM_1 = __importDefault(require("./CM"));
|
|
108
|
+
exports.CM = CM_1.default;
|
|
109
|
+
const CN_1 = __importDefault(require("./CN"));
|
|
110
|
+
exports.CN = CN_1.default;
|
|
111
|
+
const CO_1 = __importDefault(require("./CO"));
|
|
112
|
+
exports.CO = CO_1.default;
|
|
113
|
+
const CR_1 = __importDefault(require("./CR"));
|
|
114
|
+
exports.CR = CR_1.default;
|
|
115
|
+
const CU_1 = __importDefault(require("./CU"));
|
|
116
|
+
exports.CU = CU_1.default;
|
|
117
|
+
const CV_1 = __importDefault(require("./CV"));
|
|
118
|
+
exports.CV = CV_1.default;
|
|
119
|
+
const CW_1 = __importDefault(require("./CW"));
|
|
120
|
+
exports.CW = CW_1.default;
|
|
121
|
+
const CX_1 = __importDefault(require("./CX"));
|
|
122
|
+
exports.CX = CX_1.default;
|
|
123
|
+
const CY_1 = __importDefault(require("./CY"));
|
|
124
|
+
exports.CY = CY_1.default;
|
|
125
|
+
const CZ_1 = __importDefault(require("./CZ"));
|
|
126
|
+
exports.CZ = CZ_1.default;
|
|
127
|
+
const DE_1 = __importDefault(require("./DE"));
|
|
128
|
+
exports.DE = DE_1.default;
|
|
129
|
+
const DJ_1 = __importDefault(require("./DJ"));
|
|
130
|
+
exports.DJ = DJ_1.default;
|
|
131
|
+
const DK_1 = __importDefault(require("./DK"));
|
|
132
|
+
exports.DK = DK_1.default;
|
|
133
|
+
const DM_1 = __importDefault(require("./DM"));
|
|
134
|
+
exports.DM = DM_1.default;
|
|
135
|
+
const DO_1 = __importDefault(require("./DO"));
|
|
136
|
+
exports.DO = DO_1.default;
|
|
137
|
+
const DZ_1 = __importDefault(require("./DZ"));
|
|
138
|
+
exports.DZ = DZ_1.default;
|
|
139
|
+
const EC_1 = __importDefault(require("./EC"));
|
|
140
|
+
exports.EC = EC_1.default;
|
|
141
|
+
const EE_1 = __importDefault(require("./EE"));
|
|
142
|
+
exports.EE = EE_1.default;
|
|
143
|
+
const EG_1 = __importDefault(require("./EG"));
|
|
144
|
+
exports.EG = EG_1.default;
|
|
145
|
+
const EH_1 = __importDefault(require("./EH"));
|
|
146
|
+
exports.EH = EH_1.default;
|
|
147
|
+
const ER_1 = __importDefault(require("./ER"));
|
|
148
|
+
exports.ER = ER_1.default;
|
|
149
|
+
const ES_1 = __importDefault(require("./ES"));
|
|
150
|
+
exports.ES = ES_1.default;
|
|
151
|
+
const ET_1 = __importDefault(require("./ET"));
|
|
152
|
+
exports.ET = ET_1.default;
|
|
153
|
+
const EU_1 = __importDefault(require("./EU"));
|
|
154
|
+
exports.EU = EU_1.default;
|
|
155
|
+
const FI_1 = __importDefault(require("./FI"));
|
|
156
|
+
exports.FI = FI_1.default;
|
|
157
|
+
const FJ_1 = __importDefault(require("./FJ"));
|
|
158
|
+
exports.FJ = FJ_1.default;
|
|
159
|
+
const FK_1 = __importDefault(require("./FK"));
|
|
160
|
+
exports.FK = FK_1.default;
|
|
161
|
+
const FM_1 = __importDefault(require("./FM"));
|
|
162
|
+
exports.FM = FM_1.default;
|
|
163
|
+
const FO_1 = __importDefault(require("./FO"));
|
|
164
|
+
exports.FO = FO_1.default;
|
|
165
|
+
const FR_1 = __importDefault(require("./FR"));
|
|
166
|
+
exports.FR = FR_1.default;
|
|
167
|
+
const GA_1 = __importDefault(require("./GA"));
|
|
168
|
+
exports.GA = GA_1.default;
|
|
169
|
+
const GB_1 = __importDefault(require("./GB"));
|
|
170
|
+
exports.GB = GB_1.default;
|
|
171
|
+
const GD_1 = __importDefault(require("./GD"));
|
|
172
|
+
exports.GD = GD_1.default;
|
|
173
|
+
const GEAB_1 = __importDefault(require("./GEAB"));
|
|
174
|
+
exports.GEAB = GEAB_1.default;
|
|
175
|
+
const GEOS_1 = __importDefault(require("./GEOS"));
|
|
176
|
+
exports.GEOS = GEOS_1.default;
|
|
177
|
+
const GE_1 = __importDefault(require("./GE"));
|
|
178
|
+
exports.GE = GE_1.default;
|
|
179
|
+
const GF_1 = __importDefault(require("./GF"));
|
|
180
|
+
exports.GF = GF_1.default;
|
|
181
|
+
const GG_1 = __importDefault(require("./GG"));
|
|
182
|
+
exports.GG = GG_1.default;
|
|
183
|
+
const GH_1 = __importDefault(require("./GH"));
|
|
184
|
+
exports.GH = GH_1.default;
|
|
185
|
+
const GI_1 = __importDefault(require("./GI"));
|
|
186
|
+
exports.GI = GI_1.default;
|
|
187
|
+
const GL_1 = __importDefault(require("./GL"));
|
|
188
|
+
exports.GL = GL_1.default;
|
|
189
|
+
const GM_1 = __importDefault(require("./GM"));
|
|
190
|
+
exports.GM = GM_1.default;
|
|
191
|
+
const GN_1 = __importDefault(require("./GN"));
|
|
192
|
+
exports.GN = GN_1.default;
|
|
193
|
+
const GP_1 = __importDefault(require("./GP"));
|
|
194
|
+
exports.GP = GP_1.default;
|
|
195
|
+
const GQ_1 = __importDefault(require("./GQ"));
|
|
196
|
+
exports.GQ = GQ_1.default;
|
|
197
|
+
const GR_1 = __importDefault(require("./GR"));
|
|
198
|
+
exports.GR = GR_1.default;
|
|
199
|
+
const GS_1 = __importDefault(require("./GS"));
|
|
200
|
+
exports.GS = GS_1.default;
|
|
201
|
+
const GT_1 = __importDefault(require("./GT"));
|
|
202
|
+
exports.GT = GT_1.default;
|
|
203
|
+
const GU_1 = __importDefault(require("./GU"));
|
|
204
|
+
exports.GU = GU_1.default;
|
|
205
|
+
const GW_1 = __importDefault(require("./GW"));
|
|
206
|
+
exports.GW = GW_1.default;
|
|
207
|
+
const GY_1 = __importDefault(require("./GY"));
|
|
208
|
+
exports.GY = GY_1.default;
|
|
209
|
+
const HK_1 = __importDefault(require("./HK"));
|
|
210
|
+
exports.HK = HK_1.default;
|
|
211
|
+
const HM_1 = __importDefault(require("./HM"));
|
|
212
|
+
exports.HM = HM_1.default;
|
|
213
|
+
const HN_1 = __importDefault(require("./HN"));
|
|
214
|
+
exports.HN = HN_1.default;
|
|
215
|
+
const HR_1 = __importDefault(require("./HR"));
|
|
216
|
+
exports.HR = HR_1.default;
|
|
217
|
+
const HT_1 = __importDefault(require("./HT"));
|
|
218
|
+
exports.HT = HT_1.default;
|
|
219
|
+
const HU_1 = __importDefault(require("./HU"));
|
|
220
|
+
exports.HU = HU_1.default;
|
|
221
|
+
const IC_1 = __importDefault(require("./IC"));
|
|
222
|
+
exports.IC = IC_1.default;
|
|
223
|
+
const ID_1 = __importDefault(require("./ID"));
|
|
224
|
+
exports.ID = ID_1.default;
|
|
225
|
+
const IE_1 = __importDefault(require("./IE"));
|
|
226
|
+
exports.IE = IE_1.default;
|
|
227
|
+
const IL_1 = __importDefault(require("./IL"));
|
|
228
|
+
exports.IL = IL_1.default;
|
|
229
|
+
const IM_1 = __importDefault(require("./IM"));
|
|
230
|
+
exports.IM = IM_1.default;
|
|
231
|
+
const IN_1 = __importDefault(require("./IN"));
|
|
232
|
+
exports.IN = IN_1.default;
|
|
233
|
+
const IO_1 = __importDefault(require("./IO"));
|
|
234
|
+
exports.IO = IO_1.default;
|
|
235
|
+
const IQ_1 = __importDefault(require("./IQ"));
|
|
236
|
+
exports.IQ = IQ_1.default;
|
|
237
|
+
const IR_1 = __importDefault(require("./IR"));
|
|
238
|
+
exports.IR = IR_1.default;
|
|
239
|
+
const IS_1 = __importDefault(require("./IS"));
|
|
240
|
+
exports.IS = IS_1.default;
|
|
241
|
+
const IT_1 = __importDefault(require("./IT"));
|
|
242
|
+
exports.IT = IT_1.default;
|
|
243
|
+
const JE_1 = __importDefault(require("./JE"));
|
|
244
|
+
exports.JE = JE_1.default;
|
|
245
|
+
const JM_1 = __importDefault(require("./JM"));
|
|
246
|
+
exports.JM = JM_1.default;
|
|
247
|
+
const JO_1 = __importDefault(require("./JO"));
|
|
248
|
+
exports.JO = JO_1.default;
|
|
249
|
+
const JP_1 = __importDefault(require("./JP"));
|
|
250
|
+
exports.JP = JP_1.default;
|
|
251
|
+
const KE_1 = __importDefault(require("./KE"));
|
|
252
|
+
exports.KE = KE_1.default;
|
|
253
|
+
const KG_1 = __importDefault(require("./KG"));
|
|
254
|
+
exports.KG = KG_1.default;
|
|
255
|
+
const KH_1 = __importDefault(require("./KH"));
|
|
256
|
+
exports.KH = KH_1.default;
|
|
257
|
+
const KI_1 = __importDefault(require("./KI"));
|
|
258
|
+
exports.KI = KI_1.default;
|
|
259
|
+
const KM_1 = __importDefault(require("./KM"));
|
|
260
|
+
exports.KM = KM_1.default;
|
|
261
|
+
const KN_1 = __importDefault(require("./KN"));
|
|
262
|
+
exports.KN = KN_1.default;
|
|
263
|
+
const KP_1 = __importDefault(require("./KP"));
|
|
264
|
+
exports.KP = KP_1.default;
|
|
265
|
+
const KR_1 = __importDefault(require("./KR"));
|
|
266
|
+
exports.KR = KR_1.default;
|
|
267
|
+
const KW_1 = __importDefault(require("./KW"));
|
|
268
|
+
exports.KW = KW_1.default;
|
|
269
|
+
const KY_1 = __importDefault(require("./KY"));
|
|
270
|
+
exports.KY = KY_1.default;
|
|
271
|
+
const KZ_1 = __importDefault(require("./KZ"));
|
|
272
|
+
exports.KZ = KZ_1.default;
|
|
273
|
+
const LA_1 = __importDefault(require("./LA"));
|
|
274
|
+
exports.LA = LA_1.default;
|
|
275
|
+
const LB_1 = __importDefault(require("./LB"));
|
|
276
|
+
exports.LB = LB_1.default;
|
|
277
|
+
const LC_1 = __importDefault(require("./LC"));
|
|
278
|
+
exports.LC = LC_1.default;
|
|
279
|
+
const LI_1 = __importDefault(require("./LI"));
|
|
280
|
+
exports.LI = LI_1.default;
|
|
281
|
+
const LK_1 = __importDefault(require("./LK"));
|
|
282
|
+
exports.LK = LK_1.default;
|
|
283
|
+
const LR_1 = __importDefault(require("./LR"));
|
|
284
|
+
exports.LR = LR_1.default;
|
|
285
|
+
const LS_1 = __importDefault(require("./LS"));
|
|
286
|
+
exports.LS = LS_1.default;
|
|
287
|
+
const LT_1 = __importDefault(require("./LT"));
|
|
288
|
+
exports.LT = LT_1.default;
|
|
289
|
+
const LU_1 = __importDefault(require("./LU"));
|
|
290
|
+
exports.LU = LU_1.default;
|
|
291
|
+
const LV_1 = __importDefault(require("./LV"));
|
|
292
|
+
exports.LV = LV_1.default;
|
|
293
|
+
const LY_1 = __importDefault(require("./LY"));
|
|
294
|
+
exports.LY = LY_1.default;
|
|
295
|
+
const MA_1 = __importDefault(require("./MA"));
|
|
296
|
+
exports.MA = MA_1.default;
|
|
297
|
+
const MC_1 = __importDefault(require("./MC"));
|
|
298
|
+
exports.MC = MC_1.default;
|
|
299
|
+
const MD_1 = __importDefault(require("./MD"));
|
|
300
|
+
exports.MD = MD_1.default;
|
|
301
|
+
const ME_1 = __importDefault(require("./ME"));
|
|
302
|
+
exports.ME = ME_1.default;
|
|
303
|
+
const MF_1 = __importDefault(require("./MF"));
|
|
304
|
+
exports.MF = MF_1.default;
|
|
305
|
+
const MG_1 = __importDefault(require("./MG"));
|
|
306
|
+
exports.MG = MG_1.default;
|
|
307
|
+
const MH_1 = __importDefault(require("./MH"));
|
|
308
|
+
exports.MH = MH_1.default;
|
|
309
|
+
const MK_1 = __importDefault(require("./MK"));
|
|
310
|
+
exports.MK = MK_1.default;
|
|
311
|
+
const ML_1 = __importDefault(require("./ML"));
|
|
312
|
+
exports.ML = ML_1.default;
|
|
313
|
+
const MM_1 = __importDefault(require("./MM"));
|
|
314
|
+
exports.MM = MM_1.default;
|
|
315
|
+
const MN_1 = __importDefault(require("./MN"));
|
|
316
|
+
exports.MN = MN_1.default;
|
|
317
|
+
const MO_1 = __importDefault(require("./MO"));
|
|
318
|
+
exports.MO = MO_1.default;
|
|
319
|
+
const MP_1 = __importDefault(require("./MP"));
|
|
320
|
+
exports.MP = MP_1.default;
|
|
321
|
+
const MQ_1 = __importDefault(require("./MQ"));
|
|
322
|
+
exports.MQ = MQ_1.default;
|
|
323
|
+
const MR_1 = __importDefault(require("./MR"));
|
|
324
|
+
exports.MR = MR_1.default;
|
|
325
|
+
const MS_1 = __importDefault(require("./MS"));
|
|
326
|
+
exports.MS = MS_1.default;
|
|
327
|
+
const MT_1 = __importDefault(require("./MT"));
|
|
328
|
+
exports.MT = MT_1.default;
|
|
329
|
+
const MU_1 = __importDefault(require("./MU"));
|
|
330
|
+
exports.MU = MU_1.default;
|
|
331
|
+
const MV_1 = __importDefault(require("./MV"));
|
|
332
|
+
exports.MV = MV_1.default;
|
|
333
|
+
const MW_1 = __importDefault(require("./MW"));
|
|
334
|
+
exports.MW = MW_1.default;
|
|
335
|
+
const MX_1 = __importDefault(require("./MX"));
|
|
336
|
+
exports.MX = MX_1.default;
|
|
337
|
+
const MY_1 = __importDefault(require("./MY"));
|
|
338
|
+
exports.MY = MY_1.default;
|
|
339
|
+
const MZ_1 = __importDefault(require("./MZ"));
|
|
340
|
+
exports.MZ = MZ_1.default;
|
|
341
|
+
const NA_1 = __importDefault(require("./NA"));
|
|
342
|
+
exports.NA = NA_1.default;
|
|
343
|
+
const NC_1 = __importDefault(require("./NC"));
|
|
344
|
+
exports.NC = NC_1.default;
|
|
345
|
+
const NE_1 = __importDefault(require("./NE"));
|
|
346
|
+
exports.NE = NE_1.default;
|
|
347
|
+
const NF_1 = __importDefault(require("./NF"));
|
|
348
|
+
exports.NF = NF_1.default;
|
|
349
|
+
const NG_1 = __importDefault(require("./NG"));
|
|
350
|
+
exports.NG = NG_1.default;
|
|
351
|
+
const NI_1 = __importDefault(require("./NI"));
|
|
352
|
+
exports.NI = NI_1.default;
|
|
353
|
+
const NL_1 = __importDefault(require("./NL"));
|
|
354
|
+
exports.NL = NL_1.default;
|
|
355
|
+
const NO_1 = __importDefault(require("./NO"));
|
|
356
|
+
exports.NO = NO_1.default;
|
|
357
|
+
const NP_1 = __importDefault(require("./NP"));
|
|
358
|
+
exports.NP = NP_1.default;
|
|
359
|
+
const NR_1 = __importDefault(require("./NR"));
|
|
360
|
+
exports.NR = NR_1.default;
|
|
361
|
+
const NU_1 = __importDefault(require("./NU"));
|
|
362
|
+
exports.NU = NU_1.default;
|
|
363
|
+
const NZ_1 = __importDefault(require("./NZ"));
|
|
364
|
+
exports.NZ = NZ_1.default;
|
|
365
|
+
const OM_1 = __importDefault(require("./OM"));
|
|
366
|
+
exports.OM = OM_1.default;
|
|
367
|
+
const PA_1 = __importDefault(require("./PA"));
|
|
368
|
+
exports.PA = PA_1.default;
|
|
369
|
+
const PE_1 = __importDefault(require("./PE"));
|
|
370
|
+
exports.PE = PE_1.default;
|
|
371
|
+
const PF_1 = __importDefault(require("./PF"));
|
|
372
|
+
exports.PF = PF_1.default;
|
|
373
|
+
const PG_1 = __importDefault(require("./PG"));
|
|
374
|
+
exports.PG = PG_1.default;
|
|
375
|
+
const PH_1 = __importDefault(require("./PH"));
|
|
376
|
+
exports.PH = PH_1.default;
|
|
377
|
+
const PK_1 = __importDefault(require("./PK"));
|
|
378
|
+
exports.PK = PK_1.default;
|
|
379
|
+
const PL_1 = __importDefault(require("./PL"));
|
|
380
|
+
exports.PL = PL_1.default;
|
|
381
|
+
const PM_1 = __importDefault(require("./PM"));
|
|
382
|
+
exports.PM = PM_1.default;
|
|
383
|
+
const PN_1 = __importDefault(require("./PN"));
|
|
384
|
+
exports.PN = PN_1.default;
|
|
385
|
+
const PR_1 = __importDefault(require("./PR"));
|
|
386
|
+
exports.PR = PR_1.default;
|
|
387
|
+
const PS_1 = __importDefault(require("./PS"));
|
|
388
|
+
exports.PS = PS_1.default;
|
|
389
|
+
const PT_1 = __importDefault(require("./PT"));
|
|
390
|
+
exports.PT = PT_1.default;
|
|
391
|
+
const PW_1 = __importDefault(require("./PW"));
|
|
392
|
+
exports.PW = PW_1.default;
|
|
393
|
+
const PY_1 = __importDefault(require("./PY"));
|
|
394
|
+
exports.PY = PY_1.default;
|
|
395
|
+
const QA_1 = __importDefault(require("./QA"));
|
|
396
|
+
exports.QA = QA_1.default;
|
|
397
|
+
const RE_1 = __importDefault(require("./RE"));
|
|
398
|
+
exports.RE = RE_1.default;
|
|
399
|
+
const RO_1 = __importDefault(require("./RO"));
|
|
400
|
+
exports.RO = RO_1.default;
|
|
401
|
+
const RS_1 = __importDefault(require("./RS"));
|
|
402
|
+
exports.RS = RS_1.default;
|
|
403
|
+
const RU_1 = __importDefault(require("./RU"));
|
|
404
|
+
exports.RU = RU_1.default;
|
|
405
|
+
const RW_1 = __importDefault(require("./RW"));
|
|
406
|
+
exports.RW = RW_1.default;
|
|
407
|
+
const SA_1 = __importDefault(require("./SA"));
|
|
408
|
+
exports.SA = SA_1.default;
|
|
409
|
+
const SB_1 = __importDefault(require("./SB"));
|
|
410
|
+
exports.SB = SB_1.default;
|
|
411
|
+
const SC_1 = __importDefault(require("./SC"));
|
|
412
|
+
exports.SC = SC_1.default;
|
|
413
|
+
const SD_1 = __importDefault(require("./SD"));
|
|
414
|
+
exports.SD = SD_1.default;
|
|
415
|
+
const SE_1 = __importDefault(require("./SE"));
|
|
416
|
+
exports.SE = SE_1.default;
|
|
417
|
+
const SG_1 = __importDefault(require("./SG"));
|
|
418
|
+
exports.SG = SG_1.default;
|
|
419
|
+
const SH_1 = __importDefault(require("./SH"));
|
|
420
|
+
exports.SH = SH_1.default;
|
|
421
|
+
const SI_1 = __importDefault(require("./SI"));
|
|
422
|
+
exports.SI = SI_1.default;
|
|
423
|
+
const SJ_1 = __importDefault(require("./SJ"));
|
|
424
|
+
exports.SJ = SJ_1.default;
|
|
425
|
+
const SK_1 = __importDefault(require("./SK"));
|
|
426
|
+
exports.SK = SK_1.default;
|
|
427
|
+
const SL_1 = __importDefault(require("./SL"));
|
|
428
|
+
exports.SL = SL_1.default;
|
|
429
|
+
const SM_1 = __importDefault(require("./SM"));
|
|
430
|
+
exports.SM = SM_1.default;
|
|
431
|
+
const SN_1 = __importDefault(require("./SN"));
|
|
432
|
+
exports.SN = SN_1.default;
|
|
433
|
+
const SO_1 = __importDefault(require("./SO"));
|
|
434
|
+
exports.SO = SO_1.default;
|
|
435
|
+
const SR_1 = __importDefault(require("./SR"));
|
|
436
|
+
exports.SR = SR_1.default;
|
|
437
|
+
const SS_1 = __importDefault(require("./SS"));
|
|
438
|
+
exports.SS = SS_1.default;
|
|
439
|
+
const ST_1 = __importDefault(require("./ST"));
|
|
440
|
+
exports.ST = ST_1.default;
|
|
441
|
+
const SV_1 = __importDefault(require("./SV"));
|
|
442
|
+
exports.SV = SV_1.default;
|
|
443
|
+
const SX_1 = __importDefault(require("./SX"));
|
|
444
|
+
exports.SX = SX_1.default;
|
|
445
|
+
const SY_1 = __importDefault(require("./SY"));
|
|
446
|
+
exports.SY = SY_1.default;
|
|
447
|
+
const SZ_1 = __importDefault(require("./SZ"));
|
|
448
|
+
exports.SZ = SZ_1.default;
|
|
449
|
+
const TA_1 = __importDefault(require("./TA"));
|
|
450
|
+
exports.TA = TA_1.default;
|
|
451
|
+
const TC_1 = __importDefault(require("./TC"));
|
|
452
|
+
exports.TC = TC_1.default;
|
|
453
|
+
const TD_1 = __importDefault(require("./TD"));
|
|
454
|
+
exports.TD = TD_1.default;
|
|
455
|
+
const TF_1 = __importDefault(require("./TF"));
|
|
456
|
+
exports.TF = TF_1.default;
|
|
457
|
+
const TG_1 = __importDefault(require("./TG"));
|
|
458
|
+
exports.TG = TG_1.default;
|
|
459
|
+
const TH_1 = __importDefault(require("./TH"));
|
|
460
|
+
exports.TH = TH_1.default;
|
|
461
|
+
const TJ_1 = __importDefault(require("./TJ"));
|
|
462
|
+
exports.TJ = TJ_1.default;
|
|
463
|
+
const TK_1 = __importDefault(require("./TK"));
|
|
464
|
+
exports.TK = TK_1.default;
|
|
465
|
+
const TL_1 = __importDefault(require("./TL"));
|
|
466
|
+
exports.TL = TL_1.default;
|
|
467
|
+
const TM_1 = __importDefault(require("./TM"));
|
|
468
|
+
exports.TM = TM_1.default;
|
|
469
|
+
const TN_1 = __importDefault(require("./TN"));
|
|
470
|
+
exports.TN = TN_1.default;
|
|
471
|
+
const TO_1 = __importDefault(require("./TO"));
|
|
472
|
+
exports.TO = TO_1.default;
|
|
473
|
+
const TR_1 = __importDefault(require("./TR"));
|
|
474
|
+
exports.TR = TR_1.default;
|
|
475
|
+
const TT_1 = __importDefault(require("./TT"));
|
|
476
|
+
exports.TT = TT_1.default;
|
|
477
|
+
const TV_1 = __importDefault(require("./TV"));
|
|
478
|
+
exports.TV = TV_1.default;
|
|
479
|
+
const TW_1 = __importDefault(require("./TW"));
|
|
480
|
+
exports.TW = TW_1.default;
|
|
481
|
+
const TZ_1 = __importDefault(require("./TZ"));
|
|
482
|
+
exports.TZ = TZ_1.default;
|
|
483
|
+
const UA_1 = __importDefault(require("./UA"));
|
|
484
|
+
exports.UA = UA_1.default;
|
|
485
|
+
const UG_1 = __importDefault(require("./UG"));
|
|
486
|
+
exports.UG = UG_1.default;
|
|
487
|
+
const UM_1 = __importDefault(require("./UM"));
|
|
488
|
+
exports.UM = UM_1.default;
|
|
489
|
+
const US_1 = __importDefault(require("./US"));
|
|
490
|
+
exports.US = US_1.default;
|
|
491
|
+
const UY_1 = __importDefault(require("./UY"));
|
|
492
|
+
exports.UY = UY_1.default;
|
|
493
|
+
const UZ_1 = __importDefault(require("./UZ"));
|
|
494
|
+
exports.UZ = UZ_1.default;
|
|
495
|
+
const VA_1 = __importDefault(require("./VA"));
|
|
496
|
+
exports.VA = VA_1.default;
|
|
497
|
+
const VC_1 = __importDefault(require("./VC"));
|
|
498
|
+
exports.VC = VC_1.default;
|
|
499
|
+
const VE_1 = __importDefault(require("./VE"));
|
|
500
|
+
exports.VE = VE_1.default;
|
|
501
|
+
const VG_1 = __importDefault(require("./VG"));
|
|
502
|
+
exports.VG = VG_1.default;
|
|
503
|
+
const VI_1 = __importDefault(require("./VI"));
|
|
504
|
+
exports.VI = VI_1.default;
|
|
505
|
+
const VN_1 = __importDefault(require("./VN"));
|
|
506
|
+
exports.VN = VN_1.default;
|
|
507
|
+
const VU_1 = __importDefault(require("./VU"));
|
|
508
|
+
exports.VU = VU_1.default;
|
|
509
|
+
const WF_1 = __importDefault(require("./WF"));
|
|
510
|
+
exports.WF = WF_1.default;
|
|
511
|
+
const WS_1 = __importDefault(require("./WS"));
|
|
512
|
+
exports.WS = WS_1.default;
|
|
513
|
+
const XK_1 = __importDefault(require("./XK"));
|
|
514
|
+
exports.XK = XK_1.default;
|
|
515
|
+
const YE_1 = __importDefault(require("./YE"));
|
|
516
|
+
exports.YE = YE_1.default;
|
|
517
|
+
const YT_1 = __importDefault(require("./YT"));
|
|
518
|
+
exports.YT = YT_1.default;
|
|
519
|
+
const ZA_1 = __importDefault(require("./ZA"));
|
|
520
|
+
exports.ZA = ZA_1.default;
|
|
521
|
+
const ZM_1 = __importDefault(require("./ZM"));
|
|
522
|
+
exports.ZM = ZM_1.default;
|
|
523
|
+
const ZW_1 = __importDefault(require("./ZW"));
|
|
524
|
+
exports.ZW = ZW_1.default;
|
package/Highlighted/index.d.ts
CHANGED
|
@@ -41,5 +41,6 @@ export interface HighlightedOverrides {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly Text?: React.ForwardRefExoticComponent<HighlightedTextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
43
43
|
}
|
|
44
|
+
export declare const escapeRegex: (pattern: string) => string;
|
|
44
45
|
declare const _default: React.ForwardRefExoticComponent<HighlightedProps & React.RefAttributes<HTMLSpanElement>>;
|
|
45
46
|
export default _default;
|
package/Highlighted/index.js
CHANGED
|
@@ -14,17 +14,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.escapeRegex = void 0;
|
|
17
18
|
/* eslint-disable react/no-array-index-key */
|
|
18
19
|
const react_1 = __importDefault(require("react"));
|
|
19
20
|
const HighlightedContainer_1 = __importDefault(require("./HighlightedContainer"));
|
|
20
21
|
const HighlightedMark_1 = __importDefault(require("./HighlightedMark"));
|
|
21
22
|
const HighlightedText_1 = __importDefault(require("./HighlightedText"));
|
|
23
|
+
const escapeRegex = (pattern) => pattern.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
24
|
+
exports.escapeRegex = escapeRegex;
|
|
22
25
|
/**
|
|
23
26
|
* The component allows you to highlight text matches in a string
|
|
24
27
|
*/
|
|
25
28
|
const Highlighted = (props, ref) => {
|
|
26
29
|
const { text, highlight, overrides } = props, nativeProps = __rest(props, ["text", "highlight", "overrides"]);
|
|
27
|
-
const patterns = react_1.default.useMemo(() => (typeof highlight === 'string' ? [highlight] : highlight)
|
|
30
|
+
const patterns = react_1.default.useMemo(() => (typeof highlight === 'string' ? [highlight] : highlight)
|
|
31
|
+
.filter(h => h.trim() !== '')
|
|
32
|
+
.map(exports.escapeRegex), [highlight]);
|
|
28
33
|
const regex = react_1.default.useMemo(() => new RegExp(`(${patterns.join('|')})`, 'gi'), [patterns]);
|
|
29
34
|
const overridesMap = react_1.default.useMemo(() => (Object.assign({ Container: HighlightedContainer_1.default,
|
|
30
35
|
Mark: HighlightedMark_1.default,
|
package/Menu/MenuContainer.d.ts
CHANGED
|
@@ -185,6 +185,10 @@ export type MenuRef = {
|
|
|
185
185
|
* Select highlighted item in list
|
|
186
186
|
*/
|
|
187
187
|
selectHightlightedItem: () => void;
|
|
188
|
+
/**
|
|
189
|
+
* Returns the list HTML container
|
|
190
|
+
*/
|
|
191
|
+
getListElement: () => HTMLDivElement | null;
|
|
188
192
|
};
|
|
189
193
|
export type Value<T, Multiple> = Multiple extends undefined | undefined ? T | null : readonly T[];
|
|
190
194
|
export type GetOptionSelected<T> = (payload: {
|
package/Menu/MenuContainer.js
CHANGED
|
@@ -33,7 +33,6 @@ const Popper_1 = __importDefault(require("../Popper"));
|
|
|
33
33
|
const ClickOutside_1 = __importDefault(require("../ClickOutside"));
|
|
34
34
|
const MenuContainer = react_1.default.forwardRef((props, ref) => {
|
|
35
35
|
const { items, value, anchorElement, overrides, children, closeOutsideClick = true, isOpen = props.anchorPos === 'static' ? true : false, anchorPos = 'auto', multiple = false, autofocus = true, closeOnSelect = !multiple, onRequestClose = () => undefined, zIndex, onSelectItem, getOptionSelected, } = props;
|
|
36
|
-
// const [] = React
|
|
37
36
|
const overridesMap = react_1.default.useMemo(() => (Object.assign({ List: MenuList_1.default,
|
|
38
37
|
Popper: Popper_1.default }, overrides)), [overrides]);
|
|
39
38
|
const getSelectedIndexes = react_1.default.useCallback(() => {
|
|
@@ -189,6 +188,7 @@ const MenuContainer = react_1.default.forwardRef((props, ref) => {
|
|
|
189
188
|
scrollToFirstSelected: () => scrollToFirstSelected(),
|
|
190
189
|
selectHightlightedItem: () => selectHightlightedItem(),
|
|
191
190
|
selectItem: (idx) => selectItem(idx),
|
|
191
|
+
getListElement: () => menuListRef.current,
|
|
192
192
|
}), [
|
|
193
193
|
scrollToIndex,
|
|
194
194
|
highlightIndex,
|
package/Menu/MenuList.js
CHANGED
|
@@ -59,7 +59,6 @@ const StyledMenuList = styled_1.default.div `
|
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
padding: 0.4em;
|
|
61
61
|
max-height: 18em;
|
|
62
|
-
max-width: 18em;
|
|
63
62
|
`;
|
|
64
63
|
const MenuList = (props, ref) => {
|
|
65
64
|
const { isOpen, children } = props, nativeProps = __rest(props, ["isOpen", "children"]);
|
package/PhoneField/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface PhoneFieldProps extends Omit<TextFieldProps, 'value' | 'onChang
|
|
|
7
7
|
*/
|
|
8
8
|
readonly value: string;
|
|
9
9
|
readonly defaultCountry?: CountryCode | null;
|
|
10
|
-
readonly onChange: (payload: PhonePayload) => void;
|
|
10
|
+
readonly onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: PhonePayload) => void;
|
|
11
11
|
readonly templates: readonly PhoneTemplate[];
|
|
12
12
|
}
|
|
13
13
|
export interface PhonePayload {
|
package/PhoneField/index.js
CHANGED
|
@@ -61,7 +61,7 @@ const PhoneField = (props, ref) => {
|
|
|
61
61
|
var _a;
|
|
62
62
|
const parsed = parseInput(String(event.currentTarget.value), ((_a = textInputRef.current) === null || _a === void 0 ? void 0 : _a.selectionStart) || 0);
|
|
63
63
|
const { caret, text, template, placeholder, countryCode, callingCode, CountryFlag, number, isValid, } = formatParsedInput(parsed.text, parsed.caret);
|
|
64
|
-
onChange({
|
|
64
|
+
onChange(Object.assign(Object.assign({}, event), { currentTarget: Object.assign(Object.assign({}, event.currentTarget), { value: text }) }), {
|
|
65
65
|
value: text,
|
|
66
66
|
placeholder,
|
|
67
67
|
CountryFlag,
|
|
@@ -70,7 +70,7 @@ const PhoneField = (props, ref) => {
|
|
|
70
70
|
callingCode,
|
|
71
71
|
number,
|
|
72
72
|
isValid,
|
|
73
|
-
combined: `${callingCode}${number}`,
|
|
73
|
+
combined: `${callingCode !== null && callingCode !== void 0 ? callingCode : ''}${number}`,
|
|
74
74
|
});
|
|
75
75
|
setState(prev => (Object.assign(Object.assign({}, prev), { currentValue: text, countryCode,
|
|
76
76
|
placeholder,
|
|
@@ -87,6 +87,9 @@ const PhoneField = (props, ref) => {
|
|
|
87
87
|
}
|
|
88
88
|
} })), [CountryFlag]), value: currentValue, placeholder: placeholder, onChange: handleChange, inputRef: input => {
|
|
89
89
|
textInputRef.current = input;
|
|
90
|
+
if (typeof inputRef === 'function') {
|
|
91
|
+
inputRef(input);
|
|
92
|
+
}
|
|
90
93
|
if (inputRef && typeof inputRef === 'object') {
|
|
91
94
|
inputRef.current = input;
|
|
92
95
|
}
|
package/Popper/index.js
CHANGED
package/TextField/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
28
28
|
/**
|
|
29
29
|
* Native <input> element reference
|
|
30
30
|
*/
|
|
31
|
-
readonly inputRef?: React.
|
|
31
|
+
readonly inputRef?: React.MutableRefObject<HTMLInputElement | null> | React.RefCallback<HTMLInputElement | null>;
|
|
32
32
|
/**
|
|
33
33
|
* Field label text or element
|
|
34
34
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@via-profit/ui-kit",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.58",
|
|
4
4
|
"description": "UI Kit",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"lint": "eslint --fix .",
|
|
16
16
|
"build": "node ./scripts/build.js",
|
|
17
17
|
"publish:package": "bash ./scripts/pub.sh",
|
|
18
|
-
"build:flags": "node ./scripts/compile-country-flags.js"
|
|
18
|
+
"build:flags": "node ./scripts/compile-country-flags.js",
|
|
19
|
+
"indexes:flags": "node ./scripts/indexes-country-flags.js"
|
|
19
20
|
},
|
|
20
21
|
"publishConfig": {
|
|
21
22
|
"access": "public"
|