@alfalab/core-components-input-autocomplete 9.3.8 → 9.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component-7ca84eff.d.ts +4 -270
- package/Component.desktop.js +3 -3
- package/Component.mobile.js +8 -8
- package/Component.responsive.d.ts +94 -2
- package/Component.responsive.js +5 -5
- package/autocomplete-field/Component.js +3 -3
- package/autocomplete-field/index.css +2 -2
- package/autocomplete-field/index.js +1 -1
- package/autocomplete-mobile-field/Component.js +4 -4
- package/autocomplete-mobile-field/index.css +8 -8
- package/autocomplete-mobile-field/index.js +1 -1
- package/cssm/Component-7ca84eff.d.ts +4 -270
- package/cssm/Component.desktop.js +3 -3
- package/cssm/Component.mobile.js +7 -7
- package/cssm/Component.responsive.d.ts +94 -2
- package/cssm/Component.responsive.js +5 -5
- package/cssm/autocomplete-field/Component.js +2 -2
- package/cssm/autocomplete-field/index.js +1 -1
- package/cssm/autocomplete-mobile-field/Component.js +3 -3
- package/cssm/autocomplete-mobile-field/index.js +1 -1
- package/cssm/desktop.js +1 -1
- package/cssm/{getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
- package/cssm/index-7ca84eff.d.ts +15 -4
- package/cssm/index-bdb4c6b9.d.ts +1 -0
- package/cssm/index-e81c389f.d.ts +341 -0
- package/cssm/index.js +1 -1
- package/cssm/mobile.js +1 -1
- package/cssm/responsive.js +1 -1
- package/desktop.js +1 -1
- package/esm/Component-7ca84eff.d.ts +4 -270
- package/esm/Component.desktop.js +1 -1
- package/esm/Component.mobile.js +2 -2
- package/esm/Component.responsive.d.ts +94 -2
- package/esm/Component.responsive.js +5 -5
- package/esm/autocomplete-field/Component.js +2 -2
- package/esm/autocomplete-field/index.css +2 -2
- package/esm/autocomplete-field/index.js +1 -1
- package/esm/autocomplete-mobile-field/Component.js +2 -2
- package/esm/autocomplete-mobile-field/index.css +8 -8
- package/esm/autocomplete-mobile-field/index.js +1 -1
- package/esm/desktop.js +1 -1
- package/{getDataTestId-3fe0d3e6.d.ts → esm/index-3885b0d7.d.ts} +2 -1
- package/esm/index-7ca84eff.d.ts +15 -4
- package/esm/index-bdb4c6b9.d.ts +1 -0
- package/esm/index-e81c389f.d.ts +341 -0
- package/esm/index.js +1 -1
- package/esm/mobile.css +4 -4
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/{modern/getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
- package/index-7ca84eff.d.ts +15 -4
- package/index-bdb4c6b9.d.ts +1 -0
- package/index-e81c389f.d.ts +341 -0
- package/index.js +1 -1
- package/mobile.css +4 -4
- package/mobile.js +1 -1
- package/modern/Component-7ca84eff.d.ts +4 -270
- package/modern/Component.mobile.js +1 -1
- package/modern/Component.responsive.d.ts +94 -2
- package/modern/Component.responsive.js +4 -4
- package/modern/autocomplete-field/Component.js +1 -1
- package/modern/autocomplete-field/index.css +2 -2
- package/modern/autocomplete-mobile-field/Component.js +1 -1
- package/modern/autocomplete-mobile-field/index.css +8 -8
- package/{esm/getDataTestId-3fe0d3e6.d.ts → modern/index-3885b0d7.d.ts} +2 -1
- package/modern/index-7ca84eff.d.ts +15 -4
- package/modern/index-bdb4c6b9.d.ts +1 -0
- package/modern/index-e81c389f.d.ts +341 -0
- package/modern/mobile.css +4 -4
- package/package.json +7 -6
- package/responsive.js +1 -1
- package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
- package/cssm/tslib.es6-bbd6cd2a.js +0 -42
- package/esm/tslib.es6-da6da1a4.d.ts +0 -36
- package/esm/tslib.es6-da6da1a4.js +0 -40
- package/tslib.es6-e3f0e7e9.d.ts +0 -36
- package/tslib.es6-e3f0e7e9.js +0 -42
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/* eslint-disable complexity */
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { FC, ReactNode, ButtonHTMLAttributes, ElementType, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, AnchorHTMLAttributes } from "react";
|
|
5
|
+
import { ButtonProps } from "@alfalab/core-components-button";
|
|
6
|
+
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
|
+
/**
|
|
8
|
+
* Вид компонента
|
|
9
|
+
*/
|
|
10
|
+
view: "desktop" | "mobile";
|
|
11
|
+
/**
|
|
12
|
+
* Дополнительный класс
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Позиция крестика
|
|
17
|
+
*/
|
|
18
|
+
align?: "left" | "right";
|
|
19
|
+
/**
|
|
20
|
+
* Фиксирует крестик
|
|
21
|
+
*/
|
|
22
|
+
sticky?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Иконка
|
|
25
|
+
*/
|
|
26
|
+
icon?: ElementType;
|
|
27
|
+
/**
|
|
28
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
29
|
+
*/
|
|
30
|
+
dataTestId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Коллбэк закрытия.
|
|
33
|
+
*/
|
|
34
|
+
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
35
|
+
}
|
|
36
|
+
declare const Closer: FC<CloserProps>;
|
|
37
|
+
type NavigationBarProps = {
|
|
38
|
+
/**
|
|
39
|
+
* Контент шапки
|
|
40
|
+
*/
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Заголовок шапки
|
|
44
|
+
*/
|
|
45
|
+
title?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Подзаголовок (доступен только в мобильной версии)
|
|
48
|
+
*/
|
|
49
|
+
subtitle?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Размер заголовка (compact доступен только в мобильной версии)
|
|
52
|
+
*/
|
|
53
|
+
titleSize?: "default" | "compact";
|
|
54
|
+
/**
|
|
55
|
+
* Доп. класс для аддонов
|
|
56
|
+
*/
|
|
57
|
+
addonClassName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Слот слева
|
|
60
|
+
*/
|
|
61
|
+
leftAddons?: ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* Слот справа
|
|
64
|
+
*/
|
|
65
|
+
rightAddons?: ReactNode;
|
|
66
|
+
/**
|
|
67
|
+
* Дополнительный класс для closer
|
|
68
|
+
*/
|
|
69
|
+
closerClassName?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Слот снизу
|
|
72
|
+
*/
|
|
73
|
+
bottomAddons?: ReactNode;
|
|
74
|
+
/**
|
|
75
|
+
* Наличие компонента крестика
|
|
76
|
+
*/
|
|
77
|
+
hasCloser?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Наличие кнопки "Назад"
|
|
80
|
+
*/
|
|
81
|
+
hasBackButton?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Дополнительный класс для правого аддона
|
|
84
|
+
*/
|
|
85
|
+
backButtonClassName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Дополнительный класс
|
|
88
|
+
*/
|
|
89
|
+
className?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Дополнительный класс для контента
|
|
92
|
+
*/
|
|
93
|
+
contentClassName?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Дополнительный класс для нижнего аддона
|
|
96
|
+
*/
|
|
97
|
+
bottomAddonsClassName?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Выравнивание заголовка
|
|
100
|
+
*/
|
|
101
|
+
align?: "left" | "center";
|
|
102
|
+
/**
|
|
103
|
+
* Обрезать ли заголовок
|
|
104
|
+
*/
|
|
105
|
+
trim?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Фиксирует шапку
|
|
108
|
+
*/
|
|
109
|
+
sticky?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
112
|
+
*/
|
|
113
|
+
dataTestId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Фоновое изображение
|
|
116
|
+
*/
|
|
117
|
+
imageUrl?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Иконка closer.
|
|
120
|
+
*/
|
|
121
|
+
closerIcon?: React.ElementType;
|
|
122
|
+
/**
|
|
123
|
+
* Обработчик закрытия
|
|
124
|
+
*/
|
|
125
|
+
onClose?: CloserProps["onClose"];
|
|
126
|
+
/**
|
|
127
|
+
* обработчик клика по кнопке "назад"
|
|
128
|
+
*/
|
|
129
|
+
onBack?: () => void;
|
|
130
|
+
/**
|
|
131
|
+
* Вид шапки - мобильный или десктоп
|
|
132
|
+
*/
|
|
133
|
+
view: "desktop" | "mobile";
|
|
134
|
+
/**
|
|
135
|
+
* Ссылка на родительскую ноду.
|
|
136
|
+
*/
|
|
137
|
+
parentRef?: React.RefObject<HTMLDivElement>;
|
|
138
|
+
};
|
|
139
|
+
declare const NavigationBar: FC<NavigationBarProps>;
|
|
140
|
+
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
141
|
+
/**
|
|
142
|
+
* Текст после иконки
|
|
143
|
+
*/
|
|
144
|
+
text?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Дополнительный класс
|
|
147
|
+
*/
|
|
148
|
+
className?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Вид компонента
|
|
151
|
+
*/
|
|
152
|
+
view: "mobile" | "desktop";
|
|
153
|
+
/**
|
|
154
|
+
* Прозрачность текста
|
|
155
|
+
*/
|
|
156
|
+
textOpacity?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Обработчик клика
|
|
159
|
+
*/
|
|
160
|
+
onClick?: () => void;
|
|
161
|
+
}
|
|
162
|
+
declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
|
|
163
|
+
declare const colors: readonly [
|
|
164
|
+
"tertiary",
|
|
165
|
+
"disabled",
|
|
166
|
+
"accent",
|
|
167
|
+
"primary",
|
|
168
|
+
"attention",
|
|
169
|
+
"positive",
|
|
170
|
+
"secondary",
|
|
171
|
+
"tertiary-inverted",
|
|
172
|
+
"primary-inverted",
|
|
173
|
+
"secondary-inverted",
|
|
174
|
+
"link",
|
|
175
|
+
"negative",
|
|
176
|
+
"static-primary-light",
|
|
177
|
+
"static-secondary-light",
|
|
178
|
+
"static-tertiary-light",
|
|
179
|
+
"static-primary-dark",
|
|
180
|
+
"static-secondary-dark",
|
|
181
|
+
"static-tertiary-dark",
|
|
182
|
+
"static-accent"
|
|
183
|
+
];
|
|
184
|
+
type Color = (typeof colors)[number];
|
|
185
|
+
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
186
|
+
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
187
|
+
type TextBaseProps = {
|
|
188
|
+
/**
|
|
189
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
190
|
+
*/
|
|
191
|
+
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
192
|
+
/**
|
|
193
|
+
* Цвет текста
|
|
194
|
+
*/
|
|
195
|
+
color?: Color;
|
|
196
|
+
/**
|
|
197
|
+
* Толщина шрифта
|
|
198
|
+
*/
|
|
199
|
+
weight?: "regular" | "medium" | "bold";
|
|
200
|
+
/**
|
|
201
|
+
* Делает цифры моноширинными
|
|
202
|
+
*/
|
|
203
|
+
monospaceNumbers?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* HTML тег
|
|
206
|
+
*/
|
|
207
|
+
tag?: "span" | "div";
|
|
208
|
+
/**
|
|
209
|
+
* Css-класс для стилизации (native prop)
|
|
210
|
+
*/
|
|
211
|
+
className?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Id компонента для тестов
|
|
214
|
+
*/
|
|
215
|
+
dataTestId?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Контент (native prop)
|
|
218
|
+
*/
|
|
219
|
+
children?: React.ReactNode;
|
|
220
|
+
/**
|
|
221
|
+
* Добавляет отступы к тэгу 'p'
|
|
222
|
+
*/
|
|
223
|
+
defaultMargins?: never;
|
|
224
|
+
/**
|
|
225
|
+
* Количество строк (не поддерживает IE)
|
|
226
|
+
*/
|
|
227
|
+
rowLimit?: 1 | 2 | 3;
|
|
228
|
+
};
|
|
229
|
+
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
230
|
+
tag?: "p";
|
|
231
|
+
defaultMargins?: boolean;
|
|
232
|
+
};
|
|
233
|
+
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
234
|
+
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
235
|
+
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
236
|
+
/**
|
|
237
|
+
* HTML тег
|
|
238
|
+
*/
|
|
239
|
+
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
240
|
+
/**
|
|
241
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
242
|
+
*/
|
|
243
|
+
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
244
|
+
/**
|
|
245
|
+
* Цвет текста
|
|
246
|
+
*/
|
|
247
|
+
color?: Color;
|
|
248
|
+
/**
|
|
249
|
+
* Толщина шрифта
|
|
250
|
+
*/
|
|
251
|
+
weight?: "regular" | "medium" | "bold";
|
|
252
|
+
/**
|
|
253
|
+
* Шрифт текста
|
|
254
|
+
*/
|
|
255
|
+
font?: "styrene" | "system";
|
|
256
|
+
/**
|
|
257
|
+
* Добавляет отступы
|
|
258
|
+
*/
|
|
259
|
+
defaultMargins?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Css-класс для стилизации (native prop)
|
|
262
|
+
*/
|
|
263
|
+
className?: string;
|
|
264
|
+
/**
|
|
265
|
+
* Id компонента для тестов
|
|
266
|
+
*/
|
|
267
|
+
dataTestId?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Контент (native prop)
|
|
270
|
+
*/
|
|
271
|
+
children?: React.ReactNode;
|
|
272
|
+
/**
|
|
273
|
+
* Количество строк (не поддерживает IE)
|
|
274
|
+
*/
|
|
275
|
+
rowLimit?: 1 | 2 | 3;
|
|
276
|
+
};
|
|
277
|
+
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
278
|
+
declare const Typography: {
|
|
279
|
+
Title: FC<TitleProps>;
|
|
280
|
+
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
281
|
+
TitleResponsive: FC<TitleProps>;
|
|
282
|
+
TitleMobile: FC<TitleMobileProps>;
|
|
283
|
+
};
|
|
284
|
+
declare const typographyPresets: {
|
|
285
|
+
mobile: {
|
|
286
|
+
list: {
|
|
287
|
+
text: {
|
|
288
|
+
primary: {
|
|
289
|
+
tag: string;
|
|
290
|
+
view: string;
|
|
291
|
+
};
|
|
292
|
+
secondary: {
|
|
293
|
+
tag: string;
|
|
294
|
+
color: string;
|
|
295
|
+
view: string;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
declare const TitleResponsive: FC<TitleProps>;
|
|
302
|
+
type IconButtonProps = {
|
|
303
|
+
/**
|
|
304
|
+
* Компонент иконки
|
|
305
|
+
*/
|
|
306
|
+
icon: ElementType<{
|
|
307
|
+
className?: string;
|
|
308
|
+
}>;
|
|
309
|
+
/**
|
|
310
|
+
* Тип кнопки
|
|
311
|
+
*/
|
|
312
|
+
view?: "primary" | "secondary" | "transparent" | "tertiary" | "negative";
|
|
313
|
+
/**
|
|
314
|
+
* Размер компонента
|
|
315
|
+
*/
|
|
316
|
+
size?: "xxs" | "xs" | "s";
|
|
317
|
+
/**
|
|
318
|
+
* Дополнительный класс
|
|
319
|
+
*/
|
|
320
|
+
className?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
323
|
+
*/
|
|
324
|
+
dataTestId?: string;
|
|
325
|
+
/**
|
|
326
|
+
* Набор цветов для компонента
|
|
327
|
+
*/
|
|
328
|
+
colors?: "default" | "inverted";
|
|
329
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
|
|
330
|
+
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
331
|
+
icon: ElementType<{
|
|
332
|
+
className?: string;
|
|
333
|
+
}>;
|
|
334
|
+
view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
|
|
335
|
+
size?: "xs" | "s" | "xxs" | undefined;
|
|
336
|
+
className?: string | undefined;
|
|
337
|
+
dataTestId?: string | undefined;
|
|
338
|
+
colors?: "default" | "inverted" | undefined;
|
|
339
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
340
|
+
export { NavigationBar, BackArrowAddonProps, BackArrowAddon, Typography, typographyPresets, TitleResponsive, IconButtonProps, IconButton, CloserProps, Closer };
|
|
341
|
+
export type { TitleProps, TextProps, Color, NavigationBarProps };
|
package/modern/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12yao */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
--gap-m: 16px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .input-
|
|
19
|
+
} .input-autocomplete__bottomSheetInput_mknlh {
|
|
20
20
|
padding: 0 var(--gap-xs) var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_mknlh {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_mknlh > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-input-autocomplete",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,14 +17,15 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-button": "^7.0
|
|
21
|
-
"@alfalab/core-components-form-control": "^9.0.
|
|
22
|
-
"@alfalab/core-components-input": "^11.1.
|
|
23
|
-
"@alfalab/core-components-select": "^13.2.
|
|
20
|
+
"@alfalab/core-components-button": "^7.1.0",
|
|
21
|
+
"@alfalab/core-components-form-control": "^9.0.3",
|
|
22
|
+
"@alfalab/core-components-input": "^11.1.7",
|
|
23
|
+
"@alfalab/core-components-select": "^13.2.13",
|
|
24
24
|
"@alfalab/hooks": "^1.4.1",
|
|
25
25
|
"classnames": "^2.3.1",
|
|
26
26
|
"lodash.throttle": "^4.1.1",
|
|
27
|
-
"react-merge-refs": "^1.1.0"
|
|
27
|
+
"react-merge-refs": "^1.1.0",
|
|
28
|
+
"tslib": "^2.4.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@types/lodash.throttle": "^4.1.7"
|
package/responsive.js
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare function __extends(d: any, b: any): void;
|
|
2
|
-
declare function __rest(s: any, e: any): {};
|
|
3
|
-
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
4
|
-
declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
|
|
5
|
-
declare function __metadata(metadataKey: any, metadataValue: any): any;
|
|
6
|
-
declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
|
|
7
|
-
declare function __generator(thisArg: any, body: any): {
|
|
8
|
-
next: (v: any) => any;
|
|
9
|
-
throw: (v: any) => any;
|
|
10
|
-
return: (v: any) => any;
|
|
11
|
-
};
|
|
12
|
-
declare function __exportStar(m: any, o: any): void;
|
|
13
|
-
declare function __values(o: any): any;
|
|
14
|
-
declare function __read(o: any, n: any): any;
|
|
15
|
-
/** @deprecated */
|
|
16
|
-
declare function __spread(...args: any[]): any[];
|
|
17
|
-
/** @deprecated */
|
|
18
|
-
declare function __spreadArrays(...args: any[]): any[];
|
|
19
|
-
declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
|
|
20
|
-
declare function __await(v: any): __await;
|
|
21
|
-
declare class __await {
|
|
22
|
-
constructor(v: any);
|
|
23
|
-
v: any;
|
|
24
|
-
}
|
|
25
|
-
declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
|
|
26
|
-
declare function __asyncDelegator(o: any): {};
|
|
27
|
-
declare function __asyncValues(o: any): any;
|
|
28
|
-
declare function __makeTemplateObject(cooked: any, raw: any): any;
|
|
29
|
-
declare function __importStar(mod: any): any;
|
|
30
|
-
declare function __importDefault(mod: any): any;
|
|
31
|
-
declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
|
|
32
|
-
declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
|
|
33
|
-
declare function __classPrivateFieldIn(state: any, receiver: any): any;
|
|
34
|
-
declare function __assign(...args: any[]): any;
|
|
35
|
-
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
36
|
-
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/******************************************************************************
|
|
4
|
-
Copyright (c) Microsoft Corporation.
|
|
5
|
-
|
|
6
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
-
purpose with or without fee is hereby granted.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
-
***************************************************************************** */
|
|
17
|
-
exports.__assign = function () {
|
|
18
|
-
exports.__assign = Object.assign || function __assign(t) {
|
|
19
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
-
s = arguments[i];
|
|
21
|
-
for (var p in s)
|
|
22
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
23
|
-
t[p] = s[p];
|
|
24
|
-
}
|
|
25
|
-
return t;
|
|
26
|
-
};
|
|
27
|
-
return exports.__assign.apply(this, arguments);
|
|
28
|
-
};
|
|
29
|
-
function __rest(s, e) {
|
|
30
|
-
var t = {};
|
|
31
|
-
for (var p in s)
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
33
|
-
t[p] = s[p];
|
|
34
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
35
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
36
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
37
|
-
t[p[i]] = s[p[i]];
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
exports.__rest = __rest;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare function __extends(d: any, b: any): void;
|
|
2
|
-
declare function __rest(s: any, e: any): {};
|
|
3
|
-
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
4
|
-
declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
|
|
5
|
-
declare function __metadata(metadataKey: any, metadataValue: any): any;
|
|
6
|
-
declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
|
|
7
|
-
declare function __generator(thisArg: any, body: any): {
|
|
8
|
-
next: (v: any) => any;
|
|
9
|
-
throw: (v: any) => any;
|
|
10
|
-
return: (v: any) => any;
|
|
11
|
-
};
|
|
12
|
-
declare function __exportStar(m: any, o: any): void;
|
|
13
|
-
declare function __values(o: any): any;
|
|
14
|
-
declare function __read(o: any, n: any): any;
|
|
15
|
-
/** @deprecated */
|
|
16
|
-
declare function __spread(...args: any[]): any[];
|
|
17
|
-
/** @deprecated */
|
|
18
|
-
declare function __spreadArrays(...args: any[]): any[];
|
|
19
|
-
declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
|
|
20
|
-
declare function __await(v: any): __await;
|
|
21
|
-
declare class __await {
|
|
22
|
-
constructor(v: any);
|
|
23
|
-
v: any;
|
|
24
|
-
}
|
|
25
|
-
declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
|
|
26
|
-
declare function __asyncDelegator(o: any): {};
|
|
27
|
-
declare function __asyncValues(o: any): any;
|
|
28
|
-
declare function __makeTemplateObject(cooked: any, raw: any): any;
|
|
29
|
-
declare function __importStar(mod: any): any;
|
|
30
|
-
declare function __importDefault(mod: any): any;
|
|
31
|
-
declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
|
|
32
|
-
declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
|
|
33
|
-
declare function __classPrivateFieldIn(state: any, receiver: any): any;
|
|
34
|
-
declare function __assign(...args: any[]): any;
|
|
35
|
-
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
36
|
-
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/******************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
var __assign = function () {
|
|
16
|
-
__assign = Object.assign || function __assign(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s)
|
|
20
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
21
|
-
t[p] = s[p];
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
};
|
|
25
|
-
return __assign.apply(this, arguments);
|
|
26
|
-
};
|
|
27
|
-
function __rest(s, e) {
|
|
28
|
-
var t = {};
|
|
29
|
-
for (var p in s)
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
-
t[p] = s[p];
|
|
32
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
-
t[p[i]] = s[p[i]];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export { __rest as _, __assign as a };
|
package/tslib.es6-e3f0e7e9.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare function __extends(d: any, b: any): void;
|
|
2
|
-
declare function __rest(s: any, e: any): {};
|
|
3
|
-
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
4
|
-
declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
|
|
5
|
-
declare function __metadata(metadataKey: any, metadataValue: any): any;
|
|
6
|
-
declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
|
|
7
|
-
declare function __generator(thisArg: any, body: any): {
|
|
8
|
-
next: (v: any) => any;
|
|
9
|
-
throw: (v: any) => any;
|
|
10
|
-
return: (v: any) => any;
|
|
11
|
-
};
|
|
12
|
-
declare function __exportStar(m: any, o: any): void;
|
|
13
|
-
declare function __values(o: any): any;
|
|
14
|
-
declare function __read(o: any, n: any): any;
|
|
15
|
-
/** @deprecated */
|
|
16
|
-
declare function __spread(...args: any[]): any[];
|
|
17
|
-
/** @deprecated */
|
|
18
|
-
declare function __spreadArrays(...args: any[]): any[];
|
|
19
|
-
declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
|
|
20
|
-
declare function __await(v: any): __await;
|
|
21
|
-
declare class __await {
|
|
22
|
-
constructor(v: any);
|
|
23
|
-
v: any;
|
|
24
|
-
}
|
|
25
|
-
declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
|
|
26
|
-
declare function __asyncDelegator(o: any): {};
|
|
27
|
-
declare function __asyncValues(o: any): any;
|
|
28
|
-
declare function __makeTemplateObject(cooked: any, raw: any): any;
|
|
29
|
-
declare function __importStar(mod: any): any;
|
|
30
|
-
declare function __importDefault(mod: any): any;
|
|
31
|
-
declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
|
|
32
|
-
declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
|
|
33
|
-
declare function __classPrivateFieldIn(state: any, receiver: any): any;
|
|
34
|
-
declare function __assign(...args: any[]): any;
|
|
35
|
-
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
36
|
-
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
|
package/tslib.es6-e3f0e7e9.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/******************************************************************************
|
|
4
|
-
Copyright (c) Microsoft Corporation.
|
|
5
|
-
|
|
6
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
-
purpose with or without fee is hereby granted.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
-
***************************************************************************** */
|
|
17
|
-
exports.__assign = function () {
|
|
18
|
-
exports.__assign = Object.assign || function __assign(t) {
|
|
19
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
-
s = arguments[i];
|
|
21
|
-
for (var p in s)
|
|
22
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
23
|
-
t[p] = s[p];
|
|
24
|
-
}
|
|
25
|
-
return t;
|
|
26
|
-
};
|
|
27
|
-
return exports.__assign.apply(this, arguments);
|
|
28
|
-
};
|
|
29
|
-
function __rest(s, e) {
|
|
30
|
-
var t = {};
|
|
31
|
-
for (var p in s)
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
33
|
-
t[p] = s[p];
|
|
34
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
35
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
36
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
37
|
-
t[p[i]] = s[p[i]];
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
exports.__rest = __rest;
|