@adiba-banking-cloud/backoffice 0.2.28 → 0.2.29
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-CjDoSPqp.js} +1 -1
- package/build/index.cjs.js/{index-B8ygF6T8.js → index-BIxpUyqX.js} +10 -6
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-CYOPx-_h.js → heatmap-FeIIHfff.js} +1 -1
- package/build/index.esm.js/{index-CzYOlCzh.js → index-BPoGRpaT.js} +10 -6
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/widgets/chat/Chat.types.d.ts +4 -2
- 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-CjDoSPqp.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);
|
|
@@ -14893,7 +14893,7 @@ const ChatBubble = _ref => {
|
|
|
14893
14893
|
}));
|
|
14894
14894
|
};
|
|
14895
14895
|
|
|
14896
|
-
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "
|
|
14896
|
+
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "onMessageAction", "onViewSharedFiles", "onMore", "className", "style"];
|
|
14897
14897
|
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
14898
|
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
14899
|
const ChatHeader = _ref => {
|
|
@@ -14903,7 +14903,8 @@ const ChatHeader = _ref => {
|
|
|
14903
14903
|
status,
|
|
14904
14904
|
onBack,
|
|
14905
14905
|
onCall,
|
|
14906
|
-
|
|
14906
|
+
onMessageAction,
|
|
14907
|
+
onViewSharedFiles,
|
|
14907
14908
|
onMore,
|
|
14908
14909
|
className,
|
|
14909
14910
|
style
|
|
@@ -14992,7 +14993,8 @@ const ChatHeader = _ref => {
|
|
|
14992
14993
|
variant: "transparent",
|
|
14993
14994
|
color: "gray",
|
|
14994
14995
|
size: "lg",
|
|
14995
|
-
radius: "xl"
|
|
14996
|
+
radius: "xl",
|
|
14997
|
+
onClick: onMore
|
|
14996
14998
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
14997
14999
|
name: "MoreCircle",
|
|
14998
15000
|
size: 20
|
|
@@ -15012,7 +15014,8 @@ const ChatHeader = _ref => {
|
|
|
15012
15014
|
variant: "transparent",
|
|
15013
15015
|
color: "gray",
|
|
15014
15016
|
size: "lg",
|
|
15015
|
-
radius: "xl"
|
|
15017
|
+
radius: "xl",
|
|
15018
|
+
onClick: onViewSharedFiles
|
|
15016
15019
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
15017
15020
|
name: "ReceiveSquare",
|
|
15018
15021
|
size: 20
|
|
@@ -15028,7 +15031,8 @@ const ChatHeader = _ref => {
|
|
|
15028
15031
|
variant: "transparent",
|
|
15029
15032
|
color: "gray",
|
|
15030
15033
|
size: "lg",
|
|
15031
|
-
radius: "xl"
|
|
15034
|
+
radius: "xl",
|
|
15035
|
+
onClick: onMessageAction
|
|
15032
15036
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
15033
15037
|
name: "Sms",
|
|
15034
15038
|
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-FeIIHfff.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);
|
|
@@ -14872,7 +14872,7 @@ const ChatBubble = _ref => {
|
|
|
14872
14872
|
}));
|
|
14873
14873
|
};
|
|
14874
14874
|
|
|
14875
|
-
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "
|
|
14875
|
+
const _excluded$3 = ["name", "avatar", "status", "onBack", "onCall", "onMessageAction", "onViewSharedFiles", "onMore", "className", "style"];
|
|
14876
14876
|
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
14877
|
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
14878
|
const ChatHeader = _ref => {
|
|
@@ -14882,7 +14882,8 @@ const ChatHeader = _ref => {
|
|
|
14882
14882
|
status,
|
|
14883
14883
|
onBack,
|
|
14884
14884
|
onCall,
|
|
14885
|
-
|
|
14885
|
+
onMessageAction,
|
|
14886
|
+
onViewSharedFiles,
|
|
14886
14887
|
onMore,
|
|
14887
14888
|
className,
|
|
14888
14889
|
style
|
|
@@ -14971,7 +14972,8 @@ const ChatHeader = _ref => {
|
|
|
14971
14972
|
variant: "transparent",
|
|
14972
14973
|
color: "gray",
|
|
14973
14974
|
size: "lg",
|
|
14974
|
-
radius: "xl"
|
|
14975
|
+
radius: "xl",
|
|
14976
|
+
onClick: onMore
|
|
14975
14977
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
14976
14978
|
name: "MoreCircle",
|
|
14977
14979
|
size: 20
|
|
@@ -14991,7 +14993,8 @@ const ChatHeader = _ref => {
|
|
|
14991
14993
|
variant: "transparent",
|
|
14992
14994
|
color: "gray",
|
|
14993
14995
|
size: "lg",
|
|
14994
|
-
radius: "xl"
|
|
14996
|
+
radius: "xl",
|
|
14997
|
+
onClick: onViewSharedFiles
|
|
14995
14998
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
14996
14999
|
name: "ReceiveSquare",
|
|
14997
15000
|
size: 20
|
|
@@ -15007,7 +15010,8 @@ const ChatHeader = _ref => {
|
|
|
15007
15010
|
variant: "transparent",
|
|
15008
15011
|
color: "gray",
|
|
15009
15012
|
size: "lg",
|
|
15010
|
-
radius: "xl"
|
|
15013
|
+
radius: "xl",
|
|
15014
|
+
onClick: onMessageAction
|
|
15011
15015
|
}, /*#__PURE__*/React__default.createElement(Icons, {
|
|
15012
15016
|
name: "Sms",
|
|
15013
15017
|
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-BPoGRpaT.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
|
}
|
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.29",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|