@deviceinsight/ng-ui-components 6.18.0 → 6.19.0
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/cjs/__mocks__/i18n.d.ts +12 -4
- package/lib/cjs/__mocks__/i18n.d.ts.map +1 -1
- package/lib/cjs/__mocks__/i18n.js +20 -7
- package/lib/cjs/components/chart/Chart.d.ts +1 -1
- package/lib/cjs/components/colorpicker/ColorPickerPopper.d.ts +1 -1
- package/lib/cjs/components/colorpicker/GradientColorPicker.d.ts +2 -2
- package/lib/cjs/components/colorpicker/GridColorPicker.d.ts +2 -2
- package/lib/cjs/components/contentHeader/ContentHeader.d.ts +1 -1
- package/lib/cjs/components/contentHeader/ContentHeader.d.ts.map +1 -1
- package/lib/cjs/components/infobox/InfoBox.d.ts +1 -1
- package/lib/cjs/components/infobox/InfoBox.d.ts.map +1 -1
- package/lib/cjs/components/input/DateInput.d.ts +2 -2
- package/lib/cjs/components/input/DateInput.d.ts.map +1 -1
- package/lib/cjs/components/input/DateTimeInput.d.ts +2 -2
- package/lib/cjs/components/input/DateTimeInput.d.ts.map +1 -1
- package/lib/cjs/components/input/SelectWithSearch.d.ts +4 -1
- package/lib/cjs/components/input/SelectWithSearch.d.ts.map +1 -1
- package/lib/cjs/components/input/SelectWithSearch.js +25 -4
- package/lib/cjs/components/input/SelectWithSearchAsync.d.ts +1 -1
- package/lib/cjs/components/input/UrnInput.d.ts +1 -1
- package/lib/cjs/components/input/ValidatedTextInput.d.ts +1 -1
- package/lib/cjs/components/input/__tests__/DateInput.spec.js +24 -24
- package/lib/cjs/components/input/__tests__/DateTimeInput.spec.js +5 -4
- package/lib/cjs/components/input/__tests__/SelectWithSearchAsync.spec.js +12 -11
- package/lib/cjs/components/link/RouteLink.d.ts +2 -2
- package/lib/cjs/components/link/RouteLink.d.ts.map +1 -1
- package/lib/cjs/components/multiMenu/MultiMenu.d.ts +1 -1
- package/lib/cjs/components/multiMenu/components/MultiMenuItem.d.ts +1 -1
- package/lib/cjs/components/pagination/Pagination.d.ts +1 -1
- package/lib/cjs/components/pagination/__tests__/Pagination.spec.js +70 -70
- package/lib/cjs/components/periodpicker/PeriodPicker.d.ts +2 -2
- package/lib/cjs/components/periodpicker/PeriodPicker.d.ts.map +1 -1
- package/lib/cjs/components/periodpicker/components/Inputs.d.ts +2 -2
- package/lib/cjs/components/periodpicker/components/Inputs.d.ts.map +1 -1
- package/lib/cjs/components/periodpicker/components/Menu.d.ts +2 -2
- package/lib/cjs/components/periodpicker/components/Menu.d.ts.map +1 -1
- package/lib/cjs/components/periodpicker/components/MonthPicker.d.ts +2 -2
- package/lib/cjs/components/periodpicker/components/MonthPicker.d.ts.map +1 -1
- package/lib/cjs/components/periodpicker/usePeriodName.d.ts +1 -1
- package/lib/cjs/components/periodpicker/usePeriodName.d.ts.map +1 -1
- package/lib/cjs/components/periodpicker/usePeriodName.js +2 -2
- package/lib/cjs/components/prompt/Prompt.d.ts +2 -2
- package/lib/cjs/components/prompt/Prompt.d.ts.map +1 -1
- package/lib/cjs/components/reactable/Reactable.d.ts +1 -1
- package/lib/cjs/components/reactable/helpers/ReactableTable.d.ts +1 -1
- package/lib/cjs/components/reactable/helpers/ReactableTableHeader.d.ts +2 -2
- package/lib/cjs/components/reactable/helpers/ReactableTableHeader.d.ts.map +1 -1
- package/lib/cjs/components/reactable/helpers/ReactableTableRow.d.ts +1 -1
- package/lib/cjs/components/reactableWithClientSidePagination/ReactableWithClientSidePagination.d.ts +1 -1
- package/lib/cjs/components/reactableWithClientSidePagination/__tests__/ReactableWithClientSidePagination.spec.js +64 -72
- package/lib/cjs/components/slider/Slider.d.ts +2 -2
- package/lib/cjs/components/slider/Slider.d.ts.map +1 -1
- package/lib/cjs/components/svg/SvgImage.d.ts +2 -2
- package/lib/cjs/components/svg/SvgImage.d.ts.map +1 -1
- package/lib/cjs/components/svg/utils/__tests__/getMutableNodeList.spec.js +11 -10
- package/lib/cjs/components/tabs/RouteTabs.d.ts +1 -1
- package/lib/cjs/components/tabs/RouteTabs.d.ts.map +1 -1
- package/lib/cjs/components/tabs/RouteTabs.js +2 -2
- package/lib/cjs/components/treeview/TreeView.d.ts +1 -1
- package/lib/cjs/components/treeview/components/Node.d.ts +1 -1
- package/lib/cjs/components/treeview/components/NodeInfo.d.ts +1 -1
- package/lib/cjs/components/upload/FileUpload.d.ts +1 -1
- package/lib/cjs/components/upload/ImageUpload.d.ts +1 -1
- package/lib/cjs/modules/messageBox/messageBox.d.ts +2 -2
- package/lib/cjs/modules/messageBox/messageBox.d.ts.map +1 -1
- package/lib/esm/__mocks__/i18n.d.ts +12 -4
- package/lib/esm/__mocks__/i18n.d.ts.map +1 -1
- package/lib/esm/__mocks__/i18n.js +20 -5
- package/lib/esm/components/chart/Chart.d.ts +1 -1
- package/lib/esm/components/colorpicker/ColorPickerPopper.d.ts +1 -1
- package/lib/esm/components/colorpicker/GradientColorPicker.d.ts +2 -2
- package/lib/esm/components/colorpicker/GridColorPicker.d.ts +2 -2
- package/lib/esm/components/contentHeader/ContentHeader.d.ts +1 -1
- package/lib/esm/components/contentHeader/ContentHeader.d.ts.map +1 -1
- package/lib/esm/components/infobox/InfoBox.d.ts +1 -1
- package/lib/esm/components/infobox/InfoBox.d.ts.map +1 -1
- package/lib/esm/components/input/DateInput.d.ts +2 -2
- package/lib/esm/components/input/DateInput.d.ts.map +1 -1
- package/lib/esm/components/input/DateTimeInput.d.ts +2 -2
- package/lib/esm/components/input/DateTimeInput.d.ts.map +1 -1
- package/lib/esm/components/input/SelectWithSearch.d.ts +4 -1
- package/lib/esm/components/input/SelectWithSearch.d.ts.map +1 -1
- package/lib/esm/components/input/SelectWithSearch.js +25 -4
- package/lib/esm/components/input/SelectWithSearchAsync.d.ts +1 -1
- package/lib/esm/components/input/UrnInput.d.ts +1 -1
- package/lib/esm/components/input/ValidatedTextInput.d.ts +1 -1
- package/lib/esm/components/input/__tests__/DateInput.spec.js +4 -4
- package/lib/esm/components/input/__tests__/DateTimeInput.spec.js +1 -0
- package/lib/esm/components/input/__tests__/SelectWithSearchAsync.spec.js +3 -2
- package/lib/esm/components/link/RouteLink.d.ts +2 -2
- package/lib/esm/components/link/RouteLink.d.ts.map +1 -1
- package/lib/esm/components/multiMenu/MultiMenu.d.ts +1 -1
- package/lib/esm/components/multiMenu/components/MultiMenuItem.d.ts +1 -1
- package/lib/esm/components/pagination/Pagination.d.ts +1 -1
- package/lib/esm/components/pagination/__tests__/Pagination.spec.js +53 -53
- package/lib/esm/components/periodpicker/PeriodPicker.d.ts +2 -2
- package/lib/esm/components/periodpicker/PeriodPicker.d.ts.map +1 -1
- package/lib/esm/components/periodpicker/components/Inputs.d.ts +2 -2
- package/lib/esm/components/periodpicker/components/Inputs.d.ts.map +1 -1
- package/lib/esm/components/periodpicker/components/Menu.d.ts +2 -2
- package/lib/esm/components/periodpicker/components/Menu.d.ts.map +1 -1
- package/lib/esm/components/periodpicker/components/MonthPicker.d.ts +2 -2
- package/lib/esm/components/periodpicker/components/MonthPicker.d.ts.map +1 -1
- package/lib/esm/components/periodpicker/usePeriodName.d.ts +1 -1
- package/lib/esm/components/periodpicker/usePeriodName.d.ts.map +1 -1
- package/lib/esm/components/periodpicker/usePeriodName.js +1 -1
- package/lib/esm/components/prompt/Prompt.d.ts +2 -2
- package/lib/esm/components/prompt/Prompt.d.ts.map +1 -1
- package/lib/esm/components/reactable/Reactable.d.ts +1 -1
- package/lib/esm/components/reactable/helpers/ReactableTable.d.ts +1 -1
- package/lib/esm/components/reactable/helpers/ReactableTableHeader.d.ts +2 -2
- package/lib/esm/components/reactable/helpers/ReactableTableHeader.d.ts.map +1 -1
- package/lib/esm/components/reactable/helpers/ReactableTableRow.d.ts +1 -1
- package/lib/esm/components/reactableWithClientSidePagination/ReactableWithClientSidePagination.d.ts +1 -1
- package/lib/esm/components/reactableWithClientSidePagination/__tests__/ReactableWithClientSidePagination.spec.js +55 -63
- package/lib/esm/components/slider/Slider.d.ts +2 -2
- package/lib/esm/components/slider/Slider.d.ts.map +1 -1
- package/lib/esm/components/svg/SvgImage.d.ts +2 -2
- package/lib/esm/components/svg/SvgImage.d.ts.map +1 -1
- package/lib/esm/components/svg/utils/__tests__/getMutableNodeList.spec.js +1 -0
- package/lib/esm/components/tabs/RouteTabs.d.ts +1 -1
- package/lib/esm/components/tabs/RouteTabs.d.ts.map +1 -1
- package/lib/esm/components/tabs/RouteTabs.js +2 -2
- package/lib/esm/components/treeview/TreeView.d.ts +1 -1
- package/lib/esm/components/treeview/components/Node.d.ts +1 -1
- package/lib/esm/components/treeview/components/NodeInfo.d.ts +1 -1
- package/lib/esm/components/upload/FileUpload.d.ts +1 -1
- package/lib/esm/components/upload/ImageUpload.d.ts +1 -1
- package/lib/esm/modules/messageBox/messageBox.d.ts +2 -2
- package/lib/esm/modules/messageBox/messageBox.d.ts.map +1 -1
- package/lib/esm/src/__mocks__/i18n.d.ts +13 -0
- package/lib/esm/src/__mocks__/i18n.d.ts.map +1 -0
- package/lib/esm/src/__mocks__/i18n.js +20 -0
- package/lib/esm/src/components/chart/Chart.d.ts +38 -0
- package/lib/esm/src/components/chart/Chart.d.ts.map +1 -0
- package/lib/esm/src/components/chart/Chart.js +202 -0
- package/lib/esm/src/components/colorpicker/ColorPickerPopper.d.ts +24 -0
- package/lib/esm/src/components/colorpicker/ColorPickerPopper.d.ts.map +1 -0
- package/lib/esm/src/components/colorpicker/ColorPickerPopper.js +46 -0
- package/lib/esm/src/components/colorpicker/GradientColorPicker.d.ts +63 -0
- package/lib/esm/src/components/colorpicker/GradientColorPicker.d.ts.map +1 -0
- package/lib/esm/src/components/colorpicker/GradientColorPicker.js +125 -0
- package/lib/esm/src/components/colorpicker/GridColorPicker.d.ts +41 -0
- package/lib/esm/src/components/colorpicker/GridColorPicker.d.ts.map +1 -0
- package/lib/esm/src/components/colorpicker/GridColorPicker.js +30 -0
- package/lib/esm/src/components/contentHeader/ContentHeader.d.ts +25 -0
- package/lib/esm/src/components/contentHeader/ContentHeader.d.ts.map +1 -0
- package/lib/esm/src/components/contentHeader/ContentHeader.js +53 -0
- package/lib/esm/src/components/infobox/InfoBox.d.ts +22 -0
- package/lib/esm/src/components/infobox/InfoBox.d.ts.map +1 -0
- package/lib/esm/src/components/infobox/InfoBox.js +36 -0
- package/lib/esm/src/components/input/DateInput.d.ts +28 -0
- package/lib/esm/src/components/input/DateInput.d.ts.map +1 -0
- package/lib/esm/src/components/input/DateInput.js +157 -0
- package/lib/esm/src/components/input/DateTimeInput.d.ts +27 -0
- package/lib/esm/src/components/input/DateTimeInput.d.ts.map +1 -0
- package/lib/esm/src/components/input/DateTimeInput.js +50 -0
- package/lib/esm/src/components/input/SelectWithSearch.d.ts +65 -0
- package/lib/esm/src/components/input/SelectWithSearch.d.ts.map +1 -0
- package/lib/esm/src/components/input/SelectWithSearch.js +111 -0
- package/lib/esm/src/components/input/SelectWithSearchAsync.d.ts +58 -0
- package/lib/esm/src/components/input/SelectWithSearchAsync.d.ts.map +1 -0
- package/lib/esm/src/components/input/SelectWithSearchAsync.js +100 -0
- package/lib/esm/src/components/input/UrnInput.d.ts +22 -0
- package/lib/esm/src/components/input/UrnInput.d.ts.map +1 -0
- package/lib/esm/src/components/input/UrnInput.js +33 -0
- package/lib/esm/src/components/input/ValidatedTextInput.d.ts +35 -0
- package/lib/esm/src/components/input/ValidatedTextInput.d.ts.map +1 -0
- package/lib/esm/src/components/input/ValidatedTextInput.js +30 -0
- package/lib/esm/src/components/input/__tests__/DateInput.spec.d.ts +2 -0
- package/lib/esm/src/components/input/__tests__/DateInput.spec.d.ts.map +1 -0
- package/lib/esm/src/components/input/__tests__/DateInput.spec.js +85 -0
- package/lib/esm/src/components/input/__tests__/DateTimeInput.spec.d.ts +2 -0
- package/lib/esm/src/components/input/__tests__/DateTimeInput.spec.d.ts.map +1 -0
- package/lib/esm/src/components/input/__tests__/DateTimeInput.spec.js +13 -0
- package/lib/esm/src/components/input/__tests__/SelectWithSearchAsync.spec.d.ts +2 -0
- package/lib/esm/src/components/input/__tests__/SelectWithSearchAsync.spec.d.ts.map +1 -0
- package/lib/esm/src/components/input/__tests__/SelectWithSearchAsync.spec.js +44 -0
- package/lib/esm/src/components/link/RouteLink.d.ts +31 -0
- package/lib/esm/src/components/link/RouteLink.d.ts.map +1 -0
- package/lib/esm/src/components/link/RouteLink.js +55 -0
- package/lib/esm/src/components/multiMenu/MultiMenu.d.ts +27 -0
- package/lib/esm/src/components/multiMenu/MultiMenu.d.ts.map +1 -0
- package/lib/esm/src/components/multiMenu/MultiMenu.js +30 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuContext.d.ts +7 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuContext.d.ts.map +1 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuContext.js +5 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuItem.d.ts +14 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuItem.d.ts.map +1 -0
- package/lib/esm/src/components/multiMenu/components/MultiMenuItem.js +24 -0
- package/lib/esm/src/components/pagination/Pagination.d.ts +37 -0
- package/lib/esm/src/components/pagination/Pagination.d.ts.map +1 -0
- package/lib/esm/src/components/pagination/Pagination.js +114 -0
- package/lib/esm/src/components/pagination/__tests__/Pagination.spec.d.ts +2 -0
- package/lib/esm/src/components/pagination/__tests__/Pagination.spec.d.ts.map +1 -0
- package/lib/esm/src/components/pagination/__tests__/Pagination.spec.js +87 -0
- package/lib/esm/src/components/periodpicker/PeriodPicker.d.ts +23 -0
- package/lib/esm/src/components/periodpicker/PeriodPicker.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/PeriodPicker.js +11 -0
- package/lib/esm/src/components/periodpicker/components/Inputs.d.ts +12 -0
- package/lib/esm/src/components/periodpicker/components/Inputs.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/components/Inputs.js +59 -0
- package/lib/esm/src/components/periodpicker/components/Menu.d.ts +11 -0
- package/lib/esm/src/components/periodpicker/components/Menu.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/components/Menu.js +96 -0
- package/lib/esm/src/components/periodpicker/components/MonthPicker.d.ts +19 -0
- package/lib/esm/src/components/periodpicker/components/MonthPicker.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/components/MonthPicker.js +62 -0
- package/lib/esm/src/components/periodpicker/periods.d.ts +33 -0
- package/lib/esm/src/components/periodpicker/periods.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/periods.js +56 -0
- package/lib/esm/src/components/periodpicker/types.d.ts +5 -0
- package/lib/esm/src/components/periodpicker/types.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/types.js +1 -0
- package/lib/esm/src/components/periodpicker/usePeriodName.d.ts +7 -0
- package/lib/esm/src/components/periodpicker/usePeriodName.d.ts.map +1 -0
- package/lib/esm/src/components/periodpicker/usePeriodName.js +38 -0
- package/lib/esm/src/components/prompt/Prompt.d.ts +23 -0
- package/lib/esm/src/components/prompt/Prompt.d.ts.map +1 -0
- package/lib/esm/src/components/prompt/Prompt.js +31 -0
- package/lib/esm/src/components/prompt/withPrompt.d.ts +7 -0
- package/lib/esm/src/components/prompt/withPrompt.d.ts.map +1 -0
- package/lib/esm/src/components/prompt/withPrompt.js +33 -0
- package/lib/esm/src/components/reactable/Reactable.d.ts +38 -0
- package/lib/esm/src/components/reactable/Reactable.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/Reactable.js +18 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTable.d.ts +21 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTable.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTable.js +33 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableFilterRow.d.ts +9 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableFilterRow.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableFilterRow.js +57 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableHeader.d.ts +16 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableHeader.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableHeader.js +52 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableRow.d.ts +16 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableRow.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTableRow.js +56 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTextFilter.d.ts +9 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTextFilter.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/ReactableTextFilter.js +18 -0
- package/lib/esm/src/components/reactable/helpers/helper.d.ts +7 -0
- package/lib/esm/src/components/reactable/helpers/helper.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/helpers/helper.js +90 -0
- package/lib/esm/src/components/reactable/types.d.ts +38 -0
- package/lib/esm/src/components/reactable/types.d.ts.map +1 -0
- package/lib/esm/src/components/reactable/types.js +1 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/ReactableWithClientSidePagination.d.ts +69 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/ReactableWithClientSidePagination.d.ts.map +1 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/ReactableWithClientSidePagination.js +155 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/__tests__/ReactableWithClientSidePagination.spec.d.ts +2 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/__tests__/ReactableWithClientSidePagination.spec.d.ts.map +1 -0
- package/lib/esm/src/components/reactableWithClientSidePagination/__tests__/ReactableWithClientSidePagination.spec.js +130 -0
- package/lib/esm/src/components/slider/Slider.d.ts +30 -0
- package/lib/esm/src/components/slider/Slider.d.ts.map +1 -0
- package/lib/esm/src/components/slider/Slider.js +35 -0
- package/lib/esm/src/components/slider/useLimitStyling.d.ts +3 -0
- package/lib/esm/src/components/slider/useLimitStyling.d.ts.map +1 -0
- package/lib/esm/src/components/slider/useLimitStyling.js +49 -0
- package/lib/esm/src/components/svg/SvgImage.d.ts +12 -0
- package/lib/esm/src/components/svg/SvgImage.d.ts.map +1 -0
- package/lib/esm/src/components/svg/SvgImage.js +37 -0
- package/lib/esm/src/components/svg/storybookHelper.d.ts +7 -0
- package/lib/esm/src/components/svg/storybookHelper.d.ts.map +1 -0
- package/lib/esm/src/components/svg/storybookHelper.js +53 -0
- package/lib/esm/src/components/svg/types.d.ts +58 -0
- package/lib/esm/src/components/svg/types.d.ts.map +1 -0
- package/lib/esm/src/components/svg/types.js +1 -0
- package/lib/esm/src/components/svg/utils/__tests__/getMutableNodeList.spec.d.ts +2 -0
- package/lib/esm/src/components/svg/utils/__tests__/getMutableNodeList.spec.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/__tests__/getMutableNodeList.spec.js +24 -0
- package/lib/esm/src/components/svg/utils/createHyperlinkModification.d.ts +4 -0
- package/lib/esm/src/components/svg/utils/createHyperlinkModification.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/createHyperlinkModification.js +35 -0
- package/lib/esm/src/components/svg/utils/createPositionModification.d.ts +3 -0
- package/lib/esm/src/components/svg/utils/createPositionModification.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/createPositionModification.js +19 -0
- package/lib/esm/src/components/svg/utils/findConflicts.d.ts +2 -0
- package/lib/esm/src/components/svg/utils/findConflicts.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/findConflicts.js +23 -0
- package/lib/esm/src/components/svg/utils/getMutableNodeList.d.ts +3 -0
- package/lib/esm/src/components/svg/utils/getMutableNodeList.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/getMutableNodeList.js +12 -0
- package/lib/esm/src/components/svg/utils/getSvgElement.d.ts +3 -0
- package/lib/esm/src/components/svg/utils/getSvgElement.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/getSvgElement.js +10 -0
- package/lib/esm/src/components/svg/utils/renderSvg.d.ts +3 -0
- package/lib/esm/src/components/svg/utils/renderSvg.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/renderSvg.js +88 -0
- package/lib/esm/src/components/svg/utils/transformPositionModifications.d.ts +4 -0
- package/lib/esm/src/components/svg/utils/transformPositionModifications.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/transformPositionModifications.js +42 -0
- package/lib/esm/src/components/svg/utils/validateSvg.d.ts +3 -0
- package/lib/esm/src/components/svg/utils/validateSvg.d.ts.map +1 -0
- package/lib/esm/src/components/svg/utils/validateSvg.js +5 -0
- package/lib/esm/src/components/tabs/RouteTabs.d.ts +24 -0
- package/lib/esm/src/components/tabs/RouteTabs.d.ts.map +1 -0
- package/lib/esm/src/components/tabs/RouteTabs.js +67 -0
- package/lib/esm/src/components/treeview/TreeView.d.ts +50 -0
- package/lib/esm/src/components/treeview/TreeView.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/TreeView.js +104 -0
- package/lib/esm/src/components/treeview/components/Node.d.ts +37 -0
- package/lib/esm/src/components/treeview/components/Node.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/components/Node.js +111 -0
- package/lib/esm/src/components/treeview/components/NodeInfo.d.ts +25 -0
- package/lib/esm/src/components/treeview/components/NodeInfo.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/components/NodeInfo.js +64 -0
- package/lib/esm/src/components/treeview/constants.d.ts +6 -0
- package/lib/esm/src/components/treeview/constants.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/constants.js +6 -0
- package/lib/esm/src/components/treeview/treeutils.d.ts +59 -0
- package/lib/esm/src/components/treeview/treeutils.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/treeutils.js +158 -0
- package/lib/esm/src/components/treeview/types.d.ts +37 -0
- package/lib/esm/src/components/treeview/types.d.ts.map +1 -0
- package/lib/esm/src/components/treeview/types.js +1 -0
- package/lib/esm/src/components/upload/FileUpload.d.ts +67 -0
- package/lib/esm/src/components/upload/FileUpload.d.ts.map +1 -0
- package/lib/esm/src/components/upload/FileUpload.js +95 -0
- package/lib/esm/src/components/upload/ImageUpload.d.ts +21 -0
- package/lib/esm/src/components/upload/ImageUpload.d.ts.map +1 -0
- package/lib/esm/src/components/upload/ImageUpload.js +45 -0
- package/lib/esm/src/hoc/outsideClick.d.ts +4 -0
- package/lib/esm/src/hoc/outsideClick.d.ts.map +1 -0
- package/lib/esm/src/hoc/outsideClick.js +73 -0
- package/lib/esm/src/i18n/index.d.ts +16 -0
- package/lib/esm/src/i18n/index.d.ts.map +1 -0
- package/lib/esm/src/i18n/index.js +6 -0
- package/lib/esm/src/index.d.ts +52 -0
- package/lib/esm/src/index.d.ts.map +1 -0
- package/lib/esm/src/index.js +39 -0
- package/lib/esm/src/modules/messageBox/messageBox.d.ts +14 -0
- package/lib/esm/src/modules/messageBox/messageBox.d.ts.map +1 -0
- package/lib/esm/src/modules/messageBox/messageBox.js +56 -0
- package/lib/esm/src/modules/utils/nanoidGen.d.ts +2 -0
- package/lib/esm/src/modules/utils/nanoidGen.d.ts.map +1 -0
- package/lib/esm/src/modules/utils/nanoidGen.js +3 -0
- package/lib/esm/src/modules/utils/uuidGen.d.ts +2 -0
- package/lib/esm/src/modules/utils/uuidGen.d.ts.map +1 -0
- package/lib/esm/src/modules/utils/uuidGen.js +13 -0
- package/lib/esm/src/types/i18n.d.ts +5 -0
- package/lib/esm/src/types/i18n.d.ts.map +1 -0
- package/lib/esm/src/types/i18n.js +1 -0
- package/lib/esm/src/types/pagination.d.ts +19 -0
- package/lib/esm/src/types/pagination.d.ts.map +1 -0
- package/lib/esm/src/types/pagination.js +1 -0
- package/lib/esm/src/utils/dayjsLocales.d.ts +10 -0
- package/lib/esm/src/utils/dayjsLocales.d.ts.map +1 -0
- package/lib/esm/src/utils/dayjsLocales.js +12 -0
- package/lib/esm/src/utils/resolvePath.d.ts +2 -0
- package/lib/esm/src/utils/resolvePath.d.ts.map +1 -0
- package/lib/esm/src/utils/resolvePath.js +4 -0
- package/lib/esm/vite.config.d.mts +3 -0
- package/lib/esm/vite.config.d.mts.map +1 -0
- package/lib/esm/vite.config.mjs +9 -0
- package/lib/esm/vitest.setup.d.ts +3 -0
- package/lib/esm/vitest.setup.d.ts.map +1 -0
- package/lib/esm/vitest.setup.js +10 -0
- package/package.json +24 -54
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { Link, Redirect, Route, Switch, useLocation } from 'react-router-dom';
|
|
3
|
+
import { CSS } from '@dnd-kit/utilities';
|
|
4
|
+
import { closestCenter, DndContext } from '@dnd-kit/core';
|
|
5
|
+
import { horizontalListSortingStrategy, SortableContext, useSortable } from '@dnd-kit/sortable';
|
|
6
|
+
import { restrictToHorizontalAxis } from '@dnd-kit/modifiers';
|
|
7
|
+
import cx from 'classnames';
|
|
8
|
+
import resolvePath from '../../utils/resolvePath';
|
|
9
|
+
const TabHeader = ({ id, to, className, title, children, draggingDisabled }) => {
|
|
10
|
+
const { attributes, listeners, setNodeRef, transform, transition } = useSortable({
|
|
11
|
+
id,
|
|
12
|
+
disabled: draggingDisabled,
|
|
13
|
+
strategy: horizontalListSortingStrategy
|
|
14
|
+
});
|
|
15
|
+
const style = {
|
|
16
|
+
transform: transform ? CSS.Transform.toString({ ...transform, scaleX: 1 }) : undefined,
|
|
17
|
+
transition
|
|
18
|
+
};
|
|
19
|
+
const { pathname } = useLocation();
|
|
20
|
+
const isActive = pathname.endsWith(to.toString());
|
|
21
|
+
if (isActive) {
|
|
22
|
+
return (React.createElement("button", { "data-testid": "tab-button", className: cx('tab-header item active', className), title: title, ref: setNodeRef, style: style, type: "button", ...attributes, ...listeners }, children));
|
|
23
|
+
}
|
|
24
|
+
return (React.createElement(Link, { "data-testid": "tab-button", to: to, title: title, className: cx('tab-header item', className), ref: setNodeRef, style: style, ...attributes, ...listeners }, children));
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* RouteTabs add the possibility to unite several homogeneous pages into one.
|
|
28
|
+
* Each tab can be accessed individually via the browser's history
|
|
29
|
+
*/
|
|
30
|
+
export default function RouteTabs({ pages, onOrderChange, basePath, ...otherProps }) {
|
|
31
|
+
const [dragging, setDragging] = useState(false);
|
|
32
|
+
const { pathname, state } = useLocation();
|
|
33
|
+
function determineBasePath() {
|
|
34
|
+
const lastPathSegment = pathname.split('/').reverse()[0];
|
|
35
|
+
if (pages.some((page) => page.path === lastPathSegment)) {
|
|
36
|
+
return pathname.substring(0, pathname.lastIndexOf('/'));
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return pathname;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function handleDragEnd(event) {
|
|
43
|
+
setDragging(false);
|
|
44
|
+
const { active, over } = event;
|
|
45
|
+
if (active.id !== over?.id && onOrderChange) {
|
|
46
|
+
const oldIndex = pages.findIndex((page) => page.path === active.id);
|
|
47
|
+
const newIndex = pages.findIndex((page) => page.path === over?.id);
|
|
48
|
+
onOrderChange(oldIndex, newIndex);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return (React.createElement("div", { className: dragging ? 'draggable-area' : '' },
|
|
52
|
+
React.createElement(DndContext, { collisionDetection: closestCenter, onDragEnd: handleDragEnd, onDragStart: () => setDragging(true), modifiers: [restrictToHorizontalAxis] },
|
|
53
|
+
React.createElement("div", { className: "di tabs" },
|
|
54
|
+
React.createElement(SortableContext, { items: pages.map((page) => ({ ...page, id: page.path })), strategy: horizontalListSortingStrategy }, pages.map(({ path, renderHeading, headingTitle, draggingDisabled, disabled: pageDisabled }) => {
|
|
55
|
+
return (React.createElement(TabHeader, { id: path, key: path, to: resolvePath(basePath || determineBasePath(), path), title: headingTitle, draggingDisabled: pageDisabled ||
|
|
56
|
+
draggingDisabled ||
|
|
57
|
+
!onOrderChange ||
|
|
58
|
+
(!dragging && !pathname.endsWith(path)) }, renderHeading(otherProps)));
|
|
59
|
+
})))),
|
|
60
|
+
React.createElement(Switch, null,
|
|
61
|
+
pages.map(({ renderBody, path }) => (React.createElement(Route, { key: path, path: resolvePath(basePath || determineBasePath(), path), render: () => renderBody(otherProps) }))),
|
|
62
|
+
React.createElement(Route, null,
|
|
63
|
+
React.createElement(Redirect, { to: {
|
|
64
|
+
pathname: resolvePath(basePath || determineBasePath(), pages[0].path),
|
|
65
|
+
state
|
|
66
|
+
} })))));
|
|
67
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Tree, NodeId, DataSetConfig, SelectionItem } from './types';
|
|
3
|
+
export declare type Props = {
|
|
4
|
+
/** Configuration of keys for id, name, children, node/leaf images and lazy loading */
|
|
5
|
+
dataSetConfig: DataSetConfig;
|
|
6
|
+
/** Function executed when selecting nodes or folders */
|
|
7
|
+
onSelect: (arg0: Array<SelectionItem>) => void;
|
|
8
|
+
/** Function executed when deselecting nodes or folders */
|
|
9
|
+
onDeselect: (arg0: Array<SelectionItem>) => void;
|
|
10
|
+
/** Arbitrary hierarchical initial data set to render */
|
|
11
|
+
treeData: Array<any>;
|
|
12
|
+
/** Array of initially selected nodes in the tree */
|
|
13
|
+
selectedNodes?: Array<NodeId>;
|
|
14
|
+
/** Function to execute on a lazy loadable node */
|
|
15
|
+
lazyLoadingFunction?: (nodeData: any) => Promise<any>;
|
|
16
|
+
};
|
|
17
|
+
declare type State = {
|
|
18
|
+
tree: Tree;
|
|
19
|
+
treeData: Array<any>;
|
|
20
|
+
selectedNodes: Array<NodeId>;
|
|
21
|
+
treeSize: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* TreeView adds the functionality to display "folders" and their content.
|
|
25
|
+
* This can come in handy for several data structures.
|
|
26
|
+
*/
|
|
27
|
+
export default class TreeView extends React.Component<Props, State> {
|
|
28
|
+
state: State;
|
|
29
|
+
convert: (hierarchicalData: Array<any>, nodePath?: string) => Array<Tree>;
|
|
30
|
+
componentDidMount(): void;
|
|
31
|
+
componentDidUpdate(prevProps: Props): void;
|
|
32
|
+
initTree(treeData: Array<any>): {
|
|
33
|
+
children?: Array<Tree>;
|
|
34
|
+
closedImage?: string;
|
|
35
|
+
expandedImage?: string;
|
|
36
|
+
id: string;
|
|
37
|
+
image?: string;
|
|
38
|
+
lazyLoadable?: boolean;
|
|
39
|
+
name: string;
|
|
40
|
+
originalNode: any;
|
|
41
|
+
path: string;
|
|
42
|
+
};
|
|
43
|
+
selectNodes: (nodes: Array<Tree>) => void;
|
|
44
|
+
deselectNodes: (nodes: Array<Tree>) => void;
|
|
45
|
+
addTreeData: (dataSet: Array<any>, underNode: Tree) => void;
|
|
46
|
+
lazyLoadingFunction: (node: Tree) => Promise<void>;
|
|
47
|
+
render(): React.JSX.Element;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=TreeView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../../../src/components/treeview/TreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAInE,oBAAY,KAAK,GAAG;IACnB,sFAAsF;IACtF,aAAa,EAAE,aAAa,CAAC;IAE7B,wDAAwD;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAE/C,0DAA0D;IAC1D,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAEjD,wDAAwD;IACxD,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAErB,oDAAoD;IACpD,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B,kDAAkD;IAClD,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CACtD,CAAC;AAEF,aAAK,KAAK,GAAG;IACZ,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACrB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IAClE,KAAK,EAAE,KAAK,CAWV;IAEF,OAAO,EAAE,CAAC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAA2C;IAEpH,iBAAiB;IAUjB,kBAAkB,CAAC,SAAS,EAAE,KAAK;IAWnC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG;QAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,GAAG,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;KACb;IAUD,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAUvC;IAEF,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAUzC;IAEF,WAAW,YAAa,MAAM,GAAG,CAAC,aAAa,IAAI,UAoBjD;IAEF,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAUhD;IAEF,MAAM;CAmBN"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Node from './components/Node';
|
|
3
|
+
import { convertToTree, mergeNodeIdArrays, removeNodeIds, getTreeSize, findNodeAndApplyPatch } from './treeutils';
|
|
4
|
+
/**
|
|
5
|
+
* TreeView adds the functionality to display "folders" and their content.
|
|
6
|
+
* This can come in handy for several data structures.
|
|
7
|
+
*/
|
|
8
|
+
export default class TreeView extends React.Component {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.state = {
|
|
12
|
+
treeData: this.props.treeData,
|
|
13
|
+
tree: {
|
|
14
|
+
id: 'virtualRootNode',
|
|
15
|
+
name: '',
|
|
16
|
+
children: [],
|
|
17
|
+
path: '/',
|
|
18
|
+
originalNode: {}
|
|
19
|
+
},
|
|
20
|
+
treeSize: 0,
|
|
21
|
+
selectedNodes: this.props.selectedNodes || []
|
|
22
|
+
};
|
|
23
|
+
this.convert = convertToTree(this.props.dataSetConfig);
|
|
24
|
+
this.selectNodes = (nodes) => {
|
|
25
|
+
const { onSelect } = this.props;
|
|
26
|
+
const { selectedNodes } = this.state;
|
|
27
|
+
this.setState({
|
|
28
|
+
selectedNodes: mergeNodeIdArrays(selectedNodes, nodes.map(({ id }) => id))
|
|
29
|
+
});
|
|
30
|
+
onSelect(nodes.map(({ originalNode, path }) => ({ ...originalNode, $$path: path })));
|
|
31
|
+
};
|
|
32
|
+
this.deselectNodes = (nodes) => {
|
|
33
|
+
const { onDeselect } = this.props;
|
|
34
|
+
const { selectedNodes } = this.state;
|
|
35
|
+
this.setState({
|
|
36
|
+
selectedNodes: removeNodeIds(selectedNodes, nodes.map(({ id }) => id))
|
|
37
|
+
});
|
|
38
|
+
onDeselect(nodes.map(({ originalNode, path }) => ({ ...originalNode, $$path: path })));
|
|
39
|
+
};
|
|
40
|
+
this.addTreeData = (dataSet, underNode) => {
|
|
41
|
+
const { tree } = this.state;
|
|
42
|
+
const subTree = this.convert(dataSet, underNode.path);
|
|
43
|
+
const newTree = {
|
|
44
|
+
id: 'virtualRootNode',
|
|
45
|
+
name: '',
|
|
46
|
+
children: (tree.children || []).map((rootNode) => findNodeAndApplyPatch(rootNode, underNode.id, {
|
|
47
|
+
lazyLoadable: false,
|
|
48
|
+
children: subTree
|
|
49
|
+
})),
|
|
50
|
+
path: '/',
|
|
51
|
+
originalNode: {}
|
|
52
|
+
};
|
|
53
|
+
const newTreeSize = getTreeSize(newTree);
|
|
54
|
+
this.setState({
|
|
55
|
+
tree: newTree,
|
|
56
|
+
treeSize: newTreeSize
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
this.lazyLoadingFunction = (node) => {
|
|
60
|
+
const { lazyLoadingFunction } = this.props;
|
|
61
|
+
if (!lazyLoadingFunction)
|
|
62
|
+
return Promise.resolve();
|
|
63
|
+
return lazyLoadingFunction(node.originalNode)
|
|
64
|
+
.then((dataSet) => {
|
|
65
|
+
this.addTreeData(dataSet, node);
|
|
66
|
+
})
|
|
67
|
+
.catch(() => {
|
|
68
|
+
return Promise.resolve();
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
componentDidMount() {
|
|
73
|
+
const { treeData } = this.props;
|
|
74
|
+
const tree = this.initTree(treeData);
|
|
75
|
+
const treeSize = getTreeSize(tree);
|
|
76
|
+
this.setState({
|
|
77
|
+
tree,
|
|
78
|
+
treeSize
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
componentDidUpdate(prevProps) {
|
|
82
|
+
const { selectedNodes: prevNodes } = prevProps;
|
|
83
|
+
const { selectedNodes } = this.props;
|
|
84
|
+
if (selectedNodes && prevNodes && prevNodes.length !== selectedNodes.length) {
|
|
85
|
+
this.setState({
|
|
86
|
+
selectedNodes
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
initTree(treeData) {
|
|
91
|
+
return {
|
|
92
|
+
id: 'virtualRootNode',
|
|
93
|
+
name: '',
|
|
94
|
+
children: this.convert(treeData),
|
|
95
|
+
path: '/',
|
|
96
|
+
originalNode: {}
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
render() {
|
|
100
|
+
const { tree, selectedNodes, treeSize } = this.state;
|
|
101
|
+
return (React.createElement("div", { className: "treeview" }, tree.children &&
|
|
102
|
+
tree.children.map((item, i) => (React.createElement(Node, { key: i, node: item, selectedNodes: selectedNodes, selectNodes: this.selectNodes, deselectNodes: this.deselectNodes, treeSize: treeSize, lazyLoadingFunction: this.lazyLoadingFunction })))));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SelectionState } from '../constants';
|
|
3
|
+
import { NodeId, Tree } from '../types';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
selectedNodes: Array<NodeId>;
|
|
6
|
+
node: Tree;
|
|
7
|
+
isLastChild?: boolean;
|
|
8
|
+
treeSize: number;
|
|
9
|
+
selectNodes: (ids: Array<Tree>) => void;
|
|
10
|
+
deselectNodes: (ids: Array<Tree>) => void;
|
|
11
|
+
lazyLoadingFunction: (node: Tree) => Promise<any>;
|
|
12
|
+
};
|
|
13
|
+
declare type State = {
|
|
14
|
+
expanded: boolean;
|
|
15
|
+
selectionState: SelectionState;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
};
|
|
18
|
+
export default class Node extends React.Component<Props, State> {
|
|
19
|
+
state: State;
|
|
20
|
+
/**
|
|
21
|
+
* Update folder nodes only if the selection changed, or expanded changed
|
|
22
|
+
* Update leaf nodes only if the previously selected nodes include this leaf and the currently
|
|
23
|
+
* selected nodes do not include this leaf, and vice versa.
|
|
24
|
+
* @param {Props} prevProps
|
|
25
|
+
* @param {State} prevState
|
|
26
|
+
*/
|
|
27
|
+
shouldComponentUpdate(prevProps: Props, prevState: State): boolean;
|
|
28
|
+
componentDidMount(): void;
|
|
29
|
+
componentDidUpdate(): void;
|
|
30
|
+
isLeaf(): boolean;
|
|
31
|
+
getSelectionState(): SelectionState;
|
|
32
|
+
toggleExpand: () => void;
|
|
33
|
+
onSelect: (toggled: boolean) => void;
|
|
34
|
+
render(): React.JSX.Element;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=Node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Node.d.ts","sourceRoot":"","sources":["../../../../../../src/components/treeview/components/Node.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,UAAU,CAAC;AAEtC,aAAK,KAAK,GAAG;IACZ,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC1C,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAClD,CAAC;AAEF,aAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IAC9D,KAAK,EAAE,KAAK,CAIV;IAEF;;;;;;OAMG;IACH,qBAAqB,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,GAAG,OAAO;IAsBlE,iBAAiB;IAMjB,kBAAkB;IAMlB,MAAM,IAAI,OAAO;IAKjB,iBAAiB;IAoBjB,YAAY,EAAE,MAAM,IAAI,CAsBtB;IACF,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAUlC;IAEF,MAAM;CA6BN"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import NodeInfo from './NodeInfo';
|
|
3
|
+
import { SelectionState } from '../constants';
|
|
4
|
+
import { getAllLeafIds, getAllLeaves, intersectArrays } from '../treeutils';
|
|
5
|
+
export default class Node extends React.Component {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.state = {
|
|
9
|
+
expanded: false,
|
|
10
|
+
selectionState: this.getSelectionState(),
|
|
11
|
+
isLoading: false
|
|
12
|
+
};
|
|
13
|
+
// handle this the same way as selection?
|
|
14
|
+
this.toggleExpand = () => {
|
|
15
|
+
const { node, lazyLoadingFunction } = this.props;
|
|
16
|
+
if (node.lazyLoadable) {
|
|
17
|
+
this.setState({
|
|
18
|
+
isLoading: true
|
|
19
|
+
}, () => {
|
|
20
|
+
lazyLoadingFunction(node).then(() => this.setState({
|
|
21
|
+
expanded: true,
|
|
22
|
+
isLoading: false
|
|
23
|
+
}));
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this.setState({
|
|
28
|
+
expanded: !this.state.expanded
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
this.onSelect = (toggled) => {
|
|
33
|
+
const { node, selectNodes, deselectNodes, selectedNodes } = this.props;
|
|
34
|
+
if (toggled) {
|
|
35
|
+
const childNodes = getAllLeaves(node).filter((node) => !selectedNodes.includes(node.id));
|
|
36
|
+
selectNodes(childNodes);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
const childNodes = getAllLeaves(node).filter((node) => selectedNodes.includes(node.id));
|
|
40
|
+
deselectNodes(childNodes);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Update folder nodes only if the selection changed, or expanded changed
|
|
46
|
+
* Update leaf nodes only if the previously selected nodes include this leaf and the currently
|
|
47
|
+
* selected nodes do not include this leaf, and vice versa.
|
|
48
|
+
* @param {Props} prevProps
|
|
49
|
+
* @param {State} prevState
|
|
50
|
+
*/
|
|
51
|
+
shouldComponentUpdate(prevProps, prevState) {
|
|
52
|
+
const { selectedNodes: prevSelectedNodes, treeSize: prevTreeSize } = prevProps;
|
|
53
|
+
const { expanded: prevExpanded, selectionState: prevSelectionState, isLoading: prevIsLoading } = prevState;
|
|
54
|
+
const { selectedNodes, node, treeSize } = this.props;
|
|
55
|
+
const { expanded, selectionState, isLoading } = this.state;
|
|
56
|
+
if (prevIsLoading !== isLoading)
|
|
57
|
+
return true;
|
|
58
|
+
if (prevTreeSize !== treeSize)
|
|
59
|
+
return true;
|
|
60
|
+
if (this.isLeaf()) {
|
|
61
|
+
const selectionChangedForLeaf = (prevSelectedNodes.includes(node.id) && !selectedNodes.includes(node.id)) ||
|
|
62
|
+
(!prevSelectedNodes.includes(node.id) && selectedNodes.includes(node.id));
|
|
63
|
+
return selectionChangedForLeaf || prevSelectionState !== selectionState;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
return (prevSelectedNodes.length !== selectedNodes.length ||
|
|
67
|
+
prevExpanded !== expanded ||
|
|
68
|
+
prevSelectionState !== selectionState);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
componentDidMount() {
|
|
72
|
+
this.setState({
|
|
73
|
+
selectionState: this.getSelectionState()
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
componentDidUpdate() {
|
|
77
|
+
this.setState({
|
|
78
|
+
selectionState: this.getSelectionState()
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
isLeaf() {
|
|
82
|
+
const { node } = this.props;
|
|
83
|
+
return node.children === undefined;
|
|
84
|
+
}
|
|
85
|
+
getSelectionState() {
|
|
86
|
+
const { node, selectedNodes } = this.props;
|
|
87
|
+
if (this.isLeaf()) {
|
|
88
|
+
return selectedNodes.includes(node.id) ? SelectionState.ALL : SelectionState.NONE;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const leafIds = getAllLeafIds(node);
|
|
92
|
+
const intersection = intersectArrays(leafIds, selectedNodes);
|
|
93
|
+
if (intersection.length === leafIds.length && leafIds.length !== 0) {
|
|
94
|
+
return SelectionState.ALL;
|
|
95
|
+
}
|
|
96
|
+
else if (intersection.length === 0) {
|
|
97
|
+
return SelectionState.NONE;
|
|
98
|
+
}
|
|
99
|
+
return SelectionState.SOME;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
const { node, isLastChild, ...commonNodeProps } = this.props;
|
|
104
|
+
const { expanded, selectionState, isLoading } = this.state;
|
|
105
|
+
return (React.createElement("div", { className: "node" },
|
|
106
|
+
React.createElement(NodeInfo, { node: node, displayName: node.name, leafNode: this.isLeaf(), expanded: expanded, isLastChild: isLastChild, onExpand: this.toggleExpand, onSelect: this.onSelect, isLoading: isLoading, selectionState: selectionState }),
|
|
107
|
+
expanded &&
|
|
108
|
+
node.children &&
|
|
109
|
+
node.children.map((childNode, i) => (React.createElement(Node, { ...commonNodeProps, key: i, node: childNode, isLastChild: i === (node.children || []).length - 1 })))));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SelectionState } from '../constants';
|
|
3
|
+
import { Tree } from '../types';
|
|
4
|
+
declare type NodeInfoProps = {
|
|
5
|
+
node: Tree;
|
|
6
|
+
displayName: string;
|
|
7
|
+
leafNode: boolean;
|
|
8
|
+
expanded: boolean;
|
|
9
|
+
isLastChild?: boolean;
|
|
10
|
+
selectionState: SelectionState;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
onExpand: () => void;
|
|
13
|
+
onSelect: (toggled: boolean) => void;
|
|
14
|
+
};
|
|
15
|
+
export default class NodeInfo extends React.PureComponent<NodeInfoProps> {
|
|
16
|
+
inputRef: HTMLInputElement | null | undefined;
|
|
17
|
+
componentDidMount(): void;
|
|
18
|
+
componentDidUpdate(): void;
|
|
19
|
+
updateSelectionState(): void;
|
|
20
|
+
onSelect: (event: React.SyntheticEvent<HTMLInputElement>) => void;
|
|
21
|
+
onLabelClick: () => void;
|
|
22
|
+
render(): React.JSX.Element;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=NodeInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeInfo.d.ts","sourceRoot":"","sources":["../../../../../../src/components/treeview/components/NodeInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAC,IAAI,EAAC,MAAM,UAAU,CAAC;AAU9B,aAAK,aAAa,GAAG;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AAoCF,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IACvE,QAAQ,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAE9C,iBAAiB;IAIjB,kBAAkB;IAIlB,oBAAoB;IAQpB,QAAQ,UAAW,MAAM,cAAc,CAAC,gBAAgB,CAAC,KAAG,IAAI,CAG9D;IAEF,YAAY,QAAO,IAAI,CAGrB;IAEF,MAAM;CAkCN"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import defaultIconFolderOpen from '../../../assets/img/icon_folder_open.png';
|
|
3
|
+
import defaultIconFolderClosed from '../../../assets/img/icon_folder_closed.png';
|
|
4
|
+
import defaultIconFolderLoading from '../../../assets/svg/icon_folder_loading.svg';
|
|
5
|
+
import defaultIconLeafNode from '../../../assets/img/icon_variablenode.png';
|
|
6
|
+
import { SelectionState } from '../constants';
|
|
7
|
+
const Skeleton = ({ lastChild }) => (React.createElement("div", { className: "skeleton" },
|
|
8
|
+
React.createElement("div", { className: "skeleton-cell top" }),
|
|
9
|
+
React.createElement("div", { className: "skeleton-cell bottom", style: {
|
|
10
|
+
visibility: lastChild ? 'hidden' : 'initial'
|
|
11
|
+
} })));
|
|
12
|
+
const NodeImage = ({ node, leafNode, expanded, isLoading, onExpand }) => {
|
|
13
|
+
let imageSrc;
|
|
14
|
+
if (leafNode) {
|
|
15
|
+
imageSrc = node.image || defaultIconLeafNode;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
if (isLoading) {
|
|
19
|
+
imageSrc = defaultIconFolderLoading;
|
|
20
|
+
}
|
|
21
|
+
else if (expanded) {
|
|
22
|
+
imageSrc = node.expandedImage || defaultIconFolderOpen;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
imageSrc = node.closedImage || defaultIconFolderClosed;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return (React.createElement("div", { className: "icon-container" },
|
|
29
|
+
React.createElement("img", { src: imageSrc, alt: "node", onClick: onExpand })));
|
|
30
|
+
};
|
|
31
|
+
export default class NodeInfo extends React.PureComponent {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.onSelect = (event) => {
|
|
35
|
+
const { onSelect, selectionState } = this.props;
|
|
36
|
+
onSelect(selectionState === SelectionState.SOME ? false : event.currentTarget.checked);
|
|
37
|
+
};
|
|
38
|
+
this.onLabelClick = () => {
|
|
39
|
+
const { onSelect, selectionState } = this.props;
|
|
40
|
+
onSelect(selectionState === SelectionState.SOME ? false : this.inputRef ? !this.inputRef.checked : false);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
componentDidMount() {
|
|
44
|
+
this.updateSelectionState();
|
|
45
|
+
}
|
|
46
|
+
componentDidUpdate() {
|
|
47
|
+
this.updateSelectionState();
|
|
48
|
+
}
|
|
49
|
+
updateSelectionState() {
|
|
50
|
+
const { selectionState } = this.props;
|
|
51
|
+
if (this.inputRef) {
|
|
52
|
+
this.inputRef.indeterminate = selectionState === SelectionState.SOME;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
const { node, node: { name }, leafNode, expanded, isLastChild, onExpand, selectionState, isLoading } = this.props;
|
|
57
|
+
const selected = selectionState === SelectionState.ALL;
|
|
58
|
+
return (React.createElement("div", { className: `node-info ${selected ? 'selected' : ''}` },
|
|
59
|
+
isLastChild !== undefined && React.createElement(Skeleton, { lastChild: isLastChild }),
|
|
60
|
+
React.createElement(NodeImage, { node: node, leafNode: leafNode, expanded: expanded, isLoading: isLoading, onExpand: onExpand }),
|
|
61
|
+
React.createElement("input", { ref: (ref) => (this.inputRef = ref), type: "checkbox", checked: selectionState === SelectionState.ALL, onChange: this.onSelect }),
|
|
62
|
+
React.createElement("div", { className: "name", onClick: this.onLabelClick }, name)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/treeview/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACzB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;CACb"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Tree, NodeId, DataSetConfig } from './types';
|
|
2
|
+
export declare function removeDuplicatesFromArray<T>(arr: Array<T>): Array<T>;
|
|
3
|
+
export declare function removeNodeIds(nodeIds: Array<NodeId>, nodeIdsToRemove: Array<NodeId>): Array<NodeId>;
|
|
4
|
+
/**
|
|
5
|
+
* Returns the union of two arrays. Examples
|
|
6
|
+
* [1,2,3] u [2,3,4,5] -> [1,2,3,4,5]
|
|
7
|
+
* @param {Array<NodeId>} nodeIds1 An array of string or integers defining the nodeid
|
|
8
|
+
* @param {Array<NodeId>} nodeIds2 An array of string or integers defining the nodeid
|
|
9
|
+
*/
|
|
10
|
+
export declare function mergeNodeIdArrays(nodeIds1: Array<NodeId>, nodeIds2: Array<NodeId>): Array<NodeId>;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the intersection of two arrays. Example
|
|
13
|
+
* [1,2,3] n [2,3,4,5] -> [2,3]
|
|
14
|
+
* @param {Array} array1
|
|
15
|
+
* @param {Array} array2
|
|
16
|
+
*/
|
|
17
|
+
export declare function intersectArrays<T>(array1: Array<T>, array2: Array<T>): Array<T>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the count of all leaves in the tree @node
|
|
20
|
+
* @param {Tree} node tree to calculate the treesize for
|
|
21
|
+
*/
|
|
22
|
+
export declare function getTreeSize(node: Tree): number;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the leaves of the tree given by @node
|
|
25
|
+
* @param {Tree} node The root node of the tree that should be processed
|
|
26
|
+
*/
|
|
27
|
+
export declare function getAllLeaves(node: Tree): Array<Tree>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the ids of all leaves of the tree given by @node
|
|
30
|
+
* @param {Tree} node The root node of the tree that should be processed
|
|
31
|
+
*/
|
|
32
|
+
export declare function getAllLeafIds(node: Tree): Array<NodeId>;
|
|
33
|
+
/**
|
|
34
|
+
* Returns a function that converts an arbitrary hierarchical tree data structure into a treestructure
|
|
35
|
+
* that is processable by the * @Node component. The properties defined in @childNodeKey , @idKey ,
|
|
36
|
+
* @displayNameKey , @typeKey are injected into the returned function @convert . The @convert function
|
|
37
|
+
* returns a new tree of the same structure of smaller size with different parameters.
|
|
38
|
+
*
|
|
39
|
+
* @param {string} childNodeKey The name of the property that holds child nodes
|
|
40
|
+
* @param {string} idKey The name of the property of the node identifier
|
|
41
|
+
* @param {string} displayNameKey The name of the property of the node's name
|
|
42
|
+
* @param {string} typeKey The name of the property to decide if it is a leaf or a "folder" node
|
|
43
|
+
* @param {string} lazyLoadableKey
|
|
44
|
+
* @param {ExpandableNode} nodeMetaData An object containing the value for the node's property @typeKey as well as image paths
|
|
45
|
+
* @param {Leaf} leafMetaData An object containing the value for the node's property @typeKey as well as image paths
|
|
46
|
+
*/
|
|
47
|
+
export declare function convertToTree<T>({ childNodeKey, idKey, displayNameKey, typeKey, lazyLoadableKey, nodeMetaData, leafMetaData }: DataSetConfig): (hierarchicalData: Array<any>, nodePath?: string) => Array<Tree>;
|
|
48
|
+
/**
|
|
49
|
+
* Find the node with @nodeId in the tree @node and replace properties defined in the provided @patch .
|
|
50
|
+
* If the node with id @nodeId is not found the tree is returned with the same structure.
|
|
51
|
+
* In any case (@nodeId is found or not found) a new object is created and returned, containing the resulting tree.
|
|
52
|
+
*
|
|
53
|
+
* @param {Tree} node The initial tree to add children on
|
|
54
|
+
* @param {NodeId} nodeId The specific node id of the node to add the children
|
|
55
|
+
* @param {Array<Tree>} patch An object containing Tree properties to change on the node with id @nodeId
|
|
56
|
+
*/
|
|
57
|
+
export declare function findNodeAndApplyPatch(node: Tree, nodeId: NodeId, patch: Partial<Tree>): Tree;
|
|
58
|
+
export declare function getTreeNodePathById(currentNode: any, idToFind: string, idKey: string, childNodeKey: string, displayNameKey: string): null | string;
|
|
59
|
+
//# sourceMappingURL=treeutils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treeutils.d.ts","sourceRoot":"","sources":["../../../../../src/components/treeview/treeutils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAEpD,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAEpE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAEnG;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAEjG;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAE/E;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAO9C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAMpD;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAEvD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAChC,YAAY,EACZ,KAAK,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,EAAE,aAAa,GAAG,CAAC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAsClF;AAqBD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAU5F;AA+BD,wBAAgB,mBAAmB,CAClC,WAAW,EAAE,GAAG,EAChB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,GACpB,IAAI,GAAG,MAAM,CAGf"}
|