@axinom/mosaic-ui 0.69.0-rc.4 → 0.69.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/dist/components/Buttons/Button/Button.d.ts +3 -3
- package/dist/components/Buttons/Button.model.d.ts +0 -1
- package/dist/components/Buttons/Button.model.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.models.d.ts +0 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.models.d.ts.map +1 -1
- package/dist/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.d.ts +2 -2
- package/dist/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicDataList.d.ts +1 -1
- package/dist/components/DynamicDataList/DynamicDataList.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicDataList.model.d.ts +0 -1
- package/dist/components/DynamicDataList/DynamicDataList.model.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.d.ts +2 -2
- package/dist/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/createInputRenderer.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/createSelectRenderer.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicListHeader/DynamicListHeader.d.ts +2 -2
- package/dist/components/DynamicDataList/DynamicListHeader/DynamicListHeader.d.ts.map +1 -1
- package/dist/components/DynamicDataList/DynamicListRow/DynamicListRow.d.ts +2 -2
- package/dist/components/DynamicDataList/DynamicListRow/DynamicListRow.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.d.ts +2 -2
- package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.init.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/useColumnDefs.d.ts +1 -1
- package/dist/components/DynamicDataList/helpers/useColumnDefs.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/useDataHandler.d.ts +1 -1
- package/dist/components/DynamicDataList/helpers/useDataHandler.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/useRowAnimation.d.ts.map +1 -1
- package/dist/components/DynamicDataList/helpers/useRowEditing.d.ts.map +1 -1
- package/dist/components/EmptyStation/EmptyStation.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/FormFieldsConfigConverter.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/GenerateMutation.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/useBulkEdit.d.ts.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +4 -2
- package/dist/components/Explorer/Explorer.d.ts.map +1 -1
- package/dist/components/Explorer/Explorer.model.d.ts +6 -1
- package/dist/components/Explorer/Explorer.model.d.ts.map +1 -1
- package/dist/components/Explorer/NavigationExplorer/NavigationExplorer.d.ts +1 -1
- package/dist/components/Explorer/NavigationExplorer/NavigationExplorer.d.ts.map +1 -1
- package/dist/components/Explorer/QuickEdit/useQuickEdit.d.ts +3 -2
- package/dist/components/Explorer/QuickEdit/useQuickEdit.d.ts.map +1 -1
- package/dist/components/Explorer/SelectionExplorer/SelectionExplorer.d.ts +1 -1
- package/dist/components/Explorer/SelectionExplorer/SelectionExplorer.d.ts.map +1 -1
- package/dist/components/Explorer/helpers/useActions.d.ts +0 -1
- package/dist/components/Explorer/helpers/useActions.d.ts.map +1 -1
- package/dist/components/Explorer/helpers/useDataProvider.d.ts +0 -1
- package/dist/components/Explorer/helpers/useDataProvider.d.ts.map +1 -1
- package/dist/components/Explorer/helpers/useFilters.d.ts +0 -1
- package/dist/components/Explorer/helpers/useFilters.d.ts.map +1 -1
- package/dist/components/Filters/Filter/Filter.d.ts +2 -2
- package/dist/components/Filters/Filter/Filter.d.ts.map +1 -1
- package/dist/components/Filters/Filters.d.ts +2 -2
- package/dist/components/Filters/Filters.d.ts.map +1 -1
- package/dist/components/Filters/Filters.model.d.ts +0 -1
- package/dist/components/Filters/Filters.model.d.ts.map +1 -1
- package/dist/components/Filters/Validators/DateRangeFilterValidator.d.ts.map +1 -1
- package/dist/components/Filters/Validators/NumberRangeFilterValidator.d.ts.map +1 -1
- package/dist/components/FormElements/DynamicDataListControl/DynamicDataListControl.d.ts +0 -1
- package/dist/components/FormElements/DynamicDataListControl/DynamicDataListControl.d.ts.map +1 -1
- package/dist/components/FormElements/DynamicDataListControl/DynamicDataListField.d.ts +2 -2
- package/dist/components/FormElements/DynamicDataListControl/DynamicDataListField.d.ts.map +1 -1
- package/dist/components/FormElements/FormGroup/FormGroup.d.ts +12 -0
- package/dist/components/FormElements/FormGroup/FormGroup.d.ts.map +1 -0
- package/dist/components/FormElements/FormGroupTitle/FormGroupTitle.d.ts +5 -0
- package/dist/components/FormElements/FormGroupTitle/FormGroupTitle.d.ts.map +1 -1
- package/dist/components/FormElements/FormikDebug/FormikDebug.d.ts +0 -1
- package/dist/components/FormElements/FormikDebug/FormikDebug.d.ts.map +1 -1
- package/dist/components/FormElements/ReadOnly/ReadOnlyField.d.ts +2 -2
- package/dist/components/FormElements/ReadOnly/ReadOnlyField.d.ts.map +1 -1
- package/dist/components/FormElements/ReadOnlyText/ReadOnlyTextField.d.ts +2 -2
- package/dist/components/FormElements/ReadOnlyText/ReadOnlyTextField.d.ts.map +1 -1
- package/dist/components/FormElements/Tags/Tags.d.ts +2 -2
- package/dist/components/FormElements/Tags/Tags.d.ts.map +1 -1
- package/dist/components/FormElements/Tags/TagsField.d.ts +2 -2
- package/dist/components/FormElements/Tags/TagsField.d.ts.map +1 -1
- package/dist/components/FormElements/formStoryHelper.d.ts.map +1 -1
- package/dist/components/FormElements/index.d.ts +1 -0
- package/dist/components/FormElements/index.d.ts.map +1 -1
- package/dist/components/FormElements/useFormikError.d.ts.map +1 -1
- package/dist/components/FormStation/Create/Create.d.ts +2 -2
- package/dist/components/FormStation/Create/Create.d.ts.map +1 -1
- package/dist/components/FormStation/Details/Details.d.ts +2 -2
- package/dist/components/FormStation/Details/Details.d.ts.map +1 -1
- package/dist/components/FormStation/FormStation.d.ts +2 -2
- package/dist/components/FormStation/FormStation.d.ts.map +1 -1
- package/dist/components/FormStation/FormStationActions/FormStationActions.d.ts +1 -1
- package/dist/components/FormStation/FormStationActions/FormStationActions.d.ts.map +1 -1
- package/dist/components/FormStation/SaveOnDemand/SaveOnDemand.d.ts +0 -1
- package/dist/components/FormStation/SaveOnDemand/SaveOnDemand.d.ts.map +1 -1
- package/dist/components/FormStation/SaveOnNavigate/handleNavigationAttempt.d.ts.map +1 -1
- package/dist/components/FormStation/helpers/useTitle.d.ts.map +1 -1
- package/dist/components/InfoPanel/hooks/useCollapse.d.ts +0 -1
- package/dist/components/InfoPanel/hooks/useCollapse.d.ts.map +1 -1
- package/dist/components/InlineMenu/InlineMenu.d.ts.map +1 -1
- package/dist/components/List/List.d.ts +2 -2
- package/dist/components/List/List.d.ts.map +1 -1
- package/dist/components/List/List.model.d.ts +0 -1
- package/dist/components/List/List.model.d.ts.map +1 -1
- package/dist/components/List/List.stories.helper.d.ts.map +1 -1
- package/dist/components/List/ListHeader/ColumnLabel/ColumnLabel.d.ts +2 -2
- package/dist/components/List/ListHeader/ColumnLabel/ColumnLabel.d.ts.map +1 -1
- package/dist/components/List/ListHeader/ListHeader.d.ts +2 -2
- package/dist/components/List/ListHeader/ListHeader.d.ts.map +1 -1
- package/dist/components/List/ListRow/ListRow.d.ts +2 -4
- package/dist/components/List/ListRow/ListRow.d.ts.map +1 -1
- package/dist/components/List/ListRow/ListRowCell/ListRowCell.d.ts +0 -1
- package/dist/components/List/ListRow/ListRowCell/ListRowCell.d.ts.map +1 -1
- package/dist/components/List/ListRow/ListRowCell/renderData.d.ts.map +1 -1
- package/dist/components/List/ListRow/ListRowLoader.d.ts +2 -2
- package/dist/components/List/ListRow/ListRowLoader.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/BooleanDotRenderer/BooleanDotRenderer.d.ts +0 -1
- package/dist/components/List/ListRow/Renderers/BooleanDotRenderer/BooleanDotRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/DateRenderer/DateRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/ExternalLinkRenderer/ExternalLinkRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/StateRenderer/StateRenderer.d.ts +1 -1
- package/dist/components/List/ListRow/Renderers/StateRenderer/StateRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/TagsRenderer/TagsRenderer.d.ts +0 -1
- package/dist/components/List/ListRow/Renderers/TagsRenderer/TagsRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRow/Renderers/TimestampRenderer/TimestampRenderer.d.ts.map +1 -1
- package/dist/components/List/ListRowRenderer/ListRowRenderer.d.ts.map +1 -1
- package/dist/components/List/helpers.d.ts.map +1 -1
- package/dist/components/List/useColumnsSize.d.ts +0 -2
- package/dist/components/List/useColumnsSize.d.ts.map +1 -1
- package/dist/components/Loaders/skeletons.d.ts +0 -1
- package/dist/components/Loaders/skeletons.d.ts.map +1 -1
- package/dist/components/Modal/useModal.d.ts.map +1 -1
- package/dist/components/PageHeader/PageHeaderActionsGroup/PageHeaderActionsGroupsContext.d.ts +0 -1
- package/dist/components/PageHeader/PageHeaderActionsGroup/PageHeaderActionsGroupsContext.d.ts.map +1 -1
- package/dist/components/PageHeader/helpers/useElementWidthObserver.d.ts +1 -2
- package/dist/components/PageHeader/helpers/useElementWidthObserver.d.ts.map +1 -1
- package/dist/components/Tabs/TabList/ScrollContainer/useScroll.d.ts.map +1 -1
- package/dist/components/Utils/Postgraphile/FilterTransformer.d.ts.map +1 -1
- package/dist/components/Utils/Postgraphile/SortTransformer.d.ts.map +1 -1
- package/dist/components/Utils/State/GlobalState.d.ts.map +1 -1
- package/dist/helpers/idleCallbackHelpers.d.ts +0 -1
- package/dist/helpers/idleCallbackHelpers.d.ts.map +1 -1
- package/dist/helpers/storybook.d.ts.map +1 -1
- package/dist/helpers/testing.d.ts +6 -21
- package/dist/helpers/testing.d.ts.map +1 -1
- package/dist/helpers/utils.d.ts +1 -2
- package/dist/helpers/utils.d.ts.map +1 -1
- package/dist/hooks/useDEBUGDetectChanges/useDEBUGDetectChanges.d.ts.map +1 -1
- package/dist/hooks/useDEBUGRenderCount/useDEBUGRenderCount.d.ts.map +1 -1
- package/dist/hooks/useDebounce/useDebounce.d.ts +1 -2
- package/dist/hooks/useDebounce/useDebounce.d.ts.map +1 -1
- package/dist/hooks/useExpand/useExpand.d.ts.map +1 -1
- package/dist/hooks/useReactRouterPause/utils.d.ts.map +1 -1
- package/dist/hooks/useResize/useResize.d.ts +0 -1
- package/dist/hooks/useResize/useResize.d.ts.map +1 -1
- package/dist/hooks/useTabTitle/useTabTitle.d.ts.map +1 -1
- package/dist/hooks/useValueOrOnDemand/useValueOrOnDemand.d.ts +1 -1
- package/dist/hooks/useValueOrOnDemand/useValueOrOnDemand.d.ts.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/utils/ErrorMapper/ErrorMapper.d.ts.map +1 -1
- package/dist/utils/ErrorTypeToStationError.d.ts.map +1 -1
- package/dist/utils/ToolTipHelpers.d.ts.map +1 -1
- package/dist/validators/timestamp/timestamp.d.ts.map +1 -1
- package/package.json +11 -10
- package/src/components/Accordion/Accordion.spec.tsx +1 -1
- package/src/components/Accordion/AccordionItem/AccordionItem.spec.tsx +2 -2
- package/src/components/Actions/Action/Action.spec.tsx +189 -228
- package/src/components/Actions/Actions.spec.tsx +42 -32
- package/src/components/Buttons/Button/Button.spec.tsx +110 -115
- package/src/components/Buttons/CompositeButton/CompositeButton.spec.tsx +122 -121
- package/src/components/Buttons/TextButton/TextButton.spec.tsx +85 -90
- package/src/components/ConfirmDialog/ConfirmDialog.spec.tsx +75 -79
- package/src/components/DateTime/DatePicker/DatePicker.spec.tsx +8 -7
- package/src/components/DateTime/DateTimePicker.spec.tsx +43 -62
- package/src/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.spec.tsx +19 -16
- package/src/components/DateTime/TimePicker/TimePicker.spec.tsx +44 -73
- package/src/components/DynamicDataList/DynamicDataList.spec.tsx +112 -107
- package/src/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.spec.tsx +91 -144
- package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/createInputRenderer.spec.tsx +18 -15
- package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/createSelectRenderer.spec.tsx +53 -28
- package/src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.scss +19 -5
- package/src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.spec.tsx +72 -76
- package/src/components/DynamicDataList/DynamicListRow/DynamicListRow.scss +9 -2
- package/src/components/DynamicDataList/DynamicListRow/DynamicListRow.spec.tsx +86 -113
- package/src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.spec.ts +1 -0
- package/src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.init.spec.ts +1 -0
- package/src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.spec.ts +6 -5
- package/src/components/EmptyStation/EmptyStation.spec.tsx +41 -37
- package/src/components/Explorer/BulkEdit/FormFieldsConfigConverter.spec.tsx +29 -28
- package/src/components/Explorer/BulkEdit/GenerateMutation.spec.tsx +1 -0
- package/src/components/Explorer/Explorer.model.ts +8 -0
- package/src/components/Explorer/Explorer.spec.tsx +513 -825
- package/src/components/Explorer/Explorer.tsx +6 -0
- package/src/components/Explorer/NavigationExplorer/NavigationExplorer.spec.tsx +90 -131
- package/src/components/Explorer/QuickEdit/useQuickEdit.spec.tsx +63 -57
- package/src/components/Explorer/QuickEdit/useQuickEdit.tsx +7 -3
- package/src/components/Explorer/SelectionExplorer/SelectionExplorer.spec.tsx +59 -65
- package/src/components/Explorer/helpers/InMemoryDataProvider.spec.ts +1 -0
- package/src/components/Explorer/helpers/useFilters.spec.tsx +13 -11
- package/src/components/Explorer/helpers/useStationMessage.spec.tsx +4 -3
- package/src/components/Explorer/helpers/useSubtitle.spec.tsx +1 -0
- package/src/components/FieldSelection/FieldSelection.spec.tsx +1 -1
- package/src/components/Filters/Filter/Filter.spec.tsx +78 -47
- package/src/components/Filters/Filters.spec.tsx +56 -58
- package/src/components/Filters/SelectionTypes/DateTimeFilter/DateTimeFilter.spec.tsx +45 -46
- package/src/components/Filters/SelectionTypes/FreeTextFilter/FreeTextFilter.spec.tsx +23 -23
- package/src/components/Filters/SelectionTypes/NumericTextFilter/NumericTextFilter.spec.tsx +37 -28
- package/src/components/Filters/SelectionTypes/OptionsFilter/OptionsFilter.spec.tsx +14 -12
- package/src/components/Filters/Validators/DateRangeFilterValidator.spec.ts +1 -0
- package/src/components/Filters/Validators/NumberRangeFilterValidator.spec.ts +1 -0
- package/src/components/FormElements/BooleanView/BooleanViewField.spec.tsx +34 -31
- package/src/components/FormElements/Checkbox/Checkbox.spec.tsx +129 -128
- package/src/components/FormElements/CustomTags/CustomTags.spec.tsx +312 -446
- package/src/components/FormElements/DateTimeField/DateTimeText.spec.tsx +61 -52
- package/src/components/FormElements/DynamicDataListControl/DynamicDataListControl.spec.tsx +19 -24
- package/src/components/FormElements/FileUploadControl/FileUploadControl.spec.tsx +67 -60
- package/src/components/FormElements/FormElementContainer/FormElementContainer.spec.tsx +13 -12
- package/src/components/FormElements/FormGroup/FormGroup.scss +62 -0
- package/src/components/FormElements/FormGroup/FormGroup.stories.tsx +25 -0
- package/src/components/FormElements/FormGroup/FormGroup.tsx +60 -0
- package/src/components/FormElements/FormGroupTitle/FormGroupTitle.tsx +5 -0
- package/src/components/FormElements/Link/LinkField.spec.tsx +24 -23
- package/src/components/FormElements/MaskedSingleLineText/MaskedSingleLineText.spec.tsx +4 -3
- package/src/components/FormElements/Radio/Radio.spec.tsx +170 -172
- package/src/components/FormElements/ReadOnly/ReadOnlyField.spec.tsx +23 -22
- package/src/components/FormElements/ReadOnlyText/ReadOnlyTextField.spec.tsx +23 -22
- package/src/components/FormElements/Select/Select.spec.tsx +30 -29
- package/src/components/FormElements/SingleLineText/SingleLineText.spec.tsx +46 -42
- package/src/components/FormElements/Tags/Tags.spec.tsx +59 -53
- package/src/components/FormElements/TextArea/TextArea.spec.tsx +44 -29
- package/src/components/FormElements/ToggleButton/ToggleButton.spec.tsx +188 -165
- package/src/components/FormElements/index.ts +1 -0
- package/src/components/FormStation/FormStation.spec.tsx +273 -198
- package/src/components/FormStation/FormStation.stories.tsx +15 -13
- package/src/components/FormStation/SaveOnNavigate/SaveOnNavigate.spec.tsx +23 -20
- package/src/components/FormStation/SaveOnNavigate/handleNavigationAttempt.spec.ts +25 -24
- package/src/components/FormStation/helpers/useTitle.spec.ts +9 -7
- package/src/components/Hub/Hub.spec.tsx +13 -10
- package/src/components/Hub/Tile/Tile.spec.tsx +29 -25
- package/src/components/Icons/Icons.spec.tsx +25 -27
- package/src/components/Icons/Icons.tsx +1 -1
- package/src/components/InfoPanel/InfoImage/InfoImage.spec.tsx +4 -3
- package/src/components/InfoPanel/InfoPanel.scss +2 -0
- package/src/components/InfoPanel/InfoPanel.spec.tsx +4 -3
- package/src/components/InfoPanel/Paragraph/Paragraph.spec.tsx +4 -3
- package/src/components/InfoPanel/Section/Section.spec.tsx +39 -46
- package/src/components/InfoPanel/hooks/useCollapse.ts +9 -7
- package/src/components/InlineMenu/InlineMenu.spec.tsx +24 -23
- package/src/components/InlineMenu/InlineMenu.tsx +3 -0
- package/src/components/LandingPageHeader/LandingPageHeader.spec.tsx +9 -8
- package/src/components/LandingPageTiles/LandingPageTiles.spec.tsx +29 -28
- package/src/components/LandingPageTiles/TileLarge/TileLarge.spec.tsx +68 -61
- package/src/components/LandingPageTiles/TileSmall/TileSmall.spec.tsx +50 -32
- package/src/components/List/List.spec.tsx +337 -241
- package/src/components/List/ListCheckBox/ListCheckBox.spec.tsx +54 -48
- package/src/components/List/ListHeader/ColumnLabel/ColumnLabel.scss +4 -1
- package/src/components/List/ListHeader/ColumnLabel/ColumnLabel.spec.tsx +46 -43
- package/src/components/List/ListHeader/ListHeader.spec.tsx +82 -66
- package/src/components/List/ListRow/ListRow.spec.tsx +125 -130
- package/src/components/List/ListRow/ListRowCell/ListRowCell.spec.tsx +57 -100
- package/src/components/List/ListRow/ListRowLoader.spec.tsx +16 -12
- package/src/components/List/ListRow/Renderers/BooleanDotRenderer/BooleanDotRenderer.spec.tsx +12 -9
- package/src/components/List/ListRow/Renderers/ExternalLinkRenderer/ExternalLinkRenderer.spec.tsx +40 -35
- package/src/components/List/ListRow/Renderers/StateRenderer/StateRenderer.spec.tsx +14 -17
- package/src/components/List/ListRow/Renderers/TagsRenderer/TagsRenderer.spec.tsx +18 -17
- package/src/components/List/ListRow/Renderers/TagsRenderer/TagsRenderer.tsx +2 -2
- package/src/components/List/ListRowRenderer/ListRowRenderer.spec.tsx +82 -68
- package/src/components/Loaders/ImageLoader/ImageLoader.spec.tsx +88 -96
- package/src/components/Loaders/Loader/Loader.spec.tsx +51 -24
- package/src/components/Message/Message.spec.tsx +56 -44
- package/src/components/MessageBar/MessageBar.scss +3 -0
- package/src/components/MessageBar/MessageBar.spec.tsx +88 -85
- package/src/components/Modal/Modal.spec.tsx +92 -87
- package/src/components/NavigationAwareStation/NavigationAwareStation.spec.tsx +23 -22
- package/src/components/PageHeader/PageHeader.spec.tsx +22 -21
- package/src/components/PageHeader/PageHeaderAction/PageHeaderAction.spec.tsx +275 -193
- package/src/components/PageHeader/PageHeaderActionsGroup/PageHeaderActionsGroup.spec.tsx +39 -34
- package/src/components/ProgressBar/ProgressBar.scss +2 -2
- package/src/components/ProgressBar/ProgressBar.spec.tsx +18 -15
- package/src/components/Utils/Postgraphile/CreateConnectionRenderer.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/FilterTransformer.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/RangeTransformer.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/SortTransformer.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/UpdateGQLFragmentGenerator.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/generateArrayMutations.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/getArrayDiff.spec.ts +1 -0
- package/src/components/Utils/Postgraphile/getFormDiff.spec.ts +1 -0
- package/src/components/Utils/State/GlobalState.spec.ts +4 -2
- package/src/components/Utils/Transformers/Boolean.spec.ts +1 -0
- package/src/components/Utils/Transformers/DateTime.spec.ts +2 -1
- package/src/components/Utils/Transformers/FileSize.spec.ts +1 -0
- package/src/components/Utils/Transformers/SortArray.spec.ts +1 -0
- package/src/components/Utils/Transformers/Timestamp.spec.ts +3 -2
- package/src/components/Utils/Transformers/TitleCase.spec.ts +1 -0
- package/src/components/VisualElements/ImgElement.spec.tsx +34 -35
- package/src/components/VisualElements/SvgElement.spec.tsx +72 -69
- package/src/helpers/testing.ts +9 -76
- package/src/hooks/useBusy/useBusy.spec.tsx +8 -9
- package/src/hooks/useClickOutside/useClickOutside.spec.tsx +19 -51
- package/src/hooks/useDebounce/useDebounce.spec.tsx +31 -26
- package/src/hooks/useExpand/useExpand.spec.tsx +30 -21
- package/src/hooks/useTabTitle/useTabTitle.spec.tsx +18 -18
- package/src/hooks/useValueOrOnDemand/useValueOrOnDemand.spec.tsx +31 -52
- package/src/styles/variables.scss +3 -1
- package/src/utils/ErrorMapper/ApolloClient/ApolloErrorMapper.spec.ts +1 -0
- package/src/utils/ErrorMapper/ErrorMapper.spec.ts +1 -0
- package/src/utils/ErrorTypeToStationError.spec.tsx +12 -11
- package/src/utils/ToolTipHelpers.spec.ts +1 -0
- package/src/validators/timestamp/timestamp.spec.ts +1 -0
- package/dist/helpers/hooksTestingHelpers.d.ts +0 -7
- package/dist/helpers/hooksTestingHelpers.d.ts.map +0 -1
- package/src/helpers/hooksTestingHelpers.tsx +0 -22
|
@@ -10,8 +10,8 @@ import { ContextButtonProps, NavigationButtonProps } from './Button.model';
|
|
|
10
10
|
* <Button path="/home" icon={IconName.X} />
|
|
11
11
|
*/
|
|
12
12
|
export declare const Button: React.ForwardRefExoticComponent<((NavigationButtonProps | ContextButtonProps) & {
|
|
13
|
-
width?: string | number
|
|
14
|
-
height?: string | number
|
|
15
|
-
icon?: IconName
|
|
13
|
+
width?: string | number;
|
|
14
|
+
height?: string | number;
|
|
15
|
+
icon?: IconName;
|
|
16
16
|
}) & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
17
17
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/Button.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/Button.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,+EAA+E;AAC/E,oBAAY,aAAa;IACvB;;;;;OAKG;IACH,UAAU,IAAA;IACV,OAAO,IAAA;IACP,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,IAAI,IAAA;CACL;AAED;;;GAGG;AACH,MAAM,WAAW,qBACf,SAAQ,mBAAmB,EACzB,iBAAiB,EACjB,eAAe,EACf,GAAG,CAAC,UAAU,CAAC;IACjB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,qDAAqD;IACrD,IAAI,C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K,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAyBxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.models.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmDialog/ConfirmDialog.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.models.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmDialog/ConfirmDialog.models.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAUxE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,2CAA2C;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6CAA6C;IAC7C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uDAAuD;IACvD,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
export interface ScrollColumnProps<T> {
|
|
3
3
|
/** Array of options to select from */
|
|
4
4
|
items: T[];
|
|
@@ -17,5 +17,5 @@ export interface ScrollColumnProps<T> {
|
|
|
17
17
|
/** Optional subtitle to display when options are hidden */
|
|
18
18
|
inActiveTitle?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare const ScrollColumn: <T>({ items, selectedItem, onSelected, itemHeight, displayItemCount, render, isActive, inActiveTitle, }:
|
|
20
|
+
export declare const ScrollColumn: <T>({ items, selectedItem, onSelected, itemHeight, displayItemCount, render, isActive, inActiveTitle, }: PropsWithChildren<ScrollColumnProps<T>>) => JSX.Element;
|
|
21
21
|
//# sourceMappingURL=ScrollColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"ScrollColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,uCAAuC;IACvC,KAAK,EAAE,CAAC,EAAE,CAAC;IAEX,8BAA8B;IAC9B,YAAY,EAAE,CAAC,CAAC;IAEhB,uCAAuC;IACvC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAE7B,kDAAkD;IAClD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAE/B,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,qGAS9B,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OA0GhD,CAAC"}
|
|
@@ -81,5 +81,5 @@ export interface DynamicDataListProps<T extends Data> {
|
|
|
81
81
|
* onChange={list => console.log(list)}
|
|
82
82
|
* />
|
|
83
83
|
*/
|
|
84
|
-
export declare const DynamicDataList: <T extends Data>({ columns, value, showHeader, minimumWidth, columnGap, rowGap, headerRowHeight, listRowHeight, listRowActionSize, horizontalTextAlign, verticalTextAlign, positionPropertyName, positionLabel, allowReordering, allowRowDragging, allowNewData, allowEditing, customDataEntry: CustomDataEntry, maxItemLimit, rowValidationSchema, defaultValuesForNewData, stickyHeader, disabled, className, textWrap, onChange, onAddTransformData, rowClassNameProvider, inlineMenuActions, }:
|
|
84
|
+
export declare const DynamicDataList: <T extends Data>({ columns, value, showHeader, minimumWidth, columnGap, rowGap, headerRowHeight, listRowHeight, listRowActionSize, horizontalTextAlign, verticalTextAlign, positionPropertyName, positionLabel, allowReordering, allowRowDragging, allowNewData, allowEditing, customDataEntry: CustomDataEntry, maxItemLimit, rowValidationSchema, defaultValuesForNewData, stickyHeader, disabled, className, textWrap, onChange, onAddTransformData, rowClassNameProvider, inlineMenuActions, }: PropsWithChildren<DynamicDataListProps<T>>) => JSX.Element;
|
|
85
85
|
//# sourceMappingURL=DynamicDataList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicDataList.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicDataList/DynamicDataList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAGL,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AAQrD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,IAAI;IAClD;;;OAGG;IACH,OAAO,EAAE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C,CAAC,CAAC,CAAC,CAAC;IACtE,mFAAmF;IACnF,uBAAuB,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC7C,sFAAsF;IACtF,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3C,uCAAuC;IACvC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAC/B,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,UAAU,EAAE,CAAC;CAC/C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,IAAI,EAAE,mdA8B7C,iBAAiB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OA0NnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicDataList.model.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicDataList/DynamicDataList.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DynamicDataList.model.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicDataList/DynamicDataList.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,UAAU,gBAAgB,CAAC,CAAC,SAAS,IAAI,CAAE,SAAQ,a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CAAqC;AACrC,QAAQ,CAAC,EAAE,OAAO,KACf,KAAK,CAAC,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
2
|
import { OptionalObjectSchema } from 'yup/lib/object';
|
|
3
3
|
import { Data } from '../../../types/data';
|
|
4
4
|
import { ButtonContext } from '../../Buttons';
|
|
@@ -54,5 +54,5 @@ export interface DynamicListDataEntryProps<T extends Data> {
|
|
|
54
54
|
/** override default add button (+) */
|
|
55
55
|
customAddButton?: (onAddItem: () => Promise<void>) => ReactElement;
|
|
56
56
|
}
|
|
57
|
-
export declare const DynamicListDataEntry: <T extends Data>({ columns, columnSizes, columnGap, rowHeight, actionSize, horizontalTextAlign, verticalTextAlign, positionKey, disabled, allowReordering, allowDragging, newDataPosition, rowValidationSchema, defaultValuesForNewData, actionButtonContext, className, sticky, showHeader, showPositionColumn, mode, onActionClicked, customAddButton, }:
|
|
57
|
+
export declare const DynamicListDataEntry: <T extends Data>({ columns, columnSizes, columnGap, rowHeight, actionSize, horizontalTextAlign, verticalTextAlign, positionKey, disabled, allowReordering, allowDragging, newDataPosition, rowValidationSchema, defaultValuesForNewData, actionButtonContext, className, sticky, showHeader, showPositionColumn, mode, onActionClicked, customAddButton, }: PropsWithChildren<DynamicListDataEntryProps<T>>) => JSX.Element;
|
|
58
58
|
//# sourceMappingURL=DynamicListDataEntry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListDataEntry.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"DynamicListDataEntry.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,iBAAiB,EACjB,YAAY,EAIb,MAAM,OAA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AAC;IACrC,2DAA2D;IAC3D,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yBAAyB;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wEAAwE;IACxE,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,+EAA+E;IAC/E,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,sCAAsC;IACtC,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,YAAY,CAAC;CACpE;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,IAAI,EAAE,2UAuBlD,iBAAiB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OAqLxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createInputRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/createInputRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAG/D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"createInputRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/createInputRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAG/D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,yDAOjC,yBAA8B,KAAG,4BA6BnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSelectRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/createSelectRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"createSelectRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/createSelectRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,GAAI,0EAQlC,0BAA+B,KAAG,4BAiCpC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { Data } from '../../../types/data';
|
|
3
3
|
import { DynamicListColumn } from '../DynamicDataList.model';
|
|
4
4
|
export interface DynamicListHeaderProps<T extends Data> {
|
|
@@ -35,5 +35,5 @@ export interface DynamicListHeaderProps<T extends Data> {
|
|
|
35
35
|
/** called when the column sizes should be updated */
|
|
36
36
|
onColumnSizesChanged: (columnSizes: string) => void;
|
|
37
37
|
}
|
|
38
|
-
export declare const DynamicListHeader: <T extends Data>({ columns, columnSizes, columnGap, rowHeight, horizontalTextAlign, verticalTextAlign, positionLabel, className, sticky, showPositionColumn, allowDragging, showActionColumn, onColumnSizesChanged, onResetColumnSizes, }:
|
|
38
|
+
export declare const DynamicListHeader: <T extends Data>({ columns, columnSizes, columnGap, rowHeight, horizontalTextAlign, verticalTextAlign, positionLabel, className, sticky, showPositionColumn, allowDragging, showActionColumn, onColumnSizesChanged, onResetColumnSizes, }: PropsWithChildren<DynamicListHeaderProps<T>>) => JSX.Element;
|
|
39
39
|
//# sourceMappingURL=DynamicListHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"DynamicListHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAI7D,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,IAAI;IACpD,yBAAyB;IACzB,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,mBAAmB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAClD,iCAAiC;IACjC,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC/C,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC;IACtB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mHAAmH;IACnH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,0HAA0H;IAC1H,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mDAAmD;IACnD,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,qDAAqD;IACrD,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,IAAI,EAAE,0NAe/C,iBAAiB,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OAkFrD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { DraggableProvided } from 'react-beautiful-dnd';
|
|
3
3
|
import { Data } from '../../../types/data';
|
|
4
4
|
import { ActionData } from '../../Actions';
|
|
@@ -51,5 +51,5 @@ export interface DynamicListRowProps<T extends Data> {
|
|
|
51
51
|
inlineMenuActions?: (data: T) => ActionData[];
|
|
52
52
|
provided?: DraggableProvided;
|
|
53
53
|
}
|
|
54
|
-
export declare const DynamicListRow: <T extends Data>({ columns, data, columnSizes, columnGap, rowHeight, actionSize, horizontalTextAlign, verticalTextAlign, allowRemove, positionKey, allowDragging, disabled, provided, onPositionInputChanged, onRowClicked, onActionClicked, className, rowClassNameProvider, inlineMenuActions, dragging, showPositionColumn, showActionColumn, allowEditing, textWrap, }:
|
|
54
|
+
export declare const DynamicListRow: <T extends Data>({ columns, data, columnSizes, columnGap, rowHeight, actionSize, horizontalTextAlign, verticalTextAlign, allowRemove, positionKey, allowDragging, disabled, provided, onPositionInputChanged, onRowClicked, onActionClicked, className, rowClassNameProvider, inlineMenuActions, dragging, showPositionColumn, showActionColumn, allowEditing, textWrap, }: PropsWithChildren<DynamicListRowProps<T>>) => JSX.Element;
|
|
55
55
|
//# sourceMappingURL=DynamicListRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListRow/DynamicListRow.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"DynamicListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/DynamicListRow/DynamicListRow.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,IAAI;IACjD,4BAA4B;IAC5B,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,gBAAgB;IAChB,IAAI,EAAE,CAAC,CAAC;IACR,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,mBAAmB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAClD,iCAAiC;IACjC,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC/C,4IAA4I;IAC5I,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,8GAA8G;IAC9G,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC;IACtB,yEAAyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,CACvB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,KAChB,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACjC,+EAA+E;IAC/E,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3C,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,UAAU,EAAE,CAAC;IAC9C,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,IAAI,EAAE,2VAyB5C,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OA+IlD,CAAC"}
|
package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Data } from '../../../../types';
|
|
2
2
|
import { DynamicListReducerState } from './DynamicListReducer.types';
|
|
3
|
-
export declare const addItem: <T extends Data>(item: T, items: T[], positionPropertyName:
|
|
4
|
-
export declare const removeItem: <T extends Data>(item: T, items: T[], positionPropertyName:
|
|
3
|
+
export declare const addItem: <T extends Data>(item: T, items: DynamicListReducerState<T>["items"], positionPropertyName: DynamicListReducerState<T>["positionPropertyName"]) => T[];
|
|
4
|
+
export declare const removeItem: <T extends Data>(item: T, items: DynamicListReducerState<T>["items"], positionPropertyName: DynamicListReducerState<T>["positionPropertyName"]) => T[];
|
|
5
5
|
//# sourceMappingURL=DynamicListReducer.actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListReducer.actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"DynamicListReducer.actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,IAAI,EACpC,MAAM,CAAC,EACP,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAC1C,sBAAsB,uBAAuB,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,KACvE,CAAC,EAiCH,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,IAAI,EACvC,MAAM,CAAC,EACP,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAC1C,sBAAsB,uBAAuB,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,KACvE,CAAC,EA8BH,CAAC"}
|
package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListReducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EACL,wBAAwB,EAExB,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"DynamicListReducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EACL,wBAAwB,EAExB,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,IAAI,EAC/C,OAAO,uBAAuB,CAAC,CAAC,CAAC,EACjC,QAAQ,wBAAwB,CAAC,CAAC,CAAC,KAClC,uBAAuB,CAAC,CAAC,CAqC3B,CAAC"}
|
package/dist/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.init.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicListReducer.init.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"DynamicListReducer.init.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicDataList/helpers/DynamicListReducer/DynamicListReducer.init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,IAAI,EACnD,MAAM,0BAA0B,CAAC,CAAC,CAAC,KAClC,uBAAuB,CAAC,CAAC,CA+B3B,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { DynamicListColumn } from '../DynamicDataList.model';
|
|
|
6
6
|
* @param columns The list of columns that should be used
|
|
7
7
|
* @returns a string that consists of defined column sizes and a position key that maps to a data property
|
|
8
8
|
*/
|
|
9
|
-
export declare const useColumnDefs: <T extends Data>(columns: DynamicListColumn<T>[], allowReordering: boolean, allowNewData: boolean, allowEditing: boolean, allowRowDragging: boolean, positionKey?: keyof T
|
|
9
|
+
export declare const useColumnDefs: <T extends Data>(columns: DynamicListColumn<T>[], allowReordering: boolean, allowNewData: boolean, allowEditing: boolean, allowRowDragging: boolean, positionKey?: keyof T, showInlineMenu?: boolean) => {
|
|
10
10
|
readonly columnSizes: string;
|
|
11
11
|
readonly showPositionColumn: boolean;
|
|
12
12
|
readonly showActionColumn: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useColumnDefs.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useColumnDefs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useColumnDefs.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useColumnDefs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAa,CAAC,SAAS,IAAI,EACnD,SAAS,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAC/B,iBAAiB,OAAO,EACxB,cAAc,OAAO,EACrB,cAAc,OAAO,EACrB,kBAAkB,OAAO,EACzB,cAAc,MAAM,CAAC,EACrB,iBAAiB,OAAO,KACvB;IACD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;CA8DlD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Data } from '../../../types';
|
|
2
|
-
export declare const useDataHandler: <T extends Data>(initialValue: T[], positionPropertyName: keyof T | undefined, maxItemLimit: number | undefined, allowNewData: boolean, onChange: (value: T[]) => void, onAddTransformData?: (
|
|
2
|
+
export declare const useDataHandler: <T extends Data>(initialValue: T[], positionPropertyName: keyof T | undefined, maxItemLimit: number | undefined, allowNewData: boolean, onChange: (value: T[]) => void, onAddTransformData?: (data: Partial<T>) => T) => {
|
|
3
3
|
readonly items: T[];
|
|
4
4
|
readonly nextPosition: number;
|
|
5
5
|
readonly canAddItems: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataHandler.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useDataHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAUtC,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"useDataHandler.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useDataHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAUtC,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,IAAI,EAC3C,cAAc,CAAC,EAAE,EACjB,sBAAsB,MAAM,CAAC,GAAG,SAAS,EACzC,cAAc,MAAM,GAAG,SAAS,EAChC,cAAc,OAAO,EACrB,UAAU,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,EAC9B,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAC3C;IACD,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;IACpB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;CA8D3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRowAnimation.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useRowAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,UAAU,iBAAiB,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;CACT;AAED,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"useRowAnimation.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useRowAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,UAAU,iBAAiB,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;CACT;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,IAAI,OAAK;IACjD,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC;IACtE,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CA2BjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRowEditing.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useRowEditing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useRowEditing.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicDataList/helpers/useRowEditing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,IAAI,EAC1C,cAAc,OAAO,EACrB,YAAY,CAAC,WAAW,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,IAAI,KAC/C;IACD,QAAQ,CAAC,UAAU,EAAE,CAAC,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;CAyB3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStation.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStation/EmptyStation.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzC,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG;IAChD,0EAA0E;IAC1E,YAAY,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG,YAAY,CAAC;IAC5D,uGAAuG;IACvG,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"EmptyStation.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyStation/EmptyStation.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzC,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG;IAChD,0EAA0E;IAC1E,YAAY,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG,YAAY,CAAC;IAC5D,uGAAuG;IACvG,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GAAI,iEAM1B,iBAAiB,CAAC,iBAAiB,CAAC,KAAG,GAAG,CAAC,OA8B7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldsConfigConverter.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/FormFieldsConfigConverter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,eAAO,MAAM,mBAAmB;;;;;CAK/B,CAAC;AAEF,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"FormFieldsConfigConverter.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/FormFieldsConfigConverter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,eAAO,MAAM,mBAAmB;;;;;CAK/B,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAC5C,QAAQ,sBAAsB,EAC9B,eAAc,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAuB,KACpE,GAAG,CAAC,OAgEN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateMutation.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/GenerateMutation.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"GenerateMutation.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/GenerateMutation.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,IAAI,EACrD,QAAQ,cAAc,EACtB,QAAQ,CAAC,EACT,SAAS,MAAM,KACd,MA0KF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBulkEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/useBulkEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtC,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACd,MAAM,mBAAmB,CAAC;AAI3B,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,IAAI;IAC9C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAC/C,sBAAsB,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/C,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,IAAI;IACnD,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,QAAQ,CAAC,cAAc,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"useBulkEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/BulkEdit/useBulkEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtC,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACd,MAAM,mBAAmB,CAAC;AAI3B,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,IAAI;IAC9C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAC/C,sBAAsB,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/C,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,IAAI;IACnD,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,QAAQ,CAAC,cAAc,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,IAAI,EAAE,oEAIzC,gBAAgB,CAAC,CAAC,CAAC,KAAG,qBAAqB,CAAC,CAAC,CAmG/C,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { ActionData } from '../Actions/Actions.models';
|
|
|
5
5
|
import { FilterType, FilterValues } from '../Filters/Filters.model';
|
|
6
6
|
import { Column, ListSelectMode, SortData } from '../List';
|
|
7
7
|
import { PageHeaderActionProps } from '../PageHeader';
|
|
8
|
-
import { BulkEditRegistration, ExplorerBulkAction, ExplorerDataProvider, ExplorerDataProviderConnection, ExplorerStateOptions, QuickEditRegistration } from './Explorer.model';
|
|
8
|
+
import { BulkEditRegistration, ExplorerBulkAction, ExplorerDataProvider, ExplorerDataProviderConnection, ExplorerStateOptions, QuickEditConfig, QuickEditRegistration } from './Explorer.model';
|
|
9
9
|
export interface ExplorerProps<T extends Data> {
|
|
10
10
|
/** Title shown in page header */
|
|
11
11
|
title?: string;
|
|
@@ -72,6 +72,8 @@ export interface ExplorerProps<T extends Data> {
|
|
|
72
72
|
setTabTitle?: boolean;
|
|
73
73
|
/** Quick Edit Registrations */
|
|
74
74
|
quickEditRegistrations?: QuickEditRegistration<T>[];
|
|
75
|
+
/** Optional Quick Edit Configuration */
|
|
76
|
+
quickEditConfig?: QuickEditConfig;
|
|
75
77
|
/** Bulk Edit Registration
|
|
76
78
|
* @experimental The feature Bulk Edit and it's underlying implementation is still in beta. */
|
|
77
79
|
bulkEditRegistration?: BulkEditRegistration<T>;
|
|
@@ -109,5 +111,5 @@ export interface ExplorerProps<T extends Data> {
|
|
|
109
111
|
* onItemClicked={itemClickedHandler}
|
|
110
112
|
* />
|
|
111
113
|
*/
|
|
112
|
-
export declare const Explorer: <T extends Data>(props: ExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement
|
|
114
|
+
export declare const Explorer: <T extends Data>(props: ExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement | null;
|
|
113
115
|
//# sourceMappingURL=Explorer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../src/components/Explorer/Explorer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAEL,OAAO,IAAI,KAAK,EAIjB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EACL,MAAM,EAIN,cAAc,EACd,QAAQ,EACT,MAAM,SAAS,CAAC;AACjB,OAAO,EAAc,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAKlE,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,8BAA8B,EAC9B,oBAAoB,EAEpB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAS1B,MAAM,WAAW,aAAa,CAAC,CAAC,SA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AC;IAE5D;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAEzD;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,UAAU,EAAE,CAAC;CAC/C;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,GAAsC,CAAC,SAAS,IAAI,gHAwUvE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LocationDescriptor } from 'history';
|
|
3
2
|
import { Data } from '../../types/data';
|
|
4
3
|
import { FilterValues } from '../Filters';
|
|
@@ -99,6 +98,12 @@ export interface QuickEditRegistration<T> {
|
|
|
99
98
|
*/
|
|
100
99
|
generateDetailsLink?: ((item: T) => LocationDescriptor<unknown>) | false;
|
|
101
100
|
}
|
|
101
|
+
export interface QuickEditConfig {
|
|
102
|
+
/** The label of the action. ( Default: 'Quick View' ) */
|
|
103
|
+
label?: string;
|
|
104
|
+
/** Optional built in icon. This prop also accepts an img src. ( Default: IconName.QuickEdit ) */
|
|
105
|
+
icon?: IconName | string;
|
|
106
|
+
}
|
|
102
107
|
export interface BulkEditRegistration<T extends Data> {
|
|
103
108
|
/** The label of the action. */
|
|
104
109
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explorer.model.d.ts","sourceRoot":"","sources":["../../../src/components/Explorer/Explorer.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Explorer.model.d.ts","sourceRoot":"","sources":["../../../src/components/Explorer/Explorer.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MA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ends Omit<ExplorerPr
|
|
|
30
30
|
* calculateNavigateUrl={(rowData => `/details/${rowData.id}`)}
|
|
31
31
|
* />
|
|
32
32
|
*/
|
|
33
|
-
export declare const NavigationExplorer: <T extends Data>(props: NavigationExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement
|
|
33
|
+
export declare const NavigationExplorer: <T extends Data>(props: NavigationExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement | null;
|
|
34
34
|
//# sourceMappingURL=NavigationExplorer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationExplorer.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/NavigationExplorer/NavigationExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,IAAI,CACrD,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EAChB,eAAe,GAAG,sBAAsB,GAAG,eAAe,GAAG,aAAa,CAC3E;IACD;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,kBAAkB,CAAC;IAEnD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;CAC5C;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"NavigationExplorer.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/NavigationExplorer/NavigationExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,IAAI,CACrD,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EAChB,eAAe,GAAG,sBAAsB,GAAG,eAAe,GAAG,aAAa,CAC3E;IACD;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,kBAAkB,CAAC;IAEnD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;CAC5C;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,GAC7B,CAAC,SAAS,IAAI,0HAwCd,CAAC"}
|
|
@@ -3,12 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import { Data } from '../../../types';
|
|
4
4
|
import { ListElement } from '../../List';
|
|
5
5
|
import { PageHeaderActionItemProps } from '../../PageHeader';
|
|
6
|
-
import { QuickEditRegistration } from '../Explorer.model';
|
|
6
|
+
import { QuickEditConfig, QuickEditRegistration } from '../Explorer.model';
|
|
7
7
|
export interface useQuickEditProps<T extends Data> {
|
|
8
8
|
listRef: React.RefObject<ListElement>;
|
|
9
9
|
registrations: QuickEditRegistration<T>[] | undefined;
|
|
10
10
|
hasData: boolean;
|
|
11
11
|
defaultItem: T;
|
|
12
|
+
quickEditConfig?: QuickEditConfig;
|
|
12
13
|
collapseFilters: () => void;
|
|
13
14
|
generateItemLink?: (data: T) => LocationDescriptor<unknown>;
|
|
14
15
|
}
|
|
@@ -19,5 +20,5 @@ export interface useQuickEditReturnType<T extends Data> {
|
|
|
19
20
|
readonly quickEditStation: JSX.Element | undefined;
|
|
20
21
|
readonly changeSelectedItem: (item: T, detailsLink?: LocationDescriptor<unknown>) => Promise<void>;
|
|
21
22
|
}
|
|
22
|
-
export declare const useQuickEdit: <T extends Data>({ hasData, listRef, defaultItem, registrations, collapseFilters, generateItemLink, }: useQuickEditProps<T>) => useQuickEditReturnType<T>;
|
|
23
|
+
export declare const useQuickEdit: <T extends Data>({ hasData, listRef, defaultItem, registrations, quickEditConfig, collapseFilters, generateItemLink, }: useQuickEditProps<T>) => useQuickEditReturnType<T>;
|
|
23
24
|
//# sourceMappingURL=useQuickEdit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useQuickEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/QuickEdit/useQuickEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EACL,yBAAyB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"useQuickEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/QuickEdit/useQuickEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EACL,yBAAyB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAG3E,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,IAAI;IAC/C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,aAAa,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC;IACtD,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,CAAC;IACf,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7D;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,IAAI;IACpD,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,yBAAyB,CAAC;IACrD,QAAQ,CAAC,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,kBAAkB,EAAE,CAC3B,IAAI,EAAE,CAAC,EACP,WAAW,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,KACtC,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,IAAI,EAAE,uGAQ1C,iBAAiB,CAAC,CAAC,CAAC,KAAG,sBAAsB,CAAC,CAAC,CAsIjD,CAAC"}
|
|
@@ -24,5 +24,5 @@ export interface SelectionExplorerProps<T extends Data> extends Omit<ExplorerPro
|
|
|
24
24
|
* dataProvider={dataProvider}
|
|
25
25
|
* />
|
|
26
26
|
*/
|
|
27
|
-
export declare const SelectionExplorer: <T extends Data>(props: SelectionExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement
|
|
27
|
+
export declare const SelectionExplorer: <T extends Data>(props: SelectionExplorerProps<T> & React.RefAttributes<ExplorerDataProviderConnection<T>>) => React.ReactElement | null;
|
|
28
28
|
//# sourceMappingURL=SelectionExplorer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionExplorer.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/SelectionExplorer/SelectionExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAuB,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAI3C,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAEL,8BAA8B,EAC9B,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,IAAI,CACpD,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EACd,eAAe,GACf,eAAe,GACf,sBAAsB,GACtB,aAAa,GACb,aAAa,CAChB;IACD,iFAAiF;IACjF,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAEpD,sHAAsH;IACtH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7D;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SelectionExplorer.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/SelectionExplorer/SelectionExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAuB,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAI3C,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAEL,8BAA8B,EAC9B,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,IAAI,CACpD,SAAQ,IAAI,CACV,aAAa,CAAC,CAAC,CAAC,EACd,eAAe,GACf,eAAe,GACf,sBAAsB,GACtB,aAAa,GACb,aAAa,CAChB;IACD,iFAAiF;IACjF,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAEpD,sHAAsH;IACtH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7D;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAC5B,CAAC,SAAS,IAAI,yHA0Dd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/helpers/useActions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/helpers/useActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EACL,qBAAqB,EAItB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,UAAU,eAAe,CAAC,CAAC,SAAS,IAAI;IACtC,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IACtC,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C,cAAc,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACvC,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,YAAY,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACtC,sBAAsB,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,iBAAiB,EAAE,CACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,GAAG,SAAS,CAAC,KACpD,IAAI,CAAC;IACV,oBAAoB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC9D,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,OAAO,EAAE,yBAAyB,EAAE,CAAC;CAC/C;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,IAAI,EAAE,kSAkBxC,eAAe,CAAC,CAAC,CAAC,KAAG,oBAuJvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/helpers/useDataProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDataProvider.d.ts","sourceRoot":"","sources":["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AC,cAAc,GAAG,SAAS,CAAC,CACjD,CAAC;CACH;AAED,wBAAgB,eAAe,CAAC,CAAC,SAAS,IAAI,EAAE,EAC9C,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,WAAW,GACZ,EAAE,wBAAwB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAoIzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/helpers/useFilters.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/helpers/useFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,UAAU,eAAe,CAAC,CAAC,SAAS,IAAI;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,mBAAmB,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACtC,eAAe,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACrD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,IAAI;IAC3C,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IAC1C,QAAQ,CAAC,eAAe,EAAE,MAAM,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,IAAI,EAAE,0FAMxC,eAAe,CAAC,CAAC,CAAC,KAAG,oBAAoB,CAAC,CAAC,CA+C7C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { Data } from '../../../types/data';
|
|
3
3
|
import { FilterType, FilterValue } from '../Filters.model';
|
|
4
4
|
export interface FilterProps<T extends Data> {
|
|
@@ -23,5 +23,5 @@ export interface FilterProps<T extends Data> {
|
|
|
23
23
|
/** Callback triggered when the filter is clicked */
|
|
24
24
|
onFilterClicked: () => void;
|
|
25
25
|
}
|
|
26
|
-
export declare const Filter: <T extends Data>({ options, value, index, isActive, className, selectedValueRenderer, onFilterChange, onFilterClicked, onValidate, selectOnFocus, }:
|
|
26
|
+
export declare const Filter: <T extends Data>({ options, value, index, isActive, className, selectedValueRenderer, onFilterChange, onFilterClicked, onValidate, selectOnFocus, }: PropsWithChildren<FilterProps<T>>) => JSX.Element;
|
|
27
27
|
//# sourceMappingURL=Filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/Filter/Filter.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/Filter/Filter.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAI3C,OAAO,EAAE,UAAU,EAAe,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAUxE,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,IAAI;IACzC,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qBAAqB;IACrB,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IACvB,kCAAkC;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,MAAM,CAAC;IACvD,6DAA6D;IAC7D,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,8DAA8D;IAC9D,UAAU,CAAC,EAAE,CAAC,YAAY,EAAE,WAAW,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,oDAAoD;IACpD,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,IAAI,EAAE,oIAWpC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OAoQ1C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { Data } from '../../types/data';
|
|
3
3
|
import { FilterType, FilterValues } from './Filters.model';
|
|
4
4
|
export interface FiltersProps<T extends Data> {
|
|
@@ -17,5 +17,5 @@ export interface FiltersProps<T extends Data> {
|
|
|
17
17
|
* @example
|
|
18
18
|
* <Filter filters={[freeTextFilter, optionsFilter, customFilter]} onFiltersChange={callBackFn} />
|
|
19
19
|
*/
|
|
20
|
-
export declare const Filters: <T extends Data>({ defaultValues: defaultFilters, options, onFiltersChange, className, }:
|
|
20
|
+
export declare const Filters: <T extends Data>({ defaultValues: defaultFilters, options, onFiltersChange, className, }: PropsWithChildren<FiltersProps<T>>) => JSX.Element;
|
|
21
21
|
//# sourceMappingURL=Filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filters.d.ts","sourceRoot":"","sources":["../../../src/components/Filters/Filters.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"Filters.d.ts","sourceRoot":"","sources":["../../../src/components/Filters/Filters.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAe,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGxE,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,IAAI;IAC1C,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,IAAI,EAAE,yEAKrC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OA+H3C,CAAC"}
|