pge-front-common 14.2.30 → 14.2.31

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/index.d.ts CHANGED
@@ -435,6 +435,31 @@ interface InputBaseProps extends InputHTMLAttributes<HTMLInputElement> {
435
435
 
436
436
  declare const DateInput: ({ restrictionMessage, label, onChange, isError, valueDate, disabled, placeholder, required, inline, selectionMode, enabledDates, view, dateFormat, }: InputBaseProps) => React__default.JSX.Element;
437
437
 
438
+ /**
439
+ * Campo de hora com edição por teclado (`HH:mm` ou 4 dígitos), ícone decorativo e painel em portal
440
+ * (rodas + OK/Cancelar). Ao focar, o painel abre mantendo o foco no input; cliques nas rodas não
441
+ * retiram o foco. O valor controlado é `HH:mm` (24h), exposto em `onChange` como `e.target.value`.
442
+ * Demais atributos de `input` (ex.: `id`, `name`, `aria-*`) repassam ao `<input>`.
443
+ */
444
+ interface TimeInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "defaultValue" | "onChange"> {
445
+ restrictionMessage?: string;
446
+ label?: string;
447
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
448
+ isError?: boolean;
449
+ /** Valor no formato `HH:mm` (ex.: `09:00`). */
450
+ valueTime?: string | null;
451
+ disabled?: boolean;
452
+ required?: boolean | false;
453
+ /** Intervalo entre opções de minutos (padrão: 5). */
454
+ minutesStep?: number;
455
+ /** Faixa de horas `[início, fim]` inclusive (padrão: `[0, 23]`). */
456
+ hoursRange?: [number, number];
457
+ textoCancelar?: string;
458
+ textoConfirmar?: string;
459
+ }
460
+
461
+ declare const TimeInput: ({ restrictionMessage, label, onChange, isError, valueTime, disabled, placeholder, required, minutesStep, hoursRange: hoursRangeProp, textoCancelar, textoConfirmar, ...inputProps }: TimeInputProps) => React__default.JSX.Element;
462
+
438
463
  interface SelectDefaultProps {
439
464
  name: string;
440
465
  optionsSelect: OptionsProps[];
@@ -813,5 +838,5 @@ declare const IconBloco: ({ className, ...props }: SVGProps<SVGSVGElement>) => R
813
838
 
814
839
  declare function installPrimeReactStyles(): void;
815
840
 
816
- 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 };
817
- export type { AccordionItemProps, ButtonProps, ChipProps, Column, FieldsetProps, InformativeBoxProps, InputProps, OptionsProps$2 as OptionsProps, ProgressCircleProps, RadioButtonProps, RadioGroupBaseProps, SelectDefaultProps, SelectMultProps, TableComponentProps, TextareaBaseProps, TreeSelectOptions, TreeSelectProps };
841
+ 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, TimeInput, Title, Tooltip, TooltipWithPortal, TreeSelect, installPrimeReactStyles };
842
+ export type { AccordionItemProps, ButtonProps, ChipProps, Column, FieldsetProps, InformativeBoxProps, InputProps, OptionsProps$2 as OptionsProps, ProgressCircleProps, RadioButtonProps, RadioGroupBaseProps, SelectDefaultProps, SelectMultProps, TableComponentProps, TextareaBaseProps, TimeInputProps, TreeSelectOptions, TreeSelectProps };