@forwardslashns/taskit-validation-messages 1.0.18 → 1.0.20
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.
|
@@ -213,6 +213,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
213
213
|
readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
214
214
|
readonly message: "At least one domestic state should exist";
|
|
215
215
|
};
|
|
216
|
+
readonly STATES_STARTING_DATE_NOT_POPULATED: {
|
|
217
|
+
readonly message: "States Starting Date cannot be Empty";
|
|
218
|
+
};
|
|
216
219
|
readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
217
220
|
readonly message: "One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.";
|
|
218
221
|
readonly params: readonly ["clientCloseDate", "domesticState", "domesticStateStartingDate"];
|
|
@@ -237,8 +240,9 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
237
240
|
readonly message: "There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.";
|
|
238
241
|
readonly params: readonly ["state", "stateStartDate", "stateEndDate"];
|
|
239
242
|
};
|
|
240
|
-
readonly
|
|
241
|
-
readonly message: "Only the last
|
|
243
|
+
readonly ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
|
|
244
|
+
readonly message: "Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.";
|
|
245
|
+
readonly params: readonly ["residence"];
|
|
242
246
|
};
|
|
243
247
|
};
|
|
244
248
|
readonly FILING_CATEGORY: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWtB,CAAC"}
|
|
@@ -224,6 +224,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
224
224
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
225
225
|
message: `At least one domestic state should exist`,
|
|
226
226
|
},
|
|
227
|
+
STATES_STARTING_DATE_NOT_POPULATED: {
|
|
228
|
+
message: `States Starting Date cannot be Empty`,
|
|
229
|
+
},
|
|
227
230
|
NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
228
231
|
message: `One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.`,
|
|
229
232
|
params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
|
|
@@ -248,8 +251,9 @@ exports.VALIDATION_MESSAGES = {
|
|
|
248
251
|
message: `There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.`,
|
|
249
252
|
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
250
253
|
},
|
|
251
|
-
|
|
252
|
-
message: `Only the last
|
|
254
|
+
ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
|
|
255
|
+
message: `Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
|
|
256
|
+
params: ['residence'],
|
|
253
257
|
},
|
|
254
258
|
},
|
|
255
259
|
FILING_CATEGORY: {
|
package/package.json
CHANGED
|
@@ -221,6 +221,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
221
221
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
222
222
|
message: `At least one domestic state should exist`,
|
|
223
223
|
},
|
|
224
|
+
STATES_STARTING_DATE_NOT_POPULATED: {
|
|
225
|
+
message: `States Starting Date cannot be Empty`,
|
|
226
|
+
},
|
|
224
227
|
NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
225
228
|
message: `One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.`,
|
|
226
229
|
params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
|
|
@@ -245,8 +248,9 @@ export const VALIDATION_MESSAGES = {
|
|
|
245
248
|
message: `There cannot be two foreign states in the same timeframe. The state of {state} has a timeframe starting {stateStartDate} and ending {stateEndDate}. Please adjust the dates on the new or existing foreign state/s to avoid an overlap.`,
|
|
246
249
|
params: ['state', 'stateStartDate', 'stateEndDate'],
|
|
247
250
|
},
|
|
248
|
-
|
|
249
|
-
message: `Only the last
|
|
251
|
+
ALL_NON_LAST_STATES_REQUIRE_ENDING_DATE: {
|
|
252
|
+
message: `Only the last {residence} state can be open without an end date. Add an ending date to the existing state before adding a start date for a new state.`,
|
|
253
|
+
params: ['residence'],
|
|
250
254
|
},
|
|
251
255
|
|
|
252
256
|
},
|