linear-react-components-ui 1.1.26-beta.7 → 1.1.26-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/@types/Align.d.ts +2 -0
- package/lib/@types/ButtonTypes.d.ts +1 -0
- package/lib/@types/ColorStyles.d.ts +1 -0
- package/lib/@types/DataCombo.d.ts +1 -0
- package/lib/@types/Icon.d.ts +2 -0
- package/lib/@types/LabelStyles.d.ts +1 -0
- package/lib/@types/Period.d.ts +4 -0
- package/lib/@types/PermissionAttr.d.ts +12 -0
- package/lib/@types/PointerEvents.d.ts +1 -0
- package/lib/@types/Position.d.ts +1 -0
- package/lib/@types/PositionAlert.d.ts +1 -0
- package/lib/@types/Size.d.ts +1 -0
- package/lib/@types/SizePixels.d.ts +1 -0
- package/lib/@types/StorageMock.d.ts +3 -0
- package/lib/alerts/AlertContainer.d.ts +12 -0
- package/lib/alerts/AlertContainer.js +70 -0
- package/lib/alerts/AlertProvider.d.ts +3 -0
- package/lib/alerts/AlertProvider.js +46 -0
- package/lib/alerts/BaseAlert.d.ts +3 -0
- package/lib/alerts/BaseAlert.js +20 -0
- package/lib/alerts/Message.d.ts +3 -0
- package/lib/alerts/Message.js +94 -0
- package/lib/alerts/alert.spec.d.ts +0 -0
- package/lib/alerts/helpers.d.ts +3 -0
- package/lib/alerts/helpers.js +5 -0
- package/lib/alerts/index.d.ts +4 -0
- package/lib/alerts/index.js +6 -0
- package/lib/alerts/types.d.ts +47 -0
- package/lib/alerts/withAlert.d.ts +4 -0
- package/lib/alerts/withAlert.js +14 -0
- package/lib/assets/BaseAlert.css +1 -0
- package/lib/assets/Content.css +1 -0
- package/lib/assets/DefaultFile.css +1 -0
- package/lib/assets/Drawer.css +1 -0
- package/lib/assets/InputTextBase.css +1 -0
- package/lib/assets/button.css +1 -0
- package/lib/assets/gridlayout.css +1 -0
- package/lib/assets/index.css +1 -0
- package/lib/assets/index10.css +1 -0
- package/lib/assets/index11.css +1 -0
- package/lib/assets/index12.css +1 -0
- package/lib/assets/index13.css +1 -0
- package/lib/assets/index14.css +1 -0
- package/lib/assets/index15.css +1 -0
- package/lib/assets/index16.css +1 -0
- package/lib/assets/index17.css +1 -0
- package/lib/assets/index18.css +1 -0
- package/lib/assets/index19.css +1 -0
- package/lib/assets/index2.css +1 -0
- package/lib/assets/index20.css +1 -0
- package/lib/assets/index21.css +1 -0
- package/lib/assets/index22.css +1 -0
- package/lib/assets/index23.css +1 -0
- package/lib/assets/index24.css +1 -0
- package/lib/assets/index25.css +1 -0
- package/lib/assets/index26.css +1 -0
- package/lib/assets/index27.css +1 -0
- package/lib/assets/index28.css +1 -0
- package/lib/assets/index3.css +1 -0
- package/lib/assets/index4.css +1 -0
- package/lib/assets/index5.css +1 -0
- package/lib/assets/index6.css +1 -0
- package/lib/assets/index7.css +1 -0
- package/lib/assets/index8.css +1 -0
- package/lib/assets/index9.css +1 -0
- package/lib/assets/label.css +1 -0
- package/lib/assets/noPermission.css +1 -0
- package/lib/assets/panel.css +1 -0
- package/lib/assets/progressbar.css +1 -0
- package/lib/assets/radio.css +1 -0
- package/lib/assets/skeleton.css +1 -0
- package/lib/assets/table.css +1 -0
- package/lib/assets/tabs.css +1 -0
- package/lib/assets/toolbar.css +1 -0
- package/lib/assets/withDropdown.css +1 -0
- package/lib/avatar/avatar.spec.d.ts +1 -0
- package/lib/avatar/index.d.ts +6 -0
- package/lib/avatar/index.js +55 -0
- package/lib/avatar/types.d.ts +27 -0
- package/lib/badge/badge.spec.d.ts +1 -0
- package/lib/badge/index.d.ts +3 -0
- package/lib/badge/index.js +28 -0
- package/lib/badge/types.d.ts +10 -0
- package/lib/buttons/ActivateButton.d.ts +3 -0
- package/lib/buttons/ActivateButton.js +11 -0
- package/lib/buttons/AddButton.d.ts +3 -0
- package/lib/buttons/AddButton.js +14 -0
- package/lib/buttons/Button.d.ts +6 -0
- package/lib/buttons/Button.js +19 -0
- package/lib/buttons/ButtonGroups.d.ts +6 -0
- package/lib/buttons/ButtonGroups.js +12 -0
- package/lib/buttons/CancelButton.d.ts +3 -0
- package/lib/buttons/CancelButton.js +16 -0
- package/lib/buttons/DangerButton.d.ts +3 -0
- package/lib/buttons/DangerButton.js +17 -0
- package/lib/buttons/DefaultButton.d.ts +6 -0
- package/lib/buttons/DefaultButton.js +95 -0
- package/lib/buttons/DestroyButton.d.ts +3 -0
- package/lib/buttons/DestroyButton.js +23 -0
- package/lib/buttons/EditButton.d.ts +3 -0
- package/lib/buttons/EditButton.js +11 -0
- package/lib/buttons/InactivateButton.d.ts +3 -0
- package/lib/buttons/InactivateButton.js +11 -0
- package/lib/buttons/InfoButton.d.ts +3 -0
- package/lib/buttons/InfoButton.js +17 -0
- package/lib/buttons/PrimaryButton.d.ts +3 -0
- package/lib/buttons/PrimaryButton.js +17 -0
- package/lib/buttons/RestoreButton.d.ts +3 -0
- package/lib/buttons/RestoreButton.js +11 -0
- package/lib/buttons/SaveButton.d.ts +3 -0
- package/lib/buttons/SaveButton.js +16 -0
- package/lib/buttons/SuccessButton.d.ts +3 -0
- package/lib/buttons/SuccessButton.js +17 -0
- package/lib/buttons/WarningButton.d.ts +3 -0
- package/lib/buttons/WarningButton.js +17 -0
- package/lib/buttons/button_container/index.d.ts +10 -0
- package/lib/buttons/button_container/index.js +23 -0
- package/lib/buttons/buttons.spec.d.ts +0 -0
- package/lib/buttons/index.d.ts +17 -0
- package/lib/buttons/index.js +33 -0
- package/lib/buttons/split_button/index.d.ts +3 -0
- package/lib/buttons/split_button/index.js +58 -0
- package/lib/buttons/types.d.ts +46 -0
- package/lib/calendar/DangerCalendar.d.ts +3 -0
- package/lib/calendar/DangerCalendar.js +20 -0
- package/lib/calendar/InfoCalendar.d.ts +3 -0
- package/lib/calendar/InfoCalendar.js +20 -0
- package/lib/calendar/PrimaryCalendar.d.ts +3 -0
- package/lib/calendar/PrimaryCalendar.js +20 -0
- package/lib/calendar/SuccessCalendar.d.ts +3 -0
- package/lib/calendar/SuccessCalendar.js +20 -0
- package/lib/calendar/WarningCalendar.d.ts +3 -0
- package/lib/calendar/WarningCalendar.js +20 -0
- package/lib/calendar/base/Day.d.ts +3 -0
- package/lib/calendar/base/Day.js +37 -0
- package/lib/calendar/base/Month.d.ts +3 -0
- package/lib/calendar/base/Month.js +28 -0
- package/lib/calendar/base/Week.d.ts +3 -0
- package/lib/calendar/base/Week.js +24 -0
- package/lib/calendar/base/helpers.d.ts +59 -0
- package/lib/calendar/base/helpers.js +100 -0
- package/lib/calendar/base/index.d.ts +3 -0
- package/lib/calendar/base/index.js +137 -0
- package/lib/calendar/calendar.spec.d.ts +0 -0
- package/lib/calendar/index.d.ts +8 -0
- package/lib/calendar/index.js +14 -0
- package/lib/calendar/types.d.ts +27 -0
- package/lib/checkbox/checkbox.spec.d.ts +1 -0
- package/lib/checkbox/index.d.ts +9 -0
- package/lib/checkbox/index.js +32 -0
- package/lib/checkbox/types.d.ts +45 -0
- package/lib/chunks/compiler-runtime.Cu50tn6L.js +54 -0
- package/lib/chunks/index.Df3kt2LQ.js +667 -0
- package/lib/chunks/index.aw0XaUkg.js +266 -0
- package/lib/chunks/jsx-runtime.D1SHvdVE.js +282 -0
- package/lib/chunks/lodash.CIAK_hAg.js +3684 -0
- package/lib/chunks/moment.DMLRxgRE.js +2589 -0
- package/lib/chunks/tabs.BvKfeA6Y.js +244 -0
- package/lib/chunks/v1.Ds1rkxUj.js +49 -0
- package/lib/dialog/Alert.d.ts +3 -0
- package/lib/dialog/Alert.js +24 -0
- package/lib/dialog/Custom.d.ts +3 -0
- package/lib/dialog/Custom.js +47 -0
- package/lib/dialog/Error.d.ts +3 -0
- package/lib/dialog/Error.js +24 -0
- package/lib/dialog/Information.d.ts +3 -0
- package/lib/dialog/Information.js +24 -0
- package/lib/dialog/Question.d.ts +3 -0
- package/lib/dialog/Question.js +47 -0
- package/lib/dialog/Warning.d.ts +3 -0
- package/lib/dialog/Warning.js +24 -0
- package/lib/dialog/base/Content.d.ts +3 -0
- package/lib/dialog/base/Content.js +15 -0
- package/lib/dialog/base/Footer.d.ts +3 -0
- package/lib/dialog/base/Footer.js +10 -0
- package/lib/dialog/base/Header.d.ts +3 -0
- package/lib/dialog/base/Header.js +8 -0
- package/lib/dialog/base/index.d.ts +10 -0
- package/lib/dialog/base/index.js +10 -0
- package/lib/dialog/base/style.d.ts +7 -0
- package/lib/dialog/dialog.spec.d.ts +0 -0
- package/lib/dialog/form/index.d.ts +5 -0
- package/lib/dialog/form/index.js +16 -0
- package/lib/dialog/index.d.ts +9 -0
- package/lib/dialog/index.js +16 -0
- package/lib/dialog/types.d.ts +107 -0
- package/lib/dialog/wizard/index.d.ts +9 -0
- package/lib/dialog/wizard/index.js +15 -0
- package/lib/dialog/wizard/progressbar.d.ts +11 -0
- package/lib/dialog/wizard/progressbar.js +98 -0
- package/lib/dialog/wizard/step.d.ts +2 -0
- package/lib/dialog/wizard/step.js +6 -0
- package/lib/dialog/wizard/useWizard.d.ts +2 -0
- package/lib/dialog/wizard/useWizard.js +45 -0
- package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
- package/lib/drawer/Content.d.ts +3 -0
- package/lib/drawer/Content.js +18 -0
- package/lib/drawer/Drawer.d.ts +4 -0
- package/lib/drawer/Drawer.js +75 -0
- package/lib/drawer/Drawer.spec.d.ts +1 -0
- package/lib/drawer/Header.d.ts +3 -0
- package/lib/drawer/Header.js +56 -0
- package/lib/drawer/helpers.d.ts +4 -0
- package/lib/drawer/helpers.js +5 -0
- package/lib/drawer/index.d.ts +5 -0
- package/lib/drawer/index.js +10 -0
- package/lib/drawer/types.d.ts +37 -0
- package/lib/dropdown/Popup.d.ts +3 -0
- package/lib/dropdown/Popup.js +51 -0
- package/lib/dropdown/dropdown.spec.d.ts +1 -0
- package/lib/dropdown/helper.d.ts +2 -0
- package/lib/dropdown/helper.js +8 -0
- package/lib/dropdown/types.d.ts +45 -0
- package/lib/dropdown/withDropdown.d.ts +9 -0
- package/lib/dropdown/withDropdown.js +80 -0
- package/lib/fieldset/fieldset.spec.d.ts +1 -0
- package/lib/fieldset/index.d.ts +3 -0
- package/lib/fieldset/index.js +70 -0
- package/lib/fieldset/types.d.ts +27 -0
- package/lib/form/Field.d.ts +2 -0
- package/lib/form/Field.js +98 -0
- package/lib/form/FieldArray.d.ts +2 -0
- package/lib/form/FieldArray.js +68 -0
- package/lib/form/FieldNumber.d.ts +2 -0
- package/lib/form/FieldNumber.js +48 -0
- package/lib/form/FieldPeriod.d.ts +2 -0
- package/lib/form/FieldPeriod.js +95 -0
- package/lib/form/form.spec.d.ts +0 -0
- package/lib/form/helpers.d.ts +8 -0
- package/lib/form/helpers.js +28 -0
- package/lib/form/index.d.ts +8 -0
- package/lib/form/index.js +150 -0
- package/lib/form/types.d.ts +233 -0
- package/lib/form/withFieldHOC.d.ts +4 -0
- package/lib/form/withFieldHOC.js +62 -0
- package/lib/form/withFormSecurity.d.ts +6 -0
- package/lib/form/withFormSecurity.js +30 -0
- package/lib/gridlayout/GridCol.d.ts +3 -0
- package/lib/gridlayout/GridCol.js +27 -0
- package/lib/gridlayout/GridRow.d.ts +3 -0
- package/lib/gridlayout/GridRow.js +26 -0
- package/lib/gridlayout/gridLayout.spec.d.ts +1 -0
- package/lib/gridlayout/index.d.ts +4 -0
- package/lib/gridlayout/index.js +6 -0
- package/lib/gridlayout/types.d.ts +17 -0
- package/lib/hint/helpers.d.ts +1 -0
- package/lib/hint/helpers.js +12 -0
- package/lib/hint/hint.spec.d.ts +1 -0
- package/lib/hint/index.d.ts +3 -0
- package/lib/hint/index.js +30 -0
- package/lib/hint/types.d.ts +11 -0
- package/lib/icons/helper.d.ts +635 -0
- package/lib/icons/helper.js +637 -0
- package/lib/icons/icons.spec.d.ts +1 -0
- package/lib/icons/index.d.ts +6 -0
- package/lib/icons/index.js +66 -0
- package/lib/icons/types.d.ts +46 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +28 -0
- package/lib/inputs/base/InputTextBase.d.ts +3 -0
- package/lib/inputs/base/InputTextBase.js +183 -0
- package/lib/inputs/base/Label.d.ts +6 -0
- package/lib/inputs/base/Label.js +30 -0
- package/lib/inputs/base/base.spec.d.ts +1 -0
- package/lib/inputs/base/helpers.d.ts +10 -0
- package/lib/inputs/base/helpers.js +30 -0
- package/lib/inputs/base/types.d.ts +98 -0
- package/lib/inputs/color/color_input.spec.d.ts +0 -0
- package/lib/inputs/color/index.d.ts +3 -0
- package/lib/inputs/color/index.js +57 -0
- package/lib/inputs/color/types.d.ts +16 -0
- package/lib/inputs/date/Dialog.d.ts +3 -0
- package/lib/inputs/date/Dialog.js +17 -0
- package/lib/inputs/date/Dropdown.d.ts +3 -0
- package/lib/inputs/date/Dropdown.js +19 -0
- package/lib/inputs/date/date.spec.d.ts +1 -0
- package/lib/inputs/date/helpers.d.ts +5 -0
- package/lib/inputs/date/helpers.js +10 -0
- package/lib/inputs/date/index.d.ts +3 -0
- package/lib/inputs/date/index.js +136 -0
- package/lib/inputs/date/types.d.ts +56 -0
- package/lib/inputs/errorMessage/error.spec.d.ts +1 -0
- package/lib/inputs/errorMessage/index.d.ts +4 -0
- package/lib/inputs/errorMessage/index.js +24 -0
- package/lib/inputs/file/DefaultFile.d.ts +3 -0
- package/lib/inputs/file/DefaultFile.js +68 -0
- package/lib/inputs/file/DragDropFile.d.ts +3 -0
- package/lib/inputs/file/DragDropFile.js +135 -0
- package/lib/inputs/file/File.d.ts +3 -0
- package/lib/inputs/file/File.js +31 -0
- package/lib/inputs/file/FileButtonSettings.d.ts +3 -0
- package/lib/inputs/file/FileButtonSettings.js +24 -0
- package/lib/inputs/file/filefield.spec.d.ts +1 -0
- package/lib/inputs/file/helpers.d.ts +2 -0
- package/lib/inputs/file/helpers.js +11 -0
- package/lib/inputs/file/index.d.ts +5 -0
- package/lib/inputs/file/index.js +8 -0
- package/lib/inputs/file/types.d.ts +49 -0
- package/lib/inputs/inputHOC.d.ts +4 -0
- package/lib/inputs/inputHOC.js +42 -0
- package/lib/inputs/mask/BaseMask.d.ts +3 -0
- package/lib/inputs/mask/BaseMask.js +2672 -0
- package/lib/inputs/mask/Cnpj.d.ts +6 -0
- package/lib/inputs/mask/Cnpj.js +46 -0
- package/lib/inputs/mask/Cpf.d.ts +6 -0
- package/lib/inputs/mask/Cpf.js +48 -0
- package/lib/inputs/mask/Phone.d.ts +3 -0
- package/lib/inputs/mask/Phone.js +13 -0
- package/lib/inputs/mask/ZipCode.d.ts +3 -0
- package/lib/inputs/mask/ZipCode.js +11 -0
- package/lib/inputs/mask/helpers.d.ts +52 -0
- package/lib/inputs/mask/helpers.js +63 -0
- package/lib/inputs/mask/index.d.ts +7 -0
- package/lib/inputs/mask/index.js +12 -0
- package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
- package/lib/inputs/mask/types.d.ts +73 -0
- package/lib/inputs/multiSelect/ActionButtons.d.ts +3 -0
- package/lib/inputs/multiSelect/ActionButtons.js +39 -0
- package/lib/inputs/multiSelect/Dropdown.d.ts +3 -0
- package/lib/inputs/multiSelect/Dropdown.js +98 -0
- package/lib/inputs/multiSelect/helper.d.ts +3 -0
- package/lib/inputs/multiSelect/helper.js +8 -0
- package/lib/inputs/multiSelect/index.d.ts +3 -0
- package/lib/inputs/multiSelect/index.js +180 -0
- package/lib/inputs/multiSelect/multiSelect.spec.d.ts +1 -0
- package/lib/inputs/multiSelect/types.d.ts +57 -0
- package/lib/inputs/number/BaseNumber.d.ts +3 -0
- package/lib/inputs/number/BaseNumber.js +59 -0
- package/lib/inputs/number/Currency.d.ts +3 -0
- package/lib/inputs/number/Currency.js +22 -0
- package/lib/inputs/number/Decimal.d.ts +3 -0
- package/lib/inputs/number/Decimal.js +11 -0
- package/lib/inputs/number/format_number.d.ts +3 -0
- package/lib/inputs/number/format_number.js +9 -0
- package/lib/inputs/number/index.d.ts +6 -0
- package/lib/inputs/number/index.js +34 -0
- package/lib/inputs/number/numberfield.spec.d.ts +1 -0
- package/lib/inputs/number/types.d.ts +28 -0
- package/lib/inputs/period/Dialog.d.ts +3 -0
- package/lib/inputs/period/Dialog.js +18 -0
- package/lib/inputs/period/Dropdown.d.ts +3 -0
- package/lib/inputs/period/Dropdown.js +18 -0
- package/lib/inputs/period/PeriodList.d.ts +3 -0
- package/lib/inputs/period/PeriodList.js +43 -0
- package/lib/inputs/period/helper.d.ts +11 -0
- package/lib/inputs/period/helper.js +39 -0
- package/lib/inputs/period/index.d.ts +3 -0
- package/lib/inputs/period/index.js +213 -0
- package/lib/inputs/period/types.d.ts +69 -0
- package/lib/inputs/search/index.d.ts +3 -0
- package/lib/inputs/search/index.js +104 -0
- package/lib/inputs/search/search_input.spec.d.ts +1 -0
- package/lib/inputs/select/ActionButtons.d.ts +3 -0
- package/lib/inputs/select/ActionButtons.js +28 -0
- package/lib/inputs/select/Dropdown.d.ts +3 -0
- package/lib/inputs/select/Dropdown.js +70 -0
- package/lib/inputs/select/helper.d.ts +11 -0
- package/lib/inputs/select/helper.js +48 -0
- package/lib/inputs/select/index.d.ts +3 -0
- package/lib/inputs/select/index.js +27 -0
- package/lib/inputs/select/multiple/Selecteds.d.ts +3 -0
- package/lib/inputs/select/multiple/Selecteds.js +25 -0
- package/lib/inputs/select/multiple/index.d.ts +3 -0
- package/lib/inputs/select/multiple/index.js +126 -0
- package/lib/inputs/select/select.spec.d.ts +1 -0
- package/lib/inputs/select/simple/index.d.ts +3 -0
- package/lib/inputs/select/simple/index.js +156 -0
- package/lib/inputs/select/types.d.ts +117 -0
- package/lib/inputs/text/index.d.ts +3 -0
- package/lib/inputs/text/index.js +11 -0
- package/lib/inputs/text/textfield.spec.d.ts +1 -0
- package/lib/inputs/text/types.d.ts +21 -0
- package/lib/inputs/textarea/index.d.ts +3 -0
- package/lib/inputs/textarea/index.js +16 -0
- package/lib/inputs/textarea/textarea.spec.d.ts +1 -0
- package/lib/inputs/textarea/types.d.ts +7 -0
- package/lib/inputs/types.d.ts +151 -0
- package/lib/internals/colorStyles.d.ts +8 -0
- package/lib/internals/colorStyles.js +10 -0
- package/lib/internals/constants.d.ts +9 -0
- package/lib/internals/constants.js +12 -0
- package/lib/internals/types.d.ts +22 -0
- package/lib/internals/withTooltip.d.ts +8 -0
- package/lib/internals/withTooltip.js +122 -0
- package/lib/labelMessages/index.d.ts +3 -0
- package/lib/labelMessages/index.js +53 -0
- package/lib/labelMessages/labelMessages.spec.d.ts +1 -0
- package/lib/labelMessages/types.d.ts +16 -0
- package/lib/labels/DangerLabel.d.ts +3 -0
- package/lib/labels/DangerLabel.js +20 -0
- package/lib/labels/DefaultLabel.d.ts +6 -0
- package/lib/labels/DefaultLabel.js +55 -0
- package/lib/labels/InfoLabel.d.ts +3 -0
- package/lib/labels/InfoLabel.js +20 -0
- package/lib/labels/PrimaryLabel.d.ts +3 -0
- package/lib/labels/PrimaryLabel.js +20 -0
- package/lib/labels/SuccessLabel.d.ts +3 -0
- package/lib/labels/SuccessLabel.js +20 -0
- package/lib/labels/WarningLabel.d.ts +3 -0
- package/lib/labels/WarningLabel.js +20 -0
- package/lib/labels/index.d.ts +9 -0
- package/lib/labels/index.js +17 -0
- package/lib/labels/label.spec.d.ts +1 -0
- package/lib/labels/label_container/index.d.ts +10 -0
- package/lib/labels/label_container/index.js +18 -0
- package/lib/labels/types.d.ts +22 -0
- package/lib/list/Header.d.ts +3 -0
- package/lib/list/Header.js +20 -0
- package/lib/list/Item.d.ts +6 -0
- package/lib/list/Item.js +14 -0
- package/lib/list/Separator.d.ts +2 -0
- package/lib/list/Separator.js +10 -0
- package/lib/list/helpers.d.ts +9 -0
- package/lib/list/helpers.js +10 -0
- package/lib/list/index.d.ts +7 -0
- package/lib/list/index.js +104 -0
- package/lib/list/list.spec.d.ts +1 -0
- package/lib/list/types.d.ts +69 -0
- package/lib/menus/float/MenuItem.d.ts +3 -0
- package/lib/menus/float/MenuItem.js +55 -0
- package/lib/menus/float/SubMenuContainer.d.ts +29 -0
- package/lib/menus/float/float-menu.spec.d.ts +0 -0
- package/lib/menus/float/helpers.d.ts +4 -0
- package/lib/menus/float/helpers.js +5 -0
- package/lib/menus/float/index.d.ts +6 -0
- package/lib/menus/float/index.js +113 -0
- package/lib/menus/float/types.d.ts +26 -0
- package/lib/menus/index.d.ts +2 -0
- package/lib/menus/index.js +4 -0
- package/lib/menus/sidenav/ExpandMenu.d.ts +3 -0
- package/lib/menus/sidenav/ExpandMenu.js +19 -0
- package/lib/menus/sidenav/MenuLink.d.ts +6 -0
- package/lib/menus/sidenav/MenuLink.js +24 -0
- package/lib/menus/sidenav/NavMenuGroup.d.ts +3 -0
- package/lib/menus/sidenav/NavMenuGroup.js +22 -0
- package/lib/menus/sidenav/NavMenuItem.d.ts +6 -0
- package/lib/menus/sidenav/NavMenuItem.js +136 -0
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +3 -0
- package/lib/menus/sidenav/NavSubMenuItem.js +39 -0
- package/lib/menus/sidenav/helpers.d.ts +6 -0
- package/lib/menus/sidenav/helpers.js +10 -0
- package/lib/menus/sidenav/index.d.ts +8 -0
- package/lib/menus/sidenav/index.js +150 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +3 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +23 -0
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +4 -0
- package/lib/menus/sidenav/popup_menu_search/index.js +56 -0
- package/lib/menus/sidenav/sidenav.spec.d.ts +1 -0
- package/lib/menus/sidenav/types.d.ts +85 -0
- package/lib/noPermission/index.d.ts +2 -0
- package/lib/noPermission/index.js +16 -0
- package/lib/panel/Content.d.ts +3 -0
- package/lib/panel/Content.js +55 -0
- package/lib/panel/DangerPanel.d.ts +3 -0
- package/lib/panel/DangerPanel.js +12 -0
- package/lib/panel/Default.d.ts +3 -0
- package/lib/panel/Default.js +68 -0
- package/lib/panel/Header.d.ts +3 -0
- package/lib/panel/Header.js +58 -0
- package/lib/panel/InfoPanel.d.ts +3 -0
- package/lib/panel/InfoPanel.js +12 -0
- package/lib/panel/PrimaryPanel.d.ts +3 -0
- package/lib/panel/PrimaryPanel.js +12 -0
- package/lib/panel/SuccessPanel.d.ts +3 -0
- package/lib/panel/SuccessPanel.js +12 -0
- package/lib/panel/ToolBar.d.ts +3 -0
- package/lib/panel/ToolBar.js +19 -0
- package/lib/panel/WarningPanel.d.ts +3 -0
- package/lib/panel/WarningPanel.js +12 -0
- package/lib/panel/helpers.d.ts +5 -0
- package/lib/panel/helpers.js +15 -0
- package/lib/panel/index.d.ts +10 -0
- package/lib/panel/index.js +19 -0
- package/lib/panel/panel.spec.d.ts +0 -0
- package/lib/panel/types.d.ts +43 -0
- package/lib/permissionValidations.d.ts +12 -0
- package/lib/permissionValidations.js +46 -0
- package/lib/popover/PopoverText.d.ts +4 -0
- package/lib/popover/PopoverText.js +14 -0
- package/lib/popover/PopoverTitle.d.ts +3 -0
- package/lib/popover/PopoverTitle.js +12 -0
- package/lib/popover/index.d.ts +6 -0
- package/lib/popover/index.js +39 -0
- package/lib/popover/popover.spec.d.ts +1 -0
- package/lib/popover/types.d.ts +31 -0
- package/lib/progress/Bar.d.ts +3 -0
- package/lib/progress/Bar.js +51 -0
- package/lib/progress/index.d.ts +5 -0
- package/lib/progress/index.js +26 -0
- package/lib/progress/progress.spec.d.ts +1 -0
- package/lib/progress/types.d.ts +34 -0
- package/lib/radio/index.d.ts +8 -0
- package/lib/radio/index.js +112 -0
- package/lib/radio/radio.spec.d.ts +1 -0
- package/lib/radio/types.d.ts +25 -0
- package/lib/shortcuts/index.d.ts +3 -0
- package/lib/shortcuts/index.js +22 -0
- package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
- package/lib/shortcuts/types.d.ts +9 -0
- package/lib/skeleton/SkeletonContainer.d.ts +3 -0
- package/lib/skeleton/SkeletonContainer.js +19 -0
- package/lib/skeleton/index.d.ts +5 -0
- package/lib/skeleton/index.js +49 -0
- package/lib/skeleton/types.d.ts +18 -0
- package/lib/spinner/SpinnerLoading.d.ts +3 -0
- package/lib/spinner/SpinnerLoading.js +55 -0
- package/lib/spinner/index.d.ts +3 -0
- package/lib/spinner/index.js +51 -0
- package/lib/spinner/spinner.spec.d.ts +1 -0
- package/lib/spinner/types.d.ts +17 -0
- package/lib/split/Split.d.ts +3 -0
- package/lib/split/Split.js +193 -0
- package/lib/split/SplitSide.d.ts +3 -0
- package/lib/split/SplitSide.js +27 -0
- package/lib/split/helpers.d.ts +8 -0
- package/lib/split/helpers.js +5 -0
- package/lib/split/index.d.ts +4 -0
- package/lib/split/index.js +6 -0
- package/lib/split/split.spec.d.ts +0 -0
- package/lib/split/types.d.ts +31 -0
- package/lib/table/Body.d.ts +3 -0
- package/lib/table/Body.js +46 -0
- package/lib/table/Header.d.ts +3 -0
- package/lib/table/Header.js +52 -0
- package/lib/table/HeaderColumn.d.ts +3 -0
- package/lib/table/HeaderColumn.js +43 -0
- package/lib/table/Row.d.ts +3 -0
- package/lib/table/Row.js +53 -0
- package/lib/table/RowColumn.d.ts +3 -0
- package/lib/table/RowColumn.js +58 -0
- package/lib/table/helpers.d.ts +7 -0
- package/lib/table/helpers.js +9 -0
- package/lib/table/index.d.ts +9 -0
- package/lib/table/index.js +106 -0
- package/lib/table/table.spec.d.ts +1 -0
- package/lib/table/types.d.ts +94 -0
- package/lib/tabs/DropdownTabs.d.ts +3 -0
- package/lib/tabs/DropdownTabs.js +84 -0
- package/lib/tabs/Menu.d.ts +3 -0
- package/lib/tabs/Menu.js +38 -0
- package/lib/tabs/MenuTabs.d.ts +4 -0
- package/lib/tabs/MenuTabs.js +64 -0
- package/lib/tabs/Panel.d.ts +3 -0
- package/lib/tabs/Panel.js +62 -0
- package/lib/tabs/context.d.ts +4 -0
- package/lib/tabs/context.js +64 -0
- package/lib/tabs/index.d.ts +5 -0
- package/lib/tabs/index.js +73 -0
- package/lib/tabs/tabHelpers.d.ts +9 -0
- package/lib/tabs/tabHelpers.js +48 -0
- package/lib/tabs/tabs.spec.d.ts +0 -0
- package/lib/tabs/types.d.ts +95 -0
- package/lib/tabs/useTabs.d.ts +1 -0
- package/lib/tabs/useTabs.js +8 -0
- package/lib/textContent/index.d.ts +18 -0
- package/lib/textContent/index.js +33 -0
- package/lib/textContent/textContent.spec.d.ts +1 -0
- package/lib/toolbar/ButtonBar.d.ts +3 -0
- package/lib/toolbar/ButtonBar.js +67 -0
- package/lib/toolbar/LabelBar.d.ts +3 -0
- package/lib/toolbar/LabelBar.js +51 -0
- package/lib/toolbar/Separator.d.ts +2 -0
- package/lib/toolbar/Separator.js +10 -0
- package/lib/toolbar/ToolBarGroup.d.ts +3 -0
- package/lib/toolbar/ToolBarGroup.js +16 -0
- package/lib/toolbar/helpers.d.ts +3 -0
- package/lib/toolbar/helpers.js +5 -0
- package/lib/toolbar/index.d.ts +8 -0
- package/lib/toolbar/index.js +39 -0
- package/lib/toolbar/toolbar.spec.d.ts +1 -0
- package/lib/toolbar/types.d.ts +43 -0
- package/lib/tooltip/index.d.ts +4 -0
- package/lib/tooltip/index.js +39 -0
- package/lib/tooltip/tooltip.spec.d.ts +1 -0
- package/lib/tooltip/types.d.ts +15 -0
- package/lib/treetable/Body.d.ts +2 -0
- package/lib/treetable/Body.js +34 -0
- package/lib/treetable/Header.d.ts +2 -0
- package/lib/treetable/Header.js +30 -0
- package/lib/treetable/Row.d.ts +3 -0
- package/lib/treetable/Row.js +220 -0
- package/lib/treetable/helpers.d.ts +13 -0
- package/lib/treetable/helpers.js +17 -0
- package/lib/treetable/index.d.ts +4 -0
- package/lib/treetable/index.js +28 -0
- package/lib/treeview/Header.d.ts +3 -0
- package/lib/treeview/Header.js +16 -0
- package/lib/treeview/Node.d.ts +3 -0
- package/lib/treeview/Node.js +206 -0
- package/lib/treeview/constants.d.ts +3 -0
- package/lib/treeview/constants.js +5 -0
- package/lib/treeview/index.d.ts +6 -0
- package/lib/treeview/index.js +268 -0
- package/lib/treeview/treeview.spec.d.ts +0 -0
- package/lib/treeview/types.d.ts +106 -0
- package/lib/uitour/helpers.d.ts +7 -0
- package/lib/uitour/helpers.js +9 -0
- package/lib/uitour/index.d.ts +4 -0
- package/lib/uitour/index.js +187 -0
- package/lib/uitour/types.d.ts +35 -0
- package/lib/uitour/uitour.spec.d.ts +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { j as P } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as N } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useRef as g, useState as A, useEffect as I } from "react";
|
|
4
|
+
import { onDeniedOptions as _, getCurrentThreshold as k } from "./tabHelpers.js";
|
|
5
|
+
import { actionsOnPermissionDenied as q } from "../permissionValidations.js";
|
|
6
|
+
import B from "../noPermission/index.js";
|
|
7
|
+
import { useTabs as F } from "./useTabs.js";
|
|
8
|
+
const W = (j) => {
|
|
9
|
+
const e = N.c(18), {
|
|
10
|
+
id: c,
|
|
11
|
+
children: u,
|
|
12
|
+
onEndReached: s,
|
|
13
|
+
permissionAttr: f,
|
|
14
|
+
customClass: x,
|
|
15
|
+
onEndReachedThreshold: T,
|
|
16
|
+
style: h
|
|
17
|
+
} = j, C = x === void 0 ? "" : x, p = T === void 0 ? 0.1 : T, {
|
|
18
|
+
selectedTabId: L
|
|
19
|
+
} = F(), w = c !== L ? "hidepanel" : "", t = g(null);
|
|
20
|
+
let i;
|
|
21
|
+
e[0] !== f ? (i = q(_, f), e[0] = f, e[1] = i) : i = e[1];
|
|
22
|
+
const [z] = A(i), {
|
|
23
|
+
hideContent: E
|
|
24
|
+
} = z, v = g(!0), H = g(0);
|
|
25
|
+
let l;
|
|
26
|
+
e[2] !== s || e[3] !== p ? (l = async () => {
|
|
27
|
+
const n = t.current;
|
|
28
|
+
if (n && s) {
|
|
29
|
+
const {
|
|
30
|
+
scrollTop: b,
|
|
31
|
+
scrollHeight: O,
|
|
32
|
+
clientHeight: D
|
|
33
|
+
} = n, S = O - D - b - 1, $ = k(n, p);
|
|
34
|
+
S <= $ && v.current && (v.current = !1, await new Promise((y) => {
|
|
35
|
+
y(s());
|
|
36
|
+
}), H.current = O);
|
|
37
|
+
}
|
|
38
|
+
}, e[2] = s, e[3] = p, e[4] = l) : l = e[4];
|
|
39
|
+
const r = l;
|
|
40
|
+
let d;
|
|
41
|
+
e[5] !== s || e[6] !== r ? (d = () => {
|
|
42
|
+
let n;
|
|
43
|
+
return t.current && s && (n = new ResizeObserver(() => {
|
|
44
|
+
const {
|
|
45
|
+
scrollHeight: b
|
|
46
|
+
} = t.current;
|
|
47
|
+
b !== H.current && (v.current = !0, n?.disconnect());
|
|
48
|
+
}), n.observe(t.current), t.current.addEventListener("scroll", r), t.current.addEventListener("resize", r)), () => {
|
|
49
|
+
t.current?.removeEventListener("scroll", r), t.current?.removeEventListener("resize", r), n?.disconnect();
|
|
50
|
+
};
|
|
51
|
+
}, e[5] = s, e[6] = r, e[7] = d) : d = e[7];
|
|
52
|
+
let a;
|
|
53
|
+
e[8] !== r ? (a = [r], e[8] = r, e[9] = a) : a = e[9], I(d, a);
|
|
54
|
+
const R = `${C} panel ${w}`;
|
|
55
|
+
let o;
|
|
56
|
+
e[10] !== u || e[11] !== E ? (o = E ? /* @__PURE__ */ P.jsx(B, {}) : u, e[10] = u, e[11] = E, e[12] = o) : o = e[12];
|
|
57
|
+
let m;
|
|
58
|
+
return e[13] !== c || e[14] !== h || e[15] !== R || e[16] !== o ? (m = /* @__PURE__ */ P.jsx("div", { ref: t, id: c, className: R, style: h, children: o }), e[13] = c, e[14] = h, e[15] = R, e[16] = o, e[17] = m) : m = e[17], m;
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
W as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabsContextType, TabsProviderProps } from './types';
|
|
3
|
+
export declare const TabsContext: React.Context<TabsContextType>;
|
|
4
|
+
export declare function TabsProvider({ children, tabs: tabsProp, container, selectedTab, onTabChange, onTabClose, tabsWidth: tabsWidthProp, firstTabIdent, keepTabOriginalPosition, }: TabsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { j as F } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import G, { createContext as H, useState as y, useRef as J, useMemo as I, useCallback as x, useEffect as B } from "react";
|
|
3
|
+
import { _ as C } from "../chunks/lodash.CIAK_hAg.js";
|
|
4
|
+
import { getTabs as D } from "./tabHelpers.js";
|
|
5
|
+
const K = H({});
|
|
6
|
+
function V({
|
|
7
|
+
children: E,
|
|
8
|
+
tabs: b,
|
|
9
|
+
container: d,
|
|
10
|
+
selectedTab: f = null,
|
|
11
|
+
onTabChange: T,
|
|
12
|
+
onTabClose: p,
|
|
13
|
+
tabsWidth: c,
|
|
14
|
+
firstTabIdent: M = !1,
|
|
15
|
+
keepTabOriginalPosition: O = !0
|
|
16
|
+
}) {
|
|
17
|
+
const [o, l] = G.useState(f), [w, R] = y(() => d.current?.clientWidth ?? 0), [n, a] = y(D(b)), v = J(null), h = (v.current?.clientWidth ?? 0) - 38 - (M ? 15 : 0), W = I(() => typeof c == "string" ? c === "auto" ? 100 : parseInt(c) || 100 : c, [c]), m = Math.round(h / W);
|
|
18
|
+
f && f !== o && l(f), n.length > 0 && o === null && l(n[0]?.id);
|
|
19
|
+
const u = I(() => h === 0 ? [] : n.slice(m), [n, m, w]), z = I(() => n.slice(0, m), [n, m, w]), k = n.length, S = x((e) => {
|
|
20
|
+
const t = u.findIndex((r) => r.id === e);
|
|
21
|
+
if (t !== -1) {
|
|
22
|
+
const r = n.findIndex((i) => i.id === e), s = u[t];
|
|
23
|
+
a((i) => (i.splice(r, 1), [s, ...i]));
|
|
24
|
+
}
|
|
25
|
+
}, [a, z, n, u]), g = x((e) => {
|
|
26
|
+
O || S(e), l(e), T && T(e);
|
|
27
|
+
}, [T, l, S]), q = x((e) => {
|
|
28
|
+
const t = n.findIndex((s) => s.id === e), r = t === 0 ? n[t + 1] : n[t - 1];
|
|
29
|
+
o === e && g(r.id), t !== -1 && a((s) => (s.splice(t, 1), s)), p && p(String(e));
|
|
30
|
+
}, [p, n, u, o]), j = x((e) => {
|
|
31
|
+
R(e.width);
|
|
32
|
+
}, [R]);
|
|
33
|
+
return B(() => {
|
|
34
|
+
const e = D(b);
|
|
35
|
+
if (e !== n) {
|
|
36
|
+
const t = C.differenceBy(e, n, "id"), r = C.differenceBy(n, e, "id").map((s) => s.id);
|
|
37
|
+
a((s) => {
|
|
38
|
+
let i = s;
|
|
39
|
+
return r && (i = i.filter((A) => !r.includes(A.id))), [...i, ...t];
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}, [b]), B(() => {
|
|
43
|
+
const e = new ResizeObserver(([t]) => {
|
|
44
|
+
j(t.contentRect);
|
|
45
|
+
});
|
|
46
|
+
return d.current && e.observe(d.current), () => {
|
|
47
|
+
e.disconnect();
|
|
48
|
+
};
|
|
49
|
+
}, [d.current, j]), /* @__PURE__ */ F.jsx(K.Provider, { value: {
|
|
50
|
+
tabs: n,
|
|
51
|
+
menuTabs: z,
|
|
52
|
+
dropdownTabs: u,
|
|
53
|
+
containerWidth: w,
|
|
54
|
+
tabsCount: k,
|
|
55
|
+
selectTab: g,
|
|
56
|
+
selectedTabId: o,
|
|
57
|
+
removeTab: q,
|
|
58
|
+
menuRef: v
|
|
59
|
+
}, children: E });
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
K as TabsContext,
|
|
63
|
+
V as TabsProvider
|
|
64
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as TabPanel } from './Panel';
|
|
2
|
+
import { ITabsPros } from './types';
|
|
3
|
+
declare const Tabs: ({ toolbar, toolBarRef, children, firstTabIdent, handlerTabClick, handlerCloseTab, style, tabMenuSize, tabMenuAlign, tabMenuPosition, customClassForToolBar, tabsWidth, ...props }: ITabsPros) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Tabs;
|
|
5
|
+
export { TabPanel };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { j as C } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as D } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useRef as G, Fragment as P } from "react";
|
|
4
|
+
import H from "./Menu.js";
|
|
5
|
+
import { default as lt } from "./Panel.js";
|
|
6
|
+
import { tabsClass as J } from "./tabHelpers.js";
|
|
7
|
+
import "../chunks/tabs.BvKfeA6Y.js";
|
|
8
|
+
import { TabsProvider as K } from "./context.js";
|
|
9
|
+
const L = ({
|
|
10
|
+
children: i,
|
|
11
|
+
tabMenuPosition: t,
|
|
12
|
+
toolbar: e,
|
|
13
|
+
tabsWidth: o,
|
|
14
|
+
customClassForToolBar: s,
|
|
15
|
+
tabMenuSize: n,
|
|
16
|
+
tabMenuAlign: r,
|
|
17
|
+
firstTabIdent: l
|
|
18
|
+
}) => {
|
|
19
|
+
const a = /* @__PURE__ */ C.jsx(H, { toolbar: e, tabWidth: o, customClassForToolBar: s, tabMenuSize: n, tabMenuAlign: r, firstTabIdent: l });
|
|
20
|
+
return t === "top" || t === "left" ? /* @__PURE__ */ C.jsxs(P, { children: [
|
|
21
|
+
a,
|
|
22
|
+
i
|
|
23
|
+
] }) : /* @__PURE__ */ C.jsxs(P, { children: [
|
|
24
|
+
i,
|
|
25
|
+
a
|
|
26
|
+
] });
|
|
27
|
+
}, tt = (i) => {
|
|
28
|
+
const t = D.c(38);
|
|
29
|
+
let e, o, s, n, r, l, a, p, h, T, x, c;
|
|
30
|
+
if (t[0] !== i) {
|
|
31
|
+
const {
|
|
32
|
+
toolbar: W,
|
|
33
|
+
toolBarRef: O,
|
|
34
|
+
children: k,
|
|
35
|
+
firstTabIdent: y,
|
|
36
|
+
handlerTabClick: z,
|
|
37
|
+
handlerCloseTab: A,
|
|
38
|
+
style: E,
|
|
39
|
+
tabMenuSize: I,
|
|
40
|
+
tabMenuAlign: S,
|
|
41
|
+
tabMenuPosition: N,
|
|
42
|
+
customClassForToolBar: $,
|
|
43
|
+
tabsWidth: q,
|
|
44
|
+
...w
|
|
45
|
+
} = i;
|
|
46
|
+
c = W, e = k, o = y, n = z, s = A, l = E, a = I, p = S, h = N, T = $, x = q, r = w, t[0] = i, t[1] = e, t[2] = o, t[3] = s, t[4] = n, t[5] = r, t[6] = l, t[7] = a, t[8] = p, t[9] = h, t[10] = T, t[11] = x, t[12] = c;
|
|
47
|
+
} else
|
|
48
|
+
e = t[1], o = t[2], s = t[3], n = t[4], r = t[5], l = t[6], a = t[7], p = t[8], h = t[9], T = t[10], x = t[11], c = t[12];
|
|
49
|
+
let v;
|
|
50
|
+
t[13] !== l ? (v = l === void 0 ? {} : l, t[13] = l, t[14] = v) : v = t[14];
|
|
51
|
+
const M = v, g = a === void 0 ? "default" : a, R = p === void 0 ? "left" : p, d = h === void 0 ? "top" : h, B = T === void 0 ? "" : T, f = x === void 0 ? "auto" : x, F = G(null);
|
|
52
|
+
let b;
|
|
53
|
+
t[15] !== d ? (b = J(d), t[15] = d, t[16] = b) : b = t[16];
|
|
54
|
+
let m;
|
|
55
|
+
t[17] !== e || t[18] !== B || t[19] !== o || t[20] !== R || t[21] !== d || t[22] !== g || t[23] !== f || t[24] !== c ? (m = L({
|
|
56
|
+
children: e,
|
|
57
|
+
tabMenuPosition: d,
|
|
58
|
+
toolbar: c,
|
|
59
|
+
tabsWidth: f,
|
|
60
|
+
customClassForToolBar: B,
|
|
61
|
+
tabMenuSize: g,
|
|
62
|
+
tabMenuAlign: R,
|
|
63
|
+
firstTabIdent: o
|
|
64
|
+
}), t[17] = e, t[18] = B, t[19] = o, t[20] = R, t[21] = d, t[22] = g, t[23] = f, t[24] = c, t[25] = m) : m = t[25];
|
|
65
|
+
let u;
|
|
66
|
+
t[26] !== M || t[27] !== b || t[28] !== m ? (u = /* @__PURE__ */ C.jsx("div", { ref: F, className: b, style: M, children: m }), t[26] = M, t[27] = b, t[28] = m, t[29] = u) : u = t[29];
|
|
67
|
+
let j;
|
|
68
|
+
return t[30] !== e || t[31] !== o || t[32] !== s || t[33] !== n || t[34] !== r || t[35] !== u || t[36] !== f ? (j = /* @__PURE__ */ C.jsx(K, { tabs: e, container: F, onTabChange: n, onTabClose: s, tabsWidth: f, firstTabIdent: o, ...r, children: u }), t[30] = e, t[31] = o, t[32] = s, t[33] = n, t[34] = r, t[35] = u, t[36] = f, t[37] = j) : j = t[37], j;
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
lt as TabPanel,
|
|
72
|
+
tt as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Position } from '../@types/Position';
|
|
3
|
+
export declare function getCurrentThreshold(scrollableElement: HTMLDivElement, scrollThreshold: number): number;
|
|
4
|
+
export declare const getTabs: (tabsProp: React.ReactNode) => any[];
|
|
5
|
+
export declare function tabsClass(tabMenuPosition: Exclude<Position, 'center'>): string;
|
|
6
|
+
export declare function menuStyles(tabMenuAlign: Position): {
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const onDeniedOptions: string[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import i from "react";
|
|
2
|
+
import { OPTIONS_ON_DENIED as r } from "../permissionValidations.js";
|
|
3
|
+
function h(t, n) {
|
|
4
|
+
if (n < 0) return 0;
|
|
5
|
+
if (n > 1) return 1;
|
|
6
|
+
const {
|
|
7
|
+
scrollHeight: o,
|
|
8
|
+
clientHeight: c
|
|
9
|
+
} = t, s = o - c, u = Math.round(o * n), f = Math.round(s - s * 0.3);
|
|
10
|
+
return Math.min(u, f);
|
|
11
|
+
}
|
|
12
|
+
const p = (t) => (i.Children.map(t, (e) => {
|
|
13
|
+
if (!e || !i.isValidElement(e)) return null;
|
|
14
|
+
const {
|
|
15
|
+
children: l,
|
|
16
|
+
...o
|
|
17
|
+
} = e.props;
|
|
18
|
+
return o;
|
|
19
|
+
}) || []).filter((e) => !e.hidden), a = {
|
|
20
|
+
top: "",
|
|
21
|
+
left: "menu-left",
|
|
22
|
+
bottom: "menu-bottom",
|
|
23
|
+
right: "menu-right"
|
|
24
|
+
};
|
|
25
|
+
function b(t) {
|
|
26
|
+
let n = "tabs-component ";
|
|
27
|
+
return n += a[t], n;
|
|
28
|
+
}
|
|
29
|
+
const m = {
|
|
30
|
+
left: "flex-start",
|
|
31
|
+
top: "flex-start",
|
|
32
|
+
right: "flex-end",
|
|
33
|
+
bottom: "flex-end",
|
|
34
|
+
center: "center"
|
|
35
|
+
};
|
|
36
|
+
function M(t) {
|
|
37
|
+
return {
|
|
38
|
+
justifyContent: m[t]
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const O = [r.disabled, r.unvisible, r.hideContent];
|
|
42
|
+
export {
|
|
43
|
+
h as getCurrentThreshold,
|
|
44
|
+
p as getTabs,
|
|
45
|
+
M as menuStyles,
|
|
46
|
+
O as onDeniedOptions,
|
|
47
|
+
b as tabsClass
|
|
48
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode, RefObject } from 'react';
|
|
2
|
+
import { Size } from '../@types/Size';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
import { PermissionAttr } from '../@types/PermissionAttr';
|
|
5
|
+
import { IconNames } from '../@types/Icon';
|
|
6
|
+
export type TabsContextType = {
|
|
7
|
+
tabs: TabProps[];
|
|
8
|
+
menuTabs: TabProps[];
|
|
9
|
+
dropdownTabs: TabProps[];
|
|
10
|
+
selectedTabId: string | number | null;
|
|
11
|
+
selectTab: (tabId: string | number) => void;
|
|
12
|
+
removeTab: (tabId: string | number) => void;
|
|
13
|
+
containerWidth: number;
|
|
14
|
+
tabsCount: number;
|
|
15
|
+
menuRef: RefObject<HTMLUListElement>;
|
|
16
|
+
};
|
|
17
|
+
export interface TabsProviderProps {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
tabs: React.ReactNode;
|
|
20
|
+
container: RefObject<HTMLDivElement>;
|
|
21
|
+
tabsWidth: number | string;
|
|
22
|
+
selectedTab?: string | number | null;
|
|
23
|
+
onTabChange?: (tabId: string | number) => void;
|
|
24
|
+
onTabClose?: (tabId: string) => void;
|
|
25
|
+
firstTabIdent?: boolean;
|
|
26
|
+
keepTabOriginalPosition?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface ITabsPros {
|
|
29
|
+
style?: CSSProperties;
|
|
30
|
+
toolbar?: ReactElement;
|
|
31
|
+
toolBarRef?: (value: HTMLDivElement | null) => void;
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
selectedTab?: string | number;
|
|
34
|
+
tabMenuSize?: Size;
|
|
35
|
+
tabMenuAlign?: Position;
|
|
36
|
+
firstTabIdent?: boolean;
|
|
37
|
+
tabMenuPosition?: Exclude<Position, 'center'>;
|
|
38
|
+
handlerTabClick?: (id?: string | number) => void;
|
|
39
|
+
handlerCloseTab?: (id?: string, idx?: string) => void;
|
|
40
|
+
customClassForToolBar?: string;
|
|
41
|
+
tabsWidth?: string | number;
|
|
42
|
+
keepTabOriginalPosition?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface TabProps {
|
|
45
|
+
id: string | number;
|
|
46
|
+
title: string;
|
|
47
|
+
iconAlign?: Extract<Position, 'left' | 'right'>;
|
|
48
|
+
iconName?: IconNames;
|
|
49
|
+
icon?: ReactElement;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
permissionAttr?: PermissionAttr;
|
|
52
|
+
tabWidth?: string | number;
|
|
53
|
+
tabMenuSize?: Size;
|
|
54
|
+
tabMenuAlign?: Position;
|
|
55
|
+
tooltip?: string;
|
|
56
|
+
tooltipPosition?: Exclude<Position, 'center'>;
|
|
57
|
+
tooltipWidth?: string | number;
|
|
58
|
+
closeable?: boolean;
|
|
59
|
+
tabsLength?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface MenuProps {
|
|
62
|
+
toolbar?: ReactElement<any>;
|
|
63
|
+
customClass?: string;
|
|
64
|
+
customClassForToolBar?: string;
|
|
65
|
+
tabWidth?: string | number;
|
|
66
|
+
tabMenuAlign?: Position;
|
|
67
|
+
selectedTabId?: string;
|
|
68
|
+
firstTabIdent?: boolean;
|
|
69
|
+
tabs?: TabProps[];
|
|
70
|
+
tabMenuSize?: Size;
|
|
71
|
+
handlerClick?: (id?: string) => void;
|
|
72
|
+
handlerRemovePanel?: (id?: string, idx?: number, bool?: boolean) => void;
|
|
73
|
+
}
|
|
74
|
+
export interface DropdownProps extends MenuProps {
|
|
75
|
+
}
|
|
76
|
+
export interface PanelProps {
|
|
77
|
+
id?: string;
|
|
78
|
+
icon?: ReactElement;
|
|
79
|
+
title?: string;
|
|
80
|
+
hidden?: boolean;
|
|
81
|
+
tooltip?: string;
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
closable?: boolean;
|
|
84
|
+
iconName?: IconNames;
|
|
85
|
+
children?: ReactNode;
|
|
86
|
+
closeable?: boolean;
|
|
87
|
+
iconAlign?: Extract<Position, 'left' | 'right'>;
|
|
88
|
+
customClass?: string;
|
|
89
|
+
tooltipWidth?: string | number;
|
|
90
|
+
onEndReached?: () => void;
|
|
91
|
+
permissionAttr?: PermissionAttr;
|
|
92
|
+
tooltipPosition?: Exclude<Position, 'center'>;
|
|
93
|
+
onEndReachedThreshold?: number;
|
|
94
|
+
style?: CSSProperties;
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useTabs(): import('./types').TabsContextType;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React, MutableRefObject } from 'react';
|
|
2
|
+
import { WithTooltipProps } from '../internals/types';
|
|
3
|
+
interface TextContentProps extends React.HTMLAttributes<HTMLElement>, WithTooltipProps {
|
|
4
|
+
as?: 'span' | 'strong' | 'p';
|
|
5
|
+
label?: string | string[];
|
|
6
|
+
styleForLabel?: object;
|
|
7
|
+
labelUppercase?: boolean;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
targetRef?: (ref: HTMLSpanElement | null) => void;
|
|
11
|
+
labelRef?: MutableRefObject<HTMLSpanElement | null>;
|
|
12
|
+
onHoverLabel?: (e: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: {
|
|
15
|
+
(props: TextContentProps & React.RefAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { j as C } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { forwardRef as N } from "react";
|
|
4
|
+
import { _ as T } from "../chunks/lodash.CIAK_hAg.js";
|
|
5
|
+
import j from "../internals/withTooltip.js";
|
|
6
|
+
import '../assets/index4.css';const x = N((p, m) => {
|
|
7
|
+
const t = L.c(17);
|
|
8
|
+
let e, o, r, l, s, a, n;
|
|
9
|
+
if (t[0] !== m || t[1] !== p) {
|
|
10
|
+
const {
|
|
11
|
+
as: d,
|
|
12
|
+
children: b,
|
|
13
|
+
className: R,
|
|
14
|
+
label: v,
|
|
15
|
+
styleForLabel: u,
|
|
16
|
+
disabled: E,
|
|
17
|
+
targetRef: $,
|
|
18
|
+
labelRef: w,
|
|
19
|
+
onHoverLabel: y,
|
|
20
|
+
...h
|
|
21
|
+
} = p;
|
|
22
|
+
o = b, r = R, s = u, l = y, e = d === void 0 ? "span" : d, n = m, a = T.omit(h, ["tooltipWidth", "tooltip", "tooltipPosition", "labelUppercase"]), t[0] = m, t[1] = p, t[2] = e, t[3] = o, t[4] = r, t[5] = l, t[6] = s, t[7] = a, t[8] = n;
|
|
23
|
+
} else
|
|
24
|
+
e = t[2], o = t[3], r = t[4], l = t[5], s = t[6], a = t[7], n = t[8];
|
|
25
|
+
const c = a, f = `text-content-component ${r}`;
|
|
26
|
+
let i;
|
|
27
|
+
return t[9] !== e || t[10] !== o || t[11] !== l || t[12] !== c || t[13] !== s || t[14] !== f || t[15] !== n ? (i = /* @__PURE__ */ C.jsx(e, { ref: n, style: s, className: f, "data-textcontent": e, onMouseEnter: l, ...c, children: o }), t[9] = e, t[10] = o, t[11] = l, t[12] = c, t[13] = s, t[14] = f, t[15] = n, t[16] = i) : i = t[16], i;
|
|
28
|
+
});
|
|
29
|
+
x.displayName = "TextContent";
|
|
30
|
+
const U = j(x);
|
|
31
|
+
export {
|
|
32
|
+
U as default
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as C } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useContext as b } from "react";
|
|
4
|
+
import A from "../buttons/Button.js";
|
|
5
|
+
import E from "../buttons/PrimaryButton.js";
|
|
6
|
+
import R from "../buttons/DangerButton.js";
|
|
7
|
+
import S from "../buttons/WarningButton.js";
|
|
8
|
+
import k from "../buttons/SuccessButton.js";
|
|
9
|
+
import w from "../buttons/InfoButton.js";
|
|
10
|
+
import z from "../buttons/SaveButton.js";
|
|
11
|
+
import D from "../buttons/CancelButton.js";
|
|
12
|
+
import I from "../buttons/EditButton.js";
|
|
13
|
+
import P from "../buttons/DestroyButton.js";
|
|
14
|
+
import T from "../buttons/AddButton.js";
|
|
15
|
+
import $ from "../buttons/ActivateButton.js";
|
|
16
|
+
import h from "../buttons/InactivateButton.js";
|
|
17
|
+
import N from "../buttons/RestoreButton.js";
|
|
18
|
+
import '../assets/button.css';/* empty css */
|
|
19
|
+
import W from "./helpers.js";
|
|
20
|
+
const st = (c) => {
|
|
21
|
+
const r = C.c(3), {
|
|
22
|
+
size: p,
|
|
23
|
+
icon: u,
|
|
24
|
+
onClick: f,
|
|
25
|
+
iconName: l,
|
|
26
|
+
transparent: x,
|
|
27
|
+
customClass: B,
|
|
28
|
+
type: e,
|
|
29
|
+
iconAlign: m,
|
|
30
|
+
label: a,
|
|
31
|
+
...j
|
|
32
|
+
} = c, d = e === void 0 ? "default" : e, v = m === void 0 ? "left" : m, g = a === void 0 ? "" : a, {
|
|
33
|
+
skeletonize: y
|
|
34
|
+
} = b(W), t = () => ({
|
|
35
|
+
...j,
|
|
36
|
+
size: p,
|
|
37
|
+
icon: u,
|
|
38
|
+
label: g,
|
|
39
|
+
onClick: f,
|
|
40
|
+
iconName: l,
|
|
41
|
+
iconAlign: v,
|
|
42
|
+
transparent: x,
|
|
43
|
+
skeletonize: y,
|
|
44
|
+
boxShadow: !1,
|
|
45
|
+
customClass: `buttonbar ${B}`
|
|
46
|
+
}), n = N, i = t();
|
|
47
|
+
let s;
|
|
48
|
+
return r[0] !== n || r[1] !== i ? (s = /* @__PURE__ */ o.jsx(n, { ...i }), r[0] = n, r[1] = i, r[2] = s) : s = r[2], {
|
|
49
|
+
default: /* @__PURE__ */ o.jsx(A, { ...t() }),
|
|
50
|
+
primary: /* @__PURE__ */ o.jsx(E, { ...t() }),
|
|
51
|
+
danger: /* @__PURE__ */ o.jsx(R, { ...t() }),
|
|
52
|
+
info: /* @__PURE__ */ o.jsx(w, { ...t() }),
|
|
53
|
+
success: /* @__PURE__ */ o.jsx(k, { ...t() }),
|
|
54
|
+
warning: /* @__PURE__ */ o.jsx(S, { ...t() }),
|
|
55
|
+
add: /* @__PURE__ */ o.jsx(T, { ...t() }),
|
|
56
|
+
cancel: /* @__PURE__ */ o.jsx(D, { ...t() }),
|
|
57
|
+
destroy: /* @__PURE__ */ o.jsx(P, { ...t() }),
|
|
58
|
+
edit: /* @__PURE__ */ o.jsx(I, { ...t() }),
|
|
59
|
+
save: /* @__PURE__ */ o.jsx(z, { ...t() }),
|
|
60
|
+
activate: /* @__PURE__ */ o.jsx($, { ...t() }),
|
|
61
|
+
inactivate: /* @__PURE__ */ o.jsx(h, { ...t() }),
|
|
62
|
+
restore: s
|
|
63
|
+
}[d];
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
st as default
|
|
67
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useContext as v } from "react";
|
|
4
|
+
import C from "../labels/DefaultLabel.js";
|
|
5
|
+
import h from "../labels/DangerLabel.js";
|
|
6
|
+
import z from "../labels/PrimaryLabel.js";
|
|
7
|
+
import B from "../labels/WarningLabel.js";
|
|
8
|
+
import E from "../labels/SuccessLabel.js";
|
|
9
|
+
import P from "../labels/InfoLabel.js";
|
|
10
|
+
import '../assets/label.css';/* empty css */
|
|
11
|
+
import R from "./helpers.js";
|
|
12
|
+
const A = (l) => {
|
|
13
|
+
const o = L.c(3), {
|
|
14
|
+
size: p,
|
|
15
|
+
icon: c,
|
|
16
|
+
children: f,
|
|
17
|
+
iconName: x,
|
|
18
|
+
style: n,
|
|
19
|
+
type: m,
|
|
20
|
+
bordered: a,
|
|
21
|
+
...d
|
|
22
|
+
} = l, b = n === void 0 ? {} : n, u = m === void 0 ? "default" : m, j = a === void 0 ? !1 : a, y = {
|
|
23
|
+
lineHeight: "unset",
|
|
24
|
+
padding: "7px 10px 6px",
|
|
25
|
+
...b
|
|
26
|
+
}, {
|
|
27
|
+
skeletonize: g
|
|
28
|
+
} = v(R), t = () => ({
|
|
29
|
+
...d,
|
|
30
|
+
size: p,
|
|
31
|
+
icon: c,
|
|
32
|
+
children: f,
|
|
33
|
+
iconName: x,
|
|
34
|
+
style: y,
|
|
35
|
+
bordered: j,
|
|
36
|
+
skeletonize: g,
|
|
37
|
+
customClass: "labelbar"
|
|
38
|
+
}), s = B, i = t();
|
|
39
|
+
let r;
|
|
40
|
+
return o[0] !== s || o[1] !== i ? (r = /* @__PURE__ */ e.jsx(s, { ...i }), o[0] = s, o[1] = i, o[2] = r) : r = o[2], {
|
|
41
|
+
default: /* @__PURE__ */ e.jsx(C, { ...t() }),
|
|
42
|
+
primary: /* @__PURE__ */ e.jsx(z, { ...t() }),
|
|
43
|
+
danger: /* @__PURE__ */ e.jsx(h, { ...t() }),
|
|
44
|
+
info: /* @__PURE__ */ e.jsx(P, { ...t() }),
|
|
45
|
+
success: /* @__PURE__ */ e.jsx(E, { ...t() }),
|
|
46
|
+
warning: r
|
|
47
|
+
}[u];
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
A as default
|
|
51
|
+
};
|
|
@@ -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 t = o.c(1);
|
|
5
|
+
let e;
|
|
6
|
+
return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ r.jsx("div", { className: "separator" }), t[0] = e) : e = t[0], e;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { j as c } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
const p = (i) => {
|
|
4
|
+
const t = a.c(5), {
|
|
5
|
+
children: r,
|
|
6
|
+
style: o
|
|
7
|
+
} = i;
|
|
8
|
+
let s;
|
|
9
|
+
t[0] !== o ? (s = o === void 0 ? {} : o, t[0] = o, t[1] = s) : s = t[1];
|
|
10
|
+
const l = s;
|
|
11
|
+
let e;
|
|
12
|
+
return t[2] !== r || t[3] !== l ? (e = /* @__PURE__ */ c.jsx("div", { className: "toolbar-group", style: l, children: r }), t[2] = r, t[3] = l, t[4] = e) : e = t[4], e;
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
p as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as ToolBarGroup } from './ToolBarGroup';
|
|
2
|
+
import { default as Separator } from './Separator';
|
|
3
|
+
import { default as ButtonBar } from './ButtonBar';
|
|
4
|
+
import { default as LabelBar } from './LabelBar';
|
|
5
|
+
import { IToolbarProps } from './types';
|
|
6
|
+
declare const ToolBar: ({ innerRef, children, style, size, customClass, ...props }: IToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ToolBar;
|
|
8
|
+
export { ToolBarGroup, Separator, ButtonBar, LabelBar, };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { j as d } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as v } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { default as E } from "./ToolBarGroup.js";
|
|
4
|
+
import { default as G } from "./Separator.js";
|
|
5
|
+
import { default as N } from "./ButtonBar.js";
|
|
6
|
+
import { default as S } from "./LabelBar.js";
|
|
7
|
+
import '../assets/toolbar.css';/* empty css */
|
|
8
|
+
import j from "./helpers.js";
|
|
9
|
+
const T = (p) => {
|
|
10
|
+
const t = v.c(19);
|
|
11
|
+
let o, r, s, a, e, i;
|
|
12
|
+
t[0] !== p ? ({
|
|
13
|
+
innerRef: r,
|
|
14
|
+
children: o,
|
|
15
|
+
style: e,
|
|
16
|
+
size: a,
|
|
17
|
+
customClass: i,
|
|
18
|
+
...s
|
|
19
|
+
} = p, t[0] = p, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = e, t[6] = i) : (o = t[1], r = t[2], s = t[3], a = t[4], e = t[5], i = t[6]);
|
|
20
|
+
let f;
|
|
21
|
+
t[7] !== e ? (f = e === void 0 ? {} : e, t[7] = e, t[8] = f) : f = t[8];
|
|
22
|
+
const c = f, B = i === void 0 ? "" : i;
|
|
23
|
+
let m;
|
|
24
|
+
t[9] !== s ? (m = {
|
|
25
|
+
...s
|
|
26
|
+
}, t[9] = s, t[10] = m) : m = t[10];
|
|
27
|
+
const u = m, x = `toolbar-component ${a ? `${a}-bar` : ""} ${B}`;
|
|
28
|
+
let l;
|
|
29
|
+
t[11] !== o || t[12] !== r || t[13] !== c || t[14] !== x ? (l = /* @__PURE__ */ d.jsx("div", { ref: r, className: x, style: c, children: o }), t[11] = o, t[12] = r, t[13] = c, t[14] = x, t[15] = l) : l = t[15];
|
|
30
|
+
let n;
|
|
31
|
+
return t[16] !== u || t[17] !== l ? (n = /* @__PURE__ */ d.jsx(j.Provider, { value: u, children: l }), t[16] = u, t[17] = l, t[18] = n) : n = t[18], n;
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
N as ButtonBar,
|
|
35
|
+
S as LabelBar,
|
|
36
|
+
G as Separator,
|
|
37
|
+
E as ToolBarGroup,
|
|
38
|
+
T as default
|
|
39
|
+
};
|