linear-react-components-ui 1.1.26-beta.7 → 1.1.26-beta.9
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 +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { OnDenied } from '../@types/PermissionAttr';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
export interface WithTooltipProps {
|
|
5
|
+
tooltipWidth?: string | number;
|
|
6
|
+
space?: number;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
tooltipPosition?: Exclude<Position, 'center'>;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
handlerSetOnDeniedText?: (onDeniedValue: OnDenied) => void;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ITooltipContext {
|
|
14
|
+
handlerSetOnDeniedText: (text: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface GetDisplayNameParams {
|
|
17
|
+
displayName?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface HasToolTipParams {
|
|
21
|
+
tooltip?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WithTooltipProps, ITooltipContext } from './types';
|
|
3
|
+
export declare const TooltipContext: React.Context<ITooltipContext>;
|
|
4
|
+
declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React.ComponentType<ComponentProps>) => {
|
|
5
|
+
(props: ComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export default withTooltip;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { j as b } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as U } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import Z, { useState as T, useRef as z, useEffect as N } from "react";
|
|
4
|
+
import tt from "../tooltip/index.js";
|
|
5
|
+
const et = 40, H = ({
|
|
6
|
+
tooltip: u
|
|
7
|
+
}) => u, F = Z.createContext({}), ot = ({
|
|
8
|
+
displayName: u,
|
|
9
|
+
name: v
|
|
10
|
+
}) => u || v || "Component", rt = (u) => {
|
|
11
|
+
const v = (i) => {
|
|
12
|
+
const t = U.c(39), {
|
|
13
|
+
tooltip: d,
|
|
14
|
+
tooltipWidth: A,
|
|
15
|
+
space: V,
|
|
16
|
+
tooltipPosition: B,
|
|
17
|
+
errorMessage: c
|
|
18
|
+
} = i, C = A === void 0 ? "auto" : A, y = V === void 0 ? 20 : V, _ = B === void 0 ? "bottom" : B, [a, x] = T(_), [n, J] = T(""), [I, K] = T(""), [M, p] = T(!1);
|
|
19
|
+
let S;
|
|
20
|
+
t[0] !== C ? (S = {
|
|
21
|
+
width: C,
|
|
22
|
+
height: et
|
|
23
|
+
}, t[0] = C, t[1] = S) : S = t[1];
|
|
24
|
+
const [f, Q] = T(S), l = z(null), Y = z(null);
|
|
25
|
+
let E;
|
|
26
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (E = (h) => {
|
|
27
|
+
l.current && l.current.contains(h.target) ? p(!0) : p(!1);
|
|
28
|
+
}, t[2] = E) : E = t[2];
|
|
29
|
+
const G = E;
|
|
30
|
+
let $;
|
|
31
|
+
t[3] === Symbol.for("react.memo_cache_sentinel") ? ($ = () => {
|
|
32
|
+
p(!1);
|
|
33
|
+
}, t[3] = $) : $ = t[3];
|
|
34
|
+
const X = $;
|
|
35
|
+
let D;
|
|
36
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (D = () => {
|
|
37
|
+
p(!1);
|
|
38
|
+
}, t[4] = D) : D = t[4];
|
|
39
|
+
const q = D;
|
|
40
|
+
let L;
|
|
41
|
+
t[5] !== c || t[6] !== n || t[7] !== i ? (L = () => ((H(i) || n) && (c ? p(!0) : (p(!1), document.addEventListener("mouseover", G), document.addEventListener("scroll", q, !0), l && l.current && l.current.addEventListener("mouseout", X))), () => {
|
|
42
|
+
(H(i) || n) && (document.removeEventListener("mouseover", G), document.removeEventListener("scroll", q, !0), l && l.current && l.current.removeEventListener("mouseout", X));
|
|
43
|
+
}), t[5] = c, t[6] = n, t[7] = i, t[8] = L) : L = t[8];
|
|
44
|
+
let j;
|
|
45
|
+
t[9] !== c || t[10] !== n || t[11] !== d ? (j = [c, d, n], t[9] = c, t[10] = n, t[11] = d, t[12] = j) : j = t[12], N(L, j);
|
|
46
|
+
let P;
|
|
47
|
+
t[13] !== y || t[14] !== a || t[15] !== f ? (P = () => {
|
|
48
|
+
if (l.current && Y.current) {
|
|
49
|
+
const {
|
|
50
|
+
width: h,
|
|
51
|
+
height: s
|
|
52
|
+
} = f, o = l.current.getBoundingClientRect(), w = (o.top + o.bottom) / 2, m = Y.current.clientWidth;
|
|
53
|
+
let e = `width: ${typeof h == "string" ? h : `${h}px`}`, r = o.left + o.width / 2 - m / 2;
|
|
54
|
+
r = Math.min(r, document.body.clientWidth - m - y), e = e + `; left: ${Math.max(y, r)}px`;
|
|
55
|
+
t: switch (a) {
|
|
56
|
+
case "top": {
|
|
57
|
+
o.top < s ? x("bottom") : e = e + `; top: ${o.top + window.scrollY - s - 5}px`;
|
|
58
|
+
break t;
|
|
59
|
+
}
|
|
60
|
+
case "bottom": {
|
|
61
|
+
window.innerHeight - o.bottom < s ? x("top") : e = e + `; top: ${o.top + window.scrollY + o.height + 5}px`;
|
|
62
|
+
break t;
|
|
63
|
+
}
|
|
64
|
+
case "left": {
|
|
65
|
+
o.left < m ? window.innerWidth - o.right < m ? x("bottom") : x("right") : (e = e + `; top: ${w + window.scrollY - s / 2}px`, e = e + `; left: ${o.left - m - 6}px`);
|
|
66
|
+
break t;
|
|
67
|
+
}
|
|
68
|
+
case "right": {
|
|
69
|
+
window.innerWidth - o.right < m ? x("left") : (e = e + `; top: ${w + window.scrollY - s / 2}px`, e = e + `; left: ${o.left + o.width + 5}px`);
|
|
70
|
+
break t;
|
|
71
|
+
}
|
|
72
|
+
default:
|
|
73
|
+
e = e + "";
|
|
74
|
+
}
|
|
75
|
+
K(e);
|
|
76
|
+
}
|
|
77
|
+
}, t[13] = y, t[14] = a, t[15] = f, t[16] = P) : P = t[16];
|
|
78
|
+
let R;
|
|
79
|
+
t[17] !== a || t[18] !== f ? (R = [f, a], t[17] = a, t[18] = f, t[19] = R) : R = t[19], N(P, R);
|
|
80
|
+
let O;
|
|
81
|
+
t[20] !== _ ? (O = () => {
|
|
82
|
+
x(_);
|
|
83
|
+
}, t[20] = _, t[21] = O) : O = t[21];
|
|
84
|
+
let W;
|
|
85
|
+
t[22] === Symbol.for("react.memo_cache_sentinel") ? (W = [window.scrollY, window.scrollX, window.innerWidth], t[22] = W) : W = t[22], N(O, W);
|
|
86
|
+
let k, g;
|
|
87
|
+
if (t[23] !== c || t[24] !== n || t[25] !== i || t[26] !== M || t[27] !== a || t[28] !== d || t[29] !== f || t[30] !== I) {
|
|
88
|
+
g = Symbol.for("react.early_return_sentinel");
|
|
89
|
+
t: {
|
|
90
|
+
const h = () => d || n ? /* @__PURE__ */ b.jsx(tt, { text: n || d, textError: c, tooltipRef: Y, style: I, className: a, tooltipDimensions: f, handlerSetDimensions: Q }) : null;
|
|
91
|
+
let s;
|
|
92
|
+
t[33] === Symbol.for("react.memo_cache_sentinel") ? (s = (r) => {
|
|
93
|
+
l.current || (l.current = r);
|
|
94
|
+
}, t[33] = s) : s = t[33];
|
|
95
|
+
const o = s;
|
|
96
|
+
let w;
|
|
97
|
+
t[34] === Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
98
|
+
handlerSetOnDeniedText: J
|
|
99
|
+
}, t[34] = w) : w = t[34];
|
|
100
|
+
const m = w;
|
|
101
|
+
if (!H(i) && !n) {
|
|
102
|
+
let r;
|
|
103
|
+
t[35] !== i ? (r = /* @__PURE__ */ b.jsx(F.Provider, { value: m, children: /* @__PURE__ */ b.jsx(u, { ...i }) }), t[35] = i, t[36] = r) : r = t[36], g = r;
|
|
104
|
+
break t;
|
|
105
|
+
}
|
|
106
|
+
let e;
|
|
107
|
+
t[37] !== i ? (e = /* @__PURE__ */ b.jsx(u, { ...i, targetRef: o }), t[37] = i, t[38] = e) : e = t[38], k = /* @__PURE__ */ b.jsxs(F.Provider, { value: m, children: [
|
|
108
|
+
e,
|
|
109
|
+
M && h()
|
|
110
|
+
] });
|
|
111
|
+
}
|
|
112
|
+
t[23] = c, t[24] = n, t[25] = i, t[26] = M, t[27] = a, t[28] = d, t[29] = f, t[30] = I, t[31] = k, t[32] = g;
|
|
113
|
+
} else
|
|
114
|
+
k = t[31], g = t[32];
|
|
115
|
+
return g !== Symbol.for("react.early_return_sentinel") ? g : k;
|
|
116
|
+
};
|
|
117
|
+
return v.displayName = `withTooltip(${ot(u)})`, v;
|
|
118
|
+
};
|
|
119
|
+
export {
|
|
120
|
+
F as TooltipContext,
|
|
121
|
+
rt as default
|
|
122
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ILabelMessagesProps } from './types';
|
|
2
|
+
declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export default LabelMessages;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as M } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useState as S, Fragment as A } from "react";
|
|
4
|
+
import D from "../icons/index.js";
|
|
5
|
+
import '../assets/index14.css';const O = (R) => {
|
|
6
|
+
const e = M.c(26), {
|
|
7
|
+
style: c,
|
|
8
|
+
icon: b,
|
|
9
|
+
flat: N,
|
|
10
|
+
iconName: s,
|
|
11
|
+
handlerClosed: r,
|
|
12
|
+
square: y,
|
|
13
|
+
visible: q,
|
|
14
|
+
children: w,
|
|
15
|
+
customClass: B,
|
|
16
|
+
type: E,
|
|
17
|
+
showCloseButton: I
|
|
18
|
+
} = R;
|
|
19
|
+
let f;
|
|
20
|
+
e[0] !== c ? (f = c === void 0 ? {} : c, e[0] = c, e[1] = f) : f = e[1];
|
|
21
|
+
const p = f, t = b === void 0 ? null : b, x = N === void 0 ? !1 : N, g = y === void 0 ? !0 : y, k = q === void 0 ? !0 : q, h = w === void 0 ? null : w, m = B === void 0 ? "" : B, l = E === void 0 ? "default" : E, C = I === void 0 ? !1 : I, [z, F] = S(!1);
|
|
22
|
+
let u;
|
|
23
|
+
e[2] !== m || e[3] !== x || e[4] !== g || e[5] !== l ? (u = () => `labelmessages-component -${l} ${m}
|
|
24
|
+
${g && "-square"} ${x && "-flat"}`, e[2] = m, e[3] = x, e[4] = g, e[5] = l, e[6] = u) : u = e[6];
|
|
25
|
+
const L = u;
|
|
26
|
+
let d;
|
|
27
|
+
e[7] !== t || e[8] !== s || e[9] !== l ? (d = () => t || (s ? /* @__PURE__ */ a.jsx(D, { name: s, size: 16, color: "#ffffff", customClass: `-${l}svg` }) : null), e[7] = t, e[8] = s, e[9] = l, e[10] = d) : d = e[10];
|
|
28
|
+
const j = d;
|
|
29
|
+
if (z || !k)
|
|
30
|
+
return null;
|
|
31
|
+
const $ = `${L()} ${m}`;
|
|
32
|
+
let o;
|
|
33
|
+
e[11] !== h ? (o = /* @__PURE__ */ a.jsx("div", { className: "labelmessagesitem text", children: h }), e[11] = h, e[12] = o) : o = e[12];
|
|
34
|
+
let i;
|
|
35
|
+
e[13] !== j || e[14] !== t || e[15] !== s ? (i = (s || t) && /* @__PURE__ */ a.jsxs("div", { className: "labelmessagesitem -icon", children: [
|
|
36
|
+
" ",
|
|
37
|
+
j(),
|
|
38
|
+
" "
|
|
39
|
+
] }), e[13] = j, e[14] = t, e[15] = s, e[16] = i) : i = e[16];
|
|
40
|
+
let n;
|
|
41
|
+
e[17] !== r || e[18] !== C ? (n = C && /* @__PURE__ */ a.jsx("span", { role: "presentation", className: "labelmessagesitem -close", onClick: () => {
|
|
42
|
+
r && r(), F(!0);
|
|
43
|
+
}, children: "x" }), e[17] = r, e[18] = C, e[19] = n) : n = e[19];
|
|
44
|
+
let v;
|
|
45
|
+
return e[20] !== p || e[21] !== $ || e[22] !== o || e[23] !== i || e[24] !== n ? (v = /* @__PURE__ */ a.jsx(A, { children: /* @__PURE__ */ a.jsxs("div", { className: $, style: p, children: [
|
|
46
|
+
o,
|
|
47
|
+
i,
|
|
48
|
+
n
|
|
49
|
+
] }) }), e[20] = p, e[21] = $, e[22] = o, e[23] = i, e[24] = n, e[25] = v) : v = e[25], v;
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
O as default
|
|
53
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { LabelStyles } from '../@types/LabelStyles';
|
|
3
|
+
import { IconNames } from '../@types/Icon';
|
|
4
|
+
export interface ILabelMessagesProps {
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
type?: LabelStyles;
|
|
7
|
+
iconName?: IconNames;
|
|
8
|
+
icon?: ReactNode | null;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
customClass?: string;
|
|
11
|
+
handlerClosed?: () => void;
|
|
12
|
+
square?: boolean;
|
|
13
|
+
flat?: boolean;
|
|
14
|
+
showCloseButton?: boolean;
|
|
15
|
+
visible?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import l from "./DefaultLabel.js";
|
|
4
|
+
const f = (r) => {
|
|
5
|
+
const e = m.c(4);
|
|
6
|
+
let s;
|
|
7
|
+
if (e[0] !== r) {
|
|
8
|
+
const {
|
|
9
|
+
className: c,
|
|
10
|
+
...o
|
|
11
|
+
} = r;
|
|
12
|
+
s = o, e[0] = r, e[1] = s;
|
|
13
|
+
} else
|
|
14
|
+
s = e[1];
|
|
15
|
+
let t;
|
|
16
|
+
return e[2] !== s ? (t = /* @__PURE__ */ a.jsx(l, { className: "-danger", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { j as O } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useState as P } from "react";
|
|
4
|
+
import S from "../icons/index.js";
|
|
5
|
+
import T from "../internals/withTooltip.js";
|
|
6
|
+
import { actionsOnPermissionDenied as _, OPTIONS_ON_DENIED as h } from "../permissionValidations.js";
|
|
7
|
+
const w = (A) => {
|
|
8
|
+
const e = L.c(24), {
|
|
9
|
+
style: u,
|
|
10
|
+
targetRef: s,
|
|
11
|
+
iconName: o,
|
|
12
|
+
icon: n,
|
|
13
|
+
children: p,
|
|
14
|
+
visible: E,
|
|
15
|
+
customClass: b,
|
|
16
|
+
className: $,
|
|
17
|
+
disabled: v,
|
|
18
|
+
size: l,
|
|
19
|
+
iconAlign: I,
|
|
20
|
+
bordered: x,
|
|
21
|
+
permissionAttr: N,
|
|
22
|
+
skeletonize: g
|
|
23
|
+
} = A, R = E === void 0 ? !0 : E, r = I === void 0 ? "left" : I;
|
|
24
|
+
let c, m;
|
|
25
|
+
if (e[0] !== N) {
|
|
26
|
+
const z = [h.disabled, h.unvisible];
|
|
27
|
+
c = P, m = _(z, N), e[0] = N, e[1] = c, e[2] = m;
|
|
28
|
+
} else
|
|
29
|
+
c = e[1], m = e[2];
|
|
30
|
+
const [k] = c(m);
|
|
31
|
+
let a;
|
|
32
|
+
e[3] !== x || e[4] !== $ || e[5] !== b || e[6] !== v || e[7] !== r || e[8] !== l || e[9] !== g ? (a = () => `label-component ${$} ${b} ${x ? "-bordered" : ""} ${v ? "-disabled" : ""}
|
|
33
|
+
${g ? "-skeletonized" : ""}
|
|
34
|
+
${l ? `-${l}` : ""}
|
|
35
|
+
${r ? `icon-${r}` : ""}`, e[3] = x, e[4] = $, e[5] = b, e[6] = v, e[7] = r, e[8] = l, e[9] = g, e[10] = a) : a = e[10];
|
|
36
|
+
const C = a;
|
|
37
|
+
let f;
|
|
38
|
+
e[11] !== n || e[12] !== o ? (f = () => n || (o ? /* @__PURE__ */ O.jsx(S, { name: o, size: 16 }) : null), e[11] = n, e[12] = o, e[13] = f) : f = e[13];
|
|
39
|
+
const D = f;
|
|
40
|
+
if (!R || k.unvisible)
|
|
41
|
+
return null;
|
|
42
|
+
const j = C();
|
|
43
|
+
let t;
|
|
44
|
+
e[14] !== s ? (t = (z) => s && s(z), e[14] = s, e[15] = t) : t = e[15];
|
|
45
|
+
let i;
|
|
46
|
+
e[16] !== D ? (i = D(), e[16] = D, e[17] = i) : i = e[17];
|
|
47
|
+
let d;
|
|
48
|
+
return e[18] !== p || e[19] !== u || e[20] !== j || e[21] !== t || e[22] !== i ? (d = /* @__PURE__ */ O.jsxs("div", { style: u, className: j, ref: t, children: [
|
|
49
|
+
i,
|
|
50
|
+
p
|
|
51
|
+
] }), e[18] = p, e[19] = u, e[20] = j, e[21] = t, e[22] = i, e[23] = d) : d = e[23], d;
|
|
52
|
+
}, J = T(w);
|
|
53
|
+
export {
|
|
54
|
+
J as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as m } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import l from "./DefaultLabel.js";
|
|
4
|
+
const p = (o) => {
|
|
5
|
+
const e = a.c(4);
|
|
6
|
+
let s;
|
|
7
|
+
if (e[0] !== o) {
|
|
8
|
+
const {
|
|
9
|
+
className: i,
|
|
10
|
+
...r
|
|
11
|
+
} = o;
|
|
12
|
+
s = r, e[0] = o, e[1] = s;
|
|
13
|
+
} else
|
|
14
|
+
s = e[1];
|
|
15
|
+
let t;
|
|
16
|
+
return e[2] !== s ? (t = /* @__PURE__ */ m.jsx(l, { className: "-info", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
p as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import i from "./DefaultLabel.js";
|
|
4
|
+
const n = (t) => {
|
|
5
|
+
const e = a.c(4);
|
|
6
|
+
let r;
|
|
7
|
+
if (e[0] !== t) {
|
|
8
|
+
const {
|
|
9
|
+
className: l,
|
|
10
|
+
...m
|
|
11
|
+
} = t;
|
|
12
|
+
r = m, e[0] = t, e[1] = r;
|
|
13
|
+
} else
|
|
14
|
+
r = e[1];
|
|
15
|
+
let s;
|
|
16
|
+
return e[2] !== r ? (s = /* @__PURE__ */ o.jsx(i, { className: "-primary", ...r }), e[2] = r, e[3] = s) : s = e[3], s;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
n as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as c } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import a from "./DefaultLabel.js";
|
|
4
|
+
const n = (o) => {
|
|
5
|
+
const s = m.c(4);
|
|
6
|
+
let e;
|
|
7
|
+
if (s[0] !== o) {
|
|
8
|
+
const {
|
|
9
|
+
className: l,
|
|
10
|
+
...r
|
|
11
|
+
} = o;
|
|
12
|
+
e = r, s[0] = o, s[1] = e;
|
|
13
|
+
} else
|
|
14
|
+
e = s[1];
|
|
15
|
+
let t;
|
|
16
|
+
return s[2] !== e ? (t = /* @__PURE__ */ c.jsx(a, { className: "-success", ...e }), s[2] = e, s[3] = t) : t = s[3], t;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
n as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import i from "./DefaultLabel.js";
|
|
4
|
+
const f = (r) => {
|
|
5
|
+
const e = m.c(4);
|
|
6
|
+
let s;
|
|
7
|
+
if (e[0] !== r) {
|
|
8
|
+
const {
|
|
9
|
+
className: l,
|
|
10
|
+
...o
|
|
11
|
+
} = r;
|
|
12
|
+
s = o, e[0] = r, e[1] = s;
|
|
13
|
+
} else
|
|
14
|
+
s = e[1];
|
|
15
|
+
let t;
|
|
16
|
+
return e[2] !== s ? (t = /* @__PURE__ */ a.jsx(i, { className: "-warning", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as LabelContainer } from './label_container';
|
|
2
|
+
import { default as Label } from './DefaultLabel';
|
|
3
|
+
import { default as DangerLabel } from './DangerLabel';
|
|
4
|
+
import { default as PrimaryLabel } from './PrimaryLabel';
|
|
5
|
+
import { default as WarningLabel } from './WarningLabel';
|
|
6
|
+
import { default as SuccessLabel } from './SuccessLabel';
|
|
7
|
+
import { default as InfoLabel } from './InfoLabel';
|
|
8
|
+
export default Label;
|
|
9
|
+
export { LabelContainer, PrimaryLabel, DangerLabel, WarningLabel, SuccessLabel, InfoLabel, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as f } from "./label_container/index.js";
|
|
2
|
+
import e from "./DefaultLabel.js";
|
|
3
|
+
import { default as m } from "./DangerLabel.js";
|
|
4
|
+
import { default as s } from "./PrimaryLabel.js";
|
|
5
|
+
import { default as b } from "./WarningLabel.js";
|
|
6
|
+
import { default as x } from "./SuccessLabel.js";
|
|
7
|
+
import { default as n } from "./InfoLabel.js";
|
|
8
|
+
import '../assets/label.css';/* empty css */
|
|
9
|
+
export {
|
|
10
|
+
m as DangerLabel,
|
|
11
|
+
n as InfoLabel,
|
|
12
|
+
f as LabelContainer,
|
|
13
|
+
s as PrimaryLabel,
|
|
14
|
+
x as SuccessLabel,
|
|
15
|
+
b as WarningLabel,
|
|
16
|
+
e as default
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Position } from '../../@types/Position';
|
|
3
|
+
interface ILabelContainerProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
customClass?: string;
|
|
7
|
+
position?: Extract<Position, 'left' | 'right'>;
|
|
8
|
+
}
|
|
9
|
+
declare const LabelContainer: ({ customClass, position, children }: ILabelContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default LabelContainer;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { j as a } from "../../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as m } from "../../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
const u = (r) => {
|
|
4
|
+
const t = m.c(6), {
|
|
5
|
+
customClass: c,
|
|
6
|
+
position: n,
|
|
7
|
+
children: e
|
|
8
|
+
} = r, i = n === void 0 ? "left" : n, l = `lbl-container ${c}`;
|
|
9
|
+
let o;
|
|
10
|
+
t[0] !== i ? (o = {
|
|
11
|
+
float: i
|
|
12
|
+
}, t[0] = i, t[1] = o) : o = t[1];
|
|
13
|
+
let s;
|
|
14
|
+
return t[2] !== e || t[3] !== l || t[4] !== o ? (s = /* @__PURE__ */ a.jsx("div", { className: l, style: o, children: e }), t[2] = e, t[3] = l, t[4] = o, t[5] = s) : s = t[5], s;
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
u as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { PermissionAttr } from '../@types/PermissionAttr';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
import { Size } from '../@types/Size';
|
|
5
|
+
import { IconNames } from '../@types/Icon';
|
|
6
|
+
export interface ILabelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
customClass?: string;
|
|
8
|
+
size?: Size;
|
|
9
|
+
iconName?: IconNames;
|
|
10
|
+
iconAlign?: Position;
|
|
11
|
+
icon?: ReactElement;
|
|
12
|
+
targetRef?: (ref: HTMLDivElement | null) => void;
|
|
13
|
+
bordered?: boolean;
|
|
14
|
+
tooltipPosition?: Exclude<Position, 'center'>;
|
|
15
|
+
tooltipWidth?: string | number;
|
|
16
|
+
tooltip?: string;
|
|
17
|
+
visible?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
20
|
+
skeletonize?: boolean;
|
|
21
|
+
validationKey?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as n } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
const x = (a) => {
|
|
4
|
+
const t = n.c(7), {
|
|
5
|
+
title: l,
|
|
6
|
+
children: r,
|
|
7
|
+
style: i,
|
|
8
|
+
customClass: m
|
|
9
|
+
} = a, c = `list-header ${m}`;
|
|
10
|
+
let e;
|
|
11
|
+
t[0] !== l ? (e = /* @__PURE__ */ o.jsx("h1", { className: "title", children: l }), t[0] = l, t[1] = e) : e = t[1];
|
|
12
|
+
let s;
|
|
13
|
+
return t[2] !== r || t[3] !== i || t[4] !== c || t[5] !== e ? (s = /* @__PURE__ */ o.jsxs("li", { className: c, style: i, children: [
|
|
14
|
+
e,
|
|
15
|
+
r
|
|
16
|
+
] }), t[2] = r, t[3] = i, t[4] = c, t[5] = e, t[6] = s) : s = t[6], s;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
x as default
|
|
20
|
+
};
|
package/lib/list/Item.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "../icons/index.js";
|
|
6
|
+
import { L as u } from "../chunks/tabs.BvKfeA6Y.js";
|
|
7
|
+
import "./helpers.js";
|
|
8
|
+
import "../dropdown/withDropdown.js";
|
|
9
|
+
import "../internals/constants.js";
|
|
10
|
+
import "../internals/withTooltip.js";
|
|
11
|
+
import "../permissionValidations.js";
|
|
12
|
+
export {
|
|
13
|
+
u as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as o } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
const m = () => {
|
|
4
|
+
const e = o.c(1);
|
|
5
|
+
let t;
|
|
6
|
+
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ r.jsx("li", { className: "list-separator" }), e[0] = t) : t = e[0], t;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IListContext } from './types';
|
|
3
|
+
declare const ListContext: React.Context<IListContext>;
|
|
4
|
+
declare const LIST_ITEMS_TYPES: {
|
|
5
|
+
listHeader: string;
|
|
6
|
+
listItem: string;
|
|
7
|
+
listSeparator: string;
|
|
8
|
+
};
|
|
9
|
+
export { ListContext, LIST_ITEMS_TYPES, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as ListHeader } from './Header';
|
|
2
|
+
import { default as ListItem } from './Item';
|
|
3
|
+
import { default as ListSeparator } from './Separator';
|
|
4
|
+
import { IListProps } from './types';
|
|
5
|
+
declare const List: (props: IListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default List;
|
|
7
|
+
export { ListHeader, ListItem, ListSeparator };
|