@mikezimm/fps-core-v7 1.0.105 → 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/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
|
@@ -0,0 +1,198 @@
|
|
|
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
|
+
import { ITheme } from "../../@fluentUI/@7.199.1/ITheme";
|
|
8
|
+
import { IReactCSSProperties } from "../../react/IReactCSSTypes";
|
|
9
|
+
import { ICellStyleProps } from "./ICellStyleProps";
|
|
10
|
+
import { CheckboxVisibility, IColumn, IDetailsListProps } from "./IDetailListTypes";
|
|
11
|
+
import { IGroup } from "./IGroup";
|
|
12
|
+
import { IViewport } from "./IViewPort";
|
|
13
|
+
import { SelectionMode } from "./SelectionMode";
|
|
14
|
+
/**
|
|
15
|
+
* {@docCategory DetailsList}
|
|
16
|
+
*/
|
|
17
|
+
export interface IDetailsRowProps extends IDetailsRowBaseProps {
|
|
18
|
+
/**
|
|
19
|
+
* Column metadata
|
|
20
|
+
*/
|
|
21
|
+
columns: IColumn[];
|
|
22
|
+
/**
|
|
23
|
+
* Selection from utilities
|
|
24
|
+
*/
|
|
25
|
+
selection: ISelection;
|
|
26
|
+
/**
|
|
27
|
+
* Selection mode
|
|
28
|
+
*/
|
|
29
|
+
selectionMode: SelectionMode;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* {@docCategory DetailsList}
|
|
33
|
+
*/
|
|
34
|
+
export interface IDetailsRow {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* {@docCategory DetailsList}
|
|
38
|
+
*/
|
|
39
|
+
export interface IDetailsItemProps {
|
|
40
|
+
/**
|
|
41
|
+
* Column metadata
|
|
42
|
+
*/
|
|
43
|
+
columns?: IColumn[];
|
|
44
|
+
/**
|
|
45
|
+
* Nesting depth of a grouping
|
|
46
|
+
*/
|
|
47
|
+
groupNestingDepth?: number;
|
|
48
|
+
/**
|
|
49
|
+
* How much to indent
|
|
50
|
+
*/
|
|
51
|
+
indentWidth?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Selection from utilities
|
|
54
|
+
*/
|
|
55
|
+
selection?: ISelection | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Selection mode
|
|
58
|
+
*/
|
|
59
|
+
selectionMode?: SelectionMode | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* View port of the virtualized list
|
|
62
|
+
*
|
|
63
|
+
* @deprecated use rowWidth instead
|
|
64
|
+
*/
|
|
65
|
+
viewport?: IViewport | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Checkbox visibility
|
|
68
|
+
*/
|
|
69
|
+
checkboxVisibility?: CheckboxVisibility | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Rules for rendering column cells.
|
|
72
|
+
*/
|
|
73
|
+
cellStyleProps?: ICellStyleProps;
|
|
74
|
+
/**
|
|
75
|
+
* Minimum width of the row.
|
|
76
|
+
*
|
|
77
|
+
* @defaultvalue 0
|
|
78
|
+
*/
|
|
79
|
+
rowWidth?: number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* BaseProps interface.
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
* {@docCategory IBaseProps}
|
|
86
|
+
*/
|
|
87
|
+
export interface IBaseProps<T = any> {
|
|
88
|
+
componentRef?: any;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 2025-02-09: Copied from
|
|
92
|
+
* node_modules\@uifabric\utilities\lib\BaseComponent.types.d.ts
|
|
93
|
+
*
|
|
94
|
+
* {@docCategory DetailsList}
|
|
95
|
+
*/
|
|
96
|
+
export interface IDetailsRowBaseProps extends Pick<IDetailsListProps, 'onRenderItemColumn' | 'getCellValueKey'>, IBaseProps<IDetailsRow>, IDetailsItemProps {
|
|
97
|
+
/**
|
|
98
|
+
* Theme provided by styled() function
|
|
99
|
+
*/
|
|
100
|
+
theme?: ITheme;
|
|
101
|
+
/**
|
|
102
|
+
* Overriding styles to this row
|
|
103
|
+
*/
|
|
104
|
+
styles?: IReactCSSProperties;
|
|
105
|
+
/**
|
|
106
|
+
* Ref of the component
|
|
107
|
+
*/
|
|
108
|
+
componentRef?: any;
|
|
109
|
+
/**
|
|
110
|
+
* Data source for this component
|
|
111
|
+
*/
|
|
112
|
+
item: any;
|
|
113
|
+
/**
|
|
114
|
+
* Index of the collection of items of the DetailsList
|
|
115
|
+
*/
|
|
116
|
+
itemIndex: number;
|
|
117
|
+
/**
|
|
118
|
+
* Offset used to calculate the aria-rowindex value based on itemIndex
|
|
119
|
+
* @defaultvalue 2
|
|
120
|
+
*/
|
|
121
|
+
flatIndexOffset?: number;
|
|
122
|
+
/**
|
|
123
|
+
* Whether to render in compact mode
|
|
124
|
+
*/
|
|
125
|
+
compact?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* A list of events to register
|
|
128
|
+
*/
|
|
129
|
+
eventsToRegister?: {
|
|
130
|
+
eventName: string;
|
|
131
|
+
callback: (item?: any, index?: number, event?: any) => void;
|
|
132
|
+
}[];
|
|
133
|
+
/**
|
|
134
|
+
* Overriding class name
|
|
135
|
+
*/
|
|
136
|
+
className?: string;
|
|
137
|
+
/** Whether to animate updates */
|
|
138
|
+
enableUpdateAnimations?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Rerender DetailsRow only when props changed. Might cause regression when depending on external updates.
|
|
141
|
+
* @defaultvalue false
|
|
142
|
+
*/
|
|
143
|
+
useReducedRowRenderer?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Optional pre-rendered content per column. Preferred over onRender or onRenderItemColumn if provided.
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* Whether to use fast icon and check components. The icons can't be targeted by customization
|
|
149
|
+
* but are still customizable via class names.
|
|
150
|
+
* @defaultvalue true
|
|
151
|
+
*/
|
|
152
|
+
useFastIcons?: boolean;
|
|
153
|
+
/** Role for the row. */
|
|
154
|
+
role?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Id for row
|
|
157
|
+
*/
|
|
158
|
+
id?: string;
|
|
159
|
+
/** whether or not row should be rendered in disabled state */
|
|
160
|
+
disabled?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Group row item belongs to.
|
|
163
|
+
* When using GroupedList, this needs to be passed in order to calculate
|
|
164
|
+
* the correct aria-posinset and aria-setsize values.
|
|
165
|
+
*/
|
|
166
|
+
group?: IGroup;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* {@docCategory DetailsList}
|
|
170
|
+
*/
|
|
171
|
+
export interface IDetailsRowProps extends IDetailsRowBaseProps {
|
|
172
|
+
/**
|
|
173
|
+
* Column metadata
|
|
174
|
+
*/
|
|
175
|
+
columns: IColumn[];
|
|
176
|
+
/**
|
|
177
|
+
* Selection from utilities
|
|
178
|
+
*/
|
|
179
|
+
selection: ISelection;
|
|
180
|
+
/**
|
|
181
|
+
* Selection mode
|
|
182
|
+
*/
|
|
183
|
+
selectionMode: SelectionMode;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* 2025-02-09: Copied from
|
|
187
|
+
* node_modules\@uifabric\utilities\lib\selection\Selection.types.d.ts
|
|
188
|
+
*
|
|
189
|
+
* {@docCategory Selection}
|
|
190
|
+
*/
|
|
191
|
+
export interface IObjectWithKey {
|
|
192
|
+
key?: string | number;
|
|
193
|
+
}
|
|
194
|
+
export interface ISelection<TItem = IObjectWithKey> {
|
|
195
|
+
count: number;
|
|
196
|
+
mode: SelectionMode;
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=IDetailRowTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDetailRowTypes.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IDetailRowTypes.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;OAEG;IACH,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,aA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,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;KAC/D,EAAE,CAAC;IACJ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;EAEE;AACF,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;OAEG;IACH,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;CAC9B;AAGD;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU,CAAC,KAAK,GAAG,cAAc;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;CAErB"}
|
|
@@ -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=IDetailRowTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDetailRowTypes.js","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IDetailRowTypes.ts"],"names":[],"mappings":"AACA;;;;;GAKG"}
|
|
@@ -0,0 +1,143 @@
|
|
|
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\GroupedList\GroupedList.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 { ISelection } from "./IDetailRowTypes";
|
|
10
|
+
import { IListProps } from "./IListProps";
|
|
11
|
+
import { IViewport } from "./IViewPort";
|
|
12
|
+
import { SelectionMode } from "./SelectionMode";
|
|
13
|
+
/**
|
|
14
|
+
* {@docCategory GroupedList}
|
|
15
|
+
*/
|
|
16
|
+
export interface IGroupedListProps {
|
|
17
|
+
/**
|
|
18
|
+
* Theme that is passed in from Higher Order Component
|
|
19
|
+
*/
|
|
20
|
+
theme?: ITheme;
|
|
21
|
+
/**
|
|
22
|
+
* Style function to be passed in to override the themed or default styles
|
|
23
|
+
*/
|
|
24
|
+
styles?: IReactCSSProperties;
|
|
25
|
+
/**
|
|
26
|
+
* Optional callback to access the IGroupedList interface. Use this instead of ref for accessing
|
|
27
|
+
* the public methods and properties of the component.
|
|
28
|
+
*/
|
|
29
|
+
componentRef?: any;
|
|
30
|
+
/** Optional class name to add to the root element. */
|
|
31
|
+
className?: string;
|
|
32
|
+
/** Boolean value to indicate if the component should render in compact mode. Set to false by default */
|
|
33
|
+
compact?: boolean;
|
|
34
|
+
/** Map of callback functions related to drag and drop functionality. */
|
|
35
|
+
/** helper to manage drag/drop across item and groups */
|
|
36
|
+
/** Event names and corresponding callbacks that will be registered to groups and rendered elements */
|
|
37
|
+
eventsToRegister?: {
|
|
38
|
+
eventName: string;
|
|
39
|
+
callback: (context: any, event?: any) => void;
|
|
40
|
+
}[];
|
|
41
|
+
/** Optional override properties to render groups. */
|
|
42
|
+
groupProps?: any;
|
|
43
|
+
/** Optional grouping instructions. */
|
|
44
|
+
groups?: IGroup[];
|
|
45
|
+
/** List of items to render. */
|
|
46
|
+
items: any[];
|
|
47
|
+
/** Optional properties to pass through to the FocusZone. */
|
|
48
|
+
focusZoneProps?: any;
|
|
49
|
+
/** Optional properties to pass through to the list components being rendered. */
|
|
50
|
+
listProps?: IListProps;
|
|
51
|
+
/** Optional properties to pass through to the root list component being rendered. */
|
|
52
|
+
rootListProps?: IListProps;
|
|
53
|
+
/** Rendering callback to render the group items. */
|
|
54
|
+
onRenderCell: (nestingDepth?: number, item?: any, index?: number) => any;
|
|
55
|
+
/** Override the default role for GroupedList. */
|
|
56
|
+
role?: string;
|
|
57
|
+
/** Optional selection model to track selection state. */
|
|
58
|
+
selection?: ISelection;
|
|
59
|
+
/** Controls how/if the list manages selection. */
|
|
60
|
+
selectionMode?: SelectionMode;
|
|
61
|
+
/** Optional Viewport, provided by the parent component. */
|
|
62
|
+
viewport?: IViewport;
|
|
63
|
+
/** Optional callback when the group expand state changes between all collapsed and at least one group is expanded. */
|
|
64
|
+
onGroupExpandStateChanged?: (isSomeGroupExpanded: boolean) => void;
|
|
65
|
+
/**
|
|
66
|
+
* boolean to control if pages containing unchanged items should be cached, this is a perf optimization
|
|
67
|
+
* The same property in List.Props
|
|
68
|
+
*/
|
|
69
|
+
usePageCache?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Optional callback to determine whether the list should be rendered in full, or virtualized.
|
|
72
|
+
* Virtualization will add and remove pages of items as the user scrolls them into the visible range.
|
|
73
|
+
* This benefits larger list scenarios by reducing the DOM on the screen, but can negatively affect performance for
|
|
74
|
+
* smaller lists.
|
|
75
|
+
* The default implementation will virtualize when this callback is not provided.
|
|
76
|
+
*/
|
|
77
|
+
onShouldVirtualize?: (props: IListProps) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Optional function to override default group height calculation used by list virtualization.
|
|
80
|
+
*/
|
|
81
|
+
getGroupHeight?: (group: IGroup, groupIndex: number) => number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* {@docCategory GroupedList}
|
|
85
|
+
*/
|
|
86
|
+
export interface IGroup {
|
|
87
|
+
/**
|
|
88
|
+
* Unique identifier for the group.
|
|
89
|
+
*/
|
|
90
|
+
key: string;
|
|
91
|
+
/**
|
|
92
|
+
* Display name for the group, rendered on the header.
|
|
93
|
+
*/
|
|
94
|
+
name: string;
|
|
95
|
+
/**
|
|
96
|
+
* Start index for the group within the given items.
|
|
97
|
+
*/
|
|
98
|
+
startIndex: number;
|
|
99
|
+
/**
|
|
100
|
+
* How many items should be rendered within the group.
|
|
101
|
+
*/
|
|
102
|
+
count: number;
|
|
103
|
+
/**
|
|
104
|
+
* Nested groups, if any.
|
|
105
|
+
*/
|
|
106
|
+
children?: IGroup[];
|
|
107
|
+
/**
|
|
108
|
+
* Number indicating the level of nested groups.
|
|
109
|
+
*/
|
|
110
|
+
level?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Deprecated at 1.0.0, selection state will be controled by the selection store only.
|
|
113
|
+
* @deprecated At 1.0.0, selection state wil be controlled by the selection store only.
|
|
114
|
+
*/
|
|
115
|
+
isSelected?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* If all the items in the group are collapsed.
|
|
118
|
+
*/
|
|
119
|
+
isCollapsed?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* If the items within the group are summarized or showing all.
|
|
122
|
+
*/
|
|
123
|
+
isShowingAll?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* If drag/drop is enabled for the group header.
|
|
126
|
+
*/
|
|
127
|
+
isDropEnabled?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Arbitrary data required to be preserved by the caller.
|
|
130
|
+
*/
|
|
131
|
+
data?: any;
|
|
132
|
+
/**
|
|
133
|
+
* Optional accessibility label (aria-label) attribute that will be stamped on to the element.
|
|
134
|
+
* If none is specified, the arai-label attribute will contain the group name
|
|
135
|
+
*/
|
|
136
|
+
ariaLabel?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Optional flag to indicate the group has more data to load than the current group count indicated.
|
|
139
|
+
* This can be used to indicate that a plus should be rendered next to the group count in the header.
|
|
140
|
+
*/
|
|
141
|
+
hasMoreData?: boolean;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=IGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGroup.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IGroup.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wGAAwG;IACxG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IAExE,wDAAwD;IAExD,sGAAs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ACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC;IACX;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -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\GroupedList\GroupedList.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=IGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGroup.js","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IGroup.ts"],"names":[],"mappings":"AACA;;;;;GAKG"}
|
|
@@ -0,0 +1,142 @@
|
|
|
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\List\List.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
import { IFPSGeneric_JSX_Element } from "../../react/IFPSJSX_Element";
|
|
8
|
+
import { IReactCSSProperties } from "../../react/IReactCSSTypes";
|
|
9
|
+
/**
|
|
10
|
+
* {@docCategory List}
|
|
11
|
+
*/
|
|
12
|
+
export interface IListProps<T = any> {
|
|
13
|
+
/**
|
|
14
|
+
* Optional callback to access the IList interface. Use this instead of ref for accessing
|
|
15
|
+
* the public methods and properties of the component.
|
|
16
|
+
*/
|
|
17
|
+
componentRef?: any;
|
|
18
|
+
/** Optional classname to append to root list. */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Items to render. */
|
|
21
|
+
items?: T[];
|
|
22
|
+
/**
|
|
23
|
+
* Method to call when trying to render an item.
|
|
24
|
+
* @param item - The data associated with the cell that is being rendered.
|
|
25
|
+
* @param index - The index of the cell being rendered.
|
|
26
|
+
* @param isScrolling - True if the list is being scrolled. May be useful for rendering a placeholder if your cells
|
|
27
|
+
* are complex.
|
|
28
|
+
*/
|
|
29
|
+
onRenderCell?: (item?: T, index?: number, isScrolling?: boolean) => any;
|
|
30
|
+
/**
|
|
31
|
+
* Method to call when trying to render an item conditionally.
|
|
32
|
+
*
|
|
33
|
+
* When this method returns `null` the cell will be skipped in the render.
|
|
34
|
+
*
|
|
35
|
+
* This prop is mutually exclusive with `onRenderCell` and when `onRenderCellConditional` is set,
|
|
36
|
+
* `onRenderCell` will not be called.
|
|
37
|
+
*
|
|
38
|
+
* @param item - The data associated with the cell that is being rendered.
|
|
39
|
+
* @param index - The index of the cell being rendered.
|
|
40
|
+
* @param isScrolling - True if the list is being scrolled. May be useful for rendering a placeholder if your cells
|
|
41
|
+
* are complex.
|
|
42
|
+
*/
|
|
43
|
+
onRenderCellConditional?: (item?: T, index?: number, isScrolling?: boolean) => any | null;
|
|
44
|
+
/** Optional callback to get the item key, to be used on render. */
|
|
45
|
+
getKey?: (item: T, index?: number) => string;
|
|
46
|
+
/**
|
|
47
|
+
* In addition to the visible window, how many windowHeights should we render ahead.
|
|
48
|
+
* @defaultvalue 2
|
|
49
|
+
*/
|
|
50
|
+
renderedWindowsAhead?: number;
|
|
51
|
+
/**
|
|
52
|
+
* In addition to the visible window, how many windowHeights should we render behind.
|
|
53
|
+
* @defaultvalue 2
|
|
54
|
+
*/
|
|
55
|
+
renderedWindowsBehind?: number;
|
|
56
|
+
/** Index in items array to start rendering from. Defaults to 0. */
|
|
57
|
+
startIndex?: number;
|
|
58
|
+
/** Number of items to render. Defaults to items.length. */
|
|
59
|
+
renderCount?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Boolean value to enable render page caching. This is an experimental performance optimization
|
|
62
|
+
* that is off by default.
|
|
63
|
+
* @defaultvalue false
|
|
64
|
+
*/
|
|
65
|
+
usePageCache?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Optional callback to determine whether the list should be rendered in full, or virtualized.
|
|
68
|
+
* Virtualization will add and remove pages of items as the user scrolls them into the visible range.
|
|
69
|
+
* This benefits larger list scenarios by reducing the DOM on the screen, but can negatively affect performance for
|
|
70
|
+
* smaller lists.
|
|
71
|
+
* The default implementation will virtualize when this callback is not provided.
|
|
72
|
+
*/
|
|
73
|
+
onShouldVirtualize?: (props: IListProps<T>) => boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The role to assign to the list root element.
|
|
76
|
+
* Use this to override the default assignment of 'list' to the root and 'listitem' to the cells.
|
|
77
|
+
*/
|
|
78
|
+
role?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Called when the List will render a page.
|
|
81
|
+
* Override this to control how cells are rendered within a page.
|
|
82
|
+
*/
|
|
83
|
+
onRenderPage?: IRenderFunction<IPageProps<T>>;
|
|
84
|
+
/**
|
|
85
|
+
* Render override for the element at the root of the `List`.
|
|
86
|
+
* Use this to apply some final attributes or structure to the content
|
|
87
|
+
* each time the list is updated with new active pages or items.
|
|
88
|
+
*/
|
|
89
|
+
onRenderRoot?: IRenderFunction<any>;
|
|
90
|
+
/**
|
|
91
|
+
* Render override for the element representing the surface of the `List`.
|
|
92
|
+
* Use this to alter the structure of the rendered content if necessary on each update.
|
|
93
|
+
*/
|
|
94
|
+
onRenderSurface?: IRenderFunction<any>;
|
|
95
|
+
/**
|
|
96
|
+
* An object which can be passed in as a fresh instance to 'force update' the list.
|
|
97
|
+
*/
|
|
98
|
+
version?: {};
|
|
99
|
+
/**
|
|
100
|
+
* Whether to disable scroll state updates. This causes the isScrolling arg in onRenderCell to always be undefined.
|
|
101
|
+
* This is a performance optimization to let List skip a render cycle by not updating its scrolling state.
|
|
102
|
+
*/
|
|
103
|
+
ignoreScrollingState?: boolean;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* {@docCategory List}
|
|
107
|
+
*/
|
|
108
|
+
export interface IPageProps<T = any> {
|
|
109
|
+
/**
|
|
110
|
+
* The role being assigned to the rendered page element by the list.
|
|
111
|
+
*/
|
|
112
|
+
role?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The allocation data for the page.
|
|
115
|
+
*/
|
|
116
|
+
page: IPage<T>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* {@docCategory List}
|
|
120
|
+
*/
|
|
121
|
+
export interface IPage<T = any> {
|
|
122
|
+
key: string;
|
|
123
|
+
items: T[] | undefined;
|
|
124
|
+
startIndex: number;
|
|
125
|
+
itemCount: number;
|
|
126
|
+
style: IReactCSSProperties;
|
|
127
|
+
top: number;
|
|
128
|
+
height: number;
|
|
129
|
+
data?: any;
|
|
130
|
+
isSpacer?: boolean;
|
|
131
|
+
isVisible?: boolean;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Render function interface for providing overrideable render callbacks.
|
|
135
|
+
* node_modules\@uifabric\utilities\lib\IRenderFunction.d.ts
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export interface IRenderFunction<P> {
|
|
140
|
+
(props?: P, defaultRender?: (props?: P) => IFPSGeneric_JSX_Element | null): IFPSGeneric_JSX_Element | null;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=IListProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IListProps.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IListProps.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;IACZ;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,KAAI,GAAG,CAAC;IACvE;;;;;;;;;;;;OAYG;IACH,uBAAuB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,KAAK,GAAG,GAAG,IAAI,CAAC;IAE1F,mEAAmE;IACnE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAE7C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;OAMG;IACH,kBAAkB,CAA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
|
@@ -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\List\List.types.d.ts
|
|
4
|
+
*
|
|
5
|
+
* This was originally used in reactListView component in drilldown
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=IListProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IListProps.js","sourceRoot":"","sources":["../../../../src/types/spfxControlsReact/@3.12.0/IListProps.ts"],"names":[],"mappings":"AACA;;;;;GAKG"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2025-02-09: This interface was migrated from: "@pnp/spfx-controls-react": "^3.12.0"
|
|
3
|
+
* node_modules\@pnp\spfx-controls-react\lib\controls\listView\IListView.d.ts
|
|
4
|
+
* import { ListView, SelectionMode, IGrouping, } from "@pnp/spfx-controls-react/lib/ListView";
|
|
5
|
+
*
|
|
6
|
+
* This was originally used in reactListView component in drilldown
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { IFPSGeneric_JSX_Element } from '../../react/IFPSJSX_Element';
|
|
10
|
+
import { IGroup } from './IGroup';
|
|
11
|
+
import { IColumn } from './IDetailListTypes';
|
|
12
|
+
import { IDetailsRowProps } from './IDetailRowTypes';
|
|
13
|
+
import { SelectionMode } from './SelectionMode';
|
|
14
|
+
export declare enum GroupOrder {
|
|
15
|
+
ascending = 1,
|
|
16
|
+
descending = 2
|
|
17
|
+
}
|
|
18
|
+
export interface IListViewProps {
|
|
19
|
+
/**
|
|
20
|
+
* Specify if drag and drop option is selected.
|
|
21
|
+
**/
|
|
22
|
+
dragDropFiles?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Handler to return the files from drag and drop.
|
|
25
|
+
**/
|
|
26
|
+
onDrop?: any;
|
|
27
|
+
/**
|
|
28
|
+
* Specify the name of the file URL path which will be used to show the file icon.
|
|
29
|
+
*/
|
|
30
|
+
iconFieldName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The items to render.
|
|
33
|
+
*/
|
|
34
|
+
items?: any[];
|
|
35
|
+
/**
|
|
36
|
+
* The fields you want to view in your list view
|
|
37
|
+
*/
|
|
38
|
+
viewFields?: IViewField[];
|
|
39
|
+
/**
|
|
40
|
+
* The fields you want to group your list view by
|
|
41
|
+
*/
|
|
42
|
+
groupByFields?: IGrouping[];
|
|
43
|
+
/**
|
|
44
|
+
* Boolean value to indicate if the component should render in compact mode.
|
|
45
|
+
* Set to false by default
|
|
46
|
+
*/
|
|
47
|
+
compact?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Specify the item selection mode.
|
|
50
|
+
* By default this is set to none.
|
|
51
|
+
*/
|
|
52
|
+
selectionMode?: SelectionMode;
|
|
53
|
+
/**
|
|
54
|
+
* Selection event that passes the selected item(s)
|
|
55
|
+
*/
|
|
56
|
+
selection?: (items: any[]) => void;
|
|
57
|
+
/**
|
|
58
|
+
* The index of the items to be select by default
|
|
59
|
+
*/
|
|
60
|
+
defaultSelection?: number[];
|
|
61
|
+
/**
|
|
62
|
+
* Specify the placeholder for the filter text box. Default 'Search'
|
|
63
|
+
*/
|
|
64
|
+
filterPlaceHolder?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Specify if the filter text box should be rendered.
|
|
67
|
+
*/
|
|
68
|
+
showFilter?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Specify the initial filter to be applied to the list.
|
|
71
|
+
*/
|
|
72
|
+
defaultFilter?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Boolean value to create a fixed/sticky header.
|
|
75
|
+
* Set to false by default
|
|
76
|
+
*/
|
|
77
|
+
stickyHeader?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Callback to override the default row rendering.
|
|
80
|
+
*/
|
|
81
|
+
onRenderRow?: (props: IDetailsRowProps) => IFPSGeneric_JSX_Element | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Class name to apply additional styles on list view wrapper
|
|
84
|
+
*/
|
|
85
|
+
className?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Class name to apply additional styles on list view
|
|
88
|
+
*/
|
|
89
|
+
listClassName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Custom sorting function.
|
|
92
|
+
* @returns sorted collection of items
|
|
93
|
+
*/
|
|
94
|
+
sortItems?: (items: any[], columnName: string, descending: boolean) => any[];
|
|
95
|
+
}
|
|
96
|
+
export interface IGrouping {
|
|
97
|
+
name: string;
|
|
98
|
+
order: GroupOrder;
|
|
99
|
+
}
|
|
100
|
+
export interface IGroupsItems {
|
|
101
|
+
items: any[];
|
|
102
|
+
groups: IGroup[];
|
|
103
|
+
}
|
|
104
|
+
export interface IViewField {
|
|
105
|
+
/**
|
|
106
|
+
* Name of the field
|
|
107
|
+
*/
|
|
108
|
+
name: string;
|
|
109
|
+
/**
|
|
110
|
+
* Name of the field that will be used as the column title
|
|
111
|
+
*/
|
|
112
|
+
displayName?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Specify the field name that needs to be used to render a link
|
|
115
|
+
*/
|
|
116
|
+
linkPropertyName?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Specify if you want to enable column sorting
|
|
119
|
+
*/
|
|
120
|
+
sorting?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Specify the minimum width of the column
|
|
123
|
+
*/
|
|
124
|
+
minWidth?: number;
|
|
125
|
+
/**
|
|
126
|
+
* Specify the maximum width of the column
|
|
127
|
+
*/
|
|
128
|
+
maxWidth?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Determines if the column can be resized.
|
|
131
|
+
*/
|
|
132
|
+
isResizable?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Override the render method of the field
|
|
135
|
+
*/
|
|
136
|
+
render?: (item?: any, index?: number, column?: IColumn) => any;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=IListView.d.ts.map
|