sccoreui 6.1.20 → 6.1.22
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.
|
@@ -80,7 +80,7 @@ const Condtions = (props) => {
|
|
|
80
80
|
setEnbleApply(false); // Set enableApply to false when the input is invalid
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
if (condition ===
|
|
83
|
+
if (condition === 9 || condition === 20) {
|
|
84
84
|
return ((0, jsx_runtime_1.jsx)(inputtext_1.InputText, { disabled: !condition, className: "border-noround-left lh-44 h-44 w-14rem dropdown-focus-none focus:shadow-none", value: value.includes(",") ? value.replace(",", "-") : value, placeholder: (filterModelText === null || filterModelText === void 0 ? void 0 : filterModelText.elementThreePlaceHolder_Input) ? filterModelText.elementThreePlaceHolder_Input : "Enter", onChange: (event) => handleOnchangeEvent(event.target.value) })
|
|
85
85
|
// <div className="flex">
|
|
86
86
|
// <InputNumber
|
|
@@ -125,7 +125,7 @@ const Condtions = (props) => {
|
|
|
125
125
|
let valueString = value.length === 2 ? value.map(convertDateToISO).join(",") : value;
|
|
126
126
|
handleDynamicFieldState(valueString);
|
|
127
127
|
};
|
|
128
|
-
if (condition ===
|
|
128
|
+
if (condition === 9 || condition === 20) {
|
|
129
129
|
return ((0, jsx_runtime_1.jsx)(calendar_1.Calendar, { readOnlyInput: true, showTime: true, disabled: !condition, selectionMode: "range", placeholder: (filterModelText === null || filterModelText === void 0 ? void 0 : filterModelText.elementThreePlaceHolder_Calender) ? filterModelText.elementThreePlaceHolder_Calender : "Select", className: "condtion-dropdown border-noround-left filter-calendar", value: (value === null || value === void 0 ? void 0 : value.includes(",")) ? (_a = value === null || value === void 0 ? void 0 : value.split(",")) === null || _a === void 0 ? void 0 : _a.map((date) => date ? new Date(date) : null) : null, onChange: (event) => handleOnchangeEvent(event.value) }));
|
|
130
130
|
}
|
|
131
131
|
return ((0, jsx_runtime_1.jsx)(calendar_1.Calendar, { readOnlyInput: true, showTime: false, disabled: !condition, selectionMode: "single", placeholder: (filterModelText === null || filterModelText === void 0 ? void 0 : filterModelText.elementThreePlaceHolder_Calender) ? filterModelText.elementThreePlaceHolder_Calender : "Select", className: "condtion-dropdown border-noround-left filter-calendar", value: value, onChange: (event) => handleDynamicFieldState(event.value) }));
|