@coorpacademy/components 11.33.7 → 11.33.8
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/button-link/index.d.ts +13 -2
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +2 -2
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/style.css +2 -2
- package/es/atom/button-link/types.d.ts +28 -4
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +14 -5
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/style.css +2 -2
- package/es/atom/button-menu/index.d.ts +18 -0
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +19 -3
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +19 -6
- package/es/atom/button-menu/types.d.ts +39 -0
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +7 -2
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +37 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +37 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/style.css +10 -6
- package/es/atom/title/index.d.ts +37 -0
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +10 -4
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/style.css +9 -1
- package/es/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/style.css +20 -16
- package/es/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +120 -8
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +4 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/filters/index.js +2 -2
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/filters/style.css +7 -7
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +4 -1
- package/es/organism/header-with-actions/index.d.ts +95 -0
- package/es/organism/header-with-actions/index.d.ts.map +1 -0
- package/es/organism/header-with-actions/index.js +48 -0
- package/es/organism/header-with-actions/index.js.map +1 -0
- package/es/organism/header-with-actions/style.css +55 -0
- package/es/organism/header-with-actions/types.d.ts +120 -0
- package/es/organism/header-with-actions/types.d.ts.map +1 -0
- package/es/organism/header-with-actions/types.js +27 -0
- package/es/organism/header-with-actions/types.js.map +1 -0
- package/es/organism/list-item/index.d.ts +4 -1
- package/es/organism/list-item/index.js +7 -4
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +4 -6
- package/es/organism/list-items/index.d.ts +76 -6
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +12 -6
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/list-items/style.css +8 -2
- package/es/organism/rewards-form/index.d.ts +37 -0
- package/es/organism/select-opponents/index.d.ts +37 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +37 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +52 -8
- package/es/organism/title-and-input/index.d.ts +74 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +74 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +110 -6
- package/es/template/app-player/loading/index.d.ts +120 -8
- package/es/template/app-player/player/index.d.ts +240 -16
- package/es/template/app-player/player/slides/index.d.ts +120 -8
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +120 -8
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +120 -8
- package/es/template/app-review/index.d.ts +120 -8
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +120 -8
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +120 -8
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +52 -8
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +52 -8
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +378 -28
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +13 -3
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/style.css +4 -0
- package/es/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +240 -16
- package/es/template/common/search-page/index.d.ts +120 -8
- package/es/template/external-course/index.d.ts +120 -8
- package/es/variables/colors.css +5 -1
- package/es/variables/colors.d.ts +1 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +1 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts +13 -2
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +2 -2
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/style.css +2 -2
- package/lib/atom/button-link/types.d.ts +28 -4
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +15 -6
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/style.css +2 -2
- package/lib/atom/button-menu/index.d.ts +18 -0
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +19 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +19 -6
- package/lib/atom/button-menu/types.d.ts +39 -0
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +7 -2
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +37 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +37 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/style.css +10 -6
- package/lib/atom/title/index.d.ts +37 -0
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +10 -4
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/style.css +9 -1
- package/lib/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/style.css +20 -16
- package/lib/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +120 -8
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +4 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/filters/index.js +2 -2
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/filters/style.css +7 -7
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +4 -1
- package/lib/organism/header-with-actions/index.d.ts +95 -0
- package/lib/organism/header-with-actions/index.d.ts.map +1 -0
- package/lib/organism/header-with-actions/index.js +53 -0
- package/lib/organism/header-with-actions/index.js.map +1 -0
- package/lib/organism/header-with-actions/style.css +55 -0
- package/lib/organism/header-with-actions/types.d.ts +120 -0
- package/lib/organism/header-with-actions/types.d.ts.map +1 -0
- package/lib/organism/header-with-actions/types.js +32 -0
- package/lib/organism/header-with-actions/types.js.map +1 -0
- package/lib/organism/list-item/index.d.ts +4 -1
- package/lib/organism/list-item/index.js +7 -4
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +4 -6
- package/lib/organism/list-items/index.d.ts +76 -6
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +12 -6
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/list-items/style.css +8 -2
- package/lib/organism/rewards-form/index.d.ts +37 -0
- package/lib/organism/select-opponents/index.d.ts +37 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +37 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +52 -8
- package/lib/organism/title-and-input/index.d.ts +74 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +74 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +110 -6
- package/lib/template/app-player/loading/index.d.ts +120 -8
- package/lib/template/app-player/player/index.d.ts +240 -16
- package/lib/template/app-player/player/slides/index.d.ts +120 -8
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +120 -8
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +120 -8
- package/lib/template/app-review/index.d.ts +120 -8
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +120 -8
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +120 -8
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +52 -8
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +52 -8
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +378 -28
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +13 -3
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/style.css +4 -0
- package/lib/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +240 -16
- package/lib/template/common/search-page/index.d.ts +120 -8
- package/lib/template/external-course/index.d.ts +120 -8
- package/lib/variables/colors.css +5 -1
- package/lib/variables/colors.d.ts +1 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +1 -0
- package/lib/variables/colors.js.map +1 -1
- package/package.json +2 -2
- package/LICENSE +0 -201
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAiNA,sDAgDC"}
|
|
@@ -25,6 +25,7 @@ import CmPopin from '../../../molecule/cm-popin';
|
|
|
25
25
|
import ButtonLinkIcon from '../../../atom/button-link-icon';
|
|
26
26
|
import ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';
|
|
27
27
|
import BulkInfos from '../../../molecule/bulk-infos';
|
|
28
|
+
import Title from '../../../atom/title';
|
|
28
29
|
import style from './style.css';
|
|
29
30
|
const getStyle = isSelected => isSelected ? style.selectedElement : style.unselectedElement;
|
|
30
31
|
const subTabsView = (_subTabs = []) => map.convert({
|
|
@@ -179,6 +180,12 @@ const buildDetailsView = details => {
|
|
|
179
180
|
if (!details) return;
|
|
180
181
|
return /*#__PURE__*/React.createElement(BrandTable, details);
|
|
181
182
|
};
|
|
183
|
+
const buildTitle = title => {
|
|
184
|
+
if (isEmpty(title)) return;
|
|
185
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
186
|
+
className: style.title
|
|
187
|
+
}, /*#__PURE__*/React.createElement(Title, title));
|
|
188
|
+
};
|
|
182
189
|
const BrandUpdate = props => {
|
|
183
190
|
const {
|
|
184
191
|
notifications,
|
|
@@ -189,7 +196,8 @@ const BrandUpdate = props => {
|
|
|
189
196
|
popin,
|
|
190
197
|
onItemClick,
|
|
191
198
|
documentation,
|
|
192
|
-
contentFixHeight
|
|
199
|
+
contentFixHeight,
|
|
200
|
+
title
|
|
193
201
|
} = props;
|
|
194
202
|
const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';
|
|
195
203
|
const leftNavigation = buildLeftNavigation(logo, items, onItemClick);
|
|
@@ -200,6 +208,7 @@ const BrandUpdate = props => {
|
|
|
200
208
|
const contentView = buildContentView(content);
|
|
201
209
|
const detailsView = buildDetailsView(details);
|
|
202
210
|
const popinView = buildPopin(popin);
|
|
211
|
+
const titleView = buildTitle(title);
|
|
203
212
|
const contentStyle = classNames([style.content, !isEmpty(notifications) && style.contentWithNotifications, contentFixHeight && style.contentFixHeight]);
|
|
204
213
|
return /*#__PURE__*/React.createElement("div", {
|
|
205
214
|
className: style.container
|
|
@@ -211,7 +220,7 @@ const BrandUpdate = props => {
|
|
|
211
220
|
className: style.headerSticky
|
|
212
221
|
}, headerView), /*#__PURE__*/React.createElement("div", {
|
|
213
222
|
className: contentStyle
|
|
214
|
-
}, notificationsView, tabsView, contentView, detailsView, documentationView)), popinView);
|
|
223
|
+
}, notificationsView, titleView, tabsView, contentView, detailsView, documentationView)), popinView);
|
|
215
224
|
};
|
|
216
225
|
BrandUpdate.defaultProps = {
|
|
217
226
|
notifications: []
|
|
@@ -305,7 +314,8 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
305
314
|
type: PropTypes.oneOf(['list'])
|
|
306
315
|
}),
|
|
307
316
|
onItemClick: PropTypes.func,
|
|
308
|
-
contentFixHeight: PropTypes.bool
|
|
317
|
+
contentFixHeight: PropTypes.bool,
|
|
318
|
+
title: PropTypes.shape(Title.propTypes)
|
|
309
319
|
} : {};
|
|
310
320
|
export default BrandUpdate;
|
|
311
321
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","style","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","icon","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport style from './style.css';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({...CmPopin.propTypes}),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM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EtC,SAAS,CAAC2H,MAAM;IACrBnF,IAAI,EAAExC,SAAS,CAAC+H,KAAK,CAAC,CAAC,qBAAqB,CAAC;EAC/C,CAAC,CAAC,CACH,CAAC;EACFlD,aAAa,EAAE7E,SAAS,CAAC0H,KAAK,CAAC;IAC7B1C,OAAO,EAAEhF,SAAS,CAAC2H,MAAM;IACzB7C,IAAI,EAAE9E,SAAS,CAAC6H,IAAI;IACpB9C,OAAO,EAAE/E,SAAS,CAACgI;EACrB,CAAC,CAAC;EACFrD,KAAK,EAAE3E,SAAS,CAAC0H,KAAK,CAAC;IAAC,GAAGpG,OAAO,CAAC+F;EAAS,CAAC,CAAC;EAC9CnB,OAAO,EAAElG,SAAS,CAAC0H,KAAK,CAAC;IACvB,GAAG/G,UAAU,CAAC0G,SAAS;IACvB/E,GAAG,EAAEtC,SAAS,CAAC2H,MAAM;IACrBnF,IAAI,EAAExC,SAAS,CAAC+H,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACF7E,WAAW,EAAElD,SAAS,CAACgI,IAAI;EAC3B3B,gBAAgB,EAAErG,SAAS,CAAC6H;AAC9B,CAAC;AAED,eAAe1B,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","style","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","icon","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport style from './style.css';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({...CmPopin.propTypes}),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAO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K,CAACnG,KAAK,CAAC8F,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
|
|
@@ -14,8 +14,17 @@ declare const _default: {
|
|
|
14
14
|
'data-name': PropTypes.Requireable<string>;
|
|
15
15
|
'data-testid': PropTypes.Requireable<string>;
|
|
16
16
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
-
position: PropTypes.
|
|
17
|
+
position: PropTypes.Validator<string>;
|
|
18
18
|
type: PropTypes.Requireable<string>;
|
|
19
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
20
|
+
name: PropTypes.Validator<string>;
|
|
21
|
+
color: PropTypes.Requireable<string>;
|
|
22
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
23
|
+
size: PropTypes.Requireable<number>;
|
|
24
|
+
customStyle: PropTypes.Requireable<{
|
|
25
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
}>>;
|
|
19
28
|
}>>;
|
|
20
29
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
30
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -27,7 +36,9 @@ declare const _default: {
|
|
|
27
36
|
hoverColor: PropTypes.Requireable<string>;
|
|
28
37
|
disabled: PropTypes.Requireable<boolean>;
|
|
29
38
|
className: PropTypes.Requireable<string>;
|
|
30
|
-
customStyle: PropTypes.Requireable<
|
|
39
|
+
customStyle: PropTypes.Requireable<{
|
|
40
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
41
|
+
}>;
|
|
31
42
|
}>>;
|
|
32
43
|
logOut: PropTypes.Requireable<PropTypes.InferProps<{
|
|
33
44
|
type: PropTypes.Requireable<string>;
|
|
@@ -40,8 +51,17 @@ declare const _default: {
|
|
|
40
51
|
'data-name': PropTypes.Requireable<string>;
|
|
41
52
|
'data-testid': PropTypes.Requireable<string>;
|
|
42
53
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
|
-
position: PropTypes.
|
|
54
|
+
position: PropTypes.Validator<string>;
|
|
44
55
|
type: PropTypes.Requireable<string>;
|
|
56
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
57
|
+
name: PropTypes.Validator<string>;
|
|
58
|
+
color: PropTypes.Requireable<string>;
|
|
59
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
60
|
+
size: PropTypes.Requireable<number>;
|
|
61
|
+
customStyle: PropTypes.Requireable<{
|
|
62
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
63
|
+
}>;
|
|
64
|
+
}>>;
|
|
45
65
|
}>>;
|
|
46
66
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
47
67
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -53,7 +73,9 @@ declare const _default: {
|
|
|
53
73
|
hoverColor: PropTypes.Requireable<string>;
|
|
54
74
|
disabled: PropTypes.Requireable<boolean>;
|
|
55
75
|
className: PropTypes.Requireable<string>;
|
|
56
|
-
customStyle: PropTypes.Requireable<
|
|
76
|
+
customStyle: PropTypes.Requireable<{
|
|
77
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
78
|
+
}>;
|
|
57
79
|
}>>;
|
|
58
80
|
globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
59
81
|
type: PropTypes.Requireable<string>;
|
|
@@ -66,8 +88,17 @@ declare const _default: {
|
|
|
66
88
|
'data-name': PropTypes.Requireable<string>;
|
|
67
89
|
'data-testid': PropTypes.Requireable<string>;
|
|
68
90
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
|
-
position: PropTypes.
|
|
91
|
+
position: PropTypes.Validator<string>;
|
|
70
92
|
type: PropTypes.Requireable<string>;
|
|
93
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
94
|
+
name: PropTypes.Validator<string>;
|
|
95
|
+
color: PropTypes.Requireable<string>;
|
|
96
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
97
|
+
size: PropTypes.Requireable<number>;
|
|
98
|
+
customStyle: PropTypes.Requireable<{
|
|
99
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
}>>;
|
|
71
102
|
}>>;
|
|
72
103
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
104
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -79,7 +110,9 @@ declare const _default: {
|
|
|
79
110
|
hoverColor: PropTypes.Requireable<string>;
|
|
80
111
|
disabled: PropTypes.Requireable<boolean>;
|
|
81
112
|
className: PropTypes.Requireable<string>;
|
|
82
|
-
customStyle: PropTypes.Requireable<
|
|
113
|
+
customStyle: PropTypes.Requireable<{
|
|
114
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
115
|
+
}>;
|
|
83
116
|
}>>;
|
|
84
117
|
platformList: PropTypes.Requireable<PropTypes.InferProps<{
|
|
85
118
|
type: PropTypes.Requireable<string>;
|
|
@@ -92,8 +125,17 @@ declare const _default: {
|
|
|
92
125
|
'data-name': PropTypes.Requireable<string>;
|
|
93
126
|
'data-testid': PropTypes.Requireable<string>;
|
|
94
127
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
95
|
-
position: PropTypes.
|
|
128
|
+
position: PropTypes.Validator<string>;
|
|
96
129
|
type: PropTypes.Requireable<string>;
|
|
130
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
131
|
+
name: PropTypes.Validator<string>;
|
|
132
|
+
color: PropTypes.Requireable<string>;
|
|
133
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
134
|
+
size: PropTypes.Requireable<number>;
|
|
135
|
+
customStyle: PropTypes.Requireable<{
|
|
136
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
}>>;
|
|
97
139
|
}>>;
|
|
98
140
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
99
141
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -105,7 +147,9 @@ declare const _default: {
|
|
|
105
147
|
hoverColor: PropTypes.Requireable<string>;
|
|
106
148
|
disabled: PropTypes.Requireable<boolean>;
|
|
107
149
|
className: PropTypes.Requireable<string>;
|
|
108
|
-
customStyle: PropTypes.Requireable<
|
|
150
|
+
customStyle: PropTypes.Requireable<{
|
|
151
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
152
|
+
}>;
|
|
109
153
|
}>>;
|
|
110
154
|
}>>;
|
|
111
155
|
platformName: PropTypes.Requireable<string>;
|
|
@@ -15,8 +15,17 @@ declare function createLayout(Template: any): {
|
|
|
15
15
|
'data-name': PropTypes.Requireable<string>;
|
|
16
16
|
'data-testid': PropTypes.Requireable<string>;
|
|
17
17
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
-
position: PropTypes.
|
|
18
|
+
position: PropTypes.Validator<string>;
|
|
19
19
|
type: PropTypes.Requireable<string>;
|
|
20
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
+
name: PropTypes.Validator<string>;
|
|
22
|
+
color: PropTypes.Requireable<string>;
|
|
23
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
24
|
+
size: PropTypes.Requireable<number>;
|
|
25
|
+
customStyle: PropTypes.Requireable<{
|
|
26
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
}>>;
|
|
20
29
|
}>>;
|
|
21
30
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
31
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -28,7 +37,9 @@ declare function createLayout(Template: any): {
|
|
|
28
37
|
hoverColor: PropTypes.Requireable<string>;
|
|
29
38
|
disabled: PropTypes.Requireable<boolean>;
|
|
30
39
|
className: PropTypes.Requireable<string>;
|
|
31
|
-
customStyle: PropTypes.Requireable<
|
|
40
|
+
customStyle: PropTypes.Requireable<{
|
|
41
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
42
|
+
}>;
|
|
32
43
|
}>>;
|
|
33
44
|
logOut: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
45
|
type: PropTypes.Requireable<string>;
|
|
@@ -41,8 +52,17 @@ declare function createLayout(Template: any): {
|
|
|
41
52
|
'data-name': PropTypes.Requireable<string>;
|
|
42
53
|
'data-testid': PropTypes.Requireable<string>;
|
|
43
54
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
44
|
-
position: PropTypes.
|
|
55
|
+
position: PropTypes.Validator<string>;
|
|
45
56
|
type: PropTypes.Requireable<string>;
|
|
57
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
58
|
+
name: PropTypes.Validator<string>;
|
|
59
|
+
color: PropTypes.Requireable<string>;
|
|
60
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
61
|
+
size: PropTypes.Requireable<number>;
|
|
62
|
+
customStyle: PropTypes.Requireable<{
|
|
63
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
}>>;
|
|
46
66
|
}>>;
|
|
47
67
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
48
68
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -54,7 +74,9 @@ declare function createLayout(Template: any): {
|
|
|
54
74
|
hoverColor: PropTypes.Requireable<string>;
|
|
55
75
|
disabled: PropTypes.Requireable<boolean>;
|
|
56
76
|
className: PropTypes.Requireable<string>;
|
|
57
|
-
customStyle: PropTypes.Requireable<
|
|
77
|
+
customStyle: PropTypes.Requireable<{
|
|
78
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
79
|
+
}>;
|
|
58
80
|
}>>;
|
|
59
81
|
globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
60
82
|
type: PropTypes.Requireable<string>;
|
|
@@ -67,8 +89,17 @@ declare function createLayout(Template: any): {
|
|
|
67
89
|
'data-name': PropTypes.Requireable<string>;
|
|
68
90
|
'data-testid': PropTypes.Requireable<string>;
|
|
69
91
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
70
|
-
position: PropTypes.
|
|
92
|
+
position: PropTypes.Validator<string>;
|
|
71
93
|
type: PropTypes.Requireable<string>;
|
|
94
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
95
|
+
name: PropTypes.Validator<string>;
|
|
96
|
+
color: PropTypes.Requireable<string>;
|
|
97
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
98
|
+
size: PropTypes.Requireable<number>;
|
|
99
|
+
customStyle: PropTypes.Requireable<{
|
|
100
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
}>>;
|
|
72
103
|
}>>;
|
|
73
104
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
74
105
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -80,7 +111,9 @@ declare function createLayout(Template: any): {
|
|
|
80
111
|
hoverColor: PropTypes.Requireable<string>;
|
|
81
112
|
disabled: PropTypes.Requireable<boolean>;
|
|
82
113
|
className: PropTypes.Requireable<string>;
|
|
83
|
-
customStyle: PropTypes.Requireable<
|
|
114
|
+
customStyle: PropTypes.Requireable<{
|
|
115
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
116
|
+
}>;
|
|
84
117
|
}>>;
|
|
85
118
|
platformList: PropTypes.Requireable<PropTypes.InferProps<{
|
|
86
119
|
type: PropTypes.Requireable<string>;
|
|
@@ -93,8 +126,17 @@ declare function createLayout(Template: any): {
|
|
|
93
126
|
'data-name': PropTypes.Requireable<string>;
|
|
94
127
|
'data-testid': PropTypes.Requireable<string>;
|
|
95
128
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
96
|
-
position: PropTypes.
|
|
129
|
+
position: PropTypes.Validator<string>;
|
|
97
130
|
type: PropTypes.Requireable<string>;
|
|
131
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
132
|
+
name: PropTypes.Validator<string>;
|
|
133
|
+
color: PropTypes.Requireable<string>;
|
|
134
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
135
|
+
size: PropTypes.Requireable<number>;
|
|
136
|
+
customStyle: PropTypes.Requireable<{
|
|
137
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
}>>;
|
|
98
140
|
}>>;
|
|
99
141
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
100
142
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -106,7 +148,9 @@ declare function createLayout(Template: any): {
|
|
|
106
148
|
hoverColor: PropTypes.Requireable<string>;
|
|
107
149
|
disabled: PropTypes.Requireable<boolean>;
|
|
108
150
|
className: PropTypes.Requireable<string>;
|
|
109
|
-
customStyle: PropTypes.Requireable<
|
|
151
|
+
customStyle: PropTypes.Requireable<{
|
|
152
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
153
|
+
}>;
|
|
110
154
|
}>>;
|
|
111
155
|
}>>;
|
|
112
156
|
platformName: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBC"}
|