pge-front-common 14.2.0 → 14.2.2
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/lib/components/Header/Header.d.ts +2 -1
- package/lib/components/Header/Header.stories.d.ts +1 -0
- package/lib/components/Select/index.types.d.ts +1 -1
- package/lib/components/Upload/index.d.ts +4 -18
- package/lib/index.d.ts +7 -20
- package/lib/index.esm.js +44 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +44 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1091,7 +1091,7 @@ function UserCascButton(_a) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
1093
|
var Header = function (_a) {
|
|
1094
|
-
var _b = _a.isRHDigital, isRHDigital = _b === void 0 ? false : _b, _c = _a.isCASC, isCASC = _c === void 0 ? false : _c, _d = _a.isResponsiveCASC, isResponsiveCASC = _d === void 0 ? false : _d, optionSelection = _a.optionSelection, options = _a.options, name = _a.name, userName = _a.userName, handleLogout = _a.handleLogout, isPortalServidor = _a.isPortalServidor, isPortalBeneficios = _a.isPortalBeneficios, profile = _a.profile, _e = _a.hasGestor, hasGestor = _e === void 0 ? true : _e, fullName = _a.fullName, firstName = _a.firstName, isHonorarios = _a.isHonorarios, extraComponent = _a.extraComponent;
|
|
1094
|
+
var _b = _a.isRHDigital, isRHDigital = _b === void 0 ? false : _b, _c = _a.isCASC, isCASC = _c === void 0 ? false : _c, _d = _a.isResponsiveCASC, isResponsiveCASC = _d === void 0 ? false : _d, optionSelection = _a.optionSelection, options = _a.options, name = _a.name, userName = _a.userName, handleLogout = _a.handleLogout, isPortalServidor = _a.isPortalServidor, isPortalBeneficios = _a.isPortalBeneficios, profile = _a.profile, _e = _a.hasGestor, hasGestor = _e === void 0 ? true : _e, fullName = _a.fullName, firstName = _a.firstName, isHonorarios = _a.isHonorarios, extraComponent = _a.extraComponent, _f = _a.hasLogin, hasLogin = _f === void 0 ? true : _f;
|
|
1095
1095
|
var getHeaderKey = function () {
|
|
1096
1096
|
if (isRHDigital)
|
|
1097
1097
|
return "RH_DIGITAL";
|
|
@@ -1124,7 +1124,7 @@ var Header = function (_a) {
|
|
|
1124
1124
|
CASC: function () { return (React.createElement(UserCascButton, { name: name, userName: userName, handleLogout: handleLogout, isPortalServidor: isPortalServidor, isResponsiveCASC: true, isCASC: true, profile: profile, hasGestor: hasGestor, fullName: fullName, firstName: firstName })); },
|
|
1125
1125
|
DEFAULT: function () { return (React.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout, isPortalServidor: isPortalServidor, profile: profile, hasGestor: hasGestor, fullName: fullName, firstName: firstName })); },
|
|
1126
1126
|
HONORARIOS: function () { return (React.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout, isPortalServidor: false, profile: profile, hasGestor: hasGestor, fullName: fullName, firstName: firstName })); },
|
|
1127
|
-
BENEFICIOS: function () { return (React.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout, isPortalServidor: isPortalServidor, profile: profile, hasGestor: hasGestor, fullName: fullName, firstName: firstName })); }
|
|
1127
|
+
BENEFICIOS: function () { return (React.createElement(UserButton, { name: name, userName: userName, handleLogout: handleLogout, isPortalServidor: isPortalServidor, profile: profile, hasGestor: hasGestor, fullName: fullName, firstName: firstName })); },
|
|
1128
1128
|
};
|
|
1129
1129
|
var headerKey = getHeaderKey();
|
|
1130
1130
|
var userButtonKey = getUserButton();
|
|
@@ -1150,7 +1150,7 @@ var Header = function (_a) {
|
|
|
1150
1150
|
React.createElement(Logo, null)),
|
|
1151
1151
|
React.createElement("div", { className: styles$v.wrapperUserButton },
|
|
1152
1152
|
extraComponent,
|
|
1153
|
-
React.createElement(UserButtonComponent, null))))));
|
|
1153
|
+
hasLogin && React.createElement(UserButtonComponent, null))))));
|
|
1154
1154
|
};
|
|
1155
1155
|
|
|
1156
1156
|
var css_248z$u = ".styles-module__container___FWA4h {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n}\r\n\r\n.styles-module__imgContainer___d-9G4 {\r\n width: 100%;\r\n max-width: 1440px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.styles-module__footerImg___Timhg {\r\n width: 100%;\r\n max-width: 1440px;\r\n height: 198px;\r\n object-fit: contain;\r\n}\r\n\r\n.styles-module__footer___em-xX {\r\n width: 100%;\r\n max-width: 1440px;\r\n height: 221px;\r\n background-repeat: no-repeat;\r\n background-size: contain;\r\n background-position: center bottom;\r\n margin: 0 auto; /* Center the container */\r\n background-color: transparent;\r\n margin-bottom: -9px;\r\n}\r\n\r\n@media screen and (max-width: 480px) {\r\n .styles-module__footer___em-xX {\r\n margin-bottom: -3px;\r\n height: 63px;\r\n padding: 0px 16px;\r\n }\r\n\r\n .styles-module__footer___em-xX.styles-module__dark___RwoTf {\r\n margin-bottom: -3px;\r\n height: 63px;\r\n padding: 0px 16px;\r\n }\r\n}\r\n\r\n.styles-module__pgeLogoContainer___hF2j3 {\r\n width: 100%;\r\n height: 134px;\r\n background-color: var(--footer-bg-color);\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n}\r\n\r\n@media screen and (max-width: 480px) {\r\n .styles-module__pgeLogoContainer___hF2j3 {\r\n height: 118px;\r\n }\r\n}\r\n\r\n.styles-module__pgeLogo___b7X5k {\r\n width: 240px;\r\n height: 86px;\r\n background-repeat: no-repeat;\r\n background-size: contain;\r\n background-position: center bottom;\r\n margin: 0 auto;\r\n}\r\n\r\n.styles-module__copyrightContainer___mh-Zd {\r\n width: 100%;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: row;\r\n background-color: #000;\r\n min-height: 46px;\r\n}\r\n\r\n@media screen and (max-width: 480px) {\r\n .styles-module__copyrightContainer___mh-Zd {\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n min-height: 30px;\r\n }\r\n}\r\n\r\n.styles-module__copyrightText___U8iv8 {\r\n font-weight: 400;\r\n font-size: var(--font-size-12, 12px);\r\n line-height: 16.34px;\r\n letter-spacing: 0%;\r\n text-align: center;\r\n color: #fff;\r\n}\r\n\r\n.styles-module__footerAddress___wdcT4 {\r\n display: flex;\r\n margin: 0;\r\n justify-content: center;\r\n color: var(--background-color);\r\n font-size: var(--font-size-12);\r\n background-color: var(--footer-bg-color);\r\n padding-top: 8px;\r\n padding-bottom: 8px;\r\n color: #fff;\r\n}\r\n";
|
|
@@ -21152,6 +21152,8 @@ var css_248z$f = ":root {\n font-family: \"Inter var\", sans-serif;\n font-fea
|
|
|
21152
21152
|
styleInject(css_248z$f);
|
|
21153
21153
|
|
|
21154
21154
|
addLocale("pt", {
|
|
21155
|
+
emptyMessage: "Nenhuma opção disponível",
|
|
21156
|
+
emptyFilterMessage: "Nenhum resultado encontrado",
|
|
21155
21157
|
monthNames: [
|
|
21156
21158
|
"Janeiro",
|
|
21157
21159
|
"Fevereiro",
|
|
@@ -27584,6 +27586,45 @@ styleInject(css_248z$1);
|
|
|
27584
27586
|
addLocale("pt", {
|
|
27585
27587
|
emptyMessage: "Nenhuma opção disponível",
|
|
27586
27588
|
emptyFilterMessage: "Nenhum resultado encontrado",
|
|
27589
|
+
monthNames: [
|
|
27590
|
+
"Janeiro",
|
|
27591
|
+
"Fevereiro",
|
|
27592
|
+
"Março",
|
|
27593
|
+
"Abril",
|
|
27594
|
+
"Maio",
|
|
27595
|
+
"Junho",
|
|
27596
|
+
"Julho",
|
|
27597
|
+
"Agosto",
|
|
27598
|
+
"Setembro",
|
|
27599
|
+
"Outubro",
|
|
27600
|
+
"Novembro",
|
|
27601
|
+
"Dezembro",
|
|
27602
|
+
],
|
|
27603
|
+
monthNamesShort: [
|
|
27604
|
+
"Jan",
|
|
27605
|
+
"Fev",
|
|
27606
|
+
"Mar",
|
|
27607
|
+
"Abr",
|
|
27608
|
+
"Mai",
|
|
27609
|
+
"Jun",
|
|
27610
|
+
"Jul",
|
|
27611
|
+
"Ago",
|
|
27612
|
+
"Set",
|
|
27613
|
+
"Out",
|
|
27614
|
+
"Nov",
|
|
27615
|
+
"Dez",
|
|
27616
|
+
],
|
|
27617
|
+
dayNames: [
|
|
27618
|
+
"Domingo",
|
|
27619
|
+
"Segunda-feira",
|
|
27620
|
+
"Terça-feira",
|
|
27621
|
+
"Quarta-feira",
|
|
27622
|
+
"Quinta-feira",
|
|
27623
|
+
"Sexta-feira",
|
|
27624
|
+
"Sábado",
|
|
27625
|
+
],
|
|
27626
|
+
dayNamesMin: ["D", "S", "T", "Q", "Q", "S", "S"],
|
|
27627
|
+
dayNamesShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
|
|
27587
27628
|
});
|
|
27588
27629
|
locale("pt");
|
|
27589
27630
|
var TreeSelect = function (_a) {
|