@adiba-banking-cloud/backoffice 0.2.9 → 0.2.10
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.
- package/build/index.cjs.js/{heatmap-DSwEvAgV.js → heatmap-_D5OU8ZP.js} +1 -1
- package/build/index.cjs.js/{index-CmB3nHMK.js → index-DjW9AQZ6.js} +16 -2
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-xZGxsnpC.js → heatmap-D9h9IQbO.js} +1 -1
- package/build/index.esm.js/{index-CYUn9N5k.js → index-CJBa9lSI.js} +16 -2
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/shared/hooks/modals/useModal.d.ts +2 -1
- package/build/typings/shared/hooks/modals/useModal.types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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-
|
|
12172
|
+
Promise.resolve().then(function () { return require('./heatmap-_D5OU8ZP.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);
|
|
@@ -15390,13 +15390,27 @@ const useModal = () => {
|
|
|
15390
15390
|
labels
|
|
15391
15391
|
}, rest));
|
|
15392
15392
|
};
|
|
15393
|
+
const LoadingModal = _ref6 => {
|
|
15394
|
+
let {
|
|
15395
|
+
message,
|
|
15396
|
+
loading
|
|
15397
|
+
} = _ref6;
|
|
15398
|
+
return modals.modals.openContextModal({
|
|
15399
|
+
modal: "LoadingModal",
|
|
15400
|
+
innerProps: {
|
|
15401
|
+
modalBody: message,
|
|
15402
|
+
loading: loading
|
|
15403
|
+
}
|
|
15404
|
+
});
|
|
15405
|
+
};
|
|
15393
15406
|
return {
|
|
15394
15407
|
ConfirmationModal,
|
|
15395
15408
|
ErrorModal,
|
|
15396
15409
|
InfoModal,
|
|
15397
15410
|
SimpleModal,
|
|
15398
15411
|
SuccessModal,
|
|
15399
|
-
TwoFactorVerificationModal
|
|
15412
|
+
TwoFactorVerificationModal,
|
|
15413
|
+
LoadingModal
|
|
15400
15414
|
};
|
|
15401
15415
|
};
|
|
15402
15416
|
|
|
@@ -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-
|
|
12151
|
+
import('./heatmap-D9h9IQbO.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);
|
|
@@ -15369,13 +15369,27 @@ const useModal = () => {
|
|
|
15369
15369
|
labels
|
|
15370
15370
|
}, rest));
|
|
15371
15371
|
};
|
|
15372
|
+
const LoadingModal = _ref6 => {
|
|
15373
|
+
let {
|
|
15374
|
+
message,
|
|
15375
|
+
loading
|
|
15376
|
+
} = _ref6;
|
|
15377
|
+
return modals.openContextModal({
|
|
15378
|
+
modal: "LoadingModal",
|
|
15379
|
+
innerProps: {
|
|
15380
|
+
modalBody: message,
|
|
15381
|
+
loading: loading
|
|
15382
|
+
}
|
|
15383
|
+
});
|
|
15384
|
+
};
|
|
15372
15385
|
return {
|
|
15373
15386
|
ConfirmationModal,
|
|
15374
15387
|
ErrorModal,
|
|
15375
15388
|
InfoModal,
|
|
15376
15389
|
SimpleModal,
|
|
15377
15390
|
SuccessModal,
|
|
15378
|
-
TwoFactorVerificationModal
|
|
15391
|
+
TwoFactorVerificationModal,
|
|
15392
|
+
LoadingModal
|
|
15379
15393
|
};
|
|
15380
15394
|
};
|
|
15381
15395
|
|
|
@@ -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, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O 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, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 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, Q 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, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-
|
|
1
|
+
export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O 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, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 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, Q 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, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-CJBa9lSI.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@mantine/modals';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfirmationModalProps, ErrorModalProps, SimpleModalProps, SuccessModalProps, TwoFactorVerificationModalProps } from "./useModal.types";
|
|
1
|
+
import { ConfirmationModalProps, ErrorModalProps, SimpleModalProps, SuccessModalProps, TwoFactorVerificationModalProps, LoadingModalProps } from "./useModal.types";
|
|
2
2
|
export declare const useModal: () => {
|
|
3
3
|
ConfirmationModal: ({ title, children, onConfirm, labels, loading, }: ConfirmationModalProps) => string;
|
|
4
4
|
ErrorModal: ({ title, message, button, }: ErrorModalProps) => string;
|
|
@@ -6,4 +6,5 @@ export declare const useModal: () => {
|
|
|
6
6
|
SimpleModal: ({ title, message, loading, size, labels, }: SimpleModalProps) => string;
|
|
7
7
|
SuccessModal: ({ title, message, button, }: SuccessModalProps) => string;
|
|
8
8
|
TwoFactorVerificationModal: ({ title, children, loading, onConfirm, labels, pinLength, ...rest }: TwoFactorVerificationModalProps) => string;
|
|
9
|
+
LoadingModal: ({ message, loading }: LoadingModalProps) => string;
|
|
9
10
|
};
|
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.
|
|
4
|
+
"version": "0.2.10",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|