@coorpacademy/components 11.32.21 → 11.32.22

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.
Files changed (171) hide show
  1. package/es/atom/radio-with-title/index.d.ts +3 -0
  2. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  3. package/es/atom/radio-with-title/types.d.ts +3 -0
  4. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  5. package/es/atom/tag/index.d.ts +5 -1
  6. package/es/atom/tag/index.d.ts.map +1 -1
  7. package/es/atom/tag/index.js +6 -3
  8. package/es/atom/tag/index.js.map +1 -1
  9. package/es/atom/title/index.d.ts +3 -0
  10. package/es/molecule/cm-popin/types.d.ts +7 -0
  11. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  12. package/es/molecule/draggable-list/index.d.ts +12 -0
  13. package/es/molecule/draggable-list/index.d.ts.map +1 -1
  14. package/es/molecule/draggable-list/index.js +4 -2
  15. package/es/molecule/draggable-list/index.js.map +1 -1
  16. package/es/molecule/learning-priority-modal/index.d.ts +30 -0
  17. package/es/molecule/learning-priority-modal/index.d.ts.map +1 -0
  18. package/es/molecule/learning-priority-modal/index.js +242 -0
  19. package/es/molecule/learning-priority-modal/index.js.map +1 -0
  20. package/es/molecule/learning-priority-modal/style.css +70 -0
  21. package/es/molecule/learning-priority-setup-item/index.d.ts +18 -0
  22. package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
  23. package/es/molecule/learning-priority-setup-item/index.js +83 -0
  24. package/es/molecule/learning-priority-setup-item/index.js.map +1 -0
  25. package/es/molecule/learning-priority-setup-item/style.css +47 -0
  26. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
  27. package/es/molecule/title-radio-wrapper/index.d.ts +3 -0
  28. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  29. package/es/molecule/title-radio-wrapper/types.d.ts +3 -0
  30. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  31. package/es/organism/brand-learning-priorities/index.d.ts +167 -0
  32. package/es/organism/brand-learning-priorities/index.d.ts.map +1 -0
  33. package/es/organism/brand-learning-priorities/index.js +128 -0
  34. package/es/organism/brand-learning-priorities/index.js.map +1 -0
  35. package/es/organism/brand-learning-priorities/style.css +40 -0
  36. package/es/organism/list-item/index.d.ts +34 -2
  37. package/es/organism/list-item/index.d.ts.map +1 -1
  38. package/es/organism/list-item/index.js +58 -14
  39. package/es/organism/list-item/index.js.map +1 -1
  40. package/es/organism/list-item/style.css +25 -1
  41. package/es/organism/list-items/index.d.ts +4 -0
  42. package/es/organism/rewards-form/index.d.ts +3 -0
  43. package/es/organism/select-opponents/index.d.ts +3 -0
  44. package/es/organism/select-opponents/index.d.ts.map +1 -1
  45. package/es/organism/select-opponents/types.d.ts +3 -0
  46. package/es/organism/select-opponents/types.d.ts.map +1 -1
  47. package/es/organism/title-and-input/index.d.ts +6 -0
  48. package/es/organism/title-and-input/index.d.ts.map +1 -1
  49. package/es/organism/title-and-input/types.d.ts +6 -0
  50. package/es/organism/title-and-input/types.d.ts.map +1 -1
  51. package/es/organism/wizard-contents/index.d.ts +3 -0
  52. package/es/template/app-player/loading/index.d.ts +7 -0
  53. package/es/template/app-player/player/index.d.ts +14 -0
  54. package/es/template/app-player/player/slides/index.d.ts +7 -0
  55. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  56. package/es/template/app-player/popin-correction/index.d.ts +7 -0
  57. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  58. package/es/template/app-player/popin-end/index.d.ts +7 -0
  59. package/es/template/app-review/index.d.ts +7 -0
  60. package/es/template/app-review/index.d.ts.map +1 -1
  61. package/es/template/app-review/player/prop-types.d.ts +7 -0
  62. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  63. package/es/template/app-review/prop-types.d.ts +7 -0
  64. package/es/template/app-review/prop-types.d.ts.map +1 -1
  65. package/es/template/back-office/brand-update/index.d.ts +149 -0
  66. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  67. package/es/template/back-office/brand-update/index.js +7 -0
  68. package/es/template/back-office/brand-update/index.js.map +1 -1
  69. package/es/template/common/dashboard/index.d.ts +14 -0
  70. package/es/template/common/search-page/index.d.ts +7 -0
  71. package/es/template/external-course/index.d.ts +7 -0
  72. package/lib/atom/radio-with-title/index.d.ts +3 -0
  73. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  74. package/lib/atom/radio-with-title/types.d.ts +3 -0
  75. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  76. package/lib/atom/tag/index.d.ts +5 -1
  77. package/lib/atom/tag/index.d.ts.map +1 -1
  78. package/lib/atom/tag/index.js +6 -3
  79. package/lib/atom/tag/index.js.map +1 -1
  80. package/lib/atom/title/index.d.ts +3 -0
  81. package/lib/molecule/cm-popin/types.d.ts +7 -0
  82. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  83. package/lib/molecule/draggable-list/index.d.ts +12 -0
  84. package/lib/molecule/draggable-list/index.d.ts.map +1 -1
  85. package/lib/molecule/draggable-list/index.js +5 -2
  86. package/lib/molecule/draggable-list/index.js.map +1 -1
  87. package/lib/molecule/learning-priority-modal/index.d.ts +30 -0
  88. package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -0
  89. package/lib/molecule/learning-priority-modal/index.js +265 -0
  90. package/lib/molecule/learning-priority-modal/index.js.map +1 -0
  91. package/lib/molecule/learning-priority-modal/style.css +70 -0
  92. package/lib/molecule/learning-priority-setup-item/index.d.ts +18 -0
  93. package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
  94. package/lib/molecule/learning-priority-setup-item/index.js +100 -0
  95. package/lib/molecule/learning-priority-setup-item/index.js.map +1 -0
  96. package/lib/molecule/learning-priority-setup-item/style.css +47 -0
  97. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
  98. package/lib/molecule/title-radio-wrapper/index.d.ts +3 -0
  99. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  100. package/lib/molecule/title-radio-wrapper/types.d.ts +3 -0
  101. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  102. package/lib/organism/brand-learning-priorities/index.d.ts +167 -0
  103. package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -0
  104. package/lib/organism/brand-learning-priorities/index.js +147 -0
  105. package/lib/organism/brand-learning-priorities/index.js.map +1 -0
  106. package/lib/organism/brand-learning-priorities/style.css +40 -0
  107. package/lib/organism/list-item/index.d.ts +34 -2
  108. package/lib/organism/list-item/index.d.ts.map +1 -1
  109. package/lib/organism/list-item/index.js +62 -16
  110. package/lib/organism/list-item/index.js.map +1 -1
  111. package/lib/organism/list-item/style.css +25 -1
  112. package/lib/organism/list-items/index.d.ts +4 -0
  113. package/lib/organism/rewards-form/index.d.ts +3 -0
  114. package/lib/organism/select-opponents/index.d.ts +3 -0
  115. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  116. package/lib/organism/select-opponents/types.d.ts +3 -0
  117. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  118. package/lib/organism/title-and-input/index.d.ts +6 -0
  119. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  120. package/lib/organism/title-and-input/types.d.ts +6 -0
  121. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  122. package/lib/organism/wizard-contents/index.d.ts +3 -0
  123. package/lib/template/app-player/loading/index.d.ts +7 -0
  124. package/lib/template/app-player/player/index.d.ts +14 -0
  125. package/lib/template/app-player/player/slides/index.d.ts +7 -0
  126. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  127. package/lib/template/app-player/popin-correction/index.d.ts +7 -0
  128. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  129. package/lib/template/app-player/popin-end/index.d.ts +7 -0
  130. package/lib/template/app-review/index.d.ts +7 -0
  131. package/lib/template/app-review/index.d.ts.map +1 -1
  132. package/lib/template/app-review/player/prop-types.d.ts +7 -0
  133. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  134. package/lib/template/app-review/prop-types.d.ts +7 -0
  135. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  136. package/lib/template/back-office/brand-update/index.d.ts +149 -0
  137. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  138. package/lib/template/back-office/brand-update/index.js +8 -0
  139. package/lib/template/back-office/brand-update/index.js.map +1 -1
  140. package/lib/template/common/dashboard/index.d.ts +14 -0
  141. package/lib/template/common/search-page/index.d.ts +7 -0
  142. package/lib/template/external-course/index.d.ts +7 -0
  143. package/locales/bs/global.json +13 -1
  144. package/locales/cs/global.json +13 -1
  145. package/locales/de/global.json +13 -1
  146. package/locales/en/global.json +12 -0
  147. package/locales/es/global.json +13 -1
  148. package/locales/et/global.json +13 -1
  149. package/locales/fi/global.json +13 -1
  150. package/locales/fr/global.json +13 -1
  151. package/locales/hr/global.json +13 -1
  152. package/locales/hu/global.json +13 -1
  153. package/locales/hy/global.json +13 -1
  154. package/locales/it/global.json +13 -1
  155. package/locales/ja/global.json +13 -1
  156. package/locales/ko/global.json +13 -1
  157. package/locales/nl/global.json +13 -1
  158. package/locales/pl/global.json +13 -1
  159. package/locales/pt/global.json +13 -1
  160. package/locales/ro/global.json +13 -1
  161. package/locales/ru/global.json +13 -1
  162. package/locales/sk/global.json +13 -1
  163. package/locales/sl/global.json +13 -1
  164. package/locales/sv/global.json +13 -1
  165. package/locales/tl/global.json +13 -1
  166. package/locales/tr/global.json +13 -1
  167. package/locales/uk/global.json +13 -1
  168. package/locales/vi/global.json +13 -1
  169. package/locales/zh/global.json +13 -1
  170. package/locales/zh_TW/global.json +13 -1
  171. package/package.json +2 -2
