@defra/fcp-sfd-frontend-engine 0.38.1 → 0.39.0

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.cjs CHANGED
@@ -97,6 +97,9 @@ var MONTH_MAP = {
97
97
  dec: 12
98
98
  };
99
99
 
100
+ // src/constants/not-added-text.js
101
+ var NOT_ADDED_TEXT = "Not added";
102
+
100
103
  // src/constants/success-messages.js
101
104
  var BUSINESS_ADDRESS = "You have updated your business address";
102
105
  var BUSINESS_CHARITY_REGISTRATION_NUMBER = "You have updated your charity commission registration number";
@@ -302,6 +305,7 @@ var constants = {
302
305
  NO_CONTROL_CHARS_PATTERN
303
306
  },
304
307
  monthMap: MONTH_MAP,
308
+ NOT_ADDED_TEXT,
305
309
  successMessages: {
306
310
  BUSINESS_ADDRESS,
307
311
  BUSINESS_CHARITY_REGISTRATION_NUMBER,
package/dist/index.js CHANGED
@@ -56,6 +56,9 @@ var MONTH_MAP = {
56
56
  dec: 12
57
57
  };
58
58
 
59
+ // src/constants/not-added-text.js
60
+ var NOT_ADDED_TEXT = "Not added";
61
+
59
62
  // src/constants/success-messages.js
60
63
  var BUSINESS_ADDRESS = "You have updated your business address";
61
64
  var BUSINESS_CHARITY_REGISTRATION_NUMBER = "You have updated your charity commission registration number";
@@ -261,6 +264,7 @@ var constants = {
261
264
  NO_CONTROL_CHARS_PATTERN
262
265
  },
263
266
  monthMap: MONTH_MAP,
267
+ NOT_ADDED_TEXT,
264
268
  successMessages: {
265
269
  BUSINESS_ADDRESS,
266
270
  BUSINESS_CHARITY_REGISTRATION_NUMBER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra/fcp-sfd-frontend-engine",
3
- "version": "0.38.1",
3
+ "version": "0.39.0",
4
4
  "description": "Shared frontend engine used by both the internal and external frontend applications.",
5
5
  "main": "./dist/index.cjs",
6
6
  "engines": {
@@ -32,6 +32,9 @@ import {
32
32
  import { PHONE_NUMBER_PATTERN, NO_CONTROL_CHARS_PATTERN } from './patterns.js'
33
33
  import { MONTH_MAP } from './month-map.js'
34
34
 
35
+ // Empty value display text
36
+ import { NOT_ADDED_TEXT } from './not-added-text.js'
37
+
35
38
  // Success messages
36
39
  import {
37
40
  BUSINESS_ADDRESS,
@@ -109,6 +112,7 @@ export const constants = {
109
112
  NO_CONTROL_CHARS_PATTERN
110
113
  },
111
114
  monthMap: MONTH_MAP,
115
+ NOT_ADDED_TEXT,
112
116
  successMessages: {
113
117
  BUSINESS_ADDRESS,
114
118
  BUSINESS_CHARITY_REGISTRATION_NUMBER,
@@ -0,0 +1 @@
1
+ export const NOT_ADDED_TEXT = 'Not added'