diff --git a/samples/react-world-clocks/dist/6baae7a7-af13-40d3-9567-f3bca9986248.manifest.json b/samples/react-world-clocks/dist/6baae7a7-af13-40d3-9567-f3bca9986248.manifest.json new file mode 100644 index 000000000..dc3ecde5b --- /dev/null +++ b/samples/react-world-clocks/dist/6baae7a7-af13-40d3-9567-f3bca9986248.manifest.json @@ -0,0 +1,81 @@ +{ + "id": "6baae7a7-af13-40d3-9567-f3bca9986248", + "alias": "WorldClockWebPartWebPart", + "componentType": "WebPart", + "version": "0.0.1", + "manifestVersion": 2, + "requiresCustomScript": false, + "supportedHosts": [ + "SharePointWebPart" + ], + "preconfiguredEntries": [ + { + "groupId": "5c03119e-3074-46fd-976b-c60198311f70", + "group": { + "default": "Other" + }, + "title": { + "default": "WorldClockWebPart" + }, + "description": { + "default": "World Clock Web Part" + }, + "officeFabricIconFontName": "Page", + "properties": { + "description": "World Clock WebPart" + } + } + ], + "loaderConfig": { + "entryModuleId": "world-clock-web-part-web-part", + "internalModuleBaseUrls": [ + "https://localhost:4321/" + ], + "scriptResources": { + "world-clock-web-part-web-part": { + "type": "path", + "path": "dist/world-clock-web-part-web-part.js" + }, + "WorldClockWebPartWebPartStrings": { + "defaultPath": "lib/webparts/worldClockWebPart/loc/en-us.js", + "type": "localizedPath" + }, + "ControlStrings": { + "defaultPath": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", + "type": "localizedPath" + }, + "@microsoft/sp-property-pane": { + "type": "component", + "version": "1.11.0", + "id": "f9e737b7-f0df-4597-ba8c-3060f82380db" + }, + "@microsoft/sp-core-library": { + "type": "component", + "version": "1.11.0", + "id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b" + }, + "@microsoft/sp-webpart-base": { + "type": "component", + "version": "1.11.0", + "id": "974a7777-0990-4136-8fa6-95d80114c2e0" + }, + "react": { + "type": "component", + "version": "16.8.5", + "id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d", + "failoverPath": "node_modules/react/dist/react.js" + }, + "react-dom": { + "type": "component", + "version": "16.8.5", + "id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a", + "failoverPath": "node_modules/react-dom/dist/react-dom.js" + }, + "@microsoft/sp-http": { + "type": "component", + "version": "1.11.0", + "id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6" + } + } + } +} \ No newline at end of file diff --git a/samples/react-world-clocks/dist/world-clock-web-part-web-part.js b/samples/react-world-clocks/dist/world-clock-web-part-web-part.js new file mode 100644 index 000000000..9fe5c69b2 --- /dev/null +++ b/samples/react-world-clocks/dist/world-clock-web-part-web-part.js @@ -0,0 +1,76801 @@ +define("6baae7a7-af13-40d3-9567-f3bca9986248_0.0.1", ["@microsoft/sp-property-pane","WorldClockWebPartWebPartStrings","ControlStrings","@microsoft/sp-core-library","@microsoft/sp-webpart-base","react","react-dom","@microsoft/sp-http"], function(__WEBPACK_EXTERNAL_MODULE__26ea__, __WEBPACK_EXTERNAL_MODULE_CYkI__, __WEBPACK_EXTERNAL_MODULE_Sgrz__, __WEBPACK_EXTERNAL_MODULE_UWqr__, __WEBPACK_EXTERNAL_MODULE_br4S__, __WEBPACK_EXTERNAL_MODULE_cDcd__, __WEBPACK_EXTERNAL_MODULE_faye__, __WEBPACK_EXTERNAL_MODULE_vlQI__) { return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "IfGN"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "++6r": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/string.js ***! + \**********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +// Regex that finds { and } so they can be removed on a lookup for string format +var FORMAT_ARGS_REGEX = /[\{\}]/g; +// Regex that finds {#} so it can be replaced by the arguments in string format +var FORMAT_REGEX = /\{\d+\}/g; +/** + * String format method, used for scenarios where at runtime you + * need to evaluate a formatted string given a tokenized string. This + * usually only is needed in localization scenarios. + + * Example "I love {0} every {1}".format("CXP") will result in a Debug Exception. + * + * @public + */ +// tslint:disable-next-line:no-any +function format(s) { + 'use strict'; + var values = []; + for (var _i = 1; _i < arguments.length; _i++) { + values[_i - 1] = arguments[_i]; + } + var args = values; + // Callback match function + function replace_func(match) { + // looks up in the args + // tslint:disable-next-line:no-any + var replacement = args[match.replace(FORMAT_ARGS_REGEX, '')]; + // catches undefined in nondebug and null in debug and nondebug + if (replacement === null || replacement === undefined) { + replacement = ''; + } + return replacement; + } + return (s.replace(FORMAT_REGEX, replace_func)); +} +exports.format = format; +//# sourceMappingURL=string.js.map + +/***/ }), + +/***/ "+PtQ": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/styling/lib/classNames/AnimationClassNames.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var index_1 = __webpack_require__(/*! ../utilities/index */ "rcGz"); +var index_2 = __webpack_require__(/*! ../styles/index */ "Uf3L"); +exports.AnimationClassNames = index_1.buildClassMap(index_2.AnimationStyles); +//# sourceMappingURL=AnimationClassNames.js.map + +/***/ }), + +/***/ "+QQQ": +/*!************************************************!*\ + !*** ./node_modules/@pnp/sp/profiles/types.js ***! + \************************************************/ +/*! exports provided: _Profiles, Profiles, UrlZone */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Profiles", function() { return _Profiles; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Profiles", function() { return Profiles; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UrlZone", function() { return UrlZone; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/metadata */ "z067"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../operations */ "UK2s"); + + + + + + + +var _Profiles = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Profiles, _super); + /** + * Creates a new instance of the UserProfileQuery class + * + * @param baseUrl The url or SharePointQueryable which forms the parent of this user profile query + */ + function _Profiles(baseUrl, path) { + if (path === void 0) { path = "_api/sp.userprofiles.peoplemanager"; } + var _this = _super.call(this, baseUrl, path) || this; + _this.clientPeoplePickerQuery = (new ClientPeoplePickerQuery(baseUrl)).configureFrom(_this); + _this.profileLoader = (new ProfileLoader(baseUrl)).configureFrom(_this); + return _this; + } + Object.defineProperty(_Profiles.prototype, "editProfileLink", { + /** + * The url of the edit profile page for the current user + */ + get: function () { + return this.clone(Profiles, "EditProfileLink").get(); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Profiles.prototype, "isMyPeopleListPublic", { + /** + * A boolean value that indicates whether the current user's "People I'm Following" list is public + */ + get: function () { + return this.clone(Profiles, "IsMyPeopleListPublic").get(); + }, + enumerable: false, + configurable: true + }); + /** + * A boolean value that indicates whether the current user is being followed by the specified user + * + * @param loginName The account name of the user + */ + _Profiles.prototype.amIFollowedBy = function (loginName) { + var q = this.clone(Profiles, "amifollowedby(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + /** + * A boolean value that indicates whether the current user is following the specified user + * + * @param loginName The account name of the user + */ + _Profiles.prototype.amIFollowing = function (loginName) { + var q = this.clone(Profiles, "amifollowing(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + /** + * Gets tags that the current user is following + * + * @param maxCount The maximum number of tags to retrieve (default is 20) + */ + _Profiles.prototype.getFollowedTags = function (maxCount) { + if (maxCount === void 0) { maxCount = 20; } + return this.clone(Profiles, "getfollowedtags(" + maxCount + ")").get(); + }; + /** + * Gets the people who are following the specified user + * + * @param loginName The account name of the user + */ + _Profiles.prototype.getFollowersFor = function (loginName) { + var q = this.clone(Profiles, "getfollowersfor(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + Object.defineProperty(_Profiles.prototype, "myFollowers", { + /** + * Gets the people who are following the current user + * + */ + get: function () { + return Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryableCollection"])(this, "getmyfollowers"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Profiles.prototype, "myProperties", { + /** + * Gets user properties for the current user + * + */ + get: function () { + return new _Profiles(this, "getmyproperties"); + }, + enumerable: false, + configurable: true + }); + /** + * Gets the people who the specified user is following + * + * @param loginName The account name of the user. + */ + _Profiles.prototype.getPeopleFollowedBy = function (loginName) { + var q = this.clone(Profiles, "getpeoplefollowedby(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + /** + * Gets user properties for the specified user. + * + * @param loginName The account name of the user. + */ + _Profiles.prototype.getPropertiesFor = function (loginName) { + var q = this.clone(Profiles, "getpropertiesfor(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + Object.defineProperty(_Profiles.prototype, "trendingTags", { + /** + * Gets the 20 most popular hash tags over the past week, sorted so that the most popular tag appears first + * + */ + get: function () { + var q = this.clone(Profiles, null); + q.concat(".gettrendingtags"); + return q.get(); + }, + enumerable: false, + configurable: true + }); + /** + * Gets the specified user profile property for the specified user + * + * @param loginName The account name of the user + * @param propertyName The case-sensitive name of the property to get + */ + _Profiles.prototype.getUserProfilePropertyFor = function (loginName, propertyName) { + var q = this.clone(Profiles, "getuserprofilepropertyfor(accountname=@v, propertyname='" + propertyName + "')"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return q.get(); + }; + /** + * Removes the specified user from the user's list of suggested people to follow + * + * @param loginName The account name of the user + */ + _Profiles.prototype.hideSuggestion = function (loginName) { + var q = this.clone(Profiles, "hidesuggestion(@v)"); + q.query.set("@v", "'" + encodeURIComponent(loginName) + "'"); + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(q); + }; + /** + * A boolean values that indicates whether the first user is following the second user + * + * @param follower The account name of the user who might be following the followee + * @param followee The account name of the user who might be followed by the follower + */ + _Profiles.prototype.isFollowing = function (follower, followee) { + var q = this.clone(Profiles, null); + q.concat(".isfollowing(possiblefolloweraccountname=@v, possiblefolloweeaccountname=@y)"); + q.query.set("@v", "'" + encodeURIComponent(follower) + "'"); + q.query.set("@y", "'" + encodeURIComponent(followee) + "'"); + return q.get(); + }; + /** + * Uploads and sets the user profile picture (Users can upload a picture to their own profile only). Not supported for batching. + * + * @param profilePicSource Blob data representing the user's picture in BMP, JPEG, or PNG format of up to 4.76MB + */ + _Profiles.prototype.setMyProfilePic = function (profilePicSource) { + var _this = this; + return new Promise(function (resolve, reject) { + var reader = new FileReader(); + reader.onload = function (e) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this, void 0, void 0, function () { + var buffer, e_1; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + buffer = e.target.result; + _a.label = 1; + case 1: + _a.trys.push([1, 3, , 4]); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(Profiles(this, "setmyprofilepicture"), { body: buffer })]; + case 2: + _a.sent(); + resolve(); + return [3 /*break*/, 4]; + case 3: + e_1 = _a.sent(); + reject(e_1); + return [3 /*break*/, 4]; + case 4: return [2 /*return*/]; + } + }); + }); }; + reader.readAsArrayBuffer(profilePicSource); + }); + }; + /** + * Sets single value User Profile property + * + * @param accountName The account name of the user + * @param propertyName Property name + * @param propertyValue Property value + */ + _Profiles.prototype.setSingleValueProfileProperty = function (accountName, propertyName, propertyValue) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(Profiles, "SetSingleValueProfileProperty"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ + accountName: accountName, + propertyName: propertyName, + propertyValue: propertyValue, + })); + }; + /** + * Sets multi valued User Profile property + * + * @param accountName The account name of the user + * @param propertyName Property name + * @param propertyValues Property values + */ + _Profiles.prototype.setMultiValuedProfileProperty = function (accountName, propertyName, propertyValues) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(Profiles, "SetMultiValuedProfileProperty"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ + accountName: accountName, + propertyName: propertyName, + propertyValues: propertyValues, + })); + }; + /** + * Provisions one or more users' personal sites. (My Site administrator on SharePoint Online only) + * + * @param emails The email addresses of the users to provision sites for + */ + _Profiles.prototype.createPersonalSiteEnqueueBulk = function () { + var emails = []; + for (var _i = 0; _i < arguments.length; _i++) { + emails[_i] = arguments[_i]; + } + return this.profileLoader.createPersonalSiteEnqueueBulk(emails); + }; + Object.defineProperty(_Profiles.prototype, "ownerUserProfile", { + /** + * Gets the user profile of the site owner + * + */ + get: function () { + return this.profileLoader.ownerUserProfile; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Profiles.prototype, "userProfile", { + /** + * Gets the user profile for the current user + */ + get: function () { + return this.profileLoader.userProfile; + }, + enumerable: false, + configurable: true + }); + /** + * Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files + * + * @param interactiveRequest true if interactively (web) initiated request, or false (default) if non-interactively (client) initiated request + */ + _Profiles.prototype.createPersonalSite = function (interactiveRequest) { + if (interactiveRequest === void 0) { interactiveRequest = false; } + return this.profileLoader.createPersonalSite(interactiveRequest); + }; + /** + * Sets the privacy settings for this profile + * + * @param share true to make all social data public; false to make all social data private + */ + _Profiles.prototype.shareAllSocialData = function (share) { + return this.profileLoader.shareAllSocialData(share); + }; + /** + * Resolves user or group using specified query parameters + * + * @param queryParams The query parameters used to perform resolve + */ + _Profiles.prototype.clientPeoplePickerResolveUser = function (queryParams) { + return this.clientPeoplePickerQuery.clientPeoplePickerResolveUser(queryParams); + }; + /** + * Searches for users or groups using specified query parameters + * + * @param queryParams The query parameters used to perform search + */ + _Profiles.prototype.clientPeoplePickerSearchUser = function (queryParams) { + return this.clientPeoplePickerQuery.clientPeoplePickerSearchUser(queryParams); + }; + return _Profiles; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +var Profiles = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_Profiles); +var ProfileLoader = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(ProfileLoader, _super); + function ProfileLoader() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Provisions one or more users' personal sites. (My Site administrator on SharePoint Online only) Doesn't support batching + * + * @param emails The email addresses of the users to provision sites for + */ + ProfileLoader.prototype.createPersonalSiteEnqueueBulk = function (emails) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(ProfileLoaderFactory, "createpersonalsiteenqueuebulk", false), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ "emailIDs": emails })); + }; + Object.defineProperty(ProfileLoader.prototype, "ownerUserProfile", { + /** + * Gets the user profile of the site owner. + * + */ + get: function () { + var q = this.getParent(ProfileLoaderFactory, this.parentUrl, "_api/sp.userprofiles.profileloader.getowneruserprofile"); + if (this.hasBatch) { + q = q.inBatch(this.batch); + } + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(q); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(ProfileLoader.prototype, "userProfile", { + /** + * Gets the user profile of the current user. + * + */ + get: function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(ProfileLoaderFactory, "getuserprofile")); + }, + enumerable: false, + configurable: true + }); + /** + * Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files. + * + * @param interactiveRequest true if interactively (web) initiated request, or false (default) if non-interactively (client) initiated request + */ + ProfileLoader.prototype.createPersonalSite = function (interactiveRequest) { + if (interactiveRequest === void 0) { interactiveRequest = false; } + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(ProfileLoaderFactory, "getuserprofile/createpersonalsiteenque(" + interactiveRequest + ")")); + }; + /** + * Sets the privacy settings for this profile + * + * @param share true to make all social data public; false to make all social data private. + */ + ProfileLoader.prototype.shareAllSocialData = function (share) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(ProfileLoaderFactory, "getuserprofile/shareallsocialdata(" + share + ")")); + }; + ProfileLoader = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_5__["defaultPath"])("_api/sp.userprofiles.profileloader.getprofileloader") + ], ProfileLoader); + return ProfileLoader; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryable"])); +var ProfileLoaderFactory = function (baseUrl, path) { + return new ProfileLoader(baseUrl, path); +}; +var ClientPeoplePickerQuery = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(ClientPeoplePickerQuery, _super); + function ClientPeoplePickerQuery() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Resolves user or group using specified query parameters + * + * @param queryParams The query parameters used to perform resolve + */ + ClientPeoplePickerQuery.prototype.clientPeoplePickerResolveUser = function (queryParams) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var q, res; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + q = this.clone(ClientPeoplePickerFactory, null); + q.concat(".clientpeoplepickerresolveuser"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(q, this.getBodyFrom(queryParams))]; + case 1: + res = _a.sent(); + return [2 /*return*/, JSON.parse(typeof res === "object" ? res.ClientPeoplePickerResolveUser : res)]; + } + }); + }); + }; + /** + * Searches for users or groups using specified query parameters + * + * @param queryParams The query parameters used to perform search + */ + ClientPeoplePickerQuery.prototype.clientPeoplePickerSearchUser = function (queryParams) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var q, res; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + q = this.clone(ClientPeoplePickerFactory, null); + q.concat(".clientpeoplepickersearchuser"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(q, this.getBodyFrom(queryParams))]; + case 1: + res = _a.sent(); + return [2 /*return*/, JSON.parse(typeof res === "object" ? res.ClientPeoplePickerSearchUser : res)]; + } + }); + }); + }; + /** + * Creates ClientPeoplePickerQueryParameters request body + * + * @param queryParams The query parameters to create request body + */ + ClientPeoplePickerQuery.prototype.getBodyFrom = function (queryParams) { + return Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ "queryParams": Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_3__["metadata"])("SP.UI.ApplicationPages.ClientPeoplePickerQueryParameters"), queryParams) }); + }; + ClientPeoplePickerQuery = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_5__["defaultPath"])("_api/sp.ui.applicationpages.clientpeoplepickerwebserviceinterface") + ], ClientPeoplePickerQuery); + return ClientPeoplePickerQuery; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryable"])); +var ClientPeoplePickerFactory = function (baseUrl, path) { + return new ClientPeoplePickerQuery(baseUrl, path); +}; +/** + * Specifies the originating zone of a request received. + */ +var UrlZone; +(function (UrlZone) { + /** + * Specifies the default zone used for requests unless another zone is specified. + */ + UrlZone[UrlZone["DefaultZone"] = 0] = "DefaultZone"; + /** + * Specifies an intranet zone. + */ + UrlZone[UrlZone["Intranet"] = 1] = "Intranet"; + /** + * Specifies an Internet zone. + */ + UrlZone[UrlZone["Internet"] = 2] = "Internet"; + /** + * Specifies a custom zone. + */ + UrlZone[UrlZone["Custom"] = 3] = "Custom"; + /** + * Specifies an extranet zone. + */ + UrlZone[UrlZone["Extranet"] = 4] = "Extranet"; +})(UrlZone || (UrlZone = {})); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "+S1B": +/*!***********************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js ***! + \***********************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var React = __webpack_require__(/*! react */ "cDcd"); +var ContextualMenu_types_1 = __webpack_require__(/*! ./ContextualMenu.types */ "XeF/"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "eWqB"); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ./ContextualMenu.classNames */ "5a0N"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var index_1 = __webpack_require__(/*! ../../utilities/contextualMenu/index */ "KQAI"); +var withResponsiveMode_1 = __webpack_require__(/*! ../../utilities/decorators/withResponsiveMode */ "k5gO"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "j3z5"); +var ContextualMenuItem_1 = __webpack_require__(/*! ./ContextualMenuItem */ "3Wmu"); +var index_2 = __webpack_require__(/*! ./ContextualMenuItemWrapper/index */ "qMUB"); +function getSubmenuItems(item) { + return item.subMenuProps ? item.subMenuProps.items : item.items; +} +exports.getSubmenuItems = getSubmenuItems; +/** + * Returns true if a list of menu items can contain a checkbox + */ +function canAnyMenuItemsCheck(items) { + return items.some(function (item) { + if (item.canCheck) { + return true; + } + // If the item is a section, check if any of the items in the section can check. + if (item.sectionProps && item.sectionProps.items.some(function (submenuItem) { return submenuItem.canCheck === true; })) { + return true; + } + return false; + }); +} +exports.canAnyMenuItemsCheck = canAnyMenuItemsCheck; +var NavigationIdleDelay = 250 /* ms */; +var ContextualMenu = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenu, _super); + function ContextualMenu(props) { + var _this = _super.call(this, props) || this; + _this.dismiss = function (ev, dismissAll) { + var onDismiss = _this.props.onDismiss; + if (onDismiss) { + onDismiss(ev, dismissAll); + } + }; + _this._onKeyDown = function (ev) { + if (ev.which === 27 /* escape */ || + ev.altKey || + ev.metaKey || + _this._shouldCloseSubMenu(ev)) { + // When a user presses escape, we will try to refocus the previous focused element. + _this._isFocusingPreviousElement = true; + ev.preventDefault(); + ev.stopPropagation(); + _this.dismiss(ev); + } + }; + /** + * Checks if the submenu should be closed + */ + _this._shouldCloseSubMenu = function (ev) { + var submenuCloseKey = Utilities_1.getRTL() ? 39 /* right */ : 37 /* left */; + if (ev.which !== submenuCloseKey || !_this.props.isSubMenu) { + return false; + } + return _this._adjustedFocusZoneProps.direction === FocusZone_1.FocusZoneDirection.vertical || + (!!_this._adjustedFocusZoneProps.checkForNoWrap && !Utilities_1.shouldWrapFocus(ev.target, 'data-no-horizontal-wrap')); + }; + _this._onMenuKeyDown = function (ev) { + if (ev.which === 27 /* escape */ || ev.altKey || ev.metaKey) { + _this._isFocusingPreviousElement = true; + ev.preventDefault(); + ev.stopPropagation(); + _this.dismiss(ev); + return; + } + if (!_this._host) { + return; + } + var elementToFocus = ev.which === 38 /* up */ ? + Utilities_1.getLastFocusable(_this._host, _this._host.lastChild, true) : + ev.which === 40 /* down */ ? + Utilities_1.getFirstFocusable(_this._host, _this._host.firstChild, true) : + null; + if (elementToFocus) { + elementToFocus.focus(); + ev.preventDefault(); + ev.stopPropagation(); + } + }; + /** + * Scroll handler for the callout to make sure the mouse events + * for updating focus are not interacting during scroll + */ + _this._onScroll = function () { + if (!_this._isScrollIdle && _this._scrollIdleTimeoutId !== undefined) { + _this._async.clearTimeout(_this._scrollIdleTimeoutId); + _this._scrollIdleTimeoutId = undefined; + } + else { + _this._isScrollIdle = false; + } + _this._scrollIdleTimeoutId = _this._async.setTimeout(function () { _this._isScrollIdle = true; }, NavigationIdleDelay); + }; + _this._onItemMouseEnterBase = function (item, ev, target) { + if (!_this._isScrollIdle) { + return; + } + _this._updateFocusOnMouseEvent(item, ev, target); + }; + _this._onItemMouseMoveBase = function (item, ev, target) { + var targetElement = ev.currentTarget; + if (!_this._isScrollIdle || + _this._enterTimerId !== undefined || + targetElement === _this._targetWindow.document.activeElement) { + return; + } + _this._updateFocusOnMouseEvent(item, ev, target); + }; + _this._onMouseItemLeave = function (item, ev) { + if (!_this._isScrollIdle) { + return; + } + if (_this._enterTimerId !== undefined) { + _this._async.clearTimeout(_this._enterTimerId); + _this._enterTimerId = undefined; + } + if (_this.state.expandedMenuItemKey !== undefined) { + return; + } + /** + * IE11 focus() method forces parents to scroll to top of element. + * Edge and IE expose a setActive() function for focusable divs that + * sets the page focus but does not scroll the parent element. + */ + if (_this._host.setActive) { + _this._host.setActive(); + } + else { + _this._host.focus(); + } + }; + _this._onItemMouseDown = function (item, ev) { + if (item.onMouseDown) { + item.onMouseDown(item, ev); + } + }; + _this._onItemClick = function (item, ev) { + _this._onItemClickBase(item, ev, ev.currentTarget); + }; + _this._onItemClickBase = function (item, ev, target) { + var items = getSubmenuItems(item); + // Cancel a async menu item hover timeout action from being taken and instead + // just trigger the click event instead. + _this._cancelSubMenuTimer(); + if (!index_1.hasSubmenu(item) && (!items || !items.length)) { // This is an item without a menu. Click it. + _this._executeItemClick(item, ev); + } + else { + if (item.key === _this.state.expandedMenuItemKey) { // This has an expanded sub menu. collapse it. + _this._onSubMenuDismiss(ev); + } + else { // This has a collapsed sub menu. Expand it. + _this.setState({ + // When Edge + Narrator are used together (regardless of if the button is in a form or not), pressing + // "Enter" fires this method and not _onMenuKeyDown. Checking ev.nativeEvent.detail differentiates + // between a real click event and a keypress event. + expandedByMouseClick: (ev.nativeEvent.detail !== 0) + }); + _this._onItemSubMenuExpand(item, target); + } + } + ev.stopPropagation(); + ev.preventDefault(); + }; + _this._onAnchorClick = function (item, ev) { + _this._executeItemClick(item, ev); + ev.stopPropagation(); + }; + _this._executeItemClick = function (item, ev) { + if (item.disabled || item.isDisabled) { + return; + } + var dismiss = false; + if (item.onClick) { + dismiss = !!item.onClick(ev, item); + } + else if (_this.props.onItemClick) { + dismiss = !!_this.props.onItemClick(ev, item); + } + (dismiss || !ev.defaultPrevented) && _this.dismiss(ev, true); + }; + _this._onItemKeyDown = function (item, ev) { + var openKey = Utilities_1.getRTL() ? 37 /* left */ : 39 /* right */; + if ((ev.which === openKey || ev.which === 13 /* enter */) && !item.disabled) { + _this.setState({ + expandedByMouseClick: false + }); + _this._onItemSubMenuExpand(item, ev.currentTarget); + ev.preventDefault(); + } + }; + // Cancel a async menu item hover timeout action from being taken and instead + // do new upcoming behavior + _this._cancelSubMenuTimer = function () { + if (_this._enterTimerId !== undefined) { + _this._async.clearTimeout(_this._enterTimerId); + _this._enterTimerId = undefined; + } + }; + _this._onItemSubMenuExpand = function (item, target) { + if (_this.state.expandedMenuItemKey !== item.key) { + if (_this.state.expandedMenuItemKey) { + _this._onSubMenuDismiss(); + } + // Focus the target to ensure when we close it, we're focusing on the correct element. + target.focus(); + _this.setState({ + expandedMenuItemKey: item.key, + submenuTarget: target + }); + } + }; + _this._onSubMenuDismiss = function (ev, dismissAll) { + if (dismissAll) { + _this.dismiss(ev, dismissAll); + } + else { + _this.setState({ + dismissedMenuItemKey: _this.state.expandedMenuItemKey, + expandedMenuItemKey: undefined, + submenuTarget: undefined + }); + } + }; + _this._getSubMenuId = function (item) { + var subMenuId = _this.state.subMenuId; + if (item.subMenuProps && item.subMenuProps.id) { + subMenuId = item.subMenuProps.id; + } + return subMenuId; + }; + _this._onPointerAndTouchEvent = function (ev) { + _this._cancelSubMenuTimer(); + }; + _this.state = { + contextualMenuItems: undefined, + subMenuId: Utilities_1.getId('ContextualMenu') + }; + _this._warnDeprecations({ + 'targetPoint': 'target', + 'useTargetPoint': 'target', + 'arrowDirection': 'focusZoneProps' + }); + _this._isFocusingPreviousElement = false; + _this._isScrollIdle = true; + return _this; + } + ContextualMenu_1 = ContextualMenu; + ContextualMenu.prototype.componentWillUpdate = function (newProps) { + if (newProps.target !== this.props.target) { + var newTarget = newProps.target; + this._setTargetWindowAndElement(newTarget); + } + if (newProps.hidden !== this.props.hidden) { + if (newProps.hidden) { + this._onMenuClosed(); + } + else { + this._onMenuOpened(); + this._previousActiveElement = this._targetWindow ? this._targetWindow.document.activeElement : null; + } + } + }; + // Invoked once, both on the client and server, immediately before the initial rendering occurs. + ContextualMenu.prototype.componentWillMount = function () { + var target = this.props.target; + this._setTargetWindowAndElement(target); + if (!this.props.hidden) { + this._previousActiveElement = this._targetWindow ? this._targetWindow.document.activeElement : null; + } + }; + // Invoked once, only on the client (not on the server), immediately after the initial rendering occurs. + ContextualMenu.prototype.componentDidMount = function () { + if (!this.props.hidden) { + this._onMenuOpened(); + } + }; + // Invoked immediately before a component is unmounted from the DOM. + ContextualMenu.prototype.componentWillUnmount = function () { + var _this = this; + if (this._isFocusingPreviousElement && this._previousActiveElement) { + // This slight delay is required so that we can unwind the stack, const react try to mess with focus, and then + // apply the correct focus. Without the setTimeout, we end up focusing the correct thing, and then React wants + // to reset the focus back to the thing it thinks should have been focused. + // Note: Cannot be replaced by this._async.setTimout because those will be removed by the time this is called. + setTimeout(function () { _this._previousActiveElement && _this._previousActiveElement.focus(); }, 0); + } + if (this.props.onMenuDismissed) { + this.props.onMenuDismissed(this.props); + } + }; + ContextualMenu.prototype.render = function () { + var _this = this; + var isBeakVisible = this.props.isBeakVisible; + var _a = this.props, className = _a.className, items = _a.items, labelElementId = _a.labelElementId, id = _a.id, targetPoint = _a.targetPoint, useTargetPoint = _a.useTargetPoint, beakWidth = _a.beakWidth, directionalHint = _a.directionalHint, directionalHintForRTL = _a.directionalHintForRTL, gapSpace = _a.gapSpace, coverTarget = _a.coverTarget, ariaLabel = _a.ariaLabel, doNotLayer = _a.doNotLayer, target = _a.target, bounds = _a.bounds, useTargetWidth = _a.useTargetWidth, useTargetAsMinWidth = _a.useTargetAsMinWidth, directionalHintFixed = _a.directionalHintFixed, shouldFocusOnMount = _a.shouldFocusOnMount, shouldFocusOnContainer = _a.shouldFocusOnContainer, title = _a.title, theme = _a.theme, calloutProps = _a.calloutProps, _b = _a.onRenderSubMenu, onRenderSubMenu = _b === void 0 ? this._onRenderSubMenu : _b, focusZoneProps = _a.focusZoneProps; + var menuClassNames = this.props.getMenuClassNames || ContextualMenu_classNames_1.getContextualMenuClassNames; + this._classNames = menuClassNames(theme, className); + var hasIcons = itemsHaveIcons(items); + function itemsHaveIcons(contextualMenuItems) { + for (var _i = 0, contextualMenuItems_1 = contextualMenuItems; _i < contextualMenuItems_1.length; _i++) { + var item = contextualMenuItems_1[_i]; + if (!!item.icon || !!item.iconProps) { + return true; + } + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && item.sectionProps && itemsHaveIcons(item.sectionProps.items)) { + return true; + } + } + return false; + } + this._adjustedFocusZoneProps = tslib_1.__assign({}, focusZoneProps, { direction: this._getFocusZoneDirection() }); + var hasCheckmarks = canAnyMenuItemsCheck(items); + var submenuProps = this.state.expandedMenuItemKey ? this._getSubmenuProps() : null; + isBeakVisible = isBeakVisible === undefined ? this.props.responsiveMode <= withResponsiveMode_1.ResponsiveMode.medium : isBeakVisible; + /** + * When useTargetWidth is true, get the width of the target element and apply it for the context menu container + */ + var contextMenuStyle; + var targetAsHtmlElement = this._target; + if ((useTargetWidth || useTargetAsMinWidth) && targetAsHtmlElement && targetAsHtmlElement.offsetWidth) { + var targetBoundingRect = targetAsHtmlElement.getBoundingClientRect(); + var targetWidth = targetBoundingRect.width - 2 /* Accounts for 1px border */; + if (useTargetWidth) { + contextMenuStyle = { + width: targetWidth + }; + } + else if (useTargetAsMinWidth) { + contextMenuStyle = { + minWidth: targetWidth + }; + } + } + // The menu should only return if items were provided, if no items were provided then it should not appear. + if (items && items.length > 0) { + var indexCorrection_1 = 0; + var totalItemCount_1 = 0; + for (var _i = 0, items_1 = items; _i < items_1.length; _i++) { + var item = items_1[_i]; + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && + item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var itemCount = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + totalItemCount_1 += itemCount; + } + } + return (React.createElement(Callout_1.Callout, tslib_1.__assign({}, calloutProps, { target: useTargetPoint ? targetPoint : target, isBeakVisible: isBeakVisible, beakWidth: beakWidth, directionalHint: directionalHint, directionalHintForRTL: directionalHintForRTL, gapSpace: gapSpace, coverTarget: coverTarget, doNotLayer: doNotLayer, className: Utilities_1.css('ms-ContextualMenu-Callout', calloutProps ? calloutProps.className : undefined), setInitialFocus: shouldFocusOnMount, onDismiss: this.props.onDismiss, onScroll: this._onScroll, bounds: bounds, directionalHintFixed: directionalHintFixed, hidden: this.props.hidden }), + React.createElement("div", { role: 'menu', "aria-label": ariaLabel, "aria-labelledby": labelElementId, style: contextMenuStyle, ref: function (host) { return _this._host = host; }, id: id, className: this._classNames.container, tabIndex: shouldFocusOnContainer ? 0 : -1, onKeyDown: this._onMenuKeyDown }, + title && React.createElement("div", { className: this._classNames.title, role: 'heading', "aria-level": 1 }, + " ", + title, + " "), + (items && items.length) ? (React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({}, this._adjustedFocusZoneProps, { className: this._classNames.root, isCircularNavigation: true, handleTabKey: 1 /* all */ }), + React.createElement("ul", { className: this._classNames.list, onKeyDown: this._onKeyDown }, items.map(function (item, index) { + var menuItem = _this._renderMenuItem(item, index, indexCorrection_1, totalItemCount_1, hasCheckmarks, hasIcons); + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && + item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var indexIncrease = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + indexCorrection_1 += indexIncrease; + } + return menuItem; + })))) : (null), + submenuProps && onRenderSubMenu(submenuProps, this._onRenderSubMenu)))); + } + else { + return null; + } + }; + ContextualMenu.prototype._onMenuOpened = function () { + this._events.on(this._targetWindow, 'resize', this.dismiss); + this.props.onMenuOpened && this.props.onMenuOpened(this.props); + }; + ContextualMenu.prototype._onMenuClosed = function () { + var _this = this; + this._events.off(this._targetWindow, 'resize', this.dismiss); + this._previousActiveElement && this._async.setTimeout(function () { _this._previousActiveElement && _this._previousActiveElement.focus(); }, 0); + }; + /** + * Gets the focusZoneDirection by using the arrowDirection if specified, + * the direction specificed in the focusZoneProps, or defaults to FocusZoneDirection.vertical + */ + ContextualMenu.prototype._getFocusZoneDirection = function () { + var _a = this.props, arrowDirection = _a.arrowDirection, focusZoneProps = _a.focusZoneProps; + return arrowDirection !== undefined ? arrowDirection : + focusZoneProps && focusZoneProps.direction !== undefined ? focusZoneProps.direction : FocusZone_1.FocusZoneDirection.vertical; + }; + ContextualMenu.prototype._onRenderSubMenu = function (subMenuProps) { + return React.createElement(ContextualMenu_1, tslib_1.__assign({}, subMenuProps)); + }; + ContextualMenu.prototype._renderMenuItem = function (item, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var renderedItems = []; + var iconProps = this._getIconProps(item); + // We only send a dividerClassName when the item to be rendered is a divider. For all other cases, the default divider style is used. + var dividerClassName = item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Divider ? item.className : undefined; + var subMenuIconClassName = item.submenuIconProps ? item.submenuIconProps.className : ''; + var getClassNames = item.getItemClassNames || ContextualMenu_classNames_1.getItemClassNames; + var itemClassNames = getClassNames(this.props.theme, index_1.isItemDisabled(item), (this.state.expandedMenuItemKey === item.key), !!index_1.getIsChecked(item), !!item.href, (iconProps.iconName !== 'None'), item.className, dividerClassName, iconProps.className, subMenuIconClassName, item.primaryDisabled); + if (item.name === '-') { + item.itemType = ContextualMenu_types_1.ContextualMenuItemType.Divider; + } + switch (item.itemType) { + case ContextualMenu_types_1.ContextualMenuItemType.Divider: + renderedItems.push(this._renderSeparator(index, itemClassNames)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Header: + renderedItems.push(this._renderSeparator(index, itemClassNames)); + var headerItem = this._renderHeaderMenuItem(item, itemClassNames, index, hasCheckmarks, hasIcons); + renderedItems.push(this._renderListItem(headerItem, item.key || index, itemClassNames, item.title)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Section: + renderedItems.push(this._renderSectionItem(item, itemClassNames, index, hasCheckmarks, hasIcons)); + break; + default: + var menuItem = this._renderNormalItem(item, itemClassNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + renderedItems.push(this._renderListItem(menuItem, item.key || index, itemClassNames, item.title)); + break; + } + return renderedItems; + }; + ContextualMenu.prototype._renderSectionItem = function (item, menuClassNames, index, hasCheckmarks, hasIcons) { + var _this = this; + var section = item.sectionProps; + if (!section) { + return; + } + var headerItem; + if (section.title) { + var headerContextualMenuItem = { + key: "section-" + section.title + "-title", + itemType: ContextualMenu_types_1.ContextualMenuItemType.Header, + name: section.title, + }; + headerItem = this._renderHeaderMenuItem(headerContextualMenuItem, menuClassNames, index, hasCheckmarks, hasIcons); + } + if (section.items && section.items.length > 0) { + return (React.createElement("li", { role: 'presentation', key: section.key }, + React.createElement("div", { role: 'group' }, + React.createElement("ul", { className: this._classNames.list }, + section.topDivider && this._renderSeparator(index, menuClassNames, true, true), + headerItem && this._renderListItem(headerItem, item.key || index, menuClassNames, item.title), + section.items.map(function (contextualMenuItem, itemsIndex) { return (_this._renderMenuItem(contextualMenuItem, itemsIndex, itemsIndex, section.items.length, hasCheckmarks, hasIcons)); }), + section.bottomDivider && this._renderSeparator(index, menuClassNames, false, true))))); + } + }; + ContextualMenu.prototype._renderListItem = function (content, key, classNames, title) { + return (React.createElement("li", { role: 'presentation', title: title, key: key, className: classNames.item }, content)); + }; + ContextualMenu.prototype._renderSeparator = function (index, classNames, top, fromSection) { + if (fromSection || index > 0) { + return (React.createElement("li", { role: 'separator', key: 'separator-' + index + (top === undefined ? '' : (top ? '-top' : '-bottom')), className: classNames.divider })); + } + return null; + }; + ContextualMenu.prototype._renderNormalItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + if (item.onRender) { + return [item.onRender(tslib_1.__assign({ 'aria-posinset': focusableElementIndex + 1, 'aria-setsize': totalItemCount }, item), this.dismiss)]; + } + if (item.href) { + return this._renderAnchorMenuItem(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + } + if (item.split && index_1.hasSubmenu(item)) { + return this._renderSplitButton(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + } + return this._renderButtonItem(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + }; + ContextualMenu.prototype._renderHeaderMenuItem = function (item, classNames, index, hasCheckmarks, hasIcons) { + var _a = this.props.contextualMenuItemAs, ChildrenRenderer = _a === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _a; + return (React.createElement("div", { className: this._classNames.header, style: item.style, role: 'heading', "aria-level": this.props.title ? 2 : 1 }, + React.createElement(ChildrenRenderer, { item: item, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks ? this._onItemClick : undefined, hasIcons: hasIcons }))); + }; + ContextualMenu.prototype._renderAnchorMenuItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuAnchor, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onAnchorClick, onItemKeyDown: this._onItemKeyDown, getSubMenuId: this._getSubMenuId, expandedMenuItemKey: expandedMenuItemKey, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss })); + }; + ContextualMenu.prototype._renderButtonItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuButton, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onItemClick, onItemClickBase: this._onItemClickBase, onItemKeyDown: this._onItemKeyDown, getSubMenuId: this._getSubMenuId, expandedMenuItemKey: expandedMenuItemKey, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss })); + }; + ContextualMenu.prototype._renderSplitButton = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuSplitButton, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onItemClick, onItemClickBase: this._onItemClickBase, onItemKeyDown: this._onItemKeyDown, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss, expandedMenuItemKey: expandedMenuItemKey, onTap: this._onPointerAndTouchEvent })); + }; + ContextualMenu.prototype._getIconProps = function (item) { + var iconProps = item.iconProps ? item.iconProps : { + iconName: item.icon + }; + return iconProps; + }; + /** + * Handles updating focus when mouseEnter or mouseMove fire. + * As part of updating focus, This function will also update + * the expand/collapse state accordingly. + */ + ContextualMenu.prototype._updateFocusOnMouseEvent = function (item, ev, target) { + var _this = this; + var targetElement = target ? target : ev.currentTarget; + var _a = this.props.subMenuHoverDelay, timeoutDuration = _a === void 0 ? NavigationIdleDelay : _a; + if (item.key === this.state.expandedMenuItemKey) { + return; + } + if (this._enterTimerId !== undefined) { + this._async.clearTimeout(this._enterTimerId); + this._enterTimerId = undefined; + } + // If the menu is not expanded we can update focus without any delay + if (this.state.expandedMenuItemKey === undefined) { + targetElement.focus(); + } + // Delay updating expanding/dismissing the submenu + // and only set focus if we have not already done so + if (index_1.hasSubmenu(item)) { + ev.stopPropagation(); + this._enterTimerId = this._async.setTimeout(function () { + targetElement.focus(); + _this.setState({ + expandedByMouseClick: true + }); + _this._onItemSubMenuExpand(item, targetElement); + _this._enterTimerId = undefined; + }, timeoutDuration); + } + else { + this._enterTimerId = this._async.setTimeout(function () { + _this._onSubMenuDismiss(ev); + targetElement.focus(); + _this._enterTimerId = undefined; + }, timeoutDuration); + } + }; + ContextualMenu.prototype._getSubmenuProps = function () { + var _a = this.state, submenuTarget = _a.submenuTarget, expandedMenuItemKey = _a.expandedMenuItemKey; + var item = this._findItemByKey(expandedMenuItemKey); + var submenuProps = null; + if (item) { + submenuProps = { + items: getSubmenuItems(item), + target: submenuTarget, + onDismiss: this._onSubMenuDismiss, + isSubMenu: true, + id: this.state.subMenuId, + shouldFocusOnMount: true, + shouldFocusOnContainer: this.state.expandedByMouseClick, + directionalHint: Utilities_1.getRTL() ? 8 /* leftTopEdge */ : 11 /* rightTopEdge */, + className: this.props.className, + gapSpace: 0, + isBeakVisible: false + }; + if (item.subMenuProps) { + Utilities_1.assign(submenuProps, item.subMenuProps); + } + } + return submenuProps; + }; + ContextualMenu.prototype._findItemByKey = function (key) { + var items = this.props.items; + return this._findItemByKeyFromItems(key, items); + }; + /** + * Returns the item that mathes a given key if any. + * @param key The key of the item to match + * @param items The items to look for the key + */ + ContextualMenu.prototype._findItemByKeyFromItems = function (key, items) { + for (var _i = 0, items_2 = items; _i < items_2.length; _i++) { + var item = items_2[_i]; + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && item.sectionProps) { + var match = this._findItemByKeyFromItems(key, item.sectionProps.items); + if (match) { + return match; + } + } + else if (item.key && item.key === key) { + return item; + } + } + }; + ContextualMenu.prototype._setTargetWindowAndElement = function (target) { + if (target) { + if (typeof target === 'string') { + var currentDoc = Utilities_1.getDocument(); + this._target = currentDoc ? currentDoc.querySelector(target) : null; + this._targetWindow = Utilities_1.getWindow(); + } + else if (target.stopPropagation) { + this._targetWindow = Utilities_1.getWindow(target.toElement); + this._target = target; + } + else if (target.x !== undefined && target.y !== undefined) { + this._targetWindow = Utilities_1.getWindow(); + this._target = target; + } + else { + var targetElement = target; + this._targetWindow = Utilities_1.getWindow(targetElement); + this._target = target; + } + } + else { + this._targetWindow = Utilities_1.getWindow(); + } + }; + // The default ContextualMenu properties have no items and beak, the default submenu direction is right and top. + ContextualMenu.defaultProps = { + items: [], + shouldFocusOnMount: true, + gapSpace: 0, + directionalHint: 7 /* bottomAutoEdge */, + beakWidth: 16, + getMenuClassNames: ContextualMenu_classNames_1.getContextualMenuClassNames + }; + ContextualMenu = ContextualMenu_1 = tslib_1.__decorate([ + Utilities_1.customizable('ContextualMenu', ['theme']), + withResponsiveMode_1.withResponsiveMode + ], ContextualMenu); + return ContextualMenu; + var ContextualMenu_1; +}(Utilities_1.BaseComponent)); +exports.ContextualMenu = ContextualMenu; +//# sourceMappingURL=ContextualMenu.js.map + +/***/ }), + +/***/ "+aGg": +/*!*******************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Callout/CalloutContent.js ***! + \*******************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var CalloutContent_base_1 = __webpack_require__(/*! ./CalloutContent.base */ "XZgV"); +var CalloutContent_styles_1 = __webpack_require__(/*! ./CalloutContent.styles */ "XHtT"); +exports.CalloutContent = Utilities_1.styled(CalloutContent_base_1.CalloutContentBase, CalloutContent_styles_1.getStyles); +//# sourceMappingURL=CalloutContent.js.map + +/***/ }), + +/***/ "+fC3": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/lib/propertyFields/listPicker/index.js ***! + \*****************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(__webpack_require__(/*! ./PropertyFieldListPicker */ "9uoN")); +__export(__webpack_require__(/*! ./IPropertyFieldListPicker */ "b58g")); +__export(__webpack_require__(/*! ./PropertyFieldListPickerHost */ "Y8Tu")); + +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ "+s0g": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/nl.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Dutch [nl] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split( + '_' + ), + monthsParse = [ + /^jan/i, + /^feb/i, + /^maart|mrt.?$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nl = moment.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( + '_' + ), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nl; + +}))); + + +/***/ }), + +/***/ "//9w": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/se.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Northern Sami [se] +//! authors : Bård Rolstad Henriksen : https://github.com/karamell + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var se = moment.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split( + '_' + ), + weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return se; + +}))); + + +/***/ }), + +/***/ "//B1": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/hoistStatics.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +/** + * Allows you to hoist static functions in components. + * Created for the purpose of fixing broken static functions in classes + * that utilize decorators. + * + * @public + * @param source - The object where the methods are hoisted from. + * @param dest - The object to hoist the methods onto. + * @returns The dest object with methods added + */ +Object.defineProperty(exports, "__esModule", { value: true }); +function hoistStatics(source, dest) { + for (var name_1 in source) { + if (source.hasOwnProperty(name_1)) { + // tslint:disable-next-line:no-any + dest[name_1] = source[name_1]; + } + } + return dest; +} +exports.hoistStatics = hoistStatics; +//# sourceMappingURL=hoistStatics.js.map + +/***/ }), + +/***/ "//Os": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/KeytipData.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/KeytipData/index */ "H+sk"), exports); +//# sourceMappingURL=KeytipData.js.map + +/***/ }), + +/***/ "/A2d": +/*!******************************************************!*\ + !*** ./node_modules/@pnp/telemetry-js/dist/index.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__webpack_require__(/*! whatwg-fetch */ "eP0N"); +var PNP_TELEMETRY_URL = "https://pnptelemetryproxy.azurewebsites.net/track"; +/** + * PnP Telemetry class + * + * This can be used to track PnP client-side events + */ +var PnPTelemetry = /** @class */ (function () { + function PnPTelemetry() { + this.events = []; + this.timeout = null; + this.tracking = true; + } + /** + * Initialize the telemetry class and return the instance + */ + PnPTelemetry.getInstance = function () { + if (typeof window.pnpTelemetry === "undefined") { + window.pnpTelemetry = new PnPTelemetry(); + } + return window.pnpTelemetry; + }; + /** + * Opt out of tracking + */ + PnPTelemetry.prototype.optOut = function () { + this.tracking = false; + }; + /** + * Track the event information + * + * @param name + * @param props + */ + PnPTelemetry.prototype.trackEvent = function (name, properties) { + if (this.tracking) { + this.events.push({ name: name, properties: properties }); + this.debounceTracking(); + } + }; + /** + * Delay event tracking + */ + PnPTelemetry.prototype.debounceTracking = function () { + return __awaiter(this, void 0, void 0, function () { + var _this = this; + return __generator(this, function (_a) { + // Check if timeout was defined + if (this.timeout) { + clearTimeout(this.timeout); + } + // Set a new timeout + this.timeout = setTimeout(function () { return __awaiter(_this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, fetch(PNP_TELEMETRY_URL, { + method: 'POST', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify(this.events) + })]; + case 1: + _a.sent(); + // Reset the events + this.events = []; + return [2 /*return*/]; + } + }); + }); }, 1000); + return [2 /*return*/]; + }); + }); + }; + return PnPTelemetry; +}()); +exports.default = PnPTelemetry; + + +/***/ }), + +/***/ "/EXG": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/merge-styles/lib/Stylesheet.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +/** + * Injection mode for the stylesheet. + * + * @public + */ +var InjectionMode; +(function (InjectionMode) { + /** + * Avoids style injection, use getRules() to read the styles. + */ + InjectionMode[InjectionMode["none"] = 0] = "none"; + /** + * Inserts rules using the insertRule api. + */ + InjectionMode[InjectionMode["insertNode"] = 1] = "insertNode"; + /** + * Appends rules using appendChild. + */ + InjectionMode[InjectionMode["appendChild"] = 2] = "appendChild"; +})(InjectionMode = exports.InjectionMode || (exports.InjectionMode = {})); +var STYLESHEET_SETTING = '__stylesheet__'; +var _stylesheet; +/** + * Represents the state of styles registered in the page. Abstracts + * the surface for adding styles to the stylesheet, exposes helpers + * for reading the styles registered in server rendered scenarios. + * + * @public + */ +var Stylesheet = /** @class */ (function () { + function Stylesheet(config) { + this._rules = []; + this._rulesToInsert = []; + this._counter = 0; + this._keyToClassName = {}; + // tslint:disable-next-line:no-any + this._classNameToArgs = {}; + this._config = tslib_1.__assign({ injectionMode: 1 /* insertNode */, defaultPrefix: 'css' }, config); + } + /** + * Gets the singleton instance. + */ + Stylesheet.getInstance = function () { + // tslint:disable-next-line:no-any + var win = typeof window !== 'undefined' ? window : {}; + _stylesheet = win[STYLESHEET_SETTING]; + if (!_stylesheet) { + // tslint:disable-next-line:no-string-literal + var fabricConfig = (win && win['FabricConfig']) || {}; + _stylesheet = win[STYLESHEET_SETTING] = new Stylesheet(fabricConfig.mergeStyles); + } + return _stylesheet; + }; + /** + * Configures the stylesheet. + */ + Stylesheet.prototype.setConfig = function (config) { + this._config = tslib_1.__assign({}, this._config, config); + }; + /** + * Generates a unique classname. + * + * @param displayName - Optional value to use as a prefix. + */ + Stylesheet.prototype.getClassName = function (displayName) { + var prefix = displayName || this._config.defaultPrefix; + return prefix + "-" + this._counter++; + }; + /** + * Used internally to cache information about a class which was + * registered with the stylesheet. + */ + Stylesheet.prototype.cacheClassName = function (className, key, args, rules) { + this._keyToClassName[key] = className; + this._classNameToArgs[className] = { + args: args, + rules: rules + }; + }; + /** + * Gets the appropriate classname given a key which was previously + * registered using cacheClassName. + */ + Stylesheet.prototype.classNameFromKey = function (key) { + return this._keyToClassName[key]; + }; + /** + * Gets the arguments associated with a given classname which was + * previously registered using cacheClassName. + */ + Stylesheet.prototype.argsFromClassName = function (className) { + var entry = this._classNameToArgs[className]; + return (entry && entry.args); + }; + /** + * Gets the arguments associated with a given classname which was + * previously registered using cacheClassName. + */ + Stylesheet.prototype.insertedRulesFromClassName = function (className) { + var entry = this._classNameToArgs[className]; + return (entry && entry.rules); + }; + /** + * Inserts a css rule into the stylesheet. + */ + Stylesheet.prototype.insertRule = function (rule) { + var injectionMode = this._config.injectionMode; + var element = injectionMode !== 0 /* none */ ? this._getStyleElement() : undefined; + if (element) { + switch (this._config.injectionMode) { + case 1 /* insertNode */: + var sheet = element.sheet; + try { + sheet.insertRule(rule, sheet.cssRules.length); + } + catch (e) { + // The browser will throw exceptions on unsupported rules (such as a moz prefix in webkit.) + // We need to swallow the exceptions for this scenario, otherwise we'd need to filter + // which could be slower and bulkier. + } + break; + case 2 /* appendChild */: + element.appendChild(document.createTextNode(rule)); + break; + } + } + else { + this._rules.push(rule); + } + if (this._config.onInsertRule) { + this._config.onInsertRule(rule); + } + }; + /** + * Gets all rules registered with the stylesheet; only valid when + * using InsertionMode.none. + */ + Stylesheet.prototype.getRules = function () { + return (this._rules.join('') || '') + (this._rulesToInsert.join('') || ''); + }; + /** + * Resets the internal state of the stylesheet. Only used in server + * rendered scenarios where we're using InsertionMode.none. + */ + Stylesheet.prototype.reset = function () { + this._rules = []; + this._rulesToInsert = []; + this._counter = 0; + this._classNameToArgs = {}; + this._keyToClassName = {}; + }; + // Forces the regeneration of incoming styles without totally resetting the stylesheet. + Stylesheet.prototype.resetKeys = function () { + this._keyToClassName = {}; + }; + Stylesheet.prototype._getStyleElement = function () { + var _this = this; + if (!this._styleElement && typeof document !== 'undefined') { + this._styleElement = this._createStyleElement(); + // Reset the style element on the next frame. + window.requestAnimationFrame(function () { + _this._styleElement = undefined; + }); + } + return this._styleElement; + }; + Stylesheet.prototype._createStyleElement = function () { + var styleElement = document.createElement('style'); + styleElement.setAttribute('data-merge-styles', 'true'); + styleElement.type = 'text/css'; + if (this._lastStyleElement && this._lastStyleElement.nextElementSibling) { + document.head.insertBefore(styleElement, this._lastStyleElement.nextElementSibling); + } + else { + document.head.appendChild(styleElement); + } + this._lastStyleElement = styleElement; + return styleElement; + }; + return Stylesheet; +}()); +exports.Stylesheet = Stylesheet; +//# sourceMappingURL=Stylesheet.js.map + +/***/ }), + +/***/ "/HWW": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/merge-styles/lib/styleToClassName.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "zHyq"); +var kebabRules_1 = __webpack_require__(/*! ./transforms/kebabRules */ "Fuyy"); +var prefixRules_1 = __webpack_require__(/*! ./transforms/prefixRules */ "IVfg"); +var provideUnits_1 = __webpack_require__(/*! ./transforms/provideUnits */ "Aphm"); +var rtlifyRules_1 = __webpack_require__(/*! ./transforms/rtlifyRules */ "UV/n"); +var DISPLAY_NAME = 'displayName'; +function getDisplayName(rules) { + var rootStyle = rules && rules['&']; + return rootStyle ? rootStyle.displayName : undefined; +} +function extractRules(args, rules, currentSelector) { + if (rules === void 0) { rules = { __order: [] }; } + if (currentSelector === void 0) { currentSelector = '&'; } + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var currentRules = rules[currentSelector]; + if (!currentRules) { + currentRules = {}; + rules[currentSelector] = currentRules; + rules.__order.push(currentSelector); + } + for (var _i = 0, args_1 = args; _i < args_1.length; _i++) { + var arg = args_1[_i]; + // If the arg is a string, we need to look up the class map and merge. + if (typeof arg === 'string') { + var expandedRules = stylesheet.argsFromClassName(arg); + if (expandedRules) { + extractRules(expandedRules, rules, currentSelector); + } + // Else if the arg is an array, we need to recurse in. + } + else if (Array.isArray(arg)) { + extractRules(arg, rules, currentSelector); + } + else { + // tslint:disable-next-line:no-any + for (var prop in arg) { + if (prop === 'selectors') { + // tslint:disable-next-line:no-any + var selectors = arg.selectors; + for (var newSelector in selectors) { + if (selectors.hasOwnProperty(newSelector)) { + var selectorValue = selectors[newSelector]; + if (newSelector.indexOf(':global(') === 0) { + newSelector = newSelector.replace(/:global\(|\)$/g, ''); + } + else if (newSelector.indexOf('@media') === 0) { + newSelector = newSelector + '{' + currentSelector; + } + else if (newSelector.indexOf(':') === 0) { + newSelector = currentSelector + newSelector; + } + else if (newSelector.indexOf('&') < 0) { + newSelector = currentSelector + ' ' + newSelector; + } + extractRules([selectorValue], rules, newSelector); + } + } + } + else { + // Else, add the rule to the currentSelector. + if (prop === 'margin' || prop === 'padding') { + // tslint:disable-next-line:no-any + expandQuads(currentRules, prop, arg[prop]); + } + else { + // tslint:disable-next-line:no-any + currentRules[prop] = arg[prop]; + } + } + } + } + } + return rules; +} +function expandQuads(currentRules, name, value) { + var parts = (typeof value === 'string') ? value.split(' ') : [value]; + currentRules[name + 'Top'] = parts[0]; + currentRules[name + 'Right'] = parts[1] || parts[0]; + currentRules[name + 'Bottom'] = parts[2] || parts[0]; + currentRules[name + 'Left'] = parts[3] || parts[1] || parts[0]; +} +function getKeyForRules(rules) { + var serialized = []; + var hasProps = false; + for (var _i = 0, _a = rules.__order; _i < _a.length; _i++) { + var selector = _a[_i]; + serialized.push(selector); + var rulesForSelector = rules[selector]; + for (var propName in rulesForSelector) { + if (rulesForSelector.hasOwnProperty(propName) && rulesForSelector[propName] !== undefined) { + hasProps = true; + serialized.push(propName, rulesForSelector[propName]); + } + } + } + return hasProps ? serialized.join('') : undefined; +} +function serializeRuleEntries(ruleEntries) { + if (!ruleEntries) { + return ''; + } + var allEntries = []; + for (var entry in ruleEntries) { + if (ruleEntries.hasOwnProperty(entry) && entry !== DISPLAY_NAME && ruleEntries[entry] !== undefined) { + allEntries.push(entry, ruleEntries[entry]); + } + } + // Apply transforms. + for (var i = 0; i < allEntries.length; i += 2) { + kebabRules_1.kebabRules(allEntries, i); + provideUnits_1.provideUnits(allEntries, i); + rtlifyRules_1.rtlifyRules(allEntries, i); + prefixRules_1.prefixRules(allEntries, i); + } + // Apply punctuation. + for (var i = 1; i < allEntries.length; i += 4) { + allEntries.splice(i, 1, ':', allEntries[i], ';'); + } + return allEntries.join(''); +} +exports.serializeRuleEntries = serializeRuleEntries; +function styleToRegistration() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var rules = extractRules(args); + var key = getKeyForRules(rules); + if (key) { + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var registration = { + className: stylesheet.classNameFromKey(key), + key: key, + args: args + }; + if (!registration.className) { + registration.className = stylesheet.getClassName(getDisplayName(rules)); + var rulesToInsert = []; + for (var _a = 0, _b = rules.__order; _a < _b.length; _a++) { + var selector = _b[_a]; + rulesToInsert.push(selector, serializeRuleEntries(rules[selector])); + } + registration.rulesToInsert = rulesToInsert; + } + return registration; + } +} +exports.styleToRegistration = styleToRegistration; +function applyRegistration(registration, classMap) { + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var className = registration.className, key = registration.key, args = registration.args, rulesToInsert = registration.rulesToInsert; + if (rulesToInsert) { + // rulesToInsert is an ordered array of selector/rule pairs. + for (var i = 0; i < rulesToInsert.length; i += 2) { + var rules = rulesToInsert[i + 1]; + if (rules) { + var selector = rulesToInsert[i]; + // Fix selector using map. + selector = selector.replace(/(&)|\$([\w-]+)\b/g, function (match, amp, cn) { + if (amp) { + return '.' + registration.className; + } + else if (cn) { + return '.' + ((classMap && classMap[cn]) || cn); + } + return ''; + }); + // Insert. Note if a media query, we must close the query with a final bracket. + var processedRule = selector + "{" + rules + "}" + ((selector.indexOf('@media') === 0) ? '}' : ''); + stylesheet.insertRule(processedRule); + } + } + stylesheet.cacheClassName(className, key, args, rulesToInsert); + } +} +exports.applyRegistration = applyRegistration; +function styleToClassName() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var registration = styleToRegistration.apply(void 0, args); + if (registration) { + applyRegistration(registration); + return registration.className; + } + return ''; +} +exports.styleToClassName = styleToClassName; +//# sourceMappingURL=styleToClassName.js.map + +/***/ }), + +/***/ "/Phj": +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Divider/index.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./VerticalDivider */ "3nfX"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "/X5v": +/*!************************************************!*\ + !*** ./node_modules/moment/locale/x-pseudo.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Pseudo [x-pseudo] +//! author : Andrew Hood : https://github.com/andrewhood125 + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var xPseudo = moment.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return xPseudo; + +}))); + + +/***/ }), + +/***/ "01TU": +/*!*********************************************************!*\ + !*** ./node_modules/@pnp/odata/invokable-extensions.js ***! + \*********************************************************/ +/*! exports provided: extendGlobal, extendObj, extendFactory, clearGlobalExtensions, disableExtensions, enableExtensions, applyFactoryExtensions, extensionOrDefault */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "extendGlobal", function() { return extendGlobal; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "extendObj", function() { return extendObj; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "extendFactory", function() { return extendFactory; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "clearGlobalExtensions", function() { return clearGlobalExtensions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "disableExtensions", function() { return disableExtensions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "enableExtensions", function() { return enableExtensions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "applyFactoryExtensions", function() { return applyFactoryExtensions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "extensionOrDefault", function() { return extensionOrDefault; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "t3D1"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/common */ "zqEK"); + + +var _enableExtensions = false; +var globalExtensions = []; +var factoryExtensions = new Map(); +var ObjExtensionsSym = Symbol.for("43f7a601"); +/** + * Creates global extensions across all invokable objects + * + * @param e The global extensions to apply + */ +var extendGlobal = function (e) { + _enableExtensions = true; + extendCol(globalExtensions, e); +}; +/** + * Applies the supplied extensions to a single instance + * + * @param target Object to which extensions are applied + * @param extensions Extensions to apply + */ +var extendObj = function (target, extensions) { + _enableExtensions = true; + if (!Reflect.has(target, ObjExtensionsSym)) { + Reflect.set(target, ObjExtensionsSym, []); + } + extendCol(Reflect.get(target, ObjExtensionsSym), extensions); + return target; +}; +/** + * Allows applying extensions to all instances created from the supplied factory + * + * @param factory The Invokable Factory method to extend + * @param extensions Extensions to apply + */ +var extendFactory = function (factory, extensions) { + _enableExtensions = true; + // factoryExtensions + var proto = Reflect.getPrototypeOf(factory); + if (!Reflect.has(proto, ObjExtensionsSym)) { + Reflect.defineProperty(proto, ObjExtensionsSym, { + value: Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["getGUID"])(), + }); + } + var key = proto[ObjExtensionsSym]; + if (!factoryExtensions.has(key)) { + factoryExtensions.set(key, []); + } + extendCol(factoryExtensions.get(key), extensions); +}; +function extendCol(a, e) { + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isArray"])(e)) { + // @ts-ignore + a.push.apply(a, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])(e)); + } + else { + // @ts-ignore + a.push(e); + } +} +/** + * Clears all global extensions + */ +var clearGlobalExtensions = function () { + globalExtensions.length = 0; +}; +/** + * Disables all extensions + */ +var disableExtensions = function () { + _enableExtensions = false; +}; +/** + * Enables all extensions + */ +var enableExtensions = function () { + _enableExtensions = true; +}; +/** + * Applies a set of extension previously applied to a factory using extendFactory to an object created from that factory + * + * @param factory + * @param args + */ +var applyFactoryExtensions = function (factory, args) { + var o = factory(args); + var proto = Reflect.getPrototypeOf(factory); + if (Reflect.has(proto, ObjExtensionsSym)) { + var extensions = factoryExtensions.get(Reflect.get(proto, ObjExtensionsSym)); + o = extendObj(o, extensions); + } + return o; +}; +function extensionOrDefault(op, or, target) { + var rest = []; + for (var _i = 3; _i < arguments.length; _i++) { + rest[_i - 3] = arguments[_i]; + } + if (_enableExtensions) { + var extensions = []; + // we need to first invoke extensions tied to only this object + if (Reflect.has(target, ObjExtensionsSym)) { + extensions.push.apply(extensions, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])(Reflect.get(target, ObjExtensionsSym))); + } + // second we need to process any global extensions + extensions.push.apply(extensions, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])(globalExtensions)); + for (var i = 0; i < extensions.length; i++) { + var extension = extensions[i]; + var result = undefined; + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isFunc"])(extension)) { + // this extension is a function which we call + result = extension.apply(void 0, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])([op, target], rest)); + } + else if (op === "get" && Reflect.has(extension, rest[0])) { + // this extension is a named extension meaning we are overriding a specific method/property + result = Reflect.get(extension, rest[0], target); + } + else if (Reflect.has(extension, op)) { + // this extension is a ProxyHandler that has a handler defined for {op} so we pass control and see if we get a result + result = Reflect.get(extension, op).apply(void 0, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])([target], rest)); + } + if (typeof result !== "undefined") { + // if a extension returned a result, we return that + // this means that this extension overrides any other extensions and no more are executed + // first extension in the list to return "wins" + return result; + } + } + } + return or.apply(void 0, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])([target], rest)); +} +//# sourceMappingURL=invokable-extensions.js.map + +/***/ }), + +/***/ "08ZC": +/*!*************************************************!*\ + !*** ./node_modules/@pnp/common/safe-global.js ***! + \*************************************************/ +/*! exports provided: safeGlobal */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "safeGlobal", function() { return safeGlobal; }); +// export either window or global +var safeGlobal = typeof global === "undefined" ? window : global; +//# sourceMappingURL=safe-global.js.map +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "yLpj"))) + +/***/ }), + +/***/ "0FKx": +/*!**************************************************!*\ + !*** ./node_modules/@pnp/sp/appcatalog/index.js ***! + \**************************************************/ +/*! exports provided: App, AppCatalog */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _rest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rest */ "9l4K"); +/* harmony import */ var _webs_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../webs/types */ "dVsc"); +/* harmony import */ var _web__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./web */ "amhO"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./types */ "ArVI"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "App", function() { return _types__WEBPACK_IMPORTED_MODULE_5__["App"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AppCatalog", function() { return _types__WEBPACK_IMPORTED_MODULE_5__["AppCatalog"]; }); + + + + + + + +_rest__WEBPACK_IMPORTED_MODULE_1__["SPRest"].prototype.getTenantAppCatalogWeb = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_4__["SharePointQueryable"])("/", "_api/SP_TenantSettings_Current")()]; + case 1: + data = _a.sent(); + return [2 /*return*/, Object(_webs_types__WEBPACK_IMPORTED_MODULE_2__["Web"])(data.CorporateCatalogUrl)]; + } + }); + }); +}; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "0MvI": +/*!***********************************************!*\ + !*** ./node_modules/@pnp/sp/folders/index.js ***! + \***********************************************/ +/*! exports provided: Folder, Folders */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _item__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./item */ "LZ64"); +/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./list */ "vttn"); +/* harmony import */ var _web__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./web */ "ymW/"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "4tXH"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Folder", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["Folder"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Folders", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["Folders"]; }); + + + + + +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "0Xhg": +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Button/Button.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var Button_types_1 = __webpack_require__(/*! ./Button.types */ "8Hty"); +var DefaultButton_1 = __webpack_require__(/*! ./DefaultButton/DefaultButton */ "W0Zu"); +var ActionButton_1 = __webpack_require__(/*! ./ActionButton/ActionButton */ "wXwR"); +var CompoundButton_1 = __webpack_require__(/*! ./CompoundButton/CompoundButton */ "A9FN"); +var IconButton_1 = __webpack_require__(/*! ./IconButton/IconButton */ "RnIT"); +var PrimaryButton_1 = __webpack_require__(/*! ./PrimaryButton/PrimaryButton */ "UhdI"); +/** + * This class is deprecated. Use the individual *Button components instead. + * @deprecated + */ +var Button = /** @class */ (function (_super) { + tslib_1.__extends(Button, _super); + function Button(props) { + var _this = _super.call(this, props) || this; + /** + * Set this BaseComponent._resolveComponentRef to false, bypassing resolution of componentRef. + */ + _this._shouldUpdateComponentRef = false; + Utilities_1.warn("The Button component has been deprecated. Use specific variants instead. " + + "(PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"); + return _this; + } + Button.prototype.render = function () { + var props = this.props; + switch (props.buttonType) { + case Button_types_1.ButtonType.command: + return React.createElement(ActionButton_1.ActionButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.compound: + return React.createElement(CompoundButton_1.CompoundButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.icon: + return React.createElement(IconButton_1.IconButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.primary: + return React.createElement(PrimaryButton_1.PrimaryButton, tslib_1.__assign({}, props)); + default: + return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, props)); + } + }; + return Button; +}(Utilities_1.BaseComponent)); +exports.Button = Button; +//# sourceMappingURL=Button.js.map + +/***/ }), + +/***/ "0YVK": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/files/index.js ***! + \*********************************************/ +/*! exports provided: File, Files, CheckinType, MoveOperations, TemplateFileType, Version, Versions */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _folder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./folder */ "JFDc"); +/* harmony import */ var _item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./item */ "pGs8"); +/* harmony import */ var _web__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./web */ "SPHc"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "qfcF"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "File", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["File"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Files", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["Files"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CheckinType", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["CheckinType"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MoveOperations", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["MoveOperations"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TemplateFileType", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["TemplateFileType"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Version", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["Version"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Versions", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["Versions"]; }); + + + + + +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "0YjV": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/Divider.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Divider/index */ "9szA"), exports); +//# sourceMappingURL=Divider.js.map + +/***/ }), + +/***/ "0dZV": +/*!******************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/lib/Placeholder.js ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(__webpack_require__(/*! ./controls/placeholder/index */ "P+o8")); + +//# sourceMappingURL=Placeholder.js.map + + +/***/ }), + +/***/ "0l15": +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/Button.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var Button_types_1 = __webpack_require__(/*! ./Button.types */ "m0UV"); +var DefaultButton_1 = __webpack_require__(/*! ./DefaultButton/DefaultButton */ "GOk5"); +var ActionButton_1 = __webpack_require__(/*! ./ActionButton/ActionButton */ "JcEy"); +var CompoundButton_1 = __webpack_require__(/*! ./CompoundButton/CompoundButton */ "rGd0"); +var IconButton_1 = __webpack_require__(/*! ./IconButton/IconButton */ "DZRq"); +var PrimaryButton_1 = __webpack_require__(/*! ./PrimaryButton/PrimaryButton */ "M/5m"); +/** + * This class is deprecated. Use the individual *Button components instead. + * @deprecated + */ +var Button = /** @class */ (function (_super) { + tslib_1.__extends(Button, _super); + function Button(props) { + var _this = _super.call(this, props) || this; + /** + * Set this BaseComponent._resolveComponentRef to false, bypassing resolution of componentRef. + */ + _this._shouldUpdateComponentRef = false; + Utilities_1.warn("The Button component has been deprecated. Use specific variants instead. " + + "(PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"); + return _this; + } + Button.prototype.render = function () { + var props = this.props; + switch (props.buttonType) { + case Button_types_1.ButtonType.command: + return React.createElement(ActionButton_1.ActionButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.compound: + return React.createElement(CompoundButton_1.CompoundButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.icon: + return React.createElement(IconButton_1.IconButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.primary: + return React.createElement(PrimaryButton_1.PrimaryButton, tslib_1.__assign({}, props)); + default: + return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, props)); + } + }; + return Button; +}(Utilities_1.BaseComponent)); +exports.Button = Button; +//# sourceMappingURL=Button.js.map + +/***/ }), + +/***/ "0mo+": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/bo.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Tibetan [bo] +//! author : Thupten N. Chakrishar : https://github.com/vajradog + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + + var bo = moment.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return bo; + +}))); + + +/***/ }), + +/***/ "0nlW": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/merge-styles/lib/concatStyleSets.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Combine a set of styles together (but does not register css classes.) + * @public + */ +function concatStyleSets() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // tslint:disable-next-line:no-any + var mergedSet = {}; + for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { + var currentSet = args_1[_a]; + if (currentSet) { + for (var prop in currentSet) { + if (currentSet.hasOwnProperty(prop)) { + var mergedValue = mergedSet[prop]; + var currentValue = currentSet[prop]; + if (mergedValue === undefined) { + mergedSet[prop] = currentValue; + } + else { + mergedSet[prop] = (Array.isArray(mergedValue) ? mergedValue : [mergedValue]).concat((Array.isArray(currentValue) ? currentValue : [currentValue])); + } + } + } + } + } + return mergedSet; +} +exports.concatStyleSets = concatStyleSets; +//# sourceMappingURL=concatStyleSets.js.map + +/***/ }), + +/***/ "0p/9": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/splibconfig.js ***! + \*********************************************/ +/*! exports provided: emptyGuid, setup, SPRuntimeConfigImpl, SPRuntimeConfig */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "emptyGuid", function() { return emptyGuid; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setup", function() { return setup; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SPRuntimeConfigImpl", function() { return SPRuntimeConfigImpl; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SPRuntimeConfig", function() { return SPRuntimeConfig; }); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/common */ "zqEK"); + +var emptyGuid = "00000000-0000-0000-0000-000000000000"; +function setup(config) { + _pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].assign(config); +} +var SPRuntimeConfigImpl = /** @class */ (function () { + function SPRuntimeConfigImpl() { + } + Object.defineProperty(SPRuntimeConfigImpl.prototype, "headers", { + get: function () { + var spPart = _pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].get("sp"); + if (spPart !== undefined && spPart.headers !== undefined) { + return spPart.headers; + } + return {}; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(SPRuntimeConfigImpl.prototype, "baseUrl", { + get: function () { + var spPart = _pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].get("sp"); + if (spPart !== undefined && spPart.baseUrl !== undefined) { + return spPart.baseUrl; + } + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_0__["objectDefinedNotNull"])(_pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].spfxContext)) { + return _pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].spfxContext.pageContext.web.absoluteUrl; + } + return null; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(SPRuntimeConfigImpl.prototype, "fetchClientFactory", { + get: function () { + var spPart = _pnp_common__WEBPACK_IMPORTED_MODULE_0__["RuntimeConfig"].get("sp"); + if (spPart !== undefined && spPart.fetchClientFactory !== undefined) { + return spPart.fetchClientFactory; + } + else { + return function () { return new _pnp_common__WEBPACK_IMPORTED_MODULE_0__["FetchClient"](); }; + } + }, + enumerable: false, + configurable: true + }); + return SPRuntimeConfigImpl; +}()); + +var SPRuntimeConfig = new SPRuntimeConfigImpl(); +//# sourceMappingURL=splibconfig.js.map + +/***/ }), + +/***/ "0qfX": +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/utilities/keytips/KeytipUtils.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var KeytipConstants_1 = __webpack_require__(/*! ./KeytipConstants */ "Rsec"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +/** + * Converts a whole set of KeySequences into one keytip ID, which will be the ID for the last keytip sequence specified + * keySequences should not include the initial keytip 'start' sequence. + * + * @param keySequences - Full path of IKeySequences for one keytip. + * @returns {string} String to use for the keytip ID. + */ +function sequencesToID(keySequences) { + return keySequences.reduce(function (prevValue, keySequence) { + return prevValue + KeytipConstants_1.KTP_SEPARATOR + keySequence.split('').join(KeytipConstants_1.KTP_SEPARATOR); + }, KeytipConstants_1.KTP_PREFIX); +} +exports.sequencesToID = sequencesToID; +/** + * Merges an overflow sequence with a key sequence. + * + * @param keySequences - Full sequence for one keytip. + * @param overflowKeySequences - Full overflow keytip sequence. + * @returns {string[]} Sequence that will be used by the keytip when in the overflow. + */ +function mergeOverflows(keySequences, overflowKeySequences) { + var overflowSequenceLen = overflowKeySequences.length; + var overflowSequence = overflowKeySequences.slice().pop(); + var newKeySequences = keySequences.slice(); + return Utilities_1.addElementAtIndex(newKeySequences, overflowSequenceLen - 1, overflowSequence); +} +exports.mergeOverflows = mergeOverflows; +/** + * Constructs the data-ktp-target attribute selector from a full key sequence. + * + * @param keySequences - Full string[] for a Keytip. + * @returns {string} String selector to use to query for the keytip target. + */ +function ktpTargetFromSequences(keySequences) { + return '[' + KeytipConstants_1.DATAKTP_TARGET + '="' + sequencesToID(keySequences) + '"]'; +} +exports.ktpTargetFromSequences = ktpTargetFromSequences; +/** + * Constructs the data-ktp-execute-target attribute selector from a keytip ID. + * + * @param keytipId - ID of the Keytip. + * @returns {string} String selector to use to query for the keytip execute target. + */ +function ktpTargetFromId(keytipId) { + return '[' + KeytipConstants_1.DATAKTP_EXECUTE_TARGET + '="' + keytipId + '"]'; +} +exports.ktpTargetFromId = ktpTargetFromId; +/** + * Gets the aria-describedby value to put on the component with this keytip. + * + * @param keySequences - KeySequences of the keytip. + * @returns {string} The aria-describedby value to set on the component with this keytip. + */ +function getAriaDescribedBy(keySequences) { + var describedby = ' ' + KeytipConstants_1.KTP_LAYER_ID; + if (!keySequences.length) { + // Return just the layer ID + return describedby; + } + return describedby + ' ' + sequencesToID(keySequences); +} +exports.getAriaDescribedBy = getAriaDescribedBy; +//# sourceMappingURL=KeytipUtils.js.map + +/***/ }), + +/***/ "0rHm": +/*!*************************************************!*\ + !*** ./node_modules/@pnp/sp/site-groups/web.js ***! + \*************************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _webs_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../webs/types */ "dVsc"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "UuUm"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/escapeQueryStrValue */ "q1Lp"); +/* harmony import */ var _security_web__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../security/web */ "4G66"); + + + + + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_2__["_Web"], "siteGroups", _types__WEBPACK_IMPORTED_MODULE_3__["SiteGroups"]); +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_2__["_Web"], "associatedOwnerGroup", _types__WEBPACK_IMPORTED_MODULE_3__["SiteGroups"], "associatedownergroup"); +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_2__["_Web"], "associatedMemberGroup", _types__WEBPACK_IMPORTED_MODULE_3__["SiteGroups"], "associatedmembergroup"); +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_2__["_Web"], "associatedVisitorGroup", _types__WEBPACK_IMPORTED_MODULE_3__["SiteGroups"], "associatedvisitorgroup"); +_webs_types__WEBPACK_IMPORTED_MODULE_2__["_Web"].prototype.createDefaultAssociatedGroups = function (groupNameSeed, siteOwner, copyRoleAssignments, clearSubscopes, siteOwner2) { + if (copyRoleAssignments === void 0) { copyRoleAssignments = false; } + if (clearSubscopes === void 0) { clearSubscopes = true; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var q; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.breakRoleInheritance(copyRoleAssignments, clearSubscopes)]; + case 1: + _a.sent(); + q = this.clone(_webs_types__WEBPACK_IMPORTED_MODULE_2__["Web"], "createDefaultAssociatedGroups(userLogin=@u,userLogin2=@v,groupNameSeed=@s)"); + q.query.set("@u", "'" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_5__["escapeQueryStrValue"])(siteOwner || "") + "'"); + q.query.set("@v", "'" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_5__["escapeQueryStrValue"])(siteOwner2 || "") + "'"); + q.query.set("@s", "'" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_5__["escapeQueryStrValue"])(groupNameSeed || "") + "'"); + return [2 /*return*/, Object(_operations__WEBPACK_IMPORTED_MODULE_4__["spPost"])(q)]; + } + }); + }); +}; +//# sourceMappingURL=web.js.map + +/***/ }), + +/***/ "0sry": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/localStorage.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Fetches an item from local storage without throwing an exception + * @param key The key of the item to fetch from local storage + */ +function getItem(key) { + var result = null; + try { + result = window.localStorage.getItem(key); + } + catch (e) { + /* Eat the exception */ + } + return result; +} +exports.getItem = getItem; +/** + * Inserts an item into local storage without throwing an exception + * @param key The key of the item to add to local storage + * @param data The data to put into local storage + */ +function setItem(key, data) { + try { + window.localStorage.setItem(key, data); + } + catch (e) { + /* Eat the exception */ + } +} +exports.setItem = setItem; +//# sourceMappingURL=localStorage.js.map + +/***/ }), + +/***/ "0tRk": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/pt-br.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Portuguese (Brazil) [pt-br] +//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ptBr = moment.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', + }); + + return ptBr; + +}))); + + +/***/ }), + +/***/ "17x9": +/*!******************************************!*\ + !*** ./node_modules/prop-types/index.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +/** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +if (true) { + var ReactIs = __webpack_require__(/*! react-is */ "TOwV"); + + // By explicitly using `prop-types` you are opting into new development behavior. + // http://fb.me/prop-types-in-prod + var throwOnDirectAccess = true; + module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "sHIV")(ReactIs.isElement, throwOnDirectAccess); +} else {} + + +/***/ }), + +/***/ "1F7j": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/styling/lib/index.js ***! + \**********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./classNames/index */ "p/0J"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./styles/index */ "gC9O"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/index */ "Q8UY"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./MergeStyles */ "V2us"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "1IgS": +/*!***************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/KeytipData/KeytipData.js ***! + \***************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var KeytipManager_1 = __webpack_require__(/*! ../../utilities/keytips/KeytipManager */ "a9xA"); +var KeytipUtils_1 = __webpack_require__(/*! ../../utilities/keytips/KeytipUtils */ "0qfX"); +/** + * A small element to help the target component correctly read out its aria-describedby for its Keytip + * + * @export + * @class KeytipData + * @extends {BaseComponent, {}>} + */ +var KeytipData = /** @class */ (function (_super) { + tslib_1.__extends(KeytipData, _super); + function KeytipData() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this._keytipManager = KeytipManager_1.KeytipManager.getInstance(); + return _this; + } + KeytipData.prototype.componentDidMount = function () { + // Register Keytip in KeytipManager + if (this.props.keytipProps) { + this._uniqueId = this._keytipManager.register(this._getKtpProps()); + } + }; + KeytipData.prototype.componentWillUnmount = function () { + // Unregister Keytip in KeytipManager + this.props.keytipProps && this._keytipManager.unregister(this._getKtpProps(), this._uniqueId); + }; + KeytipData.prototype.componentDidUpdate = function () { + // Update Keytip in KeytipManager + this.props.keytipProps && this._keytipManager.update(this._getKtpProps(), this._uniqueId); + }; + KeytipData.prototype.render = function () { + var _a = this.props, children = _a.children, keytipProps = _a.keytipProps, ariaDescribedBy = _a.ariaDescribedBy; + var nativeKeytipProps = {}; + if (keytipProps) { + nativeKeytipProps = this._getKtpAttrs(keytipProps, ariaDescribedBy); + } + return children(nativeKeytipProps); + }; + KeytipData.prototype._getKtpProps = function () { + return tslib_1.__assign({ disabled: this.props.disabled }, this.props.keytipProps); + }; + /** + * Gets the aria- and data- attributes to attach to the component + * @param keytipProps + * @param describedByPrepend + */ + KeytipData.prototype._getKtpAttrs = function (keytipProps, describedByPrepend) { + if (keytipProps) { + // Add the parent overflow sequence if necessary + var newKeytipProps = this._keytipManager.addParentOverflow(keytipProps); + // Construct aria-describedby and data-ktp-id attributes and return + var ariaDescribedBy = KeytipUtils_1.getAriaDescribedBy(newKeytipProps.keySequences); + var keySequences = newKeytipProps.keySequences.slice(); + if (newKeytipProps.overflowSetSequence) { + keySequences = KeytipUtils_1.mergeOverflows(keySequences, newKeytipProps.overflowSetSequence); + } + var ktpId = KeytipUtils_1.sequencesToID(keySequences); + return { + 'aria-describedby': (describedByPrepend || '') + ariaDescribedBy, + 'data-ktp-target': ktpId, + 'data-ktp-execute-target': ktpId + }; + } + return undefined; + }; + return KeytipData; +}(Utilities_1.BaseComponent)); +exports.KeytipData = KeytipData; +//# sourceMappingURL=KeytipData.js.map + +/***/ }), + +/***/ "1J6I": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/styling/lib/styles/theme.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var Customizations_1 = __webpack_require__(/*! @uifabric/utilities/lib/Customizations */ "Un1U"); +var DefaultFontStyles_1 = __webpack_require__(/*! ./DefaultFontStyles */ "8rpR"); +var DefaultPalette_1 = __webpack_require__(/*! ./DefaultPalette */ "jXp2"); +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "5AgF"); +var _theme = { + palette: DefaultPalette_1.DefaultPalette, + semanticColors: _makeSemanticColorsFromPalette(DefaultPalette_1.DefaultPalette, false, false), + fonts: DefaultFontStyles_1.DefaultFontStyles, + isInverted: false, + disableGlobalClassNames: false +}; +var _onThemeChangeCallbacks = []; +exports.ThemeSettingName = 'theme'; +if (!Customizations_1.Customizations.getSettings([exports.ThemeSettingName]).theme) { + var win = typeof window !== 'undefined' ? window : undefined; + // tslint:disable:no-string-literal no-any + if (win && + win['FabricConfig'] && + win['FabricConfig'].theme) { + _theme = createTheme(win['FabricConfig'].theme); + } + // tslint:enable:no-string-literal no-any + // Set the default theme. + Customizations_1.Customizations.applySettings((_a = {}, _a[exports.ThemeSettingName] = _theme, _a)); +} +/** + * Gets the theme object + * @param {boolean} depComments - Whether to include deprecated tags as comments for deprecated slots. + */ +function getTheme(depComments) { + if (depComments === void 0) { depComments = false; } + if (depComments === true) { + _theme = createTheme({}, depComments); + } + return _theme; +} +exports.getTheme = getTheme; +/** + * Registers a callback that gets called whenever the theme changes. + * This should only be used when the component cannot automatically get theme changes through its state. + * This will not register duplicate callbacks. + */ +function registerOnThemeChangeCallback(callback) { + if (_onThemeChangeCallbacks.indexOf(callback) === -1) { + _onThemeChangeCallbacks.push(callback); + } +} +exports.registerOnThemeChangeCallback = registerOnThemeChangeCallback; +/** + * See registerOnThemeChangeCallback(). + * Removes previously registered callbacks. + */ +function removeOnThemeChangeCallback(callback) { + var i = _onThemeChangeCallbacks.indexOf(callback); + if (i === -1) { + return; + } + _onThemeChangeCallbacks.splice(i, 1); +} +exports.removeOnThemeChangeCallback = removeOnThemeChangeCallback; +/** + * Applies the theme, while filling in missing slots. + * @param {object} theme - Partial theme object. + * @param {boolean} depComments - Whether to include deprecated tags as comments for deprecated slots. + */ +function loadTheme(theme, depComments) { + if (depComments === void 0) { depComments = false; } + _theme = createTheme(theme, depComments); + // Invoke the legacy method of theming the page as well. + load_themed_styles_1.loadTheme(tslib_1.__assign({}, _theme.palette, _theme.semanticColors)); + Customizations_1.Customizations.applySettings((_a = {}, _a[exports.ThemeSettingName] = _theme, _a)); + _onThemeChangeCallbacks.forEach(function (callback) { + try { + callback(_theme); + } + catch (e) { + // don't let a bad callback break everything else + } + }); + return _theme; + var _a; +} +exports.loadTheme = loadTheme; +/** + * Creates a custom theme definition which can be used with the Customizer. + * @param {object} theme - Partial theme object. + * @param {boolean} depComments - Whether to include deprecated tags as comments for deprecated slots. + */ +function createTheme(theme, depComments) { + if (depComments === void 0) { depComments = false; } + var newPalette = tslib_1.__assign({}, DefaultPalette_1.DefaultPalette, theme.palette); + if (!theme.palette || !theme.palette.accent) { + newPalette.accent = newPalette.themePrimary; + } + // mix in custom overrides with good slots first, since custom overrides might be used in fixing deprecated slots + var newSemanticColors = tslib_1.__assign({}, _makeSemanticColorsFromPalette(newPalette, !!theme.isInverted, depComments), theme.semanticColors); + return { + palette: newPalette, + fonts: tslib_1.__assign({}, DefaultFontStyles_1.DefaultFontStyles, theme.fonts), + semanticColors: newSemanticColors, + isInverted: !!theme.isInverted, + disableGlobalClassNames: !!theme.disableGlobalClassNames + }; +} +exports.createTheme = createTheme; +// Generates all the semantic slot colors based on the Fabric palette. +// We'll use these as fallbacks for semantic slots that the passed in theme did not define. +function _makeSemanticColorsFromPalette(p, isInverted, depComments) { + var toReturn = { + bodyBackground: p.white, + bodyStandoutBackground: p.neutralLighterAlt, + bodyFrameBackground: p.white, + bodyFrameDivider: p.neutralLight, + bodyText: p.neutralPrimary, + bodyTextChecked: p.black, + bodySubtext: p.neutralSecondary, + bodyDivider: p.neutralLight, + disabledBackground: p.neutralLighter, + disabledText: p.neutralTertiary, + disabledBodyText: p.neutralTertiary, + disabledSubtext: p.neutralQuaternary, + disabledBodySubtext: p.neutralTertiaryAlt, + focusBorder: p.neutralSecondary, + variantBorder: p.neutralLight, + variantBorderHovered: p.neutralTertiary, + defaultStateBackground: p.neutralLighterAlt, + errorText: !isInverted ? p.redDark : '#ff5f5f', + warningText: !isInverted ? '#333333' : '#ffffff', + errorBackground: !isInverted ? 'rgba(232, 17, 35, .2)' : 'rgba(232, 17, 35, .5)', + blockingBackground: !isInverted ? 'rgba(234, 67, 0, .2)' : 'rgba(234, 67, 0, .5)', + warningBackground: !isInverted ? 'rgba(255, 185, 0, .2)' : 'rgba(255, 251, 0, .6)', + warningHighlight: !isInverted ? '#ffb900' : '#fff100', + successBackground: !isInverted ? 'rgba(186, 216, 10, .2)' : 'rgba(186, 216, 10, .4)', + inputBorder: p.neutralTertiary, + inputBorderHovered: p.neutralPrimary, + inputBackground: p.white, + inputBackgroundChecked: p.themePrimary, + inputBackgroundCheckedHovered: p.themeDarkAlt, + inputForegroundChecked: p.white, + inputFocusBorderAlt: p.themePrimary, + smallInputBorder: p.neutralSecondary, + inputText: p.neutralPrimary, + inputTextHovered: p.neutralDark, + inputPlaceholderText: p.neutralSecondary, + buttonBackground: p.neutralLighter, + buttonBackgroundChecked: p.neutralTertiaryAlt, + buttonBackgroundHovered: p.neutralLight, + buttonBackgroundCheckedHovered: p.neutralLight, + buttonBackgroundPressed: p.neutralLight, + buttonBackgroundDisabled: p.neutralLighter, + buttonBorder: 'transparent', + buttonText: p.neutralPrimary, + buttonTextHovered: p.neutralDark, + buttonTextChecked: p.neutralDark, + buttonTextCheckedHovered: p.black, + buttonTextPressed: p.neutralDark, + buttonTextDisabled: p.neutralTertiary, + buttonBorderDisabled: 'transparent', + primaryButtonBackground: p.themePrimary, + primaryButtonBackgroundHovered: p.themeDarkAlt, + primaryButtonBackgroundPressed: p.themeDark, + primaryButtonBackgroundDisabled: p.neutralLighter, + primaryButtonBorder: 'transparent', + primaryButtonText: p.white, + primaryButtonTextHovered: p.white, + primaryButtonTextPressed: p.white, + primaryButtonTextDisabled: p.neutralQuaternary, + accentButtonBackground: p.accent, + accentButtonText: p.white, + menuBackground: p.white, + menuDivider: p.neutralTertiaryAlt, + menuIcon: p.themePrimary, + menuHeader: p.themePrimary, + menuItemBackgroundHovered: p.neutralLighter, + menuItemBackgroundPressed: p.neutralLight, + menuItemText: p.neutralPrimary, + menuItemTextHovered: p.neutralDark, + listBackground: p.white, + listText: p.neutralPrimary, + listItemBackgroundHovered: p.neutralLighter, + listItemBackgroundChecked: p.neutralLight, + listItemBackgroundCheckedHovered: p.neutralQuaternaryAlt, + listHeaderBackgroundHovered: p.neutralLighter, + listHeaderBackgroundPressed: p.neutralLight, + actionLink: p.neutralPrimary, + actionLinkHovered: p.neutralDark, + link: p.themePrimary, + linkHovered: p.themeDarker, + // Deprecated slots, second pass by _fixDeprecatedSlots() later for self-referential slots + listTextColor: '', + menuItemBackgroundChecked: p.neutralLight + }; + return _fixDeprecatedSlots(toReturn, depComments); +} +function _fixDeprecatedSlots(s, depComments) { + // Add @deprecated tag as comment if enabled + var dep = ''; + if (depComments === true) { + dep = ' /* @deprecated */'; + } + s.listTextColor = s.listText + dep; + s.menuItemBackgroundChecked += dep; + return s; +} +var _a; +//# sourceMappingURL=theme.js.map + +/***/ }), + +/***/ "1XSK": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Popup/Popup.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +/** + * This adds accessibility to Dialog and Panel controls + */ +var Popup = /** @class */ (function (_super) { + tslib_1.__extends(Popup, _super); + function Popup(props) { + var _this = _super.call(this, props) || this; + _this._root = Utilities_1.createRef(); + _this._onKeyDown = function (ev) { + switch (ev.which) { + case 27 /* escape */: + if (_this.props.onDismiss) { + _this.props.onDismiss(ev); + ev.preventDefault(); + ev.stopPropagation(); + } + break; + } + }; + _this.state = { needsVerticalScrollBar: false }; + return _this; + } + Popup.prototype.componentWillMount = function () { + this._originalFocusedElement = Utilities_1.getDocument().activeElement; + }; + Popup.prototype.componentDidMount = function () { + if (!this._root.current) { + return; + } + this._events.on(this._root.current, 'focus', this._onFocus, true); + this._events.on(this._root.current, 'blur', this._onBlur, true); + if (Utilities_1.doesElementContainFocus(this._root.current)) { + this._containsFocus = true; + } + this._updateScrollBarAsync(); + }; + Popup.prototype.componentDidUpdate = function () { + this._updateScrollBarAsync(); + }; + Popup.prototype.componentWillUnmount = function () { + if (this.props.shouldRestoreFocus && + this._originalFocusedElement && + this._containsFocus && + this._originalFocusedElement !== window) { + // This slight delay is required so that we can unwind the stack, let react try to mess with focus, and then + // apply the correct focus. Without the setTimeout, we end up focusing the correct thing, and then React wants + // to reset the focus back to the thing it thinks should have been focused. + if (this._originalFocusedElement) { + this._originalFocusedElement.focus(); + } + } + }; + Popup.prototype.render = function () { + var _a = this.props, role = _a.role, className = _a.className, ariaLabel = _a.ariaLabel, ariaLabelledBy = _a.ariaLabelledBy, ariaDescribedBy = _a.ariaDescribedBy, style = _a.style; + return (React.createElement("div", tslib_1.__assign({ ref: this._root }, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties), { className: className, role: role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, onKeyDown: this._onKeyDown, style: tslib_1.__assign({ overflowY: this.state.needsVerticalScrollBar ? 'scroll' : undefined }, style) }), this.props.children)); + }; + Popup.prototype._updateScrollBarAsync = function () { + var _this = this; + this._async.requestAnimationFrame(function () { + _this._getScrollBar(); + }); + }; + Popup.prototype._getScrollBar = function () { + // If overflowY is overriden, don't waste time calculating whether the scrollbar is necessary. + if (this.props.style && this.props.style.overflowY) { + return; + } + var needsVerticalScrollBar = false; + if (this._root && this._root.current && this._root.current.firstElementChild) { + // ClientHeight returns the client height of an element rounded to an + // integer. On some browsers at different zoom levels this rounding + // can generate different results for the root container and child even + // though they are the same height. This causes us to show a scroll bar + // when not needed. Ideally we would use BoundingClientRect().height + // instead however seems that the API is 90% slower than using ClientHeight. + // Therefore instead we will calculate the difference between heights and + // allow for a 1px difference to still be considered ok and not show the + // scroll bar. + var rootHeight = this._root.current.clientHeight; + var firstChildHeight = this._root.current.firstElementChild.clientHeight; + if (rootHeight > 0 && firstChildHeight > rootHeight) { + needsVerticalScrollBar = (firstChildHeight - rootHeight) > 1; + } + } + if (this.state.needsVerticalScrollBar !== needsVerticalScrollBar) { + this.setState({ + needsVerticalScrollBar: needsVerticalScrollBar + }); + } + }; + Popup.prototype._onFocus = function () { + this._containsFocus = true; + }; + Popup.prototype._onBlur = function (ev) { + if (this._root.value && this._root.value.contains(ev.relatedTarget)) { + this._containsFocus = false; + } + }; + Popup.defaultProps = { + shouldRestoreFocus: true + }; + return Popup; +}(Utilities_1.BaseComponent)); +exports.Popup = Popup; +//# sourceMappingURL=Popup.js.map + +/***/ }), + +/***/ "1dmT": +/*!************************************************!*\ + !*** ./node_modules/@pnp/sp/security/types.js ***! + \************************************************/ +/*! exports provided: _RoleAssignments, RoleAssignments, _RoleAssignment, RoleAssignment, _RoleDefinitions, RoleDefinitions, _RoleDefinition, RoleDefinition, PermissionKind */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_RoleAssignments", function() { return _RoleAssignments; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RoleAssignments", function() { return RoleAssignments; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_RoleAssignment", function() { return _RoleAssignment; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RoleAssignment", function() { return RoleAssignment; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_RoleDefinitions", function() { return _RoleDefinitions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RoleDefinitions", function() { return RoleDefinitions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_RoleDefinition", function() { return _RoleDefinition; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RoleDefinition", function() { return RoleDefinition; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionKind", function() { return PermissionKind; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _site_groups_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../site-groups/types */ "UuUm"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/metadata */ "z067"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../telemetry */ "h3gW"); + + + + + + + + + +/** + * Describes a set of role assignments for the current scope + * + */ +var _RoleAssignments = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_RoleAssignments, _super); + function _RoleAssignments() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets the role assignment associated with the specified principal id from the collection. + * + * @param id The id of the role assignment + */ + _RoleAssignments.prototype.getById = function (id) { + return RoleAssignment(this).concat("(" + id + ")"); + }; + /** + * Adds a new role assignment with the specified principal and role definitions to the collection + * + * @param principalId The id of the user or group to assign permissions to + * @param roleDefId The id of the role definition that defines the permissions to assign + * + */ + _RoleAssignments.prototype.add = function (principalId, roleDefId) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(RoleAssignments, "addroleassignment(principalid=" + principalId + ", roledefid=" + roleDefId + ")"))]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); + }); + }; + /** + * Removes the role assignment with the specified principal and role definition from the collection + * + * @param principalId The id of the user or group in the role assignment + * @param roleDefId The id of the role definition in the role assignment + * + */ + _RoleAssignments.prototype.remove = function (principalId, roleDefId) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(RoleAssignments, "removeroleassignment(principalid=" + principalId + ", roledefid=" + roleDefId + ")"))]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); + }); + }; + _RoleAssignments = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_6__["defaultPath"])("roleassignments") + ], _RoleAssignments); + return _RoleAssignments; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["_SharePointQueryableCollection"])); + +var RoleAssignments = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["spInvokableFactory"])(_RoleAssignments); +/** + * Describes a role assignment + * + */ +var _RoleAssignment = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_RoleAssignment, _super); + function _RoleAssignment() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["deleteable"])("ra"); + return _this; + } + Object.defineProperty(_RoleAssignment.prototype, "groups", { + /** + * Gets the groups that directly belong to the access control list (ACL) for this securable object + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_8__["tag"].configure(Object(_site_groups_types__WEBPACK_IMPORTED_MODULE_4__["SiteGroups"])(this, "groups"), "ra.groups"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_RoleAssignment.prototype, "bindings", { + /** + * Gets the role definition bindings for this role assignment + * + */ + get: function () { + return Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["SharePointQueryableCollection"])(this, "roledefinitionbindings"); + }, + enumerable: false, + configurable: true + }); + return _RoleAssignment; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["_SharePointQueryableInstance"])); + +var RoleAssignment = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["spInvokableFactory"])(_RoleAssignment); +/** + * Describes a collection of role definitions + * + */ +var _RoleDefinitions = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_RoleDefinitions, _super); + function _RoleDefinitions() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets the role definition with the specified id from the collection + * + * @param id The id of the role definition + * + */ + _RoleDefinitions.prototype.getById = function (id) { + return RoleDefinition(this, "getById(" + id + ")"); + }; + /** + * Gets the role definition with the specified name + * + * @param name The name of the role definition + * + */ + _RoleDefinitions.prototype.getByName = function (name) { + return RoleDefinition(this, "getbyname('" + name + "')"); + }; + /** + * Gets the role definition with the specified role type + * + * @param roleTypeKind The roletypekind of the role definition (None=0, Guest=1, Reader=2, Contributor=3, WebDesigner=4, Administrator=5, Editor=6, System=7) + * + */ + _RoleDefinitions.prototype.getByType = function (roleTypeKind) { + return RoleDefinition(this, "getbytype(" + roleTypeKind + ")"); + }; + /** + * Creates a role definition + * + * @param name The new role definition's name + * @param description The new role definition's description + * @param order The order in which the role definition appears + * @param basePermissions The permissions mask for this role definition, high and low values need to be converted to string + * + */ + _RoleDefinitions.prototype.add = function (name, description, order, basePermissions) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var postBody, data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + postBody = Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_2__["body"])({ + BasePermissions: { "High": basePermissions.High.toString(), "Low": basePermissions.Low.toString() }, + Description: description, + Name: name, + Order: order, + __metadata: { "type": "SP.RoleDefinition" }, + }); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this, postBody)]; + case 1: + data = _a.sent(); + return [2 /*return*/, { + data: data, + definition: this.getById(data.Id), + }]; + } + }); + }); + }; + _RoleDefinitions = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_6__["defaultPath"])("roledefinitions") + ], _RoleDefinitions); + return _RoleDefinitions; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["_SharePointQueryableCollection"])); + +var RoleDefinitions = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["spInvokableFactory"])(_RoleDefinitions); +/** + * Describes a role definition + * + */ +var _RoleDefinition = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_RoleDefinition, _super); + function _RoleDefinition() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["deleteable"])("rd"); + return _this; + /* tslint:enable */ + } + /** + * Updates this role definition with the supplied properties + * + * @param properties A plain object hash of values to update for the role definition + */ + /* tslint:disable no-string-literal */ + _RoleDefinition.prototype.update = function (properties) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var s, postBody, data, definition, parent_1; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + s = ["BasePermissions"]; + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(properties, s[0]) !== undefined) { + properties[s[0]] = Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_5__["metadata"])("SP." + s[0]), properties[s[0]]); + } + postBody = Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_2__["body"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_5__["metadata"])("SP.RoleDefinition"), properties), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_2__["headers"])({ "X-HTTP-Method": "MERGE" })); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this, postBody)]; + case 1: + data = _a.sent(); + definition = this; + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(properties, "Name")) { + parent_1 = this.getParent(RoleDefinitions, this.parentUrl, ""); + definition = parent_1.getByName(properties["Name"]); + } + return [2 /*return*/, { + data: data, + definition: definition, + }]; + } + }); + }); + }; + return _RoleDefinition; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["_SharePointQueryableInstance"])); + +var RoleDefinition = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["spInvokableFactory"])(_RoleDefinition); +var PermissionKind; +(function (PermissionKind) { + /** + * Has no permissions on the Site. Not available through the user interface. + */ + PermissionKind[PermissionKind["EmptyMask"] = 0] = "EmptyMask"; + /** + * View items in lists, documents in document libraries, and Web discussion comments. + */ + PermissionKind[PermissionKind["ViewListItems"] = 1] = "ViewListItems"; + /** + * Add items to lists, documents to document libraries, and Web discussion comments. + */ + PermissionKind[PermissionKind["AddListItems"] = 2] = "AddListItems"; + /** + * Edit items in lists, edit documents in document libraries, edit Web discussion comments + * in documents, and customize Web Part Pages in document libraries. + */ + PermissionKind[PermissionKind["EditListItems"] = 3] = "EditListItems"; + /** + * Delete items from a list, documents from a document library, and Web discussion + * comments in documents. + */ + PermissionKind[PermissionKind["DeleteListItems"] = 4] = "DeleteListItems"; + /** + * Approve a minor version of a list item or document. + */ + PermissionKind[PermissionKind["ApproveItems"] = 5] = "ApproveItems"; + /** + * View the source of documents with server-side file handlers. + */ + PermissionKind[PermissionKind["OpenItems"] = 6] = "OpenItems"; + /** + * View past versions of a list item or document. + */ + PermissionKind[PermissionKind["ViewVersions"] = 7] = "ViewVersions"; + /** + * Delete past versions of a list item or document. + */ + PermissionKind[PermissionKind["DeleteVersions"] = 8] = "DeleteVersions"; + /** + * Discard or check in a document which is checked out to another user. + */ + PermissionKind[PermissionKind["CancelCheckout"] = 9] = "CancelCheckout"; + /** + * Create, change, and delete personal views of lists. + */ + PermissionKind[PermissionKind["ManagePersonalViews"] = 10] = "ManagePersonalViews"; + /** + * Create and delete lists, add or remove columns in a list, and add or remove public views of a list. + */ + PermissionKind[PermissionKind["ManageLists"] = 12] = "ManageLists"; + /** + * View forms, views, and application pages, and enumerate lists. + */ + PermissionKind[PermissionKind["ViewFormPages"] = 13] = "ViewFormPages"; + /** + * Make content of a list or document library retrieveable for anonymous users through SharePoint search. + * The list permissions in the site do not change. + */ + PermissionKind[PermissionKind["AnonymousSearchAccessList"] = 14] = "AnonymousSearchAccessList"; + /** + * Allow users to open a Site, list, or folder to access items inside that container. + */ + PermissionKind[PermissionKind["Open"] = 17] = "Open"; + /** + * View pages in a Site. + */ + PermissionKind[PermissionKind["ViewPages"] = 18] = "ViewPages"; + /** + * Add, change, or delete HTML pages or Web Part Pages, and edit the Site using + * a Windows SharePoint Services compatible editor. + */ + PermissionKind[PermissionKind["AddAndCustomizePages"] = 19] = "AddAndCustomizePages"; + /** + * Apply a theme or borders to the entire Site. + */ + PermissionKind[PermissionKind["ApplyThemeAndBorder"] = 20] = "ApplyThemeAndBorder"; + /** + * Apply a style sheet (.css file) to the Site. + */ + PermissionKind[PermissionKind["ApplyStyleSheets"] = 21] = "ApplyStyleSheets"; + /** + * View reports on Site usage. + */ + PermissionKind[PermissionKind["ViewUsageData"] = 22] = "ViewUsageData"; + /** + * Create a Site using Self-Service Site Creation. + */ + PermissionKind[PermissionKind["CreateSSCSite"] = 23] = "CreateSSCSite"; + /** + * Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites. + */ + PermissionKind[PermissionKind["ManageSubwebs"] = 24] = "ManageSubwebs"; + /** + * Create a group of users that can be used anywhere within the site collection. + */ + PermissionKind[PermissionKind["CreateGroups"] = 25] = "CreateGroups"; + /** + * Create and change permission levels on the Site and assign permissions to users + * and groups. + */ + PermissionKind[PermissionKind["ManagePermissions"] = 26] = "ManagePermissions"; + /** + * Enumerate files and folders in a Site using Microsoft Office SharePoint Designer + * and WebDAV interfaces. + */ + PermissionKind[PermissionKind["BrowseDirectories"] = 27] = "BrowseDirectories"; + /** + * View information about users of the Site. + */ + PermissionKind[PermissionKind["BrowseUserInfo"] = 28] = "BrowseUserInfo"; + /** + * Add or remove personal Web Parts on a Web Part Page. + */ + PermissionKind[PermissionKind["AddDelPrivateWebParts"] = 29] = "AddDelPrivateWebParts"; + /** + * Update Web Parts to display personalized information. + */ + PermissionKind[PermissionKind["UpdatePersonalWebParts"] = 30] = "UpdatePersonalWebParts"; + /** + * Grant the ability to perform all administration tasks for the Site as well as + * manage content, activate, deactivate, or edit properties of Site scoped Features + * through the object model or through the user interface (UI). When granted on the + * root Site of a Site Collection, activate, deactivate, or edit properties of + * site collection scoped Features through the object model. To browse to the Site + * Collection Features page and activate or deactivate Site Collection scoped Features + * through the UI, you must be a Site Collection administrator. + */ + PermissionKind[PermissionKind["ManageWeb"] = 31] = "ManageWeb"; + /** + * Content of lists and document libraries in the Web site will be retrieveable for anonymous users through + * SharePoint search if the list or document library has AnonymousSearchAccessList set. + */ + PermissionKind[PermissionKind["AnonymousSearchAccessWebLists"] = 32] = "AnonymousSearchAccessWebLists"; + /** + * Use features that launch client applications. Otherwise, users must work on documents + * locally and upload changes. + */ + PermissionKind[PermissionKind["UseClientIntegration"] = 37] = "UseClientIntegration"; + /** + * Use SOAP, WebDAV, or Microsoft Office SharePoint Designer interfaces to access the Site. + */ + PermissionKind[PermissionKind["UseRemoteAPIs"] = 38] = "UseRemoteAPIs"; + /** + * Manage alerts for all users of the Site. + */ + PermissionKind[PermissionKind["ManageAlerts"] = 39] = "ManageAlerts"; + /** + * Create e-mail alerts. + */ + PermissionKind[PermissionKind["CreateAlerts"] = 40] = "CreateAlerts"; + /** + * Allows a user to change his or her user information, such as adding a picture. + */ + PermissionKind[PermissionKind["EditMyUserInfo"] = 41] = "EditMyUserInfo"; + /** + * Enumerate permissions on Site, list, folder, document, or list item. + */ + PermissionKind[PermissionKind["EnumeratePermissions"] = 63] = "EnumeratePermissions"; + /** + * Has all permissions on the Site. Not available through the user interface. + */ + PermissionKind[PermissionKind["FullMask"] = 65] = "FullMask"; +})(PermissionKind || (PermissionKind = {})); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "1jZ6": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/sites/index.js ***! + \*********************************************/ +/*! exports provided: Site */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _rest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../rest */ "9l4K"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "ilAS"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Site", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["Site"]; }); + + + + +Reflect.defineProperty(_rest__WEBPACK_IMPORTED_MODULE_0__["SPRest"].prototype, "site", { + configurable: true, + enumerable: true, + get: function () { + return Object(_types__WEBPACK_IMPORTED_MODULE_1__["Site"])(this._baseUrl).configure(this._options); + }, +}); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "1mTr": +/*!***********************************************************!*\ + !*** ./node_modules/@pnp/sp/user-custom-actions/types.js ***! + \***********************************************************/ +/*! exports provided: _UserCustomActions, UserCustomActions, _UserCustomAction, UserCustomAction, UserCustomActionRegistrationType, UserCustomActionScope */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_UserCustomActions", function() { return _UserCustomActions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserCustomActions", function() { return UserCustomActions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_UserCustomAction", function() { return _UserCustomAction; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserCustomAction", function() { return UserCustomAction; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserCustomActionRegistrationType", function() { return UserCustomActionRegistrationType; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserCustomActionScope", function() { return UserCustomActionScope; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../telemetry */ "h3gW"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/metadata */ "z067"); + + + + + + + + +var _UserCustomActions = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_UserCustomActions, _super); + function _UserCustomActions() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Returns the user custom action with the specified id + * + * @param id The GUID id of the user custom action to retrieve + */ + _UserCustomActions.prototype.getById = function (id) { + return _telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"].configure(UserCustomAction(this).concat("('" + id + "')"), "ucas.getById"); + }; + /** + * Creates a user custom action + * + * @param properties The information object of property names and values which define the new user custom action + */ + _UserCustomActions.prototype.add = function (properties) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this, Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_3__["body"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_7__["metadata"])("SP.UserCustomAction"), properties)))]; + case 1: + data = _a.sent(); + return [2 /*return*/, { + action: this.getById(data.Id), + data: data, + }]; + } + }); + }); + }; + /** + * Deletes all user custom actions in the collection + */ + _UserCustomActions.prototype.clear = function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(UserCustomActions, "clear")); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("ucas.add") + ], _UserCustomActions.prototype, "add", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("ucas.clear") + ], _UserCustomActions.prototype, "clear", null); + _UserCustomActions = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_4__["defaultPath"])("usercustomactions") + ], _UserCustomActions); + return _UserCustomActions; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableCollection"])); + +var UserCustomActions = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_UserCustomActions); +var _UserCustomAction = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_UserCustomAction, _super); + function _UserCustomAction() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["deleteable"])("uca"); + /** + * Updates this user custom action with the supplied properties + * + * @param properties An information object of property names and values to update for this user custom action + */ + _this.update = _this._update("SP.UserCustomAction", function (data) { return ({ data: data, action: _this }); }); + return _this; + } + return _UserCustomAction; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +var UserCustomAction = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_UserCustomAction); +var UserCustomActionRegistrationType; +(function (UserCustomActionRegistrationType) { + UserCustomActionRegistrationType[UserCustomActionRegistrationType["None"] = 0] = "None"; + UserCustomActionRegistrationType[UserCustomActionRegistrationType["List"] = 1] = "List"; + UserCustomActionRegistrationType[UserCustomActionRegistrationType["ContentType"] = 2] = "ContentType"; + UserCustomActionRegistrationType[UserCustomActionRegistrationType["ProgId"] = 3] = "ProgId"; + UserCustomActionRegistrationType[UserCustomActionRegistrationType["FileType"] = 4] = "FileType"; +})(UserCustomActionRegistrationType || (UserCustomActionRegistrationType = {})); +var UserCustomActionScope; +(function (UserCustomActionScope) { + UserCustomActionScope[UserCustomActionScope["Unknown"] = 0] = "Unknown"; + UserCustomActionScope[UserCustomActionScope["Site"] = 2] = "Site"; + UserCustomActionScope[UserCustomActionScope["Web"] = 3] = "Web"; + UserCustomActionScope[UserCustomActionScope["List"] = 4] = "List"; +})(UserCustomActionScope || (UserCustomActionScope = {})); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "1ppg": +/*!*******************************************!*\ + !*** ./node_modules/moment/locale/fil.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Filipino [fil] +//! author : Dan Hagman : https://github.com/hagmandan +//! author : Matthew Co : https://github.com/matthewdeeco + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var fil = moment.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fil; + +}))); + + +/***/ }), + +/***/ "1rYy": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/hy-am.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Armenian [hy-am] +//! author : Armendarabyan : https://github.com/armendarabyan + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var hyAm = moment.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return hyAm; + +}))); + + +/***/ }), + +/***/ "1sZu": +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/FocusZone/index.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusZone */ "Mz9Y"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusZone.types */ "pRvW"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "1v3R": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/properties.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var object_1 = __webpack_require__(/*! ./object */ "4ytl"); +/** + * An array of events that are allowed on every html element type. + * + * @public + */ +exports.baseElementEvents = [ + 'onCopy', + 'onCut', + 'onPaste', + 'onCompositionEnd', + 'onCompositionStart', + 'onCompositionUpdate', + 'onFocus', + 'onFocusCapture', + 'onBlur', + 'onBlurCapture', + 'onChange', + 'onInput', + 'onSubmit', + 'onLoad', + 'onError', + 'onKeyDown', + 'onKeyDownCapture', + 'onKeyPress', + 'onKeyUp', + 'onAbort', + 'onCanPlay', + 'onCanPlayThrough', + 'onDurationChange', + 'onEmptied', + 'onEncrypted', + 'onEnded', + 'onLoadedData', + 'onLoadedMetadata', + 'onLoadStart', + 'onPause', + 'onPlay', + 'onPlaying', + 'onProgress', + 'onRateChange', + 'onSeeked', + 'onSeeking', + 'onStalled', + 'onSuspend', + 'onTimeUpdate', + 'onVolumeChange', + 'onWaiting', + 'onClick', + 'onClickCapture', + 'onContextMenu', + 'onDoubleClick', + 'onDrag', + 'onDragEnd', + 'onDragEnter', + 'onDragExit', + 'onDragLeave', + 'onDragOver', + 'onDragStart', + 'onDrop', + 'onMouseDown', + 'onMouseDownCapture', + 'onMouseEnter', + 'onMouseLeave', + 'onMouseMove', + 'onMouseOut', + 'onMouseOver', + 'onMouseUp', + 'onMouseUpCapture', + 'onSelect', + 'onTouchCancel', + 'onTouchEnd', + 'onTouchMove', + 'onTouchStart', + 'onScroll', + 'onWheel' +]; +/** + * An array of element attributes which are allowed on every html element type. + * + * @public + */ +exports.baseElementProperties = [ + 'defaultChecked', + 'defaultValue', + 'accept', + 'acceptCharset', + 'accessKey', + 'action', + 'allowFullScreen', + 'allowTransparency', + 'alt', + 'async', + 'autoComplete', + 'autoFocus', + 'autoPlay', + 'capture', + 'cellPadding', + 'cellSpacing', + 'charSet', + 'challenge', + 'checked', + 'children', + 'classID', + 'className', + 'cols', + 'colSpan', + 'content', + 'contentEditable', + 'contextMenu', + 'controls', + 'coords', + 'crossOrigin', + 'data', + 'dateTime', + 'default', + 'defer', + 'dir', + 'download', + 'draggable', + 'encType', + 'form', + 'formAction', + 'formEncType', + 'formMethod', + 'formNoValidate', + 'formTarget', + 'frameBorder', + 'headers', + 'height', + 'hidden', + 'high', + 'hrefLang', + 'htmlFor', + 'httpEquiv', + 'icon', + 'id', + 'inputMode', + 'integrity', + 'is', + 'keyParams', + 'keyType', + 'kind', + 'lang', + 'list', + 'loop', + 'low', + 'manifest', + 'marginHeight', + 'marginWidth', + 'max', + 'maxLength', + 'media', + 'mediaGroup', + 'method', + 'min', + 'minLength', + 'multiple', + 'muted', + 'name', + 'noValidate', + 'open', + 'optimum', + 'pattern', + 'placeholder', + 'poster', + 'preload', + 'radioGroup', + 'readOnly', + 'rel', + 'required', + 'role', + 'rows', + 'rowSpan', + 'sandbox', + 'scope', + 'scoped', + 'scrolling', + 'seamless', + 'selected', + 'shape', + 'size', + 'sizes', + 'span', + 'spellCheck', + 'src', + 'srcDoc', + 'srcLang', + 'srcSet', + 'start', + 'step', + 'style', + 'summary', + 'tabIndex', + 'title', + 'type', + 'useMap', + 'value', + 'width', + 'wmode', + 'wrap' +]; +/** + * An array of HTML element properties and events. + * + * @public + */ +exports.htmlElementProperties = exports.baseElementProperties.concat(exports.baseElementEvents); +/** + * An array of A tag properties and events. + * + * @public + */ +exports.anchorProperties = exports.htmlElementProperties.concat([ + 'href', + 'target' +]); +/** + * An array of BUTTON tag properties and events. + * + * @public + */ +exports.buttonProperties = exports.htmlElementProperties.concat([ + 'disabled' +]); +/** + * An array of DIV tag properties and events. + * + * @public + */ +exports.divProperties = exports.htmlElementProperties.concat(['align', 'noWrap']); +/** + * An array of INPUT tag properties and events. + * + * @public + */ +exports.inputProperties = exports.buttonProperties; +/** + * An array of TEXTAREA tag properties and events. + * + * @public + */ +exports.textAreaProperties = exports.buttonProperties; +/** + * An array of IMAGE tag properties and events. + * + * @public + */ +exports.imageProperties = exports.divProperties; +/** + * Gets native supported props for an html element provided the allowance set. Use one of the property + * sets defined (divProperties, buttonPropertes, etc) to filter out supported properties from a given + * props set. Note that all data- and aria- prefixed attributes will be allowed. + * NOTE: getNativeProps should always be applied first when adding props to a react component. The + * non-native props should be applied second. This will prevent getNativeProps from overriding your custom props. + * For example, if props passed to getNativeProps has an onClick function and getNativeProps is added to + * the component after an onClick function is added, then the getNativeProps onClick will override it. + * + * @public + * @param props - The unfiltered input props + * @param allowedPropsNames- The array of allowed propnames. + * @returns The filtered props + */ +function getNativeProps(props, allowedPropNames, excludedPropNames) { + return object_1.filteredAssign(function (propName) { + return ((!excludedPropNames || excludedPropNames.indexOf(propName) < 0) && ((propName.indexOf('data-') === 0) || + (propName.indexOf('aria-') === 0) || + (allowedPropNames.indexOf(propName) >= 0))); + }, {}, props); +} +exports.getNativeProps = getNativeProps; +//# sourceMappingURL=properties.js.map + +/***/ }), + +/***/ "1xZ4": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/ca.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Catalan [ca] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ca = moment.defineLocale('ca', { + months: { + standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ca; + +}))); + + +/***/ }), + +/***/ "1xxT": +/*!*******************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Button/CommandButton/CommandButton.js ***! + \*******************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var ActionButton_1 = __webpack_require__(/*! ../ActionButton/ActionButton */ "wXwR"); +exports.CommandButton = ActionButton_1.ActionButton; +//# sourceMappingURL=CommandButton.js.map + +/***/ }), + +/***/ "26ea": +/*!**********************************************!*\ + !*** external "@microsoft/sp-property-pane" ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE__26ea__; + +/***/ }), + +/***/ "2B8P": +/*!***********************************************************************!*\ + !*** ./node_modules/@pnp/sp/regional-settings/user-custom-actions.js ***! + \***********************************************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _user_custom_actions_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../user-custom-actions/types */ "1mTr"); +/* harmony import */ var _funcs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./funcs */ "T2j4"); + + +_user_custom_actions_types__WEBPACK_IMPORTED_MODULE_0__["_UserCustomAction"].prototype.titleResource = Object(_funcs__WEBPACK_IMPORTED_MODULE_1__["getValueForUICultureBinder"])("titleResource"); +_user_custom_actions_types__WEBPACK_IMPORTED_MODULE_0__["_UserCustomAction"].prototype.descriptionResource = Object(_funcs__WEBPACK_IMPORTED_MODULE_1__["getValueForUICultureBinder"])("descriptionResource"); +//# sourceMappingURL=user-custom-actions.js.map + +/***/ }), + +/***/ "2F8+": +/*!*****************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/lib/common/telemetry/index.js ***! + \*****************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var telemetry_js_1 = __webpack_require__(/*! @pnp/telemetry-js */ "/A2d"); +var version_1 = __webpack_require__(/*! ./version */ "MsDF"); +var sp_core_library_1 = __webpack_require__(/*! @microsoft/sp-core-library */ "UWqr"); +var CONTROL_TYPE = "react"; +/** + * Track control information + * + * @param componentName + * @param properties + */ +function track(componentName, properties) { + if (properties === void 0) { properties = {}; } + var telemetry = telemetry_js_1.default.getInstance(); + telemetry.trackEvent(componentName, __assign({ version: version_1.version, controlType: CONTROL_TYPE, debug: true ? "true" : undefined, environment: sp_core_library_1.EnvironmentType[sp_core_library_1.Environment.type] }, properties)); +} +exports.track = track; + +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ "2FSo": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/index.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./Async */ "4fuz"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./AutoScroll */ "hSPo"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseComponent */ "BUkM"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Context */ "phRG"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Customizations */ "Un1U"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Customizer */ "a4Ra"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DelayedRender */ "y+Tp"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./EventGroup */ "pn14"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FabricPerformance */ "ToZl"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./GlobalSettings */ "OHcX"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./KeyCodes */ "WPcQ"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Rectangle */ "m9vr"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./array */ "kkhy"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./assertNever */ "QCXl"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./autobind */ "dHol"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./classNamesFunction */ "AZzy"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./createRef */ "ggJW"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./css */ "L11I"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./customizable */ "HBR4"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dom */ "umtj"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./focus */ "koB/"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./hoist */ "YpYH"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./hoistStatics */ "dcyo"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./initializeFocusRects */ "rNW6"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./initials */ "P3dj"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./keyboard */ "wBCb"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./language */ "3Rgq"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./math */ "VBCj"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./memoize */ "fHa7"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./object */ "4ytl"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./overflow */ "GebR"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./properties */ "1v3R"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./resources */ "nO/l"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./rtl */ "hNln"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./scroll */ "L1Th"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./string */ "++6r"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./styled */ "n9lq"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./warn */ "8d6d"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "2OT2": +/*!*************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Checkbox/Checkbox.classNames.js ***! + \*************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +exports.getClassNames = Utilities_1.memoizeFunction(function (styles, disabled, isChecked, isReversed, className) { + return { + root: Styling_1.mergeStyles('ms-Checkbox', isReversed && 'reversed', isChecked && 'is-checked', !disabled && 'is-enabled', disabled && 'is-disabled', className, styles.root, !disabled && [ + !isChecked && { + selectors: { + ':hover .ms-Checkbox-checkbox': styles.checkboxHovered, + ':focus .ms-Checkbox-checkbox': styles.checkboxFocused + } + }, + isChecked && { + selectors: { + ':hover .ms-Checkbox-checkbox': styles.checkboxCheckedHovered, + ':focus .ms-Checkbox-checkbox': styles.checkboxCheckedFocused + } + }, + { + selectors: { + ':hover .ms-Checkbox-text': styles.textHovered, + ':focus .ms-Checkbox-text': styles.textFocused + } + } + ]), + label: Styling_1.mergeStyles('ms-Checkbox-label', styles.label, isReversed && styles.labelReversed, disabled && styles.labelDisabled), + checkbox: Styling_1.mergeStyles('ms-Checkbox-checkbox', styles.checkbox, !disabled && isChecked && styles.checkboxChecked, disabled && !isChecked && styles.checkboxDisabled, disabled && isChecked && styles.checkboxCheckedDisabled), + checkmark: Styling_1.mergeStyles(styles.checkmark, !disabled && isChecked && styles.checkmarkChecked, disabled && !isChecked && styles.checkmarkDisabled, disabled && isChecked && styles.checkmarkCheckedDisabled), + text: Styling_1.mergeStyles('ms-Checkbox-text', styles.text, disabled && styles.textDisabled), + }; +}); +//# sourceMappingURL=Checkbox.classNames.js.map + +/***/ }), + +/***/ "2Pb9": +/*!******************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/BaseButton.styles.js ***! + \******************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "8tWw"); +var noOutline = { + outline: 0 +}; +var iconStyle = { + fontSize: Styling_1.FontSizes.icon, + margin: '0 4px', + height: '16px', + lineHeight: '16px', + textAlign: 'center', + verticalAlign: 'middle', + flexShrink: 0 +}; +/** + * Gets the base button styles. Note: because it is a base class to be used with the `mergeRules` + * helper, it should have values for all class names in the interface. This let `mergeRules` optimize + * mixing class names together. + */ +exports.getStyles = Utilities_1.memoizeFunction(function (theme) { + var semanticColors = theme.semanticColors; + var border = semanticColors.buttonBorder; + var disabledBackground = semanticColors.disabledBackground; + var disabledText = semanticColors.disabledText; + var buttonHighContrastFocus = { + left: -2, + top: -2, + bottom: -2, + right: -2, + border: 'none', + outlineColor: 'ButtonText' + }; + return { + root: [ + Styling_1.getFocusStyle(theme, -1, 'relative', buttonHighContrastFocus), + theme.fonts.medium, + { + boxSizing: 'border-box', + border: '1px solid ' + border, + userSelect: 'none', + display: 'inline-block', + textDecoration: 'none', + textAlign: 'center', + cursor: 'pointer', + verticalAlign: 'top', + padding: '0 16px', + borderRadius: 0 + } + ], + rootDisabled: { + backgroundColor: disabledBackground, + color: disabledText, + cursor: 'default', + pointerEvents: 'none', + selectors: { + ':hover': noOutline, + ':focus': noOutline + } + }, + iconDisabled: { + color: disabledText + }, + menuIconDisabled: { + color: disabledText + }, + flexContainer: { + display: 'flex', + height: '100%', + flexWrap: 'nowrap', + justifyContent: 'center', + alignItems: 'center' + }, + textContainer: { + flexGrow: 1 + }, + icon: iconStyle, + menuIcon: [ + iconStyle, + { + fontSize: Styling_1.FontSizes.small + } + ], + label: { + margin: '0 4px', + lineHeight: '100%' + }, + screenReaderText: Styling_1.hiddenContentStyle + }; +}); +//# sourceMappingURL=BaseButton.styles.js.map + +/***/ }), + +/***/ "2Q+A": +/*!*******************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Label/Label.classNames.js ***! + \*******************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +exports.getLabelClassNames = Utilities_1.memoizeFunction(function (theme, className, disabled, required) { + return Styling_1.mergeStyleSets({ + root: ['ms-Label', + { + color: theme.semanticColors.bodyText, + boxSizing: 'border-box', + boxShadow: 'none', + margin: 0, + display: 'block', + padding: '5px 0', + wordWrap: 'break-word', + overflowWrap: 'break-word', + }, + disabled && { + color: theme.semanticColors.disabledBodyText, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'GrayText' + }, + _a) + }, + required && { + selectors: { + '::after': { + content: "' *'", + color: theme.semanticColors.errorText, + paddingRight: 12 + } + } + }, + className] + }); + var _a; +}); +//# sourceMappingURL=Label.classNames.js.map + +/***/ }), + +/***/ "2bYP": +/*!*****************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/index.js ***! + \*****************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenu */ "3VRL"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenu.types */ "ApDL"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItem */ "qQHi"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "2eko": +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/index.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseButton */ "6jGb"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Button.types */ "m0UV"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Button */ "0l15"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ActionButton/ActionButton */ "JcEy"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandBarButton/CommandBarButton */ "tmiQ"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandButton/CommandButton */ "nNoq"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CompoundButton/CompoundButton */ "rGd0"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DefaultButton/DefaultButton */ "GOk5"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./MessageBarButton/MessageBarButton */ "O0iI"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./PrimaryButton/PrimaryButton */ "M/5m"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./IconButton/IconButton */ "DZRq"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "2ff1": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/memoize.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var _emptyObject = { empty: true }; +var _dictionary = {}; +var _weakMap = (typeof WeakMap === 'undefined') ? null : WeakMap; +/** + * Test utility for providing a custom weakmap. + * + * @internal + * */ +function setMemoizeWeakMap(weakMap) { + _weakMap = weakMap; +} +exports.setMemoizeWeakMap = setMemoizeWeakMap; +/** + * Memoize decorator to be used on class methods. Note that the "this" reference + * will be inaccessible within a memoized method, given that a cached method's this + * would not be instance specific. + * + * @public + */ +function memoize(target, key, descriptor) { + // We bind to "null" to prevent people from inadvertently pulling values from "this", + // rather than passing them in as input values which can be memoized. + var fn = memoizeFunction(descriptor.value && descriptor.value.bind(null)); + return { + configurable: true, + get: function () { + return fn; + } + }; +} +exports.memoize = memoize; +/** + * Memoizes a function; when you pass in the same parameters multiple times, it returns a cached result. + * Be careful when passing in objects, you need to pass in the same INSTANCE for caching to work. Otherwise + * it will grow the cache unnecessarily. Also avoid using default values that evaluate functions; passing in + * undefined for a value and relying on a default function will execute it the first time, but will not + * re-evaluate subsequent times which may have been unexpected. + * + * By default, the cache will reset after 100 permutations, to avoid abuse cases where the function is + * unintendedly called with unique objects. Without a reset, the cache could grow infinitely, so we safeguard + * by resetting. To override this behavior, pass a value of 0 to the maxCacheSize parameter. + * + * @public + * @param cb - The function to memoize. + * @param maxCacheSize - Max results to cache. If the cache exceeds this value, it will reset on the next call. + * @returns A memoized version of the function. + */ +function memoizeFunction(cb, maxCacheSize) { + if (maxCacheSize === void 0) { maxCacheSize = 100; } + var rootNode; + var cacheSize = 0; + // Avoid breaking scenarios which don't have weak map. + if (!_weakMap) { + return cb; + } + // tslint:disable-next-line:no-function-expression + return function memoizedFunction() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var currentNode = rootNode; + if (rootNode === undefined || (maxCacheSize > 0 && cacheSize > maxCacheSize)) { + rootNode = _createNode(); + cacheSize = 0; + } + currentNode = rootNode; + // Traverse the tree until we find the match. + for (var i = 0; i < args.length; i++) { + var arg = _normalizeArg(args[i]); + if (!currentNode.map.has(arg)) { + currentNode.map.set(arg, _createNode()); + } + currentNode = currentNode.map.get(arg); + } + if (!currentNode.hasOwnProperty('value')) { + currentNode.value = cb.apply(void 0, args); + cacheSize++; + } + return currentNode.value; + }; +} +exports.memoizeFunction = memoizeFunction; +function _normalizeArg(val) { + if (!val) { + return _emptyObject; + } + else if (typeof val === 'object') { + return val; + } + else if (!_dictionary[val]) { + _dictionary[val] = { val: val }; + } + return _dictionary[val]; +} +function _createNode() { + return { + map: _weakMap ? new _weakMap() : null + }; +} +//# sourceMappingURL=memoize.js.map + +/***/ }), + +/***/ "2fjn": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/fr-ca.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : French (Canada) [fr-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var frCa = moment.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + }); + + return frCa; + +}))); + + +/***/ }), + +/***/ "2tUa": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Panel/index.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./Panel */ "9NG+"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Panel.types */ "mifA"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "2ykv": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/nl-be.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Dutch (Belgium) [nl-be] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split( + '_' + ), + monthsParse = [ + /^jan/i, + /^feb/i, + /^maart|mrt.?$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nlBe = moment.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( + '_' + ), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nlBe; + +}))); + + +/***/ }), + +/***/ "32VY": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/views/types.js ***! + \*********************************************/ +/*! exports provided: _Views, Views, _View, View, _ViewFields, ViewFields, ViewScope */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Views", function() { return _Views; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Views", function() { return Views; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_View", function() { return _View; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "View", function() { return View; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_ViewFields", function() { return _ViewFields; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewFields", function() { return ViewFields; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewScope", function() { return ViewScope; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/metadata */ "z067"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../telemetry */ "h3gW"); + + + + + + + +var _Views = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Views, _super); + function _Views() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets a view by guid id + * + * @param id The GUID id of the view + */ + _Views.prototype.getById = function (id) { + return View(this).concat("('" + id + "')"); + }; + /** + * Gets a view by title (case-sensitive) + * + * @param title The case-sensitive title of the view + */ + _Views.prototype.getByTitle = function (title) { + return View(this, "getByTitle('" + title + "')"); + }; + /** + * Adds a new view to the collection + * + * @param title The new views's title + * @param personalView True if this is a personal view, otherwise false, default = false + * @param additionalSettings Will be passed as part of the view creation body + */ + _Views.prototype.add = function (title, personalView, additionalSettings) { + if (personalView === void 0) { personalView = false; } + if (additionalSettings === void 0) { additionalSettings = {}; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var postBody, data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + postBody = Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["body"])(Object.assign(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_3__["metadata"])("SP.View"), { + "PersonalView": personalView, + "Title": title, + }, additionalSettings)); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(Views, null), postBody)]; + case 1: + data = _a.sent(); + return [2 /*return*/, { + data: data, + view: this.getById(data.Id), + }]; + } + }); + }); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vs.add") + ], _Views.prototype, "add", null); + _Views = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_4__["defaultPath"])("views") + ], _Views); + return _Views; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["_SharePointQueryableCollection"])); + +var Views = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["spInvokableFactory"])(_Views); +var _View = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_View, _super); + function _View() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["deleteable"])("vw"); + /** + * Updates this view intance with the supplied properties + * + * @param properties A plain object hash of values to update for the view + */ + _this.update = _this._update("SP.View", function (data) { return ({ data: data, view: _this }); }); + return _this; + } + Object.defineProperty(_View.prototype, "fields", { + get: function () { + return ViewFields(this); + }, + enumerable: false, + configurable: true + }); + /** + * Returns the list view as HTML. + * + */ + _View.prototype.renderAsHtml = function () { + return this.clone(View, "renderashtml")(); + }; + /** + * Sets the view schema + * + * @param viewXml The view XML to set + */ + _View.prototype.setViewXml = function (viewXml) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(View, "SetViewXml"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["body"])({ viewXml: viewXml })); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("v.renderAsHtml") + ], _View.prototype, "renderAsHtml", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("v.setViewXml") + ], _View.prototype, "setViewXml", null); + return _View; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["_SharePointQueryableInstance"])); + +var View = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["spInvokableFactory"])(_View); +var _ViewFields = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_ViewFields, _super); + function _ViewFields() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets a value that specifies the XML schema that represents the collection. + */ + _ViewFields.prototype.getSchemaXml = function () { + return this.clone(ViewFields, "schemaxml")(); + }; + /** + * Adds the field with the specified field internal name or display name to the collection. + * + * @param fieldTitleOrInternalName The case-sensitive internal name or display name of the field to add. + */ + _ViewFields.prototype.add = function (fieldTitleOrInternalName) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(ViewFields, "addviewfield('" + fieldTitleOrInternalName + "')")); + }; + /** + * Moves the field with the specified field internal name to the specified position in the collection. + * + * @param field The case-sensitive internal name of the field to move. + * @param index The zero-based index of the new position for the field. + */ + _ViewFields.prototype.move = function (field, index) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(ViewFields, "moveviewfieldto"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_1__["body"])({ field: field, index: index })); + }; + /** + * Removes all the fields from the collection. + */ + _ViewFields.prototype.removeAll = function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(ViewFields, "removeallviewfields")); + }; + /** + * Removes the field with the specified field internal name from the collection. + * + * @param fieldInternalName The case-sensitive internal name of the field to remove from the view. + */ + _ViewFields.prototype.remove = function (fieldInternalName) { + return Object(_operations__WEBPACK_IMPORTED_MODULE_5__["spPost"])(this.clone(ViewFields, "removeviewfield('" + fieldInternalName + "')")); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vfs.getSchemaXml") + ], _ViewFields.prototype, "getSchemaXml", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vfs.add") + ], _ViewFields.prototype, "add", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vfs.move") + ], _ViewFields.prototype, "move", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vfs.removeAll") + ], _ViewFields.prototype, "removeAll", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_6__["tag"])("vfs.remove") + ], _ViewFields.prototype, "remove", null); + _ViewFields = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_4__["defaultPath"])("viewfields") + ], _ViewFields); + return _ViewFields; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["_SharePointQueryableCollection"])); + +var ViewFields = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["spInvokableFactory"])(_ViewFields); +var ViewScope; +(function (ViewScope) { + ViewScope[ViewScope["DefaultValue"] = 0] = "DefaultValue"; + ViewScope[ViewScope["Recursive"] = 1] = "Recursive"; + ViewScope[ViewScope["RecursiveAll"] = 2] = "RecursiveAll"; + ViewScope[ViewScope["FilesOnly"] = 3] = "FilesOnly"; +})(ViewScope || (ViewScope = {})); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "36LU": +/*!********************************************************!*\ + !*** ./node_modules/@pnp/sp/clientside-pages/index.js ***! + \********************************************************/ +/*! exports provided: ClientsidePageFromFile, CreateClientsidePage, CanvasColumn, CanvasSection, ClientsideText, ClientsideWebpart, ColumnControl, PromotedState */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _web__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./web */ "laIm"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "UPqE"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ClientsidePageFromFile", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["ClientsidePageFromFile"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CreateClientsidePage", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["CreateClientsidePage"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CanvasColumn", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["CanvasColumn"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CanvasSection", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["CanvasSection"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ClientsideText", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["ClientsideText"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ClientsideWebpart", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["ClientsideWebpart"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColumnControl", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["ColumnControl"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PromotedState", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["PromotedState"]; }); + + + +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "3736": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Layer/index.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./Layer */ "4OLw"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Layer.base */ "yP7A"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./LayerHost */ "kl0W"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "37pO": +/*!**********************************************!*\ + !*** ./node_modules/@pnp/sp/hubsites/web.js ***! + \**********************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _webs_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../webs/types */ "dVsc"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operations */ "UK2s"); + + + +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.hubSiteData = function (forceRefresh) { + if (forceRefresh === void 0) { forceRefresh = false; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(_webs_types__WEBPACK_IMPORTED_MODULE_1__["Web"], "hubSiteData(" + forceRefresh + ")")()]; + case 1: + data = _a.sent(); + if (typeof data === "string") { + return [2 /*return*/, JSON.parse(data)]; + } + return [2 /*return*/, data]; + } + }); + }); +}; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.syncHubSiteTheme = function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_2__["spPost"])(this.clone(_webs_types__WEBPACK_IMPORTED_MODULE_1__["Web"], "syncHubSiteTheme")); +}; +//# sourceMappingURL=web.js.map + +/***/ }), + +/***/ "3CTW": +/*!*******************************************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.js ***! + \*******************************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "Hlgl"); +var ContextualMenuItemWrapper_1 = __webpack_require__(/*! ./ContextualMenuItemWrapper */ "vE7H"); +var KeytipData_1 = __webpack_require__(/*! ../../../KeytipData */ "//Os"); +var index_1 = __webpack_require__(/*! ../../../utilities/contextualMenu/index */ "KQAI"); +var ContextualMenuItem_1 = __webpack_require__(/*! ../ContextualMenuItem */ "3Wmu"); +var ContextualMenuButton = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuButton, _super); + function ContextualMenuButton() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this._btn = Utilities_1.createRef(); + _this._getSubmenuTarget = function () { + return _this._btn.current ? _this._btn.current : undefined; + }; + return _this; + } + ContextualMenuButton.prototype.render = function () { + var _this = this; + var _a = this.props, item = _a.item, classNames = _a.classNames, index = _a.index, focusableElementIndex = _a.focusableElementIndex, totalItemCount = _a.totalItemCount, hasCheckmarks = _a.hasCheckmarks, hasIcons = _a.hasIcons, _b = _a.contextualMenuItemAs, ChildrenRenderer = _b === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _b, expandedMenuItemKey = _a.expandedMenuItemKey, onItemMouseDown = _a.onItemMouseDown, onItemClick = _a.onItemClick, openSubMenu = _a.openSubMenu, dismissSubMenu = _a.dismissSubMenu, dismissMenu = _a.dismissMenu; + var subMenuId = this._getSubMenuId(item); + var ariaLabel = ''; + if (item.ariaLabel) { + ariaLabel = item.ariaLabel; + } + else if (item.name) { + ariaLabel = item.name; + } + var isChecked = index_1.getIsChecked(item); + var canCheck = isChecked !== null; + var defaultRole = canCheck ? 'menuitemcheckbox' : 'menuitem'; + var itemHasSubmenu = index_1.hasSubmenu(item); + var buttonNativeProperties = Utilities_1.getNativeProps(item, Utilities_1.buttonProperties); + // Do not add the disabled attribute to the button so that it is focusable + delete buttonNativeProperties.disabled; + var itemButtonProperties = { + className: classNames.root, + onClick: this._onItemClick, + onKeyDown: itemHasSubmenu ? this._onItemKeyDown : null, + onMouseEnter: this._onItemMouseEnter, + onMouseLeave: this._onItemMouseLeave, + onMouseDown: function (ev) { return onItemMouseDown ? onItemMouseDown(item, ev) : undefined; }, + onMouseMove: this._onItemMouseMove, + href: item.href, + title: item.title, + 'aria-label': ariaLabel, + 'aria-haspopup': itemHasSubmenu || undefined, + 'aria-owns': item.key === expandedMenuItemKey ? subMenuId : undefined, + 'aria-expanded': itemHasSubmenu ? item.key === expandedMenuItemKey : undefined, + 'aria-checked': !!isChecked, + 'aria-posinset': focusableElementIndex + 1, + 'aria-setsize': totalItemCount, + 'aria-disabled': index_1.isItemDisabled(item), + role: item.role || defaultRole, + style: item.style + }; + var keytipProps = item.keytipProps; + if (keytipProps && itemHasSubmenu) { + keytipProps = tslib_1.__assign({}, keytipProps, { hasMenu: true }); + } + return (React.createElement(KeytipData_1.KeytipData, { keytipProps: keytipProps, ariaDescribedBy: buttonNativeProperties['aria-describedby'], disabled: index_1.isItemDisabled(item) }, function (keytipAttributes) { return (React.createElement("button", tslib_1.__assign({ ref: _this._btn }, buttonNativeProperties, itemButtonProperties, keytipAttributes), + React.createElement(ChildrenRenderer, { componentRef: item.componentRef, item: item, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks && onItemClick ? onItemClick.bind(_this, item) : undefined, hasIcons: hasIcons, openSubMenu: openSubMenu, dismissSubMenu: dismissSubMenu, dismissMenu: dismissMenu, getSubmenuTarget: _this._getSubmenuTarget }))); })); + }; + return ContextualMenuButton; +}(ContextualMenuItemWrapper_1.ContextualMenuItemWrapper)); +exports.ContextualMenuButton = ContextualMenuButton; +//# sourceMappingURL=ContextualMenuButton.js.map + +/***/ }), + +/***/ "3DT9": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/items/types.js ***! + \*********************************************/ +/*! exports provided: _Items, Items, _Item, Item, _ItemVersions, ItemVersions, _ItemVersion, ItemVersion, PagedItemCollection */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Items", function() { return _Items; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Items", function() { return Items; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Item", function() { return _Item; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Item", function() { return Item; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_ItemVersions", function() { return _ItemVersions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ItemVersions", function() { return ItemVersions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_ItemVersion", function() { return _ItemVersion; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ItemVersion", function() { return ItemVersion; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PagedItemCollection", function() { return PagedItemCollection; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _lists_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../lists/types */ "hy0S"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _pnp_logging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @pnp/logging */ "B3L+"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/metadata */ "z067"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../telemetry */ "h3gW"); + + + + + + + + + + +/** + * Describes a collection of Item objects + * + */ +var _Items = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Items, _super); + function _Items() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets an Item by id + * + * @param id The integer id of the item to retrieve + */ + _Items.prototype.getById = function (id) { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Item(this).concat("(" + id + ")"), "is.getById"); + }; + /** + * Gets BCS Item by string id + * + * @param stringId The string id of the BCS item to retrieve + */ + _Items.prototype.getItemByStringId = function (stringId) { + // creates an item with the parent list path and append out method call + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Item(this.parentUrl, "getItemByStringId('" + stringId + "')"), "is.getItemByStringId"); + }; + /** + * Skips the specified number of items (https://msdn.microsoft.com/en-us/library/office/fp142385.aspx#sectionSection6) + * + * @param skip The starting id where the page should start, use with top to specify pages + * @param reverse It true the PagedPrev=true parameter is added allowing backwards navigation in the collection + */ + _Items.prototype.skip = function (skip, reverse) { + if (reverse === void 0) { reverse = false; } + if (reverse) { + this.query.set("$skiptoken", encodeURIComponent("Paged=TRUE&PagedPrev=TRUE&p_ID=" + skip)); + } + else { + this.query.set("$skiptoken", encodeURIComponent("Paged=TRUE&p_ID=" + skip)); + } + return this; + }; + /** + * Gets a collection designed to aid in paging through data + * + */ + _Items.prototype.getPaged = function () { + return this.usingParser(new PagedItemCollectionParser(this))(); + }; + /** + * Gets all the items in a list, regardless of count. Does not support batching or caching + * + * @param requestSize Number of items to return in each request (Default: 2000) + * @param acceptHeader Allows for setting the value of the Accept header for SP 2013 support + */ + _Items.prototype.getAll = function (requestSize, acceptHeader) { + if (requestSize === void 0) { requestSize = 2000; } + if (acceptHeader === void 0) { acceptHeader = "application/json;odata=nometadata"; } + _pnp_logging__WEBPACK_IMPORTED_MODULE_5__["Logger"].write("Calling items.getAll should be done sparingly. Ensure this is the correct choice. If you are unsure, it is not.", 2 /* Warning */); + // this will be used for the actual query + // and we set no metadata here to try and reduce traffic + var items = Items(this, "").top(requestSize).configure({ + headers: { + "Accept": acceptHeader, + }, + }); + // let's copy over the odata query params that can be applied + // $top - allow setting the page size this way (override what we did above) + // $select - allow picking the return fields (good behavior) + // $filter - allow setting a filter, though this may fail due for large lists + this.query.forEach(function (v, k) { + if (/^\$select|filter|top|expand$/i.test(k)) { + items.query.set(k, v); + } + }); + // give back the promise + return new Promise(function (resolve, reject) { + // this will eventually hold the items we return + var itemsCollector = []; + // action that will gather up our results recursively + var gatherer = function (last) { + // collect that set of results + [].push.apply(itemsCollector, last.results); + // if we have more, repeat - otherwise resolve with the collected items + if (last.hasNext) { + last.getNext().then(gatherer).catch(reject); + } + else { + resolve(itemsCollector); + } + }; + // start the cycle + items.getPaged().then(gatherer).catch(reject); + }); + }; + /** + * Adds a new item to the collection + * + * @param properties The new items's properties + * @param listItemEntityTypeFullName The type name of the list's entities + */ + _Items.prototype.add = function (properties, listItemEntityTypeFullName) { + if (properties === void 0) { properties = {}; } + if (listItemEntityTypeFullName === void 0) { listItemEntityTypeFullName = null; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var removeDependency, listItemEntityType, postBody, promise; + var _this = this; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + removeDependency = this.addBatchDependency(); + return [4 /*yield*/, this.ensureListItemEntityTypeName(listItemEntityTypeFullName)]; + case 1: + listItemEntityType = _a.sent(); + postBody = Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_6__["metadata"])(listItemEntityType), properties)); + promise = Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(this.clone(Items, ""), postBody).then(function (data) { + return { + data: data, + item: _this.getById(data.Id), + }; + }); + removeDependency(); + return [2 /*return*/, promise]; + } + }); + }); + }; + /** + * Ensures we have the proper list item entity type name, either from the value provided or from the list + * + * @param candidatelistItemEntityTypeFullName The potential type name + */ + _Items.prototype.ensureListItemEntityTypeName = function (candidatelistItemEntityTypeFullName) { + return candidatelistItemEntityTypeFullName ? + Promise.resolve(candidatelistItemEntityTypeFullName) : + this.getParent(_lists_types__WEBPACK_IMPORTED_MODULE_3__["List"]).getListItemEntityTypeFullName(); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("is.getPaged") + ], _Items.prototype, "getPaged", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("is.getAll") + ], _Items.prototype, "getAll", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("is.add") + ], _Items.prototype, "add", null); + _Items = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_7__["defaultPath"])("items") + ], _Items); + return _Items; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableCollection"])); + +var Items = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_Items); +/** + * Descrines a single Item instance + * + */ +var _Item = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Item, _super); + function _Item() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["deleteableWithETag"])("i"); + return _this; + } + Object.defineProperty(_Item.prototype, "effectiveBasePermissions", { + /** + * Gets the effective base permissions for the item + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryable"])(this, "EffectiveBasePermissions"), "i.effectiveBasePermissions"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "effectiveBasePermissionsForUI", { + /** + * Gets the effective base permissions for the item in a UI context + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryable"])(this, "EffectiveBasePermissionsForUI"), "i.effectiveBasePermissionsForUI"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "fieldValuesAsHTML", { + /** + * Gets the field values for this list item in their HTML representation + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryableInstance"])(this, "FieldValuesAsHTML"), "i.fvHTML"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "fieldValuesAsText", { + /** + * Gets the field values for this list item in their text representation + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryableInstance"])(this, "FieldValuesAsText"), "i.fvText"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "fieldValuesForEdit", { + /** + * Gets the field values for this list item for use in editing controls + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["SharePointQueryableInstance"])(this, "FieldValuesForEdit"), "i.fvEdit"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "versions", { + /** + * Gets the collection of versions associated with this item + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(ItemVersions(this), "i.versions"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Item.prototype, "list", { + get: function () { + return this.getParent(_lists_types__WEBPACK_IMPORTED_MODULE_3__["List"], this.parentUrl.substr(0, this.parentUrl.lastIndexOf("/"))); + }, + enumerable: false, + configurable: true + }); + /** + * Updates this list intance with the supplied properties + * + * @param properties A plain object hash of values to update for the list + * @param eTag Value used in the IF-Match header, by default "*" + * @param listItemEntityTypeFullName The type name of the list's entities + */ + _Item.prototype.update = function (properties, eTag, listItemEntityTypeFullName) { + if (eTag === void 0) { eTag = "*"; } + if (listItemEntityTypeFullName === void 0) { listItemEntityTypeFullName = null; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var removeDependency, listItemEntityType, postBody, poster, data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + removeDependency = this.addBatchDependency(); + return [4 /*yield*/, this.ensureListItemEntityTypeName(listItemEntityTypeFullName)]; + case 1: + listItemEntityType = _a.sent(); + postBody = Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["assign"])(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_6__["metadata"])(listItemEntityType), properties), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["headers"])({ + "IF-Match": eTag, + "X-HTTP-Method": "MERGE", + })); + removeDependency(); + poster = _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(this.clone(Item).usingParser(new ItemUpdatedParser()), "i.update"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(poster, postBody)]; + case 2: + data = _a.sent(); + return [2 /*return*/, { + data: data, + item: this, + }]; + } + }); + }); + }; + /** + * Moves the list item to the Recycle Bin and returns the identifier of the new Recycle Bin item. + */ + _Item.prototype.recycle = function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(this.clone(Item, "recycle")); + }; + /** + * Deletes the item object with options. + * + * @param parameters Specifies the options to use when deleting a item. + */ + _Item.prototype.deleteWithParams = function (parameters) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + return [2 /*return*/, Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(this.clone(Item, "DeleteWithParameters"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ parameters: parameters }))]; + }); + }); + }; + /** + * Gets a string representation of the full URL to the WOPI frame. + * If there is no associated WOPI application, or no associated action, an empty string is returned. + * + * @param action Display mode: 0: view, 1: edit, 2: mobileView, 3: interactivePreview + */ + _Item.prototype.getWopiFrameUrl = function (action) { + if (action === void 0) { action = 0; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var i, data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: + i = this.clone(Item, "getWOPIFrameUrl(@action)"); + i.query.set("@action", action); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(i)]; + case 1: + data = _a.sent(); + // handle verbose mode + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["hOP"])(data, "GetWOPIFrameUrl")) { + return [2 /*return*/, data.GetWOPIFrameUrl]; + } + return [2 /*return*/, data]; + } + }); + }); + }; + /** + * Validates and sets the values of the specified collection of fields for the list item. + * + * @param formValues The fields to change and their new values. + * @param bNewDocumentUpdate true if the list item is a document being updated after upload; otherwise false. + */ + _Item.prototype.validateUpdateListItem = function (formValues, bNewDocumentUpdate) { + if (bNewDocumentUpdate === void 0) { bNewDocumentUpdate = false; } + return Object(_operations__WEBPACK_IMPORTED_MODULE_8__["spPost"])(this.clone(Item, "validateupdatelistitem"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["body"])({ formValues: formValues, bNewDocumentUpdate: bNewDocumentUpdate })); + }; + /** + * Ensures we have the proper list item entity type name, either from the value provided or from the list + * + * @param candidatelistItemEntityTypeFullName The potential type name + */ + _Item.prototype.ensureListItemEntityTypeName = function (candidatelistItemEntityTypeFullName) { + return candidatelistItemEntityTypeFullName ? + Promise.resolve(candidatelistItemEntityTypeFullName) : + this.list.getListItemEntityTypeFullName(); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("i.recycle") + ], _Item.prototype, "recycle", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("i.del-params") + ], _Item.prototype, "deleteWithParams", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("i.getWopiFrameUrl") + ], _Item.prototype, "getWopiFrameUrl", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"])("i.validateUpdateListItem") + ], _Item.prototype, "validateUpdateListItem", null); + return _Item; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +var Item = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_Item); +/** + * Describes a collection of Version objects + * + */ +var _ItemVersions = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_ItemVersions, _super); + function _ItemVersions() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets a version by id + * + * @param versionId The id of the version to retrieve + */ + _ItemVersions.prototype.getById = function (versionId) { + return _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(ItemVersion(this).concat("(" + versionId + ")"), "iv.getById"); + }; + _ItemVersions = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_7__["defaultPath"])("versions") + ], _ItemVersions); + return _ItemVersions; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableCollection"])); + +var ItemVersions = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_ItemVersions); +/** + * Describes a single Version instance + * + */ +var _ItemVersion = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_ItemVersion, _super); + function _ItemVersion() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["deleteableWithETag"])("iv"); + return _this; + } + return _ItemVersion; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +var ItemVersion = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_ItemVersion); +/** + * Provides paging functionality for list items + */ +var PagedItemCollection = /** @class */ (function () { + function PagedItemCollection(parent, nextUrl, results) { + this.parent = parent; + this.nextUrl = nextUrl; + this.results = results; + } + Object.defineProperty(PagedItemCollection.prototype, "hasNext", { + /** + * If true there are more results available in the set, otherwise there are not + */ + get: function () { + return typeof this.nextUrl === "string" && this.nextUrl.length > 0; + }, + enumerable: false, + configurable: true + }); + /** + * Gets the next set of results, or resolves to null if no results are available + */ + PagedItemCollection.prototype.getNext = function () { + if (this.hasNext) { + var items = _telemetry__WEBPACK_IMPORTED_MODULE_9__["tag"].configure(Items(this.nextUrl, null).configureFrom(this.parent), "ip.getNext"); + return items.getPaged(); + } + return new Promise(function (r) { return r(null); }); + }; + return PagedItemCollection; +}()); + +var PagedItemCollectionParser = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(PagedItemCollectionParser, _super); + function PagedItemCollectionParser(_parent) { + var _this = _super.call(this) || this; + _this._parent = _parent; + return _this; + } + PagedItemCollectionParser.prototype.parse = function (r) { + var _this = this; + return new Promise(function (resolve, reject) { + if (_this.handleError(r, reject)) { + r.json().then(function (json) { + var nextUrl = Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["hOP"])(json, "d") && Object(_pnp_common__WEBPACK_IMPORTED_MODULE_2__["hOP"])(json.d, "__next") ? json.d.__next : json["odata.nextLink"]; + resolve(new PagedItemCollection(_this._parent, nextUrl, _this.parseODataJSON(json))); + }); + } + }); + }; + return PagedItemCollectionParser; +}(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["ODataParser"])); +var ItemUpdatedParser = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(ItemUpdatedParser, _super); + function ItemUpdatedParser() { + return _super !== null && _super.apply(this, arguments) || this; + } + ItemUpdatedParser.prototype.parse = function (r) { + var _this = this; + return new Promise(function (resolve, reject) { + if (_this.handleError(r, reject)) { + resolve({ + "odata.etag": r.headers.get("etag"), + }); + } + }); + }; + return ItemUpdatedParser; +}(_pnp_odata__WEBPACK_IMPORTED_MODULE_4__["ODataParser"])); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "3E1r": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/hi.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Hindi [hi] +//! author : Mayank Singhal : https://github.com/mayanksinghal + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + var hi = moment.defineLocale('hi', { + months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return hi; + +}))); + + +/***/ }), + +/***/ "3Htz": +/*!*****************************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/MessageBarButton/MessageBarButton.styles.js ***! + \*****************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "8tWw"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "Hlgl"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "2Pb9"); +exports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles, focusInset, focusColor) { + var baseButtonStyles = BaseButton_styles_1.getStyles(theme); + var messageBarButtonStyles = { + root: { + backgroundColor: theme.palette.neutralQuaternaryAlt, + color: theme.palette.neutralPrimary + }, + rootHovered: { + backgroundColor: theme.palette.neutralTertiaryAlt, + color: theme.palette.neutralDark + }, + rootPressed: { + backgroundColor: theme.palette.neutralTertiary, + color: theme.palette.neutralDark + } + }; + return Styling_1.concatStyleSets(baseButtonStyles, messageBarButtonStyles, customStyles); +}); +//# sourceMappingURL=MessageBarButton.styles.js.map + +/***/ }), + +/***/ "3Rgq": +/*!************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/language.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var dom_1 = __webpack_require__(/*! ./dom */ "umtj"); +var localStorage_1 = __webpack_require__(/*! ./localStorage */ "OOGt"); +// Default to undefined so that we initialize on first read. +var _language; +/** + * Gets the rtl state of the page (returns true if in rtl.) + * + * @public + */ +function getLanguage() { + if (_language === undefined) { + var doc = dom_1.getDocument(); + var savedLanguage = localStorage_1.getItem('language'); + if (savedLanguage !== null) { + _language = savedLanguage; + } + if (_language === undefined && doc) { + _language = doc.documentElement.getAttribute('lang'); + } + if (_language === undefined) { + _language = 'en'; + } + } + return _language; +} +exports.getLanguage = getLanguage; +/** + * Sets the rtl state of the page (by adjusting the dir attribute of the html element.) + * + * @public + */ +function setLanguage(language, avoidPersisting) { + if (avoidPersisting === void 0) { avoidPersisting = false; } + var doc = dom_1.getDocument(); + if (doc) { + doc.documentElement.setAttribute('lang', language); + } + if (!avoidPersisting) { + localStorage_1.setItem('language', language); + } + _language = language; +} +exports.setLanguage = setLanguage; +//# sourceMappingURL=language.js.map + +/***/ }), + +/***/ "3VRL": +/*!**************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.js ***! + \**************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +var React = __webpack_require__(/*! react */ "cDcd"); +var ContextualMenu_types_1 = __webpack_require__(/*! ./ContextualMenu.types */ "ApDL"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "5U38"); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ./ContextualMenu.classNames */ "9D85"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var index_1 = __webpack_require__(/*! ../../utilities/contextualMenu/index */ "cRpF"); +var withResponsiveMode_1 = __webpack_require__(/*! ../../utilities/decorators/withResponsiveMode */ "p6i1"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "Bswb"); +var ContextualMenuItem_1 = __webpack_require__(/*! ./ContextualMenuItem */ "qQHi"); +var index_2 = __webpack_require__(/*! ./ContextualMenuItemWrapper/index */ "rJVp"); +function getSubmenuItems(item) { + return item.subMenuProps ? item.subMenuProps.items : item.items; +} +exports.getSubmenuItems = getSubmenuItems; +/** + * Returns true if a list of menu items can contain a checkbox + */ +function canAnyMenuItemsCheck(items) { + return items.some(function (item) { + if (item.canCheck) { + return true; + } + // If the item is a section, check if any of the items in the section can check. + if (item.sectionProps && item.sectionProps.items.some(function (submenuItem) { return submenuItem.canCheck === true; })) { + return true; + } + return false; + }); +} +exports.canAnyMenuItemsCheck = canAnyMenuItemsCheck; +var NavigationIdleDelay = 250 /* ms */; +var ContextualMenu = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenu, _super); + function ContextualMenu(props) { + var _this = _super.call(this, props) || this; + _this.dismiss = function (ev, dismissAll) { + var onDismiss = _this.props.onDismiss; + if (onDismiss) { + onDismiss(ev, dismissAll); + } + }; + _this._onKeyDown = function (ev) { + if (ev.which === 27 /* escape */ || + ev.altKey || + ev.metaKey || + _this._shouldCloseSubMenu(ev)) { + // When a user presses escape, we will try to refocus the previous focused element. + _this._isFocusingPreviousElement = true; + ev.preventDefault(); + ev.stopPropagation(); + _this.dismiss(ev); + } + }; + /** + * Checks if the submenu should be closed + */ + _this._shouldCloseSubMenu = function (ev) { + var submenuCloseKey = Utilities_1.getRTL() ? 39 /* right */ : 37 /* left */; + if (ev.which !== submenuCloseKey || !_this.props.isSubMenu) { + return false; + } + return _this._adjustedFocusZoneProps.direction === FocusZone_1.FocusZoneDirection.vertical || + (!!_this._adjustedFocusZoneProps.checkForNoWrap && !Utilities_1.shouldWrapFocus(ev.target, 'data-no-horizontal-wrap')); + }; + _this._onMenuKeyDown = function (ev) { + if (ev.which === 27 /* escape */ || ev.altKey || ev.metaKey) { + _this._isFocusingPreviousElement = true; + ev.preventDefault(); + ev.stopPropagation(); + _this.dismiss(ev); + return; + } + if (!_this._host) { + return; + } + var elementToFocus = ev.which === 38 /* up */ ? + Utilities_1.getLastFocusable(_this._host, _this._host.lastChild, true) : + ev.which === 40 /* down */ ? + Utilities_1.getFirstFocusable(_this._host, _this._host.firstChild, true) : + null; + if (elementToFocus) { + elementToFocus.focus(); + ev.preventDefault(); + ev.stopPropagation(); + } + }; + /** + * Scroll handler for the callout to make sure the mouse events + * for updating focus are not interacting during scroll + */ + _this._onScroll = function () { + if (!_this._isScrollIdle && _this._scrollIdleTimeoutId !== undefined) { + _this._async.clearTimeout(_this._scrollIdleTimeoutId); + _this._scrollIdleTimeoutId = undefined; + } + else { + _this._isScrollIdle = false; + } + _this._scrollIdleTimeoutId = _this._async.setTimeout(function () { _this._isScrollIdle = true; }, NavigationIdleDelay); + }; + _this._onItemMouseEnterBase = function (item, ev, target) { + if (!_this._isScrollIdle) { + return; + } + _this._updateFocusOnMouseEvent(item, ev, target); + }; + _this._onItemMouseMoveBase = function (item, ev, target) { + var targetElement = ev.currentTarget; + if (!_this._isScrollIdle || + _this._enterTimerId !== undefined || + targetElement === _this._targetWindow.document.activeElement) { + return; + } + _this._updateFocusOnMouseEvent(item, ev, target); + }; + _this._onMouseItemLeave = function (item, ev) { + if (!_this._isScrollIdle) { + return; + } + if (_this._enterTimerId !== undefined) { + _this._async.clearTimeout(_this._enterTimerId); + _this._enterTimerId = undefined; + } + if (_this.state.expandedMenuItemKey !== undefined) { + return; + } + /** + * IE11 focus() method forces parents to scroll to top of element. + * Edge and IE expose a setActive() function for focusable divs that + * sets the page focus but does not scroll the parent element. + */ + if (_this._host.setActive) { + _this._host.setActive(); + } + else { + _this._host.focus(); + } + }; + _this._onItemMouseDown = function (item, ev) { + if (item.onMouseDown) { + item.onMouseDown(item, ev); + } + }; + _this._onItemClick = function (item, ev) { + _this._onItemClickBase(item, ev, ev.currentTarget); + }; + _this._onItemClickBase = function (item, ev, target) { + var items = getSubmenuItems(item); + // Cancel a async menu item hover timeout action from being taken and instead + // just trigger the click event instead. + _this._cancelSubMenuTimer(); + if (!index_1.hasSubmenu(item) && (!items || !items.length)) { // This is an item without a menu. Click it. + _this._executeItemClick(item, ev); + } + else { + if (item.key === _this.state.expandedMenuItemKey) { // This has an expanded sub menu. collapse it. + _this._onSubMenuDismiss(ev); + } + else { // This has a collapsed sub menu. Expand it. + _this.setState({ + // When Edge + Narrator are used together (regardless of if the button is in a form or not), pressing + // "Enter" fires this method and not _onMenuKeyDown. Checking ev.nativeEvent.detail differentiates + // between a real click event and a keypress event. + expandedByMouseClick: (ev.nativeEvent.detail !== 0) + }); + _this._onItemSubMenuExpand(item, target); + } + } + ev.stopPropagation(); + ev.preventDefault(); + }; + _this._onAnchorClick = function (item, ev) { + _this._executeItemClick(item, ev); + ev.stopPropagation(); + }; + _this._executeItemClick = function (item, ev) { + if (item.disabled || item.isDisabled) { + return; + } + var dismiss = false; + if (item.onClick) { + dismiss = !!item.onClick(ev, item); + } + else if (_this.props.onItemClick) { + dismiss = !!_this.props.onItemClick(ev, item); + } + (dismiss || !ev.defaultPrevented) && _this.dismiss(ev, true); + }; + _this._onItemKeyDown = function (item, ev) { + var openKey = Utilities_1.getRTL() ? 37 /* left */ : 39 /* right */; + if ((ev.which === openKey || ev.which === 13 /* enter */) && !item.disabled) { + _this.setState({ + expandedByMouseClick: false + }); + _this._onItemSubMenuExpand(item, ev.currentTarget); + ev.preventDefault(); + } + }; + // Cancel a async menu item hover timeout action from being taken and instead + // do new upcoming behavior + _this._cancelSubMenuTimer = function () { + if (_this._enterTimerId !== undefined) { + _this._async.clearTimeout(_this._enterTimerId); + _this._enterTimerId = undefined; + } + }; + _this._onItemSubMenuExpand = function (item, target) { + if (_this.state.expandedMenuItemKey !== item.key) { + if (_this.state.expandedMenuItemKey) { + _this._onSubMenuDismiss(); + } + // Focus the target to ensure when we close it, we're focusing on the correct element. + target.focus(); + _this.setState({ + expandedMenuItemKey: item.key, + submenuTarget: target + }); + } + }; + _this._onSubMenuDismiss = function (ev, dismissAll) { + if (dismissAll) { + _this.dismiss(ev, dismissAll); + } + else { + _this.setState({ + dismissedMenuItemKey: _this.state.expandedMenuItemKey, + expandedMenuItemKey: undefined, + submenuTarget: undefined + }); + } + }; + _this._getSubMenuId = function (item) { + var subMenuId = _this.state.subMenuId; + if (item.subMenuProps && item.subMenuProps.id) { + subMenuId = item.subMenuProps.id; + } + return subMenuId; + }; + _this._onPointerAndTouchEvent = function (ev) { + _this._cancelSubMenuTimer(); + }; + _this.state = { + contextualMenuItems: undefined, + subMenuId: Utilities_1.getId('ContextualMenu') + }; + _this._warnDeprecations({ + 'targetPoint': 'target', + 'useTargetPoint': 'target', + 'arrowDirection': 'focusZoneProps' + }); + _this._isFocusingPreviousElement = false; + _this._isScrollIdle = true; + return _this; + } + ContextualMenu_1 = ContextualMenu; + ContextualMenu.prototype.componentWillUpdate = function (newProps) { + if (newProps.target !== this.props.target) { + var newTarget = newProps.target; + this._setTargetWindowAndElement(newTarget); + } + if (newProps.hidden !== this.props.hidden) { + if (newProps.hidden) { + this._onMenuClosed(); + } + else { + this._onMenuOpened(); + this._previousActiveElement = this._targetWindow ? this._targetWindow.document.activeElement : null; + } + } + }; + // Invoked once, both on the client and server, immediately before the initial rendering occurs. + ContextualMenu.prototype.componentWillMount = function () { + var target = this.props.target; + this._setTargetWindowAndElement(target); + if (!this.props.hidden) { + this._previousActiveElement = this._targetWindow ? this._targetWindow.document.activeElement : null; + } + }; + // Invoked once, only on the client (not on the server), immediately after the initial rendering occurs. + ContextualMenu.prototype.componentDidMount = function () { + if (!this.props.hidden) { + this._onMenuOpened(); + } + }; + // Invoked immediately before a component is unmounted from the DOM. + ContextualMenu.prototype.componentWillUnmount = function () { + var _this = this; + if (this._isFocusingPreviousElement && this._previousActiveElement) { + // This slight delay is required so that we can unwind the stack, const react try to mess with focus, and then + // apply the correct focus. Without the setTimeout, we end up focusing the correct thing, and then React wants + // to reset the focus back to the thing it thinks should have been focused. + // Note: Cannot be replaced by this._async.setTimout because those will be removed by the time this is called. + setTimeout(function () { _this._previousActiveElement && _this._previousActiveElement.focus(); }, 0); + } + if (this.props.onMenuDismissed) { + this.props.onMenuDismissed(this.props); + } + }; + ContextualMenu.prototype.render = function () { + var _this = this; + var isBeakVisible = this.props.isBeakVisible; + var _a = this.props, className = _a.className, items = _a.items, labelElementId = _a.labelElementId, id = _a.id, targetPoint = _a.targetPoint, useTargetPoint = _a.useTargetPoint, beakWidth = _a.beakWidth, directionalHint = _a.directionalHint, directionalHintForRTL = _a.directionalHintForRTL, gapSpace = _a.gapSpace, coverTarget = _a.coverTarget, ariaLabel = _a.ariaLabel, doNotLayer = _a.doNotLayer, target = _a.target, bounds = _a.bounds, useTargetWidth = _a.useTargetWidth, useTargetAsMinWidth = _a.useTargetAsMinWidth, directionalHintFixed = _a.directionalHintFixed, shouldFocusOnMount = _a.shouldFocusOnMount, shouldFocusOnContainer = _a.shouldFocusOnContainer, title = _a.title, theme = _a.theme, calloutProps = _a.calloutProps, _b = _a.onRenderSubMenu, onRenderSubMenu = _b === void 0 ? this._onRenderSubMenu : _b, focusZoneProps = _a.focusZoneProps; + var menuClassNames = this.props.getMenuClassNames || ContextualMenu_classNames_1.getContextualMenuClassNames; + this._classNames = menuClassNames(theme, className); + var hasIcons = itemsHaveIcons(items); + function itemsHaveIcons(contextualMenuItems) { + for (var _i = 0, contextualMenuItems_1 = contextualMenuItems; _i < contextualMenuItems_1.length; _i++) { + var item = contextualMenuItems_1[_i]; + if (!!item.icon || !!item.iconProps) { + return true; + } + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && item.sectionProps && itemsHaveIcons(item.sectionProps.items)) { + return true; + } + } + return false; + } + this._adjustedFocusZoneProps = tslib_1.__assign({}, focusZoneProps, { direction: this._getFocusZoneDirection() }); + var hasCheckmarks = canAnyMenuItemsCheck(items); + var submenuProps = this.state.expandedMenuItemKey ? this._getSubmenuProps() : null; + isBeakVisible = isBeakVisible === undefined ? this.props.responsiveMode <= withResponsiveMode_1.ResponsiveMode.medium : isBeakVisible; + /** + * When useTargetWidth is true, get the width of the target element and apply it for the context menu container + */ + var contextMenuStyle; + var targetAsHtmlElement = this._target; + if ((useTargetWidth || useTargetAsMinWidth) && targetAsHtmlElement && targetAsHtmlElement.offsetWidth) { + var targetBoundingRect = targetAsHtmlElement.getBoundingClientRect(); + var targetWidth = targetBoundingRect.width - 2 /* Accounts for 1px border */; + if (useTargetWidth) { + contextMenuStyle = { + width: targetWidth + }; + } + else if (useTargetAsMinWidth) { + contextMenuStyle = { + minWidth: targetWidth + }; + } + } + // The menu should only return if items were provided, if no items were provided then it should not appear. + if (items && items.length > 0) { + var indexCorrection_1 = 0; + var totalItemCount_1 = 0; + for (var _i = 0, items_1 = items; _i < items_1.length; _i++) { + var item = items_1[_i]; + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && + item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var itemCount = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + totalItemCount_1 += itemCount; + } + } + return (React.createElement(Callout_1.Callout, tslib_1.__assign({}, calloutProps, { target: useTargetPoint ? targetPoint : target, isBeakVisible: isBeakVisible, beakWidth: beakWidth, directionalHint: directionalHint, directionalHintForRTL: directionalHintForRTL, gapSpace: gapSpace, coverTarget: coverTarget, doNotLayer: doNotLayer, className: Utilities_1.css('ms-ContextualMenu-Callout', calloutProps ? calloutProps.className : undefined), setInitialFocus: shouldFocusOnMount, onDismiss: this.props.onDismiss, onScroll: this._onScroll, bounds: bounds, directionalHintFixed: directionalHintFixed, hidden: this.props.hidden }), + React.createElement("div", { role: 'menu', "aria-label": ariaLabel, "aria-labelledby": labelElementId, style: contextMenuStyle, ref: function (host) { return _this._host = host; }, id: id, className: this._classNames.container, tabIndex: shouldFocusOnContainer ? 0 : -1, onKeyDown: this._onMenuKeyDown }, + title && React.createElement("div", { className: this._classNames.title, role: 'heading', "aria-level": 1 }, + " ", + title, + " "), + (items && items.length) ? (React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({}, this._adjustedFocusZoneProps, { className: this._classNames.root, isCircularNavigation: true, handleTabKey: 1 /* all */ }), + React.createElement("ul", { className: this._classNames.list, onKeyDown: this._onKeyDown }, items.map(function (item, index) { + var menuItem = _this._renderMenuItem(item, index, indexCorrection_1, totalItemCount_1, hasCheckmarks, hasIcons); + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && + item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var indexIncrease = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + indexCorrection_1 += indexIncrease; + } + return menuItem; + })))) : (null), + submenuProps && onRenderSubMenu(submenuProps, this._onRenderSubMenu)))); + } + else { + return null; + } + }; + ContextualMenu.prototype._onMenuOpened = function () { + this._events.on(this._targetWindow, 'resize', this.dismiss); + this.props.onMenuOpened && this.props.onMenuOpened(this.props); + }; + ContextualMenu.prototype._onMenuClosed = function () { + var _this = this; + this._events.off(this._targetWindow, 'resize', this.dismiss); + this._previousActiveElement && this._async.setTimeout(function () { _this._previousActiveElement && _this._previousActiveElement.focus(); }, 0); + }; + /** + * Gets the focusZoneDirection by using the arrowDirection if specified, + * the direction specificed in the focusZoneProps, or defaults to FocusZoneDirection.vertical + */ + ContextualMenu.prototype._getFocusZoneDirection = function () { + var _a = this.props, arrowDirection = _a.arrowDirection, focusZoneProps = _a.focusZoneProps; + return arrowDirection !== undefined ? arrowDirection : + focusZoneProps && focusZoneProps.direction !== undefined ? focusZoneProps.direction : FocusZone_1.FocusZoneDirection.vertical; + }; + ContextualMenu.prototype._onRenderSubMenu = function (subMenuProps) { + return React.createElement(ContextualMenu_1, tslib_1.__assign({}, subMenuProps)); + }; + ContextualMenu.prototype._renderMenuItem = function (item, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var renderedItems = []; + var iconProps = this._getIconProps(item); + // We only send a dividerClassName when the item to be rendered is a divider. For all other cases, the default divider style is used. + var dividerClassName = item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Divider ? item.className : undefined; + var subMenuIconClassName = item.submenuIconProps ? item.submenuIconProps.className : ''; + var getClassNames = item.getItemClassNames || ContextualMenu_classNames_1.getItemClassNames; + var itemClassNames = getClassNames(this.props.theme, index_1.isItemDisabled(item), (this.state.expandedMenuItemKey === item.key), !!index_1.getIsChecked(item), !!item.href, (iconProps.iconName !== 'None'), item.className, dividerClassName, iconProps.className, subMenuIconClassName, item.primaryDisabled); + if (item.name === '-') { + item.itemType = ContextualMenu_types_1.ContextualMenuItemType.Divider; + } + switch (item.itemType) { + case ContextualMenu_types_1.ContextualMenuItemType.Divider: + renderedItems.push(this._renderSeparator(index, itemClassNames)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Header: + renderedItems.push(this._renderSeparator(index, itemClassNames)); + var headerItem = this._renderHeaderMenuItem(item, itemClassNames, index, hasCheckmarks, hasIcons); + renderedItems.push(this._renderListItem(headerItem, item.key || index, itemClassNames, item.title)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Section: + renderedItems.push(this._renderSectionItem(item, itemClassNames, index, hasCheckmarks, hasIcons)); + break; + default: + var menuItem = this._renderNormalItem(item, itemClassNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + renderedItems.push(this._renderListItem(menuItem, item.key || index, itemClassNames, item.title)); + break; + } + return renderedItems; + }; + ContextualMenu.prototype._renderSectionItem = function (item, menuClassNames, index, hasCheckmarks, hasIcons) { + var _this = this; + var section = item.sectionProps; + if (!section) { + return; + } + var headerItem; + if (section.title) { + var headerContextualMenuItem = { + key: "section-" + section.title + "-title", + itemType: ContextualMenu_types_1.ContextualMenuItemType.Header, + name: section.title, + }; + headerItem = this._renderHeaderMenuItem(headerContextualMenuItem, menuClassNames, index, hasCheckmarks, hasIcons); + } + if (section.items && section.items.length > 0) { + return (React.createElement("li", { role: 'presentation', key: section.key }, + React.createElement("div", { role: 'group' }, + React.createElement("ul", { className: this._classNames.list }, + section.topDivider && this._renderSeparator(index, menuClassNames, true, true), + headerItem && this._renderListItem(headerItem, item.key || index, menuClassNames, item.title), + section.items.map(function (contextualMenuItem, itemsIndex) { return (_this._renderMenuItem(contextualMenuItem, itemsIndex, itemsIndex, section.items.length, hasCheckmarks, hasIcons)); }), + section.bottomDivider && this._renderSeparator(index, menuClassNames, false, true))))); + } + }; + ContextualMenu.prototype._renderListItem = function (content, key, classNames, title) { + return (React.createElement("li", { role: 'presentation', title: title, key: key, className: classNames.item }, content)); + }; + ContextualMenu.prototype._renderSeparator = function (index, classNames, top, fromSection) { + if (fromSection || index > 0) { + return (React.createElement("li", { role: 'separator', key: 'separator-' + index + (top === undefined ? '' : (top ? '-top' : '-bottom')), className: classNames.divider })); + } + return null; + }; + ContextualMenu.prototype._renderNormalItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + if (item.onRender) { + return [item.onRender(tslib_1.__assign({ 'aria-posinset': focusableElementIndex + 1, 'aria-setsize': totalItemCount }, item), this.dismiss)]; + } + if (item.href) { + return this._renderAnchorMenuItem(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + } + if (item.split && index_1.hasSubmenu(item)) { + return this._renderSplitButton(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + } + return this._renderButtonItem(item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + }; + ContextualMenu.prototype._renderHeaderMenuItem = function (item, classNames, index, hasCheckmarks, hasIcons) { + var _a = this.props.contextualMenuItemAs, ChildrenRenderer = _a === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _a; + return (React.createElement("div", { className: this._classNames.header, style: item.style, role: 'heading', "aria-level": this.props.title ? 2 : 1 }, + React.createElement(ChildrenRenderer, { item: item, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks ? this._onItemClick : undefined, hasIcons: hasIcons }))); + }; + ContextualMenu.prototype._renderAnchorMenuItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuAnchor, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onAnchorClick, onItemKeyDown: this._onItemKeyDown, getSubMenuId: this._getSubMenuId, expandedMenuItemKey: expandedMenuItemKey, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss })); + }; + ContextualMenu.prototype._renderButtonItem = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuButton, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onItemClick, onItemClickBase: this._onItemClickBase, onItemKeyDown: this._onItemKeyDown, getSubMenuId: this._getSubMenuId, expandedMenuItemKey: expandedMenuItemKey, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss })); + }; + ContextualMenu.prototype._renderSplitButton = function (item, classNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + var contextualMenuItemAs = this.props.contextualMenuItemAs; + var expandedMenuItemKey = this.state.expandedMenuItemKey; + return (React.createElement(index_2.ContextualMenuSplitButton, { item: item, classNames: classNames, index: index, focusableElementIndex: focusableElementIndex, totalItemCount: totalItemCount, hasCheckmarks: hasCheckmarks, hasIcons: hasIcons, contextualMenuItemAs: contextualMenuItemAs, onItemMouseEnter: this._onItemMouseEnterBase, onItemMouseLeave: this._onMouseItemLeave, onItemMouseMove: this._onItemMouseMoveBase, onItemMouseDown: this._onItemMouseDown, executeItemClick: this._executeItemClick, onItemClick: this._onItemClick, onItemClickBase: this._onItemClickBase, onItemKeyDown: this._onItemKeyDown, openSubMenu: this._onItemSubMenuExpand, dismissSubMenu: this._onSubMenuDismiss, dismissMenu: this.dismiss, expandedMenuItemKey: expandedMenuItemKey, onTap: this._onPointerAndTouchEvent })); + }; + ContextualMenu.prototype._getIconProps = function (item) { + var iconProps = item.iconProps ? item.iconProps : { + iconName: item.icon + }; + return iconProps; + }; + /** + * Handles updating focus when mouseEnter or mouseMove fire. + * As part of updating focus, This function will also update + * the expand/collapse state accordingly. + */ + ContextualMenu.prototype._updateFocusOnMouseEvent = function (item, ev, target) { + var _this = this; + var targetElement = target ? target : ev.currentTarget; + var _a = this.props.subMenuHoverDelay, timeoutDuration = _a === void 0 ? NavigationIdleDelay : _a; + if (item.key === this.state.expandedMenuItemKey) { + return; + } + if (this._enterTimerId !== undefined) { + this._async.clearTimeout(this._enterTimerId); + this._enterTimerId = undefined; + } + // If the menu is not expanded we can update focus without any delay + if (this.state.expandedMenuItemKey === undefined) { + targetElement.focus(); + } + // Delay updating expanding/dismissing the submenu + // and only set focus if we have not already done so + if (index_1.hasSubmenu(item)) { + ev.stopPropagation(); + this._enterTimerId = this._async.setTimeout(function () { + targetElement.focus(); + _this.setState({ + expandedByMouseClick: true + }); + _this._onItemSubMenuExpand(item, targetElement); + _this._enterTimerId = undefined; + }, timeoutDuration); + } + else { + this._enterTimerId = this._async.setTimeout(function () { + _this._onSubMenuDismiss(ev); + targetElement.focus(); + _this._enterTimerId = undefined; + }, timeoutDuration); + } + }; + ContextualMenu.prototype._getSubmenuProps = function () { + var _a = this.state, submenuTarget = _a.submenuTarget, expandedMenuItemKey = _a.expandedMenuItemKey; + var item = this._findItemByKey(expandedMenuItemKey); + var submenuProps = null; + if (item) { + submenuProps = { + items: getSubmenuItems(item), + target: submenuTarget, + onDismiss: this._onSubMenuDismiss, + isSubMenu: true, + id: this.state.subMenuId, + shouldFocusOnMount: true, + shouldFocusOnContainer: this.state.expandedByMouseClick, + directionalHint: Utilities_1.getRTL() ? 8 /* leftTopEdge */ : 11 /* rightTopEdge */, + className: this.props.className, + gapSpace: 0, + isBeakVisible: false + }; + if (item.subMenuProps) { + Utilities_1.assign(submenuProps, item.subMenuProps); + } + } + return submenuProps; + }; + ContextualMenu.prototype._findItemByKey = function (key) { + var items = this.props.items; + return this._findItemByKeyFromItems(key, items); + }; + /** + * Returns the item that mathes a given key if any. + * @param key The key of the item to match + * @param items The items to look for the key + */ + ContextualMenu.prototype._findItemByKeyFromItems = function (key, items) { + for (var _i = 0, items_2 = items; _i < items_2.length; _i++) { + var item = items_2[_i]; + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && item.sectionProps) { + var match = this._findItemByKeyFromItems(key, item.sectionProps.items); + if (match) { + return match; + } + } + else if (item.key && item.key === key) { + return item; + } + } + }; + ContextualMenu.prototype._setTargetWindowAndElement = function (target) { + if (target) { + if (typeof target === 'string') { + var currentDoc = Utilities_1.getDocument(); + this._target = currentDoc ? currentDoc.querySelector(target) : null; + this._targetWindow = Utilities_1.getWindow(); + } + else if (target.stopPropagation) { + this._targetWindow = Utilities_1.getWindow(target.toElement); + this._target = target; + } + else if (target.x !== undefined && target.y !== undefined) { + this._targetWindow = Utilities_1.getWindow(); + this._target = target; + } + else { + var targetElement = target; + this._targetWindow = Utilities_1.getWindow(targetElement); + this._target = target; + } + } + else { + this._targetWindow = Utilities_1.getWindow(); + } + }; + // The default ContextualMenu properties have no items and beak, the default submenu direction is right and top. + ContextualMenu.defaultProps = { + items: [], + shouldFocusOnMount: true, + gapSpace: 0, + directionalHint: 7 /* bottomAutoEdge */, + beakWidth: 16, + getMenuClassNames: ContextualMenu_classNames_1.getContextualMenuClassNames + }; + ContextualMenu = ContextualMenu_1 = tslib_1.__decorate([ + Utilities_1.customizable('ContextualMenu', ['theme']), + withResponsiveMode_1.withResponsiveMode + ], ContextualMenu); + return ContextualMenu; + var ContextualMenu_1; +}(Utilities_1.BaseComponent)); +exports.ContextualMenu = ContextualMenu; +//# sourceMappingURL=ContextualMenu.js.map + +/***/ }), + +/***/ "3Wmu": +/*!***************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenuItem.js ***! + \***************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var React = __webpack_require__(/*! react */ "cDcd"); +var index_1 = __webpack_require__(/*! ../../utilities/contextualMenu/index */ "KQAI"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "mw/c"); +var renderItemIcon = function (props) { + var item = props.item, hasIcons = props.hasIcons, classNames = props.classNames; + // Only present to allow continued use of item.icon which is deprecated. + var iconProps = item.iconProps, icon = item.icon; + if (!hasIcons) { + return null; + } + if (item.onRenderIcon) { + return (item.onRenderIcon(props)); + } + if (iconProps) { + return React.createElement(Icon_1.Icon, tslib_1.__assign({}, iconProps, { className: classNames.icon })); + } + return React.createElement(Icon_1.Icon, { iconName: icon, className: classNames.icon }); +}; +var renderCheckMarkIcon = function (_a) { + var onCheckmarkClick = _a.onCheckmarkClick, item = _a.item, classNames = _a.classNames; + var isItemChecked = index_1.getIsChecked(item); + if (onCheckmarkClick) { + var onClick = function (e) { return onCheckmarkClick(item, e); }; + return (React.createElement(Icon_1.Icon, { iconName: isItemChecked ? 'CheckMark' : '', className: classNames.checkmarkIcon, onClick: onClick })); + } + return null; +}; +var renderItemName = function (_a) { + var item = _a.item, classNames = _a.classNames; + if (item.name) { + return React.createElement("span", { className: classNames.label }, item.name); + } + return null; +}; +var renderSecondaryText = function (_a) { + var item = _a.item, classNames = _a.classNames; + if (item.secondaryText) { + return React.createElement("span", { className: classNames.secondaryText }, item.secondaryText); + } + return null; +}; +var renderSubMenuIcon = function (_a) { + var item = _a.item, classNames = _a.classNames; + if (index_1.hasSubmenu(item)) { + return (React.createElement(Icon_1.Icon, tslib_1.__assign({ iconName: Utilities_1.getRTL() ? 'ChevronLeft' : 'ChevronRight' }, item.submenuIconProps, { className: classNames.subMenuIcon }))); + } + return null; +}; +var ContextualMenuItem = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuItem, _super); + function ContextualMenuItem() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.openSubMenu = function () { + var _a = _this.props, item = _a.item, openSubMenu = _a.openSubMenu, getSubmenuTarget = _a.getSubmenuTarget; + if (getSubmenuTarget) { + var submenuTarget = getSubmenuTarget(); + if (index_1.hasSubmenu(item) && openSubMenu && submenuTarget) { + openSubMenu(item, submenuTarget); + } + } + }; + _this.dismissSubMenu = function () { + var _a = _this.props, item = _a.item, dismissSubMenu = _a.dismissSubMenu; + if (index_1.hasSubmenu(item) && dismissSubMenu) { + dismissSubMenu(); + } + }; + _this.dismissMenu = function (dismissAll) { + var dismissMenu = _this.props.dismissMenu; + if (dismissMenu) { + dismissMenu(undefined /* ev */, dismissAll); + } + }; + return _this; + } + ContextualMenuItem.prototype.render = function () { + var _a = this.props, item = _a.item, classNames = _a.classNames; + return (React.createElement("div", { className: item.split ? classNames.linkContentMenu : classNames.linkContent }, + renderCheckMarkIcon(this.props), + renderItemIcon(this.props), + renderItemName(this.props), + renderSecondaryText(this.props), + renderSubMenuIcon(this.props))); + }; + return ContextualMenuItem; +}(Utilities_1.BaseComponent)); +exports.ContextualMenuItem = ContextualMenuItem; +//# sourceMappingURL=ContextualMenuItem.js.map + +/***/ }), + +/***/ "3ZCB": +/*!*************************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/CompoundButton/CompoundButton.styles.js ***! + \*************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "8tWw"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "Hlgl"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "2Pb9"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "hXU3"); +var ButtonThemes_1 = __webpack_require__(/*! ../ButtonThemes */ "8K2u"); +exports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles, primary) { + var baseButtonStyles = BaseButton_styles_1.getStyles(theme); + var splitButtonStyles = SplitButton_styles_1.getStyles(theme); + var compoundButtonStyles = { + root: { + maxWidth: '280px', + minHeight: '72px', + height: 'auto', + padding: '20px' + }, + flexContainer: { + flexDirection: 'row', + alignItems: 'flex-start', + minWidth: '100%', + margin: '' + }, + textContainer: { + textAlign: 'left' + }, + icon: { + fontSize: '2em', + lineHeight: '1em', + height: '1em', + margin: '0px 8px 0px 0px', + flexBasis: '1em', + flexShrink: '0' + }, + label: { + margin: '0 0 5px', + lineHeight: '100%', + fontWeight: Styling_1.FontWeights.semibold + }, + description: [ + theme.fonts.small, + { + lineHeight: '100%' + } + ], + }; + var standardCompoundTheme = { + description: { + color: theme.palette.neutralSecondary, + }, + descriptionHovered: { + color: theme.palette.neutralDark + }, + descriptionPressed: { + color: 'inherit' + }, + descriptionChecked: { + color: 'inherit' + }, + descriptionDisabled: { + color: 'inherit' + } + }; + var primaryCompoundTheme = { + description: { + color: theme.palette.white, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'Window', + backgroundColor: 'WindowText', + MsHighContrastAdjust: 'none' + }, + _a) + }, + descriptionHovered: { + color: theme.palette.white, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'Window', + backgroundColor: 'Highlight', + MsHighContrastAdjust: 'none' + }, + _b) + }, + descriptionPressed: { + color: 'inherit' + }, + descriptionChecked: { + color: 'inherit' + }, + descriptionDisabled: { + color: 'inherit' + } + }; + return Styling_1.concatStyleSets(baseButtonStyles, compoundButtonStyles, primary ? ButtonThemes_1.primaryStyles(theme) : ButtonThemes_1.standardStyles(theme), primary ? primaryCompoundTheme : standardCompoundTheme, splitButtonStyles, customStyles); + var _a, _b; +}); +//# sourceMappingURL=CompoundButton.styles.js.map + +/***/ }), + +/***/ "3fSn": +/*!********************************************!*\ + !*** ./node_modules/@pnp/sp/forms/list.js ***! + \********************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _lists_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lists/types */ "hy0S"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "zYJ9"); + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_lists_types__WEBPACK_IMPORTED_MODULE_1__["_List"], "forms", _types__WEBPACK_IMPORTED_MODULE_2__["Forms"], "forms"); +//# sourceMappingURL=list.js.map + +/***/ }), + +/***/ "3nfX": +/*!********************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Divider/VerticalDivider.js ***! + \********************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var React = __webpack_require__(/*! react */ "cDcd"); +var VerticalDivider_classNames_1 = __webpack_require__(/*! ./VerticalDivider.classNames */ "uWrk"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +exports.VerticalDivider = function (props) { + var theme = Styling_1.getTheme(); + var classNames = props.getClassNames ? props.getClassNames(theme) : VerticalDivider_classNames_1.getDividerClassNames(theme); + return (React.createElement("span", { className: classNames.wrapper }, + React.createElement("span", { className: classNames.divider }))); +}; +//# sourceMappingURL=VerticalDivider.js.map + +/***/ }), + +/***/ "3ooT": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/overflow.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Detects whether an element's content has horizontal overflow + * + * @public + * @param element - Element to check for overflow + * @returns True if element's content overflows + */ +function hasHorizontalOverflow(element) { + return element.clientWidth < element.scrollWidth; +} +exports.hasHorizontalOverflow = hasHorizontalOverflow; +/** + * Detects whether an element's content has vertical overflow + * + * @public + * @param element - Element to check for overflow + * @returns True if element's content overflows + */ +function hasVerticalOverflow(element) { + return element.clientHeight < element.scrollHeight; +} +exports.hasVerticalOverflow = hasVerticalOverflow; +/** + * Detects whether an element's content has overflow in any direction + * + * @public + * @param element - Element to check for overflow + * @returns True if element's content overflows + */ +function hasOverflow(element) { + return hasHorizontalOverflow(element) || hasVerticalOverflow(element); +} +exports.hasOverflow = hasOverflow; +//# sourceMappingURL=overflow.js.map + +/***/ }), + +/***/ "3vAc": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/object.js ***! + \*************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) { +Object.defineProperty(exports, "__esModule", { value: true }); +// Initialize global window id. +var CURRENT_ID_PROPERTY = '__currentId__'; +var DEFAULT_ID_STRING = 'id__'; +// tslint:disable-next-line:no-any +var _global = (typeof window !== 'undefined' && window) || process; +if (_global[CURRENT_ID_PROPERTY] === undefined) { + _global[CURRENT_ID_PROPERTY] = 0; +} +// tslint:disable-next-line:no-any +function checkProperties(a, b) { + for (var propName in a) { + if (a.hasOwnProperty(propName)) { + if (!b.hasOwnProperty(propName) || (b[propName] !== a[propName])) { + return false; + } + } + } + return true; +} +/** + * Compares a to b and b to a. + * + * @public + */ +function shallowCompare(a, b) { + return checkProperties(a, b) && checkProperties(b, a); +} +exports.shallowCompare = shallowCompare; +/** + * Makes a resulting merge of a bunch of objects. Pass in the target object followed by 1 or more + * objects as arguments and they will be merged sequentially into the target. Note that this will + * shallow merge; it will not create new cloned values for target members. + * + * @public + * @param target - Target object to merge following object arguments into. + * @param args - One or more objects that will be mixed into the target in the order they are provided. + * @returns Resulting merged target. + */ +// tslint:disable-next-line:no-any +function assign(target) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + return filteredAssign.apply(this, [null, target].concat(args)); +} +exports.assign = assign; +/** + * Makes a resulting merge of a bunch of objects, but allows a filter function to be passed in to filter + * the resulting merges. This allows for scenarios where you want to merge "everything except that one thing" + * or "properties that start with data-". Note that this will shallow merge; it will not create new cloned + * values for target members. + * + * @public + * @param isAllowed - Callback to determine if the given propName is allowed in the result. + * @param target - Target object to merge following object arguments into. + * @param args - One or more objects that will be mixed into the target in the order they are provided. + * @returns Resulting merged target. + */ +// tslint:disable-next-line:no-any +function filteredAssign(isAllowed, target) { + var args = []; + for (var _i = 2; _i < arguments.length; _i++) { + args[_i - 2] = arguments[_i]; + } + target = target || {}; + for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { + var sourceObject = args_1[_a]; + if (sourceObject) { + for (var propName in sourceObject) { + if (sourceObject.hasOwnProperty(propName) && + (!isAllowed || isAllowed(propName))) { + target[propName] = sourceObject[propName]; + } + } + } + } + return target; +} +exports.filteredAssign = filteredAssign; +/** + * Generates a unique id in the global scope (this spans across duplicate copies of the same library.) + * + * @public + */ +function getId(prefix) { + var index = _global[CURRENT_ID_PROPERTY]++; + return (prefix || DEFAULT_ID_STRING) + index; +} +exports.getId = getId; +/* Takes an enum and iterates over each value of the enum (as a string), running the callback on each, returning a mapped array. + * The callback takes as a first parameter the string that represents the name of the entry, and the second parameter is the + * value of that entry, which is the value you'd normally use when using the enum (usually a number). + * */ +function mapEnumByName( +// tslint:disable-next-line:no-any +theEnum, callback) { + // map to satisfy compiler since it doesn't realize we strip out undefineds in the .filter() call + return Object.keys(theEnum).map(function (p) { + if (String(Number(p)) !== p) { // if the property is not just a number (because enums in TypeScript will map both ways) + return callback(p, theEnum[p]); + } + }).filter(function (v) { return !!v; }); // only return elements with values +} +exports.mapEnumByName = mapEnumByName; +/** + * Get all values in an object dictionary + * + * @param obj - The dictionary to get values for + */ +// tslint:disable-next-line:no-any +function values(obj) { + return Object.keys(obj).reduce(function (arr, key) { + arr.push(obj[key]); + return arr; + }, []); +} +exports.values = values; +//# sourceMappingURL=object.js.map +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../process/browser.js */ "8oxB"))) + +/***/ }), + +/***/ "3xEs": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/Fabric.js ***! + \*************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Fabric/index */ "K7IN"), exports); +//# sourceMappingURL=Fabric.js.map + +/***/ }), + +/***/ "4Egx": +/*!****************************************************!*\ + !*** ./node_modules/@pnp/sp/content-types/item.js ***! + \****************************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _items_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../items/types */ "3DT9"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "S3gC"); + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_items_types__WEBPACK_IMPORTED_MODULE_1__["_Item"], "contentType", _types__WEBPACK_IMPORTED_MODULE_2__["ContentType"], "ContentType"); +//# sourceMappingURL=item.js.map + +/***/ }), + +/***/ "4G66": +/*!**********************************************!*\ + !*** ./node_modules/@pnp/sp/security/web.js ***! + \**********************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _webs_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../webs/types */ "dVsc"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "1dmT"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _funcs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./funcs */ "vXSC"); + + + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"], "roleDefinitions", _types__WEBPACK_IMPORTED_MODULE_2__["RoleDefinitions"]); +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"], "roleAssignments", _types__WEBPACK_IMPORTED_MODULE_2__["RoleAssignments"]); +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"], "firstUniqueAncestorSecurableObject", _sharepointqueryable__WEBPACK_IMPORTED_MODULE_3__["SharePointQueryableInstance"]); +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.getUserEffectivePermissions = _funcs__WEBPACK_IMPORTED_MODULE_4__["getUserEffectivePermissions"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.getCurrentUserEffectivePermissions = _funcs__WEBPACK_IMPORTED_MODULE_4__["getCurrentUserEffectivePermissions"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.breakRoleInheritance = _funcs__WEBPACK_IMPORTED_MODULE_4__["breakRoleInheritance"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.resetRoleInheritance = _funcs__WEBPACK_IMPORTED_MODULE_4__["resetRoleInheritance"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.userHasPermissions = _funcs__WEBPACK_IMPORTED_MODULE_4__["userHasPermissions"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.currentUserHasPermissions = _funcs__WEBPACK_IMPORTED_MODULE_4__["currentUserHasPermissions"]; +_webs_types__WEBPACK_IMPORTED_MODULE_1__["_Web"].prototype.hasPermissions = _funcs__WEBPACK_IMPORTED_MODULE_4__["hasPermissions"]; +//# sourceMappingURL=web.js.map + +/***/ }), + +/***/ "4MV3": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/gu.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Gujarati [gu] +//! author : Kaushik Thanki : https://github.com/Kaushik1987 + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + + var gu = moment.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return gu; + +}))); + + +/***/ }), + +/***/ "4OLw": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Layer/Layer.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var Layer_base_1 = __webpack_require__(/*! ./Layer.base */ "yP7A"); +var Layer_styles_1 = __webpack_require__(/*! ./Layer.styles */ "pOxI"); +exports.Layer = Utilities_1.styled(Layer_base_1.LayerBase, Layer_styles_1.getStyles); +//# sourceMappingURL=Layer.js.map + +/***/ }), + +/***/ "4dOw": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/en-ie.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : English (Ireland) [en-ie] +//! author : Chris Cartlidge : https://github.com/chriscartlidge + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enIe = moment.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enIe; + +}))); + + +/***/ }), + +/***/ "4fuz": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/Async.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Bugs often appear in async code when stuff gets disposed, but async operations don't get canceled. + * This Async helper class solves these issues by tying async code to the lifetime of a disposable object. + * + * Usage: Anything class extending from BaseModel can access this helper via this.async. Otherwise create a + * new instance of the class and remember to call dispose() during your code's dispose handler. + * + * @public + */ +var Async = /** @class */ (function () { + // tslint:disable-next-line:no-any + function Async(parent, onError) { + this._timeoutIds = null; + this._immediateIds = null; + this._intervalIds = null; + this._animationFrameIds = null; + this._isDisposed = false; + this._parent = parent || null; + this._onErrorHandler = onError; + this._noop = function () { }; + } + /** + * Dispose function, clears all async operations. + */ + Async.prototype.dispose = function () { + var id; + this._isDisposed = true; + this._parent = null; + // Clear timeouts. + if (this._timeoutIds) { + for (id in this._timeoutIds) { + if (this._timeoutIds.hasOwnProperty(id)) { + this.clearTimeout(parseInt(id, 10)); + } + } + this._timeoutIds = null; + } + // Clear immediates. + if (this._immediateIds) { + for (id in this._immediateIds) { + if (this._immediateIds.hasOwnProperty(id)) { + this.clearImmediate(parseInt(id, 10)); + } + } + this._immediateIds = null; + } + // Clear intervals. + if (this._intervalIds) { + for (id in this._intervalIds) { + if (this._intervalIds.hasOwnProperty(id)) { + this.clearInterval(parseInt(id, 10)); + } + } + this._intervalIds = null; + } + // Clear animation frames. + if (this._animationFrameIds) { + for (id in this._animationFrameIds) { + if (this._animationFrameIds.hasOwnProperty(id)) { + this.cancelAnimationFrame(parseInt(id, 10)); + } + } + this._animationFrameIds = null; + } + }; + /** + * SetTimeout override, which will auto cancel the timeout during dispose. + * @param callback - Callback to execute. + * @param duration - Duration in milliseconds. + * @returns The setTimeout id. + */ + Async.prototype.setTimeout = function (callback, duration) { + var _this = this; + var timeoutId = 0; + if (!this._isDisposed) { + if (!this._timeoutIds) { + this._timeoutIds = {}; + } + /* tslint:disable:ban-native-functions */ + timeoutId = setTimeout(function () { + // Time to execute the timeout, enqueue it as a foreground task to be executed. + try { + // Now delete the record and call the callback. + if (_this._timeoutIds) { + delete _this._timeoutIds[timeoutId]; + } + callback.apply(_this._parent); + } + catch (e) { + if (_this._onErrorHandler) { + _this._onErrorHandler(e); + } + } + }, duration); + /* tslint:enable:ban-native-functions */ + this._timeoutIds[timeoutId] = true; + } + return timeoutId; + }; + /** + * Clears the timeout. + * @param id - Id to cancel. + */ + Async.prototype.clearTimeout = function (id) { + if (this._timeoutIds && this._timeoutIds[id]) { + /* tslint:disable:ban-native-functions */ + clearTimeout(id); + delete this._timeoutIds[id]; + /* tslint:enable:ban-native-functions */ + } + }; + /** + * SetImmediate override, which will auto cancel the immediate during dispose. + * @param callback - Callback to execute. + * @returns The setTimeout id. + */ + Async.prototype.setImmediate = function (callback) { + var _this = this; + var immediateId = 0; + if (!this._isDisposed) { + if (!this._immediateIds) { + this._immediateIds = {}; + } + /* tslint:disable:ban-native-functions */ + var setImmediateCallback = function () { + // Time to execute the timeout, enqueue it as a foreground task to be executed. + try { + // Now delete the record and call the callback. + if (_this._immediateIds) { + delete _this._immediateIds[immediateId]; + } + callback.apply(_this._parent); + } + catch (e) { + _this._logError(e); + } + }; + immediateId = window.setImmediate ? window.setImmediate(setImmediateCallback) : window.setTimeout(setImmediateCallback, 0); + /* tslint:enable:ban-native-functions */ + this._immediateIds[immediateId] = true; + } + return immediateId; + }; + /** + * Clears the immediate. + * @param id - Id to cancel. + */ + Async.prototype.clearImmediate = function (id) { + if (this._immediateIds && this._immediateIds[id]) { + /* tslint:disable:ban-native-functions */ + window.clearImmediate ? window.clearImmediate(id) : window.clearTimeout(id); + delete this._immediateIds[id]; + /* tslint:enable:ban-native-functions */ + } + }; + /** + * SetInterval override, which will auto cancel the timeout during dispose. + * @param callback - Callback to execute. + * @param duration - Duration in milliseconds. + * @returns The setTimeout id. + */ + Async.prototype.setInterval = function (callback, duration) { + var _this = this; + var intervalId = 0; + if (!this._isDisposed) { + if (!this._intervalIds) { + this._intervalIds = {}; + } + /* tslint:disable:ban-native-functions */ + intervalId = setInterval(function () { + // Time to execute the interval callback, enqueue it as a foreground task to be executed. + try { + callback.apply(_this._parent); + } + catch (e) { + _this._logError(e); + } + }, duration); + /* tslint:enable:ban-native-functions */ + this._intervalIds[intervalId] = true; + } + return intervalId; + }; + /** + * Clears the interval. + * @param id - Id to cancel. + */ + Async.prototype.clearInterval = function (id) { + if (this._intervalIds && this._intervalIds[id]) { + /* tslint:disable:ban-native-functions */ + clearInterval(id); + delete this._intervalIds[id]; + /* tslint:enable:ban-native-functions */ + } + }; + /** + * Creates a function that, when executed, will only call the func function at most once per + * every wait milliseconds. Provide an options object to indicate that func should be invoked + * on the leading and/or trailing edge of the wait timeout. Subsequent calls to the throttled + * function will return the result of the last func call. + * + * Note: If leading and trailing options are true func will be called on the trailing edge of + * the timeout only if the the throttled function is invoked more than once during the wait timeout. + * + * @param func - The function to throttle. + * @param wait - The number of milliseconds to throttle executions to. Defaults to 0. + * @param options - The options object. + * @returns The new throttled function. + */ + Async.prototype.throttle = function (func, wait, options) { + var _this = this; + if (this._isDisposed) { + return this._noop; + } + var waitMS = wait || 0; + var leading = true; + var trailing = true; + var lastExecuteTime = 0; + var lastResult; + // tslint:disable-next-line:no-any + var lastArgs; + var timeoutId = null; + if (options && typeof (options.leading) === 'boolean') { + leading = options.leading; + } + if (options && typeof (options.trailing) === 'boolean') { + trailing = options.trailing; + } + var callback = function (userCall) { + var now = (new Date).getTime(); + var delta = now - lastExecuteTime; + var waitLength = leading ? waitMS - delta : waitMS; + if (delta >= waitMS && (!userCall || leading)) { + lastExecuteTime = now; + if (timeoutId) { + _this.clearTimeout(timeoutId); + timeoutId = null; + } + lastResult = func.apply(_this._parent, lastArgs); + } + else if (timeoutId === null && trailing) { + timeoutId = _this.setTimeout(callback, waitLength); + } + return lastResult; + }; + // tslint:disable-next-line:no-any + var resultFunction = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + lastArgs = args; + return callback(true); + }; + return resultFunction; + }; + /** + * Creates a function that will delay the execution of func until after wait milliseconds have + * elapsed since the last time it was invoked. Provide an options object to indicate that func + * should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls + * to the debounced function will return the result of the last func call. + * + * Note: If leading and trailing options are true func will be called on the trailing edge of + * the timeout only if the the debounced function is invoked more than once during the wait + * timeout. + * + * @param func - The function to debounce. + * @param wait - The number of milliseconds to delay. + * @param options - The options object. + * @returns The new debounced function. + */ + Async.prototype.debounce = function (func, wait, options) { + var _this = this; + if (this._isDisposed) { + var noOpFunction = (function () { + /** Do nothing */ + }); + noOpFunction.cancel = function () { return; }; + /* tslint:disable:no-any */ + noOpFunction.flush = (function () { return null; }); + /* tslint:enable:no-any */ + noOpFunction.pending = function () { return false; }; + return noOpFunction; + } + var waitMS = wait || 0; + var leading = false; + var trailing = true; + var maxWait = null; + var lastCallTime = 0; + var lastExecuteTime = (new Date).getTime(); + var lastResult; + // tslint:disable-next-line:no-any + var lastArgs; + var timeoutId = null; + if (options && typeof (options.leading) === 'boolean') { + leading = options.leading; + } + if (options && typeof (options.trailing) === 'boolean') { + trailing = options.trailing; + } + if (options && typeof (options.maxWait) === 'number' && !isNaN(options.maxWait)) { + maxWait = options.maxWait; + } + var markExecuted = function (time) { + if (timeoutId) { + _this.clearTimeout(timeoutId); + timeoutId = null; + } + lastExecuteTime = time; + }; + var invokeFunction = function (time) { + markExecuted(time); + lastResult = func.apply(_this._parent, lastArgs); + }; + var callback = function (userCall) { + var now = (new Date).getTime(); + var executeImmediately = false; + if (userCall) { + if (leading && now - lastCallTime >= waitMS) { + executeImmediately = true; + } + lastCallTime = now; + } + var delta = now - lastCallTime; + var waitLength = waitMS - delta; + var maxWaitDelta = now - lastExecuteTime; + var maxWaitExpired = false; + if (maxWait !== null) { + // maxWait only matters when there is a pending callback + if (maxWaitDelta >= maxWait && timeoutId) { + maxWaitExpired = true; + } + else { + waitLength = Math.min(waitLength, maxWait - maxWaitDelta); + } + } + if (delta >= waitMS || maxWaitExpired || executeImmediately) { + invokeFunction(now); + } + else if ((timeoutId === null || !userCall) && trailing) { + timeoutId = _this.setTimeout(callback, waitLength); + } + return lastResult; + }; + var pending = function () { + return !!timeoutId; + }; + var cancel = function () { + if (pending()) { + // Mark the debounced function as having executed + markExecuted(new Date().getTime()); + } + }; + var flush = function () { + if (pending()) { + invokeFunction(new Date().getTime()); + } + return lastResult; + }; + // tslint:disable-next-line:no-any + var resultFunction = (function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + lastArgs = args; + return callback(true); + }); + resultFunction.cancel = cancel; + resultFunction.flush = flush; + resultFunction.pending = pending; + return resultFunction; + }; + Async.prototype.requestAnimationFrame = function (callback) { + var _this = this; + var animationFrameId = 0; + if (!this._isDisposed) { + if (!this._animationFrameIds) { + this._animationFrameIds = {}; + } + /* tslint:disable:ban-native-functions */ + var animationFrameCallback = function () { + try { + // Now delete the record and call the callback. + if (_this._animationFrameIds) { + delete _this._animationFrameIds[animationFrameId]; + } + callback.apply(_this._parent); + } + catch (e) { + _this._logError(e); + } + }; + animationFrameId = window.requestAnimationFrame ? + window.requestAnimationFrame(animationFrameCallback) : + window.setTimeout(animationFrameCallback, 0); + /* tslint:enable:ban-native-functions */ + this._animationFrameIds[animationFrameId] = true; + } + return animationFrameId; + }; + Async.prototype.cancelAnimationFrame = function (id) { + if (this._animationFrameIds && this._animationFrameIds[id]) { + /* tslint:disable:ban-native-functions */ + window.cancelAnimationFrame ? window.cancelAnimationFrame(id) : window.clearTimeout(id); + /* tslint:enable:ban-native-functions */ + delete this._animationFrameIds[id]; + } + }; + // tslint:disable-next-line:no-any + Async.prototype._logError = function (e) { + if (this._onErrorHandler) { + this._onErrorHandler(e); + } + }; + return Async; +}()); +exports.Async = Async; +//# sourceMappingURL=Async.js.map + +/***/ }), + +/***/ "4tXH": +/*!***********************************************!*\ + !*** ./node_modules/@pnp/sp/folders/types.js ***! + \***********************************************/ +/*! exports provided: _Folders, Folders, _Folder, Folder */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Folders", function() { return _Folders; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Folders", function() { return Folders; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Folder", function() { return _Folder; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Folder", function() { return Folder; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _odata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../odata */ "5dQz"); +/* harmony import */ var _items_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../items/types */ "3DT9"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/escapeQueryStrValue */ "q1Lp"); +/* harmony import */ var _utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/extractweburl */ "tSEd"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../telemetry */ "h3gW"); +/* harmony import */ var _utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/toResourcePath */ "t8hP"); + + + + + + + + + + + + +var _Folders = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Folders, _super); + function _Folders() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * Gets a folder by it's name + * + * @param name Folder's name + */ + _Folders.prototype.getByName = function (name) { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Folder(this).concat("('" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_8__["escapeQueryStrValue"])(name) + "')"), "fs.getByName"); + }; + /** + * Adds a new folder at the specified URL + * + * @param url + */ + _Folders.prototype.add = function (url) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(Folders, "add('" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_8__["escapeQueryStrValue"])(url) + "')"))]; + case 1: + data = _a.sent(); + return [2 /*return*/, { + data: data, + folder: this.getByName(url), + }]; + } + }); + }); + }; + /** + * Adds a new folder by path and should be prefered over add + * + * @param serverRelativeUrl The server relative url of the new folder to create + * @param overwrite True to overwrite an existing folder, default false + */ + _Folders.prototype.addUsingPath = function (serverRelativeUrl, overwrite) { + if (overwrite === void 0) { overwrite = false; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var data; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(Folders, "addUsingPath(DecodedUrl='" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_8__["escapeQueryStrValue"])(serverRelativeUrl) + "',overwrite=" + overwrite + ")"))]; + case 1: + data = _a.sent(); + return [2 /*return*/, { + data: data, + folder: Folder(Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__["extractWebUrl"])(this.toUrl()), "_api/web/getFolderByServerRelativePath(decodedUrl='" + Object(_utils_escapeQueryStrValue__WEBPACK_IMPORTED_MODULE_8__["escapeQueryStrValue"])(serverRelativeUrl) + "')"), + }]; + } + }); + }); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("fs.add") + ], _Folders.prototype, "add", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("fs.addUsingPath") + ], _Folders.prototype, "addUsingPath", null); + _Folders = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_6__["defaultPath"])("folders") + ], _Folders); + return _Folders; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["_SharePointQueryableCollection"])); + +var Folders = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["spInvokableFactory"])(_Folders); +var _Folder = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Folder, _super); + function _Folder() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.delete = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["deleteableWithETag"])("f"); + /** + * Updates folder's properties + * @param props Folder's properties to update + */ + _this.update = _this._update("SP.Folder", function (data) { return ({ data: data, folder: _this }); }); + return _this; + } + Object.defineProperty(_Folder.prototype, "contentTypeOrder", { + /** + * Specifies the sequence in which content types are displayed. + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryableCollection"])(this, "contentTypeOrder"), "f.contentTypeOrder"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "folders", { + /** + * Gets this folder's sub folders + * + */ + get: function () { + return Folders(this); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "listItemAllFields", { + /** + * Gets this folder's list item field values + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryableInstance"])(this, "listItemAllFields"), "f.listItemAllFields"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "parentFolder", { + /** + * Gets the parent folder, if available + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Folder(this, "parentFolder"), "f.parentFolder"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "properties", { + /** + * Gets this folder's properties + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryableInstance"])(this, "properties"), "f.properties"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "serverRelativeUrl", { + /** + * Gets this folder's server relative url + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryable"])(this, "serverRelativeUrl"), "f.serverRelativeUrl"); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(_Folder.prototype, "uniqueContentTypeOrder", { + /** + * Gets a value that specifies the content type order. + * + */ + get: function () { + return _telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"].configure(Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryableCollection"])(this, "uniqueContentTypeOrder"), "f.uniqueContentTypeOrder"); + }, + enumerable: false, + configurable: true + }); + /** + * Moves the folder to the Recycle Bin and returns the identifier of the new Recycle Bin item. + */ + _Folder.prototype.recycle = function () { + return Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(Folder, "recycle")); + }; + /** + * Gets the associated list item for this folder, loading the default properties + */ + _Folder.prototype.getItem = function () { + var selects = []; + for (var _i = 0; _i < arguments.length; _i++) { + selects[_i] = arguments[_i]; + } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var q; + var _a; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_b) { + switch (_b.label) { + case 0: return [4 /*yield*/, (_a = this.listItemAllFields).select.apply(_a, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])(selects))()]; + case 1: + q = _b.sent(); + return [2 /*return*/, Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(Object(_items_types__WEBPACK_IMPORTED_MODULE_4__["Item"])(Object(_odata__WEBPACK_IMPORTED_MODULE_3__["odataUrlFrom"])(q)), q)]; + } + }); + }); + }; + /** + * Moves a folder to destination path + * + * @param destUrl Absolute or relative URL of the destination path + */ + _Folder.prototype.moveTo = function (destUrl) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var _a, srcUrl, absoluteUrl, webBaseUrl, hostUrl; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_b) { + switch (_b.label) { + case 0: return [4 /*yield*/, this.select("ServerRelativeUrl")()]; + case 1: + _a = _b.sent(), srcUrl = _a.ServerRelativeUrl, absoluteUrl = _a["odata.id"]; + webBaseUrl = Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__["extractWebUrl"])(absoluteUrl); + hostUrl = webBaseUrl.replace("://", "___").split("/")[0].replace("___", "://"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(Folder(webBaseUrl, "/_api/SP.MoveCopyUtil.MoveFolder()"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ + destUrl: Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(destUrl) ? destUrl : "" + hostUrl + destUrl, + srcUrl: "" + hostUrl + srcUrl, + }))]; + case 2: + _b.sent(); + return [2 /*return*/]; + } + }); + }); + }; + /** + * Moves a folder by path to destination path + * Also works with different site collections. + * + * @param destUrl Absolute or relative URL of the destination path + * @param keepBoth Keep both if folder with the same name in the same location already exists? + */ + _Folder.prototype.moveByPath = function (destUrl, KeepBoth) { + if (KeepBoth === void 0) { KeepBoth = false; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var _a, srcUrl, absoluteUrl, webBaseUrl, hostUrl; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_b) { + switch (_b.label) { + case 0: return [4 /*yield*/, this.select("ServerRelativeUrl")()]; + case 1: + _a = _b.sent(), srcUrl = _a.ServerRelativeUrl, absoluteUrl = _a["odata.id"]; + webBaseUrl = Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__["extractWebUrl"])(absoluteUrl); + hostUrl = webBaseUrl.replace("://", "___").split("/")[0].replace("___", "://"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(Folder(webBaseUrl, "/_api/SP.MoveCopyUtil.MoveFolderByPath()"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ + destPath: Object(_utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__["toResourcePath"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(destUrl) ? destUrl : "" + hostUrl + destUrl), + options: { + KeepBoth: KeepBoth, + ResetAuthorAndCreatedOnCopy: true, + ShouldBypassSharedLocks: true, + __metadata: { + type: "SP.MoveCopyOptions", + }, + }, + srcPath: Object(_utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__["toResourcePath"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(srcUrl) ? srcUrl : "" + hostUrl + srcUrl), + }))]; + case 2: + _b.sent(); + return [2 /*return*/]; + } + }); + }); + }; + /** + * Copies a folder to destination path + * + * @param destUrl Absolute or relative URL of the destination path + */ + _Folder.prototype.copyTo = function (destUrl) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var _a, srcUrl, absoluteUrl, webBaseUrl, hostUrl; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_b) { + switch (_b.label) { + case 0: return [4 /*yield*/, this.select("ServerRelativeUrl")()]; + case 1: + _a = _b.sent(), srcUrl = _a.ServerRelativeUrl, absoluteUrl = _a["odata.id"]; + webBaseUrl = Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__["extractWebUrl"])(absoluteUrl); + hostUrl = webBaseUrl.replace("://", "___").split("/")[0].replace("___", "://"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(Folder(webBaseUrl, "/_api/SP.MoveCopyUtil.CopyFolder()"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ + destUrl: Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(destUrl) ? destUrl : "" + hostUrl + destUrl, + srcUrl: "" + hostUrl + srcUrl, + }))]; + case 2: + _b.sent(); + return [2 /*return*/]; + } + }); + }); + }; + /** + * Copies a folder by path to destination path + * Also works with different site collections. + * + * @param destUrl Absolute or relative URL of the destination path + * @param keepBoth Keep both if folder with the same name in the same location already exists? + */ + _Folder.prototype.copyByPath = function (destUrl, KeepBoth) { + if (KeepBoth === void 0) { KeepBoth = false; } + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var _a, srcUrl, absoluteUrl, webBaseUrl, hostUrl; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_b) { + switch (_b.label) { + case 0: return [4 /*yield*/, this.select("ServerRelativeUrl")()]; + case 1: + _a = _b.sent(), srcUrl = _a.ServerRelativeUrl, absoluteUrl = _a["odata.id"]; + webBaseUrl = Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_9__["extractWebUrl"])(absoluteUrl); + hostUrl = webBaseUrl.replace("://", "___").split("/")[0].replace("___", "://"); + return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(Folder(webBaseUrl, "/_api/SP.MoveCopyUtil.CopyFolderByPath()"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ + destPath: Object(_utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__["toResourcePath"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(destUrl) ? destUrl : "" + hostUrl + destUrl), + options: { + KeepBoth: KeepBoth, + ResetAuthorAndCreatedOnCopy: true, + ShouldBypassSharedLocks: true, + __metadata: { + type: "SP.MoveCopyOptions", + }, + }, + srcPath: Object(_utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__["toResourcePath"])(Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(srcUrl) ? srcUrl : "" + hostUrl + srcUrl), + }))]; + case 2: + _b.sent(); + return [2 /*return*/]; + } + }); + }); + }; + /** + * Deletes the folder object with options. + * + * @param parameters Specifies the options to use when deleting a folder. + */ + _Folder.prototype.deleteWithParams = function (parameters) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + return [2 /*return*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(Folder, "DeleteWithParameters"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ parameters: parameters }))]; + }); + }); + }; + /** + * Create the subfolder inside the current folder, as specified by the leafPath + * + * @param leafPath leafName of the new folder + */ + _Folder.prototype.addSubFolderUsingPath = function (leafPath) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_7__["spPost"])(this.clone(Folder, "AddSubFolderUsingPath"), Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ leafPath: Object(_utils_toResourcePath__WEBPACK_IMPORTED_MODULE_11__["toResourcePath"])(leafPath) }))]; + case 1: + _a.sent(); + return [2 /*return*/, this.folders.getByName(leafPath)]; + } + }); + }); + }; + /** + * Gets the shareable item associated with this folder + */ + _Folder.prototype.getShareable = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var d, shareable; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["SharePointQueryableInstance"], "listItemAllFields", false).select("odata.id")()]; + case 1: + d = _a.sent(); + shareable = Object(_items_types__WEBPACK_IMPORTED_MODULE_4__["Item"])(Object(_odata__WEBPACK_IMPORTED_MODULE_3__["odataUrlFrom"])(d)); + // we need to handle batching + if (this.hasBatch) { + shareable = shareable.inBatch(this.batch); + } + return [2 /*return*/, shareable]; + } + }); + }); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.recycle") + ], _Folder.prototype, "recycle", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.getItem") + ], _Folder.prototype, "getItem", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.moveTo") + ], _Folder.prototype, "moveTo", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.moveByPath") + ], _Folder.prototype, "moveByPath", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.copyTo") + ], _Folder.prototype, "copyTo", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.copyByPath") + ], _Folder.prototype, "copyByPath", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.del-params") + ], _Folder.prototype, "deleteWithParams", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_10__["tag"])("f.getShareable") + ], _Folder.prototype, "getShareable", null); + return _Folder; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["_SharePointQueryableInstance"])); + +var Folder = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_2__["spInvokableFactory"])(_Folder); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "4wCw": +/*!********************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/utilities/contextualMenu/contextualMenuUtility.js ***! + \********************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Determines the effective checked state of a menu item. + * + * @param item {IContextualMenuItem} to get the check state of. + * @returns {true} if the item is checked. + * @returns {false} if the item is unchecked. + * @returns {null} if the item is not checkable. + */ +function getIsChecked(item) { + if (item.canCheck) { + return !!(item.isChecked || item.checked); + } + if (typeof item.isChecked === 'boolean') { + return item.isChecked; + } + if (typeof item.checked === 'boolean') { + return item.checked; + } + // Item is not checkable. + return null; +} +exports.getIsChecked = getIsChecked; +function hasSubmenu(item) { + return !!(item.subMenuProps || item.items); +} +exports.hasSubmenu = hasSubmenu; +function isItemDisabled(item) { + return !!(item.isDisabled || item.disabled); +} +exports.isItemDisabled = isItemDisabled; +//# sourceMappingURL=contextualMenuUtility.js.map + +/***/ }), + +/***/ "4ytl": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/@uifabric/utilities/lib/object.js ***! + \**********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) { +Object.defineProperty(exports, "__esModule", { value: true }); +// Initialize global window id. +var CURRENT_ID_PROPERTY = '__currentId__'; +var DEFAULT_ID_STRING = 'id__'; +// tslint:disable-next-line:no-any +var _global = (typeof window !== 'undefined' && window) || process; +if (_global[CURRENT_ID_PROPERTY] === undefined) { + _global[CURRENT_ID_PROPERTY] = 0; +} +// tslint:disable-next-line:no-any +function checkProperties(a, b) { + for (var propName in a) { + if (a.hasOwnProperty(propName)) { + if (!b.hasOwnProperty(propName) || (b[propName] !== a[propName])) { + return false; + } + } + } + return true; +} +/** + * Compares a to b and b to a. + * + * @public + */ +function shallowCompare(a, b) { + return checkProperties(a, b) && checkProperties(b, a); +} +exports.shallowCompare = shallowCompare; +/** + * Makes a resulting merge of a bunch of objects. Pass in the target object followed by 1 or more + * objects as arguments and they will be merged sequentially into the target. Note that this will + * shallow merge; it will not create new cloned values for target members. + * + * @public + * @param target - Target object to merge following object arguments into. + * @param args - One or more objects that will be mixed into the target in the order they are provided. + * @returns Resulting merged target. + */ +// tslint:disable-next-line:no-any +function assign(target) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + return filteredAssign.apply(this, [null, target].concat(args)); +} +exports.assign = assign; +/** + * Makes a resulting merge of a bunch of objects, but allows a filter function to be passed in to filter + * the resulting merges. This allows for scenarios where you want to merge "everything except that one thing" + * or "properties that start with data-". Note that this will shallow merge; it will not create new cloned + * values for target members. + * + * @public + * @param isAllowed - Callback to determine if the given propName is allowed in the result. + * @param target - Target object to merge following object arguments into. + * @param args - One or more objects that will be mixed into the target in the order they are provided. + * @returns Resulting merged target. + */ +// tslint:disable-next-line:no-any +function filteredAssign(isAllowed, target) { + var args = []; + for (var _i = 2; _i < arguments.length; _i++) { + args[_i - 2] = arguments[_i]; + } + target = target || {}; + for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { + var sourceObject = args_1[_a]; + if (sourceObject) { + for (var propName in sourceObject) { + if (sourceObject.hasOwnProperty(propName) && + (!isAllowed || isAllowed(propName))) { + target[propName] = sourceObject[propName]; + } + } + } + } + return target; +} +exports.filteredAssign = filteredAssign; +/** + * Generates a unique id in the global scope (this spans across duplicate copies of the same library.) + * + * @public + */ +function getId(prefix) { + var index = _global[CURRENT_ID_PROPERTY]++; + return (prefix || DEFAULT_ID_STRING) + index; +} +exports.getId = getId; +/* Takes an enum and iterates over each value of the enum (as a string), running the callback on each, returning a mapped array. + * The callback takes as a first parameter the string that represents the name of the entry, and the second parameter is the + * value of that entry, which is the value you'd normally use when using the enum (usually a number). + * */ +function mapEnumByName( +// tslint:disable-next-line:no-any +theEnum, callback) { + // map to satisfy compiler since it doesn't realize we strip out undefineds in the .filter() call + return Object.keys(theEnum).map(function (p) { + if (String(Number(p)) !== p) { // if the property is not just a number (because enums in TypeScript will map both ways) + return callback(p, theEnum[p]); + } + }).filter(function (v) { return !!v; }); // only return elements with values +} +exports.mapEnumByName = mapEnumByName; +/** + * Get all values in an object dictionary + * + * @param obj - The dictionary to get values for + */ +// tslint:disable-next-line:no-any +function values(obj) { + return Object.keys(obj).reduce(function (arr, key) { + arr.push(obj[key]); + return arr; + }, []); +} +exports.values = values; +//# sourceMappingURL=object.js.map +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../process/browser.js */ "8oxB"))) + +/***/ }), + +/***/ "5+DQ": +/*!**********************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/tslib/tslib.es6.js ***! + \**********************************************************************************/ +/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__extends", function() { return __extends; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__assign", function() { return __assign; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__rest", function() { return __rest; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__decorate", function() { return __decorate; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__param", function() { return __param; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__metadata", function() { return __metadata; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__awaiter", function() { return __awaiter; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__generator", function() { return __generator; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__exportStar", function() { return __exportStar; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__values", function() { return __values; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__read", function() { return __read; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__spread", function() { return __spread; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__spreadArrays", function() { return __spreadArrays; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__await", function() { return __await; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncGenerator", function() { return __asyncGenerator; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncDelegator", function() { return __asyncDelegator; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncValues", function() { return __asyncValues; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__makeTemplateObject", function() { return __makeTemplateObject; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importStar", function() { return __importStar; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importDefault", function() { return __importDefault; }); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +function __awaiter(thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +function __exportStar(m, exports) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +function __values(o) { + var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; + if (m) return m.call(o); + return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; +} + +function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + + +/***/ }), + +/***/ "5AgF": +/*!*********************************************************************!*\ + !*** ./node_modules/@microsoft/load-themed-styles/lib-es6/index.js ***! + \*********************************************************************/ +/*! exports provided: loadStyles, configureLoadStyles, configureRunMode, flush, loadTheme, clearStyles, detokenize, splitStyles */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "loadStyles", function() { return loadStyles; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "configureLoadStyles", function() { return configureLoadStyles; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "configureRunMode", function() { return configureRunMode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flush", function() { return flush; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "loadTheme", function() { return loadTheme; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "clearStyles", function() { return clearStyles; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "detokenize", function() { return detokenize; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "splitStyles", function() { return splitStyles; }); +// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. +// See LICENSE in the project root for license information. +var __assign = (undefined && undefined.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +// Store the theming state in __themeState__ global scope for reuse in the case of duplicate +// load-themed-styles hosted on the page. +var _root = typeof window === 'undefined' ? global : window; // eslint-disable-line @typescript-eslint/no-explicit-any +// Nonce string to inject into script tag if one provided. This is used in CSP (Content Security Policy). +var _styleNonce = _root && _root.CSPSettings && _root.CSPSettings.nonce; +var _themeState = initializeThemeState(); +/** + * Matches theming tokens. For example, "[theme: themeSlotName, default: #FFF]" (including the quotes). + */ +var _themeTokenRegex = /[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g; +var now = function () { + return typeof performance !== 'undefined' && !!performance.now ? performance.now() : Date.now(); +}; +function measure(func) { + var start = now(); + func(); + var end = now(); + _themeState.perf.duration += end - start; +} +/** + * initialize global state object + */ +function initializeThemeState() { + var state = _root.__themeState__ || { + theme: undefined, + lastStyleElement: undefined, + registeredStyles: [] + }; + if (!state.runState) { + state = __assign({}, state, { perf: { + count: 0, + duration: 0 + }, runState: { + flushTimer: 0, + mode: 0 /* sync */, + buffer: [] + } }); + } + if (!state.registeredThemableStyles) { + state = __assign({}, state, { registeredThemableStyles: [] }); + } + _root.__themeState__ = state; + return state; +} +/** + * Loads a set of style text. If it is registered too early, we will register it when the window.load + * event is fired. + * @param {string | ThemableArray} styles Themable style text to register. + * @param {boolean} loadAsync When true, always load styles in async mode, irrespective of current sync mode. + */ +function loadStyles(styles, loadAsync) { + if (loadAsync === void 0) { loadAsync = false; } + measure(function () { + var styleParts = Array.isArray(styles) ? styles : splitStyles(styles); + var _a = _themeState.runState, mode = _a.mode, buffer = _a.buffer, flushTimer = _a.flushTimer; + if (loadAsync || mode === 1 /* async */) { + buffer.push(styleParts); + if (!flushTimer) { + _themeState.runState.flushTimer = asyncLoadStyles(); + } + } + else { + applyThemableStyles(styleParts); + } + }); +} +/** + * Allows for customizable loadStyles logic. e.g. for server side rendering application + * @param {(processedStyles: string, rawStyles?: string | ThemableArray) => void} + * a loadStyles callback that gets called when styles are loaded or reloaded + */ +function configureLoadStyles(loadStylesFn) { + _themeState.loadStyles = loadStylesFn; +} +/** + * Configure run mode of load-themable-styles + * @param mode load-themable-styles run mode, async or sync + */ +function configureRunMode(mode) { + _themeState.runState.mode = mode; +} +/** + * external code can call flush to synchronously force processing of currently buffered styles + */ +function flush() { + measure(function () { + var styleArrays = _themeState.runState.buffer.slice(); + _themeState.runState.buffer = []; + var mergedStyleArray = [].concat.apply([], styleArrays); + if (mergedStyleArray.length > 0) { + applyThemableStyles(mergedStyleArray); + } + }); +} +/** + * register async loadStyles + */ +function asyncLoadStyles() { + return setTimeout(function () { + _themeState.runState.flushTimer = 0; + flush(); + }, 0); +} +/** + * Loads a set of style text. If it is registered too early, we will register it when the window.load event + * is fired. + * @param {string} styleText Style to register. + * @param {IStyleRecord} styleRecord Existing style record to re-apply. + */ +function applyThemableStyles(stylesArray, styleRecord) { + if (_themeState.loadStyles) { + _themeState.loadStyles(resolveThemableArray(stylesArray).styleString, stylesArray); + } + else { + registerStyles(stylesArray); + } +} +/** + * Registers a set theme tokens to find and replace. If styles were already registered, they will be + * replaced. + * @param {theme} theme JSON object of theme tokens to values. + */ +function loadTheme(theme) { + _themeState.theme = theme; + // reload styles. + reloadStyles(); +} +/** + * Clear already registered style elements and style records in theme_State object + * @param option - specify which group of registered styles should be cleared. + * Default to be both themable and non-themable styles will be cleared + */ +function clearStyles(option) { + if (option === void 0) { option = 3 /* all */; } + if (option === 3 /* all */ || option === 2 /* onlyNonThemable */) { + clearStylesInternal(_themeState.registeredStyles); + _themeState.registeredStyles = []; + } + if (option === 3 /* all */ || option === 1 /* onlyThemable */) { + clearStylesInternal(_themeState.registeredThemableStyles); + _themeState.registeredThemableStyles = []; + } +} +function clearStylesInternal(records) { + records.forEach(function (styleRecord) { + var styleElement = styleRecord && styleRecord.styleElement; + if (styleElement && styleElement.parentElement) { + styleElement.parentElement.removeChild(styleElement); + } + }); +} +/** + * Reloads styles. + */ +function reloadStyles() { + if (_themeState.theme) { + var themableStyles = []; + for (var _i = 0, _a = _themeState.registeredThemableStyles; _i < _a.length; _i++) { + var styleRecord = _a[_i]; + themableStyles.push(styleRecord.themableStyle); + } + if (themableStyles.length > 0) { + clearStyles(1 /* onlyThemable */); + applyThemableStyles([].concat.apply([], themableStyles)); + } + } +} +/** + * Find theme tokens and replaces them with provided theme values. + * @param {string} styles Tokenized styles to fix. + */ +function detokenize(styles) { + if (styles) { + styles = resolveThemableArray(splitStyles(styles)).styleString; + } + return styles; +} +/** + * Resolves ThemingInstruction objects in an array and joins the result into a string. + * @param {ThemableArray} splitStyleArray ThemableArray to resolve and join. + */ +function resolveThemableArray(splitStyleArray) { + var theme = _themeState.theme; + var themable = false; + // Resolve the array of theming instructions to an array of strings. + // Then join the array to produce the final CSS string. + var resolvedArray = (splitStyleArray || []).map(function (currentValue) { + var themeSlot = currentValue.theme; + if (themeSlot) { + themable = true; + // A theming annotation. Resolve it. + var themedValue = theme ? theme[themeSlot] : undefined; + var defaultValue = currentValue.defaultValue || 'inherit'; + // Warn to console if we hit an unthemed value even when themes are provided, but only if "DEBUG" is true. + // Allow the themedValue to be undefined to explicitly request the default value. + if (theme && + !themedValue && + console && + !(themeSlot in theme) && + "boolean" !== 'undefined' && + true) { + console.warn("Theming value not provided for \"" + themeSlot + "\". Falling back to \"" + defaultValue + "\"."); + } + return themedValue || defaultValue; + } + else { + // A non-themable string. Preserve it. + return currentValue.rawString; + } + }); + return { + styleString: resolvedArray.join(''), + themable: themable + }; +} +/** + * Split tokenized CSS into an array of strings and theme specification objects + * @param {string} styles Tokenized styles to split. + */ +function splitStyles(styles) { + var result = []; + if (styles) { + var pos = 0; // Current position in styles. + var tokenMatch = void 0; + while ((tokenMatch = _themeTokenRegex.exec(styles))) { + var matchIndex = tokenMatch.index; + if (matchIndex > pos) { + result.push({ + rawString: styles.substring(pos, matchIndex) + }); + } + result.push({ + theme: tokenMatch[1], + defaultValue: tokenMatch[2] // May be undefined + }); + // index of the first character after the current match + pos = _themeTokenRegex.lastIndex; + } + // Push the rest of the string after the last match. + result.push({ + rawString: styles.substring(pos) + }); + } + return result; +} +/** + * Registers a set of style text. If it is registered too early, we will register it when the + * window.load event is fired. + * @param {ThemableArray} styleArray Array of IThemingInstruction objects to register. + * @param {IStyleRecord} styleRecord May specify a style Element to update. + */ +function registerStyles(styleArray) { + if (typeof document === 'undefined') { + return; + } + var head = document.getElementsByTagName('head')[0]; + var styleElement = document.createElement('style'); + var _a = resolveThemableArray(styleArray), styleString = _a.styleString, themable = _a.themable; + styleElement.setAttribute('data-load-themed-styles', 'true'); + if (_styleNonce) { + styleElement.setAttribute('nonce', _styleNonce); + } + styleElement.appendChild(document.createTextNode(styleString)); + _themeState.perf.count++; + head.appendChild(styleElement); + var ev = document.createEvent('HTMLEvents'); + ev.initEvent('styleinsert', true /* bubbleEvent */, false /* cancelable */); + ev.args = { + newStyle: styleElement + }; + document.dispatchEvent(ev); + var record = { + styleElement: styleElement, + themableStyle: styleArray + }; + if (themable) { + _themeState.registeredThemableStyles.push(record); + } + else { + _themeState.registeredStyles.push(record); + } +} +//# sourceMappingURL=index.js.map +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "yLpj"))) + +/***/ }), + +/***/ "5KZn": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/merge-styles/lib/transforms/rtlifyRules.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Stylesheet_1 = __webpack_require__(/*! ../Stylesheet */ "/EXG"); +var LEFT = 'left'; +var RIGHT = 'right'; +var NO_FLIP = '@noflip'; +var NAME_REPLACEMENTS = (_a = {}, + _a[LEFT] = RIGHT, + _a[RIGHT] = LEFT, + _a); +var VALUE_REPLACEMENTS = { + 'w-resize': 'e-resize', + 'sw-resize': 'se-resize', + 'nw-resize': 'ne-resize' +}; +var _rtl = getRTL(); +/** + * Sets the current RTL value. + */ +function setRTL(isRTL) { + if (_rtl !== isRTL) { + Stylesheet_1.Stylesheet.getInstance().resetKeys(); + _rtl = isRTL; + } +} +exports.setRTL = setRTL; +/** + * Gets the current RTL value. + */ +function getRTL() { + if (_rtl === undefined) { + _rtl = (typeof document !== 'undefined' && + !!document.documentElement && + document.documentElement.getAttribute('dir') === 'rtl'); + } + return _rtl; +} +exports.getRTL = getRTL; +/** + * RTLifies the rulePair in the array at the current index. This mutates the array for performance + * reasons. + */ +function rtlifyRules(rulePairs, index) { + if (getRTL()) { + var name_1 = rulePairs[index]; + if (!name_1) { + return; + } + var value = rulePairs[index + 1]; + if (typeof value === 'string' && value.indexOf(NO_FLIP) >= 0) { + rulePairs[index + 1] = value.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g, ''); + } + else if (name_1.indexOf(LEFT) >= 0) { + rulePairs[index] = name_1.replace(LEFT, RIGHT); + } + else if (name_1.indexOf(RIGHT) >= 0) { + rulePairs[index] = name_1.replace(RIGHT, LEFT); + } + else if (String(value).indexOf(LEFT) >= 0) { + rulePairs[index + 1] = value.replace(LEFT, RIGHT); + } + else if (String(value).indexOf(RIGHT) >= 0) { + rulePairs[index + 1] = value.replace(RIGHT, LEFT); + } + else if (NAME_REPLACEMENTS[name_1]) { + rulePairs[index] = NAME_REPLACEMENTS[name_1]; + } + else if (VALUE_REPLACEMENTS[value]) { + rulePairs[index + 1] = VALUE_REPLACEMENTS[value]; + } + else { + switch (name_1) { + case 'margin': + case 'padding': + rulePairs[index + 1] = flipQuad(value); + break; + case 'box-shadow': + rulePairs[index + 1] = negateNum(value, 0); + break; + } + } + } +} +exports.rtlifyRules = rtlifyRules; +/** + * Given a string value in a space delimited format (e.g. "1 2 3 4"), negates a particular value. + */ +function negateNum(value, partIndex) { + var parts = value.split(' '); + var numberVal = parseInt(parts[partIndex], 10); + parts[0] = parts[0].replace(String(numberVal), String(numberVal * -1)); + return parts.join(' '); +} +/** + * Given a string quad, flips the left and right values. + */ +function flipQuad(value) { + if (typeof value === 'string') { + var parts = value.split(' '); + if (parts.length === 4) { + return parts[0] + " " + parts[3] + " " + parts[2] + " " + parts[1]; + } + } + return value; +} +var _a; +//# sourceMappingURL=rtlifyRules.js.map + +/***/ }), + +/***/ "5SYA": +/*!***************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Layer/Layer.styles.js ***! + \***************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +var GlobalClassNames = { + root: 'ms-Layer', + rootNoHost: 'ms-Layer--fixed', + content: 'ms-Layer-content', +}; +exports.getStyles = function (props) { + var className = props.className, isNotHost = props.isNotHost, theme = props.theme; + var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme); + return ({ + root: [ + classNames.root, + isNotHost && [ + classNames.rootNoHost, + { + position: 'fixed', + zIndex: Styling_1.ZIndexes.Layer, + top: 0, + left: 0, + width: '100vw', + height: '100vh', + visibility: 'hidden' + } + ], + className + ], + content: [ + classNames.content, + { + visibility: 'visible' + } + ] + }); +}; +//# sourceMappingURL=Layer.styles.js.map + +/***/ }), + +/***/ "5U38": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/FocusZone.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/FocusZone/index */ "1sZu"), exports); +//# sourceMappingURL=FocusZone.js.map + +/***/ }), + +/***/ "5Ymc": +/*!*************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Icon/Icon.styles.js ***! + \*************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getStyles = function (props) { + var className = props.className, iconClassName = props.iconClassName, isPlaceholder = props.isPlaceholder, isImage = props.isImage, styles = props.styles; + return { + root: [ + isImage && 'ms-Icon-imageContainer', + isPlaceholder && 'ms-Icon-placeHolder', + { + display: 'inline-block', + }, + isPlaceholder && { + width: '1em' + }, + isImage && { + overflow: 'hidden' + }, + iconClassName, + className, + styles && styles.root, + styles && styles.imageContainer + ], + }; +}; +//# sourceMappingURL=Icon.styles.js.map + +/***/ }), + +/***/ "5ZAT": +/*!*************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Button/BaseButton.classNames.js ***! + \*************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +exports.getBaseButtonClassNames = Utilities_1.memoizeFunction(function (styles, className, variantClassName, iconClassName, menuIconClassName, disabled, checked, expanded, isSplit) { + var isExpanded = expanded && !isSplit; + return Styling_1.mergeStyleSets({ + root: [ + 'ms-Button', + styles.root, + className, + variantClassName, + checked && [ + 'is-checked', + styles.rootChecked + ], + isExpanded && [ + 'is-expanded', + styles.rootExpanded, + { + selectors: { + ':hover .ms-Button-icon': styles.iconExpandedHovered, + ':hover .ms-Button-menuIcon': styles.rootExpandedHovered, + ':hover': styles.rootExpandedHovered + } + } + ], + disabled && [ + 'is-disabled', + styles.rootDisabled + ], + !disabled && !isExpanded && !checked && { + selectors: { + ':hover': styles.rootHovered, + ':hover .ms-Button-icon': styles.iconHovered, + ':hover .ms-Button-description': styles.descriptionHovered, + ':hover .ms-Button-menuIcon': styles.menuIconHovered, + ':focus': styles.rootFocused, + ':active': styles.rootPressed, + ':active .ms-Button-icon': styles.iconPressed, + ':active .ms-Button-description': styles.descriptionPressed, + ':active .ms-Button-menuIcon': styles.menuIconPressed + } + }, + disabled && checked && [ + styles.rootCheckedDisabled + ], + !disabled && checked && { + selectors: { + ':hover': styles.rootCheckedHovered, + ':active': styles.rootCheckedPressed + } + } + ], + flexContainer: [ + 'ms-Button-flexContainer', + styles.flexContainer + ], + textContainer: [ + 'ms-Button-textContainer', + styles.textContainer + ], + icon: [ + 'ms-Button-icon', + iconClassName, + styles.icon, + isExpanded && styles.iconExpanded, + checked && styles.iconChecked, + disabled && styles.iconDisabled, + ], + label: [ + 'ms-Button-label', + styles.label, + checked && styles.labelChecked, + disabled && styles.labelDisabled, + ], + menuIcon: [ + 'ms-Button-menuIcon', + menuIconClassName, + styles.menuIcon, + checked && styles.menuIconChecked, + disabled && styles.menuIconDisabled, + !disabled && + !isExpanded && + !checked && { + selectors: { + ':hover': styles.menuIconHovered, + ':active': styles.menuIconPressed, + }, + }, + isExpanded && [ + 'is-expanded', + styles.menuIconExpanded, + { + selectors: { + ':hover': styles.menuIconExpandedHovered, + }, + }, + ] + ], + description: [ + 'ms-Button-description', + styles.description, + checked && styles.descriptionChecked, + disabled && styles.descriptionDisabled + ], + screenReaderText: [ + 'ms-Button-screenReaderText', + styles.screenReaderText + ] + }); +}); +//# sourceMappingURL=BaseButton.classNames.js.map + +/***/ }), + +/***/ "5a0N": +/*!**********************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.classNames.js ***! + \**********************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var VerticalDivider_classNames_1 = __webpack_require__(/*! ../Divider/VerticalDivider.classNames */ "PGnG"); +var ContextualMenu_styles_1 = __webpack_require__(/*! ./ContextualMenu.styles */ "jydc"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "8tWw"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +exports.getSplitButtonVerticalDividerClassNames = Utilities_1.memoizeFunction(function (theme) { + return Styling_1.mergeStyleSets(VerticalDivider_classNames_1.getDividerClassNames(theme), { + divider: { + height: 16, + width: 1, + } + }); +}); +exports.getContextualMenuClassNames = Utilities_1.memoizeFunction(function (theme, className) { + var styles = ContextualMenu_styles_1.getStyles(theme); + return Styling_1.mergeStyleSets({ + container: [ + 'ms-ContextualMenu-container', + styles.container, + className, + [{ + selectors: { + ':focus': { outline: 0 } + } + }] + ], + root: [ + 'ms-ContextualMenu is-open', + styles.root + ], + list: [ + 'ms-ContextualMenu-list is-open', + styles.list + ], + header: [ + 'ms-ContextualMenu-header', + styles.header + ], + title: styles.title + }); +}); +exports.getItemClassNames = Utilities_1.memoizeFunction(function (theme, disabled, expanded, checked, isAnchorLink, knownIcon, itemClassName, dividerClassName, iconClassName, subMenuClassName, primaryDisabled) { + var styles = ContextualMenu_styles_1.getMenuItemStyles(theme); + return Styling_1.mergeStyleSets({ + item: [ + 'ms-ContextualMenu-item', + styles.item, + itemClassName, + ], + divider: [ + 'ms-ContextualMenu-divider', + styles.divider, + dividerClassName, + ], + root: [ + 'ms-ContextualMenu-link', + styles.root, + checked && [ + 'is-checked', + styles.rootChecked + ], + isAnchorLink && styles.anchorLink, + expanded && [ + 'is-expanded', + styles.rootExpanded + ], + disabled && [ + 'is-disabled', + styles.rootDisabled + ], + !disabled && !expanded && [{ + selectors: { + ':hover': styles.rootHovered, + ':active': styles.rootPressed, + '.ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover': styles.rootFocused, + '.ms-Fabric--isFocusVisible &:hover': { background: 'inherit;' } + } + }], + ], + splitPrimary: [ + styles.root, + checked && [ + 'is-checked', + styles.rootChecked + ], + (disabled || primaryDisabled) && [ + 'is-disabled', + styles.rootDisabled + ], + !(disabled || primaryDisabled) && !checked && [{ + selectors: { + ':hover': styles.rootHovered, + ':active': styles.rootPressed, + '.ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover': styles.rootFocused, + '.ms-Fabric--isFocusVisible &:hover': { background: 'inherit;' } + } + }] + ], + splitMenu: [ + styles.root, + { + width: 32 + }, + expanded && [ + 'is-expanded', + styles.rootExpanded + ], + disabled && [ + 'is-disabled', + styles.rootDisabled + ], + !disabled && !expanded && [{ + selectors: { + ':hover': styles.rootHovered, + ':active': styles.rootPressed, + '.ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover': styles.rootFocused, + '.ms-Fabric--isFocusVisible &:hover': { background: 'inherit;' } + } + }] + ], + linkContent: [ + 'ms-ContextualMenu-linkContent', + styles.linkContent + ], + linkContentMenu: [ + 'ms-ContextualMenu-linkContent', + styles.linkContent, + { + justifyContent: 'center', + } + ], + icon: [ + 'ms-ContextualMenu-icon', + knownIcon && 'ms-ContextualMenu-iconColor ' && styles.iconColor, + styles.icon, + iconClassName, + disabled && [ + 'is-disabled', + styles.iconDisabled + ] + ], + checkmarkIcon: [ + 'ms-ContextualMenu-checkmarkIcon', + knownIcon && 'ms-ContextualMenu-checkmarkIcon ' && styles.checkmarkIcon, + styles.icon, + iconClassName, + ], + subMenuIcon: [ + 'ms-ContextualMenu-submenuIcon', + styles.subMenuIcon, + subMenuClassName, + ], + label: [ + 'ms-ContextualMenu-itemText', + styles.label + ], + secondaryText: [ + 'ms-ContextualMenu-secondaryText', + styles.secondaryText + ], + splitContainer: [ + styles.splitButtonFlexContainer, + !disabled && !checked && [{ + selectors: { + '.ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover': styles.rootFocused, + } + }] + ] + }); +}); +//# sourceMappingURL=ContextualMenu.classNames.js.map + +/***/ }), + +/***/ "5dQz": +/*!***************************************!*\ + !*** ./node_modules/@pnp/sp/odata.js ***! + \***************************************/ +/*! exports provided: odataUrlFrom, spODataEntity, spODataEntityArray */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "odataUrlFrom", function() { return odataUrlFrom; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "spODataEntity", function() { return spODataEntity; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "spODataEntityArray", function() { return spODataEntityArray; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _pnp_logging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @pnp/logging */ "B3L+"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _utils_extractweburl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/extractweburl */ "tSEd"); + + + + + +function odataUrlFrom(candidate) { + var parts = []; + var s = ["odata.type", "odata.editLink", "__metadata", "odata.metadata", "odata.id"]; + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[0]) && candidate[s[0]] === "SP.Web") { + // webs return an absolute url in the id + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[4])) { + parts.push(candidate[s[4]]); + } + else if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[2])) { + // we are dealing with verbose, which has an absolute uri + parts.push(candidate.__metadata.uri); + } + } + else { + if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[3]) && Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[1])) { + // we are dealign with minimal metadata (default) + // some entities return an abosolute url in the editlink while for others it is relative + // without the _api. This code is meant to handle both situations + var editLink = Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["isUrlAbsolute"])(candidate[s[1]]) ? candidate[s[1]].split("_api")[1] : candidate[s[1]]; + parts.push(Object(_utils_extractweburl__WEBPACK_IMPORTED_MODULE_4__["extractWebUrl"])(candidate[s[3]]), "_api", editLink); + } + else if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[1])) { + parts.push("_api", candidate[s[1]]); + } + else if (Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["hOP"])(candidate, s[2])) { + // we are dealing with verbose, which has an absolute uri + parts.push(candidate.__metadata.uri); + } + } + if (parts.length < 1) { + _pnp_logging__WEBPACK_IMPORTED_MODULE_2__["Logger"].write("No uri information found in ODataEntity parsing, chaining will fail for this object.", 2 /* Warning */); + return ""; + } + return _pnp_common__WEBPACK_IMPORTED_MODULE_1__["combine"].apply(void 0, Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__spread"])(parts)); +} +var SPODataEntityParserImpl = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SPODataEntityParserImpl, _super); + function SPODataEntityParserImpl(factory) { + var _this = _super.call(this) || this; + _this.factory = factory; + _this.hydrate = function (d) { + var o = _this.factory(odataUrlFrom(d), null); + return Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(o, d); + }; + return _this; + } + SPODataEntityParserImpl.prototype.parse = function (r) { + var _this = this; + return _super.prototype.parse.call(this, r).then(function (d) { + var o = _this.factory(odataUrlFrom(d), null); + return Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(o, d); + }); + }; + return SPODataEntityParserImpl; +}(_pnp_odata__WEBPACK_IMPORTED_MODULE_3__["ODataParser"])); +var SPODataEntityArrayParserImpl = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SPODataEntityArrayParserImpl, _super); + function SPODataEntityArrayParserImpl(factory) { + var _this = _super.call(this) || this; + _this.factory = factory; + _this.hydrate = function (d) { + return d.map(function (v) { + var o = _this.factory(odataUrlFrom(v), null); + return Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(o, v); + }); + }; + return _this; + } + SPODataEntityArrayParserImpl.prototype.parse = function (r) { + var _this = this; + return _super.prototype.parse.call(this, r).then(function (d) { + return d.map(function (v) { + var o = _this.factory(odataUrlFrom(v), null); + return Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["assign"])(o, v); + }); + }); + }; + return SPODataEntityArrayParserImpl; +}(_pnp_odata__WEBPACK_IMPORTED_MODULE_3__["ODataParser"])); +function spODataEntity(factory) { + return new SPODataEntityParserImpl(factory); +} +function spODataEntityArray(factory) { + return new SPODataEntityArrayParserImpl(factory); +} +//# sourceMappingURL=odata.js.map + +/***/ }), + +/***/ "5e8D": +/*!****************************************************!*\ + !*** ./node_modules/@pnp/odata/pipeline-binder.js ***! + \****************************************************/ +/*! exports provided: pipelineBinder, defaultPipelineBinder */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pipelineBinder", function() { return pipelineBinder; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultPipelineBinder", function() { return defaultPipelineBinder; }); +/* harmony import */ var _parsers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parsers */ "xbXq"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _queryable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./queryable */ "dKLh"); +/* harmony import */ var _pipeline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pipeline */ "TZA7"); + + + + +// first we bind the pipeline we will use for all requests within this closure +function pipelineBinder(pipes) { + // then we bind the client factory we'll use (typically done in an implementing library such as sp) + return function (clientFactory) { + // then we create a binder we can apply for each type of method (GET, POST, etc.) + return function (method) { + // finally we get a function back to which we can pass an IQueryableData instance and execute the request it defines + return function (o) { + // send the IQueryableData down the pipeline + return Object(_pipeline__WEBPACK_IMPORTED_MODULE_3__["pipe"])(Object.assign({}, { + batch: null, + batchDependency: null, + batchIndex: -1, + cachingOptions: null, + clientFactory: clientFactory, + cloneParentCacheOptions: null, + cloneParentWasCaching: false, + hasResult: false, + isBatched: Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["objectDefinedNotNull"])(o.batch), + method: method, + options: null, + parentUrl: "", + parser: new _parsers__WEBPACK_IMPORTED_MODULE_0__["ODataParser"](), + pipes: pipes.slice(0), + query: new Map(), + requestId: Object(_pnp_common__WEBPACK_IMPORTED_MODULE_1__["getGUID"])(), + url: "", + useCaching: /^get$/i.test(o.method) && o.useCaching, + }, Object(_queryable__WEBPACK_IMPORTED_MODULE_2__["cloneQueryableData"])(o))); + }; + }; + }; +} +var defaultPipelineBinder = pipelineBinder(Object(_pipeline__WEBPACK_IMPORTED_MODULE_3__["getDefaultPipeline"])()); +//# sourceMappingURL=pipeline-binder.js.map + +/***/ }), + +/***/ "5mzH": +/*!******************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Spinner/Spinner.types.js ***! + \******************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var SpinnerSize; +(function (SpinnerSize) { + /** + * 12px Spinner diameter + */ + SpinnerSize[SpinnerSize["xSmall"] = 0] = "xSmall"; + /** + * 16px Spinner diameter + */ + SpinnerSize[SpinnerSize["small"] = 1] = "small"; + /** + * 20px Spinner diameter + */ + SpinnerSize[SpinnerSize["medium"] = 2] = "medium"; + /** + * 28px Spinner diameter + */ + SpinnerSize[SpinnerSize["large"] = 3] = "large"; +})(SpinnerSize = exports.SpinnerSize || (exports.SpinnerSize = {})); +/** + * Deprecated at v2.0.0, use 'SpinnerSize' instead. + * @deprecated + */ +var SpinnerType; +(function (SpinnerType) { + /** + * Deprecated and will be removed at >= 2.0.0. Use SpinnerSize.medium instead. + */ + SpinnerType[SpinnerType["normal"] = 0] = "normal"; + /** + * Deprecated and will be removed at >= 2.0.0. Use SpinnerSize.large instead. + */ + SpinnerType[SpinnerType["large"] = 1] = "large"; +})(SpinnerType = exports.SpinnerType || (exports.SpinnerType = {})); +//# sourceMappingURL=Spinner.types.js.map + +/***/ }), + +/***/ "5uXd": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/utilities/lib/DelayedRender.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +var React = __webpack_require__(/*! react */ "cDcd"); +/** + * Utility component for delaying the render of a child component after a given delay. This component + * requires a single child component; don't pass in many components. Wrap multiple components in a DIV + * if necessary. + * + * @public + */ +var DelayedRender = /** @class */ (function (_super) { + tslib_1.__extends(DelayedRender, _super); + function DelayedRender(props) { + var _this = _super.call(this, props) || this; + _this.state = { + isRendered: false + }; + return _this; + } + DelayedRender.prototype.componentDidMount = function () { + var _this = this; + var delay = this.props.delay; + this._timeoutId = setTimeout(function () { + _this.setState({ + isRendered: true + }); + }, delay); + }; + DelayedRender.prototype.componentWillUnmount = function () { + if (this._timeoutId) { + clearTimeout(this._timeoutId); + } + }; + DelayedRender.prototype.render = function () { + return this.state.isRendered ? React.Children.only(this.props.children) : null; + }; + DelayedRender.defaultProps = { + delay: 0 + }; + return DelayedRender; +}(React.Component)); +exports.DelayedRender = DelayedRender; +//# sourceMappingURL=DelayedRender.js.map + +/***/ }), + +/***/ "6+QB": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/ms.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Malay [ms] +//! author : Weldan Jamili : https://github.com/weldan + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ms = moment.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return ms; + +}))); + + +/***/ }), + +/***/ "61Fo": +/*!***************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Image/Image.styles.js ***! + \***************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "Gc2k"); +var GlobalClassNames = { + root: 'ms-Image', + rootMaximizeFrame: 'ms-Image--maximizeFrame', + image: 'ms-Image-image', + imageCenter: 'ms-Image-image--center', + imageContain: 'ms-Image-image--contain', + imageCover: 'ms-Image-image--cover', + imageNone: 'ms-Image-image--none', + imageLandscape: 'ms-Image-image--landscape', + imagePortrait: 'ms-Image-image--portrait', +}; +exports.getStyles = function (props) { + var className = props.className, width = props.width, height = props.height, maximizeFrame = props.maximizeFrame, isLoaded = props.isLoaded, shouldFadeIn = props.shouldFadeIn, shouldStartVisible = props.shouldStartVisible, isLandscape = props.isLandscape, isCenter = props.isCenter, isContain = props.isContain, isCover = props.isCover, isNone = props.isNone, isError = props.isError, isNotImageFit = props.isNotImageFit, theme = props.theme; + var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme); + var ImageFitStyles = { + position: 'absolute', + left: '50% /* @noflip */', + top: '50%', + transform: 'translate(-50%,-50%)' // @todo test RTL renders transform: translate(50%,-50%); + }; + return ({ + root: [ + classNames.root, + { + overflow: 'hidden' + }, + maximizeFrame && [ + classNames.rootMaximizeFrame, + { + height: '100%', + width: '100%' + } + ], + (isCenter || isContain || isCover) && { + position: 'relative', + }, + className + ], + image: [ + classNames.image, + { + display: 'block', + opacity: 0 + }, + isLoaded && [ + 'is-loaded', + { + opacity: 1 + } + ], + isCenter && [ + classNames.imageCenter, + ImageFitStyles + ], + isContain && [ + classNames.imageContain, + isLandscape && { + width: '100%', + height: 'auto' + }, + !isLandscape && { + width: 'auto', + height: '100%' + }, + ImageFitStyles + ], + isCover && [ + classNames.imageCover, + isLandscape && { + width: 'auto', + height: '100%' + }, + !isLandscape && { + width: '100%', + height: 'auto' + }, + ImageFitStyles + ], + isNone && [ + classNames.imageNone, + { + width: 'auto', + height: 'auto' + } + ], + isNotImageFit && [ + !!width && !height && { + height: 'auto', + width: '100%' + }, + !width && !!height && { + height: '100%', + width: 'auto' + }, + !!width && !!height && { + height: '100%', + width: '100%' + } + ], + isLoaded && shouldFadeIn && !shouldStartVisible && Styling_1.AnimationClassNames.fadeIn400, + isLandscape && classNames.imageLandscape, + !isLandscape && classNames.imagePortrait, + !isLoaded && 'is-notLoaded', + shouldFadeIn && 'is-fadeIn', + isError && 'is-error' + ] + }); +}; +//# sourceMappingURL=Image.styles.js.map + +/***/ }), + +/***/ "6B0Y": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/km.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Cambodian [km] +//! author : Kruy Vanna : https://github.com/kruyvanna + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + + var km = moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return km; + +}))); + + +/***/ }), + +/***/ "6a65": +/*!**********************************************!*\ + !*** ./node_modules/@pnp/sp/social/types.js ***! + \**********************************************/ +/*! exports provided: _Social, Social, _MySocial, MySocial, SocialActorType, SocialActorTypes, SocialFollowResult, SocialStatusCode */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_Social", function() { return _Social; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Social", function() { return Social; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_MySocial", function() { return _MySocial; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MySocial", function() { return MySocial; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocialActorType", function() { return SocialActorType; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocialActorTypes", function() { return SocialActorTypes; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocialFollowResult", function() { return SocialFollowResult; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocialStatusCode", function() { return SocialStatusCode; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "LVfT"); +/* harmony import */ var _sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sharepointqueryable */ "E6kk"); +/* harmony import */ var _decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../decorators */ "hMpi"); +/* harmony import */ var _pnp_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @pnp/common */ "zqEK"); +/* harmony import */ var _utils_metadata__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/metadata */ "z067"); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../operations */ "UK2s"); +/* harmony import */ var _telemetry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../telemetry */ "h3gW"); + + + + + + + + +var _Social = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_Social, _super); + function _Social() { + return _super !== null && _super.apply(this, arguments) || this; + } + Object.defineProperty(_Social.prototype, "my", { + get: function () { + return MySocial(this); + }, + enumerable: false, + configurable: true + }); + _Social.prototype.getFollowedSitesUri = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(SocialCloneFactory, "FollowedSitesUri").get()]; + case 1: + r = _a.sent(); + return [2 /*return*/, r.FollowedSitesUri || r]; + } + }); + }); + }; + _Social.prototype.getFollowedDocumentsUri = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(SocialCloneFactory, "FollowedDocumentsUri").get()]; + case 1: + r = _a.sent(); + return [2 /*return*/, r.FollowedDocumentsUri || r]; + } + }); + }); + }; + _Social.prototype.follow = function (actorInfo) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(SocialCloneFactory, "follow"), this.createSocialActorInfoRequestBody(actorInfo))]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + _Social.prototype.isFollowed = function (actorInfo) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(SocialCloneFactory, "isfollowed"), this.createSocialActorInfoRequestBody(actorInfo))]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + _Social.prototype.stopFollowing = function (actorInfo) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, Object(_operations__WEBPACK_IMPORTED_MODULE_6__["spPost"])(this.clone(SocialCloneFactory, "stopfollowing"), this.createSocialActorInfoRequestBody(actorInfo))]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + _Social.prototype.createSocialActorInfoRequestBody = function (actorInfo) { + return Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_5__["body"])({ + "actor": Object.assign(Object(_utils_metadata__WEBPACK_IMPORTED_MODULE_4__["metadata"])("SP.Social.SocialActorInfo"), { + Id: null, + }, actorInfo), + }); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("soc.getFollowedSitesUri") + ], _Social.prototype, "getFollowedSitesUri", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("soc.getFollowedDocumentsUri") + ], _Social.prototype, "getFollowedDocumentsUri", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("soc.follow") + ], _Social.prototype, "follow", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("soc.isFollowed") + ], _Social.prototype, "isFollowed", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("soc.stopFollowing") + ], _Social.prototype, "stopFollowing", null); + _Social = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_2__["defaultPath"])("_api/social.following") + ], _Social); + return _Social; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +/** + * Get a new Social instance for the particular Url + */ +var Social = function (baseUrl) { return new _Social(baseUrl); }; +var SocialCloneFactory = function (baseUrl, paths) { return new _Social(baseUrl, paths); }; +/** + * Current user's Social instance + */ +var _MySocial = /** @class */ (function (_super) { + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(_MySocial, _super); + function _MySocial() { + return _super !== null && _super.apply(this, arguments) || this; + } + _MySocial.prototype.followed = function (types) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(MySocialCloneFactory, "followed(types=" + types + ")")()]; + case 1: + r = _a.sent(); + return [2 /*return*/, Object(_pnp_common__WEBPACK_IMPORTED_MODULE_3__["hOP"])(r, "Followed") ? r.Followed.results : r]; + } + }); + }); + }; + _MySocial.prototype.followedCount = function (types) { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(MySocialCloneFactory, "followedcount(types=" + types + ")")()]; + case 1: + r = _a.sent(); + return [2 /*return*/, r.FollowedCount || r]; + } + }); + }); + }; + _MySocial.prototype.followers = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(MySocialCloneFactory, "followers")()]; + case 1: + r = _a.sent(); + return [2 /*return*/, Object(_pnp_common__WEBPACK_IMPORTED_MODULE_3__["hOP"])(r, "Followers") ? r.Followers.results : r]; + } + }); + }); + }; + _MySocial.prototype.suggestions = function () { + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, function () { + var r; + return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.clone(MySocialCloneFactory, "suggestions")()]; + case 1: + r = _a.sent(); + return [2 /*return*/, Object(_pnp_common__WEBPACK_IMPORTED_MODULE_3__["hOP"])(r, "Suggestions") ? r.Suggestions.results : r]; + } + }); + }); + }; + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("msoc.followed") + ], _MySocial.prototype, "followed", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("msoc.followedCount") + ], _MySocial.prototype, "followedCount", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("msoc.followers") + ], _MySocial.prototype, "followers", null); + Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_telemetry__WEBPACK_IMPORTED_MODULE_7__["tag"])("msoc.suggestions") + ], _MySocial.prototype, "suggestions", null); + _MySocial = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ + Object(_decorators__WEBPACK_IMPORTED_MODULE_2__["defaultPath"])("my") + ], _MySocial); + return _MySocial; +}(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["_SharePointQueryableInstance"])); + +/** + * Invokable factory for IMySocial instances + */ +var MySocial = Object(_sharepointqueryable__WEBPACK_IMPORTED_MODULE_1__["spInvokableFactory"])(_MySocial); +var MySocialCloneFactory = function (baseUrl, path) { return MySocial(baseUrl, path); }; +/** + * Social actor type + * + */ +var SocialActorType; +(function (SocialActorType) { + SocialActorType[SocialActorType["User"] = 0] = "User"; + SocialActorType[SocialActorType["Document"] = 1] = "Document"; + SocialActorType[SocialActorType["Site"] = 2] = "Site"; + SocialActorType[SocialActorType["Tag"] = 3] = "Tag"; +})(SocialActorType || (SocialActorType = {})); +/** + * Social actor type + * + */ +/* tslint:disable:no-bitwise */ +var SocialActorTypes; +(function (SocialActorTypes) { + SocialActorTypes[SocialActorTypes["None"] = 0] = "None"; + SocialActorTypes[SocialActorTypes["User"] = 1] = "User"; + SocialActorTypes[SocialActorTypes["Document"] = 2] = "Document"; + SocialActorTypes[SocialActorTypes["Site"] = 4] = "Site"; + SocialActorTypes[SocialActorTypes["Tag"] = 8] = "Tag"; + /** + * The set excludes documents and sites that do not have feeds. + */ + SocialActorTypes[SocialActorTypes["ExcludeContentWithoutFeeds"] = 268435456] = "ExcludeContentWithoutFeeds"; + /** + * The set includes group sites + */ + SocialActorTypes[SocialActorTypes["IncludeGroupsSites"] = 536870912] = "IncludeGroupsSites"; + /** + * The set includes only items created within the last 24 hours + */ + SocialActorTypes[SocialActorTypes["WithinLast24Hours"] = 1073741824] = "WithinLast24Hours"; +})(SocialActorTypes || (SocialActorTypes = {})); +/* tslint:enable */ +/** + * Result from following + * + */ +var SocialFollowResult; +(function (SocialFollowResult) { + SocialFollowResult[SocialFollowResult["Ok"] = 0] = "Ok"; + SocialFollowResult[SocialFollowResult["AlreadyFollowing"] = 1] = "AlreadyFollowing"; + SocialFollowResult[SocialFollowResult["LimitReached"] = 2] = "LimitReached"; + SocialFollowResult[SocialFollowResult["InternalError"] = 3] = "InternalError"; +})(SocialFollowResult || (SocialFollowResult = {})); +/** + * Specifies an exception or status code. + */ +var SocialStatusCode; +(function (SocialStatusCode) { + /** + * The operation completed successfully + */ + SocialStatusCode[SocialStatusCode["OK"] = 0] = "OK"; + /** + * The request is invalid. + */ + SocialStatusCode[SocialStatusCode["InvalidRequest"] = 1] = "InvalidRequest"; + /** + * The current user is not authorized to perform the operation. + */ + SocialStatusCode[SocialStatusCode["AccessDenied"] = 2] = "AccessDenied"; + /** + * The target of the operation was not found. + */ + SocialStatusCode[SocialStatusCode["ItemNotFound"] = 3] = "ItemNotFound"; + /** + * The operation is invalid for the target's current state. + */ + SocialStatusCode[SocialStatusCode["InvalidOperation"] = 4] = "InvalidOperation"; + /** + * The operation completed without modifying the target. + */ + SocialStatusCode[SocialStatusCode["ItemNotModified"] = 5] = "ItemNotModified"; + /** + * The operation failed because an internal error occurred. + */ + SocialStatusCode[SocialStatusCode["InternalError"] = 6] = "InternalError"; + /** + * The operation failed because the server could not access the distributed cache. + */ + SocialStatusCode[SocialStatusCode["CacheReadError"] = 7] = "CacheReadError"; + /** + * The operation succeeded but the server could not update the distributed cache. + */ + SocialStatusCode[SocialStatusCode["CacheUpdateError"] = 8] = "CacheUpdateError"; + /** + * No personal site exists for the current user, and no further information is available. + */ + SocialStatusCode[SocialStatusCode["PersonalSiteNotFound"] = 9] = "PersonalSiteNotFound"; + /** + * No personal site exists for the current user, and a previous attempt to create one failed. + */ + SocialStatusCode[SocialStatusCode["FailedToCreatePersonalSite"] = 10] = "FailedToCreatePersonalSite"; + /** + * No personal site exists for the current user, and a previous attempt to create one was not authorized. + */ + SocialStatusCode[SocialStatusCode["NotAuthorizedToCreatePersonalSite"] = 11] = "NotAuthorizedToCreatePersonalSite"; + /** + * No personal site exists for the current user, and no attempt should be made to create one. + */ + SocialStatusCode[SocialStatusCode["CannotCreatePersonalSite"] = 12] = "CannotCreatePersonalSite"; + /** + * The operation was rejected because an internal limit had been reached. + */ + SocialStatusCode[SocialStatusCode["LimitReached"] = 13] = "LimitReached"; + /** + * The operation failed because an error occurred during the processing of the specified attachment. + */ + SocialStatusCode[SocialStatusCode["AttachmentError"] = 14] = "AttachmentError"; + /** + * The operation succeeded with recoverable errors; the returned data is incomplete. + */ + SocialStatusCode[SocialStatusCode["PartialData"] = 15] = "PartialData"; + /** + * A required SharePoint feature is not enabled. + */ + SocialStatusCode[SocialStatusCode["FeatureDisabled"] = 16] = "FeatureDisabled"; + /** + * The site's storage quota has been exceeded. + */ + SocialStatusCode[SocialStatusCode["StorageQuotaExceeded"] = 17] = "StorageQuotaExceeded"; + /** + * The operation failed because the server could not access the database. + */ + SocialStatusCode[SocialStatusCode["DatabaseError"] = 18] = "DatabaseError"; +})(SocialStatusCode || (SocialStatusCode = {})); +//# sourceMappingURL=types.js.map + +/***/ }), + +/***/ "6iJD": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/@uifabric/merge-styles/lib/getVendorSettings.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var _vendorSettings; +function getVendorSettings() { + if (!_vendorSettings) { + var doc = typeof document !== 'undefined' ? document : undefined; + var nav = typeof navigator !== 'undefined' ? navigator : undefined; + var userAgent = nav ? nav.userAgent.toLowerCase() : undefined; + if (!doc) { + _vendorSettings = { + isWebkit: true, + isMoz: true, + isOpera: true, + isMs: true + }; + } + else { + _vendorSettings = { + isWebkit: !!(doc && 'WebkitAppearance' in doc.documentElement.style), + isMoz: !!(userAgent && userAgent.indexOf('firefox') > -1), + isOpera: !!(userAgent && userAgent.indexOf('opera') > -1), + isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))) + }; + } + } + return _vendorSettings; +} +exports.getVendorSettings = getVendorSettings; +/** + * Sets the vendor settings for prefixing and vendor specific operations. + */ +function setVendorSettings(vendorSettings) { + _vendorSettings = vendorSettings; +} +exports.setVendorSettings = setVendorSettings; +//# sourceMappingURL=getVendorSettings.js.map + +/***/ }), + +/***/ "6jGb": +/*!***********************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/BaseButton.js ***! + \***********************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "ASyi"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "Hlgl"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "mw/c"); +var ContextualMenu_1 = __webpack_require__(/*! ../../ContextualMenu */ "C/8z"); +var BaseButton_classNames_1 = __webpack_require__(/*! ./BaseButton.classNames */ "BT1k"); +var SplitButton_classNames_1 = __webpack_require__(/*! ./SplitButton/SplitButton.classNames */ "QfZx"); +var KeytipData_1 = __webpack_require__(/*! ../../KeytipData */ "//Os"); +var TouchIdleDelay = 500; /* ms */ +var BaseButton = /** @class */ (function (_super) { + tslib_1.__extends(BaseButton, _super); + function BaseButton(props, rootClassName) { + var _this = _super.call(this, props) || this; + _this._buttonElement = Utilities_1.createRef(); + _this._splitButtonContainer = Utilities_1.createRef(); + _this._onRenderIcon = function (buttonProps, defaultRender) { + var iconProps = _this.props.iconProps; + if (iconProps) { + return (React.createElement(Icon_1.Icon, tslib_1.__assign({}, iconProps, { className: _this._classNames.icon }))); + } + return null; + }; + _this._onRenderTextContents = function () { + var _a = _this.props, text = _a.text, children = _a.children, _b = _a.secondaryText, secondaryText = _b === void 0 ? _this.props.description : _b, _c = _a.onRenderText, onRenderText = _c === void 0 ? _this._onRenderText : _c, _d = _a.onRenderDescription, onRenderDescription = _d === void 0 ? _this._onRenderDescription : _d; + if (text || typeof (children) === 'string' || secondaryText) { + return (React.createElement("div", { className: _this._classNames.textContainer }, + onRenderText(_this.props, _this._onRenderText), + onRenderDescription(_this.props, _this._onRenderDescription))); + } + return ([ + onRenderText(_this.props, _this._onRenderText), + onRenderDescription(_this.props, _this._onRenderDescription) + ]); + }; + _this._onRenderText = function () { + var text = _this.props.text; + var children = _this.props.children; + // For backwards compat, we should continue to take in the text content from children. + if (text === undefined && typeof (children) === 'string') { + text = children; + } + if (_this._hasText()) { + return (React.createElement("div", { key: _this._labelId, className: _this._classNames.label, id: _this._labelId }, text)); + } + return null; + }; + _this._onRenderChildren = function () { + var children = _this.props.children; + // If children is just a string, either it or the text will be rendered via onRenderLabel + // If children is another component, it will be rendered after text + if (typeof (children) === 'string') { + return null; + } + return children; + }; + _this._onRenderDescription = function (props) { + var _a = props.secondaryText, secondaryText = _a === void 0 ? _this.props.description : _a; + // ms-Button-description is only shown when the button type is compound. + // In other cases it will not be displayed. + return (secondaryText) ? (React.createElement("div", { key: _this._descriptionId, className: _this._classNames.description, id: _this._descriptionId }, secondaryText)) : (null); + }; + _this._onRenderAriaDescription = function () { + var ariaDescription = _this.props.ariaDescription; + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan, + // otherwise it will be assigned to descriptionSpan. + return ariaDescription ? (React.createElement("span", { className: _this._classNames.screenReaderText, id: _this._ariaDescriptionId }, ariaDescription)) : (null); + }; + _this._onRenderMenuIcon = function (props) { + var menuIconProps = _this.props.menuIconProps; + return (React.createElement(Icon_1.Icon, tslib_1.__assign({ iconName: 'ChevronDown' }, menuIconProps, { className: _this._classNames.menuIcon }))); + }; + _this._onRenderMenu = function (menuProps) { + var _a = menuProps.onDismiss, onDismiss = _a === void 0 ? _this._dismissMenu : _a; + // the accessible menu label (accessible name) has a relationship to the button. + // If the menu props do not specify an explicit value for aria-label or aria-labelledBy, + // AND the button has text, we'll set the menu aria-labelledBy to the text element id. + if (!menuProps.ariaLabel && !menuProps.labelElementId && _this._hasText()) { + menuProps = tslib_1.__assign({}, menuProps, { labelElementId: _this._labelId }); + } + return (React.createElement(ContextualMenu_1.ContextualMenu, tslib_1.__assign({ id: _this._labelId + '-menu', directionalHint: 4 /* bottomLeftEdge */ }, menuProps, { shouldFocusOnContainer: _this.state.menuProps ? _this.state.menuProps.shouldFocusOnContainer : undefined, className: Utilities_1.css('ms-BaseButton-menuhost', menuProps.className), target: _this._isSplitButton ? _this._splitButtonContainer.current : _this._buttonElement.current, onDismiss: onDismiss }))); + }; + _this._dismissMenu = function () { + var menuProps = null; + if (_this.props.persistMenu && _this.state.menuProps) { + menuProps = _this.state.menuProps; + menuProps.hidden = true; + } + _this.setState({ menuProps: menuProps }); + }; + _this._openMenu = function (shouldFocusOnContainer) { + if (_this.props.menuProps) { + var menuProps = tslib_1.__assign({}, _this.props.menuProps, { shouldFocusOnContainer: shouldFocusOnContainer }); + if (_this.props.persistMenu) { + menuProps.hidden = false; + } + _this.setState({ menuProps: menuProps }); + } + }; + _this._onToggleMenu = function (shouldFocusOnContainer) { + if (_this._splitButtonContainer.current) { + _this._splitButtonContainer.current.focus(); + } + var currentMenuProps = _this.state.menuProps; + if (_this.props.persistMenu) { + currentMenuProps && currentMenuProps.hidden ? _this._openMenu(shouldFocusOnContainer) : _this._dismissMenu(); + } + else { + currentMenuProps ? _this._dismissMenu() : _this._openMenu(shouldFocusOnContainer); + } + }; + _this._onSplitButtonPrimaryClick = function (ev) { + if (_this._isExpanded) { + _this._dismissMenu(); + } + if (!_this._processingTouch && _this.props.onClick) { + _this.props.onClick(ev); + } + else if (_this._processingTouch) { + _this._onMenuClick(ev); + } + }; + _this._onMouseDown = function (ev) { + if (_this.props.onMouseDown) { + _this.props.onMouseDown(ev); + } + ev.preventDefault(); + }; + _this._onSplitButtonContainerKeyDown = function (ev) { + if (ev.which === 13 /* enter */) { + if (_this._buttonElement.current) { + _this._buttonElement.current.click(); + ev.preventDefault(); + ev.stopPropagation(); + } + } + else { + _this._onMenuKeyDown(ev); + } + }; + _this._onMenuKeyDown = function (ev) { + if (_this.props.disabled) { + return; + } + if (_this.props.onKeyDown) { + _this.props.onKeyDown(ev); + } + if (!ev.defaultPrevented && _this._isValidMenuOpenKey(ev)) { + var onMenuClick = _this.props.onMenuClick; + if (onMenuClick) { + onMenuClick(ev, _this); + } + _this._onToggleMenu(false); + ev.preventDefault(); + ev.stopPropagation(); + } + }; + _this._onTouchStart = function () { + if (_this._isSplitButton && _this._splitButtonContainer.value && !('onpointerdown' in _this._splitButtonContainer.value)) { + _this._handleTouchAndPointerEvent(); + } + }; + _this._onMenuClick = function (ev) { + var onMenuClick = _this.props.onMenuClick; + if (onMenuClick) { + onMenuClick(ev, _this); + } + if (!ev.defaultPrevented) { + // When Edge + Narrator are used together (regardless of if the button is in a form or not), pressing + // "Enter" fires this method and not _onMenuKeyDown. Checking ev.nativeEvent.detail differentiates + // between a real click event and a keypress event. + var shouldFocusOnContainer = ev.nativeEvent.detail !== 0; + _this._onToggleMenu(shouldFocusOnContainer); + ev.preventDefault(); + ev.stopPropagation(); + } + }; + _this._warnConditionallyRequiredProps(['menuProps', 'onClick'], 'split', _this.props.split); + _this._warnDeprecations({ + rootProps: undefined, + 'description': 'secondaryText' + }); + _this._labelId = Utilities_1.getId(); + _this._descriptionId = Utilities_1.getId(); + _this._ariaDescriptionId = Utilities_1.getId(); + var menuProps = null; + if (props.persistMenu && props.menuProps) { + menuProps = props.menuProps; + menuProps.hidden = true; + } + _this.state = { + menuProps: menuProps + }; + return _this; + } + Object.defineProperty(BaseButton.prototype, "_isSplitButton", { + get: function () { + return (!!this.props.menuProps && !!this.props.onClick) && this.props.split === true; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(BaseButton.prototype, "_isExpanded", { + get: function () { + if (this.props.persistMenu) { + return !this.state.menuProps.hidden; + } + return !!this.state.menuProps; + }, + enumerable: true, + configurable: true + }); + BaseButton.prototype.render = function () { + var _a = this.props, ariaDescription = _a.ariaDescription, ariaLabel = _a.ariaLabel, ariaHidden = _a.ariaHidden, className = _a.className, disabled = _a.disabled, primaryDisabled = _a.primaryDisabled, _b = _a.secondaryText, secondaryText = _b === void 0 ? this.props.description : _b, href = _a.href, iconProps = _a.iconProps, menuIconProps = _a.menuIconProps, styles = _a.styles, text = _a.text, checked = _a.checked, variantClassName = _a.variantClassName, theme = _a.theme, getClassNames = _a.getClassNames; + var menuProps = this.state.menuProps; + // Button is disabled if the whole button (in case of splitbutton is disabled) or if the primary action is disabled + var isPrimaryButtonDisabled = (disabled || primaryDisabled); + this._classNames = getClassNames ? getClassNames(theme, className, variantClassName, iconProps && iconProps.className, menuIconProps && menuIconProps.className, isPrimaryButtonDisabled, checked, !!menuProps, this.props.split) : BaseButton_classNames_1.getBaseButtonClassNames(styles, className, variantClassName, iconProps && iconProps.className, menuIconProps && menuIconProps.className, isPrimaryButtonDisabled, checked, !!menuProps, this.props.split); + var _c = this, _ariaDescriptionId = _c._ariaDescriptionId, _labelId = _c._labelId, _descriptionId = _c._descriptionId; + // Anchor tag cannot be disabled hence in disabled state rendering + // anchor button as normal button + var renderAsAnchor = !isPrimaryButtonDisabled && !!href; + var tag = renderAsAnchor ? 'a' : 'button'; + var nativeProps = Utilities_1.getNativeProps(Utilities_1.assign(renderAsAnchor ? {} : { type: 'button' }, this.props.rootProps, this.props), renderAsAnchor ? Utilities_1.anchorProperties : Utilities_1.buttonProperties, [ + 'disabled' // let disabled buttons be focused and styled as disabled. + ]); + // Check for ariaDescription, secondaryText or aria-describedby in the native props to determine source of aria-describedby + // otherwise default to null. + var ariaDescribedBy; + if (ariaDescription) { + ariaDescribedBy = _ariaDescriptionId; + } + else if (secondaryText) { + ariaDescribedBy = _descriptionId; + } + else if (nativeProps['aria-describedby']) { + ariaDescribedBy = nativeProps['aria-describedby']; + } + else { + ariaDescribedBy = null; + } + // If an explicit ariaLabel is given, use that as the label and we're done. + // If an explicit aria-labelledby is given, use that and we're done. + // If any kind of description is given (which will end up as an aria-describedby attribute), + // set the labelledby element. Otherwise, the button is labeled implicitly by the descendent + // text on the button (if it exists). Never set both aria-label and aria-labelledby. + var ariaLabelledBy = null; + if (!ariaLabel) { + if (nativeProps['aria-labelledby']) { + ariaLabelledBy = nativeProps['aria-labelledby']; + } + else if (ariaDescribedBy) { + ariaLabelledBy = text ? _labelId : null; + } + } + var buttonProps = Utilities_1.assign(nativeProps, { + className: this._classNames.root, + ref: this._buttonElement, + 'disabled': isPrimaryButtonDisabled, + 'aria-label': ariaLabel, + 'aria-labelledby': ariaLabelledBy, + 'aria-describedby': ariaDescribedBy, + 'data-is-focusable': (this.props['data-is-focusable'] === false || disabled || this._isSplitButton) ? false : true, + 'aria-pressed': checked + }); + if (ariaHidden) { + buttonProps['aria-hidden'] = true; + } + if (this._isSplitButton) { + return (this._onRenderSplitButtonContent(tag, buttonProps)); + } + else if (this.props.menuProps) { + Utilities_1.assign(buttonProps, { + 'onKeyDown': this._onMenuKeyDown, + 'onClick': this._onMenuClick, + 'aria-expanded': this._isExpanded, + 'aria-owns': this.state.menuProps ? this._labelId + '-menu' : null, + 'aria-haspopup': true + }); + } + return this._onRenderContent(tag, buttonProps); + }; + BaseButton.prototype.componentDidMount = function () { + // For split buttons, touching anywhere in the button should drop the dropdown, which should contain the primary action. + // This gives more hit target space for touch environments. We're setting the onpointerdown here, because React + // does not support Pointer events yet. + if (this._isSplitButton && this._splitButtonContainer.value && 'onpointerdown' in this._splitButtonContainer.value) { + this._events.on(this._splitButtonContainer.value, 'pointerdown', this._onPointerDown, true); + } + }; + BaseButton.prototype.componentDidUpdate = function (prevProps, prevState) { + // If Button's menu was closed, run onAfterMenuDismiss + if (this.props.onAfterMenuDismiss && prevState.menuProps && !this.state.menuProps) { + this.props.onAfterMenuDismiss(); + } + }; + BaseButton.prototype.focus = function () { + if (this._isSplitButton && this._splitButtonContainer.current) { + this._splitButtonContainer.current.focus(); + } + else if (this._buttonElement.current) { + this._buttonElement.current.focus(); + } + }; + BaseButton.prototype.dismissMenu = function () { + this._dismissMenu(); + }; + BaseButton.prototype.openMenu = function () { + this._openMenu(); + }; + BaseButton.prototype._onRenderContent = function (tag, buttonProps) { + var _this = this; + var props = this.props; + var Tag = tag; + var menuIconProps = props.menuIconProps, menuProps = props.menuProps, _a = props.onRenderIcon, onRenderIcon = _a === void 0 ? this._onRenderIcon : _a, _b = props.onRenderAriaDescription, onRenderAriaDescription = _b === void 0 ? this._onRenderAriaDescription : _b, _c = props.onRenderChildren, onRenderChildren = _c === void 0 ? this._onRenderChildren : _c, _d = props.onRenderMenu, onRenderMenu = _d === void 0 ? this._onRenderMenu : _d, _e = props.onRenderMenuIcon, onRenderMenuIcon = _e === void 0 ? this._onRenderMenuIcon : _e, disabled = props.disabled; + var keytipProps = props.keytipProps; + if (keytipProps && menuProps) { + keytipProps = tslib_1.__assign({}, keytipProps, { hasMenu: true }); + } + var Content = ( + // If we're making a split button, we won't put the keytip here + React.createElement(KeytipData_1.KeytipData, { keytipProps: !this._isSplitButton ? keytipProps : undefined, ariaDescribedBy: buttonProps['aria-describedby'], disabled: disabled }, function (keytipAttributes) { return (React.createElement(Tag, tslib_1.__assign({}, buttonProps, keytipAttributes), + React.createElement("div", { className: _this._classNames.flexContainer }, + onRenderIcon(props, _this._onRenderIcon), + _this._onRenderTextContents(), + onRenderAriaDescription(props, _this._onRenderAriaDescription), + onRenderChildren(props, _this._onRenderChildren), + !_this._isSplitButton && (menuProps || menuIconProps || _this.props.onRenderMenuIcon) && onRenderMenuIcon(_this.props, _this._onRenderMenuIcon), + _this.state.menuProps && !_this.state.menuProps.doNotLayer && onRenderMenu(menuProps, _this._onRenderMenu)))); })); + if (menuProps && menuProps.doNotLayer) { + return (React.createElement("div", { style: { display: 'inline-block' } }, + Content, + this.state.menuProps && onRenderMenu(menuProps, this._onRenderMenu))); + } + return Content; + }; + BaseButton.prototype._hasText = function () { + // _onRenderTextContents and _onRenderText do not perform the same checks. Below is parity with what _onRenderText used to have + // before the refactor that introduced this function. _onRenderTextContents does not require props.text to be undefined in order + // for props.children to be used as a fallback. Purely a code maintainability/reuse issue, but logged as Issue #4979 + return this.props.text !== null && (this.props.text !== undefined || typeof (this.props.children) === 'string'); + }; + BaseButton.prototype._onRenderSplitButtonContent = function (tag, buttonProps) { + var _this = this; + var _a = this.props, _b = _a.styles, styles = _b === void 0 ? {} : _b, disabled = _a.disabled, checked = _a.checked, getSplitButtonClassNames = _a.getSplitButtonClassNames, primaryDisabled = _a.primaryDisabled, menuProps = _a.menuProps; + var keytipProps = this.props.keytipProps; + var classNames = getSplitButtonClassNames ? getSplitButtonClassNames(!!disabled, !!this.state.menuProps, !!checked) : styles && SplitButton_classNames_1.getClassNames(styles, !!disabled, !!this.state.menuProps, !!checked); + Utilities_1.assign(buttonProps, { + onClick: undefined, + tabIndex: -1, + 'data-is-focusable': false + }); + var ariaDescribedBy = buttonProps.ariaDescription || ''; + if (keytipProps && menuProps) { + keytipProps = tslib_1.__assign({}, keytipProps, { hasMenu: true }); + } + return (React.createElement(KeytipData_1.KeytipData, { keytipProps: keytipProps, disabled: disabled }, function (keytipAttributes) { return (React.createElement("div", { "data-ktp-target": keytipAttributes['data-ktp-target'], role: 'button', "aria-labelledby": buttonProps.ariaLabel, "aria-disabled": disabled, "aria-haspopup": true, "aria-expanded": _this._isExpanded, "aria-pressed": _this.props.checked, "aria-describedby": ariaDescribedBy + (keytipAttributes['aria-describedby'] || ''), className: classNames && classNames.splitButtonContainer, onKeyDown: _this._onSplitButtonContainerKeyDown, onTouchStart: _this._onTouchStart, ref: _this._splitButtonContainer, "data-is-focusable": true, onClick: !disabled && !primaryDisabled ? _this._onSplitButtonPrimaryClick : undefined, tabIndex: !disabled ? 0 : undefined }, + React.createElement("span", { style: { 'display': 'flex' } }, + _this._onRenderContent(tag, buttonProps), + _this._onRenderSplitButtonMenuButton(classNames, keytipAttributes), + _this._onRenderSplitButtonDivider(classNames)))); })); + }; + BaseButton.prototype._onRenderSplitButtonDivider = function (classNames) { + if (classNames && classNames.divider) { + return React.createElement("span", { className: classNames.divider }); + } + return null; + }; + BaseButton.prototype._onRenderSplitButtonMenuButton = function (classNames, keytipAttributes) { + var menuIconProps = this.props.menuIconProps; + var splitButtonAriaLabel = this.props.splitButtonAriaLabel; + if (menuIconProps === undefined) { + menuIconProps = { + iconName: 'ChevronDown' + }; + } + var splitButtonProps = { + 'styles': classNames, + 'checked': this.props.checked, + 'disabled': this.props.disabled, + 'onClick': this._onMenuClick, + 'menuProps': undefined, + 'iconProps': menuIconProps, + 'ariaLabel': splitButtonAriaLabel, + 'aria-haspopup': true, + 'aria-expanded': this._isExpanded, + 'data-is-focusable': false + }; + // Add data-ktp-execute-target to the split button if the keytip is defined + return (React.createElement(BaseButton, tslib_1.__assign({}, splitButtonProps, { "data-ktp-execute-target": keytipAttributes['data-ktp-execute-target'], onMouseDown: this._onMouseDown, tabIndex: -1 }))); + }; + BaseButton.prototype._onPointerDown = function (ev) { + if (ev.pointerType === 'touch') { + this._handleTouchAndPointerEvent(); + ev.preventDefault(); + ev.stopImmediatePropagation(); + } + }; + BaseButton.prototype._handleTouchAndPointerEvent = function () { + var _this = this; + // If we already have an existing timeeout from a previous touch and pointer event + // cancel that timeout so we can set a nwe one. + if (this._lastTouchTimeoutId !== undefined) { + this._async.clearTimeout(this._lastTouchTimeoutId); + this._lastTouchTimeoutId = undefined; + } + this._processingTouch = true; + this._lastTouchTimeoutId = this._async.setTimeout(function () { + _this._processingTouch = false; + _this._lastTouchTimeoutId = undefined; + }, TouchIdleDelay); + }; + /** + * Returns if the user hits a valid keyboard key to open the menu + * @param ev - the keyboard event + * @returns True if user clicks on custom trigger key if enabled or alt + down arrow if not. False otherwise. + */ + BaseButton.prototype._isValidMenuOpenKey = function (ev) { + if (this.props.menuTriggerKeyCode) { + return ev.which === this.props.menuTriggerKeyCode; + } + else if (this.props.menuProps) { + return ev.which === 40 /* down */ && (ev.altKey || ev.metaKey); + } + // Note: When enter is pressed, we will let the event continue to propagate + // to trigger the onClick event on the button + return false; + }; + BaseButton.defaultProps = { + baseClassName: 'ms-Button', + styles: {}, + split: false, + }; + return BaseButton; +}(Utilities_1.BaseComponent)); +exports.BaseButton = BaseButton; +//# sourceMappingURL=BaseButton.js.map + +/***/ }), + +/***/ "6k7F": +/*!********************************************!*\ + !*** ./node_modules/@pnp/sp/webs/index.js ***! + \********************************************/ +/*! exports provided: Web, Webs */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ "dVsc"); +/* harmony import */ var _rest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rest */ "9l4K"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Web", function() { return _types__WEBPACK_IMPORTED_MODULE_0__["Web"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Webs", function() { return _types__WEBPACK_IMPORTED_MODULE_0__["Webs"]; }); + + + + +Reflect.defineProperty(_rest__WEBPACK_IMPORTED_MODULE_1__["SPRest"].prototype, "web", { + configurable: true, + enumerable: true, + get: function () { + return Object(_types__WEBPACK_IMPORTED_MODULE_0__["Web"])(this._baseUrl).configure(this._options); + }, +}); +_rest__WEBPACK_IMPORTED_MODULE_1__["SPRest"].prototype.createBatch = function () { + return this.web.createBatch(); +}; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "6k8n": +/*!*********************************************!*\ + !*** ./node_modules/@pnp/sp/fields/list.js ***! + \*********************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _lists_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lists/types */ "hy0S"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "KYlJ"); + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_lists_types__WEBPACK_IMPORTED_MODULE_1__["_List"], "fields", _types__WEBPACK_IMPORTED_MODULE_2__["Fields"]); +//# sourceMappingURL=list.js.map + +/***/ }), + +/***/ "6l60": +/*!***************************************************!*\ + !*** ./node_modules/@pnp/sp/site-groups/index.js ***! + \***************************************************/ +/*! exports provided: SiteGroup, SiteGroups */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _web__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./web */ "0rHm"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "UuUm"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SiteGroup", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["SiteGroup"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SiteGroups", function() { return _types__WEBPACK_IMPORTED_MODULE_1__["SiteGroups"]; }); + + + +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "6uqI": +/*!***********************************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-controls-react/node_modules/office-ui-fabric-react/lib/components/Button/DefaultButton/DefaultButton.styles.js ***! + \***********************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "8tWw"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "Hlgl"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "2Pb9"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "hXU3"); +var ButtonThemes_1 = __webpack_require__(/*! ../ButtonThemes */ "8K2u"); +var DEFAULT_BUTTON_HEIGHT = '32px'; +var DEFAULT_BUTTON_MINWIDTH = '80px'; +exports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles, primary) { + var baseButtonStyles = BaseButton_styles_1.getStyles(theme); + var splitButtonStyles = SplitButton_styles_1.getStyles(theme); + var defaultButtonStyles = { + root: { + minWidth: DEFAULT_BUTTON_MINWIDTH, + height: DEFAULT_BUTTON_HEIGHT, + }, + label: { + fontWeight: Styling_1.FontWeights.semibold + } + }; + return Styling_1.concatStyleSets(baseButtonStyles, defaultButtonStyles, primary ? ButtonThemes_1.primaryStyles(theme) : ButtonThemes_1.standardStyles(theme), splitButtonStyles, customStyles); +}); +//# sourceMappingURL=DefaultButton.styles.js.map + +/***/ }), + +/***/ "7BjC": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/et.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Estonian [et] +//! author : Henry Kehlmann : https://github.com/madhenry +//! improvements : Illimar Tambek : https://github.com/ragulka + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + var et = moment.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split( + '_' + ), + weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: '%d päeva', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return et; + +}))); + + +/***/ }), + +/***/ "7C5Q": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/en-in.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : English (India) [en-in] +//! author : Jatin Agrawal : https://github.com/jatinag22 + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enIn = moment.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, + }); + + return enIn; + +}))); + + +/***/ }), + +/***/ "7aV9": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/si.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Sinhalese [si] +//! author : Sampath Sitinamaluwa : https://github.com/sampathsris + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + /*jshint -W100*/ + var si = moment.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, + }); + + return si; + +}))); + + +/***/ }), + +/***/ "7pU6": +/*!**********************************************************!*\ + !*** ./node_modules/@pnp/sp/user-custom-actions/site.js ***! + \**********************************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _pnp_odata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @pnp/odata */ "xT8B"); +/* harmony import */ var _sites_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sites/types */ "ilAS"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "1mTr"); + + + +Object(_pnp_odata__WEBPACK_IMPORTED_MODULE_0__["addProp"])(_sites_types__WEBPACK_IMPORTED_MODULE_1__["_Site"], "userCustomActions", _types__WEBPACK_IMPORTED_MODULE_2__["UserCustomActions"]); +//# sourceMappingURL=site.js.map + +/***/ }), + +/***/ "7wWa": +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Layer/LayerHost.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = __webpack_require__(/*! tslib */ "5+DQ"); +var React = __webpack_require__(/*! react */ "cDcd"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "iRzo"); +var Layer_base_1 = __webpack_require__(/*! ./Layer.base */ "NUVe"); +var LayerHost = /** @class */ (function (_super) { + tslib_1.__extends(LayerHost, _super); + function LayerHost() { + return _super !== null && _super.apply(this, arguments) || this; + } + LayerHost.prototype.shouldComponentUpdate = function () { + return false; + }; + LayerHost.prototype.componentDidMount = function () { + Layer_base_1.LayerBase.notifyHostChanged(this.props.id); + }; + LayerHost.prototype.componentWillUnmount = function () { + Layer_base_1.LayerBase.notifyHostChanged(this.props.id); + }; + LayerHost.prototype.render = function () { + return (React.createElement("div", tslib_1.__assign({}, this.props, { className: Utilities_1.css('ms-LayerHost', this.props.className) }))); + }; + return LayerHost; +}(Utilities_1.BaseComponent)); +exports.LayerHost = LayerHost; +//# sourceMappingURL=LayerHost.js.map + +/***/ }), + +/***/ "8/+R": +/*!*********************************************!*\ + !*** ./node_modules/moment/locale/pa-in.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Punjabi (India) [pa-in] +//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "wd/R")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + + var paIn = moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return paIn; + +}))); + + +/***/ }), + +/***/ "8Hty": +/*!****************************************************************************************************************************!*\ + !*** ./node_modules/@pnp/spfx-property-controls/node_modules/office-ui-fabric-react/lib/components/Button/Button.types.js ***! + \****************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var ElementType; +(function (ElementType) { + /**