@everymatrix/stage-dm-input-text 1.0.26 → 1.0.28
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/component-lib.js +3 -3
- package/main.js +3 -3
- package/main.js.map +1 -1
- package/package-stage.json +1 -1
- package/package.json +1 -1
package/component-lib.js
CHANGED
|
@@ -43170,9 +43170,9 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
|
|
|
43170
43170
|
const prefixedKey = field_id === "merchant_name" ? "p_domains" : `p_${field_id}`;
|
|
43171
43171
|
if (field.field_data_type === "TIMESTAMP" && value) {
|
|
43172
43172
|
const { start, end, alias } = value;
|
|
43173
|
-
if (start && end || alias) {
|
|
43174
|
-
let startDate = start;
|
|
43175
|
-
let endDate = end;
|
|
43173
|
+
if (start && end || alias && alias !== "custom") {
|
|
43174
|
+
let startDate = structuredClone(start);
|
|
43175
|
+
let endDate = structuredClone(end);
|
|
43176
43176
|
if (alias && alias !== "custom") {
|
|
43177
43177
|
startDate = dateTransform(alias, "start");
|
|
43178
43178
|
endDate = dateTransform(alias, "end");
|
package/main.js
CHANGED
|
@@ -40786,9 +40786,9 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
|
|
|
40786
40786
|
const prefixedKey = field_id === "merchant_name" ? "p_domains" : `p_${field_id}`;
|
|
40787
40787
|
if (field.field_data_type === "TIMESTAMP" && value) {
|
|
40788
40788
|
const { start, end, alias } = value;
|
|
40789
|
-
if (start && end || alias) {
|
|
40790
|
-
let startDate = start;
|
|
40791
|
-
let endDate = end;
|
|
40789
|
+
if (start && end || alias && alias !== "custom") {
|
|
40790
|
+
let startDate = structuredClone(start);
|
|
40791
|
+
let endDate = structuredClone(end);
|
|
40792
40792
|
if (alias && alias !== "custom") {
|
|
40793
40793
|
startDate = dateTransform(alias, "start");
|
|
40794
40794
|
endDate = dateTransform(alias, "end");
|