linear-react-components-ui 1.1.20-beta.31 → 1.1.20-beta.33
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/package.json +1 -1
- package/lib/@types/Align.d.ts +0 -4
- package/lib/@types/Align.js +0 -5
- package/lib/@types/ButtonTypes.d.ts +0 -3
- package/lib/@types/ButtonTypes.js +0 -5
- package/lib/@types/ColorStyles.d.ts +0 -3
- package/lib/@types/ColorStyles.js +0 -5
- package/lib/@types/DataCombo.d.ts +0 -3
- package/lib/@types/DataCombo.js +0 -5
- package/lib/@types/Icon.d.ts +0 -5
- package/lib/@types/Icon.js +0 -5
- package/lib/@types/LabelStyles.d.ts +0 -3
- package/lib/@types/LabelStyles.js +0 -5
- package/lib/@types/Period.d.ts +0 -6
- package/lib/@types/Period.js +0 -5
- package/lib/@types/PermissionAttr.d.ts +0 -14
- package/lib/@types/PermissionAttr.js +0 -5
- package/lib/@types/PointerEvents.d.ts +0 -3
- package/lib/@types/PointerEvents.js +0 -5
- package/lib/@types/Position.d.ts +0 -3
- package/lib/@types/Position.js +0 -5
- package/lib/@types/PositionAlert.d.ts +0 -3
- package/lib/@types/PositionAlert.js +0 -5
- package/lib/@types/Size.d.ts +0 -3
- package/lib/@types/Size.js +0 -5
- package/lib/@types/SizePixels.d.ts +0 -3
- package/lib/@types/SizePixels.js +0 -5
- package/lib/@types/StorageMock.d.ts +0 -5
- package/lib/@types/StorageMock.js +0 -5
- package/lib/alerts/AlertContainer.d.ts +0 -18
- package/lib/alerts/AlertContainer.js +0 -80
- package/lib/alerts/AlertProvider.d.ts +0 -9
- package/lib/alerts/AlertProvider.js +0 -73
- package/lib/alerts/BaseAlert.d.ts +0 -9
- package/lib/alerts/BaseAlert.js +0 -34
- package/lib/alerts/Message.d.ts +0 -9
- package/lib/alerts/Message.js +0 -114
- package/lib/alerts/helpers.d.ts +0 -9
- package/lib/alerts/helpers.js +0 -9
- package/lib/alerts/index.d.ts +0 -11
- package/lib/alerts/index.js +0 -16
- package/lib/alerts/types.d.ts +0 -51
- package/lib/alerts/types.js +0 -5
- package/lib/alerts/withAlert.d.ts +0 -9
- package/lib/alerts/withAlert.js +0 -24
- 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 +0 -149
- package/lib/assets/styles/avatar.scss +0 -42
- package/lib/assets/styles/badge.scss +0 -48
- package/lib/assets/styles/button.scss +0 -345
- package/lib/assets/styles/calendar.scss +0 -172
- package/lib/assets/styles/checkbox.scss +0 -108
- package/lib/assets/styles/colorpicker.scss +0 -17
- package/lib/assets/styles/colors.scss +0 -144
- package/lib/assets/styles/commons.scss +0 -138
- package/lib/assets/styles/datepicker.scss +0 -16
- package/lib/assets/styles/dialog.scss +0 -200
- package/lib/assets/styles/drawers.scss +0 -159
- package/lib/assets/styles/dropdown.scss +0 -179
- package/lib/assets/styles/effects.scss +0 -823
- package/lib/assets/styles/error.scss +0 -9
- package/lib/assets/styles/fieldset.scss +0 -96
- package/lib/assets/styles/file.scss +0 -224
- package/lib/assets/styles/floatMenu.scss +0 -17
- package/lib/assets/styles/fonts.scss +0 -86
- package/lib/assets/styles/form.scss +0 -23
- package/lib/assets/styles/gridlayout.scss +0 -2054
- package/lib/assets/styles/hint.scss +0 -30
- package/lib/assets/styles/icon.scss +0 -42
- package/lib/assets/styles/input.scss +0 -156
- package/lib/assets/styles/label.scss +0 -116
- package/lib/assets/styles/labelMessages.scss +0 -81
- package/lib/assets/styles/list.scss +0 -124
- package/lib/assets/styles/multiSelect.scss +0 -125
- package/lib/assets/styles/noPermission.scss +0 -25
- package/lib/assets/styles/numbers.scss +0 -5
- package/lib/assets/styles/panel.scss +0 -95
- package/lib/assets/styles/periodpicker.scss +0 -69
- package/lib/assets/styles/popover.scss +0 -44
- package/lib/assets/styles/progress.scss +0 -72
- package/lib/assets/styles/radio.scss +0 -156
- package/lib/assets/styles/search.scss +0 -13
- package/lib/assets/styles/select.scss +0 -155
- package/lib/assets/styles/shortcuts.scss +0 -59
- package/lib/assets/styles/sidenav.scss +0 -408
- package/lib/assets/styles/skeleton.scss +0 -48
- package/lib/assets/styles/spinner.scss +0 -34
- package/lib/assets/styles/split.scss +0 -80
- package/lib/assets/styles/table.scss +0 -179
- package/lib/assets/styles/tabs.scss +0 -266
- package/lib/assets/styles/textContent.scss +0 -9
- package/lib/assets/styles/toolbar.scss +0 -74
- package/lib/assets/styles/tooltip.scss +0 -95
- package/lib/assets/styles/treetable.scss +0 -100
- package/lib/assets/styles/treeview.scss +0 -96
- package/lib/assets/styles/uitour.scss +0 -112
- package/lib/assets/styles/wizard.scss +0 -125
- package/lib/avatar/index.d.ts +0 -12
- package/lib/avatar/index.js +0 -91
- package/lib/avatar/types.d.ts +0 -31
- package/lib/avatar/types.js +0 -5
- package/lib/badge/index.d.ts +0 -6
- package/lib/badge/index.js +0 -30
- package/lib/badge/types.d.ts +0 -13
- package/lib/badge/types.js +0 -5
- package/lib/buttons/ActivateButton.d.ts +0 -11
- package/lib/buttons/ActivateButton.js +0 -14
- package/lib/buttons/AddButton.d.ts +0 -11
- package/lib/buttons/AddButton.js +0 -18
- package/lib/buttons/Button.d.ts +0 -14
- package/lib/buttons/Button.js +0 -23
- package/lib/buttons/ButtonGroups.d.ts +0 -8
- package/lib/buttons/ButtonGroups.js +0 -17
- package/lib/buttons/CancelButton.d.ts +0 -11
- package/lib/buttons/CancelButton.js +0 -23
- package/lib/buttons/DangerButton.d.ts +0 -11
- package/lib/buttons/DangerButton.js +0 -23
- package/lib/buttons/DefaultButton.d.ts +0 -14
- package/lib/buttons/DefaultButton.js +0 -176
- package/lib/buttons/DestroyButton.d.ts +0 -11
- package/lib/buttons/DestroyButton.js +0 -27
- package/lib/buttons/EditButton.d.ts +0 -11
- package/lib/buttons/EditButton.js +0 -14
- package/lib/buttons/InactivateButton.d.ts +0 -11
- package/lib/buttons/InactivateButton.js +0 -14
- package/lib/buttons/InfoButton.d.ts +0 -11
- package/lib/buttons/InfoButton.js +0 -23
- package/lib/buttons/PrimaryButton.d.ts +0 -11
- package/lib/buttons/PrimaryButton.js +0 -23
- package/lib/buttons/RestoreButton.d.ts +0 -11
- package/lib/buttons/RestoreButton.js +0 -14
- package/lib/buttons/SaveButton.d.ts +0 -11
- package/lib/buttons/SaveButton.js +0 -23
- package/lib/buttons/SuccessButton.d.ts +0 -11
- package/lib/buttons/SuccessButton.js +0 -23
- package/lib/buttons/WarningButton.d.ts +0 -11
- package/lib/buttons/WarningButton.js +0 -23
- package/lib/buttons/button_container/index.d.ts +0 -12
- package/lib/buttons/button_container/index.js +0 -30
- package/lib/buttons/index.d.ts +0 -26
- package/lib/buttons/index.js +0 -108
- package/lib/buttons/split_button/index.d.ts +0 -11
- package/lib/buttons/split_button/index.js +0 -57
- package/lib/buttons/types.d.ts +0 -49
- package/lib/buttons/types.js +0 -5
- package/lib/calendar/DangerCalendar.d.ts +0 -7
- package/lib/calendar/DangerCalendar.js +0 -23
- package/lib/calendar/InfoCalendar.d.ts +0 -7
- package/lib/calendar/InfoCalendar.js +0 -23
- package/lib/calendar/PrimaryCalendar.d.ts +0 -7
- package/lib/calendar/PrimaryCalendar.js +0 -23
- package/lib/calendar/SuccessCalendar.d.ts +0 -7
- package/lib/calendar/SuccessCalendar.js +0 -23
- package/lib/calendar/WarningCalendar.d.ts +0 -7
- package/lib/calendar/WarningCalendar.js +0 -23
- package/lib/calendar/base/Day.d.ts +0 -7
- package/lib/calendar/base/Day.js +0 -32
- package/lib/calendar/base/Month.d.ts +0 -7
- package/lib/calendar/base/Month.js +0 -37
- package/lib/calendar/base/Week.d.ts +0 -7
- package/lib/calendar/base/Week.js +0 -35
- package/lib/calendar/base/helpers.d.ts +0 -62
- package/lib/calendar/base/helpers.js +0 -117
- package/lib/calendar/base/index.d.ts +0 -7
- package/lib/calendar/base/index.js +0 -79
- package/lib/calendar/index.d.ts +0 -13
- package/lib/calendar/index.js +0 -44
- package/lib/calendar/types.d.ts +0 -25
- package/lib/calendar/types.js +0 -5
- package/lib/checkbox/index.d.ts +0 -13
- package/lib/checkbox/index.js +0 -145
- package/lib/checkbox/types.d.ts +0 -47
- package/lib/checkbox/types.js +0 -5
- package/lib/dialog/Alert.d.ts +0 -9
- package/lib/dialog/Alert.js +0 -28
- package/lib/dialog/Custom.d.ts +0 -9
- package/lib/dialog/Custom.js +0 -56
- package/lib/dialog/Error.d.ts +0 -9
- package/lib/dialog/Error.js +0 -28
- package/lib/dialog/Information.d.ts +0 -9
- package/lib/dialog/Information.js +0 -28
- package/lib/dialog/Question.d.ts +0 -9
- package/lib/dialog/Question.js +0 -60
- package/lib/dialog/Warning.d.ts +0 -9
- package/lib/dialog/Warning.js +0 -28
- package/lib/dialog/base/Content.d.ts +0 -9
- package/lib/dialog/base/Content.js +0 -22
- package/lib/dialog/base/Footer.d.ts +0 -9
- package/lib/dialog/base/Footer.js +0 -12
- package/lib/dialog/base/Header.d.ts +0 -9
- package/lib/dialog/base/Header.js +0 -59
- package/lib/dialog/base/index.d.ts +0 -15
- package/lib/dialog/base/index.js +0 -157
- package/lib/dialog/base/style.js +0 -13
- package/lib/dialog/form/index.d.ts +0 -10
- package/lib/dialog/form/index.js +0 -84
- package/lib/dialog/index.d.ts +0 -16
- package/lib/dialog/index.js +0 -51
- package/lib/dialog/types.d.ts +0 -105
- package/lib/dialog/types.js +0 -5
- package/lib/dialog/wizard/index.d.ts +0 -13
- package/lib/dialog/wizard/index.js +0 -74
- package/lib/dialog/wizard/progressbar.d.ts +0 -13
- package/lib/dialog/wizard/progressbar.js +0 -36
- package/lib/dialog/wizard/step.d.ts +0 -9
- package/lib/dialog/wizard/step.js +0 -22
- package/lib/dialog/wizard/useWizard.d.ts +0 -9
- package/lib/dialog/wizard/useWizard.js +0 -48
- package/lib/drawer/Content.d.ts +0 -10
- package/lib/drawer/Content.js +0 -26
- package/lib/drawer/Drawer.d.ts +0 -10
- package/lib/drawer/Drawer.js +0 -138
- package/lib/drawer/Header.d.ts +0 -10
- package/lib/drawer/Header.js +0 -76
- package/lib/drawer/helpers.d.ts +0 -10
- package/lib/drawer/helpers.js +0 -10
- package/lib/drawer/index.d.ts +0 -12
- package/lib/drawer/index.js +0 -25
- package/lib/drawer/types.d.ts +0 -41
- package/lib/drawer/types.js +0 -5
- package/lib/dropdown/Popup.d.ts +0 -6
- package/lib/dropdown/Popup.js +0 -69
- package/lib/dropdown/helper.d.ts +0 -4
- package/lib/dropdown/helper.js +0 -16
- package/lib/dropdown/types.d.ts +0 -44
- package/lib/dropdown/types.js +0 -5
- package/lib/dropdown/withDropdown.d.ts +0 -10
- package/lib/dropdown/withDropdown.js +0 -92
- package/lib/fieldset/index.d.ts +0 -8
- package/lib/fieldset/index.js +0 -83
- package/lib/fieldset/types.d.ts +0 -30
- package/lib/fieldset/types.js +0 -5
- package/lib/form/Field.d.ts +0 -14
- package/lib/form/Field.js +0 -118
- package/lib/form/FieldArray.d.ts +0 -14
- package/lib/form/FieldArray.js +0 -105
- package/lib/form/FieldNumber.d.ts +0 -14
- package/lib/form/FieldNumber.js +0 -68
- package/lib/form/FieldPeriod.d.ts +0 -14
- package/lib/form/FieldPeriod.js +0 -98
- package/lib/form/helpers.d.ts +0 -19
- package/lib/form/helpers.js +0 -50
- package/lib/form/index.d.ts +0 -18
- package/lib/form/index.js +0 -283
- package/lib/form/types.d.ts +0 -243
- package/lib/form/types.js +0 -5
- package/lib/form/withFieldHOC.d.ts +0 -14
- package/lib/form/withFieldHOC.js +0 -71
- package/lib/form/withFormSecurity.d.ts +0 -15
- package/lib/form/withFormSecurity.js +0 -55
- package/lib/gridlayout/GridCol.d.ts +0 -6
- package/lib/gridlayout/GridCol.js +0 -34
- package/lib/gridlayout/GridRow.d.ts +0 -6
- package/lib/gridlayout/GridRow.js +0 -34
- package/lib/gridlayout/index.d.ts +0 -8
- package/lib/gridlayout/index.js +0 -16
- package/lib/gridlayout/types.d.ts +0 -20
- package/lib/gridlayout/types.js +0 -5
- package/lib/hint/helpers.d.ts +0 -3
- package/lib/hint/helpers.js +0 -21
- package/lib/hint/index.d.ts +0 -7
- package/lib/hint/index.js +0 -36
- package/lib/hint/types.d.ts +0 -14
- package/lib/hint/types.js +0 -5
- package/lib/icons/helper.d.ts +0 -632
- package/lib/icons/helper.js +0 -636
- package/lib/icons/index.d.ts +0 -15
- package/lib/icons/index.js +0 -71
- package/lib/icons/types.d.ts +0 -49
- package/lib/icons/types.js +0 -5
- package/lib/index.d.ts +0 -39
- package/lib/index.js +0 -69
- package/lib/inputs/base/InputTextBase.d.ts +0 -11
- package/lib/inputs/base/InputTextBase.js +0 -261
- package/lib/inputs/base/Label.d.ts +0 -14
- package/lib/inputs/base/Label.js +0 -35
- package/lib/inputs/base/helpers.d.ts +0 -17
- package/lib/inputs/base/helpers.js +0 -46
- package/lib/inputs/base/types.d.ts +0 -100
- package/lib/inputs/base/types.js +0 -5
- package/lib/inputs/color/index.d.ts +0 -7
- package/lib/inputs/color/index.js +0 -95
- package/lib/inputs/color/types.d.ts +0 -19
- package/lib/inputs/color/types.js +0 -5
- package/lib/inputs/date/Dialog.d.ts +0 -13
- package/lib/inputs/date/Dialog.js +0 -25
- package/lib/inputs/date/Dropdown.d.ts +0 -13
- package/lib/inputs/date/Dropdown.js +0 -32
- package/lib/inputs/date/helpers.d.ts +0 -17
- package/lib/inputs/date/helpers.js +0 -31
- package/lib/inputs/date/index.d.ts +0 -13
- package/lib/inputs/date/index.js +0 -251
- package/lib/inputs/date/types.d.ts +0 -62
- package/lib/inputs/date/types.js +0 -5
- package/lib/inputs/errorMessage/index.d.ts +0 -16
- package/lib/inputs/errorMessage/index.js +0 -26
- package/lib/inputs/file/DefaultFile.d.ts +0 -13
- package/lib/inputs/file/DefaultFile.js +0 -80
- package/lib/inputs/file/DragDropFile.d.ts +0 -13
- package/lib/inputs/file/DragDropFile.js +0 -272
- package/lib/inputs/file/File.d.ts +0 -13
- package/lib/inputs/file/File.js +0 -63
- package/lib/inputs/file/FileButtonSettings.d.ts +0 -13
- package/lib/inputs/file/FileButtonSettings.js +0 -34
- package/lib/inputs/file/helpers.d.ts +0 -13
- package/lib/inputs/file/helpers.js +0 -21
- package/lib/inputs/file/index.d.ts +0 -16
- package/lib/inputs/file/index.js +0 -24
- package/lib/inputs/file/types.d.ts +0 -57
- package/lib/inputs/file/types.js +0 -5
- package/lib/inputs/inputHOC.d.ts +0 -16
- package/lib/inputs/inputHOC.js +0 -44
- package/lib/inputs/mask/BaseMask.d.ts +0 -12
- package/lib/inputs/mask/BaseMask.js +0 -167
- package/lib/inputs/mask/Cnpj.d.ts +0 -15
- package/lib/inputs/mask/Cnpj.js +0 -60
- package/lib/inputs/mask/Cpf.d.ts +0 -15
- package/lib/inputs/mask/Cpf.js +0 -57
- package/lib/inputs/mask/Phone.d.ts +0 -12
- package/lib/inputs/mask/Phone.js +0 -19
- package/lib/inputs/mask/ZipCode.d.ts +0 -12
- package/lib/inputs/mask/ZipCode.js +0 -14
- package/lib/inputs/mask/helpers.d.ts +0 -62
- package/lib/inputs/mask/helpers.js +0 -138
- package/lib/inputs/mask/index.d.ts +0 -17
- package/lib/inputs/mask/index.js +0 -37
- package/lib/inputs/mask/types.d.ts +0 -79
- package/lib/inputs/mask/types.js +0 -5
- package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -13
- package/lib/inputs/multiSelect/ActionButtons.js +0 -51
- package/lib/inputs/multiSelect/Dropdown.d.ts +0 -13
- package/lib/inputs/multiSelect/Dropdown.js +0 -136
- package/lib/inputs/multiSelect/helper.d.ts +0 -13
- package/lib/inputs/multiSelect/helper.js +0 -20
- package/lib/inputs/multiSelect/index.d.ts +0 -13
- package/lib/inputs/multiSelect/index.js +0 -218
- package/lib/inputs/multiSelect/types.d.ts +0 -65
- package/lib/inputs/multiSelect/types.js +0 -5
- package/lib/inputs/number/BaseNumber.d.ts +0 -17
- package/lib/inputs/number/BaseNumber.js +0 -70
- package/lib/inputs/number/Currency.d.ts +0 -17
- package/lib/inputs/number/Currency.js +0 -22
- package/lib/inputs/number/Decimal.d.ts +0 -17
- package/lib/inputs/number/Decimal.js +0 -11
- package/lib/inputs/number/format_number.d.ts +0 -5
- package/lib/inputs/number/format_number.js +0 -27
- package/lib/inputs/number/index.d.ts +0 -19
- package/lib/inputs/number/index.js +0 -64
- package/lib/inputs/number/types.d.ts +0 -39
- package/lib/inputs/number/types.js +0 -5
- package/lib/inputs/period/Dialog.d.ts +0 -14
- package/lib/inputs/period/Dialog.js +0 -25
- package/lib/inputs/period/Dropdown.d.ts +0 -14
- package/lib/inputs/period/Dropdown.js +0 -28
- package/lib/inputs/period/PeriodList.d.ts +0 -14
- package/lib/inputs/period/PeriodList.js +0 -61
- package/lib/inputs/period/helper.d.ts +0 -22
- package/lib/inputs/period/helper.js +0 -66
- package/lib/inputs/period/index.d.ts +0 -14
- package/lib/inputs/period/index.js +0 -423
- package/lib/inputs/period/types.d.ts +0 -73
- package/lib/inputs/period/types.js +0 -5
- package/lib/inputs/search/index.d.ts +0 -16
- package/lib/inputs/search/index.js +0 -129
- package/lib/inputs/select/ActionButtons.d.ts +0 -16
- package/lib/inputs/select/ActionButtons.js +0 -38
- package/lib/inputs/select/Dropdown.d.ts +0 -16
- package/lib/inputs/select/Dropdown.js +0 -112
- package/lib/inputs/select/helper.d.ts +0 -25
- package/lib/inputs/select/helper.js +0 -108
- package/lib/inputs/select/index.d.ts +0 -13
- package/lib/inputs/select/index.js +0 -42
- package/lib/inputs/select/multiple/Selecteds.d.ts +0 -13
- package/lib/inputs/select/multiple/Selecteds.js +0 -25
- package/lib/inputs/select/multiple/index.d.ts +0 -13
- package/lib/inputs/select/multiple/index.js +0 -276
- package/lib/inputs/select/simple/index.d.ts +0 -13
- package/lib/inputs/select/simple/index.js +0 -302
- package/lib/inputs/select/types.d.ts +0 -119
- package/lib/inputs/select/types.js +0 -5
- package/lib/inputs/text/index.d.ts +0 -12
- package/lib/inputs/text/index.js +0 -13
- package/lib/inputs/text/types.d.ts +0 -25
- package/lib/inputs/text/types.js +0 -5
- package/lib/inputs/textarea/index.d.ts +0 -12
- package/lib/inputs/textarea/index.js +0 -25
- package/lib/inputs/textarea/types.d.ts +0 -16
- package/lib/inputs/textarea/types.js +0 -5
- package/lib/inputs/types.d.ts +0 -157
- package/lib/inputs/types.js +0 -5
- package/lib/internals/colorStyles.d.ts +0 -9
- package/lib/internals/colorStyles.js +0 -14
- package/lib/internals/constants.d.ts +0 -11
- package/lib/internals/constants.js +0 -15
- package/lib/internals/types.d.ts +0 -25
- package/lib/internals/types.js +0 -5
- package/lib/internals/withTooltip.d.ts +0 -12
- package/lib/internals/withTooltip.js +0 -172
- package/lib/labelMessages/index.d.ts +0 -9
- package/lib/labelMessages/index.js +0 -60
- package/lib/labelMessages/types.d.ts +0 -20
- package/lib/labelMessages/types.js +0 -5
- package/lib/labels/DangerLabel.d.ts +0 -11
- package/lib/labels/DangerLabel.js +0 -23
- package/lib/labels/DefaultLabel.d.ts +0 -14
- package/lib/labels/DefaultLabel.js +0 -55
- package/lib/labels/InfoLabel.d.ts +0 -11
- package/lib/labels/InfoLabel.js +0 -23
- package/lib/labels/PrimaryLabel.d.ts +0 -11
- package/lib/labels/PrimaryLabel.js +0 -23
- package/lib/labels/SuccessLabel.d.ts +0 -11
- package/lib/labels/SuccessLabel.js +0 -23
- package/lib/labels/WarningLabel.d.ts +0 -11
- package/lib/labels/WarningLabel.js +0 -23
- package/lib/labels/index.d.ts +0 -18
- package/lib/labels/index.js +0 -52
- package/lib/labels/label_container/index.d.ts +0 -12
- package/lib/labels/label_container/index.js +0 -22
- package/lib/labels/types.d.ts +0 -26
- package/lib/labels/types.js +0 -5
- package/lib/list/Header.d.ts +0 -10
- package/lib/list/Header.js +0 -23
- package/lib/list/Item.d.ts +0 -13
- package/lib/list/Item.js +0 -154
- package/lib/list/Separator.d.ts +0 -3
- package/lib/list/Separator.js +0 -12
- package/lib/list/helpers.d.ts +0 -15
- package/lib/list/helpers.js +0 -14
- package/lib/list/index.d.ts +0 -13
- package/lib/list/index.js +0 -182
- package/lib/list/types.d.ts +0 -72
- package/lib/list/types.js +0 -5
- package/lib/menus/float/MenuItem.d.ts +0 -9
- package/lib/menus/float/MenuItem.js +0 -69
- package/lib/menus/float/SubMenuContainer.js +0 -77
- package/lib/menus/float/helpers.d.ts +0 -9
- package/lib/menus/float/helpers.js +0 -10
- package/lib/menus/float/index.d.ts +0 -40
- package/lib/menus/float/index.js +0 -68
- package/lib/menus/float/types.d.ts +0 -30
- package/lib/menus/float/types.js +0 -5
- package/lib/menus/index.d.ts +0 -12
- package/lib/menus/index.js +0 -9
- package/lib/menus/sidenav/ExpandMenu.d.ts +0 -12
- package/lib/menus/sidenav/ExpandMenu.js +0 -27
- package/lib/menus/sidenav/MenuLink.d.ts +0 -15
- package/lib/menus/sidenav/MenuLink.js +0 -29
- package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -12
- package/lib/menus/sidenav/NavMenuGroup.js +0 -26
- package/lib/menus/sidenav/NavMenuItem.d.ts +0 -15
- package/lib/menus/sidenav/NavMenuItem.js +0 -150
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -12
- package/lib/menus/sidenav/NavSubMenuItem.js +0 -47
- package/lib/menus/sidenav/helpers.d.ts +0 -14
- package/lib/menus/sidenav/helpers.js +0 -18
- package/lib/menus/sidenav/index.d.ts +0 -16
- package/lib/menus/sidenav/index.js +0 -184
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -12
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +0 -26
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -12
- package/lib/menus/sidenav/popup_menu_search/index.js +0 -116
- package/lib/menus/sidenav/types.d.ts +0 -90
- package/lib/menus/sidenav/types.js +0 -5
- package/lib/noPermission/index.d.ts +0 -3
- package/lib/noPermission/index.js +0 -23
- package/lib/panel/Content.d.ts +0 -10
- package/lib/panel/Content.js +0 -79
- package/lib/panel/DangerPanel.d.ts +0 -10
- package/lib/panel/DangerPanel.js +0 -15
- package/lib/panel/Default.d.ts +0 -10
- package/lib/panel/Default.js +0 -67
- package/lib/panel/Header.d.ts +0 -10
- package/lib/panel/Header.js +0 -77
- package/lib/panel/InfoPanel.d.ts +0 -10
- package/lib/panel/InfoPanel.js +0 -15
- package/lib/panel/PrimaryPanel.d.ts +0 -10
- package/lib/panel/PrimaryPanel.js +0 -15
- package/lib/panel/SuccessPanel.d.ts +0 -10
- package/lib/panel/SuccessPanel.js +0 -15
- package/lib/panel/ToolBar.d.ts +0 -10
- package/lib/panel/ToolBar.js +0 -22
- package/lib/panel/WarningPanel.d.ts +0 -10
- package/lib/panel/WarningPanel.js +0 -15
- package/lib/panel/helpers.d.ts +0 -11
- package/lib/panel/helpers.js +0 -25
- package/lib/panel/index.d.ts +0 -18
- package/lib/panel/index.js +0 -59
- package/lib/panel/types.d.ts +0 -47
- package/lib/panel/types.js +0 -5
- package/lib/permissionValidations.d.ts +0 -14
- package/lib/permissionValidations.js +0 -59
- package/lib/popover/PopoverText.d.ts +0 -10
- package/lib/popover/PopoverText.js +0 -20
- package/lib/popover/PopoverTitle.d.ts +0 -10
- package/lib/popover/PopoverTitle.js +0 -17
- package/lib/popover/index.d.ts +0 -15
- package/lib/popover/index.js +0 -63
- package/lib/popover/types.d.ts +0 -24
- package/lib/popover/types.js +0 -5
- package/lib/progress/Bar.d.ts +0 -6
- package/lib/progress/Bar.js +0 -74
- package/lib/progress/index.d.ts +0 -7
- package/lib/progress/index.js +0 -38
- package/lib/progress/types.d.ts +0 -37
- package/lib/progress/types.js +0 -5
- package/lib/radio/index.d.ts +0 -13
- package/lib/radio/index.js +0 -113
- package/lib/radio/types.d.ts +0 -28
- package/lib/radio/types.js +0 -5
- package/lib/shortcuts/index.d.ts +0 -7
- package/lib/shortcuts/index.js +0 -28
- package/lib/shortcuts/types.d.ts +0 -12
- package/lib/shortcuts/types.js +0 -5
- package/lib/skeleton/SkeletonContainer.d.ts +0 -7
- package/lib/skeleton/SkeletonContainer.js +0 -23
- package/lib/skeleton/index.d.ts +0 -8
- package/lib/skeleton/index.js +0 -54
- package/lib/skeleton/types.d.ts +0 -21
- package/lib/skeleton/types.js +0 -5
- package/lib/spinner/SpinnerLoading.d.ts +0 -7
- package/lib/spinner/SpinnerLoading.js +0 -219
- package/lib/spinner/index.d.ts +0 -7
- package/lib/spinner/index.js +0 -60
- package/lib/spinner/types.d.ts +0 -20
- package/lib/spinner/types.js +0 -5
- package/lib/split/Split.d.ts +0 -6
- package/lib/split/Split.js +0 -292
- package/lib/split/SplitSide.d.ts +0 -6
- package/lib/split/SplitSide.js +0 -42
- package/lib/split/helpers.d.ts +0 -10
- package/lib/split/helpers.js +0 -10
- package/lib/split/index.d.ts +0 -8
- package/lib/split/index.js +0 -17
- package/lib/split/types.d.ts +0 -34
- package/lib/split/types.js +0 -5
- package/lib/table/Body.d.ts +0 -6
- package/lib/table/Body.js +0 -71
- package/lib/table/Header.d.ts +0 -6
- package/lib/table/Header.js +0 -90
- package/lib/table/HeaderColumn.d.ts +0 -6
- package/lib/table/HeaderColumn.js +0 -55
- package/lib/table/Row.d.ts +0 -6
- package/lib/table/Row.js +0 -78
- package/lib/table/RowColumn.d.ts +0 -6
- package/lib/table/RowColumn.js +0 -81
- package/lib/table/helpers.d.ts +0 -8
- package/lib/table/helpers.js +0 -15
- package/lib/table/index.d.ts +0 -11
- package/lib/table/index.js +0 -154
- package/lib/table/types.d.ts +0 -97
- package/lib/table/types.js +0 -5
- package/lib/tabs/DropdownTabs.d.ts +0 -11
- package/lib/tabs/DropdownTabs.js +0 -73
- package/lib/tabs/Menu.d.ts +0 -11
- package/lib/tabs/Menu.js +0 -46
- package/lib/tabs/MenuTabs.d.ts +0 -11
- package/lib/tabs/MenuTabs.js +0 -84
- package/lib/tabs/Panel.d.ts +0 -11
- package/lib/tabs/Panel.js +0 -84
- package/lib/tabs/context.d.ts +0 -12
- package/lib/tabs/context.js +0 -127
- package/lib/tabs/index.d.ts +0 -12
- package/lib/tabs/index.js +0 -70
- package/lib/tabs/tabHelpers.d.ts +0 -12
- package/lib/tabs/tabHelpers.js +0 -75
- package/lib/tabs/types.d.ts +0 -98
- package/lib/tabs/types.js +0 -5
- package/lib/tabs/useTabs.d.ts +0 -11
- package/lib/tabs/useTabs.js +0 -11
- package/lib/textContent/index.d.ts +0 -22
- package/lib/textContent/index.js +0 -42
- package/lib/toolbar/ButtonBar.d.ts +0 -12
- package/lib/toolbar/ButtonBar.js +0 -66
- package/lib/toolbar/LabelBar.d.ts +0 -12
- package/lib/toolbar/LabelBar.js +0 -58
- package/lib/toolbar/Separator.d.ts +0 -3
- package/lib/toolbar/Separator.js +0 -12
- package/lib/toolbar/ToolBarGroup.d.ts +0 -12
- package/lib/toolbar/ToolBarGroup.js +0 -19
- package/lib/toolbar/helpers.d.ts +0 -12
- package/lib/toolbar/helpers.js +0 -9
- package/lib/toolbar/index.d.ts +0 -16
- package/lib/toolbar/index.js +0 -65
- package/lib/toolbar/types.d.ts +0 -46
- package/lib/toolbar/types.js +0 -5
- package/lib/tooltip/index.d.ts +0 -6
- package/lib/tooltip/index.js +0 -63
- package/lib/tooltip/types.d.ts +0 -17
- package/lib/tooltip/types.js +0 -5
- package/lib/treetable/Body.d.ts +0 -3
- package/lib/treetable/Body.js +0 -34
- package/lib/treetable/Header.d.ts +0 -3
- package/lib/treetable/Header.js +0 -24
- package/lib/treetable/Row.d.ts +0 -7
- package/lib/treetable/Row.js +0 -209
- package/lib/treetable/helpers.d.ts +0 -19
- package/lib/treetable/helpers.js +0 -32
- package/lib/treetable/index.d.ts +0 -8
- package/lib/treetable/index.js +0 -28
- package/lib/treetable/types.d.js +0 -5
- package/lib/treeview/Header.d.ts +0 -7
- package/lib/treeview/Header.js +0 -21
- package/lib/treeview/Node.d.ts +0 -7
- package/lib/treeview/Node.js +0 -245
- package/lib/treeview/constants.d.ts +0 -7
- package/lib/treeview/constants.js +0 -9
- package/lib/treeview/index.d.ts +0 -9
- package/lib/treeview/index.js +0 -320
- package/lib/treeview/types.d.ts +0 -108
- package/lib/treeview/types.js +0 -5
- package/lib/types.d-73cece43.d.ts +0 -46
- package/lib/uitour/helpers.d.ts +0 -8
- package/lib/uitour/helpers.js +0 -12
- package/lib/uitour/index.d.ts +0 -7
- package/lib/uitour/index.js +0 -255
- package/lib/uitour/types.d.ts +0 -38
- package/lib/uitour/types.js +0 -5
package/lib/buttons/index.js
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ActivateButton", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _ActivateButton.default;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "AddButton", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _AddButton.default;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "ButtonContainer", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _button_container.default;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "CancelButton", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _CancelButton.default;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "DangerButton", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _DangerButton.default;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "DestroyButton", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _DestroyButton.default;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "EditButton", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _EditButton.default;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "InactivateButton", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _InactivateButton.default;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "InfoButton", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _InfoButton.default;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "PrimaryButton", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _PrimaryButton.default;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "RestoreButton", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _RestoreButton.default;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "SaveButton", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _SaveButton.default;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "SuccessButton", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _SuccessButton.default;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "WarningButton", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _WarningButton.default;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
exports.default = void 0;
|
|
91
|
-
var _button_container = _interopRequireDefault(require("./button_container"));
|
|
92
|
-
var _Button = _interopRequireDefault(require("./Button"));
|
|
93
|
-
var _PrimaryButton = _interopRequireDefault(require("./PrimaryButton"));
|
|
94
|
-
var _DangerButton = _interopRequireDefault(require("./DangerButton"));
|
|
95
|
-
var _WarningButton = _interopRequireDefault(require("./WarningButton"));
|
|
96
|
-
var _SuccessButton = _interopRequireDefault(require("./SuccessButton"));
|
|
97
|
-
var _InfoButton = _interopRequireDefault(require("./InfoButton"));
|
|
98
|
-
var _SaveButton = _interopRequireDefault(require("./SaveButton"));
|
|
99
|
-
var _CancelButton = _interopRequireDefault(require("./CancelButton"));
|
|
100
|
-
var _EditButton = _interopRequireDefault(require("./EditButton"));
|
|
101
|
-
var _DestroyButton = _interopRequireDefault(require("./DestroyButton"));
|
|
102
|
-
var _AddButton = _interopRequireDefault(require("./AddButton"));
|
|
103
|
-
var _ActivateButton = _interopRequireDefault(require("./ActivateButton"));
|
|
104
|
-
var _InactivateButton = _interopRequireDefault(require("./InactivateButton"));
|
|
105
|
-
var _RestoreButton = _interopRequireDefault(require("./RestoreButton"));
|
|
106
|
-
require("../assets/styles/button.scss");
|
|
107
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
108
|
-
var _default = exports.default = _Button.default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IButtonProps } from '../types.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../../@types/PermissionAttr.js';
|
|
4
|
-
import '../../@types/Position.js';
|
|
5
|
-
import '../../@types/Size.js';
|
|
6
|
-
import '../../@types/Icon.js';
|
|
7
|
-
import '../../icons/helper.js';
|
|
8
|
-
|
|
9
|
-
declare const SplitButton: (props: IButtonProps) => JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { SplitButton as default };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _DefaultButton = _interopRequireDefault(require("../DefaultButton"));
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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 SplitButton = props => {
|
|
12
|
-
const {
|
|
13
|
-
children,
|
|
14
|
-
customClass,
|
|
15
|
-
size = 'default',
|
|
16
|
-
boxShadow = true,
|
|
17
|
-
visible = true,
|
|
18
|
-
permissionAttr,
|
|
19
|
-
skeletonize,
|
|
20
|
-
dropdownAlign = 'left'
|
|
21
|
-
} = props;
|
|
22
|
-
const splitProps = {
|
|
23
|
-
customClass,
|
|
24
|
-
size,
|
|
25
|
-
boxShadow,
|
|
26
|
-
visible,
|
|
27
|
-
permissionAttr,
|
|
28
|
-
skeletonize,
|
|
29
|
-
dropdownAlign
|
|
30
|
-
};
|
|
31
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_DefaultButton.default, _extends({}, props, {
|
|
32
|
-
dropdownAlign: dropdownAlign,
|
|
33
|
-
style: {
|
|
34
|
-
borderRadius: '5px 0px 0px 5px',
|
|
35
|
-
borderRight: 0,
|
|
36
|
-
marginRight: 0
|
|
37
|
-
}
|
|
38
|
-
})), /*#__PURE__*/_react.default.createElement(_DefaultButton.default, _extends({}, splitProps, {
|
|
39
|
-
iconName: "down",
|
|
40
|
-
customClass: `${customClass} -transparenttext`,
|
|
41
|
-
iconStyle: {
|
|
42
|
-
marginRight: -7,
|
|
43
|
-
marginLeft: 0
|
|
44
|
-
},
|
|
45
|
-
style: {
|
|
46
|
-
borderRadius: '0px 5px 5px 0px',
|
|
47
|
-
borderLeft: '1px solid #ccc',
|
|
48
|
-
width: 20,
|
|
49
|
-
textShadow: 'none',
|
|
50
|
-
paddingRight: 7,
|
|
51
|
-
paddingLeft: 0
|
|
52
|
-
},
|
|
53
|
-
dropdown: true,
|
|
54
|
-
label: "."
|
|
55
|
-
}), children));
|
|
56
|
-
};
|
|
57
|
-
var _default = exports.default = SplitButton;
|
package/lib/buttons/types.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ReactNode, CSSProperties, ReactElement, MutableRefObject, MouseEvent } from 'react';
|
|
2
|
-
import { PermissionAttr } from '../@types/PermissionAttr.js';
|
|
3
|
-
import { Position } from '../@types/Position.js';
|
|
4
|
-
import { Size } from '../@types/Size.js';
|
|
5
|
-
import { IconNames } from '../@types/Icon.js';
|
|
6
|
-
import '../icons/helper.js';
|
|
7
|
-
|
|
8
|
-
interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
9
|
-
label?: string;
|
|
10
|
-
activeIconColor?: string;
|
|
11
|
-
toggleable?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
content?: ReactNode;
|
|
14
|
-
size?: Size;
|
|
15
|
-
iconName?: IconNames;
|
|
16
|
-
customClass?: string;
|
|
17
|
-
iconAlign?: Position;
|
|
18
|
-
iconStyle?: CSSProperties;
|
|
19
|
-
boxShadow?: boolean;
|
|
20
|
-
icon?: ReactElement;
|
|
21
|
-
buttonRef?: MutableRefObject<HTMLButtonElement | null> | ((ref: HTMLButtonElement | null) => void);
|
|
22
|
-
targetRef?: (ref: HTMLButtonElement) => void;
|
|
23
|
-
dropdown?: boolean;
|
|
24
|
-
dropdownOnHover?: boolean;
|
|
25
|
-
showDropdown?: () => void;
|
|
26
|
-
getDropdownPopup?: (ref: HTMLButtonElement) => ReactNode;
|
|
27
|
-
isDropdownOpened?: boolean;
|
|
28
|
-
isLoading?: boolean;
|
|
29
|
-
round?: boolean;
|
|
30
|
-
showIconDropdown?: boolean;
|
|
31
|
-
visible?: boolean;
|
|
32
|
-
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
33
|
-
transparent?: boolean;
|
|
34
|
-
skeletonize?: boolean;
|
|
35
|
-
tooltipPosition?: Exclude<Position, 'center'>;
|
|
36
|
-
tooltipWidth?: string | number;
|
|
37
|
-
space?: number;
|
|
38
|
-
tooltip?: string;
|
|
39
|
-
split?: boolean;
|
|
40
|
-
isFloatMenu?: boolean;
|
|
41
|
-
customClassForDropdown?: string;
|
|
42
|
-
dropdownAlign?: 'left' | 'right';
|
|
43
|
-
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
44
|
-
closeDropdownOnClickOutside?: boolean;
|
|
45
|
-
errorMessage?: string;
|
|
46
|
-
onDeniedText?: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { IButtonProps };
|
package/lib/buttons/types.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _base = _interopRequireDefault(require("./base"));
|
|
9
|
-
const _excluded = ["customClass"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
const DangerCalendar = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
customClass
|
|
17
|
-
} = _ref,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
|
|
20
|
-
customClass: "-danger"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
var _default = exports.default = DangerCalendar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _base = _interopRequireDefault(require("./base"));
|
|
9
|
-
const _excluded = ["customClass"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
const InfoCalendar = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
customClass
|
|
17
|
-
} = _ref,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
|
|
20
|
-
customClass: "-info"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
var _default = exports.default = InfoCalendar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _base = _interopRequireDefault(require("./base"));
|
|
9
|
-
const _excluded = ["customClass"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
const PrimaryCalendar = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
customClass
|
|
17
|
-
} = _ref,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
|
|
20
|
-
customClass: "-primary"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
var _default = exports.default = PrimaryCalendar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _base = _interopRequireDefault(require("./base"));
|
|
9
|
-
const _excluded = ["customClass"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
const SuccessCalendar = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
customClass
|
|
17
|
-
} = _ref,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
|
|
20
|
-
customClass: "-success"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
var _default = exports.default = SuccessCalendar;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _base = _interopRequireDefault(require("./base"));
|
|
9
|
-
const _excluded = ["customClass"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
const WarningCalendar = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
customClass
|
|
17
|
-
} = _ref,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
|
|
20
|
-
customClass: "-warning"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
var _default = exports.default = WarningCalendar;
|
package/lib/calendar/base/Day.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
var _buttons = _interopRequireDefault(require("../../buttons"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
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); }
|
|
12
|
-
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; }
|
|
13
|
-
const Day = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
currentDate,
|
|
16
|
-
day
|
|
17
|
-
} = _ref;
|
|
18
|
-
const {
|
|
19
|
-
handleDateChange
|
|
20
|
-
} = (0, _react.useContext)(_helpers.CalendarContext);
|
|
21
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
22
|
-
className: (0, _helpers.getDayContainerCssClass)(currentDate, day)
|
|
23
|
-
}, /*#__PURE__*/_react.default.createElement(_buttons.default, {
|
|
24
|
-
boxShadow: false,
|
|
25
|
-
onClick: () => {
|
|
26
|
-
if (handleDateChange) handleDateChange(day);
|
|
27
|
-
},
|
|
28
|
-
customClass: ` ${(0, _helpers.getDayCssClass)(currentDate, day)} numberdaycalendar`,
|
|
29
|
-
label: day.format('D')
|
|
30
|
-
}));
|
|
31
|
-
};
|
|
32
|
-
var _default = exports.default = Day;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Week = _interopRequireDefault(require("./Week"));
|
|
9
|
-
var _helpers = require("./helpers");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const Month = _ref => {
|
|
12
|
-
let {
|
|
13
|
-
currentDate
|
|
14
|
-
} = _ref;
|
|
15
|
-
const renderWeeks = () => {
|
|
16
|
-
const date = currentDate.clone();
|
|
17
|
-
let weeks = [];
|
|
18
|
-
let weekIndex = 0;
|
|
19
|
-
let startOfWeek = (0, _helpers.getStartOfWeek)((0, _helpers.getStartOfMonth)(date));
|
|
20
|
-
while (weekIndex < 6) {
|
|
21
|
-
const week = /*#__PURE__*/_react.default.createElement(_Week.default, {
|
|
22
|
-
currentDate: currentDate,
|
|
23
|
-
weekStartDate: startOfWeek,
|
|
24
|
-
key: `week-${startOfWeek.format('YYYYMMDD')}`
|
|
25
|
-
});
|
|
26
|
-
weeks = [...weeks, week];
|
|
27
|
-
weekIndex += 1;
|
|
28
|
-
startOfWeek = startOfWeek.clone().add(1, 'weeks');
|
|
29
|
-
startOfWeek = (0, _helpers.getStartOfWeek)(startOfWeek);
|
|
30
|
-
}
|
|
31
|
-
return weeks;
|
|
32
|
-
};
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
34
|
-
className: "calendarmonth"
|
|
35
|
-
}, renderWeeks());
|
|
36
|
-
};
|
|
37
|
-
var _default = exports.default = Month;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Day = _interopRequireDefault(require("./Day"));
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
const Week = _ref => {
|
|
11
|
-
let {
|
|
12
|
-
weekStartDate,
|
|
13
|
-
currentDate
|
|
14
|
-
} = _ref;
|
|
15
|
-
const renderDays = () => {
|
|
16
|
-
let days = [];
|
|
17
|
-
let dayIndex = 0;
|
|
18
|
-
let dayDate = weekStartDate;
|
|
19
|
-
while (dayIndex < 7) {
|
|
20
|
-
const day = /*#__PURE__*/_react.default.createElement(_Day.default, {
|
|
21
|
-
currentDate: currentDate,
|
|
22
|
-
day: dayDate,
|
|
23
|
-
key: dayDate.format('YYYYMMDD')
|
|
24
|
-
});
|
|
25
|
-
days = [...days, day];
|
|
26
|
-
dayIndex += 1;
|
|
27
|
-
dayDate = dayDate.clone().add(1, 'day');
|
|
28
|
-
}
|
|
29
|
-
return days;
|
|
30
|
-
};
|
|
31
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
32
|
-
className: "monthweek"
|
|
33
|
-
}, renderDays());
|
|
34
|
-
};
|
|
35
|
-
var _default = exports.default = Week;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import moment, { Moment } from 'moment';
|
|
3
|
-
import { ColorStyles } from '../../@types/ColorStyles.js';
|
|
4
|
-
import { ICalendarProps } from '../types.js';
|
|
5
|
-
|
|
6
|
-
declare function dayNames(): string[];
|
|
7
|
-
declare function getStartOfWeek(date: Moment): moment.Moment;
|
|
8
|
-
declare function getStartOfMonth(date: Moment): moment.Moment;
|
|
9
|
-
declare function dateIsEquals(date1: Moment, date2: Moment): boolean;
|
|
10
|
-
declare function dayOutOfCurrentMonth(currentDate: Moment, comparedDay: Moment): boolean;
|
|
11
|
-
declare function getPtBrLocale(): {
|
|
12
|
-
months: string[];
|
|
13
|
-
monthsShort: string[];
|
|
14
|
-
weekdays: string[];
|
|
15
|
-
weekdaysShort: string[];
|
|
16
|
-
weekdaysMin: string[];
|
|
17
|
-
longDateFormat: {
|
|
18
|
-
LT: string;
|
|
19
|
-
L: string;
|
|
20
|
-
LL: string;
|
|
21
|
-
LLL: string;
|
|
22
|
-
LLLL: string;
|
|
23
|
-
};
|
|
24
|
-
calendar: {
|
|
25
|
-
sameDay: string;
|
|
26
|
-
nextDay: string;
|
|
27
|
-
nextWeek: string;
|
|
28
|
-
lastDay: string;
|
|
29
|
-
lastWeek(): string;
|
|
30
|
-
sameElse: string;
|
|
31
|
-
};
|
|
32
|
-
relativeTime: {
|
|
33
|
-
future: string;
|
|
34
|
-
past: string;
|
|
35
|
-
s: string;
|
|
36
|
-
m: string;
|
|
37
|
-
mm: string;
|
|
38
|
-
h: string;
|
|
39
|
-
hh: string;
|
|
40
|
-
d: string;
|
|
41
|
-
dd: string;
|
|
42
|
-
M: string;
|
|
43
|
-
MM: string;
|
|
44
|
-
y: string;
|
|
45
|
-
yy: string;
|
|
46
|
-
};
|
|
47
|
-
ordinal: string;
|
|
48
|
-
};
|
|
49
|
-
/** Functions used insed index.jsx */
|
|
50
|
-
declare function getCalendarCssClass({ unpadding, drawGridLines, customClass, colorStyle, }: {
|
|
51
|
-
unpadding: boolean;
|
|
52
|
-
drawGridLines: boolean;
|
|
53
|
-
customClass: string | undefined;
|
|
54
|
-
colorStyle: ColorStyles | undefined;
|
|
55
|
-
}): string;
|
|
56
|
-
declare function validDate(date: Moment): moment.Moment;
|
|
57
|
-
/** Functions used inside Day Component */
|
|
58
|
-
declare function getDayContainerCssClass(currentDate: Moment, day: Moment): string;
|
|
59
|
-
declare function getDayCssClass(currentDate: Moment, day: Moment): string;
|
|
60
|
-
declare const CalendarContext: React__default.Context<ICalendarProps>;
|
|
61
|
-
|
|
62
|
-
export { CalendarContext, dateIsEquals, dayNames, dayOutOfCurrentMonth, getCalendarCssClass, getDayContainerCssClass, getDayCssClass, getPtBrLocale, getStartOfMonth, getStartOfWeek, validDate };
|