gd-sprest-bs 10.4.6 → 10.4.7

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.
@@ -46,7 +46,7 @@ var _SPFxWebPart = /** @class */ (function () {
46
46
  catch (_a) { }
47
47
  }
48
48
  // See if this is a classic page
49
- if (SP && SP.Ribbon && SP.Ribbon.PageState) {
49
+ if (gd_sprest_1.Helper.SP.Ribbon.exists) {
50
50
  // Set the flag
51
51
  isEdit = gd_sprest_1.Helper.WebPart.isEditMode();
52
52
  }
@@ -11,14 +11,14 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.WPSPFxList = void 0;
14
+ exports.SPFxListWebPart = void 0;
15
15
  var gd_bs_1 = require("gd-bs");
16
16
  var gd_sprest_1 = require("gd-sprest");
17
17
  var base_1 = require("../base");
18
18
  /**
19
19
  * SPFx List WebPart
20
20
  */
21
- var WPSPFxList = function (props) {
21
+ var SPFxListWebPart = function (props) {
22
22
  var _ddl = null;
23
23
  var _loadFl = false;
24
24
  // Load the lists
@@ -103,4 +103,4 @@ var WPSPFxList = function (props) {
103
103
  var wp = (0, base_1.SPFxWebPart)(__assign(__assign({}, props), baseProps));
104
104
  return wp;
105
105
  };
106
- exports.WPSPFxList = WPSPFxList;
106
+ exports.SPFxListWebPart = SPFxListWebPart;