sccoreui 6.4.53 → 6.4.55

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
@@ -1975,7 +1975,7 @@ div:has(ul.date_filter) .p-datepicker-footer {
1975
1975
 
1976
1976
  .p-multiselect-panel {
1977
1977
  .p-multiselect-items {
1978
- padding: 6px;
1978
+ padding: 4px;
1979
1979
  min-width: 140px !important;
1980
1980
  }
1981
1981
  }
@@ -1909,7 +1909,9 @@ a {
1909
1909
  background: transparent;
1910
1910
  transition: box-shadow 0.2s;
1911
1911
  border-radius: 4px !important;
1912
- margin-bottom: 2px;
1912
+ &:not(:last-child) {
1913
+ margin-bottom: 2px;
1914
+ }
1913
1915
  }
1914
1916
  .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight {
1915
1917
  background: var(--gray-50);
@@ -49,6 +49,12 @@ const Conditions = (props) => {
49
49
  };
50
50
  const renderDynamicField = (selectedColumn) => {
51
51
  var _a, _b, _c, _d, _e, _f;
52
+ if (condition === Types_1.FilteredConditionTypes.IS_KNOWN ||
53
+ condition === Types_1.FilteredConditionTypes.IS_UNKNOWN) {
54
+ return ((0, jsx_runtime_1.jsx)(dropdown_1.Dropdown, { className: "border-noround-left col-4 focus:shadow-none lh-44 h-44 flex align-items-center dropdown-focus-none pl-3", options: [], value: value, optionLabel: "name", placeholder: (filterModelText === null || filterModelText === void 0 ? void 0 : filterModelText.elementThreePlaceHolder_DropDown)
55
+ ? filterModelText.elementThreePlaceHolder_DropDown
56
+ : "Select", disabled: true }));
57
+ }
52
58
  switch (selectedColumn.dataType) {
53
59
  case Types_1.FilterDataType.STRING: {
54
60
  if (condition === Types_1.FilteredConditionTypes.IS_NOT_EQUAL_TO ||
@@ -10,6 +10,7 @@ const context_provider_1 = require("../../context-provider");
10
10
  const inputtext_1 = require("primereact/inputtext");
11
11
  const overlaypanel_1 = require("primereact/overlaypanel");
12
12
  const svg_component_1 = tslib_1.__importDefault(require("../../../../directives/svg-component"));
13
+ const Types_1 = require("../../Types");
13
14
  const constants_1 = tslib_1.__importDefault(require("../../constants"));
14
15
  const helper_1 = require("../../helper");
15
16
  const utilComponents_1 = require("../../utilComponents");
@@ -160,7 +161,7 @@ const TableFilter = () => {
160
161
  }
161
162
  }, [isOverlayOpened]);
162
163
  (0, react_1.useEffect)(() => {
163
- const isAllFieldsFilled = conditionsArray.every((condition) => {
164
+ const isAllFieldsFilled = conditionsArray.filter((y) => !(y.condition === Types_1.FilteredConditionTypes.IS_KNOWN || y.condition === Types_1.FilteredConditionTypes.IS_UNKNOWN)).every((condition) => {
164
165
  if (condition.columnName && condition.condition) {
165
166
  return Array.isArray(condition.value)
166
167
  ? condition.value.length > 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.4.53",
3
+ "version": "6.4.55",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",