ordering-ui-admin-external 1.16.1 → 1.16.3
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/_bundles/{ordering-ui-admin.255bdf03e3a8ab56ad1c.js → ordering-ui-admin.55509d77028dd5804399.js} +2 -2
- package/_modules/components/Marketing/EnterprisePromotionList/index.js +1 -1
- package/_modules/components/Users/UserAddForm/index.js +1 -1
- package/package.json +2 -2
- package/src/components/Marketing/EnterprisePromotionList/index.js +1 -1
- package/src/components/Users/UserAddForm/index.js +1 -3
- package/template/config.json +1 -1
- /package/_bundles/{ordering-ui-admin.255bdf03e3a8ab56ad1c.js.LICENSE.txt → ordering-ui-admin.55509d77028dd5804399.js.LICENSE.txt} +0 -0
|
@@ -220,7 +220,7 @@ var EnterprisePromotionList = function EnterprisePromotionList(props) {
|
|
|
220
220
|
eventDisabled: eventDisabled
|
|
221
221
|
}, /*#__PURE__*/_react.default.createElement(_styles2.AddNewButton, {
|
|
222
222
|
onClick: function onClick() {
|
|
223
|
-
return handleOpenDetails(
|
|
223
|
+
return handleOpenDetails();
|
|
224
224
|
}
|
|
225
225
|
}, t('ADD_NEW_PROMOTION', 'Add new promotion')), (promotionListState === null || promotionListState === void 0 ? void 0 : promotionListState.promotions.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles2.WrapperPagination, null, /*#__PURE__*/_react.default.createElement(_Shared.Pagination, {
|
|
226
226
|
currentPage: paginationProps === null || paginationProps === void 0 ? void 0 : paginationProps.currentPage,
|
|
@@ -303,7 +303,7 @@ var UserAddFormUI = function UserAddFormUI(props) {
|
|
|
303
303
|
placeholder: t('FRONT_VISUALS_PASSWORD', 'Password'),
|
|
304
304
|
onChange: handleChangeInput,
|
|
305
305
|
ref: formMethods.register({
|
|
306
|
-
required:
|
|
306
|
+
required: t('VALIDATION_ERROR_PASSWORD_REQUIRED', 'The field Password is required').replace('_attribute_', t('PASSWORD', 'Password')),
|
|
307
307
|
minLength: {
|
|
308
308
|
value: 8,
|
|
309
309
|
message: t('VALIDATION_ERROR_PASSWORD_MIN_STRING', 'The Password must be at least 8 characters.').replace('_attribute_', t('PASSWORD', 'Password')).replace('_min_', 8)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ordering-ui-admin-external",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3",
|
|
4
4
|
"description": "Ordering UI Admin Components",
|
|
5
5
|
"main": "./_modules/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"lodash": "^4.17.20",
|
|
84
84
|
"moment": "^2.29.1",
|
|
85
85
|
"moment-range": "^4.0.2",
|
|
86
|
-
"ordering-components-admin-external": "1.16.
|
|
86
|
+
"ordering-components-admin-external": "1.16.1",
|
|
87
87
|
"polished": "^3.6.7",
|
|
88
88
|
"prop-types": "^15.7.2",
|
|
89
89
|
"react-big-calendar": "^1.4.2",
|
|
@@ -273,7 +273,7 @@ export const EnterprisePromotionList = (props) => {
|
|
|
273
273
|
</PromotionListContainer>
|
|
274
274
|
<PromotionListBottom eventDisabled={eventDisabled}>
|
|
275
275
|
<AddNewButton
|
|
276
|
-
onClick={() => handleOpenDetails(
|
|
276
|
+
onClick={() => handleOpenDetails()}
|
|
277
277
|
>
|
|
278
278
|
{t('ADD_NEW_PROMOTION', 'Add new promotion')}
|
|
279
279
|
</AddNewButton>
|
|
@@ -290,9 +290,7 @@ const UserAddFormUI = (props) => {
|
|
|
290
290
|
placeholder={t('FRONT_VISUALS_PASSWORD', 'Password')}
|
|
291
291
|
onChange={handleChangeInput}
|
|
292
292
|
ref={formMethods.register({
|
|
293
|
-
required:
|
|
294
|
-
? t('VALIDATION_ERROR_PASSWORD_REQUIRED', 'The field Password is required').replace('_attribute_', t('PASSWORD', 'Password'))
|
|
295
|
-
: null,
|
|
293
|
+
required: t('VALIDATION_ERROR_PASSWORD_REQUIRED', 'The field Password is required').replace('_attribute_', t('PASSWORD', 'Password')),
|
|
296
294
|
minLength: {
|
|
297
295
|
value: 8,
|
|
298
296
|
message: t('VALIDATION_ERROR_PASSWORD_MIN_STRING', 'The Password must be at least 8 characters.').replace('_attribute_', t('PASSWORD', 'Password')).replace('_min_', 8)
|
package/template/config.json
CHANGED