@bigbinary/neeto-rules-frontend 0.3.3 → 0.3.4
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.js +4068 -46413
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4068 -46413
- package/dist/index.js.map +1 -1
- package/package.json +15 -6
- package/src/translations/en.json +283 -0
- package/src/translations/fr.json +9 -0
- package/src/translations/index.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-rules-frontend",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Manage rules across neeto products.",
|
|
5
5
|
"author": "BigBinary",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
"@babel/preset-react": "7.16.7",
|
|
32
32
|
"@babel/preset-typescript": "^7.18.6",
|
|
33
33
|
"@babel/runtime": "^7.19.0",
|
|
34
|
-
"@bigbinary/
|
|
34
|
+
"@bigbinary/babel-preset-neeto": "^1.0.6",
|
|
35
|
+
"@bigbinary/eslint-plugin-neeto": "1.1.27",
|
|
35
36
|
"@bigbinary/neeto-audit-frontend": "1.0.7",
|
|
36
|
-
"@bigbinary/neeto-
|
|
37
|
+
"@bigbinary/neeto-cist": "^1.0.2",
|
|
38
|
+
"@bigbinary/neeto-commons-frontend": "^2.1.29",
|
|
37
39
|
"@bigbinary/neeto-editor": "1.27.0-beta.1",
|
|
38
40
|
"@bigbinary/neeto-icons": "1.11.0",
|
|
39
41
|
"@bigbinary/neeto-molecules": "^1.0.19",
|
|
@@ -58,6 +60,7 @@
|
|
|
58
60
|
"babel-plugin-istanbul": "^6.1.1",
|
|
59
61
|
"babel-plugin-js-logger": "1.0.17",
|
|
60
62
|
"babel-plugin-macros": "3.1.0",
|
|
63
|
+
"babel-plugin-preval": "^5.1.0",
|
|
61
64
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
62
65
|
"babel-preset-react": "6.24.1",
|
|
63
66
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
@@ -83,8 +86,9 @@
|
|
|
83
86
|
"html-webpack-plugin": "^4.5.0",
|
|
84
87
|
"https-browserify": "^1.0.0",
|
|
85
88
|
"husky": "7.0.4",
|
|
86
|
-
"i18next": "
|
|
89
|
+
"i18next": "23.2.7",
|
|
87
90
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
91
|
+
"js-logger": "^1.6.1",
|
|
88
92
|
"lint-staged": "12.4.1",
|
|
89
93
|
"os-browserify": "^0.3.0",
|
|
90
94
|
"path-browserify": "^1.0.1",
|
|
@@ -99,7 +103,7 @@
|
|
|
99
103
|
"react": "^18.2.0",
|
|
100
104
|
"react-dom": "^18.2.0",
|
|
101
105
|
"react-helmet": "^6.1.0",
|
|
102
|
-
"react-i18next": "
|
|
106
|
+
"react-i18next": "13.0.1",
|
|
103
107
|
"react-query": "^3.39.2",
|
|
104
108
|
"react-router-dom": "5.3.3",
|
|
105
109
|
"react-select": "^5.2.1",
|
|
@@ -129,6 +133,7 @@
|
|
|
129
133
|
"yup": "0.32.11"
|
|
130
134
|
},
|
|
131
135
|
"peerDependencies": {
|
|
136
|
+
"@bigbinary/neeto-cist": "latest",
|
|
132
137
|
"@bigbinary/neeto-commons-frontend": "latest",
|
|
133
138
|
"@bigbinary/neeto-editor": "latest",
|
|
134
139
|
"@bigbinary/neeto-icons": "latest",
|
|
@@ -140,13 +145,17 @@
|
|
|
140
145
|
"classnames": "2.3.1",
|
|
141
146
|
"dayjs": "1.11.1",
|
|
142
147
|
"formik": "2.2.9",
|
|
148
|
+
"i18next": "23.2.7",
|
|
149
|
+
"js-logger": "^1.6.1",
|
|
143
150
|
"ramda": "0.29.0",
|
|
144
151
|
"react": "17.0.2",
|
|
145
152
|
"react-dom": "17.0.2",
|
|
153
|
+
"react-i18next": "13.0.1",
|
|
146
154
|
"react-query": "^3.39.2",
|
|
147
155
|
"yup": "0.32.11"
|
|
148
156
|
},
|
|
149
157
|
"files": [
|
|
150
|
-
"dist"
|
|
158
|
+
"dist",
|
|
159
|
+
"src/translations"
|
|
151
160
|
]
|
|
152
161
|
}
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoRules": {
|
|
3
|
+
"common": {
|
|
4
|
+
"events": "Events",
|
|
5
|
+
"name": "Name",
|
|
6
|
+
"description": "Description",
|
|
7
|
+
"conditions": "Conditions",
|
|
8
|
+
"condition": "Condition",
|
|
9
|
+
"preview": "Preview",
|
|
10
|
+
"addAction": "Add Action",
|
|
11
|
+
"actions": "Actions",
|
|
12
|
+
"saveChange": "Save changes",
|
|
13
|
+
"value": "Value",
|
|
14
|
+
"email": "Email",
|
|
15
|
+
"action": "Action",
|
|
16
|
+
"addItem": "Add Item",
|
|
17
|
+
"emailId": "Email id",
|
|
18
|
+
"emailIds": "Email ids",
|
|
19
|
+
"assign": "Assign {{what}}",
|
|
20
|
+
"then": "Then",
|
|
21
|
+
"and": "and {{what}}",
|
|
22
|
+
"to": "to",
|
|
23
|
+
"noOptions": "No options",
|
|
24
|
+
"by": "by",
|
|
25
|
+
"when": "When",
|
|
26
|
+
"or": "or",
|
|
27
|
+
"search": "Search",
|
|
28
|
+
"as": "as",
|
|
29
|
+
"delete": "Delete",
|
|
30
|
+
"viewMore": "View more",
|
|
31
|
+
"viewLess": "View less"
|
|
32
|
+
},
|
|
33
|
+
"form": {
|
|
34
|
+
"noEvents": "A rule without events will run hourly.",
|
|
35
|
+
"addEvent": "Add Event",
|
|
36
|
+
"noCondition": "No tickets matching specified conditions",
|
|
37
|
+
"subjectText": "Will be generated from the ticket's subject.",
|
|
38
|
+
"note": "Note",
|
|
39
|
+
"thisHappens": "this happens",
|
|
40
|
+
"addValue": "add value",
|
|
41
|
+
"doThis": "do this",
|
|
42
|
+
"selectValues": "select values",
|
|
43
|
+
"selectValue": "select value",
|
|
44
|
+
"list": "List",
|
|
45
|
+
"selectVerb": "select verb",
|
|
46
|
+
"selectField": "select field",
|
|
47
|
+
"addCondition": "Add condition",
|
|
48
|
+
"selectDate": "Select date"
|
|
49
|
+
},
|
|
50
|
+
"labels": {
|
|
51
|
+
"body": "Body",
|
|
52
|
+
"selectValues": "Select values",
|
|
53
|
+
"multipleValues": "Multiple values",
|
|
54
|
+
"id": "ID",
|
|
55
|
+
"name": "Name",
|
|
56
|
+
"firstName": "First Name",
|
|
57
|
+
"lastName": "Last Name",
|
|
58
|
+
"subdomain": "Subdomain",
|
|
59
|
+
"number": "Number",
|
|
60
|
+
"source": "Source/Channel",
|
|
61
|
+
"url": "URL/Link",
|
|
62
|
+
"customerURL": "Customer URL/Link",
|
|
63
|
+
"createdAt": "Created at",
|
|
64
|
+
"updatedAt": "Updated at",
|
|
65
|
+
"ticket": "Ticket",
|
|
66
|
+
"requester": "Requester",
|
|
67
|
+
"organization": "Organization",
|
|
68
|
+
"memberOrRequester": "Member or Requester",
|
|
69
|
+
"system": "System",
|
|
70
|
+
"ui": "UI",
|
|
71
|
+
"email": "Email",
|
|
72
|
+
"twitter": "Twitter",
|
|
73
|
+
"chat": "Chat",
|
|
74
|
+
"none": "None",
|
|
75
|
+
"questions": "Questions",
|
|
76
|
+
"incident": "Incident",
|
|
77
|
+
"problem": "Problem",
|
|
78
|
+
"featureRequest": "Feature Request",
|
|
79
|
+
"refund": "Refund",
|
|
80
|
+
"low": "Low",
|
|
81
|
+
"medium": "Medium",
|
|
82
|
+
"high": "High",
|
|
83
|
+
"urgent": "Urgent",
|
|
84
|
+
"any": "Any",
|
|
85
|
+
"happy": "Happy",
|
|
86
|
+
"neutral": "Neutral",
|
|
87
|
+
"unhappy": "Unhappy",
|
|
88
|
+
"yes": "Yes",
|
|
89
|
+
"no": "No",
|
|
90
|
+
"member": "Member",
|
|
91
|
+
"admin": "Admin",
|
|
92
|
+
"created": "Created",
|
|
93
|
+
"channel": "Channel",
|
|
94
|
+
"customerEmail": "Customer Email",
|
|
95
|
+
"subject": "Subject",
|
|
96
|
+
"description": "Description",
|
|
97
|
+
"latestComment": "Latest Comment",
|
|
98
|
+
"anyComment": "Any Comment",
|
|
99
|
+
"subjectOrDescription": "Subject or Description",
|
|
100
|
+
"status": "Status",
|
|
101
|
+
"category": "Category",
|
|
102
|
+
"priority": "Priority",
|
|
103
|
+
"company": "Company",
|
|
104
|
+
"assignedMember": "Assigned Member",
|
|
105
|
+
"assignedTeam": "Assigned Team",
|
|
106
|
+
"mailbox": "Mailbox",
|
|
107
|
+
"tags": "Tags",
|
|
108
|
+
"submitterRole": "Submitter Role",
|
|
109
|
+
"hoursSince": {
|
|
110
|
+
"created": "Hours since created",
|
|
111
|
+
"updatedBy": {
|
|
112
|
+
"memberOrRequester": "Hours since updated by Member or Requester",
|
|
113
|
+
"requester": "Hours since updated by Requester",
|
|
114
|
+
"member": "Hours since updated by Member"
|
|
115
|
+
},
|
|
116
|
+
"firstAssigned": "Hours since first assigned",
|
|
117
|
+
"lastAssigned": "Hours since last assigned",
|
|
118
|
+
"new": "Hours since New",
|
|
119
|
+
"open": "Hours since Open",
|
|
120
|
+
"onHold": "Hours since On Hold",
|
|
121
|
+
"waitingOnCustomer": "Hours since Waiting on Customer",
|
|
122
|
+
"closed": "Hours since Closed",
|
|
123
|
+
"spammed": "Hours since Spammed",
|
|
124
|
+
"trashed": "Hours since Trashed"
|
|
125
|
+
},
|
|
126
|
+
"feedback": "Feedback",
|
|
127
|
+
"memberOutOfOffice": "Member out of office",
|
|
128
|
+
"unassigned": "Unassigned",
|
|
129
|
+
"checked": "Checked",
|
|
130
|
+
"unchecked": "Unchecked",
|
|
131
|
+
"text": "Text",
|
|
132
|
+
"ruleSummary": "Automation rule summary"
|
|
133
|
+
},
|
|
134
|
+
"placeholders": {
|
|
135
|
+
"if": "If",
|
|
136
|
+
"multiSelect": "Example: urgent, billing",
|
|
137
|
+
"select": "Select",
|
|
138
|
+
"emailField": "Type email and press enter",
|
|
139
|
+
"selectTags": "Select Tags",
|
|
140
|
+
"selectOption": "Select option",
|
|
141
|
+
"value": "Value"
|
|
142
|
+
},
|
|
143
|
+
"buttons": {
|
|
144
|
+
"save": "Save",
|
|
145
|
+
"cancel": "Cancel"
|
|
146
|
+
},
|
|
147
|
+
"validations": {
|
|
148
|
+
"required": {
|
|
149
|
+
"entity": "{{entity}} is required",
|
|
150
|
+
"condition": "Condition is required",
|
|
151
|
+
"value": "Value is required",
|
|
152
|
+
"email": "Email is required",
|
|
153
|
+
"action": "Action is required",
|
|
154
|
+
"emailId": "Email id is required",
|
|
155
|
+
"field": "Field is required",
|
|
156
|
+
"verb": "Verb is required",
|
|
157
|
+
"ruleName": "Rule name is required",
|
|
158
|
+
"name": "Name is required",
|
|
159
|
+
"subject": "Subject is required",
|
|
160
|
+
"content": "Content is required",
|
|
161
|
+
"decimal": "Decimal is required",
|
|
162
|
+
"url": "URL is required",
|
|
163
|
+
"body": "Body is required",
|
|
164
|
+
"text": "Text is required"
|
|
165
|
+
},
|
|
166
|
+
"inValidEmail": "Email is invalid",
|
|
167
|
+
"inValidURL": "URL is invalid",
|
|
168
|
+
"noBlankSpaces": "Value should not contain blank spaces",
|
|
169
|
+
"inValidDecimal": "Value should be a decimal number",
|
|
170
|
+
"atLeastOne": {
|
|
171
|
+
"option": "At least one option is required",
|
|
172
|
+
"email": "At least one email is required",
|
|
173
|
+
"tag": "At least one tag is required"
|
|
174
|
+
},
|
|
175
|
+
"atLeastOneValue": "At least one value is required",
|
|
176
|
+
"emailList": "Please make sure all emails are valid.",
|
|
177
|
+
"positiveInteger": "Value must be a positive integer.",
|
|
178
|
+
"positiveNumber": "Value must be a positive number.",
|
|
179
|
+
"leadingSpace": "Can not have leading white space",
|
|
180
|
+
"slack": {
|
|
181
|
+
"invalidChannel": "Could not connect to the channel, please select other options.",
|
|
182
|
+
"errorInIntegration": "Could not connect to Slack! Please check the integration or remove this action otherwise the automation rule will not be able to function as intended."
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"conditionVerbs": {
|
|
186
|
+
"is": "Is",
|
|
187
|
+
"isNot": "Is not",
|
|
188
|
+
"contains": "Contains",
|
|
189
|
+
"doesNotContain": "Does not contain",
|
|
190
|
+
"containsAnyOf": "Contains any of",
|
|
191
|
+
"containsAllOf": "Contains all of",
|
|
192
|
+
"containsNoneOf": "Contains none of",
|
|
193
|
+
"startsWith": "Starts with",
|
|
194
|
+
"endsWith": "Ends with",
|
|
195
|
+
"lessThan": "Less than",
|
|
196
|
+
"greaterThan": "Greater than",
|
|
197
|
+
"anyTime": "Any time",
|
|
198
|
+
"during": "During",
|
|
199
|
+
"notDuring": "Not during",
|
|
200
|
+
"anyOf": "Is",
|
|
201
|
+
"noneOf": "Is not",
|
|
202
|
+
"isBefore": "Is before",
|
|
203
|
+
"isAfter": "Is After"
|
|
204
|
+
},
|
|
205
|
+
"operators": {
|
|
206
|
+
"and": "and",
|
|
207
|
+
"or": "or"
|
|
208
|
+
},
|
|
209
|
+
"note": {
|
|
210
|
+
"add": "Add note",
|
|
211
|
+
"added": "Note is added"
|
|
212
|
+
},
|
|
213
|
+
"ticket": {
|
|
214
|
+
"changeStatus": "Change Ticket Status",
|
|
215
|
+
"selectStatus": "Select Status",
|
|
216
|
+
"changePriority": "Change Ticket Priority",
|
|
217
|
+
"selectPriority": "Select Priority",
|
|
218
|
+
"created": "Ticket is created",
|
|
219
|
+
"updated": "Ticket is updated",
|
|
220
|
+
"deleted": "Ticket is deleted",
|
|
221
|
+
"spammed": "Ticket is spammed"
|
|
222
|
+
},
|
|
223
|
+
"priority": {
|
|
224
|
+
"changed": "Priority is changed"
|
|
225
|
+
},
|
|
226
|
+
"category": {
|
|
227
|
+
"changed": "Category is changed"
|
|
228
|
+
},
|
|
229
|
+
"status": {
|
|
230
|
+
"changed": "Status is changed"
|
|
231
|
+
},
|
|
232
|
+
"team": {
|
|
233
|
+
"updated": "Team is updated"
|
|
234
|
+
},
|
|
235
|
+
"member": {
|
|
236
|
+
"updated": "Member is updated"
|
|
237
|
+
},
|
|
238
|
+
"reply": {
|
|
239
|
+
"added": "Reply is added"
|
|
240
|
+
},
|
|
241
|
+
"feedback": {
|
|
242
|
+
"received": "Feedback is received"
|
|
243
|
+
},
|
|
244
|
+
"tags": {
|
|
245
|
+
"add": "Add Tags",
|
|
246
|
+
"remove": "Remove Tags"
|
|
247
|
+
},
|
|
248
|
+
"assign": {
|
|
249
|
+
"member": "Assign Member",
|
|
250
|
+
"selectMember": "Select Member",
|
|
251
|
+
"team": "Assign Team",
|
|
252
|
+
"selectTeam": "Select Team",
|
|
253
|
+
"firstResponder": "Assign to First Responder",
|
|
254
|
+
"lastResponder": "Assign to Last Responder",
|
|
255
|
+
"roundRobin": "Assign Members - Round-Robin",
|
|
256
|
+
"loadBalanced": "Assign Members - Load Balanced"
|
|
257
|
+
},
|
|
258
|
+
"remove": {
|
|
259
|
+
"member": "Remove assigned Member"
|
|
260
|
+
},
|
|
261
|
+
"email": {
|
|
262
|
+
"allMembers": "Email to All Members",
|
|
263
|
+
"requester": "Email to Requester",
|
|
264
|
+
"assignedMember": "Email to Assigned Member",
|
|
265
|
+
"member": "Email to Member",
|
|
266
|
+
"selectMember": "Select Member"
|
|
267
|
+
},
|
|
268
|
+
"tasksList": {
|
|
269
|
+
"add": "Add Tasks List",
|
|
270
|
+
"select": "Select Tasks List"
|
|
271
|
+
},
|
|
272
|
+
"emailTo": "Email to",
|
|
273
|
+
"slack": {
|
|
274
|
+
"messageTo": "Message to Slack",
|
|
275
|
+
"selectChannel": "Select a channel",
|
|
276
|
+
"refreshChannelList": "Refresh Slack channel list"
|
|
277
|
+
},
|
|
278
|
+
"shortcuts": {
|
|
279
|
+
"submit": "Submit field",
|
|
280
|
+
"cancel": "Cancel"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|