@pnp/spfx-property-controls 3.15.1-beta.7072423 → 3.15.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,EAAE,MAA8B,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,EAAE,MAAiB,CAAC"}
@@ -1,2 +1,2 @@
1
- export var version = "3.15.1-beta.7072423";
1
+ export var version = "3.15.1";
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,IAAM,OAAO,GAAW,qBAAqB,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/common/telemetry/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,OAAO,GAAW,QAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { IPropertyPaneField } from "@microsoft/sp-property-pane";
2
- import { IPropertyFieldChoiceGroupWithCalloutPropsInternal, IPropertyFieldChoiceGroupWithCalloutProps } from "./IPropertyFieldChoiceGroupWithCallout";
1
+ import { IPropertyPaneField } from '@microsoft/sp-property-pane';
2
+ import { IPropertyFieldChoiceGroupWithCalloutPropsInternal, IPropertyFieldChoiceGroupWithCalloutProps } from './IPropertyFieldChoiceGroupWithCallout';
3
3
  export declare function PropertyFieldChoiceGroupWithCallout(targetProperty: string, properties: IPropertyFieldChoiceGroupWithCalloutProps): IPropertyPaneField<IPropertyFieldChoiceGroupWithCalloutPropsInternal>;
4
4
  //# sourceMappingURL=PropertyFieldChoiceGroupWithCallout.d.ts.map
@@ -9,11 +9,11 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import * as React from "react";
13
- import * as ReactDOM from "react-dom";
14
- import { PropertyPaneFieldType, } from "@microsoft/sp-property-pane";
15
- import omit from "lodash/omit";
16
- import PropertyFieldToggleWithCalloutHost from "./PropertyFieldChoiceGroupWithCalloutHost";
12
+ import * as React from 'react';
13
+ import * as ReactDOM from 'react-dom';
14
+ import { PropertyPaneFieldType, } from '@microsoft/sp-property-pane';
15
+ import omit from 'lodash/omit';
16
+ import PropertyFieldToggleWithCalloutHost from './PropertyFieldChoiceGroupWithCalloutHost';
17
17
  var PropertyFieldChoiceGroupWithCalloutBuilder = /** @class */ (function () {
18
18
  function PropertyFieldChoiceGroupWithCalloutBuilder(_targetProperty, _properties) {
19
19
  this.type = PropertyPaneFieldType.Custom;
@@ -28,7 +28,7 @@ var PropertyFieldChoiceGroupWithCalloutBuilder = /** @class */ (function () {
28
28
  var options = [];
29
29
  var selectedKey = undefined;
30
30
  this.properties.options.forEach(function (o) {
31
- options.push(__assign(__assign({}, omit(o, ["key", "iconProps"])), { iconProps: o.iconProps && {
31
+ options.push(__assign(__assign({}, omit(o, ['key', 'iconProps'])), { iconProps: o.iconProps && {
32
32
  iconName: o.iconProps.officeFabricIconFontName,
33
33
  }, key: o.key.toString() }));
34
34
  if (o.checked) {
@@ -36,7 +36,7 @@ var PropertyFieldChoiceGroupWithCalloutBuilder = /** @class */ (function () {
36
36
  }
37
37
  });
38
38
  var props = this.properties;
39
- var element = React.createElement(PropertyFieldToggleWithCalloutHost, __assign(__assign({}, omit(props, ["options"])), { options: options, onChange: this._onChanged.bind(this), selectedKey: selectedKey }));
39
+ var element = React.createElement(PropertyFieldToggleWithCalloutHost, __assign(__assign({}, omit(props, ['options'])), { options: options, onChange: this._onChanged.bind(this), selectedKey: selectedKey }));
40
40
  ReactDOM.render(element, elem);
41
41
  if (changeCallback) {
42
42
  this._onChangeCallback = changeCallback;
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { IPropertyFieldChoiceGroupWithCalloutHostProps } from "./IPropertyFieldChoiceGroupWithCalloutHost";
1
+ import * as React from 'react';
2
+ import { IPropertyFieldChoiceGroupWithCalloutHostProps } from './IPropertyFieldChoiceGroupWithCalloutHost';
3
3
  export default class PropertyFieldToggleWithCalloutHost extends React.Component<IPropertyFieldChoiceGroupWithCalloutHostProps, null> {
4
4
  constructor(props: IPropertyFieldChoiceGroupWithCalloutHostProps);
5
5
  render(): JSX.Element;
@@ -24,16 +24,16 @@ var __assign = (this && this.__assign) || function () {
24
24
  };
25
25
  return __assign.apply(this, arguments);
26
26
  };
27
- import * as React from "react";
28
- import omit from "lodash/omit";
29
- import PropertyFieldHeader from "../../common/propertyFieldHeader/PropertyFieldHeader";
30
- import * as telemetry from "../../common/telemetry";
31
- import { ChoiceGroup } from "@fluentui/react/lib/components/ChoiceGroup";
27
+ import * as React from 'react';
28
+ import omit from 'lodash/omit';
29
+ import PropertyFieldHeader from '../../common/propertyFieldHeader/PropertyFieldHeader';
30
+ import * as telemetry from '../../common/telemetry';
31
+ import { ChoiceGroup } from '@fluentui/react/lib/components/ChoiceGroup';
32
32
  var PropertyFieldToggleWithCalloutHost = /** @class */ (function (_super) {
33
33
  __extends(PropertyFieldToggleWithCalloutHost, _super);
34
34
  function PropertyFieldToggleWithCalloutHost(props) {
35
35
  var _this = _super.call(this, props) || this;
36
- telemetry.track("PropertyFieldToggleWithCallout", {
36
+ telemetry.track('PropertyFieldToggleWithCallout', {
37
37
  disabled: props.disabled,
38
38
  });
39
39
  return _this;
@@ -41,7 +41,7 @@ var PropertyFieldToggleWithCalloutHost = /** @class */ (function (_super) {
41
41
  PropertyFieldToggleWithCalloutHost.prototype.render = function () {
42
42
  return (React.createElement("div", null,
43
43
  React.createElement(PropertyFieldHeader, __assign({}, this.props)),
44
- React.createElement(ChoiceGroup, __assign({}, omit(this.props, ["label"])))));
44
+ React.createElement(ChoiceGroup, __assign({}, omit(this.props, ['label'])))));
45
45
  };
46
46
  return PropertyFieldToggleWithCalloutHost;
47
47
  }(React.Component));
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.15.1-beta.7072423",
4
+ "version": "3.15.1",
5
5
  "engines": {
6
6
  "node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
7
7
  },
@@ -103,4 +103,4 @@
103
103
  "Struyf, Elio <elio@struyfconsulting.be>",
104
104
  "Terentiev, Alex <>"
105
105
  ]
106
- }
106
+ }