@guillotinaweb/react-gmi 0.29.0 → 0.29.2
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/components/input/email.d.ts +1 -1
- package/dist/react-gmi.esm.js +9 -5
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +9 -5
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +9 -5
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +9 -5
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/react-gmi.modern.js
CHANGED
|
@@ -1372,7 +1372,8 @@ const EmailInput = ({
|
|
|
1372
1372
|
value: _value = '',
|
|
1373
1373
|
dataTest,
|
|
1374
1374
|
placeholder,
|
|
1375
|
-
id
|
|
1375
|
+
id,
|
|
1376
|
+
onChange
|
|
1376
1377
|
}) => {
|
|
1377
1378
|
const intl = useIntl();
|
|
1378
1379
|
return jsx(Input, {
|
|
@@ -1391,7 +1392,8 @@ const EmailInput = ({
|
|
|
1391
1392
|
icon: "fas fa-envelope"
|
|
1392
1393
|
}),
|
|
1393
1394
|
id: id,
|
|
1394
|
-
placeholder: placeholder
|
|
1395
|
+
placeholder: placeholder,
|
|
1396
|
+
onChange: onChange
|
|
1395
1397
|
});
|
|
1396
1398
|
};
|
|
1397
1399
|
|
|
@@ -5676,7 +5678,7 @@ function PanelItems() {
|
|
|
5676
5678
|
key: 'id',
|
|
5677
5679
|
direction: 'des'
|
|
5678
5680
|
});
|
|
5679
|
-
sortParsed = parser(`_sort_${defaultSortValue.direction}=${defaultSortValue.key}
|
|
5681
|
+
sortParsed = parser(`_sort_${defaultSortValue.direction}=${defaultSortValue.key}`);
|
|
5680
5682
|
}
|
|
5681
5683
|
|
|
5682
5684
|
const qsParsed = Ctx.client[fnName]({
|
|
@@ -5686,12 +5688,14 @@ function PanelItems() {
|
|
|
5686
5688
|
});
|
|
5687
5689
|
let qs = '';
|
|
5688
5690
|
|
|
5689
|
-
if (search || type ||
|
|
5691
|
+
if (search || type || resultQueryParams.length > 0) {
|
|
5690
5692
|
var _searchParsed, _typeParsed, _sortParsed;
|
|
5691
5693
|
|
|
5692
5694
|
qs = buildQs([...qsParsed, ...((_searchParsed = searchParsed) != null ? _searchParsed : []), ...((_typeParsed = typeParsed) != null ? _typeParsed : []), ...((_sortParsed = sortParsed) != null ? _sortParsed : []), ...resultQueryParams]);
|
|
5693
5695
|
} else {
|
|
5694
|
-
|
|
5696
|
+
var _sortParsed2;
|
|
5697
|
+
|
|
5698
|
+
qs = buildQs([...qsParsed, ...((_sortParsed2 = sortParsed) != null ? _sortParsed2 : [])]);
|
|
5695
5699
|
}
|
|
5696
5700
|
|
|
5697
5701
|
const {
|