@openlettermarketing/olc-react-sdk 2.1.10 → 2.1.11
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 +2 -0
- package/build/index.js +83 -83
- package/build/index.js.map +1 -1
- package/build/types/src/App.d.ts +2 -0
- package/build/types/src/assets/images/input/checkbox-icon.d.ts +6 -0
- package/build/types/src/components/SidePanel/CustomQRCode/V2/QRCodeModal/index.d.ts +5 -1
- package/build/types/src/components/SidePanel/CustomQRCode/index.d.ts +3 -1
- package/build/types/src/components/SidePanel/index.d.ts +2 -0
- package/build/types/src/components/TemplateBuilder/index.d.ts +2 -0
- package/build/types/src/index.d.ts +3 -1
- package/build/types/src/redux/actions/action-types.d.ts +2 -0
- package/build/types/src/redux/actions/customQRCodeActions.d.ts +8 -0
- package/build/types/src/redux/reducers/customQRCodeReducer.d.ts +2 -0
- package/build/types/src/utils/message.d.ts +2 -0
- package/build/types/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,6 +84,8 @@ key props:
|
|
|
84
84
|
| `allowedAddOns` | _string[ ]_ | The allowedAddOns prop lets you specify which add-ons appear in the add-ons section by providing their keys as an array of strings. You can add or remove add-ons as needed by updating this array. | ⤫ | `['property_offer','gsv']` |
|
|
85
85
|
| `allowSenderFields` | _boolean_ | The allowSenderFields prop can be set to either true or false. When set to true, it makes the sender fields visible in the custom fields section. | ⤫ | `true` |
|
|
86
86
|
| `allowPropertyFields` | _boolean_ | The allowPropertyFields prop can be set to either true or false. When set to true, it makes the property fields visible in the custom fields section. | ⤫ | `true` |
|
|
87
|
+
| `showQrScanNotificationFields` | _boolean_ | Shows the QR code scan notification checkbox and notification email field when creating or editing QR codes. Defaults to false. | ⤫ | `true` |
|
|
88
|
+
| `defaultQrNotificationEmail` | _string_ | Prefills the QR code notification email as an editable suggestion when scan notification fields are enabled. Defaults to an empty string. | ⤫ | `'user@example.com'` |
|
|
87
89
|
| `allowedTemplateSections` | _string[ ]_ | The allowedTemplateSections prop lets you control which sections appear in the template gallery by adding or removing them as needed. | ⤫ | `['my_templates', 'team_templates']` |
|
|
88
90
|
| `restrictedProducts` | _number[]_ | The restrictedProducts prop filters products on the product selection screen, allowing you to show or hide products as needed. Simply include the product IDs in the array to filter out specific products. | ⤫ | `[9, 11, 13]` |
|
|
89
91
|
| `excludedFields` | _string[ ]_ | The excludedFields prop allows you to remove specific fields from the custom fields section by their key | ⤫ | `['{{C.EMAIL}}','{{SPF.LAST_NAME}}']` |
|