@coorpacademy/components 11.32.21 → 11.32.23
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/es/atom/radio-with-title/index.d.ts +3 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +3 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +5 -1
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/tag/index.js +6 -3
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/title/index.d.ts +3 -0
- package/es/molecule/cm-popin/types.d.ts +7 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +12 -0
- package/es/molecule/draggable-list/index.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.js +4 -2
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/learning-priority-modal/index.d.ts +30 -0
- package/es/molecule/learning-priority-modal/index.d.ts.map +1 -0
- package/es/molecule/learning-priority-modal/index.js +242 -0
- package/es/molecule/learning-priority-modal/index.js.map +1 -0
- package/es/molecule/learning-priority-modal/style.css +70 -0
- package/es/molecule/learning-priority-setup-item/index.d.ts +18 -0
- package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
- package/es/molecule/learning-priority-setup-item/index.js +83 -0
- package/es/molecule/learning-priority-setup-item/index.js.map +1 -0
- package/es/molecule/learning-priority-setup-item/style.css +47 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +167 -0
- package/es/organism/brand-learning-priorities/index.d.ts.map +1 -0
- package/es/organism/brand-learning-priorities/index.js +131 -0
- package/es/organism/brand-learning-priorities/index.js.map +1 -0
- package/es/organism/brand-learning-priorities/style.css +48 -0
- package/es/organism/list-item/index.d.ts +34 -2
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +58 -14
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +25 -1
- package/es/organism/list-items/index.d.ts +4 -0
- package/es/organism/rewards-form/index.d.ts +3 -0
- package/es/organism/select-opponents/index.d.ts +3 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +3 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +6 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +6 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +3 -0
- package/es/template/app-player/loading/index.d.ts +7 -0
- package/es/template/app-player/player/index.d.ts +14 -0
- package/es/template/app-player/player/slides/index.d.ts +7 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +7 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +7 -0
- package/es/template/app-review/index.d.ts +7 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +7 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +7 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +149 -0
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +7 -0
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/common/dashboard/index.d.ts +18 -1
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +11 -5
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +7 -0
- package/es/template/external-course/index.d.ts +7 -0
- package/es/template/my-learning/index.d.ts +2 -78
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/my-learning/index.js +3 -7
- package/es/template/my-learning/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +3 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +3 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +5 -1
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/tag/index.js +6 -3
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/title/index.d.ts +3 -0
- package/lib/molecule/cm-popin/types.d.ts +7 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +12 -0
- package/lib/molecule/draggable-list/index.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.js +5 -2
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/learning-priority-modal/index.d.ts +30 -0
- package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -0
- package/lib/molecule/learning-priority-modal/index.js +265 -0
- package/lib/molecule/learning-priority-modal/index.js.map +1 -0
- package/lib/molecule/learning-priority-modal/style.css +70 -0
- package/lib/molecule/learning-priority-setup-item/index.d.ts +18 -0
- package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
- package/lib/molecule/learning-priority-setup-item/index.js +100 -0
- package/lib/molecule/learning-priority-setup-item/index.js.map +1 -0
- package/lib/molecule/learning-priority-setup-item/style.css +47 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +167 -0
- package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -0
- package/lib/organism/brand-learning-priorities/index.js +150 -0
- package/lib/organism/brand-learning-priorities/index.js.map +1 -0
- package/lib/organism/brand-learning-priorities/style.css +48 -0
- package/lib/organism/list-item/index.d.ts +34 -2
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +62 -16
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +25 -1
- package/lib/organism/list-items/index.d.ts +4 -0
- package/lib/organism/rewards-form/index.d.ts +3 -0
- package/lib/organism/select-opponents/index.d.ts +3 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +3 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +6 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +6 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +3 -0
- package/lib/template/app-player/loading/index.d.ts +7 -0
- package/lib/template/app-player/player/index.d.ts +14 -0
- package/lib/template/app-player/player/slides/index.d.ts +7 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +7 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +7 -0
- package/lib/template/app-review/index.d.ts +7 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +7 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +7 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +149 -0
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +8 -0
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +18 -1
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +12 -6
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +7 -0
- package/lib/template/external-course/index.d.ts +7 -0
- package/lib/template/my-learning/index.d.ts +2 -78
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/my-learning/index.js +4 -11
- package/lib/template/my-learning/index.js.map +1 -1
- package/locales/bs/global.json +13 -1
- package/locales/cs/global.json +13 -1
- package/locales/de/global.json +13 -1
- package/locales/en/global.json +12 -0
- package/locales/es/global.json +13 -1
- package/locales/et/global.json +13 -1
- package/locales/fi/global.json +13 -1
- package/locales/fr/global.json +13 -1
- package/locales/hr/global.json +13 -1
- package/locales/hu/global.json +13 -1
- package/locales/hy/global.json +13 -1
- package/locales/it/global.json +13 -1
- package/locales/ja/global.json +13 -1
- package/locales/ko/global.json +13 -1
- package/locales/nl/global.json +13 -1
- package/locales/pl/global.json +13 -1
- package/locales/pt/global.json +13 -1
- package/locales/ro/global.json +13 -1
- package/locales/ru/global.json +13 -1
- package/locales/sk/global.json +13 -1
- package/locales/sl/global.json +13 -1
- package/locales/sv/global.json +13 -1
- package/locales/tl/global.json +13 -1
- package/locales/tr/global.json +13 -1
- package/locales/uk/global.json +13 -1
- package/locales/vi/global.json +13 -1
- package/locales/zh/global.json +13 -1
- package/locales/zh_TW/global.json +13 -1
- package/package.json +2 -2
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import _get from "lodash/fp/get";
|
|
2
|
+
import _noop from "lodash/fp/noop";
|
|
1
3
|
import _map from "lodash/fp/map";
|
|
2
4
|
import _isEmpty from "lodash/fp/isEmpty";
|
|
5
|
+
|
|
6
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
|
+
|
|
3
8
|
import React from 'react';
|
|
4
9
|
import PropTypes from 'prop-types';
|
|
10
|
+
import { convert } from 'css-color-function';
|
|
5
11
|
import classnames from 'classnames';
|
|
12
|
+
import Provider from '../../atom/provider';
|
|
6
13
|
import Tag from '../../atom/tag';
|
|
14
|
+
import Icon from '../../atom/icon';
|
|
7
15
|
import ButtonLink from '../../atom/button-link';
|
|
8
16
|
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button'; // eslint-disable-next-line css-modules/no-unused-class
|
|
9
17
|
|
|
@@ -15,52 +23,86 @@ const ListItem = ({
|
|
|
15
23
|
bulletPointMenuButton,
|
|
16
24
|
tags,
|
|
17
25
|
title,
|
|
26
|
+
selected,
|
|
27
|
+
subtitle,
|
|
18
28
|
dataColumns,
|
|
19
29
|
order,
|
|
20
30
|
'aria-label': ariaLabel,
|
|
31
|
+
disabled = false,
|
|
21
32
|
contentType,
|
|
22
33
|
isBulkStyle = false,
|
|
23
|
-
isOverflowHidden = false
|
|
24
|
-
|
|
25
|
-
|
|
34
|
+
isOverflowHidden = false,
|
|
35
|
+
onClick = _noop
|
|
36
|
+
}, context) => {
|
|
37
|
+
const {
|
|
38
|
+
skin
|
|
39
|
+
} = context;
|
|
26
40
|
|
|
27
|
-
const
|
|
41
|
+
const primarySkinColor = _get('common.primary', skin);
|
|
42
|
+
|
|
43
|
+
const mapUncapped = _map.convert({
|
|
28
44
|
cap: false
|
|
29
|
-
})
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
let isPublished = false;
|
|
48
|
+
const selectedStyle = selected ? {
|
|
49
|
+
backgroundColor: convert(`color(${primarySkinColor} a(0.07))`)
|
|
50
|
+
} : {};
|
|
51
|
+
const tagSelectedStyle = selected ? {
|
|
52
|
+
backgroundColor: convert(`color(${primarySkinColor} a(0.15))`),
|
|
53
|
+
color: primarySkinColor
|
|
54
|
+
} : {};
|
|
55
|
+
const tagsView = mapUncapped((tag, index) => {
|
|
30
56
|
isPublished = tag.type === 'success';
|
|
31
57
|
return /*#__PURE__*/React.createElement("div", {
|
|
32
58
|
key: index,
|
|
33
59
|
className: style.tag
|
|
34
|
-
}, /*#__PURE__*/React.createElement(Tag, tag
|
|
60
|
+
}, /*#__PURE__*/React.createElement(Tag, _extends({}, tag, {
|
|
61
|
+
customStyle: tagSelectedStyle
|
|
62
|
+
})));
|
|
35
63
|
})(tags);
|
|
36
|
-
|
|
37
|
-
const dataColumnsView = _map.convert({
|
|
38
|
-
cap: false
|
|
39
|
-
})((dataColumn, index) => {
|
|
64
|
+
const dataColumnsView = mapUncapped((dataColumn, index) => {
|
|
40
65
|
return /*#__PURE__*/React.createElement("div", {
|
|
41
66
|
key: index,
|
|
42
67
|
className: style[dataColumn.className]
|
|
43
68
|
}, dataColumn.type ? /*#__PURE__*/React.createElement(Tag, dataColumn) : dataColumn.label);
|
|
44
69
|
})(dataColumns);
|
|
45
|
-
|
|
46
70
|
const orderView = order !== null && order !== undefined ? /*#__PURE__*/React.createElement("div", {
|
|
47
71
|
className: style.order,
|
|
48
72
|
"aria-label": ariaLabel
|
|
49
73
|
}, order + 1) : null;
|
|
50
74
|
return /*#__PURE__*/React.createElement("div", {
|
|
51
|
-
className: classnames(style.wrapper, isBulkStyle && style.gridLayout)
|
|
75
|
+
className: classnames(style.wrapper, isBulkStyle && style.gridLayout, subtitle && style.withSubtitle, disabled && style.disabled, onClick !== _noop && !disabled && style.cursorPointer),
|
|
76
|
+
onClick: !disabled ? onClick : undefined,
|
|
77
|
+
style: selectedStyle
|
|
52
78
|
}, /*#__PURE__*/React.createElement("div", {
|
|
53
79
|
className: classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)
|
|
54
80
|
}, isPublished && contentType === 'certification' ? orderView : null, /*#__PURE__*/React.createElement("div", {
|
|
55
81
|
className: style.title,
|
|
56
82
|
title: title
|
|
57
|
-
}, title
|
|
83
|
+
}, title, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
84
|
+
className: style.subtitle
|
|
85
|
+
}, subtitle) : null), dataColumnsView), /*#__PURE__*/React.createElement("div", {
|
|
58
86
|
className: style.settings
|
|
59
|
-
}, tagsView,
|
|
87
|
+
}, tagsView, selected ? /*#__PURE__*/React.createElement(Icon, {
|
|
88
|
+
iconName: "circle-check",
|
|
89
|
+
iconColor: primarySkinColor,
|
|
90
|
+
backgroundColor: '#ffffff',
|
|
91
|
+
size: {
|
|
92
|
+
faSize: 16,
|
|
93
|
+
wrapperSize: 16
|
|
94
|
+
}
|
|
95
|
+
}) : null, buttonLink ? /*#__PURE__*/React.createElement(ButtonLink, buttonLink) : null, secondButtonLink ? /*#__PURE__*/React.createElement(ButtonLink, secondButtonLink) : null, !_isEmpty(bulletPointMenuButton) ? /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton) : null));
|
|
60
96
|
};
|
|
61
97
|
|
|
98
|
+
ListItem.contextTypes = {
|
|
99
|
+
skin: Provider.childContextTypes.skin,
|
|
100
|
+
translate: Provider.childContextTypes.translate
|
|
101
|
+
};
|
|
62
102
|
ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
63
103
|
title: PropTypes.string.isRequired,
|
|
104
|
+
subtitle: PropTypes.string,
|
|
105
|
+
selected: PropTypes.bool,
|
|
64
106
|
dataColumns: PropTypes.arrayOf(PropTypes.shape({
|
|
65
107
|
label: PropTypes.string,
|
|
66
108
|
type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),
|
|
@@ -103,6 +145,8 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
103
145
|
label: PropTypes.string,
|
|
104
146
|
type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])
|
|
105
147
|
})),
|
|
148
|
+
disabled: PropTypes.bool,
|
|
149
|
+
onClick: PropTypes.func,
|
|
106
150
|
isBulkStyle: PropTypes.bool,
|
|
107
151
|
isOverflowHidden: PropTypes.bool,
|
|
108
152
|
order: PropTypes.number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","classnames","Tag","ButtonLink","BulletPointMenuButton","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","dataColumns","order","ariaLabel","contentType","isBulkStyle","isOverflowHidden","isPublished","tagsView","convert","cap","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","wrapper","gridLayout","dataColumnsWrapper","hiddenOverflowX","settings","propTypes","string","isRequired","arrayOf","shape","oneOf","dataName","icon","position","onClick","func","buttonAriaLabel","menuAriaLabel","buttons","bool","number","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst ListItem = ({\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false\n}) => {\n let isPublished = false;\n\n const tagsView = map.convert({cap: false})((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = map.convert({cap: false})((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n return (\n <div className={classnames(style.wrapper, isBulkStyle && style.gridLayout)}>\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.title} title={title}>\n {title}\n </div>\n {dataColumnsView}\n </div>\n\n <div className={style.settings}>\n {tagsView}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton {...bulletPointMenuButton} />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string\n};\n\nexport default ListItem;\n"],"mapp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dQ,OAAO,EAAE7C,SAAS,CAAC8C;IAJL,CAAhB,CADO,CAH4B;IAWrCD,OAAO,EAAE7C,SAAS,CAAC8C;EAXkB,CAAhB,CA/BJ;EA4CnBpC,IAAI,EAAEV,SAAS,CAACuC,OAAV,CACJvC,SAAS,CAACwC,KAAV,CAAgB;IACdZ,KAAK,EAAE5B,SAAS,CAACqC,MADH;IAEdb,IAAI,EAAExB,SAAS,CAACyC,KAAV,CAAgB,CAAC,SAAD,EAAY,SAAZ,EAAuB,SAAvB,EAAkC,UAAlC,EAA8C,SAA9C,CAAhB;EAFQ,CAAhB,CADI,CA5Ca;EAkDnBzB,WAAW,EAAEhB,SAAS,CAACkD,IAlDJ;EAmDnBjC,gBAAgB,EAAEjB,SAAS,CAACkD,IAnDT;EAoDnBrC,KAAK,EAAEb,SAAS,CAACmD,MApDE;EAqDnB,cAAcnD,SAAS,CAACqC,MArDL;EAsDnBtB,WAAW,EAAEf,SAAS,CAACqC,MAtDJ;EAuDnBe,EAAE,EAAEpD,SAAS,CAACqC;AAvDK,CAArB;AA0DA,eAAe/B,QAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","Icon","ButtonLink","BulletPointMenuButton","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","selected","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","context","skin","primarySkinColor","mapUncapped","cap","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","wrapper","gridLayout","withSubtitle","cursorPointer","dataColumnsWrapper","hiddenOverflowX","settings","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","string","isRequired","bool","arrayOf","shape","oneOf","dataName","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport Icon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n selected,\n subtitle,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop\n },\n context\n) => {\n const {skin} = context;\n const primarySkinColor = get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySkinColor} a(0.15))`),\n color: primarySkinColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle && style.gridLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.title} title={title}>\n {title}\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <Icon\n iconName=\"circle-check\"\n iconColor={primarySkinColor}\n backgroundColor={'#ffffff'}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton {...bulletPointMenuButton} />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n selected: PropTypes.bool,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC,C,CACA;;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CACf;EACEC,UADF;EAEEC,gBAFF;EAGEC,qBAHF;EAIEC,IAJF;EAKEC,KALF;EAMEC,QANF;EAOEC,QAPF;EAQEC,WARF;EASEC,KATF;EAUE,cAAcC,SAVhB;EAWEC,QAAQ,GAAG,KAXb;EAYEC,WAZF;EAaEC,WAAW,GAAG,KAbhB;EAcEC,gBAAgB,GAAG,KAdrB;EAeEC,OAAO;AAfT,CADe,EAkBfC,OAlBe,KAmBZ;EACH,MAAM;IAACC;EAAD,IAASD,OAAf;;EACA,MAAME,gBAAgB,GAAG,KAAI,gBAAJ,EAAsBD,IAAtB,CAAzB;;EACA,MAAME,WAAW,GAAG,KAAI3B,OAAJ,CAAY;IAAC4B,GAAG,EAAE;EAAN,CAAZ,CAApB;;EACA,IAAIC,WAAW,GAAG,KAAlB;EAEA,MAAMC,aAAa,GAAGhB,QAAQ,GAC1B;IACEiB,eAAe,EAAE/B,OAAO,CAAE,SAAQ0B,gBAAiB,WAA3B;EAD1B,CAD0B,GAI1B,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11 +24,16 @@
|
|
|
24
24
|
grid-template-columns: 60% auto;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.disabled {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
.title {
|
|
28
32
|
color: cm_grey_900;
|
|
29
33
|
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
30
35
|
height: 56px;
|
|
31
|
-
|
|
36
|
+
justify-content: center;
|
|
32
37
|
flex: 2 0 0;
|
|
33
38
|
font-family: Gilroy;
|
|
34
39
|
font-size: 16px;
|
|
@@ -42,6 +47,17 @@
|
|
|
42
47
|
white-space: nowrap;
|
|
43
48
|
}
|
|
44
49
|
|
|
50
|
+
.subtitle {
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
color: cm_grey_400;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cursorPointer {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
45
61
|
.settings {
|
|
46
62
|
align-items: center;
|
|
47
63
|
display: flex;
|
|
@@ -96,4 +112,12 @@
|
|
|
96
112
|
|
|
97
113
|
.hiddenOverflowX:hover {
|
|
98
114
|
overflow-x: auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.withSubtitle {
|
|
118
|
+
padding: 8px 16px;
|
|
119
|
+
|
|
120
|
+
.setting {
|
|
121
|
+
gap: 8px;
|
|
122
|
+
}
|
|
99
123
|
}
|
|
@@ -54,6 +54,8 @@ declare namespace ListItems {
|
|
|
54
54
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
55
55
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
56
56
|
title: PropTypes.Validator<string>;
|
|
57
|
+
subtitle: PropTypes.Requireable<string>;
|
|
58
|
+
selected: PropTypes.Requireable<boolean>;
|
|
57
59
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
58
60
|
label: PropTypes.Requireable<string>;
|
|
59
61
|
type: PropTypes.Requireable<string>;
|
|
@@ -96,6 +98,8 @@ declare namespace ListItems {
|
|
|
96
98
|
label: PropTypes.Requireable<string>;
|
|
97
99
|
type: PropTypes.Requireable<string>;
|
|
98
100
|
}> | null | undefined)[]>;
|
|
101
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
102
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
99
103
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
100
104
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
101
105
|
order: PropTypes.Requireable<number>;
|
|
@@ -26,6 +26,9 @@ declare namespace RewardsForm {
|
|
|
26
26
|
label: PropTypes.Requireable<string>;
|
|
27
27
|
type: PropTypes.Requireable<string>;
|
|
28
28
|
size: PropTypes.Requireable<string>;
|
|
29
|
+
customStyle: PropTypes.Requireable<{
|
|
30
|
+
[x: string]: string | null | undefined;
|
|
31
|
+
}>;
|
|
29
32
|
}>>;
|
|
30
33
|
}>>;
|
|
31
34
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -25,6 +25,9 @@ declare const SelectOpponents: {
|
|
|
25
25
|
label: import("prop-types").Requireable<string>;
|
|
26
26
|
type: import("prop-types").Requireable<string>;
|
|
27
27
|
size: import("prop-types").Requireable<string>;
|
|
28
|
+
customStyle: import("prop-types").Requireable<{
|
|
29
|
+
[x: string]: string | null | undefined;
|
|
30
|
+
}>;
|
|
28
31
|
}>>;
|
|
29
32
|
}>>;
|
|
30
33
|
child: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -22,6 +22,9 @@ export declare const propTypes: {
|
|
|
22
22
|
label: PropTypes.Requireable<string>;
|
|
23
23
|
type: PropTypes.Requireable<string>;
|
|
24
24
|
size: PropTypes.Requireable<string>;
|
|
25
|
+
customStyle: PropTypes.Requireable<{
|
|
26
|
+
[x: string]: string | null | undefined;
|
|
27
|
+
}>;
|
|
25
28
|
}>>;
|
|
26
29
|
}>>;
|
|
27
30
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -15,6 +15,9 @@ declare const TitleAndInput: {
|
|
|
15
15
|
label: import("prop-types").Requireable<string>;
|
|
16
16
|
type: import("prop-types").Requireable<string>;
|
|
17
17
|
size: import("prop-types").Requireable<string>;
|
|
18
|
+
customStyle: import("prop-types").Requireable<{
|
|
19
|
+
[x: string]: string | null | undefined;
|
|
20
|
+
}>;
|
|
18
21
|
}>>;
|
|
19
22
|
}>>>;
|
|
20
23
|
field: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
@@ -76,6 +79,9 @@ declare const TitleAndInput: {
|
|
|
76
79
|
label: import("prop-types").Requireable<string>;
|
|
77
80
|
type: import("prop-types").Requireable<string>;
|
|
78
81
|
size: import("prop-types").Requireable<string>;
|
|
82
|
+
customStyle: import("prop-types").Requireable<{
|
|
83
|
+
[x: string]: string | null | undefined;
|
|
84
|
+
}>;
|
|
79
85
|
}>>;
|
|
80
86
|
}>>;
|
|
81
87
|
child: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -16,6 +16,9 @@ declare const propTypes: {
|
|
|
16
16
|
label: PropTypes.Requireable<string>;
|
|
17
17
|
type: PropTypes.Requireable<string>;
|
|
18
18
|
size: PropTypes.Requireable<string>;
|
|
19
|
+
customStyle: PropTypes.Requireable<{
|
|
20
|
+
[x: string]: string | null | undefined;
|
|
21
|
+
}>;
|
|
19
22
|
}>>;
|
|
20
23
|
}>>>;
|
|
21
24
|
field: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -77,6 +80,9 @@ declare const propTypes: {
|
|
|
77
80
|
label: PropTypes.Requireable<string>;
|
|
78
81
|
type: PropTypes.Requireable<string>;
|
|
79
82
|
size: PropTypes.Requireable<string>;
|
|
83
|
+
customStyle: PropTypes.Requireable<{
|
|
84
|
+
[x: string]: string | null | undefined;
|
|
85
|
+
}>;
|
|
80
86
|
}>>;
|
|
81
87
|
}>>;
|
|
82
88
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EACD,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAC3C,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACzC,oBAAoB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -293,6 +293,9 @@ declare namespace WizardContents {
|
|
|
293
293
|
label: PropTypes.Requireable<string>;
|
|
294
294
|
type: PropTypes.Requireable<string>;
|
|
295
295
|
size: PropTypes.Requireable<string>;
|
|
296
|
+
customStyle: PropTypes.Requireable<{
|
|
297
|
+
[x: string]: string | null | undefined;
|
|
298
|
+
}>;
|
|
296
299
|
}>>;
|
|
297
300
|
}>>;
|
|
298
301
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -20,6 +20,9 @@ declare namespace PlayerLoading {
|
|
|
20
20
|
label: PropTypes.Requireable<string>;
|
|
21
21
|
type: PropTypes.Requireable<string>;
|
|
22
22
|
size: PropTypes.Requireable<string>;
|
|
23
|
+
customStyle: PropTypes.Requireable<{
|
|
24
|
+
[x: string]: string | null | undefined;
|
|
25
|
+
}>;
|
|
23
26
|
}>>;
|
|
24
27
|
}>>;
|
|
25
28
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -131,6 +134,8 @@ declare namespace PlayerLoading {
|
|
|
131
134
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
132
135
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
133
136
|
title: PropTypes.Validator<string>;
|
|
137
|
+
subtitle: PropTypes.Requireable<string>;
|
|
138
|
+
selected: PropTypes.Requireable<boolean>;
|
|
134
139
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
135
140
|
label: PropTypes.Requireable<string>;
|
|
136
141
|
type: PropTypes.Requireable<string>;
|
|
@@ -173,6 +178,8 @@ declare namespace PlayerLoading {
|
|
|
173
178
|
label: PropTypes.Requireable<string>;
|
|
174
179
|
type: PropTypes.Requireable<string>;
|
|
175
180
|
}> | null | undefined)[]>;
|
|
181
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
182
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
176
183
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
177
184
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
178
185
|
order: PropTypes.Requireable<number>;
|
|
@@ -71,6 +71,9 @@ declare namespace SlidePlayer {
|
|
|
71
71
|
label: PropTypes.Requireable<string>;
|
|
72
72
|
type: PropTypes.Requireable<string>;
|
|
73
73
|
size: PropTypes.Requireable<string>;
|
|
74
|
+
customStyle: PropTypes.Requireable<{
|
|
75
|
+
[x: string]: string | null | undefined;
|
|
76
|
+
}>;
|
|
74
77
|
}>>;
|
|
75
78
|
}>>;
|
|
76
79
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -182,6 +185,8 @@ declare namespace SlidePlayer {
|
|
|
182
185
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
183
186
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
184
187
|
title: PropTypes.Validator<string>;
|
|
188
|
+
subtitle: PropTypes.Requireable<string>;
|
|
189
|
+
selected: PropTypes.Requireable<boolean>;
|
|
185
190
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
186
191
|
label: PropTypes.Requireable<string>;
|
|
187
192
|
type: PropTypes.Requireable<string>;
|
|
@@ -224,6 +229,8 @@ declare namespace SlidePlayer {
|
|
|
224
229
|
label: PropTypes.Requireable<string>;
|
|
225
230
|
type: PropTypes.Requireable<string>;
|
|
226
231
|
}> | null | undefined)[]>;
|
|
232
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
233
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
227
234
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
228
235
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
229
236
|
order: PropTypes.Requireable<number>;
|
|
@@ -354,6 +361,9 @@ declare namespace SlidePlayer {
|
|
|
354
361
|
label: PropTypes.Requireable<string>;
|
|
355
362
|
type: PropTypes.Requireable<string>;
|
|
356
363
|
size: PropTypes.Requireable<string>;
|
|
364
|
+
customStyle: PropTypes.Requireable<{
|
|
365
|
+
[x: string]: string | null | undefined;
|
|
366
|
+
}>;
|
|
357
367
|
}>>;
|
|
358
368
|
}>>;
|
|
359
369
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -465,6 +475,8 @@ declare namespace SlidePlayer {
|
|
|
465
475
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
466
476
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
467
477
|
title: PropTypes.Validator<string>;
|
|
478
|
+
subtitle: PropTypes.Requireable<string>;
|
|
479
|
+
selected: PropTypes.Requireable<boolean>;
|
|
468
480
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
469
481
|
label: PropTypes.Requireable<string>;
|
|
470
482
|
type: PropTypes.Requireable<string>;
|
|
@@ -507,6 +519,8 @@ declare namespace SlidePlayer {
|
|
|
507
519
|
label: PropTypes.Requireable<string>;
|
|
508
520
|
type: PropTypes.Requireable<string>;
|
|
509
521
|
}> | null | undefined)[]>;
|
|
522
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
523
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
510
524
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
511
525
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
512
526
|
order: PropTypes.Requireable<number>;
|
|
@@ -77,6 +77,9 @@ declare namespace SlidesPlayer {
|
|
|
77
77
|
label: PropTypes.Requireable<string>;
|
|
78
78
|
type: PropTypes.Requireable<string>;
|
|
79
79
|
size: PropTypes.Requireable<string>;
|
|
80
|
+
customStyle: PropTypes.Requireable<{
|
|
81
|
+
[x: string]: string | null | undefined;
|
|
82
|
+
}>;
|
|
80
83
|
}>>;
|
|
81
84
|
}>>;
|
|
82
85
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -188,6 +191,8 @@ declare namespace SlidesPlayer {
|
|
|
188
191
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
189
192
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
190
193
|
title: PropTypes.Validator<string>;
|
|
194
|
+
subtitle: PropTypes.Requireable<string>;
|
|
195
|
+
selected: PropTypes.Requireable<boolean>;
|
|
191
196
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
192
197
|
label: PropTypes.Requireable<string>;
|
|
193
198
|
type: PropTypes.Requireable<string>;
|
|
@@ -230,6 +235,8 @@ declare namespace SlidesPlayer {
|
|
|
230
235
|
label: PropTypes.Requireable<string>;
|
|
231
236
|
type: PropTypes.Requireable<string>;
|
|
232
237
|
}> | null | undefined)[]>;
|
|
238
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
239
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
233
240
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
234
241
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
235
242
|
order: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -107,6 +107,9 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
107
107
|
label: PropTypes.Requireable<string>;
|
|
108
108
|
type: PropTypes.Requireable<string>;
|
|
109
109
|
size: PropTypes.Requireable<string>;
|
|
110
|
+
customStyle: PropTypes.Requireable<{
|
|
111
|
+
[x: string]: string | null | undefined;
|
|
112
|
+
}>;
|
|
110
113
|
}>>;
|
|
111
114
|
}>>;
|
|
112
115
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -218,6 +221,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
218
221
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
219
222
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
220
223
|
title: PropTypes.Validator<string>;
|
|
224
|
+
subtitle: PropTypes.Requireable<string>;
|
|
225
|
+
selected: PropTypes.Requireable<boolean>;
|
|
221
226
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
222
227
|
label: PropTypes.Requireable<string>;
|
|
223
228
|
type: PropTypes.Requireable<string>;
|
|
@@ -260,6 +265,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
260
265
|
label: PropTypes.Requireable<string>;
|
|
261
266
|
type: PropTypes.Requireable<string>;
|
|
262
267
|
}> | null | undefined)[]>;
|
|
268
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
269
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
263
270
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
264
271
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
265
272
|
order: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -207,6 +207,9 @@ declare namespace PopinEnd {
|
|
|
207
207
|
label: PropTypes.Requireable<string>;
|
|
208
208
|
type: PropTypes.Requireable<string>;
|
|
209
209
|
size: PropTypes.Requireable<string>;
|
|
210
|
+
customStyle: PropTypes.Requireable<{
|
|
211
|
+
[x: string]: string | null | undefined;
|
|
212
|
+
}>;
|
|
210
213
|
}>>;
|
|
211
214
|
}>>;
|
|
212
215
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -318,6 +321,8 @@ declare namespace PopinEnd {
|
|
|
318
321
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
319
322
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
320
323
|
title: PropTypes.Validator<string>;
|
|
324
|
+
subtitle: PropTypes.Requireable<string>;
|
|
325
|
+
selected: PropTypes.Requireable<boolean>;
|
|
321
326
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
322
327
|
label: PropTypes.Requireable<string>;
|
|
323
328
|
type: PropTypes.Requireable<string>;
|
|
@@ -360,6 +365,8 @@ declare namespace PopinEnd {
|
|
|
360
365
|
label: PropTypes.Requireable<string>;
|
|
361
366
|
type: PropTypes.Requireable<string>;
|
|
362
367
|
}> | null | undefined)[]>;
|
|
368
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
369
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
363
370
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
364
371
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
365
372
|
order: PropTypes.Requireable<number>;
|
|
@@ -528,6 +528,9 @@ declare const AppReview: {
|
|
|
528
528
|
label: import("prop-types").Requireable<string>;
|
|
529
529
|
type: import("prop-types").Requireable<string>;
|
|
530
530
|
size: import("prop-types").Requireable<string>;
|
|
531
|
+
customStyle: import("prop-types").Requireable<{
|
|
532
|
+
[x: string]: string | null | undefined;
|
|
533
|
+
}>;
|
|
531
534
|
}>>;
|
|
532
535
|
}>>;
|
|
533
536
|
headerIcon: import("prop-types").Requireable<string>;
|
|
@@ -639,6 +642,8 @@ declare const AppReview: {
|
|
|
639
642
|
content: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
640
643
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
641
644
|
title: import("prop-types").Validator<string>;
|
|
645
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
646
|
+
selected: import("prop-types").Requireable<boolean>;
|
|
642
647
|
dataColumns: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
643
648
|
label: import("prop-types").Requireable<string>;
|
|
644
649
|
type: import("prop-types").Requireable<string>;
|
|
@@ -681,6 +686,8 @@ declare const AppReview: {
|
|
|
681
686
|
label: import("prop-types").Requireable<string>;
|
|
682
687
|
type: import("prop-types").Requireable<string>;
|
|
683
688
|
}> | null | undefined)[]>;
|
|
689
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
690
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
684
691
|
isBulkStyle: import("prop-types").Requireable<boolean>;
|
|
685
692
|
isOverflowHidden: import("prop-types").Requireable<boolean>;
|
|
686
693
|
order: import("prop-types").Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -528,6 +528,9 @@ declare const propTypes: {
|
|
|
528
528
|
label: PropTypes.Requireable<string>;
|
|
529
529
|
type: PropTypes.Requireable<string>;
|
|
530
530
|
size: PropTypes.Requireable<string>;
|
|
531
|
+
customStyle: PropTypes.Requireable<{
|
|
532
|
+
[x: string]: string | null | undefined;
|
|
533
|
+
}>;
|
|
531
534
|
}>>;
|
|
532
535
|
}>>;
|
|
533
536
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -639,6 +642,8 @@ declare const propTypes: {
|
|
|
639
642
|
content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
640
643
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
641
644
|
title: PropTypes.Validator<string>;
|
|
645
|
+
subtitle: PropTypes.Requireable<string>;
|
|
646
|
+
selected: PropTypes.Requireable<boolean>;
|
|
642
647
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
643
648
|
label: PropTypes.Requireable<string>;
|
|
644
649
|
type: PropTypes.Requireable<string>;
|
|
@@ -681,6 +686,8 @@ declare const propTypes: {
|
|
|
681
686
|
label: PropTypes.Requireable<string>;
|
|
682
687
|
type: PropTypes.Requireable<string>;
|
|
683
688
|
}> | null | undefined)[]>;
|
|
689
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
690
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
684
691
|
isBulkStyle: PropTypes.Requireable<boolean>;
|
|
685
692
|
isOverflowHidden: PropTypes.Requireable<boolean>;
|
|
686
693
|
order: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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