@@ -3,6 +3,10 @@
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
5
 
6
+ var _get2 = _interopRequireDefault(require("lodash/fp/get"));
7
+
8
+ var _noop2 = _interopRequireDefault(require("lodash/fp/noop"));
9
+
6
10
  var _map2 = _interopRequireDefault(require("lodash/fp/map"));
7
11
 
8
12
  var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
@@ -11,10 +15,16 @@ var _react = _interopRequireDefault(require("react"));
11
15
 
12
16
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
17
 
18
+ var _cssColorFunction = require("css-color-function");
19
+
14
20
  var _classnames = _interopRequireDefault(require("classnames"));
15
21
 
22
+ var _provider = _interopRequireDefault(require("../../atom/provider"));
23
+
16
24
  var _tag = _interopRequireDefault(require("../../atom/tag"));
17
25
 
26
+ var _icon = _interopRequireDefault(require("../../atom/icon"));
27
+
18
28
  var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
19
29
 
20
30
  var _bulletPointMenuButton = _interopRequireDefault(require("../../molecule/bullet-point-menu-button"));
@@ -23,59 +33,93 @@ var _style = _interopRequireDefault(require("./style.css"));
23
33
 
24
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
35
 
26
- // eslint-disable-next-line css-modules/no-unused-class
36
+ 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); }
37
+
27
38
  const ListItem = ({
28
39
  buttonLink,
29
40
  secondButtonLink,
30
41
  bulletPointMenuButton,
31
42
  tags,
32
43
  title,
44
+ selected,
45
+ subtitle,
33
46
  dataColumns,
34
47
  order,
35
48
  'aria-label': ariaLabel,
49
+ disabled = false,
36
50
  contentType,
37
51
  isBulkStyle = false,
38
- isOverflowHidden = false
39
- }) => {
40
- let isPublished = false;
41
-
42
- const tagsView = _map2.default.convert({
52
+ isOverflowHidden = false,
53
+ onClick = _noop2.default
54
+ }, context) => {
55
+ const {
56
+ skin
57
+ } = context;
58
+ const primarySkinColor = (0, _get2.default)('common.primary', skin);
59
+
60
+ const mapUncapped = _map2.default.convert({
43
61
  cap: false
44
- })((tag, index) => {
62
+ });
63
+
64
+ let isPublished = false;
65
+ const selectedStyle = selected ? {
66
+ backgroundColor: (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.07))`)
67
+ } : {};
68
+ const tagSelectedStyle = selected ? {
69
+ backgroundColor: (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.15))`),
70
+ color: primarySkinColor
71
+ } : {};
72
+ const tagsView = mapUncapped((tag, index) => {
45
73
  isPublished = tag.type === 'success';
46
74
  return /*#__PURE__*/_react.default.createElement("div", {
47
75
  key: index,
48
76
  className: _style.default.tag
49
- }, /*#__PURE__*/_react.default.createElement(_tag.default, tag));
77
+ }, /*#__PURE__*/_react.default.createElement(_tag.default, _extends({}, tag, {
78
+ customStyle: tagSelectedStyle
79
+ })));
50
80
  })(tags);
