plataforma-fundacao-componentes 2.25.9 → 2.25.11
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/dist/assets/icons/AlertIcon.d.ts +3 -0
- package/dist/components/buttonFileUpload/ButtonFileUpload.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/components/dropdownMenu/DropdownMenu.d.ts +5 -7
- package/dist/components/dropdownMenu/DropdownMenu.stories.d.ts +1 -0
- package/dist/components/table/components/TableUpperHeader/TableUpperHeader.d.ts +1 -1
- package/dist/hooks/useOutsideClick/useOutsideClick.d.ts +3 -1
- package/dist/index.css +76 -76
- package/dist/index.d.ts +2 -1
- package/dist/index.js +667 -644
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +668 -646
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React$1, { useMemo, useState, useEffect, memo, useCallback, useRef, useLayoutEffect, Fragment as Fragment$1, forwardRef, useImperativeHandle
|
|
1
|
+
import React$1, { useMemo, useState, useEffect, memo, useCallback, useRef, useLayoutEffect, createRef, Fragment as Fragment$1, forwardRef, useImperativeHandle } from 'react';
|
|
2
2
|
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
3
3
|
import { Chart } from 'chart.js';
|
|
4
4
|
import moment from 'moment';
|
|
@@ -1838,6 +1838,20 @@ var AgencyIcon = function AgencyIcon() {
|
|
|
1838
1838
|
}));
|
|
1839
1839
|
};
|
|
1840
1840
|
|
|
1841
|
+
var rootClassName$1o = 'icon-component';
|
|
1842
|
+
var AlertIcon = function AlertIcon() {
|
|
1843
|
+
return React$1.createElement("svg", {
|
|
1844
|
+
className: rootClassName$1o,
|
|
1845
|
+
viewBox: '0 0 20 20',
|
|
1846
|
+
fill: 'currentColor',
|
|
1847
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
1848
|
+
}, React$1.createElement("path", {
|
|
1849
|
+
fillRule: 'evenodd',
|
|
1850
|
+
clipRule: 'evenodd',
|
|
1851
|
+
d: 'M3.01513 15.9998C0.775704 15.9998 -0.680433 13.642 0.320912 11.6386L5.30596 1.66489C6.41626 -0.555305 9.58299 -0.555305 10.6933 1.66499L15.6783 11.6386C16.6796 13.6417 15.2228 15.9998 12.9841 15.9998H3.01513ZM6.20034 2.11236L1.21534 12.086C0.546406 13.4243 1.51917 14.9994 3.01513 14.9994H12.9841C14.4794 14.9994 15.4527 13.424 14.7839 12.086L9.79896 2.11246C9.05726 0.629319 6.94199 0.629319 6.20034 2.11236ZM8.49953 10.52V5.47917C8.49953 5.20293 8.27567 4.97899 7.99953 4.97899C7.72338 4.97899 7.49953 5.20293 7.49953 5.47917V10.52C7.49953 10.7962 7.72338 11.0202 7.99953 11.0202C8.27567 11.0202 8.49953 10.7962 8.49953 10.52ZM7.99953 13.229C7.65453 13.229 7.37453 12.9489 7.37453 12.6037C7.37453 12.2586 7.65453 11.9785 7.99953 11.9785C8.34453 11.9785 8.62453 12.2586 8.62453 12.6037C8.62453 12.9489 8.34453 13.229 7.99953 13.229Z'
|
|
1852
|
+
}));
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1841
1855
|
var BigPlayIcon = function BigPlayIcon(props) {
|
|
1842
1856
|
return React$1.createElement("svg", {
|
|
1843
1857
|
viewBox: '0 0 64 64',
|
|
@@ -1867,10 +1881,10 @@ var BigPlayIcon = function BigPlayIcon(props) {
|
|
|
1867
1881
|
}));
|
|
1868
1882
|
};
|
|
1869
1883
|
|
|
1870
|
-
var rootClassName$
|
|
1884
|
+
var rootClassName$1p = 'icon-component';
|
|
1871
1885
|
var CalendarCheckIcon = function CalendarCheckIcon() {
|
|
1872
1886
|
return React$1.createElement("svg", {
|
|
1873
|
-
className: rootClassName$
|
|
1887
|
+
className: rootClassName$1p,
|
|
1874
1888
|
viewBox: '0 0 24 24',
|
|
1875
1889
|
fill: 'currentColor',
|
|
1876
1890
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -1881,10 +1895,10 @@ var CalendarCheckIcon = function CalendarCheckIcon() {
|
|
|
1881
1895
|
}));
|
|
1882
1896
|
};
|
|
1883
1897
|
|
|
1884
|
-
var rootClassName$
|
|
1898
|
+
var rootClassName$1q = 'catavento-verde-icon-ui-component';
|
|
1885
1899
|
var CataventoVerde = function CataventoVerde() {
|
|
1886
1900
|
return React$1.createElement("svg", {
|
|
1887
|
-
className: rootClassName$
|
|
1901
|
+
className: rootClassName$1q,
|
|
1888
1902
|
viewBox: '0 0 156.153 155.445',
|
|
1889
1903
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
1890
1904
|
}, React$1.createElement("g", {
|
|
@@ -1998,10 +2012,10 @@ var CataventoVerde = function CataventoVerde() {
|
|
|
1998
2012
|
}))));
|
|
1999
2013
|
};
|
|
2000
2014
|
|
|
2001
|
-
var rootClassName$
|
|
2015
|
+
var rootClassName$1r = 'icon-component';
|
|
2002
2016
|
var CopyIcon = function CopyIcon() {
|
|
2003
2017
|
return React$1.createElement("svg", {
|
|
2004
|
-
className: rootClassName$
|
|
2018
|
+
className: rootClassName$1r,
|
|
2005
2019
|
viewBox: '0 0 24 24',
|
|
2006
2020
|
fill: 'currentColor',
|
|
2007
2021
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -2012,10 +2026,10 @@ var CopyIcon = function CopyIcon() {
|
|
|
2012
2026
|
}));
|
|
2013
2027
|
};
|
|
2014
2028
|
|
|
2015
|
-
var rootClassName$
|
|
2029
|
+
var rootClassName$1s = 'icon-component';
|
|
2016
2030
|
var CrescerIcon = function CrescerIcon() {
|
|
2017
2031
|
return React$1.createElement("svg", {
|
|
2018
|
-
className: rootClassName$
|
|
2032
|
+
className: rootClassName$1s,
|
|
2019
2033
|
viewBox: '0 0 21 13',
|
|
2020
2034
|
fill: 'currentColor',
|
|
2021
2035
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -2028,10 +2042,10 @@ var CrescerIcon = function CrescerIcon() {
|
|
|
2028
2042
|
}));
|
|
2029
2043
|
};
|
|
2030
2044
|
|
|
2031
|
-
var rootClassName$
|
|
2045
|
+
var rootClassName$1t = 'icon-component';
|
|
2032
2046
|
var DevicePlusIcon = function DevicePlusIcon() {
|
|
2033
2047
|
return React$1.createElement("svg", {
|
|
2034
|
-
className: rootClassName$
|
|
2048
|
+
className: rootClassName$1t,
|
|
2035
2049
|
viewBox: '0 0 24 24',
|
|
2036
2050
|
fill: 'currentColor',
|
|
2037
2051
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -2042,10 +2056,10 @@ var DevicePlusIcon = function DevicePlusIcon() {
|
|
|
2042
2056
|
}));
|
|
2043
2057
|
};
|
|
2044
2058
|
|
|
2045
|
-
var rootClassName$
|
|
2059
|
+
var rootClassName$1u = 'loader-icon';
|
|
2046
2060
|
var LoaderIcon = function LoaderIcon(props) {
|
|
2047
2061
|
return React$1.createElement("svg", {
|
|
2048
|
-
className: rootClassName$
|
|
2062
|
+
className: rootClassName$1u,
|
|
2049
2063
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
2050
2064
|
height: props.height,
|
|
2051
2065
|
viewBox: '0 0 135.764 135.764'
|
|
@@ -2114,10 +2128,10 @@ LoaderIcon.defaultProps = {
|
|
|
2114
2128
|
height: 135.764
|
|
2115
2129
|
};
|
|
2116
2130
|
|
|
2117
|
-
var rootClassName$
|
|
2131
|
+
var rootClassName$1v = 'icon-component';
|
|
2118
2132
|
var NotebookIcon = function NotebookIcon() {
|
|
2119
2133
|
return React$1.createElement("svg", {
|
|
2120
|
-
className: rootClassName$
|
|
2134
|
+
className: rootClassName$1v,
|
|
2121
2135
|
viewBox: '0 -1 24 24',
|
|
2122
2136
|
fill: 'currentColor',
|
|
2123
2137
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -2128,10 +2142,10 @@ var NotebookIcon = function NotebookIcon() {
|
|
|
2128
2142
|
}));
|
|
2129
2143
|
};
|
|
2130
2144
|
|
|
2131
|
-
var rootClassName$
|
|
2145
|
+
var rootClassName$1w = 'icon-component';
|
|
2132
2146
|
var PrintIcon = function PrintIcon() {
|
|
2133
2147
|
return React$1.createElement("svg", {
|
|
2134
|
-
className: rootClassName$
|
|
2148
|
+
className: rootClassName$1w,
|
|
2135
2149
|
viewBox: '0 0 24 24',
|
|
2136
2150
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
2137
2151
|
}, React$1.createElement("g", {
|
|
@@ -2167,10 +2181,10 @@ var PrintIcon = function PrintIcon() {
|
|
|
2167
2181
|
}))));
|
|
2168
2182
|
};
|
|
2169
2183
|
|
|
2170
|
-
var rootClassName$
|
|
2184
|
+
var rootClassName$1x = 'icon-component';
|
|
2171
2185
|
var QRCodeIcon = function QRCodeIcon() {
|
|
2172
2186
|
return React$1.createElement("svg", {
|
|
2173
|
-
className: rootClassName$
|
|
2187
|
+
className: rootClassName$1x,
|
|
2174
2188
|
viewBox: '0 0 24 24',
|
|
2175
2189
|
fill: 'currentColor',
|
|
2176
2190
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -4431,7 +4445,7 @@ var QRCodeWhatsapp = function QRCodeWhatsapp(props) {
|
|
|
4431
4445
|
}))));
|
|
4432
4446
|
};
|
|
4433
4447
|
|
|
4434
|
-
var rootClassName$
|
|
4448
|
+
var rootClassName$1y = 'component-collapse';
|
|
4435
4449
|
function Collapse(props) {
|
|
4436
4450
|
var _useState = useState("collapse" + getUniqueKey()),
|
|
4437
4451
|
id = _useState[0];
|
|
@@ -4486,10 +4500,10 @@ function Collapse(props) {
|
|
|
4486
4500
|
}
|
|
4487
4501
|
}
|
|
4488
4502
|
}, React$1.createElement("div", {
|
|
4489
|
-
className: getMergedClassNames([rootClassName$
|
|
4503
|
+
className: getMergedClassNames([rootClassName$1y, props.animateOpacity ? 'animate-opacity' : '']),
|
|
4490
4504
|
id: id
|
|
4491
4505
|
}, React$1.createElement("div", {
|
|
4492
|
-
className: rootClassName$
|
|
4506
|
+
className: rootClassName$1y + "-content"
|
|
4493
4507
|
}, props.children)));
|
|
4494
4508
|
}
|
|
4495
4509
|
Collapse.defaultProps = {
|
|
@@ -4498,11 +4512,11 @@ Collapse.defaultProps = {
|
|
|
4498
4512
|
};
|
|
4499
4513
|
var Collapse$1 = memo(Collapse);
|
|
4500
4514
|
|
|
4501
|
-
var rootClassName$
|
|
4515
|
+
var rootClassName$1z = 'component-accordion';
|
|
4502
4516
|
function Accordion(props) {
|
|
4503
4517
|
var getProps = function getProps() {
|
|
4504
4518
|
var p = _extends({}, props, {
|
|
4505
|
-
className: getMergedClassNames([rootClassName$
|
|
4519
|
+
className: getMergedClassNames([rootClassName$1z, props.className, props.opened ? rootClassName$1z + "-opened" : '', props.shadow ? rootClassName$1z + "-shadow" : ''])
|
|
4506
4520
|
});
|
|
4507
4521
|
delete p.animateOpacity;
|
|
4508
4522
|
delete p.shadow;
|
|
@@ -4514,20 +4528,20 @@ function Accordion(props) {
|
|
|
4514
4528
|
return p;
|
|
4515
4529
|
};
|
|
4516
4530
|
return React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
4517
|
-
className: rootClassName$
|
|
4531
|
+
className: rootClassName$1z + "-first-content",
|
|
4518
4532
|
onClick: function onClick() {
|
|
4519
4533
|
return props.onChange(!props.opened);
|
|
4520
4534
|
}
|
|
4521
4535
|
}, React$1.createElement("div", {
|
|
4522
|
-
className: rootClassName$
|
|
4536
|
+
className: rootClassName$1z + "-label-icon"
|
|
4523
4537
|
}, props.icon && React$1.createElement("div", {
|
|
4524
|
-
className: rootClassName$
|
|
4538
|
+
className: rootClassName$1z + "-icon"
|
|
4525
4539
|
}, props.icon), React$1.createElement("div", {
|
|
4526
|
-
className: rootClassName$
|
|
4540
|
+
className: rootClassName$1z + "-label"
|
|
4527
4541
|
}, props.label)), React$1.createElement("div", {
|
|
4528
|
-
className: rootClassName$
|
|
4542
|
+
className: rootClassName$1z + "-arrow"
|
|
4529
4543
|
}, React$1.createElement(ChevronArrowDownIcon, null))), React$1.createElement("div", {
|
|
4530
|
-
className: rootClassName$
|
|
4544
|
+
className: rootClassName$1z + "-content"
|
|
4531
4545
|
}, React$1.createElement(Collapse$1, {
|
|
4532
4546
|
opened: props.opened,
|
|
4533
4547
|
animateOpacity: props.animateOpacity
|
|
@@ -4542,10 +4556,10 @@ var ActionCardThemes;
|
|
|
4542
4556
|
ActionCardThemes["Darker"] = "darker";
|
|
4543
4557
|
})(ActionCardThemes || (ActionCardThemes = {}));
|
|
4544
4558
|
|
|
4545
|
-
var rootClassName$
|
|
4559
|
+
var rootClassName$1A = 'action-card';
|
|
4546
4560
|
function ActionCard(props) {
|
|
4547
4561
|
return React$1.createElement("div", {
|
|
4548
|
-
className: getMergedClassNames([rootClassName$
|
|
4562
|
+
className: getMergedClassNames([rootClassName$1A, props.theme])
|
|
4549
4563
|
}, React$1.createElement("div", {
|
|
4550
4564
|
className: 'bar'
|
|
4551
4565
|
}), React$1.createElement("div", {
|
|
@@ -4560,13 +4574,13 @@ ActionCard.defaultProps = {
|
|
|
4560
4574
|
};
|
|
4561
4575
|
var ActionCard$1 = memo(ActionCard);
|
|
4562
4576
|
|
|
4563
|
-
var rootClassName$
|
|
4577
|
+
var rootClassName$1B = 'component-animated-link';
|
|
4564
4578
|
function AnimatedLink(props) {
|
|
4565
4579
|
var _useState = useState(props.id ? props.id : getUniqueKey()),
|
|
4566
4580
|
id = _useState[0];
|
|
4567
4581
|
var getProps = function getProps() {
|
|
4568
4582
|
var p = _extends({}, props, {
|
|
4569
|
-
className: getMergedClassNames([rootClassName$
|
|
4583
|
+
className: getMergedClassNames([rootClassName$1B, props.className || '', props.animated ? 'animated' : ''])
|
|
4570
4584
|
});
|
|
4571
4585
|
delete p.animated;
|
|
4572
4586
|
return p;
|
|
@@ -4580,42 +4594,42 @@ AnimatedLink.defaultProps = {
|
|
|
4580
4594
|
};
|
|
4581
4595
|
var AnimatedLink$1 = memo(AnimatedLink);
|
|
4582
4596
|
|
|
4583
|
-
var rootClassName$
|
|
4597
|
+
var rootClassName$1C = 'component-banner';
|
|
4584
4598
|
function Banner(props) {
|
|
4585
4599
|
var _useState = useState("text" + getUniqueKey()),
|
|
4586
4600
|
id = _useState[0];
|
|
4587
4601
|
useEffect(function () {
|
|
4588
|
-
var text = document.querySelector("#" + id + " .text ." + rootClassName$
|
|
4602
|
+
var text = document.querySelector("#" + id + " .text ." + rootClassName$1C + "-text");
|
|
4589
4603
|
if (text && props.text && !String(props.text).match(/(<script>|<\/script>)/g)) {
|
|
4590
4604
|
text.innerHTML = props.text;
|
|
4591
4605
|
}
|
|
4592
4606
|
}, [id, props.text]);
|
|
4593
4607
|
return React$1.createElement("div", {
|
|
4594
4608
|
id: id,
|
|
4595
|
-
className: getMergedClassNames([rootClassName$
|
|
4609
|
+
className: getMergedClassNames([rootClassName$1C, typeof props.onClick === 'function' ? 'clickable' : '']),
|
|
4596
4610
|
onClick: function onClick() {
|
|
4597
4611
|
if (typeof props.onClick === 'function') {
|
|
4598
4612
|
props.onClick();
|
|
4599
4613
|
}
|
|
4600
4614
|
}
|
|
4601
4615
|
}, React$1.createElement("div", {
|
|
4602
|
-
className: rootClassName$
|
|
4616
|
+
className: rootClassName$1C + "-side img"
|
|
4603
4617
|
}, React$1.createElement("img", {
|
|
4604
4618
|
src: props.imgUrl,
|
|
4605
4619
|
alt: 'img-banner',
|
|
4606
4620
|
draggable: false
|
|
4607
4621
|
})), React$1.createElement("div", {
|
|
4608
|
-
className: rootClassName$
|
|
4622
|
+
className: rootClassName$1C + "-side text"
|
|
4609
4623
|
}, React$1.createElement("div", {
|
|
4610
|
-
className: rootClassName$
|
|
4624
|
+
className: rootClassName$1C + "-text"
|
|
4611
4625
|
})));
|
|
4612
4626
|
}
|
|
4613
4627
|
|
|
4614
|
-
var rootClassName$
|
|
4628
|
+
var rootClassName$1D = 'component-big-block-button';
|
|
4615
4629
|
function BigBlockButton(props) {
|
|
4616
4630
|
return React$1.createElement("button", {
|
|
4617
4631
|
id: props.id ? props.id : getUniqueKey(),
|
|
4618
|
-
className: rootClassName$
|
|
4632
|
+
className: rootClassName$1D,
|
|
4619
4633
|
onClick: function onClick(evt) {
|
|
4620
4634
|
if (typeof props.onClick === 'function') {
|
|
4621
4635
|
props.onClick(evt);
|
|
@@ -4623,11 +4637,11 @@ function BigBlockButton(props) {
|
|
|
4623
4637
|
},
|
|
4624
4638
|
disabled: props.disabled || false
|
|
4625
4639
|
}, React$1.createElement("div", {
|
|
4626
|
-
className: rootClassName$
|
|
4640
|
+
className: rootClassName$1D + "-icon"
|
|
4627
4641
|
}, props.icon), React$1.createElement("div", {
|
|
4628
|
-
className: rootClassName$
|
|
4642
|
+
className: rootClassName$1D + "-label"
|
|
4629
4643
|
}, props.label), props.subtitle ? React$1.createElement("div", {
|
|
4630
|
-
className: rootClassName$
|
|
4644
|
+
className: rootClassName$1D + "-subtitle"
|
|
4631
4645
|
}, props.subtitle) : undefined);
|
|
4632
4646
|
}
|
|
4633
4647
|
|
|
@@ -4648,11 +4662,11 @@ var NotificationType;
|
|
|
4648
4662
|
NotificationType["Disabled"] = "disabled";
|
|
4649
4663
|
})(NotificationType || (NotificationType = {}));
|
|
4650
4664
|
|
|
4651
|
-
var rootClassName$
|
|
4665
|
+
var rootClassName$1E = 'component-notification';
|
|
4652
4666
|
function Notification(props) {
|
|
4653
4667
|
var getProps = function getProps() {
|
|
4654
4668
|
var p = {
|
|
4655
|
-
className: getMergedClassNames([rootClassName$
|
|
4669
|
+
className: getMergedClassNames([rootClassName$1E + "-outer", props.className])
|
|
4656
4670
|
};
|
|
4657
4671
|
return p;
|
|
4658
4672
|
};
|
|
@@ -4663,11 +4677,11 @@ function Notification(props) {
|
|
|
4663
4677
|
}, [props.count]);
|
|
4664
4678
|
return React$1.createElement("div", Object.assign({}, getProps()), props.children, React$1.createElement(CSSTransition, {
|
|
4665
4679
|
"in": !!label,
|
|
4666
|
-
classNames: rootClassName$
|
|
4680
|
+
classNames: rootClassName$1E,
|
|
4667
4681
|
timeout: 300,
|
|
4668
4682
|
unmountOnExit: true
|
|
4669
4683
|
}, React$1.createElement("div", {
|
|
4670
|
-
className: rootClassName$
|
|
4684
|
+
className: rootClassName$1E + " " + rootClassName$1E + "-" + props.position + " " + rootClassName$1E + "-" + props.type,
|
|
4671
4685
|
style: {
|
|
4672
4686
|
top: String(props.position).match(/top/) ? 0 - (props.verticalOuter || 0) + "px" : 'unset',
|
|
4673
4687
|
right: String(props.position).match(/right/) ? 0 - (props.horizontalOuter || 0) + "px" : 'unset',
|
|
@@ -4683,20 +4697,20 @@ Notification.defaultProps = {
|
|
|
4683
4697
|
horizontalOuter: 10
|
|
4684
4698
|
};
|
|
4685
4699
|
|
|
4686
|
-
var rootClassName$
|
|
4700
|
+
var rootClassName$1F = 'bottom-navigation';
|
|
4687
4701
|
function BottomNavigation(props) {
|
|
4688
4702
|
var _props$itens;
|
|
4689
4703
|
return React$1.createElement("div", {
|
|
4690
|
-
className: getMergedClassNames([rootClassName$
|
|
4704
|
+
className: getMergedClassNames([rootClassName$1F, props.theme])
|
|
4691
4705
|
}, (_props$itens = props.itens) === null || _props$itens === void 0 ? void 0 : _props$itens.map(function (item, index) {
|
|
4692
4706
|
return React$1.createElement("button", {
|
|
4693
4707
|
key: index,
|
|
4694
|
-
className: getMergedClassNames([rootClassName$
|
|
4708
|
+
className: getMergedClassNames([rootClassName$1F + "-item", index === props.atual ? 'atual' : '']),
|
|
4695
4709
|
onClick: function onClick() {
|
|
4696
4710
|
if (props.atual !== index) props.setAtual(index);
|
|
4697
4711
|
}
|
|
4698
4712
|
}, React$1.createElement("div", {
|
|
4699
|
-
className: rootClassName$
|
|
4713
|
+
className: rootClassName$1F + "-icon"
|
|
4700
4714
|
}, React$1.createElement(Notification, {
|
|
4701
4715
|
count: item.notificationCount || 0,
|
|
4702
4716
|
position: NotificationPosition.TopRight,
|
|
@@ -4704,7 +4718,7 @@ function BottomNavigation(props) {
|
|
|
4704
4718
|
horizontalOuter: 12,
|
|
4705
4719
|
verticalOuter: 6
|
|
4706
4720
|
}, item.icon)), React$1.createElement("div", {
|
|
4707
|
-
className: rootClassName$
|
|
4721
|
+
className: rootClassName$1F + "-label"
|
|
4708
4722
|
}, item.label));
|
|
4709
4723
|
}));
|
|
4710
4724
|
}
|
|
@@ -4713,19 +4727,19 @@ BottomNavigation.defaultProps = {
|
|
|
4713
4727
|
};
|
|
4714
4728
|
var BottomNavigation$1 = memo(BottomNavigation);
|
|
4715
4729
|
|
|
4716
|
-
var rootClassName$
|
|
4730
|
+
var rootClassName$1G = 'component-bread-crumb';
|
|
4717
4731
|
function BreadCrumb(props) {
|
|
4718
4732
|
return React$1.createElement("div", {
|
|
4719
|
-
className: rootClassName$
|
|
4733
|
+
className: rootClassName$1G
|
|
4720
4734
|
}, props.path && props.path.length ? props.path.map(function (p, index) {
|
|
4721
4735
|
return React$1.createElement("div", {
|
|
4722
4736
|
key: index,
|
|
4723
|
-
className: getMergedClassNames([rootClassName$
|
|
4737
|
+
className: getMergedClassNames([rootClassName$1G + "-path", p.onClick && typeof p.onClick === 'function' ? rootClassName$1G + "-active" : '']),
|
|
4724
4738
|
onClick: p.onClick
|
|
4725
4739
|
}, index > 0 ? React$1.createElement("div", {
|
|
4726
|
-
className: rootClassName$
|
|
4740
|
+
className: rootClassName$1G + "-arrow"
|
|
4727
4741
|
}, React$1.createElement(ChevronArrowRightIcon, null)) : undefined, React$1.createElement("div", {
|
|
4728
|
-
className: rootClassName$
|
|
4742
|
+
className: rootClassName$1G + "-label nunito"
|
|
4729
4743
|
}, p.label));
|
|
4730
4744
|
}) : undefined);
|
|
4731
4745
|
}
|
|
@@ -4755,7 +4769,7 @@ var ButtonThemes;
|
|
|
4755
4769
|
ButtonThemes["HeaderUserBold"] = "header-user-bold";
|
|
4756
4770
|
})(ButtonThemes || (ButtonThemes = {}));
|
|
4757
4771
|
|
|
4758
|
-
var rootClassName$
|
|
4772
|
+
var rootClassName$1H = 'component-button';
|
|
4759
4773
|
function Button(props) {
|
|
4760
4774
|
var handleClick = function handleClick(evt) {
|
|
4761
4775
|
if (typeof props.onClick === 'function' && !props.disabled && (!props.loader || !props.loader.loading)) {
|
|
@@ -4765,7 +4779,7 @@ function Button(props) {
|
|
|
4765
4779
|
var getProps = function getProps() {
|
|
4766
4780
|
var p = _extends({}, props, {
|
|
4767
4781
|
onClick: handleClick,
|
|
4768
|
-
className: getMergedClassNames(['nunito', rootClassName$
|
|
4782
|
+
className: getMergedClassNames(['nunito', rootClassName$1H, props.className, rootClassName$1H + "-" + props.theme, props.w100 ? rootClassName$1H + "-w100" : '', props.mobileBottomPage ? rootClassName$1H + "-bottom-mobile" : ''])
|
|
4769
4783
|
});
|
|
4770
4784
|
delete p.mobileBottomPage;
|
|
4771
4785
|
delete p.children;
|
|
@@ -4777,13 +4791,13 @@ function Button(props) {
|
|
|
4777
4791
|
return p;
|
|
4778
4792
|
};
|
|
4779
4793
|
return React$1.createElement("button", Object.assign({}, getProps()), props.leftIcon && React$1.createElement("div", {
|
|
4780
|
-
className: getMergedClassNames([rootClassName$
|
|
4794
|
+
className: getMergedClassNames([rootClassName$1H + "-icon", rootClassName$1H + "-left-icon", props.loader && props.loader.loading ? rootClassName$1H + "-hide" : ''])
|
|
4781
4795
|
}, props.leftIcon), React$1.createElement("div", {
|
|
4782
|
-
className: rootClassName$
|
|
4796
|
+
className: rootClassName$1H + "-label nunito " + (props.loader && props.loader.loading ? rootClassName$1H + "-hide" : '')
|
|
4783
4797
|
}, props.children), props.rightIcon && React$1.createElement("div", {
|
|
4784
|
-
className: getMergedClassNames([rootClassName$
|
|
4798
|
+
className: getMergedClassNames([rootClassName$1H + "-icon", rootClassName$1H + "-right-icon", props.loader && props.loader.loading ? rootClassName$1H + "-hide" : ''])
|
|
4785
4799
|
}, props.rightIcon), props.loader && props.loader.loading ? React$1.createElement("div", {
|
|
4786
|
-
className: rootClassName$
|
|
4800
|
+
className: rootClassName$1H + "-loader"
|
|
4787
4801
|
}, React$1.createElement(ThreeDotsLoader, {
|
|
4788
4802
|
theme: props.loader.loaderTheme ? props.loader.loaderTheme : undefined,
|
|
4789
4803
|
size: props.loader.loaderSize ? props.loader.loaderSize : undefined
|
|
@@ -4835,7 +4849,7 @@ var ImageTypes;
|
|
|
4835
4849
|
ImageTypes["PNG"] = ".png";
|
|
4836
4850
|
})(ImageTypes || (ImageTypes = {}));
|
|
4837
4851
|
|
|
4838
|
-
var rootClassName$
|
|
4852
|
+
var rootClassName$1I = 'component-button-file-upload';
|
|
4839
4853
|
function ButtonFileUpload(props) {
|
|
4840
4854
|
var _props$inputProps;
|
|
4841
4855
|
var id = useMemo(getUniqueKey, []);
|
|
@@ -4867,7 +4881,7 @@ function ButtonFileUpload(props) {
|
|
|
4867
4881
|
}, props.buttonProps);
|
|
4868
4882
|
}, [id, props.buttonProps, props.disabled, props.leftIcon, props.theme, props.w100]);
|
|
4869
4883
|
return React$1.createElement("div", {
|
|
4870
|
-
className: getMergedClassNames([rootClassName$
|
|
4884
|
+
className: getMergedClassNames([rootClassName$1I, props.w100 ? 'w100' : '']),
|
|
4871
4885
|
id: id
|
|
4872
4886
|
}, React$1.createElement("input", Object.assign({
|
|
4873
4887
|
hidden: true,
|
|
@@ -4916,23 +4930,23 @@ var CardTypes;
|
|
|
4916
4930
|
CardTypes["Green"] = "green";
|
|
4917
4931
|
})(CardTypes || (CardTypes = {}));
|
|
4918
4932
|
|
|
4919
|
-
var rootClassName$
|
|
4933
|
+
var rootClassName$1J = 'component-card';
|
|
4920
4934
|
function Card(props) {
|
|
4921
4935
|
return React$1.createElement("div", {
|
|
4922
|
-
className: getMergedClassNames([rootClassName$
|
|
4936
|
+
className: getMergedClassNames([rootClassName$1J, rootClassName$1J + "-" + props.theme])
|
|
4923
4937
|
}, React$1.createElement("div", {
|
|
4924
|
-
className: rootClassName$
|
|
4938
|
+
className: rootClassName$1J + "-caption"
|
|
4925
4939
|
}, props.caption), React$1.createElement("div", {
|
|
4926
|
-
className: rootClassName$
|
|
4940
|
+
className: rootClassName$1J + "-label"
|
|
4927
4941
|
}, props.label), React$1.createElement("div", {
|
|
4928
|
-
className: rootClassName$
|
|
4942
|
+
className: rootClassName$1J + "-helper-text"
|
|
4929
4943
|
}, props.helperText));
|
|
4930
4944
|
}
|
|
4931
4945
|
Card.defaultProps = {
|
|
4932
4946
|
theme: CardTypes.White
|
|
4933
4947
|
};
|
|
4934
4948
|
|
|
4935
|
-
var rootClassName$
|
|
4949
|
+
var rootClassName$1K = 'component-carousel';
|
|
4936
4950
|
function Carousel(props) {
|
|
4937
4951
|
var _useState = useState(0),
|
|
4938
4952
|
atual = _useState[0],
|
|
@@ -4997,9 +5011,9 @@ function Carousel(props) {
|
|
|
4997
5011
|
}
|
|
4998
5012
|
}, [props.loading]);
|
|
4999
5013
|
return React$1.createElement("div", {
|
|
5000
|
-
className: rootClassName$
|
|
5014
|
+
className: rootClassName$1K
|
|
5001
5015
|
}, React$1.createElement("div", {
|
|
5002
|
-
className: rootClassName$
|
|
5016
|
+
className: rootClassName$1K + "-banners",
|
|
5003
5017
|
onMouseEnter: function onMouseEnter() {
|
|
5004
5018
|
if (timerRef.current) {
|
|
5005
5019
|
timerRef.current.pause();
|
|
@@ -5013,10 +5027,10 @@ function Carousel(props) {
|
|
|
5013
5027
|
}, props.banners && props.banners.length ? props.banners.map(function (banner, index) {
|
|
5014
5028
|
return React$1.createElement("div", {
|
|
5015
5029
|
key: index,
|
|
5016
|
-
className: getMergedClassNames([rootClassName$
|
|
5030
|
+
className: getMergedClassNames([rootClassName$1K + "-swipe", index < atual ? 'to-left' : '', index === atual ? 'atual' : '', index > atual ? 'to-right' : ''])
|
|
5017
5031
|
}, React$1.createElement(Banner, Object.assign({}, banner)));
|
|
5018
5032
|
}) : undefined, props.banners.length > 1 && React$1.createElement("div", {
|
|
5019
|
-
className: rootClassName$
|
|
5033
|
+
className: rootClassName$1K + "-control prev",
|
|
5020
5034
|
onClick: function onClick() {
|
|
5021
5035
|
if (timerRef.current) {
|
|
5022
5036
|
timerRef.current.restart();
|
|
@@ -5028,11 +5042,11 @@ function Carousel(props) {
|
|
|
5028
5042
|
changeBanner(atual - 1);
|
|
5029
5043
|
}
|
|
5030
5044
|
}, React$1.createElement("div", {
|
|
5031
|
-
className: rootClassName$
|
|
5045
|
+
className: rootClassName$1K + "-icon"
|
|
5032
5046
|
}, React$1.createElement(ChevronArrowLeftIcon, null)), React$1.createElement("div", {
|
|
5033
|
-
className: rootClassName$
|
|
5047
|
+
className: rootClassName$1K + "-shadow"
|
|
5034
5048
|
})), props.banners.length > 1 && React$1.createElement("div", {
|
|
5035
|
-
className: rootClassName$
|
|
5049
|
+
className: rootClassName$1K + "-control next",
|
|
5036
5050
|
onClick: function onClick() {
|
|
5037
5051
|
if (timerRef.current) {
|
|
5038
5052
|
timerRef.current.restart();
|
|
@@ -5040,22 +5054,22 @@ function Carousel(props) {
|
|
|
5040
5054
|
changeBanner();
|
|
5041
5055
|
}
|
|
5042
5056
|
}, React$1.createElement("div", {
|
|
5043
|
-
className: rootClassName$
|
|
5057
|
+
className: rootClassName$1K + "-icon"
|
|
5044
5058
|
}, React$1.createElement(ChevronArrowRightIcon, null)), React$1.createElement("div", {
|
|
5045
|
-
className: rootClassName$
|
|
5059
|
+
className: rootClassName$1K + "-shadow"
|
|
5046
5060
|
})), React$1.createElement(CSSTransition, {
|
|
5047
5061
|
"in": props.loading,
|
|
5048
5062
|
classNames: 'fade',
|
|
5049
5063
|
timeout: 300,
|
|
5050
5064
|
unmountOnExit: true
|
|
5051
5065
|
}, React$1.createElement("div", {
|
|
5052
|
-
className: rootClassName$
|
|
5066
|
+
className: rootClassName$1K + "-loader-mask"
|
|
5053
5067
|
}, React$1.createElement(ThreeDotsLoader, null)))), React$1.createElement("div", {
|
|
5054
|
-
className: rootClassName$
|
|
5068
|
+
className: rootClassName$1K + "-balls"
|
|
5055
5069
|
}, props.banners.map(function (_banner, index) {
|
|
5056
5070
|
return React$1.createElement("div", {
|
|
5057
5071
|
key: changedCount + index,
|
|
5058
|
-
className: getMergedClassNames([rootClassName$
|
|
5072
|
+
className: getMergedClassNames([rootClassName$1K + "-ball", atual === index ? rootClassName$1K + "-atual" : '']),
|
|
5059
5073
|
onClick: function onClick() {
|
|
5060
5074
|
if (!props.loading) {
|
|
5061
5075
|
changeBanner(index);
|
|
@@ -5189,19 +5203,19 @@ function useDraggableContainer(queryContainer, size) {
|
|
|
5189
5203
|
}, []);
|
|
5190
5204
|
}
|
|
5191
5205
|
|
|
5192
|
-
var rootClassName$
|
|
5206
|
+
var rootClassName$1L = 'carousel-behaviour';
|
|
5193
5207
|
function useCarouselBehaviour(props) {
|
|
5194
5208
|
var _props$slides, _props$slides4;
|
|
5195
5209
|
var _useState = useState(getUniqueKey()),
|
|
5196
5210
|
id = _useState[0];
|
|
5197
|
-
useDraggableContainer("#" + id + " ." + rootClassName$
|
|
5211
|
+
useDraggableContainer("#" + id + " ." + rootClassName$1L + "-content", (_props$slides = props.slides) === null || _props$slides === void 0 ? void 0 : _props$slides.length);
|
|
5198
5212
|
var handleChange = function handleChange(newAtual, onScroll) {
|
|
5199
5213
|
if (onScroll === void 0) {
|
|
5200
5214
|
onScroll = false;
|
|
5201
5215
|
}
|
|
5202
5216
|
if (!onScroll) {
|
|
5203
5217
|
var _props$slides2;
|
|
5204
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
5218
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$1L + "-content");
|
|
5205
5219
|
var width = el.scrollWidth / (((_props$slides2 = props.slides) === null || _props$slides2 === void 0 ? void 0 : _props$slides2.length) || 1);
|
|
5206
5220
|
scrollSmooth({
|
|
5207
5221
|
top: 0,
|
|
@@ -5235,26 +5249,26 @@ function useCarouselBehaviour(props) {
|
|
|
5235
5249
|
}
|
|
5236
5250
|
}, [props.newAtual]);
|
|
5237
5251
|
return [React$1.createElement("div", {
|
|
5238
|
-
className: rootClassName$
|
|
5252
|
+
className: rootClassName$1L,
|
|
5239
5253
|
id: id
|
|
5240
5254
|
}, React$1.createElement("div", {
|
|
5241
|
-
className: getMergedClassNames([rootClassName$
|
|
5255
|
+
className: getMergedClassNames([rootClassName$1L + "-content", props.draggable ? 'draggable' : '']),
|
|
5242
5256
|
onScroll: function onScroll() {
|
|
5243
5257
|
var _props$slides3;
|
|
5244
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
5258
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$1L + "-content");
|
|
5245
5259
|
var width = el.scrollWidth / (((_props$slides3 = props.slides) === null || _props$slides3 === void 0 ? void 0 : _props$slides3.length) || 1);
|
|
5246
5260
|
var newAtual = Math.round(el.scrollLeft / width);
|
|
5247
5261
|
handleChange(newAtual, true);
|
|
5248
5262
|
}
|
|
5249
5263
|
}, (_props$slides4 = props.slides) === null || _props$slides4 === void 0 ? void 0 : _props$slides4.map(function (slide, index) {
|
|
5250
5264
|
return React$1.createElement("div", {
|
|
5251
|
-
className: rootClassName$
|
|
5265
|
+
className: rootClassName$1L + "-slide",
|
|
5252
5266
|
key: index
|
|
5253
5267
|
}, slide);
|
|
5254
5268
|
}))), handleChange];
|
|
5255
5269
|
}
|
|
5256
5270
|
|
|
5257
|
-
var rootClassName$
|
|
5271
|
+
var rootClassName$1M = 'component-icon-button';
|
|
5258
5272
|
function IconButton(props) {
|
|
5259
5273
|
var handleClick = function handleClick(evt) {
|
|
5260
5274
|
if (typeof props.onClick === 'function' && !props.disabled) {
|
|
@@ -5264,7 +5278,7 @@ function IconButton(props) {
|
|
|
5264
5278
|
var getProps = function getProps() {
|
|
5265
5279
|
var p = _extends({}, props, {
|
|
5266
5280
|
onClick: handleClick,
|
|
5267
|
-
className: getMergedClassNames([rootClassName$
|
|
5281
|
+
className: getMergedClassNames([rootClassName$1M, props.className, rootClassName$1M + "-" + props.theme])
|
|
5268
5282
|
});
|
|
5269
5283
|
delete p.icon;
|
|
5270
5284
|
delete p.children;
|
|
@@ -5282,7 +5296,7 @@ IconButton.defaultProps = {
|
|
|
5282
5296
|
};
|
|
5283
5297
|
var IconButton$1 = memo(IconButton);
|
|
5284
5298
|
|
|
5285
|
-
var rootClassName$
|
|
5299
|
+
var rootClassName$1N = 'element-paginator';
|
|
5286
5300
|
function ElementPaginator(props) {
|
|
5287
5301
|
var handleChange = function handleChange(num) {
|
|
5288
5302
|
if (num > props.size) {
|
|
@@ -5294,16 +5308,16 @@ function ElementPaginator(props) {
|
|
|
5294
5308
|
}
|
|
5295
5309
|
};
|
|
5296
5310
|
return React$1.createElement("div", {
|
|
5297
|
-
className: rootClassName$
|
|
5311
|
+
className: rootClassName$1N
|
|
5298
5312
|
}, props.hideArrows ? undefined : React$1.createElement("div", null, React$1.createElement(IconButton$1, {
|
|
5299
|
-
className: rootClassName$
|
|
5313
|
+
className: rootClassName$1N + "-buttons",
|
|
5300
5314
|
icon: React$1.createElement(ArrowLeftIcon, null),
|
|
5301
5315
|
onClick: function onClick() {
|
|
5302
5316
|
return handleChange(props.atual - 1);
|
|
5303
5317
|
},
|
|
5304
5318
|
disabled: !props.infinite && props.atual === 1
|
|
5305
5319
|
})), React$1.createElement("div", {
|
|
5306
|
-
className: rootClassName$
|
|
5320
|
+
className: rootClassName$1N + "-indexes"
|
|
5307
5321
|
}, Array.from({
|
|
5308
5322
|
length: props.size
|
|
5309
5323
|
}).map(function (_, i) {
|
|
@@ -5315,7 +5329,7 @@ function ElementPaginator(props) {
|
|
|
5315
5329
|
}
|
|
5316
5330
|
}, React$1.createElement("span", null));
|
|
5317
5331
|
})), props.hideArrows ? undefined : React$1.createElement("div", null, React$1.createElement(IconButton$1, {
|
|
5318
|
-
className: rootClassName$
|
|
5332
|
+
className: rootClassName$1N + "-buttons",
|
|
5319
5333
|
icon: React$1.createElement(ArrowRightIcon, null),
|
|
5320
5334
|
onClick: function onClick() {
|
|
5321
5335
|
return handleChange(props.atual + 1);
|
|
@@ -5328,7 +5342,7 @@ ElementPaginator.defaultProps = {
|
|
|
5328
5342
|
};
|
|
5329
5343
|
var ElementPaginator$1 = memo(ElementPaginator);
|
|
5330
5344
|
|
|
5331
|
-
var rootClassName$
|
|
5345
|
+
var rootClassName$1O = 'carousel-persona';
|
|
5332
5346
|
function CarouselPersona(props) {
|
|
5333
5347
|
var _props$personas2;
|
|
5334
5348
|
var _useState = useState(0),
|
|
@@ -5338,17 +5352,17 @@ function CarouselPersona(props) {
|
|
|
5338
5352
|
var _props$personas;
|
|
5339
5353
|
return (_props$personas = props.personas) === null || _props$personas === void 0 ? void 0 : _props$personas.map(function (persona, index) {
|
|
5340
5354
|
return React$1.createElement("div", {
|
|
5341
|
-
className: rootClassName$
|
|
5355
|
+
className: rootClassName$1O + "-persona",
|
|
5342
5356
|
key: index
|
|
5343
5357
|
}, React$1.createElement("div", {
|
|
5344
|
-
className: rootClassName$
|
|
5358
|
+
className: rootClassName$1O + "-image",
|
|
5345
5359
|
style: {
|
|
5346
5360
|
backgroundImage: "url(" + persona.imgUrl + ")"
|
|
5347
5361
|
}
|
|
5348
5362
|
}), React$1.createElement("div", {
|
|
5349
|
-
className: rootClassName$
|
|
5363
|
+
className: rootClassName$1O + "-name"
|
|
5350
5364
|
}, persona.name), React$1.createElement("div", {
|
|
5351
|
-
className: rootClassName$
|
|
5365
|
+
className: rootClassName$1O + "-description nunito"
|
|
5352
5366
|
}, persona.description));
|
|
5353
5367
|
});
|
|
5354
5368
|
}, [props.personas]);
|
|
@@ -5360,13 +5374,13 @@ function CarouselPersona(props) {
|
|
|
5360
5374
|
CarouselBehaviour = _useCarouselBehaviour[0],
|
|
5361
5375
|
handleChange = _useCarouselBehaviour[1];
|
|
5362
5376
|
return React$1.createElement("div", {
|
|
5363
|
-
className: rootClassName$
|
|
5377
|
+
className: rootClassName$1O
|
|
5364
5378
|
}, React$1.createElement("div", {
|
|
5365
|
-
className: rootClassName$
|
|
5379
|
+
className: rootClassName$1O + "-personas"
|
|
5366
5380
|
}, personas), React$1.createElement("div", {
|
|
5367
|
-
className: rootClassName$
|
|
5381
|
+
className: rootClassName$1O + "-carousel"
|
|
5368
5382
|
}, CarouselBehaviour, React$1.createElement("div", {
|
|
5369
|
-
className: rootClassName$
|
|
5383
|
+
className: rootClassName$1O + "-paginator"
|
|
5370
5384
|
}, React$1.createElement(ElementPaginator$1, {
|
|
5371
5385
|
infinite: true,
|
|
5372
5386
|
size: ((_props$personas2 = props.personas) === null || _props$personas2 === void 0 ? void 0 : _props$personas2.length) || 0,
|
|
@@ -5452,7 +5466,7 @@ function useControlledTimer(props) {
|
|
|
5452
5466
|
return [dispatchAction, status];
|
|
5453
5467
|
}
|
|
5454
5468
|
|
|
5455
|
-
var rootClassName$
|
|
5469
|
+
var rootClassName$1P = 'component-carousel-touch-frendly';
|
|
5456
5470
|
function CarouselTouchFrendly(props) {
|
|
5457
5471
|
var _props$slides, _props$slides2;
|
|
5458
5472
|
var _useState = useState(getUniqueKey()),
|
|
@@ -5468,7 +5482,7 @@ function CarouselTouchFrendly(props) {
|
|
|
5468
5482
|
slides: (_props$slides = props.slides) === null || _props$slides === void 0 ? void 0 : _props$slides.map(function (slide, index) {
|
|
5469
5483
|
return React$1.createElement("div", {
|
|
5470
5484
|
key: index,
|
|
5471
|
-
className: rootClassName$
|
|
5485
|
+
className: rootClassName$1P + "-slide"
|
|
5472
5486
|
}, slide);
|
|
5473
5487
|
})
|
|
5474
5488
|
}),
|
|
@@ -5483,9 +5497,9 @@ function CarouselTouchFrendly(props) {
|
|
|
5483
5497
|
dispatchActionsToTimer = _useControlledTimer[0];
|
|
5484
5498
|
return React$1.createElement("div", {
|
|
5485
5499
|
id: id,
|
|
5486
|
-
className: getMergedClassNames([rootClassName$
|
|
5500
|
+
className: getMergedClassNames([rootClassName$1P, props.className])
|
|
5487
5501
|
}, React$1.createElement("div", {
|
|
5488
|
-
className: rootClassName$
|
|
5502
|
+
className: rootClassName$1P + "-outside-content",
|
|
5489
5503
|
onMouseEnter: function onMouseEnter() {
|
|
5490
5504
|
dispatchActionsToTimer('pause');
|
|
5491
5505
|
},
|
|
@@ -5493,27 +5507,27 @@ function CarouselTouchFrendly(props) {
|
|
|
5493
5507
|
dispatchActionsToTimer('play');
|
|
5494
5508
|
}
|
|
5495
5509
|
}, props.slides.length > 1 && React$1.createElement("div", {
|
|
5496
|
-
className: rootClassName$
|
|
5510
|
+
className: rootClassName$1P + "-control prev",
|
|
5497
5511
|
onClick: function onClick() {
|
|
5498
5512
|
dispatchActionsToTimer('stop');
|
|
5499
5513
|
handleChange(atual > 0 ? atual - 1 : props.slides.length - 1, false);
|
|
5500
5514
|
}
|
|
5501
5515
|
}, React$1.createElement("div", {
|
|
5502
|
-
className: rootClassName$
|
|
5516
|
+
className: rootClassName$1P + "-icon"
|
|
5503
5517
|
}, React$1.createElement(ChevronArrowLeftIcon, null)), React$1.createElement("div", {
|
|
5504
|
-
className: rootClassName$
|
|
5518
|
+
className: rootClassName$1P + "-shadow"
|
|
5505
5519
|
})), props.slides.length > 1 && React$1.createElement("div", {
|
|
5506
|
-
className: rootClassName$
|
|
5520
|
+
className: rootClassName$1P + "-control next",
|
|
5507
5521
|
onClick: function onClick() {
|
|
5508
5522
|
dispatchActionsToTimer('stop');
|
|
5509
5523
|
handleChange(atual < props.slides.length - 1 ? atual + 1 : 0, false);
|
|
5510
5524
|
}
|
|
5511
5525
|
}, React$1.createElement("div", {
|
|
5512
|
-
className: rootClassName$
|
|
5526
|
+
className: rootClassName$1P + "-icon"
|
|
5513
5527
|
}, React$1.createElement(ChevronArrowRightIcon, null)), React$1.createElement("div", {
|
|
5514
|
-
className: rootClassName$
|
|
5528
|
+
className: rootClassName$1P + "-shadow"
|
|
5515
5529
|
})), CarouselBehaviour), React$1.createElement("div", {
|
|
5516
|
-
className: rootClassName$
|
|
5530
|
+
className: rootClassName$1P + "-balls"
|
|
5517
5531
|
}, (_props$slides2 = props.slides) === null || _props$slides2 === void 0 ? void 0 : _props$slides2.map(function (_slide, index) {
|
|
5518
5532
|
return React$1.createElement("div", {
|
|
5519
5533
|
key: index,
|
|
@@ -5521,7 +5535,7 @@ function CarouselTouchFrendly(props) {
|
|
|
5521
5535
|
dispatchActionsToTimer('restart');
|
|
5522
5536
|
handleChange(index, false);
|
|
5523
5537
|
},
|
|
5524
|
-
className: getMergedClassNames([rootClassName$
|
|
5538
|
+
className: getMergedClassNames([rootClassName$1P + "-ball", index === atual ? 'atual' : ''])
|
|
5525
5539
|
});
|
|
5526
5540
|
})));
|
|
5527
5541
|
}
|
|
@@ -6929,7 +6943,7 @@ function useProgressiveCount(initialValue) {
|
|
|
6929
6943
|
return [value, changeNumber];
|
|
6930
6944
|
}
|
|
6931
6945
|
|
|
6932
|
-
var rootClassName$
|
|
6946
|
+
var rootClassName$1Q = 'component-doughnut-square';
|
|
6933
6947
|
function DoughnutSquare(props) {
|
|
6934
6948
|
var _useProgressiveCount = useProgressiveCount(0),
|
|
6935
6949
|
val = _useProgressiveCount[0],
|
|
@@ -6941,11 +6955,11 @@ function DoughnutSquare(props) {
|
|
|
6941
6955
|
setVal(parseInt(String(props.value)));
|
|
6942
6956
|
}, [props.value]);
|
|
6943
6957
|
return React$1.createElement("div", {
|
|
6944
|
-
className: rootClassName$
|
|
6958
|
+
className: rootClassName$1Q
|
|
6945
6959
|
}, React$1.createElement("div", {
|
|
6946
|
-
className: rootClassName$
|
|
6960
|
+
className: rootClassName$1Q + "-caption " + rootClassName$1Q + "-caption-left"
|
|
6947
6961
|
}, props.leftCaption), React$1.createElement("div", {
|
|
6948
|
-
className: rootClassName$
|
|
6962
|
+
className: rootClassName$1Q + "-chart"
|
|
6949
6963
|
}, React$1.createElement("svg", {
|
|
6950
6964
|
viewBox: '0 0 100 100'
|
|
6951
6965
|
}, React$1.createElement("circle", {
|
|
@@ -6958,24 +6972,24 @@ function DoughnutSquare(props) {
|
|
|
6958
6972
|
r: '42',
|
|
6959
6973
|
strokeDashoffset: getStrokeDashOffset(val)
|
|
6960
6974
|
}))), React$1.createElement("div", {
|
|
6961
|
-
className: rootClassName$
|
|
6975
|
+
className: rootClassName$1Q + "-center-caption"
|
|
6962
6976
|
}, val + "%"), React$1.createElement("div", {
|
|
6963
|
-
className: rootClassName$
|
|
6977
|
+
className: rootClassName$1Q + "-label-bottom"
|
|
6964
6978
|
}, React$1.createElement("div", {
|
|
6965
|
-
className: rootClassName$
|
|
6979
|
+
className: rootClassName$1Q + "-text"
|
|
6966
6980
|
}, props.bottomCaption)));
|
|
6967
6981
|
}
|
|
6968
6982
|
|
|
6969
|
-
var rootClassName$
|
|
6983
|
+
var rootClassName$1R = 'component-money-by-month';
|
|
6970
6984
|
function MoneyByMonth(props) {
|
|
6971
6985
|
return /*#__PURE__*/React.createElement("div", {
|
|
6972
|
-
className: rootClassName$
|
|
6986
|
+
className: rootClassName$1R
|
|
6973
6987
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6974
|
-
className: rootClassName$
|
|
6988
|
+
className: rootClassName$1R + "-caption " + rootClassName$1R + "-caption-left"
|
|
6975
6989
|
}, props.leftCaption), /*#__PURE__*/React.createElement("div", {
|
|
6976
|
-
className: rootClassName$
|
|
6990
|
+
className: rootClassName$1R + "-caption " + rootClassName$1R + "-caption-right"
|
|
6977
6991
|
}, props.rightCaption), /*#__PURE__*/React.createElement("div", {
|
|
6978
|
-
className: rootClassName$
|
|
6992
|
+
className: rootClassName$1R + "-chart"
|
|
6979
6993
|
}, /*#__PURE__*/React.createElement(MoneyMonthLineChart, {
|
|
6980
6994
|
data: props.data,
|
|
6981
6995
|
labels: props.labels
|
|
@@ -6992,7 +7006,7 @@ MoneyByMonth.defaultProps = {
|
|
|
6992
7006
|
labels: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
|
|
6993
7007
|
};
|
|
6994
7008
|
|
|
6995
|
-
var rootClassName$
|
|
7009
|
+
var rootClassName$1S = 'component-checkbox';
|
|
6996
7010
|
function Checkbox(props) {
|
|
6997
7011
|
var fProps = useMemo(function () {
|
|
6998
7012
|
var handleClick = function handleClick(evt) {
|
|
@@ -7002,7 +7016,7 @@ function Checkbox(props) {
|
|
|
7002
7016
|
}
|
|
7003
7017
|
};
|
|
7004
7018
|
var p = _extends({}, props, {
|
|
7005
|
-
className: getMergedClassNames([rootClassName$
|
|
7019
|
+
className: getMergedClassNames([rootClassName$1S, rootClassName$1S + "-" + props.theme, rootClassName$1S + "-" + (props.value ? 'checked' : 'not')]),
|
|
7006
7020
|
'aria-disabled': props.disabled || props['aria-disabled'],
|
|
7007
7021
|
onClick: handleClick
|
|
7008
7022
|
});
|
|
@@ -7025,19 +7039,19 @@ Checkbox.defaultProps = {
|
|
|
7025
7039
|
};
|
|
7026
7040
|
var Checkbox$1 = memo(Checkbox);
|
|
7027
7041
|
|
|
7028
|
-
var rootClassName$
|
|
7042
|
+
var rootClassName$1T = 'component-col';
|
|
7029
7043
|
function Col(props) {
|
|
7030
7044
|
var p = useMemo(function () {
|
|
7031
7045
|
var cols = props.cols ? props.cols : [12, 12, 12, 12, 12];
|
|
7032
7046
|
var size = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
7033
7047
|
var getSizes = cols.map(function (n, index) {
|
|
7034
|
-
return rootClassName$
|
|
7048
|
+
return rootClassName$1T + "-" + size[index] + "-" + n;
|
|
7035
7049
|
});
|
|
7036
7050
|
var rp = _extends({}, props, {
|
|
7037
7051
|
style: _extends({}, props.style || {}, {
|
|
7038
7052
|
gap: props.gap
|
|
7039
7053
|
}),
|
|
7040
|
-
className: getMergedClassNames([props.className, rootClassName$
|
|
7054
|
+
className: getMergedClassNames([props.className, rootClassName$1T].concat(getSizes, [props.centralized ? 'centralized' : '', props.end ? 'end' : '', props.noPadding ? 'no-padding' : '', props.noPaddingTop ? 'no-padding-top' : '', props.buttonActionsCol ? 'button-actions-col' : '']))
|
|
7041
7055
|
});
|
|
7042
7056
|
delete rp.noPadding;
|
|
7043
7057
|
delete rp.centralized;
|
|
@@ -7058,13 +7072,13 @@ Col.defaultProps = {
|
|
|
7058
7072
|
};
|
|
7059
7073
|
var Col$1 = memo(Col);
|
|
7060
7074
|
|
|
7061
|
-
var rootClassName$
|
|
7075
|
+
var rootClassName$1U = 'component-control-label';
|
|
7062
7076
|
var keysToExclude = ['control', 'controlProps', 'labelPosition', 'labelGap', 'label'];
|
|
7063
7077
|
function ControlLabel(props) {
|
|
7064
7078
|
var _props$control$props;
|
|
7065
7079
|
var ref = useRef();
|
|
7066
7080
|
return React$1.createElement("label", Object.assign({
|
|
7067
|
-
className: getMergedClassNames([rootClassName$
|
|
7081
|
+
className: getMergedClassNames([rootClassName$1U, props.labelPosition ? props.labelPosition : '', (_props$control$props = props.control.props) !== null && _props$control$props !== void 0 && _props$control$props.disabled ? 'disabled' : '']),
|
|
7068
7082
|
ref: ref,
|
|
7069
7083
|
style: props.labelGap ? {
|
|
7070
7084
|
gap: props.labelGap + "px"
|
|
@@ -7075,11 +7089,11 @@ function ControlLabel(props) {
|
|
|
7075
7089
|
}
|
|
7076
7090
|
var ControlLabel$1 = memo(ControlLabel);
|
|
7077
7091
|
|
|
7078
|
-
var rootClassName$
|
|
7092
|
+
var rootClassName$1V = 'component-container';
|
|
7079
7093
|
function Container(props) {
|
|
7080
7094
|
var getProps = function getProps() {
|
|
7081
7095
|
var p = _extends({}, props, {
|
|
7082
|
-
className: getMergedClassNames([rootClassName$
|
|
7096
|
+
className: getMergedClassNames([rootClassName$1V, props.className, props.fluid ? 'fluid' : '', props.verticalPadding ? 'vertical-padding' : '', props.hasMobileButton ? 'has-mobile-button' : '', props.hasHeader ? 'has-header' : '', props.hasAdvancedHeader ? 'has-advanced-header' : '']),
|
|
7083
7097
|
style: _extends({}, props.style, {
|
|
7084
7098
|
position: props.position
|
|
7085
7099
|
})
|
|
@@ -7093,7 +7107,7 @@ function Container(props) {
|
|
|
7093
7107
|
return p;
|
|
7094
7108
|
};
|
|
7095
7109
|
return React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
7096
|
-
className: rootClassName$
|
|
7110
|
+
className: rootClassName$1V + "-insider"
|
|
7097
7111
|
}, props.children));
|
|
7098
7112
|
}
|
|
7099
7113
|
Container.defaultProps = {
|
|
@@ -7198,7 +7212,7 @@ var stringToReactElement = function stringToReactElement(str, props) {
|
|
|
7198
7212
|
return el;
|
|
7199
7213
|
};
|
|
7200
7214
|
|
|
7201
|
-
var rootClassName$
|
|
7215
|
+
var rootClassName$1W = 'component-date-picker-calendar';
|
|
7202
7216
|
function DatePickerCalendar(props) {
|
|
7203
7217
|
var _useState = useState(new Date()),
|
|
7204
7218
|
today = _useState[0];
|
|
@@ -7224,14 +7238,14 @@ function DatePickerCalendar(props) {
|
|
|
7224
7238
|
monthPage = _useState4[0],
|
|
7225
7239
|
setMonthPage = _useState4[1];
|
|
7226
7240
|
return React$1.createElement("div", {
|
|
7227
|
-
className: rootClassName$
|
|
7241
|
+
className: rootClassName$1W
|
|
7228
7242
|
}, React$1.createElement(CSSTransition, {
|
|
7229
7243
|
"in": monthPage,
|
|
7230
|
-
classNames: rootClassName$
|
|
7244
|
+
classNames: rootClassName$1W + "-month-picker",
|
|
7231
7245
|
timeout: 300,
|
|
7232
7246
|
unmountOnExit: true
|
|
7233
7247
|
}, React$1.createElement("div", {
|
|
7234
|
-
className: rootClassName$
|
|
7248
|
+
className: rootClassName$1W + "-month-picker"
|
|
7235
7249
|
}, React$1.createElement("div", {
|
|
7236
7250
|
className: 'header'
|
|
7237
7251
|
}, React$1.createElement("button", {
|
|
@@ -7248,7 +7262,7 @@ function DatePickerCalendar(props) {
|
|
|
7248
7262
|
setYear(year + 1);
|
|
7249
7263
|
}
|
|
7250
7264
|
}, React$1.createElement(ChevronArrowRightIcon, null))), React$1.createElement("div", {
|
|
7251
|
-
className: rootClassName$
|
|
7265
|
+
className: rootClassName$1W + "-months"
|
|
7252
7266
|
}, props.language.monthsAbrev.map(function (mes, index) {
|
|
7253
7267
|
return React$1.createElement("button", {
|
|
7254
7268
|
key: index,
|
|
@@ -7256,14 +7270,14 @@ function DatePickerCalendar(props) {
|
|
|
7256
7270
|
setMonth(index);
|
|
7257
7271
|
setMonthPage(false);
|
|
7258
7272
|
},
|
|
7259
|
-
className: getMergedClassNames([rootClassName$
|
|
7273
|
+
className: getMergedClassNames([rootClassName$1W + "-month", index === month ? 'selected' : ''])
|
|
7260
7274
|
}, mes);
|
|
7261
7275
|
})))), React$1.createElement(CSSTransition, {
|
|
7262
7276
|
"in": !monthPage,
|
|
7263
7277
|
timeout: 300,
|
|
7264
|
-
classNames: rootClassName$
|
|
7278
|
+
classNames: rootClassName$1W + "-bottom-page"
|
|
7265
7279
|
}, React$1.createElement("div", {
|
|
7266
|
-
className: rootClassName$
|
|
7280
|
+
className: rootClassName$1W + "-first-page"
|
|
7267
7281
|
}, React$1.createElement("div", {
|
|
7268
7282
|
className: 'header'
|
|
7269
7283
|
}, React$1.createElement("button", {
|
|
@@ -7316,7 +7330,7 @@ function DatePickerCalendar(props) {
|
|
|
7316
7330
|
}
|
|
7317
7331
|
var DatePickerCalendar$1 = memo(DatePickerCalendar);
|
|
7318
7332
|
|
|
7319
|
-
var rootClassName$
|
|
7333
|
+
var rootClassName$1X = 'component-date-picker';
|
|
7320
7334
|
function DatePicker(props) {
|
|
7321
7335
|
var id = useMemo(function () {
|
|
7322
7336
|
return "picker_" + getUniqueKey();
|
|
@@ -7326,7 +7340,7 @@ function DatePicker(props) {
|
|
|
7326
7340
|
setOpened = _useState[1];
|
|
7327
7341
|
useEffect(function () {
|
|
7328
7342
|
var func = function func(evt) {
|
|
7329
|
-
if (document.querySelector("#" + id + "." + rootClassName$
|
|
7343
|
+
if (document.querySelector("#" + id + "." + rootClassName$1X + "-panel." + rootClassName$1X + "-panel-enter-done") && !evt.composedPath().includes(document.querySelector("#" + id))) {
|
|
7330
7344
|
setOpened(false);
|
|
7331
7345
|
}
|
|
7332
7346
|
};
|
|
@@ -7362,7 +7376,7 @@ function DatePicker(props) {
|
|
|
7362
7376
|
}
|
|
7363
7377
|
var position = function position() {
|
|
7364
7378
|
var element = document.querySelector(props.queryToAppend);
|
|
7365
|
-
var panel = document.querySelector("#" + id + "." + rootClassName$
|
|
7379
|
+
var panel = document.querySelector("#" + id + "." + rootClassName$1X + "-panel");
|
|
7366
7380
|
if (!element || !panel) return;
|
|
7367
7381
|
var elementBound = element.getBoundingClientRect();
|
|
7368
7382
|
var windowHeight = parseFloat(String(window.innerHeight));
|
|
@@ -7409,10 +7423,10 @@ function DatePicker(props) {
|
|
|
7409
7423
|
vd();
|
|
7410
7424
|
}, [props.initialValue]);
|
|
7411
7425
|
return React$1.createElement("div", {
|
|
7412
|
-
className: rootClassName$
|
|
7426
|
+
className: rootClassName$1X
|
|
7413
7427
|
}, props.initialValue ? React$1.createElement(IconButton$1, {
|
|
7414
7428
|
disabled: props.disabled,
|
|
7415
|
-
className: rootClassName$
|
|
7429
|
+
className: rootClassName$1X + "-clear-button",
|
|
7416
7430
|
icon: React$1.createElement(CloseIcon, null),
|
|
7417
7431
|
onClick: function onClick() {
|
|
7418
7432
|
if (typeof props.onChange === 'function') {
|
|
@@ -7428,11 +7442,11 @@ function DatePicker(props) {
|
|
|
7428
7442
|
}), React$1.createElement(CSSTransition, {
|
|
7429
7443
|
"in": opened,
|
|
7430
7444
|
timeout: 300,
|
|
7431
|
-
classNames: rootClassName$
|
|
7445
|
+
classNames: rootClassName$1X + "-panel",
|
|
7432
7446
|
unmountOnExit: true
|
|
7433
7447
|
}, React$1.createElement("div", {
|
|
7434
7448
|
id: id,
|
|
7435
|
-
className: rootClassName$
|
|
7449
|
+
className: rootClassName$1X + "-panel"
|
|
7436
7450
|
}, React$1.createElement(DatePickerCalendar$1, {
|
|
7437
7451
|
language: props.language,
|
|
7438
7452
|
disabled: props.disabled,
|
|
@@ -7460,7 +7474,7 @@ DatePicker.defaultProps = {
|
|
|
7460
7474
|
};
|
|
7461
7475
|
var DatePicker$1 = memo(DatePicker);
|
|
7462
7476
|
|
|
7463
|
-
var rootClassName$
|
|
7477
|
+
var rootClassName$1Y = 'component-doughnut';
|
|
7464
7478
|
function Doughnut(props) {
|
|
7465
7479
|
var _useProgressiveCount = useProgressiveCount(0),
|
|
7466
7480
|
val = _useProgressiveCount[0],
|
|
@@ -7472,9 +7486,9 @@ function Doughnut(props) {
|
|
|
7472
7486
|
setVal(parseInt(String(props.value)));
|
|
7473
7487
|
}, [props.value]);
|
|
7474
7488
|
return React$1.createElement("div", {
|
|
7475
|
-
className: rootClassName$
|
|
7489
|
+
className: rootClassName$1Y
|
|
7476
7490
|
}, React$1.createElement("div", {
|
|
7477
|
-
className: getMergedClassNames([rootClassName$
|
|
7491
|
+
className: getMergedClassNames([rootClassName$1Y + "-chart", props.red ? 'red' : ''])
|
|
7478
7492
|
}, React$1.createElement("svg", {
|
|
7479
7493
|
viewBox: '0 0 100 100'
|
|
7480
7494
|
}, React$1.createElement("circle", {
|
|
@@ -7487,7 +7501,7 @@ function Doughnut(props) {
|
|
|
7487
7501
|
r: '42',
|
|
7488
7502
|
strokeDashoffset: getStrokeDashOffset(val)
|
|
7489
7503
|
}))), props.showLabel ? React$1.createElement("div", {
|
|
7490
|
-
className: rootClassName$
|
|
7504
|
+
className: rootClassName$1Y + "-label nunito"
|
|
7491
7505
|
}, val + "%") : undefined);
|
|
7492
7506
|
}
|
|
7493
7507
|
Doughnut.defaultProps = {
|
|
@@ -7495,10 +7509,10 @@ Doughnut.defaultProps = {
|
|
|
7495
7509
|
};
|
|
7496
7510
|
var Doughnut$1 = memo(Doughnut);
|
|
7497
7511
|
|
|
7498
|
-
var rootClassName$
|
|
7512
|
+
var rootClassName$1Z = 'component-dropdown-item';
|
|
7499
7513
|
function DropdownItem(props) {
|
|
7500
7514
|
var classNames = useMemo(function () {
|
|
7501
|
-
return getMergedClassNames([rootClassName$
|
|
7515
|
+
return getMergedClassNames([rootClassName$1Z, props.alignRight ? 'right' : '', props.loading ? 'loading' : '']);
|
|
7502
7516
|
}, [props.alignRight, props.loading]);
|
|
7503
7517
|
return React$1.createElement("button", {
|
|
7504
7518
|
id: props.id,
|
|
@@ -7511,57 +7525,72 @@ function DropdownItem(props) {
|
|
|
7511
7525
|
}
|
|
7512
7526
|
}
|
|
7513
7527
|
}, React$1.createElement("div", {
|
|
7514
|
-
className: rootClassName$
|
|
7528
|
+
className: rootClassName$1Z + "-content"
|
|
7515
7529
|
}, React$1.createElement(CSSTransition, {
|
|
7516
7530
|
"in": props.loading,
|
|
7517
7531
|
timeout: 300,
|
|
7518
7532
|
unmountOnExit: true,
|
|
7519
|
-
classNames: rootClassName$
|
|
7533
|
+
classNames: rootClassName$1Z + "-fade"
|
|
7520
7534
|
}, React$1.createElement("div", {
|
|
7521
|
-
className: rootClassName$
|
|
7535
|
+
className: rootClassName$1Z + "-loader"
|
|
7522
7536
|
}, React$1.createElement(PercentLoaderIcon, {
|
|
7523
7537
|
indefinido: true
|
|
7524
7538
|
}))), props.icon ? React$1.createElement("div", {
|
|
7525
|
-
className: rootClassName$
|
|
7539
|
+
className: rootClassName$1Z + "-icon"
|
|
7526
7540
|
}, props.icon) : undefined, React$1.createElement("div", {
|
|
7527
|
-
className: rootClassName$
|
|
7541
|
+
className: rootClassName$1Z + "-label"
|
|
7528
7542
|
}, props.label)));
|
|
7529
7543
|
}
|
|
7530
7544
|
var DropdownItem$1 = memo(DropdownItem);
|
|
7531
7545
|
|
|
7532
|
-
function useOutsideClick(refs, handler) {
|
|
7546
|
+
function useOutsideClick(refs, handler, options) {
|
|
7547
|
+
var _options3;
|
|
7548
|
+
if (options === void 0) {
|
|
7549
|
+
options = {
|
|
7550
|
+
events: ['mouseup', 'touchstart']
|
|
7551
|
+
};
|
|
7552
|
+
}
|
|
7533
7553
|
var handleClickOutside = useCallback(function (e) {
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
handler(isInside);
|
|
7539
|
-
} else {
|
|
7540
|
-
var _isInside = Array.isArray(refs) && refs.some(function (element) {
|
|
7541
|
-
return !!element && !!element.current && element.current.contains(e.target);
|
|
7542
|
-
});
|
|
7543
|
-
handler(_isInside);
|
|
7544
|
-
}
|
|
7554
|
+
var isInside = refs.some(function (r) {
|
|
7555
|
+
return (r === null || r === void 0 ? void 0 : r.current) && r.current.contains(e.target);
|
|
7556
|
+
});
|
|
7557
|
+
handler(isInside);
|
|
7545
7558
|
}, [handler, refs]);
|
|
7546
7559
|
useEffect(function () {
|
|
7547
|
-
|
|
7548
|
-
|
|
7560
|
+
var _options;
|
|
7561
|
+
(_options = options) === null || _options === void 0 ? void 0 : _options.events.forEach(function (evt) {
|
|
7562
|
+
document.addEventListener(evt, handleClickOutside);
|
|
7563
|
+
});
|
|
7549
7564
|
return function () {
|
|
7550
|
-
|
|
7551
|
-
|
|
7565
|
+
var _options2;
|
|
7566
|
+
(_options2 = options) === null || _options2 === void 0 ? void 0 : _options2.events.forEach(function (evt) {
|
|
7567
|
+
document.removeEventListener(evt, handleClickOutside);
|
|
7568
|
+
});
|
|
7552
7569
|
};
|
|
7553
|
-
}, [refs, handler, handleClickOutside]);
|
|
7554
|
-
}
|
|
7555
|
-
|
|
7556
|
-
var
|
|
7557
|
-
|
|
7570
|
+
}, [refs, handler, handleClickOutside, (_options3 = options) === null || _options3 === void 0 ? void 0 : _options3.events]);
|
|
7571
|
+
}
|
|
7572
|
+
|
|
7573
|
+
var _excluded = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps"];
|
|
7574
|
+
var rootClassName$1_ = 'component-dropdown-menu';
|
|
7575
|
+
function DropdownMenu(_ref) {
|
|
7576
|
+
var _panelProps$className;
|
|
7577
|
+
var opened = _ref.opened,
|
|
7578
|
+
setOpened = _ref.setOpened,
|
|
7579
|
+
content = _ref.content,
|
|
7580
|
+
closeOnEsc = _ref.closeOnEsc,
|
|
7581
|
+
closeOnOutClick = _ref.closeOnOutClick,
|
|
7582
|
+
children = _ref.children,
|
|
7583
|
+
_ref$panelProps = _ref.panelProps,
|
|
7584
|
+
panelProps = _ref$panelProps === void 0 ? {} : _ref$panelProps,
|
|
7585
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
7558
7586
|
var id = useMemo(function () {
|
|
7559
7587
|
return props.id ? props.id : getUniqueKey();
|
|
7560
7588
|
}, [props.id]);
|
|
7561
7589
|
var _useState = useState(null),
|
|
7562
7590
|
inter = _useState[0],
|
|
7563
7591
|
setInter = _useState[1];
|
|
7564
|
-
var
|
|
7592
|
+
var wrapperRef = createRef();
|
|
7593
|
+
var panelRef = createRef();
|
|
7565
7594
|
var interRef = useRef(inter);
|
|
7566
7595
|
interRef.current = inter;
|
|
7567
7596
|
useEffect(function () {
|
|
@@ -7571,9 +7600,9 @@ function DropdownMenu(props) {
|
|
|
7571
7600
|
setInter(null);
|
|
7572
7601
|
}
|
|
7573
7602
|
var position = function position() {
|
|
7574
|
-
var painel = document.querySelector("#" + id + " ." + rootClassName$
|
|
7603
|
+
var painel = document.querySelector("#" + id + " ." + rootClassName$1_ + "-panel");
|
|
7575
7604
|
if (!painel) return;
|
|
7576
|
-
var trigger = document.querySelector("#" + id + " ." + rootClassName$
|
|
7605
|
+
var trigger = document.querySelector("#" + id + " ." + rootClassName$1_ + "-children > *");
|
|
7577
7606
|
var bound = trigger.getBoundingClientRect();
|
|
7578
7607
|
var pontoCentralX = bound.x + bound.width / 2;
|
|
7579
7608
|
var pontoCentralY = bound.y + bound.height / 2;
|
|
@@ -7595,7 +7624,7 @@ function DropdownMenu(props) {
|
|
|
7595
7624
|
}
|
|
7596
7625
|
}
|
|
7597
7626
|
};
|
|
7598
|
-
if (
|
|
7627
|
+
if (opened) {
|
|
7599
7628
|
position();
|
|
7600
7629
|
var _inter = setInterval(position, 100);
|
|
7601
7630
|
setInter(_inter);
|
|
@@ -7606,20 +7635,20 @@ function DropdownMenu(props) {
|
|
|
7606
7635
|
setInter(null);
|
|
7607
7636
|
}
|
|
7608
7637
|
};
|
|
7609
|
-
}, [
|
|
7610
|
-
useOutsideClick([
|
|
7611
|
-
if (
|
|
7612
|
-
|
|
7638
|
+
}, [opened]);
|
|
7639
|
+
useOutsideClick([wrapperRef], function (isInside) {
|
|
7640
|
+
if (closeOnOutClick && !isInside) {
|
|
7641
|
+
setOpened(false);
|
|
7613
7642
|
}
|
|
7614
7643
|
});
|
|
7615
7644
|
useEffect(function () {
|
|
7616
7645
|
var onEscPress = function onEscPress(evt) {
|
|
7617
7646
|
if (evt.key === 'Escape') {
|
|
7618
|
-
|
|
7647
|
+
setOpened(false);
|
|
7619
7648
|
}
|
|
7620
7649
|
};
|
|
7621
|
-
if (
|
|
7622
|
-
if (
|
|
7650
|
+
if (closeOnEsc) {
|
|
7651
|
+
if (opened) {
|
|
7623
7652
|
document.addEventListener('keyup', onEscPress);
|
|
7624
7653
|
} else {
|
|
7625
7654
|
document.removeEventListener('keyup', onEscPress);
|
|
@@ -7628,37 +7657,30 @@ function DropdownMenu(props) {
|
|
|
7628
7657
|
return function () {
|
|
7629
7658
|
document.removeEventListener('keyup', onEscPress);
|
|
7630
7659
|
};
|
|
7631
|
-
}, [
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
delete p.closeOnOutClick;
|
|
7641
|
-
delete p.closeOnEsc;
|
|
7642
|
-
return p;
|
|
7643
|
-
};
|
|
7644
|
-
return React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
7645
|
-
className: rootClassName$1Z + "-children"
|
|
7646
|
-
}, props.children), React$1.createElement(CSSTransition, {
|
|
7647
|
-
"in": props.opened,
|
|
7660
|
+
}, [opened]);
|
|
7661
|
+
return React$1.createElement("div", Object.assign({}, props, {
|
|
7662
|
+
ref: wrapperRef,
|
|
7663
|
+
id: id,
|
|
7664
|
+
className: [rootClassName$1_, props.className || ''].join(' ')
|
|
7665
|
+
}), React$1.createElement("div", {
|
|
7666
|
+
className: rootClassName$1_ + "-children"
|
|
7667
|
+
}, children), React$1.createElement(CSSTransition, {
|
|
7668
|
+
"in": opened,
|
|
7648
7669
|
timeout: 300,
|
|
7649
|
-
classNames: rootClassName$
|
|
7670
|
+
classNames: rootClassName$1_ + "-panel-fade",
|
|
7650
7671
|
unmountOnExit: true
|
|
7651
|
-
}, React$1.createElement("div", {
|
|
7652
|
-
ref: panelRef
|
|
7653
|
-
|
|
7654
|
-
|
|
7672
|
+
}, React$1.createElement("div", Object.assign({
|
|
7673
|
+
ref: panelRef
|
|
7674
|
+
}, panelProps, {
|
|
7675
|
+
className: [rootClassName$1_ + "-panel scroll-white", (_panelProps$className = panelProps === null || panelProps === void 0 ? void 0 : panelProps.className) != null ? _panelProps$className : ''].join(' ')
|
|
7676
|
+
}), content)));
|
|
7655
7677
|
}
|
|
7656
7678
|
DropdownMenu.defaultProps = {
|
|
7657
7679
|
closeOnOutClick: true,
|
|
7658
7680
|
closeOnEsc: true
|
|
7659
7681
|
};
|
|
7660
7682
|
|
|
7661
|
-
var rootClassName$
|
|
7683
|
+
var rootClassName$1$ = 'floating-panel';
|
|
7662
7684
|
function FloatingPanel(props) {
|
|
7663
7685
|
var id = useMemo(getUniqueKey, []);
|
|
7664
7686
|
var onClick = useCallback(function (evt) {
|
|
@@ -7680,7 +7702,7 @@ function FloatingPanel(props) {
|
|
|
7680
7702
|
var wrapper = document.getElementById(id);
|
|
7681
7703
|
if (!wrapper) return;
|
|
7682
7704
|
var computedStyle = wrapper.getBoundingClientRect();
|
|
7683
|
-
var panel = document.querySelector("#" + id + " ." + rootClassName$
|
|
7705
|
+
var panel = document.querySelector("#" + id + " ." + rootClassName$1$);
|
|
7684
7706
|
if (!panel) return;
|
|
7685
7707
|
panel.style.top = computedStyle.top + computedStyle.height + "px";
|
|
7686
7708
|
panel.style.left = computedStyle.left + "px";
|
|
@@ -7688,7 +7710,7 @@ function FloatingPanel(props) {
|
|
|
7688
7710
|
var updateSize = useCallback(function () {
|
|
7689
7711
|
var _document$getElementB;
|
|
7690
7712
|
var anchor = (_document$getElementB = document.getElementById(id)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.parentElement;
|
|
7691
|
-
var panel = document.querySelector("#" + id + " ." + rootClassName$
|
|
7713
|
+
var panel = document.querySelector("#" + id + " ." + rootClassName$1$);
|
|
7692
7714
|
if (!panel || !anchor) return;
|
|
7693
7715
|
var computedStyle = window.getComputedStyle(anchor);
|
|
7694
7716
|
panel.style.width = computedStyle.width;
|
|
@@ -7736,17 +7758,17 @@ function FloatingPanel(props) {
|
|
|
7736
7758
|
}, [props.opened]);
|
|
7737
7759
|
return React$1.createElement("div", {
|
|
7738
7760
|
id: id,
|
|
7739
|
-
className: rootClassName$
|
|
7761
|
+
className: rootClassName$1$ + "-wrapper",
|
|
7740
7762
|
style: {
|
|
7741
7763
|
bottom: props.bottom
|
|
7742
7764
|
}
|
|
7743
7765
|
}, React$1.createElement(CSSTransition, {
|
|
7744
7766
|
"in": props.opened,
|
|
7745
|
-
classNames: rootClassName$
|
|
7767
|
+
classNames: rootClassName$1$,
|
|
7746
7768
|
timeout: 300,
|
|
7747
7769
|
unmountOnExit: true
|
|
7748
7770
|
}, React$1.createElement("div", {
|
|
7749
|
-
className: useMergedClassNames([rootClassName$
|
|
7771
|
+
className: useMergedClassNames([rootClassName$1$, props.className, props.boxShadow ? 'shadow' : '', props.radiusStyle])
|
|
7750
7772
|
}, props.children)));
|
|
7751
7773
|
}
|
|
7752
7774
|
FloatingPanel.defaultProps = {
|
|
@@ -7755,7 +7777,7 @@ FloatingPanel.defaultProps = {
|
|
|
7755
7777
|
};
|
|
7756
7778
|
var FloatingPanel$1 = memo(FloatingPanel);
|
|
7757
7779
|
|
|
7758
|
-
var rootClassName$
|
|
7780
|
+
var rootClassName$20 = 'dropdown-selector';
|
|
7759
7781
|
function DropdownSelector(props) {
|
|
7760
7782
|
var _useState = useState(false),
|
|
7761
7783
|
opened = _useState[0],
|
|
@@ -7780,25 +7802,25 @@ function DropdownSelector(props) {
|
|
|
7780
7802
|
}));
|
|
7781
7803
|
}, [props]);
|
|
7782
7804
|
return React$1.createElement("div", {
|
|
7783
|
-
className: useMergedClassNames([rootClassName$
|
|
7805
|
+
className: useMergedClassNames([rootClassName$20 + "-wrapper", props.w100 ? 'w-100' : '', opened ? 'opened' : ''])
|
|
7784
7806
|
}, React$1.createElement("button", {
|
|
7785
|
-
className: useMergedClassNames([rootClassName$
|
|
7807
|
+
className: useMergedClassNames([rootClassName$20, props.w100 ? 'w-100' : '', opened ? 'opened' : '']),
|
|
7786
7808
|
onClick: function onClick() {
|
|
7787
7809
|
setOpened(!opened);
|
|
7788
7810
|
}
|
|
7789
7811
|
}, React$1.createElement("div", {
|
|
7790
|
-
className: rootClassName$
|
|
7812
|
+
className: rootClassName$20 + "-label nunito"
|
|
7791
7813
|
}, label), React$1.createElement("div", {
|
|
7792
|
-
className: useMergedClassNames([rootClassName$
|
|
7814
|
+
className: useMergedClassNames([rootClassName$20 + "-icon", opened ? 'opened' : ''])
|
|
7793
7815
|
}, React$1.createElement(ChevronArrowDownIcon, null))), React$1.createElement(FloatingPanel$1, {
|
|
7794
7816
|
opened: opened,
|
|
7795
7817
|
setOpened: setOpened,
|
|
7796
|
-
className: rootClassName$
|
|
7818
|
+
className: rootClassName$20 + "-menu"
|
|
7797
7819
|
}, options));
|
|
7798
7820
|
}
|
|
7799
7821
|
var DropdownSelector$1 = memo(DropdownSelector);
|
|
7800
7822
|
|
|
7801
|
-
var rootClassName$
|
|
7823
|
+
var rootClassName$21 = 'component-etapas';
|
|
7802
7824
|
function Etapas(props) {
|
|
7803
7825
|
var _useState = useState(props.id || getUniqueKey()),
|
|
7804
7826
|
id = _useState[0];
|
|
@@ -7846,17 +7868,17 @@ function Etapas(props) {
|
|
|
7846
7868
|
}, []);
|
|
7847
7869
|
useEffect(function () {
|
|
7848
7870
|
var larguras = [];
|
|
7849
|
-
document.querySelectorAll("#" + id + " ." + rootClassName$
|
|
7871
|
+
document.querySelectorAll("#" + id + " ." + rootClassName$21 + "-etapa").forEach(function (etapa) {
|
|
7850
7872
|
larguras.push(parseInt(window.getComputedStyle(etapa).width));
|
|
7851
7873
|
});
|
|
7852
7874
|
var maior = Math.max.apply(Math, larguras);
|
|
7853
|
-
document.querySelectorAll("#" + id + " ." + rootClassName$
|
|
7875
|
+
document.querySelectorAll("#" + id + " ." + rootClassName$21 + "-etapa").forEach(function (etapa) {
|
|
7854
7876
|
etapa.style.width = maior + "px";
|
|
7855
7877
|
});
|
|
7856
7878
|
});
|
|
7857
7879
|
useEffect(function () {
|
|
7858
7880
|
var outerComponent = document.querySelector("#" + id);
|
|
7859
|
-
var atual = document.querySelector("#" + id + " ." + rootClassName$
|
|
7881
|
+
var atual = document.querySelector("#" + id + " ." + rootClassName$21 + "-etapa.atual");
|
|
7860
7882
|
if (props.scrollOnChange && outerComponent && atual) {
|
|
7861
7883
|
atual.scrollIntoView({
|
|
7862
7884
|
behavior: 'smooth',
|
|
@@ -7866,13 +7888,13 @@ function Etapas(props) {
|
|
|
7866
7888
|
}
|
|
7867
7889
|
}, [props.atual]);
|
|
7868
7890
|
return React$1.createElement("div", {
|
|
7869
|
-
className: rootClassName$
|
|
7891
|
+
className: rootClassName$21,
|
|
7870
7892
|
id: id
|
|
7871
7893
|
}, React$1.createElement("div", {
|
|
7872
|
-
className: rootClassName$
|
|
7894
|
+
className: rootClassName$21 + "-etapas"
|
|
7873
7895
|
}, props.etapas && props.etapas.length ? props.etapas.map(function (etapa, index) {
|
|
7874
7896
|
var p = _extends({}, etapa, {
|
|
7875
|
-
className: getMergedClassNames([rootClassName$
|
|
7897
|
+
className: getMergedClassNames([rootClassName$21 + "-etapa", props.atual === index ? 'atual' : '', etapa.error ? 'error' : '', etapa.completed ? 'completed' : '', etapa.disabled ? 'disabled' : ''])
|
|
7876
7898
|
});
|
|
7877
7899
|
delete p.disabled;
|
|
7878
7900
|
delete p.icon;
|
|
@@ -7888,18 +7910,18 @@ function Etapas(props) {
|
|
|
7888
7910
|
}
|
|
7889
7911
|
}), React$1.createElement("div", {
|
|
7890
7912
|
id: etapa.id || undefined,
|
|
7891
|
-
className: getMergedClassNames([rootClassName$
|
|
7913
|
+
className: getMergedClassNames([rootClassName$21 + "-icon", etapa.completed ? 'completed' : '', etapa.error ? 'error' : '', etapa.notification ? 'notification' : ''])
|
|
7892
7914
|
}, etapa.icon), React$1.createElement("div", {
|
|
7893
|
-
className: getMergedClassNames([rootClassName$
|
|
7915
|
+
className: getMergedClassNames([rootClassName$21 + "-label", 'nunito', etapa.error ? 'error' : '', etapa.completed ? 'completed' : '', props.hideNotActualLabel ? 'hide' : ''])
|
|
7894
7916
|
}, React$1.createElement(CSSTransition, {
|
|
7895
7917
|
"in": etapa.error,
|
|
7896
7918
|
timeout: 300,
|
|
7897
|
-
classNames: rootClassName$
|
|
7919
|
+
classNames: rootClassName$21 + "-appear",
|
|
7898
7920
|
unmountOnExit: true
|
|
7899
7921
|
}, React$1.createElement(ExclamationIcon, null)), React$1.createElement(CSSTransition, {
|
|
7900
7922
|
"in": etapa.completed,
|
|
7901
7923
|
timeout: 300,
|
|
7902
|
-
classNames: rootClassName$
|
|
7924
|
+
classNames: rootClassName$21 + "-appear",
|
|
7903
7925
|
unmountOnExit: true
|
|
7904
7926
|
}, React$1.createElement(CheckCircleIcon, null)), etapa.name));
|
|
7905
7927
|
}) : undefined));
|
|
@@ -7929,25 +7951,25 @@ var EtiquetasStyle;
|
|
|
7929
7951
|
EtiquetasStyle["Yellow"] = "yellow";
|
|
7930
7952
|
})(EtiquetasStyle || (EtiquetasStyle = {}));
|
|
7931
7953
|
|
|
7932
|
-
var rootClassName$
|
|
7954
|
+
var rootClassName$22 = 'component-etiqueta';
|
|
7933
7955
|
function Etiqueta(props) {
|
|
7934
7956
|
return React$1.createElement("div", {
|
|
7935
|
-
className: getMergedClassNames([rootClassName$
|
|
7957
|
+
className: getMergedClassNames([rootClassName$22, props.theme, props.fitContent ? 'fit-content' : undefined])
|
|
7936
7958
|
}, props.icon ? React$1.createElement("div", {
|
|
7937
|
-
className: rootClassName$
|
|
7959
|
+
className: rootClassName$22 + "-icon"
|
|
7938
7960
|
}, props.icon) : undefined, React$1.createElement("div", {
|
|
7939
|
-
className: rootClassName$
|
|
7961
|
+
className: rootClassName$22 + "-text"
|
|
7940
7962
|
}, props.label));
|
|
7941
7963
|
}
|
|
7942
7964
|
Etiqueta.defaultProps = {
|
|
7943
7965
|
theme: EtiquetasStyle.Programas
|
|
7944
7966
|
};
|
|
7945
7967
|
|
|
7946
|
-
var rootClassName$
|
|
7968
|
+
var rootClassName$23 = 'component-file-loader';
|
|
7947
7969
|
function FileLoader(props) {
|
|
7948
7970
|
var getProps = function getProps() {
|
|
7949
7971
|
var p = _extends({}, props, {
|
|
7950
|
-
className: getMergedClassNames([props.className || '', rootClassName$
|
|
7972
|
+
className: getMergedClassNames([props.className || '', rootClassName$23])
|
|
7951
7973
|
});
|
|
7952
7974
|
delete p.percent;
|
|
7953
7975
|
delete p.totalSize;
|
|
@@ -7967,24 +7989,24 @@ function FileLoader(props) {
|
|
|
7967
7989
|
return percent;
|
|
7968
7990
|
};
|
|
7969
7991
|
return React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
7970
|
-
className: rootClassName$
|
|
7992
|
+
className: rootClassName$23 + "-percent-line"
|
|
7971
7993
|
}, languageValues.components.fileLoader.carregando + ":", ' ', React$1.createElement("span", {
|
|
7972
|
-
className: rootClassName$
|
|
7994
|
+
className: rootClassName$23 + "-downloaded-percent"
|
|
7973
7995
|
}, getPercent(), "%")), React$1.createElement("div", {
|
|
7974
|
-
className: rootClassName$
|
|
7996
|
+
className: rootClassName$23 + "-loader-bar"
|
|
7975
7997
|
}, React$1.createElement("div", {
|
|
7976
|
-
className: rootClassName$
|
|
7998
|
+
className: rootClassName$23 + "-loader-progress",
|
|
7977
7999
|
style: {
|
|
7978
8000
|
width: getPercent() + "%"
|
|
7979
8001
|
}
|
|
7980
8002
|
})), props.totalSize && React$1.createElement("div", {
|
|
7981
|
-
className: rootClassName$
|
|
8003
|
+
className: rootClassName$23 + "-progress-info"
|
|
7982
8004
|
}, React$1.createElement("div", {
|
|
7983
|
-
className: rootClassName$
|
|
8005
|
+
className: rootClassName$23 + "-downloaded-size"
|
|
7984
8006
|
}, getSizeDownloaded()), React$1.createElement("div", {
|
|
7985
|
-
className: rootClassName$
|
|
8007
|
+
className: rootClassName$23 + "-bar"
|
|
7986
8008
|
}, "/"), React$1.createElement("div", {
|
|
7987
|
-
className: rootClassName$
|
|
8009
|
+
className: rootClassName$23 + "-total-size"
|
|
7988
8010
|
}, props.totalSize)));
|
|
7989
8011
|
}
|
|
7990
8012
|
FileLoader.defaultProps = {
|
|
@@ -7992,20 +8014,20 @@ FileLoader.defaultProps = {
|
|
|
7992
8014
|
percent: 0
|
|
7993
8015
|
};
|
|
7994
8016
|
|
|
7995
|
-
var rootClassName$
|
|
8017
|
+
var rootClassName$24 = 'component-file-upload';
|
|
7996
8018
|
var DRAG_ENTER_CLASS_NAME = 'drag-enter';
|
|
7997
8019
|
var DRAG_ENTER_DISABLED_CLASS_NAME = 'drag-disabled';
|
|
7998
8020
|
function FileUpload(props) {
|
|
7999
8021
|
var _useState = useState(getUniqueKey()),
|
|
8000
8022
|
id = _useState[0];
|
|
8001
8023
|
var addClass = function addClass(className) {
|
|
8002
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
8024
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$24 + "-droppable");
|
|
8003
8025
|
if (el) {
|
|
8004
8026
|
el.classList.add(className);
|
|
8005
8027
|
}
|
|
8006
8028
|
};
|
|
8007
8029
|
var removeClass = function removeClass(className) {
|
|
8008
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
8030
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$24 + "-droppable");
|
|
8009
8031
|
if (el) {
|
|
8010
8032
|
el.classList.remove(className);
|
|
8011
8033
|
}
|
|
@@ -8045,15 +8067,15 @@ function FileUpload(props) {
|
|
|
8045
8067
|
return true;
|
|
8046
8068
|
};
|
|
8047
8069
|
return React$1.createElement("div", {
|
|
8048
|
-
className: rootClassName$
|
|
8070
|
+
className: rootClassName$24 + "-outer"
|
|
8049
8071
|
}, !props.hideTopLabel && React$1.createElement("div", {
|
|
8050
|
-
className: getMergedClassNames([rootClassName$
|
|
8072
|
+
className: getMergedClassNames([rootClassName$24 + "-top-label", props.disabled ? 'disabled' : '', props.error ? 'error' : '', 'nunito'])
|
|
8051
8073
|
}, props.topLabel), React$1.createElement("div", {
|
|
8052
8074
|
id: id,
|
|
8053
|
-
className: getMergedClassNames([rootClassName$
|
|
8075
|
+
className: getMergedClassNames([rootClassName$24, props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
8054
8076
|
}, React$1.createElement("div", {
|
|
8055
8077
|
onClick: handleClick,
|
|
8056
|
-
className: getMergedClassNames([rootClassName$
|
|
8078
|
+
className: getMergedClassNames([rootClassName$24 + "-droppable", props.disabled ? 'disabled' : '', props.error ? 'error' : '']),
|
|
8057
8079
|
onDragEnter: function onDragEnter(event) {
|
|
8058
8080
|
event.preventDefault();
|
|
8059
8081
|
event.stopPropagation();
|
|
@@ -8079,11 +8101,11 @@ function FileUpload(props) {
|
|
|
8079
8101
|
addClass(props.disabled ? DRAG_ENTER_DISABLED_CLASS_NAME : DRAG_ENTER_CLASS_NAME);
|
|
8080
8102
|
}
|
|
8081
8103
|
}), React$1.createElement("div", {
|
|
8082
|
-
className: rootClassName$
|
|
8104
|
+
className: rootClassName$24 + "-row"
|
|
8083
8105
|
}, React$1.createElement("div", {
|
|
8084
|
-
className: rootClassName$
|
|
8106
|
+
className: rootClassName$24 + "-upload-icon"
|
|
8085
8107
|
}, React$1.createElement(CloudUploadIcon, null)), React$1.createElement("div", {
|
|
8086
|
-
className: rootClassName$
|
|
8108
|
+
className: rootClassName$24 + "-label"
|
|
8087
8109
|
}, props.label)), React$1.createElement("input", Object.assign({
|
|
8088
8110
|
type: 'file',
|
|
8089
8111
|
accept: props.allowedFileTypes ? Array(props.allowedFileTypes).join(', ') : undefined
|
|
@@ -8106,7 +8128,7 @@ function FileUpload(props) {
|
|
|
8106
8128
|
multiple: props.multiple,
|
|
8107
8129
|
disabled: props.disabled
|
|
8108
8130
|
}))), !props.hideHelperText && React$1.createElement("div", {
|
|
8109
|
-
className: getMergedClassNames([rootClassName$
|
|
8131
|
+
className: getMergedClassNames([rootClassName$24 + "-helper-text", props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
8110
8132
|
}, props.helperText));
|
|
8111
8133
|
}
|
|
8112
8134
|
FileUpload.defaultProps = {
|
|
@@ -8120,11 +8142,11 @@ FileUpload.defaultProps = {
|
|
|
8120
8142
|
error: false
|
|
8121
8143
|
};
|
|
8122
8144
|
|
|
8123
|
-
var rootClassName$
|
|
8145
|
+
var rootClassName$25 = 'component-row';
|
|
8124
8146
|
function Row(props) {
|
|
8125
8147
|
var getProps = function getProps() {
|
|
8126
8148
|
var p = _extends({}, props, {
|
|
8127
|
-
className: getMergedClassNames([rootClassName$
|
|
8149
|
+
className: getMergedClassNames([rootClassName$25, props.centralized ? 'centralized' : '', props.columnDirection ? 'column' : '', props.className])
|
|
8128
8150
|
});
|
|
8129
8151
|
delete p.centralized;
|
|
8130
8152
|
delete p.columnDirection;
|
|
@@ -8137,7 +8159,7 @@ Row.defaultProps = {
|
|
|
8137
8159
|
};
|
|
8138
8160
|
var Row$1 = memo(Row);
|
|
8139
8161
|
|
|
8140
|
-
var rootClassName$
|
|
8162
|
+
var rootClassName$26 = 'footer-sicredi';
|
|
8141
8163
|
function FooterSicredi(props) {
|
|
8142
8164
|
var colSize = [12, 12, 3, 3, 3];
|
|
8143
8165
|
var qrCodeColor = useMemo(function () {
|
|
@@ -8157,136 +8179,136 @@ function FooterSicredi(props) {
|
|
|
8157
8179
|
}
|
|
8158
8180
|
}, [props.theme]);
|
|
8159
8181
|
return React$1.createElement("footer", {
|
|
8160
|
-
className: getMergedClassNames([rootClassName$
|
|
8182
|
+
className: getMergedClassNames([rootClassName$26, props.theme])
|
|
8161
8183
|
}, React$1.createElement(Row$1, {
|
|
8162
|
-
className: rootClassName$
|
|
8184
|
+
className: rootClassName$26 + "-section",
|
|
8163
8185
|
style: {
|
|
8164
8186
|
maxWidth: props.maxWidth ? props.maxWidth + "px" : 'none'
|
|
8165
8187
|
}
|
|
8166
8188
|
}, React$1.createElement(Col$1, {
|
|
8167
8189
|
cols: colSize,
|
|
8168
|
-
className: rootClassName$
|
|
8190
|
+
className: rootClassName$26 + "-cell"
|
|
8169
8191
|
}, React$1.createElement("div", {
|
|
8170
|
-
className: rootClassName$
|
|
8192
|
+
className: rootClassName$26 + "-title"
|
|
8171
8193
|
}, "WhatsApp Corporativo"), React$1.createElement("div", {
|
|
8172
|
-
className: rootClassName$
|
|
8194
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8173
8195
|
}, "Todas as regi\xF5es"), React$1.createElement("div", {
|
|
8174
|
-
className: rootClassName$
|
|
8196
|
+
className: rootClassName$26 + "-number"
|
|
8175
8197
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8176
8198
|
href: 'https://wa.me/555133584770/?text=Oi%20Sicredi',
|
|
8177
8199
|
target: '_blank',
|
|
8178
8200
|
rel: 'noopener noreferrer'
|
|
8179
8201
|
}, "51 3358 4770")), React$1.createElement("div", {
|
|
8180
|
-
className: rootClassName$
|
|
8202
|
+
className: rootClassName$26 + "-asterisco nunito"
|
|
8181
8203
|
}, "* Servi\xE7o dispon\xEDvel conforme ades\xE3o das cooperativas"), React$1.createElement("div", {
|
|
8182
|
-
className: rootClassName$
|
|
8204
|
+
className: rootClassName$26 + "-space"
|
|
8183
8205
|
}), React$1.createElement("div", {
|
|
8184
|
-
className: rootClassName$
|
|
8206
|
+
className: rootClassName$26 + "-qr-code"
|
|
8185
8207
|
}, React$1.createElement("a", {
|
|
8186
8208
|
href: 'https://wa.me/555133584770/?text=Oi%20Sicredi',
|
|
8187
8209
|
target: '_blank',
|
|
8188
8210
|
rel: 'noopener noreferrer'
|
|
8189
8211
|
}, React$1.createElement(QRCodeWhatsapp, Object.assign({}, qrCodeColor))))), React$1.createElement(Col$1, {
|
|
8190
8212
|
cols: colSize,
|
|
8191
|
-
className: rootClassName$
|
|
8213
|
+
className: rootClassName$26 + "-cell"
|
|
8192
8214
|
}, React$1.createElement("div", {
|
|
8193
|
-
className: rootClassName$
|
|
8215
|
+
className: rootClassName$26 + "-title"
|
|
8194
8216
|
}, "Servi\xE7os por telefone"), React$1.createElement("div", {
|
|
8195
|
-
className: rootClassName$
|
|
8217
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8196
8218
|
}, "Capitais e regi\xF5es metropolitanas"), React$1.createElement("div", {
|
|
8197
|
-
className: rootClassName$
|
|
8219
|
+
className: rootClassName$26 + "-number"
|
|
8198
8220
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8199
8221
|
href: 'tel:+555130034770'
|
|
8200
8222
|
}, "3003 4770")), React$1.createElement("div", {
|
|
8201
|
-
className: rootClassName$
|
|
8223
|
+
className: rootClassName$26 + "-asterisco nunito"
|
|
8202
8224
|
}, "* Custo de uma liga\xE7\xE3o local"), React$1.createElement("div", {
|
|
8203
|
-
className: rootClassName$
|
|
8225
|
+
className: rootClassName$26 + "-space"
|
|
8204
8226
|
}), React$1.createElement("div", {
|
|
8205
|
-
className: rootClassName$
|
|
8227
|
+
className: rootClassName$26 + "-title"
|
|
8206
8228
|
}, "Demais regi\xF5es"), React$1.createElement("div", {
|
|
8207
|
-
className: rootClassName$
|
|
8229
|
+
className: rootClassName$26 + "-number"
|
|
8208
8230
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8209
8231
|
href: 'tel:08007244770'
|
|
8210
8232
|
}, "0800 724 4770")), React$1.createElement("div", {
|
|
8211
|
-
className: rootClassName$
|
|
8233
|
+
className: rootClassName$26 + "-asterisco nunito"
|
|
8212
8234
|
}, "* Sem custo")), React$1.createElement(Col$1, {
|
|
8213
8235
|
cols: colSize,
|
|
8214
|
-
className: rootClassName$
|
|
8236
|
+
className: rootClassName$26 + "-cell"
|
|
8215
8237
|
}, React$1.createElement("div", {
|
|
8216
|
-
className: rootClassName$
|
|
8238
|
+
className: rootClassName$26 + "-title"
|
|
8217
8239
|
}, "SAC"), React$1.createElement("div", {
|
|
8218
|
-
className: rootClassName$
|
|
8240
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8219
8241
|
}, "Informa\xE7\xF5es, elogios e reclama\xE7\xF5es"), React$1.createElement("div", {
|
|
8220
|
-
className: rootClassName$
|
|
8242
|
+
className: rootClassName$26 + "-number"
|
|
8221
8243
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8222
8244
|
href: 'tel:08007247220'
|
|
8223
8245
|
}, "0800 724 7220")), React$1.createElement("div", {
|
|
8224
|
-
className: rootClassName$
|
|
8246
|
+
className: rootClassName$26 + "-space"
|
|
8225
8247
|
}), React$1.createElement("div", {
|
|
8226
|
-
className: rootClassName$
|
|
8248
|
+
className: rootClassName$26 + "-space"
|
|
8227
8249
|
}), React$1.createElement("div", {
|
|
8228
|
-
className: rootClassName$
|
|
8250
|
+
className: rootClassName$26 + "-title"
|
|
8229
8251
|
}, "Ouvidoria"), React$1.createElement("div", {
|
|
8230
|
-
className: rootClassName$
|
|
8252
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8231
8253
|
}, "Reclama\xE7\xF5es e den\xFAncias"), React$1.createElement("div", {
|
|
8232
|
-
className: rootClassName$
|
|
8254
|
+
className: rootClassName$26 + "-number"
|
|
8233
8255
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8234
8256
|
href: 'tel:08006462519'
|
|
8235
8257
|
}, "0800 646 2519"))), React$1.createElement(Col$1, {
|
|
8236
8258
|
cols: colSize,
|
|
8237
|
-
className: rootClassName$
|
|
8259
|
+
className: rootClassName$26 + "-cell"
|
|
8238
8260
|
}, React$1.createElement("div", {
|
|
8239
|
-
className: rootClassName$
|
|
8261
|
+
className: rootClassName$26 + "-title"
|
|
8240
8262
|
}, "Chamadas internacionais"), React$1.createElement("div", {
|
|
8241
|
-
className: rootClassName$
|
|
8263
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8242
8264
|
}, "(a cobrar)"), React$1.createElement("div", {
|
|
8243
|
-
className: rootClassName$
|
|
8265
|
+
className: rootClassName$26 + "-number"
|
|
8244
8266
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8245
8267
|
href: 'tel:+555133784472'
|
|
8246
8268
|
}, "+55 51 3378 4472")), React$1.createElement("div", {
|
|
8247
|
-
className: rootClassName$
|
|
8269
|
+
className: rootClassName$26 + "-space"
|
|
8248
8270
|
}), React$1.createElement("div", {
|
|
8249
|
-
className: rootClassName$
|
|
8271
|
+
className: rootClassName$26 + "-space"
|
|
8250
8272
|
}), React$1.createElement("div", {
|
|
8251
|
-
className: rootClassName$
|
|
8273
|
+
className: rootClassName$26 + "-title"
|
|
8252
8274
|
}, "Atendimento \xE0 pessoas com defici\xEAncia"), React$1.createElement("div", {
|
|
8253
|
-
className: rootClassName$
|
|
8275
|
+
className: rootClassName$26 + "-subtitle nunito"
|
|
8254
8276
|
}, "Auditivos ou de fala"), React$1.createElement("div", {
|
|
8255
|
-
className: rootClassName$
|
|
8277
|
+
className: rootClassName$26 + "-number"
|
|
8256
8278
|
}, React$1.createElement(AnimatedLink$1, {
|
|
8257
8279
|
href: 'tel:08007240525'
|
|
8258
8280
|
}, "0800 724 0525")))), props.midiasSociais ? React$1.createElement(Row$1, {
|
|
8259
|
-
className: rootClassName$
|
|
8281
|
+
className: rootClassName$26 + "-section",
|
|
8260
8282
|
style: {
|
|
8261
8283
|
maxWidth: props.maxWidth + "px"
|
|
8262
8284
|
}
|
|
8263
8285
|
}, React$1.createElement(Row$1, null, React$1.createElement(AnimatedLink$1, {
|
|
8264
|
-
className: rootClassName$
|
|
8286
|
+
className: rootClassName$26 + "-social-media nunito",
|
|
8265
8287
|
href: 'https://www.youtube.com/user/sicredioficial',
|
|
8266
8288
|
target: '_blank',
|
|
8267
8289
|
rel: 'noopener noreferrer'
|
|
8268
8290
|
}, "youtube"), React$1.createElement(AnimatedLink$1, {
|
|
8269
|
-
className: rootClassName$
|
|
8291
|
+
className: rootClassName$26 + "-social-media nunito",
|
|
8270
8292
|
href: 'https://twitter.com/sicredi',
|
|
8271
8293
|
target: '_blank',
|
|
8272
8294
|
rel: 'noopener noreferrer'
|
|
8273
8295
|
}, "twitter"), React$1.createElement(AnimatedLink$1, {
|
|
8274
|
-
className: rootClassName$
|
|
8296
|
+
className: rootClassName$26 + "-social-media nunito",
|
|
8275
8297
|
href: 'https://www.linkedin.com/company/sicredi',
|
|
8276
8298
|
target: '_blank',
|
|
8277
8299
|
rel: 'noopener noreferrer'
|
|
8278
8300
|
}, "linkedin"), React$1.createElement(AnimatedLink$1, {
|
|
8279
|
-
className: rootClassName$
|
|
8301
|
+
className: rootClassName$26 + "-social-media nunito",
|
|
8280
8302
|
href: 'https://www.instagram.com/sicredi/',
|
|
8281
8303
|
target: '_blank',
|
|
8282
8304
|
rel: 'noopener noreferrer'
|
|
8283
8305
|
}, "instagram"), React$1.createElement(AnimatedLink$1, {
|
|
8284
|
-
className: rootClassName$
|
|
8306
|
+
className: rootClassName$26 + "-social-media nunito",
|
|
8285
8307
|
href: 'https://www.facebook.com/Sicredi',
|
|
8286
8308
|
target: '_blank',
|
|
8287
8309
|
rel: 'noopener noreferrer'
|
|
8288
8310
|
}, "facebook")), React$1.createElement(Row$1, {
|
|
8289
|
-
className: rootClassName$
|
|
8311
|
+
className: rootClassName$26 + "-endereco"
|
|
8290
8312
|
}, React$1.createElement(Row$1, {
|
|
8291
8313
|
className: 'nunito'
|
|
8292
8314
|
}, "Confedera\xE7\xE3o das Cooperativas do Sicredi"), React$1.createElement(Row$1, {
|
|
@@ -8299,16 +8321,16 @@ function FooterSicredi(props) {
|
|
|
8299
8321
|
}
|
|
8300
8322
|
var FooterSicredi$1 = memo(FooterSicredi);
|
|
8301
8323
|
|
|
8302
|
-
var rootClassName$
|
|
8324
|
+
var rootClassName$27 = 'full-height-container';
|
|
8303
8325
|
function FullHeightContainer(props) {
|
|
8304
8326
|
return React$1.createElement("div", {
|
|
8305
|
-
className: rootClassName$
|
|
8327
|
+
className: rootClassName$27
|
|
8306
8328
|
}, React$1.createElement("div", {
|
|
8307
|
-
className: rootClassName$
|
|
8329
|
+
className: rootClassName$27 + "-row-header"
|
|
8308
8330
|
}, props.header), React$1.createElement("div", {
|
|
8309
|
-
className: getMergedClassNames([rootClassName$
|
|
8331
|
+
className: getMergedClassNames([rootClassName$27 + "-row-content", props.verticalPadding ? 'vertical-padding' : '', props.horizontalPadding ? 'horizontal-padding' : ''])
|
|
8310
8332
|
}, props.children), props.fixedFooter ? React$1.createElement("div", {
|
|
8311
|
-
className: rootClassName$
|
|
8333
|
+
className: rootClassName$27 + "-row-footer"
|
|
8312
8334
|
}, props.fixedFooter) : undefined);
|
|
8313
8335
|
}
|
|
8314
8336
|
FullHeightContainer.defaultProps = {
|
|
@@ -8320,10 +8342,10 @@ var FullHeightContainer$1 = memo(FullHeightContainer);
|
|
|
8320
8342
|
var HEADER_SEPARATOR_PRIMARY = 'primary';
|
|
8321
8343
|
var HEADER_SEPARATOR_SECONDARY = 'secondary';
|
|
8322
8344
|
|
|
8323
|
-
var rootClassName$
|
|
8345
|
+
var rootClassName$28 = 'component-header-separator';
|
|
8324
8346
|
function HeaderSeparator(props) {
|
|
8325
8347
|
return React$1.createElement("div", {
|
|
8326
|
-
className: getMergedClassNames([rootClassName$
|
|
8348
|
+
className: getMergedClassNames([rootClassName$28, rootClassName$28 + "-" + props.theme])
|
|
8327
8349
|
});
|
|
8328
8350
|
}
|
|
8329
8351
|
HeaderSeparator.defaultProps = {
|
|
@@ -8338,7 +8360,7 @@ var HeaderType;
|
|
|
8338
8360
|
HeaderType["Assembleia"] = "assembleia";
|
|
8339
8361
|
})(HeaderType || (HeaderType = {}));
|
|
8340
8362
|
|
|
8341
|
-
var rootClassName$
|
|
8363
|
+
var rootClassName$29 = 'component-header';
|
|
8342
8364
|
function Header(props) {
|
|
8343
8365
|
var _props$blackBar;
|
|
8344
8366
|
var handleClick = function handleClick() {
|
|
@@ -8349,32 +8371,32 @@ function Header(props) {
|
|
|
8349
8371
|
var getProps = function getProps() {
|
|
8350
8372
|
var p = {
|
|
8351
8373
|
onClick: handleClick,
|
|
8352
|
-
className: getMergedClassNames([rootClassName$
|
|
8374
|
+
className: getMergedClassNames([rootClassName$29, props.className, rootClassName$29 + "-" + props.theme, props.blackBar && props.blackBar.show ? 'has-black-bar' : ''])
|
|
8353
8375
|
};
|
|
8354
8376
|
return p;
|
|
8355
8377
|
};
|
|
8356
|
-
var clearfixClassNames = getMergedClassNames([rootClassName$
|
|
8378
|
+
var clearfixClassNames = getMergedClassNames([rootClassName$29 + "-clearfix", rootClassName$29 + "-" + props.theme]);
|
|
8357
8379
|
return React$1.createElement(React$1.Fragment, null, React$1.createElement("header", Object.assign({}, getProps(), {
|
|
8358
8380
|
style: {
|
|
8359
8381
|
position: props.position
|
|
8360
8382
|
}
|
|
8361
8383
|
}), props.blackBar && props.blackBar.show ? React$1.createElement("div", {
|
|
8362
|
-
className: rootClassName$
|
|
8384
|
+
className: rootClassName$29 + "-black-bar"
|
|
8363
8385
|
}, React$1.createElement("a", {
|
|
8364
8386
|
href: props.blackBar.link,
|
|
8365
8387
|
target: (_props$blackBar = props.blackBar) === null || _props$blackBar === void 0 ? void 0 : _props$blackBar.target
|
|
8366
8388
|
}, props.blackBar.icon, React$1.createElement("span", {
|
|
8367
8389
|
className: 'nunito'
|
|
8368
8390
|
}, props.blackBar.label))) : undefined, React$1.createElement("div", {
|
|
8369
|
-
className: rootClassName$
|
|
8391
|
+
className: rootClassName$29 + "-header-item"
|
|
8370
8392
|
}, props.leftContent, props.separator && props.separator.show ? React$1.createElement("div", {
|
|
8371
|
-
className: rootClassName$
|
|
8393
|
+
className: rootClassName$29 + "-separator-logo"
|
|
8372
8394
|
}, props.separator.label) : undefined), React$1.createElement("div", {
|
|
8373
|
-
className: rootClassName$
|
|
8395
|
+
className: rootClassName$29 + "-header-item"
|
|
8374
8396
|
}, props.centerContent), React$1.createElement("div", {
|
|
8375
|
-
className: rootClassName$
|
|
8397
|
+
className: rootClassName$29 + "-header-item"
|
|
8376
8398
|
}, props.rightContent)), props.theme === HeaderType.Semi && React$1.createElement("div", {
|
|
8377
|
-
className: rootClassName$
|
|
8399
|
+
className: rootClassName$29 + "-semi-clear"
|
|
8378
8400
|
}), props.clearfix && React$1.createElement("div", {
|
|
8379
8401
|
className: clearfixClassNames
|
|
8380
8402
|
}));
|
|
@@ -8386,11 +8408,11 @@ Header.defaultProps = {
|
|
|
8386
8408
|
};
|
|
8387
8409
|
var Header$1 = memo(Header);
|
|
8388
8410
|
|
|
8389
|
-
var rootClassName$
|
|
8411
|
+
var rootClassName$2a = 'component-information-icon';
|
|
8390
8412
|
function Information(props) {
|
|
8391
8413
|
var getProps = function getProps() {
|
|
8392
8414
|
var p = _extends({}, props, {
|
|
8393
|
-
className: getMergedClassNames([rootClassName$
|
|
8415
|
+
className: getMergedClassNames([rootClassName$2a, props.className || ''])
|
|
8394
8416
|
});
|
|
8395
8417
|
delete p.icon;
|
|
8396
8418
|
delete p['tooltip-text'];
|
|
@@ -8398,7 +8420,7 @@ function Information(props) {
|
|
|
8398
8420
|
return p;
|
|
8399
8421
|
};
|
|
8400
8422
|
return React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
8401
|
-
className: rootClassName$
|
|
8423
|
+
className: rootClassName$2a + "-icon",
|
|
8402
8424
|
"tooltip-text": props['tooltip-text'],
|
|
8403
8425
|
"tooltip-position": props['tooltip-position']
|
|
8404
8426
|
}, props.icon));
|
|
@@ -8407,12 +8429,12 @@ Information.defaultProps = {
|
|
|
8407
8429
|
icon: React$1.createElement(InformationIcon, null)
|
|
8408
8430
|
};
|
|
8409
8431
|
|
|
8410
|
-
var rootClassName$
|
|
8432
|
+
var rootClassName$2b = 'component-input';
|
|
8411
8433
|
function Input(props) {
|
|
8412
8434
|
var getProps = function getProps() {
|
|
8413
8435
|
var p = _extends({}, props, {
|
|
8414
8436
|
id: props.id ? props.id + "-input" : undefined,
|
|
8415
|
-
className: getMergedClassNames(['nunito', rootClassName$
|
|
8437
|
+
className: getMergedClassNames(['nunito', rootClassName$2b + "-input", props.className || ''])
|
|
8416
8438
|
});
|
|
8417
8439
|
delete p.loading;
|
|
8418
8440
|
delete p.error;
|
|
@@ -8425,23 +8447,23 @@ function Input(props) {
|
|
|
8425
8447
|
return p;
|
|
8426
8448
|
};
|
|
8427
8449
|
var getContainerClassNames = function getContainerClassNames() {
|
|
8428
|
-
return getMergedClassNames([rootClassName$
|
|
8450
|
+
return getMergedClassNames([rootClassName$2b, props.error ? rootClassName$2b + "-error" : '', props.loading ? rootClassName$2b + "-loading" : '', props.disabled ? rootClassName$2b + "-disabled" : '', props.forceFocus ? 'force-focus' : '']);
|
|
8429
8451
|
};
|
|
8430
8452
|
return React$1.createElement("div", {
|
|
8431
8453
|
id: props.id,
|
|
8432
8454
|
className: getContainerClassNames()
|
|
8433
8455
|
}, !props.hideLabelAndHelperText && React$1.createElement("div", {
|
|
8434
|
-
className: rootClassName$
|
|
8456
|
+
className: rootClassName$2b + "-label nunito"
|
|
8435
8457
|
}, props.label || ''), React$1.createElement("div", {
|
|
8436
|
-
className: rootClassName$
|
|
8458
|
+
className: rootClassName$2b + "-input-container"
|
|
8437
8459
|
}, React$1.createElement("input", Object.assign({}, getProps())), props.rightObject && React$1.createElement("div", {
|
|
8438
|
-
className: rootClassName$
|
|
8460
|
+
className: rootClassName$2b + "-right-object"
|
|
8439
8461
|
}, props.rightObject)), !props.hideLabelAndHelperText && React$1.createElement("div", {
|
|
8440
|
-
className: rootClassName$
|
|
8462
|
+
className: rootClassName$2b + "-helper-and-counter"
|
|
8441
8463
|
}, React$1.createElement("div", {
|
|
8442
|
-
className: rootClassName$
|
|
8464
|
+
className: rootClassName$2b + "-helper-text nunito"
|
|
8443
8465
|
}, props.helperText || ''), props.counter && React$1.createElement("div", {
|
|
8444
|
-
className: rootClassName$
|
|
8466
|
+
className: rootClassName$2b + "-counter"
|
|
8445
8467
|
}, "" + String(props.value || '').length + (props.maxLength || props.maxLength === 0 ? "/" + props.maxLength : ''))));
|
|
8446
8468
|
}
|
|
8447
8469
|
Input.defaultProps = {
|
|
@@ -8456,7 +8478,7 @@ Input.defaultProps = {
|
|
|
8456
8478
|
};
|
|
8457
8479
|
var Input$1 = memo(Input);
|
|
8458
8480
|
|
|
8459
|
-
var rootClassName$
|
|
8481
|
+
var rootClassName$2c = 'component-input-area';
|
|
8460
8482
|
function InputArea(props) {
|
|
8461
8483
|
var _useState = useState(props.id ? props.id : getUniqueKey()),
|
|
8462
8484
|
id = _useState[0];
|
|
@@ -8464,7 +8486,7 @@ function InputArea(props) {
|
|
|
8464
8486
|
var p = _extends({}, props, {
|
|
8465
8487
|
rows: 1,
|
|
8466
8488
|
id: id ? id + "-input" : undefined,
|
|
8467
|
-
className: getMergedClassNames(['nunito', rootClassName$
|
|
8489
|
+
className: getMergedClassNames(['nunito', rootClassName$2c + "-input-area", props.className || ''])
|
|
8468
8490
|
});
|
|
8469
8491
|
delete p.loading;
|
|
8470
8492
|
delete p.error;
|
|
@@ -8484,23 +8506,23 @@ function InputArea(props) {
|
|
|
8484
8506
|
}
|
|
8485
8507
|
}, [props.value]);
|
|
8486
8508
|
var getContainerClassNames = function getContainerClassNames() {
|
|
8487
|
-
return getMergedClassNames([rootClassName$
|
|
8509
|
+
return getMergedClassNames([rootClassName$2c, props.error ? rootClassName$2c + "-error" : '', props.loading ? rootClassName$2c + "-loading" : '', props.disabled ? rootClassName$2c + "-disabled" : '', props.forceFocus ? 'force-focus' : '']);
|
|
8488
8510
|
};
|
|
8489
8511
|
return React$1.createElement("div", {
|
|
8490
8512
|
id: id,
|
|
8491
8513
|
className: getContainerClassNames()
|
|
8492
8514
|
}, !props.hideLabelAndHelperText && React$1.createElement("div", {
|
|
8493
|
-
className: rootClassName$
|
|
8515
|
+
className: rootClassName$2c + "-label nunito"
|
|
8494
8516
|
}, props.label || ''), React$1.createElement("div", {
|
|
8495
|
-
className: rootClassName$
|
|
8517
|
+
className: rootClassName$2c + "-input-container"
|
|
8496
8518
|
}, React$1.createElement("textarea", Object.assign({}, getProps())), props.rightObject && React$1.createElement("div", {
|
|
8497
|
-
className: rootClassName$
|
|
8519
|
+
className: rootClassName$2c + "-right-object"
|
|
8498
8520
|
}, props.rightObject)), !props.hideLabelAndHelperText && React$1.createElement("div", {
|
|
8499
|
-
className: rootClassName$
|
|
8521
|
+
className: rootClassName$2c + "-helper-and-counter"
|
|
8500
8522
|
}, React$1.createElement("div", {
|
|
8501
|
-
className: rootClassName$
|
|
8523
|
+
className: rootClassName$2c + "-helper-text nunito"
|
|
8502
8524
|
}, props.helperText || ''), props.counter && React$1.createElement("div", {
|
|
8503
|
-
className: rootClassName$
|
|
8525
|
+
className: rootClassName$2c + "-counter"
|
|
8504
8526
|
}, "" + String(props.value || '').length + (props.maxLength || props.maxLength === 0 ? "/" + props.maxLength : ''))));
|
|
8505
8527
|
}
|
|
8506
8528
|
InputArea.defaultProps = {
|
|
@@ -8516,14 +8538,14 @@ InputArea.defaultProps = {
|
|
|
8516
8538
|
};
|
|
8517
8539
|
var InputArea$1 = memo(InputArea);
|
|
8518
8540
|
|
|
8519
|
-
var rootClassName$
|
|
8541
|
+
var rootClassName$2d = 'component-item-dropdown-download';
|
|
8520
8542
|
function ItemDropdownDownload(props) {
|
|
8521
8543
|
var id = useMemo(function () {
|
|
8522
8544
|
return props.id ? props.id : getUniqueKey();
|
|
8523
8545
|
}, [props.id]);
|
|
8524
8546
|
var filteredProps = useMemo(function () {
|
|
8525
8547
|
var p = _extends({}, props, {
|
|
8526
|
-
className: getMergedClassNames([rootClassName$
|
|
8548
|
+
className: getMergedClassNames([rootClassName$2d, props.className || '', props.opened ? 'opened' : 'closed']),
|
|
8527
8549
|
onClick: function onClick(event) {
|
|
8528
8550
|
if (typeof props.onClick === 'function') {
|
|
8529
8551
|
props.onClick(event);
|
|
@@ -8544,12 +8566,12 @@ function ItemDropdownDownload(props) {
|
|
|
8544
8566
|
useEffect(function () {
|
|
8545
8567
|
var onHandleClick = function onHandleClick(evt) {
|
|
8546
8568
|
if (evt.path) {
|
|
8547
|
-
if (document.querySelector("#" + id + " ." + rootClassName$
|
|
8569
|
+
if (document.querySelector("#" + id + " ." + rootClassName$2d + "-panel.panel-fade-enter-done") && !evt.path.includes(document.querySelector("#" + id))) props.setOpened(false);
|
|
8548
8570
|
} else {
|
|
8549
8571
|
var aux = evt.target;
|
|
8550
8572
|
var deveFechar = true;
|
|
8551
8573
|
while (aux && aux.id !== 'root') {
|
|
8552
|
-
if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$
|
|
8574
|
+
if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$2d + "-outer")) {
|
|
8553
8575
|
deveFechar = false;
|
|
8554
8576
|
break;
|
|
8555
8577
|
}
|
|
@@ -8586,23 +8608,23 @@ function ItemDropdownDownload(props) {
|
|
|
8586
8608
|
};
|
|
8587
8609
|
}, [props.opened]);
|
|
8588
8610
|
return React$1.createElement("div", {
|
|
8589
|
-
className: rootClassName$
|
|
8611
|
+
className: rootClassName$2d + "-outer",
|
|
8590
8612
|
id: id
|
|
8591
8613
|
}, React$1.createElement("button", Object.assign({}, filteredProps), React$1.createElement("div", {
|
|
8592
|
-
className: rootClassName$
|
|
8614
|
+
className: rootClassName$2d + "-label"
|
|
8593
8615
|
}, props.label), React$1.createElement("div", {
|
|
8594
|
-
className: getMergedClassNames([rootClassName$
|
|
8616
|
+
className: getMergedClassNames([rootClassName$2d + "-arrow", props.opened ? 'up' : 'down'])
|
|
8595
8617
|
}, React$1.createElement(ChevronArrowDownIcon, null))), React$1.createElement(CSSTransition, {
|
|
8596
8618
|
"in": props.opened,
|
|
8597
8619
|
timeout: 300,
|
|
8598
8620
|
classNames: 'panel-fade',
|
|
8599
8621
|
unmountOnExit: true
|
|
8600
8622
|
}, React$1.createElement("div", {
|
|
8601
|
-
className: rootClassName$
|
|
8623
|
+
className: rootClassName$2d + "-panel"
|
|
8602
8624
|
}, props.downloads && props.downloads.length ? props.downloads.map(function (download, index) {
|
|
8603
8625
|
return React$1.createElement("button", {
|
|
8604
8626
|
id: download.id || undefined,
|
|
8605
|
-
className: rootClassName$
|
|
8627
|
+
className: rootClassName$2d + "-item " + (download.loading ? 'loading' : ''),
|
|
8606
8628
|
onClick: function onClick(evt) {
|
|
8607
8629
|
if (!download.loading && typeof download.onClick === 'function') {
|
|
8608
8630
|
download.onClick(evt);
|
|
@@ -8610,9 +8632,9 @@ function ItemDropdownDownload(props) {
|
|
|
8610
8632
|
},
|
|
8611
8633
|
key: index
|
|
8612
8634
|
}, React$1.createElement("div", {
|
|
8613
|
-
className: rootClassName$
|
|
8635
|
+
className: rootClassName$2d + "-item-label"
|
|
8614
8636
|
}, download.label), React$1.createElement("div", {
|
|
8615
|
-
className: rootClassName$
|
|
8637
|
+
className: rootClassName$2d + "-download-icon"
|
|
8616
8638
|
}, download.loading ? React$1.createElement(PercentLoaderIcon, {
|
|
8617
8639
|
indefinido: true
|
|
8618
8640
|
}) : React$1.createElement(CloudDownloadIcon, null)));
|
|
@@ -8624,7 +8646,7 @@ ItemDropdownDownload.defaultProps = {
|
|
|
8624
8646
|
};
|
|
8625
8647
|
var ItemDropdownDownload$1 = memo(ItemDropdownDownload);
|
|
8626
8648
|
|
|
8627
|
-
var rootClassName$
|
|
8649
|
+
var rootClassName$2e = 'component-menu-item';
|
|
8628
8650
|
function MenuItem(props) {
|
|
8629
8651
|
var handleClick = function handleClick() {
|
|
8630
8652
|
if (!props.disabled) {
|
|
@@ -8634,7 +8656,7 @@ function MenuItem(props) {
|
|
|
8634
8656
|
var getProps = function getProps() {
|
|
8635
8657
|
var p = _extends({}, props, {
|
|
8636
8658
|
onClick: handleClick,
|
|
8637
|
-
className: getMergedClassNames([rootClassName$
|
|
8659
|
+
className: getMergedClassNames([rootClassName$2e, props.className, props.active ? rootClassName$2e + "-active" : ''])
|
|
8638
8660
|
});
|
|
8639
8661
|
delete p.icon;
|
|
8640
8662
|
delete p.active;
|
|
@@ -8647,15 +8669,15 @@ function MenuItem(props) {
|
|
|
8647
8669
|
return p;
|
|
8648
8670
|
};
|
|
8649
8671
|
return React$1.createElement(React$1.Fragment, null, React$1.createElement("button", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
8650
|
-
className: rootClassName$
|
|
8672
|
+
className: rootClassName$2e + "-icon"
|
|
8651
8673
|
}, props.icon), React$1.createElement("div", {
|
|
8652
|
-
className: rootClassName$
|
|
8674
|
+
className: rootClassName$2e + "-label"
|
|
8653
8675
|
}, props.label)), props.subList && props.subList.length ? React$1.createElement(Collapse$1, {
|
|
8654
8676
|
opened: Boolean(props.buscar && props.buscarValue || props.subListOpened)
|
|
8655
8677
|
}, React$1.createElement("div", {
|
|
8656
|
-
className: rootClassName$
|
|
8678
|
+
className: rootClassName$2e + "-sub-list"
|
|
8657
8679
|
}, props.subList.map(function (subItem) {
|
|
8658
|
-
var itemClassNames = getMergedClassNames([rootClassName$
|
|
8680
|
+
var itemClassNames = getMergedClassNames([rootClassName$2e + "-sub-item", subItem.active ? rootClassName$2e + "-active" : '']);
|
|
8659
8681
|
var idAndKey = subItem.id ? subItem.id : getUniqueKey();
|
|
8660
8682
|
return React$1.createElement("div", {
|
|
8661
8683
|
id: idAndKey,
|
|
@@ -8663,9 +8685,9 @@ function MenuItem(props) {
|
|
|
8663
8685
|
key: idAndKey,
|
|
8664
8686
|
onClick: subItem.onClick
|
|
8665
8687
|
}, React$1.createElement("div", {
|
|
8666
|
-
className: rootClassName$
|
|
8688
|
+
className: rootClassName$2e + "-sub-item-icon"
|
|
8667
8689
|
}, subItem.icon), React$1.createElement("div", {
|
|
8668
|
-
className: rootClassName$
|
|
8690
|
+
className: rootClassName$2e + "-sub-item-label"
|
|
8669
8691
|
}, subItem.label));
|
|
8670
8692
|
}))) : undefined);
|
|
8671
8693
|
}
|
|
@@ -8676,7 +8698,7 @@ MenuItem.defaultProps = {
|
|
|
8676
8698
|
label: ''
|
|
8677
8699
|
};
|
|
8678
8700
|
|
|
8679
|
-
var rootClassName$
|
|
8701
|
+
var rootClassName$2f = 'component-menu';
|
|
8680
8702
|
var timeout;
|
|
8681
8703
|
var format = function format(s) {
|
|
8682
8704
|
return getStringWithoutSpecialChar(s).trim().toLowerCase();
|
|
@@ -8718,11 +8740,11 @@ function Menu(props) {
|
|
|
8718
8740
|
}, [props.openOnClick]);
|
|
8719
8741
|
var getProps = function getProps() {
|
|
8720
8742
|
var openedOrNot = function openedOrNot(condition) {
|
|
8721
|
-
if (condition) return rootClassName$
|
|
8743
|
+
if (condition) return rootClassName$2f + "-opened";
|
|
8722
8744
|
return '';
|
|
8723
8745
|
};
|
|
8724
8746
|
var p = _extends({}, props, {
|
|
8725
|
-
className: getMergedClassNames([rootClassName$
|
|
8747
|
+
className: getMergedClassNames([rootClassName$2f, 'scroll-white', props.className, props.shortOnMD ? rootClassName$2f + "-short-on-md" : '', props.openOnClick ? rootClassName$2f + "-open-on-click" : '', props.hamburgerMenu ? rootClassName$2f + "-hamburger-menu" : '', (props.openOnClick || props.hamburgerMenu) && (props.opened !== undefined ? openedOrNot(props.opened) : openedOrNot(opened))])
|
|
8726
8748
|
});
|
|
8727
8749
|
delete p.loading;
|
|
8728
8750
|
delete p.openOnClick;
|
|
@@ -8758,14 +8780,14 @@ function Menu(props) {
|
|
|
8758
8780
|
});
|
|
8759
8781
|
}, [buscarValue, props.items]);
|
|
8760
8782
|
return React$1.createElement(React$1.Fragment, null, React$1.createElement("div", Object.assign({}, getProps()), props.hamburgerMenu && React$1.createElement(IconButton$1, {
|
|
8761
|
-
className: rootClassName$
|
|
8783
|
+
className: rootClassName$2f + "-close-button",
|
|
8762
8784
|
icon: React$1.createElement(CloseIcon, null),
|
|
8763
8785
|
onClick: function onClick() {
|
|
8764
8786
|
setOpened(false);
|
|
8765
8787
|
if (typeof props.setOpened === 'function') props.setOpened(false);
|
|
8766
8788
|
}
|
|
8767
8789
|
}), React$1.createElement("div", {
|
|
8768
|
-
className: rootClassName$
|
|
8790
|
+
className: rootClassName$2f + "-logo"
|
|
8769
8791
|
}, props.logo), React$1.createElement(Collapse$1, {
|
|
8770
8792
|
animateOpacity: true,
|
|
8771
8793
|
opened: props.loading
|
|
@@ -8777,7 +8799,7 @@ function Menu(props) {
|
|
|
8777
8799
|
animateOpacity: true,
|
|
8778
8800
|
opened: props.buscar && !props.loading
|
|
8779
8801
|
}, React$1.createElement("div", {
|
|
8780
|
-
className: rootClassName$
|
|
8802
|
+
className: rootClassName$2f + "-buscar"
|
|
8781
8803
|
}, React$1.createElement(Input$1, {
|
|
8782
8804
|
disabled: props.loading || !props.buscar,
|
|
8783
8805
|
id: 'buscar-menu',
|
|
@@ -8793,29 +8815,29 @@ function Menu(props) {
|
|
|
8793
8815
|
animateOpacity: true,
|
|
8794
8816
|
opened: itens.length > 0
|
|
8795
8817
|
}, React$1.createElement("div", {
|
|
8796
|
-
className: rootClassName$
|
|
8818
|
+
className: rootClassName$2f + "-items"
|
|
8797
8819
|
}, itens.map(function (it, index) {
|
|
8798
8820
|
return React$1.createElement("div", {
|
|
8799
|
-
className: rootClassName$
|
|
8821
|
+
className: rootClassName$2f + "-it",
|
|
8800
8822
|
key: index
|
|
8801
8823
|
}, React$1.createElement(MenuItem, Object.assign({}, it, {
|
|
8802
8824
|
buscar: props.buscar,
|
|
8803
8825
|
buscarValue: buscarValue
|
|
8804
8826
|
})));
|
|
8805
8827
|
})))), React$1.createElement(React$1.Fragment, null, props.openOnClick && React$1.createElement("button", {
|
|
8806
|
-
className: rootClassName$
|
|
8828
|
+
className: rootClassName$2f + "-toggle " + (opened ? rootClassName$2f + "-opened" : ''),
|
|
8807
8829
|
onClick: function onClick() {
|
|
8808
8830
|
setOpened(!opened);
|
|
8809
8831
|
if (typeof props.setOpened === 'function') props.setOpened(false);
|
|
8810
8832
|
}
|
|
8811
8833
|
}, React$1.createElement(ChevronArrowRightIcon, null))), React$1.createElement(React$1.Fragment, null, (props.openOnClick || props.hamburgerMenu) && React$1.createElement(CSSTransition, {
|
|
8812
8834
|
timeout: 300,
|
|
8813
|
-
classNames: rootClassName$
|
|
8835
|
+
classNames: rootClassName$2f + "-background",
|
|
8814
8836
|
"in": (props.openOnClick || props.hamburgerMenu) && (props.opened !== undefined ? props.opened : opened),
|
|
8815
8837
|
mountOnEnter: true,
|
|
8816
8838
|
unmountOnExit: true
|
|
8817
8839
|
}, React$1.createElement("div", {
|
|
8818
|
-
className: rootClassName$
|
|
8840
|
+
className: rootClassName$2f + "-background",
|
|
8819
8841
|
onClick: function onClick() {
|
|
8820
8842
|
setOpened(false);
|
|
8821
8843
|
if (typeof props.setOpened === 'function') props.setOpened(false);
|
|
@@ -8835,12 +8857,12 @@ Menu.defaultProps = {
|
|
|
8835
8857
|
};
|
|
8836
8858
|
var Menu$1 = memo(Menu);
|
|
8837
8859
|
|
|
8838
|
-
var rootClassName$
|
|
8860
|
+
var rootClassName$2g = 'component-modal';
|
|
8839
8861
|
function Modal(props) {
|
|
8840
8862
|
var filteredProps = useMemo(function () {
|
|
8841
8863
|
var p = _extends({}, props, {
|
|
8842
8864
|
id: props.id ? props.id : props.modalKey ? props.modalKey : "modal" + getUniqueKey(),
|
|
8843
|
-
className: getMergedClassNames([props.className || '', rootClassName$
|
|
8865
|
+
className: getMergedClassNames([props.className || '', rootClassName$2g, props.mobileOnXS ? 'mobile-on-xs' : '', rootClassName$2g + "-" + String(props.size).toLowerCase()])
|
|
8844
8866
|
});
|
|
8845
8867
|
delete p.footer;
|
|
8846
8868
|
delete p.title;
|
|
@@ -8870,18 +8892,18 @@ function Modal(props) {
|
|
|
8870
8892
|
if (typeof props.onClose === 'function') props.onClose(props.modalKey);
|
|
8871
8893
|
};
|
|
8872
8894
|
return React$1.createElement("div", Object.assign({}, filteredProps), React$1.createElement("div", {
|
|
8873
|
-
className: rootClassName$
|
|
8895
|
+
className: rootClassName$2g + "-header"
|
|
8874
8896
|
}, React$1.createElement("div", {
|
|
8875
|
-
className: rootClassName$
|
|
8897
|
+
className: rootClassName$2g + "-title"
|
|
8876
8898
|
}, props.title), React$1.createElement("div", {
|
|
8877
|
-
className: rootClassName$
|
|
8899
|
+
className: rootClassName$2g + "-close-button"
|
|
8878
8900
|
}, React$1.createElement(IconButton$1, {
|
|
8879
8901
|
onClick: handleClose,
|
|
8880
8902
|
icon: React$1.createElement(CloseIcon, null)
|
|
8881
8903
|
}))), React$1.createElement("div", {
|
|
8882
|
-
className: getMergedClassNames([rootClassName$
|
|
8904
|
+
className: getMergedClassNames([rootClassName$2g + "-content", props.compenseColPaddingContent ? 'compense' : ''])
|
|
8883
8905
|
}, props.children), props.footer ? React$1.createElement("div", {
|
|
8884
|
-
className: rootClassName$
|
|
8906
|
+
className: rootClassName$2g + "-footer"
|
|
8885
8907
|
}, footer) : undefined);
|
|
8886
8908
|
}
|
|
8887
8909
|
Modal.defaultProps = {
|
|
@@ -8890,11 +8912,11 @@ Modal.defaultProps = {
|
|
|
8890
8912
|
size: 'large'
|
|
8891
8913
|
};
|
|
8892
8914
|
|
|
8893
|
-
var rootClassName$
|
|
8915
|
+
var rootClassName$2h = 'component-modal-mask';
|
|
8894
8916
|
var ModalMask = function ModalMask(props) {
|
|
8895
8917
|
var getProps = function getProps() {
|
|
8896
8918
|
var p = _extends({}, props, {
|
|
8897
|
-
className: getMergedClassNames([rootClassName$
|
|
8919
|
+
className: getMergedClassNames([rootClassName$2h, props.className || '', props.mobileOnXS ? 'mobile-on-xs' : ''])
|
|
8898
8920
|
});
|
|
8899
8921
|
delete p.mobileOnXS;
|
|
8900
8922
|
return p;
|
|
@@ -8902,7 +8924,7 @@ var ModalMask = function ModalMask(props) {
|
|
|
8902
8924
|
return React$1.createElement("div", Object.assign({}, getProps()), props.children);
|
|
8903
8925
|
};
|
|
8904
8926
|
|
|
8905
|
-
var rootClassName$
|
|
8927
|
+
var rootClassName$2i = 'comp-modal-manager';
|
|
8906
8928
|
var maskRootClassName = 'component-modal-mask';
|
|
8907
8929
|
var hackFocus = function hackFocus() {
|
|
8908
8930
|
var tmp = document.createElement('input');
|
|
@@ -8977,7 +8999,7 @@ var ModalManager = forwardRef(function (_props, ref) {
|
|
|
8977
8999
|
};
|
|
8978
9000
|
});
|
|
8979
9001
|
var getClassNames = function getClassNames() {
|
|
8980
|
-
return getMergedClassNames([rootClassName$
|
|
9002
|
+
return getMergedClassNames([rootClassName$2i + "-modals"]);
|
|
8981
9003
|
};
|
|
8982
9004
|
return React$1.createElement(React$1.Fragment, null, React$1.createElement(TransitionGroup, {
|
|
8983
9005
|
className: getClassNames()
|
|
@@ -8986,7 +9008,7 @@ var ModalManager = forwardRef(function (_props, ref) {
|
|
|
8986
9008
|
var ModalComponent = React$1.createElement(obj.component, obj.props);
|
|
8987
9009
|
return React$1.createElement(CSSTransition, {
|
|
8988
9010
|
timeout: 300,
|
|
8989
|
-
classNames: (_obj$props2 = obj.props) !== null && _obj$props2 !== void 0 && _obj$props2.mobileOnXS ? rootClassName$
|
|
9011
|
+
classNames: (_obj$props2 = obj.props) !== null && _obj$props2 !== void 0 && _obj$props2.mobileOnXS ? rootClassName$2i + "-mask-mobile-on-xs" : rootClassName$2i + "-mask",
|
|
8990
9012
|
key: (_obj$props3 = obj.props) === null || _obj$props3 === void 0 ? void 0 : _obj$props3.modalKey,
|
|
8991
9013
|
unmountOnExit: true
|
|
8992
9014
|
}, React$1.createElement(ModalMask, {
|
|
@@ -9024,7 +9046,7 @@ PageSubTitle.defaultProps = {
|
|
|
9024
9046
|
text: ''
|
|
9025
9047
|
};
|
|
9026
9048
|
|
|
9027
|
-
var rootClassName$
|
|
9049
|
+
var rootClassName$2j = 'component-paginator';
|
|
9028
9050
|
function Paginator(props) {
|
|
9029
9051
|
var _useState = useState([]),
|
|
9030
9052
|
arrOfNumbers = _useState[0],
|
|
@@ -9050,13 +9072,13 @@ function Paginator(props) {
|
|
|
9050
9072
|
}, [props.quantidadeDePaginas, props.maxLength, props.paginaAtual]);
|
|
9051
9073
|
return React$1.createElement("div", {
|
|
9052
9074
|
id: props.id ? props.id : undefined,
|
|
9053
|
-
className: getMergedClassNames([rootClassName$
|
|
9075
|
+
className: getMergedClassNames([rootClassName$2j, props.className || ''])
|
|
9054
9076
|
}, React$1.createElement("div", {
|
|
9055
|
-
className: rootClassName$
|
|
9077
|
+
className: rootClassName$2j + "-center-content"
|
|
9056
9078
|
}, React$1.createElement("div", {
|
|
9057
9079
|
className: props.loading ? "hidden" : ''
|
|
9058
9080
|
}, props.quantidadeDePaginas > 1 ? React$1.createElement("div", {
|
|
9059
|
-
className: rootClassName$
|
|
9081
|
+
className: rootClassName$2j + "-left-arrow"
|
|
9060
9082
|
}, React$1.createElement(IconButton$1, {
|
|
9061
9083
|
disabled: props.paginaAtual === 1,
|
|
9062
9084
|
icon: React$1.createElement(ChevronArrowLeftIcon, null),
|
|
@@ -9066,11 +9088,11 @@ function Paginator(props) {
|
|
|
9066
9088
|
}
|
|
9067
9089
|
}
|
|
9068
9090
|
})) : undefined, React$1.createElement("div", {
|
|
9069
|
-
className: rootClassName$
|
|
9091
|
+
className: rootClassName$2j + "-numbers"
|
|
9070
9092
|
}, arrOfNumbers.map(function (num) {
|
|
9071
9093
|
return React$1.createElement("button", {
|
|
9072
9094
|
key: num,
|
|
9073
|
-
className: getMergedClassNames([rootClassName$
|
|
9095
|
+
className: getMergedClassNames([rootClassName$2j + "-number", num === props.paginaAtual ? 'active' : '']),
|
|
9074
9096
|
onClick: function onClick() {
|
|
9075
9097
|
if (typeof props.onChange === 'function' && num !== props.paginaAtual) {
|
|
9076
9098
|
props.onChange(num);
|
|
@@ -9078,7 +9100,7 @@ function Paginator(props) {
|
|
|
9078
9100
|
}
|
|
9079
9101
|
}, num);
|
|
9080
9102
|
})), props.quantidadeDePaginas > 1 ? React$1.createElement("div", {
|
|
9081
|
-
className: rootClassName$
|
|
9103
|
+
className: rootClassName$2j + "-right-arrow"
|
|
9082
9104
|
}, React$1.createElement(IconButton$1, {
|
|
9083
9105
|
icon: React$1.createElement(ChevronArrowRightIcon, null),
|
|
9084
9106
|
onClick: function onClick() {
|
|
@@ -9088,19 +9110,19 @@ function Paginator(props) {
|
|
|
9088
9110
|
},
|
|
9089
9111
|
disabled: props.paginaAtual >= props.quantidadeDePaginas
|
|
9090
9112
|
})) : undefined), React$1.createElement(CSSTransition, {
|
|
9091
|
-
classNames: rootClassName$
|
|
9113
|
+
classNames: rootClassName$2j + "-loader",
|
|
9092
9114
|
"in": props.loading,
|
|
9093
9115
|
timeout: 300,
|
|
9094
9116
|
unmountOnExit: true
|
|
9095
9117
|
}, React$1.createElement("div", {
|
|
9096
|
-
className: rootClassName$
|
|
9118
|
+
className: rootClassName$2j + "-loader"
|
|
9097
9119
|
}, React$1.createElement(ThreeDotsLoader, {
|
|
9098
9120
|
size: 2
|
|
9099
9121
|
})))));
|
|
9100
9122
|
}
|
|
9101
9123
|
Paginator.defaultProps = {};
|
|
9102
9124
|
|
|
9103
|
-
var _excluded = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
|
|
9125
|
+
var _excluded$1 = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
|
|
9104
9126
|
function usePagination(props) {
|
|
9105
9127
|
if (props === void 0) {
|
|
9106
9128
|
props = {};
|
|
@@ -9123,7 +9145,7 @@ function usePagination(props) {
|
|
|
9123
9145
|
_props$siblingCount = _props.siblingCount,
|
|
9124
9146
|
siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
|
|
9125
9147
|
maxLength = _props.maxLength,
|
|
9126
|
-
other = _objectWithoutPropertiesLoose(_props, _excluded);
|
|
9148
|
+
other = _objectWithoutPropertiesLoose(_props, _excluded$1);
|
|
9127
9149
|
var isControlledRef = useRef(pageProp !== undefined);
|
|
9128
9150
|
var _useState = useState(currentPage),
|
|
9129
9151
|
pageCurrent = _useState[0],
|
|
@@ -9202,10 +9224,10 @@ function usePagination(props) {
|
|
|
9202
9224
|
}, other);
|
|
9203
9225
|
}
|
|
9204
9226
|
|
|
9205
|
-
var rootClassName$
|
|
9227
|
+
var rootClassName$2k = 'icon-component';
|
|
9206
9228
|
var ThreeDots = function ThreeDots() {
|
|
9207
9229
|
return React$1.createElement("svg", {
|
|
9208
|
-
className: rootClassName$
|
|
9230
|
+
className: rootClassName$2k,
|
|
9209
9231
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
9210
9232
|
fill: 'none',
|
|
9211
9233
|
viewBox: '0.8 0.71 10.32 2.37'
|
|
@@ -9262,8 +9284,8 @@ function useScreenSize() {
|
|
|
9262
9284
|
return value;
|
|
9263
9285
|
}
|
|
9264
9286
|
|
|
9265
|
-
var _excluded$
|
|
9266
|
-
var rootClassName$
|
|
9287
|
+
var _excluded$2 = ["page", "type", "selected"];
|
|
9288
|
+
var rootClassName$2l = 'pagination-component';
|
|
9267
9289
|
var Pagination = function Pagination(props) {
|
|
9268
9290
|
var screenSize = useScreenSize();
|
|
9269
9291
|
var _useState = useState(false),
|
|
@@ -9333,7 +9355,7 @@ var Pagination = function Pagination(props) {
|
|
|
9333
9355
|
return false;
|
|
9334
9356
|
}, [rowsPerPage, countPages, screenSize]);
|
|
9335
9357
|
return React$1.createElement(Row$1, {
|
|
9336
|
-
className: getMergedClassNames([rootClassName$
|
|
9358
|
+
className: getMergedClassNames([rootClassName$2l, countPages ? 'hasLeftItem' : '', countPages || rowsPerPage ? 'oneOf' : ''])
|
|
9337
9359
|
}, countPages || rowsPerPage ? React$1.createElement(Col$1, {
|
|
9338
9360
|
noPadding: true,
|
|
9339
9361
|
cols: rowsPerPage && countPages ? [12, 12, 6, 6, 6] : rowsPerPage || countPages ? [12, 6, 6, 6, 6] : [12, 12, 12, 12, 12]
|
|
@@ -9386,7 +9408,7 @@ var Pagination = function Pagination(props) {
|
|
|
9386
9408
|
var page = _ref2.page,
|
|
9387
9409
|
type = _ref2.type,
|
|
9388
9410
|
selected = _ref2.selected,
|
|
9389
|
-
item = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9411
|
+
item = _objectWithoutPropertiesLoose(_ref2, _excluded$2);
|
|
9390
9412
|
var children = null;
|
|
9391
9413
|
if (type === 'start-ellipsis' || type === 'end-ellipsis') {
|
|
9392
9414
|
children = React$1.createElement("li", {
|
|
@@ -9438,7 +9460,7 @@ var Pagination = function Pagination(props) {
|
|
|
9438
9460
|
}))))));
|
|
9439
9461
|
};
|
|
9440
9462
|
|
|
9441
|
-
var rootClassName$
|
|
9463
|
+
var rootClassName$2m = 'component-video-player';
|
|
9442
9464
|
function VideoPlayer(props) {
|
|
9443
9465
|
var youtubeRegex = /youtu(\.){0,1}be/;
|
|
9444
9466
|
var alreadyPlayed = false;
|
|
@@ -9479,7 +9501,7 @@ function VideoPlayer(props) {
|
|
|
9479
9501
|
}, []);
|
|
9480
9502
|
var getProps = function getProps() {
|
|
9481
9503
|
var p = _extends({}, props, {
|
|
9482
|
-
className: getMergedClassNames([rootClassName$
|
|
9504
|
+
className: getMergedClassNames([rootClassName$2m, props.className, props.blackGround ? 'blackground' : ''])
|
|
9483
9505
|
});
|
|
9484
9506
|
delete p.id;
|
|
9485
9507
|
delete p.url;
|
|
@@ -9575,7 +9597,7 @@ VideoPlayer.defaultProps = {
|
|
|
9575
9597
|
formatUrl: true
|
|
9576
9598
|
};
|
|
9577
9599
|
|
|
9578
|
-
var rootClassName$
|
|
9600
|
+
var rootClassName$2n = 'previa-video';
|
|
9579
9601
|
function PreviaVideo(props) {
|
|
9580
9602
|
var _useState = useState(getUniqueKey()),
|
|
9581
9603
|
id = _useState[0];
|
|
@@ -9611,21 +9633,21 @@ function PreviaVideo(props) {
|
|
|
9611
9633
|
}, [props.videoPlayerProps]);
|
|
9612
9634
|
return React$1.createElement("div", {
|
|
9613
9635
|
id: id,
|
|
9614
|
-
className: rootClassName$
|
|
9636
|
+
className: rootClassName$2n,
|
|
9615
9637
|
onClick: function onClick() {
|
|
9616
9638
|
if (!clicou) setClicou(true);
|
|
9617
9639
|
}
|
|
9618
9640
|
}, React$1.createElement("div", {
|
|
9619
|
-
className: rootClassName$
|
|
9641
|
+
className: rootClassName$2n + "-img",
|
|
9620
9642
|
style: {
|
|
9621
9643
|
backgroundImage: "url(" + props.imgUrl + ")"
|
|
9622
9644
|
}
|
|
9623
9645
|
}), React$1.createElement("div", {
|
|
9624
|
-
className: rootClassName$
|
|
9646
|
+
className: rootClassName$2n + "-icon"
|
|
9625
9647
|
}, React$1.createElement(BigPlayIcon, {
|
|
9626
9648
|
hideBackground: true
|
|
9627
9649
|
})), React$1.createElement("div", {
|
|
9628
|
-
className: rootClassName$
|
|
9650
|
+
className: rootClassName$2n + "-label"
|
|
9629
9651
|
}, props.label), React$1.createElement(CSSTransition, {
|
|
9630
9652
|
"in": clicou,
|
|
9631
9653
|
timeout: 300,
|
|
@@ -9636,7 +9658,7 @@ function PreviaVideo(props) {
|
|
|
9636
9658
|
el.style.height = firstHeight.current;
|
|
9637
9659
|
}
|
|
9638
9660
|
}, React$1.createElement("div", {
|
|
9639
|
-
className: rootClassName$
|
|
9661
|
+
className: rootClassName$2n + "-video"
|
|
9640
9662
|
}, React$1.createElement(VideoPlayer, Object.assign({
|
|
9641
9663
|
blackGround: true
|
|
9642
9664
|
}, videoPlayerProps, {
|
|
@@ -9651,11 +9673,11 @@ var RadioButtonType;
|
|
|
9651
9673
|
RadioButtonType["New"] = "new";
|
|
9652
9674
|
})(RadioButtonType || (RadioButtonType = {}));
|
|
9653
9675
|
|
|
9654
|
-
var rootClassName$
|
|
9676
|
+
var rootClassName$2o = 'component-radio-button';
|
|
9655
9677
|
function RadioButton(props) {
|
|
9656
9678
|
var buttonProps = useMemo(function () {
|
|
9657
9679
|
var p = _extends({}, props, {
|
|
9658
|
-
className: getMergedClassNames([rootClassName$
|
|
9680
|
+
className: getMergedClassNames([rootClassName$2o, props.theme, props.className, rootClassName$2o + "-" + (props.value ? 'checked' : 'not')]),
|
|
9659
9681
|
onClick: function onClick() {
|
|
9660
9682
|
if (!props.disabled) {
|
|
9661
9683
|
props.onChange(!props.value);
|
|
@@ -9676,11 +9698,11 @@ RadioButton.defaultProps = {
|
|
|
9676
9698
|
};
|
|
9677
9699
|
var RadioButton$1 = memo(RadioButton);
|
|
9678
9700
|
|
|
9679
|
-
var rootClassName$
|
|
9701
|
+
var rootClassName$2p = 'component-chip';
|
|
9680
9702
|
function Chip(props) {
|
|
9681
9703
|
var _props$theme;
|
|
9682
9704
|
return React$1.createElement("div", {
|
|
9683
|
-
className: useMergedClassNames([rootClassName$
|
|
9705
|
+
className: useMergedClassNames([rootClassName$2p, props.w100 ? 'w100' : '', props.allClickable ? 'all-clickable' : '', (_props$theme = props.theme) != null ? _props$theme : 'primary-outline']),
|
|
9684
9706
|
onClick: function onClick() {
|
|
9685
9707
|
if (!props.disabled && props.allClickable && typeof props.onClick === 'function') {
|
|
9686
9708
|
props.onClick();
|
|
@@ -9689,7 +9711,7 @@ function Chip(props) {
|
|
|
9689
9711
|
}, React$1.createElement("span", {
|
|
9690
9712
|
className: 'nunito'
|
|
9691
9713
|
}, props.label), React$1.createElement("div", {
|
|
9692
|
-
className: rootClassName$
|
|
9714
|
+
className: rootClassName$2p + "-button",
|
|
9693
9715
|
onClick: function onClick() {
|
|
9694
9716
|
if (!props.disabled && typeof props.onClick === 'function') {
|
|
9695
9717
|
props.onClick();
|
|
@@ -9699,7 +9721,7 @@ function Chip(props) {
|
|
|
9699
9721
|
}
|
|
9700
9722
|
var Chip$1 = memo(Chip);
|
|
9701
9723
|
|
|
9702
|
-
var rootClassName$
|
|
9724
|
+
var rootClassName$2q = 'component-search';
|
|
9703
9725
|
function Search(props) {
|
|
9704
9726
|
var _wrapperRef$current;
|
|
9705
9727
|
var _useState = useState(),
|
|
@@ -9721,11 +9743,11 @@ function Search(props) {
|
|
|
9721
9743
|
var _useState7 = useState(false),
|
|
9722
9744
|
showResults = _useState7[0],
|
|
9723
9745
|
setShowResults = _useState7[1];
|
|
9724
|
-
var wrapperRef =
|
|
9746
|
+
var wrapperRef = createRef();
|
|
9725
9747
|
var handleClickOutside = function handleClickOutside(e) {
|
|
9726
9748
|
if (!e) setShowResults(false);
|
|
9727
9749
|
};
|
|
9728
|
-
useOutsideClick(wrapperRef, handleClickOutside);
|
|
9750
|
+
useOutsideClick([wrapperRef], handleClickOutside);
|
|
9729
9751
|
var onEsc = function onEsc(evt) {
|
|
9730
9752
|
if (evt.key === 'Escape') {
|
|
9731
9753
|
setShowResults(false);
|
|
@@ -9808,7 +9830,7 @@ function Search(props) {
|
|
|
9808
9830
|
return React$1.createElement("div", {
|
|
9809
9831
|
tabIndex: 1,
|
|
9810
9832
|
id: id,
|
|
9811
|
-
className: rootClassName$
|
|
9833
|
+
className: rootClassName$2q,
|
|
9812
9834
|
ref: wrapperRef
|
|
9813
9835
|
}, React$1.createElement(Input$1, {
|
|
9814
9836
|
id: getUniqueKey(),
|
|
@@ -9818,7 +9840,7 @@ function Search(props) {
|
|
|
9818
9840
|
placeholder: props.placeholder,
|
|
9819
9841
|
onKeyDown: function onKeyDown(evt) {
|
|
9820
9842
|
if (evt.key === 'Tab' && !evt.shiftKey || evt.key === 'ArrowDown') {
|
|
9821
|
-
var query = "#" + panelId + " ." + rootClassName$
|
|
9843
|
+
var query = "#" + panelId + " ." + rootClassName$2q + "-options:nth-child(1)";
|
|
9822
9844
|
var optionToFocus = document.querySelector(query);
|
|
9823
9845
|
if (optionToFocus) {
|
|
9824
9846
|
optionToFocus.focus();
|
|
@@ -9827,7 +9849,7 @@ function Search(props) {
|
|
|
9827
9849
|
}
|
|
9828
9850
|
},
|
|
9829
9851
|
rightObject: React$1.createElement("div", {
|
|
9830
|
-
className: rootClassName$
|
|
9852
|
+
className: rootClassName$2q + "-right-container"
|
|
9831
9853
|
}, props.showSelected && selected ? React$1.createElement(Chip$1, {
|
|
9832
9854
|
label: selected,
|
|
9833
9855
|
allClickable: false,
|
|
@@ -9880,7 +9902,7 @@ function Search(props) {
|
|
|
9880
9902
|
unmountOnExit: true
|
|
9881
9903
|
}, React$1.createElement("div", {
|
|
9882
9904
|
id: panelId,
|
|
9883
|
-
className: rootClassName$
|
|
9905
|
+
className: rootClassName$2q + "-panel scroll-white",
|
|
9884
9906
|
style: {
|
|
9885
9907
|
width: ((_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.offsetWidth) + "px"
|
|
9886
9908
|
}
|
|
@@ -9888,7 +9910,7 @@ function Search(props) {
|
|
|
9888
9910
|
return React$1.createElement("div", {
|
|
9889
9911
|
key: i,
|
|
9890
9912
|
tabIndex: 1,
|
|
9891
|
-
className: rootClassName$
|
|
9913
|
+
className: rootClassName$2q + "-options",
|
|
9892
9914
|
onClick: function onClick() {
|
|
9893
9915
|
handleSelectItem(e);
|
|
9894
9916
|
},
|
|
@@ -9944,7 +9966,7 @@ function Search(props) {
|
|
|
9944
9966
|
return React$1.createElement("div", {
|
|
9945
9967
|
key: i,
|
|
9946
9968
|
tabIndex: 1,
|
|
9947
|
-
className: rootClassName$
|
|
9969
|
+
className: rootClassName$2q + "-options",
|
|
9948
9970
|
onClick: function onClick() {
|
|
9949
9971
|
handleSelectItem(results);
|
|
9950
9972
|
},
|
|
@@ -10001,7 +10023,7 @@ Search.defaultProps = {
|
|
|
10001
10023
|
};
|
|
10002
10024
|
var Search$1 = memo(Search);
|
|
10003
10025
|
|
|
10004
|
-
var rootClassName$
|
|
10026
|
+
var rootClassName$2r = 'component-select';
|
|
10005
10027
|
function Select(props) {
|
|
10006
10028
|
var _props$options3;
|
|
10007
10029
|
var _useState = useState(getUniqueKey()),
|
|
@@ -10034,7 +10056,7 @@ function Select(props) {
|
|
|
10034
10056
|
var aux = evt.target;
|
|
10035
10057
|
var deveFechar = true;
|
|
10036
10058
|
while (aux && aux.id !== 'root') {
|
|
10037
|
-
if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$
|
|
10059
|
+
if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$2r + "-outer")) {
|
|
10038
10060
|
deveFechar = false;
|
|
10039
10061
|
break;
|
|
10040
10062
|
}
|
|
@@ -10132,11 +10154,11 @@ function Select(props) {
|
|
|
10132
10154
|
}, [opcoes]);
|
|
10133
10155
|
var getRightObject = function getRightObject() {
|
|
10134
10156
|
return React$1.createElement("div", {
|
|
10135
|
-
className: rootClassName$
|
|
10157
|
+
className: rootClassName$2r + "-objects"
|
|
10136
10158
|
}, props.clearButton && !props.readOnly && (props.multiple && props.value && Array.isArray(props.value) && props.value.length || !props.multiple && (props.value || props.value === 0 || props.value === false)) ? React$1.createElement(IconButton$1, {
|
|
10137
10159
|
disabled: props.disabled || false,
|
|
10138
10160
|
tabIndex: -1,
|
|
10139
|
-
className: rootClassName$
|
|
10161
|
+
className: rootClassName$2r + "-clear-button",
|
|
10140
10162
|
icon: React$1.createElement(CloseIcon, null),
|
|
10141
10163
|
onClick: function onClick() {
|
|
10142
10164
|
if (props.multiple) {
|
|
@@ -10152,7 +10174,7 @@ function Select(props) {
|
|
|
10152
10174
|
}) : undefined, React$1.createElement(IconButton$1, {
|
|
10153
10175
|
disabled: props.disabled || false,
|
|
10154
10176
|
tabIndex: -1,
|
|
10155
|
-
className: rootClassName$
|
|
10177
|
+
className: rootClassName$2r + "-arrow " + rootClassName$2r + "-arrow-" + (panelOpened ? 'up' : 'down'),
|
|
10156
10178
|
onClick: function onClick() {
|
|
10157
10179
|
return setPanelOpened(!panelOpened);
|
|
10158
10180
|
},
|
|
@@ -10162,12 +10184,12 @@ function Select(props) {
|
|
|
10162
10184
|
var getInputProps = function getInputProps() {
|
|
10163
10185
|
var _props$options;
|
|
10164
10186
|
var p = _extends({}, props, {
|
|
10165
|
-
className: getMergedClassNames([rootClassName$
|
|
10187
|
+
className: getMergedClassNames([rootClassName$2r, props.className]),
|
|
10166
10188
|
forceFocus: fakeSelectFocused,
|
|
10167
10189
|
readOnly: true,
|
|
10168
10190
|
rightObject: getRightObject(),
|
|
10169
10191
|
onClick: function onClick() {
|
|
10170
|
-
var selectFake = document.querySelector("#" + id + " ." + rootClassName$
|
|
10192
|
+
var selectFake = document.querySelector("#" + id + " ." + rootClassName$2r + "-select-fake");
|
|
10171
10193
|
if (!props.multiple && isiPhone() && selectFake) {
|
|
10172
10194
|
selectFake.focus();
|
|
10173
10195
|
} else {
|
|
@@ -10175,7 +10197,7 @@ function Select(props) {
|
|
|
10175
10197
|
}
|
|
10176
10198
|
},
|
|
10177
10199
|
onFocus: function onFocus(evt) {
|
|
10178
|
-
var selectFake = document.querySelector("#" + id + " ." + rootClassName$
|
|
10200
|
+
var selectFake = document.querySelector("#" + id + " ." + rootClassName$2r + "-select-fake");
|
|
10179
10201
|
if (!props.multiple && isiPhone() && selectFake) {
|
|
10180
10202
|
selectFake.focus();
|
|
10181
10203
|
} else {
|
|
@@ -10188,12 +10210,12 @@ function Select(props) {
|
|
|
10188
10210
|
evt.preventDefault();
|
|
10189
10211
|
}
|
|
10190
10212
|
if (evt.keyCode === 9 && panelOpened) {
|
|
10191
|
-
var inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10213
|
+
var inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10192
10214
|
if (inputFilter) {
|
|
10193
10215
|
inputFilter.focus();
|
|
10194
10216
|
evt.preventDefault();
|
|
10195
10217
|
} else {
|
|
10196
|
-
var firstOption = document.querySelector("#" + id + " ." + rootClassName$
|
|
10218
|
+
var firstOption = document.querySelector("#" + id + " ." + rootClassName$2r + "-options div");
|
|
10197
10219
|
if (firstOption) {
|
|
10198
10220
|
firstOption.focus();
|
|
10199
10221
|
evt.preventDefault();
|
|
@@ -10242,7 +10264,7 @@ function Select(props) {
|
|
|
10242
10264
|
return React$1.createElement("div", {
|
|
10243
10265
|
tabIndex: 1,
|
|
10244
10266
|
key: getKey(option),
|
|
10245
|
-
className: rootClassName$
|
|
10267
|
+
className: rootClassName$2r + "-multiple-option " + (props.readOnly ? 'read-only' : ''),
|
|
10246
10268
|
onKeyDown: function onKeyDown(evt) {
|
|
10247
10269
|
var child = evt.currentTarget;
|
|
10248
10270
|
var parent = child.parentNode;
|
|
@@ -10252,14 +10274,14 @@ function Select(props) {
|
|
|
10252
10274
|
case 'Tab':
|
|
10253
10275
|
if (evt.shiftKey) {
|
|
10254
10276
|
if (index === 0) {
|
|
10255
|
-
var inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10277
|
+
var inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10256
10278
|
if (inputFilter) {
|
|
10257
10279
|
inputFilter.focus();
|
|
10258
10280
|
evt.preventDefault();
|
|
10259
10281
|
}
|
|
10260
10282
|
}
|
|
10261
10283
|
} else if (index === total - 1) {
|
|
10262
|
-
var selectAll = document.querySelector("#" + panelId + " " + rootClassName$
|
|
10284
|
+
var selectAll = document.querySelector("#" + panelId + " " + rootClassName$2r + "-footer-button." + rootClassName$2r + "-selectAll");
|
|
10263
10285
|
if (selectAll) {
|
|
10264
10286
|
selectAll.focus();
|
|
10265
10287
|
}
|
|
@@ -10280,7 +10302,7 @@ function Select(props) {
|
|
|
10280
10302
|
if (index > 0) {
|
|
10281
10303
|
parent.children[index - 1].focus();
|
|
10282
10304
|
} else {
|
|
10283
|
-
var _inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10305
|
+
var _inputFilter = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10284
10306
|
if (_inputFilter) _inputFilter.focus();
|
|
10285
10307
|
}
|
|
10286
10308
|
evt.preventDefault();
|
|
@@ -10301,7 +10323,7 @@ function Select(props) {
|
|
|
10301
10323
|
handleChange();
|
|
10302
10324
|
}
|
|
10303
10325
|
}), React$1.createElement("div", {
|
|
10304
|
-
className: rootClassName$
|
|
10326
|
+
className: rootClassName$2r + "-multiple-option-label"
|
|
10305
10327
|
}, option.label));
|
|
10306
10328
|
};
|
|
10307
10329
|
var getSingleOption = function getSingleOption(option) {
|
|
@@ -10317,7 +10339,7 @@ function Select(props) {
|
|
|
10317
10339
|
return React$1.createElement("div", {
|
|
10318
10340
|
key: getKey(option),
|
|
10319
10341
|
tabIndex: 1,
|
|
10320
|
-
className: rootClassName$
|
|
10342
|
+
className: rootClassName$2r + "-single-option " + (props.readOnly ? 'read-only' : ''),
|
|
10321
10343
|
onClick: handleChange,
|
|
10322
10344
|
onKeyDown: function onKeyDown(evt) {
|
|
10323
10345
|
var child = evt.currentTarget;
|
|
@@ -10328,7 +10350,7 @@ function Select(props) {
|
|
|
10328
10350
|
case 'Tab':
|
|
10329
10351
|
if (evt.shiftKey) {
|
|
10330
10352
|
if (index === 0) {
|
|
10331
|
-
var inputPanel = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10353
|
+
var inputPanel = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10332
10354
|
if (inputPanel) {
|
|
10333
10355
|
inputPanel.focus();
|
|
10334
10356
|
evt.preventDefault();
|
|
@@ -10349,7 +10371,7 @@ function Select(props) {
|
|
|
10349
10371
|
if (index > 0) {
|
|
10350
10372
|
parent.children[index - 1].focus();
|
|
10351
10373
|
} else {
|
|
10352
|
-
var el = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10374
|
+
var el = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10353
10375
|
if (el) el.focus();
|
|
10354
10376
|
}
|
|
10355
10377
|
evt.preventDefault();
|
|
@@ -10366,7 +10388,7 @@ function Select(props) {
|
|
|
10366
10388
|
};
|
|
10367
10389
|
var noOptionsMessage = useMemo(function () {
|
|
10368
10390
|
return React$1.createElement("div", {
|
|
10369
|
-
className: rootClassName$
|
|
10391
|
+
className: rootClassName$2r + "-no-result"
|
|
10370
10392
|
}, props.noOptionMessage);
|
|
10371
10393
|
}, [props.noOptionMessage]);
|
|
10372
10394
|
var optionsFiltered = useMemo(function () {
|
|
@@ -10377,9 +10399,9 @@ function Select(props) {
|
|
|
10377
10399
|
}, [props.options, filterInput]);
|
|
10378
10400
|
return React$1.createElement("div", {
|
|
10379
10401
|
id: id,
|
|
10380
|
-
className: rootClassName$
|
|
10402
|
+
className: rootClassName$2r + "-outer"
|
|
10381
10403
|
}, !props.multiple && isiPhone() && React$1.createElement("select", {
|
|
10382
|
-
className: rootClassName$
|
|
10404
|
+
className: rootClassName$2r + "-select-fake",
|
|
10383
10405
|
value: props.value ? String(props.value) : '',
|
|
10384
10406
|
onChange: function onChange(evt) {
|
|
10385
10407
|
return props.onChange(evt.target.value, {
|
|
@@ -10412,14 +10434,14 @@ function Select(props) {
|
|
|
10412
10434
|
panel.style.top = 'unset';
|
|
10413
10435
|
panel.style.bottom = '0';
|
|
10414
10436
|
}
|
|
10415
|
-
var firstInput = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10437
|
+
var firstInput = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-panel-input input");
|
|
10416
10438
|
if (firstInput && !isiPhone()) {
|
|
10417
10439
|
setTimeout(function () {
|
|
10418
10440
|
firstInput.focus();
|
|
10419
10441
|
}, 50);
|
|
10420
10442
|
} else {
|
|
10421
10443
|
if (props.multiple) {
|
|
10422
|
-
var optionToFocus = document.querySelector("#" + panelId + " ." + rootClassName$
|
|
10444
|
+
var optionToFocus = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-options div");
|
|
10423
10445
|
if (optionToFocus) {
|
|
10424
10446
|
setTimeout(function () {
|
|
10425
10447
|
optionToFocus.focus();
|
|
@@ -10435,7 +10457,7 @@ function Select(props) {
|
|
|
10435
10457
|
return opt.value === props.value;
|
|
10436
10458
|
});
|
|
10437
10459
|
var index = elProps ? elProps.ind + 1 : 1;
|
|
10438
|
-
var query = "#" + panelId + " ." + rootClassName$
|
|
10460
|
+
var query = "#" + panelId + " ." + rootClassName$2r + "-options div:nth-child(" + index + ")";
|
|
10439
10461
|
var _optionToFocus = document.querySelector(query);
|
|
10440
10462
|
if (_optionToFocus) {
|
|
10441
10463
|
setTimeout(function () {
|
|
@@ -10453,9 +10475,9 @@ function Select(props) {
|
|
|
10453
10475
|
}
|
|
10454
10476
|
}, React$1.createElement("div", {
|
|
10455
10477
|
id: panelId,
|
|
10456
|
-
className: rootClassName$
|
|
10478
|
+
className: rootClassName$2r + "-panel " + (props.multiple ? 'multiple' : '')
|
|
10457
10479
|
}, props.panelFilter && props.options && !!props.options.length && React$1.createElement("div", {
|
|
10458
|
-
className: rootClassName$
|
|
10480
|
+
className: rootClassName$2r + "-panel-input"
|
|
10459
10481
|
}, React$1.createElement(Input$1, {
|
|
10460
10482
|
value: filterInput,
|
|
10461
10483
|
onChange: function onChange(evt) {
|
|
@@ -10465,7 +10487,7 @@ function Select(props) {
|
|
|
10465
10487
|
hideLabelAndHelperText: true,
|
|
10466
10488
|
onKeyDown: function onKeyDown(evt) {
|
|
10467
10489
|
if (evt.key === 'Tab' && !evt.shiftKey || evt.key === 'ArrowDown') {
|
|
10468
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
10490
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$2r + "-options div");
|
|
10469
10491
|
if (el) {
|
|
10470
10492
|
el.focus();
|
|
10471
10493
|
evt.preventDefault();
|
|
@@ -10473,20 +10495,20 @@ function Select(props) {
|
|
|
10473
10495
|
}
|
|
10474
10496
|
}
|
|
10475
10497
|
})), React$1.createElement("div", {
|
|
10476
|
-
className: rootClassName$
|
|
10498
|
+
className: rootClassName$2r + "-options scroll-white"
|
|
10477
10499
|
}, props.options && props.options.length ? optionsFiltered.map(function (option) {
|
|
10478
10500
|
if (props.multiple) {
|
|
10479
10501
|
return getMultipleOption(option);
|
|
10480
10502
|
}
|
|
10481
10503
|
return getSingleOption(option);
|
|
10482
10504
|
}) : noOptionsMessage), props.multiple && props.showPanelFooter && props.options && !!props.options.length && React$1.createElement(React$1.Fragment, null, React$1.createElement("div", {
|
|
10483
|
-
className: rootClassName$
|
|
10505
|
+
className: rootClassName$2r + "-panel-footer-clearfix"
|
|
10484
10506
|
}), React$1.createElement("div", {
|
|
10485
|
-
className: rootClassName$
|
|
10507
|
+
className: rootClassName$2r + "-panel-footer"
|
|
10486
10508
|
}, React$1.createElement(Button$1, {
|
|
10487
10509
|
theme: ButtonThemes.DefaultPrimary,
|
|
10488
10510
|
disabled: props.readOnly,
|
|
10489
|
-
className: rootClassName$
|
|
10511
|
+
className: rootClassName$2r + "-footer-button",
|
|
10490
10512
|
onClick: function onClick() {
|
|
10491
10513
|
return props.onChange(optionsFiltered.map(function (op) {
|
|
10492
10514
|
return op.value;
|
|
@@ -10499,7 +10521,7 @@ function Select(props) {
|
|
|
10499
10521
|
tabIndex: 1,
|
|
10500
10522
|
theme: ButtonThemes.DefaultPrimary,
|
|
10501
10523
|
disabled: props.readOnly,
|
|
10502
|
-
className: rootClassName$
|
|
10524
|
+
className: rootClassName$2r + "-footer-button",
|
|
10503
10525
|
onClick: function onClick() {
|
|
10504
10526
|
return props.onChange([], {
|
|
10505
10527
|
setPanelOpened: setPanelOpened
|
|
@@ -10521,7 +10543,7 @@ Select.defaultProps = {
|
|
|
10521
10543
|
};
|
|
10522
10544
|
var Select$1 = memo(Select);
|
|
10523
10545
|
|
|
10524
|
-
var rootClassName$
|
|
10546
|
+
var rootClassName$2s = 'component-switch';
|
|
10525
10547
|
function Switch(props) {
|
|
10526
10548
|
var handleClick = function handleClick() {
|
|
10527
10549
|
if (typeof props.onChange === 'function' && !props.disabled) {
|
|
@@ -10530,7 +10552,7 @@ function Switch(props) {
|
|
|
10530
10552
|
};
|
|
10531
10553
|
var getProps = function getProps() {
|
|
10532
10554
|
var p = _extends({}, props, {
|
|
10533
|
-
className: getMergedClassNames([rootClassName$
|
|
10555
|
+
className: getMergedClassNames([rootClassName$2s, props.className || '', rootClassName$2s + "-" + (props.value ? 'on' : 'off')]),
|
|
10534
10556
|
onClick: handleClick,
|
|
10535
10557
|
style: _extends({
|
|
10536
10558
|
transform: "scale(" + props.scale + ")"
|
|
@@ -10542,9 +10564,9 @@ function Switch(props) {
|
|
|
10542
10564
|
return p;
|
|
10543
10565
|
};
|
|
10544
10566
|
return React$1.createElement("button", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
10545
|
-
className: rootClassName$
|
|
10567
|
+
className: rootClassName$2s + "-track"
|
|
10546
10568
|
}), React$1.createElement("div", {
|
|
10547
|
-
className: rootClassName$
|
|
10569
|
+
className: rootClassName$2s + "-thumb"
|
|
10548
10570
|
}));
|
|
10549
10571
|
}
|
|
10550
10572
|
Switch.defaultProps = {
|
|
@@ -10554,10 +10576,10 @@ Switch.defaultProps = {
|
|
|
10554
10576
|
scale: 1
|
|
10555
10577
|
};
|
|
10556
10578
|
|
|
10557
|
-
var rootClassName$
|
|
10579
|
+
var rootClassName$2t = 'component-table-actions-column';
|
|
10558
10580
|
var ActionsColumn = function ActionsColumn(props) {
|
|
10559
10581
|
return React$1.createElement("div", {
|
|
10560
|
-
className: rootClassName$
|
|
10582
|
+
className: rootClassName$2t
|
|
10561
10583
|
}, props.buttons && props.buttons.length ? props.buttons.map(function (btn, index) {
|
|
10562
10584
|
return React$1.createElement(IconButton$1, Object.assign({
|
|
10563
10585
|
key: index
|
|
@@ -10568,7 +10590,7 @@ ActionsColumn.defaultProps = {
|
|
|
10568
10590
|
buttons: []
|
|
10569
10591
|
};
|
|
10570
10592
|
|
|
10571
|
-
var rootClassName$
|
|
10593
|
+
var rootClassName$2u = 'component-table';
|
|
10572
10594
|
function TypedTable(props) {
|
|
10573
10595
|
return React$1.createElement(Table, Object.assign({}, props));
|
|
10574
10596
|
}
|
|
@@ -10580,8 +10602,8 @@ function Table(props) {
|
|
|
10580
10602
|
var el = document.getElementById(itemsId);
|
|
10581
10603
|
var sortable = new Sortable(el, {
|
|
10582
10604
|
animation: 300,
|
|
10583
|
-
ghostClass: rootClassName$
|
|
10584
|
-
dragClass: rootClassName$
|
|
10605
|
+
ghostClass: rootClassName$2u + "-item-ghost",
|
|
10606
|
+
dragClass: rootClassName$2u + "-item-dragging",
|
|
10585
10607
|
onStart: function onStart() {
|
|
10586
10608
|
document.body.classList.add('document-grabbing');
|
|
10587
10609
|
},
|
|
@@ -10614,7 +10636,7 @@ function Table(props) {
|
|
|
10614
10636
|
}, []);
|
|
10615
10637
|
var getProps = function getProps() {
|
|
10616
10638
|
var p = _extends({}, props, {
|
|
10617
|
-
className: getMergedClassNames([rootClassName$
|
|
10639
|
+
className: getMergedClassNames([rootClassName$2u, props.className || '', props.upperHeader ? 'has-upper-header' : ''])
|
|
10618
10640
|
});
|
|
10619
10641
|
delete p.columns;
|
|
10620
10642
|
delete p.lines;
|
|
@@ -10625,9 +10647,9 @@ function Table(props) {
|
|
|
10625
10647
|
return p;
|
|
10626
10648
|
};
|
|
10627
10649
|
return React$1.createElement("div", {
|
|
10628
|
-
className: rootClassName$
|
|
10650
|
+
className: rootClassName$2u + "-outer"
|
|
10629
10651
|
}, props.upperHeader ? React$1.createElement(React$1.Fragment, null, React$1.createElement("div", {
|
|
10630
|
-
className: getMergedClassNames([rootClassName$
|
|
10652
|
+
className: getMergedClassNames([rootClassName$2u + "-upper-header", props.upperHeader.active ? 'active' : ''])
|
|
10631
10653
|
}, props.upperHeader.buttons && props.upperHeader.buttons.length ? props.upperHeader.buttons.map(function (btn, index) {
|
|
10632
10654
|
var _props$upperHeader;
|
|
10633
10655
|
return React$1.createElement("button", {
|
|
@@ -10637,7 +10659,7 @@ function Table(props) {
|
|
|
10637
10659
|
disabled: !((_props$upperHeader = props.upperHeader) !== null && _props$upperHeader !== void 0 && _props$upperHeader.active) || (btn === null || btn === void 0 ? void 0 : btn.disabled) || false
|
|
10638
10660
|
}, React$1.createElement("span", null, btn.icon), btn.label);
|
|
10639
10661
|
}) : undefined)) : undefined, React$1.createElement("div", {
|
|
10640
|
-
className: rootClassName$
|
|
10662
|
+
className: rootClassName$2u + "-outer-table"
|
|
10641
10663
|
}, React$1.createElement("table", Object.assign({}, getProps()), React$1.createElement("thead", null, React$1.createElement("tr", null, React$1.createElement("th", null), props.columns && props.columns.length ? Array.from(props.columns).map(function (column, columnIndex) {
|
|
10642
10664
|
return React$1.createElement("th", Object.assign({}, column.props, {
|
|
10643
10665
|
key: column.key ? column.key : columnIndex
|
|
@@ -10683,15 +10705,15 @@ TableActions.defaultProps = {
|
|
|
10683
10705
|
actions: []
|
|
10684
10706
|
};
|
|
10685
10707
|
|
|
10686
|
-
var rootClassName$
|
|
10708
|
+
var rootClassName$2v = 'component-table-file-name-and-action';
|
|
10687
10709
|
function TableFileNameAndAction(props) {
|
|
10688
10710
|
return React$1.createElement("div", {
|
|
10689
|
-
className: rootClassName$
|
|
10711
|
+
className: rootClassName$2v
|
|
10690
10712
|
}, props.files && props.files.length ? props.files.map(function (line, index) {
|
|
10691
10713
|
var obj = line.file ? line.file : line;
|
|
10692
10714
|
return React$1.createElement("div", {
|
|
10693
10715
|
key: index,
|
|
10694
|
-
className: getMergedClassNames([rootClassName$
|
|
10716
|
+
className: getMergedClassNames([rootClassName$2v + "-file", props.white ? 'white' : '', line.disabled ? 'disabled' : '', line.error ? 'error' : ''])
|
|
10695
10717
|
}, React$1.createElement("span", null, obj.name), React$1.createElement(IconButton$1, {
|
|
10696
10718
|
icon: line.uploading ? React$1.createElement(PercentLoaderIcon, {
|
|
10697
10719
|
indefinido: line.indefinido,
|
|
@@ -10749,20 +10771,20 @@ function useDraggableScroll(reference, options) {
|
|
|
10749
10771
|
}, [reference]);
|
|
10750
10772
|
}
|
|
10751
10773
|
|
|
10752
|
-
var rootClassName$
|
|
10774
|
+
var rootClassName$2w = 'component-upper-header-table';
|
|
10753
10775
|
function TableUpperHeader(props) {
|
|
10754
10776
|
var _props$leftContent, _props$rightContent;
|
|
10755
10777
|
return React$1.createElement("div", {
|
|
10756
|
-
className: getMergedClassNames([rootClassName$
|
|
10778
|
+
className: getMergedClassNames([rootClassName$2w, props.active ? 'active' : ''])
|
|
10757
10779
|
}, React$1.createElement("div", {
|
|
10758
|
-
className: rootClassName$
|
|
10780
|
+
className: rootClassName$2w + "-left"
|
|
10759
10781
|
}, (_props$leftContent = props.leftContent) === null || _props$leftContent === void 0 ? void 0 : _props$leftContent.map(function (btn, i) {
|
|
10760
10782
|
return btn.type === 'Button' ? React$1.createElement("button", {
|
|
10761
10783
|
key: i,
|
|
10762
10784
|
id: btn.id,
|
|
10763
10785
|
onClick: btn.onClick,
|
|
10764
10786
|
disabled: !props.active || (btn === null || btn === void 0 ? void 0 : btn.disabled) || false,
|
|
10765
|
-
className: rootClassName$
|
|
10787
|
+
className: rootClassName$2w + "-btn",
|
|
10766
10788
|
type: 'button'
|
|
10767
10789
|
}, btn.leftIcon && React$1.createElement("span", null, btn.leftIcon), btn.label, btn.rightIcon && React$1.createElement("span", null, btn.rightIcon)) : React$1.createElement(DropdownMenu, Object.assign({}, btn, {
|
|
10768
10790
|
key: i
|
|
@@ -10770,19 +10792,19 @@ function TableUpperHeader(props) {
|
|
|
10770
10792
|
key: i,
|
|
10771
10793
|
id: btn.children.id,
|
|
10772
10794
|
onClick: btn.children.onClick,
|
|
10773
|
-
className: rootClassName$
|
|
10795
|
+
className: rootClassName$2w + "-btn",
|
|
10774
10796
|
disabled: !props.active || (btn === null || btn === void 0 ? void 0 : btn.children.disabled) || false,
|
|
10775
10797
|
type: 'button'
|
|
10776
10798
|
}, btn.children.leftIcon && React$1.createElement("span", null, btn.children.leftIcon), btn.children.label, btn.children.rightIcon && React$1.createElement("span", null, btn.children.rightIcon)));
|
|
10777
10799
|
})), React$1.createElement("div", {
|
|
10778
|
-
className: rootClassName$
|
|
10800
|
+
className: rootClassName$2w + "-right"
|
|
10779
10801
|
}, (_props$rightContent = props.rightContent) === null || _props$rightContent === void 0 ? void 0 : _props$rightContent.map(function (btn, i) {
|
|
10780
10802
|
return btn.type === 'Button' ? React$1.createElement("button", {
|
|
10781
10803
|
key: i,
|
|
10782
10804
|
id: btn.id,
|
|
10783
10805
|
onClick: btn.onClick,
|
|
10784
10806
|
disabled: !props.active || (btn === null || btn === void 0 ? void 0 : btn.disabled) || false,
|
|
10785
|
-
className: rootClassName$
|
|
10807
|
+
className: rootClassName$2w + "-btn",
|
|
10786
10808
|
type: 'button'
|
|
10787
10809
|
}, btn.leftIcon && React$1.createElement("span", null, btn.leftIcon), btn.label, btn.rightIcon && React$1.createElement("span", null, btn.rightIcon)) : React$1.createElement(DropdownMenu, Object.assign({}, btn, {
|
|
10788
10810
|
key: "children_" + i
|
|
@@ -10791,23 +10813,23 @@ function TableUpperHeader(props) {
|
|
|
10791
10813
|
id: btn.children.id,
|
|
10792
10814
|
onClick: btn.children.onClick,
|
|
10793
10815
|
disabled: !props.active || (btn === null || btn === void 0 ? void 0 : btn.children.disabled) || false,
|
|
10794
|
-
className: rootClassName$
|
|
10816
|
+
className: rootClassName$2w + "-btn",
|
|
10795
10817
|
type: 'button'
|
|
10796
10818
|
}, btn.children.leftIcon && React$1.createElement("span", null, btn.children.leftIcon), btn.children.label, btn.children.rightIcon && React$1.createElement("span", null, btn.children.rightIcon)));
|
|
10797
10819
|
})), props.collapsedContent ? React$1.createElement(Collapse$1, {
|
|
10798
10820
|
opened: props.opened,
|
|
10799
10821
|
animateOpacity: true
|
|
10800
10822
|
}, React$1.createElement(Row$1, {
|
|
10801
|
-
className: rootClassName$
|
|
10823
|
+
className: rootClassName$2w + "-collapsed"
|
|
10802
10824
|
}, props.collapsedContent)) : undefined);
|
|
10803
10825
|
}
|
|
10804
10826
|
var TableUpperHeader$1 = memo(TableUpperHeader);
|
|
10805
10827
|
|
|
10806
|
-
var rootClassName$
|
|
10828
|
+
var rootClassName$2x = 'component-table-with-overflow';
|
|
10807
10829
|
function TableWithOverflow(props) {
|
|
10808
10830
|
var mediaQuery = useScreenSize();
|
|
10809
10831
|
var wrapperClassName = useMemo(function () {
|
|
10810
|
-
return getMergedClassNames([rootClassName$
|
|
10832
|
+
return getMergedClassNames([rootClassName$2x + "-wrapper", props.upperHeader ? 'has-upper-header' : '', props.noResultMessage && !props.lines.length ? 'no-result' : '', 'left-columns-padding']);
|
|
10811
10833
|
}, [props.upperHeader, props.lines, props.noResultMessage]);
|
|
10812
10834
|
var outerTableRef = createRef();
|
|
10813
10835
|
useDraggableScroll(outerTableRef, {
|
|
@@ -10895,9 +10917,9 @@ function TableWithOverflow(props) {
|
|
|
10895
10917
|
});
|
|
10896
10918
|
}, [props.lines, props.columns, atLeastOneStaticColumn, someAbsoluteColumn]);
|
|
10897
10919
|
return React$1.createElement("div", {
|
|
10898
|
-
className: rootClassName$
|
|
10920
|
+
className: rootClassName$2x
|
|
10899
10921
|
}, props.upperHeader ? React$1.createElement("div", {
|
|
10900
|
-
className: rootClassName$
|
|
10922
|
+
className: rootClassName$2x + "-upper-header"
|
|
10901
10923
|
}, React$1.createElement(TableUpperHeader$1, Object.assign({}, props.upperHeader))) : undefined, React$1.createElement("div", {
|
|
10902
10924
|
className: wrapperClassName,
|
|
10903
10925
|
style: {
|
|
@@ -10905,7 +10927,7 @@ function TableWithOverflow(props) {
|
|
|
10905
10927
|
paddingRight: paddingRight
|
|
10906
10928
|
}
|
|
10907
10929
|
}, props.showTopNavigator && React$1.createElement("div", {
|
|
10908
|
-
className: rootClassName$
|
|
10930
|
+
className: rootClassName$2x + "-table-arrows"
|
|
10909
10931
|
}, React$1.createElement(IconButton$1, {
|
|
10910
10932
|
icon: React$1.createElement(CircleArrowLeft, null),
|
|
10911
10933
|
onClick: function onClick() {
|
|
@@ -10917,14 +10939,14 @@ function TableWithOverflow(props) {
|
|
|
10917
10939
|
handleArrowClick(150);
|
|
10918
10940
|
}
|
|
10919
10941
|
})), React$1.createElement("div", {
|
|
10920
|
-
className: rootClassName$
|
|
10942
|
+
className: rootClassName$2x + "-outer-table",
|
|
10921
10943
|
ref: outerTableRef
|
|
10922
10944
|
}, React$1.createElement("table", null, React$1.createElement("thead", null, React$1.createElement("tr", null, React$1.createElement("th", {
|
|
10923
10945
|
className: 'absolute left-0'
|
|
10924
10946
|
}), columnsHeader, React$1.createElement("th", {
|
|
10925
10947
|
className: 'absolute right-0'
|
|
10926
10948
|
})), React$1.createElement("tr", null)), React$1.createElement("tbody", null, lines))), props.noResultMessage && !props.lines.length ? React$1.createElement("div", {
|
|
10927
|
-
className: rootClassName$
|
|
10949
|
+
className: rootClassName$2x + "-no-result"
|
|
10928
10950
|
}, props.noResultMessage) : undefined));
|
|
10929
10951
|
}
|
|
10930
10952
|
TableWithOverflow.defaultProps = {
|
|
@@ -10932,7 +10954,7 @@ TableWithOverflow.defaultProps = {
|
|
|
10932
10954
|
};
|
|
10933
10955
|
var TableWithOverflow$1 = memo(TableWithOverflow);
|
|
10934
10956
|
|
|
10935
|
-
var rootClassName$
|
|
10957
|
+
var rootClassName$2y = 'component-tabs';
|
|
10936
10958
|
function Tabs(props) {
|
|
10937
10959
|
var _props$tabs;
|
|
10938
10960
|
var navRef = createRef();
|
|
@@ -10958,14 +10980,14 @@ function Tabs(props) {
|
|
|
10958
10980
|
};
|
|
10959
10981
|
}, [startBar]);
|
|
10960
10982
|
return React$1.createElement("nav", {
|
|
10961
|
-
className: rootClassName$
|
|
10983
|
+
className: rootClassName$2y,
|
|
10962
10984
|
style: {
|
|
10963
10985
|
justifyContent: props.justify
|
|
10964
10986
|
},
|
|
10965
10987
|
ref: navRef
|
|
10966
10988
|
}, (_props$tabs = props.tabs) === null || _props$tabs === void 0 ? void 0 : _props$tabs.map(function (tab, index) {
|
|
10967
10989
|
return React$1.createElement("button", {
|
|
10968
|
-
className: getMergedClassNames([rootClassName$
|
|
10990
|
+
className: getMergedClassNames([rootClassName$2y + "-tab", props.atual === index ? 'atual' : '', props.atual && props.changeTitleColor ? 'change' : '']),
|
|
10969
10991
|
onClick: function onClick() {
|
|
10970
10992
|
props.onChange(index);
|
|
10971
10993
|
},
|
|
@@ -10975,12 +10997,12 @@ function Tabs(props) {
|
|
|
10975
10997
|
}, React$1.createElement("span", null, tab.title));
|
|
10976
10998
|
}), React$1.createElement("div", {
|
|
10977
10999
|
ref: actualRef,
|
|
10978
|
-
className: rootClassName$
|
|
11000
|
+
className: rootClassName$2y + "-bar"
|
|
10979
11001
|
}));
|
|
10980
11002
|
}
|
|
10981
11003
|
var Tabs$1 = memo(Tabs);
|
|
10982
11004
|
|
|
10983
|
-
var rootClassName$
|
|
11005
|
+
var rootClassName$2z = 'text-editor-header-input';
|
|
10984
11006
|
function TextEditorHeaderInput(props) {
|
|
10985
11007
|
var _useState = useState(getUniqueKey()),
|
|
10986
11008
|
inputLabelId = _useState[0];
|
|
@@ -11002,7 +11024,7 @@ function TextEditorHeaderInput(props) {
|
|
|
11002
11024
|
(_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, evt);
|
|
11003
11025
|
evt.stopPropagation();
|
|
11004
11026
|
},
|
|
11005
|
-
className: getMergedClassNames([rootClassName$
|
|
11027
|
+
className: getMergedClassNames([rootClassName$2z + "-input", props.className || '']),
|
|
11006
11028
|
value: props.value,
|
|
11007
11029
|
onKeyUp: function onKeyUp(evt) {
|
|
11008
11030
|
if (evt.key === 'Enter' && typeof props.onEnter === 'function') {
|
|
@@ -11012,25 +11034,25 @@ function TextEditorHeaderInput(props) {
|
|
|
11012
11034
|
};
|
|
11013
11035
|
};
|
|
11014
11036
|
return React$1.createElement("div", {
|
|
11015
|
-
className: rootClassName$
|
|
11037
|
+
className: rootClassName$2z
|
|
11016
11038
|
}, React$1.createElement("div", {
|
|
11017
11039
|
id: inputLabelId,
|
|
11018
|
-
className: getMergedClassNames([rootClassName$
|
|
11040
|
+
className: getMergedClassNames([rootClassName$2z + "-label", props.value ? 'top' : ''])
|
|
11019
11041
|
}, props.label), React$1.createElement("input", Object.assign({}, getInputProps())));
|
|
11020
11042
|
}
|
|
11021
11043
|
TextEditorHeaderInput.defaultProps = {
|
|
11022
11044
|
onChange: function onChange() {}
|
|
11023
11045
|
};
|
|
11024
11046
|
|
|
11025
|
-
var rootClassName$
|
|
11047
|
+
var rootClassName$2A = 'text-editor-menu-button';
|
|
11026
11048
|
function TextEditorMenuButton(props) {
|
|
11027
11049
|
return React$1.createElement("button", Object.assign({}, props, {
|
|
11028
|
-
className: getMergedClassNames([props.className || '', rootClassName$
|
|
11050
|
+
className: getMergedClassNames([props.className || '', rootClassName$2A])
|
|
11029
11051
|
}));
|
|
11030
11052
|
}
|
|
11031
11053
|
|
|
11032
|
-
var rootClassName$
|
|
11033
|
-
var colorClassName = rootClassName$
|
|
11054
|
+
var rootClassName$2B = 'text-editor-color-picker';
|
|
11055
|
+
var colorClassName = rootClassName$2B + "-color-button";
|
|
11034
11056
|
var defaultColors = ['#121212', '#323c32', '#5a645a', '#828a82', '#33820d', '#3fa110'];
|
|
11035
11057
|
function ColorButton(props) {
|
|
11036
11058
|
return React$1.createElement("button", {
|
|
@@ -11046,7 +11068,6 @@ function ColorButton(props) {
|
|
|
11046
11068
|
}
|
|
11047
11069
|
var timeOutID = null;
|
|
11048
11070
|
function TextEditorColorPicker(props) {
|
|
11049
|
-
var _window$localStorage$;
|
|
11050
11071
|
var _useState = useState(''),
|
|
11051
11072
|
hexa = _useState[0],
|
|
11052
11073
|
setHexa = _useState[1];
|
|
@@ -11083,7 +11104,8 @@ function TextEditorColorPicker(props) {
|
|
|
11083
11104
|
}
|
|
11084
11105
|
}
|
|
11085
11106
|
}, [props.opened]);
|
|
11086
|
-
var
|
|
11107
|
+
var luc = window.localStorage.getItem('lastUsedColors');
|
|
11108
|
+
var lastUsedColors = luc ? JSON.parse(luc) : ['', '', '', '', '', ''];
|
|
11087
11109
|
var submitColor = function submitColor(color) {
|
|
11088
11110
|
var _window$getSelection;
|
|
11089
11111
|
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.setBaseAndExtent(previousSelection.anchorNode, previousSelection.anchorOffset, previousSelection.focusNode, previousSelection.focusOffset);
|
|
@@ -11101,9 +11123,9 @@ function TextEditorColorPicker(props) {
|
|
|
11101
11123
|
};
|
|
11102
11124
|
return React$1.createElement("div", {
|
|
11103
11125
|
id: id,
|
|
11104
|
-
className: rootClassName$
|
|
11126
|
+
className: rootClassName$2B
|
|
11105
11127
|
}, React$1.createElement("div", {
|
|
11106
|
-
className: rootClassName$
|
|
11128
|
+
className: rootClassName$2B + "-colors"
|
|
11107
11129
|
}, defaultColors.map(function (color, index) {
|
|
11108
11130
|
return React$1.createElement(ColorButton, {
|
|
11109
11131
|
key: index,
|
|
@@ -11113,7 +11135,7 @@ function TextEditorColorPicker(props) {
|
|
|
11113
11135
|
}
|
|
11114
11136
|
});
|
|
11115
11137
|
})), React$1.createElement("div", {
|
|
11116
|
-
className: rootClassName$
|
|
11138
|
+
className: rootClassName$2B + "-colors"
|
|
11117
11139
|
}, lastUsedColors.map(function (color, index) {
|
|
11118
11140
|
return React$1.createElement(ColorButton, {
|
|
11119
11141
|
key: index,
|
|
@@ -11124,9 +11146,9 @@ function TextEditorColorPicker(props) {
|
|
|
11124
11146
|
}
|
|
11125
11147
|
});
|
|
11126
11148
|
})), React$1.createElement("div", {
|
|
11127
|
-
className: rootClassName$
|
|
11149
|
+
className: rootClassName$2B + "-hexa-row"
|
|
11128
11150
|
}, React$1.createElement("div", {
|
|
11129
|
-
className: rootClassName$
|
|
11151
|
+
className: rootClassName$2B + "-picker-col"
|
|
11130
11152
|
}, React$1.createElement("input", {
|
|
11131
11153
|
value: hexa,
|
|
11132
11154
|
onChange: function onChange(evt) {
|
|
@@ -11137,7 +11159,7 @@ function TextEditorColorPicker(props) {
|
|
|
11137
11159
|
setHexa(val);
|
|
11138
11160
|
}, 200);
|
|
11139
11161
|
},
|
|
11140
|
-
className: rootClassName$
|
|
11162
|
+
className: rootClassName$2B + "-color-picker",
|
|
11141
11163
|
type: 'color'
|
|
11142
11164
|
})), React$1.createElement(TextEditorHeaderInput, {
|
|
11143
11165
|
label: 'Hexadecimal',
|
|
@@ -11158,19 +11180,19 @@ TextEditorColorPicker.defaultProps = {
|
|
|
11158
11180
|
onChange: function onChange() {}
|
|
11159
11181
|
};
|
|
11160
11182
|
|
|
11161
|
-
var _excluded$
|
|
11162
|
-
var rootClassName$
|
|
11183
|
+
var _excluded$3 = ["icon", "active"];
|
|
11184
|
+
var rootClassName$2C = 'text-editor-header-button';
|
|
11163
11185
|
function TextEditorHeaderButton(_ref) {
|
|
11164
11186
|
var _props$className;
|
|
11165
11187
|
var icon = _ref.icon,
|
|
11166
11188
|
active = _ref.active,
|
|
11167
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11189
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
11168
11190
|
return React$1.createElement("button", Object.assign({
|
|
11169
|
-
className: getMergedClassNames([rootClassName$
|
|
11191
|
+
className: getMergedClassNames([rootClassName$2C, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
|
|
11170
11192
|
}, props), icon);
|
|
11171
11193
|
}
|
|
11172
11194
|
|
|
11173
|
-
var rootClassName$
|
|
11195
|
+
var rootClassName$2D = 'text-editor-title-choser';
|
|
11174
11196
|
function TextEditorTitleChoser(props) {
|
|
11175
11197
|
var _useState = useState(getUniqueKey()),
|
|
11176
11198
|
id = _useState[0];
|
|
@@ -11209,7 +11231,7 @@ function TextEditorTitleChoser(props) {
|
|
|
11209
11231
|
}
|
|
11210
11232
|
};
|
|
11211
11233
|
return React$1.createElement("div", {
|
|
11212
|
-
className: rootClassName$
|
|
11234
|
+
className: rootClassName$2D,
|
|
11213
11235
|
id: id
|
|
11214
11236
|
}, React$1.createElement("button", {
|
|
11215
11237
|
onClick: function onClick() {
|
|
@@ -11225,7 +11247,7 @@ TextEditorTitleChoser.defaultProps = {
|
|
|
11225
11247
|
onChange: function onChange() {}
|
|
11226
11248
|
};
|
|
11227
11249
|
|
|
11228
|
-
var rootClassName$
|
|
11250
|
+
var rootClassName$2E = 'text-editor-url-creator';
|
|
11229
11251
|
function TextEditorUrlCreator(props) {
|
|
11230
11252
|
var _useState = useState(getUniqueKey()),
|
|
11231
11253
|
id = _useState[0];
|
|
@@ -11290,9 +11312,9 @@ function TextEditorUrlCreator(props) {
|
|
|
11290
11312
|
};
|
|
11291
11313
|
return React$1.createElement("div", {
|
|
11292
11314
|
id: id,
|
|
11293
|
-
className: rootClassName$
|
|
11315
|
+
className: rootClassName$2E
|
|
11294
11316
|
}, React$1.createElement(Row$1, {
|
|
11295
|
-
className: rootClassName$
|
|
11317
|
+
className: rootClassName$2E + "-url-row"
|
|
11296
11318
|
}, React$1.createElement(TextEditorHeaderInput, {
|
|
11297
11319
|
label: 'Url',
|
|
11298
11320
|
value: urlValue,
|
|
@@ -11301,7 +11323,7 @@ function TextEditorUrlCreator(props) {
|
|
|
11301
11323
|
},
|
|
11302
11324
|
onEnter: handleSubmit
|
|
11303
11325
|
})), React$1.createElement(Row$1, {
|
|
11304
|
-
className: rootClassName$
|
|
11326
|
+
className: rootClassName$2E + "-text-row"
|
|
11305
11327
|
}, React$1.createElement(TextEditorHeaderInput, {
|
|
11306
11328
|
label: 'Texto',
|
|
11307
11329
|
value: textValue,
|
|
@@ -11310,7 +11332,7 @@ function TextEditorUrlCreator(props) {
|
|
|
11310
11332
|
},
|
|
11311
11333
|
onEnter: handleSubmit
|
|
11312
11334
|
})), React$1.createElement(Row$1, {
|
|
11313
|
-
className: rootClassName$
|
|
11335
|
+
className: rootClassName$2E + "-new-tab-row"
|
|
11314
11336
|
}, React$1.createElement(Checkbox$1, {
|
|
11315
11337
|
value: newTab,
|
|
11316
11338
|
onChange: function onChange(value) {
|
|
@@ -11321,7 +11343,7 @@ function TextEditorUrlCreator(props) {
|
|
|
11321
11343
|
return setNewTab(!newTab);
|
|
11322
11344
|
}
|
|
11323
11345
|
}, "Nova Guia")), React$1.createElement(Row$1, {
|
|
11324
|
-
className: rootClassName$
|
|
11346
|
+
className: rootClassName$2E + "-ok-row"
|
|
11325
11347
|
}, React$1.createElement(TextEditorMenuButton, {
|
|
11326
11348
|
disabled: !urlValue || !textValue,
|
|
11327
11349
|
onClick: handleSubmit
|
|
@@ -11331,7 +11353,7 @@ TextEditorUrlCreator.defaultProps = {
|
|
|
11331
11353
|
onChange: function onChange() {}
|
|
11332
11354
|
};
|
|
11333
11355
|
|
|
11334
|
-
var rootClassName$
|
|
11356
|
+
var rootClassName$2F = 'component-text-editor';
|
|
11335
11357
|
function TextEditor(props) {
|
|
11336
11358
|
var _cursor$foreColor;
|
|
11337
11359
|
var _useState = useState(getUniqueKey()),
|
|
@@ -11350,7 +11372,7 @@ function TextEditor(props) {
|
|
|
11350
11372
|
setCursor = _useState5[1];
|
|
11351
11373
|
var getProps = function getProps() {
|
|
11352
11374
|
var p = _extends({}, props, {
|
|
11353
|
-
className: getMergedClassNames([rootClassName$
|
|
11375
|
+
className: getMergedClassNames([rootClassName$2F, props.className || '', props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
11354
11376
|
});
|
|
11355
11377
|
delete p.topLabel;
|
|
11356
11378
|
delete p.helperText;
|
|
@@ -11435,13 +11457,13 @@ function TextEditor(props) {
|
|
|
11435
11457
|
}
|
|
11436
11458
|
}, [props.value]);
|
|
11437
11459
|
return React$1.createElement("div", {
|
|
11438
|
-
className: rootClassName$
|
|
11460
|
+
className: rootClassName$2F + "-outer"
|
|
11439
11461
|
}, !props.hideTopLabel && React$1.createElement("div", {
|
|
11440
|
-
className: getMergedClassNames([rootClassName$
|
|
11462
|
+
className: getMergedClassNames([rootClassName$2F + "-top-label", props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
11441
11463
|
}, props.topLabel), React$1.createElement("div", Object.assign({}, getProps()), React$1.createElement("div", {
|
|
11442
|
-
className: rootClassName$
|
|
11464
|
+
className: rootClassName$2F + "-header"
|
|
11443
11465
|
}, React$1.createElement("div", {
|
|
11444
|
-
className: rootClassName$
|
|
11466
|
+
className: rootClassName$2F + "-left-content"
|
|
11445
11467
|
}, React$1.createElement(DropdownMenu, {
|
|
11446
11468
|
opened: fontOpened,
|
|
11447
11469
|
setOpened: setFontOpened,
|
|
@@ -11572,7 +11594,7 @@ function TextEditor(props) {
|
|
|
11572
11594
|
(_document$querySelect12 = document.querySelector("#" + id)) === null || _document$querySelect12 === void 0 ? void 0 : _document$querySelect12.focus();
|
|
11573
11595
|
}
|
|
11574
11596
|
})), React$1.createElement("div", {
|
|
11575
|
-
className: rootClassName$
|
|
11597
|
+
className: rootClassName$2F + "-right-content"
|
|
11576
11598
|
}, React$1.createElement(TextEditorHeaderButton, {
|
|
11577
11599
|
disabled: props.disabled,
|
|
11578
11600
|
icon: React$1.createElement(UndoIcon, null),
|
|
@@ -11587,12 +11609,12 @@ function TextEditor(props) {
|
|
|
11587
11609
|
}
|
|
11588
11610
|
}))), React$1.createElement("div", {
|
|
11589
11611
|
id: id,
|
|
11590
|
-
className: rootClassName$
|
|
11612
|
+
className: rootClassName$2F + "-editor",
|
|
11591
11613
|
contentEditable: !props.disabled,
|
|
11592
11614
|
onClick: verifyCursor,
|
|
11593
11615
|
onKeyUp: verifyCursor
|
|
11594
11616
|
})), !props.hideHelperText && React$1.createElement("div", {
|
|
11595
|
-
className: getMergedClassNames([rootClassName$
|
|
11617
|
+
className: getMergedClassNames([rootClassName$2F + "-helper-text", props.disabled ? 'disabled' : '', props.error ? 'error' : ''])
|
|
11596
11618
|
}, props.helperText));
|
|
11597
11619
|
}
|
|
11598
11620
|
TextEditor.defaultProps = {
|
|
@@ -11601,25 +11623,25 @@ TextEditor.defaultProps = {
|
|
|
11601
11623
|
onChange: function onChange() {}
|
|
11602
11624
|
};
|
|
11603
11625
|
|
|
11604
|
-
var rootClassName$
|
|
11626
|
+
var rootClassName$2G = 'component-title';
|
|
11605
11627
|
function Title(props) {
|
|
11606
11628
|
return React$1.createElement("div", {
|
|
11607
|
-
className: getMergedClassNames([rootClassName$
|
|
11629
|
+
className: getMergedClassNames([rootClassName$2G, props.hideRightElementXS ? 'hide-right-xs' : '']),
|
|
11608
11630
|
style: {
|
|
11609
11631
|
alignItems: props.align,
|
|
11610
11632
|
flexWrap: props.flexWrap
|
|
11611
11633
|
}
|
|
11612
11634
|
}, React$1.createElement("div", {
|
|
11613
|
-
className: rootClassName$
|
|
11635
|
+
className: rootClassName$2G + "-wrapper"
|
|
11614
11636
|
}, props.showBackButton ? React$1.createElement("div", {
|
|
11615
|
-
className: rootClassName$
|
|
11637
|
+
className: rootClassName$2G + "-icon"
|
|
11616
11638
|
}, React$1.createElement(IconButton$1, {
|
|
11617
11639
|
icon: React$1.createElement(ArrowLeftIcon, null),
|
|
11618
11640
|
onClick: props.onBackClick
|
|
11619
11641
|
})) : undefined, React$1.createElement("div", {
|
|
11620
|
-
className: getMergedClassNames([rootClassName$
|
|
11642
|
+
className: getMergedClassNames([rootClassName$2G + "-text", props.oneLineTitle ? 'one-line-title' : ''])
|
|
11621
11643
|
}, props.children)), props.rightElement ? React$1.createElement("div", {
|
|
11622
|
-
className: rootClassName$
|
|
11644
|
+
className: rootClassName$2G + "-right-element"
|
|
11623
11645
|
}, props.rightElement) : undefined);
|
|
11624
11646
|
}
|
|
11625
11647
|
Title.defaultProps = {};
|
|
@@ -11632,15 +11654,15 @@ var ToastTypes;
|
|
|
11632
11654
|
ToastTypes["Warning"] = "warning";
|
|
11633
11655
|
})(ToastTypes || (ToastTypes = {}));
|
|
11634
11656
|
|
|
11635
|
-
var rootClassName$
|
|
11657
|
+
var rootClassName$2H = 'component-toast';
|
|
11636
11658
|
function Toast(props) {
|
|
11637
11659
|
var _useState = useState(props.id || getUniqueKey()),
|
|
11638
11660
|
id = _useState[0];
|
|
11639
11661
|
var getClassNames = function getClassNames() {
|
|
11640
|
-
return getMergedClassNames([rootClassName$
|
|
11662
|
+
return getMergedClassNames([rootClassName$2H, rootClassName$2H + "-" + props.theme]);
|
|
11641
11663
|
};
|
|
11642
11664
|
useEffect(function () {
|
|
11643
|
-
var el = document.querySelector("#" + id + " ." + rootClassName$
|
|
11665
|
+
var el = document.querySelector("#" + id + " ." + rootClassName$2H + "-fill");
|
|
11644
11666
|
if (el) {
|
|
11645
11667
|
el.style.animation = "fillToZero " + props.timeout + "ms linear forwards";
|
|
11646
11668
|
}
|
|
@@ -11679,22 +11701,22 @@ function Toast(props) {
|
|
|
11679
11701
|
id: id,
|
|
11680
11702
|
className: getClassNames()
|
|
11681
11703
|
}, React$1.createElement("div", {
|
|
11682
|
-
className: rootClassName$
|
|
11704
|
+
className: rootClassName$2H + "-left-content"
|
|
11683
11705
|
}, props.label), React$1.createElement("div", {
|
|
11684
|
-
className: rootClassName$
|
|
11706
|
+
className: rootClassName$2H + "-right-content"
|
|
11685
11707
|
}, props.showActionButton && React$1.createElement("div", {
|
|
11686
|
-
className: rootClassName$
|
|
11708
|
+
className: rootClassName$2H + "-action-button"
|
|
11687
11709
|
}, props.actionButtonText), React$1.createElement("div", {
|
|
11688
|
-
className: rootClassName$
|
|
11710
|
+
className: rootClassName$2H + "-close-button"
|
|
11689
11711
|
}, React$1.createElement(IconButton$1, {
|
|
11690
11712
|
icon: React$1.createElement(CloseIcon, null),
|
|
11691
11713
|
onClick: function onClick() {
|
|
11692
11714
|
if (typeof props.onClose === 'function') props.onClose();
|
|
11693
11715
|
}
|
|
11694
11716
|
}))), props.timeout ? React$1.createElement("div", {
|
|
11695
|
-
className: getMergedClassNames([rootClassName$
|
|
11717
|
+
className: getMergedClassNames([rootClassName$2H + "-bar", props.showStatusBar ? '' : 'hide'])
|
|
11696
11718
|
}, React$1.createElement("div", {
|
|
11697
|
-
className: rootClassName$
|
|
11719
|
+
className: rootClassName$2H + "-fill",
|
|
11698
11720
|
onAnimationEnd: function onAnimationEnd() {
|
|
11699
11721
|
if (typeof props.onClose === 'function') props.onClose();
|
|
11700
11722
|
}
|
|
@@ -11709,7 +11731,7 @@ Toast.defaultProps = {
|
|
|
11709
11731
|
onClose: function onClose() {}
|
|
11710
11732
|
};
|
|
11711
11733
|
|
|
11712
|
-
var rootClassName$
|
|
11734
|
+
var rootClassName$2I = 'comp-toast-manager';
|
|
11713
11735
|
var count = 0;
|
|
11714
11736
|
var ToastManager = forwardRef(function (props, ref) {
|
|
11715
11737
|
var _useState = useState([]),
|
|
@@ -11773,17 +11795,17 @@ var ToastManager = forwardRef(function (props, ref) {
|
|
|
11773
11795
|
};
|
|
11774
11796
|
});
|
|
11775
11797
|
var getClassNames = function getClassNames() {
|
|
11776
|
-
return getMergedClassNames([rootClassName$
|
|
11798
|
+
return getMergedClassNames([rootClassName$2I + "-toasts", rootClassName$2I + "-" + props.verticalPosition, rootClassName$2I + "-" + props.horizontalPosition, props.reverse ? rootClassName$2I + "-reverse" : '', props.animateSize ? rootClassName$2I + "-animate-size" : '']);
|
|
11777
11799
|
};
|
|
11778
11800
|
useLayoutEffect(function () {
|
|
11779
|
-
var wrapper = document.querySelector("." + rootClassName$
|
|
11801
|
+
var wrapper = document.querySelector("." + rootClassName$2I + "-toasts");
|
|
11780
11802
|
if (wrapper && wrapper.childElementCount > 0) {
|
|
11781
11803
|
var somaDasAlturas = 0;
|
|
11782
11804
|
if (props.verticalPosition === 'top' && !props.reverse) {
|
|
11783
11805
|
somaDasAlturas = 12;
|
|
11784
11806
|
for (var i = 0; i < wrapper.children.length; i++) {
|
|
11785
11807
|
var el = wrapper.children[i];
|
|
11786
|
-
if (!el.classList.contains(rootClassName$
|
|
11808
|
+
if (!el.classList.contains(rootClassName$2I + "-toast-exit")) {
|
|
11787
11809
|
el.style.transform = "translateY(" + somaDasAlturas + "px)";
|
|
11788
11810
|
somaDasAlturas += el.getBoundingClientRect().height + 12;
|
|
11789
11811
|
}
|
|
@@ -11791,7 +11813,7 @@ var ToastManager = forwardRef(function (props, ref) {
|
|
|
11791
11813
|
} else if (props.verticalPosition === 'top') {
|
|
11792
11814
|
for (var _i = wrapper.children.length - 1; _i >= 0; _i--) {
|
|
11793
11815
|
var _el = wrapper.children[_i];
|
|
11794
|
-
if (!_el.classList.contains(rootClassName$
|
|
11816
|
+
if (!_el.classList.contains(rootClassName$2I + "-toast-exit")) {
|
|
11795
11817
|
somaDasAlturas += _el.getBoundingClientRect().height + 12;
|
|
11796
11818
|
_el.style.transform = "translateY(" + somaDasAlturas + "px)";
|
|
11797
11819
|
}
|
|
@@ -11799,7 +11821,7 @@ var ToastManager = forwardRef(function (props, ref) {
|
|
|
11799
11821
|
} else if (props.verticalPosition === 'bottom' && !props.reverse) {
|
|
11800
11822
|
for (var _i2 = 0; _i2 < wrapper.children.length; _i2++) {
|
|
11801
11823
|
var _el2 = wrapper.children[_i2];
|
|
11802
|
-
if (!_el2.classList.contains(rootClassName$
|
|
11824
|
+
if (!_el2.classList.contains(rootClassName$2I + "-toast-exit")) {
|
|
11803
11825
|
somaDasAlturas += _el2.getBoundingClientRect().height + 12;
|
|
11804
11826
|
_el2.style.transform = "translateY(-" + somaDasAlturas + "px)";
|
|
11805
11827
|
}
|
|
@@ -11808,7 +11830,7 @@ var ToastManager = forwardRef(function (props, ref) {
|
|
|
11808
11830
|
somaDasAlturas = 12;
|
|
11809
11831
|
for (var _i3 = wrapper.children.length - 1; _i3 >= 0; _i3--) {
|
|
11810
11832
|
var _el3 = wrapper.children[_i3];
|
|
11811
|
-
if (!_el3.classList.contains(rootClassName$
|
|
11833
|
+
if (!_el3.classList.contains(rootClassName$2I + "-toast-exit")) {
|
|
11812
11834
|
_el3.style.transform = "translateY(-" + somaDasAlturas + "px)";
|
|
11813
11835
|
somaDasAlturas += _el3.getBoundingClientRect().height + 12;
|
|
11814
11836
|
}
|
|
@@ -11821,11 +11843,11 @@ var ToastManager = forwardRef(function (props, ref) {
|
|
|
11821
11843
|
}, arrayOfToast.map(function (toast) {
|
|
11822
11844
|
return React$1.createElement(CSSTransition, {
|
|
11823
11845
|
timeout: 300,
|
|
11824
|
-
classNames: rootClassName$
|
|
11846
|
+
classNames: rootClassName$2I + "-toast",
|
|
11825
11847
|
key: toast.id,
|
|
11826
11848
|
unmountOnExit: true
|
|
11827
11849
|
}, React$1.createElement("div", {
|
|
11828
|
-
className: rootClassName$
|
|
11850
|
+
className: rootClassName$2I + "-toastzin"
|
|
11829
11851
|
}, React$1.createElement(Toast, {
|
|
11830
11852
|
theme: toast.type,
|
|
11831
11853
|
label: toast.label,
|
|
@@ -11854,19 +11876,19 @@ var TooltipPosition;
|
|
|
11854
11876
|
TooltipPosition["Bottom"] = "bottom";
|
|
11855
11877
|
})(TooltipPosition || (TooltipPosition = {}));
|
|
11856
11878
|
|
|
11857
|
-
var rootClassName$
|
|
11879
|
+
var rootClassName$2J = 'component-tooltip';
|
|
11858
11880
|
function Tooltip(props) {
|
|
11859
11881
|
var _useState = useState(props.id || getUniqueKey()),
|
|
11860
11882
|
id = _useState[0];
|
|
11861
11883
|
var getProps = function getProps() {
|
|
11862
11884
|
return _extends({}, props, {
|
|
11863
11885
|
id: id,
|
|
11864
|
-
className: getMergedClassNames([rootClassName$
|
|
11886
|
+
className: getMergedClassNames([rootClassName$2J, props.className, rootClassName$2J + "-" + props.position])
|
|
11865
11887
|
});
|
|
11866
11888
|
};
|
|
11867
11889
|
useEffect(function () {
|
|
11868
11890
|
var element = document.querySelector("#" + id);
|
|
11869
|
-
var triangle = element.querySelector("." + rootClassName$
|
|
11891
|
+
var triangle = element.querySelector("." + rootClassName$2J + "-triangle");
|
|
11870
11892
|
var bounding = element.getBoundingClientRect();
|
|
11871
11893
|
var ScreenWidth = window.innerWidth;
|
|
11872
11894
|
if (props.position === TooltipPosition.Top || props.position === TooltipPosition.Bottom) {
|
|
@@ -11884,16 +11906,16 @@ function Tooltip(props) {
|
|
|
11884
11906
|
}
|
|
11885
11907
|
}, [id, props.position]);
|
|
11886
11908
|
return React$1.createElement("div", {
|
|
11887
|
-
className: rootClassName$
|
|
11909
|
+
className: rootClassName$2J + "-outer"
|
|
11888
11910
|
}, React$1.createElement("div", Object.assign({}, getProps()), props.children, React$1.createElement("div", {
|
|
11889
|
-
className: rootClassName$
|
|
11911
|
+
className: rootClassName$2J + "-triangle"
|
|
11890
11912
|
})));
|
|
11891
11913
|
}
|
|
11892
11914
|
Tooltip.defaultProps = {
|
|
11893
11915
|
position: TooltipPosition.Top
|
|
11894
11916
|
};
|
|
11895
11917
|
|
|
11896
|
-
var rootClassName$
|
|
11918
|
+
var rootClassName$2K = 'tooltip-manager';
|
|
11897
11919
|
function TooltipManager() {
|
|
11898
11920
|
var _useState = useState([]),
|
|
11899
11921
|
arrayOfTooltips = _useState[0],
|
|
@@ -11980,17 +12002,17 @@ function TooltipManager() {
|
|
|
11980
12002
|
};
|
|
11981
12003
|
}, []);
|
|
11982
12004
|
return React$1.createElement(React$1.Fragment, null, React$1.createElement(TransitionGroup, {
|
|
11983
|
-
className: rootClassName$
|
|
12005
|
+
className: rootClassName$2K
|
|
11984
12006
|
}, arrayOfTooltips.map(function (tooltip) {
|
|
11985
12007
|
return React$1.createElement(CSSTransition, {
|
|
11986
12008
|
timeout: 300,
|
|
11987
|
-
classNames: rootClassName$
|
|
12009
|
+
classNames: rootClassName$2K + "-tooltip",
|
|
11988
12010
|
key: tooltip.id,
|
|
11989
12011
|
unmountOnExit: true
|
|
11990
12012
|
}, React$1.createElement(Tooltip, {
|
|
11991
12013
|
id: tooltip.id,
|
|
11992
12014
|
position: tooltip.position,
|
|
11993
|
-
className: rootClassName$
|
|
12015
|
+
className: rootClassName$2K + "-tooltip",
|
|
11994
12016
|
style: _extends({}, tooltip.style),
|
|
11995
12017
|
onMouseLeave: function onMouseLeave() {
|
|
11996
12018
|
if (!document.querySelectorAll("[tooltip-id=" + tooltip.id + "]").length) {
|
|
@@ -12007,7 +12029,7 @@ function TooltipManager() {
|
|
|
12007
12029
|
TooltipManager.propTypes = {};
|
|
12008
12030
|
TooltipManager.defaultProps = {};
|
|
12009
12031
|
|
|
12010
|
-
var rootClassName$
|
|
12032
|
+
var rootClassName$2L = 'component-top-loader';
|
|
12011
12033
|
function TopLoader(props) {
|
|
12012
12034
|
return React$1.createElement(CSSTransition, {
|
|
12013
12035
|
classNames: 'fade',
|
|
@@ -12015,11 +12037,11 @@ function TopLoader(props) {
|
|
|
12015
12037
|
"in": props.opened,
|
|
12016
12038
|
unmountOnExit: true
|
|
12017
12039
|
}, React$1.createElement("div", {
|
|
12018
|
-
className: rootClassName$
|
|
12040
|
+
className: rootClassName$2L
|
|
12019
12041
|
}, React$1.createElement("div", {
|
|
12020
|
-
className: rootClassName$
|
|
12042
|
+
className: rootClassName$2L + "-logo"
|
|
12021
12043
|
}, props.logo), props.status && React$1.createElement("div", {
|
|
12022
|
-
className: rootClassName$
|
|
12044
|
+
className: rootClassName$2L + "-status"
|
|
12023
12045
|
}, props.status)));
|
|
12024
12046
|
}
|
|
12025
12047
|
TopLoader.defaultProps = {
|
|
@@ -12028,7 +12050,7 @@ TopLoader.defaultProps = {
|
|
|
12028
12050
|
})
|
|
12029
12051
|
};
|
|
12030
12052
|
|
|
12031
|
-
var rootClassName$
|
|
12053
|
+
var rootClassName$2M = 'video-modal';
|
|
12032
12054
|
function VideoModal(props) {
|
|
12033
12055
|
var handleClose = useCallback(function () {
|
|
12034
12056
|
props.onClose(props.modalKey);
|
|
@@ -12036,7 +12058,7 @@ function VideoModal(props) {
|
|
|
12036
12058
|
var filteredProps = useMemo(function () {
|
|
12037
12059
|
var p = _extends({}, props, {
|
|
12038
12060
|
id: props.id ? props.id : props.modalKey ? props.modalKey : "modal" + getUniqueKey(),
|
|
12039
|
-
className: getMergedClassNames([rootClassName$
|
|
12061
|
+
className: getMergedClassNames([rootClassName$2M, props.className || '', props.mobileOnXS ? 'mobile-on-xs' : '', rootClassName$2M + "-" + String(props.size).toLowerCase()])
|
|
12040
12062
|
});
|
|
12041
12063
|
delete p.urlVideo;
|
|
12042
12064
|
delete p.footer;
|
|
@@ -12054,12 +12076,12 @@ function VideoModal(props) {
|
|
|
12054
12076
|
return p;
|
|
12055
12077
|
}, [props]);
|
|
12056
12078
|
return React$1.createElement("div", Object.assign({}, filteredProps), React$1.createElement("div", {
|
|
12057
|
-
className: rootClassName$
|
|
12079
|
+
className: rootClassName$2M + "-close-button"
|
|
12058
12080
|
}, React$1.createElement(IconButton$1, {
|
|
12059
12081
|
onClick: handleClose,
|
|
12060
12082
|
icon: React$1.createElement(CloseIcon, null)
|
|
12061
12083
|
})), React$1.createElement("div", {
|
|
12062
|
-
className: rootClassName$
|
|
12084
|
+
className: rootClassName$2M + "-video-row"
|
|
12063
12085
|
}, React$1.createElement(VideoPlayer, Object.assign({
|
|
12064
12086
|
blackGround: true
|
|
12065
12087
|
}, props.videoPlayerProps, {
|
|
@@ -12070,10 +12092,10 @@ VideoModal.defaultProps = {
|
|
|
12070
12092
|
size: 'md'
|
|
12071
12093
|
};
|
|
12072
12094
|
|
|
12073
|
-
var rootClassName$
|
|
12095
|
+
var rootClassName$2N = 'icon-component';
|
|
12074
12096
|
var PhonePlusIcon = function PhonePlusIcon() {
|
|
12075
12097
|
return React$1.createElement("svg", {
|
|
12076
|
-
className: rootClassName$
|
|
12098
|
+
className: rootClassName$2N,
|
|
12077
12099
|
viewBox: '0 0 24 24',
|
|
12078
12100
|
fill: 'currentColor',
|
|
12079
12101
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
@@ -12084,7 +12106,7 @@ var PhonePlusIcon = function PhonePlusIcon() {
|
|
|
12084
12106
|
}));
|
|
12085
12107
|
};
|
|
12086
12108
|
|
|
12087
|
-
var rootClassName$
|
|
12109
|
+
var rootClassName$2O = 'calendar-header';
|
|
12088
12110
|
function CalendarHeader(props) {
|
|
12089
12111
|
var size = useScreenSize();
|
|
12090
12112
|
var days = useMemo(function () {
|
|
@@ -12094,16 +12116,16 @@ function CalendarHeader(props) {
|
|
|
12094
12116
|
return props.language.daysOfWeek;
|
|
12095
12117
|
}, [props.language.daysOfWeek, props.language.daysOfWeekAbrev, size]);
|
|
12096
12118
|
return React$1.createElement("div", {
|
|
12097
|
-
className: rootClassName$
|
|
12119
|
+
className: rootClassName$2O
|
|
12098
12120
|
}, days.map(function (d, i) {
|
|
12099
12121
|
return React$1.createElement("div", {
|
|
12100
|
-
className: rootClassName$
|
|
12122
|
+
className: rootClassName$2O + "-day",
|
|
12101
12123
|
key: i
|
|
12102
12124
|
}, d);
|
|
12103
12125
|
}));
|
|
12104
12126
|
}
|
|
12105
12127
|
|
|
12106
|
-
var rootClassName$
|
|
12128
|
+
var rootClassName$2P = 'evento-calendario';
|
|
12107
12129
|
function CalendarEvent(props) {
|
|
12108
12130
|
var _useState = useState(props.forceExpanded || false),
|
|
12109
12131
|
expanded = _useState[0],
|
|
@@ -12132,12 +12154,12 @@ function CalendarEvent(props) {
|
|
|
12132
12154
|
return React$1.createElement(Fragment$1, null, "large");
|
|
12133
12155
|
case 'medium':
|
|
12134
12156
|
return React$1.createElement(Fragment$1, null, React$1.createElement("div", {
|
|
12135
|
-
className: rootClassName$
|
|
12157
|
+
className: rootClassName$2P + "-tipo",
|
|
12136
12158
|
style: {
|
|
12137
12159
|
borderColor: props.color
|
|
12138
12160
|
}
|
|
12139
12161
|
}, props.tipoEvento), React$1.createElement("div", {
|
|
12140
|
-
className: rootClassName$
|
|
12162
|
+
className: rootClassName$2P + "-label"
|
|
12141
12163
|
}, React$1.createElement(CSSTransition, {
|
|
12142
12164
|
"in": !props.forceExpanded && (!expanded || !props.expandedLabel),
|
|
12143
12165
|
timeout: 300,
|
|
@@ -12147,26 +12169,26 @@ function CalendarEvent(props) {
|
|
|
12147
12169
|
opened: props.forceExpanded || expanded && !!props.expandedLabel,
|
|
12148
12170
|
animateOpacity: true
|
|
12149
12171
|
}, React$1.createElement(Fragment$1, null, React$1.createElement("span", null, props.expandedLabel), React$1.createElement("div", {
|
|
12150
|
-
className: rootClassName$
|
|
12172
|
+
className: rootClassName$2P + "-date-label"
|
|
12151
12173
|
}, props.expandedDate)))), React$1.createElement("div", {
|
|
12152
|
-
className: rootClassName$
|
|
12174
|
+
className: rootClassName$2P + "-modalidade"
|
|
12153
12175
|
}, React$1.createElement("div", {
|
|
12154
|
-
className: rootClassName$
|
|
12176
|
+
className: rootClassName$2P + "-icon"
|
|
12155
12177
|
}, props.icon), React$1.createElement("div", {
|
|
12156
|
-
className: rootClassName$
|
|
12178
|
+
className: rootClassName$2P + "-modalidade-label nunito"
|
|
12157
12179
|
}, props.iconLabel)));
|
|
12158
12180
|
case 'small':
|
|
12159
12181
|
default:
|
|
12160
12182
|
return React$1.createElement(Fragment$1, null, React$1.createElement("div", {
|
|
12161
|
-
className: rootClassName$
|
|
12183
|
+
className: rootClassName$2P + "-icon"
|
|
12162
12184
|
}, props.icon), React$1.createElement("div", {
|
|
12163
|
-
className: rootClassName$
|
|
12185
|
+
className: rootClassName$2P + "-label nunito"
|
|
12164
12186
|
}, props.tipoEvento, " | ", props.label));
|
|
12165
12187
|
}
|
|
12166
12188
|
}, [expanded, props.color, props.expandedDate, props.expandedLabel, props.forceExpanded, props.icon, props.iconLabel, props.label, props.size, props.tipoEvento]);
|
|
12167
12189
|
return React$1.createElement("button", {
|
|
12168
12190
|
ref: ref,
|
|
12169
|
-
className: useMergedClassNames([rootClassName$
|
|
12191
|
+
className: useMergedClassNames([rootClassName$2P, props.size, props.borderStyle]),
|
|
12170
12192
|
disabled: props.disabled,
|
|
12171
12193
|
onClick: function onClick(evt) {
|
|
12172
12194
|
if (typeof props.onClick === 'function') {
|
|
@@ -12192,10 +12214,10 @@ CalendarEvent.defaultProps = {
|
|
|
12192
12214
|
};
|
|
12193
12215
|
var CalendarEvent$1 = memo(CalendarEvent);
|
|
12194
12216
|
|
|
12195
|
-
var rootClassName$
|
|
12217
|
+
var rootClassName$2Q = 'calendar-chip';
|
|
12196
12218
|
function CalendarChip(props) {
|
|
12197
12219
|
return React$1.createElement("button", {
|
|
12198
|
-
className: useMergedClassNames([rootClassName$
|
|
12220
|
+
className: useMergedClassNames([rootClassName$2Q, 'nunito']),
|
|
12199
12221
|
onClick: props.onClick,
|
|
12200
12222
|
disabled: props.disabled,
|
|
12201
12223
|
style: {
|
|
@@ -12210,11 +12232,11 @@ CalendarChip.defaultProps = {
|
|
|
12210
12232
|
};
|
|
12211
12233
|
var CalendarChip$1 = memo(CalendarChip);
|
|
12212
12234
|
|
|
12213
|
-
var rootClassName$
|
|
12235
|
+
var rootClassName$2R = 'calendar-month-day';
|
|
12214
12236
|
function CalendarMonthDay(props) {
|
|
12215
12237
|
var _props$eventos, _props$eventos2, _props$eventos3, _props$eventos4, _props$eventos4$slice;
|
|
12216
12238
|
var classNames = useMemo(function () {
|
|
12217
|
-
return getMergedClassNames([rootClassName$
|
|
12239
|
+
return getMergedClassNames([rootClassName$2R, props.pocket ? 'pocket' : '', props.isToday ? 'today' : '', props.disabled ? 'disabled' : '', props.highlightWeekends && (props.day.getDay() === 0 || props.day.getDay() === 6) ? 'highlight' : '']);
|
|
12218
12240
|
}, [props.day, props.disabled, props.highlightWeekends, props.isToday, props.pocket]);
|
|
12219
12241
|
var date = new Date();
|
|
12220
12242
|
date.setDate(date.getDate() - 1);
|
|
@@ -12227,9 +12249,9 @@ function CalendarMonthDay(props) {
|
|
|
12227
12249
|
}
|
|
12228
12250
|
}
|
|
12229
12251
|
}, React$1.createElement("div", {
|
|
12230
|
-
className: rootClassName$
|
|
12252
|
+
className: rootClassName$2R + "-label-line"
|
|
12231
12253
|
}, React$1.createElement("div", {
|
|
12232
|
-
className: rootClassName$
|
|
12254
|
+
className: rootClassName$2R + "-day nunito",
|
|
12233
12255
|
onClick: function onClick(evt) {
|
|
12234
12256
|
if (props.pocket && !props.disabled && typeof props.onPlusButtonClick === 'function') {
|
|
12235
12257
|
props.onPlusButtonClick(props.day, evt);
|
|
@@ -12250,7 +12272,7 @@ function CalendarMonthDay(props) {
|
|
|
12250
12272
|
},
|
|
12251
12273
|
disabled: props.disabled
|
|
12252
12274
|
}) : undefined)), !props.pocket ? React$1.createElement(Fragment$1, null, React$1.createElement("div", {
|
|
12253
|
-
className: rootClassName$
|
|
12275
|
+
className: rootClassName$2R + "-eventos"
|
|
12254
12276
|
}, (_props$eventos4 = props.eventos) === null || _props$eventos4 === void 0 ? void 0 : (_props$eventos4$slice = _props$eventos4.slice(0, 2)) === null || _props$eventos4$slice === void 0 ? void 0 : _props$eventos4$slice.map(function (e) {
|
|
12255
12277
|
return React$1.createElement(CalendarEvent$1, Object.assign({
|
|
12256
12278
|
key: e.id
|
|
@@ -12259,7 +12281,7 @@ function CalendarMonthDay(props) {
|
|
|
12259
12281
|
}));
|
|
12260
12282
|
})), props.showAddButton ? React$1.createElement("button", {
|
|
12261
12283
|
disabled: props.disabledPrevAddButton ? props.day < date ? true : false : false,
|
|
12262
|
-
className: rootClassName$
|
|
12284
|
+
className: rootClassName$2R + "-button",
|
|
12263
12285
|
onClick: function onClick(evt) {
|
|
12264
12286
|
if (typeof props.onAddButtonClick === 'function') {
|
|
12265
12287
|
props.onAddButtonClick(props.day, evt);
|
|
@@ -12270,7 +12292,7 @@ function CalendarMonthDay(props) {
|
|
|
12270
12292
|
}
|
|
12271
12293
|
var CalendarMonthDay$1 = memo(CalendarMonthDay);
|
|
12272
12294
|
|
|
12273
|
-
var rootClassName$
|
|
12295
|
+
var rootClassName$2S = 'calendar-days';
|
|
12274
12296
|
function CalendarDays(props) {
|
|
12275
12297
|
var today = useMemo(function () {
|
|
12276
12298
|
return new Date();
|
|
@@ -12288,7 +12310,7 @@ function CalendarDays(props) {
|
|
|
12288
12310
|
return false;
|
|
12289
12311
|
}, [props.referencia, props.disabledNextMonth, props.disabledPrevMonth]);
|
|
12290
12312
|
return React$1.createElement("div", {
|
|
12291
|
-
className: rootClassName$
|
|
12313
|
+
className: rootClassName$2S
|
|
12292
12314
|
}, days.map(function (d) {
|
|
12293
12315
|
var _props$eventos;
|
|
12294
12316
|
var k = "" + d.getFullYear() + getTwoNumbersIfNotTen(d.getMonth() + 1) + getTwoNumbersIfNotTen(d.getDate());
|
|
@@ -12313,7 +12335,7 @@ function CalendarDays(props) {
|
|
|
12313
12335
|
}
|
|
12314
12336
|
var CalendarDays$1 = memo(CalendarDays);
|
|
12315
12337
|
|
|
12316
|
-
var rootClassName$
|
|
12338
|
+
var rootClassName$2T = 'calendar';
|
|
12317
12339
|
function Calendar(props) {
|
|
12318
12340
|
var id = useMemo(getUniqueKey, []);
|
|
12319
12341
|
var _useState = useState(false),
|
|
@@ -12322,7 +12344,7 @@ function Calendar(props) {
|
|
|
12322
12344
|
var pocketRef = useRef(pocket);
|
|
12323
12345
|
pocketRef.current = pocket;
|
|
12324
12346
|
var classNames = useMemo(function () {
|
|
12325
|
-
return getMergedClassNames([rootClassName$
|
|
12347
|
+
return getMergedClassNames([rootClassName$2T, props.loading ? 'loading' : '']);
|
|
12326
12348
|
}, [props.loading]);
|
|
12327
12349
|
var cbResize = useCallback(function (evt) {
|
|
12328
12350
|
if (pocketRef.current) {
|
|
@@ -12382,7 +12404,7 @@ Calendar.defaultProps = {
|
|
|
12382
12404
|
};
|
|
12383
12405
|
var Calendar$1 = memo(Calendar);
|
|
12384
12406
|
|
|
12385
|
-
var rootClassName$
|
|
12407
|
+
var rootClassName$2U = 'scroll-arrow-overflow';
|
|
12386
12408
|
function ScrollArrowOverflow(props) {
|
|
12387
12409
|
var ref = createRef();
|
|
12388
12410
|
var atualRef = useRef(0);
|
|
@@ -12454,9 +12476,9 @@ function ScrollArrowOverflow(props) {
|
|
|
12454
12476
|
};
|
|
12455
12477
|
}, []);
|
|
12456
12478
|
return React$1.createElement("div", {
|
|
12457
|
-
className: useMergedClassNames([rootClassName$
|
|
12479
|
+
className: useMergedClassNames([rootClassName$2U, props.arrows])
|
|
12458
12480
|
}, React$1.createElement("div", {
|
|
12459
|
-
className: rootClassName$
|
|
12481
|
+
className: rootClassName$2U + "-navigation"
|
|
12460
12482
|
}, React$1.createElement(IconButton$1, {
|
|
12461
12483
|
disabled: start,
|
|
12462
12484
|
icon: React$1.createElement(CircleArrowLeft, null),
|
|
@@ -12471,7 +12493,7 @@ function ScrollArrowOverflow(props) {
|
|
|
12471
12493
|
}
|
|
12472
12494
|
})), React$1.createElement("div", {
|
|
12473
12495
|
ref: ref,
|
|
12474
|
-
className: rootClassName$
|
|
12496
|
+
className: rootClassName$2U + "-overflow"
|
|
12475
12497
|
}, props.children));
|
|
12476
12498
|
}
|
|
12477
12499
|
ScrollArrowOverflow.defaultProps = {
|
|
@@ -12480,26 +12502,26 @@ ScrollArrowOverflow.defaultProps = {
|
|
|
12480
12502
|
};
|
|
12481
12503
|
var ScrollArrowOverflow$1 = memo(ScrollArrowOverflow);
|
|
12482
12504
|
|
|
12483
|
-
var rootClassName$
|
|
12505
|
+
var rootClassName$2V = 'hour-events';
|
|
12484
12506
|
function HourEvents(props) {
|
|
12485
12507
|
var _props$language, _props$language2, _props$events, _props$events2, _props$language3, _props$events3;
|
|
12486
12508
|
var _useState = useState(props.defaultOpened),
|
|
12487
12509
|
opened = _useState[0],
|
|
12488
12510
|
setOpened = _useState[1];
|
|
12489
12511
|
return React$1.createElement("div", {
|
|
12490
|
-
className: rootClassName$
|
|
12512
|
+
className: rootClassName$2V
|
|
12491
12513
|
}, React$1.createElement("div", {
|
|
12492
|
-
className: rootClassName$
|
|
12514
|
+
className: rootClassName$2V + "-first-line"
|
|
12493
12515
|
}, React$1.createElement("div", {
|
|
12494
|
-
className: rootClassName$
|
|
12516
|
+
className: rootClassName$2V + "-hour"
|
|
12495
12517
|
}, props.hour), React$1.createElement("div", {
|
|
12496
|
-
className: rootClassName$
|
|
12518
|
+
className: rootClassName$2V + "-line"
|
|
12497
12519
|
}), !props.events || !props.events.length ? React$1.createElement("div", {
|
|
12498
|
-
className: rootClassName$
|
|
12520
|
+
className: rootClassName$2V + "-no-events nunito"
|
|
12499
12521
|
}, (_props$language = props.language) === null || _props$language === void 0 ? void 0 : _props$language.noEvent) : React$1.createElement("div", {
|
|
12500
|
-
className: rootClassName$
|
|
12522
|
+
className: rootClassName$2V + "-counter nunito"
|
|
12501
12523
|
}, (_props$language2 = props.language) === null || _props$language2 === void 0 ? void 0 : _props$language2.events((_props$events = props.events) === null || _props$events === void 0 ? void 0 : _props$events.length))), (_props$events2 = props.events) !== null && _props$events2 !== void 0 && _props$events2.length ? React$1.createElement(Fragment$1, null, React$1.createElement("div", {
|
|
12502
|
-
className: rootClassName$
|
|
12524
|
+
className: rootClassName$2V + "-toggle"
|
|
12503
12525
|
}, React$1.createElement(Button$1, {
|
|
12504
12526
|
theme: ButtonThemes.DefaultPrimary,
|
|
12505
12527
|
onClick: function onClick() {
|
|
@@ -12534,7 +12556,7 @@ HourEvents.defaultProps = {
|
|
|
12534
12556
|
};
|
|
12535
12557
|
var HourEvents$1 = memo(HourEvents);
|
|
12536
12558
|
|
|
12537
|
-
var rootClassName$
|
|
12559
|
+
var rootClassName$2W = 'inline-month-picker';
|
|
12538
12560
|
function InlineMonthPicker(props) {
|
|
12539
12561
|
var d = new Date(props.value.getTime());
|
|
12540
12562
|
var fix31st = function fix31st(months) {
|
|
@@ -12545,13 +12567,13 @@ function InlineMonthPicker(props) {
|
|
|
12545
12567
|
}
|
|
12546
12568
|
};
|
|
12547
12569
|
return React$1.createElement("div", {
|
|
12548
|
-
className: rootClassName$
|
|
12570
|
+
className: rootClassName$2W
|
|
12549
12571
|
}, React$1.createElement("div", {
|
|
12550
|
-
className: rootClassName$
|
|
12572
|
+
className: rootClassName$2W + "-icon"
|
|
12551
12573
|
}, React$1.createElement(CalendarCheckIcon, null)), React$1.createElement("div", {
|
|
12552
|
-
className: rootClassName$
|
|
12574
|
+
className: rootClassName$2W + "-label"
|
|
12553
12575
|
}, props.labelGen(props.value)), React$1.createElement("div", {
|
|
12554
|
-
className: rootClassName$
|
|
12576
|
+
className: rootClassName$2W + "-actions"
|
|
12555
12577
|
}, React$1.createElement(IconButton$1, {
|
|
12556
12578
|
icon: React$1.createElement(ChevronArrowLeftIcon, null),
|
|
12557
12579
|
onClick: function onClick() {
|
|
@@ -12575,7 +12597,7 @@ InlineMonthPicker.defaultProps = {
|
|
|
12575
12597
|
};
|
|
12576
12598
|
var InlineMonthPicker$1 = memo(InlineMonthPicker);
|
|
12577
12599
|
|
|
12578
|
-
var rootClassName$
|
|
12600
|
+
var rootClassName$2X = 'qrcode';
|
|
12579
12601
|
function QRCode(props) {
|
|
12580
12602
|
var ref = createRef();
|
|
12581
12603
|
useEffect(function () {
|
|
@@ -12594,7 +12616,7 @@ function QRCode(props) {
|
|
|
12594
12616
|
});
|
|
12595
12617
|
}, [props, ref]);
|
|
12596
12618
|
var className = useMemo(function () {
|
|
12597
|
-
return getMergedClassNames([rootClassName$
|
|
12619
|
+
return getMergedClassNames([rootClassName$2X, props.button ? 'button' : '']);
|
|
12598
12620
|
}, [props.button]);
|
|
12599
12621
|
return React$1.createElement("div", {
|
|
12600
12622
|
className: className,
|
|
@@ -43642,7 +43664,7 @@ function useHTMLShare() {
|
|
|
43642
43664
|
};
|
|
43643
43665
|
}
|
|
43644
43666
|
|
|
43645
|
-
var rootClassName$
|
|
43667
|
+
var rootClassName$2Y = 'comp-modal-manager';
|
|
43646
43668
|
var maskRootClassName$1 = 'component-modal-mask';
|
|
43647
43669
|
var hackFocus$1 = function hackFocus() {
|
|
43648
43670
|
var tmp = document.createElement('input');
|
|
@@ -43710,13 +43732,13 @@ function useModalManager() {
|
|
|
43710
43732
|
return [React$1.createElement(React$1.Fragment, {
|
|
43711
43733
|
key: 1
|
|
43712
43734
|
}, React$1.createElement(TransitionGroup, {
|
|
43713
|
-
className: rootClassName$
|
|
43735
|
+
className: rootClassName$2Y + "-modals"
|
|
43714
43736
|
}, arrayOfModal.map(function (obj) {
|
|
43715
43737
|
var _obj$props2, _obj$props3, _obj$props4;
|
|
43716
43738
|
var ModalComponent = React$1.createElement(obj.component, obj.props);
|
|
43717
43739
|
return React$1.createElement(CSSTransition, {
|
|
43718
43740
|
timeout: 300,
|
|
43719
|
-
classNames: (_obj$props2 = obj.props) !== null && _obj$props2 !== void 0 && _obj$props2.mobileOnXS ? rootClassName$
|
|
43741
|
+
classNames: (_obj$props2 = obj.props) !== null && _obj$props2 !== void 0 && _obj$props2.mobileOnXS ? rootClassName$2Y + "-mask-mobile-on-xs" : rootClassName$2Y + "-mask",
|
|
43720
43742
|
key: (_obj$props3 = obj.props) === null || _obj$props3 === void 0 ? void 0 : _obj$props3.modalKey,
|
|
43721
43743
|
unmountOnExit: true
|
|
43722
43744
|
}, React$1.createElement(ModalMask, {
|
|
@@ -43857,7 +43879,7 @@ function useTimeElapsed(timeLeftInSeconds, callBackZero) {
|
|
|
43857
43879
|
return timeToReturn;
|
|
43858
43880
|
}
|
|
43859
43881
|
|
|
43860
|
-
var rootClassName$
|
|
43882
|
+
var rootClassName$2Z = 'comp-toast-manager';
|
|
43861
43883
|
var count$1 = 0;
|
|
43862
43884
|
function useToastManager(props) {
|
|
43863
43885
|
var _useState = useState([]),
|
|
@@ -43898,17 +43920,17 @@ function useToastManager(props) {
|
|
|
43898
43920
|
setArrayOfToast([]);
|
|
43899
43921
|
}, []);
|
|
43900
43922
|
var classNames = useMemo(function () {
|
|
43901
|
-
return getMergedClassNames([rootClassName$
|
|
43923
|
+
return getMergedClassNames([rootClassName$2Z + "-toasts", rootClassName$2Z + "-" + verticalPosition, rootClassName$2Z + "-" + horizontalPosition, reverse ? rootClassName$2Z + "-reverse" : '', animateSize ? rootClassName$2Z + "-animate-size" : '']);
|
|
43902
43924
|
}, [reverse, animateSize, horizontalPosition, verticalPosition]);
|
|
43903
43925
|
useLayoutEffect(function () {
|
|
43904
|
-
var wrapper = document.querySelector("." + rootClassName$
|
|
43926
|
+
var wrapper = document.querySelector("." + rootClassName$2Z + "-toasts");
|
|
43905
43927
|
if (wrapper && wrapper.childElementCount > 0) {
|
|
43906
43928
|
var somaDasAlturas = 0;
|
|
43907
43929
|
if (verticalPosition === 'top' && !reverse) {
|
|
43908
43930
|
somaDasAlturas = 12;
|
|
43909
43931
|
for (var i = 0; i < wrapper.children.length; i++) {
|
|
43910
43932
|
var el = wrapper.children[i];
|
|
43911
|
-
if (!el.classList.contains(rootClassName$
|
|
43933
|
+
if (!el.classList.contains(rootClassName$2Z + "-toast-exit")) {
|
|
43912
43934
|
el.style.transform = "translateY(" + somaDasAlturas + "px)";
|
|
43913
43935
|
somaDasAlturas += el.getBoundingClientRect().height + 12;
|
|
43914
43936
|
}
|
|
@@ -43916,7 +43938,7 @@ function useToastManager(props) {
|
|
|
43916
43938
|
} else if (verticalPosition === 'top') {
|
|
43917
43939
|
for (var _i = wrapper.children.length - 1; _i >= 0; _i--) {
|
|
43918
43940
|
var _el = wrapper.children[_i];
|
|
43919
|
-
if (!_el.classList.contains(rootClassName$
|
|
43941
|
+
if (!_el.classList.contains(rootClassName$2Z + "-toast-exit")) {
|
|
43920
43942
|
somaDasAlturas += _el.getBoundingClientRect().height + 12;
|
|
43921
43943
|
_el.style.transform = "translateY(" + somaDasAlturas + "px)";
|
|
43922
43944
|
}
|
|
@@ -43924,7 +43946,7 @@ function useToastManager(props) {
|
|
|
43924
43946
|
} else if (verticalPosition === 'bottom' && !reverse) {
|
|
43925
43947
|
for (var _i2 = 0; _i2 < wrapper.children.length; _i2++) {
|
|
43926
43948
|
var _el2 = wrapper.children[_i2];
|
|
43927
|
-
if (!_el2.classList.contains(rootClassName$
|
|
43949
|
+
if (!_el2.classList.contains(rootClassName$2Z + "-toast-exit")) {
|
|
43928
43950
|
somaDasAlturas += _el2.getBoundingClientRect().height + 12;
|
|
43929
43951
|
_el2.style.transform = "translateY(-" + somaDasAlturas + "px)";
|
|
43930
43952
|
}
|
|
@@ -43933,7 +43955,7 @@ function useToastManager(props) {
|
|
|
43933
43955
|
somaDasAlturas = 12;
|
|
43934
43956
|
for (var _i3 = wrapper.children.length - 1; _i3 >= 0; _i3--) {
|
|
43935
43957
|
var _el3 = wrapper.children[_i3];
|
|
43936
|
-
if (!_el3.classList.contains(rootClassName$
|
|
43958
|
+
if (!_el3.classList.contains(rootClassName$2Z + "-toast-exit")) {
|
|
43937
43959
|
_el3.style.transform = "translateY(-" + somaDasAlturas + "px)";
|
|
43938
43960
|
somaDasAlturas += _el3.getBoundingClientRect().height + 12;
|
|
43939
43961
|
}
|
|
@@ -43946,11 +43968,11 @@ function useToastManager(props) {
|
|
|
43946
43968
|
}, arrayOfToast.map(function (toast) {
|
|
43947
43969
|
return React$1.createElement(CSSTransition, {
|
|
43948
43970
|
timeout: 300,
|
|
43949
|
-
classNames: rootClassName$
|
|
43971
|
+
classNames: rootClassName$2Z + "-toast",
|
|
43950
43972
|
key: toast.id,
|
|
43951
43973
|
unmountOnExit: true
|
|
43952
43974
|
}, React$1.createElement("div", {
|
|
43953
|
-
className: rootClassName$
|
|
43975
|
+
className: rootClassName$2Z + "-toastzin"
|
|
43954
43976
|
}, React$1.createElement(Toast, {
|
|
43955
43977
|
theme: toast.theme,
|
|
43956
43978
|
label: toast.label,
|
|
@@ -44124,10 +44146,10 @@ function FormattedText(text) {
|
|
|
44124
44146
|
}));
|
|
44125
44147
|
}
|
|
44126
44148
|
|
|
44127
|
-
var rootClassName$
|
|
44149
|
+
var rootClassName$2_ = 'icon-component';
|
|
44128
44150
|
var DecreaseIcon = function DecreaseIcon() {
|
|
44129
44151
|
return React$1.createElement("svg", {
|
|
44130
|
-
className: rootClassName$
|
|
44152
|
+
className: rootClassName$2_,
|
|
44131
44153
|
viewBox: '0 0 24 24',
|
|
44132
44154
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
44133
44155
|
}, React$1.createElement("path", {
|
|
@@ -44138,7 +44160,7 @@ var DecreaseIcon = function DecreaseIcon() {
|
|
|
44138
44160
|
}));
|
|
44139
44161
|
};
|
|
44140
44162
|
|
|
44141
|
-
var rootClassName$
|
|
44163
|
+
var rootClassName$2$ = 'component-table-left-checkbox-with-label';
|
|
44142
44164
|
var LeftControlWithLabel = function LeftControlWithLabel(props) {
|
|
44143
44165
|
var _props$spanProps2;
|
|
44144
44166
|
var style = useMemo(function () {
|
|
@@ -44155,13 +44177,13 @@ var LeftControlWithLabel = function LeftControlWithLabel(props) {
|
|
|
44155
44177
|
return style;
|
|
44156
44178
|
}, [props.anchorLabelToCheckbox, props.disabled, props.justifyContent, props.removeUserSelect, props.spanProps]);
|
|
44157
44179
|
return React$1.createElement("div", {
|
|
44158
|
-
className: getMergedClassNames([rootClassName$
|
|
44180
|
+
className: getMergedClassNames([rootClassName$2$, props.w100 ? 'w-100' : ''])
|
|
44159
44181
|
}, React$1.createElement("span", {
|
|
44160
|
-
className: rootClassName$
|
|
44182
|
+
className: rootClassName$2$ + "-checkbox-wrapper",
|
|
44161
44183
|
"tooltip-position": props['tooltip-position'],
|
|
44162
44184
|
"tooltip-text": props['tooltip-text']
|
|
44163
44185
|
}, props.type === 'addRemove' ? React$1.createElement(IconButton$1, {
|
|
44164
|
-
className: getMergedClassNames([rootClassName$
|
|
44186
|
+
className: getMergedClassNames([rootClassName$2$ + "-add-remove-button", props.value ? rootClassName$2$ + "-danger" : '']),
|
|
44165
44187
|
icon: props.value ? React$1.createElement(DecreaseIcon, null) : React$1.createElement(AddIcon, null),
|
|
44166
44188
|
disabled: props.disabled,
|
|
44167
44189
|
onClick: function onClick(evt) {
|
|
@@ -44175,7 +44197,7 @@ var LeftControlWithLabel = function LeftControlWithLabel(props) {
|
|
|
44175
44197
|
onChange: props.onChange,
|
|
44176
44198
|
theme: props.theme
|
|
44177
44199
|
})), React$1.createElement("span", Object.assign({}, props.spanProps || {}, {
|
|
44178
|
-
className: getMergedClassNames([rootClassName$
|
|
44200
|
+
className: getMergedClassNames([rootClassName$2$ + "-label-wrapper", ((_props$spanProps2 = props.spanProps) === null || _props$spanProps2 === void 0 ? void 0 : _props$spanProps2.className) || '']),
|
|
44179
44201
|
style: style,
|
|
44180
44202
|
onClick: function onClick(evt) {
|
|
44181
44203
|
if (props.anchorLabelToCheckbox) {
|
|
@@ -44359,5 +44381,5 @@ var getStatusClassName = function getStatusClassName(status) {
|
|
|
44359
44381
|
};
|
|
44360
44382
|
var STATUS_PAUTA = [STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_LIBERADA, STATUS_PAUTA_ENCERRADA];
|
|
44361
44383
|
|
|
44362
|
-
export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPosition, NotificationType, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useTimeElapsed, useToastManager, useValidatedState };
|
|
44384
|
+
export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPosition, NotificationType, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useTimeElapsed, useToastManager, useValidatedState };
|
|
44363
44385
|
//# sourceMappingURL=index.modern.js.map
|