sccoreui 5.4.8 → 5.5.0
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/dist/App.scss
CHANGED
|
@@ -833,7 +833,13 @@ button[aria-expanded="true"] {
|
|
|
833
833
|
.sc_multiSelect_panel {
|
|
834
834
|
.p-multiselect-items {
|
|
835
835
|
padding: 4px !important;
|
|
836
|
-
|
|
836
|
+
|
|
837
|
+
.p-multiselect-item, .p-highlight {
|
|
838
|
+
span{
|
|
839
|
+
padding-right: 28px;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
837
843
|
.p-highlight::after {
|
|
838
844
|
content: '';
|
|
839
845
|
width: 12px;
|
|
@@ -844,6 +850,8 @@ button[aria-expanded="true"] {
|
|
|
844
850
|
border-right: 0;
|
|
845
851
|
transform: rotate(-45deg);
|
|
846
852
|
margin-right: 8px;
|
|
853
|
+
position: absolute;
|
|
854
|
+
right: 4px;
|
|
847
855
|
}
|
|
848
856
|
}
|
|
849
857
|
}
|
|
@@ -331,14 +331,13 @@ const FormulaCoponent = (props) => {
|
|
|
331
331
|
case "CALCULATION": {
|
|
332
332
|
const pattern = /[a-f0-9]{24}/g;
|
|
333
333
|
const ids = props === null || props === void 0 ? void 0 : props.formulaValue.match(pattern);
|
|
334
|
-
console.log(ids);
|
|
335
334
|
let text = props === null || props === void 0 ? void 0 : props.formulaValue;
|
|
336
|
-
for (let i = 0; i < ids.length; i++) {
|
|
335
|
+
for (let i = 0; i < (ids === null || ids === void 0 ? void 0 : ids.length); i++) {
|
|
337
336
|
let id = ids[i];
|
|
338
337
|
let name = (_b = fieldOptions.find((item) => item.id === id)) === null || _b === void 0 ? void 0 : _b.name;
|
|
339
338
|
text = text.replaceAll(id, name);
|
|
340
339
|
}
|
|
341
|
-
return (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "w-8 h-auto cursor-pointer flex align-items-center px-4", onClick: (e) => { var _a; return (_a = priceConditioRef.current) === null || _a === void 0 ? void 0 : _a.toggle(e); } }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'text-gray-700 overflow-hidden text-overflow-ellipsis white-space-nowrap w-full' }, { children: (props === null || props === void 0 ? void 0 : props.formulaValue) ? text : 'Select' })) }));
|
|
340
|
+
return (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "w-8 h-auto cursor-pointer flex align-items-center px-4", onClick: (e) => { var _a; return (_a = priceConditioRef.current) === null || _a === void 0 ? void 0 : _a.toggle(e); } }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'text-gray-700 overflow-hidden text-overflow-ellipsis white-space-nowrap w-full', title: text ? text : '' }, { children: (props === null || props === void 0 ? void 0 : props.formulaValue) ? text : 'Select' })) }));
|
|
342
341
|
}
|
|
343
342
|
default: {
|
|
344
343
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|