@coorpacademy/components 11.42.5 → 11.42.6
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/organism/content-skill-modal/index.d.ts +11 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/index.js +27 -8
- package/es/organism/content-skill-modal/index.js.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +24 -1
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.js +14 -1
- package/es/organism/content-skill-modal/types.js.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +11 -0
- package/lib/organism/content-skill-modal/index.d.ts +11 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/index.js +27 -8
- package/lib/organism/content-skill-modal/index.js.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +24 -1
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.js +14 -1
- package/lib/organism/content-skill-modal/types.js.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +11 -0
- package/package.json +2 -2
|
@@ -7,6 +7,11 @@ declare const ContentSkillModal: {
|
|
|
7
7
|
};
|
|
8
8
|
propTypes: {
|
|
9
9
|
contentList: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
10
|
+
selectAll: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
11
|
+
label: import("prop-types").Validator<string>;
|
|
12
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
13
|
+
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
|
+
}>>;
|
|
10
15
|
'aria-label': import("prop-types").Requireable<string>;
|
|
11
16
|
buttonLink: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
12
17
|
type: import("prop-types").Requireable<string>;
|
|
@@ -801,6 +806,12 @@ declare const ContentSkillModal: {
|
|
|
801
806
|
}> | null | undefined> | null | undefined)[]>;
|
|
802
807
|
}>>>;
|
|
803
808
|
modal: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
809
|
+
title: import("prop-types").Requireable<string>;
|
|
810
|
+
description: import("prop-types").Requireable<string>;
|
|
811
|
+
cancelLabel: import("prop-types").Requireable<string>;
|
|
812
|
+
confirmLabel: import("prop-types").Requireable<string>;
|
|
813
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
814
|
+
error: import("prop-types").Requireable<string>;
|
|
804
815
|
isOpen: import("prop-types").Requireable<boolean>;
|
|
805
816
|
onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
806
817
|
onConfirm: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
1
2
|
import React, { useCallback, useMemo } from 'react';
|
|
2
3
|
import BaseModal from '../../molecule/base-modal';
|
|
3
4
|
import ListItems from '../list-items';
|
|
@@ -12,11 +13,25 @@ const ContentSkillModal = props => {
|
|
|
12
13
|
filters,
|
|
13
14
|
modal
|
|
14
15
|
} = props;
|
|
16
|
+
const {
|
|
17
|
+
selectAll,
|
|
18
|
+
...listProps
|
|
19
|
+
} = contentList;
|
|
20
|
+
const buttonLink = selectAll ? {
|
|
21
|
+
...selectAll,
|
|
22
|
+
type: 'secondary'
|
|
23
|
+
} : listProps.buttonLink;
|
|
15
24
|
const {
|
|
16
25
|
isOpen,
|
|
17
26
|
onCancel,
|
|
18
27
|
onConfirm,
|
|
19
|
-
onClose
|
|
28
|
+
onClose,
|
|
29
|
+
title = 'Add content',
|
|
30
|
+
description = 'Add courses, video, interactive and more to this skill',
|
|
31
|
+
cancelLabel = 'Cancel',
|
|
32
|
+
confirmLabel = 'Add',
|
|
33
|
+
error,
|
|
34
|
+
disabled = false
|
|
20
35
|
} = modal;
|
|
21
36
|
const handleCancel = useCallback(() => {
|
|
22
37
|
onCancel();
|
|
@@ -30,21 +45,23 @@ const ContentSkillModal = props => {
|
|
|
30
45
|
backgroundColor: COLORS.primary_100
|
|
31
46
|
};
|
|
32
47
|
const footer = useMemo(() => ({
|
|
48
|
+
text: error,
|
|
49
|
+
isError: Boolean(error),
|
|
33
50
|
cancelButton: {
|
|
34
51
|
onCancel: handleCancel,
|
|
35
|
-
label:
|
|
52
|
+
label: cancelLabel
|
|
36
53
|
},
|
|
37
54
|
confirmButton: {
|
|
38
55
|
onConfirm,
|
|
39
|
-
label:
|
|
56
|
+
label: confirmLabel,
|
|
40
57
|
iconName: 'plus',
|
|
41
|
-
disabled
|
|
58
|
+
disabled,
|
|
42
59
|
color: COLORS.cm_primary_blue
|
|
43
60
|
}
|
|
44
|
-
}), [handleCancel, onConfirm]);
|
|
61
|
+
}), [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]);
|
|
45
62
|
const baseModalProps = {
|
|
46
|
-
title
|
|
47
|
-
description
|
|
63
|
+
title,
|
|
64
|
+
description,
|
|
48
65
|
headerIcon,
|
|
49
66
|
footer,
|
|
50
67
|
isOpen,
|
|
@@ -60,7 +77,9 @@ const ContentSkillModal = props => {
|
|
|
60
77
|
className: style.container
|
|
61
78
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62
79
|
className: style.containerList
|
|
63
|
-
}, /*#__PURE__*/React.createElement(ListItems,
|
|
80
|
+
}, /*#__PURE__*/React.createElement(ListItems, _extends({}, listProps, {
|
|
81
|
+
buttonLink: buttonLink
|
|
82
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
64
83
|
className: style.filtersContainer
|
|
65
84
|
}, /*#__PURE__*/React.createElement(MultiFilterPanel, filters))));
|
|
66
85
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","BaseModal","ListItems","MultiFilterPanel","Provider","COLORS","style","propTypes","ContentSkillModal","props","contentList","filters","modal","isOpen","onCancel","onConfirm","onClose","handleCancel","handleClose","headerIcon","name","color","primary_600","backgroundColor","primary_100","footer","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","BaseModal","ListItems","MultiFilterPanel","Provider","COLORS","style","propTypes","ContentSkillModal","props","contentList","filters","modal","selectAll","listProps","buttonLink","type","isOpen","onCancel","onConfirm","onClose","title","description","cancelLabel","confirmLabel","error","disabled","handleCancel","handleClose","headerIcon","name","color","primary_600","backgroundColor","primary_100","footer","text","isError","Boolean","cancelButton","label","confirmButton","iconName","cm_primary_blue","baseModalProps","customStyle","height","width","createElement","className","container","containerList","_extends","filtersContainer","contextTypes","translate","childContextTypes","process","env","NODE_ENV"],"sources":["../../../src/organism/content-skill-modal/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport BaseModal from '../../molecule/base-modal';\nimport ListItems from '../list-items';\nimport MultiFilterPanel from '../../molecule/multi-filter-panel';\nimport Provider from '../../atom/provider';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {ContentSkillModalProps} from './types';\n\nconst ContentSkillModal = (props: ContentSkillModalProps) => {\n const {contentList, filters, modal} = props;\n const {selectAll, ...listProps} = contentList;\n const buttonLink = selectAll ? {...selectAll, type: 'secondary'} : listProps.buttonLink;\n const {\n isOpen,\n onCancel,\n onConfirm,\n onClose,\n title = 'Add content',\n description = 'Add courses, video, interactive and more to this skill',\n cancelLabel = 'Cancel',\n confirmLabel = 'Add',\n error,\n disabled = false\n } = modal;\n\n const handleCancel = useCallback(() => {\n onCancel();\n }, [onCancel]);\n const handleClose = useCallback(() => {\n onClose();\n }, [onClose]);\n\n const headerIcon = {\n name: 'circle-plus',\n color: COLORS.primary_600,\n backgroundColor: COLORS.primary_100\n };\n const footer = useMemo(\n () => ({\n text: error,\n isError: Boolean(error),\n cancelButton: {\n onCancel: handleCancel,\n label: cancelLabel\n },\n confirmButton: {\n onConfirm,\n label: confirmLabel,\n iconName: 'plus',\n disabled,\n color: COLORS.cm_primary_blue\n }\n }),\n [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]\n );\n\n const baseModalProps = {\n title,\n description,\n headerIcon,\n footer,\n isOpen,\n onClose: handleClose,\n // fullscreen modal\n customStyle: {\n height: '80vh',\n width: '80vw'\n }\n };\n\n if (!isOpen) return null;\n\n return (\n <BaseModal {...baseModalProps}>\n <div className={style.container}>\n <div className={style.containerList}>\n <ListItems {...listProps} buttonLink={buttonLink} />\n </div>\n <div className={style.filtersContainer}>\n <MultiFilterPanel {...filters} />\n </div>\n </div>\n </BaseModal>\n );\n};\n\nContentSkillModal.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nContentSkillModal.propTypes = propTypes;\n\nexport default ContentSkillModal;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,QAAO,OAAO;AACjD,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAgC,SAAS;AAEzD,MAAMC,iBAAiB,GAAIC,KAA6B,IAAK;EAC3D,MAAM;IAACC,WAAW;IAAEC,OAAO;IAAEC;EAAK,CAAC,GAAGH,KAAK;EAC3C,MAAM;IAACI,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B,KAAK;IACLC,WAAW;IACXO,UAAU;IACVM,MAAM;IACNlB,MAAM;IACNG,OAAO,EAAEQ,WAAW;IACpB;IACAiB,WAAW,EAAE;MACXC,MAAM,EAAE,MAAM;MACdC,KAAK,EAAE;IACT;EACF,CAAC;EAED,IAAI,CAAC9B,MAAM,EAAE,OAAO,IAAI;EAExB,oBACEnB,KAAA,CAAAkD,aAAA,CAAC/C,SAAS,EAAK2C,cAAc,eAC3B9C,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC4C;EAAU,gBAC9BpD,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC6C;EAAc,gBAClCrD,KAAA,CAAAkD,aAAA,CAAC9C,SAAS,EAAAkD,QAAA,KAAKtC,SAAS;IAAEC,UAAU,EAAEA;EAAW,EAAE,CAChD,CAAC,eACNjB,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC+C;EAAiB,gBACrCvD,KAAA,CAAAkD,aAAA,CAAC7C,gBAAgB,EAAKQ,OAAU,CAC7B,CACF,CACI,CAAC;AAEhB,CAAC;AAEDH,iBAAiB,CAAC8C,YAAY,GAAG;EAC/BC,SAAS,EAAEnD,QAAQ,CAACoD,iBAAiB,CAACD;AACxC,CAAC;AAED/C,iBAAiB,CAACD,SAAS,GAAAkD,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGpD,SAAS;AAEvC,eAAeC,iBAAiB","ignoreList":[]}
|
|
@@ -4,6 +4,11 @@ import ListItems from '../list-items';
|
|
|
4
4
|
import { MultiFilterPanelProps } from '../../molecule/multi-filter-panel/prop-types';
|
|
5
5
|
declare const ContentSkillModalPropTypes: {
|
|
6
6
|
contentList: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
7
|
+
selectAll: PropTypes.Requireable<PropTypes.InferProps<{
|
|
8
|
+
label: PropTypes.Validator<string>;
|
|
9
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
10
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
}>>;
|
|
7
12
|
'aria-label': PropTypes.Requireable<string>;
|
|
8
13
|
buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
14
|
type: PropTypes.Requireable<string>;
|
|
@@ -798,6 +803,12 @@ declare const ContentSkillModalPropTypes: {
|
|
|
798
803
|
}> | null | undefined> | null | undefined)[]>;
|
|
799
804
|
}>>>;
|
|
800
805
|
modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
806
|
+
title: PropTypes.Requireable<string>;
|
|
807
|
+
description: PropTypes.Requireable<string>;
|
|
808
|
+
cancelLabel: PropTypes.Requireable<string>;
|
|
809
|
+
confirmLabel: PropTypes.Requireable<string>;
|
|
810
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
811
|
+
error: PropTypes.Requireable<string>;
|
|
801
812
|
isOpen: PropTypes.Requireable<boolean>;
|
|
802
813
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
803
814
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -806,13 +817,25 @@ declare const ContentSkillModalPropTypes: {
|
|
|
806
817
|
};
|
|
807
818
|
export default ContentSkillModalPropTypes;
|
|
808
819
|
declare type ModalProps = {
|
|
820
|
+
title?: string;
|
|
821
|
+
description?: string;
|
|
822
|
+
cancelLabel?: string;
|
|
823
|
+
confirmLabel?: string;
|
|
824
|
+
disabled?: boolean;
|
|
825
|
+
error?: string;
|
|
809
826
|
isOpen: boolean;
|
|
810
827
|
onCancel: () => void;
|
|
811
828
|
onConfirm: () => void;
|
|
812
829
|
onClose: () => void;
|
|
813
830
|
};
|
|
814
831
|
export declare type ContentSkillModalProps = {
|
|
815
|
-
contentList: React.ComponentProps<typeof ListItems
|
|
832
|
+
contentList: React.ComponentProps<typeof ListItems> & {
|
|
833
|
+
selectAll?: {
|
|
834
|
+
label: string;
|
|
835
|
+
disabled?: boolean;
|
|
836
|
+
onClick: () => void;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
816
839
|
filters: MultiFilterPanelProps;
|
|
817
840
|
modal: ModalProps;
|
|
818
841
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAetD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;QACpD,SAAS,CAAC,EAAE;YACV,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,OAAO,EAAE,MAAM,IAAI,CAAC;SACrB,CAAC;KACH,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -2,13 +2,26 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import ListItems from '../list-items';
|
|
3
3
|
import MultiFilterPanelPropTypes from '../../molecule/multi-filter-panel/prop-types';
|
|
4
4
|
const ModalPropTypes = {
|
|
5
|
+
title: PropTypes.string,
|
|
6
|
+
description: PropTypes.string,
|
|
7
|
+
cancelLabel: PropTypes.string,
|
|
8
|
+
confirmLabel: PropTypes.string,
|
|
9
|
+
disabled: PropTypes.bool,
|
|
10
|
+
error: PropTypes.string,
|
|
5
11
|
isOpen: PropTypes.bool,
|
|
6
12
|
onCancel: PropTypes.func,
|
|
7
13
|
onConfirm: PropTypes.func,
|
|
8
14
|
onClose: PropTypes.func
|
|
9
15
|
};
|
|
10
16
|
const ContentSkillModalPropTypes = {
|
|
11
|
-
contentList: PropTypes.shape(
|
|
17
|
+
contentList: PropTypes.shape({
|
|
18
|
+
...ListItems.propTypes,
|
|
19
|
+
selectAll: PropTypes.shape({
|
|
20
|
+
label: PropTypes.string.isRequired,
|
|
21
|
+
disabled: PropTypes.bool,
|
|
22
|
+
onClick: PropTypes.func.isRequired
|
|
23
|
+
})
|
|
24
|
+
}).isRequired,
|
|
12
25
|
filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,
|
|
13
26
|
modal: PropTypes.shape(ModalPropTypes).isRequired
|
|
14
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","ListItems","MultiFilterPanelPropTypes","ModalPropTypes","
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","ListItems","MultiFilterPanelPropTypes","ModalPropTypes","title","string","description","cancelLabel","confirmLabel","disabled","bool","error","isOpen","onCancel","func","onConfirm","onClose","ContentSkillModalPropTypes","contentList","shape","propTypes","selectAll","label","isRequired","onClick","filters","modal"],"sources":["../../../src/organism/content-skill-modal/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ListItems from '../list-items';\nimport MultiFilterPanelPropTypes, {\n MultiFilterPanelProps\n} from '../../molecule/multi-filter-panel/prop-types';\n\nconst ModalPropTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n cancelLabel: PropTypes.string,\n confirmLabel: PropTypes.string,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n isOpen: PropTypes.bool,\n onCancel: PropTypes.func,\n onConfirm: PropTypes.func,\n onClose: PropTypes.func\n};\n\nconst ContentSkillModalPropTypes = {\n contentList: PropTypes.shape({\n ...ListItems.propTypes,\n selectAll: PropTypes.shape({\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onClick: PropTypes.func.isRequired\n })\n }).isRequired,\n filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,\n modal: PropTypes.shape(ModalPropTypes).isRequired\n};\n\nexport default ContentSkillModalPropTypes;\n\ntype ModalProps = {\n title?: string;\n description?: string;\n cancelLabel?: string;\n confirmLabel?: string;\n disabled?: boolean;\n error?: string;\n isOpen: boolean;\n onCancel: () => void;\n onConfirm: () => void;\n onClose: () => void;\n};\n\nexport type ContentSkillModalProps = {\n contentList: React.ComponentProps<typeof ListItems> & {\n selectAll?: {\n label: string;\n disabled?: boolean;\n onClick: () => void;\n };\n };\n filters: MultiFilterPanelProps;\n modal: ModalProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,yBAAyB,MAEzB,8CAA8C;AAErD,MAAMC,cAAc,GAAG;EACrBC,KAAK,EAAEJ,SAAS,CAACK,MAAM;EACvBC,WAAW,EAAEN,SAAS,CAACK,MAAM;EAC7BE,WAAW,EAAEP,SAAS,CAACK,MAAM;EAC7BG,YAAY,EAAER,SAAS,CAACK,MAAM;EAC9BI,QAAQ,EAAET,SAAS,CAACU,IAAI;EACxBC,KAAK,EAAEX,SAAS,CAACK,MAAM;EACvBO,MAAM,EAAEZ,SAAS,CAACU,IAAI;EACtBG,QAAQ,EAAEb,SAAS,CAACc,IAAI;EACxBC,SAAS,EAAEf,SAAS,CAACc,IAAI;EACzBE,OAAO,EAAEhB,SAAS,CAACc;AACrB,CAAC;AAED,MAAMG,0BAA0B,GAAG;EACjCC,WAAW,EAAElB,SAAS,CAACmB,KAAK,CAAC;IAC3B,GAAGlB,SAAS,CAACmB,SAAS;IACtBC,SAAS,EAAErB,SAAS,CAACmB,KAAK,CAAC;MACzBG,KAAK,EAAEtB,SAAS,CAACK,MAAM,CAACkB,UAAU;MAClCd,QAAQ,EAAET,SAAS,CAACU,IAAI;MACxBc,OAAO,EAAExB,SAAS,CAACc,IAAI,CAACS;IAC1B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACbE,OAAO,EAAEzB,SAAS,CAACmB,KAAK,CAACjB,yBAAyB,CAAC,CAACqB,UAAU;EAC9DG,KAAK,EAAE1B,SAAS,CAACmB,KAAK,CAAChB,cAAc,CAAC,CAACoB;AACzC,CAAC;AAED,eAAeN,0BAA0B","ignoreList":[]}
|
|
@@ -3181,6 +3181,11 @@ declare namespace BrandUpdate {
|
|
|
3181
3181
|
}> | PropTypes.InferProps<{
|
|
3182
3182
|
type: PropTypes.Requireable<string>;
|
|
3183
3183
|
contentList: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
3184
|
+
selectAll: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3185
|
+
label: PropTypes.Validator<string>;
|
|
3186
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
3187
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
3188
|
+
}>>;
|
|
3184
3189
|
'aria-label': PropTypes.Requireable<string>;
|
|
3185
3190
|
buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3186
3191
|
type: PropTypes.Requireable<string>;
|
|
@@ -3975,6 +3980,12 @@ declare namespace BrandUpdate {
|
|
|
3975
3980
|
}> | null | undefined> | null | undefined)[]>;
|
|
3976
3981
|
}>>>;
|
|
3977
3982
|
modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
3983
|
+
title: PropTypes.Requireable<string>;
|
|
3984
|
+
description: PropTypes.Requireable<string>;
|
|
3985
|
+
cancelLabel: PropTypes.Requireable<string>;
|
|
3986
|
+
confirmLabel: PropTypes.Requireable<string>;
|
|
3987
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
3988
|
+
error: PropTypes.Requireable<string>;
|
|
3978
3989
|
isOpen: PropTypes.Requireable<boolean>;
|
|
3979
3990
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3980
3991
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -7,6 +7,11 @@ declare const ContentSkillModal: {
|
|
|
7
7
|
};
|
|
8
8
|
propTypes: {
|
|
9
9
|
contentList: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
10
|
+
selectAll: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
11
|
+
label: import("prop-types").Validator<string>;
|
|
12
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
13
|
+
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
|
+
}>>;
|
|
10
15
|
'aria-label': import("prop-types").Requireable<string>;
|
|
11
16
|
buttonLink: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
12
17
|
type: import("prop-types").Requireable<string>;
|
|
@@ -801,6 +806,12 @@ declare const ContentSkillModal: {
|
|
|
801
806
|
}> | null | undefined> | null | undefined)[]>;
|
|
802
807
|
}>>>;
|
|
803
808
|
modal: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
809
|
+
title: import("prop-types").Requireable<string>;
|
|
810
|
+
description: import("prop-types").Requireable<string>;
|
|
811
|
+
cancelLabel: import("prop-types").Requireable<string>;
|
|
812
|
+
confirmLabel: import("prop-types").Requireable<string>;
|
|
813
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
814
|
+
error: import("prop-types").Requireable<string>;
|
|
804
815
|
isOpen: import("prop-types").Requireable<boolean>;
|
|
805
816
|
onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
806
817
|
onConfirm: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
|
|
@@ -13,17 +13,32 @@ var _types = _interopRequireDefault(require("./types"));
|
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
16
17
|
const ContentSkillModal = props => {
|
|
17
18
|
const {
|
|
18
19
|
contentList,
|
|
19
20
|
filters,
|
|
20
21
|
modal
|
|
21
22
|
} = props;
|
|
23
|
+
const {
|
|
24
|
+
selectAll,
|
|
25
|
+
...listProps
|
|
26
|
+
} = contentList;
|
|
27
|
+
const buttonLink = selectAll ? {
|
|
28
|
+
...selectAll,
|
|
29
|
+
type: 'secondary'
|
|
30
|
+
} : listProps.buttonLink;
|
|
22
31
|
const {
|
|
23
32
|
isOpen,
|
|
24
33
|
onCancel,
|
|
25
34
|
onConfirm,
|
|
26
|
-
onClose
|
|
35
|
+
onClose,
|
|
36
|
+
title = 'Add content',
|
|
37
|
+
description = 'Add courses, video, interactive and more to this skill',
|
|
38
|
+
cancelLabel = 'Cancel',
|
|
39
|
+
confirmLabel = 'Add',
|
|
40
|
+
error,
|
|
41
|
+
disabled = false
|
|
27
42
|
} = modal;
|
|
28
43
|
const handleCancel = (0, _react.useCallback)(() => {
|
|
29
44
|
onCancel();
|
|
@@ -37,21 +52,23 @@ const ContentSkillModal = props => {
|
|
|
37
52
|
backgroundColor: _colors.COLORS.primary_100
|
|
38
53
|
};
|
|
39
54
|
const footer = (0, _react.useMemo)(() => ({
|
|
55
|
+
text: error,
|
|
56
|
+
isError: Boolean(error),
|
|
40
57
|
cancelButton: {
|
|
41
58
|
onCancel: handleCancel,
|
|
42
|
-
label:
|
|
59
|
+
label: cancelLabel
|
|
43
60
|
},
|
|
44
61
|
confirmButton: {
|
|
45
62
|
onConfirm,
|
|
46
|
-
label:
|
|
63
|
+
label: confirmLabel,
|
|
47
64
|
iconName: 'plus',
|
|
48
|
-
disabled
|
|
65
|
+
disabled,
|
|
49
66
|
color: _colors.COLORS.cm_primary_blue
|
|
50
67
|
}
|
|
51
|
-
}), [handleCancel, onConfirm]);
|
|
68
|
+
}), [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]);
|
|
52
69
|
const baseModalProps = {
|
|
53
|
-
title
|
|
54
|
-
description
|
|
70
|
+
title,
|
|
71
|
+
description,
|
|
55
72
|
headerIcon,
|
|
56
73
|
footer,
|
|
57
74
|
isOpen,
|
|
@@ -67,7 +84,9 @@ const ContentSkillModal = props => {
|
|
|
67
84
|
className: _style.default.container
|
|
68
85
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
69
86
|
className: _style.default.containerList
|
|
70
|
-
}, /*#__PURE__*/_react.default.createElement(_listItems.default,
|
|
87
|
+
}, /*#__PURE__*/_react.default.createElement(_listItems.default, _extends({}, listProps, {
|
|
88
|
+
buttonLink: buttonLink
|
|
89
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
71
90
|
className: _style.default.filtersContainer
|
|
72
91
|
}, /*#__PURE__*/_react.default.createElement(_multiFilterPanel.default, filters))));
|
|
73
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_baseModal","_interopRequireDefault","_listItems","_multiFilterPanel","_provider","_colors","_style","_types","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ContentSkillModal","props","contentList","filters","modal","isOpen","onCancel","onConfirm","onClose","handleCancel","useCallback","handleClose","headerIcon","name","color","COLORS","primary_600","backgroundColor","primary_100","footer","useMemo","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_baseModal","_interopRequireDefault","_listItems","_multiFilterPanel","_provider","_colors","_style","_types","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","ContentSkillModal","props","contentList","filters","modal","selectAll","listProps","buttonLink","type","isOpen","onCancel","onConfirm","onClose","title","description","cancelLabel","confirmLabel","error","disabled","handleCancel","useCallback","handleClose","headerIcon","name","color","COLORS","primary_600","backgroundColor","primary_100","footer","useMemo","text","isError","Boolean","cancelButton","label","confirmButton","iconName","cm_primary_blue","baseModalProps","customStyle","height","width","createElement","className","style","container","containerList","filtersContainer","contextTypes","translate","Provider","childContextTypes","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/organism/content-skill-modal/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport BaseModal from '../../molecule/base-modal';\nimport ListItems from '../list-items';\nimport MultiFilterPanel from '../../molecule/multi-filter-panel';\nimport Provider from '../../atom/provider';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {ContentSkillModalProps} from './types';\n\nconst ContentSkillModal = (props: ContentSkillModalProps) => {\n const {contentList, filters, modal} = props;\n const {selectAll, ...listProps} = contentList;\n const buttonLink = selectAll ? {...selectAll, type: 'secondary'} : listProps.buttonLink;\n const {\n isOpen,\n onCancel,\n onConfirm,\n onClose,\n title = 'Add content',\n description = 'Add courses, video, interactive and more to this skill',\n cancelLabel = 'Cancel',\n confirmLabel = 'Add',\n error,\n disabled = false\n } = modal;\n\n const handleCancel = useCallback(() => {\n onCancel();\n }, [onCancel]);\n const handleClose = useCallback(() => {\n onClose();\n }, [onClose]);\n\n const headerIcon = {\n name: 'circle-plus',\n color: COLORS.primary_600,\n backgroundColor: COLORS.primary_100\n };\n const footer = useMemo(\n () => ({\n text: error,\n isError: Boolean(error),\n cancelButton: {\n onCancel: handleCancel,\n label: cancelLabel\n },\n confirmButton: {\n onConfirm,\n label: confirmLabel,\n iconName: 'plus',\n disabled,\n color: COLORS.cm_primary_blue\n }\n }),\n [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]\n );\n\n const baseModalProps = {\n title,\n description,\n headerIcon,\n footer,\n isOpen,\n onClose: handleClose,\n // fullscreen modal\n customStyle: {\n height: '80vh',\n width: '80vw'\n }\n };\n\n if (!isOpen) return null;\n\n return (\n <BaseModal {...baseModalProps}>\n <div className={style.container}>\n <div className={style.containerList}>\n <ListItems {...listProps} buttonLink={buttonLink} />\n </div>\n <div className={style.filtersContainer}>\n <MultiFilterPanel {...filters} />\n </div>\n </div>\n </BaseModal>\n );\n};\n\nContentSkillModal.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nContentSkillModal.propTypes = propTypes;\n\nexport default ContentSkillModal;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,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CAAC3E,UAAA,CAAAQ,OAAS,EAAAkB,QAAA,KAAKY,SAAS;IAAEC,UAAU,EAAEA;EAAW,EAAE,CAChD,CAAC,eACN5C,MAAA,CAAAa,OAAA,CAAAmE,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACG;EAAiB,gBACrCrF,MAAA,CAAAa,OAAA,CAAAmE,aAAA,CAAC1E,iBAAA,CAAAO,OAAgB,EAAK2B,OAAU,CAC7B,CACF,CACI,CAAC;AAEhB,CAAC;AAEDH,iBAAiB,CAACiD,YAAY,GAAG;EAC/BC,SAAS,EAAEC,iBAAQ,CAACC,iBAAiB,CAACF;AACxC,CAAC;AAEDlD,iBAAiB,CAACqD,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAlF,OAAA,GAEzBwB,iBAAiB","ignoreList":[]}
|
|
@@ -4,6 +4,11 @@ import ListItems from '../list-items';
|
|
|
4
4
|
import { MultiFilterPanelProps } from '../../molecule/multi-filter-panel/prop-types';
|
|
5
5
|
declare const ContentSkillModalPropTypes: {
|
|
6
6
|
contentList: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
7
|
+
selectAll: PropTypes.Requireable<PropTypes.InferProps<{
|
|
8
|
+
label: PropTypes.Validator<string>;
|
|
9
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
10
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
}>>;
|
|
7
12
|
'aria-label': PropTypes.Requireable<string>;
|
|
8
13
|
buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
14
|
type: PropTypes.Requireable<string>;
|
|
@@ -798,6 +803,12 @@ declare const ContentSkillModalPropTypes: {
|
|
|
798
803
|
}> | null | undefined> | null | undefined)[]>;
|
|
799
804
|
}>>>;
|
|
800
805
|
modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
806
|
+
title: PropTypes.Requireable<string>;
|
|
807
|
+
description: PropTypes.Requireable<string>;
|
|
808
|
+
cancelLabel: PropTypes.Requireable<string>;
|
|
809
|
+
confirmLabel: PropTypes.Requireable<string>;
|
|
810
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
811
|
+
error: PropTypes.Requireable<string>;
|
|
801
812
|
isOpen: PropTypes.Requireable<boolean>;
|
|
802
813
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
803
814
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -806,13 +817,25 @@ declare const ContentSkillModalPropTypes: {
|
|
|
806
817
|
};
|
|
807
818
|
export default ContentSkillModalPropTypes;
|
|
808
819
|
declare type ModalProps = {
|
|
820
|
+
title?: string;
|
|
821
|
+
description?: string;
|
|
822
|
+
cancelLabel?: string;
|
|
823
|
+
confirmLabel?: string;
|
|
824
|
+
disabled?: boolean;
|
|
825
|
+
error?: string;
|
|
809
826
|
isOpen: boolean;
|
|
810
827
|
onCancel: () => void;
|
|
811
828
|
onConfirm: () => void;
|
|
812
829
|
onClose: () => void;
|
|
813
830
|
};
|
|
814
831
|
export declare type ContentSkillModalProps = {
|
|
815
|
-
contentList: React.ComponentProps<typeof ListItems
|
|
832
|
+
contentList: React.ComponentProps<typeof ListItems> & {
|
|
833
|
+
selectAll?: {
|
|
834
|
+
label: string;
|
|
835
|
+
disabled?: boolean;
|
|
836
|
+
onClick: () => void;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
816
839
|
filters: MultiFilterPanelProps;
|
|
817
840
|
modal: ModalProps;
|
|
818
841
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,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AAC;AAE1C,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;QACpD,SAAS,CAAC,EAAE;YACV,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,OAAO,EAAE,MAAM,IAAI,CAAC;SACrB,CAAC;KACH,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -7,13 +7,26 @@ var _listItems = _interopRequireDefault(require("../list-items"));
|
|
|
7
7
|
var _propTypes2 = _interopRequireDefault(require("../../molecule/multi-filter-panel/prop-types"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
const ModalPropTypes = {
|
|
10
|
+
title: _propTypes.default.string,
|
|
11
|
+
description: _propTypes.default.string,
|
|
12
|
+
cancelLabel: _propTypes.default.string,
|
|
13
|
+
confirmLabel: _propTypes.default.string,
|
|
14
|
+
disabled: _propTypes.default.bool,
|
|
15
|
+
error: _propTypes.default.string,
|
|
10
16
|
isOpen: _propTypes.default.bool,
|
|
11
17
|
onCancel: _propTypes.default.func,
|
|
12
18
|
onConfirm: _propTypes.default.func,
|
|
13
19
|
onClose: _propTypes.default.func
|
|
14
20
|
};
|
|
15
21
|
const ContentSkillModalPropTypes = {
|
|
16
|
-
contentList: _propTypes.default.shape(
|
|
22
|
+
contentList: _propTypes.default.shape({
|
|
23
|
+
..._listItems.default.propTypes,
|
|
24
|
+
selectAll: _propTypes.default.shape({
|
|
25
|
+
label: _propTypes.default.string.isRequired,
|
|
26
|
+
disabled: _propTypes.default.bool,
|
|
27
|
+
onClick: _propTypes.default.func.isRequired
|
|
28
|
+
})
|
|
29
|
+
}).isRequired,
|
|
17
30
|
filters: _propTypes.default.shape(_propTypes2.default).isRequired,
|
|
18
31
|
modal: _propTypes.default.shape(ModalPropTypes).isRequired
|
|
19
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_listItems","_propTypes2","e","__esModule","default","ModalPropTypes","
|
|
1
|
+
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_listItems","_propTypes2","e","__esModule","default","ModalPropTypes","title","PropTypes","string","description","cancelLabel","confirmLabel","disabled","bool","error","isOpen","onCancel","func","onConfirm","onClose","ContentSkillModalPropTypes","contentList","shape","ListItems","propTypes","selectAll","label","isRequired","onClick","filters","MultiFilterPanelPropTypes","modal","_default","exports"],"sources":["../../../src/organism/content-skill-modal/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ListItems from '../list-items';\nimport MultiFilterPanelPropTypes, {\n MultiFilterPanelProps\n} from '../../molecule/multi-filter-panel/prop-types';\n\nconst ModalPropTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n cancelLabel: PropTypes.string,\n confirmLabel: PropTypes.string,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n isOpen: PropTypes.bool,\n onCancel: PropTypes.func,\n onConfirm: PropTypes.func,\n onClose: PropTypes.func\n};\n\nconst ContentSkillModalPropTypes = {\n contentList: PropTypes.shape({\n ...ListItems.propTypes,\n selectAll: PropTypes.shape({\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onClick: PropTypes.func.isRequired\n })\n }).isRequired,\n filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,\n modal: PropTypes.shape(ModalPropTypes).isRequired\n};\n\nexport default ContentSkillModalPropTypes;\n\ntype ModalProps = {\n title?: string;\n description?: string;\n cancelLabel?: string;\n confirmLabel?: string;\n disabled?: boolean;\n error?: string;\n isOpen: boolean;\n onCancel: () => void;\n onConfirm: () => void;\n onClose: () => void;\n};\n\nexport type ContentSkillModalProps = {\n contentList: React.ComponentProps<typeof ListItems> & {\n selectAll?: {\n label: string;\n disabled?: boolean;\n onClick: () => void;\n };\n };\n filters: MultiFilterPanelProps;\n modal: ModalProps;\n};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEsD,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtD,MAAMG,cAAc,GAAG;EACrBC,KAAK,EAAEC,kBAAS,CAACC,MAAM;EACvBC,WAAW,EAAEF,kBAAS,CAACC,MAAM;EAC7BE,WAAW,EAAEH,kBAAS,CAACC,MAAM;EAC7BG,YAAY,EAAEJ,kBAAS,CAACC,MAAM;EAC9BI,QAAQ,EAAEL,kBAAS,CAACM,IAAI;EACxBC,KAAK,EAAEP,kBAAS,CAACC,MAAM;EACvBO,MAAM,EAAER,kBAAS,CAACM,IAAI;EACtBG,QAAQ,EAAET,kBAAS,CAACU,IAAI;EACxBC,SAAS,EAAEX,kBAAS,CAACU,IAAI;EACzBE,OAAO,EAAEZ,kBAAS,CAACU;AACrB,CAAC;AAED,MAAMG,0BAA0B,GAAG;EACjCC,WAAW,EAAEd,kBAAS,CAACe,KAAK,CAAC;IAC3B,GAAGC,kBAAS,CAACC,SAAS;IACtBC,SAAS,EAAElB,kBAAS,CAACe,KAAK,CAAC;MACzBI,KAAK,EAAEnB,kBAAS,CAACC,MAAM,CAACmB,UAAU;MAClCf,QAAQ,EAAEL,kBAAS,CAACM,IAAI;MACxBe,OAAO,EAAErB,kBAAS,CAACU,IAAI,CAACU;IAC1B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACbE,OAAO,EAAEtB,kBAAS,CAACe,KAAK,CAACQ,mBAAyB,CAAC,CAACH,UAAU;EAC9DI,KAAK,EAAExB,kBAAS,CAACe,KAAK,CAACjB,cAAc,CAAC,CAACsB;AACzC,CAAC;AAAC,IAAAK,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GAEagB,0BAA0B","ignoreList":[]}
|
|
@@ -3181,6 +3181,11 @@ declare namespace BrandUpdate {
|
|
|
3181
3181
|
}> | PropTypes.InferProps<{
|
|
3182
3182
|
type: PropTypes.Requireable<string>;
|
|
3183
3183
|
contentList: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
3184
|
+
selectAll: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3185
|
+
label: PropTypes.Validator<string>;
|
|
3186
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
3187
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
3188
|
+
}>>;
|
|
3184
3189
|
'aria-label': PropTypes.Requireable<string>;
|
|
3185
3190
|
buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3186
3191
|
type: PropTypes.Requireable<string>;
|
|
@@ -3975,6 +3980,12 @@ declare namespace BrandUpdate {
|
|
|
3975
3980
|
}> | null | undefined> | null | undefined)[]>;
|
|
3976
3981
|
}>>>;
|
|
3977
3982
|
modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
3983
|
+
title: PropTypes.Requireable<string>;
|
|
3984
|
+
description: PropTypes.Requireable<string>;
|
|
3985
|
+
cancelLabel: PropTypes.Requireable<string>;
|
|
3986
|
+
confirmLabel: PropTypes.Requireable<string>;
|
|
3987
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
3988
|
+
error: PropTypes.Requireable<string>;
|
|
3978
3989
|
isOpen: PropTypes.Requireable<boolean>;
|
|
3979
3990
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3980
3991
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.42.
|
|
3
|
+
"version": "11.42.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -169,5 +169,5 @@
|
|
|
169
169
|
"last 2 versions",
|
|
170
170
|
"IE 11"
|
|
171
171
|
],
|
|
172
|
-
"gitHead": "
|
|
172
|
+
"gitHead": "4f6503cb4ed7865ce24e744226ff5728c5164786"
|
|
173
173
|
}
|