51
-
52
- const dataColumnsView = _map2.default.convert({
53
- cap: false
54
- })((dataColumn, index) => {
81
+ const dataColumnsView = mapUncapped((dataColumn, index) => {
55
82
  return /*#__PURE__*/_react.default.createElement("div", {
56
83
  key: index,
57
84
  className: _style.default[dataColumn.className]
58
85
  }, dataColumn.type ? /*#__PURE__*/_react.default.createElement(_tag.default, dataColumn) : dataColumn.label);
59
86
  })(dataColumns);
60
-
61
87
  const orderView = order !== null && order !== undefined ? /*#__PURE__*/_react.default.createElement("div", {
62
88
  className: _style.default.order,
63
89
  "aria-label": ariaLabel
64
90
  }, order + 1) : null;
65
91
  return /*#__PURE__*/_react.default.createElement("div", {
66
- className: (0, _classnames.default)(_style.default.wrapper, isBulkStyle && _style.default.gridLayout)
92
+ className: (0, _classnames.default)(_style.default.wrapper, isBulkStyle && _style.default.gridLayout, subtitle && _style.default.withSubtitle, disabled && _style.default.disabled, onClick !== _noop2.default && !disabled && _style.default.cursorPointer),
93
+ onClick: !disabled ? onClick : undefined,
94
+ style: selectedStyle
67
95
  }, /*#__PURE__*/_react.default.createElement("div", {
68
96
  className: (0, _classnames.default)(_style.default.dataColumnsWrapper, isOverflowHidden && _style.default.hiddenOverflowX)
69
97
  }, isPublished && contentType === 'certification' ? orderView : null, /*#__PURE__*/_react.default.createElement("div", {
70
98
  className: _style.default.title,
71
99
  title: title
72
- }, title), dataColumnsView), /*#__PURE__*/_react.default.createElement("div", {
100
+ }, title, subtitle ? /*#__PURE__*/_react.default.createElement("div", {
101
+ className: _style.default.subtitle
102
+ }, subtitle) : null), dataColumnsView), /*#__PURE__*/_react.default.createElement("div", {
73
103
  className: _style.default.settings
74
- }, tagsView, buttonLink ? /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonLink) : null, secondButtonLink ? /*#__PURE__*/_react.default.createElement(_buttonLink.default, secondButtonLink) : null, !(0, _isEmpty2.default)(bulletPointMenuButton) ? /*#__PURE__*/_react.default.createElement(_bulletPointMenuButton.default, bulletPointMenuButton) : null));
104
+ }, tagsView, selected ? /*#__PURE__*/_react.default.createElement(_icon.default, {
105
+ iconName: "circle-check",
106
+ iconColor: primarySkinColor,
107
+ backgroundColor: '#ffffff',
108
+ size: {
109
+ faSize: 16,
110
+ wrapperSize: 16
111
+ }
112
+ }) : null, buttonLink ? /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonLink) : null, secondButtonLink ? /*#__PURE__*/_react.default.createElement(_buttonLink.default, secondButtonLink) : null, !(0, _isEmpty2.default)(bulletPointMenuButton) ? /*#__PURE__*/_react.default.createElement(_bulletPointMenuButton.default, bulletPointMenuButton) : null));
75
113
  };
