@adiba-banking-cloud/backoffice 0.0.16 → 0.0.17
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 +218 -231
- package/build/index.esm.js/index.js +217 -228
- 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/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", "withBorder", "radius", "p", "name", "username", "editLabel", "lastActive", "role", "editFn"];
|
|
11846
11846
|
const LabelPanel = _ref => {
|
|
11847
11847
|
let {
|
|
11848
11848
|
title,
|
|
@@ -11856,17 +11856,17 @@ 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, null, /*#__PURE__*/React.createElement(Group, {
|
|
11864
11864
|
justify: "space-between",
|
|
11865
11865
|
p: 0
|
|
11866
|
-
}, /*#__PURE__*/React
|
|
11866
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
11867
11867
|
order: 6,
|
|
11868
11868
|
py: "xs"
|
|
11869
|
-
}, title), /*#__PURE__*/React
|
|
11869
|
+
}, title), /*#__PURE__*/React.createElement(Button, {
|
|
11870
11870
|
style: {
|
|
11871
11871
|
display: hasEdit ? "block" : "none"
|
|
11872
11872
|
},
|
|
@@ -11874,11 +11874,11 @@ const LabelPanel = _ref => {
|
|
|
11874
11874
|
variant: "outline",
|
|
11875
11875
|
onClick: editFn,
|
|
11876
11876
|
size: "xs",
|
|
11877
|
-
leftSection: /*#__PURE__*/React
|
|
11877
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
11878
11878
|
name: "Edit2"
|
|
11879
11879
|
})
|
|
11880
11880
|
}, editLabel)), items.map((item, index) => {
|
|
11881
|
-
return /*#__PURE__*/React
|
|
11881
|
+
return /*#__PURE__*/React.createElement(LabelPanelItem, _extends({
|
|
11882
11882
|
key: "label-item-".concat(index)
|
|
11883
11883
|
}, item, {
|
|
11884
11884
|
labelWidth: labelWidth
|
|
@@ -11899,40 +11899,40 @@ const AvatarLabelPanel = _ref2 => {
|
|
|
11899
11899
|
role = "Staff",
|
|
11900
11900
|
editFn = void 0
|
|
11901
11901
|
} = _ref2,
|
|
11902
|
-
rest = _objectWithoutProperties(_ref2, _excluded2
|
|
11903
|
-
return /*#__PURE__*/React
|
|
11902
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
11903
|
+
return /*#__PURE__*/React.createElement(Card, _extends({}, rest, {
|
|
11904
11904
|
withBorder,
|
|
11905
11905
|
radius,
|
|
11906
11906
|
p
|
|
11907
|
-
}), /*#__PURE__*/React
|
|
11907
|
+
}), /*#__PURE__*/React.createElement(Group, {
|
|
11908
11908
|
align: "flex-start",
|
|
11909
11909
|
py: "sm"
|
|
11910
|
-
}, /*#__PURE__*/React
|
|
11910
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
11911
11911
|
size: avatarSize,
|
|
11912
11912
|
src: avatar
|
|
11913
|
-
}), /*#__PURE__*/React
|
|
11913
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
11914
11914
|
py: 10,
|
|
11915
11915
|
gap: 5,
|
|
11916
11916
|
h: "100%"
|
|
11917
|
-
}, /*#__PURE__*/React
|
|
11917
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
11918
11918
|
fw: 500,
|
|
11919
11919
|
order: 4
|
|
11920
|
-
}, name), /*#__PURE__*/React
|
|
11920
|
+
}, name), /*#__PURE__*/React.createElement(Text, {
|
|
11921
11921
|
fw: 300,
|
|
11922
11922
|
fz: 14
|
|
11923
|
-
}, username), /*#__PURE__*/React
|
|
11923
|
+
}, username), /*#__PURE__*/React.createElement(Text, {
|
|
11924
11924
|
fw: 300,
|
|
11925
11925
|
fz: 14
|
|
11926
|
-
}, "Internal / ", role), /*#__PURE__*/React
|
|
11926
|
+
}, "Internal / ", role), /*#__PURE__*/React.createElement(Text, {
|
|
11927
11927
|
fw: 300,
|
|
11928
11928
|
fz: 14
|
|
11929
|
-
}, "Last login: ", lastActive)), /*#__PURE__*/React
|
|
11929
|
+
}, "Last login: ", lastActive)), /*#__PURE__*/React.createElement(Space, {
|
|
11930
11930
|
flex: 1
|
|
11931
|
-
}), /*#__PURE__*/React
|
|
11931
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
11932
11932
|
fw: 300,
|
|
11933
11933
|
variant: "outline",
|
|
11934
11934
|
size: "xs",
|
|
11935
|
-
leftSection: /*#__PURE__*/React
|
|
11935
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
11936
11936
|
name: "Edit2"
|
|
11937
11937
|
})
|
|
11938
11938
|
}, editLabel)));
|
|
@@ -11945,7 +11945,7 @@ const SimpleText = _ref => {
|
|
|
11945
11945
|
smaller
|
|
11946
11946
|
} = _ref,
|
|
11947
11947
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
11948
|
-
return /*#__PURE__*/React
|
|
11948
|
+
return /*#__PURE__*/React.createElement(Text, _extends({
|
|
11949
11949
|
fw: 300,
|
|
11950
11950
|
fz: smaller ? '90%' : undefined
|
|
11951
11951
|
}, rest), label);
|
|
@@ -11970,81 +11970,70 @@ const theme = createTheme({
|
|
|
11970
11970
|
}
|
|
11971
11971
|
});
|
|
11972
11972
|
|
|
11973
|
-
const _excluded$2 = ["title", "subtitle", "rightsection"]
|
|
11974
|
-
_excluded2 = ["create"],
|
|
11975
|
-
_excluded3 = ["items"];
|
|
11973
|
+
const _excluded$2 = ["title", "subtitle", "rightsection", "withCreate", "withSwitcher", "create", "switcher"];
|
|
11976
11974
|
const PageTitle = _ref => {
|
|
11975
|
+
var _switcher$items;
|
|
11977
11976
|
let {
|
|
11978
11977
|
title,
|
|
11979
11978
|
subtitle = "",
|
|
11980
|
-
rightsection
|
|
11979
|
+
rightsection,
|
|
11980
|
+
withCreate,
|
|
11981
|
+
withSwitcher,
|
|
11982
|
+
create,
|
|
11983
|
+
switcher
|
|
11981
11984
|
} = _ref,
|
|
11982
11985
|
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11983
|
-
|
|
11986
|
+
if (withCreate && create) {
|
|
11987
|
+
const {
|
|
11988
|
+
createFn,
|
|
11989
|
+
icon,
|
|
11990
|
+
label
|
|
11991
|
+
} = create;
|
|
11992
|
+
rightsection = /*#__PURE__*/React.createElement(Button, {
|
|
11993
|
+
radius: "md",
|
|
11994
|
+
size: "sm",
|
|
11995
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, icon),
|
|
11996
|
+
onClick: createFn
|
|
11997
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
11998
|
+
fw: 300,
|
|
11999
|
+
fz: 14
|
|
12000
|
+
}, label));
|
|
12001
|
+
}
|
|
12002
|
+
if (withSwitcher && switcher !== null && switcher !== void 0 && (_switcher$items = switcher.items) !== null && _switcher$items !== void 0 && _switcher$items.length) {
|
|
12003
|
+
rightsection = /*#__PURE__*/React.createElement(SegmentedControl, {
|
|
12004
|
+
size: "sm",
|
|
12005
|
+
color: theme.primaryColor,
|
|
12006
|
+
data: switcher.items
|
|
12007
|
+
});
|
|
12008
|
+
}
|
|
12009
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Group, {
|
|
11984
12010
|
justify: "space-between",
|
|
11985
12011
|
py: "lg"
|
|
11986
|
-
}, /*#__PURE__*/React
|
|
12012
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
11987
12013
|
gap: 4
|
|
11988
|
-
}, /*#__PURE__*/React
|
|
12014
|
+
}, /*#__PURE__*/React.createElement(Title, _extends({
|
|
11989
12015
|
order: 2,
|
|
11990
12016
|
fw: 500
|
|
11991
|
-
}, rest), title), typeof subtitle == "string" ? /*#__PURE__*/React
|
|
12017
|
+
}, rest), title), typeof subtitle == "string" ? /*#__PURE__*/React.createElement(Text, {
|
|
11992
12018
|
fz: 14,
|
|
11993
12019
|
fw: 300
|
|
11994
|
-
}, subtitle) : /*#__PURE__*/React
|
|
12020
|
+
}, subtitle) : /*#__PURE__*/React.createElement(Breadcrumbs, {
|
|
11995
12021
|
separatorMargin: "xs",
|
|
11996
12022
|
separator: "\xB7"
|
|
11997
12023
|
}, subtitle === null || subtitle === void 0 ? void 0 : subtitle.map((item, index) => {
|
|
11998
|
-
return index < subtitle.length - 1 ? /*#__PURE__*/React
|
|
12024
|
+
return index < subtitle.length - 1 ? /*#__PURE__*/React.createElement(Anchor, {
|
|
11999
12025
|
key: index,
|
|
12000
12026
|
fz: 14,
|
|
12001
12027
|
fw: 400,
|
|
12002
12028
|
component: Link,
|
|
12003
12029
|
to: item.link
|
|
12004
|
-
}, item.name) : /*#__PURE__*/React
|
|
12030
|
+
}, item.name) : /*#__PURE__*/React.createElement(Text, {
|
|
12005
12031
|
fz: 14,
|
|
12006
12032
|
key: index,
|
|
12007
12033
|
fw: 300,
|
|
12008
12034
|
c: 'dimmed'
|
|
12009
12035
|
}, 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
|
-
}));
|
|
12036
|
+
}))), /*#__PURE__*/React.createElement(React.Fragment, null, rightsection)));
|
|
12048
12037
|
};
|
|
12049
12038
|
|
|
12050
12039
|
const ConnectionPanelDetail = _ref => {
|
|
@@ -12053,11 +12042,11 @@ const ConnectionPanelDetail = _ref => {
|
|
|
12053
12042
|
value,
|
|
12054
12043
|
altColor
|
|
12055
12044
|
} = _ref;
|
|
12056
|
-
return /*#__PURE__*/React
|
|
12045
|
+
return /*#__PURE__*/React.createElement(Group, null, /*#__PURE__*/React.createElement(Text, {
|
|
12057
12046
|
w: 100,
|
|
12058
12047
|
fw: 300,
|
|
12059
12048
|
fz: "xs"
|
|
12060
|
-
}, label), /*#__PURE__*/React
|
|
12049
|
+
}, label), /*#__PURE__*/React.createElement(Text, {
|
|
12061
12050
|
fw: 300,
|
|
12062
12051
|
fz: "xs",
|
|
12063
12052
|
c: altColor
|
|
@@ -12077,35 +12066,35 @@ const ConnectionPanel = _ref => {
|
|
|
12077
12066
|
altColor
|
|
12078
12067
|
} = _ref;
|
|
12079
12068
|
_objectWithoutProperties(_ref, _excluded$1);
|
|
12080
|
-
return /*#__PURE__*/React
|
|
12069
|
+
return /*#__PURE__*/React.createElement(Card, {
|
|
12081
12070
|
withBorder: true,
|
|
12082
12071
|
bg: "gray.0",
|
|
12083
12072
|
p: "lg",
|
|
12084
12073
|
radius: "md",
|
|
12085
12074
|
color: "red"
|
|
12086
|
-
}, /*#__PURE__*/React
|
|
12075
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Group, {
|
|
12087
12076
|
align: "flex-start"
|
|
12088
|
-
}, /*#__PURE__*/React
|
|
12077
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12089
12078
|
size: 48,
|
|
12090
12079
|
name: "Driver",
|
|
12091
12080
|
stroke: "0.5"
|
|
12092
|
-
}), /*#__PURE__*/React
|
|
12081
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
12093
12082
|
gap: 5
|
|
12094
|
-
}, /*#__PURE__*/React
|
|
12083
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
12095
12084
|
fw: 400,
|
|
12096
12085
|
order: 6
|
|
12097
|
-
}, name), /*#__PURE__*/React
|
|
12086
|
+
}, name), /*#__PURE__*/React.createElement(Group, {
|
|
12098
12087
|
justify: "flex-start",
|
|
12099
12088
|
gap: 5
|
|
12100
|
-
}, /*#__PURE__*/React
|
|
12089
|
+
}, /*#__PURE__*/React.createElement(ColorSwatch, {
|
|
12101
12090
|
size: 12,
|
|
12102
12091
|
color: statusColor
|
|
12103
|
-
}), /*#__PURE__*/React
|
|
12092
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
12104
12093
|
fw: 300,
|
|
12105
12094
|
fz: "xs"
|
|
12106
|
-
}, status))), /*#__PURE__*/React
|
|
12095
|
+
}, status))), /*#__PURE__*/React.createElement(Space, {
|
|
12107
12096
|
flex: 1
|
|
12108
|
-
}), /*#__PURE__*/React
|
|
12097
|
+
}), /*#__PURE__*/React.createElement(Menu, {
|
|
12109
12098
|
width: 190,
|
|
12110
12099
|
transitionProps: {
|
|
12111
12100
|
transition: "pop"
|
|
@@ -12114,52 +12103,52 @@ const ConnectionPanel = _ref => {
|
|
|
12114
12103
|
withArrow: true,
|
|
12115
12104
|
withinPortal: true,
|
|
12116
12105
|
arrowSize: 20
|
|
12117
|
-
}, /*#__PURE__*/React
|
|
12106
|
+
}, /*#__PURE__*/React.createElement(Menu.Target, null, /*#__PURE__*/React.createElement(ActionIcon, {
|
|
12118
12107
|
variant: "subtle",
|
|
12119
12108
|
m: 0
|
|
12120
|
-
}, /*#__PURE__*/React
|
|
12109
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12121
12110
|
name: "More"
|
|
12122
|
-
}))), /*#__PURE__*/React
|
|
12111
|
+
}))), /*#__PURE__*/React.createElement(Menu.Dropdown, null, /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12123
12112
|
h: 40,
|
|
12124
12113
|
onClick: edit.onClick,
|
|
12125
|
-
rightSection: /*#__PURE__*/React
|
|
12114
|
+
rightSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12126
12115
|
name: "ArrowRight2"
|
|
12127
12116
|
})
|
|
12128
|
-
}, /*#__PURE__*/React
|
|
12117
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12129
12118
|
size: "xs",
|
|
12130
12119
|
fw: 300
|
|
12131
|
-
}, edit.label)), /*#__PURE__*/React
|
|
12120
|
+
}, edit.label)), /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12132
12121
|
h: 40,
|
|
12133
12122
|
onClick: test.onClick,
|
|
12134
|
-
rightSection: /*#__PURE__*/React
|
|
12123
|
+
rightSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12135
12124
|
name: "ArrowRight2"
|
|
12136
12125
|
})
|
|
12137
|
-
}, /*#__PURE__*/React
|
|
12126
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12138
12127
|
size: "xs",
|
|
12139
12128
|
fw: 300
|
|
12140
|
-
}, test.label)), /*#__PURE__*/React
|
|
12129
|
+
}, test.label)), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(Menu.Item, {
|
|
12141
12130
|
h: 40,
|
|
12142
12131
|
onClick: pause.onClick,
|
|
12143
12132
|
c: "red",
|
|
12144
|
-
leftSection: /*#__PURE__*/React
|
|
12133
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12145
12134
|
name: "PauseCircle",
|
|
12146
12135
|
color: "red"
|
|
12147
12136
|
})
|
|
12148
|
-
}, /*#__PURE__*/React
|
|
12137
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12149
12138
|
size: "xs",
|
|
12150
12139
|
fw: 300
|
|
12151
|
-
}, pause.label))))), /*#__PURE__*/React
|
|
12140
|
+
}, pause.label))))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12152
12141
|
style: {
|
|
12153
12142
|
borderTop: "1px solid #ddd"
|
|
12154
12143
|
}
|
|
12155
|
-
}, /*#__PURE__*/React
|
|
12144
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12156
12145
|
mt: 0,
|
|
12157
12146
|
bg: "white",
|
|
12158
12147
|
p: "md",
|
|
12159
12148
|
gap: "lg",
|
|
12160
12149
|
py: "lg"
|
|
12161
12150
|
}, details.map((item, index) => {
|
|
12162
|
-
return /*#__PURE__*/React
|
|
12151
|
+
return /*#__PURE__*/React.createElement(ConnectionPanelDetail, _extends({
|
|
12163
12152
|
key: "detail-".concat(index)
|
|
12164
12153
|
}, item, {
|
|
12165
12154
|
altColor: altColor
|
|
@@ -12174,13 +12163,13 @@ const ApplicationPanelFeatures = _ref => {
|
|
|
12174
12163
|
label,
|
|
12175
12164
|
icon
|
|
12176
12165
|
} = _ref;
|
|
12177
|
-
return /*#__PURE__*/React
|
|
12166
|
+
return /*#__PURE__*/React.createElement(Group, {
|
|
12178
12167
|
gap: "xs"
|
|
12179
|
-
}, /*#__PURE__*/React
|
|
12168
|
+
}, /*#__PURE__*/React.createElement(Icons, _extends({}, icon, {
|
|
12180
12169
|
color: "#aaa",
|
|
12181
12170
|
variant: "Bulk",
|
|
12182
12171
|
stroke: 1.5
|
|
12183
|
-
})), /*#__PURE__*/React
|
|
12172
|
+
})), /*#__PURE__*/React.createElement(Text, {
|
|
12184
12173
|
fw: 300,
|
|
12185
12174
|
c: 'altiba',
|
|
12186
12175
|
size: '12px',
|
|
@@ -12206,32 +12195,32 @@ const ApplicationPanel = _ref => {
|
|
|
12206
12195
|
onClick = () => void 0
|
|
12207
12196
|
} = _ref,
|
|
12208
12197
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12209
|
-
return /*#__PURE__*/React
|
|
12198
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
12210
12199
|
withBorder: true,
|
|
12211
12200
|
radius: "md"
|
|
12212
|
-
}, rest), /*#__PURE__*/React
|
|
12201
|
+
}, rest), /*#__PURE__*/React.createElement(Card.Section, null, /*#__PURE__*/React.createElement(Image, {
|
|
12213
12202
|
src: coverImage,
|
|
12214
12203
|
alt: name,
|
|
12215
12204
|
fallbackSrc: img$5
|
|
12216
|
-
})), /*#__PURE__*/React
|
|
12205
|
+
})), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12217
12206
|
p: "md"
|
|
12218
|
-
}, /*#__PURE__*/React
|
|
12207
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12219
12208
|
gap: "sm"
|
|
12220
|
-
}, /*#__PURE__*/React
|
|
12209
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12221
12210
|
justify: "space-between"
|
|
12222
|
-
}, /*#__PURE__*/React
|
|
12211
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12223
12212
|
fw: 400
|
|
12224
|
-
}, name), /*#__PURE__*/React
|
|
12213
|
+
}, name), /*#__PURE__*/React.createElement(Badge, {
|
|
12225
12214
|
hidden: !discount,
|
|
12226
12215
|
fw: 300,
|
|
12227
12216
|
variant: "outline"
|
|
12228
|
-
}, discount)), /*#__PURE__*/React
|
|
12217
|
+
}, discount)), /*#__PURE__*/React.createElement(Text, {
|
|
12229
12218
|
fw: 300,
|
|
12230
12219
|
fz: "sm"
|
|
12231
|
-
}, summary))), /*#__PURE__*/React
|
|
12220
|
+
}, summary))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12232
12221
|
p: "md",
|
|
12233
12222
|
pt: 0
|
|
12234
|
-
}, /*#__PURE__*/React
|
|
12223
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12235
12224
|
fz: "xs",
|
|
12236
12225
|
c: "gray.5",
|
|
12237
12226
|
mb: "xs",
|
|
@@ -12239,26 +12228,26 @@ const ApplicationPanel = _ref => {
|
|
|
12239
12228
|
fw: 500,
|
|
12240
12229
|
lts: rem("-0.25px"),
|
|
12241
12230
|
tt: "uppercase"
|
|
12242
|
-
}, featureLabel), /*#__PURE__*/React
|
|
12231
|
+
}, featureLabel), /*#__PURE__*/React.createElement(SimpleGrid, {
|
|
12243
12232
|
cols: 1,
|
|
12244
12233
|
spacing: "xs",
|
|
12245
12234
|
verticalSpacing: "xs"
|
|
12246
12235
|
}, features.map((feature, index) => {
|
|
12247
|
-
return /*#__PURE__*/React
|
|
12236
|
+
return /*#__PURE__*/React.createElement(ApplicationPanelFeatures, _extends({
|
|
12248
12237
|
key: index
|
|
12249
12238
|
}, feature));
|
|
12250
|
-
}))), /*#__PURE__*/React
|
|
12239
|
+
}))), /*#__PURE__*/React.createElement(Card.Section, {
|
|
12251
12240
|
p: "md"
|
|
12252
|
-
}, /*#__PURE__*/React
|
|
12241
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12253
12242
|
gap: 30,
|
|
12254
12243
|
justify: "space-between"
|
|
12255
|
-
}, /*#__PURE__*/React
|
|
12244
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Text, {
|
|
12256
12245
|
fz: "lg",
|
|
12257
12246
|
fw: 500,
|
|
12258
12247
|
style: {
|
|
12259
12248
|
lineHeight: 1
|
|
12260
12249
|
}
|
|
12261
|
-
}, amount), /*#__PURE__*/React
|
|
12250
|
+
}, amount), /*#__PURE__*/React.createElement(Text, {
|
|
12262
12251
|
fz: "xs",
|
|
12263
12252
|
c: "dimmed",
|
|
12264
12253
|
fw: 300,
|
|
@@ -12266,19 +12255,19 @@ const ApplicationPanel = _ref => {
|
|
|
12266
12255
|
lineHeight: 1
|
|
12267
12256
|
},
|
|
12268
12257
|
mt: 3
|
|
12269
|
-
}, "per ".concat(frequency))), /*#__PURE__*/React
|
|
12258
|
+
}, "per ".concat(frequency))), /*#__PURE__*/React.createElement(Box, {
|
|
12270
12259
|
hidden: subscribed
|
|
12271
|
-
}, /*#__PURE__*/React
|
|
12260
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12272
12261
|
fw: 300,
|
|
12273
|
-
leftSection: /*#__PURE__*/React
|
|
12262
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12274
12263
|
name: "AddCircle"
|
|
12275
12264
|
}),
|
|
12276
12265
|
radius: "md",
|
|
12277
12266
|
onClick: onClick
|
|
12278
|
-
}, actionLabel)), /*#__PURE__*/React
|
|
12267
|
+
}, actionLabel)), /*#__PURE__*/React.createElement(Box, {
|
|
12279
12268
|
hidden: !subscribed
|
|
12280
|
-
}, /*#__PURE__*/React
|
|
12281
|
-
leftSection: /*#__PURE__*/React
|
|
12269
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12270
|
+
leftSection: /*#__PURE__*/React.createElement(Icons, {
|
|
12282
12271
|
name: "TickCircle"
|
|
12283
12272
|
}),
|
|
12284
12273
|
fw: 300,
|
|
@@ -12297,40 +12286,40 @@ const SubscriptionPlans = _ref => {
|
|
|
12297
12286
|
planPrice
|
|
12298
12287
|
} = _ref;
|
|
12299
12288
|
const price = planPrice.split("/");
|
|
12300
|
-
return /*#__PURE__*/React
|
|
12289
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Indicator, {
|
|
12301
12290
|
size: 20,
|
|
12302
|
-
label: /*#__PURE__*/React
|
|
12291
|
+
label: /*#__PURE__*/React.createElement(Icons, {
|
|
12303
12292
|
name: "TickCircle",
|
|
12304
12293
|
size: 18,
|
|
12305
12294
|
stroke: 1
|
|
12306
12295
|
}),
|
|
12307
12296
|
disabled: active,
|
|
12308
12297
|
className: "payment-plan"
|
|
12309
|
-
}, /*#__PURE__*/React
|
|
12298
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
12310
12299
|
bg: active ? "gray.1" : "white",
|
|
12311
12300
|
p: "md",
|
|
12312
12301
|
radius: "sm",
|
|
12313
12302
|
withBorder: true
|
|
12314
|
-
}, /*#__PURE__*/React
|
|
12303
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
12315
12304
|
gap: "xl"
|
|
12316
|
-
}, /*#__PURE__*/React
|
|
12305
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12317
12306
|
justify: "space-between",
|
|
12318
12307
|
align: "flex-start"
|
|
12319
|
-
}, /*#__PURE__*/React
|
|
12308
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Title, {
|
|
12320
12309
|
order: 6,
|
|
12321
12310
|
fw: 500
|
|
12322
|
-
}, title), /*#__PURE__*/React
|
|
12311
|
+
}, title), /*#__PURE__*/React.createElement(Text, {
|
|
12323
12312
|
fz: "xs",
|
|
12324
12313
|
c: altColor,
|
|
12325
12314
|
fw: 300
|
|
12326
|
-
}, durationDays, " ", active ? " days remaining" : " days")), /*#__PURE__*/React
|
|
12315
|
+
}, durationDays, " ", active ? " days remaining" : " days")), /*#__PURE__*/React.createElement(Text, {
|
|
12327
12316
|
fz: "sm",
|
|
12328
12317
|
fw: 500
|
|
12329
|
-
}, price[0], /*#__PURE__*/React
|
|
12318
|
+
}, price[0], /*#__PURE__*/React.createElement(Text, {
|
|
12330
12319
|
fz: "sm",
|
|
12331
12320
|
component: "span",
|
|
12332
12321
|
c: "dimmed"
|
|
12333
|
-
}, price[1] ? "/".concat(price[1]) : " /month"))), /*#__PURE__*/React
|
|
12322
|
+
}, price[1] ? "/".concat(price[1]) : " /month"))), /*#__PURE__*/React.createElement(Button, {
|
|
12334
12323
|
w: 100,
|
|
12335
12324
|
size: "xs",
|
|
12336
12325
|
fw: 500,
|
|
@@ -12355,78 +12344,78 @@ const PaymentMethod = _ref => {
|
|
|
12355
12344
|
type,
|
|
12356
12345
|
exp
|
|
12357
12346
|
} = _ref;
|
|
12358
|
-
return /*#__PURE__*/React
|
|
12347
|
+
return /*#__PURE__*/React.createElement(Card, {
|
|
12359
12348
|
withBorder: true,
|
|
12360
12349
|
radius: "md",
|
|
12361
12350
|
p: 0,
|
|
12362
12351
|
bg: active ? "gray.1" : "white",
|
|
12363
12352
|
w: 330
|
|
12364
|
-
}, /*#__PURE__*/React
|
|
12353
|
+
}, /*#__PURE__*/React.createElement(Group, {
|
|
12365
12354
|
gap: "md",
|
|
12366
12355
|
px: "sm"
|
|
12367
|
-
}, /*#__PURE__*/React
|
|
12356
|
+
}, /*#__PURE__*/React.createElement(Center, {
|
|
12368
12357
|
h: 88,
|
|
12369
12358
|
w: 80
|
|
12370
|
-
}, logo[type]), /*#__PURE__*/React
|
|
12359
|
+
}, logo[type]), /*#__PURE__*/React.createElement(Stack, {
|
|
12371
12360
|
gap: 3
|
|
12372
|
-
}, /*#__PURE__*/React
|
|
12361
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12373
12362
|
fz: 14,
|
|
12374
12363
|
tt: "uppercase",
|
|
12375
12364
|
fw: 500
|
|
12376
|
-
}, "**** **** **** ".concat(pan)), /*#__PURE__*/React
|
|
12365
|
+
}, "**** **** **** ".concat(pan)), /*#__PURE__*/React.createElement(Group, {
|
|
12377
12366
|
c: "dimmed"
|
|
12378
|
-
}, /*#__PURE__*/React
|
|
12367
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
12379
12368
|
tt: "capitalize",
|
|
12380
12369
|
fw: 300,
|
|
12381
12370
|
size: "xs"
|
|
12382
|
-
}, type), /*#__PURE__*/React
|
|
12371
|
+
}, type), /*#__PURE__*/React.createElement(Text, {
|
|
12383
12372
|
fw: 300,
|
|
12384
12373
|
size: "sm"
|
|
12385
|
-
}, exp))), /*#__PURE__*/React
|
|
12374
|
+
}, exp))), /*#__PURE__*/React.createElement(Space, {
|
|
12386
12375
|
flex: 1
|
|
12387
|
-
}), /*#__PURE__*/React
|
|
12376
|
+
}), /*#__PURE__*/React.createElement(ActionIcon, {
|
|
12388
12377
|
variant: "subtle",
|
|
12389
12378
|
disabled: active
|
|
12390
|
-
}, !active ? /*#__PURE__*/React
|
|
12379
|
+
}, !active ? /*#__PURE__*/React.createElement(Icons, {
|
|
12391
12380
|
name: "Record"
|
|
12392
|
-
}) : /*#__PURE__*/React
|
|
12381
|
+
}) : /*#__PURE__*/React.createElement(Icons, {
|
|
12393
12382
|
name: "TickCircle"
|
|
12394
12383
|
}))));
|
|
12395
12384
|
};
|
|
12396
12385
|
const logo = {
|
|
12397
|
-
mastercard: /*#__PURE__*/React
|
|
12386
|
+
mastercard: /*#__PURE__*/React.createElement(Image, {
|
|
12398
12387
|
height: 60,
|
|
12399
12388
|
src: img$2
|
|
12400
12389
|
}),
|
|
12401
|
-
visa: /*#__PURE__*/React
|
|
12390
|
+
visa: /*#__PURE__*/React.createElement(Image, {
|
|
12402
12391
|
height: 60,
|
|
12403
12392
|
src: img$3
|
|
12404
12393
|
}),
|
|
12405
|
-
amex: /*#__PURE__*/React
|
|
12394
|
+
amex: /*#__PURE__*/React.createElement(Image, {
|
|
12406
12395
|
height: 60,
|
|
12407
12396
|
src: img$4
|
|
12408
12397
|
}),
|
|
12409
|
-
paypal: /*#__PURE__*/React
|
|
12398
|
+
paypal: /*#__PURE__*/React.createElement(Image, {
|
|
12410
12399
|
height: 60,
|
|
12411
12400
|
src: img$1
|
|
12412
12401
|
}),
|
|
12413
|
-
verve: /*#__PURE__*/React
|
|
12402
|
+
verve: /*#__PURE__*/React.createElement(Image, {
|
|
12414
12403
|
height: 60,
|
|
12415
12404
|
src: img
|
|
12416
12405
|
})
|
|
12417
12406
|
};
|
|
12418
12407
|
const PaymentMethodAdd = () => {
|
|
12419
|
-
return /*#__PURE__*/React
|
|
12408
|
+
return /*#__PURE__*/React.createElement(Group, {
|
|
12420
12409
|
align: "center"
|
|
12421
|
-
}, /*#__PURE__*/React
|
|
12410
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
12422
12411
|
variant: "outline",
|
|
12423
12412
|
w: 60,
|
|
12424
12413
|
h: 60
|
|
12425
|
-
}, /*#__PURE__*/React
|
|
12414
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
12426
12415
|
name: "Add",
|
|
12427
12416
|
size: 60,
|
|
12428
12417
|
stroke: 1
|
|
12429
12418
|
})));
|
|
12430
12419
|
};
|
|
12431
12420
|
|
|
12432
|
-
export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, LabelPanel, PageTitle,
|
|
12421
|
+
export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, LabelPanel, PageTitle, PaymentMethod, PaymentMethodAdd, SearchPanel, SideMenu, SimpleColumn, SimplePanel, SimpleText, StackedColumn, SubscriptionPlans, TitledPanel, UserMenu, theme };
|