@fctc/widget-logic 4.3.5 → 4.3.6

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
@@ -6069,7 +6069,7 @@ var dateFieldController = (props) => {
6069
6069
  const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
6070
6070
  const maxNowValue = fieldForCustom && (max === DURATIONS.NOW ? true : typeof max === "string" && Object.keys(formValues)?.includes(max) && formValues?.[max] ? (0, import_moment.default)(formValues?.[max], formatDateParse).add(7, "hours") : null);
6071
6071
  const years = range(
6072
- minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1990,
6072
+ minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1960,
6073
6073
  (/* @__PURE__ */ new Date()).getFullYear() + 4,
6074
6074
  1
6075
6075
  );
package/dist/index.mjs CHANGED
@@ -6164,7 +6164,7 @@ var dateFieldController = (props) => {
6164
6164
  const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
6165
6165
  const maxNowValue = fieldForCustom && (max === DURATIONS.NOW ? true : typeof max === "string" && Object.keys(formValues)?.includes(max) && formValues?.[max] ? (0, import_moment.default)(formValues?.[max], formatDateParse).add(7, "hours") : null);
6166
6166
  const years = range(
6167
- minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1990,
6167
+ minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1960,
6168
6168
  (/* @__PURE__ */ new Date()).getFullYear() + 4,
6169
6169
  1
6170
6170
  );
package/dist/widget.js CHANGED
@@ -5295,7 +5295,7 @@ var dateFieldController = (props) => {
5295
5295
  const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
5296
5296
  const maxNowValue = fieldForCustom && (max === DURATIONS.NOW ? true : typeof max === "string" && Object.keys(formValues)?.includes(max) && formValues?.[max] ? (0, import_moment.default)(formValues?.[max], formatDateParse).add(7, "hours") : null);
5297
5297
  const years = range(
5298
- minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1990,
5298
+ minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1960,
5299
5299
  (/* @__PURE__ */ new Date()).getFullYear() + 4,
5300
5300
  1
5301
5301
  );
package/dist/widget.mjs CHANGED
@@ -5367,7 +5367,7 @@ var dateFieldController = (props) => {
5367
5367
  const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
5368
5368
  const maxNowValue = fieldForCustom && (max === DURATIONS.NOW ? true : typeof max === "string" && Object.keys(formValues)?.includes(max) && formValues?.[max] ? (0, import_moment.default)(formValues?.[max], formatDateParse).add(7, "hours") : null);
5369
5369
  const years = range(
5370
- minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1990,
5370
+ minNowValue ? (/* @__PURE__ */ new Date()).getFullYear() : 1960,
5371
5371
  (/* @__PURE__ */ new Date()).getFullYear() + 4,
5372
5372
  1
5373
5373
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "4.3.5",
3
+ "version": "4.3.6",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",