@adiba-banking-cloud/backoffice 0.2.12 → 0.2.14

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-pKznKhsF.js');
3
+ var index = require('./index-DTJ-EzlZ.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-BDE_EHXb.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12172
+ Promise.resolve().then(function () { return require('./heatmap-ivmUasA7.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);
@@ -14621,12 +14621,12 @@ const SimpleModal = _ref => {
14621
14621
  context,
14622
14622
  id,
14623
14623
  innerProps
14624
- } = _ref;
14625
- _objectWithoutProperties(_ref, _excluded$3);
14626
- return /*#__PURE__*/React.createElement(core.Stack, {
14624
+ } = _ref,
14625
+ rest = _objectWithoutProperties(_ref, _excluded$3);
14626
+ return /*#__PURE__*/React.createElement(core.Stack, _extends({
14627
14627
  pt: "lg",
14628
14628
  gap: "xl"
14629
- }, /*#__PURE__*/React.createElement(core.Stack, {
14629
+ }, rest), /*#__PURE__*/React.createElement(core.Stack, {
14630
14630
  align: "center",
14631
14631
  gap: "lg"
14632
14632
  }, /*#__PURE__*/React.createElement(core.Title, {
@@ -15371,11 +15371,11 @@ const useModal = () => {
15371
15371
  } = _ref3;
15372
15372
  return modals.modals.openContextModal({
15373
15373
  modal: "SimpleModal",
15374
+ size: size,
15374
15375
  innerProps: {
15375
15376
  modalBody: message,
15376
15377
  loading: loading,
15377
15378
  title: title,
15378
- size: size,
15379
15379
  buttonProps: undefined
15380
15380
  }
15381
15381
  });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-pKznKhsF.js');
3
+ var index = require('./index-DTJ-EzlZ.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-DuvRupPe.js';
1
+ import { g as getDefaultExportFromCjs } from './index-Ddct1CtR.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-BraxZzgf.js').then(function (n) { return n.h; }).then(heatmapModule => {
12151
+ import('./heatmap-DMuUoNe8.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);
@@ -14600,12 +14600,12 @@ const SimpleModal = _ref => {
14600
14600
  context,
14601
14601
  id,
14602
14602
  innerProps
14603
- } = _ref;
14604
- _objectWithoutProperties(_ref, _excluded$3);
14605
- return /*#__PURE__*/React__default.createElement(Stack, {
14603
+ } = _ref,
14604
+ rest = _objectWithoutProperties(_ref, _excluded$3);
14605
+ return /*#__PURE__*/React__default.createElement(Stack, _extends({
14606
14606
  pt: "lg",
14607
14607
  gap: "xl"
14608
- }, /*#__PURE__*/React__default.createElement(Stack, {
14608
+ }, rest), /*#__PURE__*/React__default.createElement(Stack, {
14609
14609
  align: "center",
14610
14610
  gap: "lg"
14611
14611
  }, /*#__PURE__*/React__default.createElement(Title, {
@@ -15350,11 +15350,11 @@ const useModal = () => {
15350
15350
  } = _ref3;
15351
15351
  return modals.openContextModal({
15352
15352
  modal: "SimpleModal",
15353
+ size: size,
15353
15354
  innerProps: {
15354
15355
  modalBody: message,
15355
15356
  loading: loading,
15356
15357
  title: title,
15357
- size: size,
15358
15358
  buttonProps: undefined
15359
15359
  }
15360
15360
  });
@@ -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-DuvRupPe.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-Ddct1CtR.js';
2
2
  import '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import '@babel/runtime/helpers/defineProperty';
4
4
  import '@mantine/modals';
@@ -7,6 +7,7 @@ export interface DrawerActionProps {
7
7
  }
8
8
  export interface ModalActionProps {
9
9
  modalId?: string;
10
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | number;
10
11
  type: "confirmation" | "error" | "simple" | "success" | "2fa" | "loading";
11
12
  title: string;
12
13
  children?: React.ReactNode;
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.12",
4
+ "version": "0.2.14",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",