pge-front-common 14.2.24 → 14.2.25

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.
@@ -7,4 +7,5 @@ export declare const AnalyzeDocument: Story;
7
7
  export declare const Statement: Story;
8
8
  export declare const Value: Story;
9
9
  export declare const Report: Story;
10
+ export declare const LoadingProgress: Story;
10
11
  export declare const IconesCardsHome: Story;
@@ -74,7 +74,8 @@ import { IconReport } from "./report-icon";
74
74
  import { IconAlertInfo } from "./alert-info-icon";
75
75
  import { IconDocumento } from "./documento-icon";
76
76
  import { IconLista } from "./lista-icon";
77
+ import { IconLoadingProgress } from "./loading-progress-icon";
77
78
  import { IconMedalha } from "./medalha-icon";
78
79
  import { IconFluxo } from "./fluxo-icon";
79
80
  import { IconBloco } from "./bloco-icon";
80
- export { IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconStatement, IconValue, IconReport, IconCopy, IconRequerimentoAdm, IconPayment, IconTwoUsers, IconTwoUsersSearch, IconCalculate, IconUpArrow, IconArrowRight, IconArrowLeft, IconCertidaoRegularidade, IconEmissaoDarj, IconDebitoFiscal, IconParcelamento, IconLeftDirection, IconRightDirection, IconInformative, IconCheckSuccess, IconAlert, IconAttention, IconPrint, IconDownload, IconVisibility, IconEdit, IconDelete, IconDotsVertical, IconCalendar, IconProfile, IconUpload, IconNewTab, IconWarning, IconCheckCircle, IconEventAvaliable, IconLogout, IconCLose, IconAdd, IconRemove, IconCircleExpland, IconCircleRecall, IconArrowExpland, IconArrowRecall, IconTriangleExpand, IconTriangleRecall, IconSwap, IconAddCell, IconRoundAddCell, IconConfig, MenuIcon, LogoRhDigital, LogoPGERG, LogoPGEBeneficios, IconInvisibility, IconPdf, IconHourglass, IconSearch, IconUpAndDownArror, IconCheck, IconUploadFile, LogoDividaAtiva, IconUploadV2, IconQuestionMark, IconUserLogout, CommonDotIcon, IconExclude, IconView, IconUploadFile2, IconInfoRound, IconMail, IconUsers, IconDocumento, IconLista, IconMedalha, IconFluxo, IconBloco, };
81
+ export { IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconStatement, IconValue, IconReport, IconCopy, IconRequerimentoAdm, IconPayment, IconTwoUsers, IconTwoUsersSearch, IconCalculate, IconUpArrow, IconArrowRight, IconArrowLeft, IconCertidaoRegularidade, IconEmissaoDarj, IconDebitoFiscal, IconParcelamento, IconLeftDirection, IconRightDirection, IconInformative, IconCheckSuccess, IconAlert, IconAttention, IconPrint, IconDownload, IconVisibility, IconEdit, IconDelete, IconDotsVertical, IconCalendar, IconProfile, IconUpload, IconNewTab, IconWarning, IconCheckCircle, IconEventAvaliable, IconLogout, IconCLose, IconAdd, IconRemove, IconCircleExpland, IconCircleRecall, IconArrowExpland, IconArrowRecall, IconTriangleExpand, IconTriangleRecall, IconSwap, IconAddCell, IconRoundAddCell, IconConfig, MenuIcon, LogoRhDigital, LogoPGERG, LogoPGEBeneficios, IconInvisibility, IconPdf, IconHourglass, IconSearch, IconUpAndDownArror, IconCheck, IconUploadFile, LogoDividaAtiva, IconUploadV2, IconQuestionMark, IconUserLogout, CommonDotIcon, IconExclude, IconView, IconUploadFile2, IconInfoRound, IconMail, IconUsers, IconDocumento, IconLista, IconLoadingProgress, IconMedalha, IconFluxo, IconBloco, };
@@ -0,0 +1,5 @@
1
+ import React, { SVGProps } from "react";
2
+ export type IconLoadingProgressProps = SVGProps<SVGSVGElement> & {
3
+ spinning?: boolean;
4
+ };
5
+ export declare const IconLoadingProgress: ({ spinning, className, style, ...props }: IconLoadingProgressProps) => React.JSX.Element;
package/lib/index.d.ts CHANGED
@@ -92,19 +92,6 @@ declare const FileUpload: React__default.ForwardRefExoticComponent<{
92
92
  maxFileSize?: `${number}KB` | `${number}MB` | `${number}GB`;
93
93
  helperText?: React__default.ReactNode;
94
94
  } & {
95
- style?: React__default.CSSProperties | undefined;
96
- disabled?: boolean | undefined | undefined;
97
- className?: string | undefined | undefined;
98
- value?: string | number | readonly string[] | undefined;
99
- form?: string | undefined | undefined;
100
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
101
- formEncType?: string | undefined | undefined;
102
- formMethod?: string | undefined | undefined;
103
- formNoValidate?: boolean | undefined | undefined;
104
- formTarget?: string | undefined | undefined;
105
- name?: string | undefined | undefined;
106
- type?: "submit" | "reset" | "button" | undefined | undefined;
107
- onChange?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
108
95
  defaultChecked?: boolean | undefined | undefined;
109
96
  defaultValue?: string | number | readonly string[] | undefined;
110
97
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -112,6 +99,7 @@ declare const FileUpload: React__default.ForwardRefExoticComponent<{
112
99
  accessKey?: string | undefined | undefined;
113
100
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
114
101
  autoFocus?: boolean | undefined | undefined;
102
+ className?: string | undefined | undefined;
115
103
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
116
104
  contextMenu?: string | undefined | undefined;
117
105
  dir?: string | undefined | undefined;
@@ -123,6 +111,7 @@ declare const FileUpload: React__default.ForwardRefExoticComponent<{
123
111
  nonce?: string | undefined | undefined;
124
112
  slot?: string | undefined | undefined;
125
113
  spellCheck?: (boolean | "true" | "false") | undefined;
114
+ style?: React__default.CSSProperties | undefined;
126
115
  tabIndex?: number | undefined | undefined;
127
116
  translate?: "yes" | "no" | undefined | undefined;
128
117
  radioGroup?: string | undefined | undefined;
@@ -230,6 +219,7 @@ declare const FileUpload: React__default.ForwardRefExoticComponent<{
230
219
  onFocusCapture?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
231
220
  onBlur?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
232
221
  onBlurCapture?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
222
+ onChange?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
233
223
  onChangeCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
234
224
  onBeforeInput?: React__default.InputEventHandler<HTMLButtonElement> | undefined;
235
225
  onBeforeInputCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
@@ -398,6 +388,16 @@ declare const FileUpload: React__default.ForwardRefExoticComponent<{
398
388
  'data-pr-hidedelay'?: number | undefined | undefined;
399
389
  'data-pr-autohide'?: boolean | undefined | undefined;
400
390
  'data-pr-showondisabled'?: boolean | undefined | undefined;
391
+ disabled?: boolean | undefined | undefined;
392
+ form?: string | undefined | undefined;
393
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
394
+ formEncType?: string | undefined | undefined;
395
+ formMethod?: string | undefined | undefined;
396
+ formNoValidate?: boolean | undefined | undefined;
397
+ formTarget?: string | undefined | undefined;
398
+ name?: string | undefined | undefined;
399
+ type?: "submit" | "reset" | "button" | undefined | undefined;
400
+ value?: string | number | readonly string[] | undefined;
401
401
  } & React__default.RefAttributes<FileUploadHandle>>;
402
402
 
403
403
  interface TooltipProps$1 {
@@ -1093,6 +1093,11 @@ declare const IconDocumento: ({ className, ...props }: SVGProps<SVGSVGElement>)
1093
1093
 
1094
1094
  declare const IconLista: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
1095
1095
 
1096
+ type IconLoadingProgressProps = SVGProps<SVGSVGElement> & {
1097
+ spinning?: boolean;
1098
+ };
1099
+ declare const IconLoadingProgress: ({ spinning, className, style, ...props }: IconLoadingProgressProps) => React__default.JSX.Element;
1100
+
1096
1101
  declare const IconMedalha: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
1097
1102
 
1098
1103
  declare const IconFluxo: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
@@ -1101,5 +1106,5 @@ declare const IconBloco: ({ className, ...props }: SVGProps<SVGSVGElement>) => R
1101
1106
 
1102
1107
  declare function installPrimeReactStyles(): void;
1103
1108
 
1104
- export { Accordion, AccordionItem, BasicSelect, Blanket, BoxError, BoxSuccess, Button, Checkbox, Chip, CommonDotIcon, DateInput, Dropdown, Fieldset, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconBloco, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconConfig, IconCopy, IconDebitoFiscal, IconDelete, IconDocumento, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconFluxo, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLista, IconLogout, IconMail, IconMedalha, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconReport, IconRequerimentoAdm, IconRightDirection, IconRoundAddCell, IconSearch, IconStatement, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconValue, IconView, IconVisibility, IconWarning, InformativeBox, InputBase, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, RadioButton, RadioGroupBase, SelectDefault, SelectMult, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, TableFooter, TableHeader, TableRow, TextareaBase, Title, Tooltip, TooltipWithPortal, TreeSelect, installPrimeReactStyles };
1109
+ export { Accordion, AccordionItem, BasicSelect, Blanket, BoxError, BoxSuccess, Button, Checkbox, Chip, CommonDotIcon, DateInput, Dropdown, Fieldset, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconBloco, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconConfig, IconCopy, IconDebitoFiscal, IconDelete, IconDocumento, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconFluxo, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLista, IconLoadingProgress, IconLogout, IconMail, IconMedalha, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconReport, IconRequerimentoAdm, IconRightDirection, IconRoundAddCell, IconSearch, IconStatement, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconValue, IconView, IconVisibility, IconWarning, InformativeBox, InputBase, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, RadioButton, RadioGroupBase, SelectDefault, SelectMult, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, TableFooter, TableHeader, TableRow, TextareaBase, Title, Tooltip, TooltipWithPortal, TreeSelect, installPrimeReactStyles };
1105
1110
  export type { AccordionItemProps, ButtonProps, ChipProps, Column, FieldsetProps, InformativeBoxProps, InputProps, OptionsProps$2 as OptionsProps, ProgressCircleProps, RadioButtonProps, RadioGroupBaseProps, SelectDefaultProps, SelectMultProps, TableComponentProps, TextareaBaseProps, TreeSelectOptions, TreeSelectProps };
package/lib/index.esm.js CHANGED
@@ -600,6 +600,15 @@ var IconLista = function (_a) {
600
600
  React__default.createElement("path", { d: "M4 14H11V12H4V14ZM4 10H14V8H4V10ZM4 6H14V4H4V6ZM2 18C1.45 18 0.979167 17.8042 0.5875 17.4125C0.195833 17.0208 0 16.55 0 16V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H16C16.55 0 17.0208 0.195833 17.4125 0.5875C17.8042 0.979167 18 1.45 18 2V16C18 16.55 17.8042 17.0208 17.4125 17.4125C17.0208 17.8042 16.55 18 16 18H2ZM2 16H16V2H2V16Z", fill: "currentColor" })));
601
601
  };
602
602
 
603
+ var IconLoadingProgress = function (_a) {
604
+ var _b = _a.spinning, spinning = _b === void 0 ? true : _b, className = _a.className, style = _a.style, props = __rest(_a, ["spinning", "className", "style"]);
605
+ return (React__default.createElement("svg", __assign({ width: "26", height: "26", viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: __assign({ color: "#005A92" }, style) }, props),
606
+ React__default.createElement("circle", { cx: "13", cy: "13", r: "11", stroke: "currentColor", strokeOpacity: 0.1, strokeWidth: "4", fill: "none" }),
607
+ React__default.createElement("g", null,
608
+ spinning ? (React__default.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 13 13", to: "360 13 13", dur: "1s", repeatCount: "indefinite" })) : null,
609
+ React__default.createElement("path", { d: "M14.9121 2L15.849 2.2077L16.7642 2.49627L17.6508 2.8635L18.502 3.30661L19.3113 3.82221L20.0726 4.4064L20.7802 5.05471L21.4285 5.76222L22.0127 6.52355L22.5283 7.33289L22.9714 8.18408L23.3386 9.07066L23.6272 9.98588L23.8349 10.9228L23.9601 11.8742L24.002 12.8329L23.9601 13.7916L23.8349 14.743", stroke: "currentColor", strokeWidth: "4", strokeLinecap: "round" }))));
610
+ };
611
+
603
612
  var IconMedalha = function (_a) {
604
613
  var className = _a.className, props = __rest(_a, ["className"]);
605
614
  return (React__default.createElement("svg", __assign({ viewBox: "0 0 16 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, props),
@@ -27959,5 +27968,5 @@ function installPrimeReactStyles() {
27959
27968
  require("primereact/resources/primereact.css");
27960
27969
  }
27961
27970
 
27962
- export { Accordion, AccordionItem, BasicSelect, Blanket, BoxError, BoxSuccess, Button$1 as Button, Checkbox$1 as Checkbox, Chip, CommonDotIcon, DateInput, Dropdown, Fieldset, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconBloco, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconConfig, IconCopy, IconDebitoFiscal, IconDelete$1 as IconDelete, IconDocumento, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconFluxo, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLista, IconLogout, IconMail, IconMedalha, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconReport, IconRequerimentoAdm, IconRightDirection, IconRoundAddCell, IconSearch, IconStatement, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconValue, IconView, IconVisibility, IconWarning, InformativeBox, InputBase, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, RadioButton, RadioGroupBase, SelectDefault, SelectMult, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, TableFooter, TableHeader, TableRow, TextareaBase, Title$1 as Title, Tooltip$1 as Tooltip, TooltipWithPortal, TreeSelect, installPrimeReactStyles };
27971
+ export { Accordion, AccordionItem, BasicSelect, Blanket, BoxError, BoxSuccess, Button$1 as Button, Checkbox$1 as Checkbox, Chip, CommonDotIcon, DateInput, Dropdown, Fieldset, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconAlertInfo, IconAnalyze, IconAnalyzeDocument, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconBloco, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconConfig, IconCopy, IconDebitoFiscal, IconDelete$1 as IconDelete, IconDocumento, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconFluxo, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLista, IconLoadingProgress, IconLogout, IconMail, IconMedalha, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconReport, IconRequerimentoAdm, IconRightDirection, IconRoundAddCell, IconSearch, IconStatement, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconValue, IconView, IconVisibility, IconWarning, InformativeBox, InputBase, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, RadioButton, RadioGroupBase, SelectDefault, SelectMult, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, TableFooter, TableHeader, TableRow, TextareaBase, Title$1 as Title, Tooltip$1 as Tooltip, TooltipWithPortal, TreeSelect, installPrimeReactStyles };
27963
27972
  //# sourceMappingURL=index.esm.js.map