@coorpacademy/components 11.33.6 → 11.33.7
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/LICENSE +201 -0
- package/es/atom/chip/index.d.ts +1 -0
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +23 -11
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chip/style.css +11 -27
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/tag/index.js +2 -1
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/tag/style.css +7 -0
- package/es/molecule/multi-filter-panel/index.d.ts +25 -0
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -0
- package/es/molecule/multi-filter-panel/index.js +81 -0
- package/es/molecule/multi-filter-panel/index.js.map +1 -0
- package/es/molecule/multi-filter-panel/prop-types.d.ts +31 -0
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -0
- package/es/molecule/multi-filter-panel/prop-types.js +12 -0
- package/es/molecule/multi-filter-panel/prop-types.js.map +1 -0
- package/es/molecule/multi-filter-panel/style.css +30 -0
- package/es/organism/filter-chip/index.d.ts +18 -0
- package/es/organism/filter-chip/index.d.ts.map +1 -0
- package/es/organism/filter-chip/index.js +67 -0
- package/es/organism/filter-chip/index.js.map +1 -0
- package/es/organism/filter-chip/prop-types.d.ts +25 -0
- package/es/organism/filter-chip/prop-types.d.ts.map +1 -0
- package/es/organism/filter-chip/prop-types.js +14 -0
- package/es/organism/filter-chip/prop-types.js.map +1 -0
- package/es/organism/filter-chip/style.css +32 -0
- 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/chip/index.d.ts +1 -0
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +23 -11
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chip/style.css +11 -27
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/tag/index.js +2 -1
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/tag/style.css +7 -0
- package/lib/molecule/multi-filter-panel/index.d.ts +25 -0
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -0
- package/lib/molecule/multi-filter-panel/index.js +85 -0
- package/lib/molecule/multi-filter-panel/index.js.map +1 -0
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +31 -0
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -0
- package/lib/molecule/multi-filter-panel/prop-types.js +17 -0
- package/lib/molecule/multi-filter-panel/prop-types.js.map +1 -0
- package/lib/molecule/multi-filter-panel/style.css +30 -0
- package/lib/organism/filter-chip/index.d.ts +18 -0
- package/lib/organism/filter-chip/index.d.ts.map +1 -0
- package/lib/organism/filter-chip/index.js +72 -0
- package/lib/organism/filter-chip/index.js.map +1 -0
- package/lib/organism/filter-chip/prop-types.d.ts +25 -0
- package/lib/organism/filter-chip/prop-types.d.ts.map +1 -0
- package/lib/organism/filter-chip/prop-types.js +19 -0
- package/lib/organism/filter-chip/prop-types.js.map +1 -0
- package/lib/organism/filter-chip/style.css +32 -0
- 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/locales/bs/global.json +4 -4
- package/locales/cs/global.json +4 -4
- package/locales/de/global.json +3 -3
- package/locales/es/global.json +3 -3
- package/locales/et/global.json +4 -4
- package/locales/fi/global.json +7 -7
- package/locales/fr/global.json +4 -4
- package/locales/hr/global.json +4 -4
- package/locales/hu/global.json +4 -4
- package/locales/hy/global.json +4 -4
- package/locales/it/global.json +3 -3
- package/locales/ja/global.json +4 -4
- package/locales/ko/global.json +4 -4
- package/locales/nl/global.json +4 -4
- package/locales/pl/global.json +3 -3
- package/locales/pt/global.json +2 -2
- package/locales/ro/global.json +3 -3
- package/locales/ru/global.json +4 -4
- package/locales/sk/global.json +4 -4
- package/locales/sl/global.json +6 -6
- package/locales/sv/global.json +7 -7
- package/locales/tl/global.json +4 -4
- package/locales/tr/global.json +4 -4
- package/locales/uk/global.json +4 -4
- package/locales/vi/global.json +4 -4
- package/locales/zh/global.json +4 -4
- package/locales/zh_TW/global.json +4 -4
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_filterChip","_title","_tag","_buttonLink","_propTypes","_style","e","__esModule","default","uncappedMap","_map2","convert","cap","FilterSeparator","createElement","className","style","filterSeparator","buildFilters","filterOptions","type","options","MultiFilterPanel","props","title","onClearAll","allSelectedFilters","_pipe2","_flatMap2","_filter2","selected","_size2","hasSelectedFilters","filters","i","isLastItem","key","Fragment","header","titleContainer","titleSize","label","_toString2","size","buttonContainer","customStyle","fontWeight","onClick","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map, size, pipe, filter, flatMap, toString} from 'lodash/fp';\nimport FilterChip from '../../organism/filter-chip';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport propTypes, {MultiFilterPanelProps, MultiFilterPanelOptionsProps} from './prop-types';\nimport style from './style.css';\n\n// @ts-expect-error convert is not recognized by the types\nconst uncappedMap = map.convert({cap: false});\n\nconst FilterSeparator = <div className={style.filterSeparator} />;\n\nconst buildFilters = (filterOptions: MultiFilterPanelOptionsProps) => {\n const {type, ...options} = filterOptions;\n switch (type) {\n case 'chip':\n return <FilterChip {...options.options} />;\n // case 'checkbox':\n // // return <FilterCheckbox />;\n // return null;\n\n default:\n return null;\n }\n};\n\nconst MultiFilterPanel = (props: MultiFilterPanelProps) => {\n const {title, onClearAll, options} = props;\n const allSelectedFilters = pipe(\n map('options'),\n flatMap('options'),\n filter({selected: true}),\n size\n )(options);\n const hasSelectedFilters = allSelectedFilters > 0;\n\n const filters = uncappedMap((filterOptions: MultiFilterPanelOptionsProps, i: number) => {\n const isLastItem = i + 1 === size(options);\n return (\n <div key={i}>\n {buildFilters(filterOptions)}\n {isLastItem ? null : FilterSeparator}\n </div>\n );\n }, options);\n\n return (\n <>\n <div className={style.header}>\n <div className={style.titleContainer}>\n <Title title={title} type=\"form-group\" titleSize=\"standard-light-weight\" />\n {hasSelectedFilters ? (\n <Tag label={toString(allSelectedFilters)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.buttonContainer}>\n <ButtonLink\n customStyle={{fontWeight: 'normal'}}\n label=\"Clear all\"\n type=\"text\"\n data-name=\"filters-all-clear-button\"\n aria-label=\"filters all clear button\"\n onClick={onClearAll}\n />\n </div>\n ) : null}\n </div>\n\n {filters}\n </>\n );\n};\n\nMultiFilterPanel.propTypes = propTypes;\n\nexport default MultiFilterPanel;\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { FilterChipProps } from '../../organism/filter-chip/prop-types';
|
|
3
|
+
declare const propTypes: {
|
|
4
|
+
title: PropTypes.Requireable<string>;
|
|
5
|
+
onClearAll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
7
|
+
type: PropTypes.Requireable<string>;
|
|
8
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
|
+
title: PropTypes.Requireable<string>;
|
|
10
|
+
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
12
|
+
label: PropTypes.Requireable<string>;
|
|
13
|
+
type: PropTypes.Requireable<string>;
|
|
14
|
+
selected: PropTypes.Requireable<boolean>;
|
|
15
|
+
icon: PropTypes.Requireable<string>;
|
|
16
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
}> | null | undefined)[]>;
|
|
18
|
+
}>>;
|
|
19
|
+
}> | null | undefined)[]>;
|
|
20
|
+
};
|
|
21
|
+
export declare type MultiFilterPanelOptionsProps = {
|
|
22
|
+
type: 'chip';
|
|
23
|
+
options: FilterChipProps;
|
|
24
|
+
};
|
|
25
|
+
export declare type MultiFilterPanelProps = {
|
|
26
|
+
title: string;
|
|
27
|
+
onClearAll: () => void;
|
|
28
|
+
options: MultiFilterPanelOptionsProps[];
|
|
29
|
+
};
|
|
30
|
+
export default propTypes;
|
|
31
|
+
//# sourceMappingURL=prop-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAE3F,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;CASd,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,4BAA4B,EAAE,CAAC;CACzC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
6
|
+
var _propTypes2 = _interopRequireDefault(require("../../organism/filter-chip/prop-types"));
|
|
7
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
const propTypes = {
|
|
9
|
+
title: _propTypes.default.string,
|
|
10
|
+
onClearAll: _propTypes.default.func,
|
|
11
|
+
options: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
12
|
+
type: _propTypes.default.oneOf(['chip']),
|
|
13
|
+
options: _propTypes.default.shape(_propTypes2.default)
|
|
14
|
+
}))
|
|
15
|
+
};
|
|
16
|
+
var _default = exports.default = propTypes;
|
|
17
|
+
//# sourceMappingURL=prop-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["_propTypes","_interopRequireDefault","require","_propTypes2","e","__esModule","default","propTypes","title","PropTypes","string","onClearAll","func","options","arrayOf","shape","type","oneOf","filterChipProptypes","_default","exports"],"sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport filterChipProptypes, {FilterChipProps} from '../../organism/filter-chip/prop-types';\n\nconst propTypes = {\n title: PropTypes.string,\n onClearAll: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.oneOf(['chip']),\n options: PropTypes.shape(filterChipProptypes)\n })\n )\n};\n\nexport type MultiFilterPanelOptionsProps = {\n type: 'chip';\n options: FilterChipProps;\n};\n\nexport type MultiFilterPanelProps = {\n title: string;\n onClearAll: () => void;\n options: MultiFilterPanelOptionsProps[];\n};\n\nexport default propTypes;\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA2F,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE3F,MAAMG,SAAS,GAAG;EAChBC,KAAK,EAAEC,kBAAS,CAACC,MAAM;EACvBC,UAAU,EAAEF,kBAAS,CAACG,IAAI;EAC1BC,OAAO,EAAEJ,kBAAS,CAACK,OAAO,CACxBL,kBAAS,CAACM,KAAK,CAAC;IACdC,IAAI,EAAEP,kBAAS,CAACQ,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/BJ,OAAO,EAAEJ,kBAAS,CAACM,KAAK,CAACG,mBAAmB;EAC9C,CAAC,CACH;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAd,OAAA,GAaaC,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value cm_primary_blue from colors;
|
|
3
|
+
@value cm_grey_100 from colors;
|
|
4
|
+
|
|
5
|
+
.header {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
margin-bottom: 24px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.titleContainer {
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 8px;
|
|
14
|
+
align-items: center;
|
|
15
|
+
flex: 10;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.buttonContainer {
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
color: cm_primary_blue;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.filterSeparator {
|
|
25
|
+
background-color: cm_grey_100;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 1px;
|
|
28
|
+
align-self: stretch;
|
|
29
|
+
margin: 24px 0;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterChipProps } from './prop-types';
|
|
3
|
+
declare const FilterChip: {
|
|
4
|
+
(props: FilterChipProps): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
title: import("prop-types").Requireable<string>;
|
|
7
|
+
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
8
|
+
options: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
9
|
+
label: import("prop-types").Requireable<string>;
|
|
10
|
+
type: import("prop-types").Requireable<string>;
|
|
11
|
+
selected: import("prop-types").Requireable<boolean>;
|
|
12
|
+
icon: import("prop-types").Requireable<string>;
|
|
13
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
14
|
+
}> | null | undefined)[]>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default FilterChip;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-chip/index.tsx"],"names":[],"mappings":";AAMA,OAAkB,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;AAGxD,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;;CA8CzC,CAAC;AAIF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _toString2 = _interopRequireDefault(require("lodash/fp/toString"));
|
|
6
|
+
var _size2 = _interopRequireDefault(require("lodash/fp/size"));
|
|
7
|
+
var _pipe2 = _interopRequireDefault(require("lodash/fp/pipe"));
|
|
8
|
+
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
9
|
+
var _filter2 = _interopRequireDefault(require("lodash/fp/filter"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _chip = _interopRequireDefault(require("../../atom/chip"));
|
|
12
|
+
var _title = _interopRequireDefault(require("../../atom/title"));
|
|
13
|
+
var _tag = _interopRequireDefault(require("../../atom/tag"));
|
|
14
|
+
var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
15
|
+
var _propTypes = _interopRequireDefault(require("./prop-types"));
|
|
16
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
const FilterChip = props => {
|
|
19
|
+
const {
|
|
20
|
+
options,
|
|
21
|
+
title,
|
|
22
|
+
onClear
|
|
23
|
+
} = props;
|
|
24
|
+
const selectedFiltersCount = (0, _pipe2.default)((0, _filter2.default)({
|
|
25
|
+
selected: true
|
|
26
|
+
}), _size2.default)(options);
|
|
27
|
+
const hasSelectedFilters = selectedFiltersCount > 0;
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
29
|
+
className: _style.default.header
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
+
className: _style.default.titleContainer
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_title.default, {
|
|
33
|
+
title: title
|
|
34
|
+
}), hasSelectedFilters ? /*#__PURE__*/_react.default.createElement(_tag.default, {
|
|
35
|
+
label: (0, _toString2.default)(selectedFiltersCount),
|
|
36
|
+
type: "info",
|
|
37
|
+
size: "S"
|
|
38
|
+
}) : null), hasSelectedFilters ? /*#__PURE__*/_react.default.createElement("div", {
|
|
39
|
+
className: _style.default.buttonContainer
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement(_buttonLink.default, {
|
|
41
|
+
customStyle: {
|
|
42
|
+
fontWeight: 'normal'
|
|
43
|
+
},
|
|
44
|
+
label: "Clear",
|
|
45
|
+
type: "text",
|
|
46
|
+
"data-name": "filter-chip-clear-button",
|
|
47
|
+
"aria-label": "filter chip clear button",
|
|
48
|
+
onClick: onClear
|
|
49
|
+
})) : null), /*#__PURE__*/_react.default.createElement("div", {
|
|
50
|
+
className: _style.default.optionsContainer
|
|
51
|
+
}, (0, _map2.default)(({
|
|
52
|
+
icon,
|
|
53
|
+
label,
|
|
54
|
+
onClick,
|
|
55
|
+
type,
|
|
56
|
+
selected
|
|
57
|
+
}) => {
|
|
58
|
+
function handleClick() {
|
|
59
|
+
onClick(type);
|
|
60
|
+
}
|
|
61
|
+
return /*#__PURE__*/_react.default.createElement(_chip.default, {
|
|
62
|
+
leftIcon: icon,
|
|
63
|
+
text: label,
|
|
64
|
+
key: label,
|
|
65
|
+
selected: selected,
|
|
66
|
+
onClick: handleClick
|
|
67
|
+
});
|
|
68
|
+
}, options)));
|
|
69
|
+
};
|
|
70
|
+
FilterChip.propTypes = process.env.NODE_ENV !== "production" ? _propTypes.default : {};
|
|
71
|
+
var _default = exports.default = FilterChip;
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_chip","_title","_tag","_buttonLink","_propTypes","_style","e","__esModule","default","FilterChip","props","options","title","onClear","selectedFiltersCount","_pipe2","_filter2","selected","_size2","hasSelectedFilters","createElement","Fragment","className","style","header","titleContainer","label","_toString2","type","size","buttonContainer","customStyle","fontWeight","onClick","optionsContainer","_map2","icon","handleClick","leftIcon","text","key","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/organism/filter-chip/index.tsx"],"sourcesContent":["import React from 'react';\nimport {filter, map, pipe, size, toString} from 'lodash/fp';\nimport Chip from '../../atom/chip';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport propTypes, {FilterChipProps} from './prop-types';\nimport style from './style.css';\n\nconst FilterChip = (props: FilterChipProps) => {\n const {options, title, onClear} = props;\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n return (\n <>\n <div className={style.header}>\n <div className={style.titleContainer}>\n <Title title={title} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.buttonContainer}>\n <ButtonLink\n customStyle={{fontWeight: 'normal'}}\n label=\"Clear\"\n type=\"text\"\n data-name=\"filter-chip-clear-button\"\n aria-label=\"filter chip clear button\"\n onClick={onClear}\n />\n </div>\n ) : null}\n </div>\n <div className={style.optionsContainer}>\n {map(({icon, label, onClick, type, selected}) => {\n function handleClick() {\n onClick(type);\n }\n\n return (\n <Chip\n leftIcon={icon}\n text={label}\n key={label}\n selected={selected}\n onClick={handleClick}\n />\n );\n }, options)}\n </div>\n </>\n );\n};\n\nFilterChip.propTypes = propTypes;\n\nexport default FilterChip;\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
declare const propTypes: {
|
|
3
|
+
title: PropTypes.Requireable<string>;
|
|
4
|
+
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
5
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
6
|
+
label: PropTypes.Requireable<string>;
|
|
7
|
+
type: PropTypes.Requireable<string>;
|
|
8
|
+
selected: PropTypes.Requireable<boolean>;
|
|
9
|
+
icon: PropTypes.Requireable<string>;
|
|
10
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
}> | null | undefined)[]>;
|
|
12
|
+
};
|
|
13
|
+
export declare type FilterChipProps = {
|
|
14
|
+
title: string;
|
|
15
|
+
onClear: () => void;
|
|
16
|
+
options: {
|
|
17
|
+
label: string;
|
|
18
|
+
type: string;
|
|
19
|
+
selected: boolean;
|
|
20
|
+
icon: string;
|
|
21
|
+
onClick: (type: string) => void;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
export default propTypes;
|
|
25
|
+
//# sourceMappingURL=prop-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-chip/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;;;;;;;CAYd,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;KACjC,EAAE,CAAC;CACL,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
6
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
+
const propTypes = {
|
|
8
|
+
title: _propTypes.default.string,
|
|
9
|
+
onClear: _propTypes.default.func,
|
|
10
|
+
options: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
11
|
+
label: _propTypes.default.string,
|
|
12
|
+
type: _propTypes.default.string,
|
|
13
|
+
selected: _propTypes.default.bool,
|
|
14
|
+
icon: _propTypes.default.string,
|
|
15
|
+
onClick: _propTypes.default.func
|
|
16
|
+
}))
|
|
17
|
+
};
|
|
18
|
+
var _default = exports.default = propTypes;
|
|
19
|
+
//# sourceMappingURL=prop-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["_propTypes","_interopRequireDefault","require","e","__esModule","default","propTypes","title","PropTypes","string","onClear","func","options","arrayOf","shape","label","type","selected","bool","icon","onClick","_default","exports"],"sources":["../../../src/organism/filter-chip/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n title: PropTypes.string,\n onClear: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.string,\n selected: PropTypes.bool,\n icon: PropTypes.string,\n onClick: PropTypes.func\n })\n )\n};\n\nexport type FilterChipProps = {\n title: string;\n onClear: () => void;\n options: {\n label: string;\n type: string;\n selected: boolean;\n icon: string;\n onClick: (type: string) => void;\n }[];\n};\n\nexport default propTypes;\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnC,MAAMG,SAAS,GAAG;EAChBC,KAAK,EAAEC,kBAAS,CAACC,MAAM;EACvBC,OAAO,EAAEF,kBAAS,CAACG,IAAI;EACvBC,OAAO,EAAEJ,kBAAS,CAACK,OAAO,CACxBL,kBAAS,CAACM,KAAK,CAAC;IACdC,KAAK,EAAEP,kBAAS,CAACC,MAAM;IACvBO,IAAI,EAAER,kBAAS,CAACC,MAAM;IACtBQ,QAAQ,EAAET,kBAAS,CAACU,IAAI;IACxBC,IAAI,EAAEX,kBAAS,CAACC,MAAM;IACtBW,OAAO,EAAEZ,kBAAS,CAACG;EACrB,CAAC,CACH;AACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAjB,OAAA,GAcaC,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value cm_grey_500 from colors;
|
|
3
|
+
@value cm_grey_700 from colors;
|
|
4
|
+
|
|
5
|
+
.header {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
margin-bottom: 16px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.titleContainer {
|
|
12
|
+
color: cm_grey_700;
|
|
13
|
+
font-family: Gilroy;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
display: flex;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
align-items: center;
|
|
20
|
+
flex: 10;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.buttonContainer {
|
|
24
|
+
font-weight: normal;
|
|
25
|
+
color: cm_grey_500;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.optionsContainer {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
gap: 8px;
|
|
32
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare const COLORS: {
|
|
|
5
5
|
readonly positive: "#35CC7F";
|
|
6
6
|
readonly cm_positive_200: "#05944F";
|
|
7
7
|
readonly white: "#ffffff";
|
|
8
|
+
readonly cm_grey_400: "#9999A8";
|
|
8
9
|
readonly cm_grey_800: "#171721";
|
|
9
10
|
readonly cm_primary_blue: "#0061FF";
|
|
10
11
|
readonly cm_grey_500: "#515161";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/variables/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/variables/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAaT,CAAC;AAEX,oBAAY,MAAM,GAAG,OAAO,MAAM,CAAC"}
|
package/lib/variables/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","names":["COLORS","exports","gray","negative","cm_negative_200","positive","cm_positive_200","white","cm_grey_800","cm_primary_blue","cm_grey_500","cm_yellow_400","brand"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n gray: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n positive: '#35CC7F',\n cm_positive_200: '#05944F',\n white: '#ffffff',\n cm_grey_800: '#171721',\n cm_primary_blue: '#0061FF',\n cm_grey_500: '#515161',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":";;;;AAAO,MAAMA,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG;EACpBE,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAE,SAAS;EAChBC,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,WAAW,EAAE,SAAS;EACtBC,aAAa,EAAE,SAAS;EACxBC,KAAK,EAAE;AACT,CAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"colors.js","names":["COLORS","exports","gray","negative","cm_negative_200","positive","cm_positive_200","white","cm_grey_400","cm_grey_800","cm_primary_blue","cm_grey_500","cm_yellow_400","brand"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n gray: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n positive: '#35CC7F',\n cm_positive_200: '#05944F',\n white: '#ffffff',\n cm_grey_400: '#9999A8',\n cm_grey_800: '#171721',\n cm_primary_blue: '#0061FF',\n cm_grey_500: '#515161',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":";;;;AAAO,MAAMA,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG;EACpBE,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAE,SAAS;EAChBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,WAAW,EAAE,SAAS;EACtBC,aAAa,EAAE,SAAS;EACxBC,KAAK,EAAE;AACT,CAAU","ignoreList":[]}
|
package/locales/bs/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Ocijenite ovaj kurs",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Validirani put"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Nagrada"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Certificate"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/cs/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Ohodnoťte tento kurz",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Ověřená cesta"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Cena"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Certifikát"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/de/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Bewerten Sie diesen Kurs",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Validierter Weg"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -198,10 +198,10 @@
|
|
|
198
198
|
"diploma": "Award"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Zertifikat"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/es/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Califica este curso",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Vía validada"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -198,10 +198,10 @@
|
|
|
198
198
|
"diploma": "Award"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Certificado"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/et/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Hinda seda kursust",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Valideeritud rada"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Auhind"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Tunnistus"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/fi/global.json
CHANGED
|
@@ -186,25 +186,25 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Arvioi tämä kurssi",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Vahvistettu reitti"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
|
-
"diploma": "
|
|
192
|
+
"diploma": "Oppimispolku"
|
|
193
193
|
},
|
|
194
194
|
"ehc-vd": {
|
|
195
|
-
"diploma": "
|
|
195
|
+
"diploma": "todistus"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Diplomi"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Todistus"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
|
-
"diploma": "
|
|
207
|
+
"diploma": "oppimispolku"
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
}
|
package/locales/fr/global.json
CHANGED
|
@@ -186,13 +186,13 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Notez ce cours",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Parcours validé"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
|
-
"diploma": "
|
|
192
|
+
"diploma": "Attestation"
|
|
193
193
|
},
|
|
194
194
|
"ehc-vd": {
|
|
195
|
-
"diploma": "
|
|
195
|
+
"diploma": "attestation"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
198
|
"diploma": "Award"
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"diploma": "Certificat"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
|
-
"diploma": "
|
|
207
|
+
"diploma": "parcours"
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
}
|
package/locales/hr/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Ocijenite ovaj tečaj",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Validirani put"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Dodijeliti"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Potvrda"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/hu/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Értékelje ezt a tanfolyamot",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Ellenőrzött útvonal"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Díj"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Bizonyítvány"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/hy/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Գնահատեք այս դասընթացը",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Վավերացված ուղի"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
"diploma": "certificate"
|
|
196
196
|
},
|
|
197
197
|
"givaudan": {
|
|
198
|
-
"diploma": "
|
|
198
|
+
"diploma": "Մրցանակ"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Certificate"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|
package/locales/it/global.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"custom":{
|
|
187
187
|
"digitlearning": {
|
|
188
188
|
"comment_aria_label": "Vota questo corso",
|
|
189
|
-
"diploma": "
|
|
189
|
+
"diploma": "Percorso convalidato"
|
|
190
190
|
},
|
|
191
191
|
"esante-formation": {
|
|
192
192
|
"diploma": "Learning path"
|
|
@@ -198,10 +198,10 @@
|
|
|
198
198
|
"diploma": "Award"
|
|
199
199
|
},
|
|
200
200
|
"learning-lab": {
|
|
201
|
-
"diploma": "
|
|
201
|
+
"diploma": "Certificate"
|
|
202
202
|
},
|
|
203
203
|
"onboarding": {
|
|
204
|
-
"diploma": "
|
|
204
|
+
"diploma": "Certificato"
|
|
205
205
|
},
|
|
206
206
|
"mylcl-learning": {
|
|
207
207
|
"diploma": "learning path"
|