react-jupiter 5.12.0 → 6.0.0-beta.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/accordion/index.js +1 -1
- package/accordion/index.styles.js +47 -5
- package/accordion/panel.js +5 -5
- package/avatar/index.js +2 -2
- package/avatar/index.styles.js +15 -15
- package/button/index.js +139 -45
- package/button/index.styles.js +96 -93
- package/button/theme.js +53 -29
- package/button/utils.js +2 -2
- package/card/card-template/index.js +2 -2
- package/card/card-template/index.stories.js +99 -59
- package/card/card-template/index.style.js +22 -22
- package/card/card-template/index.test.js +8 -8
- package/card/event-card/event-card-label/index.style.js +8 -8
- package/card/event-card/index.js +5 -5
- package/card/event-card/index.stories.js +139 -128
- package/card/event-card/index.style.js +121 -111
- package/card/event-card/index.test.js +1 -1
- package/card/organization-card/index.js +1 -1
- package/card/organization-card/index.stories.js +40 -10
- package/card/organization-card/index.style.js +6 -6
- package/card/organization-card/index.test.js +1 -1
- package/card/orgnizer-card/buttons.js +1 -1
- package/card/orgnizer-card/index.js +27 -27
- package/card/orgnizer-card/index.stories.js +73 -17
- package/card/orgnizer-card/index.style.js +58 -47
- package/cover/index.js +5 -5
- package/cover/index.style.js +44 -37
- package/display/index.js +1 -1
- package/display/index.style.js +77 -76
- package/file-item/fileImgIcon.js +2 -2
- package/file-item/fileImgsFont.js +798 -798
- package/file-item/index.js +2 -2
- package/file-item/index.style.js +31 -30
- package/file-item/utils.js +1 -1
- package/form/captcha/index.js +3 -3
- package/form/captcha/index.stories.js +41 -22
- package/form/captcha/index.style.js +38 -36
- package/form/checkbox/checkbox-option.js +2 -2
- package/form/checkbox/checkbox.js +4 -4
- package/form/checkbox/index.stories.js +100 -35
- package/form/checkbox/index.style.js +62 -40
- package/form/dropdown/index.stories.js +96 -39
- package/form/dropdown/index.style.js +57 -55
- package/form/dropdown/option.js +1 -1
- package/form/dropdown/select.js +2 -2
- package/form/errorMsg.js +2 -2
- package/form/radio/index.stories.js +96 -33
- package/form/radio/index.style.js +61 -52
- package/form/radio/radio-option.js +2 -2
- package/form/radio/radio.js +4 -4
- package/form/text-input/index.js +4 -4
- package/form/text-input/index.stories.js +67 -16
- package/form/text-input/index.style.js +57 -55
- package/form/textarea/index.js +1 -1
- package/form/textarea/index.stories.js +79 -20
- package/form/textarea/index.style.js +23 -23
- package/form-v7/captcha/index.js +6 -6
- package/form-v7/captcha/index.stories.js +55 -25
- package/form-v7/captcha/index.style.js +38 -36
- package/form-v7/checkbox/checkbox-option.js +5 -3
- package/form-v7/checkbox/checkbox.js +9 -7
- package/form-v7/checkbox/index.stories.js +100 -67
- package/form-v7/checkbox/index.style.js +62 -40
- package/form-v7/dropdown/index.stories.js +101 -92
- package/form-v7/dropdown/index.style.js +57 -55
- package/form-v7/dropdown/option.js +1 -1
- package/form-v7/dropdown/select.js +8 -7
- package/form-v7/errorMsg.js +2 -2
- package/form-v7/file-input/index.js +6 -6
- package/form-v7/file-input/index.stories.js +63 -22
- package/form-v7/file-input/index.style.js +62 -54
- package/form-v7/form/index.stories.js +167 -64
- package/form-v7/index.style.js +10 -2
- package/form-v7/label/index.js +2 -2
- package/form-v7/label/index.style.js +11 -11
- package/form-v7/radio/index.stories.js +100 -65
- package/form-v7/radio/index.style.js +61 -52
- package/form-v7/radio/radio-option.js +5 -3
- package/form-v7/radio/radio.js +9 -7
- package/form-v7/text-input/index.js +8 -7
- package/form-v7/text-input/index.stories.js +83 -64
- package/form-v7/text-input/index.style.js +49 -41
- package/form-v7/textarea/index.js +5 -4
- package/form-v7/textarea/index.stories.js +77 -31
- package/form-v7/textarea/index.style.js +23 -23
- package/globalStyle.js +26 -26
- package/grid/index.js +83 -0
- package/icon/iconFont.js +1054 -796
- package/icon/index.js +97 -28
- package/icon/index.styles.js +7 -7
- package/index.js +2 -2
- package/modal/index.js +13 -13
- package/modal/index.style.js +15 -15
- package/numeric-summery-report/index.js +1 -1
- package/numeric-summery-report/index.style.js +16 -11
- package/package.json +1 -3
- package/product-menu/index.style.js +38 -37
- package/product-menu/menu-item.js +1 -1
- package/product-menu/menu.js +1 -1
- package/product-menu/theme.js +5 -1
- package/product-owner/index.js +1 -1
- package/product-owner/index.style.js +12 -6
- package/product-properties/index.js +5 -5
- package/product-properties/index.style.js +14 -11
- package/product-properties/product-property/index.js +1 -1
- package/product-properties/product-property/index.style.js +6 -6
- package/progress-bar/index.js +1 -1
- package/progress-bar/index.styles.js +65 -63
- package/show-date/index.js +1 -1
- package/spacing/core.js +104 -68
- package/spacing/margin/index.js +11 -11
- package/spacing/padding/index.js +11 -11
- package/table/actionCell.js +2 -2
- package/table/index.js +1 -1
- package/table/index.style.js +107 -106
- package/table/tableHeaderRow.js +1 -1
- package/table/tableRow.js +4 -4
- package/tabs/index.style.js +35 -32
- package/tabs/tabPanel.js +2 -2
- package/tabs/tabs.js +3 -3
- package/tabs/theme.js +1 -1
- package/titled-avatar/index.js +2 -2
- package/titled-avatar/index.style.js +30 -25
- package/typography/heading/index.js +2 -2
- package/typography/heading/index.stories.js +87 -34
- package/typography/heading/index.styles.js +69 -67
- package/typography/heading/index.test.js +13 -13
- package/typography/link/index.js +5 -5
- package/typography/link/index.stories.js +66 -8
- package/typography/link/index.styles.js +5 -5
- package/typography/link/index.test.js +1 -1
- package/typography/paragraph/index.js +3 -3
- package/typography/paragraph/index.stories.js +56 -27
- package/typography/paragraph/index.styles.js +10 -10
- package/typography/paragraph/index.test.js +3 -3
- package/typography/text/index.js +6 -6
- package/typography/text/index.stories.js +196 -26
- package/typography/text/index.styles.js +73 -72
- package/typography/text/index.test.js +2 -2
- package/typography/utils.js +24 -24
- package/utils/media-query.js +5 -5
- package/utils/test.js +1 -1
- package/icons/index.js +0 -29
- package/icons/index.style.js +0 -30
- package/icons/theme.js +0 -12
- package/icons/utils.js +0 -672
|
@@ -1,155 +1,166 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VerticalWithPartnership=exports.VerticalWithFinished=exports.VerticalWithCustomCover=exports.VerticalWithAds=exports.Vertical=exports.HorizontalWithFinished=exports.HorizontalWithAds=exports.HorizontalMobile=exports.Horizontal=void 0;var _react=_interopRequireDefault(require("react")),_index=_interopRequireDefault(require("./index")),_index2=require("./index.style");function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}
|
|
2
2
|
|
|
3
|
+
// import '../storybook.css';
|
|
4
|
+
const
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _index2=require("./index.style");var _react=_interopRequireDefault(require("react")),_react2=require("@storybook/react"),_addonInfo=require("@storybook/addon-info"),_index=_interopRequireDefault(require("./index"));require("../../storybook.css");function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
(0,_react2.storiesOf)("EventCard",module).
|
|
10
|
-
add("horizontal mobile event card",()=>/*#__PURE__*/
|
|
11
|
-
_react.default.createElement(_index.default,{
|
|
12
|
-
type:"horizontal-mobile",
|
|
13
|
-
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0646\u0633\u0628\u062A\u0627 \u0637\u0648\u0644\u0627\u0646\u06CC \u062F\u0631 \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647 \u0628\u0627\u06CC\u062F \u0648 \u0628\u0627\u06CC\u062F \u0648 \u0642\u0631\u0627\u0631 \u0627\u0633\u062A \u0627\u0636\u0627\u0641\u0647 \u0628\u06CC\u0627\u06CC\u062F \u0648 \u0628\u0632\u0646\u062F \u0628\u0647 \u0628\u06CC\u0631\u0648\u0646",
|
|
14
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
15
|
-
date:"2020-01-10T14:00:00+0330",
|
|
16
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
17
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
18
|
-
clickBookmark:()=>!0,
|
|
19
|
-
queryString:"icn=trendEvents&ici=fp5",
|
|
20
|
-
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewhere"},a)}
|
|
21
|
-
)
|
|
22
|
-
).
|
|
23
|
-
add("horizontal event card",()=>/*#__PURE__*/
|
|
24
|
-
_react.default.createElement(_index.default,{
|
|
25
|
-
type:"horizontal",
|
|
26
|
-
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0646\u0633\u0628\u062A\u0627 \u0637\u0648\u0644\u0627\u0646\u06CC \u062F\u0631 \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647 \u0628\u0627\u06CC\u062F \u0648 \u0628\u0627\u06CC\u062F \u0648 \u0642\u0631\u0627\u0631 \u0627\u0633\u062A \u0627\u0636\u0627\u0641\u0647 \u0628\u06CC\u0627\u06CC\u062F \u0648 \u0628\u0632\u0646\u062F \u0628\u0647 \u0628\u06CC\u0631\u0648\u0646",
|
|
27
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
28
|
-
date:"2020-01-10T14:00:00+0330",
|
|
29
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
30
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
31
|
-
clickBookmark:()=>!0,
|
|
32
|
-
queryString:"icn=trendEvents&ici=fp5",
|
|
33
|
-
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewhere"},a)}
|
|
34
|
-
)
|
|
35
|
-
).
|
|
36
|
-
add("horizontal event card with ads",()=>/*#__PURE__*/
|
|
37
|
-
_react.default.createElement(_index.default,{
|
|
38
|
-
type:"horizontal",
|
|
6
|
+
defaultArgs={
|
|
39
7
|
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0646\u0633\u0628\u062A\u0627 \u0637\u0648\u0644\u0627\u0646\u06CC \u062F\u0631 \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647 \u0628\u0627\u06CC\u062F \u0648 \u0628\u0627\u06CC\u062F \u0648 \u0642\u0631\u0627\u0631 \u0627\u0633\u062A \u0627\u0636\u0627\u0641\u0647 \u0628\u06CC\u0627\u06CC\u062F \u0648 \u0628\u0632\u0646\u062F \u0628\u0647 \u0628\u06CC\u0631\u0648\u0646",
|
|
40
8
|
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
41
9
|
date:"2020-01-10T14:00:00+0330",
|
|
42
10
|
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
43
|
-
ads:!0,
|
|
44
11
|
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
45
12
|
clickBookmark:()=>!0,
|
|
46
13
|
queryString:"icn=trendEvents&ici=fp5",
|
|
47
|
-
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewhere"},a)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
_react.default.createElement(_index.default,{
|
|
52
|
-
type:"horizontal",
|
|
53
|
-
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0646\u0633\u0628\u062A\u0627 \u0637\u0648\u0644\u0627\u0646\u06CC \u062F\u0631 \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647 \u0628\u0627\u06CC\u062F \u0648 \u0628\u0627\u06CC\u062F \u0648 \u0642\u0631\u0627\u0631 \u0627\u0633\u062A \u0627\u0636\u0627\u0641\u0647 \u0628\u06CC\u0627\u06CC\u062F \u0648 \u0628\u0632\u0646\u062F \u0628\u0647 \u0628\u06CC\u0631\u0648\u0646",
|
|
54
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
55
|
-
date:"2020-01-10T14:00:00+0330",
|
|
56
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
57
|
-
finished:!0,
|
|
58
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
59
|
-
clickBookmark:()=>!0,
|
|
60
|
-
queryString:"icn=trendEvents&ici=fp5",
|
|
61
|
-
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewhere"},a)}
|
|
62
|
-
)
|
|
63
|
-
).
|
|
64
|
-
add("vertical event card",()=>/*#__PURE__*/
|
|
65
|
-
_react.default.createElement(_index.default,{
|
|
66
|
-
type:"vertical",
|
|
67
|
-
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
68
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
69
|
-
date:"2020-01-10T14:00:00+0330",
|
|
70
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
71
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
14
|
+
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewhere"},a)
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
organizationArgs={
|
|
72
18
|
organization:{
|
|
73
19
|
name:"\u0647\u0644\u062F\u06CC\u0646\u06AF \u06A9\u0644\u0627\u0646 - \u0645\u062C\u062A\u0645\u0639 \u0641\u0646\u06CC \u067E\u0644\u06CC \u062A\u06A9\u0646\u06CC\u06A9 - \u0634\u0631\u06A9\u062A \u062A\u062C\u0627\u0631\u062A \u062C\u0647\u0627\u0646\u06CC \u0627\u0646\u062F\u06CC\u0634\u0647",
|
|
74
20
|
logo:"https://static.evand.net/images/organizations/logos/original/e90483ade453446ae2fd156e15244d04.jpg"
|
|
75
21
|
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
type:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
22
|
+
renderOrganizationLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/toorganization"},a)
|
|
23
|
+
};var _default=exports.default=
|
|
24
|
+
|
|
25
|
+
{
|
|
26
|
+
title:"Components/Card/EventCard",
|
|
27
|
+
component:_index.default,
|
|
28
|
+
argTypes:{
|
|
29
|
+
type:{
|
|
30
|
+
control:"select",
|
|
31
|
+
options:["horizontal-mobile","horizontal","vertical"],
|
|
32
|
+
description:"The type of the event card"
|
|
33
|
+
},
|
|
34
|
+
title:{
|
|
35
|
+
control:"text",
|
|
36
|
+
description:"The title of the event"
|
|
37
|
+
},
|
|
38
|
+
cover:{
|
|
39
|
+
control:"text",
|
|
40
|
+
description:"The cover image URL"
|
|
41
|
+
},
|
|
42
|
+
date:{
|
|
43
|
+
control:"text",
|
|
44
|
+
description:"The event date"
|
|
45
|
+
},
|
|
46
|
+
place:{
|
|
47
|
+
control:"text",
|
|
48
|
+
description:"The event location"
|
|
49
|
+
},
|
|
50
|
+
price:{
|
|
51
|
+
control:"text",
|
|
52
|
+
description:"The event price"
|
|
53
|
+
},
|
|
54
|
+
ads:{
|
|
55
|
+
control:"boolean",
|
|
56
|
+
description:"Whether the card is an advertisement"
|
|
57
|
+
},
|
|
58
|
+
finished:{
|
|
59
|
+
control:"boolean",
|
|
60
|
+
description:"Whether the event is finished"
|
|
61
|
+
},
|
|
62
|
+
partnership:{
|
|
63
|
+
control:"object",
|
|
64
|
+
description:"Partnership information"
|
|
65
|
+
},
|
|
89
66
|
organization:{
|
|
90
|
-
|
|
91
|
-
|
|
67
|
+
control:"object",
|
|
68
|
+
description:"Organization information"
|
|
92
69
|
},
|
|
93
|
-
clickBookmark:
|
|
70
|
+
clickBookmark:{
|
|
71
|
+
control:"function",
|
|
72
|
+
description:"Function to handle bookmark click"
|
|
73
|
+
},
|
|
74
|
+
renderEventLink:{
|
|
75
|
+
control:"function",
|
|
76
|
+
description:"Function to render event link"
|
|
77
|
+
},
|
|
78
|
+
renderOrganizationLink:{
|
|
79
|
+
control:"function",
|
|
80
|
+
description:"Function to render organization link"
|
|
81
|
+
},
|
|
82
|
+
coverImage:{
|
|
83
|
+
control:"element",
|
|
84
|
+
description:"Custom cover image element"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};const
|
|
88
|
+
|
|
89
|
+
Template=(a)=>/*#__PURE__*/_react.default.createElement(_index.default,a),
|
|
90
|
+
|
|
91
|
+
HorizontalMobile=exports.HorizontalMobile=Template.bind({});
|
|
92
|
+
HorizontalMobile.args={
|
|
93
|
+
...defaultArgs,
|
|
94
|
+
type:"horizontal-mobile"
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const Horizontal=exports.Horizontal=Template.bind({});
|
|
98
|
+
Horizontal.args={
|
|
99
|
+
...defaultArgs,
|
|
100
|
+
type:"horizontal"
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const HorizontalWithAds=exports.HorizontalWithAds=Template.bind({});
|
|
104
|
+
HorizontalWithAds.args={
|
|
105
|
+
...defaultArgs,
|
|
106
|
+
type:"horizontal",
|
|
107
|
+
ads:!0
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const HorizontalWithFinished=exports.HorizontalWithFinished=Template.bind({});
|
|
111
|
+
HorizontalWithFinished.args={
|
|
112
|
+
...defaultArgs,
|
|
113
|
+
type:"horizontal",
|
|
114
|
+
finished:!0
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const Vertical=exports.Vertical=Template.bind({});
|
|
118
|
+
Vertical.args={
|
|
119
|
+
...defaultArgs,
|
|
120
|
+
...organizationArgs,
|
|
121
|
+
type:"vertical",
|
|
122
|
+
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
123
|
+
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewherenew"},a)
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
const VerticalWithCustomCover=exports.VerticalWithCustomCover=Template.bind({});
|
|
127
|
+
VerticalWithCustomCover.args={
|
|
128
|
+
...defaultArgs,
|
|
129
|
+
...organizationArgs,
|
|
130
|
+
type:"vertical",
|
|
131
|
+
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
94
132
|
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewherenew"},a),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
)
|
|
99
|
-
|
|
100
|
-
|
|
133
|
+
coverImage:/*#__PURE__*/_react.default.createElement(_index2.VerticalCover,{src:"https://static.evand.net/assets/images/defaults/event-cover.jpg"})
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
const VerticalWithFinished=exports.VerticalWithFinished=Template.bind({});
|
|
137
|
+
VerticalWithFinished.args={
|
|
138
|
+
...defaultArgs,
|
|
139
|
+
...organizationArgs,
|
|
101
140
|
type:"vertical",
|
|
102
141
|
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
103
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
104
|
-
date:"2020-01-10T14:00:00+0330",
|
|
105
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
106
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
107
|
-
organization:{
|
|
108
|
-
name:"\u0647\u0644\u062F\u06CC\u0646\u06AF \u06A9\u0644\u0627\u0646 - \u0645\u062C\u062A\u0645\u0639 \u0641\u0646\u06CC \u067E\u0644\u06CC \u062A\u06A9\u0646\u06CC\u06A9 - \u0634\u0631\u06A9\u062A \u062A\u062C\u0627\u0631\u062A \u062C\u0647\u0627\u0646\u06CC \u0627\u0646\u062F\u06CC\u0634\u0647",
|
|
109
|
-
logo:"https://static.evand.net/images/organizations/logos/original/e90483ade453446ae2fd156e15244d04.jpg"
|
|
110
|
-
},
|
|
111
142
|
finished:!0,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
143
|
+
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewherenew"},a)
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
const VerticalWithAds=exports.VerticalWithAds=Template.bind({});
|
|
147
|
+
VerticalWithAds.args={
|
|
148
|
+
...defaultArgs,
|
|
149
|
+
...organizationArgs,
|
|
119
150
|
type:"vertical",
|
|
120
151
|
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
121
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
122
|
-
date:"2020-01-10T14:00:00+0330",
|
|
123
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
124
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
125
|
-
organization:{
|
|
126
|
-
name:"\u0647\u0644\u062F\u06CC\u0646\u06AF \u06A9\u0644\u0627\u0646 - \u0645\u062C\u062A\u0645\u0639 \u0641\u0646\u06CC \u067E\u0644\u06CC \u062A\u06A9\u0646\u06CC\u06A9 - \u0634\u0631\u06A9\u062A \u062A\u062C\u0627\u0631\u062A \u062C\u0647\u0627\u0646\u06CC \u0627\u0646\u062F\u06CC\u0634\u0647",
|
|
127
|
-
logo:"https://static.evand.net/images/organizations/logos/original/e90483ade453446ae2fd156e15244d04.jpg"
|
|
128
|
-
},
|
|
129
152
|
ads:!0,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
153
|
+
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewherenew"},a)
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
const VerticalWithPartnership=exports.VerticalWithPartnership=Template.bind({});
|
|
157
|
+
VerticalWithPartnership.args={
|
|
158
|
+
...defaultArgs,
|
|
159
|
+
...organizationArgs,
|
|
137
160
|
type:"vertical",
|
|
138
161
|
title:"\u062A\u0627\u06CC\u062A\u0644 \u06CC\u06A9 \u0631\u0648\u06CC\u062F\u0627\u062F \u0627\u06CC\u0646\u062C\u0627\u0633\u062A \u06A9\u0647\u0646",
|
|
139
|
-
cover:"https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
140
|
-
date:"2020-01-10T14:00:00+0330",
|
|
141
|
-
place:"\u062A\u0647\u0631\u0627\u0646",
|
|
142
|
-
price:"\u0627\u0632 \u06F4\u06F4\u06F0\u06F0\u06F0 \u062A\u0648\u0645\u0627\u0646",
|
|
143
|
-
organization:{
|
|
144
|
-
name:"\u0647\u0644\u062F\u06CC\u0646\u06AF \u06A9\u0644\u0627\u0646 - \u0645\u062C\u062A\u0645\u0639 \u0641\u0646\u06CC \u067E\u0644\u06CC \u062A\u06A9\u0646\u06CC\u06A9 - \u0634\u0631\u06A9\u062A \u062A\u062C\u0627\u0631\u062A \u062C\u0647\u0627\u0646\u06CC \u0627\u0646\u062F\u06CC\u0634\u0647",
|
|
145
|
-
logo:"https://static.evand.net/images/organizations/logos/original/e90483ade453446ae2fd156e15244d04.jpg"
|
|
146
|
-
},
|
|
147
162
|
partnership:{
|
|
148
163
|
status:"colleague"
|
|
149
164
|
},
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
renderOrganizationLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/toorganization"},a)}
|
|
153
|
-
)
|
|
154
|
-
).
|
|
155
|
-
addDecorator(_addonInfo.withInfo);
|
|
165
|
+
renderEventLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/tosomewherenew"},a)
|
|
166
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VerticalTitle=exports.VerticalPlacePrice=exports.VerticalCover=exports.VerticalContentContainer=exports.VerticalCardContainer=exports.PartnershipBox=exports.Link=exports.HorizontalTitle=exports.HorizontalPlacePrice=exports.HorizontalMobileCover=exports.HorizontalMobileContentContainer=exports.HorizontalCover=exports.HorizontalContentContainer=exports.HorizontalCardContainer=exports.DateLabelContainer=exports.DateBookmarkContainer=exports.BookmarkIcon=void 0;var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VerticalTitle=exports.VerticalPlacePrice=exports.VerticalCover=exports.VerticalContentContainer=exports.VerticalCardContainer=exports.PartnershipBox=exports.Link=exports.HorizontalTitle=exports.HorizontalPlacePrice=exports.HorizontalMobileCover=exports.HorizontalMobileContentContainer=exports.HorizontalCover=exports.HorizontalContentContainer=exports.HorizontalCardContainer=exports.DateLabelContainer=exports.DateBookmarkContainer=exports.BookmarkIcon=void 0;var _styledComponents=_interopRequireDefault(require("styled-components")),_cardTemplate=_interopRequireDefault(require("../card-template")),_typography=require("../../typography"),_productProperties=_interopRequireDefault(require("../../product-properties")),_icon=_interopRequireDefault(require("../../icon")),_themes=_interopRequireDefault(require("../../themes"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -7,113 +7,123 @@
|
|
|
7
7
|
|
|
8
8
|
/* Common event card styles */const
|
|
9
9
|
|
|
10
|
-
Link=exports.Link=_styledComponents.default.a
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
DateBookmarkContainer=exports.DateBookmarkContainer=_styledComponents.default.div
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
DateLabelContainer=exports.DateLabelContainer=_styledComponents.default.div
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
BookmarkIcon=exports.BookmarkIcon=(0,_styledComponents.default)(_icon.default)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
VerticalCardContainer=exports.VerticalCardContainer=(0,_styledComponents.default)(_cardTemplate.default)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
_themes.default.breakpoints.sm)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
VerticalCover=exports.VerticalCover=_styledComponents.default.img
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
VerticalContentContainer=exports.VerticalContentContainer=_styledComponents.default.div
|
|
53
|
-
(a)=>a.background)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
VerticalTitle=exports.VerticalTitle=(0,_styledComponents.default)(_typography.Heading)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
VerticalPlacePrice=exports.VerticalPlacePrice=(0,_styledComponents.default)(_productProperties.default)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
HorizontalCardContainer=exports.HorizontalCardContainer=(0,_styledComponents.default)(VerticalCardContainer)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
HorizontalCover=exports.HorizontalCover=_styledComponents.default.img
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
HorizontalMobileCover=exports.HorizontalMobileCover=_styledComponents.default.img
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
HorizontalContentContainer=exports.HorizontalContentContainer=_styledComponents.default.div
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
HorizontalMobileContentContainer=exports.HorizontalMobileContentContainer=_styledComponents.default.div
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
HorizontalTitle=exports.HorizontalTitle=(0,_styledComponents.default)(_typography.Heading)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
HorizontalPlacePrice=exports.HorizontalPlacePrice=(0,_styledComponents.default)(_productProperties.default)
|
|
118
|
-
|
|
119
|
-
PartnershipBox=exports.PartnershipBox=_styledComponents.default.div
|
|
10
|
+
Link=exports.Link=_styledComponents.default.a`
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
`,
|
|
13
|
+
|
|
14
|
+
DateBookmarkContainer=exports.DateBookmarkContainer=_styledComponents.default.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
`,
|
|
19
|
+
|
|
20
|
+
DateLabelContainer=exports.DateLabelContainer=_styledComponents.default.div`
|
|
21
|
+
display: inline-block;
|
|
22
|
+
& > * {
|
|
23
|
+
vertical-align:middle;
|
|
24
|
+
}
|
|
25
|
+
`,
|
|
26
|
+
|
|
27
|
+
BookmarkIcon=exports.BookmarkIcon=(0,_styledComponents.default)(_icon.default)`
|
|
28
|
+
margin-left: 0;
|
|
29
|
+
&:hover {
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
`,
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
VerticalCardContainer=exports.VerticalCardContainer=(0,_styledComponents.default)(_cardTemplate.default)`
|
|
36
|
+
background: white;
|
|
37
|
+
a {
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
}
|
|
40
|
+
@media only screen and (min-width: ${_themes.default.breakpoints.sm}px) {
|
|
41
|
+
min-height: 358px;
|
|
42
|
+
}
|
|
43
|
+
`,
|
|
44
|
+
|
|
45
|
+
VerticalCover=exports.VerticalCover=_styledComponents.default.img`
|
|
46
|
+
width: 100%;
|
|
47
|
+
min-width: 270px;
|
|
48
|
+
height: auto;
|
|
49
|
+
min-height: 150px;
|
|
50
|
+
`,
|
|
51
|
+
|
|
52
|
+
VerticalContentContainer=exports.VerticalContentContainer=_styledComponents.default.div`
|
|
53
|
+
background-image: url(${(a)=>a.background});
|
|
54
|
+
background-size: cover;
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
padding: 12px 16px 16px;
|
|
59
|
+
min-height: 180px;
|
|
60
|
+
max-height: 200px;
|
|
61
|
+
direction: rtl;
|
|
62
|
+
text-align: right;
|
|
63
|
+
`,
|
|
64
|
+
|
|
65
|
+
VerticalTitle=exports.VerticalTitle=(0,_styledComponents.default)(_typography.Heading)`
|
|
66
|
+
margin: 0;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
height: 60px;
|
|
69
|
+
`,
|
|
70
|
+
|
|
71
|
+
VerticalPlacePrice=exports.VerticalPlacePrice=(0,_styledComponents.default)(_productProperties.default)`
|
|
72
|
+
margin: 4px 0;
|
|
73
|
+
`,
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
HorizontalCardContainer=exports.HorizontalCardContainer=(0,_styledComponents.default)(VerticalCardContainer)`
|
|
78
|
+
height: 116px;
|
|
79
|
+
`,
|
|
80
|
+
|
|
81
|
+
HorizontalCover=exports.HorizontalCover=_styledComponents.default.img`
|
|
82
|
+
width: 206px;
|
|
83
|
+
min-width: 206px;
|
|
84
|
+
height: auto;
|
|
85
|
+
`,
|
|
86
|
+
|
|
87
|
+
HorizontalMobileCover=exports.HorizontalMobileCover=_styledComponents.default.img`
|
|
88
|
+
width: 146px;
|
|
89
|
+
min-width: 146px;
|
|
90
|
+
height: 100%;
|
|
91
|
+
`,
|
|
92
|
+
|
|
93
|
+
HorizontalContentContainer=exports.HorizontalContentContainer=_styledComponents.default.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
padding: 16px;
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
flex: 1;
|
|
99
|
+
min-width: 250px;
|
|
100
|
+
`,
|
|
101
|
+
|
|
102
|
+
HorizontalMobileContentContainer=exports.HorizontalMobileContentContainer=_styledComponents.default.div`
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
padding: 16px;
|
|
106
|
+
justify-content: space-between;
|
|
107
|
+
flex: 1;
|
|
108
|
+
min-width: 0px;
|
|
109
|
+
`,
|
|
110
|
+
|
|
111
|
+
HorizontalTitle=exports.HorizontalTitle=(0,_styledComponents.default)(_typography.Heading)`
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
text-overflow: ellipsis;
|
|
115
|
+
`,
|
|
116
|
+
|
|
117
|
+
HorizontalPlacePrice=exports.HorizontalPlacePrice=(0,_styledComponents.default)(_productProperties.default)``,
|
|
118
|
+
|
|
119
|
+
PartnershipBox=exports.PartnershipBox=_styledComponents.default.div`
|
|
120
|
+
background: #FFC72724;
|
|
121
|
+
border-radius: 5px;
|
|
122
|
+
margin-left: 5px;
|
|
123
|
+
color: #FFD324;
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
min-width: 60px;
|
|
127
|
+
height: 25px;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
`;/* Vertical event card styles *//* Horizontal event card styles */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var _react=_interopRequireDefault(require("react")),_enzyme=require("enzyme"),_reactRouterDom=require("react-router-dom"),_index=_interopRequireDefault(require("./index")),_constants=require("./constants"),_test=_interopRequireDefault(require("../../utils/test"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)
|
|
1
|
+
"use strict";var _react=_interopRequireDefault(require("react")),_enzyme=require("enzyme"),_reactRouterDom=require("react-router-dom"),_index=_interopRequireDefault(require("./index")),_constants=require("./constants"),_test=_interopRequireDefault(require("../../utils/test"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)({}).hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(null,arguments)}
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -30,7 +30,7 @@ h=[
|
|
|
30
30
|
{id:3,title:"\u062F\u0646\u0628\u0627\u0644\u200C\u06A9\u0646\u0646\u062F\u0647\u200C\u0647\u0627",count:d.followingNumber}];
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
return/*#__PURE__*/
|
|
33
|
+
return(/*#__PURE__*/
|
|
34
34
|
_react.default.createElement(_index.default,{
|
|
35
35
|
direction:"vertical",
|
|
36
36
|
hoverToLevel:3,
|
|
@@ -1,19 +1,49 @@
|
|
|
1
|
-
"use strict";var _react=_interopRequireDefault(require("react")),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.Default=void 0;var _react=_interopRequireDefault(require("react")),_index=_interopRequireDefault(require("./index"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var _default=exports.default=
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
{
|
|
5
|
+
title:"Components/OrganizationCard",
|
|
6
|
+
component:_index.default,
|
|
7
|
+
argTypes:{
|
|
8
|
+
name:{
|
|
9
|
+
control:"text",
|
|
10
|
+
description:"The organization name"
|
|
11
|
+
},
|
|
12
|
+
logo:{
|
|
13
|
+
control:"text",
|
|
14
|
+
description:"The organization logo URL"
|
|
15
|
+
},
|
|
16
|
+
cover:{
|
|
17
|
+
control:"text",
|
|
18
|
+
description:"The organization cover image URL"
|
|
19
|
+
},
|
|
20
|
+
renderLink:{
|
|
21
|
+
control:"function",
|
|
22
|
+
description:"Function to render a link wrapper"
|
|
23
|
+
},
|
|
24
|
+
report:{
|
|
25
|
+
control:"object",
|
|
26
|
+
description:"The organization statistics"
|
|
27
|
+
},
|
|
28
|
+
onClickFollow:{
|
|
29
|
+
action:"clicked",
|
|
30
|
+
description:"Callback when follow button is clicked"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};const
|
|
4
34
|
|
|
35
|
+
Template=(a)=>/*#__PURE__*/_react.default.createElement(_index.default,a),
|
|
5
36
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
37
|
+
Default=exports.Default=Template.bind({});
|
|
38
|
+
Default.args={
|
|
39
|
+
name:"Organization Name",
|
|
40
|
+
logo:"https://via.placeholder.com/80",
|
|
41
|
+
cover:"https://via.placeholder.com/300x100",
|
|
42
|
+
renderLink:(a)=>/*#__PURE__*/_react.default.createElement("a",{href:"/org-profile"},a),
|
|
11
43
|
report:{
|
|
12
44
|
heldEventsNumber:2,
|
|
13
45
|
activeEventsNumber:17,
|
|
14
46
|
followingNumber:148
|
|
15
47
|
},
|
|
16
|
-
onClickFollow:()=>{window.console.log("click on follow")}
|
|
17
|
-
|
|
18
|
-
).
|
|
19
|
-
addDecorator(_addonInfo.withInfo);
|
|
48
|
+
onClickFollow:()=>{window.console.log("click on follow")}
|
|
49
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const Container=(0,_styledComponents.default)(_cardTemplate.default)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n padding: 16px; \n height: 200px;\n justify-content: space-between;\n"])));var _default=exports.default=
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _styledComponents=_interopRequireDefault(require("styled-components")),_cardTemplate=_interopRequireDefault(require("../card-template"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}
|
|
7
2
|
|
|
8
3
|
|
|
4
|
+
const Container=(0,_styledComponents.default)(_cardTemplate.default)`
|
|
5
|
+
padding: 16px;
|
|
6
|
+
height: 200px;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
`;var _default=exports.default=
|
|
9
9
|
|
|
10
10
|
Container;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var _react=_interopRequireDefault(require("react")),_enzyme=require("enzyme"),_test=_interopRequireDefault(require("../../utils/test")),_index=_interopRequireDefault(require("./index"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)
|
|
1
|
+
"use strict";var _react=_interopRequireDefault(require("react")),_enzyme=require("enzyme"),_test=_interopRequireDefault(require("../../utils/test")),_index=_interopRequireDefault(require("./index"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)({}).hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(null,arguments)}
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|