@procore/saved-views 1.0.1-estimatingFork.6.3 → 1.0.1-estimatingFork.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/legacy/index.d.mts +4 -4
- package/dist/legacy/index.d.ts +4 -4
- package/dist/legacy/index.js +2019 -2518
- package/dist/legacy/index.mjs +1993 -2493
- package/dist/modern/index.d.mts +4 -4
- package/dist/modern/index.d.ts +4 -4
- package/dist/modern/index.js +2016 -2518
- package/dist/modern/index.mjs +1990 -2493
- package/package.json +6 -6
package/dist/modern/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Locale
|
|
1
|
+
import { Locale } from '@procore/globalization-toolkit';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { DataTableConfig, TableApi, ColumnDefinition } from '@procore/data-table';
|
|
@@ -8,7 +8,7 @@ import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
|
8
8
|
import * as _procore_core_react from '@procore/core-react';
|
|
9
9
|
import { UseQueryResult, UseMutationResult } from '@tanstack/react-query';
|
|
10
10
|
|
|
11
|
-
declare function getTranslations(envLocale: Locale):
|
|
11
|
+
declare function getTranslations(envLocale: Locale): Record<string, object>;
|
|
12
12
|
|
|
13
13
|
declare const useSavedViewsPanel: (domain: string, tableName: string) => {
|
|
14
14
|
isOpen: boolean;
|
|
@@ -101,7 +101,7 @@ interface ISavedViewsProps extends Omit<IBaseSavedViewsProps, 'stickyViewsKey'>
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
interface IDataTableSavedViewsExternalConsumerProps extends IBaseSavedViewsProps {
|
|
104
|
-
tableApi
|
|
104
|
+
tableApi?: TableApi;
|
|
105
105
|
defaultViews: IDataTableDefaultViewConfig[];
|
|
106
106
|
columnDefinitions: ColumnDefinition[];
|
|
107
107
|
}
|
|
@@ -219,4 +219,4 @@ interface IDataTableSavedViewsRef {
|
|
|
219
219
|
}
|
|
220
220
|
declare const DataTableSavedViews: React__default.ForwardRefExoticComponent<IDataTableSavedViewsExternalConsumerProps & React__default.RefAttributes<IDataTableSavedViewsRef>>;
|
|
221
221
|
|
|
222
|
-
export { DataTableSavedViews, ExpandedPanel, FormModal, IDataTableDefaultViewConfig, IDataTableSavedViewsRef, ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|
|
222
|
+
export { DataTableSavedViews, ExpandedPanel, FormModal, type IDataTableDefaultViewConfig, type IDataTableSavedViewsRef, type ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|
package/dist/modern/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Locale
|
|
1
|
+
import { Locale } from '@procore/globalization-toolkit';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { DataTableConfig, TableApi, ColumnDefinition } from '@procore/data-table';
|
|
@@ -8,7 +8,7 @@ import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
|
8
8
|
import * as _procore_core_react from '@procore/core-react';
|
|
9
9
|
import { UseQueryResult, UseMutationResult } from '@tanstack/react-query';
|
|
10
10
|
|
|
11
|
-
declare function getTranslations(envLocale: Locale):
|
|
11
|
+
declare function getTranslations(envLocale: Locale): Record<string, object>;
|
|
12
12
|
|
|
13
13
|
declare const useSavedViewsPanel: (domain: string, tableName: string) => {
|
|
14
14
|
isOpen: boolean;
|
|
@@ -101,7 +101,7 @@ interface ISavedViewsProps extends Omit<IBaseSavedViewsProps, 'stickyViewsKey'>
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
interface IDataTableSavedViewsExternalConsumerProps extends IBaseSavedViewsProps {
|
|
104
|
-
tableApi
|
|
104
|
+
tableApi?: TableApi;
|
|
105
105
|
defaultViews: IDataTableDefaultViewConfig[];
|
|
106
106
|
columnDefinitions: ColumnDefinition[];
|
|
107
107
|
}
|
|
@@ -219,4 +219,4 @@ interface IDataTableSavedViewsRef {
|
|
|
219
219
|
}
|
|
220
220
|
declare const DataTableSavedViews: React__default.ForwardRefExoticComponent<IDataTableSavedViewsExternalConsumerProps & React__default.RefAttributes<IDataTableSavedViewsRef>>;
|
|
221
221
|
|
|
222
|
-
export { DataTableSavedViews, ExpandedPanel, FormModal, IDataTableDefaultViewConfig, IDataTableSavedViewsRef, ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|
|
222
|
+
export { DataTableSavedViews, ExpandedPanel, FormModal, type IDataTableDefaultViewConfig, type IDataTableSavedViewsRef, type ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|