@pnp/spfx-property-controls 3.17.1-beta.9811713 → 3.18.0-beta.1039532
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.json +11 -0
- package/CHANGELOG.md +6 -0
- package/lib/common/telemetry/version.js +1 -1
- package/lib/propertyFields/order/PropertyFieldOrderHost.d.ts.map +1 -1
- package/lib/propertyFields/order/PropertyFieldOrderHost.js +56 -31
- package/lib/propertyFields/order/PropertyFieldOrderHost.js.map +1 -1
- package/lib/propertyFields/spinner/PropertyFieldSpinnerHost.d.ts +2 -2
- package/lib/propertyFields/spinner/PropertyFieldSpinnerHost.d.ts.map +1 -1
- package/lib/propertyFields/spinner/PropertyFieldSpinnerHost.js +4 -5
- package/lib/propertyFields/spinner/PropertyFieldSpinnerHost.js.map +1 -1
- package/package.json +11 -11
- package/release/component-dependency-audit/sp-dev-fx-property-controls.json +1 -128
- package/release/manifests/bd19c378-ab07-4eaa-9bb6-0e329932d8bf.manifest.json +32 -32
package/CHANGELOG.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "3.
|
|
1
|
+
export const version = "3.18.0-beta.1039532";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldOrderHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/order/PropertyFieldOrderHost.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PropertyFieldOrderHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/order/PropertyFieldOrderHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,2BAA2B,CAAC;AAInC,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAAS,CACjE,4BAA4B,EAC5B,4BAA4B,CAC7B;IACC,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,UAAU,CAAY;IAC9B,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,KAAK,CAAqB;IAClC,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,QAAQ,CAAc;gBAG5B,KAAK,EAAE,4BAA4B,EACnC,KAAK,EAAE,4BAA4B;IAwB9B,MAAM,IAAI,GAAG,CAAC,OAAO;IAgD5B,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,kBAAkB;IAe1B,OAAO,CAAC,YAAY;IAuCb,yBAAyB,IAAI,IAAI;IAMjC,iBAAiB,IAAI,IAAI;IAIzB,0BAA0B,CAC/B,SAAS,EAAE,4BAA4B,GACtC,IAAI;IASA,kBAAkB,IAAI,IAAI;IAK1B,oBAAoB,IAAI,IAAI;IAInC,OAAO,CAAC,WAAW,CAEjB;IAEF,OAAO,CAAC,kBAAkB,CAwFxB;IAEF,OAAO,CAAC,oBAAoB,CAK1B;IAEF,OAAO,CAAC,gBAAgB,CAQtB;IAEF,OAAO,CAAC,aAAa,CAInB;IAEF,OAAO,CAAC,eAAe,CAIrB;IAEF,OAAO,CAAC,4BAA4B,CAoBlC;CACH"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { IconButton } from '@fluentui/react/lib/Button';
|
|
2
|
-
import { Label } from '@fluentui/react/lib/Label';
|
|
3
|
-
import { DragDropHelper } from '@fluentui/react/lib/utilities/dragdrop';
|
|
4
1
|
import * as React from 'react';
|
|
2
|
+
import { IconButton, Label, DragDropHelper, EventGroup } from '@fluentui/react';
|
|
5
3
|
import * as telemetry from '../../common/telemetry';
|
|
6
4
|
import styles from './PropertyFieldOrderHost.module.scss';
|
|
7
5
|
import { isEqual } from '@microsoft/sp-lodash-subset';
|
|
8
|
-
import { EventGroup } from '@fluentui/react/lib/Utilities'; //'@uifabric/utilities/lib/EventGroup';
|
|
9
6
|
export default class PropertyFieldOrderHost extends React.Component {
|
|
10
7
|
constructor(props, state) {
|
|
11
8
|
super(props);
|
|
@@ -21,8 +18,8 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
21
18
|
callback: (context) => {
|
|
22
19
|
this._draggedItem = context.data;
|
|
23
20
|
},
|
|
24
|
-
eventName: 'dragstart'
|
|
25
|
-
}
|
|
21
|
+
eventName: 'dragstart',
|
|
22
|
+
},
|
|
26
23
|
],
|
|
27
24
|
selectionIndex: index,
|
|
28
25
|
context: { data: this.state.items[index], index: index },
|
|
@@ -38,20 +35,22 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
38
35
|
return true;
|
|
39
36
|
},
|
|
40
37
|
canDrag: (item) => {
|
|
38
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
41
39
|
return true;
|
|
42
40
|
},
|
|
43
41
|
onDrop: (item) => {
|
|
42
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
44
43
|
if (this._draggedItem) {
|
|
45
44
|
this.insertBeforeItem(item);
|
|
46
45
|
}
|
|
47
46
|
},
|
|
48
47
|
onDragEnd: () => {
|
|
49
48
|
this._draggedItem = null;
|
|
50
|
-
}
|
|
49
|
+
},
|
|
51
50
|
}));
|
|
52
51
|
});
|
|
53
52
|
//Create dropable area below list to allow items to be dragged to the bottom
|
|
54
|
-
if (this._refs.length && typeof this._lastBox !==
|
|
53
|
+
if (this._refs.length && typeof this._lastBox !== 'undefined') {
|
|
55
54
|
this._ddSubs.push(this._ddHelper.subscribe(this._lastBox, new EventGroup(this._lastBox), {
|
|
56
55
|
selectionIndex: this._refs.length,
|
|
57
56
|
context: { data: {}, index: this._refs.length },
|
|
@@ -67,11 +66,12 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
67
66
|
return true;
|
|
68
67
|
},
|
|
69
68
|
onDrop: (item, event) => {
|
|
69
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
70
70
|
if (this._draggedItem) {
|
|
71
71
|
const itemIndex = this.state.items.indexOf(this._draggedItem);
|
|
72
72
|
this.moveItemAtIndexToTargetIndex(itemIndex, this.state.items.length - 1);
|
|
73
73
|
}
|
|
74
|
-
}
|
|
74
|
+
},
|
|
75
75
|
}));
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -83,6 +83,7 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
this.insertBeforeItem = (item) => {
|
|
86
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
86
87
|
const itemIndex = this.state.items.indexOf(this._draggedItem);
|
|
87
88
|
let targetIndex = this.state.items.indexOf(item);
|
|
88
89
|
if (itemIndex < targetIndex) {
|
|
@@ -101,51 +102,71 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
101
102
|
}
|
|
102
103
|
};
|
|
103
104
|
this.moveItemAtIndexToTargetIndex = (itemIndex, targetIndex) => {
|
|
104
|
-
if (itemIndex !== targetIndex &&
|
|
105
|
+
if (itemIndex !== targetIndex &&
|
|
106
|
+
itemIndex > -1 &&
|
|
107
|
+
targetIndex > -1 &&
|
|
108
|
+
itemIndex < this.state.items.length &&
|
|
109
|
+
targetIndex < this.state.items.length) {
|
|
105
110
|
const items = this.state.items; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
106
111
|
items.splice(targetIndex, 0, ...items.splice(itemIndex, 1));
|
|
107
112
|
this.setState({
|
|
108
|
-
items: items
|
|
113
|
+
items: items,
|
|
109
114
|
});
|
|
110
115
|
this.props.valueChanged(items);
|
|
111
116
|
}
|
|
112
117
|
};
|
|
113
118
|
telemetry.track('PropertyFieldOrder', {
|
|
114
|
-
disabled: props.disabled
|
|
119
|
+
disabled: props.disabled,
|
|
115
120
|
});
|
|
116
121
|
this._selection = null;
|
|
117
122
|
this._ddHelper = new DragDropHelper({
|
|
118
|
-
selection: this._selection
|
|
123
|
+
selection: this._selection,
|
|
119
124
|
});
|
|
120
125
|
this._refs = new Array();
|
|
121
126
|
this._ddSubs = new Array(); // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
122
127
|
this._draggedItem = null;
|
|
123
128
|
this.state = {
|
|
124
|
-
items: []
|
|
129
|
+
items: [],
|
|
125
130
|
};
|
|
126
131
|
}
|
|
127
132
|
render() {
|
|
128
133
|
const { items } = this.state;
|
|
129
134
|
return (React.createElement("div", { className: styles.propertyFieldOrder },
|
|
130
135
|
this.props.label && React.createElement(Label, null, this.props.label),
|
|
131
|
-
React.createElement("ul", { style: {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
React.createElement("ul", { style: {
|
|
137
|
+
maxHeight: this.props.maxHeight
|
|
138
|
+
? this.props.maxHeight + 'px'
|
|
139
|
+
: '100%',
|
|
140
|
+
}, className: !this.props.disabled ? styles.enabled : styles.disabled },
|
|
141
|
+
items &&
|
|
142
|
+
items.length > 0 &&
|
|
143
|
+
items.map((value, index) => {
|
|
144
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
145
|
+
return (React.createElement("li", { ref: this.registerRef, key: index, draggable: !this.props.disableDragAndDrop && !this.props.disabled, style: {
|
|
146
|
+
cursor: !this.props.disableDragAndDrop && !this.props.disabled
|
|
147
|
+
? 'pointer'
|
|
148
|
+
: 'default',
|
|
149
|
+
} }, this.renderItem(value, index)));
|
|
150
|
+
}),
|
|
151
|
+
items && items.length > 0 && (React.createElement("div", { className: styles.lastBox, ref: (ref) => {
|
|
152
|
+
this._lastBox = ref;
|
|
153
|
+
} })))));
|
|
136
154
|
}
|
|
137
155
|
renderItem(item, index) {
|
|
156
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
138
157
|
return (React.createElement("div", null,
|
|
139
158
|
React.createElement("div", { className: styles.itemBox }, this.renderDisplayValue(item, index)),
|
|
140
|
-
!this.props.removeArrows &&
|
|
141
|
-
React.createElement("div", null, this.renderArrows(index))));
|
|
159
|
+
!this.props.removeArrows && React.createElement("div", null, this.renderArrows(index))));
|
|
142
160
|
}
|
|
143
161
|
renderDisplayValue(item, index) {
|
|
144
|
-
|
|
162
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
163
|
+
if (typeof this.props.onRenderItem === 'function') {
|
|
145
164
|
return this.props.onRenderItem(item, index);
|
|
146
165
|
}
|
|
147
166
|
else {
|
|
148
|
-
return (React.createElement("span", null, this.props.textProperty
|
|
167
|
+
return (React.createElement("span", null, this.props.textProperty
|
|
168
|
+
? item[this.props.textProperty]
|
|
169
|
+
: item.toString()));
|
|
149
170
|
}
|
|
150
171
|
}
|
|
151
172
|
renderArrows(index) {
|
|
@@ -153,22 +174,26 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
153
174
|
root: {
|
|
154
175
|
width: '14px',
|
|
155
176
|
height: '100%',
|
|
156
|
-
display: 'inline-block'
|
|
177
|
+
display: 'inline-block',
|
|
157
178
|
},
|
|
158
179
|
rootDisabled: {
|
|
159
|
-
backgroundColor: 'transparent'
|
|
180
|
+
backgroundColor: 'transparent',
|
|
160
181
|
},
|
|
161
182
|
icon: {
|
|
162
|
-
fontSize:
|
|
163
|
-
}
|
|
183
|
+
fontSize: '10px',
|
|
184
|
+
},
|
|
164
185
|
};
|
|
165
186
|
return (React.createElement("div", null,
|
|
166
|
-
React.createElement(IconButton, { disabled: this.props.disabled || index === 0, iconProps: { iconName: this.props.moveUpIconName }, onClick: () => {
|
|
167
|
-
|
|
187
|
+
React.createElement(IconButton, { disabled: this.props.disabled || index === 0, iconProps: { iconName: this.props.moveUpIconName }, onClick: () => {
|
|
188
|
+
this.onMoveUpClick(index);
|
|
189
|
+
}, styles: arrowButtonStyles }),
|
|
190
|
+
React.createElement(IconButton, { disabled: this.props.disabled || index === this.props.items.length - 1, iconProps: { iconName: this.props.moveDownIconName }, onClick: () => {
|
|
191
|
+
this.onMoveDownClick(index);
|
|
192
|
+
}, styles: arrowButtonStyles })));
|
|
168
193
|
}
|
|
169
194
|
UNSAFE_componentWillMount() {
|
|
170
195
|
this.setState({
|
|
171
|
-
items: this.props.items || []
|
|
196
|
+
items: this.props.items || [],
|
|
172
197
|
});
|
|
173
198
|
}
|
|
174
199
|
componentDidMount() {
|
|
@@ -178,7 +203,7 @@ export default class PropertyFieldOrderHost extends React.Component {
|
|
|
178
203
|
// Check if the provided items are still the same
|
|
179
204
|
if (!isEqual(nextProps.items, this.state.items)) {
|
|
180
205
|
this.setState({
|
|
181
|
-
items: this.props.items || []
|
|
206
|
+
items: this.props.items || [],
|
|
182
207
|
});
|
|
183
208
|
}
|
|
184
209
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldOrderHost.js","sourceRoot":"","sources":["../../../src/propertyFields/order/PropertyFieldOrderHost.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PropertyFieldOrderHost.js","sourceRoot":"","sources":["../../../src/propertyFields/order/PropertyFieldOrderHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,UAAU,EAEV,KAAK,EACL,cAAc,EAEd,UAAU,EACX,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AAKpD,OAAO,MAAM,MAAM,sCAAsC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAGzD;IAQC,YACE,KAAmC,EACnC,KAAmC;QAEnC,KAAK,CAAC,KAAK,CAAC,CAAC;QAsKP,gBAAW,GAAG,CAAC,GAAgB,EAAQ,EAAE;YAC/C,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvB,CAAC,CAAC;QAEM,uBAAkB,GAAG,GAAS,EAAE;YACtC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,IAAI,CAAC,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oBAAC,UAAU,IACT,QAAQ,EACN,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAE9D,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE,EACpD,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC,EACD,MAAM,EAAE,iBAAiB,GACzB,CACE,CACP,CAAC;IACJ,CAAC;IAEM,yBAAyB;QAC9B,IAAI,CAAC,QAAQ,CAAC;YACZ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;IAEM,iBAAiB;QACtB,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAEM,0BAA0B,CAC/B,SAAuC;QAEvC,iDAAiD;QACjD,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;YAC/C,IAAI,CAAC,QAAQ,CAAC;gBACZ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE;aAC9B,CAAC,CAAC;SACJ;IACH,CAAC;IAEM,kBAAkB;QACvB,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC5B,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAEM,oBAAoB;QACzB,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;CAkJF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { IPropertyFieldSpinnerHostProps, IPropertyFieldSpinnerHostState } from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IPropertyFieldSpinnerHostProps, IPropertyFieldSpinnerHostState } from './IPropertyFieldSpinnerHost';
|
|
3
3
|
export default class PropertyFieldSpinnerHost extends React.Component<IPropertyFieldSpinnerHostProps, IPropertyFieldSpinnerHostState> {
|
|
4
4
|
constructor(props: IPropertyFieldSpinnerHostProps);
|
|
5
5
|
componentDidUpdate(prevProps: IPropertyFieldSpinnerHostProps, prevState: IPropertyFieldSpinnerHostState): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldSpinnerHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/spinner/PropertyFieldSpinnerHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyFieldSpinnerHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/spinner/PropertyFieldSpinnerHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,6BAA6B,CAAC;AAIrC,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,KAAK,CAAC,SAAS,CACnE,8BAA8B,EAC9B,8BAA8B,CAC/B;gBACa,KAAK,EAAE,8BAA8B;IAU1C,kBAAkB,CACvB,SAAS,EAAE,8BAA8B,EACzC,SAAS,EAAE,8BAA8B,GACxC,IAAI;IAMA,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,8BAA8B,CAAC;CAapE"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { Spinner } from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Spinner } from '@fluentui/react';
|
|
3
3
|
import * as telemetry from '../../common/telemetry';
|
|
4
4
|
export default class PropertyFieldSpinnerHost extends React.Component {
|
|
5
5
|
constructor(props) {
|
|
6
6
|
super(props);
|
|
7
7
|
telemetry.track('PropertyFieldSpinner', {});
|
|
8
8
|
this.state = {
|
|
9
|
-
isVisible: this.props.isVisible
|
|
9
|
+
isVisible: this.props.isVisible,
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
///
|
|
@@ -16,8 +16,7 @@ export default class PropertyFieldSpinnerHost extends React.Component {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (React.createElement("div", null, this.props.isVisible &&
|
|
20
|
-
React.createElement(Spinner, { className: this.props.className, size: this.props.size, label: this.props.label })));
|
|
19
|
+
return (React.createElement("div", null, this.props.isVisible && (React.createElement(Spinner, { className: this.props.className, size: this.props.size, label: this.props.label }))));
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
//# sourceMappingURL=PropertyFieldSpinnerHost.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldSpinnerHost.js","sourceRoot":"","sources":["../../../src/propertyFields/spinner/PropertyFieldSpinnerHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PropertyFieldSpinnerHost.js","sourceRoot":"","sources":["../../../src/propertyFields/spinner/PropertyFieldSpinnerHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAO1C,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,KAAK,CAAC,SAG3D;IACC,YAAY,KAAqC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,SAAS,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,CAAC,CAAC;QAE5C,IAAI,CAAC,KAAK,GAAG;YACX,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;SAChC,CAAC;IACJ,CAAC;IACD,GAAG;IACI,kBAAkB,CACvB,SAAyC,EACzC,SAAyC;QAEzC,IAAI,SAAS,CAAC,SAAS,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;YAChD,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC;SACpD;IACH,CAAC;IAEM,MAAM;QACX,OAAO,CACL,iCACG,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,CACvB,oBAAC,OAAO,IACN,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GACvB,CACH,CACG,CACP,CAAC;IACJ,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/spfx-property-controls",
|
|
3
3
|
"description": "Reusable property pane controls for SharePoint Framework solutions",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.18.0-beta.1039532",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
|
|
7
7
|
},
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@fluentui/react": "8.106.4",
|
|
24
24
|
"@fluentui/react-components": "^9.48.0",
|
|
25
|
-
"@microsoft/sp-adaptive-card-extension-base": "1.
|
|
26
|
-
"@microsoft/sp-core-library": "1.
|
|
27
|
-
"@microsoft/sp-lodash-subset": "1.
|
|
28
|
-
"@microsoft/sp-office-ui-fabric-core": "1.
|
|
29
|
-
"@microsoft/sp-property-pane": "1.
|
|
30
|
-
"@microsoft/sp-webpart-base": "1.
|
|
25
|
+
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
|
|
26
|
+
"@microsoft/sp-core-library": "1.19.0",
|
|
27
|
+
"@microsoft/sp-lodash-subset": "1.19.0",
|
|
28
|
+
"@microsoft/sp-office-ui-fabric-core": "1.19.0",
|
|
29
|
+
"@microsoft/sp-property-pane": "1.19.0",
|
|
30
|
+
"@microsoft/sp-webpart-base": "1.19.0",
|
|
31
31
|
"@monaco-editor/loader": "^1.2.0",
|
|
32
32
|
"@pnp/common": "1.3.11",
|
|
33
33
|
"@pnp/logging": "1.3.11",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"react-dom": "17.0.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/eslint-config-spfx": "1.
|
|
50
|
-
"@microsoft/eslint-plugin-spfx": "1.
|
|
49
|
+
"@microsoft/eslint-config-spfx": "1.20.1",
|
|
50
|
+
"@microsoft/eslint-plugin-spfx": "1.20.1",
|
|
51
51
|
"@microsoft/rush-stack-compiler-4.5": "0.5.0",
|
|
52
52
|
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
|
|
53
|
-
"@microsoft/sp-build-web": "1.
|
|
54
|
-
"@microsoft/sp-module-interfaces": "1.
|
|
53
|
+
"@microsoft/sp-build-web": "1.20.1",
|
|
54
|
+
"@microsoft/sp-module-interfaces": "1.20.1",
|
|
55
55
|
"@rushstack/eslint-config": "2.5.1",
|
|
56
56
|
"@types/chai": "4.3.4",
|
|
57
57
|
"@types/lodash": "4.14.191",
|
|
@@ -1,134 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bundles": {
|
|
3
3
|
"property-controls-test-web-part": {
|
|
4
|
-
"dependencies": [
|
|
5
|
-
{
|
|
6
|
-
"componentId": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
|
7
|
-
"componentName": "@microsoft/sp-property-pane",
|
|
8
|
-
"componentVersion": "1.18.2",
|
|
9
|
-
"isDirectDependency": true
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"componentId": "01c4df03-e775-48cb-aa14-171ee5199a15",
|
|
13
|
-
"componentName": "tslib",
|
|
14
|
-
"componentVersion": "2.3.1",
|
|
15
|
-
"isDirectDependency": false
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"componentId": "396bbc17-3d18-4f43-8299-d99720d88e22",
|
|
19
|
-
"componentName": "@ms/office-ui-fabric-react-bundle",
|
|
20
|
-
"componentVersion": "1.18.6",
|
|
21
|
-
"isDirectDependency": false
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"componentId": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
|
|
25
|
-
"componentName": "@microsoft/sp-loader",
|
|
26
|
-
"componentVersion": "1.18.2",
|
|
27
|
-
"isDirectDependency": false
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"componentId": "8496636c-2300-4915-abef-20de64c98d8b",
|
|
31
|
-
"componentName": "@microsoft/sp-http-base",
|
|
32
|
-
"componentVersion": "1.18.2",
|
|
33
|
-
"isDirectDependency": false
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"componentId": "2e09fb9b-13bb-48f2-859f-97d6fff71176",
|
|
37
|
-
"componentName": "@ms/odsp-core-bundle",
|
|
38
|
-
"componentVersion": "1.3.342",
|
|
39
|
-
"isDirectDependency": false
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"componentId": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
|
43
|
-
"componentName": "@microsoft/sp-core-library",
|
|
44
|
-
"componentVersion": "1.18.2",
|
|
45
|
-
"isDirectDependency": false
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"componentId": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
|
49
|
-
"componentName": "@microsoft/sp-page-context",
|
|
50
|
-
"componentVersion": "1.18.2",
|
|
51
|
-
"isDirectDependency": false
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"componentId": "e40f8203-b39d-425a-a957-714852e33b79",
|
|
55
|
-
"componentName": "@microsoft/sp-dynamic-data",
|
|
56
|
-
"componentVersion": "1.18.2",
|
|
57
|
-
"isDirectDependency": false
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"componentId": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
|
61
|
-
"componentName": "@microsoft/sp-lodash-subset",
|
|
62
|
-
"componentVersion": "1.18.2",
|
|
63
|
-
"isDirectDependency": false
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"componentId": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
|
|
67
|
-
"componentName": "@microsoft/sp-diagnostics",
|
|
68
|
-
"componentVersion": "1.18.2",
|
|
69
|
-
"isDirectDependency": false
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"componentId": "8217e442-8ed3-41fd-957d-b112e841286a",
|
|
73
|
-
"componentName": "@ms/sp-telemetry",
|
|
74
|
-
"componentVersion": "0.31.35",
|
|
75
|
-
"isDirectDependency": false
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"componentId": "229b8d08-79f3-438b-8c21-4613fc877abd",
|
|
79
|
-
"componentName": "@microsoft/load-themed-styles",
|
|
80
|
-
"componentVersion": "0.1.2",
|
|
81
|
-
"isDirectDependency": false
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"componentId": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
|
85
|
-
"componentName": "react",
|
|
86
|
-
"componentVersion": "17.0.1",
|
|
87
|
-
"isDirectDependency": false
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"componentId": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
|
91
|
-
"componentName": "react-dom",
|
|
92
|
-
"componentVersion": "17.0.1",
|
|
93
|
-
"isDirectDependency": false
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"componentId": "8494e7d7-6b99-47b2-a741-59873e42f16f",
|
|
97
|
-
"componentName": "@ms/sp-component-utilities",
|
|
98
|
-
"componentVersion": "12.35.2",
|
|
99
|
-
"isDirectDependency": false
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"componentId": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
|
103
|
-
"componentName": "@microsoft/sp-webpart-base",
|
|
104
|
-
"componentVersion": "1.18.2",
|
|
105
|
-
"isDirectDependency": true
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"componentId": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
|
109
|
-
"componentName": "@microsoft/sp-component-base",
|
|
110
|
-
"componentVersion": "1.18.2",
|
|
111
|
-
"isDirectDependency": false
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"componentId": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
|
115
|
-
"componentName": "@microsoft/sp-http",
|
|
116
|
-
"componentVersion": "1.18.2",
|
|
117
|
-
"isDirectDependency": false
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"componentId": "aec2bbfd-a968-4d5b-a279-12e570f378e6",
|
|
121
|
-
"componentName": "@microsoft/sp-http-msgraph",
|
|
122
|
-
"componentVersion": "1.18.2",
|
|
123
|
-
"isDirectDependency": false
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"componentId": "42647dee-1f75-4b9f-b521-5c844a6c35cc",
|
|
127
|
-
"componentName": "@ms/sp-edit-customer-promise",
|
|
128
|
-
"componentVersion": "0.1.0",
|
|
129
|
-
"isDirectDependency": false
|
|
130
|
-
}
|
|
131
|
-
],
|
|
4
|
+
"dependencies": [],
|
|
132
5
|
"asyncChunks": {}
|
|
133
6
|
}
|
|
134
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "bd19c378-ab07-4eaa-9bb6-0e329932d8bf",
|
|
3
3
|
"alias": "PropertyControlsTestWebPart",
|
|
4
4
|
"componentType": "WebPart",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.18.0",
|
|
6
6
|
"manifestVersion": 2,
|
|
7
7
|
"requiresCustomScript": false,
|
|
8
8
|
"supportedHosts": [
|
|
@@ -61,36 +61,16 @@
|
|
|
61
61
|
"type": "path",
|
|
62
62
|
"path": "property-controls-test-web-part.js"
|
|
63
63
|
},
|
|
64
|
-
"@microsoft/sp-property-pane": {
|
|
65
|
-
"type": "component",
|
|
66
|
-
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
|
67
|
-
"version": "1.18.2"
|
|
68
|
-
},
|
|
69
|
-
"@microsoft/sp-lodash-subset": {
|
|
70
|
-
"type": "component",
|
|
71
|
-
"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
|
72
|
-
"version": "1.18.2"
|
|
73
|
-
},
|
|
74
|
-
"@microsoft/sp-core-library": {
|
|
75
|
-
"type": "component",
|
|
76
|
-
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
|
77
|
-
"version": "1.18.2"
|
|
78
|
-
},
|
|
79
|
-
"@microsoft/sp-page-context": {
|
|
80
|
-
"type": "component",
|
|
81
|
-
"id": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
|
82
|
-
"version": "1.18.2"
|
|
83
|
-
},
|
|
84
|
-
"@microsoft/sp-webpart-base": {
|
|
85
|
-
"type": "component",
|
|
86
|
-
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
|
87
|
-
"version": "1.18.2"
|
|
88
|
-
},
|
|
89
64
|
"react": {
|
|
90
65
|
"type": "component",
|
|
91
66
|
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
|
92
67
|
"version": "17.0.1"
|
|
93
68
|
},
|
|
69
|
+
"react-dom": {
|
|
70
|
+
"type": "component",
|
|
71
|
+
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
|
72
|
+
"version": "17.0.1"
|
|
73
|
+
},
|
|
94
74
|
"PropertyControlsTestWebPartStrings": {
|
|
95
75
|
"type": "localizedPath",
|
|
96
76
|
"paths": {
|
|
@@ -99,15 +79,20 @@
|
|
|
99
79
|
},
|
|
100
80
|
"defaultPath": "PropertyControlsTestWebPartStrings_en-us.js"
|
|
101
81
|
},
|
|
102
|
-
"
|
|
82
|
+
"@microsoft/sp-core-library": {
|
|
103
83
|
"type": "component",
|
|
104
|
-
"id": "
|
|
105
|
-
"version": "
|
|
84
|
+
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
|
85
|
+
"version": "1.19.0"
|
|
106
86
|
},
|
|
107
|
-
"@microsoft/sp-
|
|
87
|
+
"@microsoft/sp-property-pane": {
|
|
108
88
|
"type": "component",
|
|
109
|
-
"id": "
|
|
110
|
-
"version": "1.
|
|
89
|
+
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
|
90
|
+
"version": "1.19.0"
|
|
91
|
+
},
|
|
92
|
+
"@microsoft/sp-webpart-base": {
|
|
93
|
+
"type": "component",
|
|
94
|
+
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
|
95
|
+
"version": "1.19.0"
|
|
111
96
|
},
|
|
112
97
|
"PropertyControlStrings": {
|
|
113
98
|
"type": "localizedPath",
|
|
@@ -145,6 +130,21 @@
|
|
|
145
130
|
"zh-TW": "PropertyControlStrings_zh-tw.js"
|
|
146
131
|
},
|
|
147
132
|
"defaultPath": "PropertyControlStrings_en-us.js"
|
|
133
|
+
},
|
|
134
|
+
"@microsoft/sp-lodash-subset": {
|
|
135
|
+
"type": "component",
|
|
136
|
+
"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
|
137
|
+
"version": "1.19.0"
|
|
138
|
+
},
|
|
139
|
+
"@microsoft/sp-http": {
|
|
140
|
+
"type": "component",
|
|
141
|
+
"id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
|
142
|
+
"version": "1.19.0"
|
|
143
|
+
},
|
|
144
|
+
"@microsoft/sp-page-context": {
|
|
145
|
+
"type": "component",
|
|
146
|
+
"id": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
|
147
|
+
"version": "1.19.0"
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|