76
114
 
115
+ ListItem.contextTypes = {
116
+ skin: _provider.default.childContextTypes.skin,
117
+ translate: _provider.default.childContextTypes.translate
118
+ };
77
119
  ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
78
120
  title: _propTypes.default.string.isRequired,
121
+ subtitle: _propTypes.default.string,
122
+ selected: _propTypes.default.bool,
79
123
  dataColumns: _propTypes.default.arrayOf(_propTypes.default.shape({
80
124
  label: _propTypes.default.string,
81
125
  type: _propTypes.default.oneOf(['success', 'failure', 'warning', 'progress', 'default']),
@@ -118,6 +162,8 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
118
162
  label: _propTypes.default.string,
119
163
  type: _propTypes.default.oneOf(['success', 'failure', 'warning', 'progress', 'default'])
120
164
  })),
165
+ disabled: _propTypes.default.bool,
166
+ onClick: _propTypes.default.func,
121
167
  isBulkStyle: _propTypes.default.bool,
122
168
  isOverflowHidden: _propTypes.default.bool,
123
169
  order: _propTypes.default.number,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","dataColumns","order","ariaLabel","contentType","isBulkStyle","isOverflowHidden","isPublished","tagsView","convert","cap","tag","index","type","style","dataColumnsView","dataColumn","className","label","orderView","undefined","classnames","wrapper","gridLayout","dataColumnsWrapper","hiddenOverflowX","settings","propTypes","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': P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ET,kBAAA,CAAUU;EAXkB,CAAhB,CA/BJ;EA4CnBvC,IAAI,EAAE6B,kBAAA,CAAUG,OAAV,CACJH,kBAAA,CAAUI,KAAV,CAAgB;IACdd,KAAK,EAAEU,kBAAA,CAAUC,MADH;IAEdhB,IAAI,EAAEe,kBAAA,CAAUK,KAAV,CAAgB,CAAC,SAAD,EAAY,SAAZ,EAAuB,SAAvB,EAAkC,UAAlC,EAA8C,SAA9C,CAAhB;EAFQ,CAAhB,CADI,CA5Ca;EAkDnB5B,WAAW,EAAEuB,kBAAA,CAAUc,IAlDJ;EAmDnBpC,gBAAgB,EAAEsB,kBAAA,CAAUc,IAnDT;EAoDnBxC,KAAK,EAAE0B,kBAAA,CAAUe,MApDE;EAqDnB,cAAcf,kBAAA,CAAUC,MArDL;EAsDnBzB,WAAW,EAAEwB,kBAAA,CAAUC,MAtDJ;EAuDnBe,EAAE,EAAEhB,kBAAA,CAAUC;AAvDK,CAArB;eA0DelC,Q"}
