linear-react-components-ui 1.1.26-beta.17 → 1.1.26-beta.18
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 +4 -2
- package/lib/@types/Align.js +5 -0
- package/lib/@types/ButtonTypes.d.ts +3 -1
- package/lib/@types/ButtonTypes.js +5 -0
- package/lib/@types/ColorStyles.d.ts +4 -2
- package/lib/@types/ColorStyles.js +5 -0
- package/lib/@types/DataCombo.d.ts +3 -1
- package/lib/@types/DataCombo.js +5 -0
- package/lib/@types/Icon.d.ts +5 -2
- package/lib/@types/Icon.js +5 -0
- package/lib/@types/LabelStyles.d.ts +3 -1
- package/lib/@types/LabelStyles.js +5 -0
- package/lib/@types/Period.d.ts +3 -1
- package/lib/@types/Period.js +5 -0
- package/lib/@types/PermissionAttr.d.ts +4 -2
- package/lib/@types/PermissionAttr.js +5 -0
- package/lib/@types/PointerEvents.d.ts +3 -1
- package/lib/@types/PointerEvents.js +5 -0
- package/lib/@types/Position.d.ts +4 -2
- package/lib/@types/Position.js +5 -0
- package/lib/@types/PositionAlert.d.ts +3 -1
- package/lib/@types/PositionAlert.js +5 -0
- package/lib/@types/Size.d.ts +3 -1
- package/lib/@types/Size.js +5 -0
- package/lib/@types/SizePixels.d.ts +3 -1
- package/lib/@types/SizePixels.js +5 -0
- package/lib/@types/StorageMock.d.ts +3 -1
- package/lib/@types/StorageMock.js +5 -0
- package/lib/BaseMask-0c14ef51.d.ts +24 -0
- package/lib/Cnpj-bde01dd0.d.ts +18 -0
- package/lib/Cpf-3fa496ad.d.ts +18 -0
- package/lib/Phone-2bb0b397.d.ts +18 -0
- package/lib/ZipCode-09460e18.d.ts +13 -0
- package/lib/alerts/AlertContainer.d.ts +8 -2
- package/lib/alerts/AlertContainer.js +70 -61
- package/lib/alerts/AlertProvider.d.ts +9 -3
- package/lib/alerts/AlertProvider.js +64 -38
- package/lib/alerts/BaseAlert.d.ts +9 -3
- package/lib/alerts/BaseAlert.js +31 -19
- package/lib/alerts/Message.d.ts +9 -3
- package/lib/alerts/Message.js +112 -93
- package/lib/alerts/helpers.d.ts +9 -3
- package/lib/alerts/helpers.js +9 -6
- package/lib/alerts/index.d.ts +11 -4
- package/lib/alerts/index.js +16 -8
- package/lib/alerts/types.d.ts +14 -10
- package/lib/alerts/types.js +5 -0
- package/lib/alerts/withAlert.d.ts +9 -4
- package/lib/alerts/withAlert.js +23 -14
- package/lib/assets/fonts/Roboto-Black.woff +0 -0
- package/lib/assets/fonts/Roboto-Black.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Bold.woff +0 -0
- package/lib/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Light.woff +0 -0
- package/lib/assets/fonts/Roboto-Light.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Medium.woff +0 -0
- package/lib/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Regular.woff +0 -0
- package/lib/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Thin.woff +0 -0
- package/lib/assets/fonts/Roboto-Thin.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Black.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Black.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Bold.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Bold.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-ExtraLight.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-ExtraLight.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Light.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Light.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Regular.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Regular.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-SemiBold.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-SemiBold.woff2 +0 -0
- package/lib/assets/images/logo.png +0 -0
- package/lib/assets/styles/alerts.scss +149 -0
- package/lib/assets/styles/avatar.scss +42 -0
- package/lib/assets/styles/badge.scss +48 -0
- package/lib/assets/styles/button.scss +373 -0
- package/lib/assets/styles/calendar.scss +311 -0
- package/lib/assets/styles/checkbox.scss +108 -0
- package/lib/assets/styles/checkbox2.scss +199 -0
- package/lib/assets/styles/colorpicker.scss +12 -0
- package/lib/assets/styles/colors.scss +180 -0
- package/lib/assets/styles/commons.scss +138 -0
- package/lib/assets/styles/datepicker.scss +36 -0
- package/lib/assets/styles/datepicker2.scss +332 -0
- package/lib/assets/styles/dialog.scss +200 -0
- package/lib/assets/styles/drawers.scss +160 -0
- package/lib/assets/styles/dropdown.scss +179 -0
- package/lib/assets/styles/effects.scss +821 -0
- package/lib/assets/styles/error.scss +9 -0
- package/lib/assets/styles/fieldset.scss +96 -0
- package/lib/assets/styles/file.scss +229 -0
- package/lib/assets/styles/filefield.scss +42 -0
- package/lib/assets/styles/floatMenu.scss +15 -0
- package/lib/assets/styles/fonts.scss +86 -0
- package/lib/assets/styles/form.scss +23 -0
- package/lib/assets/styles/gridlayout.scss +2054 -0
- package/lib/assets/styles/hint.scss +30 -0
- package/lib/assets/styles/icon.scss +42 -0
- package/lib/assets/styles/input.scss +156 -0
- package/lib/assets/styles/label.scss +118 -0
- package/lib/assets/styles/labelMessages.scss +81 -0
- package/lib/assets/styles/list.scss +124 -0
- package/lib/assets/styles/multiSelect.scss +125 -0
- package/lib/assets/styles/noPermission.scss +25 -0
- package/lib/assets/styles/numberfield.scss +18 -0
- package/lib/assets/styles/numbers.scss +5 -0
- package/lib/assets/styles/panel.scss +95 -0
- package/lib/assets/styles/periodpicker.scss +109 -0
- package/lib/assets/styles/popover.scss +44 -0
- package/lib/assets/styles/progress.scss +72 -0
- package/lib/assets/styles/radio.scss +156 -0
- package/lib/assets/styles/radiofield.scss +185 -0
- package/lib/assets/styles/search.scss +13 -0
- package/lib/assets/styles/select.scss +159 -0
- package/lib/assets/styles/selectfield.scss +407 -0
- package/lib/assets/styles/shortcuts.scss +59 -0
- package/lib/assets/styles/sidenav.scss +409 -0
- package/lib/assets/styles/skeleton.scss +48 -0
- package/lib/assets/styles/slot.scss +34 -0
- package/lib/assets/styles/spinner.scss +34 -0
- package/lib/assets/styles/split.scss +80 -0
- package/lib/assets/styles/table.scss +185 -0
- package/lib/assets/styles/tabs.scss +308 -0
- package/lib/assets/styles/textContent.scss +9 -0
- package/lib/assets/styles/textfield.scss +182 -0
- package/lib/assets/styles/toolbar.scss +74 -0
- package/lib/assets/styles/tooltip.scss +95 -0
- package/lib/assets/styles/treetable.scss +100 -0
- package/lib/assets/styles/treeview.scss +112 -0
- package/lib/assets/styles/uitour.scss +112 -0
- package/lib/assets/styles/wizard.scss +186 -0
- package/lib/avatar/index.d.ts +9 -3
- package/lib/avatar/index.js +89 -55
- package/lib/avatar/types.d.ts +8 -4
- package/lib/avatar/types.js +5 -0
- package/lib/badge/index.d.ts +6 -3
- package/lib/badge/index.js +29 -29
- package/lib/badge/types.d.ts +4 -1
- package/lib/badge/types.js +5 -0
- package/lib/buttons/ActivateButton.d.ts +12 -3
- package/lib/buttons/ActivateButton.js +14 -12
- package/lib/buttons/AddButton.d.ts +12 -3
- package/lib/buttons/AddButton.js +18 -15
- package/lib/buttons/Button.d.ts +12 -3
- package/lib/buttons/Button.js +22 -19
- package/lib/buttons/ButtonGroups.d.ts +4 -2
- package/lib/buttons/ButtonGroups.js +17 -0
- package/lib/buttons/CancelButton.d.ts +12 -3
- package/lib/buttons/CancelButton.js +22 -16
- package/lib/buttons/DangerButton.d.ts +12 -3
- package/lib/buttons/DangerButton.js +22 -17
- package/lib/buttons/DefaultButton.d.ts +12 -3
- package/lib/buttons/DefaultButton.js +188 -95
- package/lib/buttons/DestroyButton.d.ts +12 -3
- package/lib/buttons/DestroyButton.js +21 -18
- package/lib/buttons/EditButton.d.ts +12 -3
- package/lib/buttons/EditButton.js +14 -12
- package/lib/buttons/InactivateButton.d.ts +12 -3
- package/lib/buttons/InactivateButton.js +14 -12
- package/lib/buttons/InfoButton.d.ts +12 -3
- package/lib/buttons/InfoButton.js +22 -17
- package/lib/buttons/PrimaryButton.d.ts +12 -3
- package/lib/buttons/PrimaryButton.js +22 -17
- package/lib/buttons/RestoreButton.d.ts +12 -3
- package/lib/buttons/RestoreButton.js +14 -12
- package/lib/buttons/SaveButton.d.ts +12 -3
- package/lib/buttons/SaveButton.js +22 -16
- package/lib/buttons/SuccessButton.d.ts +12 -3
- package/lib/buttons/SuccessButton.js +22 -17
- package/lib/buttons/WarningButton.d.ts +12 -3
- package/lib/buttons/WarningButton.js +22 -17
- package/lib/buttons/button_container/index.d.ts +6 -4
- package/lib/buttons/button_container/index.js +29 -23
- package/lib/buttons/index.d.ts +27 -17
- package/lib/buttons/index.js +108 -35
- package/lib/buttons/split_button/index.d.ts +12 -3
- package/lib/buttons/split_button/index.js +62 -59
- package/lib/buttons/types.d.ts +13 -9
- package/lib/buttons/types.js +5 -0
- package/lib/calendar/DangerCalendar.d.ts +8 -3
- package/lib/calendar/DangerCalendar.js +17 -15
- package/lib/calendar/InfoCalendar.d.ts +8 -3
- package/lib/calendar/InfoCalendar.js +17 -15
- package/lib/calendar/PrimaryCalendar.d.ts +8 -3
- package/lib/calendar/PrimaryCalendar.js +17 -15
- package/lib/calendar/SuccessCalendar.d.ts +8 -3
- package/lib/calendar/SuccessCalendar.js +17 -15
- package/lib/calendar/WarningCalendar.d.ts +8 -3
- package/lib/calendar/WarningCalendar.js +17 -15
- package/lib/calendar/base/helpers.d.ts +18 -14
- package/lib/calendar/base/helpers.js +117 -44
- package/lib/calendar/base/index.d.ts +8 -3
- package/lib/calendar/base/index.js +198 -168
- package/lib/calendar/index.d.ts +14 -8
- package/lib/calendar/index.js +44 -15
- package/lib/calendar/types.d.ts +8 -5
- package/lib/calendar/types.js +5 -0
- package/lib/checkbox/index.d.ts +8 -3
- package/lib/checkbox/index.js +140 -94
- package/lib/checkbox/types.d.ts +7 -5
- package/lib/checkbox/types.js +5 -0
- package/lib/dialog/Alert.d.ts +9 -3
- package/lib/dialog/Alert.js +31 -22
- package/lib/dialog/Custom.d.ts +9 -3
- package/lib/dialog/Custom.js +54 -45
- package/lib/dialog/Error.d.ts +9 -3
- package/lib/dialog/Error.js +31 -22
- package/lib/dialog/Information.d.ts +9 -3
- package/lib/dialog/Information.js +31 -22
- package/lib/dialog/Question.d.ts +9 -3
- package/lib/dialog/Question.js +61 -47
- package/lib/dialog/Warning.d.ts +9 -3
- package/lib/dialog/Warning.js +31 -22
- package/lib/dialog/base/Content.d.ts +9 -3
- package/lib/dialog/base/Content.js +21 -15
- package/lib/dialog/base/Footer.d.ts +9 -3
- package/lib/dialog/base/Footer.js +12 -11
- package/lib/dialog/base/Header.d.ts +9 -3
- package/lib/dialog/base/Header.js +56 -39
- package/lib/dialog/base/index.d.ts +10 -8
- package/lib/dialog/base/index.js +194 -173
- package/lib/dialog/base/style.js +12 -9
- package/lib/dialog/form/index.d.ts +10 -4
- package/lib/dialog/form/index.js +120 -106
- package/lib/dialog/index.d.ts +16 -9
- package/lib/dialog/index.js +51 -17
- package/lib/dialog/types.d.ts +24 -20
- package/lib/dialog/types.js +5 -0
- package/lib/dialog/wizard/index.d.ts +13 -8
- package/lib/dialog/wizard/index.js +79 -66
- package/lib/dialog/wizard/progressbar.d.ts +5 -2
- package/lib/dialog/wizard/progressbar.js +37 -30
- package/lib/dialog/wizard/step.d.ts +9 -2
- package/lib/dialog/wizard/step.js +22 -19
- package/lib/dialog/wizard/useWizard.d.ts +9 -2
- package/lib/dialog/wizard/useWizard.js +47 -45
- package/lib/drawer/Content.d.ts +10 -3
- package/lib/drawer/Content.js +25 -18
- package/lib/drawer/Drawer.d.ts +10 -3
- package/lib/drawer/Drawer.js +142 -73
- package/lib/drawer/Header.d.ts +10 -3
- package/lib/drawer/Header.js +74 -55
- package/lib/drawer/helpers.d.ts +10 -3
- package/lib/drawer/helpers.js +10 -6
- package/lib/drawer/index.d.ts +12 -5
- package/lib/drawer/index.js +25 -12
- package/lib/drawer/types.d.ts +11 -7
- package/lib/drawer/types.js +5 -0
- package/lib/dropdown/Popup.d.ts +6 -3
- package/lib/dropdown/Popup.js +86 -48
- package/lib/dropdown/helper.d.ts +4 -2
- package/lib/dropdown/helper.js +16 -0
- package/lib/dropdown/types.d.ts +10 -7
- package/lib/dropdown/types.js +5 -0
- package/lib/dropdown/withDropdown.d.ts +8 -7
- package/lib/dropdown/withDropdown.js +90 -79
- package/lib/fieldset/index.d.ts +8 -3
- package/lib/fieldset/index.js +81 -69
- package/lib/fieldset/types.d.ts +8 -5
- package/lib/fieldset/types.js +5 -0
- package/lib/form/Field.d.ts +14 -2
- package/lib/form/Field.js +120 -102
- package/lib/form/FieldArray.d.ts +14 -2
- package/lib/form/FieldArray.js +94 -56
- package/lib/form/FieldNumber.d.ts +14 -2
- package/lib/form/FieldNumber.js +75 -57
- package/lib/form/FieldPeriod.d.ts +14 -2
- package/lib/form/FieldPeriod.js +97 -89
- package/lib/form/helpers.d.ts +19 -7
- package/lib/form/helpers.js +47 -25
- package/lib/form/index.d.ts +18 -8
- package/lib/form/index.js +297 -155
- package/lib/form/types.d.ts +35 -25
- package/lib/form/types.js +5 -0
- package/lib/form/withFieldHOC.d.ts +14 -4
- package/lib/form/withFieldHOC.js +70 -61
- package/lib/form/withFormSecurity.d.ts +15 -6
- package/lib/form/withFormSecurity.js +53 -29
- package/lib/form2/helpers.d.ts +8 -5
- package/lib/form2/helpers.js +39 -22
- package/lib/form2/index.d.ts +8 -6
- package/lib/form2/index.js +35 -22
- package/lib/form2/types.d.ts +20 -19
- package/lib/form2/types.js +5 -0
- package/lib/form2/useForm/index.d.ts +4 -2
- package/lib/form2/useForm/index.js +195 -108
- package/lib/gridlayout/GridCol.d.ts +6 -3
- package/lib/gridlayout/GridCol.js +32 -26
- package/lib/gridlayout/GridRow.d.ts +6 -3
- package/lib/gridlayout/GridRow.js +33 -26
- package/lib/gridlayout/index.d.ts +8 -4
- package/lib/gridlayout/index.js +16 -7
- package/lib/gridlayout/types.d.ts +6 -3
- package/lib/gridlayout/types.js +5 -0
- package/lib/hint/helpers.d.ts +3 -1
- package/lib/hint/helpers.js +21 -13
- package/lib/hint/index.d.ts +7 -3
- package/lib/hint/index.js +34 -30
- package/lib/hint/types.d.ts +5 -2
- package/lib/hint/types.js +5 -0
- package/lib/icons/helper.d.ts +2 -1
- package/lib/icons/helper.js +334 -332
- package/lib/icons/index.d.ts +13 -3
- package/lib/icons/index.js +77 -75
- package/lib/icons/types.d.ts +12 -8
- package/lib/icons/types.js +5 -0
- package/lib/index-03426259.d.ts +15 -0
- package/lib/index-208e7f62.d.ts +44 -0
- package/lib/index-368f781f.d.ts +15 -0
- package/lib/index-3b70931d.d.ts +44 -0
- package/lib/index-73b84427.d.ts +42 -0
- package/lib/index-7dfa8924.d.ts +22 -0
- package/lib/index-9e576346.d.ts +23 -0
- package/lib/index-c47f7b63.d.ts +26 -0
- package/lib/index-c9247c1f.d.ts +15 -0
- package/lib/index-ecafc8c6.d.ts +30 -0
- package/lib/index.d.ts +40 -10
- package/lib/index.js +69 -26
- package/lib/inputs/base/InputTextBase.d.ts +11 -3
- package/lib/inputs/base/InputTextBase.js +266 -177
- package/lib/inputs/base/helpers.d.ts +16 -9
- package/lib/inputs/base/helpers.js +43 -28
- package/lib/inputs/base/types.d.ts +12 -8
- package/lib/inputs/base/types.js +5 -0
- package/lib/inputs/color/index.d.ts +7 -3
- package/lib/inputs/color/index.js +92 -55
- package/lib/inputs/color/types.d.ts +5 -2
- package/lib/inputs/color/types.js +5 -0
- package/lib/inputs/date/Dialog.d.ts +13 -3
- package/lib/inputs/date/Dialog.js +25 -17
- package/lib/inputs/date/Dropdown.d.ts +13 -3
- package/lib/inputs/date/Dropdown.js +36 -18
- package/lib/inputs/date/helpers.d.ts +10 -7
- package/lib/inputs/date/helpers.js +28 -32
- package/lib/inputs/date/index.d.ts +13 -3
- package/lib/inputs/date/index.js +275 -121
- package/lib/inputs/date/types.d.ts +14 -7
- package/lib/inputs/date/types.js +5 -0
- package/lib/inputs/errorMessage/index.d.ts +16 -3
- package/lib/inputs/errorMessage/index.js +25 -25
- package/lib/inputs/file/DefaultFile.d.ts +13 -3
- package/lib/inputs/file/DefaultFile.js +79 -68
- package/lib/inputs/file/DragDropFile.d.ts +13 -3
- package/lib/inputs/file/DragDropFile.js +264 -127
- package/lib/inputs/file/File.d.ts +13 -3
- package/lib/inputs/file/File.js +62 -28
- package/lib/inputs/file/FileButtonSettings.d.ts +13 -3
- package/lib/inputs/file/FileButtonSettings.js +32 -24
- package/lib/inputs/file/helpers.d.ts +13 -2
- package/lib/inputs/file/helpers.js +19 -10
- package/lib/inputs/file/index.d.ts +16 -5
- package/lib/inputs/file/index.js +23 -9
- package/lib/inputs/file/types.d.ts +16 -8
- package/lib/inputs/file/types.js +5 -0
- package/lib/inputs/inputHOC.d.ts +16 -4
- package/lib/inputs/inputHOC.js +43 -41
- package/lib/inputs/mask/BaseMask.d.ts +12 -3
- package/lib/inputs/mask/BaseMask.js +152 -124
- package/lib/inputs/mask/Cnpj.d.ts +12 -3
- package/lib/inputs/mask/Cnpj.js +58 -45
- package/lib/inputs/mask/Cpf.d.ts +12 -3
- package/lib/inputs/mask/Cpf.js +56 -48
- package/lib/inputs/mask/Phone.d.ts +12 -3
- package/lib/inputs/mask/Phone.js +18 -13
- package/lib/inputs/mask/ZipCode.d.ts +12 -3
- package/lib/inputs/mask/ZipCode.js +14 -12
- package/lib/inputs/mask/helpers.d.ts +14 -4
- package/lib/inputs/mask/helpers.js +118 -68
- package/lib/inputs/mask/index.d.ts +17 -7
- package/lib/inputs/mask/index.js +37 -13
- package/lib/inputs/mask/types.d.ts +15 -9
- package/lib/inputs/mask/types.js +5 -0
- package/lib/inputs/multiSelect/ActionButtons.d.ts +13 -3
- package/lib/inputs/multiSelect/ActionButtons.js +50 -38
- package/lib/inputs/multiSelect/Dropdown.d.ts +13 -3
- package/lib/inputs/multiSelect/Dropdown.js +134 -97
- package/lib/inputs/multiSelect/helper.d.ts +12 -2
- package/lib/inputs/multiSelect/helper.js +19 -8
- package/lib/inputs/multiSelect/index.d.ts +13 -3
- package/lib/inputs/multiSelect/index.js +228 -189
- package/lib/inputs/multiSelect/types.d.ts +15 -7
- package/lib/inputs/multiSelect/types.js +5 -0
- package/lib/inputs/number/BaseNumber.d.ts +17 -3
- package/lib/inputs/number/BaseNumber.js +66 -48
- package/lib/inputs/number/Currency.d.ts +17 -3
- package/lib/inputs/number/Currency.js +27 -21
- package/lib/inputs/number/Decimal.d.ts +17 -3
- package/lib/inputs/number/Decimal.js +11 -12
- package/lib/inputs/number/format_number.d.ts +5 -3
- package/lib/inputs/number/format_number.js +28 -8
- package/lib/inputs/number/index.d.ts +19 -6
- package/lib/inputs/number/index.js +63 -35
- package/lib/inputs/number/types.d.ts +18 -7
- package/lib/inputs/number/types.js +5 -0
- package/lib/inputs/period/Dialog.d.ts +14 -3
- package/lib/inputs/period/Dialog.js +26 -18
- package/lib/inputs/period/Dropdown.d.ts +14 -3
- package/lib/inputs/period/Dropdown.js +34 -17
- package/lib/inputs/period/PeriodList.d.ts +14 -3
- package/lib/inputs/period/PeriodList.js +45 -37
- package/lib/inputs/period/helper.d.ts +16 -5
- package/lib/inputs/period/helper.js +57 -23
- package/lib/inputs/period/index.d.ts +14 -3
- package/lib/inputs/period/index.js +506 -183
- package/lib/inputs/period/types.d.ts +19 -13
- package/lib/inputs/period/types.js +5 -0
- package/lib/inputs/search/index.d.ts +16 -3
- package/lib/inputs/search/index.js +126 -104
- package/lib/inputs/select/ActionButtons.d.ts +16 -3
- package/lib/inputs/select/ActionButtons.js +38 -28
- package/lib/inputs/select/Dropdown.d.ts +16 -3
- package/lib/inputs/select/Dropdown.js +112 -69
- package/lib/inputs/select/helper.d.ts +21 -7
- package/lib/inputs/select/helper.js +106 -46
- package/lib/inputs/select/index.d.ts +13 -3
- package/lib/inputs/select/index.js +40 -26
- package/lib/inputs/select/multiple/Selecteds.d.ts +13 -3
- package/lib/inputs/select/multiple/Selecteds.js +26 -26
- package/lib/inputs/select/multiple/index.d.ts +13 -3
- package/lib/inputs/select/multiple/index.js +276 -119
- package/lib/inputs/select/simple/index.d.ts +13 -3
- package/lib/inputs/select/simple/index.js +291 -138
- package/lib/inputs/select/types.d.ts +20 -14
- package/lib/inputs/select/types.js +5 -0
- package/lib/inputs/text/index.d.ts +12 -3
- package/lib/inputs/text/index.js +13 -12
- package/lib/inputs/text/types.d.ts +11 -5
- package/lib/inputs/text/types.js +5 -0
- package/lib/inputs/textarea/index.d.ts +12 -3
- package/lib/inputs/textarea/index.js +24 -16
- package/lib/inputs/textarea/types.d.ts +11 -2
- package/lib/inputs/textarea/types.js +5 -0
- package/lib/inputs/types.d.ts +24 -17
- package/lib/inputs/types.js +5 -0
- package/lib/inputs2/checkboxfield/index.d.ts +7 -32
- package/lib/inputs2/checkboxfield/index.js +149 -113
- package/lib/inputs2/colorfield/index.d.ts +9 -8
- package/lib/inputs2/colorfield/index.js +118 -88
- package/lib/inputs2/date/base/constants.d.ts +6 -3
- package/lib/inputs2/date/base/constants.js +37 -33
- package/lib/inputs2/date/base/index.d.ts +12 -6
- package/lib/inputs2/date/base/index.js +173 -129
- package/lib/inputs2/date/datefield/calendarbox.d.ts +6 -5
- package/lib/inputs2/date/datefield/calendarbox.js +114 -73
- package/lib/inputs2/date/datefield/context.d.ts +12 -2
- package/lib/inputs2/date/datefield/context.js +14 -11
- package/lib/inputs2/date/datefield/index.d.ts +10 -4
- package/lib/inputs2/date/datefield/index.js +323 -304
- package/lib/inputs2/date/datefield/triggers.d.ts +3 -3
- package/lib/inputs2/date/datefield/triggers.js +46 -29
- package/lib/inputs2/date/datefield/types.d.ts +16 -14
- package/lib/inputs2/date/datefield/types.js +5 -0
- package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +6 -5
- package/lib/inputs2/date/dateperiodfield/calendarbox.js +135 -93
- package/lib/inputs2/date/dateperiodfield/context.d.ts +12 -2
- package/lib/inputs2/date/dateperiodfield/context.js +16 -11
- package/lib/inputs2/date/dateperiodfield/index.d.ts +10 -4
- package/lib/inputs2/date/dateperiodfield/index.js +555 -484
- package/lib/inputs2/date/dateperiodfield/triggers.d.ts +2 -1
- package/lib/inputs2/date/dateperiodfield/triggers.js +115 -56
- package/lib/inputs2/date/dateperiodfield/types.d.ts +24 -22
- package/lib/inputs2/date/dateperiodfield/types.js +19 -0
- package/lib/inputs2/date/helpers.d.ts +20 -9
- package/lib/inputs2/date/helpers.js +55 -35
- package/lib/inputs2/date/types.d.ts +14 -13
- package/lib/inputs2/date/types.js +19 -5
- package/lib/inputs2/filefield/index.d.ts +9 -11
- package/lib/inputs2/filefield/index.js +163 -115
- package/lib/inputs2/index.d.ts +35 -16
- package/lib/inputs2/index.js +38 -33
- package/lib/inputs2/mask/BaseMask.d.ts +10 -13
- package/lib/inputs2/mask/BaseMask.js +86 -70
- package/lib/inputs2/mask/Cnpj.d.ts +11 -6
- package/lib/inputs2/mask/Cnpj.js +56 -47
- package/lib/inputs2/mask/Cpf.d.ts +11 -6
- package/lib/inputs2/mask/Cpf.js +52 -43
- package/lib/inputs2/mask/Phone.d.ts +11 -6
- package/lib/inputs2/mask/Phone.js +25 -21
- package/lib/inputs2/mask/ZipCode.d.ts +11 -3
- package/lib/inputs2/mask/ZipCode.js +22 -19
- package/lib/inputs2/mask/helpers.d.ts +4 -2
- package/lib/inputs2/mask/helpers.js +56 -33
- package/lib/inputs2/numberfield/currency.d.ts +12 -2
- package/lib/inputs2/numberfield/currency.js +88 -108
- package/lib/inputs2/numberfield/decimal.d.ts +12 -2
- package/lib/inputs2/numberfield/decimal.js +82 -100
- package/lib/inputs2/numberfield/helpers.d.ts +3 -1
- package/lib/inputs2/numberfield/helpers.js +48 -14
- package/lib/inputs2/numberfield/index.d.ts +12 -7
- package/lib/inputs2/numberfield/index.js +100 -96
- package/lib/inputs2/numberfield/types.d.ts +16 -6
- package/lib/inputs2/numberfield/types.js +5 -0
- package/lib/inputs2/radiofield/index.d.ts +9 -4
- package/lib/inputs2/radiofield/index.js +138 -109
- package/lib/inputs2/radiofield/types.d.ts +13 -11
- package/lib/inputs2/radiofield/types.js +5 -0
- package/lib/inputs2/selectfield/context.d.ts +13 -12
- package/lib/inputs2/selectfield/context.js +14 -11
- package/lib/inputs2/selectfield/helpers.d.ts +6 -5
- package/lib/inputs2/selectfield/helpers.js +23 -15
- package/lib/inputs2/selectfield/index.d.ts +11 -7
- package/lib/inputs2/selectfield/index.js +512 -386
- package/lib/inputs2/selectfield/item.d.ts +7 -6
- package/lib/inputs2/selectfield/item.js +88 -56
- package/lib/inputs2/selectfield/listbox.d.ts +6 -5
- package/lib/inputs2/selectfield/listbox.js +106 -70
- package/lib/inputs2/selectfield/options.d.ts +7 -6
- package/lib/inputs2/selectfield/options.js +25 -19
- package/lib/inputs2/selectfield/search.d.ts +6 -5
- package/lib/inputs2/selectfield/search.js +68 -55
- package/lib/inputs2/selectfield/selections.d.ts +6 -5
- package/lib/inputs2/selectfield/selections.js +84 -64
- package/lib/inputs2/selectfield/triggers.d.ts +3 -3
- package/lib/inputs2/selectfield/triggers.js +107 -81
- package/lib/inputs2/selectfield/types.d.ts +14 -12
- package/lib/inputs2/selectfield/types.js +21 -6
- package/lib/inputs2/slot/index.d.ts +8 -11
- package/lib/inputs2/slot/index.js +45 -48
- package/lib/inputs2/textareafield/index.d.ts +8 -30
- package/lib/inputs2/textareafield/index.js +189 -134
- package/lib/inputs2/textfield/index.d.ts +8 -30
- package/lib/inputs2/textfield/index.js +157 -107
- package/lib/internals/colorStyles.d.ts +2 -1
- package/lib/internals/colorStyles.js +13 -10
- package/lib/internals/constants.d.ts +5 -3
- package/lib/internals/constants.js +10 -7
- package/lib/internals/types.d.ts +4 -2
- package/lib/internals/types.js +5 -0
- package/lib/labelMessages/index.d.ts +9 -3
- package/lib/labelMessages/index.js +58 -53
- package/lib/labelMessages/types.d.ts +7 -3
- package/lib/labelMessages/types.js +5 -0
- package/lib/labels/DangerLabel.d.ts +12 -3
- package/lib/labels/DangerLabel.js +17 -15
- package/lib/labels/DefaultLabel.d.ts +12 -3
- package/lib/labels/DefaultLabel.js +61 -61
- package/lib/labels/InfoLabel.d.ts +12 -3
- package/lib/labels/InfoLabel.js +17 -15
- package/lib/labels/PrimaryLabel.d.ts +12 -3
- package/lib/labels/PrimaryLabel.js +17 -15
- package/lib/labels/SuccessLabel.d.ts +12 -3
- package/lib/labels/SuccessLabel.js +17 -15
- package/lib/labels/WarningLabel.d.ts +12 -3
- package/lib/labels/WarningLabel.js +17 -15
- package/lib/labels/index.d.ts +19 -9
- package/lib/labels/index.js +52 -19
- package/lib/labels/label_container/index.d.ts +6 -4
- package/lib/labels/label_container/index.js +21 -18
- package/lib/labels/types.d.ts +12 -8
- package/lib/labels/types.js +5 -0
- package/lib/list/Header.d.ts +11 -3
- package/lib/list/Header.js +22 -20
- package/lib/list/Item.d.ts +11 -3
- package/lib/list/Item.js +164 -148
- package/lib/list/Separator.d.ts +3 -2
- package/lib/list/Separator.js +12 -11
- package/lib/list/helpers.d.ts +11 -3
- package/lib/list/helpers.js +14 -9
- package/lib/list/index.d.ts +14 -7
- package/lib/list/index.js +173 -97
- package/lib/list/types.d.ts +17 -12
- package/lib/list/types.js +5 -0
- package/lib/menus/float/MenuItem.d.ts +9 -3
- package/lib/menus/float/MenuItem.js +66 -53
- package/lib/menus/float/SubMenuContainer.js +72 -73
- package/lib/menus/float/helpers.d.ts +9 -3
- package/lib/menus/float/helpers.js +10 -6
- package/lib/menus/float/index.d.ts +40 -6
- package/lib/menus/float/index.js +67 -44
- package/lib/menus/float/types.d.ts +9 -5
- package/lib/menus/float/types.js +5 -0
- package/lib/menus/index.d.ts +12 -2
- package/lib/menus/index.js +9 -5
- package/lib/menus/sidenav/ExpandMenu.d.ts +12 -3
- package/lib/menus/sidenav/ExpandMenu.js +26 -19
- package/lib/menus/sidenav/MenuLink.d.ts +12 -3
- package/lib/menus/sidenav/MenuLink.js +36 -30
- package/lib/menus/sidenav/NavMenuGroup.d.ts +12 -3
- package/lib/menus/sidenav/NavMenuGroup.js +25 -22
- package/lib/menus/sidenav/NavMenuItem.d.ts +12 -3
- package/lib/menus/sidenav/NavMenuItem.js +147 -138
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +12 -3
- package/lib/menus/sidenav/NavSubMenuItem.js +42 -39
- package/lib/menus/sidenav/helpers.d.ts +13 -4
- package/lib/menus/sidenav/helpers.js +17 -10
- package/lib/menus/sidenav/index.d.ts +16 -8
- package/lib/menus/sidenav/index.js +180 -148
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +12 -3
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +25 -23
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +12 -3
- package/lib/menus/sidenav/popup_menu_search/index.js +110 -51
- package/lib/menus/sidenav/types.d.ts +23 -18
- package/lib/menus/sidenav/types.js +5 -0
- package/lib/noPermission/index.d.ts +3 -2
- package/lib/noPermission/index.js +23 -17
- package/lib/panel/Content.d.ts +10 -3
- package/lib/panel/Content.js +77 -54
- package/lib/panel/DangerPanel.d.ts +10 -3
- package/lib/panel/DangerPanel.js +15 -13
- package/lib/panel/Default.d.ts +10 -3
- package/lib/panel/Default.js +64 -65
- package/lib/panel/Header.d.ts +10 -3
- package/lib/panel/Header.js +73 -51
- package/lib/panel/InfoPanel.d.ts +10 -3
- package/lib/panel/InfoPanel.js +15 -13
- package/lib/panel/PrimaryPanel.d.ts +10 -3
- package/lib/panel/PrimaryPanel.js +15 -13
- package/lib/panel/SuccessPanel.d.ts +10 -3
- package/lib/panel/SuccessPanel.js +15 -13
- package/lib/panel/ToolBar.d.ts +10 -3
- package/lib/panel/ToolBar.js +22 -0
- package/lib/panel/WarningPanel.d.ts +10 -3
- package/lib/panel/WarningPanel.js +15 -13
- package/lib/panel/helpers.d.ts +11 -4
- package/lib/panel/helpers.js +23 -14
- package/lib/panel/index.d.ts +18 -10
- package/lib/panel/index.js +59 -20
- package/lib/panel/types.d.ts +15 -11
- package/lib/panel/types.js +5 -0
- package/lib/permissionValidations.d.ts +6 -4
- package/lib/permissionValidations.js +53 -41
- package/lib/popover/PopoverText.d.ts +11 -3
- package/lib/popover/PopoverText.js +28 -15
- package/lib/popover/PopoverTitle.d.ts +11 -3
- package/lib/popover/PopoverTitle.js +16 -12
- package/lib/popover/index.d.ts +13 -6
- package/lib/popover/index.js +69 -40
- package/lib/popover/types.d.ts +12 -8
- package/lib/popover/types.js +5 -0
- package/lib/progress/Bar.d.ts +6 -3
- package/lib/progress/Bar.js +70 -48
- package/lib/progress/index.d.ts +7 -5
- package/lib/progress/index.js +37 -27
- package/lib/progress/types.d.ts +7 -4
- package/lib/progress/types.js +5 -0
- package/lib/radio/index.d.ts +8 -3
- package/lib/radio/index.js +113 -113
- package/lib/radio/types.d.ts +6 -3
- package/lib/radio/types.js +5 -0
- package/lib/shortcuts/index.d.ts +7 -3
- package/lib/shortcuts/index.js +27 -23
- package/lib/shortcuts/types.d.ts +5 -2
- package/lib/shortcuts/types.js +5 -0
- package/lib/skeleton/SkeletonContainer.d.ts +7 -3
- package/lib/skeleton/SkeletonContainer.js +22 -19
- package/lib/skeleton/index.d.ts +8 -5
- package/lib/skeleton/index.js +53 -48
- package/lib/skeleton/types.d.ts +6 -3
- package/lib/skeleton/types.js +5 -0
- package/lib/spinner/SpinnerLoading.d.ts +7 -3
- package/lib/spinner/SpinnerLoading.js +219 -55
- package/lib/spinner/index.d.ts +7 -5
- package/lib/spinner/index.js +58 -52
- package/lib/spinner/types.d.ts +6 -3
- package/lib/spinner/types.js +5 -0
- package/lib/split/Split.d.ts +6 -3
- package/lib/split/Split.js +273 -175
- package/lib/split/SplitSide.d.ts +6 -3
- package/lib/split/SplitSide.js +41 -27
- package/lib/split/helpers.d.ts +6 -3
- package/lib/split/helpers.js +10 -6
- package/lib/split/index.d.ts +8 -4
- package/lib/split/index.js +17 -8
- package/lib/split/types.d.ts +6 -3
- package/lib/split/types.js +5 -0
- package/lib/table/Body.d.ts +8 -3
- package/lib/table/Body.js +68 -43
- package/lib/table/Header.d.ts +8 -3
- package/lib/table/Header.js +86 -49
- package/lib/table/HeaderColumn.d.ts +8 -3
- package/lib/table/HeaderColumn.js +54 -43
- package/lib/table/Row.d.ts +8 -3
- package/lib/table/Row.js +88 -53
- package/lib/table/RowColumn.d.ts +8 -3
- package/lib/table/RowColumn.js +77 -55
- package/lib/table/helpers.d.ts +9 -5
- package/lib/table/helpers.js +15 -10
- package/lib/table/index.d.ts +13 -9
- package/lib/table/index.js +154 -101
- package/lib/table/types.d.ts +13 -8
- package/lib/table/types.js +5 -0
- package/lib/tabs/DropdownTabs.d.ts +11 -3
- package/lib/tabs/DropdownTabs.js +85 -73
- package/lib/tabs/Menu.d.ts +11 -3
- package/lib/tabs/Menu.js +47 -39
- package/lib/tabs/MenuTabs.d.ts +11 -3
- package/lib/tabs/MenuTabs.js +93 -70
- package/lib/tabs/Panel.d.ts +11 -3
- package/lib/tabs/Panel.js +80 -59
- package/lib/tabs/context.d.ts +12 -3
- package/lib/tabs/context.js +124 -62
- package/lib/tabs/index.d.ts +12 -5
- package/lib/tabs/index.js +75 -83
- package/lib/tabs/tabHelpers.d.ts +10 -25
- package/lib/tabs/tabHelpers.js +62 -40
- package/lib/tabs/types.d.ts +19 -16
- package/lib/tabs/types.js +5 -0
- package/lib/tabs/useTabs.d.ts +11 -1
- package/lib/tabs/useTabs.js +11 -9
- package/lib/textContent/index.d.ts +9 -6
- package/lib/textContent/index.js +46 -43
- package/lib/toolbar/ButtonBar.d.ts +12 -3
- package/lib/toolbar/ButtonBar.js +65 -67
- package/lib/toolbar/LabelBar.d.ts +12 -3
- package/lib/toolbar/LabelBar.js +57 -51
- package/lib/toolbar/Separator.d.ts +3 -2
- package/lib/toolbar/Separator.js +12 -11
- package/lib/toolbar/ToolBarGroup.d.ts +12 -3
- package/lib/toolbar/ToolBarGroup.js +18 -16
- package/lib/toolbar/helpers.d.ts +12 -3
- package/lib/toolbar/helpers.js +9 -6
- package/lib/toolbar/index.d.ts +16 -8
- package/lib/toolbar/index.js +64 -39
- package/lib/toolbar/types.d.ts +14 -10
- package/lib/toolbar/types.js +5 -0
- package/lib/tooltip/TooltipContent.d.ts +7 -3
- package/lib/tooltip/TooltipContent.js +63 -38
- package/lib/tooltip/index.d.ts +7 -3
- package/lib/tooltip/index.js +46 -41
- package/lib/tooltip/types.d.ts +10 -8
- package/lib/tooltip/types.js +5 -0
- package/lib/tooltip/useTooltip.d.ts +9 -6
- package/lib/tooltip/useTooltip.js +123 -91
- package/lib/treetable/Body.d.ts +3 -2
- package/lib/treetable/Body.js +33 -30
- package/lib/treetable/Header.d.ts +3 -2
- package/lib/treetable/Header.js +23 -27
- package/lib/treetable/Row.d.ts +9 -3
- package/lib/treetable/Row.js +229 -210
- package/lib/treetable/helpers.d.ts +17 -10
- package/lib/treetable/helpers.js +30 -16
- package/lib/treetable/index.d.ts +10 -4
- package/lib/treetable/index.js +27 -29
- package/lib/treetable/types.d.js +5 -0
- package/lib/treeview/Header.d.ts +7 -3
- package/lib/treeview/Header.js +20 -16
- package/lib/treeview/Node.d.ts +7 -3
- package/lib/treeview/Node.js +236 -199
- package/lib/treeview/constants.d.ts +7 -2
- package/lib/treeview/constants.js +9 -6
- package/lib/treeview/index.d.ts +9 -6
- package/lib/treeview/index.js +308 -258
- package/lib/treeview/types.d.ts +14 -12
- package/lib/treeview/types.js +5 -0
- package/lib/types.d-b477e076.d.ts +47 -0
- package/lib/uitour/helpers.d.ts +2 -1
- package/lib/uitour/helpers.js +12 -10
- package/lib/uitour/index.d.ts +7 -3
- package/lib/uitour/index.js +236 -169
- package/lib/uitour/types.d.ts +10 -7
- package/lib/uitour/types.js +5 -0
- package/package.json +85 -339
- package/lib/_virtual/_commonjsHelpers.js +0 -9
- package/lib/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/_virtual/compiler-runtime.js +0 -6
- package/lib/_virtual/compiler-runtime.js.map +0 -1
- package/lib/_virtual/compiler-runtime2.js +0 -5
- package/lib/_virtual/compiler-runtime2.js.map +0 -1
- package/lib/_virtual/index.js +0 -8
- package/lib/_virtual/index.js.map +0 -1
- package/lib/_virtual/index2.js +0 -5
- package/lib/_virtual/index2.js.map +0 -1
- package/lib/_virtual/index3.js +0 -5
- package/lib/_virtual/index3.js.map +0 -1
- package/lib/_virtual/lodash.js +0 -9
- package/lib/_virtual/lodash.js.map +0 -1
- package/lib/_virtual/lodash2.js +0 -5
- package/lib/_virtual/lodash2.js.map +0 -1
- package/lib/_virtual/memoize.js +0 -8
- package/lib/_virtual/memoize.js.map +0 -1
- package/lib/_virtual/react-compiler-runtime.development.js +0 -5
- package/lib/_virtual/react-compiler-runtime.development.js.map +0 -1
- package/lib/_virtual/react-compiler-runtime.production.js +0 -5
- package/lib/_virtual/react-compiler-runtime.production.js.map +0 -1
- package/lib/_virtual/react-is.development.js +0 -5
- package/lib/_virtual/react-is.development.js.map +0 -1
- package/lib/_virtual/react-is.production.min.js +0 -5
- package/lib/_virtual/react-is.production.min.js.map +0 -1
- package/lib/alerts/AlertContainer.js.map +0 -1
- package/lib/alerts/AlertProvider.js.map +0 -1
- package/lib/alerts/BaseAlert.js.map +0 -1
- package/lib/alerts/Message.js.map +0 -1
- package/lib/alerts/helpers.js.map +0 -1
- package/lib/alerts/index.js.map +0 -1
- package/lib/alerts/withAlert.js.map +0 -1
- package/lib/assets/styles/alerts.css +0 -1
- package/lib/assets/styles/avatar.css +0 -1
- package/lib/assets/styles/badge.css +0 -1
- package/lib/assets/styles/button.css +0 -1
- package/lib/assets/styles/calendar.css +0 -1
- package/lib/assets/styles/checkbox.css +0 -1
- package/lib/assets/styles/checkbox2.css +0 -1
- package/lib/assets/styles/colorpicker.css +0 -1
- package/lib/assets/styles/datepicker.css +0 -1
- package/lib/assets/styles/datepicker2.css +0 -1
- package/lib/assets/styles/dialog.css +0 -1
- package/lib/assets/styles/drawers.css +0 -1
- package/lib/assets/styles/dropdown.css +0 -1
- package/lib/assets/styles/error.css +0 -1
- package/lib/assets/styles/fieldset.css +0 -1
- package/lib/assets/styles/file.css +0 -1
- package/lib/assets/styles/filefield.css +0 -1
- package/lib/assets/styles/floatMenu.css +0 -1
- package/lib/assets/styles/form.css +0 -1
- package/lib/assets/styles/gridlayout.css +0 -1
- package/lib/assets/styles/hint.css +0 -1
- package/lib/assets/styles/icon.css +0 -1
- package/lib/assets/styles/input.css +0 -1
- package/lib/assets/styles/label.css +0 -1
- package/lib/assets/styles/labelMessages.css +0 -1
- package/lib/assets/styles/list.css +0 -1
- package/lib/assets/styles/multiSelect.css +0 -1
- package/lib/assets/styles/noPermission.css +0 -1
- package/lib/assets/styles/numberfield.css +0 -1
- package/lib/assets/styles/numbers.css +0 -1
- package/lib/assets/styles/panel.css +0 -1
- package/lib/assets/styles/periodpicker.css +0 -1
- package/lib/assets/styles/popover.css +0 -1
- package/lib/assets/styles/progress.css +0 -1
- package/lib/assets/styles/radio.css +0 -1
- package/lib/assets/styles/radiofield.css +0 -1
- package/lib/assets/styles/search.css +0 -1
- package/lib/assets/styles/select.css +0 -1
- package/lib/assets/styles/selectfield.css +0 -1
- package/lib/assets/styles/shortcuts.css +0 -1
- package/lib/assets/styles/sidenav.css +0 -1
- package/lib/assets/styles/skeleton.css +0 -1
- package/lib/assets/styles/slot.css +0 -1
- package/lib/assets/styles/spinner.css +0 -1
- package/lib/assets/styles/split.css +0 -1
- package/lib/assets/styles/table.css +0 -1
- package/lib/assets/styles/tabs.css +0 -1
- package/lib/assets/styles/textContent.css +0 -1
- package/lib/assets/styles/textfield.css +0 -1
- package/lib/assets/styles/toolbar.css +0 -1
- package/lib/assets/styles/tooltip.css +0 -1
- package/lib/assets/styles/treetable.css +0 -1
- package/lib/assets/styles/treeview.css +0 -1
- package/lib/assets/styles/uitour.css +0 -1
- package/lib/assets/styles/wizard.css +0 -1
- package/lib/avatar/index.js.map +0 -1
- package/lib/badge/index.js.map +0 -1
- package/lib/buttons/ActivateButton.js.map +0 -1
- package/lib/buttons/AddButton.js.map +0 -1
- package/lib/buttons/Button.js.map +0 -1
- package/lib/buttons/CancelButton.js.map +0 -1
- package/lib/buttons/DangerButton.js.map +0 -1
- package/lib/buttons/DefaultButton.js.map +0 -1
- package/lib/buttons/DestroyButton.js.map +0 -1
- package/lib/buttons/EditButton.js.map +0 -1
- package/lib/buttons/InactivateButton.js.map +0 -1
- package/lib/buttons/InfoButton.js.map +0 -1
- package/lib/buttons/PrimaryButton.js.map +0 -1
- package/lib/buttons/RestoreButton.js.map +0 -1
- package/lib/buttons/SaveButton.js.map +0 -1
- package/lib/buttons/SuccessButton.js.map +0 -1
- package/lib/buttons/WarningButton.js.map +0 -1
- package/lib/buttons/button_container/index.js.map +0 -1
- package/lib/buttons/index.js.map +0 -1
- package/lib/buttons/split_button/index.js.map +0 -1
- package/lib/calendar/DangerCalendar.js.map +0 -1
- package/lib/calendar/InfoCalendar.js.map +0 -1
- package/lib/calendar/PrimaryCalendar.js.map +0 -1
- package/lib/calendar/SuccessCalendar.js.map +0 -1
- package/lib/calendar/WarningCalendar.js.map +0 -1
- package/lib/calendar/base/helpers.js.map +0 -1
- package/lib/calendar/base/index.js.map +0 -1
- package/lib/calendar/index.js.map +0 -1
- package/lib/checkbox/index.js.map +0 -1
- package/lib/dialog/Alert.js.map +0 -1
- package/lib/dialog/Custom.js.map +0 -1
- package/lib/dialog/Error.js.map +0 -1
- package/lib/dialog/Information.js.map +0 -1
- package/lib/dialog/Question.js.map +0 -1
- package/lib/dialog/Warning.js.map +0 -1
- package/lib/dialog/base/Content.js.map +0 -1
- package/lib/dialog/base/Footer.js.map +0 -1
- package/lib/dialog/base/Header.js.map +0 -1
- package/lib/dialog/base/index.js.map +0 -1
- package/lib/dialog/base/style.d.ts +0 -7
- package/lib/dialog/base/style.js.map +0 -1
- package/lib/dialog/form/index.js.map +0 -1
- package/lib/dialog/index.js.map +0 -1
- package/lib/dialog/wizard/index.js.map +0 -1
- package/lib/dialog/wizard/progressbar.js.map +0 -1
- package/lib/dialog/wizard/step.js.map +0 -1
- package/lib/dialog/wizard/useWizard.js.map +0 -1
- package/lib/drawer/Content.js.map +0 -1
- package/lib/drawer/Drawer.js.map +0 -1
- package/lib/drawer/Header.js.map +0 -1
- package/lib/drawer/helpers.js.map +0 -1
- package/lib/drawer/index.js.map +0 -1
- package/lib/dropdown/Popup.js.map +0 -1
- package/lib/dropdown/index.d.ts +0 -3
- package/lib/dropdown/index.js +0 -6
- package/lib/dropdown/index.js.map +0 -1
- package/lib/dropdown/withDropdown.js.map +0 -1
- package/lib/fieldset/index.js.map +0 -1
- package/lib/form/Field.js.map +0 -1
- package/lib/form/FieldArray.js.map +0 -1
- package/lib/form/FieldNumber.js.map +0 -1
- package/lib/form/FieldPeriod.js.map +0 -1
- package/lib/form/helpers.js.map +0 -1
- package/lib/form/index.js.map +0 -1
- package/lib/form/withFieldHOC.js.map +0 -1
- package/lib/form/withFormSecurity.js.map +0 -1
- package/lib/form2/helpers.js.map +0 -1
- package/lib/form2/index.js.map +0 -1
- package/lib/form2/useForm/index.js.map +0 -1
- package/lib/gridlayout/GridCol.js.map +0 -1
- package/lib/gridlayout/GridRow.js.map +0 -1
- package/lib/gridlayout/index.js.map +0 -1
- package/lib/hint/helpers.js.map +0 -1
- package/lib/hint/index.js.map +0 -1
- package/lib/icons/helper.js.map +0 -1
- package/lib/icons/index.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/inputs/base/InputTextBase.js.map +0 -1
- package/lib/inputs/base/helpers.js.map +0 -1
- package/lib/inputs/color/index.js.map +0 -1
- package/lib/inputs/date/Dialog.js.map +0 -1
- package/lib/inputs/date/Dropdown.js.map +0 -1
- package/lib/inputs/date/helpers.js.map +0 -1
- package/lib/inputs/date/index.js.map +0 -1
- package/lib/inputs/errorMessage/index.js.map +0 -1
- package/lib/inputs/file/DefaultFile.js.map +0 -1
- package/lib/inputs/file/DragDropFile.js.map +0 -1
- package/lib/inputs/file/File.js.map +0 -1
- package/lib/inputs/file/FileButtonSettings.js.map +0 -1
- package/lib/inputs/file/helpers.js.map +0 -1
- package/lib/inputs/file/index.js.map +0 -1
- package/lib/inputs/index.d.ts +0 -14
- package/lib/inputs/index.js +0 -40
- package/lib/inputs/index.js.map +0 -1
- package/lib/inputs/inputHOC.js.map +0 -1
- package/lib/inputs/mask/BaseMask.js.map +0 -1
- package/lib/inputs/mask/Cnpj.js.map +0 -1
- package/lib/inputs/mask/Cpf.js.map +0 -1
- package/lib/inputs/mask/Phone.js.map +0 -1
- package/lib/inputs/mask/ZipCode.js.map +0 -1
- package/lib/inputs/mask/helpers.js.map +0 -1
- package/lib/inputs/mask/index.js.map +0 -1
- package/lib/inputs/multiSelect/ActionButtons.js.map +0 -1
- package/lib/inputs/multiSelect/Dropdown.js.map +0 -1
- package/lib/inputs/multiSelect/helper.js.map +0 -1
- package/lib/inputs/multiSelect/index.js.map +0 -1
- package/lib/inputs/number/BaseNumber.js.map +0 -1
- package/lib/inputs/number/Currency.js.map +0 -1
- package/lib/inputs/number/Decimal.js.map +0 -1
- package/lib/inputs/number/format_number.js.map +0 -1
- package/lib/inputs/number/index.js.map +0 -1
- package/lib/inputs/period/Dialog.js.map +0 -1
- package/lib/inputs/period/Dropdown.js.map +0 -1
- package/lib/inputs/period/PeriodList.js.map +0 -1
- package/lib/inputs/period/helper.js.map +0 -1
- package/lib/inputs/period/index.js.map +0 -1
- package/lib/inputs/search/index.js.map +0 -1
- package/lib/inputs/select/ActionButtons.js.map +0 -1
- package/lib/inputs/select/Dropdown.js.map +0 -1
- package/lib/inputs/select/helper.js.map +0 -1
- package/lib/inputs/select/index.js.map +0 -1
- package/lib/inputs/select/multiple/Selecteds.js.map +0 -1
- package/lib/inputs/select/multiple/index.js.map +0 -1
- package/lib/inputs/select/simple/index.js.map +0 -1
- package/lib/inputs/text/index.js.map +0 -1
- package/lib/inputs/textarea/index.js.map +0 -1
- package/lib/inputs2/checkboxfield/index.js.map +0 -1
- package/lib/inputs2/colorfield/index.js.map +0 -1
- package/lib/inputs2/date/base/constants.js.map +0 -1
- package/lib/inputs2/date/base/index.js.map +0 -1
- package/lib/inputs2/date/datefield/calendarbox.js.map +0 -1
- package/lib/inputs2/date/datefield/context.js.map +0 -1
- package/lib/inputs2/date/datefield/index.js.map +0 -1
- package/lib/inputs2/date/datefield/triggers.js.map +0 -1
- package/lib/inputs2/date/dateperiodfield/calendarbox.js.map +0 -1
- package/lib/inputs2/date/dateperiodfield/context.js.map +0 -1
- package/lib/inputs2/date/dateperiodfield/index.js.map +0 -1
- package/lib/inputs2/date/dateperiodfield/triggers.js.map +0 -1
- package/lib/inputs2/date/helpers.js.map +0 -1
- package/lib/inputs2/date/types.js.map +0 -1
- package/lib/inputs2/filefield/index.js.map +0 -1
- package/lib/inputs2/index.js.map +0 -1
- package/lib/inputs2/mask/BaseMask.js.map +0 -1
- package/lib/inputs2/mask/Cnpj.js.map +0 -1
- package/lib/inputs2/mask/Cpf.js.map +0 -1
- package/lib/inputs2/mask/Phone.js.map +0 -1
- package/lib/inputs2/mask/ZipCode.js.map +0 -1
- package/lib/inputs2/mask/helpers.js.map +0 -1
- package/lib/inputs2/numberfield/currency.js.map +0 -1
- package/lib/inputs2/numberfield/decimal.js.map +0 -1
- package/lib/inputs2/numberfield/helpers.js.map +0 -1
- package/lib/inputs2/numberfield/index.js.map +0 -1
- package/lib/inputs2/radiofield/index.js.map +0 -1
- package/lib/inputs2/selectfield/context.js.map +0 -1
- package/lib/inputs2/selectfield/helpers.js.map +0 -1
- package/lib/inputs2/selectfield/index.js.map +0 -1
- package/lib/inputs2/selectfield/item.js.map +0 -1
- package/lib/inputs2/selectfield/listbox.js.map +0 -1
- package/lib/inputs2/selectfield/options.js.map +0 -1
- package/lib/inputs2/selectfield/search.js.map +0 -1
- package/lib/inputs2/selectfield/selections.js.map +0 -1
- package/lib/inputs2/selectfield/triggers.js.map +0 -1
- package/lib/inputs2/selectfield/types.js.map +0 -1
- package/lib/inputs2/slot/index.js.map +0 -1
- package/lib/inputs2/textareafield/index.js.map +0 -1
- package/lib/inputs2/textfield/index.js.map +0 -1
- package/lib/internals/colorStyles.js.map +0 -1
- package/lib/internals/constants.js.map +0 -1
- package/lib/labelMessages/index.js.map +0 -1
- package/lib/labels/DangerLabel.js.map +0 -1
- package/lib/labels/DefaultLabel.js.map +0 -1
- package/lib/labels/InfoLabel.js.map +0 -1
- package/lib/labels/PrimaryLabel.js.map +0 -1
- package/lib/labels/SuccessLabel.js.map +0 -1
- package/lib/labels/WarningLabel.js.map +0 -1
- package/lib/labels/index.js.map +0 -1
- package/lib/labels/label_container/index.js.map +0 -1
- package/lib/list/Header.js.map +0 -1
- package/lib/list/Item.js.map +0 -1
- package/lib/list/Separator.js.map +0 -1
- package/lib/list/helpers.js.map +0 -1
- package/lib/list/index.js.map +0 -1
- package/lib/menus/float/MenuItem.js.map +0 -1
- package/lib/menus/float/SubMenuContainer.d.ts +0 -29
- package/lib/menus/float/SubMenuContainer.js.map +0 -1
- package/lib/menus/float/helpers.js.map +0 -1
- package/lib/menus/float/index.js.map +0 -1
- package/lib/menus/index.js.map +0 -1
- package/lib/menus/sidenav/ExpandMenu.js.map +0 -1
- package/lib/menus/sidenav/MenuLink.js.map +0 -1
- package/lib/menus/sidenav/NavMenuGroup.js.map +0 -1
- package/lib/menus/sidenav/NavMenuItem.js.map +0 -1
- package/lib/menus/sidenav/NavSubMenuItem.js.map +0 -1
- package/lib/menus/sidenav/helpers.js.map +0 -1
- package/lib/menus/sidenav/index.js.map +0 -1
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js.map +0 -1
- package/lib/menus/sidenav/popup_menu_search/index.js.map +0 -1
- package/lib/noPermission/index.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -35
- package/lib/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/html-input-mask-element.js +0 -32
- package/lib/node_modules/imask/esm/controls/html-input-mask-element.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/html-mask-element.js +0 -49
- package/lib/node_modules/imask/esm/controls/html-mask-element.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/input-history.js +0 -31
- package/lib/node_modules/imask/esm/controls/input-history.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/input.js +0 -223
- package/lib/node_modules/imask/esm/controls/input.js.map +0 -1
- package/lib/node_modules/imask/esm/controls/mask-element.js +0 -44
- package/lib/node_modules/imask/esm/controls/mask-element.js.map +0 -1
- package/lib/node_modules/imask/esm/core/action-details.js +0 -52
- package/lib/node_modules/imask/esm/core/action-details.js.map +0 -1
- package/lib/node_modules/imask/esm/core/change-details.js +0 -37
- package/lib/node_modules/imask/esm/core/change-details.js.map +0 -1
- package/lib/node_modules/imask/esm/core/continuous-tail-details.js +0 -43
- package/lib/node_modules/imask/esm/core/continuous-tail-details.js.map +0 -1
- package/lib/node_modules/imask/esm/core/holder.js +0 -7
- package/lib/node_modules/imask/esm/core/holder.js.map +0 -1
- package/lib/node_modules/imask/esm/core/utils.js +0 -68
- package/lib/node_modules/imask/esm/core/utils.js.map +0 -1
- package/lib/node_modules/imask/esm/index.js +0 -51
- package/lib/node_modules/imask/esm/index.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/base.js +0 -253
- package/lib/node_modules/imask/esm/masked/base.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/date.js +0 -118
- package/lib/node_modules/imask/esm/masked/date.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/dynamic.js +0 -223
- package/lib/node_modules/imask/esm/masked/dynamic.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/enum.js +0 -70
- package/lib/node_modules/imask/esm/masked/enum.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/factory.js +0 -47
- package/lib/node_modules/imask/esm/masked/factory.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/function.js +0 -24
- package/lib/node_modules/imask/esm/masked/function.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/number.js +0 -213
- package/lib/node_modules/imask/esm/masked/number.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -104
- package/lib/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pattern/cursor.js +0 -101
- package/lib/node_modules/imask/esm/masked/pattern/cursor.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -103
- package/lib/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pattern/input-definition.js +0 -134
- package/lib/node_modules/imask/esm/masked/pattern/input-definition.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pattern.js +0 -323
- package/lib/node_modules/imask/esm/masked/pattern.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/pipe.js +0 -24
- package/lib/node_modules/imask/esm/masked/pipe.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/range.js +0 -79
- package/lib/node_modules/imask/esm/masked/range.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/regexp.js +0 -22
- package/lib/node_modules/imask/esm/masked/regexp.js.map +0 -1
- package/lib/node_modules/imask/esm/masked/repeat.js +0 -105
- package/lib/node_modules/imask/esm/masked/repeat.js.map +0 -1
- package/lib/node_modules/lodash/_Hash.js +0 -23
- package/lib/node_modules/lodash/_Hash.js.map +0 -1
- package/lib/node_modules/lodash/_ListCache.js +0 -23
- package/lib/node_modules/lodash/_ListCache.js.map +0 -1
- package/lib/node_modules/lodash/_Map.js +0 -13
- package/lib/node_modules/lodash/_Map.js.map +0 -1
- package/lib/node_modules/lodash/_MapCache.js +0 -23
- package/lib/node_modules/lodash/_MapCache.js.map +0 -1
- package/lib/node_modules/lodash/_Symbol.js +0 -12
- package/lib/node_modules/lodash/_Symbol.js.map +0 -1
- package/lib/node_modules/lodash/_assocIndexOf.js +0 -18
- package/lib/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/lib/node_modules/lodash/_baseGetTag.js +0 -17
- package/lib/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/lib/node_modules/lodash/_baseIsNative.js +0 -23
- package/lib/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/lib/node_modules/lodash/_coreJsData.js +0 -12
- package/lib/node_modules/lodash/_coreJsData.js.map +0 -1
- package/lib/node_modules/lodash/_freeGlobal.js +0 -12
- package/lib/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/lib/node_modules/lodash/_getMapData.js +0 -16
- package/lib/node_modules/lodash/_getMapData.js.map +0 -1
- package/lib/node_modules/lodash/_getNative.js +0 -17
- package/lib/node_modules/lodash/_getNative.js.map +0 -1
- package/lib/node_modules/lodash/_getRawTag.js +0 -22
- package/lib/node_modules/lodash/_getRawTag.js.map +0 -1
- package/lib/node_modules/lodash/_getValue.js +0 -13
- package/lib/node_modules/lodash/_getValue.js.map +0 -1
- package/lib/node_modules/lodash/_hashClear.js +0 -15
- package/lib/node_modules/lodash/_hashClear.js.map +0 -1
- package/lib/node_modules/lodash/_hashDelete.js +0 -14
- package/lib/node_modules/lodash/_hashDelete.js.map +0 -1
- package/lib/node_modules/lodash/_hashGet.js +0 -20
- package/lib/node_modules/lodash/_hashGet.js.map +0 -1
- package/lib/node_modules/lodash/_hashHas.js +0 -16
- package/lib/node_modules/lodash/_hashHas.js.map +0 -1
- package/lib/node_modules/lodash/_hashSet.js +0 -16
- package/lib/node_modules/lodash/_hashSet.js.map +0 -1
- package/lib/node_modules/lodash/_isKeyable.js +0 -14
- package/lib/node_modules/lodash/_isKeyable.js.map +0 -1
- package/lib/node_modules/lodash/_isMasked.js +0 -18
- package/lib/node_modules/lodash/_isMasked.js.map +0 -1
- package/lib/node_modules/lodash/_listCacheClear.js +0 -13
- package/lib/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/lib/node_modules/lodash/_listCacheDelete.js +0 -19
- package/lib/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/lib/node_modules/lodash/_listCacheGet.js +0 -16
- package/lib/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/lib/node_modules/lodash/_listCacheHas.js +0 -15
- package/lib/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/lib/node_modules/lodash/_listCacheSet.js +0 -16
- package/lib/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/lib/node_modules/lodash/_mapCacheClear.js +0 -21
- package/lib/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/lib/node_modules/lodash/_mapCacheDelete.js +0 -16
- package/lib/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/lib/node_modules/lodash/_mapCacheGet.js +0 -15
- package/lib/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/lib/node_modules/lodash/_mapCacheHas.js +0 -15
- package/lib/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/lib/node_modules/lodash/_mapCacheSet.js +0 -16
- package/lib/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/lib/node_modules/lodash/_nativeCreate.js +0 -12
- package/lib/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/lib/node_modules/lodash/_objectToString.js +0 -14
- package/lib/node_modules/lodash/_objectToString.js.map +0 -1
- package/lib/node_modules/lodash/_root.js +0 -12
- package/lib/node_modules/lodash/_root.js.map +0 -1
- package/lib/node_modules/lodash/_toSource.js +0 -24
- package/lib/node_modules/lodash/_toSource.js.map +0 -1
- package/lib/node_modules/lodash/eq.js +0 -13
- package/lib/node_modules/lodash/eq.js.map +0 -1
- package/lib/node_modules/lodash/isFunction.js +0 -19
- package/lib/node_modules/lodash/isFunction.js.map +0 -1
- package/lib/node_modules/lodash/isObject.js +0 -14
- package/lib/node_modules/lodash/isObject.js.map +0 -1
- package/lib/node_modules/lodash/lodash.js +0 -3678
- package/lib/node_modules/lodash/lodash.js.map +0 -1
- package/lib/node_modules/lodash/memoize.js +0 -24
- package/lib/node_modules/lodash/memoize.js.map +0 -1
- package/lib/node_modules/moment/dist/moment.js +0 -2590
- package/lib/node_modules/moment/dist/moment.js.map +0 -1
- package/lib/node_modules/object-assign/index.js +0 -55
- package/lib/node_modules/object-assign/index.js.map +0 -1
- package/lib/node_modules/prop-types/checkPropTypes.js +0 -55
- package/lib/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js +0 -53
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +0 -330
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/lib/node_modules/prop-types/index.js +0 -18
- package/lib/node_modules/prop-types/index.js.map +0 -1
- package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -11
- package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/lib/node_modules/prop-types/lib/has.js +0 -8
- package/lib/node_modules/prop-types/lib/has.js.map +0 -1
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -96
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -79
- package/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/lib/node_modules/prop-types/node_modules/react-is/index.js +0 -11
- package/lib/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/lib/node_modules/react/cjs/react-compiler-runtime.development.js +0 -31
- package/lib/node_modules/react/cjs/react-compiler-runtime.development.js.map +0 -1
- package/lib/node_modules/react/cjs/react-compiler-runtime.production.js +0 -24
- package/lib/node_modules/react/cjs/react-compiler-runtime.production.js.map +0 -1
- package/lib/node_modules/react/compiler-runtime.js +0 -11
- package/lib/node_modules/react/compiler-runtime.js.map +0 -1
- package/lib/node_modules/react-imask/esm/hook.js +0 -76
- package/lib/node_modules/react-imask/esm/hook.js.map +0 -1
- package/lib/node_modules/react-imask/esm/input.js +0 -24
- package/lib/node_modules/react-imask/esm/input.js.map +0 -1
- package/lib/node_modules/react-imask/esm/mixin.js +0 -132
- package/lib/node_modules/react-imask/esm/mixin.js.map +0 -1
- package/lib/node_modules/uuid/dist/native.js +0 -5
- package/lib/node_modules/uuid/dist/native.js.map +0 -1
- package/lib/node_modules/uuid/dist/rng.js +0 -14
- package/lib/node_modules/uuid/dist/rng.js.map +0 -1
- package/lib/node_modules/uuid/dist/stringify.js +0 -10
- package/lib/node_modules/uuid/dist/stringify.js.map +0 -1
- package/lib/node_modules/uuid/dist/v1.js +0 -35
- package/lib/node_modules/uuid/dist/v1.js.map +0 -1
- package/lib/node_modules/uuid/dist/v4.js +0 -17
- package/lib/node_modules/uuid/dist/v4.js.map +0 -1
- package/lib/panel/Content.js.map +0 -1
- package/lib/panel/DangerPanel.js.map +0 -1
- package/lib/panel/Default.js.map +0 -1
- package/lib/panel/Header.js.map +0 -1
- package/lib/panel/InfoPanel.js.map +0 -1
- package/lib/panel/PrimaryPanel.js.map +0 -1
- package/lib/panel/SuccessPanel.js.map +0 -1
- package/lib/panel/WarningPanel.js.map +0 -1
- package/lib/panel/helpers.js.map +0 -1
- package/lib/panel/index.js.map +0 -1
- package/lib/permissionValidations.js.map +0 -1
- package/lib/popover/PopoverText.js.map +0 -1
- package/lib/popover/PopoverTitle.js.map +0 -1
- package/lib/popover/index.js.map +0 -1
- package/lib/progress/Bar.js.map +0 -1
- package/lib/progress/index.js.map +0 -1
- package/lib/radio/index.js.map +0 -1
- package/lib/shortcuts/index.js.map +0 -1
- package/lib/skeleton/SkeletonContainer.js.map +0 -1
- package/lib/skeleton/index.js.map +0 -1
- package/lib/spinner/SpinnerLoading.js.map +0 -1
- package/lib/spinner/index.js.map +0 -1
- package/lib/split/Split.js.map +0 -1
- package/lib/split/SplitSide.js.map +0 -1
- package/lib/split/helpers.js.map +0 -1
- package/lib/split/index.js.map +0 -1
- package/lib/table/Body.js.map +0 -1
- package/lib/table/Header.js.map +0 -1
- package/lib/table/HeaderColumn.js.map +0 -1
- package/lib/table/Row.js.map +0 -1
- package/lib/table/RowColumn.js.map +0 -1
- package/lib/table/helpers.js.map +0 -1
- package/lib/table/index.js.map +0 -1
- package/lib/tabs/DropdownTabs.js.map +0 -1
- package/lib/tabs/Menu.js.map +0 -1
- package/lib/tabs/MenuTabs.js.map +0 -1
- package/lib/tabs/Panel.js.map +0 -1
- package/lib/tabs/context.js.map +0 -1
- package/lib/tabs/index.js.map +0 -1
- package/lib/tabs/tabHelpers.js.map +0 -1
- package/lib/tabs/useTabs.js.map +0 -1
- package/lib/textContent/index.js.map +0 -1
- package/lib/toolbar/ButtonBar.js.map +0 -1
- package/lib/toolbar/LabelBar.js.map +0 -1
- package/lib/toolbar/Separator.js.map +0 -1
- package/lib/toolbar/ToolBarGroup.js.map +0 -1
- package/lib/toolbar/helpers.js.map +0 -1
- package/lib/toolbar/index.js.map +0 -1
- package/lib/tooltip/TooltipContent.js.map +0 -1
- package/lib/tooltip/index.js.map +0 -1
- package/lib/tooltip/useTooltip.js.map +0 -1
- package/lib/treetable/Body.js.map +0 -1
- package/lib/treetable/Header.js.map +0 -1
- package/lib/treetable/Row.js.map +0 -1
- package/lib/treetable/helpers.js.map +0 -1
- package/lib/treetable/index.js.map +0 -1
- package/lib/treeview/Header.js.map +0 -1
- package/lib/treeview/Node.js.map +0 -1
- package/lib/treeview/constants.js.map +0 -1
- package/lib/treeview/index.js.map +0 -1
- package/lib/uitour/helpers.js.map +0 -1
- package/lib/uitour/index.js.map +0 -1
package/lib/form/types.d.ts
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import { ChangeEvent, ComponentType,
|
|
2
|
-
import { AllOptions } from '../inputs/select/types';
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ChangeEvent, ComponentType, MouseEventHandler, ReactNode, CSSProperties } from 'react';
|
|
2
|
+
import { AllOptions } from '../inputs/select/types.js';
|
|
3
|
+
import '../@types/Align.js';
|
|
4
|
+
import '../@types/DataCombo.js';
|
|
5
|
+
import '../@types/PermissionAttr.js';
|
|
6
|
+
import '../inputs/base/types.js';
|
|
7
|
+
import '../@types/Period.js';
|
|
8
|
+
import '../tooltip/types.js';
|
|
9
|
+
import '../@types/Position.js';
|
|
10
|
+
|
|
11
|
+
type Validator = (value: string) => string | undefined;
|
|
12
|
+
type PeriodValidator = (value: {
|
|
5
13
|
inicial: string;
|
|
6
14
|
final: string;
|
|
7
15
|
}) => string | undefined;
|
|
8
|
-
|
|
16
|
+
type OnFielChangeEvent = Event & {
|
|
9
17
|
target: HTMLInputElement;
|
|
10
18
|
};
|
|
11
|
-
|
|
19
|
+
type CustomKeyboardEvent = ChangeEvent<HTMLInputElement> & {
|
|
12
20
|
keyCode: number;
|
|
13
21
|
};
|
|
14
|
-
|
|
22
|
+
type PropsValidateTabErrors = {
|
|
15
23
|
name: string;
|
|
16
24
|
tabId?: string | number;
|
|
17
25
|
hasErrors: boolean;
|
|
@@ -36,8 +44,8 @@ type BaseFormProps = {
|
|
|
36
44
|
skeletonize?: boolean;
|
|
37
45
|
disabled?: boolean;
|
|
38
46
|
};
|
|
39
|
-
type OnDataChange = Dispatch<SetStateAction<object>>;
|
|
40
|
-
|
|
47
|
+
type OnDataChange = React.Dispatch<React.SetStateAction<object>>;
|
|
48
|
+
type FormProps = BaseFormProps & ({
|
|
41
49
|
useInternalState?: false;
|
|
42
50
|
onDataChange: OnDataChange;
|
|
43
51
|
} | {
|
|
@@ -47,7 +55,7 @@ export type FormProps = BaseFormProps & ({
|
|
|
47
55
|
type Data = {
|
|
48
56
|
[key: string]: any;
|
|
49
57
|
};
|
|
50
|
-
|
|
58
|
+
interface IFieldProps extends WithFieldProps {
|
|
51
59
|
data?: Data;
|
|
52
60
|
originalData?: Data;
|
|
53
61
|
dataSource?: Data;
|
|
@@ -96,13 +104,13 @@ export interface IFieldProps extends WithFieldProps {
|
|
|
96
104
|
tabId?: string | number;
|
|
97
105
|
handleValidationErrorsOnTab?: (props: PropsValidateTabErrors) => void;
|
|
98
106
|
}
|
|
99
|
-
|
|
107
|
+
interface CustomEvent {
|
|
100
108
|
target: {
|
|
101
109
|
value: string[];
|
|
102
110
|
name: string;
|
|
103
111
|
};
|
|
104
112
|
}
|
|
105
|
-
|
|
113
|
+
interface IFieldArrayProps extends WithFieldProps {
|
|
106
114
|
data?: Data;
|
|
107
115
|
originalData?: Data;
|
|
108
116
|
dataSource?: Data;
|
|
@@ -111,6 +119,7 @@ export interface IFieldArrayProps extends WithFieldProps {
|
|
|
111
119
|
fieldErrors?: {
|
|
112
120
|
[name: string]: string[];
|
|
113
121
|
};
|
|
122
|
+
component?: ComponentType<any>;
|
|
114
123
|
validators?: Validator | Validator[];
|
|
115
124
|
valuePropName?: string;
|
|
116
125
|
changePropName?: string;
|
|
@@ -136,7 +145,7 @@ export interface IFieldArrayProps extends WithFieldProps {
|
|
|
136
145
|
popoverAlign?: 'right' | 'left';
|
|
137
146
|
tabId?: string | number;
|
|
138
147
|
}
|
|
139
|
-
|
|
148
|
+
type PeriodChangeEvent = {
|
|
140
149
|
initial: string;
|
|
141
150
|
final: string;
|
|
142
151
|
};
|
|
@@ -148,13 +157,14 @@ type PeriodFieldChangeEvent = {
|
|
|
148
157
|
};
|
|
149
158
|
};
|
|
150
159
|
};
|
|
151
|
-
|
|
160
|
+
interface IFieldPeriodProps extends WithFieldProps {
|
|
152
161
|
data?: Data;
|
|
153
162
|
originalData?: Data;
|
|
154
163
|
nameDateInitial: string;
|
|
155
164
|
nameDateFinal: string;
|
|
156
165
|
handlerFieldChange?: (event: PeriodFieldChangeEvent) => PeriodFieldChangeEvent;
|
|
157
166
|
label?: string;
|
|
167
|
+
component?: ComponentType<any>;
|
|
158
168
|
onBlur?: () => void;
|
|
159
169
|
validators?: PeriodValidator | PeriodValidator[];
|
|
160
170
|
fieldErrors?: {
|
|
@@ -173,7 +183,7 @@ export interface IFieldPeriodProps extends WithFieldProps {
|
|
|
173
183
|
popoverAlign?: 'right' | 'left';
|
|
174
184
|
tabId?: string | number;
|
|
175
185
|
}
|
|
176
|
-
|
|
186
|
+
interface FormContextProps {
|
|
177
187
|
skeletonize?: boolean;
|
|
178
188
|
handlerFieldChange: (event: OnFielChangeEvent) => void;
|
|
179
189
|
handlerFieldValidate: (name: string, value: string, validatorsArray: Validator[] | Validator) => void;
|
|
@@ -186,7 +196,7 @@ export interface FormContextProps {
|
|
|
186
196
|
isFormValid?: boolean;
|
|
187
197
|
handleValidationErrorsOnTab?: (props: PropsValidateTabErrors) => void;
|
|
188
198
|
}
|
|
189
|
-
|
|
199
|
+
interface WithFieldProps {
|
|
190
200
|
name: string;
|
|
191
201
|
data?: Data;
|
|
192
202
|
handlerStoreValidators?: (name: string, validators: Validator | Validator[]) => void;
|
|
@@ -194,19 +204,18 @@ export interface WithFieldProps {
|
|
|
194
204
|
validators?: Validator | Validator[] | PeriodValidator | PeriodValidator[];
|
|
195
205
|
customClass?: string;
|
|
196
206
|
handleValidationErrorsOnTab?: (props: PropsValidateTabErrors) => void;
|
|
197
|
-
component: ComponentType<any>;
|
|
198
207
|
}
|
|
199
|
-
|
|
208
|
+
interface IWithFieldContext {
|
|
200
209
|
validatorFromComponent: Validator | Validator[] | undefined;
|
|
201
210
|
handlerSetValidatorFromComponent: (validator: Validator | Validator[]) => void;
|
|
202
211
|
}
|
|
203
|
-
|
|
212
|
+
interface IWithFormSecurity {
|
|
204
213
|
onOpenChange?: (open: boolean) => void;
|
|
205
214
|
handlerClose?: () => void;
|
|
206
215
|
onClick?: MouseEventHandler;
|
|
207
216
|
children?: ReactNode;
|
|
208
217
|
}
|
|
209
|
-
|
|
218
|
+
interface IFormSecurityContext {
|
|
210
219
|
onChangedData: (value: boolean) => void;
|
|
211
220
|
showQuestion: boolean;
|
|
212
221
|
onConfirmClick: () => void;
|
|
@@ -214,7 +223,7 @@ export interface IFormSecurityContext {
|
|
|
214
223
|
setSecurityBeforeUnload: (value: boolean) => void;
|
|
215
224
|
securityBeforeUnload?: boolean;
|
|
216
225
|
}
|
|
217
|
-
|
|
226
|
+
interface IEventParams {
|
|
218
227
|
name: string;
|
|
219
228
|
data?: object;
|
|
220
229
|
validators?: Validator | Validator[];
|
|
@@ -226,7 +235,7 @@ export interface IEventParams {
|
|
|
226
235
|
validatorFromComponent?: Validator | Validator[];
|
|
227
236
|
component?: ComponentType<any>;
|
|
228
237
|
}
|
|
229
|
-
|
|
238
|
+
interface IGetErrorMessagesParams {
|
|
230
239
|
name: string;
|
|
231
240
|
fieldErrors?: {
|
|
232
241
|
[name: string]: string[];
|
|
@@ -236,10 +245,11 @@ export interface IGetErrorMessagesParams {
|
|
|
236
245
|
};
|
|
237
246
|
externalMessagesErrors?: string[];
|
|
238
247
|
}
|
|
239
|
-
|
|
248
|
+
type FieldErrors = {
|
|
240
249
|
[name: string]: string[];
|
|
241
250
|
};
|
|
242
|
-
|
|
251
|
+
type FieldValidator = {
|
|
243
252
|
[name: string]: Validator | Validator[];
|
|
244
253
|
};
|
|
245
|
-
|
|
254
|
+
|
|
255
|
+
export { CustomEvent, CustomKeyboardEvent, FieldErrors, FieldValidator, FormContextProps, FormProps, IEventParams, IFieldArrayProps, IFieldPeriodProps, IFieldProps, IFormSecurityContext, IGetErrorMessagesParams, IWithFieldContext, IWithFormSecurity, OnFielChangeEvent, PeriodChangeEvent, PeriodValidator, PropsValidateTabErrors, Validator, WithFieldProps };
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { WithFieldProps } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { WithFieldProps } from './types.js';
|
|
3
|
+
import '../inputs/select/types.js';
|
|
4
|
+
import '../@types/Align.js';
|
|
5
|
+
import '../@types/DataCombo.js';
|
|
6
|
+
import '../@types/PermissionAttr.js';
|
|
7
|
+
import '../inputs/base/types.js';
|
|
8
|
+
import '../@types/Period.js';
|
|
9
|
+
import '../tooltip/types.js';
|
|
10
|
+
import '../@types/Position.js';
|
|
11
|
+
|
|
12
|
+
declare const withFieldHOC: <ComponentProps extends WithFieldProps>(WrappedComponent: React__default.ComponentType<ComponentProps>) => React__default.ForwardRefExoticComponent<React__default.PropsWithoutRef<ComponentProps> & React__default.RefAttributes<HTMLElement>>;
|
|
13
|
+
|
|
14
|
+
export { withFieldHOC as default };
|
package/lib/form/withFieldHOC.js
CHANGED
|
@@ -1,64 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
let v;
|
|
44
|
-
return e[20] !== F || e[21] !== m ? (v = /* @__PURE__ */ p(g.Provider, { value: F, children: m }), e[20] = F, e[21] = m, e[22] = v) : v = e[22], v;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _helpers = require("./helpers");
|
|
9
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
+
const withFieldHOC = WrappedComponent => {
|
|
13
|
+
const EnhancedComponent = props => {
|
|
14
|
+
const {
|
|
15
|
+
name,
|
|
16
|
+
validators,
|
|
17
|
+
handlerStoreValidators,
|
|
18
|
+
handlerRemoveValidators
|
|
19
|
+
} = props;
|
|
20
|
+
const [validatorFromComponent, setValidatorFromComponent] = (0, _react.useState)(undefined);
|
|
21
|
+
const updateValidators = () => {
|
|
22
|
+
const validatorsArray = (0, _helpers.getValidatorsArray)(validators, validatorFromComponent);
|
|
23
|
+
if (validatorsArray && handlerStoreValidators) handlerStoreValidators(name, validatorsArray);
|
|
24
|
+
};
|
|
25
|
+
(0, _react.useEffect)(() => {
|
|
26
|
+
updateValidators();
|
|
27
|
+
return () => {
|
|
28
|
+
if (validators && handlerRemoveValidators) handlerRemoveValidators(name);
|
|
29
|
+
};
|
|
30
|
+
}, []);
|
|
31
|
+
(0, _react.useEffect)(() => {
|
|
32
|
+
updateValidators();
|
|
33
|
+
}, [validators]);
|
|
34
|
+
const contextValues = {
|
|
35
|
+
validatorFromComponent,
|
|
36
|
+
handlerSetValidatorFromComponent: validator => {
|
|
37
|
+
setValidatorFromComponent(validator);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
return /*#__PURE__*/_react.default.createElement(_helpers.withFieldContext.Provider, {
|
|
41
|
+
value: contextValues
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(WrappedComponent, props));
|
|
45
43
|
};
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
function forwardRef(props, ref) {
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement(_helpers.FormContext.Consumer, null, _ref => {
|
|
46
|
+
let {
|
|
47
|
+
handlerFieldChange,
|
|
48
|
+
handlerFieldValidate: handlerFieldValidate,
|
|
49
|
+
data,
|
|
50
|
+
fieldErrors,
|
|
51
|
+
externalFieldErrors,
|
|
52
|
+
handlerStoreValidators,
|
|
53
|
+
handlerRemoveValidators,
|
|
54
|
+
skeletonize,
|
|
55
|
+
handleValidationErrorsOnTab
|
|
56
|
+
} = _ref;
|
|
57
|
+
return /*#__PURE__*/_react.default.createElement(EnhancedComponent, _extends({}, props, {
|
|
58
|
+
skeletonize: skeletonize,
|
|
59
|
+
handlerFieldChange: handlerFieldChange,
|
|
60
|
+
handlerFieldValidate: handlerFieldValidate,
|
|
61
|
+
handlerStoreValidators: handlerStoreValidators,
|
|
62
|
+
handlerRemoveValidators: handlerRemoveValidators,
|
|
63
|
+
data: data,
|
|
64
|
+
fieldErrors: fieldErrors,
|
|
65
|
+
externalFieldErrors: externalFieldErrors,
|
|
66
|
+
forwardedRef: ref,
|
|
67
|
+
handleValidationErrorsOnTab: handleValidationErrorsOnTab
|
|
68
|
+
}));
|
|
69
|
+
});
|
|
58
70
|
}
|
|
59
|
-
return
|
|
71
|
+
return /*#__PURE__*/_react.default.forwardRef(forwardRef);
|
|
60
72
|
};
|
|
61
|
-
|
|
62
|
-
k as default
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=withFieldHOC.js.map
|
|
73
|
+
var _default = exports.default = withFieldHOC;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IFormSecurityContext, IWithFormSecurity } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { IFormSecurityContext, IWithFormSecurity } from './types.js';
|
|
3
|
+
import '../inputs/select/types.js';
|
|
4
|
+
import '../@types/Align.js';
|
|
5
|
+
import '../@types/DataCombo.js';
|
|
6
|
+
import '../@types/PermissionAttr.js';
|
|
7
|
+
import '../inputs/base/types.js';
|
|
8
|
+
import '../@types/Period.js';
|
|
9
|
+
import '../tooltip/types.js';
|
|
10
|
+
import '../@types/Position.js';
|
|
11
|
+
|
|
12
|
+
declare const FormSecurityContext: React__default.Context<IFormSecurityContext>;
|
|
13
|
+
declare const withFormSecurity: <ComponentProps extends IWithFormSecurity>(WrappedComponent: React__default.ComponentType<ComponentProps>) => (props: ComponentProps) => JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { FormSecurityContext, withFormSecurity as default };
|
|
@@ -1,31 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.FormSecurityContext = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
const FormSecurityContext = exports.FormSecurityContext = /*#__PURE__*/_react.default.createContext({});
|
|
12
|
+
const withFormSecurity = WrappedComponent => {
|
|
13
|
+
const EnhancedComponent = props => {
|
|
14
|
+
const {
|
|
15
|
+
onOpenChange,
|
|
16
|
+
handlerClose
|
|
17
|
+
} = props;
|
|
18
|
+
const changedData = (0, _react.useRef)(false);
|
|
19
|
+
const securityBeforeUnload = (0, _react.useRef)(false);
|
|
20
|
+
const [showQuestion, setShowQuestion] = (0, _react.useState)(false);
|
|
21
|
+
const newHandlerClose = () => {
|
|
22
|
+
if (changedData.current && securityBeforeUnload.current) {
|
|
23
|
+
setShowQuestion(true);
|
|
24
|
+
} else if (onOpenChange) onOpenChange(false);else if (handlerClose) handlerClose();
|
|
25
|
+
};
|
|
26
|
+
const onConfirmClick = () => {
|
|
27
|
+
if (onOpenChange) onOpenChange(false);
|
|
28
|
+
if (handlerClose) handlerClose();
|
|
29
|
+
};
|
|
30
|
+
const onUnconfirmClick = () => {
|
|
31
|
+
setShowQuestion(false);
|
|
32
|
+
};
|
|
33
|
+
const onChangedData = value => {
|
|
34
|
+
changedData.current = value;
|
|
35
|
+
};
|
|
36
|
+
const setSecurityBeforeUnload = value => {
|
|
37
|
+
securityBeforeUnload.current = value;
|
|
38
|
+
};
|
|
39
|
+
const contextValues = {
|
|
40
|
+
onChangedData,
|
|
41
|
+
showQuestion,
|
|
42
|
+
onConfirmClick,
|
|
43
|
+
onUnconfirmClick,
|
|
44
|
+
setSecurityBeforeUnload,
|
|
45
|
+
securityBeforeUnload: securityBeforeUnload.current
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/_react.default.createElement(FormSecurityContext.Provider, {
|
|
48
|
+
value: contextValues
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(WrappedComponent, _extends({}, props, {
|
|
50
|
+
handlerClose: newHandlerClose
|
|
51
|
+
})));
|
|
24
52
|
};
|
|
25
|
-
return
|
|
53
|
+
return EnhancedComponent;
|
|
26
54
|
};
|
|
27
|
-
|
|
28
|
-
m as FormSecurityContext,
|
|
29
|
-
w as default
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=withFormSecurity.js.map
|
|
55
|
+
var _default = exports.default = withFormSecurity;
|
package/lib/form2/helpers.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { DeepPartial } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { DeepPartial } from './types.js';
|
|
3
|
+
|
|
4
|
+
declare const mergeRefs: <T>(...refs: (React__default.Ref<T> | undefined)[]) => (fieldElement: T) => void;
|
|
5
|
+
declare const deepMergeValues: <T>(current: T, incoming: DeepPartial<T>) => T;
|
|
6
|
+
declare const flattenValidators: (validators: Record<string, any>, prefix?: string) => Record<string, any>;
|
|
7
|
+
|
|
8
|
+
export { deepMergeValues, flattenValidators, mergeRefs };
|
package/lib/form2/helpers.js
CHANGED
|
@@ -1,24 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.mergeRefs = exports.flattenValidators = exports.deepMergeValues = void 0;
|
|
7
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const mergeRefs = function () {
|
|
10
|
+
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11
|
+
refs[_key] = arguments[_key];
|
|
12
|
+
}
|
|
13
|
+
return fieldElement => {
|
|
14
|
+
refs.forEach(ref => {
|
|
15
|
+
if (_lodash.default.isFunction(ref)) ref(fieldElement);else if (ref && _lodash.default.isObject(ref)) ref.current = fieldElement;
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
exports.mergeRefs = mergeRefs;
|
|
20
|
+
const deepMergeValues = (current, incoming) => {
|
|
21
|
+
return _lodash.default.mergeWith(_lodash.default.cloneDeep(current), incoming, (objValue, srcValue) => _lodash.default.isPlainObject(objValue) && _lodash.default.isPlainObject(srcValue) ? undefined : srcValue);
|
|
18
22
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
exports.deepMergeValues = deepMergeValues;
|
|
24
|
+
const flattenValidators = function (validators) {
|
|
25
|
+
let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
26
|
+
const flattened = {};
|
|
27
|
+
Object.entries(validators).forEach(_ref => {
|
|
28
|
+
let [key, value] = _ref;
|
|
29
|
+
const fullPath = prefix ? `${prefix}.${key}` : key;
|
|
30
|
+
if (Array.isArray(value)) {
|
|
31
|
+
flattened[fullPath] = value;
|
|
32
|
+
} else if (typeof value === 'object' && value !== null) {
|
|
33
|
+
const nestedFlattened = flattenValidators(value, fullPath);
|
|
34
|
+
Object.assign(flattened, nestedFlattened);
|
|
35
|
+
} else {
|
|
36
|
+
flattened[fullPath] = [value];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return flattened;
|
|
23
40
|
};
|
|
24
|
-
|
|
41
|
+
exports.flattenValidators = flattenValidators;
|
package/lib/form2/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
export { default as useForm } from './useForm/index.js';
|
|
3
|
+
import './types.js';
|
|
4
|
+
|
|
5
|
+
interface FormElementProps extends React__default.ComponentProps<'form'> {
|
|
4
6
|
}
|
|
5
|
-
declare const Form:
|
|
6
|
-
|
|
7
|
-
export {
|
|
7
|
+
declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "style" | "children" | "slot" | "title" | "className" | "key" | "align" | "name" | "onClick" | "color" | "hidden" | "target" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
|
|
8
|
+
|
|
9
|
+
export { Form as default };
|
package/lib/form2/index.js
CHANGED
|
@@ -1,23 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const p = u((m, s) => {
|
|
6
|
-
const t = d.c(11);
|
|
7
|
-
let o, e, a, r;
|
|
8
|
-
t[0] !== m ? ({
|
|
9
|
-
noValidate: e,
|
|
10
|
-
autoComplete: a,
|
|
11
|
-
translate: r,
|
|
12
|
-
...o
|
|
13
|
-
} = m, t[0] = m, t[1] = o, t[2] = e, t[3] = a, t[4] = r) : (o = t[1], e = t[2], a = t[3], r = t[4]);
|
|
14
|
-
const i = e === void 0 ? !0 : e, n = a === void 0 ? "off" : a, f = r === void 0 ? "no" : r;
|
|
15
|
-
let l;
|
|
16
|
-
return t[5] !== n || t[6] !== i || t[7] !== s || t[8] !== o || t[9] !== f ? (l = /* @__PURE__ */ c("form", { ref: s, className: "form-container", translate: f, noValidate: i, autoComplete: n, ...o }), t[5] = n, t[6] = i, t[7] = s, t[8] = o, t[9] = f, t[10] = l) : l = t[10], l;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
17
5
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
Object.defineProperty(exports, "useForm", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _useForm.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _react = _interopRequireDefault(require("react"));
|
|
14
|
+
var _useForm = _interopRequireDefault(require("./useForm"));
|
|
15
|
+
const _excluded = ["noValidate", "autoComplete", "translate"];
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
const Form = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
21
|
+
const {
|
|
22
|
+
noValidate = true,
|
|
23
|
+
autoComplete = 'off',
|
|
24
|
+
translate = 'no'
|
|
25
|
+
} = props,
|
|
26
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement("form", _extends({
|
|
28
|
+
ref: ref,
|
|
29
|
+
className: "form-container",
|
|
30
|
+
translate: translate,
|
|
31
|
+
noValidate: noValidate,
|
|
32
|
+
autoComplete: autoComplete
|
|
33
|
+
}, rest));
|
|
34
|
+
});
|
|
35
|
+
Form.displayName = 'Form';
|
|
36
|
+
var _default = exports.default = Form;
|