@coorpacademy/components 11.32.43 → 11.32.44
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/icon/index.d.ts +1 -0
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +8 -1
- package/es/atom/icon/index.js.map +1 -1
- package/es/molecule/base-modal/index.d.ts +1 -0
- package/es/molecule/base-modal/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.js +9 -4
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +12 -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/icon-picker-modal/index.d.ts +15 -0
- package/es/molecule/icon-picker-modal/index.d.ts.map +1 -0
- package/es/molecule/icon-picker-modal/index.js +152 -0
- package/es/molecule/icon-picker-modal/index.js.map +1 -0
- package/es/molecule/icon-picker-modal/style.css +61 -0
- package/es/molecule/icon-picker-modal/use-icon-search.d.ts +9 -0
- package/es/molecule/icon-picker-modal/use-icon-search.d.ts.map +1 -0
- package/es/molecule/icon-picker-modal/use-icon-search.js +36 -0
- package/es/molecule/icon-picker-modal/use-icon-search.js.map +1 -0
- package/es/organism/brand-learning-priorities/index.d.ts +12 -0
- package/es/organism/list-item/index.d.ts +16 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +58 -9
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +25 -11
- package/es/organism/list-items/index.d.ts +12 -0
- package/es/template/app-player/loading/index.d.ts +12 -0
- package/es/template/app-player/player/index.d.ts +24 -0
- package/es/template/app-player/player/slides/index.d.ts +12 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +12 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +12 -0
- package/es/template/app-review/index.d.ts +12 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +12 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +12 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +36 -0
- package/es/template/common/dashboard/index.d.ts +24 -0
- package/es/template/common/search-page/index.d.ts +12 -0
- package/es/template/external-course/index.d.ts +12 -0
- package/lib/atom/icon/index.d.ts +1 -0
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +12 -2
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/molecule/base-modal/index.d.ts +1 -0
- package/lib/molecule/base-modal/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.js +9 -4
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +12 -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/icon-picker-modal/index.d.ts +15 -0
- package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -0
- package/lib/molecule/icon-picker-modal/index.js +179 -0
- package/lib/molecule/icon-picker-modal/index.js.map +1 -0
- package/lib/molecule/icon-picker-modal/style.css +61 -0
- package/lib/molecule/icon-picker-modal/use-icon-search.d.ts +9 -0
- package/lib/molecule/icon-picker-modal/use-icon-search.d.ts.map +1 -0
- package/lib/molecule/icon-picker-modal/use-icon-search.js +52 -0
- package/lib/molecule/icon-picker-modal/use-icon-search.js.map +1 -0
- package/lib/organism/brand-learning-priorities/index.d.ts +12 -0
- package/lib/organism/list-item/index.d.ts +16 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +56 -5
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +25 -11
- package/lib/organism/list-items/index.d.ts +12 -0
- package/lib/template/app-player/loading/index.d.ts +12 -0
- package/lib/template/app-player/player/index.d.ts +24 -0
- package/lib/template/app-player/player/slides/index.d.ts +12 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +12 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +12 -0
- package/lib/template/app-review/index.d.ts +12 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +12 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +12 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +36 -0
- package/lib/template/common/dashboard/index.d.ts +24 -0
- package/lib/template/common/search-page/index.d.ts +12 -0
- package/lib/template/external-course/index.d.ts +12 -0
- package/locales/bs/global.json +12 -10
- package/locales/cs/global.json +12 -10
- package/locales/de/global.json +12 -10
- package/locales/en/global.json +2 -0
- package/locales/es/global.json +12 -10
- package/locales/et/global.json +12 -10
- package/locales/fi/global.json +12 -10
- package/locales/fr/global.json +12 -10
- package/locales/hr/global.json +12 -10
- package/locales/hu/global.json +12 -10
- package/locales/hy/global.json +12 -10
- package/locales/it/global.json +12 -10
- package/locales/ja/global.json +12 -10
- package/locales/ko/global.json +12 -10
- package/locales/nl/global.json +12 -10
- package/locales/pl/global.json +12 -10
- package/locales/pt/global.json +12 -10
- package/locales/ro/global.json +12 -10
- package/locales/ru/global.json +12 -10
- package/locales/sk/global.json +12 -10
- package/locales/sl/global.json +12 -10
- package/locales/sv/global.json +12 -10
- package/locales/tl/global.json +12 -10
- package/locales/tr/global.json +12 -10
- package/locales/uk/global.json +12 -10
- package/locales/vi/global.json +12 -10
- package/locales/zh/global.json +12 -10
- package/locales/zh_TW/global.json +12 -10
- package/package.json +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export default ListItem;
|
|
2
|
-
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, selected, selectedColor, subtitle, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick }: {
|
|
2
|
+
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon, editAsIcon }: {
|
|
3
3
|
buttonLink: any;
|
|
4
4
|
secondButtonLink: any;
|
|
5
5
|
bulletPointMenuButton: any;
|
|
6
6
|
tags: any;
|
|
7
7
|
title: any;
|
|
8
|
+
provider: any;
|
|
8
9
|
selected: any;
|
|
9
10
|
selectedColor: any;
|
|
10
11
|
subtitle: any;
|
|
@@ -16,6 +17,8 @@ declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton,
|
|
|
16
17
|
isBulkStyle?: boolean | undefined;
|
|
17
18
|
isOverflowHidden?: boolean | undefined;
|
|
18
19
|
onClick?: import("lodash/fp").LodashNoop | undefined;
|
|
20
|
+
leftIcon: any;
|
|
21
|
+
editAsIcon?: boolean | undefined;
|
|
19
22
|
}, context: any): JSX.Element;
|
|
20
23
|
declare namespace ListItem {
|
|
21
24
|
namespace contextTypes {
|
|
@@ -45,6 +48,7 @@ declare namespace ListItem {
|
|
|
45
48
|
const propTypes: {
|
|
46
49
|
title: PropTypes.Validator<string>;
|
|
47
50
|
subtitle: PropTypes.Requireable<string>;
|
|
51
|
+
provider: PropTypes.Requireable<string>;
|
|
48
52
|
selected: PropTypes.Requireable<boolean>;
|
|
49
53
|
selectedColor: PropTypes.Requireable<string>;
|
|
50
54
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -97,6 +101,17 @@ declare namespace ListItem {
|
|
|
97
101
|
'aria-label': PropTypes.Requireable<string>;
|
|
98
102
|
contentType: PropTypes.Requireable<string>;
|
|
99
103
|
id: PropTypes.Requireable<string>;
|
|
104
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
105
|
+
iconName: PropTypes.Requireable<string>;
|
|
106
|
+
iconColor: PropTypes.Requireable<string>;
|
|
107
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
108
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
109
|
+
preset: PropTypes.Requireable<string>;
|
|
110
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
111
|
+
size: PropTypes.Requireable<number>;
|
|
112
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
113
|
+
}>>;
|
|
114
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
100
115
|
};
|
|
101
116
|
}
|
|
102
117
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAaA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAaA;;;;;;;;;;;;;;;;;;;;8BAiJC"}
|
|
@@ -11,10 +11,10 @@ import { convert } from 'css-color-function';
|
|
|
11
11
|
import classnames from 'classnames';
|
|
12
12
|
import Provider from '../../atom/provider';
|
|
13
13
|
import Tag from '../../atom/tag';
|
|
14
|
-
import
|
|
14
|
+
import FaIcon from '../../atom/icon';
|
|
15
15
|
import ButtonLink from '../../atom/button-link';
|
|
16
|
-
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
|
|
17
|
-
|
|
16
|
+
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
|
|
17
|
+
import COLORS from '../../variables/colors';
|
|
18
18
|
import style from './style.css';
|
|
19
19
|
|
|
20
20
|
const ListItem = ({
|
|
@@ -23,6 +23,7 @@ const ListItem = ({
|
|
|
23
23
|
bulletPointMenuButton,
|
|
24
24
|
tags,
|
|
25
25
|
title,
|
|
26
|
+
provider,
|
|
26
27
|
selected,
|
|
27
28
|
selectedColor,
|
|
28
29
|
subtitle,
|
|
@@ -33,7 +34,9 @@ const ListItem = ({
|
|
|
33
34
|
contentType,
|
|
34
35
|
isBulkStyle = false,
|
|
35
36
|
isOverflowHidden = false,
|
|
36
|
-
onClick = _noop
|
|
37
|
+
onClick = _noop,
|
|
38
|
+
leftIcon,
|
|
39
|
+
editAsIcon = false
|
|
37
40
|
}, context) => {
|
|
38
41
|
const {
|
|
39
42
|
skin
|
|
@@ -72,6 +75,24 @@ const ListItem = ({
|
|
|
72
75
|
className: style.order,
|
|
73
76
|
"aria-label": ariaLabel
|
|
74
77
|
}, order + 1) : null;
|
|
78
|
+
const handleButtonLinkClick = buttonLink?.onClick || _noop;
|
|
79
|
+
|
|
80
|
+
const handleRenderButtonLink = () => {
|
|
81
|
+
if (editAsIcon && buttonLink) {
|
|
82
|
+
return /*#__PURE__*/React.createElement(FaIcon, {
|
|
83
|
+
iconName: buttonLink.icon?.type || 'edit',
|
|
84
|
+
onClick: handleButtonLinkClick,
|
|
85
|
+
className: style.editIcon
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (buttonLink) {
|
|
90
|
+
return /*#__PURE__*/React.createElement(ButtonLink, buttonLink);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return null;
|
|
94
|
+
};
|
|
95
|
+
|
|
75
96
|
return /*#__PURE__*/React.createElement("div", {
|
|
76
97
|
className: classnames(style.wrapper, isBulkStyle && style.gridLayout, subtitle && style.withSubtitle, disabled && style.disabled, onClick !== _noop && !disabled && style.cursorPointer),
|
|
77
98
|
onClick: !disabled ? onClick : undefined,
|
|
@@ -79,21 +100,37 @@ const ListItem = ({
|
|
|
79
100
|
}, /*#__PURE__*/React.createElement("div", {
|
|
80
101
|
className: classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)
|
|
81
102
|
}, isPublished && contentType === 'certification' ? orderView : null, /*#__PURE__*/React.createElement("div", {
|
|
103
|
+
className: style.leftSection
|
|
104
|
+
}, leftIcon ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FaIcon, {
|
|
105
|
+
iconName: leftIcon.iconName,
|
|
106
|
+
gradientBackground: leftIcon.gradientBackground || true,
|
|
107
|
+
iconColor: leftIcon.iconColor || primarySelectedColor,
|
|
108
|
+
preset: leftIcon.preset || 'xl',
|
|
109
|
+
borderRadius: leftIcon.borderRadius || '25%'
|
|
110
|
+
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
111
|
+
className: style.titleWrapper
|
|
112
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
113
|
+
className: style.titleProviderWrapper
|
|
114
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
82
115
|
className: style.title,
|
|
83
116
|
title: title
|
|
84
|
-
}, title,
|
|
117
|
+
}, title), provider ? /*#__PURE__*/React.createElement(Tag, {
|
|
118
|
+
label: provider,
|
|
119
|
+
type: "default",
|
|
120
|
+
className: style.providerTag
|
|
121
|
+
}) : null), subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
85
122
|
className: style.subtitle
|
|
86
123
|
}, subtitle) : null), dataColumnsView), /*#__PURE__*/React.createElement("div", {
|
|
87
124
|
className: style.settings
|
|
88
|
-
}, tagsView, selected ? /*#__PURE__*/React.createElement(
|
|
125
|
+
}, tagsView, selected ? /*#__PURE__*/React.createElement(FaIcon, {
|
|
89
126
|
iconName: "circle-check",
|
|
90
127
|
iconColor: primarySelectedColor,
|
|
91
|
-
backgroundColor:
|
|
128
|
+
backgroundColor: COLORS.white,
|
|
92
129
|
size: {
|
|
93
130
|
faSize: 16,
|
|
94
131
|
wrapperSize: 16
|
|
95
132
|
}
|
|
96
|
-
}) : null,
|
|
133
|
+
}) : null, handleRenderButtonLink(), secondButtonLink ? /*#__PURE__*/React.createElement(ButtonLink, secondButtonLink) : null, !_isEmpty(bulletPointMenuButton) ? /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton) : null));
|
|
97
134
|
};
|
|
98
135
|
|
|
99
136
|
ListItem.contextTypes = {
|
|
@@ -103,6 +140,7 @@ ListItem.contextTypes = {
|
|
|
103
140
|
ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
104
141
|
title: PropTypes.string.isRequired,
|
|
105
142
|
subtitle: PropTypes.string,
|
|
143
|
+
provider: PropTypes.string,
|
|
106
144
|
selected: PropTypes.bool,
|
|
107
145
|
selectedColor: PropTypes.string,
|
|
108
146
|
dataColumns: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -154,7 +192,18 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
154
192
|
order: PropTypes.number,
|
|
155
193
|
'aria-label': PropTypes.string,
|
|
156
194
|
contentType: PropTypes.string,
|
|
157
|
-
id: PropTypes.string
|
|
195
|
+
id: PropTypes.string,
|
|
196
|
+
leftIcon: PropTypes.shape({
|
|
197
|
+
iconName: PropTypes.string,
|
|
198
|
+
iconColor: PropTypes.string,
|
|
199
|
+
backgroundColor: PropTypes.string,
|
|
200
|
+
borderRadius: PropTypes.string,
|
|
201
|
+
preset: PropTypes.string,
|
|
202
|
+
gradientBackground: PropTypes.bool,
|
|
203
|
+
size: PropTypes.number,
|
|
204
|
+
wrapperSize: PropTypes.number
|
|
205
|
+
}),
|
|
206
|
+
editAsIcon: PropTypes.bool
|
|
158
207
|
} : {};
|
|
159
208
|
export default ListItem;
|
|
160
209
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","Icon","ButtonLink","BulletPointMenuButton","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","context","skin","primarySelectedColor","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 selectedColor,\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 primarySelectedColor = selectedColor || 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(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\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={primarySelectedColor}\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 selectedColor: PropTypes.string,\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,aAPF;EAQEC,QARF;EASEC,WATF;EAUEC,KAVF;EAWE,cAAcC,SAXhB;EAYEC,QAAQ,GAAG,KAZb;EAaEC,WAbF;EAcEC,WAAW,GAAG,KAdhB;EAeEC,gBAAgB,GAAG,KAfrB;EAgBEC,OAAO;AAhBT,CADe,EAmBfC,OAnBe,KAoBZ;EACH,MAAM;IAACC;EAAD,IAASD,OAAf;;EAC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EAsDnBpC,OAAO,EAAEzB,SAAS,CAACoE,IAtDA;EAuDnB7C,WAAW,EAAEvB,SAAS,CAAC6D,IAvDJ;EAwDnBrC,gBAAgB,EAAExB,SAAS,CAAC6D,IAxDT;EAyDnB1C,KAAK,EAAEnB,SAAS,CAACwE,MAzDE;EA0DnB,cAAcxE,SAAS,CAAC2D,MA1DL;EA2DnBrC,WAAW,EAAEtB,SAAS,CAAC2D,MA3DJ;EA4DnBc,EAAE,EAAEzE,SAAS,CAAC2D;AA5DK,CAArB;AA+DA,eAAelD,QAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","FaIcon","ButtonLink","BulletPointMenuButton","COLORS","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","leftIcon","editAsIcon","context","skin","primarySelectedColor","mapUncapped","cap","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","handleButtonLinkClick","handleRenderButtonLink","icon","editIcon","wrapper","gridLayout","withSubtitle","cursorPointer","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","titleWrapper","titleProviderWrapper","providerTag","settings","white","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","string","isRequired","bool","arrayOf","shape","oneOf","dataName","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","size"],"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 FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport COLORS from '../../variables/colors';\nimport style from './style.css';\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\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 leftIcon,\n editAsIcon = false\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || 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(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\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 const handleButtonLinkClick = buttonLink?.onClick || noop;\n\n const handleRenderButtonLink = () => {\n if (editAsIcon && buttonLink) {\n return (\n <FaIcon\n iconName={buttonLink.icon?.type || 'edit'}\n onClick={handleButtonLinkClick}\n className={style.editIcon}\n />\n );\n }\n if (buttonLink) {\n return <ButtonLink {...buttonLink} />;\n }\n return null;\n };\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.leftSection}>\n {leftIcon ? (\n <div>\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n </div>\n ) : null}\n </div>\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n <div className={style.title} title={title}>\n {title}\n </div>\n {provider ? (\n <Tag label={provider} type=\"default\" className={style.providerTag} />\n ) : null}\n </div>\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 <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {handleRenderButtonLink()}\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 provider: PropTypes.string,\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\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 leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n editAsIcon: PropTypes.bool\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,MAAP,MAAmB,iBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC;AACA,OAAOC,MAAP,MAAmB,wBAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CACf;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|
|
72
71
|
white-space: nowrap;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
|
-
.
|
|
74
|
+
.leftSection {
|
|
76
75
|
display: flex;
|
|
77
|
-
height: 56px;
|
|
78
76
|
align-items: center;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
77
|
+
gap: 8px;
|
|
78
|
+
margin-right: 16px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.titleWrapper {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
gap: 2px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.titleProviderWrapper {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
gap: 8px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.providerTag {
|
|
94
|
+
margin-left: 8px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.editIcon {
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
color: cm_grey_900;
|
|
100
|
+
margin-left: 8px;
|
|
87
101
|
}
|
|
88
102
|
|
|
89
103
|
.order {
|
|
@@ -56,6 +56,7 @@ declare namespace ListItems {
|
|
|
56
56
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
57
57
|
title: PropTypes.Validator<string>;
|
|
58
58
|
subtitle: PropTypes.Requireable<string>;
|
|
59
|
+
provider: PropTypes.Requireable<string>;
|
|
59
60
|
selected: PropTypes.Requireable<boolean>;
|
|
60
61
|
selectedColor: PropTypes.Requireable<string>;
|
|
61
62
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -108,6 +109,17 @@ declare namespace ListItems {
|
|
|
108
109
|
'aria-label': PropTypes.Requireable<string>;
|
|
109
110
|
contentType: PropTypes.Requireable<string>;
|
|
110
111
|
id: PropTypes.Requireable<string>;
|
|
112
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
113
|
+
iconName: PropTypes.Requireable<string>;
|
|
114
|
+
iconColor: PropTypes.Requireable<string>;
|
|
115
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
116
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
117
|
+
preset: PropTypes.Requireable<string>;
|
|
118
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
119
|
+
size: PropTypes.Requireable<number>;
|
|
120
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
121
|
+
}>>;
|
|
122
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
111
123
|
}> | null | undefined)[]>;
|
|
112
124
|
type: PropTypes.Requireable<string>;
|
|
113
125
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -137,6 +137,7 @@ declare namespace PlayerLoading {
|
|
|
137
137
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
138
138
|
title: PropTypes.Validator<string>;
|
|
139
139
|
subtitle: PropTypes.Requireable<string>;
|
|
140
|
+
provider: PropTypes.Requireable<string>;
|
|
140
141
|
selected: PropTypes.Requireable<boolean>;
|
|
141
142
|
selectedColor: PropTypes.Requireable<string>;
|
|
142
143
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -189,6 +190,17 @@ declare namespace PlayerLoading {
|
|
|
189
190
|
'aria-label': PropTypes.Requireable<string>;
|
|
190
191
|
contentType: PropTypes.Requireable<string>;
|
|
191
192
|
id: PropTypes.Requireable<string>;
|
|
193
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
194
|
+
iconName: PropTypes.Requireable<string>;
|
|
195
|
+
iconColor: PropTypes.Requireable<string>;
|
|
196
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
197
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
198
|
+
preset: PropTypes.Requireable<string>;
|
|
199
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
200
|
+
size: PropTypes.Requireable<number>;
|
|
201
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
202
|
+
}>>;
|
|
203
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
192
204
|
}> | null | undefined)[]>;
|
|
193
205
|
type: PropTypes.Requireable<string>;
|
|
194
206
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -188,6 +188,7 @@ declare namespace SlidePlayer {
|
|
|
188
188
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
189
189
|
title: PropTypes.Validator<string>;
|
|
190
190
|
subtitle: PropTypes.Requireable<string>;
|
|
191
|
+
provider: PropTypes.Requireable<string>;
|
|
191
192
|
selected: PropTypes.Requireable<boolean>;
|
|
192
193
|
selectedColor: PropTypes.Requireable<string>;
|
|
193
194
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -240,6 +241,17 @@ declare namespace SlidePlayer {
|
|
|
240
241
|
'aria-label': PropTypes.Requireable<string>;
|
|
241
242
|
contentType: PropTypes.Requireable<string>;
|
|
242
243
|
id: PropTypes.Requireable<string>;
|
|
244
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
245
|
+
iconName: PropTypes.Requireable<string>;
|
|
246
|
+
iconColor: PropTypes.Requireable<string>;
|
|
247
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
248
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
249
|
+
preset: PropTypes.Requireable<string>;
|
|
250
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
251
|
+
size: PropTypes.Requireable<number>;
|
|
252
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
253
|
+
}>>;
|
|
254
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
243
255
|
}> | null | undefined)[]>;
|
|
244
256
|
type: PropTypes.Requireable<string>;
|
|
245
257
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -482,6 +494,7 @@ declare namespace SlidePlayer {
|
|
|
482
494
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
483
495
|
title: PropTypes.Validator<string>;
|
|
484
496
|
subtitle: PropTypes.Requireable<string>;
|
|
497
|
+
provider: PropTypes.Requireable<string>;
|
|
485
498
|
selected: PropTypes.Requireable<boolean>;
|
|
486
499
|
selectedColor: PropTypes.Requireable<string>;
|
|
487
500
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -534,6 +547,17 @@ declare namespace SlidePlayer {
|
|
|
534
547
|
'aria-label': PropTypes.Requireable<string>;
|
|
535
548
|
contentType: PropTypes.Requireable<string>;
|
|
536
549
|
id: PropTypes.Requireable<string>;
|
|
550
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
551
|
+
iconName: PropTypes.Requireable<string>;
|
|
552
|
+
iconColor: PropTypes.Requireable<string>;
|
|
553
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
554
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
555
|
+
preset: PropTypes.Requireable<string>;
|
|
556
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
557
|
+
size: PropTypes.Requireable<number>;
|
|
558
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
559
|
+
}>>;
|
|
560
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
537
561
|
}> | null | undefined)[]>;
|
|
538
562
|
type: PropTypes.Requireable<string>;
|
|
539
563
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -194,6 +194,7 @@ declare namespace SlidesPlayer {
|
|
|
194
194
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
195
195
|
title: PropTypes.Validator<string>;
|
|
196
196
|
subtitle: PropTypes.Requireable<string>;
|
|
197
|
+
provider: PropTypes.Requireable<string>;
|
|
197
198
|
selected: PropTypes.Requireable<boolean>;
|
|
198
199
|
selectedColor: PropTypes.Requireable<string>;
|
|
199
200
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -246,6 +247,17 @@ declare namespace SlidesPlayer {
|
|
|
246
247
|
'aria-label': PropTypes.Requireable<string>;
|
|
247
248
|
contentType: PropTypes.Requireable<string>;
|
|
248
249
|
id: PropTypes.Requireable<string>;
|
|
250
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
251
|
+
iconName: PropTypes.Requireable<string>;
|
|
252
|
+
iconColor: PropTypes.Requireable<string>;
|
|
253
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
254
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
255
|
+
preset: PropTypes.Requireable<string>;
|
|
256
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
257
|
+
size: PropTypes.Requireable<number>;
|
|
258
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
259
|
+
}>>;
|
|
260
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
249
261
|
}> | null | undefined)[]>;
|
|
250
262
|
type: PropTypes.Requireable<string>;
|
|
251
263
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -224,6 +224,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
224
224
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
225
225
|
title: PropTypes.Validator<string>;
|
|
226
226
|
subtitle: PropTypes.Requireable<string>;
|
|
227
|
+
provider: PropTypes.Requireable<string>;
|
|
227
228
|
selected: PropTypes.Requireable<boolean>;
|
|
228
229
|
selectedColor: PropTypes.Requireable<string>;
|
|
229
230
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -276,6 +277,17 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
276
277
|
'aria-label': PropTypes.Requireable<string>;
|
|
277
278
|
contentType: PropTypes.Requireable<string>;
|
|
278
279
|
id: PropTypes.Requireable<string>;
|
|
280
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
281
|
+
iconName: PropTypes.Requireable<string>;
|
|
282
|
+
iconColor: PropTypes.Requireable<string>;
|
|
283
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
284
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
285
|
+
preset: PropTypes.Requireable<string>;
|
|
286
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
287
|
+
size: PropTypes.Requireable<number>;
|
|
288
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
289
|
+
}>>;
|
|
290
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
279
291
|
}> | null | undefined)[]>;
|
|
280
292
|
type: PropTypes.Requireable<string>;
|
|
281
293
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -324,6 +324,7 @@ declare namespace PopinEnd {
|
|
|
324
324
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
325
325
|
title: PropTypes.Validator<string>;
|
|
326
326
|
subtitle: PropTypes.Requireable<string>;
|
|
327
|
+
provider: PropTypes.Requireable<string>;
|
|
327
328
|
selected: PropTypes.Requireable<boolean>;
|
|
328
329
|
selectedColor: PropTypes.Requireable<string>;
|
|
329
330
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -376,6 +377,17 @@ declare namespace PopinEnd {
|
|
|
376
377
|
'aria-label': PropTypes.Requireable<string>;
|
|
377
378
|
contentType: PropTypes.Requireable<string>;
|
|
378
379
|
id: PropTypes.Requireable<string>;
|
|
380
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
381
|
+
iconName: PropTypes.Requireable<string>;
|
|
382
|
+
iconColor: PropTypes.Requireable<string>;
|
|
383
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
384
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
385
|
+
preset: PropTypes.Requireable<string>;
|
|
386
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
387
|
+
size: PropTypes.Requireable<number>;
|
|
388
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
389
|
+
}>>;
|
|
390
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
379
391
|
}> | null | undefined)[]>;
|
|
380
392
|
type: PropTypes.Requireable<string>;
|
|
381
393
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -645,6 +645,7 @@ declare const AppReview: {
|
|
|
645
645
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
646
646
|
title: import("prop-types").Validator<string>;
|
|
647
647
|
subtitle: import("prop-types").Requireable<string>;
|
|
648
|
+
provider: import("prop-types").Requireable<string>;
|
|
648
649
|
selected: import("prop-types").Requireable<boolean>;
|
|
649
650
|
selectedColor: import("prop-types").Requireable<string>;
|
|
650
651
|
dataColumns: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const AppReview: {
|
|
|
697
698
|
'aria-label': import("prop-types").Requireable<string>;
|
|
698
699
|
contentType: import("prop-types").Requireable<string>;
|
|
699
700
|
id: import("prop-types").Requireable<string>;
|
|
701
|
+
leftIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
702
|
+
iconName: import("prop-types").Requireable<string>;
|
|
703
|
+
iconColor: import("prop-types").Requireable<string>;
|
|
704
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
705
|
+
borderRadius: import("prop-types").Requireable<string>;
|
|
706
|
+
preset: import("prop-types").Requireable<string>;
|
|
707
|
+
gradientBackground: import("prop-types").Requireable<boolean>;
|
|
708
|
+
size: import("prop-types").Requireable<number>;
|
|
709
|
+
wrapperSize: import("prop-types").Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: import("prop-types").Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: import("prop-types").Requireable<string>;
|
|
702
714
|
itemType: import("prop-types").Requireable<string>;
|
|
@@ -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"}
|
|
@@ -645,6 +645,7 @@ declare const propTypes: {
|
|
|
645
645
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
646
646
|
title: PropTypes.Validator<string>;
|
|
647
647
|
subtitle: PropTypes.Requireable<string>;
|
|
648
|
+
provider: PropTypes.Requireable<string>;
|
|
648
649
|
selected: PropTypes.Requireable<boolean>;
|
|
649
650
|
selectedColor: PropTypes.Requireable<string>;
|
|
650
651
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const propTypes: {
|
|
|
697
698
|
'aria-label': PropTypes.Requireable<string>;
|
|
698
699
|
contentType: PropTypes.Requireable<string>;
|
|
699
700
|
id: PropTypes.Requireable<string>;
|
|
701
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
702
|
+
iconName: PropTypes.Requireable<string>;
|
|
703
|
+
iconColor: PropTypes.Requireable<string>;
|
|
704
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
705
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
706
|
+
preset: PropTypes.Requireable<string>;
|
|
707
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
708
|
+
size: PropTypes.Requireable<number>;
|
|
709
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: PropTypes.Requireable<string>;
|
|
702
714
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -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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
|
649
649
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
650
650
|
title: PropTypes.Validator<string>;
|
|
651
651
|
subtitle: PropTypes.Requireable<string>;
|
|
652
|
+
provider: PropTypes.Requireable<string>;
|
|
652
653
|
selected: PropTypes.Requireable<boolean>;
|
|
653
654
|
selectedColor: PropTypes.Requireable<string>;
|
|
654
655
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -701,6 +702,17 @@ declare const propTypes: {
|
|
|
701
702
|
'aria-label': PropTypes.Requireable<string>;
|
|
702
703
|
contentType: PropTypes.Requireable<string>;
|
|
703
704
|
id: PropTypes.Requireable<string>;
|
|
705
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
706
|
+
iconName: PropTypes.Requireable<string>;
|
|
707
|
+
iconColor: PropTypes.Requireable<string>;
|
|
708
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
709
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
710
|
+
preset: PropTypes.Requireable<string>;
|
|
711
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
712
|
+
size: PropTypes.Requireable<number>;
|
|
713
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
714
|
+
}>>;
|
|
715
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
704
716
|
}> | null | undefined)[]>;
|
|
705
717
|
type: PropTypes.Requireable<string>;
|
|
706
718
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM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