@pnp/spfx-property-controls 3.17.0 → 3.17.1-beta.9811713
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 +7 -0
- package/lib/common/placeholderWithCallout/PlaceholderWithCallout.d.ts.map +1 -1
- package/lib/common/placeholderWithCallout/PlaceholderWithCallout.js +15 -8
- package/lib/common/placeholderWithCallout/PlaceholderWithCallout.js.map +1 -1
- package/lib/common/propertyFieldHeader/PropertyFieldHeader.d.ts.map +1 -1
- package/lib/common/propertyFieldHeader/PropertyFieldHeader.js +18 -12
- package/lib/common/propertyFieldHeader/PropertyFieldHeader.js.map +1 -1
- package/lib/common/telemetry/version.d.ts.map +1 -1
- package/lib/common/telemetry/version.js +1 -1
- package/lib/common/telemetry/version.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/propertyFields/buttonWithCallout/IPropertyFieldButtonWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/buttonWithCallout/IPropertyFieldButtonWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/buttonWithCallout/PropertyFieldButtonWithCallout.js +1 -1
- package/lib/propertyFields/buttonWithCallout/PropertyFieldButtonWithCallout.js.map +1 -1
- package/lib/propertyFields/buttonWithCallout/PropertyFieldButtonWithCalloutHost.js +1 -1
- package/lib/propertyFields/buttonWithCallout/PropertyFieldButtonWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/checkboxWithCallout/IPropertyFieldCheckboxWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/checkboxWithCallout/IPropertyFieldCheckboxWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/checkboxWithCallout/PropertyFieldCheckboxWithCalloutHost.js +1 -1
- package/lib/propertyFields/checkboxWithCallout/PropertyFieldCheckboxWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.js +1 -1
- package/lib/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/collectionData/IBaseCollectionFIeldsProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/IBaseCollectionFIeldsProps.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/ICustomCollectionField.d.ts +3 -5
- package/lib/propertyFields/collectionData/ICustomCollectionField.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/ICustomCollectionField.js.map +1 -1
- package/lib/propertyFields/collectionData/IPropertyFieldCollectionData.d.ts +3 -3
- package/lib/propertyFields/collectionData/IPropertyFieldCollectionData.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionData.d.ts +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionData.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionData.js +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionData.js.map +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionDataHost.d.ts +2 -2
- package/lib/propertyFields/collectionData/PropertyFieldCollectionDataHost.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/PropertyFieldCollectionDataHost.js +14 -15
- package/lib/propertyFields/collectionData/PropertyFieldCollectionDataHost.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionCheckboxField/CollectionCheckboxField.js +1 -1
- package/lib/propertyFields/collectionData/collectionCheckboxField/CollectionCheckboxField.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionColorField/CollectionColorField.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionColorField/CollectionColorField.js +1 -3
- package/lib/propertyFields/collectionData/collectionColorField/CollectionColorField.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionColorField/ICollectionColorFieldProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionColorField/ICollectionColorFieldProps.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataItem/CollectionDataItem.d.ts +4 -3
- package/lib/propertyFields/collectionData/collectionDataItem/CollectionDataItem.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataItem/CollectionDataItem.js +90 -55
- package/lib/propertyFields/collectionData/collectionDataItem/CollectionDataItem.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataItem/ICollectionDataItemProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionDataItem/ICollectionDataItemState.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionDataViewer/CollectionDataViewer.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataViewer/CollectionDataViewer.js +33 -21
- package/lib/propertyFields/collectionData/collectionDataViewer/CollectionDataViewer.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataViewer/ICollectionDataViewerProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionDataViewer/ICollectionDataViewerProps.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionDataViewer/ICollectionDataViewerState.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionDropdownField/CollectionDropdownField.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionDropdownField/CollectionDropdownField.js +1 -1
- package/lib/propertyFields/collectionData/collectionDropdownField/CollectionDropdownField.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionIconField/CollectionIconField.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionIconField/CollectionIconField.js +1 -3
- package/lib/propertyFields/collectionData/collectionIconField/CollectionIconField.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionIconField/ICollectionIconFieldProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionIconField/index.d.ts +2 -2
- package/lib/propertyFields/collectionData/collectionIconField/index.js +2 -2
- package/lib/propertyFields/collectionData/collectionNumberField/CollectionNumberField.d.ts.map +1 -1
- package/lib/propertyFields/collectionData/collectionNumberField/CollectionNumberField.js +20 -11
- package/lib/propertyFields/collectionData/collectionNumberField/CollectionNumberField.js.map +1 -1
- package/lib/propertyFields/collectionData/collectionNumberField/ICollectionNumberFieldProps.d.ts +1 -1
- package/lib/propertyFields/collectionData/collectionNumberField/ICollectionNumberFieldProps.d.ts.map +1 -1
- package/lib/propertyFields/colorPicker/IPropertyFieldColorPicker.d.ts +1 -1
- package/lib/propertyFields/colorPicker/IPropertyFieldColorPicker.d.ts.map +1 -1
- package/lib/propertyFields/colorPicker/PropertyFieldColorPicker.js +1 -1
- package/lib/propertyFields/colorPicker/PropertyFieldColorPicker.js.map +1 -1
- package/lib/propertyFields/dateTimePicker/HoursComponent.js +1 -1
- package/lib/propertyFields/dateTimePicker/HoursComponent.js.map +1 -1
- package/lib/propertyFields/dateTimePicker/IPropertyFieldDateTimePickerHost.d.ts +1 -1
- package/lib/propertyFields/dateTimePicker/IPropertyFieldDateTimePickerHost.d.ts.map +1 -1
- package/lib/propertyFields/dateTimePicker/MinutesComponent.js +1 -1
- package/lib/propertyFields/dateTimePicker/MinutesComponent.js.map +1 -1
- package/lib/propertyFields/dateTimePicker/SecondsComponent.js +1 -1
- package/lib/propertyFields/dateTimePicker/SecondsComponent.js.map +1 -1
- package/lib/propertyFields/dropdownWithCallout/IPropertyFieldDropdownWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/dropdownWithCallout/IPropertyFieldDropdownWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/dropdownWithCallout/PropertyFieldDropdownWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/dropdownWithCallout/PropertyFieldDropdownWithCalloutHost.js +4 -5
- package/lib/propertyFields/dropdownWithCallout/PropertyFieldDropdownWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/filePicker/PropertyFieldFilePickerHost.d.ts +2 -2
- package/lib/propertyFields/filePicker/PropertyFieldFilePickerHost.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/PropertyFieldFilePickerHost.js +55 -11
- package/lib/propertyFields/filePicker/PropertyFieldFilePickerHost.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/FilePicker.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/FilePicker.js +46 -46
- package/lib/propertyFields/filePicker/filePickerControls/FilePicker.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/LinkFilePickerTab/LinkFilePickerTab.d.ts +2 -1
- package/lib/propertyFields/filePicker/filePickerControls/LinkFilePickerTab/LinkFilePickerTab.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/LinkFilePickerTab/LinkFilePickerTab.js +22 -13
- package/lib/propertyFields/filePicker/filePickerControls/LinkFilePickerTab/LinkFilePickerTab.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/RecentFilesTab/RecentFilesTab.d.ts +2 -2
- package/lib/propertyFields/filePicker/filePickerControls/RecentFilesTab/RecentFilesTab.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/RecentFilesTab/RecentFilesTab.js +22 -25
- package/lib/propertyFields/filePicker/filePickerControls/RecentFilesTab/RecentFilesTab.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/SiteFilePickerTab/SiteFilePickerTab.d.ts +2 -1
- package/lib/propertyFields/filePicker/filePickerControls/SiteFilePickerTab/SiteFilePickerTab.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/SiteFilePickerTab/SiteFilePickerTab.js +42 -30
- package/lib/propertyFields/filePicker/filePickerControls/SiteFilePickerTab/SiteFilePickerTab.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/UploadFilePickerTab/UploadFilePickerTab.d.ts +2 -1
- package/lib/propertyFields/filePicker/filePickerControls/UploadFilePickerTab/UploadFilePickerTab.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/UploadFilePickerTab/UploadFilePickerTab.js +1 -2
- package/lib/propertyFields/filePicker/filePickerControls/UploadFilePickerTab/UploadFilePickerTab.js.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/WebSearchTab/WebSearchTab.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/filePickerControls/WebSearchTab/WebSearchTab.js +45 -52
- package/lib/propertyFields/filePicker/filePickerControls/WebSearchTab/WebSearchTab.js.map +1 -1
- package/lib/propertyFields/filePicker/placeHolderControl/PlaceholderComponent.d.ts.map +1 -1
- package/lib/propertyFields/filePicker/placeHolderControl/PlaceholderComponent.js +1 -2
- package/lib/propertyFields/filePicker/placeHolderControl/PlaceholderComponent.js.map +1 -1
- package/lib/propertyFields/labelWithCallout/IPropertyFieldLabelWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/labelWithCallout/IPropertyFieldLabelWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/labelWithCallout/PropertyFieldLabelWithCalloutHost.js +1 -1
- package/lib/propertyFields/labelWithCallout/PropertyFieldLabelWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/linkWithCallout/IPropertyFieldLinkWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/linkWithCallout/IPropertyFieldLinkWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/linkWithCallout/PropertyFieldLinkWithCalloutHost.js +1 -1
- package/lib/propertyFields/linkWithCallout/PropertyFieldLinkWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/monacoEditor/monacoEditorControl/Error.d.ts +1 -1
- package/lib/propertyFields/monacoEditor/monacoEditorControl/Error.d.ts.map +1 -1
- package/lib/propertyFields/monacoEditor/monacoEditorControl/Error.js +3 -4
- package/lib/propertyFields/monacoEditor/monacoEditorControl/Error.js.map +1 -1
- package/lib/propertyFields/multiSelect/IPropertyFieldMultiSelectHost.d.ts +1 -1
- package/lib/propertyFields/multiSelect/IPropertyFieldMultiSelectHost.d.ts.map +1 -1
- package/lib/propertyFields/multiSelect/PropertyFieldMultiSelectHost.js +1 -1
- package/lib/propertyFields/multiSelect/PropertyFieldMultiSelectHost.js.map +1 -1
- package/lib/propertyFields/sliderWithCallout/IPropertyFieldSliderWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/sliderWithCallout/IPropertyFieldSliderWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/sliderWithCallout/PropertyFieldSliderWithCalloutHost.js +1 -1
- package/lib/propertyFields/sliderWithCallout/PropertyFieldSliderWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/spinButton/PropertyFieldSpinButtonHost.d.ts.map +1 -1
- package/lib/propertyFields/spinButton/PropertyFieldSpinButtonHost.js +3 -4
- package/lib/propertyFields/spinButton/PropertyFieldSpinButtonHost.js.map +1 -1
- package/lib/propertyFields/swatchColorPicker/IPropertyFieldSwatchColorPicker.d.ts +1 -1
- package/lib/propertyFields/swatchColorPicker/IPropertyFieldSwatchColorPicker.d.ts.map +1 -1
- package/lib/propertyFields/swatchColorPicker/PropertyFieldSwatchColorPicker.js +1 -1
- package/lib/propertyFields/swatchColorPicker/PropertyFieldSwatchColorPicker.js.map +1 -1
- package/lib/propertyFields/textWithCallout/IPropertyFieldTextWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/textWithCallout/IPropertyFieldTextWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/textWithCallout/PropertyFieldTextWithCalloutHost.js +1 -1
- package/lib/propertyFields/textWithCallout/PropertyFieldTextWithCalloutHost.js.map +1 -1
- package/lib/propertyFields/toggleWithCallout/IPropertyFieldToggleWithCalloutHost.d.ts +1 -1
- package/lib/propertyFields/toggleWithCallout/IPropertyFieldToggleWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/toggleWithCallout/PropertyFieldToggleWithCalloutHost.d.ts.map +1 -1
- package/lib/propertyFields/toggleWithCallout/PropertyFieldToggleWithCalloutHost.js +2 -2
- package/lib/propertyFields/toggleWithCallout/PropertyFieldToggleWithCalloutHost.js.map +1 -1
- package/package.json +2 -2
- package/release/manifests/bd19c378-ab07-4eaa-9bb6-0e329932d8bf.manifest.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"versions": [
|
|
3
|
+
{
|
|
4
|
+
"version": "3.17.1",
|
|
5
|
+
"changes": {
|
|
6
|
+
"new": [],
|
|
7
|
+
"enhancements": [],
|
|
8
|
+
"fixes": [
|
|
9
|
+
"Fixes for Webpack 5: [#621](https://github.com/pnp/sp-dev-fx-property-controls/pull/621)"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"contributions": []
|
|
13
|
+
},
|
|
3
14
|
{
|
|
4
15
|
"version": "3.17.0",
|
|
5
16
|
"changes": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
+
## 3.17.1
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- Fixes for Webpack 5: [#621](https://github.com/pnp/sp-dev-fx-property-controls/pull/621)
|
|
8
|
+
|
|
3
9
|
## 3.17.0
|
|
4
10
|
|
|
5
11
|
### New control(s)
|
|
6
12
|
|
|
7
13
|
- `PropertyFieldButton`: New Control PropertyFieldButton [#613](https://github.com/pnp/sp-dev-fx-property-controls/pull/613)
|
|
14
|
+
- `PropertyFieldGrid`: New Control PropertyFieldGrid [#614](https://github.com/pnp/sp-dev-fx-property-controls/pull/614)
|
|
8
15
|
|
|
9
16
|
### Enhancements
|
|
10
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlaceholderWithCallout.d.ts","sourceRoot":"","sources":["../../../src/common/placeholderWithCallout/PlaceholderWithCallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"PlaceholderWithCallout.d.ts","sourceRoot":"","sources":["../../../src/common/placeholderWithCallout/PlaceholderWithCallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,2BAA2B,CAAC;AAKnC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAAS,CACjE,4BAA4B,EAC5B,4BAA4B,CAC7B;IACC,OAAO,CAAC,SAAS,CAAc;gBAG7B,KAAK,EAAE,4BAA4B,EACnC,KAAK,EAAE,4BAA4B;IAS9B,MAAM,IAAI,GAAG,CAAC,OAAO;IA+C5B,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,oBAAoB;IAY5B,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,gBAAgB;CASzB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Callout, DirectionalHint } from '@fluentui/react
|
|
2
|
+
import { Callout, DirectionalHint, getIconClassName } from '@fluentui/react';
|
|
3
3
|
import { CalloutTriggers } from '../callout/Callout';
|
|
4
|
-
import { getIconClassName } from '@fluentui/react/lib/Styling';
|
|
5
4
|
import styles from './PlaceholderWithCallout.module.scss';
|
|
6
5
|
/**
|
|
7
6
|
* PlaceholderWithCallout component.
|
|
@@ -12,20 +11,28 @@ export default class PlaceholderWithCallout extends React.Component {
|
|
|
12
11
|
super(props, state);
|
|
13
12
|
this._onCalloutDismiss = this._onCalloutDismiss.bind(this);
|
|
14
13
|
this.state = {
|
|
15
|
-
isCalloutVisible: false
|
|
14
|
+
isCalloutVisible: false,
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
17
|
render() {
|
|
19
18
|
return (React.createElement("div", { className: styles.placeholder },
|
|
20
19
|
React.createElement("div", { className: styles.children }, this.props.children),
|
|
21
20
|
React.createElement("div", { className: styles.info },
|
|
22
|
-
React.createElement("i", { className: getIconClassName('Info'), ref: (infoIcon) => {
|
|
21
|
+
React.createElement("i", { className: getIconClassName('Info'), ref: (infoIcon) => {
|
|
22
|
+
this._infoIcon = infoIcon;
|
|
23
|
+
}, onMouseOver: this.props.calloutTrigger === CalloutTriggers.Hover
|
|
24
|
+
? this._onInfoIconMouseOver.bind(this)
|
|
25
|
+
: null, onMouseOut: this.props.calloutTrigger === CalloutTriggers.Hover
|
|
26
|
+
? this._onInfoIconMouseOut.bind(this)
|
|
27
|
+
: null, onClick: this.props.calloutTrigger === CalloutTriggers.Click
|
|
28
|
+
? this._onInfoIconClick.bind(this)
|
|
29
|
+
: null })),
|
|
23
30
|
this.state.isCalloutVisible && (React.createElement(Callout, { className: styles.callout, target: this._infoIcon, isBeakVisible: true, directionalHint: DirectionalHint.leftCenter, directionalHintForRTL: DirectionalHint.rightCenter, onDismiss: this._onCalloutDismiss, gapSpace: this.props.gapSpace !== undefined ? this.props.gapSpace : 5, calloutWidth: this.props.calloutWidth }, this.props.calloutContent))));
|
|
24
31
|
}
|
|
25
32
|
_onCalloutDismiss() {
|
|
26
33
|
if (this.state.isCalloutVisible) {
|
|
27
34
|
this.setState({
|
|
28
|
-
isCalloutVisible: false
|
|
35
|
+
isCalloutVisible: false,
|
|
29
36
|
});
|
|
30
37
|
}
|
|
31
38
|
}
|
|
@@ -35,7 +42,7 @@ export default class PlaceholderWithCallout extends React.Component {
|
|
|
35
42
|
}
|
|
36
43
|
if (!this.state.isCalloutVisible) {
|
|
37
44
|
this.setState({
|
|
38
|
-
isCalloutVisible: true
|
|
45
|
+
isCalloutVisible: true,
|
|
39
46
|
});
|
|
40
47
|
}
|
|
41
48
|
}
|
|
@@ -50,7 +57,7 @@ export default class PlaceholderWithCallout extends React.Component {
|
|
|
50
57
|
}
|
|
51
58
|
}
|
|
52
59
|
this.setState({
|
|
53
|
-
isCalloutVisible: false
|
|
60
|
+
isCalloutVisible: false,
|
|
54
61
|
});
|
|
55
62
|
}
|
|
56
63
|
_onInfoIconClick() {
|
|
@@ -58,7 +65,7 @@ export default class PlaceholderWithCallout extends React.Component {
|
|
|
58
65
|
return;
|
|
59
66
|
}
|
|
60
67
|
this.setState({
|
|
61
|
-
isCalloutVisible: !this.state.isCalloutVisible
|
|
68
|
+
isCalloutVisible: !this.state.isCalloutVisible,
|
|
62
69
|
});
|
|
63
70
|
}
|
|
64
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlaceholderWithCallout.js","sourceRoot":"","sources":["../../../src/common/placeholderWithCallout/PlaceholderWithCallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"PlaceholderWithCallout.js","sourceRoot":"","sources":["../../../src/common/placeholderWithCallout/PlaceholderWithCallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAK7E,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,MAAM,MAAM,sCAAsC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAGzD;IAGC,YACE,KAAmC,EACnC,KAAmC;QAEnC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACpB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3D,IAAI,CAAC,KAAK,GAAG;YACX,gBAAgB,EAAE,KAAK;SACxB,CAAC;IACJ,CAAC;IAEM,MAAM;QACX,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW;YAChC,6BAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,IAAG,IAAI,CAAC,KAAK,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ACG,CACP,CAAC;IACJ,CAAC;IAEO,iBAAiB;QACvB,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;YAC/B,IAAI,CAAC,QAAQ,CAAC;gBACZ,gBAAgB,EAAE,KAAK;aACxB,CAAC,CAAC;SACJ;IACH,CAAC;IAEO,oBAAoB;QAC1B,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,eAAe,CAAC,KAAK,EAAE;YACvD,OAAO;SACR;QAED,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;YAChC,IAAI,CAAC,QAAQ,CAAC;gBACZ,gBAAgB,EAAE,IAAI;aACvB,CAAC,CAAC;SACJ;IACH,CAAC;IAEO,mBAAmB,CAAC,CAAa;QACvC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,eAAe,CAAC,KAAK,EAAE;YACvD,OAAO;SACR;QAED,IAAI,CAAC,CAAC,aAAa,EAAE;YACnB,MAAM,aAAa,GAAgB,CAAC,CAAC,aAA4B,CAAC;YAClE,IAAI,aAAa,IAAI,aAAa,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE;gBACnE,OAAO;aACR;SACF;QAED,IAAI,CAAC,QAAQ,CAAC;YACZ,gBAAgB,EAAE,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAEO,gBAAgB;QACtB,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,eAAe,CAAC,KAAK,EAAE;YACvD,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,CAAC;YACZ,gBAAgB,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB;SAC/C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldHeader.d.ts","sourceRoot":"","sources":["../../../src/common/propertyFieldHeader/PropertyFieldHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyFieldHeader.d.ts","sourceRoot":"","sources":["../../../src/common/propertyFieldHeader/PropertyFieldHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAE1B,MAAM,wBAAwB,CAAC;AAIhC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAC9D,yBAAyB,EACzB,yBAAyB,CAC1B;IACC,OAAO,CAAC,SAAS,CAAc;gBAG7B,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,yBAAyB;IAS3B,MAAM,IAAI,GAAG,CAAC,OAAO;IA6D5B,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,oBAAoB;IAY5B,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,gBAAgB;CASzB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Callout, DirectionalHint } from '@fluentui/react
|
|
3
|
-
import { CalloutTriggers } from './IPropertyFieldHeader';
|
|
4
|
-
import { getIconClassName } from '@fluentui/react/lib/Styling';
|
|
5
|
-
import { css } from '@fluentui/react/lib/Utilities';
|
|
2
|
+
import { Callout, DirectionalHint, css, getIconClassName, } from '@fluentui/react';
|
|
3
|
+
import { CalloutTriggers, } from './IPropertyFieldHeader';
|
|
6
4
|
import styles from './PropertyFieldHeader.module.scss';
|
|
7
5
|
/**
|
|
8
6
|
* PropertyFieldHeader component.
|
|
@@ -13,23 +11,31 @@ export default class PropertyFieldHeader extends React.Component {
|
|
|
13
11
|
super(props, state);
|
|
14
12
|
this._onCalloutDismiss = this._onCalloutDismiss.bind(this);
|
|
15
13
|
this.state = {
|
|
16
|
-
isCalloutVisible: false
|
|
14
|
+
isCalloutVisible: false,
|
|
17
15
|
};
|
|
18
16
|
}
|
|
19
17
|
render() {
|
|
20
|
-
const { disabled, label, calloutContent, calloutTrigger, calloutWidth, gapSpace } = this.props;
|
|
18
|
+
const { disabled, label, calloutContent, calloutTrigger, calloutWidth, gapSpace, } = this.props;
|
|
21
19
|
return (React.createElement("div", { className: css({
|
|
22
20
|
[styles.headerBar]: true,
|
|
23
|
-
[styles.isDisabled]: !!disabled
|
|
21
|
+
[styles.isDisabled]: !!disabled,
|
|
24
22
|
}) },
|
|
25
23
|
React.createElement("div", { className: styles.header }, label),
|
|
26
|
-
React.createElement("div", { className: styles.info }, calloutContent && (React.createElement("i", { className: getIconClassName('Info'), ref: (infoIcon) => {
|
|
24
|
+
React.createElement("div", { className: styles.info }, calloutContent && (React.createElement("i", { className: getIconClassName('Info'), ref: (infoIcon) => {
|
|
25
|
+
this._infoIcon = infoIcon;
|
|
26
|
+
}, onMouseOver: !disabled && calloutTrigger === CalloutTriggers.Hover
|
|
27
|
+
? this._onInfoIconMouseOver.bind(this)
|
|
28
|
+
: null, onMouseOut: !disabled && calloutTrigger === CalloutTriggers.Hover
|
|
29
|
+
? this._onInfoIconMouseOut.bind(this)
|
|
30
|
+
: null, onClick: !disabled && calloutTrigger === CalloutTriggers.Click
|
|
31
|
+
? this._onInfoIconClick.bind(this)
|
|
32
|
+
: null }))),
|
|
27
33
|
this.state.isCalloutVisible && (React.createElement(Callout, { className: styles.headerCallout, target: this._infoIcon, isBeakVisible: true, directionalHint: DirectionalHint.leftCenter, directionalHintForRTL: DirectionalHint.rightCenter, onDismiss: this._onCalloutDismiss, gapSpace: gapSpace !== undefined ? gapSpace : 5, calloutWidth: calloutWidth }, calloutContent))));
|
|
28
34
|
}
|
|
29
35
|
_onCalloutDismiss() {
|
|
30
36
|
if (this.state.isCalloutVisible) {
|
|
31
37
|
this.setState({
|
|
32
|
-
isCalloutVisible: false
|
|
38
|
+
isCalloutVisible: false,
|
|
33
39
|
});
|
|
34
40
|
}
|
|
35
41
|
}
|
|
@@ -39,7 +45,7 @@ export default class PropertyFieldHeader extends React.Component {
|
|
|
39
45
|
}
|
|
40
46
|
if (!this.state.isCalloutVisible) {
|
|
41
47
|
this.setState({
|
|
42
|
-
isCalloutVisible: true
|
|
48
|
+
isCalloutVisible: true,
|
|
43
49
|
});
|
|
44
50
|
}
|
|
45
51
|
}
|
|
@@ -54,7 +60,7 @@ export default class PropertyFieldHeader extends React.Component {
|
|
|
54
60
|
}
|
|
55
61
|
}
|
|
56
62
|
this.setState({
|
|
57
|
-
isCalloutVisible: false
|
|
63
|
+
isCalloutVisible: false,
|
|
58
64
|
});
|
|
59
65
|
}
|
|
60
66
|
_onInfoIconClick() {
|
|
@@ -62,7 +68,7 @@ export default class PropertyFieldHeader extends React.Component {
|
|
|
62
68
|
return;
|
|
63
69
|
}
|
|
64
70
|
this.setState({
|
|
65
|
-
isCalloutVisible: !this.state.isCalloutVisible
|
|
71
|
+
isCalloutVisible: !this.state.isCalloutVisible,
|
|
66
72
|
});
|
|
67
73
|
}
|
|
68
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldHeader.js","sourceRoot":"","sources":["../../../src/common/propertyFieldHeader/PropertyFieldHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"PropertyFieldHeader.js","sourceRoot":"","sources":["../../../src/common/propertyFieldHeader/PropertyFieldHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,OAAO,EACP,eAAe,EACf,GAAG,EACH,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAGL,eAAe,GAChB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,MAAM,MAAM,mCAAmC,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,KAAK,CAAC,SAGtD;IAGC,YACE,KAAgC,EAChC,KAAgC;QAEhC,KAAK,CAAC,KAAK,E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;SACxB,CAAC,CAAC;IACL,CAAC;IAEO,gBAAgB;QACtB,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,eAAe,CAAC,KAAK,EAAE;YACvD,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,CAAC;YACZ,gBAAgB,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB;SAC/C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,EAAE,MAA8B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "3.17.
|
|
1
|
+
export const version = "3.17.1-beta.9811713";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAW,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAW,qBAAqB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './PropertyFieldGuid';
|
|
|
11
11
|
export * from './PropertyFieldButtonWithCallout';
|
|
12
12
|
export * from './PropertyFieldCheckboxWithCallout';
|
|
13
13
|
export * from './PropertyFieldChoiceGroupWithCallout';
|
|
14
|
+
export * from './PropertyFieldCollectionData';
|
|
14
15
|
export * from './PropertyFieldDropdownWithCallout';
|
|
15
16
|
export * from './PropertyFieldLabelWithCallout';
|
|
16
17
|
export * from './PropertyFieldLinkWithCallout';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -11,6 +11,7 @@ export * from './PropertyFieldGuid';
|
|
|
11
11
|
export * from './PropertyFieldButtonWithCallout';
|
|
12
12
|
export * from './PropertyFieldCheckboxWithCallout';
|
|
13
13
|
export * from './PropertyFieldChoiceGroupWithCallout';
|
|
14
|
+
export * from './PropertyFieldCollectionData';
|
|
14
15
|
export * from './PropertyFieldDropdownWithCallout';
|
|
15
16
|
export * from './PropertyFieldLabelWithCallout';
|
|
16
17
|
export * from './PropertyFieldLinkWithCallout';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,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B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPlaceholderWithCalloutProps } from '../../common/placeholderWithCallout/IPlaceholderWithCallout';
|
|
2
|
-
import { IButtonProps } from '@fluentui/react
|
|
2
|
+
import { IButtonProps } from '@fluentui/react';
|
|
3
3
|
/**
|
|
4
4
|
* PropertyFieldButtonWithCalloutHost properties interface
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldButtonWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/IPropertyFieldButtonWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IPropertyFieldButtonWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/IPropertyFieldButtonWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,YAAY,EAAE,4BAA4B;CAC3G"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import * as ReactDOM from 'react-dom';
|
|
3
3
|
import { PropertyPaneFieldType, } from '@microsoft/sp-property-pane';
|
|
4
4
|
import PropertyFieldButtonHost from './PropertyFieldButtonWithCalloutHost';
|
|
5
|
-
import { ButtonType } from '@fluentui/react
|
|
5
|
+
import { ButtonType } from '@fluentui/react';
|
|
6
6
|
import omit from 'lodash/omit';
|
|
7
7
|
/**
|
|
8
8
|
* Represents a PropertyFieldButtonWithCallout object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldButtonWithCallout.js","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/PropertyFieldButtonWithCallout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAEH,qBAAqB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,uBAAuB,MAAM,sCAAsC,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PropertyFieldButtonWithCallout.js","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/PropertyFieldButtonWithCallout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAEH,qBAAqB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,uBAAuB,MAAM,sCAAsC,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,IAAI,MAAM,aAAa,CAAC;AAE/B;;GAEG;AACH,MAAM,qCAAqC;IAMvC,YAAmB,eAAuB,EAAE,WAAyD;QAJ9F,SAAI,GAA0B,qBAAqB,CAAC,MAAM,CAAC;QAK9D,IAAI,CAAC,cAAc,GAAG,eAAe,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC;QAE9B,IAAI,CAAC,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IAEO,OAAO,CAAC,IAAiB,EAAE,OAAa,EAAE,cAAkE;QAEhH,MAAM,KAAK,GAAG,IAAI,CAAC,UAAkD,CAAC;QAEtE,EAAE;QACF,yDAAyD;QACzD,EAAE;QACF,MAAM,gBAAgB,GAAW,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QACxE,MAAM,UAAU,GAAe,UAAU,CAAC,gBAAgB,CAAC,CAAC;QAC5D,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,CAAC,uBAAuB,kCACpD,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,KACtC,UAAU,EAAE,UAAU,IACxB,CAAC;QAEH,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAEO,QAAQ,CAAC,IAAiB;QAC9B,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;CACJ;AAED;;;;GAIG;AACH,MAAM,UAAU,8BAA8B,CAAC,cAAsB,EAAE,UAAgD;IACnH,OAAO,IAAI,qCAAqC,CAAC,cAAc,kCACxD,UAAU,KACb,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,IAAI,IACjB,CAAC;AACP,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Button } from '@fluentui/react
|
|
2
|
+
import { Button } from '@fluentui/react';
|
|
3
3
|
import PlaceholderWithCallout from '../../common/placeholderWithCallout/PlaceholderWithCallout';
|
|
4
4
|
import * as telemetry from '../../common/telemetry';
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldButtonWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/PropertyFieldButtonWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PropertyFieldButtonWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/buttonWithCallout/PropertyFieldButtonWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,sBAAsB,MAAM,4DAA4D,CAAC;AAGhG,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AAEpD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,KAAK,CAAC,SAAyD;IAChH,YAAY,KAA+C;QACzD,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,SAAS,CAAC,KAAK,CAAC,qBAAqB,EAAE;YACrC,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC,CAAC;IACL,CAAC;IAEM,MAAM;QACT,OAAO,CACH;YACI,oBAAC,sBAAsB,oBAAK,IAAI,CAAC,KAAK;gBAClC,oBAAC,MAAM,oBAAK,IAAI,CAAC,KAAK,EAAI,CACL,CACvB,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPlaceholderWithCalloutProps } from '../../common/placeholderWithCallout/IPlaceholderWithCallout';
|
|
2
|
-
import { ICheckboxProps } from '@fluentui/react
|
|
2
|
+
import { ICheckboxProps } from '@fluentui/react';
|
|
3
3
|
/**
|
|
4
4
|
* PropertyFieldCheckboxWithCalloutHost properties interface
|
|
5
5
|
*/
|
package/lib/propertyFields/checkboxWithCallout/IPropertyFieldCheckboxWithCalloutHost.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldCheckboxWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/checkboxWithCallout/IPropertyFieldCheckboxWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IPropertyFieldCheckboxWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/checkboxWithCallout/IPropertyFieldCheckboxWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,0CAA2C,SAAQ,cAAc,EAAE,4BAA4B;IAC5G,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PlaceholderWithCallout from '../../common/placeholderWithCallout/PlaceholderWithCallout';
|
|
3
3
|
import * as telemetry from '../../common/telemetry';
|
|
4
|
-
import { Checkbox } from '@fluentui/react
|
|
4
|
+
import { Checkbox } from '@fluentui/react';
|
|
5
5
|
/**
|
|
6
6
|
* Renders the control for PropertyFieldCheckboxWithCallout component
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldCheckboxWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/checkboxWithCallout/PropertyFieldCheckboxWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,sBAAsB,MAAM,4DAA4D,CAAC;AAIhG,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PropertyFieldCheckboxWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/checkboxWithCallout/PropertyFieldCheckboxWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,sBAAsB,MAAM,4DAA4D,CAAC;AAIhG,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,KAAK,CAAC,SAA2D;IACpH,YAAY,KAAiD;QACzD,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,SAAS,CAAC,KAAK,CAAC,uBAAuB,EAAE;YACvC,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC,CAAC;IACP,CAAC;IAEM,MAAM;QACT,OAAO,CACH;YACI,oBAAC,sBAAsB,oBAAM,IAAI,CAAC,KAAsC;gBACpE,oBAAC,QAAQ,oBAAK,IAAI,CAAC,KAAK,IAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAC/B,CACvB,CACT,CAAC;IACN,CAAC;CACJ"}
|
package/lib/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPropertyFieldHeaderCalloutProps } from '../../common/propertyFieldHeader/IPropertyFieldHeader';
|
|
2
|
-
import { IChoiceGroupProps } from '@fluentui/react
|
|
2
|
+
import { IChoiceGroupProps } from '@fluentui/react';
|
|
3
3
|
/**
|
|
4
4
|
* PropertyFieldChoiceGroupWithCalloutHost properties interface
|
|
5
5
|
*/
|
package/lib/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldChoiceGroupWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IPropertyFieldChoiceGroupWithCalloutHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/choiceGroupWithCallout/IPropertyFieldChoiceGroupWithCalloutHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,6CAA8C,SAAQ,iBAAiB,EAAE,gCAAgC;CACzH"}
|
package/lib/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import omit from 'lodash/omit';
|
|
3
3
|
import PropertyFieldHeader from '../../common/propertyFieldHeader/PropertyFieldHeader';
|
|
4
4
|
import * as telemetry from '../../common/telemetry';
|
|
5
|
-
import { ChoiceGroup } from '@fluentui/react
|
|
5
|
+
import { ChoiceGroup } from '@fluentui/react';
|
|
6
6
|
export default class PropertyFieldToggleWithCalloutHost extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
super(props);
|
package/lib/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldChoiceGroupWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;AAE/B,OAAO,mBAAmB,MAAM,sDAAsD,CAAC;AAIvF,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PropertyFieldChoiceGroupWithCalloutHost.js","sourceRoot":"","sources":["../../../src/propertyFields/choiceGroupWithCallout/PropertyFieldChoiceGroupWithCalloutHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;AAE/B,OAAO,mBAAmB,MAAM,sDAAsD,CAAC;AAIvF,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,KAAK,CAAC,SAGrE;IACC,YAAY,KAAoD;QAC9D,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,SAAS,CAAC,KAAK,CAAC,gCAAgC,EAAE;YAChD,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC,CAAC;IACL,CAAC;IAEM,MAAM;QACX,OAAO,CACL;YACE,oBAAC,mBAAmB,oBACb,IAAI,CAAC,KAAsC,EAChD;YACF,oBAAC,WAAW,oBAAK,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,EAAI,CAC5C,CACP,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBaseCollectionFIeldsProps.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/IBaseCollectionFIeldsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,WAAW,yBAAyB;
|
|
1
|
+
{"version":3,"file":"IBaseCollectionFIeldsProps.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/IBaseCollectionFIeldsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,IAAI,EAAE,GAAG,CAAC;IACV,WAAW,EAAE,OAAO,CAAC;IAErB,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,WAAW,EAAE,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7E"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IDropdownOption } from '@fluentui/react
|
|
3
|
-
import { ISelectableOption } from '@fluentui/react/lib/utilities/selectableOption/SelectableOption.types';
|
|
4
|
-
import { IRenderFunction } from '@fluentui/react/lib/Utilities';
|
|
2
|
+
import { IDropdownOption, IRenderFunction, ISelectableOption } from '@fluentui/react';
|
|
5
3
|
import { CollectionIconFieldRenderMode } from './collectionIconField';
|
|
6
4
|
export interface ICustomDropdownOption extends Omit<IDropdownOption, 'key'> {
|
|
7
5
|
key: string | number | boolean;
|
|
@@ -20,8 +18,8 @@ export interface ICustomCollectionField {
|
|
|
20
18
|
*/
|
|
21
19
|
type: CustomCollectionFieldType;
|
|
22
20
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
* Conditionally disable a field
|
|
22
|
+
*/
|
|
25
23
|
disable?: (item: any) => boolean;
|
|
26
24
|
/**
|
|
27
25
|
* Allows you to specify if a field is disabled for editing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICustomCollectionField.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/ICustomCollectionField.ts"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ICustomCollectionField.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/ICustomCollectionField.ts"],"names":[],"mappings":";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AM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,EAC/C,IAAI,EAAE,GAAG,EACT,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,KACrE,GAAG,CAAC,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC;IAErE;;OAEG;IACH,mBAAmB,CAAC,EAAE,6BAA6B,CAAC;CACrD;AAED,oBAAY,yBAAyB;IACnC,MAAM,IAAI;IACV,MAAM,IAAA;IACN,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,UAAU,IAAA;IACV,GAAG,IAAA;IACH,MAAM,IAAA;IACN,KAAK,IAAA;CACN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICustomCollectionField.js","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/ICustomCollectionField.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ICustomCollectionField.js","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/ICustomCollectionField.ts"],"names":[],"mappings":"AA8FA,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,6EAAU,CAAA;IACV,6EAAM,CAAA;IACN,+EAAO,CAAA;IACP,iFAAQ,CAAA;IACR,qFAAU,CAAA;IACV,uEAAG,CAAA;IACH,6EAAM,CAAA;IACN,2EAAK,CAAA;AACP,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IPropertyPaneCustomFieldProps } from
|
|
2
|
-
import { ICustomCollectionField } from
|
|
3
|
-
import { IPanelProps } from
|
|
1
|
+
import { IPropertyPaneCustomFieldProps } from '@microsoft/sp-property-pane';
|
|
2
|
+
import { ICustomCollectionField } from './ICustomCollectionField';
|
|
3
|
+
import { IPanelProps } from '@fluentui/react';
|
|
4
4
|
export interface IPropertyFieldCollectionDataProps {
|
|
5
5
|
/**
|
|
6
6
|
* An unique key that indicates the identity of this control.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldCollectionData.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/IPropertyFieldCollectionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IPropertyFieldCollectionData.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/IPropertyFieldCollectionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,GAAG,EAAE,CAAC;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,WAAW,yCACf,SAAQ,6BAA6B,EACnC,iCAAiC;CAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPropertyPaneField } from '@microsoft/sp-property-pane';
|
|
2
|
-
import {
|
|
2
|
+
import { IPropertyFieldCollectionDataProps, IPropertyFieldCollectionDataPropsInternal } from './IPropertyFieldCollectionData';
|
|
3
3
|
/**
|
|
4
4
|
* Property field
|
|
5
5
|
* @param targetProperty
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldCollectionData.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionData.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAEnB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyFieldCollectionData.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionData.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAEnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iCAAiC,EAAE,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAsD9H;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,iCAAiC,GAAG,kBAAkB,CAAC,yCAAyC,CAAC,CAMhL"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ReactDOM from 'react-dom';
|
|
3
3
|
import { PropertyPaneFieldType, } from '@microsoft/sp-property-pane';
|
|
4
|
-
import { PropertyFieldCollectionDataHost } from '
|
|
4
|
+
import { PropertyFieldCollectionDataHost } from './PropertyFieldCollectionDataHost';
|
|
5
5
|
/**
|
|
6
6
|
* Property Field Collection Data Builder Class
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldCollectionData.js","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAEL,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,+BAA+B,
|
|
1
|
+
{"version":3,"file":"PropertyFieldCollectionData.js","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAEL,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF;;GAEG;AACH,MAAM,kCAAkC;IAOtC,YAAmB,eAAuB,EAAE,WAAsD;QAL3F,SAAI,GAA0B,qBAAqB,CAAC,MAAM,CAAC;QAMhE,IAAI,CAAC,cAAc,GAAG,eAAe,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC;QAE9B,IAAI,CAAC,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAEO,MAAM,CAAC,IAAiB,EAAE,OAAa,EAAE,cAAoE;QACnH,MAAM,KAAK,GAAyE,IAAI,CAAC,UAAU,CAAC;QAEpG,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,CAAC,+BAA+B,kCAC9D,KAAK,KACR,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IACpC,CAAC;QAEH,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAE/B,IAAI,cAAc,EAAE;YAClB,IAAI,CAAC,iBAAiB,GAAG,cAAc,CAAC;SACzC;IACH,CAAC;IAED;;OAEG;IACK,OAAO,CAAC,IAAiB;QAC/B,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;;OAGG;IACK,SAAS,CAAC,KAAY;QAC5B,IAAI,IAAI,CAAC,iBAAiB,EAAE;YAC1B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;SACpD;IACH,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,UAAU,2BAA2B,CAAC,cAAsB,EAAE,UAA6C;IAC/G,OAAO,IAAI,kCAAkC,CAAC,cAAc,kCACvD,UAAU,KACb,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,IAAI,IACf,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { IPropertyFieldCollectionDataHostProps, IPropertyFieldCollectionDataHostState } from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IPropertyFieldCollectionDataHostProps, IPropertyFieldCollectionDataHostState } from './IPropertyFieldCollectionDataHost';
|
|
3
3
|
export declare class PropertyFieldCollectionDataHost extends React.Component<IPropertyFieldCollectionDataHostProps, IPropertyFieldCollectionDataHostState> {
|
|
4
4
|
constructor(props: IPropertyFieldCollectionDataHostProps);
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyFieldCollectionDataHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionDataHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyFieldCollectionDataHost.d.ts","sourceRoot":"","sources":["../../../src/propertyFields/collectionData/PropertyFieldCollectionDataHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,oCAAoC,CAAC;AAM5C,qBAAa,+BAAgC,SAAQ,KAAK,CAAC,SAAS,CAClE,qCAAqC,EACrC,qCAAqC,CACtC;gBACa,KAAK,EAAE,qCAAqC;IAUxD;;OAEG;IACH,OAAO,CAAC,SAAS,CAIf;IAEF;;OAEG;IACH,OAAO,CAAC,UAAU,CAIhB;IAEF;;OAEG;IACH,OAAO,CAAC,MAAM,CAMZ;IAEK,MAAM,IAAI,GAAG,CAAC,OAAO;CA2C7B"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as telemetry from
|
|
3
|
-
import { DefaultButton } from
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import FieldErrorMessage from "../errorMessage/FieldErrorMessage";
|
|
8
|
-
import * as strings from "PropertyControlStrings";
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as telemetry from '../../common/telemetry';
|
|
3
|
+
import { DefaultButton, Panel, PanelType, Label } from '@fluentui/react';
|
|
4
|
+
import { CollectionDataViewer } from './collectionDataViewer';
|
|
5
|
+
import FieldErrorMessage from '../errorMessage/FieldErrorMessage';
|
|
6
|
+
import * as strings from 'PropertyControlStrings';
|
|
9
7
|
export class PropertyFieldCollectionDataHost extends React.Component {
|
|
10
8
|
constructor(props) {
|
|
11
9
|
super(props);
|
|
@@ -14,7 +12,7 @@ export class PropertyFieldCollectionDataHost extends React.Component {
|
|
|
14
12
|
*/
|
|
15
13
|
this.openPanel = () => {
|
|
16
14
|
this.setState({
|
|
17
|
-
panelOpen: true
|
|
15
|
+
panelOpen: true,
|
|
18
16
|
});
|
|
19
17
|
};
|
|
20
18
|
/**
|
|
@@ -22,20 +20,21 @@ export class PropertyFieldCollectionDataHost extends React.Component {
|
|
|
22
20
|
*/
|
|
23
21
|
this.closePanel = () => {
|
|
24
22
|
this.setState({
|
|
25
|
-
panelOpen: false
|
|
23
|
+
panelOpen: false,
|
|
26
24
|
});
|
|
27
25
|
};
|
|
28
26
|
/**
|
|
29
27
|
* On save action
|
|
30
28
|
*/
|
|
31
29
|
this.onSave = (items) => {
|
|
30
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
32
31
|
this.props.onChanged(items);
|
|
33
32
|
this.setState({
|
|
34
|
-
panelOpen: false
|
|
33
|
+
panelOpen: false,
|
|
35
34
|
});
|
|
36
35
|
};
|
|
37
36
|
this.state = {
|
|
38
|
-
panelOpen: false
|
|
37
|
+
panelOpen: false,
|
|
39
38
|
};
|
|
40
39
|
telemetry.track('PropertyFieldCollectionData', {});
|
|
41
40
|
}
|
|
@@ -44,11 +43,11 @@ export class PropertyFieldCollectionDataHost extends React.Component {
|
|
|
44
43
|
return (React.createElement("div", null,
|
|
45
44
|
React.createElement(Label, null, this.props.label),
|
|
46
45
|
React.createElement(DefaultButton, { text: this.props.manageBtnLabel, onClick: this.openPanel, disabled: this.props.fields.length === 0 || this.props.disabled }),
|
|
47
|
-
this.props.fields.length === 0 && React.createElement(FieldErrorMessage, { errorMessage: strings.CollectionDataEmptyFields }),
|
|
46
|
+
this.props.fields.length === 0 && (React.createElement(FieldErrorMessage, { errorMessage: strings.CollectionDataEmptyFields })),
|
|
48
47
|
React.createElement(Panel, Object.assign({ isOpen: this.state.panelOpen, onDismiss: this.closePanel, type: PanelType.large, headerText: this.props.panelHeader, onOuterClick: () => {
|
|
49
48
|
/* no-op; */
|
|
50
|
-
}, className: `PropertyFieldCollectionData__panel ${this.props.panelClassName ||
|
|
51
|
-
this.props.panelDescription && (React.createElement("p", { className:
|
|
49
|
+
}, className: `PropertyFieldCollectionData__panel ${this.props.panelClassName || ''}` }, ((_a = this.props.panelProps) !== null && _a !== void 0 ? _a : {})),
|
|
50
|
+
this.props.panelDescription && (React.createElement("p", { className: 'PropertyFieldCollectionData__panel__description' }, this.props.panelDescription)),
|
|
52
51
|
React.createElement(CollectionDataViewer, Object.assign({}, this.props, { fOnSave: this.onSave, fOnClose: this.closePanel })))));
|
|
53
52
|
}
|
|
54
53
|
}
|