@apexcura/ui-components 0.0.14-Beta208 → 0.0.14-Beta209
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -819,6 +819,7 @@ var TableElement = (props) => {
|
|
|
819
819
|
{
|
|
820
820
|
className: props.className,
|
|
821
821
|
pagination: props.pagination ? {
|
|
822
|
+
defaultCurrent: props.value && props.value.page,
|
|
822
823
|
showTotal: (total) => `Total: ${total} items`,
|
|
823
824
|
total: props.count,
|
|
824
825
|
showSizeChanger: props.count ? props.count > 10 : 0 > 10,
|
|
@@ -910,7 +911,7 @@ var DateRangePickerElement = (props) => {
|
|
|
910
911
|
console.log("formattedDate", formattedDate);
|
|
911
912
|
props.onChange && props.onChange(formattedDate);
|
|
912
913
|
} else {
|
|
913
|
-
props.onChange && props.onChange("");
|
|
914
|
+
props.onChange && props.onChange(["", ""]);
|
|
914
915
|
}
|
|
915
916
|
};
|
|
916
917
|
const rangePresets = [
|
package/dist/index.mjs
CHANGED
|
@@ -753,6 +753,7 @@ var TableElement = (props) => {
|
|
|
753
753
|
{
|
|
754
754
|
className: props.className,
|
|
755
755
|
pagination: props.pagination ? {
|
|
756
|
+
defaultCurrent: props.value && props.value.page,
|
|
756
757
|
showTotal: (total) => `Total: ${total} items`,
|
|
757
758
|
total: props.count,
|
|
758
759
|
showSizeChanger: props.count ? props.count > 10 : 0 > 10,
|
|
@@ -844,7 +845,7 @@ var DateRangePickerElement = (props) => {
|
|
|
844
845
|
console.log("formattedDate", formattedDate);
|
|
845
846
|
props.onChange && props.onChange(formattedDate);
|
|
846
847
|
} else {
|
|
847
|
-
props.onChange && props.onChange("");
|
|
848
|
+
props.onChange && props.onChange(["", ""]);
|
|
848
849
|
}
|
|
849
850
|
};
|
|
850
851
|
const rangePresets = [
|