@adiba-banking-cloud/backoffice 0.2.16 → 0.2.18

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CHvclor6.js');
3
+ var index = require('./index-BLwHqRAj.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -12169,7 +12169,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
12169
12169
  }
12170
12170
 
12171
12171
  // Fallback: use dynamic import (async, but will work in Vite/Storybook)
12172
- Promise.resolve().then(function () { return require('./heatmap-DvOwQTZm.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12172
+ Promise.resolve().then(function () { return require('./heatmap-BYTcsdYX.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12173
12173
  const moduleFn = typeof heatmapModule === "function" ? heatmapModule : (heatmapModule === null || heatmapModule === void 0 ? void 0 : heatmapModule.default) || heatmapModule;
12174
12174
  if (typeof moduleFn === "function") {
12175
12175
  moduleFn(Highcharts);
@@ -14134,7 +14134,10 @@ const File = _ref => {
14134
14134
  flex: 1
14135
14135
  }), rightsection ? /*#__PURE__*/React.createElement(core.ActionIcon, {
14136
14136
  variant: "transparent",
14137
- onClick: rightsection.onClick
14137
+ onClick: e => {
14138
+ e.stopPropagation();
14139
+ rightsection.onClick(e);
14140
+ }
14138
14141
  }, /*#__PURE__*/React.createElement(Icons, rightsection === null || rightsection === void 0 ? void 0 : rightsection.icon)) : undefined)));
14139
14142
  };
14140
14143
 
@@ -14740,8 +14743,8 @@ const SimpleForm = _ref => {
14740
14743
  hasSubmit,
14741
14744
  hasReset,
14742
14745
  buttonSize = "lg",
14743
- submitButtonIcon = false,
14744
- cancelButtonIcon = false,
14746
+ submitButtonIcon = true,
14747
+ cancelButtonIcon = true,
14745
14748
  submitButtonLabel = "Save",
14746
14749
  cancelButtonLabel = "Cancel"
14747
14750
  } = _ref,
@@ -14858,8 +14861,8 @@ const FormButtons = _ref3 => {
14858
14861
  buttonSize,
14859
14862
  submitButtonLabel = "Save",
14860
14863
  cancelButtonLabel = "Cancel",
14861
- submitButtonIcon = false,
14862
- cancelButtonIcon = false
14864
+ submitButtonIcon = true,
14865
+ cancelButtonIcon = true
14863
14866
  } = _ref3;
14864
14867
  return /*#__PURE__*/React.createElement(core.Group, {
14865
14868
  mt: "lg",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CHvclor6.js');
3
+ var index = require('./index-BLwHqRAj.js');
4
4
  require('@babel/runtime/helpers/objectWithoutProperties');
5
5
  require('@babel/runtime/helpers/defineProperty');
6
6
  require('@mantine/modals');
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './index-Cj7RGh_q.js';
1
+ import { g as getDefaultExportFromCjs } from './index-Yg6o7BnY.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -12148,7 +12148,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
12148
12148
  }
12149
12149
 
12150
12150
  // Fallback: use dynamic import (async, but will work in Vite/Storybook)
12151
- import('./heatmap-BTmJaRuJ.js').then(function (n) { return n.h; }).then(heatmapModule => {
12151
+ import('./heatmap-B46iupwZ.js').then(function (n) { return n.h; }).then(heatmapModule => {
12152
12152
  const moduleFn = typeof heatmapModule === "function" ? heatmapModule : (heatmapModule === null || heatmapModule === void 0 ? void 0 : heatmapModule.default) || heatmapModule;
12153
12153
  if (typeof moduleFn === "function") {
12154
12154
  moduleFn(Highcharts);
@@ -14113,7 +14113,10 @@ const File = _ref => {
14113
14113
  flex: 1
14114
14114
  }), rightsection ? /*#__PURE__*/React__default.createElement(ActionIcon, {
14115
14115
  variant: "transparent",
14116
- onClick: rightsection.onClick
14116
+ onClick: e => {
14117
+ e.stopPropagation();
14118
+ rightsection.onClick(e);
14119
+ }
14117
14120
  }, /*#__PURE__*/React__default.createElement(Icons, rightsection === null || rightsection === void 0 ? void 0 : rightsection.icon)) : undefined)));
14118
14121
  };
14119
14122
 
@@ -14719,8 +14722,8 @@ const SimpleForm = _ref => {
14719
14722
  hasSubmit,
14720
14723
  hasReset,
14721
14724
  buttonSize = "lg",
14722
- submitButtonIcon = false,
14723
- cancelButtonIcon = false,
14725
+ submitButtonIcon = true,
14726
+ cancelButtonIcon = true,
14724
14727
  submitButtonLabel = "Save",
14725
14728
  cancelButtonLabel = "Cancel"
14726
14729
  } = _ref,
@@ -14837,8 +14840,8 @@ const FormButtons = _ref3 => {
14837
14840
  buttonSize,
14838
14841
  submitButtonLabel = "Save",
14839
14842
  cancelButtonLabel = "Cancel",
14840
- submitButtonIcon = false,
14841
- cancelButtonIcon = false
14843
+ submitButtonIcon = true,
14844
+ cancelButtonIcon = true
14842
14845
  } = _ref3;
14843
14846
  return /*#__PURE__*/React__default.createElement(Group, {
14844
14847
  mt: "lg",
@@ -1,4 +1,4 @@
1
- export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a2 as DEFAULT_API_TIMEOUT, a0 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, Q as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, O as LoadingModal, a1 as MAX_PAGE_SIZE, V as MaskedTilePanel, X as MerchantCard, a5 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, R as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, Y as TableStateView, W as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a4 as apiClient, a3 as createApiClient, a7 as extractBetweenBraces, a8 as extractOutsideBraces, z as theme, _ as useManagedModals, Z as useModal, $ as useUrlFilters, a6 as withProviders } from './index-Cj7RGh_q.js';
1
+ export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a2 as DEFAULT_API_TIMEOUT, a0 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, Q as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, O as LoadingModal, a1 as MAX_PAGE_SIZE, V as MaskedTilePanel, X as MerchantCard, a5 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, R as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, Y as TableStateView, W as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a4 as apiClient, a3 as createApiClient, a7 as extractBetweenBraces, a8 as extractOutsideBraces, z as theme, _ as useManagedModals, Z as useModal, $ as useUrlFilters, a6 as withProviders } from './index-Yg6o7BnY.js';
2
2
  import '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import '@babel/runtime/helpers/defineProperty';
4
4
  import '@mantine/modals';
@@ -8,4 +8,5 @@ export interface FileProps extends CardProps {
8
8
  icon: IconsProps;
9
9
  onClick: (e: any) => void;
10
10
  };
11
+ onClick?: (e: any) => void;
11
12
  }
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.2.16",
4
+ "version": "0.2.18",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",