@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/cjs/index.js CHANGED
@@ -24595,9 +24595,9 @@ var NdcDetailsComponent = function (props) {
24595
24595
  key: "nationalPlanObj",
24596
24596
  align: "left",
24597
24597
  editable: true,
24598
- width: 800,
24598
+ width: "50%",
24599
24599
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(antd.Space, { size: "middle" },
24600
- React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24600
+ React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add the National Plan Objective", className: "ant-input", disabled: true, type: "text" })))); },
24601
24601
  },
24602
24602
  {
24603
24603
  title: t("ndc:ndcColumnsKpi"),
@@ -24605,9 +24605,9 @@ var NdcDetailsComponent = function (props) {
24605
24605
  key: "kpi",
24606
24606
  align: "left",
24607
24607
  editable: true,
24608
- width: 100,
24608
+ width: "10%",
24609
24609
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(antd.Space, { size: "middle" },
24610
- React.createElement("span", null, record.kpi))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24610
+ React.createElement("span", null, record.kpi))) : (React.createElement("input", { placeholder: "Enter Kpi", className: "ant-input", disabled: true, type: "text" })))); },
24611
24611
  },
24612
24612
  {
24613
24613
  title: "Ministry",
@@ -24615,12 +24615,14 @@ var NdcDetailsComponent = function (props) {
24615
24615
  key: "ministry",
24616
24616
  align: "left",
24617
24617
  editable: true,
24618
+ width: "30%",
24618
24619
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(antd.Space, { size: "middle" },
24619
- React.createElement("span", null, record.ministry))) : (React.createElement("input", { className: "ant-input", disabled: true, type: "text" })))); },
24620
+ React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Ministry name", className: "ant-input", disabled: true, type: "text" })))); },
24620
24621
  },
24621
24622
  {
24622
24623
  title: "Action",
24623
24624
  dataIndex: "operation",
24625
+ width: "10%",
24624
24626
  render: function (_, record) {
24625
24627
  var editable = isEditing(record);
24626
24628
  return editable ? (React.createElement("span", null,
@@ -24655,9 +24657,9 @@ var NdcDetailsComponent = function (props) {
24655
24657
  type: NdcActionType.main,
24656
24658
  startDate: new Date("".concat(Number(range[0]), "-01-24 23:12:00")),
24657
24659
  endDate: new Date("".concat(Number(range[0]), "-12-24 23:12:00")),
24658
- nationalPlanObj: t("ndc:enterNewPlanTxt"),
24659
- kpi: 0,
24660
- ministry: "Please add the Ministry name",
24660
+ nationalPlanObj: "",
24661
+ kpi: "",
24662
+ ministry: "",
24661
24663
  subNdcDetails: [
24662
24664
  {
24663
24665
  key: ++addedNdcDetailId.current,