@mittwald/flow-react-components 0.1.0-alpha.113 → 0.1.0-alpha.115
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/{Accordion-c-zskOK4.js → Accordion-DsX7RI_p.js} +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/{Action-BoUrh0Ww.js → Action-BZHZj-BD.js} +54 -58
- package/dist/Action.js +1 -1
- package/dist/Breadcrumb.js +17 -20
- package/dist/Button-D59Yuz6-.js +116 -0
- package/dist/Button.js +1 -1
- package/dist/CopyButton.js +2 -2
- package/dist/HeaderNavigation.js +16 -19
- package/dist/Heading.js +31 -27
- package/dist/Link-TVG_Y-ZN.js +51 -0
- package/dist/Link.js +1 -1
- package/dist/List.js +2 -2
- package/dist/Navigation.js +1 -1
- package/dist/NumberField.js +1 -1
- package/dist/OffCanvas.js +2 -2
- package/dist/OverlayTrigger.js +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Accordion/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Accordion/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Action/Action.d.ts +2 -2
- package/dist/types/components/Action/lib/execution/useActionController.d.ts +2 -2
- package/dist/types/components/Action/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +1 -1
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +3 -2
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/BreadcrumbItem.d.ts +1 -2
- package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts +3 -2
- package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +2 -3
- package/dist/types/components/Button/stories/Default.stories.d.ts +1 -2
- package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Button/stories/States.stories.d.ts +1 -1
- package/dist/types/components/Button/stories/Variants.stories.d.ts +7 -1
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/types/components/ButtonGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Checkbox/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CheckboxButton/CheckboxButton.d.ts +2 -2
- package/dist/types/components/CheckboxButton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/CheckboxButton/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +2 -2
- package/dist/types/components/CheckboxGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +1 -1
- package/dist/types/components/ColumnLayout/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Content/Content.d.ts +2 -2
- package/dist/types/components/Content/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +3 -3
- package/dist/types/components/ContextMenu/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ContextMenu/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CopyButton/CopyButton.d.ts +2 -2
- package/dist/types/components/CopyButton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +1 -2
- package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/FieldDescription/FieldDescription.d.ts +2 -2
- package/dist/types/components/FieldError/FieldError.d.ts +1 -1
- package/dist/types/components/Header/Header.d.ts +2 -2
- package/dist/types/components/Header/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +3 -2
- package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts +3 -2
- package/dist/types/components/Heading/Heading.d.ts +3 -1
- package/dist/types/components/Heading/stories/Default.stories.d.ts +3 -1
- package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Heading/stories/Levels.stories.d.ts +1 -1
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconApp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconBackup.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheck.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxEmpty.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxIndeterminate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconClose.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCode.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconContextMenu.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCopy.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDanger.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDelete.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDomain.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconEmail.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconFailed.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconFilter.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconHide.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconHome.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconInbox.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconInfo.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconListView.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconLogout.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMember.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMenu.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMinus.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMittwald.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconNotification.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconPending.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconPlus.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconProject.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRadioOff.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRadioOn.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRandom.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSave.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSearch.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconServer.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSettings.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconShare.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconShow.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSorting.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOff.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOn.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSupport.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTileView.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTime.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconWarning.d.ts +1 -1
- package/dist/types/components/Icon/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Icon/stories/Sizes.stories.d.ts +1 -1
- package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Image/Image.d.ts +1 -1
- package/dist/types/components/Image/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Initials/Initials.d.ts +2 -2
- package/dist/types/components/Initials/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +2 -2
- package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/InlineCode/InlineCode.d.ts +1 -2
- package/dist/types/components/InlineCode/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Label/Label.d.ts +1 -1
- package/dist/types/components/Label/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/LabeledValue/LabeledValue.d.ts +1 -1
- package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/LayoutCard/LayoutCard.d.ts +2 -2
- package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +4 -2
- package/dist/types/components/Link/stories/Default.stories.d.ts +3 -1
- package/dist/types/components/Link/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/List/components/Footer/PaginationInfos/PaginationInfos.d.ts +1 -1
- package/dist/types/components/List/components/Footer/ShowNextBatchButton/ShowNextBatchButton.d.ts +1 -1
- package/dist/types/components/List/components/Header/FilterPicker/FilterPicker.d.ts +2 -2
- package/dist/types/components/List/components/Header/Header/Header.d.ts +2 -3
- package/dist/types/components/List/components/Header/ListFilter.d.ts +1 -2
- package/dist/types/components/List/components/Header/SortingPickerItem/SortingPickerItem.d.ts +2 -2
- package/dist/types/components/List/components/Items/Item/FallbackRenderer.d.ts +1 -1
- package/dist/types/components/List/components/Items/Item/Item.d.ts +1 -2
- package/dist/types/components/List/components/Items/ItemList/ItemList.d.ts +2 -3
- package/dist/types/components/List/components/Items/OptionsButton/OptionsButton.d.ts +1 -1
- package/dist/types/components/List/listContext.d.ts +1 -1
- package/dist/types/components/List/model/List.d.ts +9 -9
- package/dist/types/components/List/model/ReactTable.d.ts +2 -2
- package/dist/types/components/List/model/filter/Filter.d.ts +4 -4
- package/dist/types/components/List/model/item/Item.d.ts +2 -2
- package/dist/types/components/List/model/item/ItemCollection.d.ts +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts +3 -3
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +1 -1
- package/dist/types/components/List/model/loading/types.d.ts +4 -4
- package/dist/types/components/List/model/pagination/BatchesController.d.ts +1 -1
- package/dist/types/components/List/model/sorting/Sorting.d.ts +3 -3
- package/dist/types/components/List/model/sorting/types.d.ts +1 -1
- package/dist/types/components/List/model/types.d.ts +4 -4
- package/dist/types/components/List/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/List/stories/ListItem.stories.d.ts +1 -1
- package/dist/types/components/List/testData/domainApi.d.ts +2 -2
- package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.d.ts +1 -1
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Modal/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Modal/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Navigation/Navigation.d.ts +1 -1
- package/dist/types/components/Navigation/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/NumberField/NumberField.d.ts +1 -1
- package/dist/types/components/NumberField/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/OffCanvas/OffCanvas.d.ts +1 -1
- package/dist/types/components/OffCanvas/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Overlay/Overlay.d.ts +1 -1
- package/dist/types/components/Overlay/components/OverlayTrigger/OverlayTrigger.d.ts +1 -2
- package/dist/types/components/Popover/Popover.d.ts +1 -2
- package/dist/types/components/Popover/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +1 -1
- package/dist/types/components/RadioGroup/components/RadioButton/RadioButton.d.ts +2 -2
- package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Section/Section.d.ts +1 -2
- package/dist/types/components/Section/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Section/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +2 -2
- package/dist/types/components/Select/components/Option/Option.d.ts +1 -1
- package/dist/types/components/Select/components/Options/Options.d.ts +2 -3
- package/dist/types/components/Select/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Select/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Skeleton/Skeleton.d.ts +1 -2
- package/dist/types/components/Skeleton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/StatusBadge.d.ts +2 -2
- package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/StatusIcon/StatusIcon.d.ts +2 -2
- package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Switch/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabTitle/TabTitleCollapsed.d.ts +1 -1
- package/dist/types/components/Tabs/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tabs/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Text/Text.d.ts +2 -2
- package/dist/types/components/Text/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/TextArea/TextArea.d.ts +2 -2
- package/dist/types/components/TextArea/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/TextField/TextField.d.ts +2 -2
- package/dist/types/components/TextField/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -2
- package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +1 -2
- package/dist/types/components/Tooltip/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/propTypes/index.d.ts +30 -30
- package/dist/types/integrations/react-hook-form/components/Controller/Controller.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/components/Controller/stories/Default.stories.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts +1 -1
- package/dist/types/lib/childProps/ChildPropsContextProvider.d.ts +1 -1
- package/dist/types/lib/componentFactory/flowComponent.d.ts +2 -2
- package/dist/types/lib/dev/storyBackgrounds.d.ts +14 -0
- package/dist/types/lib/promises/callFunctionsInOrder.d.ts +1 -1
- package/dist/types/lib/propsContext/ClearPropsContext.d.ts +1 -2
- package/dist/types/lib/propsContext/PropsContextProvider.d.ts +1 -1
- package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +1 -1
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +1 -1
- package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts +2 -2
- package/dist/types/lib/propsContext/types.d.ts +1 -1
- package/dist/types/lib/react/components/Translate/Translate.d.ts +1 -1
- package/dist/types/lib/react/deepFindOfType.d.ts +1 -1
- package/package.json +34 -34
- package/dist/Button-DcXbM73F.js +0 -117
- package/dist/Link-C9hXxA2A.js +0 -48
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyData } from '../../../model/item/types';
|
|
2
|
-
import { Filter } from '../../../model/filter/Filter';
|
|
3
1
|
import { FC } from 'react';
|
|
2
|
+
import { Filter } from '../../../model/filter/Filter';
|
|
3
|
+
import { AnyData } from '../../../model/item/types';
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
6
6
|
filter: Filter<AnyData>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PropsWithClassName } from '../../../../../lib/types/props';
|
|
2
1
|
import { FC } from 'react';
|
|
2
|
+
import { PropsWithClassName } from '../../../../../lib/types/props';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
}
|
|
4
|
+
type Props = PropsWithClassName;
|
|
6
5
|
export declare const Header: FC<Props>;
|
|
7
6
|
export default Header;
|
package/dist/types/components/List/components/Header/SortingPickerItem/SortingPickerItem.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Sorting } from '../../../model/sorting/Sorting';
|
|
2
|
-
import { AnyData } from '../../../model/item/types';
|
|
3
1
|
import { FC } from 'react';
|
|
2
|
+
import { AnyData } from '../../../model/item/types';
|
|
3
|
+
import { Sorting } from '../../../model/sorting/Sorting';
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
6
6
|
sorting: Sorting<AnyData>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PropsWithClassName } from '../../../../../lib/types/props';
|
|
2
1
|
import { FC } from 'react';
|
|
2
|
+
import { PropsWithClassName } from '../../../../../lib/types/props';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
}
|
|
4
|
+
type Props = PropsWithClassName;
|
|
6
5
|
export declare const ItemList: FC<Props>;
|
|
7
6
|
export default ItemList;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IncrementalLoader } from './loading/IncrementalLoader';
|
|
2
|
-
import { ListShape } from './types';
|
|
3
|
-
import { default as ReactTable } from './ReactTable';
|
|
4
|
-
import { Sorting } from './sorting/Sorting';
|
|
5
|
-
import { Filter } from './filter/Filter';
|
|
6
|
-
import { PropertyName, RenderItemFn } from './item/Item';
|
|
7
|
-
import { BatchesController } from './pagination/BatchesController';
|
|
8
1
|
import { ItemCollection } from './item/ItemCollection';
|
|
2
|
+
import { BatchesController } from './pagination/BatchesController';
|
|
3
|
+
import { PropertyName, RenderItemFn } from './item/Item';
|
|
4
|
+
import { Filter } from './filter/Filter';
|
|
5
|
+
import { Sorting } from './sorting/Sorting';
|
|
6
|
+
import { default as ReactTable } from './ReactTable';
|
|
7
|
+
import { ListShape } from './types';
|
|
8
|
+
import { IncrementalLoader } from './loading/IncrementalLoader';
|
|
9
9
|
|
|
10
10
|
export declare class List<T> {
|
|
11
|
-
readonly filters:
|
|
12
|
-
readonly sorting:
|
|
11
|
+
readonly filters: Filter<T>[];
|
|
12
|
+
readonly sorting: Sorting<T>[];
|
|
13
13
|
readonly items: ItemCollection<T>;
|
|
14
14
|
readonly render?: RenderItemFn<T>;
|
|
15
15
|
readonly reactTable: ReactTable<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropertyName } from './item/Item';
|
|
2
|
-
import { default as List } from './List';
|
|
3
1
|
import { Column, Table, TableOptions } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from './List';
|
|
3
|
+
import { PropertyName } from './item/Item';
|
|
4
4
|
|
|
5
5
|
export declare class ReactTable<T> {
|
|
6
6
|
readonly list: List<T>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FilterMatcher, FilterMode, FilterShape } from './types';
|
|
2
|
-
import { PropertyName } from '../item/Item';
|
|
3
|
-
import { default as List } from '../List';
|
|
4
1
|
import { Column, ColumnDef, ColumnFilter } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from '../List';
|
|
3
|
+
import { PropertyName } from '../item/Item';
|
|
4
|
+
import { FilterMatcher, FilterMode, FilterShape } from './types';
|
|
5
5
|
|
|
6
6
|
export declare class Filter<T> {
|
|
7
7
|
private readonly _values?;
|
|
@@ -20,7 +20,7 @@ export declare class Filter<T> {
|
|
|
20
20
|
getValue(): unknown;
|
|
21
21
|
getValueId(value: unknown): string;
|
|
22
22
|
get values(): unknown[];
|
|
23
|
-
getArrayValue():
|
|
23
|
+
getArrayValue(): unknown[];
|
|
24
24
|
isValueActive(value: unknown): boolean;
|
|
25
25
|
isActive(): boolean;
|
|
26
26
|
activateValue(newValue: unknown): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DeepKeys, Row } from '@tanstack/react-table';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
1
|
import { ItemCollection } from './ItemCollection';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { DeepKeys, Row } from '@tanstack/react-table';
|
|
4
4
|
|
|
5
5
|
export type PropertyName<T> = DeepKeys<T>;
|
|
6
6
|
export type RenderItemFn<T> = (data: T) => ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IncrementalLoaderState } from './IncrementalLoaderState';
|
|
2
|
-
import { IncrementalLoaderShape } from './types';
|
|
3
1
|
import { default as List } from '../List';
|
|
2
|
+
import { IncrementalLoaderShape } from './types';
|
|
3
|
+
import { IncrementalLoaderState } from './IncrementalLoaderState';
|
|
4
4
|
|
|
5
5
|
export declare class IncrementalLoader<T> {
|
|
6
6
|
private readonly list;
|
|
@@ -14,7 +14,7 @@ export declare class IncrementalLoader<T> {
|
|
|
14
14
|
private reset;
|
|
15
15
|
useIsLoading(): boolean;
|
|
16
16
|
useData(): T[];
|
|
17
|
-
getLoaderInvocationHooks():
|
|
17
|
+
getLoaderInvocationHooks(): (() => void)[];
|
|
18
18
|
private useLoadBatch;
|
|
19
19
|
private getDataLoaderOptions;
|
|
20
20
|
private getBatchDataAsyncResource;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
2
2
|
|
|
3
3
|
type AsyncResourceLoadingState = AsyncResource["state"]["value"];
|
|
4
|
-
type DataBatches<T> =
|
|
4
|
+
type DataBatches<T> = T[][];
|
|
5
5
|
type BatchesLoadingState = AsyncResourceLoadingState[];
|
|
6
6
|
export declare class IncrementalLoaderState<T> {
|
|
7
7
|
dataBatches: DataBatches<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
2
|
-
import { FilterMode } from '../filter/types';
|
|
3
1
|
import { PropertyRecord } from '../types';
|
|
2
|
+
import { FilterMode } from '../filter/types';
|
|
3
|
+
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
4
4
|
|
|
5
5
|
type DataLoaderSortOptions<T> = PropertyRecord<T, "asc" | "desc">;
|
|
6
6
|
type DataLoaderFilterOptions<T> = PropertyRecord<T, {
|
|
@@ -16,10 +16,10 @@ export interface DataLoaderOptions<T> {
|
|
|
16
16
|
filtering?: DataLoaderFilterOptions<T>;
|
|
17
17
|
pagination?: DataLoaderPaginationOptions;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export interface DataLoaderResult<T> {
|
|
20
20
|
data: T[];
|
|
21
21
|
itemTotalCount?: number;
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
23
|
export type AsyncDataLoader<T> = (options?: DataLoaderOptions<T>) => Promise<DataLoaderResult<T>>;
|
|
24
24
|
type AsyncResourceFactory<T> = (options?: DataLoaderOptions<T>) => AsyncResource<DataLoaderResult<T>>;
|
|
25
25
|
type StaticData<T> = T[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SortingShape } from './types';
|
|
2
|
-
import { PropertyName } from '../item/Item';
|
|
3
|
-
import { default as List } from '../List';
|
|
4
1
|
import { Column, ColumnDef, SortDirection } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from '../List';
|
|
3
|
+
import { PropertyName } from '../item/Item';
|
|
4
|
+
import { SortingShape } from './types';
|
|
5
5
|
|
|
6
6
|
export declare class Sorting<T> {
|
|
7
7
|
readonly list: List<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IncrementalLoaderShape } from './loading/types';
|
|
2
|
-
import { FilterShape } from './filter/types';
|
|
3
|
-
import { BatchesControllerShape } from './pagination/types';
|
|
4
|
-
import { SortingShape } from './sorting/types';
|
|
5
1
|
import { PropertyName, RenderItemFn } from './item/Item';
|
|
2
|
+
import { SortingShape } from './sorting/types';
|
|
3
|
+
import { BatchesControllerShape } from './pagination/types';
|
|
4
|
+
import { FilterShape } from './filter/types';
|
|
5
|
+
import { IncrementalLoaderShape } from './loading/types';
|
|
6
6
|
|
|
7
7
|
export interface ListShape<T> {
|
|
8
8
|
loader?: IncrementalLoaderShape<T>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Domain {
|
|
2
2
|
hostname: string;
|
|
3
3
|
domain: string;
|
|
4
4
|
type: "Subdomain" | "Domain";
|
|
5
5
|
verified: boolean;
|
|
6
6
|
tld: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export declare const getTypes: () => Promise<("Subdomain" | "Domain")[]>;
|
|
9
9
|
interface Request {
|
|
10
10
|
pagination?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface MenuItemProps extends Omit<Aria.MenuItemProps, "children">, PropsWithChildren, FlowComponentProps<"MenuItem"> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { OverlayController } from '../../lib/controller/overlay';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { OverlayController } from '../../lib/controller/overlay';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
export interface ModalProps extends PropsWithChildren, FlowComponentProps<"Modal"> {
|
|
6
6
|
/** @default "s" */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropsWithClassName } from '../../lib/types/props';
|
|
2
1
|
import { ComponentProps, FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { PropsWithClassName } from '../../lib/types/props';
|
|
3
3
|
|
|
4
4
|
export interface NavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName {
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface NumberFieldProps extends PropsWithChildren<Omit<Aria.NumberFieldProps, "children">>, FlowComponentProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OverlayController } from '../../lib/controller/overlay';
|
|
2
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { OverlayController } from '../../lib/controller/overlay';
|
|
3
3
|
|
|
4
4
|
export interface OffCanvasProps extends PropsWithChildren {
|
|
5
5
|
controller?: OverlayController;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
3
|
import * as Aria from "react-aria-components";
|
|
4
|
-
export
|
|
5
|
-
}
|
|
4
|
+
export type PopoverProps = PropsWithChildren<Omit<Aria.PopoverProps, "children">>;
|
|
6
5
|
export declare const Popover: FC<PopoverProps>;
|
|
7
6
|
export default Popover;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropsWithStatus } from '../../lib/types/props';
|
|
2
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
3
|
import * as Aria from "react-aria-components";
|
|
4
4
|
export interface ProgressBarProps extends PropsWithChildren<Omit<Aria.ProgressBarProps, "children">>, PropsWithStatus {
|
|
5
5
|
showMaxValue?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { ColumnLayoutProps } from '../ColumnLayout';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { ColumnLayoutProps } from '../ColumnLayout';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface RadioGroupProps extends PropsWithChildren<Omit<Aria.RadioGroupProps, "children">>, FlowComponentProps, Pick<ColumnLayoutProps, "s" | "m" | "l"> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface RadioProps extends PropsWithChildren<Omit<Aria.RadioProps, "children">>, FlowComponentProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { RadioProps } from '../..';
|
|
3
1
|
import { default as React } from 'react';
|
|
2
|
+
import { RadioProps } from '../..';
|
|
3
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
export interface RadioButtonProps extends RadioProps, FlowComponentProps {
|
|
6
6
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC, PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type SectionProps = PropsWithChildren<ComponentProps<"section">>;
|
|
5
4
|
export declare const Section: FC<SectionProps>;
|
|
6
5
|
export default Section;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithClassName } from '../../lib/types/props';
|
|
2
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
|
+
import { PropsWithClassName } from '../../lib/types/props';
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface SelectProps extends PropsWithChildren<Omit<Aria.SelectProps<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface OptionProps extends Omit<Aria.ListBoxItemProps, "children" | "value" | "id">, PropsWithChildren, FlowComponentProps {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { OptionProps } from '../..';
|
|
2
1
|
import { FC } from 'react';
|
|
2
|
+
import { OptionProps } from '../..';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
|
-
export
|
|
6
|
-
}
|
|
5
|
+
export type OptionsProps = Aria.ListBoxProps<OptionProps>;
|
|
7
6
|
export declare const Options: FC<OptionsProps>;
|
|
8
7
|
export default Options;
|