1
+ {"version":3,"file":"index.js","names":["ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","selected","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","context","skin","primarySkinColor","mapUncapped","convert","cap","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","style","dataColumnsView","dataColumn","className","label","orderView","undefined","classnames","wrapper","gridLayout","withSubtitle","cursorPointer","dataColumnsWrapper","hiddenOverflowX","settings","faSize","wrapperSize","contextTypes","Provider","childContextTypes","translate","propTypes","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;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,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,mBAAI,gBAAJ,EAAsBD,IAAtB,CAAzB;;EACA,MAAME,WAAW,GAAG,cAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,CAApB;;EACA,IAAIC,WAAW,GAAG,KAAlB;EAEA,MAAMC,aAAa,GAAGjB,QAAQ,GAC1B;IACEkB,eAAe,EAAE,IAAAJ,yBAAA,EAAS,SAAQF,gBAAiB,WAAlC;EADnB,CAD0B,GAI1B,EAJJ;EAMA,MAAMO,gBAAgB,GAAGnB,QAAQ,GAC7B;IACEkB,eAAe,EAAE,IAAAJ,yBAAA,EAAS,SAAQF,gBAAiB,WAAlC,CADnB;IAEEQ,KAAK,EAAER;EAFT,CAD6B,GAK7B,EALJ;EAOA,MAAMS,QAAQ,GAAGR,WAAW,CAAC,CAACS,GAAD,EAAMC,KAAN,KAAgB;IAC3CP,WAAW,GAAGM,GAAG,CAACE,IAAJ,KAAa,SAA3B;IACA,oBACE;MAAK,GAAG,EAAED,KAAV;MAAiB,SAAS,EAAEE,cAAA,CAAMH;IAAlC,gBACE,6BAAC,YA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EkB,kBAAA,CAAUC,MAFH;MAGdxB,IAAI,EAAEuB,kBAAA,CAAUC,MAHF;MAIdvC,OAAO,EAAEsC,kBAAA,CAAUU;IAJL,CAAhB,CADO,CAH4B;IAWrChD,OAAO,EAAEsC,kBAAA,CAAUU;EAXkB,CAAhB,CAjCJ;EA8CnB3D,IAAI,EAAEiD,kBAAA,CAAUI,OAAV,CACJJ,kBAAA,CAAUK,KAAV,CAAgB;IACdvB,KAAK,EAAEkB,kBAAA,CAAUC,MADH;IAEdxB,IAAI,EAAEuB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,SAAD,EAAY,SAAZ,EAAuB,SAAvB,EAAkC,UAAlC,EAA8C,SAA9C,CAAhB;EAFQ,CAAhB,CADI,CA9Ca;EAoDnBhD,QAAQ,EAAE0C,kBAAA,CAAUG,IApDD;EAqDnBzC,OAAO,EAAEsC,kBAAA,CAAUU,IArDA;EAsDnBlD,WAAW,EAAEwC,kBAAA,CAAUG,IAtDJ;EAuDnB1C,gBAAgB,EAAEuC,kBAAA,CAAUG,IAvDT;EAwDnB/C,KAAK,EAAE4C,kBAAA,CAAUc,MAxDE;EAyDnB,cAAcd,kBAAA,CAAUC,MAzDL;EA0DnB1C,WAAW,EAAEyC,kBAAA,CAAUC,MA1DJ;EA2DnBc,EAAE,EAAEf,kBAAA,CAAUC;AA3DK,CAArB;eA8DetD,Q"}
@@ -24,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
- align-items: center;
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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>;