@undp/carbon-library 1.0.158-CARBON-343.0 → 1.0.158-CARBON-343.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -24575,9 +24575,9 @@ var NdcDetailsComponent = function (props) {
24575
24575
  key: "nationalPlanObj",
24576
24576
  align: "left",
24577
24577
  editable: true,
24578
- width: 800,
24578
+ width: "50%",
24579
24579
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(Space, { size: "middle" },
24580
- React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24580
+ React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add the National Plan Objective", className: "ant-input", disabled: true, type: "text" })))); },
24581
24581
  },
24582
24582
  {
24583
24583
  title: t("ndc:ndcColumnsKpi"),
@@ -24585,9 +24585,9 @@ var NdcDetailsComponent = function (props) {
24585
24585
  key: "kpi",
24586
24586
  align: "left",
24587
24587
  editable: true,
24588
- width: 100,
24588
+ width: "10%",
24589
24589
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(Space, { size: "middle" },
24590
- React.createElement("span", null, record.kpi))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24590
+ React.createElement("span", null, record.kpi))) : (React.createElement("input", { placeholder: "Enter Kpi", className: "ant-input", disabled: true, type: "text" })))); },
24591
24591
  },
24592
24592
  {
24593
24593
  title: "Ministry",
@@ -24595,12 +24595,14 @@ var NdcDetailsComponent = function (props) {
24595
24595
  key: "ministry",
24596
24596
  align: "left",
24597
24597
  editable: true,
24598
+ width: "30%",
24598
24599
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(Space, { size: "middle" },
24599
- React.createElement("span", null, record.ministry))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24600
+ React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Ministry name", className: "ant-input", disabled: true, type: "text" })))); },
24600
24601
  },
24601
24602
  {
24602
24603
  title: "Action",
24603
24604
  dataIndex: "operation",
24605
+ width: "10%",
24604
24606
  render: function (_, record) {
24605
24607
  var editable = isEditing(record);
24606
24608
  return editable ? (React.createElement("span", null,
@@ -24635,9 +24637,9 @@ var NdcDetailsComponent = function (props) {
24635
24637
  type: NdcActionType.main,
24636
24638
  startDate: new Date("".concat(Number(range[0]), "-01-24 23:12:00")),
24637
24639
  endDate: new Date("".concat(Number(range[0]), "-12-24 23:12:00")),
24638
- nationalPlanObj: t("ndc:enterNewPlanTxt"),
24639
- kpi: 0,
24640
- ministry: "Please add the Ministry name",
24640
+ nationalPlanObj: "",
24641
+ kpi: "",
24642
+ ministry: "",
24641
24643
  subNdcDetails: [
24642
24644
  {
24643
24645
  key: ++addedNdcDetailId.current,