@mittwald/flow-react-components 0.2.0-alpha.803 → 0.2.0-alpha.804
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/CHANGELOG.md +6 -0
- package/dist/assets/doc-properties.json +866 -553
- package/dist/css/all.css +1 -1
- package/dist/js/_virtual/_.locale.json@8d5024994f97657f895a4e2a188d2d8a.mjs +4 -0
- package/dist/js/_virtual/_.locale.json@8d5024994f97657f895a4e2a188d2d8a.mjs.map +1 -1
- package/dist/js/default.mjs +1 -0
- package/dist/js/default.mjs.map +1 -1
- package/dist/js/flr-universal.mjs +3 -0
- package/dist/js/flr-universal.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/List.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/DataLoader/DataLoader.mjs +5 -1
- package/dist/js/packages/components/src/components/List/components/DataLoader/DataLoader.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/DataLoader/DataLoaderSuspense.mjs +5 -2
- package/dist/js/packages/components/src/components/List/components/DataLoader/DataLoaderSuspense.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/EmptySearchResultView/EmptySearchResultView.mjs +27 -0
- package/dist/js/packages/components/src/components/List/components/EmptySearchResultView/EmptySearchResultView.mjs.map +1 -0
- package/dist/js/packages/components/src/components/List/components/EmptyView/EmptyView.mjs +27 -0
- package/dist/js/packages/components/src/components/List/components/EmptyView/EmptyView.mjs.map +1 -0
- package/dist/js/packages/components/src/components/List/components/Footer/components/PaginationInfos/PaginationInfos.mjs +2 -2
- package/dist/js/packages/components/src/components/List/components/Footer/components/PaginationInfos/PaginationInfos.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/Header.mjs +13 -7
- package/dist/js/packages/components/src/components/List/components/Header/Header.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs +24 -11
- package/dist/js/packages/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.mjs +13 -8
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/SortingAccordion.mjs +12 -8
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/SortingAccordion.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion.mjs +13 -9
- package/dist/js/packages/components/src/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.mjs +2 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.mjs +2 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.mjs +34 -15
- package/dist/js/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/SearchField/SearchField.mjs +2 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/SearchField/SearchField.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.mjs +3 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.mjs +16 -12
- package/dist/js/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.mjs +16 -10
- package/dist/js/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.mjs +14 -9
- package/dist/js/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Header/lib.mjs +17 -13
- package/dist/js/packages/components/src/components/List/components/Header/lib.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Items/Items.mjs +11 -27
- package/dist/js/packages/components/src/components/List/components/Items/Items.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs +16 -12
- package/dist/js/packages/components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Items/views/GridList/GridList.mjs +2 -3
- package/dist/js/packages/components/src/components/List/components/Items/views/GridList/GridList.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/ListItemView/ListItemView.mjs +10 -6
- package/dist/js/packages/components/src/components/List/components/ListItemView/ListItemView.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/components/Table/Table.mjs +26 -15
- package/dist/js/packages/components/src/components/List/components/Table/Table.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/model/List.mjs +9 -2
- package/dist/js/packages/components/src/components/List/model/List.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/model/loading/IncrementalLoader.mjs +34 -1
- package/dist/js/packages/components/src/components/List/model/loading/IncrementalLoader.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/model/loading/IncrementalLoaderState.mjs +13 -1
- package/dist/js/packages/components/src/components/List/model/loading/IncrementalLoaderState.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/model/types.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/views/EmptyView/EmptyView.mjs +1 -1
- package/dist/js/packages/components/src/components/List/views/EmptyView/EmptyView.mjs.map +1 -1
- package/dist/js/packages/components/src/components/List/views/EmptyViewContainer/EmptyViewContainer.mjs +16 -0
- package/dist/js/packages/components/src/components/List/views/EmptyViewContainer/EmptyViewContainer.mjs.map +1 -0
- package/dist/js/packages/components/src/integrations/react-hook-form/flags.mjs +2 -1
- package/dist/js/packages/components/src/integrations/react-hook-form/flags.mjs.map +1 -1
- package/dist/js/packages/components/src/views/IllustratedMessageView.mjs +15 -0
- package/dist/js/packages/components/src/views/IllustratedMessageView.mjs.map +1 -0
- package/dist/js/packages/components/src/views/ListEmptyViewContainerView.mjs +17 -0
- package/dist/js/packages/components/src/views/ListEmptyViewContainerView.mjs.map +1 -0
- package/dist/types/components/List/List.d.ts +3 -1
- package/dist/types/components/List/List.d.ts.map +1 -1
- package/dist/types/components/List/components/DataLoader/DataLoader.d.ts.map +1 -1
- package/dist/types/components/List/components/DataLoader/DataLoaderSuspense.d.ts +1 -0
- package/dist/types/components/List/components/DataLoader/DataLoaderSuspense.d.ts.map +1 -1
- package/dist/types/components/List/components/EmptySearchResultView/EmptySearchResultView.d.ts +4 -0
- package/dist/types/components/List/components/EmptySearchResultView/EmptySearchResultView.d.ts.map +1 -0
- package/dist/types/components/List/components/EmptySearchResultView/index.d.ts +2 -0
- package/dist/types/components/List/components/EmptySearchResultView/index.d.ts.map +1 -0
- package/dist/types/components/List/components/EmptyView/EmptyView.d.ts +4 -0
- package/dist/types/components/List/components/EmptyView/EmptyView.d.ts.map +1 -0
- package/dist/types/components/List/components/EmptyView/index.d.ts +2 -0
- package/dist/types/components/List/components/EmptyView/index.d.ts.map +1 -0
- package/dist/types/components/List/components/Header/Header.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/ActiveFilters/ActiveFilters.d.ts +4 -1
- package/dist/types/components/List/components/Header/components/ActiveFilters/ActiveFilters.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.d.ts +5 -1
- package/dist/types/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.d.ts +1 -0
- package/dist/types/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.d.ts +1 -0
- package/dist/types/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.d.ts +5 -1
- package/dist/types/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts +1 -0
- package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.d.ts +5 -1
- package/dist/types/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.d.ts.map +1 -1
- package/dist/types/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.d.ts +5 -1
- package/dist/types/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.d.ts.map +1 -1
- package/dist/types/components/List/components/Items/Items.d.ts.map +1 -1
- package/dist/types/components/List/components/Items/views/GridList/GridList.d.ts +2 -1
- package/dist/types/components/List/components/Items/views/GridList/GridList.d.ts.map +1 -1
- package/dist/types/components/List/components/Table/Table.d.ts.map +1 -1
- package/dist/types/components/List/index.d.ts +1 -0
- package/dist/types/components/List/index.d.ts.map +1 -1
- package/dist/types/components/List/model/List.d.ts +6 -2
- package/dist/types/components/List/model/List.d.ts.map +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts +1 -0
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts.map +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +3 -0
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts.map +1 -1
- package/dist/types/components/List/model/loading/types.d.ts +6 -3
- package/dist/types/components/List/model/loading/types.d.ts.map +1 -1
- package/dist/types/components/List/model/search/types.d.ts +1 -0
- package/dist/types/components/List/model/search/types.d.ts.map +1 -1
- package/dist/types/components/List/model/types.d.ts +3 -0
- package/dist/types/components/List/model/types.d.ts.map +1 -1
- package/dist/types/components/List/stories/Default.stories.d.ts +3 -0
- package/dist/types/components/List/stories/Default.stories.d.ts.map +1 -1
- package/dist/types/components/List/views/EmptyView/EmptyView.d.ts +5 -1
- package/dist/types/components/List/views/EmptyView/EmptyView.d.ts.map +1 -1
- package/dist/types/components/List/views/EmptyViewContainer/EmptyViewContainer.d.ts +10 -0
- package/dist/types/components/List/views/EmptyViewContainer/EmptyViewContainer.d.ts.map +1 -0
- package/dist/types/components/List/views/EmptyViewContainer/index.d.ts +3 -0
- package/dist/types/components/List/views/EmptyViewContainer/index.d.ts.map +1 -0
- package/dist/types/components/List/views/EmptyViewContainer/view.d.ts +8 -0
- package/dist/types/components/List/views/EmptyViewContainer/view.d.ts.map +1 -0
- package/dist/types/integrations/react-hook-form/flags.d.ts +1 -0
- package/dist/types/integrations/react-hook-form/flags.d.ts.map +1 -1
- package/dist/types/views/ListEmptyViewContainerView.d.ts +5 -0
- package/dist/types/views/ListEmptyViewContainerView.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/js/packages/components/src/views/ListEmptyViewView.mjs +0 -15
- package/dist/js/packages/components/src/views/ListEmptyViewView.mjs.map +0 -1
package/dist/js/packages/components/src/components/List/model/loading/IncrementalLoaderState.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncrementalLoaderState.mjs","sources":["../../../../../../../../../src/components/List/model/loading/IncrementalLoaderState.ts"],"sourcesContent":["import type { ListData } from \"@/components/List/model/loading/types\";\nimport useSelector from \"@/lib/mobx/useSelector\";\nimport type { AsyncResource } from \"@mittwald/react-use-promise\";\nimport { action, computed, makeObservable, observable } from \"mobx\";\nimport { useStatic } from \"@/lib/hooks/useStatic\";\nimport type List from \"@/components/List/model/List\";\nimport { uniqueBy } from \"remeda\";\n\ntype AsyncResourceLoadingState = AsyncResource[\"state\"][\"value\"];\ntype DataBatches<T> = ListData<T>[];\ntype BatchesLoadingState = AsyncResourceLoadingState[];\n\nexport class IncrementalLoaderState<T> {\n public dataBatches: DataBatches<T> = [];\n public prevDataBatches: DataBatches<T> = [];\n public batchLoadingStates: BatchesLoadingState = [\"void\"];\n public metadata?: unknown = undefined;\n public readonly list: List<T>;\n\n private constructor(list: List<T>) {\n this.list = list;\n makeObservable(this, {\n prevDataBatches: false,\n useMergedData: false,\n useIsLoading: false,\n dataBatches: observable.shallow,\n batchLoadingStates: observable.shallow,\n metadata: observable,\n mergedData: computed,\n isLoading: computed,\n reset: action.bound,\n setDataBatch: action.bound,\n setBatchLoadingState: action.bound,\n setMetadata: action.bound,\n });\n }\n\n public static useNew<T>(list: List<T>): IncrementalLoaderState<T> {\n return useStatic(() => new IncrementalLoaderState<T>(list));\n }\n\n public reset(): void {\n this.batchLoadingStates = [];\n this.dataBatches = [];\n }\n\n public setDataBatch(index: number, data: ListData<T>): void {\n if (this.dataBatches.length === 0) {\n this.prevDataBatches = [];\n }\n\n if (this.dataBatches[index] !== data) {\n this.dataBatches[index] = data;\n this.prevDataBatches[index] = data;\n }\n }\n\n public setBatchLoadingState(\n index: number,\n state: AsyncResourceLoadingState,\n ): void {\n if (this.batchLoadingStates[index] !== state) {\n this.batchLoadingStates[index] = state;\n }\n }\n\n public setMetadata(metadata?: unknown): void {\n this.metadata = metadata;\n }\n\n public get mergedData(): T[] {\n const dataBatches =\n this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches;\n\n const merged = dataBatches.flatMap((d) => d);\n if (this.list.getItemId) {\n return uniqueBy(merged, this.list.getItemId);\n } else {\n return merged;\n }\n }\n\n public useMergedData(): T[] {\n return useSelector(() => this.mergedData, [this.prevDataBatches]);\n }\n\n public get isLoading(): boolean {\n return this.batchLoadingStates.some((s) => s === \"loading\" || s === \"void\");\n }\n\n public useIsLoading(): boolean {\n return useSelector(() => this.isLoading);\n }\n\n public isBatchLoaded(batchIndex: number) {\n return batchIndex in this.dataBatches;\n }\n}\n"],"names":[],"mappings":";;;;;AAYO,MAAM,sBAAA,CAA0B;AAAA,EAC9B,cAA8B,EAAC;AAAA,EAC/B,kBAAkC,EAAC;AAAA,EACnC,kBAAA,GAA0C,CAAC,MAAM,CAAA;AAAA,EACjD,QAAA,GAAqB,MAAA;AAAA,EACZ,IAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"IncrementalLoaderState.mjs","sources":["../../../../../../../../../src/components/List/model/loading/IncrementalLoaderState.ts"],"sourcesContent":["import type { ListData } from \"@/components/List/model/loading/types\";\nimport useSelector from \"@/lib/mobx/useSelector\";\nimport type { AsyncResource } from \"@mittwald/react-use-promise\";\nimport { action, computed, makeObservable, observable } from \"mobx\";\nimport { useStatic } from \"@/lib/hooks/useStatic\";\nimport type List from \"@/components/List/model/List\";\nimport { uniqueBy } from \"remeda\";\n\ntype AsyncResourceLoadingState = AsyncResource[\"state\"][\"value\"];\ntype DataBatches<T> = ListData<T>[];\ntype BatchesLoadingState = AsyncResourceLoadingState[];\n\nexport class IncrementalLoaderState<T> {\n public dataBatches: DataBatches<T> = [];\n public prevDataBatches: DataBatches<T> = [];\n public batchLoadingStates: BatchesLoadingState = [\"void\"];\n public metadata?: unknown = undefined;\n public readonly list: List<T>;\n public isInitiallyLoading = true;\n\n private constructor(list: List<T>) {\n this.list = list;\n makeObservable(this, {\n prevDataBatches: false,\n useMergedData: false,\n useIsLoading: false,\n dataBatches: observable.shallow,\n batchLoadingStates: observable.shallow,\n metadata: observable,\n mergedData: computed,\n isLoading: computed,\n isInitiallyLoading: observable,\n setIsInitiallyLoading: action.bound,\n reset: action.bound,\n setDataBatch: action.bound,\n setBatchLoadingState: action.bound,\n setMetadata: action.bound,\n });\n }\n\n public static useNew<T>(list: List<T>): IncrementalLoaderState<T> {\n return useStatic(() => new IncrementalLoaderState<T>(list));\n }\n\n public reset(): void {\n this.batchLoadingStates = [];\n this.dataBatches = [];\n }\n\n public setDataBatch(index: number, data: ListData<T>): void {\n if (this.dataBatches.length === 0) {\n this.prevDataBatches = [];\n }\n\n if (this.dataBatches[index] !== data) {\n this.dataBatches[index] = data;\n this.prevDataBatches[index] = data;\n }\n }\n\n public setBatchLoadingState(\n index: number,\n state: AsyncResourceLoadingState,\n ): void {\n if (state === \"error\" || state === \"loaded\") {\n this.setIsInitiallyLoading(false);\n }\n if (this.batchLoadingStates[index] !== state) {\n this.batchLoadingStates[index] = state;\n }\n }\n\n public setMetadata(metadata?: unknown): void {\n this.metadata = metadata;\n }\n\n public setIsInitiallyLoading(isInitiallyLoading: boolean): void {\n this.isInitiallyLoading = isInitiallyLoading;\n }\n\n public get mergedData(): T[] {\n const dataBatches =\n this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches;\n\n const merged = dataBatches.flatMap((d) => d);\n if (this.list.getItemId) {\n return uniqueBy(merged, this.list.getItemId);\n } else {\n return merged;\n }\n }\n\n public useMergedData(): T[] {\n return useSelector(() => this.mergedData, [this.prevDataBatches]);\n }\n\n public get isLoading(): boolean {\n return this.batchLoadingStates.some((s) => s === \"loading\" || s === \"void\");\n }\n\n public useIsLoading(): boolean {\n return useSelector(() => this.isLoading);\n }\n\n public useIsInitiallyLoading(): boolean {\n return useSelector(() => this.isInitiallyLoading);\n }\n\n public isBatchLoaded(batchIndex: number) {\n return batchIndex in this.dataBatches;\n }\n}\n"],"names":[],"mappings":";;;;;AAYO,MAAM,sBAAA,CAA0B;AAAA,EAC9B,cAA8B,EAAC;AAAA,EAC/B,kBAAkC,EAAC;AAAA,EACnC,kBAAA,GAA0C,CAAC,MAAM,CAAA;AAAA,EACjD,QAAA,GAAqB,MAAA;AAAA,EACZ,IAAA;AAAA,EACT,kBAAA,GAAqB,IAAA;AAAA,EAEpB,YAAY,IAAA,EAAe;AACjC,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,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C,IAAA,OAAO,WAAA,CAAY,MAAM,IAAA,CAAK,kBAAkB,CAAA;AAAA,EAClD;AAAA,EAEO,cAAc,UAAA,EAAoB;AACvC,IAAA,OAAO,cAAc,IAAA,CAAK,WAAA;AAAA,EAC5B;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../../../../../../../../src/components/List/model/types.ts"],"sourcesContent":["import type { FilterShape } from \"@/components/List/model/filter/types\";\nimport type { ItemViewShape } from \"@/components/List/model/item/ItemView\";\nimport type List from \"@/components/List/model/List\";\nimport type { IncrementalLoaderShape } from \"@/components/List/model/loading/types\";\nimport type { BatchesControllerShape } from \"@/components/List/model/pagination/types\";\nimport type { SearchShape } from \"@/components/List/model/search/types\";\nimport type { SortingShape } from \"@/components/List/model/sorting/types\";\nimport type { TableShape } from \"@/components/List/model/table/types\";\nimport type { ItemType } from \"@/lib/types/array\";\nimport type { MultipleSelection, SelectionBehavior } from \"@react-types/shared\";\nimport type { DeepKeys, DeepValue } from \"@tanstack/react-table\";\nimport type { ReactNode } from \"react\";\n\nexport const customPropertyPrefix = \"$\" as const;\nexport type CustomPropertyName = `${typeof customPropertyPrefix}${string}`;\n\nexport type PropertyName<T> = DeepKeys<T> | CustomPropertyName;\nexport type PropertyValue<T, TProp> = TProp extends CustomPropertyName\n ? T\n : DeepValue<T, TProp>;\nexport type PropertyValueRenderMethod<TMatcherValue> = (\n prop: NonNullable<ItemType<TMatcherValue>>,\n) => ReactNode;\n\nexport type OnListChanged<T, TMeta = unknown> = (list: List<T, TMeta>) => void;\n\nexport interface ListSupportedComponentProps extends MultipleSelection {\n \"aria-labelledby\"?: string;\n \"aria-label\"?: string;\n selectionBehavior?: SelectionBehavior;\n}\n\nexport interface ListSettingsStorageDefaults {\n filters?: {\n autosave?: boolean;\n manualSave?: boolean;\n };\n\n sorting?: {\n autosave?: boolean;\n };\n\n viewMode?: {\n autosave?: boolean;\n };\n\n search?: {\n autosave?: boolean;\n };\n}\n\nexport interface ListShape<\n T,\n TMeta = unknown,\n> extends ListSupportedComponentProps {\n settingStorageKey?: string;\n\n loader?: IncrementalLoaderShape<T>;\n filters?: FilterShape<T, never, never>[];\n itemView?: ItemViewShape<T>;\n search?: SearchShape<T>;\n sorting?: SortingShape<T>[];\n batchesController?: BatchesControllerShape;\n table?: TableShape<T>;\n\n onAction?: ItemActionFn<T>;\n accordion?: boolean;\n loadingItemsCount?: number;\n getItemId?: GetItemId<T>;\n onChange?: OnListChanged<T, TMeta>;\n defaultViewMode?: ListViewMode;\n settingsStorageDefaults?: ListSettingsStorageDefaults;\n}\n\nexport type PropertyRecord<T, TValue> = Partial<\n Record<PropertyName<T>, TValue>\n>;\n\nexport interface ListSettingsStorageShape {\n storageKey: string;\n}\n\nexport type ListViewMode = \"table\" | \"list\" | \"tiles\";\nexport type ItemActionFn<T> = (data: T) => void;\nexport type GetItemId<T> = (data: T) => string;\n"],"names":[],"mappings":"AAaO,MAAM,oBAAA,GAAuB;;;;"}
|
|
1
|
+
{"version":3,"file":"types.mjs","sources":["../../../../../../../../src/components/List/model/types.ts"],"sourcesContent":["import type { FilterShape } from \"@/components/List/model/filter/types\";\nimport type { ItemViewShape } from \"@/components/List/model/item/ItemView\";\nimport type List from \"@/components/List/model/List\";\nimport type { IncrementalLoaderShape } from \"@/components/List/model/loading/types\";\nimport type { BatchesControllerShape } from \"@/components/List/model/pagination/types\";\nimport type { SearchShape } from \"@/components/List/model/search/types\";\nimport type { SortingShape } from \"@/components/List/model/sorting/types\";\nimport type { TableShape } from \"@/components/List/model/table/types\";\nimport type { ItemType } from \"@/lib/types/array\";\nimport type { MultipleSelection, SelectionBehavior } from \"@react-types/shared\";\nimport type { DeepKeys, DeepValue } from \"@tanstack/react-table\";\nimport type { ReactNode } from \"react\";\n\nexport const customPropertyPrefix = \"$\" as const;\nexport type CustomPropertyName = `${typeof customPropertyPrefix}${string}`;\n\nexport type PropertyName<T> = DeepKeys<T> | CustomPropertyName;\nexport type PropertyValue<T, TProp> = TProp extends CustomPropertyName\n ? T\n : DeepValue<T, TProp>;\nexport type PropertyValueRenderMethod<TMatcherValue> = (\n prop: NonNullable<ItemType<TMatcherValue>>,\n) => ReactNode;\n\nexport type OnListChanged<T, TMeta = unknown> = (list: List<T, TMeta>) => void;\n\nexport interface ListSupportedComponentProps extends MultipleSelection {\n \"aria-labelledby\"?: string;\n \"aria-label\"?: string;\n selectionBehavior?: SelectionBehavior;\n}\n\nexport interface ListSettingsStorageDefaults {\n filters?: {\n autosave?: boolean;\n manualSave?: boolean;\n };\n\n sorting?: {\n autosave?: boolean;\n };\n\n viewMode?: {\n autosave?: boolean;\n };\n\n search?: {\n autosave?: boolean;\n };\n}\n\nexport interface ListShape<\n T,\n TMeta = unknown,\n> extends ListSupportedComponentProps {\n settingStorageKey?: string;\n\n loader?: IncrementalLoaderShape<T>;\n filters?: FilterShape<T, never, never>[];\n itemView?: ItemViewShape<T>;\n search?: SearchShape<T>;\n sorting?: SortingShape<T>[];\n batchesController?: BatchesControllerShape;\n table?: TableShape<T>;\n\n onAction?: ItemActionFn<T>;\n accordion?: boolean;\n loadingItemsCount?: number;\n getItemId?: GetItemId<T>;\n onChange?: OnListChanged<T, TMeta>;\n defaultViewMode?: ListViewMode;\n settingsStorageDefaults?: ListSettingsStorageDefaults;\n\n emptySearchResultView?: ReactNode;\n emptyView?: ReactNode;\n}\n\nexport type PropertyRecord<T, TValue> = Partial<\n Record<PropertyName<T>, TValue>\n>;\n\nexport interface ListSettingsStorageShape {\n storageKey: string;\n}\n\nexport type ListViewMode = \"table\" | \"list\" | \"tiles\";\nexport type ItemActionFn<T> = (data: T) => void;\nexport type GetItemId<T> = (data: T) => string;\n\nexport type EmptyViewType = \"search\" | \"list\";\n"],"names":[],"mappings":"AAaO,MAAM,oBAAA,GAAuB;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
-
import 'react';
|
|
5
4
|
import { IllustratedMessage } from '../../../IllustratedMessage/IllustratedMessage.mjs';
|
|
5
|
+
import 'react';
|
|
6
6
|
import '@mittwald/flow-icons';
|
|
7
7
|
import '../../../Icon/components/IconSetProvider.mjs';
|
|
8
8
|
import '../../../Icon/Icon.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyView.mjs","sources":["../../../../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"EmptyView.mjs","sources":["../../../../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport { IllustratedMessage } from \"@/components/IllustratedMessage\";\nimport { IconSearch } from \"@/components/Icon/components/icons\";\nimport { Heading } from \"@/components/Heading\";\nimport { Text } from \"@/components/Text\";\nimport locales from \"../../locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"@/components/TranslationProvider/useLocalizedStringFormatter\";\nimport styles from \"../../components/Items/Items.module.scss\";\n\nexport type EmptyViewProps = Record<string, never>;\n\n/**\n * @flr-generate all\n *\n * Keep this unused component for backwards compatibility!\n */\nexport const EmptyView: FC<EmptyViewProps> = () => {\n const stringFormatter = useLocalizedStringFormatter(locales, \"List\");\n\n return (\n <IllustratedMessage className={styles.emptyView}>\n <IconSearch />\n <Heading>{stringFormatter.format(\"noResult.heading\")}</Heading>\n <Text>{stringFormatter.format(\"noResult.text\")}</Text>\n </IllustratedMessage>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBO,MAAM,YAAgC,MAAM;AACjD,EAAA,MAAM,eAAA,GAAkB,2BAAA,CAA4B,OAAA,EAAS,MAAM,CAAA;AAEnE,EAAA,uBACE,IAAA,CAAC,kBAAA,EAAA,EAAmB,SAAA,EAAW,MAAA,CAAO,SAAA,EACpC,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAA,EAAA,EAAW,CAAA;AAAA,oBACZ,GAAA,CAAC,OAAA,EAAA,EAAS,QAAA,EAAA,eAAA,CAAgB,MAAA,CAAO,kBAAkB,CAAA,EAAE,CAAA;AAAA,oBACrD,GAAA,CAAC,IAAA,EAAA,EAAM,QAAA,EAAA,eAAA,CAAgB,MAAA,CAAO,eAAe,CAAA,EAAE;AAAA,GAAA,EACjD,CAAA;AAEJ;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
import DivView from '../../../../views/DivView.mjs';
|
|
5
|
+
import styles from '../../components/Items/Items.module.scss.mjs';
|
|
6
|
+
import { EmptySearchResultView } from '../../components/EmptySearchResultView/EmptySearchResultView.mjs';
|
|
7
|
+
import { EmptyView } from '../../components/EmptyView/EmptyView.mjs';
|
|
8
|
+
|
|
9
|
+
const EmptyViewContainer = (props) => {
|
|
10
|
+
const emptyView = props.emptyView ?? /* @__PURE__ */ jsx(EmptyView, {});
|
|
11
|
+
const emptySearchResultView = props.emptySearchResultView ?? /* @__PURE__ */ jsx(EmptySearchResultView, {});
|
|
12
|
+
return /* @__PURE__ */ jsx(DivView, { className: styles.emptyView, children: props.viewType === "search" ? emptySearchResultView : emptyView });
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { EmptyViewContainer };
|
|
16
|
+
//# sourceMappingURL=EmptyViewContainer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyViewContainer.mjs","sources":["../../../../../../../../../src/components/List/views/EmptyViewContainer/EmptyViewContainer.tsx"],"sourcesContent":["import DivView from \"@/views/DivView\";\nimport type { FC, ReactNode } from \"react\";\nimport styles from \"../../components/Items/Items.module.scss\";\nimport type { EmptyViewType } from \"../../model/types\";\nimport { EmptySearchResultView } from \"../../components/EmptySearchResultView\";\nimport { EmptyView } from \"../../components/EmptyView\";\n\nexport interface EmptyViewContainerProps {\n emptyView?: ReactNode;\n emptySearchResultView?: ReactNode;\n viewType: EmptyViewType;\n}\n\n/** @flr-generate all */\nexport const EmptyViewContainer: FC<EmptyViewContainerProps> = (props) => {\n const emptyView = props.emptyView ?? <EmptyView />;\n const emptySearchResultView = props.emptySearchResultView ?? (\n <EmptySearchResultView />\n );\n return (\n <DivView className={styles.emptyView}>\n {props.viewType === \"search\" ? emptySearchResultView : emptyView}\n </DivView>\n );\n};\n"],"names":[],"mappings":";;;;;;AAcO,MAAM,kBAAA,GAAkD,CAAC,KAAA,KAAU;AACxE,EAAA,MAAM,SAAA,GAAY,KAAA,CAAM,SAAA,oBAAa,GAAA,CAAC,SAAA,EAAA,EAAU,CAAA;AAChD,EAAA,MAAM,qBAAA,GAAwB,KAAA,CAAM,qBAAA,oBAClC,GAAA,CAAC,qBAAA,EAAA,EAAsB,CAAA;AAEzB,EAAA,uBACE,GAAA,CAAC,WAAQ,SAAA,EAAW,MAAA,CAAO,WACxB,QAAA,EAAA,KAAA,CAAM,QAAA,KAAa,QAAA,GAAW,qBAAA,GAAwB,SAAA,EACzD,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flags.mjs","sources":["../../../../../../../src/integrations/react-hook-form/flags.ts"],"sourcesContent":["export const flags = {\n requireCloseModalConfirmationOnUnsavedChanges: false,\n};\n\nconst defaultFlags = { ...flags };\n\nexport const resetFlags = () => {\n Object.assign(flags, defaultFlags);\n};\n"],"names":[],"mappings":"AAAO,MAAM,KAAA,GAAQ;AAAA,EACnB,6CAAA,EAA+C;
|
|
1
|
+
{"version":3,"file":"flags.mjs","sources":["../../../../../../../src/integrations/react-hook-form/flags.ts"],"sourcesContent":["export const flags = {\n requireCloseModalConfirmationOnUnsavedChanges: false,\n disableInitialListSuspenseBoundaries: false,\n};\n\nconst defaultFlags = { ...flags };\n\nexport const resetFlags = () => {\n Object.assign(flags, defaultFlags);\n};\n"],"names":[],"mappings":"AAAO,MAAM,KAAA,GAAQ;AAAA,EACnB,6CAAA,EAA+C,KAAA;AAAA,EAC/C,oCAAA,EAAsC;AACxC;CAEqB,EAAE,GAAG,KAAA;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { memo, useContext } from 'react';
|
|
5
|
+
import { IllustratedMessage } from '../components/IllustratedMessage/IllustratedMessage.mjs';
|
|
6
|
+
import { viewComponentContext } from '../lib/viewComponentContext/viewComponentContext.mjs';
|
|
7
|
+
|
|
8
|
+
const IllustratedMessageView = memo((props) => {
|
|
9
|
+
const View = useContext(viewComponentContext)["IllustratedMessage"] ?? IllustratedMessage;
|
|
10
|
+
return /* @__PURE__ */ jsx(View, { ...props });
|
|
11
|
+
});
|
|
12
|
+
IllustratedMessageView.displayName = "IllustratedMessageView";
|
|
13
|
+
|
|
14
|
+
export { IllustratedMessageView as default };
|
|
15
|
+
//# sourceMappingURL=IllustratedMessageView.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IllustratedMessageView.mjs","sources":["../../../../../../src/views/IllustratedMessageView.tsx"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport React, { memo, type FC, useContext } from \"react\";\nimport {\n IllustratedMessage,\n type IllustratedMessageProps,\n} from \"@/components/IllustratedMessage/IllustratedMessage\";\nimport { viewComponentContext } from \"@/lib/viewComponentContext/viewComponentContext\";\n\nconst IllustratedMessageView: FC<IllustratedMessageProps> = memo((props) => {\n const View =\n useContext(viewComponentContext)[\"IllustratedMessage\"] ??\n IllustratedMessage;\n return <View {...props} />;\n});\nIllustratedMessageView.displayName = \"IllustratedMessageView\";\n\nexport default IllustratedMessageView;\n"],"names":[],"mappings":";;;;;AASA,MAAM,sBAAA,GAAsD,IAAA,CAAK,CAAC,KAAA,KAAU;AAC1E,EAAA,MAAM,IAAA,GACJ,UAAA,CAAW,oBAAoB,CAAA,CAAE,oBAAoB,CAAA,IACrD,kBAAA;AACF,EAAA,uBAAO,GAAA,CAAC,IAAA,EAAA,EAAM,GAAG,KAAA,EAAO,CAAA;AAC1B,CAAC;AACD,sBAAA,CAAuB,WAAA,GAAc,wBAAA;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { memo, useContext } from 'react';
|
|
5
|
+
import { EmptyViewContainer } from '../components/List/views/EmptyViewContainer/EmptyViewContainer.mjs';
|
|
6
|
+
import { viewComponentContext } from '../lib/viewComponentContext/viewComponentContext.mjs';
|
|
7
|
+
|
|
8
|
+
const ListEmptyViewContainerView = memo(
|
|
9
|
+
(props) => {
|
|
10
|
+
const View = useContext(viewComponentContext)["ListEmptyViewContainer"] ?? EmptyViewContainer;
|
|
11
|
+
return /* @__PURE__ */ jsx(View, { ...props });
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
ListEmptyViewContainerView.displayName = "ListEmptyViewContainerView";
|
|
15
|
+
|
|
16
|
+
export { ListEmptyViewContainerView as default };
|
|
17
|
+
//# sourceMappingURL=ListEmptyViewContainerView.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListEmptyViewContainerView.mjs","sources":["../../../../../../src/views/ListEmptyViewContainerView.tsx"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport React, { memo, type FC, useContext } from \"react\";\nimport {\n EmptyViewContainer,\n type EmptyViewContainerProps,\n} from \"@/components/List/views/EmptyViewContainer/EmptyViewContainer\";\nimport { viewComponentContext } from \"@/lib/viewComponentContext/viewComponentContext\";\n\nconst ListEmptyViewContainerView: FC<EmptyViewContainerProps> = memo(\n (props) => {\n const View =\n useContext(viewComponentContext)[\"ListEmptyViewContainer\"] ??\n EmptyViewContainer;\n return <View {...props} />;\n },\n);\nListEmptyViewContainerView.displayName = \"ListEmptyViewContainerView\";\n\nexport default ListEmptyViewContainerView;\n"],"names":[],"mappings":";;;;;AASA,MAAM,0BAAA,GAA0D,IAAA;AAAA,EAC9D,CAAC,KAAA,KAAU;AACT,IAAA,MAAM,IAAA,GACJ,UAAA,CAAW,oBAAoB,CAAA,CAAE,wBAAwB,CAAA,IACzD,kBAAA;AACF,IAAA,uBAAO,GAAA,CAAC,IAAA,EAAA,EAAM,GAAG,KAAA,EAAO,CAAA;AAAA,EAC1B;AACF;AACA,0BAAA,CAA2B,WAAA,GAAc,4BAAA;;;;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ListShape } from './model/types';
|
|
2
2
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
4
4
|
export interface ListProps<T, TMeta = unknown> extends PropsWithChildren, FlowComponentProps, Omit<ListShape<T, TMeta>, "search" | "loader" | "itemView" | "table" | "batchesController" | "filters" | "sorting"> {
|
|
5
5
|
/** The number of items to be displayed on one page. */
|
|
6
6
|
batchSize?: number;
|
|
7
7
|
hidePagination?: boolean;
|
|
8
|
+
emptySearchResultView?: ReactNode;
|
|
9
|
+
emptyView?: ReactNode;
|
|
8
10
|
}
|
|
9
11
|
export declare const List: import('react').FunctionComponent<ListProps<never, unknown> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
12
|
export default List;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAc/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAK9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAc/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAK9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM1D,MAAM,WAAW,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAC3C,SACE,iBAAiB,EACjB,kBAAkB,EAClB,IAAI,CACF,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,EACjB,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,mBAAmB,GACnB,SAAS,GACT,SAAS,CACZ;IACH,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,IAAI,8GAiKf,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/DataLoader/DataLoader.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"DataLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/DataLoader/DataLoader.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,iDAqBtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataLoaderSuspense.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/DataLoader/DataLoaderSuspense.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,UAAU,KAAM,SAAQ,iBAAiB;IACvC,iBAAiB,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DataLoaderSuspense.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/DataLoader/DataLoaderSuspense.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,UAAU,KAAM,SAAQ,iBAAiB;IACvC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,KAAK,CAOxC,CAAC"}
|
package/dist/types/components/List/components/EmptySearchResultView/EmptySearchResultView.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptySearchResultView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/EmptySearchResultView/EmptySearchResultView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE/D,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAUhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/EmptySearchResultView/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/EmptyView/EmptyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEnD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAUxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/EmptyView/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAU5D,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,kBAAkB,CA+CzC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/dist/types/components/List/components/Header/components/ActiveFilters/ActiveFilters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveFilters.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/ActiveFilters/ActiveFilters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActiveFilters.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/ActiveFilters/ActiveFilters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAsGlC,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllFiltersModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"AllFiltersModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CAyFrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangeFilterPopover.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAWhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,UAAU,KAAK;IACb,MAAM,EAAE,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DateRangeFilterPopover.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/DateRangeFilterPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAWhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,UAAU,KAAK;IACb,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,KAAK,CAqC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AASpE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AASpE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAgCvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterContextMenus.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterContextMenus.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,KAAK,CAqBxC,CAAC"}
|
package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { PropsWithClassName } from '../../../../../../lib/types/props';
|
|
|
3
3
|
import { Search } from '../../../../model/search/Search';
|
|
4
4
|
interface Props extends PropsWithClassName {
|
|
5
5
|
search: Search<never>;
|
|
6
|
+
isDisabled?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare const SearchField: FC<Props>;
|
|
8
9
|
export default SearchField;
|
package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/SearchField/SearchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiB,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAOpE,UAAU,KAAM,SAAQ,kBAAkB;IACxC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/SearchField/SearchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiB,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAOpE,UAAU,KAAM,SAAQ,kBAAkB;IACxC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAyDD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAWjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortingContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgBhC,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"SortingContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgBhC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,KAAK,CAqDxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewModeContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAahC,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"ViewModeContextMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAahC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,CAkCzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Items/Items.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Items/Items.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,eAAO,MAAM,KAAK,EAAE,EAuCnB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
import * as Aria from "react-aria-components";
|
|
3
3
|
export type GridListProps = Aria.GridListProps<never> & {
|
|
4
4
|
tileMaxWidth: number;
|
|
5
|
+
emptyView?: ReactNode;
|
|
5
6
|
};
|
|
6
7
|
/** @flr-generate all */
|
|
7
8
|
export declare const GridList: FC<GridListProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridList.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/views/GridList/GridList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GridList.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/views/GridList/GridList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAYtC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAahC,eAAO,MAAM,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAahC,eAAO,MAAM,KAAK,EAAE,EAuEnB,CAAC"}
|
|
@@ -6,6 +6,7 @@ export * from './components/Items/views/GridList';
|
|
|
6
6
|
export * from './components/Items/views/GridListItem';
|
|
7
7
|
export * from './components/ListItemView';
|
|
8
8
|
export * from './components/ListSummary';
|
|
9
|
+
export * from './views/EmptyViewContainer';
|
|
9
10
|
export * from './views/EmptyView';
|
|
10
11
|
export * from './hooks/useList';
|
|
11
12
|
export * from './hooks/useListMetadata';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAE/C,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAE/C,YAAY,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAE5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC"}
|
|
@@ -3,11 +3,12 @@ import { BatchesController } from './pagination/BatchesController';
|
|
|
3
3
|
import { Filter } from './filter/Filter';
|
|
4
4
|
import { Sorting } from './sorting/Sorting';
|
|
5
5
|
import { default as ReactTable } from './ReactTable';
|
|
6
|
-
import { GetItemId, ItemActionFn, ListSettingsStorageDefaults, ListShape, ListSupportedComponentProps } from './types';
|
|
6
|
+
import { EmptyViewType, GetItemId, ItemActionFn, ListSettingsStorageDefaults, ListShape, ListSupportedComponentProps } from './types';
|
|
7
7
|
import { IncrementalLoader } from './loading/IncrementalLoader';
|
|
8
8
|
import { Search } from './search/Search';
|
|
9
9
|
import { ItemView } from './item/ItemView';
|
|
10
10
|
import { Table } from './table/Table';
|
|
11
|
+
import { ReactNode } from 'react';
|
|
11
12
|
import { ListSettingsStore } from './ListSettingsStore';
|
|
12
13
|
import { ListViewMode } from './ListViewMode';
|
|
13
14
|
import { DateRangeFilter } from './filter/DateRangeFilter';
|
|
@@ -29,9 +30,12 @@ export declare class List<T = unknown, TMeta = unknown> {
|
|
|
29
30
|
readonly settingsStorage?: ListSettingsStore<T>;
|
|
30
31
|
readonly loadingItemsCount: number;
|
|
31
32
|
readonly viewMode: ListViewMode<T>;
|
|
33
|
+
readonly emptyView?: ReactNode;
|
|
34
|
+
readonly emptySearchResultView?: ReactNode;
|
|
32
35
|
readonly settingsStorageDefaults?: ListSettingsStorageDefaults;
|
|
33
36
|
constructor(shape: ListShape<T, TMeta>);
|
|
34
|
-
|
|
37
|
+
getEmptyViewType(): EmptyViewType;
|
|
38
|
+
get hasActiveFilters(): boolean;
|
|
35
39
|
get visibleSorting(): Sorting<T>[];
|
|
36
40
|
static useNew<T, TMeta = unknown>(shape: ListShape<T, TMeta>): List<T, TMeta>;
|
|
37
41
|
getSorting(id: string): Sorting<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/model/List.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AACzF,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACZ,2BAA2B,EAC3B,SAAS,EACT,2BAA2B,EAC5B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AAEtF,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceR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AY,IAAI,IAAI;IAIpB,UAAU,IAAI,OAAO;CAG7B;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare class IncrementalLoader<T> {
|
|
|
8
8
|
readonly manualSorting: boolean;
|
|
9
9
|
readonly manualFiltering: boolean;
|
|
10
10
|
readonly manualPagination: boolean;
|
|
11
|
+
readonly disableInitialSuspenseBoundary: boolean;
|
|
11
12
|
readonly loaderState: IncrementalLoaderState<T>;
|
|
12
13
|
readonly staticDataProperties: PropertyName<T>[];
|
|
13
14
|
private constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncrementalLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAIV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"IncrementalLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,EAIV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AASlE,qBAAa,iBAAiB,CAAC,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAU;IAC/B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAC3C,SAAgB,aAAa,EAAE,OAAO,CAAC;IACvC,SAAgB,eAAe,EAAE,OAAO,CAAC;IACzC,SAAgB,gBAAgB,EAAE,OAAO,CAAC;IAC1C,SAAgB,8BAA8B,EAAE,OAAO,CAAC;IACxD,SAAgB,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvD,SAAgB,oBAAoB,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAM;IAE7D,OAAO;WAsCO,MAAM,CAAC,CAAC,EACpB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EACb,KAAK,GAAE,sBAAsB,CAAC,CAAC,CAAM,GACpC,iBAAiB,CAAC,CAAC,CAAC;IAIvB,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,KAAK;IAIN,YAAY,IAAI,OAAO;IAIvB,qBAAqB,IAAI,OAAO;IAIhC,OAAO,IAAI,CAAC,EAAE;IAIrB,OAAO,CAAC,UAAU;IA4CX,wBAAwB,IAAI,oBAAoB,EAAE;IA+BzD,OAAO,CAAC,oBAAoB;IAqC5B,OAAO,CAAC,yBAAyB;CAgClC"}
|
|
@@ -10,16 +10,19 @@ export declare class IncrementalLoaderState<T> {
|
|
|
10
10
|
batchLoadingStates: BatchesLoadingState;
|
|
11
11
|
metadata?: unknown;
|
|
12
12
|
readonly list: List<T>;
|
|
13
|
+
isInitiallyLoading: boolean;
|
|
13
14
|
private constructor();
|
|
14
15
|
static useNew<T>(list: List<T>): IncrementalLoaderState<T>;
|
|
15
16
|
reset(): void;
|
|
16
17
|
setDataBatch(index: number, data: ListData<T>): void;
|
|
17
18
|
setBatchLoadingState(index: number, state: AsyncResourceLoadingState): void;
|
|
18
19
|
setMetadata(metadata?: unknown): void;
|
|
20
|
+
setIsInitiallyLoading(isInitiallyLoading: boolean): void;
|
|
19
21
|
get mergedData(): T[];
|
|
20
22
|
useMergedData(): T[];
|
|
21
23
|
get isLoading(): boolean;
|
|
22
24
|
useIsLoading(): boolean;
|
|
25
|
+
useIsInitiallyLoading(): boolean;
|
|
23
26
|
isBatchLoaded(batchIndex: number): boolean;
|
|
24
27
|
}
|
|
25
28
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncrementalLoaderState.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoaderState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AAGrD,KAAK,yBAAyB,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AACjE,KAAK,WAAW,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;AACpC,KAAK,mBAAmB,GAAG,yBAAyB,EAAE,CAAC;AAEvD,qBAAa,sBAAsB,CAAC,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAM;IACjC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,CAAM;IACrC,kBAAkB,EAAE,mBAAmB,CAAY;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAa;IACtC,SAAgB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"IncrementalLoaderState.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/IncrementalLoaderState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AAGrD,KAAK,yBAAyB,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AACjE,KAAK,WAAW,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;AACpC,KAAK,mBAAmB,GAAG,yBAAyB,EAAE,CAAC;AAEvD,qBAAa,sBAAsB,CAAC,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAM;IACjC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,CAAM;IACrC,kBAAkB,EAAE,mBAAmB,CAAY;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAa;IACtC,SAAgB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,kBAAkB,UAAQ;IAEjC,OAAO;WAoBO,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAI1D,KAAK,IAAI,IAAI;IAKb,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI;IAWpD,oBAAoB,CACzB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,yBAAyB,GAC/B,IAAI;IASA,WAAW,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI;IAIrC,qBAAqB,CAAC,kBAAkB,EAAE,OAAO,GAAG,IAAI;IAI/D,IAAW,UAAU,IAAI,CAAC,EAAE,CAU3B;IAEM,aAAa,IAAI,CAAC,EAAE;IAI3B,IAAW,SAAS,IAAI,OAAO,CAE9B;IAEM,YAAY,IAAI,OAAO;IAIvB,qBAAqB,IAAI,OAAO;IAIhC,aAAa,CAAC,UAAU,EAAE,MAAM;CAGxC"}
|
|
@@ -32,19 +32,22 @@ interface DynamicLoaderShape {
|
|
|
32
32
|
manualFiltering?: boolean;
|
|
33
33
|
manualPagination?: boolean;
|
|
34
34
|
}
|
|
35
|
+
interface SuspenseLoaderShape {
|
|
36
|
+
disableInitialSuspenseBoundary?: boolean;
|
|
37
|
+
}
|
|
35
38
|
export interface StaticDataLoaderShape<T> {
|
|
36
39
|
staticData: ListData<T>;
|
|
37
40
|
}
|
|
38
41
|
export type AsyncResourceFactoryDataLoaderShape<T> = {
|
|
39
42
|
asyncResourceFactory: AsyncResourceFactory<T>;
|
|
40
|
-
} & DynamicLoaderShape;
|
|
43
|
+
} & DynamicLoaderShape & SuspenseLoaderShape;
|
|
41
44
|
export type AsyncDataLoaderShape<T> = {
|
|
42
45
|
asyncLoader: AsyncDataLoader<T>;
|
|
43
46
|
dependencies?: DependencyList;
|
|
44
|
-
} & DynamicLoaderShape;
|
|
47
|
+
} & DynamicLoaderShape & SuspenseLoaderShape;
|
|
45
48
|
export type HooksDataLoaderShape<T> = {
|
|
46
49
|
useData: HooksDataLoader<T>;
|
|
47
|
-
} & DynamicLoaderShape;
|
|
50
|
+
} & DynamicLoaderShape & SuspenseLoaderShape;
|
|
48
51
|
export type DataSource<T> = StaticDataLoaderShape<T> | HooksDataLoaderShape<T> | AsyncResourceFactoryDataLoaderShape<T> | AsyncDataLoaderShape<T>;
|
|
49
52
|
export interface IncrementalLoaderShape<T> {
|
|
50
53
|
source?: DataSource<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/loading/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,qBAAqB,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,CAAC;AAElE,KAAK,uBAAuB,CAAC,CAAC,IAAI,cAAc,CAC9C,CAAC,EACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,OAAO,EAAE,CAAA;CAAE,CACxC,C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AAU,CAAC,CAAC,IACpB,qBAAqB,CAAC,CAAC,CAAC,GACxB,oBAAoB,CAAC,CAAC,CAAC,GACvB,mCAAmC,CAAC,CAAC,CAAC,GACtC,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAE5B,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B"}
|
|
@@ -5,6 +5,7 @@ interface SearchFieldRenderProps extends SupportedSearchFieldProps {
|
|
|
5
5
|
onChange: (value: SearchValue) => unknown;
|
|
6
6
|
value: SearchValue;
|
|
7
7
|
autoSubmit?: boolean;
|
|
8
|
+
isDisabled?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export type SearchFieldRenderComponent = ComponentType<SearchFieldRenderProps>;
|
|
10
11
|
export type SearchValue = string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/search/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,KAAK,yBAAyB,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;AAErE,UAAU,sBAAuB,SAAQ,yBAAyB;IAChE,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC;IAC1C,KAAK,EAAE,WAAW,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,0BAA0B,GAAG,aAAa,CAAC,sBAAsB,CAAC,CAAC;AAE/E,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC;AAE7C,MAAM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