@adiba-banking-cloud/backoffice 0.0.40 → 0.0.42

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.
@@ -12545,9 +12545,10 @@ const ConnectionPanelDetail = _ref => {
12545
12545
  }, value));
12546
12546
  };
12547
12547
 
12548
- const _excluded$3 = ["statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
12548
+ const _excluded$3 = ["id", "statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
12549
12549
  const ConnectionPanel = _ref => {
12550
12550
  let {
12551
+ id,
12551
12552
  statusColor,
12552
12553
  name,
12553
12554
  status,
@@ -12605,7 +12606,8 @@ const ConnectionPanel = _ref => {
12605
12606
  onClick: edit.onClick,
12606
12607
  rightSection: /*#__PURE__*/React.createElement(Icons, {
12607
12608
  name: "ArrowRight2"
12608
- })
12609
+ }),
12610
+ "data-index": id
12609
12611
  }, /*#__PURE__*/React.createElement(core.Text, {
12610
12612
  size: "xs",
12611
12613
  fw: 300
@@ -12614,7 +12616,8 @@ const ConnectionPanel = _ref => {
12614
12616
  onClick: test.onClick,
12615
12617
  rightSection: /*#__PURE__*/React.createElement(Icons, {
12616
12618
  name: "ArrowRight2"
12617
- })
12619
+ }),
12620
+ "data-index": id
12618
12621
  }, /*#__PURE__*/React.createElement(core.Text, {
12619
12622
  size: "xs",
12620
12623
  fw: 300
@@ -12625,7 +12628,8 @@ const ConnectionPanel = _ref => {
12625
12628
  leftSection: /*#__PURE__*/React.createElement(Icons, {
12626
12629
  name: "PauseCircle",
12627
12630
  color: "red"
12628
- })
12631
+ }),
12632
+ "data-index": id
12629
12633
  }, /*#__PURE__*/React.createElement(core.Text, {
12630
12634
  size: "xs",
12631
12635
  fw: 300
@@ -13119,8 +13123,7 @@ const SuccessModal = _ref => {
13119
13123
  pb: "md"
13120
13124
  }, /*#__PURE__*/React.createElement(core.Center, {
13121
13125
  w: 170,
13122
- h: 170,
13123
- p: 25
13126
+ h: 170
13124
13127
  }, /*#__PURE__*/React.createElement(dotlottieReact.DotLottieReact, {
13125
13128
  speed: 0.8,
13126
13129
  src: SuccessAnimation,
@@ -13129,8 +13132,10 @@ const SuccessModal = _ref => {
13129
13132
  })), /*#__PURE__*/React.createElement(core.Text, {
13130
13133
  ta: "center"
13131
13134
  }, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
13135
+ radius: "xl",
13136
+ fw: 300,
13137
+ size: "md",
13132
13138
  fullWidth: true,
13133
- mt: "md",
13134
13139
  onClick: () => {
13135
13140
  innerProps.button.onClick();
13136
13141
  context.closeAll();
@@ -13165,13 +13170,12 @@ const ConfirmModal = _ref => {
13165
13170
  p: 0,
13166
13171
  pb: "md"
13167
13172
  }, /*#__PURE__*/React.createElement(core.Center, {
13168
- w: 170,
13169
- h: 170,
13173
+ w: 150,
13174
+ h: 150,
13170
13175
  p: 25
13171
13176
  }, /*#__PURE__*/React.createElement(dotlottieReact.DotLottieReact, {
13172
13177
  speed: 0.8,
13173
13178
  src: ConfirmAnimation,
13174
- loop: false,
13175
13179
  autoplay: true
13176
13180
  })), /*#__PURE__*/React.createElement(core.Text, {
13177
13181
  ta: "center",
@@ -12524,9 +12524,10 @@ const ConnectionPanelDetail = _ref => {
12524
12524
  }, value));
12525
12525
  };
12526
12526
 
12527
- const _excluded$3 = ["statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
12527
+ const _excluded$3 = ["id", "statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
12528
12528
  const ConnectionPanel = _ref => {
12529
12529
  let {
12530
+ id,
12530
12531
  statusColor,
12531
12532
  name,
12532
12533
  status,
@@ -12584,7 +12585,8 @@ const ConnectionPanel = _ref => {
12584
12585
  onClick: edit.onClick,
12585
12586
  rightSection: /*#__PURE__*/React.createElement(Icons, {
12586
12587
  name: "ArrowRight2"
12587
- })
12588
+ }),
12589
+ "data-index": id
12588
12590
  }, /*#__PURE__*/React.createElement(Text, {
12589
12591
  size: "xs",
12590
12592
  fw: 300
@@ -12593,7 +12595,8 @@ const ConnectionPanel = _ref => {
12593
12595
  onClick: test.onClick,
12594
12596
  rightSection: /*#__PURE__*/React.createElement(Icons, {
12595
12597
  name: "ArrowRight2"
12596
- })
12598
+ }),
12599
+ "data-index": id
12597
12600
  }, /*#__PURE__*/React.createElement(Text, {
12598
12601
  size: "xs",
12599
12602
  fw: 300
@@ -12604,7 +12607,8 @@ const ConnectionPanel = _ref => {
12604
12607
  leftSection: /*#__PURE__*/React.createElement(Icons, {
12605
12608
  name: "PauseCircle",
12606
12609
  color: "red"
12607
- })
12610
+ }),
12611
+ "data-index": id
12608
12612
  }, /*#__PURE__*/React.createElement(Text, {
12609
12613
  size: "xs",
12610
12614
  fw: 300
@@ -13098,8 +13102,7 @@ const SuccessModal = _ref => {
13098
13102
  pb: "md"
13099
13103
  }, /*#__PURE__*/React.createElement(Center, {
13100
13104
  w: 170,
13101
- h: 170,
13102
- p: 25
13105
+ h: 170
13103
13106
  }, /*#__PURE__*/React.createElement(DotLottieReact, {
13104
13107
  speed: 0.8,
13105
13108
  src: SuccessAnimation,
@@ -13108,8 +13111,10 @@ const SuccessModal = _ref => {
13108
13111
  })), /*#__PURE__*/React.createElement(Text, {
13109
13112
  ta: "center"
13110
13113
  }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13114
+ radius: "xl",
13115
+ fw: 300,
13116
+ size: "md",
13111
13117
  fullWidth: true,
13112
- mt: "md",
13113
13118
  onClick: () => {
13114
13119
  innerProps.button.onClick();
13115
13120
  context.closeAll();
@@ -13144,13 +13149,12 @@ const ConfirmModal = _ref => {
13144
13149
  p: 0,
13145
13150
  pb: "md"
13146
13151
  }, /*#__PURE__*/React.createElement(Center, {
13147
- w: 170,
13148
- h: 170,
13152
+ w: 150,
13153
+ h: 150,
13149
13154
  p: 25
13150
13155
  }, /*#__PURE__*/React.createElement(DotLottieReact, {
13151
13156
  speed: 0.8,
13152
13157
  src: ConfirmAnimation,
13153
- loop: false,
13154
13158
  autoplay: true
13155
13159
  })), /*#__PURE__*/React.createElement(Text, {
13156
13160
  ta: "center",
@@ -1,5 +1,6 @@
1
1
  import { CardProps, MantineColor } from "@mantine/core";
2
2
  export interface ConnectionPanelProps extends CardProps {
3
+ id: string;
3
4
  name: string;
4
5
  status: string;
5
6
  statusColor: "lime" | "red" | "gold" | "lightgray";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.40",
4
+ "version": "0.0.42",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",