kui-crm_actions 0.0.90 → 0.0.92
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/cjs/index.js +4 -2
- package/cjs/index.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -959,7 +959,9 @@ var templateObject_1$6;
|
|
959
959
|
|
960
960
|
var FillingCardContent = function (props) {
|
961
961
|
var filling = props.filling, warningLabel = props.warningLabel;
|
962
|
-
return (jsxs(Grid, __assign({ container: true, alignItems: "center" }, { children: [filling.wasMissing && (jsx(Tooltip, __assign({ content: jsx(Caption, __assign({ size: "xs" }, { children: warningLabel })) }, { children: jsx(StyledWarningIcon, { width: 17, height: 17 }) }))), jsxs(StyledLabelWrapper, { children: [jsxs(Caption, __assign({ size: "s" }, { children: [filling.tagName, " ", filling.name ? " | ".concat(filling.name) : ""] })), jsxs(StyledSubtitle, __assign({ size: "xs", color: "fiftyP" }, { children: [filling.numberOfSubjects
|
962
|
+
return (jsxs(Grid, __assign({ container: true, alignItems: "center" }, { children: [filling.wasMissing && (jsx(Tooltip, __assign({ content: jsx(Caption, __assign({ size: "xs" }, { children: warningLabel })) }, { children: jsx(StyledWarningIcon, { width: 17, height: 17 }) }))), jsxs(StyledLabelWrapper, { children: [jsxs(Caption, __assign({ size: "s" }, { children: [filling.tagName, " ", filling.name ? " | ".concat(filling.name) : ""] })), !!(filling.numberOfSubjects || filling.serialNumber) && (jsxs(StyledSubtitle, __assign({ size: "xs", color: "fiftyP" }, { children: [filling.numberOfSubjects
|
963
|
+
? "".concat(filling.numberOfSubjects, " pieces")
|
964
|
+
: "", filling.numberOfSubjects && filling.serialNumber ? " \u2022 " : "", filling.serialNumber] })))] })] })));
|
963
965
|
};
|
964
966
|
var StyledWarningIcon = styled(WarningIcon)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin-left: 4px;\n path {\n fill: ", ";\n }\n"], ["\n margin-left: 4px;\n path {\n fill: ", ";\n }\n"])), theme.palette.red.fiftyP);
|
965
967
|
var StyledLabelWrapper = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n margin-left: 8px;\n"], ["\n margin-left: 8px;\n"])));
|
@@ -1010,7 +1012,7 @@ var FillingListStore = /** @class */ (function () {
|
|
1010
1012
|
(fillingList === null || fillingList === void 0 ? void 0 : fillingList.map(function (filling) { return ({
|
1011
1013
|
id: filling.id,
|
1012
1014
|
name: filling.description,
|
1013
|
-
tagName: filling.
|
1015
|
+
tagName: filling.feature_name,
|
1014
1016
|
serialNumber: filling.serial_code,
|
1015
1017
|
numberOfSubjects: filling.amount,
|
1016
1018
|
wasMissing: filling.is_absent,
|