linear-react-components-ui 1.1.26-beta.7 → 1.1.26-beta.8
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/@types/Align.d.ts +2 -0
- package/lib/@types/ButtonTypes.d.ts +1 -0
- package/lib/@types/ColorStyles.d.ts +1 -0
- package/lib/@types/DataCombo.d.ts +1 -0
- package/lib/@types/Icon.d.ts +2 -0
- package/lib/@types/LabelStyles.d.ts +1 -0
- package/lib/@types/Period.d.ts +4 -0
- package/lib/@types/PermissionAttr.d.ts +12 -0
- package/lib/@types/PointerEvents.d.ts +1 -0
- package/lib/@types/Position.d.ts +1 -0
- package/lib/@types/PositionAlert.d.ts +1 -0
- package/lib/@types/Size.d.ts +1 -0
- package/lib/@types/SizePixels.d.ts +1 -0
- package/lib/@types/StorageMock.d.ts +3 -0
- package/lib/alerts/AlertContainer.d.ts +12 -0
- package/lib/alerts/AlertContainer.js +70 -0
- package/lib/alerts/AlertProvider.d.ts +3 -0
- package/lib/alerts/AlertProvider.js +46 -0
- package/lib/alerts/BaseAlert.d.ts +3 -0
- package/lib/alerts/BaseAlert.js +20 -0
- package/lib/alerts/Message.d.ts +3 -0
- package/lib/alerts/Message.js +94 -0
- package/lib/alerts/alert.spec.d.ts +0 -0
- package/lib/alerts/helpers.d.ts +3 -0
- package/lib/alerts/helpers.js +5 -0
- package/lib/alerts/index.d.ts +4 -0
- package/lib/alerts/index.js +6 -0
- package/lib/alerts/types.d.ts +47 -0
- package/lib/alerts/withAlert.d.ts +4 -0
- package/lib/alerts/withAlert.js +14 -0
- package/lib/assets/BaseAlert.css +1 -0
- package/lib/assets/Content.css +1 -0
- package/lib/assets/DefaultFile.css +1 -0
- package/lib/assets/Drawer.css +1 -0
- package/lib/assets/InputTextBase.css +1 -0
- package/lib/assets/button.css +1 -0
- package/lib/assets/gridlayout.css +1 -0
- package/lib/assets/index.css +1 -0
- package/lib/assets/index10.css +1 -0
- package/lib/assets/index11.css +1 -0
- package/lib/assets/index12.css +1 -0
- package/lib/assets/index13.css +1 -0
- package/lib/assets/index14.css +1 -0
- package/lib/assets/index15.css +1 -0
- package/lib/assets/index16.css +1 -0
- package/lib/assets/index17.css +1 -0
- package/lib/assets/index18.css +1 -0
- package/lib/assets/index19.css +1 -0
- package/lib/assets/index2.css +1 -0
- package/lib/assets/index20.css +1 -0
- package/lib/assets/index21.css +1 -0
- package/lib/assets/index22.css +1 -0
- package/lib/assets/index23.css +1 -0
- package/lib/assets/index24.css +1 -0
- package/lib/assets/index25.css +1 -0
- package/lib/assets/index26.css +1 -0
- package/lib/assets/index27.css +1 -0
- package/lib/assets/index28.css +1 -0
- package/lib/assets/index3.css +1 -0
- package/lib/assets/index4.css +1 -0
- package/lib/assets/index5.css +1 -0
- package/lib/assets/index6.css +1 -0
- package/lib/assets/index7.css +1 -0
- package/lib/assets/index8.css +1 -0
- package/lib/assets/index9.css +1 -0
- package/lib/assets/label.css +1 -0
- package/lib/assets/noPermission.css +1 -0
- package/lib/assets/panel.css +1 -0
- package/lib/assets/progressbar.css +1 -0
- package/lib/assets/radio.css +1 -0
- package/lib/assets/skeleton.css +1 -0
- package/lib/assets/table.css +1 -0
- package/lib/assets/tabs.css +1 -0
- package/lib/assets/toolbar.css +1 -0
- package/lib/assets/withDropdown.css +1 -0
- package/lib/avatar/avatar.spec.d.ts +1 -0
- package/lib/avatar/index.d.ts +6 -0
- package/lib/avatar/index.js +55 -0
- package/lib/avatar/types.d.ts +27 -0
- package/lib/badge/badge.spec.d.ts +1 -0
- package/lib/badge/index.d.ts +3 -0
- package/lib/badge/index.js +28 -0
- package/lib/badge/types.d.ts +10 -0
- package/lib/buttons/ActivateButton.d.ts +3 -0
- package/lib/buttons/ActivateButton.js +11 -0
- package/lib/buttons/AddButton.d.ts +3 -0
- package/lib/buttons/AddButton.js +14 -0
- package/lib/buttons/Button.d.ts +6 -0
- package/lib/buttons/Button.js +19 -0
- package/lib/buttons/ButtonGroups.d.ts +6 -0
- package/lib/buttons/ButtonGroups.js +12 -0
- package/lib/buttons/CancelButton.d.ts +3 -0
- package/lib/buttons/CancelButton.js +16 -0
- package/lib/buttons/DangerButton.d.ts +3 -0
- package/lib/buttons/DangerButton.js +17 -0
- package/lib/buttons/DefaultButton.d.ts +6 -0
- package/lib/buttons/DefaultButton.js +95 -0
- package/lib/buttons/DestroyButton.d.ts +3 -0
- package/lib/buttons/DestroyButton.js +23 -0
- package/lib/buttons/EditButton.d.ts +3 -0
- package/lib/buttons/EditButton.js +11 -0
- package/lib/buttons/InactivateButton.d.ts +3 -0
- package/lib/buttons/InactivateButton.js +11 -0
- package/lib/buttons/InfoButton.d.ts +3 -0
- package/lib/buttons/InfoButton.js +17 -0
- package/lib/buttons/PrimaryButton.d.ts +3 -0
- package/lib/buttons/PrimaryButton.js +17 -0
- package/lib/buttons/RestoreButton.d.ts +3 -0
- package/lib/buttons/RestoreButton.js +11 -0
- package/lib/buttons/SaveButton.d.ts +3 -0
- package/lib/buttons/SaveButton.js +16 -0
- package/lib/buttons/SuccessButton.d.ts +3 -0
- package/lib/buttons/SuccessButton.js +17 -0
- package/lib/buttons/WarningButton.d.ts +3 -0
- package/lib/buttons/WarningButton.js +17 -0
- package/lib/buttons/button_container/index.d.ts +10 -0
- package/lib/buttons/button_container/index.js +23 -0
- package/lib/buttons/buttons.spec.d.ts +0 -0
- package/lib/buttons/index.d.ts +17 -0
- package/lib/buttons/index.js +33 -0
- package/lib/buttons/split_button/index.d.ts +3 -0
- package/lib/buttons/split_button/index.js +58 -0
- package/lib/buttons/types.d.ts +46 -0
- package/lib/calendar/DangerCalendar.d.ts +3 -0
- package/lib/calendar/DangerCalendar.js +20 -0
- package/lib/calendar/InfoCalendar.d.ts +3 -0
- package/lib/calendar/InfoCalendar.js +20 -0
- package/lib/calendar/PrimaryCalendar.d.ts +3 -0
- package/lib/calendar/PrimaryCalendar.js +20 -0
- package/lib/calendar/SuccessCalendar.d.ts +3 -0
- package/lib/calendar/SuccessCalendar.js +20 -0
- package/lib/calendar/WarningCalendar.d.ts +3 -0
- package/lib/calendar/WarningCalendar.js +20 -0
- package/lib/calendar/base/Day.d.ts +3 -0
- package/lib/calendar/base/Day.js +37 -0
- package/lib/calendar/base/Month.d.ts +3 -0
- package/lib/calendar/base/Month.js +28 -0
- package/lib/calendar/base/Week.d.ts +3 -0
- package/lib/calendar/base/Week.js +24 -0
- package/lib/calendar/base/helpers.d.ts +59 -0
- package/lib/calendar/base/helpers.js +100 -0
- package/lib/calendar/base/index.d.ts +3 -0
- package/lib/calendar/base/index.js +137 -0
- package/lib/calendar/calendar.spec.d.ts +0 -0
- package/lib/calendar/index.d.ts +8 -0
- package/lib/calendar/index.js +14 -0
- package/lib/calendar/types.d.ts +27 -0
- package/lib/checkbox/checkbox.spec.d.ts +1 -0
- package/lib/checkbox/index.d.ts +9 -0
- package/lib/checkbox/index.js +32 -0
- package/lib/checkbox/types.d.ts +45 -0
- package/lib/chunks/compiler-runtime.Cu50tn6L.js +54 -0
- package/lib/chunks/index.Df3kt2LQ.js +667 -0
- package/lib/chunks/index.aw0XaUkg.js +266 -0
- package/lib/chunks/jsx-runtime.D1SHvdVE.js +282 -0
- package/lib/chunks/lodash.CIAK_hAg.js +3684 -0
- package/lib/chunks/moment.DMLRxgRE.js +2589 -0
- package/lib/chunks/tabs.BvKfeA6Y.js +244 -0
- package/lib/chunks/v1.Ds1rkxUj.js +49 -0
- package/lib/dialog/Alert.d.ts +3 -0
- package/lib/dialog/Alert.js +24 -0
- package/lib/dialog/Custom.d.ts +3 -0
- package/lib/dialog/Custom.js +47 -0
- package/lib/dialog/Error.d.ts +3 -0
- package/lib/dialog/Error.js +24 -0
- package/lib/dialog/Information.d.ts +3 -0
- package/lib/dialog/Information.js +24 -0
- package/lib/dialog/Question.d.ts +3 -0
- package/lib/dialog/Question.js +47 -0
- package/lib/dialog/Warning.d.ts +3 -0
- package/lib/dialog/Warning.js +24 -0
- package/lib/dialog/base/Content.d.ts +3 -0
- package/lib/dialog/base/Content.js +15 -0
- package/lib/dialog/base/Footer.d.ts +3 -0
- package/lib/dialog/base/Footer.js +10 -0
- package/lib/dialog/base/Header.d.ts +3 -0
- package/lib/dialog/base/Header.js +8 -0
- package/lib/dialog/base/index.d.ts +10 -0
- package/lib/dialog/base/index.js +10 -0
- package/lib/dialog/base/style.d.ts +7 -0
- package/lib/dialog/dialog.spec.d.ts +0 -0
- package/lib/dialog/form/index.d.ts +5 -0
- package/lib/dialog/form/index.js +16 -0
- package/lib/dialog/index.d.ts +9 -0
- package/lib/dialog/index.js +16 -0
- package/lib/dialog/types.d.ts +107 -0
- package/lib/dialog/wizard/index.d.ts +9 -0
- package/lib/dialog/wizard/index.js +15 -0
- package/lib/dialog/wizard/progressbar.d.ts +11 -0
- package/lib/dialog/wizard/progressbar.js +98 -0
- package/lib/dialog/wizard/step.d.ts +2 -0
- package/lib/dialog/wizard/step.js +6 -0
- package/lib/dialog/wizard/useWizard.d.ts +2 -0
- package/lib/dialog/wizard/useWizard.js +45 -0
- package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
- package/lib/drawer/Content.d.ts +3 -0
- package/lib/drawer/Content.js +18 -0
- package/lib/drawer/Drawer.d.ts +4 -0
- package/lib/drawer/Drawer.js +75 -0
- package/lib/drawer/Drawer.spec.d.ts +1 -0
- package/lib/drawer/Header.d.ts +3 -0
- package/lib/drawer/Header.js +56 -0
- package/lib/drawer/helpers.d.ts +4 -0
- package/lib/drawer/helpers.js +5 -0
- package/lib/drawer/index.d.ts +5 -0
- package/lib/drawer/index.js +10 -0
- package/lib/drawer/types.d.ts +37 -0
- package/lib/dropdown/Popup.d.ts +3 -0
- package/lib/dropdown/Popup.js +51 -0
- package/lib/dropdown/dropdown.spec.d.ts +1 -0
- package/lib/dropdown/helper.d.ts +2 -0
- package/lib/dropdown/helper.js +8 -0
- package/lib/dropdown/types.d.ts +45 -0
- package/lib/dropdown/withDropdown.d.ts +9 -0
- package/lib/dropdown/withDropdown.js +80 -0
- package/lib/fieldset/fieldset.spec.d.ts +1 -0
- package/lib/fieldset/index.d.ts +3 -0
- package/lib/fieldset/index.js +70 -0
- package/lib/fieldset/types.d.ts +27 -0
- package/lib/form/Field.d.ts +2 -0
- package/lib/form/Field.js +98 -0
- package/lib/form/FieldArray.d.ts +2 -0
- package/lib/form/FieldArray.js +68 -0
- package/lib/form/FieldNumber.d.ts +2 -0
- package/lib/form/FieldNumber.js +48 -0
- package/lib/form/FieldPeriod.d.ts +2 -0
- package/lib/form/FieldPeriod.js +95 -0
- package/lib/form/form.spec.d.ts +0 -0
- package/lib/form/helpers.d.ts +8 -0
- package/lib/form/helpers.js +28 -0
- package/lib/form/index.d.ts +8 -0
- package/lib/form/index.js +150 -0
- package/lib/form/types.d.ts +233 -0
- package/lib/form/withFieldHOC.d.ts +4 -0
- package/lib/form/withFieldHOC.js +62 -0
- package/lib/form/withFormSecurity.d.ts +6 -0
- package/lib/form/withFormSecurity.js +30 -0
- package/lib/gridlayout/GridCol.d.ts +3 -0
- package/lib/gridlayout/GridCol.js +27 -0
- package/lib/gridlayout/GridRow.d.ts +3 -0
- package/lib/gridlayout/GridRow.js +26 -0
- package/lib/gridlayout/gridLayout.spec.d.ts +1 -0
- package/lib/gridlayout/index.d.ts +4 -0
- package/lib/gridlayout/index.js +6 -0
- package/lib/gridlayout/types.d.ts +17 -0
- package/lib/hint/helpers.d.ts +1 -0
- package/lib/hint/helpers.js +12 -0
- package/lib/hint/hint.spec.d.ts +1 -0
- package/lib/hint/index.d.ts +3 -0
- package/lib/hint/index.js +30 -0
- package/lib/hint/types.d.ts +11 -0
- package/lib/icons/helper.d.ts +635 -0
- package/lib/icons/helper.js +637 -0
- package/lib/icons/icons.spec.d.ts +1 -0
- package/lib/icons/index.d.ts +6 -0
- package/lib/icons/index.js +66 -0
- package/lib/icons/types.d.ts +46 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +28 -0
- package/lib/inputs/base/InputTextBase.d.ts +3 -0
- package/lib/inputs/base/InputTextBase.js +183 -0
- package/lib/inputs/base/Label.d.ts +6 -0
- package/lib/inputs/base/Label.js +30 -0
- package/lib/inputs/base/base.spec.d.ts +1 -0
- package/lib/inputs/base/helpers.d.ts +10 -0
- package/lib/inputs/base/helpers.js +30 -0
- package/lib/inputs/base/types.d.ts +98 -0
- package/lib/inputs/color/color_input.spec.d.ts +0 -0
- package/lib/inputs/color/index.d.ts +3 -0
- package/lib/inputs/color/index.js +57 -0
- package/lib/inputs/color/types.d.ts +16 -0
- package/lib/inputs/date/Dialog.d.ts +3 -0
- package/lib/inputs/date/Dialog.js +17 -0
- package/lib/inputs/date/Dropdown.d.ts +3 -0
- package/lib/inputs/date/Dropdown.js +19 -0
- package/lib/inputs/date/date.spec.d.ts +1 -0
- package/lib/inputs/date/helpers.d.ts +5 -0
- package/lib/inputs/date/helpers.js +10 -0
- package/lib/inputs/date/index.d.ts +3 -0
- package/lib/inputs/date/index.js +136 -0
- package/lib/inputs/date/types.d.ts +56 -0
- package/lib/inputs/errorMessage/error.spec.d.ts +1 -0
- package/lib/inputs/errorMessage/index.d.ts +4 -0
- package/lib/inputs/errorMessage/index.js +24 -0
- package/lib/inputs/file/DefaultFile.d.ts +3 -0
- package/lib/inputs/file/DefaultFile.js +68 -0
- package/lib/inputs/file/DragDropFile.d.ts +3 -0
- package/lib/inputs/file/DragDropFile.js +135 -0
- package/lib/inputs/file/File.d.ts +3 -0
- package/lib/inputs/file/File.js +31 -0
- package/lib/inputs/file/FileButtonSettings.d.ts +3 -0
- package/lib/inputs/file/FileButtonSettings.js +24 -0
- package/lib/inputs/file/filefield.spec.d.ts +1 -0
- package/lib/inputs/file/helpers.d.ts +2 -0
- package/lib/inputs/file/helpers.js +11 -0
- package/lib/inputs/file/index.d.ts +5 -0
- package/lib/inputs/file/index.js +8 -0
- package/lib/inputs/file/types.d.ts +49 -0
- package/lib/inputs/inputHOC.d.ts +4 -0
- package/lib/inputs/inputHOC.js +42 -0
- package/lib/inputs/mask/BaseMask.d.ts +3 -0
- package/lib/inputs/mask/BaseMask.js +2672 -0
- package/lib/inputs/mask/Cnpj.d.ts +6 -0
- package/lib/inputs/mask/Cnpj.js +46 -0
- package/lib/inputs/mask/Cpf.d.ts +6 -0
- package/lib/inputs/mask/Cpf.js +48 -0
- package/lib/inputs/mask/Phone.d.ts +3 -0
- package/lib/inputs/mask/Phone.js +13 -0
- package/lib/inputs/mask/ZipCode.d.ts +3 -0
- package/lib/inputs/mask/ZipCode.js +11 -0
- package/lib/inputs/mask/helpers.d.ts +52 -0
- package/lib/inputs/mask/helpers.js +63 -0
- package/lib/inputs/mask/index.d.ts +7 -0
- package/lib/inputs/mask/index.js +12 -0
- package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
- package/lib/inputs/mask/types.d.ts +73 -0
- package/lib/inputs/multiSelect/ActionButtons.d.ts +3 -0
- package/lib/inputs/multiSelect/ActionButtons.js +39 -0
- package/lib/inputs/multiSelect/Dropdown.d.ts +3 -0
- package/lib/inputs/multiSelect/Dropdown.js +98 -0
- package/lib/inputs/multiSelect/helper.d.ts +3 -0
- package/lib/inputs/multiSelect/helper.js +8 -0
- package/lib/inputs/multiSelect/index.d.ts +3 -0
- package/lib/inputs/multiSelect/index.js +180 -0
- package/lib/inputs/multiSelect/multiSelect.spec.d.ts +1 -0
- package/lib/inputs/multiSelect/types.d.ts +57 -0
- package/lib/inputs/number/BaseNumber.d.ts +3 -0
- package/lib/inputs/number/BaseNumber.js +59 -0
- package/lib/inputs/number/Currency.d.ts +3 -0
- package/lib/inputs/number/Currency.js +22 -0
- package/lib/inputs/number/Decimal.d.ts +3 -0
- package/lib/inputs/number/Decimal.js +11 -0
- package/lib/inputs/number/format_number.d.ts +3 -0
- package/lib/inputs/number/format_number.js +9 -0
- package/lib/inputs/number/index.d.ts +6 -0
- package/lib/inputs/number/index.js +34 -0
- package/lib/inputs/number/numberfield.spec.d.ts +1 -0
- package/lib/inputs/number/types.d.ts +28 -0
- package/lib/inputs/period/Dialog.d.ts +3 -0
- package/lib/inputs/period/Dialog.js +18 -0
- package/lib/inputs/period/Dropdown.d.ts +3 -0
- package/lib/inputs/period/Dropdown.js +18 -0
- package/lib/inputs/period/PeriodList.d.ts +3 -0
- package/lib/inputs/period/PeriodList.js +43 -0
- package/lib/inputs/period/helper.d.ts +11 -0
- package/lib/inputs/period/helper.js +39 -0
- package/lib/inputs/period/index.d.ts +3 -0
- package/lib/inputs/period/index.js +213 -0
- package/lib/inputs/period/types.d.ts +69 -0
- package/lib/inputs/search/index.d.ts +3 -0
- package/lib/inputs/search/index.js +104 -0
- package/lib/inputs/search/search_input.spec.d.ts +1 -0
- package/lib/inputs/select/ActionButtons.d.ts +3 -0
- package/lib/inputs/select/ActionButtons.js +28 -0
- package/lib/inputs/select/Dropdown.d.ts +3 -0
- package/lib/inputs/select/Dropdown.js +70 -0
- package/lib/inputs/select/helper.d.ts +11 -0
- package/lib/inputs/select/helper.js +48 -0
- package/lib/inputs/select/index.d.ts +3 -0
- package/lib/inputs/select/index.js +27 -0
- package/lib/inputs/select/multiple/Selecteds.d.ts +3 -0
- package/lib/inputs/select/multiple/Selecteds.js +25 -0
- package/lib/inputs/select/multiple/index.d.ts +3 -0
- package/lib/inputs/select/multiple/index.js +126 -0
- package/lib/inputs/select/select.spec.d.ts +1 -0
- package/lib/inputs/select/simple/index.d.ts +3 -0
- package/lib/inputs/select/simple/index.js +156 -0
- package/lib/inputs/select/types.d.ts +117 -0
- package/lib/inputs/text/index.d.ts +3 -0
- package/lib/inputs/text/index.js +11 -0
- package/lib/inputs/text/textfield.spec.d.ts +1 -0
- package/lib/inputs/text/types.d.ts +21 -0
- package/lib/inputs/textarea/index.d.ts +3 -0
- package/lib/inputs/textarea/index.js +16 -0
- package/lib/inputs/textarea/textarea.spec.d.ts +1 -0
- package/lib/inputs/textarea/types.d.ts +7 -0
- package/lib/inputs/types.d.ts +151 -0
- package/lib/internals/colorStyles.d.ts +8 -0
- package/lib/internals/colorStyles.js +10 -0
- package/lib/internals/constants.d.ts +9 -0
- package/lib/internals/constants.js +12 -0
- package/lib/internals/types.d.ts +22 -0
- package/lib/internals/withTooltip.d.ts +8 -0
- package/lib/internals/withTooltip.js +122 -0
- package/lib/labelMessages/index.d.ts +3 -0
- package/lib/labelMessages/index.js +53 -0
- package/lib/labelMessages/labelMessages.spec.d.ts +1 -0
- package/lib/labelMessages/types.d.ts +16 -0
- package/lib/labels/DangerLabel.d.ts +3 -0
- package/lib/labels/DangerLabel.js +20 -0
- package/lib/labels/DefaultLabel.d.ts +6 -0
- package/lib/labels/DefaultLabel.js +55 -0
- package/lib/labels/InfoLabel.d.ts +3 -0
- package/lib/labels/InfoLabel.js +20 -0
- package/lib/labels/PrimaryLabel.d.ts +3 -0
- package/lib/labels/PrimaryLabel.js +20 -0
- package/lib/labels/SuccessLabel.d.ts +3 -0
- package/lib/labels/SuccessLabel.js +20 -0
- package/lib/labels/WarningLabel.d.ts +3 -0
- package/lib/labels/WarningLabel.js +20 -0
- package/lib/labels/index.d.ts +9 -0
- package/lib/labels/index.js +17 -0
- package/lib/labels/label.spec.d.ts +1 -0
- package/lib/labels/label_container/index.d.ts +10 -0
- package/lib/labels/label_container/index.js +18 -0
- package/lib/labels/types.d.ts +22 -0
- package/lib/list/Header.d.ts +3 -0
- package/lib/list/Header.js +20 -0
- package/lib/list/Item.d.ts +6 -0
- package/lib/list/Item.js +14 -0
- package/lib/list/Separator.d.ts +2 -0
- package/lib/list/Separator.js +10 -0
- package/lib/list/helpers.d.ts +9 -0
- package/lib/list/helpers.js +10 -0
- package/lib/list/index.d.ts +7 -0
- package/lib/list/index.js +104 -0
- package/lib/list/list.spec.d.ts +1 -0
- package/lib/list/types.d.ts +69 -0
- package/lib/menus/float/MenuItem.d.ts +3 -0
- package/lib/menus/float/MenuItem.js +55 -0
- package/lib/menus/float/SubMenuContainer.d.ts +29 -0
- package/lib/menus/float/float-menu.spec.d.ts +0 -0
- package/lib/menus/float/helpers.d.ts +4 -0
- package/lib/menus/float/helpers.js +5 -0
- package/lib/menus/float/index.d.ts +6 -0
- package/lib/menus/float/index.js +113 -0
- package/lib/menus/float/types.d.ts +26 -0
- package/lib/menus/index.d.ts +2 -0
- package/lib/menus/index.js +4 -0
- package/lib/menus/sidenav/ExpandMenu.d.ts +3 -0
- package/lib/menus/sidenav/ExpandMenu.js +19 -0
- package/lib/menus/sidenav/MenuLink.d.ts +6 -0
- package/lib/menus/sidenav/MenuLink.js +24 -0
- package/lib/menus/sidenav/NavMenuGroup.d.ts +3 -0
- package/lib/menus/sidenav/NavMenuGroup.js +22 -0
- package/lib/menus/sidenav/NavMenuItem.d.ts +6 -0
- package/lib/menus/sidenav/NavMenuItem.js +136 -0
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +3 -0
- package/lib/menus/sidenav/NavSubMenuItem.js +39 -0
- package/lib/menus/sidenav/helpers.d.ts +6 -0
- package/lib/menus/sidenav/helpers.js +10 -0
- package/lib/menus/sidenav/index.d.ts +8 -0
- package/lib/menus/sidenav/index.js +150 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +3 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +23 -0
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +4 -0
- package/lib/menus/sidenav/popup_menu_search/index.js +56 -0
- package/lib/menus/sidenav/sidenav.spec.d.ts +1 -0
- package/lib/menus/sidenav/types.d.ts +85 -0
- package/lib/noPermission/index.d.ts +2 -0
- package/lib/noPermission/index.js +16 -0
- package/lib/panel/Content.d.ts +3 -0
- package/lib/panel/Content.js +55 -0
- package/lib/panel/DangerPanel.d.ts +3 -0
- package/lib/panel/DangerPanel.js +12 -0
- package/lib/panel/Default.d.ts +3 -0
- package/lib/panel/Default.js +68 -0
- package/lib/panel/Header.d.ts +3 -0
- package/lib/panel/Header.js +58 -0
- package/lib/panel/InfoPanel.d.ts +3 -0
- package/lib/panel/InfoPanel.js +12 -0
- package/lib/panel/PrimaryPanel.d.ts +3 -0
- package/lib/panel/PrimaryPanel.js +12 -0
- package/lib/panel/SuccessPanel.d.ts +3 -0
- package/lib/panel/SuccessPanel.js +12 -0
- package/lib/panel/ToolBar.d.ts +3 -0
- package/lib/panel/ToolBar.js +19 -0
- package/lib/panel/WarningPanel.d.ts +3 -0
- package/lib/panel/WarningPanel.js +12 -0
- package/lib/panel/helpers.d.ts +5 -0
- package/lib/panel/helpers.js +15 -0
- package/lib/panel/index.d.ts +10 -0
- package/lib/panel/index.js +19 -0
- package/lib/panel/panel.spec.d.ts +0 -0
- package/lib/panel/types.d.ts +43 -0
- package/lib/permissionValidations.d.ts +12 -0
- package/lib/permissionValidations.js +46 -0
- package/lib/popover/PopoverText.d.ts +4 -0
- package/lib/popover/PopoverText.js +14 -0
- package/lib/popover/PopoverTitle.d.ts +3 -0
- package/lib/popover/PopoverTitle.js +12 -0
- package/lib/popover/index.d.ts +6 -0
- package/lib/popover/index.js +39 -0
- package/lib/popover/popover.spec.d.ts +1 -0
- package/lib/popover/types.d.ts +31 -0
- package/lib/progress/Bar.d.ts +3 -0
- package/lib/progress/Bar.js +51 -0
- package/lib/progress/index.d.ts +5 -0
- package/lib/progress/index.js +26 -0
- package/lib/progress/progress.spec.d.ts +1 -0
- package/lib/progress/types.d.ts +34 -0
- package/lib/radio/index.d.ts +8 -0
- package/lib/radio/index.js +112 -0
- package/lib/radio/radio.spec.d.ts +1 -0
- package/lib/radio/types.d.ts +25 -0
- package/lib/shortcuts/index.d.ts +3 -0
- package/lib/shortcuts/index.js +22 -0
- package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
- package/lib/shortcuts/types.d.ts +9 -0
- package/lib/skeleton/SkeletonContainer.d.ts +3 -0
- package/lib/skeleton/SkeletonContainer.js +19 -0
- package/lib/skeleton/index.d.ts +5 -0
- package/lib/skeleton/index.js +49 -0
- package/lib/skeleton/types.d.ts +18 -0
- package/lib/spinner/SpinnerLoading.d.ts +3 -0
- package/lib/spinner/SpinnerLoading.js +55 -0
- package/lib/spinner/index.d.ts +3 -0
- package/lib/spinner/index.js +51 -0
- package/lib/spinner/spinner.spec.d.ts +1 -0
- package/lib/spinner/types.d.ts +17 -0
- package/lib/split/Split.d.ts +3 -0
- package/lib/split/Split.js +193 -0
- package/lib/split/SplitSide.d.ts +3 -0
- package/lib/split/SplitSide.js +27 -0
- package/lib/split/helpers.d.ts +8 -0
- package/lib/split/helpers.js +5 -0
- package/lib/split/index.d.ts +4 -0
- package/lib/split/index.js +6 -0
- package/lib/split/split.spec.d.ts +0 -0
- package/lib/split/types.d.ts +31 -0
- package/lib/table/Body.d.ts +3 -0
- package/lib/table/Body.js +46 -0
- package/lib/table/Header.d.ts +3 -0
- package/lib/table/Header.js +52 -0
- package/lib/table/HeaderColumn.d.ts +3 -0
- package/lib/table/HeaderColumn.js +43 -0
- package/lib/table/Row.d.ts +3 -0
- package/lib/table/Row.js +53 -0
- package/lib/table/RowColumn.d.ts +3 -0
- package/lib/table/RowColumn.js +58 -0
- package/lib/table/helpers.d.ts +7 -0
- package/lib/table/helpers.js +9 -0
- package/lib/table/index.d.ts +9 -0
- package/lib/table/index.js +106 -0
- package/lib/table/table.spec.d.ts +1 -0
- package/lib/table/types.d.ts +94 -0
- package/lib/tabs/DropdownTabs.d.ts +3 -0
- package/lib/tabs/DropdownTabs.js +84 -0
- package/lib/tabs/Menu.d.ts +3 -0
- package/lib/tabs/Menu.js +38 -0
- package/lib/tabs/MenuTabs.d.ts +4 -0
- package/lib/tabs/MenuTabs.js +64 -0
- package/lib/tabs/Panel.d.ts +3 -0
- package/lib/tabs/Panel.js +62 -0
- package/lib/tabs/context.d.ts +4 -0
- package/lib/tabs/context.js +64 -0
- package/lib/tabs/index.d.ts +5 -0
- package/lib/tabs/index.js +73 -0
- package/lib/tabs/tabHelpers.d.ts +9 -0
- package/lib/tabs/tabHelpers.js +48 -0
- package/lib/tabs/tabs.spec.d.ts +0 -0
- package/lib/tabs/types.d.ts +95 -0
- package/lib/tabs/useTabs.d.ts +1 -0
- package/lib/tabs/useTabs.js +8 -0
- package/lib/textContent/index.d.ts +18 -0
- package/lib/textContent/index.js +33 -0
- package/lib/textContent/textContent.spec.d.ts +1 -0
- package/lib/toolbar/ButtonBar.d.ts +3 -0
- package/lib/toolbar/ButtonBar.js +67 -0
- package/lib/toolbar/LabelBar.d.ts +3 -0
- package/lib/toolbar/LabelBar.js +51 -0
- package/lib/toolbar/Separator.d.ts +2 -0
- package/lib/toolbar/Separator.js +10 -0
- package/lib/toolbar/ToolBarGroup.d.ts +3 -0
- package/lib/toolbar/ToolBarGroup.js +16 -0
- package/lib/toolbar/helpers.d.ts +3 -0
- package/lib/toolbar/helpers.js +5 -0
- package/lib/toolbar/index.d.ts +8 -0
- package/lib/toolbar/index.js +39 -0
- package/lib/toolbar/toolbar.spec.d.ts +1 -0
- package/lib/toolbar/types.d.ts +43 -0
- package/lib/tooltip/index.d.ts +4 -0
- package/lib/tooltip/index.js +39 -0
- package/lib/tooltip/tooltip.spec.d.ts +1 -0
- package/lib/tooltip/types.d.ts +15 -0
- package/lib/treetable/Body.d.ts +2 -0
- package/lib/treetable/Body.js +34 -0
- package/lib/treetable/Header.d.ts +2 -0
- package/lib/treetable/Header.js +30 -0
- package/lib/treetable/Row.d.ts +3 -0
- package/lib/treetable/Row.js +220 -0
- package/lib/treetable/helpers.d.ts +13 -0
- package/lib/treetable/helpers.js +17 -0
- package/lib/treetable/index.d.ts +4 -0
- package/lib/treetable/index.js +28 -0
- package/lib/treeview/Header.d.ts +3 -0
- package/lib/treeview/Header.js +16 -0
- package/lib/treeview/Node.d.ts +3 -0
- package/lib/treeview/Node.js +206 -0
- package/lib/treeview/constants.d.ts +3 -0
- package/lib/treeview/constants.js +5 -0
- package/lib/treeview/index.d.ts +6 -0
- package/lib/treeview/index.js +268 -0
- package/lib/treeview/treeview.spec.d.ts +0 -0
- package/lib/treeview/types.d.ts +106 -0
- package/lib/uitour/helpers.d.ts +7 -0
- package/lib/uitour/helpers.js +9 -0
- package/lib/uitour/index.d.ts +4 -0
- package/lib/uitour/index.js +187 -0
- package/lib/uitour/types.d.ts +35 -0
- package/lib/uitour/uitour.spec.d.ts +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { h as o } from "../../chunks/moment.DMLRxgRE.js";
|
|
2
|
+
const e = "DD/MM/YYYY", Y = "YYYY-MM-DD", s = (r) => {
|
|
3
|
+
let t = r;
|
|
4
|
+
return o(t, e, !0).isValid() && (t = o(t, e).format(e)), typeof t == "string" ? o(t, Y) : t;
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
Y as EN_US_FORMAT,
|
|
8
|
+
e as PT_BR_FORMAT,
|
|
9
|
+
s as getMomentValue
|
|
10
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { j as d } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { useState as m, useRef as g, useEffect as w } from "react";
|
|
3
|
+
import { h as s } from "../../chunks/moment.DMLRxgRE.js";
|
|
4
|
+
import se from "./Dialog.js";
|
|
5
|
+
import le from "./Dropdown.js";
|
|
6
|
+
import "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
7
|
+
import ce from "../../buttons/Button.js";
|
|
8
|
+
import "../../icons/index.js";
|
|
9
|
+
import '../../assets/gridlayout.css';import '../../assets/button.css';import '../../assets/index21.css';/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import ue from "../../gridlayout/GridCol.js";
|
|
12
|
+
import de from "../../calendar/base/index.js";
|
|
13
|
+
import fe from "../mask/BaseMask.js";
|
|
14
|
+
import { getMomentValue as me, EN_US_FORMAT as h, PT_BR_FORMAT as f } from "./helpers.js";
|
|
15
|
+
const Fe = (n) => {
|
|
16
|
+
const {
|
|
17
|
+
showButtonOpen: O = !0,
|
|
18
|
+
openOnFocus: q = !0,
|
|
19
|
+
shouldCloseOnSelect: G = !0,
|
|
20
|
+
setFocusOnSelect: U = !0,
|
|
21
|
+
showCalendarInDialog: c = !1,
|
|
22
|
+
required: W = !1,
|
|
23
|
+
value: r = "",
|
|
24
|
+
name: H = "",
|
|
25
|
+
inputRef: F,
|
|
26
|
+
dialogSize: J = {
|
|
27
|
+
width: "384px",
|
|
28
|
+
height: "384px"
|
|
29
|
+
},
|
|
30
|
+
gridLayout: S,
|
|
31
|
+
shouldCloseOnEsc: Q = !0
|
|
32
|
+
} = n, [p, D] = m(r ? me(r) : void 0), [a, u] = m(!1), [x, j] = m(r), [X, V] = m(), [Y, v] = m(!1), [l, Z] = m({
|
|
33
|
+
disabled: !1,
|
|
34
|
+
readOnly: !1,
|
|
35
|
+
unvisible: !1,
|
|
36
|
+
hideContent: !1
|
|
37
|
+
}), i = g(null), $ = g(null), y = g(null), L = g(null), B = g(null), R = g(null), k = () => {
|
|
38
|
+
V(i?.current?.getBoundingClientRect());
|
|
39
|
+
}, _ = () => {
|
|
40
|
+
u(!1), c && setTimeout(() => {
|
|
41
|
+
v(!1), i.current?.focus();
|
|
42
|
+
}, 100);
|
|
43
|
+
}, ee = (e) => {
|
|
44
|
+
const t = !R.current?.contains(e.relatedTarget);
|
|
45
|
+
!c && a && t && u(!1);
|
|
46
|
+
}, I = (e) => {
|
|
47
|
+
if (Q && a && e && e.key && e.key === "Escape" && (e.preventDefault(), u(!1), i.current?.focus()), a && c && e && e.key && e.key === "Tab") {
|
|
48
|
+
const t = B.current?.getElementsByClassName("navbutton"), b = (B.current?.getElementsByClassName("-selectedday"))[0].firstChild, C = Array.from([...t, b]), M = C[0], K = C[C.length - 1];
|
|
49
|
+
e.shiftKey && document.activeElement === M ? (e.preventDefault(), K.focus()) : !e.shiftKey && document.activeElement === K && (e.preventDefault(), M.focus());
|
|
50
|
+
}
|
|
51
|
+
e.stopPropagation();
|
|
52
|
+
}, E = () => {
|
|
53
|
+
const e = i.current?.getBoundingClientRect(), t = e && e.bottom;
|
|
54
|
+
y && y.current && e && (y.current.style.top = String(t).concat("px"));
|
|
55
|
+
}, P = () => {
|
|
56
|
+
u(!0), i.current && (i.current.focus(), V(i.current?.getBoundingClientRect())), c && setTimeout(() => {
|
|
57
|
+
L.current?.focus();
|
|
58
|
+
}, 100);
|
|
59
|
+
}, te = (e) => {
|
|
60
|
+
n.onFocus && n.onFocus(e), q && !a && !Y && P();
|
|
61
|
+
}, ne = (e) => {
|
|
62
|
+
n.onBlur && n.onBlur(e);
|
|
63
|
+
}, oe = (e) => {
|
|
64
|
+
if (typeof e == "object" && !(e instanceof Date)) {
|
|
65
|
+
const t = s(e.initial, f, !0).isValid(), o = s(e.final, f, !0).isValid();
|
|
66
|
+
return t && o;
|
|
67
|
+
}
|
|
68
|
+
return s(e, f, !0).isValid();
|
|
69
|
+
}, T = (e, t = "") => {
|
|
70
|
+
if (typeof t == "string") {
|
|
71
|
+
const o = e.target.value ?? "";
|
|
72
|
+
if (n.onChange) {
|
|
73
|
+
if (oe(o)) {
|
|
74
|
+
const C = {
|
|
75
|
+
target: {
|
|
76
|
+
value: s(o, f).format(h),
|
|
77
|
+
name: e.target.name
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
n.onChange(C, o);
|
|
81
|
+
} else if (e.target.value === "") {
|
|
82
|
+
const b = {
|
|
83
|
+
target: {
|
|
84
|
+
value: "",
|
|
85
|
+
name: e.target.name
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
n.onChange(b, o), u(!1), D(void 0);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}, N = (e, t) => {
|
|
93
|
+
a && U && i.current?.focus(), n.onComplete && n.onComplete(t, e), n.onChange && T({
|
|
94
|
+
target: {
|
|
95
|
+
value: e,
|
|
96
|
+
name: H
|
|
97
|
+
}
|
|
98
|
+
}, e), G && u(!1), D(s(e, f));
|
|
99
|
+
}, re = () => n.disabled || l && (l.disabled || l.hideContent), ie = () => {
|
|
100
|
+
if (O)
|
|
101
|
+
return /* @__PURE__ */ d.jsx(ce, { disabled: re(), tabIndex: -1, customClass: "calendar-button", iconName: "calendar", title: a ? "Fechar Calendário" : "Abrir Calendário", onClick: () => {
|
|
102
|
+
a ? u(!1) : P();
|
|
103
|
+
}, targetRef: (e) => {
|
|
104
|
+
$.current = e;
|
|
105
|
+
} }, "button-open-date-picker");
|
|
106
|
+
}, A = (e, t) => /* @__PURE__ */ d.jsx(de, { colorStyle: t, currentDate: e !== void 0 ? e : s(), onDateChange: (o) => {
|
|
107
|
+
N(o.format(f), void 0), c && v(!1);
|
|
108
|
+
}, currentDateButton: (o) => L.current = o, calendarContainer: (o) => {
|
|
109
|
+
B.current = o;
|
|
110
|
+
} }), ae = () => l && l.readOnly ? null : c ? /* @__PURE__ */ d.jsx(se, { dialogSize: J, handlerClose: _, children: A(p, n?.calendarColorStyle) }) : /* @__PURE__ */ d.jsx(le, { showButtonOpen: O, inputDimensions: X, containerRef: R, dropdownRef: (e) => {
|
|
111
|
+
y.current = e;
|
|
112
|
+
}, children: A(p, n?.calendarColorStyle) });
|
|
113
|
+
if (w(() => {
|
|
114
|
+
r && s(r, h).format() !== "Invalid date" && s(x, h).format() !== s(r, h).format() ? (D(s(r, h)), j(r)) : !r && r !== x && (D(void 0), j(r));
|
|
115
|
+
}, [r]), w(() => (window.addEventListener("resize", k), document.addEventListener("keydown", I), i.current && k(), a && c && v(!0), () => {
|
|
116
|
+
window.removeEventListener("resize", k), document.removeEventListener("keydown", I);
|
|
117
|
+
}), [i.current, a]), w(() => (document.addEventListener("scroll", E), document.getElementById("modal-dialog-content")?.addEventListener("scroll", E), () => {
|
|
118
|
+
document.removeEventListener("scroll", E), document.getElementById("modal-dialog-content")?.removeEventListener("scroll", E);
|
|
119
|
+
}), []), l && l.unvisible) return null;
|
|
120
|
+
const z = () => /* @__PURE__ */ d.jsxs("div", { ref: R, onBlur: ee, className: "datepicker-container", children: [
|
|
121
|
+
/* @__PURE__ */ d.jsx(fe, { ...n, gridLayout: void 0, value: p ? p.format(f) : " ", mask: "00/00/0000", onComplete: (e, t) => {
|
|
122
|
+
t && N(t, e);
|
|
123
|
+
}, onBlur: ne, onFocus: (e) => {
|
|
124
|
+
te(e);
|
|
125
|
+
}, onChange: (e, t) => {
|
|
126
|
+
t && T(e, t);
|
|
127
|
+
}, inputRef: (e) => {
|
|
128
|
+
i.current = e, F && (F.current = e);
|
|
129
|
+
}, rightElements: ie(), required: W, handlerSetOnDenied: () => Z(l) }),
|
|
130
|
+
a && ae()
|
|
131
|
+
] });
|
|
132
|
+
return S ? /* @__PURE__ */ d.jsx(ue, { customClass: "-withinput", cols: S, children: z() }) : z();
|
|
133
|
+
};
|
|
134
|
+
export {
|
|
135
|
+
Fe as default
|
|
136
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { ColorStyles } from '../../@types/ColorStyles';
|
|
3
|
+
import { PermissionAttr } from '../../@types/PermissionAttr';
|
|
4
|
+
import { CustomInputEvent } from '../base/types';
|
|
5
|
+
export interface IDatePickerProps {
|
|
6
|
+
value?: string;
|
|
7
|
+
openOnFocus?: boolean;
|
|
8
|
+
showButtonOpen?: boolean;
|
|
9
|
+
shouldCloseOnEsc?: boolean;
|
|
10
|
+
shouldCloseOnSelect?: boolean;
|
|
11
|
+
setFocusOnSelect?: boolean;
|
|
12
|
+
showCalendarInDialog?: boolean;
|
|
13
|
+
inputRef?: React.MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
14
|
+
dialogSize?: {
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
};
|
|
18
|
+
calendarColorStyle?: ColorStyles;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
onComplete?: (e?: CustomInputEvent, maskValue?: string, date?: string) => void;
|
|
21
|
+
onBlur?: (e: CustomInputEvent) => void;
|
|
22
|
+
onFocus?: (e: CustomInputEvent) => void;
|
|
23
|
+
onChange?: (e: {
|
|
24
|
+
target: {
|
|
25
|
+
value: string | {
|
|
26
|
+
initial: string;
|
|
27
|
+
final: string;
|
|
28
|
+
};
|
|
29
|
+
name?: string;
|
|
30
|
+
};
|
|
31
|
+
}, date?: string) => void;
|
|
32
|
+
name?: string;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
permissionAttr?: PermissionAttr;
|
|
35
|
+
label?: string;
|
|
36
|
+
gridLayout?: string;
|
|
37
|
+
hint?: string | string[];
|
|
38
|
+
hintPosition?: 'below' | 'onLabelRight';
|
|
39
|
+
themePopover?: 'light' | 'dark';
|
|
40
|
+
popoverAlign?: 'right' | 'left';
|
|
41
|
+
}
|
|
42
|
+
export interface IDateDropdownProps {
|
|
43
|
+
children: ReactNode | ReactNode[];
|
|
44
|
+
dropdownRef: (el: HTMLDivElement) => void;
|
|
45
|
+
containerRef: RefObject<HTMLDivElement | HTMLElement>;
|
|
46
|
+
showButtonOpen: boolean;
|
|
47
|
+
inputDimensions?: DOMRect;
|
|
48
|
+
}
|
|
49
|
+
export interface IDateDialogProps {
|
|
50
|
+
children: ReactNode | ReactNode[];
|
|
51
|
+
handlerClose: (open: boolean) => void;
|
|
52
|
+
dialogSize: {
|
|
53
|
+
width: string;
|
|
54
|
+
height: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as f } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as u } from "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { forwardRef as g } from "react";
|
|
4
|
+
import '../../assets/index7.css';const d = g((c, a) => {
|
|
5
|
+
const s = u.c(9), {
|
|
6
|
+
customClass: i,
|
|
7
|
+
messages: e,
|
|
8
|
+
style: m
|
|
9
|
+
} = c, p = i === void 0 ? "" : i;
|
|
10
|
+
if (!e || e.length === 0)
|
|
11
|
+
return null;
|
|
12
|
+
let r;
|
|
13
|
+
s[0] !== e ? (r = Array.isArray(e) ? e : [e], s[0] = e, s[1] = r) : r = s[1];
|
|
14
|
+
const l = r, n = `errormessages-component ${p}`;
|
|
15
|
+
let t;
|
|
16
|
+
s[2] !== l ? (t = l.join(", "), s[2] = l, s[3] = t) : t = s[3];
|
|
17
|
+
let o;
|
|
18
|
+
return s[4] !== a || s[5] !== m || s[6] !== n || s[7] !== t ? (o = /* @__PURE__ */ f.jsx("p", { ref: a, style: m, className: n, children: t }), s[4] = a, s[5] = m, s[6] = n, s[7] = t, s[8] = o) : o = s[8], o;
|
|
19
|
+
});
|
|
20
|
+
d.displayName = "ErrorMessage";
|
|
21
|
+
export {
|
|
22
|
+
d as ErrorMessage,
|
|
23
|
+
d as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { j as i } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as S } from "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useState as $ } from "react";
|
|
4
|
+
import { _ as k } from "../../chunks/lodash.CIAK_hAg.js";
|
|
5
|
+
import z from "../base/InputTextBase.js";
|
|
6
|
+
import L from "./FileButtonSettings.js";
|
|
7
|
+
import _ from "../../buttons/Button.js";
|
|
8
|
+
import P from "../../icons/index.js";
|
|
9
|
+
import '../../assets/button.css';import '../../assets/DefaultFile.css';/* empty css */
|
|
10
|
+
import T from "../../popover/index.js";
|
|
11
|
+
import U from "../../popover/PopoverText.js";
|
|
12
|
+
const ee = (t) => {
|
|
13
|
+
const e = S.c(27), {
|
|
14
|
+
id: y,
|
|
15
|
+
accept: B,
|
|
16
|
+
onBtnClickInsert: x,
|
|
17
|
+
onBtnClickRemove: h,
|
|
18
|
+
inputRef: v,
|
|
19
|
+
defaultFiles: A,
|
|
20
|
+
hint: c,
|
|
21
|
+
onChange: j
|
|
22
|
+
} = t, n = y === void 0 ? "file" : y, g = B === void 0 ? "image/*" : B;
|
|
23
|
+
let m;
|
|
24
|
+
e[0] !== c ? (m = c === void 0 ? [] : c, e[0] = c, e[1] = m) : m = e[1];
|
|
25
|
+
const C = m, D = q, [a, I] = $(A), s = a instanceof Array && a.length > 0;
|
|
26
|
+
let p;
|
|
27
|
+
e[2] !== a || e[3] !== s ? (p = () => /* @__PURE__ */ i.jsx("div", { className: `size-position-icon ${s ? "" : "-disabled-popover"}`, children: /* @__PURE__ */ i.jsx(T, { iconSize: 16, children: /* @__PURE__ */ i.jsxs(U, { children: [
|
|
28
|
+
/* @__PURE__ */ i.jsx("strong", { children: "Arquivos" }),
|
|
29
|
+
/* @__PURE__ */ i.jsx("br", {}),
|
|
30
|
+
s && a.map(w)
|
|
31
|
+
] }) }) }), e[2] = a, e[3] = s, e[4] = p) : p = e[4];
|
|
32
|
+
const b = p;
|
|
33
|
+
let f;
|
|
34
|
+
e[5] !== s || e[6] !== h ? (f = () => /* @__PURE__ */ i.jsx(_, { disabled: !s, className: "-pointerEventsRemove", transparent: !0, boxShadow: !1, onClick: () => {
|
|
35
|
+
h(), I([]);
|
|
36
|
+
}, icon: /* @__PURE__ */ i.jsx(P, { customClass: "colorIconUpload", name: "close" }) }), e[5] = s, e[6] = h, e[7] = f) : f = e[7];
|
|
37
|
+
const F = f;
|
|
38
|
+
let d;
|
|
39
|
+
e[8] !== j ? (d = (R) => {
|
|
40
|
+
R.preventDefault?.();
|
|
41
|
+
const N = D(R.target.files);
|
|
42
|
+
I(N), j?.(N, R);
|
|
43
|
+
}, e[8] = j, e[9] = d) : d = e[9];
|
|
44
|
+
const E = d;
|
|
45
|
+
let o;
|
|
46
|
+
e[10] !== n || e[11] !== x ? (o = /* @__PURE__ */ i.jsx(L, { id: n, onBtnClickInsert: x }), e[10] = n, e[11] = x, e[12] = o) : o = e[12];
|
|
47
|
+
let l;
|
|
48
|
+
e[13] !== b ? (l = b(), e[13] = b, e[14] = l) : l = e[14];
|
|
49
|
+
let r;
|
|
50
|
+
e[15] !== F ? (r = F(), e[15] = F, e[16] = r) : r = e[16];
|
|
51
|
+
let u;
|
|
52
|
+
return e[17] !== g || e[18] !== E || e[19] !== C || e[20] !== n || e[21] !== v || e[22] !== t || e[23] !== o || e[24] !== l || e[25] !== r ? (u = /* @__PURE__ */ i.jsx("div", { className: "input-simple-file-container", children: /* @__PURE__ */ i.jsxs(z, { ...t, hint: C, readOnlyClass: "-disabledVisualApply", customClassForInputContent: "-absolute -pointEventDisabled -disabledVisualApply", type: "file", id: n, accept: g, inputRef: v, onChange: E, rightElements: o, children: [
|
|
53
|
+
l,
|
|
54
|
+
r
|
|
55
|
+
] }) }), e[17] = g, e[18] = E, e[19] = C, e[20] = n, e[21] = v, e[22] = t, e[23] = o, e[24] = l, e[25] = r, e[26] = u) : u = e[26], u;
|
|
56
|
+
};
|
|
57
|
+
function V(t) {
|
|
58
|
+
return t;
|
|
59
|
+
}
|
|
60
|
+
function q(t) {
|
|
61
|
+
return t?.length ? k.map(t, V) : [];
|
|
62
|
+
}
|
|
63
|
+
function w(t) {
|
|
64
|
+
return /* @__PURE__ */ i.jsx("div", { className: "list-simple-file", children: /* @__PURE__ */ i.jsx("div", { className: "file-name", children: /* @__PURE__ */ i.jsx("span", { children: t.name }) }) }, `${t.name}${t.size}`);
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
ee as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { j as t } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { useState as D, Fragment as w } from "react";
|
|
3
|
+
import { _ as ee } from "../../chunks/lodash.CIAK_hAg.js";
|
|
4
|
+
import "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
5
|
+
import "../../buttons/DefaultButton.js";
|
|
6
|
+
import S from "../../buttons/PrimaryButton.js";
|
|
7
|
+
import $ from "../../buttons/DangerButton.js";
|
|
8
|
+
import F from "../../icons/index.js";
|
|
9
|
+
import '../../assets/button.css';/* empty css */
|
|
10
|
+
import te from "../base/InputTextBase.js";
|
|
11
|
+
import se from "../../hint/index.js";
|
|
12
|
+
import { ErrorMessage as ae } from "../errorMessage/index.js";
|
|
13
|
+
const q = (n) => n?.length ? ee.map(n, (i) => i) : [], g = (n) => n.split(",").map((i) => i.includes(".") ? i.split(".")[1] : i.split("/")[1]).join(", "), re = (n) => n.split(", "), he = (n) => {
|
|
14
|
+
const {
|
|
15
|
+
id: i = Math.random().toString(36).substring(2, 7),
|
|
16
|
+
accept: o = "image/png, image/jpeg",
|
|
17
|
+
labelButton: L = "Selecionar",
|
|
18
|
+
subtitleDragDrop: f = "Selecione arquivos do tipo ",
|
|
19
|
+
titleDragDrop: u = "Arquivo para importação",
|
|
20
|
+
onBtnClickInsert: A,
|
|
21
|
+
inputRef: z,
|
|
22
|
+
onChange: C,
|
|
23
|
+
onDragEnter: M,
|
|
24
|
+
onDragOver: P,
|
|
25
|
+
onDragLeave: U,
|
|
26
|
+
onDrop: I,
|
|
27
|
+
showSubtitle: H = !0,
|
|
28
|
+
multiple: x = !1,
|
|
29
|
+
hint: R = [],
|
|
30
|
+
hintPosition: W = "below",
|
|
31
|
+
errorMessages: G = [],
|
|
32
|
+
skeletonize: b = !1
|
|
33
|
+
} = n, [J, N] = D(!1), [r, h] = D([]), [j, T] = D(!1), [c, m] = D({
|
|
34
|
+
class: "",
|
|
35
|
+
text: u,
|
|
36
|
+
subtitle: f + g(o),
|
|
37
|
+
error: !1
|
|
38
|
+
}), v = (e) => {
|
|
39
|
+
e.preventDefault?.(), e.stopPropagation?.();
|
|
40
|
+
}, K = (e, s, a) => {
|
|
41
|
+
T(!1), s.forEach((l) => (!j && e.indexOf(l) === -1 && T(!0), j)), !x && (a.dataTransfer.items.length > 1 || r.length > 0) ? m({
|
|
42
|
+
class: "disapprovedFile",
|
|
43
|
+
text: "Não é permitido anexar mais de um arquivo.",
|
|
44
|
+
subtitle: "",
|
|
45
|
+
error: !0
|
|
46
|
+
}) : m(j ? {
|
|
47
|
+
class: "disapprovedFile",
|
|
48
|
+
text: "Por favor, verifique a extensão do(s) arquivo(s) inserido(s).",
|
|
49
|
+
subtitle: `Apenas as extensões ${g(o)} são permitidas.`,
|
|
50
|
+
error: !0
|
|
51
|
+
} : {
|
|
52
|
+
class: "approvedFile",
|
|
53
|
+
text: u,
|
|
54
|
+
subtitle: f + g(o),
|
|
55
|
+
error: !1
|
|
56
|
+
});
|
|
57
|
+
}, Q = (e) => {
|
|
58
|
+
let s = [];
|
|
59
|
+
return e.dataTransfer.items && Array.from(e.dataTransfer.items).map((a) => (s.indexOf(a.type) === -1 && (s = [...s, a.type]), s)), s;
|
|
60
|
+
}, k = (e) => {
|
|
61
|
+
const s = re(o), a = Q(e);
|
|
62
|
+
K(s, a, e), v(e), N(!0), M?.(e);
|
|
63
|
+
}, B = (e) => {
|
|
64
|
+
m({
|
|
65
|
+
class: "",
|
|
66
|
+
text: u,
|
|
67
|
+
subtitle: f + g(o),
|
|
68
|
+
error: !1
|
|
69
|
+
}), v(e), N(!1), U?.(e);
|
|
70
|
+
}, E = (e) => {
|
|
71
|
+
v(e), P?.(e);
|
|
72
|
+
}, O = (e) => {
|
|
73
|
+
v(e), N(!1);
|
|
74
|
+
const s = e.dataTransfer;
|
|
75
|
+
if (s && !c.error) {
|
|
76
|
+
const a = q(s.files);
|
|
77
|
+
if (a.length > 0) {
|
|
78
|
+
const l = r.concat(a), y = l.map((d) => d.name), p = l.filter(({
|
|
79
|
+
name: d
|
|
80
|
+
}, _) => !y.includes(d, _ + 1));
|
|
81
|
+
h(p), C?.(a, e), I?.(e);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
m({
|
|
85
|
+
class: "",
|
|
86
|
+
text: u,
|
|
87
|
+
subtitle: f + g(o),
|
|
88
|
+
error: !1
|
|
89
|
+
});
|
|
90
|
+
}, V = (e) => {
|
|
91
|
+
e.preventDefault?.();
|
|
92
|
+
const s = q(e.target.files);
|
|
93
|
+
if (s.length > 0 && !j) {
|
|
94
|
+
const a = r.concat(s), l = a.map((p) => p.name), y = a.filter(({
|
|
95
|
+
name: p
|
|
96
|
+
}, d) => !l.includes(p, d + 1));
|
|
97
|
+
h(y), C?.(s, e);
|
|
98
|
+
}
|
|
99
|
+
}, X = () => h([]), Y = (e) => {
|
|
100
|
+
h((s) => s.filter((a) => a.name !== e));
|
|
101
|
+
}, Z = () => r?.length === 1 ? /* @__PURE__ */ t.jsxs(w, { children: [
|
|
102
|
+
r[0].type === "image/jpeg" || r[0].type === "image/png" ? /* @__PURE__ */ t.jsx("img", { alt: r[0].name, src: URL.createObjectURL(r[0]) }) : /* @__PURE__ */ t.jsx(F, { size: 64, name: "file_excel" }),
|
|
103
|
+
/* @__PURE__ */ t.jsx("div", { className: "image-preview-solo", children: /* @__PURE__ */ t.jsx("div", { className: "description-file", children: /* @__PURE__ */ t.jsx("span", { className: "subtitle", children: r[0].name }) }) })
|
|
104
|
+
] }) : /* @__PURE__ */ t.jsx("ul", { className: "file-list", children: r.length > 0 && r.map((e) => /* @__PURE__ */ t.jsxs("li", { className: "file-card", children: [
|
|
105
|
+
/* @__PURE__ */ t.jsx($, { transparent: !0, boxShadow: !1, className: "delete-button", onClick: () => Y(e.name), icon: /* @__PURE__ */ t.jsx(F, { customClass: "color-icon-upload", name: "close" }) }),
|
|
106
|
+
/* @__PURE__ */ t.jsx("div", { className: "image-content", children: (e.type === "image/jpeg" || e.type === "image/png") && /* @__PURE__ */ t.jsx("img", { alt: e.name, className: "image-preview", src: URL.createObjectURL(e) }) }),
|
|
107
|
+
/* @__PURE__ */ t.jsx("div", { className: "description-file", children: /* @__PURE__ */ t.jsx("span", { className: "subtitle", children: e.name }) })
|
|
108
|
+
] }, `${e.name}${e.size}`)) });
|
|
109
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "input-dragdrop-container", onDragEnter: k, onSubmit: (e) => e.preventDefault(), children: [
|
|
110
|
+
/* @__PURE__ */ t.jsxs("div", { className: `drag-content ${b ? "-skeletonized" : ""}`, children: [
|
|
111
|
+
/* @__PURE__ */ t.jsx("div", { className: `${c.class} ${b ? "" : "content"}`, children: c.error || r.length === 0 ? /* @__PURE__ */ t.jsxs("label", { htmlFor: i, children: [
|
|
112
|
+
/* @__PURE__ */ t.jsx("h1", { className: "title", style: {
|
|
113
|
+
paddingBottom: "20px"
|
|
114
|
+
}, children: c.text }),
|
|
115
|
+
H && /* @__PURE__ */ t.jsx("p", { className: "subtitle", children: c.subtitle }),
|
|
116
|
+
!b && /* @__PURE__ */ t.jsx(S, { onClick: A, label: L })
|
|
117
|
+
] }) : /* @__PURE__ */ t.jsxs(w, { children: [
|
|
118
|
+
Z(),
|
|
119
|
+
/* @__PURE__ */ t.jsxs("footer", { className: "footer-button-action", children: [
|
|
120
|
+
(!x && r.length < 1 || x) && /* @__PURE__ */ t.jsx(S, { className: "selectButton", onClick: A, label: L }),
|
|
121
|
+
/* @__PURE__ */ t.jsx($, { className: "cancelButton", onClick: X, icon: /* @__PURE__ */ t.jsx(F, { name: "close", color: "white" }), label: "Limpar" })
|
|
122
|
+
] })
|
|
123
|
+
] }) }),
|
|
124
|
+
/* @__PURE__ */ t.jsx(te, { ...n, inputRef: z, style: {
|
|
125
|
+
display: "none"
|
|
126
|
+
}, type: "file", id: i, accept: o, multiple: x, onDragOver: E, onDrop: O, onDragLeave: B, onChange: V }),
|
|
127
|
+
J && /* @__PURE__ */ t.jsx("div", { className: "drag-position-element", id: "dragFileElement", onDragEnter: k, onDragLeave: B, onDragOver: E, onDrop: O })
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ t.jsx(ae, { messages: G }),
|
|
130
|
+
/* @__PURE__ */ t.jsx(se, { visible: !!R && W === "below", customClass: "hint", description: R })
|
|
131
|
+
] });
|
|
132
|
+
};
|
|
133
|
+
export {
|
|
134
|
+
he as default
|
|
135
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { j as n } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { useRef as l, useEffect as u } from "react";
|
|
3
|
+
import p from "./DefaultFile.js";
|
|
4
|
+
import C from "./DragDropFile.js";
|
|
5
|
+
import "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
6
|
+
import '../../assets/gridlayout.css';/* empty css */
|
|
7
|
+
import R from "../../gridlayout/GridCol.js";
|
|
8
|
+
import { transformFilesToFileList as k } from "./helpers.js";
|
|
9
|
+
const I = ({
|
|
10
|
+
applyDragDrop: m = !1,
|
|
11
|
+
defaultFiles: r,
|
|
12
|
+
gridLayout: o,
|
|
13
|
+
onBtnClickRemove: e,
|
|
14
|
+
...i
|
|
15
|
+
}) => {
|
|
16
|
+
const t = l(null), c = () => {
|
|
17
|
+
t.current?.click();
|
|
18
|
+
}, f = () => {
|
|
19
|
+
t.current && (t.current.value = ""), e && e();
|
|
20
|
+
};
|
|
21
|
+
u(() => {
|
|
22
|
+
t?.current && r && (t.current.files = k(r));
|
|
23
|
+
}, [t?.current]);
|
|
24
|
+
const s = m ? /* @__PURE__ */ n.jsx(C, { ...i, defaultFiles: r, inputRef: t, onBtnClickInsert: () => c() }) : /* @__PURE__ */ n.jsx(p, { ...i, inputRef: t, defaultFiles: r, onBtnClickRemove: () => f(), onBtnClickInsert: () => c() });
|
|
25
|
+
return o !== void 0 ? /* @__PURE__ */ n.jsx(R, { customClass: "-withinput", cols: o, style: {
|
|
26
|
+
height: "100%"
|
|
27
|
+
}, children: s }) : s;
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
I as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as m } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as u } from "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import f from "../../buttons/Button.js";
|
|
4
|
+
import b from "../../icons/index.js";
|
|
5
|
+
import '../../assets/button.css';/* empty css */
|
|
6
|
+
const _ = (p) => {
|
|
7
|
+
const t = u.c(9), {
|
|
8
|
+
size: c,
|
|
9
|
+
labelButton: d,
|
|
10
|
+
id: s,
|
|
11
|
+
onBtnClickInsert: n
|
|
12
|
+
} = p, r = c === void 0 ? "medium" : c, a = d === void 0 ? "Selecionar" : d;
|
|
13
|
+
let o, l;
|
|
14
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
15
|
+
height: "100%"
|
|
16
|
+
}, l = /* @__PURE__ */ m.jsx(b, { name: "file_download" }), t[0] = o, t[1] = l) : (o = t[0], l = t[1]);
|
|
17
|
+
let e;
|
|
18
|
+
t[2] !== a || t[3] !== n || t[4] !== r ? (e = /* @__PURE__ */ m.jsx(f, { className: "uploadButton simple-search-file-button -shadowsdisabled -transparent", onClick: n, size: r, style: o, icon: l, label: a }), t[2] = a, t[3] = n, t[4] = r, t[5] = e) : e = t[5];
|
|
19
|
+
let i;
|
|
20
|
+
return t[6] !== s || t[7] !== e ? (i = /* @__PURE__ */ m.jsx("label", { id: "", htmlFor: s, children: e }), t[6] = s, t[7] = e, t[8] = i) : i = t[8], i;
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const n = (s) => {
|
|
2
|
+
let e = s;
|
|
3
|
+
if (!(e instanceof FileList)) {
|
|
4
|
+
const i = new DataTransfer();
|
|
5
|
+
e instanceof File ? (i.items.add(e), e = i.files) : (e.map((t) => i.items.add(t)), e = i.files);
|
|
6
|
+
}
|
|
7
|
+
return e;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as transformFilesToFileList
|
|
11
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { RefObject, DragEvent } from 'react';
|
|
2
|
+
import { Size } from '../../@types/Size';
|
|
3
|
+
import { CustomInputEvent } from '../base/types';
|
|
4
|
+
export type CustomFile = FileList | File | File[];
|
|
5
|
+
export interface IFileProps {
|
|
6
|
+
onBtnClickInsert?: () => void;
|
|
7
|
+
onBtnClickRemove?: () => void;
|
|
8
|
+
id?: string;
|
|
9
|
+
applyDragDrop?: boolean;
|
|
10
|
+
gridLayout?: string;
|
|
11
|
+
multiple?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
defaultFiles?: CustomFile;
|
|
14
|
+
hint?: string;
|
|
15
|
+
hintPosition?: 'below' | 'onLabelRight';
|
|
16
|
+
required?: boolean;
|
|
17
|
+
readOnly?: boolean;
|
|
18
|
+
name?: string;
|
|
19
|
+
onChange?: (files: File[], e?: CustomInputEvent | DragEvent) => void;
|
|
20
|
+
size?: Size;
|
|
21
|
+
accept?: string;
|
|
22
|
+
labelButton?: string;
|
|
23
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
24
|
+
type?: string;
|
|
25
|
+
onDragEnter?: (e?: DragEvent) => void;
|
|
26
|
+
onDragOver?: (e?: DragEvent) => void;
|
|
27
|
+
onDrop?: (e?: DragEvent) => void;
|
|
28
|
+
onDragLeave?: (e?: DragEvent) => void;
|
|
29
|
+
errorMessages?: string[];
|
|
30
|
+
skeletonize?: boolean;
|
|
31
|
+
showSubtitle?: boolean;
|
|
32
|
+
themePopover?: 'light' | 'dark';
|
|
33
|
+
popoverAlign?: 'right' | 'left';
|
|
34
|
+
}
|
|
35
|
+
export interface IDefaultFileProps extends IFileProps {
|
|
36
|
+
onBtnClickInsert: () => void;
|
|
37
|
+
onBtnClickRemove: () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface IDragDropFileProps extends IFileProps {
|
|
40
|
+
subtitleDragDrop?: string;
|
|
41
|
+
titleDragDrop?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface IFileButtonSettingsProps {
|
|
44
|
+
id: string;
|
|
45
|
+
labelFileButton?: string;
|
|
46
|
+
size?: Size;
|
|
47
|
+
labelButton?: string;
|
|
48
|
+
onBtnClickInsert: () => void;
|
|
49
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IInputHOCProps } from './types';
|
|
3
|
+
declare const InputHOC: <ComponentProps extends IInputHOCProps>(WrappedComponent: React.ComponentType<ComponentProps>) => (props: ComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default InputHOC;
|