@adiba-banking-cloud/backoffice 0.0.35 → 0.0.36
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/index.js +95 -64
- package/build/index.esm.js/index.js +95 -64
- package/build/typings/components/modals/confim/Confim.d.ts +2 -0
- package/build/typings/components/modals/confim/Confim.stories.d.ts +0 -0
- package/build/typings/components/modals/confim/Confim.types.d.ts +0 -0
- package/build/typings/shared/hooks/modals/useModal.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
|
+
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
3
5
|
var modals = require('@mantine/modals');
|
|
4
6
|
var React = require('react');
|
|
5
7
|
var core = require('@mantine/core');
|
|
8
|
+
var IconSax = require('iconsax-react');
|
|
6
9
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
7
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
8
10
|
var HighchartsReact = require('highcharts-react-official');
|
|
9
11
|
var HighchartsRounded = require('highcharts-rounded-corners');
|
|
10
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
11
|
-
var IconSax = require('iconsax-react');
|
|
12
12
|
var reactRouterDom = require('react-router-dom');
|
|
13
13
|
var hooks = require('@mantine/hooks');
|
|
14
14
|
require('@fontsource/poppins/100.css');
|
|
@@ -11341,8 +11341,8 @@ const createAreaFillGradient = function (baseColor) {
|
|
|
11341
11341
|
};
|
|
11342
11342
|
};
|
|
11343
11343
|
|
|
11344
|
-
function ownKeys$
|
|
11345
|
-
function _objectSpread$
|
|
11344
|
+
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; }
|
|
11345
|
+
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; }
|
|
11346
11346
|
|
|
11347
11347
|
// Initialize Highcharts with rounded corners
|
|
11348
11348
|
if (typeof window !== "undefined") {
|
|
@@ -11351,8 +11351,8 @@ if (typeof window !== "undefined") {
|
|
|
11351
11351
|
const Column = props => {
|
|
11352
11352
|
const chartRef = React.useRef(null);
|
|
11353
11353
|
const chartOptions = React.useMemo(() => {
|
|
11354
|
-
const column = _objectSpread$
|
|
11355
|
-
return _objectSpread$
|
|
11354
|
+
const column = _objectSpread$4({}, props);
|
|
11355
|
+
return _objectSpread$4(_objectSpread$4({}, initChart$2(column)), initSeries$2(column));
|
|
11356
11356
|
}, [props]);
|
|
11357
11357
|
React.useEffect(() => {
|
|
11358
11358
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11455,7 +11455,7 @@ const initSeries$2 = props => {
|
|
|
11455
11455
|
enableMouseTracking: false,
|
|
11456
11456
|
showInLegend: false
|
|
11457
11457
|
});
|
|
11458
|
-
const mainSeries = _objectSpread$
|
|
11458
|
+
const mainSeries = _objectSpread$4(_objectSpread$4({}, fillSeries(boundary)), {
|
|
11459
11459
|
name: props.yAxisLabel[0],
|
|
11460
11460
|
color: seriesColors ? seriesColors[0] : "gray",
|
|
11461
11461
|
data: seriesData[0],
|
|
@@ -11495,7 +11495,7 @@ const initSeries$2 = props => {
|
|
|
11495
11495
|
pointWidth: undefined
|
|
11496
11496
|
}
|
|
11497
11497
|
};
|
|
11498
|
-
const plot = _objectSpread$
|
|
11498
|
+
const plot = _objectSpread$4(_objectSpread$4({}, {
|
|
11499
11499
|
column: {
|
|
11500
11500
|
borderWidth: 0,
|
|
11501
11501
|
borderRadius: 10
|
|
@@ -11550,13 +11550,13 @@ const initChart$1 = props => {
|
|
|
11550
11550
|
};
|
|
11551
11551
|
};
|
|
11552
11552
|
|
|
11553
|
-
function ownKeys$
|
|
11554
|
-
function _objectSpread$
|
|
11553
|
+
function ownKeys$3(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; }
|
|
11554
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11555
11555
|
const Area = props => {
|
|
11556
11556
|
const chartRef = React.useRef(null);
|
|
11557
11557
|
const chartOptions = React.useMemo(() => {
|
|
11558
|
-
const area = _objectSpread$
|
|
11559
|
-
return _objectSpread$
|
|
11558
|
+
const area = _objectSpread$3({}, props);
|
|
11559
|
+
return _objectSpread$3(_objectSpread$3({}, initChart$1(area)), initSeries$1(area));
|
|
11560
11560
|
}, [props]);
|
|
11561
11561
|
React.useEffect(() => {
|
|
11562
11562
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11617,7 +11617,7 @@ const initSeries$1 = props => {
|
|
|
11617
11617
|
const labels = {
|
|
11618
11618
|
color: "#575E77"
|
|
11619
11619
|
};
|
|
11620
|
-
return _objectSpread$
|
|
11620
|
+
return _objectSpread$3(_objectSpread$3({}, defaults), {
|
|
11621
11621
|
labels
|
|
11622
11622
|
});
|
|
11623
11623
|
};
|
|
@@ -11654,16 +11654,16 @@ const initSeries$1 = props => {
|
|
|
11654
11654
|
};
|
|
11655
11655
|
};
|
|
11656
11656
|
|
|
11657
|
-
const _excluded$
|
|
11658
|
-
function ownKeys$
|
|
11659
|
-
function _objectSpread$
|
|
11657
|
+
const _excluded$a = ["withLegend", "centerLabel", "centerValue"];
|
|
11658
|
+
function ownKeys$2(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; }
|
|
11659
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11660
11660
|
const initChart = _ref => {
|
|
11661
11661
|
let {
|
|
11662
11662
|
withLegend,
|
|
11663
11663
|
centerLabel = "",
|
|
11664
11664
|
centerValue = ""
|
|
11665
11665
|
} = _ref;
|
|
11666
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
11666
|
+
_objectWithoutProperties(_ref, _excluded$a);
|
|
11667
11667
|
return {
|
|
11668
11668
|
chart: {
|
|
11669
11669
|
type: "pie",
|
|
@@ -11706,7 +11706,7 @@ const initChart = _ref => {
|
|
|
11706
11706
|
},
|
|
11707
11707
|
legend: !withLegend ? {
|
|
11708
11708
|
enabled: false
|
|
11709
|
-
} : _objectSpread$
|
|
11709
|
+
} : _objectSpread$2(_objectSpread$2({}, {
|
|
11710
11710
|
enabled: true,
|
|
11711
11711
|
layout: "vertical",
|
|
11712
11712
|
verticalAlign: "middle",
|
|
@@ -11739,13 +11739,13 @@ const initChart = _ref => {
|
|
|
11739
11739
|
};
|
|
11740
11740
|
};
|
|
11741
11741
|
|
|
11742
|
-
function ownKeys(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; }
|
|
11743
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11742
|
+
function ownKeys$1(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; }
|
|
11743
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11744
11744
|
const DonutChart = props => {
|
|
11745
11745
|
const chartRef = React.useRef(null);
|
|
11746
11746
|
const chartOptions = React.useMemo(() => {
|
|
11747
|
-
const area = _objectSpread({}, props);
|
|
11748
|
-
return _objectSpread(_objectSpread({}, initChart(area)), initSeries(area));
|
|
11747
|
+
const area = _objectSpread$1({}, props);
|
|
11748
|
+
return _objectSpread$1(_objectSpread$1({}, initChart(area)), initSeries(area));
|
|
11749
11749
|
}, [props]);
|
|
11750
11750
|
React.useEffect(() => {
|
|
11751
11751
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11803,7 +11803,7 @@ var img$c = "data:image/svg+xml,%3csvg width='5894' height='1608' viewBox='0 0 5
|
|
|
11803
11803
|
|
|
11804
11804
|
var img$b = "data:image/svg+xml,%3csvg width='893' height='221' viewBox='0 0 893 221' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M123.741 148.741H85.2506C51.0805 148.741 23.3801 121.041 23.3801 86.8706C23.3801 52.7005 51.0805 25.0001 85.2506 25.0001H220.681L197.302 54.6523H85.2505C67.4569 54.6523 53.0323 69.0769 53.0323 86.8706C53.0323 104.664 67.4569 119.089 85.2506 119.089H147.121L123.741 148.741Z' fill='url(%23paint0_linear_1362_1353)'/%3e%3cpath d='M96.9399 71.7585H135.431C169.601 71.7585 197.301 99.4589 197.301 133.629C197.301 167.799 169.601 195.499 135.431 195.499H0L23.3796 165.847H135.431C153.224 165.847 167.649 151.423 167.649 133.629C167.649 115.835 153.224 101.411 135.431 101.411H73.5602L96.9399 71.7585Z' fill='url(%23paint1_linear_1362_1353)'/%3e%3cpath d='M258.1 85.7725C258.1 89.0535 259.896 91.5532 263.49 93.2718C267.239 94.8341 273.098 96.4746 281.066 98.1932C290.128 100.068 297.705 102.177 303.798 104.521C309.891 106.864 315.125 110.614 319.5 115.769C324.03 120.769 326.296 127.565 326.296 136.158C326.296 143.814 323.952 150.453 319.265 156.078C314.734 161.702 308.641 165.999 300.986 168.967C293.33 171.779 284.972 173.186 275.91 173.186C263.568 173.186 252.944 170.842 244.039 166.155C235.289 161.468 228.806 154.75 224.587 146.001L248.491 133.58C252.71 144.36 261.849 149.75 275.91 149.75C282.003 149.75 287.237 148.579 291.612 146.235C295.986 143.892 298.174 140.533 298.174 136.158C298.174 132.408 296.143 129.674 292.081 127.956C288.175 126.081 281.769 124.05 272.864 121.863C263.646 119.675 256.147 117.488 250.366 115.301C244.585 113.114 239.586 109.754 235.368 105.224C231.149 100.537 229.04 94.3654 229.04 86.71C229.04 79.2107 231.149 72.727 235.368 67.2588C239.586 61.6344 245.288 57.3379 252.475 54.3695C259.662 51.401 267.552 49.9168 276.145 49.9168C286.3 49.9168 295.361 52.026 303.329 56.2443C311.454 60.4626 317.703 66.4776 322.078 74.2893L298.408 86.2412C294.346 77.4921 286.925 73.1176 276.145 73.1176C270.676 73.1176 266.302 74.2893 263.021 76.6328C259.74 78.8201 258.1 81.8667 258.1 85.7725Z' fill='%23303838'/%3e%3cpath d='M471.535 170.139H442.71V100.771C442.71 92.0219 440.21 85.7725 435.211 82.0229C430.367 78.1171 424.587 76.1641 417.869 76.1641C412.557 76.1641 407.713 77.8046 403.339 81.0855C399.12 84.3664 396.386 89.6003 395.136 96.787V170.139H366.077V6.09312H395.136V62.8061C399.042 59.0565 403.495 56.0881 408.495 53.9008C413.65 51.7135 419.118 50.6199 424.899 50.6199C431.773 50.6199 438.726 52.1041 445.756 55.0725C452.787 57.8847 458.802 62.9624 463.801 70.3054C468.957 77.6484 471.535 87.5692 471.535 100.068V170.139Z' fill='%23303838'/%3e%3cpath d='M538.164 33.5122C532.696 33.5122 528.399 32.028 525.275 29.0595C522.15 26.0911 520.588 22.029 520.588 16.8733C520.588 11.5613 522.15 7.42112 525.275 4.45267C528.399 1.48422 532.696 0 538.164 0C543.632 0 547.929 1.48422 551.053 4.45267C554.178 7.42112 555.74 11.5613 555.74 16.8733C555.74 21.8728 554.1 25.9349 550.819 29.0595C547.694 32.028 543.476 33.5122 538.164 33.5122ZM523.4 170.139V52.9634H552.459V170.139H523.4Z' fill='%23303838'/%3e%3cpath d='M694.084 52.9634H723.144V164.28C723.144 175.373 720.332 185.137 714.707 193.574C709.239 202.011 701.584 208.494 691.741 213.025C681.898 217.712 670.884 220.056 658.697 220.056C645.105 220.056 632.762 217.4 621.67 212.088C610.577 206.932 602.766 200.136 598.235 191.699L623.076 177.404C625.419 181.935 629.794 185.684 636.2 188.653C642.605 191.777 650.339 193.34 659.4 193.34C669.399 193.34 677.68 190.606 684.242 185.137C690.803 179.826 694.084 172.873 694.084 164.28V158.89C688.772 163.577 682.836 167.171 676.274 169.67C669.712 172.17 662.916 173.42 655.885 173.42C644.011 173.42 633.622 170.764 624.716 165.452C615.811 160.14 608.937 152.797 604.094 143.423C599.406 134.049 597.063 123.503 597.063 111.786C597.063 100.068 599.406 89.5222 604.094 80.1481C608.937 70.7741 615.811 63.4311 624.716 58.1191C633.622 52.6509 644.011 49.9168 655.885 49.9168C662.916 49.9168 669.634 51.2448 676.039 53.9008C682.601 56.4005 688.616 59.9158 694.084 64.4466V52.9634ZM659.635 145.532C666.04 145.532 671.821 144.126 676.977 141.314C682.289 138.345 686.429 134.283 689.397 129.128C692.522 123.972 694.084 118.113 694.084 111.551C694.084 101.708 690.725 93.6624 684.007 87.413C677.445 81.1636 669.321 78.0389 659.635 78.0389C649.792 78.0389 641.668 81.2418 635.262 87.6473C629.013 93.8967 625.888 101.943 625.888 111.786C625.888 121.628 629.013 129.752 635.262 136.158C641.668 142.407 649.792 145.532 659.635 145.532Z' fill='%23303838'/%3e%3cpath d='M863.755 52.9634H892.814V170.139H863.755V158.656C858.286 163.343 852.271 167.014 845.71 169.67C839.304 172.17 832.508 173.42 825.321 173.42C813.447 173.42 803.058 170.764 794.152 165.452C785.247 160.14 778.373 152.797 773.529 143.423C768.842 134.049 766.499 123.503 766.499 111.786C766.499 100.068 768.842 89.5222 773.529 80.1481C778.373 70.7741 785.247 63.4311 794.152 58.1191C803.058 52.6509 813.447 49.9168 825.321 49.9168C832.508 49.9168 839.304 51.2448 845.71 53.9008C852.271 56.4005 858.286 59.9939 863.755 64.6809V52.9634ZM829.071 145.532C835.476 145.532 841.257 144.126 846.413 141.314C851.725 138.345 855.865 134.283 858.833 129.128C861.958 123.972 863.52 118.113 863.52 111.551C863.52 101.708 860.161 93.6624 853.443 87.413C846.881 81.1636 838.757 78.0389 829.071 78.0389C819.228 78.0389 811.104 81.2418 804.698 87.6473C798.449 93.8967 795.324 101.943 795.324 111.786C795.324 121.628 798.449 129.752 804.698 136.158C811.104 142.407 819.228 145.532 829.071 145.532Z' fill='%23303838'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear_1362_1353' x1='122.031' y1='25.0001' x2='122.031' y2='148.741' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23409393'/%3e%3cstop offset='1' stop-color='%2302424C'/%3e%3c/linearGradient%3e%3clinearGradient id='paint1_linear_1362_1353' x1='98.6506' y1='71.7585' x2='98.6506' y2='195.499' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%2302424C'/%3e%3cstop offset='1' stop-color='%23409393'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
11805
11805
|
|
|
11806
|
-
const _excluded$
|
|
11806
|
+
const _excluded$9 = ["href", "fallbackSrc", "src", "fit"],
|
|
11807
11807
|
_excluded2$2 = ["href", "src", "fit", "w"],
|
|
11808
11808
|
_excluded3$1 = ["href", "src", "fit"];
|
|
11809
11809
|
const Logo = _ref => {
|
|
@@ -11813,7 +11813,7 @@ const Logo = _ref => {
|
|
|
11813
11813
|
src,
|
|
11814
11814
|
fit
|
|
11815
11815
|
} = _ref,
|
|
11816
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11816
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
11817
11817
|
return /*#__PURE__*/React.createElement(core.Center, _extends({}, rest, {
|
|
11818
11818
|
component: reactRouterDom.Link,
|
|
11819
11819
|
display: "flex",
|
|
@@ -11857,13 +11857,13 @@ const DynamicShigaLogo = _ref3 => {
|
|
|
11857
11857
|
}));
|
|
11858
11858
|
};
|
|
11859
11859
|
|
|
11860
|
-
const _excluded$
|
|
11860
|
+
const _excluded$8 = ["children", "toggle"];
|
|
11861
11861
|
const ApplicationMenuTarget = _ref => {
|
|
11862
11862
|
let {
|
|
11863
11863
|
children,
|
|
11864
11864
|
toggle
|
|
11865
11865
|
} = _ref;
|
|
11866
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
11866
|
+
_objectWithoutProperties(_ref, _excluded$8);
|
|
11867
11867
|
return /*#__PURE__*/React.createElement(core.Popover.Target, null, /*#__PURE__*/React.createElement(core.Button, {
|
|
11868
11868
|
variant: "transparent",
|
|
11869
11869
|
justify: "space-between",
|
|
@@ -12140,7 +12140,7 @@ const SideMenu = _ref => {
|
|
|
12140
12140
|
}));
|
|
12141
12141
|
};
|
|
12142
12142
|
|
|
12143
|
-
const _excluded$
|
|
12143
|
+
const _excluded$7 = ["withPadding", "withRadius", "autoHeight", "children"],
|
|
12144
12144
|
_excluded2$1 = ["withPadding", "title", "children"],
|
|
12145
12145
|
_excluded3 = ["placeholder", "searchIcon", "filterIcon", "searchText", "filterFn", "children"];
|
|
12146
12146
|
const SimplePanel = _ref => {
|
|
@@ -12150,7 +12150,7 @@ const SimplePanel = _ref => {
|
|
|
12150
12150
|
autoHeight = true,
|
|
12151
12151
|
children
|
|
12152
12152
|
} = _ref,
|
|
12153
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12153
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
12154
12154
|
return /*#__PURE__*/React.createElement(core.Card, _extends({
|
|
12155
12155
|
p: !withPadding ? 0 : "md",
|
|
12156
12156
|
radius: !withRadius ? 0 : "lg",
|
|
@@ -12254,7 +12254,7 @@ const LabelPanelItem = _ref => {
|
|
|
12254
12254
|
}, value));
|
|
12255
12255
|
};
|
|
12256
12256
|
|
|
12257
|
-
const _excluded$
|
|
12257
|
+
const _excluded$6 = ["title", "hasEdit", "labelWidth", "editFn", "editLabel", "items", "withBorder", "radius", "p"],
|
|
12258
12258
|
_excluded2 = ["avatarSize", "avatar", "labelWidth", "withBorder", "radius", "p", "name", "username", "editLabel", "lastActive", "role", "editFn"];
|
|
12259
12259
|
const LabelPanel = _ref => {
|
|
12260
12260
|
let {
|
|
@@ -12268,7 +12268,7 @@ const LabelPanel = _ref => {
|
|
|
12268
12268
|
radius = "md",
|
|
12269
12269
|
p = "md"
|
|
12270
12270
|
} = _ref,
|
|
12271
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12271
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
12272
12272
|
return /*#__PURE__*/React.createElement(core.Card, _extends({}, rest, {
|
|
12273
12273
|
withBorder,
|
|
12274
12274
|
radius,
|
|
@@ -12362,13 +12362,13 @@ const AvatarLabelPanel = _ref2 => {
|
|
|
12362
12362
|
}, editLabel)));
|
|
12363
12363
|
};
|
|
12364
12364
|
|
|
12365
|
-
const _excluded$
|
|
12365
|
+
const _excluded$5 = ["label", "smaller"];
|
|
12366
12366
|
const SimpleText = _ref => {
|
|
12367
12367
|
let {
|
|
12368
12368
|
label,
|
|
12369
12369
|
smaller
|
|
12370
12370
|
} = _ref,
|
|
12371
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12371
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
12372
12372
|
return /*#__PURE__*/React.createElement(core.Text, _extends({
|
|
12373
12373
|
fw: 300,
|
|
12374
12374
|
fz: smaller ? '90%' : undefined
|
|
@@ -12394,7 +12394,7 @@ const theme = core.createTheme({
|
|
|
12394
12394
|
}
|
|
12395
12395
|
});
|
|
12396
12396
|
|
|
12397
|
-
const _excluded$
|
|
12397
|
+
const _excluded$4 = ["title", "subtitle", "rightsection", "withCreate", "withSwitcher", "create", "switcher"];
|
|
12398
12398
|
const PageTitle = _ref => {
|
|
12399
12399
|
var _switcher$items;
|
|
12400
12400
|
let {
|
|
@@ -12406,7 +12406,7 @@ const PageTitle = _ref => {
|
|
|
12406
12406
|
create,
|
|
12407
12407
|
switcher
|
|
12408
12408
|
} = _ref,
|
|
12409
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12409
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
12410
12410
|
if (withCreate && create) {
|
|
12411
12411
|
const {
|
|
12412
12412
|
createFn,
|
|
@@ -12544,7 +12544,7 @@ const ConnectionPanelDetail = _ref => {
|
|
|
12544
12544
|
}, value));
|
|
12545
12545
|
};
|
|
12546
12546
|
|
|
12547
|
-
const _excluded$
|
|
12547
|
+
const _excluded$3 = ["statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
|
|
12548
12548
|
const ConnectionPanel = _ref => {
|
|
12549
12549
|
let {
|
|
12550
12550
|
statusColor,
|
|
@@ -12556,7 +12556,7 @@ const ConnectionPanel = _ref => {
|
|
|
12556
12556
|
details,
|
|
12557
12557
|
altColor
|
|
12558
12558
|
} = _ref;
|
|
12559
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
12559
|
+
_objectWithoutProperties(_ref, _excluded$3);
|
|
12560
12560
|
return /*#__PURE__*/React.createElement(core.Card, {
|
|
12561
12561
|
withBorder: true,
|
|
12562
12562
|
bg: "gray.0",
|
|
@@ -12669,12 +12669,12 @@ const ApplicationPanelFeatures = _ref => {
|
|
|
12669
12669
|
}, label));
|
|
12670
12670
|
};
|
|
12671
12671
|
|
|
12672
|
-
const _excluded$
|
|
12672
|
+
const _excluded$2 = ["name", "coverImage", "discount", "summary", "featureLabel", "features", "amount", "frequency", "actionLabel", "subscribed", "subscribedLabel", "onClick"];
|
|
12673
12673
|
const ApplicationPanel = _ref => {
|
|
12674
12674
|
let {
|
|
12675
12675
|
name,
|
|
12676
12676
|
coverImage,
|
|
12677
|
-
discount,
|
|
12677
|
+
discount = "",
|
|
12678
12678
|
summary,
|
|
12679
12679
|
featureLabel,
|
|
12680
12680
|
features,
|
|
@@ -12685,7 +12685,7 @@ const ApplicationPanel = _ref => {
|
|
|
12685
12685
|
subscribedLabel = "Added",
|
|
12686
12686
|
onClick = () => void 0
|
|
12687
12687
|
} = _ref,
|
|
12688
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12688
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
12689
12689
|
return /*#__PURE__*/React.createElement(core.Card, _extends({
|
|
12690
12690
|
withBorder: true,
|
|
12691
12691
|
radius: "md"
|
|
@@ -13009,7 +13009,7 @@ var img$1 = "data:image/svg+xml,%3csvg width='622' height='800' viewBox='0 0 622
|
|
|
13009
13009
|
|
|
13010
13010
|
var img = "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='M353.045 632.525C351.086 629.822 348.355 627.56 344.838 625.739C341.321 623.918 336.659 623.008 330.88 623.008H313.914V678.07H334.659C337.418 678.07 340.149 677.601 342.866 676.649C345.583 675.697 348.052 674.166 350.314 672.029C352.576 669.891 354.397 666.911 355.776 663.077C357.155 659.242 357.845 654.497 357.845 648.842C357.845 646.58 357.542 643.96 356.907 641.022C356.273 638.084 354.99 635.242 353.045 632.525Z' fill='%23273050'/%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.7724ZM239.194 361.062H290.311V236.193V120.897V107.103C290.311 99.4759 296.477 93.3103 304.105 93.3103C311.732 93.3103 317.898 99.4759 317.898 107.103V119.49C319.346 125.848 330.973 169.228 384.96 212.428C398.863 223.572 408.96 233.876 416.794 244.855C435.622 271.255 463.884 326.634 441.442 400.772C439.636 406.731 434.173 410.566 428.242 410.566C426.918 410.566 425.58 410.372 424.242 409.972C418.284 408.166 414.449 402.703 414.449 396.772C414.449 395.448 414.642 394.11 415.042 392.772C428.518 348.276 374.973 308.855 342.987 285.283C333.884 278.593 326.684 273.297 322.008 268.662L317.898 265.283V423.531C317.898 471.407 278.96 510.345 231.084 510.345C183.277 510.345 152.38 479.448 152.38 431.641C152.38 388.11 185.649 361.062 239.194 361.062Z' fill='%235F6EA7'/%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.65625ZM256.767 744.828H233.76V649.214L202.642 726.524H182.656L151.346 649.214V744.828H128.339V605.849H151.346L192.642 700.897L233.746 605.849H256.753V744.828H256.767ZM376.146 667.987C373.76 673.711 370.422 678.524 366.146 682.414C361.87 686.304 356.711 689.324 350.684 691.462C344.656 693.6 337.98 694.662 330.698 694.662H313.911V744.828H291.277V605.849H331.249C337.167 605.849 343.015 606.787 348.78 608.676C354.546 610.566 359.746 613.393 364.339 617.159C368.932 620.924 372.642 625.49 375.47 630.828C378.298 636.166 379.718 642.166 379.718 648.842C379.718 655.89 378.532 662.262 376.146 667.987ZM481.456 720.98C479.636 725.573 477.332 729.366 474.573 732.387C471.815 735.407 468.698 737.835 465.236 739.642C461.773 741.449 458.422 742.814 455.153 743.697C451.884 744.58 448.904 745.131 446.201 745.393C443.498 745.656 441.387 745.766 439.884 745.766C429.318 745.766 421.001 745.035 414.891 743.6C408.78 742.166 404.546 740.676 402.16 739.173L407.249 722.952C408.38 723.587 409.442 724.276 410.449 725.021C411.456 725.766 412.905 726.497 414.78 727.187C416.656 727.876 419.304 728.442 422.698 728.883C426.091 729.324 430.739 729.545 436.656 729.545C445.332 729.545 451.815 727.187 456.077 722.469C460.339 717.752 462.491 711.821 462.491 704.649C462.491 697.862 460.532 692.138 456.642 687.49C452.753 682.842 447.029 680.511 439.484 680.511H420.436L420.242 665.242H433.07C435.829 665.242 438.629 665.173 441.456 665.049C444.284 664.924 446.946 664.221 449.47 662.98C451.994 661.738 454.063 659.587 455.691 656.566C457.318 653.545 458.146 649.214 458.146 643.559C458.146 641.297 457.953 638.911 457.58 636.387C457.208 633.862 456.16 631.545 454.463 629.407C452.767 627.269 450.284 625.545 447.015 624.221C443.746 622.897 439.222 622.235 433.442 622.235C427.663 622.235 423.042 622.773 419.58 623.835C416.118 624.897 413.525 625.752 411.76 626.387L405.153 609.421C408.173 608.552 411.911 607.6 416.367 606.593C420.822 605.587 427.277 605.09 435.691 605.09C441.608 605.09 447.194 605.821 452.477 607.256C457.76 608.69 462.38 610.993 466.339 614.138C470.298 617.283 473.442 621.311 475.773 626.207C478.105 631.104 479.263 636.883 479.263 643.559C479.263 647.449 478.573 651.007 477.194 654.207C475.815 657.407 474.049 660.221 471.911 662.593C469.773 664.966 467.387 666.952 464.739 668.538C462.091 670.124 459.649 671.145 457.387 671.656C460.284 672.028 463.263 672.98 466.339 674.483C469.415 675.987 472.284 678.138 474.918 680.897C477.553 683.656 479.76 687.021 481.525 690.98C483.291 694.938 484.16 699.49 484.16 704.649C484.201 710.952 483.277 716.387 481.456 720.98Z' fill='%23273050'/%3e%3c/svg%3e";
|
|
13011
13011
|
|
|
13012
|
-
const _excluded = ["shape", "type", "w", "bg", "bd", "rightsection"];
|
|
13012
|
+
const _excluded$1 = ["shape", "type", "w", "bg", "bd", "rightsection"];
|
|
13013
13013
|
const CHIP_HEIGHT = 25;
|
|
13014
13014
|
const TILE_HEIGHT = 70;
|
|
13015
13015
|
const CHIP_WIDTH = CHIP_HEIGHT;
|
|
@@ -13030,7 +13030,7 @@ const File = _ref => {
|
|
|
13030
13030
|
bd = "0.5px solid",
|
|
13031
13031
|
rightsection
|
|
13032
13032
|
} = _ref,
|
|
13033
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13033
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
13034
13034
|
const isChip = shape == "chip";
|
|
13035
13035
|
const radius = isChip ? "md" : "sm";
|
|
13036
13036
|
return /*#__PURE__*/React.createElement(core.Card, _extends({}, rest, {
|
|
@@ -13133,47 +13133,78 @@ const TwoFactorVerificationModal = _ref => {
|
|
|
13133
13133
|
}, "Close modal"));
|
|
13134
13134
|
};
|
|
13135
13135
|
|
|
13136
|
+
const ConfirmModal = _ref => {
|
|
13137
|
+
let {
|
|
13138
|
+
children
|
|
13139
|
+
} = _ref;
|
|
13140
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icons, {
|
|
13141
|
+
size: 48,
|
|
13142
|
+
name: "MessageQuestion"
|
|
13143
|
+
}), /*#__PURE__*/React.createElement(core.Text, {
|
|
13144
|
+
size: "sm"
|
|
13145
|
+
}, children));
|
|
13146
|
+
};
|
|
13147
|
+
|
|
13148
|
+
const _excluded = ["title", "children", "onConfirm", "labels"];
|
|
13149
|
+
function ownKeys(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; }
|
|
13150
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13136
13151
|
const useModal = () => {
|
|
13137
|
-
const ConfirmationModal =
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13152
|
+
const ConfirmationModal = _ref => {
|
|
13153
|
+
let {
|
|
13154
|
+
title = "",
|
|
13155
|
+
children,
|
|
13156
|
+
onConfirm,
|
|
13157
|
+
labels = {
|
|
13158
|
+
cancel: "Cancel",
|
|
13159
|
+
confirm: "Confirm"
|
|
13160
|
+
}
|
|
13161
|
+
} = _ref,
|
|
13162
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13163
|
+
return modals.modals.openConfirmModal(_objectSpread({
|
|
13164
|
+
children: ConfirmModal({
|
|
13165
|
+
children
|
|
13166
|
+
}),
|
|
13167
|
+
groupProps: {
|
|
13168
|
+
justify: "stretch",
|
|
13169
|
+
gap: 'md'
|
|
13170
|
+
},
|
|
13171
|
+
onConfirm,
|
|
13172
|
+
labels
|
|
13173
|
+
}, rest));
|
|
13174
|
+
};
|
|
13144
13175
|
const ErrorModal = () => modals.modals.openContextModal({
|
|
13145
|
-
modal:
|
|
13146
|
-
title:
|
|
13176
|
+
modal: "ErrorModal",
|
|
13177
|
+
title: "Error",
|
|
13147
13178
|
innerProps: {
|
|
13148
|
-
modalBody:
|
|
13179
|
+
modalBody: "This is an error modal"
|
|
13149
13180
|
}
|
|
13150
13181
|
});
|
|
13151
13182
|
const InfoModal = () => modals.modals.openContextModal({
|
|
13152
|
-
modal:
|
|
13153
|
-
title:
|
|
13183
|
+
modal: "InfoModal",
|
|
13184
|
+
title: "Info",
|
|
13154
13185
|
innerProps: {
|
|
13155
|
-
modalBody:
|
|
13186
|
+
modalBody: "This is an info modal"
|
|
13156
13187
|
}
|
|
13157
13188
|
});
|
|
13158
13189
|
const SimpleModal = () => modals.modals.openContextModal({
|
|
13159
|
-
modal:
|
|
13160
|
-
title:
|
|
13190
|
+
modal: "SimpleModal",
|
|
13191
|
+
title: "Simple",
|
|
13161
13192
|
innerProps: {
|
|
13162
|
-
modalBody:
|
|
13193
|
+
modalBody: "This is a simple modal"
|
|
13163
13194
|
}
|
|
13164
13195
|
});
|
|
13165
13196
|
const SuccessModal = () => modals.modals.openContextModal({
|
|
13166
|
-
modal:
|
|
13167
|
-
title:
|
|
13197
|
+
modal: "SuccessModal",
|
|
13198
|
+
title: "Success",
|
|
13168
13199
|
innerProps: {
|
|
13169
|
-
modalBody:
|
|
13200
|
+
modalBody: "This is a success modal"
|
|
13170
13201
|
}
|
|
13171
13202
|
});
|
|
13172
13203
|
const TwoFactorVerificationModal = () => modals.modals.openContextModal({
|
|
13173
|
-
modal:
|
|
13174
|
-
title:
|
|
13204
|
+
modal: "TwoFactorVerificationModal",
|
|
13205
|
+
title: "Two Factor Verification",
|
|
13175
13206
|
innerProps: {
|
|
13176
|
-
modalBody:
|
|
13207
|
+
modalBody: "This is a two factor verification modal"
|
|
13177
13208
|
}
|
|
13178
13209
|
});
|
|
13179
13210
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
1
3
|
import { modals } from '@mantine/modals';
|
|
2
4
|
import React, { useRef, useMemo, useEffect } from 'react';
|
|
3
5
|
import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, TextInput, ActionIcon, Box, Title, createTheme, SegmentedControl, Breadcrumbs, Anchor, ColorSwatch, AspectRatio, Overlay, rem, SimpleGrid, Indicator, Table } from '@mantine/core';
|
|
6
|
+
import * as IconSax from 'iconsax-react';
|
|
4
7
|
import _extends from '@babel/runtime/helpers/extends';
|
|
5
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
8
|
import HighchartsReact from 'highcharts-react-official';
|
|
7
9
|
import HighchartsRounded from 'highcharts-rounded-corners';
|
|
8
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
9
|
-
import * as IconSax from 'iconsax-react';
|
|
10
10
|
import { Link } from 'react-router-dom';
|
|
11
11
|
import { useDisclosure } from '@mantine/hooks';
|
|
12
12
|
import '@fontsource/poppins/100.css';
|
|
@@ -11320,8 +11320,8 @@ const createAreaFillGradient = function (baseColor) {
|
|
|
11320
11320
|
};
|
|
11321
11321
|
};
|
|
11322
11322
|
|
|
11323
|
-
function ownKeys$
|
|
11324
|
-
function _objectSpread$
|
|
11323
|
+
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; }
|
|
11324
|
+
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; }
|
|
11325
11325
|
|
|
11326
11326
|
// Initialize Highcharts with rounded corners
|
|
11327
11327
|
if (typeof window !== "undefined") {
|
|
@@ -11330,8 +11330,8 @@ if (typeof window !== "undefined") {
|
|
|
11330
11330
|
const Column = props => {
|
|
11331
11331
|
const chartRef = useRef(null);
|
|
11332
11332
|
const chartOptions = useMemo(() => {
|
|
11333
|
-
const column = _objectSpread$
|
|
11334
|
-
return _objectSpread$
|
|
11333
|
+
const column = _objectSpread$4({}, props);
|
|
11334
|
+
return _objectSpread$4(_objectSpread$4({}, initChart$2(column)), initSeries$2(column));
|
|
11335
11335
|
}, [props]);
|
|
11336
11336
|
useEffect(() => {
|
|
11337
11337
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11434,7 +11434,7 @@ const initSeries$2 = props => {
|
|
|
11434
11434
|
enableMouseTracking: false,
|
|
11435
11435
|
showInLegend: false
|
|
11436
11436
|
});
|
|
11437
|
-
const mainSeries = _objectSpread$
|
|
11437
|
+
const mainSeries = _objectSpread$4(_objectSpread$4({}, fillSeries(boundary)), {
|
|
11438
11438
|
name: props.yAxisLabel[0],
|
|
11439
11439
|
color: seriesColors ? seriesColors[0] : "gray",
|
|
11440
11440
|
data: seriesData[0],
|
|
@@ -11474,7 +11474,7 @@ const initSeries$2 = props => {
|
|
|
11474
11474
|
pointWidth: undefined
|
|
11475
11475
|
}
|
|
11476
11476
|
};
|
|
11477
|
-
const plot = _objectSpread$
|
|
11477
|
+
const plot = _objectSpread$4(_objectSpread$4({}, {
|
|
11478
11478
|
column: {
|
|
11479
11479
|
borderWidth: 0,
|
|
11480
11480
|
borderRadius: 10
|
|
@@ -11529,13 +11529,13 @@ const initChart$1 = props => {
|
|
|
11529
11529
|
};
|
|
11530
11530
|
};
|
|
11531
11531
|
|
|
11532
|
-
function ownKeys$
|
|
11533
|
-
function _objectSpread$
|
|
11532
|
+
function ownKeys$3(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; }
|
|
11533
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11534
11534
|
const Area = props => {
|
|
11535
11535
|
const chartRef = useRef(null);
|
|
11536
11536
|
const chartOptions = useMemo(() => {
|
|
11537
|
-
const area = _objectSpread$
|
|
11538
|
-
return _objectSpread$
|
|
11537
|
+
const area = _objectSpread$3({}, props);
|
|
11538
|
+
return _objectSpread$3(_objectSpread$3({}, initChart$1(area)), initSeries$1(area));
|
|
11539
11539
|
}, [props]);
|
|
11540
11540
|
useEffect(() => {
|
|
11541
11541
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11596,7 +11596,7 @@ const initSeries$1 = props => {
|
|
|
11596
11596
|
const labels = {
|
|
11597
11597
|
color: "#575E77"
|
|
11598
11598
|
};
|
|
11599
|
-
return _objectSpread$
|
|
11599
|
+
return _objectSpread$3(_objectSpread$3({}, defaults), {
|
|
11600
11600
|
labels
|
|
11601
11601
|
});
|
|
11602
11602
|
};
|
|
@@ -11633,16 +11633,16 @@ const initSeries$1 = props => {
|
|
|
11633
11633
|
};
|
|
11634
11634
|
};
|
|
11635
11635
|
|
|
11636
|
-
const _excluded$
|
|
11637
|
-
function ownKeys$
|
|
11638
|
-
function _objectSpread$
|
|
11636
|
+
const _excluded$a = ["withLegend", "centerLabel", "centerValue"];
|
|
11637
|
+
function ownKeys$2(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; }
|
|
11638
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11639
11639
|
const initChart = _ref => {
|
|
11640
11640
|
let {
|
|
11641
11641
|
withLegend,
|
|
11642
11642
|
centerLabel = "",
|
|
11643
11643
|
centerValue = ""
|
|
11644
11644
|
} = _ref;
|
|
11645
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
11645
|
+
_objectWithoutProperties(_ref, _excluded$a);
|
|
11646
11646
|
return {
|
|
11647
11647
|
chart: {
|
|
11648
11648
|
type: "pie",
|
|
@@ -11685,7 +11685,7 @@ const initChart = _ref => {
|
|
|
11685
11685
|
},
|
|
11686
11686
|
legend: !withLegend ? {
|
|
11687
11687
|
enabled: false
|
|
11688
|
-
} : _objectSpread$
|
|
11688
|
+
} : _objectSpread$2(_objectSpread$2({}, {
|
|
11689
11689
|
enabled: true,
|
|
11690
11690
|
layout: "vertical",
|
|
11691
11691
|
verticalAlign: "middle",
|
|
@@ -11718,13 +11718,13 @@ const initChart = _ref => {
|
|
|
11718
11718
|
};
|
|
11719
11719
|
};
|
|
11720
11720
|
|
|
11721
|
-
function ownKeys(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; }
|
|
11722
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11721
|
+
function ownKeys$1(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; }
|
|
11722
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11723
11723
|
const DonutChart = props => {
|
|
11724
11724
|
const chartRef = useRef(null);
|
|
11725
11725
|
const chartOptions = useMemo(() => {
|
|
11726
|
-
const area = _objectSpread({}, props);
|
|
11727
|
-
return _objectSpread(_objectSpread({}, initChart(area)), initSeries(area));
|
|
11726
|
+
const area = _objectSpread$1({}, props);
|
|
11727
|
+
return _objectSpread$1(_objectSpread$1({}, initChart(area)), initSeries(area));
|
|
11728
11728
|
}, [props]);
|
|
11729
11729
|
useEffect(() => {
|
|
11730
11730
|
if (chartRef.current && chartRef.current.chart) {
|
|
@@ -11782,7 +11782,7 @@ var img$c = "data:image/svg+xml,%3csvg width='5894' height='1608' viewBox='0 0 5
|
|
|
11782
11782
|
|
|
11783
11783
|
var img$b = "data:image/svg+xml,%3csvg width='893' height='221' viewBox='0 0 893 221' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M123.741 148.741H85.2506C51.0805 148.741 23.3801 121.041 23.3801 86.8706C23.3801 52.7005 51.0805 25.0001 85.2506 25.0001H220.681L197.302 54.6523H85.2505C67.4569 54.6523 53.0323 69.0769 53.0323 86.8706C53.0323 104.664 67.4569 119.089 85.2506 119.089H147.121L123.741 148.741Z' fill='url(%23paint0_linear_1362_1353)'/%3e%3cpath d='M96.9399 71.7585H135.431C169.601 71.7585 197.301 99.4589 197.301 133.629C197.301 167.799 169.601 195.499 135.431 195.499H0L23.3796 165.847H135.431C153.224 165.847 167.649 151.423 167.649 133.629C167.649 115.835 153.224 101.411 135.431 101.411H73.5602L96.9399 71.7585Z' fill='url(%23paint1_linear_1362_1353)'/%3e%3cpath d='M258.1 85.7725C258.1 89.0535 259.896 91.5532 263.49 93.2718C267.239 94.8341 273.098 96.4746 281.066 98.1932C290.128 100.068 297.705 102.177 303.798 104.521C309.891 106.864 315.125 110.614 319.5 115.769C324.03 120.769 326.296 127.565 326.296 136.158C326.296 143.814 323.952 150.453 319.265 156.078C314.734 161.702 308.641 165.999 300.986 168.967C293.33 171.779 284.972 173.186 275.91 173.186C263.568 173.186 252.944 170.842 244.039 166.155C235.289 161.468 228.806 154.75 224.587 146.001L248.491 133.58C252.71 144.36 261.849 149.75 275.91 149.75C282.003 149.75 287.237 148.579 291.612 146.235C295.986 143.892 298.174 140.533 298.174 136.158C298.174 132.408 296.143 129.674 292.081 127.956C288.175 126.081 281.769 124.05 272.864 121.863C263.646 119.675 256.147 117.488 250.366 115.301C244.585 113.114 239.586 109.754 235.368 105.224C231.149 100.537 229.04 94.3654 229.04 86.71C229.04 79.2107 231.149 72.727 235.368 67.2588C239.586 61.6344 245.288 57.3379 252.475 54.3695C259.662 51.401 267.552 49.9168 276.145 49.9168C286.3 49.9168 295.361 52.026 303.329 56.2443C311.454 60.4626 317.703 66.4776 322.078 74.2893L298.408 86.2412C294.346 77.4921 286.925 73.1176 276.145 73.1176C270.676 73.1176 266.302 74.2893 263.021 76.6328C259.74 78.8201 258.1 81.8667 258.1 85.7725Z' fill='%23303838'/%3e%3cpath d='M471.535 170.139H442.71V100.771C442.71 92.0219 440.21 85.7725 435.211 82.0229C430.367 78.1171 424.587 76.1641 417.869 76.1641C412.557 76.1641 407.713 77.8046 403.339 81.0855C399.12 84.3664 396.386 89.6003 395.136 96.787V170.139H366.077V6.09312H395.136V62.8061C399.042 59.0565 403.495 56.0881 408.495 53.9008C413.65 51.7135 419.118 50.6199 424.899 50.6199C431.773 50.6199 438.726 52.1041 445.756 55.0725C452.787 57.8847 458.802 62.9624 463.801 70.3054C468.957 77.6484 471.535 87.5692 471.535 100.068V170.139Z' fill='%23303838'/%3e%3cpath d='M538.164 33.5122C532.696 33.5122 528.399 32.028 525.275 29.0595C522.15 26.0911 520.588 22.029 520.588 16.8733C520.588 11.5613 522.15 7.42112 525.275 4.45267C528.399 1.48422 532.696 0 538.164 0C543.632 0 547.929 1.48422 551.053 4.45267C554.178 7.42112 555.74 11.5613 555.74 16.8733C555.74 21.8728 554.1 25.9349 550.819 29.0595C547.694 32.028 543.476 33.5122 538.164 33.5122ZM523.4 170.139V52.9634H552.459V170.139H523.4Z' fill='%23303838'/%3e%3cpath d='M694.084 52.9634H723.144V164.28C723.144 175.373 720.332 185.137 714.707 193.574C709.239 202.011 701.584 208.494 691.741 213.025C681.898 217.712 670.884 220.056 658.697 220.056C645.105 220.056 632.762 217.4 621.67 212.088C610.577 206.932 602.766 200.136 598.235 191.699L623.076 177.404C625.419 181.935 629.794 185.684 636.2 188.653C642.605 191.777 650.339 193.34 659.4 193.34C669.399 193.34 677.68 190.606 684.242 185.137C690.803 179.826 694.084 172.873 694.084 164.28V158.89C688.772 163.577 682.836 167.171 676.274 169.67C669.712 172.17 662.916 173.42 655.885 173.42C644.011 173.42 633.622 170.764 624.716 165.452C615.811 160.14 608.937 152.797 604.094 143.423C599.406 134.049 597.063 123.503 597.063 111.786C597.063 100.068 599.406 89.5222 604.094 80.1481C608.937 70.7741 615.811 63.4311 624.716 58.1191C633.622 52.6509 644.011 49.9168 655.885 49.9168C662.916 49.9168 669.634 51.2448 676.039 53.9008C682.601 56.4005 688.616 59.9158 694.084 64.4466V52.9634ZM659.635 145.532C666.04 145.532 671.821 144.126 676.977 141.314C682.289 138.345 686.429 134.283 689.397 129.128C692.522 123.972 694.084 118.113 694.084 111.551C694.084 101.708 690.725 93.6624 684.007 87.413C677.445 81.1636 669.321 78.0389 659.635 78.0389C649.792 78.0389 641.668 81.2418 635.262 87.6473C629.013 93.8967 625.888 101.943 625.888 111.786C625.888 121.628 629.013 129.752 635.262 136.158C641.668 142.407 649.792 145.532 659.635 145.532Z' fill='%23303838'/%3e%3cpath d='M863.755 52.9634H892.814V170.139H863.755V158.656C858.286 163.343 852.271 167.014 845.71 169.67C839.304 172.17 832.508 173.42 825.321 173.42C813.447 173.42 803.058 170.764 794.152 165.452C785.247 160.14 778.373 152.797 773.529 143.423C768.842 134.049 766.499 123.503 766.499 111.786C766.499 100.068 768.842 89.5222 773.529 80.1481C778.373 70.7741 785.247 63.4311 794.152 58.1191C803.058 52.6509 813.447 49.9168 825.321 49.9168C832.508 49.9168 839.304 51.2448 845.71 53.9008C852.271 56.4005 858.286 59.9939 863.755 64.6809V52.9634ZM829.071 145.532C835.476 145.532 841.257 144.126 846.413 141.314C851.725 138.345 855.865 134.283 858.833 129.128C861.958 123.972 863.52 118.113 863.52 111.551C863.52 101.708 860.161 93.6624 853.443 87.413C846.881 81.1636 838.757 78.0389 829.071 78.0389C819.228 78.0389 811.104 81.2418 804.698 87.6473C798.449 93.8967 795.324 101.943 795.324 111.786C795.324 121.628 798.449 129.752 804.698 136.158C811.104 142.407 819.228 145.532 829.071 145.532Z' fill='%23303838'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear_1362_1353' x1='122.031' y1='25.0001' x2='122.031' y2='148.741' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23409393'/%3e%3cstop offset='1' stop-color='%2302424C'/%3e%3c/linearGradient%3e%3clinearGradient id='paint1_linear_1362_1353' x1='98.6506' y1='71.7585' x2='98.6506' y2='195.499' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%2302424C'/%3e%3cstop offset='1' stop-color='%23409393'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
11784
11784
|
|
|
11785
|
-
const _excluded$
|
|
11785
|
+
const _excluded$9 = ["href", "fallbackSrc", "src", "fit"],
|
|
11786
11786
|
_excluded2$2 = ["href", "src", "fit", "w"],
|
|
11787
11787
|
_excluded3$1 = ["href", "src", "fit"];
|
|
11788
11788
|
const Logo = _ref => {
|
|
@@ -11792,7 +11792,7 @@ const Logo = _ref => {
|
|
|
11792
11792
|
src,
|
|
11793
11793
|
fit
|
|
11794
11794
|
} = _ref,
|
|
11795
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11795
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
11796
11796
|
return /*#__PURE__*/React.createElement(Center, _extends({}, rest, {
|
|
11797
11797
|
component: Link,
|
|
11798
11798
|
display: "flex",
|
|
@@ -11836,13 +11836,13 @@ const DynamicShigaLogo = _ref3 => {
|
|
|
11836
11836
|
}));
|
|
11837
11837
|
};
|
|
11838
11838
|
|
|
11839
|
-
const _excluded$
|
|
11839
|
+
const _excluded$8 = ["children", "toggle"];
|
|
11840
11840
|
const ApplicationMenuTarget = _ref => {
|
|
11841
11841
|
let {
|
|
11842
11842
|
children,
|
|
11843
11843
|
toggle
|
|
11844
11844
|
} = _ref;
|
|
11845
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
11845
|
+
_objectWithoutProperties(_ref, _excluded$8);
|
|
11846
11846
|
return /*#__PURE__*/React.createElement(Popover.Target, null, /*#__PURE__*/React.createElement(Button, {
|
|
11847
11847
|
variant: "transparent",
|
|
11848
11848
|
justify: "space-between",
|
|
@@ -12119,7 +12119,7 @@ const SideMenu = _ref => {
|
|
|
12119
12119
|
}));
|
|
12120
12120
|
};
|
|
12121
12121
|
|
|
12122
|
-
const _excluded$
|
|
12122
|
+
const _excluded$7 = ["withPadding", "withRadius", "autoHeight", "children"],
|
|
12123
12123
|
_excluded2$1 = ["withPadding", "title", "children"],
|
|
12124
12124
|
_excluded3 = ["placeholder", "searchIcon", "filterIcon", "searchText", "filterFn", "children"];
|
|
12125
12125
|
const SimplePanel = _ref => {
|
|
@@ -12129,7 +12129,7 @@ const SimplePanel = _ref => {
|
|
|
12129
12129
|
autoHeight = true,
|
|
12130
12130
|
children
|
|
12131
12131
|
} = _ref,
|
|
12132
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12132
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
12133
12133
|
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
12134
12134
|
p: !withPadding ? 0 : "md",
|
|
12135
12135
|
radius: !withRadius ? 0 : "lg",
|
|
@@ -12233,7 +12233,7 @@ const LabelPanelItem = _ref => {
|
|
|
12233
12233
|
}, value));
|
|
12234
12234
|
};
|
|
12235
12235
|
|
|
12236
|
-
const _excluded$
|
|
12236
|
+
const _excluded$6 = ["title", "hasEdit", "labelWidth", "editFn", "editLabel", "items", "withBorder", "radius", "p"],
|
|
12237
12237
|
_excluded2 = ["avatarSize", "avatar", "labelWidth", "withBorder", "radius", "p", "name", "username", "editLabel", "lastActive", "role", "editFn"];
|
|
12238
12238
|
const LabelPanel = _ref => {
|
|
12239
12239
|
let {
|
|
@@ -12247,7 +12247,7 @@ const LabelPanel = _ref => {
|
|
|
12247
12247
|
radius = "md",
|
|
12248
12248
|
p = "md"
|
|
12249
12249
|
} = _ref,
|
|
12250
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12250
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
12251
12251
|
return /*#__PURE__*/React.createElement(Card, _extends({}, rest, {
|
|
12252
12252
|
withBorder,
|
|
12253
12253
|
radius,
|
|
@@ -12341,13 +12341,13 @@ const AvatarLabelPanel = _ref2 => {
|
|
|
12341
12341
|
}, editLabel)));
|
|
12342
12342
|
};
|
|
12343
12343
|
|
|
12344
|
-
const _excluded$
|
|
12344
|
+
const _excluded$5 = ["label", "smaller"];
|
|
12345
12345
|
const SimpleText = _ref => {
|
|
12346
12346
|
let {
|
|
12347
12347
|
label,
|
|
12348
12348
|
smaller
|
|
12349
12349
|
} = _ref,
|
|
12350
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12350
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
12351
12351
|
return /*#__PURE__*/React.createElement(Text, _extends({
|
|
12352
12352
|
fw: 300,
|
|
12353
12353
|
fz: smaller ? '90%' : undefined
|
|
@@ -12373,7 +12373,7 @@ const theme = createTheme({
|
|
|
12373
12373
|
}
|
|
12374
12374
|
});
|
|
12375
12375
|
|
|
12376
|
-
const _excluded$
|
|
12376
|
+
const _excluded$4 = ["title", "subtitle", "rightsection", "withCreate", "withSwitcher", "create", "switcher"];
|
|
12377
12377
|
const PageTitle = _ref => {
|
|
12378
12378
|
var _switcher$items;
|
|
12379
12379
|
let {
|
|
@@ -12385,7 +12385,7 @@ const PageTitle = _ref => {
|
|
|
12385
12385
|
create,
|
|
12386
12386
|
switcher
|
|
12387
12387
|
} = _ref,
|
|
12388
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12388
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
12389
12389
|
if (withCreate && create) {
|
|
12390
12390
|
const {
|
|
12391
12391
|
createFn,
|
|
@@ -12523,7 +12523,7 @@ const ConnectionPanelDetail = _ref => {
|
|
|
12523
12523
|
}, value));
|
|
12524
12524
|
};
|
|
12525
12525
|
|
|
12526
|
-
const _excluded$
|
|
12526
|
+
const _excluded$3 = ["statusColor", "name", "status", "edit", "test", "pause", "details", "altColor"];
|
|
12527
12527
|
const ConnectionPanel = _ref => {
|
|
12528
12528
|
let {
|
|
12529
12529
|
statusColor,
|
|
@@ -12535,7 +12535,7 @@ const ConnectionPanel = _ref => {
|
|
|
12535
12535
|
details,
|
|
12536
12536
|
altColor
|
|
12537
12537
|
} = _ref;
|
|
12538
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
12538
|
+
_objectWithoutProperties(_ref, _excluded$3);
|
|
12539
12539
|
return /*#__PURE__*/React.createElement(Card, {
|
|
12540
12540
|
withBorder: true,
|
|
12541
12541
|
bg: "gray.0",
|
|
@@ -12648,12 +12648,12 @@ const ApplicationPanelFeatures = _ref => {
|
|
|
12648
12648
|
}, label));
|
|
12649
12649
|
};
|
|
12650
12650
|
|
|
12651
|
-
const _excluded$
|
|
12651
|
+
const _excluded$2 = ["name", "coverImage", "discount", "summary", "featureLabel", "features", "amount", "frequency", "actionLabel", "subscribed", "subscribedLabel", "onClick"];
|
|
12652
12652
|
const ApplicationPanel = _ref => {
|
|
12653
12653
|
let {
|
|
12654
12654
|
name,
|
|
12655
12655
|
coverImage,
|
|
12656
|
-
discount,
|
|
12656
|
+
discount = "",
|
|
12657
12657
|
summary,
|
|
12658
12658
|
featureLabel,
|
|
12659
12659
|
features,
|
|
@@ -12664,7 +12664,7 @@ const ApplicationPanel = _ref => {
|
|
|
12664
12664
|
subscribedLabel = "Added",
|
|
12665
12665
|
onClick = () => void 0
|
|
12666
12666
|
} = _ref,
|
|
12667
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12667
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
12668
12668
|
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
12669
12669
|
withBorder: true,
|
|
12670
12670
|
radius: "md"
|
|
@@ -12988,7 +12988,7 @@ var img$1 = "data:image/svg+xml,%3csvg width='622' height='800' viewBox='0 0 622
|
|
|
12988
12988
|
|
|
12989
12989
|
var img = "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='M353.045 632.525C351.086 629.822 348.355 627.56 344.838 625.739C341.321 623.918 336.659 623.008 330.88 623.008H313.914V678.07H334.659C337.418 678.07 340.149 677.601 342.866 676.649C345.583 675.697 348.052 674.166 350.314 672.029C352.576 669.891 354.397 666.911 355.776 663.077C357.155 659.242 357.845 654.497 357.845 648.842C357.845 646.58 357.542 643.96 356.907 641.022C356.273 638.084 354.99 635.242 353.045 632.525Z' fill='%23273050'/%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.7724ZM239.194 361.062H290.311V236.193V120.897V107.103C290.311 99.4759 296.477 93.3103 304.105 93.3103C311.732 93.3103 317.898 99.4759 317.898 107.103V119.49C319.346 125.848 330.973 169.228 384.96 212.428C398.863 223.572 408.96 233.876 416.794 244.855C435.622 271.255 463.884 326.634 441.442 400.772C439.636 406.731 434.173 410.566 428.242 410.566C426.918 410.566 425.58 410.372 424.242 409.972C418.284 408.166 414.449 402.703 414.449 396.772C414.449 395.448 414.642 394.11 415.042 392.772C428.518 348.276 374.973 308.855 342.987 285.283C333.884 278.593 326.684 273.297 322.008 268.662L317.898 265.283V423.531C317.898 471.407 278.96 510.345 231.084 510.345C183.277 510.345 152.38 479.448 152.38 431.641C152.38 388.11 185.649 361.062 239.194 361.062Z' fill='%235F6EA7'/%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.65625ZM256.767 744.828H233.76V649.214L202.642 726.524H182.656L151.346 649.214V744.828H128.339V605.849H151.346L192.642 700.897L233.746 605.849H256.753V744.828H256.767ZM376.146 667.987C373.76 673.711 370.422 678.524 366.146 682.414C361.87 686.304 356.711 689.324 350.684 691.462C344.656 693.6 337.98 694.662 330.698 694.662H313.911V744.828H291.277V605.849H331.249C337.167 605.849 343.015 606.787 348.78 608.676C354.546 610.566 359.746 613.393 364.339 617.159C368.932 620.924 372.642 625.49 375.47 630.828C378.298 636.166 379.718 642.166 379.718 648.842C379.718 655.89 378.532 662.262 376.146 667.987ZM481.456 720.98C479.636 725.573 477.332 729.366 474.573 732.387C471.815 735.407 468.698 737.835 465.236 739.642C461.773 741.449 458.422 742.814 455.153 743.697C451.884 744.58 448.904 745.131 446.201 745.393C443.498 745.656 441.387 745.766 439.884 745.766C429.318 745.766 421.001 745.035 414.891 743.6C408.78 742.166 404.546 740.676 402.16 739.173L407.249 722.952C408.38 723.587 409.442 724.276 410.449 725.021C411.456 725.766 412.905 726.497 414.78 727.187C416.656 727.876 419.304 728.442 422.698 728.883C426.091 729.324 430.739 729.545 436.656 729.545C445.332 729.545 451.815 727.187 456.077 722.469C460.339 717.752 462.491 711.821 462.491 704.649C462.491 697.862 460.532 692.138 456.642 687.49C452.753 682.842 447.029 680.511 439.484 680.511H420.436L420.242 665.242H433.07C435.829 665.242 438.629 665.173 441.456 665.049C444.284 664.924 446.946 664.221 449.47 662.98C451.994 661.738 454.063 659.587 455.691 656.566C457.318 653.545 458.146 649.214 458.146 643.559C458.146 641.297 457.953 638.911 457.58 636.387C457.208 633.862 456.16 631.545 454.463 629.407C452.767 627.269 450.284 625.545 447.015 624.221C443.746 622.897 439.222 622.235 433.442 622.235C427.663 622.235 423.042 622.773 419.58 623.835C416.118 624.897 413.525 625.752 411.76 626.387L405.153 609.421C408.173 608.552 411.911 607.6 416.367 606.593C420.822 605.587 427.277 605.09 435.691 605.09C441.608 605.09 447.194 605.821 452.477 607.256C457.76 608.69 462.38 610.993 466.339 614.138C470.298 617.283 473.442 621.311 475.773 626.207C478.105 631.104 479.263 636.883 479.263 643.559C479.263 647.449 478.573 651.007 477.194 654.207C475.815 657.407 474.049 660.221 471.911 662.593C469.773 664.966 467.387 666.952 464.739 668.538C462.091 670.124 459.649 671.145 457.387 671.656C460.284 672.028 463.263 672.98 466.339 674.483C469.415 675.987 472.284 678.138 474.918 680.897C477.553 683.656 479.76 687.021 481.525 690.98C483.291 694.938 484.16 699.49 484.16 704.649C484.201 710.952 483.277 716.387 481.456 720.98Z' fill='%23273050'/%3e%3c/svg%3e";
|
|
12990
12990
|
|
|
12991
|
-
const _excluded = ["shape", "type", "w", "bg", "bd", "rightsection"];
|
|
12991
|
+
const _excluded$1 = ["shape", "type", "w", "bg", "bd", "rightsection"];
|
|
12992
12992
|
const CHIP_HEIGHT = 25;
|
|
12993
12993
|
const TILE_HEIGHT = 70;
|
|
12994
12994
|
const CHIP_WIDTH = CHIP_HEIGHT;
|
|
@@ -13009,7 +13009,7 @@ const File = _ref => {
|
|
|
13009
13009
|
bd = "0.5px solid",
|
|
13010
13010
|
rightsection
|
|
13011
13011
|
} = _ref,
|
|
13012
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13012
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
13013
13013
|
const isChip = shape == "chip";
|
|
13014
13014
|
const radius = isChip ? "md" : "sm";
|
|
13015
13015
|
return /*#__PURE__*/React.createElement(Card, _extends({}, rest, {
|
|
@@ -13112,47 +13112,78 @@ const TwoFactorVerificationModal = _ref => {
|
|
|
13112
13112
|
}, "Close modal"));
|
|
13113
13113
|
};
|
|
13114
13114
|
|
|
13115
|
+
const ConfirmModal = _ref => {
|
|
13116
|
+
let {
|
|
13117
|
+
children
|
|
13118
|
+
} = _ref;
|
|
13119
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icons, {
|
|
13120
|
+
size: 48,
|
|
13121
|
+
name: "MessageQuestion"
|
|
13122
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
13123
|
+
size: "sm"
|
|
13124
|
+
}, children));
|
|
13125
|
+
};
|
|
13126
|
+
|
|
13127
|
+
const _excluded = ["title", "children", "onConfirm", "labels"];
|
|
13128
|
+
function ownKeys(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; }
|
|
13129
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13115
13130
|
const useModal = () => {
|
|
13116
|
-
const ConfirmationModal =
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13131
|
+
const ConfirmationModal = _ref => {
|
|
13132
|
+
let {
|
|
13133
|
+
title = "",
|
|
13134
|
+
children,
|
|
13135
|
+
onConfirm,
|
|
13136
|
+
labels = {
|
|
13137
|
+
cancel: "Cancel",
|
|
13138
|
+
confirm: "Confirm"
|
|
13139
|
+
}
|
|
13140
|
+
} = _ref,
|
|
13141
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13142
|
+
return modals.openConfirmModal(_objectSpread({
|
|
13143
|
+
children: ConfirmModal({
|
|
13144
|
+
children
|
|
13145
|
+
}),
|
|
13146
|
+
groupProps: {
|
|
13147
|
+
justify: "stretch",
|
|
13148
|
+
gap: 'md'
|
|
13149
|
+
},
|
|
13150
|
+
onConfirm,
|
|
13151
|
+
labels
|
|
13152
|
+
}, rest));
|
|
13153
|
+
};
|
|
13123
13154
|
const ErrorModal = () => modals.openContextModal({
|
|
13124
|
-
modal:
|
|
13125
|
-
title:
|
|
13155
|
+
modal: "ErrorModal",
|
|
13156
|
+
title: "Error",
|
|
13126
13157
|
innerProps: {
|
|
13127
|
-
modalBody:
|
|
13158
|
+
modalBody: "This is an error modal"
|
|
13128
13159
|
}
|
|
13129
13160
|
});
|
|
13130
13161
|
const InfoModal = () => modals.openContextModal({
|
|
13131
|
-
modal:
|
|
13132
|
-
title:
|
|
13162
|
+
modal: "InfoModal",
|
|
13163
|
+
title: "Info",
|
|
13133
13164
|
innerProps: {
|
|
13134
|
-
modalBody:
|
|
13165
|
+
modalBody: "This is an info modal"
|
|
13135
13166
|
}
|
|
13136
13167
|
});
|
|
13137
13168
|
const SimpleModal = () => modals.openContextModal({
|
|
13138
|
-
modal:
|
|
13139
|
-
title:
|
|
13169
|
+
modal: "SimpleModal",
|
|
13170
|
+
title: "Simple",
|
|
13140
13171
|
innerProps: {
|
|
13141
|
-
modalBody:
|
|
13172
|
+
modalBody: "This is a simple modal"
|
|
13142
13173
|
}
|
|
13143
13174
|
});
|
|
13144
13175
|
const SuccessModal = () => modals.openContextModal({
|
|
13145
|
-
modal:
|
|
13146
|
-
title:
|
|
13176
|
+
modal: "SuccessModal",
|
|
13177
|
+
title: "Success",
|
|
13147
13178
|
innerProps: {
|
|
13148
|
-
modalBody:
|
|
13179
|
+
modalBody: "This is a success modal"
|
|
13149
13180
|
}
|
|
13150
13181
|
});
|
|
13151
13182
|
const TwoFactorVerificationModal = () => modals.openContextModal({
|
|
13152
|
-
modal:
|
|
13153
|
-
title:
|
|
13183
|
+
modal: "TwoFactorVerificationModal",
|
|
13184
|
+
title: "Two Factor Verification",
|
|
13154
13185
|
innerProps: {
|
|
13155
|
-
modalBody:
|
|
13186
|
+
modalBody: "This is a two factor verification modal"
|
|
13156
13187
|
}
|
|
13157
13188
|
});
|
|
13158
13189
|
return {
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { OpenConfirmModal } from "@mantine/modals/lib/context";
|
|
1
2
|
export declare const useModal: () => {
|
|
2
|
-
ConfirmationModal: () => string;
|
|
3
|
+
ConfirmationModal: ({ title, children, onConfirm, labels, ...rest }: OpenConfirmModal) => string;
|
|
3
4
|
ErrorModal: () => string;
|
|
4
5
|
InfoModal: () => string;
|
|
5
6
|
SimpleModal: () => string;
|
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.0.
|
|
4
|
+
"version": "0.0.36",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|