@alfalab/core-components-bottom-sheet 5.3.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{component-d95f9ffe.d.ts → component-4db10e00.d.ts} +14 -67
- package/component-4db10e00.js +203 -0
- package/component.js +3 -8
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +4 -4
- package/components/header/Component.js +3 -8
- package/components/header/index.css +19 -32
- package/components/swipeable-backdrop/Component.js +4 -4
- package/cssm/{component-5455358e.d.ts → component-b3add484.d.ts} +14 -67
- package/cssm/{component-5455358e.js → component-b3add484.js} +28 -72
- package/cssm/component.js +3 -10
- package/cssm/components/header/Component.js +3 -10
- package/cssm/components/header/index.module.css +7 -20
- package/cssm/components/swipeable-backdrop/Component.js +4 -4
- package/cssm/index.d.ts +1 -1
- package/cssm/index.js +3 -10
- package/cssm/index.module.css +4 -5
- package/esm/{component-8d97503e.d.ts → component-094991ea.d.ts} +14 -67
- package/esm/{component-8d97503e.js → component-094991ea.js} +24 -68
- package/esm/component.js +3 -8
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +4 -4
- package/esm/components/header/Component.js +3 -8
- package/esm/components/header/index.css +19 -32
- package/esm/components/swipeable-backdrop/Component.js +1 -1
- package/esm/index.css +19 -20
- package/esm/index.d.ts +1 -1
- package/esm/index.js +3 -8
- package/index.css +19 -20
- package/index.d.ts +1 -1
- package/index.js +3 -8
- package/modern/{component-d6c1ca86.d.ts → component-44079f58.d.ts} +14 -67
- package/modern/{component-d6c1ca86.js → component-44079f58.js} +28 -51
- package/modern/component.js +2 -7
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +4 -4
- package/modern/components/header/Component.js +2 -7
- package/modern/components/header/index.css +19 -32
- package/modern/index.css +19 -20
- package/modern/index.d.ts +1 -1
- package/modern/index.js +2 -7
- package/package.json +8 -6
- package/component-d95f9ffe.js +0 -247
- package/components/backer/Component.d.ts +0 -28
- package/components/backer/Component.js +0 -23
- package/components/backer/index.css +0 -34
- package/components/closer/Component.d.ts +0 -24
- package/components/closer/Component.js +0 -28
- package/components/closer/index.css +0 -34
- package/cssm/components/backer/Component.d.ts +0 -28
- package/cssm/components/backer/Component.js +0 -22
- package/cssm/components/backer/index.module.css +0 -33
- package/cssm/components/closer/Component.d.ts +0 -24
- package/cssm/components/closer/Component.js +0 -27
- package/cssm/components/closer/index.module.css +0 -33
- package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
- package/cssm/tslib.es6-bbd6cd2a.js +0 -42
- package/esm/components/backer/Component.d.ts +0 -28
- package/esm/components/backer/Component.js +0 -16
- package/esm/components/backer/index.css +0 -34
- package/esm/components/closer/Component.d.ts +0 -24
- package/esm/components/closer/Component.js +0 -21
- package/esm/components/closer/index.css +0 -34
- package/esm/tslib.es6-c005000e.d.ts +0 -36
- package/esm/tslib.es6-c005000e.js +0 -40
- package/modern/components/backer/Component.d.ts +0 -28
- package/modern/components/backer/Component.js +0 -12
- package/modern/components/backer/index.css +0 -34
- package/modern/components/closer/Component.d.ts +0 -24
- package/modern/components/closer/Component.js +0 -19
- package/modern/components/closer/index.css +0 -34
- package/tslib.es6-1027d96a.d.ts +0 -36
- package/tslib.es6-1027d96a.js +0 -42
package/component-d95f9ffe.js
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-1027d96a.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var reactDiv100vh = require('react-div-100vh');
|
|
6
|
-
var mergeRefs = require('react-merge-refs');
|
|
7
|
-
var reactSwipeable = require('react-swipeable');
|
|
8
|
-
var cn = require('classnames');
|
|
9
|
-
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
10
|
-
var components_footer_Component = require('./components/footer/Component.js');
|
|
11
|
-
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
12
|
-
var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
|
|
13
|
-
var components_backer_Component = require('./components/backer/Component.js');
|
|
14
|
-
var components_closer_Component = require('./components/closer/Component.js');
|
|
15
|
-
|
|
16
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
17
|
-
|
|
18
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
19
|
-
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
20
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
21
|
-
|
|
22
|
-
var getDataTestId = function (dataTestId, element) {
|
|
23
|
-
var elementPart = element ? "-".concat(element.toLowerCase()) : '';
|
|
24
|
-
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_b563d","header":"bottom-sheet__header_b563d","sticky":"bottom-sheet__sticky_b563d","highlighted":"bottom-sheet__highlighted_b563d","justifyEnd":"bottom-sheet__justifyEnd_b563d","addon":"bottom-sheet__addon_b563d","addonFixed":"bottom-sheet__addonFixed_b563d","addonLeft":"bottom-sheet__addonLeft_b563d","addonRight":"bottom-sheet__addonRight_b563d","title":"bottom-sheet__title_b563d","titleCenter":"bottom-sheet__titleCenter_b563d","titleLeft":"bottom-sheet__titleLeft_b563d","trimTitle":"bottom-sheet__trimTitle_b563d","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_b563d","titleIndentRight":"bottom-sheet__titleIndentRight_b563d","titleIndentLeft":"bottom-sheet__titleIndentLeft_b563d"};
|
|
28
|
-
require('./components/header/index.css')
|
|
29
|
-
|
|
30
|
-
var Header = function (_a) {
|
|
31
|
-
var _b, _c, _d, _e, _f;
|
|
32
|
-
var title = _a.title, headerClassName = _a.headerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, titleAlign = _a.titleAlign, trimTitle = _a.trimTitle, sticky = _a.sticky, dataTestId = _a.dataTestId, onBack = _a.onBack;
|
|
33
|
-
var _g = React.useContext(coreComponentsBaseModal.BaseModalContext), headerHighlighted = _g.headerHighlighted, setHasHeader = _g.setHasHeader, setHeaderOffset = _g.setHeaderOffset;
|
|
34
|
-
var hasLeftPart = hasBacker || leftAddons || titleAlign === 'center';
|
|
35
|
-
var hasRightPart = hasCloser || rightAddons || titleAlign === 'center';
|
|
36
|
-
var hasHeaderContent = title || hasBacker || hasCloser;
|
|
37
|
-
React.useEffect(function () {
|
|
38
|
-
setHasHeader(true);
|
|
39
|
-
}, [setHasHeader]);
|
|
40
|
-
React.useEffect(function () {
|
|
41
|
-
setHeaderOffset(HEADER_OFFSET);
|
|
42
|
-
}, [setHeaderOffset]);
|
|
43
|
-
var getTitleIndent = function () {
|
|
44
|
-
var _a;
|
|
45
|
-
var titleAlignedCenter = titleAlign === 'center';
|
|
46
|
-
var hasLeftPart = hasBacker || leftAddons;
|
|
47
|
-
var hasRightPart = hasCloser || rightAddons;
|
|
48
|
-
return cn__default.default((_a = {},
|
|
49
|
-
_a[styles$1.titleBigIndentHorizontal] = !sticky && titleAlignedCenter && (hasLeftPart || hasRightPart),
|
|
50
|
-
_a[styles$1.titleIndentLeft] = !sticky && !titleAlignedCenter && hasLeftPart,
|
|
51
|
-
_a[styles$1.titleIndentRight] = !sticky && !titleAlignedCenter && hasRightPart,
|
|
52
|
-
_a));
|
|
53
|
-
};
|
|
54
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles$1.headerWrapper, headerClassName, (_b = {},
|
|
55
|
-
_b[styles$1.highlighted] = headerHighlighted && sticky,
|
|
56
|
-
_b[styles$1.sticky] = sticky,
|
|
57
|
-
_b)), "data-test-id": getDataTestId(dataTestId) },
|
|
58
|
-
React__default.default.createElement("div", { className: cn__default.default(styles$1.header, headerClassName, (_c = {},
|
|
59
|
-
_c[styles$1.justifyEnd] = !title,
|
|
60
|
-
_c)) },
|
|
61
|
-
hasLeftPart && (React__default.default.createElement("div", { className: cn__default.default(styles$1.addon, addonClassName, (_d = {},
|
|
62
|
-
_d[styles$1.addonFixed] = !sticky,
|
|
63
|
-
_d[styles$1.addonLeft] = !sticky,
|
|
64
|
-
_d)) }, hasBacker ? (React__default.default.createElement(components_backer_Component.Backer, { className: backerClassName, onClick: onBack, dataTestId: getDataTestId(dataTestId, 'backer') })) : (leftAddons))),
|
|
65
|
-
hasHeaderContent && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-large', weight: 'bold', className: cn__default.default(styles$1.title, getTitleIndent(), (_e = {},
|
|
66
|
-
_e[styles$1.titleCenter] = titleAlign === 'center',
|
|
67
|
-
_e[styles$1.titleLeft] = titleAlign === 'left',
|
|
68
|
-
_e[styles$1.trimTitle] = trimTitle,
|
|
69
|
-
_e)), color: 'primary', dataTestId: getDataTestId(dataTestId, 'title') }, title)),
|
|
70
|
-
hasRightPart && (React__default.default.createElement("div", { className: cn__default.default(styles$1.addon, addonClassName, (_f = {},
|
|
71
|
-
_f[styles$1.addonFixed] = !sticky,
|
|
72
|
-
_f[styles$1.addonRight] = !sticky,
|
|
73
|
-
_f)) }, hasCloser ? (React__default.default.createElement(components_closer_Component.Closer, { className: closerClassName, dataTestId: getDataTestId(dataTestId, 'closer') })) : (rightAddons)))),
|
|
74
|
-
bottomAddons));
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
var styles = {"modal":"bottom-sheet__modal_8liup","component":"bottom-sheet__component_8liup","withTransition":"bottom-sheet__withTransition_8liup","scrollableContainer":"bottom-sheet__scrollableContainer_8liup","marker":"bottom-sheet__marker_8liup","content":"bottom-sheet__content_8liup","noHeader":"bottom-sheet__noHeader_8liup","noFooter":"bottom-sheet__noFooter_8liup","scrollLocked":"bottom-sheet__scrollLocked_8liup","appear":"bottom-sheet__appear_8liup","enter":"bottom-sheet__enter_8liup","appearActive":"bottom-sheet__appearActive_8liup","enterActive":"bottom-sheet__enterActive_8liup","enterDone":"bottom-sheet__enterDone_8liup","appearDone":"bottom-sheet__appearDone_8liup","exit":"bottom-sheet__exit_8liup","exitActive":"bottom-sheet__exitActive_8liup"};
|
|
78
|
-
require('./index.css')
|
|
79
|
-
|
|
80
|
-
var TIMEOUT = 300;
|
|
81
|
-
var SWIPE_CLOSE_VELOCITY = 0.4;
|
|
82
|
-
var MIN_BACKDROP_OPACITY = 0.2;
|
|
83
|
-
var HEADER_HEIGHT = 56;
|
|
84
|
-
var MARKET_HEIGHT = 24;
|
|
85
|
-
/* Верхний отступ шторки, если она открыта на максимальную высоту */
|
|
86
|
-
var HEADER_OFFSET = 24;
|
|
87
|
-
var CLOSE_OFFSET = 0.2;
|
|
88
|
-
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
89
|
-
var _b, _c, _d;
|
|
90
|
-
var open = _a.open, title = _a.title, container = _a.container, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, _k = _a.scrollableContainerRef, scrollableContainerRef = _k === void 0 ? function () { return null; } : _k, onClose = _a.onClose, onBack = _a.onBack;
|
|
91
|
-
var _l = React.useState(0), sheetOffset = _l[0], setSheetOffset = _l[1];
|
|
92
|
-
var _m = React.useState(1), backdropOpacity = _m[0], setBackdropOpacity = _m[1];
|
|
93
|
-
var _o = React.useState(false), scrollLocked = _o[0], setScrollLocked = _o[1];
|
|
94
|
-
var sheetHeight = React.useRef(0);
|
|
95
|
-
var scrollableContainer = React.useRef(null);
|
|
96
|
-
var scrollableContainerScrollValue = React.useRef(0);
|
|
97
|
-
var emptyHeader = !hasCloser && !hasBacker && !leftAddons && !rightAddons && !title;
|
|
98
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
99
|
-
var fullHeight = reactDiv100vh.use100vh();
|
|
100
|
-
var targetHeight = "".concat(fullHeight - HEADER_OFFSET, "px");
|
|
101
|
-
var headerProps = {
|
|
102
|
-
title: title,
|
|
103
|
-
headerClassName: headerClassName,
|
|
104
|
-
addonClassName: addonClassName,
|
|
105
|
-
closerClassName: closerClassName,
|
|
106
|
-
backerClassName: backerClassName,
|
|
107
|
-
leftAddons: leftAddons,
|
|
108
|
-
rightAddons: rightAddons,
|
|
109
|
-
bottomAddons: bottomAddons,
|
|
110
|
-
hasCloser: hasCloser,
|
|
111
|
-
hasBacker: hasBacker,
|
|
112
|
-
titleAlign: titleAlign,
|
|
113
|
-
trimTitle: trimTitle,
|
|
114
|
-
sticky: stickyHeader,
|
|
115
|
-
dataTestId: getDataTestId(dataTestId, 'header'),
|
|
116
|
-
onBack: onBack,
|
|
117
|
-
};
|
|
118
|
-
var getBackdropOpacity = function (offset) {
|
|
119
|
-
if (sheetHeight.current === 0)
|
|
120
|
-
return MIN_BACKDROP_OPACITY;
|
|
121
|
-
var opacity = 1 - (1 - MIN_BACKDROP_OPACITY) * (offset / sheetHeight.current);
|
|
122
|
-
return Number(opacity.toFixed(2));
|
|
123
|
-
};
|
|
124
|
-
var getSheetOffset = function (deltaY) {
|
|
125
|
-
var offset = deltaY > 0 ? 0 : -deltaY;
|
|
126
|
-
offset -= scrollableContainerScrollValue.current;
|
|
127
|
-
return Math.floor(Math.max(0, offset));
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Если контент внутри шторки скроллится - то шторка не должна свайпаться
|
|
131
|
-
* Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
|
|
132
|
-
*/
|
|
133
|
-
var shouldSkipSwiping = function (offsetY) {
|
|
134
|
-
if (!swipeable)
|
|
135
|
-
return true;
|
|
136
|
-
if (!scrollableContainer.current ||
|
|
137
|
-
(stickyHeader && offsetY <= HEADER_HEIGHT + HEADER_OFFSET) ||
|
|
138
|
-
(!stickyHeader && offsetY <= MARKET_HEIGHT + HEADER_OFFSET)) {
|
|
139
|
-
return false;
|
|
140
|
-
}
|
|
141
|
-
if (!scrollableContainerScrollValue.current) {
|
|
142
|
-
scrollableContainerScrollValue.current = Math.floor(scrollableContainer.current.scrollTop);
|
|
143
|
-
}
|
|
144
|
-
return scrollableContainer.current.scrollTop > 0;
|
|
145
|
-
};
|
|
146
|
-
var handleBackdropSwipedDown = function (_a) {
|
|
147
|
-
var velocity = _a.velocity;
|
|
148
|
-
if (velocity > SWIPE_CLOSE_VELOCITY) {
|
|
149
|
-
onClose();
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
var handleSheetSwipedDown = function (_a) {
|
|
153
|
-
var velocity = _a.velocity, initial = _a.initial;
|
|
154
|
-
var offsetY = initial[1];
|
|
155
|
-
if (shouldSkipSwiping(offsetY)) {
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
var shouldClose = sheetOffset > sheetHeight.current * CLOSE_OFFSET || velocity > SWIPE_CLOSE_VELOCITY;
|
|
159
|
-
if (shouldClose) {
|
|
160
|
-
onClose();
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
setSheetOffset(0);
|
|
164
|
-
setBackdropOpacity(1);
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
var handleSheetSwiped = function () {
|
|
168
|
-
setScrollLocked(false);
|
|
169
|
-
scrollableContainerScrollValue.current = 0;
|
|
170
|
-
};
|
|
171
|
-
var handleSheetSwiping = function (_a) {
|
|
172
|
-
var deltaY = _a.deltaY, initial = _a.initial;
|
|
173
|
-
var offsetY = initial[1];
|
|
174
|
-
if (shouldSkipSwiping(offsetY)) {
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
var offset = getSheetOffset(deltaY);
|
|
178
|
-
var opacity = getBackdropOpacity(offset);
|
|
179
|
-
setSheetOffset(offset);
|
|
180
|
-
setBackdropOpacity(opacity);
|
|
181
|
-
/**
|
|
182
|
-
* Если шторка начинает свайпаться, то блокируем скролл внутри нее
|
|
183
|
-
*/
|
|
184
|
-
if (offset > 0) {
|
|
185
|
-
setScrollLocked(true);
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
var backdropSwipeablehandlers = reactSwipeable.useSwipeable({
|
|
189
|
-
onSwipedDown: handleBackdropSwipedDown,
|
|
190
|
-
delta: 100,
|
|
191
|
-
trackMouse: swipeable,
|
|
192
|
-
});
|
|
193
|
-
var sheetSwipeablehandlers = reactSwipeable.useSwipeable({
|
|
194
|
-
onSwiping: handleSheetSwiping,
|
|
195
|
-
onSwipedDown: handleSheetSwipedDown,
|
|
196
|
-
onSwiped: handleSheetSwiped,
|
|
197
|
-
delta: 5,
|
|
198
|
-
trackMouse: swipeable,
|
|
199
|
-
});
|
|
200
|
-
var handleExited = React.useCallback(function (node) {
|
|
201
|
-
setBackdropOpacity(1);
|
|
202
|
-
if (transitionProps.onExited) {
|
|
203
|
-
transitionProps.onExited(node);
|
|
204
|
-
}
|
|
205
|
-
}, [transitionProps]);
|
|
206
|
-
var handleEntered = React.useCallback(function (node, isAppearing) {
|
|
207
|
-
if (!sheetHeight.current) {
|
|
208
|
-
sheetHeight.current = node.getBoundingClientRect().height;
|
|
209
|
-
}
|
|
210
|
-
setBackdropOpacity(1);
|
|
211
|
-
if (transitionProps.onEntered) {
|
|
212
|
-
transitionProps.onEntered(node, isAppearing);
|
|
213
|
-
}
|
|
214
|
-
}, [transitionProps]);
|
|
215
|
-
React.useEffect(function () {
|
|
216
|
-
if (!open) {
|
|
217
|
-
setSheetOffset(0);
|
|
218
|
-
}
|
|
219
|
-
}, [open]);
|
|
220
|
-
var getSwipeStyles = function () { return ({
|
|
221
|
-
transform: sheetOffset ? "translateY(".concat(sheetOffset, "px)") : '',
|
|
222
|
-
}); };
|
|
223
|
-
var getHeightStyles = function () { return ({
|
|
224
|
-
height: initialHeight === 'full' ? targetHeight : 'unset',
|
|
225
|
-
maxHeight: targetHeight,
|
|
226
|
-
}); };
|
|
227
|
-
return (React__default.default.createElement(coreComponentsBaseModal.BaseModal, { open: open, ref: ref, container: container, dataTestId: dataTestId, zIndex: zIndex, onClose: onClose, scrollHandler: scrollableContainer, Backdrop: components_swipeableBackdrop_Component.SwipeableBackdrop, backdropProps: tslib_es6.__assign(tslib_es6.__assign({}, backdropProps), { opacity: backdropOpacity, handlers: swipeable ? backdropSwipeablehandlers : false, opacityTimeout: TIMEOUT, invisible: initialHeight === 'full' ? false : hideOverlay }), disableBackdropClick: hideOverlay ? true : disableOverlayClick, className: cn__default.default(styles.modal, modalClassName), wrapperClassName: modalWrapperClassName, disableBlockingScroll: disableBlockingScroll, transitionProps: tslib_es6.__assign(tslib_es6.__assign({ appear: true, timeout: TIMEOUT, classNames: styles }, transitionProps), { onExited: handleExited, onEntered: handleEntered }) },
|
|
228
|
-
React__default.default.createElement("div", { style: tslib_es6.__assign({}, getHeightStyles()) },
|
|
229
|
-
React__default.default.createElement("div", tslib_es6.__assign({ className: cn__default.default(styles.component, className, (_b = {},
|
|
230
|
-
_b[styles.withTransition] = !sheetOffset,
|
|
231
|
-
_b)), style: tslib_es6.__assign(tslib_es6.__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
|
|
232
|
-
React__default.default.createElement("div", tslib_es6.__assign({}, containerProps, { className: cn__default.default(styles.scrollableContainer, containerProps === null || containerProps === void 0 ? void 0 : containerProps.className, containerClassName, (_c = {},
|
|
233
|
-
_c[styles.scrollLocked] = scrollLocked,
|
|
234
|
-
_c)), ref: mergeRefs__default.default([scrollableContainer, scrollableContainerRef]) }),
|
|
235
|
-
swipeable && React__default.default.createElement("div", { className: cn__default.default(styles.marker) }),
|
|
236
|
-
!hideHeader && !emptyHeader && React__default.default.createElement(Header, tslib_es6.__assign({}, headerProps)),
|
|
237
|
-
React__default.default.createElement("div", { className: cn__default.default(styles.content, contentClassName, (_d = {},
|
|
238
|
-
_d[styles.noHeader] = hideHeader || emptyHeader,
|
|
239
|
-
_d[styles.noFooter] = !actionButton,
|
|
240
|
-
_d)) }, children),
|
|
241
|
-
actionButton && (React__default.default.createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: footerClassName }, actionButton)))))));
|
|
242
|
-
});
|
|
243
|
-
|
|
244
|
-
exports.BottomSheet = BottomSheet;
|
|
245
|
-
exports.CLOSE_OFFSET = CLOSE_OFFSET;
|
|
246
|
-
exports.HEADER_OFFSET = HEADER_OFFSET;
|
|
247
|
-
exports.Header = Header;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
|
-
import { IconButtonProps } from "@alfalab/core-components-icon-button";
|
|
5
|
-
type BackerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Размер кнопки
|
|
12
|
-
*/
|
|
13
|
-
size?: IconButtonProps['size'];
|
|
14
|
-
/**
|
|
15
|
-
* Иконка
|
|
16
|
-
*/
|
|
17
|
-
icon?: ElementType;
|
|
18
|
-
/**
|
|
19
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
20
|
-
*/
|
|
21
|
-
dataTestId?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Обработчик нажатия
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
};
|
|
27
|
-
declare const Backer: React.FC<BackerProps>;
|
|
28
|
-
export { BackerProps, Backer };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-1027d96a.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var cn = require('classnames');
|
|
6
|
-
var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
|
|
7
|
-
var ArrowBackMIcon = require('@alfalab/icons-glyph/ArrowBackMIcon');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
|
-
|
|
14
|
-
var styles = {"backer":"bottom-sheet__backer_f3np1","button":"bottom-sheet__button_f3np1"};
|
|
15
|
-
require('./index.css')
|
|
16
|
-
|
|
17
|
-
var Backer = function (_a) {
|
|
18
|
-
var className = _a.className, _b = _a.size, size = _b === void 0 ? 'xs' : _b, _c = _a.icon, icon = _c === void 0 ? ArrowBackMIcon.ArrowBackMIcon : _c, dataTestId = _a.dataTestId, onClick = _a.onClick, restProps = tslib_es6.__rest(_a, ["className", "size", "icon", "dataTestId", "onClick"]);
|
|
19
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles.backer, className) },
|
|
20
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, tslib_es6.__assign({ size: size, className: styles.button, "aria-label": '\u043D\u0430\u0437\u0430\u0434', onClick: onClick, icon: icon, dataTestId: dataTestId }, restProps))));
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
exports.Backer = Backer;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* hash: 1xbzm */
|
|
2
|
-
:root {
|
|
3
|
-
} /* deprecated */ :root {
|
|
4
|
-
--color-light-graphic-primary: #0b1f35;
|
|
5
|
-
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
6
|
-
} :root {
|
|
7
|
-
} :root {
|
|
8
|
-
} :root {
|
|
9
|
-
|
|
10
|
-
/* Hard */
|
|
11
|
-
|
|
12
|
-
/* Up */
|
|
13
|
-
|
|
14
|
-
/* Hard up */
|
|
15
|
-
} :root {
|
|
16
|
-
} :root {
|
|
17
|
-
} :root {
|
|
18
|
-
} :root {
|
|
19
|
-
} :root {
|
|
20
|
-
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
21
|
-
} .bottom-sheet__backer_f3np1 {
|
|
22
|
-
width: 32px;
|
|
23
|
-
height: 32px;
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
color: var(--color-light-graphic-primary);
|
|
29
|
-
} .bottom-sheet__button_f3np1 {
|
|
30
|
-
background: var(--bottom-sheet-backer-bg-color);
|
|
31
|
-
-webkit-backdrop-filter: blur(10px);
|
|
32
|
-
backdrop-filter: blur(10px);
|
|
33
|
-
border-radius: 50px;
|
|
34
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
|
-
import { IconButtonProps } from "@alfalab/core-components-icon-button";
|
|
5
|
-
type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Размер кнопки
|
|
12
|
-
*/
|
|
13
|
-
size?: IconButtonProps['size'];
|
|
14
|
-
/**
|
|
15
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
16
|
-
*/
|
|
17
|
-
dataTestId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Иконка
|
|
20
|
-
*/
|
|
21
|
-
icon?: ElementType;
|
|
22
|
-
};
|
|
23
|
-
declare const Closer: React.FC<CloserProps>;
|
|
24
|
-
export { CloserProps, Closer };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-1027d96a.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var cn = require('classnames');
|
|
6
|
-
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
7
|
-
var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
|
|
8
|
-
var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
14
|
-
|
|
15
|
-
var styles = {"closer":"bottom-sheet__closer_tnhi0","button":"bottom-sheet__button_tnhi0"};
|
|
16
|
-
require('./index.css')
|
|
17
|
-
|
|
18
|
-
var Closer = function (_a) {
|
|
19
|
-
var className = _a.className, _b = _a.size, size = _b === void 0 ? 'xs' : _b, _c = _a.icon, icon = _c === void 0 ? CrossMIcon.CrossMIcon : _c, dataTestId = _a.dataTestId, restProps = tslib_es6.__rest(_a, ["className", "size", "icon", "dataTestId"]);
|
|
20
|
-
var onClose = React.useContext(coreComponentsBaseModal.BaseModalContext).onClose;
|
|
21
|
-
var handleClick = React.useCallback(function (event) {
|
|
22
|
-
onClose(event, 'closerClick');
|
|
23
|
-
}, [onClose]);
|
|
24
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles.closer, className) },
|
|
25
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, tslib_es6.__assign({ size: size, className: styles.button, "aria-label": '\u0437\u0430\u043A\u0440\u044B\u0442\u044C', onClick: handleClick, icon: icon, dataTestId: dataTestId }, restProps))));
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
exports.Closer = Closer;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* hash: 13z6q */
|
|
2
|
-
:root {
|
|
3
|
-
} /* deprecated */ :root {
|
|
4
|
-
--color-light-graphic-primary: #0b1f35;
|
|
5
|
-
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
6
|
-
} :root {
|
|
7
|
-
} :root {
|
|
8
|
-
} :root {
|
|
9
|
-
|
|
10
|
-
/* Hard */
|
|
11
|
-
|
|
12
|
-
/* Up */
|
|
13
|
-
|
|
14
|
-
/* Hard up */
|
|
15
|
-
} :root {
|
|
16
|
-
} :root {
|
|
17
|
-
} :root {
|
|
18
|
-
} :root {
|
|
19
|
-
} :root {
|
|
20
|
-
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
21
|
-
} .bottom-sheet__closer_tnhi0 {
|
|
22
|
-
width: 32px;
|
|
23
|
-
height: 32px;
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
color: var(--color-light-graphic-primary);
|
|
29
|
-
} .bottom-sheet__button_tnhi0 {
|
|
30
|
-
background: var(--bottom-sheet-closer-bg-color);
|
|
31
|
-
-webkit-backdrop-filter: blur(10px);
|
|
32
|
-
backdrop-filter: blur(10px);
|
|
33
|
-
border-radius: 50px;
|
|
34
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
|
-
import { IconButtonProps } from "@alfalab/core-components-icon-button";
|
|
5
|
-
type BackerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Размер кнопки
|
|
12
|
-
*/
|
|
13
|
-
size?: IconButtonProps['size'];
|
|
14
|
-
/**
|
|
15
|
-
* Иконка
|
|
16
|
-
*/
|
|
17
|
-
icon?: ElementType;
|
|
18
|
-
/**
|
|
19
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
20
|
-
*/
|
|
21
|
-
dataTestId?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Обработчик нажатия
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
};
|
|
27
|
-
declare const Backer: React.FC<BackerProps>;
|
|
28
|
-
export { BackerProps, Backer };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var cn = require('classnames');
|
|
6
|
-
var coreComponentsIconButton = require('@alfalab/core-components-icon-button/cssm');
|
|
7
|
-
var ArrowBackMIcon = require('@alfalab/icons-glyph/ArrowBackMIcon');
|
|
8
|
-
var styles = require('./index.module.css');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
14
|
-
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
15
|
-
|
|
16
|
-
var Backer = function (_a) {
|
|
17
|
-
var className = _a.className, _b = _a.size, size = _b === void 0 ? 'xs' : _b, _c = _a.icon, icon = _c === void 0 ? ArrowBackMIcon.ArrowBackMIcon : _c, dataTestId = _a.dataTestId, onClick = _a.onClick, restProps = tslib_es6.__rest(_a, ["className", "size", "icon", "dataTestId", "onClick"]);
|
|
18
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.backer, className) },
|
|
19
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, tslib_es6.__assign({ size: size, className: styles__default.default.button, "aria-label": '\u043D\u0430\u0437\u0430\u0434', onClick: onClick, icon: icon, dataTestId: dataTestId }, restProps))));
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
exports.Backer = Backer;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
--color-light-graphic-primary: #0b1f35;
|
|
4
|
-
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
5
|
-
} :root {
|
|
6
|
-
} :root {
|
|
7
|
-
} :root {
|
|
8
|
-
|
|
9
|
-
/* Hard */
|
|
10
|
-
|
|
11
|
-
/* Up */
|
|
12
|
-
|
|
13
|
-
/* Hard up */
|
|
14
|
-
} :root {
|
|
15
|
-
} :root {
|
|
16
|
-
} :root {
|
|
17
|
-
} :root {
|
|
18
|
-
} :root {
|
|
19
|
-
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
20
|
-
} .backer {
|
|
21
|
-
width: 32px;
|
|
22
|
-
height: 32px;
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
color: var(--color-light-graphic-primary);
|
|
28
|
-
} .button {
|
|
29
|
-
background: var(--bottom-sheet-backer-bg-color);
|
|
30
|
-
-webkit-backdrop-filter: blur(10px);
|
|
31
|
-
backdrop-filter: blur(10px);
|
|
32
|
-
border-radius: 50px;
|
|
33
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
|
-
import { IconButtonProps } from "@alfalab/core-components-icon-button";
|
|
5
|
-
type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Размер кнопки
|
|
12
|
-
*/
|
|
13
|
-
size?: IconButtonProps['size'];
|
|
14
|
-
/**
|
|
15
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
16
|
-
*/
|
|
17
|
-
dataTestId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Иконка
|
|
20
|
-
*/
|
|
21
|
-
icon?: ElementType;
|
|
22
|
-
};
|
|
23
|
-
declare const Closer: React.FC<CloserProps>;
|
|
24
|
-
export { CloserProps, Closer };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var cn = require('classnames');
|
|
6
|
-
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal/cssm');
|
|
7
|
-
var coreComponentsIconButton = require('@alfalab/core-components-icon-button/cssm');
|
|
8
|
-
var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
|
|
9
|
-
var styles = require('./index.module.css');
|
|
10
|
-
|
|
11
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
|
-
|
|
13
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
|
-
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
16
|
-
|
|
17
|
-
var Closer = function (_a) {
|
|
18
|
-
var className = _a.className, _b = _a.size, size = _b === void 0 ? 'xs' : _b, _c = _a.icon, icon = _c === void 0 ? CrossMIcon.CrossMIcon : _c, dataTestId = _a.dataTestId, restProps = tslib_es6.__rest(_a, ["className", "size", "icon", "dataTestId"]);
|
|
19
|
-
var onClose = React.useContext(coreComponentsBaseModal.BaseModalContext).onClose;
|
|
20
|
-
var handleClick = React.useCallback(function (event) {
|
|
21
|
-
onClose(event, 'closerClick');
|
|
22
|
-
}, [onClose]);
|
|
23
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.closer, className) },
|
|
24
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, tslib_es6.__assign({ size: size, className: styles__default.default.button, "aria-label": '\u0437\u0430\u043A\u0440\u044B\u0442\u044C', onClick: handleClick, icon: icon, dataTestId: dataTestId }, restProps))));
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
exports.Closer = Closer;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
3
|
-
--color-light-graphic-primary: #0b1f35;
|
|
4
|
-
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
5
|
-
} :root {
|
|
6
|
-
} :root {
|
|
7
|
-
} :root {
|
|
8
|
-
|
|
9
|
-
/* Hard */
|
|
10
|
-
|
|
11
|
-
/* Up */
|
|
12
|
-
|
|
13
|
-
/* Hard up */
|
|
14
|
-
} :root {
|
|
15
|
-
} :root {
|
|
16
|
-
} :root {
|
|
17
|
-
} :root {
|
|
18
|
-
} :root {
|
|
19
|
-
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
20
|
-
} .closer {
|
|
21
|
-
width: 32px;
|
|
22
|
-
height: 32px;
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
color: var(--color-light-graphic-primary);
|
|
28
|
-
} .button {
|
|
29
|
-
background: var(--bottom-sheet-closer-bg-color);
|
|
30
|
-
-webkit-backdrop-filter: blur(10px);
|
|
31
|
-
backdrop-filter: blur(10px);
|
|
32
|
-
border-radius: 50px;
|
|
33
|
-
}
|
|
@@ -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 };
|