@adiba-banking-cloud/backoffice 0.2.27 → 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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BUsbfRw6.js');
3
+ var index = require('./index-BIxpUyqX.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -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-DwZcPNaL.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
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", "onVideo", "onMore", "className", "style"];
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
- onVideo,
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
@@ -15023,35 +15026,16 @@ const ChatHeader = _ref => {
15023
15026
  px: {
15024
15027
  base: 4,
15025
15028
  md: 8
15026
- },
15027
- display: {
15028
- base: "none",
15029
- md: "block"
15030
15029
  }
15031
15030
  }, /*#__PURE__*/React.createElement(core.ActionIcon, {
15032
15031
  variant: "transparent",
15033
15032
  color: "gray",
15034
15033
  size: "lg",
15035
- radius: "xl"
15034
+ radius: "xl",
15035
+ onClick: onMessageAction
15036
15036
  }, /*#__PURE__*/React.createElement(Icons, {
15037
15037
  name: "Sms",
15038
15038
  size: 20
15039
- }))), /*#__PURE__*/React.createElement(core.Box, {
15040
- style: {
15041
- borderLeft: "1px solid #ECEDEF"
15042
- },
15043
- px: {
15044
- base: 4,
15045
- md: 8
15046
- }
15047
- }, /*#__PURE__*/React.createElement(core.ActionIcon, {
15048
- variant: "transparent",
15049
- color: "gray",
15050
- size: "lg",
15051
- radius: "xl"
15052
- }, /*#__PURE__*/React.createElement(Icons, {
15053
- name: "Call",
15054
- size: 20
15055
15039
  }))))));
15056
15040
  };
15057
15041
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BUsbfRw6.js');
3
+ var index = require('./index-BIxpUyqX.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-BJiARt6H.js';
1
+ import { g as getDefaultExportFromCjs } from './index-BPoGRpaT.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -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-Djbl24EV.js').then(function (n) { return n.h; }).then(heatmapModule => {
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", "onVideo", "onMore", "className", "style"];
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
- onVideo,
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
@@ -15002,35 +15005,16 @@ const ChatHeader = _ref => {
15002
15005
  px: {
15003
15006
  base: 4,
15004
15007
  md: 8
15005
- },
15006
- display: {
15007
- base: "none",
15008
- md: "block"
15009
15008
  }
15010
15009
  }, /*#__PURE__*/React__default.createElement(ActionIcon, {
15011
15010
  variant: "transparent",
15012
15011
  color: "gray",
15013
15012
  size: "lg",
15014
- radius: "xl"
15013
+ radius: "xl",
15014
+ onClick: onMessageAction
15015
15015
  }, /*#__PURE__*/React__default.createElement(Icons, {
15016
15016
  name: "Sms",
15017
15017
  size: 20
15018
- }))), /*#__PURE__*/React__default.createElement(Box, {
15019
- style: {
15020
- borderLeft: "1px solid #ECEDEF"
15021
- },
15022
- px: {
15023
- base: 4,
15024
- md: 8
15025
- }
15026
- }, /*#__PURE__*/React__default.createElement(ActionIcon, {
15027
- variant: "transparent",
15028
- color: "gray",
15029
- size: "lg",
15030
- radius: "xl"
15031
- }, /*#__PURE__*/React__default.createElement(Icons, {
15032
- name: "Call",
15033
- size: 20
15034
15018
  }))))));
15035
15019
  };
15036
15020
 
@@ -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-BJiARt6H.js';
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 video call action */
59
- onVideo?: () => void;
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.27",
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",