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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode, MutableRefObject } from 'react';
|
|
2
|
+
import { ButtonTypes } from '../@types/ButtonTypes';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
import { Size } from '../@types/Size';
|
|
5
|
+
import { NodeItem } from '../treeview/types';
|
|
6
|
+
import { IconNames } from '../@types/Icon';
|
|
7
|
+
export interface IToolbarProps {
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
customClass?: string;
|
|
10
|
+
skeletonize?: boolean;
|
|
11
|
+
innerRef?: () => void;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
size?: Extract<Size, 'small' | 'large'>;
|
|
14
|
+
}
|
|
15
|
+
export interface IButtonBarProps {
|
|
16
|
+
label?: string;
|
|
17
|
+
iconName?: IconNames;
|
|
18
|
+
type?: ButtonTypes;
|
|
19
|
+
icon?: ReactElement;
|
|
20
|
+
onClick?: () => void;
|
|
21
|
+
customClass?: string;
|
|
22
|
+
transparent?: boolean;
|
|
23
|
+
size?: Size;
|
|
24
|
+
iconAlign?: Exclude<Position, 'top' | 'bottom'>;
|
|
25
|
+
validationKey?: string;
|
|
26
|
+
boxShadow?: boolean;
|
|
27
|
+
id?: string;
|
|
28
|
+
onNodeElementClick?: (node: NodeItem) => void;
|
|
29
|
+
buttonRef?: MutableRefObject<HTMLButtonElement | null> | ((ref: HTMLButtonElement | null) => void);
|
|
30
|
+
}
|
|
31
|
+
export interface ILabelBarProps {
|
|
32
|
+
iconName?: IconNames;
|
|
33
|
+
bordered?: boolean;
|
|
34
|
+
icon?: ReactElement;
|
|
35
|
+
children?: ReactNode;
|
|
36
|
+
style?: CSSProperties;
|
|
37
|
+
size?: Extract<Size, 'small' | 'large'>;
|
|
38
|
+
type?: Extract<ButtonTypes, 'default' | 'primary' | 'danger' | 'info' | 'success' | 'warning'>;
|
|
39
|
+
}
|
|
40
|
+
export interface IToolBarGroup {
|
|
41
|
+
style?: CSSProperties;
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { j as f } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { useRef as h, useEffect as e } from "react";
|
|
3
|
+
import a from "react-dom";
|
|
4
|
+
import { v } from "../chunks/v1.Ds1rkxUj.js";
|
|
5
|
+
import '../assets/index5.css';const x = ({
|
|
6
|
+
text: m,
|
|
7
|
+
textError: n,
|
|
8
|
+
tooltipRef: u,
|
|
9
|
+
style: r = "",
|
|
10
|
+
tooltipDimensions: c,
|
|
11
|
+
className: o = "bottom",
|
|
12
|
+
handlerSetDimensions: p = () => {
|
|
13
|
+
}
|
|
14
|
+
}) => {
|
|
15
|
+
const t = h(document.createElement("div"));
|
|
16
|
+
e(() => {
|
|
17
|
+
t.current.id = `tooltip-${v()}`, t.current.className = `tooltip-component ${o} `, t.current.dataset.testid = "tooltip-component", t.current.style.cssText = r, document.body.appendChild(t.current);
|
|
18
|
+
const i = document.querySelector(`div#${t.current.id}`);
|
|
19
|
+
let d = i?.offsetWidth;
|
|
20
|
+
const l = i?.offsetHeight;
|
|
21
|
+
return c && c.width && (d = c.width), p({
|
|
22
|
+
width: d,
|
|
23
|
+
height: Number(l)
|
|
24
|
+
}), u && (u.current = i), () => {
|
|
25
|
+
document.body.removeChild(t.current);
|
|
26
|
+
};
|
|
27
|
+
}, []), e(() => {
|
|
28
|
+
t.current.className = `tooltip-component ${o} `;
|
|
29
|
+
}, [o]), e(() => {
|
|
30
|
+
t.current.style.cssText = r;
|
|
31
|
+
}, [r]), e(() => {
|
|
32
|
+
t.current.className = n ? `tooltip-error tooltip-component ${o}` : `tooltip-component ${o}`;
|
|
33
|
+
}, [n]);
|
|
34
|
+
const s = () => /* @__PURE__ */ f.jsx("div", { className: "tooltipcontent", children: n || m });
|
|
35
|
+
return a.createPortal(s(), t.current);
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
x as default
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
type Dimensions = {
|
|
3
|
+
width: number | string;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
export interface ITooltipProps {
|
|
7
|
+
text?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
tooltipRef?: MutableRefObject<HTMLElement | null>;
|
|
11
|
+
handlerSetDimensions?: ({ width, height }: Dimensions) => void;
|
|
12
|
+
tooltipDimensions?: Dimensions;
|
|
13
|
+
textError?: string;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { j as n } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as x } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useContext as d, useState as u, useEffect as w } from "react";
|
|
4
|
+
import "../chunks/lodash.CIAK_hAg.js";
|
|
5
|
+
import "../table/helpers.js";
|
|
6
|
+
import R from "../table/Body.js";
|
|
7
|
+
import "../icons/index.js";
|
|
8
|
+
import '../assets/table.css';import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { TreeTableContext as E, searchRootElements as T } from "./helpers.js";
|
|
12
|
+
import j from "./Row.js";
|
|
13
|
+
const S = () => {
|
|
14
|
+
const o = x.c(11), {
|
|
15
|
+
data: e,
|
|
16
|
+
rootPropName: s,
|
|
17
|
+
stylesForRow: a,
|
|
18
|
+
parentPropName: f
|
|
19
|
+
} = d(E), [m, c] = u();
|
|
20
|
+
let i;
|
|
21
|
+
o[0] !== e || o[1] !== f ? (i = () => {
|
|
22
|
+
const t = T(e, f, 0);
|
|
23
|
+
c(t);
|
|
24
|
+
}, o[0] = e, o[1] = f, o[2] = i) : i = o[2];
|
|
25
|
+
let p;
|
|
26
|
+
o[3] !== e ? (p = [e], o[3] = e, o[4] = p) : p = o[4], w(i, p);
|
|
27
|
+
let r;
|
|
28
|
+
o[5] !== m || o[6] !== s || o[7] !== a ? (r = m && m.map((t) => /* @__PURE__ */ n.jsx(j, { dataRow: t, rowLevel: t.rowLevel ? t.rowLevel + 1 : 0, rowId: `${t[s]}`, style: a }, t[s])), o[5] = m, o[6] = s, o[7] = a, o[8] = r) : r = o[8];
|
|
29
|
+
let l;
|
|
30
|
+
return o[9] !== r ? (l = /* @__PURE__ */ n.jsx(R, { children: r }), o[9] = r, o[10] = l) : l = o[10], l;
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
S as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { j as i } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as p } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import { useContext as l } from "react";
|
|
4
|
+
import "../chunks/lodash.CIAK_hAg.js";
|
|
5
|
+
import a from "../table/Header.js";
|
|
6
|
+
import n from "../table/Row.js";
|
|
7
|
+
import "../table/helpers.js";
|
|
8
|
+
import '../assets/table.css';import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
import f from "../table/HeaderColumn.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { TreeTableContext as c } from "./helpers.js";
|
|
13
|
+
import { v as s } from "../chunks/v1.Ds1rkxUj.js";
|
|
14
|
+
const E = () => {
|
|
15
|
+
const e = p.c(5), {
|
|
16
|
+
dataColumns: m
|
|
17
|
+
} = l(c);
|
|
18
|
+
let r;
|
|
19
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = s(), e[0] = r) : r = e[0];
|
|
20
|
+
let t;
|
|
21
|
+
e[1] !== m ? (t = m.map(d), e[1] = m, e[2] = t) : t = e[2];
|
|
22
|
+
let o;
|
|
23
|
+
return e[3] !== t ? (o = /* @__PURE__ */ i.jsx(a, { children: /* @__PURE__ */ i.jsx(n, { children: t }, `tr-header-${r}`) }), e[3] = t, e[4] = o) : o = e[4], o;
|
|
24
|
+
};
|
|
25
|
+
function d(e) {
|
|
26
|
+
return /* @__PURE__ */ i.jsx(f, { style: e.style, children: e.title }, `th-${e.name}-${s()}`);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
E as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { j as t } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as Ve } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import Pe, { useContext as We, useState as M, useRef as Xe, useEffect as me, Fragment as Le, createElement as Ye } from "react";
|
|
4
|
+
import { _ as qe } from "../chunks/lodash.CIAK_hAg.js";
|
|
5
|
+
import He from "../icons/index.js";
|
|
6
|
+
import Fe from "../spinner/SpinnerLoading.js";
|
|
7
|
+
import "../table/helpers.js";
|
|
8
|
+
import Ie from "../table/Row.js";
|
|
9
|
+
import '../assets/table.css';import '../assets/skeleton.css';import '../assets/gridlayout.css';/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import ze from "../table/RowColumn.js";
|
|
12
|
+
/* empty css */
|
|
13
|
+
import Be from "../toolbar/index.js";
|
|
14
|
+
import { TreeTableContext as Je, searchChildrensPerRow as Qe } from "./helpers.js";
|
|
15
|
+
import { v as fe } from "../chunks/v1.Ds1rkxUj.js";
|
|
16
|
+
import Oe from "../toolbar/ToolBarGroup.js";
|
|
17
|
+
const Ue = (f) => {
|
|
18
|
+
const e = Ve.c(103), {
|
|
19
|
+
data: h,
|
|
20
|
+
dataColumns: n,
|
|
21
|
+
rootPropName: A,
|
|
22
|
+
stylesForRow: he,
|
|
23
|
+
parentPropName: pe,
|
|
24
|
+
styleForLeftToolbar: ue,
|
|
25
|
+
onClickFirstColumn: D,
|
|
26
|
+
onClickGetChildrens: z,
|
|
27
|
+
leftToolbarElements: G,
|
|
28
|
+
rightToolbarElements: K,
|
|
29
|
+
styleForRightToolbar: xe,
|
|
30
|
+
toolbarElementsValidations: c,
|
|
31
|
+
openNodeId: p
|
|
32
|
+
} = We(Je), {
|
|
33
|
+
rowId: o,
|
|
34
|
+
dataRow: s,
|
|
35
|
+
rowLevel: B
|
|
36
|
+
} = f, [d, be] = M(!1), [i, Me] = M(), [V, ge] = M(!1), [m, $e] = M(!1), [we, Ae] = M(!1), Ce = Xe(null);
|
|
37
|
+
let W;
|
|
38
|
+
e[0] !== h || e[1] !== pe || e[2] !== o || e[3] !== B ? (W = () => {
|
|
39
|
+
const l = Qe(h, pe, o, B);
|
|
40
|
+
Me(l), ge(!1);
|
|
41
|
+
}, e[0] = h, e[1] = pe, e[2] = o, e[3] = B, e[4] = W) : W = e[4];
|
|
42
|
+
const u = W;
|
|
43
|
+
let X;
|
|
44
|
+
e[5] !== we || e[6] !== z || e[7] !== d || e[8] !== o || e[9] !== u ? (X = () => {
|
|
45
|
+
!we && !d ? (be(!0), ge(!0), z?.(o) && typeof z(o).finally == "function" && z(o).then(Ze).catch(et).finally(() => {
|
|
46
|
+
u();
|
|
47
|
+
}), Ae(!0)) : be(tt);
|
|
48
|
+
}, e[5] = we, e[6] = z, e[7] = d, e[8] = o, e[9] = u, e[10] = X) : X = e[10];
|
|
49
|
+
const ve = X;
|
|
50
|
+
let Y;
|
|
51
|
+
e[11] !== s || e[12] !== c ? (Y = (l) => {
|
|
52
|
+
const r = c && c[l], a = {
|
|
53
|
+
disabled: {
|
|
54
|
+
disabled: !0
|
|
55
|
+
},
|
|
56
|
+
unvisible: {
|
|
57
|
+
visible: !1
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
let F = {};
|
|
61
|
+
return r && r.forEach((ce) => {
|
|
62
|
+
const {
|
|
63
|
+
validator: de,
|
|
64
|
+
onDenied: O
|
|
65
|
+
} = ce;
|
|
66
|
+
qe.isEmpty(F) && de && de(s) && O && (F = a[O] || a.unvisible);
|
|
67
|
+
}), F;
|
|
68
|
+
}, e[11] = s, e[12] = c, e[13] = Y) : Y = e[13];
|
|
69
|
+
const je = Y;
|
|
70
|
+
let q;
|
|
71
|
+
e[14] !== s || e[15] !== c || e[16] !== je ? (q = (l) => {
|
|
72
|
+
let r = [];
|
|
73
|
+
return l && (r = Pe.Children.map(l, (a) => {
|
|
74
|
+
if (Pe.isValidElement(a) && a.props) {
|
|
75
|
+
const {
|
|
76
|
+
validationKey: F,
|
|
77
|
+
onNodeElementClick: ce,
|
|
78
|
+
...de
|
|
79
|
+
} = a.props;
|
|
80
|
+
let O, Se = {};
|
|
81
|
+
return c && F && (O = je(F)), ce && (Se = {
|
|
82
|
+
...Se,
|
|
83
|
+
onClick: (ke) => {
|
|
84
|
+
ce(s), ke.stopPropagation && ke.stopPropagation();
|
|
85
|
+
}
|
|
86
|
+
}), Ye(a.type, {
|
|
87
|
+
...de,
|
|
88
|
+
...Se,
|
|
89
|
+
...O
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
return a;
|
|
93
|
+
})), r;
|
|
94
|
+
}, e[14] = s, e[15] = c, e[16] = je, e[17] = q) : q = e[17];
|
|
95
|
+
const x = q;
|
|
96
|
+
let H;
|
|
97
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (H = () => {
|
|
98
|
+
$e(!0);
|
|
99
|
+
}, e[18] = H) : H = e[18];
|
|
100
|
+
const De = H;
|
|
101
|
+
let J;
|
|
102
|
+
e[19] === Symbol.for("react.memo_cache_sentinel") ? (J = (l) => {
|
|
103
|
+
const r = document.elementFromPoint(l.clientX, l.clientY);
|
|
104
|
+
Ce.current && !Ce.current.contains(r) && $e(!1);
|
|
105
|
+
}, e[19] = J) : J = e[19];
|
|
106
|
+
const ye = J;
|
|
107
|
+
let Q;
|
|
108
|
+
e[20] !== u ? (Q = () => {
|
|
109
|
+
u();
|
|
110
|
+
}, e[20] = u, e[21] = Q) : Q = e[21];
|
|
111
|
+
let U;
|
|
112
|
+
e[22] !== h ? (U = [h], e[22] = h, e[23] = U) : U = e[23], me(Q, U);
|
|
113
|
+
let Z;
|
|
114
|
+
e[24] === Symbol.for("react.memo_cache_sentinel") ? (Z = () => {
|
|
115
|
+
ge(!1);
|
|
116
|
+
}, e[24] = Z) : Z = e[24];
|
|
117
|
+
let ee;
|
|
118
|
+
e[25] !== i ? (ee = [i], e[25] = i, e[26] = ee) : ee = e[26], me(Z, ee);
|
|
119
|
+
let te, le;
|
|
120
|
+
e[27] !== m ? (te = () => (m ? window.addEventListener("mousemove", ye) : window.removeEventListener("mousemove", ye), () => {
|
|
121
|
+
window.removeEventListener("mousemove", ye);
|
|
122
|
+
}), le = [m], e[27] = m, e[28] = te, e[29] = le) : (te = e[28], le = e[29]), me(te, le);
|
|
123
|
+
let se;
|
|
124
|
+
e[30] !== s.id || e[31] !== p ? (se = () => {
|
|
125
|
+
p === Number(s.id) && be(!0);
|
|
126
|
+
}, e[30] = s.id, e[31] = p, e[32] = se) : se = e[32];
|
|
127
|
+
let oe;
|
|
128
|
+
e[33] !== p ? (oe = [p], e[33] = p, e[34] = oe) : oe = e[34], me(se, oe);
|
|
129
|
+
const Ge = n[0].name;
|
|
130
|
+
let ne;
|
|
131
|
+
e[35] === Symbol.for("react.memo_cache_sentinel") ? (ne = fe(), e[35] = ne) : ne = e[35];
|
|
132
|
+
const Ee = `td-${Ge}-${ne}`, Ke = n[0].style, _e = `column-more-childrens ${B && "line-path-decoration"}`, Ne = `${B}rem`;
|
|
133
|
+
let b;
|
|
134
|
+
e[36] !== Ne ? (b = {
|
|
135
|
+
marginLeft: Ne
|
|
136
|
+
}, e[36] = Ne, e[37] = b) : b = e[37];
|
|
137
|
+
let g;
|
|
138
|
+
e[38] !== ve ? (g = () => ve(), e[38] = ve, e[39] = g) : g = e[39];
|
|
139
|
+
const Re = d ? "down" : "arrow_right";
|
|
140
|
+
let w;
|
|
141
|
+
e[40] !== Re ? (w = /* @__PURE__ */ t.jsx(He, { name: Re, size: 10 }), e[40] = Re, e[41] = w) : w = e[41];
|
|
142
|
+
let C;
|
|
143
|
+
e[42] !== g || e[43] !== w ? (C = /* @__PURE__ */ t.jsx("button", { tabIndex: -1, className: "open-close-children", onClick: g, children: w }), e[42] = g, e[43] = w, e[44] = C) : C = e[44];
|
|
144
|
+
let v;
|
|
145
|
+
e[45] !== D || e[46] !== o ? (v = () => D ? D(o) : {}, e[45] = D, e[46] = o, e[47] = v) : v = e[47];
|
|
146
|
+
const Te = s[n[0].name];
|
|
147
|
+
let j;
|
|
148
|
+
e[48] !== v || e[49] !== Te ? (j = /* @__PURE__ */ t.jsx("span", { tabIndex: -1, role: "button", className: "value-button", onClick: v, children: Te }), e[48] = v, e[49] = Te, e[50] = j) : j = e[50];
|
|
149
|
+
let ie;
|
|
150
|
+
e[51] === Symbol.for("react.memo_cache_sentinel") ? (ie = fe(), e[51] = ie) : ie = e[51];
|
|
151
|
+
let y;
|
|
152
|
+
e[52] !== ue ? (y = {
|
|
153
|
+
float: "left",
|
|
154
|
+
height: "fit-content",
|
|
155
|
+
...ue
|
|
156
|
+
}, e[52] = ue, e[53] = y) : y = e[53];
|
|
157
|
+
let E;
|
|
158
|
+
e[54] !== x || e[55] !== G || e[56] !== m ? (E = m && G && x(G), e[54] = x, e[55] = G, e[56] = m, e[57] = E) : E = e[57];
|
|
159
|
+
let _;
|
|
160
|
+
e[58] !== y || e[59] !== E ? (_ = /* @__PURE__ */ t.jsx("span", { className: "container-toolbar-buttons", children: /* @__PURE__ */ t.jsx(Be, { size: "small", customClass: "row-toolbar", children: /* @__PURE__ */ t.jsx(Oe, { style: y, children: E }, `left-toolbar-${ie}`) }) }), e[58] = y, e[59] = E, e[60] = _) : _ = e[60];
|
|
161
|
+
let N;
|
|
162
|
+
e[61] !== _e || e[62] !== b || e[63] !== C || e[64] !== j || e[65] !== _ ? (N = /* @__PURE__ */ t.jsxs("span", { className: _e, style: b, children: [
|
|
163
|
+
C,
|
|
164
|
+
j,
|
|
165
|
+
_
|
|
166
|
+
] }), e[61] = _e, e[62] = b, e[63] = C, e[64] = j, e[65] = _, e[66] = N) : N = e[66];
|
|
167
|
+
let re;
|
|
168
|
+
e[67] === Symbol.for("react.memo_cache_sentinel") ? (re = fe(), e[67] = re) : re = e[67];
|
|
169
|
+
let R;
|
|
170
|
+
e[68] !== xe ? (R = {
|
|
171
|
+
float: "right",
|
|
172
|
+
height: "fit-content",
|
|
173
|
+
gap: "4px",
|
|
174
|
+
...xe
|
|
175
|
+
}, e[68] = xe, e[69] = R) : R = e[69];
|
|
176
|
+
let T;
|
|
177
|
+
e[70] !== x || e[71] !== K ? (T = K && x(K), e[70] = x, e[71] = K, e[72] = T) : T = e[72];
|
|
178
|
+
let S;
|
|
179
|
+
e[73] !== R || e[74] !== T ? (S = /* @__PURE__ */ t.jsx("span", { className: "container-toolbar-info", children: /* @__PURE__ */ t.jsx(Be, { size: "small", customClass: "row-toolbar", children: /* @__PURE__ */ t.jsx(Oe, { style: R, children: T }, `right-toolbar-${re}`) }) }), e[73] = R, e[74] = T, e[75] = S) : S = e[75];
|
|
180
|
+
let L;
|
|
181
|
+
e[76] !== N || e[77] !== S ? (L = /* @__PURE__ */ t.jsxs("div", { ref: Ce, className: "column-container", onMouseEnter: De, children: [
|
|
182
|
+
N,
|
|
183
|
+
S
|
|
184
|
+
] }), e[76] = N, e[77] = S, e[78] = L) : L = e[78];
|
|
185
|
+
let I;
|
|
186
|
+
e[79] !== n[0].style || e[80] !== Ee || e[81] !== L ? (I = /* @__PURE__ */ t.jsx(ze, { ignoreTableColClick: !0, style: Ke, children: L }, Ee), e[79] = n[0].style, e[80] = Ee, e[81] = L, e[82] = I) : I = e[82];
|
|
187
|
+
let $;
|
|
188
|
+
if (e[83] !== n || e[84] !== s) {
|
|
189
|
+
let l;
|
|
190
|
+
e[86] !== s ? (l = (r) => /* @__PURE__ */ t.jsx(ze, { style: {
|
|
191
|
+
...r.style
|
|
192
|
+
}, ignoreTableColClick: !0, children: s[r.name] }, `key-${r.name}-${fe()}`), e[86] = s, e[87] = l) : l = e[87], $ = n.slice(1).map(l), e[83] = n, e[84] = s, e[85] = $;
|
|
193
|
+
} else
|
|
194
|
+
$ = e[85];
|
|
195
|
+
let k;
|
|
196
|
+
e[88] !== f || e[89] !== o || e[90] !== I || e[91] !== $ ? (k = /* @__PURE__ */ t.jsxs(Ie, { ...f, dataId: o, customClass: "tree-row-element", children: [
|
|
197
|
+
I,
|
|
198
|
+
$
|
|
199
|
+
] }), e[88] = f, e[89] = o, e[90] = I, e[91] = $, e[92] = k) : k = e[92];
|
|
200
|
+
let P;
|
|
201
|
+
e[93] !== i || e[94] !== n.length || e[95] !== V || e[96] !== d || e[97] !== A || e[98] !== he ? (P = d && /* @__PURE__ */ t.jsx(Le, { children: i && i.length === 0 && V ? /* @__PURE__ */ t.jsx(Ie, { children: /* @__PURE__ */ t.jsx("td", { colSpan: n.length, className: "td-loading-childrens", children: /* @__PURE__ */ t.jsx("div", { className: "td-loading-childrens-container", children: /* @__PURE__ */ t.jsx(Fe, { size: "48px" }, "loading-childrens") }) }) }, "tr-loading-childrens") : /* @__PURE__ */ t.jsxs(Le, { children: [
|
|
202
|
+
i && i.map((l) => /* @__PURE__ */ t.jsx(Ue, { dataRow: l, rowLevel: l.rowLevel ? l.rowLevel + 1 : 1, rowId: `${l[A]}`, style: he }, l[A])),
|
|
203
|
+
i && i.length !== 0 && V && /* @__PURE__ */ t.jsx(Ie, { children: /* @__PURE__ */ t.jsx("td", { colSpan: n.length, className: "td-loading-childrens", children: /* @__PURE__ */ t.jsx("div", { className: "td-loading-childrens-container", children: /* @__PURE__ */ t.jsx(Fe, { size: "48px" }, "loading-childrens") }) }) }, "tr-loading-childrens")
|
|
204
|
+
] }) }), e[93] = i, e[94] = n.length, e[95] = V, e[96] = d, e[97] = A, e[98] = he, e[99] = P) : P = e[99];
|
|
205
|
+
let ae;
|
|
206
|
+
return e[100] !== k || e[101] !== P ? (ae = /* @__PURE__ */ t.jsxs(Le, { children: [
|
|
207
|
+
k,
|
|
208
|
+
P
|
|
209
|
+
] }), e[100] = k, e[101] = P, e[102] = ae) : ae = e[102], ae;
|
|
210
|
+
};
|
|
211
|
+
function Ze() {
|
|
212
|
+
}
|
|
213
|
+
function et() {
|
|
214
|
+
}
|
|
215
|
+
function tt(f) {
|
|
216
|
+
return !f;
|
|
217
|
+
}
|
|
218
|
+
export {
|
|
219
|
+
Ue as default
|
|
220
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const TreeTableContext: import('react').Context<import('./types').ITreeTableProps>;
|
|
2
|
+
export declare const searchRootElements: (data: Array<{
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>, parentPropName: string, rowLevel?: number) => ({
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
} & {
|
|
7
|
+
rowLevel: number;
|
|
8
|
+
})[];
|
|
9
|
+
export declare const searchChildrensPerRow: (data: Array<{
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>, parentPropName: string, rowId?: string | number, rowLevel?: number) => {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createContext as o } from "react";
|
|
2
|
+
const c = o({}), m = (e, s, r = 0) => {
|
|
3
|
+
let n;
|
|
4
|
+
return e && (n = e.filter((t) => !t[s]), n.map((t) => Object.assign(t, {}, {
|
|
5
|
+
rowLevel: r
|
|
6
|
+
})));
|
|
7
|
+
}, f = (e, s, r, n = 0) => {
|
|
8
|
+
let t;
|
|
9
|
+
return e && r ? (t = e.filter((i) => i[s] === Number(r)), t.map((i) => Object.assign(i, {}, {
|
|
10
|
+
rowLevel: n
|
|
11
|
+
}))) : e;
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
c as TreeTableContext,
|
|
15
|
+
f as searchChildrensPerRow,
|
|
16
|
+
m as searchRootElements
|
|
17
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { j as n } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
import c from "../table/index.js";
|
|
4
|
+
import f from "./Body.js";
|
|
5
|
+
import x from "./Header.js";
|
|
6
|
+
import { TreeTableContext as T } from "./helpers.js";
|
|
7
|
+
import '../assets/index17.css';const v = (t) => {
|
|
8
|
+
const e = a.c(9);
|
|
9
|
+
let o;
|
|
10
|
+
e[0] !== t ? (o = {
|
|
11
|
+
...t
|
|
12
|
+
}, e[0] = t, e[1] = o) : o = e[1];
|
|
13
|
+
const s = o;
|
|
14
|
+
let r, i;
|
|
15
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n.jsx(x, {}), i = /* @__PURE__ */ n.jsx(f, {}), e[2] = r, e[3] = i) : (r = e[2], i = e[3]);
|
|
16
|
+
let l;
|
|
17
|
+
e[4] !== t ? (l = /* @__PURE__ */ n.jsxs(c, { ...t, onColClick: u, children: [
|
|
18
|
+
r,
|
|
19
|
+
i
|
|
20
|
+
] }), e[4] = t, e[5] = l) : l = e[5];
|
|
21
|
+
let m;
|
|
22
|
+
return e[6] !== s || e[7] !== l ? (m = /* @__PURE__ */ n.jsx(T.Provider, { value: s, children: l }), e[6] = s, e[7] = l, e[8] = m) : m = e[8], m;
|
|
23
|
+
};
|
|
24
|
+
function u() {
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
v as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { j as c } from "../chunks/jsx-runtime.D1SHvdVE.js";
|
|
2
|
+
import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
|
|
3
|
+
const p = (o) => {
|
|
4
|
+
const e = m.c(6), {
|
|
5
|
+
title: s,
|
|
6
|
+
customClass: a,
|
|
7
|
+
children: i
|
|
8
|
+
} = o, l = `treeviewheader ${a}`;
|
|
9
|
+
let t;
|
|
10
|
+
e[0] !== i || e[1] !== s ? (t = s ? /* @__PURE__ */ c.jsx("div", { className: "title", children: s }) : i, e[0] = i, e[1] = s, e[2] = t) : t = e[2];
|
|
11
|
+
let r;
|
|
12
|
+
return e[3] !== l || e[4] !== t ? (r = /* @__PURE__ */ c.jsx("div", { className: l, children: t }), e[3] = l, e[4] = t, e[5] = r) : r = e[5], r;
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
p as default
|
|
16
|
+
};
|