@reportportal/ui-kit 0.0.1-alpha.17 → 0.0.1-alpha.171
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/README.md +28 -2
- package/dist/actionMenu-77a63b96.js +155 -0
- package/dist/actionMenu.js +30 -0
- package/dist/adaptiveTagList.js +189 -0
- package/dist/attachedFile.js +9 -0
- package/dist/autocompletes.js +780 -0
- package/dist/baseIconButton-251479f7.js +25 -0
- package/dist/baseIconButton.js +1 -1
- package/dist/breadcrumbs-9b38b89c.js +184 -0
- package/dist/breadcrumbs.js +13 -0
- package/dist/bubblesLoader-f3ffa240.js +28 -0
- package/dist/bubblesLoader.js +1 -1
- package/dist/bulkPanel.js +222 -0
- package/dist/button-97d9e587.js +66 -0
- package/dist/button.js +1 -1
- package/dist/calendarArrow-44c7e60e.js +5 -0
- package/dist/checkbox-493fdc63.js +73 -0
- package/dist/checkbox.js +1 -1
- package/dist/chevronDownDropdown-0260bb66.js +5 -0
- package/dist/chip.js +72 -0
- package/dist/clear-53660571.js +5 -0
- package/dist/close-4d480ef7.js +5 -0
- package/dist/common/constants/floatingUi.d.ts +8 -0
- package/dist/common/constants/sortable.d.ts +1 -0
- package/dist/common/hooks/index.d.ts +3 -0
- package/dist/common/hooks/useOnClickOutside.d.ts +5 -1
- package/dist/common/hooks/useSortable.d.ts +3 -0
- package/dist/common/hooks/useTreeDropValidation.d.ts +5 -0
- package/dist/common/hooks/useTreeSortable.d.ts +3 -0
- package/dist/common/hooks.js +67 -0
- package/dist/common/types/commonTypes.d.ts +4 -0
- package/dist/common/types/index.d.ts +2 -0
- package/dist/common/types/sortableTypes.d.ts +168 -0
- package/dist/common/utils/floatingUi.d.ts +3 -0
- package/dist/common/utils/getFileExtension.d.ts +1 -0
- package/dist/common/utils/htmlAttributes.d.ts +20 -0
- package/dist/common/utils/index.d.ts +4 -0
- package/dist/common/utils/isString.d.ts +1 -0
- package/dist/common/utils/testUtils.d.ts +3 -0
- package/dist/common.js +21 -0
- package/dist/components/actionMenu/actionMenu.d.ts +33 -0
- package/dist/components/actionMenu/constants.d.ts +3 -0
- package/dist/components/actionMenu/index.d.ts +18 -0
- package/dist/components/adaptiveTagList/adaptiveTagList.d.ts +11 -0
- package/dist/components/adaptiveTagList/constants.d.ts +6 -0
- package/dist/components/adaptiveTagList/index.d.ts +2 -0
- package/dist/components/attachedFile/attachedFile.d.ts +14 -0
- package/dist/components/attachedFile/index.d.ts +2 -0
- package/dist/components/autocompletes/common/autocompleteMenu/autocompleteMenu.d.ts +10 -0
- package/dist/components/autocompletes/common/autocompleteMenu/index.d.ts +1 -0
- package/dist/components/autocompletes/common/autocompleteOption/autocompleteOption.d.ts +13 -0
- package/dist/components/autocompletes/common/autocompleteOption/index.d.ts +1 -0
- package/dist/components/autocompletes/common/autocompleteOptions.d.ts +19 -0
- package/dist/components/autocompletes/common/autocompletePrompt/autocompletePrompt.d.ts +7 -0
- package/dist/components/autocompletes/common/autocompletePrompt/index.d.ts +1 -0
- package/dist/components/autocompletes/common/index.d.ts +19 -0
- package/dist/components/autocompletes/constants.d.ts +2 -0
- package/dist/components/autocompletes/index.d.ts +3 -0
- package/dist/components/autocompletes/multipleAutocomplete/index.d.ts +17 -0
- package/dist/components/autocompletes/multipleAutocomplete/multipleAutocomplete.d.ts +53 -0
- package/dist/components/autocompletes/multipleAutocomplete/multipleDownshift.d.ts +25 -0
- package/dist/components/autocompletes/multipleAutocomplete/selectedItems/index.d.ts +1 -0
- package/dist/components/autocompletes/multipleAutocomplete/selectedItems/selectedItems.d.ts +41 -0
- package/dist/components/autocompletes/singleAutocomplete/index.d.ts +1 -0
- package/dist/components/autocompletes/singleAutocomplete/singleAutocomplete.d.ts +42 -0
- package/dist/components/autocompletes/types.d.ts +8 -0
- package/dist/components/autocompletes/utils.d.ts +5 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/baseIconButton.d.ts +1 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/index.d.ts +1 -0
- package/dist/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumbs/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +3 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/breadcrumbsProvider.d.ts +13 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/hooks.d.ts +3 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/index.d.ts +1 -0
- package/dist/components/breadcrumbs/hiddenBreadcrumbs/hiddenBreadcrumbs.d.ts +6 -0
- package/dist/components/breadcrumbs/hiddenBreadcrumbs/index.d.ts +2 -0
- package/dist/components/breadcrumbs/index.d.ts +5 -0
- package/dist/components/breadcrumbs/tree/index.d.ts +1 -0
- package/dist/components/breadcrumbs/tree/tree.d.ts +7 -0
- package/dist/components/breadcrumbs/types.d.ts +24 -0
- package/dist/components/bubblesLoader/bubblesLoader.d.ts +2 -0
- package/dist/components/bubblesLoader/index.d.ts +1 -0
- package/dist/components/bulkPanel/bulkPanel.d.ts +3 -0
- package/dist/components/bulkPanel/index.d.ts +2 -0
- package/dist/components/bulkPanel/types.d.ts +46 -0
- package/dist/components/button/button.d.ts +5 -4
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +2 -1
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/chip/chip.d.ts +15 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/datePicker/datePicker.d.ts +17 -7
- package/dist/components/datePicker/header/datePickerHeader.d.ts +1 -0
- package/dist/components/datePicker/header/index.d.ts +1 -0
- package/dist/components/datePicker/index.d.ts +3 -1
- package/dist/components/datePicker/utils.d.ts +2 -1
- package/dist/components/dropdown/constants.d.ts +4 -0
- package/dist/components/dropdown/dropdown.d.ts +36 -5
- package/dist/components/dropdown/dropdownOption/dropdownOption.d.ts +1 -0
- package/dist/components/dropdown/dropdownOption/index.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/types.d.ts +11 -0
- package/dist/components/dropdown/utils.d.ts +6 -2
- package/dist/components/fieldLabel/fieldLabel.d.ts +7 -0
- package/dist/components/fieldLabel/index.d.ts +1 -0
- package/dist/components/fieldNumber/constants.d.ts +1 -0
- package/dist/components/fieldNumber/fieldNumber.d.ts +3 -3
- package/dist/components/fieldNumber/index.d.ts +1 -0
- package/dist/components/fieldText/fieldText.d.ts +12 -4
- package/dist/components/fieldText/index.d.ts +3 -1
- package/dist/components/fieldTextFlex/fieldTextFlex.d.ts +5 -2
- package/dist/components/fieldTextFlex/index.d.ts +1 -0
- package/dist/components/fileDropArea/attachedFilesList/attachedFilesList.d.ts +21 -0
- package/dist/components/fileDropArea/attachedFilesList/index.d.ts +5 -0
- package/dist/components/fileDropArea/browseButton/browseButton.d.ts +9 -0
- package/dist/components/fileDropArea/browseButton/index.d.ts +4 -0
- package/dist/components/fileDropArea/constants.d.ts +2 -0
- package/dist/components/fileDropArea/dropZone/dropZone.d.ts +10 -0
- package/dist/components/fileDropArea/dropZone/index.d.ts +4 -0
- package/dist/components/fileDropArea/errorMessage/errorMessage.d.ts +5 -0
- package/dist/components/fileDropArea/errorMessage/index.d.ts +4 -0
- package/dist/components/fileDropArea/fileDropArea.d.ts +19 -0
- package/dist/components/fileDropArea/fileDropAreaProvider/fileDropAreaProvider.d.ts +17 -0
- package/dist/components/fileDropArea/fileDropAreaProvider/index.d.ts +1 -0
- package/dist/components/fileDropArea/fileDropAreaProvider/useFileDropAreaContext.d.ts +3 -0
- package/dist/components/fileDropArea/hooks/index.d.ts +1 -0
- package/dist/components/fileDropArea/hooks/useFileDropArea.d.ts +13 -0
- package/dist/components/fileDropArea/hooks/useFileProcessing.d.ts +13 -0
- package/dist/components/fileDropArea/hooks/useOverlayDropArea.d.ts +22 -0
- package/dist/components/fileDropArea/index.d.ts +6 -0
- package/dist/components/fileDropArea/types.d.ts +58 -0
- package/dist/components/fileDropArea/utils/getValidationErrorMessage.d.ts +3 -0
- package/dist/components/fileDropArea/utils/index.d.ts +2 -0
- package/dist/components/fileDropArea/utils/validateFile.d.ts +3 -0
- package/dist/components/filterItem/filterItem.d.ts +18 -0
- package/dist/components/filterItem/index.d.ts +17 -0
- package/dist/components/filtersButton/filtersButton.d.ts +9 -0
- package/dist/components/filtersButton/index.d.ts +2 -0
- package/dist/components/icons/index.d.ts +63 -9
- package/dist/components/index.d.ts +32 -10
- package/dist/components/issueList/constants.d.ts +5 -0
- package/dist/components/issueList/index.d.ts +2 -0
- package/dist/components/issueList/issueList.d.ts +18 -0
- package/dist/components/maxValueDisplay/index.d.ts +4 -0
- package/dist/components/maxValueDisplay/maxValueDisplay.d.ts +8 -0
- package/dist/components/maxValueDisplay/utils/index.d.ts +1 -0
- package/dist/components/maxValueDisplay/utils/isPositiveInteger.d.ts +1 -0
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/modal/modal.d.ts +4 -4
- package/dist/components/modal/modalContent/modalContent.d.ts +3 -2
- package/dist/components/modal/modalFooter/modalFooter.d.ts +3 -1
- package/dist/components/modal/modalHeader/modalHeader.d.ts +1 -0
- package/dist/components/modal/types.d.ts +6 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/itemsCounter/itemCounter.d.ts +5 -2
- package/dist/components/pagination/pageControls/activePage/activePage.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/pageSelector.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageControls.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/bar.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/pageNavigator.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/pageSizeControl.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/sizeSelector.d.ts +1 -0
- package/dist/components/pagination/pagination.d.ts +6 -2
- package/dist/components/popover/index.d.ts +4 -1
- package/dist/components/popover/popover.d.ts +3 -2
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/radio/radioGroup.d.ts +1 -0
- package/dist/components/segmentedControl/index.d.ts +17 -0
- package/dist/components/segmentedControl/segmentedControl.d.ts +4 -0
- package/dist/components/segmentedControl/types.d.ts +18 -0
- package/dist/components/selection/index.d.ts +5 -0
- package/dist/components/selection/selection.d.ts +12 -0
- package/dist/components/selection/types.d.ts +1 -0
- package/dist/components/sidePanel/index.d.ts +2 -0
- package/dist/components/sidePanel/sidePanel.d.ts +21 -0
- package/dist/components/sortable/dragLayer/dragLayer.d.ts +3 -0
- package/dist/components/sortable/dragLayer/index.d.ts +1 -0
- package/dist/components/sortable/helpers.d.ts +11 -0
- package/dist/components/sortable/index.d.ts +5 -0
- package/dist/components/sortable/sortableItem/index.d.ts +1 -0
- package/dist/components/sortable/sortableItem/sortableItem.d.ts +3 -0
- package/dist/components/sortable/sortableList/index.d.ts +1 -0
- package/dist/components/sortable/sortableList/sortableList.d.ts +5 -0
- package/dist/components/sortable/treeSortableContainer/TreeSortableContext.d.ts +11 -0
- package/dist/components/sortable/treeSortableContainer/index.d.ts +2 -0
- package/dist/components/sortable/treeSortableContainer/treeSortableContainer.d.ts +3 -0
- package/dist/components/sortable/treeSortableItem/index.d.ts +1 -0
- package/dist/components/sortable/treeSortableItem/treeSortableItem.d.ts +3 -0
- package/dist/components/spinLoader/index.d.ts +4 -0
- package/dist/components/spinLoader/spinLoader.d.ts +8 -0
- package/dist/components/systemAlert/index.d.ts +1 -0
- package/dist/components/systemAlert/systemAlert.d.ts +4 -0
- package/dist/components/systemAlert/types.d.ts +22 -0
- package/dist/components/systemMessage/index.d.ts +1 -0
- package/dist/components/systemMessage/systemMessage.d.ts +1 -0
- package/dist/components/table/constants.d.ts +6 -0
- package/dist/components/table/gradientOverlay/gradientOverlay.d.ts +19 -0
- package/dist/components/table/gradientOverlay/index.d.ts +2 -0
- package/dist/components/table/hooks/index.d.ts +8 -0
- package/dist/components/table/hooks/useCheckboxRowSync.d.ts +10 -0
- package/dist/components/table/hooks/useColumnResize.d.ts +21 -0
- package/dist/components/table/hooks/useColumnWidths.d.ts +8 -0
- package/dist/components/table/hooks/useGradientPosition.d.ts +24 -0
- package/dist/components/table/hooks/useTableColumns.d.ts +13 -0
- package/dist/components/table/hooks/useTableExpansion.d.ts +15 -0
- package/dist/components/table/hooks/useTableHover.d.ts +10 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/resizeHandle/index.d.ts +1 -0
- package/dist/components/table/resizeHandle/resizeHandle.d.ts +2 -0
- package/dist/components/table/table.d.ts +1 -0
- package/dist/components/table/types.d.ts +43 -9
- package/dist/components/table/utils.d.ts +10 -1
- package/dist/components/themeProvider/index.d.ts +1 -0
- package/dist/components/themeProvider/themeProvider.d.ts +1 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/toggle.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +10 -1
- package/dist/datePicker-cde99de3.js +222 -0
- package/dist/datePicker.js +32 -0
- package/dist/dropdown-0260bb66.js +5 -0
- package/dist/dropdown-7d024c49.js +642 -0
- package/dist/dropdown.js +13 -3
- package/dist/fieldLabel.js +18 -0
- package/dist/fieldNumber-d1b5a7a1.js +140 -0
- package/dist/fieldNumber.js +5 -2
- package/dist/fieldText-1749da7a.js +167 -0
- package/dist/fieldText.js +7 -2
- package/dist/fieldTextFlex-2f51c173.js +80 -0
- package/dist/fieldTextFlex.js +3 -1
- package/dist/fileDropArea.js +325 -0
- package/dist/filterItem.js +96 -0
- package/dist/filterOutline-819b4b0d.js +6 -0
- package/dist/filtersButton.js +25 -0
- package/dist/floatingUi-41f8c7b5.js +29 -0
- package/dist/fonts/OpenSans/OpenSans-Bold.ttf +0 -0
- package/dist/fonts/OpenSans/OpenSans-Medium.ttf +0 -0
- package/dist/icons.js +89 -0
- package/dist/index-1a874a8b.js +110 -0
- package/dist/index.js +188 -242
- package/dist/isEmpty-ccacb5ff.js +38 -0
- package/dist/issueList.js +125 -0
- package/dist/maxValueDisplay-9be01a75.js +13 -0
- package/dist/maxValueDisplay.js +6 -0
- package/dist/meatballMenu-535635a9.js +5 -0
- package/dist/minus-2857540f.js +5 -0
- package/dist/modal.js +170 -14
- package/dist/openEye-950159cb.js +6 -0
- package/dist/pagination-4ded0ec6.js +355 -0
- package/dist/pagination.js +12 -5
- package/dist/plus-199fb2a8.js +5 -0
- package/dist/popover.js +58 -73
- package/dist/prevPage-87faf576.js +6 -0
- package/dist/radio-62546efa.js +76 -0
- package/dist/radio.js +1 -1
- package/dist/resizeColumn-46b5b30f.js +7 -0
- package/dist/segmentedControl.js +62 -0
- package/dist/selection-9124d029.js +38 -0
- package/dist/selection.js +10 -0
- package/dist/sidePanel.js +131 -0
- package/dist/sortable.js +302 -0
- package/dist/spinLoader-c4a53718.js +11 -0
- package/dist/spinLoader.js +7 -0
- package/dist/style.css +15 -1
- package/dist/success-8fd8bd2c.js +7 -0
- package/dist/systemAlert.js +69 -0
- package/dist/systemMessage-924fdaa6.js +30 -0
- package/dist/systemMessage.js +1 -1
- package/dist/table-03bd209d.js +1099 -0
- package/dist/table.js +10 -3
- package/dist/toggle-304107fa.js +59 -0
- package/dist/toggle.js +1 -1
- package/dist/tooltip.js +90 -57
- package/dist/tree-e7a0ef42.js +5 -0
- package/dist/useOnClickOutside-8f7d68a1.js +25 -0
- package/dist/useTreeSortable-70a9c8f5.js +179 -0
- package/dist/useWindowResize-a7e1ac92.js +16 -0
- package/dist/warning-537ead32.js +5 -0
- package/dist/xls-995781cc.js +11 -0
- package/package.json +51 -17
- package/dist/baseIconButton-7bc53dec.js +0 -25
- package/dist/bubblesLoader-a7e709d4.js +0 -17
- package/dist/button-bb309472.js +0 -62
- package/dist/checkbox-6777be17.js +0 -73
- package/dist/dropdown-50124296.js +0 -215
- package/dist/fieldNumber-46fe79b9.js +0 -127
- package/dist/fieldText-49fe2895.js +0 -102
- package/dist/fieldTextFlex-5bddf46a.js +0 -67
- package/dist/index-2a2d261a.js +0 -145
- package/dist/pagination-39b1fa15.js +0 -346
- package/dist/radio-fd49a09c.js +0 -76
- package/dist/systemMessage-1ced6079.js +0 -30
- package/dist/table-83e050dc.js +0 -147
- package/dist/toggle-9284387b.js +0 -67
- package/dist/useOnClickOutside-c332f7d3.js +0 -16
package/dist/index.js
CHANGED
|
@@ -1,248 +1,194 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import "./
|
|
1
|
+
import { AdaptiveTagList as y } from "./adaptiveTagList.js";
|
|
2
|
+
import { A as h, a as M } from "./actionMenu-77a63b96.js";
|
|
3
|
+
import { ACTION_MENU_DIVIDER as L } from "./actionMenu.js";
|
|
4
|
+
import { A as E } from "./index-1a874a8b.js";
|
|
5
|
+
import { B as k } from "./baseIconButton-251479f7.js";
|
|
6
|
+
import { B as N } from "./breadcrumbs-9b38b89c.js";
|
|
7
|
+
import { B as z } from "./bubblesLoader-f3ffa240.js";
|
|
8
|
+
import { BulkPanel as J } from "./bulkPanel.js";
|
|
9
|
+
import { B as _ } from "./button-97d9e587.js";
|
|
10
|
+
import { C as W } from "./checkbox-493fdc63.js";
|
|
11
|
+
import { Chip as j } from "./chip.js";
|
|
12
|
+
import { D as K } from "./datePicker-cde99de3.js";
|
|
13
|
+
import "react-datepicker";
|
|
14
|
+
import { D as Y } from "./dropdown-7d024c49.js";
|
|
15
|
+
import { FieldLabel as $ } from "./fieldLabel.js";
|
|
16
|
+
import { F as ro } from "./fieldNumber-d1b5a7a1.js";
|
|
17
|
+
import { F as to } from "./fieldText-1749da7a.js";
|
|
18
|
+
import { F as ao } from "./fieldTextFlex-2f51c173.js";
|
|
19
|
+
import { FileDropArea as mo } from "./fileDropArea.js";
|
|
20
|
+
import { FiltersButton as co } from "./filtersButton.js";
|
|
21
|
+
import { FilterItem as Io } from "./filterItem.js";
|
|
22
|
+
import { IssueList as xo } from "./issueList.js";
|
|
23
|
+
import { Modal as uo } from "./modal.js";
|
|
24
|
+
import { MultipleAutocomplete as Co, SingleAutocomplete as Po } from "./autocompletes.js";
|
|
25
|
+
import { P as Fo } from "./pagination-4ded0ec6.js";
|
|
26
|
+
import { Popover as To } from "./popover.js";
|
|
27
|
+
import { R as bo } from "./radio-62546efa.js";
|
|
28
|
+
import { SegmentedControl as Bo } from "./segmentedControl.js";
|
|
29
|
+
import { S as Mo } from "./selection-9124d029.js";
|
|
30
|
+
import { S as Lo } from "./spinLoader-c4a53718.js";
|
|
31
|
+
import { SystemAlert as Eo } from "./systemAlert.js";
|
|
32
|
+
import { S as ko } from "./systemMessage-924fdaa6.js";
|
|
33
|
+
import { DragLayer as No, SortableItem as Uo, SortableList as zo, TreeSortableContainer as Ho, TreeSortableItem as Jo } from "./sortable.js";
|
|
34
|
+
import { T as _o } from "./table-03bd209d.js";
|
|
35
|
+
import { T as Wo } from "./themeProvider-46c2be7b.js";
|
|
36
|
+
import { T as jo } from "./toggle-304107fa.js";
|
|
37
|
+
import { Tooltip as Ko } from "./tooltip.js";
|
|
38
|
+
import { SidePanel as Yo } from "./sidePanel.js";
|
|
39
|
+
import "react";
|
|
40
|
+
import "react-dnd";
|
|
41
|
+
import "react-dnd-html5-backend";
|
|
42
|
+
import { useTreeDropValidation as $o } from "./common/hooks.js";
|
|
43
|
+
import { AddCsvIcon as rr, AddImageIcon as er, AddJarIcon as tr, BreadcrumbsTreeIcon as nr, CalendarIcon as ar, CheckmarkIcon as pr, ChevronRightBreadcrumbsIcon as mr, ConfigurationIcon as ir, CopyIcon as cr, CoverageFullIcon as sr, CoveragePartialIcon as Ir, CoveredManuallyIcon as lr, DeleteIcon as xr, DragAndDropIcon as fr, DragNDropIcon as dr, DurationIcon as ur, EditIcon as Sr, ExportIcon as Cr, FlagIcon as Pr, GroupByIcon as gr, HideIcon as Fr, LaunchTypeIcon as Dr, MaximizeIcon as Tr, MoveToFolderIcon as Ar, PinFilledIcon as br, PinOutlineIcon as yr, PriorityBlockerIcon as Br, PriorityCriticalIcon as hr, PriorityHighIcon as Mr, PriorityLowIcon as vr, PriorityMediumIcon as Lr, PriorityUnspecifiedIcon as wr, RefreshIcon as Er, RerunIcon as Rr, RunManualIcon as kr, SearchIcon as Or, SortIcon as Nr, StatusSuccessIcon as Ur, TestPlanIcon as zr, UserIcon as Hr } from "./icons.js";
|
|
44
|
+
import { S as Vr, a as _r, b as Gr } from "./resizeColumn-46b5b30f.js";
|
|
45
|
+
import { S as Xr } from "./calendarArrow-44c7e60e.js";
|
|
46
|
+
import { S as qr } from "./chevronDownDropdown-0260bb66.js";
|
|
47
|
+
import { S as Qr } from "./clear-53660571.js";
|
|
48
|
+
import { S as Zr, a as $r } from "./openEye-950159cb.js";
|
|
49
|
+
import { S as re } from "./close-4d480ef7.js";
|
|
50
|
+
import { S as te, a as ne, b as ae, c as pe, d as me, e as ie, f as ce } from "./xls-995781cc.js";
|
|
51
|
+
import { S as Ie } from "./dropdown-0260bb66.js";
|
|
52
|
+
import { S as xe, a as fe, b as de } from "./success-8fd8bd2c.js";
|
|
53
|
+
import { S as Se, a as Ce } from "./filterOutline-819b4b0d.js";
|
|
54
|
+
import { S as ge } from "./meatballMenu-535635a9.js";
|
|
55
|
+
import { S as De } from "./minus-2857540f.js";
|
|
56
|
+
import { S as Ae } from "./plus-199fb2a8.js";
|
|
57
|
+
import { S as ye, a as Be } from "./prevPage-87faf576.js";
|
|
58
|
+
import { S as Me } from "./tree-e7a0ef42.js";
|
|
59
|
+
import { S as Le } from "./warning-537ead32.js";
|
|
60
|
+
import "react/jsx-runtime";
|
|
61
|
+
import "./bind-06a7ff84.js";
|
|
62
|
+
import "./isEmpty-ccacb5ff.js";
|
|
63
|
+
import "react-dom";
|
|
26
64
|
import "rc-scrollbars";
|
|
27
|
-
import "
|
|
28
|
-
import "./
|
|
65
|
+
import "./useOnClickOutside-8f7d68a1.js";
|
|
66
|
+
import "./keyCodes-f63c0e11.js";
|
|
67
|
+
import "react-datepicker/dist/es/index.js";
|
|
29
68
|
import "@floating-ui/react-dom";
|
|
30
69
|
import "downshift";
|
|
70
|
+
import "./maxValueDisplay-9be01a75.js";
|
|
71
|
+
import "react-dropzone";
|
|
72
|
+
import "framer-motion";
|
|
73
|
+
import "./useWindowResize-a7e1ac92.js";
|
|
31
74
|
import "@floating-ui/react";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"dropdowns-wrapper": "_dropdowns-wrapper_a3cjx_8",
|
|
38
|
-
"button-prev": "_button-prev_a3cjx_13",
|
|
39
|
-
"button-next": "_button-next_a3cjx_14",
|
|
40
|
-
disabled: O,
|
|
41
|
-
dropdown: W,
|
|
42
|
-
"month-dropdown": "_month-dropdown_a3cjx_44",
|
|
43
|
-
"toggle-button": "_toggle-button_a3cjx_47"
|
|
44
|
-
}, l = P.bind(q), z = ({
|
|
45
|
-
date: t = /* @__PURE__ */ new Date(),
|
|
46
|
-
changeYear: c = () => {
|
|
47
|
-
},
|
|
48
|
-
changeMonth: i = () => {
|
|
49
|
-
},
|
|
50
|
-
decreaseMonth: u = () => {
|
|
51
|
-
},
|
|
52
|
-
increaseMonth: o = () => {
|
|
53
|
-
},
|
|
54
|
-
prevMonthButtonDisabled: r = !1,
|
|
55
|
-
nextMonthButtonDisabled: w = !1,
|
|
56
|
-
headerNodes: f = null,
|
|
57
|
-
customClassName: x = "",
|
|
58
|
-
yearsOptions: m = [],
|
|
59
|
-
locale: v
|
|
60
|
-
}) => {
|
|
61
|
-
const p = t.getFullYear(), b = t.getMonth(), _ = F(() => {
|
|
62
|
-
const a = Array(12).keys(), s = new Intl.DateTimeFormat(v, {
|
|
63
|
-
month: "long"
|
|
64
|
-
}), d = (C) => s.format(new Date(p, C));
|
|
65
|
-
return Array.from(a, d).reduce((C, A, E) => C.concat({
|
|
66
|
-
value: E,
|
|
67
|
-
label: A
|
|
68
|
-
}), []);
|
|
69
|
-
}, []), L = F(() => (m.length > 0 ? m : $(p)).reduce(
|
|
70
|
-
(s, d) => s.concat({ value: d, label: `${d}` }),
|
|
71
|
-
[]
|
|
72
|
-
), [m]), B = (a) => {
|
|
73
|
-
i(a);
|
|
74
|
-
}, M = (a) => {
|
|
75
|
-
c(a);
|
|
76
|
-
};
|
|
77
|
-
return /* @__PURE__ */ S(D, { children: [
|
|
78
|
-
f && /* @__PURE__ */ n("div", { className: l(x), children: f }),
|
|
79
|
-
/* @__PURE__ */ S("div", { className: l("header"), children: [
|
|
80
|
-
/* @__PURE__ */ n(
|
|
81
|
-
"button",
|
|
82
|
-
{
|
|
83
|
-
"aria-label": "Previous Months",
|
|
84
|
-
disabled: r,
|
|
85
|
-
onClick: u,
|
|
86
|
-
className: l("button-prev", { disabled: r }),
|
|
87
|
-
children: /* @__PURE__ */ n(R, {})
|
|
88
|
-
}
|
|
89
|
-
),
|
|
90
|
-
/* @__PURE__ */ S("div", { className: l("dropdowns-wrapper"), children: [
|
|
91
|
-
/* @__PURE__ */ n(
|
|
92
|
-
j,
|
|
93
|
-
{
|
|
94
|
-
options: _,
|
|
95
|
-
value: b,
|
|
96
|
-
onChange: B,
|
|
97
|
-
transparentBackground: !0,
|
|
98
|
-
className: l("dropdown", "month-dropdown"),
|
|
99
|
-
toggleButtonClassName: l("toggle-button")
|
|
100
|
-
}
|
|
101
|
-
),
|
|
102
|
-
/* @__PURE__ */ n(
|
|
103
|
-
j,
|
|
104
|
-
{
|
|
105
|
-
options: L,
|
|
106
|
-
value: p,
|
|
107
|
-
onChange: M,
|
|
108
|
-
transparentBackground: !0,
|
|
109
|
-
className: l("dropdown"),
|
|
110
|
-
toggleButtonClassName: l("toggle-button")
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
] }),
|
|
114
|
-
/* @__PURE__ */ n(
|
|
115
|
-
"button",
|
|
116
|
-
{
|
|
117
|
-
"aria-label": "Next Months",
|
|
118
|
-
disabled: w,
|
|
119
|
-
onClick: o,
|
|
120
|
-
className: l("button-next", { disabled: w }),
|
|
121
|
-
children: /* @__PURE__ */ n(R, {})
|
|
122
|
-
}
|
|
123
|
-
)
|
|
124
|
-
] })
|
|
125
|
-
] });
|
|
126
|
-
}, J = "_calendar_1jr94_5", K = "_date_1jr94_90", Q = "_disabled_1jr94_202", X = "_popper_1jr94_210", e1 = "_input_1jr94_214", t1 = {
|
|
127
|
-
calendar: J,
|
|
128
|
-
"current-date": "_current-date_1jr94_89",
|
|
129
|
-
date: K,
|
|
130
|
-
"selected-range": "_selected-range_1jr94_119",
|
|
131
|
-
"end-date": "_end-date_1jr94_119",
|
|
132
|
-
disabled: Q,
|
|
133
|
-
popper: X,
|
|
134
|
-
input: e1
|
|
135
|
-
}, g = P.bind(t1), o1 = "en", T = "MM-dd-yyyy", x1 = ({
|
|
136
|
-
onChange: t = () => {
|
|
137
|
-
},
|
|
138
|
-
disabled: c = !1,
|
|
139
|
-
onBlur: i = () => {
|
|
140
|
-
},
|
|
141
|
-
onFocus: u = () => {
|
|
142
|
-
},
|
|
143
|
-
endDate: o = void 0,
|
|
144
|
-
startDate: r = void 0,
|
|
145
|
-
headerNodes: w = null,
|
|
146
|
-
customClassName: f = "",
|
|
147
|
-
customTimeInput: x = void 0,
|
|
148
|
-
shouldCloseOnSelect: m = !0,
|
|
149
|
-
popperClassName: v = "",
|
|
150
|
-
calendarClassName: p = "",
|
|
151
|
-
fixedHeight: b = !1,
|
|
152
|
-
language: _ = o1,
|
|
153
|
-
yearsOptions: L = [],
|
|
154
|
-
placeholder: B = T.toUpperCase(),
|
|
155
|
-
dateFormat: M = T,
|
|
156
|
-
selects: a = "start",
|
|
157
|
-
value: s = null
|
|
158
|
-
}) => {
|
|
159
|
-
const d = U(null), y = r == null ? void 0 : r.toDateString(), C = o == null ? void 0 : o.toDateString(), A = o && r && o > r, E = (h) => {
|
|
160
|
-
const I = h.toDateString(), H = I === y, N = A && I === C, k = r && o && h > r && h < o;
|
|
161
|
-
return g("date", {
|
|
162
|
-
"current-date": H,
|
|
163
|
-
"selected-range": k && !N,
|
|
164
|
-
"end-date": N && A,
|
|
165
|
-
disabled: c
|
|
166
|
-
});
|
|
167
|
-
};
|
|
168
|
-
return /* @__PURE__ */ n(
|
|
169
|
-
V,
|
|
170
|
-
{
|
|
171
|
-
customInput: /* @__PURE__ */ n(
|
|
172
|
-
Z,
|
|
173
|
-
{
|
|
174
|
-
className: g("input"),
|
|
175
|
-
defaultWidth: !1,
|
|
176
|
-
endIcon: /* @__PURE__ */ n(Y, {}),
|
|
177
|
-
ref: d
|
|
178
|
-
}
|
|
179
|
-
),
|
|
180
|
-
placeholderText: B,
|
|
181
|
-
selected: s,
|
|
182
|
-
startDate: r,
|
|
183
|
-
endDate: o,
|
|
184
|
-
minDate: a === "end" ? r : void 0,
|
|
185
|
-
disabled: c,
|
|
186
|
-
shouldCloseOnSelect: m,
|
|
187
|
-
fixedHeight: b,
|
|
188
|
-
locale: _,
|
|
189
|
-
showPopperArrow: !1,
|
|
190
|
-
dayClassName: E,
|
|
191
|
-
calendarClassName: g(p, "calendar"),
|
|
192
|
-
renderCustomHeader: (h) => /* @__PURE__ */ n(
|
|
193
|
-
z,
|
|
194
|
-
{
|
|
195
|
-
...h,
|
|
196
|
-
headerNodes: w,
|
|
197
|
-
customClassName: f,
|
|
198
|
-
yearsOptions: L,
|
|
199
|
-
locale: _
|
|
200
|
-
}
|
|
201
|
-
),
|
|
202
|
-
onChange: t,
|
|
203
|
-
onBlur: i,
|
|
204
|
-
onFocus: u,
|
|
205
|
-
customTimeInput: x,
|
|
206
|
-
showTimeInput: !!x,
|
|
207
|
-
popperClassName: g(v, "popper"),
|
|
208
|
-
dateFormat: M,
|
|
209
|
-
selectsStart: a === "start",
|
|
210
|
-
selectsEnd: a === "end",
|
|
211
|
-
className: g("datepicker")
|
|
212
|
-
}
|
|
213
|
-
);
|
|
214
|
-
};
|
|
75
|
+
import "./floatingUi-41f8c7b5.js";
|
|
76
|
+
import "es-toolkit";
|
|
77
|
+
import "./useTreeSortable-70a9c8f5.js";
|
|
78
|
+
import "./common.js";
|
|
79
|
+
import "react-resizable";
|
|
215
80
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
81
|
+
L as ACTION_MENU_DIVIDER,
|
|
82
|
+
h as ActionMenu,
|
|
83
|
+
M as ActionMenuItem,
|
|
84
|
+
y as AdaptiveTagList,
|
|
85
|
+
rr as AddCsvIcon,
|
|
86
|
+
er as AddImageIcon,
|
|
87
|
+
tr as AddJarIcon,
|
|
88
|
+
Vr as ArrowDownIcon,
|
|
89
|
+
_r as ArrowUpIcon,
|
|
90
|
+
E as AttachedFile,
|
|
91
|
+
k as BaseIconButton,
|
|
92
|
+
N as Breadcrumbs,
|
|
93
|
+
nr as BreadcrumbsTreeIcon,
|
|
94
|
+
z as BubblesLoader,
|
|
95
|
+
J as BulkPanel,
|
|
96
|
+
_ as Button,
|
|
97
|
+
Xr as CalendarArrowIcon,
|
|
98
|
+
ar as CalendarIcon,
|
|
99
|
+
W as Checkbox,
|
|
100
|
+
pr as CheckmarkIcon,
|
|
101
|
+
qr as ChevronDownDropdownIcon,
|
|
102
|
+
mr as ChevronRightBreadcrumbsIcon,
|
|
103
|
+
j as Chip,
|
|
104
|
+
Qr as ClearIcon,
|
|
105
|
+
Zr as CloseEyeIcon,
|
|
106
|
+
re as CloseIcon,
|
|
107
|
+
ir as ConfigurationIcon,
|
|
108
|
+
cr as CopyIcon,
|
|
109
|
+
sr as CoverageFullIcon,
|
|
110
|
+
Ir as CoveragePartialIcon,
|
|
111
|
+
lr as CoveredManuallyIcon,
|
|
112
|
+
te as CsvIcon,
|
|
113
|
+
K as DatePicker,
|
|
114
|
+
xr as DeleteIcon,
|
|
115
|
+
fr as DragAndDropIcon,
|
|
116
|
+
No as DragLayer,
|
|
117
|
+
dr as DragNDropIcon,
|
|
118
|
+
Y as Dropdown,
|
|
119
|
+
Ie as DropdownIcon,
|
|
120
|
+
ur as DurationIcon,
|
|
121
|
+
Sr as EditIcon,
|
|
122
|
+
xe as ErrorIcon,
|
|
123
|
+
Cr as ExportIcon,
|
|
124
|
+
ne as ExternalLinkIcon,
|
|
125
|
+
$ as FieldLabel,
|
|
126
|
+
ro as FieldNumber,
|
|
127
|
+
to as FieldText,
|
|
128
|
+
ao as FieldTextFlex,
|
|
129
|
+
mo as FileDropArea,
|
|
130
|
+
ae as FileOtherIcon,
|
|
131
|
+
Se as FilterFilledIcon,
|
|
132
|
+
Io as FilterItem,
|
|
133
|
+
Ce as FilterOutlineIcon,
|
|
134
|
+
co as FiltersButton,
|
|
135
|
+
Pr as FlagIcon,
|
|
136
|
+
gr as GroupByIcon,
|
|
137
|
+
Fr as HideIcon,
|
|
138
|
+
pe as ImageIcon,
|
|
139
|
+
fe as InfoIcon,
|
|
140
|
+
xo as IssueList,
|
|
141
|
+
me as JarIcon,
|
|
142
|
+
Dr as LaunchTypeIcon,
|
|
143
|
+
Tr as MaximizeIcon,
|
|
144
|
+
ge as MeatballMenuIcon,
|
|
145
|
+
De as MinusIcon,
|
|
146
|
+
uo as Modal,
|
|
147
|
+
Ar as MoveToFolderIcon,
|
|
148
|
+
Co as MultipleAutocomplete,
|
|
149
|
+
$r as OpenEyeIcon,
|
|
150
|
+
Fo as Pagination,
|
|
151
|
+
ie as PdfIcon,
|
|
152
|
+
br as PinFilledIcon,
|
|
153
|
+
yr as PinOutlineIcon,
|
|
154
|
+
Ae as PlusIcon,
|
|
155
|
+
To as Popover,
|
|
156
|
+
ye as PrevChapterIcon,
|
|
157
|
+
Be as PrevPageIcon,
|
|
158
|
+
Br as PriorityBlockerIcon,
|
|
159
|
+
hr as PriorityCriticalIcon,
|
|
160
|
+
Mr as PriorityHighIcon,
|
|
161
|
+
vr as PriorityLowIcon,
|
|
162
|
+
Lr as PriorityMediumIcon,
|
|
163
|
+
wr as PriorityUnspecifiedIcon,
|
|
164
|
+
bo as Radio,
|
|
165
|
+
Er as RefreshIcon,
|
|
166
|
+
Rr as RerunIcon,
|
|
167
|
+
Gr as ResizeColumnIcon,
|
|
168
|
+
kr as RunManualIcon,
|
|
169
|
+
Or as SearchIcon,
|
|
170
|
+
Bo as SegmentedControl,
|
|
171
|
+
Mo as Selection,
|
|
172
|
+
Yo as SidePanel,
|
|
173
|
+
Po as SingleAutocomplete,
|
|
174
|
+
Nr as SortIcon,
|
|
175
|
+
Uo as SortableItem,
|
|
176
|
+
zo as SortableList,
|
|
177
|
+
Lo as SpinLoader,
|
|
178
|
+
Ur as StatusSuccessIcon,
|
|
179
|
+
de as SuccessIcon,
|
|
180
|
+
Eo as SystemAlert,
|
|
181
|
+
ko as SystemMessage,
|
|
182
|
+
_o as Table,
|
|
183
|
+
zr as TestPlanIcon,
|
|
184
|
+
Wo as ThemeProvider,
|
|
185
|
+
jo as Toggle,
|
|
186
|
+
Ko as Tooltip,
|
|
187
|
+
Me as TreeIcon,
|
|
188
|
+
Ho as TreeSortableContainer,
|
|
189
|
+
Jo as TreeSortableItem,
|
|
190
|
+
Hr as UserIcon,
|
|
191
|
+
Le as WarningIcon,
|
|
192
|
+
ce as XlsIcon,
|
|
193
|
+
$o as useTreeDropValidation
|
|
248
194
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
function e(t) {
|
|
2
|
+
return Number.isSafeInteger(t) && t >= 0;
|
|
3
|
+
}
|
|
4
|
+
function o(t) {
|
|
5
|
+
return t != null && typeof t != "function" && e(t.length);
|
|
6
|
+
}
|
|
7
|
+
function i(t) {
|
|
8
|
+
return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
|
|
9
|
+
}
|
|
10
|
+
function f(t) {
|
|
11
|
+
return ArrayBuffer.isView(t) && !(t instanceof DataView);
|
|
12
|
+
}
|
|
13
|
+
function c(t) {
|
|
14
|
+
return t !== null && typeof t == "object" && i(t) === "[object Arguments]";
|
|
15
|
+
}
|
|
16
|
+
function s(t) {
|
|
17
|
+
const n = t == null ? void 0 : t.constructor, r = typeof n == "function" ? n.prototype : Object.prototype;
|
|
18
|
+
return t === r;
|
|
19
|
+
}
|
|
20
|
+
function p(t) {
|
|
21
|
+
return f(t);
|
|
22
|
+
}
|
|
23
|
+
function y(t) {
|
|
24
|
+
if (t == null)
|
|
25
|
+
return !0;
|
|
26
|
+
if (o(t))
|
|
27
|
+
return typeof t.splice != "function" && typeof t != "string" && (typeof Buffer > "u" || !Buffer.isBuffer(t)) && !p(t) && !c(t) ? !1 : t.length === 0;
|
|
28
|
+
if (typeof t == "object") {
|
|
29
|
+
if (t instanceof Map || t instanceof Set)
|
|
30
|
+
return t.size === 0;
|
|
31
|
+
const n = Object.keys(t);
|
|
32
|
+
return s(t) ? n.filter((r) => r !== "constructor").length === 0 : n.length === 0;
|
|
33
|
+
}
|
|
34
|
+
return !0;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
y as i
|
|
38
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { jsxs as H, jsx as y } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as v, useState as E, useCallback as N, useEffect as I } from "react";
|
|
3
|
+
import { c as q } from "./bind-06a7ff84.js";
|
|
4
|
+
import { Chip as F } from "./chip.js";
|
|
5
|
+
import { Tooltip as B } from "./tooltip.js";
|
|
6
|
+
import { i as J } from "./isEmpty-ccacb5ff.js";
|
|
7
|
+
import "./close-4d480ef7.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@floating-ui/react";
|
|
10
|
+
import "./floatingUi-41f8c7b5.js";
|
|
11
|
+
const K = 100, R = 8, Q = 32, X = 60, Z = 360, $ = "_expanded_ypfdt_25", C = "_issue_ypfdt_16", tt = "_counter_ypfdt_36", et = "_hidden_ypfdt_55", nt = "_ellipsis_ypfdt_61", rt = {
|
|
12
|
+
"issue-list": "_issue-list_ypfdt_16",
|
|
13
|
+
expanded: $,
|
|
14
|
+
issue: C,
|
|
15
|
+
"counter-wrapper": "_counter-wrapper_ypfdt_36",
|
|
16
|
+
counter: tt,
|
|
17
|
+
"tooltip-wrapper": "_tooltip-wrapper_ypfdt_50",
|
|
18
|
+
hidden: et,
|
|
19
|
+
ellipsis: nt
|
|
20
|
+
}, a = q.bind(rt), ht = ({
|
|
21
|
+
issues: n,
|
|
22
|
+
isExpanded: W = !1,
|
|
23
|
+
onIssueClick: i,
|
|
24
|
+
onIssueRemove: T,
|
|
25
|
+
onCounterClick: d,
|
|
26
|
+
renderTooltip: L,
|
|
27
|
+
tooltipPortalRoot: S,
|
|
28
|
+
className: j
|
|
29
|
+
}) => {
|
|
30
|
+
const p = v(null), x = v(null), O = v(/* @__PURE__ */ new Map()), D = v(/* @__PURE__ */ new Map()), [M, c] = E(n.length), [o, k] = E(W), [w, l] = E(!1), z = N((t, r) => {
|
|
31
|
+
r && O.current.set(t, r);
|
|
32
|
+
}, []), f = N(() => {
|
|
33
|
+
var _;
|
|
34
|
+
const t = p.current;
|
|
35
|
+
if (!t || n.length === 0)
|
|
36
|
+
return;
|
|
37
|
+
const r = t.offsetWidth, u = ((_ = x.current) == null ? void 0 : _.offsetWidth) || Q, h = n.map((e, m) => {
|
|
38
|
+
const g = O.current.get(e.key);
|
|
39
|
+
if (!g)
|
|
40
|
+
return 0;
|
|
41
|
+
const s = g.offsetWidth;
|
|
42
|
+
return m === 0 && w ? D.current.get(e.key) || s : (D.current.set(e.key, s), s);
|
|
43
|
+
});
|
|
44
|
+
if (h.reduce((e, m) => e + m, 0) + (n.length - 1) * R <= r) {
|
|
45
|
+
l(!1), c(n.length);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
for (let e = n.length - 1; e >= 1; e--) {
|
|
49
|
+
if (h.slice(0, e).reduce((s, Y) => s + Y, 0) + e * R + u <= r) {
|
|
50
|
+
c(e), l(!1);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (e === 1) {
|
|
54
|
+
r - R - u <= X ? (c(0), l(!1)) : (c(1), l(!0));
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}, [n, w]);
|
|
59
|
+
I(() => {
|
|
60
|
+
k(W);
|
|
61
|
+
}, [W]), I(() => {
|
|
62
|
+
if (o)
|
|
63
|
+
return;
|
|
64
|
+
const t = setTimeout(f, K);
|
|
65
|
+
return () => clearTimeout(t);
|
|
66
|
+
}, [f, n, o]), I(() => {
|
|
67
|
+
if (o)
|
|
68
|
+
return;
|
|
69
|
+
const t = new ResizeObserver(() => {
|
|
70
|
+
f();
|
|
71
|
+
});
|
|
72
|
+
return p.current && t.observe(p.current), () => t.disconnect();
|
|
73
|
+
}, [f, o]);
|
|
74
|
+
const G = N(() => {
|
|
75
|
+
k(!0), c(n.length), l(!1), d == null || d();
|
|
76
|
+
}, [n.length, d]), P = N(
|
|
77
|
+
(t) => {
|
|
78
|
+
i == null || i(t);
|
|
79
|
+
},
|
|
80
|
+
[i]
|
|
81
|
+
);
|
|
82
|
+
if (J(n))
|
|
83
|
+
return null;
|
|
84
|
+
const A = n.length - M, U = A > 0 && !o, V = (t, r) => {
|
|
85
|
+
const u = !o && r >= M, h = !o && r === 0 && w, b = /* @__PURE__ */ y(
|
|
86
|
+
F,
|
|
87
|
+
{
|
|
88
|
+
variant: "link",
|
|
89
|
+
link: t.link,
|
|
90
|
+
onClick: i ? () => P(t) : void 0,
|
|
91
|
+
onRemove: T ? () => T(t) : void 0,
|
|
92
|
+
children: t.name
|
|
93
|
+
}
|
|
94
|
+
), _ = L ? /* @__PURE__ */ y(
|
|
95
|
+
B,
|
|
96
|
+
{
|
|
97
|
+
content: L(t),
|
|
98
|
+
width: Z,
|
|
99
|
+
portalRoot: S,
|
|
100
|
+
wrapperClassName: a("tooltip-wrapper"),
|
|
101
|
+
placement: "top",
|
|
102
|
+
children: b
|
|
103
|
+
}
|
|
104
|
+
) : b;
|
|
105
|
+
return /* @__PURE__ */ y(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
ref: (e) => z(t.key, e),
|
|
109
|
+
className: a("issue", { hidden: u, ellipsis: h }),
|
|
110
|
+
children: _
|
|
111
|
+
},
|
|
112
|
+
t.key
|
|
113
|
+
);
|
|
114
|
+
};
|
|
115
|
+
return /* @__PURE__ */ H("div", { ref: p, className: a("issue-list", j, { expanded: o }), children: [
|
|
116
|
+
n.map((t, r) => V(t, r)),
|
|
117
|
+
/* @__PURE__ */ y("div", { ref: x, className: a("counter-wrapper", { hidden: !U }), children: /* @__PURE__ */ H(F, { className: a("counter"), variant: "link", onClick: G, children: [
|
|
118
|
+
"+",
|
|
119
|
+
A
|
|
120
|
+
] }) })
|
|
121
|
+
] });
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
ht as IssueList
|
|
125
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
const t = (s) => typeof s == "number" && Number.isFinite(s) && Number.isInteger(s) && s > 0, p = ({
|
|
3
|
+
className: s,
|
|
4
|
+
value: e,
|
|
5
|
+
maxValue: n
|
|
6
|
+
}) => t(n) ? /* @__PURE__ */ r("span", { className: s, children: [
|
|
7
|
+
e,
|
|
8
|
+
"/",
|
|
9
|
+
n
|
|
10
|
+
] }) : null;
|
|
11
|
+
export {
|
|
12
|
+
p as M
|
|
13
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as C from "react";
|
|
2
|
+
const l = (e) => /* @__PURE__ */ C.createElement("svg", { width: 14, height: 3, viewBox: "0 0 14 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.30811 2.47803C1.72868 2.47803 2.05339 2.36206 2.28223 2.13013C2.51107 1.89819 2.62549 1.60596 2.62549 1.25342C2.62549 0.894694 2.51107 0.596273 2.28223 0.358154C2.05339 0.120036 1.72868 0.000976562 1.30811 0.000976562C0.893717 0.000976562 0.572103 0.120036 0.343262 0.358154C0.114421 0.596273 0 0.894694 0 1.25342C0 1.61214 0.117513 1.90592 0.352539 2.13477C0.587565 2.36361 0.906087 2.47803 1.30811 2.47803ZM6.61475 2.47803C7.03532 2.47803 7.36003 2.36206 7.58887 2.13013C7.81771 1.89819 7.93213 1.60596 7.93213 1.25342C7.93213 0.894694 7.81771 0.596273 7.58887 0.358154C7.36003 0.120036 7.03532 0.000976562 6.61475 0.000976562C6.20036 0.000976562 5.87874 0.120036 5.6499 0.358154C5.42106 0.596273 5.30664 0.894694 5.30664 1.25342C5.30664 1.61214 5.42415 1.90592 5.65918 2.13477C5.89421 2.36361 6.21273 2.47803 6.61475 2.47803ZM12.8955 2.13013C12.6667 2.36206 12.342 2.47803 11.9214 2.47803C11.5194 2.47803 11.2008 2.36361 10.9658 2.13477C10.7308 1.90592 10.6133 1.61214 10.6133 1.25342C10.6133 0.894694 10.7277 0.596273 10.9565 0.358154C11.1854 0.120036 11.507 0.000976562 11.9214 0.000976562C12.342 0.000976562 12.6667 0.120036 12.8955 0.358154C13.1243 0.596273 13.2388 0.894694 13.2388 1.25342C13.2388 1.60596 13.1243 1.89819 12.8955 2.13013Z", fill: "#A2AAB5" }));
|
|
3
|
+
export {
|
|
4
|
+
l as S
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "#C1C7D0", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.31082 7.31081C2.94108 7.30926 2.6426 7.60773 2.64415 7.97748C2.64571 8.34722 2.9467 8.64822 3.31645 8.64977L12.6892 8.68919C13.0589 8.69074 13.3574 8.39227 13.3559 8.02252C13.3543 7.65278 13.0533 7.35178 12.6836 7.35023L3.31082 7.31081Z" }));
|
|
3
|
+
export {
|
|
4
|
+
l as S
|
|
5
|
+
};
|