@adiba-banking-cloud/backoffice 0.2.28 → 0.2.30
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-_eSrjYlG.js → heatmap-D66SvlQ2.js} +1 -1
- package/build/index.cjs.js/{index-B8ygF6T8.js → index-HP0Bffrf.js} +17 -8
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-CYOPx-_h.js → heatmap-DhQ9x9Qc.js} +1 -1
- package/build/index.esm.js/{index-CzYOlCzh.js → index-BEmi6HIN.js} +17 -8
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/widgets/chat/Chat.types.d.ts +4 -2
- package/build/typings/components/widgets/payment_method/PaymentMethod.stories.d.ts +1 -0
- package/build/typings/components/widgets/payment_method/PaymentMethod.types.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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-D66SvlQ2.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);
|
|
@@ -14347,14 +14347,19 @@ const PaymentMethod = _ref => {
|
|
|
14347
14347
|
isActive,
|
|
14348
14348
|
pan,
|
|
14349
14349
|
type,
|
|
14350
|
-
exp
|
|
14350
|
+
exp,
|
|
14351
|
+
onClick
|
|
14351
14352
|
} = _ref;
|
|
14352
14353
|
return /*#__PURE__*/React.createElement(core.Card, {
|
|
14353
14354
|
withBorder: true,
|
|
14354
14355
|
radius: "md",
|
|
14355
14356
|
p: 0,
|
|
14356
14357
|
bg: isActive ? "gray.1" : "white",
|
|
14357
|
-
w: 330
|
|
14358
|
+
w: 330,
|
|
14359
|
+
onClick: onClick,
|
|
14360
|
+
style: {
|
|
14361
|
+
cursor: "pointer"
|
|
14362
|
+
}
|
|
14358
14363
|
}, /*#__PURE__*/React.createElement(core.Group, {
|
|
14359
14364
|
gap: "md",
|
|
14360
14365
|
px: "sm"
|
|
@@ -14893,7 +14898,7 @@ const ChatBubble = _ref => {
|
|
|
14893
14898
|
}));
|
|
14894
14899
|
};
|
|
14895
14900
|
|
|
14896
|
-
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "
|
|
14901
|
+
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "onMessageAction", "onViewSharedFiles", "onMore", "className", "style"];
|
|
14897
14902
|
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14898
14903
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14899
14904
|
const ChatHeader = _ref => {
|
|
@@ -14903,7 +14908,8 @@ const ChatHeader = _ref => {
|
|
|
14903
14908
|
status,
|
|
14904
14909
|
onBack,
|
|
14905
14910
|
onCall,
|
|
14906
|
-
|
|
14911
|
+
onMessageAction,
|
|
14912
|
+
onViewSharedFiles,
|
|
14907
14913
|
onMore,
|
|
14908
14914
|
className,
|
|
14909
14915
|
style
|
|
@@ -14992,7 +14998,8 @@ const ChatHeader = _ref => {
|
|
|
14992
14998
|
variant: "transparent",
|
|
14993
14999
|
color: "gray",
|
|
14994
15000
|
size: "lg",
|
|
14995
|
-
radius: "xl"
|
|
15001
|
+
radius: "xl",
|
|
15002
|
+
onClick: onMore
|
|
14996
15003
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
14997
15004
|
name: "MoreCircle",
|
|
14998
15005
|
size: 20
|
|
@@ -15012,7 +15019,8 @@ const ChatHeader = _ref => {
|
|
|
15012
15019
|
variant: "transparent",
|
|
15013
15020
|
color: "gray",
|
|
15014
15021
|
size: "lg",
|
|
15015
|
-
radius: "xl"
|
|
15022
|
+
radius: "xl",
|
|
15023
|
+
onClick: onViewSharedFiles
|
|
15016
15024
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
15017
15025
|
name: "ReceiveSquare",
|
|
15018
15026
|
size: 20
|
|
@@ -15028,7 +15036,8 @@ const ChatHeader = _ref => {
|
|
|
15028
15036
|
variant: "transparent",
|
|
15029
15037
|
color: "gray",
|
|
15030
15038
|
size: "lg",
|
|
15031
|
-
radius: "xl"
|
|
15039
|
+
radius: "xl",
|
|
15040
|
+
onClick: onMessageAction
|
|
15032
15041
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
15033
15042
|
name: "Sms",
|
|
15034
15043
|
size: 20
|
|
@@ -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-DhQ9x9Qc.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);
|
|
@@ -14326,14 +14326,19 @@ const PaymentMethod = _ref => {
|
|
|
14326
14326
|
isActive,
|
|
14327
14327
|
pan,
|
|
14328
14328
|
type,
|
|
14329
|
-
exp
|
|
14329
|
+
exp,
|
|
14330
|
+
onClick
|
|
14330
14331
|
} = _ref;
|
|
14331
14332
|
return /*#__PURE__*/React__default.createElement(Card, {
|
|
14332
14333
|
withBorder: true,
|
|
14333
14334
|
radius: "md",
|
|
14334
14335
|
p: 0,
|
|
14335
14336
|
bg: isActive ? "gray.1" : "white",
|
|
14336
|
-
w: 330
|
|
14337
|
+
w: 330,
|
|
14338
|
+
onClick: onClick,
|
|
14339
|
+
style: {
|
|
14340
|
+
cursor: "pointer"
|
|
14341
|
+
}
|
|
14337
14342
|
}, /*#__PURE__*/React__default.createElement(Group, {
|
|
14338
14343
|
gap: "md",
|
|
14339
14344
|
px: "sm"
|
|
@@ -14872,7 +14877,7 @@ const ChatBubble = _ref => {
|
|
|
14872
14877
|
}));
|
|
14873
14878
|
};
|
|
14874
14879
|
|
|
14875
|
-
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "
|
|
14880
|
+
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "onMessageAction", "onViewSharedFiles", "onMore", "className", "style"];
|
|
14876
14881
|
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14877
14882
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14878
14883
|
const ChatHeader = _ref => {
|
|
@@ -14882,7 +14887,8 @@ const ChatHeader = _ref => {
|
|
|
14882
14887
|
status,
|
|
14883
14888
|
onBack,
|
|
14884
14889
|
onCall,
|
|
14885
|
-
|
|
14890
|
+
onMessageAction,
|
|
14891
|
+
onViewSharedFiles,
|
|
14886
14892
|
onMore,
|
|
14887
14893
|
className,
|
|
14888
14894
|
style
|
|
@@ -14971,7 +14977,8 @@ const ChatHeader = _ref => {
|
|
|
14971
14977
|
variant: "transparent",
|
|
14972
14978
|
color: "gray",
|
|
14973
14979
|
size: "lg",
|
|
14974
|
-
radius: "xl"
|
|
14980
|
+
radius: "xl",
|
|
14981
|
+
onClick: onMore
|
|
14975
14982
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
14976
14983
|
name: "MoreCircle",
|
|
14977
14984
|
size: 20
|
|
@@ -14991,7 +14998,8 @@ const ChatHeader = _ref => {
|
|
|
14991
14998
|
variant: "transparent",
|
|
14992
14999
|
color: "gray",
|
|
14993
15000
|
size: "lg",
|
|
14994
|
-
radius: "xl"
|
|
15001
|
+
radius: "xl",
|
|
15002
|
+
onClick: onViewSharedFiles
|
|
14995
15003
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
14996
15004
|
name: "ReceiveSquare",
|
|
14997
15005
|
size: 20
|
|
@@ -15007,7 +15015,8 @@ const ChatHeader = _ref => {
|
|
|
15007
15015
|
variant: "transparent",
|
|
15008
15016
|
color: "gray",
|
|
15009
15017
|
size: "lg",
|
|
15010
|
-
radius: "xl"
|
|
15018
|
+
radius: "xl",
|
|
15019
|
+
onClick: onMessageAction
|
|
15011
15020
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
15012
15021
|
name: "Sms",
|
|
15013
15022
|
size: 20
|
|
@@ -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-BEmi6HIN.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@mantine/modals';
|
|
@@ -55,8 +55,10 @@ export interface ChatHeaderProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
|
55
55
|
onBack?: () => void;
|
|
56
56
|
/** Handler for call action */
|
|
57
57
|
onCall?: () => void;
|
|
58
|
-
/** Handler for
|
|
59
|
-
|
|
58
|
+
/** Handler for view shared files action */
|
|
59
|
+
onViewSharedFiles?: () => void;
|
|
60
60
|
/** Handler for more options */
|
|
61
61
|
onMore?: () => void;
|
|
62
|
+
/** Handler for message action */
|
|
63
|
+
onMessageAction?: () => void;
|
|
62
64
|
}
|
|
@@ -4,3 +4,4 @@ import { PaymentMethod } from "./PaymentMethod";
|
|
|
4
4
|
declare const _default: Meta<typeof PaymentMethod>;
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const SubscriptionPlansItem: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./PaymentMethod.types").PaymentMethodProps>;
|
|
7
|
+
export declare const InteractiveSelection: () => import("react/jsx-runtime").JSX.Element;
|
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.30",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|
|
@@ -125,4 +125,4 @@
|
|
|
125
125
|
"url": "https://github.com/turog-technologies/adiba-common-libraries/issues"
|
|
126
126
|
},
|
|
127
127
|
"homepage": "https://github.com/turog-technologies/adiba-common-libraries"
|
|
128
|
-
}
|
|
128
|
+
}
|