@apexcura/ui-components 0.0.11-Beta183 → 0.0.11-Beta184
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 +6 -3
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -631,14 +631,17 @@ var TableElement = (props) => {
|
|
|
631
631
|
...row,
|
|
632
632
|
[columns[0].key]: index + 1
|
|
633
633
|
}));
|
|
634
|
+
const onChange = (pagination, filters, sorter, extra) => {
|
|
635
|
+
console.log("params", pagination, filters, sorter, extra);
|
|
636
|
+
};
|
|
634
637
|
return /* @__PURE__ */ import_react19.default.createElement(
|
|
635
638
|
import_antd13.Table,
|
|
636
639
|
{
|
|
637
640
|
dataSource,
|
|
638
641
|
columns,
|
|
639
642
|
bordered: true,
|
|
640
|
-
|
|
641
|
-
|
|
643
|
+
size: props.size && props.size,
|
|
644
|
+
onChange
|
|
642
645
|
}
|
|
643
646
|
);
|
|
644
647
|
};
|
|
@@ -684,7 +687,7 @@ var DatePickerElement = (props) => {
|
|
|
684
687
|
props.onChange(newDate.format("lll"));
|
|
685
688
|
}
|
|
686
689
|
};
|
|
687
|
-
return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ import_react20.default.createElement(
|
|
690
|
+
return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ import_react20.default.createElement(import_icons4.LeftOutlined, null)), /* @__PURE__ */ import_react20.default.createElement(
|
|
688
691
|
import_antd14.DatePicker,
|
|
689
692
|
{
|
|
690
693
|
placeholder: props.placeholder,
|
package/dist/index.mjs
CHANGED
|
@@ -580,14 +580,17 @@ var TableElement = (props) => {
|
|
|
580
580
|
...row,
|
|
581
581
|
[columns[0].key]: index + 1
|
|
582
582
|
}));
|
|
583
|
+
const onChange = (pagination, filters, sorter, extra) => {
|
|
584
|
+
console.log("params", pagination, filters, sorter, extra);
|
|
585
|
+
};
|
|
583
586
|
return /* @__PURE__ */ React18.createElement(
|
|
584
587
|
Table2,
|
|
585
588
|
{
|
|
586
589
|
dataSource,
|
|
587
590
|
columns,
|
|
588
591
|
bordered: true,
|
|
589
|
-
|
|
590
|
-
|
|
592
|
+
size: props.size && props.size,
|
|
593
|
+
onChange
|
|
591
594
|
}
|
|
592
595
|
);
|
|
593
596
|
};
|
|
@@ -595,7 +598,7 @@ var TableElement = (props) => {
|
|
|
595
598
|
// src/Components/DatePicker.tsx
|
|
596
599
|
import React19, { useState as useState5 } from "react";
|
|
597
600
|
import { DatePicker } from "antd";
|
|
598
|
-
import { RightOutlined } from "@ant-design/icons";
|
|
601
|
+
import { LeftOutlined, RightOutlined } from "@ant-design/icons";
|
|
599
602
|
import moment from "moment";
|
|
600
603
|
var DatePickerElement = (props) => {
|
|
601
604
|
const [date, setDate] = useState5(null);
|
|
@@ -633,7 +636,7 @@ var DatePickerElement = (props) => {
|
|
|
633
636
|
props.onChange(newDate.format("lll"));
|
|
634
637
|
}
|
|
635
638
|
};
|
|
636
|
-
return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ React19.createElement(
|
|
639
|
+
return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ React19.createElement(LeftOutlined, null)), /* @__PURE__ */ React19.createElement(
|
|
637
640
|
DatePicker,
|
|
638
641
|
{
|
|
639
642
|
placeholder: props.placeholder,
|