@adiba-banking-cloud/backoffice 0.2.37 → 0.2.38
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-BBXcnNXP.js → heatmap-CWtAnHtj.js} +1 -1
- package/build/index.cjs.js/{index-dNJ63nc8.js → index-Bqwk9Y3j.js} +5 -3
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-irWxHDY_.js → heatmap-CEYZLTBF.js} +1 -1
- package/build/index.esm.js/{index-B1m_N_ji.js → index-DaqamyXX.js} +5 -3
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/shared/hocs/withProviders.d.ts +5 -0
- package/package.json +1 -1
|
@@ -12169,7 +12169,7 @@ function _objectSpread$b(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-CWtAnHtj.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);
|
|
@@ -16131,7 +16131,8 @@ function withProviders(Component) {
|
|
|
16131
16131
|
datesSettings = {
|
|
16132
16132
|
locale: "en",
|
|
16133
16133
|
timezone: "UTC"
|
|
16134
|
-
}
|
|
16134
|
+
},
|
|
16135
|
+
cssVariablesSelector
|
|
16135
16136
|
} = options;
|
|
16136
16137
|
const WrappedComponent = props => {
|
|
16137
16138
|
var _process$env;
|
|
@@ -16139,7 +16140,8 @@ function withProviders(Component) {
|
|
|
16139
16140
|
return /*#__PURE__*/React__namespace.createElement(reactQuery.QueryClientProvider, {
|
|
16140
16141
|
client: queryClient
|
|
16141
16142
|
}, /*#__PURE__*/React__namespace.createElement(core.MantineProvider, {
|
|
16142
|
-
theme: customTheme()
|
|
16143
|
+
theme: customTheme(),
|
|
16144
|
+
cssVariablesSelector: cssVariablesSelector
|
|
16143
16145
|
}, /*#__PURE__*/React__namespace.createElement(dates.DatesProvider, {
|
|
16144
16146
|
settings: datesSettings
|
|
16145
16147
|
}, /*#__PURE__*/React__namespace.createElement(Component, props), showDevtools && /*#__PURE__*/React__namespace.createElement(reactQueryDevtools.ReactQueryDevtools, null))));
|
|
@@ -12148,7 +12148,7 @@ function _objectSpread$b(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-CEYZLTBF.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);
|
|
@@ -16110,7 +16110,8 @@ function withProviders(Component) {
|
|
|
16110
16110
|
datesSettings = {
|
|
16111
16111
|
locale: "en",
|
|
16112
16112
|
timezone: "UTC"
|
|
16113
|
-
}
|
|
16113
|
+
},
|
|
16114
|
+
cssVariablesSelector
|
|
16114
16115
|
} = options;
|
|
16115
16116
|
const WrappedComponent = props => {
|
|
16116
16117
|
var _process$env;
|
|
@@ -16118,7 +16119,8 @@ function withProviders(Component) {
|
|
|
16118
16119
|
return /*#__PURE__*/React.createElement(QueryClientProvider, {
|
|
16119
16120
|
client: queryClient
|
|
16120
16121
|
}, /*#__PURE__*/React.createElement(MantineProvider, {
|
|
16121
|
-
theme: customTheme()
|
|
16122
|
+
theme: customTheme(),
|
|
16123
|
+
cssVariablesSelector: cssVariablesSelector
|
|
16122
16124
|
}, /*#__PURE__*/React.createElement(DatesProvider, {
|
|
16123
16125
|
settings: datesSettings
|
|
16124
16126
|
}, /*#__PURE__*/React.createElement(Component, props), showDevtools && /*#__PURE__*/React.createElement(ReactQueryDevtools, null))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, Q as ChatBubble, R as ChatHeader, O as ChatListCard, o as ConnectionPanel, u as CreditCard, a5 as DEFAULT_API_TIMEOUT, a3 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, W 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, V as LoadingModal, a4 as MAX_PAGE_SIZE, Y as MaskedTilePanel, _ as MerchantCard, a8 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, X 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, $ as TableStateView, Z as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a7 as apiClient, a6 as createApiClient, aa as extractBetweenBraces, ab as extractOutsideBraces, z as theme, a1 as useManagedModals, a0 as useModal, a2 as useUrlFilters, a9 as withProviders } from './index-
|
|
1
|
+
export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, Q as ChatBubble, R as ChatHeader, O as ChatListCard, o as ConnectionPanel, u as CreditCard, a5 as DEFAULT_API_TIMEOUT, a3 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, W 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, V as LoadingModal, a4 as MAX_PAGE_SIZE, Y as MaskedTilePanel, _ as MerchantCard, a8 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, X 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, $ as TableStateView, Z as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a7 as apiClient, a6 as createApiClient, aa as extractBetweenBraces, ab as extractOutsideBraces, z as theme, a1 as useManagedModals, a0 as useModal, a2 as useUrlFilters, a9 as withProviders } from './index-DaqamyXX.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@mantine/modals';
|
|
@@ -23,6 +23,11 @@ export interface WithProvidersOptions {
|
|
|
23
23
|
locale: string;
|
|
24
24
|
timezone: string;
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* Target CSS selector for Mantine variables
|
|
28
|
+
* Helpful for micro-frontends (Pilets) to avoid overwriting the host App Shell CSS
|
|
29
|
+
*/
|
|
30
|
+
cssVariablesSelector?: string;
|
|
26
31
|
}
|
|
27
32
|
/**
|
|
28
33
|
* Higher-order component that wraps a component with all necessary providers:
|
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.38",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|