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,59 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as moment, Moment } from 'moment';
|
|
3
|
+
import { ColorStyles } from '../../@types/ColorStyles';
|
|
4
|
+
import { ICalendarProps } from '../types';
|
|
5
|
+
export declare function dayNames(): string[];
|
|
6
|
+
export declare function getStartOfWeek(date: Moment): moment.Moment;
|
|
7
|
+
export declare function getStartOfMonth(date: Moment): moment.Moment;
|
|
8
|
+
export declare function dateIsEquals(date1: Moment, date2: Moment): boolean;
|
|
9
|
+
export declare function dayOutOfCurrentMonth(currentDate: Moment, comparedDay: Moment): boolean;
|
|
10
|
+
export declare function getPtBrLocale(): {
|
|
11
|
+
months: string[];
|
|
12
|
+
monthsShort: string[];
|
|
13
|
+
weekdays: string[];
|
|
14
|
+
weekdaysShort: string[];
|
|
15
|
+
weekdaysMin: string[];
|
|
16
|
+
longDateFormat: {
|
|
17
|
+
LT: string;
|
|
18
|
+
L: string;
|
|
19
|
+
LL: string;
|
|
20
|
+
LLL: string;
|
|
21
|
+
LLLL: string;
|
|
22
|
+
};
|
|
23
|
+
calendar: {
|
|
24
|
+
sameDay: string;
|
|
25
|
+
nextDay: string;
|
|
26
|
+
nextWeek: string;
|
|
27
|
+
lastDay: string;
|
|
28
|
+
lastWeek(): string;
|
|
29
|
+
sameElse: string;
|
|
30
|
+
};
|
|
31
|
+
relativeTime: {
|
|
32
|
+
future: string;
|
|
33
|
+
past: string;
|
|
34
|
+
s: string;
|
|
35
|
+
m: string;
|
|
36
|
+
mm: string;
|
|
37
|
+
h: string;
|
|
38
|
+
hh: string;
|
|
39
|
+
d: string;
|
|
40
|
+
dd: string;
|
|
41
|
+
M: string;
|
|
42
|
+
MM: string;
|
|
43
|
+
y: string;
|
|
44
|
+
yy: string;
|
|
45
|
+
};
|
|
46
|
+
ordinal: string;
|
|
47
|
+
};
|
|
48
|
+
/** Functions used insed index.jsx */
|
|
49
|
+
export declare function getCalendarCssClass({ unpadding, drawGridLines, customClass, colorStyle, }: {
|
|
50
|
+
unpadding: boolean;
|
|
51
|
+
drawGridLines: boolean;
|
|
52
|
+
customClass: string | undefined;
|
|
53
|
+
colorStyle: ColorStyles | undefined;
|
|
54
|
+
}): string;
|
|
55
|
+
export declare function validDate(date: Moment): moment.Moment;
|
|
56
|
+
/** Functions used inside Day Component */
|
|
57
|
+
export declare function getDayContainerCssClass(currentDate: Moment, day: Moment): string;
|
|
58
|
+
export declare function getDayCssClass(currentDate: Moment, day: Moment): string;
|
|
59
|
+
export declare const CalendarContext: React.Context<ICalendarProps>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import u from "react";
|
|
2
|
+
import { h as s } from "../../chunks/moment.DMLRxgRE.js";
|
|
3
|
+
s.locale("pt-br");
|
|
4
|
+
function r(e, t) {
|
|
5
|
+
return e.startOf(t);
|
|
6
|
+
}
|
|
7
|
+
function l() {
|
|
8
|
+
return ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"];
|
|
9
|
+
}
|
|
10
|
+
function f(e) {
|
|
11
|
+
return r(e, "week");
|
|
12
|
+
}
|
|
13
|
+
function M(e) {
|
|
14
|
+
return r(e, "month");
|
|
15
|
+
}
|
|
16
|
+
function o(e, t) {
|
|
17
|
+
return s(e.format("YYYY-MM-DD")).isSame(t.format("YYYY-MM-DD"));
|
|
18
|
+
}
|
|
19
|
+
function m(e, t) {
|
|
20
|
+
return e.format("MM") !== t.format("MM");
|
|
21
|
+
}
|
|
22
|
+
function Y() {
|
|
23
|
+
return {
|
|
24
|
+
months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
|
|
25
|
+
monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
|
|
26
|
+
weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
|
|
27
|
+
weekdaysShort: "dom_seg_ter_qua_qui_sex_sáb".split("_"),
|
|
28
|
+
weekdaysMin: "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
|
|
29
|
+
longDateFormat: {
|
|
30
|
+
LT: "HH:mm",
|
|
31
|
+
L: "DD/MM/YYYY",
|
|
32
|
+
LL: "D [de] MMMM [de] YYYY",
|
|
33
|
+
LLL: "D [de] MMMM [de] YYYY [às] LT",
|
|
34
|
+
LLLL: "dddd, D [de] MMMM [de] YYYY [às] LT"
|
|
35
|
+
},
|
|
36
|
+
calendar: {
|
|
37
|
+
sameDay: "[Hoje às] LT",
|
|
38
|
+
nextDay: "[Amanhã às] LT",
|
|
39
|
+
nextWeek: "dddd [às] LT",
|
|
40
|
+
lastDay: "[Ontem às] LT",
|
|
41
|
+
lastWeek() {
|
|
42
|
+
return this.sameDay === "0" || this.sameDay === "6" ? "[Último] dddd [às] LT" : (
|
|
43
|
+
// Saturday + Sunday
|
|
44
|
+
"[Última] dddd [às] LT"
|
|
45
|
+
);
|
|
46
|
+
},
|
|
47
|
+
sameElse: "L"
|
|
48
|
+
},
|
|
49
|
+
relativeTime: {
|
|
50
|
+
future: "em %s",
|
|
51
|
+
past: "%s atrás",
|
|
52
|
+
s: "segundos",
|
|
53
|
+
m: "um minuto",
|
|
54
|
+
mm: "%d minutos",
|
|
55
|
+
h: "uma hora",
|
|
56
|
+
hh: "%d horas",
|
|
57
|
+
d: "um dia",
|
|
58
|
+
dd: "%d dias",
|
|
59
|
+
M: "um mês",
|
|
60
|
+
MM: "%d meses",
|
|
61
|
+
y: "um ano",
|
|
62
|
+
yy: "%d anos"
|
|
63
|
+
},
|
|
64
|
+
ordinal: "%dº"
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function c({
|
|
68
|
+
unpadding: e,
|
|
69
|
+
drawGridLines: t,
|
|
70
|
+
customClass: a,
|
|
71
|
+
colorStyle: d
|
|
72
|
+
}) {
|
|
73
|
+
let n = `calendar-component ${a}`;
|
|
74
|
+
return n += ` -${d}`, n += e ? " -unpadding" : "", n += t ? " -draw-grid-lines" : "", n;
|
|
75
|
+
}
|
|
76
|
+
function h(e) {
|
|
77
|
+
return s(e).format() !== "Invalid date" ? e : s();
|
|
78
|
+
}
|
|
79
|
+
function L(e, t) {
|
|
80
|
+
let a = "monthday ";
|
|
81
|
+
return a += o(e, t) ? "-selectedday " : "", a;
|
|
82
|
+
}
|
|
83
|
+
function D(e, t) {
|
|
84
|
+
let a = "daybutton ";
|
|
85
|
+
return a += o(s(), t) ? "-nowday " : "", a += m(e, t) ? "-outmonth" : "", a;
|
|
86
|
+
}
|
|
87
|
+
const y = u.createContext({});
|
|
88
|
+
export {
|
|
89
|
+
y as CalendarContext,
|
|
90
|
+
o as dateIsEquals,
|
|
91
|
+
l as dayNames,
|
|
92
|
+
m as dayOutOfCurrentMonth,
|
|
93
|
+
c as getCalendarCssClass,
|
|
94
|
+
L as getDayContainerCssClass,
|
|
95
|
+
D as getDayCssClass,
|
|
96
|
+
Y as getPtBrLocale,
|
|
97
|
+
M as getStartOfMonth,
|
|
98
|
+
f as getStartOfWeek,
|
|
99
|
+
h as validDate
|
|
100
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { j as n } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as ae } from "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useRef as Z, useState as ie, useEffect as ee } from "react";
|
|
4
|
+
import { h as ce } from "../../chunks/moment.DMLRxgRE.js";
|
|
5
|
+
import me from "./Month.js";
|
|
6
|
+
import te from "../../buttons/Button.js";
|
|
7
|
+
import "../../icons/index.js";
|
|
8
|
+
import '../../assets/gridlayout.css';import '../../assets/button.css';import '../../assets/index11.css';/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
import fe from "../../gridlayout/GridCol.js";
|
|
11
|
+
import { validDate as oe, dayNames as de, CalendarContext as ue, getCalendarCssClass as he } from "./helpers.js";
|
|
12
|
+
import { v as ne } from "../../chunks/v1.Ds1rkxUj.js";
|
|
13
|
+
const pe = ["ArrowUp", "ArrowRight", "ArrowDown", "ArrowLeft"], Le = (C) => {
|
|
14
|
+
const e = ae.c(53), {
|
|
15
|
+
currentDate: w,
|
|
16
|
+
onDateChange: x,
|
|
17
|
+
drawGridLines: I,
|
|
18
|
+
colorStyle: U,
|
|
19
|
+
unpadding: J,
|
|
20
|
+
customClass: $,
|
|
21
|
+
gridLayout: y,
|
|
22
|
+
currentDateButton: F,
|
|
23
|
+
calendarContainer: K
|
|
24
|
+
} = C;
|
|
25
|
+
let g;
|
|
26
|
+
e[0] !== w ? (g = w === void 0 ? ce() : w, e[0] = w, e[1] = g) : g = e[1];
|
|
27
|
+
const r = g, T = I === void 0 ? !1 : I, V = J === void 0 ? !1 : J, h = Z(null), v = Z(null);
|
|
28
|
+
let D;
|
|
29
|
+
e[2] !== r ? (D = oe(r), e[2] = r, e[3] = D) : D = e[3];
|
|
30
|
+
const [o, j] = ie(D);
|
|
31
|
+
let A;
|
|
32
|
+
e[4] !== x ? (A = (t) => {
|
|
33
|
+
x && x(t), j(t);
|
|
34
|
+
}, e[4] = x, e[5] = A) : A = e[5];
|
|
35
|
+
const W = A;
|
|
36
|
+
let _;
|
|
37
|
+
e[6] !== o ? (_ = () => {
|
|
38
|
+
const t = o.clone();
|
|
39
|
+
j(t.subtract(1, "month"));
|
|
40
|
+
}, e[6] = o, e[7] = _) : _ = e[7];
|
|
41
|
+
const q = _;
|
|
42
|
+
let b;
|
|
43
|
+
e[8] !== o ? (b = () => {
|
|
44
|
+
const t = o.clone();
|
|
45
|
+
j(t.add(1, "month"));
|
|
46
|
+
}, e[8] = o, e[9] = b) : b = e[9];
|
|
47
|
+
const z = b;
|
|
48
|
+
let M;
|
|
49
|
+
e[10] === Symbol.for("react.memo_cache_sentinel") ? (M = (t) => {
|
|
50
|
+
const se = t.target, u = h.current?.getElementsByClassName("daybutton");
|
|
51
|
+
let p = 0;
|
|
52
|
+
u.length && Array.from(u).find((X, le) => {
|
|
53
|
+
X && X.id === se.id && (p = le);
|
|
54
|
+
});
|
|
55
|
+
const Q = {
|
|
56
|
+
ArrowUp: u[p - 7],
|
|
57
|
+
ArrowRight: u[p + 1],
|
|
58
|
+
ArrowDown: u[p + 7],
|
|
59
|
+
ArrowLeft: u[p - 1]
|
|
60
|
+
}[t.code];
|
|
61
|
+
Q && Q.focus();
|
|
62
|
+
}, e[10] = M) : M = e[10];
|
|
63
|
+
const re = M;
|
|
64
|
+
let E;
|
|
65
|
+
e[11] !== W ? (E = {
|
|
66
|
+
handleDateChange: W
|
|
67
|
+
}, e[11] = W, e[12] = E) : E = e[12];
|
|
68
|
+
const H = E;
|
|
69
|
+
let N;
|
|
70
|
+
e[13] !== K || e[14] !== r ? (N = () => (K?.(v?.current), j(oe(r)), document.addEventListener("keydown", (t) => {
|
|
71
|
+
t && t.code && pe.includes(t.code) && v.current && v.current.contains(document.activeElement) && h.current && h.current.contains(document.activeElement) && (re(t), t.stopPropagation(), t.preventDefault());
|
|
72
|
+
}), we), e[13] = K, e[14] = r, e[15] = N) : N = e[15];
|
|
73
|
+
let S;
|
|
74
|
+
e[16] === Symbol.for("react.memo_cache_sentinel") ? (S = [], e[16] = S) : S = e[16], ee(N, S);
|
|
75
|
+
let L;
|
|
76
|
+
e[17] !== F ? (L = () => {
|
|
77
|
+
const t = h.current?.getElementsByClassName("-selectedday")[0];
|
|
78
|
+
F?.(t.firstChild);
|
|
79
|
+
}, e[17] = F, e[18] = L) : L = e[18];
|
|
80
|
+
let R;
|
|
81
|
+
e[19] !== r ? (R = [r], e[19] = r, e[20] = R) : R = e[20], ee(L, R);
|
|
82
|
+
let s;
|
|
83
|
+
e[21] !== U || e[22] !== $ || e[23] !== T || e[24] !== V ? (s = he({
|
|
84
|
+
unpadding: V,
|
|
85
|
+
drawGridLines: T,
|
|
86
|
+
customClass: $,
|
|
87
|
+
colorStyle: U
|
|
88
|
+
}), e[21] = U, e[22] = $, e[23] = T, e[24] = V, e[25] = s) : s = e[25];
|
|
89
|
+
let k;
|
|
90
|
+
e[26] === Symbol.for("react.memo_cache_sentinel") ? (k = ne(), e[26] = k) : k = e[26];
|
|
91
|
+
let l;
|
|
92
|
+
e[27] !== q ? (l = /* @__PURE__ */ n.jsx(te, { id: k, boxShadow: !1, iconName: "arrow_left", customClass: "navbutton nav-arrow-left", onClick: () => {
|
|
93
|
+
q();
|
|
94
|
+
} }), e[27] = q, e[28] = l) : l = e[28];
|
|
95
|
+
let a;
|
|
96
|
+
e[29] !== o ? (a = o.format("MMMM YYYY"), e[29] = o, e[30] = a) : a = e[30];
|
|
97
|
+
let i;
|
|
98
|
+
e[31] !== a ? (i = /* @__PURE__ */ n.jsx("span", { className: "monthname", children: a }), e[31] = a, e[32] = i) : i = e[32];
|
|
99
|
+
let Y;
|
|
100
|
+
e[33] === Symbol.for("react.memo_cache_sentinel") ? (Y = ne(), e[33] = Y) : Y = e[33];
|
|
101
|
+
let c;
|
|
102
|
+
e[34] !== z ? (c = /* @__PURE__ */ n.jsx(te, { id: Y, boxShadow: !1, iconName: "arrow_right", customClass: "navbutton nav-arrow-right", onClick: () => {
|
|
103
|
+
z();
|
|
104
|
+
} }), e[34] = z, e[35] = c) : c = e[35];
|
|
105
|
+
let m;
|
|
106
|
+
e[36] !== l || e[37] !== i || e[38] !== c ? (m = /* @__PURE__ */ n.jsxs("div", { className: "calendarheader", children: [
|
|
107
|
+
l,
|
|
108
|
+
i,
|
|
109
|
+
c
|
|
110
|
+
] }), e[36] = l, e[37] = i, e[38] = c, e[39] = m) : m = e[39];
|
|
111
|
+
let B;
|
|
112
|
+
e[40] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ n.jsx("div", { className: "daynames", children: de().map(xe) }), e[40] = B) : B = e[40];
|
|
113
|
+
let f;
|
|
114
|
+
e[41] !== o ? (f = /* @__PURE__ */ n.jsx(me, { monthRef: h, currentDate: o }), e[41] = o, e[42] = f) : f = e[42];
|
|
115
|
+
let G;
|
|
116
|
+
e[43] !== s || e[44] !== m || e[45] !== f ? (G = /* @__PURE__ */ n.jsxs("div", { ref: v, className: s, children: [
|
|
117
|
+
m,
|
|
118
|
+
B,
|
|
119
|
+
f
|
|
120
|
+
] }), e[43] = s, e[44] = m, e[45] = f, e[46] = G) : G = e[46];
|
|
121
|
+
const O = G;
|
|
122
|
+
let d;
|
|
123
|
+
e[47] !== O || e[48] !== y ? (d = y ? /* @__PURE__ */ n.jsx(fe, { customClass: "-withinput", cols: y, children: O }) : O, e[47] = O, e[48] = y, e[49] = d) : d = e[49];
|
|
124
|
+
let P;
|
|
125
|
+
return e[50] !== H || e[51] !== d ? (P = /* @__PURE__ */ n.jsx(ue.Provider, { value: H, children: d }), e[50] = H, e[51] = d, e[52] = P) : P = e[52], P;
|
|
126
|
+
};
|
|
127
|
+
function Ce() {
|
|
128
|
+
}
|
|
129
|
+
function we() {
|
|
130
|
+
document.removeEventListener("keydown", Ce);
|
|
131
|
+
}
|
|
132
|
+
function xe(C) {
|
|
133
|
+
return /* @__PURE__ */ n.jsx("div", { children: C }, `day-${C}`);
|
|
134
|
+
}
|
|
135
|
+
export {
|
|
136
|
+
Le as default
|
|
137
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as Calendar } from './base';
|
|
2
|
+
import { default as SuccessCalendar } from './SuccessCalendar';
|
|
3
|
+
import { default as PrimaryCalendar } from './PrimaryCalendar';
|
|
4
|
+
import { default as DangerCalendar } from './DangerCalendar';
|
|
5
|
+
import { default as WarningCalendar } from './WarningCalendar';
|
|
6
|
+
import { default as InfoCalendar } from './InfoCalendar';
|
|
7
|
+
export default Calendar;
|
|
8
|
+
export { DangerCalendar, SuccessCalendar, PrimaryCalendar, WarningCalendar, InfoCalendar, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import r from "./base/index.js";
|
|
2
|
+
import { default as f } from "./SuccessCalendar.js";
|
|
3
|
+
import { default as d } from "./PrimaryCalendar.js";
|
|
4
|
+
import { default as n } from "./DangerCalendar.js";
|
|
5
|
+
import { default as s } from "./WarningCalendar.js";
|
|
6
|
+
import { default as u } from "./InfoCalendar.js";
|
|
7
|
+
export {
|
|
8
|
+
n as DangerCalendar,
|
|
9
|
+
u as InfoCalendar,
|
|
10
|
+
d as PrimaryCalendar,
|
|
11
|
+
f as SuccessCalendar,
|
|
12
|
+
s as WarningCalendar,
|
|
13
|
+
r as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LegacyRef } from 'react';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { ColorStyles } from '../@types/ColorStyles';
|
|
4
|
+
export interface ICalendarProps {
|
|
5
|
+
customClass?: string;
|
|
6
|
+
currentDate?: Moment;
|
|
7
|
+
drawGridLines?: boolean;
|
|
8
|
+
unpadding?: boolean;
|
|
9
|
+
onDateChange?: (date: Moment) => void;
|
|
10
|
+
colorStyle?: ColorStyles;
|
|
11
|
+
handleDateChange?: (date: Moment) => void;
|
|
12
|
+
gridLayout?: string;
|
|
13
|
+
currentDateButton?: (buttonElement: HTMLButtonElement) => void;
|
|
14
|
+
calendarContainer?: (calendarElement: HTMLDivElement | null) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface IWeekProps {
|
|
17
|
+
weekStartDate: Moment;
|
|
18
|
+
currentDate: Moment;
|
|
19
|
+
}
|
|
20
|
+
export interface IDayProps {
|
|
21
|
+
currentDate: Moment;
|
|
22
|
+
day: Moment;
|
|
23
|
+
}
|
|
24
|
+
export interface IMonthProps {
|
|
25
|
+
monthRef: LegacyRef<HTMLDivElement> | undefined;
|
|
26
|
+
currentDate: Moment;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ICheckBoxProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
|
|
5
|
+
* o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
|
|
6
|
+
* componente para gerar propriedades customizadas.
|
|
7
|
+
*/
|
|
8
|
+
declare const CheckBox: React.ForwardRefExoticComponent<ICheckBoxProps & React.RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export default CheckBox;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
4
|
+
import '../assets/radio.css';import '../assets/skeleton.css';import '../assets/toolbar.css';import '../assets/label.css';import '../assets/panel.css';import '../assets/noPermission.css';import '../assets/button.css';import '../assets/gridlayout.css';/* empty css */
|
|
5
|
+
import "../gridlayout/GridCol.js";
|
|
6
|
+
import "../permissionValidations.js";
|
|
7
|
+
import { C as E } from "../chunks/tabs.BvKfeA6Y.js";
|
|
8
|
+
import "../inputs/errorMessage/index.js";
|
|
9
|
+
import "../icons/index.js";
|
|
10
|
+
import "../buttons/DefaultButton.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import "../panel/helpers.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
import "../toolbar/helpers.js";
|
|
16
|
+
import "../labels/DefaultLabel.js";
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
import "../list/helpers.js";
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
import "../popover/index.js";
|
|
23
|
+
import "../textContent/index.js";
|
|
24
|
+
import "../tabs/MenuTabs.js";
|
|
25
|
+
import "../chunks/lodash.CIAK_hAg.js";
|
|
26
|
+
import "../tabs/context.js";
|
|
27
|
+
import "../tabs/tabHelpers.js";
|
|
28
|
+
import "../chunks/index.aw0XaUkg.js";
|
|
29
|
+
import "../hint/index.js";
|
|
30
|
+
export {
|
|
31
|
+
E as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { PermissionAttr } from '../@types/PermissionAttr';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
export type ChangeEvent = {
|
|
5
|
+
checked: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
value: boolean;
|
|
9
|
+
};
|
|
10
|
+
type Target = {
|
|
11
|
+
target: ChangeEvent;
|
|
12
|
+
};
|
|
13
|
+
export interface ICheckBoxProps {
|
|
14
|
+
id?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
defaultChecked?: boolean;
|
|
18
|
+
checked?: boolean;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
value?: string | number;
|
|
21
|
+
name?: string;
|
|
22
|
+
onChange?: (event: Target) => void;
|
|
23
|
+
onClick?: () => void;
|
|
24
|
+
autoFocus?: boolean;
|
|
25
|
+
e?: {
|
|
26
|
+
target: Element;
|
|
27
|
+
} | undefined;
|
|
28
|
+
children?: ReactElement;
|
|
29
|
+
autofocus?: boolean;
|
|
30
|
+
hint?: string;
|
|
31
|
+
hintPosition?: 'below' | 'onLabelRight';
|
|
32
|
+
gridLayout?: string;
|
|
33
|
+
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
34
|
+
tooltip?: string;
|
|
35
|
+
tooltipPosition?: Exclude<Position, 'center'>;
|
|
36
|
+
tooltipWidth?: string | number;
|
|
37
|
+
skeletonize?: boolean;
|
|
38
|
+
targetRef?: (ref: HTMLInputElement | null) => void;
|
|
39
|
+
targetSpanRef?: (ref: HTMLSpanElement | null) => void;
|
|
40
|
+
errorMessages?: string[] | undefined;
|
|
41
|
+
customClassForLabel?: string;
|
|
42
|
+
themePopover?: 'light' | 'dark';
|
|
43
|
+
popoverAlign?: 'right' | 'left';
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import p from "react";
|
|
2
|
+
var e = { exports: {} }, t = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-compiler-runtime.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var a;
|
|
13
|
+
function s() {
|
|
14
|
+
if (a) return t;
|
|
15
|
+
a = 1;
|
|
16
|
+
var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
17
|
+
return t.c = function(r) {
|
|
18
|
+
return o.H.useMemoCache(r);
|
|
19
|
+
}, t;
|
|
20
|
+
}
|
|
21
|
+
var n = {};
|
|
22
|
+
/**
|
|
23
|
+
* @license React
|
|
24
|
+
* react-compiler-runtime.development.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/
|
|
31
|
+
var u;
|
|
32
|
+
function m() {
|
|
33
|
+
return u || (u = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
34
|
+
var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
35
|
+
n.c = function(r) {
|
|
36
|
+
var i = o.H;
|
|
37
|
+
return i === null && console.error(
|
|
38
|
+
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
39
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
40
|
+
2. You might be breaking the Rules of Hooks
|
|
41
|
+
3. You might have more than one copy of React in the same app
|
|
42
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
43
|
+
), i.useMemoCache(r);
|
|
44
|
+
};
|
|
45
|
+
})()), n;
|
|
46
|
+
}
|
|
47
|
+
var c;
|
|
48
|
+
function l() {
|
|
49
|
+
return c || (c = 1, process.env.NODE_ENV === "production" ? e.exports = s() : e.exports = m()), e.exports;
|
|
50
|
+
}
|
|
51
|
+
var _ = l();
|
|
52
|
+
export {
|
|
53
|
+
_ as c
|
|
54
|
+
};
|