@forwardslashns/taskit-validation-messages 1.10.24 → 1.10.26

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.
@@ -188,6 +188,12 @@ export declare const TEMPLATE_INFORMATION: {
188
188
  params: string[];
189
189
  affectedFields: string[];
190
190
  };
191
+ FILES_UNDER_PARENT_STATE_MISMATCH: {
192
+ severity: "error";
193
+ message: string;
194
+ params: string[];
195
+ affectedFields: string[];
196
+ };
191
197
  TAX_PAYMENT_FILING_REQUIRED: {
192
198
  severity: "error";
193
199
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwQ/B,CAAC"}
1
+ {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Q/B,CAAC"}
@@ -192,6 +192,12 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
192
192
  params: ['parentName'],
193
193
  affectedFields: ['filesUnder'],
194
194
  },
195
+ FILES_UNDER_PARENT_STATE_MISMATCH: {
196
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
197
+ message: "{ParentFilingTemplateName} is set to {ParentFilingState} state, which conflicts with this filing template's state. Please select a different parent template or update the state before saving.",
198
+ params: ['ParentFilingTemplateName', 'ParentFilingState'],
199
+ affectedFields: ['filesUnder'],
200
+ },
195
201
  TAX_PAYMENT_FILING_REQUIRED: {
196
202
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
197
203
  message: 'Tax payment filing is required',
@@ -194,5 +194,11 @@ export declare const TEMPLATE_RECURRENCE_SETTINGS: {
194
194
  params: string[];
195
195
  affectedFields: string[];
196
196
  };
197
+ FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
198
+ severity: "error";
199
+ message: string;
200
+ params: string[];
201
+ affectedFields: string[];
202
+ };
197
203
  };
198
204
  //# sourceMappingURL=template-recurrence-settings.validation-messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE;;;;;;;;;;;;;CAahC,CAAC"}
1
+ {"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
@@ -198,4 +198,10 @@ exports.TEMPLATE_RECURRENCE_SETTINGS = (0, validation_message_types_1.defineVali
198
198
  params: ['templateType'],
199
199
  affectedFields: ['recurrenceSettings'],
200
200
  },
201
+ FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
202
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
203
+ message: 'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
204
+ params: ['parentName'],
205
+ affectedFields: ['recurrenceSettings'],
206
+ },
201
207
  });
@@ -1490,6 +1490,12 @@ export declare const VALIDATION_MESSAGES: {
1490
1490
  params: string[];
1491
1491
  affectedFields: string[];
1492
1492
  };
1493
+ FILES_UNDER_PARENT_STATE_MISMATCH: {
1494
+ severity: "error";
1495
+ message: string;
1496
+ params: string[];
1497
+ affectedFields: string[];
1498
+ };
1493
1499
  TAX_PAYMENT_FILING_REQUIRED: {
1494
1500
  severity: "error";
1495
1501
  message: string;
@@ -1910,6 +1916,12 @@ export declare const VALIDATION_MESSAGES: {
1910
1916
  params: string[];
1911
1917
  affectedFields: string[];
1912
1918
  };
1919
+ FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
1920
+ severity: "error";
1921
+ message: string;
1922
+ params: string[];
1923
+ affectedFields: string[];
1924
+ };
1913
1925
  };
1914
1926
  };
1915
1927
  //# sourceMappingURL=validation-messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.24",
3
+ "version": "1.10.26",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -199,6 +199,13 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
199
199
  params: ['parentName'],
200
200
  affectedFields: ['filesUnder'],
201
201
  },
202
+ FILES_UNDER_PARENT_STATE_MISMATCH: {
203
+ severity: VALIDATION_SEVERITY.ERROR,
204
+ message:
205
+ "{ParentFilingTemplateName} is set to {ParentFilingState} state, which conflicts with this filing template's state. Please select a different parent template or update the state before saving.",
206
+ params: ['ParentFilingTemplateName', 'ParentFilingState'],
207
+ affectedFields: ['filesUnder'],
208
+ },
202
209
  TAX_PAYMENT_FILING_REQUIRED: {
203
210
  severity: VALIDATION_SEVERITY.ERROR,
204
211
  message: 'Tax payment filing is required',
@@ -204,4 +204,11 @@ export const TEMPLATE_RECURRENCE_SETTINGS = defineValidationFeatureMessages({
204
204
  params: ['templateType'],
205
205
  affectedFields: ['recurrenceSettings'],
206
206
  },
207
+ FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
208
+ severity: VALIDATION_SEVERITY.ERROR,
209
+ message:
210
+ 'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
211
+ params: ['parentName'],
212
+ affectedFields: ['recurrenceSettings'],
213
+ },
207
214
  });