@procore/saved-views 1.0.1-estimatingFork.6.1 → 1.0.1-estimatingFork.6.2
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 +3 -0
- package/dist/legacy/index.d.ts +3 -0
- package/dist/legacy/index.js +4 -2
- package/dist/legacy/index.mjs +4 -2
- package/dist/modern/index.d.mts +3 -0
- package/dist/modern/index.d.ts +3 -0
- package/dist/modern/index.js +4 -2
- package/dist/modern/index.mjs +4 -2
- package/package.json +1 -1
package/dist/legacy/index.d.mts
CHANGED
|
@@ -31,6 +31,9 @@ interface ISmartGridConfig {
|
|
|
31
31
|
rowGroupState: string[];
|
|
32
32
|
rowHeight: number | undefined;
|
|
33
33
|
filterState: FilterModel;
|
|
34
|
+
enableRowGrouping?: boolean;
|
|
35
|
+
enableColumnGrouping?: boolean;
|
|
36
|
+
enableSplitAssembliesForDynamicGrouping?: boolean;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare const PROJECT_LEVEL_TOOL_VIEW_LEVELS: readonly ["company", "project", "personal"];
|
package/dist/legacy/index.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ interface ISmartGridConfig {
|
|
|
31
31
|
rowGroupState: string[];
|
|
32
32
|
rowHeight: number | undefined;
|
|
33
33
|
filterState: FilterModel;
|
|
34
|
+
enableRowGrouping?: boolean;
|
|
35
|
+
enableColumnGrouping?: boolean;
|
|
36
|
+
enableSplitAssembliesForDynamicGrouping?: boolean;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare const PROJECT_LEVEL_TOOL_VIEW_LEVELS: readonly ["company", "project", "personal"];
|
package/dist/legacy/index.js
CHANGED
|
@@ -9892,7 +9892,6 @@ var PanelContent = (props) => {
|
|
|
9892
9892
|
updateSavedView(newSavedView, {
|
|
9893
9893
|
onSuccess: () => {
|
|
9894
9894
|
showToast.success(I18n.t("savedViews.update.success"));
|
|
9895
|
-
props.onSelect({ item: newSavedView });
|
|
9896
9895
|
},
|
|
9897
9896
|
onError: () => {
|
|
9898
9897
|
showToast.error(I18n.t("savedViews.errors.update"));
|
|
@@ -11057,7 +11056,10 @@ var extractDefaultView = (gridApi, receivedConfig) => {
|
|
|
11057
11056
|
columnGroupState: (receivedConfig == null ? void 0 : receivedConfig.columnGroupState) ?? [],
|
|
11058
11057
|
rowGroupState: (receivedConfig == null ? void 0 : receivedConfig.rowGroupState) ?? [],
|
|
11059
11058
|
filterState: (receivedConfig == null ? void 0 : receivedConfig.filterState) ?? {},
|
|
11060
|
-
rowHeight: (receivedConfig == null ? void 0 : receivedConfig.rowHeight) ?? ((_b = gridApi.getSizesForCurrentTheme()) == null ? void 0 : _b.rowHeight)
|
|
11059
|
+
rowHeight: (receivedConfig == null ? void 0 : receivedConfig.rowHeight) ?? ((_b = gridApi.getSizesForCurrentTheme()) == null ? void 0 : _b.rowHeight),
|
|
11060
|
+
enableRowGrouping: receivedConfig == null ? void 0 : receivedConfig.enableRowGrouping,
|
|
11061
|
+
enableColumnGrouping: receivedConfig == null ? void 0 : receivedConfig.enableColumnGrouping,
|
|
11062
|
+
enableSplitAssembliesForDynamicGrouping: receivedConfig == null ? void 0 : receivedConfig.enableSplitAssembliesForDynamicGrouping
|
|
11061
11063
|
};
|
|
11062
11064
|
return result;
|
|
11063
11065
|
};
|
package/dist/legacy/index.mjs
CHANGED
|
@@ -9896,7 +9896,6 @@ var PanelContent = (props) => {
|
|
|
9896
9896
|
updateSavedView(newSavedView, {
|
|
9897
9897
|
onSuccess: () => {
|
|
9898
9898
|
showToast.success(I18n.t("savedViews.update.success"));
|
|
9899
|
-
props.onSelect({ item: newSavedView });
|
|
9900
9899
|
},
|
|
9901
9900
|
onError: () => {
|
|
9902
9901
|
showToast.error(I18n.t("savedViews.errors.update"));
|
|
@@ -11097,7 +11096,10 @@ var extractDefaultView = (gridApi, receivedConfig) => {
|
|
|
11097
11096
|
columnGroupState: (receivedConfig == null ? void 0 : receivedConfig.columnGroupState) ?? [],
|
|
11098
11097
|
rowGroupState: (receivedConfig == null ? void 0 : receivedConfig.rowGroupState) ?? [],
|
|
11099
11098
|
filterState: (receivedConfig == null ? void 0 : receivedConfig.filterState) ?? {},
|
|
11100
|
-
rowHeight: (receivedConfig == null ? void 0 : receivedConfig.rowHeight) ?? ((_b = gridApi.getSizesForCurrentTheme()) == null ? void 0 : _b.rowHeight)
|
|
11099
|
+
rowHeight: (receivedConfig == null ? void 0 : receivedConfig.rowHeight) ?? ((_b = gridApi.getSizesForCurrentTheme()) == null ? void 0 : _b.rowHeight),
|
|
11100
|
+
enableRowGrouping: receivedConfig == null ? void 0 : receivedConfig.enableRowGrouping,
|
|
11101
|
+
enableColumnGrouping: receivedConfig == null ? void 0 : receivedConfig.enableColumnGrouping,
|
|
11102
|
+
enableSplitAssembliesForDynamicGrouping: receivedConfig == null ? void 0 : receivedConfig.enableSplitAssembliesForDynamicGrouping
|
|
11101
11103
|
};
|
|
11102
11104
|
return result;
|
|
11103
11105
|
};
|
package/dist/modern/index.d.mts
CHANGED
|
@@ -31,6 +31,9 @@ interface ISmartGridConfig {
|
|
|
31
31
|
rowGroupState: string[];
|
|
32
32
|
rowHeight: number | undefined;
|
|
33
33
|
filterState: FilterModel;
|
|
34
|
+
enableRowGrouping?: boolean;
|
|
35
|
+
enableColumnGrouping?: boolean;
|
|
36
|
+
enableSplitAssembliesForDynamicGrouping?: boolean;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare const PROJECT_LEVEL_TOOL_VIEW_LEVELS: readonly ["company", "project", "personal"];
|
package/dist/modern/index.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ interface ISmartGridConfig {
|
|
|
31
31
|
rowGroupState: string[];
|
|
32
32
|
rowHeight: number | undefined;
|
|
33
33
|
filterState: FilterModel;
|
|
34
|
+
enableRowGrouping?: boolean;
|
|
35
|
+
enableColumnGrouping?: boolean;
|
|
36
|
+
enableSplitAssembliesForDynamicGrouping?: boolean;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare const PROJECT_LEVEL_TOOL_VIEW_LEVELS: readonly ["company", "project", "personal"];
|
package/dist/modern/index.js
CHANGED
|
@@ -9889,7 +9889,6 @@ var PanelContent = (props) => {
|
|
|
9889
9889
|
updateSavedView(newSavedView, {
|
|
9890
9890
|
onSuccess: () => {
|
|
9891
9891
|
showToast.success(I18n.t("savedViews.update.success"));
|
|
9892
|
-
props.onSelect({ item: newSavedView });
|
|
9893
9892
|
},
|
|
9894
9893
|
onError: () => {
|
|
9895
9894
|
showToast.error(I18n.t("savedViews.errors.update"));
|
|
@@ -11052,7 +11051,10 @@ var extractDefaultView = (gridApi, receivedConfig) => {
|
|
|
11052
11051
|
columnGroupState: receivedConfig?.columnGroupState ?? [],
|
|
11053
11052
|
rowGroupState: receivedConfig?.rowGroupState ?? [],
|
|
11054
11053
|
filterState: receivedConfig?.filterState ?? {},
|
|
11055
|
-
rowHeight: receivedConfig?.rowHeight ?? gridApi.getSizesForCurrentTheme()?.rowHeight
|
|
11054
|
+
rowHeight: receivedConfig?.rowHeight ?? gridApi.getSizesForCurrentTheme()?.rowHeight,
|
|
11055
|
+
enableRowGrouping: receivedConfig?.enableRowGrouping,
|
|
11056
|
+
enableColumnGrouping: receivedConfig?.enableColumnGrouping,
|
|
11057
|
+
enableSplitAssembliesForDynamicGrouping: receivedConfig?.enableSplitAssembliesForDynamicGrouping
|
|
11056
11058
|
};
|
|
11057
11059
|
return result;
|
|
11058
11060
|
};
|
package/dist/modern/index.mjs
CHANGED
|
@@ -9893,7 +9893,6 @@ var PanelContent = (props) => {
|
|
|
9893
9893
|
updateSavedView(newSavedView, {
|
|
9894
9894
|
onSuccess: () => {
|
|
9895
9895
|
showToast.success(I18n.t("savedViews.update.success"));
|
|
9896
|
-
props.onSelect({ item: newSavedView });
|
|
9897
9896
|
},
|
|
9898
9897
|
onError: () => {
|
|
9899
9898
|
showToast.error(I18n.t("savedViews.errors.update"));
|
|
@@ -11092,7 +11091,10 @@ var extractDefaultView = (gridApi, receivedConfig) => {
|
|
|
11092
11091
|
columnGroupState: receivedConfig?.columnGroupState ?? [],
|
|
11093
11092
|
rowGroupState: receivedConfig?.rowGroupState ?? [],
|
|
11094
11093
|
filterState: receivedConfig?.filterState ?? {},
|
|
11095
|
-
rowHeight: receivedConfig?.rowHeight ?? gridApi.getSizesForCurrentTheme()?.rowHeight
|
|
11094
|
+
rowHeight: receivedConfig?.rowHeight ?? gridApi.getSizesForCurrentTheme()?.rowHeight,
|
|
11095
|
+
enableRowGrouping: receivedConfig?.enableRowGrouping,
|
|
11096
|
+
enableColumnGrouping: receivedConfig?.enableColumnGrouping,
|
|
11097
|
+
enableSplitAssembliesForDynamicGrouping: receivedConfig?.enableSplitAssembliesForDynamicGrouping
|
|
11096
11098
|
};
|
|
11097
11099
|
return result;
|
|
11098
11100
|
};
|