@charlesgomes/leafcode-shared-lib-react 1.0.22 → 1.0.24

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/index.js CHANGED
@@ -1060,7 +1060,7 @@ var SelectFilterTemplate = (options, isLanguagePtBr = true, items = []) => {
1060
1060
  { label: isLanguagePtBr ? "Sim" : "Yes", value: true },
1061
1061
  { label: isLanguagePtBr ? "N\xE3o" : "No", value: false }
1062
1062
  ];
1063
- const currentValue = selectOptions.find((opt) => opt.value === options.value) || selectOptions[0];
1063
+ const currentValue = selectOptions.find((opt) => opt.value === options.value) || null;
1064
1064
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1065
1065
  import_react_select.default,
1066
1066
  {
@@ -1176,7 +1176,7 @@ var getDefaultFilterMatchOptionsEnum = (isLanguagePtBr) => [
1176
1176
  value: import_api3.FilterMatchMode.EQUALS
1177
1177
  },
1178
1178
  {
1179
- label: isLanguagePtBr ? "N\xE3o cont\xE9m" : "Does not contain",
1179
+ label: isLanguagePtBr ? "Diferente" : "Not equals",
1180
1180
  value: import_api3.FilterMatchMode.NOT_EQUALS
1181
1181
  },
1182
1182
  {
package/dist/index.mjs CHANGED
@@ -1013,7 +1013,7 @@ var SelectFilterTemplate = (options, isLanguagePtBr = true, items = []) => {
1013
1013
  { label: isLanguagePtBr ? "Sim" : "Yes", value: true },
1014
1014
  { label: isLanguagePtBr ? "N\xE3o" : "No", value: false }
1015
1015
  ];
1016
- const currentValue = selectOptions.find((opt) => opt.value === options.value) || selectOptions[0];
1016
+ const currentValue = selectOptions.find((opt) => opt.value === options.value) || null;
1017
1017
  return /* @__PURE__ */ jsx11(
1018
1018
  Select,
1019
1019
  {
@@ -1129,7 +1129,7 @@ var getDefaultFilterMatchOptionsEnum = (isLanguagePtBr) => [
1129
1129
  value: FilterMatchMode3.EQUALS
1130
1130
  },
1131
1131
  {
1132
- label: isLanguagePtBr ? "N\xE3o cont\xE9m" : "Does not contain",
1132
+ label: isLanguagePtBr ? "Diferente" : "Not equals",
1133
1133
  value: FilterMatchMode3.NOT_EQUALS
1134
1134
  },
1135
1135
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charlesgomes/leafcode-shared-lib-react",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Lib de componentes react",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",