@forwardslashns/taskit-validation-messages 1.10.100 → 1.10.102

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.
@@ -4,6 +4,11 @@ export declare const OPEN_ITEMS: {
4
4
  message: string;
5
5
  affectedFields: string[];
6
6
  };
7
+ PERIOD_CHANGE_NOT_ALLOWED: {
8
+ severity: "error";
9
+ message: string;
10
+ affectedFields: string[];
11
+ };
7
12
  OPEN_ITEM_NOT_FOUND: {
8
13
  severity: "error";
9
14
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"open-items.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/open-items.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoErB,CAAC"}
1
+ {"version":3,"file":"open-items.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/open-items.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}
@@ -8,6 +8,11 @@ exports.OPEN_ITEMS = (0, validation_message_types_1.defineValidationFeatureMessa
8
8
  message: 'Fill in this field to proceed.',
9
9
  affectedFields: ['period'],
10
10
  },
11
+ PERIOD_CHANGE_NOT_ALLOWED: {
12
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
13
+ message: "The period of this open item can't be changed here because it was added on a previous filing.",
14
+ affectedFields: ['period'],
15
+ },
11
16
  OPEN_ITEM_NOT_FOUND: {
12
17
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
13
18
  message: 'Open item does not exist.',
@@ -23,11 +28,11 @@ exports.OPEN_ITEMS = (0, validation_message_types_1.defineValidationFeatureMessa
23
28
  },
24
29
  EDIT_TASK_CLOSED: {
25
30
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
26
- message: "This open item can't be changed because the filing it was added on is closed.",
31
+ message: "This open item can't be changed because this filing is closed.",
27
32
  },
28
33
  DELETE_TASK_CLOSED: {
29
34
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
30
- message: "This open item can't be deleted because the filing it was added on is closed.",
35
+ message: "This open item can't be deleted because this filing is closed.",
31
36
  },
32
37
  DELETE_DONE: {
33
38
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
@@ -2870,6 +2870,11 @@ export declare const VALIDATION_MESSAGES: {
2870
2870
  message: string;
2871
2871
  affectedFields: string[];
2872
2872
  };
2873
+ PERIOD_CHANGE_NOT_ALLOWED: {
2874
+ severity: "error";
2875
+ message: string;
2876
+ affectedFields: string[];
2877
+ };
2873
2878
  OPEN_ITEM_NOT_FOUND: {
2874
2879
  severity: "error";
2875
2880
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.100",
3
+ "version": "1.10.102",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -6,6 +6,11 @@ export const OPEN_ITEMS = defineValidationFeatureMessages({
6
6
  message: 'Fill in this field to proceed.',
7
7
  affectedFields: ['period'],
8
8
  },
9
+ PERIOD_CHANGE_NOT_ALLOWED: {
10
+ severity: VALIDATION_SEVERITY.ERROR,
11
+ message: "The period of this open item can't be changed here because it was added on a previous filing.",
12
+ affectedFields: ['period'],
13
+ },
9
14
  OPEN_ITEM_NOT_FOUND: {
10
15
  severity: VALIDATION_SEVERITY.ERROR,
11
16
  message: 'Open item does not exist.',
@@ -21,11 +26,11 @@ export const OPEN_ITEMS = defineValidationFeatureMessages({
21
26
  },
22
27
  EDIT_TASK_CLOSED: {
23
28
  severity: VALIDATION_SEVERITY.ERROR,
24
- message: "This open item can't be changed because the filing it was added on is closed.",
29
+ message: "This open item can't be changed because this filing is closed.",
25
30
  },
26
31
  DELETE_TASK_CLOSED: {
27
32
  severity: VALIDATION_SEVERITY.ERROR,
28
- message: "This open item can't be deleted because the filing it was added on is closed.",
33
+ message: "This open item can't be deleted because this filing is closed.",
29
34
  },
30
35
  DELETE_DONE: {
31
36
  severity: VALIDATION_SEVERITY.ERROR,