@bigbinary/neeto-rules-frontend 0.4.10 → 0.5.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/README.md +3 -3
- package/app/javascript/src/translations/en.json +16 -4
- package/dist/index.cjs.js +8468 -281
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8942 -755
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -496,7 +496,7 @@ const initialProps = {
|
|
|
496
496
|
{
|
|
497
497
|
value: "add_tags",
|
|
498
498
|
label: "Add Tags",
|
|
499
|
-
type: "multiSelect", // Types : emailToIds, emailTo, email, dropdown, list, multiSelect, note, date, text, textarea, decimal, number, regex, longText
|
|
499
|
+
type: "multiSelect", // Types : emailToIds, emailTo, email, dropdown, list, multiSelect, note, date, text, textarea, decimal, number, regex, longText, sms, smsToNumbers, smsTo
|
|
500
500
|
hideSeparator: true,
|
|
501
501
|
placeholder: "Select tags",
|
|
502
502
|
dropdownOptions: [
|
|
@@ -560,9 +560,9 @@ neetoRulesFrontend allows to pass custom action components from host application
|
|
|
560
560
|
},
|
|
561
561
|
```
|
|
562
562
|
|
|
563
|
-
#### 2.10 Custom
|
|
563
|
+
#### 2.10 Custom message templates
|
|
564
564
|
|
|
565
|
-
neetoRulesFrontend allows to pass predefined email templates from host application. This enables to use templates created using neeto-message-templates-nano. Below is an example for custom
|
|
565
|
+
neetoRulesFrontend allows to pass predefined email and SMS templates from host application. This enables to use templates created using neeto-message-templates-nano. Below is an example for custom message template which is being sent by neeto-form in action options.
|
|
566
566
|
|
|
567
567
|
```jsx
|
|
568
568
|
{
|
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
"as": "as",
|
|
29
29
|
"delete": "Delete",
|
|
30
30
|
"viewMore": "View more",
|
|
31
|
-
"viewLess": "View less"
|
|
31
|
+
"viewLess": "View less",
|
|
32
|
+
"sms": "SMS",
|
|
33
|
+
"phoneNumber": "Phone number",
|
|
34
|
+
"phoneNumbers": "Phone numbers"
|
|
32
35
|
},
|
|
33
36
|
"form": {
|
|
34
37
|
"noEvents": "A rule without events will run hourly.",
|
|
@@ -131,7 +134,8 @@
|
|
|
131
134
|
"unchecked": "Unchecked",
|
|
132
135
|
"text": "Text",
|
|
133
136
|
"ruleSummary": "Automation rule summary",
|
|
134
|
-
"template": "Template"
|
|
137
|
+
"template": "Template",
|
|
138
|
+
"remainingItemsCount": "{{count}} more"
|
|
135
139
|
},
|
|
136
140
|
"placeholders": {
|
|
137
141
|
"if": "If",
|
|
@@ -141,7 +145,8 @@
|
|
|
141
145
|
"selectTags": "Select Tags",
|
|
142
146
|
"selectOption": "Select option",
|
|
143
147
|
"value": "Value",
|
|
144
|
-
"selectTemplate": "Select a template"
|
|
148
|
+
"selectTemplate": "Select a template",
|
|
149
|
+
"phoneNumberField": "Type phone number and press enter"
|
|
145
150
|
},
|
|
146
151
|
"buttons": {
|
|
147
152
|
"save": "Save",
|
|
@@ -183,7 +188,8 @@
|
|
|
183
188
|
"slack": {
|
|
184
189
|
"invalidChannel": "Could not connect to the channel, please select other options.",
|
|
185
190
|
"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."
|
|
186
|
-
}
|
|
191
|
+
},
|
|
192
|
+
"inValidPhoneNumber": "Phone number is invalid"
|
|
187
193
|
},
|
|
188
194
|
"conditionVerbs": {
|
|
189
195
|
"is": "Is",
|
|
@@ -281,6 +287,12 @@
|
|
|
281
287
|
"shortcuts": {
|
|
282
288
|
"submit": "Submit field",
|
|
283
289
|
"cancel": "Cancel"
|
|
290
|
+
},
|
|
291
|
+
"helpTexts": {
|
|
292
|
+
"phoneNumber": "Example: +918888888888"
|
|
293
|
+
},
|
|
294
|
+
"messages": {
|
|
295
|
+
"removeInvalidPhoneNumbers": "Click here to remove invalid phone numbers."
|
|
284
296
|
}
|
|
285
297
|
}
|
|
286
298
|
}
|