@adiba-banking-cloud/backoffice 0.2.14 → 0.2.15
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-ivmUasA7.js → heatmap-DV0YYVRl.js} +1 -1
- package/build/index.cjs.js/{index-DTJ-EzlZ.js → index-C4ThDka1.js} +9 -49
- package/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/{heatmap-DMuUoNe8.js → heatmap-CXJh19wA.js} +1 -1
- package/build/index.esm.js/{index-Ddct1CtR.js → index-p43mak97.js} +9 -49
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/widgets/credit_card/CreditCard.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-DV0YYVRl.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);
|
|
@@ -13972,10 +13972,9 @@ const CreditCard = _ref => {
|
|
|
13972
13972
|
cvv = "***",
|
|
13973
13973
|
brand = "mastercard",
|
|
13974
13974
|
background = "linear-gradient(135deg, #1e3c72 0%, #2a5298 100%)",
|
|
13975
|
-
onAddClick
|
|
13975
|
+
onAddClick,
|
|
13976
|
+
onClick
|
|
13976
13977
|
} = _ref;
|
|
13977
|
-
const [isFlipped, setIsFlipped] = React.useState(false);
|
|
13978
|
-
|
|
13979
13978
|
// Add Card Variant
|
|
13980
13979
|
if (variant === "add") {
|
|
13981
13980
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -13997,17 +13996,17 @@ const CreditCard = _ref => {
|
|
|
13997
13996
|
}
|
|
13998
13997
|
|
|
13999
13998
|
// Display Card Variant
|
|
14000
|
-
const handleCardClick = () => {
|
|
14001
|
-
setIsFlipped(!isFlipped);
|
|
14002
|
-
};
|
|
14003
13999
|
const LogoComponent = LOGO_MAP[brand] ? /*#__PURE__*/React.createElement(core.Image, {
|
|
14004
14000
|
src: LOGO_MAP[brand],
|
|
14005
14001
|
h: 27,
|
|
14006
14002
|
fit: "contain"
|
|
14007
14003
|
}) : null;
|
|
14008
14004
|
return /*#__PURE__*/React.createElement("div", {
|
|
14009
|
-
className: "credit-card-container
|
|
14010
|
-
onClick:
|
|
14005
|
+
className: "credit-card-container",
|
|
14006
|
+
onClick: onClick,
|
|
14007
|
+
style: {
|
|
14008
|
+
cursor: onClick ? "pointer" : "default"
|
|
14009
|
+
}
|
|
14011
14010
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14012
14011
|
className: "credit-card-inner"
|
|
14013
14012
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -14077,46 +14076,7 @@ const CreditCard = _ref => {
|
|
|
14077
14076
|
style: {
|
|
14078
14077
|
textShadow: "0 1px 2px rgba(0,0,0,0.6)"
|
|
14079
14078
|
}
|
|
14080
|
-
}, "Exp ", expiryDate))))
|
|
14081
|
-
className: "credit-card-back",
|
|
14082
|
-
style: {
|
|
14083
|
-
background: background,
|
|
14084
|
-
backgroundSize: "cover"
|
|
14085
|
-
}
|
|
14086
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
14087
|
-
className: "magnetic-stripe"
|
|
14088
|
-
}), /*#__PURE__*/React.createElement(core.Box, {
|
|
14089
|
-
mt: "md",
|
|
14090
|
-
px: "lg"
|
|
14091
|
-
}, /*#__PURE__*/React.createElement(core.Text, {
|
|
14092
|
-
c: "white",
|
|
14093
|
-
size: "xs",
|
|
14094
|
-
ta: "right",
|
|
14095
|
-
mr: 2
|
|
14096
|
-
}, "CVV"), /*#__PURE__*/React.createElement(core.Box, {
|
|
14097
|
-
bg: "white",
|
|
14098
|
-
h: 35,
|
|
14099
|
-
w: "100%",
|
|
14100
|
-
style: {
|
|
14101
|
-
display: "flex",
|
|
14102
|
-
alignItems: "center",
|
|
14103
|
-
justifyContent: "flex-end",
|
|
14104
|
-
paddingRight: 10
|
|
14105
|
-
}
|
|
14106
|
-
}, /*#__PURE__*/React.createElement(core.Text, {
|
|
14107
|
-
c: "black",
|
|
14108
|
-
ff: "THICCCBOI",
|
|
14109
|
-
lts: 2
|
|
14110
|
-
}, cvv)), /*#__PURE__*/React.createElement(core.Group, {
|
|
14111
|
-
justify: "flex-end",
|
|
14112
|
-
mt: "md"
|
|
14113
|
-
}, LogoComponent), /*#__PURE__*/React.createElement(core.Text, {
|
|
14114
|
-
c: "white",
|
|
14115
|
-
size: "xs",
|
|
14116
|
-
mt: "xl",
|
|
14117
|
-
ta: "center",
|
|
14118
|
-
opacity: 0.8
|
|
14119
|
-
}, "Issued by Adiba Bank.", /*#__PURE__*/React.createElement("br", null), "For customer service call +123-456-7890.")))));
|
|
14079
|
+
}, "Exp ", expiryDate))))));
|
|
14120
14080
|
};
|
|
14121
14081
|
|
|
14122
14082
|
var img$7 = "data:image/svg+xml,%3csvg width='622' height='800' viewBox='0 0 622 800' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M189.496 700.703H230.986L210.434 640.73L189.496 700.703Z' fill='%23279800'/%3e%3cpath d='M621.346 537.931V192.8C621.346 182.234 620.077 174.414 613.76 168.083L453.249 7.58621C448.436 2.77241 441.76 0 434.932 0H34.6287C18.27 0 0.65625 12.6345 0.65625 40.3586V537.931H621.346ZM428.242 46.7724C428.242 40.4552 435.87 37.2966 440.339 41.7655L579.58 181.007C584.049 185.476 580.891 193.103 574.573 193.103H428.242V46.7724ZM235.139 206.897C235.139 201.862 237.884 197.228 242.298 194.8C246.725 192.386 252.091 192.566 256.353 195.255L408.077 291.807C412.036 294.345 414.449 298.731 414.449 303.448C414.449 308.166 412.036 312.552 408.063 315.09L256.339 411.641C254.091 413.062 251.511 413.793 248.932 413.793C246.642 413.793 244.367 413.228 242.298 412.097C237.884 409.669 235.139 405.034 235.139 400V206.897Z' fill='%23457154'/%3e%3cpath d='M0.65625 565.518V772.414C0.65625 786.331 17.4838 800 34.6287 800H587.373C604.518 800 621.346 786.331 621.346 772.414V565.518H0.65625ZM246.449 744.828L236.449 715.973H184.215L174.036 744.828H150.463L199.111 606.028H221.553L269.842 744.828H246.449ZM365.636 745.587H336.215L293.029 605.849H318.863L351.111 725.78L385.249 605.849H410.891L365.636 745.587ZM462.56 744.828H439.553V605.849H462.56V744.828Z' fill='%23279800'/%3e%3c/svg%3e";
|
|
@@ -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-CXJh19wA.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);
|
|
@@ -13951,10 +13951,9 @@ const CreditCard = _ref => {
|
|
|
13951
13951
|
cvv = "***",
|
|
13952
13952
|
brand = "mastercard",
|
|
13953
13953
|
background = "linear-gradient(135deg, #1e3c72 0%, #2a5298 100%)",
|
|
13954
|
-
onAddClick
|
|
13954
|
+
onAddClick,
|
|
13955
|
+
onClick
|
|
13955
13956
|
} = _ref;
|
|
13956
|
-
const [isFlipped, setIsFlipped] = useState(false);
|
|
13957
|
-
|
|
13958
13957
|
// Add Card Variant
|
|
13959
13958
|
if (variant === "add") {
|
|
13960
13959
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -13976,17 +13975,17 @@ const CreditCard = _ref => {
|
|
|
13976
13975
|
}
|
|
13977
13976
|
|
|
13978
13977
|
// Display Card Variant
|
|
13979
|
-
const handleCardClick = () => {
|
|
13980
|
-
setIsFlipped(!isFlipped);
|
|
13981
|
-
};
|
|
13982
13978
|
const LogoComponent = LOGO_MAP[brand] ? /*#__PURE__*/React__default.createElement(Image, {
|
|
13983
13979
|
src: LOGO_MAP[brand],
|
|
13984
13980
|
h: 27,
|
|
13985
13981
|
fit: "contain"
|
|
13986
13982
|
}) : null;
|
|
13987
13983
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
13988
|
-
className: "credit-card-container
|
|
13989
|
-
onClick:
|
|
13984
|
+
className: "credit-card-container",
|
|
13985
|
+
onClick: onClick,
|
|
13986
|
+
style: {
|
|
13987
|
+
cursor: onClick ? "pointer" : "default"
|
|
13988
|
+
}
|
|
13990
13989
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
13991
13990
|
className: "credit-card-inner"
|
|
13992
13991
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -14056,46 +14055,7 @@ const CreditCard = _ref => {
|
|
|
14056
14055
|
style: {
|
|
14057
14056
|
textShadow: "0 1px 2px rgba(0,0,0,0.6)"
|
|
14058
14057
|
}
|
|
14059
|
-
}, "Exp ", expiryDate))))
|
|
14060
|
-
className: "credit-card-back",
|
|
14061
|
-
style: {
|
|
14062
|
-
background: background,
|
|
14063
|
-
backgroundSize: "cover"
|
|
14064
|
-
}
|
|
14065
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14066
|
-
className: "magnetic-stripe"
|
|
14067
|
-
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
14068
|
-
mt: "md",
|
|
14069
|
-
px: "lg"
|
|
14070
|
-
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
14071
|
-
c: "white",
|
|
14072
|
-
size: "xs",
|
|
14073
|
-
ta: "right",
|
|
14074
|
-
mr: 2
|
|
14075
|
-
}, "CVV"), /*#__PURE__*/React__default.createElement(Box, {
|
|
14076
|
-
bg: "white",
|
|
14077
|
-
h: 35,
|
|
14078
|
-
w: "100%",
|
|
14079
|
-
style: {
|
|
14080
|
-
display: "flex",
|
|
14081
|
-
alignItems: "center",
|
|
14082
|
-
justifyContent: "flex-end",
|
|
14083
|
-
paddingRight: 10
|
|
14084
|
-
}
|
|
14085
|
-
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
14086
|
-
c: "black",
|
|
14087
|
-
ff: "THICCCBOI",
|
|
14088
|
-
lts: 2
|
|
14089
|
-
}, cvv)), /*#__PURE__*/React__default.createElement(Group, {
|
|
14090
|
-
justify: "flex-end",
|
|
14091
|
-
mt: "md"
|
|
14092
|
-
}, LogoComponent), /*#__PURE__*/React__default.createElement(Text, {
|
|
14093
|
-
c: "white",
|
|
14094
|
-
size: "xs",
|
|
14095
|
-
mt: "xl",
|
|
14096
|
-
ta: "center",
|
|
14097
|
-
opacity: 0.8
|
|
14098
|
-
}, "Issued by Adiba Bank.", /*#__PURE__*/React__default.createElement("br", null), "For customer service call +123-456-7890.")))));
|
|
14058
|
+
}, "Exp ", expiryDate))))));
|
|
14099
14059
|
};
|
|
14100
14060
|
|
|
14101
14061
|
var img$7 = "data:image/svg+xml,%3csvg width='622' height='800' viewBox='0 0 622 800' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M189.496 700.703H230.986L210.434 640.73L189.496 700.703Z' fill='%23279800'/%3e%3cpath d='M621.346 537.931V192.8C621.346 182.234 620.077 174.414 613.76 168.083L453.249 7.58621C448.436 2.77241 441.76 0 434.932 0H34.6287C18.27 0 0.65625 12.6345 0.65625 40.3586V537.931H621.346ZM428.242 46.7724C428.242 40.4552 435.87 37.2966 440.339 41.7655L579.58 181.007C584.049 185.476 580.891 193.103 574.573 193.103H428.242V46.7724ZM235.139 206.897C235.139 201.862 237.884 197.228 242.298 194.8C246.725 192.386 252.091 192.566 256.353 195.255L408.077 291.807C412.036 294.345 414.449 298.731 414.449 303.448C414.449 308.166 412.036 312.552 408.063 315.09L256.339 411.641C254.091 413.062 251.511 413.793 248.932 413.793C246.642 413.793 244.367 413.228 242.298 412.097C237.884 409.669 235.139 405.034 235.139 400V206.897Z' fill='%23457154'/%3e%3cpath d='M0.65625 565.518V772.414C0.65625 786.331 17.4838 800 34.6287 800H587.373C604.518 800 621.346 786.331 621.346 772.414V565.518H0.65625ZM246.449 744.828L236.449 715.973H184.215L174.036 744.828H150.463L199.111 606.028H221.553L269.842 744.828H246.449ZM365.636 745.587H336.215L293.029 605.849H318.863L351.111 725.78L385.249 605.849H410.891L365.636 745.587ZM462.56 744.828H439.553V605.849H462.56V744.828Z' fill='%23279800'/%3e%3c/svg%3e";
|
|
@@ -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, a2 as DEFAULT_API_TIMEOUT, a0 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, Q 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, O as LoadingModal, a1 as MAX_PAGE_SIZE, V as MaskedTilePanel, X as MerchantCard, a5 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, R 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, Y as TableStateView, W as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a4 as apiClient, a3 as createApiClient, a7 as extractBetweenBraces, a8 as extractOutsideBraces, z as theme, _ as useManagedModals, Z as useModal, $ as useUrlFilters, a6 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, a2 as DEFAULT_API_TIMEOUT, a0 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, Q 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, O as LoadingModal, a1 as MAX_PAGE_SIZE, V as MaskedTilePanel, X as MerchantCard, a5 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, R 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, Y as TableStateView, W as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a4 as apiClient, a3 as createApiClient, a7 as extractBetweenBraces, a8 as extractOutsideBraces, z as theme, _ as useManagedModals, Z as useModal, $ as useUrlFilters, a6 as withProviders } from './index-p43mak97.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@mantine/modals';
|
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.15",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|