@adiba-banking-cloud/backoffice 0.0.16 → 0.0.18
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 +225 -233
- package/build/index.esm.js/index.js +224 -230
- package/build/typings/components/general/title/Title.d.ts +1 -3
- package/build/typings/components/general/title/Title.stories.d.ts +2 -2
- package/build/typings/components/general/title/Title.types.d.ts +5 -4
- package/build/typings/components/index.d.ts +1 -1
- package/build/typings/components/panels/label/Label.types.d.ts +1 -0
- package/build/typings/components/panels/label/LabelItem.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
|
-
import React
|
|
3
|
+
import React, { useRef, useMemo, useEffect } from 'react';
|
|
4
4
|
import HighchartsReact from 'highcharts-react-official';
|
|
5
5
|
import HighchartsRounded from 'highcharts-rounded-corners';
|
|
6
6
|
import * as IconSax from 'iconsax-react';
|
|
7
7
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
8
|
-
import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, TextInput, ActionIcon, Box, Title, createTheme, Breadcrumbs, Anchor,
|
|
8
|
+
import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, TextInput, ActionIcon, Box, Title, createTheme, SegmentedControl, Breadcrumbs, Anchor, ColorSwatch, rem, SimpleGrid, Indicator } from '@mantine/core';
|
|
9
9
|
import { Link } from 'react-router-dom';
|
|
10
10
|
import { useDisclosure } from '@mantine/hooks';
|
|
11
11
|
import '@fontsource/poppins/100.css';
|
|
@@ -11212,7 +11212,7 @@ const Column = props => {
|
|
|
11212
11212
|
chartRef.current.chart.update(chartOptions, true);
|
|
11213
11213
|
}
|
|
11214
11214
|
}, [chartOptions]);
|
|
11215
|
-
return /*#__PURE__*/React
|
|
11215
|
+
return /*#__PURE__*/React.createElement(HighchartsReact, {
|
|
11216
11216
|
highcharts: Highcharts,
|
|
11217
11217
|
ref: chartRef,
|
|
11218
11218
|
options: chartOptions
|
|
@@ -11230,7 +11230,7 @@ const EqualizerColumn = props => {
|
|
|
11230
11230
|
colors: [props.color || "blue"],
|
|
11231
11231
|
title: props.title
|
|
11232
11232
|
};
|
|
11233
|
-
return /*#__PURE__*/React
|
|
11233
|
+
return /*#__PURE__*/React.createElement(Column, chartOptions);
|
|
11234
11234
|
};
|
|
11235
11235
|
const SimpleColumn = props => {
|
|
11236
11236
|
const chartOptions = {
|
|
@@ -11244,10 +11244,10 @@ const SimpleColumn = props => {
|
|
|
11244
11244
|
colors: [props.color || "gray"],
|
|
11245
11245
|
title: props.title
|
|
11246
11246
|
};
|
|
11247
|
-
return /*#__PURE__*/React
|
|
11247
|
+
return /*#__PURE__*/React.createElement(Column, chartOptions);
|
|
11248
11248
|
};
|
|
11249
11249
|
const StackedColumn = props => {
|
|
11250
|
-
return /*#__PURE__*/React
|
|
11250
|
+
return /*#__PURE__*/React.createElement(Column, _extends({}, props, {
|
|
11251
11251
|
equalizer: false
|
|
11252
11252
|
}));
|
|
11253
11253
|
};
|
|
@@ -11382,7 +11382,7 @@ const Icons = _ref => {
|
|
|
11382
11382
|
color
|
|
11383
11383
|
} = _ref;
|
|
11384
11384
|
const Element = IconSax[name];
|
|
11385
|
-
return /*#__PURE__*/React
|
|
11385
|
+
return /*#__PURE__*/React.createElement(Element, {
|
|
11386
11386
|
size,
|
|
11387
11387
|
color,
|
|
11388
11388
|
variant,
|
|
@@ -11397,8 +11397,8 @@ var img$7 = "data:image/svg+xml,%3csvg width='5894' height='1608' viewBox='0 0 5
|
|
|
11397
11397
|
var img$6 = "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";
|
|
11398
11398
|
|
|
11399
11399
|
const _excluded$7 = ["href", "fallbackSrc", "src", "fit"],
|
|
11400
|
-
_excluded2$
|
|
11401
|
-
_excluded3$
|
|
11400
|
+
_excluded2$2 = ["href", "src", "fit", "w"],
|
|
11401
|
+
_excluded3$1 = ["href", "src", "fit"];
|
|
11402
11402
|
const Logo = _ref => {
|
|
11403
11403
|
let {
|
|
11404
11404
|
href = '/',
|
|
@@ -11407,15 +11407,15 @@ const Logo = _ref => {
|
|
|
11407
11407
|
fit
|
|
11408
11408
|
} = _ref,
|
|
11409
11409
|
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
11410
|
-
return /*#__PURE__*/React
|
|
11410
|
+
return /*#__PURE__*/React.createElement(Center, _extends({}, rest, {
|
|
11411
11411
|
component: Link,
|
|
11412
11412
|
display: "flex",
|
|
11413
11413
|
to: href
|
|
11414
|
-
}), /*#__PURE__*/React
|
|
11414
|
+
}), /*#__PURE__*/React.createElement(Image, {
|
|
11415
11415
|
fallbackSrc: fallbackSrc,
|
|
11416
11416
|
src: src,
|
|
11417
11417
|
fit: fit
|
|
11418
|
-
}), /*#__PURE__*/React
|
|
11418
|
+
}), /*#__PURE__*/React.createElement(Space, {
|
|
11419
11419
|
flex: 1,
|
|
11420
11420
|
hidden: true
|
|
11421
11421
|
}));
|
|
@@ -11427,8 +11427,8 @@ const DynamicLogo = _ref2 => {
|
|
|
11427
11427
|
fit = "contain",
|
|
11428
11428
|
w = 180
|
|
11429
11429
|
} = _ref2,
|
|
11430
|
-
rest = _objectWithoutProperties(_ref2, _excluded2$
|
|
11431
|
-
return /*#__PURE__*/React
|
|
11430
|
+
rest = _objectWithoutProperties(_ref2, _excluded2$2);
|
|
11431
|
+
return /*#__PURE__*/React.createElement(Logo, _extends({}, rest, {
|
|
11432
11432
|
href,
|
|
11433
11433
|
src,
|
|
11434
11434
|
fit,
|
|
@@ -11441,8 +11441,8 @@ const DynamicShigaLogo = _ref3 => {
|
|
|
11441
11441
|
src,
|
|
11442
11442
|
fit = "contain"
|
|
11443
11443
|
} = _ref3,
|
|
11444
|
-
rest = _objectWithoutProperties(_ref3, _excluded3$
|
|
11445
|
-
return /*#__PURE__*/React
|
|
11444
|
+
rest = _objectWithoutProperties(_ref3, _excluded3$1);
|
|
11445
|
+
return /*#__PURE__*/React.createElement(Logo, _extends({}, rest, {
|
|
11446
11446
|
href,
|
|
11447
11447
|
src,
|
|
11448
11448
|
fit,
|
|
@@ -11457,13 +11457,13 @@ const ApplicationMenuTarget = _ref => {
|
|
|
11457
11457
|
toggle
|
|
11458
11458
|
} = _ref;
|
|
11459
11459
|
_objectWithoutProperties(_ref, _excluded$6);
|
|
11460
|
-
return /*#__PURE__*/React
|
|
11460
|
+
return /*#__PURE__*/React.createElement(Popover.Target, null, /*#__PURE__*/React.createElement(Button, {
|
|
11461
11461
|
variant: "transparent",
|
|
11462
11462
|
justify: "space-between",
|
|
11463
11463
|
h: 60,
|
|
11464
11464
|
fw: 300,
|
|
11465
11465
|
w: 200,
|
|
11466
|
-
rightSection: /*#__PURE__*/React
|
|
11466
|
+
rightSection: /*#__PURE__*/React.createElement(Icons, {
|
|
11467
11467
|
name: "ArrowDown2",
|
|
11468
11468
|
size: 16
|
|
11469
11469
|
}),
|
|
@@ -11478,32 +11478,32 @@ const ApplicationMenuDropdown = _ref => {
|
|
|
11478
11478
|
moreLink,
|
|
11479
11479
|
toggle
|
|
11480
11480
|
} = _ref;
|
|
11481
|
-
return /*#__PURE__*/React
|
|
11481
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Popover.Dropdown, {
|
|
11482
11482
|
ml: "md",
|
|
11483
11483
|
p: 5
|
|
11484
|
-
}, /*#__PURE__*/React
|
|
11484
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
11485
11485
|
gap: 5,
|
|
11486
11486
|
p: 0
|
|
11487
|
-
}, /*#__PURE__*/React
|
|
11487
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
11488
11488
|
gap: 5,
|
|
11489
11489
|
align: "flex-start"
|
|
11490
|
-
}, items.map((item, index) => /*#__PURE__*/React
|
|
11490
|
+
}, items.map((item, index) => /*#__PURE__*/React.createElement(DropdownItem, _extends({
|
|
11491
11491
|
key: "item-".concat(index)
|
|
11492
11492
|
}, item, {
|
|
11493
11493
|
onClick: e => {
|
|
11494
11494
|
toggle();
|
|
11495
11495
|
item.onClick(e);
|
|
11496
11496
|
}
|
|
11497
|
-
})))), /*#__PURE__*/React
|
|
11497
|
+
})))), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(Group, {
|
|
11498
11498
|
grow: true,
|
|
11499
11499
|
justify: "center"
|
|
11500
|
-
}, /*#__PURE__*/React
|
|
11500
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
11501
11501
|
variant: "subtle",
|
|
11502
11502
|
p: 0,
|
|
11503
11503
|
component: Link,
|
|
11504
11504
|
to: moreLink,
|
|
11505
11505
|
onClick: toggle
|
|
11506
|
-
}, /*#__PURE__*/React
|
|
11506
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
11507
11507
|
size: "xs",
|
|
11508
11508
|
fw: 300,
|
|
11509
11509
|
w: 320
|
|
@@ -11520,22 +11520,22 @@ const DropdownItem = _ref2 => {
|
|
|
11520
11520
|
inactiveColor = "adiba",
|
|
11521
11521
|
onClick
|
|
11522
11522
|
} = _ref2;
|
|
11523
|
-
return /*#__PURE__*/React
|
|
11523
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
11524
11524
|
variant: "subtle",
|
|
11525
11525
|
fw: 300,
|
|
11526
11526
|
mih: 70,
|
|
11527
11527
|
bg: active ? activeBg : {},
|
|
11528
11528
|
c: active ? activeColor : inactiveColor,
|
|
11529
11529
|
onClick: onClick
|
|
11530
|
-
}, /*#__PURE__*/React
|
|
11530
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
11531
11531
|
w: 320
|
|
11532
|
-
}, /*#__PURE__*/React
|
|
11532
|
+
}, /*#__PURE__*/React.createElement(Icons, icon), /*#__PURE__*/React.createElement(Stack, {
|
|
11533
11533
|
align: "flex-start",
|
|
11534
11534
|
gap: 5
|
|
11535
|
-
}, /*#__PURE__*/React
|
|
11535
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
11536
11536
|
size: "sm",
|
|
11537
11537
|
fw: 300
|
|
11538
|
-
}, title), /*#__PURE__*/React
|
|
11538
|
+
}, title), /*#__PURE__*/React.createElement(Text, {
|
|
11539
11539
|
size: "xs",
|
|
11540
11540
|
fz: 11,
|
|
11541
11541
|
fw: 300
|
|
@@ -11553,7 +11553,7 @@ const ApplicationMenu = _ref => {
|
|
|
11553
11553
|
const [opened, {
|
|
11554
11554
|
toggle
|
|
11555
11555
|
}] = useDisclosure(false);
|
|
11556
|
-
return /*#__PURE__*/React
|
|
11556
|
+
return /*#__PURE__*/React.createElement(Popover, {
|
|
11557
11557
|
transitionProps: {
|
|
11558
11558
|
transition
|
|
11559
11559
|
},
|
|
@@ -11567,9 +11567,9 @@ const ApplicationMenu = _ref => {
|
|
|
11567
11567
|
radius: "sm",
|
|
11568
11568
|
opened: opened,
|
|
11569
11569
|
onChange: toggle
|
|
11570
|
-
}, /*#__PURE__*/React
|
|
11570
|
+
}, /*#__PURE__*/React.createElement(ApplicationMenuTarget, {
|
|
11571
11571
|
toggle
|
|
11572
|
-
}, label), /*#__PURE__*/React
|
|
11572
|
+
}, label), /*#__PURE__*/React.createElement(ApplicationMenuDropdown, {
|
|
11573
11573
|
items,
|
|
11574
11574
|
moreLink,
|
|
11575
11575
|
moreText,
|
|
@@ -11583,28 +11583,28 @@ const UserMenuTarget = _ref => {
|
|
|
11583
11583
|
username,
|
|
11584
11584
|
avatar
|
|
11585
11585
|
} = _ref;
|
|
11586
|
-
return /*#__PURE__*/React
|
|
11586
|
+
return /*#__PURE__*/React.createElement(Menu.Target, null, /*#__PURE__*/React.createElement(Button, {
|
|
11587
11587
|
variant: "subtle",
|
|
11588
11588
|
h: 50,
|
|
11589
11589
|
px: 10,
|
|
11590
11590
|
radius: "md"
|
|
11591
|
-
}, /*#__PURE__*/React
|
|
11591
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
11592
11592
|
gap: "sm"
|
|
11593
|
-
}, /*#__PURE__*/React
|
|
11593
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
11594
11594
|
radius: "xl",
|
|
11595
11595
|
src: avatar
|
|
11596
|
-
}), /*#__PURE__*/React
|
|
11596
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
11597
11597
|
gap: 0,
|
|
11598
11598
|
align: "flex-start",
|
|
11599
11599
|
visibleFrom: "md",
|
|
11600
11600
|
fw: 300
|
|
11601
|
-
}, /*#__PURE__*/React
|
|
11601
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
11602
11602
|
fw: 300,
|
|
11603
11603
|
size: "sm"
|
|
11604
|
-
}, name), /*#__PURE__*/React
|
|
11604
|
+
}, name), /*#__PURE__*/React.createElement(Text, {
|
|
11605
11605
|
c: "dimmed",
|
|
11606
11606
|
size: "xs"
|
|
11607
|
-
}, username)), /*#__PURE__*/React
|
|
11607
|
+
}, username)), /*#__PURE__*/React.createElement(Icons, {
|
|
11608
11608
|
name: "ArrowDown2",
|
|
11609
11609
|
size: 12
|
|
11610
11610
|
}))));
|
|
@@ -11615,36 +11615,36 @@ const UserMenuDropdown = _ref => {
|
|
|
11615
11615
|
sections,
|
|
11616
11616
|
height = 40
|
|
11617
11617
|
} = _ref;
|
|
11618
|
-
return /*#__PURE__*/React
|
|
11618
|
+
return /*#__PURE__*/React.createElement(Menu.Dropdown, null, sections.map((section, index) => {
|
|
11619
11619
|
const items = [];
|
|
11620
11620
|
const sectionItems = section.items.map((item, key) => {
|
|
11621
11621
|
var _item$badge, _item$badge2;
|
|
11622
|
-
return /*#__PURE__*/React
|
|
11622
|
+
return /*#__PURE__*/React.createElement(Menu.Item, {
|
|
11623
11623
|
c: section === null || section === void 0 ? void 0 : section.color,
|
|
11624
11624
|
key: "menu-item-".concat(key),
|
|
11625
11625
|
h: height,
|
|
11626
|
-
leftSection: /*#__PURE__*/React
|
|
11626
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, _extends({}, item.icon, {
|
|
11627
11627
|
stroke: 0.5
|
|
11628
11628
|
})),
|
|
11629
|
-
rightSection: item !== null && item !== void 0 && item.disclosure ? /*#__PURE__*/React
|
|
11629
|
+
rightSection: item !== null && item !== void 0 && item.disclosure ? /*#__PURE__*/React.createElement(Icons, {
|
|
11630
11630
|
name: "ArrowRight2",
|
|
11631
11631
|
size: 12,
|
|
11632
11632
|
stroke: 0.5
|
|
11633
|
-
}) : item.badge ? /*#__PURE__*/React
|
|
11633
|
+
}) : item.badge ? /*#__PURE__*/React.createElement(Badge, {
|
|
11634
11634
|
color: item === null || item === void 0 || (_item$badge = item.badge) === null || _item$badge === void 0 ? void 0 : _item$badge.color,
|
|
11635
11635
|
size: "sm"
|
|
11636
11636
|
}, item === null || item === void 0 || (_item$badge2 = item.badge) === null || _item$badge2 === void 0 ? void 0 : _item$badge2.text) : undefined,
|
|
11637
11637
|
onClick: () => item.callbackFn ? item.callbackFn() : void 0
|
|
11638
|
-
}, /*#__PURE__*/React
|
|
11638
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
11639
11639
|
size: "xs",
|
|
11640
11640
|
fw: 300
|
|
11641
11641
|
}, item.label));
|
|
11642
11642
|
});
|
|
11643
|
-
if (index) items.push(/*#__PURE__*/React
|
|
11643
|
+
if (index) items.push(/*#__PURE__*/React.createElement(Divider, {
|
|
11644
11644
|
key: "divider-".concat(index),
|
|
11645
11645
|
my: 2
|
|
11646
11646
|
}));
|
|
11647
|
-
if (section !== null && section !== void 0 && section.title) items.push(/*#__PURE__*/React
|
|
11647
|
+
if (section !== null && section !== void 0 && section.title) items.push(/*#__PURE__*/React.createElement(Menu.Label, {
|
|
11648
11648
|
fz: 10,
|
|
11649
11649
|
fw: 500,
|
|
11650
11650
|
c: 'dimmed',
|
|
@@ -11664,7 +11664,7 @@ const UserMenu = _ref => {
|
|
|
11664
11664
|
avatar,
|
|
11665
11665
|
sections
|
|
11666
11666
|
} = _ref;
|
|
11667
|
-
return /*#__PURE__*/React
|
|
11667
|
+
return /*#__PURE__*/React.createElement(Menu, {
|
|
11668
11668
|
width: width || 250,
|
|
11669
11669
|
transitionProps: {
|
|
11670
11670
|
transition: "pop"
|
|
@@ -11675,11 +11675,11 @@ const UserMenu = _ref => {
|
|
|
11675
11675
|
offset: 5,
|
|
11676
11676
|
arrowOffset: 20,
|
|
11677
11677
|
arrowSize: 10
|
|
11678
|
-
}, /*#__PURE__*/React
|
|
11678
|
+
}, /*#__PURE__*/React.createElement(UserMenuTarget, {
|
|
11679
11679
|
name,
|
|
11680
11680
|
username,
|
|
11681
11681
|
avatar
|
|
11682
|
-
}), /*#__PURE__*/React
|
|
11682
|
+
}), /*#__PURE__*/React.createElement(UserMenuDropdown, {
|
|
11683
11683
|
sections,
|
|
11684
11684
|
height
|
|
11685
11685
|
}));
|
|
@@ -11693,9 +11693,9 @@ const SideMenu = _ref => {
|
|
|
11693
11693
|
sidemenu,
|
|
11694
11694
|
onClick
|
|
11695
11695
|
} = _ref;
|
|
11696
|
-
return /*#__PURE__*/React
|
|
11696
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, sidemenu.map(item => {
|
|
11697
11697
|
var _item$children, _item$children2;
|
|
11698
|
-
return /*#__PURE__*/React
|
|
11698
|
+
return /*#__PURE__*/React.createElement(NavLink, {
|
|
11699
11699
|
className: "backoffice-sidemenu",
|
|
11700
11700
|
mt: "sm",
|
|
11701
11701
|
component: Link,
|
|
@@ -11708,10 +11708,10 @@ const SideMenu = _ref => {
|
|
|
11708
11708
|
color,
|
|
11709
11709
|
variant,
|
|
11710
11710
|
onClick,
|
|
11711
|
-
leftSection: item.icon ? /*#__PURE__*/React
|
|
11711
|
+
leftSection: item.icon ? /*#__PURE__*/React.createElement(Icons, item.icon) : undefined,
|
|
11712
11712
|
label: item.label,
|
|
11713
11713
|
to: (_item$children = item.children) !== null && _item$children !== void 0 && _item$children.length ? "#" : (item === null || item === void 0 ? void 0 : item.href) || "#"
|
|
11714
|
-
}, (_item$children2 = item.children) !== null && _item$children2 !== void 0 && _item$children2.length ? item.children.map(subitem => /*#__PURE__*/React
|
|
11714
|
+
}, (_item$children2 = item.children) !== null && _item$children2 !== void 0 && _item$children2.length ? item.children.map(subitem => /*#__PURE__*/React.createElement(NavLink, {
|
|
11715
11715
|
label: subitem.label,
|
|
11716
11716
|
active: subitem.active,
|
|
11717
11717
|
color,
|
|
@@ -11728,8 +11728,8 @@ const SideMenu = _ref => {
|
|
|
11728
11728
|
};
|
|
11729
11729
|
|
|
11730
11730
|
const _excluded$5 = ["withPadding", "withRadius", "autoHeight", "children"],
|
|
11731
|
-
_excluded2$
|
|
11732
|
-
_excluded3
|
|
11731
|
+
_excluded2$1 = ["withPadding", "title", "children"],
|
|
11732
|
+
_excluded3 = ["placeholder", "searchIcon", "filterIcon", "searchText", "filterFn", "children"];
|
|
11733
11733
|
const SimplePanel = _ref => {
|
|
11734
11734
|
let {
|
|
11735
11735
|
withPadding = true,
|
|
@@ -11738,7 +11738,7 @@ const SimplePanel = _ref => {
|
|
|
11738
11738
|
children
|
|
11739
11739
|
} = _ref,
|
|
11740
11740
|
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
11741
|
-
return /*#__PURE__*/React
|
|
11741
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
11742
11742
|
p: !withPadding ? 0 : "md",
|
|
11743
11743
|
radius: !withRadius ? 0 : "lg",
|
|
11744
11744
|
flex: autoHeight ? 1 : "none"
|
|
@@ -11750,35 +11750,35 @@ const TitledPanel = _ref2 => {
|
|
|
11750
11750
|
title,
|
|
11751
11751
|
children
|
|
11752
11752
|
} = _ref2,
|
|
11753
|
-
rest = _objectWithoutProperties(_ref2, _excluded2$
|
|
11754
|
-
return /*#__PURE__*/React
|
|
11753
|
+
rest = _objectWithoutProperties(_ref2, _excluded2$1);
|
|
11754
|
+
return /*#__PURE__*/React.createElement(SimplePanel, _extends({}, rest, {
|
|
11755
11755
|
withPadding: withPadding
|
|
11756
|
-
}), /*#__PURE__*/React
|
|
11756
|
+
}), /*#__PURE__*/React.createElement(Group, {
|
|
11757
11757
|
h: 48,
|
|
11758
11758
|
px: withPadding ? 0 : "md",
|
|
11759
11759
|
mt: !withPadding ? "md" : 0,
|
|
11760
11760
|
justify: "space-between"
|
|
11761
|
-
}, /*#__PURE__*/React
|
|
11761
|
+
}, /*#__PURE__*/React.createElement(Group, null, /*#__PURE__*/React.createElement(Center, {
|
|
11762
11762
|
bg: "gray.1",
|
|
11763
11763
|
w: 32,
|
|
11764
11764
|
h: 32,
|
|
11765
11765
|
style: {
|
|
11766
11766
|
borderRadius: "50%"
|
|
11767
11767
|
}
|
|
11768
|
-
}, /*#__PURE__*/React
|
|
11768
|
+
}, /*#__PURE__*/React.createElement(Icons, _extends({}, title.icon, {
|
|
11769
11769
|
size: 20,
|
|
11770
11770
|
variant: "Bulk"
|
|
11771
|
-
}))), /*#__PURE__*/React
|
|
11771
|
+
}))), /*#__PURE__*/React.createElement(Text, {
|
|
11772
11772
|
fw: 300
|
|
11773
|
-
}, title.label)), /*#__PURE__*/React
|
|
11773
|
+
}, title.label)), /*#__PURE__*/React.createElement(Space, {
|
|
11774
11774
|
flex: 1
|
|
11775
|
-
}), /*#__PURE__*/React
|
|
11775
|
+
}), /*#__PURE__*/React.createElement(Group, {
|
|
11776
11776
|
hidden: !rest.middlesection
|
|
11777
|
-
}, rest.middlesection), /*#__PURE__*/React
|
|
11777
|
+
}, rest.middlesection), /*#__PURE__*/React.createElement(Space, {
|
|
11778
11778
|
flex: 1
|
|
11779
|
-
}), /*#__PURE__*/React
|
|
11779
|
+
}), /*#__PURE__*/React.createElement(Group, {
|
|
11780
11780
|
hidden: !rest.rightsection
|
|
11781
|
-
}, rest.rightsection)), /*#__PURE__*/React
|
|
11781
|
+
}, rest.rightsection)), /*#__PURE__*/React.createElement(Box, {
|
|
11782
11782
|
pt: !withPadding ? 0 : "md"
|
|
11783
11783
|
}, children));
|
|
11784
11784
|
};
|
|
@@ -11795,22 +11795,22 @@ const SearchPanel = _ref3 => {
|
|
|
11795
11795
|
filterFn,
|
|
11796
11796
|
children
|
|
11797
11797
|
} = _ref3,
|
|
11798
|
-
rest = _objectWithoutProperties(_ref3, _excluded3
|
|
11799
|
-
return /*#__PURE__*/React
|
|
11798
|
+
rest = _objectWithoutProperties(_ref3, _excluded3);
|
|
11799
|
+
return /*#__PURE__*/React.createElement(SimplePanel, rest, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Group, {
|
|
11800
11800
|
gap: 'xs'
|
|
11801
|
-
}, /*#__PURE__*/React
|
|
11801
|
+
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
11802
11802
|
fw: 300,
|
|
11803
11803
|
name: "search",
|
|
11804
11804
|
size: "md",
|
|
11805
11805
|
radius: "md",
|
|
11806
11806
|
flex: 1,
|
|
11807
11807
|
placeholder: placeholder,
|
|
11808
|
-
leftSection: /*#__PURE__*/React
|
|
11809
|
-
rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React
|
|
11808
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, searchIcon),
|
|
11809
|
+
rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(ActionIcon, {
|
|
11810
11810
|
variant: "transparent",
|
|
11811
11811
|
onClick: filterFn
|
|
11812
|
-
}, /*#__PURE__*/React
|
|
11813
|
-
}), /*#__PURE__*/React
|
|
11812
|
+
}, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null, console.debug(typeof filterFn))
|
|
11813
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
11814
11814
|
variant: "light",
|
|
11815
11815
|
size: "md",
|
|
11816
11816
|
fw: 300,
|
|
@@ -11818,7 +11818,7 @@ const SearchPanel = _ref3 => {
|
|
|
11818
11818
|
miw: 100,
|
|
11819
11819
|
maw: 150,
|
|
11820
11820
|
type: "submit",
|
|
11821
|
-
leftSection: /*#__PURE__*/React
|
|
11821
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, searchIcon)
|
|
11822
11822
|
}, searchText)), children));
|
|
11823
11823
|
};
|
|
11824
11824
|
|
|
@@ -11842,7 +11842,7 @@ const LabelPanelItem = _ref => {
|
|
|
11842
11842
|
};
|
|
11843
11843
|
|
|
11844
11844
|
const _excluded$4 = ["title", "hasEdit", "labelWidth", "editFn", "editLabel", "items", "withBorder", "radius", "p"],
|
|
11845
|
-
_excluded2
|
|
11845
|
+
_excluded2 = ["avatarSize", "avatar", "labelWidth", "withBorder", "radius", "p", "name", "username", "editLabel", "lastActive", "role", "editFn"];
|
|
11846
11846
|
const LabelPanel = _ref => {
|
|
11847
11847
|
let {
|
|
11848
11848
|
title,
|
|
@@ -11856,17 +11856,19 @@ const LabelPanel = _ref => {
|
|
|
11856
11856
|
p = "md"
|
|
11857
11857
|
} = _ref,
|
|
11858
11858
|
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
11859
|
-
return /*#__PURE__*/React
|
|
11859
|
+
return /*#__PURE__*/React.createElement(Card, _extends({}, rest, {
|
|
11860
11860
|
withBorder,
|
|
11861
11861
|
radius,
|
|
11862
11862
|
p
|
|
11863
|
-
}), /*#__PURE__*/React
|
|
11863
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
11864
|
+
pb: 'md'
|
|
11865
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
11864
11866
|
justify: "space-between",
|
|
11865
11867
|
p: 0
|
|
11866
|
-
}, /*#__PURE__*/React
|
|
11868
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
11867
11869
|
order: 6,
|
|
11868
11870
|
py: "xs"
|
|
11869
|
-
}, title), /*#__PURE__*/React
|
|
11871
|
+
}, title), /*#__PURE__*/React.createElement(Button, {
|
|
11870
11872
|
style: {
|
|
11871
11873
|
display: hasEdit ? "block" : "none"
|
|
11872
11874
|
},
|
|
@@ -11874,11 +11876,11 @@ const LabelPanel = _ref => {
|
|
|
11874
11876
|
variant: "outline",
|
|
11875
11877
|
onClick: editFn,
|
|
11876
11878
|
size: "xs",
|
|
11877
|
-
leftSection: /*#__PURE__*/React
|
|
11879
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
11878
11880
|
name: "Edit2"
|
|
11879
11881
|
})
|
|
11880
11882
|
}, editLabel)), items.map((item, index) => {
|
|
11881
|
-
return /*#__PURE__*/React
|
|
11883
|
+
return /*#__PURE__*/React.createElement(LabelPanelItem, _extends({
|
|
11882
11884
|
key: "label-item-".concat(index)
|
|
11883
11885
|
}, item, {
|
|
11884
11886
|
labelWidth: labelWidth
|
|
@@ -11887,8 +11889,9 @@ const LabelPanel = _ref => {
|
|
|
11887
11889
|
};
|
|
11888
11890
|
const AvatarLabelPanel = _ref2 => {
|
|
11889
11891
|
let {
|
|
11890
|
-
avatarSize =
|
|
11892
|
+
avatarSize = 150,
|
|
11891
11893
|
avatar,
|
|
11894
|
+
labelWidth = 200,
|
|
11892
11895
|
withBorder = true,
|
|
11893
11896
|
radius = "md",
|
|
11894
11897
|
p = "md",
|
|
@@ -11899,40 +11902,42 @@ const AvatarLabelPanel = _ref2 => {
|
|
|
11899
11902
|
role = "Staff",
|
|
11900
11903
|
editFn = void 0
|
|
11901
11904
|
} = _ref2,
|
|
11902
|
-
rest = _objectWithoutProperties(_ref2, _excluded2
|
|
11903
|
-
return /*#__PURE__*/React
|
|
11905
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
11906
|
+
return /*#__PURE__*/React.createElement(Card, _extends({}, rest, {
|
|
11904
11907
|
withBorder,
|
|
11905
11908
|
radius,
|
|
11906
11909
|
p
|
|
11907
|
-
}), /*#__PURE__*/React
|
|
11910
|
+
}), /*#__PURE__*/React.createElement(Group, {
|
|
11908
11911
|
align: "flex-start",
|
|
11909
11912
|
py: "sm"
|
|
11910
|
-
}, /*#__PURE__*/React
|
|
11913
|
+
}, /*#__PURE__*/React.createElement(Center, {
|
|
11914
|
+
w: labelWidth
|
|
11915
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
11911
11916
|
size: avatarSize,
|
|
11912
11917
|
src: avatar
|
|
11913
|
-
}), /*#__PURE__*/React
|
|
11918
|
+
})), /*#__PURE__*/React.createElement(Stack, {
|
|
11914
11919
|
py: 10,
|
|
11915
|
-
gap:
|
|
11920
|
+
gap: "md",
|
|
11916
11921
|
h: "100%"
|
|
11917
|
-
}, /*#__PURE__*/React
|
|
11922
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
11918
11923
|
fw: 500,
|
|
11919
11924
|
order: 4
|
|
11920
|
-
}, name), /*#__PURE__*/React
|
|
11925
|
+
}, name), /*#__PURE__*/React.createElement(Text, {
|
|
11921
11926
|
fw: 300,
|
|
11922
11927
|
fz: 14
|
|
11923
|
-
}, username), /*#__PURE__*/React
|
|
11928
|
+
}, username), /*#__PURE__*/React.createElement(Text, {
|
|
11924
11929
|
fw: 300,
|
|
11925
11930
|
fz: 14
|
|
11926
|
-
}, "Internal / ", role), /*#__PURE__*/React
|
|
11931
|
+
}, "Internal / ", role), /*#__PURE__*/React.createElement(Text, {
|
|
11927
11932
|
fw: 300,
|
|
11928
11933
|
fz: 14
|
|
11929
|
-
}, "Last login: ", lastActive)), /*#__PURE__*/React
|
|
11934
|
+
}, "Last login: ", lastActive)), /*#__PURE__*/React.createElement(Space, {
|
|
11930
11935
|
flex: 1
|
|
11931
|
-
}), /*#__PURE__*/React
|
|
11936
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
11932
11937
|
fw: 300,
|
|
11933
11938
|
variant: "outline",
|
|
11934
11939
|
size: "xs",
|
|
11935
|
-
leftSection: /*#__PURE__*/React
|
|
11940
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
11936
11941
|
name: "Edit2"
|
|
11937
11942
|
})
|
|
11938
11943
|
}, editLabel)));
|
|
@@ -11945,7 +11950,7 @@ const SimpleText = _ref => {
|
|
|
11945
11950
|
smaller
|
|
11946
11951
|
} = _ref,
|
|
11947
11952
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
11948
|
-
return /*#__PURE__*/React
|
|
11953
|
+
return /*#__PURE__*/React.createElement(Text, _extends({
|
|
11949
11954
|
fw: 300,
|
|
11950
11955
|
fz: smaller ? '90%' : undefined
|
|
11951
11956
|
}, rest), label);
|
|
@@ -11970,81 +11975,70 @@ const theme = createTheme({
|
|
|
11970
11975
|
}
|
|
11971
11976
|
});
|
|
11972
11977
|
|
|
11973
|
-
const _excluded$2 = ["title", "subtitle", "rightsection"]
|
|
11974
|
-
_excluded2 = ["create"],
|
|
11975
|
-
_excluded3 = ["items"];
|
|
11978
|
+
const _excluded$2 = ["title", "subtitle", "rightsection", "withCreate", "withSwitcher", "create", "switcher"];
|
|
11976
11979
|
const PageTitle = _ref => {
|
|
11980
|
+
var _switcher$items;
|
|
11977
11981
|
let {
|
|
11978
11982
|
title,
|
|
11979
11983
|
subtitle = "",
|
|
11980
|
-
rightsection
|
|
11984
|
+
rightsection,
|
|
11985
|
+
withCreate,
|
|
11986
|
+
withSwitcher,
|
|
11987
|
+
create,
|
|
11988
|
+
switcher
|
|
11981
11989
|
} = _ref,
|
|
11982
11990
|
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11983
|
-
|
|
11991
|
+
if (withCreate && create) {
|
|
11992
|
+
const {
|
|
11993
|
+
createFn,
|
|
11994
|
+
icon,
|
|
11995
|
+
label
|
|
11996
|
+
} = create;
|
|
11997
|
+
rightsection = /*#__PURE__*/React.createElement(Button, {
|
|
11998
|
+
radius: "md",
|
|
11999
|
+
size: "sm",
|
|
12000
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, icon),
|
|
12001
|
+
onClick: createFn
|
|
12002
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12003
|
+
fw: 300,
|
|
12004
|
+
fz: 14
|
|
12005
|
+
}, label));
|
|
12006
|
+
}
|
|
12007
|
+
if (withSwitcher && switcher !== null && switcher !== void 0 && (_switcher$items = switcher.items) !== null && _switcher$items !== void 0 && _switcher$items.length) {
|
|
12008
|
+
rightsection = /*#__PURE__*/React.createElement(SegmentedControl, {
|
|
12009
|
+
size: "sm",
|
|
12010
|
+
color: theme.primaryColor,
|
|
12011
|
+
data: switcher.items
|
|
12012
|
+
});
|
|
12013
|
+
}
|
|
12014
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Group, {
|
|
11984
12015
|
justify: "space-between",
|
|
11985
12016
|
py: "lg"
|
|
11986
|
-
}, /*#__PURE__*/React
|
|
12017
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
11987
12018
|
gap: 4
|
|
11988
|
-
}, /*#__PURE__*/React
|
|
12019
|
+
}, /*#__PURE__*/React.createElement(Title, _extends({
|
|
11989
12020
|
order: 2,
|
|
11990
12021
|
fw: 500
|
|
11991
|
-
}, rest), title), typeof subtitle == "string" ? /*#__PURE__*/React
|
|
12022
|
+
}, rest), title), typeof subtitle == "string" ? /*#__PURE__*/React.createElement(Text, {
|
|
11992
12023
|
fz: 14,
|
|
11993
12024
|
fw: 300
|
|
11994
|
-
}, subtitle) : /*#__PURE__*/React
|
|
12025
|
+
}, subtitle) : /*#__PURE__*/React.createElement(Breadcrumbs, {
|
|
11995
12026
|
separatorMargin: "xs",
|
|
11996
12027
|
separator: "\xB7"
|
|
11997
12028
|
}, subtitle === null || subtitle === void 0 ? void 0 : subtitle.map((item, index) => {
|
|
11998
|
-
return index < subtitle.length - 1 ? /*#__PURE__*/React
|
|
12029
|
+
return index < subtitle.length - 1 ? /*#__PURE__*/React.createElement(Anchor, {
|
|
11999
12030
|
key: index,
|
|
12000
12031
|
fz: 14,
|
|
12001
12032
|
fw: 400,
|
|
12002
12033
|
component: Link,
|
|
12003
12034
|
to: item.link
|
|
12004
|
-
}, item.name) : /*#__PURE__*/React
|
|
12035
|
+
}, item.name) : /*#__PURE__*/React.createElement(Text, {
|
|
12005
12036
|
fz: 14,
|
|
12006
12037
|
key: index,
|
|
12007
12038
|
fw: 300,
|
|
12008
12039
|
c: 'dimmed'
|
|
12009
12040
|
}, item.name);
|
|
12010
|
-
}))), /*#__PURE__*/React
|
|
12011
|
-
};
|
|
12012
|
-
const PageTitleWithCreate = _ref2 => {
|
|
12013
|
-
let {
|
|
12014
|
-
create
|
|
12015
|
-
} = _ref2,
|
|
12016
|
-
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
12017
|
-
const {
|
|
12018
|
-
createFn,
|
|
12019
|
-
icon,
|
|
12020
|
-
label
|
|
12021
|
-
} = create;
|
|
12022
|
-
const rightsection = /*#__PURE__*/React$1.createElement(Button, {
|
|
12023
|
-
radius: "md",
|
|
12024
|
-
size: "sm",
|
|
12025
|
-
leftSection: /*#__PURE__*/React$1.createElement(Icons, icon),
|
|
12026
|
-
onClick: createFn
|
|
12027
|
-
}, /*#__PURE__*/React$1.createElement(Text, {
|
|
12028
|
-
fw: 300,
|
|
12029
|
-
fz: 14
|
|
12030
|
-
}, label));
|
|
12031
|
-
return /*#__PURE__*/React$1.createElement(PageTitle, _extends({}, rest, {
|
|
12032
|
-
rightsection: rightsection
|
|
12033
|
-
}));
|
|
12034
|
-
};
|
|
12035
|
-
const PageTitleWithSwitcher = _ref3 => {
|
|
12036
|
-
let {
|
|
12037
|
-
items
|
|
12038
|
-
} = _ref3,
|
|
12039
|
-
rest = _objectWithoutProperties(_ref3, _excluded3);
|
|
12040
|
-
const rightsection = /*#__PURE__*/React$1.createElement(SegmentedControl, {
|
|
12041
|
-
size: "sm",
|
|
12042
|
-
color: theme.primaryColor,
|
|
12043
|
-
data: items
|
|
12044
|
-
});
|
|
12045
|
-
return /*#__PURE__*/React$1.createElement(PageTitle, _extends({}, rest, {
|
|
12046
|
-
rightsection: rightsection
|
|
12047
|
-
}));
|
|
12041
|
+
}))), /*#__PURE__*/React.createElement(React.Fragment, null, rightsection)));
|
|
12048
12042
|
};
|
|
12049
12043
|
|
|
12050
12044
|
const ConnectionPanelDetail = _ref => {
|
|
@@ -12053,11 +12047,11 @@ const ConnectionPanelDetail = _ref => {
|
|
|
12053
12047
|
value,
|
|
12054
12048
|
altColor
|
|
12055
12049
|
} = _ref;
|
|
12056
|
-
return /*#__PURE__*/React
|
|
12050
|
+
return /*#__PURE__*/React.createElement(Group, null, /*#__PURE__*/React.createElement(Text, {
|
|
12057
12051
|
w: 100,
|
|
12058
12052
|
fw: 300,
|
|
12059
12053
|
fz: "xs"
|
|
12060
|
-
}, label), /*#__PURE__*/React
|
|
12054
|
+
}, label), /*#__PURE__*/React.createElement(Text, {
|
|
12061
12055
|
fw: 300,
|
|
12062
12056
|
fz: "xs",
|
|
12063
12057
|
c: altColor
|
|
@@ -12077,35 +12071,35 @@ const ConnectionPanel = _ref => {
|
|
|
12077
12071
|
altColor
|
|
12078
12072
|
} = _ref;
|
|
12079
12073
|
_objectWithoutProperties(_ref, _excluded$1);
|
|
12080
|
-
return /*#__PURE__*/React
|
|
12074
|
+
return /*#__PURE__*/React.createElement(Card, {
|
|
12081
12075
|
withBorder: true,
|
|
12082
12076
|
bg: "gray.0",
|
|
12083
12077
|
p: "lg",
|
|
12084
12078
|
radius: "md",
|
|
12085
12079
|
color: "red"
|
|
12086
|
-
}, /*#__PURE__*/React
|
|
12080
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Group, {
|
|
12087
12081
|
align: "flex-start"
|
|
12088
|
-
}, /*#__PURE__*/React
|
|
12082
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12089
12083
|
size: 48,
|
|
12090
12084
|
name: "Driver",
|
|
12091
12085
|
stroke: "0.5"
|
|
12092
|
-
}), /*#__PURE__*/React
|
|
12086
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
12093
12087
|
gap: 5
|
|
12094
|
-
}, /*#__PURE__*/React
|
|
12088
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
12095
12089
|
fw: 400,
|
|
12096
12090
|
order: 6
|
|
12097
|
-
}, name), /*#__PURE__*/React
|
|
12091
|
+
}, name), /*#__PURE__*/React.createElement(Group, {
|
|
12098
12092
|
justify: "flex-start",
|
|
12099
12093
|
gap: 5
|
|
12100
|
-
}, /*#__PURE__*/React
|
|
12094
|
+
}, /*#__PURE__*/React.createElement(ColorSwatch, {
|
|
12101
12095
|
size: 12,
|
|
12102
12096
|
color: statusColor
|
|
12103
|
-
}), /*#__PURE__*/React
|
|
12097
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
12104
12098
|
fw: 300,
|
|
12105
12099
|
fz: "xs"
|
|
12106
|
-
}, status))), /*#__PURE__*/React
|
|
12100
|
+
}, status))), /*#__PURE__*/React.createElement(Space, {
|
|
12107
12101
|
flex: 1
|
|
12108
|
-
}), /*#__PURE__*/React
|
|
12102
|
+
}), /*#__PURE__*/React.createElement(Menu, {
|
|
12109
12103
|
width: 190,
|
|
12110
12104
|
transitionProps: {
|
|
12111
12105
|
transition: "pop"
|
|
@@ -12114,52 +12108,52 @@ const ConnectionPanel = _ref => {
|
|
|
12114
12108
|
withArrow: true,
|
|
12115
12109
|
withinPortal: true,
|
|
12116
12110
|
arrowSize: 20
|
|
12117
|
-
}, /*#__PURE__*/React
|
|
12111
|
+
}, /*#__PURE__*/React.createElement(Menu.Target, null, /*#__PURE__*/React.createElement(ActionIcon, {
|
|
12118
12112
|
variant: "subtle",
|
|
12119
12113
|
m: 0
|
|
12120
|
-
}, /*#__PURE__*/React
|
|
12114
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12121
12115
|
name: "More"
|
|
12122
|
-
}))), /*#__PURE__*/React
|
|
12116
|
+
}))), /*#__PURE__*/React.createElement(Menu.Dropdown, null, /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12123
12117
|
h: 40,
|
|
12124
12118
|
onClick: edit.onClick,
|
|
12125
|
-
rightSection: /*#__PURE__*/React
|
|
12119
|
+
rightSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12126
12120
|
name: "ArrowRight2"
|
|
12127
12121
|
})
|
|
12128
|
-
}, /*#__PURE__*/React
|
|
12122
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12129
12123
|
size: "xs",
|
|
12130
12124
|
fw: 300
|
|
12131
|
-
}, edit.label)), /*#__PURE__*/React
|
|
12125
|
+
}, edit.label)), /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12132
12126
|
h: 40,
|
|
12133
12127
|
onClick: test.onClick,
|
|
12134
|
-
rightSection: /*#__PURE__*/React
|
|
12128
|
+
rightSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12135
12129
|
name: "ArrowRight2"
|
|
12136
12130
|
})
|
|
12137
|
-
}, /*#__PURE__*/React
|
|
12131
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12138
12132
|
size: "xs",
|
|
12139
12133
|
fw: 300
|
|
12140
|
-
}, test.label)), /*#__PURE__*/React
|
|
12134
|
+
}, test.label)), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12141
12135
|
h: 40,
|
|
12142
12136
|
onClick: pause.onClick,
|
|
12143
12137
|
c: "red",
|
|
12144
|
-
leftSection: /*#__PURE__*/React
|
|
12138
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12145
12139
|
name: "PauseCircle",
|
|
12146
12140
|
color: "red"
|
|
12147
12141
|
})
|
|
12148
|
-
}, /*#__PURE__*/React
|
|
12142
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12149
12143
|
size: "xs",
|
|
12150
12144
|
fw: 300
|
|
12151
|
-
}, pause.label))))), /*#__PURE__*/React
|
|
12145
|
+
}, pause.label))))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12152
12146
|
style: {
|
|
12153
12147
|
borderTop: "1px solid #ddd"
|
|
12154
12148
|
}
|
|
12155
|
-
}, /*#__PURE__*/React
|
|
12149
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12156
12150
|
mt: 0,
|
|
12157
12151
|
bg: "white",
|
|
12158
12152
|
p: "md",
|
|
12159
12153
|
gap: "lg",
|
|
12160
12154
|
py: "lg"
|
|
12161
12155
|
}, details.map((item, index) => {
|
|
12162
|
-
return /*#__PURE__*/React
|
|
12156
|
+
return /*#__PURE__*/React.createElement(ConnectionPanelDetail, _extends({
|
|
12163
12157
|
key: "detail-".concat(index)
|
|
12164
12158
|
}, item, {
|
|
12165
12159
|
altColor: altColor
|
|
@@ -12174,13 +12168,13 @@ const ApplicationPanelFeatures = _ref => {
|
|
|
12174
12168
|
label,
|
|
12175
12169
|
icon
|
|
12176
12170
|
} = _ref;
|
|
12177
|
-
return /*#__PURE__*/React
|
|
12171
|
+
return /*#__PURE__*/React.createElement(Group, {
|
|
12178
12172
|
gap: "xs"
|
|
12179
|
-
}, /*#__PURE__*/React
|
|
12173
|
+
}, /*#__PURE__*/React.createElement(Icons, _extends({}, icon, {
|
|
12180
12174
|
color: "#aaa",
|
|
12181
12175
|
variant: "Bulk",
|
|
12182
12176
|
stroke: 1.5
|
|
12183
|
-
})), /*#__PURE__*/React
|
|
12177
|
+
})), /*#__PURE__*/React.createElement(Text, {
|
|
12184
12178
|
fw: 300,
|
|
12185
12179
|
c: 'altiba',
|
|
12186
12180
|
size: '12px',
|
|
@@ -12206,32 +12200,32 @@ const ApplicationPanel = _ref => {
|
|
|
12206
12200
|
onClick = () => void 0
|
|
12207
12201
|
} = _ref,
|
|
12208
12202
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12209
|
-
return /*#__PURE__*/React
|
|
12203
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
12210
12204
|
withBorder: true,
|
|
12211
12205
|
radius: "md"
|
|
12212
|
-
}, rest), /*#__PURE__*/React
|
|
12206
|
+
}, rest), /*#__PURE__*/React.createElement(Card.Section, null, /*#__PURE__*/React.createElement(Image, {
|
|
12213
12207
|
src: coverImage,
|
|
12214
12208
|
alt: name,
|
|
12215
12209
|
fallbackSrc: img$5
|
|
12216
|
-
})), /*#__PURE__*/React
|
|
12210
|
+
})), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12217
12211
|
p: "md"
|
|
12218
|
-
}, /*#__PURE__*/React
|
|
12212
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12219
12213
|
gap: "sm"
|
|
12220
|
-
}, /*#__PURE__*/React
|
|
12214
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12221
12215
|
justify: "space-between"
|
|
12222
|
-
}, /*#__PURE__*/React
|
|
12216
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12223
12217
|
fw: 400
|
|
12224
|
-
}, name), /*#__PURE__*/React
|
|
12218
|
+
}, name), /*#__PURE__*/React.createElement(Badge, {
|
|
12225
12219
|
hidden: !discount,
|
|
12226
12220
|
fw: 300,
|
|
12227
12221
|
variant: "outline"
|
|
12228
|
-
}, discount)), /*#__PURE__*/React
|
|
12222
|
+
}, discount)), /*#__PURE__*/React.createElement(Text, {
|
|
12229
12223
|
fw: 300,
|
|
12230
12224
|
fz: "sm"
|
|
12231
|
-
}, summary))), /*#__PURE__*/React
|
|
12225
|
+
}, summary))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12232
12226
|
p: "md",
|
|
12233
12227
|
pt: 0
|
|
12234
|
-
}, /*#__PURE__*/React
|
|
12228
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12235
12229
|
fz: "xs",
|
|
12236
12230
|
c: "gray.5",
|
|
12237
12231
|
mb: "xs",
|
|
@@ -12239,26 +12233,26 @@ const ApplicationPanel = _ref => {
|
|
|
12239
12233
|
fw: 500,
|
|
12240
12234
|
lts: rem("-0.25px"),
|
|
12241
12235
|
tt: "uppercase"
|
|
12242
|
-
}, featureLabel), /*#__PURE__*/React
|
|
12236
|
+
}, featureLabel), /*#__PURE__*/React.createElement(SimpleGrid, {
|
|
12243
12237
|
cols: 1,
|
|
12244
12238
|
spacing: "xs",
|
|
12245
12239
|
verticalSpacing: "xs"
|
|
12246
12240
|
}, features.map((feature, index) => {
|
|
12247
|
-
return /*#__PURE__*/React
|
|
12241
|
+
return /*#__PURE__*/React.createElement(ApplicationPanelFeatures, _extends({
|
|
12248
12242
|
key: index
|
|
12249
12243
|
}, feature));
|
|
12250
|
-
}))), /*#__PURE__*/React
|
|
12244
|
+
}))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12251
12245
|
p: "md"
|
|
12252
|
-
}, /*#__PURE__*/React
|
|
12246
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12253
12247
|
gap: 30,
|
|
12254
12248
|
justify: "space-between"
|
|
12255
|
-
}, /*#__PURE__*/React
|
|
12249
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Text, {
|
|
12256
12250
|
fz: "lg",
|
|
12257
12251
|
fw: 500,
|
|
12258
12252
|
style: {
|
|
12259
12253
|
lineHeight: 1
|
|
12260
12254
|
}
|
|
12261
|
-
}, amount), /*#__PURE__*/React
|
|
12255
|
+
}, amount), /*#__PURE__*/React.createElement(Text, {
|
|
12262
12256
|
fz: "xs",
|
|
12263
12257
|
c: "dimmed",
|
|
12264
12258
|
fw: 300,
|
|
@@ -12266,19 +12260,19 @@ const ApplicationPanel = _ref => {
|
|
|
12266
12260
|
lineHeight: 1
|
|
12267
12261
|
},
|
|
12268
12262
|
mt: 3
|
|
12269
|
-
}, "per ".concat(frequency))), /*#__PURE__*/React
|
|
12263
|
+
}, "per ".concat(frequency))), /*#__PURE__*/React.createElement(Box, {
|
|
12270
12264
|
hidden: subscribed
|
|
12271
|
-
}, /*#__PURE__*/React
|
|
12265
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12272
12266
|
fw: 300,
|
|
12273
|
-
leftSection: /*#__PURE__*/React
|
|
12267
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12274
12268
|
name: "AddCircle"
|
|
12275
12269
|
}),
|
|
12276
12270
|
radius: "md",
|
|
12277
12271
|
onClick: onClick
|
|
12278
|
-
}, actionLabel)), /*#__PURE__*/React
|
|
12272
|
+
}, actionLabel)), /*#__PURE__*/React.createElement(Box, {
|
|
12279
12273
|
hidden: !subscribed
|
|
12280
|
-
}, /*#__PURE__*/React
|
|
12281
|
-
leftSection: /*#__PURE__*/React
|
|
12274
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12275
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12282
12276
|
name: "TickCircle"
|
|
12283
12277
|
}),
|
|
12284
12278
|
fw: 300,
|
|
@@ -12297,40 +12291,40 @@ const SubscriptionPlans = _ref => {
|
|
|
12297
12291
|
planPrice
|
|
12298
12292
|
} = _ref;
|
|
12299
12293
|
const price = planPrice.split("/");
|
|
12300
|
-
return /*#__PURE__*/React
|
|
12294
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Indicator, {
|
|
12301
12295
|
size: 20,
|
|
12302
|
-
label: /*#__PURE__*/React
|
|
12296
|
+
label: /*#__PURE__*/React.createElement(Icons, {
|
|
12303
12297
|
name: "TickCircle",
|
|
12304
12298
|
size: 18,
|
|
12305
12299
|
stroke: 1
|
|
12306
12300
|
}),
|
|
12307
12301
|
disabled: active,
|
|
12308
12302
|
className: "payment-plan"
|
|
12309
|
-
}, /*#__PURE__*/React
|
|
12303
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
12310
12304
|
bg: active ? "gray.1" : "white",
|
|
12311
12305
|
p: "md",
|
|
12312
12306
|
radius: "sm",
|
|
12313
12307
|
withBorder: true
|
|
12314
|
-
}, /*#__PURE__*/React
|
|
12308
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12315
12309
|
gap: "xl"
|
|
12316
|
-
}, /*#__PURE__*/React
|
|
12310
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12317
12311
|
justify: "space-between",
|
|
12318
12312
|
align: "flex-start"
|
|
12319
|
-
}, /*#__PURE__*/React
|
|
12313
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Title, {
|
|
12320
12314
|
order: 6,
|
|
12321
12315
|
fw: 500
|
|
12322
|
-
}, title), /*#__PURE__*/React
|
|
12316
|
+
}, title), /*#__PURE__*/React.createElement(Text, {
|
|
12323
12317
|
fz: "xs",
|
|
12324
12318
|
c: altColor,
|
|
12325
12319
|
fw: 300
|
|
12326
|
-
}, durationDays, " ", active ? " days remaining" : " days")), /*#__PURE__*/React
|
|
12320
|
+
}, durationDays, " ", active ? " days remaining" : " days")), /*#__PURE__*/React.createElement(Text, {
|
|
12327
12321
|
fz: "sm",
|
|
12328
12322
|
fw: 500
|
|
12329
|
-
}, price[0], /*#__PURE__*/React
|
|
12323
|
+
}, price[0], /*#__PURE__*/React.createElement(Text, {
|
|
12330
12324
|
fz: "sm",
|
|
12331
12325
|
component: "span",
|
|
12332
12326
|
c: "dimmed"
|
|
12333
|
-
}, price[1] ? "/".concat(price[1]) : " /month"))), /*#__PURE__*/React
|
|
12327
|
+
}, price[1] ? "/".concat(price[1]) : " /month"))), /*#__PURE__*/React.createElement(Button, {
|
|
12334
12328
|
w: 100,
|
|
12335
12329
|
size: "xs",
|
|
12336
12330
|
fw: 500,
|
|
@@ -12355,78 +12349,78 @@ const PaymentMethod = _ref => {
|
|
|
12355
12349
|
type,
|
|
12356
12350
|
exp
|
|
12357
12351
|
} = _ref;
|
|
12358
|
-
return /*#__PURE__*/React
|
|
12352
|
+
return /*#__PURE__*/React.createElement(Card, {
|
|
12359
12353
|
withBorder: true,
|
|
12360
12354
|
radius: "md",
|
|
12361
12355
|
p: 0,
|
|
12362
12356
|
bg: active ? "gray.1" : "white",
|
|
12363
12357
|
w: 330
|
|
12364
|
-
}, /*#__PURE__*/React
|
|
12358
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12365
12359
|
gap: "md",
|
|
12366
12360
|
px: "sm"
|
|
12367
|
-
}, /*#__PURE__*/React
|
|
12361
|
+
}, /*#__PURE__*/React.createElement(Center, {
|
|
12368
12362
|
h: 88,
|
|
12369
12363
|
w: 80
|
|
12370
|
-
}, logo[type]), /*#__PURE__*/React
|
|
12364
|
+
}, logo[type]), /*#__PURE__*/React.createElement(Stack, {
|
|
12371
12365
|
gap: 3
|
|
12372
|
-
}, /*#__PURE__*/React
|
|
12366
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12373
12367
|
fz: 14,
|
|
12374
12368
|
tt: "uppercase",
|
|
12375
12369
|
fw: 500
|
|
12376
|
-
}, "**** **** **** ".concat(pan)), /*#__PURE__*/React
|
|
12370
|
+
}, "**** **** **** ".concat(pan)), /*#__PURE__*/React.createElement(Group, {
|
|
12377
12371
|
c: "dimmed"
|
|
12378
|
-
}, /*#__PURE__*/React
|
|
12372
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12379
12373
|
tt: "capitalize",
|
|
12380
12374
|
fw: 300,
|
|
12381
12375
|
size: "xs"
|
|
12382
|
-
}, type), /*#__PURE__*/React
|
|
12376
|
+
}, type), /*#__PURE__*/React.createElement(Text, {
|
|
12383
12377
|
fw: 300,
|
|
12384
12378
|
size: "sm"
|
|
12385
|
-
}, exp))), /*#__PURE__*/React
|
|
12379
|
+
}, exp))), /*#__PURE__*/React.createElement(Space, {
|
|
12386
12380
|
flex: 1
|
|
12387
|
-
}), /*#__PURE__*/React
|
|
12381
|
+
}), /*#__PURE__*/React.createElement(ActionIcon, {
|
|
12388
12382
|
variant: "subtle",
|
|
12389
12383
|
disabled: active
|
|
12390
|
-
}, !active ? /*#__PURE__*/React
|
|
12384
|
+
}, !active ? /*#__PURE__*/React.createElement(Icons, {
|
|
12391
12385
|
name: "Record"
|
|
12392
|
-
}) : /*#__PURE__*/React
|
|
12386
|
+
}) : /*#__PURE__*/React.createElement(Icons, {
|
|
12393
12387
|
name: "TickCircle"
|
|
12394
12388
|
}))));
|
|
12395
12389
|
};
|
|
12396
12390
|
const logo = {
|
|
12397
|
-
mastercard: /*#__PURE__*/React
|
|
12391
|
+
mastercard: /*#__PURE__*/React.createElement(Image, {
|
|
12398
12392
|
height: 60,
|
|
12399
12393
|
src: img$2
|
|
12400
12394
|
}),
|
|
12401
|
-
visa: /*#__PURE__*/React
|
|
12395
|
+
visa: /*#__PURE__*/React.createElement(Image, {
|
|
12402
12396
|
height: 60,
|
|
12403
12397
|
src: img$3
|
|
12404
12398
|
}),
|
|
12405
|
-
amex: /*#__PURE__*/React
|
|
12399
|
+
amex: /*#__PURE__*/React.createElement(Image, {
|
|
12406
12400
|
height: 60,
|
|
12407
12401
|
src: img$4
|
|
12408
12402
|
}),
|
|
12409
|
-
paypal: /*#__PURE__*/React
|
|
12403
|
+
paypal: /*#__PURE__*/React.createElement(Image, {
|
|
12410
12404
|
height: 60,
|
|
12411
12405
|
src: img$1
|
|
12412
12406
|
}),
|
|
12413
|
-
verve: /*#__PURE__*/React
|
|
12407
|
+
verve: /*#__PURE__*/React.createElement(Image, {
|
|
12414
12408
|
height: 60,
|
|
12415
12409
|
src: img
|
|
12416
12410
|
})
|
|
12417
12411
|
};
|
|
12418
12412
|
const PaymentMethodAdd = () => {
|
|
12419
|
-
return /*#__PURE__*/React
|
|
12413
|
+
return /*#__PURE__*/React.createElement(Group, {
|
|
12420
12414
|
align: "center"
|
|
12421
|
-
}, /*#__PURE__*/React
|
|
12415
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12422
12416
|
variant: "outline",
|
|
12423
12417
|
w: 60,
|
|
12424
12418
|
h: 60
|
|
12425
|
-
}, /*#__PURE__*/React
|
|
12419
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12426
12420
|
name: "Add",
|
|
12427
12421
|
size: 60,
|
|
12428
12422
|
stroke: 1
|
|
12429
12423
|
})));
|
|
12430
12424
|
};
|
|
12431
12425
|
|
|
12432
|
-
export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, LabelPanel, PageTitle,
|
|
12426
|
+
export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, LabelPanel, PageTitle, PaymentMethod, PaymentMethodAdd, SearchPanel, SideMenu, SimpleColumn, SimplePanel, SimpleText, StackedColumn, SubscriptionPlans, TitledPanel, UserMenu, theme };
|