@apexcura/ui-components 0.0.11-Beta81 → 0.0.11-Beta83

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 CHANGED
@@ -384,7 +384,7 @@ var AddMoreTable = (props) => {
384
384
  When: { label: "When", element: "textarea", type: "text" },
385
385
  Duration: { label: "Duration", element: "textarea", type: "text" },
386
386
  Instructions: { label: "Instructions", element: "textarea", type: "text" },
387
- icons: { delete: "delete", add: "plus" }
387
+ SubRows: { delete: "delete", add: "plus" }
388
388
  }
389
389
  ]
390
390
  };
@@ -405,7 +405,7 @@ var AddMoreTable = (props) => {
405
405
  When: { label: "When", element: "textarea", type: "text" },
406
406
  Duration: { label: "Duration", element: "textarea", type: "text" },
407
407
  Instructions: { label: "Instructions", element: "textarea", type: "text" },
408
- icons: { delete: "delete", add: "plus" }
408
+ SubRows: { delete: "delete", add: "plus" }
409
409
  };
410
410
  return {
411
411
  ...row,
@@ -430,6 +430,9 @@ var AddMoreTable = (props) => {
430
430
  });
431
431
  });
432
432
  };
433
+ (0, import_react13.useEffect)(() => {
434
+ console.log(rows);
435
+ }, [rows]);
433
436
  const columns = thead && thead.length > 0 ? thead.map((eachHeadEl) => ({
434
437
  title: eachHeadEl.label,
435
438
  dataIndex: eachHeadEl.name,
package/dist/index.mjs CHANGED
@@ -312,7 +312,7 @@ import { Button as Button2, Flex as Flex2 } from "antd";
312
312
  var ButtonElement = () => /* @__PURE__ */ React11.createElement(Flex2, { gap: "small" }, /* @__PURE__ */ React11.createElement(Button2, { type: "primary" }, "Primary Button"));
313
313
 
314
314
  // src/Components/AddMoreTable.tsx
315
- import React12, { useState as useState3 } from "react";
315
+ import React12, { useEffect, useState as useState3 } from "react";
316
316
  import { Table, Button as Button3 } from "antd";
317
317
  import { PlusOutlined, DeleteOutlined } from "@ant-design/icons";
318
318
  var AddMoreTable = (props) => {
@@ -337,7 +337,7 @@ var AddMoreTable = (props) => {
337
337
  When: { label: "When", element: "textarea", type: "text" },
338
338
  Duration: { label: "Duration", element: "textarea", type: "text" },
339
339
  Instructions: { label: "Instructions", element: "textarea", type: "text" },
340
- icons: { delete: "delete", add: "plus" }
340
+ SubRows: { delete: "delete", add: "plus" }
341
341
  }
342
342
  ]
343
343
  };
@@ -358,7 +358,7 @@ var AddMoreTable = (props) => {
358
358
  When: { label: "When", element: "textarea", type: "text" },
359
359
  Duration: { label: "Duration", element: "textarea", type: "text" },
360
360
  Instructions: { label: "Instructions", element: "textarea", type: "text" },
361
- icons: { delete: "delete", add: "plus" }
361
+ SubRows: { delete: "delete", add: "plus" }
362
362
  };
363
363
  return {
364
364
  ...row,
@@ -383,6 +383,9 @@ var AddMoreTable = (props) => {
383
383
  });
384
384
  });
385
385
  };
386
+ useEffect(() => {
387
+ console.log(rows);
388
+ }, [rows]);
386
389
  const columns = thead && thead.length > 0 ? thead.map((eachHeadEl) => ({
387
390
  title: eachHeadEl.label,
388
391
  dataIndex: eachHeadEl.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta81",
3
+ "version": "0.0.11-Beta83",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",