@mikezimm/fps-core-v7 1.0.104 → 1.0.106
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/lib/PackageVersion.d.ts.map +1 -1
- package/lib/PackageVersion.js +3 -3
- package/lib/PackageVersion.js.map +1 -1
- package/lib/restAPIs/sites/nav/getFullNavHierarchy.d.ts +17 -0
- package/lib/restAPIs/sites/nav/getFullNavHierarchy.d.ts.map +1 -0
- package/lib/restAPIs/sites/nav/getFullNavHierarchy.js +64 -0
- package/lib/restAPIs/sites/nav/getFullNavHierarchy.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/ICellStyleProps.d.ts +15 -0
- package/lib/types/spfxControlsReact/@3.12.0/ICellStyleProps.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/ICellStyleProps.js +8 -0
- package/lib/types/spfxControlsReact/@3.12.0/ICellStyleProps.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailListTypes.d.ts +444 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailListTypes.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailListTypes.js +49 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailListTypes.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailRowTypes.d.ts +198 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailRowTypes.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailRowTypes.js +8 -0
- package/lib/types/spfxControlsReact/@3.12.0/IDetailRowTypes.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IGroup.d.ts +143 -0
- package/lib/types/spfxControlsReact/@3.12.0/IGroup.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IGroup.js +8 -0
- package/lib/types/spfxControlsReact/@3.12.0/IGroup.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListProps.d.ts +142 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListProps.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListProps.js +8 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListProps.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListView.d.ts +138 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListView.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListView.js +11 -0
- package/lib/types/spfxControlsReact/@3.12.0/IListView.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IViewPort.d.ts +22 -0
- package/lib/types/spfxControlsReact/@3.12.0/IViewPort.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/IViewPort.js +8 -0
- package/lib/types/spfxControlsReact/@3.12.0/IViewPort.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/SelectionMode.d.ts +9 -0
- package/lib/types/spfxControlsReact/@3.12.0/SelectionMode.d.ts.map +1 -0
- package/lib/types/spfxControlsReact/@3.12.0/SelectionMode.js +2 -0
- package/lib/types/spfxControlsReact/@3.12.0/SelectionMode.js.map +1 -0
- package/lib/types/spfxControlsReact/@3.7.2/IViewField.d.ts +3 -0
- package/lib/types/spfxControlsReact/@3.7.2/IViewField.d.ts.map +1 -1
- package/lib/types/spfxControlsReact/@3.7.2/IViewField.js +3 -0
- package/lib/types/spfxControlsReact/@3.7.2/IViewField.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageVersion.d.ts","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,EAAE,MAAsB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAE,MAAkB,CAAC;AACtD,eAAO,MAAM,yBAAyB,EAAE,MAA8B,CAAC;AACvE,eAAO,MAAM,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"PackageVersion.d.ts","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,EAAE,MAAsB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAE,MAAkB,CAAC;AACtD,eAAO,MAAM,yBAAyB,EAAE,MAA8B,CAAC;AACvE,eAAO,MAAM,wBAAwB,EAAE,MAAmC,CAAC"}
|
package/lib/PackageVersion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const PackageNameFpsCv7 = 'fps-core-v7';
|
|
2
|
-
export const PackageVersionFpsCv7 = '1.0.
|
|
3
|
-
export const PackageVersionLabelFpsCv7 = 'fps-core-v7@1.0.
|
|
4
|
-
export const PackageVersionTimeFpsCv7 = '
|
|
2
|
+
export const PackageVersionFpsCv7 = '1.0.106';
|
|
3
|
+
export const PackageVersionLabelFpsCv7 = 'fps-core-v7@1.0.106';
|
|
4
|
+
export const PackageVersionTimeFpsCv7 = '2/9/2025, 2:46:47 AM EST';
|
|
5
5
|
//# sourceMappingURL=PackageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageVersion.js","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAW,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAW,SAAS,CAAC;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAW,qBAAqB,CAAC;AACvE,MAAM,CAAC,MAAM,wBAAwB,GAAW,
|
|
1
|
+
{"version":3,"file":"PackageVersion.js","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAW,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAW,SAAS,CAAC;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAW,qBAAqB,CAAC;AACvE,MAAM,CAAC,MAAM,wBAAwB,GAAW,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps';
|
|
2
|
+
import { IFpsNavLinksReturn } from '../../../types/fps-returns/sites/nav/INavigationLink';
|
|
3
|
+
import { IJSFetchMethodNoPUT } from '../../../components/molecules/SpHttp/interfaces/IJSFetchReturn';
|
|
4
|
+
import { IPnpNavType } from '../../../types/fps-returns/sites/nav/IPnpNavType';
|
|
5
|
+
/**
|
|
6
|
+
* Can be used instead of getOrAddWebNavAPI to get all levels of the nav heirarchy for non-hub nav like TopLinks and QuickLaunch
|
|
7
|
+
*
|
|
8
|
+
* @param sourceProps
|
|
9
|
+
* @param method
|
|
10
|
+
* @param location
|
|
11
|
+
* @param alertMe
|
|
12
|
+
* @param consoleLog
|
|
13
|
+
* @param maxDepth
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function getFullNavHierarchy(sourceProps: ISourceProps, method: IJSFetchMethodNoPUT, location: IPnpNavType, alertMe: boolean | undefined, consoleLog: boolean | undefined, maxDepth?: number): Promise<IFpsNavLinksReturn>;
|
|
17
|
+
//# sourceMappingURL=getFullNavHierarchy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFullNavHierarchy.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/sites/nav/getFullNavHierarchy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAkB,MAAM,sDAAsD,CAAC;AAE1G,OAAO,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAK/E;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,QAAQ,GAAE,MAAU,GACnB,OAAO,CAAC,kBAAkB,CAAC,CA4D7B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { getOrAddWebNavAPI } from './getOrAddWebNavAPI';
|
|
2
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from '../../../components/molecules/Performance/functions';
|
|
3
|
+
/**
|
|
4
|
+
* Can be used instead of getOrAddWebNavAPI to get all levels of the nav heirarchy for non-hub nav like TopLinks and QuickLaunch
|
|
5
|
+
*
|
|
6
|
+
* @param sourceProps
|
|
7
|
+
* @param method
|
|
8
|
+
* @param location
|
|
9
|
+
* @param alertMe
|
|
10
|
+
* @param consoleLog
|
|
11
|
+
* @param maxDepth
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export async function getFullNavHierarchy(sourceProps, method, location, alertMe, consoleLog, maxDepth = 3) {
|
|
15
|
+
/**
|
|
16
|
+
* Flattens a two-dimensional array into a one-dimensional array.
|
|
17
|
+
* @param arr - The nested array to flatten.
|
|
18
|
+
* @returns A flattened array containing all elements.
|
|
19
|
+
*/
|
|
20
|
+
function flattenArray(arr) {
|
|
21
|
+
return arr.reduce((acc, val) => acc.concat(val), []);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Recursively fetches navigation items up to the specified depth.
|
|
25
|
+
* @param parentNodeId - The ID of the parent node whose children should be fetched.
|
|
26
|
+
* @param depth - The current depth level in the hierarchy.
|
|
27
|
+
* @returns A promise resolving to an array of navigation links.
|
|
28
|
+
*/
|
|
29
|
+
async function fetchNavLevel(parentNodeId, depth) {
|
|
30
|
+
if (depth > maxDepth)
|
|
31
|
+
return [];
|
|
32
|
+
const result = await getOrAddWebNavAPI(sourceProps, method, location, alertMe, consoleLog, null, parentNodeId);
|
|
33
|
+
const navItems = result.navItem;
|
|
34
|
+
// If there are no children or the max depth is reached, return the fetched items
|
|
35
|
+
if (navItems.length === 0 || depth === maxDepth) {
|
|
36
|
+
return navItems;
|
|
37
|
+
}
|
|
38
|
+
// Recursively fetch children for each navigation item
|
|
39
|
+
const childFetches = navItems.map(async (item) => {
|
|
40
|
+
const children = await fetchNavLevel(item.Id, depth + 1);
|
|
41
|
+
return [item, ...children];
|
|
42
|
+
});
|
|
43
|
+
// Resolve all child fetches concurrently
|
|
44
|
+
const resolvedChildren = await Promise.all(childFetches);
|
|
45
|
+
return flattenArray(resolvedChildren);
|
|
46
|
+
}
|
|
47
|
+
const performanceSettings = { label: 'FetchCheck', includeMsStr: true, updateMiliseconds: true, op: 'fetch' };
|
|
48
|
+
const fetchOp = startPerformOpV2(performanceSettings);
|
|
49
|
+
// Fetch the initial set of top-level navigation items (parentNodeId is null)
|
|
50
|
+
const initialResult = await getOrAddWebNavAPI(sourceProps, method, location, alertMe, consoleLog, null);
|
|
51
|
+
// Fetch the first level of children concurrently
|
|
52
|
+
const childFetches = initialResult.navItem.map(async (item) => {
|
|
53
|
+
const children = await fetchNavLevel(item.Id, 2);
|
|
54
|
+
return [item, ...children];
|
|
55
|
+
});
|
|
56
|
+
// Resolve all child fetches and merge them into a single array
|
|
57
|
+
const resolvedChildren = await Promise.all(childFetches);
|
|
58
|
+
const mergedNavItems = flattenArray(resolvedChildren);
|
|
59
|
+
initialResult.unifiedPerformanceOps.fetch = updatePerformanceEndV2({ op: fetchOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: mergedNavItems.length });
|
|
60
|
+
initialResult.fetchOp = initialResult.unifiedPerformanceOps.fetch;
|
|
61
|
+
// Return the original response structure, but with the fully resolved navigation items
|
|
62
|
+
return { ...initialResult, navItem: mergedNavItems, items: mergedNavItems };
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=getFullNavHierarchy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFullNavHierarchy.js","sourceRoot":"","sources":["../../../../src/restAPIs/sites/nav/getFullNavHierarchy.ts"],"names":[],"mappings":"AAMA,OAAO,EAA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+
/**
|
|
2
|
+
* 2025-02-09: This interface was migrated from: "@pnp/spfx-controls-react": "^3.12.0"
|
|
3
|
+
* node_modules\office-ui-fabric-react\lib\components\DetailsList\DetailsRow.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* {@docCategory DetailsList}
|
|
9
|
+
*/
|
|
10
|
+
export interface ICellStyleProps {
|
|
11
|
+
cellLeftPadding: number;
|
|
12
|
+
cellRightPadding: number;
|
|
13
|
+
cellExtraRightPadding: number;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ICellStyleProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICellStyleProps.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/ICellStyleProps.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2025-02-09: This interface was migrated from: "@pnp/spfx-controls-react": "^3.12.0"
|
|
3
|
+
* node_modules\office-ui-fabric-react\lib\components\DetailsList\DetailsRow.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ICellStyleProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICellStyleProps.js","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/ICellStyleProps.ts"],"names":[],"mappings":"AACA;;;;;GAKG"}
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2025-02-09: This interface was migrated from: "@pnp/spfx-controls-react": "^3.12.0"
|
|
3
|
+
* node_modules\office-ui-fabric-react\lib\components\DetailsList\DetailsList.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
import { ITheme } from "../../@fluentUI/@7.199.1/ITheme";
|
|
8
|
+
import { IReactCSSProperties } from "../../react/IReactCSSTypes";
|
|
9
|
+
import { IMinReactMouseEvent } from "../../react/IReactEvents";
|
|
10
|
+
import { ICellStyleProps } from "./ICellStyleProps";
|
|
11
|
+
import { IDetailsRowProps, ISelection } from "./IDetailRowTypes";
|
|
12
|
+
import { IGroup, IGroupedListProps } from "./IGroup";
|
|
13
|
+
import { IListProps, IRenderFunction } from "./IListProps";
|
|
14
|
+
import { IViewport } from "./IViewPort";
|
|
15
|
+
import { SelectionMode } from "./SelectionMode";
|
|
16
|
+
/**
|
|
17
|
+
* {@docCategory DetailsList}
|
|
18
|
+
*/
|
|
19
|
+
export interface IDetailsListProps {
|
|
20
|
+
/** Theme provided by a higher-order component. */
|
|
21
|
+
theme?: ITheme;
|
|
22
|
+
/** Custom overrides to the themed or default styles. */
|
|
23
|
+
styles?: IReactCSSProperties;
|
|
24
|
+
/**
|
|
25
|
+
* Callback to access the IDetailsList interface. Use this instead of ref for accessing
|
|
26
|
+
* the public methods and properties of the component.
|
|
27
|
+
*/
|
|
28
|
+
componentRef?: any;
|
|
29
|
+
/** A key that uniquely identifies the given items. If provided, the selection will be reset when the key changes. */
|
|
30
|
+
setKey?: string;
|
|
31
|
+
/** The items to render. */
|
|
32
|
+
items: any[];
|
|
33
|
+
/** Set this to true to indicate that the items being displayed are placeholder data. */
|
|
34
|
+
isPlaceholderData?: boolean;
|
|
35
|
+
/** Properties to pass through to the List components being rendered. */
|
|
36
|
+
listProps?: IListProps;
|
|
37
|
+
/** Default index to set focus to once the items have rendered and the index exists. */
|
|
38
|
+
initialFocusedIndex?: number;
|
|
39
|
+
/** Class name to add to the root element. */
|
|
40
|
+
className?: string;
|
|
41
|
+
/** Grouping instructions. */
|
|
42
|
+
groups?: IGroup[];
|
|
43
|
+
/** Override properties to render groups. */
|
|
44
|
+
groupProps?: any;
|
|
45
|
+
/** Override for the indent width used for group nesting. */
|
|
46
|
+
indentWidth?: number;
|
|
47
|
+
/** Selection model to track selection state. */
|
|
48
|
+
selection?: ISelection;
|
|
49
|
+
/** Controls how/if the details list manages selection. Options include none, single, multiple */
|
|
50
|
+
selectionMode?: SelectionMode;
|
|
51
|
+
/**
|
|
52
|
+
* By default, selection is cleared when clicking on an empty (non-focusable) section of the screen.
|
|
53
|
+
* Setting this value to true overrides that behavior and maintains selection.
|
|
54
|
+
* @defaultvalue false
|
|
55
|
+
**/
|
|
56
|
+
selectionPreservedOnEmptyClick?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Additional props to pass through to the SelectionZone created by default.
|
|
59
|
+
*/
|
|
60
|
+
selectionZoneProps?: any;
|
|
61
|
+
/** Controls how the columns are adjusted. */
|
|
62
|
+
layoutMode?: DetailsListLayoutMode;
|
|
63
|
+
/**
|
|
64
|
+
* Controls the visibility of selection check box.
|
|
65
|
+
* @defaultvalue CheckboxVisibility.onHover
|
|
66
|
+
*/
|
|
67
|
+
checkboxVisibility?: CheckboxVisibility;
|
|
68
|
+
/**
|
|
69
|
+
* Controls the visibility of the header.
|
|
70
|
+
* @defaultvalue true
|
|
71
|
+
*/
|
|
72
|
+
isHeaderVisible?: boolean;
|
|
73
|
+
/** column defitions. If none are provided, default columns will be created based on the items' properties. */
|
|
74
|
+
columns?: IColumn[];
|
|
75
|
+
/** Controls how the list contrains overflow. */
|
|
76
|
+
/**
|
|
77
|
+
* Callback for when a given row has been mounted. Useful for identifying when a row has been rendered on the page.
|
|
78
|
+
*/
|
|
79
|
+
onRowDidMount?: (item?: any, index?: number) => void;
|
|
80
|
+
/**
|
|
81
|
+
* Callback for when a given row has been unmounted.
|
|
82
|
+
* Useful for identifying when a row has been removed from the page.
|
|
83
|
+
*/
|
|
84
|
+
onRowWillUnmount?: (item?: any, index?: number) => void;
|
|
85
|
+
/** Callback for when the user clicks on the column header. */
|
|
86
|
+
onColumnHeaderClick?: (ev?: IMinReactMouseEvent<HTMLElement>, column?: IColumn) => void;
|
|
87
|
+
/** Callback for when the user asks for a contextual menu (usually via right click) from a column header. */
|
|
88
|
+
onColumnHeaderContextMenu?: (column?: IColumn, ev?: IMinReactMouseEvent<HTMLElement>) => void;
|
|
89
|
+
/** Callback fired on column resize */
|
|
90
|
+
onColumnResize?: (column?: IColumn, newWidth?: number, columnIndex?: number) => void;
|
|
91
|
+
/** Callback for when a given row has been invoked (by pressing enter while it is selected.) */
|
|
92
|
+
onItemInvoked?: (item?: any, index?: number, ev?: Event) => void;
|
|
93
|
+
/**
|
|
94
|
+
* Callback for when the context menu of an item has been accessed.
|
|
95
|
+
* If undefined or false is returned, `ev.preventDefault()` will be called.
|
|
96
|
+
*/
|
|
97
|
+
onItemContextMenu?: (item?: any, index?: number, ev?: Event) => void | boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Callback to override the default row rendering.
|
|
100
|
+
*/
|
|
101
|
+
onRenderRow?: IRenderFunction<IDetailsRowProps>;
|
|
102
|
+
/**
|
|
103
|
+
* If provided, will be the "default" item column renderer method.
|
|
104
|
+
* This affects cells within the rows, not the rows themselves.
|
|
105
|
+
* If a column definition provides its own `onRender` method, that will be used instead of this.
|
|
106
|
+
*/
|
|
107
|
+
onRenderItemColumn?: (item?: any, index?: number, column?: IColumn) => any;
|
|
108
|
+
/**
|
|
109
|
+
* If provided, will be the "default" item column cell value return.
|
|
110
|
+
* A column's `getValueKey` can override `getCellValueKey`.
|
|
111
|
+
*/
|
|
112
|
+
getCellValueKey?: (item?: any, index?: number, column?: IColumn) => string;
|
|
113
|
+
/** Map of callback functions related to row drag and drop functionality. */
|
|
114
|
+
/** Callback for what to render when the item is missing. */
|
|
115
|
+
/** An override to render the details header. */
|
|
116
|
+
/** An override to render the details footer. */
|
|
117
|
+
/** If provided, can be used to render a custom checkbox. */
|
|
118
|
+
/** Viewport info, provided by the `withViewport` decorator. */
|
|
119
|
+
viewport?: IViewport;
|
|
120
|
+
/**
|
|
121
|
+
* Callback for when an item in the list becomes active by clicking anywhere inside the row or navigating to it
|
|
122
|
+
* with the keyboard.
|
|
123
|
+
*/
|
|
124
|
+
onActiveItemChanged?: (item?: any, index?: number, ev?: any) => void;
|
|
125
|
+
/** Accessible label for the list header. */
|
|
126
|
+
ariaLabelForListHeader?: string;
|
|
127
|
+
/** Accessible label for the select all checkbox. */
|
|
128
|
+
ariaLabelForSelectAllCheckbox?: string;
|
|
129
|
+
/** Accessible label for the name of the selection column. */
|
|
130
|
+
ariaLabelForSelectionColumn?: string;
|
|
131
|
+
/** Callback to get the aria-label string for a given item. */
|
|
132
|
+
getRowAriaLabel?: (item: any) => string;
|
|
133
|
+
/** Callback to get the aria-describedby IDs (space-separated strings) of elements that describe the item. */
|
|
134
|
+
getRowAriaDescribedBy?: (item: any) => string;
|
|
135
|
+
/**
|
|
136
|
+
* Callback to get the item key, to be used in the selection and on render.
|
|
137
|
+
* Must be provided if sorting or filtering is enabled.
|
|
138
|
+
*/
|
|
139
|
+
getKey?: (item: any, index?: number) => string;
|
|
140
|
+
/** Accessible label describing or summarizing the list. */
|
|
141
|
+
ariaLabel?: string;
|
|
142
|
+
/** Accessible label for the row check button, e.g. "select row" */
|
|
143
|
+
checkButtonAriaLabel?: string;
|
|
144
|
+
/** Accessible label for the group header check button, e.g. "select section". */
|
|
145
|
+
checkButtonGroupAriaLabel?: string;
|
|
146
|
+
/** Accessible label for the grid within the list. */
|
|
147
|
+
ariaLabelForGrid?: string;
|
|
148
|
+
/** An optional margin for proportional columns, to e.g. account for scrollbars when laying out width. */
|
|
149
|
+
flexMargin?: number;
|
|
150
|
+
/**
|
|
151
|
+
* Whether the role `application` should be applied to the list.
|
|
152
|
+
* @defaultvalue false
|
|
153
|
+
*/
|
|
154
|
+
shouldApplyApplicationRole?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* The minimum mouse move distance to interpret the action as drag event.
|
|
157
|
+
* @defaultvalue 5
|
|
158
|
+
*/
|
|
159
|
+
minimumPixelsForDrag?: number;
|
|
160
|
+
/**
|
|
161
|
+
* Whether to render in compact mode.
|
|
162
|
+
* @defaultvalue false
|
|
163
|
+
*/
|
|
164
|
+
compact?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Whether to enable render page caching. This is an experimental performance optimization that is off by default.
|
|
167
|
+
* @defaultvalue false
|
|
168
|
+
*/
|
|
169
|
+
usePageCache?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Callback to determine whether the list should be rendered in full, or virtualized.
|
|
172
|
+
*
|
|
173
|
+
* Virtualization will add and remove pages of items as the user scrolls them into the visible range.
|
|
174
|
+
* This benefits larger list scenarios by reducing the DOM on the screen, but can negatively affect performance
|
|
175
|
+
* for smaller lists.
|
|
176
|
+
*
|
|
177
|
+
* The default implementation will virtualize when this callback is not provided.
|
|
178
|
+
*/
|
|
179
|
+
onShouldVirtualize?: (props: IListProps) => boolean;
|
|
180
|
+
/** Class name to add to the cell of a checkbox. */
|
|
181
|
+
checkboxCellClassName?: string;
|
|
182
|
+
/** Whether the selection zone should enter modal state on touch. */
|
|
183
|
+
enterModalSelectionOnTouch?: boolean;
|
|
184
|
+
/** Options for column reordering using drag and drop. */
|
|
185
|
+
columnReorderOptions?: IColumnReorderOptions;
|
|
186
|
+
/** Callback to override default group height calculation used by list virtualization. */
|
|
187
|
+
getGroupHeight?: IGroupedListProps['getGroupHeight'];
|
|
188
|
+
/**
|
|
189
|
+
* Whether to re-render a row only when props changed. Might cause regression when depending on external updates.
|
|
190
|
+
* @defaultvalue false
|
|
191
|
+
*/
|
|
192
|
+
useReducedRowRenderer?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Props impacting the render style of cells. Since these have an impact on calculated column widths, they are
|
|
195
|
+
* handled separately from normal theme styling, but they are passed to the styling system.
|
|
196
|
+
*/
|
|
197
|
+
cellStyleProps?: ICellStyleProps;
|
|
198
|
+
/** Whether to disable the built-in SelectionZone, so the host component can provide its own. */
|
|
199
|
+
disableSelectionZone?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Determines if an item is selected on focus.
|
|
202
|
+
*
|
|
203
|
+
* @defaultvalue true
|
|
204
|
+
*/
|
|
205
|
+
isSelectedOnFocus?: boolean;
|
|
206
|
+
/** Whether to animate updates */
|
|
207
|
+
enableUpdateAnimations?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Whether to use fast icon and check components. The icons can't be targeted by customization
|
|
210
|
+
* but are still customizable via class names.
|
|
211
|
+
* @defaultvalue true
|
|
212
|
+
*/
|
|
213
|
+
useFastIcons?: boolean;
|
|
214
|
+
/** Role for the list. */
|
|
215
|
+
role?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* {@docCategory DetailsList}
|
|
219
|
+
*/
|
|
220
|
+
export declare enum DetailsListLayoutMode {
|
|
221
|
+
/**
|
|
222
|
+
* Lets the user resize columns and makes not attempt to fit them.
|
|
223
|
+
*/
|
|
224
|
+
fixedColumns = 0,
|
|
225
|
+
/**
|
|
226
|
+
* Manages which columns are visible, tries to size them according to their min/max rules and drops
|
|
227
|
+
* off columns that can't fit and have isCollapsible set.
|
|
228
|
+
*/
|
|
229
|
+
justified = 1
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* {@docCategory DetailsList}
|
|
233
|
+
*/
|
|
234
|
+
export declare enum CheckboxVisibility {
|
|
235
|
+
/** Visible on hover. */
|
|
236
|
+
onHover = 0,
|
|
237
|
+
/** Visible always. */
|
|
238
|
+
always = 1,
|
|
239
|
+
/** Hide checkboxes. */
|
|
240
|
+
hidden = 2
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Enum to describe how a particular column header behaves.
|
|
244
|
+
* This is used to to specify the property `IColumn.columnActionsMode`.
|
|
245
|
+
* If `IColumn.columnActionsMode` is undefined, it's equivalent to `ColumnActionsMode.clickable`.
|
|
246
|
+
* {@docCategory DetailsList}
|
|
247
|
+
*/
|
|
248
|
+
export declare enum ColumnActionsMode {
|
|
249
|
+
/** Renders the column header as disabled. */
|
|
250
|
+
disabled = 0,
|
|
251
|
+
/** Renders the column header as clickable. Default value. */
|
|
252
|
+
clickable = 1,
|
|
253
|
+
/** Renders the column header as clickable and displays the dropdown chevron. */
|
|
254
|
+
hasDropdown = 2
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* {@docCategory DetailsList}
|
|
258
|
+
*/
|
|
259
|
+
export interface IColumn {
|
|
260
|
+
/** A unique key for identifying the column. */
|
|
261
|
+
key: string;
|
|
262
|
+
/** Name to render on the column header. */
|
|
263
|
+
name: string;
|
|
264
|
+
/**
|
|
265
|
+
* The field to pull the text value from for the column.
|
|
266
|
+
* Can be unset if a custom `onRender` method is provided.
|
|
267
|
+
*/
|
|
268
|
+
fieldName?: string;
|
|
269
|
+
/**
|
|
270
|
+
* If specified, the width of the column is a portion of the available space equal to this value divided by the sum
|
|
271
|
+
* of all proportional column widths in the list. For example, if there is a list with two proportional columns that
|
|
272
|
+
* have widths of 1 and 3, they will respectively occupy (1/4) = 25% and (3/4) = 75% of the remaining space. Note that
|
|
273
|
+
* this relies on viewport measures and will not work well with skipViewportMeasures.
|
|
274
|
+
*/
|
|
275
|
+
flexGrow?: number;
|
|
276
|
+
/** Class name to apply to the column cell within each row. */
|
|
277
|
+
className?: string;
|
|
278
|
+
/** Custom overrides to the themed or default styles. */
|
|
279
|
+
styles?: IReactCSSProperties;
|
|
280
|
+
/** Minimum width for the column. */
|
|
281
|
+
minWidth: number;
|
|
282
|
+
/**
|
|
283
|
+
* If specified, the width of the column is a portion of the available space equal to this value divided by the sum
|
|
284
|
+
* of all proportional column widths in the list. For example, if there is a list with two proportional columns that
|
|
285
|
+
* have widths of 1 and 3, they will respectively occupy (1/4) = 25% and (2/4) = 75% of the remaining space. Note that
|
|
286
|
+
* this relies on viewport measures and will not work well with skipViewportMeasures.
|
|
287
|
+
*/
|
|
288
|
+
targetWidthProportion?: number;
|
|
289
|
+
/**
|
|
290
|
+
* Accessible label for the column. The column name will still be used as the primary label,
|
|
291
|
+
* but this text (if specified) will be read after the column name.
|
|
292
|
+
*/
|
|
293
|
+
ariaLabel?: string;
|
|
294
|
+
/** Whether the column is a header for the given row. There should be only one column with this set to true. */
|
|
295
|
+
isRowHeader?: boolean;
|
|
296
|
+
/** Maximum width for the column, if stretching is allowed in justified scenarios. */
|
|
297
|
+
maxWidth?: number;
|
|
298
|
+
/**
|
|
299
|
+
* Defines how the column's header should render.
|
|
300
|
+
* @defaultvalue ColumnActionsMode.clickable
|
|
301
|
+
*/
|
|
302
|
+
columnActionsMode?: ColumnActionsMode;
|
|
303
|
+
/** Custom icon to use in the column header. */
|
|
304
|
+
iconName?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Whether only the icon should be displayed in the column header.
|
|
307
|
+
* If true, the column name and dropdown chevron will not be displayed.
|
|
308
|
+
*/
|
|
309
|
+
isIconOnly?: boolean;
|
|
310
|
+
/** Class name for the icon within the header. */
|
|
311
|
+
iconClassName?: string;
|
|
312
|
+
/**
|
|
313
|
+
* If true, allow the column to be collapsed when rendered in justified layout.
|
|
314
|
+
* @deprecated Use `isCollapsible`
|
|
315
|
+
*/
|
|
316
|
+
isCollapsable?: boolean;
|
|
317
|
+
/** If true, allow the column to be collapsed when rendered in justified layout. */
|
|
318
|
+
isCollapsible?: boolean;
|
|
319
|
+
/** Determines if the column is currently sorted. Renders a sort arrow in the column header. */
|
|
320
|
+
isSorted?: boolean;
|
|
321
|
+
/** Determines if the sort arrow is pointed down (descending) or up. */
|
|
322
|
+
isSortedDescending?: boolean;
|
|
323
|
+
/** Determines if the column can be resized. */
|
|
324
|
+
isResizable?: boolean;
|
|
325
|
+
/** Determines if the column can render multi-line text. */
|
|
326
|
+
isMultiline?: boolean;
|
|
327
|
+
/** Custom renderer for cell content, instead of the default text rendering. */
|
|
328
|
+
onRender?: (item?: any, index?: number, column?: IColumn) => any;
|
|
329
|
+
/** Custom override for the parent list's `getCellValueKey`. */
|
|
330
|
+
getValueKey?: (item?: any, index?: number, column?: IColumn) => string;
|
|
331
|
+
/** Custom renderer for column header divider. */
|
|
332
|
+
/** Custom renderer for filter icon. */
|
|
333
|
+
/** Custom renderer for column header content, instead of the default text rendering. */
|
|
334
|
+
/** Whether the list is filtered by this column. If true, shows a filter icon next to this column's name. */
|
|
335
|
+
isFiltered?: boolean;
|
|
336
|
+
/** Callback for when the user clicks on the column header. */
|
|
337
|
+
onColumnClick?: (ev: IMinReactMouseEvent<HTMLElement>, column: IColumn) => void;
|
|
338
|
+
/** Callback for when the user opens the column header context menu. */
|
|
339
|
+
onColumnContextMenu?: (column?: IColumn, ev?: IMinReactMouseEvent<HTMLElement>) => void;
|
|
340
|
+
/**
|
|
341
|
+
* Callback for when the column is resized (`width` is the current width).
|
|
342
|
+
*
|
|
343
|
+
* Prefer this over `DetailsList`'s `onColumnResize` if you require the `IColumn` to report its width
|
|
344
|
+
* after every resize event. Consider debouncing the callback if resize events occur frequently.
|
|
345
|
+
*/
|
|
346
|
+
onColumnResize?: (width?: number) => void;
|
|
347
|
+
/** Whether the list is grouped by this column. If true, shows a grouped icon next to this column's name. */
|
|
348
|
+
isGrouped?: boolean;
|
|
349
|
+
/** Arbitrary data passthrough which can be used by the caller. */
|
|
350
|
+
data?: any;
|
|
351
|
+
/** Internal only value. */
|
|
352
|
+
calculatedWidth?: number;
|
|
353
|
+
/**
|
|
354
|
+
* Internal only value.
|
|
355
|
+
* Remembers the actual width of the column in any case.
|
|
356
|
+
* `calculatedWidth` is only saved when it's defined by user, not for justified calculations.
|
|
357
|
+
*/
|
|
358
|
+
currentWidth?: number;
|
|
359
|
+
/** Class name to apply to the column header cell. */
|
|
360
|
+
headerClassName?: string;
|
|
361
|
+
/** If true, add additional LTR padding-right to column and cells. */
|
|
362
|
+
isPadded?: boolean;
|
|
363
|
+
/**
|
|
364
|
+
* Accessible label for indicating that the list is sorted by this column in ascending order.
|
|
365
|
+
* This will be read after the main column header label.
|
|
366
|
+
*/
|
|
367
|
+
sortAscendingAriaLabel?: string;
|
|
368
|
+
/**
|
|
369
|
+
* Accessible label for indicating that the list is sorted by this column in descending order.
|
|
370
|
+
* This will be read after the main column header label.
|
|
371
|
+
*/
|
|
372
|
+
sortDescendingAriaLabel?: string;
|
|
373
|
+
/** Accessible label for the status of this column when grouped. */
|
|
374
|
+
groupAriaLabel?: string;
|
|
375
|
+
/** Accessible label for the status of this column when filtered. */
|
|
376
|
+
filterAriaLabel?: string;
|
|
377
|
+
/** Whether a dropdown menu is open so that the appropriate ARIA attributes are rendered. */
|
|
378
|
+
isMenuOpen?: boolean;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* {@docCategory DetailsList}
|
|
382
|
+
*/
|
|
383
|
+
export interface IColumnReorderOptions {
|
|
384
|
+
/**
|
|
385
|
+
* Specifies the number fixed columns from left
|
|
386
|
+
* @defaultvalue 0
|
|
387
|
+
*/
|
|
388
|
+
frozenColumnCountFromStart?: number;
|
|
389
|
+
/**
|
|
390
|
+
* Specifies the number fixed columns from right
|
|
391
|
+
* @defaultvalue 0
|
|
392
|
+
*/
|
|
393
|
+
frozenColumnCountFromEnd?: number;
|
|
394
|
+
/**
|
|
395
|
+
* Callback to handle when dragging on this column's DetailsHeader has started.
|
|
396
|
+
*/
|
|
397
|
+
onColumnDragStart?: (dragStarted: boolean) => void;
|
|
398
|
+
/**
|
|
399
|
+
* Callback to handle column reordering.
|
|
400
|
+
* `draggedIndex` is the source column index, which should be placed at `targetIndex`.
|
|
401
|
+
* @deprecated Use `onColumnDrop` instead.
|
|
402
|
+
*/
|
|
403
|
+
handleColumnReorder?: (draggedIndex: number, targetIndex: number) => void;
|
|
404
|
+
/**
|
|
405
|
+
* Callback to handle column reordering.
|
|
406
|
+
* `draggedIndex` is the source column index, which should be placed at `targetIndex`.
|
|
407
|
+
*/
|
|
408
|
+
onColumnDrop?: (dragDropDetails: IColumnDragDropDetails) => void;
|
|
409
|
+
/**
|
|
410
|
+
* Callback to handle when dragging on this column's DetailsHeader has finished.
|
|
411
|
+
*/
|
|
412
|
+
onDragEnd?: (columnDropLocationDetails: ColumnDragEndLocation) => void;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* {@docCategory DetailsList}
|
|
416
|
+
*/
|
|
417
|
+
export interface IColumnDragDropDetails {
|
|
418
|
+
/**
|
|
419
|
+
* Specifies the source column index
|
|
420
|
+
* @defaultvalue -1
|
|
421
|
+
*/
|
|
422
|
+
draggedIndex: number;
|
|
423
|
+
/**
|
|
424
|
+
* Specifies the target column index
|
|
425
|
+
* @defaultvalue -1
|
|
426
|
+
*/
|
|
427
|
+
targetIndex: number;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Enum to describe where the column has been dropped, after starting the drag
|
|
431
|
+
* {@docCategory DetailsList}
|
|
432
|
+
*/
|
|
433
|
+
export declare enum ColumnDragEndLocation {
|
|
434
|
+
/** Drag ended outside of current list */
|
|
435
|
+
outside = 0,
|
|
436
|
+
/** Drag ended within current list */
|
|
437
|
+
surface = 1,
|
|
438
|
+
/** Drag ended on header */
|
|
439
|
+
header = 2
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* {@docCategory DetailsList}
|
|
443
|
+
*/
|
|
444
|
+
//# sourceMappingURL=IDetailListTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDetailListTypes.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IDetailListTypes.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAA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,CAAC,EAAE,MAAM,CAAC;IACzB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,eAAe,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACjE;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,yBAAyB,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACxE;AACD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AACD;;;EAGE;AACF,MAAM,CAAC,OAAO,MAAM,qBAAqB;IACvC,yCAAyC;IACzC,OAAO,IAAI;IACX,qCAAqC;IACrC,OAAO,IAAI;IACX,2BAA2B;IAC3B,MAAM,IAAI;CACX;AACD;;GAEG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2025-02-09: This interface was migrated from: "@pnp/spfx-controls-react": "^3.12.0"
|
|
3
|
+
* node_modules\office-ui-fabric-react\lib\components\DetailsList\DetailsList.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
/**
|
|
9
|
+
* {@docCategory DetailsList}
|
|
10
|
+
*/
|
|
11
|
+
// export declare type IDetailsColumnStyleProps = Required<Pick<any, 'theme' | 'cellStyleProps'>> & {
|
|
12
|
+
// /**
|
|
13
|
+
// * Classname to provide for header region.
|
|
14
|
+
// */
|
|
15
|
+
// headerClassName?: string;
|
|
16
|
+
// /**
|
|
17
|
+
// * Whether or not the column is actionable.
|
|
18
|
+
// */
|
|
19
|
+
// isActionable?: boolean;
|
|
20
|
+
// /**
|
|
21
|
+
// * Whether or not the column contains contents.
|
|
22
|
+
// */
|
|
23
|
+
// isEmpty?: boolean;
|
|
24
|
+
// /**
|
|
25
|
+
// * Whether or not the column has a visible icon.
|
|
26
|
+
// */
|
|
27
|
+
// isIconVisible?: boolean;
|
|
28
|
+
// /**
|
|
29
|
+
// * Whether or not the column is padded.
|
|
30
|
+
// */
|
|
31
|
+
// isPadded?: boolean;
|
|
32
|
+
// /**
|
|
33
|
+
// * Whether or not the column has icon only content/
|
|
34
|
+
// */
|
|
35
|
+
// isIconOnly?: boolean;
|
|
36
|
+
// /**
|
|
37
|
+
// * Classname to provide for the header's icon region.
|
|
38
|
+
// */
|
|
39
|
+
// iconClassName?: string;
|
|
40
|
+
// /**
|
|
41
|
+
// * CSS transition duration on drag event.
|
|
42
|
+
// */
|
|
43
|
+
// transitionDurationDrag?: number;
|
|
44
|
+
// /**
|
|
45
|
+
// * CSS transition duration on drop event.
|
|
46
|
+
// */
|
|
47
|
+
// transitionDurationDrop?: number;
|
|
48
|
+
// };
|
|
49
|
+
//# sourceMappingURL=IDetailListTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDetailListTypes.js","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IDetailListTypes.ts"],"names":[],"mappings":"AACA;;;;;GAKG;;AAocH;;GAEG;AACH,qGAAqG;AACrG,QAAQ;AACR,+CAA+C;AAC/C,QAAQ;AACR,8BAA8B;AAC9B,QAAQ;AACR,gDAAgD;AAChD,QAAQ;AACR,4BAA4B;AAC5B,QAAQ;AACR,oDAAoD;AACpD,QAAQ;AACR,uBAAuB;AACvB,QAAQ;AACR,qDAAqD;AACrD,QAAQ;AACR,6BAA6B;AAC7B,QAAQ;AACR,4CAA4C;AAC5C,QAAQ;AACR,wBAAwB;AACxB,QAAQ;AACR,wDAAwD;AACxD,QAAQ;AACR,0BAA0B;AAC1B,QAAQ;AACR,0DAA0D;AAC1D,QAAQ;AACR,4BAA4B;AAC5B,QAAQ;AACR,8CAA8C;AAC9C,QAAQ;AACR,qCAAqC;AACrC,QAAQ;AACR,8CAA8C;AAC9C,QAAQ;AACR,qCAAqC;AACrC,KAAK"}
|